summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorAlexey Korepanov <kaikaikai@yandex.ru>2024-06-03 09:58:34 +0100
committerJoonas Niilola <juippis@gentoo.org>2024-07-03 08:30:17 +0300
commit7c2cd3a7b9ef07d0cc4b2449c880a09c8733204f (patch)
tree29d437f43efb43e2df81b25a6f2e1cca479f1cf0 /net-fs
parentdev-libs/foma: stabilize 0.10.0_p20220612-r2 for x86 (diff)
downloadgentoo-7c2cd3a7b9ef07d0cc4b2449c880a09c8733204f.tar.gz
gentoo-7c2cd3a7b9ef07d0cc4b2449c880a09c8733204f.tar.bz2
gentoo-7c2cd3a7b9ef07d0cc4b2449c880a09c8733204f.zip
net-fs/s3backer: version bump 2.1.3
Signed-off-by: Alexey Korepanov <kaikaikai@yandex.ru> Closes: https://bugs.gentoo.org/932531 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/s3backer/Manifest1
-rw-r--r--net-fs/s3backer/s3backer-2.1.3.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/net-fs/s3backer/Manifest b/net-fs/s3backer/Manifest
index 4456927cf5a7..70d24a3a2e63 100644
--- a/net-fs/s3backer/Manifest
+++ b/net-fs/s3backer/Manifest
@@ -1,2 +1,3 @@
DIST s3backer-1.6.3.tar.gz 129742 BLAKE2B 05f8b94e9b5e6ffd11b20d5945a9705f1830f3f358c2777695d0c5066bb044bd314d65259ecde299a51288908fcd869b8c516b30b0fbf66975b46a021d4d5bd6 SHA512 f7db1d733a0426df22c1b7d9c1150f8dbfedd0ba2e9120bd61026a481ed52a16f7f09e9e4fcd072cb656da0536cf98472f369eec0195a03b3f105fb3c9a8ba99
DIST s3backer-2.1.2.tar.gz 156281 BLAKE2B 5891dbcecbd08b73d69218894d29ec56323d53ff9b594a853d42d6a621787392061895ae3168d6671b65db1b62cdca26959a122250e8878d740c2d806c9d305f SHA512 58e8bd5909b5f714ead7add9dcfe798d626628519e75f4f4347175c92fdf652e08f6ae00c2d9bf34fa859d46c111b846047ee4e613b94e81b7a7cdfc8e26fd9a
+DIST s3backer-2.1.3.tar.gz 156859 BLAKE2B 0a28f739f29e2d63a6626247a16d437696a0b3ce2a2b83ae5875f40005ca7f61a3117cf4ecd4646006372cf3eb0afd7a423dca8dfe3db7041c53fc9fffce6b2b SHA512 14e892e3b327ba1c1c164aec30689c0a63e9ede162d4e4a99f9b4fcc0a4a3ef9c81fbacf775cb78f3830ab504e1759bc162af30d1b09a761e97de7191c3e60c8
diff --git a/net-fs/s3backer/s3backer-2.1.3.ebuild b/net-fs/s3backer/s3backer-2.1.3.ebuild
new file mode 100644
index 000000000000..c8851781c6fc
--- /dev/null
+++ b/net-fs/s3backer/s3backer-2.1.3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="A filesystem that contains a single file backed by Amazon S3"
+HOMEPAGE="https://github.com/archiecobbs/s3backer"
+SRC_URI="https://github.com/archiecobbs/s3backer/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nbd"
+
+RDEPEND="
+ dev-libs/expat
+ dev-libs/openssl:0=
+ net-misc/curl
+ sys-fs/fuse:0
+ sys-libs/zlib
+ nbd? ( sys-block/nbd sys-block/nbdkit )
+"
+DEPEND="${RDEPEND}
+ elibc_musl? ( sys-libs/queue-standalone )
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+
+ sed -e "/docdir=/s:packages/\$(PACKAGE):${PF}:" \
+ -e "/doc_DATA=/d" \
+ -i Makefile.am || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable nbd)
+}
+
+src_install() {
+ default
+
+ if use nbd ; then
+ rm "${ED}/usr/$(get_libdir)/nbdkit/plugins/nbdkit-s3backer-plugin.la" || die
+ fi
+}