[SCM] proftpd-mod-vroot branch, master, updated. debian/0.9.2-1-14-gf38f512

Mahyuddin Susanto udienz at gmail.com
Fri Dec 20 04:30:49 UTC 2013


The following commit has been merged in the master branch:
commit cbadc154c3ae7406cca1293b7d9d2f035263c677
Author: Mahyuddin Susanto <udienz at gmail.com>
Date:   Fri Dec 20 11:22:53 2013 +0700

    Revert to 0.9.2-2

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..2cfbc1b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,15 @@
+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 <fabreg at fabreg.it>  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 <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..d0fb700
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+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 (>= 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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..116f6ab
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+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 <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.doc-base b/debian/proftpd-mod-vroot.doc-base
new file mode 100644
index 0000000..8ce9ae0
--- /dev/null
+++ b/debian/proftpd-mod-vroot.doc-base
@@ -0,0 +1,9 @@
+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
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..3c139c8
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,32 @@
+#!/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/ 
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>
+

-- 
proftpd module for mod_vroot



More information about the Pkg-proftpd-maintainers mailing list