Date: Fri, 5 Mar 2004 07:08:30 -0800 (PST) From: Alexander Leidinger <netchild@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org 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 Message-ID: <200403051508.i25F8UfO004175@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <mhellwig@xs4all.nl> [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403051508.i25F8UfO004175>