summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-03-29 08:34:49 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2021-03-29 08:38:08 +0100
commitc23c04e9b953ba5a8daa01a5f1737825d5618b08 (patch)
tree3fb57d318af7882e327a625d87a186f061a2df9e /net-libs/libiscsi
parentnet-libs/libiscsi: fix -fno-common build failures (diff)
downloadgentoo-c23c04e9b953ba5a8daa01a5f1737825d5618b08.tar.gz
gentoo-c23c04e9b953ba5a8daa01a5f1737825d5618b08.tar.bz2
gentoo-c23c04e9b953ba5a8daa01a5f1737825d5618b08.zip
net-libs/libiscsi: bump up to 10.19.0
Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/721248 Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/778905 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'net-libs/libiscsi')
-rw-r--r--net-libs/libiscsi/Manifest1
-rw-r--r--net-libs/libiscsi/libiscsi-1.19.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/net-libs/libiscsi/Manifest b/net-libs/libiscsi/Manifest
index 3b6663f831d1..81e3d2d600de 100644
--- a/net-libs/libiscsi/Manifest
+++ b/net-libs/libiscsi/Manifest
@@ -1 +1,2 @@
DIST libiscsi-1.18.0.tar.gz 271603 BLAKE2B 9e059d57ce231ba1699927c54ee7d7bda69274c6361fc0870e8a46eb032d46a5029080eab8061f2e1d06b41f0e98606aeb2444d3deb6da2a188dd6882196512c SHA512 9869fd86f8ba237d71256b16d0f94ef69fb67fac315bb7a596c4d8d6ed3abba710edf9b5f5a27f5777f7b5d2feb33c09764c27a4e6c56e38dd2566836cffe36e
+DIST libiscsi-1.19.0.tar.gz 284969 BLAKE2B 4e5dc37ba3393076dfc0ed8df0cf969771b16deeeffaf0b65741d1466103bf32b45c22566a6ccb43a5f8740a7681b78f8374ef041a96a59ac1b67ee7fc781cf3 SHA512 2c0e70b7ecf66204524e57edf557a014b5141a8819e5d663b6e50cb2e756fd634ae1db0b1ca6915444d80a9babd54a82619bdd98726d16d4eeaf7b3c89cf3d53
diff --git a/net-libs/libiscsi/libiscsi-1.19.0.ebuild b/net-libs/libiscsi/libiscsi-1.19.0.ebuild
new file mode 100644
index 000000000000..ac0e12e20ddf
--- /dev/null
+++ b/net-libs/libiscsi/libiscsi-1.19.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/sahlberg/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/sahlberg/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+fi
+
+DESCRIPTION="iscsi client library and utilities"
+HOMEPAGE="https://github.com/sahlberg/libiscsi"
+
+SLOT="0"
+LICENSE="GPL-2 LGPL-2"
+
+RDEPEND="dev-libs/libgcrypt:0="
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.18.0-fno-common.patch
+ "${FILESDIR}"/${PN}-1.18.0-fno-common-2.patch
+ "${FILESDIR}"/${PN}-1.18.0-fno-common-3.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --enable-manpages \
+ --disable-static \
+ --disable-werror
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
+ rm "${ED}"/usr/bin/ld_iscsi.so || die
+}