ports/155870: Update port: net-mgmt/netspoc
KATO Tsuguru
tkato432 at yahoo.com
Tue Mar 22 18:30:08 UTC 2011
>Number: 155870
>Category: ports
>Synopsis: Update port: net-mgmt/netspoc
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 22 18:30:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.3-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Add LICENSE
- Utilize PLIST_FILES
Remove file:
pkg-plist
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/net-mgmt/netspoc/Makefile net-mgmt/netspoc/Makefile
--- /usr/ports/net-mgmt/netspoc/Makefile 2008-08-19 22:41:52.000000000 +0900
+++ net-mgmt/netspoc/Makefile 2011-03-22 17:33:20.000000000 +0900
@@ -7,28 +7,38 @@
#
PORTNAME= netspoc
-PORTVERSION= 3.0
+PORTVERSION= 3.2
CATEGORIES= net-mgmt
-MASTER_SITES= http://download.berlios.de/netspoc/
+MASTER_SITES= BERLIOS
+DISTNAME= Netspoc-${PORTVERSION}
MAINTAINER= ports at FreeBSD.org
COMMENT= A Network Security Policy Compiler
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
USE_PERL5= yes
-NO_BUILD= yes
+PERL_CONFIGURE= yes
-MAN1= netspoc.1
-DOCS= CSPM.html NEWS.html index.html language.html netspoc.html
+MAN1= netspoc.1 print-group.1
+MAN3= Netspoc.3
+PORTDOCS= *
+PORTEXAMPLES= *
+PLIST_FILES= bin/cut-netspoc bin/netspoc bin/print-group \
+ %%SITE_PERL%%/Netspoc.pm
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/netspoc ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/Netspoc.pm ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/netspoc.man ${MANPREFIX}/man/man1/netspoc.1
+post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/index.shtml ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}/doc
+ @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}/doc)
+.endif
+.if !defined(NOPORTEXAMPLES)
+ @${MKDIR} ${EXAMPLESDIR}
+ @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
.endif
.include <bsd.port.mk>
diff -urN /usr/ports/net-mgmt/netspoc/distinfo net-mgmt/netspoc/distinfo
--- /usr/ports/net-mgmt/netspoc/distinfo 2011-03-21 02:51:49.000000000 +0900
+++ net-mgmt/netspoc/distinfo 2011-03-14 00:57:51.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (netspoc-3.0.tar.gz) = 0d67531e902496a5cb011e9f0ca57847f06d4f64bf59c08c6325cfc000786ce2
-SIZE (netspoc-3.0.tar.gz) = 117320
+SHA256 (Netspoc-3.2.tar.gz) = ea053436cd1ab9bb0cc729820cfbddf3c683e8b3d78baca678b30f73156d22c7
+SIZE (Netspoc-3.2.tar.gz) = 228660
diff -urN /usr/ports/net-mgmt/netspoc/pkg-plist net-mgmt/netspoc/pkg-plist
--- /usr/ports/net-mgmt/netspoc/pkg-plist 2004-01-02 07:10:41.000000000 +0900
+++ net-mgmt/netspoc/pkg-plist 1970-01-01 09:00:00.000000000 +0900
@@ -1,9 +0,0 @@
- at comment $FreeBSD: ports/net-mgmt/netspoc/pkg-plist,v 1.3 2004/01/01 22:10:41 sergei Exp $
-bin/netspoc
-bin/Netspoc.pm
-%%PORTDOCS%%%%DOCSDIR%%/CSPM.html
-%%PORTDOCS%%%%DOCSDIR%%/index.html
-%%PORTDOCS%%%%DOCSDIR%%/language.html
-%%PORTDOCS%%%%DOCSDIR%%/netspoc.html
-%%PORTDOCS%%%%DOCSDIR%%/NEWS.html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list