ports/opt (2.7): [notify] mathopd: update to 1.5p7

commit 2a2cb63ef76761bf1527e6ddc3091c7f1a650215 Author: Juergen Daubert <jue@jue.li> Date: Fri Feb 3 11:50:00 2012 +0100 [notify] mathopd: update to 1.5p7 Security fix, see http://www.mathopd.org/security.html diff --git a/mathopd/.md5sum b/mathopd/.md5sum index 7a3f0f9..2ec5e00 100644 --- a/mathopd/.md5sum +++ b/mathopd/.md5sum @@ -1,8 +1,7 @@ ec0d71c0c75986c1c4974320788945cc dir_cgi-1.1.tar.gz 56ed28d0c582903a2c29c9c5f9153e57 mathopd -421d71cfad7e659c1d3a384752371c6d mathopd-1.5p6.tar.gz +8b9efeac6f2abf17eabcfff6152cb346 mathopd-1.5p7.tar.gz 3e318e6add3583d90373cc335e5ea75e mathopd-config.patch -3b2ecf96fd1b882eb5ee1ac27844019f mathopd-getline.patch dd645079a41380fbb301da6d5559de84 mathopd.8.gz 2f0f28b786a555bbd800c0cbcf0d7057 mathopd.conf 11092a3c42c38d8a851a7807b6576349 mathopd.conf.5.gz diff --git a/mathopd/Pkgfile b/mathopd/Pkgfile index a2eb243..a02bde6 100644 --- a/mathopd/Pkgfile +++ b/mathopd/Pkgfile @@ -3,20 +3,18 @@ # Maintainer: Juergen Daubert, jue at crux dot nu name=mathopd -version=1.5p6 -release=2 +version=1.5p7 +release=1 source=(http://www.mathopd.org/dist/$name-$version.tar.gz \ http://jue.li/misc/dir_cgi/dir_cgi-1.1.tar.gz \ http://www.mathopd.org/doc/mathopd.8.gz \ http://www.mathopd.org/doc/mathopd.conf.5.gz \ - mathopd-config.patch mathopd.conf mathopd \ - mathopd-getline.patch) + mathopd-config.patch mathopd.conf mathopd) build () { cd $name-$version/src patch -p2 -i $SRC/mathopd-config.patch - patch -p2 -i $SRC/mathopd-getline.patch make diff --git a/mathopd/mathopd-getline.patch b/mathopd/mathopd-getline.patch deleted file mode 100644 index c5bdeb2..0000000 --- a/mathopd/mathopd-getline.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff -Nru mathopd-1.5p6.orig/src/request.c mathopd-1.5p6/src/request.c ---- mathopd-1.5p6.orig/src/request.c 2009-08-24 16:32:23.822054573 +0200 -+++ mathopd-1.5p6/src/request.c 2009-08-24 16:34:53.672062355 +0200 -@@ -210,7 +210,7 @@ - return buf; - } - --static char *getline(struct pool *p, int fold) -+static char *get_line(struct pool *p, int fold) - { - char *s, *olds, *sp, *end; - int f; -@@ -247,7 +247,7 @@ - break; - } - } -- log_d("getline: fallen off the end"); -+ log_d("get_line: fallen off the end"); - return 0; - } - -@@ -1172,7 +1172,7 @@ - unsigned long cl; - - do { -- l = getline(&r->cn->header_input, 0); -+ l = get_line(&r->cn->header_input, 0); - if (l == 0) - return -1; - } while (*l == 0); -@@ -1201,7 +1201,7 @@ - if (r->protocol_major && r->protocol_minor) - r->cn->keepalive = 1; - n = 0; -- while ((l = getline(&r->cn->header_input, 1)) != 0) { -+ while ((l = get_line(&r->cn->header_input, 1)) != 0) { - s = strchr(l, ':'); - if (s == 0) - continue;
participants (1)
-
crux@crux.nu