Change in osmo-remsim[master]: Add Debian packaging information

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Apr 3 07:55:02 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/13499 )

Change subject: Add Debian packaging information
......................................................................

Add Debian packaging information

Change-Id: Id5044b1835190edc948952d207a5196a18669eb1
---
A debian/changelog
A debian/compat
A debian/control
A debian/copyright
A debian/libosmo-rspro-dev.install
A debian/libosmo-rspro0.install
A debian/osmo-remsim-bankd.install
A debian/osmo-remsim-client.install
A debian/osmo-remsim-server.install
A debian/rules
10 files changed, 134 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ca4d246
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+osmo-remsim (0.1.0) unstable; urgency=medium
+
+  [ Harald Welte ]
+  * initial release.
+
+ -- Harald Welte <laforge at gnumonks.org>  Wed, 03 Apr 2019 08:59:40 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..8301a42
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,69 @@
+Source: osmo-remsim
+Maintainer: Harald Welte <laforge at gnumonks.org>
+Section: net
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               pkg-config,
+               dh-autoreconf,
+               dh-systemd (>= 1.5),
+               autotools-dev,
+               pkg-config,
+               libosmocore-dev,
+               libosmo-abis-dev,
+               libpcsclite-dev,
+               libusb-1.0-0-dev,
+               libulfius-dev,
+               libjansson-dev
+Standards-Version: 3.9.8
+Vcs-Browser: http://git.osmocom.org/osmo-remsim/
+Vcs-Git: git://git.osmocom.org/osmo-remsim
+Homepage: https://projects.osmocom.org/projects/osmo-remsim
+
+Package: libosmo-rspro0
+Section: libs
+Architecture: any
+Multi-Arch: same
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Description: Osmocom Remote SIM - Shared Library
+ libosmo-rsrpo is an utility library for encoding/decoding the ASN.1 BER
+ based RSPRO (Remote SIM Protocol) protocol used between the osmo-remsim
+ programs.
+
+Package: libosmo-rspro-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends}
+Description: Osmocom Remote SIM - Shared Library Development Haders
+ libosmo-rsrpo is an utility library for encoding/decoding the ASN.1 BER
+ based RSPRO (Remote SIM Protocol) protocol used between the osmo-remsim
+ programs.
+
+Package: osmo-remsim-server
+Architecture: any
+Multi-Arch: same
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Osmocom Remote SIM - Central Server
+ The remsim-server is the central element of a osmo-remsim deployment,
+ it maintains a list of clients + bankds connected to it, as well as the
+ dynamic SIM card mappings between them.
+
+Package: osmo-remsim-bankd
+Architecture: any
+Multi-Arch: same
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Osmocom Remote SIM - Bank Daemon
+ The remsim-bankd is managing a bank of SIM card readers and their
+ respective cards.  It establishes a control connection to remsim-server
+ and receives inbound connections from remsim-clients.
+
+Package: osmo-remsim-client
+Architecture: any
+Multi-Arch: same
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Osmocom Remote SIM - Client
+ The remsim-client is managing a given phone/modem.  It attaches to the
+ 'cardem' firmware of a SIMtrcace2 (or compatible, such as sysmoQMOD)
+ hardware and forwards the SIM card communication to a remsim-bankd,
+ under the control of remsim-server.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8af2d2e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,25 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: osmo-remsim
+Source: http://cgit.osmocom.org/osmo-remsim/
+
+Files: *
+Copyright: 2018-2019 Harald Welte <laforge at gnumonks.org>
+License: GPL-2+
+
+
+License: GPL-2+
+ This package is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/libosmo-rspro-dev.install b/debian/libosmo-rspro-dev.install
new file mode 100644
index 0000000..5abeb9c
--- /dev/null
+++ b/debian/libosmo-rspro-dev.install
@@ -0,0 +1,5 @@
+usr/include/osmocom/rspro
+usr/lib/*/libosmo-rspro*.a
+usr/lib/*/libosmo-rspro*.so
+usr/lib/*/libosmo-rspro*.la
+usr/lib/*/pkgconfig/libosmo-rspro.pc
diff --git a/debian/libosmo-rspro0.install b/debian/libosmo-rspro0.install
new file mode 100644
index 0000000..2b3a85d
--- /dev/null
+++ b/debian/libosmo-rspro0.install
@@ -0,0 +1 @@
+usr/lib/*/libosmo-rspro*.so.*
diff --git a/debian/osmo-remsim-bankd.install b/debian/osmo-remsim-bankd.install
new file mode 100644
index 0000000..d8168d5
--- /dev/null
+++ b/debian/osmo-remsim-bankd.install
@@ -0,0 +1 @@
+usr/bin/osmo-remsim-bankd
diff --git a/debian/osmo-remsim-client.install b/debian/osmo-remsim-client.install
new file mode 100644
index 0000000..8e73dc1
--- /dev/null
+++ b/debian/osmo-remsim-client.install
@@ -0,0 +1 @@
+usr/bin/osmo-remsim-client*
diff --git a/debian/osmo-remsim-server.install b/debian/osmo-remsim-server.install
new file mode 100644
index 0000000..f6f14a1
--- /dev/null
+++ b/debian/osmo-remsim-server.install
@@ -0,0 +1 @@
+usr/bin/osmo-remsim-server
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..bbf2626
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+
+DEBIAN  := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2)
+DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1)
+VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g')
+
+#export DH_VERBOSE=1
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+
+%:
+	dh $@ --with=systemd --with autoreconf --fail-missing
+
+override_dh_auto_configure:
+	dh_auto_configure --  --with-systemdsystemunitdir=/lib/systemd/system
+
+#override_dh_clean:
+#	dh_clean
+#	$(RM) tests/package.m4
+#	$(RM) tests/testsuite
+
+# Print test results in case of a failure
+#override_dh_auto_test:
+#	dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)

-- 
To view, visit https://gerrit.osmocom.org/13499
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Id5044b1835190edc948952d207a5196a18669eb1
Gerrit-Change-Number: 13499
Gerrit-PatchSet: 2
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190403/99766f48/attachment.html>


More information about the gerrit-log mailing list