summaryrefslogtreecommitdiff
path: root/www/lynx
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2002-01-16 19:46:33 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2002-01-16 19:46:33 +0000
commit89d951773c67c9326a271534c78458a1720098c3 (patch)
treedaf3418881d8ac056b94250bbe856c3332bc6f8e /www/lynx
parentAdd mingw/opengl95.exe which is distributed on a Microsoft FTP site. (diff)
o updato to 2.8.4rel.1b.
o fix the format string vulnerability if configured with --enable-syslog (disabled by default) http://archives.neohapsis.com/archives/bugtraq/2001-12/0276.html PR: 33936 Submitted by: KOMATSU Shinichiro <koma2@jiro.c.u-tokyo.ac.jp>
Diffstat (limited to 'www/lynx')
-rw-r--r--www/lynx/Makefile8
-rw-r--r--www/lynx/distinfo2
-rw-r--r--www/lynx/files/patch-syslog11
3 files changed, 20 insertions, 1 deletions
diff --git a/www/lynx/Makefile b/www/lynx/Makefile
index 161f2b70af0d..1e1e63a55c8b 100644
--- a/www/lynx/Makefile
+++ b/www/lynx/Makefile
@@ -6,11 +6,14 @@
#
PORTNAME= lynx
-PORTVERSION= 2.8.4.1
+PORTVERSION= 2.8.4.1b
CATEGORIES= www
MASTER_SITES= http://lynx.isc.org/current/
DISTNAME= ${PORTNAME}2.8.4rel.1
+PATCH_SITES= http://lynx.isc.org/current/
+PATCHFILES= lynx2.8.4rel.1a.patch.gz lynx2.8.4rel.1b.patch.gz
+
MAINTAINER= ports@FreeBSD.org
USE_BZIP2= yes
@@ -27,6 +30,9 @@ L_LIB= ${PREFIX}/etc
L_DOC= ${PREFIX}/share/doc/lynx
L_HELP= ${PREFIX}/share/lynx_help
+post-patch:
+ @${RM} ${WRKSRC}/CHANGES.orig
+
post-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_DOC}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_HELP}
diff --git a/www/lynx/distinfo b/www/lynx/distinfo
index d6e78dcabb0a..103534c9f529 100644
--- a/www/lynx/distinfo
+++ b/www/lynx/distinfo
@@ -1 +1,3 @@
MD5 (lynx2.8.4rel.1.tar.bz2) = 6916c0127839f1e454052b683e4691c4
+MD5 (lynx2.8.4rel.1a.patch.gz) = 84a00365afe757edabdb55cb6d73e10d
+MD5 (lynx2.8.4rel.1b.patch.gz) = 34e2c40e93c412e792a7989f30619662
diff --git a/www/lynx/files/patch-syslog b/www/lynx/files/patch-syslog
new file mode 100644
index 000000000000..d15cae52d4ec
--- /dev/null
+++ b/www/lynx/files/patch-syslog
@@ -0,0 +1,11 @@
+--- src/LYUtils.c.orig Mon Jun 11 10:04:20 2001
++++ src/LYUtils.c Wed Jan 16 18:03:39 2002
+@@ -8163,7 +8163,7 @@
+ buf[colon2 - arg + 1] = 0;
+ StrAllocCat(buf, "******");
+ StrAllocCat(buf, atsign);
+- syslog (LOG_INFO|LOG_LOCAL5, buf);
++ syslog (LOG_INFO|LOG_LOCAL5, "%s", buf);
+ CTRACE((tfp, "...alter %s\n", buf));
+ FREE(buf);
+ return;