add milter-regex, ok jolan@, sturm@
This commit is contained in:
parent
d519cc0a80
commit
5ce1473719
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.113 2003/07/30 14:43:09 danh Exp $
|
||||
# $OpenBSD: Makefile,v 1.114 2003/10/19 17:54:06 dhartmei Exp $
|
||||
# $FreeBSD: Makefile,v 1.51 1997/11/14 22:56:43 hoek Exp $
|
||||
#
|
||||
|
||||
@ -43,6 +43,7 @@
|
||||
SUBDIR += majordomo
|
||||
SUBDIR += mboxgrep
|
||||
SUBDIR += metamail
|
||||
SUBDIR += milter-regex
|
||||
SUBDIR += mini_sendmail
|
||||
SUBDIR += mixmaster
|
||||
SUBDIR += movemail
|
||||
|
32
mail/milter-regex/Makefile
Normal file
32
mail/milter-regex/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# $OpenBSD: Makefile,v 1.1 2003/10/19 17:54:06 dhartmei Exp $
|
||||
|
||||
.if !exists(/usr/lib/libmilter.a)
|
||||
ERRORS+="Fatal: milter required, see instructions in DESCR"
|
||||
.endif
|
||||
|
||||
COMMENT= "sendmail milter plugin for regular expression filtering"
|
||||
|
||||
DISTNAME= milter-regex-0.6
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.benzedrine.cx/
|
||||
|
||||
HOMEPAGE= http://www.benzedrine.cx/milter-regex.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-configure:
|
||||
@perl -pi -e 's,/etc/mi,${SYSCONFDIR}/mi,g' ${WRKSRC}/milter-regex.{8,c}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/milter-regex ${PREFIX}/libexec
|
||||
${INSTALL_MAN} ${WRKSRC}/milter-regex.8 ${PREFIX}/man/man8
|
||||
|
||||
.include <bsd.port.mk>
|
3
mail/milter-regex/distinfo
Normal file
3
mail/milter-regex/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (milter-regex-0.6.tar.gz) = 1f65e2a14e791af2a8395ce81081400d
|
||||
RMD160 (milter-regex-0.6.tar.gz) = c78abd509b273ad00520fbb467145cef7cb921e8
|
||||
SHA1 (milter-regex-0.6.tar.gz) = 02056a9ab11fb9279ae9baeaf164114dc5f42954
|
12
mail/milter-regex/pkg/DESCR
Normal file
12
mail/milter-regex/pkg/DESCR
Normal file
@ -0,0 +1,12 @@
|
||||
milter-regex is a sendmail milter plugin that allows to reject mail
|
||||
based on regular expressions matching SMTP envelope parameters and
|
||||
mail headers and body.
|
||||
|
||||
In order to build milter-regex, sendmail needs to be compiled with
|
||||
milter support, installing the libmilter library:
|
||||
|
||||
# cd /usr/src/gnu/usr.sbin/sendmail
|
||||
# make clean cleandir
|
||||
# [set the environment variable WANT_LIBMILTER to 1]
|
||||
# make obj && make && make install
|
||||
|
16
mail/milter-regex/pkg/MESSAGE
Executable file
16
mail/milter-regex/pkg/MESSAGE
Executable file
@ -0,0 +1,16 @@
|
||||
+---------------
|
||||
| milter-regex has been installed as /usr/local/libexec/milter-regex.
|
||||
| See milter-regex(8) for instructions on how to register the plugin.
|
||||
|
|
||||
| To start the plugin automatically on startup, one can use:
|
||||
|
|
||||
| /etc/rc.conf.local
|
||||
| milter_regex=YES
|
||||
|
|
||||
| /etc/rc.local
|
||||
| if [ X"${milter_regex}" == X"YES" -a \
|
||||
| -x /usr/local/libexec/milter-regex ]; then
|
||||
| echo -n ' milter-regex'
|
||||
| /usr/local/libexec/milter-regex
|
||||
| fi
|
||||
+---------------
|
3
mail/milter-regex/pkg/PLIST
Normal file
3
mail/milter-regex/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1 2003/10/19 17:54:06 dhartmei Exp $
|
||||
libexec/milter-regex
|
||||
man/man8/milter-regex.8
|
Loading…
Reference in New Issue
Block a user