diff --git a/ports/libxcrypt/portfile.cmake b/ports/libxcrypt/portfile.cmake index fac97500e4..286bf6f62d 100644 --- a/ports/libxcrypt/portfile.cmake +++ b/ports/libxcrypt/portfile.cmake @@ -1,5 +1,20 @@ set(VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS enabled) +# Requirements from https://github.com/besser82/libxcrypt?tab=readme-ov-file#build-requirements-and-instructions +message( +"${PORT} currently requires the following libraries from the system package manager: + autoconf automake libtool pkg-config +These can be installed on Debian systems via sudo apt install autoconf automake libtool pkg-config" +) +find_program(AUTORECONF_BIN autoreconf) +if(NOT AUTORECONF_BIN) + message(FATAL_ERROR "${PORT} requires autoconf from the system package manager (example: \"sudo apt install autoconf\")") +endif() +find_program(LIBTOOL_BIN libtoolize) +if(NOT LIBTOOL_BIN) + message(FATAL_ERROR "${PORT} requires libtool from the system package manager (example: \"sudo apt install libtool\")") +endif() + vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO besser82/libxcrypt diff --git a/ports/libxcrypt/vcpkg.json b/ports/libxcrypt/vcpkg.json index e0f08eb183..2ac4555767 100644 --- a/ports/libxcrypt/vcpkg.json +++ b/ports/libxcrypt/vcpkg.json @@ -1,6 +1,7 @@ { "name": "libxcrypt", "version": "4.4.36", + "port-version": 1, "description": "libxcrypt is a modern library for one-way hashing of passwords. On Linux-based systems, by default libxcrypt will be binary backward compatible with the libcrypt.so.1 shipped as part of the GNU C Library.", "homepage": "https://github.com/besser82/libxcrypt", "license": "LGPL-2.1-only", diff --git a/versions/baseline.json b/versions/baseline.json index 21d7c09eb6..670c4486c9 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5186,7 +5186,7 @@ }, "libxcrypt": { "baseline": "4.4.36", - "port-version": 0 + "port-version": 1 }, "libxcvt": { "baseline": "0.1.2", diff --git a/versions/l-/libxcrypt.json b/versions/l-/libxcrypt.json index c2b8418ba4..a2c6525cea 100644 --- a/versions/l-/libxcrypt.json +++ b/versions/l-/libxcrypt.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "89d7de97e87cb0eb10479d47ec43e1cc732b2734", + "version": "4.4.36", + "port-version": 1 + }, { "git-tree": "85a0274aca1b0c7bf756cb41f77d9dbfc2b6fb78", "version": "4.4.36",