mirror of
https://git.proxmox.com/git/proxmox-spamassassin
synced 2025-04-28 12:19:37 +00:00
Add download target for SA sources
add a convenience target to download the current SA tarball and corresponding gpg-signature and verify it with SpamAssassin's release key [0]. [0] https://www.apache.org/dist/spamassassin/KEYS
This commit is contained in:
parent
c9aaa4d5e9
commit
ac5080f95e
9
Makefile
9
Makefile
@ -53,6 +53,13 @@ ${NPKGNAME}: sa-updates.tgz ${EXTRA_RULES} ${NPKGNAME}.orig.tar.gz
|
||||
mkdir -p $@/debian/tree/usr/share/spamassassin-extra
|
||||
cp -a ${EXTRA_RULES} $@/debian/tree/usr/share/spamassassin-extra
|
||||
|
||||
${OPKGNAME}.tar.gz:
|
||||
rm -f $@*
|
||||
curl -L -o '$@#1.tmp' 'https://www-eu.apache.org/dist/spamassassin/source/$@{,.asc}'
|
||||
mv $@.tmp $@
|
||||
mv $@.asc.tmp $@.asc
|
||||
gpgv --keyring ./sa-releasekey.gpg $@.asc $@
|
||||
|
||||
KAM.cf:
|
||||
wget http://www.pccc.com/downloads/SpamAssassin/contrib/KAM.cf -O $@.tmp
|
||||
mv KAM.cf.tmp $@
|
||||
@ -75,7 +82,7 @@ update-sa: ${SA_UPDATE_GPG_DIR}/.prepared
|
||||
upload: ${DEB}
|
||||
tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist stretch
|
||||
|
||||
CLEANFILES = *~ debian/*~ *.deb proxmox-spamassassin_* updates.tmp ${SA_UPDATE_GPG_DIR}
|
||||
CLEANFILES = *~ debian/*~ *.deb proxmox-spamassassin_* updates.tmp ${SA_UPDATE_GPG_DIR} ${OPKGNAME}.tar.gz.*
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
|
BIN
sa-releasekey.gpg
Normal file
BIN
sa-releasekey.gpg
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user