Hello community,

here is the log from the commit of package argus-client for openSUSE:Leap:15.2 
checked in at 2020-02-19 19:42:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/argus-client (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.argus-client.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "argus-client"

Wed Feb 19 19:42:51 2020 rev:14 rq:777370 version:3.0.8.2

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/argus-client/argus-client.changes      
2020-01-15 14:47:19.949293231 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.argus-client.new.26092/argus-client.changes   
2020-02-19 19:43:09.493363717 +0100
@@ -1,0 +2,6 @@
+Sat Jun  8 04:46:29 UTC 2019 - Bernhard Wiedemann <[email protected]>
+
+- Add argus-client-fix-build.patch to properly fail build on errors
+  and avoid these (boo#1102408)
+
+-------------------------------------------------------------------

New:
----
  argus-client-fix-build.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ argus-client.spec ++++++
--- /var/tmp/diff_new_pack.aItUDh/_old  2020-02-19 19:43:09.985364688 +0100
+++ /var/tmp/diff_new_pack.aItUDh/_new  2020-02-19 19:43:09.985364688 +0100
@@ -27,6 +27,7 @@
 Source:         http://qosient.com/argus/src/%{name2}-%{version}.tar.gz
 Patch1:         %{name2}-3.0.6-overflow.patch
 Patch2:         %{name2}-3.0.8-fclose.patch
+Patch3:         argus-client-fix-build.patch
 BuildRequires:  bison
 BuildRequires:  flex
 BuildRequires:  libpcap-devel
@@ -43,6 +44,7 @@
 %setup -q -n %{name2}-%{version}
 %patch1
 %patch2
+%patch3 -p1
 
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"

++++++ argus-client-fix-build.patch ++++++
From: Bernhard M. Wiedemann <bwiedemann suse de>
To: [email protected]
Date: 2018-03-27

make argus-clients compilation properly fail on errors
instead of randomly and silently leaving out unrelated binaries
(unless building with make -k)

And fix compilation of radium and others on openSUSE Leap 15.0

Index: argus-clients-3.0.8.2/Makefile.in
===================================================================
--- argus-clients-3.0.8.2.orig/Makefile.in
+++ argus-clients-3.0.8.2/Makefile.in
@@ -63,7 +63,7 @@ all: force
        @for i in  $(DIRS) ; do \
                if [ -d $$i ] ; then \
                echo "making in $$i"; \
-               (cd $$i > /dev/null; $(MAKE));\
+               (cd $$i > /dev/null; $(MAKE)) || exit 50;\
                fi; \
        done
 
@@ -84,7 +84,7 @@ install:  force
        @for i in  $(INSTDIRS) ; do \
                if [ -d $$i ] ; then \
                echo "making in $$i"; \
-               (cd $$i > /dev/null; $(MAKE) install); \
+               (cd $$i > /dev/null; $(MAKE) install) || exit 51; \
                fi; \
        done
        $(INSTALL) -m 0644 $(srcdir)/support/Config/rarc 
$(DESTDIR)$(prefix)/argus/rarc
@@ -273,7 +273,7 @@ force:  /tmp
 depend: $(GENSRC) force
        @for i in $(DIRS) ; do \
                if [ -d $$i ] ; then \
-               (cd $$i > /dev/null; $(MAKE) depend ); \
+               (cd $$i > /dev/null; $(MAKE) depend ) || exit 52; \
                fi; \
        done
 
Index: argus-clients-3.0.8.2/configure
===================================================================
--- argus-clients-3.0.8.2.orig/configure
+++ argus-clients-3.0.8.2/configure
@@ -9041,7 +9041,7 @@ if test ! -z "$V_WRAPDEP"; then
          fi
          case "$target_os" in
          linux*)
-            V_WRAPDEP="$V_WRAPDEP -lnsl";;
+            V_WRAPDEP="$V_WRAPDEP";;
          esac
       fi
    fi
Index: argus-clients-3.0.8.2/configure.ac
===================================================================
--- argus-clients-3.0.8.2.orig/configure.ac
+++ argus-clients-3.0.8.2/configure.ac
@@ -173,7 +173,7 @@ if test ! -z "$V_WRAPDEP"; then
          fi
          case "$target_os" in
          linux*)
-            V_WRAPDEP="$V_WRAPDEP -lnsl";;
+            V_WRAPDEP="$V_WRAPDEP";;
          esac
       fi
    fi

Reply via email to