ports/67416: Update port: www/visitors - Update to version 0.3.a
Florent Thoumie
flz at xbsd.org
Mon May 31 14:10:29 UTC 2004
>Number: 67416
>Category: ports
>Synopsis: Update port: www/visitors - Update to version 0.3.a
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon May 31 07:10:21 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: Florent Thoumie
>Release: FreeBSD 4.9-RC i386
>Organization:
Xbsd.org
>Environment:
System: FreeBSD gw 4.9-RC FreeBSD 4.9-RC #4: Sun Oct 5 14:25:09 CEST 2003 rf at gw:/usr/src/sys/compile/GW i386
>Description:
Update to version 0.3.a.
Replace patch with in-place editing.
>How-To-Repeat:
N/A
>Fix:
--- visitors-0.3.a.diff begins here ---
diff -ruN visitors/Makefile visitors.new/Makefile
--- visitors/Makefile Tue May 25 01:53:17 2004
+++ visitors.new/Makefile Mon May 31 14:53:56 2004
@@ -6,17 +6,24 @@
#
PORTNAME= visitors
-PORTVERSION= 0.3
+PORTVERSION= 0.3.a
CATEGORIES= www
MASTER_SITES= http://www.hping.org/visitors/
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/.a/a/}
MAINTAINER= flz at xbsd.org
COMMENT= Very fast and easy to use web log analyzer
-WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
+WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION:S/.a/a/}
+
+USE_REINPLACE= yes
PLIST_FILES= bin/visitors
PORTDOCS= doc.html
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|^DEBUG=.*||' -e 's|^CC=.*||' \
+ -e 's|^\(CCOPT=\).*|\1 ${CFLAGS}|' ${WRKSRC}/Makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/visitors ${PREFIX}/bin
diff -ruN visitors/distinfo visitors.new/distinfo
--- visitors/distinfo Sat May 29 17:40:44 2004
+++ visitors.new/distinfo Mon May 31 14:46:33 2004
@@ -1,2 +1,2 @@
-MD5 (visitors-0.3.tar.gz) = 0a76bb3024c56dda93398e2b6cd2c53c
-SIZE (visitors-0.3.tar.gz) = 49063
+MD5 (visitors-0.3a.tar.gz) = 84d2ad07ca531ba04b1cf3af8a74ee54
+SIZE (visitors-0.3a.tar.gz) = 49128
diff -ruN visitors/files/patch-Makefile visitors.new/files/patch-Makefile
--- visitors/files/patch-Makefile Tue May 25 01:53:17 2004
+++ visitors.new/files/patch-Makefile Thu Jan 1 01:00:00 1970
@@ -1,18 +0,0 @@
---- Makefile.orig Mon May 24 16:51:51 2004
-+++ Makefile Mon May 24 18:01:13 2004
-@@ -3,11 +3,12 @@
- # All Rights Reserved
- # Under the GPL license version 2
-
--CC= gcc
-+#CC= gcc
- AR= /usr/bin/ar
- RANLIB= /usr/bin/ranlib
--CCOPT= -O2 -Wall -W
--DEBUG= -g
-+#CCOPT= -O2 -Wall -W
-+#DEBUG= -g
-+CCOPT= $(CFLAGS)
-
- OBJ = visitors.o aht.o antigetopt.o tail.o
- PRGNAME = visitors
--- visitors-0.3.a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list