--- vsftpd-2.0.7.orig/debian/vsftpd.config +++ vsftpd-2.0.7/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.0.7.orig/debian/vsftpd.README.Debian +++ vsftpd-2.0.7/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.0.7.orig/debian/rules +++ vsftpd-2.0.7/debian/rules @@ -0,0 +1,65 @@ +#!/usr/bin/make -f + +include /usr/share/quilt/quilt.make + +CFLAGS += -W -Wshadow + +update: + # Needs: shell-utils + + set -e; cd debian; \ + debconf-create-preseed *.config; \ + + set -e; for FILE in debian/*.preseed; \ + do \ + grep -v preseed $$FILE > $$FILE.tmp; \ + mv $$FILE.tmp $$FILE; \ + echo $$FILE >> debian/`basename $$FILE .preseed`.docs; \ + done + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + + $(MAKE) clean + debconf-updatepo + + dh_clean + +build: build-stamp +build-stamp: patch + dh_testdir + + $(MAKE) CFLAGS="$(CFLAGS)" LINK="" + + touch build-stamp + +install: + +binary: binary-arch + +binary-arch: build + dh_testdir + dh_testroot + dh_installchangelogs Changelog + dh_installdocs + dh_install + dh_installdirs + dh_installlogrotate + dh_installpam + dh_installinit + dh_installman + dh_installdebconf + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: + +.PHONY: clean build install binary binary-arch binary-indep --- vsftpd-2.0.7.orig/debian/compat +++ vsftpd-2.0.7/debian/compat @@ -0,0 +1 @@ +7 --- vsftpd-2.0.7.orig/debian/vsftpd.postrm +++ vsftpd-2.0.7/debian/vsftpd.postrm @@ -0,0 +1,36 @@ +#!/bin/sh + +set -e + +case "${1}" in + remove) + if [ -x /usr/sbin/deluser ] + then + deluser --quiet --system ftp + fi + + if [ -d /home/ftp ] + then + rmdir --ignore-fail-on-non-empty /home/ftp + 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.0.7.orig/debian/vsftpd.preseed +++ vsftpd-2.0.7/debian/vsftpd.preseed @@ -0,0 +1,6 @@ +################################################################################ +## vsftpd + +#vsftpd vsftpd/username string ftp +#vsftpd vsftpd/directory string /srv/ftp +################################################################################ --- vsftpd-2.0.7.orig/debian/vsftpd.logrotate +++ vsftpd-2.0.7/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.0.7.orig/debian/control +++ vsftpd-2.0.7/debian/control @@ -0,0 +1,23 @@ +Source: vsftpd +Section: net +Priority: extra +Maintainer: Daniel Baumann +Build-Depends: debhelper (>= 7), quilt, libcap2-dev [!kfreebsd-amd64 !kfreebsd-i386 !hurd-i386], libpam0g-dev, libssl-dev, libwrap0-dev, po-debconf +Standards-Version: 3.8.1 +Homepage: http://vsftpd.beasts.org/ +Vcs-Browser: http://git.debian.net/?p=debian/vsftpd.git +Vcs-Git: git://git.debian.net/git/debian/vsftpd.git + +Package: vsftpd +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, libpam-modules, netbase +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.0.7.orig/debian/vsftpd.manpages +++ vsftpd-2.0.7/debian/vsftpd.manpages @@ -0,0 +1,2 @@ +vsftpd.conf.5 +vsftpd.8 --- vsftpd-2.0.7.orig/debian/vsftpd.templates +++ vsftpd-2.0.7/debian/vsftpd.templates @@ -0,0 +1,15 @@ +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.0.7.orig/debian/changelog +++ vsftpd-2.0.7/debian/changelog @@ -0,0 +1,338 @@ +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, 5 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.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.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-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-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, 9 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.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, 1 Apr 2005 22:47:55 -0500 + +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, 4 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, 6 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, 9 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, 8 Mar 2001 01:24:06 -0500 --- vsftpd-2.0.7.orig/debian/vsftpd.dirs +++ vsftpd-2.0.7/debian/vsftpd.dirs @@ -0,0 +1 @@ +/var/run/vsftpd/empty --- vsftpd-2.0.7.orig/debian/vsftpd.install +++ vsftpd-2.0.7/debian/vsftpd.install @@ -0,0 +1,3 @@ +vsftpd /usr/sbin +vsftpd.conf /etc +debian/config/ftpusers /etc --- vsftpd-2.0.7.orig/debian/vsftpd.docs +++ vsftpd-2.0.7/debian/vsftpd.docs @@ -0,0 +1,15 @@ +AUDIT +BENCHMARKS +BUGS +EXAMPLE +FAQ +README +README.security +README.ssl +REWARD +SECURITY +SIZE +SPEED +TODO +TUNING +debian/vsftpd.preseed --- vsftpd-2.0.7.orig/debian/vsftpd.postinst +++ vsftpd-2.0.7/debian/vsftpd.postinst @@ -0,0 +1,48 @@ +#!/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 ftp + then + adduser --system --home ${_DIRECTORY} --no-create-home --quiet --gecos 'ftp daemon' --group ${_USERNAME} + else + echo "vsftpd user (${_USERNAME}) is already existing, doing nothing." + fi + + if [ ! -d "${_DIRECTORY}" ] + then + mkdir -p "${_DIRECTORY}" + chown root:nogroup ${_DIRECTORY} -R + else + echo + echo "vsftpd directory (${_DIRECTORY}) is already existing, 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.0.7.orig/debian/copyright +++ vsftpd-2.0.7/debian/copyright @@ -0,0 +1,49 @@ +Author: Chris Evans +Download: http://vsftpd.beasts.org/#download + +Files: * +Copyright: (C) 2001-2008 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.0.7.orig/debian/vsftpd.pam +++ vsftpd-2.0.7/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.0.7.orig/debian/vsftpd.init +++ vsftpd-2.0.7/debian/vsftpd.init @@ -0,0 +1,69 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: vsftpd +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Very secure FTP server +### END INIT INFO +# /etc/init.d/vsftpd +# +# Written by Sander Smeenk +# Modified by Rogério Brito + +set -e + +# Exit if vsftpd.conf doesn't have listen=yes or listen_ipv6=yes +# (mandatory for standalone operation) +if [ -f /etc/vsftpd.conf ] && ! egrep -iq "^ *listen(_ipv6)? *= *yes" /etc/vsftpd.conf; then + exit 0 +fi + +DAEMON=/usr/sbin/vsftpd +NAME=vsftpd +PATH=/sbin:/bin:/usr/sbin:/usr/bin +LOGFILE=/var/log/vsftpd.log +CHROOT=/var/run/vsftpd/empty + +test -x $DAEMON || exit 0 + +if [ ! -r "$LOGFILE" ] +then + touch $LOGFILE + chmod 640 $LOGFILE + chown root:adm $LOGFILE +fi + +case "$1" in + start) + echo -n "Starting FTP server: $NAME" + [ -d ${CHROOT} ] || mkdir -p ${CHROOT} + start-stop-daemon --start --background -m --oknodo --pidfile /var/run/vsftpd/vsftpd.pid --exec $DAEMON + echo "." + ;; + stop) + echo -n "Stopping FTP server: $NAME" + start-stop-daemon --stop --pidfile /var/run/vsftpd/vsftpd.pid --oknodo --exec $DAEMON + rm -f /var/run/vsftpd/vsftpd.pid + echo "." + ;; + restart) + echo -n "Restarting FTP server: $NAME" + start-stop-daemon --stop --pidfile /var/run/vsftpd/vsftpd.pid --oknodo --exec $DAEMON + rm -f /var/run/vsftpd/vsftpd.pid + start-stop-daemon --start --background -m --pidfile /var/run/vsftpd/vsftpd.pid --exec $DAEMON + echo "." + ;; + reload|force-reload) + echo "Reloading $NAME configuration files" + start-stop-daemon --stop --pidfile /var/run/vsftpd/vsftpd.pid --signal 1 --exec $DAEMON + echo "." + ;; + *) + echo "Usage: /etc/init.d/$NAME {start|stop|restart|reload}" + exit 1 + ;; +esac + +exit 0 --- vsftpd-2.0.7.orig/debian/patches/03-config.patch +++ vsftpd-2.0.7/debian/patches/03-config.patch @@ -0,0 +1,115 @@ +Author: Daniel Jacobowitz +Description: Set debian default configuration. + +diff -Naurp vsftpd.orig/tunables.c vsftpd/tunables.c +--- vsftpd.orig/tunables.c 2009-01-31 00:02:36.000000000 +0000 ++++ vsftpd/tunables.c 2009-01-31 02:21:50.000000000 +0000 +@@ -104,7 +104,7 @@ unsigned int tunable_max_login_fails = 3 + /* -rw------- */ + unsigned int tunable_chown_upload_mode = 0600; + +-const char* tunable_secure_chroot_dir = "/usr/share/empty"; ++const char* tunable_secure_chroot_dir = "/var/run/vsftpd/empty"; + const char* tunable_ftp_username = "ftp"; + const char* tunable_chown_username = "root"; + const char* tunable_xferlog_file = "/var/log/xferlog"; +@@ -114,7 +114,7 @@ const char* tunable_nopriv_user = "nobod + const char* tunable_ftpd_banner = 0; + const char* tunable_banned_email_file = "/etc/vsftpd.banned_emails"; + const char* tunable_chroot_list_file = "/etc/vsftpd.chroot_list"; +-const char* tunable_pam_service_name = "ftp"; ++const char* tunable_pam_service_name = "vsftpd"; + const char* tunable_guest_username = "ftp"; + const char* tunable_userlist_file = "/etc/vsftpd.user_list"; + const char* tunable_anon_root = 0; +diff -Naurp vsftpd.orig/vsftpd.conf vsftpd/vsftpd.conf +--- vsftpd.orig/vsftpd.conf 2009-01-31 00:02:36.000000000 +0000 ++++ vsftpd/vsftpd.conf 2009-01-31 02:23:48.000000000 +0000 +@@ -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 + # +@@ -88,6 +105,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(). +@@ -100,4 +122,22 @@ connect_from_port_20=YES + # sites. However, some broken FTP clients such as "ncftp" and "mirror" assume + # the presence of the "-R" option, so there is a strong case for enabling it. + #ls_recurse_enable=YES +- ++# ++# ++# Debian customization ++# ++# 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-01-31 00:02:36.000000000 +0000 ++++ vsftpd/vsftpd.conf.5 2009-01-31 02:21:50.000000000 +0000 +@@ -912,7 +912,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 +@@ -941,7 +941,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.0.7.orig/debian/patches/06-defs.patch +++ vsftpd-2.0.7/debian/patches/06-defs.patch @@ -0,0 +1,15 @@ +Author: Daniel Baumann +Description: Allow usernames up to 64 characters (Closes:#404926). + +diff -Naurp vsftpd.orig/defs.h vsftpd/defs.h +--- vsftpd.orig/defs.h 2009-01-31 00:02:36.000000000 +0000 ++++ vsftpd/defs.h 2009-02-05 15:27:24.000000000 +0000 +@@ -6,7 +6,7 @@ + #define VSFTP_COMMAND_FD 0 + + #define VSFTP_PASSWORD_MAX 128 +-#define VSFTP_USERNAME_MAX 32 ++#define VSFTP_USERNAME_MAX 64 + #define VSFTP_MAX_COMMAND_LINE 4096 + #define VSFTP_DATA_BUFSIZE 65536 + #define VSFTP_DIR_BUFSIZE 16384 --- vsftpd-2.0.7.orig/debian/patches/02-builddefs.patch +++ vsftpd-2.0.7/debian/patches/02-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.0.7.orig/debian/patches/05-db-doc.patch +++ vsftpd-2.0.7/debian/patches/05-db-doc.patch @@ -0,0 +1,18 @@ +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.0.7.orig/debian/patches/01-unused-libs.patch +++ vsftpd-2.0.7/debian/patches/01-unused-libs.patch @@ -0,0 +1,39 @@ +Author: Matej Vela +Description: Remove `-lnsl -ldl -lresolv -lutil' since we don't use any of their symbols. + +diff -Naurp vsftpd.orig/vsf_findlibs.sh vsftpd/vsf_findlibs.sh +--- vsftpd.orig/vsf_findlibs.sh 2009-01-31 00:02:36.000000000 +0000 ++++ vsftpd/vsf_findlibs.sh 2009-01-31 00:24:32.000000000 +0000 +@@ -6,7 +6,7 @@ find_func() { egrep $1 $2 >/dev/null; } + + if find_func hosts_access tcpwrap.o; then + echo "-lwrap"; +- locate_library /lib/libnsl.so && echo "-lnsl"; ++ #locate_library /lib/libnsl.so && echo "-lnsl"; + fi + + # Look for PAM (done weirdly due to distribution bugs (e.g. Debian) or the +@@ -25,19 +25,19 @@ fi + + # Look for the dynamic linker library. Needed by older RedHat when + # you link in PAM +-locate_library /lib/libdl.so && echo "-ldl"; ++#locate_library /lib/libdl.so && echo "-ldl"; + + # Look for libsocket. Solaris needs this. + locate_library /lib/libsocket.so && echo "-lsocket"; + + # Look for libnsl. Solaris needs this. +-locate_library /lib/libnsl.so && echo "-lnsl"; ++#locate_library /lib/libnsl.so && echo "-lnsl"; + + # Look for libresolv. Solaris needs this. +-locate_library /lib/libresolv.so && echo "-lresolv"; ++#locate_library /lib/libresolv.so && echo "-lresolv"; + + # Look for libutil. Older FreeBSD need this for setproctitle(). +-locate_library /usr/lib/libutil.so && echo "-lutil"; ++#locate_library /usr/lib/libutil.so && echo "-lutil"; + + # For older HP-UX... + locate_library /usr/lib/libsec.sl && echo "-lsec"; --- vsftpd-2.0.7.orig/debian/patches/04-wifexited-const.patch +++ vsftpd-2.0.7/debian/patches/04-wifexited-const.patch @@ -0,0 +1,24 @@ +Author: Martin Michlmayr +Description: Fix compilation problem on 64bit architectures (Closes: #386267). + +diff -Naurp vsftpd.orig/sysutil.c vsftpd/sysutil.c +--- vsftpd.orig/sysutil.c 2009-01-31 00:02:36.000000000 +0000 ++++ vsftpd/sysutil.c 2009-01-31 00:35:43.000000000 +0000 +@@ -601,7 +601,7 @@ int + vsf_sysutil_wait_exited_normally( + const struct vsf_sysutil_wait_retval* p_waitret) + { +- return WIFEXITED(p_waitret->exit_status); ++ return WIFEXITED(((struct vsf_sysutil_wait_retval *)p_waitret)->exit_status); + } + + int +@@ -611,7 +611,7 @@ vsf_sysutil_wait_get_exitcode(const stru + { + bug("not a normal exit in vsf_sysutil_wait_get_exitcode"); + } +- return WEXITSTATUS(p_waitret->exit_status); ++ return WEXITSTATUS(((struct vsf_sysutil_wait_retval *)p_waitret)->exit_status); + } + + void --- vsftpd-2.0.7.orig/debian/patches/series +++ vsftpd-2.0.7/debian/patches/series @@ -0,0 +1,6 @@ +01-unused-libs.patch +02-builddefs.patch +03-config.patch +04-wifexited-const.patch +05-db-doc.patch +06-defs.patch --- vsftpd-2.0.7.orig/debian/config/ftpusers +++ vsftpd-2.0.7/debian/config/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 --- vsftpd-2.0.7.orig/debian/po/pt.po +++ vsftpd-2.0.7/debian/po/pt.po @@ -0,0 +1,75 @@ +# 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-3\n" +"Report-Msgid-Bugs-To: vsftpd@packages.debian.org\n" +"POT-Creation-Date: 2009-03-21 08:13+0100\n" +"PO-Revision-Date: 2009-02-20 18:54+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 +#. Default +#: ../vsftpd.templates:1001 +msgid "ftp" +msgstr "ftp" + +#. Type: string +#. Description +#: ../vsftpd.templates:1002 +#, fuzzy +#| msgid "Dedicated system account for ftp:" +msgid "Dedicated system account for the vsftpd FTP daemon:" +msgstr "Conta do sistema dedicado para ftp:" + +#. Type: string +#. Description +#: ../vsftpd.templates:1002 +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:1002 +msgid "Please choose that account's username." +msgstr "" + +#. Type: string +#. Default +#: ../vsftpd.templates:2001 +msgid "/srv/ftp" +msgstr "/srv/ftp" + +#. Type: string +#. Description +#: ../vsftpd.templates:2002 +msgid "FTP root directory:" +msgstr "" + +#. Type: string +#. Description +#: ../vsftpd.templates:2002 +#, fuzzy +#| msgid "Please specify the directory that should serve as the ftp root." +msgid "" +"Please specify the directory that will be used as root for the FTP server." +msgstr "Por favor especifique o directório que deverá servir de raiz ftp." + +#~ msgid "" +#~ "It is required that a unique account is defined which the ftp server can " +#~ "use as a totally isolated and unprivileged user." +#~ msgstr "" +#~ "É necessário que seja definida uma conta única a qual o servidor ftp " +#~ "possa usar como um utilizador totalmente isolado e desprivilegiado." + +#~ msgid "Directory for ftp root?" +#~ msgstr "Directório para a raiz ftp?" --- vsftpd-2.0.7.orig/debian/po/de.po +++ vsftpd-2.0.7/debian/po/de.po @@ -0,0 +1,77 @@ +# German translation of vsftpd debconf templates. +# Copyright (C) 2009 Kai Wasserbäch +# This file is distributed under the same license as the vsftpd package. +# +msgid "" +msgstr "" +"Project-Id-Version: vsftpd 2.0.7-3\n" +"Report-Msgid-Bugs-To: vsftpd@packages.debian.org\n" +"POT-Creation-Date: 2009-03-21 08:13+0100\n" +"PO-Revision-Date: 2009-02-23 20:01+0100\n" +"Last-Translator: Kai Wasserbäch \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Default +#: ../vsftpd.templates:1001 +msgid "ftp" +msgstr "ftp" + +#. Type: string +#. Description +#: ../vsftpd.templates:1002 +#, fuzzy +#| msgid "Dedicated system account for ftp:" +msgid "Dedicated system account for the vsftpd FTP daemon:" +msgstr "Spezielles Systemkonto für FTP:" + +#. Type: string +#. Description +#: ../vsftpd.templates:1002 +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:1002 +msgid "Please choose that account's username." +msgstr "" + +#. Type: string +#. Default +#: ../vsftpd.templates:2001 +msgid "/srv/ftp" +msgstr "/srv/ftp" + +#. Type: string +#. Description +#: ../vsftpd.templates:2002 +msgid "FTP root directory:" +msgstr "" + +#. Type: string +#. Description +#: ../vsftpd.templates:2002 +#, fuzzy +#| msgid "Please specify the directory that should serve as the ftp root." +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 FTP " +"dienen soll." + +#~ msgid "" +#~ "It is required that a unique account is defined which the ftp server can " +#~ "use as a totally isolated and unprivileged user." +#~ msgstr "" +#~ "Es ist erforderlich, dass Sie ein eindeutiges Benutzerkonto anlegen, " +#~ "welches der FTP-Server als vollkommen isolierter und unpriviligierter " +#~ "Benutzer verwenden kann." + +#~ msgid "Directory for ftp root?" +#~ msgstr "Verzeichnis für das Wurzelverzeichnis für FTP?" --- vsftpd-2.0.7.orig/debian/po/templates.pot +++ vsftpd-2.0.7/debian/po/templates.pot @@ -0,0 +1,62 @@ +# 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-21 08:13+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 +#. Default +#: ../vsftpd.templates:1001 +msgid "ftp" +msgstr "" + +#. Type: string +#. Description +#: ../vsftpd.templates:1002 +msgid "Dedicated system account for the vsftpd FTP daemon:" +msgstr "" + +#. Type: string +#. Description +#: ../vsftpd.templates:1002 +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:1002 +msgid "Please choose that account's username." +msgstr "" + +#. Type: string +#. Default +#: ../vsftpd.templates:2001 +msgid "/srv/ftp" +msgstr "" + +#. Type: string +#. Description +#: ../vsftpd.templates:2002 +msgid "FTP root directory:" +msgstr "" + +#. Type: string +#. Description +#: ../vsftpd.templates:2002 +msgid "" +"Please specify the directory that will be used as root for the FTP server." +msgstr "" --- vsftpd-2.0.7.orig/debian/po/POTFILES.in +++ vsftpd-2.0.7/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] vsftpd.templates --- vsftpd-2.0.7.orig/debian/po/sv.po +++ vsftpd-2.0.7/debian/po/sv.po @@ -0,0 +1,76 @@ +# 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-21 08:13+0100\n" +"PO-Revision-Date: 2009-02-23 01:37+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 +#. Default +#: ../vsftpd.templates:1001 +msgid "ftp" +msgstr "ftp" + +#. Type: string +#. Description +#: ../vsftpd.templates:1002 +#, fuzzy +#| msgid "Dedicated system account for ftp:" +msgid "Dedicated system account for the vsftpd FTP daemon:" +msgstr "Systemkonto för ftp:" + +#. Type: string +#. Description +#: ../vsftpd.templates:1002 +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:1002 +msgid "Please choose that account's username." +msgstr "" + +#. Type: string +#. Default +#: ../vsftpd.templates:2001 +msgid "/srv/ftp" +msgstr "/srv/ftp" + +#. Type: string +#. Description +#: ../vsftpd.templates:2002 +msgid "FTP root directory:" +msgstr "" + +#. Type: string +#. Description +#: ../vsftpd.templates:2002 +#, fuzzy +#| msgid "Please specify the directory that should serve as the ftp root." +msgid "" +"Please specify the directory that will be used as root for the FTP server." +msgstr "Ange sökvägen till katalogen som ska agera rot-nivÃ¥ för ftp." + +#~ msgid "" +#~ "It is required that a unique account is defined which the ftp server can " +#~ "use as a totally isolated and unprivileged user." +#~ msgstr "" +#~ "Det mÃ¥ste finnas ett unikt konto som ftp-servern kan använda som en " +#~ "isolerad användare utan rättigheter till annat." + +#~ msgid "Directory for ftp root?" +#~ msgstr "Sökväg till ftp-roten?"