Index: head/www/wwwstat/Makefile =================================================================== --- head/www/wwwstat/Makefile (revision 351336) +++ head/www/wwwstat/Makefile (revision 351337) @@ -1,41 +1,35 @@ # $FreeBSD$ PORTNAME= wwwstat PORTVERSION= 2.01 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= www MASTER_SITES= ftp://ftp.ics.uci.edu/pub/websoft/wwwstat/ \ ftp://ftp.gwdg.de/pub/misc/www-stat/websoft/wwwstat/ DISTNAME= ${PORTNAME}-2.0 PATCH_SITES= ${MASTER_SITES} PATCHFILES= patch-2.01.txt MAINTAINER= ports@FreeBSD.org COMMENT= Webserver logfile analysis package +LICENSE= ART10 USE_APACHE_RUN= 22+ USES= perl5 -MAKE_ENV+= PERL5=${PERL5} +MAKE_ENV+= PERL=${PERL} +SUB_FILES= pkg-message +SUB_LIST= SITE_PERL=${SITE_PERL} -MAN1= wwwstat.1 splitlog.1 +BIN_FILES= monthly oldlog2new splitlog wwwerrs wwwstat +SPERL_FILES= domains.pl splitlog.rc wwwstat.rc +MAN1_FILES= wwwstat.1 splitlog.1 -NO_STAGE= yes 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_MAN} ${WRKSRC}/wwwstat.1 ${PREFIX}/man/man1 - @${INSTALL_MAN} ${WRKSRC}/splitlog.1 ${PREFIX}/man/man1 - @${INSTALL_DATA} ${WRKSRC}/wwwstat.rc ${SITE_PERL} - @${INSTALL_DATA} ${WRKSRC}/splitlog.rc ${SITE_PERL} - @${INSTALL_DATA} ${WRKSRC}/domains.pl ${SITE_PERL} - @${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} " ${SITE_PERL}" + @${INSTALL_SCRIPT} ${BIN_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${SITE_PERL} + @${INSTALL_DATA} ${SPERL_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${SITE_PERL} + @${INSTALL_MAN} ${MAN1_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/man/man1 .include Index: head/www/wwwstat/files/patch-aa =================================================================== --- head/www/wwwstat/files/patch-aa (revision 351336) +++ head/www/wwwstat/files/patch-aa (nonexistent) @@ -1,10 +0,0 @@ ---- wwwstat.rc.orig Sun Mar 2 18:49:48 1997 -+++ wwwstat.rc Sun Mar 2 18:52:17 1997 -@@ -93,6 +93,7 @@ - # Specify the default location of your access log - # - ## $DefaultLog = '/usr/local/etc/httpd/logs/access_log'; -+$DefaultLog = '/var/log/httpd-access.log'; - # - # Specify the command for displaying compressed files to STDOUT - # Property changes on: head/www/wwwstat/files/patch-aa ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/www/wwwstat/files/patch-ab =================================================================== --- head/www/wwwstat/files/patch-ab (revision 351336) +++ head/www/wwwstat/files/patch-ab (nonexistent) @@ -1,15 +0,0 @@ ---- splitlog.rc.orig Sun Mar 2 18:50:00 1997 -+++ splitlog.rc Sun Mar 2 18:51:21 1997 -@@ -41,10 +41,12 @@ - # Specify the default location of your access log - # - ## $DefaultLog = '/usr/local/etc/httpd/logs/access_log'; -+$DefaultLog = '/var/log/httpd-access.log'; - # - # Specify the default destination directory for the split logfiles - # - ## $DestDir = ''; # current directory -+$DestDir = '/tmp'; # current directory - # - # Specify the filename (no .ext) for non-matching, non-split log entries - # Property changes on: head/www/wwwstat/files/patch-ab ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/www/wwwstat/files/patch-ac =================================================================== --- head/www/wwwstat/files/patch-ac (revision 351336) +++ head/www/wwwstat/files/patch-ac (nonexistent) @@ -1,11 +0,0 @@ ---- Makefile.orig Mon Mar 22 18:42:40 1999 -+++ Makefile Mon Mar 22 18:42:48 1999 -@@ -8,7 +8,7 @@ - # You need to change the following line to the full pathname - # of your perl interpreter - --PERLBIN = /usr/local/bin/perl -+PERLBIN = $(PERL5) - - # and here are a some commands that may be system-dependent - Property changes on: head/www/wwwstat/files/patch-ac ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/www/wwwstat/files/patch-Makefile =================================================================== --- head/www/wwwstat/files/patch-Makefile (nonexistent) +++ head/www/wwwstat/files/patch-Makefile (revision 351337) @@ -0,0 +1,11 @@ +--- Makefile.orig Mon Mar 22 18:42:40 1999 ++++ Makefile Mon Mar 22 18:42:48 1999 +@@ -8,7 +8,7 @@ + # You need to change the following line to the full pathname + # of your perl interpreter + +-PERLBIN = /usr/local/bin/perl ++PERLBIN = $(PERL) + + # and here are a some commands that may be system-dependent + Property changes on: head/www/wwwstat/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/www/wwwstat/files/patch-splitlog.rc =================================================================== --- head/www/wwwstat/files/patch-splitlog.rc (nonexistent) +++ head/www/wwwstat/files/patch-splitlog.rc (revision 351337) @@ -0,0 +1,15 @@ +--- splitlog.rc.orig Sun Mar 2 18:50:00 1997 ++++ splitlog.rc Sun Mar 2 18:51:21 1997 +@@ -41,10 +41,12 @@ + # Specify the default location of your access log + # + ## $DefaultLog = '/usr/local/etc/httpd/logs/access_log'; ++$DefaultLog = '/var/log/httpd-access.log'; + # + # Specify the default destination directory for the split logfiles + # + ## $DestDir = ''; # current directory ++$DestDir = '/tmp'; # current directory + # + # Specify the filename (no .ext) for non-matching, non-split log entries + # Property changes on: head/www/wwwstat/files/patch-splitlog.rc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/www/wwwstat/files/patch-wwwstat.rc =================================================================== --- head/www/wwwstat/files/patch-wwwstat.rc (nonexistent) +++ head/www/wwwstat/files/patch-wwwstat.rc (revision 351337) @@ -0,0 +1,10 @@ +--- wwwstat.rc.orig Sun Mar 2 18:49:48 1997 ++++ wwwstat.rc Sun Mar 2 18:52:17 1997 +@@ -93,6 +93,7 @@ + # Specify the default location of your access log + # + ## $DefaultLog = '/usr/local/etc/httpd/logs/access_log'; ++$DefaultLog = '/var/log/httpd-access.log'; + # + # Specify the command for displaying compressed files to STDOUT + # Property changes on: head/www/wwwstat/files/patch-wwwstat.rc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/www/wwwstat/pkg-plist =================================================================== --- head/www/wwwstat/pkg-plist (revision 351336) +++ head/www/wwwstat/pkg-plist (revision 351337) @@ -1,8 +1,10 @@ bin/monthly bin/oldlog2new bin/splitlog bin/wwwerrs bin/wwwstat %%SITE_PERL%%/domains.pl %%SITE_PERL%%/splitlog.rc %%SITE_PERL%%/wwwstat.rc +man/man1/splitlog.1.gz +man/man1/wwwstat.1.gz