Skip to content

Commit 91934f6

Browse files
authored
Merge pull request Homebrew#226589 from botantony/pbc
pbc 1.0.0
2 parents 999df7a + 71ddcce commit 91934f6

File tree

1 file changed

+12
-26
lines changed

1 file changed

+12
-26
lines changed

Formula/p/pbc.rb

Lines changed: 12 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,10 @@
11
class Pbc < Formula
22
desc "Pairing-based cryptography"
33
homepage "https://crypto.stanford.edu/pbc/"
4+
url "https://crypto.stanford.edu/pbc/files/pbc-1.0.0.tar.gz"
5+
sha256 "18275a367283077bafe35f443200499e3b19c4a3754953da2a1b2f0d6b5922dc"
46
license "LGPL-3.0-only"
57

6-
stable do
7-
url "https://crypto.stanford.edu/pbc/files/pbc-0.5.14.tar.gz"
8-
sha256 "772527404117587560080241cedaf441e5cac3269009cdde4c588a1dce4c23d2"
9-
10-
# Fix -flat_namespace being used on Big Sur and later.
11-
patch do
12-
url "https://raw.githubusercontent.com/Homebrew/formula-patches/03cf8088210822aa2c1ab544ed58ea04c897d9c4/libtool/configure-pre-0.4.2.418-big_sur.diff"
13-
sha256 "83af02f2aa2b746bb7225872cab29a253264be49db0ecebb12f841562d9a2923"
14-
end
15-
end
16-
178
livecheck do
189
url "https://crypto.stanford.edu/pbc/download.html"
1910
regex(/href=.*?pbc[._-]v?(\d+(?:\.\d+)+)\.t/i)
@@ -22,21 +13,13 @@ class Pbc < Formula
2213
no_autobump! because: :requires_manual_review
2314

2415
bottle do
25-
rebuild 1
26-
sha256 cellar: :any, arm64_sequoia: "566ef59675030399f76d4f7c067ca04cecaa3ebb4d9102aa480dbe39c24ba487"
27-
sha256 cellar: :any, arm64_sonoma: "4e89883c3b22eccfdf0904017650418af4c2f50bc9ae41a535235ac1d235f27f"
28-
sha256 cellar: :any, arm64_ventura: "e22db03b394884a0f34163c74d87b6c33210aefd98cc751d2ab61108c667fdf0"
29-
sha256 cellar: :any, arm64_monterey: "2397daa1cad88180149983c0f6557b6a48fa2124c24ac78a8d95dd0af9cac8a0"
30-
sha256 cellar: :any, arm64_big_sur: "ac722f3534f9cf0679f2c999353a524d822d4068d8f9877a5967fe6fbcef9f04"
31-
sha256 cellar: :any, sonoma: "3cdb93d8e2e6876981b58d28a7e4b67e299db718ab0a9ffef12d53164d2a7a9e"
32-
sha256 cellar: :any, ventura: "903a04400b010de2e1c4311881dfaa8cfc9f04ee40a83f369a19fd334e6b4446"
33-
sha256 cellar: :any, monterey: "dfe0e9676dd479513ec0cf524d6a225229de96aa058492a6319cdd914dd3509f"
34-
sha256 cellar: :any, big_sur: "c14c0514c725c35d0dffbc7dc410ddc5be033e061ffc66d9c039033b0ca1e6e4"
35-
sha256 cellar: :any, catalina: "83d464696ab79f463ec2dc930cbd9c3ecbdedde5c578e70a4994b2cd8fec1f6d"
36-
sha256 cellar: :any, mojave: "85855bfe6dfe9a4fc0b0359f74aa7ea587283c1c724a6c4aee77972ecfc1d390"
37-
sha256 cellar: :any, high_sierra: "adc712fd4cc68990b669922be5b8ab15e4d499176c09facb5b129c6d7c847262"
38-
sha256 cellar: :any_skip_relocation, arm64_linux: "85ffa4238451ccfe2c90072b100d48a53d352e6209613bdee067f2347d088d47"
39-
sha256 cellar: :any_skip_relocation, x86_64_linux: "cefb9bc4223d88aa32583abbee1bf2af89e36760b8cabbe4af2e11819f993eb1"
16+
sha256 cellar: :any, arm64_sequoia: "540e6c2c25f64b9f01683b78101895359c1e317f0c040e1d6dcae389414faff7"
17+
sha256 cellar: :any, arm64_sonoma: "5c83b34f16294a88154eb2ca05a38730aafd3426dc5680ce92426e6377ee1f28"
18+
sha256 cellar: :any, arm64_ventura: "b45ad43cbfe26bf2a5afd507c6f9dba996b7069635d04321466eec6805f64a64"
19+
sha256 cellar: :any, sonoma: "87458237aa1d5e59deff3fde34155d58eba87df565e7f6c924f81171a6a634be"
20+
sha256 cellar: :any, ventura: "339f7b3535980d063d87c42b9a22fc2b6ca882857347358f207bf6d9b8cd768e"
21+
sha256 cellar: :any_skip_relocation, arm64_linux: "2bae3b376382982b1575a9f8b67b1cc476bedca4029a88cdb42f3407c8710f80"
22+
sha256 cellar: :any_skip_relocation, x86_64_linux: "77d9e6a22ef1c9a1253703a33e6c734aa3c223a031cf17cec702bc1f9c8d5834"
4023
end
4124

4225
head do
@@ -53,6 +36,9 @@ class Pbc < Formula
5336
uses_from_macos "flex" => :build
5437

5538
def install
39+
# fix flex yywrap function detection issue
40+
ENV["ac_cv_search_yywrap"] = "yes"
41+
5642
system "./setup" if build.head?
5743
system "./configure", *std_configure_args
5844
system "make", "install"

0 commit comments

Comments
 (0)