11class Dante < Formula
22 desc "SOCKS server and client, implementing RFC 1928 and related standards"
33 homepage "https://www.inet.no/dante/"
4- url "https://www.inet.no/dante/files/dante-1.4.3 .tar.gz"
5- sha256 "418a065fe1a4b8ace8fbf77c2da269a98f376e7115902e76cda7e741e4846a5d "
4+ url "https://www.inet.no/dante/files/dante-1.4.4 .tar.gz"
5+ sha256 "1973c7732f1f9f0a4c0ccf2c1ce462c7c25060b25643ea90f9b98f53a813faec "
66 license "BSD-Inferno-Nettverk"
77
88 livecheck do
@@ -25,6 +25,8 @@ class Dante < Formula
2525 sha256 cellar : :any_skip_relocation , x86_64_linux : "19ae4553c91fc1991fd495f3b3e25d92fa7cbd59bd7d32f8fc71444f02bbbee5"
2626 end
2727
28+ uses_from_macos "libxcrypt"
29+
2830 # Fix -flat_namespace being used on Big Sur and later.
2931 patch do
3032 url "https://raw.githubusercontent.com/Homebrew/formula-patches/03cf8088210822aa2c1ab544ed58ea04c897d9c4/libtool/configure-pre-0.4.2.418-big_sur.diff"
@@ -35,14 +37,14 @@ def install
3537 system "./configure" , "--disable-debug" ,
3638 "--disable-silent-rules" ,
3739 # Enabling dependency tracking disables universal
38- # build, avoiding a build error on Mojave
40+ # build, avoiding causing size or memmove detection issues.
3941 "--enable-dependency-tracking" ,
4042 "--prefix=#{ prefix } " ,
4143 "--sysconfdir=#{ etc } /dante"
4244 system "make" , "install"
4345 end
4446
4547 test do
46- system " #{ sbin } / sockd", "-v"
48+ system sbin / " sockd", "-v"
4749 end
4850end
0 commit comments