Hello community, here is the log from the commit of package kronosnet for openSUSE:Factory checked in at 2018-03-05 13:45:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kronosnet (Old) and /work/SRC/openSUSE:Factory/.kronosnet.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "kronosnet" Mon Mar 5 13:45:43 2018 rev:2 rq:582565 version:1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/kronosnet/kronosnet.changes 2018-02-12 10:13:12.369848693 +0100 +++ /work/SRC/openSUSE:Factory/.kronosnet.new/kronosnet.changes 2018-03-05 13:46:04.786091263 +0100 @@ -1,0 +2,17 @@ +Mon Mar 5 06:19:10 UTC 2018 - bliu@suse.com + +- kronosnet-1.0 is available now(bsc#1077702) + kronosnet-1.1 released, so upgrade to 1.1 + * Fix plugins loader by switching from RPATH to RUNPATH + * Man pages are now automatically generated at build time + * Better error reporting from crypto plugins + * Fix and improve the whole build system + * Add support for some older lz4 versions + * Fix issue with UDP sockets that could cause knet to spin + * Add new API call to run knet unprivileged + + Added: kronosnet-1.1.tar.gz + add-version.patch + Removed: kronosnet-1.0.tar.gz + +------------------------------------------------------------------- Old: ---- kronosnet-1.0.tar.gz New: ---- add-version.patch kronosnet-1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kronosnet.spec ++++++ --- /var/tmp/diff_new_pack.eDOsFY/_old 2018-03-05 13:46:06.198040170 +0100 +++ /var/tmp/diff_new_pack.eDOsFY/_new 2018-03-05 13:46:06.202040025 +0100 @@ -34,6 +34,12 @@ %bcond_without runautogen %bcond_with rpmdebuginfo %bcond_with overriderpmdebuginfo +%bcond_without buildman + +%if %{with overriderpmdebuginfo} +%undefine _enable_debug_packages +%endif + %if %{with sctp} %global buildsctp 1 %endif @@ -68,22 +74,29 @@ %if %{with runautogen} %global buildautogen 1 %endif +%if %{with buildman} +%global buildmanpages 1 +%endif # main (empty) package # http://www.rpm.org/max-rpm/s1-rpm-subpack-spec-file-changes.html Name: kronosnet -Version: 1.0 +Version: 1.1 Release: 0 Summary: Multipoint-to-Multipoint VPN daemon License: GPL-2.0+ AND LGPL-2.1+ Group: Productivity/Clustering/HA -URL: https://github.com/kronosnet/kronosnet/ +Url: https://github.com/kronosnet/kronosnet/ Source0: %{name}-%{version}%{?numcomm:.%{numcomm}}%{?alphatag:-%{alphatag}}%{?dirty:-%{dirty}}.tar.gz +Patch1: add-version.patch ## Setup/build bits # Build dependencies BuildRequires: gcc -%if %{with overriderpmdebuginfo} -%undefine _enable_debug_packages +# required to build man pages +%if %{defined buildmanpages} +BuildRequires: doxygen +BuildRequires: libqb-devel +BuildRequires: libxml2-devel %endif %if %{defined buildsctp} BuildRequires: lksctp-tools-devel @@ -123,12 +136,19 @@ %prep %setup -q -n %{name}-%{version}%{?numcomm:.%{numcomm}}%{?alphatag:-%{alphatag}}%{?dirty:-%{dirty}} +%patch1 -p1 + %build %if %{with runautogen} ./autogen.sh %endif -%configure \ +%{configure} \ +%if %{defined buildmanpages} + --enable-man \ +%else + --disable-man \ +%endif %if %{defined buildsctp} --enable-libknet-sctp \ %else @@ -207,15 +227,9 @@ # main empty package %description -The kronosnet daemon is a bridge between kronosnet switching engine -and kernel network tap devices, to create and administer a -distributed LAN over multipoint-to-multipoint VPNs. -The daemon does a poor attempt to provide a configure UI similar -to other known network devices/tools (Cisco, quagga). -Beside looking horrific, it allows runtime changes and -reconfiguration of the kronosnet(s) without daemon reload -or service disruption. +kronosnet source +%if %{defined buildkronosnetd} ## Runtime and subpackages section %package -n kronosnetd Summary: Multipoint-to-Multipoint VPN daemon @@ -236,7 +250,10 @@ Requires(preun): chkconfig Requires(preun): initscripts %endif -%endif +Requires(post): shadow-utils +Requires(preun): shadow-utils +Requires: /etc/pam.d/passwd +Requires: pam %description -n kronosnetd The kronosnet daemon is a bridge between kronosnet switching engine @@ -277,7 +294,6 @@ fi %endif -%if %{defined buildkronosnetd} %files -n kronosnetd %doc COPYING.* COPYRIGHT %dir %{_sysconfdir}/kronosnet @@ -294,6 +310,7 @@ %{_mandir}/man8/* %endif +%if %{defined buildlibtap} %package -n libtap1 Summary: Userland wrapper around kernel tap devices Group: System/Libraries @@ -306,7 +323,6 @@ %post -n libtap1 -p /sbin/ldconfig %postun -n libtap1 -p /sbin/ldconfig -%if %{defined buildlibtap} %files -n libtap1 %doc COPYING.* COPYRIGHT %{_libdir}/libtap.so.* @@ -322,7 +338,6 @@ of tap devices and provides the basic pre-up.d/up.d/down.d/post-down.d infrastructure. -%if %{defined buildlibtap} %files -n libtap1-devel %doc COPYING.* COPYRIGHT %{_libdir}/libtap.so @@ -364,6 +379,7 @@ %{_libdir}/pkgconfig/libknet.pc %{_mandir}/man3/*.3%{ext_man} +%if %{defined buildcryptonss} %package -n libknet1-crypto-nss-plugin Summary: NSS crypto support for libknet1 Group: System/Libraries @@ -372,11 +388,11 @@ %description -n libknet1-crypto-nss-plugin NSS crypto support for libknet1. -%if %{defined buildcryptonss} %files -n libknet1-crypto-nss-plugin %{_libdir}/kronosnet/crypto_nss.so %endif +%if %{defined buildcryptoopenssl} %package -n libknet1-crypto-openssl-plugin Summary: OpenSSL support for libknet1 Group: System/Libraries @@ -385,7 +401,6 @@ %description -n libknet1-crypto-openssl-plugin OpenSSL crypto support for libknet1. -%if %{defined buildcryptoopenssl} %files -n libknet1-crypto-openssl-plugin %{_libdir}/kronosnet/crypto_openssl.so %endif @@ -402,47 +417,47 @@ %files -n libknet1-compress-zlib-plugin %{_libdir}/kronosnet/compress_zlib.so %endif - +%if %{defined buildcompresslz4} %package -n libknet1-compress-lz4-plugin -Summary: lz4 and lz4hc support for libknet1 +Summary: LZ4 and LZ4HC support for libknet1 Group: System/Libraries Requires: libknet1 = %{version}-%{release} %description -n libknet1-compress-lz4-plugin lz4 and lz4hc compression support for libknet1. -%if %{defined buildcompresslz4} %files -n libknet1-compress-lz4-plugin %{_libdir}/kronosnet/compress_lz4.so %{_libdir}/kronosnet/compress_lz4hc.so %endif +%if %{defined buildcompresslzo2} %package -n libknet1-compress-lzo2-plugin Summary: LZO2 support for libknet1 Group: System/Libraries Requires: libknet1 = %{version}-%{release} %description -n libknet1-compress-lzo2-plugin -LZO2 compression support for libknet1. +lzo2 compression support for libknet1. -%if %{defined buildcompresslzo2} %files -n libknet1-compress-lzo2-plugin %{_libdir}/kronosnet/compress_lzo2.so %endif +%if %{defined buildcompresslzma} %package -n libknet1-compress-lzma-plugin Summary: LZMA support for libknet1 Group: System/Libraries Requires: libknet1 = %{version}-%{release} %description -n libknet1-compress-lzma-plugin -LZMA compression support for libknet1. +lzma compression support for libknet1. -%if %{defined buildcompresslzma} %files -n libknet1-compress-lzma-plugin %{_libdir}/kronosnet/compress_lzma.so %endif +%if %{defined buildcompressbzip2} %package -n libknet1-compress-bzip2-plugin Summary: bzip2 support for libknet1 Group: System/Libraries @@ -451,14 +466,13 @@ %description -n libknet1-compress-bzip2-plugin bzip2 compression support for libknet1. -%if %{defined buildcompressbzip2} %files -n libknet1-compress-bzip2-plugin %{_libdir}/kronosnet/compress_bzip2.so %endif %package -n libknet1-crypto-plugins-all -Summary: libknet1 crypto plugins meta package -Group: System/Metapackages +Summary: Libknet1 crypto plugins meta package +Group: System/Libraries %if %{defined buildcryptonss} Requires: libknet1-crypto-nss-plugin %endif @@ -472,8 +486,8 @@ %files -n libknet1-crypto-plugins-all %package -n libknet1-compress-plugins-all -Summary: libknet1 compress plugins meta package -Group: System/Metapackages +Summary: Libknet1 compress plugins meta package +Group: System/Libraries %if %{defined buildcompresszlib} Requires: libknet1-compress-zlib-plugin %endif @@ -496,8 +510,8 @@ %files -n libknet1-compress-plugins-all %package -n libknet1-plugins-all -Summary: libknet1 plugins meta package -Group: System/Metapackages +Summary: Libknet1 plugins meta package +Group: System/Libraries Requires: libknet1-compress-plugins-all Requires: libknet1-crypto-plugins-all @@ -507,7 +521,6 @@ %files -n libknet1-plugins-all %if %{with rpmdebuginfo} -%debug_package %endif %changelog ++++++ add-version.patch ++++++ --- /dev/null 2018-03-05 10:30:37.121221591 +0800 +++ kronosnet-1.1/.tarball-version 2018-03-05 10:30:37.907779088 +0800 @@ -0,0 +1 @@ +1.1 ++++++ kronosnet-1.0.tar.gz -> kronosnet-1.1.tar.gz ++++++ ++++ 60833 lines of diff (skipped)