diff options
author | sergei <sergei@FreeBSD.org> | 2003-11-19 05:56:41 +0800 |
---|---|---|
committer | sergei <sergei@FreeBSD.org> | 2003-11-19 05:56:41 +0800 |
commit | b535a2fff7c2c189c3a61abd7d92ad190ff832db (patch) | |
tree | cb0e376a5a3059d15a83443270065e51e1eb96b7 | |
parent | 7d278c4067fc15b24bf0118edadd78939a4ec6e3 (diff) | |
download | freebsd-ports-gnome-b535a2fff7c2c189c3a61abd7d92ad190ff832db.tar.gz freebsd-ports-gnome-b535a2fff7c2c189c3a61abd7d92ad190ff832db.tar.zst freebsd-ports-gnome-b535a2fff7c2c189c3a61abd7d92ad190ff832db.zip |
Add spamguard 1.6, MTA spam prevention program for qmail/postfix/sendmail.
Nearly all of today's mail system administrators face spam as their
first threat. Because of this, EnderUNIX team has written this small
application to automagically monitor malicious spammer activity in
your mail server logs.
spamGuard is written purely in C, to stop spammers hanging around.
The program supports nearly all mostly used MTAs; qmail (both
multilog and splogger), sendmail and Postfix.
WWW: http://www.enderunix.org/spamguard
PR: 58499
Submitted by: Omer Faruk Sen <ofsen@enderunix.org>
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/spamguard/Makefile | 36 | ||||
-rw-r--r-- | mail/spamguard/distinfo | 1 | ||||
-rw-r--r-- | mail/spamguard/files/patch-Makefile.am | 71 | ||||
-rw-r--r-- | mail/spamguard/pkg-descr | 13 | ||||
-rw-r--r-- | mail/spamguard/pkg-message | 7 | ||||
-rw-r--r-- | mail/spamguard/pkg-plist | 20 |
7 files changed, 149 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index 9145776bfc43..b64d9e0f6d22 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -334,6 +334,7 @@ SUBDIR += spamass-milter SUBDIR += spambnc SUBDIR += spamd + SUBDIR += spamguard SUBDIR += spamoracle SUBDIR += spamprobe SUBDIR += spamstats diff --git a/mail/spamguard/Makefile b/mail/spamguard/Makefile new file mode 100644 index 000000000000..40f5977b3b63 --- /dev/null +++ b/mail/spamguard/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: spamguard +# Date created: 21 Oct 2003 +# Whom: Omer Faruk Sen <ofsen@enderunix.org> +# +# $FreeBSD$ +# + +PORTNAME= spamguard +PORTVERSION= 1.6 +CATEGORIES= mail +MASTER_SITES= http://www.enderunix.org/spamguard/ + +MAINTAINER= ofsen@enderunix.org +COMMENT= MTA spam prevention program for qmail/postfix/sendmail + +GNU_CONFIGURE= yes +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} + +PKGMESSAGE= ${WRKDIR}/pkg-message + +DOCS= AUTHORS CHANGELOG COPYING INSTALL \ + POST-INSTALL README THANKS +DOCS_TR= BENIOKU COPYING DEGISIKLIKLER KURULUM \ + KURULUM-SONRASI YAPILACAKLAR YAZARLAR + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/spamguard ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/*.sample ${PREFIX}/etc +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR}/tr + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} + cd ${WRKSRC}/tr && ${INSTALL_DATA} ${DOCS_TR} ${DOCSDIR}/tr +.endif + @${SED} -e 's,%%PREFIX%%,${PREFIX},g' pkg-message > ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/mail/spamguard/distinfo b/mail/spamguard/distinfo new file mode 100644 index 000000000000..e789c5e42570 --- /dev/null +++ b/mail/spamguard/distinfo @@ -0,0 +1 @@ +MD5 (spamguard-1.6.tar.gz) = 5384f46342357ba322710326504c5a18 diff --git a/mail/spamguard/files/patch-Makefile.am b/mail/spamguard/files/patch-Makefile.am new file mode 100644 index 000000000000..b6dd4c16ede4 --- /dev/null +++ b/mail/spamguard/files/patch-Makefile.am @@ -0,0 +1,71 @@ +--- Makefile.am.orig Sun Oct 26 02:04:34 2003 ++++ Makefile.am Sun Oct 26 02:07:45 2003 +@@ -4,59 +4,22 @@ bin_PROGRAMS = spamguard + spamguard_SOURCES = functions.c loadconfig.c main.c parser.c wildmat.c + spamguard_LDADD = + +-EXTRA_DIST = functions.c functions.h loadconfig.c loadconfig.h main.c parser.c parser.h wildmat.c wildtmat.h spam-ignore.txt spam-ignore.txt.sample spamguard.conf spamguard.conf.sample AUTHORS CHANGELOG COPYING INSTALL README README.DigitalUnix POST-INSTALL THANKS TODO ++DOCS= AUTHORS CHANGELOG COPYING INSTALL README README.DigitalUnix POST-INSTALL THANKS TODO ++EXTRA_DIST = functions.c functions.h loadconfig.c loadconfig.h main.c parser.c parser.h wildmat.c wildtmat.h spam-ignore.txt spam-ignore.txt.sample spamguard.conf spamguard.conf.sample $(DOCS) + + install-data-local: + $(mkinstalldirs) ${prefix}/share/doc/spamguard +- $(INSTALL_DATA) $(srcdir)/AUTHORS ${prefix}/share/doc/spamguard/AUTHORS +- +- $(mkinstalldirs) ${prefix}/share/doc/spamguard/ +- $(INSTALL_DATA) $(srcdir)/CHANGELOG ${prefix}/share/doc/spamguard/CHANGELOG +- +- $(mkinstalldirs) ${prefix}/share/doc/spamguard/ +- $(INSTALL_DATA) $(srcdir)/COPYING ${prefix}/share/doc/spamguard/COPYING +- +- +- $(mkinstalldirs) ${prefix}/share/doc/spamguard +- $(INSTALL_DATA) $(srcdir)/INSTALL ${prefix}/share/doc/spamguard/INSTALL +- +- $(mkinstalldirs) ${prefix}/share/doc/spamguard +- $(INSTALL_DATA) $(srcdir)/README ${prefix}/share/doc/spamguard/README +- +- $(mkinstalldirs) ${prefix}/share/doc/spamguard +- $(INSTALL_DATA) $(srcdir)/README.DigitalUnix ${prefix}/share/doc/spamguard/README.DigitalUnix +- +- $(mkinstalldirs) ${prefix}/share/doc/spamguard +- $(INSTALL_DATA) $(srcdir)/POST-INSTALL ${prefix}/share/doc/spamguard/POST-INSTALL +- +- $(mkinstalldirs) ${prefix}/share/doc/spamguard/ +- $(INSTALL_DATA) $(srcdir)/THANKS ${prefix}/share/doc/spamguard/THANKS +- +- $(mkinstalldirs) ${prefix}/share/doc/spamguard/ +- $(INSTALL_DATA) $(srcdir)/TODO ${prefix}/share/doc/spamguard/TODO +- +- $(mkinstalldirs) ${prefix}/etc/ ++.for file in $(DOCS) ++ $(INSTALL_DATA) $(srcdir)/$(file) ${prefix}/share/doc/spamguard ++.endfor ++ $(mkinstalldirs) ${prefix}/etc + $(INSTALL_DATA) $(srcdir)/spam-ignore.txt.sample ${prefix}/etc/spam-ignore.txt.sample +- +- $(mkinstalldirs) ${prefix}/etc/ +- $(INSTALL_DATA) $(srcdir)/spam-ignore.txt ${prefix}/etc/spam-ignore.txt +- +- $(mkinstalldirs) ${prefix}/etc/ + $(INSTALL_DATA) $(srcdir)/spamguard.conf.sample ${prefix}/etc/spamguard.conf.sample + +- $(mkinstalldirs) ${prefix}/etc/ +- $(INSTALL_DATA) $(srcdir)/spamguard.conf ${prefix}/etc/spamguard.conf +- + uninstall-local: +- -rm -f ${prefix}/share/doc/spamguard/AUTHORS +- -rm -f ${prefix}/share/doc/spamguard/CHANGELOG +- -rm -f ${prefix}/share/doc/spamguard/COPYING +- -rm -f ${prefix}/share/doc/spamguard/INSTALL +- -rm -f ${prefix}/share/doc/spamguard/README +- -rm -f ${prefix}/share/doc/spamguard/README.DigitalUnix +- -rm -f ${prefix}/share/doc/spamguard/POST-INSTALL +- -rm -f ${prefix}/share/doc/spamguard/THANKS +- -rm -f ${prefix}/share/doc/spamguard/TODO ++.for file in $(DOCS) ++ -rm -f ${prefix}/share/doc/spamguard/${file} ++.endfor + -rm -f ${prefix}/etc/spam-ignore.txt.sample + -rm -f ${prefix}/etc/spamguard.conf.sample + diff --git a/mail/spamguard/pkg-descr b/mail/spamguard/pkg-descr new file mode 100644 index 000000000000..026ca6a628be --- /dev/null +++ b/mail/spamguard/pkg-descr @@ -0,0 +1,13 @@ +Nearly all of today's mail system administrators face spam as their +first threat. Because of this, EnderUNIX team has written this small +application to automagically monitor malicious spammer activity in +your mail server logs. + +spamGuard is written purely in C, to stop spammers hanging around. +The program supports nearly all mostly used MTAs; qmail (both +multilog and splogger), sendmail and Postfix. + + +WWW: http://www.enderunix.org/spamguard +- EnderUNIX SDT @ Turkey +core _AT_ enderunix.org diff --git a/mail/spamguard/pkg-message b/mail/spamguard/pkg-message new file mode 100644 index 000000000000..8b5ec02283d1 --- /dev/null +++ b/mail/spamguard/pkg-message @@ -0,0 +1,7 @@ + +Edit %%PREFIX%%/etc/spamguard.conf +After that edit %%PREFIX%%/etc/spam-ignore.txt + +Finally you have to add a crontab entry in order to get spamguard work like: + +0/5 * * * * %%PREFIX%%/bin/spamguard 1>/dev/null 2>/dev/null diff --git a/mail/spamguard/pkg-plist b/mail/spamguard/pkg-plist new file mode 100644 index 000000000000..da74d63b5a2e --- /dev/null +++ b/mail/spamguard/pkg-plist @@ -0,0 +1,20 @@ +@comment $FreeBSD$ +bin/spamguard +etc/spamguard.conf.sample +etc/spam-ignore.txt.sample +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/POST-INSTALL +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/THANKS +%%PORTDOCS%%%%DOCSDIR%%/tr/BENIOKU +%%PORTDOCS%%%%DOCSDIR%%/tr/COPYING +%%PORTDOCS%%%%DOCSDIR%%/tr/DEGISIKLIKLER +%%PORTDOCS%%%%DOCSDIR%%/tr/KURULUM +%%PORTDOCS%%%%DOCSDIR%%/tr/KURULUM-SONRASI +%%PORTDOCS%%%%DOCSDIR%%/tr/YAPILACAKLAR +%%PORTDOCS%%%%DOCSDIR%%/tr/YAZARLAR +%%PORTDOCS%%@dirrm %%DOCSDIR%%/tr +%%PORTDOCS%%@dirrm %%DOCSDIR%% |