1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-spamassassin-1.4.0/root/etc/cron.daily/00-sa_keys mezzanine_patched_smeserver-spamassassin-1.4.0/root/etc/cron.daily/00-sa_keys |
2 |
--- smeserver-spamassassin-1.4.0/root/etc/cron.daily/00-sa_keys 1969-12-31 17:00:00.000000000 -0700 |
3 |
+++ mezzanine_patched_smeserver-spamassassin-1.4.0/root/etc/cron.daily/00-sa_keys 2007-09-06 18:44:09.000000000 -0600 |
4 |
@@ -0,0 +1,8 @@ |
5 |
+#!/bin/sh |
6 |
+ |
7 |
+if [ -f /etc/cron.daily/sa_update ] |
8 |
+then |
9 |
+ install -d -o root -g root -m 600 /etc/mail/spamassassin/sa-update-keys |
10 |
+ /usr/bin/sa-update --import /usr/share/spamassassin/sa-update-pubkey.txt \ |
11 |
+ --import /usr/share/spamassassin/sa-update-openprotect-sare.txt |
12 |
+fi |
13 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-spamassassin-1.4.0/root/etc/cron.daily/zz-sa_restart mezzanine_patched_smeserver-spamassassin-1.4.0/root/etc/cron.daily/zz-sa_restart |
14 |
--- smeserver-spamassassin-1.4.0/root/etc/cron.daily/zz-sa_restart 1969-12-31 17:00:00.000000000 -0700 |
15 |
+++ mezzanine_patched_smeserver-spamassassin-1.4.0/root/etc/cron.daily/zz-sa_restart 2007-09-06 18:45:46.000000000 -0600 |
16 |
@@ -0,0 +1,10 @@ |
17 |
+#!/bin/sh |
18 |
+ |
19 |
+if [ -f /etc/cron.daily/sa_update ] |
20 |
+then |
21 |
+ N=$(find /var/lib/spamassassin/3.* -type f -newer /service/spamd/supervise/pid) |
22 |
+ if test -n "$N" |
23 |
+ then |
24 |
+ sv t /service/spamd |
25 |
+ fi |
26 |
+fi |