summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2018-07-21 12:51:49 +0200
committerRuben Undheim <ruben.undheim@gmail.com>2018-07-21 12:51:49 +0200
commit1240e7db21b8dd456e71a08f6b1b2183a9e76b2a (patch)
tree96257b24db92c3dc4575fe09dea65c0ad532b668
parent54d2fd8be8dfdf828e606e964e1b08064b0fe147 (diff)
lintian fixes
-rw-r--r--debian/changelog2
-rw-r--r--debian/compat2
-rw-r--r--debian/control2
-rw-r--r--debian/copyright118
-rwxr-xr-xdebian/rules13
5 files changed, 12 insertions, 125 deletions
diff --git a/debian/changelog b/debian/changelog
index 8705b00..4941bdc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
osmo-bsc (1.2.1-1) UNRELEASED; urgency=low
- * Initial release (Closes: #x)
+ * Initial release (Closes: #x)
-- Ruben Undheim <ruben.undheim@gmail.com> Fri, 20 Jul 2018 22:33:21 +0200
diff --git a/debian/compat b/debian/compat
index ec63514..b4de394 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+11
diff --git a/debian/control b/debian/control
index af64539..7c8e203 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Maintainer: Debian Mobcom Maintainers <Debian-mobcom-maintainers@lists.alioth.de
Uploaders: Ruben Undheim <ruben.undheim@gmail.com>
Section: net
Priority: optional
-Build-Depends: debhelper (>= 9),
+Build-Depends: debhelper (>= 11),
pkg-config,
# libgtp-dev,
libosmocore-dev (>= 0.11.0),
diff --git a/debian/copyright b/debian/copyright
index ca7f861..847d54b 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,69 +1,14 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: OsmoBSC
Source: https://github.com/osmocom/osmo-bsc
Files: *
-Copyright: 2008-2015 Harald Welte <laforge@gnumonks.org>
- 2008-2015 Holger Hans Peter Freyther <zecke@selfish.org>
- 2009-2015 On-Waves
- 2008 Jan Luebbe <jluebbe@debian.org>
- 2008,2010-2011 Daniel Willmann <daniel@totalueberwachung.de>
- 2009,2011,2013 Andreas Eversberg <Andreas.Eversberg@versatel.de>
- 2009,2011 Dieter Spaar <spaar@mirider.augusta.de>
- 2009 Mike Haben <michael.haben@btinternet.com>
- 2010 Sylvain Munaut <246tnt@gmail.com>
- 2012-2013 Pablo Neira Ayuso <pablo@gnumonks.org>
- 2013-2015 Sysmocom s.f.m.c. GmbH (Jacob Erlbeck)
- 2014 Alexander Chemeris <Alexander.Chemeris@fairwaves.co>
+Copyright: 2008-2018 Harald Welte <laforge@gnumonks.org>
+ 2008-2018 Holger Hans Peter Freyther <zecke@selfish.org>
License: AGPL-3+
-Comment: Contributions by Stefan Schmidt <stefan@datenfreihafen.org> as well
-
-Files: wireshark/0001-abis_oml.patch
- wireshark/0002-ericsson_rbs2409.patch
- wireshark/0003-lucent-hnb.patch
- wireshark/0005-rsl-hsl.patch
-Copyright: 1998 Gerald Combs <gerald@wireshark.org>
- 2007,2011 Anders Broman <anders.broman@ericsson.com>
- 2009 Holger Hans Peter Freyther <zecke@selfish.org>
- 2009-2011 Harald Welte <laforge@gnumonks.org>
-License: GPL-2+
-
-Files: openbsc/include/mISDNif.h
-Copyright: 2008 Karsten Keil <kkeil@novell.com>
-License: LGPL-2.1
-
-Files: openbsc/src/libmgcp/g711common.h
-Copyright: 2009 Abramo Bagnara <abramo@alsa-project.org>
-License: GPL-2+
-
-Files: openbsc/git-version-gen
-Copyright: 2007-2010 Free Software Foundation
-License: GPL-3+
-
-Files: openbsc/osmoappdesc.py
- openbsc/tests/smpp_test_runner.py
- openbsc/tests/ctrl_test_runner.py
- openbsc/tests/vty_test_runner.py
-Copyright: 2013 Katerina Barone-Adesi <kat.obsc@gmail.com>
- 2013 Jacob Erlbeck <jerlbeck@sysmocom.de>
- 2013-2014 Holger Hans Peter Freyther <zecke@selfish.org>
-License: GPL-3+
-
-Files: openbsc/src/libbsc/bsc_ctrl_lookup.c
-Copyright: 2010-2011 Daniel Willmann <daniel@totalueberwachung.de>
- 2010-2011 On-Waves
-License: GPL-2+
-
-Files: openbsc/src/libmsc/mncc_sock.c
- openbsc/src/libmsc/mncc_builtin.c
-Copyright: 2008-2010 Harald Welte <laforge@gnumonks.org>
- 2009 Andreas Eversberg <Andreas.Eversberg@versatel.de>
- 2012 Holger Hans Peter Freyther <zecke@selfish.org>
-License: GPL-2+
Files: debian/*
-Copyright: 2012-2015 Holger Hans Peter Freyther <zecke@selfish.org>
- 2016 Ruben Undheim <ruben.undheim@gmail.com>
+Copyright: 2018 Ruben Undheim <ruben.undheim@gmail.com>
License: GPL-2+
@@ -80,58 +25,3 @@ License: AGPL-3+
.
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, either 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: GPL-3+
- 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, 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 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 3 can be found in "/usr/share/common-licenses/GPL-3".
-
-
-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 a4801ba..5d94c06 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,11 +2,9 @@
#export DH_VERBOSE=1
-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')
+include /usr/share/dpkg/pkg-info.mk
-CHANGELOG_DATE ?= $(shell LC_ALL=C date -u -d "`dpkg-parsechangelog --show-field Date`" +"%d %B %Y")
+CHANGELOG_DATE ?= $(shell LC_ALL=C date -u -d @$(SOURCE_DATE_EPOCH) +"%d %B %Y")
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
@@ -23,11 +21,10 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# dh_clean
# $(RM) debian/man/*.1
#
-#override_dh_installman:
-# cd debian/man ; CHANGELOG_DATE="$(CHANGELOG_DATE)" ./genmanpages.sh
-# dh_installman
+override_dh_installman:
+ cd debian/man ; CHANGELOG_DATE="$(CHANGELOG_DATE)" ./genmanpages.sh
+ dh_installman
#
## Print test results in case of a failure
#override_dh_auto_test:
# dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)
-#