aboutsummaryrefslogtreecommitdiffstats
path: root/news/fidogate-ds
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-21 23:03:54 +0800
committerkrion <krion@FreeBSD.org>2004-08-21 23:03:54 +0800
commit1c182be693dad5fb407d24735acc05d54d785858 (patch)
tree84a787015d5f488a966d86c0c32003d3e75a2a2c /news/fidogate-ds
parent9645af7e137285f9c1ad8ec0e20ab482d19c3d38 (diff)
downloadfreebsd-ports-gnome-1c182be693dad5fb407d24735acc05d54d785858.tar.gz
freebsd-ports-gnome-1c182be693dad5fb407d24735acc05d54d785858.tar.zst
freebsd-ports-gnome-1c182be693dad5fb407d24735acc05d54d785858.zip
Fix security risk for setuid news programs.
PR: ports/70773 Submitted by: maintainer
Diffstat (limited to 'news/fidogate-ds')
-rw-r--r--news/fidogate-ds/Makefile1
-rw-r--r--news/fidogate-ds/files/patch-log.c12
2 files changed, 13 insertions, 0 deletions
diff --git a/news/fidogate-ds/Makefile b/news/fidogate-ds/Makefile
index 8221adb68ac0..2fed9473968f 100644
--- a/news/fidogate-ds/Makefile
+++ b/news/fidogate-ds/Makefile
@@ -6,6 +6,7 @@
PORTNAME= fidogate
PORTVERSION= 5.1.1
+PORTREVISION= 1
CATEGORIES= news mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= rusfidogate
diff --git a/news/fidogate-ds/files/patch-log.c b/news/fidogate-ds/files/patch-log.c
new file mode 100644
index 000000000000..ec8ff0aa90bc
--- /dev/null
+++ b/news/fidogate-ds/files/patch-log.c
@@ -0,0 +1,12 @@
+--- src/common/log.c.old Sat Aug 21 17:21:16 2004
++++ src/common/log.c Sat Aug 21 17:21:24 2004
+@@ -276,9 +276,4 @@
+ char *p;
+
+ BUF_COPY(logprog, name);
+-
+- if( (p = getenv("LOGFILE")) )
+- log_file(p);
+- if( (p = getenv("FIDOGATE_LOGFILE")) )
+- log_file(p);
+ }