]> git.pld-linux.org Git - packages/syslog-ng.git/commitdiff
- drop link patch since conflicts with syslog-ng developers idea of linking; filterou...
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 4 Jun 2011 12:48:33 +0000 (12:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    syslog-ng-link.patch -> 1.13
    syslog-ng.spec -> 1.212

syslog-ng-link.patch [deleted file]
syslog-ng.spec

diff --git a/syslog-ng-link.patch b/syslog-ng-link.patch
deleted file mode 100644 (file)
index ce8f278..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- syslog-ng-3.2.4/configure.in~      2011-05-04 17:45:07.000000000 +0200
-+++ syslog-ng-3.2.4/configure.in       2011-05-30 20:09:43.852080011 +0200
-@@ -770,7 +770,7 @@
- else
-       SYSLOGNG_DEPS_LIBS="$LIBS $BASE_LIBS $RESOLV_LIBS $LD_START_STATIC -Wl,--whole-archive $GLIB_LIBS $EVTLOG_LIBS $PCRE_LIBS $REGEX_LIBS -Wl,--no-whole-archive $LD_END_STATIC $LIBCAP_LIBS $DL_LIBS "
-         TOOL_DEPS_LIBS="$LIBS $BASE_LIBS $GLIB_LIBS $EVTLOG_LIBS $RESOLV_LIBS $LIBCAP_LIBS $PCRE_LIBS $REGEX_LIBS $DL_LIBS"
--      CORE_DEPS_LIBS=""
-+      CORE_DEPS_LIBS="$LD_START_STATIC -Wl,--whole-archive $GLIB_LIBS $EVTLOG_LIBS -Wl,--no-whole-archive $LD_END_STATIC $LIBCAP_LIBS"
-       # bypass libtool in case we want to do mixed linking because it
-       # doesn't support -Wl,-Bstatic -Wl,-Bdynamic on a per-library basis.
index ddfccd3b71744619f1c44a89c6dc61b5eb7c268c..9ee97b3974a640d9d52a1a35dd34ff6429ddba12 100644 (file)
@@ -34,8 +34,7 @@ Source4:      http://www.balabit.com/support/documentation/syslog-ng-ose-v3.2-guide-a
 # Source4-md5: 4fa86dc863ed0206c004b3be7292bcbf
 Source5:       %{name}-simple.conf
 Source6:       %{name}.upstart
-Patch0:                %{name}-link.patch
-Patch1:                %{name}-datadir.patch
+Patch0:                %{name}-datadir.patch
 URL:           http://www.balabit.com/products/syslog_ng/
 BuildRequires: autoconf >= 2.53
 BuildRequires: automake
@@ -84,8 +83,15 @@ Conflicts:   msyslog
 Conflicts:     syslog
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# syslog-ng has really crazy linking rules (see their bugzilla).
+# Some rules, according to syslog-ng devs, are like this:
+# - libsyslog-ng.so has undefined symbols for third party libraries
+#   and these symbols should go via main syslog-ng binary
+# - same applies for modules
 %if %{without dynamic}
 %define                no_install_post_check_so        1
+# filterout_ld - see comment few lines above
+%define                filterout_ld                    -Wl,--as-needed -Wl,--no-copy-dt-needed-entries
 %define                _sbindir                        /sbin
 %define                _libdir                         /%{_lib}
 %endif
@@ -128,7 +134,6 @@ Opis zadania Upstart dla syslog-ng.
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 cp -a %{SOURCE4} doc
 cp -a %{SOURCE5} contrib/syslog-ng.conf.simple
 
This page took 0.068518 seconds and 4 git commands to generate.