aboutsummaryrefslogtreecommitdiff
path: root/mail/spamguard
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2003-11-18 21:56:41 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2003-11-18 21:56:41 +0000
commitbed0260f04b4294d358a21a0e933ad3e919389dc (patch)
tree7f3ca98f8439ecb67988da667db61d2af904ab81 /mail/spamguard
parent97035073308ef555a8449baf93d19ce0a000e442 (diff)
downloadports-bed0260f04b4294d358a21a0e933ad3e919389dc.tar.gz
ports-bed0260f04b4294d358a21a0e933ad3e919389dc.zip
Notes
Diffstat (limited to 'mail/spamguard')
-rw-r--r--mail/spamguard/Makefile36
-rw-r--r--mail/spamguard/distinfo1
-rw-r--r--mail/spamguard/files/patch-Makefile.am71
-rw-r--r--mail/spamguard/pkg-descr13
-rw-r--r--mail/spamguard/pkg-message7
-rw-r--r--mail/spamguard/pkg-plist20
6 files changed, 148 insertions, 0 deletions
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%%