I'm trying to make a package out of ClamAV-065 for OpenBSD-3.4. As a
starting point I used the port made by Flinn Mueller
(http://activeintra.net/openbsd/ports/security/clamav.tgz) whereby Makefile
has been replaced by:

# $OpenBSD$

COMMENT=                "Free Virus Scanner"
DISTNAME=               clamav-0.65
CATEGORIES=             security

HOMEPAGE=               http://clamav.elektrapro.com/

MAINTAINER=             Flinn Mueller <[EMAIL PROTECTED]>

#GPL
PERMIT_PACKAGE_CDROM=   Yes
PERMIT_PACKAGE_FTP=     Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP=   Yes

MASTER_SITES=           http://umn.dl.sourceforge.net/clamav/ \

CONFIGURE_STYLE=        gnu
CONFIGURE_ARGS+=        ${CONFIGURE_SHARED}
CONFIGURE_ARGS+=        --disable-clamav \
                        --enable-dependency-tracking \
                        --disable-clamuko \
                        --enable-bigstack \
                        --with-user=_clamd \
                        --with-group=_clamd \
                        --disable-cr

CONFIGURE_ENV+=         LDFLAGS=" -pthread"

DOCS=man/clamav.conf.5 man/clamd.8 clamdoc.pdf man/clamdscan.1
man/clamscan.1 man/freshclam.1 man/sigtool.1 html/* Spanish/* Japanese/*
Portug
ese/*

post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/clamav
${PREFIX}/share/examples/clamav
        cd ${WRKSRC}/docs; ${INSTALL_DATA} ${DOCS}
${PREFIX}/share/doc/clamav
        cd ${WRKSRC}/etc; ${INSTALL_DATA} clamav.conf
${SYSCONFDIR}/clamav.conf
        cd ${WRKSRC}/examples; ${INSTALL_DATA} ex1.c
${PREFIX}/share/examples/clamav

.include <bsd.port.mk>

The patches have been edited to work for ClamAV-0.65 and after using make
install everything compiles like a charm, until it ends with an error code 2
"make: don't know how to make /usr/ports/security/clamav/pkg/PLIST. Stop in
/usr/ports/security/clamav.".

Am I missing something? Any suggestion?



-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to