Hello community,

here is the log from the commit of package lldpd for openSUSE:Factory checked 
in at 2019-02-15 10:03:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lldpd (Old)
 and      /work/SRC/openSUSE:Factory/.lldpd.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lldpd"

Fri Feb 15 10:03:00 2019 rev:7 rq:676157 version:1.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/lldpd/lldpd.changes      2018-12-04 
20:57:55.576613642 +0100
+++ /work/SRC/openSUSE:Factory/.lldpd.new.28833/lldpd.changes   2019-02-15 
10:03:08.599611406 +0100
@@ -1,0 +2,7 @@
+Thu Feb 14 14:30:16 UTC 2019 - Martin Pluskal <[email protected]>
+
+- Update to version 1.0.3:
+  * Fix creation of chroot directory.
+- Simplify spec file
+
+-------------------------------------------------------------------

Old:
----
  lldpd-1.0.2.tar.gz
  lldpd-1.0.2.tar.gz.asc

New:
----
  lldpd-1.0.3.tar.gz
  lldpd-1.0.3.tar.gz.asc

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

Other differences:
------------------
++++++ lldpd.spec ++++++
--- /var/tmp/diff_new_pack.V1TdOv/_old  2019-02-15 10:03:09.891610988 +0100
+++ /var/tmp/diff_new_pack.V1TdOv/_new  2019-02-15 10:03:09.895610987 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package lldpd
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -25,23 +25,8 @@
 %if ! %{defined _fillupdir}
   %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
-%bcond_without xml
-%bcond_without cdp
-%bcond_without edp
-%bcond_without sonmp
-%bcond_without fdp
-%bcond_without lldpmed
-%bcond_without dot1
-%bcond_without dot3
-%bcond_without custom
-%bcond_without snmp
-%bcond_with    oldies
-%bcond_without libbsd
-%bcond_without systemd
-%bcond_without system_libevent
-%bcond_with    seccomp
 Name:           lldpd
-Version:        1.0.2
+Version:        1.0.3
 Release:        0
 Summary:        Implementation of IEEE 802.1ab (LLDP)
 # We have some GPL linux headers in include/linux, they are used on
@@ -53,27 +38,16 @@
 Source1:        lldpd.sysconfig
 Source2:        
http://media.luffy.cx/files/lldpd/%{name}-%{version}.tar.gz.gpg#/%{name}-%{version}.tar.gz.asc
 Source3:        
http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x95A42FE8353525F9#/%{name}.keyring
+BuildRequires:  net-snmp-devel
+BuildRequires:  openssl-devel
 BuildRequires:  pkgconfig
 BuildRequires:  readline-devel
 BuildRequires:  systemd-rpm-macros
+BuildRequires:  pkgconfig(libbsd)
+BuildRequires:  pkgconfig(libevent)
+BuildRequires:  pkgconfig(libxml-2.0)
 Requires(pre):  %fillup_prereq
 Requires(pre):  pwdutils
-%if %{with seccomp}
-BuildRequires:  libseccomp-devel
-%endif
-%if %{with snmp}
-BuildRequires:  net-snmp-devel
-BuildRequires:  openssl-devel
-%endif
-%if %{with system_libevent}
-BuildRequires:  libevent-devel
-%endif
-%if %{with xml}
-BuildRequires:  libxml2-devel
-%endif
-%if %{with libbsd}
-BuildRequires:  libbsd-devel
-%endif
 
 %description
 This implementation provides LLDP sending and reception, supports VLAN
@@ -123,76 +97,23 @@
 
 %build
 %configure \
-%if %{with seccomp}
-  --with-seccomp \
-%endif
-%if %{with snmp}
    --with-snmp \
-%endif
-%if %{with xml}
    --with-xml \
-%endif
-%if %{with libbsd}
    --with-libbsd \
-%endif
-%if %{with cdp}
    --enable-cdp \
-%else
-   --disable-cdp \
-%endif
-%if %{with edp}
    --enable-edp \
-%else
-   --disable-edp \
-%endif
-%if %{with sonmp}
    --enable-sonmp \
-%else
-   --disable-sonmp \
-%endif
-%if %{with fdp}
    --enable-fdp \
-%else
-   --disable-fdp \
-%endif
-%if %{with lldpmed}
    --enable-lldpmed \
-%else
-   --disable-lldpmed \
-%endif
-%if %{with dot1}
    --enable-dot1 \
-%else
-   --disable-dot1 \
-%endif
-%if %{with dot3}
    --enable-dot3 \
-%else
-   --disable-dot3 \
-%endif
-%if %{with custom}
    --enable-custom \
-%else
-   --disable-custom \
-%endif
-%if %{with oldies}
-   --enable-oldies \
-%else
    --disable-oldies \
-%endif
    --with-privsep-user=%{lldpd_user} \
    --with-privsep-group=%{lldpd_group} \
    --with-privsep-chroot=%{lldpd_chroot} \
-%if %{without systemd}
-   --with-systemdsystemunitdir=no \
-%else
    --with-systemdsystemunitdir=%{_unitdir} \
-%endif
    --with-sysusersdir=no \
-   --prefix=%{_usr} \
-   --localstatedir=%{_localstatedir} \
-   --sysconfdir=%{_sysconfdir} \
-   --libdir=%{_libdir} \
    --docdir=%{_docdir}/lldpd \
    --enable-pie \
    --disable-static
@@ -220,7 +141,6 @@
 
 %post -n %{libname} -p /sbin/ldconfig
 %postun  -n %{libname} -p /sbin/ldconfig
-
 %post
 %service_add_post lldpd.service
 %fillup_only

++++++ lldpd-1.0.2.tar.gz -> lldpd-1.0.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lldpd-1.0.2/.dist-version 
new/lldpd-1.0.3/.dist-version
--- old/lldpd-1.0.2/.dist-version       2018-12-01 10:22:12.000000000 +0100
+++ new/lldpd-1.0.3/.dist-version       2018-12-10 15:03:43.000000000 +0100
@@ -1 +1 @@
-1.0.2
+1.0.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lldpd-1.0.2/ChangeLog new/lldpd-1.0.3/ChangeLog
--- old/lldpd-1.0.2/ChangeLog   2018-12-01 10:22:11.000000000 +0100
+++ new/lldpd-1.0.3/ChangeLog   2018-12-10 15:03:42.000000000 +0100
@@ -1,3 +1,12 @@
+1.0.3 [2018-12-10 15:02:58 +0100]:
+
+ - [0c08843c9014] release: 1.0.3 (Vincent Bernat)
+ - [22bd96c5ada0] daemon: fix creation of chroot directory (Vincent Bernat)
+ - [1baf9c0438de] osx: update version in HomeBrew formula (Vincent Bernat)
+ - [edf5dc16086e] osx: sync HomeBrew formula (Vincent Bernat)
+ - [17f7469e20bb] daemon: check if started through systemd first (Vincent 
Bernat)
+ - [c041c3e86d56] daemon: remove unused agent_default_agentx_socket() function 
(Vincent Bernat)
+
 1.0.2 [2018-12-01 10:21:01 +0100]:
 
  - [f1a6e154e764] release: 1.0.2 (Vincent Bernat)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lldpd-1.0.2/NEWS new/lldpd-1.0.3/NEWS
--- old/lldpd-1.0.2/NEWS        2018-11-30 22:37:06.000000000 +0100
+++ new/lldpd-1.0.3/NEWS        2018-12-10 14:54:19.000000000 +0100
@@ -1,3 +1,7 @@
+lldpd (1.0.3)
+  * Fix:
+    + Fix creation of chroot directory.
+
 lldpd (1.0.2)
   * Changes:
     + On Linux, the monitor process will now drop its privileges
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lldpd-1.0.2/configure new/lldpd-1.0.3/configure
--- old/lldpd-1.0.2/configure   2018-12-01 10:21:50.000000000 +0100
+++ new/lldpd-1.0.3/configure   2018-12-10 15:03:26.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for lldpd 1.0.2.
+# Generated by GNU Autoconf 2.69 for lldpd 1.0.3.
 #
 # Report bugs to <https://github.com/vincentbernat/lldpd/issues>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='lldpd'
 PACKAGE_TARNAME='lldpd'
-PACKAGE_VERSION='1.0.2'
-PACKAGE_STRING='lldpd 1.0.2'
+PACKAGE_VERSION='1.0.3'
+PACKAGE_STRING='lldpd 1.0.3'
 PACKAGE_BUGREPORT='https://github.com/vincentbernat/lldpd/issues'
 PACKAGE_URL='http://vincentbernat.github.io/lldpd/'
 
@@ -1517,7 +1517,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures lldpd 1.0.2 to adapt to many kinds of systems.
+\`configure' configures lldpd 1.0.3 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1588,7 +1588,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of lldpd 1.0.2:";;
+     short | recursive ) echo "Configuration of lldpd 1.0.3:";;
    esac
   cat <<\_ACEOF
 
@@ -1805,7 +1805,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-lldpd configure 1.0.2
+lldpd configure 1.0.3
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2285,7 +2285,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by lldpd $as_me 1.0.2, which was
+It was created by lldpd $as_me 1.0.3, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3159,7 +3159,7 @@
 
 # Define the identity of the package.
  PACKAGE='lldpd'
- VERSION='1.0.2'
+ VERSION='1.0.3'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -22934,7 +22934,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by lldpd $as_me 1.0.2, which was
+This file was extended by lldpd $as_me 1.0.3, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -23001,7 +23001,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-lldpd config.status 1.0.2
+lldpd config.status 1.0.3
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lldpd-1.0.2/src/daemon/agent_priv.c 
new/lldpd-1.0.3/src/daemon/agent_priv.c
--- old/lldpd-1.0.2/src/daemon/agent_priv.c     2018-06-16 19:44:20.000000000 
+0200
+++ new/lldpd-1.0.3/src/daemon/agent_priv.c     2018-12-01 10:47:20.000000000 
+0100
@@ -222,12 +222,6 @@
        return agent_priv_unix_transport((char *)o, o_len, local);
 }
 
-const char *
-agent_default_agentx_socket()
-{
-       return NETSNMP_AGENTX_SOCKET;
-}
-
 void
 agent_priv_register_domain()
 {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lldpd-1.0.2/src/daemon/lldpd.c 
new/lldpd-1.0.3/src/daemon/lldpd.c
--- old/lldpd-1.0.2/src/daemon/lldpd.c  2018-07-23 12:09:13.000000000 +0200
+++ new/lldpd-1.0.3/src/daemon/lldpd.c  2018-12-03 09:33:13.000000000 +0100
@@ -1791,8 +1791,7 @@
 
        /* Daemonization, unless started by systemd or launchd or debug */
 #ifndef HOST_OS_OSX
-       if (daemonize &&
-           !lldpd_started_by_systemd()) {
+       if (!lldpd_started_by_systemd() && daemonize) {
                int pid;
                char *spid;
                log_debug("main", "going into background");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lldpd-1.0.2/src/daemon/lldpd.h 
new/lldpd-1.0.3/src/daemon/lldpd.h
--- old/lldpd-1.0.2/src/daemon/lldpd.h  2018-06-16 19:44:20.000000000 +0200
+++ new/lldpd-1.0.3/src/daemon/lldpd.h  2018-12-01 10:47:34.000000000 +0100
@@ -179,7 +179,6 @@
 #ifdef ENABLE_PRIVSEP
 /* agent_priv.c */
 void            agent_priv_register_domain(void);
-const char     *agent_default_agentx_socket(void);
 #endif
 
 /* client.c */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lldpd-1.0.2/src/daemon/priv.c 
new/lldpd-1.0.3/src/daemon/priv.c
--- old/lldpd-1.0.2/src/daemon/priv.c   2018-08-08 23:11:42.000000000 +0200
+++ new/lldpd-1.0.3/src/daemon/priv.c   2018-12-10 14:51:55.000000000 +0100
@@ -513,7 +513,7 @@
 /* Create a directory recursively. */
 static int mkdir_p(const char *pathname, mode_t mode)
 {
-       char path[PATH_MAX+1], current[PATH_MAX+1];
+       char path[PATH_MAX+1], current[PATH_MAX+1] = {};
        char *tok;
 
        if (strlcpy(path, pathname, sizeof(path)) >= sizeof(path)) {


Reply via email to