]> TLD Linux GIT Repositories - packages/proftpd.git/blobdiff - proftpd-paths.patch
- allow TLS 1.3
[packages/proftpd.git] / proftpd-paths.patch
index 363216fcc866cf62069625a15eb3c9f89a27e6f3..39e56cacf84f10eba9d88fd718890ea2801b0f73 100644 (file)
@@ -1,54 +1,59 @@
---- proftpd-1.2.0pre3/contrib/xferstats.holger-preiss  Sun Oct 18 04:24:41 1998
-+++ proftpd-1.2.0pre3.pld/contrib/xferstats.holger-preiss      Fri May 28 10:49:08 1999
-@@ -1,4 +1,4 @@
--#! /usr/bin/perl
-+#!/usr/bin/perl
- # ---------------------------------------------------------------------------
- #
- # USAGE: xferstats <options>
-@@ -40,7 +40,7 @@
+diff -urNpa proftpd-1.3.6.orig/configure.in proftpd-1.3.6/configure.in
+--- proftpd-1.3.6.orig/configure.in    2017-04-10 02:31:02.000000000 +0000
++++ proftpd-1.3.6/configure.in 2017-12-30 22:51:10.151946983 +0000
+@@ -3832,7 +3832,7 @@ locale_dir="`eval echo ${localedir}`"
+ locale_dir="`eval echo ${locale_dir}`"
+ AC_DEFINE_UNQUOTED(PR_LOCALE_DIR, "`eval echo "${locale_dir}"`", [Define the locale directory])
+-AC_DEFINE_UNQUOTED(PR_RUN_DIR, "`eval echo "${localstatedir}"`", [Define the run directory])
++AC_DEFINE_UNQUOTED(PR_RUN_DIR, "`eval echo "${localstatedir}/proftpd"`", [Define the run directory])
+ AC_DEFINE_UNQUOTED(PR_CONFIG_FILE_PATH, "`eval echo "${sysconfdir}/proftpd.conf"`", [Define the configuration file path])
+ AC_DEFINE_UNQUOTED(PR_PID_FILE_PATH, "`eval echo "${localstatedir}/proftpd.pid"`", [Define the PID file path])
+diff -urNpa proftpd-1.3.6.orig/contrib/xferstats.holger-preiss proftpd-1.3.6/contrib/xferstats.holger-preiss
+--- proftpd-1.3.6.orig/contrib/xferstats.holger-preiss 2017-04-10 02:31:02.000000000 +0000
++++ proftpd-1.3.6/contrib/xferstats.holger-preiss      2017-12-30 22:53:57.686936997 +0000
+@@ -52,7 +52,7 @@ $mydom1 = pop(@mydom);
  # If you want to specify $mydom1 and $mydom2 manually you should edit the
  # next two lines to customize for your domain. This will allow your domain
  # to be separated in the domain listing.
 -# $mydom1 = "debian";
-+# $mydom1 = "pld";
++# $mydom1 = "tld-linux";
  # $mydom2 = "org";
  
  # edit the next line to customize for your default log file
---- proftpd-1.3.0/include/default_paths.h~     2006-04-29 14:05:26.906490255 +0300
-+++ proftpd-1.3.0/include/default_paths.h      2006-04-29 14:06:53.778425641 +0300
-@@ -57,7 +57,7 @@
+diff -urNpa proftpd-1.3.6.orig/include/default_paths.h proftpd-1.3.6/include/default_paths.h
+--- proftpd-1.3.6.orig/include/default_paths.h 2017-04-10 02:31:02.000000000 +0000
++++ proftpd-1.3.6/include/default_paths.h      2017-12-30 22:51:59.526944040 +0000
+@@ -56,7 +56,7 @@
   * overriden at runtime with the '-c' switch
   */
  #ifndef PR_CONFIG_FILE_PATH
 -# define PR_CONFIG_FILE_PATH  "/etc/proftpd.conf"
-+# define PR_CONFIG_FILE_PATH  "/etc/ftpd/proftpd.conf"
++# define PR_CONFIG_FILE_PATH  "/etc/proftpd/proftpd.conf"
  #endif
  
  /* The location of your `shells' file; a newline delimited list of
-@@ -80,6 +80,6 @@
+@@ -78,13 +78,13 @@
+ /* Location of the file that tells proftpd to discontinue servicing
+  * requests.
+  */
+-#define PR_SHUTMSG_PATH               "/etc/shutmsg"
++#define PR_SHUTMSG_PATH               "/etc/proftpd/shutmsg"
  /* Location of the file containing users that *cannot* use ftp
   * services (odd, eh?)
   */
--#define PR_FTPUSERS_PATH      "/etc/ftpusers"
-+#define PR_FTPUSERS_PATH      "/etc/ftpd/ftpusers"
+ #ifndef PR_FTPUSERS_PATH
+-# define PR_FTPUSERS_PATH     "/etc/ftpusers"
++# define PR_FTPUSERS_PATH     "/etc/proftpd/ftpusers"
+ #endif
  
  #endif /* PROFTPD_PATHS_H */
---- proftpd-1.3.3b/configure.in~       2010-09-15 11:59:14.956175001 +0200
-+++ proftpd-1.3.3b/configure.in        2010-09-15 12:05:20.368863997 +0200
-@@ -2276,7 +2276,7 @@
- locale_dir="`eval echo ${locale_dir}`"
- AC_DEFINE_UNQUOTED(PR_LOCALE_DIR, "`eval echo "${locale_dir}"`")
--AC_DEFINE_UNQUOTED(PR_RUN_DIR, "`eval echo "${localstatedir}"`")
-+AC_DEFINE_UNQUOTED(PR_RUN_DIR, "`eval echo "${localstatedir}/proftpd"`")
- AC_DEFINE_UNQUOTED(PR_CONFIG_FILE_PATH, "`eval echo "${sysconfdir}/proftpd.conf"`")
- AC_DEFINE_UNQUOTED(PR_PID_FILE_PATH, "`eval echo "${localstatedir}/proftpd.pid"`")
-diff -ur proftpd-1.3.2e/Make.rules.in proftpd-1.3.3b/Make.rules.in
---- proftpd-1.3.2e/Make.rules.in       2008-11-19 04:51:38.000000000 +0100
-+++ proftpd-1.3.3b/Make.rules.in       2009-11-18 22:48:25.000000000 +0100
-@@ -11,6 +11,7 @@
+diff -urNpa proftpd-1.3.6.orig/Make.rules.in proftpd-1.3.6/Make.rules.in
+--- proftpd-1.3.6.orig/Make.rules.in   2017-04-10 02:31:02.000000000 +0000
++++ proftpd-1.3.6/Make.rules.in        2017-12-30 22:51:10.152946983 +0000
+@@ -11,6 +11,7 @@ libexecdir=@libexecdir@
  localedir=@localedir@
  localstatedir=@localstatedir@
  pkgconfigdir=@pkgconfigdir@