diff options
| author | Roy Li <rongqing.li@windriver.com> | 2014-02-11 13:41:34 +0800 |
|---|---|---|
| committer | Joe MacDonald <joe@deserted.net> | 2014-02-12 20:09:26 -0500 |
| commit | 3ffe8dbceba9c8985f71c1a5eee5840a47354d19 (patch) | |
| tree | 7bbbbb1891a6c91f27018a45dd34091fd877c314 /meta-networking/recipes-daemons/proftpd/files | |
| parent | 7cb2f9e4c2c6c889345a708c0d0cabde16fbc70c (diff) | |
| download | meta-openembedded-3ffe8dbceba9c8985f71c1a5eee5840a47354d19.tar.gz | |
proftpd: move the runing created file under /var/run
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'meta-networking/recipes-daemons/proftpd/files')
| -rw-r--r-- | meta-networking/recipes-daemons/proftpd/files/move-runfile-to-var-run.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/proftpd/files/move-runfile-to-var-run.patch b/meta-networking/recipes-daemons/proftpd/files/move-runfile-to-var-run.patch new file mode 100644 index 0000000000..1561ed80e3 --- /dev/null +++ b/meta-networking/recipes-daemons/proftpd/files/move-runfile-to-var-run.patch | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | redefine PR_RUN_DIR as ${localstatedir}/run | ||
| 2 | |||
| 3 | Upstream-Status: Inappropriate [configuration] | ||
| 4 | |||
| 5 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | ||
| 6 | --- | ||
| 7 | configure | 2 +- | ||
| 8 | configure.in | 2 +- | ||
| 9 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
| 10 | |||
| 11 | diff --git a/configure b/configure | ||
| 12 | index ebed38e..445d5bc 100755 | ||
| 13 | --- a/configure | ||
| 14 | +++ b/configure | ||
| 15 | @@ -33579,7 +33579,7 @@ _ACEOF | ||
| 16 | |||
| 17 | |||
| 18 | cat >>confdefs.h <<_ACEOF | ||
| 19 | -#define PR_RUN_DIR "`eval echo "${localstatedir}"`" | ||
| 20 | +#define PR_RUN_DIR "`eval echo "${localstatedir}"/run/`" | ||
| 21 | _ACEOF | ||
| 22 | |||
| 23 | cat >>confdefs.h <<_ACEOF | ||
| 24 | diff --git a/configure.in b/configure.in | ||
| 25 | index c17929c..df9186a 100644 | ||
| 26 | --- a/configure.in | ||
| 27 | +++ b/configure.in | ||
| 28 | @@ -2788,7 +2788,7 @@ locale_dir="`eval echo ${localedir}`" | ||
| 29 | locale_dir="`eval echo ${locale_dir}`" | ||
| 30 | AC_DEFINE_UNQUOTED(PR_LOCALE_DIR, "`eval echo "${locale_dir}"`") | ||
| 31 | |||
| 32 | -AC_DEFINE_UNQUOTED(PR_RUN_DIR, "`eval echo "${localstatedir}"`") | ||
| 33 | +AC_DEFINE_UNQUOTED(PR_RUN_DIR, "`eval echo "${localstatedir}/run"`") | ||
| 34 | AC_DEFINE_UNQUOTED(PR_CONFIG_FILE_PATH, "`eval echo "${sysconfdir}/proftpd.conf"`") | ||
| 35 | AC_DEFINE_UNQUOTED(PR_PID_FILE_PATH, "`eval echo "${localstatedir}/run/proftpd.pid"`") | ||
| 36 | |||
| 37 | -- | ||
| 38 | 1.7.10.4 | ||
| 39 | |||
