]> TLD Linux GIT Repositories - packages/proftpd.git/blob - proftpd-paths.patch
- ehh, more cleanup, release 2
[packages/proftpd.git] / proftpd-paths.patch
1 diff -ur proftpd-1.3.5.orig/configure.in proftpd-1.3.5/configure.in
2 --- proftpd-1.3.5.orig/configure.in     2014-01-17 18:04:19.000000000 +0000
3 +++ proftpd-1.3.5/configure.in  2014-06-02 11:03:41.577869556 +0000
4 @@ -2970,7 +2970,7 @@
5  locale_dir="`eval echo ${locale_dir}`"
6  AC_DEFINE_UNQUOTED(PR_LOCALE_DIR, "`eval echo "${locale_dir}"`")
7  
8 -AC_DEFINE_UNQUOTED(PR_RUN_DIR, "`eval echo "${localstatedir}"`")
9 +AC_DEFINE_UNQUOTED(PR_RUN_DIR, "`eval echo "${localstatedir}/proftpd"`")
10  AC_DEFINE_UNQUOTED(PR_CONFIG_FILE_PATH, "`eval echo "${sysconfdir}/proftpd.conf"`")
11  AC_DEFINE_UNQUOTED(PR_PID_FILE_PATH, "`eval echo "${localstatedir}/proftpd.pid"`")
12  
13 diff -ur proftpd-1.3.5.orig/contrib/xferstats.holger-preiss proftpd-1.3.5/contrib/xferstats.holger-preiss
14 --- proftpd-1.3.5.orig/contrib/xferstats.holger-preiss  2013-09-17 21:53:59.000000000 +0000
15 +++ proftpd-1.3.5/contrib/xferstats.holger-preiss       2014-06-02 11:03:41.576869727 +0000
16 @@ -52,7 +52,7 @@
17  # If you want to specify $mydom1 and $mydom2 manually you should edit the
18  # next two lines to customize for your domain. This will allow your domain
19  # to be separated in the domain listing.
20 -# $mydom1 = "debian";
21 +# $mydom1 = "tld";
22  # $mydom2 = "org";
23  
24  # edit the next line to customize for your default log file
25 diff -ur proftpd-1.3.5.orig/include/default_paths.h proftpd-1.3.5/include/default_paths.h
26 --- proftpd-1.3.5.orig/include/default_paths.h  2011-05-23 20:35:35.000000000 +0000
27 +++ proftpd-1.3.5/include/default_paths.h       2014-06-02 11:03:41.576869727 +0000
28 @@ -57,7 +57,7 @@
29   * overriden at runtime with the '-c' switch
30   */
31  #ifndef PR_CONFIG_FILE_PATH
32 -# define PR_CONFIG_FILE_PATH   "/etc/proftpd.conf"
33 +# define PR_CONFIG_FILE_PATH   "/etc/ftpd/proftpd.conf"
34  #endif
35  
36  /* The location of your `shells' file; a newline delimited list of
37 @@ -80,6 +80,6 @@
38  /* Location of the file containing users that *cannot* use ftp
39   * services (odd, eh?)
40   */
41 -#define PR_FTPUSERS_PATH       "/etc/ftpusers"
42 +#define PR_FTPUSERS_PATH       "/etc/ftpd/ftpusers"
43  
44  #endif /* PROFTPD_PATHS_H */
45 diff -ur proftpd-1.3.5.orig/Make.rules.in proftpd-1.3.5/Make.rules.in
46 --- proftpd-1.3.5.orig/Make.rules.in    2013-02-06 06:51:04.000000000 +0000
47 +++ proftpd-1.3.5/Make.rules.in 2014-06-02 11:03:41.578869373 +0000
48 @@ -11,6 +11,7 @@
49  localedir=@localedir@
50  localstatedir=@localstatedir@
51  pkgconfigdir=@pkgconfigdir@
52 +rundir=@localstatedir@/proftpd
53  mandir=@mandir@
54  
55  AR=@AR@