X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fredhat%2Fgosa.spec;h=a092544053724be4d7098b7ed6d511aea322ca47;hb=f9d805faeef5ae3ae54a22e0e045987b073f9312;hp=7e5e8057041de5afd3280cb5c4bf19d540d106b6;hpb=064ff22eadad35b200e889b742ba6fa926d04ac4;p=gosa.git diff --git a/gosa-core/redhat/gosa.spec b/gosa-core/redhat/gosa.spec index 7e5e80570..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,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