[osmotrx] 04/08: Get rid of some lintians

Ruben Undheim rubund-guest at moszumanska.debian.org
Tue Feb 10 18:04:06 UTC 2015


This is an automated email from the git hooks/post-receive script.

rubund-guest pushed a commit to branch master
in repository osmotrx.

commit 489abab344df33602ef1f60e72f7d10b10783c94
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Sat Feb 7 13:14:05 2015 +0100

    Get rid of some lintians
---
 debian/README.Debian                     |  6 -----
 debian/README.source                     | 10 --------
 debian/control                           | 17 ++++++++----
 debian/copyright                         | 37 ++++++++++++++-------------
 debian/osmo-trx.1                        | 44 ++++++++++++++++++++++++++++++++
 debian/osmotrx.manpages                  |  1 +
 debian/patches/01_not_embed_sqlite.patch |  3 +++
 debian/rules                             |  5 ++++
 8 files changed, 84 insertions(+), 39 deletions(-)

diff --git a/debian/README.Debian b/debian/README.Debian
deleted file mode 100644
index a737567..0000000
--- a/debian/README.Debian
+++ /dev/null
@@ -1,6 +0,0 @@
-osmo-trx for Debian
--------------------
-
-<possible notes regarding this package - if none, delete this file>
-
- -- Ruben <ruben.undheim at gmail.com>  Fri, 06 Feb 2015 23:38:44 +0100
diff --git a/debian/README.source b/debian/README.source
deleted file mode 100644
index 649e81c..0000000
--- a/debian/README.source
+++ /dev/null
@@ -1,10 +0,0 @@
-osmo-trx for Debian
--------------------
-
-<this file describes information about the source package, see Debian policy
-manual section 4.14. You WILL either need to modify or delete this file>
-
-
-
- -- Ruben <ruben.undheim at gmail.com>  Fri, 06 Feb 2015 23:38:44 +0100
-
diff --git a/debian/control b/debian/control
index 069ca14..709f279 100644
--- a/debian/control
+++ b/debian/control
@@ -1,5 +1,5 @@
 Source: osmotrx
-Section: unknown
+Section: utils
 Priority: optional
 Maintainer: Ruben Undheim <ruben.undheim at gmail.com>
 Build-Depends: debhelper (>= 9),
@@ -10,12 +10,19 @@ Build-Depends: debhelper (>= 9),
                libboost-dev,
                libsqlite3-dev
 Standards-Version: 3.9.6
+Vcs-Browser: https://github.com/rubund/osmo-trx/tree/debian2
+Vcs-Git: git://github.com/rubund/osmo-trx.git -b debian2
 Homepage: http://openbsc.osmocom.org/trac/wiki/OsmoTRX
-#Vcs-Git: git://anonscm.debian.org/collab-maint/osmo-trx.git
-#Vcs-Browser: http://anonscm.debian.org/?p=collab-maint/osmo-trx.git;a=summary
 
 Package: osmotrx
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: <insert up to 60 chars description>
- <insert long description, indented with spaces>
+Description: SDR transceiver that implements Layer 1 of a GSM BTS
+ OsmoTRX is a software-defined radio transceiver that implements the Layer 1
+ physical layer of a BTS comprising the following 3GPP specifications:
+ .
+ TS 05.01 "Physical layer on the radio path"
+ TS 05.02 "Multiplexing and Multiple Access on the Radio Path"
+ TS 05.04 "Modulation"
+ TS 05.10 "Radio subsystem synchronization"
+ 
diff --git a/debian/copyright b/debian/copyright
index 995d267..389b5de 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,24 +1,29 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: osmo-trx
-Source: <url://example.com>
+Upstream-Name: OsmoTRX
+Source: http://openbsc.osmocom.org/trac/wiki/OsmoTRX
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: <special license>
- <Put the license of the package here indented by 1 space>
- <This follows the format of Description: lines in control file>
+Copyright: 2012-2015 Thomas Tsou <tom at tsou.cc>
+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 Affero General Public License for more details.
  .
- <Including paragraphs>
+ 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/>.
 
-# If you want to use GPL v2 or later for the /debian/* files use 
-# the following clauses, or change it to suit. Delete these two lines
 Files: debian/*
-Copyright: 2015 Ruben <ruben.undheim at gmail.com>
-License: GPL-2+
+Copyright: 2015 Ruben Undheim <ruben.undheim at gmail.com>
+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 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
  (at your option) any later version.
  .
  This package is distributed in the hope that it will be useful,
@@ -30,9 +35,5 @@ License: GPL-2+
  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".
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
 
-# Please also look if there are files or directories which have a
-# different copyright/license attached and list them here.
-# Please avoid to pick license terms that are more restrictive than the
-# packaged work, as it may make Debian's contributions unacceptable upstream.
diff --git a/debian/osmo-trx.1 b/debian/osmo-trx.1
new file mode 100644
index 0000000..029e874
--- /dev/null
+++ b/debian/osmo-trx.1
@@ -0,0 +1,44 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH OSMO-TRX 1 "Februray 07, 2015"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+osmo-trx \- SDR transceiver that implements Layer 1 of a GSM BTS
+.SH SYNOPSIS
+.B osmo-trx
+.SH DESCRIPTION
+This manual page documents briefly the
+.B osmo-trx
+command.
+.PP
+\fBosmo-trx\fP is a software-defined radio transceiver that implements the Layer 1
+physical layer of a BTS comprising the following 3GPP specifications:
+.
+.PP
+.br
+TS 05.01 "Physical layer on the radio path"
+.br
+TS 05.02 "Multiplexing and Multiple Access on the Radio Path"
+.br
+TS 05.04 "Modulation"
+.br
+TS 05.10 "Radio subsystem synchronization"
+
+.\".SH OPTIONS
+.br
+.SH AUTHOR
+This manual page was written by Ruben Undheim <ruben.undheim at gmail.com>,
+for the Debian project (and may be used by others).
diff --git a/debian/osmotrx.manpages b/debian/osmotrx.manpages
new file mode 100644
index 0000000..dd73a23
--- /dev/null
+++ b/debian/osmotrx.manpages
@@ -0,0 +1 @@
+debian/osmo-trx.1
diff --git a/debian/patches/01_not_embed_sqlite.patch b/debian/patches/01_not_embed_sqlite.patch
index 67d7ff1..e9354be 100644
--- a/debian/patches/01_not_embed_sqlite.patch
+++ b/debian/patches/01_not_embed_sqlite.patch
@@ -1,3 +1,6 @@
+Description: Do not embed sqlite3 when building. Use debian
+ version instead.
+Author: Ruben Undheim <ruben.undheim at gmail.com>
 Index: osmotrx/Makefile.am
 ===================================================================
 --- osmotrx.orig/Makefile.am	2015-02-06 23:31:31.316944097 +0100
diff --git a/debian/rules b/debian/rules
index 5dd77b2..172f2b6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,10 @@
 #!/usr/bin/make -f
 #DH_VERBOSE = 1
+
+
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
 %:
 	dh $@ --with autoreconf
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/osmotrx.git



More information about the debian-science-commits mailing list