PfPro is a cross-platform GUI fat client for managing configurations

for the PF firewalling system.

WWW: http://pfpro.sourceforge.net/

PR:		86743
Submitted by:	Adam VanderHook <acidos@bandwidth-junkies.net>
This commit is contained in:
Herve Quiroz 2005-10-03 17:27:19 +00:00
parent 97d9539bf5
commit 868262ab68
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=144086
7 changed files with 101 additions and 0 deletions

View File

@ -133,6 +133,7 @@
SUBDIR += packit
SUBDIR += pads
SUBDIR += pancho
SUBDIR += pfpro
SUBDIR += php4-snmp
SUBDIR += php5-snmp
SUBDIR += pixilate

66
net-mgmt/pfpro/Makefile Normal file
View File

@ -0,0 +1,66 @@
# Ports collection makefile for: Castor
# Date created: 2005/05/12
# Whom: Adam VanderHook <acidos@bandwidth-junkies.net>
#
# $FreeBSD$
#
PORTNAME= pfpro
PORTVERSION= 0.1.1
CATEGORIES= net-mgmt java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pfpro
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= acidos@bandwidth-junkies.net
COMMENT= Cross-platform GUI fat client for PF
BUILD_DEPENDS= ${JAVALIBDIR}/castor.jar:${PORTSDIR}/java/castor \
${JAVALIBDIR}/jakarta-oro.jar:${PORTSDIR}/java/jakarta-oro \
${JAVALIBDIR}/xalan.jar:${PORTSDIR}/textproc/xalan-j
USE_JAVA= yes
JAVA_VERSION= 1.4
USE_ANT= yes
USE_JIKES= no
MAKE_ENV= ANT_INCLUDE_SHARED_JARS=YES
WRKSRC= ${WRKDIR}/${DISTNAME}
BUILD_WRKSRC= ${WRKSRC}
XMLDIR= ${PREFIX}/share/xml/${PORTNAME}
XML_FILES= firewall.xsd
XSLDIR= ${PREFIX}/share/xsl/${PORTNAME}
XSL_FILES= xml2pf.xsl 001to010.xsl
JARFILE= ${PORTNAME}.jar
DOCS= BUGS CHANGELOG HACKING README RELNOTES
EXAMPLES= baseline.xml workstation.xml
SUB_FILES= pfpro.sh pkg-message
SUB_LIST= XSLDIR=${XSLDIR}
PKGMESSAGE= ${WRKDIR}/pkg-message
post-extract:
@${RM} -rf ${WRKSRC}/dist
do-install:
${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${JAVAJARDIR}
@${MKDIR} ${XMLDIR}
cd ${WRKSRC}/xml && ${INSTALL_DATA} ${XML_FILES} ${XMLDIR}
@${MKDIR} ${XSLDIR}
cd ${WRKSRC}/xsl && ${INSTALL_DATA} ${XSL_FILES} ${XSLDIR}
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/xml && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKDIR}/pfpro.sh ${PREFIX}/bin/pfpro
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

2
net-mgmt/pfpro/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (pfpro-0.1.1-src.tar.gz) = a47ce78022f89e0ec4cf84433f133b6f
SIZE (pfpro-0.1.1-src.tar.gz) = 58578

View File

@ -0,0 +1,5 @@
#!/bin/sh
#
# $FreeBSD$
JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/pfpro.jar"

View File

@ -0,0 +1,7 @@
UPGRADING CONFIGURATIONS
------------------------
If you are upgrading from an older version of PfPro you may need to update
your configuration files. Stylesheets for this have been installed in
%%XSLDIR%%/pfpro. See %%DOCSDIR%%/RELNOTES for more
information.

4
net-mgmt/pfpro/pkg-descr Normal file
View File

@ -0,0 +1,4 @@
PfPro is a cross-platform GUI fat client for managing configurations
for the PF firewalling system.
WWW: http://pfpro.sourceforge.net/

16
net-mgmt/pfpro/pkg-plist Normal file
View File

@ -0,0 +1,16 @@
bin/pfpro
%%DOCSDIR%%/BUGS
%%DOCSDIR%%/CHANGELOG
%%DOCSDIR%%/HACKING
%%DOCSDIR%%/README
%%DOCSDIR%%/RELNOTES
%%EXAMPLESDIR%%/baseline.xml
%%EXAMPLESDIR%%/workstation.xml
%%JAVAJARDIR%%/pfpro.jar
share/xml/pfpro/firewall.xsd
share/xsl/pfpro/001to010.xsl
share/xsl/pfpro/xml2pf.xsl
@dirrm share/xsl/pfpro
@dirrm share/xml/pfpro
@dirrm %%EXAMPLESDIR%%
@dirrm %%DOCSDIR%%