--- wzdftpd-0.7.2.orig/debian/wzdftpd-mod-tcl.dirs +++ wzdftpd-0.7.2/debian/wzdftpd-mod-tcl.dirs @@ -0,0 +1 @@ +usr/lib/wzdftpd/modules --- wzdftpd-0.7.2.orig/debian/wzdftpd.postinst +++ wzdftpd-0.7.2/debian/wzdftpd.postinst @@ -0,0 +1,105 @@ +#!/bin/sh + +set -e + +# Source debconf library. +. /usr/share/debconf/confmodule + +# helper functions + +replace_file () { + file=$1 + if [ ! -f ${file} ] ; then + mv ${file}.wzdftpd-new ${file} + else + cp $file ${file}.wzdftpd-old + ucf --three-way --debconf-ok ${file}.wzdftpd-new $file + fi +} + +do_update () { + file=$1 + if diff -q ${file} ${file}.wzdftpd-new >/dev/null 2>&1; then + # Old file and new file are identical + rm -f ${file}.wzdftpd-new + else + replace_file $file + fi +} + + +# real config + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# + +CONF="/etc/wzdftpd/wzd.cfg" +CONF_NEW="/etc/wzdftpd/wzd.cfg.wzdftpd-new" + +PID_DIR=/var/run/wzdftpd + +if [ "$1" != "configure" ]; then + exit 0 +fi + +if [ "$1" = "configure" ]; then + + # merge configuration + cp /usr/share/wzdftpd/files/wzd.cfg.sample $CONF_NEW + sed -e "s|^#pid_file[[:space:]]*=[[:space:]]*.*|pid_file = $PID_DIR/wzdftpd.pid|" $CONF_NEW >$CONF_NEW.wzdconf + chmod --reference=$CONF_NEW $CONF_NEW.wzdconf + mv $CONF_NEW.wzdconf $CONF_NEW + + do_update $CONF + + if [ ! -f /etc/wzdftpd/users ]; then + cp /usr/share/wzdftpd/files/users.sample /etc/wzdftpd/users + fi +fi + +# the following will be used to run the server as a non-privileged user +# # extract PID_DIR from config +# if [ ! -d $PID_DIR ]; then +# mkdir $PID_DIR +# fi +# if (id ftp >/dev/null 2>/dev/null) ; then +# chown ftp $PID_DIR +# fi +# + +case "$1" in + configure) + + ldconfig + + ;; + + 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# + +# Don't wait on wzdftpd to close file handles +db_stop + +exit 0 + --- wzdftpd-0.7.2.orig/debian/wzdftpd-mod-tcl.install +++ wzdftpd-0.7.2/debian/wzdftpd-mod-tcl.install @@ -0,0 +1 @@ +usr/lib/wzdftpd/modules/libwzd_tcl.so --- wzdftpd-0.7.2.orig/debian/wzdftpd-back-pgsql.dirs +++ wzdftpd-0.7.2/debian/wzdftpd-back-pgsql.dirs @@ -0,0 +1 @@ +usr/lib/wzdftpd/backends --- wzdftpd-0.7.2.orig/debian/wzdftpd.install +++ wzdftpd-0.7.2/debian/wzdftpd.install @@ -0,0 +1,14 @@ +etc/* +usr/sbin/wzdftpd +usr/bin/site* +usr/lib/libwzd_core.so.* +usr/lib/libwzd.so.* +usr/lib/wzdftpd/backends/libwzdplaintext.so +usr/lib/wzdftpd/backends/libwzdpam.so +usr/lib/wzdftpd/modules/libwzd_debug.so +usr/lib/wzdftpd/modules/libwzd_sfv.so +usr/share/doc/wzdftpd/* +usr/share/man/man1/siteconfig.1 +usr/share/man/man1/siteuptime.1 +usr/share/man/man1/sitewho.1 +usr/share/man/man8/wzdftpd.8 --- wzdftpd-0.7.2.orig/debian/wzdftpd.overrides +++ wzdftpd-0.7.2/debian/wzdftpd.overrides @@ -0,0 +1,2 @@ +wzdftpd: package-name-doesnt-match-sonames libwzd0 libwzd-core0 +wzdftpd: package-name-doesnt-match-sonames libwzd-core0 libwzd0 --- wzdftpd-0.7.2.orig/debian/wzdftpd-back-pgsql.install +++ wzdftpd-0.7.2/debian/wzdftpd-back-pgsql.install @@ -0,0 +1 @@ +usr/lib/wzdftpd/backends/libwzdpgsql.so --- wzdftpd-0.7.2.orig/debian/wzdftpd-mod-perl.install +++ wzdftpd-0.7.2/debian/wzdftpd-mod-perl.install @@ -0,0 +1,3 @@ +usr/lib/wzdftpd/modules/libwzd_perl.so +usr/lib/perl5 +usr/share/man/man3/wzdftpd.3pm --- wzdftpd-0.7.2.orig/debian/wzdftpd-mod-avahi.install +++ wzdftpd-0.7.2/debian/wzdftpd-mod-avahi.install @@ -0,0 +1 @@ +usr/lib/wzdftpd/modules/libwzd_zeroconf.so --- wzdftpd-0.7.2.orig/debian/copyright +++ wzdftpd-0.7.2/debian/copyright @@ -0,0 +1,18 @@ +This package was debianized by pollux on +Wed, 28 May 2003 21:32:13 +0200. + +It was downloaded from http://www.wzdftpd.net + +Copyright: + +This software is copyright (c) 2002-03 by Pierre Chifflier. + +You are free to distribute this software under the terms of +the GNU General Public License. +On Debian systems, the complete text of the GNU General Public +License can be found in the file `/usr/share/common-licenses/GPL'. + +As a special exemption, Pierre Chifflier and other respective +copyright holders give permission to link this program with OpenSSL, +and distribute the resulting executable, without including the source +code for OpenSSL in the source distribution. --- wzdftpd-0.7.2.orig/debian/wzdftpd-mod-avahi.prerm +++ wzdftpd-0.7.2/debian/wzdftpd-mod-avahi.prerm @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +if [ "$1" != "remove" ] && ["$1" != "purge" ]; then + exit 0 +fi + +CONFIG=/etc/wzdftpd/wzd.cfg + +if [ -f $CONFIG ]; then + grep -v "^module[[:space:]]*=[[:space:]]*.*libwzd_avahi.so" $CONFIG > $CONFIG.avahiremove + + chmod --reference=$CONFIG $CONFIG.avahiremove + mv $CONFIG.avahiremove $CONFIG +fi + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- wzdftpd-0.7.2.orig/debian/wzdftpd-dev.install +++ wzdftpd-0.7.2/debian/wzdftpd-dev.install @@ -0,0 +1,7 @@ +usr/lib/libwzd*a +usr/lib/libwzd.so +usr/lib/libwzd_core.so +usr/include/* +usr/bin/wzd-config +usr/lib/aclocal/wzd.m4 +usr/share/man/man1/wzd-config.1 --- wzdftpd-0.7.2.orig/debian/wzdftpd-back-mysql.install +++ wzdftpd-0.7.2/debian/wzdftpd-back-mysql.install @@ -0,0 +1 @@ +usr/lib/wzdftpd/backends/libwzdmysql.so --- wzdftpd-0.7.2.orig/debian/wzdftpd.templates +++ wzdftpd-0.7.2/debian/wzdftpd.templates @@ -0,0 +1,9 @@ +Template: wzdftpd/upgrade +Type: note +_Description: Upgrading + The format of the config file has changed in version 0.6.0, and is not + compatible with previous version. + . + You must create a new config file. See /usr/share/doc/wzdftpd/examples for + an example. + --- wzdftpd-0.7.2.orig/debian/wzdftpd-dev.examples +++ wzdftpd-0.7.2/debian/wzdftpd-dev.examples @@ -0,0 +1,2 @@ +modules/test/libwzd_test.c +modules/test/Makefile.test --- wzdftpd-0.7.2.orig/debian/wzdftpd-dev.dirs +++ wzdftpd-0.7.2/debian/wzdftpd-dev.dirs @@ -0,0 +1 @@ +usr/include/wzdftpd --- wzdftpd-0.7.2.orig/debian/wzdftpd-mod-tcl.prerm +++ wzdftpd-0.7.2/debian/wzdftpd-mod-tcl.prerm @@ -0,0 +1,26 @@ +#!/bin/sh + +set -e + +if [ "$1" != "remove" ] && ["$1" != "purge" ]; then + exit 0 +fi + +CONFIG=/etc/wzdftpd/wzd.cfg + +if [ -f $CONFIG ]; then + grep -v "^module[[:space:]]*=[[:space:]]*.*libwzd_tcl.so" $CONFIG > $CONFIG.tclremove + + # we keep site_tcl*, as they can be customized by user + + chmod --reference=$CONFIG $CONFIG.tclremove + mv $CONFIG.tclremove $CONFIG +fi + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- wzdftpd-0.7.2.orig/debian/init.d +++ wzdftpd-0.7.2/debian/init.d @@ -0,0 +1,76 @@ +#! /bin/sh +# +# skeleton example file to build /etc/init.d/ scripts. +# This file should be used to construct scripts for /etc/init.d. +# +# Written by Miquel van Smoorenburg . +# Modified for Debian +# by Ian Murdock . +# +# Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cistron.nl +# + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/wzdftpd +NAME=wzdftpd +DESC=wzdftpd + +test -x $DAEMON || exit 0 + +# Include wzdftpd defaults if available +if [ -f /etc/default/wzdftpd ] ; then + . /etc/default/wzdftpd +fi + +if [ -n "$CONFIG" ]; then + DAEMON_OPTS="$DAEMON_OPTS -f $CONFIG" +fi + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon --start --quiet \ + --pidfile /var/run/$NAME/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS + echo "$NAME." + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/$NAME/$NAME.pid + echo "$NAME." + ;; + reload) + # + # If the daemon can reload its config files on the fly + # for example by sending it SIGHUP, do it here. + # + # If the daemon responds to changes in its config file + # directly anyway, make this a do-nothing entry. + # + echo "Reloading $DESC configuration files." + start-stop-daemon --stop --signal 1 --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON + ;; + restart|force-reload) + # + # If the "reload" option is implemented, move the "force-reload" + # option to the "reload" entry above. If not, "force-reload" is + # just the same as "restart". + # + echo -n "Restarting $DESC: " + start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/$NAME/$NAME.pid + sleep 3 + start-stop-daemon --start --quiet \ + --pidfile /var/run/$NAME/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS + echo "$NAME." + ;; + *) + N=/etc/init.d/$NAME + # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $N {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 --- wzdftpd-0.7.2.orig/debian/compat +++ wzdftpd-0.7.2/debian/compat @@ -0,0 +1 @@ +4 --- wzdftpd-0.7.2.orig/debian/wzdftpd-mod-tcl.postinst +++ wzdftpd-0.7.2/debian/wzdftpd-mod-tcl.postinst @@ -0,0 +1,29 @@ +#!/bin/sh + +set -e + +CONFIG=/etc/wzdftpd/wzd.cfg + +if [ "$1" != "configure" ]; then + exit 0 +fi + +if [ -f $CONFIG ]; then + if ! grep -q "^module[[:space:]]*=[[:space:]]*.*libwzd_tcl.so" $CONFIG + then + echo "module = /usr/lib/wzdftpd/modules/libwzd_tcl.so" >> $CONFIG + + if ! grep -q "^-site_tcl.*" $CONFIG + then + echo "-site_tcl = +O" >> $CONFIG + fi + fi +fi + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- wzdftpd-0.7.2.orig/debian/wzdftpd-back-mysql.dirs +++ wzdftpd-0.7.2/debian/wzdftpd-back-mysql.dirs @@ -0,0 +1 @@ +usr/lib/wzdftpd/backends --- wzdftpd-0.7.2.orig/debian/wzdftpd-default +++ wzdftpd-0.7.2/debian/wzdftpd-default @@ -0,0 +1,10 @@ +# Defaults for wzdftpd initscript +# sourced by /etc/init.d/wzdftpd +# installed at /etc/default/wzdftpd by the maintainer scripts + +# +# This is a POSIX shell fragment +# + +# Additional options that are passed to the Daemon. +DAEMON_OPTS="-f /etc/wzdftpd/wzd.cfg" --- wzdftpd-0.7.2.orig/debian/wzdftpd-mod-perl.postinst +++ wzdftpd-0.7.2/debian/wzdftpd-mod-perl.postinst @@ -0,0 +1,29 @@ +#!/bin/sh + +set -e + +CONFIG=/etc/wzdftpd/wzd.cfg + +if [ "$1" != "configure" ]; then + exit 0 +fi + +if [ -f $CONFIG ]; then + if ! grep -q "^module[[:space:]]*=[[:space:]]*.*libwzd_perl.so" $CONFIG + then + echo "module = /usr/lib/wzdftpd/modules/libwzd_perl.so" >> $CONFIG + + if ! grep -q "^-site_perl.*" $CONFIG + then + echo "-site_perl = +O" >> $CONFIG + fi + fi +fi + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- wzdftpd-0.7.2.orig/debian/wzdftpd-back-mysql.examples +++ wzdftpd-0.7.2/debian/wzdftpd-back-mysql.examples @@ -0,0 +1,2 @@ +backends/mysql/tables.sql +backends/mysql/dropall.sql --- wzdftpd-0.7.2.orig/debian/wzdftpd-mod-perl.prerm +++ wzdftpd-0.7.2/debian/wzdftpd-mod-perl.prerm @@ -0,0 +1,26 @@ +#!/bin/sh + +set -e + +if [ "$1" != "remove" ] && ["$1" != "purge" ]; then + exit 0 +fi + +CONFIG=/etc/wzdftpd/wzd.cfg + +if [ -f $CONFIG ]; then + grep -v "^module[[:space:]]*=[[:space:]]*.*libwzd_perl.so" $CONFIG > $CONFIG.perlremove + + # we keep site_perl*, as they can be customized by user + + chmod --reference=$CONFIG $CONFIG.perlremove + mv $CONFIG.perlremove $CONFIG +fi + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- wzdftpd-0.7.2.orig/debian/wzdftpd.postrm +++ wzdftpd-0.7.2/debian/wzdftpd.postrm @@ -0,0 +1,49 @@ +#! /bin/sh +# postrm script for wzdftpd +# +# 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' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +if [ "$1" = "remove" ]; then + ldconfig +fi + +case "$1" in + + purge) + rm -f /etc/wzdftpd/users /etc/wzdftpd/users.OLD + rm -f /etc/wzdftpd/wzd.cfg + rm -f /etc/wzdftpd/wzd.cfg.wzdftpd-old /etc/wzdftpd/wzd.cfg.wzdftpd-new /etc/wzdftpd/wzd.cfg.dpkg-dist + + ;; + + 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 --- wzdftpd-0.7.2.orig/debian/changelog +++ wzdftpd-0.7.2/debian/changelog @@ -0,0 +1,202 @@ +wzdftpd (0.7.2-4) unstable; urgency=low + + * Generate shlibs during build + + -- Pierre Chifflier Tue, 4 Jul 2006 16:10:57 +0200 + +wzdftpd (0.7.2-3) unstable; urgency=low + + * Enable avahi support (Closes: #348004) + + -- Pierre Chifflier Fri, 2 Jun 2006 10:06:56 +0200 + +wzdftpd (0.7.2-2) unstable; urgency=low + + * Make backends depends on wzdftpd (Closes: #366967) + * Remove backups of config on purge (Closes: #361380) + + -- Pierre Chifflier Wed, 31 May 2006 10:08:10 +0200 + +wzdftpd (0.7.2-1) unstable; urgency=low + + * New upstream release + * Updated Standard Version to 3.7.2 + + -- Pierre Chifflier Tue, 30 May 2006 17:10:43 +0200 + +wzdftpd (0.7.0-2) unstable; urgency=low + + * Use a pid file (really close #349003) + + -- Pierre Chifflier Thu, 13 Apr 2006 14:42:38 +0200 + +wzdftpd (0.7.0-1) unstable; urgency=low + + * New upstream release + + -- Pierre Chifflier Tue, 06 Apr 2006 17:04:19 +0100 + +wzdftpd (0.6.1-2) unstable; urgency=low + + * Use a pid file (Closes: #349003) + * Templates translation: + + French (Closes: #349903) + + Czech (Closes: #353374) + + -- Pierre Chifflier Thu, 23 Feb 2006 15:43:16 +0100 + +wzdftpd (0.6.1-1) unstable; urgency=low + + * New upstream release (drop patches included upstream) + + -- Pierre Chifflier Sun, 15 Jan 2006 16:09:02 +0100 + +wzdftpd (0.6.0-1) unstable; urgency=low + + * New upstream release (include patches 01 to 04, so we drop them) + * Config file format has changed + * Build depends on libmysqlclient15-dev (Closes: #343810) + + -- Pierre Chifflier Tue, 27 Dec 2005 17:57:24 +0100 + +wzdftpd (0.5.5-5) unstable; urgency=low + + * Fixed patch 04_list_firefox (Closes: #340711) + * Fixed errors in shell script in prerm scripts + + -- Pierre Chifflier Fri, 25 Nov 2005 11:58:16 +0100 + +wzdftpd (0.5.5-4) unstable; urgency=low + + * Add ucf to dependencies (Closes: #338255) + * New patches: + - fix popen filter + - fix listing in firefox + + -- Pierre Chifflier Mon, 21 Nov 2005 09:56:17 +0100 + +wzdftpd (0.5.5-3) unstable; urgency=low + + * Applied patch to make stack non executable + + -- Pierre Chifflier Thu, 27 Oct 2005 10:46:11 +0200 + +wzdftpd (0.5.5-2) unstable; urgency=low + + * Build-depend on libgnutls-dev (Closes: #335772) + * Remove all config files on purge (Closes: #333287) + * Added patch to fix build on FreeBSD (thanks to Aurélien Jarno) + * bump mysql build-depend to 4.1 + + -- Pierre Chifflier Wed, 26 Oct 2005 12:50:11 +0200 + +wzdftpd (0.5.5-1) unstable; urgency=high + + * New upstream release + * urgency=high because upstream bugfix is critical + + -- Pierre Chifflier Mon, 26 Sep 2005 15:01:26 +0200 + +wzdftpd (0.5.4-1) unstable; urgency=low + + * New upstream release + + -- Pierre Chifflier Fri, 9 Jul 2005 10:24:17 +0200 + +wzdftpd (0.5.3-5) unstable; urgency=low + + * Updated Standard Version to 3.6.2 + * Fixed wrong dependency + + -- Pierre Chifflier Thu, 23 Jun 2005 10:01:59 +0200 + +wzdftpd (0.5.3-4) unstable; urgency=high + + * urgency=high because it fixes a RC bug + * Hopefully fixed FTBFS (Closes: #315132) + * Fixed warning during compilation (Closes: #315113) + + -- Pierre Chifflier Tue, 21 Jun 2005 21:53:38 +0200 + +wzdftpd (0.5.3-3) unstable; urgency=low + + * Fixed wrong dependency + + -- Pierre Chifflier Thu, 2 Jun 2005 13:47:56 +0200 + +wzdftpd (0.5.3-2) unstable; urgency=low + + * Changed build-deps to fix FTBFS on some archs (Closes: #310531) + * Added postgresql backend to debian packages + * Backported several bugfixes from svn repository + + -- Pierre Chifflier Tue, 24 May 2005 18:11:10 +0200 + +wzdftpd (0.5.3-1) unstable; urgency=low + + * New upstream version + + -- Pierre Chifflier Wed, 18 May 2005 17:17:56 +0200 + +wzdftpd (0.5.2-1) unstable; urgency=low + + * New upstream version + + -- Pierre Chifflier Mon, 18 Apr 2005 17:37:49 +0200 + +wzdftpd (0.5.1-1) unstable; urgency=low + + * New upstream version (Closes: #294534) + + -- Pierre Chifflier Tue, 8 Mar 2005 15:12:55 +0100 + +wzdftpd (0.5.0-1) unstable; urgency=low + + * New upstream version + + -- Pierre Chifflier Tue, 15 Feb 2005 13:17:44 +0100 + +wzdftpd (0.4.4-2) unstable; urgency=high + + * Applied patch to fix crash in site purge + + -- Pierre Chifflier Wed, 8 Dec 2004 10:47:43 +0100 + +wzdftpd (0.4.4-1) unstable; urgency=low + + * New upstream version. + + -- Pierre Chifflier Tue, 7 Dec 2004 10:40:32 +0100 + +wzdftpd (0.4.3-1) unstable; urgency=medium + + * New upstream version. + * urgency=medium because this version fixes some security problems + + -- Pierre Chifflier Thu, 28 Oct 2004 09:58:27 +0200 + +wzdftpd (0.4.2-1) unstable; urgency=low + + * New upstream version. + + -- Pierre Chifflier Tue, 5 Oct 2004 10:40:56 +0200 + +wzdftpd (0.4.1-1) unstable; urgency=low + + * New upstream version. (Closes: #268878) + + -- Pierre Chifflier Wed, 15 Sep 2004 22:00:37 +0200 + +wzdftpd (0.4.0-1) unstable; urgency=low + + * New upstream version. + * Added Perl module. + + -- Pierre Chifflier Fri, 27 Aug 2004 09:56:39 +0200 + +wzdftpd (0.3.3-1) unstable; urgency=low + + * Initial Debian Upload (closes: Bug#238143) + + -- Pierre Chifflier Fri, 25 Jun 2004 11:43:06 +0200 + --- wzdftpd-0.7.2.orig/debian/wzdftpd-mod-avahi.postinst +++ wzdftpd-0.7.2/debian/wzdftpd-mod-avahi.postinst @@ -0,0 +1,25 @@ +#!/bin/sh + +set -e + +CONFIG=/etc/wzdftpd/wzd.cfg + +if [ "$1" != "configure" ]; then + exit 0 +fi + +if [ -f $CONFIG ]; then + if ! grep -q "^module[[:space:]]*=[[:space:]]*.*libwzd_avahi.so" $CONFIG + then + echo "module = /usr/lib/wzdftpd/modules/libwzd_avahi.so" >> $CONFIG + + fi +fi + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- wzdftpd-0.7.2.orig/debian/wzdftpd-mod-avahi.dirs +++ wzdftpd-0.7.2/debian/wzdftpd-mod-avahi.dirs @@ -0,0 +1 @@ +usr/lib/wzdftpd/modules --- wzdftpd-0.7.2.orig/debian/watch +++ wzdftpd-0.7.2/debian/watch @@ -0,0 +1,13 @@ +version=3 + +# Line continuations are performed with \ + +# This the format for an FTP site: +# Full-site-with-pattern [Version [Action]] +opts=pasv http://heanet.dl.sourceforge.net/sourceforge/wzdftpd/wzdftpd-(.*)\.tar\.gz \ + debian uupdate + +# This can be used if you want to override the PASV setting +# for a specific site +# opts=pasv ftp://.../... + --- wzdftpd-0.7.2.orig/debian/rules +++ wzdftpd-0.7.2/debian/rules @@ -0,0 +1,179 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +#DEB_BUILD_OPTIONS=debug,noopt,nostrip + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +upstreamversion=$(shell dpkg-parsechangelog | grep Version | head -1 | sed -e 's/Version: //g') + + +include /usr/share/dpatch/dpatch.make + +ifndef DESTDIR +DESTDIR=.. +endif + + +CFLAGS = -Wall -fno-strict-aliasing + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +config.status: patch-stamp configure + dh_testdir + # Add here commands to configure the package. + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --datadir=\$${prefix}/lib --localstatedir=/var --sysconfdir=/etc/wzdftpd --with-pam --with-zeroconf --enable-avahi + + +#Architecture +build: build-arch build-indep + +build-arch: build-arch-stamp +build-arch-stamp: config.status + + # Add here commands to compile the arch part of the package. + $(MAKE) + touch build-arch-stamp + +build-indep: build-indep-stamp +build-indep-stamp: config.status + + # Add here commands to compile the indep part of the package. + #$(MAKE) doc + $(MAKE) -C doc + touch build-indep-stamp + +clean: clean-patched unpatch + +clean-patched: + dh_testdir + dh_testroot + rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP# + + -$(MAKE) -C doc clean + + # Add here commands to clean up after the build process. + -$(MAKE) distclean +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + dh_clean + +install: install-indep install-arch + +install-indep: + dh_testdir + dh_testroot + dh_clean -k -i + dh_installdirs -i + + # Add here commands to install the indep part of the package into + # debian/-doc. + #INSTALLDOC# +# install -m 755 -d debian/wzdftpd-doc/usr/share/wzdftpd-doc/html +# install -m 644 doc/wzdftpd-doc/*.html debian/wzdftpd-doc/usr/share/wzdftpd-doc/html + + dh_install -i + +install-arch: + dh_testdir + dh_testroot + dh_clean -k -s + dh_installdirs -s + + # Add here commands to install the arch part of the package into + # debian/tmp. + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + + # TODO since we install in standard dir, the following is becoming + # useless ?? + install -m 755 -d debian/wzdftpd/usr/share/doc/wzdftpd/html ;\ + install -m 644 doc/wzdftpd-doc/*.html debian/wzdftpd/usr/share/doc/wzdftpd/html;\ + + install -m 755 -d debian/wzdftpd/usr/share/doc/wzdftpd/examples ;\ + install -m 644 wzdftpd/users.sample debian/wzdftpd/usr/share/doc/wzdftpd/examples ;\ + install -m 644 wzdftpd/wzd.cfg.sample debian/wzdftpd/usr/share/doc/wzdftpd/examples ;\ + + install -m 755 -d debian/wzdftpd/usr/share/wzdftpd/files ;\ + mv debian/tmp/etc/wzdftpd/wzd.cfg.sample debian/wzdftpd/usr/share/wzdftpd/files ;\ + mv debian/tmp/etc/wzdftpd/users.sample debian/wzdftpd/usr/share/wzdftpd/files + + # we don't need them, and dh_install complains ! + # so i remove them (was proposed on #debian-devel) + rm debian/tmp/usr/lib/wzdftpd/modules/libwzd_*.a + rm debian/tmp/usr/lib/wzdftpd/modules/libwzd_*.la + rm debian/tmp/usr/lib/wzdftpd/backends/libwzd*.a + rm debian/tmp/usr/lib/wzdftpd/backends/libwzd*.la + + install -p -o root -g root -m 644 $(CURDIR)/debian/wzdftpd.overrides $(CURDIR)/debian/wzdftpd/usr/share/lintian/overrides/wzdftpd + + dh_install -s --list-missing --sourcedir=debian/tmp +# Must not depend on anything. This is to be called by +# binary-arch/binary-indep +# in another 'make' thread. +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog +# dh_installdocs + dh_installdocs -i debian/copyright + dh_installexamples +# dh_installmenu + dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime + dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress -Xwzd.cfg.sample + dh_fixperms +# dh_perl +# dh_python + dh_makeshlibs -pwzdftpd -V 'wzdftpd (= $(upstreamversion))' + dh_shlibdeps + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb --destdir=$(DESTDIR) +# Build architecture independant packages using the common target. +binary-indep: build-indep install-indep + $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: build-arch install-arch + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +binary: binary-arch +.PHONY: build clean binary-arch binary install install-arch patch unpatch --- wzdftpd-0.7.2.orig/debian/wzdftpd-mod-perl.dirs +++ wzdftpd-0.7.2/debian/wzdftpd-mod-perl.dirs @@ -0,0 +1 @@ +usr/lib/wzdftpd/modules --- wzdftpd-0.7.2.orig/debian/wzdftpd.config +++ wzdftpd-0.7.2/debian/wzdftpd.config @@ -0,0 +1,25 @@ +#!/bin/sh -e + +# Source debconf library. +. /usr/share/debconf/confmodule + +version_warning() { + # make sure the user will actually see the note + db_fset "wzdftpd/upgrade" seen false + db_input "high" "wzdftpd/upgrade" || true + db_go +} + + +version=$2 + +if [ -n "$version" ]; then + if dpkg --compare-versions $version lt 0.6.0; then + version_warning + fi +fi + +# Don't wait on wzdftpd to close file handles +db_stop + +exit 0 --- wzdftpd-0.7.2.orig/debian/control +++ wzdftpd-0.7.2/debian/control @@ -0,0 +1,68 @@ +Source: wzdftpd +Section: net +Priority: optional +Maintainer: Pierre Chifflier +Build-Depends: debhelper (>= 4.1.16), libgnutls-dev | libssl-dev, zlib1g-dev, tcl8.4-dev, libperl-dev, libpam0g-dev, libmysqlclient15-dev | libmysqlclient14-dev, libpq-dev, flex, docbook-utils, dpatch, libavahi-client-dev (>= 0.6.0) +Standards-Version: 3.7.2 + +Package: wzdftpd +Architecture: any +Depends: ${shlibs:Depends}, ucf, debconf (>= 0.2.26) | debconf-2.0, po-debconf +Provides: ftp-server +Conflicts: ftp-server +Description: A portable, modular, small and efficient ftp server + wzdftpd is designed to be run as root or non-root, It supports IPv6, SSL, and + is multithreaded. Server is fully configurable online using SITE commands, and + implements the lastest RFC extensions to FTP protocol. + . + Features are: flexible user management, acls, virtual users/groups, security, + speed, bandwith limitation, per command authorization, virtual directories, + dynamic ip changes auto-detection, etc. + . + It includes several authentication backends, is easily scriptable and provides + a powerful event-driven system to extend server. + . + For more informations, see http://www.wzdftpd.net/ + +Package: wzdftpd-back-mysql +Architecture: any +Depends: ${shlibs:Depends}, wzdftpd (= ${Source-Version}) +Suggests: mysql-server +Description: MySQL backend for wzdftpd + This package provides the MySQL backend for wzdftpd. + +Package: wzdftpd-back-pgsql +Architecture: any +Depends: ${shlibs:Depends} +Suggests: postgresql +Description: PostgreSQL backend for wzdftpd + This package provides the PostgreSQL backend for wzdftpd. + +Package: wzdftpd-mod-avahi +Architecture: any +Depends: ${shlibs:Depends} +Description: Zeroconf module for wzdftpd + This package provides the necessary files to enable zeroconf support in + wzdftpd, using the Avahi module. + +Package: wzdftpd-mod-tcl +Architecture: any +Depends: ${shlibs:Depends} +Description: TCL module for wzdftpd + This package provides the necessary files to run TCL plugins in wzdftpd, + in the TCL module. + +Package: wzdftpd-mod-perl +Architecture: any +Depends: ${shlibs:Depends} +Description: Perl module for wzdftpd + This package provides the necessary files to run Perl plugins in wzdftpd, + in the Perl module. + +Package: wzdftpd-dev +Architecture: any +Depends: ${shlibs:Depends}, wzdftpd (= ${Source-Version}) +Section: libdevel +Description: Development files for wzdftpd + This package provides all needed files to develop extensions for wzdftpd. + --- wzdftpd-0.7.2.orig/debian/wzdftpd-back-pgsql.examples +++ wzdftpd-0.7.2/debian/wzdftpd-back-pgsql.examples @@ -0,0 +1,3 @@ +backends/pgsql/createusers.sql +backends/pgsql/dropall.sql +backends/pgsql/tables.sql --- wzdftpd-0.7.2.orig/debian/docs +++ wzdftpd-0.7.2/debian/docs @@ -0,0 +1,7 @@ +AUTHORS +NEWS +README +wzd_tls.cnf +TLS.ReadMeFirst +Permissions.ReadMeFirst +UPGRADING --- wzdftpd-0.7.2.orig/debian/dirs +++ wzdftpd-0.7.2/debian/dirs @@ -0,0 +1,9 @@ +usr/bin +usr/lib +usr/sbin +etc +usr/share/man/man1 +var/log/wzdftpd +usr/lib/wzdftpd/backends +usr/lib/wzdftpd/modules +usr/share/lintian/overrides --- wzdftpd-0.7.2.orig/debian/po/POTFILES.in +++ wzdftpd-0.7.2/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] wzdftpd.templates --- wzdftpd-0.7.2.orig/debian/po/fr.po +++ wzdftpd-0.7.2/debian/po/fr.po @@ -0,0 +1,44 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: wzdftpd_0.6.0-1\n" +"Report-Msgid-Bugs-To: chifflier@cpe.fr\n" +"POT-Creation-Date: 2006-01-09 16:19+0100\n" +"PO-Revision-Date: 2006-01-15 16:18+0100\n" +"Last-Translator: Steve Petruzzello \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: French\n" +"X-Poedit-SourceCharset: iso-8859-15\n" + +#. Type: note +#. Description +#: ../wzdftpd.templates:3 +msgid "Upgrading" +msgstr "Changement de format de fichier après la mise à jour" + +#. Type: note +#. Description +#: ../wzdftpd.templates:3 +msgid "" +"The format of the config file has changed in version 0.6.0, and is not " +"compatible with previous version." +msgstr "" +"Le format du fichier de configuration a changé depuis la version 0.6.0 et " +"n'est plus compatible avec les versions précédentes." + +#. Type: note +#. Description +#: ../wzdftpd.templates:3 +msgid "" +"You must create a new config file. See /usr/share/doc/wzdftpd/examples for " +"an example." +msgstr "" +"Vous devez créer un nouveau fichier de configuration. Veuillez consulter les " +"exemples du répertoire /usr/share/doc/wzdftpd/examples." --- wzdftpd-0.7.2.orig/debian/po/cs.po +++ wzdftpd-0.7.2/debian/po/cs.po @@ -0,0 +1,42 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: wzdftpd\n" +"Report-Msgid-Bugs-To: chifflier@cpe.fr\n" +"POT-Creation-Date: 2006-01-09 16:19+0100\n" +"PO-Revision-Date: 2006-02-17 18:38+0100\n" +"Last-Translator: Miroslav Kure \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../wzdftpd.templates:3 +msgid "Upgrading" +msgstr "Aktualizace" + +#. Type: note +#. Description +#: ../wzdftpd.templates:3 +msgid "" +"The format of the config file has changed in version 0.6.0, and is not " +"compatible with previous version." +msgstr "" +"Formát konfiguraÄního souboru se ve verzi 0.6.0 zmÄ›nil a není " +"zpÄ›tnÄ› kompatibilní s pÅ™edchozími verzemi." + +#. Type: note +#. Description +#: ../wzdftpd.templates:3 +msgid "" +"You must create a new config file. See /usr/share/doc/wzdftpd/examples for " +"an example." +msgstr "" +"To znamená, že budete muset vytvoÅ™it konfiguraÄní soubor znovu. Za vzor " +"můžete použít /usr/share/doc/wzdftpd/examples." --- wzdftpd-0.7.2.orig/debian/po/templates.pot +++ wzdftpd-0.7.2/debian/po/templates.pot @@ -0,0 +1,39 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: chifflier@cpe.fr\n" +"POT-Creation-Date: 2006-01-09 16:19+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../wzdftpd.templates:3 +msgid "Upgrading" +msgstr "" + +#. Type: note +#. Description +#: ../wzdftpd.templates:3 +msgid "" +"The format of the config file has changed in version 0.6.0, and is not " +"compatible with previous version." +msgstr "" + +#. Type: note +#. Description +#: ../wzdftpd.templates:3 +msgid "" +"You must create a new config file. See /usr/share/doc/wzdftpd/examples for " +"an example." +msgstr ""