Search
j0ke.net Open Build Service
>
Projects
>
vhcs
>
vhcs2
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 80
[-]
[+]
Changed
vhcs2.spec
@@ -142,6 +142,7 @@ Requires: proftpd proftpd-sql-mysql Requires: iptables Requires: postfix +BuildRequires: postfix proftpd %if 0%{?suse_version} Requires: mysql-client @@ -153,6 +154,7 @@ %if 0%{?suse_version} && 1%{?sles_version} == 9 && 1%{?fedora_version} && 1%{?centos_version} && 1%{?rhel_version} Requires: cyrus-sasl-saslauthd mod_php_any +BuildRequires: mod_php_any %endif Requires: bind bind-utils @@ -162,16 +164,20 @@ Requires: wget Requires: libmcrypt Requires: cyrus-sasl cyrus-sasl-gssapi cyrus-sasl-plain +BuildRequires: bind courier-imap libauthuserdb %if 0%{?sles_version} == 9 Requires: mod_php +BuildRequires: mod_php %endif %if 0%{?suse_version} Requires: cyrus-sasl-crammd5 cyrus-sasl-digestmd5 cyrus-sasl-otp php mysql +BuildRequires: mysql %endif %if 0%{?fedora_version} > 5 || 0%{?centos_version} > 4 || 0%{?rhel_version} Requires: cyrus-sasl-md5 mod_php php-cli mysql-server +BuildRequires: mod_php mysql-server %endif %if 0%{?sles_version} == 9 @@ -454,7 +460,7 @@ /etc/vhcs2/*/working/* /etc/vhcs2/*/vhcs2/* %attr(0755,root,root) /etc/init.d/vhcs2_daemon -/etc/init.d/vhcs2_network +%attr(0755,root,root) /etc/init.d/vhcs2_network /etc/logrotate.d/vhcs2 /etc/cron.d/vhcs2phptemp %config(noreplace) /etc/postfix/vhcs2/aliases @@ -672,14 +678,6 @@ chkconfig --add courier-imap [ -n "%{devdeb}" ] && echo "enable service: courier-imap-ssl" chkconfig --add courier-imap-ssl -[ -n "%{devdeb}" ] && echo "enable service: amavis" -chkconfig --add amavis -[ -n "%{devdeb}" ] && echo "enable service: clamd" -chkconfig --add clamd -[ -n "%{devdeb}" ] && echo "enable service: freshclam" -chkconfig --add freshclam -[ -n "%{devdeb}" ] && echo "enable service: spamd" -chkconfig --add spamd [ -n "%{devdeb}" ] && echo "enable service: proftpd" chkconfig --add proftpd [ -n "%{devdeb}" ] && echo "enable service: vhcs2_daemon" @@ -690,6 +688,17 @@ [ -n "%{devdeb}" ] && echo "restart service: mysql" /etc/init.d/mysql restart || : +%post amavis +[ -n "%{devdeb}" ] && echo "enable service: amavis" +chkconfig --add amavis +[ -n "%{devdeb}" ] && echo "enable service: clamd" +chkconfig --add clamd +[ -n "%{devdeb}" ] && echo "enable service: freshclam" +chkconfig --add freshclam +[ -n "%{devdeb}" ] && echo "enable service: spamd" +chkconfig --add spamd + + ################################################################################## # PRE-UNINSTALL ##################################################################################