On Friday 19 January 2007 15:43, Bob Eby wrote: > Hi folks, > > I'm trying to follow this HOWTO: > > http://www.openbsdsupport.org/mail-spam-filter-anti-virus-web-interfa >ce. html > > to create an external mail gateway on OpenBSD 4.0 (It'll be "stable", > when I figure out how to get there...). > > dmesg version line is: > OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006 > > About 1/3 of the way through the document, there is a section for > downloading and installing amavisd manually starting with this > command: lynx > http://www.ijs.si/software/amavisd/amavisd-new-20030616-p10.tar.gz > > However, I notice the package amavisd-new-2.3.2 exists in OpenBSD > 4.0, so I figured "Why not just use that instead". > > So, I issued the command: > sudo pkg_add amavisd-new > > With the following result: > Error from ftp://mirror.sg.depaul.edu/pub/OpenBSD/4.0/packages/i386/: > 550 Failed to open file. > amavisd-new-2.3.2:Can't find freeze-2.5 > /usr/sbin/pkg_add: freeze-2.5:Fatal error > > What is freeze-2.5, and why would an OpenBSD 4.0 amavisd-new package > be including it? The most recent reference I see to freeze-2.5 is in > the OpenBSD 2.8 release notes. > > And more importantly, what am I missing? Does "-new" on the end of a > package mean I shouldn't be trying to use it? > > -Bob
<disclaimer> I don't use anti-virus mail scanners. </disclaimer> The most likely reason why pkg_add died is because you do not have your PKG_PATH variable set to your nearest mirror. # export PKG_PATH=ftp://ftp3.usa.openbsd.org/pub/OpenBSD/4.0/packages/i386/ If you want to know more about freeze-2.5 you can easily type: # cd /usr/ports # make search key=freeze In general, the anti-virus scanners have a lot of dependencies and not all of the dependencies (or all scanners) are licensed to allow redistribution. Some of the dependencies needed to get certain scanning features working means you'll be running closed source software; a good example is the ability to scan withing proprietary archive formats like RAR, ARJ, freeze and similar. All of this means you'll be using the ports tree to install your antivirus gateway. When you need to download something that has a click-through license on the web before you're allowed to download the file (true for java and similar proprietary/restricted software), the ports system die but will instruct you on what you need to download manually. Just place the files in /usr/ports/distfiles and the ports system will find them on the next run. The *only* reason why I know anything about this is because I'm currently working on new arj and unarj ports, so I'm certainly not an expert on the anti-virus installation stuff. Kind Regards, JCR