Date: Thu, 4 Oct 2007 11:01:49 GMT From: Ismail YENIGUL <ismail@enderunix.org> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/116899: Update Port:www/webreport Message-ID: <200710041101.l94B1n0T038587@www.freebsd.org> Resent-Message-ID: <200710041110.l94BA1CH038718@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 116899 >Category: misc >Synopsis: Update Port:www/webreport >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 04 11:10:00 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Ismail YENIGUL >Release: FreeBSD 6.2 >Organization: EnderUNIX >Environment: FreeBSD ftpfreebsd.marmara.edu.tr 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #2: Mon Jul 9 14:01:39 EEST 2007 root@ftpfreebsd.marmara.edu.tr:/usr/obj/usr/src/sys/SMP i386 >Description: just url update in pkg-desc >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # webreport # webreport/files # webreport/files/patch-webreport.c # webreport/files/patch-Makefile # webreport/Makefile # webreport/distinfo # webreport/pkg-descr # webreport/pkg-message # echo c - webreport mkdir -p webreport > /dev/null 2>&1 echo c - webreport/files mkdir -p webreport/files > /dev/null 2>&1 echo x - webreport/files/patch-webreport.c sed 's/^X//' >webreport/files/patch-webreport.c << 'END-of-webreport/files/patch-webreport.c' X--- webreport.c.org Sat Feb 7 17:06:38 2004 X+++ webreport.c Sat Feb 7 17:06:47 2004 X@@ -22,7 +22,7 @@ X #include <errno.h> X #include <string.h> X #include <time.h> X-#include <getopt.h> X+#include <unistd.h> X X #include <sys/types.h> X #include <sys/stat.h> X@@ -808,7 +808,7 @@ X } X X char *comma_string_long(in_long ) X- ulong in_long; X+ unsigned long in_long; X { X char tmpbuf[MAX_TINY_BUF]; X static char tmpbuf1[MAX_TINY_BUF]; X@@ -1866,10 +1866,10 @@ X X report_open_files() X { X- strncpy( Globals.TextReportName, "/usr/tmp/webreport.text.XXXXXX", 100); X+ strncpy( Globals.TextReportName, "/var/tmp/webreport.text.XXXXXX", 100); X mkstemp(Globals.TextReportName); X X- strncpy( Globals.HTMLReportName, "/usr/tmp/webreport.html.XXXXXX", 100); X+ strncpy( Globals.HTMLReportName, "/var/tmp/webreport.html.XXXXXX", 100); X mkstemp(Globals.HTMLReportName); X X Globals.TextReport = fopen(Globals.TextReportName, "w"); X@@ -2084,7 +2084,7 @@ X fputs( Globals.TmpBuf, fs); X } X } else { X- fprintf( Globals.HTMLReport, X+ fprintf(Globals.HTMLReport, X "Subject: %s\n", Globals.cur_site->title); X fprintf( Globals.HTMLReport, X "Content-Type: text/html; charset=us-ascii\n"); END-of-webreport/files/patch-webreport.c echo x - webreport/files/patch-Makefile sed 's/^X//' >webreport/files/patch-Makefile << 'END-of-webreport/files/patch-Makefile' X--- Makefile.orig Mon Oct 8 18:09:18 2001 X+++ Makefile Tue Feb 17 15:22:44 2004 X@@ -24,8 +24,8 @@ X DEBUG= -g X #OPT= -O2 X X-CFLAGS= -c $(OPT) $(DEBUG) X-LDFLAGS= $(DEBUG) X+CFLAGS+= -c $(OPT) X+#LDFLAGS+= $(LDFLAGS) X X .c.o: X $(CC) $(CFLAGS) $< X@@ -33,6 +33,8 @@ X BINS = webreport X X OBJ = webreport.o X+ X+all: webreport X X webreport: $(OBJ) webreport.h X $(CC) $(LDFLAGS) $(OBJ) -o webreport END-of-webreport/files/patch-Makefile echo x - webreport/Makefile sed 's/^X//' >webreport/Makefile << 'END-of-webreport/Makefile' X# New ports collection makefile for: webreport X# Date created: 06 Feb 2004 X# Whom: ismail@enderunix.org X# X# $FreeBSD: ports/www/webreport/Makefile,v 1.2 2006/05/13 04:41:21 edwin Exp $ X# X XPORTNAME= webreport XPORTVERSION= 1.5 XCATEGORIES= www XMASTER_SITES= http://www.inter7.com/webreport/ X XMAINTAINER= ismail@EnderUNIX.org XCOMMENT= WebReport is a web log statistics program for web hosting sites X XPORTDOCS= INSTALL XPLIST_FILES= bin/webreport etc/webreport.conf-dist X Xpost-patch: X @${REINPLACE_CMD} -e 's,ulong,unsigned long,;s,/etc/,${PREFIX}/etc/,' ${WRKSRC}/webreport.h X Xdo-install: X @${INSTALL_PROGRAM} ${WRKSRC}/webreport ${PREFIX}/bin X @${INSTALL_DATA} ${WRKSRC}/webreport.conf ${PREFIX}/etc/webreport.conf-dist X X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X @${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} X.endif X Xpost-install: X @${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g' X X.include <bsd.port.mk> END-of-webreport/Makefile echo x - webreport/distinfo sed 's/^X//' >webreport/distinfo << 'END-of-webreport/distinfo' XMD5 (webreport-1.5.tar.gz) = 53775790be7b62839acfe22d00748b61 XSHA256 (webreport-1.5.tar.gz) = 3d46720744e4c529fde322a68e97d57f0aa2fbeda46c637b540391a659d2ade4 XSIZE (webreport-1.5.tar.gz) = 25501 END-of-webreport/distinfo echo x - webreport/pkg-descr sed 's/^X//' >webreport/pkg-descr << 'END-of-webreport/pkg-descr' XWebReport is a web log statistics reporting program especially designed for Xvirtual web hosting sites. It is also very useful for single hosting sites. XThe main difference between WebReport and other statistics programs is a Xconfiguration file which allows for easy manipulation of the features. X XWWW: http://www.inter7.com/?page=webreport END-of-webreport/pkg-descr echo x - webreport/pkg-message sed 's/^X//' >webreport/pkg-message << 'END-of-webreport/pkg-message' X XRead the %%PREFIX%%/share/doc/webreport/INSTALL to configure webreport X XEdit the %%PREFIX%%/etc/webreport.conf END-of-webreport/pkg-message exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710041101.l94B1n0T038587>