Skip to content

Commit 3e01b8c

Browse files
authored
Merge pull request #204291 from Homebrew/bump-malcontent-1.8.1
malcontent 1.8.1, yara-x: add c api binding
2 parents 607c0da + 1486f87 commit 3e01b8c

File tree

3 files changed

+20
-15
lines changed

3 files changed

+20
-15
lines changed

Diff for: .github/autobump.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1962,6 +1962,7 @@ makedepend
19621962
makensis
19631963
makepkg
19641964
mako
1965+
malcontent
19651966
man-db
19661967
manifest-tool
19671968
manticoresearch

Diff for: Formula/m/malcontent.rb

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
class Malcontent < Formula
22
desc "Supply Chain Attack Detection, via context differential analysis and YARA"
33
homepage "https://github.com/chainguard-dev/malcontent"
4-
url "https://github.com/chainguard-dev/malcontent/archive/refs/tags/v1.7.1.tar.gz"
5-
sha256 "e2f6b43715cefc00f1a07c84bb899fddc5defa3f69a1a68f5a4051680b0ca4b5"
4+
url "https://github.com/chainguard-dev/malcontent/archive/refs/tags/v1.8.1.tar.gz"
5+
sha256 "1dfbb1c0f4ee58991470731099181995311e177f5daabc21b080b5cef7643e0b"
66
license "Apache-2.0"
77

88
bottle do
9-
sha256 cellar: :any, arm64_sequoia: "1c6d0fcb4136e5a5ac5c5720dd59200bce74cdf884311258f55f4b030a858579"
10-
sha256 cellar: :any, arm64_sonoma: "98dd6af3a8c080c6b9090c60fefd796c23b95f109838f802176a56e1d5f6c46e"
11-
sha256 cellar: :any, arm64_ventura: "4dc1ced5cf5d2cab87201af25d7b21f65ebe52dafaa9efe848fa1085ceeeeda6"
12-
sha256 cellar: :any, sonoma: "e759a7ae280ac4d54aceef7681be3304ac0313c08ec4ebe73a70e3092c40d62d"
13-
sha256 cellar: :any, ventura: "45a2c31ec4cff70a861cf10b841a541ae863946d7ccc6e2fb53eff29a2429844"
14-
sha256 cellar: :any_skip_relocation, x86_64_linux: "971033b9af2ae9fcec299abe47b01cf9793a3e8f486999bee9161bd24e0dc8e6"
9+
sha256 cellar: :any, arm64_sequoia: "32e33354610c057cfbdfca4ca35502875cd3a4ab3ad87429d5bf4d7e4b2d949b"
10+
sha256 cellar: :any, arm64_sonoma: "7ca8f49a3c1b57451c0a1f91708d759c0d3534c991c26c1404a69306d408212d"
11+
sha256 cellar: :any, arm64_ventura: "461d67bb24c4edff917c20e0417dc55e9c10037e2d0ce09b166942564b9c04a3"
12+
sha256 cellar: :any, sonoma: "f70d8e8345859670008b586861980f61f9a7cd360d53697141bffc62720dfabf"
13+
sha256 cellar: :any, ventura: "eae5ee5b102ff4a9ac979a751ad759cb2f367aaf84eade0b355fb2dbc494081e"
14+
sha256 cellar: :any_skip_relocation, x86_64_linux: "a8361ea8a984043dd9f976e020aa90e6f04b7511c6f1d767289ca98859dbac04"
1515
end
1616

1717
depends_on "go" => :build
1818
depends_on "pkgconf" => :build
19-
depends_on "yara"
19+
depends_on "yara-x"
2020

2121
def install
2222
system "go", "build", *std_go_args(ldflags: "-s -w -X main.BuildVersion=#{version}", output: bin/"mal"), "./cmd/mal"

Diff for: Formula/y/yara-x.rb

+10-6
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,25 @@ class YaraX < Formula
44
url "https://github.com/VirusTotal/yara-x/archive/refs/tags/v0.12.0.tar.gz"
55
sha256 "f73f7c3d2b38e7190d9b588bbc4eb6664123cd95a10c30e198f0653da1db8932"
66
license "BSD-3-Clause"
7+
revision 1
78
head "https://github.com/VirusTotal/yara-x.git", branch: "main"
89

910
bottle do
10-
sha256 cellar: :any_skip_relocation, arm64_sequoia: "c11ca224f89e699dcfa63955e012992e7e00d3168fbfeda85778bb8b7308c456"
11-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "2654f91b33d943709fdb53f404734d1f860ab5a057895ad0ef702ad9f451f538"
12-
sha256 cellar: :any_skip_relocation, arm64_ventura: "ea3de5b2f6c193a7b76d48a6217556be731e4f177967738c4285c7d1bf9fc60f"
13-
sha256 cellar: :any_skip_relocation, sonoma: "5193d8f4e3d614c7a3f973822b61590ef8a159d941f6cd7a73831a184ea88cc6"
14-
sha256 cellar: :any_skip_relocation, ventura: "ea70418bd8a8109b21f74ce340939a5a0aff36a0750b8812c0d18632e5e4742a"
15-
sha256 cellar: :any_skip_relocation, x86_64_linux: "dd8ec8bd9807a760e9d048969158301e2680168f1479865723ea1eb94db49215"
11+
sha256 cellar: :any, arm64_sequoia: "bf35e2c0e39fb7959945c139b6d74d36c5f0977087aa53bc869572e804e9ff24"
12+
sha256 cellar: :any, arm64_sonoma: "9cc3b18bd091c5cf660c147db7828a1b5e2f31464b22303dd9ba827fd428919f"
13+
sha256 cellar: :any, arm64_ventura: "1ddfe551dfd0afb79cddc2933b4602a3199fc25eb0cfcbf63cb67588671f2d13"
14+
sha256 cellar: :any, sonoma: "f54fe9b68fb8a9f47341bd2a46ed157eebfdd6af7c33549a6f66b942760c9b1f"
15+
sha256 cellar: :any, ventura: "32566be496260b1c392236a807e91914a4d04f8ea506f09786dcc5f135cb1c5a"
16+
sha256 cellar: :any_skip_relocation, x86_64_linux: "9005a10f98aff7f432e9e1a4693ca4347759fe6e0a5e1e1add6f96deada66dd3"
1617
end
1718

19+
depends_on "cargo-c" => :build
1820
depends_on "rust" => :build
1921

2022
def install
2123
system "cargo", "install", *std_cargo_args(path: "cli")
24+
system "cargo", "cinstall", "-p", "yara-x-capi", "--jobs", ENV.make_jobs.to_s, "--release",
25+
"--prefix", prefix, "--libdir", lib
2226

2327
generate_completions_from_executable(bin/"yr", "completion")
2428
end

0 commit comments

Comments
 (0)