mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
sys-block/partclone: add 0.3.47
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST partclone-0.3.44.tar.gz 1539166 BLAKE2B 698d500512e6460832f3cb43e7b26c13bb02229abd385ba9bcce8016565e16bb791c6bfc9a5925ad5846d4c1e97f04cc223d7c843861c0a059a800368aa7d0f7 SHA512 fff1d5f30801b84a58269c7644a4deaa3a34e8d9ab48f515a5dce12e26a1046e8c1350805c87c3d32c6d5e84abde3678671f9a9001ce9fbaf91cc0ce38aa8b9e
|
||||
DIST partclone-0.3.46.tar.gz 1540403 BLAKE2B 1ef8326693932320f093f59920082323f6aaba5ae7bd17e1898cbd9373f43cff123684aad33e0ecbb475244e02abcea4e4065e3a8e7fe264b72df645df903286 SHA512 adb4371ae4d4bb653a90cc8afc06ee3aa6aaf2b33f3951315aefc4be5d35e6f469a45ead285ee88e6cd89b9842b3701d586f21d5d84f1b4202b03e7def5a7f7a
|
||||
DIST partclone-0.3.47.tar.gz 1656636 BLAKE2B 1d2c1d1f215bb98964fbded290894f60b5c3261b9190b7e90b4b70e3254eeb864a57035f7b3af0e3b5efed1b5cf304d851588f0610c8cb4fa95effb13bba8ff4 SHA512 acad16e894091c95f9318eba27984a7483278b6aef7d658d84719b5d2d3550df1d15f5655f62bb9e1d014440b0ffcebf8626f27d44afe97d55ff26cb2bcbe3a9
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
Rebase patch added in 9a54836f47d380effe7767c834fb872ce9954037
|
||||
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -516,8 +516,8 @@ AC_CHECK_HEADERS([byteswap.h], ,
|
||||
|
||||
## libtinfo ##
|
||||
AC_CHECK_FUNCS([memfd_create])
|
||||
-AC_CHECK_LIB([tinfo], [setupterm], tinfo=1,
|
||||
- AC_MSG_WARN([*** tinfo library (libtinfo) not found]))
|
||||
+AC_CHECK_LIB([tinfow], [setupterm], tinfo=1,
|
||||
+ AC_MSG_WARN([*** tinfow library (libtinfo) not found]))
|
||||
AM_CONDITIONAL(ENABLE_TINFO, test "$tinfo" = 1)
|
||||
|
||||
##memory tracing##
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -34,7 +34,7 @@ LDADD_static=-ldl
|
||||
endif
|
||||
|
||||
if ENABLE_TINFO
|
||||
-LIBS+=-ltinfo
|
||||
+LIBS+=-ltinfow
|
||||
endif
|
||||
|
||||
AM_CFLAGS=-D_FILE_OFFSET_BITS=64
|
||||
113
sys-block/partclone/partclone-0.3.47.ebuild
Normal file
113
sys-block/partclone/partclone-0.3.47.ebuild
Normal file
@@ -0,0 +1,113 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
if [[ -z ${PV%%*9999} ]]; then
|
||||
EGIT_REPO_URI="https://github.com/Thomas-Tsai/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
[[ -n ${PV%%*_p*} ]] && MY_PV="${PV}"
|
||||
SRC_URI="
|
||||
https://github.com/Thomas-Tsai/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
DESCRIPTION="Partition cloning tool"
|
||||
HOMEPAGE="https://partclone.org"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="apfs btrfs +e2fs exfat f2fs fat fuse hfs minix ncurses nilfs2 ntfs"
|
||||
IUSE+=" reiserfs static test ufs vmfs xfs"
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="static? ( !fuse )"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/zstd:=
|
||||
dev-libs/isa-l
|
||||
dev-libs/openssl:0=
|
||||
sys-apps/util-linux
|
||||
virtual/zlib:=
|
||||
e2fs? ( sys-fs/e2fsprogs )
|
||||
btrfs? ( sys-apps/util-linux )
|
||||
fuse? ( sys-fs/fuse:3 )
|
||||
ncurses? ( sys-libs/ncurses:0= )
|
||||
nilfs2? ( sys-fs/nilfs-utils )
|
||||
ntfs? ( sys-fs/ntfs3g )
|
||||
reiserfs? ( sys-fs/progsreiserfs )
|
||||
xfs? ( dev-libs/userspace-rcu )
|
||||
static? (
|
||||
app-arch/zstd:=[static-libs]
|
||||
dev-libs/openssl:0[static-libs]
|
||||
virtual/zlib:=[static-libs]
|
||||
e2fs? ( sys-fs/e2fsprogs[static-libs] )
|
||||
btrfs? ( sys-apps/util-linux[static-libs] )
|
||||
ncurses? ( sys-libs/ncurses:0[static-libs] )
|
||||
nilfs2? ( sys-fs/nilfs-utils[static-libs] )
|
||||
ntfs? ( sys-fs/ntfs3g[static-libs] )
|
||||
reiserfs? ( sys-fs/progsreiserfs[static-libs] )
|
||||
xfs? ( dev-libs/userspace-rcu[static-libs] )
|
||||
)
|
||||
!static? (
|
||||
dev-libs/xxhash
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.3.47-fix-ncurses-linking.patch
|
||||
)
|
||||
|
||||
DOCS=(
|
||||
AUTHORS
|
||||
ChangeLog
|
||||
HACKING
|
||||
NEWS
|
||||
README.md
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use_enable e2fs extfs)
|
||||
$(use_enable apfs)
|
||||
$(use_enable btrfs)
|
||||
$(use_enable exfat)
|
||||
$(use_enable f2fs)
|
||||
$(use_enable fat)
|
||||
$(use_enable fuse)
|
||||
$(use_enable hfs hfsp)
|
||||
$(use_enable minix)
|
||||
$(use_enable ncurses ncursesw)
|
||||
$(use_enable nilfs2)
|
||||
$(use_enable ntfs)
|
||||
$(use_enable reiserfs)
|
||||
$(use_enable test fs-test)
|
||||
$(use_enable static static-linking)
|
||||
$(use_enable vmfs)
|
||||
$(use_enable ufs)
|
||||
$(use_enable xfs)
|
||||
--disable-jfs
|
||||
--disable-reiser4
|
||||
|
||||
$(usev static --disable-xxhash)
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local -x TERM=dummy
|
||||
default
|
||||
}
|
||||
Reference in New Issue
Block a user