[PATCH] osmo-iuh[master]: add /debian package support

2017-08-12 Thread lynxis lazus
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 000..91bd155
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+osmo-iuh (0.1.0) UNRELEASED; urgency=low
+
+  * Initial release.
+
+ -- Alexander Couzens   Tue, 08 Aug 2017 04:13:19 +
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 000..56a7667
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,60 @@
+Source: osmo-iuh
+Section: libs
+Priority: extra
+Maintainer: Alexander Couzens 
+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 000..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 
+   2015 Harald Welte 
+   2015-2017 sysmocom s.f.m.c. GmbH 
+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 .
+
+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 

[PATCH] osmo-iuh[master]: add /debian package support

2017-08-12 Thread Neels Hofmeyr

Review at  https://gerrit.osmocom.org/3506

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, 142 insertions(+), 0 deletions(-)


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

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 000..91bd155
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+osmo-iuh (0.1.0) UNRELEASED; urgency=low
+
+  * Initial release.
+
+ -- Alexander Couzens   Tue, 08 Aug 2017 04:13:19 +
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 000..56a7667
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,60 @@
+Source: osmo-iuh
+Section: libs
+Priority: extra
+Maintainer: Alexander Couzens 
+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 000..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 
+   2015 Harald Welte 
+   2015 Sysmocom s.f.m.c. GmbH
+   2015 sysmocom s.f.m.c GmbH
+   2016 sysmocom s.m.f.c. GmbH 
+   2016-2017 sysmocom s.f.m.c. GmbH 
+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 .
+
+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