openbsd-ports/mail/relaydb/Makefile
dhartmei 0140c3047e update to 1.5, add some options to help expiring old entries, based
on feedback from bob:

- add last modification time to database
- add -m to filter on last modification time
- add -B and -W to filter on black and white counters
- add -d to delete entries

this allows things like

  relaydb -db -W 0 -m +30

deleting all blacklist entries with zero white counter that
haven't changed since more than a month.

Warning: the database format changed, requiring an export with
the old binary (relaydb -vl >text), deletion of the database
and re-import with the new binary (relaydb -i text).
2003-11-19 22:40:57 +00:00

26 lines
548 B
Makefile

# $OpenBSD: Makefile,v 1.5 2003/11/19 22:40:57 dhartmei Exp $
COMMENT= "spam relay database"
DISTNAME= relaydb-1.5
CATEGORIES= mail
MASTER_SITES= http://www.benzedrine.cx/
HOMEPAGE= http://www.benzedrine.cx/relaydb.html
MAINTAINER= Daniel Hartmeier <dhartmei@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
NO_REGRESS= Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/relaydb ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/relaydb.8 ${PREFIX}/man/man8
.include <bsd.port.mk>