commit 5e00d6fd805f71fc0f8cea5cb26cf1a023b6cbb0
Author: Oliver Smith <osmith@sysmocom.de>
Date: 2018-12-21 16:52:26 +0100
Revert "jenkins.sh: disable parallel build"
This reverts commit a352642587d8835deb3c6f55da7986f427835157.
I've confused the libasn1c and asn1c repositories. libasn1c does not
need this workaround, asn1c does.
Related Change-Id: I80eecc60b96e87710218089dfdd1a3f87b40a8b1 (asn1c)
Change-Id: I73eac905524688939e133b6f91ad85514dc0393a
commit f0eeca5cb3bfc2fed819eb46c7b34dd8879bfa4e
Author: Oliver Smith <osmith@sysmocom.de>
Date: 2018-12-07 11:05:18 +0100
jenkins.sh: disable parallel build
Avoid a race condition that causes the build to fail on Jenkins with:
asn1p_y.y: In function 'asn1p_parse':
asn1p_y.y:357:13: error: 'param' undeclared (first use in this function)
*(void **)param = $1;
^~~~~
Change-Id: Ib853a93bffc4cd78d4f08624fb1e56772ce68ce5
commit 6d2cea2d1d1448ba551eaadef9c833e816c4d5b8
Author: Pau Espin Pedrol <pespin@sysmocom.de>
Date: 2018-09-17 10:45:35 +0200
debian/rules: Don't overwrite .tarball-version
The .tarball-version file should contain the *source version* uniquely
identifying the git commit, and not the Debian package name.
With https://gerrit.osmocom.org/#/c/osmo-ci/+/10343/ there is a correct
.tarball-version file in the .tar.xz of the nightly source packages.
Related: OS#3449
Change-Id: I61a7995edf9fbc06db88ab391d32a988c3760c19
commit d36012fb029fd9914b4e8125c9c3186785940258
Author: Pau Espin Pedrol <pespin@sysmocom.de>
Date: 2018-05-04 12:15:34 +0200
Bump version: 0.9.30.1-3dc5 → 0.9.31
Change-Id: I8d192b1d29a47729a7c728dc35448e2daf6b9743
commit 3dc50c737d9e52faac127077c3b24490bdd95c85
Author: Alexander Couzens <lynxis@fe80.eu>
Date: 2018-05-04 01:42:31 +0200
debian: set VERSION to fix version in .pc files
The pkgconf file contains an unknown version which result in failure
of other packages which depend on a minimum version (osmo-iuh)
Change-Id: I65401786cf9eb63d3445f548dc13c1d3f9f4c1ea
commit 7dd8376c8fe35235b18acf5f88fbcf46fba2b56d
Author: Pau Espin Pedrol <pespin@sysmocom.de>
Date: 2018-05-03 18:23:35 +0200
Bump version: 0.9.29.1-42b1 → 0.9.30
Change-Id: I5e4817c04a980d099c146f977adf6f15f7bd56b0
commit 42b18e2bb8cb9a7a1cf97ff4811494b6d9f1cc49
Author: Pau Espin Pedrol <pespin@sysmocom.de>
Date: 2018-05-03 18:20:57 +0200
configure.ac: Use git-version-gen to set VERSION
We updated to 0.9.29 tag, but configure.ac was locked to 0.9.28, which
means release 0.9.29 is going to generated an old version and thus is
broken. A new release will follow this commit.
Change-Id: I8e1665f21d1bc76922423cabad3df72a2502f559
commit 671fef29c1e0b52dfbcd57e444b2ea3aa8c8246d
Author: Pau Espin Pedrol <pespin@sysmocom.de>
Date: 2018-05-03 17:18:02 +0200
Bump version: 0.9.28 → 0.9.29
Change-Id: Ib7cc5d297496b7f7235145602f98d6aef614e531
commit 10d1ab49365a1f361583721b545c954e2d44f9d6
Author: Pau Espin Pedrol <pespin@sysmocom.de>
Date: 2018-05-03 17:17:34 +0200
debian/changelog: Set previous versions to unstable
Otherwise make rlease overwrittes the latest UNRELEASED one.
Change-Id: Ic6a9b1d6c7724b15c69e780d562007b22af141e6
commit 96ef99e700e8a055b4c98275855c785b65051d4d
Author: Pau Espin Pedrol <pespin@sysmocom.de>
Date: 2018-05-03 17:15:26 +0200
build: Support make release target
Change-Id: I04b9ff47f55df0e19d8e93530fb6ccf8bdb0660b
commit 2745372f00222848aee3e8d4643fc69168ce7e85
Author: Pau Espin Pedrol <pespin@sysmocom.de>
Date: 2018-05-03 17:12:10 +0200
.gitignore: add compile
Change-Id: I27a8663cc48ca7a76fb1cdf4ad103a854febc812
commit 202022eaa9c36d1209cf024830b99d7d2463663e
Author: Neels Hofmeyr <neels@hofmeyr.de>
Date: 2018-03-05 20:50:26 +0100
jenkins.sh: use --enable-werror configure flag, not CFLAGS
Change-Id: I4791c6a32d983869692df36172f93adee819debb
commit 6e152f258226ddc5233fbb8c4f9e222fc90a161d
Author: Neels Hofmeyr <neels@hofmeyr.de>
Date: 2018-03-05 19:46:44 +0100
configure: add --enable-werror
Provide a sane means of adding the -Werror compiler flag.
Currently, some of our jenkins.sh add -Werror by passing 'CFLAGS="-Werror"',
but that actually *overwrites* all the other CFLAGS we might want to have set.
Maintain these exceptions from -Werror:
a) deprecation (allow upstream to mark deprecation without breaking builds);
b) "#warning" pragmas (allow to remind ourselves of errors without breaking
builds)
As a last configure step before generating the output files, print the complete
CFLAGS and CPPFLAGS by means of AC_MSG_RESULT.
Change-Id: Ibcc8238584a585434b39a046cd2d7e18ddaf7f8c
commit bd2173796d90db181c22034e4acbe391d2cb57ce
Author: Neels Hofmeyr <neels@hofmeyr.de>
Date: 2017-11-17 01:43:36 +0100
add --enable-sanitize config option
Change-Id: I8f641c4bce361dcef5d8c149b8b81b21f12cbadf
commit 0a433101824b510f1e480c6365e401bd7d7fcd82
Author: Neels Hofmeyr <neels@hofmeyr.de>
Date: 2017-10-27 22:48:41 +0200
jenkins: use osmo-clean-workspace.sh before and after build
See osmo-ci change I2409b2928b4d7ebbd6c005097d4ad7337307dd93 for rationale.
Depends: I2409b2928b4d7ebbd6c005097d4ad7337307dd93
Change-Id: If5d252dc679e47a8375361d0ff278b7b98768f26
commit d5ee1ed734f914a4fb7e00c927336d93fb40053e
Author: Neels Hofmeyr <neels@hofmeyr.de>
Date: 2017-10-27 22:48:14 +0200
jenkins: add missing set -e to catch build errors
Change-Id: I9f6b015b09c60c18d213dde5bbdcfc527096a10f
commit 551e9c94b3e067f548bcf08e1c3f202f90d6558c
Author: Neels Hofmeyr <neels@hofmeyr.de>
Date: 2017-10-28 04:27:44 +0200
fix compiler warning: drop dead code from BIT_STRING_fromBuf()
The warning is, on FreeBSD,
CC asn1helpers.lo
asn1helpers.c:68:10: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
if (len < 0)
~~~ ^ ~
Change-Id: I80867da697d744d7ef4d70c8f24031f5781fb11a
commit 0e1a6450a44e367b796fc5a905e3a081ae12a20c
Author: Harald Welte <laforge@gnumonks.org>
Date: 2017-10-28 13:58:23 +0200
link libasn1c against libmath, don't ask users to do it
libasn1c is using libm[ath] symbols from REAL.c and hence should be
linked using '-lm' to carry a dynamic linker dependency itself.
We shouldn't use a pkg-config hack to ask applications to do this on
our behalf.
Change-Id: Ie107f7252eeed90233468deaef57d3cee36abdf4
commit a4d72b02e2380eadd0abd758bd9fb34b59f58d8a
Author: Harald Welte <laforge@gnumonks.org>
Date: 2017-10-27 20:09:16 +0000
Sync debian package version (0.9.28) with acversion
All of this code is from asn1c 0.9.28, so let's make sure
autoconf + debian packaging agree on the version numbering
Change-Id: Ie8dc8f5df7123d4bf7579f6f4e84b7cc33d49607
commit 8d9147a7645458f7548f972fef1f5f2ac10cccce
Author: Harald Welte <laforge@gnumonks.org>
Date: 2017-10-27 22:05:31 +0200
Fix compiler warning
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
Change-Id: I442e60413b3bee6d365cd5df672a558d68998670
commit b7c145daa49bfbd36263bf617faad382bbaf9df9
Author: Harald Welte <laforge@gnumonks.org>
Date: 2017-10-27 22:05:13 +0200
Fix compiler warning
In file included from asn1helpers.c:14:0:
../include/asn1c/asn1helpers.h: In function ‘OCTET_STRING_noalloc’:
../include/asn1c/asn1helpers.h:26:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
s->buf = str;
^
Change-Id: Ie2fefe710090de779137c36b98239ef4a097b6dd
commit aaae8c76496a97050264e4c49e539b0420496737
Author: Harald Welte <laforge@gnumonks.org>
Date: 2017-08-14 00:44:00 +0200
debian/copyright: Code in this repository is under BSD-2-Clause
The license is not a 3-clause BSD, but a 2-clause BSD. Couldn't
find any trace to a 3rd clause anywhere.
Change-Id: I4f908ce4f670e062e6808ac7966d0e52bfe6b4f9
commit c8512b15107644810a6a5e1f46ed3b2b1c37b849
Author: Harald Welte <laforge@gnumonks.org>
Date: 2017-08-14 00:42:30 +0200
Re-license asn1helper.c under identical license as upstream
asn1helpers.c originally existed in the repository of an application
(osmo-hnbgw, IIRC), and hence was under AGPLv3. When moving it to
this repository, it should have been relicensed but wasn't. The
intention was never to "contaminate" (lib)asn1c with AGPLv3 code.
Change-Id: I8e714d4c51d771b1eabec7aa06e7daae73f48b15
commit f1b77d9b58fcb083afe343669abbcbc1dc138bdb
Author: Harald Welte <laforge@gnumonks.org>
Date: 2017-08-14 08:11:11 +0200
add contrib/jenkins.sh script for jenkins build testing
Change-Id: I22fc707814e87b50e956d3b4fda6e5e31f0b62a7
commit bce896fadb0be35b77123ab0999be34424819a6c
Author: Alexander Couzens <lynxis@fe80.eu>
Date: 2017-08-06 21:16:08 +0000
add /debian to build a package
debian files need a release so start with release 0.1.0
Change-Id: I135d975b84027d51cb1dc534e04dd314bbd20289
commit 4151e593e14a9004073c042adc5c433885036aff
Author: Alexander Couzens <lynxis@fe80.eu>
Date: 2017-08-08 13:55:37 +0200
add .gitreview to support git review plugin
Change-Id: Ia197da1614a8cbec5f177368ca9e25946059c68a
commit 20d668cbd3c14ef32fcbd09617fbd3c8e6856ec0
Author: Harald Welte <laforge@gnumonks.org>
Date: 2016-05-01 01:02:17 +0200
aper fix for decoding constrained integer with lower boundary
When decoding a constrained integer with a lower boundary, we need
to make sure the lower bound is added after decoding the raw offset
inside the range.
Before this change, RANAP_CauseMisc_unspecified_failure (115) would be
encoded as 2 (115 - 113 = 2), but would be decoded as 2, rather than
113+2 = 115.
Code for this was taken from
openairinterface5g/openair3/S1AP/MESSAGES/ASN1/asn1cpatch.p0 which
unfortunately doesn't carry much of a revision history :/
commit c867ddeb3027b3d84f2df73ebd44f9fe9fad7184
Author: Harald Welte <laforge@gnumonks.org>
Date: 2016-04-30 17:31:33 +0200
fix APER encoding of integer (backport from openairinterface)
The number of bytes used by an APER encoded integer depends on its
actually encoded value, not on the maximum value that could be possibly
encoded.
The old code would e.g. always use 24 bits if the maximum encoded value
would require 24 bits.
To give an example RANAP MaxBitrate (INTEER 1 .. 16000000) value 64000
was previously encoded as "80 00 f9 ff", while it is now the correct
representation "40 f9 ff".
Thanks to Dieter Spaar for detecting this problem in the Osmo-IUH
generated RANAP output, and thanks to openairinterface for fixing the
bug in their code (sadly not contributed to upstream asn1c, though).
commit f3c3049e754cb288911169333966881a9c4dee8c
Author: Holger Hans Peter Freyther <holger@moiji-mobile.com>
Date: 2016-04-05 16:25:43 +0200
misc: Replace libosmocore with talloc
The libosmocore depedency is used for talloc and OSMO_ASSERT.
Reduce the depedencies by using libtalloc directly and replace
the ASSERT with a local one (without backtrace support).
commit de48e262e29ee81245b20d9644c755a5bcd39b6b
Author: Neels Hofmeyr <nhofmeyr@sysmocom.de>
Date: 2016-02-16 12:58:10 +0100
remove config.h include from asn_system.h
commit 578ecbbf628a59d6b4c36d6ae96754b4d86417af
Author: Neels Hofmeyr <nhofmeyr@sysmocom.de>
Date: 2016-02-16 12:23:23 +0100
cosmetic: cast to avoid compiler warning
commit 95a112f75ab7154e375d9c407f233f95c826f2f3
Author: Daniel Willmann <dwillmann@sysmocom.de>
Date: 2016-02-02 16:38:40 +0100
Add helper functions for uint32_t in octet strings
commit 2d4f2bd91ce5724c9f1c3916dfa5b21c8f6e7fbc
Author: Harald Welte <laforge@gnumonks.org>
Date: 2016-01-03 17:14:54 +0100
import ans1helpers.[ch] (originally part of osmo-iuh)
commit 667d758c92825208e318ec27e090aac2805d4678
Author: Harald Welte <laforge@gnumonks.org>
Date: 2015-12-19 13:37:02 +0100
APER: Fix encoding of INTEGER with lower_bound != 0
When encoding an INTEGER, we need to subtract the lower bound before
encoding the value. This is specified in Clause 10.5.7.x of X.691.
The decoder already does this correct, but the encoder was wrong.
commit a37b06d7354c5cfec0e88dc22a8a5d784551f1b3
Author: Harald Welte <laforge@gnumonks.org>
Date: 2015-12-18 15:37:17 +0100
add '--enable-debug' configure option to build with EMIT_ASN_DEBUG
... which in turn causes all the ASN_DEBUG() to be turned into
fprintf(stderr, ...) statements, once the user application decides
to set 'asn_debug = 1' somewhere in its code.
The next step would be to make _ASN_DECODE_FAILED / _ASN_ENCODE_FAILED
no longer depend on ASN_DEBUG (which it currently does)
commit 41b85d5597119fa8105dc0641ffe5cd1bbae39b2
Author: Harald Welte <laforge@gnumonks.org>
Date: 2015-08-31 08:56:53 +0200
update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be
which is closes to Lev Walkins master 62913d8b8e1eb96d74315ff748475ca818b69752
commit f6b9173b02bfac093177cf6fd0f48ad56c5786c7
Author: Harald Welte <laforge@gnumonks.org>
Date: 2015-08-31 09:06:57 +0200
fix autoconf/automake warnings
commit c904c936d7b284d56602135327c9c544d56fa909
Author: Harald Welte <laforge@gnumonks.org>
Date: 2012-09-15 19:31:26 +0200
link against libmath for 'ilogb()'
commit a68b3a37c516981e88532f918ef1e927b0baab48
Author: Harald Welte <laforge@gnumonks.org>
Date: 2011-10-14 20:35:00 +0200
use include/osmocom/core instead of include/osmocore
commit 3674df68fdba6c7c449501c2341fde4b1438c1ca
Author: Holger Hans Peter Freyther <zecke@selfish.org>
Date: 2010-07-24 20:38:57 +0800
build: libosmo-asn1-map assumes that asn1c is in the includedir
Add asn1c/ to the CFLAGS reported here as we have code that is
including the asn1c without the prefix. I assume this is a temporary
fix.
commit ee1a5c9ae37bd4d3b64444a292425bdd3da564f4
Author: Sylvain Munaut <tnt@246tNt.com>
Date: 2010-06-14 23:36:29 +0200
per_support: Fix bit error in encoding process
Thanks to Dieter Spaar for finding and fixing this !
commit 64fdc4cb06c1b89b2b3aa2ae01c92248292262f0
Author: Sylvain Munaut <tnt@246tNt.com>
Date: 2010-06-14 23:33:55 +0200
src: Print member's name in CHOICE print
Sometimes, if the choice is a null or integer or ...
it's not easy to know what has really been selected without
the choice member name.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
commit b9d517e75509c6c30e2fe8740b81f5c26d77f89e
Author: Sylvain Munaut <tnt@246tNt.com>
Date: 2010-06-14 23:31:04 +0200
src: Add verbose pretty print for enumerated types
This is just much easier to read when reading the text
dumps.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
commit 6264d3d94b1ba827a507433efa630d92145cb3cb
Author: Harald Welte <laforge@gnumonks.org>
Date: 2010-07-18 23:30:11 +0200
we have to replace calloc with talloc_zero_size() to ensure initialization
commit fa034009a11b0ea5f91074e6137e8711240217a6
Author: Harald Welte <laforge@gnumonks.org>
Date: 2010-07-18 23:15:24 +0200
Convert libasn1c to use talloc from libosmocore
commit ec0e217b0647eb798576a7d3366b39c159c00624
Author: Harald Welte <laforge@gnumonks.org>
Date: 2010-07-20 00:03:44 +0200
Update to asn1c official repository svn trunk r1409
commit b1e3ee75318536dac0a91817c5e4d35d61893ba6
Author: Harald Welte <laforge@gnumonks.org>
Date: 2010-07-09 15:46:03 +0200
add dummy 'm4/.dummy' file to make autoreconf happy
commit 96afdfdc645f22c1a4b08afb6b2b303ab8788a19
Author: Harald Welte <laforge@gnumonks.org>
Date: 2010-06-13 09:38:56 +0200
Remove converter-sample.c, as it is not part of the runtime library
commit 7ee9a775b81a137d3cafb9d9fb9f6731ed9267ac
Author: Harald Welte <laforge@gnumonks.org>
Date: 2010-06-13 07:44:07 +0200
add .gitignore file
commit 8e37e02a3efd5829f81dec89ea4cf524a467e4d2
Author: Harald Welte <laforge@gnumonks.org>
Date: 2010-06-12 19:24:52 +0200
add COPYING with original licenes
commit 98cb83615d9b813dbb1f1199b9c52a00af2eb973
Author: Harald Welte <laforge@gnumonks.org>
Date: 2010-06-12 19:15:51 +0200
move header files to 'include' directory and install them
commit bdff5e63096fd9c2ff503cdc7da338286699ef1a
Author: Harald Welte <laforge@gnumonks.org>
Date: 2010-06-12 19:05:23 +0200
Add autotools/pkgconfig magic
commit 92c45f3390c2f9bae25e7594a690cebbe2826fe9
Author: Harald Welte <laforge@gnumonks.org>
Date: 2010-06-12 18:59:38 +0200
initial import of /usr/share/asn1c/*.[ch] skeleton files
...