🍻 Default formulae for the missing package manager for macOS (or Linux)
216 matches across 10 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | .rubocop.yml | 1 | # This file is synced from `Homebrew/brew` by the `.github` repository, do not modify it directly. |
| MEDIUM | Formula/r/rip2.rb | 31 | # Create a test file and verify rip can delete it |
| MEDIUM | Formula/r/rbenv.rb | 35 | # Create a fake ruby version and executable. |
| MEDIUM | Formula/r/rabbitmq.rb | 44 | # Create the rabbitmq-env.conf file |
| MEDIUM | Formula/r/rsql.rb | 32 | # Create a sample CSV file |
| MEDIUM | Formula/r/recc.rb | 108 | # Create a source file to test caching |
| MEDIUM | Formula/u/uutils-diffutils.rb | 43 | # Create a temporary compatibility executable for previous 'u' prefix. |
| MEDIUM | Formula/u/unxip.rb | 55 | # Create a sample xar archive just to satisfy a .xip header, then test |
| MEDIUM | Formula/u/uutils-findutils.rb | 42 | # Create a temporary compatibility executable for previous 'u' prefix. |
| MEDIUM | Formula/u/uhdm.rb | 61 | # Create a minimal .uhdm file and ensure executables work |
| MEDIUM | Formula/i/ic-wasm.rb | 25 | # Create a wasm module with a custom section for ICP metadata |
| MEDIUM | Formula/n/nodenv.rb | 34 | # Create a fake node version and executable. |
| MEDIUM | Formula/g/gcc@9.rb | 156 | # Create the GCC specs file |
| MEDIUM | Formula/g/gnuradio.rb | 203 | # Create a directory for Homebrew to put .pth files pointing to GNU Radio |
| MEDIUM | Formula/g/glibc.rb | 262 | # This file is generated by Homebrew. Do not modify. |
| MEDIUM | Formula/g/gcc@13.rb | 157 | # Create the GCC specs file |
| MEDIUM | Formula/g/gcc@12.rb | 170 | # Create the GCC specs file |
| MEDIUM | Formula/g/gcc.rb | 205 | # Create the GCC specs file |
| MEDIUM | Formula/g/gator.rb | 33 | # Create a test manifest file |
| MEDIUM | Formula/g/gator.rb | 55 | # Create a test constraint template |
| MEDIUM | Formula/g/gator.rb | 91 | # Create a test constraint file |
| MEDIUM | Formula/g/git-delta.rb | 41 | # Create a test repo |
| MEDIUM | Formula/g/gcc@11.rb | 159 | # Create the GCC specs file |
| MEDIUM | Formula/g/gcc@14.rb | 171 | # Create the GCC specs file |
| MEDIUM | Formula/g/gomi.rb | 31 | # Create a trash directory |
| MEDIUM | Formula/g/gcc@10.rb | 162 | # Create the GCC specs file |
| MEDIUM | Formula/z/zsh-async.rb | 27 | # Create a callback function to process results |
| MEDIUM | Formula/t/tcl-tk.rb | 220 | # Create an instance |
| MEDIUM | Formula/t/tcl-tk@8.rb | 180 | # Create an instance |
| MEDIUM | Formula/s/synergy-core.rb | 178 | - # Creating a release tag through the GitHub UI creates a lightweight tag, so use --tags |
| MEDIUM | Formula/s/sparse.rb | 32 | # Create the parent directories ourselves. |
| MEDIUM | Formula/s/svgbob.rb | 25 | # Create a symlink to not break compatibility |
| MEDIUM | Formula/s/sstp-client.rb | 34 | # Create a directory needed by sstpc for privilege separation |
| MEDIUM | Formula/s/spr.rb | 46 | # Create an empty commit, which is set to be upstream |
| MEDIUM | Formula/s/sloccount.rb | 41 | bin.mkpath # Create the install dir or install falls over |
| MEDIUM | Formula/a/async-profiler.rb | 41 | # Create a simple Java program that sleeps for testing |
| MEDIUM | Formula/a/ab-av1.rb | 30 | # Create a 5 second test MP4 (same as ffmpeg test) as the test fixture is too minimal |
| MEDIUM | Formula/f/ffmpeg@6.rb | 173 | # Create a 5 second test MP4 |
| MEDIUM | Formula/f/ffmpeg@7.rb | 160 | # Create a 5 second test MP4 |
| MEDIUM | Formula/f/ffmpeg-full.rb | 171 | # Create a 5 second test MP4 |
| MEDIUM | Formula/f/ffmpeg.rb | 105 | # Create a 5 second test MP4 |
| MEDIUM | Formula/f/fuseki.rb | 28 | # Create a location for dataset and log files, |
| MEDIUM | Formula/f/ffmpeg@4.rb | 153 | # Create a 5 second test MP4 |
| MEDIUM | Formula/f/ffmpeg@2.8.rb | 127 | # Create a 5 second test MP4 |
| MEDIUM | Formula/f/fake-gcs-server.rb | 36 | # Create a bucket |
| MEDIUM | Formula/f/ffmpeg@5.rb | 167 | # Create a 5 second test MP4 |
| MEDIUM | Formula/o/openjdk@8.rb | 122 | # Create a framework-like header shim that the saproc.make -F flag will find |
| MEDIUM | Formula/o/ohdear-cli.rb | 17 | # Create a symlink to not break compatibility |
| MEDIUM | Formula/m/mycorrhiza.rb | 39 | # Create a hypha |
| MEDIUM | Formula/m/mender-artifact.rb | 51 | # Create a test artifact |
| MEDIUM | Formula/m/mingw-w64.rb | 92 | # Create a mingw symlink, expected by GCC |
| MEDIUM | Formula/m/minizign.rb | 41 | # Create a test file and sign it |
| MEDIUM | Formula/c/cvs.rb | 4 | # Creating a useful testcase: https://mrsrl.stanford.edu/~brian/cvstutorial/ |
| MEDIUM | Formula/c/clog.rb | 48 | # Create a rule to suppress any line containing the word 'ignore' |
| MEDIUM | Formula/d/dooit.rb | 120 | # Create a topic |
| MEDIUM | Formula/d/dooit.rb | 127 | # Create a todo in the topic |
| MEDIUM | Formula/d/dynare.rb | 125 | - # Create a dependency object for UMFPACK. |
| MEDIUM | Formula/d/duckdb.rb | 33 | # Create a symlink to not break compatibility |
| MEDIUM | Formula/v/vmdktool.rb | 55 | # Create a blank disk image in raw format |
| MEDIUM | Formula/v/virtualfish.rb | 86 | # Create a virtualenv 'new_virtualenv' |
| 31 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | Formula/r/redir.rb | 41 | # Check if the process is running |
| LOW | Formula/r/redir.rb | 44 | # Check if the port redirect works |
| LOW | Formula/i/inspectrum.rb | 32 | # Set QT_QPA_PLATFORM to minimal to avoid error: |
| LOW | Formula/n/neovim-qt.rb | 37 | # Set QT_QPA_PLATFORM to minimal to avoid error "qt.qpa.xcb: could not connect to display" |
| LOW | Formula/z/zstd.rb | 46 | # Set it to `ON` to be explicit about the configuration. |
| LOW | Formula/t/tarsnap-gui.rb | 51 | # Set QT_QPA_PLATFORM to minimal to avoid error "could not connect to display" |
| LOW | Formula/a/augustus.rb | 42 | # Set PREFIX to prevent symlinking into /usr/local/bin/ |
| LOW | Formula/f/fceux.rb | 70 | # Set QT_QPA_PLATFORM to minimal to avoid error: |
| LOW | Formula/o/ocaml-findlib.rb | 55 | # Check if we need to rebuild ocaml-findlib to be used as a library |
| LOW | Formula/lib/librasterlite2.rb | 62 | # Check if this can be removed with the next release. |
| LOW | Formula/m/matplotplusplus.rb | 47 | # Set QT_QTP_PLATFORM to "minimal" on Linux so that it does not fail with this error: |
| LOW | Formula/c/clang-uml.rb | 48 | # Check if clang-uml is linked properly |
| LOW | Formula/c/clang-include-graph.rb | 45 | # Check if clang-include-graph is linked properly |
| LOW | Formula/d/duck.rb | 129 | # Set MACOSX_DEPLOYMENT_TARGET to avoid linker errors when building rococoa. |
| LOW | Formula/q/qjackctl.rb | 55 | # Set QT_QPA_PLATFORM to minimal to avoid error "qt.qpa.xcb: could not connect to display" |
| LOW | Formula/q/qalculate-qt.rb | 41 | # Set QT_QPA_PLATFORM to minimal to avoid error "qt.qpa.xcb: could not connect to display" |
| LOW | Formula/q/qbe.rb | 34 | ret %c # Return the result |
| LOW | Formula/q/qmmp.rb | 112 | # Set QT_QPA_PLATFORM to minimal to avoid error "qt.qpa.xcb: could not connect to display" |
| LOW | Formula/q/qsoas.rb | 68 | # Set QT_QPA_PLATFORM to minimal to avoid error "qt.qpa.xcb: could not connect to display" |
| LOW | Formula/e/etsh.rb | 37 | # Check if `tshall` is supported in Ubuntu 18.04. |
| LOW | Formula/e/ejabberd.rb | 71 | # Set CPP to work around cpp shim issue: |
| LOW | Formula/b/bareos-client.rb | 97 | # Check if bareos-fd starts at all. |
| LOW | Formula/b/bareos-client.rb | 99 | # Check if the configuration is valid. |
| LOW | Formula/l/lispkit.rb | 26 | # Check if user provided -r or --root flag |
| LOW | Formula/p/python@3.11.rb | 497 | # Check if sqlite is ok, because we build with --enable-loadable-sqlite-extensions |
| LOW | Formula/p/python@3.11.rb | 504 | # Check if some other modules import. Then the linked libs are working. |
| LOW | Formula/p/python@3.10.rb | 488 | # Check if sqlite is ok, because we build with --enable-loadable-sqlite-extensions |
| LOW | Formula/p/python@3.10.rb | 495 | # Check if some other modules import. Then the linked libs are working. |
| LOW | Formula/p/python-freethreading.rb | 418 | # Check if sqlite is ok, because we build with --enable-loadable-sqlite-extensions |
| LOW | Formula/p/python-freethreading.rb | 425 | # Check if some other modules import. Then the linked libs are working. |
| LOW | Formula/p/pivy.rb | 44 | # Set QT_QPA_PLATFORM to minimal to avoid error: |
| LOW | Formula/p/python@3.14.rb | 477 | # Check if sqlite is ok, because we build with --enable-loadable-sqlite-extensions |
| LOW | Formula/p/python@3.14.rb | 484 | # Check if some other modules import. Then the linked libs are working. |
| LOW | Formula/p/pc6001vx.rb | 53 | # Set QT_QPA_PLATFORM to minimal to avoid error: |
| LOW | Formula/p/python@3.13.rb | 466 | # Check if sqlite is ok, because we build with --enable-loadable-sqlite-extensions |
| LOW | Formula/p/python@3.13.rb | 473 | # Check if some other modules import. Then the linked libs are working. |
| LOW | Formula/p/python@3.9.rb | 486 | # Check if sqlite is ok, because we build with --enable-loadable-sqlite-extensions |
| LOW | Formula/p/python@3.9.rb | 493 | # Check if some other modules import. Then the linked libs are working. |
| LOW | Formula/p/python@3.12.rb | 479 | # Check if sqlite is ok, because we build with --enable-loadable-sqlite-extensions |
| LOW | Formula/p/python@3.12.rb | 486 | # Check if some other modules import. Then the linked libs are working. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | Formula/r/rom-tools.rb | 78 | # Needs more comprehensive tests |
| LOW | Formula/u/urdfdom.rb | 10 | # created a few releases on GitHub in the past but now they simply use tags. |
| LOW | Formula/u/urdfdom_headers.rb | 9 | # created a few releases on GitHub in the past but now they simply use tags. |
| MEDIUM | Formula/g/getdns.rb | 20 | # since the aforementioned first-party URL has a tendency to lead to an |
| MEDIUM | Formula/s/synergy-core.rb | 59 | # Version.cmake in `synergy-extra` reads .git folder of `synergy`. |
| MEDIUM | Formula/s/synergy-core.rb | 61 | # and so we use tarball of `synergy` and apply patch to ignore git process |
| MEDIUM | Formula/s/synergy-core.rb | 66 | # Upstream pr ref, https://github.com/symless/synergy/pull/179 |
| MEDIUM | Formula/s/synergy-core.rb | 110 | # them when upgrading synergy-core. |
| MEDIUM | Formula/s/synergy-core.rb | 137 | (2) #{opt_bin}/synergy |
| MEDIUM | Formula/s/synergy-core.rb | 147 | shell_output("#{opt_bin}/synergy-server --version")) |
| MEDIUM | Formula/s/synergy-core.rb | 149 | shell_output("#{opt_bin}/synergy-client --version")) |
| MEDIUM | Formula/s/synergy-core.rb | 152 | shell_output("#{opt_bin}/synergy-server 2>&1", 4) |
| MEDIUM | Formula/s/synergy-core.rb | 154 | shell_output("#{opt_bin}/synergy-client 2>&1", 3) |
| MEDIUM | Formula/lib/libvisual-projectm.rb | 27 | # installation and leverage brew's auto-symlinking |
| MEDIUM | Formula/d/dumb.rb | 6 | # Essentially Zlib but with modified and added clauses that aren't intended to restrict usage |
| MEDIUM | Formula/d/delve.rb | 3 | homepage "https://github.com/go-delve/delve" |
| MEDIUM | Formula/d/delve.rb | 4 | url "https://github.com/go-delve/delve/archive/refs/tags/v1.26.3.tar.gz" |
| MEDIUM | Formula/d/delve.rb | 7 | head "https://github.com/go-delve/delve.git", branch: "master" |
| LOW | Formula/d/ddd.rb | 84 | # and using --nw causes them to just pass through to normal execution. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | Formula/r/rig.rb | 41 | #include <fstream> |
| LOW | Formula/n/node@24.rb | 121 | # Enabling LTO errors on Linux with: |
| LOW | Formula/g/gcc@9.rb | 181 | |
| LOW | Formula/g/gcc@13.rb | 181 | raise "command failed: #{gcc} -dumpspecs" if $CHILD_STATUS.exitstatus.nonzero? |
| LOW | Formula/g/gcc@12.rb | 201 | # system header files. |
| LOW | Formula/g/gcc@11.rb | 181 | # Save a backup of the default specs file |
| LOW | Formula/g/gcc@14.rb | 201 | # * `-isysroot #{HOMEBREW_PREFIX}/nonexistent` prevents gcc searching built-in |
| LOW | Formula/g/gcc@10.rb | 181 | system_header_dirs += ["/usr/include/#{target}", "/usr/include"] |
| LOW | Formula/s/semgrep.rb | 381 | # `--no-depexts` prevents opam from attempting to automatically search for |
| LOW | Formula/s/seexpr.rb | 61 | # ## | # |
| LOW | Formula/a/argyll-cms.rb | 41 | resource "jam" do |
| LOW | Formula/lib/libpano.rb | 61 | #define PT_BIGENDIAN 1 |
| LOW | Formula/c/cryptopp.rb | 41 | # Test program modified from: |
| LOW | Formula/c/cmigemo.rb | 61 | #include <stdlib.h> |
| LOW | Formula/v/vip.rb | 1 | class Vip < Formula |
| LOW | Formula/q/qt@5.rb | 21 | sha256 cellar: :any_skip_relocation, arm64_linux: "63a1e7642ed0f95ef9bde80e6620ffe648970a3f04b49180e5a6096db4c71d3 |
| LOW | Formula/b/bsdiff.rb | 61 | +#include <sys/types.h> |
| LOW | Formula/b/bbot.rb | 321 | // Copyright ijl (2018-2026) |
| LOW | Formula/k/kondo.rb | 41 | # target (10.0B) |
| LOW | Formula/l/luajit.rb | 1 | # NOTE: We have a policy of building only from tagged commits, but make a |
| LOW | Formula/y/yamcha.rb | 121 | #ifdef HAVE_CONFIG_H |
| LOW | Formula/p/plod.rb | 41 | s.gsub! '$VISUAL = "/usr/local/bin/emacs"', "$VISUAL = \"#{visual}\"" |
| LOW | Formula/p/pcre.rb | 21 | sha256 cellar: :any, arm64_tahoe: "08de2eeaca9c98e70091c9b220f8f570b073f8db982d2451dfd35b1415aab6e |
| LOW | Formula/p/postgis.rb | 61 | # C++17 is required. |
| LOW | Formula/p/png2ico.rb | 61 | #if __GNUC__ > 2 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | Formula/u/uthash.rb | 36 | char name[] = "John Doe"; |
| LOW | Formula/g/git-mob.rb | 22 | system "git", "config", "--global", "user.name", "Jane Doe" |
| LOW | Formula/t/texlive.rb | 587 | \section*{Lorem Ipsum} |
| LOW | Formula/m/mcp-atlassian.rb | 580 | ENV["JIRA_USERNAME"] = "user@example.com" |
| LOW | Formula/m/mdcat.rb | 46 | assert_match "lorem ipsum dolor sit amet", output |
| LOW | Formula/m/mdcat.rb | 46 | assert_match "lorem ipsum dolor sit amet", output |
| LOW | Formula/c/ctemplate.rb | 44 | dict.SetValue("NAME", "Jane Doe"); |
| LOW | Formula/x/xml2rfc.rb | 125 | <author fullname="John Doe" initials="J." role="editor" surname="Doe"> |
| LOW | Formula/k/karn.rb | 39 | system "git", "config", "--global", "user.email", "test@test.com" |
| LOW | Formula/l/lolcrab.rb | 27 | assert_match "\e[38;", pipe_output(bin/"lolcrab", "lorem ipsum dolor sit amet") |
| LOW | Formula/l/lolcrab.rb | 27 | assert_match "\e[38;", pipe_output(bin/"lolcrab", "lorem ipsum dolor sit amet") |
| LOW | Formula/l/lolcrab.rb | 28 | assert_match "\e[48;", pipe_output("#{bin}/lolcrab -i", "lorem ipsum dolor sit amet") |
| LOW | Formula/l/lolcrab.rb | 28 | assert_match "\e[48;", pipe_output("#{bin}/lolcrab -i", "lorem ipsum dolor sit amet") |
| LOW | Formula/l/lorem.rb | 24 | assert_equal "lorem ipsum", shell_output("#{bin}/lorem -n 2").strip.downcase |
| LOW | Formula/p/phpunit.rb | 96 | Email::fromString('user@example.com') |
| LOW | Formula/p/phpunit.rb | 110 | 'user@example.com', |
| LOW | Formula/p/phpunit.rb | 111 | Email::fromString('user@example.com') |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | Formula/t/teem.rb | 65 | #----------------------------------------------------------------------------- |
| MEDIUM | Formula/s/seexpr.rb | 71 | ---------------------#-------##-------#--------------------- |
| MEDIUM | Formula/f/freeswitch.rb | 69 | #--------------- |
| MEDIUM | Formula/f/freeswitch.rb | 71 | #--------------- |
| MEDIUM | Formula/f/freeswitch.rb | 113 | #----------- |
| MEDIUM | Formula/f/freeswitch.rb | 115 | #----------- |
| MEDIUM | Formula/b/bsc.rb | 145 | ## ========================= |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | Formula/g/gitless.rb | 92 | # make sure to update setup.py |
| MEDIUM | Formula/g/greenmask.rb | 67 | pg_restore_options: # pg_restore option (you can use the same options as pg_restore has) |
| LOW | Formula/f/fastfec.rb | 43 | # Don't forget to update the `install` method. |
| LOW | Formula/c/curl.rb | 4 | # Don't forget to update both instances of the version in the GitHub mirror URL. |
| LOW | Formula/e/exim.rb | 154 | Don't forget to run it as root to be able to bind port 25. |
| LOW | Formula/e/erlang@28.rb | 5 | # Don't forget to update the documentation resource along with the url! |
| LOW | Formula/e/erlang@27.rb | 5 | # Don't forget to update the documentation resource along with the url! |
| LOW | Formula/e/erlang.rb | 5 | # Don't forget to update the documentation resource along with the url! |
| LOW | Formula/e/erlang@26.rb | 5 | # Don't forget to update the documentation resource along with the url! |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | Formula/n/nexus.rb | 208 | + URL bcutilUrl = org.bouncycastle.util.Arrays.class.getProtectionDomain().getCodeSource().getLocation(); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | Formula/i/instalooter.rb | 120 | class UserAgentRequestHandler(six.moves.BaseHTTPServer.BaseHTTPRequestHandler): |
| LOW | Formula/c/ca-certificates.rb | 117 | def get_certificate_fingerprint(certificate, openssl_binary = "openssl") |
| LOW | Formula/c/ca-certificates.rb | 126 | def load_certificates_from_file(file_path, trusted_certificates, fingerprints, certificate_type) |
| LOW | Formula/p/powershell.rb | 147 | def clear_native_dependencies(publish_path, runtime, dotnet) |
| LOW | Formula/p/phpunit.rb | 92 | public function testCanBeCreatedFromValidEmailAddress(): void |
| LOW | Formula/p/phpunit.rb | 100 | public function testCannotBeCreatedFromInvalidEmailAddress(): void |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | Formula/p/pushpin.rb | 99 | except Exception: |