ports/189080: [patch] mail/dovecot-antispam add stage support
Olli Hauer
ohauer at FreeBSD.org
Mon Apr 28 16:50:06 UTC 2014
>Number: 189080
>Category: ports
>Synopsis: [patch] mail/dovecot-antispam add stage support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 28 16:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Olli Hauer
>Release:
>Organization:
>Environment:
>Description:
- add stage support
- strip
build logs:
https://redports.org/buildarchive/20140428155500-18394/
commit together with mail/dovecot PR: ports/188868
>How-To-Repeat:
>Fix:
--- dovecot-antispam.diff begins here ---
Index: dovecot-antispam/Makefile
===================================================================
--- dovecot-antispam/Makefile (revision 352507)
+++ dovecot-antispam/Makefile (working copy)
@@ -3,7 +3,7 @@
PORTNAME= dovecot-antispam
PORTVERSION= 1.3
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= mail
MASTER_SITES= http://johannes.sipsolutions.net/download/dovecot-antispam/ \
@@ -12,6 +12,8 @@
MAINTAINER= dsh at wizard.volgograd.ru
COMMENT= Dovecot plugin to train dspam about spam or false positives
+LICENSE= GPLv2
+
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/mail/dovecot:configure
RUN_DEPENDS= dovecot>=1.1.2:${PORTSDIR}/mail/dovecot
@@ -28,7 +30,6 @@
DEBUG_DESC= Turn on debug information (syslog)
DEBUG_VERBOSE_DESC= Turn on verbose debug
-NO_STAGE= yes
.include <bsd.port.options.mk>
do-configure:
@@ -49,11 +50,10 @@
${ECHO} "PLUGINNAME=antispam" >> ${WRKSRC}/.config
do-install:
- ${INSTALL_DATA} ${WRKSRC}/lib90_antispam_plugin.so \
- ${PREFIX}/lib/dovecot/imap/
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/dovecot/imap
+ ${INSTALL_DATA} -s ${WRKSRC}/lib90_antispam_plugin.so \
+ ${STAGEDIR}${PREFIX}/lib/dovecot/imap/
${INSTALL_MAN} ${WRKSRC}/antispam.7 \
- ${MANPREFIX}/man/man7/dovecot-antispam.7
+ ${STAGEDIR}${MANPREFIX}/man/man7/dovecot-antispam.7
- @${CAT} ${PKGMESSAGE}
-
.include <bsd.port.mk>
Index: dovecot-antispam/pkg-plist
===================================================================
--- dovecot-antispam/pkg-plist (revision 352507)
+++ dovecot-antispam/pkg-plist (working copy)
@@ -1,3 +1,2 @@
lib/dovecot/imap/lib90_antispam_plugin.so
- at dirrmtry lib/dovecot/imap
- at dirrmtry lib/dovecot
+man/man7/dovecot-antispam.7.gz
--- dovecot-antispam.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list