Bug 189080 - [patch] mail/dovecot-antispam add stage support
Summary: [patch] mail/dovecot-antispam add stage support
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Olli Hauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-28 17:50 UTC by Olli Hauer
Modified: 2014-05-18 18:20 UTC (History)
1 user (show)

See Also:


Attachments
dovecot-antispam.diff (1.66 KB, patch)
2014-04-28 17:50 UTC, Olli Hauer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olli Hauer freebsd_committer freebsd_triage 2014-04-28 17:50:00 UTC
- add stage support
- strip

build logs:
https://redports.org/buildarchive/20140428155500-18394/

commit together with mail/dovecot PR: ports/188868
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-04-28 17:50:17 UTC
Maintainer of mail/dovecot-antispam,

Please note that PR ports/189080 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/189080

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2014-04-28 17:50:18 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-05-18 18:07:47 UTC
Author: ohauer
Date: Sun May 18 17:07:41 2014
New Revision: 354440
URL: http://svnweb.freebsd.org/changeset/ports/354440
QAT: https://qat.redports.org/buildarchive/r354440/

Log:
  - add stage support
  - bump PORTREVISION
  - fix pkg-plist (do not try to remove mail/dovcot filders)
  
  PR:		ports/189080
  Submitted by:	ohauer
  Approved by:	maintainer timeout (3 weeks)

Modified:
  head/mail/dovecot-antispam/Makefile
  head/mail/dovecot-antispam/pkg-plist

Modified: head/mail/dovecot-antispam/Makefile
==============================================================================
--- head/mail/dovecot-antispam/Makefile	Sun May 18 17:05:12 2014	(r354439)
+++ head/mail/dovecot-antispam/Makefile	Sun May 18 17:07:41 2014	(r354440)
@@ -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 @@ MASTER_SITES=	http://johannes.sipsolutio
 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 @@ MAILTRAIN_DESC=		send mail to special ad
 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 @@ do-configure:
 	${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
-
-	@${CAT} ${PKGMESSAGE}
+		${STAGEDIR}${MANPREFIX}/man/man7/dovecot-antispam.7
 
 .include <bsd.port.mk>

Modified: head/mail/dovecot-antispam/pkg-plist
==============================================================================
--- head/mail/dovecot-antispam/pkg-plist	Sun May 18 17:05:12 2014	(r354439)
+++ head/mail/dovecot-antispam/pkg-plist	Sun May 18 17:07:41 2014	(r354440)
@@ -1,3 +1,2 @@
 lib/dovecot/imap/lib90_antispam_plugin.so
-@dirrmtry lib/dovecot/imap
-@dirrmtry lib/dovecot
+man/man7/dovecot-antispam.7.gz
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Olli Hauer freebsd_committer freebsd_triage 2014-05-18 18:19:15 UTC
State Changed
From-To: feedback->closed

take it and committed 


Comment 5 Olli Hauer freebsd_committer freebsd_triage 2014-05-18 18:19:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ohauer

take it and committed