[hamradio-commits] [ampr-ripd] 02/07: Adds initial debian/ directory

Ana Custura ana.c-guest at moszumanska.debian.org
Fri Sep 23 14:27:09 UTC 2016


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

ana.c-guest pushed a commit to branch master
in repository ampr-ripd.

commit 728e6d7da3804c70c0a0ddf82517458c5a0a81f6
Author: Ana C. Custura <ana at netstat.org.uk>
Date:   Fri Sep 23 12:25:08 2016 +0100

    Adds initial debian/ directory
---
 debian/ampr-ripd.install  |  1 +
 debian/ampr-ripd.manpages |  1 +
 debian/ampr-ripd.service  |  9 +++++++++
 debian/changelog          |  5 +++++
 debian/compat             |  1 +
 debian/control            | 17 +++++++++++++++++
 debian/copyright          | 26 ++++++++++++++++++++++++++
 debian/patches/man.diff   | 29 +++++++++++++++++++++++++++++
 debian/patches/series     |  1 +
 debian/rules              |  8 ++++++++
 debian/source/format      |  1 +
 debian/watch              |  4 ++++
 12 files changed, 103 insertions(+)

diff --git a/debian/ampr-ripd.install b/debian/ampr-ripd.install
new file mode 100644
index 0000000..8ebaefb
--- /dev/null
+++ b/debian/ampr-ripd.install
@@ -0,0 +1 @@
+ampr-ripd /usr/sbin/ampr-ripd
diff --git a/debian/ampr-ripd.manpages b/debian/ampr-ripd.manpages
new file mode 100644
index 0000000..b4cca7f
--- /dev/null
+++ b/debian/ampr-ripd.manpages
@@ -0,0 +1 @@
+ampr-ripd.1
diff --git a/debian/ampr-ripd.service b/debian/ampr-ripd.service
new file mode 100644
index 0000000..3053d50
--- /dev/null
+++ b/debian/ampr-ripd.service
@@ -0,0 +1,9 @@
+[Unit]
+Description= Amprnet routing daemon
+
+[Service]
+ExecStart=/usr/bin/ampr-ripd/ampr-ripd -t 44 -i ampr0 -d
+
+[Install]
+WantedBy=multi-user.target
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..13601e9
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ampr-ripd (1.13-1) unstable; urgency=medium
+
+  * Initial release (Closes: #833890) 
+
+ -- Ana Custura <ana at netstat.org.uk>  Sat, 13 Aug 2016 14:01:36 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b578532
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,17 @@
+Source: ampr-ripd
+Section: hamradio
+Priority: optional
+Maintainer: Ana Custura <ana at netstat.org.uk>
+Build-Depends: debhelper (>=9), dh-systemd
+Standards-Version: 3.9.8
+Homepage: http://www.yo2loj.ro/hamprojects/
+Vcs-Git: https://anonscm.debian.org/git/pkg-hamradio/ampr-ripd.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-hamradio/ampr-ripd.git
+
+Package: ampr-ripd
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Routing daemon for AMPRnet gateway announcements
+ AMPRnet RIPv4 Listener and route injector daemon, used for participating in
+ the amateur radio 44/8 AMPRnet gateways tunnel network. It updates IPIP tunnel
+ routes based on incoming RIP updates from a master server. 
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..bab1a2c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,26 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ampr-ripd
+Source: 	http://www.yo2loj.ro/hamprojects/
+
+Files: *
+Copyright: 2013 Marius Petrescu <marius at yo2loj.ro>
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2016 Ana Custura <ana at netstat.org.uk>
+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 package 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 <https://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".
diff --git a/debian/patches/man.diff b/debian/patches/man.diff
new file mode 100644
index 0000000..5c2ce61
--- /dev/null
+++ b/debian/patches/man.diff
@@ -0,0 +1,29 @@
+Description: Tweaks man page.
+ Tweaks manpage to remove all references to the validation string, also adds it to the correct section (8-sysadmin)
+Author: Ana Custura <ana at netstat.org.uk>
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/ampr-ripd.1
++++ b/ampr-ripd.1
+@@ -1,9 +1,9 @@
+-.TH ampr-ripd "1" "September 2016" "ampr-ripd" "General Manual Commands"
++.TH ampr-ripd "8" "September 2016" "ampr-ripd" "General Manual Commands"
+ .SH NAME
+ ampr-ripd \- routing daemon for AMPRNet gateways
+ .SH SYNOPSIS
+ .B ampr-ripd
+-[\-?|\-h] [\-d] [\-v] [\-s] [\-r] [\-i <interface>] [\-a <ip|hostname|subnet>[,<ip|hostname|subnet>...]] [\-p <password>] [\-f <interface>] [\-e <ip>] [\-x <system command>]
++[\-?|\-h] [\-d] [\-v] [\-s] [\-r] [\-i <interface>] [\-a <ip|hostname|subnet>[,<ip|hostname|subnet>...]] [\-f <interface>] [\-e <ip>] [\-x <system command>]
+ .br
+ .SH DESCRIPTION
+ AMPRnet is a RIPv4 Listener and route injector daemon used with AMPRnet gateways.
+@@ -50,9 +50,6 @@
+ This is needed since IP over AX.25 connections have small TCP window size.
+ A value of 0 diables setting the window size (not recommended, default value should be ok)
+ .TP
+-\fB\-p\fR <password>
+-RIPv2 password, defaults to the current valid password. Use only if the password should ever change
+-.TP
+ \fB\-f\fR <interface>
+ Interface for RIP forwarding, defaults to none/disabled
+ .TP
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f84fe50
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+man.diff
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..965a9ce
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE = 1
+
+
+%:
+	dh $@ --with=systemd 
+
+override_dh_auto_install:
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..6fd75bd
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+
+http://www.yo2loj.ro/hamprojects/ \
+ampr-ripd-([\d\.]+)[\d\.]\.tgz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/ampr-ripd.git



More information about the pkg-hamradio-commits mailing list