aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-03-13 16:08:11 +0100
committerMax <msuraev@sysmocom.de>2017-03-13 16:33:23 +0100
commite9d37db7f23076571e2ac8fdbeae64158063acac (patch)
treefbb10b689e933708cf99153c90716f6cea0b66cf /debian
parent5ecdc56ad4a435d923fd3982769ac94b52f103a7 (diff)
Add .deb packaging
Add initial metadata for .deb packages. Change-Id: Ied02e445236410de51488fbb5aaea3170d02a31d Related: OS#1948
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control35
-rw-r--r--debian/copyright21
-rw-r--r--debian/osmo-hlr.install1
-rwxr-xr-xdebian/rules12
-rw-r--r--debian/source/format1
7 files changed, 76 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9706926
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+osmo-hlr (0.0.1) UNRELEASED; urgency=low
+
+ * Initial release (Closes: OS#1948)
+
+ -- Max Suraev <msuraev@sysmocom.de> Mon, 13 Mar 2017 16:26:41 +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..de7c5e5
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,35 @@
+Source: osmo-hlr
+Section: net
+Priority: optional
+Maintainer: Max Suraev <msuraev@sysmocom.de>
+Build-Depends: debhelper (>= 9),
+ pkg-config,
+ dh-autoreconf,
+ dh-systemd (>= 1.5),
+ autotools-dev,
+ pkg-config,
+ libosmocore-dev,
+ libosmo-abis-dev,
+ libosmo-netif-dev,
+ libdbd-sqlite3,
+ libsqlite3-dev,
+ hardening-wrapper
+Standards-Version: 3.9.6
+Vcs-Browser: http://cgit.osmocom.org/osmo-hlr
+Vcs-Git: git://git.osmocom.org/osmo-hlr
+Homepage: https://projects.osmocom.org/projects/osmo-hlr
+
+Package: osmo-hlr
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libdbd-sqlite3
+Description: Osmocom Home Location Register
+ OsmoHLR is a Osmocom implementation of HLR (Home Location Registrar) which works over GSUP
+ protocol. The subscribers are store in sqlite DB. It supports both 2G and 3G authentication.
+
+Package: osmo-hlr-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: osmo-hlr (= ${binary:Version}), ${misc:Depends}
+Description: Debug symbols for the osmo-hlr
+ Make debugging possible
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c0e2b45
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,21 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: OsmoHLR
+Source: http://cgit.osmocom.org/osmo-hlr/
+
+Files: *
+Copyright: 2016-2017 Sysmocom s. f. m. c. GmbH <info@sysmocom.de>
+License: AGPL-3+
+
+License: AGPL-3+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, either version 3 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
diff --git a/debian/osmo-hlr.install b/debian/osmo-hlr.install
new file mode 100644
index 0000000..028b9b3
--- /dev/null
+++ b/debian/osmo-hlr.install
@@ -0,0 +1 @@
+/usr/bin/osmo-hlr
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..8797d5a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+%:
+ dh $@ --with autoreconf
+
+override_dh_shlibdeps:
+ dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
+
+override_dh_strip:
+ dh_strip --dbg-package=osmo-hlr-dbg
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..9f67427
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native) \ No newline at end of file