Skip to content

Commit 153503b

Browse files
committed
libxcrypt 4.4.37
autobump: add libxcrypt Signed-off-by: Rui Chen <[email protected]> libxcrypt: add pkgconf build dep Signed-off-by: Rui Chen <[email protected]>
1 parent e0d8c5d commit 153503b

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/autobump.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1816,6 +1816,7 @@ libx11
18161816
libxau
18171817
libxaw3d
18181818
libxc
1819+
libxcrypt
18191820
libxcursor
18201821
libxcvt
18211822
libxdmcp

Formula/lib/libxcrypt.rb

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Libxcrypt < Formula
22
desc "Extended crypt library for descrypt, md5crypt, bcrypt, and others"
33
homepage "https://github.com/besser82/libxcrypt"
4-
url "https://github.com/besser82/libxcrypt/releases/download/v4.4.36/libxcrypt-4.4.36.tar.xz"
5-
sha256 "e5e1f4caee0a01de2aee26e3138807d6d3ca2b8e67287966d1fefd65e1fd8943"
4+
url "https://github.com/besser82/libxcrypt/releases/download/v4.4.37/libxcrypt-4.4.37.tar.xz"
5+
sha256 "902aa2976f959b5ebe55679b1722b8479f8f13cd4ce2ef432b0a84ae298fffd0"
66
license "LGPL-2.1-or-later"
77

88
livecheck do
@@ -25,16 +25,18 @@ class Libxcrypt < Formula
2525

2626
keg_only :provided_by_macos
2727

28+
depends_on "pkgconf" => :build
29+
2830
link_overwrite "include/crypt.h"
2931
link_overwrite "lib/libcrypt.so"
3032

3133
def install
32-
system "./configure", *std_configure_args,
33-
"--disable-static",
34+
system "./configure", "--disable-static",
3435
"--disable-obsolete-api",
3536
"--disable-xcrypt-compat-files",
3637
"--disable-failure-tokens",
37-
"--disable-valgrind"
38+
"--disable-valgrind",
39+
*std_configure_args
3840
system "make", "install"
3941
end
4042

0 commit comments

Comments
 (0)