aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-apachelog
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-03-12 17:51:24 +0800
committermiwi <miwi@FreeBSD.org>2007-03-12 17:51:24 +0800
commitb55d61b192158310243b2336cb6878e99d3723db (patch)
treede70e0f42f37abad3289e9549378abd297b1d033 /www/py-apachelog
parente09c1729cd90253777731965eac4b18d821c1b1e (diff)
downloadfreebsd-ports-gnome-b55d61b192158310243b2336cb6878e99d3723db.tar.gz
freebsd-ports-gnome-b55d61b192158310243b2336cb6878e99d3723db.tar.zst
freebsd-ports-gnome-b55d61b192158310243b2336cb6878e99d3723db.zip
Parser for extracting fields from a single line of an Apache access.lo
g (should work for other servers conforming to the Common Log Format). Create the parser with the log format from your server .conf file, parse lines to get dict corresponding to fields defined in the log format. WWW: http://code.google.com/p/apachelog/
Diffstat (limited to 'www/py-apachelog')
-rw-r--r--www/py-apachelog/Makefile20
-rw-r--r--www/py-apachelog/distinfo3
-rw-r--r--www/py-apachelog/pkg-descr7
-rw-r--r--www/py-apachelog/pkg-plist5
4 files changed, 35 insertions, 0 deletions
diff --git a/www/py-apachelog/Makefile b/www/py-apachelog/Makefile
new file mode 100644
index 000000000000..c96470121602
--- /dev/null
+++ b/www/py-apachelog/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: py-apachelog
+# Date created: 12 mar 2007
+# Whom: Martin Wilke <miwi@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= apachelog
+PORTVERSION= 1.0
+CATEGORIES= www
+MASTER_SITES= http://apachelog.googlecode.com/files/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= miwi@FreeBSD.org
+COMMENT= Python access log parser.
+
+USE_PYTHON= yes
+USE_PYDISTUTILS=yes
+
+.include <bsd.port.mk>
diff --git a/www/py-apachelog/distinfo b/www/py-apachelog/distinfo
new file mode 100644
index 000000000000..0a57818b3b53
--- /dev/null
+++ b/www/py-apachelog/distinfo
@@ -0,0 +1,3 @@
+MD5 (apachelog-1.0.tar.gz) = ac9daa09cd8ef8e6de2ca915482b1f40
+SHA256 (apachelog-1.0.tar.gz) = 486731259add8c9d950e4a40f73d61ddb2805bedbdaa26abb20f9111f63c3ec6
+SIZE (apachelog-1.0.tar.gz) = 5121
diff --git a/www/py-apachelog/pkg-descr b/www/py-apachelog/pkg-descr
new file mode 100644
index 000000000000..414a3a171e35
--- /dev/null
+++ b/www/py-apachelog/pkg-descr
@@ -0,0 +1,7 @@
+Parser for extracting fields from a single line of an Apache access.lo
+g (should work for other servers conforming to the Common Log Format).
+
+Create the parser with the log format from your server .conf file,
+parse lines to get dict corresponding to fields defined in the log format.
+
+WWW: http://code.google.com/p/apachelog/
diff --git a/www/py-apachelog/pkg-plist b/www/py-apachelog/pkg-plist
new file mode 100644
index 000000000000..82933ad6bf8a
--- /dev/null
+++ b/www/py-apachelog/pkg-plist
@@ -0,0 +1,5 @@
+%%PYTHON_SITELIBDIR%%/apachelog.py
+%%PYTHON_SITELIBDIR%%/apachelog.pyc
+%%PYTHON_SITELIBDIR%%/apachelog.pyo
+@dirrm %%PYTHON_SITELIBDIR%%
+@dirrm %%PYTHON_LIBDIR%%