]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/libxcrypt
git: Update to version 2.36.0
[ipfire-2.x.git] / lfs / libxcrypt
index 79edc5fb6fd5167b7d4e7c542b39ba2cdc0283e7..56a27f33e26a8de7f82955be5e72a2794787047c 100644 (file)
 
 include Config
 
-VER        = 4.4.22
+VER        = 4.4.28
 
 THISAPP    = libxcrypt-$(VER)
-DL_FILE    = $(THISAPP).tar.gz
+DL_FILE    = $(THISAPP).tar.xz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 
 ifeq "$(TOOLCHAIN)" "1"
   TARGET = $(DIR_INFO)/$(THISAPP)-tools
+  EXTRACONFIG = --host=$(CROSSTARGET) \
+               --target=$(CROSSTARGET)
 else
   TARGET = $(DIR_INFO)/$(THISAPP)
 endif
@@ -45,7 +47,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 6e4f363d86f99562d012c47e7f024618
+$(DL_FILE)_BLAKE2 = cf40994c461bb0161b1fd585cbc3881d98cbe3d494cfaa33f89c4e1cedcd593f5b603b58309dadbaa7cd436bfabe74b0d2d9a8fafd3a2212f5ef5b18e6f67161
 
 install : $(TARGET)
 
@@ -53,10 +55,10 @@ check : $(patsubst %,$(DIR_CHK)/%,$(objects))
 
 download :$(patsubst %,$(DIR_DL)/%,$(objects))
 
-md5 : $(subst %,%_MD5,$(objects))
+b2 : $(subst %,%_BLAKE2,$(objects))
 
 ###############################################################################
-# Downloading, checking, md5sum
+# Downloading, checking, b2sum
 ###############################################################################
 
 $(patsubst %,$(DIR_CHK)/%,$(objects)) :
@@ -65,8 +67,8 @@ $(patsubst %,$(DIR_CHK)/%,$(objects)) :
 $(patsubst %,$(DIR_DL)/%,$(objects)) :
        @$(LOAD)
 
-$(subst %,%_MD5,$(objects)) :
-       @$(MD5)
+$(subst %,%_BLAKE2,$(objects)) :
+       @$(B2SUM)
 
 ###############################################################################
 # Installation Details
@@ -78,6 +80,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && autoreconf -vfi
        cd $(DIR_APP) && \
                ./configure \
+                       $(EXTRACONFIG) \
                        --prefix=$(PREFIX) \
                        --disable-static \
                        --enable-hashes=strong,glibc \