SPECS (AC-branch): mailman.spec - fixed cron entry - fixed trigger

baggins baggins at pld-linux.org
Mon Oct 10 13:25:49 CEST 2005


Author: baggins                      Date: Mon Oct 10 11:25:49 2005 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- fixed cron entry
- fixed trigger

---- Files affected:
SPECS:
   mailman.spec (1.80.2.7 -> 1.80.2.8) 

---- Diffs:

================================================================
Index: SPECS/mailman.spec
diff -u SPECS/mailman.spec:1.80.2.7 SPECS/mailman.spec:1.80.2.8
--- SPECS/mailman.spec:1.80.2.7	Mon Oct 10 12:40:52 2005
+++ SPECS/mailman.spec	Mon Oct 10 13:25:42 2005
@@ -193,7 +193,7 @@
 
 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 
-sed 's#/usr#mailman /usr#' cron/crontab.in > $RPM_BUILD_ROOT/etc/cron.d/%{name}
+install cron/crontab.in $RPM_BUILD_ROOT/etc/cron.d/%{name}
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/90_%{name}.conf
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
@@ -270,12 +270,14 @@
 	/usr/sbin/usermod -d %{_var}/lib/%{name} mailman
 fi
 echo "Moving data from /var/spool/mailman to /var/lib/mailman"
-mv -f /var/spool/mailman/archives/* %{_var}/lib/mailman/archives/
+mv -f /var/spool/mailman/archives/private/* %{_var}/lib/mailman/archives/private/
+mv -f /var/spool/mailman/archives/public/* %{_var}/lib/mailman/archives/public/
 mv -f /var/spool/mailman/data/* %{_var}/lib/mailman/data/
 mv -f /var/spool/mailman/lists/* %{_var}/lib/mailman/lists/
 mv -f /var/spool/mailman/qfiles/* %{_var}/lib/mailman/qfiles/
 mv -f /var/spool/mailman/spam/* %{_var}/lib/mailman/spam/
 mv -f /var/spool/mailman/logs/* %{_logdir}/
+mv -f /var/spool/mailman/locks/* %{_lockdir}/
 if [ "x$stopped" = "xtrue" ]; then
 	/etc/rc.d/init.d/mailman start 1>&2
 fi
@@ -339,6 +341,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.80.2.8  2005/10/10 11:25:42  baggins
+- fixed cron entry
+- fixed trigger
+
 Revision 1.80.2.7  2005/10/10 10:40:52  baggins
 - moved update trigger to post
 - uncommented move trigger
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mailman.spec?r1=1.80.2.7&r2=1.80.2.8&f=u




More information about the pld-cvs-commit mailing list