aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-12-22 04:52:12 +0800
committerpav <pav@FreeBSD.org>2005-12-22 04:52:12 +0800
commit42cbe0f0cf41bff5e3b27511928be570dd020d48 (patch)
tree74f391bf82f1f61d2ec1cb49d33548b1ea7dc7cc /www
parent2a76b90808753b313cbd6eeaa4e17a7df8f85a89 (diff)
downloadfreebsd-ports-gnome-42cbe0f0cf41bff5e3b27511928be570dd020d48.tar.gz
freebsd-ports-gnome-42cbe0f0cf41bff5e3b27511928be570dd020d48.tar.zst
freebsd-ports-gnome-42cbe0f0cf41bff5e3b27511928be570dd020d48.zip
- Update to 0.12
- Claim maintainership PR: ports/90765 Submitted by: Frank Laszlo <laszlof@vonostingroup.com>
Diffstat (limited to 'www')
-rw-r--r--www/mgstat/Makefile5
-rw-r--r--www/mgstat/distinfo6
-rw-r--r--www/mgstat/files/patch-gcc34151
3 files changed, 5 insertions, 157 deletions
diff --git a/www/mgstat/Makefile b/www/mgstat/Makefile
index 38183479d1cd..e403c0a6424c 100644
--- a/www/mgstat/Makefile
+++ b/www/mgstat/Makefile
@@ -6,12 +6,11 @@
#
PORTNAME= mgstat
-PORTVERSION= 0.11
-PORTREVISION= 2
+PORTVERSION= 0.12
CATEGORIES= www
MASTER_SITES= http://wizard.ae.krakow.pl/~mike/download/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= laszlof@vonostingroup.com
COMMENT= Produce graphs from mod_gzip log files
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
diff --git a/www/mgstat/distinfo b/www/mgstat/distinfo
index 90bbdca0ffb2..f016f97a535c 100644
--- a/www/mgstat/distinfo
+++ b/www/mgstat/distinfo
@@ -1,3 +1,3 @@
-MD5 (mgstat-0.11.tar.gz) = f2895ceac013dff12b061457ec841967
-SHA256 (mgstat-0.11.tar.gz) = f133f79a1196ce78d975d25d5fc823a470c95307f5f0cdbba76548b353e30247
-SIZE (mgstat-0.11.tar.gz) = 33101
+MD5 (mgstat-0.12.tar.gz) = 1d28e9d6f2dc02971e11f8b8c04ee1e7
+SHA256 (mgstat-0.12.tar.gz) = 1a1629b515f3bae23ffc08b70eefb4f54be6dc9f0d87122198d3bcc430bb2314
+SIZE (mgstat-0.12.tar.gz) = 81279
diff --git a/www/mgstat/files/patch-gcc34 b/www/mgstat/files/patch-gcc34
deleted file mode 100644
index 1e717760bf44..000000000000
--- a/www/mgstat/files/patch-gcc34
+++ /dev/null
@@ -1,151 +0,0 @@
---- mgstat.c.orig Wed Jul 20 00:56:00 2005
-+++ mgstat.c Wed Jul 20 01:01:07 2005
-@@ -96,7 +96,7 @@
- struct list_head *h;
- struct year_t *t;
-
-- debug(5, __FUNCTION__ ": looking for %d\n", year);
-+ debug(5, "%s: looking for %d\n", __FUNCTION__, year);
- list_for_each(h, &years_l) {
- t = list_entry(h, struct year_t, head);
- if(t->year == year) return t;
-@@ -113,7 +113,7 @@
- list_add(&t->head, &years_l);
- INIT_LIST_HEAD(&t->months);
-
-- debug(5, __FUNCTION__ ": %d year added.\n", year);
-+ debug(5, "%s: %d year added.\n", __FUNCTION__, year);
-
- return t;
- }
-@@ -130,7 +130,7 @@
- INIT_LIST_HEAD(&t->days);
- months_nr++;
-
-- debug(5, __FUNCTION__ ": searching for %s %d\n", s, year);
-+ debug(5, "%s: searching for %s %d\n", __FUNCTION__, s, year);
-
- if(!(y = find_year(year))) y = new_year(year);
- y->nr_months++;
-@@ -156,9 +156,9 @@
- }
- t = new_entry(day, head);
- cur_day = t;
-- debug(5, __FUNCTION__ ": %d day created\n", day);
-+ debug(5, "%s: %d day created\n", __FUNCTION__, day);
- FOUND:
-- debug(5, __FUNCTION__ ": %d day found - %lld\n", day, t->req_c);
-+ debug(5, "%s: %d day found - %lld\n", __FUNCTION__, day, t->req_c);
- cur_day = t;
- return t;
- }
-@@ -186,7 +186,7 @@
- FOUND:
- cur_month = t;
- cur_day = 0;
-- debug(5, __FUNCTION__ ": FOUND %s %s %d\n", t->month, month, year);
-+ debug(5, "%s: FOUND %s %s %d\n", __FUNCTION__, t->month, month, year);
- return find_day(day, &t->days);
- }
-
-@@ -223,7 +223,7 @@
- return;
- }
- e->req_c++;
-- debug(2, __FUNCTION__ ": req increased for %d (%lld)\n",
-+ debug(2, "%s: req increased for %d (%lld)\n", __FUNCTION__,
- e->day, e->req_c);
- if(!(t = strstr(s, MOD_GZIP_ID))) return;
- id = t;
-@@ -237,7 +237,7 @@
- for(i = 0; i < sizeof gzip_ok/sizeof(char *); i++)
- if(!strncmp(t, gzip_ok[i], strlen(gzip_ok[i]))) goto FOUND;
- e->ncomp_c++;
-- debug(2, __FUNCTION__ "non compressed req - %lld\n", e->ncomp_c);
-+ debug(2, "%snon compressed req - %lld\n", __FUNCTION__, e->ncomp_c);
- while(*--id == ' ') ;
- if(!isdigit((int)*id)) {
- #ifdef DEBUG
-@@ -622,7 +622,7 @@
- if (!strcasecmp(log_file, "-")) f = stdin;
- else f = fopen(log_file, "r");
-
-- if(!f) errx(1, __FUNCTION__ ": cannot open log file %s: %s",
-+ if(!f) errx(1, "%s: cannot open log file %s: %s", __FUNCTION__,
- log_file, strerror(errno));
- read_hist(mk_filename(out_dir, MG_HIST, 0));
- //dump_list(); exit(0);
---- output.c.orig Wed Jul 20 01:01:11 2005
-+++ output.c Wed Jul 20 01:02:17 2005
-@@ -205,7 +205,7 @@
- if(!strncasecmp(m_name[i], m, 3))
- return i+1;
- }
-- errx(1, __FUNCTION__ ": Invalid month name %s", m);
-+ errx(1, "%s: Invalid month name %s", __FUNCTION__, m);
- return 0;
- }
-
-@@ -263,7 +263,7 @@
- }
- p++;
- }
-- errx(1, __FUNCTION__": internal error - unknown month %s.", m->month);
-+ errx(1, "%s: internal error - unknown month %s.", __FUNCTION__, m->month);
- return 0;
- }
-
-@@ -304,10 +304,10 @@
- else if(!gethostname(buf, sizeof buf)) tmp = buf;
- else tmp = "localhost";
- tab = calloc(h->nr_months, sizeof m);
-- if(!tab) errx(1, __FUNCTION__ ": Cannot allocate memory.");
-+ if(!tab) errx(1, "%s: Cannot allocate memory.", __FUNCTION__);
- list_for_each_r(x, &h->months) {
- m = list_entry(x, struct month_t, l_year);
-- if(i > h->nr_months) errx(1, __FUNCTION__ ": Internal error.");
-+ if(i > h->nr_months) errx(1, "%s: Internal error.", __FUNCTION__);
- tab[i] = m;
- get_max(&m->days);
- i++;
-@@ -376,9 +376,9 @@
- #endif
- max_r = max = total = max_all_b = 0;
- tab = calloc(m->nr_days, sizeof t);
-- if(!tab) errx(1, __FUNCTION__ ": Cannot allocate memory.");
-+ if(!tab) errx(1, ": Cannot allocate memory.", __FUNCTION__);
- list_for_each_r(x, &m->days) {
-- if(i == 31) errx(1, __FUNCTION__ ": internal error: too many days.");
-+ if(i == 31) errx(1, "%s: internal error: too many days.", __FUNCTION__);
- t = list_entry(x, struct entry_t, l_month);
- tab[i] = t;
- i++;
---- graph.c.orig Wed Jul 20 01:02:20 2005
-+++ graph.c Wed Jul 20 01:02:47 2005
-@@ -35,7 +35,7 @@
- {
- struct gd_image *p;
- p = calloc(1, sizeof *p);
-- if(!p) errx(1, __FUNCTION__ ": cannot allocate memory.");
-+ if(!p) errx(1, "%s: cannot allocate memory.", __FUNCTION__);
- return p;
- }
-
-@@ -127,7 +127,7 @@
- gdImageRectangle(g->im, G_MARG_X-1, G_MARG_Y-2, G_END_X, G_END_Y+1, g->colors[GRAY]);
- snprintf(buf, sizeof buf, "%s/%s", out_dir, s);
- f = fopen(buf, "wb");
-- if(!f) errx(1, __FUNCTION__ ": cannot open %s: %s", buf, strerror(errno));
-+ if(!f) errx(1, "%s: cannot open %s: %s", __FUNCTION__, buf, strerror(errno));
- #ifdef HAVE_GD_GIF
- gdImageGif(g->im, f);
- #else
-@@ -137,7 +137,7 @@
- gdImageDestroy(g->im);
- free(g);
- #ifdef DEBUG
-- printf(__FUNCTION__": Writing %s\n", s);
-+ printf("%s: Writing %s\n", __FUNCTION__, s);
- #endif
- }
-