Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/open-isns/
Date: Mon, 06 May 2019 12:54:46
Message-Id: 1557147273.51f4d1754d81e472f6e9825991355955ef20ac7d.polynomial-c@gentoo
1 commit: 51f4d1754d81e472f6e9825991355955ef20ac7d
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 6 12:32:49 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon May 6 12:54:33 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51f4d175
7
8 sys-block/open-isns: Bump to version 0.99
9
10 Package-Manager: Portage-2.3.66, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-block/open-isns/Manifest | 1 +
14 sys-block/open-isns/open-isns-0.99.ebuild | 46 +++++++++++++++++++++++++++++++
15 2 files changed, 47 insertions(+)
16
17 diff --git a/sys-block/open-isns/Manifest b/sys-block/open-isns/Manifest
18 index feeeb17c2a1..6914def7947 100644
19 --- a/sys-block/open-isns/Manifest
20 +++ b/sys-block/open-isns/Manifest
21 @@ -1,2 +1,3 @@
22 DIST open-isns-0.97.tar.gz 278317 BLAKE2B 7083b3ebef78a5afb35e8cc31e86674b407eb48224139745142238f559e95ceca8755e570031559bdf29ec691947693303e07b8f81b915a3b7f2396329bbd2b3 SHA512 78c934162d5a1d093bccd49449d4ef369b896d34309d76b4963d643a699640617c4fe064388c481c35b9be26e012f19713f3aad378af9ad88fa94c3d300e919d
23 DIST open-isns-0.98.tar.gz 278410 BLAKE2B f90df85de4d5fd2abdcd267e3c873dff62fcac523ee280e21def057eca366bbba21c2b3bfbf5cc0798b8d0f3b0d5028ebb49000cccc850abdfb85142a7b66c34 SHA512 04263b9ace9d272f4e3776c4e1a034815475590d4b4864217a6200fcd5baea391cd788723db3c17fe0d764efc9769a70a3d2167b00e5998fb4bcb8d5fe2547ed
24 +DIST open-isns-0.99.tar.gz 282831 BLAKE2B 7140daf08fda894bcbed3e25b122909ad0ed86b4f3db2e42a23b97480dea554194d2a33a3ebdf4e2017a57c2023dd8589f2e2fcfa60470cc3a6a3fbfb0d0ccbc SHA512 90a2297535c5e939f83c761173ce5f5f88e68adc31e41e833b23d07b6dc6959572ae7184db0084b861918199a877b251ebae4b4a7456fdd8c93400dc8457adc9
25
26 diff --git a/sys-block/open-isns/open-isns-0.99.ebuild b/sys-block/open-isns/open-isns-0.99.ebuild
27 new file mode 100644
28 index 00000000000..e9c2b890b98
29 --- /dev/null
30 +++ b/sys-block/open-isns/open-isns-0.99.ebuild
31 @@ -0,0 +1,46 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit flag-o-matic
38 +
39 +DESCRIPTION="iSNS server and client for Linux"
40 +HOMEPAGE="https://github.com/open-iscsi/open-isns"
41 +SRC_URI="https://github.com/open-iscsi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="LGPL-2.1"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
46 +IUSE="debug libressl slp ssl static"
47 +
48 +DEPEND="
49 + ssl? (
50 + !libressl? ( dev-libs/openssl:0= )
51 + libressl? ( dev-libs/libressl:0= )
52 + )
53 + slp? ( net-libs/openslp )"
54 +RDEPEND="${DEPEND}"
55 +
56 +PATCHES=( "${FILESDIR}/${PN}-0.98-libressl-compatibility.patch" )
57 +
58 +src_configure() {
59 + use debug && append-cppflags -DDEBUG_TCP -DDEBUG_SCSI
60 + append-lfs-flags
61 + local myeconfargs=(
62 + $(use_with slp)
63 + $(use_with ssl security)
64 + $(use_enable !static shared)
65 + )
66 + econf "${myeconfargs[@]}"
67 +}
68 +
69 +src_install() {
70 + default
71 + emake DESTDIR="${D}" install_hdrs
72 + emake DESTDIR="${D}" install_lib
73 + keepdir /var/lib/${PN/open-}
74 + if ! use static ; then
75 + find "${ED}" -type f -name "*.a" -delete || die
76 + fi
77 +}