diff options
author | miwi <miwi@FreeBSD.org> | 2008-11-22 04:35:50 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-11-22 04:35:50 +0800 |
commit | 54dd950f6c159bca19ceee50a1b4176649b18196 (patch) | |
tree | 9e6648975cdac6a23103c99d57bf98594430e656 | |
parent | 26494cb543cc5782e35a357aeaa6ef1b05fbe04c (diff) | |
download | freebsd-ports-gnome-54dd950f6c159bca19ceee50a1b4176649b18196.tar.gz freebsd-ports-gnome-54dd950f6c159bca19ceee50a1b4176649b18196.tar.zst freebsd-ports-gnome-54dd950f6c159bca19ceee50a1b4176649b18196.zip |
asql is a simple console shell which allows you to run SQL queries
against an Apache logfile, something that can be very useful -
especially at getting information which is not easily available via
static logfile analysers.
WWW: http://www.steve.org.uk/Software/asql/
PR: ports/128110
Submitted by: Gea-Suan Lin <gslin at gslin.org>
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/asql/Makefile | 24 | ||||
-rw-r--r-- | www/asql/distinfo | 3 | ||||
-rw-r--r-- | www/asql/files/patch-Makefile | 14 | ||||
-rw-r--r-- | www/asql/pkg-descr | 6 |
5 files changed, 48 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 64ec1eff7bc2..252629940a9f 100644 --- a/www/Makefile +++ b/www/Makefile @@ -34,6 +34,7 @@ SUBDIR += arora SUBDIR += ashe SUBDIR += asp2php + SUBDIR += asql SUBDIR += asterisk-fop SUBDIR += asterisk-gui SUBDIR += asterisk-stat diff --git a/www/asql/Makefile b/www/asql/Makefile new file mode 100644 index 000000000000..2d4703998658 --- /dev/null +++ b/www/asql/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: asql +# Date created: 2008-10-15 +# Whom: Gea-Suan Lin <gslin@gslin.org> +# +# $FreeBSD$ +# + +PORTNAME= asql +PORTVERSION= 0.9 +CATEGORIES= www +MASTER_SITES= http://www.steve.org.uk/Software/asql/ + +MAINTAINER= gslin@gslin.org +COMMENT= Query Apache logfiles via SQL + +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBD/SQLite.pm:${PORTSDIR}/databases/p5-DBD-SQLite \ + ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ + ${SITE_PERL}/Term/ReadLine/Perl.pm:${PORTSDIR}/devel/p5-ReadLine-Perl + +NO_BUILD= yes +PLIST_FILES= bin/asql +USE_PERL5= yes + +.include <bsd.port.mk> diff --git a/www/asql/distinfo b/www/asql/distinfo new file mode 100644 index 000000000000..1c4787f5a002 --- /dev/null +++ b/www/asql/distinfo @@ -0,0 +1,3 @@ +MD5 (asql-0.9.tar.gz) = fe709edc40618848862b61a10d0c1e9c +SHA256 (asql-0.9.tar.gz) = 1cbc64c7d9431c06402e5c2c15b53d315f876ff53bc5a3ac99b16eaac68b5572 +SIZE (asql-0.9.tar.gz) = 12777 diff --git a/www/asql/files/patch-Makefile b/www/asql/files/patch-Makefile new file mode 100644 index 000000000000..b92a13041770 --- /dev/null +++ b/www/asql/files/patch-Makefile @@ -0,0 +1,14 @@ +--- Makefile.orig 2008-10-15 09:37:42.000000000 +0800 ++++ Makefile 2008-10-15 09:38:00.000000000 +0800 +@@ -40,9 +40,8 @@ + hg diff 2>/dev/null + + install: +- mkdir -p ${PREFIX}/usr/bin/ +- cp bin/asql ${PREFIX}/usr/bin/asql +- chmod 755 ${PREFIX}/usr/bin/asql ++ cp bin/asql ${PREFIX}/bin/asql ++ chmod 755 ${PREFIX}/bin/asql + + + release: clean commands diff --git a/www/asql/pkg-descr b/www/asql/pkg-descr new file mode 100644 index 000000000000..31583432dd4e --- /dev/null +++ b/www/asql/pkg-descr @@ -0,0 +1,6 @@ +asql is a simple console shell which allows you to run SQL queries +against an Apache logfile, something that can be very useful - +especially at getting information which is not easily available via +static logfile analysers. + +WWW: http://www.steve.org.uk/Software/asql/ |