FreeBSD Bugzilla – Attachment 66285 Details for
Bug 98000
[PATCH] mail/imapfilter: update to 1.2.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
imapfilter-1.2.1.patch
imapfilter-1.2.1.patch (text/plain), 5.51 KB, created by
Stefan Walter
on 2006-05-27 08:50:21 UTC
(
hide
)
Description:
imapfilter-1.2.1.patch
Filename:
MIME Type:
Creator:
Stefan Walter
Created:
2006-05-27 08:50:21 UTC
Size:
5.51 KB
patch
obsolete
>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) \\
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 98000
: 66285