libxcrypt: moved library from /usr/lib to /lib

This commit is contained in:
Juergen Daubert 2024-04-18 09:32:17 +02:00
parent b0456f3d4d
commit 126101eb61
3 changed files with 14 additions and 9 deletions

View File

@ -1,12 +1,13 @@
drwxr-xr-x root/root lib/
lrwxrwxrwx root/root lib/libcrypt.so.2 -> libcrypt.so.2.0.0
-rwxr-xr-x root/root lib/libcrypt.so.2.0.0
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/crypt.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libcrypt.a
-rwxr-xr-x root/root usr/lib/libcrypt.la
lrwxrwxrwx root/root usr/lib/libcrypt.so -> libcrypt.so.2.0.0
lrwxrwxrwx root/root usr/lib/libcrypt.so.2 -> libcrypt.so.2.0.0
-rwxr-xr-x root/root usr/lib/libcrypt.so.2.0.0
lrwxrwxrwx root/root usr/lib/libcrypt.so -> ../../lib/libcrypt.so.2.0.0
drwxr-xr-x root/root usr/lib/pkgconfig/
lrwxrwxrwx root/root usr/lib/pkgconfig/libcrypt.pc -> libxcrypt.pc
-rw-r--r-- root/root usr/lib/pkgconfig/libxcrypt.pc

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/core.pub
RWRJc1FUaeVeqsZVt2fhpLBvUzA6bhiGu3EKx50Xey0VCy1v9d4Y0NlOdmQplJHsV9URgQlJrJQChjzaQ3DT74WdaS5XAu/jDQY=
SHA256 (Pkgfile) = d553e53c4e4032bbcd651128fd257d0e5dca76f3531fc97c3b91ccd9d7abdf91
SHA256 (.footprint) = 19b36b0b344630123e2a5c25a782c0f5d90f3d7c636e0299c2b23e21eacc996a
RWRJc1FUaeVeqsmAIM3+m1EvmoCERxePQzj/iWDBweWi9deJWawjX1G/K7LXSGWm7aFoywBhwjr+yWj0nONjX6ve46MfmdSrZgg=
SHA256 (Pkgfile) = 39fdb712d5ce4a07b2fa1d60519ab0dd8541f6aadc2c8722150c9a6db7738d43
SHA256 (.footprint) = 9eee91e74bee049b50674c4d2bdaf4be145cbf59ce382722dd632e07c38186bb
SHA256 (libxcrypt-4.4.36.tar.xz) = e5e1f4caee0a01de2aee26e3138807d6d3ca2b8e67287966d1fefd65e1fd8943

View File

@ -5,14 +5,14 @@
name=libxcrypt
version=4.4.36
release=1
release=2
source=(https://github.com/besser82/libxcrypt/releases/download/v$version/$name-$version.tar.xz)
build() {
cd $name-$version
./configure --prefix=/usr \
--libdir=/usr/lib \
./configure \
--prefix=/usr \
--enable-hashes=strong,glibc \
--enable-obsolete-api=no \
--enable-shared \
@ -25,5 +25,9 @@ build() {
make
make DESTDIR=$PKG install
install -d $PKG/lib
mv $PKG/usr/lib/libcrypt.so.* $PKG/lib
ln -sf ../../lib/$(readlink $PKG/usr/lib/libcrypt.so) $PKG/usr/lib/libcrypt.so
rm -r $PKG/usr/share/man/man3/{crypt,crypt_r}.3
}