Accepting request 669385 from home:mnhauke:osmocom:latest

Update to version 1.0.0

OBS-URL: https://build.opensuse.org/request/show/669385
OBS-URL: https://build.opensuse.org/package/show/network:telephony/libosmocore?expand=0&rev=61
This commit is contained in:
Jan Engelhardt 2019-01-28 21:53:50 +00:00 committed by Git OBS Bridge
parent 670f2d9263
commit 40a4792e90
5 changed files with 154 additions and 46 deletions

View File

@ -3,8 +3,8 @@
<param name="scm">git</param> <param name="scm">git</param>
<param name="url">git://git.osmocom.org/libosmocore</param> <param name="url">git://git.osmocom.org/libosmocore</param>
<param name="revision">master</param> <param name="revision">master</param>
<param name="parent-tag">0.12.0</param> <param name="parent-tag">1.0.0</param>
<param name="versionformat">0.13~git@TAG_OFFSET@</param> <param name="versionformat">1.0.0</param>
</service> </service>
<service name="recompress" mode="disabled"> <service name="recompress" mode="disabled">
<param name="file">*.tar</param> <param name="file">*.tar</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:69804dbdd50461c1160749910f57fae99bdc8834f02679e44a27243f31829d88
size 680680

3
libosmocore-1.0.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:05ce7c5428a95a97808eb1311401b0f9992a6191ab80cc77364f1eb0d9d31f46
size 703404

View File

@ -1,3 +1,128 @@
-------------------------------------------------------------------
Sat Jan 19 22:04:36 UTC 2019 - mardnh@gmx.de
- Update to version 1.0.0
* GSMTAP: add SIM sub_types
* fix various strncpy bugs
* gsm0808: inter-bsc HO messages: add missing BSSMAP header, x4
* logging vty: add VTY transcript test
* gsm0808: implement BSSMAP Classmark Request
* logging vty: rewrite 'logging level' vty cmd generation
* logging vty: deprecate the 'everything' keyword
* logging vty: write: check logging levels validity
* logging vty: deprecate 'all', introduce 'force-all'
* logging vty: add 'logging level set-all <level>'
* vty reference: fix deprecation bit evaluation
* vty list: fix deprecation/hidden bit logic
* vty: omit HIDDEN from vty reference
* vty logging: fix crash when missing 'logging enable'
* add osmo_bcd2str()
* gsm48_mi_to_string: use osmo_bcd2str(), fix some corner cases
* gsm48_generate_mid(): mask out ODD flag from mi_type
* gsm48_mi_to_string(): guard against zero length output buffer
* gsm48_mi_to_string(): do not read from zero length input buffer
* add to osmo_sock_get_name*() API
* add/clean big-endian packed structs (struct_endianess.py)
* add LOGPFSMSL(), LOGPFSMSLSRC()
* gsm_utils: add enum osmo_rat_type, from osmo-msc enum ran_type
* osmo_rat_type: add OSMO_RAT_EUTRAN_SGS
* add osmo_mi_name(), for MI-to-string like "IMSI-123456"
* add osmo_lu_type_names[], osmo_lu_type_name()
* change GSM48_CMSERV_* to enum type, add names
* ctrl/vty: fsm: use correct element when iterating over fsm->proc.children
* bssgp: introduce flush queue functions
* gsm0480: Factor out msgb allocation helper function
* USSD: Introduce gsm0480_gen_ussd_resp_7bit()
* 04.80: New gsm0480_gen_{reject,return_error}() functions
* import oap_client into libosmogsm
* oap_client: Rename symbols with osmo_ prefix
* import oap_client_test from osmo-sgsn
* Deprecate ipa_ccm_idtag_parse() with ipa_ccm_id_{get,resp}_parse()
* re-introduce ipa_ccm_idtag_parse_off()
* Add RSPRO support to IPA and logging definitions
* logging_vty: Ensure writing well-formed config files
* SGsAP protocol definitions (header + C file)
* gsm23003: Add MME domain name related helper functions
* vty/vty.c: remove dead unused tall_bsc_ctx
* gsm/gsm0480.c: prevent NULL-pointer dereference
* gsm/gsm0480.c: use the local msgb allocator
* libosmogsm: (re)introduce gsm48_push_l3hdr()
* vty/command.h: document and prettify CMD_ATTR_* flags
* utils/osmo-config-merge: explicitly return from main()
* libosmogsm/gsup.c: fix error code in osmo_gsup_encode()
* core/msgb.h: introduce msgb_l4len() helper
* GSUP/SMS: introduce MO-/MT-FORWARD-SM messages
* GSUP/SMS: introduce READY-FOR-SM message
* tests/gsm0808: use new msgb comparison API
* logging/gsmtap: fix buffer overflow in _gsmtap_raw_output()
* gsm0808: fix wrong codec defaults for OFR_AMR_WB
* gsm0808: add function to convert amr gsm0408 setings to gsm0808
* gsm0808_utils: constify parameter
* gsm_utils: add function to get value strings for gsm48_chan_mode
* gsm0808: add function to convert AMR S15-S0 to gsm0408 settings
* gsm0808: allow decoding of zero length speech codec lists.
* gsm0808: cosmetic: rename parameter "reason" to "cause"
* gsm_29_118: add missing include to header file
* gsm29118: add value strings for SGSAP IEI
* gsm0808: add message generator for BSSMAP HANDOVER PERFORMED
* gsm_29_118: add missing extern for struct value_string decl.
* cosmetic apn: correct whitespace error
* gsm_29_118.h: Add constant for default port
* gsm29118: add generator functions for GSM29118 messages
* gsm0808: add encoder for cause codes and use it
* signal: Introduce API osmo_signal_talloc_ctx_init
* msgb: Introduce msgb_{de,en}queue_count APIs
* vty: Makefile: Fix LIBVERSION typo introduced in 0.12.0 release
* gsm_08_58.h: Introduce struct abis_rsl_link_id
* gsm_08_58.h: Introduce struct abis_rsl_chan_nr
* gsm48: gsm48_decode_freq_list: Improve documentation of paramter f
* gsm: Deprecate buggy gsm_arfcn2band API and introduce gsm_arfcn2band_rc
* properly handle mandatory cli param of gsm0808_create_paging2
* Properly deal with sockaddr_un socket path length limitations.
* ensure unix socket paths are NUL-terminated for bind/connect
* fix error handling gprs_ns_nsip_listen()
* add support for ipaccess messages on the ctrl interface
* stop printing group description in vty_out_rate_ctr_group_fmt()
* make 'show rate-counters' show group index
* send NS_POUT_UNBLOCK_ACK before signalling S_NS_UNBLOCK
* rename CELL_IDENT_LAI_AND_LAC to CELL_IDENT_LAI
* port arfcn range encode support from osmo-bsc
* port rest octets encoding code from osmo-bsc
* Add CC_CAUSE value_string array
* coding: Correctly count bits when decoding EDGE bursts with MCS >= 7.
* coding: Always initialize bit counters in gsm0503_pdtch_egprs_decode().
* stats_statsd: Send all stat_items as gauges
* GSMTAP: add definitions for new LTE RRC channels
* GSMTAP: add definitions for LTE NAS subtypes
* Update cipher reject function
* Add helper wrapper for BSSAP TLV parsing
* Update 3GPP TS 08.08 Cause handling
* Update GSM0808_LCLS enums
* Move msgb_push helpers to public header
* Support cipher mode reject with extended cause
* LCLS: add 48.008 parameter structure
* ctrl: print textual error on IPA parsing failure
* Move BSSMAP_MSG_* defines to header file
* Add msgb_tl_put() helper
* LCLS: update osmo_lcls struct
* Allow log_init() with NULL log_info
* Add osmo_sockaddr_in_to_str_and_uint()
* LCLS, TS 29.205: add GCR routines
* LCLS, TS 48.008: add GCR IE encoding/decoding
* LCLS: add gsm0808_create_ass2()
* TLV: add convenience function for 1-byte values
* LCLS: enc/dec entire parameter set instead of GCR
* LCLS: fix LCLS-CONNECT-CONTROL encoder
* LCLS: use proper types for value_string wrappers
* LCLS: add GCR comparison helper
* add osmo_sock_get_{local,remote}_ip{,_port}()
* socket.c: fix IP and port buffer sizes
* GSUP: fix missing osmo_gsup_get_err_msg_type()s
* GSUP: add end marker to enum osmo_gsup_iei
* GSUP: add CHECK-IMEI message
* gsm23003: add osmo_imei_str_valid()
* vty: Make TCP port configurable and introduce telnet_init_default
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 11 01:04:46 UTC 2018 - Jan Engelhardt <jengelh@inai.de> Tue Dec 11 01:04:46 UTC 2018 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package libosmocore # spec file for package libosmocore
# #
# 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,26 +12,24 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%define version_unconverted 0.13~git149 %define version_unconverted 1.0.0
Name: libosmocore Name: libosmocore
Version: 0.13~git149 Version: 1.0.0
Release: 0 Release: 0
Summary: The Open Source Mobile Communications Core Library Summary: The Open Source Mobile Communications Core Library
License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND AGPL-3.0-or-later License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND AGPL-3.0-or-later
Group: Productivity/Telephony/Utilities Group: Productivity/Telephony/Utilities
Url: https://osmocom.org/projects/libosmocore/wiki/Libosmocore Url: https://osmocom.org/projects/libosmocore/wiki/Libosmocore
Source: %name-%version.tar.xz Source: %name-%version.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: automake >= 1.6 BuildRequires: automake >= 1.6
BuildRequires: libtool >= 2 BuildRequires: libtool >= 2
BuildRequires: pkg-config >= 0.20 BuildRequires: pkg-config >= 0.20
BuildRequires: python BuildRequires: python2
BuildRequires: xz BuildRequires: xz
BuildRequires: pkgconfig(gnutls) >= 2.12.0 BuildRequires: pkgconfig(gnutls) >= 2.12.0
BuildRequires: pkgconfig(libpcsclite) BuildRequires: pkgconfig(libpcsclite)
@ -113,13 +111,13 @@ transcoding routines.
This subpackage contains libraries and header files for developing This subpackage contains libraries and header files for developing
applications that want to make use of libosmocoding. applications that want to make use of libosmocoding.
%package -n libosmocore11 %package -n libosmocore12
Summary: Osmocom core library Summary: Osmocom core library
# crc16.c has GPL2-only clauses, the rest (*.c) is GPL-2.0+ # crc16.c has GPL2-only clauses, the rest (*.c) is GPL-2.0+
License: GPL-2.0-only AND GPL-2.0-or-later License: GPL-2.0-only AND GPL-2.0-or-later
Group: System/Libraries Group: System/Libraries
%description -n libosmocore11 %description -n libosmocore12
libosmocore is a library with various utility functions shared libosmocore is a library with various utility functions shared
between OpenBSC and OsmocomBB. between OpenBSC and OsmocomBB.
@ -128,7 +126,7 @@ Summary: Development files for the Osmocom core library
# crc16.h has GPL2-only clauses, the rest (*.h) is GPL-2.0+ # crc16.h has GPL2-only clauses, the rest (*.h) is GPL-2.0+
License: GPL-2.0-only AND GPL-2.0-or-later License: GPL-2.0-only AND GPL-2.0-or-later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libosmocore11 = %version Requires: libosmocore12 = %version
Requires: libtalloc-devel Requires: libtalloc-devel
%description -n libosmocore-devel %description -n libosmocore-devel
@ -190,12 +188,12 @@ The libosmogb library contains a GPRS BSSGP protocol implementation.
This subpackage contains libraries and header files for developing This subpackage contains libraries and header files for developing
applications that want to make use of libosmogb. applications that want to make use of libosmogb.
%package -n libosmogsm10 %package -n libosmogsm11
Summary: Osmocom GSM utility library Summary: Osmocom GSM utility library
License: GPL-2.0-or-later AND AGPL-3.0-or-later License: GPL-2.0-or-later AND AGPL-3.0-or-later
Group: System/Libraries Group: System/Libraries
%description -n libosmogsm10 %description -n libosmogsm11
libosmocore is a package with various utility functions that were libosmocore is a package with various utility functions that were
originally developed as part of the OpenBSC project. originally developed as part of the OpenBSC project.
@ -210,7 +208,7 @@ Summary: Development files for the Osmocom GSM utility library
License: GPL-2.0-or-later AND AGPL-3.0-or-later License: GPL-2.0-or-later AND AGPL-3.0-or-later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libosmocore-devel = %version Requires: libosmocore-devel = %version
Requires: libosmogsm10 = %version Requires: libosmogsm11 = %version
%description -n libosmogsm-devel %description -n libosmogsm-devel
The libosmogsm library in particular is a collection of common code The libosmogsm library in particular is a collection of common code
@ -280,9 +278,11 @@ applications that want to make use of libosmovty.
%build %build
echo "%version" >.tarball-version echo "%version" >.tarball-version
autoreconf -fiv autoreconf -fiv
%configure --enable-shared --disable-static \ %configure \
--includedir="%_includedir/%name" --enable-shared \
make %{?_smp_mflags} V=1 --disable-static \
--includedir="%_includedir/%name"
make %{?_smp_mflags}
%install %install
b="%buildroot" b="%buildroot"
@ -296,29 +296,26 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%postun -n libosmocodec0 -p /sbin/ldconfig %postun -n libosmocodec0 -p /sbin/ldconfig
%post -n libosmocoding0 -p /sbin/ldconfig %post -n libosmocoding0 -p /sbin/ldconfig
%postun -n libosmocoding0 -p /sbin/ldconfig %postun -n libosmocoding0 -p /sbin/ldconfig
%post -n libosmocore11 -p /sbin/ldconfig %post -n libosmocore12 -p /sbin/ldconfig
%postun -n libosmocore11 -p /sbin/ldconfig %postun -n libosmocore12 -p /sbin/ldconfig
%post -n libosmoctrl0 -p /sbin/ldconfig %post -n libosmoctrl0 -p /sbin/ldconfig
%postun -n libosmoctrl0 -p /sbin/ldconfig %postun -n libosmoctrl0 -p /sbin/ldconfig
%post -n libosmogb6 -p /sbin/ldconfig %post -n libosmogb6 -p /sbin/ldconfig
%postun -n libosmogb6 -p /sbin/ldconfig %postun -n libosmogb6 -p /sbin/ldconfig
%post -n libosmogsm10 -p /sbin/ldconfig %post -n libosmogsm11 -p /sbin/ldconfig
%postun -n libosmogsm10 -p /sbin/ldconfig %postun -n libosmogsm11 -p /sbin/ldconfig
%post -n libosmosim0 -p /sbin/ldconfig %post -n libosmosim0 -p /sbin/ldconfig
%postun -n libosmosim0 -p /sbin/ldconfig %postun -n libosmosim0 -p /sbin/ldconfig
%post -n libosmovty4 -p /sbin/ldconfig %post -n libosmovty4 -p /sbin/ldconfig
%postun -n libosmovty4 -p /sbin/ldconfig %postun -n libosmovty4 -p /sbin/ldconfig
%files tools %files tools
%defattr(-,root,root)
%_bindir/osmo-* %_bindir/osmo-*
%files -n libosmocodec0 %files -n libosmocodec0
%defattr(-,root,root)
%_libdir/libosmocodec.so.0* %_libdir/libosmocodec.so.0*
%files -n libosmocodec-devel %files -n libosmocodec-devel
%defattr(-,root,root)
%dir %_includedir/%name %dir %_includedir/%name
%dir %_includedir/%name/osmocom %dir %_includedir/%name/osmocom
%_includedir/%name/osmocom/codec/ %_includedir/%name/osmocom/codec/
@ -326,23 +323,19 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%_libdir/pkgconfig/libosmocodec.pc %_libdir/pkgconfig/libosmocodec.pc
%files -n libosmocoding0 %files -n libosmocoding0
%defattr(-,root,root)
%_libdir/libosmocoding.so.0* %_libdir/libosmocoding.so.0*
%files -n libosmocoding-devel %files -n libosmocoding-devel
%defattr(-,root,root)
%dir %_includedir/%name %dir %_includedir/%name
%dir %_includedir/%name/osmocom %dir %_includedir/%name/osmocom
%_includedir/%name/osmocom/coding/ %_includedir/%name/osmocom/coding/
%_libdir/libosmocoding.so %_libdir/libosmocoding.so
%_libdir/pkgconfig/libosmocoding.pc %_libdir/pkgconfig/libosmocoding.pc
%files -n libosmocore11 %files -n libosmocore12
%defattr(-,root,root) %_libdir/libosmocore.so.12*
%_libdir/libosmocore.so.11*
%files -n libosmocore-devel %files -n libosmocore-devel
%defattr(-,root,root)
%dir %_includedir/%name %dir %_includedir/%name
%dir %_includedir/%name/osmocom %dir %_includedir/%name/osmocom
%_includedir/%name/osmocom/core/ %_includedir/%name/osmocom/core/
@ -350,11 +343,9 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%_libdir/pkgconfig/libosmocore.pc %_libdir/pkgconfig/libosmocore.pc
%files -n libosmoctrl0 %files -n libosmoctrl0
%defattr(-,root,root)
%_libdir/libosmoctrl.so.0* %_libdir/libosmoctrl.so.0*
%files -n libosmoctrl-devel %files -n libosmoctrl-devel
%defattr(-,root,root)
%dir %_includedir/%name %dir %_includedir/%name
%dir %_includedir/%name/osmocom %dir %_includedir/%name/osmocom
%_includedir/%name/osmocom/ctrl/ %_includedir/%name/osmocom/ctrl/
@ -362,23 +353,19 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%_libdir/pkgconfig/libosmoctrl.pc %_libdir/pkgconfig/libosmoctrl.pc
%files -n libosmogb6 %files -n libosmogb6
%defattr(-,root,root)
%_libdir/libosmogb.so.6* %_libdir/libosmogb.so.6*
%files -n libosmogb-devel %files -n libosmogb-devel
%defattr(-,root,root)
%dir %_includedir/%name %dir %_includedir/%name
%dir %_includedir/%name/osmocom %dir %_includedir/%name/osmocom
%_includedir/%name/osmocom/gprs/ %_includedir/%name/osmocom/gprs/
%_libdir/libosmogb.so %_libdir/libosmogb.so
%_libdir/pkgconfig/libosmogb.pc %_libdir/pkgconfig/libosmogb.pc
%files -n libosmogsm10 %files -n libosmogsm11
%defattr(-,root,root) %_libdir/libosmogsm.so.11*
%_libdir/libosmogsm.so.10*
%files -n libosmogsm-devel %files -n libosmogsm-devel
%defattr(-,root,root)
%dir %_includedir/%name %dir %_includedir/%name
%dir %_includedir/%name/osmocom %dir %_includedir/%name/osmocom
%_includedir/%name/osmocom/gsm/ %_includedir/%name/osmocom/gsm/
@ -387,11 +374,9 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%_libdir/pkgconfig/libosmogsm.pc %_libdir/pkgconfig/libosmogsm.pc
%files -n libosmosim0 %files -n libosmosim0
%defattr(-,root,root)
%_libdir/libosmosim.so.0* %_libdir/libosmosim.so.0*
%files -n libosmosim-devel %files -n libosmosim-devel
%defattr(-,root,root)
%dir %_includedir/%name %dir %_includedir/%name
%dir %_includedir/%name/osmocom/ %dir %_includedir/%name/osmocom/
%_includedir/%name/osmocom/sim/ %_includedir/%name/osmocom/sim/
@ -399,11 +384,9 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%_libdir/pkgconfig/libosmosim.pc %_libdir/pkgconfig/libosmosim.pc
%files -n libosmovty4 %files -n libosmovty4
%defattr(-,root,root)
%_libdir/libosmovty.so.4* %_libdir/libosmovty.so.4*
%files -n libosmovty-devel %files -n libosmovty-devel
%defattr(-,root,root)
%dir %_includedir/%name %dir %_includedir/%name
%dir %_includedir/%name/osmocom %dir %_includedir/%name/osmocom
%_includedir/%name/osmocom/vty/ %_includedir/%name/osmocom/vty/