From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jun 20 13:00:49 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45A9016A4D1 for ; Sun, 20 Jun 2004 13:00:49 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3654743D45 for ; Sun, 20 Jun 2004 13:00:49 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i5KD0afB019391 for ; Sun, 20 Jun 2004 13:00:36 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i5KD0aXT019390; Sun, 20 Jun 2004 13:00:36 GMT (envelope-from gnats) Resent-Date: Sun, 20 Jun 2004 13:00:36 GMT Resent-Message-Id: <200406201300.i5KD0aXT019390@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, sad@mailaps.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E786E16A4CE for ; Sun, 20 Jun 2004 13:00:03 +0000 (GMT) Received: from webmail.tiscali.de (relay1.tiscali.de [62.26.116.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3065E43D41 for ; Sun, 20 Jun 2004 13:00:03 +0000 (GMT) (envelope-from sa.deutscher@tiscali.de) Received: from localhost (217.235.11.121) by webmail.tiscali.de (6.7.019) id 40C46EA4004A2AF8; Sun, 20 Jun 2004 14:59:32 +0200 Received: by localhost (IBM OS/2 SENDMAIL VERSION 2.0/2.0) id PAA600.34; Sun, 20 Jun 2004 15:15:30 -0400 Message-Id: <20040620151428.B49052@tiscali.de> Date: Sun, 20 Jun 2004 15:14:28 +0000 From: "Stefan A. Deutscher" To: FreeBSD-gnats-submit@FreeBSD.org cc: jberkes@pc-tools.net cc: sad@mailaps.org Subject: ports/68144: New port: mail/renattach Filter to selectively rename or strip mail attachments X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: sad@mailaps.org List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2004 13:00:49 -0000 >Number: 68144 >Category: ports >Synopsis: New port: mail/renattach Filter to selectively rename or strip mail attachments >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: Sun Jun 20 13:00:36 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Stefan A. Deutscher >Release: FreeBSD 5.1-RELEASE i386 >Organization: Usually pretty organized >Environment: System: FreeBSD dvorak.asylum.invalid 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Fri Nov 21 21:48:14 CET 2003 root@dvorak.asylum.net:/usr/src/sys/i386/compile/GENERICCAM i386 FreeBSD 5.1-RELEASE i386 on an Athlon XP-1700 >Description: Made a port of renattach-1.2.1 for inclusion in the ports tree renattach is a mail filter to selectively rename or remove mail attachments Passes portlint -A, repeated make install/deinstall/package/reinstall etc. cycles as suggested in the Porters handbook >How-To-Repeat: Start reading at the top again :-) >Fix: shar file attached --- renattach-1.2.1.shar 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 # renattach/pkg-plist # echo c - renattach mkdir -p renattach > /dev/null 2>&1 echo x - renattach/Makefile sed 's/^X//' >renattach/Makefile << 'END-of-renattach/Makefile' X# New ports collection makefile for: renattach X# Date created: 20 June 2004 X# Whom: Stefan A. Deutscher (sad@mailaps.org) X# X# $FreeBSD$ X# X XPORTNAME= renattach XPORTVERSION= 1.2.1 XCATEGORIES= mail XMASTER_SITES= http://www.pc-tools.net/files/unix/ XPKGNAMEPREFIX= X XMAINTAINER= ports@FreeBSD.org XCOMMENT= Rename or remove certain attachments or kill entire messages X XGNU_CONFIGURE= yes X XMAN1= renattach.1 XMANCOMPRESSED= no X X# the special rules, in the order they are called Xpost-build: X @${ECHO} ==================== X @${ECHO} Now proceed as usual: Type \'make install clean\' to, well, install and clean X @${ECHO} Then check with ${DOCSDIR}/INSTALL X @${ECHO} After that you may need to adjust renattach.conf to your needs X Xpost-install: X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X ${INSTALL_MAN} ${WRKSRC}/INSTALL ${DOCSDIR} X.endif X X.include END-of-renattach/Makefile echo x - renattach/distinfo sed 's/^X//' >renattach/distinfo << 'END-of-renattach/distinfo' XMD5 (renattach-1.2.1.tar.gz) = bd6bbcb74d8a7f8a94655aa73c1ab5ce 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 X XWWW: http://www.pc-tools.net/unix/renattach/ X XHave fun. Stefan (sad@mailaps.org) END-of-renattach/pkg-descr echo x - renattach/pkg-plist sed 's/^X//' >renattach/pkg-plist << 'END-of-renattach/pkg-plist' Xbin/renattach Xetc/renattach.conf.ex X%%PORTDOCS%%share/doc/renattach/INSTALL X%%PORTDOCS%%@dirrm share/doc/renattach END-of-renattach/pkg-plist exit --- renattach-1.2.1.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: X-GNATS-Notify: