Commit Graph

73 Commits

Author SHA1 Message Date
Stefan Sperling fd0a130314 use tag for test dependency commit
Use the output of 'git describe' to pin the commit checked out
for dependency titan.ProtocolModules.SGsAP_13.2.0_commit, i.e.
the tag which points to 81544cf008378058b95ff20d33f3770fadb7e235.

Using a plain commit hash will always re-trigger an update of
the working tree in this particular case because 'git describe'
won't ever return an error.

Change-Id: Ia994b5c4488fd9b0d410b992e515c6eec4dd23b1
2018-10-12 16:34:46 +02:00
Harald Welte 18314435e9 Add SGsAP_Templates for SGsAP on the MME<->MSC interface
Change-Id: I435dab312fc4965c69ffb9cc22917539ebab93e7
2018-10-10 20:33:21 +00:00
Stefan Sperling e6bf4ac879 move M3UA_Emulation dependency repository to commit R.2.A-2-g742cf02
Change-Id: Ifd258da7a0fb53eadb2aa080348a5250c307fe85
2018-06-14 11:24:15 +00:00
Harald Welte 3103fce005 deps: Add titan.ProtocolModules.MAP
Change-Id: I228800c4ef103b55da4831aff59bd4370cf25969
2018-05-26 14:34:52 +02:00
Harald Welte 834d67e304 deps: Add Titan.ProtocolModules.ROSE
ROSE is used by MAP and SS

Change-Id: I9c2c7b1989e261cc970d3846511f232ddc104fbd
2018-05-26 14:34:52 +02:00
Harald Welte 36296dcc37 deps: Switch titan.ProtocolModules.SMPP back to upstream TITAN
Our patch for SMPP AlertNotification was merged, so we can switch
back to use upstream instead of our osmocom fork.

Change-Id: Ib171451af264aa675b173b5cad37f08bcd64fbc3
2018-04-16 17:37:31 +02:00
Harald Welte a28dce1021 deps: Use upstream titan.TestPorts.UNIX_DOMAIN_SOCKETasp again
Our patch has been merged upstream, there's no need for using our
forked repository anymore.

Change-Id: Ibfbc5d1457181fd6c893993e4a34fdb2fb3baa92
2018-04-14 22:04:05 +02:00
Harald Welte 72199a8be9 deps: Use SMPP from osmocom fork
the osmocom fork has support for AlertNotification, which upstream
doesn't.  Pull request is pending, so we have to use our osmocom
fork repo meanwhile.

Change-Id: I9b6b120fe74b46183517264d85651ac0d99b4035
2018-04-14 21:58:16 +02:00
Harald Welte 0a068c3a8c deps: Update titan.TestPorts.UNIX_DOMAIN_SOCKETasp_commit
The osmocom fork of the titan.TestPorts.UNIX_DOMAIN_SOCKETasp master
branch has been force-pushed in order to incorporate patch review
comments from upstream TITAN.

Change-Id: I23ec12fa5fb30796f37257cf5ea3fcd74d3ecb80
2018-04-06 13:52:35 +02:00
Harald Welte b1add59560 deps/Makefile: Various updates
* SCCP changes were merged upstream, we don't need to use osmocom fork
* SCCP upstream now has proper tag based version
* M3UA now has a new version tag (with Routing Context)
* UNIX_DOMAIN_SOCKET has new verison tag (upstream requested changes)

Change-Id: I5526c1688d84cf985299baa973271a620b4b4544
2018-03-27 20:52:38 +02:00
Harald Welte 035f7f8af4 deps/Makefile: Add missing "git fetch" to /update and /clean targets
When the Makefile was modified to use a new tag/hash of a given
repo, the "make update" or "make clean" target will fail as the
new version/tag is not yet known to the local repo, only to the
remote (and hence we need a fetch).

Change-Id: I52c44c744674cd4dab0c85086d68bde6f9be1fca
2018-03-27 20:52:38 +02:00
Harald Welte 498634bfd3 deps: Switch to our own fork of the M3UA ProtocolEmulation
.. as we have some patches that are not yet in upstream

Change-Id: Ie8a9380ae8838c571fe3d0776f60485b34c85d4e
2018-03-27 19:21:55 +02:00
Stefan Sperling a2b5449f97 preserve uncommitted local changes in ttcn3 deps repositories
The previous Makefile rules would always overwrite uncommitted
local changes within repositories under the deps directory.

Let's assume that somebody who has local changes inside dependencies
knows what they are doing, and eliminate the risk of discarding
results of their work. Always skip repositories which contain
local changes. Only print a warning about such repositories.

Nothing changes for people who do not modify dependencies.

While testing this change, I noticed that the 'make distclean' target
was not reachable via 'make distclean', and I've fixed this as well.

Related: OS#3090
Change-Id: I0ee4ed70868b1c1efa39ad2bf200bf59ae2a2019
2018-03-22 12:56:54 +00:00
Stefan Sperling 61c11e9234 make management of osmo-ttcn3 git repository dependencies automatic
Add rules to deps/Makefile which ensure that 'make deps' puts the git
repositories of dependencies into a known state. In particular, set
the origin remote url to a known value, and check out a known commit
into the work tree.

This change ensures that ttcn3 builds run with 'make' will always use
correct versions of dependencies.

The 'make update-deps' now has the same effect as 'make deps', but it
is not yet removed in case build scripts rely on its existence.
The new 'make deps' target is fast enough to be run before every build.

Change-Id: I561eee7e12d976cd2265ba1bb8cd22dd8c1a0735
Related: OS#3090
2018-03-21 10:25:29 +00:00
Harald Welte c87abfcb60 Remove M3UA/MTP3/SCCP code from this repo, use upstream repos
Originally, this code was not yet in an official upstream git repo.
However, it has been for many months, so let's remove our local copy
and use upstream git repositories like for all the other modules.

Change-Id: I2c616fb865df32cfec323d42e5d0d06de40c497b
2018-03-18 12:52:20 +01:00
Harald Welte 6fc784e3c8 L1CTL: Add message segmentation helper via getMsgLen()
As L1CTL is using a stream socket, we need to give the UNIX_DOMAIN
port some clue as to where our L1CTL message boundaries are in the
stream.

This requires a patched UNIX_DOMAIN_SOCKETasp test port with the
following commit applied:

commit 655cb4ab2ac006b3a73d1b679c83081d9743410a
Author: Harald Welte <laforge@gnumonks.org>
Date:   Sun Feb 25 23:25:46 2018 +0100

    Add "getMsgLen" function similar to IPL4asp_PT

Change-Id: Iab33f57cb4311180e521a76307a552d16287b062
2018-02-27 22:32:49 +01:00
Harald Welte 4c294b6d46 deps/Makefile: Separate 'distclean' from 'clean'
'distclean' removes the actual git clones, while 'clean' now simply
ensures that there are no local changes between to index.

Change-Id: I5de68644b397ff7fbca0595a8900b41508d59bde
2018-02-15 18:32:28 +01:00
Harald Welte 981be73b1c deps/Makefile: Use "git remote set-url" to catch URL changes
In the past, we sometimes had to switch a repository URL (e.g. from
official git repo ot osmocom fork with patches/fixes).  The existing
Makefile didn't pick this up during "make update".  Let's use "git
remote set-url" to always update the remote URL before doing the "git
fetch".

Change-Id: I1d699ad5087f438e64b84c2e5c6e7320cb9457f6
2018-02-15 18:32:28 +01:00
Daniel Willmann 12984ef36d deps: Ensure that branches are updated on make update as well
Don't just force-checkout the local master branch again, but reset to
origin/master

Change-Id: I7d5e0e3d7f92fc51fa438b92f00c79f63945e74f
2018-02-06 16:04:04 +01:00
Harald Welte c98b42c8c3 deps: Use SCTPasp from osmocom github fork (SO_REUSEADDR, usleep hack)
Change-Id: I9169d231358a9a7e9e10302044a895087f7e7d78
2018-01-27 14:27:38 +01:00
Harald Welte 53a06cd2f4 deps: Switch back to upstream titan.TestPorts.UNIX_DOMAIN_SOCKETasp
Upstream TITAN has merged our SOCK_SEQPACKET support, so there's no
need for using our private repo anymore.

Change-Id: Ib04d9a3095cf93609af07af0de0b701cba460f67
2018-01-27 14:27:38 +01:00
Harald Welte 701b574fed Use Osmocom-patched UNIX_DOMAIN_SOCKETasp for SEQPACKET support
Upstream TITAN doesn't have this yet (it's submitted, though),
so we have to use our own repo for titan.TestPorts.UNIX_DOMAIN_SOCKETasp
and at the same time make sure that our MNCC port is using
SEQPACKET in MSC_Tests.cfg

Change-Id: Ifa3661d8f818564d595c4612e5612a245a31a8f4
2018-01-22 11:31:38 +01:00
Harald Welte 6807982106 Makefile: clone dependencies into 'deps' folder
We used to rely on out-of-tree git clones to be prepared by the user.

This commit changes the system to make sure we clone all git repos
we depend upon into the 'deps' folder, and then setup the symlinks
to that folder.  As a result, we should be able to support
self-contained builds using the makefiles in this repo.
2017-12-12 16:30:53 +01:00