[SCM] proftpd-mod-vroot branch, master, updated. debian/0.9.2-2-2-gf765891
Fabrizio Regalli
fabreg at fabreg.it
Tue Oct 11 12:56:26 UTC 2011
The following commit has been merged in the master branch:
commit f3ec8f9e5b066bf9cf470e392ff2467060cf2b5e
Author: Fabrizio Regalli <fabreg at fabreg.it>
Date: Thu Mar 17 21:48:28 2011 +0100
Initial packaging
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7d2099c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+proftpd-mod-vroot (0.9.2) unstable; urgency=low
+
+ * Initial Release. (closes: #123456)
+
+ -- Fabrizio Regalli <fabreg at fabreg.it> Thu, 15 Mar 2011 18:14:35 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..d6ecef5
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: proftpd-mod-vroot
+Section: net
+Priority: optional
+Maintainer: ProFTPD Maintainance Team <pkg-proftpd-maintainers at lists.alioth.debian.org>
+Uploaders: Fabrizio Regalli <fabreg at fabreg.it>,
+ Francesco Paolo Lovergine <frankie at debian.org>
+DM-Upload-Allowed: yes
+Build-Depends: debhelper (>= 7.0.50~), proftpd-dev, libacl1-dev
+Standards-Version: 3.9.1
+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, ${misc:Depends}, ${shlibs:Depends}, ${proftpd:Depends}
+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, available as of 1.2.8rc1.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8cc2631
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: http://dep.debian.net/deps/dep5/
+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 <http://www.gnu.org/licenses/>
+ .
+ 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 <fabreg at fabreg.it>
+License: GPL-2+
+
diff --git a/debian/proftpd-mod-vroot.dirs b/debian/proftpd-mod-vroot.dirs
new file mode 100644
index 0000000..f0e8d4e
--- /dev/null
+++ b/debian/proftpd-mod-vroot.dirs
@@ -0,0 +1,2 @@
+usr/lib/proftpd
+usr/share/proftpd/templates
diff --git a/debian/proftpd-mod-vroot.docs b/debian/proftpd-mod-vroot.docs
new file mode 100644
index 0000000..3048e6b
--- /dev/null
+++ b/debian/proftpd-mod-vroot.docs
@@ -0,0 +1 @@
+mod_vroot.html
diff --git a/debian/proftpd-mod-vroot.install b/debian/proftpd-mod-vroot.install
new file mode 100644
index 0000000..6b6e368
--- /dev/null
+++ b/debian/proftpd-mod-vroot.install
@@ -0,0 +1 @@
+debian/templates/vroot.conf usr/share/doc/proftpd-mod-vroot/
diff --git a/debian/proftpd-mod-vroot.links b/debian/proftpd-mod-vroot.links
new file mode 100644
index 0000000..53f7a33
--- /dev/null
+++ b/debian/proftpd-mod-vroot.links
@@ -0,0 +1 @@
+usr/share/doc/proftpd-mod-vroot/vroot.conf usr/share/proftpd/templates/vroot.conf
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..31bb8ce
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,29 @@
+#!/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
+
+override_dh_gencontrol:
+ cat /usr/share/proftpd/proftpd-substvars >>$(CURDIR)/debian/substvars
+ dh_gencontrol
+
+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/substvars
+
+distclean: clean
+ $(RM) -r .libs/
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/templates/vroot.conf b/debian/templates/vroot.conf
new file mode 100644
index 0000000..ed7533f
--- /dev/null
+++ b/debian/templates/vroot.conf
@@ -0,0 +1,70 @@
+#
+# Proftpd sample configuration for vroot.
+#
+
+<IfModule mod_vroot.c>
+
+# 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:
+# <IfModule mod_vroot.c>
+# VRootEngine on
+#
+# DefaultRoot ~
+# VRootAlias /var/ftp/upload ~/upload
+# </IfModule>
+# 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 <Anonymous> 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 <VirtualHost> 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 <VirtualHost>.
+# For example:
+# <VirtualHost a.b.c.d>
+# VRootEngine on
+# VRootServerRoot /etc/ftpd/a.b.c.d/
+# VRootOptions allowSymlinks
+# DefaultRoot ~
+# ...
+#
+# </VirtualHost>
+
+</IfModule>
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..b9f624e
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://www.castaglia.org/proftpd/modules/proftpd-mod-vroot-([\d\.]+)\.tar\.gz
--
proftpd module for mod_vroot
More information about the Pkg-proftpd-maintainers
mailing list