--- vsftpd-2.2.2.orig/debian/rules +++ vsftpd-2.2.2/debian/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f + +DEB_UPDATE_RCD_PARAMS := start 20 2 3 4 5 . stop 80 1 . +DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) + +ifneq ($(DEB_HOST_ARCH_OS),kfreebsd) + LIBS = -lwrap -lpam -lcap -lssl -lcrypto +else + LIBS = -lwrap -lpam -lssl -lcrypto +endif + +%: + dh ${@} --with quilt,apport + +override_dh_auto_build: + $(MAKE) CFLAGS="$(CFLAGS) -W -Wshadow" LIBS="$(LIBS)" LINK="" + +override_dh_auto_install: + # disabled --- vsftpd-2.2.2.orig/debian/vsftpd.templates +++ vsftpd-2.2.2/debian/vsftpd.templates @@ -0,0 +1,16 @@ +Template: vsftpd/username +Type: string +Default: ftp +_Description: Dedicated system account for the vsftpd FTP daemon: + The FTP server must use a dedicated account for its operation so that + the system's security is not compromised by running it with superuser + privileges. + . + Please choose that account's username. + +Template: vsftpd/directory +Type: string +Default: /srv/ftp +_Description: FTP root directory: + Please specify the directory that will be used as root for the + FTP server. --- vsftpd-2.2.2.orig/debian/README.source +++ vsftpd-2.2.2/debian/README.source @@ -0,0 +1,37 @@ +Package Repositories +-------------------- + +Backports for the current stable debian distribution as well as snapshots of +unreleased versions may be available in repositories listed on the maintainers +homepage. The current URL of the maintainer homepage can be seen in +debian/copyright. + + +Source Access +------------- + +You can obtain the sources of this package with: + + $ apt-get source ${PACKAGE} + +whereas '${PACKAGE}' has to be replaced with the actual name of the package. + +This package is maintained with the Git version control system. The current git +source tree can be obtained with: + + $ git clone ${GIT_URI} + +whereas '${GIT_URI}' has to be replaced with the actual URI for the Git +repository. The current Git URI can be seen in debian/control in the extracted +package sources. + +More information about Git can be found in the git-core package. + +This package may use the Quilt patch system to manage all modifications to the +upstream source. Changes, if any, are stored in the source package as diffs in +debian/diff and are applied during the build. Current modifications can be +applied to the source tree with: + + $ quilt push -a + +More information about Quilt can be found in the quilt package. --- vsftpd-2.2.2.orig/debian/copyright +++ vsftpd-2.2.2/debian/copyright @@ -0,0 +1,51 @@ +Upstream-Contact: Chris Evans +Upstream-Homepage: http://vsftpd.beasts.org/ +Maintainer-Contact: Daniel Baumann +Maintainer-Homepage: http://daniel.debian-maintainers.org/ + +Files: * +Copyright: (C) 2001-2009 Chris Evans +License: GPL-2 + 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 2 of the License. + . + 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, write to the Free Software + Foundation, Inc., 51 Franklin Street, 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 file. + . + There is an additional exception from the author permitting linking + with OpenSSL: + . + As copyright holder, I give permission for vsftpd to be linked to the OpenSSL + libraries. This includes permission for vsftpd binaries to be distributed + linked against the OpenSSL libraries. All other obligations under the GPL v2 + remain intact. + +Files: debian/* +Copyright: (C) 2009 Daniel Baumann +License: GPL-2+ + 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; either version 2 + of the License, or (at your option) any later 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, write to the Free Software + Foundation, Inc., 51 Franklin Street, 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 file. --- vsftpd-2.2.2.orig/debian/control +++ vsftpd-2.2.2/debian/control @@ -0,0 +1,27 @@ +Source: vsftpd +Section: net +Priority: extra +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Daniel Baumann +Build-Depends: + debhelper (>= 7.0.50~), + libcap2-dev [!kfreebsd-amd64 !kfreebsd-i386 !hurd-i386], libpam0g-dev, + libssl-dev, libwrap0-dev, quilt (>= 0.46-7), dh-apport +Standards-Version: 3.8.3 +Homepage: http://vsftpd.beasts.org/ +Vcs-Browser: http://git.debian-maintainers.org/?p=daniel/vsftpd.git +Vcs-Git: git://git.debian-maintainers.org/git/daniel/vsftpd.git + +Package: vsftpd +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, libpam-modules, netbase, lsb-base (>= 1.3-9ubuntu3), ssl-cert (>= 1.0-11ubuntu1), sysv-rc (>= 2.86.ds1-14.1ubuntu2), update-inetd +Recommends: logrotate +Conflicts: ftp-server +Replaces: ftp-server +Provides: ftp-server +Description: lightweight, efficient FTP server written for security + This package provides the "Very Secure FTP Daemon", written from + the ground up with security in mind. + . + It supports both anonymous and non-anonymous FTP access, PAM authentication, + bandwidth limiting, and the Linux sendfile() facility. --- vsftpd-2.2.2.orig/debian/vsftpd.docs +++ vsftpd-2.2.2/debian/vsftpd.docs @@ -0,0 +1,13 @@ +AUDIT +BENCHMARKS +BUGS +FAQ +README +README.security +README.ssl +REWARD +SECURITY +SIZE +SPEED +TODO +TUNING --- vsftpd-2.2.2.orig/debian/vsftpd.pam +++ vsftpd-2.2.2/debian/vsftpd.pam @@ -0,0 +1,10 @@ +# Standard behaviour for ftpd(8). +auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed + +# Note: vsftpd handles anonymous logins on its own. Do not enable pam_ftp.so. + +# Standard pam includes +@include common-account +@include common-session +@include common-auth +auth required pam_shells.so --- vsftpd-2.2.2.orig/debian/vsftpd.manpages +++ vsftpd-2.2.2/debian/vsftpd.manpages @@ -0,0 +1,2 @@ +vsftpd.conf.5 +vsftpd.8 --- vsftpd-2.2.2.orig/debian/changelog +++ vsftpd-2.2.2/debian/changelog @@ -0,0 +1,761 @@ +vsftpd (2.2.2-3ubuntu6) lucid; urgency=low + + * debian/vsftpd.upstart: Update upstart job. (LP: #563973) + + -- Chuck Short Thu, 15 Apr 2010 13:28:58 -0400 + +vsftpd (2.2.2-3ubuntu5) lucid; urgency=low + + [Chuck Short] + * debian/vsftpd.postinst: Add a group from the username selected by the user. (LP: #530832) + * debian/patches/09-disable-anonymous.patch: Disable anonymous login by default. (LP: #528860) + + [Andres Rodriguez] + * Add apport hook (LP: #531978): + - debian/vsftpd.apport: Added. + - debian/control: Build-depends on dh-apport. + - debian/rules: Add --with apport. + + -- Chuck Short Mon, 15 Mar 2010 15:16:32 -0400 + +vsftpd (2.2.2-3ubuntu4) lucid; urgency=low + + * debian/vsftpd.upstart: Fix up upstart script. Thanks to Paul Elliott. + (LP: #511057) + + -- Chuck Short Fri, 22 Jan 2010 13:13:02 -0500 + +vsftpd (2.2.2-3ubuntu3) lucid; urgency=low + + * Fix missing parameter in upstart script. (LP: #511057) + + -- Paul Elliott Fri, 22 Jan 2010 08:11:47 +0000 + +vsftpd (2.2.2-3ubuntu2) lucid; urgency=low + + * debian/rules, debian/vsftpd.upstart: migrate to vsftpd to upstart. + + -- Chuck Short Sun, 17 Jan 2010 14:18:56 -0500 + +vsftpd (2.2.2-3ubuntu1) lucid; urgency=low + + * Merged from debian testing:: + - Use LSB functions in the init script. + - Use snakeoil SSL certificates and key. + - Add update-inetd dependency. + - debian/patches/07_vsftpd-enable-utf8.patch: Add support for UTF8. + (LP: #364958) + + -- Chuck Short Tue, 05 Jan 2010 10:01:25 -0500 + +vsftpd (2.2.2-3) unstable; urgency=low + + * Moving chroot creation out of the start sequence (Closes: #472329). + + -- Daniel Baumann Fri, 04 Dec 2009 08:37:13 +0100 + +vsftpd (2.2.2-2) unstable; urgency=low + + * Exiting 0 when we refuse to start vsftpd because it's disabled in + the configuration (Closes: #557182). + * Conditionally build against libpcap2 whetever we are on linux or not + (Closes: #557153). + * Renumbering patches. + + -- Daniel Baumann Sun, 22 Nov 2009 17:32:24 +0100 + +vsftpd (2.2.2-1) unstable; urgency=low + + * Correcting typo in status section of the init script (Closes: + #556260). + * Merging upstream version 2.2.2. + + -- Daniel Baumann Thu, 19 Nov 2009 21:44:28 +0100 + +vsftpd (2.2.2~pre1-1) unstable; urgency=low + + * Applying patch from Todd A. Jacobs to give + proper return values in initscript (Closes: #555517. + * Cleaning up init script (intentations, variables, bashisms, etc.). + * Merging upstream version 2.2.2~pre1. + + -- Daniel Baumann Sat, 14 Nov 2009 18:21:08 +0100 + +vsftpd (2.2.1-1) unstable; urgency=low + + * Correcting wrong vcs-browser field. + * Replacing some Germanisms from the German debconf translations. + * Setting last-translator for German debconf templates to me, no + intention do deal with debian-l10n-german in the future anymore. + * Fixing whitespace typo in output of status message in initscript. + * Merging upstream version 2.2.1. + * Wrapping patch headers to 80 chars. + * Replacing unused-libs.patch with much simpler libs.patch. + * Rediffing config.patch. + + -- Daniel Baumann Fri, 06 Nov 2009 13:40:19 +0100 + +vsftpd (2.2.0-4ubuntu1) lucid; urgency=low + + * Merge from debian unstable, remaining changes: + - Use LSB functions in the init script. + - Use snakeoil SSL certificates and key. + - Add update-inetd dependency. + - debian/patches/07_vsftpd-enable-utf8.patch: Add support for UTF8. + (LP: #364958) + + -- Chuck Short Wed, 21 Oct 2009 22:23:37 +0100 + +vsftpd (2.2.0-4) unstable; urgency=low + + * Adding patch from Michael Stapelberg to + accept IPv6 scope identifier in listen_address6 (Closes: #544993). + * Installing upstream example files in examples directory instead of + own directory. + * Adding patch from Jiri Skala to trim white + spaces from option values (Closes: #419857, #536803). + * Adding patch from Martin Nagy to fix file listing + issue with wildcards (Closes: #428934). + * Using vsftpd group for server root ownership instead of nogroup + (Closes: #519390). + * Cosmetically improve the init script wrt/ output messages (Closes: + #403344). + + -- Daniel Baumann Sun, 18 Oct 2009 12:13:02 +0200 + +vsftpd (2.2.0-3) unstable; urgency=low + + * Updating maintainer field. + * Updating vcs fields. + * Bumping versioned build-depends on quilt. + * Sorting depends. + * Adding README.source. + * Adding maintainer homepage to copyright. + + -- Daniel Baumann Sun, 04 Oct 2009 10:26:18 +0200 + +vsftpd (2.2.0-2) unstable; urgency=low + + * Adding patch to not define VSF_SYSDEP_HAVE_LINUX_CLONE on alpha to + avoid FTBFS (Closes: #540860). + * Updating package to standards version 3.8.3. + * Wrapping and sorting build-depends. + * Removing debconf-updatepo call in clean target of rules. + * Minimizing rules file. + + -- Daniel Baumann Sun, 20 Sep 2009 18:33:01 +0200 + +vsftpd (2.2.0-1ubuntu1) karmic; urgency=low + + * Merge from debian unstable, remaining changes: + - Use LSB functions in the init script. + - Use snakeoil SSL certificates and key. + - Do not create rc.d stop symlinks. + - Add update-inetd dependency. + - debian/patches/07_vsftpd-enable-utf8.patch: Add support for UTF8. + (LP: #364958) + + -- Chuck Short Fri, 14 Aug 2009 07:59:11 +0100 + +vsftpd (2.2.0-1) unstable; urgency=low + + * Improving English in messages outputted in postinst script, thanks + to Mark Brown . + * Using variables in postrm in order to ease reuse postrm in diverent + packages. + * Merging upstream version 2.2.0: + - Should fix FTBFS on alpha (Closes: #540860). + + -- Daniel Baumann Thu, 13 Aug 2009 23:47:26 +0200 + +vsftpd (2.2.0~pre4-2ubuntu2) karmic; urgency=low + + * debian/patches/07_vsftpd-enable-utf8.patch: Add support for UTF8 + (LP: #364958). + + -- Chuck Short Tue, 11 Aug 2009 09:40:01 -0400 + +vsftpd (2.2.0~pre4-2ubuntu1) karmic; urgency=low + + * Merge from debian unstable, remaining changes: + - Use LSB functions in the init script. + - Use snakeoil SSL certificates and key. + - Do not create rc.d stop symlinks + - Add update-inetd dependency. + + -- Chuck Short Mon, 20 Jul 2009 05:55:34 +0100 + +vsftpd (2.2.0~pre4-2) unstable; urgency=low + + * Updating depends in update target of rules. + * Updating default home directory to be removed in postrm script. + * Correcting typo of hardcoding daemon username. + * Renaming directory for storing local debian additions in the debian + directory to a more common name. + + -- Daniel Baumann Mon, 20 Jul 2009 01:32:58 +0200 + +vsftpd (2.2.0~pre4-1) unstable; urgency=low + + * Merging upstream version 2.2.0~pre4. + + -- Daniel Baumann Sun, 19 Jul 2009 21:43:34 +0200 + +vsftpd (2.2.0~pre3-1) unstable; urgency=low + + * Merging upstream version 2.2.0~pre3. + * Updating year in copyright file. + * Moving preseed example from docs to examples. + * Making 'set -e' global in rules file. + + -- Daniel Baumann Sun, 19 Jul 2009 21:38:10 +0200 + +vsftpd (2.2.0~pre2-1) unstable; urgency=low + + * Merging upstream version 2.2.0~pre2. + + -- Daniel Baumann Fri, 17 Jul 2009 14:19:20 +0200 + +vsftpd (2.2.0~pre1-1) unstable; urgency=low + + * Removing redundant dirs debhelper file. + * Merging upstream version 2.2.0~pre1. + * Rediffing libcap.patch. + * Updating package to standards version 3.8.2. + * Adding Czech debconf translation from Vitezslav Kotrla + (Closes: #534129). + + -- Daniel Baumann Fri, 10 Jul 2009 14:40:37 +0200 + +vsftpd (2.1.2-1ubuntu1) karmic; urgency=low + + * Merge from Debian unstable. Remaining changes: + - Use LSB functions in the init script + - Use snakeoil SSL certificate and key + - Do not create rc.d stop symlinks + - Add update-inetd dependency + + -- Adrien Cunin Mon, 15 Jun 2009 00:33:10 +0200 + +vsftpd (2.1.2-1) unstable; urgency=low + + * Using correct rfc-2822 date formats in changelog. + * Really correcting wrong charset definition in Galizian debconf + translations (Closes: #524251). + * Merging upstream version 2.1.2. + * Rediffing libcap.patch. + * Applying patch from Peter Eisentraut to add + status support to init script (Closes: #527881). + + -- Daniel Baumann Sat, 30 May 2009 10:16:14 +0200 + +vsftpd (2.1.1~pre1-2ubuntu1) karmic; urgency=low + + * Merge from Debian unstable. Remaining changes: + - Use LSB functions in the init script + - Use snakeoil SSL certificate and key + - Do not create rc.d stop symlinks + - Add update-inetd dependency + * Dropped postinst change removing rc.d stop symlinks, was only useful for + edgy and hardy upgrades + * This upload includes changes closing a few bugs: + - New upstream release (LP: #333478) + - Call adduser with --quiet in postinst (LP: #272084) + - Extend username length limit (LP: #343738) + + -- Adrien Cunin Fri, 08 May 2009 23:17:40 +0200 + +vsftpd (2.1.1~pre1-2) unstable; urgency=medium + + * Correcting wrong charset definition in Galizian debconf translations + (Closes: #524251). + * Adding patch to not hardcode libcap soname (Closes: #526792). + + -- Daniel Baumann Sun, 03 May 2009 17:49:00 +0200 + +vsftpd (2.1.1~pre1-1) unstable; urgency=low + + * Adding French debconf translations from Steve Petruzzello + (Closes: #522736). + * Merging upstream version 2.1.1~pre1. + * Applying patch from debian-l10n-english to improve debconf templates + (Closes: #520592). + * Adding updated German debconf translations from Helge Kreutzmann + (Closes: #522958). + * Adding updated Swedish debconf translations from Martin Bagge + (Closes: #522977). + * Adding Finnish debconf translations from Esko Arajarvi + (Closes: #522999). + * Adding Russian debconf translations from Yuri Kozlov + (Closes: #523123). + * Adding updated Japanese debconf translations from Hideki Yamane + (Closes: #523324). + * Adding Spanish debconf translations from Fernando Gonzalez de Requena + (Closes: #523395). + * Adding Galizian debconf translations from Marce Villarino + (Closes: #524251). + + -- Daniel Baumann Mon, 20 Apr 2009 08:53:00 +0200 + +vsftpd (2.1.0-2) unstable; urgency=medium + + * Adding simplified Chinese debconf translations from Deng Xiyue + (Closes: #521790). + * Adding updated Portuguese debconf translations from Miguel Figueiredo + (Closes: #522495). + * Adding Japanese debconf translations from Hideki Yamane + (Closes: #522601). + * Adding Italian debconf translations from Vincenzo Campanella + (Closes: #522603). + + -- Daniel Baumann Sun, 05 Apr 2009 10:49:00 +0200 + +vsftpd (2.1.0-1) unstable; urgency=low + + * Merging upstream version 2.1.0 (Closes: #520779). + * Rediffing config.patch. + * Removing wifexited-const.patch, went upstream. + * Removing defs.patch, went upstream. + * Renumbering db-doc.patch. + + -- Daniel Baumann Tue, 24 Mar 2009 06:57:00 +0100 + +vsftpd (2.0.7-4) unstable; urgency=low + + * Adding Portuguese debconf translations from Americo Monteiro + (Closes: #516547). + * Adding Swedish debconf translations from Martin Bagge + (Closes: #516682). + * Simplyfing defaults handling of debconf variables in postinst script. + * Adding German debconf translation from Kai Wasserbaech + (Closes: #517845). + * Correcting wrong account name capitalization in German debconf translation. + * Starting vsftpd with --oknodo in initscript. + * Updating standards to 3.8.1. + * Also creating the security chroot directory by default (Closes: #520394). + * Applying patch from debian-l10n-english to improve debconf templates and + package description (Closes: #520592). + * Using consistent copyright notice in debconf translation files. + + -- Daniel Baumann Sat, 21 Mar 2009 08:19:07 +0100 + +vsftpd (2.0.7-3) unstable; urgency=low + + * Correcting typo in install call of postinst script (Closes: #514954). + * Adding debconf support for username and directory (Closes: #515853). + + -- Daniel Baumann Thu, 19 Feb 2009 11:39:00 +0100 + +vsftpd (2.0.7-2) unstable; urgency=low + + * Upgrading package to debhelper 7. + * Sorting build-depends. + * Updating libcap build-depends (Closes: #492763). + * Adding homepage field in control file (Closes: #471817). + * Sorting depends. + * Adding ${misc:Depends} to depends. + * Adding replaces for virtual ftp-server package. + * Removing watch file. + * Rediffing unused-libs.patch. + * Rediffing builddefs.patch. + * Rediffing config.patch. + * Rediffing wifexited-const.patch. + * Moving ftpusers to sub-directory in debian. + * Prefixing debhelper files with package name. + * Rewriting copyright file in machine-interpretable format. + * Reordering debhelper dirs file. + * Reordering debhelper install file. + * Rewriting rules file. + * Moving default location for vsftpd.pem from /etc/ssl/certs to + /etc/ssl/private as suggested by Thijs Kinkhorst + (Closes: #488282). + * Applying patch from Alexandre Rossi to + set default log file readable by adm group like every other daemon + does (Closes: #408549). + * Applying patch from shaul Karl to add a short + explanation how to find out the right db version in + EXAMPLE/VIRTUAL_USERS/README (Closes: #478282). + * Moving secure chroot directory from /var/run/vsftpd to + /var/run/vsftpd/empty to not expose the pid file unecessarily, + thanks to Thijs Kinkhorst (Closes: #472329). + * Updating config.patch to include use_localtime=YES in vsftpd.conf, + making the default behaviour of vsftpd more user friendly (Closes: + #458677). + * Allowing usernames up to 64 characters now (Closes:#404926). + * Rewrapping lograte configuration. + * Rewrapping pam configuration. + * Rewriting and simplyfing postinst script. + * Rewriting and simplyfing postrm script. + + -- Daniel Baumann Thu, 05 Feb 2009 16:41:00 +0100 + +vsftpd (2.0.7-1) unstable; urgency=medium + + * New maintainer, taking over package from Matej. + * New upstream release (Closes: #497149): + - properly shuts down SSL connections now, + fixes problem for all Filezilla users (Closes: #494195). + - fixes race condition causing PASV connection drops under extreme load + (Closes: #502215). + * Adding vcs fields in control file. + * Removed useless empty line at the end of vsftpd.pam file. + + -- Daniel Baumann Sat, 31 Jan 2009 00:47:00 +0100 + +vsftpd (2.0.7-0ubuntu1) intrepid; urgency=low + + * New upstream release + - Fixes SSL shutdown bug (LP: #254905) + + -- Adrien Cunin Tue, 16 Sep 2008 19:20:32 +0200 + +vsftpd (2.0.6-1.2) unstable; urgency=low + + * Non-maintainer upload to fix a RC bug. + * debian/vsftpd.post*: use update-inetd only if available. Closes: #470636 + * debian/vsftpd.init.d: include a sane PATH. Closes: #433893 + * debian/vsftpd.init.d: include LSB short description. (lintian warning) + * debian/control: Standards-Version 3.8.0. No changes. (lintian warning) + + -- Rogério Brito Fri, 26 Sep 2008 10:01:46 -0300 + +vsftpd (2.0.6-1.1ubuntu2) intrepid; urgency=low + + * Removed update-rc.d "multiuser" option and updated init info (LP: #254273) + http://lists.ubuntu.com/archives/ubuntu-devel-announce/2008-June/000430.html + * Added Homepage field on debian/control + * Upgrade standards to 3.8.0 + + -- Nicolas Valcárcel Tue, 12 Aug 2008 20:23:05 -0500 + +vsftpd (2.0.6-1.1ubuntu1) intrepid; urgency=low + + * Merge from debian unstable, remaining changes: + - lsb init script + - use snakeoil ssl certs + - add update-inetd dependency + - Modify Maintainer value to match DebianMaintainerField spec. + * Dropped: + - remove stop links from rc0 and rc6: pre-hardy upgrades. + + -- Mathias Gug Fri, 09 May 2008 18:27:41 -0400 + +vsftpd (2.0.6-1.1) unstable; urgency=low + + * Non-maintainer upload to solve release goal. + * Add LSB dependency header to init.d scripts (Closes: #460211) + + -- Petter Reinholdtsen Mon, 17 Mar 2008 09:46:02 +0100 + +vsftpd (2.0.6-1ubuntu1) hardy; urgency=low + + * Merge from Debian unstable, remaining changes: + - remove stop links from rc0 and rc6 + - lsb init script + - use snakeoil ssl certs + - add update-inetd dependency + * debian/control: + - Modify Maintainer value to match DebianMaintainerField spec. + + -- Matti Lindell Mon, 25 Feb 2008 09:53:13 +0200 + +vsftpd (2.0.6-1) unstable; urgency=low + + * New upstream release. Closes: #467128. + - Adds a chown_upload_mode option. Closes: #269193. + - Supports UTF8. Closes: #445393. + * man-typo.patch: Integrated upstream. + * unused-libs.patch: Remove `-lnsl -ldl -lresolv -lutil' since we + don't use any of their symbols. + * debian/copyright: Add upstream copyright. + * debian/copyright: Update upstream e-mail. + * debian/control: Build-depend on quilt (>= 0.40) rather than + (>= 0.40-1) to placate Lintian. + * Conforms to Standards version 3.7.3. + + -- Matej Vela Sat, 23 Feb 2008 11:39:37 +0100 + +vsftpd (2.0.5-2ubuntu2) feisty; urgency=low + + * debian/control: Add update-inetd dependency (Ubuntu netbase + drops inetd dependency but update-inetd is needed in postinst, + Closes Ubuntu: #75432). + + -- Lionel Porcheron Wed, 13 Dec 2006 11:02:41 +0100 + +vsftpd (2.0.5-2ubuntu1) feisty; urgency=low + + * Merge from debian unstable, remaining changes: + - remove stop links from rc0 and rc6 + - lsb init script + - use snakeoil ssl certs + + -- Scott James Remnant Tue, 28 Nov 2006 15:56:37 +0000 + +vsftpd (2.0.5-2) unstable; urgency=low + + * New maintainer. Closes: #385929. + * Acknowledge NMU. Thanks, Martin! + * vsftpd-debian.patch: Split into individual patches. + * wifexited-const.patch: Quiltify fix from 2.0.5-1.1. + * man-typo.patch: Remove trailing `s' from `delay_failed_login' and + `delay_successful_login' in vsftpd.conf.5. Closes: #382154. + * Switch to cdbs. + * Remove dependency on libpam-runtime (>= 0.76-13.1) since we have + 0.76-22 in sarge (and an unversioned dependency is already provided + by libpam0g). + * debian/copyright: Update upstream URL. + * debian/vsftpd.files: Remove cruft. + * debian/vsftpd.init.d: Remove pidfile on stop. + * debian/vsftpd.postinst, debian/vsftpd.postrm: Use `set -e'. + * debian/watch: Add. + * Conforms to Standards version 3.7.2. + + -- Matej Vela Thu, 26 Oct 2006 10:55:25 +0200 + +vsftpd (2.0.5-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Applied patch by Martin Michlmayr to fix compilation problem on 64bit + architectures (closes: #386267). + * Added dependency on netbase because of update-inetd call (closes: #386719) + + -- martin f. krafft Sat, 09 Sep 2006 18:25:37 +0200 + +vsftpd (2.0.5-1) unstable; urgency=low + + * New upstream release. + - Added support for certificate chains (Closes: #307498). + * Use quilt.make to manage changes to the upstream source. + * Exclude libcap-dev build dependency for non-Linux architectures + (Closes: #375026). + * Mention trouble with background=yes in vsftpd.conf in the + README file. + * Create /var/run/vsftpd if necessary (Closes: #350996). + + -- Daniel Jacobowitz Sun, 23 Jul 2006 18:46:23 -0400 + +vsftpd (2.0.4-0ubuntu5) edgy; urgency=low + + * Remove stop script symlinks from rc0 and rc6. + + -- Scott James Remnant Mon, 18 Sep 2006 16:34:57 +0100 + +vsftpd (2.0.4-0ubuntu4) dapper; urgency=low + + * Switch default config to use ssl-cert-snakeoil certificates. + * Add Depends on ssl-cert. + + -- Fabio M. Di Nitto Fri, 03 Feb 2006 17:05:04 +0100 + +vsftpd (2.0.4-0ubuntu3) dapper; urgency=low + + * Create /var/run/vsftpd if necessary before starting the daemon. + + -- Colin Watson Thu, 2 Feb 2006 09:13:03 +0000 + +vsftpd (2.0.4-0ubuntu2) dapper; urgency=low + + * Upload as upstream version. + + -- Matthias Klose Thu, 19 Jan 2006 15:27:31 +0000 + +vsftpd (2.0.4-0ubuntu1) dapper; urgency=low + + * New upstream version. + + -- Matthias Klose Thu, 19 Jan 2006 16:19:35 +0100 + +vsftpd (2.0.3-1ubuntu1) breezy; urgency=low + + * Resynchronise with Debian. + + -- Adam Conrad Thu, 21 Apr 2005 08:43:37 +0000 + +vsftpd (2.0.3-1) unstable; urgency=low + + * New upstream release (Closes: #300132). + * Search for SSL certificates in /etc by default. + * Improved documentation for SSL support (Closes: #266664). + + -- Daniel Jacobowitz Fri, 01 Apr 2005 22:47:55 -0500 + +vsftpd (2.0.1-1ubuntu1) hoary; urgency=low + + * pretty init scriptage + + -- LaMont Jones Wed, 23 Mar 2005 15:52:34 -0700 + +vsftpd (2.0.1-1) unstable; urgency=low + + * New upstream release (Closes: #249977, #257773). + - Includes SSL support. + * Document that the capability module must be loaded if capabilities + were built as a module (Closes: #252241, #257774). + * Include an /etc/ftpusers to quiet a syslog warning (Closes: #249974). + * Conflict with other FTP daemons now that we provide /etc/ftpusers. + * Correct output formatting of init.d script (patch from + Adeodato Simó ) (Closes: #246437). + * Use common-auth and common-account PAM configuration files + (Closes: #245233). + + -- Daniel Jacobowitz Sun, 11 Jul 2004 23:57:34 -0400 + +vsftpd (1.2.1-1) unstable; urgency=low + + * New upstream release. + * Change default vsftpd.conf to run standalone (listen=YES) instead of + from inetd (Closes: #200159). + * Do not call update-inetd in postinst any more since we default to + standalone operation (Closes: #163163). + + -- Daniel Jacobowitz Sat, 15 Nov 2003 19:42:21 -0500 + +vsftpd (1.2.0-4) unstable; urgency=high + + * Tweaks for init.d script, including starting the server if listen_ipv6 + is specified (from Paul van Tilburg) (Closes: #212210). + * Check for a listen configuration, but not in inetd - let the daemon + start on an alternate port if it's configured to. + + -- Daniel Jacobowitz Tue, 23 Sep 2003 09:28:22 -0400 + +vsftpd (1.2.0-3) unstable; urgency=HIGH + + * Remove pam_ftp.so from the default PAM configuration. + + -- Daniel Jacobowitz Sun, 21 Sep 2003 14:03:39 -0400 + +vsftpd (1.2.0-2) unstable; urgency=low + + * Update for new PAM scheme. + * Include more documentation from the source (Closes: #206312). + + -- Daniel Jacobowitz Tue, 26 Aug 2003 16:53:19 -0400 + +vsftpd (1.2.0-1) unstable; urgency=low + + * New upstream release. + - Oops - make max_per_ip and max_clients work with the two process model + when both connect_from_port_20 and chown_uploads are false + (Closes: #171350). + - Add ability for virtual users to use local privs non anon privs, via + virtual_use_local_privs=YES (Closes: #172829). + * Update README.Debian to describe virtual_use_local_privs. + * Depend on adduser (Closes: #195277). + * Include the FAQ. + * Mention chroot_local_user in the sample configuration file. + + -- Daniel Jacobowitz Sun, 17 Aug 2003 11:47:35 -0400 + +vsftpd (1.1.3-3) unstable; urgency=low + + * Add /etc/init.d/vsftpd script for standalone mode, from Sander Smeenk. + * Document the interaction between guest_enable and anonymous user + configuration in README.Debian. + + -- Daniel Jacobowitz Mon, 27 Jan 2003 12:21:13 -0500 + +vsftpd (1.1.3-2) unstable; urgency=low + + * Brown bag. Fix install invocation in postinst (Closes: #168973). + + -- Daniel Jacobowitz Wed, 13 Nov 2002 13:51:24 -0500 + +vsftpd (1.1.3-1) unstable; urgency=low + + * New upstream release. + - Adds tcpwrappers support (off by default, see vsftpd.conf(5)). + + -- Daniel Jacobowitz Mon, 11 Nov 2002 11:30:23 -0500 + +vsftpd (1.1.2-1) unstable; urgency=low + + * New upstream release. + - Fixes port_promiscuous option (Closes: #167104). + * Create /home/ftp owned by root (Closes: #163164). + * Change the default value of pam_service_name to "vsftpd". + If you had a custom configuration in /etc/pam.d/ftpd, you should + either specify pam_service_name=ftp in vsftpd.conf or copy it to the + new file. + * Provide a default PAM configuration. + * Update Standards-Version (no changes required, yay!). + + -- Daniel Jacobowitz Mon, 04 Nov 2002 17:36:33 -0500 + +vsftpd (1.1.0-2) unstable; urgency=low + + * Add FTP username on initial installation (Closes: #155353). + * Rewrite README.Debian. + * Use the included vsftpd(8) manual page. + + -- Daniel Jacobowitz Sun, 18 Aug 2002 14:59:02 -0400 + +vsftpd (1.1.0-1) unstable; urgency=low + + * New upstream release. + - Fix for kernel warning about MSG_PEEK. + - Change the meaning of anon_root and local_root (Closes: #140713). + * Upstream removed the kernel 2.4.0 warning, so I've also removed the + kernel 2.4.0 sanity check. 2.4.0 and 2.4.1 had plenty of other nasty + bugs besides this one, so everyone should update if they haven't yet. + * Update upstream URLs in debian/copyright (Closes: #142525). + + -- Daniel Jacobowitz Tue, 06 Aug 2002 15:06:30 -0400 + +vsftpd (1.0.0-2) unstable; urgency=low + + * Provide ftp-server, even though we do not conflict with others + like the other ftp-servers do (Closes: #120354). + + -- Daniel Jacobowitz Sun, 27 Jan 2002 20:07:08 -0500 + +vsftpd (1.0.0-1) unstable; urgency=low + + * New upstream release; no code changes from 0.9.4pre4. + * Change priority to extra. + + -- Daniel Jacobowitz Wed, 14 Nov 2001 10:21:02 -0500 + +vsftpd (0.9.4.0pre4-1) unstable; urgency=low + + * New upstream release. + * Now uses libcap instead of direct kernel includes (Closes: #105168, + #89424). + + -- Daniel Jacobowitz Mon, 12 Nov 2001 14:12:27 -0500 + +vsftpd (0.9.2-2) unstable; urgency=low + + * Brown bag fix; 2.4.[01] check objected to 2.4.10 (Closes: #113808). + + -- Daniel Jacobowitz Fri, 28 Sep 2001 15:21:19 -0400 + +vsftpd (0.9.2-1) unstable; urgency=low + + * New upstream version, with nifty features like bandwidth limiting. + + -- Daniel Jacobowitz Sat, 22 Sep 2001 12:47:38 -0400 + +vsftpd (0.9.1-1) unstable; urgency=low + + * New upstream version. + * Add missingok to /etc/logrotate.d/vsftpd (Closes: #89736). + + -- Daniel Jacobowitz Thu, 31 May 2001 09:58:07 -0700 + +vsftpd (0.0.14-2) unstable; urgency=low + + * Add build dependency on libpam0g-dev. Oops. + + -- Daniel Jacobowitz Fri, 09 Mar 2001 01:07:26 -0500 + +vsftpd (0.0.14-1) unstable; urgency=low + + * Initial Release. + * Create a man page for vsftpd(8). + * Suggest logrotate and provide a logrotate.d entry. + * Abort if kernel 2.4.0 or 2.4.1 is running. + + -- Daniel Jacobowitz Thu, 08 Mar 2001 01:24:06 -0500 + --- vsftpd-2.2.2.orig/debian/vsftpd.postrm +++ vsftpd-2.2.2/debian/vsftpd.postrm @@ -0,0 +1,45 @@ +#!/bin/sh + +set -e + +case "${1}" in + remove) + _USERNAME="ftp" + _GROUPNAME="${_USERNAME}" + _DIRECTORY="/srv/ftp" + + if [ -x /usr/sbin/deluser ] + then + deluser --quiet --system ${_USERNAME} + fi + + if [ -x /usr/sbin/delgroup ] + then + delgroup --quiet --system --only-if-empty ${_GROUPNAME} || true + fi + + if [ -d "${_DIRECTORY}" ] + then + rmdir --ignore-fail-on-non-empty "${_DIRECTORY}" + fi + + # A user might have manually added vsftp in inetd.conf. + if [ -x "$(which update-inetd 2>/dev/null)" ] + then + update-inetd --disable --pattern vsftpd ftp + fi + ;; + + purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- vsftpd-2.2.2.orig/debian/vsftpd.preseed +++ vsftpd-2.2.2/debian/vsftpd.preseed @@ -0,0 +1,6 @@ +################################################################################ +## vsftpd + +#vsftpd vsftpd/username string ftp +#vsftpd vsftpd/directory string /srv/ftp +################################################################################ --- vsftpd-2.2.2.orig/debian/vsftpd.README.Debian +++ vsftpd-2.2.2/debian/vsftpd.README.Debian @@ -0,0 +1,69 @@ +Notes on the Debian vsftpd package +================================== + +If you want to allow local users to log in via FTP (not a good option +on any public network, since FTP relies upon cleartext passwords), you +should uncomment the "local_enable" line in /etc/vsftpd.conf. + + + +The PAM configuration file for vsftpd, unlike for some other FTP daemons, +should not include pam_ftp.so. pam_ftp is only for anonymous logins, and +vsftpd has its own handling of anonymous users. + + + +Anonymous FTP by default uses the home diretory and privileges of the "ftp" +user for its root directory. Installing the vsftpd package for the first +time will create this user. If you want to use a different user account, +change the value of "ftp_username" in /etc/vsftpd.conf. You can also change +the root directory by setting anon_root. + + + +If you use virtual users (via PAM and the guest_enable configuration option +in vsftpd.conf), you may want to investigate the virtual_use_local_privs +option. By default (without this option), guest users (and thus all virtual +users) are treated as anonymous users by the configuration. For instance, to +allow guest users to upload requires setting anon_upload_enable. However, +with virtual_use_local_privs then write_enable is enough to allow your +virtual users to upload. This option is new in vsftpd 1.2.0. + +If you are using password-protected virtual users you should probably use +virtual_use_local_privs, disable anonymous access, or at least be very +careful of your filesystem layout. Note that guest users and anonymous +users can run as a different user (see guest_username and ftp_username), but +both will be able to access a world-writeable directory, etc. + + + +This package includes SSL support. For information about enabling SSL, see +README.ssl. Be sure to read this file before enabling SSL! + +To use SSL you will need a certificate. You may wish to get a certificate +from a certificate agency; if you only need a self-signed certificate, you +can use the "make-ssl-cert" script from the Debian "ssl-cert" package to +create one, or you can create one manually using the "openssl" command. +The default location for the certificate is /etc/ssl/private/vsftpd.pem; +set "rsa_cert_file" in /etc/vsftpd.conf to look elsewhere. + +At a minimum you will need the "ssl_enable" option. See the vsftpd.conf +manual page for more SSL-related settings. + + +On Linux systems, if capability support was disabled in the kernel or +built as a module and not loaded, vsftpd will fail to run. You'll see +this error message: + 500 OOPS: cap_set_proc +Build and load the appropriate kernel module to continue. + + +The included init script uses start-stop-daemon's --background option to run +vsftpd in the background. If you have "background=yes" in your configuration, +the wrong PID will be recorded in /var/run/vsftpd/vsftpd.pid, and the init +script may fail to restart or stop vsftpd later. Just remove "background=yes" +from vsftpd.conf. + + +For more information on configuring vsftpd, see the vsftpd.conf(5) manual +page, and the included FAQ. --- vsftpd-2.2.2.orig/debian/compat +++ vsftpd-2.2.2/debian/compat @@ -0,0 +1 @@ +7 --- vsftpd-2.2.2.orig/debian/vsftpd.postinst +++ vsftpd-2.2.2/debian/vsftpd.postinst @@ -0,0 +1,52 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +case "${1}" in + configure) + db_version 2.0 + + db_get vsftpd/username + _USERNAME="${RET:-ftp}" + + db_get vsftpd/directory + _DIRECTORY="${RET:-/srv/ftp}" + + db_stop + + if ! getent passwd | grep -q "^${_USERNAME}" + then + adduser --system --home ${_DIRECTORY} --no-create-home --quiet --gecos 'ftp daemon' --group ${_USERNAME} + elif ! getent group | grep -q "^${_USERNAME}" + then + addgroup --system --quiet ${_USERNAME} + gpasswd -a ${_USERNAME} ${_USERNAME} + else + echo "vsftpd user (${_USERNAME}) already exists, doing nothing." + fi + + if [ ! -d "${_DIRECTORY}" ] + then + mkdir -p "${_DIRECTORY}" + chown root:${_USERNAME} ${_DIRECTORY} -R + else + echo + echo "vsftpd directory (${_DIRECTORY}) already exists, doing nothing." + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- vsftpd-2.2.2.orig/debian/vsftpd.config +++ vsftpd-2.2.2/debian/vsftpd.config @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +db_input low vsftpd/username || true +db_go + +db_input low vsftpd/directory || true +db_go + +db_stop --- vsftpd-2.2.2.orig/debian/vsftpd.logrotate +++ vsftpd-2.2.2/debian/vsftpd.logrotate @@ -0,0 +1,10 @@ +/var/log/vsftpd.log +{ + create 640 root adm + + # ftpd doesn't handle SIGHUP properly + missingok + notifempty + rotate 4 + weekly +} --- vsftpd-2.2.2.orig/debian/vsftpd.upstart +++ vsftpd-2.2.2/debian/vsftpd.upstart @@ -0,0 +1,30 @@ +# vsftpd - FTP Daemon +# + +description "vsftpd daemon" +author "Chuck Short " + +start on (filesystem + and net-device-up IFACE!=lo) +stop on runlevel [!2345] +respawn + +pre-start script + check_standalone_mode() + { + # Return 1 if vsftpd.conf doesn't have listen yes or listen_ipv6=yes + CONFFILE="/etc/vsftpd.conf" + + if [ -e "${CONFFILE}" ] && !egrep -iq "^ *listen(_ipv6)? *= *yes" "${CONFFILE}" + then + echo "${CONFFILE}: listen disabled - service will not start" + return 1 + fi + } + [ -d /var/run/vsftpd ] || install -m 755 -o root -g root -d /var/run/vsftpd + [ -d /var/run/vsftpd/emply ] || install -m 755 -o root -g root -d /var/run/vsftpd/empty + check_standalone_mode || exit 0 +end script + +exec /usr/sbin/vsftpd + --- vsftpd-2.2.2.orig/debian/vsftpd.examples +++ vsftpd-2.2.2/debian/vsftpd.examples @@ -0,0 +1,2 @@ +EXAMPLE/* +debian/vsftpd.preseed --- vsftpd-2.2.2.orig/debian/vsftpd.install +++ vsftpd-2.2.2/debian/vsftpd.install @@ -0,0 +1,3 @@ +vsftpd /usr/sbin +vsftpd.conf /etc +debian/local/ftpusers /etc --- vsftpd-2.2.2.orig/debian/patches/03-db-doc.patch +++ vsftpd-2.2.2/debian/patches/03-db-doc.patch @@ -0,0 +1,19 @@ +Author: shaul Karl +Description: + A short explanation how to find out the right db version (Closes: #478282). + +diff -Naurp vsftpd.orig/EXAMPLE/VIRTUAL_USERS/README vsftpd/EXAMPLE/VIRTUAL_USERS/README +--- vsftpd.orig/EXAMPLE/VIRTUAL_USERS/README 2009-01-31 00:02:36.000000000 +0000 ++++ vsftpd/EXAMPLE/VIRTUAL_USERS/README 2009-01-31 01:38:11.000000000 +0000 +@@ -21,7 +21,10 @@ NOTE: Many systems have multiple version + need to use e.g. db3_load for correct operation. This is known to affect + some Debian systems. The core issue is that pam_userdb expects its login + database to be a specific db version (often db3, whereas db4 may be installed +-on your system). ++on your system). You might check ahead what specific db version you'll need ++by looking at the dependcies of the pam module. Some methods to do that is to ++run ldd on the pam_userdb.so or look at the dependencies of the package with ++the pam modules. + + This will create /etc/vsftpd_login.db. Obviously, you may want to make sure + the permissions are restricted: --- vsftpd-2.2.2.orig/debian/patches/07-greedy.patch +++ vsftpd-2.2.2/debian/patches/07-greedy.patch @@ -0,0 +1,32 @@ +Author: Martin Nagy +Description: Fix file listing issue with wildcard (Bugzilla: #392181). + +diff -Naurp vsftpd.orig/ls.c vsftpd/ls.c +--- vsftpd.orig/ls.c 2009-10-02 14:15:18.000000000 +0200 ++++ vsftpd/ls.c 2009-10-18 11:48:29.000000000 +0200 +@@ -281,6 +281,25 @@ vsf_filename_passes_filter(const struct + { + goto out; + } ++ if (!must_match_at_current_pos) ++ { ++ struct mystr scan_fwd = INIT_MYSTR; ++ ++ str_mid_to_end(&name_remain_str, &scan_fwd, ++ indexx + str_getlen(&s_match_needed_str)); ++ /* We're allowed to be greedy, test if it match further along ++ * keep advancing indexx while we can still match. ++ */ ++ while( (locate_result = str_locate_str(&scan_fwd, &s_match_needed_str)), ++ locate_result.found ) ++ { ++ indexx += locate_result.index + str_getlen(&s_match_needed_str); ++ str_mid_to_end(&scan_fwd, &temp_str, ++ locate_result.index + str_getlen(&s_match_needed_str)); ++ str_copy(&scan_fwd, &temp_str); ++ } ++ str_free(&scan_fwd); ++ } + /* Chop matched string out of remainder */ + str_mid_to_end(&name_remain_str, &temp_str, + indexx + str_getlen(&s_match_needed_str)); --- vsftpd-2.2.2.orig/debian/patches/02-config.patch +++ vsftpd-2.2.2/debian/patches/02-config.patch @@ -0,0 +1,120 @@ +Author: Daniel Jacobowitz +Description: Set debian default configuration. + +diff -Naurp vsftpd.orig/tunables.c vsftpd/tunables.c +--- vsftpd.orig/tunables.c 2009-07-15 22:08:27.000000000 +0200 ++++ vsftpd/tunables.c 2009-11-06 13:33:34.000000000 +0100 +@@ -246,7 +246,7 @@ tunables_load_defaults() + /* -rw------- */ + tunable_chown_upload_mode = 0600; + +- install_str_setting("/usr/share/empty", &tunable_secure_chroot_dir); ++ install_str_setting("/var/run/vsftpd/empty", &tunable_secure_chroot_dir); + install_str_setting("ftp", &tunable_ftp_username); + install_str_setting("root", &tunable_chown_username); + install_str_setting("/var/log/xferlog", &tunable_xferlog_file); +@@ -256,7 +256,7 @@ tunables_load_defaults() + install_str_setting(0, &tunable_ftpd_banner); + install_str_setting("/etc/vsftpd.banned_emails", &tunable_banned_email_file); + install_str_setting("/etc/vsftpd.chroot_list", &tunable_chroot_list_file); +- install_str_setting("ftp", &tunable_pam_service_name); ++ install_str_setting("vsftpd", &tunable_pam_service_name); + install_str_setting("ftp", &tunable_guest_username); + install_str_setting("/etc/vsftpd.user_list", &tunable_userlist_file); + install_str_setting(0, &tunable_anon_root); +diff -Naurp vsftpd.orig/vsftpd.conf vsftpd/vsftpd.conf +--- vsftpd.orig/vsftpd.conf 2009-11-06 08:41:11.000000000 +0100 ++++ vsftpd/vsftpd.conf 2009-11-06 13:35:37.000000000 +0100 +@@ -8,6 +8,17 @@ + # Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's + # capabilities. + # ++# ++# Run standalone? vsftpd can run either from an inetd or as a standalone ++# daemon started from an initscript. ++listen=YES ++# ++# Run standalone with IPv6? ++# Like the listen parameter, except vsftpd will listen on an IPv6 socket ++# instead of an IPv4 one. This parameter and the listen parameter are mutually ++# exclusive. ++#listen_ipv6=YES ++# + # Allow anonymous FTP? (Beware - allowed by default if you comment this out). + anonymous_enable=YES + # +@@ -34,6 +45,12 @@ anonymous_enable=YES + # go into a certain directory. + dirmessage_enable=YES + # ++# If enabled, vsftpd will display directory listings with the time ++# in your local time zone. The default is to display GMT. The ++# times returned by the MDTM FTP command are also affected by this ++# option. ++use_localtime=YES ++# + # Activate logging of uploads/downloads. + xferlog_enable=YES + # +@@ -89,6 +106,11 @@ connect_from_port_20=YES + # (default follows) + #banned_email_file=/etc/vsftpd.banned_emails + # ++# You may restrict local users to their home directories. See the FAQ for ++# the possible risks in this before using chroot_local_user or ++# chroot_list_enable below. ++#chroot_local_user=YES ++# + # You may specify an explicit list of local users to chroot() to their home + # directory. If chroot_local_user is YES, then this list becomes a list of + # users to NOT chroot(). +@@ -103,12 +125,20 @@ connect_from_port_20=YES + # the presence of the "-R" option, so there is a strong case for enabling it. + #ls_recurse_enable=YES + # +-# When "listen" directive is enabled, vsftpd runs in standalone mode and +-# listens on IPv4 sockets. This directive cannot be used in conjunction +-# with the listen_ipv6 directive. +-listen=YES ++# Debian customization + # +-# This directive enables listening on IPv6 sockets. To listen on IPv4 and IPv6 +-# sockets, you must run two copies of vsftpd with two configuration files. +-# Make sure, that one of the listen options is commented !! +-#listen_ipv6=YES ++# Some of vsftpd's settings don't fit the Debian filesystem layout by ++# default. These settings are more Debian-friendly. ++# ++# This option should be the name of a directory which is empty. Also, the ++# directory should not be writable by the ftp user. This directory is used ++# as a secure chroot() jail at times vsftpd does not require filesystem ++# access. ++secure_chroot_dir=/var/run/vsftpd/empty ++# ++# This string is the name of the PAM service vsftpd will use. ++pam_service_name=vsftpd ++# ++# This option specifies the location of the RSA certificate to use for SSL ++# encrypted connections. ++rsa_cert_file=/etc/ssl/private/vsftpd.pem +diff -Naurp vsftpd.orig/vsftpd.conf.5 vsftpd/vsftpd.conf.5 +--- vsftpd.orig/vsftpd.conf.5 2009-11-06 08:41:11.000000000 +0100 ++++ vsftpd/vsftpd.conf.5 2009-11-06 13:37:10.000000000 +0100 +@@ -940,7 +940,7 @@ Default: nobody + .B pam_service_name + This string is the name of the PAM service vsftpd will use. + +-Default: ftp ++Default: vsftpd + .TP + .B pasv_address + Use this option to override the IP address that vsftpd will advertise in +@@ -969,7 +969,7 @@ This option should be the name of a dire + directory should not be writable by the ftp user. This directory is used + as a secure chroot() jail at times vsftpd does not require filesystem access. + +-Default: /usr/share/empty ++Default: /var/run/vsftpd/empty + .TP + .B ssl_ciphers + This option can be used to select which SSL ciphers vsftpd will allow for --- vsftpd-2.2.2.orig/debian/patches/09-disable-anonymous.patch +++ vsftpd-2.2.2/debian/patches/09-disable-anonymous.patch @@ -0,0 +1,18 @@ +diff -Naurp vsftpd-2.2.2.orig/vsftpd.conf vsftpd-2.2.2/vsftpd.conf +--- vsftpd-2.2.2.orig/vsftpd.conf 2010-03-15 14:58:59.982885227 -0400 ++++ vsftpd-2.2.2/vsftpd.conf 2010-03-15 15:00:01.732885109 -0400 +@@ -19,11 +19,11 @@ listen=YES + # exclusive. + #listen_ipv6=YES + # +-# Allow anonymous FTP? (Beware - allowed by default if you comment this out). +-anonymous_enable=YES ++# Allow anonymous FTP? (Disabled by default) ++anonymous_enable=NO + # + # Uncomment this to allow local users to log in. +-#local_enable=YES ++local_enable=YES + # + # Uncomment this to enable any form of FTP write command. + #write_enable=YES --- vsftpd-2.2.2.orig/debian/patches/06-whitespaces.patch +++ vsftpd-2.2.2/debian/patches/06-whitespaces.patch @@ -0,0 +1,81 @@ +Author: Jiri Skala +Description: trim white spaces from option values (Closes: #419857, #536803). + +diff -Naurp vsftpd.orig/parseconf.c vsftpd/parseconf.c +--- vsftpd.orig/parseconf.c 2009-10-02 14:15:18.000000000 +0200 ++++ vsftpd/parseconf.c 2009-10-18 11:28:31.000000000 +0200 +@@ -275,7 +275,7 @@ vsf_parseconf_load_setting(const char* p + } + else + { +- *p_curr_setting = str_strdup(&s_value_str); ++ *p_curr_setting = str_strdup_trimmed(&s_value_str); + } + return; + } +diff -Naurp vsftpd.orig/str.c vsftpd/str.c +--- vsftpd.orig/str.c 2009-10-02 14:15:18.000000000 +0200 ++++ vsftpd/str.c 2009-10-18 11:28:31.000000000 +0200 +@@ -89,6 +89,18 @@ str_strdup(const struct mystr* p_str) + return vsf_sysutil_strdup(str_getbuf(p_str)); + } + ++const char* ++str_strdup_trimmed(const struct mystr* p_str) ++{ ++ const char* p_trimmed = str_getbuf(p_str); ++ int h, t, newlen; ++ ++ for (h = 0; h < (int)str_getlen(p_str) && vsf_sysutil_isspace(p_trimmed[h]); h++) ; ++ for (t = str_getlen(p_str) - 1; t >= 0 && vsf_sysutil_isspace(p_trimmed[t]); t--) ; ++ newlen = t - h + 1; ++ return newlen ? vsf_sysutil_strndup(p_trimmed+h, (unsigned int)newlen) : 0L; ++} ++ + void + str_alloc_alt_term(struct mystr* p_str, const char* p_src, char term) + { +diff -Naurp vsftpd.orig/str.h vsftpd/str.h +--- vsftpd.orig/str.h 2009-10-02 14:15:18.000000000 +0200 ++++ vsftpd/str.h 2009-10-18 11:28:31.000000000 +0200 +@@ -31,6 +31,7 @@ void str_alloc_ulong(struct mystr* p_str + void str_alloc_filesize_t(struct mystr* p_str, filesize_t the_filesize); + void str_copy(struct mystr* p_dest, const struct mystr* p_src); + const char* str_strdup(const struct mystr* p_str); ++const char* str_strdup_trimmed(const struct mystr* p_str); + void str_empty(struct mystr* p_str); + void str_free(struct mystr* p_str); + void str_trunc(struct mystr* p_str, unsigned int trunc_len); +diff -Naurp vsftpd.orig/sysutil.c vsftpd/sysutil.c +--- vsftpd.orig/sysutil.c 2009-10-02 14:15:18.000000000 +0200 ++++ vsftpd/sysutil.c 2009-10-18 11:28:31.000000000 +0200 +@@ -1033,6 +1033,18 @@ vsf_sysutil_strdup(const char* p_str) + return strdup(p_str); + } + ++char* ++vsf_sysutil_strndup(const char* p_str, unsigned int p_len) ++{ ++ char *new = (char *)malloc(p_len+1); ++ ++ if (new == NULL) ++ return NULL; ++ ++ new[p_len]='\0'; ++ return (char *)memcpy(new, p_str, p_len); ++} ++ + void + vsf_sysutil_memclr(void* p_dest, unsigned int size) + { +diff -Naurp vsftpd.orig/sysutil.h vsftpd/sysutil.h +--- vsftpd.orig/sysutil.h 2009-10-02 14:15:18.000000000 +0200 ++++ vsftpd/sysutil.h 2009-10-18 11:28:31.000000000 +0200 +@@ -186,6 +186,7 @@ int vsf_sysutil_wait_get_exitcode( + /* Various string functions */ + unsigned int vsf_sysutil_strlen(const char* p_text); + char* vsf_sysutil_strdup(const char* p_str); ++char* vsf_sysutil_strndup(const char* p_str, unsigned int p_len); + void vsf_sysutil_memclr(void* p_dest, unsigned int size); + void vsf_sysutil_memcpy(void* p_dest, const void* p_src, + const unsigned int size); --- vsftpd-2.2.2.orig/debian/patches/series +++ vsftpd-2.2.2/debian/patches/series @@ -0,0 +1,9 @@ +01-builddefs.patch +02-config.patch +03-db-doc.patch +04-alpha.patch +05-link-local.patch +06-whitespaces.patch +07-greedy.patch +07_vsftpd-enable-utf8.patch +09-disable-anonymous.patch --- vsftpd-2.2.2.orig/debian/patches/05-link-local.patch +++ vsftpd-2.2.2/debian/patches/05-link-local.patch @@ -0,0 +1,91 @@ +Author: Michael Stapelberg +Description: + vsftpd does not accept IPv6 scope identifier in listen_address6 + (Closes: #544993). + . + When specifying a link-local address, you need a scope identifier (tha name of + the index usually), thus you cannot use the following: + listen_address6=fe80::21f:16ff:fe06:3aab + but you have to use: + listen_address6=fe80::21f:16ff:fe06:3aab%eth0 + so that it is clear on which interface this link-local address should be used. + . + Unfortunately, vsftpd does not correctly parse the address mentioned above and + thus fails to be useful in link-local-only environments. + . + This patch fixes it. + +diff -Naurp vsftpd.orig/standalone.c vsftpd/standalone.c +--- vsftpd.orig/standalone.c 2009-10-02 14:15:18.000000000 +0200 ++++ vsftpd/standalone.c 2009-10-17 17:10:02.000000000 +0200 +@@ -7,6 +7,8 @@ + * Code to listen on the network and launch children servants. + */ + ++#include ++ + #include "standalone.h" + + #include "parseconf.h" +@@ -111,8 +113,17 @@ vsf_standalone_main(void) + else + { + struct mystr addr_str = INIT_MYSTR; ++ struct mystr scope_id = INIT_MYSTR; + const unsigned char* p_raw_addr; ++ unsigned int if_index = 0; ++ ++ /* See if we got a scope id */ + str_alloc_text(&addr_str, tunable_listen_address6); ++ str_split_char(&addr_str, &scope_id, '%'); ++ if (str_getlen(&scope_id) > 0) { ++ if_index = if_nametoindex(str_getbuf(&scope_id)); ++ str_free(&scope_id); ++ } + p_raw_addr = vsf_sysutil_parse_ipv6(&addr_str); + str_free(&addr_str); + if (!p_raw_addr) +@@ -120,6 +131,7 @@ vsf_standalone_main(void) + die2("bad listen_address6: ", tunable_listen_address6); + } + vsf_sysutil_sockaddr_set_ipv6addr(p_sockaddr, p_raw_addr); ++ vsf_sysutil_sockaddr_set_ipv6scope(p_sockaddr, if_index); + } + retval = vsf_sysutil_bind(listen_sock, p_sockaddr); + vsf_sysutil_free(p_sockaddr); +diff -Naurp vsftpd.orig/sysutil.c vsftpd/sysutil.c +--- vsftpd.orig/sysutil.c 2009-10-02 14:15:18.000000000 +0200 ++++ vsftpd/sysutil.c 2009-10-17 17:10:02.000000000 +0200 +@@ -2039,6 +2039,19 @@ vsf_sysutil_sockaddr_set_ipv6addr(struct + } + } + ++int ++vsf_sysutil_sockaddr_get_ipv6scope(struct vsf_sysutil_sockaddr* p_sockptr) ++{ ++ return p_sockptr->u.u_sockaddr_in6.sin6_scope_id; ++} ++ ++void ++vsf_sysutil_sockaddr_set_ipv6scope(struct vsf_sysutil_sockaddr* p_sockptr, ++ const int scope_id) ++{ ++ p_sockptr->u.u_sockaddr_in6.sin6_scope_id = scope_id; ++} ++ + const void* + vsf_sysutil_sockaddr_ipv6_v4(const struct vsf_sysutil_sockaddr* p_addr) + { +diff -Naurp vsftpd.orig/sysutil.h vsftpd/sysutil.h +--- vsftpd.orig/sysutil.h 2009-10-02 14:15:18.000000000 +0200 ++++ vsftpd/sysutil.h 2009-10-17 17:10:02.000000000 +0200 +@@ -228,6 +228,9 @@ void vsf_sysutil_sockaddr_set_ipv4addr(s + const unsigned char* p_raw); + void vsf_sysutil_sockaddr_set_ipv6addr(struct vsf_sysutil_sockaddr* p_sockptr, + const unsigned char* p_raw); ++void vsf_sysutil_sockaddr_set_ipv6scope(struct vsf_sysutil_sockaddr* p_sockptr, ++ const int scope_id); ++int vsf_sysutil_sockaddr_get_ipv6scope(struct vsf_sysutil_sockaddr* p_sockptr); + void vsf_sysutil_sockaddr_set_any(struct vsf_sysutil_sockaddr* p_sockaddr); + unsigned short vsf_sysutil_sockaddr_get_port( + const struct vsf_sysutil_sockaddr* p_sockptr); --- vsftpd-2.2.2.orig/debian/patches/01-builddefs.patch +++ vsftpd-2.2.2/debian/patches/01-builddefs.patch @@ -0,0 +1,18 @@ +Author: Daniel Jacobowitz +Description: Build with tcpwrapper and SSL support. + +diff -Naurp vsftpd.orig/builddefs.h vsftpd/builddefs.h +--- vsftpd.orig/builddefs.h 2009-01-31 00:02:36.000000000 +0000 ++++ vsftpd/builddefs.h 2009-01-31 00:26:34.000000000 +0000 +@@ -1,9 +1,9 @@ + #ifndef VSF_BUILDDEFS_H + #define VSF_BUILDDEFS_H + +-#undef VSF_BUILD_TCPWRAPPERS ++#define VSF_BUILD_TCPWRAPPERS 1 + #define VSF_BUILD_PAM +-#undef VSF_BUILD_SSL ++#define VSF_BUILD_SSL + + #endif /* VSF_BUILDDEFS_H */ + --- vsftpd-2.2.2.orig/debian/patches/04-alpha.patch +++ vsftpd-2.2.2/debian/patches/04-alpha.patch @@ -0,0 +1,18 @@ +Author: Daniel Baumann +Description: + Don't define VSF_SYSDEP_HAVE_LINUX_CLONE on alpha to avoid FTBFS + (Closes: #540860). + +diff -Naurp vsftpd.orig/sysdeputil.c vsftpd/sysdeputil.c +--- vsftpd.orig/sysdeputil.c 2009-09-20 16:26:21.000000000 +0000 ++++ vsftpd/sysdeputil.c 2009-09-20 16:27:13.000000000 +0000 +@@ -67,7 +67,9 @@ + #if defined(__linux__) + #include + #include ++#if !defined(__alpha__) + #define VSF_SYSDEP_HAVE_LINUX_CLONE ++#endif + #include + #ifndef CLONE_NEWPID + #define CLONE_NEWPID 0x20000000 --- vsftpd-2.2.2.orig/debian/patches/07_vsftpd-enable-utf8.patch +++ vsftpd-2.2.2/debian/patches/07_vsftpd-enable-utf8.patch @@ -0,0 +1,55 @@ +diff -Naurp vsftpd-2.2.0.orig/features.c vsftpd-2.2.0/features.c +--- vsftpd-2.2.0.orig/features.c 2008-12-04 01:00:47.000000000 -0500 ++++ vsftpd-2.2.0/features.c 2009-08-11 09:36:10.000000000 -0400 +@@ -21,6 +21,10 @@ handle_feat(struct vsf_session* p_sess) + vsf_cmdio_write_raw(p_sess, " AUTH SSL\r\n"); + vsf_cmdio_write_raw(p_sess, " AUTH TLS\r\n"); + } ++ if (tunable_utf8_filesystem) ++ { ++ vsf_cmdio_write_raw(p_sess, " UTF8\r\n"); ++ } + if (tunable_port_enable) + { + vsf_cmdio_write_raw(p_sess, " EPRT\r\n"); +diff -Naurp vsftpd-2.2.0.orig/parseconf.c vsftpd-2.2.0/parseconf.c +--- vsftpd-2.2.0.orig/parseconf.c 2009-07-18 01:56:02.000000000 -0400 ++++ vsftpd-2.2.0/parseconf.c 2009-08-11 09:36:10.000000000 -0400 +@@ -28,6 +28,7 @@ static struct parseconf_bool_setting + parseconf_bool_array[] = + { + { "anonymous_enable", &tunable_anonymous_enable }, ++ { "utf8_filesystem", &tunable_utf8_filesystem }, + { "local_enable", &tunable_local_enable }, + { "pasv_enable", &tunable_pasv_enable }, + { "port_enable", &tunable_port_enable }, +diff -Naurp vsftpd-2.2.0.orig/tunables.c vsftpd-2.2.0/tunables.c +--- vsftpd-2.2.0.orig/tunables.c 2009-07-15 16:08:27.000000000 -0400 ++++ vsftpd-2.2.0/tunables.c 2009-08-11 09:36:10.000000000 -0400 +@@ -10,6 +10,7 @@ + + int tunable_anonymous_enable; + int tunable_local_enable; ++int tunable_utf8_filesystem; + int tunable_pasv_enable; + int tunable_port_enable; + int tunable_chroot_local_user; +@@ -146,6 +147,7 @@ tunables_load_defaults() + { + tunable_anonymous_enable = 1; + tunable_local_enable = 0; ++ tunable_utf8_filesystem = 0; + tunable_pasv_enable = 1; + tunable_port_enable = 1; + tunable_chroot_local_user = 0; +diff -Naurp vsftpd-2.2.0.orig/tunables.h vsftpd-2.2.0/tunables.h +--- vsftpd-2.2.0.orig/tunables.h 2009-07-06 21:37:28.000000000 -0400 ++++ vsftpd-2.2.0/tunables.h 2009-08-11 09:36:10.000000000 -0400 +@@ -11,6 +11,7 @@ void tunables_load_defaults(); + /* Booleans */ + extern int tunable_anonymous_enable; /* Allow anon logins */ + extern int tunable_local_enable; /* Allow local logins */ ++extern int tunable_utf8_filesystem; /* Server uses UTF8 Filesystem */ + extern int tunable_pasv_enable; /* Allow PASV */ + extern int tunable_port_enable; /* Allow PORT */ + extern int tunable_chroot_local_user; /* Restrict local to home dir */ --- vsftpd-2.2.2.orig/debian/po/cs.po +++ vsftpd-2.2.2/debian/po/cs.po @@ -0,0 +1,51 @@ +# Czech translation of vsftpd debconf templates. +# Copyright (C) 2009 Vítězslav Kotrla +# This file is distributed under the same license as the vsftpd package. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: vsftpd@packages.debian.org\n" +"POT-Creation-Date: 2009-05-30 08:24+0000\n" +"PO-Revision-Date: 2009-06-21 08:20+0200\n" +"Last-Translator: Vítězslav Kotrla \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: string +#. Description +#: ../vsftpd.templates:1001 +msgid "Dedicated system account for the vsftpd FTP daemon:" +msgstr "Vyhrazený systémový účet, pod kterým bude běžet FTP démon vsftpd:" + +#. Type: string +#. Description +#: ../vsftpd.templates:1001 +msgid "" +"The FTP server must use a dedicated account for its operation so that the " +"system's security is not compromised by running it with superuser privileges." +msgstr "" +"Pokud by byl FTP server spuštěn se superuživatelskými oprávněními, mohlo by dojít " +"ke kompromitaci zabezpečení systému. Proto musí FTP server pro svoji činnost používat " +"vyhrazený neprivilegovaný účet." + +#. Type: string +#. Description +#: ../vsftpd.templates:1001 +msgid "Please choose that account's username." +msgstr "Zvolte prosím název totoho účtu." + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "FTP root directory:" +msgstr "Kořenový adresář FTP:" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Please specify the directory that will be used as root for the FTP server." +msgstr "Zadejte prosím adresář, ve kterém bude umístěn kořen FTP serveru:" --- vsftpd-2.2.2.orig/debian/po/zh_CN.po +++ vsftpd-2.2.2/debian/po/zh_CN.po @@ -0,0 +1,50 @@ +# Simplified Chinese translation of vsftpd debconf templates. +# Copyright (C) 2009 Deng Xiyue +# This file is distributed under the same license as the vsftpd package. +# +msgid "" +msgstr "" +"Project-Id-Version: vsftpd\n" +"Report-Msgid-Bugs-To: vsftpd@packages.debian.org\n" +"POT-Creation-Date: 2009-03-26 07:45+0100\n" +"PO-Revision-Date: 2009-03-26 16:48+0800\n" +"Last-Translator: Deng Xiyue \n" +"Language-Team: Debian Chinese GB \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Dedicated system account for the vsftpd FTP daemon:" +msgstr "指定操作 vsftpd FTP 守护进程的专用系统帐户:" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "" +"The FTP server must use a dedicated account for its operation so that the " +"system's security is not compromised by running it with superuser privileges." +msgstr "" +"FTP 服务器必须使用一个专用的账户来进行操作,这样就不会因为使用超级用户权限运" +"行而破坏系统的安全。" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Please choose that account's username." +msgstr "请选择账户的用户名。" + +#. Type: string +#. Description +#: ../vsftpd.templates:3001 +msgid "FTP root directory:" +msgstr "FTP 根目录:" + +#. Type: string +#. Description +#: ../vsftpd.templates:3001 +msgid "" +"Please specify the directory that will be used as root for the FTP server." +msgstr "请指定用作 FTP 服务器根目录的目录。" --- vsftpd-2.2.2.orig/debian/po/it.po +++ vsftpd-2.2.2/debian/po/it.po @@ -0,0 +1,53 @@ +# Italian translation of vsftpd debconf templates. +# Copyright (C) 2009 Vincenzo Campanella +# This file is distributed under the same license as the vsftpd package. +# +msgid "" +msgstr "" +"Project-Id-Version: vsftpd 2.0.7-4\n" +"Report-Msgid-Bugs-To: vsftpd@packages.debian.org\n" +"POT-Creation-Date: 2009-03-26 07:45+0100\n" +"PO-Revision-Date: 2009-03-26 08:52+0100\n" +"Last-Translator: Vincenzo Campanella \n" +"Language-Team: Italian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Dedicated system account for the vsftpd FTP daemon:" +msgstr "Account di sistema dedicato per il demone FTP di vsftpd:" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "" +"The FTP server must use a dedicated account for its operation so that the " +"system's security is not compromised by running it with superuser privileges." +msgstr "" +"Il server FTP deve utilizzare un account dedicato per eseguire le proprie " +"operazioni, in modo che la sicurezza del sistema non rischi di essere " +"compromessa eseguendolo con privilegi di superutente." + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Please choose that account's username." +msgstr "Scegliere il nome utente di tale account." + +#. Type: string +#. Description +#: ../vsftpd.templates:3001 +msgid "FTP root directory:" +msgstr "Directory radice FTP:" + +#. Type: string +#. Description +#: ../vsftpd.templates:3001 +msgid "" +"Please specify the directory that will be used as root for the FTP server." +msgstr "" +"Specificare la directory che verrà utilizzata come radice per il server FTP." --- vsftpd-2.2.2.orig/debian/po/templates.pot +++ vsftpd-2.2.2/debian/po/templates.pot @@ -0,0 +1,50 @@ +# 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: vsftpd@packages.debian.org\n" +"POT-Creation-Date: 2009-03-26 07:45+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: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Dedicated system account for the vsftpd FTP daemon:" +msgstr "" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "" +"The FTP server must use a dedicated account for its operation so that the " +"system's security is not compromised by running it with superuser privileges." +msgstr "" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Please choose that account's username." +msgstr "" + +#. Type: string +#. Description +#: ../vsftpd.templates:3001 +msgid "FTP root directory:" +msgstr "" + +#. Type: string +#. Description +#: ../vsftpd.templates:3001 +msgid "" +"Please specify the directory that will be used as root for the FTP server." +msgstr "" --- vsftpd-2.2.2.orig/debian/po/fr.po +++ vsftpd-2.2.2/debian/po/fr.po @@ -0,0 +1,51 @@ +# French translation of vsftpd debconf templates. +# Copyright (C) 2009 Steve Petruzzello +# This file is distributed under the same license as the vsftpd package. +# +msgid "" +msgstr "" +"Project-Id-Version: 2.1.0-1\n" +"Report-Msgid-Bugs-To: vsftpd@packages.debian.org\n" +"POT-Creation-Date: 2009-03-26 07:45+0100\n" +"PO-Revision-Date: 2009-03-26 01:12+0100\n" +"Last-Translator: Steve Petruzzello \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Dedicated system account for the vsftpd FTP daemon:" +msgstr "Identifiant dédié pour le démon FTP vsftpd :" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "" +"The FTP server must use a dedicated account for its operation so that the " +"system's security is not compromised by running it with superuser privileges." +msgstr "" +"Le serveur FTP doit être exécuté avec un identifiant spécifique, différent " +"du superutilisateur, afin de ne pas compromettre la sécurité du système." + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Please choose that account's username." +msgstr "Veuillez choisir cet identifiant." + +#. Type: string +#. Description +#: ../vsftpd.templates:3001 +msgid "FTP root directory:" +msgstr "Répertoire racine FTP :" + +#. Type: string +#. Description +#: ../vsftpd.templates:3001 +msgid "" +"Please specify the directory that will be used as root for the FTP server." +msgstr "" +"Veuillez choisir le répertoire racine qui sera utilisé par le serveur FTP." --- vsftpd-2.2.2.orig/debian/po/fi.po +++ vsftpd-2.2.2/debian/po/fi.po @@ -0,0 +1,53 @@ +# Finnish translation of vsftpd debconf templates. +# Copyright (C) 2009 Esko Arajärvi +# This file is distributed under the same license as the vsftpd package. +# +msgid "" +msgstr "" +"Project-Id-Version: vsftpd\n" +"Report-Msgid-Bugs-To: vsftpd@packages.debian.org\n" +"POT-Creation-Date: 2009-03-26 07:45+0100\n" +"PO-Revision-Date: 2009-04-07 22:19+0300\n" +"Last-Translator: Esko Arajärvi \n" +"Language-Team: Finnish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Lokalize 0.3\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Dedicated system account for the vsftpd FTP daemon:" +msgstr "Dedikoitu järjestelmätunnus vsfptd:n FTP-taustaohjelman ajamiseen:" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "" +"The FTP server must use a dedicated account for its operation so that the " +"system's security is not compromised by running it with superuser privileges." +msgstr "" +"FTP-palvelimen tulee käyttää dedikoitua tunnusta toiminnoissaan, jotta " +"järjestelmän turvallisuus ei vaarannu kuten käytettäessä " +"pääkäyttäjäoikeuksia." + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Please choose that account's username." +msgstr "Valitse kyseisen tunnuksen nimi." + +#. Type: string +#. Description +#: ../vsftpd.templates:3001 +msgid "FTP root directory:" +msgstr "FTP-juurihakemisto:" + +#. Type: string +#. Description +#: ../vsftpd.templates:3001 +msgid "" +"Please specify the directory that will be used as root for the FTP server." +msgstr "Anna hakemisto, jota käytetään FTP-palvelimen juurena." --- vsftpd-2.2.2.orig/debian/po/de.po +++ vsftpd-2.2.2/debian/po/de.po @@ -0,0 +1,53 @@ +# German translation of vsftpd debconf templates. +# Copyright (C) 2009 Kai Wasserbäch +# Copyright (C) 2009 Helge Kreutzmann +# This file is distributed under the same license as the vsftpd package. +# +msgid "" +msgstr "" +"Project-Id-Version: vsftpd 2.0.7-4\n" +"Report-Msgid-Bugs-To: vsftpd@packages.debian.org\n" +"POT-Creation-Date: 2009-03-26 07:45+0100\n" +"PO-Revision-Date: 2009-04-06 19:01+0200\n" +"Last-Translator: Daniel Baumann \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Dedicated system account for the vsftpd FTP daemon:" +msgstr "Eigenes Systemkonto für den vsftpd FTP-Daemon:" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "" +"The FTP server must use a dedicated account for its operation so that the " +"system's security is not compromised by running it with superuser privileges." +msgstr "" +"Der FTP-Server muss ein eigenes Konto für den Betrieb verwenden, um die " +"Sicherheit des Systems nicht durch das Betreiben mit Superuser-Rechten zu " +"kompromittieren." + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Please choose that account's username." +msgstr "Bitte wählen Sie den Benutzernamen dieses Kontos." + +#. Type: string +#. Description +#: ../vsftpd.templates:3001 +msgid "FTP root directory:" +msgstr "FTP-Wurzelverzeichnis:" + +#. Type: string +#. Description +#: ../vsftpd.templates:3001 +msgid "" +"Please specify the directory that will be used as root for the FTP server." +msgstr "" +"Bitte geben Sie das Verzeichnis an, welches als Wurzelverzeichnis für den " +"FTP-Server verwendet werden soll." --- vsftpd-2.2.2.orig/debian/po/ru.po +++ vsftpd-2.2.2/debian/po/ru.po @@ -0,0 +1,56 @@ +# German translation of vsftpd debconf templates. +# Copyright (C) 2009 Sergey Alyoshin +# Copyright (C) 2009 Yuri Kozlov +# This file is distributed under the same license as the vsftpd package. +# +msgid "" +msgstr "" +"Project-Id-Version: vsftpd 2.0.7-4\n" +"Report-Msgid-Bugs-To: vsftpd@packages.debian.org\n" +"POT-Creation-Date: 2009-03-26 07:45+0100\n" +"PO-Revision-Date: 2009-04-08 21:08+0400\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Dedicated system account for the vsftpd FTP daemon:" +msgstr "Специально выделенная системная учётная запись для FTP службы vsftpd:" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "" +"The FTP server must use a dedicated account for its operation so that the " +"system's security is not compromised by running it with superuser privileges." +msgstr "" +"Для улучшения безопасности системы FTP сервер должен использовать специально " +"выделенную учётную запись, а не запускаться с правами суперпользователя." + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Please choose that account's username." +msgstr "Укажите имя такой учётной записи." + +#. Type: string +#. Description +#: ../vsftpd.templates:3001 +msgid "FTP root directory:" +msgstr "Корневой каталог FTP:" + +#. Type: string +#. Description +#: ../vsftpd.templates:3001 +msgid "" +"Please specify the directory that will be used as root for the FTP server." +msgstr "" +"Укажите каталог, который будет использован в качестве корневого каталога FTP " +"сервера." --- vsftpd-2.2.2.orig/debian/po/pt.po +++ vsftpd-2.2.2/debian/po/pt.po @@ -0,0 +1,54 @@ +# Portuguese translation of vsftpd debconf templates. +# Copyright (C) 2009 Américo Monteiro +# This file is distributed under the same license as the vsftpd package. +# +msgid "" +msgstr "" +"Project-Id-Version: vsftpd 2.0.7-4\n" +"Report-Msgid-Bugs-To: vsftpd@packages.debian.org\n" +"POT-Creation-Date: 2009-03-26 07:45+0100\n" +"PO-Revision-Date: 2009-03-26 19:12+0000\n" +"Last-Translator: Américo Monteiro \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Dedicated system account for the vsftpd FTP daemon:" +msgstr "Conta dedicada do sistema para o deamon FTP vsftpd:" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "" +"The FTP server must use a dedicated account for its operation so that the " +"system's security is not compromised by running it with superuser privileges." +msgstr "" +"O servidor FTP tem que usar uma conta dedicada para as suas operações, isto " +"para que a segurança do sistema não seja comprometida ao corrê-lo com " +"privilégios de superutilizador." + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Please choose that account's username." +msgstr "Por favor escolha o nome dessa conta." + +#. Type: string +#. Description +#: ../vsftpd.templates:3001 +msgid "FTP root directory:" +msgstr "Directório raiz FTP:" + +#. Type: string +#. Description +#: ../vsftpd.templates:3001 +msgid "" +"Please specify the directory that will be used as root for the FTP server." +msgstr "" +"Por favor especifique o directório que será usado como a raiz do servidor " +"FTP." --- vsftpd-2.2.2.orig/debian/po/POTFILES.in +++ vsftpd-2.2.2/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] vsftpd.templates --- vsftpd-2.2.2.orig/debian/po/ja.po +++ vsftpd-2.2.2/debian/po/ja.po @@ -0,0 +1,51 @@ +# Japanese translation of vsftpd debconf templates. +# Copyright (C) 2009 Hideki Yamane +# This file is distributed under the same license as the vsftpd package. +# +msgid "" +msgstr "" +"Project-Id-Version: vsftpd 2.0.7-4\n" +"Report-Msgid-Bugs-To: vsftpd@packages.debian.org\n" +"POT-Creation-Date: 2009-03-26 07:45+0100\n" +"PO-Revision-Date: 2009-04-09 19:20+0900\n" +"Last-Translator: Hideki Yamane (Debian-JP) \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Dedicated system account for the vsftpd FTP daemon:" +msgstr "vsftpd FTP デーモン専用のシステムアカウント:" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "" +"The FTP server must use a dedicated account for its operation so that the " +"system's security is not compromised by running it with superuser privileges." +msgstr "" +"FTP サーバはその動作について専用のアカウントを使うようになっているため、管理" +"者特権で動作していてもシステムのセキュリティは侵害されません。" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Please choose that account's username." +msgstr "アカウントのユーザ名を選んでください。" + +#. Type: string +#. Description +#: ../vsftpd.templates:3001 +msgid "FTP root directory:" +msgstr "FTP の root ディレクトリ:" + +#. Type: string +#. Description +#: ../vsftpd.templates:3001 +msgid "" +"Please specify the directory that will be used as root for the FTP server." +msgstr "" +"FTP サーバの root ディレクトリとして利用するディレクトリを指定してください。" --- vsftpd-2.2.2.orig/debian/po/sv.po +++ vsftpd-2.2.2/debian/po/sv.po @@ -0,0 +1,52 @@ +# Swedish translation of vsftpd debconf templates. +# Copyright (C) 2009 Martin Bagge +# This file is distributed under the same license as the vsftpd package. +# +msgid "" +msgstr "" +"Project-Id-Version: vsftpd\n" +"Report-Msgid-Bugs-To: vsftpd@packages.debian.org\n" +"POT-Creation-Date: 2009-03-26 07:45+0100\n" +"PO-Revision-Date: 2009-04-07 18:36+0100\n" +"Last-Translator: Martin Bagge \n" +"Language-Team: swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"X-Poedit-Language: Swedish\n" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Dedicated system account for the vsftpd FTP daemon:" +msgstr "Dedikerat systemkonto för ftp-tjänsten vsftpd:" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "" +"The FTP server must use a dedicated account for its operation so that the " +"system's security is not compromised by running it with superuser privileges." +msgstr "" +"FTP-servern måste ha ett dedikerat konto för att fungera på ett säkert sätt, " +"att använda privilegier från en superanvändare är inte säkert." + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Please choose that account's username." +msgstr "Ange kontots användarnamn." + +#. Type: string +#. Description +#: ../vsftpd.templates:3001 +msgid "FTP root directory:" +msgstr "Rot-katalog för FTP:" + +#. Type: string +#. Description +#: ../vsftpd.templates:3001 +msgid "" +"Please specify the directory that will be used as root for the FTP server." +msgstr "Ange katalog som ska agera rot-nivå för ftp-servern." --- vsftpd-2.2.2.orig/debian/po/gl.po +++ vsftpd-2.2.2/debian/po/gl.po @@ -0,0 +1,53 @@ +# Galizian translation of vsftpd debconf templates. +# Copyright (C) 2009 Marce Villarino +# This file is distributed under the same license as the vsftpd package. +# +msgid "" +msgstr "" +"Project-Id-Version: templates_[yW3423]\n" +"Report-Msgid-Bugs-To: vsftpd@packages.debian.org\n" +"POT-Creation-Date: 2009-03-26 07:45+0100\n" +"PO-Revision-Date: 2009-04-15 21:32+0200\n" +"Last-Translator: marce villarino \n" +"Language-Team: Galician \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Lokalize 0.2\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Dedicated system account for the vsftpd FTP daemon:" +msgstr "Conta de usuario do sistema adicada ao daemon FTP vsftpd:" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "" +"The FTP server must use a dedicated account for its operation so that the " +"system's security is not compromised by running it with superuser privileges." +msgstr "" +"O servidor FTP debe empregar unha conta adicada a el para que a seguridade " +"do sistema non se poña en perigo ao executalo con privilexios de " +"administrador." + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Please choose that account's username." +msgstr "Escolla o nome de usuario desa conta." + +#. Type: string +#. Description +#: ../vsftpd.templates:3001 +msgid "FTP root directory:" +msgstr "Directorio raíz do FTP:" + +#. Type: string +#. Description +#: ../vsftpd.templates:3001 +msgid "" +"Please specify the directory that will be used as root for the FTP server." +msgstr "Especifique o directorio que se empregará como raíz polo servidor FTP." --- vsftpd-2.2.2.orig/debian/po/es.po +++ vsftpd-2.2.2/debian/po/es.po @@ -0,0 +1,55 @@ +# Spanish translation of vsftpd debconf templates. +# Copyright (C) 2009 Software in the Public Interest +# 2009 Fernando González de Requena +# This file is distributed under the same license as the vsftpd package. +# +msgid "" +msgstr "" +"Project-Id-Version: vsftpd 2.0.7-4\n" +"Report-Msgid-Bugs-To: vsftpd@packages.debian.org\n" +"POT-Creation-Date: 2009-03-26 07:45+0100\n" +"PO-Revision-Date: 2009-03-30 22:35+0200\n" +"Last-Translator: Fernando González de Requena \n" +"Language-Team: Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Dedicated system account for the vsftpd FTP daemon:" +msgstr "Cuenta del sistema dedicada para el demonio de FTP vsftpd:" + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "" +"The FTP server must use a dedicated account for its operation so that the " +"system's security is not compromised by running it with superuser privileges." +msgstr "" +"El servidor de FTP debe utilizar una cuenta dedicada para su funcionamiento, " +"de tal modo que la seguridad del sistema no se vea comprometida por su " +"utilización con privilegios de administración." + +#. Type: string +#. Description +#: ../vsftpd.templates:2001 +msgid "Please choose that account's username." +msgstr "Elija un nombre de usuario para esa cuenta." + +#. Type: string +#. Description +#: ../vsftpd.templates:3001 +msgid "FTP root directory:" +msgstr "Directorio raíz del servidor de FTP:" + +#. Type: string +#. Description +#: ../vsftpd.templates:3001 +msgid "" +"Please specify the directory that will be used as root for the FTP server." +msgstr "" +"Especifique el directorio que se utilizará como directorio raíz para el " +"servidor de FTP." --- vsftpd-2.2.2.orig/debian/local/ftpusers +++ vsftpd-2.2.2/debian/local/ftpusers @@ -0,0 +1,14 @@ +# /etc/ftpusers: list of users disallowed FTP access. See ftpusers(5). + +root +daemon +bin +sys +sync +games +man +lp +mail +news +uucp +nobody