mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
libxcrypt: noverifyrdeps on libxcrypt-compat
this fixes the dependency cycle when installing e.g. `base-system` on an empty root: ``` $ mkdir /tmp/testroot $ xbps-install -SdR https://repo-default.voidlinux.org/current -r /tmp/testroot base-system ... [DEBUG] Error checking glibc>=2.36_1 for rundeps: Too many levels of symbolic links [DEBUG] Error checking libxcrypt-compat>=0 for rundeps: Too many levels of symbolic links ... ``` After this change, there should be no special user intervention needed or error to resolve.
This commit is contained in:
parent
2eeb8813ed
commit
e255843fd1
1 changed files with 3 additions and 2 deletions
|
@ -1,10 +1,11 @@
|
||||||
# Template file for 'libxcrypt'
|
# Template file for 'libxcrypt'
|
||||||
pkgname=libxcrypt
|
pkgname=libxcrypt
|
||||||
version=4.4.36
|
version=4.4.36
|
||||||
revision=2
|
revision=3
|
||||||
archs="~*-musl"
|
archs="~*-musl"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-hashes=all --disable-failure-tokens --enable-obsolete-api=no"
|
configure_args="--enable-hashes=all --disable-failure-tokens --enable-obsolete-api=no"
|
||||||
|
make_cmd="make -C build"
|
||||||
hostmakedepends="perl-bootstrap"
|
hostmakedepends="perl-bootstrap"
|
||||||
checkdepends="python3-passlib"
|
checkdepends="python3-passlib"
|
||||||
short_desc="Modern library for one-way hashing of passwords"
|
short_desc="Modern library for one-way hashing of passwords"
|
||||||
|
@ -13,7 +14,6 @@ license="LGPL-2.1-or-later, BSD-3-Clause, BSD-2-Clause, 0BSD, Public Domain"
|
||||||
homepage="https://github.com/besser82/libxcrypt"
|
homepage="https://github.com/besser82/libxcrypt"
|
||||||
distfiles="https://github.com/besser82/libxcrypt/releases/download/v${version}/libxcrypt-${version}.tar.xz"
|
distfiles="https://github.com/besser82/libxcrypt/releases/download/v${version}/libxcrypt-${version}.tar.xz"
|
||||||
checksum=e5e1f4caee0a01de2aee26e3138807d6d3ca2b8e67287966d1fefd65e1fd8943
|
checksum=e5e1f4caee0a01de2aee26e3138807d6d3ca2b8e67287966d1fefd65e1fd8943
|
||||||
make_cmd="make -C build"
|
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
broken="musl already provides libcrypt"
|
broken="musl already provides libcrypt"
|
||||||
|
@ -66,6 +66,7 @@ libxcrypt-devel_package() {
|
||||||
|
|
||||||
libxcrypt-compat_package() {
|
libxcrypt-compat_package() {
|
||||||
short_desc+=" - legacy compatibility"
|
short_desc+=" - legacy compatibility"
|
||||||
|
noverifyrdeps=yes
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/libcrypt.so.1*
|
vmove usr/lib/libcrypt.so.1*
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue