From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jan 31 19:30:05 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org 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 F370516A433 for ; Tue, 31 Jan 2006 19:30:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8715343D49 for ; Tue, 31 Jan 2006 19:30:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0VJU4rU077906 for ; Tue, 31 Jan 2006 19:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0VJU4BD077904; Tue, 31 Jan 2006 19:30:04 GMT (envelope-from gnats) Resent-Date: Tue, 31 Jan 2006 19:30:04 GMT Resent-Message-Id: <200601311930.k0VJU4BD077904@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, Jean Milanez Melo Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0774616A422 for ; Tue, 31 Jan 2006 19:25:10 +0000 (GMT) (envelope-from jmelo@capeta.freebsdbrasil.com.br) Received: from capeta.freebsdbrasil.com.br (vrrp.freebsdbrasil.com.br [200.210.70.30]) by mx1.FreeBSD.org (Postfix) with SMTP id EDCE043D46 for ; Tue, 31 Jan 2006 19:25:08 +0000 (GMT) (envelope-from jmelo@capeta.freebsdbrasil.com.br) Received: (qmail 33919 invoked by uid 1003); 31 Jan 2006 17:25:24 -0200 Message-Id: <20060131192524.33918.qmail@capeta.freebsdbrasil.com.br> Date: 31 Jan 2006 17:25:24 -0200 From: Jean Milanez Melo To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: sead@mail.ru Subject: ports/92635: Update port: mail/clamfilter add mastersite, change to use sub_files X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jean Milanez Melo List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2006 19:30:05 -0000 >Number: 92635 >Category: ports >Synopsis: Update port: mail/clamfilter add mastersite, change to use sub_files >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Jan 31 19:30:02 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Jean Milanez Melo >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: System: FreeBSD capeta.freebsdbrasil.com.br 5.3-STABLE FreeBSD 5.3-STABLE #5: Wed Mar 2 15:03:19 BRT 2005 eksffa@capeta.freebsdbrasil.com.br:/usr/obj/usr/src/sys/CAPETA i386 >Description: - The tarball is unfetchable since Jan 1. I added another mastersite to fix it. - I've changed the port to use SUB_FILES, it's better then SED ;) - Maintainer has been CCed. >How-To-Repeat: >Fix: --- clamfilter.diff begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/mail/clamfilter/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- Makefile 27 Feb 2005 11:10:22 -0000 1.1 +++ Makefile 31 Jan 2006 19:21:38 -0000 @@ -8,18 +8,18 @@ PORTNAME= clamfilter PORTVERSION= 0.5 CATEGORIES= mail -MASTER_SITES= http://www.ensita.net/products/clamfilter/ +MASTER_SITES= http://www.ensita.net/products/clamfilter/ \ + http://ftp.osuosl.org/pub/FreeBSD/distfiles/ MAINTAINER= sead@mail.ru COMMENT= A small, efficient clamav content filter for Postfix RUN_DEPENDS= ${LOCALBASE}/bin/clamdscan:${PORTSDIR}/security/clamav -PKGMESSAGE= ${WRKSRC}/pkg-message +SUB_FILES= pkg-message PLIST_FILES= bin/clamfilter post-install: - @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${FILESDIR}/pkg-message > ${PKGMESSAGE} @${CAT} ${PKGMESSAGE} .include Index: files/pkg-message =================================================================== RCS file: files/pkg-message diff -N files/pkg-message --- files/pkg-message 27 Feb 2005 11:10:23 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,13 +0,0 @@ -====================================================================== -For Postfix users: - -1. Edit master.cf and put there: -filter unix - n n - - pipe flags=R user=postfix \ - argv=%%PREFIX%%/bin/clamfilter -F admin@domain.com \ - -f ${sender} -- ${recipient} - -2. Add the content_filter option to smtpd binary: -smtp inet n - n - - smtpd -o content_filter=filter:dummy - -3. Restart Postfix. -====================================================================== Index: files/pkg-message.in =================================================================== RCS file: files/pkg-message.in diff -N files/pkg-message.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/pkg-message.in 31 Jan 2006 19:21:38 -0000 @@ -0,0 +1,13 @@ +====================================================================== +For Postfix users: + +1. Edit master.cf and put there: +filter unix - n n - - pipe flags=R user=postfix \ + argv=%%PREFIX%%/bin/clamfilter -F admin@domain.com \ + -f ${sender} -- ${recipient} + +2. Add the content_filter option to smtpd binary: +smtp inet n - n - - smtpd -o content_filter=filter:dummy + +3. Restart Postfix. +====================================================================== --- clamfilter.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: