ports/147854: [MANTAINER UPDATE] mail/spmfilter: update to 0.4.2
Frank Wall
fw at moov.de
Mon Jun 14 16:00:08 UTC 2010
>Number: 147854
>Category: ports
>Synopsis: [MANTAINER UPDATE] mail/spmfilter: update to 0.4.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Jun 14 16:00:07 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Frank Wall
>Release: 7.1-RELEASE-p11
>Organization:
>Environment:
FreeBSD 7.1-RELEASE-p11 FreeBSD 7.1-RELEASE-p11 #0: Fri Feb 26 19:22:31 UTC 2010 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
- update port to version 0.4.2
- use variable %%LIB_VERSION%% in pkg-plist
- add license information
>How-To-Repeat:
>Fix:
apply the patch
Patch attached with submission follows:
Index: mail/spmfilter/distinfo
===================================================================
--- mail/spmfilter/distinfo (revision 881)
+++ mail/spmfilter/distinfo (working copy)
@@ -1,3 +1,3 @@
-MD5 (spmfilter-0.4.1.tar.gz) = 653b8c0bb85be71edafbd7771d3fc26b
-SHA256 (spmfilter-0.4.1.tar.gz) = f8b88ee5035a54969de887e1896fbedc45238ffac30396ebc1191518751ce4f8
-SIZE (spmfilter-0.4.1.tar.gz) = 53734
+MD5 (spmfilter-0.4.2.tar.gz) = c4e0b2a71a39fe66fe6e5e62250117e5
+SHA256 (spmfilter-0.4.2.tar.gz) = 1f9fdcbbac3f1301ab0bf2803bb699fa2e9a8075d78d158d96e2d066c3124d02
+SIZE (spmfilter-0.4.2.tar.gz) = 54418
Index: mail/spmfilter/pkg-plist
===================================================================
--- mail/spmfilter/pkg-plist (revision 887)
+++ mail/spmfilter/pkg-plist (working copy)
@@ -9,11 +9,11 @@
include/spmfilter/spmfilter_config.h
libdata/pkgconfig/spmfilter.pc
lib/spmfilter/libpipe.so
-lib/spmfilter/libpipe.so.0.4.1
+lib/spmfilter/libpipe.so.%%LIB_VERSION%%
lib/spmfilter/libsmf.so
-lib/spmfilter/libsmf.so.0.4.1
+lib/spmfilter/libsmf.so.%%LIB_VERSION%%
lib/spmfilter/libsmtpd.so
-lib/spmfilter/libsmtpd.so.0.4.1
+lib/spmfilter/libsmtpd.so.%%LIB_VERSION%%
sbin/spmfilter
@unexec if cmp -s %D/etc/spmfilter.conf.sample %D/etc/spmfilter.conf; then rm -f %D/etc/spmfilter.conf; fi
etc/spmfilter.conf.sample
Index: mail/spmfilter/Makefile
===================================================================
--- mail/spmfilter/Makefile (revision 887)
+++ mail/spmfilter/Makefile (working copy)
@@ -6,9 +6,9 @@
#
PORTNAME= spmfilter
-PORTVERSION= 0.4.1
+PORTVERSION= 0.4.2
CATEGORIES= mail
-MASTER_SITES= http://www.${PORTNAME}.org/attachments/download/54/
+MASTER_SITES= http://www.${PORTNAME}.org/attachments/download/60/
MAINTAINER= fw at moov.de
COMMENT= Spmfilter is a high-performance mail filtering framework, written in C
@@ -21,6 +21,8 @@
libesmtp>=1.0:${PORTSDIR}/mail/libesmtp \
glib>=2.14:${PORTSDIR}/devel/glib20
+LICENSE= LGPL3
+
USE_CMAKE= yes
CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \
-DCMAKE_LIBRARY_PATH="${LOCALBASE}/lib"
@@ -86,6 +88,8 @@
SUB_LIST+= REQUIRE="${_REQUIRE}"
+PLIST_SUB= LIB_VERSION=${PORTVERSION}
+
post-patch:
@${REINPLACE_CMD} -e 's|share/man|man|' \
${WRKSRC}/cmake/Modules/SMFMacros.cmake
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list