[SCM] proftpd-mod-tar branch, master, updated. upstream/0.3.3-9-gcc60cf8
Fabrizio Regalli
fabreg at fabreg.it
Thu Mar 17 17:53:03 UTC 2011
The following commit has been merged in the master branch:
commit cc60cf803dd082faebea35688cc1f2f1d44f65b8
Author: Fabrizio Regalli <fabreg at fabreg.it>
Date: Thu Mar 17 18:50:40 2011 +0100
Added d/templates for conf
diff --git a/debian/proftpd-mod-tar.dirs b/debian/proftpd-mod-tar.dirs
index 669898d..f0e8d4e 100644
--- a/debian/proftpd-mod-tar.dirs
+++ b/debian/proftpd-mod-tar.dirs
@@ -1 +1,2 @@
usr/lib/proftpd
+usr/share/proftpd/templates
diff --git a/debian/proftpd-mod-tar.install b/debian/proftpd-mod-tar.install
new file mode 100644
index 0000000..0ef426c
--- /dev/null
+++ b/debian/proftpd-mod-tar.install
@@ -0,0 +1 @@
+debian/templates/tar.conf usr/share/doc/proftpd-mod-tar/
diff --git a/debian/proftpd-mod-tar.links b/debian/proftpd-mod-tar.links
new file mode 100644
index 0000000..30b1dd4
--- /dev/null
+++ b/debian/proftpd-mod-tar.links
@@ -0,0 +1 @@
+usr/share/doc/proftpd-mod-tar/tar.conf usr/share/proftpd/templates/tar.conf
diff --git a/debian/templates/tar.conf b/debian/templates/tar.conf
new file mode 100644
index 0000000..eebfc04
--- /dev/null
+++ b/debian/templates/tar.conf
@@ -0,0 +1,43 @@
+#
+# Proftpd sample configuration for mod_tar.
+#
+<IfModule mod_tar.c>
+
+# TarEnable
+# Syntax: TarEnable on|off
+# Default: None
+# The TarEnable directive can be used to block or prevent a directory from being turned into a tar file by mod_tar.
+
+# TarEngine
+# Syntax: TarEngine on|off
+# Default: off
+# The TarEngine directive enables or disables the module's support for on-the-fly tar file creation.
+TarEngine on
+
+# TarLog
+# Syntax: TarLog file
+# Default: None
+# The TarLog directive is used to a specify a log file for mod_tar reporting and debugging, and can be done a per-server basis.
+# The file parameter must be the full path to the file to use for logging. Note that this path must not be to a world-writeable directory
+# and, unless AllowLogSymlinks is explicitly set to on (generally a bad idea), the path must not be a symbolic link.
+# If file is "none", no logging will be done at all; this setting can be used to override a TarLog setting inherited from a <Global> context.
+TarLog /var/log/proftpd/mod_tar.log
+
+# TarOptions
+# Syntax: TarOptions opt1 ...
+# Default: None
+# The TarOptions directive is used to configure various optional behavior of mod_tar, usually pertaining to how the .tar files are constructed.
+# Example:
+# TarOptions dereference
+# The currently implemented options are:
+# * dereference
+# Instead of creating .tar files which include symlinks, include the files that the symlinks point to.
+
+# TarTempPath
+# Syntax: TarTempPath path
+# Default: "./"
+# The TarTempPath directive controls the directory where mod_tar will writes its temporary .tar files.
+# Keep in mind that the TarTempPath is subject to any chroot (i.e. use of DefaultRoot or <Anonymous>).
+# The default TarTempPath is "./", which means that the temporary .tar files are written in the current directory of the FTP session.
+
+</IfModule>
--
mod_tar for proftpd
More information about the Pkg-proftpd-maintainers
mailing list