AIX Open Source

 View Only
  • 1.  clamsap for ClamAV

    Posted Thu October 10, 2024 09:41 AM

    Hi,

    for fullfilling a finding on some of our SAP systems still running on AIX we would need the clamsap Package as an addition to ClamAV. 

    SAP can then use the libclamdsap Library for connecting to the clamd daemon.

    https://sourceforge.net/projects/clamsap/

    Would appreciate that 

    Thanks

    Martin



    ------------------------------
    Opensource the Planet ;-)
    ------------------------------


  • 2.  RE: clamsap for ClamAV

    Posted Thu October 10, 2024 09:45 AM

    Additional info:

    https://sourceforge.net/p/clamsap/patches/3/

    There was a ticket open where 2 years ago was commented that some tools were not present. Maybe this helps to consider the request. You might have a better idea about the problem.

    Thanks



    ------------------------------
    Opensource the Planet ;-)
    ------------------------------



  • 3.  RE: clamsap for ClamAV

    Posted Fri October 11, 2024 05:12 AM
    Edited by Aditya Kamath Fri October 11, 2024 05:17 AM

    Hi Martin,

    So having Clamsap as a part of the AIX toolbox will take time since we need to take approvals before we can confirm whether it will be available.

    Also, one thing is this uses automake-1.13 strictly, and we at AIX Toolbox have 1.16. 

    Having said that, we did manage to build it in AIX 7.2. 

    If your requirement is urgent and we give you the build instructions, are you okay to build, install it and test? Also, what oslevel are you in?



    ------------------------------
    Aditya Kamath
    ------------------------------



  • 4.  RE: clamsap for ClamAV

    Posted Fri October 11, 2024 06:41 AM

    Hi,

    thanks for the fast response.

    We are using 7200-05-07-2346.

    I would love to try building it myself - please just send the instructions and this should help in the meanwhile. And maybe it will be part of the toolbox soon ;-)

    Thanks a lot

    Martin



    ------------------------------
    Opensource the Planet ;-)
    ------------------------------



  • 5.  RE: clamsap for ClamAV

    Posted Fri October 11, 2024 07:58 AM

    Hi Martin,

    Pre-requisites:

    dnf install m4
    dnf install autoconf*
    dnf install automake*

    dnf install make*

    After this, kindly scp the 0.104.3 tar ball from the link you have provided and extract and cd to clamsap-0.104.3.

    For some reason, this project uses alocal-1.13.  But we can create a tentative soft link of 1.16 also. It works.

    ln -sf /opt/freeware/bin/aclocal-1.16 /opt/freeware/bin/aclocal-1.13
    ln -sf /opt/freeware/bin/automake-1.16 /opt/freeware/bin/automake-1.13

    Build Instructions:

    export OBJECT_MODE=64
    export CC="gcc"

    export CFLAGS="-maix64 "
    export CXX="g++ "

    export CXXFLAGS=$CFLAGS

    ./configure
    automake --add-missing
    gmake
    export DESTDIR=$PWD/install
    gmake install

    After install you shpuld see your libraries here where you can export LIBPATH to the directory and use:

    # ls install/usr/local/lib/libclam*

    libclamdsap.a   libclamdsap.la  libclamsap.a    libclamsap.la   

    Finally, remove the softlinks since they are not required.

    rm -f /opt/freeware/bin/aclocal-1.13 /opt/freeware/bin/automake-1.13

    Kindly try this and let me know. 

     



    ------------------------------
    Aditya Kamath
    ------------------------------



  • 6.  RE: clamsap for ClamAV

    Posted Fri October 11, 2024 08:09 AM

    Hi,

    again thanks for the fast reply.

    I will try that next week and will deliver feedback.

    Thanks a lot - appreciate it very much

    Have a nice weekend

    Martin



    ------------------------------
    Opensource the Planet ;-)
    ------------------------------