Hello Neels Hofmeyr, Jenkins Builder,

I'd like you to reexamine a change.  Please visit

    https://gerrit.osmocom.org/3506

to look at the new patch set (#2).

add /debian package support

Change-Id: I985805aea0e48fe70619de8b81206098e4e37613
---
A debian/changelog
A debian/compat
A debian/control
A debian/copyright
A debian/libosmo-ranap-dev.install
A debian/libosmo-ranap0.install
A debian/osmo-hnbgw.install
A debian/rules
A debian/source/format
9 files changed, 139 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/06/3506/2

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 <lyn...@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 <lyn...@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..5cb4a3a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,48 @@
+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 <dwillm...@sysmocom.de>
+           2015 Harald Welte <lafo...@gnumonks.org>
+           2015-2017 sysmocom s.f.m.c. GmbH <i...@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..03432e6
--- /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)

-- 
To view, visit https://gerrit.osmocom.org/3506
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I985805aea0e48fe70619de8b81206098e4e37613
Gerrit-PatchSet: 2
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofm...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofm...@sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lyn...@fe80.eu>

Reply via email to