X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fredhat%2Fgosa.spec;h=a092544053724be4d7098b7ed6d511aea322ca47;hb=a7e293e5f4a28f1c7eba492720b24adbd3df56f3;hp=aa7acdeb9feb26bc434bbd917af5eda0887cfb91;hpb=f5db05f5cf80c10a342357913e032802be48963f;p=gosa.git diff --git a/gosa-core/redhat/gosa.spec b/gosa-core/redhat/gosa.spec index aa7acdeb9..a09254405 100644 --- a/gosa-core/redhat/gosa.spec +++ b/gosa-core/redhat/gosa.spec @@ -11,7 +11,7 @@ # Summary: Web Based LDAP Administration Program Name: gosa -Version: 2.6.1 +Version: 2.6.8 Release: 1 License: GPL Source: ftp://oss.GONICUS.de/pub/gosa/%{sourcename}.tar.bz2 @@ -25,7 +25,7 @@ Patch1: 02_fix_class_mapping.patch Patch2: 03_fix_locale_location.patch Patch3: 04_fix_online_help_location.patch %if %{suse} -Requires: apache2,apache2-mod_php5,php5,php5-gd,php5-ldap,php5-mcrypt,php5-mysql,php5-imap,php5-iconv,php5-hash,php5-mbstring,php5-gettext,php5-session,ImageMagick +Requires: apache2,apache2-mod_php5,php5,php5-gd,php5-ldap,php5-mcrypt,php5-mysql,php5-imap,php5-iconv,php5-hash,php5-posix,php5-mbstring,php5-gettext,ImageMagick,gettext-tools %else Requires: httpd,php,php-ldap,php-imap,php-snmp,php-mysql,php-mbstring,ImageMagick,php-mhash,perl-Crypt-SmbHash %endif @@ -256,6 +256,20 @@ do gzip $x done +%if %{suse} + sed -i 's#/usr/bin/php#/usr/bin/php5#' %{buildroot}/usr/sbin/update-gosa + sed -i 's#/usr/bin/php#/usr/bin/php5#' %{buildroot}/usr/sbin/gosa-encrypt-passwords + cat <<-EOF >> %{buildroot}%{webconf}/gosa-apache.conf + + + Options None + AllowOverride None + Order deny,allow + Allow from all + + EOF +%endif + # Copy manpages mv ./*.1.gz %{buildroot}/usr/share/man/man1/ gzip -c contrib/gosa.1 > contrib/gosa.1.gz @@ -303,12 +317,12 @@ rm -rf %{buildroot} %config(noreplace) %attr(0644,root,root) %{webconf}/gosa-apache.conf %attr(0700, %{apacheuser}, %{apachegroup}) /var/spool/gosa %attr(0755, root,root) /usr/share/gosa -%attr(0755, root,root) /usr/share/gosa/html -%attr(0755, root,root) /usr/share/gosa/ihtml -%attr(0755, root,root) /usr/share/gosa/include -%attr(0755, root,root) /usr/share/gosa/locale -%attr(0755, root,root) /usr/share/gosa/plugins -%attr(0755, root,root) /usr/share/gosa/setup +#%attr(0755, root,root) /usr/share/gosa/html +#%attr(0755, root,root) /usr/share/gosa/ihtml +#%attr(0755, root,root) /usr/share/gosa/include +#%attr(0755, root,root) /usr/share/gosa/locale +#%attr(0755, root,root) /usr/share/gosa/plugins +#%attr(0755, root,root) /usr/share/gosa/setup %attr(0755, root,root) /usr/share/gosa/doc/core/guide.xml %attr(0755, root,root) /var/cache/gosa %attr(0700, root,root) /etc/gosa/gosa.secrets