1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Remove mail/milter-sender on author's request. It might be resurrected in

the future when the software is commercially available again.
This commit is contained in:
Volker Stolz 2004-12-02 10:00:26 +00:00
parent a08ed1f160
commit a34e4460d5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122968
13 changed files with 1 additions and 363 deletions

1
MOVED
View File

@ -1342,3 +1342,4 @@ picobsd/ssh-picobsd||2004-11-28|deleted due to build failure
net/partysip||2004-11-28|deleted because due to link failure
audio/mBox|audio/mbox|2004-11-29|renamed to mbox because mbox and mBox are duplicate ports
graphics/digikamplugins|graphics/kipi-plugins|2004-12-01|merged into kipi-plugins
mail/milter-sender||2004-12-02|removed on author's request

View File

@ -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

View File

@ -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>

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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{}'

View File

@ -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.

View File

@ -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

View File

@ -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/

View File

@ -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.
************************************************************************

View File

@ -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