From b848fc89a09e1ac2c3de4049e2cb7294cf589820 Mon Sep 17 00:00:00 2001 From: Jacob Appelbaum Date: Wed, 17 Aug 2011 17:14:21 +0200 Subject: Add basic debian directory --- packages/torouter-web/debian/README | 6 ++++ packages/torouter-web/debian/README.Debian | 8 +++++ packages/torouter-web/debian/changelog | 5 +++ packages/torouter-web/debian/compat | 1 + packages/torouter-web/debian/control | 13 ++++++++ packages/torouter-web/debian/copyright | 36 +++++++++++++++++++++ packages/torouter-web/debian/dirs | 1 + packages/torouter-web/debian/postinst | 39 +++++++++++++++++++++++ packages/torouter-web/debian/postrm | 37 +++++++++++++++++++++ packages/torouter-web/debian/preinst | 35 ++++++++++++++++++++ packages/torouter-web/debian/prerm | 38 ++++++++++++++++++++++ packages/torouter-web/debian/rules | 6 ++++ packages/torouter-web/debian/source/format | 1 + packages/torouter-web/debian/torouter-tui.default | 10 ++++++ 14 files changed, 236 insertions(+) create mode 100644 packages/torouter-web/debian/README create mode 100644 packages/torouter-web/debian/README.Debian create mode 100644 packages/torouter-web/debian/changelog create mode 100644 packages/torouter-web/debian/compat create mode 100644 packages/torouter-web/debian/control create mode 100644 packages/torouter-web/debian/copyright create mode 100644 packages/torouter-web/debian/dirs create mode 100644 packages/torouter-web/debian/postinst create mode 100644 packages/torouter-web/debian/postrm create mode 100644 packages/torouter-web/debian/preinst create mode 100644 packages/torouter-web/debian/prerm create mode 100755 packages/torouter-web/debian/rules create mode 100644 packages/torouter-web/debian/source/format create mode 100644 packages/torouter-web/debian/torouter-tui.default (limited to 'packages/torouter-web') diff --git a/packages/torouter-web/debian/README b/packages/torouter-web/debian/README new file mode 100644 index 0000000..cda2d60 --- /dev/null +++ b/packages/torouter-web/debian/README @@ -0,0 +1,6 @@ +The Debian Package torouter-tui +---------------------------- + +This package is for the Torouter Web UI project from the Tor Project. + + -- Jacob Appelbaum Wed, 17 Aug 2011 17:15:08 -0400 diff --git a/packages/torouter-web/debian/README.Debian b/packages/torouter-web/debian/README.Debian new file mode 100644 index 0000000..27e430c --- /dev/null +++ b/packages/torouter-web/debian/README.Debian @@ -0,0 +1,8 @@ +torouter for Debian +------------------- + +This is a package for Debian that converts a DreamPlug into a Torouter. + +It will configure the system without prompting the user for any input. + + -- Jacob Appelbaum Wed, 27 Jul 2011 09:51:21 -0400 diff --git a/packages/torouter-web/debian/changelog b/packages/torouter-web/debian/changelog new file mode 100644 index 0000000..0dda21c --- /dev/null +++ b/packages/torouter-web/debian/changelog @@ -0,0 +1,5 @@ +torouter-tui (0.0.1-1) unstable; urgency=low + + * Initial release (Closes: #nnnn) + + -- Jacob Appelbaum Wed, 17 Aug 2011 16:58:00 -0400 diff --git a/packages/torouter-web/debian/compat b/packages/torouter-web/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/packages/torouter-web/debian/compat @@ -0,0 +1 @@ +7 diff --git a/packages/torouter-web/debian/control b/packages/torouter-web/debian/control new file mode 100644 index 0000000..a2aaac6 --- /dev/null +++ b/packages/torouter-web/debian/control @@ -0,0 +1,13 @@ +Source: torouter-tui +Section: unknown +Priority: extra +Maintainer: Jacob Appelbaum +Build-Depends: debhelper (>= 7.0.50~) +Standards-Version: 3.9.1 +Homepage: + +Package: torouter +Architecture: all +Depends: ${misc:Depends}, python, python-webpy +Description: Torouter web UI + This package provides the Torouter web UI. diff --git a/packages/torouter-web/debian/copyright b/packages/torouter-web/debian/copyright new file mode 100644 index 0000000..eeef3f2 --- /dev/null +++ b/packages/torouter-web/debian/copyright @@ -0,0 +1,36 @@ +Format: http://dep.debian.net/deps/dep5 +Upstream-Name: torouter +Source: + +Files: * +Copyright: 2011 Arturo Filasto' +License: BSD-3-Clause + +Files: debian/* +Copyright: 2011 Jacob Appelbaum +License: BSD-3-Clause + +License: BSD-3-Clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. diff --git a/packages/torouter-web/debian/dirs b/packages/torouter-web/debian/dirs new file mode 100644 index 0000000..e772481 --- /dev/null +++ b/packages/torouter-web/debian/dirs @@ -0,0 +1 @@ +usr/bin diff --git a/packages/torouter-web/debian/postinst b/packages/torouter-web/debian/postinst new file mode 100644 index 0000000..97e9113 --- /dev/null +++ b/packages/torouter-web/debian/postinst @@ -0,0 +1,39 @@ +#!/bin/sh +# postinst script for torouter +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/packages/torouter-web/debian/postrm b/packages/torouter-web/debian/postrm new file mode 100644 index 0000000..632ac80 --- /dev/null +++ b/packages/torouter-web/debian/postrm @@ -0,0 +1,37 @@ +#!/bin/sh +# postrm script for torouter +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/packages/torouter-web/debian/preinst b/packages/torouter-web/debian/preinst new file mode 100644 index 0000000..1cc598e --- /dev/null +++ b/packages/torouter-web/debian/preinst @@ -0,0 +1,35 @@ +#!/bin/sh +# preinst script for torouter +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + install|upgrade) + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/packages/torouter-web/debian/prerm b/packages/torouter-web/debian/prerm new file mode 100644 index 0000000..4bb95dd --- /dev/null +++ b/packages/torouter-web/debian/prerm @@ -0,0 +1,38 @@ +#!/bin/sh +# prerm script for torouter +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/packages/torouter-web/debian/rules b/packages/torouter-web/debian/rules new file mode 100755 index 0000000..74439ab --- /dev/null +++ b/packages/torouter-web/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f +# -*- makefile -*- +#export DH_VERBOSE=1 + +%: + dh $@ diff --git a/packages/torouter-web/debian/source/format b/packages/torouter-web/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/packages/torouter-web/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/packages/torouter-web/debian/torouter-tui.default b/packages/torouter-web/debian/torouter-tui.default new file mode 100644 index 0000000..f0fa807 --- /dev/null +++ b/packages/torouter-web/debian/torouter-tui.default @@ -0,0 +1,10 @@ +# Defaults for torouter-web initscript +# sourced by /etc/init.d/torouter-web +# installed at /etc/default/torouter-web by the maintainer scripts + +# +# This is a POSIX shell fragment +# + +# When the package is configured - we set this accordingly +# ARGS="" -- cgit v1.2.3