path: root/contrib
AgeCommit message (Collapse)AuthorFilesLines
2020-10-13contrib/jenkins: Enable parallel make in make distcheckHEADmasterPau Espin Pedrol1-2/+2
Change-Id: I38f59aec482d3a8e2690913bc55728a96399659e Related: OS#4421
2020-05-20contrib: integrate RPM specOliver Smith1-6/+9
Remove OpenSUSE bug report link, set version to @VERSION@, make it build with CentOS 8 etc. Related: OS#4550 Change-Id: Ibec1a22952ecfb0578bb4611e65ad819f5984fd8
2020-05-14contrib: import RPM specOliver Smith1-0/+136
Copy the RPM spec file from: https://build.opensuse.org/project/show/home:mnhauke:osmocom:nightly Related: OS#4550 Change-Id: Ic3f146c1eb5b5d02277ec869516a1ec95987d4cd
2019-07-30jenkins: Enable manual publishing and buildingDaniel Willmann1-2/+13
Related: OS#2589 Change-Id: Ic7437daeab0b07d16fd71ca3881cb31bab7b1925
2019-07-10contrib/jenkins.sh: run "make maintainer-clean"Oliver Smith1-0/+1
Related: OS#3047 Change-Id: I6f9274efeb2fdda54feaa54eb299f7aafaaec1eb
2018-12-06contrib: fix makedistcheck with disabled systemdOliver Smith1-1/+2
EXTRA_DIST files need to be distributed, no matter if the systemd option is configured or not. Change-Id: I8e1615793bc89fdc3b0549c150cc10d848e56645
2018-09-10Install systemd services with autotoolsPau Espin Pedrol2-0/+6
Change-Id: I90f1efc4433ec641a28931d5c19e2301a67cf1e9
2018-02-20contrib: jenkins.sh: Disable doxygen in libosmocore buildPau Espin Pedrol1-1/+1
Change-Id: I12d995c0c993483ed940fc173904d6e686fbe0ab
2018-01-02Enable sanitize for CI testsMax1-1/+1
Change-Id: I90ca756691e4f644d93af519ed5d54d794d1d401
2017-10-28jenkins: use osmo-clean-workspace.sh before and after buildNeels Hofmeyr1-1/+4
See osmo-ci change I2409b2928b4d7ebbd6c005097d4ad7337307dd93 for rationale. Depends: I2409b2928b4d7ebbd6c005097d4ad7337307dd93 Change-Id: I7261e006163eda4bee8a4695fbd5bd29307babe6
2017-08-28Use value string check from osmo-ciMax1-4/+3
Change-Id: I9fc4a0ce4ca29f8b76e189d040097f3e63298ba5
2017-07-05migrate osmo-hnbgw to libosmo-sigtran's SCCP/M3UANeels Hofmeyr1-1/+1
libosmo-sigtran now has a "proper" SCCP/M3UA stack, so we can make our hnb-gw 3GPP compliant by switching from the old SUA code to the new universal SCCP user API with support for (currently) M3UA and SUA. Main changes: Use one cn_link to STP: We will connect to the core network using an (Osmo)STP instance that routes to MSC and SGSN, so we want one SCCP link instead of two. The only difference between IuCS and IuPS is a different remote osmo_sccp_addr. This has various effects through the messaging code; the patch is a bit larger than I would like, but it is hard to separate out truly independent smaller changes. CS or PS domain was previously flagged in the separate cn_link, as ctx pointer for two separate sccp_sap_up()s. Now there's just one such ctx, so determine is_ps from the RANAP Domain Indicator, or from the conn's hnbgw_context_map: - Add is_ps to context_map_alloc_by_hnb(). - To find a matching context, the RUA ID alone is no longer sufficient, also match is_ps (possible optimization todo: separate lists). We would send separate CS or PS Reset messages based on the cn_link, instead send both CS and PS Reset at the same time for the single cn_link. This could be adjusted to detect presence of MSC or SGSN instead. Pending: adjust the VTY config to reflect that there is only one remote address. Place a TODO comment for that. Smaller changes: rua_to_scu(): populate called and calling addresses for N_CONNECT and N_UNITDATA. Remove DSUA. Don't build dummy_cn, which is still implemented on SUA. Mark todo to maybe re-include it based on M3UA later. In hnbgw_cnlink, place sccp related items in a separate sub-struct. Do not keep an llist of cn_links, just have the one. Remove iteration and list management. Change jenkins script to build libosmo-sccp master. Patch-by: hwelte, nhofmeyr Change-Id: I8ac15fa2fd25bedb26297177e416976a5389b573
2017-07-05jenkins: build from libosmo-netif masterNeels Hofmeyr1-1/+1
After merge of the sysmocom/sctp branch to master, it was forgotten to change this build script to move along to master. Change-Id: I473d1361b99ff0ff8adba9326b0e2dfbc48a3aef
2017-05-04contrib: Add systemd service file for osmo-hnbgwold_suaDaniel Willmann1-0/+11
Change-Id: I650bb5650b6d4f474e2040b57e6f78ee9d013825
2017-03-16jenkins: add value_string termination checkNeels Hofmeyr1-0/+2
Change-Id: I54ede7b120953c233c0e10cc88e9fd448c961308 Depends: libosmocore change-id I2bc93ab4781487e7685cfb63091a489cd126b1a8
2016-10-12jenkins.sh: use osmo-build-dep.shNeels Hofmeyr1-43/+17
Like in libosmo-abis' and other jenkins.sh Change-Id: I24f5a04abdf986eee4358bb3327b8d8b9b27e8f2
2016-09-30jenkins.sh: output all test logs when 'make check' failedNeels Hofmeyr1-2/+5
Assume that cat-testlogs.sh from osmo-ci is installed in $HOME/osmo-ci/scripts, and call from jenkins.sh upon 'make check' failure. Change-Id: I6ee37ae638aa0b95222e5c0ec78474fab1f8cfae
2016-09-09jenkins.sh: enable make distcheckNeels Hofmeyr1-2/+1
Change-Id: I967d4de9682cb2a45210f689ec076ef457841179
2016-09-09jenkins.sh: don't build twiceNeels Hofmeyr1-9/+14
Instead of building the same .c files twice, rather verify that the 'make regen' target produces identical .c files as are checked in. Change-Id: I18e7677d8596f61b883e9db57b4bdd2a5c154ec3
2016-08-29jenkins.sh: cosmetic: mark start of main buildNeels Hofmeyr1-4/+9
Add function 'marker' so we don't repeat the five echos, use in build_dep and before main build. Change-Id: I58ab958414eb9e9b0fd7e214103578e5b4aa6ff2
2016-07-12jenkins.sh: build both with checked-in and regenerated asn1 codeNeels Hofmeyr1-0/+10
Change-Id: Ifc3e1ae25b66203b0e8def0a9a0b6971b9c3ce93
2016-07-12jenkins.sh: echo HEADs' hashes, echo each project name prominentlyNeels Hofmeyr1-0/+8
Change-Id: I967b11b289630ba6ae1b102c1d6692625f83b875
2016-07-12jenkins.sh: fix, remove code dupNeels Hofmeyr1-58/+45
Have a bash function to build each dependency with the same commands. There is a tradeoff: having each dependency build with the same function means you can't easily tweak one of the dependencies. OTOH having a unified function means a) more readable script, b) that we're sure not to forget some steps and c) no need to do the same edit n times. Set the PKG_CONFIG_PATH globally. Also a tradeoff: if a future addition wouldn't need the same PKG_CONFIG_PATH, this would make things ugly. But that is actually quite unlikely, and the readability improvement is substantial. Use env variables to remember local paths. That means we always are sure to cd to the same absolute base path, which a 'cd ..' can't guarantee; also, we avoid possible typos for e.g. "$deps/install". Build sysmocom/sctp branch of libosmo-netif, as needed for libosmo-sccp's sysmocom/iu branch. Build aper-prefix branch of asn1c, as needed by 'regen'. 'make regen' first, to generate the .c from asn1, needed by the build. Change-Id: Ia7b4b9788b9c951f8be00cc5ae72a9c0a776fe64
2016-05-15attempt to fix parallel build, improve AM logicAlexander Huemer1-3/+3
The formerly existing make rule caused a race condition in parallel builds and wrongly stated the .c files as targets, which caused make to execute the rule twice (once for each target). This was actually only fallout of the attempt to express the fact that those two files are generated by the rule. The generated file ranap_ies_defs.h was moved by one make job, another job then tried to access the file in the old location and failed. parallel build verified with: $ for i in $(seq 1 10) do echo "XXXX iteration $i" git clean -xfd autoreconf -i ./configure make -j${i} || break done Coauthored by Andreas Rottmann <mail@rotty.xx.vu> Change-Id: I439edcb4b7742de861c99ed401114f51061f8088 Reviewed-on: https://gerrit.osmocom.org/65 Tested-by: Jenkins Builder Reviewed-by: Harald Welte <laforge@gnumonks.org>
2016-05-03jenkins: Disable parallel make as it is broken right nowHolger Hans Peter Freyther1-3/+3
sed -i 's,^#include "ranap_ies_defs.h",#include <osmocom/ranap/ranap_ies_defs.h>,' ranap_encoder.c ranap_decoder.c sed -i 's,^#include "ranap_common.h",#include <osmocom/ranap/ranap_common.h>,' ranap_encoder.c ranap_decoder.c ranap_ies_defs.h sed -i 's,^#include "ranap_common.h",#include <osmocom/ranap/ranap_common.h>,' ranap_encoder.c ranap_decoder.c ranap_ies_defs.h mv ranap_ies_defs.h ../include/osmocom/ranap/ sed: can't read ranap_ies_defs.h: No such file or directory Makefile:916: recipe for target 'ranap_decoder.c' failed
2016-04-27contrib: Put asn1c into the PATH as wellHolger Hans Peter Freyther1-1/+1
2016-04-27contrib: Add build script used on the jenkins to build itHolger Hans Peter Freyther1-0/+64
This tests compilation, runs the tests, regenerates the ASN1 code, compiles it and tests it as well. The make distcheck target is not working right now.