From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/s3fs/
Date: Sat, 27 May 2023 07:49:30 +0000 (UTC) [thread overview]
Message-ID: <1685173760.8765e3d0ba2ac52728ada06e260f92e9a3a1d687.juippis@gentoo> (raw)
commit: 8765e3d0ba2ac52728ada06e260f92e9a3a1d687
Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz>
AuthorDate: Mon May 22 13:41:42 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat May 27 07:49:20 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8765e3d0
net-fs/s3fs: add 1.92
- update the ssl REQUIRED_USE logic as suggested in #781908
- remove hardcoded -D_FORTIFY_SOURCE=2 flag
- remove unused test USE flag
Closes: https://bugs.gentoo.org/781908
Bug: https://bugs.gentoo.org/895676
Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/31126
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
net-fs/s3fs/Manifest | 1 +
net-fs/s3fs/metadata.xml | 2 +-
net-fs/s3fs/s3fs-1.92.ebuild | 67 ++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 69 insertions(+), 1 deletion(-)
diff --git a/net-fs/s3fs/Manifest b/net-fs/s3fs/Manifest
index f9af151c0d1b..698cf9099571 100644
--- a/net-fs/s3fs/Manifest
+++ b/net-fs/s3fs/Manifest
@@ -1 +1,2 @@
DIST s3fs-1.91.tar.gz 242590 BLAKE2B b65119f480b35a6325fa6d498e260309f65778abf97fc9f82bf423004e142f998a1c4b5c80c74a2932a6fa714956fd4f6a0b71e102061ff4f08ff0a82bdbb05c SHA512 5b57af18395f34885b4b8a98e93b0e3f9043c9af78e415a0a6c15489611d7e21ae619e69655737de369edee15762d8726b82bc2651b5b7f5c20e26fe866a96bc
+DIST s3fs-1.92.tar.gz 283295 BLAKE2B 7286d3c8a83d87252db1b18b063f6704b128abdd957a9baeb204834b534a16a09d60a46507ae03633ce789e8127c7a480fb1e81b1fc1a3c8c7b69a79541abf11 SHA512 375492d63626f0b71583e735e43985045dd5d4ccad2e66ae5d1c7ea9d8e5e881993bf00e31bae96d55aa441fae555bc71ebcfd47f3d189f6c322ba441853a95f
diff --git a/net-fs/s3fs/metadata.xml b/net-fs/s3fs/metadata.xml
index 7656a3f39fbb..eb7977bc87e6 100644
--- a/net-fs/s3fs/metadata.xml
+++ b/net-fs/s3fs/metadata.xml
@@ -3,7 +3,7 @@
<pkgmetadata>
<!-- maintainer-needed -->
<use>
- <flag name="openssl">Enable <pkg>dev-libs/openssl</pkg> crypto backend</flag>
+ <flag name="openssl" restrict="<net-fs/s3fs-1.92">Enable <pkg>dev-libs/openssl</pkg> crypto backend</flag>
<flag name="nss">Enable <pkg>dev-libs/nss</pkg> crypto backend</flag>
<flag name="gnutls">Enable <pkg>net-libs/gnutls</pkg> crypto backend</flag>
<flag name="nettle">Use <pkg>dev-libs/nettle</pkg> network functions with GnuTLS.</flag>
diff --git a/net-fs/s3fs/s3fs-1.92.ebuild b/net-fs/s3fs/s3fs-1.92.ebuild
new file mode 100644
index 000000000000..8f8f4e67cd0f
--- /dev/null
+++ b/net-fs/s3fs/s3fs-1.92.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+MY_PN=${PN}-fuse
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Amazon S3 mounting via fuse"
+HOMEPAGE="https://github.com/s3fs-fuse/s3fs-fuse/"
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+IUSE="gnutls nettle nss"
+REQUIRED_USE="nettle? ( gnutls !nss )"
+
+# Requires active internet connection and it tries to download some binaries for later execution
+RESTRICT="test"
+
+DEPEND="
+ dev-libs/libxml2:2
+ net-misc/curl
+ sys-fs/fuse:0
+ nss? ( dev-libs/nss )
+ !nss? (
+ gnutls? (
+ net-libs/gnutls:=
+ nettle? ( dev-libs/nettle:= )
+ )
+ !gnutls? ( dev-libs/openssl:0= )
+ )
+"
+
+RDEPEND="${DEPEND}
+ app-misc/mime-types
+"
+
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ default
+
+ sed -i 's/-D_FORTIFY_SOURCE=2//' configure.ac
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_with nettle)
+ )
+ if use nss; then
+ myeconfargs+=( $(use_with nss) )
+ elif use gnutls; then
+ myeconfargs+=( $(use_with gnutls) )
+ else
+ myeconfargs+=( --with-openssl )
+ fi
+
+ econf "${myeconfargs[@]}"
+}
next reply other threads:[~2023-05-27 7:49 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-27 7:49 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-03 9:25 [gentoo-commits] repo/gentoo:master commit in: net-fs/s3fs/ Petr Vaněk
2024-10-30 9:40 Petr Vaněk
2024-03-28 7:09 Petr Vaněk
2024-03-27 12:46 Arthur Zamarin
2024-03-27 12:46 Arthur Zamarin
2024-02-25 8:24 Petr Vaněk
2023-12-04 12:30 Petr Vaněk
2023-09-11 9:33 Sam James
2023-09-11 9:33 Sam James
2023-08-11 7:29 Joonas Niilola
2023-08-11 7:29 Joonas Niilola
2023-07-14 16:23 Arthur Zamarin
2023-07-14 16:19 Arthur Zamarin
2023-05-27 7:49 Joonas Niilola
2022-12-18 12:26 Sam James
2022-12-18 11:39 Sam James
2022-03-11 18:43 Matthew Smith
2022-03-09 7:06 Jakov Smolić
2022-03-09 7:06 Jakov Smolić
2022-03-08 20:20 Matthew Smith
2022-02-25 10:29 Yixun Lan
2021-04-10 7:45 Joonas Niilola
2021-04-10 7:45 Joonas Niilola
2021-03-31 2:23 Sam James
2021-03-30 16:26 Thomas Deutschmann
2021-03-20 8:25 Joonas Niilola
2020-10-05 11:43 Joonas Niilola
2020-02-06 6:20 Joonas Niilola
2019-11-12 5:36 Joonas Niilola
2019-11-12 5:36 Joonas Niilola
2018-03-20 4:40 Tim Harder
2018-03-20 4:40 Tim Harder
2017-11-26 23:11 David Seifert
2016-12-22 10:45 Göktürk Yüksek
2016-12-22 10:45 Göktürk Yüksek
2016-12-20 20:09 Thomas Deutschmann
2016-12-20 18:08 Tobias Klausmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1685173760.8765e3d0ba2ac52728ada06e260f92e9a3a1d687.juippis@gentoo \
--to=juippis@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox