commit net-snmp for openSUSE:Factory

2023-10-26 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package net-snmp for openSUSE:Factory 
checked in at 2023-10-26 17:12:08

Comparing /work/SRC/openSUSE:Factory/net-snmp (Old)
 and  /work/SRC/openSUSE:Factory/.net-snmp.new.24901 (New)


Package is "net-snmp"

Thu Oct 26 17:12:08 2023 rev:109 rq:1120200 version:5.9.4

Changes:

--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp.changes2023-10-24 
20:07:59.279719171 +0200
+++ /work/SRC/openSUSE:Factory/.net-snmp.new.24901/net-snmp.changes 
2023-10-26 17:12:24.571840825 +0200
@@ -1,0 +2,7 @@
+Fri Oct 20 09:01:42 UTC 2023 - Thorsten Kukuk 
+
+- net-snmp-5.9.4-systemd-no-utmp.patch: prefer systemd-logind over
+  utmp to count number of logged in users, utmp is not reliable for
+  this and has a Y2038 problem (jsc#PED-3144) 
+
+---

New:

  net-snmp-5.9.4-systemd-no-utmp.patch



Other differences:
--
++ net-snmp.spec ++
--- /var/tmp/diff_new_pack.mCXCbp/_old  2023-10-26 17:12:25.247865653 +0200
+++ /var/tmp/diff_new_pack.mCXCbp/_new  2023-10-26 17:12:25.247865653 +0200
@@ -64,6 +64,7 @@
 Patch14:net-snmp-5.9.4-subagent-set-response.patch
 Patch15:net-snmp-5.9.4-fixed-python2-bindings.patch
 Patch16:net-snmp-5.9.4-add-netgroups-functionality.patch
+Patch17:net-snmp-5.9.4-systemd-no-utmp.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  autoconf
@@ -74,13 +75,13 @@
 BuildRequires:  procps
 BuildRequires:  python-rpm-macros
 BuildRequires:  rpm-devel
+BuildRequires:  systemd-devel
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  tcpd-devel
 Requires:   logrotate
 Requires:   perl-SNMP = %{version}
 Requires:   perl-TermReadKey
 Requires(post): %fillup_prereq
-%{?systemd_requires}
 %if 0%{?netsnmp_with_sensors}
 BuildRequires:  libsensors4-devel
 %endif

++ net-snmp-5.9.4-systemd-no-utmp.patch ++
diff -uwr net-snmp-5.9.3.old/agent/Makefile.in net-snmp-5.9.3/agent/Makefile.in
--- net-snmp-5.9.3.old/agent/Makefile.in2022-07-13 23:14:14.0 
+0200
+++ net-snmp-5.9.3/agent/Makefile.in2023-06-16 11:31:16.049538400 +0200
@@ -116,7 +116,7 @@
 MIBLIB = libnetsnmpmibs.$(LIB_EXTENSION)$(LIB_VERSION)
 
 LAGENTLIBS = @LAGENTLIBS@
-LMIBLIBS   = @LMIBLIBS@
+LMIBLIBS   = @LMIBLIBS@ -lsystemd
 VAL_LIBS   = @VAL_LIBS@
 PERLLDOPTS_FOR_APPS = @PERLLDOPTS_FOR_APPS@
 PERLLDOPTS_FOR_LIBS = @PERLLDOPTS_FOR_LIBS@
diff -uwr net-snmp-5.9.3.old/agent/mibgroup/host/hr_system.c 
net-snmp-5.9.3/agent/mibgroup/host/hr_system.c
--- net-snmp-5.9.3.old/agent/mibgroup/host/hr_system.c  2022-07-13 
23:14:14.0 +0200
+++ net-snmp-5.9.3/agent/mibgroup/host/hr_system.c  2023-06-16 
10:38:58.916026706 +0200
@@ -79,6 +79,11 @@
 #include 
 #endif
 
+#ifndef NETSNMP_NO_SYSTEMD
+#include 
+#include 
+#endif
+
 netsnmp_feature_require(date_n_time);
 
 #if !defined(UTMP_FILE) && defined(_PATH_UTMP)
@@ -686,6 +691,11 @@
 struct utmp*utmp_p;
 #endif
 
+#ifndef NETSNMP_NO_SYSTEMD
+if (sd_booted () > 0)
+total = sd_get_sessions (NULL);
+else {
+#endif
 setutent();
 while ((utmp_p = getutent()) != NULL) {
 #ifndef UTMP_HAS_NO_TYPE
@@ -704,6 +714,9 @@
 ++total;
 }
 endutent();
+#ifndef NETSNMP_NO_SYSTEMD
+}
+#endif
 #else /* WIN32 */
/* 
 * TODO - Error checking.


commit net-snmp for openSUSE:Factory

2023-10-24 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package net-snmp for openSUSE:Factory 
checked in at 2023-10-24 20:07:48

Comparing /work/SRC/openSUSE:Factory/net-snmp (Old)
 and  /work/SRC/openSUSE:Factory/.net-snmp.new.24901 (New)


Package is "net-snmp"

Tue Oct 24 20:07:48 2023 rev:108 rq:1119911 version:5.9.4

Changes:

--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp.changes2023-01-07 
17:16:54.761153092 +0100
+++ /work/SRC/openSUSE:Factory/.net-snmp.new.24901/net-snmp.changes 
2023-10-24 20:07:59.279719171 +0200
@@ -1,0 +2,52 @@
+Tue Oct 17 13:56:01 UTC 2023 - Alexander Bergmann 
+
+- Update to net-snmp-5.9.4 (bsc#1214364).
+  add (rename):
+  * net-snmp-5.9.4-add-lustre-fs-support.patch
+  * net-snmp-5.9.4-fix-create-v3-user-outfile.patch
+  * net-snmp-5.9.4-fixed-python2-bindings.patch
+  * net-snmp-5.9.4-fix-Makefile.PL.patch
+  * net-snmp-5.9.4-modern-rpm-api.patch
+  * net-snmp-5.9.4-net-snmp-config-headercheck.patch
+  * net-snmp-5.9.4-perl-tk-warning.patch
+  * net-snmp-5.9.4-pie.patch
+  * net-snmp-5.9.4-snmpstatus-suppress-output.patch
+  * net-snmp-5.9.4-socket-path.patch
+  * net-snmp-5.9.4-subagent-set-response.patch
+  * net-snmp-5.9.4-suse-systemd-service-files.patch
+  * net-snmp-5.9.4-testing-empty-arptable.patch
+  delete (now part of v5.9.4):
+  * net-snmp-5.9.3-disallow_SET_requests_with_NULL_varbind.patch
+  * net-snmp-5.9.3-grep.patch
+  delete (rename):
+  * net-snmp-5.9.1-add-lustre-fs-support.patch
+  * net-snmp-5.9.2-fix-create-v3-user-outfile.patch
+  * net-snmp-5.9.3-fixed-python2-bindings.patch
+  * net-snmp-5.9.1-fix-Makefile.PL.patch
+  * net-snmp-5.9.1-modern-rpm-api.patch
+  * net-snmp-5.9.1-net-snmp-config-headercheck.patch
+  * net-snmp-5.9.1-perl-tk-warning.patch
+  * net-snmp-5.9.2-pie.patch
+  * net-snmp-5.9.1-snmpstatus-suppress-output.patch
+  * net-snmp-5.9.1-socket-path.patch
+  * net-snmp-5.9.1-subagent-set-response.patch
+  * net-snmp-5.9.1-suse-systemd-service-files.patch
+  * net-snmp-5.9.1-testing-empty-arptable.patch
+- Removing legacy MIBs used by Velocity Software (jira#PED-6416).
+  delete:
+  * net-snmp-5.9.1-velocity-mib.patch
+- Re-add support for hostname netgroups that was removed accidentally and
+  previously added with FATE#316305 (bsc#1207697).
+  '@hostgroup' can be specified for multiple hosts
+  add:
+  * net-snmp-5.9.4-add-netgroups-functionality.patch
+- Hardening systemd services setting "ProtectHome=true" caused home directory
+  size and allocation to be listed incorrectly (bsc#1206044).
+  add (rename):
+  * net-snmp-5.9.4-harden_snmpd.service.patch
+  * net-snmp-5.9.4-harden_snmptrapd.service.patch
+  delete (rename):
+  * net-snmp-5.9.1-harden_snmpd.service.patch
+  * net-snmp-5.9.1-harden_snmptrapd.service.patch
+
+---

Old:

  net-snmp-5.9.1-add-lustre-fs-support.patch
  net-snmp-5.9.1-fix-Makefile.PL.patch
  net-snmp-5.9.1-harden_snmpd.service.patch
  net-snmp-5.9.1-harden_snmptrapd.service.patch
  net-snmp-5.9.1-modern-rpm-api.patch
  net-snmp-5.9.1-net-snmp-config-headercheck.patch
  net-snmp-5.9.1-perl-tk-warning.patch
  net-snmp-5.9.1-snmpstatus-suppress-output.patch
  net-snmp-5.9.1-socket-path.patch
  net-snmp-5.9.1-subagent-set-response.patch
  net-snmp-5.9.1-suse-systemd-service-files.patch
  net-snmp-5.9.1-testing-empty-arptable.patch
  net-snmp-5.9.1-velocity-mib.patch
  net-snmp-5.9.2-fix-create-v3-user-outfile.patch
  net-snmp-5.9.2-pie.patch
  net-snmp-5.9.3-disallow_SET_requests_with_NULL_varbind.patch
  net-snmp-5.9.3-fixed-python2-bindings.patch
  net-snmp-5.9.3-grep.patch
  net-snmp-5.9.3.tar.gz
  net-snmp-5.9.3.tar.gz.asc

New:

  net-snmp-5.9.4-add-lustre-fs-support.patch
  net-snmp-5.9.4-add-netgroups-functionality.patch
  net-snmp-5.9.4-fix-Makefile.PL.patch
  net-snmp-5.9.4-fix-create-v3-user-outfile.patch
  net-snmp-5.9.4-fixed-python2-bindings.patch
  net-snmp-5.9.4-harden_snmpd.service.patch
  net-snmp-5.9.4-harden_snmptrapd.service.patch
  net-snmp-5.9.4-modern-rpm-api.patch
  net-snmp-5.9.4-net-snmp-config-headercheck.patch
  net-snmp-5.9.4-perl-tk-warning.patch
  net-snmp-5.9.4-pie.patch
  net-snmp-5.9.4-snmpstatus-suppress-output.patch
  net-snmp-5.9.4-socket-path.patch
  net-snmp-5.9.4-subagent-set-response.patch
  net-snmp-5.9.4-suse-systemd-service-files.patch
  net-snmp-5.9.4-testing-empty-arptable.patch
  net-snmp-5.9.4.tar.gz
  net-snmp-5.9.4.tar.gz.asc



Other differences:
--
++ net-snmp.spec ++
--- /var/tmp/diff_new_pack.Y1NDPt/_old  2023-10-24 20:08:00.415760473 +0200
+++ /var/tmp/diff_new_pack.Y1NDPt/_new  2023-10-24 20:08:00.415760473 +0200
@@ -30,7 +30,7 @@
 %define libname libsnmp40
 %bcond_without python2
 Name: 

commit net-snmp for openSUSE:Factory

2023-01-07 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package net-snmp for openSUSE:Factory 
checked in at 2023-01-07 17:16:23

Comparing /work/SRC/openSUSE:Factory/net-snmp (Old)
 and  /work/SRC/openSUSE:Factory/.net-snmp.new.1563 (New)


Package is "net-snmp"

Sat Jan  7 17:16:23 2023 rev:107 rq:1056420 version:5.9.3

Changes:

--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp.changes2022-10-10 
18:44:29.142858733 +0200
+++ /work/SRC/openSUSE:Factory/.net-snmp.new.1563/net-snmp.changes  
2023-01-07 17:16:54.761153092 +0100
@@ -1,0 +2,11 @@
+Thu Jan  5 11:49:22 UTC 2023 - Alexander Bergmann 
+
+- Fixed NULL pointer exception issue when handling ipDefaultTTL or
+  pv6IpForwarding (bsc#1205148, CVE-2022-44793, bsc#1205150, CVE-2022-44792).
+  add:
+  * net-snmp-5.9.3-disallow_SET_requests_with_NULL_varbind.patch
+- Enable AES-192 and AES-256 privacy protocol (bsc#1206828).
+- Use new MFD rewrites of mib modules, where available.
+- Disable legacy DES encryption and MD5 authentication protocols.
+
+---

New:

  net-snmp-5.9.3-disallow_SET_requests_with_NULL_varbind.patch



Other differences:
--
++ net-snmp.spec ++
--- /var/tmp/diff_new_pack.uv1mrz/_old  2023-01-07 17:16:55.573157936 +0100
+++ /var/tmp/diff_new_pack.uv1mrz/_new  2023-01-07 17:16:55.581157984 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package net-snmp
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -65,6 +65,7 @@
 Patch15:net-snmp-5.9.1-subagent-set-response.patch
 Patch16:net-snmp-5.9.3-fixed-python2-bindings.patch
 Patch17:net-snmp-5.9.3-grep.patch
+Patch18:net-snmp-5.9.3-disallow_SET_requests_with_NULL_varbind.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  autoconf
@@ -264,6 +265,8 @@
--with-libwrap="%{_prefix}" \
--with-perl-modules="INSTALLDIRS=vendor" \
--with-defaults \
+   --with-pic \
+   --sysconfdir=%{_sysconfdir} \
--enable-shared \
--disable-static \
--enable-as-needed \
@@ -271,9 +274,14 @@
--enable-local-smux \
--enable-ipv6 \
--enable-ucd-snmp-compatibility \
+   --enable-mfd-rewrites \
--with-security-modules=tsm,usm \
--with-transports=TLSTCP,DTLSUDP \
---with-systemd
+   --with-systemd \
+   --with-openssl \
+   --enable-blumenthal-aes \
+   --disable-des \
+   --disable-md5
 
 # Parallel build deps not properly stated
 %make_build -j1

++ net-snmp-5.9.3-disallow_SET_requests_with_NULL_varbind.patch ++
diff -Nurp net-snmp-5.9.3-orig/agent/snmp_agent.c 
net-snmp-5.9.3/agent/snmp_agent.c
--- net-snmp-5.9.3-orig/agent/snmp_agent.c  2022-07-13 23:14:14.0 
+0200
+++ net-snmp-5.9.3/agent/snmp_agent.c   2023-01-05 12:44:03.533604744 +0100
@@ -3719,12 +3719,44 @@ netsnmp_handle_request(netsnmp_agent_ses
 return 1;
 }
 
+static int
+check_set_pdu_for_null_varbind(netsnmp_agent_session *asp)
+{
+int i;
+netsnmp_variable_list *v = NULL;
+
+for (i = 1, v = asp->pdu->variables; v != NULL; i++, v = v->next_variable) 
{
+   if (v->type == ASN_NULL) {
+   /*
+* Protect SET implementations that do not protect themselves
+* against wrong type.
+*/
+   DEBUGMSGTL(("snmp_agent", "disallowing SET with NULL var for 
varbind %d\n", i));
+   asp->index = i;
+   return SNMP_ERR_WRONGTYPE;
+   }
+}
+return SNMP_ERR_NOERROR;
+}
+
 int
 handle_pdu(netsnmp_agent_session *asp)
 {
 int status, inclusives = 0;
 netsnmp_variable_list *v = NULL;
 
+#ifndef NETSNMP_NO_WRITE_SUPPORT
+/*
+ * Check for ASN_NULL in SET request
+ */
+if (asp->pdu->command == SNMP_MSG_SET) {
+   status = check_set_pdu_for_null_varbind(asp);
+   if (status != SNMP_ERR_NOERROR) {
+   return status;
+   }
+}
+#endif /* NETSNMP_NO_WRITE_SUPPORT */
+
 /*
  * for illegal requests, mark all nodes as ASN_NULL 
  */
diff -Nurp net-snmp-5.9.3-orig/apps/snmpset.c net-snmp-5.9.3/apps/snmpset.c
--- net-snmp-5.9.3-orig/apps/snmpset.c  2022-07-13 23:14:14.0 +0200
+++ net-snmp-5.9.3/apps/snmpset.c   2023-01-05 12:44:06.377533268 +0100
@@ -182,6 +182,7 @@ main(int argc, char *argv[])
 case 'x':
 case 'd':
 case 'b':
+case 'n': /* undocumented */
 #ifdef NETSNMP_WITH_OPAQUE_SPECIAL_TYPES
 case

commit net-snmp for openSUSE:Factory

2022-10-10 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package net-snmp for openSUSE:Factory 
checked in at 2022-10-10 18:44:07

Comparing /work/SRC/openSUSE:Factory/net-snmp (Old)
 and  /work/SRC/openSUSE:Factory/.net-snmp.new.2275 (New)


Package is "net-snmp"

Mon Oct 10 18:44:07 2022 rev:106 rq:1008161 version:5.9.3

Changes:

--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp.changes2022-09-30 
17:57:24.405198885 +0200
+++ /work/SRC/openSUSE:Factory/.net-snmp.new.2275/net-snmp.changes  
2022-10-10 18:44:29.142858733 +0200
@@ -1,0 +2,6 @@
+Mon Oct  3 11:45:51 UTC 2022 - Andreas Stieger 
+
+- change egrep/fgrep to grep -E/-F to avoid warnings boo#1203096
+  add net-snmp-5.9.3-grep.patch
+
+---

New:

  net-snmp-5.9.3-grep.patch



Other differences:
--
++ net-snmp.spec ++
--- /var/tmp/diff_new_pack.so08n0/_old  2022-10-10 18:44:30.030860644 +0200
+++ /var/tmp/diff_new_pack.so08n0/_new  2022-10-10 18:44:30.034860652 +0200
@@ -64,6 +64,7 @@
 Patch14:net-snmp-5.9.2-fix-create-v3-user-outfile.patch
 Patch15:net-snmp-5.9.1-subagent-set-response.patch
 Patch16:net-snmp-5.9.3-fixed-python2-bindings.patch
+Patch17:net-snmp-5.9.3-grep.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  autoconf

++ net-snmp-5.9.3-grep.patch ++
>From 011de0e8fce88702619ba78cc80c900991a8e036 Mon Sep 17 00:00:00 2001
From: Andreas Stieger 
Date: Sun, 2 Oct 2022 16:10:38 +0200
Subject: [PATCH 02/10] configure: change use of fgrep to AC detected tool

GNU grep 3.8 started throwing warnings for direct usage,
deprecating it in favour of grep -F

[ bvanassche: regenerated configure script ]
---
 configure| 4 ++--
 configure.d/config_modules_agent | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure b/configure
index 727164eb7..65b99c020 100755
--- a/configure
+++ b/configure
@@ -22257,8 +22257,8 @@ $as_echo "$NETSNMP_DEFAULT_MIBS" >&6; }
 #
 
 if echo " $agent_module_list " | \
-   fgrep ' agentx/agentx_config ' | \
-   fgrep ' agentx/protocol ' > /dev/null ; then
+   $FGREP ' agentx/agentx_config ' | \
+   $FGREP ' agentx/protocol ' > /dev/null ; then
NETSNMP_HAVE_AGENTX_LIBS_TRUE=''
NETSNMP_HAVE_AGENTX_LIBS_FALSE='#'
 else
diff --git a/configure.d/config_modules_agent b/configure.d/config_modules_agent
index 1132da8d9..0169749d9 100644
--- a/configure.d/config_modules_agent
+++ b/configure.d/config_modules_agent
@@ -814,8 +814,8 @@ AC_MSG_RESULT($NETSNMP_DEFAULT_MIBS)
 #
 
 if echo " $agent_module_list " | \
-   fgrep ' agentx/agentx_config ' | \
-   fgrep ' agentx/protocol ' > /dev/null ; then
+   $FGREP ' agentx/agentx_config ' | \
+   $FGREP ' agentx/protocol ' > /dev/null ; then
NETSNMP_HAVE_AGENTX_LIBS_TRUE=''
NETSNMP_HAVE_AGENTX_LIBS_FALSE='#'
 else
-- 
2.37.3

>From 5ae5ad5234a8e0ef3661fe3ec3c77ae57b156bf5 Mon Sep 17 00:00:00 2001
From: Andreas Stieger 
Date: Sun, 2 Oct 2022 16:34:17 +0200
Subject: [PATCH 03/10] Makefile.in: change use of egrep to AC detected tool

GNU grep 3.8 started throwing warnings for direct usage,
deprecating it in favour of grep -E
---
 Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.in b/Makefile.in
index 9b0f0dbac..9fe3781e5 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -119,7 +119,7 @@ agentxtrap snmptrapd: @FEATURETARGS@
 # local build rules
 #
 sedscript: sedscript.in include/net-snmp/net-snmp-config.h 
$(srcdir)/agent/mibgroup/mibdefs.h
-   $(CPP) $(srcdir)/sedscript.in | egrep '^s[/#]' | sed 's/REMOVEME//g;s# 
*/#/#g;s/ *#/#/g;s#/ *#/#g;s/# g/#g/;' > sedscript
+   $(CPP) $(srcdir)/sedscript.in | ${EGREP} '^s[/#]' | sed 
's/REMOVEME//g;s# */#/#g;s/ *#/#/g;s#/ *#/#g;s/# g/#g/;' > sedscript
echo 's/VERSIONINFO/$(VERSION)/g' >> sedscript
echo 's#DATADIR#$(datadir)#g' >> sedscript
echo 's#LIBDIR#$(libdir)#g' >> sedscript
-- 
2.37.3

>From 9a577171ce728b97aeb42c455f5d09a2c3e2b51f Mon Sep 17 00:00:00 2001
From: Andreas Stieger 
Date: Sun, 2 Oct 2022 16:35:22 +0200
Subject: [PATCH 04/10] dist: update instructions and scripts to use grep -E

GNU grep 3.8 started throwing warnings for direct usage of egrep,
deprecating it in favour of grep -E
---
 dist/RELEASE-INSTRUCTIONS| 2 +-
 dist/makerelease.xml | 4 ++--
 dist/net-snmp-solaris-build/buildpackage-solaris | 2 +-
 dist/nsb-functions   | 4 ++--
 dist/patme   | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/dist/RELEASE-INSTRUC

commit net-snmp for openSUSE:Factory

2022-09-30 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package net-snmp for openSUSE:Factory 
checked in at 2022-09-30 17:57:10

Comparing /work/SRC/openSUSE:Factory/net-snmp (Old)
 and  /work/SRC/openSUSE:Factory/.net-snmp.new.2275 (New)


Package is "net-snmp"

Fri Sep 30 17:57:10 2022 rev:105 rq:1006703 version:5.9.3

Changes:

--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp.changes2022-09-22 
14:49:44.302407823 +0200
+++ /work/SRC/openSUSE:Factory/.net-snmp.new.2275/net-snmp.changes  
2022-09-30 17:57:24.405198885 +0200
@@ -1,0 +2,7 @@
+Tue Sep 27 14:56:27 UTC 2022 - Alexander Bergmann 
+
+- Fixed python2 backward compability.
+  add:
+  * net-snmp-5.9.3-fixed-python2-bindings.patch
+
+---

New:

  net-snmp-5.9.3-fixed-python2-bindings.patch



Other differences:
--
++ net-snmp.spec ++
--- /var/tmp/diff_new_pack.DwsT0R/_old  2022-09-30 17:57:25.197200578 +0200
+++ /var/tmp/diff_new_pack.DwsT0R/_new  2022-09-30 17:57:25.201200587 +0200
@@ -63,6 +63,7 @@
 Patch13:net-snmp-5.9.1-suse-systemd-service-files.patch
 Patch14:net-snmp-5.9.2-fix-create-v3-user-outfile.patch
 Patch15:net-snmp-5.9.1-subagent-set-response.patch
+Patch16:net-snmp-5.9.3-fixed-python2-bindings.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  autoconf

++ net-snmp-5.9.3-fixed-python2-bindings.patch ++
diff -Nurp net-snmp-5.9.3-orig/python/netsnmp/client_intf.c 
net-snmp-5.9.3/python/netsnmp/client_intf.c
--- net-snmp-5.9.3-orig/python/netsnmp/client_intf.c2022-07-13 
23:14:14.0 +0200
+++ net-snmp-5.9.3/python/netsnmp/client_intf.c 2022-09-23 16:21:44.040588303 
+0200
@@ -872,9 +872,16 @@ py_netsnmp_attr_string(PyObject *obj, co
   if (obj && attr_name && PyObject_HasAttrString(obj, attr_name)) {
 PyObject *attr = PyObject_GetAttrString(obj, attr_name);
 if (attr) {
+#if PY_MAJOR_VERSION >= 3
   *val = PyUnicode_AsUTF8AndSize(attr, len);
   Py_DECREF(attr);
   return 0;
+#else
+  int retval;
+  retval = PyBytes_AsStringAndSize(attr, val, len);
+  Py_DECREF(attr);
+  return retval;
+#endif
 }
   }
 


commit net-snmp for openSUSE:Factory

2022-09-22 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package net-snmp for openSUSE:Factory 
checked in at 2022-09-22 14:49:37

Comparing /work/SRC/openSUSE:Factory/net-snmp (Old)
 and  /work/SRC/openSUSE:Factory/.net-snmp.new.2275 (New)


Package is "net-snmp"

Thu Sep 22 14:49:37 2022 rev:104 rq:1005250 version:5.9.3

Changes:

--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp.changes2022-07-13 
14:01:50.447398306 +0200
+++ /work/SRC/openSUSE:Factory/.net-snmp.new.2275/net-snmp.changes  
2022-09-22 14:49:44.302407823 +0200
@@ -1,0 +2,13 @@
+Wed Sep 21 14:44:13 UTC 2022 - Alexander Bergmann 
+
+- update to 5.9.3:
+  - Fixed library versioning bug found in 5.9.2.
+  - Library version change to libsnmp40.
+
+---
+Thu Sep  1 07:27:27 UTC 2022 - Stefan Schubert 
+
+- Migration to /usr/etc: Saving user changed configuration files
+  in /etc and restoring them while an RPM update.
+
+---

Old:

  net-snmp-5.9.2.tar.gz
  net-snmp-5.9.2.tar.gz.asc

New:

  net-snmp-5.9.3.tar.gz
  net-snmp-5.9.3.tar.gz.asc



Other differences:
--
++ net-snmp.spec ++
--- /var/tmp/diff_new_pack.MHo6VT/_old  2022-09-22 14:49:45.134409934 +0200
+++ /var/tmp/diff_new_pack.MHo6VT/_new  2022-09-22 14:49:45.142409954 +0200
@@ -27,10 +27,10 @@
 %ifnarch s390 s390x
 %define netsnmp_with_sensors 1
 %endif
-%define libname libsnmp39
+%define libname libsnmp40
 %bcond_without python2
 Name:   net-snmp
-Version:5.9.2
+Version:5.9.3
 Release:0
 Summary:SNMP Daemon
 License:BSD-3-Clause AND MIT
@@ -320,6 +320,20 @@
 
 %pre
 %service_add_pre snmpd.service snmptrapd.service
+%if 0%{?suse_version} > 1500
+# Prepare for migration to /usr/etc; save any old .rpmsave
+for i in logrotate.d/net-snmp ; do
+   test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave 
%{_sysconfdir}/${i}.rpmsave.old ||:
+done
+%endif
+
+%if 0%{?suse_version} > 1500
+%posttrans
+# Migration to /usr/etc, restore just created .rpmsave
+for i in logrotate.d/net-snmp ; do
+   test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave 
%{_sysconfdir}/${i} ||:
+done
+%endif
 
 %post
 %fillup_only -n snmpd

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.MHo6VT/_old  2022-09-22 14:49:45.210410127 +0200
+++ /var/tmp/diff_new_pack.MHo6VT/_new  2022-09-22 14:49:45.214410136 +0200
@@ -1,5 +1,5 @@
-libsnmp39
+libsnmp40
 net-snmp-devel
requires -net-snmp-
-   requires "libsnmp39- = "
+   requires "libsnmp40- = "
 

++ net-snmp-5.9.2.tar.gz -> net-snmp-5.9.3.tar.gz ++
/work/SRC/openSUSE:Factory/net-snmp/net-snmp-5.9.2.tar.gz 
/work/SRC/openSUSE:Factory/.net-snmp.new.2275/net-snmp-5.9.3.tar.gz differ: 
char 13, line 1


commit net-snmp for openSUSE:Factory

2022-07-13 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package net-snmp for openSUSE:Factory 
checked in at 2022-07-13 14:01:49

Comparing /work/SRC/openSUSE:Factory/net-snmp (Old)
 and  /work/SRC/openSUSE:Factory/.net-snmp.new.1523 (New)


Package is "net-snmp"

Wed Jul 13 14:01:49 2022 rev:103 rq:988954 version:5.9.2

Changes:

--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp.changes2022-07-07 
12:56:33.839251786 +0200
+++ /work/SRC/openSUSE:Factory/.net-snmp.new.1523/net-snmp.changes  
2022-07-13 14:01:50.447398306 +0200
@@ -1,0 +2,6 @@
+Tue Jul 12 14:18:13 UTC 2022 - Dominique Leuenberger 
+
+- Rename libsnmp40 subpackage to libsnmp39: the libraries are all
+  having soversion 39.
+
+---



Other differences:
--
++ net-snmp.spec ++
--- /var/tmp/diff_new_pack.sZSR20/_old  2022-07-13 14:01:51.547399776 +0200
+++ /var/tmp/diff_new_pack.sZSR20/_new  2022-07-13 14:01:51.547399776 +0200
@@ -27,7 +27,7 @@
 %ifnarch s390 s390x
 %define netsnmp_with_sensors 1
 %endif
-%define libname libsnmp40
+%define libname libsnmp39
 %bcond_without python2
 Name:   net-snmp
 Version:5.9.2
@@ -116,6 +116,8 @@
 Group:  System/Libraries
 Requires:   perl-base = %{perl_version}
 Requires:   snmp-mibs >= %{version}
+# Version 5.9.2 was wrongly packaging .so.39 in libsnmp40
+Conflicts:  libsnmp40 <= 5.9.2
 
 %description -n %{libname}
 Net-SNMP is a suite of applications used to implement SNMP v1, SNMP v2c

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.sZSR20/_old  2022-07-13 14:01:51.595399840 +0200
+++ /var/tmp/diff_new_pack.sZSR20/_new  2022-07-13 14:01:51.595399840 +0200
@@ -1,5 +1,5 @@
-libsnmp40
+libsnmp39
 net-snmp-devel
requires -net-snmp-
-   requires "libsnmp40- = "
+   requires "libsnmp39- = "
 


commit net-snmp for openSUSE:Factory

2022-07-07 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package net-snmp for openSUSE:Factory 
checked in at 2022-07-07 12:56:21

Comparing /work/SRC/openSUSE:Factory/net-snmp (Old)
 and  /work/SRC/openSUSE:Factory/.net-snmp.new.1523 (New)


Package is "net-snmp"

Thu Jul  7 12:56:21 2022 rev:102 rq:987152 version:5.9.2

Changes:

--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp.changes2022-07-01 
13:43:47.254792920 +0200
+++ /work/SRC/openSUSE:Factory/.net-snmp.new.1523/net-snmp.changes  
2022-07-07 12:56:33.839251786 +0200
@@ -1,0 +2,28 @@
+Mon Jul  4 15:06:59 UTC 2022 - Alexander Bergmann 
+
+- update to 5.9.2 (bsc#1201103):
+  - security:
+- These two CVEs can be exploited by a user with read-only credentials:
+  - CVE-2022-24805??A buffer overflow in the handling of the INDEX of
+NET-SNMP-VACM-MIB can cause an out-of-bounds memory access.
+  - CVE-2022-24809??A malformed OID in a GET-NEXT to the nsVacmAccessTable
+can cause a NULL pointer dereference.
+- These CVEs can be exploited by a user with read-write credentials:
+  - CVE-2022-24806??Improper Input Validation when SETing malformed
+OIDs in master agent and subagent simultaneously
+  - CVE-2022-24807??A malformed OID in a SET request to
+SNMP-VIEW-BASED-ACM-MIB::vacmAccessTable can cause an
+out-of-bounds memory access.
+  - CVE-2022-24808??A malformed OID in a SET request to
+NET-SNMP-AGENT-MIB::nsLogTable can cause a NULL pointer dereference
+  - CVE-2022-24810??A malformed OID in a SET to the nsVacmAccessTable
+can cause a NULL pointer dereference.
+- Refactor two patches to work with version number 5.9.2:
+  delete:
+  * net-snmp-5.9.1-pie.patch
+  * net-snmp-5.9.1-fix-create-v3-user-outfile.patch
+  add:
+  * net-snmp-5.9.2-pie.patch
+  * net-snmp-5.9.2-fix-create-v3-user-outfile.patch
+
+---

Old:

  net-snmp-5.9.1-fix-create-v3-user-outfile.patch
  net-snmp-5.9.1-pie.patch
  net-snmp-5.9.1.tar.gz
  net-snmp-5.9.1.tar.gz.asc

New:

  net-snmp-5.9.2-fix-create-v3-user-outfile.patch
  net-snmp-5.9.2-pie.patch
  net-snmp-5.9.2.tar.gz
  net-snmp-5.9.2.tar.gz.asc



Other differences:
--
++ net-snmp.spec ++
--- /var/tmp/diff_new_pack.6DcSZF/_old  2022-07-07 12:56:34.427252661 +0200
+++ /var/tmp/diff_new_pack.6DcSZF/_new  2022-07-07 12:56:34.431252668 +0200
@@ -30,7 +30,7 @@
 %define libname libsnmp40
 %bcond_without python2
 Name:   net-snmp
-Version:5.9.1
+Version:5.9.2
 Release:0
 Summary:SNMP Daemon
 License:BSD-3-Clause AND MIT
@@ -50,7 +50,7 @@
 Source99:   baselibs.conf
 Patch1: net-snmp-5.9.1-socket-path.patch
 Patch2: net-snmp-5.9.1-testing-empty-arptable.patch
-Patch3: net-snmp-5.9.1-pie.patch
+Patch3: net-snmp-5.9.2-pie.patch
 Patch4: net-snmp-5.9.1-net-snmp-config-headercheck.patch
 Patch5: net-snmp-5.9.1-perl-tk-warning.patch
 Patch6: net-snmp-5.9.1-velocity-mib.patch
@@ -61,7 +61,7 @@
 Patch11:net-snmp-5.9.1-harden_snmpd.service.patch
 Patch12:net-snmp-5.9.1-harden_snmptrapd.service.patch
 Patch13:net-snmp-5.9.1-suse-systemd-service-files.patch
-Patch14:net-snmp-5.9.1-fix-create-v3-user-outfile.patch
+Patch14:net-snmp-5.9.2-fix-create-v3-user-outfile.patch
 Patch15:net-snmp-5.9.1-subagent-set-response.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}

++ net-snmp-5.9.1-fix-create-v3-user-outfile.patch -> 
net-snmp-5.9.2-fix-create-v3-user-outfile.patch ++
--- 
/work/SRC/openSUSE:Factory/net-snmp/net-snmp-5.9.1-fix-create-v3-user-outfile.patch
 2022-04-04 19:25:47.256953348 +0200
+++ 
/work/SRC/openSUSE:Factory/.net-snmp.new.1523/net-snmp-5.9.2-fix-create-v3-user-outfile.patch
   2022-07-07 12:56:33.459251221 +0200
@@ -1,10 +1,10 @@
-diff -Nurp net-snmp-5.9.1-orig/net-snmp-create-v3-user.in 
net-snmp-5.9.1/net-snmp-create-v3-user.in
 net-snmp-5.9.1-orig/net-snmp-create-v3-user.in 2021-05-26 
00:19:35.0 +0200
-+++ net-snmp-5.9.1/net-snmp-create-v3-user.in  2022-03-09 16:15:47.782006944 
+0100
-@@ -136,7 +136,7 @@ fi
- echo "$line" >> "$outfile"
- # Avoid that configure complains that this script ignores @datarootdir@
- echo "@datarootdir@" >/dev/null
+diff -Nurp net-snmp-5.9.2-orig/net-snmp-create-v3-user.in 
net-snmp-5.9.2/net-snmp-create-v3-user.in
+--- net-snmp-5.9.2-orig/net-snmp-create-v3-user.in 2022-07-04 
16:55:43.067366177 +0200
 net-snmp-5.9.2/net-snmp-create-v3-user.in  2022-07-04 16:57:54.927367685 
+0200
+@@ -138,7 +138,7 @@ prefix=@prefix@
+

commit net-snmp for openSUSE:Factory

2022-07-01 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package net-snmp for openSUSE:Factory 
checked in at 2022-07-01 13:43:46

Comparing /work/SRC/openSUSE:Factory/net-snmp (Old)
 and  /work/SRC/openSUSE:Factory/.net-snmp.new.1548 (New)


Package is "net-snmp"

Fri Jul  1 13:43:46 2022 rev:101 rq:985926 version:5.9.1

Changes:

--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp.changes2022-04-04 
19:25:47.792947203 +0200
+++ /work/SRC/openSUSE:Factory/.net-snmp.new.1548/net-snmp.changes  
2022-07-01 13:43:47.254792920 +0200
@@ -1,0 +2,6 @@
+Wed Jun 29 11:21:07 UTC 2022 - Stefan Schubert 
+
+- Moved logrotate files from user specific directory /etc/logrotate.d
+  to vendor specific directory /usr/etc/logrotate.d.
+
+---



Other differences:
--
++ net-snmp.spec ++
--- /var/tmp/diff_new_pack.Bql2Ru/_old  2022-07-01 13:43:48.682795065 +0200
+++ /var/tmp/diff_new_pack.Bql2Ru/_new  2022-07-01 13:43:48.690795077 +0200
@@ -285,7 +285,12 @@
 install -D -m 0644 dist/snmptrapd.service 
%{buildroot}%{_unitdir}/snmptrapd.service
 install -D -m 0600 %{SOURCE1} %{buildroot}%{_sysconfdir}/snmp/snmpd.conf
 install -m 0644 %{SOURCE2} .
+%if 0%{?suse_version} > 1500
+mkdir -p %{buildroot}%{_distconfdir}/logrotate.d
+install -D -m 0644 %{SOURCE3} %{buildroot}%{_distconfdir}/logrotate.d/net-snmp
+%else
 install -D -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/logrotate.d/net-snmp
+%endif
 install -m 0744 %{SOURCE4} testing/
 ln -sf service %{buildroot}%{_sbindir}/rcsnmpd
 ln -sf service %{buildroot}%{_sbindir}/rcsnmptrapd
@@ -379,7 +384,11 @@
 %{_localstatedir}/lib/net-snmp
 %dir %ghost %attr(700,root,root) %{netsnmp_agentx_socket_dir_fhs}
 %ghost %{netsnmp_logfile}
+%if 0%{?suse_version} > 1500
+%{_distconfdir}/logrotate.d/net-snmp
+%else
 %config(noreplace) %{_sysconfdir}/logrotate.d/net-snmp
+%endif
 %{_fillupdir}/sysconfig.snmpd
 %{_fillupdir}/sysconfig.snmptrapd
 %{netsnmp_agentx_socket_dir_rfc}


commit net-snmp for openSUSE:Factory

2022-04-04 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package net-snmp for openSUSE:Factory 
checked in at 2022-04-04 19:25:45

Comparing /work/SRC/openSUSE:Factory/net-snmp (Old)
 and  /work/SRC/openSUSE:Factory/.net-snmp.new.1900 (New)


Package is "net-snmp"

Mon Apr  4 19:25:45 2022 rev:100 rq:966136 version:5.9.1

Changes:

--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp.changes2022-02-24 
18:18:21.662739931 +0100
+++ /work/SRC/openSUSE:Factory/.net-snmp.new.1900/net-snmp.changes  
2022-04-04 19:25:47.792947203 +0200
@@ -1,0 +2,32 @@
+Wed Mar 30 15:32:41 UTC 2022 - Alexander Bergmann 
+
+- Decouple snmp-mibs from net-snmp version to allow major version
+  upgrade (bsc#1196955).
+- Fix LFH violation during v3 user creation (bsc#1181591).
+  Add net-snmp-5.9.1-fix-create-v3-user-outfile.patch
+- Fix subagent crash at save_set_var() (bsc#1178021).
+  Add net-snmp-5.9.1-subagent-set-response.patch
+- Fix missing sysconfig files creation (bsc#1108471). 
+- Rename patches to version number 5.9.1:
+  delete:
+  * net-snmp-5.8-socket-path.patch
+  * net-snmp-5.8-testing-empty-arptable.patch
+  * net-snmp-5.8-pie.patch
+  * net-snmp-5.8-net-snmp-config-headercheck.patch
+  * net-snmp-5.8-perl-tk-warning.patch
+  * net-snmp-5.8-velocity-mib.patch
+  * net-snmp-5.8-snmpstatus-suppress-output.patch
+  * net-snmp-5.8-fix-Makefile.PL.patch
+  * net-snmp-5.8-modern-rpm-api.patch
+  add:
+  * net-snmp-5.9.1-socket-path.patch
+  * net-snmp-5.9.1-testing-empty-arptable.patch
+  * net-snmp-5.9.1-pie.patch
+  * net-snmp-5.9.1-net-snmp-config-headercheck.patch
+  * net-snmp-5.9.1-perl-tk-warning.patch
+  * net-snmp-5.9.1-velocity-mib.patch
+  * net-snmp-5.9.1-snmpstatus-suppress-output.patch
+  * net-snmp-5.9.1-fix-Makefile.PL.patch
+  * net-snmp-5.9.1-modern-rpm-api.patch
+
+---

Old:

  net-snmp-5.8-fix-Makefile.PL.patch
  net-snmp-5.8-modern-rpm-api.patch
  net-snmp-5.8-net-snmp-config-headercheck.patch
  net-snmp-5.8-perl-tk-warning.patch
  net-snmp-5.8-pie.patch
  net-snmp-5.8-snmpstatus-suppress-output.patch
  net-snmp-5.8-socket-path.patch
  net-snmp-5.8-testing-empty-arptable.patch
  net-snmp-5.8-velocity-mib.patch

New:

  net-snmp-5.9.1-fix-Makefile.PL.patch
  net-snmp-5.9.1-fix-create-v3-user-outfile.patch
  net-snmp-5.9.1-modern-rpm-api.patch
  net-snmp-5.9.1-net-snmp-config-headercheck.patch
  net-snmp-5.9.1-perl-tk-warning.patch
  net-snmp-5.9.1-pie.patch
  net-snmp-5.9.1-snmpstatus-suppress-output.patch
  net-snmp-5.9.1-socket-path.patch
  net-snmp-5.9.1-subagent-set-response.patch
  net-snmp-5.9.1-testing-empty-arptable.patch
  net-snmp-5.9.1-velocity-mib.patch



Other differences:
--
++ net-snmp.spec ++
--- /var/tmp/diff_new_pack.jGems3/_old  2022-04-04 19:25:48.596937984 +0200
+++ /var/tmp/diff_new_pack.jGems3/_new  2022-04-04 19:25:48.604937892 +0200
@@ -48,19 +48,21 @@
 Source20:   net-snmp-tmpfs.conf
 Source98:   net-snmp-rpmlintrc
 Source99:   baselibs.conf
-Patch1: net-snmp-5.8-socket-path.patch
-Patch2: net-snmp-5.8-testing-empty-arptable.patch
-Patch3: net-snmp-5.8-pie.patch
-Patch4: net-snmp-5.8-net-snmp-config-headercheck.patch
-Patch5: net-snmp-5.8-perl-tk-warning.patch
-Patch6: net-snmp-5.8-velocity-mib.patch
-Patch7: net-snmp-5.8-snmpstatus-suppress-output.patch
-Patch8: net-snmp-5.8-fix-Makefile.PL.patch
-Patch9: net-snmp-5.8-modern-rpm-api.patch
+Patch1: net-snmp-5.9.1-socket-path.patch
+Patch2: net-snmp-5.9.1-testing-empty-arptable.patch
+Patch3: net-snmp-5.9.1-pie.patch
+Patch4: net-snmp-5.9.1-net-snmp-config-headercheck.patch
+Patch5: net-snmp-5.9.1-perl-tk-warning.patch
+Patch6: net-snmp-5.9.1-velocity-mib.patch
+Patch7: net-snmp-5.9.1-snmpstatus-suppress-output.patch
+Patch8: net-snmp-5.9.1-fix-Makefile.PL.patch
+Patch9: net-snmp-5.9.1-modern-rpm-api.patch
 Patch10:net-snmp-5.9.1-add-lustre-fs-support.patch
 Patch11:net-snmp-5.9.1-harden_snmpd.service.patch
 Patch12:net-snmp-5.9.1-harden_snmptrapd.service.patch
 Patch13:net-snmp-5.9.1-suse-systemd-service-files.patch
+Patch14:net-snmp-5.9.1-fix-create-v3-user-outfile.patch
+Patch15:net-snmp-5.9.1-subagent-set-response.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  autoconf
@@ -113,7 +115,7 @@
 License:BSD-3-Clause AND MIT
 Group:  System/Libraries
 Requires:   perl-base = %{perl_version}
-Requires:   snmp-mibs = %{version}
+Requires:   snmp-mibs >= %{version}
 
 %description -n %{

commit net-snmp for openSUSE:Factory

2022-02-24 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package net-snmp for openSUSE:Factory 
checked in at 2022-02-24 18:18:18

Comparing /work/SRC/openSUSE:Factory/net-snmp (Old)
 and  /work/SRC/openSUSE:Factory/.net-snmp.new.1958 (New)


Package is "net-snmp"

Thu Feb 24 18:18:18 2022 rev:99 rq:957029 version:5.9.1

Changes:

--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp.changes2021-10-29 
22:33:13.707659349 +0200
+++ /work/SRC/openSUSE:Factory/.net-snmp.new.1958/net-snmp.changes  
2022-02-24 18:18:21.662739931 +0100
@@ -1,0 +2,5 @@
+Mon Jan 24 21:02:46 UTC 2022 - Dirk M??ller 
+
+- update net-snmp-5.8-socket-path.patch: use %_rundir for agentx
+
+---



Other differences:
--
++ net-snmp.spec ++
--- /var/tmp/diff_new_pack.ecEjvV/_old  2022-02-24 18:18:23.026739567 +0100
+++ /var/tmp/diff_new_pack.ecEjvV/_new  2022-02-24 18:18:23.034739564 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package net-snmp
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed

++ net-snmp-5.8-socket-path.patch ++
--- /var/tmp/diff_new_pack.ecEjvV/_old  2022-02-24 18:18:23.110739544 +0100
+++ /var/tmp/diff_new_pack.ecEjvV/_new  2022-02-24 18:18:23.110739544 +0100
@@ -7,7 +7,7 @@
  #define AGENTX_PORT   705
  #ifndef NETSNMP_AGENTX_SOCKET
 -#define NETSNMP_AGENTX_SOCKET "/var/agentx/master"
-+#define NETSNMP_AGENTX_SOCKET "/var/run/agentx/master"
++#define NETSNMP_AGENTX_SOCKET "/run/agentx/master"
  #endif
  
  /*


commit net-snmp for openSUSE:Factory

2021-10-29 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package net-snmp for openSUSE:Factory 
checked in at 2021-10-29 22:33:05

Comparing /work/SRC/openSUSE:Factory/net-snmp (Old)
 and  /work/SRC/openSUSE:Factory/.net-snmp.new.1890 (New)


Package is "net-snmp"

Fri Oct 29 22:33:05 2021 rev:98 rq:92 version:5.9.1

Changes:

--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp.changes2021-09-25 
00:35:32.331138428 +0200
+++ /work/SRC/openSUSE:Factory/.net-snmp.new.1890/net-snmp.changes  
2021-10-29 22:33:13.707659349 +0200
@@ -1,0 +2,34 @@
+Sat Oct 23 11:32:10 UTC 2021 - Andreas Stieger 
+
+- fix shlib-policy-name-error for SLPP boo#1191774
+
+---
+Mon Oct 18 06:31:40 UTC 2021 - Alexander Bergmann 
+
+- update to 5.9.1:
+  - General: Many bug fixes
+- Change to use systemd service files directly from net-snmp package.
+  Patch clean-up and renaming.
+  Add:
+  * net-snmp-5.9.1-suse-systemd-service-files.patch
+  * net-snmp-5.9.1-harden_snmpd.service.patch
+  * net-snmp-5.9.1-harden_snmptrapd.service.patch
+  * net-snmp-5.9.1-add-lustre-fs-support.patch
+  Remove:
+  * snmpd.service
+  * snmptrapd.service
+  * harden_snmpd.service.patch
+  * harden_snmptrapd.service.patch
+  * net-snmp-5.8-add-lustre-fs-support.patch
+
+---
+Fri Oct 15 07:26:28 UTC 2021 - Johannes Segitz 
+
+- Added hardening to systemd service(s) (bsc#1181400). Added patch(es):
+  * harden_snmpd.service.patch
+  * harden_snmptrapd.service.patch
+  Modified:
+  * snmpd.service
+  * snmptrapd.service
+
+---

Old:

  net-snmp-5.8-add-lustre-fs-support.patch
  net-snmp-5.9.tar.gz
  net-snmp-5.9.tar.gz.asc
  snmpd.service
  snmptrapd.service

New:

  net-snmp-5.9.1-add-lustre-fs-support.patch
  net-snmp-5.9.1-harden_snmpd.service.patch
  net-snmp-5.9.1-harden_snmptrapd.service.patch
  net-snmp-5.9.1-suse-systemd-service-files.patch
  net-snmp-5.9.1.tar.gz
  net-snmp-5.9.1.tar.gz.asc



Other differences:
--
++ net-snmp.spec ++
--- /var/tmp/diff_new_pack.H1WR45/_old  2021-10-29 22:33:14.595659685 +0200
+++ /var/tmp/diff_new_pack.H1WR45/_new  2021-10-29 22:33:14.595659685 +0200
@@ -27,22 +27,20 @@
 %ifnarch s390 s390x
 %define netsnmp_with_sensors 1
 %endif
-%define libname libsnmp30
+%define libname libsnmp40
 %bcond_without python2
 Name:   net-snmp
-Version:5.9
+Version:5.9.1
 Release:0
 Summary:SNMP Daemon
 License:BSD-3-Clause AND MIT
 Group:  Productivity/Networking/Other
 URL:https://sourceforge.net/projects/net-snmp
 Source: 
https://sourceforge.net/projects/net-snmp/files/net-snmp/%{version}/%{name}-%{version}.tar.gz
-Source1:snmpd.service
-Source2:snmpd.conf
-Source3:README.SUSE
-Source4:snmptrapd.service
-Source5:net-snmp.logrotate
-Source6:test_installed
+Source1:snmpd.conf
+Source2:README.SUSE
+Source3:net-snmp.logrotate
+Source4:test_installed
 Source7:
https://sourceforge.net/projects/net-snmp/files/net-snmp/%{version}/%{name}-%{version}.tar.gz.asc
 Source8:http://www.net-snmp.org/net-snmp-admin.asc#/%{name}.keyring
 Source10:   snmpd.sysconfig
@@ -56,10 +54,13 @@
 Patch4: net-snmp-5.8-net-snmp-config-headercheck.patch
 Patch5: net-snmp-5.8-perl-tk-warning.patch
 Patch6: net-snmp-5.8-velocity-mib.patch
-Patch8: net-snmp-5.8-snmpstatus-suppress-output.patch
-Patch9: net-snmp-5.8-fix-Makefile.PL.patch
-Patch10:net-snmp-5.8-modern-rpm-api.patch
-Patch12:net-snmp-5.8-add-lustre-fs-support.patch
+Patch7: net-snmp-5.8-snmpstatus-suppress-output.patch
+Patch8: net-snmp-5.8-fix-Makefile.PL.patch
+Patch9: net-snmp-5.8-modern-rpm-api.patch
+Patch10:net-snmp-5.9.1-add-lustre-fs-support.patch
+Patch11:net-snmp-5.9.1-harden_snmpd.service.patch
+Patch12:net-snmp-5.9.1-harden_snmptrapd.service.patch
+Patch13:net-snmp-5.9.1-suse-systemd-service-files.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  autoconf
@@ -278,13 +279,12 @@
 %install
 %make_install INSTALL_PREFIX=%{buildroot}
 install -Dd %{buildroot}%{_localstatedir}/log 
%{buildroot}%{_localstatedir}/lib/net-snmp 
%{buildroot}%{_libexecdir}/net-snmp/agents 
%{buildroot}%{netsnmp_agentx_socket_dir_fhs}
-install -D -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/snmpd.service
-install -D -m 0644 %{SOURCE4} %{buildroot}%{_unitdir}/snmptrapd.service
-install -D -m 0600

commit net-snmp for openSUSE:Factory

2021-09-24 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package net-snmp for openSUSE:Factory 
checked in at 2021-09-25 00:35:06

Comparing /work/SRC/openSUSE:Factory/net-snmp (Old)
 and  /work/SRC/openSUSE:Factory/.net-snmp.new.1899 (New)


Package is "net-snmp"

Sat Sep 25 00:35:06 2021 rev:97 rq:920599 version:5.9

Changes:

--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp.changes2021-05-12 
19:31:37.671182449 +0200
+++ /work/SRC/openSUSE:Factory/.net-snmp.new.1899/net-snmp.changes  
2021-09-25 00:35:32.331138428 +0200
@@ -1,0 +2,5 @@
+Sun Sep 19 18:54:20 UTC 2021 - Andreas Stieger 
+
+- add upstream signing keyring and validate source signature
+
+---

New:

  net-snmp-5.9.tar.gz.asc
  net-snmp.keyring



Other differences:
--
++ net-snmp.spec ++
--- /var/tmp/diff_new_pack.YlUSKT/_old  2021-09-25 00:35:33.131139263 +0200
+++ /var/tmp/diff_new_pack.YlUSKT/_new  2021-09-25 00:35:33.131139263 +0200
@@ -43,6 +43,8 @@
 Source4:snmptrapd.service
 Source5:net-snmp.logrotate
 Source6:test_installed
+Source7:
https://sourceforge.net/projects/net-snmp/files/net-snmp/%{version}/%{name}-%{version}.tar.gz.asc
+Source8:http://www.net-snmp.org/net-snmp-admin.asc#/%{name}.keyring
 Source10:   snmpd.sysconfig
 Source11:   snmptrapd.sysconfig
 Source20:   net-snmp-tmpfs.conf
@@ -199,6 +201,7 @@
 Net-SNMP toolkit library.
 
 %else
+
 %package -n python2-%{name}
 Summary:The Python 'netsnmp' module for the Net-SNMP
 License:BSD-3-Clause AND MIT


commit net-snmp for openSUSE:Factory

2021-05-12 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package net-snmp for openSUSE:Factory 
checked in at 2021-05-12 19:31:27

Comparing /work/SRC/openSUSE:Factory/net-snmp (Old)
 and  /work/SRC/openSUSE:Factory/.net-snmp.new.2988 (New)


Package is "net-snmp"

Wed May 12 19:31:27 2021 rev:96 rq:891838 version:5.9

Changes:

--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp.changes2021-02-07 
15:13:52.545377252 +0100
+++ /work/SRC/openSUSE:Factory/.net-snmp.new.2988/net-snmp.changes  
2021-05-12 19:31:37.671182449 +0200
@@ -1,0 +2,8 @@
+Thu Mar 25 16:27:58 UTC 2021 - Ben Greiner 
+
+- Can't assume non-existence of python38 macros in Leap.
+  gh#openSUSE/python-rpm-macros#107
+  Test for suse_version instead. Only Tumbleweed has and needs the
+  python_subpackage_only support.
+
+---



Other differences:
--
++ net-snmp.spec ++
--- /var/tmp/diff_new_pack.ZHdvlG/_old  2021-05-12 19:31:38.939177384 +0200
+++ /var/tmp/diff_new_pack.ZHdvlG/_new  2021-05-12 19:31:38.939177384 +0200
@@ -79,8 +79,8 @@
 BuildRequires:  libsensors4-devel
 %endif
 
-%if 0%{?python38_version_nodots}
-# if python multiflavor is in place yet, use it to generate subpackages
+%if 0%{?suse_version} >= 1550
+# TW: generate subpackages for every python3 flavor
 %define python_subpackage_only 1
 %python_subpackages
 %else


commit net-snmp for openSUSE:Factory

2021-02-07 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package net-snmp for openSUSE:Factory 
checked in at 2021-02-07 15:13:50

Comparing /work/SRC/openSUSE:Factory/net-snmp (Old)
 and  /work/SRC/openSUSE:Factory/.net-snmp.new.28504 (New)


Package is "net-snmp"

Sun Feb  7 15:13:50 2021 rev:95 rq:867908 version:5.9

Changes:

--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp.changes2020-12-18 
19:52:26.917617207 +0100
+++ /work/SRC/openSUSE:Factory/.net-snmp.new.28504/net-snmp.changes 
2021-02-07 15:13:52.545377252 +0100
@@ -1,0 +2,22 @@
+Mon Jan 18 21:31:18 UTC 2021 - Dirk M??ller 
+
+- update to 5.9:
+snmplib:
+  - Add IPv6 support to DTLSUDP transport CHANGES: snmplib: use new
+netsnmp_sockaddr_storage in netsnmp_addr_pair CHANGES: snmplib: add
+base_transport ptr for tunneled transports
+snmpd:
+  - Security vulnerabilty in the ping MIB reported by Christopher Ertl
+from Microsoft fixed
+  - Changing to a different uid/gid can only be done once
+  - The extend mib is now read-only by default
+snmptrap:
+  - BUG: 2899: Patch from Drew Roedersheimer to set library
+engineboots/time values before sending
+unspecified:
+  - Add pkg-config support for building applications and sub-agents Use
+the netsnmp package when building Net-SNMP applications. Use the
+netsnmp-agent package when building Net-SNMP subagents.
+- drop net-snmp-5.8-fix-python3.patch, net-snmp-5.8-netgroups.patch: obsolete
+
+---

Old:

  net-snmp-5.8-fix-python3.patch
  net-snmp-5.8-netgroups.patch
  net-snmp-5.8.tar.gz

New:

  net-snmp-5.9.tar.gz



Other differences:
--
++ net-snmp.spec ++
--- /var/tmp/diff_new_pack.61rfKy/_old  2021-02-07 15:13:53.541378317 +0100
+++ /var/tmp/diff_new_pack.61rfKy/_new  2021-02-07 15:13:53.545378322 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package net-snmp
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,13 +30,13 @@
 %define libname libsnmp30
 %bcond_without python2
 Name:   net-snmp
-Version:5.8
+Version:5.9
 Release:0
 Summary:SNMP Daemon
 License:BSD-3-Clause AND MIT
 Group:  Productivity/Networking/Other
-URL:http://sourceforge.net/projects/net-snmp
-Source: 
http://sourceforge.net/projects/net-snmp/files/net-snmp/%{version}/%{name}-%{version}.tar.gz
+URL:https://sourceforge.net/projects/net-snmp
+Source: 
https://sourceforge.net/projects/net-snmp/files/net-snmp/%{version}/%{name}-%{version}.tar.gz
 Source1:snmpd.service
 Source2:snmpd.conf
 Source3:README.SUSE
@@ -54,17 +54,16 @@
 Patch4: net-snmp-5.8-net-snmp-config-headercheck.patch
 Patch5: net-snmp-5.8-perl-tk-warning.patch
 Patch6: net-snmp-5.8-velocity-mib.patch
-Patch7: net-snmp-5.8-netgroups.patch
 Patch8: net-snmp-5.8-snmpstatus-suppress-output.patch
 Patch9: net-snmp-5.8-fix-Makefile.PL.patch
 Patch10:net-snmp-5.8-modern-rpm-api.patch
-Patch11:net-snmp-5.8-fix-python3.patch
 Patch12:net-snmp-5.8-add-lustre-fs-support.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
+BuildRequires:  ncurses-devel
 BuildRequires:  openssl-devel
 BuildRequires:  procps
 BuildRequires:  python-rpm-macros
@@ -267,7 +266,7 @@
 --with-systemd
 
 # Parallel build deps not properly stated
-make -j1
+%make_build -j1
 
 pushd python
 %python_exec setup.py build --basedir="../"
@@ -301,7 +300,7 @@
 install -D -m 0644 %{SOURCE11} %{buildroot}%{_fillupdir}/sysconfig.snmptrapd
 # tmpfiles
 install -m 755 -d %{buildroot}/%{_tmpfilesdir}
-install -m 644 %SOURCE20 %{buildroot}/%{_tmpfilesdir}/net-snmp.conf
+install -m 644 %{SOURCE20} %{buildroot}/%{_tmpfilesdir}/net-snmp.conf
 #
 ln -s -f %{netsnmp_agentx_socket_dir_fhs} 
%{buildroot}%{netsnmp_agentx_socket_dir_rfc}
 #
@@ -399,6 +398,8 @@
 %{_includedir}/net-snmp
 %{_libdir}/libsnmp*.so
 %{_libdir}/libnetsnmp*.so
+%{_libdir}/pkgconfig/netsnmp-agent.pc
+%{_libdir}/pkgconfig/netsnmp.pc
 %{_bindir}/mib2c
 %{_bindir}/mib2c-update
 %{_datadir}/snmp/mib2c*

++ net-snmp-5.8-fix-Makefile.PL.patch ++
--- /var/tmp/diff_new_pack.61rfKy/_old  2021-02-07 15:13:53.605378386 +0100
+++ /var/tmp/diff_new_pack.61rfKy/_new  2021-02-07 15:13:53.609378390 +0100
@@ -1,7 +1,8 @@
-diff -Nurp net-snm

commit net-snmp for openSUSE:Factory

2020-12-18 Thread User for buildservice source handling
Hello community,

here is the log from the commit of package net-snmp for openSUSE:Factory 
checked in at 2020-12-18 19:52:25

Comparing /work/SRC/openSUSE:Factory/net-snmp (Old)
 and  /work/SRC/openSUSE:Factory/.net-snmp.new.5145 (New)


Package is "net-snmp"

Fri Dec 18 19:52:25 2020 rev:94 rq:856468 version:5.8

Changes:

--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp.changes2020-12-08 
13:25:34.158703989 +0100
+++ /work/SRC/openSUSE:Factory/.net-snmp.new.5145/net-snmp.changes  
2020-12-18 19:52:26.917617207 +0100
@@ -1,0 +2,6 @@
+Sun Dec 13 12:58:00 UTC 2020 - 
+
+- Update the tmpfiles.d/ drop-in file - remove legacy directory
+  Fixes boo#1137761 and boo#1176997
+
+---



Other differences:
--
++ net-snmp.spec ++
--- /var/tmp/diff_new_pack.BSc7Xz/_old  2020-12-18 19:52:27.813618193 +0100
+++ /var/tmp/diff_new_pack.BSc7Xz/_new  2020-12-18 19:52:27.817618198 +0100
@@ -90,7 +90,6 @@
 %define python_sitearch %{python3_sitearch}
 %endif
 
-
 %description
 Net-SNMP is a suite of applications used to implement SNMP v1, SNMP v2c
 and SNMP v3 using both IPv4 and IPv6. The suite includes:

++ net-snmp-tmpfs.conf ++
--- /var/tmp/diff_new_pack.BSc7Xz/_old  2020-12-18 19:52:27.929618321 +0100
+++ /var/tmp/diff_new_pack.BSc7Xz/_new  2020-12-18 19:52:27.933618326 +0100
@@ -1,2 +1,2 @@
-d  /var/run/net-snmp   0755rootroot
+d  /run/net-snmp   0755rootroot
 L  /var/agentx -   -   -   -   /run/agentx
___
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org


commit net-snmp for openSUSE:Factory

2020-12-08 Thread User for buildservice source handling
Hello community,

here is the log from the commit of package net-snmp for openSUSE:Factory 
checked in at 2020-12-08 13:24:00

Comparing /work/SRC/openSUSE:Factory/net-snmp (Old)
 and  /work/SRC/openSUSE:Factory/.net-snmp.new.5913 (New)


Package is "net-snmp"

Tue Dec  8 13:24:00 2020 rev:93 rq:853302 version:5.8

Changes:

--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp.changes2020-07-26 
16:17:57.780730796 +0200
+++ /work/SRC/openSUSE:Factory/.net-snmp.new.5913/net-snmp.changes  
2020-12-08 13:25:34.158703989 +0100
@@ -1,0 +2,12 @@
+Sun Nov 22 00:19:34 UTC 2020 - Benjamin Greiner 
+
+- Fix the python subpackage generation
+  gh#openSUSE/python-rpm-macros#79
+
+---
+Thu Nov 19 18:23:53 UTC 2020 - Benjamin Greiner 
+
+- Support multiple python 3 flavors in the python subpackage
+  gh#openSUSE/python-rpm-macros#66
+
+---



Other differences:
--
++ net-snmp.spec ++
--- /var/tmp/diff_new_pack.Z1ZhLT/_old  2020-12-08 13:25:35.058706556 +0100
+++ /var/tmp/diff_new_pack.Z1ZhLT/_new  2020-12-08 13:25:35.062706568 +0100
@@ -80,6 +80,17 @@
 BuildRequires:  libsensors4-devel
 %endif
 
+%if 0%{?python38_version_nodots}
+# if python multiflavor is in place yet, use it to generate subpackages
+%define python_subpackage_only 1
+%python_subpackages
+%else
+# same "defaults" for all distributions, used in files section
+%define python_files() -n python3-%{**}
+%define python_sitearch %{python3_sitearch}
+%endif
+
+
 %description
 Net-SNMP is a suite of applications used to implement SNMP v1, SNMP v2c
 and SNMP v3 using both IPv4 and IPv6. The suite includes:
@@ -177,6 +188,19 @@
 %description -n perl-SNMP
 The Perl5 'SNMP' Extension Module v3.1.0 for the UCD SNMPv3 library.
 
+%if 0%{?python_subpackage_only}
+%package -n python-%{name}
+Summary:The Python 3 'netsnmp' module for the Net-SNMP
+License:BSD-3-Clause AND MIT
+Group:  Development/Libraries/Python
+Requires:   %{libname} = %{version}
+
+%description -n python-%{name}
+The 'netsnmp' module provides a full featured, tri-lingual SNMP (SNMPv3,
+SNMPv2c, SNMPv1) client API. The 'netsnmp' module internals rely on the
+Net-SNMP toolkit library.
+
+%else
 %package -n python2-%{name}
 Summary:The Python 'netsnmp' module for the Net-SNMP
 License:BSD-3-Clause AND MIT
@@ -201,6 +225,7 @@
 The 'netsnmp' module provides a full featured, tri-lingual SNMP (SNMPv3,
 SNMPv2c, SNMPv1) client API. The 'netsnmp' module internals rely on the
 Net-SNMP toolkit library.
+%endif
 
 %prep
 %setup -q
@@ -387,14 +412,14 @@
 %{perl_vendorarch}/NetSNMP
 %{_bindir}/tkmib
 
-%if %{with python2}
+%if %{with python2} && ! 0%{?python_subpackage_only}
 %files -n python2-%{name}
 %doc README
 %{python2_sitearch}/*
 %endif
 
-%files -n python3-%{name}
+%files %{python_files %{name}}
 %doc README
-%{python3_sitearch}/*
+%{python_sitearch}/*
 
 %changelog
___
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org