View | Details | Raw Unified | Return to bug 210821
Collapse All | Expand All

(-)Makefile (-5 / +2 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	awstats
4
PORTNAME=	awstats
5
PORTVERSION=	7.4
5
PORTVERSION=	7.5
6
PORTEPOCH=	1
6
PORTEPOCH=	1
7
CATEGORIES=	www
7
CATEGORIES=	www
8
MASTER_SITES=	SF/${PORTNAME}/AWStats/${PORTVERSION}
8
MASTER_SITES=	SF/${PORTNAME}/AWStats/${PORTVERSION}
Lines 21-26 Link Here
21
SHEBANG_FILES=	tools/*.pl wwwroot/cgi-bin/*.pl wwwroot/cgi-bin/plugins/*.pm
21
SHEBANG_FILES=	tools/*.pl wwwroot/cgi-bin/*.pl wwwroot/cgi-bin/plugins/*.pm
22
22
23
NO_BUILD=	yes
23
NO_BUILD=	yes
24
NO_ARCH=	yes
24
USE_PERL5=	run
25
USE_PERL5=	run
25
DOS2UNIX_GLOB=	tools/*.pl \
26
DOS2UNIX_GLOB=	tools/*.pl \
26
		wwwroot/cgi-bin/awstats.model.conf \
27
		wwwroot/cgi-bin/awstats.model.conf \
Lines 84-93 Link Here
84
	(cd ${WRKSRC}/wwwroot/icon && ${COPYTREE_SHARE} "browser clock cpu \
85
	(cd ${WRKSRC}/wwwroot/icon && ${COPYTREE_SHARE} "browser clock cpu \
85
		flags mime os other" ${STAGEDIR}${WWWDIR}/icons)
86
		flags mime os other" ${STAGEDIR}${WWWDIR}/icons)
86
87
87
	@${ECHO_CMD} ""
88
	@${ECHO_CMD} "* Use ${WWWDIR}/tools/awstats_configure.pl to setup your hosts."
89
	@${ECHO_CMD} ""
90
91
do-install-DOCS-on:
88
do-install-DOCS-on:
92
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
89
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
93
	(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} images ${STAGEDIR}${DOCSDIR})
90
	(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} images ${STAGEDIR}${DOCSDIR})
(-)distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (awstats-7.4.tar.gz) = 43abfe7341c2be64f55bb89557347475640ca7ba4473ff30412a3d44358dab55
1
TIMESTAMP = 1467647076
2
SIZE (awstats-7.4.tar.gz) = 2936102
2
SHA256 (awstats-7.5.tar.gz) = 83c34bdeab9c277c14bea348c2d320f4a1e808388264139821c6bd6dfd1394f8
3
SIZE (awstats-7.5.tar.gz) = 2936644
(-)files/patch-wwwroot_cgi-bin_awstats.pl (-21 lines)
Lines 1-21 Link Here
1
--- wwwroot/cgi-bin/awstats.pl.orig	2015-06-18 14:35:12 UTC
2
+++ wwwroot/cgi-bin/awstats.pl
3
@@ -8983,12 +8983,12 @@ sub DefinePerlParsingFormat {
4
 		$LogFormatString =~ s/%>s/%code/g;
5
 		$LogFormatString =~ s/%b(\s)/%bytesd$1/g;
6
 		$LogFormatString =~ s/%b$/%bytesd/g;
7
-		$LogFormatString =~ s/\"%{Referer}i\"/%refererquot/g;
8
-		$LogFormatString =~ s/\"%{User-Agent}i\"/%uaquot/g;
9
-		$LogFormatString =~ s/%{mod_gzip_input_size}n/%gzipin/g;
10
-		$LogFormatString =~ s/%{mod_gzip_output_size}n/%gzipout/g;
11
-		$LogFormatString =~ s/%{mod_gzip_compression_ratio}n/%gzipratio/g;
12
-		$LogFormatString =~ s/\(%{ratio}n\)/%deflateratio/g;
13
+		$LogFormatString =~ s/\"%\{Referer\}i\"/%refererquot/g;
14
+		$LogFormatString =~ s/\"%\{User-Agent\}i\"/%uaquot/g;
15
+		$LogFormatString =~ s/%\{mod_gzip_input_size\}n/%gzipin/g;
16
+		$LogFormatString =~ s/%\{mod_gzip_output_size\}n/%gzipout/g;
17
+		$LogFormatString =~ s/%\{mod_gzip_compression_ratio\}n/%gzipratio/g;
18
+		$LogFormatString =~ s/\(%\{ratio\}n\)/%deflateratio/g;
19
 
20
 		# Replacement for a IIS and ISA format string
21
 		$LogFormatString =~ s/cs-uri-query/%query/g;    # Must be before cs-uri
(-)files/pkg-message.in (+4 lines)
Lines 1-4 Link Here
1
*****************************************************************
1
*****************************************************************
2
3
Use %%PREFIX%%/www/awstats/tools/awstats_configure.pl to set up your
4
hosts.
5
2
Please add the following to your apache config, and restart.
6
Please add the following to your apache config, and restart.
3
7
4
#
8
#
(-)pkg-plist (+2 lines)
Lines 215-220 Link Here
215
%%WWWDIR%%/icons/browser/dillo.png
215
%%WWWDIR%%/icons/browser/dillo.png
216
%%WWWDIR%%/icons/browser/dreamcast.png
216
%%WWWDIR%%/icons/browser/dreamcast.png
217
%%WWWDIR%%/icons/browser/ecatch.png
217
%%WWWDIR%%/icons/browser/ecatch.png
218
%%WWWDIR%%/icons/browser/edge.png
218
%%WWWDIR%%/icons/browser/encompass.png
219
%%WWWDIR%%/icons/browser/encompass.png
219
%%WWWDIR%%/icons/browser/epiphany.png
220
%%WWWDIR%%/icons/browser/epiphany.png
220
%%WWWDIR%%/icons/browser/ericsson.png
221
%%WWWDIR%%/icons/browser/ericsson.png
Lines 618-623 Link Here
618
%%WWWDIR%%/icons/mime/notavailable.png
619
%%WWWDIR%%/icons/mime/notavailable.png
619
%%WWWDIR%%/icons/mime/ooffice.png
620
%%WWWDIR%%/icons/mime/ooffice.png
620
%%WWWDIR%%/icons/mime/other.png
621
%%WWWDIR%%/icons/mime/other.png
622
%%WWWDIR%%/icons/mime/package.png
621
%%WWWDIR%%/icons/mime/page.png
623
%%WWWDIR%%/icons/mime/page.png
622
%%WWWDIR%%/icons/mime/pdf.png
624
%%WWWDIR%%/icons/mime/pdf.png
623
%%WWWDIR%%/icons/mime/php.png
625
%%WWWDIR%%/icons/mime/php.png

Return to bug 210821