Forrest Aldrich wrote: Rob, were you able to get clamav-milter running on FreeBSD-4.8? I cannot.
If so, could you share your config args, etc. Thanks, Forrest At 01:01 PM 6/11/2003, Rob wrote: Rob wrote: Hi clamav compiles and runs on my FBSD-4.8 system, but I get warnings at the end of compilation: /usr/lib/libc.so: WARNING! setkey(3) not present in the system! /usr/lib/libc.so: warning: this program uses gets(), which is unsafe. /usr/lib/libc.so: warning: mktemp() possibly used unsafely; consider using mkstemp() /usr/lib/libc.so: WARNING! des_setkey(3) not present in the system! /usr/lib/libc.so: WARNING! encrypt(3) not present in the system! /usr/lib/libc.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() /usr/lib/libc.so: warning: this program uses f_prealloc(), which is not recommended. /usr/lib/libc.so: WARNING! des_cipher(3) not present in the system! /usr/lib/libc.so: warning: tempnam() possibly used unsafely; consider using mkstemp() Can I safely ignore this or is there a way to point clamav to the right library ? Rob Evers Sorry I wan't clear in my post I'm compiling clamav-20030605.tar.gz. Rob -- f u cn rd ths u r usng unx --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] No, I didn't (didn't try), because I'm using amavisd-new. I did make a port for the latest snapshot I tried it for FreeBSD-4.8 and 5.1, so I'll attach it here. Rob Evers # 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: # # clamav-devel # clamav-devel/Makefile # clamav-devel/distinfo # clamav-devel/files # clamav-devel/pkg-descr # clamav-devel/pkg-install # clamav-devel/pkg-plist # echo c - clamav-devel mkdir -p clamav-devel > /dev/null 2>&1 echo x - clamav-devel/Makefile sed 's/^X//' >clamav-devel/Makefile << 'END-of-clamav-devel/Makefile' X# New ports collection makefile for: clamav X# Date created: 15 July 2002 X# Whom: [EMAIL PROTECTED] X# X# $FreeBSD: ports/security/clamav/Makefile,v 1.5 2003/06/08 16:16:49 leeym Exp $ X# X XPORTNAME= clamav-devel XPORTVERSION= 20030605 XCATEGORIES= security XMASTER_SITES= http://clamav.elektrapro.com/snapshot/ X XMAINTAINER= [EMAIL PROTECTED] XCOMMENT= Command line virus scanner written entirely in C X XRUN_DEPENDS= lha:${PORTSDIR}/archivers/lha \ X unarj:${PORTSDIR}/archivers/unarj \ X unrar:${PORTSDIR}/archivers/unrar \ X zoo:${PORTSDIR}/archivers/zoo \ X arc:${PORTSDIR}/archivers/arc \ X unzip:${PORTSDIR}/archivers/unzip XLIB_DEPENDS= pth.20:${PORTSDIR}/devel/pth X XUSE_GMAKE= yes XGNU_CONFIGURE= yes XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} XUSE_LIBTOOL= yes XINSTALLS_SHLIB= yes XDISTNAME= clamav-20030605 X XCONFIGURE_ARGS= --prefix=${PREFIX} --disable-clamav X XMAN1= clamscan.1 freshclam.1 sigtool.1 clamdscan.1 XMAN5= clamav.conf.5 XMAN8= clamd.8 X X.include <bsd.port.pre.mk> X X.if ${OSVERSION} >= 500000 XEXTRA_PATCHES= ${FILESDIR}/patch5-* X.endif X Xpre-install: X @${ECHO} "==> Creating custom user to run clamav..." X# ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL X X.include <bsd.port.post.mk> END-of-clamav-devel/Makefile echo x - clamav-devel/distinfo sed 's/^X//' >clamav-devel/distinfo << 'END-of-clamav-devel/distinfo' XMD5 (clamav-20030605.tar.gz) = 97ac37a0db978acbe23c524543eb5401 END-of-clamav-devel/distinfo echo c - clamav-devel/files mkdir -p clamav-devel/files > /dev/null 2>&1 echo x - clamav-devel/pkg-descr sed 's/^X//' >clamav-devel/pkg-descr << 'END-of-clamav-devel/pkg-descr' XClam Antivirus is command line virus scanner written entirely in C Xand its database is kept up to date. It also detects polymorphic Xviruses, scans compressed files and supported by AMaViS. END-of-clamav-devel/pkg-descr echo x - clamav-devel/pkg-install sed 's/^X//' >clamav-devel/pkg-install << 'END-of-clamav-devel/pkg-install' X#!/bin/sh X Xif [ "$2" != "PRE-INSTALL" ]; then X exit 0 Xfi X XUSER?=clamav XGROUP?=clamav X Xif ! pw groupshow "$GROUP" 2>/dev/null 1>&2; then X if pw groupadd $GROUP; then X echo "=> Added group \"$GROUP\"." X else X echo "=> Adding group \"$GROUP\" failed..." X exit 1 X fi Xfi X Xif ! pw usershow "$USER" 2>/dev/null 1>&2; then X if pw useradd $USER -g $GROUP -h - \ X -s "/sbin/nologin" -d "/nonexistent" \ X -c "Clam Antivirus"; \ X then X echo "=> Added user \"$USER\"." X else X echo "=> Adding user \"$USER\" failed..." X exit 1 X fi Xfi Xexit 0 END-of-clamav-devel/pkg-install echo x - clamav-devel/pkg-plist sed 's/^X//' >clamav-devel/pkg-plist << 'END-of-clamav-devel/pkg-plist' Xbin/clamscan Xbin/clamdscan Xbin/freshclam Xbin/sigtool Xsbin/clamd Xinclude/clamav.h Xlib/libclamav.so.1 Xlib/libclamav.so Xlib/libclamav.la Xlib/libclamav.a Xshare/clamav/mirrors.txt Xshare/clamav/viruses.db Xshare/clamav/viruses.db2 [EMAIL PROTECTED] share/clamav END-of-clamav-devel/pkg-plist exit --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]