ports/68220: www/awstats port is begging for update

vassily ragosin vr at vrgraphics.ru
Wed Jun 23 04:30:30 UTC 2004


>Number:         68220
>Category:       ports
>Synopsis:       www/awstats port is begging for update
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 23 04:30:24 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     vassily ragosin
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
vr graphics
>Environment:
System: FreeBSD gray.vrgraphics.ru 4.9-STABLE FreeBSD 4.9-STABLE #4: Thu May 27 05:50:53 MSD 2004 vr at gray.vrgraphics.ru:/usr/obj/usr/src/sys/GRAY i386


>Description:

	www/awstats port is very old: more than a month has passed since
	6.1 was released, and we still have 6.0.

	it is very serious, 6.0 doesn't work with perl 5.8.4 and it misses 
	firefox, the famouse webbackbringer tool. webkids are starving.
	
>How-To-Repeat:
	http://www.freshports.org/search.php?stype=name&method=match&query=awstats
	
>Fix:
	cd /usr/ports/www/awstats
	patch -E < /path/to/supplied/patch
	rm *.orig && rm files/*.orig

	General disclaimer for Mr. Clement Laforet: I did try to contact 
	the maintainer couple weeks ago, but he/she appears to be on vacation 
	picking grapes in some other world. Submitting this PR two weeks ago
	would have saved some good numbers of innocent webkids souls.

	Patch follows:


diff -crN Makefile.orig Makefile
*** Makefile.orig	Tue Feb 17 03:39:03 2004
--- Makefile	Wed Jun 23 07:31:36 2004
***************
*** 6,13 ****
  #
  
  PORTNAME=	awstats
! PORTVERSION=	6.0
! PORTREVISION=	1
  CATEGORIES=	www
  MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
  MASTER_SITE_SUBDIR=	${PORTNAME}
--- 6,13 ----
  #
  
  PORTNAME=	awstats
! PORTVERSION=	6.1
! PORTREVISION=	0
  CATEGORIES=	www
  MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
  MASTER_SITE_SUBDIR=	${PORTNAME}
***************
*** 22,27 ****
--- 22,30 ----
  
  do-install:
  	@${MKDIR} ${PREFIX}/www/cgi-bin/lang
+ 	@${MKDIR} ${PREFIX}/www/cgi-bin/lang/tooltips_f
+ 	@${MKDIR} ${PREFIX}/www/cgi-bin/lang/tooltips_m
+ 	@${MKDIR} ${PREFIX}/www/cgi-bin/lang/tooltips_w
  	@${MKDIR} ${PREFIX}/www/cgi-bin/lib
  	@${MKDIR} ${PREFIX}/www/cgi-bin/plugins
  	@${MKDIR} ${PREFIX}/www/cgi-bin/plugins/example
***************
*** 41,51 ****
  	${INSTALL_SCRIPT} ${WRKSRC}/tools/logresolvemerge.pl ${PREFIX}/bin/awstats_logresolvemerge.pl
  	${INSTALL_SCRIPT} ${WRKSRC}/tools/maillogconvert.pl ${PREFIX}/bin/awstats_maillogconvert.pl
  	${INSTALL_SCRIPT} ${WRKSRC}/tools/urlaliasbuilder.pl ${PREFIX}/bin/awstats_urlaliasbuilder.pl
! 	${INSTALL_SCRIPT} ${WRKSRC}/tools/webmin/awstats-1.21.wbm ${PREFIX}/bin/awstats-1.21.wbm
  	${INSTALL_SCRIPT} ${WRKSRC}/wwwroot/cgi-bin/awredir.pl ${PREFIX}/www/cgi-bin
  	${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/awstats.model.conf ${PREFIX}/www/cgi-bin
  	${INSTALL_SCRIPT} ${WRKSRC}/wwwroot/cgi-bin/awstats.pl ${PREFIX}/www/cgi-bin
! 	${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/lang/* ${PREFIX}/www/cgi-bin/lang
  	${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/lib/* ${PREFIX}/www/cgi-bin/lib
  	${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/decodeutfkeys.pm ${PREFIX}/www/cgi-bin/plugins
  	${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/geoip.pm ${PREFIX}/www/cgi-bin/plugins
--- 44,57 ----
  	${INSTALL_SCRIPT} ${WRKSRC}/tools/logresolvemerge.pl ${PREFIX}/bin/awstats_logresolvemerge.pl
  	${INSTALL_SCRIPT} ${WRKSRC}/tools/maillogconvert.pl ${PREFIX}/bin/awstats_maillogconvert.pl
  	${INSTALL_SCRIPT} ${WRKSRC}/tools/urlaliasbuilder.pl ${PREFIX}/bin/awstats_urlaliasbuilder.pl
! 	${INSTALL_SCRIPT} ${WRKSRC}/tools/webmin/awstats-1.3.wbm ${PREFIX}/bin/awstats-1.3.wbm
  	${INSTALL_SCRIPT} ${WRKSRC}/wwwroot/cgi-bin/awredir.pl ${PREFIX}/www/cgi-bin
  	${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/awstats.model.conf ${PREFIX}/www/cgi-bin
  	${INSTALL_SCRIPT} ${WRKSRC}/wwwroot/cgi-bin/awstats.pl ${PREFIX}/www/cgi-bin
! 	${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/lang/*.txt ${PREFIX}/www/cgi-bin/lang
! 	${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/lang/tooltips_f/awstats-tt-* ${PREFIX}/www/cgi-bin/lang/tooltips_f
! 	${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/lang/tooltips_m/awstats-tt-* ${PREFIX}/www/cgi-bin/lang/tooltips_m
! 	${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/lang/tooltips_w/awstats-tt-* ${PREFIX}/www/cgi-bin/lang/tooltips_w
  	${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/lib/* ${PREFIX}/www/cgi-bin/lib
  	${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/decodeutfkeys.pm ${PREFIX}/www/cgi-bin/plugins
  	${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/geoip.pm ${PREFIX}/www/cgi-bin/plugins
diff -crN distinfo.orig distinfo
*** distinfo.orig	Sun Apr  4 08:04:33 2004
--- distinfo	Wed Jun 23 07:31:36 2004
***************
*** 1,2 ****
! MD5 (awstats-6.0.tgz) = 959498f7182f20d84d7bd8aca68f4155
! SIZE (awstats-6.0.tgz) = 791020
--- 1,2 ----
! MD5 (awstats-6.1.tgz) = 4f02c0fc4f1a0f946fcae3b3768bf113
! SIZE (awstats-6.1.tgz) = 800275
diff -crN files/patch-01.orig files/patch-01
*** files/patch-01.orig	Thu Jan  1 03:00:00 1970
--- files/patch-01	Wed Jun 23 07:31:36 2004
***************
*** 0 ****
--- 1,11 ----
+ --- wwwroot/cgi-bin/awstats.model.conf.orig	Wed Jun 23 05:37:25 2004
+ +++ wwwroot/cgi-bin/awstats.model.conf	Wed Jun 23 05:37:46 2004
+ @@ -208,7 +208,7 @@
+  # Example: "../icon"
+  # Default: "/icon" (means you must copy icon directories in "/mywwwroot/icon")
+  #
+ -DirIcons="/icon"
+ +DirIcons="/icons"
+  
+  
+  # When this parameter is set to 1, AWStats add a button on report page to
diff -crN files/patch.awstats.model.conf.orig files/patch.awstats.model.conf
*** files/patch.awstats.model.conf.orig	Fri Nov 15 21:23:52 2002
--- files/patch.awstats.model.conf	Thu Jan  1 03:00:00 1970
***************
*** 1,18 ****
- --- awstats.model.conf.orig	Wed Nov  6 15:27:14 2002
- +++ awstats.model.conf	Wed Nov  6 15:29:49 2002
- @@ -150,11 +150,11 @@
-  # subdirectories.
-  # If you build static reports ("... -output > outputpath/output.html"), enter
-  # path of icon directory relative to the directory outputpath.
- -# Example: "/icon"
- -# Example: "../icon"
- -# Default: "/icon" (means you must copy icon directories in "/mywwwroot/icon")
- +# Example: "/icons"
- +# Example: "../icons"
- +# Default: "/icons" (means you must copy icon directories in "/mywwwroot/icons")
-  #
- -DirIcons="/icon"
- +DirIcons="/icons"
-  
-  
-  # "SiteDomain" must contain the main domain name or the main intranet web
--- 0 ----
diff -crN pkg-plist.orig pkg-plist
*** pkg-plist.orig	Tue Feb 17 03:39:03 2004
--- pkg-plist	Wed Jun 23 07:31:36 2004
***************
*** 1,4 ****
! bin/awstats-1.21.wbm
  bin/awstats_buildstaticpages.pl
  bin/awstats_configure.pl
  bin/awstats_exportlib.pl
--- 1,4 ----
! bin/awstats-1.3.wbm
  bin/awstats_buildstaticpages.pl
  bin/awstats_configure.pl
  bin/awstats_exportlib.pl
***************
*** 51,56 ****
--- 51,57 ----
  www/cgi-bin/awstats.model.conf
  www/cgi-bin/awstats.pl
  www/cgi-bin/lang/awstats-al.txt
+ www/cgi-bin/lang/awstats-ar.txt
  www/cgi-bin/lang/awstats-ba.txt
  www/cgi-bin/lang/awstats-bg.txt
  www/cgi-bin/lang/awstats-br.txt
***************
*** 86,124 ****
  www/cgi-bin/lang/awstats-sk.txt
  www/cgi-bin/lang/awstats-sr.txt
  www/cgi-bin/lang/awstats-tr.txt
- www/cgi-bin/lang/awstats-tt-al.txt
- www/cgi-bin/lang/awstats-tt-ba.txt
- www/cgi-bin/lang/awstats-tt-bg.txt
- www/cgi-bin/lang/awstats-tt-ca.txt
- www/cgi-bin/lang/awstats-tt-cn.txt
- www/cgi-bin/lang/awstats-tt-cz.txt
- www/cgi-bin/lang/awstats-tt-de.txt
- www/cgi-bin/lang/awstats-tt-dk.txt
- www/cgi-bin/lang/awstats-tt-en.txt
- www/cgi-bin/lang/awstats-tt-es.txt
- www/cgi-bin/lang/awstats-tt-fi.txt
- www/cgi-bin/lang/awstats-tt-fr.txt
- www/cgi-bin/lang/awstats-tt-gl.txt
- www/cgi-bin/lang/awstats-tt-hu.txt
- www/cgi-bin/lang/awstats-tt-is.txt
- www/cgi-bin/lang/awstats-tt-it.txt
- www/cgi-bin/lang/awstats-tt-jp.txt
- www/cgi-bin/lang/awstats-tt-kr.txt
- www/cgi-bin/lang/awstats-tt-nb.txt
- www/cgi-bin/lang/awstats-tt-nl.txt
- www/cgi-bin/lang/awstats-tt-nn.txt
- www/cgi-bin/lang/awstats-tt-pl.txt
- www/cgi-bin/lang/awstats-tt-ro.txt
- www/cgi-bin/lang/awstats-tt-ru.txt
- www/cgi-bin/lang/awstats-tt-se.txt
- www/cgi-bin/lang/awstats-tt-sk.txt
- www/cgi-bin/lang/awstats-tt-sr.txt
- www/cgi-bin/lang/awstats-tt-tr.txt
- www/cgi-bin/lang/awstats-tt-tw.txt
- www/cgi-bin/lang/awstats-tt-ua.txt
  www/cgi-bin/lang/awstats-tw.txt
  www/cgi-bin/lang/awstats-ua.txt
  www/cgi-bin/lang/awstats-wlk.txt
  www/cgi-bin/lib/browsers.pm
  www/cgi-bin/lib/domains.pm
  www/cgi-bin/lib/mime.pm
--- 87,128 ----
  www/cgi-bin/lang/awstats-sk.txt
  www/cgi-bin/lang/awstats-sr.txt
  www/cgi-bin/lang/awstats-tr.txt
  www/cgi-bin/lang/awstats-tw.txt
  www/cgi-bin/lang/awstats-ua.txt
  www/cgi-bin/lang/awstats-wlk.txt
+ www/cgi-bin/lang/tooltips_f/awstats-tt-en.txt
+ www/cgi-bin/lang/tooltips_m/awstats-tt-en.txt
+ www/cgi-bin/lang/tooltips_m/awstats-tt-fr.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-al.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-ba.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-bg.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-ca.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-cn.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-cz.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-de.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-dk.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-en.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-es.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-fi.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-fr.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-gl.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-hu.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-is.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-it.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-jp.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-kr.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-nb.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-nl.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-nn.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-pl.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-ro.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-ru.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-se.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-sk.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-sr.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-tr.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-tw.txt
+ www/cgi-bin/lang/tooltips_w/awstats-tt-ua.txt
  www/cgi-bin/lib/browsers.pm
  www/cgi-bin/lib/domains.pm
  www/cgi-bin/lib/mime.pm
***************
*** 159,164 ****
--- 163,169 ----
  www/icons/browser/dreamcast.png
  www/icons/browser/ecatch.png
  www/icons/browser/encompass.png
+ www/icons/browser/firefox.png
  www/icons/browser/fpexpress.png
  www/icons/browser/fresco.png
  www/icons/browser/galeon.png
***************
*** 572,577 ****
--- 577,585 ----
  @dirrm www/cgi-bin/plugins/example
  @dirrm www/cgi-bin/plugins
  @dirrm www/cgi-bin/lib
+ @dirrm www/cgi-bin/lang/tooltips_w
+ @dirrm www/cgi-bin/lang/tooltips_m
+ @dirrm www/cgi-bin/lang/tooltips_f
  @dirrm www/cgi-bin/lang
  %%PORTDOCS%%@dirrm %%DOCSDIR%%/images
  %%PORTDOCS%%@dirrm %%DOCSDIR%%



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list