aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2004-11-27 15:43:54 +0800
committerlinimon <linimon@FreeBSD.org>2004-11-27 15:43:54 +0800
commitd5269da88f7cbbab06e4f98a8fc349535e774929 (patch)
treefebed1bfe7392e4c04198c3c924b45743e0fc5fb /mail
parent9870e96e18ff9a35a5467c883aa4a72cafd98850 (diff)
downloadfreebsd-ports-gnome-d5269da88f7cbbab06e4f98a8fc349535e774929.tar.gz
freebsd-ports-gnome-d5269da88f7cbbab06e4f98a8fc349535e774929.tar.zst
freebsd-ports-gnome-d5269da88f7cbbab06e4f98a8fc349535e774929.zip
As previously announced, remove mail/youbin due to long-standing
security problems.
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile1
-rw-r--r--mail/youbin/Makefile49
-rw-r--r--mail/youbin/distinfo1
-rw-r--r--mail/youbin/files/patch-aa90
-rw-r--r--mail/youbin/files/patch-ae37
-rw-r--r--mail/youbin/files/patch-client.c11
-rw-r--r--mail/youbin/files/xyoubin.sh12
-rw-r--r--mail/youbin/files/youbind.sh.sample25
-rw-r--r--mail/youbin/pkg-descr16
-rw-r--r--mail/youbin/pkg-install13
-rw-r--r--mail/youbin/pkg-plist24
-rw-r--r--mail/youbin/pkg-req23
12 files changed, 0 insertions, 302 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 0b7718488273..8bc35f096d79 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -482,7 +482,6 @@
SUBDIR += xmailwatcher
SUBDIR += xpbiff
SUBDIR += yadda
- SUBDIR += youbin
SUBDIR += yuzu
SUBDIR += zmailer
# SUBDIR += mailman-devel
diff --git a/mail/youbin/Makefile b/mail/youbin/Makefile
deleted file mode 100644
index 826e0094c177..000000000000
--- a/mail/youbin/Makefile
+++ /dev/null
@@ -1,49 +0,0 @@
-# New ports collection makefile for: youbin
-# Date created: 09 Aug 1996
-# Whom: Masafumi NAKANE <max@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= youbin
-PORTVERSION= 3.5
-CATEGORIES= mail
-MASTER_SITES= http://www.agusa.nuie.nagoya-u.ac.jp/software/agusalab/youbin/archive/
-DISTNAME= ${PORTNAME}${PORTVERSION}-unix
-
-MAINTAINER= max@FreeBSD.org
-COMMENT= Mail arrival notification service package
-
-FORBIDDEN= Locally exploitable buffer overflow in set-user-ID executable
-EXPIRATION_DATE=2004-08-20
-DEPRECATED= ${FORBIDDEN}
-
-USE_IMAKE= yes
-USE_X_PREFIX= no
-USE_XPM= yes
-WRKSRC= ${WRKDIR}/Youbin-Unix
-NO_INSTALL_MANPAGES= yes
-
-SAMPLE_SCRIPTS= youbind.sh.sample xyoubin.sh
-
-pre-build:
- @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGREQ} ${PKGNAME} BUILD
-
-pre-install:
- @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGREQ} ${PKGNAME} INSTALL
-
-post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/youbin
- ${INSTALL_DATA} ${WRKSRC}/Doc/* ${PREFIX}/share/doc/youbin
-.endif
- ${MKDIR} ${PREFIX}/share/examples/youbin/Bitmap
- ${INSTALL_DATA} ${WRKSRC}/Bitmap/* ${PREFIX}/share/examples/youbin/Bitmap
-.for f in ${SAMPLE_SCRIPTS}
- ${SED} s:@PREFIX@:${PREFIX}: ${FILESDIR}/$f \
- > ${PREFIX}/share/examples/youbin/$f
- ${CHMOD} 755 ${PREFIX}/share/examples/youbin/$f
-.endfor
- @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-
-.include <bsd.port.mk>
diff --git a/mail/youbin/distinfo b/mail/youbin/distinfo
deleted file mode 100644
index c2df2748793a..000000000000
--- a/mail/youbin/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (youbin3.5-unix.tar.gz) = 1908de828ce5023a7d045babb9bef2e9
diff --git a/mail/youbin/files/patch-aa b/mail/youbin/files/patch-aa
deleted file mode 100644
index 7940703ed999..000000000000
--- a/mail/youbin/files/patch-aa
+++ /dev/null
@@ -1,90 +0,0 @@
---- Imakefile.orig Sat Apr 21 01:01:08 2001
-+++ Imakefile Sun Nov 4 07:31:58 2001
-@@ -15,12 +15,14 @@
- /*
- * Directories.
- */
-+/* Installation prefix */
-+PREFIX ?= /usr/local
-
- /* Directory for server. */
--SERVER_BINDIR = /usr/local/sbin
-+SERVER_BINDIR = ${PREFIX}/sbin
-
- /* Directory for clients. */
--BINDIR = /usr/local/bin
-+BINDIR = ${PREFIX}/bin
-
- /* Select one of them.
- * If you want to use on-line manual written in Japanese, use DOCDIR_JP. */
-@@ -49,6 +51,7 @@
- * Select one of them, if you don't like these default values. */
- /* MAIL_SPOOL = -DMAIL_SPOOL=\"/usr/mail/\" */
- /* MAIL_SPOOL = -DMAIL_SPOOL=\"/usr/spool/mail/\" */
-+MAIL_SPOOL = -DMAIL_SPOOL=\"/var/mail/\"
-
- /* Syslog: Comment following lines, if you don't want to use syslog. */
- SYSLOG = -DSYSLOG
-@@ -65,9 +68,9 @@
- UNIT_TIME = 180
-
- /* XPM: Uncomment following lines, if you want to use pixmap. */
--/*XPM_DEFS = -DUSE_XPM*/
--/*XPM_LIBS = str_to_pixmap.o locate_pixmap.o*/
--/*XPM_FLAGS = -lXpm*/
-+XPM_DEFS = -DUSE_XPM
-+XPM_LIBS = str_to_pixmap.o locate_pixmap.o
-+XPM_FLAGS = -lXpm
-
- /*
- * Other configurations.
-@@ -90,15 +93,15 @@
- * USE_VARARGS Use UNIX's native routines.
- */
-
--/* SPECIAL_DEFS = */
-+SPECIAL_DEFS =-DUSE_STDARG -DUSE_POSIX_WAIT
- /* SPECIAL_LIBS = */
-
- /*
- * Files.
- */
-
--/* TARGETS = $(SERVER) $(CLIENTS) */
--TARGETS = $(CLIENTS)
-+TARGETS = $(SERVER) $(CLIENTS)
-+/* TARGETS = $(CLIENTS) */
- SERVER = youbind
- CLIENTS = sendto xyoubin youbin
-
-@@ -156,24 +159,26 @@
-
- all:: $(TARGETS)
-
--/* SingleProgramTarget(youbind,$(YOUBIND_OBJS),$(LDFLAGS),) */
--/* SingleProgramTarget(sendto,$(SENDTO_OBJS),,) */
-+SingleProgramTarget(youbind,$(YOUBIND_OBJS),$(LDFLAGS),)
-+SingleProgramTarget(sendto,$(SENDTO_OBJS),,)
- SingleProgramTarget(xyoubin,$(XYOUBIN_OBJS),$(EXT_LIBS),)
- SingleProgramTarget(youbin,$(YOUBIN_OBJS),,)
-
--/* InstallProgram(youbind,$(SERVER_BINDIR)) */
--/* InstallProgram(sendto,$(BINDIR)) */
-+InstallProgram(youbind,$(SERVER_BINDIR))
-+InstallProgram(sendto,$(BINDIR))
- InstallProgram(xyoubin,$(BINDIR))
- InstallProgramWithFlags(youbin,$(BINDIR),$(INSTUIDFLAGS))
-
- /* InstallAppDefaults(XYoubin) */
-
-+/*
- install.man::
- csh -c "cp $(MANSRC_DIR)/*.man ."
-
- InstallManPage(youbin,$(MANDIR))
- InstallManPage(youbin_sub,$(MANDIR))
- InstallManPage(youbind,$(MANDIR))
-+*/
-
- DependTarget()
- LintTarget()
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);
diff --git a/mail/youbin/files/patch-client.c b/mail/youbin/files/patch-client.c
deleted file mode 100644
index cc605518315b..000000000000
--- a/mail/youbin/files/patch-client.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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);
diff --git a/mail/youbin/files/xyoubin.sh b/mail/youbin/files/xyoubin.sh
deleted file mode 100644
index 2fcfbbd705e8..000000000000
--- a/mail/youbin/files/xyoubin.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-#
-# Sample startup script for xyoubin.
-#
-
-xyoubin=@PREFIX@/bin/xyoubin
-mailserver=localhost
-bitmapdir=@PREFIX@/share/examples/youbin/Bitmap
-
-if [ -x ${xyoubin} ]; then
- ${xyoubin} -server ${mailserver} -full ${bitmapdir}/youbinFull.xpm -empty ${bitmapdir}/youbinEmpty.xpm
-fi
diff --git a/mail/youbin/files/youbind.sh.sample b/mail/youbin/files/youbind.sh.sample
deleted file mode 100644
index a69a7cf95903..000000000000
--- a/mail/youbin/files/youbind.sh.sample
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-#
-# CAUTION:
-# Youbin has potentail security problem.
-# If this program is used on your system, great care must be taken
-# to avoid any security problem.
-#
-# Copy this script into /usr/local/etc/rc.d/youbind.sh to start yubind
-# automatically at boot time.
-
-case "$1" in
-start)
- if [ -x @PREFIX@/sbin/youbind ]; then
- @PREFIX@/sbin/youbind ; echo -n ' youbind'
- fi
-stop)
- killall youbind && echo -n ' youbind'
- ;;
-*)
- echo "Usage: `basename $0` {start|stop}" >&2
- exit 64
- ;;
-esac
-
-exit 0
diff --git a/mail/youbin/pkg-descr b/mail/youbin/pkg-descr
deleted file mode 100644
index 14261fbe3935..000000000000
--- a/mail/youbin/pkg-descr
+++ /dev/null
@@ -1,16 +0,0 @@
----- From README (slightly modified) ---
-
-youbin is a kind of biff in the network age. When youbin is used, the
-mail spool of a certain, specific machine (mail server) is observed to
-inform the arrival of mail to a user at an arbitrary machine through
-the network. On the other hands, the conventional "biff" informs only
-the user who logs in at the machine on which the mail spool
-resides. Combining with POP, youbin eliminates a lot of NFS mount of
-mail spool directory caused by checking mail arrival.
-
-Since youbin is designed with event driven, the user is promptly
-informed of status change of mail spool caused by arrival of new
-message and/or reading messages.
-
-WWW: http://www.agusa.nuie.nagoya-u.ac.jp/software/agusalab/youbin/youbin-e.html
-- Max
diff --git a/mail/youbin/pkg-install b/mail/youbin/pkg-install
deleted file mode 100644
index 5ab7f5561a90..000000000000
--- a/mail/youbin/pkg-install
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-if [ "$2" != "POST-INSTALL" ]; then exit 0; fi
-
-echo "***********************************************************"
-echo " Now, if you want to run the youbin server on this system:"
-echo " 1. Rename ${PKG_PREFIX}/etc/rc.d/youbind.sh.sample to "
-echo " ${PKG_PREFIX}/etc/rc.d/youbind.sh."
-grep -v ^# /etc/inetd.conf | grep comsat > /dev/null
-if [ $? -eq 0 ]; then
- echo " 2. Comment out the entry for comsat in /etc/inetd.conf and do"
- echo " kill -HUP `cat /var/run/inetd.pid`"
-fi
-echo "***********************************************************"
diff --git a/mail/youbin/pkg-plist b/mail/youbin/pkg-plist
deleted file mode 100644
index d7e9686a9d7d..000000000000
--- a/mail/youbin/pkg-plist
+++ /dev/null
@@ -1,24 +0,0 @@
-bin/youbin
-bin/xyoubin
-bin/sendto
-sbin/youbind
-share/examples/youbin/youbind.sh.sample
-share/examples/youbin/xyoubin.sh
-share/examples/youbin/Bitmap/mail.xpm
-share/examples/youbin/Bitmap/nomail.xpm
-share/examples/youbin/Bitmap/youbinEmpty.1.5.xpm
-share/examples/youbin/Bitmap/youbinEmpty.2.xpm
-share/examples/youbin/Bitmap/youbinEmpty.xpm
-share/examples/youbin/Bitmap/youbinFull.1.5.xpm
-share/examples/youbin/Bitmap/youbinFull.2.xpm
-share/examples/youbin/Bitmap/youbinFull.xpm
-share/examples/youbin/Bitmap/youbinKita.xbm
-share/examples/youbin/Bitmap/youbinNai.xbm
-%%PORTDOCS%%share/doc/youbin/README
-%%PORTDOCS%%share/doc/youbin/Spec_3
-%%PORTDOCS%%share/doc/youbin/protocol.tex
-%%PORTDOCS%%share/doc/youbin/state.eps
-%%PORTDOCS%%share/doc/youbin/youbinrc.doc
-%%PORTDOCS%%@dirrm share/doc/youbin
-@dirrm share/examples/youbin/Bitmap
-@dirrm share/examples/youbin
diff --git a/mail/youbin/pkg-req b/mail/youbin/pkg-req
deleted file mode 100644
index e0e8b4d69f12..000000000000
--- a/mail/youbin/pkg-req
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-case "$2" in
- INSTALL|BUILD)
- echo '**********************************************************************'
- echo '* WARNING!!! *'
- echo '* Youbin has potential security problem!! *'
- echo '* It is discouraged to use this program to avoid any security *'
- echo '* problem. *'
- echo '**********************************************************************'
- if [ ! -z "${PACKAGE_BUILDING}" -o ! -z "${BATCH}" ]; then
- exit 0
- fi
- read -p 'Would you like to proceed (y/n)? ' ans
- case "X$ans" in
- Xy*|XY*)
- exit 0
- ;;
- *)
- exit 1
- ;;
- esac
- ;;
-esac