diff options
author | Andrej Kozemcak <andrej.kozemcak@siemens.com> | 2021-04-30 14:23:14 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-04-30 07:55:20 -0700 |
commit | 7e0f7072efabbb95dfe7c46e8b76a52464a0665e (patch) | |
tree | d64d6408099594b5d508b2b795bdaafc922ae244 | |
parent | ee7598a40080c983e4b115f7730ebccc46c6ddb2 (diff) | |
download | meta-openembedded-7e0f7072efabbb95dfe7c46e8b76a52464a0665e.tar.gz |
proftpd: Update to 1.3.7a release
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-networking/recipes-daemons/proftpd/files/build_fixup.patch | 69 | ||||
-rw-r--r-- | meta-networking/recipes-daemons/proftpd/files/contrib.patch | 29 | ||||
-rw-r--r-- | meta-networking/recipes-daemons/proftpd/proftpd_1.3.7a.bb (renamed from meta-networking/recipes-daemons/proftpd/proftpd_1.3.6.bb) | 13 |
3 files changed, 49 insertions, 62 deletions
diff --git a/meta-networking/recipes-daemons/proftpd/files/build_fixup.patch b/meta-networking/recipes-daemons/proftpd/files/build_fixup.patch index 9816d4d22..d888dd826 100644 --- a/meta-networking/recipes-daemons/proftpd/files/build_fixup.patch +++ b/meta-networking/recipes-daemons/proftpd/files/build_fixup.patch | |||
@@ -9,10 +9,10 @@ redefine PR_RUN_DIR as ${localstatedir}/run | |||
9 | Signed-off-By: Armin Kuster <akuster808@gmail.com> | 9 | Signed-off-By: Armin Kuster <akuster808@gmail.com> |
10 | 10 | ||
11 | 11 | ||
12 | Index: proftpd-1.3.6/Make.rules.in | 12 | diff --git a/Make.rules.in b/Make.rules.in |
13 | =================================================================== | 13 | index a5028ac..ccd7807 100644 |
14 | --- proftpd-1.3.6.orig/Make.rules.in | 14 | --- a/Make.rules.in |
15 | +++ proftpd-1.3.6/Make.rules.in | 15 | +++ b/Make.rules.in |
16 | @@ -30,9 +30,9 @@ INSTALL=@INSTALL@ | 16 | @@ -30,9 +30,9 @@ INSTALL=@INSTALL@ |
17 | INSTALL_STRIP=@INSTALL_STRIP@ | 17 | INSTALL_STRIP=@INSTALL_STRIP@ |
18 | INSTALL_USER=@install_user@ | 18 | INSTALL_USER=@install_user@ |
@@ -26,11 +26,11 @@ Index: proftpd-1.3.6/Make.rules.in | |||
26 | 26 | ||
27 | RM=rm -f | 27 | RM=rm -f |
28 | SHELL=@CONFIG_SHELL@ | 28 | SHELL=@CONFIG_SHELL@ |
29 | Index: proftpd-1.3.6/Makefile.in | 29 | diff --git a/Makefile.in b/Makefile.in |
30 | =================================================================== | 30 | index 9434cbd..13f2e16 100644 |
31 | --- proftpd-1.3.6.orig/Makefile.in | 31 | --- a/Makefile.in |
32 | +++ proftpd-1.3.6/Makefile.in | 32 | +++ b/Makefile.in |
33 | @@ -105,7 +105,6 @@ check: proftpd$(EXEEXT) | 33 | @@ -123,7 +123,6 @@ check: proftpd$(EXEEXT) |
34 | $(DESTDIR)$(localedir) $(DESTDIR)$(includedir) $(DESTDIR)$(includedir)/proftpd $(DESTDIR)$(libdir) $(DESTDIR)$(pkgconfigdir) $(DESTDIR)$(libdir)/proftpd $(DESTDIR)$(libexecdir) $(DESTDIR)$(localstatedir) $(DESTDIR)$(sysconfdir) $(DESTDIR)$(bindir) $(DESTDIR)$(sbindir) $(DESTDIR)$(mandir) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 $(DESTDIR)$(mandir)/man8: | 34 | $(DESTDIR)$(localedir) $(DESTDIR)$(includedir) $(DESTDIR)$(includedir)/proftpd $(DESTDIR)$(libdir) $(DESTDIR)$(pkgconfigdir) $(DESTDIR)$(libdir)/proftpd $(DESTDIR)$(libexecdir) $(DESTDIR)$(localstatedir) $(DESTDIR)$(sysconfdir) $(DESTDIR)$(bindir) $(DESTDIR)$(sbindir) $(DESTDIR)$(mandir) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 $(DESTDIR)$(mandir)/man8: |
35 | @if [ ! -d $@ ]; then \ | 35 | @if [ ! -d $@ ]; then \ |
36 | mkdir -p $@; \ | 36 | mkdir -p $@; \ |
@@ -38,20 +38,20 @@ Index: proftpd-1.3.6/Makefile.in | |||
38 | chmod 0755 $@; \ | 38 | chmod 0755 $@; \ |
39 | fi | 39 | fi |
40 | 40 | ||
41 | @@ -115,7 +114,6 @@ install-proftpd: proftpd $(DESTDIR)$(inc | 41 | @@ -133,7 +132,6 @@ install-proftpd: proftpd$(EXEEXT) $(DESTDIR)$(includedir) $(DESTDIR)$(localstate |
42 | rm -f $(DESTDIR)$(sbindir)/in.proftpd ; \ | 42 | rm -f $(DESTDIR)$(sbindir)/in.proftpd ; \ |
43 | fi | 43 | fi |
44 | ln -s proftpd $(DESTDIR)$(sbindir)/in.proftpd | 44 | ln -s $(top_builddir)/proftpd $(DESTDIR)$(sbindir)/in.proftpd |
45 | - -chown -h $(INSTALL_USER):$(INSTALL_GROUP) $(DESTDIR)$(sbindir)/in.proftpd | 45 | - -chown -h $(INSTALL_USER):$(INSTALL_GROUP) $(DESTDIR)$(sbindir)/in.proftpd |
46 | 46 | ||
47 | install-libs: $(DESTDIR)$(libdir)/proftpd | 47 | install-libs: $(DESTDIR)$(libdir)/proftpd |
48 | cd lib/ && $(MAKE) install | 48 | cd lib/ && $(MAKE) install |
49 | @@ -152,11 +150,11 @@ install-utils: $(DESTDIR)$(sbindir) $(DE | 49 | @@ -170,11 +168,11 @@ install-utils: $(DESTDIR)$(sbindir) $(DESTDIR)$(bindir) |
50 | $(INSTALL_SBIN) ftpshut $(DESTDIR)$(sbindir)/ftpshut | 50 | $(INSTALL_SBIN) $(top_builddir)/ftpshut $(DESTDIR)$(sbindir)/ftpshut |
51 | $(INSTALL_BIN) ftptop $(DESTDIR)$(bindir)/ftptop | 51 | $(INSTALL_BIN) $(top_builddir)/ftptop $(DESTDIR)$(bindir)/ftptop |
52 | $(INSTALL_BIN) ftpwho $(DESTDIR)$(bindir)/ftpwho | 52 | $(INSTALL_BIN) $(top_builddir)/ftpwho $(DESTDIR)$(bindir)/ftpwho |
53 | - $(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755 src/prxs $(DESTDIR)$(bindir)/prxs | 53 | - $(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755 $(top_builddir)/src/prxs $(DESTDIR)$(bindir)/prxs |
54 | + $(INSTALL) -m 0755 src/prxs $(DESTDIR)$(bindir)/prxs | 54 | + $(INSTALL) -m 0755 $(top_builddir)/src/prxs $(DESTDIR)$(bindir)/prxs |
55 | 55 | ||
56 | install-conf: $(DESTDIR)$(sysconfdir) | 56 | install-conf: $(DESTDIR)$(sysconfdir) |
57 | if [ ! -f $(DESTDIR)$(sysconfdir)/proftpd.conf ] ; then \ | 57 | if [ ! -f $(DESTDIR)$(sysconfdir)/proftpd.conf ] ; then \ |
@@ -60,11 +60,11 @@ Index: proftpd-1.3.6/Makefile.in | |||
60 | $(top_srcdir)/sample-configurations/basic.conf \ | 60 | $(top_srcdir)/sample-configurations/basic.conf \ |
61 | $(DESTDIR)$(sysconfdir)/proftpd.conf ; \ | 61 | $(DESTDIR)$(sysconfdir)/proftpd.conf ; \ |
62 | fi | 62 | fi |
63 | Index: proftpd-1.3.6/configure | 63 | diff --git a/configure b/configure |
64 | =================================================================== | 64 | index 0a51670..69fa130 100755 |
65 | --- proftpd-1.3.6.orig/configure | 65 | --- a/configure |
66 | +++ proftpd-1.3.6/configure | 66 | +++ b/configure |
67 | @@ -41777,7 +41777,7 @@ _ACEOF | 67 | @@ -25116,7 +25116,7 @@ _ACEOF |
68 | 68 | ||
69 | 69 | ||
70 | cat >>confdefs.h <<_ACEOF | 70 | cat >>confdefs.h <<_ACEOF |
@@ -73,7 +73,7 @@ Index: proftpd-1.3.6/configure | |||
73 | _ACEOF | 73 | _ACEOF |
74 | 74 | ||
75 | 75 | ||
76 | @@ -41787,7 +41787,7 @@ _ACEOF | 76 | @@ -25126,7 +25126,7 @@ _ACEOF |
77 | 77 | ||
78 | 78 | ||
79 | cat >>confdefs.h <<_ACEOF | 79 | cat >>confdefs.h <<_ACEOF |
@@ -82,11 +82,11 @@ Index: proftpd-1.3.6/configure | |||
82 | _ACEOF | 82 | _ACEOF |
83 | 83 | ||
84 | 84 | ||
85 | Index: proftpd-1.3.6/configure.in | 85 | diff --git a/configure.in b/configure.in |
86 | =================================================================== | 86 | index 50561de..93cad3f 100644 |
87 | --- proftpd-1.3.6.orig/configure.in | 87 | --- a/configure.in |
88 | +++ proftpd-1.3.6/configure.in | 88 | +++ b/configure.in |
89 | @@ -3833,8 +3833,8 @@ locale_dir="`eval echo ${locale_dir}`" | 89 | @@ -4059,8 +4059,8 @@ locale_dir="`eval echo ${locale_dir}`" |
90 | AC_DEFINE_UNQUOTED(PR_LOCALE_DIR, "`eval echo "${locale_dir}"`", [Define the locale directory]) | 90 | AC_DEFINE_UNQUOTED(PR_LOCALE_DIR, "`eval echo "${locale_dir}"`", [Define the locale directory]) |
91 | 91 | ||
92 | AC_DEFINE_UNQUOTED(PR_RUN_DIR, "`eval echo "${localstatedir}"`", [Define the run directory]) | 92 | AC_DEFINE_UNQUOTED(PR_RUN_DIR, "`eval echo "${localstatedir}"`", [Define the run directory]) |
@@ -97,16 +97,3 @@ Index: proftpd-1.3.6/configure.in | |||
97 | 97 | ||
98 | prefix="$pr_saved_prefix" | 98 | prefix="$pr_saved_prefix" |
99 | exec_prefix="$pr_saved_exec_prefix" | 99 | exec_prefix="$pr_saved_exec_prefix" |
100 | Index: proftpd-1.3.6/lib/libcap/Makefile | ||
101 | =================================================================== | ||
102 | --- proftpd-1.3.6.orig/lib/libcap/Makefile | ||
103 | +++ proftpd-1.3.6/lib/libcap/Makefile | ||
104 | @@ -26,7 +26,7 @@ OBJS=$(addsuffix .o, $(FILES)) | ||
105 | all: $(LIBNAME) | ||
106 | |||
107 | _makenames: _makenames.c cap_names.sed | ||
108 | - $(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ | ||
109 | + $(BUILD_CC) $(CFLAGS) $(LDFLAGS) $< -o $@ | ||
110 | |||
111 | cap_names.h: _makenames | ||
112 | ./_makenames > cap_names.h | ||
diff --git a/meta-networking/recipes-daemons/proftpd/files/contrib.patch b/meta-networking/recipes-daemons/proftpd/files/contrib.patch index 7e2a8e3ce..96c237d38 100644 --- a/meta-networking/recipes-daemons/proftpd/files/contrib.patch +++ b/meta-networking/recipes-daemons/proftpd/files/contrib.patch | |||
@@ -11,32 +11,29 @@ Signed-off-by: Kevin Strasser <kevin.strasser@linux.intel.com> | |||
11 | 2 files changed, 4 insertions(+), 4 deletions(-) | 11 | 2 files changed, 4 insertions(+), 4 deletions(-) |
12 | 12 | ||
13 | diff --git a/Makefile.in b/Makefile.in | 13 | diff --git a/Makefile.in b/Makefile.in |
14 | index 5b2e683..ee72fe1 100644 | 14 | index 9434cbd..8da7d1f 100644 |
15 | --- a/Makefile.in | 15 | --- a/Makefile.in |
16 | +++ b/Makefile.in | 16 | +++ b/Makefile.in |
17 | @@ -120,7 +120,7 @@ install-modules: $(DESTDIR)$(libexecdir) $(DESTDIR)$(sysconfdir) | 17 | @@ -163,7 +163,7 @@ install-modules: $(DESTDIR)$(libexecdir) $(DESTDIR)$(sysconfdir) |
18 | test -z "$(SHARED_MODULE_OBJS)" -a -z "$(SHARED_MODULE_DIRS)" -a -z "$(STATIC_MODULE_DIRS)" || (cd modules/ && $(MAKE) install) | 18 | test -z "$(SHARED_MODULE_OBJS)" -a -z "$(SHARED_MODULE_DIRS)" -a -z "$(STATIC_MODULE_DIRS)" || (cd modules/ && $(MAKE) install) |
19 | 19 | ||
20 | install-utils: $(DESTDIR)$(sbindir) $(DESTDIR)$(bindir) | 20 | install-utils: $(DESTDIR)$(sbindir) $(DESTDIR)$(bindir) |
21 | - cd contrib/ && $(MAKE) install-utils | 21 | - cd contrib/ && $(MAKE) install-utils |
22 | + cd contrib/ && $(MAKE) DESTDIR=${DESTDIR} install-utils | 22 | + cd contrib/ && $(MAKE) DESTDIR=${DESTDIR} install-utils |
23 | $(INSTALL_BIN) ftpcount $(DESTDIR)$(bindir)/ftpcount | 23 | $(INSTALL_BIN) $(top_builddir)/ftpcount $(DESTDIR)$(bindir)/ftpcount |
24 | $(INSTALL_BIN) ftpdctl $(DESTDIR)$(bindir)/ftpdctl | 24 | $(INSTALL_BIN) $(top_builddir)/ftpdctl $(DESTDIR)$(bindir)/ftpdctl |
25 | $(INSTALL_SBIN) ftpscrub $(DESTDIR)$(sbindir)/ftpscrub | 25 | $(INSTALL_SBIN) $(top_builddir)/ftpscrub $(DESTDIR)$(sbindir)/ftpscrub |
26 | diff --git a/contrib/Makefile.in b/contrib/Makefile.in | 26 | diff --git a/contrib/Makefile.in b/contrib/Makefile.in |
27 | index 5bcc038..51d248c 100644 | 27 | index d1a31af..65d2abc 100644 |
28 | --- a/contrib/Makefile.in | 28 | --- a/contrib/Makefile.in |
29 | +++ b/contrib/Makefile.in | 29 | +++ b/contrib/Makefile.in |
30 | @@ -18,6 +18,6 @@ Makefile: Makefile.in ../config.status | 30 | @@ -17,6 +17,6 @@ Makefile: Makefile.in ../config.status |
31 | cd ../ && ./config.status | 31 | cd ../ && ./config.status |
32 | 32 | ||
33 | install-utils: | 33 | install-utils: |
34 | - $(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755 ftpasswd $(DESTDIR)$(bindir)/ftpasswd | 34 | - $(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755 $(srcdir)/ftpasswd $(DESTDIR)$(bindir)/ftpasswd |
35 | - $(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755 ftpmail $(DESTDIR)$(bindir)/ftpmail | 35 | - $(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755 $(srcdir)/ftpmail $(DESTDIR)$(bindir)/ftpmail |
36 | - $(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755 ftpquota $(DESTDIR)$(bindir)/ftpquota | 36 | - $(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755 $(srcdir)/ftpquota $(DESTDIR)$(bindir)/ftpquota |
37 | + $(INSTALL) -m 0755 ftpasswd $(DESTDIR)$(bindir)/ftpasswd | 37 | + $(INSTALL) -m 0755 $(srcdir)/ftpasswd $(DESTDIR)$(bindir)/ftpasswd |
38 | + $(INSTALL) -m 0755 ftpmail $(DESTDIR)$(bindir)/ftpmail | 38 | + $(INSTALL) -m 0755 $(srcdir)/ftpmail $(DESTDIR)$(bindir)/ftpmail |
39 | + $(INSTALL) -m 0755 ftpquota $(DESTDIR)$(bindir)/ftpquota | 39 | + $(INSTALL) -m 0755 $(srcdir)/ftpquota $(DESTDIR)$(bindir)/ftpquota |
40 | -- | ||
41 | 1.7.9.5 | ||
42 | |||
diff --git a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.6.bb b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.7a.bb index 483c22a0d..f2a89e5a2 100644 --- a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.6.bb +++ b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.7a.bb | |||
@@ -4,7 +4,10 @@ HOMEPAGE = "http://www.proftpd.org" | |||
4 | LICENSE = "GPLv2+" | 4 | LICENSE = "GPLv2+" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=fb0d1484d11915fa88a6a7702f1dc184" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=fb0d1484d11915fa88a6a7702f1dc184" |
6 | 6 | ||
7 | SRC_URI = "ftp://ftp.proftpd.org/distrib/source/${BPN}-${PV}.tar.gz \ | 7 | SRCREV = "715eadc1aa4f6b07d69f9d09558e9cb471e51d87" |
8 | BRANCH = "1.3.7" | ||
9 | |||
10 | SRC_URI = "git://github.com/proftpd/proftpd.git;branch=${BRANCH} \ | ||
8 | file://basic.conf.patch \ | 11 | file://basic.conf.patch \ |
9 | file://proftpd-basic.init \ | 12 | file://proftpd-basic.init \ |
10 | file://default \ | 13 | file://default \ |
@@ -13,13 +16,14 @@ SRC_URI = "ftp://ftp.proftpd.org/distrib/source/${BPN}-${PV}.tar.gz \ | |||
13 | file://build_fixup.patch \ | 16 | file://build_fixup.patch \ |
14 | file://proftpd.service \ | 17 | file://proftpd.service \ |
15 | " | 18 | " |
16 | SRC_URI[md5sum] = "13270911c42aac842435f18205546a1b" | 19 | |
17 | SRC_URI[sha256sum] = "91ef74b143495d5ff97c4d4770c6804072a8c8eb1ad1ecc8cc541b40e152ecaf" | 20 | S = "${WORKDIR}/git" |
18 | 21 | ||
19 | inherit autotools-brokensep useradd update-rc.d systemd multilib_script | 22 | inherit autotools-brokensep useradd update-rc.d systemd multilib_script |
20 | 23 | ||
21 | PACKAGECONFIG ??= "shadow \ | 24 | PACKAGECONFIG ??= "shadow \ |
22 | ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 pam', d)} \ | 25 | ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 pam', d)} \ |
26 | static \ | ||
23 | " | 27 | " |
24 | 28 | ||
25 | PACKAGECONFIG[curses] = "--enable-curses --enable-ncurses, --disable-curses --disable-ncurses, ncurses" | 29 | PACKAGECONFIG[curses] = "--enable-curses --enable-ncurses, --disable-curses --disable-ncurses, ncurses" |
@@ -28,6 +32,7 @@ PACKAGECONFIG[pam] = "--enable-auth-pam, --disable-auth-pam, libpam, libpam" | |||
28 | PACKAGECONFIG[ipv6] = "--enable-ipv6, --disable-ipv6" | 32 | PACKAGECONFIG[ipv6] = "--enable-ipv6, --disable-ipv6" |
29 | PACKAGECONFIG[shadow] = "--enable-shadow, --disable-shadow" | 33 | PACKAGECONFIG[shadow] = "--enable-shadow, --disable-shadow" |
30 | PACKAGECONFIG[pcre] = "--enable-pcre, --disable-pcre, libpcre " | 34 | PACKAGECONFIG[pcre] = "--enable-pcre, --disable-pcre, libpcre " |
35 | PACKAGECONFIG[static] = "--enable-static=yes, --enable-static=no" | ||
31 | 36 | ||
32 | # enable POSIX.1e capabilities | 37 | # enable POSIX.1e capabilities |
33 | PACKAGECONFIG[cap] = "--enable-cap, --disable-cap, libcap, libcap" | 38 | PACKAGECONFIG[cap] = "--enable-cap, --disable-cap, libcap, libcap" |
@@ -58,14 +63,12 @@ PACKAGECONFIG[largefile] = "--enable-largefile, --disable-largefile" | |||
58 | #omit mod_auth_file from core modules | 63 | #omit mod_auth_file from core modules |
59 | PACKAGECONFIG[auth] = "--enable-auth-file, --disable-auth-file" | 64 | PACKAGECONFIG[auth] = "--enable-auth-file, --disable-auth-file" |
60 | 65 | ||
61 | |||
62 | # proftpd uses libltdl which currently makes configuring using | 66 | # proftpd uses libltdl which currently makes configuring using |
63 | # autotools.bbclass a pain... | 67 | # autotools.bbclass a pain... |
64 | do_configure () { | 68 | do_configure () { |
65 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S} | 69 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S} |
66 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S} | 70 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S} |
67 | oe_runconf | 71 | oe_runconf |
68 | cp ${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool ${S}/libtool | ||
69 | } | 72 | } |
70 | 73 | ||
71 | FTPUSER = "ftp" | 74 | FTPUSER = "ftp" |