diff options
| author | Mark Linimon <linimon@FreeBSD.org> | 2004-11-27 07:43:54 +0000 |
|---|---|---|
| committer | Mark Linimon <linimon@FreeBSD.org> | 2004-11-27 07:43:54 +0000 |
| commit | f955960540045774af3f95cdeb666139b01404df (patch) | |
| tree | 5e3a06e68d1e3dcb7b9dc0c06ffa8e5966bd1565 /mail/youbin/files/patch-ae | |
| parent | Remove mail/xpbiff-youbin. One of its dependent ports (mail/youbin) is (diff) | |
As previously announced, remove mail/youbin due to long-standing
security problems.
Diffstat (limited to 'mail/youbin/files/patch-ae')
| -rw-r--r-- | mail/youbin/files/patch-ae | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/mail/youbin/files/patch-ae b/mail/youbin/files/patch-ae deleted file mode 100644 index 51e0d11ddf7d..000000000000 --- a/mail/youbin/files/patch-ae +++ /dev/null @@ -1,37 +0,0 @@ ---- 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> -+#ifdef __FreeBSD__ -+#include <stdlib.h> -+#endif - - #include "youbin.h" - #include "server.h" -@@ -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__ -+ if (daemon(1, 1) == -1) { -+ perror("daemon"); -+ 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); |
