summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-ftp/glftpd/files/1.32-install.patch')
-rw-r--r--net-ftp/glftpd/files/1.32-install.patch57
1 files changed, 57 insertions, 0 deletions
diff --git a/net-ftp/glftpd/files/1.32-install.patch b/net-ftp/glftpd/files/1.32-install.patch
new file mode 100644
index 000000000000..3d3386fa9ef0
--- /dev/null
+++ b/net-ftp/glftpd/files/1.32-install.patch
@@ -0,0 +1,57 @@
+--- installgl.sh.orig 2003-12-02 23:52:43.000000000 -0500
++++ installgl.sh 2003-12-02 23:56:17.000000000 -0500
+@@ -138 +138 @@
+- read usetcpd
++ usetcpd=${USETCPD}
+@@ -173 +173 @@
+- read jail
++ jail=y
+@@ -185 +185 @@
+- read jaildir
++ jaildir=${GLROOT}
+@@ -197 +197 @@
+- read reply
++ echo "SHOULD NOT HAVE BEEN HERE 1" ; exit 1
+@@ -229 +229 @@
+- read useprivgroup
++ useprivgroup=n
+@@ -259 +259 @@
+- read reply
++ echo "SHOULD NOT HAVE BEEN HERE 2" ; exit 1
+@@ -335 +335 @@
+- read glroot
++ break
+@@ -347 +347 @@
+- read reply
++ echo "SHOULD NOT HAVE BEEN HERE 3" ; exit 1
+@@ -514 +514 @@
+- read port
++ port=${GLFTPD_PORT}
+@@ -527,2 +527 @@
+-} > /etc/services.new
+-mv -f /etc/services.new /etc/services
++} > /dev/null
+@@ -539 +538 @@
+- read whichnetd
++ whichnetd=${WHICHNETD}
+@@ -571 +570 @@
+- read tlsname
++ tlsname="ftp server"
+@@ -636 +634,0 @@
+- mv -f $base.pem $tls/
+@@ -665 +663 @@
+- read tlsq
++ tlsq=${MAKETLS}
+@@ -683 +681,2 @@
+- read tls
++ tls=/etc/glftpd-dsa.pem
++ break
+@@ -735 +734 @@
+- cat <<EOF > /etc/xinetd.d/glftpd
++ cat <<EOF > ${D}/etc/xinetd.d/glftpd
+@@ -750 +749 @@
+- if killall -USR2 xinetd; then
++ if 0; then
+@@ -763 +762 @@
+-} | crontab - > /dev/null
++}