aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-12-21 14:18:34 +0100
committerMax <msuraev@sysmocom.de>2016-12-21 18:04:27 +0100
commit5f3871e3626a407c01af42d72a9e8ea010938dc2 (patch)
treeeb1f7633476ab6d60e881c5b025ee1d35110ae99
parentbf42e0a91fcf79efa9b68c38568021e4d68c87b2 (diff)
Integrate Debian packaging changes
debian/control: * restructure to make it easier to incorporate further changes * update package descriptions * update project URL debian/rules: * use proper hardening syntax * restructure to make it easier to incorporate further changes * add cleanup override debian/copyright: add file matching Debian format Change-Id: I6af8ab7f5c75b4d161cebf492f3de5d9dbd00220 Related: OS#1694
-rw-r--r--debian/control59
-rw-r--r--debian/copyright83
-rwxr-xr-xdebian/rules7
3 files changed, 135 insertions, 14 deletions
diff --git a/debian/control b/debian/control
index eed3a4c..5df6c95 100644
--- a/debian/control
+++ b/debian/control
@@ -1,12 +1,22 @@
Source: libosmo-abis
+Maintainer: Harald Welte <laforge@gnumonks.org>
Section: libs
Priority: optional
-Maintainer: Harald Welte <laforge@gnumonks.org>
-Build-Depends: debhelper (>= 9), autotools-dev, autoconf, automake, libtool, dh-autoreconf, libdpkg-perl, git, libosmocore-dev (>= 0.6.4), pkg-config, libortp-dev
-Standards-Version: 3.9.6
-Homepage: http://openbsc.osmocom.org/trac/wiki/libosmo-abis
+Build-Depends: debhelper (>= 9),
+ autotools-dev,
+ autoconf,
+ automake,
+ libtool,
+ dh-autoreconf,
+ libdpkg-perl,
+ git,
+ libosmocore-dev (>= 0.6.4),
+ pkg-config,
+ libortp-dev
+Standards-Version: 3.9.7
Vcs-Git: git://git.osmocom.org/libosmo-abis.git
Vcs-Browser: http://git.osmocom.org/gitweb?p=libosmo-abis.git;a=summary
+Homepage: https://projects.osmocom.org/projects/libosmo-abis
Package: libosmo-abis
Section: oldlibs
@@ -20,28 +30,51 @@ Description: Legacy package for libosmo-abis
Package: libosmoabis5
Section: libs
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
Multi-Arch: same
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
Description: GSM A-bis handling
+ This library contains common/shared code regarding the A-bis interface between
+ the GSM Base transceiver station (BTS) and the GSM Base station controller BSC.
+ .
+ It also implements drivers for mISDN and DAHDI based E1 cards, as well as some
+ A-bis/IP dialects.
Package: libosmotrau1
Section: libs
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
Multi-Arch: same
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
Description: GSM trau handling
+ This library implements the Transcoder and Rate Adaptation Unit (TRAU) for
+ GSM systems. It is closely related to the libosmo-abis library.
+ .
+ TRAU performs transcoding function for speech channels and rate adaptation (RA)
+ for data channels in the GSM network.
Package: libosmo-abis-dev
-Section: libdevel
Architecture: any
-Depends: ${misc:Depends}, libosmotrau1 (= ${binary:Version}), libosmoabis5 (= ${binary:Version})
Multi-Arch: same
-Description: Development headers for A-bis interface.
+Section: libdevel
+Depends: ${misc:Depends},
+ libosmotrau1 (= ${binary:Version}),
+ libosmoabis5 (= ${binary:Version})
+Description: Development headers for A-bis interface
+ The libosmo-abis library contains common/shared code regarding the A-bis
+ interface between GSM BTS and BSC. This package in particular contains the
+ development files needed to develop with the libosmoabis and libosmotrau
+ libraries.
Package: libosmo-abis-dbg
-Section: debug
Architecture: any
-Priority: extra
-Depends: libosmoabis5 (= ${binary:Version}), libosmotrau1 (= ${binary:Version}), ${misc:Depends}
Multi-Arch: same
-Description: Debug symbols for A-bis interface.
+Section: debug
+Priority: extra
+Depends: libosmoabis5 (= ${binary:Version}),
+ libosmotrau1 (= ${binary:Version}),
+ ${misc:Depends}
+Description: Debug symbols for A-bis interface
+ The libosmo-abis library contains common/shared code regarding the A-bis
+ interface between GSM BTS and BSC. This package in particular contains the
+ debug symbols for the two libraries libosmoabis and libosmotrau.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..fdcf686
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,83 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libosmocore
+Source: git://git.osmocom.org/libosmo-abis.git
+
+Files: *
+Copyright: 2008 Daniel Willmann <daniel@totalueberwachung.de>
+ 2008-2012 Harald Welte <laforge@gnumonks.org>
+ 2009-2010 Holger Hans Peter Freyther <zecke@selfish.org>
+ 2010,2014 On-Waves
+ 2011-2014 Pablo Neira Ayuso <pablo@gnumonks.org>
+ 2012 Tobias Engel
+ 2014 Sysmocom s.f.m.c. GmBH
+License: AGPL-3+
+
+Files: src/input/lapd.c
+ src/trau/osmo_ortp.c
+ src/input/dahdi.c
+Copyright: 2008-2011 Harald Welte <laforge@gnumonks.org>
+ 2009 oystein@homelien.no
+ 2009 Holger Hans Peter Freyther <zecke@selfish.org>
+ 2010 Digium and Matthew Fredrickson <creslin@digium.com>
+ 2011 Andreas Everberg <jolly@eversberg.eu>
+License: GPL-2+
+
+Files: include/mISDNif.h
+Copyright: 2008 Karsten Keil <kkeil@novell.com>
+License: LGPL-2.1
+
+Files: debian/*
+Copyright: 2012 Eric Butler <eric@codebutler.com>
+ 2012-2015 Holger Hans Peter Freyther <holger@moiji-mobile.com>
+ 2015 Ruben Undheim <ruben.undheim@gmail.com>
+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 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/>.
+
+
+License: GPL-2+
+ This package is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, version 2 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 General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+License: LGPL-2.1
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation;
+ version 2.1 of the License.
+ .
+ This library 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
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU Lesser General
+ Public License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1".
diff --git a/debian/rules b/debian/rules
index d3f1534..cec3c9f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,8 +4,9 @@ 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')
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
#export DH_VERBOSE=1
-export DEB_BUILD_HARDENING=1
+
%:
dh $@ --with autoreconf --fail-missing
@@ -16,3 +17,7 @@ override_dh_strip:
override_dh_autoreconf:
echo $(VERSION) > .tarball-version
dh_autoreconf
+
+override_dh_clean:
+ dh_clean
+ rm -f tests/package.m4 tests/testsuite .version .tarball-version