summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-21 00:05:36 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-21 00:05:36 +0100
commitbfd63d5b0e96ad32e0d0a8fe15512b6a9ac6fc9e (patch)
tree4d1f8172a8137960573865b4a5ac8b7846d281df /net-fs
parent77b275a53383b07b154caa09feb6f4961b206638 (diff)
gentoo auto-resync : 21:05:2024 - 00:05:35
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/Manifest.gzbin3359 -> 3358 bytes
-rw-r--r--net-fs/s3backer/Manifest4
-rw-r--r--net-fs/s3backer/metadata.xml5
-rw-r--r--net-fs/s3backer/s3backer-2.1.2.ebuild54
4 files changed, 62 insertions, 1 deletions
diff --git a/net-fs/Manifest.gz b/net-fs/Manifest.gz
index d604df061c0b..801392f049b5 100644
--- a/net-fs/Manifest.gz
+++ b/net-fs/Manifest.gz
Binary files differ
diff --git a/net-fs/s3backer/Manifest b/net-fs/s3backer/Manifest
index c393c06530ae..5c9dde251b82 100644
--- a/net-fs/s3backer/Manifest
+++ b/net-fs/s3backer/Manifest
@@ -1,3 +1,5 @@
DIST s3backer-1.6.3.tar.gz 129742 BLAKE2B 05f8b94e9b5e6ffd11b20d5945a9705f1830f3f358c2777695d0c5066bb044bd314d65259ecde299a51288908fcd869b8c516b30b0fbf66975b46a021d4d5bd6 SHA512 f7db1d733a0426df22c1b7d9c1150f8dbfedd0ba2e9120bd61026a481ed52a16f7f09e9e4fcd072cb656da0536cf98472f369eec0195a03b3f105fb3c9a8ba99
+DIST s3backer-2.1.2.tar.gz 156281 BLAKE2B 5891dbcecbd08b73d69218894d29ec56323d53ff9b594a853d42d6a621787392061895ae3168d6671b65db1b62cdca26959a122250e8878d740c2d806c9d305f SHA512 58e8bd5909b5f714ead7add9dcfe798d626628519e75f4f4347175c92fdf652e08f6ae00c2d9bf34fa859d46c111b846047ee4e613b94e81b7a7cdfc8e26fd9a
EBUILD s3backer-1.6.3.ebuild 723 BLAKE2B 4fa351ab240a2c20fd2344e0f3e062d57593b2410fca3652340d2db46385edac88829eec6d601b03afcd643a4661015f54770c92babe8767486b7d8346e13f8f SHA512 c231ec741d9df7340420a02347ee8c74ca484ea0a0761cc14e7f9ef2ada6999848d888bfe3599dee321e0ab9d520d9ea037b3b07f8d23af79f35b92a34125375
-MISC metadata.xml 537 BLAKE2B 39d75b9ae9bb9b2b67c826cc12910bdb66cb899ba460f69b517c5aa270c8a9d7af2acc0932b140c6a3891960fc29de488c61dd9becab8c0b2c4a6b034a7efb25 SHA512 724adcf5cd08947f84249f1bb68c184ec2f3f1ba4a2b026a1c6e6018d8d02dfb0011041e246aefd93183c142a985d26226e70046b4ae61fc24b842e0f96f9c1b
+EBUILD s3backer-2.1.2.ebuild 1080 BLAKE2B 29f0d1aff4a18773ac08e51e2228f54c76fbb9b797d044d3bb4249214b0fbebb5293de40fd0a1f871bfab0fd5f015c1a721d6c1c262f32bec5320285d61506ee SHA512 ec66eb5195919816ace067f4ad420a1439b06acc0b8bf3cc4d7e661508ded77f2e2b53833edde0303e93fd4af6fb44cd987c71aab9cf5aba6bb6ec939bb098ff
+MISC metadata.xml 617 BLAKE2B f0284e03cc22243aebb1d1b5b4aa674be095554124a8873c4b7815dd7d3f9de17be4ca9953f5b581f33bf3659697dbc49fe4b0af6db3573010f533e6cb312f6d SHA512 ec98ed21a98c0356433bd510a9b547fc3e079edf416fa09c69d5b88e7e2b2f42703dc59866718f9c6eb5774b905ec8de7815b435a45e561c5795cb08908f3f17
diff --git a/net-fs/s3backer/metadata.xml b/net-fs/s3backer/metadata.xml
index f18a0fb25a1f..af27462af85c 100644
--- a/net-fs/s3backer/metadata.xml
+++ b/net-fs/s3backer/metadata.xml
@@ -9,6 +9,11 @@
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
+ <use>
+ <flag name="nbd">
+ Support export as an nbd device
+ </flag>
+ </use>
<upstream>
<remote-id type="google-code">s3backer</remote-id>
<remote-id type="github">archiecobbs/s3backer</remote-id>
diff --git a/net-fs/s3backer/s3backer-2.1.2.ebuild b/net-fs/s3backer/s3backer-2.1.2.ebuild
new file mode 100644
index 000000000000..edc38736a8af
--- /dev/null
+++ b/net-fs/s3backer/s3backer-2.1.2.ebuild
@@ -0,0 +1,54 @@
+# 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
+
+ # s3backer builds support for nbdkit if it finds nbdkit during build, no config is needed.
+ # yet it will still build support for nbd if USE="-nbd" but nbdkit is installed
+
+ sed -e "/docdir=/s:packages/\$(PACKAGE):${PF}:" \
+ -e "/doc_DATA=/d" \
+ -i Makefile.am || die
+
+ eautoreconf
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ default
+
+ # skip /run/s3backer-nbd if present
+ rm -rf "${ED}/run"
+}