Clamav & OpenBSD 3.6 - BSD

This is a discussion on Clamav & OpenBSD 3.6 - BSD ; Hi, I'm trying to upgrade Clamav on my OpenBSD Box. I issued this commands: export CVSROOT=anoncvs@anoncvs.ca.openbsd.org:/cvs cvs -q get -P ports/infrastructure cvs -q get -P ports/security/clamav with this output: U ports/security/clamav/Makefile U ports/security/clamav/distinfo U ports/security/clamav/patches/patch-clamav_milter-clamav_milter_c U ports/security/clamav/patches/patch-clamd_Makefile_in U ports/security/clamav/patches/patch-clamdscan_client_c U ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Clamav & OpenBSD 3.6

  1. Clamav & OpenBSD 3.6

    Hi,
    I'm trying to upgrade Clamav on my OpenBSD Box.
    I issued this commands:
    export CVSROOT=anoncvs@anoncvs.ca.openbsd.org:/cvs
    cvs -q get -P ports/infrastructure
    cvs -q get -P ports/security/clamav
    with this output:
    U ports/security/clamav/Makefile
    U ports/security/clamav/distinfo
    U ports/security/clamav/patches/patch-clamav_milter-clamav_milter_c
    U ports/security/clamav/patches/patch-clamd_Makefile_in
    U ports/security/clamav/patches/patch-clamdscan_client_c
    U ports/security/clamav/patches/patch-configure
    U ports/security/clamav/patches/patch-etc-clamd_conf
    U ports/security/clamav/patches/patch-etc-freshclam_conf
    U ports/security/clamav/patches/patch-libclamav_mbox_c
    U ports/security/clamav/patches/patch-libclamav_ole2_extract_c
    U ports/security/clamav/patches/patch-libclamav_scanner_c
    U ports/security/clamav/patches/patch-libclamav_str_c
    U ports/security/clamav/patches/patch-libclamav_vba_extract_c
    U ports/security/clamav/patches/patch-ltmain_sh
    U ports/security/clamav/pkg/DESCR
    U ports/security/clamav/pkg/MESSAGE
    U ports/security/clamav/pkg/PFRAG.shared
    U ports/security/clamav/pkg/PLIST

    then in /usr/ports/security/clamav:

    make
    and after a while compilation stops with these last messages:

    Making all in clamav-milter
    /bin/sh ../libtool --mode=link cc -O2 -L/usr/lib -L/usr/local/lib -o
    clamav-milter cfgparser.o getopt.o memory.o misc.o clamav-milter.o
    .../libclamav/libclamav.la -lmilter -pthread
    cc -O2 -o .libs/clamav-milter cfgparser.o getopt.o memory.o misc.o
    clamav-milter.o -lmilter -pthread -L/usr/lib -L/usr/local/lib -L../libclama
    v/.libs -lclamav -lbz2 -lgmp -lcurl -lssl -lcrypto -lz -lmilter -Wl,-rpath,/
    usr/local/lib
    clamav-milter.o(.text+0x2c58): In function `clamfi_eom':
    : undefined reference to `cl_dup'
    collect2: ld returned 1 exit status
    *** Error code 1

    Stop in
    /usr/ports/security/clamav/w-clamav-0.86.2/clamav-0.86.2/clamav-milter (line
    290 of Makefile).
    *** Error code 1

    Stop in /usr/ports/security/clamav/w-clamav-0.86.2/clamav-0.86.2 (line 368
    of Makefile).
    *** Error code 1

    Stop in /usr/ports/security/clamav/w-clamav-0.86.2/clamav-0.86.2 (line 227
    of Makefile).
    *** Error code 1

    Stop in /usr/ports/security/clamav (line 1807 of
    /usr/ports/infrastructure/mk/bsd.port.mk).

    which is the same error I get with clamav-0.86.1.

    What can be wrong?
    Thank You very much.





  2. Re: Clamav & OpenBSD 3.6

    Marco wrote:

    > Hi,
    > I'm trying to upgrade Clamav on my OpenBSD Box.
    > I issued this commands:
    > export CVSROOT=anoncvs@anoncvs.ca.openbsd.org:/cvs
    > cvs -q get -P ports/infrastructure
    > cvs -q get -P ports/security/clamav
    > with this output:
    > U ports/security/clamav/Makefile
    > U ports/security/clamav/distinfo
    > U ports/security/clamav/patches/patch-clamav_milter-clamav_milter_c
    > U ports/security/clamav/patches/patch-clamd_Makefile_in
    > U ports/security/clamav/patches/patch-clamdscan_client_c
    > U ports/security/clamav/patches/patch-configure
    > U ports/security/clamav/patches/patch-etc-clamd_conf
    > U ports/security/clamav/patches/patch-etc-freshclam_conf
    > U ports/security/clamav/patches/patch-libclamav_mbox_c
    > U ports/security/clamav/patches/patch-libclamav_ole2_extract_c
    > U ports/security/clamav/patches/patch-libclamav_scanner_c
    > U ports/security/clamav/patches/patch-libclamav_str_c
    > U ports/security/clamav/patches/patch-libclamav_vba_extract_c
    > U ports/security/clamav/patches/patch-ltmain_sh
    > U ports/security/clamav/pkg/DESCR
    > U ports/security/clamav/pkg/MESSAGE
    > U ports/security/clamav/pkg/PFRAG.shared
    > U ports/security/clamav/pkg/PLIST
    >
    >



    You are trying to use the *current* version of ports in an environment that
    is not current. Unless you are lucky that is pretty much guaranteed to
    fail.

    you need something more like

    cvs -q -d anoncvs@some.anon.server:/cvs up -r OPENBSD_3_6 -Pd


    As is explained in the relevant pages of the OBSD web site.

  3. Re: Clamav & OpenBSD 3.6

    Keith Matthews (invalid@frequentous.co.uk) wrote:
    > Marco wrote:
    >
    >> I'm trying to upgrade Clamav on my OpenBSD Box.
    >> I issued this commands:
    >> export CVSROOT=anoncvs@anoncvs.ca.openbsd.org:/cvs
    >> cvs -q get -P ports/infrastructure
    >> cvs -q get -P ports/security/clamav

    >
    > You are trying to use the *current* version of ports in an environment
    > that is not current. Unless you are lucky that is pretty much guaranteed
    > to fail.


    At least for 3.7 stable it works fine.

    --
    Please do not feed my mailbox, Swen still does his job well

+ Reply to Thread