summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2006-01-08 15:22:15 +0000
committerPeter Volkov <pva@gentoo.org>2006-01-08 15:22:15 +0000
commit05eef3a29b14c31e7577646f02643b92e1374d95 (patch)
treefdfaf75da266b76e9f326ee4978c45172c24cfbc /net-analyzer/sarg/files
parentBug 117889, fixed ebuild, fixed makefile (diff)
downloadgentoo-2-05eef3a29b14c31e7577646f02643b92e1374d95.tar.gz
gentoo-2-05eef3a29b14c31e7577646f02643b92e1374d95.tar.bz2
gentoo-2-05eef3a29b14c31e7577646f02643b92e1374d95.zip
Version bump. Also added maintainer and longdescription in metadata.xml. And
(Portage version: 2.0.53)
Diffstat (limited to 'net-analyzer/sarg/files')
-rw-r--r--net-analyzer/sarg/files/digest-sarg-2.11
-rw-r--r--net-analyzer/sarg/files/sarg-2.1-datafile.patch31
-rw-r--r--net-analyzer/sarg/files/sarg-2.1-laslog.patch15
3 files changed, 47 insertions, 0 deletions
diff --git a/net-analyzer/sarg/files/digest-sarg-2.1 b/net-analyzer/sarg/files/digest-sarg-2.1
new file mode 100644
index 000000000000..12b8c86032e3
--- /dev/null
+++ b/net-analyzer/sarg/files/digest-sarg-2.1
@@ -0,0 +1 @@
+MD5 15b1c3fbff47ac6ea77573cae75b5e63 sarg-2.1.tar.gz 352935
diff --git a/net-analyzer/sarg/files/sarg-2.1-datafile.patch b/net-analyzer/sarg/files/sarg-2.1-datafile.patch
new file mode 100644
index 000000000000..d309703aead4
--- /dev/null
+++ b/net-analyzer/sarg/files/sarg-2.1-datafile.patch
@@ -0,0 +1,31 @@
+--- datafile.c 2005-12-07 07:22:36.000000000 -0200
++++ new/datafile.c 2005-12-07 07:32:00.000000000 -0200
+@@ -115,7 +115,7 @@
+ strcpy(wdirname,dirname);
+ gravatmp(oldaccuser,wdirname,oldurl,nacc,nbytes,oldmsg,nelap,indexonly,incache,oucache);
+ strcpy(wdirname,dirname);
+- saverecs2(wdirname,oldaccuser,nacc,oldurl,nbytes,oldaccip,oldacchora,oldaccdia,nelap,incache,oucache);
++ saverecs(wdirname,oldaccuser,nacc,oldurl,nbytes,oldaccip,oldacchora,oldaccdia,nelap,incache,oucache);
+ nacc=0;
+ nbytes=0;
+ nelap=0;
+@@ -156,7 +156,7 @@
+ return;
+ }
+
+-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 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)
+ {
+
+ FILE *fp_ou;
+--- realtime.c 2005-11-29 14:39:45.000000000 -0200
++++ new/realtime.c 2005-12-07 07:31:15.000000000 -0200
+@@ -27,6 +27,8 @@
+
+ void getdata(char *, FILE *);
+ void datashow(char *);
++void getlog();
++void header();
+
+ char dat[128];
+ char tim[128];
diff --git a/net-analyzer/sarg/files/sarg-2.1-laslog.patch b/net-analyzer/sarg/files/sarg-2.1-laslog.patch
new file mode 100644
index 000000000000..42d676651d66
--- /dev/null
+++ b/net-analyzer/sarg/files/sarg-2.1-laslog.patch
@@ -0,0 +1,15 @@
+--- lastlog.c 2005-12-08 10:33:36.000000000 -0200
++++ new/lastlog.c 2005-12-08 10:33:10.000000000 -0200
+@@ -59,11 +59,9 @@
+ local = localtime(&t);
+ strftime(ftime, 127, "%Y%m%d%H%M%S", local);
+ sprintf(buf,"%s %s\n",ftime,direntp->d_name);
+-printf("BUF=%s\n",buf);
+ fputs(buf,fp_ou);
+ ftot++;
+ }
+-exit(0);
+
+ (void)rewinddir( dirp );
+ (void)closedir( dirp );
+