Skip to content

Commit bef1444

Browse files
BrewTestBotchenrui333
authored andcommitted
vulsio-gost 0.7.0
vulsio-gost: remove build patch Signed-off-by: Rui Chen <[email protected]>
1 parent 758ce9e commit bef1444

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

Formula/v/vulsio-gost.rb

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class VulsioGost < Formula
22
desc "Local CVE tracker & notification system"
33
homepage "https://github.com/vulsio/gost"
4-
url "https://github.com/vulsio/gost/archive/refs/tags/v0.6.1.tar.gz"
5-
sha256 "8812f4874acb1ccb565def5732bedf6dbf43e46ed1de3324b8ecdd908d5943dd"
4+
url "https://github.com/vulsio/gost/archive/refs/tags/v0.7.0.tar.gz"
5+
sha256 "e20b39dff98c82a791ae9e5ac40ce78f6e25a5beac3ce7b4d53a3c0b45794f04"
66
license "MIT"
77

88
bottle do
@@ -20,19 +20,13 @@ class VulsioGost < Formula
2020

2121
conflicts_with "gost", because: "both install `gost` binaries"
2222

23-
# Backport fix for fetching Debian CVE DB
24-
patch do
25-
url "https://github.com/vulsio/gost/commit/e609fd898e22ce4e75f09e90e0a2c4fef7671111.patch?full_index=1"
26-
sha256 "9eeed9c0a0e1b4ca38176851207556d6f51d0e9f0b53819e846fef3d1acaf84d"
27-
end
28-
2923
def install
3024
ldflags = %W[
3125
-s -w
3226
-X github.com/vulsio/gost/config.Version=#{version}
3327
-X github.com/vulsio/gost/config.Revision=#{tap.user}
3428
]
35-
system "go", "build", *std_go_args(output: bin/"gost", ldflags:)
29+
system "go", "build", *std_go_args(ldflags:, output: bin/"gost")
3630

3731
generate_completions_from_executable(bin/"gost", "completion")
3832
end

0 commit comments

Comments
 (0)