libxcrypt: update to 4.4.28
authorRosen Penev <rosenp@gmail.com>
Sat, 9 Jul 2022 05:35:36 +0000 (22:35 -0700)
committerRosen Penev <rosenp@gmail.com>
Thu, 14 Jul 2022 21:35:25 +0000 (14:35 -0700)
Build position independent to fix compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/libxcrypt/Makefile

index 3f75b3df4b62ba304b4be9e49802e6766d77781b..fb1bc3c937a46da8d9c0daa18087abcb5b9dbf49 100644 (file)
@@ -1,18 +1,17 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libxcrypt
-PKG_VERSION:=4.4.17
-PKG_RELEASE:=1
+PKG_VERSION:=4.4.28
+PKG_RELEASE:=$(AUTORELEASE)
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://codeload.github.com/besser82/libxcrypt/tar.gz/v$(PKG_VERSION)?
-PKG_HASH:=7665168d0409574a03f7b484682e68334764c29c21ca5df438955a381384ca07
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE_URL:=https://github.com/besser82/libxcrypt/releases/download/v$(PKG_VERSION)
+PKG_HASH:=9e936811f9fad11dbca33ca19bd97c55c52eb3ca15901f27ade046cc79e69e87
 
 PKG_MAINTAINER:=
 PKG_LICENSE:=LGPL-2.1-or-later
 PKG_LICENSE_FILES:=COPYING.LIB
 
-PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
 PKG_BUILD_PARALLEL:=1
 
@@ -41,7 +40,8 @@ CONFIGURE_ARGS += \
        --disable-failure-tokens \
        --disable-xcrypt-compat-files \
        --disable-obsolete-api \
-       --enable-hashes=solaris
+       --enable-hashes=solaris \
+       --with-pic
 
 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include