|
1 | 1 | class Libiscsi < Formula |
2 | 2 | desc "Client library and utilities for iscsi" |
3 | 3 | homepage "https://github.com/sahlberg/libiscsi" |
4 | | - url "https://github.com/sahlberg/libiscsi/archive/refs/tags/1.20.0.tar.gz" |
5 | | - sha256 "6321d802103f2a363d3afd9a5ae772de0b4052c84fe6a301ecb576b34e853caa" |
| 4 | + url "https://github.com/sahlberg/libiscsi/archive/refs/tags/1.20.1.tar.gz" |
| 5 | + sha256 "6bd6feef2904de1bb1869cec935b58995bc1311cad57184a2221e09ed6137eec" |
6 | 6 | license all_of: [:public_domain, "LGPL-2.1-or-later", "GPL-2.0-or-later"] |
7 | 7 | head "https://github.com/sahlberg/libiscsi.git", branch: "master" |
8 | 8 |
|
9 | 9 | bottle do |
10 | | - sha256 cellar: :any, arm64_sequoia: "7ed4c8fcbca1477bae283a7263f35afd777bad5c52701fc4613c1a04d2eb97f9" |
11 | | - sha256 cellar: :any, arm64_sonoma: "b8b214472ef93143e0d926b7b44a4b8f31ab658a4d32c072bd70290185490ab6" |
12 | | - sha256 cellar: :any, arm64_ventura: "e9cade19921a1d5abfe5b3fcde749ea27ac0169ccefe2ad641cbf335041407db" |
13 | | - sha256 cellar: :any, arm64_monterey: "43ac5887c657c6b82c77fbdef9a4cf0d7619f8aa6d224886bcec9a9441f16695" |
14 | | - sha256 cellar: :any, sonoma: "740b7f606b002d81ac103bdc370dcd3e8c2fe8d40c4076f82da099cec369cf84" |
15 | | - sha256 cellar: :any, ventura: "b2ef691dddbb78054d97f690f66d232c5342ab532d675202218ae75c4974acf5" |
16 | | - sha256 cellar: :any, monterey: "e37fd9ee5cb599780d8b879d39b13c6b8fa123e7d2d259fc958cebadc3600c92" |
17 | | - sha256 cellar: :any_skip_relocation, arm64_linux: "1ab407e7c602f475c9a9149103cde804b8164853c07884e7cc1cc1af7aa1950c" |
18 | | - sha256 cellar: :any_skip_relocation, x86_64_linux: "f038bc77875a74dcbc70d2db6f0f653ee58b744278833151b0c9a6aea8816dfe" |
| 10 | + sha256 cellar: :any, arm64_sequoia: "dc5f8c6f6c92e1fd412fc04112032eb339d9014208d27819fd92cde2756883e5" |
| 11 | + sha256 cellar: :any, arm64_sonoma: "be090725b493c5446110fbcc7c05ad6bedc92032360fe05cc5963c940e8580c1" |
| 12 | + sha256 cellar: :any, arm64_ventura: "e710e558774e2b4fcbd1c423b945f4a63f5f55daa8f14298d42f816afcef99ec" |
| 13 | + sha256 cellar: :any, sonoma: "2636c3307f2421f528d202124664f6a32210bf9603becc186d2cc765c897e2bf" |
| 14 | + sha256 cellar: :any, ventura: "589f2bce4a2ccd68d527b974723f26a7c22b09faaac24bf0b91b27e383e803bc" |
| 15 | + sha256 cellar: :any_skip_relocation, arm64_linux: "44dedd29ce36ad360bee30ddd330301ecd26ea9a9fbdaee14adaf04417002040" |
| 16 | + sha256 cellar: :any_skip_relocation, x86_64_linux: "74a477c46c38281dc7810044580134c904733d949eb3d11e3c63eae2c4a298d8" |
19 | 17 | end |
20 | 18 |
|
21 | 19 | depends_on "autoconf" => :build |
22 | 20 | depends_on "automake" => :build |
23 | 21 | depends_on "libtool" => :build |
24 | 22 | depends_on "cunit" |
25 | 23 |
|
| 24 | + # Fix to error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?, remove on next release |
| 25 | + # Issue ref: https://github.com/sahlberg/libiscsi/issues/442 |
| 26 | + patch do |
| 27 | + url "https://github.com/sahlberg/libiscsi/commit/fa37a2136c59a16e3112a957ccdb8197ecf2a302.patch?full_index=1" |
| 28 | + sha256 "02f21294fcfa9535f6ba984e7c0ac14d7c6aded387db6e744c6ebf892dc69c4f" |
| 29 | + end |
| 30 | + |
26 | 31 | def install |
27 | 32 | system "./autogen.sh" |
28 | 33 | system "./configure", "--disable-dependency-tracking", |
|
0 commit comments