diff options
Diffstat (limited to 'mail')
-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 8a34714..eccda78 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 c7f3054..c2df274 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 3eb40ba..51e0d11 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 0000000..cc60551 --- /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); |