debian/0000755000000000000000000000000012257503636007177 5ustar debian/miredo-server.install0000644000000000000000000000040312245607045013343 0ustar debian/tmp/usr/sbin/miredo-server debian/tmp/usr/share/man/man5/miredo-server.conf.5 debian/tmp/usr/share/man/man8/miredo-server.8 debian/tmp/usr/share/doc/miredo/examples/miredo-server.conf usr/share/doc/miredo-server/examples/ debian/miredo-server.conf etc/debian/rules0000755000000000000000000000116212245607045010253 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- override_dh_auto_configure: dh_auto_configure -- --enable-static --disable-shared \ --disable-binreloc --enable-miredo-user \ --disable-sample-conf --with-Judy --disable-assert override_dh_auto_clean: dh_auto_clean git checkout ChangeLog configure || true # restore files changed by build override_dh_install: rm -rf debian/tmp/usr/include rm -rf debian/tmp/usr/lib/*.*a dh_install override_dh_installdocs: dh_installdocs -A README TODO AUTHORS THANKS NEWS # disable test suite override_dh_auto_test: %: dh $@ --parallel --with=systemd debian/miredo-server.default0000644000000000000000000000053512245607045013327 0ustar # Defaults for miredo-server initscript # sourced by /etc/init.d/miredo-server # installed at /etc/default/miredo-server by the maintainer scripts # # This is a POSIX shell fragment # # Uncomment to start miredo-server on system startup #START_MIREDO_SERVER=true # Additional options that are passed to the Daemon. DAEMON_ARGS="-u miredo-server" debian/miredo.default0000644000000000000000000000045712245607045012026 0ustar # Defaults for miredo initscript # sourced by /etc/init.d/miredo # installed at /etc/default/miredo by the maintainer scripts # # This is a POSIX shell fragment # # Comment out not to start miredo on system startup START_MIREDO=true # Additional options that are passed to the Daemon. DAEMON_ARGS="" debian/miredo.links0000644000000000000000000000004712245607045011515 0ustar etc/miredo.conf etc/miredo/miredo.conf debian/miredo-server.links0000644000000000000000000000006512245607045013021 0ustar etc/miredo-server.conf etc/miredo/miredo-server.conf debian/source/0000755000000000000000000000000012245607045010473 5ustar debian/source/format0000644000000000000000000000001412245607045011701 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000043112245607045010222 0ustar # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 # http://www.remlab.net/files/miredo/miredo[\-\._]?(\d\S*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz) # Bart Martens Mon, 11 Mar 2013 20:27:43 +0000 debian/compat0000644000000000000000000000000212245607045010371 0ustar 9 debian/miredo-server.postrm0000644000000000000000000000016312245607045013224 0ustar #!/bin/sh set -e case "$1" in purge) userdel miredo-server 2>&1 >/dev/null || true ;; esac #DEBHELPER# debian/control0000644000000000000000000000344712245607045010606 0ustar Source: miredo Section: net Priority: optional Maintainer: Tomasz Buchert Build-Depends: dpkg-dev (>= 1.13.2), debhelper (>= 9), autotools-dev, automake (>= 1.11), libtool, autopoint, libjudy-dev, libcap2-dev [linux-any], dh-systemd (>= 1.4) Standards-Version: 3.9.5 Homepage: http://www.remlab.net/miredo/ Vcs-Git: git://anonscm.debian.org/collab-maint/miredo.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/miredo.git Package: miredo Architecture: any Pre-Depends: adduser, udev [linux-any] | makedev (>= 2.3.1-62) [linux-any] Depends: ${shlibs:Depends}, ${misc:Depends}, iproute [linux-any], freebsd-net-tools [kfreebsd-any] Description: Teredo IPv6 tunneling through NATs The Teredo IPv6 tunneling protocol encapsulates IPv6 packets into UDP/IPv4 datagrams, to allow hosts behind NAT devices to access the IPv6 Internet. . Miredo is a Teredo client (as per RFC 4380): it can provide IPv6 connectivity to a dual-stack IPv6/IPv4 host even if it is located behind a NAT. It can also operate as a Teredo relay which forwards IPv6 packets between the IPv6 Internet and remote Teredo clients. Package: miredo-server Priority: extra Architecture: any Pre-Depends: adduser Depends: ${shlibs:Depends}, ${misc:Depends} Conflicts: miredo (<< 1.0.4-2) Suggests: miredo (= ${binary:Version}) Description: Teredo IPv6 tunneling server The Teredo IPv6 tunneling protocol encapsulates IPv6 packets into UDP/IPv4 datagrams, to allow hosts behind NAT devices to access the IPv6 Internet. . Miredo-server provides a Teredo server. Teredo servers help Teredo clients determine their NAT configuration, maintain their NAT binding, and perform hole punching when transmitting IPv6 packets to other Teredo clients and/or Teredo relays. debian/copyright0000644000000000000000000000436012245607045011131 0ustar This package was debianized by Rémi Denis-Courmont on Fri, 9 Jun 2006 20:36:38 +0300. It was downloaded from http://www.remlab.net/miredo/ Upstream Author: Rémi Denis-Courmont Copyright: (c) 2002-2009 Rémi Denis-Courmont (c) 1999, 2000, 2002 Aladdin Enterprises. License: 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. The Debian packaging was done by (C) 2006, Rémi Denis-Courmont and by (C) 2013 Tomasz Buchert and is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'. The included MD5 implementation is Copyright (C) 1999, 2000, 2002 Aladdin Enterprises. All rights reserved. This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. debian/miredo-server.conf0000644000000000000000000000030712245607045012625 0ustar # Please refer to the miredo-server.conf(5) manpage for details. # Server primary IPv4 address. # Miredo will open UDP port 3544 on this IPv4 address and the next one. ServerBindAddress 192.0.2.221 debian/miredo.if-up0000644000000000000000000000133112245607045011412 0ustar #! /bin/sh # Reload Miredo when an interface comes up set -e # Don't bother to reload when lo is configured. if [ "$IFACE" = lo ]; then exit 0 fi # Only run from ifup. if [ "$MODE" != start ]; then exit 0 fi # Miredo only cares about (underlying) IPv4 interfaces. #if [ "$ADDRFAM" != inet ]; then # exit 0 #fi # Actually, due to this bug: # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=475188 # exclude IPX and IPv6 explicitly instead. if [ "$ADDRFAM" = "ipx" ] || [ "$ADDRFAM" = "inet6" ]; then exit 0 fi # Is /usr mounted? if [ ! -e /usr/sbin/miredo ]; then exit 0 fi # Is the miredo service running? if ! invoke-rc.d --quiet miredo status >/dev/null; then exit 0 fi invoke-rc.d --quiet miredo reload || true debian/miredo.install0000644000000000000000000000102712245607045012042 0ustar debian/tmp/etc/miredo/client-hook debian/tmp/usr/bin/teredo-mire debian/tmp/usr/sbin/miredo debian/tmp/usr/sbin/miredo-checkconf debian/tmp/usr/share/locale/*/*/*.mo debian/tmp/usr/share/man/man1/teredo-mire.1 debian/tmp/usr/share/man/man5/miredo.conf.5 debian/tmp/usr/share/man/man8/miredo.8 debian/tmp/usr/share/man/man8/miredo-checkconf.8 debian/tmp/usr/share/doc/miredo/examples/miredo.conf debian/tmp/usr/lib/*/miredo/miredo-privproc debian/tmp/usr/lib/*/systemd/system/miredo.service lib/systemd/system/ debian/miredo.conf etc/ debian/miredo-server.init0000644000000000000000000000450512245607045012647 0ustar #! /bin/sh # $Id: miredo-server.init 240 2010-01-30 20:38:04Z remi $ # # miredo-server start/stop script for Debian GNU/Linux # Author: Rémi Denis-Courmont # # chkconfig: 345 17 83 # description: Starts and stops the miredo-server daemon \ # used to provide a Teredo server. # ### BEGIN INIT INFO # Provides: miredo-server # Required-Start: $local_fs $remote_fs $network $syslog $time # Required-Stop: $local_fs $remote_fs $syslog # Short-Description: Teredo server # Description: miredo-server daemon to provide a Teredo server # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 ### END INIT INFO PATH=/usr/sbin:/usr/bin:/sbin:/bin DESC="Teredo server daemon" NAME=miredo-server DAEMON=/usr/sbin/$NAME DAEMON_ARGS="" PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/$NAME [ -x "$DAEMON" ] || exit 0 # Source defaults. [ -r /etc/default/$NAME ] && . /etc/default/$NAME # Ensure configuration is readable. [ -r /etc/miredo/$NAME.conf ] || exit 0 . /lib/lsb/init-functions check_start() { if [ "x$START_MIREDO_SERVER" != "xtrue" ]; then echo "START_MIREDO_SERVER is set to false in /etc/default/$NAME" echo "$DAEMON not starting" exit 0 fi if [ -e /proc/sys/kernel/modprobe ]; then `cat /proc/sys/kernel/modprobe` ipv6 2>/dev/null fi } check_chroot_dir() { if ! [ -d "/var/run/$NAME" ]; then mkdir -p "/var/run/$NAME" chmod 0755 "/var/run/$NAME" fi } case "$1" in start|force-start) [ "x$1" = "xforce-start" ] && START_MIREDO_SERVER=true check_start check_chroot_dir log_daemon_msg "Starting $DESC" "$NAME" start-stop-daemon --start --quiet --pidfile "$PIDFILE" \ --exec "$DAEMON" --oknodo -- $DAEMON_ARGS log_end_msg $? ;; stop|force-stop) log_daemon_msg "Stopping $DESC" "$NAME" start-stop-daemon --stop --quiet --pidfile "$PIDFILE" \ --retry 1 --oknodo log_end_msg $? ;; reload|force-reload) log_daemon_msg "Reloading $DESC" "$NAME" start-stop-daemon --stop --signal 1 --quiet --pidfile "$PIDFILE" \ --exec "$DAEMON" log_end_msg $? ;; restart) check_start # avoid stopping if would not restart $0 stop sleep 1 $0 start ;; status) status_of_proc -p "$PIDFILE" "$DAEMON" "$NAME" && exit 0 || exit $? ;; *) echo "Usage: $SCRIPTNAME {start|force-start|stop|force-stop|restart|reload|force-reload|status}" >&2 exit 1 ;; esac exit $? debian/miredo.postrm0000644000000000000000000000015412245607045011720 0ustar #!/bin/sh set -e case "$1" in purge) userdel miredo 2>&1 >/dev/null || true ;; esac #DEBHELPER# debian/patches/0000755000000000000000000000000012257274424010626 5ustar debian/patches/0001-Fix-to-bug-733154.patch0000644000000000000000000000136112257274635014717 0ustar From: Tomasz Buchert Subject: There is a small typo in upstream service file. This patch fixes only one byte that causes a problem. Bug-Debian: http://bugs.debian.org/634451 --- misc/miredo.service-in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/miredo.service-in b/misc/miredo.service-in index 6b52def..fd8f374 100644 --- a/misc/miredo.service-in +++ b/misc/miredo.service-in @@ -3,7 +3,7 @@ Description=Teredo IPv6 tunneling After=network.target [Service] -ExecStartpre=@sbindir@/miredo-checkconf -f @sysconfdir@/miredo/miredo.conf +ExecStartPre=@sbindir@/miredo-checkconf -f @sysconfdir@/miredo/miredo.conf ExecStart=@sbindir@/miredo -f ExecReload=/bin/kill -HUP $MAINPID -- 1.8.5.1 debian/patches/series0000644000000000000000000000003512257274424012041 0ustar 0001-Fix-to-bug-733154.patch debian/changelog0000644000000000000000000001447212257275163011062 0ustar miredo (1.2.6-2) unstable; urgency=medium * Fixed Vcs urls * Added "status" to mired-server init.d * Bumped standards version to 3.9.5 * Added a patch fixing systemd service file (Closes: #733154) -- Tomasz Buchert Fri, 27 Dec 2013 14:01:01 +0100 miredo (1.2.6-1) unstable; urgency=low * Change of maintainers (Closes: #713005) * Change to git-buildpackage and friends * Building with dh * Uploaded versions 1.2.4 - 1.2.6 to git (Closes: #685277) * Systemd support (Closes: #635749) * Fix lintian --pedantic warnings * Many minor fixes (by Rémi D-C): + Standards version 3.9.4 + Use *-any syntax for conditional dependencies (Closes: #634384) + Add 'status' command to initscript (Closes: #651474) + Update miredo.if-up -- Tomasz Buchert Tue, 30 Jul 2013 23:01:51 +0200 miredo (1.2.3-1.1) unstable; urgency=low * Non-maintainer upload. + Based entirely on work by the maintainer. * Fix build failure with newer automakes (Closes: #660488) * use_pkglibexec.patch: Use pkglibexec instead of pkglib for PROGRAMS -- Raphael Geissert Thu, 18 Oct 2012 18:20:19 -0500 miredo (1.2.3-1) unstable; urgency=low * New upstream version: - drop merged closefrom() FreeBSD patch. * Build-Depend on autopoint (Closes: #572475) instead of gettext and cvs. * Switch to dpkg-source 3.0 (quilt) format. -- Rémi Denis-Courmont Thu, 04 Mar 2010 17:28:08 +0200 miredo (1.2.2-1) unstable; urgency=low * New upstream version: - fixes signal handling (Closes: #554577) (LP: #485377). - drop merged libfreebsd-dev libtun6 patch. * Update my mail address and copyright statements. * Backport FreeBSD >= 7.2 fix from 1.2-stable branch. * Run autoreconf before build (Closes: #558583). * Build-Depend on automake and cvs as autoreconf requires both. * Fix closefrom() usage (returns void on FreeBSD) in src/main.c (backported from upstream 91ae0afe2cda419a733699a0479021882ea950aa) * Update standards version to 3.8.4. -- Rémi Denis-Courmont Tue, 02 Feb 2010 23:17:25 +0200 miredo (1.2.1-1) unstable; urgency=low * New upstream version. * Initscript handles force-start and force-stop (Closes: #538290) (Patch by Jakob Haufe). * Fix miredo-server runlevels (Closes: #541225) (Patch by Petter Reinholdtsen). * Put udev before makedev as pre-dependency (Closes: #546881). * Remove /var/run subdirectories from the packages. * Update standards version to 3.8.3. * Make the package installable on FreeBSD kernel (Closes: #550114). * Remove legacy libfreebsd-dev dependency (Closes: #552603). * Fix LSB initscripts Provides statements to match package names. * Reload miredo when an IPv4 interface is brought up (LP: #304958). -- Rémi Denis-Courmont Wed, 21 Oct 2009 21:38:02 +0300 miredo (1.1.5-2) unstable; urgency=low * Remove bogus chkconfig entries from initscript. * Initscript does not need $time (miredo does not use the RTC anymore). * Initscript starts at runlevel 2, consistent with postinst script. * Initscript Provides not empty. * Switch to libcap2-dev (Closes: #492633). * Switch to debhelper compatibility level 7. * Update standards version to 3.8.0. -- Rémi Denis-Courmont Sat, 16 Aug 2008 16:27:26 +0300 miredo (1.1.5-1) unstable; urgency=low * New upstream release fixes signal handling and script. * Added Homepage field to debian/control. * Fix inverted check for /var/run subdirectory creation in initscript. * Update to standards version 3.7.3. * Fix initscript start levels and missing stop levels. -- Rémi Denis-Courmont Wed, 16 Jan 2008 19:17:26 +0200 miredo (1.1.3-1) unstable; urgency=low * New upstream release fixes reachability issues. * Add iproute dependency (Closes: #445052). -- Rémi Denis-Courmont Tue, 16 Oct 2007 19:36:34 +0300 miredo (1.1.2-1) unstable; urgency=low * New upstream release (Closes: #441842): - merge or supersede all fixes from 1.0.4-2, - restore "cone" relay type (Closes: #404365), - should fix arm padding bug (Closes: #440539). * Update upstream website URL. * Depends on libfreebsd-dev on kfreebsd-* for devname_r(). * Added XS-Vcs-Svn field. * Update to standards version 3.7.2.2. * Switch to new binNMU-safe substitution variables. * Allow udev as an alternative to makedev (Closes: #428221). * Try to load tun and ipv6 modules automatically if applicable. -- Rémi Denis-Courmont Mon, 13 Sep 2007 21:00:28 +0200 miredo (1.0.4-2) unstable; urgency=medium * Disable testsuite everywhere because it includes load-sensitive tests. * Merge various fixes from upstream Subversion: - typo in miredo.conf.5 (r1805) - note about dangerous settings in miredo-server.conf.5 (r1815) - fix for insufficient hop limit in Teredo bubbles (r1822) - fix symmetric NAT detection (r1868) - s/#warn/#warning (r1882) showing up on Hurd - fix possible Teredo client spoofing vulnerability (r1884) Closes: #405111, Closes: #405412 * Use time() whenever needed instead of unsafe/badly broken 1Hz clock, though this degrades performance slightly. * Do not send "direct" Teredo bubble when run as a Teredo relay to improve compatibility with Linux/NetFilter (incl. Debian-based NATs); see #404365. -- Rémi Denis-Courmont Sat, 30 Dec 2006 22:47:29 +0100 miredo (1.0.4-1) unstable; urgency=medium * New upstream release fixes packet storm (closes: #391611). * Fix exclusion of libcap-dev from Build-Depends on kFreeBSD. * Disable testsuite on hppa. * Use Debian-specific name for default Teredo server. -- Rémi Denis-Courmont Sun, 8 Oct 2006 13:12:00 +0300 miredo (1.0.3-1) unstable; urgency=low * New upstream version (closes: #390846). * Create /dev/net/tun (as per Debian Policy Manual §10.6). * Make sure /dev/net/tun is present before starting miredo. * Start miredo by default (closes: #390771). -- Rémi Denis-Courmont Wed, 4 Oct 2006 22:40:50 +0300 miredo (1.0.2-1) unstable; urgency=low * Initial Debian package (closes: #338128). -- Rémi Denis-Courmont Tue, 22 Aug 2006 18:07:47 +0300 debian/miredo-server.postinst0000644000000000000000000000131212245607045013560 0ustar #!/bin/sh set -e case "$1" in configure) if ! getent passwd miredo-server >/dev/null; then adduser --quiet --system --home /var/run/miredo-server --no-create-home miredo-server fi ;; esac # Those using dependency based boot sequencing and installing # miredo-server before version 1.1.5-2 would miss # the runlevel 2 start symlink. Recover from this. if [ "$1" = "configure" ] \ && dpkg --compare-versions "$2" le "1.1.5-2" \ && [ -f /etc/rc2.d/K[0-9][0-9]miredo-server ] \ && [ -f /etc/rc3.d/S[0-9][0-9]miredo-server ] \ && [ -f /etc/rc4.d/S[0-9][0-9]miredo-server ] \ && [ -f /etc/rc5.d/S[0-9][0-9]miredo-server ] then update-rc.d -f miredo-server remove fi #DEBHELPER# debian/miredo.conf0000644000000000000000000000041012245607045011314 0ustar # Please refer to the miredo.conf(5) man page for details. InterfaceName teredo # Pick a Teredo server: #ServerAddress teredo.ipv6.microsoft.com ServerAddress teredo-debian.remlab.net # Some firewall/NAT setups require a specific UDP port number: #BindPort 3545 debian/miredo.postinst0000644000000000000000000000052512245607045012261 0ustar #!/bin/sh set -e case "$1" in configure) if ! getent passwd miredo >/dev/null; then adduser --quiet --system --home /var/run/miredo --no-create-home miredo fi if [ ! -e /dev/net/tun ]; then echo "Creating required /dev/net/tun device file..." (cd /dev; ./MAKEDEV tun) || true fi ;; esac #DEBHELPER# debian/miredo.init0000644000000000000000000000546112245607045011345 0ustar #! /bin/sh # $Id: miredo.init 240 2010-01-30 20:38:04Z remi $ # # miredo start/stop script for Debian GNU/Linux # Author: Rémi Denis-Courmont # ### BEGIN INIT INFO # Provides: miredo # Required-Start: $local_fs $remote_fs $network $syslog # Required-Stop: $local_fs $remote_fs $syslog # Short-Description: Teredo IPv6 tunnel # Description: Miredo daemon for tunneling of IPv6 through NAT # within UDP/IPv4, as specified by the Teredo mechanism. # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 ### END INIT INFO PATH=/usr/sbin:/usr/bin:/sbin:/bin DESC="Teredo IPv6 tunneling daemon" NAME=miredo DAEMON=/usr/sbin/$NAME DAEMON_ARGS="" PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/$NAME CHECKCONF="${DAEMON}-checkconf" [ -x "$DAEMON" ] || exit 0 # Source defaults. [ -r /etc/default/$NAME ] && . /etc/default/$NAME # Ensure configuration is readable. [ -r /etc/miredo/$NAME.conf ] || exit 0 . /lib/lsb/init-functions check_start() { if [ "x$START_MIREDO" != "xtrue" ]; then echo "START_MIREDO is set to false in /etc/default/$NAME." echo "$DAEMON not starting." exit 0 fi if [ `uname -s` = Linux ]; then if [ -e /proc/sys/kernel/modprobe ]; then `cat /proc/sys/kernel/modprobe` tun 2>/dev/null `cat /proc/sys/kernel/modprobe` ipv6 2>/dev/null fi if [ ! -e /dev/net/tun ]; then echo "/dev/net/tun does not exist." echo "$DAEMON cannot be started." exit 0 fi elif [ `uname -s` = GNU/kFreeBSD ]; then if ! kldstat | grep if_tun; then kldload if_tun fi fi } check_conf_file() { # FIXME: should use DAEMON_ARGS as set when the daemon was started if ! "$CHECKCONF" $DAEMON_ARGS; then echo "Cannot reload miredo: fix /etc/miredo/$NAME.conf first." exit 1 fi } check_chroot_dir() { if ! [ -d "/var/run/$NAME" ]; then mkdir -p "/var/run/$NAME" chmod 0755 "/var/run/$NAME" fi } case "$1" in start|force-start) [ "x$1" = "xforce-start" ] && START_MIREDO=true check_start check_chroot_dir log_daemon_msg "Starting $DESC" "$NAME" start-stop-daemon --start --quiet --pidfile "$PIDFILE" \ --exec "$DAEMON" --oknodo -- $DAEMON_ARGS log_end_msg $? ;; stop|force-stop) log_daemon_msg "Stopping $DESC" "$NAME" start-stop-daemon --stop --quiet --pidfile "$PIDFILE" \ --retry 1 --oknodo log_end_msg $? ;; reload|force-reload) check_conf_file log_daemon_msg "Reloading $DESC" "$NAME" start-stop-daemon --stop --signal 1 --quiet --pidfile "$PIDFILE" \ --exec "$DAEMON" log_end_msg $? ;; restart) check_start # avoid stopping if would not restart check_conf_file $0 stop sleep 1 $0 start ;; status) status_of_proc -p "$PIDFILE" "$DAEMON" "$NAME" && exit 0 || exit $? ;; *) echo "Usage: $SCRIPTNAME {start|force-start|stop|force-stop|restart|reload|force-reload|status}" >&2 exit 1 ;; esac exit $? debian/miredo.dirs0000644000000000000000000000003312245607045011331 0ustar etc/network/if-up.d var/rundebian/miredo-server.dirs0000644000000000000000000000005512245607045012641 0ustar usr/share/doc/miredo-server/examples var/run