aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2017-08-06 21:52:02 +0000
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-08-09 15:30:14 +0200
commitfcf362fb435c384d377302349a40e2390bf174a3 (patch)
tree267262eb5b8015dc5f257061dd9430b13259c358
parentecbdc5cb06ef7f61c6f4cdb4e1fd84a05ec0407d (diff)
add /debian package supportpre_release
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control60
-rw-r--r--debian/copyright51
-rw-r--r--debian/libosmo-ranap-dev.install3
-rw-r--r--debian/libosmo-ranap0.install1
-rw-r--r--debian/osmo-hnbgw.install2
-rwxr-xr-xdebian/rules18
-rw-r--r--debian/source/format1
9 files changed, 142 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..91bd155
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+osmo-iuh (0.1.0) UNRELEASED; urgency=low
+
+ * Initial release.
+
+ -- Alexander Couzens <lynxis@fe80.eu> Tue, 08 Aug 2017 04:13:19 +0000
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..56a7667
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,60 @@
+Source: osmo-iuh
+Section: libs
+Priority: extra
+Maintainer: Alexander Couzens <lynxis@fe80.eu>
+Build-Depends: debhelper (>=9),
+ dh-autoreconf,
+ pkg-config,
+ autoconf,
+ automake,
+ libtool,
+ git,
+ libasn1c-dev,
+ libsctp-dev,
+ libosmo-netif-dev,
+ libosmocore-dev,
+ libosmo-netif-dev,
+ libosmo-sccp-dev,
+ python (>= 2.7)
+Standards-Version: 3.9.8
+Vcs-Git: git://git.osmocom.org/osmo-iuh.git
+Vcs-Browser: https://git.osmocom.org/osmo-iuh/
+Homepage: https://projects.osmocom.org/projects/osmohnbgw
+
+Package: osmo-hnbgw
+Section: net
+Architecture: any
+Multi-Arch: no
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: osmocom Home Node B Gateway
+
+Package: osmo-hnbgw-dbg
+Section: debug
+Architecture: any
+Multi-Arch: no
+Pre-Depends: ${misc:Pre-Depends}
+Depends: osmo-hnbgw (= ${binary:Version}), ${misc:Depends}
+Description: osmocom Home Node B Gateway
+
+Package: libosmo-ranap0
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)
+
+Package: libosmo-ranap-dbg
+Section: debug
+Architecture: any
+Multi-Arch: same
+Depends: libosmo-ranap0 (= ${binary:Version}), ${misc:Depends}
+Description: Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)
+
+Package: libosmo-ranap-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: libosmo-ranap0 (= ${binary:Version}), ${misc:Depends}
+Description: Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..601e3c5
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,51 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: osmo-iuh
+Source: git://git.osmocom.org/
+
+Files: *
+Copyright: 2015 Daniel Willmann <dwillmann@sysmocom.de>
+ 2015 Harald Welte <laforge@gnumonks.org>
+ 2015 Sysmocom s.f.m.c. GmbH
+ 2015 sysmocom s.f.m.c GmbH
+ 2016 sysmocom s.m.f.c. GmbH <info@sysmocom.de>
+ 2016-2017 sysmocom s.f.m.c. GmbH <info@sysmocom.de>
+License: AGPL-3.0+
+ 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/>.
+
+Files: asn1/rua/eurecom/rua_decoder.c
+ asn1/rua/eurecom/rua_encoder.c
+ asn1/rua/eurecom/rua_ies_defs.h
+Copyright: 1999-2012 Eurecom
+License: GPL-2.0
+ This program is free software; you can redistribute it and/or modify it
+ under the terms and conditions of the GNU General Public License,
+ version 2, as published by the Free Software Foundation.
+ .
+ This program is distributed in the hope 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, write to the Free Software Foundation, Inc.,
+ 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
+ .
+ The full GNU General Public License is included in this distribution in
+ the file called "COPYING".
+ .
+ Contact Information
+ .
+ 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-ranap-dev.install b/debian/libosmo-ranap-dev.install
new file mode 100644
index 0000000..5bd9dd0
--- /dev/null
+++ b/debian/libosmo-ranap-dev.install
@@ -0,0 +1,3 @@
+usr/include
+usr/lib/*/*.so
+usr/lib/*/pkgconfig/*.pc
diff --git a/debian/libosmo-ranap0.install b/debian/libosmo-ranap0.install
new file mode 100644
index 0000000..3de3b10
--- /dev/null
+++ b/debian/libosmo-ranap0.install
@@ -0,0 +1 @@
+usr/lib/*/*.so.*
diff --git a/debian/osmo-hnbgw.install b/debian/osmo-hnbgw.install
new file mode 100644
index 0000000..e230915
--- /dev/null
+++ b/debian/osmo-hnbgw.install
@@ -0,0 +1,2 @@
+usr/bin/osmo-hnbgw
+usr/share/doc/osmo-iuh/examples/osmo-hnbgw.cfg
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0f6fc11
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,18 @@
+#!/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')
+
+# main packaging script based on dh7 syntax
+%:
+ dh $@ --with autoreconf
+
+override_dh_autoreconf:
+ echo $(VERSION) > .tarball-version
+ dh_autoreconf
+
+# See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg
+override_dh_strip:
+ dh_strip --dbg-package=libosmo-ranap-dbg
+ dh_strip --dbg-package=osmo-hnbgw
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)