--- libnet-proxy-perl-0.12.orig/debian/changelog +++ libnet-proxy-perl-0.12/debian/changelog @@ -0,0 +1,47 @@ +libnet-proxy-perl (0.12-6.1) unstable; urgency=medium + + * Non maintainer upload by the Reproducible Builds team. + * No source change upload to rebuild on buildd with .buildinfo files. + + -- Holger Levsen Mon, 04 Jan 2021 17:05:37 +0100 + +libnet-proxy-perl (0.12-6) unstable; urgency=low + + * Remove libwww-perl and libio-socket-ssl-perl from Build-Depends as changed + behavior regarding certificate validation makes build tests hang or fail. + Closes: #467345 + + -- Michael Ablassmeier Thu, 03 Oct 2013 22:09:06 +0200 + +libnet-proxy-perl (0.12-5) unstable; urgency=low + + * Move Conflicts Statement from Source to Package section + Should now Really (Closes: #550997) + + -- Michael Ablassmeier Sun, 18 Oct 2009 18:35:53 +0200 + +libnet-proxy-perl (0.12-4) unstable; urgency=low + + * Remove Bashism in Init script (Closes: #551145) + + -- Michael Ablassmeier Sat, 17 Oct 2009 18:37:05 +0200 + +libnet-proxy-perl (0.12-3) unstable; urgency=low + + * Conflict with sslh (Closes: #550997) + + -- Michael Ablassmeier Thu, 15 Oct 2009 21:26:51 +0200 + +libnet-proxy-perl (0.12-2) unstable; urgency=low + + * Mention sslh in package description (Closes: #528632) + * Bump Standards Version + * Provide init script for sslh, thanks to Alexandre (Closes: #529655) + + -- Michael Ablassmeier Sun, 11 Oct 2009 21:26:18 +0200 + +libnet-proxy-perl (0.12-1) unstable; urgency=low + + * Initial Release. (Closes: #448584) + + -- Michael Ablassmeier Sun, 11 Oct 2009 21:26:17 +0200 --- libnet-proxy-perl-0.12.orig/debian/compat +++ libnet-proxy-perl-0.12/debian/compat @@ -0,0 +1 @@ +5 --- libnet-proxy-perl-0.12.orig/debian/control +++ libnet-proxy-perl-0.12/debian/control @@ -0,0 +1,29 @@ +Source: libnet-proxy-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5.0.0), libmodule-build-perl +Build-Depends-Indep: perl (>= 5.8.8-11.1) +Maintainer: Michael Ablassmeier +Standards-Version: 3.8.0 +Homepage: http://search.cpan.org/dist/Net-Proxy/ + +Package: libnet-proxy-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, libwww-perl +Conflicts: sslh +Suggests: lsb-base (>= 3.0-6) +Description: Framework for proxying network connections in many ways + This module is a framework for creating various kinds of network + proxies in a very simple way. + . + A proxy is a program that transfer data across a network boundary between + a client and a server. Net::Proxy introduces the concept of "connectors", + which abstract the server part (connected to the client) and the client + part (connected to the server) of the proxy. + . + This makes it very easy to implement specific techniques to cross a + given network boundary, possibly by using a proxy on one side of the + network fence, and a reverse-proxy on the other side of the fence. + . + This package also provides the sslh SSH/HTTPS service multiplexer + written in perl. --- libnet-proxy-perl-0.12.orig/debian/copyright +++ libnet-proxy-perl-0.12/debian/copyright @@ -0,0 +1,21 @@ +This is the debian package for the Net-Proxy module. +It was created by Michael Ablassmeier + +It was downloaded from http://search.cpan.org/dist/Net-Proxy/ + +The upstream author is: Philippe Bruhat + +Copyright 2006-2007 Philippe 'BooK' Bruhat, All Rights Reserved. + +License: + + This program is free software; you can redistribute it and/or modify it under + the same terms as Perl itself. + + On Debian systems the complete text of the GPL and Artistic + licenses can be found at: + /usr/share/common-licenses/GPL and + /usr/share/common-licenses/Artistic + +The Debian packaging is (C) 2007, Michael Ablassmeier and +is licensed under the same terms as the software itself (see above) --- libnet-proxy-perl-0.12.orig/debian/libnet-proxy-perl.sslh.default +++ libnet-proxy-perl-0.12/debian/libnet-proxy-perl.sslh.default @@ -0,0 +1,8 @@ +# defaults file for sslh + +SSLH_ENABLE=false + +# what extra options to give sslh? +# usage: sslh [ -p [host:]port ] [ -t timeout ] +# [ --ssh [host:]port ] [ --ssl [host:]port ] +SSLH_OPTIONS='' --- libnet-proxy-perl-0.12.orig/debian/libnet-proxy-perl.sslh.init +++ libnet-proxy-perl-0.12/debian/libnet-proxy-perl.sslh.init @@ -0,0 +1,129 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: sslh +# Required-Start: $network $remote_fs +# Required-Stop: $network $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: sslh +# Description: Launch the SSH/HTTPS Service multiplexer +### END INIT INFO + +# Author: Alexandre Rossi + +# Do NOT "set -e" + +# PATH should only include /usr/* if it runs after the mountnfs.sh script +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="SSH/HTTPS service multiplexer" +NAME=sslh +DAEMON=/usr/bin/$NAME +INTERPRETER=/usr/bin/perl +PIDFILE=/var/run/$NAME.pid +SCRIPTNAME=/etc/init.d/$NAME + +# Exit if the package is not installed +[ -x "$DAEMON" ] || exit 0 + +# Read configuration variable file if it is present +[ -r /etc/default/$NAME ] && . /etc/default/$NAME + +# Exit if the service is disabled +[ "$SSLH_ENABLE" = "true" ] || exit 0 + +DAEMON_ARGS="$SSLH_OPTIONS" + +# Load the VERBOSE setting and other rcS variables +. /lib/init/vars.sh + +# Define LSB log_* functions. +# Depend on lsb-base (>= 3.0-6) to ensure that this file is present. +. /lib/lsb/init-functions + +do_start() +{ + # Return + # 0 if daemon has been started + # 1 if daemon was already running + # 2 if daemon could not be started + start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $INTERPRETER --test > /dev/null \ + || return 1 + start-stop-daemon --start --quiet --pidfile $PIDFILE -m -b --exec $DAEMON -- \ + $DAEMON_ARGS \ + || return 2 +} + +do_stop() +{ + # Return + # 0 if daemon has been stopped + # 1 if daemon was already stopped + # 2 if daemon could not be stopped + # other if a failure occurred + start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME + RETVAL="$?" + [ "$RETVAL" = 2 ] && return 2 + # Wait for children to finish too if this is a daemon that forks + # and if the daemon is only ever run from this initscript. + start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON + [ "$?" = 2 ] && return 2 + rm -f $PIDFILE + return "$RETVAL" +} + +do_status(){ + start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $INTERPRETER --test > /dev/null +} + +case "$1" in + start) + [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME" + do_start + case "$?" in + 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; + 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; + esac + ;; + stop) + [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME" + do_stop + case "$?" in + 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; + 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; + esac + ;; + restart|force-reload) + log_daemon_msg "Restarting $DESC" "$NAME" + do_stop + case "$?" in + 0|1) + do_start + case "$?" in + 0) log_end_msg 0 ;; + 1) log_end_msg 1 ;; # Old process is still running + *) log_end_msg 1 ;; # Failed to start + esac + ;; + *) + # Failed to stop + log_end_msg 1 + ;; + esac + ;; + status) + echo -n "Status of $DESC: " + do_status + if [ "$?" = 1 ]; then + echo "alive." + else + echo "dead." + exit 1 + fi + ;; + *) + echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2 + exit 3 + ;; +esac + +: --- libnet-proxy-perl-0.12.orig/debian/rules +++ libnet-proxy-perl-0.12/debian/rules @@ -0,0 +1,81 @@ +#!/usr/bin/make -f +# This debian/rules file is provided as a template for normal perl +# packages. It was created by Marc Brockschmidt for +# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may +# be used freely wherever it is useful. +# +# It was later modified by Jason Kohles +# http://www.jasonkohles.com/ to support Module::Build installed modules + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# If set to a true value then MakeMaker's prompt function will +# always return the default without waiting for user input. +export PERL_MM_USE_DEFAULT=1 + +PACKAGE=$(shell dh_listpackages) + +ifndef PERL +PERL = /usr/bin/perl +endif + +TMP =$(CURDIR)/debian/$(PACKAGE) + +build: build-stamp +build-stamp: + dh_testdir + + # Add commands to compile the package here + $(PERL) Build.PL installdirs=vendor + $(PERL) Build + $(PERL) Build test + + touch build-stamp + +clean: + dh_testdir + dh_testroot + + dh_clean build-stamp install-stamp + + # Add commands to clean up after the build process here + [ ! -f Build ] || $(PERL) Build distclean + +install: build install-stamp +install-stamp: + dh_testdir + dh_testroot + dh_clean -k + + # Add commands to install the package into debian/$PACKAGE_NAME here + $(PERL) Build install destdir=$(TMP) create_packlist=0 + + touch install-stamp + +binary-arch: build +# We have nothing to do here for an architecture-independent package + +build-arch: build +build-indep: build + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs README + dh_installexamples + dh_installchangelogs Changes + dh_installinit --name=sslh -u"start 16 2 3 4 5 . stop 84 1 ." + dh_perl + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary