Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Sep 2005 20:45:57 -0400 (EDT)
From:      Adam VanderHook <acidos@bandwidth-junkies.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/86743: New port: net-mgmt/pfpro GUI fat client for PF
Message-ID:  <200509300045.j8U0jvmd072094@regen.bandwidth-junkies.net>
Resent-Message-ID: <200509300050.j8U0oHOr033713@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         86743
>Category:       ports
>Synopsis:       New port: net-mgmt/pfpro GUI fat client for PF
>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:   Fri Sep 30 00:50:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Adam VanderHook
>Release:        FreeBSD 5.4-RELEASE-p1 i386
>Organization:
Bandwidth Junkies
>Environment:
System: FreeBSD regen.bandwidth-junkies.net 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #5: Fri May 27 23:26:27 EDT 2005 acidos@regen.bandwidth-junkies.net:/usr/obj/usr/src/sys/REGEN i386

>Description:
PfPro is a cross-platform GUI fat client for managing configurations
for the PF firewalling system.

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	pfpro
#	pfpro/files
#	pfpro/files/pfpro.sh
#	pfpro/Makefile
#	pfpro/distinfo
#	pfpro/pkg-descr
#	pfpro/pkg-message
#	pfpro/pkg-plist
#
echo c - pfpro
mkdir -p pfpro > /dev/null 2>&1
echo c - pfpro/files
mkdir -p pfpro/files > /dev/null 2>&1
echo x - pfpro/files/pfpro.sh
sed 's/^X//' >pfpro/files/pfpro.sh << 'END-of-pfpro/files/pfpro.sh'
X#!/bin/sh
X
X%%JAVA%% -jar %%JAVAJARDIR%%/pfpro.jar
END-of-pfpro/files/pfpro.sh
echo x - pfpro/Makefile
sed 's/^X//' >pfpro/Makefile << 'END-of-pfpro/Makefile'
X# Ports collection makefile for:    Castor
X# Date created:         2005/05/12
X# Whom:                 Adam VanderHook <acidos@bandwidth-junkies.net>
X#
X# $FreeBSD: ports/java/castor/Makefile,v 1.3 2005/09/22 14:23:57 hq Exp $
X#
X
XPORTNAME=		pfpro
XPORTVERSION=	0.1.1
XCATEGORIES=		net-mgmt java
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	pfpro
XDISTNAME=		${PORTNAME}-${PORTVERSION}-src
X
XMAINTAINER=		acidos@bandwidth-junkies.net
XCOMMENT=		Cross-platform GUI fat client for PF
X
XBUILD_DEPENDS=	${JAVALIBDIR}/castor.jar:${PORTSDIR}/java/castor \
X				${JAVALIBDIR}/jakarta-oro.jar:${PORTSDIR}/java/jakarta-oro \
X				${JAVALIBDIR}/xalan.jar:${PORTSDIR}/textproc/xalan-j
X
XUSE_JAVA=		yes
XJAVA_VERSION=	1.4+
XUSE_ANT=		yes
XUSE_JIKES=		no
X
XWRKSRC=			${WRKDIR}/${DISTNAME}
XBUILD_WRKSRC=	${WRKSRC}
X
XXMLDIR=		${PREFIX}/share/xml/${PORTNAME}
XXML_FILES=	firewall.xsd
X
XXSLDIR=		${PREFIX}/share/xsl/${PORTNAME}
XXSL_FILES=	xml2pf.xsl 001to010.xsl
X
XJARFILE=	${PORTNAME}.jar
X
XDOCS=		BUGS CHANGELOG HACKING README RELNOTES
XEXAMPLES=	baseline.xml workstation.xml
X
Xpost-extract:
X	@${RM} -rf ${WRKSRC}/dist
X
Xdo-install:
X	${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${JAVAJARDIR}
X
X	@${MKDIR} ${XMLDIR}
X	cd ${WRKSRC}/xml && ${INSTALL_DATA} ${XML_FILES} ${XMLDIR}
X	@${MKDIR} ${XSLDIR}
X	cd ${WRKSRC}/xsl && ${INSTALL_DATA} ${XSL_FILES} ${XSLDIR}
X	@${MKDIR} ${DOCSDIR}
X	cd ${WRKSRC}/doc && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
X	@${MKDIR} ${EXAMPLESDIR}
X	cd ${WRKSRC}/xml && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
X
X	@${SED} \
X	  -e "s+%%JAVA%%+${JAVA}+g" \
X	  -e "s+%%JAVAJARDIR%%+${JAVAJARDIR}+g" \
X	${FILESDIR}/pfpro.sh > ${WRKSRC}/pfpro.sh.tmp
X	${INSTALL_SCRIPT} ${WRKSRC}/pfpro.sh.tmp ${PREFIX}/bin/pfpro
X
Xpost-install:
X	@${CAT} pkg-message
X
X.include <bsd.port.mk>
END-of-pfpro/Makefile
echo x - pfpro/distinfo
sed 's/^X//' >pfpro/distinfo << 'END-of-pfpro/distinfo'
XMD5 (pfpro-0.1.1-src.tar.gz) = a47ce78022f89e0ec4cf84433f133b6f
XSIZE (pfpro-0.1.1-src.tar.gz) = 58578
END-of-pfpro/distinfo
echo x - pfpro/pkg-descr
sed 's/^X//' >pfpro/pkg-descr << 'END-of-pfpro/pkg-descr'
XPfPro is a cross-platform GUI fat client for managing configurations
Xfor the PF firewalling system.
X
XWWW: http://pfpro.sourceforge.net/
END-of-pfpro/pkg-descr
echo x - pfpro/pkg-message
sed 's/^X//' >pfpro/pkg-message << 'END-of-pfpro/pkg-message'
X
XUPGRADING CONFIGURATIONS
X------------------------
XIf you are upgrading from an older version of PfPro you may need to update
Xyour configuration files.  Stylesheets for this have been installed in
X/usr/local/share/xsl/pfpro.  See /usr/local/share/doc/pfpro/RELNOTES for more
Xinformation.
END-of-pfpro/pkg-message
echo x - pfpro/pkg-plist
sed 's/^X//' >pfpro/pkg-plist << 'END-of-pfpro/pkg-plist'
Xbin/pfpro
X%%DOCSDIR%%/BUGS
X%%DOCSDIR%%/CHANGELOG
X%%DOCSDIR%%/HACKING
X%%DOCSDIR%%/README
X%%DOCSDIR%%/RELNOTES
Xshare/examples/pfpro/baseline.xml
Xshare/examples/pfpro/workstation.xml
Xshare/java/classes/pfpro.jar
Xshare/xml/pfpro/firewall.xsd
Xshare/xsl/pfpro/001to010.xsl
Xshare/xsl/pfpro/xml2pf.xsl
X@dirrm share/xsl/pfpro
X@dirrm share/xml/pfpro
X@dirrm share/examples/pfpro
X@dirrm %%DOCSDIR%%
END-of-pfpro/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509300045.j8U0jvmd072094>