Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package subnetcalc for openSUSE:Factory 
checked in at 2025-04-14 12:57:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/subnetcalc (Old)
 and      /work/SRC/openSUSE:Factory/.subnetcalc.new.1907 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "subnetcalc"

Mon Apr 14 12:57:48 2025 rev:12 rq:1268795 version:2.6.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/subnetcalc/subnetcalc.changes    2025-01-05 
15:32:20.248430295 +0100
+++ /work/SRC/openSUSE:Factory/.subnetcalc.new.1907/subnetcalc.changes  
2025-04-14 12:57:50.186873804 +0200
@@ -1,0 +2,7 @@
+Sat Apr  5 15:02:34 UTC 2025 - Andrea Manzini <andrea.manz...@suse.com>
+
+- Update to 2.6.2:
+  * Fixed issue with handling IPv6 link-local addresses without interface
+  * Updated manpage
+
+-------------------------------------------------------------------

Old:
----
  subnetcalc-2.6.1.tar.gz

New:
----
  subnetcalc-2.6.2.tar.gz

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

Other differences:
------------------
++++++ subnetcalc.spec ++++++
--- /var/tmp/diff_new_pack.dlRE7r/_old  2025-04-14 12:57:51.234917815 +0200
+++ /var/tmp/diff_new_pack.dlRE7r/_new  2025-04-14 12:57:51.234917815 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           subnetcalc
-Version:        2.6.1
+Version:        2.6.2
 Release:        0
 Summary:        IPv4/IPv6 Subnet Calculator
 License:        GPL-3.0-or-later

++++++ subnetcalc-2.6.1.tar.gz -> subnetcalc-2.6.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/subnetcalc-subnetcalc-2.6.1/CMakeLists.txt 
new/subnetcalc-subnetcalc-2.6.2/CMakeLists.txt
--- old/subnetcalc-subnetcalc-2.6.1/CMakeLists.txt      2024-12-13 
21:33:56.000000000 +0100
+++ new/subnetcalc-subnetcalc-2.6.2/CMakeLists.txt      2025-01-06 
09:44:22.000000000 +0100
@@ -32,7 +32,7 @@
 
 SET(BUILD_MAJOR "2")
 SET(BUILD_MINOR "6")
-SET(BUILD_PATCH "1")
+SET(BUILD_PATCH "2")
 SET(BUILD_VERSION ${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_PATCH})
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/subnetcalc-subnetcalc-2.6.1/ChangeLog 
new/subnetcalc-subnetcalc-2.6.2/ChangeLog
--- old/subnetcalc-subnetcalc-2.6.1/ChangeLog   2024-12-13 21:33:56.000000000 
+0100
+++ new/subnetcalc-subnetcalc-2.6.2/ChangeLog   2025-01-06 09:44:22.000000000 
+0100
@@ -1,3 +1,33 @@
+commit 7b2796d9d574356627c17a0b1f237de9d63e6564
+Author: Thomas Dreibholz <dre...@simula.no>
+Date:   Mon Jan 6 21:37:24 2025 +1300
+
+    Updated manpage.
+
+commit 65b4b3f1086076374aca978557170dbc3df31723
+Author: Thomas Dreibholz <dre...@simula.no>
+Date:   Mon Jan 6 21:36:42 2025 +1300
+
+    Fixed issue with handling IPv6 link-local addresses without interface.
+
+commit 32641186e4fee34afea8fbf5f5366f4ab79b91d5
+Author: Thomas Dreibholz <dre...@simula.no>
+Date:   Fri Dec 20 16:23:50 2024 +0100
+
+    FreeBSD packaging update.
+
+commit a7255515f5c80f712675463a3f5173c5acc180f5
+Author: Thomas Dreibholz <dre...@simula.no>
+Date:   Fri Dec 20 16:11:57 2024 +0100
+
+    Updated test script.
+
+commit aeadb564bef56c45d4181ffbdf8778f9b3e1d56c
+Author: Thomas Dreibholz <dre...@simula.no>
+Date:   Fri Dec 13 21:33:56 2024 +0100
+
+    New release subnetcalc-2.6.1.
+
 commit 3d65cb9e2a0c62669fbc16a8ffae875f4e7ffe80
 Author: Thomas Dreibholz <dre...@simula.no>
 Date:   Fri Dec 13 20:53:05 2024 +0100
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/subnetcalc-subnetcalc-2.6.1/debian/changelog 
new/subnetcalc-subnetcalc-2.6.2/debian/changelog
--- old/subnetcalc-subnetcalc-2.6.1/debian/changelog    2024-12-13 
21:33:56.000000000 +0100
+++ new/subnetcalc-subnetcalc-2.6.2/debian/changelog    2025-01-06 
09:44:22.000000000 +0100
@@ -1,3 +1,9 @@
+subnetcalc (2.6.2-1ubuntu1) trixie; urgency=medium
+
+  * New upstream release.
+
+ -- Thomas Dreibholz <thomas.dreibh...@gmail.com>  Mon, 06 Jan 2025 21:44:09 
+1300
+
 subnetcalc (2.6.1-1ubuntu1) trixie; urgency=medium
 
   * New upstream release.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/subnetcalc-subnetcalc-2.6.1/debian/tests/simple-test 
new/subnetcalc-subnetcalc-2.6.2/debian/tests/simple-test
--- old/subnetcalc-subnetcalc-2.6.1/debian/tests/simple-test    2024-12-13 
21:33:56.000000000 +0100
+++ new/subnetcalc-subnetcalc-2.6.2/debian/tests/simple-test    2025-01-06 
09:44:22.000000000 +0100
@@ -33,5 +33,6 @@
 
 subnetcalc 172.20.0.0/16
 subnetcalc fd00:1:2:3::ffff/64
+subnetcalc fe80::2f0b:a04e:15c2:bc68 64
 
 echo "Test passed!"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/subnetcalc-subnetcalc-2.6.1/freebsd/subnetcalc/Makefile 
new/subnetcalc-subnetcalc-2.6.2/freebsd/subnetcalc/Makefile
--- old/subnetcalc-subnetcalc-2.6.1/freebsd/subnetcalc/Makefile 2024-12-13 
21:33:56.000000000 +0100
+++ new/subnetcalc-subnetcalc-2.6.2/freebsd/subnetcalc/Makefile 2025-01-06 
09:44:22.000000000 +0100
@@ -1,6 +1,5 @@
 PORTNAME=      subnetcalc
-DISTVERSION=   2.6.1
-PORTREVISION=  1
+DISTVERSION=   2.6.2
 CATEGORIES=    net
 MASTER_SITES=  https://www.nntb.no/~dreibh/subnetcalc/download/
 
@@ -14,9 +13,10 @@
 USES=          cmake gettext tar:xz
 
 PLIST_FILES=   bin/subnetcalc \
-                share/bash-completion/completions/subnetcalc \
-                share/locale/de/LC_MESSAGES/subnetcalc.mo \
-                share/locale/nb/LC_MESSAGES/subnetcalc.mo \
+               share/bash-completion/completions/subnetcalc \
+               share/locale/de/LC_MESSAGES/subnetcalc.mo \
+               share/locale/nb/LC_MESSAGES/subnetcalc.mo \
+               share/bash-completion/completions/subnetcalc \
                share/man/man1/subnetcalc.1.gz
 
 .include <bsd.port.mk>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/subnetcalc-subnetcalc-2.6.1/freebsd/subnetcalc/distinfo 
new/subnetcalc-subnetcalc-2.6.2/freebsd/subnetcalc/distinfo
--- old/subnetcalc-subnetcalc-2.6.1/freebsd/subnetcalc/distinfo 2024-12-13 
21:33:56.000000000 +0100
+++ new/subnetcalc-subnetcalc-2.6.2/freebsd/subnetcalc/distinfo 2025-01-06 
09:44:22.000000000 +0100
@@ -1,3 +1,3 @@
-TIMESTAMP = 1707770485
-SHA256 (subnetcalc-2.5.1.tar.xz) = 
d1bf545a2d3142f5b5b5105affc95ccc6a9b062b4ae77190baf641c831b89a5a
-SIZE (subnetcalc-2.5.1.tar.xz) = 130116
+TIMESTAMP = 1734703254
+SHA256 (subnetcalc-2.6.1.tar.xz) = 
ff6f6f3b7f89976a299559f7e5a5bdfdcb7c18408642937dd9e503283c3f598f
+SIZE (subnetcalc-2.6.1.tar.xz) = 144612
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/subnetcalc-subnetcalc-2.6.1/freebsd/subnetcalc/test-packaging 
new/subnetcalc-subnetcalc-2.6.2/freebsd/subnetcalc/test-packaging
--- old/subnetcalc-subnetcalc-2.6.1/freebsd/subnetcalc/test-packaging   
2024-12-13 21:33:56.000000000 +0100
+++ new/subnetcalc-subnetcalc-2.6.2/freebsd/subnetcalc/test-packaging   
2025-01-06 09:44:22.000000000 +0100
@@ -19,7 +19,7 @@
 # Contact: thomas.dreibh...@gmail.com
 
 PACKAGE=`cat Makefile | grep "^PORTNAME=" | sed -e "s/^PORTNAME=//g" | tr -d " 
\t"`
-UPSTREAM_VERSION=`cat Makefile | grep "^PORTVERSION=" | sed -e 
"s/^PORTVERSION=//g" | tr -d " \t"`
+UPSTREAM_VERSION=`cat Makefile | grep "^DISTVERSION=" | sed -e 
"s/^DISTVERSION=//g" | tr -d " \t"`
 PORTREVISION=`cat Makefile | grep "^PORTREVISION=" | sed -e 
"s/^PORTREVISION=//g" | tr -d " \t"`
 CATEGORY=`cat Makefile | grep "^CATEGORIES=" | sed -e "s/^CATEGORIES=//g" | tr 
-d " \t"`
 
@@ -41,7 +41,9 @@
    rm -rf work
 fi
 rm -f ${PACKAGE}-${PACKAGE_VERSION}.txz
-find /usr/ports/packages -name "${PACKAGE}*.txz" | xargs rm -f
+if [ -d work/pkg ] ; then
+   find work/pkg -name "${PACKAGE}*.txz" | xargs rm -f
+fi
 
 
 echo "1. ###### make deinstall ##############################################" 
&& \
@@ -53,11 +55,11 @@
 echo "4. ###### make deinstall ##############################################" 
&& \
 make deinstall && \
 echo "5. ###### pkg add #####################################################" 
&& \
-if [ ! -e "/usr/ports/packages/All/${PACKAGE}-${PACKAGE_VERSION}.pkg" ] ; then
-   echo >&2 "ERROR: Package 
/usr/ports/packages/All/${PACKAGE}-${PACKAGE_VERSION}.pkg not found!"
+if [ ! -e "work/pkg/${PACKAGE}-${PACKAGE_VERSION}.pkg" ] ; then
+   echo >&2 "ERROR: Package work/pkg/${PACKAGE}-${PACKAGE_VERSION}.pkg not 
found!"
    exit 1
 fi && \
-pkg add /usr/ports/packages/All/${PACKAGE}-${PACKAGE_VERSION}.pkg && \
+pkg add work/pkg/${PACKAGE}-${PACKAGE_VERSION}.pkg && \
 echo "6. ###### make deinstall ##############################################" 
&& \
 make deinstall && \
 echo "7. ###### make reinstall ##############################################" 
&& \
@@ -65,7 +67,7 @@
 echo "8. ###### make package ################################################" 
&& \
 make package && \
 echo "9. ###### tar tzvf *.pkg ##############################################" 
&& \
-tar tzvf /usr/ports/packages/All/${PACKAGE}-${PACKAGE_VERSION}.pkg && \
+tar tzvf work/pkg/${PACKAGE}-${PACKAGE_VERSION}.pkg && \
 echo "Running portlint ..." && \
 portlint && \
 echo "====== Successfully completed! ======"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/subnetcalc-subnetcalc-2.6.1/rpm/subnetcalc.spec 
new/subnetcalc-subnetcalc-2.6.2/rpm/subnetcalc.spec
--- old/subnetcalc-subnetcalc-2.6.1/rpm/subnetcalc.spec 2024-12-13 
21:33:56.000000000 +0100
+++ new/subnetcalc-subnetcalc-2.6.2/rpm/subnetcalc.spec 2025-01-06 
09:44:22.000000000 +0100
@@ -1,5 +1,5 @@
 Name: subnetcalc
-Version: 2.6.1
+Version: 2.6.2
 Release: 1
 Summary: IPv4/IPv6 Subnet Calculator
 Group: Applications/Internet
@@ -48,6 +48,8 @@
 %doc
 
 %changelog
+* Mon Jan 06 2025 Thomas Dreibholz <thomas.dreibh...@gmail.com> - 2.6.2
+- New upstream release.
 * Fri Dec 13 2024 Thomas Dreibholz <thomas.dreibh...@gmail.com> - 2.6.1
 - New upstream release.
 * Wed Nov 13 2024 Thomas Dreibholz <thomas.dreibh...@gmail.com> - 2.6.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/subnetcalc-subnetcalc-2.6.1/src/subnetcalc.1 
new/subnetcalc-subnetcalc-2.6.2/src/subnetcalc.1
--- old/subnetcalc-subnetcalc-2.6.1/src/subnetcalc.1    2024-12-13 
21:33:56.000000000 +0100
+++ new/subnetcalc-subnetcalc-2.6.2/src/subnetcalc.1    2025-01-06 
09:44:22.000000000 +0100
@@ -28,7 +28,7 @@
 .\" Contact: thomas.dreibh...@gmail.com
 .\"
 .\" ###### Setup ############################################################
-.Dd December 13, 2024
+.Dd January 06, 2025
 .Dt subnetcalc 1
 .Os subnetcalc
 .\" ###### Name #############################################################
@@ -76,6 +76,8 @@
 .It subnetcalc 132.252.250.0/255.255.255.0 -nocolor
 .It subnetcalc 132.252.250.0 24
 .It subnetcalc 132.252.250.0/24 -nocolour
+.It subnetcalc fe80::2f0b:a04e:15c2:bc68 64
+.It subnetcalc fe80::2f0b:a04e:15c2:bc68%wlp4s0 64
 .It subnetcalc fec0:2345:6789:1111:221:6aff:fe0b:2674 56
 .It subnetcalc 2a00:1450:8007::69 64
 .It subnetcalc ff08::1:2:3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/subnetcalc-subnetcalc-2.6.1/src/tools.cc 
new/subnetcalc-subnetcalc-2.6.2/src/tools.cc
--- old/subnetcalc-subnetcalc-2.6.1/src/tools.cc        2024-12-13 
21:33:56.000000000 +0100
+++ new/subnetcalc-subnetcalc-2.6.2/src/tools.cc        2025-01-06 
09:44:22.000000000 +0100
@@ -229,11 +229,12 @@
              (IN6_IS_ADDR_LINKLOCAL(&ipv6address->sin6_addr) ||
               IN6_IS_ADDR_MC_LINKLOCAL(&ipv6address->sin6_addr)) ) {
             ifname = if_indextoname(ipv6address->sin6_scope_id, 
(char*)&ifnamebuffer);
-            if(ifname == nullptr) {
-               safestrcpy((char*)&ifnamebuffer, "(BAD!)", 
sizeof(ifnamebuffer));
-               return false;
+            if(ifname = nullptr) {
+               snprintf((char*)&scope, sizeof(scope), "%%%s", ifname);
+            }
+            else {
+               scope[0] = 0x00;
             }
-            snprintf((char*)&scope, sizeof(scope), "%%%s", ifname);
          }
          else {
             scope[0] = 0x00;

Reply via email to