[syslog-ng]syslog-ng 1.9.2/eventlog 0.2.2: packaging notes

Jose Pedro Oliveira syslog-ng@lists.balabit.hu
Sat, 15 Jan 2005 03:35:16 +0000


This is a multi-part message in MIME format.
--------------060509080708010408070705
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Balazs,

I have a couple of requests to make regarding the packaging
of the above packages (for Red Hat/Fedora systems).

1) copyright information

    I believe both packages are being distributed under the
    GPL license.  Could you mention this in the README files
    and maybe include the COPYING file in the tarballs?

2) the CFLAGS aren't being inherited

    The CFLAGS generated by the configure files don't
    honour the environment CFLAGS variable.  Small
    patches are attached to this email.

3) eventlog static lib

    Would it be possible to also generate the eventlog
    static library by default?

4) syslog-ng 1.9.2

    Would it be possible to also generate a static linked
    syslog-ng?  Right know it only uses dynamic libraries
    (glib2.so and libevtlog.so).

    It would be nice to avoid any dynamic libraries located
    under /usr as the content of this directory can not
    yet be available (mounted) at the time the daemon syslog-ng
    is loaded.

Best regards,
jpo
-- 
José Pedro Oliveira


--------------060509080708010408070705
Content-Type: text/plain;
 name="syslog-ng-1.9.2+20050112+1424-configure.in.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="syslog-ng-1.9.2+20050112+1424-configure.in.patch"

diff -ruN syslog-ng-1.9.2+20050112+1424-orig/configure.in syslog-ng-1.9.2+20050112+1424/configure.in
--- syslog-ng-1.9.2+20050112+1424-orig/configure.in	2005-01-05 12:00:11.000000000 +0000
+++ syslog-ng-1.9.2+20050112+1424/configure.in	2005-01-15 03:22:25.989658032 +0000
@@ -71,7 +71,7 @@
 PKG_CHECK_MODULES(GLIB, glib-2.0)
 PKG_CHECK_MODULES(EVTLOG, eventlog)
 
-CFLAGS="-Wall -g"
+CFLAGS="$CFLAGS -Wall -g"
 DEPS_CPPFLAGS="$CPPFLAGS $GLIB_CFLAGS $EVTLOG_CFLAGS"
 CPPFLAGS="$DEPS_CPPFLAGS -D_GNU_SOURCE"
 DEPS_LIBS="$LIBS $GLIB_LIBS $EVTLOG_LIBS"

--------------060509080708010408070705
Content-Type: text/plain;
 name="eventlog-0.2.2-configure.in.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="eventlog-0.2.2-configure.in.patch"

diff -ruN eventlog-0.2.2-orig/configure.in eventlog-0.2.2/configure.in
--- eventlog-0.2.2-orig/configure.in	2005-01-05 12:02:18.000000000 +0000
+++ eventlog-0.2.2/configure.in	2005-01-15 03:21:00.591640504 +0000
@@ -5,7 +5,7 @@
 AM_CONFIG_HEADER(config.h)
 AM_DISABLE_STATIC
 
-CFLAGS="-Wall -g"
+CFLAGS="$CFLAGS -Wall -g"
 CPPFLAGS="-D_GNU_SOURCE"
 
 AC_ARG_ENABLE(dlsym-wrapper,

--------------060509080708010408070705--