diff options
author | andreas <andreas@FreeBSD.org> | 1997-03-03 02:26:18 +0800 |
---|---|---|
committer | andreas <andreas@FreeBSD.org> | 1997-03-03 02:26:18 +0800 |
commit | 6ebe6bd60009d4302fe1c8f2897f6437e4074e72 (patch) | |
tree | 02a987e30426b85b412e010f77537f2cc651b980 /www/wwwstat/Makefile | |
parent | 3d46b183de044d9029af508cd1753c72c3a2cd78 (diff) | |
download | freebsd-ports-gnome-6ebe6bd60009d4302fe1c8f2897f6437e4074e72.tar.gz freebsd-ports-gnome-6ebe6bd60009d4302fe1c8f2897f6437e4074e72.tar.zst freebsd-ports-gnome-6ebe6bd60009d4302fe1c8f2897f6437e4074e72.zip |
New port wwwstat.
Nice Web statistic package.
Requires something like apache and perl.
Patched the init files, so that apaches access.log file will be found.
The local domain name has to be configured by hand.
The rc files are located in ${PREFIX}/lib/perl5/site_perl/i386-freebsd:
wwwstat.rc
splitlog.rc
The next commit will be a package, that makes graphical bars from
wwwstat's output ;-)
This would be something for all of our webservers !!! We could see,
which domains access the webservers, traffic analysis and so on !!!
Diffstat (limited to 'www/wwwstat/Makefile')
-rw-r--r-- | www/wwwstat/Makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/www/wwwstat/Makefile b/www/wwwstat/Makefile new file mode 100644 index 000000000000..168e4829d052 --- /dev/null +++ b/www/wwwstat/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: wwwstat +# Version required: 2.01 +# Date created: So 2 Mär 1997 18:10:49 MET +# Whom: Andreas Klemm <andreas@klemm.gtn.com> +# +# $Id$ +# + +DISTNAME= wwwstat-2.01 +CATEGORIES= www +MASTER_SITES= ftp://www.ics.uci.edu/pub/websoft/wwwstat/ +DISTFILES= wwwstat-2.0.tar.gz +DIST_SUBDIR= wwwstat-2.01 + +PATCH_SITES= ${MASTER_SITES} +PATCHFILES= patch-2.01.txt + +MAINTAINER= andreas@FreeBSD.ORG + +RUN_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5 \ + ${PREFIX}/etc/apache/srm.conf:${PORTSDIR}/www/apache + +WRKSRC= ${WRKDIR}/wwwstat-2.0 +MAN1= wwwstat.1 splitlog.1 + +do-install: + @${INSTALL_SCRIPT} ${WRKSRC}/wwwstat ${PREFIX}/bin + @${INSTALL_SCRIPT} ${WRKSRC}/splitlog ${PREFIX}/bin + @${INSTALL_SCRIPT} ${WRKSRC}/monthly ${PREFIX}/bin + @${INSTALL_SCRIPT} ${WRKSRC}/wwwerrs ${PREFIX}/bin + @${INSTALL_SCRIPT} ${WRKSRC}/oldlog2new ${PREFIX}/bin + @${INSTALL_DATA} ${WRKSRC}/wwwstat.rc \ + ${PREFIX}/lib/perl5/site_perl/i386-freebsd + @${INSTALL_DATA} ${WRKSRC}/splitlog.rc \ + ${PREFIX}/lib/perl5/site_perl/i386-freebsd + @${INSTALL_DATA} ${WRKSRC}/domains.pl \ + ${PREFIX}/lib/perl5/site_perl/i386-freebsd + @${INSTALL_MAN} ${WRKSRC}/wwwstat.1 ${PREFIX}/man/man1 + @${INSTALL_MAN} ${WRKSRC}/splitlog.1 ${PREFIX}/man/man1 + @${ECHO_MSG} "Edit the wwwstat.rc and splitlog.rc file ..." + @${ECHO_MSG} "If needed, edit wwwstat and splitlog directly ..." + @${ECHO_MSG} "These files are located in:" + @${ECHO_MSG} " ${PREFIX}/lib/perl5/site_perl/i386-freebsd" + +.include <bsd.port.mk> |