Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2006 20:47:25 -0700 (PDT)
From:      Jem Berkes <jberkes@pc-tools.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/104783: Update port: mail/renattach to version 1.2.4
Message-ID:  <20061025034725.D2495256AA@mail.pc9.org>
Resent-Message-ID: <200610250350.k9P3oKZY064991@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         104783
>Category:       ports
>Synopsis:       Update port: mail/renattach to version 1.2.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 25 03:50:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jem E. Berkes <jberkes@pc-tools.net>
>Release:        FreeBSD 4.9-RELEASE-p13-jc2 i386
>Organization:
SysDesign
>Environment:

>Description:
Update port: mail/renattach to new version 1.2.4, new features. Deletes or
renames potentially dangerous email attachments. Submitted by the developer.

>How-To-Repeat:

>Fix:
--- bug begins here ---
# 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:
#
#	renattach
#	renattach/Makefile
#	renattach/distinfo
#	renattach/pkg-descr
#
echo c - renattach
mkdir -p renattach > /dev/null 2>&1
echo x - renattach/Makefile
sed 's/^X//' >renattach/Makefile << 'END-of-renattach/Makefile'
X# Ports collection makefile for:	renattach
X# Date created:				24 October 2006
X# Whom:					Jem Berkes <jberkes@pc-tools.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	renattach
XPORTVERSION=	1.2.4
XCATEGORIES=	mail
XMASTER_SITES=	http://www.pc-tools.net/files/unix/
X
XMAINTAINER=	ports@FreeBSD.org
XCOMMENT=	Rename or remove certain attachments or kill entire messages
X
XUSE_GETOPT_LONG=	yes
XGNU_CONFIGURE=	yes
XCONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
X
XMAN1=		renattach.1
XPORTDOCS=	INSTALL
XPLIST_FILES=	bin/renattach etc/renattach.conf.ex
X
Xpost-extract:
X	@${RM} -f ${WRKSRC}/src/getopt*
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
X	@${ECHO_MSG} "===================="
X	@${ECHO_MSG} "Check with ${DOCSDIR}/INSTALL"
X	@${ECHO_MSG} "After that you may need to adjust renattach.conf to your needs"
X.endif
X
X.include <bsd.port.mk>
END-of-renattach/Makefile
echo x - renattach/distinfo
sed 's/^X//' >renattach/distinfo << 'END-of-renattach/distinfo'
XMD5 (renattach-1.2.4.tar.gz) = 00dd2b1ce4a63aaf0e2557aca6becf9d
XSHA1 (renattach-1.2.4.tar.gz) = 0ecba3e2f3259971e69cd5da581f9653104f9d6d
XSIZE (renattach-1.2.4.tar.gz) = 112566
END-of-renattach/distinfo
echo x - renattach/pkg-descr
sed 's/^X//' >renattach/pkg-descr << 'END-of-renattach/pkg-descr'
Xrenattach is a fast and efficient e-mail stream filter written by Jem
XBerkes. It can rename or delete potentially dangerous attachments or
Xeven eliminate entire messages to help sites deal with resource strains
Xcaused by virus floods. Unlike conventional virus scanners, there are no
Xspecific virus or worm definitions. Instead, attachments are classified
Xbased on file extension and executable encoded body content.
X
XFeatures
X- Fast, efficient, lightweight, little overhead, pure C code
X- Recognizes both MIME and uuencoded attachments
X- Compliant with RFC2047 and RFC2231, handles encoded filenames
X- Capable of reading filenames inside ZIP archives, on the fly
X- Can rename or delete attachments, or kill entire messages
X- Can detect executables that carry DOS/Windows signature
X- Supports list of banned filenames (great for handling floods)
X- Simple pipe/stream operation; can be used within many filtering systems
X- Can be used directly as a content_filter for Postfix MTA
X- Can be installed as a local delivery agent for Sendmail MTA
X
XWWW: http://www.pc-tools.net/unix/renattach/
END-of-renattach/pkg-descr
exit
--- bug ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061025034725.D2495256AA>