summaryrefslogtreecommitdiff
path: root/debian/etc/twoftpd-anon
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2014-07-26 09:58:12 +0200
committerGerrit Pape <pape@smarden.org>2014-07-26 09:58:12 +0200
commit85cb5085b2dfbeb428cdf0b1097ebc012981dc62 (patch)
tree961cc90064386dede92ce27893fbe5475551c1f1 /debian/etc/twoftpd-anon
parent6399ccc0a3abc45458bc3c7902e241d785b96045 (diff)
twoftpd (1.42-1) unstable; urgency=low
* new upstream version (closes: #661646, thx Anton Khalikov). * debian/etc/twoftpd[-anon]/run: raise memory limit to 12000000 bytes. * debian/rules: target clean: depend on target patch. * debian/twoftpd-run.postrm: purge: make sure all twoftpd services are down; be less verbose. [dgit import package twoftpd 1.42-1]
Diffstat (limited to 'debian/etc/twoftpd-anon')
-rw-r--r--debian/etc/twoftpd-anon/env/CHROOT1
-rw-r--r--debian/etc/twoftpd-anon/env/GID1
-rw-r--r--debian/etc/twoftpd-anon/env/GROUP1
-rw-r--r--debian/etc/twoftpd-anon/env/HOME1
-rw-r--r--debian/etc/twoftpd-anon/env/UID1
-rw-r--r--debian/etc/twoftpd-anon/env/USER1
-rw-r--r--debian/etc/twoftpd-anon/log/run4
-rw-r--r--debian/etc/twoftpd-anon/run7
8 files changed, 17 insertions, 0 deletions
diff --git a/debian/etc/twoftpd-anon/env/CHROOT b/debian/etc/twoftpd-anon/env/CHROOT
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/debian/etc/twoftpd-anon/env/CHROOT
@@ -0,0 +1 @@
+1
diff --git a/debian/etc/twoftpd-anon/env/GID b/debian/etc/twoftpd-anon/env/GID
new file mode 100644
index 0000000..e8f3792
--- /dev/null
+++ b/debian/etc/twoftpd-anon/env/GID
@@ -0,0 +1 @@
+65534
diff --git a/debian/etc/twoftpd-anon/env/GROUP b/debian/etc/twoftpd-anon/env/GROUP
new file mode 100644
index 0000000..c4db1fa
--- /dev/null
+++ b/debian/etc/twoftpd-anon/env/GROUP
@@ -0,0 +1 @@
+ftp
diff --git a/debian/etc/twoftpd-anon/env/HOME b/debian/etc/twoftpd-anon/env/HOME
new file mode 100644
index 0000000..3ba4aaa
--- /dev/null
+++ b/debian/etc/twoftpd-anon/env/HOME
@@ -0,0 +1 @@
+/var/ftp
diff --git a/debian/etc/twoftpd-anon/env/UID b/debian/etc/twoftpd-anon/env/UID
new file mode 100644
index 0000000..e8f3792
--- /dev/null
+++ b/debian/etc/twoftpd-anon/env/UID
@@ -0,0 +1 @@
+65534
diff --git a/debian/etc/twoftpd-anon/env/USER b/debian/etc/twoftpd-anon/env/USER
new file mode 100644
index 0000000..c4db1fa
--- /dev/null
+++ b/debian/etc/twoftpd-anon/env/USER
@@ -0,0 +1 @@
+ftp
diff --git a/debian/etc/twoftpd-anon/log/run b/debian/etc/twoftpd-anon/log/run
new file mode 100644
index 0000000..4a2c9a3
--- /dev/null
+++ b/debian/etc/twoftpd-anon/log/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+exec \
+chpst -uftplog \
+ svlogd -t /var/log/twoftpd-anon
diff --git a/debian/etc/twoftpd-anon/run b/debian/etc/twoftpd-anon/run
new file mode 100644
index 0000000..fc6df16
--- /dev/null
+++ b/debian/etc/twoftpd-anon/run
@@ -0,0 +1,7 @@
+#!/bin/sh
+exec 2>&1
+umask 022
+exec \
+tcpsvd -v -llocalhost 0 21 \
+ chpst -m12000000 -e./env \
+ twoftpd-anon