aboutsummaryrefslogtreecommitdiffstats
path: root/www/sarg
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-03-14 03:46:02 +0800
committergarga <garga@FreeBSD.org>2006-03-14 03:46:02 +0800
commit740debfe50b806ad48bc9524ae946d7d7efd5389 (patch)
treec26d064f1d0f913dd1fe197f5f918e1398a37662 /www/sarg
parentc853419a10a09c2d1ce76f7c29ef3b51109fcafe (diff)
downloadfreebsd-ports-gnome-740debfe50b806ad48bc9524ae946d7d7efd5389.tar.gz
freebsd-ports-gnome-740debfe50b806ad48bc9524ae946d7d7efd5389.tar.zst
freebsd-ports-gnome-740debfe50b806ad48bc9524ae946d7d7efd5389.zip
Use vendor patches to fix index.html generation
Approved by: portmgr (linimon)
Diffstat (limited to 'www/sarg')
-rw-r--r--www/sarg/Makefile5
-rw-r--r--www/sarg/distinfo6
-rw-r--r--www/sarg/files/patch-datafile.c11
-rw-r--r--www/sarg/files/patch-realtime.c11
4 files changed, 10 insertions, 23 deletions
diff --git a/www/sarg/Makefile b/www/sarg/Makefile
index 691777b7cb94..f5c80a712b5b 100644
--- a/www/sarg/Makefile
+++ b/www/sarg/Makefile
@@ -7,6 +7,7 @@
PORTNAME= sarg
PORTVERSION= 2.1
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -14,7 +15,9 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= garga@FreeBSD.org
COMMENT= Squid log analyzer and HTML report generator
-USE_REINPLACE= yes
+PATCH_SITES= http://sarg.sourceforge.net/
+PATCHFILES= datafile.patch lastlog.patch
+
GNU_CONFIGURE= yes
CONFIGURE_ENV= CC=gcc
CONFIGURE_ARGS= --enable-bindir="${PREFIX}/bin" \
diff --git a/www/sarg/distinfo b/www/sarg/distinfo
index a911712321ad..5ae32b2a75d8 100644
--- a/www/sarg/distinfo
+++ b/www/sarg/distinfo
@@ -1,3 +1,9 @@
MD5 (sarg-2.1.tar.gz) = 15b1c3fbff47ac6ea77573cae75b5e63
SHA256 (sarg-2.1.tar.gz) = 89ec31f3b7b8187de1e4ee4fa0a4abf6867f2404bd9059bbfbe4beb609dd5818
SIZE (sarg-2.1.tar.gz) = 352935
+MD5 (datafile.patch) = be7c27dc81fd42e595adbcdcb14130e1
+SHA256 (datafile.patch) = 328bdd49a7bc6e0649af6c91620a7f6ddf7cd95f56425a2228e6c1f97fd4e9ed
+SIZE (datafile.patch) = 1300
+MD5 (lastlog.patch) = d2c22dddfa0d8214692f382a69eb82f3
+SHA256 (lastlog.patch) = 9fc56675e99a3d427c22cab90e1e79e3b11382578b1f4c5047c10dcdd910b224
+SIZE (lastlog.patch) = 406
diff --git a/www/sarg/files/patch-datafile.c b/www/sarg/files/patch-datafile.c
deleted file mode 100644
index ba8524a508b2..000000000000
--- a/www/sarg/files/patch-datafile.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- datafile.c.orig Wed Nov 30 13:58:14 2005
-+++ datafile.c Wed Nov 30 13:58:23 2005
-@@ -25,7 +25,7 @@
-
- #include "include/conf.h"
-
--void saverecs(char *dirname, char *user, long long int nacc, char *url, long long int nbytes, char *ip, char *hora, char *dia, long long int nelap, long long int incache, long long int oucache);
-+void saverecs2(char *dirname, char *user, long long int nacc, char *url, long long int nbytes, char *ip, char *hora, char *dia, long long int nelap, long long int incache, long long int oucache);
- void grava_SmartFilter(char *dirname, char *user, char *ip, char *data, char *hora, char *url, char *smart);
-
- void data_file(char *tmp)
diff --git a/www/sarg/files/patch-realtime.c b/www/sarg/files/patch-realtime.c
deleted file mode 100644
index 9b598fb16508..000000000000
--- a/www/sarg/files/patch-realtime.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- realtime.c.orig Wed Nov 30 13:58:09 2005
-+++ realtime.c Wed Nov 30 13:58:20 2005
-@@ -27,6 +27,8 @@
-
- void getdata(char *, FILE *);
- void datashow(char *);
-+void getlog ();
-+void header ();
-
- char dat[128];
- char tim[128];