[syslog-ng] afsmtp packaging problems

Peter Czanik czanik at balabit.hu
Wed Mar 21 09:26:52 CET 2012


Hello,

There are a couple of problem with smtp support. Tested on openSUSE and 
FreeBSD. Neither have libesmtp installed, at least not as default. So 
configure is right:

   SMTP support (module)       : no

On the other hand:

- libafsmtp is built and installed

- unlike the others, it is installed as a versioned library:

linux-v3g3:~ # ls -l /lib/syslog-ng/
total 556
-rwxr-xr-x 1 root root  73212 Mar 21 09:14 libaffile.so
-rwxr-xr-x 1 root root  48567 Mar 21 09:14 libafprog.so
lrwxrwxrwx 1 root root     18 Mar 21 09:18 libafsmtp.so -> 
libafsmtp.so.0.0.0
lrwxrwxrwx 1 root root     18 Mar 21 09:18 libafsmtp.so.0 -> 
libafsmtp.so.0.0.0
-rwxr-xr-x 1 root root   6445 Mar 21 09:14 libafsmtp.so.0.0.0
-rwxr-xr-x 1 root root 118106 Mar 21 09:14 libafsocket.so
-rwxr-xr-x 1 root root  34040 Mar 21 09:14 libafuser.so
-rwxr-xr-x 1 root root  23092 Mar 21 09:14 libbasicfuncs.so
-rwxr-xr-x 1 root root  11819 Mar 21 09:14 libconfgen.so
-rwxr-xr-x 1 root root  38464 Mar 21 09:14 libcsvparser.so
-rwxr-xr-x 1 root root 105045 Mar 21 09:14 libdbparser.so
-rwxr-xr-x 1 root root  33668 Mar 21 09:14 libdummy.so
-rwxr-xr-x 1 root root  21134 Mar 21 09:14 libsyslogformat.so
-rwxr-xr-x 1 root root  28448 Mar 21 09:14 libsyslog-ng-crypto.so
-rwxr-xr-x 1 root root   7339 Mar 21 09:14 libtfuuid.so

ToDo:
- option to disable smtp support
- do not build/install it if build dependency is unavailable
- do not install it as a versioned library

Bye,

-- 
Peter Czanik (CzP)<czanik at balabit.hu>
BalaBit IT Security / syslog-ng upstream
http://czanik.blogs.balabit.com/




More information about the syslog-ng mailing list