Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Sep 2012 15:42:47 GMT
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/171281: [patch] mail/imapfilter -- update to 2.5.3
Message-ID:  <201209031542.q83Fgla1049344@red.freebsd.org>
Resent-Message-ID: <201209031550.q83FoAPY069946@freefall.freebsd.org>

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

>Number:         171281
>Category:       ports
>Synopsis:       [patch] mail/imapfilter -- update to 2.5.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 03 15:50:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Pietro Cerutti
>Release:        
>Organization:
The FreeBSD Project
>Environment:
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: distinfo
===================================================================
--- distinfo	(revision 303599)
+++ distinfo	(working copy)
@@ -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
Index: Makefile
===================================================================
--- Makefile	(revision 303599)
+++ Makefile	(working copy)
@@ -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 @@
 
 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 @@
 		%%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_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


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



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