Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 May 2006 09:44:36 +0200 (CEST)
From:      Stefan Walter <sw@gegenunendlich.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        arved@FreeBSD.org, lefcha@hellug.gr
Subject:   ports/98000: [PATCH] mail/imapfilter: update to 1.2.1
Message-ID:  <20060527074436.870483CB9@kyuzo.dunkelkammer.void>
Resent-Message-ID: <200605270750.k4R7oM4X020133@freefall.freebsd.org>

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

>Number:         98000
>Category:       ports
>Synopsis:       [PATCH] mail/imapfilter: update to 1.2.1
>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:   Sat May 27 07:50:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Stefan Walter
>Release:        FreeBSD 5.5-RC1 i386
>Organization:
Infinity Approximation Task Force
>Environment:
System: FreeBSD kyuzo.dunkelkammer.void 5.5-RC1 FreeBSD 5.5-RC1 #0: Sat May 20 10:53:23 CEST 2006
>Description:
- Update to 1.2.1
- Change lua dependency from 5.0 to 5.1

Added file(s):
- files/patch-configure

Removed file(s):
- files/patch-aa

Port maintainer (lefcha@hellug.gr) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- imapfilter-1.2.1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /storage/cvs/FreeBSD/ports/mail/imapfilter/Makefile,v
retrieving revision 1.17
diff -u -u -r1.17 Makefile
--- Makefile	3 May 2006 13:25:06 -0000	1.17
+++ Makefile	27 May 2006 07:42:23 -0000
@@ -6,14 +6,14 @@
 #
 
 PORTNAME=	imapfilter
-PORTVERSION=	1.0.1
+PORTVERSION=	1.2.1
 CATEGORIES=	mail
 MASTER_SITES=	http://imapfilter.hellug.gr/source/
 
 MAINTAINER=	lefcha@hellug.gr
 COMMENT=	IMAP mail filtering utility
 
-LIB_DEPENDS=	lua.5:${PORTSDIR}/lang/lua50
+BUILD_DEPENDS=	${LOCALBASE}/lib/liblua.a:${PORTSDIR}/lang/lua
 
 USE_BZIP2=	yes
 USE_OPENSSL=	yes
@@ -30,6 +30,10 @@
 		${EXAMPLESDIR:S%${PREFIX}/%%}/sample.extend.lua
 PLIST_DIRS=	${DATADIR:S%${PREFIX}/%%} ${EXAMPLESDIR:S%${PREFIX}/%%}
 
+post-patch:
+	${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/configure
+	${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/configure
+
 post-install:
 	${STRIP_CMD} ${PREFIX}/bin/imapfilter
 	@${MKDIR} ${DATADIR}
Index: distinfo
===================================================================
RCS file: /storage/cvs/FreeBSD/ports/mail/imapfilter/distinfo,v
retrieving revision 1.18
diff -u -u -r1.18 distinfo
--- distinfo	22 Jan 2006 12:50:22 -0000	1.18
+++ distinfo	27 May 2006 07:42:23 -0000
@@ -1,3 +1,3 @@
-MD5 (imapfilter-1.0.1.tar.bz2) = df46132ef7c48cf0e093cf0100983103
-SHA256 (imapfilter-1.0.1.tar.bz2) = 1e40978bc2396c1e0f078907b8b4e2cc327752cacd7df9361e76703e7f6a6fbb
-SIZE (imapfilter-1.0.1.tar.bz2) = 28718
+MD5 (imapfilter-1.2.1.tar.bz2) = 6aaee99234b0f8ffcf97698786985232
+SHA256 (imapfilter-1.2.1.tar.bz2) = e25cd5c4cf1e3d0440e20b890f714ebed5d06d8482212c6947df03fa1982c3e4
+SIZE (imapfilter-1.2.1.tar.bz2) = 32110
Index: files/patch-aa
===================================================================
RCS file: files/patch-aa
diff -N files/patch-aa
--- files/patch-aa	24 May 2004 20:48:53 -0000	1.5
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,45 +0,0 @@
---- configure.orig	Sun May 23 15:03:23 2004
-+++ configure	Sun May 23 15:08:27 2004
-@@ -143,16 +143,16 @@
- SHAREDIR = $sharedir
- MANDIR = $mandir
- 
-+INST_BIN = \$(BSD_INSTALL_PROGRAM)
-+INST_DOC = \$(BSD_INSTALL_MAN)
-+
- INCDIRS = $incdirs
- LIBDIRS = $libdirs
- 
--MYCFLAGS = $mycflags
--MYLDFLAGS = $myldflags
--
- DEFS = $defs
- 
--CFLAGS = \$(MYCFLAGS) \$(DEFS) \$(INCDIRS)
--LDFLAGS = \$(MYLDFLAGS) \$(LIBDIRS)
-+CFLAGS += \$(DEFS) \$(INCDIRS)
-+LDFLAGS += \$(LIBDIRS)
- 
- LIBS = $libs
- 
-@@ -181,17 +181,9 @@
- imapfilter.o: version.h
- 
- install: \$(BIN)
--	if test ! -d \$(BINDIR); then mkdir -p \$(BINDIR); fi
--	cp -f \$(BIN) \$(BINDIR) && chmod 0755 \$(BINDIR)/\$(BIN)
--	if test ! -d \$(SHAREDIR); then mkdir -p \$(SHAREDIR); fi
--	cp -f \$(INTERFACE_LUA) \$(SHAREDIR) && \\
--		chmod 0644 \$(SHAREDIR)/\$(INTERFACE_LUA)
--	cp -f \$(AUXILIARY_LUA) \$(SHAREDIR) && \\
--		chmod 0644 \$(SHAREDIR)/\$(AUXILIARY_LUA)
--	if test ! -d \$(MANDIR)/man1; then mkdir -p \$(MANDIR)/man1; fi
--	cp -f \$(MAN_BIN) \$(MANDIR)/man1 && chmod 0644 \$(MANDIR)/man1/\$(MAN_BIN)
--	if test ! -d \$(MANDIR)/man5; then mkdir -p \$(MANDIR)/man5; fi
--	cp -f \$(MAN_CONFIG) \$(MANDIR)/man5 && chmod 0644 \$(MANDIR)/man5/\$(MAN_CONFIG)
-+	\$(INST_BIN) \$(BIN) \$(BINDIR)
-+	\$(INST_DOC) \$(MAN_BIN) \$(MANDIR)/man1
-+	\$(INST_DOC) \$(MAN_CONFIG) \$(MANDIR)/man5
- 
- deinstall:
- 	rm -f \$(BINDIR)/\$(BIN) \$(SHAREDIR)/\$(INTERFACE_LUA) \\
Index: files/patch-configure
===================================================================
RCS file: files/patch-configure
diff -N files/patch-configure
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-configure	27 May 2006 07:42:23 -0000
@@ -0,0 +1,73 @@
+--- configure.orig	Thu Mar  9 23:58:22 2006
++++ configure	Fri May 26 21:52:12 2006
+@@ -2,7 +2,7 @@
+ 
+ # Default values
+ 
+-destdir="/usr/local"
++destdir="%%PREFIX%%"
+ bindir="$destdir/bin"
+ sharedir="$destdir/share/imapfilter"
+ mandir="$destdir/man"
+@@ -10,13 +10,13 @@
+ ssltls="yes"
+ crammd5="yes"
+ 
+-incdirs="-I/usr/local/include"
+-libdirs="-L/usr/local/lib"
++incdirs="-I%%LOCALBASE%%/include"
++libdirs="-L%%LOCALBASE%%/lib"
+ 
+ mycflags="-Wall -O"
+ myldflags=""
+ 
+-libs="-lm -llua -llualib"
++libs="-lm -llua"
+ libssl="-lssl"
+ libcrypto="-lcrypto"
+ 
+@@ -145,16 +145,16 @@
+ SHAREDIR = $sharedir
+ MANDIR = $mandir
+ 
++INST_BIN = \$(BSD_INSTALL_PROGRAM)
++INST_DOC = \$(BSD_INSTALL_MAN)
++
+ INCDIRS = $incdirs
+ LIBDIRS = $libdirs
+ 
+-MYCFLAGS = $mycflags
+-MYLDFLAGS = $myldflags
+-
+ DEFS = $defs
+ 
+-CFLAGS = \$(MYCFLAGS) \$(DEFS) \$(INCDIRS)
+-LDFLAGS = \$(MYLDFLAGS) \$(LIBDIRS)
++CFLAGS += \$(DEFS) \$(INCDIRS)
++LDFLAGS += \$(LIBDIRS)
+ 
+ LIBS = $libs
+ 
+@@ -184,19 +184,9 @@
+ imapfilter.o: version.h
+ 
+ install: \$(BIN)
+-	if test ! -d \$(BINDIR); then mkdir -p \$(BINDIR); fi
+-	cp -f \$(BIN) \$(BINDIR) && chmod 0755 \$(BINDIR)/\$(BIN)
+-	if test ! -d \$(SHAREDIR); then mkdir -p \$(SHAREDIR); fi
+-	cp -f \$(INTERFACE_LUA) \$(SHAREDIR) && \\
+-		chmod 0644 \$(SHAREDIR)/\$(INTERFACE_LUA)
+-	cp -f \$(AUXILIARY_LUA) \$(SHAREDIR) && \\
+-		chmod 0644 \$(SHAREDIR)/\$(AUXILIARY_LUA)
+-	if test ! -d \$(MANDIR)/man1; then mkdir -p \$(MANDIR)/man1; fi
+-	cp -f \$(MAN_BIN) \$(MANDIR)/man1 && \\
+-		chmod 0644 \$(MANDIR)/man1/\$(MAN_BIN)
+-	if test ! -d \$(MANDIR)/man5; then mkdir -p \$(MANDIR)/man5; fi
+-	cp -f \$(MAN_CONFIG) \$(MANDIR)/man5 && \\
+-		chmod 0644 \$(MANDIR)/man5/\$(MAN_CONFIG)
++	\$(INST_BIN) \$(BIN) \$(BINDIR)
++	\$(INST_DOC) \$(MAN_BIN) \$(MANDIR)/man1
++	\$(INST_DOC) \$(MAN_CONFIG) \$(MANDIR)/man5
+ 
+ deinstall:
+ 	rm -f \$(BINDIR)/\$(BIN) \$(SHAREDIR)/\$(INTERFACE_LUA) \\
--- imapfilter-1.2.1.patch ends here ---

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



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