3 # howto add rule updates:
4 # edit paths ($srcdir) in changes.pl
5 # update changes.diff - verify changes!
7 # dig -t any 2.3.3.updates.spamassassin.org
8 # wget http://spamassassin.kluge.net/updates/501214.tar.gz
9 # wget http://spamassassin.kluge.net/updates/501214.tar.gz.asc
10 # gpg --verify 501214.tar.gz.asc 501214.tar.gz
12 # or just use: make sa-updates.tgz (from the last stable version)
13 # warning: start with an empty sa-updates.tgz, install the package,
14 # the run sa-update to generate the updates
16 # edit debin/rules to apply updates
20 OPKGNAME
= Mail-SpamAssassin-
${SAVER}
21 NPKGNAME
= proxmox-spamassassin_
${SAVER}
22 DEB
= proxmox-spamassassin_
${SAVER}-${PKGREL}_amd64.deb
24 #${DEB}: ${OPKGNAME}.tar.gz
25 ${DEB}: ${OPKGNAME}.
tar.gz sa-updates.tgz
26 -rm -rf
${OPKGNAME} ${NPKGNAME}
27 tar xzf
${OPKGNAME}.
tar.gz
28 mv
${OPKGNAME} ${NPKGNAME}
29 cp
-a debian
${NPKGNAME}
30 cd
${NPKGNAME}; dpkg-buildpackage
-us
-uc
-rfakeroot
31 -rm -rf
${OPKGNAME} ${NPKGNAME}
36 -sa-update
--updatedir updates.tmp
--channel updates.spamassassin.org
37 tar cvzf sa-updates.tgz
--exclude
=local.cf
--exclude
=regression_tests.cf
--exclude
=*.txt
--exclude
=MIRRORED.BY
-C updates.tmp
/updates_spamassassin_org
/ .
43 CLEANFILES
= *~ debian
/*~
*.deb proxmox-spamassassin_
* \