Skip to contentSkip to conversation

proftpd: Always enable largefile support

PATCH New Khem Raj 1 participant 6 messages Aug 13, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/6 proftpd: Always enable largefile support

largefile DISTRO_FEATURE is deprecated

---
 meta-networking/recipes-daemons/proftpd/proftpd_1.3.7c.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-networking/recipes-daemons/proftpd/proftpd_1.3.7c.bb +2 -1
index 686f1e5cdf..ecd2777247 100644
@@ -21,6 +21,8 @@ S = "${WORKDIR}/git"
 
 inherit autotools-brokensep useradd update-rc.d systemd multilib_script
 
+EXTRA_OECONF += "--enable-largefile"
+
 PACKAGECONFIG ??= "shadow \
                    ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 pam', d)} \
                    static \
@@ -58,7 +60,6 @@ PACKAGECONFIG[nls] = "--enable-nls, --disable-nls"
 
 #add mod_dso to core modules
 PACKAGECONFIG[dso] = "--enable-dso, --disable-dso"
-PACKAGECONFIG[largefile] = "--enable-largefile, --disable-largefile"
 
 #omit mod_auth_file from core modules
 PACKAGECONFIG[auth] = "--enable-auth-file, --disable-auth-file"
Signature · 1 line
2.37.1
author
#1 lore raw

PATCH 2/6 netperf: Always enable largefile support

---
 meta-networking/recipes-support/netperf/netperf_git.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-networking/recipes-support/netperf/netperf_git.bb +1 -2
index 06b2eddbb6..4074f0cd07 100644
@@ -28,8 +28,7 @@ CFLAGS:append = " -DDO_UNIX -DDO_IPV6 -D_GNU_SOURCE"
 
 # set the "_FILE_OFFSET_BITS" preprocessor symbol to 64 to support files
 # larger than 2GB
-CFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', \
-    ' -D_FILE_OFFSET_BITS=64', '', d)}"
+CFLAGS:append = " -D_FILE_OFFSET_BITS=64"
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[sctp] = "--enable-sctp,--disable-sctp,lksctp-tools,"
Signature · 1 line
2.37.1
author
#2 lore raw

PATCH 3/6 openipmi: Always enable largefile support

In reply to Khem Raj
---
 meta-networking/recipes-support/openipmi/openipmi_2.0.32.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/openipmi/openipmi_2.0.32.bb +1 -1
index eca5865f68..18f4deca16 100644
@@ -41,7 +41,7 @@ SRC_URI[sha256sum] = "f6d0fd4c0a74b05f80907229d0b270f54ca23294bcc11979f8b8d12766
 
 inherit autotools-brokensep pkgconfig python3native perlnative update-rc.d systemd cpan-base python3targetconfig
 
-CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64', '', d)}"
+CFLAGS += "-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
 
 EXTRA_OECONF = "--disable-static \
                 --with-perl='${STAGING_BINDIR_NATIVE}/perl-native/perl' \
Signature · 1 line
2.37.1
author
#3 lore raw

PATCH 4/6 unbound: Always enable largefile support

In reply to Khem Raj
---
 meta-networking/recipes-support/unbound/unbound_1.16.1.bb | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
meta-networking/recipes-support/unbound/unbound_1.16.1.bb +3 -4
index 5eb9ec1bfc..c11bf513ac 100644
@@ -22,12 +22,11 @@ RDEPENDS:${PN} = "bash openssl-bin daemonize"
 S = "${WORKDIR}/git"
 
 EXTRA_OECONF = "--with-libexpat=${STAGING_EXECPREFIXDIR} \
-		--with-ssl=${STAGING_EXECPREFIXDIR}"
-		
+		--with-ssl=${STAGING_EXECPREFIXDIR} \
+                --enable-largefile"
 
-PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'largefile systemd', d)}"
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
 PACKAGECONFIG[dnscrypt] = "--enable-dnscrypt, --disable-dnscrypt, libsodium"
-PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,,"
 PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
 
 do_install:append() {
Signature · 1 line
2.37.1
author
#4 lore raw

PATCH 5/6 sysbench: Always enable largefile support

In reply to Khem Raj
---
 meta-oe/recipes-benchmark/sysbench/sysbench_0.4.12.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-benchmark/sysbench/sysbench_0.4.12.bb +2 -2
index 22c634af05..4ac78fb8fd 100644
@@ -15,8 +15,8 @@ SRC_URI = "https://launchpad.net/ubuntu/+archive/primary/+files/${BPN}_${PV}.ori
 SRC_URI[md5sum] = "3a6d54fdd3fe002328e4458206392b9d"
 SRC_URI[sha256sum] = "83fa7464193e012c91254e595a89894d8e35b4a38324b52a5974777e3823ea9e"
 
-PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'largefile', d)}"
-PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,,"
+EXTRA_OECONF += "--enable-largefile"
+PACKAGECONFIG ??= ""
 PACKAGECONFIG[aio] = "--enable-aio,--disable-aio,libaio,"
 PACKAGECONFIG[mysql] = "--with-mysql \
                         --with-mysql-includes=${STAGING_INCDIR}/mysql \
Signature · 1 line
2.37.1
author
#5 lore raw

PATCH 6/6 libmtp: Always enable largefile support

In reply to Khem Raj
---
 meta-oe/recipes-connectivity/libmtp/libmtp_1.1.20.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-connectivity/libmtp/libmtp_1.1.20.bb +2 -2
index f7a7507b8c..41fc46c31e 100644
@@ -25,12 +25,12 @@ inherit autotools pkgconfig lib_package
 
 EXTRA_OECONF += " \
     --disable-rpath \
+    --enable-largefile \
     --with-udev=${nonarch_base_libdir}/udev \
 "
 
-PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'largefile', d)}"
+PACKAGECONFIG ?= ""
 PACKAGECONFIG[doxygen] = "--enable-doxygen,--disable-doxygen,doxygen-native"
-PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile"
 PACKAGECONFIG[mtpz] = "--enable-mtpz,--disable-mtpz,libgcrypt"
 
 PACKAGES =+ "${BPN}-common ${BPN}-runtime"
Signature · 1 line
2.37.1