aboutsummaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorAndrey Slusar <anray@FreeBSD.org>2007-01-29 10:55:59 +0000
committerAndrey Slusar <anray@FreeBSD.org>2007-01-29 10:55:59 +0000
commit65cbff6efe9cb8b646b5c8b4c9cda431af60ed70 (patch)
tree343eaa8367c5c464885432d4dbcc4df8fb153be9 /news
parentc52c749ce281fa6a0ec2755a88fa1c4ff0259ff7 (diff)
downloadports-65cbff6efe9cb8b646b5c8b4c9cda431af60ed70.tar.gz
ports-65cbff6efe9cb8b646b5c8b4c9cda431af60ed70.zip
Fix tossing, when `packet' in passwd defined.
Notes
Notes: svn path=/head/; revision=183611
Diffstat (limited to 'news')
-rw-r--r--news/fidogate-ds/Makefile2
-rw-r--r--news/fidogate-ds/files/patch-ftntoss.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/news/fidogate-ds/Makefile b/news/fidogate-ds/Makefile
index 518ba7f46dab..ccea8dfc1d05 100644
--- a/news/fidogate-ds/Makefile
+++ b/news/fidogate-ds/Makefile
@@ -6,7 +6,7 @@
PORTNAME= fidogate
PORTVERSION= 5.1.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= news mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= rusfidogate
diff --git a/news/fidogate-ds/files/patch-ftntoss.c b/news/fidogate-ds/files/patch-ftntoss.c
new file mode 100644
index 000000000000..3ce64bd5fe2d
--- /dev/null
+++ b/news/fidogate-ds/files/patch-ftntoss.c
@@ -0,0 +1,11 @@
+--- src/toss/ftntoss.c.orig Mon Jan 29 12:53:14 2007
++++ src/toss/ftntoss.c Mon Jan 29 12:53:22 2007
+@@ -882,7 +882,7 @@
+ #endif /* !SECURITY */
+
+ if (NULL != (pwd = passwd_lookup("packet", &msg->node_from)) &&
+- !stricmp(pkt->passwd, pwd->passwd))
++ stricmp(pkt->passwd, pwd->passwd))
+ {
+ fglog("Insecure echomail packet from %s, area %s (%s pkt password)",
+ znfp1(&msg->node_from), areaname,