add /debian package support
Change-Id: I985805aea0e48fe70619de8b81206098e4e37613changes/06/3506/2 0.1.0
parent
ecbdc5cb06
commit
e485cdd38b
|
@ -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
|
|
@ -0,0 +1 @@
|
|||
9
|
|
@ -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)
|
|
@ -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 <dwillmann@sysmocom.de>
|
||||
2015 Harald Welte <laforge@gnumonks.org>
|
||||
2015-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'.
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
usr/include
|
||||
usr/lib/*/*.so
|
||||
usr/lib/*/pkgconfig/*.pc
|
|
@ -0,0 +1 @@
|
|||
usr/lib/*/*.so.*
|
|
@ -0,0 +1,2 @@
|
|||
usr/bin/osmo-hnbgw
|
||||
usr/share/doc/osmo-iuh/examples/osmo-hnbgw.cfg
|
|
@ -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
|
|
@ -0,0 +1 @@
|
|||
3.0 (native)
|
Loading…
Reference in New Issue