aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2008-06-19 07:15:47 +0800
committerpav <pav@FreeBSD.org>2008-06-19 07:15:47 +0800
commit38ac3ce7b10f7f5383c53cb214989f07e30d26d5 (patch)
treeffb1d2636bd8750f17789bf3e2e988bc2753a685
parent16708300da2971e655aa90d5d64d3e1c05bdeb99 (diff)
downloadfreebsd-ports-gnome-38ac3ce7b10f7f5383c53cb214989f07e30d26d5.tar.gz
freebsd-ports-gnome-38ac3ce7b10f7f5383c53cb214989f07e30d26d5.tar.zst
freebsd-ports-gnome-38ac3ce7b10f7f5383c53cb214989f07e30d26d5.zip
- Delete expired security/amavisd port: depends on misc/compat3x, which has
security problems; old version
-rw-r--r--MOVED1
-rw-r--r--security/Makefile1
-rw-r--r--security/amavisd/Makefile135
-rw-r--r--security/amavisd/distinfo3
-rw-r--r--security/amavisd/files/amavisd-milter.sh57
-rw-r--r--security/amavisd/files/amavisd.sh41
-rw-r--r--security/amavisd/files/patch-README.sendmail26
-rw-r--r--security/amavisd/files/patch-amavis-av-clamavd20
-rw-r--r--security/amavisd/files/patch-configure15
-rw-r--r--security/amavisd/pkg-descr7
-rw-r--r--security/amavisd/pkg-install40
-rw-r--r--security/amavisd/pkg-plist19
12 files changed, 1 insertions, 364 deletions
diff --git a/MOVED b/MOVED
index 43c43e9a07e9..9cb27c9407bf 100644
--- a/MOVED
+++ b/MOVED
@@ -3505,3 +3505,4 @@ net/xarchie|||2008-06-18|Has expired: No servers active anymore
net/p5-Net-Z3950|||2008-06-18|Has expired: does not compile with yaz 3.x, deprecated in favor of ZOOM-Perl (net/p5-Net-Z3950-ZOOM)
net/vls|||2008-06-18|Has expired: Does not build with current libdvbpsi. Development has been moved to multimedia/vlc
net-mgmt/nsc|||2008-06-18|Has expired: Project abandoned
+security/amavisd|||2008-06-18|Has expired: depends on misc/compat3x, which has security problems; old version
diff --git a/security/Makefile b/security/Makefile
index a1bbe1aa5afa..7d332e7eeb9e 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -15,7 +15,6 @@
SUBDIR += altivore
SUBDIR += amap
SUBDIR += amavis-stats
- SUBDIR += amavisd
SUBDIR += amavisd-milter
SUBDIR += amavisd-new
SUBDIR += aolserver-nsencrypt
diff --git a/security/amavisd/Makefile b/security/amavisd/Makefile
deleted file mode 100644
index df3da12cc6ce..000000000000
--- a/security/amavisd/Makefile
+++ /dev/null
@@ -1,135 +0,0 @@
-# New ports collection makefile for: amavisd
-# Date created: 13 May 2002
-# Whom: Gea-Suan Lin (gslin@ccca.nctu.edu.tw)
-#
-# $FreeBSD$
-#
-
-PORTNAME= amavisd
-PORTVERSION= 0.1
-PORTREVISION= 4
-PORTEPOCH= 1
-CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= amavis
-DISTNAME= ${PORTNAME}-${PORTVERSION}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= The daemonized version of amavis-perl
-
-DEPRECATED= depends on misc/compat3x, which has security problems; old version
-EXPIRATION_DATE= 2007-09-21
-
-BUILD_DEPENDS= ${LOCALBASE}/bin/arc:${PORTSDIR}/archivers/arc \
- ${LOCALBASE}/bin/lha:${PORTSDIR}/archivers/lha \
- ${LOCALBASE}/bin/unarj:${PORTSDIR}/archivers/unarj \
- ${LOCALBASE}/bin/unrar:${PORTSDIR}/archivers/unrar \
- ${LOCALBASE}/bin/zoo:${PORTSDIR}/archivers/zoo \
- ${SITE_PERL}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
- ${SITE_PERL}/${PERL_ARCH}/Convert/UUlib.pm:${PORTSDIR}/converters/p5-Convert-UUlib \
- ${SITE_PERL}/${PERL_ARCH}/Unix/Syslog.pm:${PORTSDIR}/sysutils/p5-Unix-Syslog \
- ${SITE_PERL}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \
- ${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip \
- ${SITE_PERL}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF \
- ${SITE_PERL}/IO/AtomicFile.pm:${PORTSDIR}/devel/p5-IO-stringy \
- ${SITE_PERL}/MIME/Body.pm:${PORTSDIR}/mail/p5-MIME-Tools \
- ${SITE_PERL}/Mail/Address.pm:${PORTSDIR}/mail/p5-Mail-Tools
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
-GNU_CONFIGURE= yes
-USE_PERL5= yes
-USE_RC_SUBR= yes
-
-AMAVISGROUP?= vscan
-AMAVISUSER?= vscan
-MILTER_SCRIPT=
-MILTER= "@comment -- no milter script --"
-SBIN_AMAVIS= amavis
-SMTPPORT?= 10025
-STARTSCRIPT= amavisd.sh
-WARNADMIN?= yes
-WARNRECIP?= no
-WARNSENDER?= no
-
-CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc \
- --with-amavisuser=${AMAVISUSER}:${AMAVISGROUP} \
- --with-smtp-port=${SMTPPORT} \
- --with-warnsender=${WARNSENDER} \
- --with-warnrecip=${WARNRECIP} \
- --with-warnadmin=${WARNADMIN}
-
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" \
- PTHREAD_LIBS=${PTHREAD_LIBS} PTHREAD_CFLAGS=${PTHREAD_CFLAGS}
-
-RC_SCRIPTS_SUB= AMAVISUSER=${AMAVISUSER} \
- PREFIX=${PREFIX} \
- PERL=${PERL} \
- RC_SUBR=${RC_SUBR}
-PLIST_SUB= SBIN_AMAVIS=${SBIN_AMAVIS} \
- MILTER=${MILTER}
-
-.if !defined(WITHOUT_UVSCAN)
-BUILD_DEPENDS+= uvscan:${PORTSDIR}/security/vscan
-.endif
-
-.if defined(BATCH) || defined(PACKAGE_BUILDING)
-CONFIGURE_ARGS+= --enable-all
-.endif
-
-.if defined(WITH_POSTFIX)
-CONFIGURE_ARGS+= --enable-postfix
-MTA?= postfix
-RUN_DEPENDS+= ${LOCALBASE}/libexec/postfix/smtpd:${PORTSDIR}/mail/postfix
-.elif defined(WITH_POSTFIX_CURRENT)
-CONFIGURE_ARGS+= --enable-postfix
-MTA?= postfix
-RUN_DEPENDS+= ${LOCALBASE}/libexec/postfix/smtpd:${PORTSDIR}/mail/postfix-current
-.elif defined(WITH_MILTER)
-CONFIGURE_ARGS+= --enable-milter
-MTA?= milter
-MILTER_SCRIPT= amavisd-milter
-MILTER=
-SBIN_AMAVIS= amavis-milter
-.else
-CONFIGURE_ARGS+= --enable-sendmail
-MTA?= sendmail
-.endif
-
-pre-fetch:
-.if !defined(WITHOUT_UVSCAN)
- @${ECHO}
- @${ECHO} "Type \"make WITHOUT_UVSCAN=yes\" if you DONT use UVSCAN."
- @${ECHO}
-.endif
-
-post-patch:
-.for script in amavisd ${MILTER_SCRIPT}
- @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${FILESDIR}/${script}.sh > ${WRKSRC}/${script}.sh
-.endfor
- @${PERL} -pi.orig -e 's|/etc/amavisd.conf|${PREFIX}/etc/amavisd.conf|g' ${WRKSRC}/configure ${WRKSRC}/amavis/amavisd.in ${WRKSRC}/amavis/Makefile.in
-
-pre-install:
- @${SETENV} ${SCRIPTS_ENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${AMAVISUSER} ${AMAVISGROUP}
-
-post-install:
-.for script in amavisd ${MILTER_SCRIPT}
- ${INSTALL_SCRIPT} ${WRKSRC}/${script}.sh ${PREFIX}/etc/rc.d/${script}.sh
-.endfor
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for FILE in FAQ INSTALL README README.exim README.milter README.postfix README.qmail README.scanners README.sendmail doc/amavis.html doc/amavis.m4 doc/amavis.png doc/amavis.txt
- ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
-.endfor
- @${ECHO_MSG} "==============================================================================="
- @${ECHO_MSG} "Please read ${DOCSDIR}/README.${MTA}"
- @${ECHO_MSG} "==============================================================================="
-.endif
-
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500800
-BUILD_DEPENDS+= ${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net \
- ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/security/amavisd/distinfo b/security/amavisd/distinfo
deleted file mode 100644
index a8af4dba3079..000000000000
--- a/security/amavisd/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (amavisd-0.1.tar.gz) = 432a32bfc6d473564f49028b540f53ad
-SHA256 (amavisd-0.1.tar.gz) = e34e54c25bda34f4f3d1355423e8555f62b9ee3f67387fd392f98b2059963e63
-SIZE (amavisd-0.1.tar.gz) = 329501
diff --git a/security/amavisd/files/amavisd-milter.sh b/security/amavisd/files/amavisd-milter.sh
deleted file mode 100644
index b82ced27f4e3..000000000000
--- a/security/amavisd/files/amavisd-milter.sh
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: amavisd-milter
-# BEFORE: amavisd mail
-# KEYWORD: shutdown
-
-prefix=%%PREFIX%%
-
-# Define these amavisd_milter_* variables in one of these files:
-# /etc/rc.conf
-# /etc/rc.conf.local
-#
-# DO NOT CHANGE THESE DEFAULT VALUES HERE
-amavisd_milter_enable="${amavisd_milter_enable-NO}"
-amavisd_milter_flags="-D"
-amavisd_milter_user=%%AMAVISUSER%%
-#amavisd_milter_socket="inet:9999@127.0.0.1"
-amavisd_milter_socket="local:/var/amavis/amavis-milter.sock"
-
-. %%RC_SUBR%%
-
-name="amavisd_milter"
-rcvar=`set_rcvar`
-start_precmd="amavisd_precmd"
-stop_postcmd="remove_socket"
-command=${prefix}/sbin/amavis-milter
-
-# Remove the AMaViSd Milter Socket
-remove_socket()
-{
- case ${amavisd_milter_socket} in
- unix:*|local:*)
- socket=`echo ${amavisd_milter_socket} | /usr/bin/cut -d: -f2`
- if [ -S ${socket} ]; then
- rm -f ${socket}
- fi
- ;;
- /*)
- if [ -S ${amavisd_milter_socket} ]; then
- rm -f ${amavisd_milter_socket}
- fi
- ;;
- esac
-}
-
-amavisd_precmd()
-{
- rc_flags="${rc_flags} -p ${amavisd_milter_socket}"
-
- remove_socket
-}
-
-load_rc_config $name
-run_rc_command "$1"
diff --git a/security/amavisd/files/amavisd.sh b/security/amavisd/files/amavisd.sh
deleted file mode 100644
index 3f319a334784..000000000000
--- a/security/amavisd/files/amavisd.sh
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: amavisd
-# BEFORE: mail
-# KEYWORD: shutdown
-
-prefix=%%PREFIX%%
-
-# Define these amavisd_* variables in one of these files:
-# /etc/rc.conf
-# /etc/rc.conf.local
-#
-# DO NOT CHANGE THESE DEFAULT VALUES HERE
-amavisd_enable="${amavisd_enable-NO}"
-amavisd_flags=""
-amavisd_user=%%AMAVISUSER%%
-
-. %%RC_SUBR%%
-
-name="amavisd"
-rcvar=`set_rcvar`
-start_precmd="remove_socket"
-stop_postcmd="remove_socket"
-command=${prefix}/sbin/amavisd
-command_arg="> /dev/null 2>&1"
-command_interpreter="%%PERL%%"
-pidfile="/var/amavis/amavisd.pid"
-
-# Remove the AMaViSd Socket
-remove_socket()
-{
- if [ -S /var/amavis/amavisd.sock ]; then
- rm -f /var/amavis/amavisd.sock
- fi
-}
-
-load_rc_config $name
-run_rc_command "$1"
diff --git a/security/amavisd/files/patch-README.sendmail b/security/amavisd/files/patch-README.sendmail
deleted file mode 100644
index 8f95add72d9a..000000000000
--- a/security/amavisd/files/patch-README.sendmail
+++ /dev/null
@@ -1,26 +0,0 @@
---- README.sendmail.orig Sun Aug 4 18:38:01 2002
-+++ README.sendmail Sun Aug 4 18:39:50 2002
-@@ -18,7 +18,7 @@
-
- Mlocal, P=/usr/sbin/amavis, F=lsDFMAw5:/|@qrn9, S=10/30, R=20/40,
- T=DNS/RFC822/X-Unix,
-- A=amavis $f $u -- /bin/mail.local -d $u
-+ A=amavis $f $u -- /usr/libexec/mail.local -d $u
-
- Note that m (delivery to multiple recipients) has been removed from the
- F equate! Amavis receives sender ($f) and recipient ($u) from the command
-@@ -33,11 +33,9 @@
- you should add the following just before the MAILER definitions:
-
- dnl
--dnl Change Mlocal to use AMaViS-Perl
--define(`LOCAL_MAILER_PATH', `/usr/sbin/amavis')dnl
--define(`LOCAL_MAILER_ARGS', CONCAT(`amavis $f $u -- ',
--define(`LOCAL_MAILER_ARGS', CONCAT(`amavis $f $u -- /usr/bin/',
--LOCAL_MAILER_ARGS))dnl
-+dnl Change Mlocal to use AMaViS
-+define(`LOCAL_MAILER_PATH', `/usr/local/sbin/amavis')dnl
-+define(`LOCAL_MAILER_ARGS', CONCAT(`amavis $f $u -- /usr/libexec/', LOCAL_MAILER_ARGS, ` -d $u'))dnl
- dnl please set the path to your procmail accordingly!
- dnl the following works only with sendmail 8.10.x or above
- MODIFY_MAILER_FLAGS(`LOCAL', -m')dnl
diff --git a/security/amavisd/files/patch-amavis-av-clamavd b/security/amavisd/files/patch-amavis-av-clamavd
deleted file mode 100644
index 6419b3745dbb..000000000000
--- a/security/amavisd/files/patch-amavis-av-clamavd
+++ /dev/null
@@ -1,20 +0,0 @@
---- amavis/av/clamavd.orig Tue Feb 25 11:42:54 2003
-+++ amavis/av/clamavd Mon Jun 7 01:16:46 2004
-@@ -5,7 +5,7 @@
-
- if ($clamd) {
- do_log(2,"Using clamd");
-- my $sock = IO::Socket::INET->new('127.0.0.1:3310');
-+ my $sock = IO::Socket::UNIX->new(Peer => '/var/run/clamav/clamd');
- if (defined $sock) {
- $sock->print("SCAN $TEMPDIR/parts\n");
- $sock->flush;
-@@ -15,7 +15,7 @@
- if ($output =~ /FOUND$/) { # no errors, a virus was found
- $scanner_errors = 0;
- @virusname = ($output =~ /: (.+) FOUND/g);
-- return 1; # 'true' indicates virus found and stops further checking
-+ do_virus($output);
- } elsif ($output =~ /OK$/) { # no errors, no viruses
- $scanner_errors = 0;
- } elsif ($output =~ /ERROR$/) {
diff --git a/security/amavisd/files/patch-configure b/security/amavisd/files/patch-configure
deleted file mode 100644
index 7edcfbbae50f..000000000000
--- a/security/amavisd/files/patch-configure
+++ /dev/null
@@ -1,15 +0,0 @@
---- configure-orig Wed Feb 19 08:22:25 2003
-+++ configure Wed Sep 10 19:34:30 2003
-@@ -3083,11 +3083,11 @@
- #define HAVE_SM_SM_STRLCPY 1
- EOF
-
-+ LIBS="-lsm $LIBS"
- else
- echo "$ac_t""no" 1>&6
- fi
-
-- LIBS="-lsm $LIBS"
- fi
-
-
diff --git a/security/amavisd/pkg-descr b/security/amavisd/pkg-descr
deleted file mode 100644
index ba7321d976c5..000000000000
--- a/security/amavisd/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-amavisd is the daemonized version of amavis-perl
-
-Note that the installation is different than the original package, and the
-integration into your MTA can be different, so please read the README and
-INSTALL files very carefully.
-
-WWW: http://www.amavis.org/
diff --git a/security/amavisd/pkg-install b/security/amavisd/pkg-install
deleted file mode 100644
index d25e0edc2ca0..000000000000
--- a/security/amavisd/pkg-install
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-PKG_PREFIX=${PKG_PREFIX:=/usr/local}
-BATCH=${BATCH:=no}
-
-USER=$1
-GROUP=$2
-
-if /usr/sbin/pw groupshow "${GROUP}" 2>/dev/null; then
- echo "You already have a group \"${GROUP}\", so I will use it."
-else
- if /usr/sbin/pw groupadd ${GROUP} -h -g 110 -
- then
- echo "Added group \"${GROUP}\"."
- else
- echo "Adding group \"${GROUP}\" failed..."
- echo "Please create it, and try again."
- exit 1
- fi
-fi
-
-if /usr/sbin/pw user show "${USER}" 2>/dev/null; then
- echo "You already have a user \"${USER}\", so I will use it."
-else
- if /usr/sbin/pw useradd ${USER} -g ${GROUP} -h - \
- -d /var/amavis \
- -s /bin/sh \
- -c "Scanning Virus Account" \
- -u 110
- then
- echo "Added user \"${USER}\"."
- else
- echo "Adding user \"${USER}\" failed..."
- echo "Please create it, and try again."
- exit 1
- fi
-fi
diff --git a/security/amavisd/pkg-plist b/security/amavisd/pkg-plist
deleted file mode 100644
index 8c6e4ab332f4..000000000000
--- a/security/amavisd/pkg-plist
+++ /dev/null
@@ -1,19 +0,0 @@
-%%PORTDOCS%%%%DOCSDIR%%/FAQ
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/README.exim
-%%PORTDOCS%%%%DOCSDIR%%/README.milter
-%%PORTDOCS%%%%DOCSDIR%%/README.postfix
-%%PORTDOCS%%%%DOCSDIR%%/README.qmail
-%%PORTDOCS%%%%DOCSDIR%%/README.scanners
-%%PORTDOCS%%%%DOCSDIR%%/README.sendmail
-%%PORTDOCS%%%%DOCSDIR%%/amavis.html
-%%PORTDOCS%%%%DOCSDIR%%/amavis.m4
-%%PORTDOCS%%%%DOCSDIR%%/amavis.png
-%%PORTDOCS%%%%DOCSDIR%%/amavis.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-etc/amavisd.conf
-sbin/%%SBIN_AMAVIS%%
-sbin/amavisd
-%%MILTER%%etc/rc.d/amavisd-milter.sh
-etc/rc.d/amavisd.sh