From owner-freebsd-ports-bugs@FreeBSD.ORG Sat May 27 07:50:23 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9AD3616A64F for ; Sat, 27 May 2006 07:50:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6E6A43D5A for ; Sat, 27 May 2006 07:50:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4R7oM4b020134 for ; Sat, 27 May 2006 07:50:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4R7oM4X020133; Sat, 27 May 2006 07:50:22 GMT (envelope-from gnats) Resent-Date: Sat, 27 May 2006 07:50:22 GMT Resent-Message-Id: <200605270750.k4R7oM4X020133@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Stefan Walter Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8ADA16AC9E; Sat, 27 May 2006 07:44:45 +0000 (UTC) (envelope-from sw@gegenunendlich.de) Received: from mail.hamcom.de (mail2.hamcom.de [212.37.37.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5A3C43D55; Sat, 27 May 2006 07:44:44 +0000 (GMT) (envelope-from sw@gegenunendlich.de) Received: from adsl-dyn-88-208-148-109.heliweb.de ([88.208.148.109] helo=chikuku.dunkelkammer.void) by mail.hamcom.de with esmtp (Exim 4.60) (envelope-from ) id 1FjtTW-0002PS-Oy; Sat, 27 May 2006 09:44:42 +0200 Received: from kyuzo.dunkelkammer.void (kyuzo.dunkelkammer.void [192.168.0.99]) by chikuku.dunkelkammer.void (Postfix) with ESMTP id E9D76BC47; Sat, 27 May 2006 09:44:36 +0200 (CEST) Received: by kyuzo.dunkelkammer.void (Postfix, from userid 1002) id 870483CB9; Sat, 27 May 2006 09:44:36 +0200 (CEST) Message-Id: <20060527074436.870483CB9@kyuzo.dunkelkammer.void> Date: Sat, 27 May 2006 09:44:36 +0200 (CEST) From: Stefan Walter To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: arved@FreeBSD.org, lefcha@hellug.gr Subject: ports/98000: [PATCH] mail/imapfilter: update to 1.2.1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 07:50:30 -0000 >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: