summaryrefslogtreecommitdiff
path: root/mail/postgrey
diff options
context:
space:
mode:
Diffstat (limited to 'mail/postgrey')
-rw-r--r--mail/postgrey/DESCR9
-rw-r--r--mail/postgrey/Makefile82
-rw-r--r--mail/postgrey/PLIST10
-rw-r--r--mail/postgrey/distinfo5
-rw-r--r--mail/postgrey/files/postgrey.sh25
5 files changed, 0 insertions, 131 deletions
diff --git a/mail/postgrey/DESCR b/mail/postgrey/DESCR
deleted file mode 100644
index 4b6d7e6aa70..00000000000
--- a/mail/postgrey/DESCR
+++ /dev/null
@@ -1,9 +0,0 @@
-Postgrey is a Postfix policy server implementing greylisting developed
-by David Schweikert.
-
-Compared to greylist.pl included with Postfix (2.1.1), Postgrey has the
-following additional features:
-- Safer database handling: Postgrey does use the logging and transaction
- features of BerkeleyDB to maximize reliability.
-- Automatical cleaning of the database: Entries that were last seen
- more than a defined amount of time get removed automatically.
diff --git a/mail/postgrey/Makefile b/mail/postgrey/Makefile
deleted file mode 100644
index 9565688b6d4..00000000000
--- a/mail/postgrey/Makefile
+++ /dev/null
@@ -1,82 +0,0 @@
-# $NetBSD: Makefile,v 1.16 2006/06/18 01:04:04 rillig Exp $
-#
-
-DISTNAME= postgrey-1.24
-CATEGORIES= mail
-MASTER_SITES= http://isg.ee.ethz.ch/tools/postgrey/pub/ \
- http://isg.ee.ethz.ch/tools/postgrey/pub/old/
-
-MAINTAINER= kim@tac.nyc.ny.us
-HOMEPAGE= http://isg.ee.ethz.ch/tools/postgrey/
-COMMENT= Postfix Greylist Policy Server
-
-DEPENDS+= p5-BerkeleyDB-[0-9]*:../../databases/p5-BerkeleyDB
-DEPENDS+= p5-IO-Multiplex-[0-9]*:../../devel/p5-IO-Multiplex
-DEPENDS+= p5-Net-Server-[0-9]*:../../net/p5-Net-Server
-
-NO_CONFIGURE= yes
-USE_TOOLS+= perl:run
-
-.include "../../mk/bsd.prefs.mk"
-
-POSTGREY_USER?= postgrey
-POSTGREY_GROUP?= postgrey
-POSTGREY_DBDIR?= ${VARBASE}/db/${PKGBASE}
-
-PKG_SYSCONFSUBDIR?= postfix
-
-DOCDIR= share/doc/${PKGBASE}
-EGDIR= share/examples/${PKGBASE}
-
-RCD_SCRIPTS= postgrey
-PKG_GROUPS= ${POSTGREY_GROUP}
-PKG_USERS= ${POSTGREY_USER}:${POSTGREY_GROUP}
-
-PKG_GECOS.${POSTGREY_USER}= Postgrey Daemon User
-
-.for i in postgrey_whitelist_clients postgrey_whitelist_recipients
-CONF_FILES+= ${PREFIX}/${EGDIR}/${i} \
- ${PKG_SYSCONFDIR}/${i}
-.endfor
-
-OWN_DIRS_PERMS+= ${POSTGREY_DBDIR} \
- ${POSTGREY_USER} ${POSTGREY_GROUP} 0775
-
-FILES_SUBST+= PERL=${PERL5:Q}
-
-SUBST_CLASSES+= postgrey
-SUBST_STAGE.postgrey= pre-build
-SUBST_FILES.postgrey= postgrey
-# Perl
-SUBST_SED.postgrey= -e 's,/usr/bin/perl,${PERL5},g'
-# User
-SUBST_SED.postgrey+= -e "s,|| 'postgrey',|| '${POSTGREY_USER}',g"
-SUBST_SED.postgrey+= -e "s,default: postgrey,default: ${POSTGREY_USER},g"
-SUBST_SED.postgrey+= -e "s,C<postgrey>,C<${POSTGREY_USER}>,g"
-# Group
-SUBST_SED.postgrey+= -e "s,|| 'nogroup',|| '${POSTGREY_GROUP}',g"
-SUBST_SED.postgrey+= -e "s,default: nogroup,default: ${POSTGREY_GROUP},g"
-# Database
-SUBST_SED.postgrey+= -e 's,/var/spool/postfix/postgrey,${POSTGREY_DBDIR},g'
-# Config
-SUBST_SED.postgrey+= -e 's,/etc/postfix,${PKG_SYSCONFDIR},g'
-#
-SUBST_MESSAGE.postgrey= Fixing defaults.
-
-INSTALLATION_DIRS= sbin
-
-do-build:
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/postgrey ${PREFIX}/sbin/postgrey
- ${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR}
-.for i in COPYING Changes README
- ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR}/${i}
-.endfor
- ${INSTALL_DATA_DIR} ${PREFIX}/${EGDIR}
-.for i in postgrey_whitelist_clients postgrey_whitelist_recipients
- ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${EGDIR}/${i}
-.endfor
-
-.include "../../databases/db4/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/mail/postgrey/PLIST b/mail/postgrey/PLIST
deleted file mode 100644
index ee7bc00ebd9..00000000000
--- a/mail/postgrey/PLIST
+++ /dev/null
@@ -1,10 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2006/02/19 01:01:39 wiz Exp $
-sbin/postgrey
-share/doc/postgrey/COPYING
-share/doc/postgrey/Changes
-share/doc/postgrey/README
-share/examples/postgrey/postgrey_whitelist_clients
-share/examples/postgrey/postgrey_whitelist_recipients
-share/examples/rc.d/postgrey
-@dirrm share/examples/postgrey
-@dirrm share/doc/postgrey
diff --git a/mail/postgrey/distinfo b/mail/postgrey/distinfo
deleted file mode 100644
index 37c4f9d117f..00000000000
--- a/mail/postgrey/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.4 2006/03/30 09:06:16 is Exp $
-
-SHA1 (postgrey-1.24.tar.gz) = 3bc93536a4f49462f77ed69dd32ecd9884912c25
-RMD160 (postgrey-1.24.tar.gz) = 232c8fb70370f85ccd4542a11ae2880386a47e1c
-Size (postgrey-1.24.tar.gz) = 27444 bytes
diff --git a/mail/postgrey/files/postgrey.sh b/mail/postgrey/files/postgrey.sh
deleted file mode 100644
index a0c78ae341c..00000000000
--- a/mail/postgrey/files/postgrey.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!@RCD_SCRIPTS_SHELL@
-#
-# $NetBSD: postgrey.sh,v 1.1.1.1 2004/12/22 15:51:38 kim Exp $
-#
-
-# PROVIDE: postgrey
-# BEFORE: mail
-# REQUIRE: DAEMON LOGIN
-
-. /etc/rc.subr
-
-name="@PKGBASE@"
-rcvar=$name
-pidfile="@VARBASE@/run/${name}.pid"
-command_interpreter="@PERL@"
-command="@PREFIX@/sbin/postgrey"
-command_args="-d --pidfile=${pidfile}"
-required_files="
- @PKG_SYSCONFDIR@/postgrey_whitelist_clients
- @PKG_SYSCONFDIR@/postgrey_whitelist_recipients
-"
-@PKGBASE@_flags=${@PKGBASE@_flags-"-i 2525"}
-
-load_rc_config $name
-run_rc_command "$1"