diff options
author | clsung <clsung@FreeBSD.org> | 2006-05-10 10:37:49 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2006-05-10 10:37:49 +0800 |
commit | 9f77f8a0eeeb82de02998d4b773159a77c119481 (patch) | |
tree | 81048e02f4978e4f5c8e456b1e6527047cd278b5 | |
parent | 0c8480f6edf06887b5d8091c9d8bafecf6e5391e (diff) | |
download | freebsd-ports-gnome-9f77f8a0eeeb82de02998d4b773159a77c119481.tar.gz freebsd-ports-gnome-9f77f8a0eeeb82de02998d4b773159a77c119481.tar.zst freebsd-ports-gnome-9f77f8a0eeeb82de02998d4b773159a77c119481.zip |
- pflogx is a simple tool to export OpenBSD's
packet filter logs to XML files.
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-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 |
5 files changed, 69 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 226f4bd4fd58..a79750177f25 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -412,6 +412,7 @@ SUBDIR += perf SUBDIR += personality SUBDIR += pessulus + SUBDIR += pflogx SUBDIR += pfstat SUBDIR += pftop SUBDIR += phantom 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%% |