aboutsummaryrefslogtreecommitdiff
path: root/www/sarg
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-12-01 15:21:43 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-12-01 15:21:43 +0000
commit664d0588b08e3efd88e3eab35838f9455d7c4e68 (patch)
tree135849b40530966c4b2f2427748509e43c9b85fe /www/sarg
parent21ac4b0713c8f64ae92a2718936aae383e536121 (diff)
downloadports-664d0588b08e3efd88e3eab35838f9455d7c4e68.tar.gz
ports-664d0588b08e3efd88e3eab35838f9455d7c4e68.zip
Notes
Diffstat (limited to 'www/sarg')
-rw-r--r--www/sarg/Makefile4
-rw-r--r--www/sarg/distinfo5
-rw-r--r--www/sarg/files/patch-datafile.c11
-rw-r--r--www/sarg/files/patch-realtime.c11
-rw-r--r--www/sarg/pkg-plist2
5 files changed, 28 insertions, 5 deletions
diff --git a/www/sarg/Makefile b/www/sarg/Makefile
index 28a2609b8d17..b4e8e610ff7b 100644
--- a/www/sarg/Makefile
+++ b/www/sarg/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= sarg
-PORTVERSION= 2.0.9
+PORTVERSION= 2.1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -14,8 +14,6 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= mt@primats.org.ua
COMMENT= Squid log analyzer and HTML report generator
-BROKEN= "Problems on squid log parser. Waiting version 2.1"
-
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CC=gcc
diff --git a/www/sarg/distinfo b/www/sarg/distinfo
index 7fc98da603d6..a911712321ad 100644
--- a/www/sarg/distinfo
+++ b/www/sarg/distinfo
@@ -1,2 +1,3 @@
-MD5 (sarg-2.0.9.tar.gz) = 4d5a8eb6dd0c44dff446382ceacde31e
-SIZE (sarg-2.0.9.tar.gz) = 404714
+MD5 (sarg-2.1.tar.gz) = 15b1c3fbff47ac6ea77573cae75b5e63
+SHA256 (sarg-2.1.tar.gz) = 89ec31f3b7b8187de1e4ee4fa0a4abf6867f2404bd9059bbfbe4beb609dd5818
+SIZE (sarg-2.1.tar.gz) = 352935
diff --git a/www/sarg/files/patch-datafile.c b/www/sarg/files/patch-datafile.c
new file mode 100644
index 000000000000..ba8524a508b2
--- /dev/null
+++ b/www/sarg/files/patch-datafile.c
@@ -0,0 +1,11 @@
+--- 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
new file mode 100644
index 000000000000..9b598fb16508
--- /dev/null
+++ b/www/sarg/files/patch-realtime.c
@@ -0,0 +1,11 @@
+--- 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];
diff --git a/www/sarg/pkg-plist b/www/sarg/pkg-plist
index 2605a5c39dcf..ea51bee009bf 100644
--- a/www/sarg/pkg-plist
+++ b/www/sarg/pkg-plist
@@ -28,6 +28,7 @@ etc/sarg/languages/Latvian
etc/sarg/languages/Polish
etc/sarg/languages/Portuguese
etc/sarg/languages/Romanian
+etc/sarg/languages/Russian_UTF-8
etc/sarg/languages/Russian_koi8
etc/sarg/languages/Russian_windows1251
etc/sarg/languages/Serbian
@@ -48,6 +49,7 @@ etc/sarg/sarg-php/locale/pt_BR/LC_MESSAGES/messages.po
etc/sarg/sarg-php/locale/ru/LC_MESSAGES/messages.mo
etc/sarg/sarg-php/locale/ru/LC_MESSAGES/messages.po
etc/sarg/sarg-php/sarg-block-it.php
+etc/sarg/sarg-php/sarg-realtime.php
etc/sarg/sarg-php/sarg-squidguard-block.php
etc/sarg/sarg-php/sarg-squidguard-block2.php
etc/sarg/sarg-php/style.php