aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-12-02 18:00:26 +0800
committervs <vs@FreeBSD.org>2004-12-02 18:00:26 +0800
commit9c78d7813d913ca30505cd1eff820da8396c8842 (patch)
tree00bb5b065c52e98be4c4e33c6791232631a76cb7 /mail
parent713aabb7110a333c50c494be65821c8fb48a23fc (diff)
downloadfreebsd-ports-gnome-9c78d7813d913ca30505cd1eff820da8396c8842.tar.gz
freebsd-ports-gnome-9c78d7813d913ca30505cd1eff820da8396c8842.tar.zst
freebsd-ports-gnome-9c78d7813d913ca30505cd1eff820da8396c8842.zip
Remove mail/milter-sender on author's request. It might be resurrected in
the future when the software is commercially available again.
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile1
-rw-r--r--mail/milter-sender/Makefile138
-rw-r--r--mail/milter-sender/distinfo4
-rw-r--r--mail/milter-sender/files/milter-sender.sh42
-rw-r--r--mail/milter-sender/files/patch-aa11
-rw-r--r--mail/milter-sender/files/patch-ab77
-rw-r--r--mail/milter-sender/files/patch-ad10
-rw-r--r--mail/milter-sender/files/patch-ae11
-rw-r--r--mail/milter-sender/files/patch-lib-makefile.in11
-rw-r--r--mail/milter-sender/pkg-descr9
-rw-r--r--mail/milter-sender/pkg-message28
-rw-r--r--mail/milter-sender/pkg-plist21
12 files changed, 0 insertions, 363 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 84510728672b..8e001dd56f29 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -191,7 +191,6 @@
SUBDIR += mew3-xemacs21-mule
SUBDIR += milter-greylist
SUBDIR += milter-regex
- SUBDIR += milter-sender
SUBDIR += milter-skem
SUBDIR += milter-spamc
SUBDIR += mimedefang
diff --git a/mail/milter-sender/Makefile b/mail/milter-sender/Makefile
deleted file mode 100644
index 5cad71b90142..000000000000
--- a/mail/milter-sender/Makefile
+++ /dev/null
@@ -1,138 +0,0 @@
-# New ports collection makefile for: milter-sender
-# Date created: 7 Sep 2003
-# Whom: Andrey Chernov
-#
-# $FreeBSD$
-#
-
-PORTNAME= milter-sender
-PORTVERSION= 0.62
-CATEGORIES= mail
-MASTER_SITES= http://www.snert.com/Software/download/
-PKGNAMESUFFIX?= ${BERKELEYDB_SUFFIX}
-DISTFILES= libsnert-1.40.tgz milter-sender-${PORTVERSION}.tgz
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Real-time sender address verification, based on Milter API
-
-RESTRICTED= No redistribution allowed
-
-USE_REINPLACE= yes
-GNU_CONFIGURE= yes
-
-WRKSRC= ${WRKDIR}/com/snert/src/milter-sender
-MAKEFILE= makefile
-
-# Options to define Features
-# WITH_DEBUG=yes
-# SENDMAIL_WITH_BERKELEYDB_VER=2
-# SENDMAIL_WITH_BERKELEYDB_VER=3
-# SENDMAIL_WITH_BERKELEYDB_VER=4
-# SENDMAIL_WITH_BERKELEYDB_VER=41
-# SENDMAIL_WITH_BERKELEYDB_VER=42
-
-.include <bsd.port.pre.mk>
-
-.if ( ${OSVERSION} < 440000 )
-BUILD_DEPENDS+= gxargs:${PORTSBASE}/misc/findutils
-.endif
-
-.if !exists(/usr/lib/libmilter.a) && !exists(${LOCALBASE}/lib/libmilter.a)
-IGNORE= requires Sendmail 8.12
-.endif
-.if exists(${LOCALBASE}/lib/libmilter.a)
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-.endif
-CFLAGS+= ${PTHREAD_CFLAGS}
-LDFLAGS+= ${PTHREAD_LIBS}
-
-DOCS= CHANGES.TXT index.shtml style.css mailto.js \
- LICENSE.TXT
-
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
-CONFIGURE_ARGS+=--localstatedir=/var/spool \
- --enable-milter-cf="${PREFIX}/etc/milter-sender.cf"
-.if !defined(WITH_DEBUG)
-CONFIGURE_ARGS+=--disable-debug
-.endif
-
-.if defined(SENDMAIL_WITH_BERKELEYDB_VER)
-.if ${SENDMAIL_WITH_BERKELEYDB_VER} == "2"
-BERKELEYDB_SUFFIX= +db2
-BERKELEYDB_PORT?= databases/db2
-BERKELEYDB_LIB?= db2
-BERKELEYDB_INCLUDE?= ${LOCALBASE}/include/db2
-.endif
-.if ${SENDMAIL_WITH_BERKELEYDB_VER} == "3"
-BERKELEYDB_SUFFIX= +db3
-BERKELEYDB_PORT?= databases/db3
-BERKELEYDB_LIB?= db3
-BERKELEYDB_INCLUDE?= ${LOCALBASE}/include/db3
-.endif
-.if ${SENDMAIL_WITH_BERKELEYDB_VER} == "4"
-BERKELEYDB_SUFFIX= +db4
-BERKELEYDB_PORT?= databases/db4
-BERKELEYDB_LIB?= db4
-BERKELEYDB_INCLUDE?= ${LOCALBASE}/include/db4
-.endif
-.if ${SENDMAIL_WITH_BERKELEYDB_VER} == "41"
-BERKELEYDB_SUFFIX= +db41
-BERKELEYDB_PORT?= databases/db41
-BERKELEYDB_LIB?= db41
-BERKELEYDB_INCLUDE?= ${LOCALBASE}/include/db41
-.endif
-.if ${SENDMAIL_WITH_BERKELEYDB_VER} == "42"
-BERKELEYDB_SUFFIX= +db42
-BERKELEYDB_PORT?= databases/db42
-BERKELEYDB_LIB?= db-4.2
-BERKELEYDB_INCLUDE?= ${LOCALBASE}/include/db42
-.endif
-LIB_DEPENDS+= ${BERKELEYDB_LIB}:${PORTSDIR}/${BERKLEYDB_PORT}
-RUN_DEPENDS+= ${LOCALBASE}/sbin/makemap:${PORTSDIR}/mail/sendmail
-CONFIGURE_ARGS+= --with-db=${BERKELEYDB_INCLUDE}
-.else
-CONFIGURE_ARGS+= --with-db --enable-cache=flatfile
-.endif
-
-USE_RC_SUBR= yes
-RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} NAME=milter_sender
-
-.if !defined(NOPORTDOCS)
-PORTDOCS= *
-.endif
-
-post-extract:
- ${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
- ${FILESDIR}/milter-sender.sh > ${WRKSRC}/milter-sender.sh.freebsd
-
-post-patch:
-.if ( ${OSVERSION} < 440000 ) # please contact vs@ if in doubt
- ${REINPLACE_CMD} 's/xargs -J{}/gxargs -i{}/' ${WRKSRC}/../lib/configure
-.endif
- ${REINPLACE_CMD} "s,-fvolatile,," ${WRKSRC}/configure
-
-pre-configure:
- @cd ${WRKSRC}/../lib && \
- ${SETENV} CC="${CC}" CXX="${CXX}" \
- CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
- INSTALL="/usr/bin/install -c ${_BINOWNGRP}" \
- INSTALL_DATA="${INSTALL_DATA}" \
- INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
- INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
- ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}
- @cd ${WRKSRC}/../lib && \
- ${SETENV} ${MAKE_ENV} ${MAKE} \
- ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}
-
-post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}/Img
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
- @cd ${WRKSRC}/Img && \
- ${INSTALL_DATA} *.gif *.png ${DOCSDIR}/Img
-.endif
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.post.mk>
diff --git a/mail/milter-sender/distinfo b/mail/milter-sender/distinfo
deleted file mode 100644
index c65b3d67d3b4..000000000000
--- a/mail/milter-sender/distinfo
+++ /dev/null
@@ -1,4 +0,0 @@
-MD5 (libsnert-1.40.tgz) = ee97d93f06304a87f54f1caf994cc91b
-SIZE (libsnert-1.40.tgz) = 307456
-MD5 (milter-sender-0.62.tgz) = 0717f2cf3387d993054c43633b21fc6e
-SIZE (milter-sender-0.62.tgz) = 239890
diff --git a/mail/milter-sender/files/milter-sender.sh b/mail/milter-sender/files/milter-sender.sh
deleted file mode 100644
index f5a8b238dc95..000000000000
--- a/mail/milter-sender/files/milter-sender.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: %%NAME%%
-# REQUIRE: syslogd
-# BEFORE: sendmail
-# KEYWORD: FreeBSD shutdown
-
-#
-# Add the following lines to /etc/rc.conf to enable milter-sender:
-#
-#%%NAME%%_enable="YES"
-#
-
-. %%RC_SUBR%%
-
-name=%%NAME%%
-rcvar=`set_rcvar`
-
-# set defaults
-%%NAME%%_enable=${%%NAME%%_enable:-"NO"}
-%%NAME%%_chdir="/var/spool/milter-sender"
-%%NAME%%_pidfile=${%%NAME%%_pidfile:-"$%%NAME%%_chdir/pid"}
-%%NAME%%_flags=${%%NAME%%_flags:-"unix:$%%NAME%%_chdir/socket"}
-
-command=%%PREFIX%%/sbin/milter-sender
-command_args="&"
-required_dirs="$%%NAME%%_chdir"
-
-start_precmd=start_precmd
-start_precmd()
-{
- if [ -s "$%%NAME%%_chdir/mutex" ]; then
- ipcrm -s `cat $%%NAME%%_chdir/mutex`
- fi
- rm -f $%%NAME%%_chdir/{mutex,socket} $%%NAME%%_pidfile
-}
-
-load_rc_config $name
-run_rc_command "$1"
diff --git a/mail/milter-sender/files/patch-aa b/mail/milter-sender/files/patch-aa
deleted file mode 100644
index 8b1e01951158..000000000000
--- a/mail/milter-sender/files/patch-aa
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig Fri Jun 11 20:37:06 2004
-+++ configure Wed Jun 16 13:43:31 2004
-@@ -1647,7 +1647,7 @@
- COMPILE='$(CC) $(CFLAGS) $(CC_O)$*$O -c $<'
-
- # Assume GCC.
-- CFLAGS="$CFLAGS -pthread -Wall -fvolatile"
-+ CFLAGS="$CFLAGS -Wall -fvolatile"
- elif test "$OS" = 'SunOS'; then
- # This used to be -I{}, but I've seen two different SunOS 5.8
- # systems in two different parts of the world with man pages
diff --git a/mail/milter-sender/files/patch-ab b/mail/milter-sender/files/patch-ab
deleted file mode 100644
index 4feeaf337f86..000000000000
--- a/mail/milter-sender/files/patch-ab
+++ /dev/null
@@ -1,77 +0,0 @@
---- install.sh.in.orig Wed Aug 25 17:35:08 2004
-+++ install.sh.in Tue Sep 7 14:25:25 2004
-@@ -25,62 +25,27 @@
- chgrp ${GROUP} ${STATEDIR}
-
- RC="${STARTUP_DIR}/${MILTER}${STARTUP_EXT}"
-+${BSD_INSTALL_SCRIPT} ${MILTER}.sh.freebsd ${RC}.sample
- if [ ! -f $RC ]; then
-- cp ${MILTER}.sh $RC
-- chmod 540 $RC
--
-- case `uname -s` in
-- FreeBSD)
-- ${BSD_INSTALL_PROGRAM} ${MILTER} ${SBINDIR}
-- ;;
-- Linux*)
-- which chkconfig
-- if test $? -eq 0; then
-- chkconfig --add ${MILTER}
-- else
-- # Probably a stupid Debian system.
-- cd ${STARTUP_DIR}
--
-- # Create relative links
-- cd ../rc0.d
-- ln -s ../init.d/${MILTER} K20${MILTER}
-- cd ../rc1.d
-- ln -s ../init.d/${MILTER} K20${MILTER}
-- cd ../rc6.d
-- ln -s ../init.d/${MILTER} K20${MILTER}
--
-- # Assume S20sendmail or higher.
-- cd ../rc2.d
-- ln -s ../init.d/${MILTER} S18${MILTER}
-- cd ../rc3.d
-- ln -s ../init.d/${MILTER} S18${MILTER}
-- cd ../rc4.d
-- ln -s ../init.d/${MILTER} S18${MILTER}
-- cd ../rc5.d
-- ln -s ../init.d/${MILTER} S18${MILTER}
-- fi
-- ;;
-- SunOS*)
-- # Does SunOS have a chkconfig like tool?
-- ln -s $RC /etc/rc2.d/S70${MILTER}
-- ln -s $RC /etc/rcS.d/K30${MILTER}
-- ;;
-- esac
-+ cp ${RC}.sample $RC
- fi
-
--cp -f ${MILTER} ${SBINDIR}
--chmod 550 ${SBINDIR}/${MILTER}
-+${BSD_INSTALL_PROGRAM} ${MILTER} ${SBINDIR}
-
--cp -f ${MILTER}.mc ${MAILDIR}/${MILTER}.mc.sample
-+MILTER_MC=${MAILDIR}/${MILTER}.mc
-+${BSD_INSTALL_DATA} ${MILTER}.mc ${MILTER_MC}.sample
-+if [ ! -f $MILTER_MC ]; then
-+ cp ${MILTER_MC}.sample ${MILTER_MC}
-+fi
-
- # Save the default configuration.
--./milter-sender help=1 >${MILTER_CF}.sample
-+./milter-sender help=1 | sed "s|^MilterSocket=.*|MilterSocket=unix:$STATEDIR/socket|">${MILTER_CF}.sample
-
- # Save the existing configuration with any new additions.
--./milter-sender help=2 >${MILTER_CF}.new
-+./milter-sender help=2 | sed "s|^MilterSocket=.*|MilterSocket=unix:$STATEDIR/socket|">${MILTER_CF}.new
-
--chgrp ${GROUP} ${MAILDIR} ${MAILDIR}/access.* ${MAILDIR}/aliases.* ${MILTER_CF}.sample*
--chmod g+r ${MAILDIR} ${MAILDIR}/access.* ${MAILDIR}/aliases.* ${MILTER_CF}.sample*
-+chgrp ${GROUP} ${MAILDIR}/access.db ${MAILDIR}/aliases.db ${MILTER_CF}.new ${MILTER_CF}.sample
-+chmod g+r ${MAILDIR}/access.db ${MAILDIR}/aliases.db ${MILTER_CF}.new ${MILTER_CF}.sample
-
- echo '***************************************************************'
- echo
diff --git a/mail/milter-sender/files/patch-ad b/mail/milter-sender/files/patch-ad
deleted file mode 100644
index 611e79b2586b..000000000000
--- a/mail/milter-sender/files/patch-ad
+++ /dev/null
@@ -1,10 +0,0 @@
---- ../lib/configure.orig Wed Jun 16 13:56:11 2004
-+++ ../lib/configure Wed Jun 16 13:56:19 2004
-@@ -1621,7 +1621,6 @@
-
- if test "$OS" = 'FreeBSD'; then
- # Assume GCC.
-- CFLAGS="${CFLAGS} -D_THREAD_SAFE -pthread"
- COMPILE='$(CC) $(CFLAGS) $(CC_O)$*$O -c $<'
- ARCHIVE='ar rc $(LIB) {}'
- XARGSI='xargs -J{}'
diff --git a/mail/milter-sender/files/patch-ae b/mail/milter-sender/files/patch-ae
deleted file mode 100644
index 9e8cb82a4bc7..000000000000
--- a/mail/milter-sender/files/patch-ae
+++ /dev/null
@@ -1,11 +0,0 @@
---- milter-sender.mc.in.orig Wed Jun 16 13:58:58 2004
-+++ milter-sender.mc.in Wed Jun 16 13:59:24 2004
-@@ -4,7 +4,7 @@
- dnl Example configuration to be added to sendmail.mc.
- dnl
-
--define(`_FFR_MILTER', `1')dnl
-+dnl define(`_FFR_MILTER', `1')dnl
-
- dnl -------------------------------------------------------------------
- dnl Enable this for debug output from Sendmail.
diff --git a/mail/milter-sender/files/patch-lib-makefile.in b/mail/milter-sender/files/patch-lib-makefile.in
deleted file mode 100644
index 60b04dcba2c4..000000000000
--- a/mail/milter-sender/files/patch-lib-makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- ../lib/makefile.in.orig Mon Oct 25 12:44:54 2004
-+++ ../lib/makefile.in Fri Aug 13 20:34:36 2004
-@@ -60,7 +60,7 @@
-
- OBJS = LibSnert$O
-
--SUBDIRS = crc type util mail sys io ../tools
-+SUBDIRS = crc type util mail sys io
-
- all: build
-
diff --git a/mail/milter-sender/pkg-descr b/mail/milter-sender/pkg-descr
deleted file mode 100644
index 006db4f1546f..000000000000
--- a/mail/milter-sender/pkg-descr
+++ /dev/null
@@ -1,9 +0,0 @@
-SPAM is the black plague of the Internet world and this Sendmail milter
-attempts to address a small subset of the problem by verifying that the
-sender's email address is in good standing by performing an SMTP callback
-to the MX server responsible for the sender's domain. This milter is not
-intended to be a complete solution to the SPAM plague and so it should be
-used in conjunction with other tools such as DNS blacklists and content
-filters. Milter-sender also supports grey-listing.
-
-WWW: http://www.milter.info/milter-sender/
diff --git a/mail/milter-sender/pkg-message b/mail/milter-sender/pkg-message
deleted file mode 100644
index 3c983e4d796d..000000000000
--- a/mail/milter-sender/pkg-message
+++ /dev/null
@@ -1,28 +0,0 @@
-************************************************************************
-
-In order to run this port, please add the following line to
-/etc/mail/YOUR-CONF.mc:
-
-include(`milter-sender.mc')dnl
-
-Don't forget to remake and reinstall the sendmail configuration file
-after modifying YOUR-CONF.mc.
-
-IMPORTANT NOTE for those updating from older releases:
-
-The default cachefile format has changed from bdb to flatfile, because
-the author has observed instabilities and cache corruption problems in
-milter-sender with the version of BerkeleyDB used in base FreeBSD.
-
-So, if one has observed such behaviour before, or just for the sake
-of stability, he should change the CacheType= setting to flatfile in
-milter-sender.cf and move the old cache file away.
-
-A new solution to the problem exists, which may or may not serve better.
-One may build a BerkeleyDB v.2+ -enabled Sendmail (mail/sendmail port
-has now got knobs for it). This way is, of course, a bit more tricky,
-as in the very minimum one should also rebuild this port with
-corresponding BDB settings (see Makefile), may be a couple of other
-programs that use sendmail databases, and rebuild the very databases.
-
-************************************************************************
diff --git a/mail/milter-sender/pkg-plist b/mail/milter-sender/pkg-plist
deleted file mode 100644
index d4891eaf4935..000000000000
--- a/mail/milter-sender/pkg-plist
+++ /dev/null
@@ -1,21 +0,0 @@
-@unexec if [ -f %D/etc/milter-sender.cf ] && cmp -s %D/etc/milter-sender.cf %D/etc/milter-sender.cf.sample; then rm -f %D/etc/milter-sender.cf; fi
-etc/milter-sender.cf.new
-etc/milter-sender.cf.sample
-@exec if [ ! -f %D/etc/milter-sender.cf ] ; then cp -p %D/%F %B/milter-sender.cf; fi
-@unexec if [ -f %D/etc/rc.d/milter-sender.sh ] && cmp -s %D/etc/rc.d/milter-sender.sh %D/etc/rc.d/milter-sender.sh.sample; then rm -f %D/etc/rc.d/milter-sender.sh; fi
-etc/rc.d/milter-sender.sh.sample
-@exec if [ ! -f %D/etc/rc.d/milter-sender.sh ] ; then cp %D/%F %B/milter-sender.sh; fi
-sbin/milter-sender
-@exec install -d -o smmsp -g smmsp -m 755 /var/spool/milter-sender
-@unexec rm -rf /var/spool/milter-sender 2>&1 >/dev/null || true
-@unexec echo
-@unexec echo "If permanently deleting this package, don't forget to delete"
-@unexec echo "the inclusion of milter-sender.mc from /etc/mail/YOUR-CONF.mc"
-@unexec echo "and then to rebuild and reinstall the sendmail configuration file!"
-@unexec echo
-@cwd /
-@unexec if [ -f %D/etc/mail/milter-sender.mc ] && cmp -s %D/etc/mail/milter-sender.mc %D/etc/mail/milter-sender.mc.sample; then rm -f %D/etc/mail/milter-sender.mc; fi
-etc/mail/milter-sender.mc.sample
-@exec if [ ! -f %D/etc/mail/milter-sender.mc ] ; then cp %D/%F %B/milter-sender.mc; fi
-@exec chgrp smmsp %D/etc/mail/access.db %D/etc/mail/aliases.db
-@exec chmod g+r %D/etc/mail/access.db %D/etc/mail/aliases.db