Bug 189079 - [patch] mail/dovecot-sieve add stage support
Summary: [patch] mail/dovecot-sieve 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-sieve.diff (2.06 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:09 UTC
Maintainer of mail/dovecot-sieve,

Please note that PR ports/189079 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/189079

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

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Olli Hauer freebsd_committer freebsd_triage 2014-05-18 15:33:52 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ohauer

Take my own PR
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-05-18 18:10:09 UTC
Author: ohauer
Date: Sun May 18 17:10:05 2014
New Revision: 354441
URL: http://svnweb.freebsd.org/changeset/ports/354441
QAT: https://qat.redports.org/buildarchive/r354441/

Log:
  - add stage support
  - bump PORTREVISION
  - add USES=libtool:keepla
  - add LICENSE
  - fix pkg-plist (do not try to remove mail/dovecot folders)
  
  PR:		ports/189079
  Submitted by:	ohauer
  Reviewed by:	maintainer timeout (3 weeks)

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

Modified: head/mail/dovecot-sieve/Makefile
==============================================================================
--- head/mail/dovecot-sieve/Makefile	Sun May 18 17:07:41 2014	(r354440)
+++ head/mail/dovecot-sieve/Makefile	Sun May 18 17:10:05 2014	(r354441)
@@ -4,18 +4,22 @@
 PORTNAME=	dovecot-sieve
 PORTVERSION=	${DOVECOTVERSION}+${DISTVERSION}
 DISTVERSION=	0.1.19
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	http://www.rename-it.nl/dovecot/${DOVECOTVERSION}/
 DISTNAME=	${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${DISTVERSIONPREFIX}${DISTVERSION:C/:(.)/\1/g}${DISTVERSIONSUFFIX}
 
 MAINTAINER=	yds@CoolRat.org
-COMMENT=	A Sieve plugin for the Dovecot 'deliver' LDA
+COMMENT=	Sieve plugin for the Dovecot 'deliver' LDA
+
+LICENSE=	LGPL21
 
 BUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/mail/dovecot:build
 RUN_DEPENDS=	dovecot>=${DOVECOTVERSION}.*:${PORTSDIR}/mail/dovecot
 
 DOVECOTVERSION=	1.2
 
+USES=		libtool:keepla
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ARGS=	--prefix=${PREFIX} \
@@ -26,15 +30,10 @@ USE_LDCONFIG=	${PREFIX}/lib/dovecot/lda
 
 SUB_FILES=	pkg-message
 
-MAN1=		sieve-test.1 sievec.1 sieved.1
-
 DOCSDIR=	${PREFIX}/share/doc/${PORTNAME:S/-/\//}
 
-.if !defined(NOPORTDOCS)
 PORTDOCS=	AUTHORS COPYING COPYING.LGPL INSTALL NEWS README TODO spamtest-virustest.txt
-.endif
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e '\
 		s!/doc/$${PACKAGE_TARNAME}!/doc/${PORTNAME:S/-/\//}!g;\
@@ -47,12 +46,8 @@ post-patch:
 	@${LN} -f ${WRKSRC}/doc/spamtest-virustest.txt ${WRKSRC}/
 
 post-install:
-.if !defined(NOPORTDOCS)
-	${INSTALL} ${_SHROWNGRP} -m ${BINMODE} -d ${DOCSDIR}
-.for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
-.endif
-	@${CAT} ${PKGMESSAGE}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dovecot/lda/lib90_sieve_plugin.so
 
 .include <bsd.port.mk>

Modified: head/mail/dovecot-sieve/pkg-plist
==============================================================================
--- head/mail/dovecot-sieve/pkg-plist	Sun May 18 17:07:41 2014	(r354440)
+++ head/mail/dovecot-sieve/pkg-plist	Sun May 18 17:10:05 2014	(r354441)
@@ -4,5 +4,6 @@ bin/sieved
 lib/dovecot/lda/lib90_sieve_plugin.a
 lib/dovecot/lda/lib90_sieve_plugin.la
 lib/dovecot/lda/lib90_sieve_plugin.so
-@dirrmtry lib/dovecot/lda
-@dirrmtry lib/dovecot
+man/man1/sieve-test.1.gz
+man/man1/sievec.1.gz
+man/man1/sieved.1.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 5 Olli Hauer freebsd_committer freebsd_triage 2014-05-18 18:18:53 UTC
State Changed
From-To: feedback->closed

Committed!