summaryrefslogtreecommitdiff
path: root/net-fs/s3fs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-27 15:12:15 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-27 15:12:15 +0100
commit246c83e768dd1efb42047de864a1e92b73de8b5c (patch)
tree2410761373aee7452a92e79038c5a28d631a0774 /net-fs/s3fs
parente67c9b35124c5b3338943cf7793fe4402f03ad0f (diff)
gentoo auto-resync : 27:05:2023 - 15:12:15
Diffstat (limited to 'net-fs/s3fs')
-rw-r--r--net-fs/s3fs/Manifest4
-rw-r--r--net-fs/s3fs/metadata.xml2
-rw-r--r--net-fs/s3fs/s3fs-1.92.ebuild67
3 files changed, 71 insertions, 2 deletions
diff --git a/net-fs/s3fs/Manifest b/net-fs/s3fs/Manifest
index daac3464a869..4264a33c94bc 100644
--- a/net-fs/s3fs/Manifest
+++ b/net-fs/s3fs/Manifest
@@ -1,3 +1,5 @@
DIST s3fs-1.91.tar.gz 242590 BLAKE2B b65119f480b35a6325fa6d498e260309f65778abf97fc9f82bf423004e142f998a1c4b5c80c74a2932a6fa714956fd4f6a0b71e102061ff4f08ff0a82bdbb05c SHA512 5b57af18395f34885b4b8a98e93b0e3f9043c9af78e415a0a6c15489611d7e21ae619e69655737de369edee15762d8726b82bc2651b5b7f5c20e26fe866a96bc
+DIST s3fs-1.92.tar.gz 283295 BLAKE2B 7286d3c8a83d87252db1b18b063f6704b128abdd957a9baeb204834b534a16a09d60a46507ae03633ce789e8127c7a480fb1e81b1fc1a3c8c7b69a79541abf11 SHA512 375492d63626f0b71583e735e43985045dd5d4ccad2e66ae5d1c7ea9d8e5e881993bf00e31bae96d55aa441fae555bc71ebcfd47f3d189f6c322ba441853a95f
EBUILD s3fs-1.91.ebuild 1031 BLAKE2B 57a0bf9bc20707881776c12bbd7d3a3410ff68c82b8110f3eec2347344c9047a0bc080e74557b9f5fc49926a5f4515e78b4f0e89ed1635f105df5e5011e783ce SHA512 3a14d4c17dd60da75e00df2cea5dc60700da2182caf1051d89cde82135c8b90bc2c9c51dfb5ce9ef431a0125f7429f9c00a31f74f0da707add100f9484204f8c
-MISC metadata.xml 588 BLAKE2B 5786ae816ac924f7c8e8044b7f48fa96648b00d3d177a0edfbbb40baa6f260fd93414184c37a73a49f97f0e139d38835da9e41e413208f11550f9fa287488275 SHA512 318c4d450f9d58836982c90e048c57635e855df10712d77d54ddb8e0d0fff297ba92b7f0469987258ce39aba6e3dbe714d49f881048ddd6a840b5de1f16b7216
+EBUILD s3fs-1.92.ebuild 1229 BLAKE2B 18d2d10faba6f4b9f32f778accae5b36d0e145b00fe5adbf1f1af4b733d7c7bd745e4405a4d41f3cd7ccee76d3df9a8db3619bc647b93a26073592e00e3a3375 SHA512 790ca1f188b8a1acd2509fe8ddfb66d6746e99501908aa20f251380ff2156ba70318f4c6718e006aa7993a5b1379284f5c542486a22cca3b4e36fd704ce58a37
+MISC metadata.xml 620 BLAKE2B 47b83dba3a0987ba0587471596f422c85a9400a8607a2b13071145aab66c2b05931600bdc885510e308d279b3b27be4d27c2fb30ec70a870f693aec0bf569b28 SHA512 6570f408a2f9367363ad6b2e2463a9fd8f19f7726d5c207475c56772f34a84887e88e97217b2cf6ef87bfe8efecbe13c670267647f578a405dedb8236a63f78a
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="&lt;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..3cdc27601f27
--- /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 || die
+
+ 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[@]}"
+}