From owner-cvs-ports@FreeBSD.ORG Fri Mar 5 07:08:30 2004 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8498116A4CE; Fri, 5 Mar 2004 07:08:30 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6661443D2D; Fri, 5 Mar 2004 07:08:30 -0800 (PST) (envelope-from netchild@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i25F8UGe004176; Fri, 5 Mar 2004 07:08:30 -0800 (PST) (envelope-from netchild@repoman.freebsd.org) Received: (from netchild@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i25F8UfO004175; Fri, 5 Mar 2004 07:08:30 -0800 (PST) (envelope-from netchild) Message-Id: <200403051508.i25F8UfO004175@repoman.freebsd.org> From: Alexander Leidinger Date: Fri, 5 Mar 2004 07:08:30 -0800 (PST) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: ports/security/antivir-milter Makefile distinfo pkg-message pkg-plist ports/security/antivir-milter/files patch-doc::MANUAL patch-etc::antivir.conf patch-etc::avmilter.conf patch-init::rc.avmilter X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2004 15:08:30 -0000 netchild 2004/03/05 07:08:30 PST FreeBSD ports repository Modified files: security/antivir-milter Makefile distinfo pkg-message pkg-plist security/antivir-milter/files patch-etc::antivir.conf patch-etc::avmilter.conf patch-init::rc.avmilter Added files: security/antivir-milter/files patch-doc::MANUAL Log: HEADS-UP: When updating from a previous version you have to do the following after deinstalling the old port: # rm PREFIX/AntiVir/antivir # rm PREFIX/AntiVir/antivir.vdf # chown root:wheel PREFIX/AntiVir # chown root:smmsp PREFIX/AntiVir/hbedv.key In your SENDMAIL_MC change `S=unix:PREFIX/AntiVir/avmilter.sock, F=T, T=S:10m;R:10m;E:5m' to: `S=unix:/var/spool/avmilter/avmilter.sock, F=T, T=S:10m;R:10m;E:10m' and rebuild sendmail.cf. If /var/spool/avmilter exist you have to: # chown -R smmsp:smmsp /var/spool/avmilter If you are using a customized PREFIX/etc/avmilter.conf the port won't remove it on deinstall and you have to manually change User and Group to smmsp there. Afterwards you can install the new version of this port. You then should run antivirupdater to get a current VDF. - Change ownership of the socket to user and group smmsp as expected by sendmail. This involves running the milter as smmsp:smmsp, changing the ownership of rest of the files and moving the socket to /var/spool/avmilter but fixes the "local socket unsafe" problem. [1] - Move the milter into the background when launching, this solves the problem with disappearing socket on boot. [2] - Update to 1.1-beta which fixes the "Bad file descriptor" problem. For a full list of chances see ChangeLog in the DOCSDIR. [3] Suggested by: ache@ [1], [3] Suggested by: Martin P. Hellwig [2] Submitted by: maintainer Revision Changes Path 1.6 +21 -14 ports/security/antivir-milter/Makefile 1.5 +2 -2 ports/security/antivir-milter/distinfo 1.1 +112 -0 ports/security/antivir-milter/files/patch-doc::MANUAL (new) 1.2 +3 -11 ports/security/antivir-milter/files/patch-etc::antivir.conf 1.2 +11 -12 ports/security/antivir-milter/files/patch-etc::avmilter.conf 1.2 +3 -3 ports/security/antivir-milter/files/patch-init::rc.avmilter 1.4 +2 -2 ports/security/antivir-milter/pkg-message 1.3 +8 -5 ports/security/antivir-milter/pkg-plist