[Pkg-privacy-commits] [onionbalance] 02/02: Initial Debian packaging

Donncha O'Cearbahill donncha-guest at moszumanska.debian.org
Thu Oct 8 16:27:29 UTC 2015


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

donncha-guest pushed a commit to branch master
in repository onionbalance.

commit be53ae2bc8636842ad6c599f234dc6cfb3da5a56
Author: Donncha O'Cearbhaill <donncha at donncha.is>
Date:   Thu Oct 8 18:15:54 2015 +0200

    Initial Debian packaging
---
 debian/changelog                |   5 ++++
 debian/clean                    |   1 +
 debian/compat                   |   1 +
 debian/control                  |  22 +++++++++++++++
 debian/copyright                |  51 +++++++++++++++++++++++++++++++++
 debian/gbp.conf                 |   2 ++
 debian/help2man.include         |   7 +++++
 debian/manpages                 |   2 ++
 debian/mk-manpage               |  13 +++++++++
 debian/onionbalance-config.1    |  61 ++++++++++++++++++++++++++++++++++++++++
 debian/onionbalance.1           |  34 ++++++++++++++++++++++
 debian/rules                    |   4 +++
 debian/source/format            |   1 +
 debian/source/include-binaries  |   1 +
 debian/upstream-signing-key.pgp | Bin 0 -> 18589 bytes
 debian/watch                    |   3 ++
 16 files changed, 208 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3bf4f7c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+onionbalance (0.1.2-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #799973).
+
+ -- Donnncha O'Cearbhaill <donncha at donncha.is>  Wed, 16 Sep 2015 17:16:45 +0200
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..07c911b
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+OnionBalance.egg-info/*
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..c2193fd
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: onionbalance
+Maintainer: Donncha O'Cearbhaill <donncha at donncha.is>
+Section: net
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               python3-all,
+               python3-setuptools,
+Standards-Version: 3.9.5
+Homepage: https://github.com/DonnchaC/onionbalance
+Vcs-Git: https://anonscm.debian.org/git/pkg-privacy/packages/onionbalance.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-privacy/packages/onionbalance.git
+
+Package: onionbalance
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends},
+         python3-stem (>= 1.4.1b),
+         tor (>= 0.2.7.1),
+Description: Tor hidden service load balancer
+ The onionbalance tool provides load-balancing and redundancy for Tor
+ hidden services by distributing user requests to multiple backend
+ Tor instances.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..114f7e5
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,51 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: onionbalance
+Upstream-Contact: Donncha O'Cearbhaill <donncha at donncha.is>
+Source: https://github.com/DonnchaC/onionbalance.git
+
+Files: *
+Copyright: 2015 Donncha O'Cearbhaill
+License: GPL-3+
+ This program 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.
+ .
+ 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
+ can be found in /usr/share/common-licenses/GPL-3 file.
+
+Files: onionbalance/schedule.py
+Copyright: 2013 Daniel Bader <mail at dbader.org>
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+  The above copyright notice and this permission notice shall be included in
+  all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+
+Files: debian/*
+Copyright: 2015 Donncha O'Cearbhaill <donncha at donncha.is>
+License: permissive
+ Copying and distribution of this package, with or without
+ modification, are permitted in any medium without royalty
+ provided the copyright notice and this notice are
+ preserved.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..739562a
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[git-import-orig]
+pristine-tar = True
diff --git a/debian/help2man.include b/debian/help2man.include
new file mode 100644
index 0000000..27a38a4
--- /dev/null
+++ b/debian/help2man.include
@@ -0,0 +1,7 @@
+[authors]
+.B OnionBalance
+was primarily written by Donncha O'Cearbhaill.
+[see also]
+Full documentation for the
+.B OnionBalance
+software is available at https://onionbalance.readthedocs.org/
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..de56319
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1,2 @@
+debian/onionbalance.1
+debian/onionbalance-config.1
diff --git a/debian/mk-manpage b/debian/mk-manpage
new file mode 100755
index 0000000..a424703
--- /dev/null
+++ b/debian/mk-manpage
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -e
+
+name="$1"
+version="$2"
+desc="$3"
+
+help2man -N -n "$desc" \
+--version-string="$name $version" \
+--include='debian/help2man.include' \
+"$name" > "debian/$name.1"
+
+echo "debian/$name.1" >> debian/manpages
diff --git a/debian/onionbalance-config.1 b/debian/onionbalance-config.1
new file mode 100644
index 0000000..b5c6b49
--- /dev/null
+++ b/debian/onionbalance-config.1
@@ -0,0 +1,61 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.44.1.
+.TH ONIONBALANCE-CONFIG "1" "October 2015" "onionbalance-config 0.1.2" "User Commands"
+.SH NAME
+onionbalance-config \- tool for generating onionbalance config files and keys
+.SH DESCRIPTION
+usage: onionbalance\-config [\-h] [\-\-key KEY] [\-p PASSWORD] [\-n NUM_INSTANCES]
+.IP
+[\-t TAG] [\-\-output OUTPUT] [\-\-no\-interactive]
+[\-v VERBOSITY]
+[\-\-service\-virtual\-port SERVICE_VIRTUAL_PORT]
+[\-\-service\-target SERVICE_TARGET]
+.PP
+onionbalance\-config generates config files and keys for OnionBalance instances
+and management servers. Calling without any options will initiate an
+interactive mode.
+.SS "optional arguments:"
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+show this help message and exit
+.TP
+\fB\-\-key\fR KEY
+RSA private key for the master onion service.
+.TP
+\fB\-p\fR PASSWORD, \fB\-\-password\fR PASSWORD
+Optional password which can be used to encryptthe
+master service private key.
+.TP
+\fB\-n\fR NUM_INSTANCES
+Number of instances to generate (default: 2).
+.TP
+\fB\-t\fR TAG, \fB\-\-tag\fR TAG
+Prefix name for the service instances (default: srv).
+.TP
+\fB\-\-output\fR OUTPUT
+Directory to store generate config files. The
+directory will be created if it does not already
+exist.
+.TP
+\fB\-\-no\-interactive\fR
+Try to run automatically without prompting foruser
+input.
+.TP
+\fB\-v\fR VERBOSITY
+Minimum verbosity level for logging. Available in
+ascending order: debug, info, warning, error,
+critical). The default is info.
+.TP
+\fB\-\-service\-virtual\-port\fR SERVICE_VIRTUAL_PORT
+Onion service port for external client connections
+(default: 80).
+.TP
+\fB\-\-service\-target\fR SERVICE_TARGET
+Target IP and port where your service is listening
+(default: 127.0.0.1:80).
+.SH AUTHORS
+.B OnionBalance
+was primarily written by Donncha O'Cearbhaill.
+.SH "SEE ALSO"
+Full documentation for the
+.B OnionBalance
+software is available at https://onionbalance.readthedocs.org/
diff --git a/debian/onionbalance.1 b/debian/onionbalance.1
new file mode 100644
index 0000000..0d3dec3
--- /dev/null
+++ b/debian/onionbalance.1
@@ -0,0 +1,34 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.44.1.
+.TH ONIONBALANCE "1" "October 2015" "onionbalance 0.1.2" "User Commands"
+.SH NAME
+onionbalance \- a Tor hidden service load balancer
+.SH DESCRIPTION
+usage: onionbalance [\-h] [\-i IP] [\-p PORT] [\-c CONFIG] [\-v VERBOSITY]
+.PP
+onionbalance distributes the requests for a Tor hidden services across
+multiple Tor instances.
+.SS "optional arguments:"
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+show this help message and exit
+.TP
+\fB\-i\fR IP, \fB\-\-ip\fR IP
+Tor controller IP address
+.TP
+\fB\-p\fR PORT, \fB\-\-port\fR PORT
+Tor controller port
+.TP
+\fB\-c\fR CONFIG, \fB\-\-config\fR CONFIG
+Config file location
+.TP
+\fB\-v\fR VERBOSITY, \fB\-\-verbosity\fR VERBOSITY
+Minimum verbosity level for logging. Available in
+ascending order: debug, info, warning, error,
+critical). The default is info.
+.SH AUTHORS
+.B OnionBalance
+was primarily written by Donncha O'Cearbhaill.
+.SH "SEE ALSO"
+Full documentation for the
+.B OnionBalance
+software is available at https://onionbalance.readthedocs.org/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..51e83a9
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+export PYBUILD_NAME=onionbalance
+%:
+		dh "$@" --with python3 --buildsystem=pybuild
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/source/include-binaries b/debian/source/include-binaries
new file mode 100644
index 0000000..95a390b
--- /dev/null
+++ b/debian/source/include-binaries
@@ -0,0 +1 @@
+debian/upstream-signing-key.pgp
diff --git a/debian/upstream-signing-key.pgp b/debian/upstream-signing-key.pgp
new file mode 100644
index 0000000..84517a8
Binary files /dev/null and b/debian/upstream-signing-key.pgp differ
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..8fd7ba5
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/onionbalance-$1\.tar\.gz/ \
+  https://github.com/DonnchaC/onionbalance/releases .*/v?(\d\S*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onionbalance.git



More information about the Pkg-privacy-commits mailing list