Bug 171281 - [patch] mail/imapfilter -- update to 2.5.3
Summary: [patch] mail/imapfilter -- update to 2.5.3
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: Stefan Walter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-03 16:50 UTC by Pietro Cerutti
Modified: 2012-09-08 21:10 UTC (History)
0 users

See Also:


Attachments
file.diff (2.02 KB, patch)
2012-09-03 16:50 UTC, Pietro Cerutti
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pietro Cerutti freebsd_committer freebsd_triage 2012-09-03 16:50:10 UTC

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-09-03 16:50:24 UTC
Responsible Changed
From-To: freebsd-ports-bugs->stefan

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-09-08 21:08:03 UTC
Author: stefan
Date: Sat Sep  8 20:07:48 2012
New Revision: 303926
URL: http://svn.freebsd.org/changeset/ports/303926

Log:
  Update to 2.5.3.
  
  PR:		171281
  Submitted by:	gahr

Modified:
  head/mail/imapfilter/Makefile
  head/mail/imapfilter/distinfo

Modified: head/mail/imapfilter/Makefile
==============================================================================
--- head/mail/imapfilter/Makefile	Sat Sep  8 20:02:13 2012	(r303925)
+++ head/mail/imapfilter/Makefile	Sat Sep  8 20:07:48 2012	(r303926)
@@ -6,9 +6,8 @@
 #
 
 PORTNAME=	imapfilter
-PORTVERSION=	2.2.3
+PORTVERSION=	2.5.3
 CATEGORIES=	mail
-MASTER_SITES=	http://cloud.github.com/downloads/lefcha/${PORTNAME}/
 
 MAINTAINER=	stefan@FreeBSD.org
 COMMENT=	IMAP mail filtering utility
@@ -17,11 +16,14 @@ LIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre
 
 USE_LUA=	5.1
 USE_OPENSSL=	yes
-HAS_CONFIGURE=	yes
-CONFIGURE_ARGS=	-d ${PREFIX} -s ${DATADIR}
 CPPFLAGS+=	-I${LOCALBASE}/include -I${LUA_INCDIR}
 LDFLAGS+=	-L${LOCALBASE}/lib -L${LUA_LIBDIR}
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	lefcha
+GH_TAGNAME=	v${PORTVERSION}
+GH_COMMIT=	69b6501
+
 MAN1=		imapfilter.1
 MAN5=		imapfilter_config.5
 PORTDOCS=	LICENSE NEWS README
@@ -29,7 +31,6 @@ PLIST_FILES=	bin/imapfilter \
 		%%DATADIR%%/account.lua \
 		%%DATADIR%%/auxiliary.lua \
 		%%DATADIR%%/common.lua \
-		%%DATADIR%%/deprecated.lua \
 		%%DATADIR%%/mailbox.lua \
 		%%DATADIR%%/message.lua \
 		%%DATADIR%%/options.lua \
@@ -40,12 +41,14 @@ PLIST_FILES=	bin/imapfilter \
 PLIST_DIRS=	%%DATADIR%% %%EXAMPLESDIR%%
 
 post-patch:
-	@${REINPLACE_CMD} -Ee \
-		's|^(incdirs=).*|\1"${CPPFLAGS}"| ; \
-		 s|^(libdirs=).*|\1"${LDFLAGS}"| ; \
-		 s|^(mycflags=).*|\1"${CFLAGS}"| ; \
-		 s|-llualib||' \
-		${WRKSRC}/configure
+	${REINPLACE_CMD} -Ee ' \
+	    s|^(PREFIX =).*|\1${PREFIX}|; \
+	    s|^(MYCFLAGS =).*|\1${CPPFLAGS}|; \
+	    s|^(MYLDFLAGS =).*|\1${LDFLAGS}|; \
+	    s|^(BINDIR =).*|\1${PREFIX}/bin|; \
+	    s|^(SHAREDIR =).*|\1${DATADIR}|; \
+	    s|^(MANDIR =).*|\1${MANPREFIX}/man|' \
+	    ${WRKSRC}/src/Makefile
 
 post-install:
 	${STRIP_CMD} ${PREFIX}/bin/imapfilter

Modified: head/mail/imapfilter/distinfo
==============================================================================
--- head/mail/imapfilter/distinfo	Sat Sep  8 20:02:13 2012	(r303925)
+++ head/mail/imapfilter/distinfo	Sat Sep  8 20:07:48 2012	(r303926)
@@ -1,2 +1,2 @@
-SHA256 (imapfilter-2.2.3.tar.gz) = 7ed19d91f0e01f53d443b03de0b1c465407aad1b7c4886ef7a078896ccf63cd9
-SIZE (imapfilter-2.2.3.tar.gz) = 55503
+SHA256 (imapfilter-2.5.3.tar.gz) = a34e3e78c6d4fa32b329442873e0c3ef038056838cce3c4be98a9fbe904189c5
+SIZE (imapfilter-2.5.3.tar.gz) = 52366
_______________________________________________
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 3 Stefan Walter freebsd_committer freebsd_triage 2012-09-08 21:10:16 UTC
State Changed
From-To: open->closed

Committed, thanks!