ports/55378: Updated port: mail/sccmilter

Rashid N. Achilov shelton at sentry.granch.ru
Fri Aug 8 13:50:21 UTC 2003


>Number:         55378
>Category:       ports
>Synopsis:       Updated port: mail/sccmilter
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 08 06:50:17 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Rashid N. Achilov
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Granch Ltd.
>Environment:
System: FreeBSD sentry.granch.ru 4.8-STABLE FreeBSD 4.8-STABLE #6: Mon Aug 4 12:34:51 NOVST 2003 shelton at sentry.granch.ru:/usr/src/sys/compile/Sentry i386
>Description:

Updating port mail/sccmilter up to version 0.92.4. This is only bugfix version,
it doesn't added any new features.

>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	sccmilter
#	sccmilter/Makefile
#	sccmilter/pkg-descr
#	sccmilter/pkg-message
#	sccmilter/pkg-plist
#	sccmilter/distinfo
#
echo c - sccmilter
mkdir -p sccmilter > /dev/null 2>&1
echo x - sccmilter/Makefile
sed 's/^X//' >sccmilter/Makefile << 'END-of-sccmilter/Makefile'
X# New ports collection makefile for:   sccmilter
X# Date created:                25 Jul 2003
X# Whom:                        Rashid N. Achilov <shelton at granch.ru>
X#
X# $FreeBSD: ports/mail/sccmilter/Makefile,v 1.1 2003/07/29 13:59:35 krion Exp $
X#
X
XPORTNAME=	sccmilter
XPORTVERSION=	0.92.4
XPORTREVISION=
XCATEGORIES=	mail sysutils
XMASTER_SITES=	ftp://granch.ru/pub/kavmilter/
X
XMAINTAINER=	shelton at granch.ru
XCOMMENT=	Sendmail spam control and canceling filter, based on Milter API
X
X.if !exists(/usr/lib/libmilter.a)
XIGNORE=		requires Sendmail 8.12; upgrade the base system
X.endif
X
XUSE_BZIP2=	yes
XUSE_GETOPT_LONG=yes
XUSE_REINPLACE=	yes
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS+=	--localstatedir=/var
X
XMAN5=		sccmilter.conf.5 scchosts.5 sccusers.5
XMAN8=		sccmilter.8
X
XCPPFLAGS=	${PTHREAD_CFLAGS}
XLDFLAGS=	${PTHREAD_LIBS}
XMAKE_ENV=	CPPFLAGS="${CPPFLAGS}" \
X		LDFLAGS="${LDFLAGS}"
X
X.if defined(WITH_DEBUG)
XCONFIGURE_ARGS+=	--with-debug
X.endif
X
Xpre-configure:
X	@${ECHO_MSG} ""
X	@${ECHO_MSG} "For debugging information support you should specify"
X	@${ECHO_MSG} "	WITH_DEBUG=yes (press Ctrl-C here and start make  WITH_DEBUG=yes)"
X	@${ECHO_MSG} ""
X	@sleep 2
X
Xpost-install:
X	${STRIP_CMD} ${PREFIX}/libexec/sccmilter
X
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.for i in README CHANGES FAQ
X	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
X.endfor
X.endif
X
X	@${CAT} ${PKGMESSAGE}
X
Xpost-deinstall:
X	@${ECHO_MSG} ""
X	@${ECHO_MSG} "Do not forget delete filter description from  /etc/mail/freebsd.mc"
X	@${ECHO_MSG} "and rebuild sendmail.cf file!"
X	@${ECHO_MSG} ""
X
X.include <bsd.port.mk>
END-of-sccmilter/Makefile
echo x - sccmilter/pkg-descr
sed 's/^X//' >sccmilter/pkg-descr << 'END-of-sccmilter/pkg-descr'
XThis is a sendmail filter, based on Milter API, intedned to do
Xspam control and canceling it. This is multi-thread small filter,
Xwhich sits between sendmail and local mail agent, checks all mail
Xby selected rules and cancels spam-qualified messages.
X
XMain features:
X- Charset controlling. No more unreadable mails in your box!
X  You can selectively setup, which codepages for which users
X  are allowed, mail with other codepages will declined
X- HTML isolating. You can setup filter to check all incoming,
X  outgoing or all (or none) mail to HTML mail and decline it.
X  IMHO, HTML mail is a headache only. You can separately setup
X  on per-user basis, which users can send HTML mail, which can
X  receive
X
XAny other features (content filtering, attachment checking) are
Xplanned, but not imlemented this release.
X
XWWW: http://granch.ru/~shelton/
X
X- Rashid N. Achilov
Xshelton at granch.ru
END-of-sccmilter/pkg-descr
echo x - sccmilter/pkg-message
sed 's/^X//' >sccmilter/pkg-message << 'END-of-sccmilter/pkg-message'
X************************************************************************
X
XIn order to run this port, please add the following line to
X/etc/mail/freebsd.mc:
X
XINPUT_MAIL_FILTER(`sccmilter',`S=unix:/var/run/sccmilter,F=T')
X
Xand appropriate correct the line with confINPUT_MAIL_FILTERS, when exist.
X
XDon't forget remake sendmail configuration file after modifying freebsd.mc
X
X************************************************************************
END-of-sccmilter/pkg-message
echo x - sccmilter/pkg-plist
sed 's/^X//' >sccmilter/pkg-plist << 'END-of-sccmilter/pkg-plist'
Xlibexec/sccmilter
Xetc/sccmilter/sccmilter.conf.sample
Xetc/sccmilter/scchosts.sample
Xetc/sccmilter/sccusers.sample
Xetc/rc.d/sccmilter.sh.sample
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/CHANGES
X%%PORTDOCS%%%%DOCSDIR%%/FAQ
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X at dirrm etc/sccmilter
END-of-sccmilter/pkg-plist
echo x - sccmilter/distinfo
sed 's/^X//' >sccmilter/distinfo << 'END-of-sccmilter/distinfo'
XMD5 (sccmilter-0.92.4.tar.bz2) = 1dced186e4480d1fe8f85e7c5c8dbb4b
END-of-sccmilter/distinfo
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list