Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glibc: update to 2.38. #45501

Merged
merged 97 commits into from
Dec 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
28aa03d
New package: perl-bootstrap-5.38.1
oreo639 Aug 8, 2023
ff32507
New package: libxcrypt-4.4.36
oreo639 Aug 8, 2023
e52dc04
glibc: update to 2.38.
oreo639 Aug 8, 2023
0ceea40
perl: rebuild with libxcrypt
oreo639 Aug 8, 2023
335017e
python3: rebuild for libxcrypt
oreo639 Aug 8, 2023
3f74c24
build-style/void-cross.sh: fix building for glibc 2.38
oreo639 Aug 31, 2023
1ac0c49
cross-vpkg-dummy: glibc does not provide libcrypt anymore
oreo639 Aug 30, 2023
419be00
cross-aarch64-linux-gnu: rebuild for glibc 2.38
oreo639 Aug 31, 2023
cc2aa44
cross-arm-linux-gnueabi: rebuild for glibc 2.38
oreo639 Aug 31, 2023
5cd4e34
cross-arm-linux-gnueabihf: rebuild for glibc 2.38
oreo639 Aug 31, 2023
801faab
cross-armv7l-linux-gnueabihf: rebuild for glibc 2.38
oreo639 Aug 31, 2023
5dc1525
cross-i686-pc-linux-gnu: rebuild for glibc 2.38
oreo639 Aug 31, 2023
2a2f0aa
cross-powerpc-linux-gnu: rebuild for glibc 2.38
oreo639 Aug 31, 2023
9a6812f
cross-powerpc64-linux-gnu: rebuild for glibc 2.38
oreo639 Aug 31, 2023
aef3f70
cross-powerpc64le-linux-gnu: rebuild for glibc 2.38
oreo639 Aug 31, 2023
508f1f2
cross-powerpcle-linux-gnu: rebuild for glibc 2.38
oreo639 Aug 31, 2023
01904c5
cross-riscv64-linux-gnu: rebuild for glibc 2.38
oreo639 Aug 31, 2023
eeb44a1
cross-x86_64-linux-gnu: rebuild for glibc 2.38
oreo639 Aug 31, 2023
287dfe0
python: rebuild with libxcrypt
oreo639 Aug 8, 2023
00f329e
ruby: rebuild for libxcrypt
oreo639 Aug 8, 2023
728dcbc
mariadb: rebuild for libxcrypt
oreo639 Aug 8, 2023
6e8027c
apr-util: rebuild for libxcrypt
oreo639 Aug 30, 2023
cdd25ba
php8.1: rebuild for libxcrypt
oreo639 Aug 8, 2023
4860cab
accountsservice: rebuild for libxcrypt
oreo639 Aug 8, 2023
a681d04
pam: rebuild for libxcrypt
oreo639 Aug 8, 2023
2b1a7b3
libpam-policycache: rebuild for libxcrypt
oreo639 Aug 8, 2023
ca4a360
openssh: rebuild for libxcrypt
oreo639 Aug 8, 2023
6f0faf5
util-linux: rebuild for libxcrypt
oreo639 Aug 8, 2023
75b0dcd
shadow: rebuild for libxcrypt
oreo639 Aug 8, 2023
b529a64
cups: rebuild for libxcrypt
oreo639 Aug 8, 2023
a80b76c
apache: rebuild for libxcrypt
oreo639 Aug 8, 2023
8292867
plasma-workspace: rebuild for libxcrypt
oreo639 Aug 8, 2023
fc29142
openldap: rebuild for libxcrypt
oreo639 Aug 8, 2023
412eaa7
guile: rebuild for libxcrypt
oreo639 Aug 8, 2023
6b1e627
libfilezilla: rebuild for libxcrypt
oreo639 Aug 9, 2023
7aff75a
x11vnc: rebuild for libxcrypt
oreo639 Aug 9, 2023
ea4232e
tcsh: rebuild for libxcrypt
oreo639 Aug 9, 2023
7e49c08
xdm: rebuild for libxcrypt
oreo639 Aug 9, 2023
7087f06
lua54-luaposix: rebuild for libxcrypt
oreo639 Aug 9, 2023
4f13672
FreeRADIUS: rebuild for libxcrypt
oreo639 Aug 30, 2023
41f0e9b
Gauche: rebuild for libxcrypt
oreo639 Aug 30, 2023
5d64716
alpine: rebuild for libxcrypt
oreo639 Aug 30, 2023
3c68ec0
anjuta: rebuild for libxcrypt
oreo639 Aug 30, 2023
3330826
bacula-common: rebuild for libxcrypt
oreo639 Aug 30, 2023
baa4fb2
bitchx: rebuild for libxcrypt
oreo639 Aug 30, 2023
57bdccf
bftpd: rebuild for libxcrypt
oreo639 Oct 28, 2023
d401531
burp2-server: rebuild for libxcrypt
oreo639 Aug 30, 2023
0f738eb
busybox: rebuild for libxcrypt
oreo639 Aug 30, 2023
ea76a54
ccrypt: rebuild for libxcrypt
oreo639 Aug 30, 2023
7a8422b
clisp: rebuild for libxcrypt
oreo639 Aug 30, 2023
a3fbf44
collectd: rebuild for libxcrypt
oreo639 Aug 30, 2023
b4e0b07
cvm: rebuild for libxcrypt
oreo639 Aug 30, 2023
f9966dc
cvs: rebuild for libxcrypt
oreo639 Aug 30, 2023
9ab2e7b
cyrus-sasl: rebuild for libxcrypt
oreo639 Aug 30, 2023
bbfed36
dante: rebuild for libxcrypt
oreo639 Aug 30, 2023
aa15ab6
dovecot: rebuild for libxcrypt
oreo639 Aug 30, 2023
a9c5d65
dropbear: rebuild for libxcrypt
oreo639 Aug 30, 2023
7c9527e
fcron: rebuild for libxcrypt
oreo639 Aug 30, 2023
3ac3311
frr: rebuild for libxcrypt
oreo639 Aug 30, 2023
c3c7b12
gatling: rebuild for libxcrypt
oreo639 Aug 30, 2023
22b97a5
haproxy: rebuild for libxcrypt
oreo639 Aug 30, 2023
6a82151
hiawatha: rebuild for libxcrypt
oreo639 Aug 30, 2023
088f917
inetutils: rebuild for libxcrypt
oreo639 Aug 30, 2023
58d6d7f
john: rebuild for libxcrypt
oreo639 Aug 30, 2023
14b9707
ldapvi: rebuild for libxcrypt
oreo639 Aug 30, 2023
566d0c9
Ice: rebuild for libxcrypt
oreo639 Aug 30, 2023
f369180
libcli: rebuild for libxcrypt
oreo639 Aug 30, 2023
db5aaca
lighttpd: rebuild for libxcrypt
oreo639 Aug 30, 2023
1ff7ea3
whois: rebuild for libxcrypt
oreo639 Aug 30, 2023
c576f12
mokutil: rebuild for libxcrypt
oreo639 Aug 30, 2023
f39d99a
monit: rebuild for libxcrypt
oreo639 Aug 30, 2023
4821db1
open-vm-tools: rebuild for libxcrypt
oreo639 Aug 30, 2023
f959e3e
nginx: rebuild for libxcrypt
oreo639 Aug 30, 2023
d8c9ecf
opensmtpd: rebuild for libxcrypt
oreo639 Aug 30, 2023
e134257
otpw: rebuild for libxcrypt
oreo639 Aug 30, 2023
8f539fc
parrot: rebuild for libxcrypt
oreo639 Aug 30, 2023
29a647c
passwdqc: rebuild for libxcrypt
oreo639 Aug 30, 2023
1f4e60f
pounce: rebuild for libxcrypt
oreo639 Aug 30, 2023
5c199e1
ppp: rebuild for libxcrypt
oreo639 Aug 30, 2023
510ace4
proftpd: rebuild for libxcrypt
oreo639 Aug 30, 2023
0a30426
xrootd: rebuild for libxcrypt
oreo639 Aug 30, 2023
0503aa4
root: rebuild for libxcrypt
oreo639 Aug 30, 2023
8481109
screen: rebuild for libxcrypt
oreo639 Aug 30, 2023
9b1cb91
slock: rebuild for libxcrypt
oreo639 Aug 30, 2023
d607734
sqmail: rebuild for libxcrypt
oreo639 Aug 30, 2023
7f91543
squid: rebuild for libxcrypt
oreo639 Aug 30, 2023
1f4c677
stress-ng: rebuild for libxcrypt
oreo639 Aug 30, 2023
c7e7a1c
swi-prolog: rebuild for libxcrypt
oreo639 Aug 30, 2023
3f54719
tacacs: rebuild for libxcrypt
oreo639 Aug 30, 2023
3ca3c00
thttpd: rebuild for libxcrypt
oreo639 Aug 30, 2023
2438e6f
toybox: rebuild for libxcrypt
oreo639 Aug 30, 2023
f532d0e
txr: rebuild for libxcrypt
oreo639 Aug 30, 2023
73528ca
vile: rebuild for libxcrypt
oreo639 Aug 30, 2023
431781b
vsftpd: rebuild for libxcrypt
oreo639 Aug 30, 2023
fb1a8c3
wvstreams: rebuild for libxcrypt
oreo639 Aug 30, 2023
8a784ef
xlockmore: rebuild for libxcrypt
oreo639 Aug 30, 2023
ca8cb0c
xscreensaver: rebuild for libxcrypt
oreo639 Aug 30, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion common/build-style/void-cross.sh
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,10 @@ _void_cross_build_glibc() {

CC="${tgt}-gcc" CXX="${tgt}-g++" CPP="${tgt}-cpp" LD="${tgt}-ld" \
AR="${tgt}-ar" AS="${tgt}-as" NM="${tgt}-nm" \
OBJDUMP="${tgt}-objdump" OBJCOPY="${tgt}-objcopy" \
CFLAGS="-pipe ${cross_glibc_cflags}" \
CXXFLAGS="-pipe ${cross_glibc_cflags}" \
CPPFLAGS="${cross_glibc_cflags}" \
CPPFLAGS="" \
LDFLAGS="${cross_glibc_ldflags}" \
../glibc-${ver}/configure \
--prefix=/usr \
Expand Down
62 changes: 31 additions & 31 deletions common/shlibs
Original file line number Diff line number Diff line change
Expand Up @@ -17,39 +17,39 @@
# one (order top->bottom) is preferred over the next ones.
#
libc.so musl-1.1.24_7
libc.so.6 glibc-2.36_1
libm.so.6 glibc-2.36_1
libpthread.so.0 glibc-2.36_1
librt.so.1 glibc-2.36_1
libdl.so.2 glibc-2.36_1
ld-linux-x86-64.so.2 glibc-2.36_1 x86_64
ld-linux.so.2 glibc-2.36_1 i686
ld-linux.so.3 glibc-2.36_1 armv5tel
ld-linux-aarch64.so.1 glibc-2.36_1 aarch64
ld-linux-riscv64-lp64d.so.1 glibc-2.36_1 riscv64
ld64.so.2 glibc-2.36_1 ppc64
ld.so.1 glibc-2.36_1 mips
ld.so.1 glibc-2.36_1 ppc
ld-linux-armhf.so.3 glibc-2.36_1
libresolv.so.2 glibc-2.36_1
libanl.so.1 glibc-2.36_1
libthread_db.so.1 glibc-2.36_1
libutil.so.1 glibc-2.36_1
libnsl.so.1 glibc-2.36_1
libnss_db.so.2 glibc-2.36_1
libnss_files.so.2 glibc-2.36_1
libnss_compat.so.2 glibc-2.36_1
libnss_dns.so.2 glibc-2.36_1
libnss_hesiod.so.2 glibc-2.36_1
libcrypt.so.1 glibc-2.36_1
libBrokenLocale.so.1 glibc-2.36_1
libc.so.6 glibc-2.38_1
libm.so.6 glibc-2.38_1
libpthread.so.0 glibc-2.38_1
librt.so.1 glibc-2.38_1
libdl.so.2 glibc-2.38_1
ld-linux-x86-64.so.2 glibc-2.38_1 x86_64
ld-linux.so.2 glibc-2.38_1 i686
ld-linux.so.3 glibc-2.38_1 armv5tel
ld-linux-aarch64.so.1 glibc-2.38_1 aarch64
ld-linux-riscv64-lp64d.so.1 glibc-2.38_1 riscv64
ld64.so.2 glibc-2.38_1 ppc64
ld.so.1 glibc-2.38_1 mips
ld.so.1 glibc-2.38_1 ppc
ld-linux-armhf.so.3 glibc-2.38_1
libresolv.so.2 glibc-2.38_1
libanl.so.1 glibc-2.38_1
libthread_db.so.1 glibc-2.38_1
libutil.so.1 glibc-2.38_1
libnsl.so.1 glibc-2.38_1
libnss_db.so.2 glibc-2.38_1
libnss_files.so.2 glibc-2.38_1
libnss_compat.so.2 glibc-2.38_1
libnss_dns.so.2 glibc-2.38_1
libnss_hesiod.so.2 glibc-2.38_1
libBrokenLocale.so.1 glibc-2.38_1
libcrypt.so.2 libxcrypt-4.4.36_1
libSimGearCore.so.2020.3.17 simgear-2020.3.17_1
libSimGearScene.so.2020.3.17 simgear-2020.3.17_1
libmemusage.so glibc-2.36_1
libSegFault.so glibc-2.36_1
libpcprofile.so glibc-2.36_1
libcidn.so.1 glibc-2.36_1
libmvec.so.1 glibc-2.36_1
libmemusage.so glibc-2.38_1
libSegFault.so glibc-2.38_1
libpcprofile.so glibc-2.38_1
libcidn.so.1 glibc-2.38_1
libmvec.so.1 glibc-2.38_1
libcddgmp.so.0 cddlib-0.94m_1
libcdd.so.0 cddlib-0.94m_1
libz.so.1 zlib-1.2.3_1
Expand Down
6 changes: 5 additions & 1 deletion srcpkgs/FreeRADIUS/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'FreeRADIUS'
pkgname=FreeRADIUS
version=3.0.26
revision=3
revision=4
build_style=gnu-configure
makedepends="talloc-devel openssl-devel mit-krb5-devel pam-devel \
libmariadbclient-devel postgresql-libs-devel json-c-devel"
Expand All @@ -15,6 +15,10 @@ nocross=yes # Not supported by upstream
system_accounts="_freeradius"
make_dirs="/etc/raddb 0750 _freeradius _freeradius"

if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi

pre_install() {
# FreeRADIUS uses 'R' instead of 'DESTDIR'
export R=${DESTDIR}
Expand Down
6 changes: 5 additions & 1 deletion srcpkgs/Gauche/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'Gauche'
pkgname=Gauche
version=0.9.12
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="texinfo"
makedepends="libticonv-devel libatomic_ops-devel"
Expand All @@ -17,6 +17,10 @@ alternatives="
scheme:scheme.1:/usr/share/man/man1/gosh.1
"

if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi

if [ -n "$CROSS_BUILD" ]; then
# Gauche needs itself to bootstrap for cross compilation.
hostmakedepends+=" Gauche"
Expand Down
6 changes: 5 additions & 1 deletion srcpkgs/Ice/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'Ice'
pkgname=Ice
version=3.7.8
revision=2
revision=3
build_style=gnu-makefile
make_build_args="LANGUAGES=cpp OPTIMIZE=yes USR_DIR_INSTALL=yes CONFIGS=shared
CONFIGS+=cpp11-shared"
Expand All @@ -16,6 +16,10 @@ changelog="https://doc.zeroc.com/ice/latest/release-notes"
distfiles="https://github.com/zeroc-ice/ice/archive/v${version}.tar.gz"
checksum=f2ab6b151ab0418fab30bafc2524d9ba4c767a1014f102df88d735fc775f9824

if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi

if [ "$CROSS_BUILD" ]; then
# Cross build requires the host's slice2cpp
hostmakedepends+=" Ice"
Expand Down
6 changes: 5 additions & 1 deletion srcpkgs/accountsservice/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'accountsservice'
pkgname=accountsservice
version=0.6.55
revision=2
revision=3
build_style=meson
build_helper="gir"
configure_args="-Dsystemdsystemunitdir=no -Duser_heuristics=false
Expand All @@ -18,6 +18,10 @@ make_dirs="
/var/lib/AccountsService/users 755 root root
/var/lib/AccountsService/icons 755 root root"

if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi

# Package build options
build_options="elogind gir"
build_options_default="elogind gir"
Expand Down
6 changes: 5 additions & 1 deletion srcpkgs/alpine/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'alpine'
pkgname=alpine
version=2.26
revision=3
revision=4
_githash=9726c098a739edfdca6218bc5dee104c310957e9
_gitshort="${_githash:0:7}"
build_style=gnu-configure
Expand All @@ -20,6 +20,10 @@ checksum=c8c377eab0f65b51283e0ad3144be143065dca4463d12ccf5092ae841515a431
# weird fail with openssl3 otherwise
disable_parallel_build=yes

if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi

post_extract() {
sed -i -e '/run test program/s/^/: /' \
-e 's/linux-gnu/linux-/g' ${wrksrc}/configure
Expand Down
6 changes: 5 additions & 1 deletion srcpkgs/anjuta/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'anjuta'
pkgname=anjuta
version=3.34.0
revision=5
revision=6
build_style=gnu-configure
build_helper="gir qemu"
configure_args="--disable-compile-warnings --disable-schemas-compile
Expand All @@ -23,6 +23,10 @@ homepage="https://projects.gnome.org/anjuta"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=42a93130ed3ee02d064a7094e94e1ffae2032b3f35a87bf441e37fc3bb3a148f

if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi

build_options="gir"
build_options_default="gir"

Expand Down
6 changes: 5 additions & 1 deletion srcpkgs/apache/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'apache'
pkgname=apache
version=2.4.56
revision=3
revision=4
build_style=gnu-configure
configure_args="--prefix= --sbindir=/usr/bin --enable-pie --enable-modules=all
--enable-mods-shared=all --enable-authn-dbm --enable-authn-anon
Expand Down Expand Up @@ -36,6 +36,10 @@ changelog="https://www.apache.org/dist/httpd/CHANGES_2.4"
distfiles="https://archive.apache.org/dist/httpd/httpd-${version}.tar.bz2"
checksum=d8d45f1398ba84edd05bb33ca7593ac2989b17cb9c7a0cafe5442d41afdb2d7c

if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi

system_accounts="_apache"
_apache_homedir="/srv/www/$pkgname"

Expand Down
6 changes: 5 additions & 1 deletion srcpkgs/apr-util/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'apr-util'
pkgname=apr-util
version=1.6.3
revision=3
revision=4
build_style=gnu-configure
configure_args="
--with-pgsql --with-ldap --with-apr=${XBPS_CROSS_BASE}/usr
Expand All @@ -22,6 +22,10 @@ checksum=a41076e3710746326c3945042994ad9a4fcac0ce0277dd8fea076fec3c9772b5
# fails to build tests
make_check=no

if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi

pre_configure() {
autoreconf -fi
}
Expand Down
6 changes: 5 additions & 1 deletion srcpkgs/bacula-common/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'bacula-common'
pkgname=bacula-common
version=9.4.2
revision=6
revision=7
build_style=gnu-configure
configure_args="--with-openssl --with-sqlite3 --with-mysql --with-postgresql
--enable-smartalloc --sysconfdir=/etc/bacula
Expand All @@ -17,6 +17,10 @@ checksum=a40d04d2c48135972cecb6578405e835c4b9d798c0950017de0fad40ca94e8a0
alternatives="bacula-db-backend:/usr/lib/libbaccats-${version}.so:/usr/lib/libbaccats-sqlite3-${version}.so"
shlib_provides="libbaccats-${version}.so"

if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi

CFLAGS="-Wno-narrowing"

post_install() {
Expand Down
6 changes: 5 additions & 1 deletion srcpkgs/bftpd/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'bftpd'
pkgname=bftpd
version=6.1
revision=2
revision=3
build_style=gnu-configure
configure_args="--enable-libz"
makedepends="zlib-devel"
Expand All @@ -12,6 +12,10 @@ homepage="https://bftpd.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
checksum=9721d0614e1a5d0fe6b80c9a8a04ada8efd42cbdfddd239e95a8059ae283aa6f

if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi

CFLAGS="-fcommon"
make_build_args=V=1
make_dirs="/var/run/bftpd 0755 root root"
Expand Down
6 changes: 5 additions & 1 deletion srcpkgs/bitchx/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'bitchx'
pkgname=bitchx
version=1.2.1
revision=18
revision=19
build_style=gnu-configure
configure_args="--with-ssl --with-ipv6 --with-plugins"
makedepends="openssl-devel ncurses-devel"
Expand All @@ -12,6 +12,10 @@ homepage="http://bitchx.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2

if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi

disable_parallel_build=yes

CFLAGS="-fcommon"
Expand Down
4 changes: 3 additions & 1 deletion srcpkgs/burp2-server/template
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ _desc="Network-based backup and restore program"

pkgname=burp2-server
version=2.4.0
revision=2
revision=3
build_style=gnu-configure
make_install_target=install-all
configure_args="--sysconfdir=/etc/burp"
Expand All @@ -26,6 +26,8 @@ make_dirs="/var/spool/burp 0755 root root"

if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
elif [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi

pre_configure() {
Expand Down
6 changes: 5 additions & 1 deletion srcpkgs/busybox/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'busybox'
pkgname=busybox
version=1.34.1
revision=4
revision=5
hostmakedepends="perl"
checkdepends="tar which zip"
short_desc="Swiss Army Knife of Embedded Linux"
Expand All @@ -11,6 +11,10 @@ homepage="https://www.busybox.net"
distfiles="${homepage}/downloads/busybox-${version}.tar.bz2"
checksum=415fbd89e5344c96acf449d94a6f956dbed62e18e835fc83e064db33a34bd549

if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi

_alternatives_core="
ash:ash:/usr/bin/busybox
awk:awk:/usr/bin/busybox
Expand Down
6 changes: 5 additions & 1 deletion srcpkgs/ccrypt/template
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# Template file for 'ccrypt'
pkgname=ccrypt
version=1.11
revision=1
revision=2
build_style=gnu-configure
short_desc="Symmetric encryption utility using Rijndael cipher"
maintainer="Evan Deaubl <[email protected]>"
license="GPL-2.0-or-later"
homepage="https://ccrypt.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/ccrypt/ccrypt-${version}.tar.gz"
checksum=b19c47500a96ee5fbd820f704c912f6efcc42b638c0a6aa7a4e3dc0a6b51a44f

if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi
6 changes: 5 additions & 1 deletion srcpkgs/clisp/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'clisp'
pkgname=clisp
version=2.49.92
revision=1
revision=2
build_style=configure
configure_args="--prefix=/usr --disable-mmap --disable-rpath
--without-dynamic-modules $(vopt_with readline)"
Expand All @@ -20,6 +20,10 @@ disable_parallel_build=yes
build_options="readline"
build_options_default="readline"

if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi

case "$XBPS_TARGET_MACHINE" in
i686-musl) broken="*** - MULTIPLE-VALUE-SETQ: variable EXTRA-FILE-TYPES has no value";;
esac
Expand Down
6 changes: 5 additions & 1 deletion srcpkgs/collectd/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'collectd'
pkgname=collectd
version=5.12.0
revision=11
revision=12
build_style=gnu-configure
configure_args="$(vopt_enable rrdtool rrdtool) $(vopt_enable perl perl)
$(vopt_enable notify notify_desktop) --with-libiptc --enable-virt
Expand All @@ -24,6 +24,10 @@ distfiles="https://collectd.org/files/${pkgname}-${version}.tar.bz2"
checksum=5bae043042c19c31f77eb8464e56a01a5454e0b39fa07cf7ad0f1bfc9c3a09d6
LDFLAGS="-lgcrypt"

if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi

build_options="rrdtool perl notify prometheus"
desc_option_rrdtool="Enable support for RRDTool"
desc_option_prometheus="Enable write_prometheus plugin"
Expand Down
Loading
Loading