From 765eda2e11f962dc1cdccf1eb09ef81dc872a6b9 Mon Sep 17 00:00:00 2001 From: "James E. Housley" Date: Fri, 11 May 2001 19:41:19 +0000 Subject: [PATCH] New port: www/mgstat -- Create stats for mod_gzip log files --- www/Makefile | 1 + www/mgstat/Makefile | 30 ++++++++++++++++++++++++++++++ www/mgstat/distinfo | 1 + www/mgstat/files/patch-aa | 11 +++++++++++ www/mgstat/pkg-comment | 1 + www/mgstat/pkg-descr | 14 ++++++++++++++ www/mgstat/pkg-plist | 5 +++++ 7 files changed, 63 insertions(+) create mode 100644 www/mgstat/Makefile create mode 100644 www/mgstat/distinfo create mode 100644 www/mgstat/files/patch-aa create mode 100644 www/mgstat/pkg-comment create mode 100644 www/mgstat/pkg-descr create mode 100644 www/mgstat/pkg-plist diff --git a/www/Makefile b/www/Makefile index 0b24b23c8845..c0f6ffaffea9 100644 --- a/www/Makefile +++ b/www/Makefile @@ -108,6 +108,7 @@ SUBDIR += mapedit SUBDIR += marc-search SUBDIR += mathopd + SUBDIR += mgstat SUBDIR += mhonarc SUBDIR += mmosaic SUBDIR += mnoGoSearch-current diff --git a/www/mgstat/Makefile b/www/mgstat/Makefile new file mode 100644 index 000000000000..8722216ebb0d --- /dev/null +++ b/www/mgstat/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: mgstat +# Date created: 11 May 2001 +# Whom: jeh@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= mgstat +PORTVERSION= 0.4.1 +CATEGORIES= www +MASTER_SITES= http://wizard.ae.krakow.pl/~mike/download/ + +MAINTAINER= jeh@FreeBSD.org + +LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd + +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --exec-prefix=${PREFIX} + +MGDOCDIR= ${PREFIX}/share/doc/mgstat + +post-install: +.if !defined(NOPORTDOCS) + @if ! [ -d ${MGDOCDIR} ]; then ${MKDIR} ${MGDOCDIR}; fi + ${INSTALL_DATA} ${WRKSRC}/Copyright ${MGDOCDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${MGDOCDIR} + ${INSTALL_DATA} ${WRKSRC}/USAGE ${MGDOCDIR} +.endif + +.include diff --git a/www/mgstat/distinfo b/www/mgstat/distinfo new file mode 100644 index 000000000000..8c8b4127d595 --- /dev/null +++ b/www/mgstat/distinfo @@ -0,0 +1 @@ +MD5 (mgstat-0.4.1.tar.gz) = 0e03de78dd8ad7594523b9427f889c9e diff --git a/www/mgstat/files/patch-aa b/www/mgstat/files/patch-aa new file mode 100644 index 000000000000..cdcf256ec183 --- /dev/null +++ b/www/mgstat/files/patch-aa @@ -0,0 +1,11 @@ +--- Makefile.in.orig Fri May 11 15:21:02 2001 ++++ Makefile.in Sun Apr 1 20:56:31 2001 +@@ -19,7 +19,7 @@ + prefix = @prefix@ + exec_prefix = @exec_prefix@ + +-bindir = /usr/bin ++bindir = @bindir@ + sbindir = @sbindir@ + libexecdir = @libexecdir@ + datadir = @datadir@ diff --git a/www/mgstat/pkg-comment b/www/mgstat/pkg-comment new file mode 100644 index 000000000000..e82793e8bd7e --- /dev/null +++ b/www/mgstat/pkg-comment @@ -0,0 +1 @@ +Produce graphs from mod_gzip log files diff --git a/www/mgstat/pkg-descr b/www/mgstat/pkg-descr new file mode 100644 index 000000000000..967b2d49206f --- /dev/null +++ b/www/mgstat/pkg-descr @@ -0,0 +1,14 @@ +Mgstat produces html reports for years, months and days (with png or +gif charts generated with GD library) that shows you how many bytes you +saved by using this excellent free Apache module. It produces history +files so you can rotate your logs without losing previous statistics. +You can also run mgstat on the same log file and statistics won't be +doubled because program will start from the place where previous +processing ended. You can also run mgstat on totally unsorted (date order) +log file (that were produced for example by merging various log files); +program will run a little bit slower but will produce correct reports. + +WWW: http://wizard.ae.krakow.pl/~mike/mgstat/ + +- Jim +jim@thehousleys.net diff --git a/www/mgstat/pkg-plist b/www/mgstat/pkg-plist new file mode 100644 index 000000000000..91faee1a2896 --- /dev/null +++ b/www/mgstat/pkg-plist @@ -0,0 +1,5 @@ +bin/mgstat +%%PORTDOCS%%share/doc/mgstat/Copyright +%%PORTDOCS%%share/doc/mgstat/README +%%PORTDOCS%%share/doc/mgstat/USAGE +%%PORTDOCS%%@dirrm share/doc/mgstat