summaryrefslogtreecommitdiffstats
path: root/mail/vpopmail-devel
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2002-06-14 09:38:41 +0000
committerroam <roam@FreeBSD.org>2002-06-14 09:38:41 +0000
commitdc76de3cbd23a7c743ce5daff04a3d6aa9ff0b42 (patch)
treef3d4b65dc1ae551e303a18bc50bc8f17088fce67 /mail/vpopmail-devel
parent15066a8b7956642176bb94a64213399d1adda02e (diff)
downloadFreeBSD-ports-dc76de3cbd23a7c743ce5daff04a3d6aa9ff0b42.zip
FreeBSD-ports-dc76de3cbd23a7c743ce5daff04a3d6aa9ff0b42.tar.gz
Fix a segfault when authenticating against the system passwd file:
there's little sense in passing an integer port number to a string comparison routine :) Bump PORTREVISION. Reported by: Rudy <rudy@tzone.it>
Diffstat (limited to 'mail/vpopmail-devel')
-rw-r--r--mail/vpopmail-devel/Makefile1
-rw-r--r--mail/vpopmail-devel/files/patch-vchkpw.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/mail/vpopmail-devel/Makefile b/mail/vpopmail-devel/Makefile
index 69c8278..16563c0 100644
--- a/mail/vpopmail-devel/Makefile
+++ b/mail/vpopmail-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= vpopmail
PORTVERSION= 5.3.6
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.inter7.com/devel/
diff --git a/mail/vpopmail-devel/files/patch-vchkpw.c b/mail/vpopmail-devel/files/patch-vchkpw.c
new file mode 100644
index 0000000..7fb12ce
--- /dev/null
+++ b/mail/vpopmail-devel/files/patch-vchkpw.c
@@ -0,0 +1,11 @@
+--- vchkpw.c.orig Thu Jun 13 15:05:53 2002
++++ vchkpw.c Thu Jun 13 15:06:16 2002
+@@ -556,7 +556,7 @@
+ pw_gid = pw->pw_gid;
+ pw_dir = pw->pw_dir;
+ #ifdef POP_AUTH_OPEN_RELAY
+- if ( (strcmp(LocalPort, "25") != 0) && (strcmp(LocalPort, "465") != 0)) {
++ if ( (LocalPort != 25) && (LocalPort != 465)) {
+ open_smtp_relay();
+ }
+ #endif
OpenPOWER on IntegriCloud