]> TLD Linux GIT Repositories - packages/proftpd.git/blob - proftpd-paths.patch
- updated to 1.3.7f
[packages/proftpd.git] / proftpd-paths.patch
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@
5  localedir=@localedir@
6  localstatedir=@localstatedir@
7  pkgconfigdir=@pkgconfigdir@
8 +rundir=@localstatedir@/proftpd
9  mandir=@mandir@
10  
11  AR=@AR@
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])
18  
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])
23  
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";
33  # $mydom2 = "org";
34  
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
39 @@ -56,7 +56,7 @@
40   * overridden at runtime with the '-c' switch
41   */
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"
45  #endif
46  
47  /* The location of your `shells' file; a newline delimited list of
48 @@ -79,14 +79,14 @@
49   * requests.
50   */
51  #ifndef PR_SHUTMSG_PATH
52 -# define PR_SHUTMSG_PATH       "/etc/shutmsg"
53 +# define PR_SHUTMSG_PATH       "/etc/proftpd/shutmsg"
54  #endif
55  
56  /* Location of the file containing users that *cannot* use ftp
57   * services (odd, eh?)
58   */
59  #ifndef PR_FTPUSERS_PATH
60 -# define PR_FTPUSERS_PATH      "/etc/ftpusers"
61 +# define PR_FTPUSERS_PATH      "/etc/proftpd/ftpusers"
62  #endif
63  
64  #endif /* PROFTPD_PATHS_H */