ports/139590: [PATCH] security/webfwlog: update to 0.94

Sylvio Cesar scjamorim at bsd.com.br
Wed Oct 14 01:50:03 UTC 2009


>Number:         139590
>Category:       ports
>Synopsis:       [PATCH] security/webfwlog: update to 0.94
>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:   Wed Oct 14 01:50:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sylvio Cesar
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD fbsd.scjamorim.org 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Sat Oct 10 21:33:17 BRT 2009
>Description:
- Update to 0.94
- Changed for with install EXAMPLES and DOCS
- Changed pkg-plist

Port maintainer (zeus at ix.netcom.com) is cc'd.

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

--- webfwlog-0.94.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/webfwlog/Makefile,v
retrieving revision 1.6
diff -u -u -r1.6 Makefile
--- Makefile	22 Aug 2009 00:35:08 -0000	1.6
+++ Makefile	14 Oct 2009 01:38:13 -0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	webfwlog
-PORTVERSION=	0.93
-PORTREVISION=	1
+PORTVERSION=	0.94
 CATEGORIES=	security
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
@@ -28,11 +27,9 @@
 # want to install webfwlog, relative to ${PREFIX}.
 
 SUB_FILES=	pkg-message
-DOCS=		README AUTHORS COPYING \
-		CREDITS ChangeLog INSTALL \
-		README ReleaseNotes
 
-.include <bsd.port.pre.mk>
+PORTDOCS=	AUTHORS COPYING CREDITS ChangeLog INSTALL \
+		README ReleaseNotes
 
 .if defined(WITH_MYSQL)
 USE_MYSQL=	yes
@@ -47,8 +44,6 @@
 do-install:
 	@${MKDIR} ${WWWDIR}
 	@${MKDIR} ${WWWDIR}/include/
-	@${MKDIR} ${EXAMPLESDIR}
-	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/)
 	@(cd ${WRKSRC}/webfwlog/include/ && ${COPYTREE_SHARE} \* ${WWWDIR}/include/)
 	${INSTALL_PROGRAM} ${WRKSRC}/syslog/wfwl_syslog ${PREFIX}/bin/
 	${INSTALL_DATA} ${WRKSRC}/webfwlog/style.css ${WWWDIR}
@@ -60,11 +55,16 @@
 	@${MKDIR} ${DOCSDIR}/pgsql
 	@(cd ${WRKSRC}/mysql/ && ${COPYTREE_SHARE} \* ${DOCSDIR}/mysql/)
 	@(cd ${WRKSRC}/pgsql/ && ${COPYTREE_SHARE} \* ${DOCSDIR}/pgsql/)
-.for FILE in ${DOCS}
-	${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+.for docs in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
 .endfor
 .endif
 
+.if !defined(NOPORTEXAMPLES)
+	${MKDIR} ${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
+.endif
+
 	@if test -f ${PREFIX}/etc/webfwlog.conf; \
 	then \
 		${CHOWN} :${WWWGRP} ${PREFIX}/etc/webfwlog.conf; \
@@ -86,4 +86,4 @@
 	@${CAT} ${PKGMESSAGE}
 	@${ECHO}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/security/webfwlog/distinfo,v
retrieving revision 1.4
diff -u -u -r1.4 distinfo
--- distinfo	29 Jun 2007 15:06:55 -0000	1.4
+++ distinfo	14 Oct 2009 01:38:13 -0000
@@ -1,3 +1,3 @@
-MD5 (webfwlog-0.93.tar.gz) = 85f863bf11f882486169ac0b5bb36d22
-SHA256 (webfwlog-0.93.tar.gz) = 25cf014e1580c9e270cc07bbc6a5c51e12617d6695f67e281f5a1bb4ed9779ef
-SIZE (webfwlog-0.93.tar.gz) = 271426
+MD5 (webfwlog-0.94.tar.gz) = 5af2fbbd36b039c004592e9dbf10ccc1
+SHA256 (webfwlog-0.94.tar.gz) = c1b84dd4036aa9f81fc4fbd527eda202e51c3767659b8f1eef12bfb3381c5b36
+SIZE (webfwlog-0.94.tar.gz) = 288138
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/security/webfwlog/pkg-plist,v
retrieving revision 1.4
diff -u -u -r1.4 pkg-plist
--- pkg-plist	22 Nov 2008 08:09:04 -0000	1.4
+++ pkg-plist	14 Oct 2009 01:38:13 -0000
@@ -1,12 +1,5 @@
 bin/wfwl_syslog
 etc/webfwlog.conf.sample
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/CREDITS
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/ReleaseNotes
 %%PORTDOCS%%%%DOCSDIR%%/mysql/README
 %%PORTDOCS%%%%DOCSDIR%%/mysql/setup
 %%PORTDOCS%%%%DOCSDIR%%/mysql/scripts/temp_grants
@@ -32,15 +25,6 @@
 %%PORTDOCS%%%%DOCSDIR%%/pgsql/scripts/wfwl_reports_addcol
 %%PORTDOCS%%%%DOCSDIR%%/pgsql/scripts/wfwl_reports_create
 %%PORTDOCS%%%%DOCSDIR%%/pgsql/scripts/wfwl_services_create
-%%EXAMPLESDIR%%/basic
-%%EXAMPLESDIR%%/current_count
-%%EXAMPLESDIR%%/current_dport
-%%EXAMPLESDIR%%/last20hosts
-%%EXAMPLESDIR%%/latest_logged_packets
-%%EXAMPLESDIR%%/recent_active
-%%EXAMPLESDIR%%/tcpports
-%%EXAMPLESDIR%%/tcpsyn
-%%EXAMPLESDIR%%/udpports
 %%WWWDIR%%/include/config.php
 %%WWWDIR%%/include/criteria.php
 %%WWWDIR%%/include/debug.php
@@ -68,7 +52,5 @@
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/pgsql
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/mysql/scripts
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/mysql
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
- at dirrm %%EXAMPLESDIR%%
 @dirrm %%WWWDIR%%/include
 @dirrmtry %%WWWDIR%%
--- webfwlog-0.94.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list