diff options
| author | Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> | 2019-10-29 16:55:38 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-11-01 17:22:52 -0700 |
| commit | f2a05125b7d01aa4076530d8c2e91d29954fca45 (patch) | |
| tree | b75a018c4be67a72d1e05e079a0188862d934a08 /meta-networking/recipes-daemons | |
| parent | 796fd089f2c7ee1756219f9cd2fd02823aa6d9ab (diff) | |
| download | meta-openembedded-f2a05125b7d01aa4076530d8c2e91d29954fca45.tar.gz | |
pure-ftpd: upgrade 1.0.47 -> 1.0.49
1) Upgrade pure-ftpd from 1.0.47 to 1.0.49.
2) Update LIC_FILES_CHKSUM as date has been changed.
3) Update 0001-Remove-hardcoded-usr-local-includes-from-configure.a.patch for 1.0.49.
4) Delete "--with-minimal" to fix error as follows:
/usr/src/debug/pure-ftpd/1.0.49-r0/build/src/../../pure-ftpd-1.0.49/src/ls.c:1080: undefined reference to `modernformat'
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-daemons')
| -rw-r--r-- | meta-networking/recipes-daemons/pure-ftpd/pure-ftpd/0001-Remove-hardcoded-usr-local-includes-from-configure.a.patch | 37 | ||||
| -rw-r--r-- | meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.49.bb (renamed from meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.47.bb) | 7 |
2 files changed, 26 insertions, 18 deletions
diff --git a/meta-networking/recipes-daemons/pure-ftpd/pure-ftpd/0001-Remove-hardcoded-usr-local-includes-from-configure.a.patch b/meta-networking/recipes-daemons/pure-ftpd/pure-ftpd/0001-Remove-hardcoded-usr-local-includes-from-configure.a.patch index 16a611e3c6..2606a36675 100644 --- a/meta-networking/recipes-daemons/pure-ftpd/pure-ftpd/0001-Remove-hardcoded-usr-local-includes-from-configure.a.patch +++ b/meta-networking/recipes-daemons/pure-ftpd/pure-ftpd/0001-Remove-hardcoded-usr-local-includes-from-configure.a.patch | |||
| @@ -8,30 +8,39 @@ Upstream-Status: Inappropriate [config] | |||
| 8 | Signed-off-by: Yauhen Kharuzhy <yauhen.kharuzhy@promwad.com> | 8 | Signed-off-by: Yauhen Kharuzhy <yauhen.kharuzhy@promwad.com> |
| 9 | Signed-off-by: Tudor Florea <tudor.florea@enea.com> | 9 | Signed-off-by: Tudor Florea <tudor.florea@enea.com> |
| 10 | 10 | ||
| 11 | Update for 1.0.49. | ||
| 12 | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> | ||
| 13 | |||
| 11 | --- | 14 | --- |
| 12 | configure.ac | 12 ------------ | 15 | configure.ac | 15 --------------- |
| 13 | 1 file changed, 12 deletions(-) | 16 | 1 file changed, 15 deletions(-) |
| 14 | 17 | ||
| 15 | diff --git a/configure.ac b/configure.ac | 18 | diff --git a/configure.ac b/configure.ac |
| 16 | index 3a4209b..695ce68 100644 | 19 | index 079e6f0..9a1ec06 100644 |
| 17 | --- a/configure.ac | 20 | --- a/configure.ac |
| 18 | +++ b/configure.ac | 21 | +++ b/configure.ac |
| 19 | @@ -91,18 +91,6 @@ AX_CHECK_LINK_FLAG([-Wl,-z,relro], [LDFLAGS="$LDFLAGS -Wl,-z,relro"]) | 22 | @@ -96,21 +96,6 @@ AX_CHECK_LINK_FLAG([-Wl,-z,relro], [LDFLAGS="$LDFLAGS -Wl,-z,relro"]) |
| 20 | AX_CHECK_LINK_FLAG([-Wl,-z,now], [LDFLAGS="$LDFLAGS -Wl,-z,now"]) | 23 | AX_CHECK_LINK_FLAG([-Wl,-z,now], [LDFLAGS="$LDFLAGS -Wl,-z,now"]) |
| 21 | AX_CHECK_LINK_FLAG([-Wl,-z,noexecstack], [LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"]) | 24 | AX_CHECK_LINK_FLAG([-Wl,-z,noexecstack], [LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"]) |
| 22 | 25 | ||
| 23 | -if test -d /usr/local/include; then | 26 | -if test "x$cross_compiling" != "xyes"; then |
| 24 | - CPPFLAGS="$CPPFLAGS -I/usr/local/include" | 27 | - for path in \ |
| 25 | -fi | 28 | - /usr/kerberos \ |
| 26 | - | 29 | - /usr/local /opt /usr/local/opt \ |
| 27 | -if test -d /usr/kerberos/include; then | 30 | - /usr/openssl@1.1 /opt/openssl@1.1 /usr/local/opt/openssl@1.1 \ |
| 28 | - CPPFLAGS="$CPPFLAGS -I/usr/kerberos/include" | 31 | - /usr/openssl /opt/openssl /usr/local/opt/openssl; do |
| 29 | -fi | 32 | - if test -d $path/include; then |
| 30 | - | 33 | - CPPFLAGS="$CPPFLAGS -I${path}/include" |
| 31 | -if test -d /usr/local/lib; then | 34 | - fi |
| 32 | - LDFLAGS="$LDFLAGS -L/usr/local/lib" | 35 | - if test -d $path/lib; then |
| 36 | - LDFLAGS="$LDFLAGS -L${path}/lib" | ||
| 37 | - fi | ||
| 38 | - done | ||
| 33 | -fi | 39 | -fi |
| 34 | - | 40 | - |
| 35 | CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2" | 41 | CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2" |
| 36 | 42 | ||
| 37 | dnl Checks for header files | 43 | dnl Checks for header files |
| 44 | -- | ||
| 45 | 2.7.4 | ||
| 46 | |||
diff --git a/meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.47.bb b/meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.49.bb index e7c530be31..5a8e9c1305 100644 --- a/meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.47.bb +++ b/meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.49.bb | |||
| @@ -3,7 +3,7 @@ DESCRIPTION = "Pure-FTPd is a free (BSD license), secure, production-quality and | |||
| 3 | HOMEPAGE = "http://www.pureftpd.org/project/pure-ftpd" | 3 | HOMEPAGE = "http://www.pureftpd.org/project/pure-ftpd" |
| 4 | SECTION = "net" | 4 | SECTION = "net" |
| 5 | LICENSE = "BSD-0-Clause" | 5 | LICENSE = "BSD-0-Clause" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=0595b4261a04bc2d27f30b9c90796c1f" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=e25e28bc568d70eb26c3a91387c86ccb" |
| 7 | 7 | ||
| 8 | DEPENDS = "libcap virtual/crypt" | 8 | DEPENDS = "libcap virtual/crypt" |
| 9 | 9 | ||
| @@ -11,11 +11,10 @@ SRC_URI = "http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-${PV}.t | |||
| 11 | file://0001-Remove-hardcoded-usr-local-includes-from-configure.a.patch \ | 11 | file://0001-Remove-hardcoded-usr-local-includes-from-configure.a.patch \ |
| 12 | file://nostrip.patch \ | 12 | file://nostrip.patch \ |
| 13 | " | 13 | " |
| 14 | SRC_URI[md5sum] = "f000e519918682ee6b65090352177d4a" | 14 | SRC_URI[md5sum] = "451879495ba61c1d7dcfca8dd231119f" |
| 15 | SRC_URI[sha256sum] = "4740c316f5df879a2d68464489fb9b8b90113fe7dce58e2cdd2054a4768f27ad" | 15 | SRC_URI[sha256sum] = "767bf458c70b24f80c0bb7a1bbc89823399e75a0a7da141d30051a2b8cc892a5" |
| 16 | 16 | ||
| 17 | inherit autotools | 17 | inherit autotools |
| 18 | 18 | ||
| 19 | EXTRA_OECONF = "--with-minimal" | ||
| 20 | PACKAGECONFIG[libsodium] ="ac_cv_lib_sodium_crypto_pwhash_scryptsalsa208sha256_str=yes, \ | 19 | PACKAGECONFIG[libsodium] ="ac_cv_lib_sodium_crypto_pwhash_scryptsalsa208sha256_str=yes, \ |
| 21 | ac_cv_lib_sodium_crypto_pwhash_scryptsalsa208sha256_str=no, libsodium" | 20 | ac_cv_lib_sodium_crypto_pwhash_scryptsalsa208sha256_str=no, libsodium" |
