ports/59965: mail/spambnc: upgrading to 20031203.

Thierry Thomas thierry at pompo.net
Thu Dec 4 21:00:35 UTC 2003


>Number:         59965
>Category:       ports
>Synopsis:       mail/spambnc: upgrading to 20031203.
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 04 13:00:30 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 4.9-STABLE FreeBSD 4.9-STABLE #0: Thu Nov 20 23:06:13 CET 2003 thierry at graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386


	
>Description:
	- upgrade The SpamBouncer to its latest version;

	- utilize DATADIR.

>How-To-Repeat:
	N/A.

>Fix:
	Please apply the following patch:

--- spambnc.diff begins here ---
diff -urN mail/spambnc.orig/Makefile mail/spambnc/Makefile
--- mail/spambnc.orig/Makefile	Thu Dec  4 16:20:30 2003
+++ mail/spambnc/Makefile	Thu Dec  4 20:48:32 2003
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	spambnc
-PORTVERSION=	20031128
+PORTVERSION=	20031203
 CATEGORIES=	mail
 MASTER_SITES=	http://www.spambouncer.org/	\
 		ftp://ftp.spambouncer.org/
@@ -27,19 +27,19 @@
 pre-install:
 	@${RM} -f ${PLIST}
 	@(cd ${WRKDIR} && ${FIND} -s . -type f | ${GREP} -v "^\.\/\." | \
-		${SED} -e 's,.,share/spambnc,1' >> ${PLIST})
-	@${ECHO_CMD} "@dirrm share/spambnc" >> ${PLIST}
+		${SED} -e 's,.,%%DATADIR%%,1' >> ${PLIST})
+	@${ECHO_CMD} "@dirrm %%DATADIR%%" >> ${PLIST}
 .if !defined(NOPORTDOCS)
 	@${ECHO_CMD} "%%DOCSDIR%%/documentation.html" >> ${PLIST}
 	@${ECHO_CMD} "@dirrm %%DOCSDIR%%" >> ${PLIST}
 .endif
 
 do-install:
-	${MKDIR} ${PREFIX}/share/spambnc/
-	cd ${WRKDIR} && ${CP} -Rv * ${PREFIX}/share/spambnc
+	${MKDIR} ${DATADIR}
+	cd ${WRKDIR} && ${CP} -Rv * ${DATADIR}
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/index.shtml \
+	@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/index.shtml \
 		${DOCSDIR}/documentation.html
 .endif
 
diff -urN mail/spambnc.orig/distinfo mail/spambnc/distinfo
--- mail/spambnc.orig/distinfo	Sat Nov 29 14:59:44 2003
+++ mail/spambnc/distinfo	Thu Dec  4 20:47:12 2003
@@ -1,2 +1,2 @@
-MD5 (spambnc-20031128/sb.tar.Z) = 6462d7f662863be6d51e0daded62fb35
-MD5 (spambnc-20031128/index.shtml) = IGNORE
+MD5 (spambnc-20031203/sb.tar.Z) = 0f4a5e8478b2ec58cfca7973dcb67dff
+MD5 (spambnc-20031203/index.shtml) = IGNORE
--- spambnc.diff ends here ---

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



More information about the freebsd-ports-bugs mailing list