parent
29df0496be
commit
153e46fcf1
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29295 BLAKE2B f2bc1f00ef4f8ff24cbd2d44303df197462ad29f12e70e64f8a0beb25569b12d95cc223de45c92e831f69e41b43f2c7fa1666b648e0b0037449ccda2f641dba0 SHA512 32d59357b6fe297fb35f9081b0aa0466029b590a58420ab1ccf4d8852d4a2883f93dcf27fa291028f884ea947c41654310e75edadfeb64e2eda3236e104f670b
|
||||
TIMESTAMP 2020-11-25T20:08:40Z
|
||||
MANIFEST Manifest.files.gz 29269 BLAKE2B 8d040aa77013b3441634346fe487bba85ece06072bd7fde56867bf6c01dbc61a1c367b15f7496fede650c904d8d64f20a021050c6cedae2c12dd32c232189090 SHA512 5a07b57302085497b32bed2f75bdaaa2ca239bc6840f16af9600149bfeb821258a61a17f7e8be8250430e36de3b7abc84b902bb5f3e97e1642fac5ab01f2bd95
|
||||
TIMESTAMP 2020-11-26T12:08:35Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAl++uchfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAl+/msNfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klAsaQ/+LWNJT29Kelre3gAjXd3DMmxRiPDuCPpqVV3EbFzs/JC2kDbR7WFjCQ6a
|
||||
SQGGh27Hw7Yk21BzxBtGHXrfzHBsIE03wMeu9RlCQawUb9p3a5alV7A8vBmNn0ow
|
||||
aBccCbWillIYA/HiXGsgOcBWFBYWamOFTAdv1+a6pojEMOo0aeveX8zd6q16Do8A
|
||||
KLQMZXa4LfmeCQRV5eiKwtswfue+NAT5pc2gAm2QcqZBmoiaTYGo+Llb/Vtr7mQ4
|
||||
BEek9Muk1ayzJ+vOAztujO23vyUVp4reZaULa3HOcc2hQzY4oi05thcLj5//U9YM
|
||||
BGNUkyjMGtUNq+bu1vEs5DAxm40r4WYIrFiTMUXCuY0DNb8wsKUOB0wUHlgm0PPB
|
||||
UjBQlIugNXyyeFMosjGzD48Zw4yGCGwJH7DsIcGpCoSaBYoarnErpqGPq0x4HP1O
|
||||
gfzqUxqnJlo+KtWj4Vo7d/YAds2PnVStX2F5+VUv1j7Vu+dKvsnB2bpDTTsMghTF
|
||||
a/CK5H9ChDBs2vZjSKIwaKf+78SLpK7tx6+Mj2UazqvCdjbPrFSLM8RUrY6VO0vK
|
||||
Fu86vIUsHqAAwrjATpgXAdGipWnYp0OOH70SOLqg3Dc4YuzRTJ+9qua2Vxx95nqW
|
||||
yOfCJaHm1iCVWIX8ExVu14HsUubTSXNGi46tFKUI+fAWEBPgOwA=
|
||||
=ccov
|
||||
klCvGQ/9E3wW9DqGXgNkRhLgVyswwmrwZ6eEt6OafsNEqw4JwIIFTBrYr2QyTEYg
|
||||
ybPH/BOqQZQVOLLhfxnxborZdx4F92ynSRCnlT93WQWZPOkv5QzRlHldu6fZBxCH
|
||||
X28PnYXI2ObYginuTtiUugUReLTwASjyTq9tWiHI0pYhLZhXN4QHTNgxTjR5JUOM
|
||||
DdoLYt4QdxSj+W8sLMWFLnXTZaIj92wsSqixMlUThcXNL52y8b7qAllCsoYABwkp
|
||||
MVvXK5ZbIWUaVQfQubKiJ8UOEItj5tGi8V3iNY4iTivU6cpxpUsoZHxvDRK0RcE1
|
||||
w1/QVxqbBwB9+g//JoB0sMb33NUbeoKGySlRqnOensNvgIxeLR78ynNz3UdXIhvG
|
||||
wneicEDHVVT6J6nxgiNTCX37XC8M2JZg8vK4axOdv5F399s51oG3REmqnfBuLIyQ
|
||||
bUeKRv3m0DYzR/7ZaBFoz16eNTLw5/cozCsI/OAgYP1SS+j24MuckGmVBQrEKXjq
|
||||
1DP39LntEZ1jU2G4YLzxgA/PVIPVkWmaMNcgsvOnKtNtBTCuNzFT6ejjFmo0C84I
|
||||
+Gw1GxTD+63NCz4I+Om5iKsAzHjtOf4DMVvfzY3qOYWqON2eQ4tetEku1hiaBlbM
|
||||
bTV+aotZXyP6OrJUR5pib0AT44yV1gwLa+BZtV8JcakmHEp5pzM=
|
||||
=raQ9
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,10 +1,3 @@
|
||||
AUX veracrypt-1.24-no-gui-fix.patch 1004 BLAKE2B 5a6d5a8537e284e5f8f3b18a271ed18f0719dff20fbe180c64289cf6841cb987db5132760d16329b0fe2a0d80be41647d7e5438d27b2b4991fb09940a955ae3b SHA512 6955a7c267bb4949e4873d436eeafb1009404dcd7eb6ebc5b7795a45aaf78f840eed44bad533d38775eaa416879f334c392dc2f42b3749da17fd4422b451d54b
|
||||
AUX veracrypt-1.24_p2-revert-wxwidgets-breakage.patch 3475 BLAKE2B 2401f507277a1496210359b65fced9665584457b4c5b94a8f69b95452f7a59747c0b90fbaed1d6f3f7cf2932efb76e78902d639f65f9a2976c185067ca00f5a1 SHA512 9390d6702a3e38bc2b79c5f6aeb9289fe20abd9fa5a5d451a6fad531970ea3adf41a64fa5a37558fa5b7d77c34af7f3a4754de3f4653e3369beed4029c371120
|
||||
AUX veracrypt.init 387 BLAKE2B 7f16dee40bceed81ca092a3be6a2cd71f24f5cc8b4e4b143bd6ddde046e1ecce0cd674f52e7adb406893ef57c5b73462157832ff279114a2079c0ff84839e0dc SHA512 986b52c454abd9a64a6e8eb93247983c48d9524c396f253bc16f68894fed0abe87614343ce9c9127f8fb180f12912b21f57063f8f3b43bdca5344c130eb6c72d
|
||||
DIST veracrypt-1.24_p2.tar.gz 25208374 BLAKE2B 2667fb93e6884d97a673fe793b5f83f73961c2362e7704199b5ed0163c03f19313843583f7f2a15e05ee71516e45db97752350d2c27d22f1f278668b7c07aff9 SHA512 f778b8f6288f6f9886a15fa582f6c7126d9eaea319e854ad11bd5d44105ad5a3cb8b750d410ed8fd531ec3b23f9bad83934e6cefedd1352603d4882d2ca0ad84
|
||||
DIST veracrypt-1.24_p4.tar.gz 25212608 BLAKE2B 12d124cc5c869b8112e29624fcc5af3dd96d3c5e0179c643bf16cd361cc01677c09710faa192e7c9fe5f2ca78fbd826bc9df99f34e83ce4534f26dec01185761 SHA512 e077d6fe6a35234737387c4a6997399a251e238ab75524f53efe8ed742a35164fa4d5fcb0f15816dcb29d31fb8a4bb175d45b9aefb912c4747194fb320fa408d
|
||||
DIST veracrypt-1.24_p7.tar.gz 25113248 BLAKE2B 8ead3325ce6fadf4ca8211ea45daaa82a655f29006f224235f44200839289d42fabe84da2e731fc6a169a7d157535c719b2cd9294524e68532c0065e41ed733c SHA512 d149736d4d6740a89bfce892f44757600c6411776b471a208a75b4573bbc6125535ef1b68c2f55903ff82f4d0fff13b8b07d3cf15c7a301c39158aefffc29e17
|
||||
EBUILD veracrypt-1.24_p2.ebuild 3122 BLAKE2B 1fee5173e4c599692ccaa0737c3103405478cdba846055002a0c7c803e90c4886da8aa8c18d37a669b5964fda4e5ee022311239b8edb3caff000dde40cda51d8 SHA512 b908d997ceec7ecbbd1fdca1ccc92a205b40879d29730cd5148a57734d4038386a656ac6ed5afc29b8f369764a8e4032e2ca382eda4c59089fffe6282126d171
|
||||
EBUILD veracrypt-1.24_p4.ebuild 2538 BLAKE2B 5860c80d59157f5eb10a6017d837a7eaaf746aba035760b3d4a03bfa00f53fed9b62e83c706ff729a7c873c71cf80ef32eba7269b75c9a9ea5d4d3eb14e20094 SHA512 ecb74dbd33d71828558fab05e246cd7d2bda552f3b9998ecd97b5259a3cee54fb8fb3fcf1b75399fbd41c3d308e91d3f188795baffb7f5284561e9bd3a0856e4
|
||||
EBUILD veracrypt-1.24_p7.ebuild 2538 BLAKE2B 5860c80d59157f5eb10a6017d837a7eaaf746aba035760b3d4a03bfa00f53fed9b62e83c706ff729a7c873c71cf80ef32eba7269b75c9a9ea5d4d3eb14e20094 SHA512 ecb74dbd33d71828558fab05e246cd7d2bda552f3b9998ecd97b5259a3cee54fb8fb3fcf1b75399fbd41c3d308e91d3f188795baffb7f5284561e9bd3a0856e4
|
||||
MISC metadata.xml 399 BLAKE2B a7d22abada8009869e82b80f8b2274e1acc2fb1488d584c9d730f231057519404445a0d048ad70a47f7d946bc987f836fdfd87da296537a307e234175e521acc SHA512 ac0676510d8d2ac2430dd244ed5e4d18de1cbb7050563fcdd46fc8511c9813dc3609565a6c071f75d9cd26e73c1f453cc8cf9b9b47e0822bd93548a8baaf62ca
|
||||
|
@ -1,35 +0,0 @@
|
||||
From 482311ef1041918d791e498744f8e0ddeebc91fe Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?G=C3=B6kt=C3=BCrk=20Y=C3=BCksek?= <gokturk@gentoo.org>
|
||||
Date: Fri, 11 Oct 2019 18:16:41 -0400
|
||||
Subject: [PATCH v1] src/Main/Main.make: simplify the WX_CONFIG_LIBS logic
|
||||
|
||||
Irrespective of whether we are linking against widgets statically or
|
||||
dynamically, pull in only 'base' when GUI is disabled, and
|
||||
'adv,core,base' when GUI is enabled. When GUI is disabled, the C/CXX
|
||||
flag must include '-DwxUSE_GUI=0' for this to work.
|
||||
---
|
||||
src/Main/Main.make | 4 ----
|
||||
1 file changed, 4 deletions(-)
|
||||
|
||||
diff --git a/src/Main/Main.make b/src/Main/Main.make
|
||||
index 0bdd951d..259a1f08 100755
|
||||
--- a/src/Main/Main.make
|
||||
+++ b/src/Main/Main.make
|
||||
@@ -82,14 +82,10 @@ CXXFLAGS += -I$(BASE_DIR)/Main
|
||||
#------ wxWidgets configuration ------
|
||||
|
||||
ifdef TC_NO_GUI
|
||||
-ifdef VC_WX_STATIC
|
||||
WX_CONFIG_LIBS := base
|
||||
else
|
||||
WX_CONFIG_LIBS := adv,core,base
|
||||
endif
|
||||
-else
|
||||
-WX_CONFIG_LIBS := adv,core,base
|
||||
-endif
|
||||
|
||||
ifeq "$(TC_BUILD_CONFIG)" "Release"
|
||||
|
||||
--
|
||||
2.23.0
|
||||
|
@ -1,17 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
depend() {
|
||||
after localmount
|
||||
need device-mapper
|
||||
}
|
||||
|
||||
stop() {
|
||||
# Try to remove any dm-crypt mappings
|
||||
if [ -x /usr/bin/veracrypt ]; then
|
||||
ebegin "Removing veracrypt mappings"
|
||||
! /usr/bin/veracrypt -l > /dev/null 2>&1 || /usr/bin/veracrypt -d
|
||||
eend $?
|
||||
fi
|
||||
}
|
@ -1,120 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit desktop linux-info pax-utils toolchain-funcs wxwidgets
|
||||
|
||||
DESCRIPTION="Disk encryption with strong security based on TrueCrypt"
|
||||
HOMEPAGE="https://www.veracrypt.fr/en/Home.html"
|
||||
SRC_URI="https://github.com/${PN}/VeraCrypt/archive/VeraCrypt_1.24-Update2.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
# The modules not linked against in Linux include (but not limited to):
|
||||
# libzip, chacha-xmm, chacha256, chachaRng, rdrand, t1ha2
|
||||
# Tested by actually removing the source files and performing a build
|
||||
# For this reason, we don't have to worry about their licenses
|
||||
LICENSE="Apache-2.0 BSD truecrypt-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE="+asm cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_ssse3 doc X"
|
||||
RESTRICT="bindist mirror"
|
||||
|
||||
WX_GTK_VER="3.0-gtk3"
|
||||
|
||||
RDEPEND="
|
||||
sys-fs/lvm2
|
||||
sys-fs/fuse:0
|
||||
x11-libs/wxGTK:${WX_GTK_VER}[X?]
|
||||
app-admin/sudo
|
||||
dev-libs/pkcs11-helper
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
asm? ( dev-lang/yasm )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/VeraCrypt-VeraCrypt_1.24-Update2/src"
|
||||
|
||||
pkg_setup() {
|
||||
local CONFIG_CHECK="~BLK_DEV_DM ~CRYPTO ~CRYPTO_XTS ~DM_CRYPT ~FUSE_FS"
|
||||
linux-info_pkg_setup
|
||||
|
||||
setup-wxwidgets
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# 1.24_p2 breaks the compilation against wxGTK[-X]
|
||||
# See: https://github.com/veracrypt/VeraCrypt/issues/531
|
||||
eapply -p2 "${FILESDIR}"/${PN}-1.24_p2-revert-wxwidgets-breakage.patch
|
||||
eapply -p2 "${FILESDIR}"/${PN}-1.24-no-gui-fix.patch
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local TC_EXTRA_CFLAGS="${CFLAGS}"
|
||||
local TC_EXTRA_CXXFLAGS="${CXXFLAGS}"
|
||||
local myemakeargs=(
|
||||
NOSTRIP=1
|
||||
NOTEST=1
|
||||
VERBOSE=1
|
||||
CC="$(tc-getCC)"
|
||||
CXX="$(tc-getCXX)"
|
||||
AR="$(tc-getAR)"
|
||||
RANLIB="$(tc-getRANLIB)"
|
||||
TC_EXTRA_LFLAGS="${LDFLAGS}"
|
||||
WX_CONFIG="${WX_CONFIG}"
|
||||
$(usex X "" "NOGUI=1")
|
||||
$(usex asm "" "NOASM=1")
|
||||
$(usex cpu_flags_x86_sse2 "" "NOSSE2=1")
|
||||
$(usex cpu_flags_x86_sse4_1 "SSE41=1" "")
|
||||
$(usex cpu_flags_x86_ssse3 "SSSE3=1" "")
|
||||
)
|
||||
|
||||
# We need to explicitly disable the GUI support when linking against
|
||||
# wxwidgets, in case it was compiled with USE=X
|
||||
if ! use X; then
|
||||
TC_EXTRA_CFLAGS="${TC_EXTRA_CFLAGS} -DwxUSE_GUI=0"
|
||||
TC_EXTRA_CXXFLAGS="${TC_EXTRA_CXXFLAGS} -DwxUSE_GUI=0"
|
||||
fi
|
||||
|
||||
myemakeargs+=(
|
||||
TC_EXTRA_CFLAGS="${TC_EXTRA_CFLAGS}"
|
||||
TC_EXTRA_CXXFLAGS="${TC_EXTRA_CXXFLAGS}"
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${S}/Main/veracrypt" --text --test || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=( Readme.txt )
|
||||
local HTML_DOCS=( )
|
||||
|
||||
dobin Main/veracrypt
|
||||
if use doc; then
|
||||
DOCS+=( "${S}"/../doc/EFI-DCS )
|
||||
docompress -x "/usr/share/doc/${PF}/EFI-DCS"
|
||||
HTML_DOCS+=( "${S}"/../doc/html/. )
|
||||
fi
|
||||
einstalldocs
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.init" ${PN}
|
||||
|
||||
if use X; then
|
||||
local s
|
||||
for s in 16 48 128 256; do
|
||||
newicon -s ${s} Resources/Icons/VeraCrypt-${s}x${s}.xpm veracrypt.xpm
|
||||
done
|
||||
make_desktop_entry ${PN} "VeraCrypt" ${PN} "Utility;Security"
|
||||
fi
|
||||
|
||||
pax-mark -m "${D%/}/usr/bin/veracrypt"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "VeraCrypt has a very restrictive license. Please be explicitly aware"
|
||||
ewarn "of the limitations on redistribution of binaries or modified source."
|
||||
}
|
@ -1,101 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit desktop eapi7-ver linux-info pax-utils toolchain-funcs wxwidgets
|
||||
|
||||
MY_PV="$(ver_cut 1-2)-Update$(ver_cut 4)"
|
||||
DESCRIPTION="Disk encryption with strong security based on TrueCrypt"
|
||||
HOMEPAGE="https://www.veracrypt.fr/en/Home.html"
|
||||
SRC_URI="https://github.com/${PN}/VeraCrypt/archive/VeraCrypt_${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
# The modules not linked against in Linux include (but not limited to):
|
||||
# libzip, chacha-xmm, chacha256, chachaRng, rdrand, t1ha2
|
||||
# Tested by actually removing the source files and performing a build
|
||||
# For this reason, we don't have to worry about their licenses
|
||||
LICENSE="Apache-2.0 BSD truecrypt-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE="+asm cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_ssse3 doc X"
|
||||
RESTRICT="bindist mirror"
|
||||
|
||||
WX_GTK_VER="3.0-gtk3"
|
||||
|
||||
RDEPEND="
|
||||
sys-fs/lvm2
|
||||
sys-fs/fuse:0
|
||||
x11-libs/wxGTK:${WX_GTK_VER}[X?]
|
||||
app-admin/sudo
|
||||
dev-libs/pkcs11-helper
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
asm? ( dev-lang/yasm )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/VeraCrypt-VeraCrypt_${MY_PV}/src"
|
||||
|
||||
pkg_setup() {
|
||||
local CONFIG_CHECK="~BLK_DEV_DM ~CRYPTO ~CRYPTO_XTS ~DM_CRYPT ~FUSE_FS"
|
||||
linux-info_pkg_setup
|
||||
|
||||
setup-wxwidgets
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myemakeargs=(
|
||||
NOSTRIP=1
|
||||
NOTEST=1
|
||||
VERBOSE=1
|
||||
CC="$(tc-getCC)"
|
||||
CXX="$(tc-getCXX)"
|
||||
AR="$(tc-getAR)"
|
||||
RANLIB="$(tc-getRANLIB)"
|
||||
TC_EXTRA_CFLAGS="${CFLAGS}"
|
||||
TC_EXTRA_CXXFLAGS="${CXXFLAGS}"
|
||||
TC_EXTRA_LFLAGS="${LDFLAGS}"
|
||||
WX_CONFIG="${WX_CONFIG}"
|
||||
$(usex X "" "NOGUI=1")
|
||||
$(usex asm "" "NOASM=1")
|
||||
$(usex cpu_flags_x86_sse2 "" "NOSSE2=1")
|
||||
$(usex cpu_flags_x86_sse4_1 "SSE41=1" "")
|
||||
$(usex cpu_flags_x86_ssse3 "SSSE3=1" "")
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${S}/Main/veracrypt" --text --test || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=( Readme.txt )
|
||||
local HTML_DOCS=( )
|
||||
|
||||
dobin Main/veracrypt
|
||||
if use doc; then
|
||||
DOCS+=( "${S}"/../doc/EFI-DCS )
|
||||
docompress -x "/usr/share/doc/${PF}/EFI-DCS"
|
||||
HTML_DOCS+=( "${S}"/../doc/html/. )
|
||||
fi
|
||||
einstalldocs
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.init" ${PN}
|
||||
|
||||
if use X; then
|
||||
local s
|
||||
for s in 16 48 128 256; do
|
||||
newicon -s ${s} Resources/Icons/VeraCrypt-${s}x${s}.xpm veracrypt.xpm
|
||||
done
|
||||
make_desktop_entry ${PN} "VeraCrypt" ${PN} "Utility;Security"
|
||||
fi
|
||||
|
||||
pax-mark -m "${D%/}/usr/bin/veracrypt"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "VeraCrypt has a very restrictive license. Please be explicitly aware"
|
||||
ewarn "of the limitations on redistribution of binaries or modified source."
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST ansifilter-2.17.tar.bz2 436116 BLAKE2B 94a1788cffa66343643f48a18748d5359b090803cde723a02bc38f908c262631f1cd2eb150b6a743d66caa04983ea444ba150cf34ce07bdb456979e19631582f SHA512 ab9d590189482f2a27affd62b456c96b947b04d8c8b1214f1ea967971c8ed7df8a7c15d1079f957164d01916d144dcd5dc4b0ac05b452f9f4b8095273d3d3162
|
||||
EBUILD ansifilter-2.17.ebuild 1099 BLAKE2B daaf8270898a8c343a1efdee689d8f4449619ed22739a0a12fdc45dd369c4c6520de5dd0b3b5973916f1a80b1a59f9bd244661eb05780106229839a3fd6ab860 SHA512 99579a1b84facba0b5ab905fb1ab643d4c7657179eafeb379c75440d6c7e995954c8b7f11f6d5280171ee60cc8f4df77a2a81e6ba1771a843d6fa48e57bb0c3c
|
||||
EBUILD ansifilter-2.17.ebuild 1097 BLAKE2B 96ee05ad6f9c695d05f4fd840d27fdd8651920144f983455e778a45669aefea09adc2c1509370a015868ad49a928c808566119ce65bbcd519ab431b21d00a6ce SHA512 c2d4a8f3ef610fbde39c43754a112937f761eac072457f807468166e1ea52cc3f554ba8a197e38b74258a29256d89454256b78faf056888c551796796b711c4f
|
||||
MISC metadata.xml 221 BLAKE2B 6d597a7a853603bd878e86c6552cb68211e81f627cdb673ae99dc6c6133f50f617101e43f4b4631b45b5969ee6ec42849b156a62594f939d00c112ce51d769e1 SHA512 e50d6cad26239ebf4260f0cf4bdf4e29ef2038e999039adf94f49b184b5993f02bb0d4cdb3de6c7b5cda99890db42dcd2b65c5342256be50dc19e6aab2406353
|
||||
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST pgrouting-2.6.2.tar.gz 6065517 BLAKE2B e27e28cf988040de1e894a857e3d210bc7676271f69d898afc2d6116d5b88d87404723b2cb1283ef77b4449b4aa62a03e2dbcd489ac641a4721a596d29f8fecd SHA512 6e37f66e631d0cc87e135be7d095822aae21656bb56b3d18afa5bececaad8cee6324d37e8e152bbf69e3374ded1f10aa4b9a4c52b873e3a4c43e73cd877fddcb
|
||||
DIST pgrouting-3.1.1.tar.gz 6133979 BLAKE2B b7657eeb88773773e6166190cda73d9e657774ff81ce7e9f005333a8dcb9d56587d4a793410356092bb1623ec287549dbc60d814b1d5156ff28301503acee776 SHA512 73285d2d47be844203df136b8a8c13d1672ad8c2dac44a1ff7ce16e4676043692a8f2a60a305542132891da83560c49c5eaeb7712e3e3dd250cd8fd550260d4a
|
||||
EBUILD pgrouting-2.6.2-r1.ebuild 1224 BLAKE2B d1f10f219e584e2167fbb3351cc35424fb35f10def7e7ba115aa4bec54c259f43e771e47f52d7fddf19c838117d0d265252d4886599ec401020287f590223d35 SHA512 6087d2e8e20c815defe78c440d5ba58e30de353e8ee0722b7347bff79c32ae7abc1d46d48b95c32c0b28db55043f198609217053012134dbfe27b1e879c06eb4
|
||||
EBUILD pgrouting-3.1.1.ebuild 1092 BLAKE2B 9e255ade68e57e65f0fb38dc36985f2eaf77323a0e2f769d86031caece6bd08544397b2be8ace08003173b9626663158c54483a0cefc50173117a5991fd6ead3 SHA512 c17720ec34aa5c0c97c39c1e428a45415d78c3b099acb6bce34e8644b2f8f3499bb6219e68efcf2752bc6035354fad239f546589503269e7a098a69ff00eda90
|
||||
MISC metadata.xml 457 BLAKE2B d2432768e9244c7648720e1569195498ffa3bda4f862a5b5a2edbbd4383d3ca0ab83063c1004680ea6eb662d74f13c2ec4991baa25365ae9ae8f513b93c973b1 SHA512 bbfc5eec69256ba3addfe5c3158b11b4561b347682474ac2f5ac4cb3be8ca30df130957c751f09d761d3a3d8ad62cf3e59193414a31a9b46d793084285c9406d
|
||||
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
CMAKE_BUILD_TYPE="Release"
|
||||
#CMAKE_MAKEFILE_GENERATOR=emake
|
||||
|
||||
POSTGRES_COMPAT=( 9.{5..6} {10..13} )
|
||||
POSTGRES_USEDEP="server"
|
||||
|
||||
inherit cmake postgres-multi
|
||||
|
||||
DESCRIPTION="pgRouting extends PostGIS and PostgreSQL with geospatial routing functionality."
|
||||
HOMEPAGE="https://pgrouting.org/"
|
||||
LICENSE="GPL-2 MIT Boost-1.0"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/pgRouting/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${POSTGRES_DEP}
|
||||
>=dev-db/postgis-2.0
|
||||
dev-libs/boost
|
||||
sci-mathematics/cgal
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# Needs a running psql instance, doesn't work out of the box
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
postgres-multi_src_prepare
|
||||
}
|
||||
|
||||
my_src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DPOSTGRESQL_BIN="$($PG_CONFIG --bindir)"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
postgres-multi_foreach my_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
postgres-multi_foreach cmake_build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
postgres-multi_foreach cmake_src_install
|
||||
}
|
Binary file not shown.
@ -0,0 +1,5 @@
|
||||
AUX init.d_rpi-eeprom-update-1 394 BLAKE2B 4a42ba2bca9f1cc646f2b39f33f1752a34b62ee01234a595d7d11c32507b92d2cb6909d739f4deda9381222596278d5e7e4faab60933f43d01a4be0df2f0f3a7 SHA512 1a88b1e73b2a40f644e1b37cc89a1a32d8ef25d0e09ee8b7dc005f0a834ec20a66e029a0a6a7d7d4e8a3066593bb277800a464783c2bf2e5923a71d4416b5eea
|
||||
DIST rpi-eeprom_10.2-1.debian.tar.xz 7360 BLAKE2B e7959c4de4f3675632f0897b6f8abc811c80daa102ad3fcca672a0e0f9ce4b4da80fd616de7aa8896f0f5fe889a10a52d32eba34627858a173186292175f3bf9 SHA512 cf401c5f761fc8c5b463630d192c8af9da2ae2e55e178857d9c09198437f162f96af23836d20adda6054243c6b613b7cc5c90a70975b96bad574dc3b328caa22
|
||||
DIST rpi-eeprom_10.2.orig.tar.gz 7415652 BLAKE2B b1f56263c0037b2ba3bac2aecd9b5736736cf599bc68a743c065c853a20f56f18984816fdfb402bb499c3aa911dbe72376cec4647d87406cce2f4328b04cc2b1 SHA512 ea76a157ed57984fb0667e9171e3fbf7dba180e014faa9352b0c1904531dca9528b0e3204645a4af2b550670a52354b6b1be6af27e190d4523d8044f3349aa73
|
||||
EBUILD rpi-eeprom-10.2_p1.ebuild 2992 BLAKE2B bbfb9fc1bc996fe9b1f20fcbcdcfdae5c2e18845f50d163a2c5f127885d98a70724b94cd0f45e1e502799cca8a5a2a2d929d287486bee7bd6d134e80c47a232a SHA512 ecc9382bb1aa8988a039e3bdf119d71aa19c0f33333bd5a02acee0b9c5e8635dc00f55e7a49917f44d370b7602a35683c3a0eeb4decbf176bd9ede03c5c6d92d
|
||||
MISC metadata.xml 566 BLAKE2B cb5076ad252b4c305c8116d6a763c954ad939b2326519db5102bf67f50b8eb7f6713df5173190771fd30caf29762911c5a0da3f1b4cebd74f845b474df9073f8 SHA512 9a82fc89ffff553b2de5037e26151a4da5a54fc13203781d7e6e7048f6e3014a2530c55f6f5d1a73c30e8efdacb22c8d1a76185c1e9ca6dc384f98f86c7dcccc
|
@ -0,0 +1,18 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Set configuration in /etc/conf.d/rpi-eeprom-update
|
||||
|
||||
description="Raspberry Pi 4 bootloader and VL805 USB controller updater"
|
||||
command="/usr/sbin/rpi-eeprom-update"
|
||||
command_args="-a"
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
}
|
||||
|
||||
stop() {
|
||||
# Nothing to stop
|
||||
return 0;
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>sam@gentoo.org</email>
|
||||
<name>Sam James</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>crabbedhaloablution@icloud.com</email>
|
||||
<name>Peter Alfredsen</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github"> raspberrypi/rpi-eeprom</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,93 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8,9} )
|
||||
|
||||
inherit python-r1 systemd
|
||||
|
||||
DESCRIPTION="Updater for Raspberry Pi 4 bootloader and the VL805 USB controller"
|
||||
HOMEPAGE="https://github.com/raspberrypi/rpi-eeprom/"
|
||||
MY_P="${PN}-$(ver_cut 1-2)"
|
||||
MY_BASE_URL="https://archive.raspberrypi.org/debian/pool/main/r/${PN}/${PN}_$(ver_cut 1-2)"
|
||||
SRC_URI="${MY_BASE_URL}-$(ver_cut 4).debian.tar.xz
|
||||
${MY_BASE_URL}.orig.tar.gz"
|
||||
S="${WORKDIR}"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD rpi-eeprom"
|
||||
KEYWORDS="~arm ~arm64"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
BDEPEND="sys-apps/help2man"
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
sys-apps/flashrom
|
||||
|| (
|
||||
>=media-libs/raspberrypi-userland-0_pre20201022
|
||||
>=media-libs/raspberrypi-userland-bin-1.20201022
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i \
|
||||
-e 's:/etc/default/rpi-eeprom-update:/etc/conf.d/rpi-eeprom-update:' \
|
||||
"${MY_P}/rpi-eeprom-update" || die "Failed sed on rpi-eeprom-update"
|
||||
sed -i \
|
||||
-e 's:/usr/bin/rpi-eeprom-update:/usr/sbin/rpi-eeprom-update:' \
|
||||
"debian/rpi-eeprom.rpi-eeprom-update.service" || die "Failed sed on rpi-eeprom.rpi-eeprom-update.service"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd "${MY_P}" 1>/dev/null || die "Cannot change into directory ${MY_P}"
|
||||
|
||||
python_scriptinto /usr/sbin
|
||||
python_foreach_impl python_newscript rpi-eeprom-config rpi-eeprom-config
|
||||
|
||||
dosbin rpi-eeprom-update
|
||||
keepdir /var/lib/raspberrypi/bootloader/backup
|
||||
|
||||
for dir in critical stable beta; do
|
||||
insinto /lib/firmware/raspberrypi/bootloader
|
||||
doins -r firmware/${dir}
|
||||
done
|
||||
|
||||
dodoc firmware/release-notes.md
|
||||
|
||||
help2man -N \
|
||||
--version-string="${PV}" --help-option="-h" \
|
||||
--name="Bootloader EEPROM configuration tool for the Raspberry Pi 4B" \
|
||||
--output=rpi-eeprom-config.1 ./rpi-eeprom-config || die "Failed to create manpage for rpi-eeprom-config"
|
||||
|
||||
help2man -N \
|
||||
--version-string="${PV}" --help-option="-h" \
|
||||
--name="Checks whether the Raspberry Pi bootloader EEPROM is \
|
||||
up-to-date and updates the EEPROM" \
|
||||
--output=rpi-eeprom-update.1 ./rpi-eeprom-update || die "Failed to create manpage for rpi-eeprom-update"
|
||||
|
||||
doman rpi-eeprom-update.1 rpi-eeprom-config.1
|
||||
|
||||
newconfd rpi-eeprom-update-default rpi-eeprom-update
|
||||
|
||||
popd 1>/dev/null || die
|
||||
|
||||
pushd debian 1>/dev/null || die "Cannot change into directory debian"
|
||||
|
||||
systemd_newunit rpi-eeprom.rpi-eeprom-update.service rpi-eeprom-update.service
|
||||
newdoc changelog changelog.Debian
|
||||
|
||||
popd 1>/dev/null || die
|
||||
|
||||
newinitd "${FILESDIR}/init.d_rpi-eeprom-update-1" "rpi-eeprom-update"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog 'To have rpi-eeprom-update run at each startup, enable and start either'
|
||||
elog '/etc/init.d/rpi-eeprom-update (for openrc users)'
|
||||
elog 'or'
|
||||
elog 'rpi-eeprom-update.service (for systemd users)'
|
||||
elog '/etc/conf.d/rpi-eeprom-update contains the configuration.'
|
||||
elog 'FIRMWARE_RELEASE_STATUS="critical|stable|beta" determines'
|
||||
elog 'which release track you get. "critical" is recommended and the default.'
|
||||
}
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST conduit-1.3.2.tar.gz 87752 BLAKE2B e07ef9dc2d3ae189892ee32ff1a8ff877a93c023309b79ff5af62f971d2a6356c3ebe4bd27122ed4dc510dd5e8222afdccf13d772701f69274cab0c0c1a69bf6 SHA512 d6dcc33156923a1601e9c0c7ae61d1df9dc4ec71c39f4ec0935b13bff502eb66bcdda30901c3c864e44ade9fcc437d3ab2c1af167bac0d89f7f70567d0911f57
|
||||
EBUILD conduit-1.3.2.ebuild 1081 BLAKE2B 26ad35fe77f000b4d841de6c5fb517da6276aef60f02428e7b1d228686152b9cc37626f32f8e8a7765762f82ec1a57ae64407e3d9c364dc48bfb0f7df5c3b51e SHA512 4da9d9f8d1da96dfacbad703513cb7eae5845b61e26306cd9c318d68cede4f923e3391490968b2b5a4ee4a29e05667f59c00a17a7bfdb5884f6e415d01fbc91d
|
||||
DIST conduit-1.3.4.tar.gz 88861 BLAKE2B 79821013c6177ed2d555c6ad0c42a694f927c069b11c637c881d3cbcdf99c6ed8238bb8fd2d846fe1e89199dd7a35a4d75ddbb7e4c44ac2edb5314e9062229e7 SHA512 a70f41f45b9014fcd4155167114e0c42b98f33ffe5111ecfe12f3d7f579fcfe82b76e27c16670538f71883bb10af159a2e56eee322e0a1f1cf79bbf862db7611
|
||||
EBUILD conduit-1.3.4.ebuild 1081 BLAKE2B 374f1c8ad26d0fbcc6154ba69d675eb81ef0db9fefc12f18084b832d5c9fe54f702cf11d921bad760071d99de3b07e36c7d109870e5b2424c4d89827a6733c08 SHA512 2a9e83a3073da445b893feae3bb1b86a4ecb81ec16a060e2d4df490805c4320f0ac24cca8f05071b697ec73cf9f14944701c2df19e1d2f2a1e261d42abfddcaa
|
||||
MISC metadata.xml 674 BLAKE2B 0629cd5d362e45b0330da15c0bd7279a84cba9e6f753d9703cb6d6bf17df2dcb92553e55162d0e1f8bfeea81bd46d24619d1bbe54e7c53db88ee76c3fdebc483 SHA512 386602e42ffa583dc367ce3ca7293362709f1e264b028fb53ac34af7d89a255aab98989fb1924727594845e57a3e4fb0eea20faaf856fdd2cc4946cfde9baf4e
|
||||
|
Binary file not shown.
@ -1,159 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
WX_GTK_VER="3.0-gtk3"
|
||||
|
||||
inherit elisp-common java-pkg-opt-2 systemd wxwidgets
|
||||
|
||||
# NOTE: If you need symlinks for binaries please tell maintainers or
|
||||
# open up a bug to let it be created.
|
||||
|
||||
UPSTREAM_V="$(ver_cut 1-2)"
|
||||
|
||||
DESCRIPTION="Erlang programming language, runtime environment and libraries (OTP)"
|
||||
HOMEPAGE="https://www.erlang.org/"
|
||||
SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz
|
||||
http://erlang.org/download/otp_doc_man_${UPSTREAM_V}.tar.gz -> ${PN}_doc_man_${UPSTREAM_V}.tar.gz
|
||||
doc? ( http://erlang.org/download/otp_doc_html_${UPSTREAM_V}.tar.gz -> ${PN}_doc_html_${UPSTREAM_V}.tar.gz )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
# We use this subslot because Compiled HiPE Code can be loaded on the exact
|
||||
# same build of ERTS that was used when compiling the code. See
|
||||
# http://erlang.org/doc/system_principles/misc.html for more information.
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
|
||||
IUSE="doc emacs +hipe java +kpoll libressl odbc sctp ssl systemd tk wxwidgets"
|
||||
|
||||
RDEPEND="
|
||||
acct-group/epmd
|
||||
acct-user/epmd
|
||||
sys-libs/ncurses:0
|
||||
sys-libs/zlib
|
||||
emacs? ( >=app-editors/emacs-23.1:* )
|
||||
java? ( >=virtual/jdk-1.8:* )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
sctp? ( net-misc/lksctp-tools )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.7d:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
systemd? ( sys-apps/systemd )
|
||||
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
"
|
||||
|
||||
S="${WORKDIR}/otp-OTP-${PV}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/18.2.1-wx3.0.patch
|
||||
"${FILESDIR}"/${PN}-22.0-dont-ignore-LDFLAGS.patch
|
||||
"${FILESDIR}"/${PN}-23.1.2-ac2.70.patch
|
||||
)
|
||||
|
||||
SITEFILE=50"${PN}"-gentoo.el
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
./otp_build autoconf || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use wxwidgets && setup-wxwidgets
|
||||
|
||||
local myconf=(
|
||||
--disable-builtin-zlib
|
||||
$(use_enable hipe)
|
||||
$(use_enable kpoll kernel-poll)
|
||||
$(use_with java javac)
|
||||
$(use_enable sctp)
|
||||
$(use_with ssl ssl "${EPREFIX}"/usr)
|
||||
$(use_enable ssl dynamic-ssl-lib)
|
||||
$(use_enable systemd)
|
||||
$(usex wxwidgets "--with-wx-config=${WX_CONFIG}" "--with-wxdir=/dev/null")
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use emacs ; then
|
||||
pushd lib/tools/emacs &>/dev/null || die
|
||||
elisp-compile *.el
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
extract_version() {
|
||||
local path="$1"
|
||||
local var_name="$2"
|
||||
sed -n -e "/^${var_name} = \(.*\)$/s::\1:p" "${S}/${path}/vsn.mk" || die "extract_version() failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local erl_libdir_rel="$(get_libdir)/erlang"
|
||||
local erl_libdir="/usr/${erl_libdir_rel}"
|
||||
local erl_interface_ver="$(extract_version lib/erl_interface EI_VSN)"
|
||||
local erl_erts_ver="$(extract_version erts VSN)"
|
||||
local my_manpath="/usr/share/${PN}/man"
|
||||
|
||||
[[ -z "${erl_erts_ver}" ]] && die "Couldn't determine erts version"
|
||||
[[ -z "${erl_interface_ver}" ]] && die "Couldn't determine interface version"
|
||||
|
||||
emake INSTALL_PREFIX="${D}" install
|
||||
|
||||
if use doc ; then
|
||||
# Note: we explicitly install docs into:
|
||||
# /usr/share/doc/${PF}/{doc,lib,erts-*}
|
||||
# To maintain that layout we gather everything in 'html-docs'.
|
||||
# See bug #684376.
|
||||
mkdir html-docs || die
|
||||
mv "${WORKDIR}"/doc "${WORKDIR}"/lib "${WORKDIR}"/erts-* html-docs/ || die
|
||||
local DOCS=( "AUTHORS" "HOWTO"/* "README.md" "CONTRIBUTING.md" html-docs/. )
|
||||
docompress -x /usr/share/doc/${PF}
|
||||
else
|
||||
local DOCS=("README.md")
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
|
||||
dosym "../${erl_libdir_rel}/bin/erl" /usr/bin/erl
|
||||
dosym "../${erl_libdir_rel}/bin/erlc" /usr/bin/erlc
|
||||
dosym "../${erl_libdir_rel}/bin/escript" /usr/bin/escript
|
||||
dosym "../${erl_libdir_rel}/lib/erl_interface-${erl_interface_ver}/bin/erl_call" /usr/bin/erl_call
|
||||
dosym "../${erl_libdir_rel}/erts-${erl_erts_ver}/bin/beam.smp" /usr/bin/beam.smp
|
||||
|
||||
## Clean up the no longer needed files
|
||||
rm "${ED}/${erl_libdir}/Install" || die
|
||||
|
||||
insinto "${my_manpath}"
|
||||
doins -r "${WORKDIR}"/man/*
|
||||
# extend MANPATH, so the normal man command can find it
|
||||
# see bug 189639
|
||||
newenvd - "90erlang" <<-_EOF_
|
||||
MANPATH="${my_manpath}"
|
||||
_EOF_
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install erlang lib/tools/emacs/*.{el,elc}
|
||||
sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
|
||||
"${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die
|
||||
elisp-site-file-install "${T}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/epmd.init-r2 epmd
|
||||
newconfd "${FILESDIR}"/epmd.confd-r2 epmd
|
||||
use systemd && systemd_newunit "${FILESDIR}"/epmd.service-r1 epmd.service
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,159 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
WX_GTK_VER="3.0-gtk3"
|
||||
|
||||
inherit elisp-common java-pkg-opt-2 systemd wxwidgets
|
||||
|
||||
# NOTE: If you need symlinks for binaries please tell maintainers or
|
||||
# open up a bug to let it be created.
|
||||
|
||||
UPSTREAM_V="$(ver_cut 1-2)"
|
||||
|
||||
DESCRIPTION="Erlang programming language, runtime environment and libraries (OTP)"
|
||||
HOMEPAGE="https://www.erlang.org/"
|
||||
SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz
|
||||
http://erlang.org/download/otp_doc_man_${UPSTREAM_V}.tar.gz -> ${PN}_doc_man_${UPSTREAM_V}.tar.gz
|
||||
doc? ( http://erlang.org/download/otp_doc_html_${UPSTREAM_V}.tar.gz -> ${PN}_doc_html_${UPSTREAM_V}.tar.gz )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
# We use this subslot because Compiled HiPE Code can be loaded on the exact
|
||||
# same build of ERTS that was used when compiling the code. See
|
||||
# http://erlang.org/doc/system_principles/misc.html for more information.
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
|
||||
IUSE="doc emacs +hipe java +kpoll libressl odbc sctp ssl systemd tk wxwidgets"
|
||||
|
||||
RDEPEND="
|
||||
acct-group/epmd
|
||||
acct-user/epmd
|
||||
sys-libs/ncurses:0
|
||||
sys-libs/zlib
|
||||
emacs? ( >=app-editors/emacs-23.1:* )
|
||||
java? ( >=virtual/jdk-1.8:* )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
sctp? ( net-misc/lksctp-tools )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.7d:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
systemd? ( sys-apps/systemd )
|
||||
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
"
|
||||
|
||||
S="${WORKDIR}/otp-OTP-${PV}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/18.2.1-wx3.0.patch
|
||||
"${FILESDIR}"/${PN}-22.0-dont-ignore-LDFLAGS.patch
|
||||
"${FILESDIR}"/${PN}-23.1.2-ac2.70.patch
|
||||
)
|
||||
|
||||
SITEFILE=50"${PN}"-gentoo.el
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
./otp_build autoconf || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use wxwidgets && setup-wxwidgets
|
||||
|
||||
local myconf=(
|
||||
--disable-builtin-zlib
|
||||
$(use_enable hipe)
|
||||
$(use_enable kpoll kernel-poll)
|
||||
$(use_with java javac)
|
||||
$(use_enable sctp)
|
||||
$(use_with ssl ssl "${EPREFIX}"/usr)
|
||||
$(use_enable ssl dynamic-ssl-lib)
|
||||
$(use_enable systemd)
|
||||
$(usex wxwidgets "--with-wx-config=${WX_CONFIG}" "--with-wxdir=/dev/null")
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use emacs ; then
|
||||
pushd lib/tools/emacs &>/dev/null || die
|
||||
elisp-compile *.el
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
extract_version() {
|
||||
local path="$1"
|
||||
local var_name="$2"
|
||||
sed -n -e "/^${var_name} = \(.*\)$/s::\1:p" "${S}/${path}/vsn.mk" || die "extract_version() failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local erl_libdir_rel="$(get_libdir)/erlang"
|
||||
local erl_libdir="/usr/${erl_libdir_rel}"
|
||||
local erl_interface_ver="$(extract_version lib/erl_interface EI_VSN)"
|
||||
local erl_erts_ver="$(extract_version erts VSN)"
|
||||
local my_manpath="/usr/share/${PN}/man"
|
||||
|
||||
[[ -z "${erl_erts_ver}" ]] && die "Couldn't determine erts version"
|
||||
[[ -z "${erl_interface_ver}" ]] && die "Couldn't determine interface version"
|
||||
|
||||
emake INSTALL_PREFIX="${D}" install
|
||||
|
||||
if use doc ; then
|
||||
# Note: we explicitly install docs into:
|
||||
# /usr/share/doc/${PF}/{doc,lib,erts-*}
|
||||
# To maintain that layout we gather everything in 'html-docs'.
|
||||
# See bug #684376.
|
||||
mkdir html-docs || die
|
||||
mv "${WORKDIR}"/doc "${WORKDIR}"/lib "${WORKDIR}"/erts-* html-docs/ || die
|
||||
local DOCS=( "AUTHORS" "HOWTO"/* "README.md" "CONTRIBUTING.md" html-docs/. )
|
||||
docompress -x /usr/share/doc/${PF}
|
||||
else
|
||||
local DOCS=("README.md")
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
|
||||
dosym "../${erl_libdir_rel}/bin/erl" /usr/bin/erl
|
||||
dosym "../${erl_libdir_rel}/bin/erlc" /usr/bin/erlc
|
||||
dosym "../${erl_libdir_rel}/bin/escript" /usr/bin/escript
|
||||
dosym "../${erl_libdir_rel}/lib/erl_interface-${erl_interface_ver}/bin/erl_call" /usr/bin/erl_call
|
||||
dosym "../${erl_libdir_rel}/erts-${erl_erts_ver}/bin/beam.smp" /usr/bin/beam.smp
|
||||
|
||||
## Clean up the no longer needed files
|
||||
rm "${ED}/${erl_libdir}/Install" || die
|
||||
|
||||
insinto "${my_manpath}"
|
||||
doins -r "${WORKDIR}"/man/*
|
||||
# extend MANPATH, so the normal man command can find it
|
||||
# see bug 189639
|
||||
newenvd - "90erlang" <<-_EOF_
|
||||
MANPATH="${my_manpath}"
|
||||
_EOF_
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install erlang lib/tools/emacs/*.{el,elc}
|
||||
sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
|
||||
"${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die
|
||||
elisp-site-file-install "${T}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/epmd.init-r2 epmd
|
||||
newconfd "${FILESDIR}"/epmd.confd-r2 epmd
|
||||
use systemd && systemd_newunit "${FILESDIR}"/epmd.service-r1 epmd.service
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -0,0 +1,615 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
inherit bash-completion-r1 check-reqs estack flag-o-matic llvm multiprocessing multilib-build python-any-r1 rust-toolchain toolchain-funcs
|
||||
|
||||
if [[ ${PV} = *beta* ]]; then
|
||||
betaver=${PV//*beta}
|
||||
BETA_SNAPSHOT="${betaver:0:4}-${betaver:4:2}-${betaver:6:2}"
|
||||
MY_P="rustc-beta"
|
||||
SLOT="beta/${PV}"
|
||||
SRC="${BETA_SNAPSHOT}/rustc-beta-src.tar.xz -> rustc-${PV}-src.tar.xz"
|
||||
else
|
||||
ABI_VER="$(ver_cut 1-2)"
|
||||
SLOT="stable/${ABI_VER}"
|
||||
MY_P="rustc-${PV}"
|
||||
SRC="${MY_P}-src.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 x86"
|
||||
fi
|
||||
|
||||
RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).0"
|
||||
|
||||
DESCRIPTION="Systems programming language from Mozilla"
|
||||
HOMEPAGE="https://www.rust-lang.org/"
|
||||
|
||||
SRC_URI="
|
||||
https://static.rust-lang.org/dist/${SRC}
|
||||
!system-bootstrap? ( $(rust_all_arch_uris rust-${RUST_STAGE0_VERSION}) )
|
||||
"
|
||||
|
||||
# keep in sync with llvm ebuild of the same version as bundled one.
|
||||
ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430
|
||||
NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore )
|
||||
ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
|
||||
LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
|
||||
|
||||
IUSE="clippy cpu_flags_x86_sse2 debug doc libressl miri nightly parallel-compiler rls rustfmt +system-bootstrap system-llvm test wasm ${ALL_LLVM_TARGETS[*]}"
|
||||
|
||||
# Please keep the LLVM dependency block separate. Since LLVM is slotted,
|
||||
# we need to *really* make sure we're not pulling more than one slot
|
||||
# simultaneously.
|
||||
|
||||
# How to use it:
|
||||
# 1. List all the working slots (with min versions) in ||, newest first.
|
||||
# 2. Update the := to specify *max* version, e.g. < 12.
|
||||
# 3. Specify LLVM_MAX_SLOT, e.g. 11.
|
||||
LLVM_DEPEND="
|
||||
|| (
|
||||
sys-devel/llvm:11[${LLVM_TARGET_USEDEPS// /,}]
|
||||
)
|
||||
<sys-devel/llvm-12:=
|
||||
wasm? ( sys-devel/lld )
|
||||
"
|
||||
LLVM_MAX_SLOT=11
|
||||
|
||||
# to bootstrap we need at least exactly previous version, or same.
|
||||
# most of the time previous versions fail to bootstrap with newer
|
||||
# for example 1.47.x, requires at least 1.46.x, 1.47.x is ok,
|
||||
# but it fails to bootstrap with 1.48.x
|
||||
# https://github.com/rust-lang/rust/blob/${PV}/src/stage0.txt
|
||||
BOOTSTRAP_DEPEND="||
|
||||
(
|
||||
=dev-lang/rust-$(ver_cut 1).$(($(ver_cut 2) - 1))*
|
||||
=dev-lang/rust-bin-$(ver_cut 1).$(($(ver_cut 2) - 1))*
|
||||
=dev-lang/rust-$(ver_cut 1).$(ver_cut 2)*
|
||||
=dev-lang/rust-bin-$(ver_cut 1).$(ver_cut 2)*
|
||||
)
|
||||
"
|
||||
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
app-eselect/eselect-rust
|
||||
|| (
|
||||
>=sys-devel/gcc-4.7
|
||||
>=sys-devel/clang-3.5
|
||||
)
|
||||
system-bootstrap? ( ${BOOTSTRAP_DEPEND} )
|
||||
!system-llvm? (
|
||||
dev-util/cmake
|
||||
dev-util/ninja
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
>=app-arch/xz-utils-5.2
|
||||
net-misc/curl:=[http2,ssl]
|
||||
sys-libs/zlib:=
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
elibc_musl? ( sys-libs/libunwind:= )
|
||||
system-llvm? (
|
||||
${LLVM_DEPEND}
|
||||
)
|
||||
"
|
||||
|
||||
# we need to block older versions due to layout changes.
|
||||
RDEPEND="${DEPEND}
|
||||
app-eselect/eselect-rust
|
||||
!<dev-lang/rust-1.46.0
|
||||
!<dev-lang/rust-bin-1.46.0
|
||||
"
|
||||
|
||||
REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )
|
||||
miri? ( nightly )
|
||||
parallel-compiler? ( nightly )
|
||||
test? ( ${ALL_LLVM_TARGETS[*]} )
|
||||
wasm? ( llvm_targets_WebAssembly )
|
||||
x86? ( cpu_flags_x86_sse2 )
|
||||
"
|
||||
|
||||
# we don't use cmake.eclass, but can get a warnings
|
||||
CMAKE_WARN_UNUSED_CLI=no
|
||||
|
||||
QA_FLAGS_IGNORED="
|
||||
usr/lib/${PN}/${PV}/bin/.*
|
||||
usr/lib/${PN}/${PV}/lib/lib.*.so
|
||||
usr/lib/${PN}/${PV}/lib/rustlib/.*/bin/.*
|
||||
usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/lib.*.so
|
||||
"
|
||||
|
||||
QA_SONAME="
|
||||
usr/lib/${PN}/${PV}/lib/lib.*.so.*
|
||||
usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/lib.*.so
|
||||
"
|
||||
|
||||
# causes double bootstrap
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/1.47.0-libressl.patch
|
||||
"${FILESDIR}"/1.46.0-don-t-create-prefix-at-time-of-check.patch
|
||||
"${FILESDIR}"/1.47.0-ignore-broken-and-non-applicable-tests.patch
|
||||
"${FILESDIR}"/1.47.0-llvm-tensorflow-fix.patch
|
||||
"${FILESDIR}"/gentoo-musl-target-specs.patch
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${MY_P}-src"
|
||||
|
||||
toml_usex() {
|
||||
usex "${1}" true false
|
||||
}
|
||||
|
||||
boostrap_rust_version_check() {
|
||||
# never call from pkg_pretend. eselect-rust may be not installed yet.
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
local rustc_wanted="$(ver_cut 1).$(($(ver_cut 2) - 1))"
|
||||
local rustc_toonew="$(ver_cut 1).$(($(ver_cut 2) + 1))"
|
||||
local rustc_version=( $(eselect --brief rust show 2>/dev/null) )
|
||||
rustc_version=${rustc_version[0]#rust-bin-}
|
||||
rustc_version=${rustc_version#rust-}
|
||||
|
||||
[[ -z "${rustc_version}" ]] && die "Failed to determine rust version, check 'eselect rust' output"
|
||||
|
||||
if ver_test "${rustc_version}" -lt "${rustc_wanted}" ; then
|
||||
eerror "Rust >=${rustc_wanted} is required"
|
||||
eerror "please run 'eselect rust' and set correct rust version"
|
||||
die "selected rust version is too old"
|
||||
elif ver_test "${rustc_version}" -ge "${rustc_toonew}" ; then
|
||||
eerror "Rust <${rustc_toonew} is required"
|
||||
eerror "please run 'eselect rust' and set correct rust version"
|
||||
die "selected rust version is too new"
|
||||
else
|
||||
einfo "Using rust ${rustc_version} to build"
|
||||
fi
|
||||
}
|
||||
|
||||
pre_build_checks() {
|
||||
local M=6144
|
||||
M=$(( $(usex clippy 128 0) + ${M} ))
|
||||
M=$(( $(usex miri 128 0) + ${M} ))
|
||||
M=$(( $(usex rls 512 0) + ${M} ))
|
||||
M=$(( $(usex rustfmt 256 0) + ${M} ))
|
||||
M=$(( $(usex system-llvm 0 2048) + ${M} ))
|
||||
M=$(( $(usex wasm 256 0) + ${M} ))
|
||||
M=$(( $(usex debug 15 10) * ${M} / 10 ))
|
||||
eshopts_push -s extglob
|
||||
if is-flagq '-g?(gdb)?([1-9])'; then
|
||||
M=$(( 15 * ${M} / 10 ))
|
||||
fi
|
||||
eshopts_pop
|
||||
M=$(( $(usex system-bootstrap 0 1024) + ${M} ))
|
||||
M=$(( $(usex doc 256 0) + ${M} ))
|
||||
CHECKREQS_DISK_BUILD=${M}M check-reqs_pkg_${EBUILD_PHASE}
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
pre_build_checks
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
pre_build_checks
|
||||
python-any-r1_pkg_setup
|
||||
|
||||
export LIBGIT2_NO_PKG_CONFIG=1 #749381
|
||||
|
||||
use system-bootstrap && boostrap_rust_version_check
|
||||
|
||||
if use system-llvm; then
|
||||
llvm_pkg_setup
|
||||
|
||||
local llvm_config="$(get_llvm_prefix "$LLVM_MAX_SLOT")/bin/llvm-config"
|
||||
export LLVM_LINK_SHARED=1
|
||||
export RUSTFLAGS="${RUSTFLAGS} -Lnative=$("${llvm_config}" --libdir)"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if ! use system-bootstrap; then
|
||||
local rust_stage0_root="${WORKDIR}"/rust-stage0
|
||||
local rust_stage0="rust-${RUST_STAGE0_VERSION}-$(rust_abi)"
|
||||
|
||||
"${WORKDIR}/${rust_stage0}"/install.sh --disable-ldconfig \
|
||||
--destdir="${rust_stage0_root}" --prefix=/ || die
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local rust_target="" rust_targets="" arch_cflags
|
||||
|
||||
# Collect rust target names to compile standard libs for all ABIs.
|
||||
for v in $(multilib_get_enabled_abi_pairs); do
|
||||
rust_targets="${rust_targets},\"$(rust_abi $(get_abi_CHOST ${v##*.}))\""
|
||||
done
|
||||
if use wasm; then
|
||||
rust_targets="${rust_targets},\"wasm32-unknown-unknown\""
|
||||
if use system-llvm; then
|
||||
# un-hardcode rust-lld linker for this target
|
||||
# https://bugs.gentoo.org/715348
|
||||
sed -i '/linker:/ s/rust-lld/wasm-ld/' src/librustc_target/spec/wasm32_base.rs || die
|
||||
fi
|
||||
fi
|
||||
rust_targets="${rust_targets#,}"
|
||||
|
||||
local tools="\"cargo\","
|
||||
if use clippy; then
|
||||
tools="\"clippy\",$tools"
|
||||
fi
|
||||
if use miri; then
|
||||
tools="\"miri\",$tools"
|
||||
fi
|
||||
if use rls; then
|
||||
tools="\"rls\",\"analysis\",\"src\",$tools"
|
||||
fi
|
||||
if use rustfmt; then
|
||||
tools="\"rustfmt\",$tools"
|
||||
fi
|
||||
|
||||
local rust_stage0_root
|
||||
if use system-bootstrap; then
|
||||
rust_stage0_root="$(rustc --print sysroot)"
|
||||
else
|
||||
rust_stage0_root="${WORKDIR}"/rust-stage0
|
||||
fi
|
||||
|
||||
rust_target="$(rust_abi)"
|
||||
|
||||
cat <<- _EOF_ > "${S}"/config.toml
|
||||
[llvm]
|
||||
optimize = $(toml_usex !debug)
|
||||
release-debuginfo = $(toml_usex debug)
|
||||
assertions = $(toml_usex debug)
|
||||
ninja = true
|
||||
targets = "${LLVM_TARGETS// /;}"
|
||||
experimental-targets = ""
|
||||
link-shared = $(toml_usex system-llvm)
|
||||
[build]
|
||||
build = "${rust_target}"
|
||||
host = ["${rust_target}"]
|
||||
target = [${rust_targets}]
|
||||
cargo = "${rust_stage0_root}/bin/cargo"
|
||||
rustc = "${rust_stage0_root}/bin/rustc"
|
||||
docs = $(toml_usex doc)
|
||||
compiler-docs = $(toml_usex doc)
|
||||
submodules = false
|
||||
python = "${EPYTHON}"
|
||||
locked-deps = true
|
||||
vendor = true
|
||||
extended = true
|
||||
tools = [${tools}]
|
||||
verbose = 2
|
||||
sanitizers = false
|
||||
profiler = false
|
||||
cargo-native-static = false
|
||||
[install]
|
||||
prefix = "${EPREFIX}/usr/lib/${PN}/${PV}"
|
||||
sysconfdir = "etc"
|
||||
docdir = "share/doc/rust"
|
||||
bindir = "bin"
|
||||
libdir = "lib"
|
||||
mandir = "share/man"
|
||||
[rust]
|
||||
# https://github.com/rust-lang/rust/issues/54872
|
||||
codegen-units-std = 1
|
||||
optimize = true
|
||||
debug = $(toml_usex debug)
|
||||
debug-assertions = $(toml_usex debug)
|
||||
debuginfo-level-rustc = 0
|
||||
backtrace = true
|
||||
incremental = false
|
||||
default-linker = "$(tc-getCC)"
|
||||
parallel-compiler = $(toml_usex parallel-compiler)
|
||||
channel = "$(usex nightly nightly stable)"
|
||||
rpath = false
|
||||
verbose-tests = true
|
||||
optimize-tests = $(toml_usex !debug)
|
||||
codegen-tests = true
|
||||
dist-src = false
|
||||
remap-debuginfo = true
|
||||
lld = $(usex system-llvm false $(toml_usex wasm))
|
||||
backtrace-on-ice = true
|
||||
jemalloc = false
|
||||
[dist]
|
||||
src-tarball = false
|
||||
_EOF_
|
||||
|
||||
for v in $(multilib_get_enabled_abi_pairs); do
|
||||
rust_target=$(rust_abi $(get_abi_CHOST ${v##*.}))
|
||||
arch_cflags="$(get_abi_CFLAGS ${v##*.})"
|
||||
|
||||
cat <<- _EOF_ >> "${S}"/config.env
|
||||
CFLAGS_${rust_target}=${arch_cflags}
|
||||
_EOF_
|
||||
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
[target.${rust_target}]
|
||||
cc = "$(tc-getBUILD_CC)"
|
||||
cxx = "$(tc-getBUILD_CXX)"
|
||||
linker = "$(tc-getCC)"
|
||||
ar = "$(tc-getAR)"
|
||||
_EOF_
|
||||
# librustc_target/spec/linux_musl_base.rs sets base.crt_static_default = true;
|
||||
if use elibc_musl; then
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
crt-static = false
|
||||
_EOF_
|
||||
fi
|
||||
if use system-llvm; then
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
llvm-config = "$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
|
||||
_EOF_
|
||||
fi
|
||||
done
|
||||
if use wasm; then
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
[target.wasm32-unknown-unknown]
|
||||
linker = "$(usex system-llvm lld rust-lld)"
|
||||
_EOF_
|
||||
fi
|
||||
|
||||
if [[ -n ${I_KNOW_WHAT_I_AM_DOING_CROSS} ]]; then # whitespace intentionally shifted below
|
||||
# experimental cross support
|
||||
# discussion: https://bugs.gentoo.org/679878
|
||||
# TODO: c*flags, clang, system-llvm, cargo.eclass target support
|
||||
# it would be much better if we could split out stdlib
|
||||
# complilation to separate ebuild and abuse CATEGORY to
|
||||
# just install to /usr/lib/rustlib/<target>
|
||||
|
||||
# extra targets defined as a bash array
|
||||
# spec format: <LLVM target>:<rust-target>:<CTARGET>
|
||||
# best place would be /etc/portage/env/dev-lang/rust
|
||||
# Example:
|
||||
# RUST_CROSS_TARGETS=(
|
||||
# "AArch64:aarch64-unknown-linux-gnu:aarch64-unknown-linux-gnu"
|
||||
# )
|
||||
# no extra hand holding is done, no target transformations, all
|
||||
# values are passed as-is with just basic checks, so it's up to user to supply correct values
|
||||
# valid rust targets can be obtained with
|
||||
# rustc --print target-list
|
||||
# matching cross toolchain has to be installed
|
||||
# matching LLVM_TARGET has to be enabled for both rust and llvm (if using system one)
|
||||
# only gcc toolchains installed with crossdev are checked for now.
|
||||
|
||||
# BUG: we can't pass host flags to cross compiler, so just filter for now
|
||||
# BUG: this should be more fine-grained.
|
||||
filter-flags '-mcpu=*' '-march=*' '-mtune=*'
|
||||
|
||||
local cross_target_spec
|
||||
for cross_target_spec in "${RUST_CROSS_TARGETS[@]}";do
|
||||
# extracts first element form <LLVM target>:<rust-target>:<CTARGET>
|
||||
local cross_llvm_target="${cross_target_spec%%:*}"
|
||||
# extracts toolchain triples, <rust-target>:<CTARGET>
|
||||
local cross_triples="${cross_target_spec#*:}"
|
||||
# extracts first element after before : separator
|
||||
local cross_rust_target="${cross_triples%%:*}"
|
||||
# extracts last element after : separator
|
||||
local cross_toolchain="${cross_triples##*:}"
|
||||
use llvm_targets_${cross_llvm_target} || die "need llvm_targets_${cross_llvm_target} target enabled"
|
||||
command -v ${cross_toolchain}-gcc > /dev/null 2>&1 || die "need ${cross_toolchain} cross toolchain"
|
||||
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
[target.${cross_rust_target}]
|
||||
cc = "${cross_toolchain}-gcc"
|
||||
cxx = "${cross_toolchain}-g++"
|
||||
linker = "${cross_toolchain}-gcc"
|
||||
ar = "${cross_toolchain}-ar"
|
||||
_EOF_
|
||||
if use system-llvm; then
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
llvm-config = "$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
|
||||
_EOF_
|
||||
fi
|
||||
|
||||
# append cross target to "normal" target list
|
||||
# example 'target = ["powerpc64le-unknown-linux-gnu"]'
|
||||
# becomes 'target = ["powerpc64le-unknown-linux-gnu","aarch64-unknown-linux-gnu"]'
|
||||
|
||||
rust_targets="${rust_targets},\"${cross_rust_target}\""
|
||||
sed -i "/^target = \[/ s#\[.*\]#\[${rust_targets}\]#" config.toml || die
|
||||
|
||||
ewarn
|
||||
ewarn "Enabled ${cross_rust_target} rust target"
|
||||
ewarn "Using ${cross_toolchain} cross toolchain"
|
||||
ewarn
|
||||
if ! has_version -b 'sys-devel/binutils[multitarget]' ; then
|
||||
ewarn "'sys-devel/binutils[multitarget]' is not installed"
|
||||
ewarn "'strip' will be unable to strip cross libraries"
|
||||
ewarn "cross targets will be installed with full debug information"
|
||||
ewarn "enable 'multitarget' USE flag for binutils to be able to strip object files"
|
||||
ewarn
|
||||
ewarn "Alternatively llvm-strip can be used, it supports stripping any target"
|
||||
ewarn "define STRIP=\"llvm-strip\" to use it (experimental)"
|
||||
ewarn
|
||||
fi
|
||||
done
|
||||
fi # I_KNOW_WHAT_I_AM_DOING_CROSS
|
||||
|
||||
einfo "Rust configured with the following settings:"
|
||||
cat "${S}"/config.toml || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# we need \n IFS to have config.env with spaces loaded properly. #734018
|
||||
(
|
||||
IFS=$'\n'
|
||||
env $(cat "${S}"/config.env) RUST_BACKTRACE=1\
|
||||
"${EPYTHON}" ./x.py dist -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die
|
||||
)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# https://rustc-dev-guide.rust-lang.org/tests/intro.html
|
||||
|
||||
# those are basic and codegen tests.
|
||||
local tests=(
|
||||
codegen
|
||||
codegen-units
|
||||
compile-fail
|
||||
incremental
|
||||
mir-opt
|
||||
pretty
|
||||
run-make
|
||||
)
|
||||
|
||||
# fails if llvm is not built with ALL targets.
|
||||
# and known to fail with system llvm sometimes.
|
||||
use system-llvm || tests+=( assembly )
|
||||
|
||||
# fragile/expensive/less important tests
|
||||
# or tests that require extra builds
|
||||
# TODO: instead of skipping, just make some nonfatal.
|
||||
if [[ ${ERUST_RUN_EXTRA_TESTS:-no} != no ]]; then
|
||||
tests+=(
|
||||
rustdoc
|
||||
rustdoc-js
|
||||
rustdoc-js-std
|
||||
rustdoc-ui
|
||||
run-make-fulldeps
|
||||
ui
|
||||
ui-fulldeps
|
||||
)
|
||||
fi
|
||||
|
||||
local i failed=()
|
||||
einfo "rust_src_test: enabled tests ${tests[@]/#/src/test/}"
|
||||
for i in "${tests[@]}"; do
|
||||
local t="src/test/${i}"
|
||||
einfo "rust_src_test: running ${t}"
|
||||
if ! (
|
||||
IFS=$'\n'
|
||||
env $(cat "${S}"/config.env) RUST_BACKTRACE=1 \
|
||||
"${EPYTHON}" ./x.py test -vv --config="${S}"/config.toml \
|
||||
-j$(makeopts_jobs) --no-doc --no-fail-fast "${t}"
|
||||
)
|
||||
then
|
||||
failed+=( "${t}" )
|
||||
eerror "rust_src_test: ${t} failed"
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ ${#failed[@]} -ne 0 ]]; then
|
||||
eerror "rust_src_test: failure summary: ${failed[@]}"
|
||||
die "aborting due to test failures"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# https://github.com/rust-lang/rust/issues/77721
|
||||
# also 1.46.0-don-t-create-prefix-at-time-of-check.patch
|
||||
dodir "/usr/lib/${PN}/${PV}"
|
||||
(
|
||||
IFS=$'\n'
|
||||
env $(cat "${S}"/config.env) DESTDIR="${D}" \
|
||||
"${EPYTHON}" ./x.py install -vv --config="${S}"/config.toml || die
|
||||
)
|
||||
|
||||
# bug #689562, #689160
|
||||
rm -v "${D}/usr/lib/${PN}/${PV}/etc/bash_completion.d/cargo" || die
|
||||
rmdir -v "${D}/usr/lib/${PN}/${PV}"/etc{/bash_completion.d,} || die
|
||||
dobashcomp build/tmp/dist/cargo-image/etc/bash_completion.d/cargo
|
||||
|
||||
local symlinks=(
|
||||
cargo
|
||||
rustc
|
||||
rustdoc
|
||||
rust-gdb
|
||||
rust-gdbgui
|
||||
rust-lldb
|
||||
)
|
||||
|
||||
use clippy && symlinks+=( clippy-driver cargo-clippy )
|
||||
use miri && symlinks+=( miri cargo-miri )
|
||||
use rls && symlinks+=( rls )
|
||||
use rustfmt && symlinks+=( rustfmt cargo-fmt )
|
||||
|
||||
einfo "installing eselect-rust symlinks and paths: ${symlinks[@]}"
|
||||
local i
|
||||
for i in "${symlinks[@]}"; do
|
||||
# we need realpath on /usr/bin/* symlink return version-appended binary path.
|
||||
# so /usr/bin/rustc should point to /usr/lib/rust/<ver>/bin/rustc-<ver>
|
||||
# need to fix eselect-rust to remove this hack.
|
||||
local ver_i="${i}-${PV}"
|
||||
if [[ -f "${ED}/usr/lib/${PN}/${PV}/bin/${i}" ]]; then
|
||||
einfo "Installing ${i} symlink"
|
||||
ln -v "${ED}/usr/lib/${PN}/${PV}/bin/${i}" "${ED}/usr/lib/${PN}/${PV}/bin/${ver_i}" || die
|
||||
else
|
||||
ewarn "${i} symlink requested, but source file not found"
|
||||
ewarn "please report this"
|
||||
fi
|
||||
dosym "../lib/${PN}/${PV}/bin/${ver_i}" "/usr/bin/${ver_i}"
|
||||
done
|
||||
|
||||
# symlinks to switch components to active rust in eselect
|
||||
dosym "${PV}/lib" "/usr/lib/${PN}/lib-${PV}"
|
||||
dosym "${PV}/share/man" "/usr/lib/${PN}/man-${PV}"
|
||||
dosym "rust/${PV}/lib/rustlib" "/usr/lib/rustlib-${PV}"
|
||||
dosym "../../lib/${PN}/${PV}/share/doc/rust" "/usr/share/doc/${P}"
|
||||
|
||||
newenvd - "50${P}" <<-_EOF_
|
||||
LDPATH="${EPREFIX}/usr/lib/rust/lib"
|
||||
MANPATH="${EPREFIX}/usr/lib/rust/man"
|
||||
$(usex elibc_musl 'CARGO_TARGET_X86_64_UNKNOWN_LINUX_MUSL_RUSTFLAGS="-C target-feature=-crt-static"' '')
|
||||
_EOF_
|
||||
|
||||
rm -rf "${ED}/usr/lib/${PN}/${PV}"/*.old || die
|
||||
rm -rf "${ED}/usr/lib/${PN}/${PV}/doc"/*.old || die
|
||||
|
||||
# note: eselect-rust adds EROOT to all paths below
|
||||
cat <<-_EOF_ > "${T}/provider-${P}"
|
||||
/usr/bin/cargo
|
||||
/usr/bin/rustdoc
|
||||
/usr/bin/rust-gdb
|
||||
/usr/bin/rust-gdbgui
|
||||
/usr/bin/rust-lldb
|
||||
/usr/lib/rustlib
|
||||
/usr/lib/rust/lib
|
||||
/usr/lib/rust/man
|
||||
/usr/share/doc/rust
|
||||
_EOF_
|
||||
|
||||
if use clippy; then
|
||||
echo /usr/bin/clippy-driver >> "${T}/provider-${P}"
|
||||
echo /usr/bin/cargo-clippy >> "${T}/provider-${P}"
|
||||
fi
|
||||
if use miri; then
|
||||
echo /usr/bin/miri >> "${T}/provider-${P}"
|
||||
echo /usr/bin/cargo-miri >> "${T}/provider-${P}"
|
||||
fi
|
||||
if use rls; then
|
||||
echo /usr/bin/rls >> "${T}/provider-${P}"
|
||||
fi
|
||||
if use rustfmt; then
|
||||
echo /usr/bin/rustfmt >> "${T}/provider-${P}"
|
||||
echo /usr/bin/cargo-fmt >> "${T}/provider-${P}"
|
||||
fi
|
||||
|
||||
insinto /etc/env.d/rust
|
||||
doins "${T}/provider-${P}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect rust update
|
||||
|
||||
if has_version sys-devel/gdb || has_version dev-util/lldb; then
|
||||
elog "Rust installs a helper script for calling GDB and LLDB,"
|
||||
elog "for your convenience it is installed under /usr/bin/rust-{gdb,lldb}-${PV}."
|
||||
fi
|
||||
|
||||
if has_version app-editors/emacs; then
|
||||
elog "install app-emacs/rust-mode to get emacs support for rust."
|
||||
fi
|
||||
|
||||
if has_version app-editors/gvim || has_version app-editors/vim; then
|
||||
elog "install app-vim/rust-vim to get vim support for rust."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rust cleanup
|
||||
}
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
DIST efl-1.25.1.tar.xz 72306872 BLAKE2B 060d729380ba62677307c5346da1786e879c14c4e40f0a3288c8cb81ece08f4ac501d989495b1c3dcbfeb19a86d23130892ae874861de5684c867aef60cb07d6 SHA512 cd281c2299aa6f74f0204e59a13dc254135e6dc40641e0a437c6f5025efe517d415f0915f69e123123319a9bbddb748aec1948ed0b5eb386e028cf45b244bed8
|
||||
EBUILD efl-1.25.1-r10.ebuild 7774 BLAKE2B 3787eb8fafd4e6277612a18850e5ecb296ff1373877249977e8c26b1f609b484ed8ffa8f18f2fdf48845b4bdb3db1c3f57c99ab9ed80d0339583ddceb3d2430c SHA512 b057178a6b6fa9e527bfbc1ac572930dd101f3bb64b16b159ecf51a3049e3dfae5c338ecdcd8438bf7e1e3be7851537ec3d1e2950b2728266e9610949883b28d
|
||||
EBUILD efl-1.25.1-r2.ebuild 7742 BLAKE2B 528c2395dea3802f79acb8cfcdadaa7bc96e964bb26a147c042213576e22469424a632a72bf7f95080cc79de20989b58d99f1e165e0fd71d0ed8d6a26dc4ab06 SHA512 a4cf73b4392d24abb785087b47423b4eaf225dce324ecd74b9fcf30415288d52d8b9c299d6ea1b198e0f9aa944fc7eae5ce0eb5a07561d6881bbc76f17777e11
|
||||
EBUILD efl-1.25.1-r2.ebuild 7749 BLAKE2B 897961b06badff816a08a64d93f2ab9acfd548ca1bf812324f569cf64b55607cbff55702c57bd8b35dc5ca2086bcf5c64b3fc2ce01339510d8cc69ff727986a9 SHA512 9b6c8106e6027c46b3efc78a43c54bb49a9d785b6b87fe420aeaac8a467b0eabb9e6389d52bf93ab650ce8ead0f7e79a305a298d15383af49f609b63a2458a3e
|
||||
MISC metadata.xml 1985 BLAKE2B 5ad17cbfc665a26357c6b8d473d211663224eca97ed9a22c8575122e331b9661118890db1cf4f41e9e0e9b16f157d48da0920026fc83fdf965e4d1bd7c3d1ede SHA512 dbc127099457c88bcc419bd0c415f801765aeb85f010d7de43ea03e9400a7888c33c80f53048bf4edfd34ff95a43ac506026775a7bf11b041adc89acef0ec15d
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST mpc-1.2.0.tar.gz 840711 BLAKE2B 3609d299623a722ca90d4b04ff64becaaa399a5fa40fbc43a1d027692d8fbe6f4ebd24a3c8ea963963977952d130cd3993887da7b0b0c1613a27a24dd37e5831 SHA512 84fa3338f51d369111456a63ad040256a1beb70699e21e2a932c779aa1c3bd08b201412c1659ecbb58403ea0548faacc35996d94f88f0639549269b7563c61b7
|
||||
DIST mpc-1.2.1.tar.gz 838731 BLAKE2B 9cd03c6a71839e4cdb3c1f18d718cc4d3097c3f8ec307a5c756bd5df27c68aa013755156b3b156efee1acabfee2269602c6a3a358092ef0d522271c9c56c133d SHA512 3279f813ab37f47fdcc800e4ac5f306417d07f539593ca715876e43e04896e1d5bceccfb288ef2908a3f24b760747d0dbd0392a24b9b341bc3e12082e5c836ee
|
||||
EBUILD mpc-1.2.0.ebuild 925 BLAKE2B e004095824d4c34af521daf27d5d991cf61471e7954f035136455b1210d9ab2cbdbf62512b4508285b3f95f2017007ceb4d773e00ce551c6f38c939d0ec9d420 SHA512 741a78c01d227fee1872eefe0438f37bd7d71c4893b69aaad4bc4726018cd358338a09350f9a6e4ad0d863bc282315fce2094dcd8ad126a3a85356f39253f7f3
|
||||
EBUILD mpc-1.2.1.ebuild 934 BLAKE2B e4765161a8e158fa072d76805adc7ad49d142265ebfde65b2c8616c7ddf2fa90d34dea798f549bd4266b7f91067f0f60760d2536f9d647179a8587170d4b8ef9 SHA512 45cb962e1ec46d559fa368688da6100b299ef6afec4684c6e5a4e4aebcfee8d9e53a00e83a51cfeb7560b09f57c164d08bc2ae832d8e9238a8a1d882151eb7b0
|
||||
EBUILD mpc-1.2.1.ebuild 932 BLAKE2B e36da28d4e66a9bb4584204d6a6d1035273607a0a53a56cbc09cd0ea0280c77b2a82b6707940cac162ea9e561e824e85696ffbb13b5253a345ffda75c1f354b6 SHA512 493572f82081e48aa3700fd95efb0857df26da1cf6429ea3a6ece43fa8d2c5458b553c5f2aae6d332236f1cf7ea63d9a861a3882de845c36e39ca89c5740a5ec
|
||||
MISC metadata.xml 261 BLAKE2B 0f1375874fe7e8b88a61f27f69fb353b86a45aa39838c0f7a3137b5d5a5e6c9cdfca1cd43913e15545c14466603066eed331d012b1073a72a5634aebff15b9ce SHA512 31c9514d1798d2ab9ad46006c8e85222798c200a7466568170da1587d99144d2fabb8e5056b723710d19cdb1d5482d93eff479a8caa77f00e93aa46861ceb05c
|
||||
|
@ -1,5 +1,7 @@
|
||||
AUX volume_key-0.3.12-support_higher_LUKS_versions.patch 917 BLAKE2B a637ba7d7761032bbbae34378a1cd8da57cd96c762ebeb50fce0ca28b7b154df11bda89af203d18833e7841fbd9181c01ee5fcb11d80d765fd147e82440becca SHA512 e784115d85f782db46dbd67c40c3a6b0864b69ce8d13b6a67d70471d39079e9fc0d9d263bd543556d645d7dc922ef22f641491051dd736128cdaecd63df2ff22
|
||||
DIST volume_key-0.3.11.tar.xz 484936 BLAKE2B f7bde79d290617a82de60a2105b6374dd03c2203804e3748336c8d09fbf749bf47157cf5e6b856477475d0074f3e4475dc85e0765308d60b9c6d0525685f73ea SHA512 b9da00578b31c96231ebde55fd91c9aafbd663e541c560460fb6c3305e1a0e1fb3115a95682dc4713027d084e14ffa39d638653384a18d69f5dc892fc4855a97
|
||||
DIST volume_key-0.3.12.tar.xz 490432 BLAKE2B 4a0424d51878855c69bdf969b616f3a563074976ad7b07aa848140266d97f66de9c52e1a6ed8913df93077d5966c3ab99afc78c3b22c410f1eadf5447ca2f416 SHA512 d056154c9b9d23e4eb661946dd59ed97e116903a3afcff9d9e29258408082f33dcbb69958724143f6bf191a3da488a03b6c02af287790990ed6459e29d66553c
|
||||
EBUILD volume_key-0.3.11.ebuild 883 BLAKE2B 08ea62d2a68987cca931a9c561787d3594764b6b9ac452f45d71c5b7a102eba24807ed878a6ae8aa79a3d4f4efc9baceed974d00f2c0e2491a4de90d43e8cf3e SHA512 6a67cab22720560ceb03e54bd4d4614dc5f3ab561a508557df71465d375f4ab4c9a5bbbb096570c2e52f4e6c8197f9addf288488e1aeaceb3dbe6c3020b0f78a
|
||||
EBUILD volume_key-0.3.12-r1.ebuild 975 BLAKE2B d3008a2bdc868297cf8c40c52a0908b80b667195aeedac9ac7b9fe3666f398617c95f79094d69a5fd5946552e31a8a18762908b22eed5d06d2a8680d769a649b SHA512 4903d03944d47ccae8d4cc39f0ee262db47eadd09aeb264ef530c1df7fba477647f826884b3ae7e6eca5e4a6981addcb76f839c18607e44a54d7b509642c6c00
|
||||
EBUILD volume_key-0.3.12-r2.ebuild 1050 BLAKE2B a728cf5978b592976ece161d05e1d20a502beaf31668ade53125dd42ed950f856adef9ce4d0cace156dd55f4a5e211d29c5a0fd1ce6b25966313962995a9bff4 SHA512 093b7b8e1eea57b0452acec1992c53182d221fdd5cb40df3f4730746d8021d8b12ea3c279de57e39433a56174232a32728d5117a53a8c5283331e325afee4d36
|
||||
MISC metadata.xml 257 BLAKE2B 35c1b06807230338ceb9de70f79760d55e93dcdba508da3c663e785ab3966781edc2098abd8df084b2ecabbf40ff8e8e4a0d0a6e131daf648ff58e101cf27587 SHA512 ff078cacb115b8f3624b45d883d8ed72701e3d2fccae06c04c633eb60821b23681cc151e00689d1b6035c94570535e7ac0de51a55dae99f606886164883185ea
|
||||
|
@ -0,0 +1,33 @@
|
||||
From 26c09768662d8958debe8c9410dae9fda02292c3 Mon Sep 17 00:00:00 2001
|
||||
From: Jiri Kucera <jkucera@redhat.com>
|
||||
Date: Jan 23 2019 13:35:52 +0000
|
||||
Subject: Add support for higher versions of LUKS
|
||||
|
||||
|
||||
---
|
||||
|
||||
diff --git a/lib/volume_luks.c b/lib/volume_luks.c
|
||||
index f4bf2c8..d1c5d47 100644
|
||||
--- a/lib/volume_luks.c
|
||||
+++ b/lib/volume_luks.c
|
||||
@@ -30,6 +30,10 @@ Author: Miloslav Trmač <mitr@redhat.com> */
|
||||
#include "volume.h"
|
||||
#include "volume_luks.h"
|
||||
|
||||
+#ifndef CRYPT_LUKS
|
||||
+#define CRYPT_LUKS NULL
|
||||
+#endif
|
||||
+
|
||||
/* LUKS - specific code */
|
||||
|
||||
/* Return an error message for ERR_NO, for g_free (). */
|
||||
@@ -105,7 +109,7 @@ open_crypt_device (const char *path, char **last_log_entry, GError **error)
|
||||
if (r < 0)
|
||||
goto err;
|
||||
crypt_set_log_callback(cd, record_cryptsetup_log_entry, last_log_entry);
|
||||
- r = crypt_load (cd, CRYPT_LUKS1, NULL);
|
||||
+ r = crypt_load (cd, CRYPT_LUKS, NULL);
|
||||
if (r < 0)
|
||||
goto err_cd;
|
||||
return cd;
|
||||
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="Library for manipulating and storing storage volume encryption keys"
|
||||
HOMEPAGE="https://pagure.io/volume_key"
|
||||
SRC_URI="http://releases.pagure.org/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
app-crypt/gpgme
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
sys-apps/util-linux
|
||||
sys-fs/cryptsetup:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
sys-devel/gettext
|
||||
test? ( dev-libs/nss[utils] )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-support_higher_LUKS_versions.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --without-python disables python2
|
||||
econf --without-python --with-python3
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -type f -name "*.la" -delete || die
|
||||
|
||||
python_optimize
|
||||
}
|
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
DIST busted-2.0.0.tar.gz 55002 BLAKE2B 39a3b7bf156911e25f94020f9e56b3f43b9f02b910a9d1c1f288dbdb83e5d53253d5b40d73df655844ed683cff7959d42c330c0d061db918385df07870e16da3 SHA512 3151694b1fba1acc52e3bcfee0231008b14934e89da5885d7e063c6f023479c42040c42a8c0aa6ff1f8303ad6b2a70f0687c8a218830de7231007ef8748457bf
|
||||
DIST busted-2.0_rc11_p0.tar.gz 48368 BLAKE2B 3e4534795a4d6bd816b9879d447b82e144f738f3601856e5c9fc5419a6b8f3cb57a78a9ce6ad90990c1abe9fe0974b809d10a942b5f4930b4120f98d34de0dbe SHA512 f09cd5ad2be05b37254e9d602433639340b020e0670e8a435f1ee1d312eced37e284c2f5a398d7a0403fac0023851b74dbe659373e495c5354f48baed814c4b8
|
||||
DIST busted-2.0_rc12_p1.tar.gz 52404 BLAKE2B 51f12aea26d6b0909fdbf8953b316814ff8cd76d39358a26eb785ac7541acddbfde1b19d2e41c9e966a604f8f00b9517181f87264a76a4ac7f9f8d6008c87692 SHA512 0cb1f6a66110514dc3675b2e667cca676e6672e895b57ffba438e89a1e0a7f4f8f941cab54ead905758987be15e9885e1eeb82baabc9d18bf29ea56b832b89b1
|
||||
EBUILD busted-2.0.0.ebuild 962 BLAKE2B 91095a86046dcde63aff9aea89ef3733b16413fea337326584e462a8d84475a0895ecd5b7745b6535d34036f92f2ae3ed3ed2b05e075ca12b42b648abdd2f7f1 SHA512 28f990886b3b99253e7dad34b93d8f5328411a1c1a4b2f215a02929f94f8666efce462c46004a3c64e5126b70f75aafb657193faac7f6429f1a8a618b057e9ad
|
||||
EBUILD busted-2.0.0.ebuild 961 BLAKE2B 36bfd4e16bea39fde179a7da04840a3bd151a95a18041b9c5b83c59547090dded90183e88a546f32bed1c67804a33128231792702a1196445acb9a64ea169ec4 SHA512 3dbe619392c2e60581aafa1811ce7e130f03cbed10fcac6c4c36b5aef0849166d5c8850dbdbeab26f9c2a1bfdbc6cc2da3ac8c60afef39f5858b64d3318cc93a
|
||||
EBUILD busted-2.0_rc11_p0.ebuild 1021 BLAKE2B 6be1c981d3259907dcbd7878c11f6eeb9894ebddd9eda8559881c087bec7e4a1f7d8016765920148defac4644bef46f82b107b4136866e1377c7465f184431cb SHA512 47e1e443cbce25838a3647d2aadcdf244219abff50be7a4cac51906a65ee8dbe2b122145de4c84cd18384c5aa1c4b818d308bb733a4af77e16bff9cf15b16ffe
|
||||
EBUILD busted-2.0_rc12_p1.ebuild 1037 BLAKE2B 51659b876392952b2a23b9dd99cca97e1b7ef48b0e23760206a0f282a4e4892afe93f743b611732a95096431627c4196119115af8fd3f7c3030b3588744ecbf7 SHA512 af2b746bb71fdd39e34d82c6b056919665ae63abbc1d7fbef35610a2b65e0a9300a905771f15cb1b9a512b14737c1c524a3aba19d3b4ab4d4d29c4758ed59657
|
||||
MISC metadata.xml 652 BLAKE2B 97daa2438be52bd6aa462673572d6b1efce6331e9dfbfa5d3b2915619661ec2b359c6687c5aa294d66eb089e152e93c24f1c2f00dd8ad9dc9d13934fe8170883 SHA512 7b07510891c5df25357c17f05de4bcbf1ea54f44f9ce06507de70ae9ddd835bfd20d1cb4bd3787ffb9ffeb88b238bc148b5c5ffad7abb1853ed0517b03a7d122
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST dkjson-2.5.tar.gz 15799 BLAKE2B 25cf9aa3d00d87b367096dc793984766d7777c98ec9e97c5bd72961fb0141bb1ae94682f3719d11bde52104a755636de546fe8aece0fbf7147045175ad8bcea9 SHA512 ec9a226c3a94d7561f8f51bb0e6c92a64385b0d8baf83de862cce7e1c302d900bff723be23e4b5b4c3c2accafaf8d75d4b0842e14b2e41390a3f9761d46a38af
|
||||
EBUILD dkjson-2.5.ebuild 649 BLAKE2B be740ce1b7fb4e98745a5d74be437554817b7426bf2305358d906c8739472c6d9277abce138037f114c3484d95babafa8eb04f7185b789d0ca62d3808217a8ba SHA512 0081aa2c7417e12b5dc68e09af3534c3b07a279d20b501b4bf8e3f1a942f971f1d0fe64a42dbb0288cf898000f73da3d723f0a32391b5b7a5501b79739be779c
|
||||
EBUILD dkjson-2.5.ebuild 648 BLAKE2B 7fbde9421fab2cdd933a8eda2b095ee832198a350d4fae0dc964d000785f3af1e84f8e9ad4c8c0ee48e8523aac470e1a0b82456e39801f6b8cc42c4c1d9b8112 SHA512 32508645ad71565d249e4579f5121a59cbdd534fb892209336173bafa03e066fe00e254fe3b98a3c960a803f6d3aa956bedbf5caa3231ca9a821361a5ab9fb42
|
||||
MISC metadata.xml 620 BLAKE2B 4285a62df1f275147f5b5a40d83bd570d2458b8f8bd4c32957b9a52364b6bde7f471e4fd6ab58ed80bdd648e5c28fea4038ae63ced6ed7dc9636ba11d3c44f8c SHA512 e224d3462b86cd9c66705a3ffdce9861c03f3cee050e851c8f9064c19a6257ef1f5f18c125b7349d495a343fb9696b408523cccd09cd99be6ed599d9cb45238f
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST lua-term-0.3.tar.gz 3752 BLAKE2B 6d42129b60278a4bf756195bae28529a9a22688945ecf6c5648ea490645de363799e4fe5a188069e3739557c3b45ee83e28e315cdd69e987f022f28e3a673cb2 SHA512 e91585994c0337d4dbdc36f51cec9f66fe7319212e82c56752ed724bbbe273e4dc67977bd13e7963545bb075f23f69a448dfc4cc4d6c3c49e96af99cd3eb59e7
|
||||
DIST lua-term-0.7.tar.gz 4365 BLAKE2B 8f4080d4cd3b620cb1f261d417744f112d42b776ab3f4cdb0e52d04b6d64fc4a1ddbd634570496c3bc12e6b10efe5af8025d1f124198ebb3946414679a65f7f4 SHA512 2046ba1861ff590c191bb651941c45eb8b6e9a1252b05e78daaeb31837ce1fc7da9ba124aec34dc7842fd304e945754c463ffd75941125ff952e911ba66efa31
|
||||
EBUILD lua-term-0.3.ebuild 1046 BLAKE2B 77c1acb0eaf7cad9e72c6d4e09e52a60078ffe2e8da1d8d119c5083d6fe3b0c493cee7aba008562dc56997ebda0f1713151354ed633dbd7d27389755bfba841f SHA512 060e77c10f7a78844361be521ffdd0996b090bf7a7413b8c85dcf8f4488cd3cec1c1d61991a64c6f3d64e22c092aa5cbac00b465c91f8b2c06a2791daddc7f39
|
||||
EBUILD lua-term-0.7.ebuild 1027 BLAKE2B 99a8152b9b3db85d71f1318d43ba23a592f039f71a4bd2f675c104c4b370d1a8d88614bbcc0ed186fb0128c953d7beb7efbffcf46768f29e462f96fbd28f92d9 SHA512 1953613e17b240c7742bedb8c3aa2808d44754cf18adead116f676568ac78a8dbddcb28eb200431595c92998fd31a75a5e0d9bee2b92c9fc43327c91552ab716
|
||||
EBUILD lua-term-0.7.ebuild 1026 BLAKE2B ce76bbf19c56c7e5a8676a97d01359bd30e493c16cda1bf2e7c4c7cf4a61416b5284c510015dbeb94b0a5b63cd16670f10ee6d38e003798ee7a9f5bb93f0bb77 SHA512 a3462732eba2141725eacf15850b6d5f719fd7c62fc857c103318868abc4e6b43acbce1a8af42a0485f08f3722b41260daab92393b47bf94187c2148fc91c1d9
|
||||
MISC metadata.xml 329 BLAKE2B 53838f32093f301c09eca7e323feeb35d9ceee5a2a38fe0902bafd8893afed48e8b7f8b4bfebfa183cdcabc63d654b983658ae69c08c640cb97239c5f15ea4b9 SHA512 927fa93e0060fdb183c77425cf3716dde54c4b2a6a4fdbfadf9a8bbeeb186b55ac93589003c8259382d3985075e9ef4239c3a7be359bc704cc6d3febc3c8f89e
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST mediator_lua-1.1.2_p0.tar.gz 5809 BLAKE2B a14cbe043cef72cdff35f92c5e6e420e94ab9930235ef71c31749f6371ef3a9a55c104ebe0a82ad86a95ddb5913ebe69f600e16393b6c5ff532802ace7bd7597 SHA512 116d08a96fa0bd540ac4d3cac61a529a634cba3621c6f2e917b405462bbc0e2ab5b170dc6819e470105cdedf958a382945819eaff4affa63bc057824c163c8a0
|
||||
EBUILD mediator_lua-1.1.2_p0.ebuild 796 BLAKE2B f3731646697ab1c65bb058a856cdbd2c2ec2dc1f62cdcb261ea1b6f26029bb0e225d216b74fa2f246217ebf2722a62c0499d1e2ae7d8f0571c5ced78b5a5e9a8 SHA512 cf1e7536527a28fdf3ee7ecc8ac8e52c151ea17b04154788a54ff68ab13c79e8503215e0e05160f16a17872545417e0f3de1b1d37174092a17afb2a5ba878c1e
|
||||
EBUILD mediator_lua-1.1.2_p0.ebuild 795 BLAKE2B 1c98dc5b6131ddd9565bc01502e4ae1f027f27e0cba6a95436027ded755f1c51308434f44ca0b6ed168c1065f1d84d8e70885dda7e71aa1a308f5f7c1b9dcb43 SHA512 348ea584e11fffab4989e915b1f1e7736436a66126741d6490ee86655c8378182b476a4d49f683302561788850d596bf9b4e31210ae6d8f75cdd150a0dcc1b4a
|
||||
MISC metadata.xml 623 BLAKE2B f6e574caf2544132e811d3399dbec685c535e6a9ca63833ecba15d5f3df3faa3f0d585ae5a923aef9455e4d2489a1065e1aad577ee849488b3f982e90beaefd0 SHA512 52bea35c9427c5f7a81b7690447698137215cb1ccfeee60a4733a6a5512f204aef0a258e71701b4565bc2696e491514391c82140507f45ebf72c23a01156b6fb
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST say-1.3_p1.tar.gz 3667 BLAKE2B bd99687a71129c5038749b0a2ea48411a411cf05559793cc0c4802a5b7aa620fbf4fd15ed9ab661b33c7b9f94468aaf9e292d177aca4d1c7cd29009601d015f0 SHA512 8d4a360bf0731c2a70c23edb9e6e81cab1e7d9b861aa35103a5c6e521633410860d76c46dc2ea62a06ac8ab3b522bc71c11143d6fe7e26e7fa24dd3f5ea1e5f6
|
||||
EBUILD say-1.3_p1-r1.ebuild 887 BLAKE2B 4cfd1027b04900f9df4cf4c94ebbc2d7094dcce9a122dc90641fb6034b0a29bddb940565180a913663295f4afa2fbd3bf570f78e2b424940a781df938d496665 SHA512 853c051df61f99b614077d07802df809d845f0aa149afd45785a645c3812c675ed03b13d2421f1a965c9f64512f0d8b5a66145c0df06fe20e629ac6b630c9549
|
||||
EBUILD say-1.3_p1-r1.ebuild 886 BLAKE2B bdd9cd539a4119a3e521d241f148c9efe3fd8743e9a259f0a0df359735d99eb916dc2f0844dbf24b69f88aa1d81705981ca728c0bf9c2ccb583e838a57e63450 SHA512 50738d259c035e23eb8d90797c1fc2779721b44faaf61695654ad774e54264b20aaccc8d76f94a6c97864009b9fd8692bf4751d0477f1acaed0265276040418d
|
||||
EBUILD say-1.3_p1.ebuild 664 BLAKE2B 23a1ec3ce6ae91d6ee0a79f2b882e49c75b25ac2b6dd45cbbe6c46a44e088f9050120cd21e90b0222e6f7029521a79a3040b4500687fe6aca625cfc0abd287f0 SHA512 348ac3a993aeee0c570dabdf7fc632c8532801620ce384f1b1b8f18b75ee20b6894f0ac1fc0a4d646e6be38df6136f88631f37e26a79275c6f27d8314a486ba8
|
||||
MISC metadata.xml 329 BLAKE2B 325677f6bc343be31e86ec9fc075e35d5b4502d56bbca921a051259d3c3f0465ea8b413097b016e1da1071a568379b33f7f68f1415b48f3e7d6da61dd5496580 SHA512 682e04f76b25420d553f0f557f8b236c52882f6789783dcb4ef4df71bfb702dac268bedaba38e3dd1504cc97e403663571bfe07186cf9101cfceb9aaefc8de92
|
||||
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST automaton-1.12.1.tar.gz 30350 BLAKE2B 2557cfe4be401080615a7e640d54184ac8213654711f75b12512c5fc689d96bfcb486770fe6bb1999a7af54f9c2e115a5a5bc2a45a25ab6e89d0030d4087d45f SHA512 c0b78d934f1c0768e1131db0640649254489afb8710098f68f61293746c80a2807edf82659d8fc9bd3812107dbb823e95055842c81477325f9ada65967ebf4e6
|
||||
DIST automaton-2.2.0.tar.gz 31629 BLAKE2B 1db3968bf2eb3dcec77edd6ca8f7ad6afd16d4e1a23fe3f5520ab78d8b78e817cf9bde14bb008e8740fdbd03e4b871361402283407133def0c15485962a210ce SHA512 9b773ac93f17542800b93e36ca8b42ab522b2fb1c72d36256a62a37463e49e9f299fbdb9d4507b7f2a6cf678bbcd16fc86be9d20720acf0b254e1bacca4c0300
|
||||
EBUILD automaton-1.12.1.ebuild 758 BLAKE2B 72aa5f2ed1e183fcfd2aa8e411ffb615709f2a4ecae1a352874275f4fc7db425099ef383ff0d094b8d31dce11ceefdfae5b6f559f1b74cef783ebf1624d496bf SHA512 f95da9ac3e18a2988120daa381e42120d188ff408962e38d40c08fc502d68653dc39ca5721db283b20efddae1292706af9ed000b4e9b0fc8b60b40cc287db9fa
|
||||
EBUILD automaton-2.2.0.ebuild 725 BLAKE2B ca3a185ff1b0c23acd269e924c640969bc0b2604772569a506ad9c5b9981496c161f98d552f0390ddc11994dd479689b713cfd780d5991e496ae3e04f394ddce SHA512 af4f8676b5737d1c3bc81e49280b00f03dc9c2def61d95c2a1aa4cfbd2f7544f068b772642158c880a8b982a8afca32b20a9efc09e332a0881b8e424fdcdc5bd
|
||||
EBUILD automaton-2.2.0.ebuild 723 BLAKE2B 2647950e6be6536313e50abe9cd91af815dc4c09654b917c855c971114b9ae1cbb8ba647efc7eb98351284ec9ce6645631c992310a192522ad6d2f678c5398ff SHA512 fb9fa96fb72d77ef33cdd03e7790993f60422e5f6db647b4a8882be536cc8120ecfdfeca9cacec032c8f4fc6ee0fc8b26c312c13b9fa9178d17c9b974b48946f
|
||||
MISC metadata.xml 350 BLAKE2B 83a8608d8f6a54796e060b60f74521bae97e13c03ab0188afe68e371de21636acd436e88d5ddcc9c9bdde48223b9a47b4d3f9d6ee59031c764d87c6b1a42fc47 SHA512 4064753489d9f94ff4bcbc7f1b681cc18b7c430eb0b54cc06a50018ece08707c1210e97febedd567ecec6941cec9b2be7727e7631bc82e96e057437dc9033ed2
|
||||
|
@ -1,5 +1,3 @@
|
||||
DIST awscli-1.18.142.tar.gz 1871785 BLAKE2B 50c5fbfb34ad6c4e1f229fb5394e9e3ecec6ee18fa64ddab908e883ec6e9e24338a4aaebc53069651c161386b59f7ef0c699530a57c51264c367feb1dd5a9c63 SHA512 4bb49ea8617f5f4c55bf7ef531a7023299580a2e8aed52981fbb5da199e73912082cad198e00a590cfd8208dacefa70a3dccf257d7186ce96d68b87b6723639a
|
||||
DIST awscli-1.18.160.tar.gz 1882701 BLAKE2B cb797537646f27f8e09ac4674417ecac75fc691d6a7153d92cc810372721f3609ef37288cc8f226f09e1668b732bbe7d0b9195c2d0a29daca537b95181253fe9 SHA512 c69c617af4370f4d646051361cbf6d20add410a70bbc55a3fe3e8d5d957990dcaefa3991d61d14379d156919a2696303adb327ebb45f519fa557493c60f50489
|
||||
EBUILD awscli-1.18.142.ebuild 1289 BLAKE2B 92c7af8f2d963c4cc4cd495693d6902d8f9e09f97cbbdfd13a0d21d25c892aad819d5edadaa624d38a124160dfee7da9c2d3e07bc836bfe8e4446f65813ccd4d SHA512 94392305a0dfaf0b8f19b4b08d8391bb0ccb2e825278ba8da4b2cc3913925e584da27289a28a522e389eaa980cbf9317f00fe3d4cf5ef63698589995d0854a9c
|
||||
EBUILD awscli-1.18.160.ebuild 1290 BLAKE2B b0777b600860740c04e927a7fc9d87c9d6814263c7738a29a916e5c3382a0d173106383d466cf3ed9ba5f4a0aeaaf7d68a860e2569dce3a3f3f26f77c989f816 SHA512 996c446f142e49037016bd2a8ee4c2ae0c113c40a83b0db79f5441e8fcc8169723204a860cb7e0d20aa3a92168bb4bd7d3a7eef80fad6d03119ce3723095ceee
|
||||
EBUILD awscli-1.18.160.ebuild 1289 BLAKE2B 833d06d3e4088b281d8226368610aa54b8201ac722fdeaf4d220c10a275e10d7ccd9de0cb0bdedeb7d996106ecf7c5d7958a2d6cb7dcf6f4e3fcfb83c336abde SHA512 ac93e6762854bb37651890135f42f48490956e9c283887544f9ed982fa9eb2ce3a273f0f6789788d42bdf3524ae85c8a4104ff06b4e9dd09c371859fa0f5c781
|
||||
MISC metadata.xml 453 BLAKE2B d45517c2fabee8961b00d53a0118966ec7f50b965ca2c42e02b41201baada3ad18d66f1bebc134fa64a524ab9a12302feebe922833d04ac571068b10dd9e9052 SHA512 eed3ecdf6fa24c738554a6f95659835a1d1ab9fb017272226cc54194ee2f35d1ca6adaa52bac44cf4e740c42636f842782e708f38f24b51b7341e47e10ccfeca
|
||||
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8,9} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64"
|
||||
IUSE="test"
|
||||
|
||||
# requires network access
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
=dev-python/botocore-1.18*[${PYTHON_USEDEP}]
|
||||
<dev-python/colorama-0.4.4[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}]
|
||||
<dev-python/pyyaml-5.4.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}/aws-cli-${PV}"
|
||||
|
||||
python_test() {
|
||||
nosetests -vv || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
AUX black-20.8_beta1-setuptools_scm.patch 467 BLAKE2B 4dd16dde09bdb9c9b8480eff2542f11cbe712919dec6678193fae1dd2d58c646c76ecc4831a6bcbb54ed5a7f3692f61953bbb8856e8dcf6b64918ccbf32fe69c SHA512 47df09f60aae9ebbddfdf513d9b6caa30aaf60d65cd21027e965b0544085d63312dcbdc54906a0d1ef0edfaaf00f3cc753a7af3c113f4001ef4b48ca53e04c6d
|
||||
DIST black-20.8b1.tar.gz 1092546 BLAKE2B 5a0a755222617d8d551b627c91670ecc32a9330cc1197900a9d21b071d0d99ddd32e09786becfc577407ab402f6da3d8683a59a9deaea1f6b4f07b9e1e4ecbed SHA512 53d6f6a6f47027e5bdfd3909471c993480034c8aa8ae395792565b8d79fb4e3a44299ea529652c0ccabf4309d645db9179bf54efc06fee20517f479e91cec838
|
||||
EBUILD black-20.8_beta1.ebuild 2204 BLAKE2B 0b9f01dd0f9be2f474d66b964bc16ca1ccd860aa33385fcc90c87dbe8fa273924b7b806ddddba541af0d386c8d19ff6bbc6b8bd97e158ffb826cdddbcb8d3199 SHA512 d455fb3c1e657fd43e6d05c08f95b9ede5eeaf4945793d6a8e4eac2e460b1617741f00be1b9535b8fd38083a301a1b999903d1eddfe09843e28e02c1789ca235
|
||||
EBUILD black-20.8_beta1.ebuild 2234 BLAKE2B 8c36d86433d2bcaa741d416d3b01b0fccf3434f04ede07a3f20b1773bfaca35fd7e3148d73d1bbdc84069cdad32c6b8d527fd141766882c705466dc5944388f5 SHA512 5ae6f97564a33ea215a9aff2d9457ce3c50b965d379210c7caa6721b91d375d7cc046cf706f774488213d758597916cd79e39242f8ba033972c4bf064eae8ab3
|
||||
MISC metadata.xml 255 BLAKE2B 2bb3830b8cec850703f7912f4c22f5b0abeabeed0715222bc56141779d02160773cfd0f85417c553c1cd8f2738bfeb78c56dffb8e648e572019319657646d1ba SHA512 522158915afe67937f81ba572a918a2de8ca1f8591e097da56799c97870d7c44756c1acd8224d63bd3375c2b9ebc0e1ce50816899117948a48065a27804883bf
|
||||
|
@ -1,18 +1,8 @@
|
||||
AUX cfn-python-lint-0.30.1-tests.patch 621 BLAKE2B 7b4d457c56f32799c0da0e1e1f6551b57b89b08d7916a5a4b5c8c59605bb7dbb2393d566afc0da606103c09226b61d8a85734e124027ed81d46d405d18079778 SHA512 bffe6e2668dfb16f09ce20b784fb33a4a19cfbee832e6107601bd0bbd60c3f4e3b7debb3c3c320b87223dc584f054b6bfd1c19251ce17bf0b978d0b3e0b28088
|
||||
DIST cfn-python-lint-0.30.1.tar.gz 4137425 BLAKE2B dd4f7d449236e567e7ea0fa662cbe983b6125a6cb557ee314de0e6647c5756b0be450deec7778ac69f1cec95b594c8c74a0a2f56ea229b7dc28ffb918983e6b3 SHA512 67b72973dc174e0de4980606b7886459233fca516a0587b91319127c4df0ce2647bbdc3302d68b63916654a76f4c9405c2f27cfd5e0ad737b00724e403815477
|
||||
DIST cfn-python-lint-0.35.1.tar.gz 4501826 BLAKE2B 84da0965fc198ce7b8f955a7d43f9a1c87c9688c301594abe6843509a832b4c9c5fadad1f75ac1c5b20ce2179244fd2b9681f5a92a1dbe38738a61c94f95982a SHA512 6d277048bbd7d8950ef7681c4a31cb82ccc231fb29f5083169caef69bfa4464cd87e473f40c775d798ff511a5db1dff9a17b0c08dcc800db0188e1e84990c9e4
|
||||
DIST cfn-python-lint-0.36.1.tar.gz 4963743 BLAKE2B 31efc227bf2b5aafff0365d0ca949e4007684dd896e6e8a75afb692a260e05f6b134b9cc822855c99edec7398a1cdd767a71557ef7178ff9054c4e737a5a5ec5 SHA512 4682b7a010875df2322856e9a01aa547fcce171c5bb7531ee35d92bcf0cfc523f78b4180fcc6a6c4a1460d5b517e834ce0e0026fa6c2f6afb9ebf3b3c46434bd
|
||||
DIST cfn-python-lint-0.37.1.tar.gz 5005775 BLAKE2B f393f4b871a8782e81f71a1a2d011d5d59dee287fa305d1b6c82ac366e7975e5ff02ce96949501ed883c2b86cc6547d148d19d5153bf1b77a675a1b8c33ba96d SHA512 8e2d3419142527431835f935f96bea972057eb471894ddc2b3867ce3cbe490d540fe9b1490b79c84042eba8e5f997cab1aae5aff862aaefeda38351babb04a2f
|
||||
DIST cfn-python-lint-0.38.0.tar.gz 5030920 BLAKE2B 3df51d77753ad8f2d8ea76ee2ac8b0c7e89ece043c75503272ee2683dee3a6280ff4f27c3df813b2532b3ee495b3a336b1c82ef649255cf1adea34bcc2fcf7db SHA512 1daf122735a22121e22f448c5867715507ef776a4fb7748c092818302e3226bcd368f03bad22709808864376bd63a916c66a8800a859da7c4d1deae40feaca2d
|
||||
DIST cfn-python-lint-0.39.0.tar.gz 5096885 BLAKE2B 50fe41b1dd533c10a011d4729e78241d0153389cd9eda2c887181b62341d5ff38eba223606c2f9e725dfb1a6c934b5f044a236fb2044368a413d434eefd097c4 SHA512 d48116aeefd996943aa1408c76574ec137e96447c7b8950bb1726ff00819611ad6179a8af820ee4d16f493455cf55110e90b78b6d4325036e955529dedf7807f
|
||||
DIST cfn-python-lint-0.41.0.tar.gz 5192401 BLAKE2B 1f4c491446b552272cb9fea46d9d07ca559a4ac7526730663b0824d3ba631a333128ca45b2dbbe637286b0495d0198c45ce19b662bb1448125c919ab4fed57b1 SHA512 3ece6a39666dee395c78fed8e23d9228ec7e0cca67d9216b709300bccf48605903252202cb7d05e7c9b9122be11ed4ca39540aba891359633f1772af72a73fa6
|
||||
DIST cfn-python-lint-0.42.0.tar.gz 5307120 BLAKE2B f54c4ae7fcefa6b56714a0cfdf89d9fbce20078daac0784c6169dfbe1a110da699e37b526f306ed9734504fb3387c660ccb997748579b65afe01438124361383 SHA512 ce2e6a0031e3d67953da6f5dc96f0b155f1a1144bee75a8a476490eca69fdb700c8a3d6fd89b0afa4c8d724956e5f86bc48417035d7c94f3eed00abda47f9931
|
||||
EBUILD cfn-python-lint-0.30.1.ebuild 1147 BLAKE2B 2f23485ac84f0911d2e403928924f0a96198aa863c712103c68295aa02f662d51e5c59d51883f9753159177f5b05dd47966489ce537e9cc8aca9de0cd5a75f56 SHA512 ae3c1238893d5d4d7ba86a6fb749aa407f0597f8ec2a59c8b455392105b45de8400ae133df8025d5b04a8b3a1b8edfa3ee30e2999c718107555a185e1e595077
|
||||
EBUILD cfn-python-lint-0.35.1.ebuild 1233 BLAKE2B f8a4b871ddbe132536ee0ecd741d71bfa686fc2150ea6802547190cc0e3e29484fecfc7256ab4de749fa39791c4e73d75b94a525a3a827b6e2aab1b964803030 SHA512 c777cd1d3d1e344887d1e297b097c050a6d738542a3f1b0cdb996189d83542c62e7fc75cfb4a78f5d75946d175a059f0bcb737c5bf0ccdebacfbce9e57a096e5
|
||||
EBUILD cfn-python-lint-0.36.1.ebuild 1233 BLAKE2B 1503a8c4c9005f8488becc718c709f5ccb8bc6ca13dc8484fee4962b26b86a7b59c0ce8454d04e7d04e6a35d560eebd8f54b62d4c7cca08cbe117c45b6c9309a SHA512 55f7b33beaa22e6a66172e4c7f3cd71f1c3dcdc54980378d7f7467ff66b4581fc39d32e500c77104d336bce5d6bfcf08db2b1ae77b8e2ddbaf4c3f88ccc7ee74
|
||||
EBUILD cfn-python-lint-0.37.1.ebuild 1234 BLAKE2B 1a88241ea6c30d155790ebe1a599c184b8746b55c70021885549c8d10228f77052b564d2a8f0768746326db784c163bcffe52b108a5db442d4ddac366cbfb40e SHA512 8759e70f66de52b3ca3890e585ee8ffae47e966e5b28a72f078317edd8b87f0559ae862b3f10ef75950a1932907946ec14aaad0765df7d41e423e3a26fee7341
|
||||
EBUILD cfn-python-lint-0.38.0.ebuild 1456 BLAKE2B 7f26362024c77c66e25e1f4bb3525763edcf3b8b4e05b8972dc528b8d868e10f42bca33cf73f78043a3e3cb32062ac42f8521cb85346d81ef595eb83464beeac SHA512 284b460078ddade991da27255c36a4214108cc28f5214a3adedae288b9b15187d8ef8605b9afbbc066e58ca90b15e251ebf45387eacb16c1ca12f668322b8629
|
||||
EBUILD cfn-python-lint-0.39.0.ebuild 1457 BLAKE2B 7806e53e56ea8376013c4f137134ddba64a4795b17bb7ffbc1f96eb4c77320fc623bb1e8bf95ee0e80e02acb5b53860362d646973fe54f1990dc03b9c8b878e9 SHA512 e7a88d7294729d399888b8c5aedd06a2b324c35fdfcbd6406f165a005587729c20820589205086c99d11f21e7700b7ba693a0a1b1c9d4840ed482887e2a8fb92
|
||||
EBUILD cfn-python-lint-0.39.0.ebuild 1455 BLAKE2B 8fad045ceffd2d4f2bb6861d71cd4e8320023217bf27b406736d347b4d5160b263b1796b4d50425cdbecff14846638c339be68fe1ac3451ebd452db938742742 SHA512 a19f7a67f1c8811e10cdcce49142ddd9360464f28fb0a9fbfbd7eafa94012cae6cb0eb757e3a010adfb29f3471395fc72fcc23b91422f8315a505cf629e169d4
|
||||
EBUILD cfn-python-lint-0.41.0.ebuild 1457 BLAKE2B 7806e53e56ea8376013c4f137134ddba64a4795b17bb7ffbc1f96eb4c77320fc623bb1e8bf95ee0e80e02acb5b53860362d646973fe54f1990dc03b9c8b878e9 SHA512 e7a88d7294729d399888b8c5aedd06a2b324c35fdfcbd6406f165a005587729c20820589205086c99d11f21e7700b7ba693a0a1b1c9d4840ed482887e2a8fb92
|
||||
EBUILD cfn-python-lint-0.42.0.ebuild 1457 BLAKE2B 7806e53e56ea8376013c4f137134ddba64a4795b17bb7ffbc1f96eb4c77320fc623bb1e8bf95ee0e80e02acb5b53860362d646973fe54f1990dc03b9c8b878e9 SHA512 e7a88d7294729d399888b8c5aedd06a2b324c35fdfcbd6406f165a005587729c20820589205086c99d11f21e7700b7ba693a0a1b1c9d4840ed482887e2a8fb92
|
||||
MISC metadata.xml 596 BLAKE2B c9937cb001e177c18c65bff8b70940d241e54f58aae3818071510f1c73540fcac6c532c8700b4904d4e2c9382f8a5288a2cb8745e174b8ac0a4edfe114d78ff5 SHA512 40c20431d8132ee97311a23bba87d6b408297410573c191f8fc43282bd156884adc25b6ceb6f2168d3456d535c4d82fb3473dd9025bda276f6aad829f68a8e37
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue