aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control17
-rw-r--r--debian/osmo-diameter2gsup.install2
-rwxr-xr-xdebian/rules18
-rw-r--r--debian/source/format1
6 files changed, 44 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6e45d35
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+osmo-diameter2gsup (0.1.0) unstable; urgency=medium
+
+ * Initial release.
+
+ -- Oliver Smith <osmith@sysmocom.de> Wed, 14 Jul 2022 14:51:01 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..7d5b6a7
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,17 @@
+Source: osmo-diameter2gsup
+Maintainer: Osmocom Community <openbsc@lists.osmocom.org>
+Section: net
+Priority: optional
+Build-Depends: erlang-nox,
+ libpcap-dev,
+ rebar3,
+Standards-Version: 4.5.0
+
+Package: osmo-diameter2gsup
+Architecture: any
+Depends: erlang-nox
+Multi-Arch: allowed
+Description: Osmocom DIAMETER to GSUP translator
+ This can be used to translate DIAMETER requests (such as those by an EPC)
+ to the Osmocom specific GSUP protocol, which means you can use OsmoHLR
+ as a simplistic HSS.
diff --git a/debian/osmo-diameter2gsup.install b/debian/osmo-diameter2gsup.install
new file mode 100644
index 0000000..6d442ad
--- /dev/null
+++ b/debian/osmo-diameter2gsup.install
@@ -0,0 +1,2 @@
+/contrib/systemd/osmo_dia2gsup.service /lib/systemd/system/
+/_lib/* /usr/lib/erlang/lib/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..607a359
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+
+build:
+ rebar3 compile
+ rebar3 escriptize
+ rebar3 eunit
+ for i in _build/default/lib/*; do \
+ libdir=_lib/"$$(basename "$$i")"; \
+ mkdir -pv "$$libdir"; \
+ cp -rv "$$i/ebin" "$$libdir"; \
+ done
+ find _lib -name .empty -delete
+
+clean:
+ rm -rf _build _lib
+
+%:
+ dh $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)