Hello community,

here is the log from the commit of package argus-client for openSUSE:Factory 
checked in at 2019-06-12 13:15:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/argus-client (Old)
 and      /work/SRC/openSUSE:Factory/.argus-client.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "argus-client"

Wed Jun 12 13:15:17 2019 rev:23 rq:708938 version:3.0.8.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/argus-client/argus-client.changes        
2018-03-20 21:59:55.242631102 +0100
+++ /work/SRC/openSUSE:Factory/.argus-client.new.4811/argus-client.changes      
2019-06-12 13:15:17.976753736 +0200
@@ -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.aE9NRq/_old  2019-06-12 13:15:18.552753132 +0200
+++ /var/tmp/diff_new_pack.aE9NRq/_new  2019-06-12 13:15:18.556753127 +0200
@@ -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