diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2009-11-21 16:17:05 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2009-11-21 16:17:05 +0000 |
commit | 488b9776dacd93fc5251671b95c140abc1d17ec7 (patch) | |
tree | 9381f2b843dc2e762a37ec0a81f530284c45de3c /security | |
parent | e5b00bff01a79e528afbcea90f1a4137b20ca640 (diff) | |
download | ports-488b9776dacd93fc5251671b95c140abc1d17ec7.tar.gz ports-488b9776dacd93fc5251671b95c140abc1d17ec7.zip |
Minor port improvements:
- Requires rebuild sendmail port or use WITH_SENDMAIL_STATIC_MILTER when
sendmail from ports is used and ${LOCALBASE}/lib/libmilter.so.X is
not present. See also http://www.freebsd.org/cgi/query-pr.cgi?pr=140080
- Handle WITH_DEBUG properly.
- Notice website in pkg-messages.
PR: 140084
Submitted by: Petr Rehor <prehor@gmail.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=244608
Diffstat (limited to 'security')
-rw-r--r-- | security/amavisd-milter/Makefile | 17 | ||||
-rw-r--r-- | security/amavisd-milter/files/pkg-message.in | 3 |
2 files changed, 20 insertions, 0 deletions
diff --git a/security/amavisd-milter/Makefile b/security/amavisd-milter/Makefile index 7254d134679e..749e3a8c5b29 100644 --- a/security/amavisd-milter/Makefile +++ b/security/amavisd-milter/Makefile @@ -7,6 +7,7 @@ PORTNAME= amavisd-milter PORTVERSION= 1.4.0 +PORTREVISION= 1 CATEGORIES= security mail MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -55,10 +56,26 @@ MAN8= amavisd-milter.8 BROKEN= Base system sendmail not found or too old, rebuild with WITH_SENDMAIL_PORT=yes .endif +.if !defined(SENDMAIL_WITHOUT_MILTER) +.if defined(WITH_SENDMAIL_PORT) +.if !defined(WITH_SENDMAIL_STATIC_MILTER) && !exists(${LOCALBASE}/lib/libmilter.so.${MILTER_SOVER}) +pre-everything:: + @${ECHO_MSG} + @${ECHO_MSG} You must rebuild sendmail port with SENDMAIL_WITH_SHARED_MILTER + @${ECHO_MSG} or set variable WITH_SENDMAIL_STATIC_MILTER + @${FALSE} +.endif +.endif +.endif + .if defined(WITH_SENDMAIL_PORT) CONFIGURE_ARGS+=--with-sendmail=${MILTERBASE} .endif +.if defined(WITH_DEBUG) +CONFIGURE_ARGS+=--enable-debug +.endif + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} diff --git a/security/amavisd-milter/files/pkg-message.in b/security/amavisd-milter/files/pkg-message.in index 278170a19fb5..a3a63f546077 100644 --- a/security/amavisd-milter/files/pkg-message.in +++ b/security/amavisd-milter/files/pkg-message.in @@ -1,6 +1,9 @@ ******************************************************************* + To configure amavisd-milter, sendmail and amavisd-new point + your browser to %%WEBSITE%% + Enable amavisd-milter in /etc/rc.conf with the following line: amavisd_milter_enable="YES" |