diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 2003-08-18 01:42:20 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 2003-08-18 01:42:20 +0000 |
commit | f4c47bb0961c08a196db469a6c4ca0ad6f00de2a (patch) | |
tree | dee679060805447f028d4435474a90cb307cc8ef /mail/youbin | |
parent | Add an entry for devel/gide. (diff) |
Upgrade to 3.5. The PR submitter claims that buffer overrun issues have been eliminated, but I'll keep this port forbidden till I get a green light from the security tem.
PR: 55676
Submitted by: KIMURA Yasuhiro <yasu@utahime.org>
Notes
Notes:
svn path=/head/; revision=87162
Diffstat (limited to 'mail/youbin')
-rw-r--r-- | mail/youbin/Makefile | 2 | ||||
-rw-r--r-- | mail/youbin/distinfo | 2 | ||||
-rw-r--r-- | mail/youbin/files/patch-ae | 23 | ||||
-rw-r--r-- | mail/youbin/files/patch-client.c | 11 |
4 files changed, 29 insertions, 9 deletions
diff --git a/mail/youbin/Makefile b/mail/youbin/Makefile index 8a347146941d..eccda7839aaa 100644 --- a/mail/youbin/Makefile +++ b/mail/youbin/Makefile @@ -6,7 +6,7 @@ # PORTNAME= youbin -PORTVERSION= 3.4 +PORTVERSION= 3.5 CATEGORIES= mail MASTER_SITES= http://www.agusa.nuie.nagoya-u.ac.jp/software/agusalab/youbin/archive/ DISTNAME= ${PORTNAME}${PORTVERSION}-unix diff --git a/mail/youbin/distinfo b/mail/youbin/distinfo index c7f30547543f..c2df2748793a 100644 --- a/mail/youbin/distinfo +++ b/mail/youbin/distinfo @@ -1 +1 @@ -MD5 (youbin3.4-unix.tar.gz) = 234223775792e003c12e4f52efa97e75 +MD5 (youbin3.5-unix.tar.gz) = 1908de828ce5023a7d045babb9bef2e9 diff --git a/mail/youbin/files/patch-ae b/mail/youbin/files/patch-ae index 3eb40ba079dd..51e0d11ddf7d 100644 --- a/mail/youbin/files/patch-ae +++ b/mail/youbin/files/patch-ae @@ -1,6 +1,6 @@ ---- server.c.orig Sun Apr 15 23:17:13 2001 -+++ server.c Tue May 15 12:26:12 2001 -@@ -48,6 +48,9 @@ +--- server.c.orig Thu May 8 12:34:45 2003 ++++ server.c Mon Aug 18 10:27:55 2003 +@@ -49,6 +49,9 @@ #include <pwd.h> /* For getpwuid(). */ #include <signal.h> #include <stdio.h> @@ -10,11 +10,10 @@ #include "youbin.h" #include "server.h" -@@ -148,6 +151,15 @@ - signal(SIGTERM, sig_quit); +@@ -151,6 +154,15 @@ signal(SIGHUP, sig_hup); signal(SIGALRM, sig_alarm); -+ + + /*Go to background. This part was modified locally by Masafumi NAKANE + <max@FreeBSD.org>, and is used only on FreeBSD.*/ +#ifdef __FreeBSD__ @@ -23,6 +22,16 @@ + kill(getpid(), SIGTERM); + } +#endif - ++ /* Dive into main loop. Don't use setjmp() and longjmp(), because list maintenance routines are in critical section. */ + alarm(UNIT_TIME); +@@ -359,7 +371,7 @@ + #endif + if( !(sp->mode.head_list) ) { + send_packet(buff, sp); /* Send header and so on. */ +- retrun; ++ return; + } + + line = buff + strlen(buff); diff --git a/mail/youbin/files/patch-client.c b/mail/youbin/files/patch-client.c new file mode 100644 index 000000000000..cc605518315b --- /dev/null +++ b/mail/youbin/files/patch-client.c @@ -0,0 +1,11 @@ +--- client.c.orig Thu May 8 12:34:44 2003 ++++ client.c Mon Aug 18 10:30:05 2003 +@@ -400,7 +400,7 @@ + + if( *config_file == '\0' ){ + if (env) +- strncpy ( rcfile, env, sizeof(rcsfile) - strlen(youbinrc) - 1); ++ strncpy ( rcfile, env, sizeof(rcfile) - strlen(youbinrc) - 1); + else if ((pwent = (struct passwd *) getpwuid (getuid ())) + && pwent->pw_dir) + strcpy ( rcfile, pwent->pw_dir); |