diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-05-10 02:37:49 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-05-10 02:37:49 +0000 |
commit | 5208c2675008efb521d2bea5e145ced1c1d5d3f6 (patch) | |
tree | 0a9fb3eb1a0de96be22778b482cc08057d8ed700 /sysutils/pflogx | |
parent | 5156c369f029f78aeaf8494e222246b279b7e716 (diff) |
Notes
Diffstat (limited to 'sysutils/pflogx')
-rw-r--r-- | sysutils/pflogx/Makefile | 46 | ||||
-rw-r--r-- | sysutils/pflogx/distinfo | 3 | ||||
-rw-r--r-- | sysutils/pflogx/pkg-descr | 8 | ||||
-rw-r--r-- | sysutils/pflogx/pkg-plist | 11 |
4 files changed, 68 insertions, 0 deletions
diff --git a/sysutils/pflogx/Makefile b/sysutils/pflogx/Makefile new file mode 100644 index 000000000000..9a028f930c38 --- /dev/null +++ b/sysutils/pflogx/Makefile @@ -0,0 +1,46 @@ +# ex:ts=8 +# New ports collection makefile for: pflogx +# Date created: May 10 2006 +# Whom: clsung +# +# $FreeBSD$ +# + +PORTNAME= pflogx +PORTVERSION= 0.86 +CATEGORIES= sysutils +MASTER_SITES= http://akldev.free.fr/pflogx/releases/ +DISTNAME= ${PORTNAME}_${PORTVERSION:S/.//} + +MAINTAINER= clsung@FreeBSD.org +COMMENT= Simple tool to export pf (packet filter) logs to XML files + +WRKSRC= ${WRKDIR}/${PORTNAME} + +OPTIONS= EXPAT "Ability to merge new events (require expat) " Off + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 600000 +IGNORE= only for 6.0 and above +.endif + +.if defined(WITH_EXPAT) +LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2 +MAKE_ARGS+= -DWITH_EXPAT \ + EXPAT_INCLUDEDIR=${LOCALBASE}/include \ + EXPAT_LIBDIR=${LOCALBASE}/lib +.endif + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/pflogx ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR} + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/dtd/* ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/xsl/* ${EXAMPLESDIR} +.endif + +.include <bsd.port.post.mk> diff --git a/sysutils/pflogx/distinfo b/sysutils/pflogx/distinfo new file mode 100644 index 000000000000..b5ea12eb5c7c --- /dev/null +++ b/sysutils/pflogx/distinfo @@ -0,0 +1,3 @@ +MD5 (pflogx_086.tar.gz) = 987b06e73650d540d0d094a83b90e2e1 +SHA256 (pflogx_086.tar.gz) = aac8dac14dc4cef6c02714051beaf0ac443fc8b3797c154a2b0ceb3edc97c578 +SIZE (pflogx_086.tar.gz) = 22369 diff --git a/sysutils/pflogx/pkg-descr b/sysutils/pflogx/pkg-descr new file mode 100644 index 000000000000..ce4c7cec4abc --- /dev/null +++ b/sysutils/pflogx/pkg-descr @@ -0,0 +1,8 @@ +pflogx is a simple tool to export OpenBSD's packet filter logs to XML files. +It reads a binary logfile generated by the pf logging daemon (pflogd) to +generate a human-readable and exploitable XML file. + +Using an XSLT processor you can convert this XML file to any other +format (HTML, CSV, SQL, ...). + +WWW: http://akldev.free.fr/pflogx/ diff --git a/sysutils/pflogx/pkg-plist b/sysutils/pflogx/pkg-plist new file mode 100644 index 000000000000..d87129444fc8 --- /dev/null +++ b/sysutils/pflogx/pkg-plist @@ -0,0 +1,11 @@ +bin/pflogx +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/LICENSE +%%PORTDOCS%%%%EXAMPLESDIR%%/export.dtd +%%PORTDOCS%%%%EXAMPLESDIR%%/export_csv.xsl +%%PORTDOCS%%%%EXAMPLESDIR%%/export_html.xsl +%%PORTDOCS%%%%EXAMPLESDIR%%/export_xhtml.xsl +%%PORTDOCS%%%%EXAMPLESDIR%%/first_date.xsl +%%PORTDOCS%%%%EXAMPLESDIR%%/last_date.xsl +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% |