FreeBSD Bugzilla – Attachment 39970 Details for
Bug 62904
New port:www/webreport
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
webreport.shar
webreport.shar (text/plain), 7.58 KB, created by
Ismail YENIGUL
on 2004-02-16 10:40:17 UTC
(
hide
)
Description:
webreport.shar
Filename:
MIME Type:
Creator:
Ismail YENIGUL
Created:
2004-02-16 10:40:17 UTC
Size:
7.58 KB
patch
obsolete
># 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-aa ># webreport/files/patch-ab ># webreport/files/patch-ac ># webreport/Makefile ># webreport/distinfo ># webreport/pkg-descr ># webreport/pkg-message ># webreport/pkg-plist ># >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-aa >sed 's/^X//' >webreport/files/patch-aa << 'END-of-webreport/files/patch-aa' >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-aa >echo x - webreport/files/patch-ab >sed 's/^X//' >webreport/files/patch-ab << 'END-of-webreport/files/patch-ab' >X--- webreport.h.org Sat Feb 7 17:06:42 2004 >X+++ webreport.h Sat Feb 7 17:06:52 2004 >X@@ -22,7 +22,7 @@ >X #define MAX_SMALL_BUF 300 >X #define MAX_BIG_BUF 600 >X #define MAX_TINY_BUF 100 >X-#define CONFIG_FILE "/etc/webreport.conf" >X+#define CONFIG_FILE "/usr/local/etc/webreport.conf" >X #define CONFIG_STRING_TOKENS "\n\t =" >X #define CONFIG_TITLE_TOKENS "=\n" >X #define MAX_DOMAINS 254 >X@@ -84,8 +84,9 @@ >X #define EMAIL_FREQ_WEEKLY "weekly" >X #define EMAIL_FREQ_MONTHLY "monthly" >X >X+ >X typedef struct web_prices { >X- ulong bytes_sent; >X+ unsigned long bytes_sent; >X float price; >X } web_prices; >X >X@@ -114,8 +115,8 @@ >X typedef struct total_trans_by_url { >X float per_req; >X float per_byte; >X- ulong bytes_sent; >X- ulong requests; >X+ unsigned long bytes_sent; >X+ unsigned long requests; >X char url[MAX_SMALL_BUF]; >X struct total_trans_by_url *next; >X } total_trans_by_url; >X@@ -124,8 +125,8 @@ >X typedef struct total_trans_by_domain { >X float per_req; >X float per_byte; >X- ulong bytes_sent; >X- ulong requests; >X+ unsigned long bytes_sent; >X+ unsigned long requests; >X char domain[MAX_SMALL_BUF]; >X struct total_trans_by_domain *next; >X } total_trans_by_domain; >X@@ -134,8 +135,8 @@ >X typedef struct total_trans_by_sub_domain { >X float per_req; >X float per_byte; >X- ulong bytes_sent; >X- ulong requests; >X+ unsigned long bytes_sent; >X+ unsigned long requests; >X char sub_domain[MAX_SMALL_BUF]; >X struct total_trans_by_sub_domain *next; >X } total_trans_by_sub_domain; >X@@ -144,8 +145,8 @@ >X typedef struct total_trans_by_date { >X float per_req; >X float per_byte; >X- ulong bytes_sent; >X- ulong requests; >X+ unsigned long bytes_sent; >X+ unsigned long requests; >X char sysdate[MAX_SMALL_BUF]; >X struct total_trans_by_date *next; >X } total_trans_by_date; >X@@ -154,8 +155,8 @@ >X typedef struct total_root_by_date { >X float per_req; >X float per_byte; >X- ulong bytes_sent; >X- ulong requests; >X+ unsigned long bytes_sent; >X+ unsigned long requests; >X char sysdate[MAX_SMALL_BUF]; >X struct total_root_by_date *next; >X } total_root_by_date; >X@@ -164,8 +165,8 @@ >X typedef struct total_trans_by_refer { >X float per_req; >X float per_byte; >X- ulong bytes_sent; >X- ulong requests; >X+ unsigned long bytes_sent; >X+ unsigned long requests; >X char refer[MAX_BIG_BUF]; >X struct total_trans_by_refer *next; >X } total_trans_by_refer; >X@@ -174,8 +175,8 @@ >X typedef struct total_trans_by_browser { >X float per_req; >X float per_byte; >X- ulong bytes_sent; >X- ulong requests; >X+ unsigned long bytes_sent; >X+ unsigned long requests; >X char browser[MAX_BIG_BUF]; >X struct total_trans_by_browser *next; >X } total_trans_by_browser; >X@@ -184,8 +185,8 @@ >X typedef struct total_trans_by_hour { >X float per_req; >X float per_byte; >X- ulong bytes_sent; >X- ulong requests; >X+ unsigned long bytes_sent; >X+ unsigned long requests; >X } total_trans_by_hour; >X struct total_trans_by_hour ttbh[24]; >X >X@@ -513,9 +514,9 @@ >X FILE *HTMLReport; >X char TmpBuf[MAX_TEMP_BUF]; >X char LogBuf[MAX_TEMP_BUF]; >X- ulong TotalRequests; >X- ulong TotalBytes; >X- ulong TotalDays; >X+ unsigned long TotalRequests; >X+ unsigned long TotalBytes; >X+ unsigned long TotalDays; >X struct tm *mytm; >X struct www_site_def *cur_site; >X } webreport_globals; >END-of-webreport/files/patch-ab >echo x - webreport/files/patch-ac >sed 's/^X//' >webreport/files/patch-ac << 'END-of-webreport/files/patch-ac' >X--- Makefile.org Sat Feb 7 17:16:55 2004 >X+++ Makefile Sat Feb 7 17:17:06 2004 >X@@ -34,6 +34,8 @@ >X >X OBJ = webreport.o >X >X+all: webreport >X+ >X webreport: $(OBJ) webreport.h >X $(CC) $(LDFLAGS) $(OBJ) -o webreport >X >END-of-webreport/files/patch-ac >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$ >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 >Xdo-install: >X @${MKDIR} ${PREFIX}/share/doc/webreport >X ${INSTALL_PROGRAM} ${WRKSRC}/webreport ${PREFIX}/bin >X ${INSTALL_DATA} ${WRKSRC}/webreport.conf ${PREFIX}/etc/webreport.conf-dist >X ${INSTALL_MAN} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/webreport/ >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 >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 >Xespecially designed for virtual web hosting sites. >XIt is also very useful for signle hosting sites. >Xthe main difference between WebReport and other statics programs >Xis a configuration file which allows for easy manipulation of the features. >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 >X >X >X >END-of-webreport/pkg-message >echo x - webreport/pkg-plist >sed 's/^X//' >webreport/pkg-plist << 'END-of-webreport/pkg-plist' >Xbin/webreport >Xetc/webreport.conf-dist >Xshare/doc/webreport/INSTALL >X@dirrm share/doc/webreport >END-of-webreport/pkg-plist >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 62904
: 39970