Hello community, here is the log from the commit of package libosmocore for openSUSE:Factory checked in at 2014-10-05 20:31:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libosmocore (Old) and /work/SRC/openSUSE:Factory/.libosmocore.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libosmocore" Changes: -------- --- /work/SRC/openSUSE:Factory/libosmocore/libosmocore.changes 2014-07-21 22:34:44.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libosmocore.new/libosmocore.changes 2014-10-05 20:33:05.000000000 +0200 @@ -1,0 +2,9 @@ +Thu Oct 2 20:05:34 UTC 2014 - jengelh@inai.de + +- Update to new upstream release 0.7.0 +* No changelog was provided +* osmocore gained GPRS NS interface support, and now provides a + control interface library (libosmoctrl) +- Add osmo-kasumi.diff to fix link failure during `make check` + +------------------------------------------------------------------- Old: ---- libosmocore-0.6.6.tar.xz New: ---- libosmocore-0.7.0.tar.xz osmo-kasumi.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libosmocore.spec ++++++ --- /var/tmp/diff_new_pack.nnMllI/_old 2014-10-05 20:33:06.000000000 +0200 +++ /var/tmp/diff_new_pack.nnMllI/_new 2014-10-05 20:33:06.000000000 +0200 @@ -20,17 +20,19 @@ Summary: Open Source Mobile Communications Core Library License: GPL-2.0 and GPL-2.0+ and LGPL-3.0+ and AGPL-3.0+ Group: Productivity/Telephony/Utilities -Version: 0.6.6 +Version: 0.7.0 Release: 0 Url: http://bb.osmocom.org/trac/wiki/libosmocore #Git-Clone: git://git.osmocom.org/libosmocore -#Snapshot: 0.6.6 +#Snapshot: 0.7.0 +#Update osmo-version.diff too! Source: %name-%version.tar.xz Patch1: osmo-version.diff Patch2: 0001-utils-resolve-compiler-warnings-on-implicit-declarat.patch Patch3: osmo-talloc.diff Patch4: osmo-talloc2.diff +Patch5: osmo-kasumi.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake >= 1.6 @@ -118,6 +120,33 @@ This subpackage contains libraries and header files for developing applications that want to make use of libosmocore. +%package -n libosmoctrl0 +Summary: Osmocom SNMP-like control interface library +License: GPL-2.0+ +Group: System/Libraries + +%description -n libosmoctrl0 +libosmocore is a library with various utility functions shared +between OpenBSC and OsmocomBB. + +libosmoctrl is an SNMP-like control interface. In contrast to the VTY +interface, the control interface is meant to be used by programs. + +%package -n libosmoctrl-devel +Summary: Osmocom control interface library +License: GPL-2.0+ +Group: Development/Libraries/C and C++ +Requires: libosmocore-devel = %version +Requires: libosmoctrl0 = %version +Requires: libosmovty-devel = %version + +%description -n libosmoctrl-devel +libosmoctrl is an SNMP-like control interface. In contrast to the VTY +interface, the control interface is meant to be used by programs. + +This subpackage contains libraries and header files for developing +applications that want to make use of libosmoctrl. + %package -n libosmogb3 Summary: Osmocom GPRS Gb Interface (NS/BSSGP) library License: AGPL-3.0+ @@ -210,7 +239,7 @@ %prep %setup -qn %name -%patch -P 1 -P 2 -P 3 -P 4 -p1 +%patch -P 1 -P 2 -P 3 -P 4 -P 5 -p1 %build %if 0%{?use_system_talloc} @@ -233,6 +262,8 @@ %postun -n libosmocodec0 -p /sbin/ldconfig %post -n libosmocore4 -p /sbin/ldconfig %postun -n libosmocore4 -p /sbin/ldconfig +%post -n libosmoctrl0 -p /sbin/ldconfig +%postun -n libosmoctrl0 -p /sbin/ldconfig %post -n libosmogb3 -p /sbin/ldconfig %postun -n libosmogb3 -p /sbin/ldconfig %post -n libosmogsm5 -p /sbin/ldconfig @@ -266,6 +297,17 @@ %_libdir/libosmocore.so %_libdir/pkgconfig/libosmocore.pc +%files -n libosmoctrl0 +%defattr(-,root,root) +%_libdir/libosmoctrl.so.0* + +%files -n libosmoctrl-devel +%defattr(-,root,root) +%dir %_includedir/osmocom +%_includedir/osmocom/ctrl/ +%_libdir/libosmoctrl.so +%_libdir/pkgconfig/libosmoctrl.pc + %files -n libosmogb3 %defattr(-,root,root) %_libdir/libosmogb.so.3* ++++++ libosmocore-0.6.6.tar.xz -> libosmocore-0.7.0.tar.xz ++++++ ++++ 5576 lines of diff (skipped) ++++++ osmo-kasumi.diff ++++++
From 0929c5b1d3ae71fb600120fd5c60221495b8391c Mon Sep 17 00:00:00 2001 From: Jan Engelhardt
Date: Thu, 2 Oct 2014 22:22:28 +0200 Subject: [PATCH] build: fix linker error with kasumi_test
When the osmocore package is configured with --disable-static, building of kasumi_test fails. This seems quite legit, given the function _kasumi_kgcore is not exported. Don't try to workaround the build system. Include the code. CCLD kasumi/kasumi_test kasumi_test.o: In function `test_expansion': ~tests/kasumi/kasumi_test.c:25: undefined reference to `_kasumi_key_expand' kasumi_test.o: In function `main': ~tests/kasumi/kasumi_test.c:56: undefined reference to `_kasumi' ~tests/kasumi/kasumi_test.c:100: undefined reference to `_kasumi_key_expand' ~tests/kasumi/kasumi_test.c:112: undefined reference to `_kasumi_kgcore' [...] --- tests/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 8779c4f..3f7db1f 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -20,9 +20,8 @@ utils_utils_test_LDADD = $(top_builddir)/src/libosmocore.la a5_a5_test_SOURCES = a5/a5_test.c a5_a5_test_LDADD = $(top_builddir)/src/libosmocore.la $(top_builddir)/src/gsm/libosmogsm.la -kasumi_kasumi_test_SOURCES = kasumi/kasumi_test.c +kasumi_kasumi_test_SOURCES = kasumi/kasumi_test.c ../src/gsm/kasumi.c kasumi_kasumi_test_LDADD = $(top_builddir)/src/libosmocore.la $(top_builddir)/src/gsm/libosmogsm.la -kasumi_kasumi_test_LDFLAGS = -static comp128_comp128_test_SOURCES = comp128/comp128_test.c comp128_comp128_test_LDADD = $(top_builddir)/src/libosmocore.la $(top_builddir)/src/gsm/libosmogsm.la -- 2.0.0 ++++++ osmo-version.diff ++++++ --- /var/tmp/diff_new_pack.nnMllI/_old 2014-10-05 20:33:06.000000000 +0200 +++ /var/tmp/diff_new_pack.nnMllI/_new 2014-10-05 20:33:06.000000000 +0200 @@ -14,7 +14,7 @@ @@ -1,5 +1,5 @@ AC_INIT([libosmocore], - m4_esyscmd([./git-version-gen .tarball-version]), -+ [0.6.6], ++ [0.7.0], [openbsc@lists.osmocom.org]) AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip 1.6]) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org