Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2014 16:43:45 GMT
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        dsh@wizard.volgograd.ru
Subject:   ports/189080: [patch] mail/dovecot-antispam add stage support
Message-ID:  <201404281643.s3SGhjFK005944@freefall.freebsd.org>
Resent-Message-ID: <201404281650.s3SGo0pK006357@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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
-@dirrmtry lib/dovecot/imap
-@dirrmtry lib/dovecot
+man/man7/dovecot-antispam.7.gz
--- dovecot-antispam.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404281643.s3SGhjFK005944>