[SCM] proftpd-mod-autohost branch, master, updated. upstream/0.4-5-g8c112c0
Mahyuddin Susanto
udienz at ubuntu.com
Sat Apr 16 06:23:02 UTC 2011
The following commit has been merged in the master branch:
commit 8c112c0607e70a1bb5264c39d9c4b4cbc8db396c
Author: Mahyuddin Susanto <udienz at ubuntu.com>
Date: Sat Apr 16 13:22:29 2011 +0700
add templates and related stuff
diff --git a/debian/proftpd-mod-autohost.dirs b/debian/proftpd-mod-autohost.dirs
index 669898d..f0e8d4e 100644
--- a/debian/proftpd-mod-autohost.dirs
+++ b/debian/proftpd-mod-autohost.dirs
@@ -1 +1,2 @@
usr/lib/proftpd
+usr/share/proftpd/templates
diff --git a/debian/proftpd-mod-autohost.install b/debian/proftpd-mod-autohost.install
new file mode 100644
index 0000000..ceb76a8
--- /dev/null
+++ b/debian/proftpd-mod-autohost.install
@@ -0,0 +1 @@
+debian/templates/autohost.conf usr/share/doc/proftpd-mod-autohost/
diff --git a/debian/proftpd-mod-autohost.links b/debian/proftpd-mod-autohost.links
new file mode 100644
index 0000000..5134d13
--- /dev/null
+++ b/debian/proftpd-mod-autohost.links
@@ -0,0 +1 @@
+usr/share/doc/proftpd-mod-autohost/autohost.conf usr/share/proftpd/templates/autohost.conf
diff --git a/debian/rules b/debian/rules
index e400bb1..801127d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,7 +15,7 @@ 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
+ cat /usr/share/proftpd/proftpd-substvars >> $(CURDIR)/debian/substvars
dh_gencontrol
override_dh_autoclean:
diff --git a/debian/templates/autohost.conf b/debian/templates/autohost.conf
new file mode 100644
index 0000000..1e8ae09
--- /dev/null
+++ b/debian/templates/autohost.conf
@@ -0,0 +1,28 @@
+#
+# Proftpd sample configuration for autohost.
+# please uncomment configurations to activate
+#
+<IfModule mod_autohost.c>
+
+## Syntax: AutoHostConfig path
+## Default: None
+
+# AutoHostConfig /etc/proftpd/vhosts/%0/%p/autoconf.conf
+
+## Syntax: AutoHostEngine on|off
+## Default: None
+
+# AutoHostEngine on
+
+## Syntax: AutoHostLog path
+## Default: None
+
+# AutoHostLog /var/log/proftpd/mod_autohost.log
+
+## Syntax: AutoHostPorts port1 ... portN
+## Default: None
+
+#AutoHostPorts 2121 2222 4444
+
+</IfModule>
+
--
ProFTPD module for mod_autohost
More information about the Pkg-proftpd-maintainers
mailing list