aboutsummaryrefslogtreecommitdiff
path: root/www/py-apachelog
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-03-12 09:51:24 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-03-12 09:51:24 +0000
commit4666c8549398bf6d720500114ea6d8ecd62e201d (patch)
tree5df9a3e520ac886a8a351ead4bb681a67888f730 /www/py-apachelog
parentb38bce34b1d8b3d8dbe3cfc935855aa56bb63810 (diff)
downloadports-4666c8549398bf6d720500114ea6d8ecd62e201d.tar.gz
ports-4666c8549398bf6d720500114ea6d8ecd62e201d.zip
Notes
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%%