diff options
Diffstat (limited to 'meta-networking/recipes-daemons/proftpd')
-rw-r--r-- | meta-networking/recipes-daemons/proftpd/files/build_fixup.patch | 20 | ||||
-rw-r--r-- | meta-networking/recipes-daemons/proftpd/files/contrib.patch | 8 | ||||
-rw-r--r-- | meta-networking/recipes-daemons/proftpd/proftpd_1.3.9.bb (renamed from meta-networking/recipes-daemons/proftpd/proftpd_1.3.7c.bb) | 23 |
3 files changed, 31 insertions, 20 deletions
diff --git a/meta-networking/recipes-daemons/proftpd/files/build_fixup.patch b/meta-networking/recipes-daemons/proftpd/files/build_fixup.patch index 8126b3619a..2b01d3a682 100644 --- a/meta-networking/recipes-daemons/proftpd/files/build_fixup.patch +++ b/meta-networking/recipes-daemons/proftpd/files/build_fixup.patch | |||
@@ -30,7 +30,7 @@ diff --git a/Makefile.in b/Makefile.in | |||
30 | index 9434cbd..13f2e16 100644 | 30 | index 9434cbd..13f2e16 100644 |
31 | --- a/Makefile.in | 31 | --- a/Makefile.in |
32 | +++ b/Makefile.in | 32 | +++ b/Makefile.in |
33 | @@ -123,7 +123,6 @@ check: proftpd$(EXEEXT) | 33 | @@ -129,7 +129,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,18 +38,18 @@ index 9434cbd..13f2e16 100644 | |||
38 | chmod 0755 $@; \ | 38 | chmod 0755 $@; \ |
39 | fi | 39 | fi |
40 | 40 | ||
41 | @@ -133,7 +132,6 @@ install-proftpd: proftpd$(EXEEXT) $(DESTDIR)$(includedir) $(DESTDIR)$(localstate | 41 | @@ -139,7 +138,6 @@ install-proftpd: $(DESTDIR)$(includedir) $(DESTDIR)$(localstatedir) $(DESTDIR)$( |
42 | rm -f $(DESTDIR)$(sbindir)/in.proftpd ; \ | 42 | rm -f $(DESTDIR)$(sbindir)/in.proftpd ; \ |
43 | fi | 43 | fi |
44 | ln -s $(top_builddir)/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 | @@ -170,11 +168,11 @@ install-utils: $(DESTDIR)$(sbindir) $(DESTDIR)$(bindir) | 49 | @@ -177,11 +175,11 @@ install-utils: $(DESTDIR)$(sbindir) $(DESTDIR)$(bindir) |
50 | $(INSTALL_SBIN) $(top_builddir)/ftpshut $(DESTDIR)$(sbindir)/ftpshut | 50 | $(INSTALL_SBIN) $(top_builddir)/ftpshut $(DESTDIR)$(sbindir)/ftpshut |
51 | $(INSTALL_BIN) $(top_builddir)/ftptop $(DESTDIR)$(bindir)/ftptop | 51 | $(INSTALL_BIN) $(top_builddir)/ftptop $(DESTDIR)$(bindir)/ftptop |
52 | $(INSTALL_BIN) $(top_builddir)/ftpwho $(DESTDIR)$(bindir)/ftpwho | 52 | $(INSTALL_BIN) $(top_builddir)/ftpwho $(DESTDIR)$(bindir)/ftpwho |
53 | - $(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755 $(top_builddir)/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 $(top_builddir)/src/prxs $(DESTDIR)$(bindir)/prxs | 54 | + $(INSTALL) -m 0755 $(top_builddir)/src/prxs $(DESTDIR)$(bindir)/prxs |
55 | 55 | ||
@@ -64,7 +64,7 @@ diff --git a/configure b/configure | |||
64 | index 0a51670..69fa130 100755 | 64 | index 0a51670..69fa130 100755 |
65 | --- a/configure | 65 | --- a/configure |
66 | +++ b/configure | 66 | +++ b/configure |
67 | @@ -25116,7 +25116,7 @@ _ACEOF | 67 | @@ -25683,7 +25683,7 @@ _ACEOF |
68 | 68 | ||
69 | 69 | ||
70 | cat >>confdefs.h <<_ACEOF | 70 | cat >>confdefs.h <<_ACEOF |
@@ -73,7 +73,7 @@ index 0a51670..69fa130 100755 | |||
73 | _ACEOF | 73 | _ACEOF |
74 | 74 | ||
75 | 75 | ||
76 | @@ -25126,7 +25126,7 @@ _ACEOF | 76 | @@ -25693,7 +25693,7 @@ _ACEOF |
77 | 77 | ||
78 | 78 | ||
79 | cat >>confdefs.h <<_ACEOF | 79 | cat >>confdefs.h <<_ACEOF |
@@ -86,7 +86,7 @@ diff --git a/configure.in b/configure.in | |||
86 | index 50561de..93cad3f 100644 | 86 | index 50561de..93cad3f 100644 |
87 | --- a/configure.in | 87 | --- a/configure.in |
88 | +++ b/configure.in | 88 | +++ b/configure.in |
89 | @@ -4059,8 +4059,8 @@ locale_dir="`eval echo ${locale_dir}`" | 89 | @@ -4248,8 +4248,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]) |
diff --git a/meta-networking/recipes-daemons/proftpd/files/contrib.patch b/meta-networking/recipes-daemons/proftpd/files/contrib.patch index 96c237d386..53f7b89556 100644 --- a/meta-networking/recipes-daemons/proftpd/files/contrib.patch +++ b/meta-networking/recipes-daemons/proftpd/files/contrib.patch | |||
@@ -14,15 +14,15 @@ diff --git a/Makefile.in b/Makefile.in | |||
14 | index 9434cbd..8da7d1f 100644 | 14 | index 9434cbd..8da7d1f 100644 |
15 | --- a/Makefile.in | 15 | --- a/Makefile.in |
16 | +++ b/Makefile.in | 16 | +++ b/Makefile.in |
17 | @@ -163,7 +163,7 @@ install-modules: $(DESTDIR)$(libexecdir) $(DESTDIR)$(sysconfdir) | 17 | @@ -170,7 +170,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) $(top_builddir)/ftpcount $(DESTDIR)$(bindir)/ftpcount | 23 | $(INSTALL_BIN) $(top_builddir)/ftpcount $(DESTDIR)$(bindir)/ftpcount |
24 | $(INSTALL_BIN) $(top_builddir)/ftpdctl $(DESTDIR)$(bindir)/ftpdctl | 24 | $(INSTALL_BIN) $(top_builddir)/ftpdctl $(DESTDIR)$(bindir)/ftpdctl |
25 | $(INSTALL_SBIN) $(top_builddir)/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 d1a31af..65d2abc 100644 | 27 | index d1a31af..65d2abc 100644 |
28 | --- a/contrib/Makefile.in | 28 | --- a/contrib/Makefile.in |
diff --git a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.7c.bb b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.9.bb index aa8d5fabd6..65dd2f9561 100644 --- a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.7c.bb +++ b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.9.bb | |||
@@ -4,10 +4,10 @@ HOMEPAGE = "http://www.proftpd.org" | |||
4 | LICENSE = "GPL-2.0-or-later" | 4 | LICENSE = "GPL-2.0-or-later" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=fb0d1484d11915fa88a6a7702f1dc184" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=fb0d1484d11915fa88a6a7702f1dc184" |
6 | 6 | ||
7 | SRCREV = "75aa739805a6e05eeb31189934a3d324e7862962" | 7 | SRCREV = "ae25959adb05ae1d6ebfa1f36bf778c9c34e9410" |
8 | BRANCH = "1.3.7" | 8 | BRANCH = "${PV}" |
9 | 9 | ||
10 | SRC_URI = "git://github.com/proftpd/proftpd.git;branch=${BRANCH};protocol=https \ | 10 | SRC_URI = "git://github.com/proftpd/proftpd.git;branch=${BRANCH};protocol=https;tag=v${PV} \ |
11 | file://basic.conf.patch \ | 11 | file://basic.conf.patch \ |
12 | file://proftpd-basic.init \ | 12 | file://proftpd-basic.init \ |
13 | file://default \ | 13 | file://default \ |
@@ -17,11 +17,16 @@ SRC_URI = "git://github.com/proftpd/proftpd.git;branch=${BRANCH};protocol=https | |||
17 | file://proftpd.service \ | 17 | file://proftpd.service \ |
18 | " | 18 | " |
19 | 19 | ||
20 | S = "${WORKDIR}/git" | ||
21 | 20 | ||
22 | inherit autotools-brokensep useradd update-rc.d systemd multilib_script | 21 | inherit autotools-brokensep useradd update-rc.d systemd multilib_script |
23 | 22 | ||
24 | EXTRA_OECONF += "--enable-largefile" | 23 | # patch releases have character after version |
24 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+\w?))" | ||
25 | CVE_VERSION_SUFFIX = "alphabetical" | ||
26 | |||
27 | CVE_STATUS[CVE-2001-0027] = "fixed-version: version 1.2.0rc3 removed affected module" | ||
28 | |||
29 | EXTRA_OECONF += "--enable-largefile INSTALL=install" | ||
25 | 30 | ||
26 | PACKAGECONFIG ??= "shadow \ | 31 | PACKAGECONFIG ??= "shadow \ |
27 | ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 pam', d)} \ | 32 | ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 pam', d)} \ |
@@ -70,6 +75,12 @@ do_configure () { | |||
70 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S} | 75 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S} |
71 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S} | 76 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S} |
72 | oe_runconf | 77 | oe_runconf |
78 | sed -e 's|--sysroot=${STAGING_DIR_HOST}||g' \ | ||
79 | -e 's|${STAGING_DIR_NATIVE}||g' \ | ||
80 | -e 's|-ffile-prefix-map=[^ ]*||g' \ | ||
81 | -e 's|-fdebug-prefix-map=[^ ]*||g' \ | ||
82 | -e 's|-fmacro-prefix-map=[^ ]*||g' \ | ||
83 | -i ${B}/config.h | ||
73 | } | 84 | } |
74 | 85 | ||
75 | FTPUSER = "ftp" | 86 | FTPUSER = "ftp" |
@@ -116,7 +127,7 @@ do_install () { | |||
116 | -e 's|-ffile-prefix-map=[^ ]*||g' \ | 127 | -e 's|-ffile-prefix-map=[^ ]*||g' \ |
117 | -e 's|-fdebug-prefix-map=[^ ]*||g' \ | 128 | -e 's|-fdebug-prefix-map=[^ ]*||g' \ |
118 | -e 's|-fmacro-prefix-map=[^ ]*||g' \ | 129 | -e 's|-fmacro-prefix-map=[^ ]*||g' \ |
119 | -i ${D}/${bindir}/prxs | 130 | -i ${D}/${bindir}/prxs ${D}${includedir}/proftpd/Make.rules ${D}${includedir}/proftpd/config.h |
120 | 131 | ||
121 | # ftpmail perl script, which reads the proftpd log file and sends | 132 | # ftpmail perl script, which reads the proftpd log file and sends |
122 | # automatic email notifications once an upload finishs, | 133 | # automatic email notifications once an upload finishs, |