1 diff -urNpa proftpd-1.3.7a.orig/Make.rules.in proftpd-1.3.7a/Make.rules.in
2 --- proftpd-1.3.7a.orig/Make.rules.in 2020-07-21 19:25:51.000000000 +0200
3 +++ proftpd-1.3.7a/Make.rules.in 2020-08-06 14:07:26.157662616 +0200
4 @@ -11,6 +11,7 @@ libexecdir=@libexecdir@
6 localstatedir=@localstatedir@
7 pkgconfigdir=@pkgconfigdir@
8 +rundir=@localstatedir@/proftpd
12 diff -urNpa proftpd-1.3.7a.orig/configure.in proftpd-1.3.7a/configure.in
13 --- proftpd-1.3.7a.orig/configure.in 2020-07-21 19:25:51.000000000 +0200
14 +++ proftpd-1.3.7a/configure.in 2020-08-06 14:07:26.155662616 +0200
15 @@ -4058,7 +4058,7 @@ locale_dir="`eval echo ${localedir}`"
16 locale_dir="`eval echo ${locale_dir}`"
17 AC_DEFINE_UNQUOTED(PR_LOCALE_DIR, "`eval echo "${locale_dir}"`", [Define the locale directory])
19 -AC_DEFINE_UNQUOTED(PR_RUN_DIR, "`eval echo "${localstatedir}"`", [Define the run directory])
20 +AC_DEFINE_UNQUOTED(PR_RUN_DIR, "`eval echo "${localstatedir}/proftpd"`", [Define the run directory])
21 AC_DEFINE_UNQUOTED(PR_CONFIG_FILE_PATH, "`eval echo "${sysconfdir}/proftpd.conf"`", [Define the configuration file path])
22 AC_DEFINE_UNQUOTED(PR_PID_FILE_PATH, "`eval echo "${localstatedir}/proftpd.pid"`", [Define the PID file path])
24 diff -urNpa proftpd-1.3.7a.orig/contrib/xferstats.holger-preiss proftpd-1.3.7a/contrib/xferstats.holger-preiss
25 --- proftpd-1.3.7a.orig/contrib/xferstats.holger-preiss 2020-07-21 19:25:51.000000000 +0200
26 +++ proftpd-1.3.7a/contrib/xferstats.holger-preiss 2020-08-06 14:07:26.156662616 +0200
27 @@ -52,7 +52,7 @@ $mydom1 = pop(@mydom);
28 # If you want to specify $mydom1 and $mydom2 manually you should edit the
29 # next two lines to customize for your domain. This will allow your domain
30 # to be separated in the domain listing.
31 -# $mydom1 = "debian";
32 +# $mydom1 = "tld-linux";
35 # edit the next line to customize for your default log file
36 diff -urNpa proftpd-1.3.7a.orig/include/default_paths.h proftpd-1.3.7a/include/default_paths.h
37 --- proftpd-1.3.7a.orig/include/default_paths.h 2020-07-21 19:25:51.000000000 +0200
38 +++ proftpd-1.3.7a/include/default_paths.h 2020-08-06 14:08:23.679669474 +0200
40 * overridden at runtime with the '-c' switch
42 #ifndef PR_CONFIG_FILE_PATH
43 -# define PR_CONFIG_FILE_PATH "/etc/proftpd.conf"
44 +# define PR_CONFIG_FILE_PATH "/etc/proftpd/proftpd.conf"
47 /* The location of your `shells' file; a newline delimited list of
51 #ifndef PR_SHUTMSG_PATH
52 -# define PR_SHUTMSG_PATH "/etc/shutmsg"
53 +# define PR_SHUTMSG_PATH "/etc/proftpd/shutmsg"
56 /* Location of the file containing users that *cannot* use ftp
59 #ifndef PR_FTPUSERS_PATH
60 -# define PR_FTPUSERS_PATH "/etc/ftpusers"
61 +# define PR_FTPUSERS_PATH "/etc/proftpd/ftpusers"
64 #endif /* PROFTPD_PATHS_H */