[PATCH] libosmo-abis[master]: Integrate Debian packaging changes

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Wed Dec 21 13:20:53 UTC 2016


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

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/coryright: add file matching Debian format

Change-Id: I6af8ab7f5c75b4d161cebf492f3de5d9dbd00220
Related: OS#1694
---
M debian/control
A debian/copyright
M debian/rules
3 files changed, 135 insertions(+), 14 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/69/1469/1

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 at gnumonks.org>
 Section: libs
 Priority: optional
-Maintainer: Harald Welte <laforge at 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 @@
 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 at totalueberwachung.de>
+           2008-2012 Harald Welte <laforge at gnumonks.org>
+           2009-2010 Holger Hans Peter Freyther <zecke at selfish.org>
+           2010,2014 On-Waves
+           2011-2014 Pablo Neira Ayuso <pablo at 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 at gnumonks.org>
+           2009      oystein at homelien.no
+           2009      Holger Hans Peter Freyther <zecke at selfish.org>
+           2010      Digium and Matthew Fredrickson <creslin at digium.com>
+           2011      Andreas Everberg <jolly at eversberg.eu>
+License: GPL-2+
+
+Files: include/mISDNif.h
+Copyright: 2008 Karsten Keil <kkeil at novell.com>
+License: LGPL-2.1
+
+Files: debian/*
+Copyright: 2012 Eric Butler <eric at codebutler.com>
+           2012-2015 Holger Hans Peter Freyther <holger at moiji-mobile.com>
+           2015 Ruben Undheim <ruben.undheim at 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 @@
 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_autoreconf:
 	echo $(VERSION) > .tarball-version
 	dh_autoreconf
+
+override_dh_clean:
+	dh_clean
+	rm -f tests/package.m4 tests/testsuite .version .tarball-version

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6af8ab7f5c75b4d161cebf492f3de5d9dbd00220
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list