From cdfef729a7ed9c92c9bb1ae1fc0662f89a5e77fb Mon Sep 17 00:00:00 2001 From: HyperWinX Date: Tue, 7 Jul 2026 23:21:04 -0700 Subject: [PATCH] update --- Casks/claude-code.rb | 2 +- Casks/macfuse.rb | 49 ++++++++ Casks/opencode-desktop.rb | 37 ++++++ Formula/conan.rb | 110 +++++++++++++++++ Formula/ffmpeg.rb | 117 ++++++++++++++++++ Formula/git.rb | 251 ++++++++++++++++++++++++++++++++++++++ Formula/gnupg.rb | 115 +++++++++++++++++ Formula/iperf3.rb | 57 +++++++++ Formula/nmap.rb | 86 +++++++++++++ Formula/openjdk@17.rb | 178 +++++++++++++++++++++++++++ Formula/python-tk@3.14.rb | 70 +++++++++++ Formula/tree.rb | 29 +++++ tap-manifest.json | 65 ++++++++++ 13 files changed, 1165 insertions(+), 1 deletion(-) create mode 100644 Casks/macfuse.rb create mode 100644 Casks/opencode-desktop.rb create mode 100644 Formula/conan.rb create mode 100644 Formula/ffmpeg.rb create mode 100644 Formula/git.rb create mode 100644 Formula/gnupg.rb create mode 100644 Formula/iperf3.rb create mode 100644 Formula/nmap.rb create mode 100644 Formula/openjdk@17.rb create mode 100644 Formula/python-tk@3.14.rb create mode 100644 Formula/tree.rb diff --git a/Casks/claude-code.rb b/Casks/claude-code.rb index 10f3dc7..100ba26 100644 --- a/Casks/claude-code.rb +++ b/Casks/claude-code.rb @@ -5,7 +5,7 @@ cask "claude-code" do arch arm: "arm64", intel: "x64" os macos: "darwin", linux: "linux" - version "2.1.193" + version "2.1.195" sha256 arm: "86d8b820ad7eed50e50a130706d3dc5ef70696f91194de1b3897a842182afe3a", x86_64: "86d8b820ad7eed50e50a130706d3dc5ef70696f91194de1b3897a842182afe3a", arm64_linux: "341072395844b2b6d2846d8d61d551752b12a44433c920d0cc7fe6e7b5692a9b", x86_64_linux: "cf066bf360cbf7b51abeb8cb230012fc0f2fed4253b2ce305de48ccd6d49a39c" url "https://homebrew.hyprnet/casks/claude-code/claude-code--claude", diff --git a/Casks/macfuse.rb b/Casks/macfuse.rb new file mode 100644 index 0000000..719ff2e --- /dev/null +++ b/Casks/macfuse.rb @@ -0,0 +1,49 @@ +# frozen_string_literal: true +# Generated by generate_tap.py for local/mirror + +cask "macfuse" do + version "5.2.0" + sha256 "09a4b4c23c1930af45335fc119696797da41562dec1630602d2db637f4804f27" + + url "https://homebrew.hyprnet/casks/macfuse/macfuse--macfuse-5.2.0.dmg", + verified: "github.com/macfuse/macfuse/" + name "macFUSE" + desc "File system integration" + homepage "https://macfuse.github.io/" + + livecheck do + url "https://macfuse.github.io/releases/CurrentRelease.plist" + strategy :xml do |xml| + xml.get_elements("//key[text()='Version']").map { |item| item.next_element&.text&.strip } + end + end + + auto_updates true + conflicts_with cask: "macfuse@dev" + depends_on :macos + + pkg "Extras/macFUSE #{version}.pkg" + + postflight do + set_ownership ["/usr/local/include", "/usr/local/lib"] + end + + uninstall launchctl: [ + "io.macfuse.app.launchservice.broker", + "io.macfuse.app.launchservice.daemon", + ], + pkgutil: [ + "io.macfuse.installer.components.core", + "io.macfuse.installer.components.preferencepane", + ] + + zap trash: [ + "/Library/PreferencePanes/macFUSE.prefPane", + "~/Library/Caches/io.macfuse.preferencepanes.macfuse", + "~/Library/HTTPStorages/io.macfuse.preferencepanes.macfuse", + ] + + caveats do + kext + end +end diff --git a/Casks/opencode-desktop.rb b/Casks/opencode-desktop.rb new file mode 100644 index 0000000..280f751 --- /dev/null +++ b/Casks/opencode-desktop.rb @@ -0,0 +1,37 @@ +# frozen_string_literal: true +# Generated by generate_tap.py for local/mirror + +cask "opencode-desktop" do + arch arm: "arm64", intel: "x64" + + version "1.17.14" + sha256 arm: "deb8267728b08404beadc6b8225566b8ff618e2b134b19a46529ac42c95df95c", intel: "deb8267728b08404beadc6b8225566b8ff618e2b134b19a46529ac42c95df95c" + + url "https://homebrew.hyprnet/casks/opencode-desktop/opencode-desktop--opencode-desktop-mac-arm64.dmg", + verified: "github.com/anomalyco/opencode/" + name "OpenCode" + desc "AI coding agent desktop client" + homepage "https://opencode.ai/" + + livecheck do + url "https://github.com/anomalyco/opencode/releases/latest/download/latest.json" + strategy :json do |json| + json["version"] + end + end + + auto_updates true + depends_on macos: :monterey + + app "OpenCode.app" + + zap trash: [ + "~/Library/Application Support/ai.opencode.desktop", + "~/Library/Caches/ai.opencode.desktop", + "~/Library/HTTPStorages/ai.opencode.desktop", + "~/Library/Logs/ai.opencode.desktop", + "~/Library/Preferences/ai.opencode.desktop.plist", + "~/Library/Saved Application State/ai.opencode.desktop.savedState", + "~/Library/WebKit/ai.opencode.desktop", + ] +end diff --git a/Formula/conan.rb b/Formula/conan.rb new file mode 100644 index 0000000..a3a4cbd --- /dev/null +++ b/Formula/conan.rb @@ -0,0 +1,110 @@ +# frozen_string_literal: true +# Generated by generate_tap.py for local/mirror + +class Conan < Formula + include Language::Python::Virtualenv + + desc "Distributed, open source, package manager for C/C++" + homepage "https://conan.io" + url "https://homebrew.hyprnet/sources/1b2f9941f9c24d86dc99bb7a3a1c3ef689ccaae5605c1c0d773a8a2eeec2ceb6--conan--2.30.0.x86_64_linux.bottle.tar.gz" + sha256 "8cee363744b164fc043d0b9bef8db856bd6b27a3c971d9c494441d2aa92794fa" + license "MIT" + head "https://github.com/conan-io/conan.git", branch: "develop2" + + bottle do + root_url "https://homebrew.hyprnet/bottles" + sha256 cellar: :any, arm64_tahoe: "202d94eb99caec13680d39d7f7be3f0e4a823ee5fedca198d5ba38a87cde2369" + sha256 cellar: :any, arm64_sequoia: "6526b24f7820df8f7b1930ecf8eaa4ef18fe8dca73d18b2536aef5c3ff7154f5" + sha256 cellar: :any, arm64_sonoma: "fe2e58aaafedbb75ef4226cc26f2f2b81081f7e8c1ae344e44e0955d718f07fe" + sha256 cellar: :any, sonoma: "7698ef4ba13fb3b6e54953d57aba1066460ee44227777bec22454d921b6a5f0e" + sha256 cellar: :any, arm64_linux: "b78272c60d58cdd503922f362587d10b46f04c3f185ceb3f0193a13d45f5ac68" + sha256 cellar: :any, x86_64_linux: "8f003c0371a76cf8997ad7d23be6c0aa27c556d2786080a8c65eb01fc0a73f42" + end + + depends_on "pkgconf" => :build + depends_on "cmake" => :test + depends_on "certifi" => :no_linkage + depends_on "libyaml" + depends_on "python@3.14" + + pypi_packages exclude_packages: "certifi", + extra_packages: "distro" + + resource "charset-normalizer" do + url "https://files.pythonhosted.org/packages/e7/a1/67fe25fac3c7642725500a3f6cfe5821ad557c3abb11c9d20d12c7008d3e/charset_normalizer-3.4.7.tar.gz" + sha256 "ae89db9e5f98a11a4bf50407d4363e7b09b31e55bc117b4f7d80aab97ba009e5" + end + + resource "colorama" do + url "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz" + sha256 "08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44" + end + + resource "distro" do + url "https://files.pythonhosted.org/packages/fc/f8/98eea607f65de6527f8a2e8885fc8015d3e6f5775df186e443e0964a11c3/distro-1.9.0.tar.gz" + sha256 "2fa77c6fd8940f116ee1d6b94a2f90b13b5ea8d019b98bc8bafdcabcdd9bdbed" + end + + resource "fasteners" do + url "https://files.pythonhosted.org/packages/2d/18/7881a99ba5244bfc82f06017316ffe93217dbbbcfa52b887caa1d4f2a6d3/fasteners-0.20.tar.gz" + sha256 "55dce8792a41b56f727ba6e123fcaee77fd87e638a6863cec00007bfea84c8d8" + end + + resource "idna" do + url "https://files.pythonhosted.org/packages/cd/63/9496c57188a2ee585e0f1db071d75089a11e98aa86eb99d9d7618fc1edce/idna-3.18.tar.gz" + sha256 "ffb385a7e039654cef1ab9ef32c6fafe283c0c0467bba1d9029738ce4a14a848" + end + + resource "jinja2" do + url "https://files.pythonhosted.org/packages/df/bf/f7da0350254c0ed7c72f3e33cef02e048281fec7ecec5f032d4aac52226b/jinja2-3.1.6.tar.gz" + sha256 "0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d" + end + + resource "markupsafe" do + url "https://files.pythonhosted.org/packages/7e/99/7690b6d4034fffd95959cbe0c02de8deb3098cc577c67bb6a24fe5d7caa7/markupsafe-3.0.3.tar.gz" + sha256 "722695808f4b6457b320fdc131280796bdceb04ab50fe1795cd540799ebe1698" + end + + resource "patch-ng" do + url "https://files.pythonhosted.org/packages/da/b6/8ea8095f964f93567bbe28709298b30104ad418b50d4217538387bf48f7d/patch_ng-1.19.1.tar.gz" + sha256 "036a3cc00134ec53f37e92333958ee75e117f2e62a5ec2b85c7122e5e815c29e" + end + + resource "python-dateutil" do + url "https://files.pythonhosted.org/packages/66/c0/0c8b6ad9f17a802ee498c46e004a0eb49bc148f2fd230864601a86dcf6db/python-dateutil-2.9.0.post0.tar.gz" + sha256 "37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3" + end + + resource "pyyaml" do + url "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz" + sha256 "d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f" + end + + resource "requests" do + url "https://files.pythonhosted.org/packages/ac/c3/e2a2b89f2d3e2179abd6d00ebd70bff6273f37fb3e0cc209f48b39d00cbf/requests-2.34.2.tar.gz" + sha256 "f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed" + end + + resource "six" do + url "https://files.pythonhosted.org/packages/94/e7/b2c673351809dca68a0e064b6af791aa332cf192da575fd474ed7d6f16a2/six-1.17.0.tar.gz" + sha256 "ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81" + end + + resource "urllib3" do + url "https://files.pythonhosted.org/packages/53/0c/06f8b233b8fd13b9e5ee11424ef85419ba0d8ba0b3138bf360be2ff56953/urllib3-2.7.0.tar.gz" + sha256 "231e0ec3b63ceb14667c67be60f2f2c40a518cb38b03af60abc813da26505f4c" + end + + def install + virtualenv_install_with_resources + end + + test do + system bin/"conan", "profile", "detect" + system bin/"conan", "install", "--requires=zlib/1.3.1", + "--build=missing", + "--lockfile-out=conan.lock" + lockfile = JSON.parse(File.read("conan.lock", mode: "r")) + refute_predicate lockfile["requires"].select { |req| req.start_with?("zlib/1.3.1") }, :empty? + end +end diff --git a/Formula/ffmpeg.rb b/Formula/ffmpeg.rb new file mode 100644 index 0000000..4068ed4 --- /dev/null +++ b/Formula/ffmpeg.rb @@ -0,0 +1,117 @@ +# frozen_string_literal: true +# Generated by generate_tap.py for local/mirror + +class Ffmpeg < Formula + desc "Play, record, convert, and stream select audio and video codecs" + homepage "https://ffmpeg.org/" + url "https://homebrew.hyprnet/sources/d060ec861b6caccbe753a129c06053a632c22c60ffbd7291922f46ae9e3e34c2--ffmpeg--8.1.2_1.x86_64_linux.bottle.tar.gz" + sha256 "464beb5e7bf0c311e68b45ae2f04e9cc2af88851abb4082231742a74d97b524c" + # None of these parts are used by default, you have to explicitly pass `--enable-gpl` + # to configure to activate them. In this case, FFmpeg's license changes to GPL v2+. + # Passing `--enable-version3` changes the license to GPL v3+. + license "GPL-3.0-or-later" + revision 1 + compatibility_version 2 + head "https://github.com/FFmpeg/FFmpeg.git", branch: "master" + + livecheck do + url "https://ffmpeg.org/download.html" + regex(/href=.*?ffmpeg[._-]v?(\d+(?:\.\d+)+)\.t/i) + end + + bottle do + root_url "https://homebrew.hyprnet/bottles" + sha256 arm64_tahoe: "90fde7486968511145ad359f060eb19adf4e4fa26184e60731dbcff3e4b0243b" + sha256 arm64_sequoia: "3b1dab25100b79de074463b6b10be1266ed0d5f6eb6409fa53707f49e24bb2a7" + sha256 arm64_sonoma: "38adbd173fdb77cc6a24a44722daa1f42f1775bf5f6c09a679fefdeee9749a9f" + sha256 sonoma: "fcc13fae2031e5adaa193bc1accb03e8127b9503d41ac29c07e3758e7a88ba88" + sha256 arm64_linux: "947634a5bfc9d2528e49ca232bba628ac4feedf8103d54e1970a76fa6c609c8a" + sha256 x86_64_linux: "0604736f61e5760bbeb51a161d8070d9d7733ff437d34d19b5a15f14ef597a11" + end + + depends_on "pkgconf" => :build + + # Only add dependencies required for dependents in homebrew-core + # or INCREDIBLY widely used and light codecs in the current year (2026). + # Add other dependencies to ffmpeg-full formula. + # We should expect to remove e.g. x264 eventually (>=2027) when usage of it is + # negligible and has all moved to e.g. x265 instead. + depends_on "dav1d" + depends_on "lame" + depends_on "libvmaf" # dependent: ab-av1 + depends_on "libvpx" + depends_on "openssl@3" + depends_on "opus" + depends_on "sdl2-compat" + depends_on "svt-av1" + depends_on "x264" + depends_on "x265" + + uses_from_macos "bzip2" + uses_from_macos "libxml2" + + on_linux do + depends_on "alsa-lib" + depends_on "libxcb" + depends_on "xz" + depends_on "zlib-ng-compat" + end + + on_intel do + depends_on "nasm" => :build + end + + deny_network_access! + + def install + # The new linker leads to duplicate symbol issue https://github.com/homebrew-ffmpeg/homebrew-ffmpeg/issues/140 + ENV.append "LDFLAGS", "-Wl,-ld_classic" if DevelopmentTools.ld64_version.between?("1015.7", "1022.1") + + # Fine adding any new options that don't add dependencies to the formula. + args = %W[ + --prefix=#{prefix} + --enable-shared + --enable-pthreads + --enable-version3 + --cc=#{ENV.cc} + --host-cflags=#{ENV.cflags} + --host-ldflags=#{ENV.ldflags} + --enable-ffplay + --enable-gpl + --enable-libsvtav1 + --enable-libopus + --enable-libx264 + --enable-libmp3lame + --enable-libdav1d + --enable-libvmaf + --enable-libvpx + --enable-libx265 + --enable-openssl + ] + + # Needs corefoundation, coremedia, corevideo + args += %w[--enable-videotoolbox --enable-audiotoolbox] if OS.mac? + args << "--enable-neon" if Hardware::CPU.arm? + + system "./configure", *args + system "make", "install" + + # Build and install additional FFmpeg tools + system "make", "alltools" + bin.install (buildpath/"tools").children.select { |f| f.file? && f.executable? } + pkgshare.install buildpath/"tools/python" + end + + def caveats + <<~EOS + ffmpeg-full includes additional tools and libraries that are not included in the regular ffmpeg formula. + EOS + end + + test do + # Create a 5 second test MP4 + mp4out = testpath/"video.mp4" + system bin/"ffmpeg", "-filter_complex", "testsrc=rate=1:duration=5", mp4out + assert_path_exists mp4out, "Failed to create video.mp4!" + end +end diff --git a/Formula/git.rb b/Formula/git.rb new file mode 100644 index 0000000..3c51fdb --- /dev/null +++ b/Formula/git.rb @@ -0,0 +1,251 @@ +# frozen_string_literal: true +# Generated by generate_tap.py for local/mirror + +class Git < Formula + desc "Distributed revision control system" + homepage "https://git-scm.com" + url "https://homebrew.hyprnet/sources/a033b7dba39884cd853861da6e773e03bc640db63fef8e884dc1f82e1134be1f--git--2.55.0.x86_64_linux.bottle.tar.gz" + sha256 "457fdb04dc8728e007d4688695e6912e6f680727920f2a40bf11eacc17505357" + license all_of: [ + "GPL-2.0-only", + "GPL-2.0-or-later", # imap-send.c; trace.c; ... + "LGPL-2.1-or-later", # xdiff/ + "BSD-3-Clause", # xdiff/xhistogram.c; reftable/ + "MIT", # khash.h; sha1dc/ + ] + compatibility_version 1 + head "https://github.com/git/git.git", branch: "master" + + livecheck do + url "https://mirrors.edge.kernel.org/pub/software/scm/git/" + regex(/href=.*?git[._-]v?(\d+(?:\.\d+)+)\.t/i) + end + + bottle do + root_url "https://homebrew.hyprnet/bottles" + sha256 arm64_tahoe: "8cae58826d317457128023d07c07f00ac00aaf3019356ff72a837e804f5d0306" + sha256 arm64_sequoia: "5df08160c5e705ffcce25edfe1bb189d50fd3366a0e451fc254a8d70904adc5f" + sha256 arm64_sonoma: "3d7a66500cc7bf1530d7a5e862f4b4c2e317ed53c95bf76c012ce8ff7ec92ae7" + sha256 sonoma: "f7477c65f53669d1f9fd90ad2d633e6c009d5f6b0e10e039c15ebc022ac18bde" + sha256 arm64_linux: "ea73cb7a909a7c80c2c5474b15b53659dd04b1222efd678e9a693bb06a7ed314" + sha256 x86_64_linux: "01365c33768a2cb170a34f8f201ea3f3a7bb8c0d2140640ff3fbc58584e9758e" + end + + depends_on "gettext" => :build + depends_on "pkgconf" => :build + depends_on "pcre2" + + uses_from_macos "curl" + uses_from_macos "expat" + + # Don't try to add a libiconv dependency without reading this PR first: + # https://github.com/Homebrew/homebrew-core/pull/258461 + + on_macos do + depends_on "gettext" + end + + on_linux do + depends_on "openssl@3" # for git-imap-send (GPL-2.0-or-later), uses CommonCrypto on macOS + depends_on "zlib-ng-compat" + end + + resource "Authen::SASL" do + url "https://cpan.metacpan.org/authors/id/E/EH/EHUELS/Authen-SASL-2.2000.tar.gz" + sha256 "8cdf5a7f185448b614471675dae5b26f8c6e330b62264c3ff5d91172d6889b99" + end + + resource "html" do + url "https://mirrors.edge.kernel.org/pub/software/scm/git/git-htmldocs-2.55.0.tar.xz" + sha256 "d1142c4e28b469d297d6df6519653e92a76c952f55202fde17a72a3b03d49437" + + livecheck do + formula :parent + end + end + + resource "man" do + url "https://mirrors.edge.kernel.org/pub/software/scm/git/git-manpages-2.55.0.tar.xz" + sha256 "a32d432f80df46a14a05d1104c72d5a13fe27e9feba9aa0f017e54131db6b982" + + livecheck do + formula :parent + end + end + + resource "Net::SMTP::SSL" do + url "https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Net-SMTP-SSL-1.04.tar.gz" + sha256 "7b29c45add19d3d5084b751f7ba89a8e40479a446ce21cfd9cc741e558332a00" + end + + deny_network_access! [:build, :postinstall] + + def install + odie "html resource needs to be updated" if build.stable? && version != resource("html").version + odie "man resource needs to be updated" if build.stable? && version != resource("man").version + + # If these things are installed, tell Git build system not to use them + ENV["NO_FINK"] = "1" + ENV["NO_DARWIN_PORTS"] = "1" + ENV["PYTHON_PATH"] = which("python3") + ENV["PERL_PATH"] = which("perl") + ENV["USE_LIBPCRE2"] = "1" + ENV["INSTALL_SYMLINKS"] = "1" + ENV["LIBPCREDIR"] = formula_opt_prefix("pcre2") + ENV["V"] = "1" # build verbosely + + perl_version = Utils.safe_popen_read("perl", "--version")[/v(\d+\.\d+)(?:\.\d+)?/, 1] + + if OS.mac? + ENV["PERLLIB_EXTRA"] = %W[ + #{MacOS.active_developer_dir} + /Library/Developer/CommandLineTools + /Applications/Xcode.app/Contents/Developer + ].uniq.map do |p| + "#{p}/Library/Perl/#{perl_version}/darwin-thread-multi-2level" + end.join(":") + end + + # The git-gui and gitk tools are installed by a separate formula (git-gui) + # to avoid a dependency on tcl-tk and to avoid using the broken system + # tcl-tk (see https://github.com/Homebrew/homebrew-core/issues/36390) + # This is done by setting the NO_TCLTK make variable. + args = %W[ + prefix=#{prefix} + sysconfdir=#{etc} + CC=#{ENV.cc} + CFLAGS=#{ENV.cflags} + LDFLAGS=#{ENV.ldflags} + NO_TCLTK=1 + NO_RUST=1 + ] + + args += if OS.mac? + %w[NO_OPENSSL=1 APPLE_COMMON_CRYPTO=1] + else + openssl_prefix = formula_opt_prefix("openssl@3") + + %W[NO_APPLE_COMMON_CRYPTO=1 OPENSSLDIR=#{openssl_prefix}] + end + + # Make sure `git` looks in `opt_prefix` instead of the Cellar. + # Otherwise, Cellar references propagate to generated plists from `git maintenance`. + inreplace "Makefile", /(-DFALLBACK_RUNTIME_PREFIX=")[^"]+/, "\\1#{opt_prefix}" + + system "make", "install", *args + + git_core = libexec/"git-core" + rm git_core/"git-svn" + + # Install the macOS keychain credential helper + if OS.mac? + cd "contrib/credential/osxkeychain" do + system "make", *args + git_core.install "git-credential-osxkeychain" + system "make", "clean" + end + end + + # Generate diff-highlight perl script executable + cd "contrib/diff-highlight" do + system "make" + end + + # Install the netrc credential helper + cd "contrib/credential/netrc" do + system "make", "test" + git_core.install "git-credential-netrc" + end + + # Install git-subtree + cd "contrib/subtree" do + system "make", "CC=#{ENV.cc}", + "CFLAGS=#{ENV.cflags}", + "LDFLAGS=#{ENV.ldflags}" + git_core.install "git-subtree" + end + + # Install git-jump + cd "contrib/git-jump" do + git_core.install "git-jump" + end + + # install the completion script first because it is inside "contrib" + bash_completion.install "contrib/completion/git-completion.bash" + bash_completion.install "contrib/completion/git-prompt.sh" + zsh_completion.install "contrib/completion/git-completion.zsh" => "_git" + cp "#{bash_completion}/git-completion.bash", zsh_completion + cp "#{bash_completion}/git-prompt.sh", zsh_completion + + (share/"git-core").install "contrib" + + # We could build the manpages ourselves, but the build process depends + # on many other packages, and is somewhat crazy, this way is easier. + man.install resource("man") + (share/"doc/git-doc").install resource("html") + + # Make html docs world-readable + chmod 0644, Dir["#{share}/doc/git-doc/**/*.{html,txt}"] + chmod 0755, Dir["#{share}/doc/git-doc/{RelNotes,howto,technical}"] + + # git-send-email needs Net::SMTP::SSL or Net::SMTP >= 2.34 and Authen::SASL + resource("Net::SMTP::SSL").stage do + (share/"perl5").install "lib/Net" + end + + resource("Authen::SASL").stage do + (share/"perl5").install "lib/Authen" + end + + # This is only created when building against system Perl, but it isn't + # purged by Homebrew's post-install cleaner because that doesn't check + # "Library" directories. It is however pointless to keep around as it + # only contains the perllocal.pod installation file. + perl_dir = prefix/"Library/Perl" + rm_r perl_dir if perl_dir.exist? + + # Set the macOS keychain credential helper by default + # (as Apple's CLT's git also does this). + if OS.mac? + (buildpath/"gitconfig").write <<~EOS + [credential] + \thelper = osxkeychain + EOS + etc.install "gitconfig" + end + end + + def caveats + <<~EOS + The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the `git-gui` formula. + Subversion interoperability (git-svn) is now in the `git-svn` formula. + EOS + end + + test do + system bin/"git", "init" + %w[haunted house].each { |f| touch testpath/f } + system bin/"git", "add", "haunted", "house" + system bin/"git", "config", "user.name", "'A U Thor'" + system bin/"git", "config", "user.email", "author@example.com" + system bin/"git", "commit", "-a", "-m", "Initial Commit" + assert_equal "haunted\nhouse", shell_output("#{bin}/git ls-files").strip + + # Check that our `inreplace` for the `Makefile` does not break. + # If this assertion fails, please fix the `inreplace` instead of removing this test. + # The failure of this test means that `git` will generate broken launchctl plist files. + refute_match HOMEBREW_CELLAR.to_s, shell_output("#{bin}/git --exec-path") + + return unless OS.mac? + + # Check Net::SMTP or Net::SMTP::SSL works for git-send-email + %w[foo bar].each { |f| touch testpath/f } + system bin/"git", "add", "foo", "bar" + system bin/"git", "commit", "-a", "-m", "Second Commit" + assert_match "Authentication Required", pipe_output( + "#{bin}/git send-email --from=test@example.com --to=dev@null.com " \ + "--smtp-server=smtp.gmail.com --smtp-server-port=587 " \ + "--smtp-encryption=tls --confirm=never HEAD^ 2>&1", + ) + end +end diff --git a/Formula/gnupg.rb b/Formula/gnupg.rb new file mode 100644 index 0000000..26592af --- /dev/null +++ b/Formula/gnupg.rb @@ -0,0 +1,115 @@ +# frozen_string_literal: true +# Generated by generate_tap.py for local/mirror + +class Gnupg < Formula + desc "GNU Privacy Guard (OpenPGP)" + homepage "https://gnupg.org/" + url "https://homebrew.hyprnet/sources/2d432cc236b45dd2fe57d9dc9b9e610cfdb3e49d1ac5c2249b5112beba43a66d--gnupg--2.5.21.x86_64_linux.bottle.tar.gz" + sha256 "e3af2c8caa46a66a9329fa7c6880af260451914d819595beabc2c26597b31352" + license "GPL-3.0-or-later" + compatibility_version 1 + + # GnuPG usually indicates stable releases with an even-numbered minor but + # can declare an odd-numbered minor stable. e.g. 2.5 was stable since 2.5.16, + # see https://lists.gnupg.org/pipermail/gnupg-announce/2025q4/000500.html. + # The livecheck scrapes the version from the templated homepage which is + # manually updated by upstream when a new release series is stable, e.g. + # https://dev.gnupg.org/rD18a889b403c7a5934d5080be140a4d79e1c83332 + livecheck do + url :homepage + regex(/The current version of GnuPG is v?(\d+(?:\.\d+)+)\. /i) + end + + bottle do + root_url "https://homebrew.hyprnet/bottles" + sha256 arm64_tahoe: "77a293d5ac76a99d7ca1fca4d57860bd76bb25b3c334b2504fc9b7fc145f1502" + sha256 arm64_sequoia: "8583235dd83654392b878f06833405b8bac255fb5f96c942259b1efd206b0ae8" + sha256 arm64_sonoma: "d5148b6ad728f3f6a5660d17cc33d1a47def81f34a738dcd6667b12b520b42c1" + sha256 sonoma: "b8da334b8bc5df2deecededfbcdf725b44a9dddfd344051ad7dcb8c1eb1d2046" + sha256 arm64_linux: "bf5ac44775f2c6f6c67f31cd2bb10a35d780e484f386442b479a80f08257de99" + sha256 x86_64_linux: "2dd827488b6c6b1927cf5be2eb70638e0e59ad34ba9db3e9aaaca866c4ed3c29" + end + + depends_on "pkgconf" => :build + depends_on "gnutls" + depends_on "libassuan" + depends_on "libgcrypt" + depends_on "libgpg-error" + depends_on "libksba" + depends_on "libusb" + depends_on "npth" + depends_on "pinentry" + depends_on "readline" + + uses_from_macos "bzip2" + uses_from_macos "openldap" + uses_from_macos "sqlite" + + on_macos do + depends_on "gettext" + end + + on_linux do + depends_on "zlib-ng-compat" + end + + conflicts_with cask: "gpg-suite" + conflicts_with cask: "gpg-suite-no-mail" + conflicts_with cask: "gpg-suite-pinentry" + conflicts_with cask: "gpg-suite@nightly" + + def install + libusb = Formula["libusb"] + ENV.append "CPPFLAGS", "-I#{libusb.opt_include}/libusb-#{libusb.version.major_minor}" + + mkdir "build" do + system "../configure", "--disable-silent-rules", + "--enable-all-tests", + "--sysconfdir=#{etc}", + "--with-pinentry-pgm=#{formula_opt_bin("pinentry")}/pinentry", + "--with-readline=#{formula_opt_prefix("readline")}", + *std_configure_args + system "make" + system "make", "check" + system "make", "install" + end + + # Configure scdaemon as recommended by upstream developers + # https://dev.gnupg.org/T5415#145864 + if OS.mac? + # write to buildpath then install to ensure existing files are not clobbered + (buildpath/"scdaemon.conf").write <<~CONF + disable-ccid + CONF + pkgetc.install "scdaemon.conf" + end + end + + def post_install + (var/"run").mkpath + quiet_system "killall", "gpg-agent" + end + + test do + (testpath/"batch.gpg").write <<~GPG + Key-Type: RSA + Key-Length: 2048 + Subkey-Type: RSA + Subkey-Length: 2048 + Name-Real: Testing + Name-Email: testing@foo.bar + Expire-Date: 1d + %no-protection + %commit + GPG + + begin + system bin/"gpg", "--batch", "--gen-key", "batch.gpg" + (testpath/"test.txt").write "Hello World!" + system bin/"gpg", "--detach-sign", "test.txt" + system bin/"gpg", "--verify", "test.txt.sig" + ensure + system bin/"gpgconf", "--kill", "gpg-agent" + end + end +end diff --git a/Formula/iperf3.rb b/Formula/iperf3.rb new file mode 100644 index 0000000..f172927 --- /dev/null +++ b/Formula/iperf3.rb @@ -0,0 +1,57 @@ +# frozen_string_literal: true +# Generated by generate_tap.py for local/mirror + +class Iperf3 < Formula + desc "Update of iperf: measures TCP, UDP, and SCTP bandwidth" + homepage "https://github.com/esnet/iperf" + url "https://homebrew.hyprnet/sources/2786822a4598fd12ebdeeddd63ae7afdb3fa6deadd6f74b8b27b4d6dc2456bd9--iperf3--3.21_1.x86_64_linux.bottle.tar.gz" + sha256 "656e4405ebd620121de7ceca3eaf43a88f79ea1b857d041a6a0b1314801acdd8" + license "BSD-3-Clause" + revision 1 + + livecheck do + url "https://downloads.es.net/pub/iperf/" + regex(/href=.*?iperf[._-]v?(\d+(?:\.\d+)+)\.t/i) + end + + bottle do + root_url "https://homebrew.hyprnet/bottles" + sha256 cellar: :any, arm64_tahoe: "4c9732362cf41e8564f33fca550a9a49356ea2b54bf5b1c021ac828038c6ae46" + sha256 cellar: :any, arm64_sequoia: "9c2798aa7042d06364caca9fec400651d5cc5ae26446b24c308827c30649a40a" + sha256 cellar: :any, arm64_sonoma: "c63e8ff6df89f6a8f9e5bf7689d0aee545d47725f9bf9068e492b42890fdabdc" + sha256 cellar: :any, sonoma: "27a27e6ade18fc7b85803b70c08571a6a76178a7a12c27f48a4917dc5f05646a" + sha256 cellar: :any_skip_relocation, arm64_linux: "fcf35af72941dad9ecfc704500471dfb43bb5dc35bba09b47ad358acf25e6369" + sha256 cellar: :any_skip_relocation, x86_64_linux: "aa5c3dae2b89ab6be2a65e6c3f90a29d4a99ef5b54254c78331d970781eb82e2" + end + + head do + url "https://github.com/esnet/iperf.git", branch: "master" + + depends_on "autoconf" => :build + depends_on "automake" => :build + depends_on "libtool" => :build + end + + depends_on "openssl@4" + + def install + system "./bootstrap.sh" if build.head? + system "./configure", "--disable-silent-rules", + "--disable-profiling", + "--with-openssl=#{formula_opt_prefix("openssl@4")}", + *std_configure_args + system "make", "clean" # there are pre-compiled files in the tarball + system "make", "install" + end + + test do + port = free_port + pid = spawn bin/"iperf3", "--server", "--port", port.to_s + sleep 1 + sleep 2 if OS.mac? && Hardware::CPU.intel? + assert_match "Bitrate", shell_output("#{bin}/iperf3 --client 127.0.0.1 --port #{port} --time 1") + ensure + Process.kill("SIGINT", pid) + Process.wait(pid) + end +end diff --git a/Formula/nmap.rb b/Formula/nmap.rb new file mode 100644 index 0000000..de5bdc2 --- /dev/null +++ b/Formula/nmap.rb @@ -0,0 +1,86 @@ +# frozen_string_literal: true +# Generated by generate_tap.py for local/mirror + +class Nmap < Formula + desc "Port scanning utility for large networks" + homepage "https://nmap.org/" + url "https://homebrew.hyprnet/sources/99a99a91c5ac9ee8b2a036ca65aec48d1e640eaa04840c4b6d755610cf8cfee3--nmap--7.99.x86_64_linux.bottle.tar.gz" + sha256 "df512492ffd108e53a27a06f26d8635bbe89e0e569455dc8ffef058c035d51b2" + license :cannot_represent + compatibility_version 1 + head "https://svn.nmap.org/nmap/" + + livecheck do + url "https://nmap.org/download" + regex(/href=.*?nmap[._-]v?(\d+(?:\.\d+)+)\.t/i) + end + + bottle do + root_url "https://homebrew.hyprnet/bottles" + sha256 arm64_tahoe: "610785e4dd545c5f71d3af2d221f8a92951714710cf98ac4ed10f6fd0d0c5153" + sha256 arm64_sequoia: "5840513b1bcc8c8e20b68a1a9e71977d424827ba9e26c157e79760dc218fb55e" + sha256 arm64_sonoma: "47740d854f1669dc68deabbfd6f5d54036c99ddb606ba39d70e747f7632f4f85" + sha256 sonoma: "a5c5594350aad5168e64c364c6508b669cd5ea2273ad0f88d005b27de75cd5bd" + sha256 arm64_linux: "55edc13eebfb103bdc26cdcb479daf81d709b727d6c6e2e22ae2c447cebc638a" + sha256 x86_64_linux: "71db30907d6cd22b65e60fbb825cbc394ea291123aba6f9422342026bdddd6ad" + end + + depends_on "python-setuptools" => :build + depends_on "liblinear" + depends_on "libssh2" + # Check supported Lua version at https://github.com/nmap/nmap/tree/master/liblua. + depends_on "lua" + depends_on "openssl@3" + depends_on "pcre2" + depends_on "python@3.14" # for ndiff + + uses_from_macos "bison" => :build + uses_from_macos "flex" => :build + uses_from_macos "libpcap" + + on_linux do + depends_on "zlib-ng-compat" + end + + conflicts_with "cern-ndiff", "ndiff", because: "both install `ndiff` binaries" + conflicts_with cask: "zenmap", because: "both install `nmap` binaries" + + def install + # Fix to missing VERSION file + # https://github.com/nmap/nmap/pull/3111 + mv "libpcap/VERSION.txt", "libpcap/VERSION" + + ENV.deparallelize + + libpcap_path = if OS.mac? + MacOS.sdk_path/"usr/" + else + formula_opt_prefix("libpcap") + end + + args = %W[ + --with-liblua=#{formula_opt_prefix("lua")} + --with-libpcre=#{formula_opt_prefix("pcre2")} + --with-openssl=#{formula_opt_prefix("openssl@3")} + --with-libpcap=#{libpcap_path} + --without-nmap-update + --disable-universal + --without-zenmap + --without-ndiff + ] + + system "./configure", *args, *std_configure_args + system "make" # separate steps required otherwise the build fails + system "make", "install" + + # Install `ndiff` separately so that we can use `pip` and `setuptools`. + system "python3", "-m", "pip", "install", *std_pip_args, "./ndiff" + bin.glob("uninstall_*").map(&:unlink) # Users should use brew uninstall. + end + + test do + system bin/"nmap", "-p80,443", "-oX", "scan1.xml", "google.com" + cp "scan1.xml", "scan2.xml" + system bin/"ndiff", "scan1.xml", "scan2.xml" + end +end diff --git a/Formula/openjdk@17.rb b/Formula/openjdk@17.rb new file mode 100644 index 0000000..d5bf12a --- /dev/null +++ b/Formula/openjdk@17.rb @@ -0,0 +1,178 @@ +# frozen_string_literal: true +# Generated by generate_tap.py for local/mirror + +class OpenjdkAT17 < Formula + desc "Development kit for the Java programming language" + homepage "https://openjdk.org/" + url "https://homebrew.hyprnet/sources/ed009a52eec0ef273ed4ff0ec039b4a43e0550f45165cd85e7825076cac9ac64--openjdk@17--17.0.19.x86_64_linux.bottle.tar.gz" + sha256 "b165f0dd120f4455904b76cf87dd9352fd23f88c2e9a33c2532fabacc3cca962" + license "GPL-2.0-only" => { with: "Classpath-exception-2.0" } + compatibility_version 1 + + livecheck do + url :stable + regex(/^jdk[._-]v?(17(?:\.\d+)*)-ga$/i) + end + + bottle do + root_url "https://homebrew.hyprnet/bottles" + sha256 cellar: :any, arm64_tahoe: "6d51e51e754dc75437c5c552eea568ec2f166e39fc3faa256e668083a8620c17" + sha256 cellar: :any, arm64_sequoia: "5544476e1a2a6d9e449c637e4224513091ff97ee63896aca161175a041ad3a14" + sha256 cellar: :any, arm64_sonoma: "b95d5e34016e8839a15ea90d2c9f74365424df4c98911d4e7f42ab05c7b160ec" + sha256 cellar: :any, sonoma: "4d13b59638a205d7a77bf2a20907fafe0344e39f479648732216b67b1eb93a36" + sha256 arm64_linux: "b4d4eb0b9925ed74487a0e44fdff65eea0f13d317b4508cc44f13ca1f54b2e4f" + sha256 x86_64_linux: "586ff683171f8b5c61705128337a497b35c06081df4146b0b8a64ac1ebd8cd7b" + end + + keg_only :versioned_formula + + deprecate! date: "2026-09-30", because: :unmaintained + disable! date: "2029-09-30", because: :unmaintained + + depends_on "autoconf" => :build + depends_on "pkgconf" => :build + depends_on xcode: :build # for metal + + depends_on "freetype" + depends_on "giflib" + depends_on "harfbuzz" + depends_on "jpeg-turbo" + depends_on "libpng" + depends_on "little-cms2" + + uses_from_macos "unzip" => :build + uses_from_macos "zip" => :build + uses_from_macos "cups" => :no_linkage + + on_linux do + depends_on "libxt" => :build + depends_on "alsa-lib" + depends_on "fontconfig" => :no_linkage + depends_on "libx11" + depends_on "libxext" + depends_on "libxi" + depends_on "libxrandr" => :no_linkage + depends_on "libxrender" + depends_on "libxtst" + depends_on "zlib-ng-compat" + end + + # From https://jdk.java.net/archive/ + resource "boot-jdk" do + on_macos do + on_arm do + url "https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_macos-aarch64_bin.tar.gz" + sha256 "602d7de72526368bb3f80d95c4427696ea639d2e0cc40455f53ff0bbb18c27c8" + end + on_intel do + url "https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_macos-x64_bin.tar.gz" + sha256 "b85c4aaf7b141825ad3a0ea34b965e45c15d5963677e9b27235aa05f65c6df06" + end + end + on_linux do + on_arm do + url "https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_linux-aarch64_bin.tar.gz" + sha256 "13bfd976acf8803f862e82c7113fb0e9311ca5458b1decaef8a09ffd91119fa4" + end + on_intel do + url "https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_linux-x64_bin.tar.gz" + sha256 "0022753d0cceecacdd3a795dd4cea2bd7ffdf9dc06e22ffd1be98411742fbb44" + end + end + end + + def install + boot_jdk = buildpath/"boot-jdk" + resource("boot-jdk").stage boot_jdk + boot_jdk /= "Contents/Home" if OS.mac? + java_options = ENV.delete("_JAVA_OPTIONS") + + args = %W[ + --disable-warnings-as-errors + --with-boot-jdk-jvmargs=#{java_options} + --with-boot-jdk=#{boot_jdk} + --with-debug-level=release + --with-jvm-variants=server + --with-native-debug-symbols=none + --with-vendor-bug-url=#{tap.issues_url} + --with-vendor-name=#{tap.user} + --with-vendor-url=#{tap.issues_url} + --with-vendor-version-string=#{tap.user} + --with-vendor-vm-bug-url=#{tap.issues_url} + --with-version-build=#{revision} + --without-version-opt + --without-version-pre + --with-freetype=system + --with-giflib=system + --with-harfbuzz=system + --with-lcms=system + --with-libjpeg=system + --with-libpng=system + --with-zlib=system + ] + + ldflags = ["-Wl,-rpath,#{loader_path.gsub("$", "\\$$")}/server"] + args += if OS.mac? + ldflags << "-headerpad_max_install_names" + + # Allow unbundling `freetype` on macOS + inreplace "make/autoconf/lib-freetype.m4", '= "xmacosx"', '= ""' + + %W[ + --enable-dtrace + --with-freetype-include=#{formula_opt_include("freetype")} + --with-freetype-lib=#{formula_opt_lib("freetype")} + --with-sysroot=#{MacOS.sdk_path} + ] + else + %W[ + --with-x=#{HOMEBREW_PREFIX} + --with-cups=#{HOMEBREW_PREFIX} + --with-fontconfig=#{HOMEBREW_PREFIX} + --with-stdc++lib=dynamic + ] + end + args << "--with-extra-ldflags=#{ldflags.join(" ")}" + + system "bash", "configure", *args + + ENV["MAKEFLAGS"] = "JOBS=#{ENV.make_jobs}" + system "make", "images" + + jdk = libexec + if OS.mac? + libexec.install Dir["build/*/images/jdk-bundle/*"].first => "openjdk.jdk" + jdk /= "openjdk.jdk/Contents/Home" + else + libexec.install Dir["build/linux-*-server-release/images/jdk/*"] + end + + bin.install_symlink Dir[jdk/"bin/*"] + include.install_symlink Dir[jdk/"include/*.h"] + include.install_symlink Dir[jdk/"include"/OS.kernel_name.downcase/"*.h"] + man1.install_symlink Dir[jdk/"man/man1/*"] + end + + def caveats + on_macos do + <<~EOS + For the system Java wrappers to find this JDK, symlink it with + sudo ln -sfn #{opt_libexec}/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-17.jdk + EOS + end + end + + test do + (testpath/"HelloWorld.java").write <<~JAVA + class HelloWorld { + public static void main(String args[]) { + System.out.println("Hello, world!"); + } + } + JAVA + + system bin/"javac", "HelloWorld.java" + + assert_match "Hello, world!", shell_output("#{bin}/java HelloWorld") + end +end diff --git a/Formula/python-tk@3.14.rb b/Formula/python-tk@3.14.rb new file mode 100644 index 0000000..21dec1f --- /dev/null +++ b/Formula/python-tk@3.14.rb @@ -0,0 +1,70 @@ +# frozen_string_literal: true +# Generated by generate_tap.py for local/mirror + +class PythonTkAT314 < Formula + desc "Python interface to Tcl/Tk" + homepage "https://www.python.org/" + url "https://homebrew.hyprnet/sources/6a96721340518083803e78559d35ab09768e90063f0160bbadf8363ac526f859--python-tk@3.14--3.14.6.x86_64_linux.bottle.tar.gz" + sha256 "74d0d71d0600e477651a077101d6e62d1e2e69b8e992ba18c993dd643b7ba222" + license "Python-2.0" + + livecheck do + formula "python@3.14" + end + + bottle do + root_url "https://homebrew.hyprnet/bottles" + sha256 cellar: :any, arm64_tahoe: "db91272cb60b7f0121c8cb2a92c853310b3428999cb7abb4b86c8e544fe54fef" + sha256 cellar: :any, arm64_sequoia: "c4be42c490067ea6f5c6d6f2c6fd39d4ef30bb60d169ff3c05c658194a939b5e" + sha256 cellar: :any, arm64_sonoma: "3d13772060aacaaac4119c2e558b236a4f8401806743965054ef594e7143350d" + sha256 cellar: :any, sonoma: "f2313272bbcdba1f0f1a51b4e8737891c6d3c93587e64d4ef133916cadf53853" + sha256 arm64_linux: "31ffdee6d72bcaaffb178bcc1de166014ae67d1760f99da3f4756a521edf51fa" + sha256 x86_64_linux: "af2eb8c451104069ebf7e6f4c919af096bf3a1c6c684e29ba1ebb65cbcbadedb" + end + + depends_on "python@3.14" + depends_on "tcl-tk" + + def python3 + "python3.14" + end + + def install + xy = Language::Python.major_minor_version python3 + python_include = if OS.mac? + Formula["python@#{xy}"].opt_frameworks/"Python.framework/Versions/#{xy}/include/python#{xy}" + else + formula_opt_include("python@#{xy}")/"python#{xy}" + end + + tcltk_version = Formula["tcl-tk"].any_installed_version.major_minor + (buildpath/"Modules/pyproject.toml").write <<~TOML + [project] + name = "tkinter" + version = "#{version}" + description = "#{desc}" + + [tool.setuptools] + packages = [] + + [[tool.setuptools.ext-modules]] + name = "_tkinter" + sources = ["_tkinter.c", "tkappinit.c"] + define-macros = [["WITH_APPINIT", "1"], ["TCL_WITH_EXTERNAL_TOMMATH", "1"]] + include-dirs = ["#{python_include}/internal", "#{formula_opt_include("tcl-tk")/"tcl-tk"}"] + libraries = ["tcl#{tcltk_version}", "tcl#{tcltk_version.major}tk#{tcltk_version}"] + library-dirs = ["#{formula_opt_lib("tcl-tk")}"] + TOML + system python3, "-m", "pip", "install", *std_pip_args(prefix: false, build_isolation: true), + "--target=#{libexec}", "./Modules" + rm_r libexec.glob("*.dist-info") + end + + test do + system python3, "-c", "import tkinter" + + return if OS.linux? && ENV["HOMEBREW_GITHUB_ACTIONS"] + + system python3, "-c", "import tkinter; root = tkinter.Tk()" + end +end diff --git a/Formula/tree.rb b/Formula/tree.rb new file mode 100644 index 0000000..abe698f --- /dev/null +++ b/Formula/tree.rb @@ -0,0 +1,29 @@ +# frozen_string_literal: true +# Generated by generate_tap.py for local/mirror + +class Tree < Formula + desc "Display directories as trees (with optional color/HTML output)" + homepage "https://oldmanprogrammer.net/source.php?dir=projects/tree" + url "https://homebrew.hyprnet/sources/273cdb8b37ec5c13bec9ccbe0db0ee99bb07df2139886a9602d336d301623c09--tree--2.3.2.x86_64_linux.bottle.tar.gz" + sha256 "22cf32e84e3eb508d97a9e991c2c3cc006b9dcf4afed201d96311c5c57d08fcf" + license "GPL-2.0-or-later" + compatibility_version 1 + + bottle do + root_url "https://homebrew.hyprnet/bottles" + sha256 cellar: :any_skip_relocation, arm64_tahoe: "d1967d2ed08717f963addb249ea6b8ca11c26ecb59efba34f2860853a06bedc7" + sha256 cellar: :any_skip_relocation, arm64_sequoia: "ef367d0a5e74970e2f5042479fe4000a8b324ac075520c66f8457f1cb06ca668" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "006880fab518e0dcab2e2c906be4378996138e370199de0898e9dffb701395a9" + sha256 cellar: :any_skip_relocation, sonoma: "0d8db41e5e26a0ffd2b7b0df8a8e0dd43a24f458ed34e2bf16352271066fcd74" + sha256 cellar: :any_skip_relocation, arm64_linux: "cb6d74ecafcc8b6d736e538b46be79249457e6c417e18b83de65b405b8495557" + sha256 cellar: :any_skip_relocation, x86_64_linux: "b98eef11e53b024a3e9422fbeabeb6c9b13d70ea884087703e7e1536820b3c5c" + end + + def install + system "make", "install", "PREFIX=#{prefix}", "MANDIR=#{man}" + end + + test do + system bin/"tree", prefix + end +end diff --git a/tap-manifest.json b/tap-manifest.json index 9a6c309..a9b789f 100644 --- a/tap-manifest.json +++ b/tap-manifest.json @@ -12,6 +12,36 @@ "source_url": "https://homebrew.hyprnet/sources/c01ebc051b7d6beb690739b66d16f80c2fdd025a38ade481c57108f884e57603--clang-format--22.1.8.x86_64_linux.bottle.tar.gz", "bottles": [] }, + { + "name": "conan", + "source_url": "https://homebrew.hyprnet/sources/1b2f9941f9c24d86dc99bb7a3a1c3ef689ccaae5605c1c0d773a8a2eeec2ceb6--conan--2.30.0.x86_64_linux.bottle.tar.gz", + "bottles": [] + }, + { + "name": "git", + "source_url": "https://homebrew.hyprnet/sources/a033b7dba39884cd853861da6e773e03bc640db63fef8e884dc1f82e1134be1f--git--2.55.0.x86_64_linux.bottle.tar.gz", + "bottles": [] + }, + { + "name": "gnupg", + "source_url": "https://homebrew.hyprnet/sources/2d432cc236b45dd2fe57d9dc9b9e610cfdb3e49d1ac5c2249b5112beba43a66d--gnupg--2.5.21.x86_64_linux.bottle.tar.gz", + "bottles": [] + }, + { + "name": "iperf3", + "source_url": "https://homebrew.hyprnet/sources/2786822a4598fd12ebdeeddd63ae7afdb3fa6deadd6f74b8b27b4d6dc2456bd9--iperf3--3.21_1.x86_64_linux.bottle.tar.gz", + "bottles": [] + }, + { + "name": "nmap", + "source_url": "https://homebrew.hyprnet/sources/99a99a91c5ac9ee8b2a036ca65aec48d1e640eaa04840c4b6d755610cf8cfee3--nmap--7.99.x86_64_linux.bottle.tar.gz", + "bottles": [] + }, + { + "name": "openjdk@17", + "source_url": "https://homebrew.hyprnet/sources/ed009a52eec0ef273ed4ff0ec039b4a43e0550f45165cd85e7825076cac9ac64--openjdk@17--17.0.19.x86_64_linux.bottle.tar.gz", + "bottles": [] + }, { "name": "docker-compose", "source_url": "https://homebrew.hyprnet/sources/3703493f0447ff926fca8b7a93fe6597a4225f9d5862cc23466f399a08b8efff--docker-compose--5.3.0.x86_64_linux.bottle.tar.gz", @@ -72,6 +102,11 @@ "source_url": "https://homebrew.hyprnet/sources/2b4e7dff0f6a16963a67a23ebc57091b355497b33c7cff55596b5349c23a6b56--python@3.14--3.14.6.x86_64_linux.bottle.tar.gz", "bottles": [] }, + { + "name": "python-tk@3.14", + "source_url": "https://homebrew.hyprnet/sources/6a96721340518083803e78559d35ab09768e90063f0160bbadf8363ac526f859--python-tk@3.14--3.14.6.x86_64_linux.bottle.tar.gz", + "bottles": [] + }, { "name": "qwen-code", "source_url": "https://homebrew.hyprnet/sources/f64f0dad78cc03324512059defc9d8ee2664eecc2305cf9a3601f0f259a4f29a--qwen-code--0.19.6.x86_64_linux.bottle.tar.gz", @@ -82,6 +117,11 @@ "source_url": "https://homebrew.hyprnet/sources/7d1fdfb253720df5749d34185cf3b8cf5871c7d7f4f94e017646669e543e583b--samba--4.24.4.x86_64_linux.bottle.tar.gz", "bottles": [] }, + { + "name": "tree", + "source_url": "https://homebrew.hyprnet/sources/273cdb8b37ec5c13bec9ccbe0db0ee99bb07df2139886a9602d336d301623c09--tree--2.3.2.x86_64_linux.bottle.tar.gz", + "bottles": [] + }, { "name": "wget", "source_url": "https://homebrew.hyprnet/sources/1626775a218d5ab742add9f45026a65b09f405f45d8a4b08bbde3a9859fe04de--wget--1.25.0.x86_64_linux.bottle.2.tar.gz", @@ -91,6 +131,11 @@ "name": "zoxide", "source_url": "https://homebrew.hyprnet/sources/a2980a7ff0ba7a747635d2ad348fd2ec568822ffa8f8803db6896ddfbf07540a--zoxide--0.10.0.x86_64_linux.bottle.tar.gz", "bottles": [] + }, + { + "name": "ffmpeg", + "source_url": "https://homebrew.hyprnet/sources/d060ec861b6caccbe753a129c06053a632c22c60ffbd7291922f46ae9e3e34c2--ffmpeg--8.1.2_1.x86_64_linux.bottle.tar.gz", + "bottles": [] } ], "casks": [ @@ -136,6 +181,26 @@ "x86_64_linux": "https://homebrew.hyprnet/casks/codex/codex--x86_64_linux--codex-x86_64-unknown-linux-musl.tar.gz", "arm64_linux": "https://homebrew.hyprnet/casks/codex/codex--arm64_linux--codex-aarch64-unknown-linux-musl.tar.gz" } + }, + { + "name": "opencode-desktop", + "url": "https://homebrew.hyprnet/casks/opencode-desktop/opencode-desktop--opencode-desktop-mac-arm64.dmg", + "variations": { + "": "https://homebrew.hyprnet/casks/opencode-desktop/opencode-desktop--opencode-desktop-mac-arm64.dmg", + "golden_gate": "https://homebrew.hyprnet/casks/opencode-desktop/opencode-desktop--golden_gate--opencode-desktop-mac-x64.dmg", + "tahoe": "https://homebrew.hyprnet/casks/opencode-desktop/opencode-desktop--tahoe--opencode-desktop-mac-x64.dmg", + "sequoia": "https://homebrew.hyprnet/casks/opencode-desktop/opencode-desktop--sequoia--opencode-desktop-mac-x64.dmg", + "sonoma": "https://homebrew.hyprnet/casks/opencode-desktop/opencode-desktop--sonoma--opencode-desktop-mac-x64.dmg", + "ventura": "https://homebrew.hyprnet/casks/opencode-desktop/opencode-desktop--ventura--opencode-desktop-mac-x64.dmg", + "monterey": "https://homebrew.hyprnet/casks/opencode-desktop/opencode-desktop--monterey--opencode-desktop-mac-x64.dmg" + } + }, + { + "name": "macfuse", + "url": "https://homebrew.hyprnet/casks/macfuse/macfuse--macfuse-5.2.0.dmg", + "variations": { + "": "https://homebrew.hyprnet/casks/macfuse/macfuse--macfuse-5.2.0.dmg" + } } ] }