debian/0000755000000000000000000000000012213721414007163 5ustar debian/watch0000644000000000000000000000013011641070412010205 0ustar version=3 http://www.castaglia.org/proftpd/modules/proftpd-mod-vroot-([\d\.]+)\.tar\.gz debian/proftpd-mod-vroot.doc-base0000644000000000000000000000046111641070412014164 0ustar Document: proftpd-mod-vroot Title: Documentation for the mod_vroot ProFTPD Author: Abstract: Configuration reference, modules documentation, FAQs and HOWTOs Section: System/Administration Format: HTML Index: /usr/share/doc/proftpd-mod-vroot/mod_vroot.html Files: /usr/share/doc/proftpd-mod-vroot/*.html debian/templates/0000755000000000000000000000000011641070412011160 5ustar debian/templates/vroot.conf0000644000000000000000000000543111641070412013203 0ustar # # Proftpd sample configuration for vroot. # # VRootAlias # Syntax: VRootAlias src-path dst-path # Default: None # The VRootAlias directive is used to create an "alias" of a directory outside of the chroot area into # the chroot. The dst-path parameter is a relative path, relative to the chroot area (i.e. the directory # in which the session starts). The src-path parameter, on the other hand, is an absolute path, and may be to a file or directory. # For example, you might map a shared upload directory into a user's home directory using: # # VRootEngine on # # DefaultRoot ~ # VRootAlias /var/ftp/upload ~/upload # # This will automatically create an "upload" directory to appear in the chroot area (in this case, the user's home directory). # Note that this directive will not work if the VRootServerRoot is used. # VRootEngine # Syntax: VRootEngine on|off # Default: None # The VRootEngine directive enables the virtual chroot engine implemented by mod_vroot. # If enabled, the virtual chroot will be used in place of the operating system's chroot(2). # This directive affects any DefaultRoot directives and any contexts within the # server context in which the VRootEngine directive appears. VRootEngine on DefaultRoot ~ VRootAlias /var/ftp/upload ~/upload # VRootLog # Syntax: VRootLog file # Default: None # The VRootLog directive is used to specify a log file for mod_vroot's reporting on a # per-server basis. The file parameter given must be the full path to the file to use for logging. # VRootOptions # Syntax: VRootOptions opt1 ... # Default: None # The VRootOptions directive is used to configure various optional behavior of mod_vroot. # Example: # VRootOptions allowSymlinks # The currently implemented options are: # * allowSymlinks # Normally, any symlinks that point outside of the vroot area simply do not work. # When the allowSymlinks option is enabled, these symlinks will be allowed. # Note that by enabling symlinks, the efficacy of the vroot "jail" is reduced. # VRootServerRoot # Syntax: VRootServerRoot path # Default: None # The VRootServerRoot directive is used to configure a directory to which the mod_vroot module will perform a real chroot. # The idea is that each can have its own directory to which a real chroot(2) system call is made; # the user-specific home directories will be virtual roots underneath this directory. Thus some measure of security, # via the chroot(2) system call, is provided by the kernel, while still allowing symlinked shared folders among users of this . # For example: # # VRootEngine on # VRootServerRoot /etc/ftpd/a.b.c.d/ # VRootOptions allowSymlinks # DefaultRoot ~ # ... # # debian/rules0000755000000000000000000000171211641070412010243 0ustar #!/usr/bin/make -f # -*- makefile -*- export DH_VERBOSE=1 VERSION=$(shell grep PROFTPD_VERSION_TEXT /usr/include/proftpd/version.h|cut -d\" -f2) MODULE_NAME=mod_vroot DEBNAME=proftpd-mod-vroot %: dh $@ override_dh_auto_build: DESTDIR=$(CURDIR)/debian/$(DEBNAME) prxs -c $(MODULE_NAME).c override_dh_auto_install: DESTDIR=$(CURDIR)/debian/$(DEBNAME) prxs -i -c $(MODULE_NAME).c rm -f $(CURDIR)/debian/$(DEBNAME)/usr/lib/proftpd/*.la \ $(CURDIR)/debian/$(DEBNAME)/usr/lib/proftpd/*.a override_dh_gencontrol: cat /usr/share/proftpd/proftpd-substvars >>$(CURDIR)/debian/$(DEBNAME).substvars dh_gencontrol clean: dh_clean $(RM) $(MODULE_NAME).a *.o *.la *.lo $(LIBTOOL) --mode=clean $(RM) "$(MODULE_NAME).o" $(LIBTOOL) --mode=clean $(RM) `echo "$(MODULE_NAME).la" | sed 's/\.la$\/.lo/g'` $(RM) -rf $(CURDIR)/debian/proftpd-mod-vroot $(CURDIR)/debian/*.log $(CURDIR)/debian/files $(CURDIR)/debian/$(DEBNAME).substvars distclean: clean $(RM) -r .libs/ debian/proftpd-mod-vroot.install0000644000000000000000000000007511641070412014156 0ustar debian/templates/vroot.conf usr/share/doc/proftpd-mod-vroot/ debian/proftpd-mod-vroot.dirs0000644000000000000000000000005411641070412013446 0ustar usr/lib/proftpd usr/share/proftpd/templates debian/copyright0000644000000000000000000000215511641071131011117 0ustar Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?view=markup&pathrev=174 Upstream-Name: mod_vroot Upstream-Contact: TJ Saunders Source: http://www.castaglia.org/proftpd/modules/mod_vroot.html Files: * Copyright: 2007-2010, TJ Saunders License: GPL-2+ License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". Files: debian/* Copyright: 2011, Fabrizio Regalli License: GPL-2+ debian/proftpd-mod-vroot.docs0000644000000000000000000000001711641070412013434 0ustar mod_vroot.html debian/source/0000755000000000000000000000000011641070412010462 5ustar debian/source/format0000644000000000000000000000001411641070412011670 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211641070412010360 0ustar 7 debian/control0000644000000000000000000000213511641071274010575 0ustar Source: proftpd-mod-vroot Section: net Priority: optional Maintainer: ProFTPD Maintainance Team Uploaders: Fabrizio Regalli , Francesco Paolo Lovergine DM-Upload-Allowed: yes Build-Depends: debhelper (>= 7.0.50~), proftpd-dev (>= 1.3.3d-5~), libacl1-dev Standards-Version: 3.9.2 Homepage: http://www.castaglia.org/proftpd/modules/mod_vroot.html Vcs-Git: git://git.debian.org/pkg-proftpd/proftpd-mod-vroot.git Vcs-Browser: http://git.debian.org/?p=pkg-proftpd/proftpd-mod-vroot.git;a=summary Package: proftpd-mod-vroot Architecture: any Depends: proftpd-basic (>= 1.3.4~rc2-2~), ${misc:Depends}, ${shlibs:Depends}, ${proftpd:Depends} Breaks: proftpd-basic (<< 1.3.4~rc2-2~) Description: ProFTPD module mod_vroot The purpose of this module to is to implement a virtual chroot capability that does not require root privileges. The mod_vroot module provides this capability by using ProFTPD's FS API. It also allows one to map a directory out of the user chroot as an alias in the chroot for sharing common directories. debian/changelog0000644000000000000000000000152212213721414011035 0ustar proftpd-mod-vroot (0.9.2-2build2) saucy; urgency=low * Rebuild for ProFTPd 1.3.5~rc3. -- Colin Watson Tue, 10 Sep 2013 23:54:04 +0100 proftpd-mod-vroot (0.9.2-2build1) precise; urgency=low * No change to rebuild agian current proftpd ABI -- Mahyuddin Susanto Thu, 19 Jan 2012 18:22:45 +0700 proftpd-mod-vroot (0.9.2-2) UNRELEASED; urgency=low * Fixed spelling-error-in-description lintian message * Update d/copyright to latest .174 DEP5 revision * Fixed timewarp-standards-version lintian message -- Fabrizio Regalli Thu, 29 Sep 2011 15:24:55 +0200 proftpd-mod-vroot (0.9.2-1) unstable; urgency=low * Initial Release. (closes: #618765) * Added doc-base * Added dh_clean to d/rules -- Fabrizio Regalli Thu, 15 Mar 2011 18:14:35 +0100 debian/proftpd-mod-vroot.links0000644000000000000000000000012211641070412013621 0ustar usr/share/doc/proftpd-mod-vroot/vroot.conf usr/share/proftpd/templates/vroot.conf