AgeCommit message (Collapse)AuthorFilesLines
8 daysBump version: → 0.9.33HEAD0.9.33masterPau Espin Pedrol1-0/+14
Change-Id: I8643f527238202149ef2fceb7c7c98cfe8dc9563
2020-10-12contrib/jenkins: Enable parallel make in make distcheckPau Espin Pedrol1-2/+2
Change-Id: Ife6c5b37ce34923a3379703bc6460a5760a815e8 Related: OS#4421
2020-08-13debian/control: change maintainer to the Osmocom team / mailing listVadim Yanitskiy1-1/+1
Change-Id: Ib039e0f4a8bfd713ed1df99119c21471af8fc00c
2020-05-19contrib: integrate RPM specOliver Smith3-6/+5
Remove OpenSUSE bug report link, set version to @VERSION@, make it build with CentOS 8 etc. Related: OS#4550 Change-Id: Ic075dd5a53cc76cf1b6aeca5c31db495882db915
2020-05-14contrib: import RPM specOliver Smith1-0/+98
Copy the RPM spec file from: Related: OS#4550 Change-Id: I7f20905413877c5b94cf0526dbef914a8148585f
2019-08-07Bump version: → 0.9.320.9.32Pau Espin Pedrol1-0/+13
Change-Id: Id7d60b7d7f4fa50d980c7636041eb36810c748ac
2019-08-07Fix LIBVERSION not appliedPau Espin Pedrol3-5/+4
Change-Id: I232c2fdcc5e9dc821fbea6e7dc498b6ed5b460a9
2019-07-10contrib/ run "make maintainer-clean"Oliver Smith1-0/+1
Related: OS#3047 Change-Id: If91b10d37cb4c940e009c12b232d042305d57886
2018-12-21Revert " disable parallel build"Oliver Smith1-4/+1
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 disable parallel buildOliver Smith1-1/+4
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
2018-09-17debian/rules: Don't overwrite .tarball-versionPau Espin Pedrol1-4/+0
The .tarball-version file should contain the *source version* uniquely identifying the git commit, and not the Debian package name. With there is a correct .tarball-version file in the .tar.xz of the nightly source packages. Related: OS#3449 Change-Id: I61a7995edf9fbc06db88ab391d32a988c3760c19
2018-05-04Bump version: → 0.9.310.9.31Pau Espin Pedrol1-0/+7
Change-Id: I8d192b1d29a47729a7c728dc35448e2daf6b9743
2018-05-04debian: set VERSION to fix version in .pc filesAlexander Couzens1-1/+8
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
2018-05-03Bump version: → 0.9.300.9.30Pau Espin Pedrol1-0/+6
Change-Id: I5e4817c04a980d099c146f977adf6f15f7bd56b0 Use git-version-gen to set VERSIONPau Espin Pedrol2-2/+153
We updated to 0.9.29 tag, but 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
2018-05-03Bump version: 0.9.28 → Espin Pedrol2-1/+21
Change-Id: Ib7cc5d297496b7f7235145602f98d6aef614e531
2018-05-03debian/changelog: Set previous versions to unstablePau Espin Pedrol1-2/+2
Otherwise make rlease overwrittes the latest UNRELEASED one. Change-Id: Ic6a9b1d6c7724b15c69e780d562007b22af141e6
2018-05-03build: Support make release targetPau Espin Pedrol2-0/+6
Change-Id: I04b9ff47f55df0e19d8e93530fb6ccf8bdb0660b
2018-05-03.gitignore: add compilePau Espin Pedrol1-0/+1
Change-Id: I27a8663cc48ca7a76fb1cdf4ad103a854febc812 use --enable-werror configure flag, not CFLAGSNeels Hofmeyr1-1/+1
Change-Id: I4791c6a32d983869692df36172f93adee819debb
2018-03-05configure: add --enable-werrorNeels Hofmeyr1-0/+21
Provide a sane means of adding the -Werror compiler flag. Currently, some of our 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
2017-11-17add --enable-sanitize config optionNeels Hofmeyr1-0/+12
Change-Id: I8f641c4bce361dcef5d8c149b8b81b21f12cbadf
2017-10-28jenkins: use before and after buildNeels Hofmeyr1-0/+3
See osmo-ci change I2409b2928b4d7ebbd6c005097d4ad7337307dd93 for rationale. Depends: I2409b2928b4d7ebbd6c005097d4ad7337307dd93 Change-Id: If5d252dc679e47a8375361d0ff278b7b98768f26
2017-10-28jenkins: add missing set -e to catch build errorsNeels Hofmeyr1-0/+2
Change-Id: I9f6b015b09c60c18d213dde5bbdcfc527096a10f
2017-10-28fix compiler warning: drop dead code from BIT_STRING_fromBuf()Neels Hofmeyr1-3/+0
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
2017-10-28link libasn1c against libmath, don't ask users to do itHarald Welte2-2/+2
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
2017-10-27Sync debian package version (0.9.28) with acversion0.9.28Harald Welte1-0/+6
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
2017-10-27Fix compiler warningHarald Welte1-1/+1
/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
2017-10-27Fix compiler warningHarald Welte1-1/+1
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
2017-08-14debian/copyright: Code in this repository is under BSD-2-ClauseHarald Welte1-3/+3
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
2017-08-14Re-license asn1helper.c under identical license as upstreamHarald Welte2-26/+3
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
2017-08-14add contrib/ script for jenkins build testingHarald Welte1-0/+16
Change-Id: I22fc707814e87b50e956d3b4fda6e5e31f0b62a7
2017-08-12add /debian to build a packageAlexander Couzens8-0/+168
debian files need a release so start with release 0.1.0 Change-Id: I135d975b84027d51cb1dc534e04dd314bbd20289
2017-08-08add .gitreview to support git review pluginAlexander Couzens1-0/+3
Change-Id: Ia197da1614a8cbec5f177368ca9e25946059c68a
2016-05-01aper fix for decoding constrained integer with lower boundary3G_2016_09Harald Welte1-12/+21
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 :/
2016-04-30fix APER encoding of integer (backport from openairinterface)Harald Welte1-5/+22
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).
2016-04-05misc: Replace libosmocore with tallocHolger Hans Peter Freyther5-14/+18
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).
2016-02-16remove config.h include from asn_system.hNeels Hofmeyr1-4/+0
2016-02-16cosmetic: cast to avoid compiler warningNeels Hofmeyr1-1/+1
2016-02-16Add helper functions for uint32_t in octet stringsDaniel Willmann2-0/+15
2016-01-03import ans1helpers.[ch] (originally part of osmo-iuh)Harald Welte4-2/+179
2015-12-19APER: Fix encoding of INTEGER with lower_bound != 0Harald Welte1-7/+8
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.
2015-12-18add '--enable-debug' configure option to build with EMIT_ASN_DEBUGHarald Welte4-0/+13
... 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)
2015-08-31update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541beHarald Welte73-524/+3489
which is closes to Lev Walkins master 62913d8b8e1eb96d74315ff748475ca818b69752
2015-08-31fix autoconf/automake warningsHarald Welte3-3/+3
2012-09-15link against libmath for 'ilogb()'Harald Welte1-1/+1
2011-10-14use include/osmocom/core instead of include/osmocoreHarald Welte1-1/+1
2010-07-24build: libosmo-asn1-map assumes that asn1c is in the includedirHolger Hans Peter Freyther1-1/+1
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.
2010-07-20per_support: Fix bit error in encoding processSylvain Munaut1-1/+2
Thanks to Dieter Spaar for finding and fixing this !
2010-07-20src: Print member's name in CHOICE printSylvain Munaut1-5/+3
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 <>