parent
9b81507c52
commit
6459268dd2
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29469 BLAKE2B 428fab108ecb920a6c8ac7e6ae0f404f3877a149e5abea244ff42de0b8d7f66041d644f7d8109346a9fdbd1de1b2510cbbcc406f36cc038b1552dd7eba963c31 SHA512 9b0a5779a15924a4623c760d74d467bbb9f79ab41ddd0544c24265c508b574d65287cdb1e19639c0b1bc819d1a01efca5a9f0f6098c4c97329c4ebae68a4af28
|
||||
TIMESTAMP 2020-09-18T02:38:37Z
|
||||
MANIFEST Manifest.files.gz 29460 BLAKE2B 60a66db5e4e25ccef03435052ca31266e8620c434e191bba3e5ef110dd0eeb44c88dcb1ae84f970381c28f18472bf65b9d2a7205a8955dd024a546ab645b00c2 SHA512 2597b5064edc780f15d9ac4e20b1cfa3840858fe2b6243a6beeb4c3d555b6a886c94e8196d17736dbe91daf690a22a9d1d7e644822e84fcd2f3b02dee4f97f52
|
||||
TIMESTAMP 2020-09-21T10:08:44Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAl9kHa1fFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAl9oe6xfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klAteA/9GMNgyb5MvHtRXJvNvWSOveWYEFr08F7BxPCuQf1TAmxHAjqjDzbVTBYy
|
||||
B5+HksxblsFgSiwaG77K0243metpJltgylO+8Ui4LOZwZugGdt8S29+pxzA6/28g
|
||||
KygHL86zfa+h80sFktrFDQJ9WBeyZb8jO+TMMGa266vUr8GUm9nnGL+ItsV03F4E
|
||||
3p/XEUlt4gkD/ijZozVHgOaDbKnOwclMssRyB8RLhyMtZiJNPMpdWzb2M/4J8hy6
|
||||
BZwNHlsorQMVz4OdM2uEjjavru3ym7HfzWPxd5wmRNdEv8mxQUwSrylvvkaeREmV
|
||||
41OZu8mcZpEJdTP7QIVWCA0v8mPQoLWU0WulqUtEhkmsCBB+JDMy4XsrtEK/CQ/8
|
||||
4UcOfxSUV/09Tbd92tgM4396lP1wKwueC0R1LEimx7YyBj1RHvHzxuyz+AKJVxIo
|
||||
Ek+kZ1uhSo8Z70rnN/0o9VtyiOmNg2IwPNRFpHc6uoTPMMHnsZFuokNR6kt1zGLS
|
||||
NW1U7RTTcQQweidYKMYfZjGcT64KL0vkT5nrpW/nMJmnegBszpgppPvh0DuZiauA
|
||||
q0n7twDfulfegLQZMGEqZyJIEz0/iqs+sgDVtPfuLLgntY04YilnbkHtPrljfttV
|
||||
xwCfOfvxewAqE+31k4peSTODodkIds4q3pEHx91S1jXSchAfm28=
|
||||
=NncN
|
||||
klDACw//YJ45PrCfbWr3vgGPUDZ/vlPNLTCrN8wyaw+biDxk1EGVWgNFRFPDl7jt
|
||||
6fvQejsxDL/zzlvK6LCvY8yNbtTyGvm47ETyh3gFnTdc3tuM6TZdNqeNiiOPsf5g
|
||||
YMgypIdy3/8oDmsy7/6zLanGPF86CHJpMoxW0bkaAV0wkfvliwnAXVuzLn6r8UAj
|
||||
YQarpIvrLOy8A2B4z6MS21A1e6ztHYO2aljnjDV49A1hHwrKEcBL4y6mVF0vczyu
|
||||
Z8SfX8hMCrJnZnMLrq8RAIC91ZVRl0Z6Zi+iijFZEceN1aUKzY9MQ9I5pONuxZQa
|
||||
lH810jA+21uAW9UjV5yGm2BD3rckY1R354lfjFtjooihkrntnjV+Gy9mRNIe56VC
|
||||
szpIFS9epNsZCzzbV2p8plsSsvSbJPMBiptrI112nsxssisbkSkwDUr3Dia7QDRM
|
||||
QwRqUQeN6bjKA82JvDbGfFRWTdjZWM2qtFPsAxVp3/kgkBuqF0I+3np90+PYCaec
|
||||
7tcFjf+UUBFTo6TgztmyxBTkgg1BWd6VKoHZNE97noRhAEKkUZjeGqeRxi/Dh4ZE
|
||||
wWBlRo/7rH+eB39/zX7in9XdH9GiKWCxtjaN16moBlk6gv/SD3WZbgKsOqxkO4x9
|
||||
/ekyE6Q01BrR5+TwxT9WvoJW6cW3aXlI0nsh6rR5FvhcQAoOFik=
|
||||
=Dmfn
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="language independent text-to-speech system"
|
||||
HOMEPAGE="http://epos.ufe.cz/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=app-text/sgmltools-lite-3.0.3-r9
|
||||
dev-util/byacc"
|
||||
RDEPEND=""
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.5.37-gcc43.patch
|
||||
"${FILESDIR}"/${PN}-2.5.37-gcc45.patch
|
||||
"${FILESDIR}"/${PN}-2.5.37-gcc47.patch
|
||||
"${FILESDIR}"/${PN}-2.5.37-disable-tests.patch
|
||||
"${FILESDIR}"/${PN}-2.5.37-gcc7.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s/CCC/#CCC/" configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-charsets \
|
||||
--disable-portaudio \
|
||||
YACC=byacc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
doinitd "${FILESDIR}/eposd"
|
||||
dodoc WELCOME THANKS Changes "${FILESDIR}/README.gentoo"
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="language independent text-to-speech system"
|
||||
HOMEPAGE="http://epos.ufe.cz/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-util/byacc"
|
||||
RDEPEND=""
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.5.37-gcc43.patch
|
||||
"${FILESDIR}"/${PN}-2.5.37-gcc45.patch
|
||||
"${FILESDIR}"/${PN}-2.5.37-gcc47.patch
|
||||
"${FILESDIR}"/${PN}-2.5.37-disable-tests.patch
|
||||
"${FILESDIR}"/${PN}-2.5.37-gcc7.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s/CCC/#CCC/" configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-charsets \
|
||||
--disable-portaudio \
|
||||
YACC=byacc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
doinitd "${FILESDIR}/eposd"
|
||||
dodoc WELCOME THANKS Changes "${FILESDIR}/README.gentoo"
|
||||
}
|
Binary file not shown.
@ -0,0 +1,117 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop eutils xdg-utils
|
||||
|
||||
MY_PN="KeePass"
|
||||
DESCRIPTION="A free, open source, light-weight and easy-to-use password manager"
|
||||
HOMEPAGE="https://keepass.info/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="aot"
|
||||
|
||||
COMMON_DEPEND="dev-lang/mono"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-arch/unzip
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
dev-dotnet/libgdiplus[cairo]
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
|
||||
|
||||
# bug #687052
|
||||
# file generated by mono --aot where *FLAGS don't make sense
|
||||
QA_PREBUILT="usr/lib64/keepass/KeePass.exe.so"
|
||||
|
||||
src_prepare() {
|
||||
# KeePass looks for some XSL files in the same folder as the executable,
|
||||
# we prefer to have it in /usr/share/KeePass. Apply patch using base function.
|
||||
# This XSL file will not be upstreamed since the KeePass creator said that
|
||||
# including this patch would break the Portable USB version of KeePass
|
||||
# (which keeps/looks for xsl files in its own folder)
|
||||
default
|
||||
|
||||
# Switch into build dir so the mono prepration script works correctly
|
||||
pushd Build || die
|
||||
source PrepMonoDev.sh || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export MONO_REGISTRY_PATH=/dev/null # bug 659808
|
||||
|
||||
# Build with Release target
|
||||
xbuild /target:KeePass /property:Configuration=Release || die
|
||||
|
||||
# Run Ahead Of Time compiler on the binary
|
||||
if use aot; then
|
||||
cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
|
||||
mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Wrapper script to launch mono
|
||||
make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
|
||||
|
||||
# Some XSL files
|
||||
insinto "/usr/share/${PN}/XSL"
|
||||
doins Ext/XSL/*
|
||||
|
||||
insinto "/usr/$(get_libdir)/${PN}"
|
||||
exeinto "/usr/$(get_libdir)/${PN}"
|
||||
|
||||
doins Ext/KeePass.exe.config
|
||||
|
||||
# Default configuration, simply says to use user-specific configuration
|
||||
doins Ext/KeePass.config.xml
|
||||
|
||||
# The actual executable
|
||||
doexe Build/KeePass/Release/KeePass.exe
|
||||
|
||||
# Copy the AOT compilation result
|
||||
if use aot; then
|
||||
doexe Build/KeePass/Release/KeePass.exe.so
|
||||
fi
|
||||
|
||||
# Prepare the icons
|
||||
newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
|
||||
newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png "application-x-${PN}2.png"
|
||||
|
||||
# Create a desktop entry and associate it with the KeePass mime type
|
||||
make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" "MimeType=application/x-keepass2;\nStartupWMClass=KeePass2;"
|
||||
|
||||
# MIME descriptor for .kdbx files
|
||||
insinto /usr/share/mime/packages
|
||||
doins "${FILESDIR}/${PN}.xml"
|
||||
|
||||
# sed, because patching this really sucks
|
||||
sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass" || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
|
||||
if ! has_version x11-misc/xdotool ; then
|
||||
elog "Optional dependencies:"
|
||||
elog " x11-misc/xdotool (enables autotype/autofill)"
|
||||
fi
|
||||
|
||||
elog "Some systems may experience issues with copy and paste operations."
|
||||
elog "If you encounter this, please install x11-misc/xsel."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST kpcli-3.4.pl 211243 BLAKE2B 4880d832554de1956e033bba2e2021b9dc0b77202585663b0f4ad2acca520bcb430ac974bbea00c21aa37c2c8e8fa8c5cf2e8131542c20ecc3c6b0ac6dd85d9a SHA512 1ec9ea46f769a6891700565a51c592fd4809a0f3bc1d2088ca694233b276652506b470328b8b840cd0876b945faad27a16a5685d8655868cd20760f24619ffaf
|
||||
DIST kpcli-3.5.pl 223904 BLAKE2B 1d2a497c0225980eabf0c95d9fa2e89e7d94e4422f97744fb325d41393b80ecaf423b67666014c2c41076b9b2e85c41e761e72b3b89800b405d26b67f49f9afc SHA512 d9454d47cd90e647ec0695b9a571c64c389569a676e1d172fd6b6a6dfd1170ca63bb23ca2c00dc35e93984fad409864c13d5562484a1a513a152008b27cf9c0b
|
||||
EBUILD kpcli-3.4.ebuild 961 BLAKE2B 7977700e35b9de9a1aca2f8b78d70fe24dffd24bcb5129cb1973f79cd57a432fd8543018824f7d5fc747ee7886db2a2237649389b2eee38dfed10aa55d0ffedb SHA512 095dc8d271e2ae90b6910eaff98e290febfca02a7586fd44e5badd8c924b2f02ef80796983f285d6c7cc547c3cfbb4cf084e256850cad08e23fc6a8b7fb86ad7
|
||||
EBUILD kpcli-3.5.ebuild 983 BLAKE2B e00f7537cd5f6c98a734e514986bc6a742ee93229d2e7e93352a02e0244d1d61f61c970e074c87e80280eb1f3981710b7d82cc934aa613c34b9c1db3a5900d3c SHA512 9be229049fe4acc306073b6de049ef3716a53737eb3b9384dcd9d80966b4cc54e21db4e13a7254039e43c2e80f1bab3bfe754547b69e937d05b9609f4d16d858
|
||||
MISC metadata.xml 476 BLAKE2B 49c33b8c9713bf01f667d60e72900e99139ff425e1c10e74736bdeff840e66d7a507aa079ca334639abb9e8ef1899aa3ed37114cbf196f9309124d54ea13b774 SHA512 35280ba9f2eafc0e28b098ce0af3ec9fec17fbb956068b873516c0a28539c4d05cfecfdf71477a9fb78cf3238ad7363dc128ad149e91619485624959b780805b
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit optfeature
|
||||
|
||||
DESCRIPTION="A command line interface to KeePass database files"
|
||||
HOMEPAGE="http://kpcli.sourceforge.net"
|
||||
SRC_URI="https://downloads.sourceforge.net/project/kpcli/${P}.pl"
|
||||
|
||||
LICENSE="|| ( Artistic GPL-1+ )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="dev-perl/Clone
|
||||
dev-perl/Crypt-Rijndael
|
||||
dev-perl/File-KeePass
|
||||
dev-perl/Math-Random-ISAAC
|
||||
dev-perl/Sort-Naturally
|
||||
dev-perl/Sub-Install
|
||||
dev-perl/TermReadKey
|
||||
dev-perl/Term-ReadLine-Gnu
|
||||
dev-perl/Term-ShellUI"
|
||||
|
||||
src_unpack() {
|
||||
mkdir "${S}" || die
|
||||
cp "${DISTDIR}/${P}.pl" "${S}/${PN}" || die
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dobin kpcli
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Not packaged in Gentoo yet, but we'd be interested in:
|
||||
# Data::Password, Data::Password::passwdqc, Crypt::PWSafe3, (Authen::OATH (& Convert::Base32)).
|
||||
optfeature "X clipboard support" "dev-perl/Capture-Tiny dev-perl/Clipboard"
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit linux-info systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="A tool to log and decode Machine Check Exceptions"
|
||||
HOMEPAGE="http://mcelog.org/"
|
||||
SRC_URI="https://github.com/andikleen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="selinux"
|
||||
|
||||
RDEPEND="selinux? ( sec-policy/selinux-mcelog )"
|
||||
|
||||
# TODO: add mce-inject to the tree to support test phase
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ ${MERGE_TYPE} != buildonly ]]; then
|
||||
local CONFIG_CHECK="~X86_MCE"
|
||||
kernel_is -ge 4 12 && CONFIG_CHECK+=" ~X86_MCELOG_LEGACY"
|
||||
check_extra_config
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}"/${PN}-0.8_pre1-timestamp-${PN}.patch \
|
||||
"${FILESDIR}"/${PN}-129-debugflags.patch
|
||||
eapply_user
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
insinto /etc/cron.daily
|
||||
newins ${PN}.cron ${PN}
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins ${PN}.logrotate ${PN}
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
|
||||
dodoc *.pdf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "The default configuration set is now installed in /etc/${PN}"
|
||||
einfo "you might want to edit those files."
|
||||
einfo
|
||||
einfo "A sample cronjob is installed into /etc/cron.daily"
|
||||
einfo "without executable bit (system service is the preferred method now)"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST restart-services-0.14.1.tgz 20909 BLAKE2B 2f6b74fc6094be83e1872d2a6ca7abb02a49b5db65d81cd37f8161bac148e5fe0614502f1f06356ff9cd6c6ba03c416dae1eec3a86f48dc011bc6e28c1b076e3 SHA512 3434c4b6cdf9d02b035eba2cc67cebe8e06a2cf31c2d8627063b84224dcb6d44e276e1fcb82221ad77ab7ee7e16fa7ee58fb94b7849d40e6786d3fcfb6087866
|
||||
DIST restart-services-0.15.2.tgz 23688 BLAKE2B e043b872d55109ad176a6437006cf581a993e72e460bb034625ed612f9ceca85ef91a20e90f23bcecc964caa527cfa4bc39d97c52487b7bf92eec21dc2e35c48 SHA512 afe7c96aabf61d664460d5d68447df09b3d9a54098887727db796821220f5ddd5a3b5030d995d5a6c3128e4a2b8494b9a0a3b86b5c805d56c0e201058ad04327
|
||||
EBUILD restart-services-0.14.1.ebuild 2285 BLAKE2B 7eb13e920790aae88e74b10cce100923aa490726011cdc33f96d0a38be957a0cbdc44e13a52b51a8b3c8d30e33464f72073f49888ffc4c573a65287ed49624c7 SHA512 841a1c6fa9d4c8b435f015c1785dd7c39929c808d771b7095f89a2d2832664a5b8915b3dfe56db5d9e4898a3d21b93e2c8ae01fa4502f33e5396ec6508c55a53
|
||||
DIST restart-services-0.16.0.tgz 24531 BLAKE2B fea233755d214a502096551226078a7fe15a75ccf937bbf8a75c78b7a294b5977da453f54f37e3d7e65f131e49e018bf08bec6245a3aa46ec6c3bec94019f5ad SHA512 57b3514132c02839cafbfd9152445a6482cf3591e22d18436a4d894061b59d2495863a912a87495559e9945a39715e7e798dca44dafd52c26b5412d749f37cc2
|
||||
EBUILD restart-services-0.15.2.ebuild 1791 BLAKE2B dd068050b6902dae67edf63b00afc64e65b53225d14e7a201da6cee76dbed62af643625a7ed10a4021481f4e3a0a31f8534972ba6132cd468262af73947042c2 SHA512 74dc54132343203ab53b13d1649bd9e4b3a28d31040e5c54f32707b94267cb0d29873d48e3a3e00d70a7763a6f57d841518602c405599f575e359b5fa9f1e999
|
||||
EBUILD restart-services-0.16.0.ebuild 1793 BLAKE2B 7cba407e822b45ea90c5cc88ad767d232d4195f5e4b8d217237833f36679081ab7bf367d96d406e02adad4722a23d8826ee958bf6af70248e5d8156fd9951b66 SHA512 d958bd1e77eb7b68d89a55e34716d0f4f4dd2b1af407a3449d8d859484770747bd05ad9668c5e1ecc32636d8e63c692480a9d4316b8f8e5d25caa3740d1ec109
|
||||
MISC metadata.xml 250 BLAKE2B fef48a48388f26a915c53bca9aa9cab62fb73ec006736542afb4cbbe0c7b81d23afe2884f52433c7d390fc38ac32f957a6f6efe285ee1cafaed76407a964cf9b SHA512 924271cfb32ceafc4134e19b53fbeed96f2e9056addc3c2cbdec28890254abf5f0714979a3ab698ca046e41ef5c2cca2932350830bd8bd3a8e214d99123c12de
|
||||
|
@ -1,83 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Tool to manage OpenRC services that need to be restarted"
|
||||
HOMEPAGE="https://dev.gentoo.org/~mschiff/restart-services/"
|
||||
SRC_URI="https://dev.gentoo.org/~mschiff/src/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
app-admin/lib_users
|
||||
sys-apps/openrc
|
||||
"
|
||||
|
||||
src_install() {
|
||||
dosbin restart-services
|
||||
doman restart-services.1
|
||||
keepdir /etc/restart-services.d
|
||||
insinto /etc
|
||||
doins restart-services.conf
|
||||
dodoc README CHANGES
|
||||
|
||||
# remove after 2018/07/01
|
||||
dosym restart-services /usr/sbin/restart_services
|
||||
|
||||
sed -i 's/^#include/include/' "${D}"/etc/restart-services.conf
|
||||
cat>"${D}"/etc/restart-services.d/00-local.conf<<-EOF
|
||||
# You may put your local changes here or in any other *.conf file
|
||||
# in this directory so you can leave /etc/restart-services.conf as is.
|
||||
# Example:
|
||||
# *extend* SV_ALWAYS to match 'myservice'
|
||||
# SV_ALWAYS+=( myservice )
|
||||
EOF
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local MAJOR MINOR
|
||||
# migrate config data for versions < 0.13.2
|
||||
if [[ $REPLACING_VERSIONS ]]; then
|
||||
MAJOR=${REPLACING_VERSIONS%%.*}
|
||||
MINOR=${REPLACING_VERSIONS%.*}
|
||||
MINOR=${MINOR#*.}
|
||||
|
||||
if [[ $MAJOR -eq 0 && $MINOR -lt 14 ]]; then
|
||||
einfo "Migrating config"
|
||||
if [[ -e /etc/restart-services.d ]]; then
|
||||
ewarn "/etc/restart-services.d already exists?!"
|
||||
return
|
||||
fi
|
||||
if [[ -e /etc/restart-services.conf ]]; then
|
||||
ewarn "/etc/restart-services.conf already exists?!"
|
||||
return
|
||||
fi
|
||||
|
||||
if [[ -f /etc/restart_services.d/00-local.conf ]]; then
|
||||
sed -i 's/restart_services/restart-services/g' \
|
||||
/etc/restart_services.d/00-local.conf
|
||||
fi
|
||||
if [[ $(ls /etc/restart_services.d/) ]]; then
|
||||
mv -v /etc/restart_services.d/* /etc/restart-services.d/
|
||||
fi
|
||||
if [[ -f /etc/restart_services.d/.keep_app-admin_restart_services-0 ]]; then
|
||||
rm -v /etc/restart_services.d/.keep_app-admin_restart_services-0
|
||||
fi
|
||||
if [[ -d /etc/restart_services.d ]]; then
|
||||
rmdir -v /etc/restart_services.d
|
||||
fi
|
||||
|
||||
if [[ -f /etc/restart_services.conf ]]; then
|
||||
sed -i 's/restart_services/restart-services/g' \
|
||||
/etc/restart_services.conf
|
||||
mv /etc/restart_services.conf /etc/restart-services.conf
|
||||
fi
|
||||
einfo "done"
|
||||
fi
|
||||
fi
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Tool to manage OpenRC services that need to be restarted"
|
||||
HOMEPAGE="https://dev.gentoo.org/~mschiff/restart-services/"
|
||||
SRC_URI="https://dev.gentoo.org/~mschiff/src/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
app-admin/lib_users
|
||||
sys-apps/openrc
|
||||
app-portage/portage-utils
|
||||
"
|
||||
|
||||
src_install() {
|
||||
dosbin restart-services
|
||||
doman restart-services.1
|
||||
keepdir /etc/restart-services.d
|
||||
insinto /etc
|
||||
doins restart-services.conf
|
||||
dodoc README CHANGES
|
||||
|
||||
sed -i 's/^#include/include/' "${D}"/etc/restart-services.conf
|
||||
cat>"${D}"/etc/restart-services.d/00-local.conf<<-EOF
|
||||
# You may put your local changes here or in any other *.conf file
|
||||
# in this directory so you can leave /etc/restart-services.conf as is.
|
||||
# Example:
|
||||
# *extend* SV_ALWAYS to match 'myservice'
|
||||
# SV_ALWAYS+=( myservice )
|
||||
EOF
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local MAJOR MINOR
|
||||
# migrate config data for versions < 0.13.2
|
||||
if [[ $REPLACING_VERSIONS ]]; then
|
||||
MAJOR=${REPLACING_VERSIONS%%.*}
|
||||
MINOR=${REPLACING_VERSIONS%.*}
|
||||
MINOR=${MINOR#*.}
|
||||
|
||||
if [[ $MAJOR -eq 0 && $MINOR -lt 14 ]]; then
|
||||
einfo "Checking for old config"
|
||||
if [[ -f /etc/restart_services.conf ]]; then
|
||||
ewarn "Old config file found: /etc/restart_services.conf"
|
||||
ewarn "It will be ignored so please migrate settings to a file in"
|
||||
ewarn "/etc/restart-services.d/ and/or remove /etc/restart_services.conf"
|
||||
fi
|
||||
if [[ -d /etc/restart_services.d ]]; then
|
||||
ewarn "Old config directory found: /etc/restart_services.d"
|
||||
ewarn "It will be ignored so please migrate files to /etc/restart-services.d"
|
||||
ewarn "and/or remove /etc/restart_services.d"
|
||||
fi
|
||||
einfo "done"
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,185 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{7..8} )
|
||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||
inherit systemd distutils-r1
|
||||
|
||||
DESCRIPTION="Salt is a remote execution and configuration manager"
|
||||
HOMEPAGE="https://www.saltstack.com/resources/community/
|
||||
https://github.com/saltstack"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://github.com/${PN}stack/${PN}.git"
|
||||
EGIT_BRANCH="develop"
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="cheetah cherrypy ldap libcloud libvirt genshi gnupg keyring mako
|
||||
mongodb neutron nova openssl portage profile redis selinux test raet
|
||||
+zeromq vim-syntax"
|
||||
|
||||
RDEPEND="
|
||||
sys-apps/pciutils
|
||||
dev-python/distro[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/libnacl[${PYTHON_USEDEP}]
|
||||
>=dev-python/msgpack-0.5[${PYTHON_USEDEP}]
|
||||
<dev-python/msgpack-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycryptodome-3.9.7[${PYTHON_USEDEP}]
|
||||
dev-python/pycryptodomex[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/markupsafe[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/toml[${PYTHON_USEDEP}]
|
||||
dev-python/watchdog[${PYTHON_USEDEP}]
|
||||
libcloud? ( >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}] )
|
||||
mako? ( dev-python/mako[${PYTHON_USEDEP}] )
|
||||
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
|
||||
libvirt? (
|
||||
$(python_gen_cond_dep 'dev-python/libvirt-python[${PYTHON_USEDEP}]' python3_7)
|
||||
)
|
||||
openssl? (
|
||||
dev-libs/openssl:0=[-bindist]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
)
|
||||
raet? (
|
||||
>=dev-python/libnacl-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ioflo-1.1.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/raet-0.6.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
cherrypy? ( >=dev-python/cherrypy-3.2.2[${PYTHON_USEDEP}] )
|
||||
cheetah? ( dev-python/cheetah3[${PYTHON_USEDEP}] )
|
||||
mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
|
||||
portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
|
||||
keyring? ( dev-python/keyring[${PYTHON_USEDEP}] )
|
||||
redis? ( dev-python/redis-py[${PYTHON_USEDEP}] )
|
||||
selinux? ( sec-policy/selinux-salt )
|
||||
nova? (
|
||||
$(python_gen_cond_dep '>=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}]' python3_7)
|
||||
)
|
||||
neutron? (
|
||||
$(python_gen_cond_dep '>=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}]' python3_7)
|
||||
)
|
||||
gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
|
||||
profile? ( dev-python/yappi[${PYTHON_USEDEP}] )
|
||||
vim-syntax? ( app-vim/salt-vim )
|
||||
zeromq? ( >=dev-python/pyzmq-2.2.0[${PYTHON_USEDEP}] )
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
>=dev-python/boto-2.32.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/moto-0.3.6[${PYTHON_USEDEP}]
|
||||
dev-python/pip[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-salt-2020.1.27[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-salt-factories[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-tempdir[${PYTHON_USEDEP}]
|
||||
>=dev-python/SaltTesting-2016.5.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/virtualenv-20.0.20[${PYTHON_USEDEP}]
|
||||
!x86? ( >=dev-python/boto3-1.3.15[${PYTHON_USEDEP}] )
|
||||
)"
|
||||
|
||||
DOCS=( README.rst AUTHORS )
|
||||
|
||||
REQUIRED_USE="|| ( raet zeromq )
|
||||
test? ( cheetah genshi )"
|
||||
RESTRICT="!test? ( test ) x86? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/salt-2019.2.0-skip-tests-that-oom-machine.patch"
|
||||
"${FILESDIR}/salt-3001.1-tests.patch"
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# remove tests with external dependencies that may not be available
|
||||
rm tests/unit/{test_zypp_plugins.py,utils/test_extend.py} || die
|
||||
rm tests/unit/modules/test_{file,boto_{vpc,secgroup,elb}}.py || die
|
||||
rm tests/unit/states/test_boto_vpc.py || die
|
||||
rm tests/support/gitfs.py tests/unit/runners/test_git_pillar.py || die
|
||||
|
||||
# tests that require network access
|
||||
rm tests/unit/{states,modules}/test_zcbuildout.py || die
|
||||
|
||||
# make sure pkg_resources doesn't bomb because pycrypto isn't installed
|
||||
find . -name '*.txt' -print0 | xargs -0 sed -e '/pycrypto>/ d' -i || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_prepare() {
|
||||
einfo "Fixing collections.abc warnings for ${EPYTHON}"
|
||||
local abc
|
||||
abc="$("${EPYTHON}" -c 'import collections.abc; print("|".join((c for c in dir(collections.abc) if not c.startswith("_"))))')" || die
|
||||
find -name '*.py' -type f -print0 | xargs -0 sed -r -e "s:collections\\.(${abc}):collections.abc.\\1:g" -i || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local svc
|
||||
USE_SETUPTOOLS=1 distutils-r1_python_install_all
|
||||
|
||||
for svc in minion master syndic api; do
|
||||
newinitd "${FILESDIR}"/${svc}-initd-4 salt-${svc}
|
||||
newconfd "${FILESDIR}"/${svc}-confd-1 salt-${svc}
|
||||
systemd_dounit "${FILESDIR}"/salt-${svc}.service
|
||||
done
|
||||
|
||||
insinto /etc/${PN}
|
||||
doins -r conf/*
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local tempdir
|
||||
# testsuite likes lots of files
|
||||
ulimit -n 3072 || die
|
||||
|
||||
# ${T} is too long a path for the tests to work
|
||||
tempdir="$(mktemp -du --tmpdir=/tmp salt-XXX)"
|
||||
mkdir "${T}/$(basename "${tempdir}")"
|
||||
|
||||
(
|
||||
cleanup() { rm -f "${tempdir}" || die; }
|
||||
|
||||
trap cleanup EXIT
|
||||
|
||||
addwrite "${tempdir}"
|
||||
ln -s "$(realpath --relative-to=/tmp "${T}/$(basename "${tempdir}")")" "${tempdir}" || die
|
||||
|
||||
USE_SETUPTOOLS=1 SHELL="/bin/bash" \
|
||||
TMPDIR="${tempdir}" \
|
||||
${EPYTHON} tests/runtests.py \
|
||||
--unit-tests --no-report --verbose \
|
||||
|| die "testing failed with ${EPYTHON}"
|
||||
)
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use python_targets_python3_8; then
|
||||
if use nova; then
|
||||
ewarn "Salt's nova functionality will not work with python3.8 since"
|
||||
ewarn "dev-python/python-novaclient does not support it yet"
|
||||
fi
|
||||
if use neutron; then
|
||||
ewarn "Salt's neutron functionality will not work with python3.8 since"
|
||||
ewarn "dev-python/python-neutronclient does not support it yet"
|
||||
fi
|
||||
if use libvirt; then
|
||||
ewarn "Salt's libvirt functionality will not work with python3.8 since"
|
||||
ewarn "dev-python/libvirt-python does not support it yet"
|
||||
fi
|
||||
fi
|
||||
}
|
@ -0,0 +1,184 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{7..8} )
|
||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||
inherit systemd distutils-r1
|
||||
|
||||
DESCRIPTION="Salt is a remote execution and configuration manager"
|
||||
HOMEPAGE="https://www.saltstack.com/resources/community/
|
||||
https://github.com/saltstack"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://github.com/${PN}stack/${PN}.git"
|
||||
EGIT_BRANCH="develop"
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="cheetah cherrypy ldap libcloud libvirt genshi gnupg keyring mako
|
||||
mongodb neutron nova openssl portage profile redis selinux test raet
|
||||
+zeromq vim-syntax"
|
||||
|
||||
RDEPEND="
|
||||
sys-apps/pciutils
|
||||
dev-python/distro[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/libnacl[${PYTHON_USEDEP}]
|
||||
>=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycryptodome-3.9.7[${PYTHON_USEDEP}]
|
||||
dev-python/pycryptodomex[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/markupsafe[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/toml[${PYTHON_USEDEP}]
|
||||
dev-python/watchdog[${PYTHON_USEDEP}]
|
||||
libcloud? ( >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}] )
|
||||
mako? ( dev-python/mako[${PYTHON_USEDEP}] )
|
||||
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
|
||||
libvirt? (
|
||||
$(python_gen_cond_dep 'dev-python/libvirt-python[${PYTHON_USEDEP}]' python3_7)
|
||||
)
|
||||
openssl? (
|
||||
dev-libs/openssl:0=[-bindist]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
)
|
||||
raet? (
|
||||
>=dev-python/libnacl-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ioflo-1.1.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/raet-0.6.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
cherrypy? ( >=dev-python/cherrypy-3.2.2[${PYTHON_USEDEP}] )
|
||||
cheetah? ( dev-python/cheetah3[${PYTHON_USEDEP}] )
|
||||
mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
|
||||
portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
|
||||
keyring? ( dev-python/keyring[${PYTHON_USEDEP}] )
|
||||
redis? ( dev-python/redis-py[${PYTHON_USEDEP}] )
|
||||
selinux? ( sec-policy/selinux-salt )
|
||||
nova? (
|
||||
$(python_gen_cond_dep '>=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}]' python3_7)
|
||||
)
|
||||
neutron? (
|
||||
$(python_gen_cond_dep '>=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}]' python3_7)
|
||||
)
|
||||
gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
|
||||
profile? ( dev-python/yappi[${PYTHON_USEDEP}] )
|
||||
vim-syntax? ( app-vim/salt-vim )
|
||||
zeromq? ( >=dev-python/pyzmq-2.2.0[${PYTHON_USEDEP}] )
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
>=dev-python/boto-2.32.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/moto-0.3.6[${PYTHON_USEDEP}]
|
||||
dev-python/pip[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-salt-2020.1.27[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-salt-factories[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-tempdir[${PYTHON_USEDEP}]
|
||||
>=dev-python/SaltTesting-2016.5.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/virtualenv-20.0.20[${PYTHON_USEDEP}]
|
||||
!x86? ( >=dev-python/boto3-1.3.15[${PYTHON_USEDEP}] )
|
||||
)"
|
||||
|
||||
DOCS=( README.rst AUTHORS )
|
||||
|
||||
REQUIRED_USE="|| ( raet zeromq )
|
||||
test? ( cheetah genshi )"
|
||||
RESTRICT="!test? ( test ) x86? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/salt-2019.2.0-skip-tests-that-oom-machine.patch"
|
||||
"${FILESDIR}/salt-3001.1-tests.patch"
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# remove tests with external dependencies that may not be available
|
||||
rm tests/unit/{test_zypp_plugins.py,utils/test_extend.py} || die
|
||||
rm tests/unit/modules/test_{file,boto_{vpc,secgroup,elb}}.py || die
|
||||
rm tests/unit/states/test_boto_vpc.py || die
|
||||
rm tests/support/gitfs.py tests/unit/runners/test_git_pillar.py || die
|
||||
|
||||
# tests that require network access
|
||||
rm tests/unit/{states,modules}/test_zcbuildout.py || die
|
||||
|
||||
# make sure pkg_resources doesn't bomb because pycrypto isn't installed
|
||||
find . -name '*.txt' -print0 | xargs -0 sed -e '/pycrypto>/ d' -i || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_prepare() {
|
||||
einfo "Fixing collections.abc warnings for ${EPYTHON}"
|
||||
local abc
|
||||
abc="$("${EPYTHON}" -c 'import collections.abc; print("|".join((c for c in dir(collections.abc) if not c.startswith("_"))))')" || die
|
||||
find -name '*.py' -type f -print0 | xargs -0 sed -r -e "s:collections\\.(${abc}):collections.abc.\\1:g" -i || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local svc
|
||||
USE_SETUPTOOLS=1 distutils-r1_python_install_all
|
||||
|
||||
for svc in minion master syndic api; do
|
||||
newinitd "${FILESDIR}"/${svc}-initd-4 salt-${svc}
|
||||
newconfd "${FILESDIR}"/${svc}-confd-1 salt-${svc}
|
||||
systemd_dounit "${FILESDIR}"/salt-${svc}.service
|
||||
done
|
||||
|
||||
insinto /etc/${PN}
|
||||
doins -r conf/*
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local tempdir
|
||||
# testsuite likes lots of files
|
||||
ulimit -n 3072 || die
|
||||
|
||||
# ${T} is too long a path for the tests to work
|
||||
tempdir="$(mktemp -du --tmpdir=/tmp salt-XXX)"
|
||||
mkdir "${T}/$(basename "${tempdir}")"
|
||||
|
||||
(
|
||||
cleanup() { rm -f "${tempdir}" || die; }
|
||||
|
||||
trap cleanup EXIT
|
||||
|
||||
addwrite "${tempdir}"
|
||||
ln -s "$(realpath --relative-to=/tmp "${T}/$(basename "${tempdir}")")" "${tempdir}" || die
|
||||
|
||||
USE_SETUPTOOLS=1 SHELL="/bin/bash" \
|
||||
TMPDIR="${tempdir}" \
|
||||
${EPYTHON} tests/runtests.py \
|
||||
--unit-tests --no-report --verbose \
|
||||
|| die "testing failed with ${EPYTHON}"
|
||||
)
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use python_targets_python3_8; then
|
||||
if use nova; then
|
||||
ewarn "Salt's nova functionality will not work with python3.8 since"
|
||||
ewarn "dev-python/python-novaclient does not support it yet"
|
||||
fi
|
||||
if use neutron; then
|
||||
ewarn "Salt's neutron functionality will not work with python3.8 since"
|
||||
ewarn "dev-python/python-neutronclient does not support it yet"
|
||||
fi
|
||||
if use libvirt; then
|
||||
ewarn "Salt's libvirt functionality will not work with python3.8 since"
|
||||
ewarn "dev-python/libvirt-python does not support it yet"
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,12 +1,8 @@
|
||||
AUX sudo-1.9.2-glibc-2.32.patch 10057 BLAKE2B 2027bbef7db5f4a523959e9456ebe625028f55607a22869bcc7deb9ec3787d28d3955fc0a0670976c557f070fa31a56bb167d1c6618f955163a240f852c5a4f6 SHA512 de7147130e923ce083637231f5e5a6dcf41cdd1a2bf901754b573239898d144938ebaaa55a8b1cd44138f313bfa59de6b8eac5d18ecb7c61e501dc0213f144b6
|
||||
DIST sudo-1.8.31.tar.gz 3350674 BLAKE2B de5a968732fdd58933b4c513d13c43a08cb50075a00c3e0d338c9892570a416a2b3a8f19940c0893715f4eeab991e804831a87ef656ffd91e7f1ba047c119261 SHA512 b9e408a322938c7a712458e9012d8a5f648fba5b23a5057cf5d8372c7f931262595f1575c32c32b9cb1a04af670ff4611e7df48d197e5c4cc038d6b65439a28a
|
||||
DIST sudo-1.8.31p1.tar.gz 3351312 BLAKE2B 85775ef574a3a1a9cc749809fe81f8350f7a4e3f46a905bc3392790b20bb7bc8e3c99fb504e01776f3a92aa6afa7972d3ff1c071aadd3a08ee1d2281f8b9ba50 SHA512 9344fd1d8a8445e8afb9c5628cdc832fe32ea29199f071f35fb6ec694371801556df560f4382afec199f468b1f3264ad5e3a89e964612e571b8d911f823724cc
|
||||
DIST sudo-1.8.31p2.tar.gz 3353538 BLAKE2B 274c72232e18c8ff5006b61ad4d384582ec0296af6326377f08ff4e59c6a4a4fc5e2245874bf9a7c6b010addae600dd41f042660d5bf9c4bc8eb98983704a5da SHA512 ad1bbbde74d3ab6e947071c6f21e436ebabcf5af11ecc75cde8f0c01ca0b8c6ae1cce2ff42f21612816c636e96722a2a14daa57757644ceab6577091f82242be
|
||||
DIST sudo-1.9.2.tar.gz 3890859 BLAKE2B 879917b8045c999a17ef36006732509aa546ee6bb04de77191fb637aa0420d54f9e51ec69b697c22119d638393e9c84efcc1ca5e6e8ee5f0c08bb1ca07f3acea SHA512 20afdf2604b1c93395157382b24f225cd1ff88d3a892362e2d69fecd240c4e7171f05032c08be1778cd1dea6e460025e4241f57272fac0ea3550e220b6d73d21
|
||||
EBUILD sudo-1.8.31.ebuild 6863 BLAKE2B 605dcb95b2668e74e9fbc915c98aad1c787919036b450476e9c9d50e2151489154d2232d0c1e445bfc6647cccecc240f508c2ef636e64331fcfbce385025ad72 SHA512 ccf9c659c89e469ad9cd0282ef2165a549344734dd3638226506944e39a39574af5f56d96ff0108880571a56a9eb457077fd2e73889fbb9c27a0e766b88f9abc
|
||||
EBUILD sudo-1.8.31_p1.ebuild 6872 BLAKE2B df4b0b8974bebc5683f9e1e1331c1e25f8c2dea63bd8162a3906dda75c92197a35007d3fb3fb257cee91643918be81222cf0141ab13f28a3a789c0c96053cc1b SHA512 688162c59941c57261c7a15726bb5a368bbc40a990c98d18d7d46f67fd0aef3f1a332703a79691f0c133af0202beeaf0af1e8249a8ab6fad0879899698f40f89
|
||||
EBUILD sudo-1.8.31_p2.ebuild 6872 BLAKE2B df4b0b8974bebc5683f9e1e1331c1e25f8c2dea63bd8162a3906dda75c92197a35007d3fb3fb257cee91643918be81222cf0141ab13f28a3a789c0c96053cc1b SHA512 688162c59941c57261c7a15726bb5a368bbc40a990c98d18d7d46f67fd0aef3f1a332703a79691f0c133af0202beeaf0af1e8249a8ab6fad0879899698f40f89
|
||||
DIST sudo-1.9.3rc1.tar.gz 3958021 BLAKE2B 432c6a2c12d04f4acc069dd23dbc08f2238c904be607fde231865ac4b4577d2d2d3c8dd5525c393a55dfa0a7dbf1bef954dfbdc4e1dcff8418a4e155c0bbbdd3 SHA512 0db4d2d659853494244b52a3884e7e9247545fb4ea43525d763b31bfa6bdb87fff3aa1c1514d7f5e5155d7cd593d45d71e384261a6a91e36f5cd7ea281686ebd
|
||||
EBUILD sudo-1.9.2-r1.ebuild 7013 BLAKE2B db8445fef0e42c472efeae9210c773b89145b2a578a6705ab77b8dcfe56ce976e5f0a747bb3884dbd8741facc6ba7051517315a644cfbfc01a90958b271e336e SHA512 e76ff722a7dea45b23f7144fce001c05ce1fa12348ca8ec0e586160b69dacc99e9bc8b877962b525b94255517f7d1d862590e1a73cd436791f7b8985dc17a7a8
|
||||
EBUILD sudo-1.9.2.ebuild 6923 BLAKE2B a01c1479303ff907e6e698f667ea6ead96b75db8c95fd1239b66a8e5b3b781bf5784c2abb439322b1145aadb010dedb2e6261820b21db78a6dfaf54684ea9f9e SHA512 f0b9c27e15e12f02d72426c515a10ce95abfeedae66ad5429536da0aa572c7bf4a758eadd2627b0bb8c8509637707c00211a1492a5bbc89303ee59d7e3a9dec5
|
||||
EBUILD sudo-1.9.2.ebuild 6922 BLAKE2B ca1543dde3d569c92ea36d494ac8c11eb9c6fccfaf1c34696cbf7e37e8f88009c9805fccf658423fe6898493289383d3dfb1562a6a99e8f17fab9b4d7e84c76c SHA512 8559891753c2ee5679edefffb878a21be2c861fd07427a760d79e6aecbfa0cabba3a8ab8a1bcd56b5c1e1ca5d454c657360ef00ad1de9f0c868d32627a3a9ddc
|
||||
EBUILD sudo-1.9.3_rc1.ebuild 6931 BLAKE2B 3e606d2d8186da9b882969e864f90c34bb0b473589abd9e114550fe945a60076e159262085cb3766d14ba061806334ceba3665b2fc37f22e2f589c819335c9f6 SHA512 ff619dd0a8d6842a2bae2cf564cf58797c3ce63bb3acd1fbfe14ebfd511018ea8c3fe993002ed1278fda4403f9e413198c19a69623f0e6548dfb6597c554f357
|
||||
EBUILD sudo-9999.ebuild 6821 BLAKE2B 6ec4c8325e4275d902df02e971ca9b3e87a24b312cabcec7909c8ce94c4662aabada79fe550305603ad92151483bb3ba02a92b1ac49807ed0ba6fa7b14da0f12 SHA512 92536adcffa6e1c62e701d7a00a9032a60d559aa114d196e9851f198321ea8d027e9f7caf598f9d0eae2182362520a3c1ba62117d13b8e8b8ed6c5d9f212e7ac
|
||||
MISC metadata.xml 1379 BLAKE2B 3fb47838664544236c2c5ce55ba77cda8fdef3ff1bd050a775878444040c76ec1d18fecd7ecbcc11121c90e76e9634f4c01da676dc178dbc7787b9250774e28a SHA512 81def82cf20eb6a57d38a1cced2fef18f5f5b56b6bb92a036cf925dec1c1b77f18e3c7b5997f4055ce840873032df65edae08810e6838bb0ab6309020a4a30d6
|
||||
MISC metadata.xml 1161 BLAKE2B 0c501bf06edca82993ece857f9f7565f99da15df36c916bc9dc57e78bccf2b247c382e97dd6c97cc7f5375e1a0513c1a30ecbf097516e96319fd1797257fb117 SHA512 d6bc9cf11ea1bd28c19bfe167580556af517d92c958d63cd7872ab5076840eca39a7ab3d1f56e84fc0fcfb675d7a89c23ccdd3629f665c45232be1140eb950ac
|
||||
|
@ -1,263 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit pam multilib libtool tmpfiles
|
||||
|
||||
MY_P="${P/_/}"
|
||||
MY_P="${MY_P/beta/b}"
|
||||
|
||||
DESCRIPTION="Allows users or groups to run commands as other users"
|
||||
HOMEPAGE="https://www.sudo.ws/"
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://www.sudo.ws/repos/sudo"
|
||||
else
|
||||
uri_prefix=
|
||||
case ${P} in
|
||||
*_beta*|*_rc*) uri_prefix=beta/ ;;
|
||||
esac
|
||||
|
||||
SRC_URI="https://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
|
||||
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz"
|
||||
if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~sparc-solaris"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Basic license is ISC-style as-is, some files are released under
|
||||
# 3-clause BSD license
|
||||
LICENSE="ISC BSD"
|
||||
SLOT="0"
|
||||
IUSE="gcrypt ldap libressl nls offensive pam sasl +secure-path selinux +sendmail skey sssd system-digest"
|
||||
|
||||
DEPEND="
|
||||
sys-libs/zlib:=
|
||||
ldap? (
|
||||
>=net-nds/openldap-2.1.30-r1
|
||||
sasl? (
|
||||
dev-libs/cyrus-sasl
|
||||
net-nds/openldap[sasl]
|
||||
)
|
||||
)
|
||||
pam? ( sys-libs/pam )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
skey? ( >=sys-auth/skey-1.1.5-r1 )
|
||||
sssd? ( sys-auth/sssd[sudo] )
|
||||
system-digest? (
|
||||
gcrypt? ( dev-libs/libgcrypt:= )
|
||||
!gcrypt? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
>=app-misc/editor-wrapper-3
|
||||
virtual/editor
|
||||
ldap? ( dev-lang/perl )
|
||||
pam? ( sys-auth/pambase )
|
||||
selinux? ( sec-policy/selinux-sudo )
|
||||
sendmail? ( virtual/mta )
|
||||
"
|
||||
BDEPEND="
|
||||
sys-devel/bison
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
REQUIRED_USE="
|
||||
pam? ( !skey )
|
||||
skey? ( !pam )
|
||||
"
|
||||
|
||||
MAKEOPTS+=" SAMPLES="
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
set_secure_path() {
|
||||
# FIXME: secure_path is a compile time setting. using PATH or
|
||||
# ROOTPATH is not perfect, env-update may invalidate this, but until it
|
||||
# is available as a sudoers setting this will have to do.
|
||||
einfo "Setting secure_path ..."
|
||||
|
||||
# first extract the default ROOTPATH from build env
|
||||
SECURE_PATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env;
|
||||
echo "${ROOTPATH}")
|
||||
case "${SECURE_PATH}" in
|
||||
*/usr/sbin*) ;;
|
||||
*) SECURE_PATH=$(unset PATH;
|
||||
. "${EPREFIX}"/etc/profile.env; echo "${PATH}")
|
||||
;;
|
||||
esac
|
||||
if [[ -z ${SECURE_PATH} ]] ; then
|
||||
ewarn " Failed to detect SECURE_PATH, please report this"
|
||||
fi
|
||||
|
||||
# then remove duplicate path entries
|
||||
cleanpath() {
|
||||
local newpath thisp IFS=:
|
||||
for thisp in $1 ; do
|
||||
if [[ :${newpath}: != *:${thisp}:* ]] ; then
|
||||
newpath+=:${thisp}
|
||||
else
|
||||
einfo " Duplicate entry ${thisp} removed..."
|
||||
fi
|
||||
done
|
||||
SECURE_PATH=${newpath#:}
|
||||
}
|
||||
cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${SECURE_PATH:+:${SECURE_PATH}}
|
||||
|
||||
# finally, strip gcc paths #136027
|
||||
rmpath() {
|
||||
local e newpath thisp IFS=:
|
||||
for thisp in ${SECURE_PATH} ; do
|
||||
for e ; do [[ ${thisp} == ${e} ]] && continue 2 ; done
|
||||
newpath+=:${thisp}
|
||||
done
|
||||
SECURE_PATH=${newpath#:}
|
||||
}
|
||||
rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*'
|
||||
|
||||
einfo "... done"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local SECURE_PATH
|
||||
set_secure_path
|
||||
|
||||
# audit: somebody got to explain me how I can test this before I
|
||||
# enable it.. - Diego
|
||||
# plugindir: autoconf code is crappy and does not delay evaluation
|
||||
# until `make` time, so we have to use a full path here rather than
|
||||
# basing off other values.
|
||||
myeconfargs=(
|
||||
--enable-zlib=system
|
||||
--enable-tmpfiles.d="${EPREFIX}"/usr/lib/tmpfiles.d
|
||||
--with-editor="${EPREFIX}"/usr/libexec/editor
|
||||
--with-env-editor
|
||||
--with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo
|
||||
--with-rundir="${EPREFIX}"/run/sudo
|
||||
$(use_with secure-path secure-path "${SECURE_PATH}")
|
||||
--with-vardir="${EPREFIX}"/var/db/sudo
|
||||
--without-linux-audit
|
||||
--without-opie
|
||||
$(use_enable gcrypt)
|
||||
$(use_enable nls)
|
||||
$(use_enable sasl)
|
||||
$(use_with offensive insults)
|
||||
$(use_with offensive all-insults)
|
||||
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo)
|
||||
$(use_with ldap)
|
||||
$(use_with pam)
|
||||
$(use_with skey)
|
||||
$(use_with sssd)
|
||||
$(use_with selinux)
|
||||
$(use_with sendmail)
|
||||
)
|
||||
|
||||
if use system-digest && ! use gcrypt; then
|
||||
myeconfargs+=("--enable-openssl")
|
||||
else
|
||||
myeconfargs+=("--disable-openssl")
|
||||
fi
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use ldap ; then
|
||||
dodoc README.LDAP
|
||||
|
||||
cat <<-EOF > "${T}"/ldap.conf.sudo
|
||||
# See ldap.conf(5) and README.LDAP for details
|
||||
# This file should only be readable by root
|
||||
|
||||
# supported directives: host, port, ssl, ldap_version
|
||||
# uri, binddn, bindpw, sudoers_base, sudoers_debug
|
||||
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key}
|
||||
EOF
|
||||
|
||||
if use sasl ; then
|
||||
cat <<-EOF >> "${T}"/ldap.conf.sudo
|
||||
|
||||
# SASL directives: use_sasl, sasl_mech, sasl_auth_id
|
||||
# sasl_secprops, rootuse_sasl, rootsasl_auth_id, krb5_ccname
|
||||
EOF
|
||||
fi
|
||||
|
||||
insinto /etc
|
||||
doins "${T}"/ldap.conf.sudo
|
||||
fperms 0440 /etc/ldap.conf.sudo
|
||||
|
||||
insinto /etc/openldap/schema
|
||||
newins doc/schema.OpenLDAP sudo.schema
|
||||
fi
|
||||
|
||||
pamd_mimic system-auth sudo auth account session
|
||||
|
||||
keepdir /var/db/sudo/lectured
|
||||
fperms 0700 /var/db/sudo/lectured
|
||||
fperms 0711 /var/db/sudo #652958
|
||||
|
||||
# Don't install into /run as that is a tmpfs most of the time
|
||||
# (bug #504854)
|
||||
rm -rf "${ED}"/run
|
||||
|
||||
find "${ED}" -type f -name "*.la" -delete || die #697812
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process sudo.conf
|
||||
|
||||
#652958
|
||||
local sudo_db="${EROOT}/var/db/sudo"
|
||||
if [[ "$(stat -c %a "${sudo_db}")" -ne 711 ]] ; then
|
||||
chmod 711 "${sudo_db}" || die
|
||||
fi
|
||||
|
||||
if use ldap ; then
|
||||
ewarn
|
||||
ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration."
|
||||
ewarn
|
||||
if grep -qs '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf ; then
|
||||
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly"
|
||||
ewarn "configured in /etc/nsswitch.conf."
|
||||
ewarn
|
||||
ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:"
|
||||
ewarn " sudoers: ldap files"
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
if use prefix ; then
|
||||
ewarn
|
||||
ewarn "To use sudo, you need to change file ownership and permissions"
|
||||
ewarn "with root privileges, as follows:"
|
||||
ewarn
|
||||
ewarn " # chown root:root ${EPREFIX}/usr/bin/sudo"
|
||||
ewarn " # chown root:root ${EPREFIX}/usr/lib/sudo/sudoers.so"
|
||||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers"
|
||||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers.d"
|
||||
ewarn " # chown root:root ${EPREFIX}/var/db/sudo"
|
||||
ewarn " # chmod 4111 ${EPREFIX}/usr/bin/sudo"
|
||||
ewarn
|
||||
fi
|
||||
|
||||
elog "To use the -A (askpass) option, you need to install a compatible"
|
||||
elog "password program from the following list. Starred packages will"
|
||||
elog "automatically register for the use with sudo (but will not force"
|
||||
elog "the -A option):"
|
||||
elog ""
|
||||
elog " [*] net-misc/ssh-askpass-fullscreen"
|
||||
elog " net-misc/x11-ssh-askpass"
|
||||
elog ""
|
||||
elog "You can override the choice by setting the SUDO_ASKPASS environmnent"
|
||||
elog "variable to the program you want to use."
|
||||
}
|
@ -1,263 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit pam multilib libtool tmpfiles
|
||||
|
||||
MY_P="${P/_/}"
|
||||
MY_P="${MY_P/beta/b}"
|
||||
|
||||
DESCRIPTION="Allows users or groups to run commands as other users"
|
||||
HOMEPAGE="https://www.sudo.ws/"
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://www.sudo.ws/repos/sudo"
|
||||
else
|
||||
uri_prefix=
|
||||
case ${P} in
|
||||
*_beta*|*_rc*) uri_prefix=beta/ ;;
|
||||
esac
|
||||
|
||||
SRC_URI="https://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
|
||||
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz"
|
||||
if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~sparc-solaris"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Basic license is ISC-style as-is, some files are released under
|
||||
# 3-clause BSD license
|
||||
LICENSE="ISC BSD"
|
||||
SLOT="0"
|
||||
IUSE="gcrypt ldap libressl nls offensive pam sasl +secure-path selinux +sendmail skey sssd system-digest"
|
||||
|
||||
DEPEND="
|
||||
sys-libs/zlib:=
|
||||
ldap? (
|
||||
>=net-nds/openldap-2.1.30-r1
|
||||
sasl? (
|
||||
dev-libs/cyrus-sasl
|
||||
net-nds/openldap[sasl]
|
||||
)
|
||||
)
|
||||
pam? ( sys-libs/pam )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
skey? ( >=sys-auth/skey-1.1.5-r1 )
|
||||
sssd? ( sys-auth/sssd[sudo] )
|
||||
system-digest? (
|
||||
gcrypt? ( dev-libs/libgcrypt:= )
|
||||
!gcrypt? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
>=app-misc/editor-wrapper-3
|
||||
virtual/editor
|
||||
ldap? ( dev-lang/perl )
|
||||
pam? ( sys-auth/pambase )
|
||||
selinux? ( sec-policy/selinux-sudo )
|
||||
sendmail? ( virtual/mta )
|
||||
"
|
||||
BDEPEND="
|
||||
sys-devel/bison
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
REQUIRED_USE="
|
||||
pam? ( !skey )
|
||||
skey? ( !pam )
|
||||
"
|
||||
|
||||
MAKEOPTS+=" SAMPLES="
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
set_secure_path() {
|
||||
# FIXME: secure_path is a compile time setting. using PATH or
|
||||
# ROOTPATH is not perfect, env-update may invalidate this, but until it
|
||||
# is available as a sudoers setting this will have to do.
|
||||
einfo "Setting secure_path ..."
|
||||
|
||||
# first extract the default ROOTPATH from build env
|
||||
SECURE_PATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env;
|
||||
echo "${ROOTPATH}")
|
||||
case "${SECURE_PATH}" in
|
||||
*/usr/sbin*) ;;
|
||||
*) SECURE_PATH=$(unset PATH;
|
||||
. "${EPREFIX}"/etc/profile.env; echo "${PATH}")
|
||||
;;
|
||||
esac
|
||||
if [[ -z ${SECURE_PATH} ]] ; then
|
||||
ewarn " Failed to detect SECURE_PATH, please report this"
|
||||
fi
|
||||
|
||||
# then remove duplicate path entries
|
||||
cleanpath() {
|
||||
local newpath thisp IFS=:
|
||||
for thisp in $1 ; do
|
||||
if [[ :${newpath}: != *:${thisp}:* ]] ; then
|
||||
newpath+=:${thisp}
|
||||
else
|
||||
einfo " Duplicate entry ${thisp} removed..."
|
||||
fi
|
||||
done
|
||||
SECURE_PATH=${newpath#:}
|
||||
}
|
||||
cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${SECURE_PATH:+:${SECURE_PATH}}
|
||||
|
||||
# finally, strip gcc paths #136027
|
||||
rmpath() {
|
||||
local e newpath thisp IFS=:
|
||||
for thisp in ${SECURE_PATH} ; do
|
||||
for e ; do [[ ${thisp} == ${e} ]] && continue 2 ; done
|
||||
newpath+=:${thisp}
|
||||
done
|
||||
SECURE_PATH=${newpath#:}
|
||||
}
|
||||
rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*'
|
||||
|
||||
einfo "... done"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local SECURE_PATH
|
||||
set_secure_path
|
||||
|
||||
# audit: somebody got to explain me how I can test this before I
|
||||
# enable it.. - Diego
|
||||
# plugindir: autoconf code is crappy and does not delay evaluation
|
||||
# until `make` time, so we have to use a full path here rather than
|
||||
# basing off other values.
|
||||
myeconfargs=(
|
||||
--enable-zlib=system
|
||||
--enable-tmpfiles.d="${EPREFIX}"/usr/lib/tmpfiles.d
|
||||
--with-editor="${EPREFIX}"/usr/libexec/editor
|
||||
--with-env-editor
|
||||
--with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo
|
||||
--with-rundir="${EPREFIX}"/run/sudo
|
||||
$(use_with secure-path secure-path "${SECURE_PATH}")
|
||||
--with-vardir="${EPREFIX}"/var/db/sudo
|
||||
--without-linux-audit
|
||||
--without-opie
|
||||
$(use_enable gcrypt)
|
||||
$(use_enable nls)
|
||||
$(use_enable sasl)
|
||||
$(use_with offensive insults)
|
||||
$(use_with offensive all-insults)
|
||||
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo)
|
||||
$(use_with ldap)
|
||||
$(use_with pam)
|
||||
$(use_with skey)
|
||||
$(use_with sssd)
|
||||
$(use_with selinux)
|
||||
$(use_with sendmail)
|
||||
)
|
||||
|
||||
if use system-digest && ! use gcrypt; then
|
||||
myeconfargs+=("--enable-openssl")
|
||||
else
|
||||
myeconfargs+=("--disable-openssl")
|
||||
fi
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use ldap ; then
|
||||
dodoc README.LDAP
|
||||
|
||||
cat <<-EOF > "${T}"/ldap.conf.sudo
|
||||
# See ldap.conf(5) and README.LDAP for details
|
||||
# This file should only be readable by root
|
||||
|
||||
# supported directives: host, port, ssl, ldap_version
|
||||
# uri, binddn, bindpw, sudoers_base, sudoers_debug
|
||||
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key}
|
||||
EOF
|
||||
|
||||
if use sasl ; then
|
||||
cat <<-EOF >> "${T}"/ldap.conf.sudo
|
||||
|
||||
# SASL directives: use_sasl, sasl_mech, sasl_auth_id
|
||||
# sasl_secprops, rootuse_sasl, rootsasl_auth_id, krb5_ccname
|
||||
EOF
|
||||
fi
|
||||
|
||||
insinto /etc
|
||||
doins "${T}"/ldap.conf.sudo
|
||||
fperms 0440 /etc/ldap.conf.sudo
|
||||
|
||||
insinto /etc/openldap/schema
|
||||
newins doc/schema.OpenLDAP sudo.schema
|
||||
fi
|
||||
|
||||
pamd_mimic system-auth sudo auth account session
|
||||
|
||||
keepdir /var/db/sudo/lectured
|
||||
fperms 0700 /var/db/sudo/lectured
|
||||
fperms 0711 /var/db/sudo #652958
|
||||
|
||||
# Don't install into /run as that is a tmpfs most of the time
|
||||
# (bug #504854)
|
||||
rm -rf "${ED}"/run
|
||||
|
||||
find "${ED}" -type f -name "*.la" -delete || die #697812
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process sudo.conf
|
||||
|
||||
#652958
|
||||
local sudo_db="${EROOT}/var/db/sudo"
|
||||
if [[ "$(stat -c %a "${sudo_db}")" -ne 711 ]] ; then
|
||||
chmod 711 "${sudo_db}" || die
|
||||
fi
|
||||
|
||||
if use ldap ; then
|
||||
ewarn
|
||||
ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration."
|
||||
ewarn
|
||||
if grep -qs '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf ; then
|
||||
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly"
|
||||
ewarn "configured in /etc/nsswitch.conf."
|
||||
ewarn
|
||||
ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:"
|
||||
ewarn " sudoers: ldap files"
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
if use prefix ; then
|
||||
ewarn
|
||||
ewarn "To use sudo, you need to change file ownership and permissions"
|
||||
ewarn "with root privileges, as follows:"
|
||||
ewarn
|
||||
ewarn " # chown root:root ${EPREFIX}/usr/bin/sudo"
|
||||
ewarn " # chown root:root ${EPREFIX}/usr/lib/sudo/sudoers.so"
|
||||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers"
|
||||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers.d"
|
||||
ewarn " # chown root:root ${EPREFIX}/var/db/sudo"
|
||||
ewarn " # chmod 4111 ${EPREFIX}/usr/bin/sudo"
|
||||
ewarn
|
||||
fi
|
||||
|
||||
elog "To use the -A (askpass) option, you need to install a compatible"
|
||||
elog "password program from the following list. Starred packages will"
|
||||
elog "automatically register for the use with sudo (but will not force"
|
||||
elog "the -A option):"
|
||||
elog ""
|
||||
elog " [*] net-misc/ssh-askpass-fullscreen"
|
||||
elog " net-misc/x11-ssh-askpass"
|
||||
elog ""
|
||||
elog "You can override the choice by setting the SUDO_ASKPASS environmnent"
|
||||
elog "variable to the program you want to use."
|
||||
}
|
@ -1,263 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit pam multilib libtool tmpfiles
|
||||
|
||||
MY_P="${P/_/}"
|
||||
MY_P="${MY_P/beta/b}"
|
||||
|
||||
DESCRIPTION="Allows users or groups to run commands as other users"
|
||||
HOMEPAGE="https://www.sudo.ws/"
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://www.sudo.ws/repos/sudo"
|
||||
else
|
||||
uri_prefix=
|
||||
case ${P} in
|
||||
*_beta*|*_rc*) uri_prefix=beta/ ;;
|
||||
esac
|
||||
|
||||
SRC_URI="https://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
|
||||
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz"
|
||||
if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~sparc-solaris"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Basic license is ISC-style as-is, some files are released under
|
||||
# 3-clause BSD license
|
||||
LICENSE="ISC BSD"
|
||||
SLOT="0"
|
||||
IUSE="gcrypt ldap libressl nls offensive pam sasl +secure-path selinux +sendmail skey sssd system-digest"
|
||||
|
||||
DEPEND="
|
||||
sys-libs/zlib:=
|
||||
ldap? (
|
||||
>=net-nds/openldap-2.1.30-r1
|
||||
sasl? (
|
||||
dev-libs/cyrus-sasl
|
||||
net-nds/openldap[sasl]
|
||||
)
|
||||
)
|
||||
pam? ( sys-libs/pam )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
skey? ( >=sys-auth/skey-1.1.5-r1 )
|
||||
sssd? ( sys-auth/sssd[sudo] )
|
||||
system-digest? (
|
||||
gcrypt? ( dev-libs/libgcrypt:= )
|
||||
!gcrypt? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
>=app-misc/editor-wrapper-3
|
||||
virtual/editor
|
||||
ldap? ( dev-lang/perl )
|
||||
pam? ( sys-auth/pambase )
|
||||
selinux? ( sec-policy/selinux-sudo )
|
||||
sendmail? ( virtual/mta )
|
||||
"
|
||||
BDEPEND="
|
||||
sys-devel/bison
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
REQUIRED_USE="
|
||||
pam? ( !skey )
|
||||
skey? ( !pam )
|
||||
"
|
||||
|
||||
MAKEOPTS+=" SAMPLES="
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
set_secure_path() {
|
||||
# FIXME: secure_path is a compile time setting. using PATH or
|
||||
# ROOTPATH is not perfect, env-update may invalidate this, but until it
|
||||
# is available as a sudoers setting this will have to do.
|
||||
einfo "Setting secure_path ..."
|
||||
|
||||
# first extract the default ROOTPATH from build env
|
||||
SECURE_PATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env;
|
||||
echo "${ROOTPATH}")
|
||||
case "${SECURE_PATH}" in
|
||||
*/usr/sbin*) ;;
|
||||
*) SECURE_PATH=$(unset PATH;
|
||||
. "${EPREFIX}"/etc/profile.env; echo "${PATH}")
|
||||
;;
|
||||
esac
|
||||
if [[ -z ${SECURE_PATH} ]] ; then
|
||||
ewarn " Failed to detect SECURE_PATH, please report this"
|
||||
fi
|
||||
|
||||
# then remove duplicate path entries
|
||||
cleanpath() {
|
||||
local newpath thisp IFS=:
|
||||
for thisp in $1 ; do
|
||||
if [[ :${newpath}: != *:${thisp}:* ]] ; then
|
||||
newpath+=:${thisp}
|
||||
else
|
||||
einfo " Duplicate entry ${thisp} removed..."
|
||||
fi
|
||||
done
|
||||
SECURE_PATH=${newpath#:}
|
||||
}
|
||||
cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${SECURE_PATH:+:${SECURE_PATH}}
|
||||
|
||||
# finally, strip gcc paths #136027
|
||||
rmpath() {
|
||||
local e newpath thisp IFS=:
|
||||
for thisp in ${SECURE_PATH} ; do
|
||||
for e ; do [[ ${thisp} == ${e} ]] && continue 2 ; done
|
||||
newpath+=:${thisp}
|
||||
done
|
||||
SECURE_PATH=${newpath#:}
|
||||
}
|
||||
rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*'
|
||||
|
||||
einfo "... done"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local SECURE_PATH
|
||||
set_secure_path
|
||||
|
||||
# audit: somebody got to explain me how I can test this before I
|
||||
# enable it.. - Diego
|
||||
# plugindir: autoconf code is crappy and does not delay evaluation
|
||||
# until `make` time, so we have to use a full path here rather than
|
||||
# basing off other values.
|
||||
myeconfargs=(
|
||||
--enable-zlib=system
|
||||
--enable-tmpfiles.d="${EPREFIX}"/usr/lib/tmpfiles.d
|
||||
--with-editor="${EPREFIX}"/usr/libexec/editor
|
||||
--with-env-editor
|
||||
--with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo
|
||||
--with-rundir="${EPREFIX}"/run/sudo
|
||||
$(use_with secure-path secure-path "${SECURE_PATH}")
|
||||
--with-vardir="${EPREFIX}"/var/db/sudo
|
||||
--without-linux-audit
|
||||
--without-opie
|
||||
$(use_enable gcrypt)
|
||||
$(use_enable nls)
|
||||
$(use_enable sasl)
|
||||
$(use_with offensive insults)
|
||||
$(use_with offensive all-insults)
|
||||
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo)
|
||||
$(use_with ldap)
|
||||
$(use_with pam)
|
||||
$(use_with skey)
|
||||
$(use_with sssd)
|
||||
$(use_with selinux)
|
||||
$(use_with sendmail)
|
||||
)
|
||||
|
||||
if use system-digest && ! use gcrypt; then
|
||||
myeconfargs+=("--enable-openssl")
|
||||
else
|
||||
myeconfargs+=("--disable-openssl")
|
||||
fi
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use ldap ; then
|
||||
dodoc README.LDAP
|
||||
|
||||
cat <<-EOF > "${T}"/ldap.conf.sudo
|
||||
# See ldap.conf(5) and README.LDAP for details
|
||||
# This file should only be readable by root
|
||||
|
||||
# supported directives: host, port, ssl, ldap_version
|
||||
# uri, binddn, bindpw, sudoers_base, sudoers_debug
|
||||
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key}
|
||||
EOF
|
||||
|
||||
if use sasl ; then
|
||||
cat <<-EOF >> "${T}"/ldap.conf.sudo
|
||||
|
||||
# SASL directives: use_sasl, sasl_mech, sasl_auth_id
|
||||
# sasl_secprops, rootuse_sasl, rootsasl_auth_id, krb5_ccname
|
||||
EOF
|
||||
fi
|
||||
|
||||
insinto /etc
|
||||
doins "${T}"/ldap.conf.sudo
|
||||
fperms 0440 /etc/ldap.conf.sudo
|
||||
|
||||
insinto /etc/openldap/schema
|
||||
newins doc/schema.OpenLDAP sudo.schema
|
||||
fi
|
||||
|
||||
pamd_mimic system-auth sudo auth account session
|
||||
|
||||
keepdir /var/db/sudo/lectured
|
||||
fperms 0700 /var/db/sudo/lectured
|
||||
fperms 0711 /var/db/sudo #652958
|
||||
|
||||
# Don't install into /run as that is a tmpfs most of the time
|
||||
# (bug #504854)
|
||||
rm -rf "${ED}"/run
|
||||
|
||||
find "${ED}" -type f -name "*.la" -delete || die #697812
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process sudo.conf
|
||||
|
||||
#652958
|
||||
local sudo_db="${EROOT}/var/db/sudo"
|
||||
if [[ "$(stat -c %a "${sudo_db}")" -ne 711 ]] ; then
|
||||
chmod 711 "${sudo_db}" || die
|
||||
fi
|
||||
|
||||
if use ldap ; then
|
||||
ewarn
|
||||
ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration."
|
||||
ewarn
|
||||
if grep -qs '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf ; then
|
||||
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly"
|
||||
ewarn "configured in /etc/nsswitch.conf."
|
||||
ewarn
|
||||
ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:"
|
||||
ewarn " sudoers: ldap files"
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
if use prefix ; then
|
||||
ewarn
|
||||
ewarn "To use sudo, you need to change file ownership and permissions"
|
||||
ewarn "with root privileges, as follows:"
|
||||
ewarn
|
||||
ewarn " # chown root:root ${EPREFIX}/usr/bin/sudo"
|
||||
ewarn " # chown root:root ${EPREFIX}/usr/lib/sudo/sudoers.so"
|
||||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers"
|
||||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers.d"
|
||||
ewarn " # chown root:root ${EPREFIX}/var/db/sudo"
|
||||
ewarn " # chmod 4111 ${EPREFIX}/usr/bin/sudo"
|
||||
ewarn
|
||||
fi
|
||||
|
||||
elog "To use the -A (askpass) option, you need to install a compatible"
|
||||
elog "password program from the following list. Starred packages will"
|
||||
elog "automatically register for the use with sudo (but will not force"
|
||||
elog "the -A option):"
|
||||
elog ""
|
||||
elog " [*] net-misc/ssh-askpass-fullscreen"
|
||||
elog " net-misc/x11-ssh-askpass"
|
||||
elog ""
|
||||
elog "You can override the choice by setting the SUDO_ASKPASS environmnent"
|
||||
elog "variable to the program you want to use."
|
||||
}
|
@ -0,0 +1,263 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit pam multilib libtool systemd tmpfiles
|
||||
|
||||
MY_P="${P/_/}"
|
||||
MY_P="${MY_P/beta/b}"
|
||||
|
||||
DESCRIPTION="Allows users or groups to run commands as other users"
|
||||
HOMEPAGE="https://www.sudo.ws/"
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://www.sudo.ws/repos/sudo"
|
||||
else
|
||||
uri_prefix=
|
||||
case ${P} in
|
||||
*_beta*|*_rc*) uri_prefix=beta/ ;;
|
||||
esac
|
||||
|
||||
SRC_URI="https://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
|
||||
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz"
|
||||
if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~sparc-solaris"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Basic license is ISC-style as-is, some files are released under
|
||||
# 3-clause BSD license
|
||||
LICENSE="ISC BSD"
|
||||
SLOT="0"
|
||||
IUSE="gcrypt ldap libressl nls offensive pam sasl +secure-path selinux +sendmail skey ssl sssd"
|
||||
|
||||
DEPEND="
|
||||
sys-libs/zlib:=
|
||||
gcrypt? ( dev-libs/libgcrypt:= )
|
||||
ldap? (
|
||||
>=net-nds/openldap-2.1.30-r1
|
||||
sasl? (
|
||||
dev-libs/cyrus-sasl
|
||||
net-nds/openldap[sasl]
|
||||
)
|
||||
)
|
||||
pam? ( sys-libs/pam )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
skey? ( >=sys-auth/skey-1.1.5-r1 )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
sssd? ( sys-auth/sssd[sudo] )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
>=app-misc/editor-wrapper-3
|
||||
virtual/editor
|
||||
ldap? ( dev-lang/perl )
|
||||
pam? ( sys-auth/pambase )
|
||||
selinux? ( sec-policy/selinux-sudo )
|
||||
sendmail? ( virtual/mta )
|
||||
"
|
||||
BDEPEND="
|
||||
sys-devel/bison
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
REQUIRED_USE="
|
||||
pam? ( !skey )
|
||||
skey? ( !pam )
|
||||
"
|
||||
|
||||
REQUIRED_USE="?? ( gcrypt ssl )"
|
||||
|
||||
MAKEOPTS+=" SAMPLES="
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
set_secure_path() {
|
||||
# FIXME: secure_path is a compile time setting. using PATH or
|
||||
# ROOTPATH is not perfect, env-update may invalidate this, but until it
|
||||
# is available as a sudoers setting this will have to do.
|
||||
einfo "Setting secure_path ..."
|
||||
|
||||
# first extract the default ROOTPATH from build env
|
||||
SECURE_PATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env;
|
||||
echo "${ROOTPATH}")
|
||||
case "${SECURE_PATH}" in
|
||||
*/usr/sbin*) ;;
|
||||
*) SECURE_PATH=$(unset PATH;
|
||||
. "${EPREFIX}"/etc/profile.env; echo "${PATH}")
|
||||
;;
|
||||
esac
|
||||
if [[ -z ${SECURE_PATH} ]] ; then
|
||||
ewarn " Failed to detect SECURE_PATH, please report this"
|
||||
fi
|
||||
|
||||
# then remove duplicate path entries
|
||||
cleanpath() {
|
||||
local newpath thisp IFS=:
|
||||
for thisp in $1 ; do
|
||||
if [[ :${newpath}: != *:${thisp}:* ]] ; then
|
||||
newpath+=:${thisp}
|
||||
else
|
||||
einfo " Duplicate entry ${thisp} removed..."
|
||||
fi
|
||||
done
|
||||
SECURE_PATH=${newpath#:}
|
||||
}
|
||||
cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${SECURE_PATH:+:${SECURE_PATH}}
|
||||
|
||||
# finally, strip gcc paths #136027
|
||||
rmpath() {
|
||||
local e newpath thisp IFS=:
|
||||
for thisp in ${SECURE_PATH} ; do
|
||||
for e ; do [[ ${thisp} == ${e} ]] && continue 2 ; done
|
||||
newpath+=:${thisp}
|
||||
done
|
||||
SECURE_PATH=${newpath#:}
|
||||
}
|
||||
rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*'
|
||||
|
||||
einfo "... done"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local SECURE_PATH
|
||||
set_secure_path
|
||||
|
||||
# audit: somebody got to explain me how I can test this before I
|
||||
# enable it.. - Diego
|
||||
# plugindir: autoconf code is crappy and does not delay evaluation
|
||||
# until `make` time, so we have to use a full path here rather than
|
||||
# basing off other values.
|
||||
myeconfargs=(
|
||||
# requires some python eclass
|
||||
--disable-python
|
||||
--enable-tmpfiles.d="${EPREFIX}"/usr/lib/tmpfiles.d
|
||||
--enable-zlib=system
|
||||
--with-editor="${EPREFIX}"/usr/libexec/editor
|
||||
--with-env-editor
|
||||
--with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo
|
||||
--with-rundir="${EPREFIX}"/run/sudo
|
||||
--with-vardir="${EPREFIX}"/var/db/sudo
|
||||
--without-linux-audit
|
||||
--without-opie
|
||||
$(use_enable gcrypt)
|
||||
$(use_enable nls)
|
||||
$(use_enable sasl)
|
||||
$(use_enable ssl openssl)
|
||||
$(use_with ldap)
|
||||
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo)
|
||||
$(use_with offensive insults)
|
||||
$(use_with offensive all-insults)
|
||||
$(use_with pam)
|
||||
$(use_with pam pam-login)
|
||||
$(use_with secure-path secure-path "${SECURE_PATH}")
|
||||
$(use_with selinux)
|
||||
$(use_with sendmail)
|
||||
$(use_with skey)
|
||||
$(use_with sssd)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use ldap ; then
|
||||
dodoc README.LDAP
|
||||
|
||||
cat <<-EOF > "${T}"/ldap.conf.sudo
|
||||
# See ldap.conf(5) and README.LDAP for details
|
||||
# This file should only be readable by root
|
||||
|
||||
# supported directives: host, port, ssl, ldap_version
|
||||
# uri, binddn, bindpw, sudoers_base, sudoers_debug
|
||||
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key}
|
||||
EOF
|
||||
|
||||
if use sasl ; then
|
||||
cat <<-EOF >> "${T}"/ldap.conf.sudo
|
||||
|
||||
# SASL directives: use_sasl, sasl_mech, sasl_auth_id
|
||||
# sasl_secprops, rootuse_sasl, rootsasl_auth_id, krb5_ccname
|
||||
EOF
|
||||
fi
|
||||
|
||||
insinto /etc
|
||||
doins "${T}"/ldap.conf.sudo
|
||||
fperms 0440 /etc/ldap.conf.sudo
|
||||
|
||||
insinto /etc/openldap/schema
|
||||
newins doc/schema.OpenLDAP sudo.schema
|
||||
fi
|
||||
|
||||
pamd_mimic system-auth sudo auth account session
|
||||
pamd_mimic system-auth sudo-i auth account session
|
||||
|
||||
keepdir /var/db/sudo/lectured
|
||||
fperms 0700 /var/db/sudo/lectured
|
||||
fperms 0711 /var/db/sudo #652958
|
||||
|
||||
# Don't install into /run as that is a tmpfs most of the time
|
||||
# (bug #504854)
|
||||
rm -rf "${ED}"/run || die
|
||||
|
||||
find "${ED}" -type f -name "*.la" -delete || die #697812
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process sudo.conf
|
||||
|
||||
#652958
|
||||
local sudo_db="${EROOT}/var/db/sudo"
|
||||
if [[ "$(stat -c %a "${sudo_db}")" -ne 711 ]] ; then
|
||||
chmod 711 "${sudo_db}" || die
|
||||
fi
|
||||
|
||||
if use ldap ; then
|
||||
ewarn
|
||||
ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration."
|
||||
ewarn
|
||||
if grep -qs '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf ; then
|
||||
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly"
|
||||
ewarn "configured in /etc/nsswitch.conf."
|
||||
ewarn
|
||||
ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:"
|
||||
ewarn " sudoers: ldap files"
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
if use prefix ; then
|
||||
ewarn
|
||||
ewarn "To use sudo, you need to change file ownership and permissions"
|
||||
ewarn "with root privileges, as follows:"
|
||||
ewarn
|
||||
ewarn " # chown root:root ${EPREFIX}/usr/bin/sudo"
|
||||
ewarn " # chown root:root ${EPREFIX}/usr/lib/sudo/sudoers.so"
|
||||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers"
|
||||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers.d"
|
||||
ewarn " # chown root:root ${EPREFIX}/var/db/sudo"
|
||||
ewarn " # chmod 4111 ${EPREFIX}/usr/bin/sudo"
|
||||
ewarn
|
||||
fi
|
||||
|
||||
elog "To use the -A (askpass) option, you need to install a compatible"
|
||||
elog "password program from the following list. Starred packages will"
|
||||
elog "automatically register for the use with sudo (but will not force"
|
||||
elog "the -A option):"
|
||||
elog ""
|
||||
elog " [*] net-misc/ssh-askpass-fullscreen"
|
||||
elog " net-misc/x11-ssh-askpass"
|
||||
elog ""
|
||||
elog "You can override the choice by setting the SUDO_ASKPASS environmnent"
|
||||
elog "variable to the program you want to use."
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="A tool for building, changing, and combining infrastructure safely"
|
||||
HOMEPAGE="https://www.terraform.io/"
|
||||
SRC_URI="https://github.com/hashicorp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD-2 BSD-4 ECL-2.0 imagemagick ISC JSON MIT MIT-with-advertising MPL-2.0 unicode"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS=( {README,CHANGELOG}.md )
|
||||
|
||||
src_compile() {
|
||||
go build \
|
||||
-mod vendor \
|
||||
-work -o "bin/${PN}" ./ || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/terraform
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you would like to install shell completions please run:"
|
||||
elog " terraform -install-autocomplete"
|
||||
}
|
@ -1,741 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit go-module
|
||||
|
||||
EGO_SUM=(
|
||||
"cloud.google.com/go v0.26.0/go.mod"
|
||||
"cloud.google.com/go v0.34.0/go.mod"
|
||||
"cloud.google.com/go v0.38.0/go.mod"
|
||||
"cloud.google.com/go v0.44.1/go.mod"
|
||||
"cloud.google.com/go v0.44.2/go.mod"
|
||||
"cloud.google.com/go v0.45.1"
|
||||
"cloud.google.com/go v0.45.1/go.mod"
|
||||
"cloud.google.com/go/bigquery v1.0.1/go.mod"
|
||||
"cloud.google.com/go/datastore v1.0.0/go.mod"
|
||||
"github.com/Azure/azure-sdk-for-go v45.0.0+incompatible"
|
||||
"github.com/Azure/azure-sdk-for-go v45.0.0+incompatible/go.mod"
|
||||
"github.com/Azure/go-autorest v11.1.2+incompatible/go.mod"
|
||||
"github.com/Azure/go-autorest v14.2.0+incompatible"
|
||||
"github.com/Azure/go-autorest v14.2.0+incompatible/go.mod"
|
||||
"github.com/Azure/go-autorest/autorest v0.11.3"
|
||||
"github.com/Azure/go-autorest/autorest v0.11.3/go.mod"
|
||||
"github.com/Azure/go-autorest/autorest/adal v0.9.0"
|
||||
"github.com/Azure/go-autorest/autorest/adal v0.9.0/go.mod"
|
||||
"github.com/Azure/go-autorest/autorest/azure/cli v0.4.0"
|
||||
"github.com/Azure/go-autorest/autorest/azure/cli v0.4.0/go.mod"
|
||||
"github.com/Azure/go-autorest/autorest/date v0.3.0"
|
||||
"github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod"
|
||||
"github.com/Azure/go-autorest/autorest/mocks v0.4.0"
|
||||
"github.com/Azure/go-autorest/autorest/mocks v0.4.0/go.mod"
|
||||
"github.com/Azure/go-autorest/autorest/to v0.4.0"
|
||||
"github.com/Azure/go-autorest/autorest/to v0.4.0/go.mod"
|
||||
"github.com/Azure/go-autorest/autorest/validation v0.3.0"
|
||||
"github.com/Azure/go-autorest/autorest/validation v0.3.0/go.mod"
|
||||
"github.com/Azure/go-autorest/logger v0.2.0"
|
||||
"github.com/Azure/go-autorest/logger v0.2.0/go.mod"
|
||||
"github.com/Azure/go-autorest/tracing v0.6.0"
|
||||
"github.com/Azure/go-autorest/tracing v0.6.0/go.mod"
|
||||
"github.com/Azure/go-ntlmssp v0.0.0-20180810175552-4a21cbd618b4"
|
||||
"github.com/Azure/go-ntlmssp v0.0.0-20180810175552-4a21cbd618b4/go.mod"
|
||||
"github.com/Azure/go-ntlmssp v0.0.0-20200615164410-66371956d46c"
|
||||
"github.com/Azure/go-ntlmssp v0.0.0-20200615164410-66371956d46c/go.mod"
|
||||
"github.com/BurntSushi/toml v0.3.1/go.mod"
|
||||
"github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod"
|
||||
"github.com/ChrisTrenkamp/goxpath v0.0.0-20170922090931-c385f95c6022"
|
||||
"github.com/ChrisTrenkamp/goxpath v0.0.0-20170922090931-c385f95c6022/go.mod"
|
||||
"github.com/ChrisTrenkamp/goxpath v0.0.0-20190607011252-c5096ec8773d"
|
||||
"github.com/ChrisTrenkamp/goxpath v0.0.0-20190607011252-c5096ec8773d/go.mod"
|
||||
"github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod"
|
||||
"github.com/PuerkitoBio/purell v1.0.0/go.mod"
|
||||
"github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod"
|
||||
"github.com/QcloudApi/qcloud_sign_golang v0.0.0-20141224014652-e4130a326409/go.mod"
|
||||
"github.com/abdullin/seq v0.0.0-20160510034733-d5467c17e7af"
|
||||
"github.com/abdullin/seq v0.0.0-20160510034733-d5467c17e7af/go.mod"
|
||||
"github.com/agext/levenshtein v1.2.1/go.mod"
|
||||
"github.com/agext/levenshtein v1.2.2"
|
||||
"github.com/agext/levenshtein v1.2.2/go.mod"
|
||||
"github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412"
|
||||
"github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412/go.mod"
|
||||
"github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod"
|
||||
"github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod"
|
||||
"github.com/aliyun/alibaba-cloud-sdk-go v0.0.0-20190329064014-6e358769c32a"
|
||||
"github.com/aliyun/alibaba-cloud-sdk-go v0.0.0-20190329064014-6e358769c32a/go.mod"
|
||||
"github.com/aliyun/aliyun-oss-go-sdk v0.0.0-20190103054945-8205d1f41e70"
|
||||
"github.com/aliyun/aliyun-oss-go-sdk v0.0.0-20190103054945-8205d1f41e70/go.mod"
|
||||
"github.com/aliyun/aliyun-tablestore-go-sdk v4.1.2+incompatible"
|
||||
"github.com/aliyun/aliyun-tablestore-go-sdk v4.1.2+incompatible/go.mod"
|
||||
"github.com/antchfx/xpath v0.0.0-20190129040759-c8489ed3251e"
|
||||
"github.com/antchfx/xpath v0.0.0-20190129040759-c8489ed3251e/go.mod"
|
||||
"github.com/antchfx/xquery v0.0.0-20180515051857-ad5b8c7a47b0"
|
||||
"github.com/antchfx/xquery v0.0.0-20180515051857-ad5b8c7a47b0/go.mod"
|
||||
"github.com/apparentlymart/go-cidr v1.1.0"
|
||||
"github.com/apparentlymart/go-cidr v1.1.0/go.mod"
|
||||
"github.com/apparentlymart/go-dump v0.0.0-20180507223929-23540a00eaa3/go.mod"
|
||||
"github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0"
|
||||
"github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0/go.mod"
|
||||
"github.com/apparentlymart/go-textseg v1.0.0"
|
||||
"github.com/apparentlymart/go-textseg v1.0.0/go.mod"
|
||||
"github.com/apparentlymart/go-textseg/v12 v12.0.0"
|
||||
"github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod"
|
||||
"github.com/apparentlymart/go-userdirs v0.0.0-20190512014041-4a23807e62b9"
|
||||
"github.com/apparentlymart/go-userdirs v0.0.0-20190512014041-4a23807e62b9/go.mod"
|
||||
"github.com/apparentlymart/go-versions v1.0.0"
|
||||
"github.com/apparentlymart/go-versions v1.0.0/go.mod"
|
||||
"github.com/armon/circbuf v0.0.0-20190214190532-5111143e8da2"
|
||||
"github.com/armon/circbuf v0.0.0-20190214190532-5111143e8da2/go.mod"
|
||||
"github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da"
|
||||
"github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod"
|
||||
"github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod"
|
||||
"github.com/armon/go-radix v1.0.0"
|
||||
"github.com/armon/go-radix v1.0.0/go.mod"
|
||||
"github.com/aws/aws-sdk-go v1.15.78/go.mod"
|
||||
"github.com/aws/aws-sdk-go v1.31.9"
|
||||
"github.com/aws/aws-sdk-go v1.31.9/go.mod"
|
||||
"github.com/baiyubin/aliyun-sts-go-sdk v0.0.0-20180326062324-cfa1a18b161f"
|
||||
"github.com/baiyubin/aliyun-sts-go-sdk v0.0.0-20180326062324-cfa1a18b161f/go.mod"
|
||||
"github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973"
|
||||
"github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod"
|
||||
"github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d"
|
||||
"github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d/go.mod"
|
||||
"github.com/bgentry/speakeasy v0.1.0"
|
||||
"github.com/bgentry/speakeasy v0.1.0/go.mod"
|
||||
"github.com/blang/semver v3.5.1+incompatible"
|
||||
"github.com/blang/semver v3.5.1+incompatible/go.mod"
|
||||
"github.com/bmatcuk/doublestar v1.1.5"
|
||||
"github.com/bmatcuk/doublestar v1.1.5/go.mod"
|
||||
"github.com/boltdb/bolt v1.3.1"
|
||||
"github.com/boltdb/bolt v1.3.1/go.mod"
|
||||
"github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod"
|
||||
"github.com/cheggaaa/pb v1.0.27/go.mod"
|
||||
"github.com/chzyer/logex v1.1.10"
|
||||
"github.com/chzyer/logex v1.1.10/go.mod"
|
||||
"github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e"
|
||||
"github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod"
|
||||
"github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1"
|
||||
"github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod"
|
||||
"github.com/client9/misspell v0.3.4/go.mod"
|
||||
"github.com/coreos/bbolt v1.3.0"
|
||||
"github.com/coreos/bbolt v1.3.0/go.mod"
|
||||
"github.com/coreos/etcd v3.3.10+incompatible"
|
||||
"github.com/coreos/etcd v3.3.10+incompatible/go.mod"
|
||||
"github.com/coreos/go-semver v0.2.0"
|
||||
"github.com/coreos/go-semver v0.2.0/go.mod"
|
||||
"github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d"
|
||||
"github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d/go.mod"
|
||||
"github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f"
|
||||
"github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod"
|
||||
"github.com/davecgh/go-spew v0.0.0-20151105211317-5215b55f46b2/go.mod"
|
||||
"github.com/davecgh/go-spew v1.1.0/go.mod"
|
||||
"github.com/davecgh/go-spew v1.1.1"
|
||||
"github.com/davecgh/go-spew v1.1.1/go.mod"
|
||||
"github.com/dgrijalva/jwt-go v0.0.0-20160705203006-01aeca54ebda/go.mod"
|
||||
"github.com/dgrijalva/jwt-go v3.2.0+incompatible"
|
||||
"github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod"
|
||||
"github.com/dimchansky/utfbom v1.1.0"
|
||||
"github.com/dimchansky/utfbom v1.1.0/go.mod"
|
||||
"github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod"
|
||||
"github.com/dylanmei/iso8601 v0.1.0"
|
||||
"github.com/dylanmei/iso8601 v0.1.0/go.mod"
|
||||
"github.com/dylanmei/winrmtest v0.0.0-20190225150635-99b7fe2fddf1"
|
||||
"github.com/dylanmei/winrmtest v0.0.0-20190225150635-99b7fe2fddf1/go.mod"
|
||||
"github.com/elazarl/goproxy v0.0.0-20170405201442-c4fc26588b6e/go.mod"
|
||||
"github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod"
|
||||
"github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod"
|
||||
"github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod"
|
||||
"github.com/evanphx/json-patch v0.0.0-20190203023257-5858425f7550/go.mod"
|
||||
"github.com/evanphx/json-patch v4.2.0+incompatible/go.mod"
|
||||
"github.com/fatih/color v1.7.0"
|
||||
"github.com/fatih/color v1.7.0/go.mod"
|
||||
"github.com/fsnotify/fsnotify v1.4.7/go.mod"
|
||||
"github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod"
|
||||
"github.com/ghodss/yaml v1.0.0"
|
||||
"github.com/ghodss/yaml v1.0.0/go.mod"
|
||||
"github.com/go-kit/kit v0.8.0/go.mod"
|
||||
"github.com/go-logfmt/logfmt v0.3.0/go.mod"
|
||||
"github.com/go-logr/logr v0.1.0/go.mod"
|
||||
"github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod"
|
||||
"github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod"
|
||||
"github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod"
|
||||
"github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod"
|
||||
"github.com/go-sql-driver/mysql v1.5.0/go.mod"
|
||||
"github.com/go-stack/stack v1.8.0/go.mod"
|
||||
"github.com/go-test/deep v1.0.1/go.mod"
|
||||
"github.com/go-test/deep v1.0.3"
|
||||
"github.com/go-test/deep v1.0.3/go.mod"
|
||||
"github.com/gofrs/uuid v3.2.0+incompatible"
|
||||
"github.com/gofrs/uuid v3.2.0+incompatible/go.mod"
|
||||
"github.com/gofrs/uuid v3.3.0+incompatible"
|
||||
"github.com/gofrs/uuid v3.3.0+incompatible/go.mod"
|
||||
"github.com/gogo/protobuf v0.0.0-20171007142547-342cbe0a0415/go.mod"
|
||||
"github.com/gogo/protobuf v1.1.1/go.mod"
|
||||
"github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d"
|
||||
"github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d/go.mod"
|
||||
"github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b"
|
||||
"github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod"
|
||||
"github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod"
|
||||
"github.com/golang/groupcache v0.0.0-20180513044358-24b0969c4cb7"
|
||||
"github.com/golang/groupcache v0.0.0-20180513044358-24b0969c4cb7/go.mod"
|
||||
"github.com/golang/mock v1.1.1/go.mod"
|
||||
"github.com/golang/mock v1.2.0/go.mod"
|
||||
"github.com/golang/mock v1.3.1"
|
||||
"github.com/golang/mock v1.3.1/go.mod"
|
||||
"github.com/golang/protobuf v0.0.0-20161109072736-4bd1920723d7/go.mod"
|
||||
"github.com/golang/protobuf v1.1.0/go.mod"
|
||||
"github.com/golang/protobuf v1.2.0/go.mod"
|
||||
"github.com/golang/protobuf v1.3.1/go.mod"
|
||||
"github.com/golang/protobuf v1.3.2/go.mod"
|
||||
"github.com/golang/protobuf v1.3.4"
|
||||
"github.com/golang/protobuf v1.3.4/go.mod"
|
||||
"github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db"
|
||||
"github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod"
|
||||
"github.com/google/btree v0.0.0-20160524151835-7d79101e329e/go.mod"
|
||||
"github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod"
|
||||
"github.com/google/btree v1.0.0"
|
||||
"github.com/google/btree v1.0.0/go.mod"
|
||||
"github.com/google/go-cmp v0.2.0/go.mod"
|
||||
"github.com/google/go-cmp v0.3.0/go.mod"
|
||||
"github.com/google/go-cmp v0.3.1"
|
||||
"github.com/google/go-cmp v0.3.1/go.mod"
|
||||
"github.com/google/go-querystring v1.0.0"
|
||||
"github.com/google/go-querystring v1.0.0/go.mod"
|
||||
"github.com/google/gofuzz v0.0.0-20161122191042-44d81051d367/go.mod"
|
||||
"github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf/go.mod"
|
||||
"github.com/google/gofuzz v1.0.0"
|
||||
"github.com/google/gofuzz v1.0.0/go.mod"
|
||||
"github.com/google/martian v2.1.0+incompatible"
|
||||
"github.com/google/martian v2.1.0+incompatible/go.mod"
|
||||
"github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod"
|
||||
"github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod"
|
||||
"github.com/google/uuid v1.0.0/go.mod"
|
||||
"github.com/google/uuid v1.1.1"
|
||||
"github.com/google/uuid v1.1.1/go.mod"
|
||||
"github.com/googleapis/gax-go/v2 v2.0.4/go.mod"
|
||||
"github.com/googleapis/gax-go/v2 v2.0.5"
|
||||
"github.com/googleapis/gax-go/v2 v2.0.5/go.mod"
|
||||
"github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d"
|
||||
"github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d/go.mod"
|
||||
"github.com/gophercloud/gophercloud v0.0.0-20190126172459-c818fa66e4c8/go.mod"
|
||||
"github.com/gophercloud/gophercloud v0.6.1-0.20191122030953-d8ac278c1c9d/go.mod"
|
||||
"github.com/gophercloud/gophercloud v0.10.1-0.20200424014253-c3bfe50899e5"
|
||||
"github.com/gophercloud/gophercloud v0.10.1-0.20200424014253-c3bfe50899e5/go.mod"
|
||||
"github.com/gophercloud/utils v0.0.0-20200423144003-7c72efc7435d"
|
||||
"github.com/gophercloud/utils v0.0.0-20200423144003-7c72efc7435d/go.mod"
|
||||
"github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1"
|
||||
"github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod"
|
||||
"github.com/gorilla/websocket v1.4.0"
|
||||
"github.com/gorilla/websocket v1.4.0/go.mod"
|
||||
"github.com/gregjones/httpcache v0.0.0-20170728041850-787624de3eb7/go.mod"
|
||||
"github.com/grpc-ecosystem/go-grpc-middleware v1.0.0"
|
||||
"github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod"
|
||||
"github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0"
|
||||
"github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod"
|
||||
"github.com/grpc-ecosystem/grpc-gateway v1.8.5"
|
||||
"github.com/grpc-ecosystem/grpc-gateway v1.8.5/go.mod"
|
||||
"github.com/hashicorp/aws-sdk-go-base v0.6.0"
|
||||
"github.com/hashicorp/aws-sdk-go-base v0.6.0/go.mod"
|
||||
"github.com/hashicorp/consul v0.0.0-20171026175957-610f3c86a089"
|
||||
"github.com/hashicorp/consul v0.0.0-20171026175957-610f3c86a089/go.mod"
|
||||
"github.com/hashicorp/errwrap v1.0.0"
|
||||
"github.com/hashicorp/errwrap v1.0.0/go.mod"
|
||||
"github.com/hashicorp/go-azure-helpers v0.12.0"
|
||||
"github.com/hashicorp/go-azure-helpers v0.12.0/go.mod"
|
||||
"github.com/hashicorp/go-checkpoint v0.5.0"
|
||||
"github.com/hashicorp/go-checkpoint v0.5.0/go.mod"
|
||||
"github.com/hashicorp/go-cleanhttp v0.5.0/go.mod"
|
||||
"github.com/hashicorp/go-cleanhttp v0.5.1"
|
||||
"github.com/hashicorp/go-cleanhttp v0.5.1/go.mod"
|
||||
"github.com/hashicorp/go-getter v1.4.2-0.20200106182914-9813cbd4eb02"
|
||||
"github.com/hashicorp/go-getter v1.4.2-0.20200106182914-9813cbd4eb02/go.mod"
|
||||
"github.com/hashicorp/go-hclog v0.0.0-20180709165350-ff2cf002a8dd/go.mod"
|
||||
"github.com/hashicorp/go-hclog v0.9.2"
|
||||
"github.com/hashicorp/go-hclog v0.9.2/go.mod"
|
||||
"github.com/hashicorp/go-immutable-radix v0.0.0-20180129170900-7f3cd4390caa"
|
||||
"github.com/hashicorp/go-immutable-radix v0.0.0-20180129170900-7f3cd4390caa/go.mod"
|
||||
"github.com/hashicorp/go-msgpack v0.5.4"
|
||||
"github.com/hashicorp/go-msgpack v0.5.4/go.mod"
|
||||
"github.com/hashicorp/go-multierror v1.0.0"
|
||||
"github.com/hashicorp/go-multierror v1.0.0/go.mod"
|
||||
"github.com/hashicorp/go-plugin v1.3.0"
|
||||
"github.com/hashicorp/go-plugin v1.3.0/go.mod"
|
||||
"github.com/hashicorp/go-retryablehttp v0.5.2"
|
||||
"github.com/hashicorp/go-retryablehttp v0.5.2/go.mod"
|
||||
"github.com/hashicorp/go-rootcerts v1.0.0"
|
||||
"github.com/hashicorp/go-rootcerts v1.0.0/go.mod"
|
||||
"github.com/hashicorp/go-safetemp v1.0.0"
|
||||
"github.com/hashicorp/go-safetemp v1.0.0/go.mod"
|
||||
"github.com/hashicorp/go-slug v0.4.1"
|
||||
"github.com/hashicorp/go-slug v0.4.1/go.mod"
|
||||
"github.com/hashicorp/go-sockaddr v0.0.0-20180320115054-6d291a969b86"
|
||||
"github.com/hashicorp/go-sockaddr v0.0.0-20180320115054-6d291a969b86/go.mod"
|
||||
"github.com/hashicorp/go-tfe v0.8.1"
|
||||
"github.com/hashicorp/go-tfe v0.8.1/go.mod"
|
||||
"github.com/hashicorp/go-uuid v1.0.0/go.mod"
|
||||
"github.com/hashicorp/go-uuid v1.0.1"
|
||||
"github.com/hashicorp/go-uuid v1.0.1/go.mod"
|
||||
"github.com/hashicorp/go-version v1.0.0/go.mod"
|
||||
"github.com/hashicorp/go-version v1.1.0/go.mod"
|
||||
"github.com/hashicorp/go-version v1.2.0"
|
||||
"github.com/hashicorp/go-version v1.2.0/go.mod"
|
||||
"github.com/hashicorp/golang-lru v0.5.0/go.mod"
|
||||
"github.com/hashicorp/golang-lru v0.5.1"
|
||||
"github.com/hashicorp/golang-lru v0.5.1/go.mod"
|
||||
"github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f"
|
||||
"github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f/go.mod"
|
||||
"github.com/hashicorp/hcl/v2 v2.0.0/go.mod"
|
||||
"github.com/hashicorp/hcl/v2 v2.6.0"
|
||||
"github.com/hashicorp/hcl/v2 v2.6.0/go.mod"
|
||||
"github.com/hashicorp/hil v0.0.0-20190212112733-ab17b08d6590"
|
||||
"github.com/hashicorp/hil v0.0.0-20190212112733-ab17b08d6590/go.mod"
|
||||
"github.com/hashicorp/memberlist v0.1.0"
|
||||
"github.com/hashicorp/memberlist v0.1.0/go.mod"
|
||||
"github.com/hashicorp/serf v0.0.0-20160124182025-e4ec8cc423bb"
|
||||
"github.com/hashicorp/serf v0.0.0-20160124182025-e4ec8cc423bb/go.mod"
|
||||
"github.com/hashicorp/terraform-config-inspect v0.0.0-20191212124732-c6ae6269b9d7"
|
||||
"github.com/hashicorp/terraform-config-inspect v0.0.0-20191212124732-c6ae6269b9d7/go.mod"
|
||||
"github.com/hashicorp/terraform-svchost v0.0.0-20191011084731-65d371908596"
|
||||
"github.com/hashicorp/terraform-svchost v0.0.0-20191011084731-65d371908596/go.mod"
|
||||
"github.com/hashicorp/vault v0.10.4"
|
||||
"github.com/hashicorp/vault v0.10.4/go.mod"
|
||||
"github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb"
|
||||
"github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod"
|
||||
"github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d"
|
||||
"github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod"
|
||||
"github.com/hpcloud/tail v1.0.0/go.mod"
|
||||
"github.com/imdario/mergo v0.3.5/go.mod"
|
||||
"github.com/imdario/mergo v0.3.9"
|
||||
"github.com/imdario/mergo v0.3.9/go.mod"
|
||||
"github.com/jhump/protoreflect v1.6.0"
|
||||
"github.com/jhump/protoreflect v1.6.0/go.mod"
|
||||
"github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod"
|
||||
"github.com/jmespath/go-jmespath v0.3.0"
|
||||
"github.com/jmespath/go-jmespath v0.3.0/go.mod"
|
||||
"github.com/jonboulle/clockwork v0.1.0"
|
||||
"github.com/jonboulle/clockwork v0.1.0/go.mod"
|
||||
"github.com/joyent/triton-go v0.0.0-20180313100802-d8f9c0314926"
|
||||
"github.com/joyent/triton-go v0.0.0-20180313100802-d8f9c0314926/go.mod"
|
||||
"github.com/json-iterator/go v0.0.0-20180612202835-f2b4162afba3/go.mod"
|
||||
"github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be/go.mod"
|
||||
"github.com/json-iterator/go v1.1.7"
|
||||
"github.com/json-iterator/go v1.1.7/go.mod"
|
||||
"github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod"
|
||||
"github.com/jtolds/gls v4.2.1+incompatible"
|
||||
"github.com/jtolds/gls v4.2.1+incompatible/go.mod"
|
||||
"github.com/julienschmidt/httprouter v1.2.0/go.mod"
|
||||
"github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0"
|
||||
"github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0/go.mod"
|
||||
"github.com/keybase/go-crypto v0.0.0-20161004153544-93f5b35093ba"
|
||||
"github.com/keybase/go-crypto v0.0.0-20161004153544-93f5b35093ba/go.mod"
|
||||
"github.com/kisielk/errcheck v1.2.0/go.mod"
|
||||
"github.com/kisielk/gotool v1.0.0/go.mod"
|
||||
"github.com/konsorten/go-windows-terminal-sequences v1.0.1"
|
||||
"github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod"
|
||||
"github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod"
|
||||
"github.com/kr/pretty v0.1.0"
|
||||
"github.com/kr/pretty v0.1.0/go.mod"
|
||||
"github.com/kr/pty v1.1.1/go.mod"
|
||||
"github.com/kr/text v0.1.0"
|
||||
"github.com/kr/text v0.1.0/go.mod"
|
||||
"github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod"
|
||||
"github.com/kylelemons/godebug v1.1.0"
|
||||
"github.com/kylelemons/godebug v1.1.0/go.mod"
|
||||
"github.com/lib/pq v1.0.0"
|
||||
"github.com/lib/pq v1.0.0/go.mod"
|
||||
"github.com/likexian/gokit v0.0.0-20190309162924-0a377eecf7aa/go.mod"
|
||||
"github.com/likexian/gokit v0.0.0-20190418170008-ace88ad0983b/go.mod"
|
||||
"github.com/likexian/gokit v0.0.0-20190501133040-e77ea8b19cdc/go.mod"
|
||||
"github.com/likexian/gokit v0.20.15"
|
||||
"github.com/likexian/gokit v0.20.15/go.mod"
|
||||
"github.com/likexian/simplejson-go v0.0.0-20190409170913-40473a74d76d/go.mod"
|
||||
"github.com/likexian/simplejson-go v0.0.0-20190419151922-c1f9f0b4f084/go.mod"
|
||||
"github.com/likexian/simplejson-go v0.0.0-20190502021454-d8787b4bfa0b/go.mod"
|
||||
"github.com/lusis/go-artifactory v0.0.0-20160115162124-7e4ce345df82"
|
||||
"github.com/lusis/go-artifactory v0.0.0-20160115162124-7e4ce345df82/go.mod"
|
||||
"github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod"
|
||||
"github.com/masterzen/simplexml v0.0.0-20160608183007-4572e39b1ab9"
|
||||
"github.com/masterzen/simplexml v0.0.0-20160608183007-4572e39b1ab9/go.mod"
|
||||
"github.com/masterzen/simplexml v0.0.0-20190410153822-31eea3082786"
|
||||
"github.com/masterzen/simplexml v0.0.0-20190410153822-31eea3082786/go.mod"
|
||||
"github.com/masterzen/winrm v0.0.0-20200615185753-c42b5136ff88"
|
||||
"github.com/masterzen/winrm v0.0.0-20200615185753-c42b5136ff88/go.mod"
|
||||
"github.com/mattn/go-colorable v0.0.9/go.mod"
|
||||
"github.com/mattn/go-colorable v0.1.1"
|
||||
"github.com/mattn/go-colorable v0.1.1/go.mod"
|
||||
"github.com/mattn/go-isatty v0.0.3/go.mod"
|
||||
"github.com/mattn/go-isatty v0.0.4/go.mod"
|
||||
"github.com/mattn/go-isatty v0.0.5"
|
||||
"github.com/mattn/go-isatty v0.0.5/go.mod"
|
||||
"github.com/mattn/go-runewidth v0.0.4/go.mod"
|
||||
"github.com/mattn/go-shellwords v1.0.4"
|
||||
"github.com/mattn/go-shellwords v1.0.4/go.mod"
|
||||
"github.com/matttproud/golang_protobuf_extensions v1.0.1"
|
||||
"github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod"
|
||||
"github.com/miekg/dns v1.0.8"
|
||||
"github.com/miekg/dns v1.0.8/go.mod"
|
||||
"github.com/mitchellh/cli v1.0.0"
|
||||
"github.com/mitchellh/cli v1.0.0/go.mod"
|
||||
"github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db"
|
||||
"github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db/go.mod"
|
||||
"github.com/mitchellh/copystructure v1.0.0"
|
||||
"github.com/mitchellh/copystructure v1.0.0/go.mod"
|
||||
"github.com/mitchellh/go-homedir v1.0.0/go.mod"
|
||||
"github.com/mitchellh/go-homedir v1.1.0"
|
||||
"github.com/mitchellh/go-homedir v1.1.0/go.mod"
|
||||
"github.com/mitchellh/go-linereader v0.0.0-20190213213312-1b945b3263eb"
|
||||
"github.com/mitchellh/go-linereader v0.0.0-20190213213312-1b945b3263eb/go.mod"
|
||||
"github.com/mitchellh/go-testing-interface v0.0.0-20171004221916-a61a99592b77/go.mod"
|
||||
"github.com/mitchellh/go-testing-interface v1.0.0"
|
||||
"github.com/mitchellh/go-testing-interface v1.0.0/go.mod"
|
||||
"github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod"
|
||||
"github.com/mitchellh/go-wordwrap v1.0.0"
|
||||
"github.com/mitchellh/go-wordwrap v1.0.0/go.mod"
|
||||
"github.com/mitchellh/gox v1.0.1"
|
||||
"github.com/mitchellh/gox v1.0.1/go.mod"
|
||||
"github.com/mitchellh/hashstructure v1.0.0"
|
||||
"github.com/mitchellh/hashstructure v1.0.0/go.mod"
|
||||
"github.com/mitchellh/iochan v1.0.0"
|
||||
"github.com/mitchellh/iochan v1.0.0/go.mod"
|
||||
"github.com/mitchellh/mapstructure v1.1.2"
|
||||
"github.com/mitchellh/mapstructure v1.1.2/go.mod"
|
||||
"github.com/mitchellh/panicwrap v1.0.0"
|
||||
"github.com/mitchellh/panicwrap v1.0.0/go.mod"
|
||||
"github.com/mitchellh/prefixedio v0.0.0-20190213213902-5733675afd51"
|
||||
"github.com/mitchellh/prefixedio v0.0.0-20190213213902-5733675afd51/go.mod"
|
||||
"github.com/mitchellh/reflectwalk v1.0.0"
|
||||
"github.com/mitchellh/reflectwalk v1.0.0/go.mod"
|
||||
"github.com/mitchellh/reflectwalk v1.0.1"
|
||||
"github.com/mitchellh/reflectwalk v1.0.1/go.mod"
|
||||
"github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod"
|
||||
"github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd"
|
||||
"github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod"
|
||||
"github.com/modern-go/reflect2 v0.0.0-20180320133207-05fbef0ca5da/go.mod"
|
||||
"github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod"
|
||||
"github.com/modern-go/reflect2 v1.0.1"
|
||||
"github.com/modern-go/reflect2 v1.0.1/go.mod"
|
||||
"github.com/mozillazg/go-httpheader v0.2.1"
|
||||
"github.com/mozillazg/go-httpheader v0.2.1/go.mod"
|
||||
"github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod"
|
||||
"github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod"
|
||||
"github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod"
|
||||
"github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d"
|
||||
"github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d/go.mod"
|
||||
"github.com/oklog/run v1.0.0"
|
||||
"github.com/oklog/run v1.0.0/go.mod"
|
||||
"github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod"
|
||||
"github.com/onsi/ginkgo v1.6.0/go.mod"
|
||||
"github.com/onsi/ginkgo v1.8.0/go.mod"
|
||||
"github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod"
|
||||
"github.com/onsi/gomega v0.0.0-20190113212917-5533ce8a0da3/go.mod"
|
||||
"github.com/onsi/gomega v1.5.0/go.mod"
|
||||
"github.com/packer-community/winrmcp v0.0.0-20180921211025-c76d91c1e7db"
|
||||
"github.com/packer-community/winrmcp v0.0.0-20180921211025-c76d91c1e7db/go.mod"
|
||||
"github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c"
|
||||
"github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod"
|
||||
"github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod"
|
||||
"github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4"
|
||||
"github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4/go.mod"
|
||||
"github.com/pkg/errors v0.8.0/go.mod"
|
||||
"github.com/pkg/errors v0.9.1"
|
||||
"github.com/pkg/errors v0.9.1/go.mod"
|
||||
"github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0/go.mod"
|
||||
"github.com/pmezard/go-difflib v1.0.0"
|
||||
"github.com/pmezard/go-difflib v1.0.0/go.mod"
|
||||
"github.com/posener/complete v1.1.1/go.mod"
|
||||
"github.com/posener/complete v1.2.1"
|
||||
"github.com/posener/complete v1.2.1/go.mod"
|
||||
"github.com/prometheus/client_golang v0.9.1/go.mod"
|
||||
"github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829"
|
||||
"github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod"
|
||||
"github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod"
|
||||
"github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod"
|
||||
"github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4"
|
||||
"github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod"
|
||||
"github.com/prometheus/common v0.2.0"
|
||||
"github.com/prometheus/common v0.2.0/go.mod"
|
||||
"github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod"
|
||||
"github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1"
|
||||
"github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod"
|
||||
"github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod"
|
||||
"github.com/satori/go.uuid v1.2.0"
|
||||
"github.com/satori/go.uuid v1.2.0/go.mod"
|
||||
"github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529"
|
||||
"github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod"
|
||||
"github.com/sergi/go-diff v1.0.0"
|
||||
"github.com/sergi/go-diff v1.0.0/go.mod"
|
||||
"github.com/sirupsen/logrus v1.2.0"
|
||||
"github.com/sirupsen/logrus v1.2.0/go.mod"
|
||||
"github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d"
|
||||
"github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod"
|
||||
"github.com/smartystreets/goconvey v0.0.0-20180222194500-ef6db91d284a"
|
||||
"github.com/smartystreets/goconvey v0.0.0-20180222194500-ef6db91d284a/go.mod"
|
||||
"github.com/soheilhy/cmux v0.1.4"
|
||||
"github.com/soheilhy/cmux v0.1.4/go.mod"
|
||||
"github.com/spf13/afero v1.2.2"
|
||||
"github.com/spf13/afero v1.2.2/go.mod"
|
||||
"github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod"
|
||||
"github.com/spf13/pflag v1.0.1/go.mod"
|
||||
"github.com/spf13/pflag v1.0.2/go.mod"
|
||||
"github.com/spf13/pflag v1.0.3"
|
||||
"github.com/spf13/pflag v1.0.3/go.mod"
|
||||
"github.com/stretchr/objx v0.1.0/go.mod"
|
||||
"github.com/stretchr/objx v0.1.1/go.mod"
|
||||
"github.com/stretchr/testify v0.0.0-20151208002404-e3a8ff8ce365/go.mod"
|
||||
"github.com/stretchr/testify v1.2.2/go.mod"
|
||||
"github.com/stretchr/testify v1.3.0/go.mod"
|
||||
"github.com/stretchr/testify v1.5.1"
|
||||
"github.com/stretchr/testify v1.5.1/go.mod"
|
||||
"github.com/svanharmelen/jsonapi v0.0.0-20180618144545-0c0828c3f16d"
|
||||
"github.com/svanharmelen/jsonapi v0.0.0-20180618144545-0c0828c3f16d/go.mod"
|
||||
"github.com/tencentcloud/tencentcloud-sdk-go v3.0.82+incompatible"
|
||||
"github.com/tencentcloud/tencentcloud-sdk-go v3.0.82+incompatible/go.mod"
|
||||
"github.com/tencentyun/cos-go-sdk-v5 v0.0.0-20190808065407-f07404cefc8c"
|
||||
"github.com/tencentyun/cos-go-sdk-v5 v0.0.0-20190808065407-f07404cefc8c/go.mod"
|
||||
"github.com/tmc/grpc-websocket-proxy v0.0.0-20171017195756-830351dc03c6"
|
||||
"github.com/tmc/grpc-websocket-proxy v0.0.0-20171017195756-830351dc03c6/go.mod"
|
||||
"github.com/tombuildsstuff/giovanni v0.12.0"
|
||||
"github.com/tombuildsstuff/giovanni v0.12.0/go.mod"
|
||||
"github.com/ugorji/go v0.0.0-20180813092308-00b869d2f4a5"
|
||||
"github.com/ugorji/go v0.0.0-20180813092308-00b869d2f4a5/go.mod"
|
||||
"github.com/ulikunitz/xz v0.5.5"
|
||||
"github.com/ulikunitz/xz v0.5.5/go.mod"
|
||||
"github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod"
|
||||
"github.com/vmihailenco/msgpack v4.0.1+incompatible"
|
||||
"github.com/vmihailenco/msgpack v4.0.1+incompatible/go.mod"
|
||||
"github.com/xanzy/ssh-agent v0.2.1"
|
||||
"github.com/xanzy/ssh-agent v0.2.1/go.mod"
|
||||
"github.com/xiang90/probing v0.0.0-20160813154853-07dd2e8dfe18"
|
||||
"github.com/xiang90/probing v0.0.0-20160813154853-07dd2e8dfe18/go.mod"
|
||||
"github.com/xlab/treeprint v0.0.0-20161029104018-1d6e34225557"
|
||||
"github.com/xlab/treeprint v0.0.0-20161029104018-1d6e34225557/go.mod"
|
||||
"github.com/zclconf/go-cty v1.0.0/go.mod"
|
||||
"github.com/zclconf/go-cty v1.1.0/go.mod"
|
||||
"github.com/zclconf/go-cty v1.2.0/go.mod"
|
||||
"github.com/zclconf/go-cty v1.5.1"
|
||||
"github.com/zclconf/go-cty v1.5.1/go.mod"
|
||||
"github.com/zclconf/go-cty-yaml v1.0.2"
|
||||
"github.com/zclconf/go-cty-yaml v1.0.2/go.mod"
|
||||
"go.opencensus.io v0.21.0/go.mod"
|
||||
"go.opencensus.io v0.22.0"
|
||||
"go.opencensus.io v0.22.0/go.mod"
|
||||
"go.uber.org/atomic v1.3.2"
|
||||
"go.uber.org/atomic v1.3.2/go.mod"
|
||||
"go.uber.org/multierr v1.1.0"
|
||||
"go.uber.org/multierr v1.1.0/go.mod"
|
||||
"go.uber.org/zap v1.9.1"
|
||||
"go.uber.org/zap v1.9.1/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20181025213731-e84da0312774/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20190222235706-ffb98f73852f/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20191202143827-86a70503ff7e/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9"
|
||||
"golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod"
|
||||
"golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod"
|
||||
"golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod"
|
||||
"golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod"
|
||||
"golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod"
|
||||
"golang.org/x/mod v0.2.0"
|
||||
"golang.org/x/mod v0.2.0/go.mod"
|
||||
"golang.org/x/net v0.0.0-20170114055629-f2499483f923/go.mod"
|
||||
"golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod"
|
||||
"golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod"
|
||||
"golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod"
|
||||
"golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod"
|
||||
"golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod"
|
||||
"golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod"
|
||||
"golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190206173232-65e2d4e15006/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190812203447-cdfb69ac37fc/go.mod"
|
||||
"golang.org/x/net v0.0.0-20191009170851-d66e71096ffb/go.mod"
|
||||
"golang.org/x/net v0.0.0-20191126235420-ef20fe5d7933/go.mod"
|
||||
"golang.org/x/net v0.0.0-20200202094626-16171245cfb2"
|
||||
"golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod"
|
||||
"golang.org/x/net v0.0.0-20200602114024-627f9648deb9"
|
||||
"golang.org/x/net v0.0.0-20200602114024-627f9648deb9/go.mod"
|
||||
"golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod"
|
||||
"golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod"
|
||||
"golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a/go.mod"
|
||||
"golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45"
|
||||
"golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20170830134202-bb24a47a89ea/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190221075227-b4e8571b14e0/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190502175342-a43fa875dd82/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190509141414-a5b02f93d862/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20191128015809-6d18c012aee9"
|
||||
"golang.org/x/sys v0.0.0-20191128015809-6d18c012aee9/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd"
|
||||
"golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod"
|
||||
"golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod"
|
||||
"golang.org/x/text v0.3.0/go.mod"
|
||||
"golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod"
|
||||
"golang.org/x/text v0.3.1-0.20181227161524-e6919f6577db/go.mod"
|
||||
"golang.org/x/text v0.3.2"
|
||||
"golang.org/x/text v0.3.2/go.mod"
|
||||
"golang.org/x/time v0.0.0-20161028155119-f51c12702a4d/go.mod"
|
||||
"golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod"
|
||||
"golang.org/x/time v0.0.0-20190308202827-9d24e82272b4"
|
||||
"golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20191203134012-c197fd4bf371"
|
||||
"golang.org/x/tools v0.0.0-20191203134012-c197fd4bf371/go.mod"
|
||||
"golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod"
|
||||
"golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod"
|
||||
"google.golang.org/api v0.4.0/go.mod"
|
||||
"google.golang.org/api v0.7.0/go.mod"
|
||||
"google.golang.org/api v0.8.0/go.mod"
|
||||
"google.golang.org/api v0.9.0"
|
||||
"google.golang.org/api v0.9.0/go.mod"
|
||||
"google.golang.org/appengine v1.1.0/go.mod"
|
||||
"google.golang.org/appengine v1.4.0/go.mod"
|
||||
"google.golang.org/appengine v1.5.0/go.mod"
|
||||
"google.golang.org/appengine v1.6.1"
|
||||
"google.golang.org/appengine v1.6.1/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20170818010345-ee236bd376b0/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55"
|
||||
"google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod"
|
||||
"google.golang.org/grpc v1.8.0/go.mod"
|
||||
"google.golang.org/grpc v1.19.0/go.mod"
|
||||
"google.golang.org/grpc v1.20.1/go.mod"
|
||||
"google.golang.org/grpc v1.21.1/go.mod"
|
||||
"google.golang.org/grpc v1.23.0/go.mod"
|
||||
"google.golang.org/grpc v1.27.1"
|
||||
"google.golang.org/grpc v1.27.1/go.mod"
|
||||
"gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod"
|
||||
"gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod"
|
||||
"gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod"
|
||||
"gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15"
|
||||
"gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod"
|
||||
"gopkg.in/cheggaaa/pb.v1 v1.0.27/go.mod"
|
||||
"gopkg.in/fsnotify.v1 v1.4.7/go.mod"
|
||||
"gopkg.in/inf.v0 v0.9.0"
|
||||
"gopkg.in/inf.v0 v0.9.0/go.mod"
|
||||
"gopkg.in/ini.v1 v1.42.0"
|
||||
"gopkg.in/ini.v1 v1.42.0/go.mod"
|
||||
"gopkg.in/resty.v1 v1.12.0/go.mod"
|
||||
"gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.1/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.2/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.4/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.7/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.8"
|
||||
"gopkg.in/yaml.v2 v2.2.8/go.mod"
|
||||
"honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod"
|
||||
"honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod"
|
||||
"honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod"
|
||||
"honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod"
|
||||
"k8s.io/api v0.0.0-20190620084959-7cf5895f2711"
|
||||
"k8s.io/api v0.0.0-20190620084959-7cf5895f2711/go.mod"
|
||||
"k8s.io/apimachinery v0.0.0-20190612205821-1799e75a0719/go.mod"
|
||||
"k8s.io/apimachinery v0.0.0-20190913080033-27d36303b655"
|
||||
"k8s.io/apimachinery v0.0.0-20190913080033-27d36303b655/go.mod"
|
||||
"k8s.io/client-go v0.0.0-20190620085101-78d2af792bab"
|
||||
"k8s.io/client-go v0.0.0-20190620085101-78d2af792bab/go.mod"
|
||||
"k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod"
|
||||
"k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod"
|
||||
"k8s.io/klog v0.3.1/go.mod"
|
||||
"k8s.io/klog v0.4.0"
|
||||
"k8s.io/klog v0.4.0/go.mod"
|
||||
"k8s.io/klog/v2 v2.0.0/go.mod"
|
||||
"k8s.io/kube-openapi v0.0.0-20190228160746-b3a7cee44a30/go.mod"
|
||||
"k8s.io/kube-openapi v0.0.0-20190816220812-743ec37842bf/go.mod"
|
||||
"k8s.io/utils v0.0.0-20190221042446-c2654d5206da/go.mod"
|
||||
"k8s.io/utils v0.0.0-20200411171748-3d5a2fe318e4"
|
||||
"k8s.io/utils v0.0.0-20200411171748-3d5a2fe318e4/go.mod"
|
||||
"rsc.io/binaryregexp v0.2.0/go.mod"
|
||||
"sigs.k8s.io/structured-merge-diff v0.0.0-20190525122527-15d366b2352e/go.mod"
|
||||
"sigs.k8s.io/yaml v1.1.0"
|
||||
"sigs.k8s.io/yaml v1.1.0/go.mod"
|
||||
|
||||
)
|
||||
|
||||
go-module_set_globals
|
||||
|
||||
DESCRIPTION="A tool for building, changing, and combining infrastructure safely"
|
||||
HOMEPAGE="https://www.terraform.io/"
|
||||
SRC_URI="https://github.com/hashicorp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
${EGO_SUM_SRC_URI}"
|
||||
|
||||
LICENSE="Apache-2.0 BSD-2 BSD-4 ECL-2.0 imagemagick ISC JSON MIT MIT-with-advertising MPL-2.0 unicode"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS=( {README,CHANGELOG}.md )
|
||||
|
||||
src_compile() {
|
||||
go build \
|
||||
-work -o "bin/${PN}" ./ || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/terraform
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you would like to install shell completions please run:"
|
||||
elog " terraform -install-autocomplete"
|
||||
}
|
@ -0,0 +1,736 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit go-module
|
||||
|
||||
EGO_SUM=(
|
||||
"cloud.google.com/go v0.26.0/go.mod"
|
||||
"cloud.google.com/go v0.34.0/go.mod"
|
||||
"cloud.google.com/go v0.38.0/go.mod"
|
||||
"cloud.google.com/go v0.44.1/go.mod"
|
||||
"cloud.google.com/go v0.44.2/go.mod"
|
||||
"cloud.google.com/go v0.45.1"
|
||||
"cloud.google.com/go v0.45.1/go.mod"
|
||||
"cloud.google.com/go/bigquery v1.0.1/go.mod"
|
||||
"cloud.google.com/go/datastore v1.0.0/go.mod"
|
||||
"github.com/Azure/azure-sdk-for-go v45.0.0+incompatible"
|
||||
"github.com/Azure/azure-sdk-for-go v45.0.0+incompatible/go.mod"
|
||||
"github.com/Azure/go-autorest v11.1.2+incompatible/go.mod"
|
||||
"github.com/Azure/go-autorest v14.2.0+incompatible"
|
||||
"github.com/Azure/go-autorest v14.2.0+incompatible/go.mod"
|
||||
"github.com/Azure/go-autorest/autorest v0.11.3"
|
||||
"github.com/Azure/go-autorest/autorest v0.11.3/go.mod"
|
||||
"github.com/Azure/go-autorest/autorest/adal v0.9.0"
|
||||
"github.com/Azure/go-autorest/autorest/adal v0.9.0/go.mod"
|
||||
"github.com/Azure/go-autorest/autorest/azure/cli v0.4.0"
|
||||
"github.com/Azure/go-autorest/autorest/azure/cli v0.4.0/go.mod"
|
||||
"github.com/Azure/go-autorest/autorest/date v0.3.0"
|
||||
"github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod"
|
||||
"github.com/Azure/go-autorest/autorest/mocks v0.4.0"
|
||||
"github.com/Azure/go-autorest/autorest/mocks v0.4.0/go.mod"
|
||||
"github.com/Azure/go-autorest/autorest/to v0.4.0"
|
||||
"github.com/Azure/go-autorest/autorest/to v0.4.0/go.mod"
|
||||
"github.com/Azure/go-autorest/autorest/validation v0.3.0"
|
||||
"github.com/Azure/go-autorest/autorest/validation v0.3.0/go.mod"
|
||||
"github.com/Azure/go-autorest/logger v0.2.0"
|
||||
"github.com/Azure/go-autorest/logger v0.2.0/go.mod"
|
||||
"github.com/Azure/go-autorest/tracing v0.6.0"
|
||||
"github.com/Azure/go-autorest/tracing v0.6.0/go.mod"
|
||||
"github.com/Azure/go-ntlmssp v0.0.0-20180810175552-4a21cbd618b4"
|
||||
"github.com/Azure/go-ntlmssp v0.0.0-20180810175552-4a21cbd618b4/go.mod"
|
||||
"github.com/Azure/go-ntlmssp v0.0.0-20200615164410-66371956d46c"
|
||||
"github.com/Azure/go-ntlmssp v0.0.0-20200615164410-66371956d46c/go.mod"
|
||||
"github.com/BurntSushi/toml v0.3.1/go.mod"
|
||||
"github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod"
|
||||
"github.com/ChrisTrenkamp/goxpath v0.0.0-20170922090931-c385f95c6022"
|
||||
"github.com/ChrisTrenkamp/goxpath v0.0.0-20170922090931-c385f95c6022/go.mod"
|
||||
"github.com/ChrisTrenkamp/goxpath v0.0.0-20190607011252-c5096ec8773d"
|
||||
"github.com/ChrisTrenkamp/goxpath v0.0.0-20190607011252-c5096ec8773d/go.mod"
|
||||
"github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod"
|
||||
"github.com/PuerkitoBio/purell v1.0.0/go.mod"
|
||||
"github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod"
|
||||
"github.com/QcloudApi/qcloud_sign_golang v0.0.0-20141224014652-e4130a326409/go.mod"
|
||||
"github.com/abdullin/seq v0.0.0-20160510034733-d5467c17e7af"
|
||||
"github.com/abdullin/seq v0.0.0-20160510034733-d5467c17e7af/go.mod"
|
||||
"github.com/agext/levenshtein v1.2.1/go.mod"
|
||||
"github.com/agext/levenshtein v1.2.2"
|
||||
"github.com/agext/levenshtein v1.2.2/go.mod"
|
||||
"github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412"
|
||||
"github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412/go.mod"
|
||||
"github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod"
|
||||
"github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod"
|
||||
"github.com/aliyun/alibaba-cloud-sdk-go v0.0.0-20190329064014-6e358769c32a"
|
||||
"github.com/aliyun/alibaba-cloud-sdk-go v0.0.0-20190329064014-6e358769c32a/go.mod"
|
||||
"github.com/aliyun/aliyun-oss-go-sdk v0.0.0-20190103054945-8205d1f41e70"
|
||||
"github.com/aliyun/aliyun-oss-go-sdk v0.0.0-20190103054945-8205d1f41e70/go.mod"
|
||||
"github.com/aliyun/aliyun-tablestore-go-sdk v4.1.2+incompatible"
|
||||
"github.com/aliyun/aliyun-tablestore-go-sdk v4.1.2+incompatible/go.mod"
|
||||
"github.com/antchfx/xpath v0.0.0-20190129040759-c8489ed3251e"
|
||||
"github.com/antchfx/xpath v0.0.0-20190129040759-c8489ed3251e/go.mod"
|
||||
"github.com/antchfx/xquery v0.0.0-20180515051857-ad5b8c7a47b0"
|
||||
"github.com/antchfx/xquery v0.0.0-20180515051857-ad5b8c7a47b0/go.mod"
|
||||
"github.com/apparentlymart/go-cidr v1.1.0"
|
||||
"github.com/apparentlymart/go-cidr v1.1.0/go.mod"
|
||||
"github.com/apparentlymart/go-dump v0.0.0-20180507223929-23540a00eaa3/go.mod"
|
||||
"github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0"
|
||||
"github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0/go.mod"
|
||||
"github.com/apparentlymart/go-textseg v1.0.0"
|
||||
"github.com/apparentlymart/go-textseg v1.0.0/go.mod"
|
||||
"github.com/apparentlymart/go-textseg/v12 v12.0.0"
|
||||
"github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod"
|
||||
"github.com/apparentlymart/go-userdirs v0.0.0-20200915174352-b0c018a67c13"
|
||||
"github.com/apparentlymart/go-userdirs v0.0.0-20200915174352-b0c018a67c13/go.mod"
|
||||
"github.com/apparentlymart/go-versions v1.0.0"
|
||||
"github.com/apparentlymart/go-versions v1.0.0/go.mod"
|
||||
"github.com/armon/circbuf v0.0.0-20190214190532-5111143e8da2"
|
||||
"github.com/armon/circbuf v0.0.0-20190214190532-5111143e8da2/go.mod"
|
||||
"github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da"
|
||||
"github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod"
|
||||
"github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod"
|
||||
"github.com/armon/go-radix v1.0.0"
|
||||
"github.com/armon/go-radix v1.0.0/go.mod"
|
||||
"github.com/aws/aws-sdk-go v1.15.78/go.mod"
|
||||
"github.com/aws/aws-sdk-go v1.31.9"
|
||||
"github.com/aws/aws-sdk-go v1.31.9/go.mod"
|
||||
"github.com/baiyubin/aliyun-sts-go-sdk v0.0.0-20180326062324-cfa1a18b161f"
|
||||
"github.com/baiyubin/aliyun-sts-go-sdk v0.0.0-20180326062324-cfa1a18b161f/go.mod"
|
||||
"github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973"
|
||||
"github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod"
|
||||
"github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d"
|
||||
"github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d/go.mod"
|
||||
"github.com/bgentry/speakeasy v0.1.0"
|
||||
"github.com/bgentry/speakeasy v0.1.0/go.mod"
|
||||
"github.com/bmatcuk/doublestar v1.1.5"
|
||||
"github.com/bmatcuk/doublestar v1.1.5/go.mod"
|
||||
"github.com/boltdb/bolt v1.3.1"
|
||||
"github.com/boltdb/bolt v1.3.1/go.mod"
|
||||
"github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod"
|
||||
"github.com/cheggaaa/pb v1.0.27/go.mod"
|
||||
"github.com/chzyer/logex v1.1.10"
|
||||
"github.com/chzyer/logex v1.1.10/go.mod"
|
||||
"github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e"
|
||||
"github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod"
|
||||
"github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1"
|
||||
"github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod"
|
||||
"github.com/client9/misspell v0.3.4/go.mod"
|
||||
"github.com/coreos/bbolt v1.3.0"
|
||||
"github.com/coreos/bbolt v1.3.0/go.mod"
|
||||
"github.com/coreos/etcd v3.3.10+incompatible"
|
||||
"github.com/coreos/etcd v3.3.10+incompatible/go.mod"
|
||||
"github.com/coreos/go-semver v0.2.0"
|
||||
"github.com/coreos/go-semver v0.2.0/go.mod"
|
||||
"github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d"
|
||||
"github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d/go.mod"
|
||||
"github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f"
|
||||
"github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod"
|
||||
"github.com/davecgh/go-spew v0.0.0-20151105211317-5215b55f46b2/go.mod"
|
||||
"github.com/davecgh/go-spew v1.1.0/go.mod"
|
||||
"github.com/davecgh/go-spew v1.1.1"
|
||||
"github.com/davecgh/go-spew v1.1.1/go.mod"
|
||||
"github.com/dgrijalva/jwt-go v0.0.0-20160705203006-01aeca54ebda/go.mod"
|
||||
"github.com/dgrijalva/jwt-go v3.2.0+incompatible"
|
||||
"github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod"
|
||||
"github.com/dimchansky/utfbom v1.1.0"
|
||||
"github.com/dimchansky/utfbom v1.1.0/go.mod"
|
||||
"github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod"
|
||||
"github.com/dylanmei/iso8601 v0.1.0"
|
||||
"github.com/dylanmei/iso8601 v0.1.0/go.mod"
|
||||
"github.com/dylanmei/winrmtest v0.0.0-20190225150635-99b7fe2fddf1"
|
||||
"github.com/dylanmei/winrmtest v0.0.0-20190225150635-99b7fe2fddf1/go.mod"
|
||||
"github.com/elazarl/goproxy v0.0.0-20170405201442-c4fc26588b6e/go.mod"
|
||||
"github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod"
|
||||
"github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod"
|
||||
"github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod"
|
||||
"github.com/evanphx/json-patch v0.0.0-20190203023257-5858425f7550/go.mod"
|
||||
"github.com/evanphx/json-patch v4.2.0+incompatible/go.mod"
|
||||
"github.com/fatih/color v1.7.0"
|
||||
"github.com/fatih/color v1.7.0/go.mod"
|
||||
"github.com/fsnotify/fsnotify v1.4.7/go.mod"
|
||||
"github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod"
|
||||
"github.com/ghodss/yaml v1.0.0"
|
||||
"github.com/ghodss/yaml v1.0.0/go.mod"
|
||||
"github.com/go-kit/kit v0.8.0/go.mod"
|
||||
"github.com/go-logfmt/logfmt v0.3.0/go.mod"
|
||||
"github.com/go-logr/logr v0.1.0/go.mod"
|
||||
"github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod"
|
||||
"github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod"
|
||||
"github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod"
|
||||
"github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod"
|
||||
"github.com/go-sql-driver/mysql v1.5.0/go.mod"
|
||||
"github.com/go-stack/stack v1.8.0/go.mod"
|
||||
"github.com/go-test/deep v1.0.1/go.mod"
|
||||
"github.com/go-test/deep v1.0.3"
|
||||
"github.com/go-test/deep v1.0.3/go.mod"
|
||||
"github.com/gofrs/uuid v3.2.0+incompatible"
|
||||
"github.com/gofrs/uuid v3.2.0+incompatible/go.mod"
|
||||
"github.com/gofrs/uuid v3.3.0+incompatible"
|
||||
"github.com/gofrs/uuid v3.3.0+incompatible/go.mod"
|
||||
"github.com/gogo/protobuf v0.0.0-20171007142547-342cbe0a0415/go.mod"
|
||||
"github.com/gogo/protobuf v1.1.1/go.mod"
|
||||
"github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d"
|
||||
"github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d/go.mod"
|
||||
"github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b"
|
||||
"github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod"
|
||||
"github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod"
|
||||
"github.com/golang/groupcache v0.0.0-20180513044358-24b0969c4cb7"
|
||||
"github.com/golang/groupcache v0.0.0-20180513044358-24b0969c4cb7/go.mod"
|
||||
"github.com/golang/mock v1.1.1/go.mod"
|
||||
"github.com/golang/mock v1.2.0/go.mod"
|
||||
"github.com/golang/mock v1.3.1"
|
||||
"github.com/golang/mock v1.3.1/go.mod"
|
||||
"github.com/golang/protobuf v0.0.0-20161109072736-4bd1920723d7/go.mod"
|
||||
"github.com/golang/protobuf v1.1.0/go.mod"
|
||||
"github.com/golang/protobuf v1.2.0/go.mod"
|
||||
"github.com/golang/protobuf v1.3.1/go.mod"
|
||||
"github.com/golang/protobuf v1.3.2/go.mod"
|
||||
"github.com/golang/protobuf v1.3.4"
|
||||
"github.com/golang/protobuf v1.3.4/go.mod"
|
||||
"github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db"
|
||||
"github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod"
|
||||
"github.com/google/btree v0.0.0-20160524151835-7d79101e329e/go.mod"
|
||||
"github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod"
|
||||
"github.com/google/btree v1.0.0"
|
||||
"github.com/google/btree v1.0.0/go.mod"
|
||||
"github.com/google/go-cmp v0.2.0/go.mod"
|
||||
"github.com/google/go-cmp v0.3.0/go.mod"
|
||||
"github.com/google/go-cmp v0.3.1"
|
||||
"github.com/google/go-cmp v0.3.1/go.mod"
|
||||
"github.com/google/go-querystring v1.0.0"
|
||||
"github.com/google/go-querystring v1.0.0/go.mod"
|
||||
"github.com/google/gofuzz v0.0.0-20161122191042-44d81051d367/go.mod"
|
||||
"github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf/go.mod"
|
||||
"github.com/google/gofuzz v1.0.0"
|
||||
"github.com/google/gofuzz v1.0.0/go.mod"
|
||||
"github.com/google/martian v2.1.0+incompatible"
|
||||
"github.com/google/martian v2.1.0+incompatible/go.mod"
|
||||
"github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod"
|
||||
"github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod"
|
||||
"github.com/google/uuid v1.0.0/go.mod"
|
||||
"github.com/google/uuid v1.1.1"
|
||||
"github.com/google/uuid v1.1.1/go.mod"
|
||||
"github.com/googleapis/gax-go/v2 v2.0.4/go.mod"
|
||||
"github.com/googleapis/gax-go/v2 v2.0.5"
|
||||
"github.com/googleapis/gax-go/v2 v2.0.5/go.mod"
|
||||
"github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d"
|
||||
"github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d/go.mod"
|
||||
"github.com/gophercloud/gophercloud v0.0.0-20190126172459-c818fa66e4c8/go.mod"
|
||||
"github.com/gophercloud/gophercloud v0.6.1-0.20191122030953-d8ac278c1c9d/go.mod"
|
||||
"github.com/gophercloud/gophercloud v0.10.1-0.20200424014253-c3bfe50899e5"
|
||||
"github.com/gophercloud/gophercloud v0.10.1-0.20200424014253-c3bfe50899e5/go.mod"
|
||||
"github.com/gophercloud/utils v0.0.0-20200423144003-7c72efc7435d"
|
||||
"github.com/gophercloud/utils v0.0.0-20200423144003-7c72efc7435d/go.mod"
|
||||
"github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1"
|
||||
"github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod"
|
||||
"github.com/gorilla/websocket v1.4.0"
|
||||
"github.com/gorilla/websocket v1.4.0/go.mod"
|
||||
"github.com/gregjones/httpcache v0.0.0-20170728041850-787624de3eb7/go.mod"
|
||||
"github.com/grpc-ecosystem/go-grpc-middleware v1.0.0"
|
||||
"github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod"
|
||||
"github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0"
|
||||
"github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod"
|
||||
"github.com/grpc-ecosystem/grpc-gateway v1.8.5"
|
||||
"github.com/grpc-ecosystem/grpc-gateway v1.8.5/go.mod"
|
||||
"github.com/hashicorp/aws-sdk-go-base v0.6.0"
|
||||
"github.com/hashicorp/aws-sdk-go-base v0.6.0/go.mod"
|
||||
"github.com/hashicorp/consul v0.0.0-20171026175957-610f3c86a089"
|
||||
"github.com/hashicorp/consul v0.0.0-20171026175957-610f3c86a089/go.mod"
|
||||
"github.com/hashicorp/errwrap v1.0.0"
|
||||
"github.com/hashicorp/errwrap v1.0.0/go.mod"
|
||||
"github.com/hashicorp/go-azure-helpers v0.12.0"
|
||||
"github.com/hashicorp/go-azure-helpers v0.12.0/go.mod"
|
||||
"github.com/hashicorp/go-checkpoint v0.5.0"
|
||||
"github.com/hashicorp/go-checkpoint v0.5.0/go.mod"
|
||||
"github.com/hashicorp/go-cleanhttp v0.5.0/go.mod"
|
||||
"github.com/hashicorp/go-cleanhttp v0.5.1"
|
||||
"github.com/hashicorp/go-cleanhttp v0.5.1/go.mod"
|
||||
"github.com/hashicorp/go-getter v1.4.2-0.20200106182914-9813cbd4eb02"
|
||||
"github.com/hashicorp/go-getter v1.4.2-0.20200106182914-9813cbd4eb02/go.mod"
|
||||
"github.com/hashicorp/go-hclog v0.0.0-20180709165350-ff2cf002a8dd/go.mod"
|
||||
"github.com/hashicorp/go-hclog v0.9.2"
|
||||
"github.com/hashicorp/go-hclog v0.9.2/go.mod"
|
||||
"github.com/hashicorp/go-immutable-radix v0.0.0-20180129170900-7f3cd4390caa"
|
||||
"github.com/hashicorp/go-immutable-radix v0.0.0-20180129170900-7f3cd4390caa/go.mod"
|
||||
"github.com/hashicorp/go-msgpack v0.5.4"
|
||||
"github.com/hashicorp/go-msgpack v0.5.4/go.mod"
|
||||
"github.com/hashicorp/go-multierror v1.0.0"
|
||||
"github.com/hashicorp/go-multierror v1.0.0/go.mod"
|
||||
"github.com/hashicorp/go-plugin v1.3.0"
|
||||
"github.com/hashicorp/go-plugin v1.3.0/go.mod"
|
||||
"github.com/hashicorp/go-retryablehttp v0.5.2"
|
||||
"github.com/hashicorp/go-retryablehttp v0.5.2/go.mod"
|
||||
"github.com/hashicorp/go-rootcerts v1.0.0"
|
||||
"github.com/hashicorp/go-rootcerts v1.0.0/go.mod"
|
||||
"github.com/hashicorp/go-safetemp v1.0.0"
|
||||
"github.com/hashicorp/go-safetemp v1.0.0/go.mod"
|
||||
"github.com/hashicorp/go-slug v0.4.1"
|
||||
"github.com/hashicorp/go-slug v0.4.1/go.mod"
|
||||
"github.com/hashicorp/go-sockaddr v0.0.0-20180320115054-6d291a969b86"
|
||||
"github.com/hashicorp/go-sockaddr v0.0.0-20180320115054-6d291a969b86/go.mod"
|
||||
"github.com/hashicorp/go-tfe v0.8.1"
|
||||
"github.com/hashicorp/go-tfe v0.8.1/go.mod"
|
||||
"github.com/hashicorp/go-uuid v1.0.0/go.mod"
|
||||
"github.com/hashicorp/go-uuid v1.0.1"
|
||||
"github.com/hashicorp/go-uuid v1.0.1/go.mod"
|
||||
"github.com/hashicorp/go-version v1.0.0/go.mod"
|
||||
"github.com/hashicorp/go-version v1.1.0/go.mod"
|
||||
"github.com/hashicorp/go-version v1.2.0"
|
||||
"github.com/hashicorp/go-version v1.2.0/go.mod"
|
||||
"github.com/hashicorp/golang-lru v0.5.0/go.mod"
|
||||
"github.com/hashicorp/golang-lru v0.5.1"
|
||||
"github.com/hashicorp/golang-lru v0.5.1/go.mod"
|
||||
"github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f"
|
||||
"github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f/go.mod"
|
||||
"github.com/hashicorp/hcl/v2 v2.0.0/go.mod"
|
||||
"github.com/hashicorp/hcl/v2 v2.6.0"
|
||||
"github.com/hashicorp/hcl/v2 v2.6.0/go.mod"
|
||||
"github.com/hashicorp/hil v0.0.0-20190212112733-ab17b08d6590"
|
||||
"github.com/hashicorp/hil v0.0.0-20190212112733-ab17b08d6590/go.mod"
|
||||
"github.com/hashicorp/memberlist v0.1.0"
|
||||
"github.com/hashicorp/memberlist v0.1.0/go.mod"
|
||||
"github.com/hashicorp/serf v0.0.0-20160124182025-e4ec8cc423bb"
|
||||
"github.com/hashicorp/serf v0.0.0-20160124182025-e4ec8cc423bb/go.mod"
|
||||
"github.com/hashicorp/terraform-config-inspect v0.0.0-20191212124732-c6ae6269b9d7"
|
||||
"github.com/hashicorp/terraform-config-inspect v0.0.0-20191212124732-c6ae6269b9d7/go.mod"
|
||||
"github.com/hashicorp/terraform-svchost v0.0.0-20191011084731-65d371908596"
|
||||
"github.com/hashicorp/terraform-svchost v0.0.0-20191011084731-65d371908596/go.mod"
|
||||
"github.com/hashicorp/vault v0.10.4"
|
||||
"github.com/hashicorp/vault v0.10.4/go.mod"
|
||||
"github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb"
|
||||
"github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod"
|
||||
"github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d"
|
||||
"github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod"
|
||||
"github.com/hpcloud/tail v1.0.0/go.mod"
|
||||
"github.com/imdario/mergo v0.3.5/go.mod"
|
||||
"github.com/imdario/mergo v0.3.9"
|
||||
"github.com/imdario/mergo v0.3.9/go.mod"
|
||||
"github.com/jhump/protoreflect v1.6.0"
|
||||
"github.com/jhump/protoreflect v1.6.0/go.mod"
|
||||
"github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod"
|
||||
"github.com/jmespath/go-jmespath v0.3.0"
|
||||
"github.com/jmespath/go-jmespath v0.3.0/go.mod"
|
||||
"github.com/jonboulle/clockwork v0.1.0"
|
||||
"github.com/jonboulle/clockwork v0.1.0/go.mod"
|
||||
"github.com/joyent/triton-go v0.0.0-20180313100802-d8f9c0314926"
|
||||
"github.com/joyent/triton-go v0.0.0-20180313100802-d8f9c0314926/go.mod"
|
||||
"github.com/json-iterator/go v0.0.0-20180612202835-f2b4162afba3/go.mod"
|
||||
"github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be/go.mod"
|
||||
"github.com/json-iterator/go v1.1.7"
|
||||
"github.com/json-iterator/go v1.1.7/go.mod"
|
||||
"github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod"
|
||||
"github.com/jtolds/gls v4.2.1+incompatible"
|
||||
"github.com/jtolds/gls v4.2.1+incompatible/go.mod"
|
||||
"github.com/julienschmidt/httprouter v1.2.0/go.mod"
|
||||
"github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0"
|
||||
"github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0/go.mod"
|
||||
"github.com/keybase/go-crypto v0.0.0-20161004153544-93f5b35093ba"
|
||||
"github.com/keybase/go-crypto v0.0.0-20161004153544-93f5b35093ba/go.mod"
|
||||
"github.com/kisielk/errcheck v1.2.0/go.mod"
|
||||
"github.com/kisielk/gotool v1.0.0/go.mod"
|
||||
"github.com/konsorten/go-windows-terminal-sequences v1.0.1"
|
||||
"github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod"
|
||||
"github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod"
|
||||
"github.com/kr/pretty v0.1.0"
|
||||
"github.com/kr/pretty v0.1.0/go.mod"
|
||||
"github.com/kr/pty v1.1.1/go.mod"
|
||||
"github.com/kr/text v0.1.0"
|
||||
"github.com/kr/text v0.1.0/go.mod"
|
||||
"github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod"
|
||||
"github.com/kylelemons/godebug v1.1.0"
|
||||
"github.com/kylelemons/godebug v1.1.0/go.mod"
|
||||
"github.com/lib/pq v1.0.0"
|
||||
"github.com/lib/pq v1.0.0/go.mod"
|
||||
"github.com/likexian/gokit v0.0.0-20190309162924-0a377eecf7aa/go.mod"
|
||||
"github.com/likexian/gokit v0.0.0-20190418170008-ace88ad0983b/go.mod"
|
||||
"github.com/likexian/gokit v0.0.0-20190501133040-e77ea8b19cdc/go.mod"
|
||||
"github.com/likexian/gokit v0.20.15"
|
||||
"github.com/likexian/gokit v0.20.15/go.mod"
|
||||
"github.com/likexian/simplejson-go v0.0.0-20190409170913-40473a74d76d/go.mod"
|
||||
"github.com/likexian/simplejson-go v0.0.0-20190419151922-c1f9f0b4f084/go.mod"
|
||||
"github.com/likexian/simplejson-go v0.0.0-20190502021454-d8787b4bfa0b/go.mod"
|
||||
"github.com/lusis/go-artifactory v0.0.0-20160115162124-7e4ce345df82"
|
||||
"github.com/lusis/go-artifactory v0.0.0-20160115162124-7e4ce345df82/go.mod"
|
||||
"github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod"
|
||||
"github.com/masterzen/simplexml v0.0.0-20160608183007-4572e39b1ab9"
|
||||
"github.com/masterzen/simplexml v0.0.0-20160608183007-4572e39b1ab9/go.mod"
|
||||
"github.com/masterzen/simplexml v0.0.0-20190410153822-31eea3082786"
|
||||
"github.com/masterzen/simplexml v0.0.0-20190410153822-31eea3082786/go.mod"
|
||||
"github.com/masterzen/winrm v0.0.0-20200615185753-c42b5136ff88"
|
||||
"github.com/masterzen/winrm v0.0.0-20200615185753-c42b5136ff88/go.mod"
|
||||
"github.com/mattn/go-colorable v0.0.9/go.mod"
|
||||
"github.com/mattn/go-colorable v0.1.1"
|
||||
"github.com/mattn/go-colorable v0.1.1/go.mod"
|
||||
"github.com/mattn/go-isatty v0.0.3/go.mod"
|
||||
"github.com/mattn/go-isatty v0.0.4/go.mod"
|
||||
"github.com/mattn/go-isatty v0.0.5"
|
||||
"github.com/mattn/go-isatty v0.0.5/go.mod"
|
||||
"github.com/mattn/go-runewidth v0.0.4/go.mod"
|
||||
"github.com/mattn/go-shellwords v1.0.4"
|
||||
"github.com/mattn/go-shellwords v1.0.4/go.mod"
|
||||
"github.com/matttproud/golang_protobuf_extensions v1.0.1"
|
||||
"github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod"
|
||||
"github.com/miekg/dns v1.0.8"
|
||||
"github.com/miekg/dns v1.0.8/go.mod"
|
||||
"github.com/mitchellh/cli v1.0.0"
|
||||
"github.com/mitchellh/cli v1.0.0/go.mod"
|
||||
"github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db"
|
||||
"github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db/go.mod"
|
||||
"github.com/mitchellh/copystructure v1.0.0"
|
||||
"github.com/mitchellh/copystructure v1.0.0/go.mod"
|
||||
"github.com/mitchellh/go-homedir v1.0.0/go.mod"
|
||||
"github.com/mitchellh/go-homedir v1.1.0"
|
||||
"github.com/mitchellh/go-homedir v1.1.0/go.mod"
|
||||
"github.com/mitchellh/go-linereader v0.0.0-20190213213312-1b945b3263eb"
|
||||
"github.com/mitchellh/go-linereader v0.0.0-20190213213312-1b945b3263eb/go.mod"
|
||||
"github.com/mitchellh/go-testing-interface v0.0.0-20171004221916-a61a99592b77/go.mod"
|
||||
"github.com/mitchellh/go-testing-interface v1.0.0"
|
||||
"github.com/mitchellh/go-testing-interface v1.0.0/go.mod"
|
||||
"github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod"
|
||||
"github.com/mitchellh/go-wordwrap v1.0.0"
|
||||
"github.com/mitchellh/go-wordwrap v1.0.0/go.mod"
|
||||
"github.com/mitchellh/gox v1.0.1"
|
||||
"github.com/mitchellh/gox v1.0.1/go.mod"
|
||||
"github.com/mitchellh/iochan v1.0.0"
|
||||
"github.com/mitchellh/iochan v1.0.0/go.mod"
|
||||
"github.com/mitchellh/mapstructure v1.1.2"
|
||||
"github.com/mitchellh/mapstructure v1.1.2/go.mod"
|
||||
"github.com/mitchellh/panicwrap v1.0.0"
|
||||
"github.com/mitchellh/panicwrap v1.0.0/go.mod"
|
||||
"github.com/mitchellh/prefixedio v0.0.0-20190213213902-5733675afd51"
|
||||
"github.com/mitchellh/prefixedio v0.0.0-20190213213902-5733675afd51/go.mod"
|
||||
"github.com/mitchellh/reflectwalk v1.0.0"
|
||||
"github.com/mitchellh/reflectwalk v1.0.0/go.mod"
|
||||
"github.com/mitchellh/reflectwalk v1.0.1"
|
||||
"github.com/mitchellh/reflectwalk v1.0.1/go.mod"
|
||||
"github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod"
|
||||
"github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd"
|
||||
"github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod"
|
||||
"github.com/modern-go/reflect2 v0.0.0-20180320133207-05fbef0ca5da/go.mod"
|
||||
"github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod"
|
||||
"github.com/modern-go/reflect2 v1.0.1"
|
||||
"github.com/modern-go/reflect2 v1.0.1/go.mod"
|
||||
"github.com/mozillazg/go-httpheader v0.2.1"
|
||||
"github.com/mozillazg/go-httpheader v0.2.1/go.mod"
|
||||
"github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod"
|
||||
"github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod"
|
||||
"github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod"
|
||||
"github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d"
|
||||
"github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d/go.mod"
|
||||
"github.com/oklog/run v1.0.0"
|
||||
"github.com/oklog/run v1.0.0/go.mod"
|
||||
"github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod"
|
||||
"github.com/onsi/ginkgo v1.6.0/go.mod"
|
||||
"github.com/onsi/ginkgo v1.8.0/go.mod"
|
||||
"github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod"
|
||||
"github.com/onsi/gomega v0.0.0-20190113212917-5533ce8a0da3/go.mod"
|
||||
"github.com/onsi/gomega v1.5.0/go.mod"
|
||||
"github.com/packer-community/winrmcp v0.0.0-20180921211025-c76d91c1e7db"
|
||||
"github.com/packer-community/winrmcp v0.0.0-20180921211025-c76d91c1e7db/go.mod"
|
||||
"github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c"
|
||||
"github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod"
|
||||
"github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod"
|
||||
"github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4"
|
||||
"github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4/go.mod"
|
||||
"github.com/pkg/errors v0.8.0/go.mod"
|
||||
"github.com/pkg/errors v0.9.1"
|
||||
"github.com/pkg/errors v0.9.1/go.mod"
|
||||
"github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0/go.mod"
|
||||
"github.com/pmezard/go-difflib v1.0.0"
|
||||
"github.com/pmezard/go-difflib v1.0.0/go.mod"
|
||||
"github.com/posener/complete v1.1.1/go.mod"
|
||||
"github.com/posener/complete v1.2.1"
|
||||
"github.com/posener/complete v1.2.1/go.mod"
|
||||
"github.com/prometheus/client_golang v0.9.1/go.mod"
|
||||
"github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829"
|
||||
"github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod"
|
||||
"github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod"
|
||||
"github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod"
|
||||
"github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4"
|
||||
"github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod"
|
||||
"github.com/prometheus/common v0.2.0"
|
||||
"github.com/prometheus/common v0.2.0/go.mod"
|
||||
"github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod"
|
||||
"github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1"
|
||||
"github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod"
|
||||
"github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod"
|
||||
"github.com/satori/go.uuid v1.2.0"
|
||||
"github.com/satori/go.uuid v1.2.0/go.mod"
|
||||
"github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529"
|
||||
"github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod"
|
||||
"github.com/sergi/go-diff v1.0.0"
|
||||
"github.com/sergi/go-diff v1.0.0/go.mod"
|
||||
"github.com/sirupsen/logrus v1.2.0"
|
||||
"github.com/sirupsen/logrus v1.2.0/go.mod"
|
||||
"github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d"
|
||||
"github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod"
|
||||
"github.com/smartystreets/goconvey v0.0.0-20180222194500-ef6db91d284a"
|
||||
"github.com/smartystreets/goconvey v0.0.0-20180222194500-ef6db91d284a/go.mod"
|
||||
"github.com/soheilhy/cmux v0.1.4"
|
||||
"github.com/soheilhy/cmux v0.1.4/go.mod"
|
||||
"github.com/spf13/afero v1.2.2"
|
||||
"github.com/spf13/afero v1.2.2/go.mod"
|
||||
"github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod"
|
||||
"github.com/spf13/pflag v1.0.1/go.mod"
|
||||
"github.com/spf13/pflag v1.0.2/go.mod"
|
||||
"github.com/spf13/pflag v1.0.3"
|
||||
"github.com/spf13/pflag v1.0.3/go.mod"
|
||||
"github.com/stretchr/objx v0.1.0/go.mod"
|
||||
"github.com/stretchr/objx v0.1.1/go.mod"
|
||||
"github.com/stretchr/testify v0.0.0-20151208002404-e3a8ff8ce365/go.mod"
|
||||
"github.com/stretchr/testify v1.2.2/go.mod"
|
||||
"github.com/stretchr/testify v1.3.0/go.mod"
|
||||
"github.com/stretchr/testify v1.5.1"
|
||||
"github.com/stretchr/testify v1.5.1/go.mod"
|
||||
"github.com/svanharmelen/jsonapi v0.0.0-20180618144545-0c0828c3f16d"
|
||||
"github.com/svanharmelen/jsonapi v0.0.0-20180618144545-0c0828c3f16d/go.mod"
|
||||
"github.com/tencentcloud/tencentcloud-sdk-go v3.0.82+incompatible"
|
||||
"github.com/tencentcloud/tencentcloud-sdk-go v3.0.82+incompatible/go.mod"
|
||||
"github.com/tencentyun/cos-go-sdk-v5 v0.0.0-20190808065407-f07404cefc8c"
|
||||
"github.com/tencentyun/cos-go-sdk-v5 v0.0.0-20190808065407-f07404cefc8c/go.mod"
|
||||
"github.com/tmc/grpc-websocket-proxy v0.0.0-20171017195756-830351dc03c6"
|
||||
"github.com/tmc/grpc-websocket-proxy v0.0.0-20171017195756-830351dc03c6/go.mod"
|
||||
"github.com/tombuildsstuff/giovanni v0.12.0"
|
||||
"github.com/tombuildsstuff/giovanni v0.12.0/go.mod"
|
||||
"github.com/ugorji/go v0.0.0-20180813092308-00b869d2f4a5"
|
||||
"github.com/ugorji/go v0.0.0-20180813092308-00b869d2f4a5/go.mod"
|
||||
"github.com/ulikunitz/xz v0.5.5"
|
||||
"github.com/ulikunitz/xz v0.5.5/go.mod"
|
||||
"github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod"
|
||||
"github.com/vmihailenco/msgpack v4.0.1+incompatible"
|
||||
"github.com/vmihailenco/msgpack v4.0.1+incompatible/go.mod"
|
||||
"github.com/xanzy/ssh-agent v0.2.1"
|
||||
"github.com/xanzy/ssh-agent v0.2.1/go.mod"
|
||||
"github.com/xiang90/probing v0.0.0-20160813154853-07dd2e8dfe18"
|
||||
"github.com/xiang90/probing v0.0.0-20160813154853-07dd2e8dfe18/go.mod"
|
||||
"github.com/xlab/treeprint v0.0.0-20161029104018-1d6e34225557"
|
||||
"github.com/xlab/treeprint v0.0.0-20161029104018-1d6e34225557/go.mod"
|
||||
"github.com/zclconf/go-cty v1.0.0/go.mod"
|
||||
"github.com/zclconf/go-cty v1.1.0/go.mod"
|
||||
"github.com/zclconf/go-cty v1.2.0/go.mod"
|
||||
"github.com/zclconf/go-cty v1.5.1"
|
||||
"github.com/zclconf/go-cty v1.5.1/go.mod"
|
||||
"github.com/zclconf/go-cty-yaml v1.0.2"
|
||||
"github.com/zclconf/go-cty-yaml v1.0.2/go.mod"
|
||||
"go.opencensus.io v0.21.0/go.mod"
|
||||
"go.opencensus.io v0.22.0"
|
||||
"go.opencensus.io v0.22.0/go.mod"
|
||||
"go.uber.org/atomic v1.3.2"
|
||||
"go.uber.org/atomic v1.3.2/go.mod"
|
||||
"go.uber.org/multierr v1.1.0"
|
||||
"go.uber.org/multierr v1.1.0/go.mod"
|
||||
"go.uber.org/zap v1.9.1"
|
||||
"go.uber.org/zap v1.9.1/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20181025213731-e84da0312774/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20190222235706-ffb98f73852f/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20191202143827-86a70503ff7e/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9"
|
||||
"golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod"
|
||||
"golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod"
|
||||
"golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod"
|
||||
"golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod"
|
||||
"golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod"
|
||||
"golang.org/x/mod v0.2.0"
|
||||
"golang.org/x/mod v0.2.0/go.mod"
|
||||
"golang.org/x/net v0.0.0-20170114055629-f2499483f923/go.mod"
|
||||
"golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod"
|
||||
"golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod"
|
||||
"golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod"
|
||||
"golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod"
|
||||
"golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod"
|
||||
"golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod"
|
||||
"golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190206173232-65e2d4e15006/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190812203447-cdfb69ac37fc/go.mod"
|
||||
"golang.org/x/net v0.0.0-20191009170851-d66e71096ffb/go.mod"
|
||||
"golang.org/x/net v0.0.0-20191126235420-ef20fe5d7933/go.mod"
|
||||
"golang.org/x/net v0.0.0-20200202094626-16171245cfb2"
|
||||
"golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod"
|
||||
"golang.org/x/net v0.0.0-20200602114024-627f9648deb9"
|
||||
"golang.org/x/net v0.0.0-20200602114024-627f9648deb9/go.mod"
|
||||
"golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod"
|
||||
"golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod"
|
||||
"golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a/go.mod"
|
||||
"golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45"
|
||||
"golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20170830134202-bb24a47a89ea/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190221075227-b4e8571b14e0/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190502175342-a43fa875dd82/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190509141414-a5b02f93d862/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20191128015809-6d18c012aee9"
|
||||
"golang.org/x/sys v0.0.0-20191128015809-6d18c012aee9/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd"
|
||||
"golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod"
|
||||
"golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod"
|
||||
"golang.org/x/text v0.3.0/go.mod"
|
||||
"golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod"
|
||||
"golang.org/x/text v0.3.1-0.20181227161524-e6919f6577db/go.mod"
|
||||
"golang.org/x/text v0.3.2"
|
||||
"golang.org/x/text v0.3.2/go.mod"
|
||||
"golang.org/x/time v0.0.0-20161028155119-f51c12702a4d/go.mod"
|
||||
"golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod"
|
||||
"golang.org/x/time v0.0.0-20190308202827-9d24e82272b4"
|
||||
"golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20191203134012-c197fd4bf371"
|
||||
"golang.org/x/tools v0.0.0-20191203134012-c197fd4bf371/go.mod"
|
||||
"golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod"
|
||||
"golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod"
|
||||
"google.golang.org/api v0.4.0/go.mod"
|
||||
"google.golang.org/api v0.7.0/go.mod"
|
||||
"google.golang.org/api v0.8.0/go.mod"
|
||||
"google.golang.org/api v0.9.0"
|
||||
"google.golang.org/api v0.9.0/go.mod"
|
||||
"google.golang.org/appengine v1.1.0/go.mod"
|
||||
"google.golang.org/appengine v1.4.0/go.mod"
|
||||
"google.golang.org/appengine v1.5.0/go.mod"
|
||||
"google.golang.org/appengine v1.6.1"
|
||||
"google.golang.org/appengine v1.6.1/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20170818010345-ee236bd376b0/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55"
|
||||
"google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod"
|
||||
"google.golang.org/grpc v1.8.0/go.mod"
|
||||
"google.golang.org/grpc v1.19.0/go.mod"
|
||||
"google.golang.org/grpc v1.20.1/go.mod"
|
||||
"google.golang.org/grpc v1.21.1/go.mod"
|
||||
"google.golang.org/grpc v1.23.0/go.mod"
|
||||
"google.golang.org/grpc v1.27.1"
|
||||
"google.golang.org/grpc v1.27.1/go.mod"
|
||||
"gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod"
|
||||
"gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod"
|
||||
"gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod"
|
||||
"gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15"
|
||||
"gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod"
|
||||
"gopkg.in/cheggaaa/pb.v1 v1.0.27/go.mod"
|
||||
"gopkg.in/fsnotify.v1 v1.4.7/go.mod"
|
||||
"gopkg.in/inf.v0 v0.9.0"
|
||||
"gopkg.in/inf.v0 v0.9.0/go.mod"
|
||||
"gopkg.in/ini.v1 v1.42.0"
|
||||
"gopkg.in/ini.v1 v1.42.0/go.mod"
|
||||
"gopkg.in/resty.v1 v1.12.0/go.mod"
|
||||
"gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.1/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.2/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.4/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.7/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.8"
|
||||
"gopkg.in/yaml.v2 v2.2.8/go.mod"
|
||||
"honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod"
|
||||
"honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod"
|
||||
"honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod"
|
||||
"honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod"
|
||||
"k8s.io/api v0.0.0-20190620084959-7cf5895f2711"
|
||||
"k8s.io/api v0.0.0-20190620084959-7cf5895f2711/go.mod"
|
||||
"k8s.io/apimachinery v0.0.0-20190612205821-1799e75a0719/go.mod"
|
||||
"k8s.io/apimachinery v0.0.0-20190913080033-27d36303b655"
|
||||
"k8s.io/apimachinery v0.0.0-20190913080033-27d36303b655/go.mod"
|
||||
"k8s.io/client-go v0.0.0-20190620085101-78d2af792bab"
|
||||
"k8s.io/client-go v0.0.0-20190620085101-78d2af792bab/go.mod"
|
||||
"k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod"
|
||||
"k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod"
|
||||
"k8s.io/klog v0.3.1/go.mod"
|
||||
"k8s.io/klog v0.4.0"
|
||||
"k8s.io/klog v0.4.0/go.mod"
|
||||
"k8s.io/klog/v2 v2.0.0/go.mod"
|
||||
"k8s.io/kube-openapi v0.0.0-20190228160746-b3a7cee44a30/go.mod"
|
||||
"k8s.io/kube-openapi v0.0.0-20190816220812-743ec37842bf/go.mod"
|
||||
"k8s.io/utils v0.0.0-20190221042446-c2654d5206da/go.mod"
|
||||
"k8s.io/utils v0.0.0-20200411171748-3d5a2fe318e4"
|
||||
"k8s.io/utils v0.0.0-20200411171748-3d5a2fe318e4/go.mod"
|
||||
"rsc.io/binaryregexp v0.2.0/go.mod"
|
||||
"sigs.k8s.io/structured-merge-diff v0.0.0-20190525122527-15d366b2352e/go.mod"
|
||||
"sigs.k8s.io/yaml v1.1.0"
|
||||
"sigs.k8s.io/yaml v1.1.0/go.mod"
|
||||
)
|
||||
|
||||
go-module_set_globals
|
||||
|
||||
DESCRIPTION="A tool for building, changing, and combining infrastructure safely"
|
||||
HOMEPAGE="https://www.terraform.io/"
|
||||
SRC_URI="https://github.com/hashicorp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
${EGO_SUM_SRC_URI}"
|
||||
|
||||
LICENSE="Apache-2.0 BSD-2 BSD-4 ECL-2.0 ISC JSON MIT MIT-with-advertising MPL-2.0 unicode"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS=( {README,CHANGELOG}.md )
|
||||
|
||||
src_compile() {
|
||||
go build \
|
||||
-work -o "bin/${PN}" ./ || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/terraform
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you would like to install shell completions please run:"
|
||||
elog " terraform -install-autocomplete"
|
||||
}
|
Binary file not shown.
@ -0,0 +1,219 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools flag-o-matic systemd
|
||||
|
||||
DESCRIPTION="Clam Anti-Virus Scanner"
|
||||
HOMEPAGE="https://www.clamav.net/"
|
||||
SRC_URI="https://www.clamav.net/downloads/production/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="bzip2 doc clamonacc clamdtop clamsubmit iconv ipv6 libclamav-only libressl milter metadata-analysis-api selinux test uclibc xml"
|
||||
|
||||
REQUIRED_USE="libclamav-only? ( !clamonacc !clamdtop !clamsubmit !milter !metadata-analysis-api )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Require acct-{user,group}/clamav at build time so that we can set
|
||||
# the permissions on /var/lib/clamav in src_install rather than in
|
||||
# pkg_postinst; calling "chown" on the live filesystem scares me.
|
||||
CDEPEND="acct-group/clamav
|
||||
acct-user/clamav
|
||||
dev-libs/libltdl
|
||||
dev-libs/libmspack
|
||||
|| ( dev-libs/libpcre2 >dev-libs/libpcre-6 )
|
||||
dev-libs/tomsfastmath
|
||||
>=sys-libs/zlib-1.2.2:=
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
clamdtop? ( sys-libs/ncurses:0 )
|
||||
clamsubmit? ( net-misc/curl dev-libs/json-c:= )
|
||||
elibc_musl? ( sys-libs/fts-standalone )
|
||||
iconv? ( virtual/libiconv )
|
||||
!libclamav-only? ( net-misc/curl )
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
|
||||
xml? ( dev-libs/libxml2 )"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
metadata-analysis-api? ( dev-libs/json-c:* )
|
||||
test? ( dev-libs/check )"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-clamav )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.102.1-libxml2_pkgconfig.patch" #661328
|
||||
"${FILESDIR}/${PN}-0.102.2-fix-curl-detection.patch" #709616
|
||||
"${FILESDIR}/${PN}-0.103.0-system-tomsfastmath.patch" # 649394
|
||||
"${FILESDIR}/${PN}-0.103.0-upstream-openrc.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Be extra sure that we're using the system copy of tomsfastmath
|
||||
einfo "removing bundled copy of dev-libs/tomsfastmath"
|
||||
rm -r libclamav/tomsfastmath || \
|
||||
die "failed to remove bundled tomsfastmath"
|
||||
|
||||
AT_NO_RECURSIVE="yes" eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use elibc_musl && append-ldflags -lfts
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
use uclibc && export ac_cv_type_error_t=yes
|
||||
|
||||
# according to configure help it should be
|
||||
# $(use_enable xml)
|
||||
# but that does not work
|
||||
# do not add this, since --disable-xml seems to override
|
||||
# --without-xml
|
||||
JSONUSE="--without-libjson"
|
||||
|
||||
if use clamsubmit || use metadata-analysis-api; then
|
||||
# either of those 2 requires libjson.
|
||||
# clamsubmit will be built as soon as libjson and curl are found
|
||||
# but we only install the binary if requested
|
||||
JSONUSE="--with-libjson=${EPREFIX}/usr"
|
||||
fi
|
||||
|
||||
local myeconfargs=(
|
||||
$(use_enable bzip2)
|
||||
$(use_enable clamonacc)
|
||||
$(use_enable clamdtop)
|
||||
$(use_enable ipv6)
|
||||
$(use_enable milter)
|
||||
$(use_enable test check)
|
||||
$(use_with xml)
|
||||
$(use_with iconv)
|
||||
${JSONUSE}
|
||||
$(use_enable libclamav-only)
|
||||
$(use_with !libclamav-only libcurl)
|
||||
--with-system-libmspack
|
||||
--cache-file="${S}"/config.cache
|
||||
--disable-experimental
|
||||
--disable-static
|
||||
--disable-zlib-vcheck
|
||||
--enable-id-check
|
||||
--with-dbdir="${EPREFIX}"/var/lib/clamav
|
||||
# Don't call --with-zlib=/usr (see bug #699296)
|
||||
--with-zlib
|
||||
--disable-llvm
|
||||
--enable-openrc
|
||||
--runstatedir=/run
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
rm -rf "${ED}"/var/lib/clamav || die
|
||||
|
||||
if ! use libclamav-only ; then
|
||||
systemd_dotmpfilesd "${FILESDIR}/tmpfiles.d/clamav.conf"
|
||||
systemd_newunit "${FILESDIR}/clamd_at.service" "clamd@.service"
|
||||
systemd_dounit "${FILESDIR}/clamd.service"
|
||||
systemd_dounit "${FILESDIR}/freshclamd.service"
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/clamav.logrotate clamav
|
||||
|
||||
# Modify /etc/{clamd,freshclam}.conf to be usable out of the box
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s/^#\(PidFile .*\)/\1/" \
|
||||
-e "s/^#\(LocalSocket .*\)/\1/" \
|
||||
-e "s/^#\(User .*\)/\1/" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \
|
||||
-e "s:^\#\(LogTime\).*:\1 yes:" \
|
||||
-e "s/^#\(DatabaseDirectory .*\)/\1/" \
|
||||
"${ED}"/etc/clamd.conf.sample || die
|
||||
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s/^#\(PidFile .*\)/\1/" \
|
||||
-e "s/^#\(DatabaseOwner .*\)/\1/" \
|
||||
-e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \
|
||||
-e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamd.conf:" \
|
||||
-e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
|
||||
-e "s/^#\(DatabaseDirectory .*\)/\1/" \
|
||||
"${ED}"/etc/freshclam.conf.sample || die
|
||||
|
||||
if use milter ; then
|
||||
# Note: only keep the "unix" ClamdSocket and MilterSocket!
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s/^#\(PidFile .*\)/\1/" \
|
||||
-e "s/^#\(ClamdSocket unix:.*\)/\1/" \
|
||||
-e "s/^#\(User .*\)/\1/" \
|
||||
-e "s/^#\(MilterSocket unix:.*\)/\1/" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \
|
||||
"${ED}"/etc/clamav-milter.conf.sample || die
|
||||
|
||||
cat >> "${ED}"/etc/conf.d/clamd <<-EOF
|
||||
MILTER_NICELEVEL=19
|
||||
START_MILTER=no
|
||||
EOF
|
||||
|
||||
systemd_newunit "${FILESDIR}/clamav-milter.service-r1" clamav-milter.service
|
||||
fi
|
||||
|
||||
local i
|
||||
for i in clamd freshclam clamav-milter
|
||||
do
|
||||
if [[ -f "${ED}"/etc/"${i}".conf.sample ]]; then
|
||||
mv "${ED}"/etc/"${i}".conf{.sample,} || die
|
||||
fi
|
||||
done
|
||||
|
||||
# These both need to be writable by the clamav user.
|
||||
# TODO: use syslog by default; that's what it's for.
|
||||
diropts -o clamav -g clamav
|
||||
keepdir /var/lib/clamav
|
||||
keepdir /var/log/clamav
|
||||
fi
|
||||
|
||||
if use doc ; then
|
||||
local HTML_DOCS=( docs/html/. )
|
||||
einstalldocs
|
||||
|
||||
if ! use libclamav-only ; then
|
||||
doman docs/man/*.[1-8]
|
||||
fi
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use libclamav-only ; then
|
||||
ewarn "Test target not available when USE=libclamav-only is set, skipping tests ..."
|
||||
return 0
|
||||
fi
|
||||
|
||||
emake quick-check
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use milter ; then
|
||||
elog "For simple instructions how to setup the clamav-milter read the"
|
||||
elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}"
|
||||
fi
|
||||
|
||||
local databases=( "${EROOT}"/var/lib/clamav/main.c[lv]d )
|
||||
if [[ ! -f "${databases}" ]] ; then
|
||||
ewarn "You must run freshclam manually to populate the virus database"
|
||||
ewarn "before starting clamav for the first time."
|
||||
fi
|
||||
|
||||
ewarn "This version of ClamAV provides separate OpenRC services"
|
||||
ewarn "for clamd, freshclam, clamav-milter, and clamonacc. The"
|
||||
ewarn "clamd service now starts only the clamd daemon itself. You"
|
||||
ewarn "should add freshclam (and perhaps clamav-milter) to any"
|
||||
ewarn "runlevels that previously contained clamd."
|
||||
}
|
@ -0,0 +1,115 @@
|
||||
From 70cc96407302cf0fd4eee2b6a401253ed50fe4df Mon Sep 17 00:00:00 2001
|
||||
From: Michael Orlitzky <michael@orlitzky.com>
|
||||
Date: Sun, 20 Sep 2020 11:16:06 -0400
|
||||
Subject: [PATCH 1/1] autotools: use system tomsfastmath if possible.
|
||||
|
||||
---
|
||||
configure.ac | 2 ++
|
||||
libclamav/Makefile.am | 10 ++++++++--
|
||||
libclamav/bignum.h | 6 +++++-
|
||||
libclamav/xdp.c | 2 +-
|
||||
m4/reorganization/libs/tomsfastmath.m4 | 12 ++++++++++++
|
||||
5 files changed, 28 insertions(+), 4 deletions(-)
|
||||
create mode 100644 m4/reorganization/libs/tomsfastmath.m4
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 8e0e810f8..773787e49 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -104,6 +104,7 @@ m4_include([m4/reorganization/libs/libmspack.m4])
|
||||
if test "x$use_internal_mspack" = "xno"; then
|
||||
mspack_msg="External, $LIBMSPACK_CFLAGS $LIBMSPACK_LIBS"
|
||||
fi
|
||||
+m4_include([m4/reorganization/libs/tomsfastmath.m4])
|
||||
|
||||
AM_MAINTAINER_MODE
|
||||
m4_include([m4/reorganization/libs/libz.m4])
|
||||
@@ -376,6 +377,7 @@ fi
|
||||
CL_MSG_STATUS([yara ],[$enable_yara],[$enable_yara])
|
||||
CL_MSG_STATUS([fts ],[yes],[$lfs_fts_msg])
|
||||
|
||||
+CL_MSG_STATUS([tomsfastmath],[yes],[$tomsfastmath_msg])
|
||||
|
||||
# Yep, downgrading the compiler avoids the bug too:
|
||||
# 4.0.x, and 4.1.0 are the known buggy versions
|
||||
diff --git a/libclamav/Makefile.am b/libclamav/Makefile.am
|
||||
index ae655cfec..240fa23f8 100644
|
||||
--- a/libclamav/Makefile.am
|
||||
+++ b/libclamav/Makefile.am
|
||||
@@ -588,8 +588,10 @@ libclamav_la_SOURCES += yara_arena.c \
|
||||
yara_clam.h
|
||||
endif
|
||||
|
||||
-libclamav_la_SOURCES += bignum.h\
|
||||
- bignum_fast.h\
|
||||
+libclamav_la_SOURCES += bignum.h
|
||||
+
|
||||
+if !SYSTEM_TOMSFASTMATH
|
||||
+libclamav_la_SOURCES += bignum_fast.h\
|
||||
tomsfastmath/addsub/fp_add.c\
|
||||
tomsfastmath/addsub/fp_add_d.c\
|
||||
tomsfastmath/addsub/fp_addmod.c\
|
||||
@@ -671,6 +673,10 @@ libclamav_la_SOURCES += bignum.h\
|
||||
tomsfastmath/sqr/fp_sqr_comba_generic.c\
|
||||
tomsfastmath/sqr/fp_sqr_comba_small_set.c\
|
||||
tomsfastmath/sqr/fp_sqrmod.c
|
||||
+else
|
||||
+libclamav_la_CFLAGS += $(TOMSFASTMATH_CFLAGS)
|
||||
+libclamav_la_LIBADD += $(TOMSFASTMATH_LIBS)
|
||||
+endif
|
||||
|
||||
.PHONY2: version.h.tmp
|
||||
version.c: version.h
|
||||
diff --git a/libclamav/bignum.h b/libclamav/bignum.h
|
||||
index 8fdc956bb..56dfa957e 100644
|
||||
--- a/libclamav/bignum.h
|
||||
+++ b/libclamav/bignum.h
|
||||
@@ -1,9 +1,13 @@
|
||||
#ifndef BIGNUM_H_
|
||||
#define BIGNUM_H_
|
||||
|
||||
+#if HAVE_SYSTEM_TOMSFASTMATH
|
||||
+#include <tfm.h>
|
||||
+#else
|
||||
#define TFM_CHECK
|
||||
-
|
||||
#include "bignum_fast.h"
|
||||
+#endif
|
||||
+
|
||||
typedef fp_int mp_int;
|
||||
#define mp_cmp fp_cmp
|
||||
#define mp_toradix_n(a, b, c, d) fp_toradix_n(a, b, c, d)
|
||||
diff --git a/libclamav/xdp.c b/libclamav/xdp.c
|
||||
index 87423421d..6370221ff 100644
|
||||
--- a/libclamav/xdp.c
|
||||
+++ b/libclamav/xdp.c
|
||||
@@ -52,7 +52,7 @@
|
||||
#include "scanners.h"
|
||||
#include "conv.h"
|
||||
#include "xdp.h"
|
||||
-#include "bignum_fast.h"
|
||||
+#include "bignum.h"
|
||||
#include "filetypes.h"
|
||||
|
||||
static char *dump_xdp(cli_ctx *ctx, const char *start, size_t sz);
|
||||
diff --git a/m4/reorganization/libs/tomsfastmath.m4 b/m4/reorganization/libs/tomsfastmath.m4
|
||||
new file mode 100644
|
||||
index 000000000..2a821a14d
|
||||
--- /dev/null
|
||||
+++ b/m4/reorganization/libs/tomsfastmath.m4
|
||||
@@ -0,0 +1,12 @@
|
||||
+dnl Check for system tomsfastmath
|
||||
+PKG_CHECK_MODULES([TOMSFASTMATH], [tomsfastmath], [have_system_tomsfastmath=yes], [have_system_tomsfastmath=no])
|
||||
+
|
||||
+AM_CONDITIONAL([SYSTEM_TOMSFASTMATH], [test "x$have_system_tomsfastmath" = "xyes"])
|
||||
+
|
||||
+if test "x$have_system_tomsfastmath" = "xyes"; then
|
||||
+ AC_DEFINE([HAVE_SYSTEM_TOMSFASTMATH], [1], [link against system-wide tomsfastmath library])
|
||||
+ tomsfastmath_msg="External, $TOMSFASTMATH_CFLAGS $TOMSFASTMATH_LIBS"
|
||||
+else
|
||||
+ AC_DEFINE([HAVE_SYSTEM_TOMSFASTMATH], [0], [don't link against system-wide tomsfastmath library])
|
||||
+ tomsfastmath_msg="Internal"
|
||||
+fi
|
||||
--
|
||||
2.26.2
|
||||
|
@ -0,0 +1,447 @@
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 12e7fcc28..a3c47e23a 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -52,6 +52,17 @@ nodist_include_HEADERS = clamav-types.h clamav-version.h
|
||||
distuninstallcheck_listfiles = find . -type f ! -name clamd.conf ! -name freshclam.conf ! -name daily.cvd ! -name main.cvd -print
|
||||
DISTCLEANFILES = target.h
|
||||
DISTCHECK_CONFIGURE_FLAGS=--enable-milter --disable-clamav --enable-all-jit-targets --enable-llvm=yes --with-system-llvm=no --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir) CC="$(CC)" CXX="$(CXX)" YACC="$(YACC)" LEX="$(LEX)" AR="$(AR)" AS="$(AS)"
|
||||
+
|
||||
+
|
||||
+# This command allows us to replace bindir, libdir, etc.
|
||||
+# within our script and conf file. The example is taken
|
||||
+# from the autoconf documentation and can be found in the
|
||||
+# "Installation Directory Variables" section.
|
||||
+editgnudirs = sed -e 's|@BINDIR[@]|$(bindir)|g' \
|
||||
+ -e 's|@SBINDIR[@]|$(sbindir)|g' \
|
||||
+ -e 's|@RUNSTATEDIR[@]|$(runstatedir)|g'
|
||||
+export editgnudirs
|
||||
+
|
||||
lcov:
|
||||
($(MAKE); cd unit_tests; $(MAKE) lcov)
|
||||
quick-check:
|
||||
diff --git a/clamav-config.h.in b/clamav-config.h.in
|
||||
index d7aff4a3b..ebd8ac256 100644
|
||||
--- a/clamav-config.h.in
|
||||
+++ b/clamav-config.h.in
|
||||
@@ -402,6 +402,9 @@
|
||||
/* Use private fts() implementation which is LFS safe */
|
||||
#undef HAVE_SYSTEM_LFS_FTS
|
||||
|
||||
+/* don't link against system-wide tomsfastmath library */
|
||||
+#undef HAVE_SYSTEM_TOMSFASTMATH
|
||||
+
|
||||
/* Define to 1 if you have the <sys/cdefs.h> header file. */
|
||||
#undef HAVE_SYS_CDEFS_H
|
||||
|
||||
diff --git a/clamav-milter/Makefile.am b/clamav-milter/Makefile.am
|
||||
index 1ec4afff6..c75c2b4a3 100644
|
||||
--- a/clamav-milter/Makefile.am
|
||||
+++ b/clamav-milter/Makefile.am
|
||||
@@ -35,6 +35,27 @@ clamav_milter_SOURCES = \
|
||||
man_MANS = $(top_builddir)/docs/man/clamav-milter.8
|
||||
AM_CFLAGS=@WERR_CFLAGS_MILTER@
|
||||
|
||||
+
|
||||
+if INSTALL_OPENRC_SERVICES
|
||||
+
|
||||
+openrcdir = $(sysconfdir)/init.d
|
||||
+
|
||||
+# The next rule allows us to replace @RUNSTATEDIR@ and friends within
|
||||
+# our OpenRC service scripts. This example is taken from the autoconf
|
||||
+# documentation in the "Installation Directory Variables" section.
|
||||
+openrc_SCRIPTS_src = openrc/clamav-milter.in.in
|
||||
+openrc_SCRIPTS_intermediate = openrc/clamav-milter.in
|
||||
+nodist_openrc_SCRIPTS = openrc/clamav-milter
|
||||
+DISTCLEANFILES = $(nodist_openrc_SCRIPTS) $(openrc_SCRIPTS_intermediate)
|
||||
+$(nodist_openrc_SCRIPTS): $(openrc_SCRIPTS_src) $(openrc_SCRIPTS_intermediate) Makefile
|
||||
+ rm -f $@ $@.tmp
|
||||
+ $(editgnudirs) $@.in > $@.tmp
|
||||
+ mv $@.tmp $@
|
||||
+
|
||||
+endif
|
||||
+EXTRA_DIST = $(openrc_SCRIPTS_src)
|
||||
+
|
||||
+
|
||||
endif
|
||||
|
||||
LIBS = $(top_builddir)/libclamav/libclamav.la $(top_builddir)/shared/libshared.la @CLAMAV_MILTER_LIBS@ @THREAD_LIBS@
|
||||
diff --git a/clamav-milter/openrc/clamav-milter.in.in b/clamav-milter/openrc/clamav-milter.in.in
|
||||
new file mode 100644
|
||||
index 000000000..71053564a
|
||||
--- /dev/null
|
||||
+++ b/clamav-milter/openrc/clamav-milter.in.in
|
||||
@@ -0,0 +1,34 @@
|
||||
+#!/sbin/openrc-run
|
||||
+
|
||||
+# Note: the "Foreground" option in clamav-milter.conf MUST
|
||||
+# be set to "no".
|
||||
+command="@SBINDIR@/clamav-milter"
|
||||
+
|
||||
+# For now, must be manually synchronized with the PidFile
|
||||
+# variable in clamav-milter.conf.
|
||||
+#
|
||||
+# https://bugzilla.clamav.net/show_bug.cgi?id=12595
|
||||
+#
|
||||
+pidfile="@RUNSTATEDIR@/${RC_SVCNAME}.pid"
|
||||
+
|
||||
+depend() {
|
||||
+ # The milter can successfully launch without clamd, but it's not a
|
||||
+ # great user experience to have the milter start accepting requests
|
||||
+ # that it can't process. The "use" dependency below will start clamd
|
||||
+ # before clamav-milter, so long as clamd is also present this runlevel.
|
||||
+ use clamd
|
||||
+}
|
||||
+
|
||||
+start_pre() {
|
||||
+ # This exists to support the (disabled) default MilterSocket setting
|
||||
+ # within clamav-milter.conf. The "clamav" user and group agree with
|
||||
+ # the (disabled) default "User" and "MilterSocketGroup" settings.
|
||||
+ #
|
||||
+ # Creating this directory is harmless even when a local socket is
|
||||
+ # not used. In fact, the clamd service that we depend on should
|
||||
+ # create it as well, to hold its own local socket (if enabled).
|
||||
+ checkpath --directory \
|
||||
+ --mode 0755 \
|
||||
+ --owner clamav:clamav \
|
||||
+ "@RUNSTATEDIR@/clamav"
|
||||
+}
|
||||
diff --git a/clamd/Makefile.am b/clamd/Makefile.am
|
||||
index 12b872b1f..725bc2fc1 100644
|
||||
--- a/clamd/Makefile.am
|
||||
+++ b/clamd/Makefile.am
|
||||
@@ -44,6 +44,25 @@ if INSTALL_SYSTEMD_UNITS
|
||||
systemdsystemunit_DATA = clamav-daemon.socket clamav-daemon.service
|
||||
endif
|
||||
|
||||
+if INSTALL_OPENRC_SERVICES
|
||||
+
|
||||
+openrcdir = $(sysconfdir)/init.d
|
||||
+
|
||||
+# The next rule allows us to replace @RUNSTATEDIR@ and friends within
|
||||
+# our OpenRC service scripts. This example is taken from the autoconf
|
||||
+# documentation in the "Installation Directory Variables" section.
|
||||
+openrc_SCRIPTS_src = openrc/clamd.in.in
|
||||
+openrc_SCRIPTS_intermediate = openrc/clamd.in
|
||||
+nodist_openrc_SCRIPTS = openrc/clamd
|
||||
+DISTCLEANFILES = $(nodist_openrc_SCRIPTS) $(openrc_SCRIPTS_intermediate)
|
||||
+$(nodist_openrc_SCRIPTS): $(openrc_SCRIPTS_src) $(openrc_SCRIPTS_intermediate) Makefile
|
||||
+ rm -f $@ $@.tmp
|
||||
+ $(editgnudirs) $@.in > $@.tmp
|
||||
+ mv $@.tmp $@
|
||||
+
|
||||
+endif
|
||||
+EXTRA_DIST = $(openrc_SCRIPTS_src)
|
||||
+
|
||||
LIBS = $(top_builddir)/libclamav/libclamav.la $(top_builddir)/shared/libshared.la @CLAMD_LIBS@ @THREAD_LIBS@
|
||||
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/shared -I$(top_srcdir)/libclamav -I$(top_builddir)/libclamav -I$(top_srcdir)/libclamunrar_iface @SSL_CPPFLAGS@ @JSON_CPPFLAGS@ @PCRE_CPPFLAGS@
|
||||
|
||||
diff --git a/clamd/openrc/clamd.in.in b/clamd/openrc/clamd.in.in
|
||||
new file mode 100644
|
||||
index 000000000..5d38f9a84
|
||||
--- /dev/null
|
||||
+++ b/clamd/openrc/clamd.in.in
|
||||
@@ -0,0 +1,33 @@
|
||||
+#!/sbin/openrc-run
|
||||
+
|
||||
+# Note: the "Foreground" option in clamd.conf must be set to "no"
|
||||
+command="@SBINDIR@/clamd"
|
||||
+extra_started_commands="reload"
|
||||
+
|
||||
+# For now, must be manually synchronized with the PidFile variable
|
||||
+# in clamd.conf.
|
||||
+#
|
||||
+# https://bugzilla.clamav.net/show_bug.cgi?id=12595
|
||||
+#
|
||||
+pidfile="@RUNSTATEDIR@/${RC_SVCNAME}.pid"
|
||||
+
|
||||
+start_pre() {
|
||||
+ # This exists to support the (disabled) default LocalSocket setting
|
||||
+ # within clamd.conf. The "clamav" user and group agree with the
|
||||
+ # (disabled) default "User" and "LocalSocketGroup" settings in
|
||||
+ # clamd.conf. And everything here agrees with the
|
||||
+ # clamav-daemon.socket systemd service.
|
||||
+ #
|
||||
+ # Creating this directory is harmless even when a local socket is
|
||||
+ # not used.
|
||||
+ checkpath --directory \
|
||||
+ --mode 0755 \
|
||||
+ --owner clamav:clamav \
|
||||
+ "@RUNSTATEDIR@/clamav"
|
||||
+}
|
||||
+
|
||||
+reload() {
|
||||
+ ebegin "Reloading ${RC_SVCNAME}"
|
||||
+ "@BINDIR@/clamdscan" --reload
|
||||
+ eend $?
|
||||
+}
|
||||
diff --git a/clamonacc/Makefile.am b/clamonacc/Makefile.am
|
||||
index 181e22056..864a7fc2a 100644
|
||||
--- a/clamonacc/Makefile.am
|
||||
+++ b/clamonacc/Makefile.am
|
||||
@@ -56,6 +56,25 @@ if INSTALL_SYSTEMD_UNITS
|
||||
systemdsystemunit_DATA = clamav-clamonacc.service
|
||||
endif
|
||||
|
||||
+if INSTALL_OPENRC_SERVICES
|
||||
+
|
||||
+openrcdir = $(sysconfdir)/init.d
|
||||
+
|
||||
+# The next rules allow us to replace @RUNSTATEDIR@ and friends within
|
||||
+# our OpenRC service scripts. This example is taken from the autoconf
|
||||
+# documentation in the "Installation Directory Variables" section.
|
||||
+openrc_SCRIPTS_src = openrc/clamonacc.in.in
|
||||
+openrc_SCRIPTS_intermediate = openrc/clamonacc.in
|
||||
+nodist_openrc_SCRIPTS = openrc/clamonacc
|
||||
+DISTCLEANFILES = $(nodist_openrc_SCRIPTS) $(openrc_SCRIPTS_intermediate)
|
||||
+$(nodist_openrc_SCRIPTS): $(openrc_SCRIPTS_src) $(openrc_SCRIPTS_intermediate) Makefile
|
||||
+ rm -f $@ $@.tmp
|
||||
+ $(editgnudirs) $@.in > $@.tmp
|
||||
+ mv $@.tmp $@
|
||||
+
|
||||
+endif
|
||||
+EXTRA_DIST = $(openrc_SCRIPTS_src)
|
||||
+
|
||||
LIBS = $(top_builddir)/shared/libshared.la $(top_builddir)/libclamav/libclamav.la @CURL_LIBS@ @CLAMONACC_LIBS@ @THREAD_LIBS@
|
||||
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/clamonacc -I$(top_srcdir)/shared -I$(top_srcdir)/clamd -I$(top_srcdir)/libclamav -I$(top_builddir)/libclamav -I$(top_srcdir)/libclamunrar_iface @CURL_CPPFLAGS@ @SSL_CPPFLAGS@ @CLAMONACC_CPPFLAGS@ @JSON_CPPFLAGS@ @PCRE_CPPFLAGS@
|
||||
|
||||
diff --git a/clamonacc/openrc/clamonacc.in.in b/clamonacc/openrc/clamonacc.in.in
|
||||
new file mode 100644
|
||||
index 000000000..64acf5d83
|
||||
--- /dev/null
|
||||
+++ b/clamonacc/openrc/clamonacc.in.in
|
||||
@@ -0,0 +1,12 @@
|
||||
+#!/sbin/openrc-run
|
||||
+
|
||||
+command="@SBINDIR@/clamonacc"
|
||||
+pidfile="@RUNSTATEDIR@/${RC_SVCNAME}.pid"
|
||||
+
|
||||
+# clamonacc doesn't support a PID file at the moment, so we
|
||||
+# run it in the foreground and let OpenRC background it.
|
||||
+#
|
||||
+# https://bugzilla.clamav.net/show_bug.cgi?id=12595
|
||||
+#
|
||||
+command_args="--foreground"
|
||||
+command_background=true
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 461342621..773787e49 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -79,6 +79,12 @@ if test "$enable_experimental" = "yes"; then
|
||||
VERSION_SUFFIX="$VERSION_SUFFIX-exp"
|
||||
fi
|
||||
|
||||
+# Autoconf 2.70 will support this, and many distros patch it in,
|
||||
+# but Autoconf 2.70 hasn't actually been released yet (it's in beta).
|
||||
+AS_IF([test -z "${runstatedir}"], [runstatedir='${localstatedir}/run'])
|
||||
+AC_SUBST([runstatedir])
|
||||
+
|
||||
+
|
||||
build_configure_args=`echo "$ac_configure_args" | sed -e 's/[\"]//g'`
|
||||
AC_SUBST([BUILD_CONFIGURE_FLAGS], [$build_configure_args])
|
||||
|
||||
@@ -105,6 +111,7 @@ m4_include([m4/reorganization/libs/libz.m4])
|
||||
m4_include([m4/reorganization/libs/bzip.m4])
|
||||
m4_include([m4/reorganization/libs/unrar.m4])
|
||||
m4_include([m4/reorganization/libs/systemd.m4])
|
||||
+m4_include([m4/reorganization/libs/openrc.m4])
|
||||
m4_include([m4/reorganization/code_checks/ipv6.m4])
|
||||
m4_include([m4/reorganization/code_checks/dns.m4])
|
||||
m4_include([m4/reorganization/code_checks/fanotify.m4])
|
||||
@@ -193,7 +200,10 @@ AC_CONFIG_FILES([
|
||||
libclamav.pc
|
||||
platform.h
|
||||
clamav-types.h
|
||||
- clamav-version.h])
|
||||
+ clamav-version.h
|
||||
+ etc/clamd.conf.sample.in
|
||||
+ etc/clamav-milter.conf.sample.in
|
||||
+ etc/freshclam.conf.sample.in])
|
||||
if test "x$enable_libclamav_only" != "xyes"; then
|
||||
AC_CONFIG_FILES([
|
||||
clamscan/Makefile
|
||||
@@ -203,10 +213,14 @@ if test "x$enable_libclamav_only" != "xyes"; then
|
||||
clamd/Makefile
|
||||
clamd/clamav-daemon.service
|
||||
clamd/clamav-daemon.socket
|
||||
+ clamd/openrc/clamd.in
|
||||
clamdscan/Makefile
|
||||
clamsubmit/Makefile
|
||||
+ clamonacc/openrc/clamonacc.in
|
||||
clamav-milter/Makefile
|
||||
+ clamav-milter/openrc/clamav-milter.in
|
||||
freshclam/clamav-freshclam.service
|
||||
+ freshclam/openrc/freshclam.in
|
||||
freshclam/Makefile
|
||||
sigtool/Makefile
|
||||
clamconf/Makefile
|
||||
diff --git a/etc/Makefile.am b/etc/Makefile.am
|
||||
index 487c31429..bee68f1d0 100644
|
||||
--- a/etc/Makefile.am
|
||||
+++ b/etc/Makefile.am
|
||||
@@ -18,11 +18,31 @@
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
# MA 02110-1301, USA.
|
||||
|
||||
-EXTRA_DIST = clamd.conf.sample freshclam.conf.sample clamav-milter.conf.sample
|
||||
+EXTRA_DIST = clamd.conf.sample.in.in \
|
||||
+ freshclam.conf.sample.in.in \
|
||||
+ clamav-milter.conf.sample.in.in
|
||||
CFGINST = @CFGDIR@
|
||||
|
||||
sysconf_DATA = clamd.conf.sample freshclam.conf.sample
|
||||
|
||||
+# Custom variable to simplify the "edit" rule below.
|
||||
+sysconf_DATA_intermediate = clamd.conf.sample.in freshclam.conf.sample.in
|
||||
+
|
||||
if HAVE_MILTER
|
||||
sysconf_DATA += clamav-milter.conf.sample
|
||||
+sysconf_DATA_intermediate += clamav-milter.conf.sample.in
|
||||
endif
|
||||
+
|
||||
+# Otherwise these don't get cleaned up by "make distclean",
|
||||
+# even though they are auto-generated.
|
||||
+DISTCLEANFILES = $(sysconf_DATA) $(sysconf_DATA_intermediate)
|
||||
+
|
||||
+# This rule includes EVERY source/intermediate file as a dependency of
|
||||
+# EVERY output file, which is clearly wrong, but it may be the best we
|
||||
+# can do without duplication. At least it's the right kind of wrong,
|
||||
+# and rebuilds too often rather than not often enough.
|
||||
+$(sysconf_DATA): $(sysconf_DATA_intermediate) $(EXTRA_DIST) Makefile
|
||||
+ rm -f $@ $@.tmp
|
||||
+ $(editgnudirs) $@.in > $@.tmp
|
||||
+ mv $@.tmp $@
|
||||
+>>>>>>> ea2f2442b... etc: convert conf files to templates and make @VARIABLE@ substitutions.
|
||||
diff --git a/etc/clamav-milter.conf.sample b/etc/clamav-milter.conf.sample.in.in
|
||||
similarity index 98%
|
||||
rename from etc/clamav-milter.conf.sample
|
||||
rename to etc/clamav-milter.conf.sample.in.in
|
||||
index bf46b4fc5..c3c5d2000 100644
|
||||
--- a/etc/clamav-milter.conf.sample
|
||||
+++ b/etc/clamav-milter.conf.sample.in.in
|
||||
@@ -17,7 +17,7 @@ Example
|
||||
# inet6:port@[hostname|ip-address] - to specify an ipv6 socket
|
||||
#
|
||||
# Default: no default
|
||||
-#MilterSocket /tmp/clamav-milter.socket
|
||||
+#MilterSocket unix:@RUNSTATEDIR@/clamav/clamav-milter.socket
|
||||
#MilterSocket inet:7357
|
||||
|
||||
# Define the group ownership for the (unix) milter socket.
|
||||
@@ -64,7 +64,7 @@ Example
|
||||
# also owned by root to keep other users from tampering with it.
|
||||
#
|
||||
# Default: disabled
|
||||
-#PidFile /var/run/clamav-milter.pid
|
||||
+#PidFile @RUNSTATEDIR@/clamav-milter.pid
|
||||
|
||||
# Optional path to the global temporary directory.
|
||||
# Default: system specific (usually /tmp or /var/tmp).
|
||||
@@ -91,6 +91,7 @@ Example
|
||||
# fashion.
|
||||
#
|
||||
# Default: no default
|
||||
+#ClamdSocket unix:@RUNSTATEDIR@/clamav/clamd.ctl
|
||||
#ClamdSocket tcp:scanner.mydomain:7357
|
||||
|
||||
|
||||
diff --git a/etc/clamd.conf.sample b/etc/clamd.conf.sample.in.in
|
||||
similarity index 99%
|
||||
rename from etc/clamd.conf.sample
|
||||
rename to etc/clamd.conf.sample.in.in
|
||||
index 828dd5ad9..0e0ea4b12 100644
|
||||
--- a/etc/clamd.conf.sample
|
||||
+++ b/etc/clamd.conf.sample.in.in
|
||||
@@ -74,7 +74,7 @@ Example
|
||||
# It is recommended that the directory where this file is stored is
|
||||
# also owned by root to keep other users from tampering with it.
|
||||
# Default: disabled
|
||||
-#PidFile /var/run/clamd.pid
|
||||
+#PidFile @RUNSTATEDIR@/clamd.pid
|
||||
|
||||
# Optional path to the global temporary directory.
|
||||
# Default: system specific (usually /tmp or /var/tmp).
|
||||
@@ -93,7 +93,7 @@ Example
|
||||
|
||||
# Path to a local socket file the daemon will listen on.
|
||||
# Default: disabled (must be specified by a user)
|
||||
-#LocalSocket /tmp/clamd.socket
|
||||
+#LocalSocket @RUNSTATEDIR@/clamav/clamd.ctl
|
||||
|
||||
# Sets the group ownership on the unix socket.
|
||||
# Default: disabled (the primary group of the user running clamd)
|
||||
diff --git a/etc/freshclam.conf.sample b/etc/freshclam.conf.sample.in.in
|
||||
similarity index 99%
|
||||
rename from etc/freshclam.conf.sample
|
||||
rename to etc/freshclam.conf.sample.in.in
|
||||
index 2f7d14618..3af3a3485 100644
|
||||
--- a/etc/freshclam.conf.sample
|
||||
+++ b/etc/freshclam.conf.sample.in.in
|
||||
@@ -51,7 +51,7 @@ Example
|
||||
# It is recommended that the directory where this file is stored is
|
||||
# also owned by root to keep other users from tampering with it.
|
||||
# Default: disabled
|
||||
-#PidFile /var/run/freshclam.pid
|
||||
+#PidFile @RUNSTATEDIR@/freshclam.pid
|
||||
|
||||
# By default when started freshclam drops privileges and switches to the
|
||||
# "clamav" user. This directive allows you to change the database owner.
|
||||
diff --git a/freshclam/Makefile.am b/freshclam/Makefile.am
|
||||
index ab6ac8f1c..6b16b3d3e 100644
|
||||
--- a/freshclam/Makefile.am
|
||||
+++ b/freshclam/Makefile.am
|
||||
@@ -32,6 +32,26 @@ if INSTALL_SYSTEMD_UNITS
|
||||
systemdsystemunit_DATA = clamav-freshclam.service
|
||||
endif
|
||||
|
||||
+if INSTALL_OPENRC_SERVICES
|
||||
+
|
||||
+openrcdir = $(sysconfdir)/init.d
|
||||
+
|
||||
+# The next rule allows us to replace @RUNSTATEDIR@ and friends within
|
||||
+# our OpenRC service scripts. This example is taken from the autoconf
|
||||
+# documentation in the "Installation Directory Variables" section.
|
||||
+openrc_SCRIPTS_src = openrc/freshclam.in.in
|
||||
+openrc_SCRIPTS_intermediate = openrc/freshclam.in
|
||||
+nodist_openrc_SCRIPTS = openrc/freshclam
|
||||
+DISTCLEANFILES = $(nodist_openrc_SCRIPTS) $(openrc_SCRIPTS_intermediate)
|
||||
+$(nodist_openrc_SCRIPTS): $(openrc_SCRIPTS_src) $(openrc_SCRIPTS_intermediate) Makefile
|
||||
+ rm -f $@ $@.tmp
|
||||
+ $(editgnudirs) $@.in > $@.tmp
|
||||
+ mv $@.tmp $@
|
||||
+
|
||||
+endif
|
||||
+EXTRA_DIST = $(openrc_SCRIPTS_src)
|
||||
+
|
||||
+
|
||||
AM_CFLAGS=@WERR_CFLAGS@
|
||||
DEFS = @DEFS@
|
||||
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/shared -I$(top_srcdir)/libclamav -I$(top_builddir)/libclamav -I$(top_srcdir)/libclamunrar_iface -I$(top_srcdir)/libfreshclam @CURL_CPPFLAGS@ @SSL_CPPFLAGS@ @FRESHCLAM_CPPFLAGS@ @ZLIB_CFLAGS@ @JSON_CPPFLAGS@ @PCRE_CPPFLAGS@
|
||||
diff --git a/freshclam/openrc/freshclam.in.in b/freshclam/openrc/freshclam.in.in
|
||||
new file mode 100644
|
||||
index 000000000..9feb73747
|
||||
--- /dev/null
|
||||
+++ b/freshclam/openrc/freshclam.in.in
|
||||
@@ -0,0 +1,8 @@
|
||||
+#!/sbin/openrc-run
|
||||
+
|
||||
+command="@BINDIR@/freshclam"
|
||||
+pidfile="@RUNSTATEDIR@/${RC_SVCNAME}.pid"
|
||||
+
|
||||
+# Ignore the value of "PidFile" set in freshclam.conf.
|
||||
+command_args="-p ${pidfile}"
|
||||
+command_args_background="--daemon"
|
||||
diff --git a/m4/reorganization/libs/openrc.m4 b/m4/reorganization/libs/openrc.m4
|
||||
new file mode 100644
|
||||
index 000000000..1a73d1589
|
||||
--- /dev/null
|
||||
+++ b/m4/reorganization/libs/openrc.m4
|
||||
@@ -0,0 +1,8 @@
|
||||
+dnl Should we install our OpenRC service files?
|
||||
+AC_ARG_ENABLE([openrc],
|
||||
+ AS_HELP_STRING([--enable-openrc],
|
||||
+ [Install OpenRC service files]),
|
||||
+ [],
|
||||
+ [enable_openrc=no])
|
||||
+AM_CONDITIONAL(INSTALL_OPENRC_SERVICES,
|
||||
+ [test "x$enable_openrc" = "xyes"])
|
@ -1,9 +1,7 @@
|
||||
DIST clamtk-6.03.tar.xz 227940 BLAKE2B 08364ba8c3b4fcdb49364cd2721413c7f487aaff23dfa0fb0e7b28f9baf9d267589099cc159558dd004fe882d762b6ece272672aab962b4a666fb8c244671d19 SHA512 4e81b161b17ae15a307d026766efcab2ea0433437e68dd7e3465e07c999e66c556372adc29cee093a1cec5a8f37861d1b8cddd08ed6e4cfbd59f5333d4f03fac
|
||||
DIST clamtk-6.05.tar.xz 230076 BLAKE2B 577a2f6cec4cde7d72be2ee519d3fb26b9b713f199f1b526eea8a4bc3fd997ca60ceff1c2478fea568c27a648a16f1962c406c7ed00b75c3e545d4ee0f6ece45 SHA512 d7d49c186cce226649f9b449802a1ada52ddb51e2954de16ca379618e0ab8517ed80f934e2ee0f03d5dbc6c0fd2015f76b0f32230e0a526d71008692dd817fd2
|
||||
DIST clamtk-gnome-0.05.tar.xz 15148 BLAKE2B d72ad0c9b3272c1a21d3722994152e23aeb01bd79d006cbcd3545c2689887b4f596daeeef72a13d9cdd9cfc89c4091963b4a1917824bbb06be4678f2c446a114 SHA512 a5d3b0e87889880272aa61a0feebca8e885c7fa964bad767351c826188c236f2152b3c43328b6aa720c5942b2bf1da69916d3664358c274813a6ac032ee4dea0
|
||||
DIST clamtk-kde-0.18.tar.xz 17732 BLAKE2B ca82934417f2d869fd8c8e36a31ef4a52cf4ee73581c5d1d400c1b28908c5ea2524a8f5d1110b1e949038378613fb4d5607d5123eebe91df695a53d0dd489302 SHA512 145ddd349010e0bb6fe3295e50d6e15a2dd96e604babbd5de4cb49ba75169d2050777cac38e40ac6a64cb89ddf94025d610aca73136c75f81115d0a2d863d24e
|
||||
DIST nemo-sendto-clamtk-0.04.tar.xz 4228 BLAKE2B ce656d4f021bc30cd12fb2ee5f98a78c1f1fdb2460ed2cbba0b572408617f91b39b2ca2fe542b9cec7be79b4b9fdfd685f5553e1a671454ca1e6723241dcb805 SHA512 2b5d3abbc4ae5dbc71b1b7bc836df88ad51e6afa00d5e954b5c1355a70c0420b6fef895e1cb5cccb86a662aee2039cef6c01821c1347fa155b5da3529b25562c
|
||||
DIST thunar-sendto-clamtk-0.06.tar.xz 4416 BLAKE2B 6b9f8857fead9f175af0a5fd3585790c49865b07016ddbc0dfc21f761ecbac32d97a65731fdca0335fd4852af9efc93c06ecb994f769a5efeade35cb734e9924 SHA512 f3b6f296213ad5974f8134d682cce4e426d9730d1898e8f7ea474e27314ee47957b033bbd7f16196cabf054eccec844c05ff8c8f9a98ad013a7f89b899cee591
|
||||
EBUILD clamtk-6.03-r1.ebuild 3804 BLAKE2B ff2578f9d19368b4c001beba7a359271e98b0a02f5187851f3701bf6a8b11a3c993d04d98b337d2c40f6065cd5abf01d46efecef50fc093453802f2a312558c9 SHA512 efe15487bb10add7ae4b7f0052a844a45c11b506e86d47ad70a6778604d339c6fbd6f1114d50eb6da545e11d70c71b21f36cb189c8a188eb737b2687b2dd7a38
|
||||
EBUILD clamtk-6.05.ebuild 3805 BLAKE2B 0b76cc3d64e3f15ebb66dc3da58d46e84ab8bc3ad497b12ddf5b5bca57143bfb78de56aec60f197d5d2778157d53f8136f2a744649f481f68908d796d5380954 SHA512 e7a91930d53b4d9d87e0a4b5cb2e93e5bcdc4a5e44ed69450a1401c22e4a8ca55aa5da3bb81537ee723f6d58ec69df6517a1f024db645e8154b2a496ee8a5004
|
||||
EBUILD clamtk-6.05.ebuild 3803 BLAKE2B 73a137c5ca828a794493b7b19771a6a76eed6130453ba52593af59a0f4b80effb95f9d9d87f9040c5e1cc746688a18271bb3bbf0c51b3ec0b4bdc2f46047ace2 SHA512 20a9b5ef9f8178f25b89b4266f04f4408ed7d6d2447fefa63d6ae7eb19bc2f509840b92c4399f3c2209b37d14002c34777cfcccc9045137be643bb14e0e3a25b
|
||||
MISC metadata.xml 809 BLAKE2B 6c61c6d564fd120a1996f0620eb94af868a19a4a2178ebf694bda8f7a926b42848723911d2b45ed6a8199a969802d62e574422d22a76163fea2eb8d053553236 SHA512 984613fcdc7d6c2dd02475f3a9ca0f1e68e66c59961d9e43532722b5ac4c8022a4daff30742eec959da5317d4f3e10c2608538b50bad5b4d95af5ba7731f75b7
|
||||
|
@ -1,142 +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} )
|
||||
|
||||
inherit desktop perl-functions python-single-r1 xdg-utils
|
||||
|
||||
MY_PV_KDE="0.18"
|
||||
MY_PV_NAUTILUS="0.05"
|
||||
MY_PV_NEMO="0.04"
|
||||
MY_PV_THUNAR="0.06"
|
||||
|
||||
DESCRIPTION="A graphical front-end for ClamAV"
|
||||
HOMEPAGE="https://gitlab.com/dave_m/clamtk/wikis/Home"
|
||||
SRC_URI="
|
||||
https://bitbucket.org/davem_/${PN}-gtk3/downloads/${P}.tar.xz
|
||||
kde? ( https://bitbucket.org/davem_/${PN}-kde/downloads/${PN}-kde-${MY_PV_KDE}.tar.xz )
|
||||
nautilus? ( https://bitbucket.org/davem_/${PN}-gnome/downloads/${PN}-gnome-${MY_PV_NAUTILUS}.tar.xz )
|
||||
nemo? ( https://bitbucket.org/davem_/nemo-sendto-${PN}/downloads/nemo-sendto-${PN}-${MY_PV_NEMO}.tar.xz )
|
||||
thunar? ( https://bitbucket.org/davem_/thunar-sendto-${PN}/downloads/thunar-sendto-${PN}-${MY_PV_THUNAR}.tar.xz )
|
||||
"
|
||||
|
||||
LICENSE="|| ( Artistic GPL-1+ )"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="kde nautilus nemo +nls thunar"
|
||||
REQUIRED_USE="nautilus? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND="
|
||||
app-antivirus/clamav
|
||||
dev-perl/File-chdir
|
||||
dev-perl/Gtk3
|
||||
dev-perl/JSON
|
||||
dev-perl/LWP-Protocol-https
|
||||
dev-perl/LWP-UserAgent-Cached
|
||||
dev-perl/Locale-gettext
|
||||
dev-perl/Text-CSV
|
||||
dev-perl/glib-perl
|
||||
dev-perl/libwww-perl
|
||||
virtual/perl-Digest-MD5
|
||||
virtual/perl-Digest-SHA
|
||||
virtual/perl-Encode
|
||||
virtual/perl-MIME-Base64
|
||||
virtual/perl-Time-Piece
|
||||
nautilus? (
|
||||
${PYTHON_DEPS}
|
||||
dev-python/nautilus-python[${PYTHON_SINGLE_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
BDEPEND="nls? ( sys-devel/gettext )"
|
||||
|
||||
DOCS=( "CHANGES" "credits.md" "DISCLAIMER" "README.md" )
|
||||
|
||||
pkg_setup() {
|
||||
use nautilus && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
unpack "${S}"/clamtk.1.gz
|
||||
|
||||
use kde && unpack "${S}"/../clamtk-kde-${MY_PV_KDE}/clamtk-kde.1.gz
|
||||
use nautilus && unpack "${S}"/../clamtk-gnome-${MY_PV_NAUTILUS}/clamtk-gnome.1.gz
|
||||
use nemo && unpack "${S}"/../nemo-sendto-clamtk-${MY_PV_NEMO}/nemo-sendto-clamtk.1.gz
|
||||
use thunar && unpack "${S}"/../thunar-sendto-clamtk-${MY_PV_THUNAR}/thunar-sendto-clamtk.1.gz
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin clamtk
|
||||
|
||||
perl_set_version
|
||||
insinto "${VENDOR_LIB}"/ClamTk
|
||||
doins lib/*.pm
|
||||
|
||||
use nls && domo po/*.mo
|
||||
|
||||
doicon images/clamtk.png images/clamtk.xpm
|
||||
|
||||
domenu clamtk.desktop
|
||||
|
||||
doman ../clamtk.1
|
||||
|
||||
if use kde; then
|
||||
insinto /usr/share/kservices5/ServiceMenus
|
||||
doins ../clamtk-kde-${MY_PV_KDE}/clamtk-kde.desktop
|
||||
|
||||
doicon ../clamtk-kde-${MY_PV_KDE}/clamtk-kde.png ../clamtk-kde-${MY_PV_KDE}/clamtk-kde.xpm
|
||||
|
||||
doman ../clamtk-kde.1
|
||||
|
||||
docinto dolphin
|
||||
dodoc ../clamtk-kde-${MY_PV_KDE}/CHANGES ../clamtk-kde-${MY_PV_KDE}/README.md
|
||||
fi
|
||||
|
||||
if use nautilus; then
|
||||
insinto /usr/share/nautilus-python/extensions
|
||||
doins ../clamtk-gnome-${MY_PV_NAUTILUS}/clamtk-gnome.py
|
||||
|
||||
doicon ../clamtk-gnome-${MY_PV_NAUTILUS}/images/clamtk-gnome.png
|
||||
|
||||
doman ../clamtk-gnome.1
|
||||
|
||||
docinto nautilus
|
||||
dodoc ../clamtk-gnome-${MY_PV_NAUTILUS}/CHANGES ../clamtk-gnome-${MY_PV_NAUTILUS}/DISCLAIMER ../clamtk-gnome-${MY_PV_NAUTILUS}/README.md
|
||||
fi
|
||||
|
||||
if use nemo; then
|
||||
insinto /usr/share/nemo/actions/
|
||||
doins ../nemo-sendto-clamtk-${MY_PV_NEMO}/nemo-sendto-clamtk.nemo_action
|
||||
|
||||
doman ../nemo-sendto-clamtk.1
|
||||
|
||||
docinto nemo
|
||||
dodoc ../nemo-sendto-clamtk-${MY_PV_NEMO}/CHANGES ../nemo-sendto-clamtk-${MY_PV_NEMO}/DISCLAIMER ../nemo-sendto-clamtk-${MY_PV_NEMO}/README.md
|
||||
fi
|
||||
|
||||
if use thunar; then
|
||||
insinto /usr/share/Thunar/sendto
|
||||
doins ../thunar-sendto-clamtk-${MY_PV_THUNAR}/thunar-sendto-clamtk.desktop
|
||||
|
||||
doman ../thunar-sendto-clamtk.1
|
||||
|
||||
docinto thunar
|
||||
dodoc ../thunar-sendto-clamtk-${MY_PV_THUNAR}/CHANGES ../thunar-sendto-clamtk-${MY_PV_THUNAR}/DISCLAIMER ../thunar-sendto-clamtk-${MY_PV_THUNAR}/README
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
Binary file not shown.
@ -1,10 +1,5 @@
|
||||
AUX unrar-5.5.5-build.patch 1021 BLAKE2B f11426cac10efe195a0507ea99c77813284ff8d03aa47f4c10f8d4c93689eac919aa68651bf20393fbadd94bb88439fddaa1448cf00153a2dbfb0468c938f1b1 SHA512 c6875ef2ed3f1cd5e8baae74fdc92c7c44c694169bfaa2b63af10eaacb52dd27ff12360ac6757a82499a0f14fb78cfa1bfbd8391435f95b125a81b2e776f28a0
|
||||
AUX unrar-5.5.5-honor-flags.patch 1211 BLAKE2B 8104ac7bf12579218e71147865823da40c3c534a1a13a26f1e59712bfea10c6664a0efce1aff95bd28f35dfb8a50561ff32785416c40c155f047a2368dd76f2d SHA512 a91bc7f4af17fa3a72e6dbd6276afae181554184e8b9ba34c52235d69890ac1e68350d9c14ba7cd207c71220963a26cf1169b965258992cf3b79ec71537c2569
|
||||
AUX unrar-5.9.3-build.patch 943 BLAKE2B 1f482772b491269413e11e600e049ed608ccb4b0b0271d43d3df43849cbcfe60a4fd4546fb5e69dbe95d6729b344f705b97483a5bc0c1d11edc21ce8e08bca6b SHA512 b6d3e5c6bf0e3605c3390b97bdd1f0747fff32eb7780a7ec967421841203a6cacb42ce16041bec84f88fa1eb2fd15b9235da1f37d517c9e7d876034a5bd79466
|
||||
DIST unrar-5.9.2.tar.gz 229900 BLAKE2B a941ef6566a5b58990d88e6e99cc23c169fd7d99fe2c8ef1313db860f9f220510ea002990740c4b3a3f980c037f9b3be4cdad84624a9a6f5094b1074721800d4 SHA512 e48dd3327d57522aa676e8fd6e29b7133ee9921eb1525d90ddedc61716ecfeefb51a7eb3a667f4f81f21a5ce8654727617d33463a5b6a40a7bc32252fa9f25df
|
||||
DIST unrar-5.9.3.tar.gz 229917 BLAKE2B 6ab2141970535753197d3ed74521f80d3b20ecc2a0f620932c31bd1b5ce4c70bc3e2671fed0a9a77ceb4f42f6423d315f3eac0a00dac334ee2c3dd60a569c78a SHA512 38b2e2e527a4d2df627072acb4c205f46c96771969db4558be04adf9166502b3b9c3d1cc60fe290b6c4ce56db68bb5e0b0ac3bf0698d9820d4840d56cc5f3e2f
|
||||
DIST unrar-5.9.4.tar.gz 229921 BLAKE2B d87189a6b6b3566a0efac7f72e40732ff673cdcac6f4fdaa96b5a771025f02779d74e2822053681477b3490f45817196673aa5707846767c4061ca95718557a1 SHA512 4c026bc12c38314c7df6e1b2f296be681fffa4ba525e378809063519cb5d51889fe8d3cbce16e802023354f02b45b1bcc672b79a6fa81b4baa13a374ce22c8f1
|
||||
EBUILD unrar-5.9.2.ebuild 1885 BLAKE2B f83a1dc3eafefa33bf4ec25740e2a76c7e4afa7c9b497b8ab9be85bcd388db0e8bdc4cb5d3d36911b68591395f7513b51eb304b36fdc5c27d046f66ff74a3658 SHA512 7ca8fcd06c42689f6b3190795bd420d1492af1aa00006f449e0b8c9f89b4a55722bb83d6d8471e7b8307393a75b590c23c837a05a57da3bd7d30ccc58ac19587
|
||||
EBUILD unrar-5.9.3.ebuild 1893 BLAKE2B 0399f2fd6e2dbfa76b5f9590428657c0ff4e2ff6b4d02e4da409991eabde522913d41bdd8a8cc49db1727b90f936ca4f15de003a0f7793dfa7245301064d5126 SHA512 b31e6054332cf318893dbf6306bbc1cc34f6b601f03a1b7d687f2dabe6f347faed57365569182739bbd302c62d18bc90ef900125a3515111d80fc42cce8e232c
|
||||
EBUILD unrar-5.9.4.ebuild 1886 BLAKE2B 825ea13c6a63841bfd0e1f5d23a9c401383a5d87f2a64d28ea4ef9306840be236f36e5faea3b7672fd15a87820e5402bfeed7bf9096d5a024d1a6cffba1b05c3 SHA512 1260252452076a33a469c7ef9184329656002b6249dd7c4136f387908fadbd3a3d0222f7f142ae78fa2d4a5a09049a82d3f33734ac46e5945a85234eda7f9107
|
||||
EBUILD unrar-5.9.4.ebuild 1885 BLAKE2B a3d674f2b906716a0b94cefddbf230b1cc8af84f61eeec97db50c38a04d046cd2366ecb4f23150049a0f3205b1e74419694f11c747c2f44ecea3e0f66eadeef2 SHA512 e84d1a513b32c739767a0d445c3c7a156b1e381fa0f0b191d606385bb416e3e243e0bb0ba1d9616c68dc3490097338c31e8b4b318df52f5b011abb1d56aa6348
|
||||
MISC metadata.xml 512 BLAKE2B 260947f2fad1c57508f689b2db22fff72276f40fb91789cfd0b0a2ae63d6710ed186d6350e4a23d19566e3469a097294f95074810652d61cb752a54dfe92ac80 SHA512 4a8c151dbda173dada5635cbd844459a1d999c6c41a2e140a09ba31536e1856d896141471c65b5cb52c9c92229f55c211e01ba23b975f4d25442ffc55ae6a13d
|
||||
|
@ -1,44 +0,0 @@
|
||||
Makefile: Fix parallel build issue
|
||||
|
||||
If clean runs in parallel with $(OBJECTS), it is possible to build some
|
||||
objects first, then the clean target fires and deletes some, and then we
|
||||
try to link and fail.
|
||||
|
||||
Gentoo-Bug: https://bugs.gentoo.org/528218
|
||||
|
||||
--- a/makefile
|
||||
+++ b/makefile
|
||||
@@ -139,23 +139,23 @@ uninstall: uninstall-unrar
|
||||
|
||||
clean:
|
||||
@rm -f *.o *.bak *~
|
||||
-
|
||||
-unrar: clean $(OBJECTS) $(UNRAR_OBJ)
|
||||
@rm -f unrar
|
||||
+ @rm -f default.sfx
|
||||
+ @rm -f libunrar.so
|
||||
+ @rm -f libunrar.a
|
||||
+
|
||||
+unrar: $(OBJECTS) $(UNRAR_OBJ)
|
||||
$(LINK) -o unrar $(LDFLAGS) $(OBJECTS) $(UNRAR_OBJ) $(LIBS)
|
||||
$(STRIP) unrar
|
||||
|
||||
sfx: WHAT=SFX_MODULE
|
||||
-sfx: clean $(OBJECTS)
|
||||
- @rm -f default.sfx
|
||||
+sfx: $(OBJECTS)
|
||||
$(LINK) -o default.sfx $(LDFLAGS) $(OBJECTS)
|
||||
$(STRIP) default.sfx
|
||||
|
||||
lib: WHAT=RARDLL
|
||||
lib: CXXFLAGS+=$(LIBFLAGS)
|
||||
-lib: clean $(OBJECTS) $(LIB_OBJ)
|
||||
- @rm -f libunrar.so
|
||||
- @rm -f libunrar.a
|
||||
+lib: $(OBJECTS) $(LIB_OBJ)
|
||||
$(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
|
||||
$(AR) rcs libunrar.a $(OBJECTS) $(LIB_OBJ)
|
||||
|
||||
--
|
||||
2.13.1
|
||||
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic multilib toolchain-funcs
|
||||
|
||||
MY_PN="${PN}src"
|
||||
|
||||
DESCRIPTION="Uncompress rar files"
|
||||
HOMEPAGE="https://www.rarlab.com/rar_add.htm"
|
||||
SRC_URI="https://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="unRAR"
|
||||
# subslot = soname version
|
||||
SLOT="0/5"
|
||||
KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417"
|
||||
|
||||
S="${WORKDIR}/unrar"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-5.5.5-build.patch
|
||||
"${FILESDIR}"/${PN}-5.5.5-honor-flags.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" )
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" )
|
||||
else
|
||||
sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" )
|
||||
fi
|
||||
sed -i "${sed_args[@]}" makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mkdir -p build-{lib,bin}
|
||||
printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die
|
||||
cp build-{lib,bin}/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
unrar_make() {
|
||||
emake AR="$(tc-getAR)" CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
|
||||
}
|
||||
|
||||
unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname) || die
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname ${PV}) || die
|
||||
|
||||
unrar_make -C build-bin
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin build-bin/unrar
|
||||
dodoc readme.txt
|
||||
|
||||
dolib.so build-lib/libunrar*
|
||||
|
||||
insinto /usr/include/libunrar${PV%.*.*}
|
||||
doins *.hpp
|
||||
dosym libunrar${PV%.*.*} /usr/include/libunrar
|
||||
|
||||
find "${ED}" -type f -name "*.a" -delete || die
|
||||
}
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic multilib toolchain-funcs
|
||||
|
||||
MY_PN="${PN}src"
|
||||
|
||||
DESCRIPTION="Uncompress rar files"
|
||||
HOMEPAGE="https://www.rarlab.com/rar_add.htm"
|
||||
SRC_URI="https://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="unRAR"
|
||||
# subslot = soname version
|
||||
SLOT="0/5"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417"
|
||||
|
||||
S="${WORKDIR}/unrar"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-5.9.3-build.patch
|
||||
"${FILESDIR}"/${PN}-5.5.5-honor-flags.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" )
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" )
|
||||
else
|
||||
sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" )
|
||||
fi
|
||||
sed -i "${sed_args[@]}" makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mkdir -p build-{lib,bin}
|
||||
printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die
|
||||
cp build-{lib,bin}/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
unrar_make() {
|
||||
emake AR="$(tc-getAR)" CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
|
||||
}
|
||||
|
||||
unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname) || die
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname ${PV}) || die
|
||||
|
||||
unrar_make -C build-bin
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin build-bin/unrar
|
||||
dodoc readme.txt
|
||||
|
||||
dolib.so build-lib/libunrar*
|
||||
|
||||
insinto /usr/include/libunrar${PV%.*.*}
|
||||
doins *.hpp
|
||||
dosym libunrar${PV%.*.*} /usr/include/libunrar
|
||||
|
||||
find "${ED}" -type f -name "*.a" -delete || die
|
||||
}
|
@ -1,6 +1,4 @@
|
||||
DIST xz-5.2.4.tar.gz 1572354 BLAKE2B 877242324afd3c7eb21d3a9414c53843f4d1bb089206e8e545e280b32ff5372f7fb4a1b0c27cb6fdf0d0a27a668e9772ecc3fffc181df95d081ca9c2e987b83b SHA512 e5bf6eb88365d2dbdc774db49261fb9fae0544ed297891fc20f1ed223f4072cb0357cbd98146ac35b6d29410a12b6739bbd111cd57d4a225bef255ed46988578
|
||||
DIST xz-5.2.5.tar.gz 1791345 BLAKE2B aded57324e129572c41646b3cc3b0b59a459452d9338d9245663b63dac2a463fb1f1b2b1d2d4ad3c09cb71fb8439df52cd94f24db99e782fc899b94a288a3043 SHA512 7443674247deda2935220fbc4dfc7665e5bb5a260be8ad858c8bd7d7b9f0f868f04ea45e62eb17c0a5e6a2de7c7500ad2d201e2d668c48ca29bd9eea5a73a3ce
|
||||
EBUILD xz-utils-5.2.4-r2.ebuild 2684 BLAKE2B 914c3043b4d07614db0d77d61fa9de508ffe5df5bb64753d9d8e15da14e147bd7f76d0259fef404dba0b2d98ea76aa25e89fbb9ca6621a310e75bdd12b41c1bd SHA512 04ec2a56f2aabf58891f4db02c8375451ee5f8a925d12092ead17674d09f1467cb4d6cb09e38292a4d5bc0c5adfc0a340a92593ae9cb3fb539898d0b35e7549d
|
||||
EBUILD xz-utils-5.2.5.ebuild 2797 BLAKE2B cf0c935415dd0c963c217d465aa5d703a7b3dc6f3f9e425f9e42c41c7a56d3c45f2064b3f6e478c16c9a8030255c9de5c1afa8a393049eda242203b8cf0aa4b8 SHA512 12c2febddaf2ce04537c774e4624707e8a5cfb9b478d9bbe8acb271cb1166e9008dbfa8dc9275040fb1f77c316d2d1d666a5437314f76c2b0d69ce0c9a0b75fd
|
||||
EBUILD xz-utils-5.2.5.ebuild 2796 BLAKE2B 55c74db033adc1182d6007aabd29ce1405e90cdde09792aeac1d60109dca63408c9da7e1a8b88791ddadb17597919e931b3049db7850806b213d8ff42f643702 SHA512 0c7900e598f9c07c53a42efde81ea34d0db5656e099c7d9c8237cf78fa07d13704b52d55214352e803f9fb2d04bb41ca26be22595d956defafdc45f26fcaa4f2
|
||||
EBUILD xz-utils-9999.ebuild 2805 BLAKE2B 4d6a91b14fc4688c02abce64ed70d7b3d8ccb93aeefa5c4f6ca77f1a0c78341cd1c400128bda0aa3ba22b0882746cbb08d309301ba6ef67c75ec9d6f9eaf668d SHA512 e7b563a13fe43204f5e8fd8d5e78736c2feedf727163ca5302837338c496df0e86b28d5f62621496a189f98d3b3a15c7a960f7b0a13e9a5b59886737f52ceac9
|
||||
MISC metadata.xml 538 BLAKE2B 1ce32a16125c6af46b02bf0ebdef56c685d1d4903b74c2331b446e764096503b06fecf6d467ffb1c1627b8dabfa58092a1db21e5eda53d66f4e9ede4714d7978 SHA512 97dffaeaa9db4117a7e7770ac1ebfe16c0c32fc3de30f7cf099dea7a6565c3971146178140e0676e1946fcef609131124cc3d0bd971eb6fde1d45086da122310
|
||||
|
@ -1,94 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Remember: we cannot leverage autotools in this ebuild in order
|
||||
# to avoid circular deps with autotools
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit multilib toolchain-funcs libtool multilib-minimal preserve-libs usr-ldscript
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://git.tukaani.org/xz.git"
|
||||
inherit git-r3 autotools
|
||||
SRC_URI=""
|
||||
EXTRA_DEPEND="sys-devel/gettext dev-vcs/cvs >=sys-devel/libtool-2" #272880 286068
|
||||
else
|
||||
MY_P="${PN/-utils}-${PV/_}"
|
||||
SRC_URI="https://tukaani.org/xz/${MY_P}.tar.gz"
|
||||
[[ "${PV}" == *_alpha* ]] || [[ "${PV}" == *_beta* ]] || \
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
EXTRA_DEPEND=
|
||||
fi
|
||||
|
||||
DESCRIPTION="utils for managing LZMA compressed files"
|
||||
HOMEPAGE="https://tukaani.org/xz/"
|
||||
|
||||
# See top-level COPYING file as it outlines the various pieces and their licenses.
|
||||
LICENSE="public-domain LGPL-2.1+ GPL-2+"
|
||||
SLOT="0"
|
||||
IUSE="elibc_FreeBSD +extra-filters nls static-libs +threads"
|
||||
|
||||
RDEPEND="!<app-arch/lzma-4.63
|
||||
!<app-arch/p7zip-4.57"
|
||||
DEPEND="${RDEPEND}
|
||||
${EXTRA_DEPEND}"
|
||||
|
||||
# Tests currently do not account for smaller feature set
|
||||
RESTRICT="!extra-filters? ( test )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
eautopoint
|
||||
eautoreconf
|
||||
else
|
||||
elibtoolize # to allow building shared libs on Solaris/x64
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=(
|
||||
$(use_enable nls)
|
||||
$(use_enable threads)
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
multilib_is_native_abi ||
|
||||
myconf+=( --disable-{xz,xzdec,lzmadec,lzmainfo,lzma-links,scripts} )
|
||||
if ! use extra-filters; then
|
||||
myconf+=(
|
||||
# LZMA1 + LZMA2 for standard .lzma & .xz files
|
||||
--enable-encoders=lzma1,lzma2
|
||||
--enable-decoders=lzma1,lzma2
|
||||
# those are used by default, depending on preset
|
||||
--enable-match-finders=hc3,hc4,bt4
|
||||
# CRC64 is used by default, though some (old?) files use CRC32
|
||||
--enable-checks=crc32,crc64
|
||||
)
|
||||
fi
|
||||
|
||||
use elibc_FreeBSD && export ac_cv_header_sha256_h=no #545714
|
||||
ECONF_SOURCE="${S}" econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
default
|
||||
gen_usr_ldscript -a lzma
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
if ! use static-libs ; then
|
||||
find "${ED}" -name "*.a" -delete || die
|
||||
fi
|
||||
rm "${ED%/}"/usr/share/doc/${PF}/COPYING* || die
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
preserve_old_lib /usr/$(get_libdir)/liblzma$(get_libname 0)
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/liblzma$(get_libname 0)
|
||||
}
|
@ -1,10 +1,7 @@
|
||||
AUX zstd-1.4.4-make43.patch 3577 BLAKE2B 55e6e743b44f8ad9048d4ab94c7058b82fc3fdbcf7863dbd7fe1933c62f736bbfed1d57a1fbd26f24159bae96094b393e1067b0bf467aeb40a464c7b34e741c5 SHA512 800c6dd70c09705ad7eb3e031c451d6e9cf0a06b1a42f0fbb0e474e0873596641bb5e4c03681955ec883d34ffaa4aa8ae207f399c4753c0f6f05afe70f56254f
|
||||
AUX zstd-1.4.4-pkgconfig_libdir.patch 8322 BLAKE2B 2c7bcc57cbbf549919d0f7ce4538afd5ef8face1624b4bb348d77725aa22349e306614a8bd75666fae0308f05fc64645211dbc2f3fe4efaddf7027c845fd5d0d SHA512 e748145592281a218495076c44d081c994923605fff2f9561a04ad3a00ba38847e4855549610da4d91d50c4bd5198270482ae59277571e9723a46b967a088632
|
||||
DIST zstd-1.3.7.tar.gz 1825458 BLAKE2B 2a689289ec70fd510575aecebf88ad763bd150e578d70d9fbb1678cba314c90a60339697232a5515990505e3c889aac92c3c2c4c3fc48e0d434b4dfd6cac9df1 SHA512 b7a432b13e237ac1490cd82b87727f6a4385d5ea7b89f566dea61a3993e17909c03288f727326ada326e36eb47ea5f9eab67c097808ee42f52cc800a7f7e1738
|
||||
DIST zstd-1.4.4.tar.gz 1962617 BLAKE2B e21841a53b6c60703e5500cfc2a02923c4c3e57975aa57e1060310171e0d83d7c8eda1bd0510d5736db5c310d76847d2105ac5f614867fc3a9dc3086a035dfd7 SHA512 8209837e8eb14e474dfe21d5511085f46cef93b03ab77613fd41e7b8be652418231c38852669c8e0b55b78ad41ea2cb8008d0da122a83f8f27e32b5c86f045cf
|
||||
DIST zstd-1.4.5.tar.gz 1987927 BLAKE2B 1497d4e87040e5c71466468ebf1a57f4073666f2b005229925bc1d95a4b4fcb2a51d88bb79be20f21860e5750da42f8aac21d2997421d07ba37bd6bb12a28b55 SHA512 b03c497c3e0590c3d384cb856e3024f144b2bfac0d805d80e68deafa612c68237f12a2d657416d476a28059e80936c79f099fc42331464b417593895ea214387
|
||||
EBUILD zstd-1.3.7-r1.ebuild 1345 BLAKE2B 3ed2bbdb0f63e57dbbebf91b38c460a7646adfc42a34f40e26728c9aa2fc80f60238efc4df4867927f4c15dc221ab35bc14fee523680980aa6d8e3c60f174828 SHA512 45ae51d8608941336dfff2e0d1e71a7c13de645a3f3012f63d43e980c72c82ade46f233528baf784cda5eeb0899617bf77c1caabcd22c2a522a16da75eef9ef1
|
||||
EBUILD zstd-1.4.4-r3.ebuild 1558 BLAKE2B e60061922b9e01df894bf199cc7a0ddb8b999f7d44c84b3db332548d8732c32c948afa4301ae3383a59949a8f23ab7e83972b4eebdeb760ec14b86b2c8868d2f SHA512 1a862c0d9a7c4c8e04ee3c98e5ffba5ae85bf66163016c7d2a7332191e3bdf41444c194cc5bb08a6935fff890a3683a7881ec88f49c624e399580e920814e8e0
|
||||
EBUILD zstd-1.4.4-r4.ebuild 1785 BLAKE2B 3ecdc81d9ca6905ab87308aba86488f03b723d98062120bc8049a2a4cc16958dfda368a57f15c93e16d720816b3dde9c11e6662eb5131c828eeb87591d901141 SHA512 d80f766db89d7ad70847557e49d13c597170207045a76506212b78fccf5a8e205477db57c7f5c8eb28f10b25fd5b0a36745a889ee467af50d633e003a21c7bb1
|
||||
EBUILD zstd-1.4.5.ebuild 1689 BLAKE2B 680856e65b1bef3e3aa162397fb604bab1a57aa0359173278698f440ea3ac31645f06cfcd9a26c8e09eaa27a9573993b058cde0a43ddf8f8e159806791f5c28b SHA512 b97f3cc098c47c7f5aec09bc5c96ef5e2a7133cd64c301827fbb0573169cb7e085010f5e9f784a44a96160409977de763a7123d1e5e535af73d5c0fb0be3818a
|
||||
MISC metadata.xml 335 BLAKE2B b5522206853292786178f23747d3f8145cd21a9e1d9d545aea8ff424910d9f9ab6d35c66c098edac809baa4e87239d36d4d987308481b265fe30460d54f415b9 SHA512 9269829ff4dcad03a604ea00c7f9a3bcd937195b711ab52f813d39b8ebb921585293cb3cb97fbea75921df9a673d49c8a8b39dc13b54f9b171c08d6ac0c31bc6
|
||||
|
@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib-minimal toolchain-funcs
|
||||
|
||||
DESCRIPTION="zstd fast compression library"
|
||||
HOMEPAGE="https://facebook.github.io/zstd/"
|
||||
SRC_URI="https://github.com/facebook/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( BSD GPL-2 )"
|
||||
SLOT="0/1"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="lz4 static-libs"
|
||||
|
||||
RDEPEND="app-arch/xz-utils
|
||||
lz4? ( app-arch/lz4 )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
mymake() {
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
CXX="$(tc-getCXX)" \
|
||||
AR="$(tc-getAR)" \
|
||||
PREFIX="${EPREFIX}/usr" \
|
||||
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
mymake -C lib libzstd libzstd.a libzstd.pc
|
||||
|
||||
if multilib_is_native_abi ; then
|
||||
mymake zstd
|
||||
|
||||
mymake -C contrib/pzstd
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
mymake -C lib DESTDIR="${D}" install
|
||||
|
||||
if multilib_is_native_abi ; then
|
||||
mymake -C programs DESTDIR="${D}" install
|
||||
|
||||
mymake -C contrib/pzstd DESTDIR="${D}" install
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
if ! use static-libs; then
|
||||
find "${ED}" -name "*.a" -delete || die
|
||||
fi
|
||||
}
|
@ -1,69 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib-minimal toolchain-funcs
|
||||
|
||||
DESCRIPTION="zstd fast compression library"
|
||||
HOMEPAGE="https://facebook.github.io/zstd/"
|
||||
SRC_URI="https://github.com/facebook/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( BSD GPL-2 )"
|
||||
SLOT="0/1"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="lz4 static-libs +threads"
|
||||
|
||||
RDEPEND="app-arch/xz-utils
|
||||
lz4? ( app-arch/lz4 )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-pkgconfig_libdir.patch" #700780
|
||||
"${FILESDIR}/${P}-make43.patch" #708110
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
mymake() {
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
CXX="$(tc-getCXX)" \
|
||||
AR="$(tc-getAR)" \
|
||||
PREFIX="${EPREFIX}/usr" \
|
||||
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
local libzstd_targets=( libzstd{,.a}$(usex threads '-mt' '') )
|
||||
|
||||
mymake -C lib ${libzstd_targets[@]} libzstd.pc
|
||||
|
||||
if multilib_is_native_abi ; then
|
||||
mymake HAVE_LZ4="$(usex lz4 1 0)" zstd
|
||||
|
||||
mymake -C contrib/pzstd
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
mymake -C lib DESTDIR="${D}" install
|
||||
|
||||
if multilib_is_native_abi ; then
|
||||
mymake -C programs DESTDIR="${D}" install
|
||||
|
||||
mymake -C contrib/pzstd DESTDIR="${D}" install
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
if ! use static-libs; then
|
||||
find "${ED}" -name "*.a" -delete || die
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,11 +1,5 @@
|
||||
DIST dar-2.5.11.tar.gz 1891928 BLAKE2B 536cccca2533f7ddbc8b95972fe00e9c87a404481e6afbd7aa3634c00598403c18950eb876aefe71a818c3bf4df75bff5f3904dc69bd1d75880f6c8a349911a5 SHA512 36b90218a34ac7f41ce9ca0a2167cfb2fd243b23b8e84350153e8804f0faabf87291b4e4b061533bcb0ca079f087c074eeaa12a54ee8084dd386a072ac503847
|
||||
DIST dar-2.5.18.tar.gz 1931746 BLAKE2B 3d47665a1ab955ab9467d8f10a686565c549e1be57e77a9bcf65f1ea25c9b70d6d148d4b9dc35112b3ca74f9df05505c74e3a7eaa211b6a8b466308121206a2f SHA512 cde787bb4c3a3a1014efdb5e437b963d762eb87c512e1de1d60471035c535965e03adb5f75abc2bc95633bb6fb61226027d836a87fc903995e3a27a540632e69
|
||||
DIST dar-2.6.10.tar.gz 2140424 BLAKE2B 840a7a3d33825658be541157468a15bc3a3082083a35c426ecbab1cd2e8026e0a4d15671a33472068e1256878d1f60d414c2c069a3223ab5050756b13c887b69 SHA512 2fceafba6c6851c5dd11c0d1a3fda8aeddac16f39cf0051027b178703a5e821fb769c42624063d8722d80ea62bb735f3b0c6c39538c1c939234df49d6b757428
|
||||
DIST dar-2.6.5.tar.gz 2104866 BLAKE2B c31e06abb384d03d0180d3dd99067916de96286838a1aef8748ae6119651ac142388633c7946d0c7864f41a42c555ac79b0811af7594c5d6370fb9c30b975bc9 SHA512 e646ac51c5c140ca3e573a4e63ba47af6fcf19c0aeaa0d4791dd7e781478c8981cd31e1a2418d2f1fd8ab92f2c9812f3b712bc0fcbbcdfbd131c8937100a4790
|
||||
DIST dar-2.6.9.tar.gz 2137419 BLAKE2B 647dbd272832dabd8c6255ebc27040dceb428d7ea807146c5c4eabb7095eb7c57010a11a5bc3dfa73aa299c627e5230be9560ca5246b7591ed9705dac17181cd SHA512 9ee4624fa1cfa0e523653e3dca032a8b7ac200b3318ba21869c19a9102dd11a923c979e5186591011161a2ed07f3c7668b572620b3be197d4bfaea903c259151
|
||||
EBUILD dar-2.5.11.ebuild 2407 BLAKE2B f71b6baf86b3cbbf9d4f5f994efa72f400ef71ace22b42aabdd5b7ecf2171a4d9c7e73824fe1a29d45ebeca984761b53768cd2787331f16a63c2dd19709cb012 SHA512 8e050813809be8c1ca94aecbe0906c88758e85f6065d8472bad3e89304701eeb53f16d573a5ac546227bb8c2e3e87121491d7b27785b9231739e6959168c0b93
|
||||
EBUILD dar-2.5.18.ebuild 2398 BLAKE2B da4f12e9a5a975303cc0801c1081bc2742454b8f0fc2ee3f059bee3cdd1c1fbefc10765c9f83cd48c512e1bc634b93612aaf91498e73e37a71580d02373216ab SHA512 4da51e445dc0fe62d0f615b652fb53d3699a942bc1371616a9cd9f52a1bab61fbf5d5397bacac3d8ce1cae24554feff56b3392dcc6fe23564f9eadd4725b85dc
|
||||
EBUILD dar-2.6.10.ebuild 2599 BLAKE2B c23775fb216e9491460528e7bfc87dbafb1937c12417d8ff059948f12b5fdf6c6f92b8dbe597c566aefebc2b875b6ab2d7e97cd22de9c3c5c5653cf342de181b SHA512 002c0a42a2af1254c2fe2bd72f13b289f4de9bc04c5a30872b7f405b1dbff699ef5a339238f41d75d5da5604c799757bde9e3190926601f0c4966ce6ab936091
|
||||
EBUILD dar-2.6.5.ebuild 2572 BLAKE2B e1059c669c9cf569cad16f5d53492e4c9ab396173b51bead7f0a0e3529809bcb4a5a6f9ab8f2872f1c836405da011bc71ed8cbeeeef5ad1bfa202f287de4c9f4 SHA512 59144b0755ebe5e88147c4c0276f85c63893ff49a926ec904d50e0c74cd2d3c8139454877bb4d2143bc9d5370ea93fe302da8d3b0c2d05897cd98a9e6f8d0d88
|
||||
EBUILD dar-2.6.9.ebuild 2599 BLAKE2B c23775fb216e9491460528e7bfc87dbafb1937c12417d8ff059948f12b5fdf6c6f92b8dbe597c566aefebc2b875b6ab2d7e97cd22de9c3c5c5653cf342de181b SHA512 002c0a42a2af1254c2fe2bd72f13b289f4de9bc04c5a30872b7f405b1dbff699ef5a339238f41d75d5da5604c799757bde9e3190926601f0c4966ce6ab936091
|
||||
EBUILD dar-2.5.11.ebuild 2240 BLAKE2B 676849c6b7e0be4af55d7a4dd67159ef3d0eeea289de1cbd18c5920e9bdf793c0dac7a7f78d76eb1b42c712cd8de2b4545f9e6e911a5532916f17f9076fe9b49 SHA512 635cfb86497ccd0bece7145538130ac301345ee37f71c28c620c10236ffb02d5d184b1eebe0a09fdeb3b56ef644fe497d3fa49d319aa526529a7317f4be79f7e
|
||||
EBUILD dar-2.6.10.ebuild 2432 BLAKE2B 2343f1f409576df7943eebdf278d5ebbe15a626ea23e068843e5fbdd2a2718482ac280feea6478b6b205e0e767e8fe1a4369a397d7e1e112d8e4588473c92879 SHA512 277ee01afbc5ad93fced755a6e606c69dd1d02b422f3a0055ea87e002c56df144dea6da783aa4520bdfa9f681a4f47abb99146d9353486e6b45403ee3ddb105a
|
||||
MISC metadata.xml 839 BLAKE2B 9a7022a2e4a20a5519d5242e1d67d30918c5f723f970e6725c7dfb39a16d8130d117fd1cea49a76c209921ed960b6ac9b94ed37aa54e5e41afd39c3e68f23a0c SHA512 e877836606715f1624a67d8b32fb0d586d646b05e5ea6c589adf3c4c8ca4950c251edd212da7b07a0cf763d94e0e0f1c5f8f89c3019e4bfd8c1e3bd89aacd393
|
||||
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="A full featured backup tool, aimed for disks"
|
||||
HOMEPAGE="http://dar.linux.free.fr/"
|
||||
SRC_URI="mirror://sourceforge/dar/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux"
|
||||
IUSE="dar32 dar64 doc gcrypt gpg lzo nls static static-libs xattr"
|
||||
|
||||
RESTRICT="test" # need to be run as root
|
||||
|
||||
RDEPEND=">=sys-libs/zlib-1.2.3:=
|
||||
!static? (
|
||||
app-arch/bzip2:=
|
||||
app-arch/xz-utils:=
|
||||
sys-libs/libcap
|
||||
gcrypt? ( dev-libs/libgcrypt:0= )
|
||||
gpg? ( app-crypt/gpgme )
|
||||
lzo? ( dev-libs/lzo:= )
|
||||
xattr? ( sys-apps/attr:= )
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
static? (
|
||||
app-arch/bzip2[static-libs]
|
||||
app-arch/xz-utils[static-libs]
|
||||
sys-libs/libcap[static-libs]
|
||||
sys-libs/zlib[static-libs]
|
||||
gcrypt? ( dev-libs/libgcrypt:0=[static-libs] )
|
||||
gpg? (
|
||||
app-crypt/gpgme[static-libs]
|
||||
dev-libs/libassuan[static-libs]
|
||||
dev-libs/libgpg-error[static-libs]
|
||||
)
|
||||
lzo? ( dev-libs/lzo[static-libs] )
|
||||
xattr? ( sys-apps/attr[static-libs] )
|
||||
)
|
||||
nls? (
|
||||
sys-devel/gettext
|
||||
virtual/libintl
|
||||
)
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
REQUIRED_USE="?? ( dar32 dar64 )
|
||||
gpg? ( gcrypt )"
|
||||
|
||||
#PATCHES=(
|
||||
#)
|
||||
|
||||
src_configure() {
|
||||
# configure.ac is totally funked up regarding the AC_ARG_ENABLE
|
||||
# logic.
|
||||
# For example "--enable-dar-static" causes configure to DISABLE
|
||||
# static builds of dar.
|
||||
# Do _not_ use $(use_enable) until you have verified that the
|
||||
# logic has been fixed by upstream.
|
||||
local myconf=(
|
||||
--disable-upx
|
||||
$(usex dar32 --enable-mode=32 '')
|
||||
$(usex dar64 --enable-mode=64 '')
|
||||
$(usex doc '' --disable-build-html)
|
||||
#$(usex examples --enable-examples '')
|
||||
$(usex gcrypt '' --disable-libgcrypt-linking)
|
||||
$(usex gpg '' --disable-gpgme-linking)
|
||||
$(usex lzo '' --disable-liblzo2-linking)
|
||||
$(usex nls '' --disable-nls)
|
||||
$(usex xattr '' --disable-ea-support)
|
||||
)
|
||||
|
||||
# Bug 103741
|
||||
filter-flags -fomit-frame-pointer
|
||||
|
||||
if ! use static ; then
|
||||
myconf+=( --disable-dar-static )
|
||||
if ! use static-libs ; then
|
||||
myconf+=( --disable-static )
|
||||
fi
|
||||
fi
|
||||
|
||||
econf ${myconf[@]}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" pkgdatadir="${EPREFIX}"/usr/share/doc/${PF}/html install
|
||||
|
||||
local DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
|
||||
einstalldocs
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
if ! use static-libs ; then
|
||||
find "${ED}" -name '*.a' -delete || die
|
||||
fi
|
||||
}
|
@ -1,106 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="A full featured backup tool, aimed for disks"
|
||||
HOMEPAGE="http://dar.linux.free.fr/"
|
||||
SRC_URI="mirror://sourceforge/dar/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux"
|
||||
IUSE="curl dar32 dar64 doc gcrypt gpg lzo nls static static-libs xattr"
|
||||
|
||||
RESTRICT="test" # need to be run as root
|
||||
|
||||
RDEPEND=">=sys-libs/zlib-1.2.3:=
|
||||
!static? (
|
||||
app-arch/bzip2:=
|
||||
app-arch/xz-utils:=
|
||||
sys-libs/libcap
|
||||
curl? ( net-misc/curl )
|
||||
gcrypt? ( dev-libs/libgcrypt:0= )
|
||||
gpg? ( app-crypt/gpgme )
|
||||
lzo? ( dev-libs/lzo:= )
|
||||
xattr? ( sys-apps/attr:= )
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
static? (
|
||||
app-arch/bzip2[static-libs]
|
||||
app-arch/xz-utils[static-libs]
|
||||
sys-libs/libcap[static-libs]
|
||||
sys-libs/zlib[static-libs]
|
||||
curl? ( net-misc/curl[static-libs] )
|
||||
gcrypt? ( dev-libs/libgcrypt:0=[static-libs] )
|
||||
gpg? (
|
||||
app-crypt/gpgme[static-libs]
|
||||
dev-libs/libassuan[static-libs]
|
||||
dev-libs/libgpg-error[static-libs]
|
||||
)
|
||||
lzo? ( dev-libs/lzo[static-libs] )
|
||||
xattr? ( sys-apps/attr[static-libs] )
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
nls? (
|
||||
sys-devel/gettext
|
||||
virtual/libintl
|
||||
)
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
|
||||
REQUIRED_USE="?? ( dar32 dar64 )
|
||||
gpg? ( gcrypt )"
|
||||
|
||||
#PATCHES=(
|
||||
#)
|
||||
|
||||
src_configure() {
|
||||
# configure.ac is totally funked up regarding the AC_ARG_ENABLE
|
||||
# logic.
|
||||
# For example "--enable-dar-static" causes configure to DISABLE
|
||||
# static builds of dar.
|
||||
# Do _not_ use $(use_enable) until you have verified that the
|
||||
# logic has been fixed by upstream.
|
||||
local myconf=(
|
||||
--disable-upx
|
||||
$(usex curl '' --disable-libcurl-linking)
|
||||
$(usex dar32 --enable-mode=32 '')
|
||||
$(usex dar64 --enable-mode=64 '')
|
||||
$(usex doc '' --disable-build-html)
|
||||
#$(usex examples --enable-examples '')
|
||||
$(usex gcrypt '' --disable-libgcrypt-linking)
|
||||
$(usex gpg '' --disable-gpgme-linking)
|
||||
$(usex lzo '' --disable-liblzo2-linking)
|
||||
$(usex nls '' --disable-nls)
|
||||
#$(usex rsync '' --disable-librsync-linking)
|
||||
$(usex xattr '' --disable-ea-support)
|
||||
)
|
||||
|
||||
# Bug 103741
|
||||
filter-flags -fomit-frame-pointer
|
||||
|
||||
if ! use static ; then
|
||||
myconf+=( --disable-dar-static )
|
||||
if ! use static-libs ; then
|
||||
myconf+=( --disable-static )
|
||||
fi
|
||||
fi
|
||||
|
||||
econf ${myconf[@]}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" pkgdatadir="${EPREFIX}"/usr/share/doc/${PF}/html install
|
||||
|
||||
local DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
|
||||
einstalldocs
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
if ! use static-libs ; then
|
||||
find "${ED}" -name '*.a' -delete || die
|
||||
fi
|
||||
}
|
@ -1,107 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="A full featured backup tool, aimed for disks"
|
||||
HOMEPAGE="http://dar.linux.free.fr/"
|
||||
SRC_URI="mirror://sourceforge/dar/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux"
|
||||
IUSE="curl dar32 dar64 doc gcrypt gpg lzo nls static static-libs xattr"
|
||||
|
||||
RESTRICT="test" # need to be run as root
|
||||
|
||||
RDEPEND=">=sys-libs/zlib-1.2.3:=
|
||||
!static? (
|
||||
app-arch/bzip2:=
|
||||
app-arch/xz-utils:=
|
||||
sys-libs/libcap
|
||||
curl? ( net-misc/curl )
|
||||
gcrypt? ( dev-libs/libgcrypt:0= )
|
||||
gpg? ( app-crypt/gpgme )
|
||||
lzo? ( dev-libs/lzo:= )
|
||||
xattr? ( sys-apps/attr:= )
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
static? (
|
||||
app-arch/bzip2[static-libs]
|
||||
app-arch/xz-utils[static-libs]
|
||||
sys-libs/libcap[static-libs]
|
||||
sys-libs/zlib[static-libs]
|
||||
curl? ( net-misc/curl[static-libs] )
|
||||
gcrypt? ( dev-libs/libgcrypt:0=[static-libs] )
|
||||
gpg? (
|
||||
app-crypt/gpgme[static-libs]
|
||||
dev-libs/libassuan[static-libs]
|
||||
dev-libs/libgpg-error[static-libs]
|
||||
)
|
||||
lzo? ( dev-libs/lzo[static-libs] )
|
||||
xattr? ( sys-apps/attr[static-libs] )
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
nls? (
|
||||
sys-devel/gettext
|
||||
virtual/libintl
|
||||
)
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
|
||||
REQUIRED_USE="?? ( dar32 dar64 )
|
||||
gpg? ( gcrypt )"
|
||||
|
||||
#PATCHES=(
|
||||
#)
|
||||
|
||||
src_configure() {
|
||||
# configure.ac is totally funked up regarding the AC_ARG_ENABLE
|
||||
# logic.
|
||||
# For example "--enable-dar-static" causes configure to DISABLE
|
||||
# static builds of dar.
|
||||
# Do _not_ use $(use_enable) until you have verified that the
|
||||
# logic has been fixed by upstream.
|
||||
local myconf=(
|
||||
--disable-python-binding
|
||||
--disable-upx
|
||||
$(usex curl '' --disable-libcurl-linking)
|
||||
$(usex dar32 --enable-mode=32 '')
|
||||
$(usex dar64 --enable-mode=64 '')
|
||||
$(usex doc '' --disable-build-html)
|
||||
#$(usex examples --enable-examples '')
|
||||
$(usex gcrypt '' --disable-libgcrypt-linking)
|
||||
$(usex gpg '' --disable-gpgme-linking)
|
||||
$(usex lzo '' --disable-liblzo2-linking)
|
||||
$(usex nls '' --disable-nls)
|
||||
#$(usex rsync '' --disable-librsync-linking)
|
||||
$(usex xattr '' --disable-ea-support)
|
||||
)
|
||||
|
||||
# Bug 103741
|
||||
filter-flags -fomit-frame-pointer
|
||||
|
||||
if ! use static ; then
|
||||
myconf+=( --disable-dar-static )
|
||||
if ! use static-libs ; then
|
||||
myconf+=( --disable-static )
|
||||
fi
|
||||
fi
|
||||
|
||||
econf ${myconf[@]}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" pkgdatadir="${EPREFIX}"/usr/share/doc/${PF}/html install
|
||||
|
||||
local DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
|
||||
einstalldocs
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
if ! use static-libs ; then
|
||||
find "${ED}" -name '*.a' -delete || die
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="A Cross-Platform Benchmark for Android, iOS, Linux, MacOS and Windows"
|
||||
HOMEPAGE="https://www.geekbench.com/"
|
||||
SRC_URI="https://cdn.geekbench.com/Geekbench-${PV}-Linux.tar.gz"
|
||||
|
||||
KEYWORDS="-* amd64"
|
||||
LICENSE="geekbench"
|
||||
SLOT="5"
|
||||
|
||||
RESTRICT="bindist mirror"
|
||||
|
||||
S="${WORKDIR}/Geekbench-${PV}-Linux"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/geekbench5/geekbench5
|
||||
opt/geekbench5/geekbench_x86_64
|
||||
"
|
||||
|
||||
pkg_nofetch() {
|
||||
elog "Please download ${A} from ${HOMEPAGE}/download/linux"
|
||||
elog "and place it in your DISTDIR directory."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /opt/geekbench5
|
||||
doexe geekbench5 geekbench_x86_64
|
||||
|
||||
insinto /opt/geekbench5
|
||||
doins geekbench.plar
|
||||
|
||||
dodir /opt/bin
|
||||
dosym ../geekbench5/geekbench5 /opt/bin/geekbench5
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you have purchased a commercial license, you can enter"
|
||||
elog "your email address and your license key with the following command:"
|
||||
elog "geekbench5 -r <email address> <license key>"
|
||||
}
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST libsecret-0.20.2.tar.xz 526224 BLAKE2B cae93962480f65d2c91b1c26a23321d19c256692754ef37c658e346a6cb6b91cdebe134516c3c8652c5ee502b8f7a070a8d519ed878b2f6dfc124ea7b032613f SHA512 89143c8ccc8f6fa0cda2c98baef92e8cbf9b319a984826a09c527125e14712023ee65cada42a2c9232524528da8c1c3d2235ecbcb93e2f06e94121a601c22857
|
||||
DIST libsecret-0.20.3.tar.xz 526388 BLAKE2B ae2e64af61c269eb109fa7840cc7ff2362ac69eab4b452074c2cb3a80b26cc88e8d341a7649e0f16fa73541943d968dfbd6f3cc802d99a37f3a7d91e8b20cfe3 SHA512 020e1954e0965f33ee15f35e1f439b6c1650322a9112078f7a3e265cee83ad99d217ae3b363fbadc06c5cb0941f7e544d91da72e5be1c6b96992c071e6170c22
|
||||
EBUILD libsecret-0.20.2.ebuild 2636 BLAKE2B 6083e45d12586eb27132f69e3c196bee711d50738e2367a4b2e87eac0b8279d919c38ffab902e608d1bb074c59ce2817caf295cfc1c53f031403b15cfb83869d SHA512 501a7d8853cb3698e558b5cb3307a40d2dbf00820ee8da2163d73de5900c6d5a84c3a1e2aacc0e0f66cff4633a9c6499e3d5707dda0c1a8d2d2769e1899e9f58
|
||||
EBUILD libsecret-0.20.3.ebuild 2639 BLAKE2B 2851572c18a8a514d7bcf0aa58109d18c3f4b10cd5b64f4b5865c963745c143f977105a6911b5fe1be3b8a4a9f63b93e065d99a00e7f0873d818508953dd2c69 SHA512 081f160d21c93cbdc9f5c9017a05e47e2bfd5695aa8003ac87e53f3f784937b9317fda6a22ccaed78bd4580c9ad47265e309375aa3f8a2178ad88eedc2389e78
|
||||
EBUILD libsecret-0.20.3.ebuild 2637 BLAKE2B 5059338cfd2085bc32343b2614965335b0cd222eb502080afb555080e1f82b36767c4ab5cc85eebd55485233fa6a8aa45d3cf8d2d59ebf8d186b5c4c6f6ded8f SHA512 362a1e6ad2e3100ae432af0297159e3328eaef9fc1e074258b526c97dfbff26e4361b79ea21583215147c4c366528930438e1b36f6f13e01f906fe73a033d408
|
||||
MISC metadata.xml 253 BLAKE2B a1efbd3751efaa83ee173f557ec1c8a4497a90b60896cf5a7a07da40b4f94a7a299ca0385477e82b2f5e5dbdf9afa482ccbe21f35ef44214e9c451d764b65529 SHA512 8d59f413993268ca783f7407b676900bb2d964754bf705d4175e2bafbe058a52af74f3928e4bd84d292518f8cf13fab7051486ab7cdc61d02fae6e0188d44442
|
||||
|
@ -1,5 +1,5 @@
|
||||
AUX mit-krb5-appl-sig_t.patch 1411 BLAKE2B c2a34ada3f811459d006c1be6e79cb0811b0ab6ef7a1eb2fa6372db5b52b7db06e1cb94d7cbcd9b883fa14d9e0cf704ebfde7a441e7348728be9511ff2b6dae5 SHA512 a25ca113d8cae969ef370aa28b274dc4573964eb78e340a86ff4e3b130c6f7a73c97a41e657a5fabb634604a3bfb8f5a04c8925a248a8f9e45a22979fd8395f3
|
||||
AUX mit-krb5-appl-tinfo.patch 575 BLAKE2B e79cbae98ea7848bbe11f0aeda1f192d51bb1b9440952d0b8606d91b0fb8dd6d1057c4eece722112a3a3bcd26596868cf534d49f4bf5dbfeee227b16f8adde19 SHA512 076f34d70f43ae34fa6bc5e23171b2b31f579812527b7f78ba40ac3fca0cd92000b8caa40b8773bd2f9cc3ce0f6bcc6815f83422d5f8d320d34c4feb580231ab
|
||||
AUX mit-krb5-appl-tinfo.patch 579 BLAKE2B 8db4885b88e2eb155ea80ce8d4e7f320ae39a9183e70de452081a452c51ba9ae3dfad4ea000582b3f3f361e17de02b0720cd794473c974c5551b69afde869445 SHA512 3b90b4f9539b94ddc8a0483dc156f61d33b436a01d32d8e66de13a82e653ec51c7996e3e5b4f5d8e1edf6a21d6c4fe09f4a4382e2f918edff070e71bfcee0951
|
||||
DIST krb5-appl-1.0.3-signed.tar 634880 BLAKE2B 0341ce0f3845bbf49ac2c43dea95d1bf196a9e6fb07a1bb4e8d1eac9ef74765f4b02b7f6e2794cf55ce6c7a7e2623bd325457dcb60f94b7e30bdc65a370751ad SHA512 1d85be6eb39a01c21308f6b159a375ae4ee331de8052c3990c9252f708d717b8b518f92c424bd6beebe344d940b4813e6ea11dd18df5d7caa4b5effc2513dd23
|
||||
EBUILD mit-krb5-appl-1.0.3.ebuild 1639 BLAKE2B 70ac99cb842b5868542fda3db627bf948d928041c14e3827e7a4f69df5776eb75e3d77c2d3559df3bcfa7d835e9c027dbb8672463fec179aab2ebd54e30e3568 SHA512 3a110a77ca241205da721b47b721d41799296762c958197cfc5226147b45b92f8980cd36631aaea09a55fe00e4e40435b24f0fee8df562a47f2692070a098b50
|
||||
EBUILD mit-krb5-appl-1.0.3.ebuild 1635 BLAKE2B 192ab9ee291f87518bfecb86a565636470e0a7c3112da5327f9c8654e67d51b695d7e0b1dd9659f4bf90f3eec9d07ca90d50d57929575f504ad06754579fe19a SHA512 865cb3867f641a6bb1cd8a1e9afedf786a788241f6f93676f68822b20b4f57c6312684005ff85ad3a374920f787c49968df78ba8b297fd4f777b8822cb430eed
|
||||
MISC metadata.xml 240 BLAKE2B 3a20174df7c37c40098c716b97f64079f86d511e3740e43865ba8e1b1fe52de971091ee51a510543cb2a49373cff87e790f71fe397975f61eee2b308b0729e66 SHA512 57354970f719cd4e3a27f6024addadbb81919a5eaaefef094d3d2b362c44b5ab5cec740090ffce89730cc52f469bc93957c129865a71a4583e0309a93e6f970d
|
||||
|
@ -1,5 +1,3 @@
|
||||
DIST gentoo-auth.asc.20191030.gz 6556 BLAKE2B 233df81a8c01ead6524fdded0c64aba7d930d0f9e6214c403e43aa97bc87502a4e1d68c6c415505db5f618d9309d5ba1279d1e9b9e068289002ad30896a500c9 SHA512 c752dc4b5d75937290e469e722ccd48a592413438a7d1c5bc5d4e07114077ae3dfb5fc3cbe6b96d672e4149737cd7db6dc8298e670e63745bdff7426e98fc03b
|
||||
DIST gentoo-auth.asc.20200704.gz 4540 BLAKE2B 8ae8a1947ae81e89aef6171b228e97a80331cc58336a0387bbda7c885ec5fff322d17b7fc462d7f3fe88a965455b94d1e16b705903843d75fa53481d525a1965 SHA512 da7d1aa76ea04f465e690560dd2d09306aa120b9f2771abc6fe06d5181c39c9e7db73ae0b9c01b864ccdd55a881a7e9c9716dd87446c809b901bb17c448878f5
|
||||
EBUILD openpgp-keys-gentoo-auth-20191030.ebuild 640 BLAKE2B ec7789879574677fd526af24da8a2c77319a35ebaecb7e9a72d4d39136512d7e999c3d46657ae0b9e65533351fbc5fdb1233884ddc1572a529cf6e72a2cca005 SHA512 d9a510f3d71117a6a2773c109d0b45bc9623de74ba6a051af9f26160fc948a1a04cf4ce2b10575c27b4202add7f31ef3005389aeda6cc3496297ebcb382aa28a
|
||||
EBUILD openpgp-keys-gentoo-auth-20200704.ebuild 787 BLAKE2B e6afcf6f1d54482cdf505e69a02db3cb266a926859a7c056470974c37491b90db68c06c530bbca800ca9b5d2b2461c5811eb76f5677cd6f83ca683622dd31c93 SHA512 a170e47edfab5095c882994f6d9a9399754e130f768c444a912c96a442af67bb9777c1dbd144d1e137e384566ac84217ffd7bbffaa8ab9a70bb960b640d48485
|
||||
MISC metadata.xml 247 BLAKE2B 1750cec57189e711ca5eba89a78e1d317f0839fa53564fbd39b4e955c28d98f4ae04caf9069afc20a18536cdc92b30fe7b15eb086767c742bad07d9980cfd24b SHA512 d6e2ea8a9d74791bcbf3d6311a66bafc20b8f4db3a576d9a8d54b86d7afb231122b8d87f71f3f46360980adf8d815c633b6d5041f9a30fc8656e8fb66057a282
|
||||
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Gentoo Authority Keys (GLEP 79)"
|
||||
HOMEPAGE="https://www.gentoo.org/downloads/signatures/"
|
||||
SRC_URI="https://dev.gentoo.org/~mgorny/dist/openpgp-keys/gentoo-auth.asc.${PV}.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/openpgp-keys
|
||||
newins "gentoo-auth.asc.${PV}" gentoo-auth.asc
|
||||
newins - gentoo-auth-ownertrust.txt <<-EOF
|
||||
ABD00913019D6354BA1D9A132839FE0D796198B1:6:
|
||||
EOF
|
||||
}
|
@ -1,6 +1,4 @@
|
||||
DIST gentoo-release-test-sigs-20190224.tar.gz 3235 BLAKE2B 924c69a62d5321716f536144f0607bd3ec4a65d76be492adc729864fd9bef82df0086541ae13034a83152ea0c8dc3cbd168be6cff111a3484128a22cbc8ef1d4 SHA512 f8cc2e84bedbdf14ace6abe4aacf8f0c9810c77ff6ae0fac301829d9d4d5cf0c128a76516c773ac993879215bcdb0aab097e1e7e747d8e1a7c4cfc815bd4d3e6
|
||||
DIST gentoo-release.asc.20191030.gz 23981 BLAKE2B 307ceab69e309a53c2db191cf9d7a484318e852af648d93d9ad4bb2422737ab8de9257b457e5f201d86d226b348447acfbe57d259ce436150f75ccfb9f6ed60e SHA512 f3fbe0198f80f37784613c2a390c29f55e5b6291c44ee64d676806a26745017f8a9168573e13f6fc2fe93910927846c584b9f5cd017c4eac1cc875d7ed30cb8c
|
||||
DIST gentoo-release.asc.20200704.gz 17812 BLAKE2B 2173fa236db0ae08d58959732172d20fe0a6a8adc1e2ebcb33c3b9956684d26ebcf74b332a25c7d738d4820abb24c525404a6f255efcb7cedf0ab94c185a83f0 SHA512 fc5c7042570d813d906190f11869605983fcd8815cdb414d7060f8038c849d4f68426feff711a7303728c49c0515f9d836d2cc3fbbbf50811b94668194beca85
|
||||
EBUILD openpgp-keys-gentoo-release-20191030.ebuild 1157 BLAKE2B a78923498b264e3b4451db7c2ddba9c04de0787ddc2c3b4befcba441d07c0ed1207b0041d34dca1ea5870317a9745bb3533c5ff306ffd95e2dd89f067ddcb700 SHA512 3c7ad1a6af681007e1647cbef2d8956ed9aa15067d3d7d15edaa056c85331c6525bed0b01729eae598924ba6ad1a4c755f91d238e532ceec72321b7734e81ad0
|
||||
EBUILD openpgp-keys-gentoo-release-20200704.ebuild 1347 BLAKE2B b80ac3d9f33c7154be9566964f5248ee692a63637d35ecc7ab980adf027da19aaf957baee1854f8cd7bcf4be9d3a7ef73aca35f1727bcfeb4bcf64fceeda1331 SHA512 0eea69c1d95aca657bf349db7509ce5114f7f126f2f99adb19d4e644d57217492cb1ac2268054009d50ab71f200dedd63b77b2f2c07853b782ea68851ef0c1d2
|
||||
MISC metadata.xml 271 BLAKE2B 21ff27fce9fb36fa286e0cb5324edaf0721e2315d14456c837330d40dabd66369da85b94fc33169ae0caf233d634dd6fd2c29c37c0a78e38307e4adc134381ae SHA512 fa6aa60030292b6236a4b68b26095c3eea1b8dc1decc2be6b36ebb33979c52c39915e6169bfb54ad6f3a8380b1decc23d62f079b134484d97587ab64aa2e1663
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OpenPGP keys used for Gentoo releases (snapshots, stages)"
|
||||
HOMEPAGE="https://www.gentoo.org/downloads/signatures/"
|
||||
SRC_URI="https://dev.gentoo.org/~mgorny/dist/openpgp-keys/gentoo-release.asc.${PV}.gz
|
||||
test? ( https://dev.gentoo.org/~mgorny/dist/openpgp-keys/gentoo-release-test-sigs-20190224.tar.gz )"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="test? ( app-crypt/gnupg )"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_test() {
|
||||
local old_umask=$(umask)
|
||||
umask 077
|
||||
|
||||
local -x GNUPGHOME=${T}/.gnupg
|
||||
mkdir "${GNUPGHOME}" || die
|
||||
einfo "Importing keys ..."
|
||||
gpg --import "gentoo-release.asc.${PV}" || die "Key import failed"
|
||||
|
||||
local f
|
||||
for f in gentoo-release-test-sigs*/*.asc; do
|
||||
einfo "Testing ${f##*/} ..."
|
||||
gpg -q --trust-model always --verify "${f}" || die "Verification failed on ${f}"
|
||||
done
|
||||
|
||||
umask "${old_umask}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/openpgp-keys
|
||||
newins "gentoo-release.asc.${PV}" gentoo-release.asc
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST scdtools-0.3.4.tar.gz 254227 BLAKE2B d2959d1be860b4809f4b20b5b3e2b06534bb49220b6818b4ac9c8e73751c31dfa4a6c0200cc6bbb33d4a627f0d55b1c3cefda3def6a78bde925a0c58d9c0429a SHA512 ff25f6360c9bd73e63cefd8fe37103dc1ef2528d87ddf7c1006e913c921e78569ff6f12096d1407bfabf626e73376f13e25f606f8c45cba79803689176801b73
|
||||
DIST scdtools-0.3.5.tar.gz 155529 BLAKE2B 9b0791d8a5d92240968be82fbffd1838229586ce33b857d13fa40732bf3424df88c33c5f792e8178b52fbe06ff91c9c74e59ee686552973f7a8bbf8b1249589b SHA512 5c45948f7e6b6357aa6305c942bb388f9693908991049b2b279bbf1f27bb2de3df1b8278da30b1cc423975880890cf4533f10ca3de42c9dc88182aacc6466ced
|
||||
EBUILD scdrand-0.3.4.ebuild 725 BLAKE2B 4e17b08da3816d491153209c6bdec8eac2f3e81acc63134972b534fad2db20abd610a9bbb196de2a0407f35a34aff5edc5ac47bcf265be8ff245a9b2638c204e SHA512 297cc015cf40cceba7fea13b837b715698d9aaf61f9efb97efdd6ddaa0d5b82df2026686850620a99f42b35fa923897f26e7ddcbdd59a2ba499d22acc8e9d728
|
||||
EBUILD scdrand-0.3.5.ebuild 730 BLAKE2B 95794d69b38276185ba14e123d8ebd95317641fd16f3f277e9a04ffd409a10bff76ac74ea43c255c99f5cf3307b012586ecbb4ce439d3bf2a620f22cd35356c6 SHA512 03e9e4dee3bc1e0124f2c37ba7d4e9f2f6b39fc3e377c7b7203fc8923387b141a16ac665184c37b9445955439cf2c600f34d0876c89a8f6b617eef46ee549b97
|
||||
MISC metadata.xml 247 BLAKE2B 1750cec57189e711ca5eba89a78e1d317f0839fa53564fbd39b4e955c28d98f4ae04caf9069afc20a18536cdc92b30fe7b15eb086767c742bad07d9980cfd24b SHA512 d6e2ea8a9d74791bcbf3d6311a66bafc20b8f4db3a576d9a8d54b86d7afb231122b8d87f71f3f46360980adf8d815c633b6d5041f9a30fc8656e8fb66057a282
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_P=scdtools-${PV}
|
||||
DESCRIPTION="Feed kernel entropy pool from smartcard's TRNG"
|
||||
HOMEPAGE="https://incenp.org/dvlpt/scdtools.html"
|
||||
SRC_URI="https://incenp.org/files/softs/scdtools/$(ver_cut 1-2)/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/libgcrypt:=
|
||||
dev-libs/libassuan:=
|
||||
dev-libs/libgpg-error:="
|
||||
RDEPEND="${DEPEND}
|
||||
app-crypt/gnupg"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_compile() {
|
||||
emake -C lib
|
||||
emake -C src scdrand
|
||||
}
|
||||
|
||||
src_test() { :; }
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" -C man man_MANS="scdrand.1" install
|
||||
emake DESTDIR="${D}" -C src bin_PROGRAMS="scdrand" install
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST scrypt-1.3.0.tgz 380332 BLAKE2B 4bb2c5b911cd25e80444e7dd6381692a3ddd3dcd3a5f4bcda14c8cc4169f332f2c617175bfd222f03d8e48a3eefd9d01b2d7c3fd6b712b3266b2cc75bee8396b SHA512 199f58adb5231f1ad585dbe8f64d6c54920cee201bd7703bcfc7e64917bf8647f9e35b3835b78c41210fd9af5223a79938f2495e4b48e6a62bfe8721d82492c2
|
||||
DIST scrypt-1.3.1.tgz 394516 BLAKE2B 91faa22dc317927b92abe26c5e15cd52c409722716076c7cc502a0c6e4e84ceaaf60222b3ef141c6a209f36084df2d7f45d8f19482aa035c3e2442513c4283d9 SHA512 c76c29463d2a4db6b62283daca80bc4124a6272f37f983d472d44251b98da702f1edb16ad15058a8d0ea320c23bc1486892ab25d367d37ec77c38a55ad7e69fe
|
||||
EBUILD scrypt-1.3.0.ebuild 366 BLAKE2B d9e68ddbd0d8a77f930844b1f06a946885b229835aebee9dc952adbe39573d82935583417b0a863e6e7e0f1f11110466fe73d1a557ce31ede9d73862fd3d22cd SHA512 d0b4a0803ad08ac80be7c72c6f7c01f8ff447ee12e16cb69a451e618b60120bffadc397c073f99f63e28fc50eb959fb10e47b73634d3636744c6f0389d5107c2
|
||||
EBUILD scrypt-1.3.0.ebuild 365 BLAKE2B aee5437ba9e2c13c9f4f12413b0eabd8f6e546aef97a2d1dc71003ec972561e70d3bd7a63450c80682c36f4fb326165acf9d970b5d6c0425f21401191a694ea4 SHA512 d4bfe2fccf9dfecdc5b2fdb9eb845645e58ceb4833a85f5a3a8ca696b6deaead5bc66f9e1954f260a517fefd93294d262e83f9686e742be7bf9a1fde029d6d8b
|
||||
EBUILD scrypt-1.3.1.ebuild 453 BLAKE2B bd3356b596c7a690785da352e49b6727a81b50c117b53ed95a6fe7b2e4ae73407701150a07e8ea8494f46a6f14fe9349ff99cd779c3d486425a627bf7b73ccf1 SHA512 de2bf3a94eb0a20696b401505d42027ee9200f41e65c9246862bed5cee01e0157244ba88cb651f48ff831e01f89d5607b453de0cbadd9f3df10a1e133a21ed9a
|
||||
MISC metadata.xml 368 BLAKE2B 66dc904d7524c2f61313445e7dfe583df69a6bfbbdd1ec8b4203206ec47bb178bb2c5bdacb618cfe47409fb0328ab32e6a6bff123725ed1088e9f2422b4c9e26 SHA512 1a6a98313e5a0e60c51174622e8b96d1b25b0a9b6060a55b1ec18690bf8def973f70c6597077663ab518f4d8135bf7ea114052be801b324e91f80d2580fa7914
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,11 +1,6 @@
|
||||
DIST Csound6.14.0_manual-fr_html.zip 17370248 BLAKE2B a937df6ac27ba7c7b65caf826cb27111169b1bb4fb8fdedc1eaa56f08e6751b2e4b47237333e624c3104a3022a300fbd4d25c7ecf77286f43138aec14beeb191 SHA512 a92d74003ebedd8f7b208053d5eeaa2a88e84bdb3d7bd3aeb3ff20bbe31700ad29a89901d574a28284acf4cdba46abe620a65b228e68cf078b96f251bb1ea739
|
||||
DIST Csound6.14.0_manual-fr_pdf.zip 9272138 BLAKE2B a553f553ce173e3f3788b57478569bdec9638493e8f9098631c2f9615e71315b6ef4ef72c91d24e2b284666a10b38ba39cf440309c917bd78161b9ec5fa9cb83 SHA512 ebadac56000056d0de0cfbb16eca6a06009800fdcdc5b4e07ebec41561745faa451ddd250610e5253bb5437e1190f184572c1dc9365a096676c6a7f4923cd266
|
||||
DIST Csound6.14.0_manual_html.zip 17081006 BLAKE2B 9565c21623a60e06aae82bfbde186e496b5f3ae0eb619289a7db08235c7dcd520bee2283552fdf2ddb4eb85c7b0f184397d2fa0ee14d3bdeff9dccb44a7d7ff1 SHA512 638ecd8bc0b4c981e1f8c5592a123a3b1bb5582ee7017288be224eb670fccda79242ae42b6f6d8e91c2ad2f708af1de3c66283030d4b3373c0ec29ec260f379b
|
||||
DIST Csound6.14.0_manual_pdf.zip 8881242 BLAKE2B a91a3689dd3efa5c32c924178b646b73787132a07575f05a65ee1acafc69108ce6c33512e0b703012f75f201a86a0b84e08976f158b01ef5201807d1aaa31c35 SHA512 55769acd58add0ec6df5e188c74e16424deb679aebdbdd50dc5d9006c80a26c31dfe2564e5d71478abcb7a920b40c1f1baa02e4c3fd682a6d3bbc378ddcb8b7d
|
||||
DIST Csound6.15.0_manual-fr_html.zip 20968371 BLAKE2B aed67cf5dc09032839fd3c56c00ad0f154f543e41335245662f75929c18c095398b6237340751c6f3a2c38d2e14bc6ab916b3d5a9cb59c11b02c53cabb7770ac SHA512 40f21bf0337b1b9cc929804e3a882acf86dad20b4cb2a5753ff7bda10a6ad8ce31b088289f55a3491ca66abbbf2a0b08361457a05fedf636476bbaf97d01a16b
|
||||
DIST Csound6.15.0_manual-fr_pdf.zip 9761787 BLAKE2B 671d94bebbabbead16ff251c88a99f3cf278cd0b0f746ce8239fbfe481db1a2c3b747c48026b82b8a54b72d5f7ac83b8c095aedc19088c3f070e773c46981bf6 SHA512 3db587fb5f15febbd39c8d090df46b71ed590c8eaaaeda8c53b9218283cc7375673f1711755e47cd80048934252bfe97e92ff699e3bae0e86942ffd99597f8c6
|
||||
DIST Csound6.15.0_manual_html.zip 20674415 BLAKE2B b15b3381f13c7877130dfec60803ba1cdd12e5d2d92e5ea02c4d0dd5c1c70cc2bbec5f76634b385a0ffd20e7397d6c33bbe374128f01345999f34e2e2a0b7dd1 SHA512 cf7df42f3b6d869a5e9f531c64a50287f9385927b26c48ff3c334b2ed95d17334be85a3ef671008504d1a365b1412e2715dcff61a41e3c83b60621df25d67946
|
||||
DIST Csound6.15.0_manual_pdf.zip 9360598 BLAKE2B 898da87eb8b10a75f3f6256eeade7aa180ff5e6dd93de8d2bf462d01d1d1cf5f4c5d7c4ed73402aa019674d597ff3fd1b7ac436059d9df39e0d77a15365d529e SHA512 0eca00951708d7064d789bdd0d98534e815ecc275e09b3020cce89d6f6b1009c0347e7d5fd400ed321bd7e05c89d79644f64c18f47b46013bb6b49c88e42fca0
|
||||
EBUILD csound-manual-6.14.ebuild 1298 BLAKE2B 5ad1ebab4d37e8581a1569319c3785d858763d4c34a3643cbeeb25911761a65fe844985310c21c80d84d17a72bc27df398cf71d658c78c988fb14bbbc7ed85e1 SHA512 3d22733c172838cea65404d134ae813684400054c2da85ee0376591b81e42f2573387c8b04a8f4e8994b2ed3ed8be8f8d1f54b709c25720611b168b65da9b717
|
||||
EBUILD csound-manual-6.15-r1.ebuild 1630 BLAKE2B 1eda7b9d7be73ac58894d48dfd40e5668a4830d9f25b77913c5ef47719cbfbadd0c2bba23d5cd3c851f1198070e644a69d61c72acb8b54d1c6bb7933ed459650 SHA512 5a9fb0d4b3e90f542f231f4290bc4773e45a92d87bf13ad0243e5ab736d6e4e59742786c8518f634b3a99c48d7d129d446d3ca6847e7dc41209cbb999b54f62d
|
||||
EBUILD csound-manual-6.15-r1.ebuild 1628 BLAKE2B abca47160974a800e828817a5a2633c179cb9ece054405849f498602b4f54432f1675cf15cdd1f3a81efe6885c1b4979a7b8286cec26d258614e04b2e6bd23d7 SHA512 d75154686ef98be6c52ea10fe1df6ef89ed59de8db52e2055b86e22a98df1b0f23f4830763e95125f48d92b4264900fea4d6082601512ee66efaa9c1a7209037
|
||||
MISC metadata.xml 457 BLAKE2B 9cd43383f76b6c6343bd35e014b4d47d7ce84993c06423a4ece92c0dadd34c55b2ca8cc1487c6f809eb6294cf2ae45a8b66f4a41cc32f81a3aee24457f2d4ccf SHA512 3c5fae5f35af69eeb1b3da8aa3bc6995dc4af3c582843e9b86691a68e0e084382a64a47651596f8f04714c41f7004ea1c0fef1765d334ae0dbbb1569d74daae4
|
||||
|
@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_P=Csound${PV}.0
|
||||
|
||||
DESCRIPTION="The Csound reference manual"
|
||||
HOMEPAGE="http://csounds.com/"
|
||||
SRC_URI="
|
||||
https://github.com/csound/csound/releases/download/${PV}.0/${MY_P}_manual_pdf.zip
|
||||
l10n_fr? ( https://github.com/csound/csound/releases/download/${PV}.0/${MY_P}_manual-fr_pdf.zip )
|
||||
|
||||
html? (
|
||||
https://github.com/csound/csound/releases/download/${PV}.0/${MY_P}_manual_html.zip
|
||||
l10n_fr? ( https://github.com/csound/csound/releases/download/${PV}.0/${MY_P}_manual-fr_html.zip )
|
||||
)"
|
||||
|
||||
LICENSE="FDL-1.2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="html"
|
||||
|
||||
LANGS=" fr"
|
||||
IUSE+="${LANGS// / l10n_}"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}_manual_pdf.zip
|
||||
|
||||
if use html ; then
|
||||
unpack ${MY_P}_manual_html.zip
|
||||
mv html html-en
|
||||
fi
|
||||
|
||||
local lang
|
||||
for lang in ${LANGS} ; do
|
||||
use l10n_${lang} || continue
|
||||
unpack ${MY_P}_manual-${lang}_pdf.zip
|
||||
if use html ; then
|
||||
unpack ${MY_P}_manual-${lang}_html.zip
|
||||
mv html html-${lang}
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc *.pdf
|
||||
|
||||
if use html ; then
|
||||
docinto html
|
||||
dodoc -r html-en/*
|
||||
|
||||
local lang
|
||||
for lang in ${LANGS} ; do
|
||||
use l10n_${lang} || continue
|
||||
docinto html-${lang}
|
||||
dodoc -r html-${lang}/*
|
||||
done
|
||||
fi
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
AUX gimp-help-2.10.0-python3.patch 13294 BLAKE2B 86ed2514e95210986e9d108e908abbf89354e3ff2ef314ad4409e42804b59728cac8f4b8eab3d1d431aaf3fc4745774fbf405ebad80c235b69e3583e47132b38 SHA512 b1932670247c793c8bd9c70045fb3f568ff99c964f2bc8ca1e7971f510512b7e476ced5c79b0bbd4e6966c9caf5c75f436926772b36996f5cf3d9e80bcc7ad76
|
||||
DIST gimp-help-2.10.0.tar.bz2 187092180 BLAKE2B 29a7fbe3fcb6f3210aeda4bc514d7e0eeca05f9fabd3b9022c7ed1e5a9432876cc3bf530632648e2eb50509add4e387106d9705a1c17469e33496daec737d21b SHA512 2f6d5e7cf0c3b4960c92074ef02d51a1d089c148f6453a66e453a3084cdede280f72c6b77d35f66777adbda8aa273ec2a472fb538142e51bb263c3077eec473a
|
||||
DIST gimp-help-2.8.2.tar.bz2 158504580 BLAKE2B d0023a4290879f97e3365f1208427997d1facc09a7ed4ac0a274615e9eff378c9a4da0d7c5190bc24ad27c2b03d6c513003297d835562b0fa3e02685443d15e9 SHA512 3afdaa8b2f005d939d039d2e22c8306145e7b7acaca5ef89279998e87931e99d1fe607f1337f7796d667d5c6be456ba976b3c8a937c9dd6b1888d7158cfbed67
|
||||
EBUILD gimp-help-2.10.0-r1.ebuild 817 BLAKE2B 2b0d8e40e579ee948078f1ada2242d96f0b24a59031ae6ac25bc3b6250c3f77a8eff5cad2eeafbfc45255bd465d8362053dd3fb66c5f22c33b718a5bee91544e SHA512 db120374f71e537324c29f6f67609369d842dc033d54b438705c935bfdc8ab3f63c26574e1937bc0a24b8668d841fef32ca31f948570b1a078af87c9f260c163
|
||||
EBUILD gimp-help-2.10.0-r1.ebuild 816 BLAKE2B 9f746fcf2b1e2565ddcaf35ebd15319f1e4d175c93665dd862e837dee4663d41463dc5e350bb02134b36e1c50f5fe9f50503b6d23ea1f21cc3cb48dd7266bcdd SHA512 818ee11ccbbef9935fbf9a7e8b5be7dcb4ec229226e8caa8e30d3be4f339fc2d5a28e45ad961398b3d20574b60d3090845b332d727aef55bef8c4545246326e4
|
||||
EBUILD gimp-help-2.8.2.ebuild 705 BLAKE2B 4215bc3e5412c04561fe446f6af0e15f5db175f9344404980df1fc7949a921d479a2821551739d9c6cfaeed7f90eb258e40d0a80c74fc8635a7a79d7a54463b4 SHA512 d401d0ed37534661e4704f17afca367e972118895a5e46d7a020ee8b778648ee6311209dff153143be47afa89d473694a7faf82359cca369aeab980e88126c04
|
||||
MISC metadata.xml 370 BLAKE2B 18f0dfd3b6fb8f284f888dbcd30d3d4ddce8753e58ef3e92ba0803bd6dadd36962f2f6e57dcd6ccebc547bf43b8972bdaf27e5817c77307172fdb835fe2d9c9e SHA512 9ad9dbdfc25d5a59c0129f1f83615d73bcb9026cc0411a71e9987bca46389fa5f3905a72d22ddac319b1838b770cc5755a2ec312a05db1752e10be5cca08ea38
|
||||
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue