update to 12.3: libxcrypt-compat

This commit is contained in:
2025-03-19 22:03:29 -04:00
parent 3faa8ec4f0
commit 4fce2108d9

View File

@@ -0,0 +1,32 @@
pkgname=libxcrypt-compat
_pkgbase=libxcrypt
pkgver=4.4.38
pkgdesc='Modern library for one-way hashing of passwords - legacy API functions'
homepage='https://github.com/besser82/libxcrypt/'
license=('LGPL')
sources=("${_pkgbase}-${pkgver}.tar.xz")
urls=("${homepage}/releases/download/v${pkgver}/${sources[0]}")
md5sums=("1796a5d20098e9dd9e3f576803c83000")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
./configure --prefix=/usr \
--enable-hashes=strong,glibc \
--enable-obsolete-api=glibc \
--disable-static \
--disable-failure-tokens
make
}
src_check() {
:
}
src_install() {
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/{include,lib/{lib*.so,pkgconfig},share}
}