mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
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)
This commit is contained in:
parent
e5b00bff01
commit
488b9776da
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=244608
@ -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}
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user