mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-fs/s3backer: version bump 2.1.2
Signed-off-by: Alexey Korepanov <kaikaikai@yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/36390 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
committed by
Mike Gilbert
parent
16a5d7c11a
commit
b619310e4a
@@ -1 +1,2 @@
|
||||
DIST s3backer-1.6.3.tar.gz 129742 BLAKE2B 05f8b94e9b5e6ffd11b20d5945a9705f1830f3f358c2777695d0c5066bb044bd314d65259ecde299a51288908fcd869b8c516b30b0fbf66975b46a021d4d5bd6 SHA512 f7db1d733a0426df22c1b7d9c1150f8dbfedd0ba2e9120bd61026a481ed52a16f7f09e9e4fcd072cb656da0536cf98472f369eec0195a03b3f105fb3c9a8ba99
|
||||
DIST s3backer-2.1.2.tar.gz 156281 BLAKE2B 5891dbcecbd08b73d69218894d29ec56323d53ff9b594a853d42d6a621787392061895ae3168d6671b65db1b62cdca26959a122250e8878d740c2d806c9d305f SHA512 58e8bd5909b5f714ead7add9dcfe798d626628519e75f4f4347175c92fdf652e08f6ae00c2d9bf34fa859d46c111b846047ee4e613b94e81b7a7cdfc8e26fd9a
|
||||
|
||||
@@ -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>
|
||||
|
||||
54
net-fs/s3backer/s3backer-2.1.2.ebuild
Normal file
54
net-fs/s3backer/s3backer-2.1.2.ebuild
Normal file
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user