summaryrefslogtreecommitdiff
path: root/mathopd
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2012-02-03 11:50:00 +0100
committerJuergen Daubert <jue@jue.li>2012-02-03 11:50:00 +0100
commit2a2cb63ef76761bf1527e6ddc3091c7f1a650215 (patch)
treeeee88ee47af85f53d4046eb6d1d096e2f4510f17 /mathopd
parente5c1b07c55c312164a77ee3a4b997cc70916ef19 (diff)
downloadopt-2a2cb63ef76761bf1527e6ddc3091c7f1a650215.tar.gz
opt-2a2cb63ef76761bf1527e6ddc3091c7f1a650215.tar.xz
[notify] mathopd: update to 1.5p7
Security fix, see http://www.mathopd.org/security.html
Diffstat (limited to 'mathopd')
-rw-r--r--mathopd/.md5sum3
-rw-r--r--mathopd/Pkgfile8
-rw-r--r--mathopd/mathopd-getline.patch39
3 files changed, 4 insertions, 46 deletions
diff --git a/mathopd/.md5sum b/mathopd/.md5sum
index 7a3f0f938..2ec5e008b 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 a2eb243c5..a02bde6f7 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 c5bdeb29c..000000000
--- 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;

Generated by cgit