diff options
author | Petr Vaněk <arkamar@gentoo.org> | 2024-10-30 10:38:12 +0100 |
---|---|---|
committer | Petr Vaněk <arkamar@gentoo.org> | 2024-10-30 10:40:29 +0100 |
commit | 21c09798fafb27c86e4d925d517d3dff9ec51b1c (patch) | |
tree | 86ab575de68f3f5d17c49d0b30f2941b0c73a05e /net-fs | |
parent | mail-client/thunderbird: fix UnusedLocalUse (diff) | |
download | gentoo-21c09798fafb27c86e4d925d517d3dff9ec51b1c.tar.gz gentoo-21c09798fafb27c86e4d925d517d3dff9ec51b1c.tar.bz2 gentoo-21c09798fafb27c86e4d925d517d3dff9ec51b1c.zip |
net-fs/s3fs: add 1.95
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/s3fs/Manifest | 1 | ||||
-rw-r--r-- | net-fs/s3fs/s3fs-1.95.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/net-fs/s3fs/Manifest b/net-fs/s3fs/Manifest index a98681df8e09..f769de52a0ae 100644 --- a/net-fs/s3fs/Manifest +++ b/net-fs/s3fs/Manifest @@ -1 +1,2 @@ DIST s3fs-1.94.tar.gz 291170 BLAKE2B 86a0271cfedc38778b4e8a50cb4515a3b921e0c69618ff7b2db411a95c3ed37e43f5e394c47937fd9072530177faf4f014e395feb519e995bf386d538318d3bf SHA512 1a29d4f0b73f844ea1d4ad6e0b36d601fb7ab5818af0a90564b77182564c04fbef308362a9a749038b17f28f07f79b6debb661610f69c039a405b931361abe9c +DIST s3fs-1.95.tar.gz 285599 BLAKE2B 4cb34f50d4efd0c1e0ef8196c3c9a53c380338317b736dbc229ef37ef22cec9dcf634a5b253bcdd23b25f16badffe39817c8c59530a49963cde17a2721a7b678 SHA512 73fd33895ace0e60fe8df392d474624f913a310c8df136bcc60b7d644ce7a92681ac7ced9bf9fcb9ef248f48b3bee3d4e871c172368c0b07626cb8f2ed3ba1b9 diff --git a/net-fs/s3fs/s3fs-1.95.ebuild b/net-fs/s3fs/s3fs-1.95.ebuild new file mode 100644 index 000000000000..5d37abcb5928 --- /dev/null +++ b/net-fs/s3fs/s3fs-1.95.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 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 +" +S="${WORKDIR}/${MY_P}" + +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" + +src_prepare() { + default + + sed -i 's/ -D_FORTIFY_SOURCE=3//' 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[@]}" +} |