Browse Source

Add Debian packaging information

Change-Id: Id5044b1835190edc948952d207a5196a18669eb1
changes/99/13499/2
Harald Welte 3 years ago
parent
commit
08d88dd040
  1. 6
      debian/changelog
  2. 1
      debian/compat
  3. 69
      debian/control
  4. 25
      debian/copyright
  5. 5
      debian/libosmo-rspro-dev.install
  6. 1
      debian/libosmo-rspro0.install
  7. 1
      debian/osmo-remsim-bankd.install
  8. 1
      debian/osmo-remsim-client.install
  9. 1
      debian/osmo-remsim-server.install
  10. 24
      debian/rules

6
debian/changelog vendored

@ -0,0 +1,6 @@
osmo-remsim (0.1.0) unstable; urgency=medium
[ Harald Welte ]
* initial release.
-- Harald Welte <laforge@gnumonks.org> Wed, 03 Apr 2019 08:59:40 +0200

1
debian/compat vendored

@ -0,0 +1 @@
9

69
debian/control vendored

@ -0,0 +1,69 @@
Source: osmo-remsim
Maintainer: Harald Welte <laforge@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.

25
debian/copyright vendored

@ -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@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".

5
debian/libosmo-rspro-dev.install vendored

@ -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

1
debian/libosmo-rspro0.install vendored

@ -0,0 +1 @@
usr/lib/*/libosmo-rspro*.so.*

1
debian/osmo-remsim-bankd.install vendored

@ -0,0 +1 @@
usr/bin/osmo-remsim-bankd

1
debian/osmo-remsim-client.install vendored

@ -0,0 +1 @@
usr/bin/osmo-remsim-client*

1
debian/osmo-remsim-server.install vendored

@ -0,0 +1 @@
usr/bin/osmo-remsim-server

24
debian/rules vendored

@ -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)
Loading…
Cancel
Save