Bug 185973 - mail/mailfront patch - update to latest version
Summary: mail/mailfront patch - update to latest version
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: Bryan Drewery
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-21 22:20 UTC by Uffe Jakobsen
Modified: 2014-04-08 17:00 UTC (History)
0 users

See Also:


Attachments
file.diff (3.18 KB, patch)
2014-01-21 22:20 UTC, Uffe Jakobsen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Uffe Jakobsen 2014-01-21 22:20:00 UTC
mail/mailfront patch - update to latest version

The attached patch updates mail/mailfront from 1.21 to latest version 2.01

Additional (forgotten) plugins added to pkg-plist

Port is now building to stage

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-21 22:20:07 UTC
Maintainer of mail/mailfront,

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

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-21 22:20:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Bryan Drewery freebsd_committer freebsd_triage 2014-04-02 19:05:54 UTC
Responsible Changed
From-To: freebsd-ports-bugs->bdrewery

I'll take it.
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-04-08 16:57:20 UTC
Author: bdrewery
Date: Tue Apr  8 15:57:15 2014
New Revision: 350630
URL: http://svnweb.freebsd.org/changeset/ports/350630
QAT: https://qat.redports.org/buildarchive/r350630/

Log:
  - Support staging
  - Update to 2.01 [1]
  - Pass maintainership to submitter (previous maintainer has timed out since 2009)
  - Convert to new LIB_DEPENDS format
  - Use OPTIONS_SUB
  - Remove use of bsd.port.pre.mk
  
  PR:		ports/185973 [1]
  Submitted by:	Uffe Jakobsen <uffe@uffe.org> [1]

Modified:
  head/mail/mailfront/Makefile
  head/mail/mailfront/distinfo
  head/mail/mailfront/pkg-plist

Modified: head/mail/mailfront/Makefile
==============================================================================
--- head/mail/mailfront/Makefile	Tue Apr  8 15:42:35 2014	(r350629)
+++ head/mail/mailfront/Makefile	Tue Apr  8 15:57:15 2014	(r350630)
@@ -2,19 +2,20 @@
 # $FreeBSD$
 
 PORTNAME=	mailfront
-PORTVERSION=	1.21
+PORTVERSION=	2.01
 CATEGORIES=	mail
 MASTER_SITES=	http://untroubled.org/${PORTNAME}/ \
 		http://untroubled.org/${PORTNAME}/archive/
 
-MAINTAINER=	tarkhil@over.ru
+MAINTAINER=	uffe@uffe.org
 COMMENT=	Mail server network protocol front-ends
 
-LIB_DEPENDS=	cvm-v2client:${PORTSDIR}/security/cvm
+LIB_DEPENDS=	libcvm-v2client.so:${PORTSDIR}/security/cvm
 
 OPTIONS_DEFINE=	LUA
 
-OPTIONS_DEFAULT=	LUA
+OPTIONS_DEFAULT=LUA
+OPTIONS_SUB=	yes
 
 USES=		qmail:vars
 
@@ -27,12 +28,12 @@ CVM_INC=	${LOCALBASE}/include
 CVM_LIB=	${LOCALBASE}/lib
 MODULES_DIR=	${PREFIX}/libexec/${PORTNAME}
 
-DOCS=		NEWS README TODO *.html
+ALL_TARGET=	all
+LATE_INSTALL_ARGS=	install_prefix=${STAGEDIR}
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
+DOCS=		NEWS README TODO *.html
 
-ALL_TARGET=	all
+.include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MLUA}
 ALL_TARGET+=	lua
@@ -40,9 +41,6 @@ USE_LUA=	yes
 CFLAGS+=	-I${LUA_INCDIR}
 CFLAGS_SO+=	-L${LUA_LIBDIR}
 LDFLAGS+=	-L${LUA_LIBDIR}
-PLIST_SUB+=	LUA=""
-.else
-PLIST_SUB+=	LUA="@comment "
 .endif
 
 LDFLAGS+=	-rdynamic
@@ -60,8 +58,8 @@ do-configure:
 
 .if ${PORT_OPTIONS:MDOCS}
 post-install:
-	@${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/mail/mailfront/distinfo
==============================================================================
--- head/mail/mailfront/distinfo	Tue Apr  8 15:42:35 2014	(r350629)
+++ head/mail/mailfront/distinfo	Tue Apr  8 15:57:15 2014	(r350630)
@@ -1,2 +1,2 @@
-SHA256 (mailfront-1.21.tar.gz) = 219dcefafc1a458407ac0605168499f2e3e585cd14b89659809e5bcda2c82825
-SIZE (mailfront-1.21.tar.gz) = 113966
+SHA256 (mailfront-2.01.tar.gz) = 1fb069ef7c36dc8487e1ba102ac5548f35f7bdfdbfb583662387e9044bc72b63
+SIZE (mailfront-2.01.tar.gz) = 119144

Modified: head/mail/mailfront/pkg-plist
==============================================================================
--- head/mail/mailfront/pkg-plist	Tue Apr  8 15:42:35 2014	(r350629)
+++ head/mail/mailfront/pkg-plist	Tue Apr  8 15:57:15 2014	(r350630)
@@ -17,12 +17,14 @@ libexec/mailfront/plugin-add-received.so
 libexec/mailfront/plugin-check-fqdn.so
 libexec/mailfront/plugin-clamav.so
 libexec/mailfront/plugin-counters.so
+libexec/mailfront/plugin-cvm-authenticate.so
 libexec/mailfront/plugin-cvm-validate.so
 %%LUA%%libexec/mailfront/plugin-lua.so
 libexec/mailfront/plugin-mailrules.so
 libexec/mailfront/plugin-patterns.so
 libexec/mailfront/plugin-qmail-validate.so
 libexec/mailfront/plugin-spamassassin.so
+libexec/mailfront/plugin-starttls-ucspi.so
 libexec/mailfront/protocol-qmqp.so
 libexec/mailfront/protocol-qmtp.so
 libexec/mailfront/protocol-smtp.so
@@ -44,6 +46,7 @@ libexec/mailfront/protocol-smtp.so
 %%PORTDOCS%%%%DOCSDIR%%/plugin-check-fqdn.html
 %%PORTDOCS%%%%DOCSDIR%%/plugin-clamav.html
 %%PORTDOCS%%%%DOCSDIR%%/plugin-counters.html
+%%PORTDOCS%%%%DOCSDIR%%/plugin-cvm-authenticate.html
 %%PORTDOCS%%%%DOCSDIR%%/plugin-cvm-validate.html
 %%PORTDOCS%%%%DOCSDIR%%/plugin-force-file.html
 %%PORTDOCS%%%%DOCSDIR%%/plugin-lua.html
@@ -54,6 +57,7 @@ libexec/mailfront/protocol-smtp.so
 %%PORTDOCS%%%%DOCSDIR%%/plugin-relayclient.html
 %%PORTDOCS%%%%DOCSDIR%%/plugin-require-auth.html
 %%PORTDOCS%%%%DOCSDIR%%/plugin-spamassassin.html
+%%PORTDOCS%%%%DOCSDIR%%/plugin-starttls-ucspi.html
 %%PORTDOCS%%%%DOCSDIR%%/plugin-template.html
 %%PORTDOCS%%%%DOCSDIR%%/pop3front.html
 %%PORTDOCS%%%%DOCSDIR%%/protocol-qmqp.html
_______________________________________________
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 Bryan Drewery freebsd_committer freebsd_triage 2014-04-08 16:57:45 UTC
State Changed
From-To: feedback->closed

Committed, made some staging fixes as well. I've set you as maintainer.