parent
226835b2c8
commit
c30e1ae43a
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 eutils versionator
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="http://ansible.com/"
|
||||
SRC_URI="http://releases.ansible.com/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x64-macos"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
|
||||
<dev-python/mock-1.1[${PYTHON_USEDEP}]
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/unittest2[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
)"
|
||||
|
||||
# not included in release tarball
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman docs/man/man1/*.1
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
DIST profile-cleaner-2.36.tar.gz 7757 SHA256 17ae2f6f30bcfbfb28a3b2faf8836a6cbcbdc5c0ad3e43b3bb92a29a20fac719 SHA512 c56e92f816276d55e298dfac529e8195cf05f1a441aae40d25665d1db6d03b5ca741b99136e9f6fc93eabaa56dfcd8f2856a2dd5c37728c72befc756ff28ac75 WHIRLPOOL ac0778a31ff69f143065caec614278bdca94f5ff7c8fd3bc41f8536c83f3b46727e08f858ee53c505996833ef84204579cae399062cd05198cc897e9b357b991
|
||||
EBUILD profile-cleaner-2.36.ebuild 501 SHA256 ce6c8001ef2de2b8e95eea62c0494af6ccc84e14e6608616394d831f6609e11e SHA512 de4e1b361be03eaa01f7b6512269d957f7e5789ad4ab3ce6ec957e886c8cd5614de4f2902a9bc41cf166e7294f44c141ee457490814429846b088afcf0980287 WHIRLPOOL d75bc6ac5e3cb1945eaa608d8a96b08c80146c547c74d392b037cc3a67cec3cc60dec7a26117ea7c8a8a850debf9389013a362f3573ad8acc2914eee3bdd0507
|
||||
MISC metadata.xml 518 SHA256 2b543e311ea22abe9af8d166ee3417a57c3d88281f1f701b5f30f63871500aaf SHA512 7d1f584b8e989fd94abaea851c83c7734eb654f1d98e950724a6f72b50b8a1c7e0167ba99067dcfdec32a9ca5036bbdde7c46256214bf395de70a4d6b79f974f WHIRLPOOL 41709edbd8b4432c0a7e121993ae1190475ea0ea34dca6fa55348781900e1cc2b1bc71a09a306cac6061a68a1ed6739cd1ce5a3a3a82a391a74363d1264b142a
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>fdsfgs@krutt.org</email>
|
||||
<name>soredake</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/graysky2/profile-cleaner/issues</bugs-to>
|
||||
<remote-id type="github">graysky2/profile-cleaner</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Vacuum and reindex browser sqlite databases"
|
||||
HOMEPAGE="https://github.com/graysky2/profile-cleaner"
|
||||
SRC_URI="https://github.com/graysky2/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="app-shells/bash
|
||||
sys-devel/bc
|
||||
sys-apps/coreutils
|
||||
sys-apps/findutils
|
||||
sys-apps/grep
|
||||
sys-apps/sed
|
||||
sys-process/parallel
|
||||
dev-db/sqlite:3"
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit toolchain-funcs flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="A parallel implementation of gzip"
|
||||
HOMEPAGE="http://www.zlib.net/pigz/"
|
||||
SRC_URI="http://www.zlib.net/pigz/${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~mips ~sparc x86 ~amd64-linux ~ppc-macos ~sparc64-solaris"
|
||||
IUSE="static symlink test"
|
||||
|
||||
LIB_DEPEND="sys-libs/zlib[static-libs(+)]"
|
||||
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
|
||||
DEPEND="${RDEPEND}
|
||||
static? ( ${LIB_DEPEND} )
|
||||
test? ( app-arch/ncompress )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-ldflags.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use static && append-ldflags -static
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dosym ${PN} /usr/bin/un${PN}
|
||||
dodoc README
|
||||
doman ${PN}.1
|
||||
|
||||
if use symlink; then
|
||||
dosym ${PN} /usr/bin/gzip
|
||||
dosym un${PN} /usr/bin/gunzip
|
||||
fi
|
||||
}
|
@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
MY_PN=${PN}src
|
||||
|
||||
DESCRIPTION="Uncompress rar files"
|
||||
HOMEPAGE="http://www.rarlab.com/rar_add.htm"
|
||||
SRC_URI="http://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="unRAR"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-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
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-5.0.2-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-5.2.2-no-auto-clean.patch #528218
|
||||
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 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
|
||||
}
|
@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
MY_PN=${PN}src
|
||||
|
||||
DESCRIPTION="Uncompress rar files"
|
||||
HOMEPAGE="http://www.rarlab.com/rar_add.htm"
|
||||
SRC_URI="http://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="unRAR"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-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
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-5.0.2-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-5.2.2-no-auto-clean.patch #528218
|
||||
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 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
|
||||
}
|
@ -1,8 +1,11 @@
|
||||
AUX gtk_not_required_4_2.patch 3247 SHA256 ea891a12c8b20c7a99d96ac99cae071ccb391e8bd73a23f03f96f1527a957ba0 SHA512 32e2da278c1fc8fdaf479a575daf65a1a3ed49475568556fba91cdca081b39fe6e7533f98aba4774f7eb00a04911fec3cf55fb2a75c57465d992801d3a4ee11f WHIRLPOOL f6ad905735777614d8df4ab2d05a3b6a88b8606582fec1057333d8ef80a32f2f6e61a971970927fdfefd85afb2bd053b6357505651ad11e31d8d15929eef6f2d
|
||||
AUX gtk_not_required_4_2_5.patch 3495 SHA256 e0cd5768121f624b13da33da3713ee7de7dc3786482c62f280d90c0d4d3c8d23 SHA512 9c5e1b614bb4230b67e1c11fed3693c1aae0b982ca7c5a26678ee6af7da48d0ef2eef479335d498ea5f75408a2a957763a611367aa39585c50ed2556aa09232b WHIRLPOOL 246311f3877fafce5eb8b4956446c4d31083015dc6f9df116e4588c694f74c6037a9bf06a13096825037ec43ff3b3d1336fd401e24411a5a2c0efad1aa941f3b
|
||||
AUX gtk_not_required_9999.patch 3495 SHA256 e0cd5768121f624b13da33da3713ee7de7dc3786482c62f280d90c0d4d3c8d23 SHA512 9c5e1b614bb4230b67e1c11fed3693c1aae0b982ca7c5a26678ee6af7da48d0ef2eef479335d498ea5f75408a2a957763a611367aa39585c50ed2556aa09232b WHIRLPOOL 246311f3877fafce5eb8b4956446c4d31083015dc6f9df116e4588c694f74c6037a9bf06a13096825037ec43ff3b3d1336fd401e24411a5a2c0efad1aa941f3b
|
||||
DIST eid-mw-4.2.0.tar.gz 8508064 SHA256 4d86f4750f973a8dcf700544b92ffc3069a85ff93086538b9f334d76dd5c9747 SHA512 c0785e25c8b3640d0b60110553a520df3c3c5a0774f4f3fba6a4d9329c0d6e6187b0837d8c254a3959ffa798dc6299399e6cb8edfc7a20dabca080b61f532a5f WHIRLPOOL b1dee0c0a1800b81a7f392bc0e13d070a1cbc7fa6eb2f26e9c50903e058f322ff0b2da69469f90bd38240f49520be29bb548ca6954bc052ef5b23bdb4cad2643
|
||||
DIST eid-mw-4.2.5.tar.gz 7751526 SHA256 d2c46a65026790485f39db0b6d9b66a65b1d19061f3682a0b6da2e2b0c54bc81 SHA512 cf00f6aa295c3d057e77faddde31ba6b00ce44402bc0ad141c773fb58067d7cf2e107fc5f3a294be8731de592cb0895537cd29ad4e69f6721e6c77fa99c12075 WHIRLPOOL c24186b1f2b6b02df4a790e3a8c3d1f8e762b1e556d8f55aeeb4523a71387045827b47444246334933fc3d746485ea14086cfe41c5ec23f43826e6a7375c7fc3
|
||||
EBUILD eid-mw-4.2.0.ebuild 2525 SHA256 24db08b8c21f746739b1f16374305696c4e5aad09831db51e3c2c78a0d89b9a6 SHA512 8688589e14e5a727c4047edc6067c21780a78b0ec371ba6747e4a0f16b5b10ea9d56a91c42d1c38cd6613663a676f729012a3f23bc00cfd4a8f7eb1a98f1d0f2 WHIRLPOOL 4c3a9a256a6d3109bfc8eec643a75f0bbfd0e59d6904740c12fa5f3daca123f676817e2c1e5097d8ed578041676a268977c0a01abc689c0973fafcaad53a3138
|
||||
EBUILD eid-mw-4.2.5.ebuild 2528 SHA256 f1ef6329889fc52b37c76cdc6647e4b7a010a08670e29b9ae5ddad1361c41bc8 SHA512 16391709f01bde84924e990d26efb4ae64cef7e7c1a8d46d13e6e5c63e60c6c672e2c761d1d4e4ebdfc9dbf81801bdf776ce7360cb515000bbb45b4612bea285 WHIRLPOOL d3b1b821ce640819644edcf8be4e5efdd80c8d56d3fbf8d01175e95c7eced1c60de46ba908c55ec7256372c82e8d4e82493139c0d96f132199f320d2e447394f
|
||||
EBUILD eid-mw-9999.ebuild 2534 SHA256 fe684586e2862ec6c2289a346ca03a3d24c7ddcc8ebfd86413e4c3a0bffd5a76 SHA512 b213f9e778e4b1405234808a1d953cdd5920a6330191252b439efb2331e1c3503fb196e5ceb7d81ac5a336e79082477afc6b0b7fa4e76f129556df6beb730adb WHIRLPOOL a1017f535f4778a065f6ecc593f4c924260f900edd058e8096ec14747a56ae8e62564a3b0e29823ad6650620572f95f9f03b1728c4d4fb926a868a68c8061401
|
||||
MISC ChangeLog 6022 SHA256 40003eb13dfecea94d0e9c8db15dfad65a86ac1140124202d08f208c68ed7437 SHA512 3131bbe51c42f51e689b99d99a75726ffa4bc7579f663a41a28f1f81835fe6dbda984650342a9621dcd776aa88d062ff39b687a6437fb8d022087fdacfb8e22b WHIRLPOOL 18a35068ec6bc520373b104a53a4433a2e47f34c84d2ce520929c3e5742a9886d351acdee997a78fa7915aecaec3e3706a1b8f73f257ffb21468080e12309d43
|
||||
MISC ChangeLog-2015 2329 SHA256 088b0d80f50d8e70360e034b4041bb2d6d5bf7a26e2cd20342b4fb1b8f99d571 SHA512 eca6e772f8cea012cf3f4cef551dac4142fec2379d5259f693b3c3c38c21c62be4f3953c0166e7c9be9822580dee836a93c827244387d1d4f75de70b16018e8a WHIRLPOOL c9fd64b8f14cc2cc2a992e1193871f8e0927f74e6a7366bf0c0d75782f7adafc3eb425d86ca75771ee2fbdf7ceb30c638b8aa86d736aaa487636e49927831970
|
||||
MISC metadata.xml 1477 SHA256 c0f5e415ab6027a08b04f5a0eb0464fd0c5d349a5a3257fe900ac314f1c8ac8f SHA512 1a13ae0ecd57ce940339076e95b1a9c828214b5ea299971301071a0a3a114a47ad0d011ed2aed86be6aa5bc02ac8fd1222f626ad169e05027278150c13b4d770 WHIRLPOOL f3963b56f14e81fb14e6049a42a35add294b42c0f26b4c66098b16926358d136905cb5fcfd05436e0c9674d82c55f7d813f9165299b39ad86c9c988925b0324f
|
||||
MISC metadata.xml 1464 SHA256 dd5948b75903563ff3cd32a63e3c955553471813f4cda99bfa9013ea8dd7b49d SHA512 ed78298a9b246f9f8f9591dbb9fe54ab311d525db86166bcf66574c9e365f1476234d5bac3180226dfbdb5c4014dd5dae4598b670cd7c6c9538282940a0fa9eb WHIRLPOOL 4bec780651918f869a296b440a7f87610c1d14f48fbcd52fc5b2b3c8d3ff5fe67c16517ada165b09f39fe6b0a6f57d8c08bcf8e59297b8857d4e4e7ff0ba4210
|
||||
|
@ -0,0 +1,98 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils autotools mozextension
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://github.com/Fedict/${PN}.git
|
||||
https://github.com/Fedict/${PN}.git"
|
||||
inherit git-r3
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="https://codeload.github.com/fedict/${PN}/tar.gz/v${PV} ->
|
||||
${P}.tar.gz"
|
||||
KEYWORDS="~x86 ~amd64 ~arm"
|
||||
fi
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="LGPL-3"
|
||||
DESCRIPTION="Electronic Identity Card middleware supplied by the Belgian Federal Government"
|
||||
|
||||
HOMEPAGE="https://eid.belgium.be"
|
||||
|
||||
IUSE="+dialogs +gtk p11-kit +xpi"
|
||||
|
||||
REQUIRED_USE="
|
||||
dialogs? ( gtk )"
|
||||
|
||||
RDEPEND="gtk? (
|
||||
x11-libs/gdk-pixbuf[jpeg]
|
||||
x11-libs/gtk+:*
|
||||
dev-libs/libxml2
|
||||
net-misc/curl[ssl]
|
||||
net-libs/libproxy
|
||||
!app-misc/eid-viewer-bin
|
||||
)
|
||||
>=sys-apps/pcsc-lite-1.2.9
|
||||
p11-kit? ( app-crypt/p11-kit )
|
||||
xpi? ( || ( >=www-client/firefox-bin-3.6.24
|
||||
>=www-client/firefox-3.6.20 ) )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
|
||||
sed -i -e 's:/beid/rsaref220:/rsaref220:' configure.ac || die
|
||||
sed -i -e 's:/beid::' cardcomm/pkcs11/src/libbeidpkcs11.pc.in || die
|
||||
|
||||
# hardcoded lsb_info
|
||||
sed -i \
|
||||
-e "s:get_lsb_info('i'):strdup(_(\"Gentoo\")):" \
|
||||
-e "s:get_lsb_info('r'):strdup(_(\"n/a\")):" \
|
||||
-e "s:get_lsb_info('c'):strdup(_(\"n/a\")):" \
|
||||
plugins_tools/aboutmw/gtk/about-main.c || die
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
use gtk || eapply "${FILESDIR}"/gtk_not_required_9999.patch
|
||||
else
|
||||
use gtk || eapply "${FILESDIR}"/gtk_not_required_4_2_5.patch
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable dialogs) \
|
||||
$(use_enable p11-kit p11kit) \
|
||||
--with-gnu-ld \
|
||||
--disable-static \
|
||||
--disable-signed
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if use xpi; then
|
||||
declare MOZILLA_FIVE_HOME
|
||||
if has_version '>=www-client/firefox-3.6.20'; then
|
||||
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/firefox"
|
||||
xpi_install "${D}/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/belgiumeid@eid.belgium.be"
|
||||
fi
|
||||
if has_version '>=www-client/firefox-bin-3.6.24'; then
|
||||
MOZILLA_FIVE_HOME="/opt/firefox"
|
||||
xpi_install "${D}/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/belgiumeid@eid.belgium.be"
|
||||
fi
|
||||
fi
|
||||
rm -r "${D}/usr/share/mozilla" "${D}"/usr/$(get_libdir)/*.la || die
|
||||
use gtk || rm -r "${D}/usr/include/eid-util" || die
|
||||
}
|
||||
|
||||
pkg_postinst()
|
||||
{
|
||||
use gtk && glib-compile-schemas /usr/share/glib-2.0/schemas/
|
||||
}
|
@ -0,0 +1,75 @@
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 393ecb3..0e14661 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -1,7 +1,7 @@
|
||||
ACLOCAL_AMFLAGS = -I scripts/m4
|
||||
EXTRA_DIST = scripts/build-aux/config.rpath scripts/build-aux/genver.sh .version debian rpm doc
|
||||
|
||||
-SUBDIRS=cardcomm/pkcs11/src doc/sdk/include/rsaref220 plugins_tools/util tests/unit plugins_tools/xpi plugins_tools/aboutmw/gtk plugins_tools/eid-viewer
|
||||
+SUBDIRS=cardcomm/pkcs11/src doc/sdk/include/rsaref220 plugins_tools/util tests/unit plugins_tools/xpi
|
||||
|
||||
xpipackage:
|
||||
$(MAKE) -C plugins_tools/xpi xpipackage
|
||||
diff --git a/cardcomm/pkcs11/src/Makefile.am b/cardcomm/pkcs11/src/Makefile.am
|
||||
index 02e4e36..86d607b 100644
|
||||
--- a/cardcomm/pkcs11/src/Makefile.am
|
||||
+++ b/cardcomm/pkcs11/src/Makefile.am
|
||||
@@ -165,7 +165,6 @@ libbeidpkcs11_la_SOURCES += \
|
||||
dialogs/dialogsgtk/single_dialog.c
|
||||
endif
|
||||
|
||||
-libexec_PROGRAMS = beid-askpin beid-changepin beid-badpin beid-askaccess beid-spr-askpin beid-spr-changepin
|
||||
|
||||
if P11KIT
|
||||
dist_p11kitcf_DATA = beid.module
|
||||
@@ -176,30 +175,4 @@ install-exec-hook:
|
||||
$(LN_S) $(libdir)/libbeidpkcs11.so.0 beidpkcs11.so
|
||||
endif
|
||||
|
||||
-beid_askpin_SOURCES = dialogs/dialogsgtk/parent.c dialogs/dialogsgtk/beid-askpin.c
|
||||
-beid_askpin_CPPFLAGS = -I$(srcdir)/dialogsgtk -I$(srcdir)/../common/src -I$(srcdir)/src @GTK_CFLAGS@ -DDATAROOTDIR='"$(datarootdir)"'
|
||||
-beid_askpin_LDADD = @GTK_LIBS@
|
||||
-
|
||||
-beid_changepin_SOURCES = dialogs/dialogsgtk/parent.c dialogs/dialogsgtk/beid-changepin.c
|
||||
-beid_changepin_CPPFLAGS = -I$(dialogsdir)/dialogsgtk -I$(dialogsdir)/../common/dialogs -I$(dialogsdir)/dialogs @GTK_CFLAGS@ -DDATAROOTDIR='"$(datarootdir)"'
|
||||
-beid_changepin_LDADD = @GTK_LIBS@
|
||||
-
|
||||
-beid_badpin_SOURCES = dialogs/dialogsgtk/parent.c dialogs/dialogsgtk/beid-badpin.c
|
||||
-beid_badpin_CPPFLAGS = -I$(dialogsdir)/dialogsgtk -I$(dialogsdir)/../common/dialogs -I$(dialogsdir)/dialogs @GTK_CFLAGS@ -DDATAROOTDIR='"$(datarootdir)"'
|
||||
-beid_badpin_LDADD = @GTK_LIBS@
|
||||
-
|
||||
-beid_askaccess_SOURCES = dialogs/dialogsgtk/parent.c dialogs/dialogsgtk/beid-askaccess.c
|
||||
-beid_askaccess_CPPFLAGS = -I$(dialogsdir)/dialogsgtk -I$(dialogsdir)/../common/dialogs -I$(dialogsdir)/dialogs @GTK_CFLAGS@ -DDATAROOTDIR='"$(datarootdir)"'
|
||||
-beid_askaccess_LDADD = @GTK_LIBS@
|
||||
-
|
||||
-beid_spr_askpin_SOURCES = dialogs/dialogsgtk/parent.c dialogs/dialogsgtk/beid-spr-askpin.c
|
||||
-beid_spr_askpin_CPPFLAGS = -I$(dialogsdir)/dialogsgtk -I$(dialogsdir)/../common/dialogs -I$(dialogsdir)/dialogs @GTK_CFLAGS@ -DDATAROOTDIR='"$(datarootdir)"'
|
||||
-beid_spr_askpin_LDADD = @GTK_LIBS@
|
||||
-
|
||||
-beid_spr_changepin_SOURCES = dialogs/dialogsgtk/parent.c dialogs/dialogsgtk/beid-spr-changepin.c
|
||||
-beid_spr_changepin_CPPFLAGS = -I$(dialogsdir)/dialogsgtk -I$(dialogsdir)/../common/dialogs -I$(dialogsdir)/dialogs @GTK_CFLAGS@ -DDATAROOTDIR='"$(datarootdir)"'
|
||||
-beid_spr_changepin_LDADD = @GTK_LIBS@
|
||||
-
|
||||
pkgconfig_DATA=libbeidpkcs11.pc
|
||||
-
|
||||
-SUBDIRS = dialogs/dialogsgtk/po
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 9bf10f9..f0120b1 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -59,14 +59,6 @@ fi
|
||||
|
||||
AC_DEFINE_UNQUOTED([HAVE_GTK], [$have_gtk], [Set to major version of libgtk])
|
||||
|
||||
-if test "$have_gtk" = "no"
|
||||
-then
|
||||
- AC_MSG_ERROR([At least one version of GTK is required.])
|
||||
-fi
|
||||
-
|
||||
-PKG_CHECK_MODULES([XML2], [libxml-2.0])
|
||||
-PKG_CHECK_MODULES([libproxy], [libproxy-1.0])
|
||||
-
|
||||
###########################################################################
|
||||
####### read user-specific requests from --enable directives ######
|
||||
###########################################################################
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_P="${PN/x/}-${PV}"
|
||||
DESCRIPTION="VI Like Emacs -- yet another full-featured vi clone"
|
||||
HOMEPAGE="http://invisible-island.net/vile/"
|
||||
SRC_URI="ftp://invisible-island.net/vile/current/${MY_P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE="perl"
|
||||
|
||||
RDEPEND="perl? ( dev-lang/perl )
|
||||
=app-editors/vile-${PV}
|
||||
>=x11-libs/libX11-1.0.0
|
||||
>=x11-libs/libXt-1.0.0
|
||||
>=x11-libs/libICE-1.0.0
|
||||
>=x11-libs/libSM-1.0.0
|
||||
>=x11-libs/libXaw-1.0.1
|
||||
>=x11-libs/libXpm-3.5.4.2
|
||||
>=x11-proto/xproto-7.0.4"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/flex"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-ncurses \
|
||||
--with-x \
|
||||
$(use_with perl)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin xvile
|
||||
dodoc CHANGES* README doc/*.doc
|
||||
docinto html
|
||||
dodoc doc/*.html
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Golden Disk Image builder."
|
||||
HOMEPAGE="http://docs.openstack.org/developer/diskimage-builder/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${CDEPEND}
|
||||
>=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
|
||||
!~dev-python/Babel-2.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flake8-2.5.4[${PYTHON_USEDEP}]
|
||||
<dev-python/flake8-2.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
|
||||
app-emulation/qemu
|
||||
sys-block/parted
|
||||
sys-fs/multipath-tools
|
||||
!dev-python/dib-utils[${PYTHON_USEDEP}]"
|
@ -1,6 +1,8 @@
|
||||
DIST kompose-0.2.0_p20170214.tar.gz 4928182 SHA256 437303c2f7b3c24182561e76cfa85102814f731fc7f5951933fe6c153c6b2e1b SHA512 dab013f861f4a185c0fdea3f4b79d33ff280f3c7ad77e150ce381770182ad77a37d8ccbadfe1f7bd13d50dc36a7087847d1636b6b411a21e0de43113be5b0183 WHIRLPOOL 581a6059bdb6286ca859e5a2f1e750a9ceaa3724ed9fee4092ac9283b2216629118437ccd0354ffebde95ac37b1591048f5972658a093b4aefc09bc8a02402f8
|
||||
DIST kompose-0.3.0.tar.gz 4928611 SHA256 047e5367856f07338515eea43fb213e08fdde79333250e4cc85251e80251c928 SHA512 094d0093d6cf480d8c757f5f2d82719eaaf0c6c1b33140d45fcb2ff7b129e9cada0660a3faf26b13e877b05897920e00ddf8b451dfc91042f7f6bb72a4a24618 WHIRLPOOL dba40efcfdd6d22a9112c078be47f159fde4de9ac43bf04f72c5006add523a67c13487c0da9168feab0c8c9f84abe3865914239008d87172df86b3654b21935d
|
||||
DIST kompose-0.5.0.tar.gz 4960733 SHA256 542828b5b5a231596bc50536322975fab3b49259052de4ad6115b099c01f2627 SHA512 11f3f6a5624fb67ab8be099d220647e8447290311167875efa7ad5a5058bd1401fd5def667ebde3b78eec8404eec81239764d3722e27c60fb55291c4371d36af WHIRLPOOL 50eb0cf5aee7aa2b3868af67d9e3de617ab8cd9ef6af6b1ec48bd772c9e01518e160f2a5b4994748fe474dddad143aac14c85c44a44f1aaf6638c181a6b54d30
|
||||
EBUILD kompose-0.2.0_p20170214.ebuild 927 SHA256 56ad58e78f529715ff8caaa1b5a4c707f5da9532f0b9d63eac22ef8d1f216b55 SHA512 e535fb4cc70d8f9a19ad4738ead573e9ce54c3fa7206a34eda398685bfa315a6fb69a73561af061f507d9819bf321ac7539fa24eed977a03224dba1151170c2b WHIRLPOOL 695e7ed2607e0a29327ff23d71a29fe6c14ccb81d4a92aac20414f96cd907634fc24dd7debe32e5bef668f363a38cc546d27268463c0ba2d5cf256136abf2ed0
|
||||
EBUILD kompose-0.3.0.ebuild 917 SHA256 933e2de41d75bd170efa6babb5a1a22c573e5ab66dd047a3ec77dbdaec2f4575 SHA512 388c220005aab0a331fb3b83c45d81b90502152109897d356120209e5fbdc4569b08f189395bd9dd72470bd21b3f2425d2b90636b55b89c6554f7067499ff3b3 WHIRLPOOL 44bf7d6336afa1a15cb0f22f572fe5ee0b945058c0d82a594b051b6ff7c604cd62f94134d0f96e4d51cf28359e8bbc7153b7fe8104e862d413be95b24af1330d
|
||||
EBUILD kompose-0.5.0.ebuild 917 SHA256 10117506890097414a2c840b8db6b69e48ed7eb4db2ac3a2a15151578bb52fdf SHA512 9044d683c7900366fc6281a6ef2943b05eaff16a25acbedaf8921b419007cbe1cff8cd33302c40c090515a9d68893957e170961cd950d1e242c182955f2c3018 WHIRLPOOL d0b4e4bd7eca36453c5abdb30dc70950af2d3c9742ee1a5b1274ea87114c2ca08e3dbff4919a41029c9e37d334603d1f6b81c4b5bbf1328efe02eaa11486a286
|
||||
MISC ChangeLog 347 SHA256 d0790ddd06a0fb4b66cbd8218e5133b48d83123901779f34374d13cb9c2774d6 SHA512 994657458b7bca0bf26b7d6c540005ce11555537257d6411896bc6794f2795c96fde797ad2981d74b82003b69326146408690fd0138c609d2d6c0fe123437e36 WHIRLPOOL d246419da647e361abd42ac0cbc70888debfa4713ff8dfaadd7936af2491a044d8624799673b7069452172de2bc5bbc41b909044c80563f3c26bfb411f78dd33
|
||||
MISC metadata.xml 338 SHA256 9d465f3da35d19a6a6f3f0f8e18bbf636af19b5e3789604447b393f940e448c6 SHA512 0dd4f08d4a6f3195211b14c41b549a2a95f76a86e702e5c6ddedfa99c655717bd22ba4e88c84f25b6418f1a93bfafa8125e17f73a2fc04d47d1474c97da25198 WHIRLPOOL a78242e3ac93d69d82c7fd7d98cd5ed52ec289d8bb87ea2d8e0ed9e37b5992dedc955f7303a74f5081f13bd5ed3bc0c46a017fa80eaf3b9effdeb5a292cb3add
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit golang-build golang-vcs-snapshot
|
||||
|
||||
EGO_PN="github.com/kubernetes-incubator/kompose/..."
|
||||
EGIT_COMMIT="v${PV}"
|
||||
COMPOSE_COMMIT="c01bcce"
|
||||
ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Tool to move from docker-compose to Kubernetes"
|
||||
HOMEPAGE="https://github.com/kubernetes-incubator/kompose"
|
||||
SRC_URI="${ARCHIVE_URI}"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/${PVR}"
|
||||
IUSE="hardened"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')"
|
||||
GOPATH="${S}" go build -ldflags="-X github.com/kubernetes-incubator/kompose/cmd.GITCOMMIT=${COMPOSE_COMMIT}" -o bin/kompose src/${EGO_PN%/*}/main.go || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
dodoc -r src/${EGO_PN%/*}/{docs,{README,RELEASE,ROADMAP,CHANGELOG,CONTRIBUTING}.md}
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
From d63fb193e71644a073b77ff5ac6f1216f2f6cf6e Mon Sep 17 00:00:00 2001
|
||||
From: Li Qiang <liq3ea@gmail.com>
|
||||
Date: Mon, 27 Mar 2017 21:13:19 +0200
|
||||
Subject: [PATCH] 9pfs: fix file descriptor leak
|
||||
|
||||
The v9fs_create() and v9fs_lcreate() functions are used to create a file
|
||||
on the backend and to associate it to a fid. The fid shouldn't be already
|
||||
in-use, otherwise both functions may silently leak a file descriptor or
|
||||
allocated memory. The current code doesn't check that.
|
||||
|
||||
This patch ensures that the fid isn't already associated to anything
|
||||
before using it.
|
||||
|
||||
Signed-off-by: Li Qiang <liqiang6-s@360.cn>
|
||||
(reworded the changelog, Greg Kurz)
|
||||
Signed-off-by: Greg Kurz <groug@kaod.org>
|
||||
---
|
||||
hw/9pfs/9p.c | 8 ++++++++
|
||||
1 file changed, 8 insertions(+)
|
||||
|
||||
diff --git a/hw/9pfs/9p.c b/hw/9pfs/9p.c
|
||||
index b8c0b99..48babce 100644
|
||||
--- a/hw/9pfs/9p.c
|
||||
+++ b/hw/9pfs/9p.c
|
||||
@@ -1550,6 +1550,10 @@ static void coroutine_fn v9fs_lcreate(void *opaque)
|
||||
err = -ENOENT;
|
||||
goto out_nofid;
|
||||
}
|
||||
+ if (fidp->fid_type != P9_FID_NONE) {
|
||||
+ err = -EINVAL;
|
||||
+ goto out;
|
||||
+ }
|
||||
|
||||
flags = get_dotl_openflags(pdu->s, flags);
|
||||
err = v9fs_co_open2(pdu, fidp, &name, gid,
|
||||
@@ -2153,6 +2157,10 @@ static void coroutine_fn v9fs_create(void *opaque)
|
||||
err = -EINVAL;
|
||||
goto out_nofid;
|
||||
}
|
||||
+ if (fidp->fid_type != P9_FID_NONE) {
|
||||
+ err = -EINVAL;
|
||||
+ goto out;
|
||||
+ }
|
||||
if (perm & P9_STAT_MODE_DIR) {
|
||||
err = v9fs_co_mkdir(pdu, fidp, &name, perm & 0777,
|
||||
fidp->uid, -1, &stbuf);
|
||||
--
|
||||
2.10.2
|
||||
|
@ -0,0 +1,773 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="ncurses,readline"
|
||||
|
||||
PLOCALES="bg de_DE fr_FR hu it tr zh_CN"
|
||||
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
|
||||
user udev fcaps readme.gentoo-r1 pax-utils l10n
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
|
||||
inherit git-r3
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
# bug #606088
|
||||
SRC_URI+="
|
||||
https://dev.gentoo.org/~tamiko/distfiles/${P}-CVE-2016-9602-patches.tar.xz"
|
||||
|
||||
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||
HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="accessibility +aio alsa bluetooth bzip2 +caps +curl debug +fdt
|
||||
glusterfs gnutls gtk gtk2 infiniband iscsi +jpeg kernel_linux
|
||||
kernel_FreeBSD lzo ncurses nfs nls numa opengl +pin-upstream-blobs +png
|
||||
pulseaudio python rbd sasl +seccomp sdl sdl2 selinux smartcard snappy
|
||||
spice ssh static static-user systemtap tci test +threads usb usbredir
|
||||
vde +vhost-net virgl virtfs +vnc vte xattr xen xfs"
|
||||
|
||||
COMMON_TARGETS="aarch64 alpha arm cris i386 m68k microblaze microblazeel
|
||||
mips mips64 mips64el mipsel or32 ppc ppc64 s390x sh4 sh4eb sparc
|
||||
sparc64 x86_64"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS}
|
||||
lm32 moxie ppcemb tricore unicore32 xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS}
|
||||
armeb mipsn32 mipsn32el ppc64abi32 ppc64le sparc32plus tilegx"
|
||||
|
||||
use_softmmu_targets=$(printf ' qemu_softmmu_targets_%s' ${IUSE_SOFTMMU_TARGETS})
|
||||
use_user_targets=$(printf ' qemu_user_targets_%s' ${IUSE_USER_TARGETS})
|
||||
IUSE+=" ${use_softmmu_targets} ${use_user_targets}"
|
||||
|
||||
# Allow no targets to be built so that people can get a tools-only build.
|
||||
# Block USE flag configurations known to not work.
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||
gtk2? ( gtk )
|
||||
qemu_softmmu_targets_arm? ( fdt )
|
||||
qemu_softmmu_targets_microblaze? ( fdt )
|
||||
qemu_softmmu_targets_ppc? ( fdt )
|
||||
qemu_softmmu_targets_ppc64? ( fdt )
|
||||
sdl2? ( sdl )
|
||||
static? ( static-user !alsa !bluetooth !gtk !gtk2 !opengl !pulseaudio )
|
||||
virtfs? ( xattr )
|
||||
vte? ( gtk )"
|
||||
|
||||
# Dependencies required for qemu tools (qemu-nbd, qemu-img, qemu-io, ...)
|
||||
# and user/softmmu targets (qemu-*, qemu-system-*).
|
||||
#
|
||||
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
|
||||
#
|
||||
# The attr lib isn't always linked in (although the USE flag is always
|
||||
# respected). This is because qemu supports using the C library's API
|
||||
# when available rather than always using the extranl library.
|
||||
ALL_DEPEND="
|
||||
>=dev-libs/glib-2.0[static-libs(+)]
|
||||
>=x11-libs/pixman-0.28.0[static-libs(+)]
|
||||
sys-libs/zlib[static-libs(+)]
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
xattr? ( sys-apps/attr[static-libs(+)] )"
|
||||
|
||||
# Dependencies required for qemu tools (qemu-nbd, qemu-img, qemu-io, ...)
|
||||
# softmmu targets (qemu-system-*).
|
||||
SOFTMMU_TOOLS_DEPEND="
|
||||
accessibility? (
|
||||
app-accessibility/brltty[api]
|
||||
app-accessibility/brltty[static-libs(+)]
|
||||
)
|
||||
aio? ( dev-libs/libaio[static-libs(+)] )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
bzip2? ( app-arch/bzip2[static-libs(+)] )
|
||||
caps? ( sys-libs/libcap-ng[static-libs(+)] )
|
||||
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
|
||||
fdt? ( >=sys-apps/dtc-1.4.0[static-libs(+)] )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
|
||||
gnutls? (
|
||||
dev-libs/nettle:=[static-libs(+)]
|
||||
>=net-libs/gnutls-3.0:=[static-libs(+)]
|
||||
)
|
||||
gtk? (
|
||||
gtk2? (
|
||||
x11-libs/gtk+:2
|
||||
vte? ( x11-libs/vte:0 )
|
||||
)
|
||||
!gtk2? (
|
||||
x11-libs/gtk+:3
|
||||
vte? ( x11-libs/vte:2.91 )
|
||||
)
|
||||
)
|
||||
infiniband? ( sys-fabric/librdmacm:=[static-libs(+)] )
|
||||
iscsi? ( net-libs/libiscsi )
|
||||
jpeg? ( virtual/jpeg:0=[static-libs(+)] )
|
||||
lzo? ( dev-libs/lzo:2[static-libs(+)] )
|
||||
ncurses? (
|
||||
sys-libs/ncurses:0=[unicode]
|
||||
sys-libs/ncurses:0=[static-libs(+)]
|
||||
)
|
||||
nfs? ( >=net-fs/libnfs-1.9.3[static-libs(+)] )
|
||||
numa? ( sys-process/numactl[static-libs(+)] )
|
||||
opengl? (
|
||||
virtual/opengl
|
||||
media-libs/libepoxy[static-libs(+)]
|
||||
media-libs/mesa[static-libs(+)]
|
||||
media-libs/mesa[egl,gbm]
|
||||
)
|
||||
png? ( media-libs/libpng:0=[static-libs(+)] )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
rbd? ( sys-cluster/ceph[static-libs(+)] )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
|
||||
sdl? (
|
||||
!sdl2? (
|
||||
media-libs/libsdl[X]
|
||||
>=media-libs/libsdl-1.2.11[static-libs(+)]
|
||||
)
|
||||
sdl2? (
|
||||
media-libs/libsdl2[X]
|
||||
media-libs/libsdl2[static-libs(+)]
|
||||
)
|
||||
)
|
||||
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
|
||||
smartcard? ( >=app-emulation/libcacard-2.5.0[static-libs(+)] )
|
||||
snappy? ( app-arch/snappy[static-libs(+)] )
|
||||
spice? (
|
||||
>=app-emulation/spice-protocol-0.12.3
|
||||
>=app-emulation/spice-0.12.0[static-libs(+)]
|
||||
)
|
||||
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
|
||||
usb? ( >=virtual/libusb-1-r2[static-libs(+)] )
|
||||
usbredir? ( >=sys-apps/usbredir-0.6[static-libs(+)] )
|
||||
vde? ( net-misc/vde[static-libs(+)] )
|
||||
virgl? ( media-libs/virglrenderer[static-libs(+)] )
|
||||
virtfs? ( sys-libs/libcap )
|
||||
xen? ( app-emulation/xen-tools:= )
|
||||
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
|
||||
|
||||
X86_FIRMWARE_DEPEND="
|
||||
>=sys-firmware/ipxe-1.0.0_p20130624
|
||||
pin-upstream-blobs? (
|
||||
~sys-firmware/seabios-1.10.1
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
!pin-upstream-blobs? (
|
||||
sys-firmware/seabios
|
||||
sys-firmware/sgabios
|
||||
sys-firmware/vgabios
|
||||
)"
|
||||
|
||||
CDEPEND="
|
||||
!static? (
|
||||
${ALL_DEPEND//\[static-libs(+)]}
|
||||
${SOFTMMU_TOOLS_DEPEND//\[static-libs(+)]}
|
||||
)
|
||||
qemu_softmmu_targets_i386? ( ${X86_FIRMWARE_DEPEND} )
|
||||
qemu_softmmu_targets_x86_64? ( ${X86_FIRMWARE_DEPEND} )"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-lang/perl
|
||||
=dev-lang/python-2*
|
||||
sys-apps/texinfo
|
||||
virtual/pkgconfig
|
||||
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
|
||||
gtk? ( nls? ( sys-devel/gettext ) )
|
||||
static? (
|
||||
${ALL_DEPEND}
|
||||
${SOFTMMU_TOOLS_DEPEND}
|
||||
)
|
||||
static-user? ( ${ALL_DEPEND} )
|
||||
test? (
|
||||
dev-libs/glib[utils]
|
||||
sys-devel/bc
|
||||
)"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-qemu )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.5.0-cflags.patch
|
||||
"${FILESDIR}"/${PN}-2.5.0-sysmacros.patch
|
||||
"${FILESDIR}"/${PN}-2.7.0-CVE-2016-8669-1.patch #597108
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2016-9908.patch #601826
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2016-9912.patch #602630
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2016-10028.patch #603444
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2016-10155.patch #606720
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-2615.patch #608034
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-2630.patch #609396
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-5525-1.patch #606264
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-5525-2.patch
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-5552.patch #606722
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-5578.patch #607000
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-5579.patch #607100
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-5667.patch #607766
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-5856.patch #608036
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-5857.patch #608038
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-5898.patch #608520
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-5931.patch #608728
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-5973.patch #609334
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-5987.patch #609398
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-6058.patch #609638
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-2620.patch #609206
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-6505.patch #612220
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-7377.patch #614744
|
||||
"${S}-CVE-2016-9602-patches"
|
||||
)
|
||||
|
||||
STRIP_MASK="/usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/share/qemu/openbios-ppc
|
||||
usr/share/qemu/openbios-sparc64
|
||||
usr/share/qemu/openbios-sparc32
|
||||
usr/share/qemu/palcode-clipper
|
||||
usr/share/qemu/s390-ccw.img
|
||||
usr/share/qemu/u-boot.e500"
|
||||
|
||||
QA_WX_LOAD="usr/bin/qemu-i386
|
||||
usr/bin/qemu-x86_64
|
||||
usr/bin/qemu-alpha
|
||||
usr/bin/qemu-arm
|
||||
usr/bin/qemu-cris
|
||||
usr/bin/qemu-m68k
|
||||
usr/bin/qemu-microblaze
|
||||
usr/bin/qemu-microblazeel
|
||||
usr/bin/qemu-mips
|
||||
usr/bin/qemu-mipsel
|
||||
usr/bin/qemu-or32
|
||||
usr/bin/qemu-ppc
|
||||
usr/bin/qemu-ppc64
|
||||
usr/bin/qemu-ppc64abi32
|
||||
usr/bin/qemu-sh4
|
||||
usr/bin/qemu-sh4eb
|
||||
usr/bin/qemu-sparc
|
||||
usr/bin/qemu-sparc64
|
||||
usr/bin/qemu-armeb
|
||||
usr/bin/qemu-sparc32plus
|
||||
usr/bin/qemu-s390x
|
||||
usr/bin/qemu-unicore32"
|
||||
|
||||
DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure you have the
|
||||
kernel module loaded before running kvm. The easiest way to ensure that the
|
||||
kernel module is loaded is to load it on boot.
|
||||
For AMD CPUs the module is called 'kvm-amd'.
|
||||
For Intel CPUs the module is called 'kvm-intel'.
|
||||
Please review /etc/conf.d/modules for how to load these.
|
||||
|
||||
Make sure your user is in the 'kvm' group. Just run
|
||||
$ gpasswd -a <USER> kvm
|
||||
then have <USER> re-login.
|
||||
|
||||
For brand new installs, the default permissions on /dev/kvm might not let
|
||||
you access it. You can tell udev to reset ownership/perms:
|
||||
$ udevadm trigger -c add /dev/kvm
|
||||
|
||||
If you want to register binfmt handlers for qemu user targets:
|
||||
For openrc:
|
||||
# rc-update add qemu-binfmt
|
||||
For systemd:
|
||||
# ln -s /usr/share/qemu/binfmt.d/qemu.conf /etc/binfmt.d/qemu.conf"
|
||||
|
||||
pkg_pretend() {
|
||||
if use kernel_linux && kernel_is lt 2 6 25; then
|
||||
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
|
||||
elif use kernel_linux; then
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel for KVM support"
|
||||
else
|
||||
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
|
||||
ERROR_KVM="You must enable KVM in your kernel to continue"
|
||||
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
|
||||
ERROR_KVM_AMD+=" your kernel configuration."
|
||||
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
|
||||
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
|
||||
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
|
||||
ERROR_TUN+=" into your kernel or loaded as a module to use the"
|
||||
ERROR_TUN+=" virtual network device if using -net tap."
|
||||
ERROR_BRIDGE="You will also need support for 802.1d"
|
||||
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
|
||||
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
|
||||
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
|
||||
ERROR_VHOST_NET+=" support"
|
||||
|
||||
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
|
||||
CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
|
||||
fi
|
||||
|
||||
use python && CONFIG_CHECK+=" ~DEBUG_FS"
|
||||
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
fi
|
||||
fi
|
||||
|
||||
if grep -qs '/usr/bin/qemu-kvm' "${EROOT}"/etc/libvirt/qemu/*.xml; then
|
||||
eerror "The kvm/qemu-kvm wrappers no longer exist, but your libvirt"
|
||||
eerror "instances are still pointing to it. Please update your"
|
||||
eerror "configs in /etc/libvirt/qemu/ to use the -enable-kvm flag"
|
||||
eerror "and the right system binary (e.g. qemu-system-x86_64)."
|
||||
die "update your virt configs to not use qemu-kvm"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup kvm 78
|
||||
}
|
||||
|
||||
# Sanity check to make sure target lists are kept up-to-date.
|
||||
check_targets() {
|
||||
local var=$1 mak=$2
|
||||
local detected sorted
|
||||
|
||||
pushd "${S}"/default-configs >/dev/null || die
|
||||
|
||||
# Force C locale until glibc is updated. #564936
|
||||
detected=$(echo $(printf '%s\n' *-${mak}.mak | sed "s:-${mak}.mak::" | LC_COLLATE=C sort -u))
|
||||
sorted=$(echo $(printf '%s\n' ${!var} | LC_COLLATE=C sort -u))
|
||||
if [[ ${sorted} != "${detected}" ]] ; then
|
||||
eerror "The ebuild needs to be kept in sync."
|
||||
eerror "${var}: ${sorted}"
|
||||
eerror "$(printf '%-*s' ${#var} configure): ${detected}"
|
||||
die "sync ${var} to the list of targets"
|
||||
fi
|
||||
|
||||
popd >/dev/null
|
||||
}
|
||||
|
||||
handle_locales() {
|
||||
# Make sure locale list is kept up-to-date.
|
||||
local detected sorted
|
||||
detected=$(echo $(cd po && printf '%s\n' *.po | grep -v messages.po | sed 's:.po$::' | sort -u))
|
||||
sorted=$(echo $(printf '%s\n' ${PLOCALES} | sort -u))
|
||||
if [[ ${sorted} != "${detected}" ]] ; then
|
||||
eerror "The ebuild needs to be kept in sync."
|
||||
eerror "PLOCALES: ${sorted}"
|
||||
eerror " po/*.po: ${detected}"
|
||||
die "sync PLOCALES"
|
||||
fi
|
||||
|
||||
# Deal with selective install of locales.
|
||||
if use nls ; then
|
||||
# Delete locales the user does not want. #577814
|
||||
rm_loc() { rm po/$1.po || die; }
|
||||
l10n_for_each_disabled_locale_do rm_loc
|
||||
else
|
||||
# Cheap hack to disable gettext .mo generation.
|
||||
rm -f po/*.po
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
check_targets IUSE_SOFTMMU_TARGETS softmmu
|
||||
check_targets IUSE_USER_TARGETS linux-user
|
||||
|
||||
# Alter target makefiles to accept CFLAGS set via flag-o
|
||||
sed -i -r \
|
||||
-e 's/^(C|OP_C|HELPER_C)FLAGS=/\1FLAGS+=/' \
|
||||
Makefile Makefile.target || die
|
||||
|
||||
default
|
||||
|
||||
# Fix ld and objcopy being called directly
|
||||
tc-export AR LD OBJCOPY
|
||||
|
||||
# Verbose builds
|
||||
MAKEOPTS+=" V=1"
|
||||
|
||||
# Run after we've applied all patches.
|
||||
handle_locales
|
||||
}
|
||||
|
||||
##
|
||||
# configures qemu based on the build directory and the build type
|
||||
# we are using.
|
||||
#
|
||||
qemu_src_configure() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
local buildtype=$1
|
||||
local builddir="${S}/${buildtype}-build"
|
||||
|
||||
mkdir "${builddir}"
|
||||
|
||||
local conf_opts=(
|
||||
--prefix=/usr
|
||||
--sysconfdir=/etc
|
||||
--libdir=/usr/$(get_libdir)
|
||||
--docdir=/usr/share/doc/${PF}/html
|
||||
--disable-bsd-user
|
||||
--disable-guest-agent
|
||||
--disable-strip
|
||||
--disable-werror
|
||||
# We support gnutls/nettle for crypto operations. It is possible
|
||||
# to use gcrypt when gnutls/nettle are disabled (but not when they
|
||||
# are enabled), but it's not really worth the hassle. Disable it
|
||||
# all the time to avoid automatically detecting it. #568856
|
||||
--disable-gcrypt
|
||||
--python="${PYTHON}"
|
||||
--cc="$(tc-getCC)"
|
||||
--cxx="$(tc-getCXX)"
|
||||
--host-cc="$(tc-getBUILD_CC)"
|
||||
$(use_enable debug debug-info)
|
||||
$(use_enable debug debug-tcg)
|
||||
--enable-docs
|
||||
$(use_enable tci tcg-interpreter)
|
||||
$(use_enable xattr attr)
|
||||
)
|
||||
|
||||
# Disable options not used by user targets. This simplifies building
|
||||
# static user targets (USE=static-user) considerably.
|
||||
conf_notuser() {
|
||||
if [[ ${buildtype} == "user" ]] ; then
|
||||
echo "--disable-${2:-$1}"
|
||||
else
|
||||
use_enable "$@"
|
||||
fi
|
||||
}
|
||||
conf_opts+=(
|
||||
$(conf_notuser accessibility brlapi)
|
||||
$(conf_notuser aio linux-aio)
|
||||
$(conf_notuser bzip2)
|
||||
$(conf_notuser bluetooth bluez)
|
||||
$(conf_notuser caps cap-ng)
|
||||
$(conf_notuser curl)
|
||||
$(conf_notuser fdt)
|
||||
$(conf_notuser glusterfs)
|
||||
$(conf_notuser gnutls)
|
||||
$(conf_notuser gnutls nettle)
|
||||
$(conf_notuser gtk)
|
||||
$(conf_notuser infiniband rdma)
|
||||
$(conf_notuser iscsi libiscsi)
|
||||
$(conf_notuser jpeg vnc-jpeg)
|
||||
$(conf_notuser kernel_linux kvm)
|
||||
$(conf_notuser lzo)
|
||||
$(conf_notuser ncurses curses)
|
||||
$(conf_notuser nfs libnfs)
|
||||
$(conf_notuser numa)
|
||||
$(conf_notuser opengl)
|
||||
$(conf_notuser png vnc-png)
|
||||
$(conf_notuser rbd)
|
||||
$(conf_notuser sasl vnc-sasl)
|
||||
$(conf_notuser sdl)
|
||||
$(conf_notuser seccomp)
|
||||
$(conf_notuser smartcard)
|
||||
$(conf_notuser snappy)
|
||||
$(conf_notuser spice)
|
||||
$(conf_notuser ssh libssh2)
|
||||
$(conf_notuser usb libusb)
|
||||
$(conf_notuser usbredir usb-redir)
|
||||
$(conf_notuser vde)
|
||||
$(conf_notuser vhost-net)
|
||||
$(conf_notuser virgl virglrenderer)
|
||||
$(conf_notuser virtfs)
|
||||
$(conf_notuser vnc)
|
||||
$(conf_notuser vte)
|
||||
$(conf_notuser xen)
|
||||
$(conf_notuser xen xen-pci-passthrough)
|
||||
$(conf_notuser xfs xfsctl)
|
||||
)
|
||||
|
||||
if [[ ! ${buildtype} == "user" ]] ; then
|
||||
# audio options
|
||||
local audio_opts="oss"
|
||||
use alsa && audio_opts="alsa,${audio_opts}"
|
||||
use sdl && audio_opts="sdl,${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa,${audio_opts}"
|
||||
conf_opts+=(
|
||||
--audio-drv-list="${audio_opts}"
|
||||
)
|
||||
use gtk && conf_opts+=( --with-gtkabi=$(usex gtk2 2.0 3.0) )
|
||||
use sdl && conf_opts+=( --with-sdlabi=$(usex sdl2 2.0 1.2) )
|
||||
fi
|
||||
|
||||
case ${buildtype} in
|
||||
user)
|
||||
conf_opts+=(
|
||||
--enable-linux-user
|
||||
--disable-system
|
||||
--disable-blobs
|
||||
--disable-tools
|
||||
)
|
||||
local static_flag="static-user"
|
||||
;;
|
||||
softmmu)
|
||||
conf_opts+=(
|
||||
--disable-linux-user
|
||||
--enable-system
|
||||
--disable-tools
|
||||
--with-system-pixman
|
||||
)
|
||||
local static_flag="static"
|
||||
;;
|
||||
tools)
|
||||
conf_opts+=(
|
||||
--disable-linux-user
|
||||
--disable-system
|
||||
--disable-blobs
|
||||
--enable-tools
|
||||
)
|
||||
local static_flag="static"
|
||||
;;
|
||||
esac
|
||||
|
||||
local targets="${buildtype}_targets"
|
||||
[[ -n ${targets} ]] && conf_opts+=( --target-list="${!targets}" )
|
||||
|
||||
# Add support for SystemTAP
|
||||
use systemtap && conf_opts+=( --enable-trace-backend=dtrace )
|
||||
|
||||
# We always want to attempt to build with PIE support as it results
|
||||
# in a more secure binary. But it doesn't work with static or if
|
||||
# the current GCC doesn't have PIE support.
|
||||
if use ${static_flag}; then
|
||||
conf_opts+=( --static --disable-pie )
|
||||
else
|
||||
gcc-specs-pie && conf_opts+=( --enable-pie )
|
||||
fi
|
||||
|
||||
echo "../configure ${conf_opts[*]}"
|
||||
cd "${builddir}"
|
||||
../configure "${conf_opts[@]}" || die "configure failed"
|
||||
|
||||
# FreeBSD's kernel does not support QEMU assigning/grabbing
|
||||
# host USB devices yet
|
||||
use kernel_FreeBSD && \
|
||||
sed -i -E -e "s|^(HOST_USB=)bsd|\1stub|" "${S}"/config-host.mak
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local target
|
||||
|
||||
python_setup
|
||||
|
||||
softmmu_targets= softmmu_bins=()
|
||||
user_targets= user_bins=()
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
if use "qemu_softmmu_targets_${target}"; then
|
||||
softmmu_targets+=",${target}-softmmu"
|
||||
softmmu_bins+=( "qemu-system-${target}" )
|
||||
fi
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
if use "qemu_user_targets_${target}"; then
|
||||
user_targets+=",${target}-linux-user"
|
||||
user_bins+=( "qemu-${target}" )
|
||||
fi
|
||||
done
|
||||
|
||||
softmmu_targets=${softmmu_targets#,}
|
||||
user_targets=${user_targets#,}
|
||||
|
||||
[[ -n ${softmmu_targets} ]] && qemu_src_configure "softmmu"
|
||||
[[ -n ${user_targets} ]] && qemu_src_configure "user"
|
||||
qemu_src_configure "tools"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
default
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
default
|
||||
fi
|
||||
|
||||
cd "${S}/tools-build"
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
pax-mark m */qemu-system-* #515550
|
||||
emake -j1 check
|
||||
emake -j1 check-report.html
|
||||
fi
|
||||
}
|
||||
|
||||
qemu_python_install() {
|
||||
python_domodule "${S}/scripts/qmp/qmp.py"
|
||||
|
||||
python_doscript "${S}/scripts/kvm/vmxcap"
|
||||
python_doscript "${S}/scripts/qmp/qmp-shell"
|
||||
python_doscript "${S}/scripts/qmp/qemu-ga-client"
|
||||
}
|
||||
|
||||
# Generate binfmt support files.
|
||||
# - /etc/init.d/qemu-binfmt script which registers the user handlers (openrc)
|
||||
# - /usr/share/qemu/binfmt.d/qemu.conf (for use with systemd-binfmt)
|
||||
generate_initd() {
|
||||
local out="${T}/qemu-binfmt"
|
||||
local out_systemd="${T}/qemu.conf"
|
||||
local d="${T}/binfmt.d"
|
||||
|
||||
einfo "Generating qemu binfmt scripts and configuration files"
|
||||
|
||||
# Generate the debian fragments first.
|
||||
mkdir -p "${d}"
|
||||
"${S}"/scripts/qemu-binfmt-conf.sh \
|
||||
--debian \
|
||||
--exportdir "${d}" \
|
||||
--qemu-path "${EPREFIX}/usr/bin" \
|
||||
|| die
|
||||
# Then turn the fragments into a shell script we can source.
|
||||
sed -E -i \
|
||||
-e 's:^([^ ]+) (.*)$:\1="\2":' \
|
||||
"${d}"/* || die
|
||||
|
||||
# Generate the init.d script by assembling the fragments from above.
|
||||
local f qcpu package interpreter magic mask
|
||||
cat "${FILESDIR}"/qemu-binfmt.initd.head >"${out}" || die
|
||||
for f in "${d}"/qemu-* ; do
|
||||
source "${f}"
|
||||
|
||||
# Normalize the cpu logic like we do in the init.d for the native cpu.
|
||||
qcpu=${package#qemu-}
|
||||
case ${qcpu} in
|
||||
arm*) qcpu="arm";;
|
||||
mips*) qcpu="mips";;
|
||||
ppc*) qcpu="ppc";;
|
||||
s390*) qcpu="s390";;
|
||||
sh*) qcpu="sh";;
|
||||
sparc*) qcpu="sparc";;
|
||||
esac
|
||||
|
||||
cat <<EOF >>"${out}"
|
||||
if [ "\${cpu}" != "${qcpu}" -a -x "${interpreter}" ] ; then
|
||||
echo ':${package}:M::${magic}:${mask}:${interpreter}:'"\${QEMU_BINFMT_FLAGS}" >/proc/sys/fs/binfmt_misc/register
|
||||
fi
|
||||
EOF
|
||||
|
||||
echo ":${package}:M::${magic}:${mask}:${interpreter}:OC" >>"${out_systemd}"
|
||||
|
||||
done
|
||||
cat "${FILESDIR}"/qemu-binfmt.initd.tail >>"${out}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# Install binfmt handler init script for user targets.
|
||||
generate_initd
|
||||
doinitd "${T}/qemu-binfmt"
|
||||
|
||||
# Install binfmt/qemu.conf.
|
||||
insinto "/usr/share/qemu/binfmt.d"
|
||||
doins "${T}/qemu.conf"
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# This might not exist if the test failed. #512010
|
||||
[[ -e check-report.html ]] && dohtml check-report.html
|
||||
|
||||
if use kernel_linux; then
|
||||
udev_newrules "${FILESDIR}"/65-kvm.rules-r1 65-kvm.rules
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_foreach_impl qemu_python_install
|
||||
fi
|
||||
fi
|
||||
|
||||
cd "${S}/tools-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# Disable mprotect on the qemu binaries as they use JITs to be fast #459348
|
||||
pushd "${ED}"/usr/bin >/dev/null
|
||||
pax-mark mr "${softmmu_bins[@]}" "${user_bins[@]}" # bug 575594
|
||||
popd >/dev/null
|
||||
|
||||
# Install config file example for qemu-bridge-helper
|
||||
insinto "/etc/qemu"
|
||||
doins "${FILESDIR}/bridge.conf"
|
||||
|
||||
# Remove the docdir placed qmp-commands.txt
|
||||
mv "${ED}/usr/share/doc/${PF}/html/qmp-commands.txt" "${S}/docs/" || die
|
||||
|
||||
cd "${S}"
|
||||
dodoc Changelog MAINTAINERS docs/specs/pci-ids.txt
|
||||
newdoc pc-bios/README README.pc-bios
|
||||
dodoc docs/qmp-*.txt
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
# Remove SeaBIOS since we're using the SeaBIOS packaged one
|
||||
rm "${ED}/usr/share/qemu/bios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
|
||||
fi
|
||||
|
||||
# Remove vgabios since we're using the vgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/vgabios.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
|
||||
dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
|
||||
dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
|
||||
dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
|
||||
dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
|
||||
fi
|
||||
|
||||
# Remove sgabios since we're using the sgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/sgabios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
|
||||
fi
|
||||
|
||||
# Remove iPXE since we're using the iPXE packaged one
|
||||
rm "${ED}"/usr/share/qemu/pxe-*.rom
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../ipxe/8086100e.rom /usr/share/qemu/pxe-e1000.rom
|
||||
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
|
||||
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
|
||||
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
|
||||
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
|
||||
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
|
||||
fi
|
||||
fi
|
||||
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if [[ -n ${softmmu_targets} ]] && use kernel_linux; then
|
||||
udev_reload
|
||||
fi
|
||||
|
||||
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
|
||||
}
|
||||
|
||||
pkg_info() {
|
||||
echo "Using:"
|
||||
echo " $(best_version app-emulation/spice-protocol)"
|
||||
echo " $(best_version sys-firmware/ipxe)"
|
||||
echo " $(best_version sys-firmware/seabios)"
|
||||
if has_version 'sys-firmware/seabios[binary]'; then
|
||||
echo " USE=binary"
|
||||
else
|
||||
echo " USE=''"
|
||||
fi
|
||||
echo " $(best_version sys-firmware/vgabios)"
|
||||
}
|
@ -0,0 +1,762 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="ncurses,readline"
|
||||
|
||||
PLOCALES="bg de_DE fr_FR hu it tr zh_CN"
|
||||
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
|
||||
user udev fcaps readme.gentoo-r1 pax-utils l10n
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
|
||||
inherit git-r3
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||
HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="accessibility +aio alsa bluetooth bzip2 +caps +curl debug +fdt
|
||||
glusterfs gnutls gtk gtk2 infiniband iscsi +jpeg kernel_linux
|
||||
kernel_FreeBSD lzo ncurses nfs nls numa opengl +pin-upstream-blobs +png
|
||||
pulseaudio python rbd sasl +seccomp sdl sdl2 selinux smartcard snappy
|
||||
spice ssh static static-user systemtap tci test +threads usb usbredir
|
||||
vde +vhost-net virgl virtfs +vnc vte xattr xen xfs"
|
||||
|
||||
COMMON_TARGETS="aarch64 alpha arm cris i386 m68k microblaze microblazeel
|
||||
mips mips64 mips64el mipsel or32 ppc ppc64 s390x sh4 sh4eb sparc
|
||||
sparc64 x86_64"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS}
|
||||
lm32 moxie ppcemb tricore unicore32 xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS}
|
||||
armeb mipsn32 mipsn32el ppc64abi32 ppc64le sparc32plus tilegx"
|
||||
|
||||
use_softmmu_targets=$(printf ' qemu_softmmu_targets_%s' ${IUSE_SOFTMMU_TARGETS})
|
||||
use_user_targets=$(printf ' qemu_user_targets_%s' ${IUSE_USER_TARGETS})
|
||||
IUSE+=" ${use_softmmu_targets} ${use_user_targets}"
|
||||
|
||||
# Allow no targets to be built so that people can get a tools-only build.
|
||||
# Block USE flag configurations known to not work.
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||
gtk2? ( gtk )
|
||||
qemu_softmmu_targets_arm? ( fdt )
|
||||
qemu_softmmu_targets_microblaze? ( fdt )
|
||||
qemu_softmmu_targets_ppc? ( fdt )
|
||||
qemu_softmmu_targets_ppc64? ( fdt )
|
||||
sdl2? ( sdl )
|
||||
static? ( static-user !alsa !bluetooth !gtk !gtk2 !opengl !pulseaudio )
|
||||
virtfs? ( xattr )
|
||||
vte? ( gtk )"
|
||||
|
||||
# Dependencies required for qemu tools (qemu-nbd, qemu-img, qemu-io, ...)
|
||||
# and user/softmmu targets (qemu-*, qemu-system-*).
|
||||
#
|
||||
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
|
||||
#
|
||||
# The attr lib isn't always linked in (although the USE flag is always
|
||||
# respected). This is because qemu supports using the C library's API
|
||||
# when available rather than always using the extranl library.
|
||||
ALL_DEPEND="
|
||||
>=dev-libs/glib-2.0[static-libs(+)]
|
||||
>=x11-libs/pixman-0.28.0[static-libs(+)]
|
||||
sys-libs/zlib[static-libs(+)]
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
xattr? ( sys-apps/attr[static-libs(+)] )"
|
||||
|
||||
# Dependencies required for qemu tools (qemu-nbd, qemu-img, qemu-io, ...)
|
||||
# softmmu targets (qemu-system-*).
|
||||
SOFTMMU_TOOLS_DEPEND="
|
||||
accessibility? (
|
||||
app-accessibility/brltty[api]
|
||||
app-accessibility/brltty[static-libs(+)]
|
||||
)
|
||||
aio? ( dev-libs/libaio[static-libs(+)] )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
bzip2? ( app-arch/bzip2[static-libs(+)] )
|
||||
caps? ( sys-libs/libcap-ng[static-libs(+)] )
|
||||
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
|
||||
fdt? ( >=sys-apps/dtc-1.4.0[static-libs(+)] )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
|
||||
gnutls? (
|
||||
dev-libs/nettle:=[static-libs(+)]
|
||||
>=net-libs/gnutls-3.0:=[static-libs(+)]
|
||||
)
|
||||
gtk? (
|
||||
gtk2? (
|
||||
x11-libs/gtk+:2
|
||||
vte? ( x11-libs/vte:0 )
|
||||
)
|
||||
!gtk2? (
|
||||
x11-libs/gtk+:3
|
||||
vte? ( x11-libs/vte:2.91 )
|
||||
)
|
||||
)
|
||||
infiniband? ( sys-fabric/librdmacm:=[static-libs(+)] )
|
||||
iscsi? ( net-libs/libiscsi )
|
||||
jpeg? ( virtual/jpeg:0=[static-libs(+)] )
|
||||
lzo? ( dev-libs/lzo:2[static-libs(+)] )
|
||||
ncurses? (
|
||||
sys-libs/ncurses:0=[unicode]
|
||||
sys-libs/ncurses:0=[static-libs(+)]
|
||||
)
|
||||
nfs? ( >=net-fs/libnfs-1.9.3[static-libs(+)] )
|
||||
numa? ( sys-process/numactl[static-libs(+)] )
|
||||
opengl? (
|
||||
virtual/opengl
|
||||
media-libs/libepoxy[static-libs(+)]
|
||||
media-libs/mesa[static-libs(+)]
|
||||
media-libs/mesa[egl,gbm]
|
||||
)
|
||||
png? ( media-libs/libpng:0=[static-libs(+)] )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
rbd? ( sys-cluster/ceph[static-libs(+)] )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
|
||||
sdl? (
|
||||
!sdl2? (
|
||||
media-libs/libsdl[X]
|
||||
>=media-libs/libsdl-1.2.11[static-libs(+)]
|
||||
)
|
||||
sdl2? (
|
||||
media-libs/libsdl2[X]
|
||||
media-libs/libsdl2[static-libs(+)]
|
||||
)
|
||||
)
|
||||
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
|
||||
smartcard? ( >=app-emulation/libcacard-2.5.0[static-libs(+)] )
|
||||
snappy? ( app-arch/snappy[static-libs(+)] )
|
||||
spice? (
|
||||
>=app-emulation/spice-protocol-0.12.3
|
||||
>=app-emulation/spice-0.12.0[static-libs(+)]
|
||||
)
|
||||
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
|
||||
usb? ( >=virtual/libusb-1-r2[static-libs(+)] )
|
||||
usbredir? ( >=sys-apps/usbredir-0.6[static-libs(+)] )
|
||||
vde? ( net-misc/vde[static-libs(+)] )
|
||||
virgl? ( media-libs/virglrenderer[static-libs(+)] )
|
||||
virtfs? ( sys-libs/libcap )
|
||||
xen? ( app-emulation/xen-tools:= )
|
||||
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
|
||||
|
||||
X86_FIRMWARE_DEPEND="
|
||||
>=sys-firmware/ipxe-1.0.0_p20130624
|
||||
pin-upstream-blobs? (
|
||||
~sys-firmware/seabios-1.10.1
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
!pin-upstream-blobs? (
|
||||
sys-firmware/seabios
|
||||
sys-firmware/sgabios
|
||||
sys-firmware/vgabios
|
||||
)"
|
||||
|
||||
CDEPEND="
|
||||
!static? (
|
||||
${ALL_DEPEND//\[static-libs(+)]}
|
||||
${SOFTMMU_TOOLS_DEPEND//\[static-libs(+)]}
|
||||
)
|
||||
qemu_softmmu_targets_i386? ( ${X86_FIRMWARE_DEPEND} )
|
||||
qemu_softmmu_targets_x86_64? ( ${X86_FIRMWARE_DEPEND} )"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-lang/perl
|
||||
=dev-lang/python-2*
|
||||
sys-apps/texinfo
|
||||
virtual/pkgconfig
|
||||
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
|
||||
gtk? ( nls? ( sys-devel/gettext ) )
|
||||
static? (
|
||||
${ALL_DEPEND}
|
||||
${SOFTMMU_TOOLS_DEPEND}
|
||||
)
|
||||
static-user? ( ${ALL_DEPEND} )
|
||||
test? (
|
||||
dev-libs/glib[utils]
|
||||
sys-devel/bc
|
||||
)"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-qemu )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.5.0-cflags.patch
|
||||
"${FILESDIR}"/${PN}-2.5.0-sysmacros.patch
|
||||
"${FILESDIR}"/${PN}-2.7.0-CVE-2016-8669-1.patch #597108
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2016-9908.patch #601826
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2016-9912.patch #602630
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2016-10028.patch #603444
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2016-10155.patch #606720
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-5525-1.patch #606264
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-5525-2.patch
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-5552.patch #606722
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-5578.patch #607000
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-5579.patch #607100
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-5856.patch #608036
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-5857.patch #608038
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-5898.patch #608520
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-5973.patch #609334
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-5987.patch #609398
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-6505.patch #612220
|
||||
"${FILESDIR}"/${PN}-2.8.0-CVE-2017-7377.patch #614744
|
||||
)
|
||||
|
||||
STRIP_MASK="/usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/share/qemu/openbios-ppc
|
||||
usr/share/qemu/openbios-sparc64
|
||||
usr/share/qemu/openbios-sparc32
|
||||
usr/share/qemu/palcode-clipper
|
||||
usr/share/qemu/s390-ccw.img
|
||||
usr/share/qemu/u-boot.e500"
|
||||
|
||||
QA_WX_LOAD="usr/bin/qemu-i386
|
||||
usr/bin/qemu-x86_64
|
||||
usr/bin/qemu-alpha
|
||||
usr/bin/qemu-arm
|
||||
usr/bin/qemu-cris
|
||||
usr/bin/qemu-m68k
|
||||
usr/bin/qemu-microblaze
|
||||
usr/bin/qemu-microblazeel
|
||||
usr/bin/qemu-mips
|
||||
usr/bin/qemu-mipsel
|
||||
usr/bin/qemu-or32
|
||||
usr/bin/qemu-ppc
|
||||
usr/bin/qemu-ppc64
|
||||
usr/bin/qemu-ppc64abi32
|
||||
usr/bin/qemu-sh4
|
||||
usr/bin/qemu-sh4eb
|
||||
usr/bin/qemu-sparc
|
||||
usr/bin/qemu-sparc64
|
||||
usr/bin/qemu-armeb
|
||||
usr/bin/qemu-sparc32plus
|
||||
usr/bin/qemu-s390x
|
||||
usr/bin/qemu-unicore32"
|
||||
|
||||
DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure you have the
|
||||
kernel module loaded before running kvm. The easiest way to ensure that the
|
||||
kernel module is loaded is to load it on boot.
|
||||
For AMD CPUs the module is called 'kvm-amd'.
|
||||
For Intel CPUs the module is called 'kvm-intel'.
|
||||
Please review /etc/conf.d/modules for how to load these.
|
||||
|
||||
Make sure your user is in the 'kvm' group. Just run
|
||||
$ gpasswd -a <USER> kvm
|
||||
then have <USER> re-login.
|
||||
|
||||
For brand new installs, the default permissions on /dev/kvm might not let
|
||||
you access it. You can tell udev to reset ownership/perms:
|
||||
$ udevadm trigger -c add /dev/kvm
|
||||
|
||||
If you want to register binfmt handlers for qemu user targets:
|
||||
For openrc:
|
||||
# rc-update add qemu-binfmt
|
||||
For systemd:
|
||||
# ln -s /usr/share/qemu/binfmt.d/qemu.conf /etc/binfmt.d/qemu.conf"
|
||||
|
||||
pkg_pretend() {
|
||||
if use kernel_linux && kernel_is lt 2 6 25; then
|
||||
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
|
||||
elif use kernel_linux; then
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel for KVM support"
|
||||
else
|
||||
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
|
||||
ERROR_KVM="You must enable KVM in your kernel to continue"
|
||||
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
|
||||
ERROR_KVM_AMD+=" your kernel configuration."
|
||||
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
|
||||
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
|
||||
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
|
||||
ERROR_TUN+=" into your kernel or loaded as a module to use the"
|
||||
ERROR_TUN+=" virtual network device if using -net tap."
|
||||
ERROR_BRIDGE="You will also need support for 802.1d"
|
||||
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
|
||||
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
|
||||
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
|
||||
ERROR_VHOST_NET+=" support"
|
||||
|
||||
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
|
||||
CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
|
||||
fi
|
||||
|
||||
use python && CONFIG_CHECK+=" ~DEBUG_FS"
|
||||
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
fi
|
||||
fi
|
||||
|
||||
if grep -qs '/usr/bin/qemu-kvm' "${EROOT}"/etc/libvirt/qemu/*.xml; then
|
||||
eerror "The kvm/qemu-kvm wrappers no longer exist, but your libvirt"
|
||||
eerror "instances are still pointing to it. Please update your"
|
||||
eerror "configs in /etc/libvirt/qemu/ to use the -enable-kvm flag"
|
||||
eerror "and the right system binary (e.g. qemu-system-x86_64)."
|
||||
die "update your virt configs to not use qemu-kvm"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup kvm 78
|
||||
}
|
||||
|
||||
# Sanity check to make sure target lists are kept up-to-date.
|
||||
check_targets() {
|
||||
local var=$1 mak=$2
|
||||
local detected sorted
|
||||
|
||||
pushd "${S}"/default-configs >/dev/null || die
|
||||
|
||||
# Force C locale until glibc is updated. #564936
|
||||
detected=$(echo $(printf '%s\n' *-${mak}.mak | sed "s:-${mak}.mak::" | LC_COLLATE=C sort -u))
|
||||
sorted=$(echo $(printf '%s\n' ${!var} | LC_COLLATE=C sort -u))
|
||||
if [[ ${sorted} != "${detected}" ]] ; then
|
||||
eerror "The ebuild needs to be kept in sync."
|
||||
eerror "${var}: ${sorted}"
|
||||
eerror "$(printf '%-*s' ${#var} configure): ${detected}"
|
||||
die "sync ${var} to the list of targets"
|
||||
fi
|
||||
|
||||
popd >/dev/null
|
||||
}
|
||||
|
||||
handle_locales() {
|
||||
# Make sure locale list is kept up-to-date.
|
||||
local detected sorted
|
||||
detected=$(echo $(cd po && printf '%s\n' *.po | grep -v messages.po | sed 's:.po$::' | sort -u))
|
||||
sorted=$(echo $(printf '%s\n' ${PLOCALES} | sort -u))
|
||||
if [[ ${sorted} != "${detected}" ]] ; then
|
||||
eerror "The ebuild needs to be kept in sync."
|
||||
eerror "PLOCALES: ${sorted}"
|
||||
eerror " po/*.po: ${detected}"
|
||||
die "sync PLOCALES"
|
||||
fi
|
||||
|
||||
# Deal with selective install of locales.
|
||||
if use nls ; then
|
||||
# Delete locales the user does not want. #577814
|
||||
rm_loc() { rm po/$1.po || die; }
|
||||
l10n_for_each_disabled_locale_do rm_loc
|
||||
else
|
||||
# Cheap hack to disable gettext .mo generation.
|
||||
rm -f po/*.po
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
check_targets IUSE_SOFTMMU_TARGETS softmmu
|
||||
check_targets IUSE_USER_TARGETS linux-user
|
||||
|
||||
# Alter target makefiles to accept CFLAGS set via flag-o
|
||||
sed -i -r \
|
||||
-e 's/^(C|OP_C|HELPER_C)FLAGS=/\1FLAGS+=/' \
|
||||
Makefile Makefile.target || die
|
||||
|
||||
default
|
||||
|
||||
# Fix ld and objcopy being called directly
|
||||
tc-export AR LD OBJCOPY
|
||||
|
||||
# Verbose builds
|
||||
MAKEOPTS+=" V=1"
|
||||
|
||||
# Run after we've applied all patches.
|
||||
handle_locales
|
||||
}
|
||||
|
||||
##
|
||||
# configures qemu based on the build directory and the build type
|
||||
# we are using.
|
||||
#
|
||||
qemu_src_configure() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
local buildtype=$1
|
||||
local builddir="${S}/${buildtype}-build"
|
||||
|
||||
mkdir "${builddir}"
|
||||
|
||||
local conf_opts=(
|
||||
--prefix=/usr
|
||||
--sysconfdir=/etc
|
||||
--libdir=/usr/$(get_libdir)
|
||||
--docdir=/usr/share/doc/${PF}/html
|
||||
--disable-bsd-user
|
||||
--disable-guest-agent
|
||||
--disable-strip
|
||||
--disable-werror
|
||||
# We support gnutls/nettle for crypto operations. It is possible
|
||||
# to use gcrypt when gnutls/nettle are disabled (but not when they
|
||||
# are enabled), but it's not really worth the hassle. Disable it
|
||||
# all the time to avoid automatically detecting it. #568856
|
||||
--disable-gcrypt
|
||||
--python="${PYTHON}"
|
||||
--cc="$(tc-getCC)"
|
||||
--cxx="$(tc-getCXX)"
|
||||
--host-cc="$(tc-getBUILD_CC)"
|
||||
$(use_enable debug debug-info)
|
||||
$(use_enable debug debug-tcg)
|
||||
--enable-docs
|
||||
$(use_enable tci tcg-interpreter)
|
||||
$(use_enable xattr attr)
|
||||
)
|
||||
|
||||
# Disable options not used by user targets. This simplifies building
|
||||
# static user targets (USE=static-user) considerably.
|
||||
conf_notuser() {
|
||||
if [[ ${buildtype} == "user" ]] ; then
|
||||
echo "--disable-${2:-$1}"
|
||||
else
|
||||
use_enable "$@"
|
||||
fi
|
||||
}
|
||||
conf_opts+=(
|
||||
$(conf_notuser accessibility brlapi)
|
||||
$(conf_notuser aio linux-aio)
|
||||
$(conf_notuser bzip2)
|
||||
$(conf_notuser bluetooth bluez)
|
||||
$(conf_notuser caps cap-ng)
|
||||
$(conf_notuser curl)
|
||||
$(conf_notuser fdt)
|
||||
$(conf_notuser glusterfs)
|
||||
$(conf_notuser gnutls)
|
||||
$(conf_notuser gnutls nettle)
|
||||
$(conf_notuser gtk)
|
||||
$(conf_notuser infiniband rdma)
|
||||
$(conf_notuser iscsi libiscsi)
|
||||
$(conf_notuser jpeg vnc-jpeg)
|
||||
$(conf_notuser kernel_linux kvm)
|
||||
$(conf_notuser lzo)
|
||||
$(conf_notuser ncurses curses)
|
||||
$(conf_notuser nfs libnfs)
|
||||
$(conf_notuser numa)
|
||||
$(conf_notuser opengl)
|
||||
$(conf_notuser png vnc-png)
|
||||
$(conf_notuser rbd)
|
||||
$(conf_notuser sasl vnc-sasl)
|
||||
$(conf_notuser sdl)
|
||||
$(conf_notuser seccomp)
|
||||
$(conf_notuser smartcard)
|
||||
$(conf_notuser snappy)
|
||||
$(conf_notuser spice)
|
||||
$(conf_notuser ssh libssh2)
|
||||
$(conf_notuser usb libusb)
|
||||
$(conf_notuser usbredir usb-redir)
|
||||
$(conf_notuser vde)
|
||||
$(conf_notuser vhost-net)
|
||||
$(conf_notuser virgl virglrenderer)
|
||||
$(conf_notuser virtfs)
|
||||
$(conf_notuser vnc)
|
||||
$(conf_notuser vte)
|
||||
$(conf_notuser xen)
|
||||
$(conf_notuser xen xen-pci-passthrough)
|
||||
$(conf_notuser xfs xfsctl)
|
||||
)
|
||||
|
||||
if [[ ! ${buildtype} == "user" ]] ; then
|
||||
# audio options
|
||||
local audio_opts="oss"
|
||||
use alsa && audio_opts="alsa,${audio_opts}"
|
||||
use sdl && audio_opts="sdl,${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa,${audio_opts}"
|
||||
conf_opts+=(
|
||||
--audio-drv-list="${audio_opts}"
|
||||
)
|
||||
use gtk && conf_opts+=( --with-gtkabi=$(usex gtk2 2.0 3.0) )
|
||||
use sdl && conf_opts+=( --with-sdlabi=$(usex sdl2 2.0 1.2) )
|
||||
fi
|
||||
|
||||
case ${buildtype} in
|
||||
user)
|
||||
conf_opts+=(
|
||||
--enable-linux-user
|
||||
--disable-system
|
||||
--disable-blobs
|
||||
--disable-tools
|
||||
)
|
||||
local static_flag="static-user"
|
||||
;;
|
||||
softmmu)
|
||||
conf_opts+=(
|
||||
--disable-linux-user
|
||||
--enable-system
|
||||
--disable-tools
|
||||
--with-system-pixman
|
||||
)
|
||||
local static_flag="static"
|
||||
;;
|
||||
tools)
|
||||
conf_opts+=(
|
||||
--disable-linux-user
|
||||
--disable-system
|
||||
--disable-blobs
|
||||
--enable-tools
|
||||
)
|
||||
local static_flag="static"
|
||||
;;
|
||||
esac
|
||||
|
||||
local targets="${buildtype}_targets"
|
||||
[[ -n ${targets} ]] && conf_opts+=( --target-list="${!targets}" )
|
||||
|
||||
# Add support for SystemTAP
|
||||
use systemtap && conf_opts+=( --enable-trace-backend=dtrace )
|
||||
|
||||
# We always want to attempt to build with PIE support as it results
|
||||
# in a more secure binary. But it doesn't work with static or if
|
||||
# the current GCC doesn't have PIE support.
|
||||
if use ${static_flag}; then
|
||||
conf_opts+=( --static --disable-pie )
|
||||
else
|
||||
gcc-specs-pie && conf_opts+=( --enable-pie )
|
||||
fi
|
||||
|
||||
echo "../configure ${conf_opts[*]}"
|
||||
cd "${builddir}"
|
||||
../configure "${conf_opts[@]}" || die "configure failed"
|
||||
|
||||
# FreeBSD's kernel does not support QEMU assigning/grabbing
|
||||
# host USB devices yet
|
||||
use kernel_FreeBSD && \
|
||||
sed -i -E -e "s|^(HOST_USB=)bsd|\1stub|" "${S}"/config-host.mak
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local target
|
||||
|
||||
python_setup
|
||||
|
||||
softmmu_targets= softmmu_bins=()
|
||||
user_targets= user_bins=()
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
if use "qemu_softmmu_targets_${target}"; then
|
||||
softmmu_targets+=",${target}-softmmu"
|
||||
softmmu_bins+=( "qemu-system-${target}" )
|
||||
fi
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
if use "qemu_user_targets_${target}"; then
|
||||
user_targets+=",${target}-linux-user"
|
||||
user_bins+=( "qemu-${target}" )
|
||||
fi
|
||||
done
|
||||
|
||||
softmmu_targets=${softmmu_targets#,}
|
||||
user_targets=${user_targets#,}
|
||||
|
||||
[[ -n ${softmmu_targets} ]] && qemu_src_configure "softmmu"
|
||||
[[ -n ${user_targets} ]] && qemu_src_configure "user"
|
||||
qemu_src_configure "tools"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
default
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
default
|
||||
fi
|
||||
|
||||
cd "${S}/tools-build"
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
pax-mark m */qemu-system-* #515550
|
||||
emake -j1 check
|
||||
emake -j1 check-report.html
|
||||
fi
|
||||
}
|
||||
|
||||
qemu_python_install() {
|
||||
python_domodule "${S}/scripts/qmp/qmp.py"
|
||||
|
||||
python_doscript "${S}/scripts/kvm/vmxcap"
|
||||
python_doscript "${S}/scripts/qmp/qmp-shell"
|
||||
python_doscript "${S}/scripts/qmp/qemu-ga-client"
|
||||
}
|
||||
|
||||
# Generate binfmt support files.
|
||||
# - /etc/init.d/qemu-binfmt script which registers the user handlers (openrc)
|
||||
# - /usr/share/qemu/binfmt.d/qemu.conf (for use with systemd-binfmt)
|
||||
generate_initd() {
|
||||
local out="${T}/qemu-binfmt"
|
||||
local out_systemd="${T}/qemu.conf"
|
||||
local d="${T}/binfmt.d"
|
||||
|
||||
einfo "Generating qemu binfmt scripts and configuration files"
|
||||
|
||||
# Generate the debian fragments first.
|
||||
mkdir -p "${d}"
|
||||
"${S}"/scripts/qemu-binfmt-conf.sh \
|
||||
--debian \
|
||||
--exportdir "${d}" \
|
||||
--qemu-path "${EPREFIX}/usr/bin" \
|
||||
|| die
|
||||
# Then turn the fragments into a shell script we can source.
|
||||
sed -E -i \
|
||||
-e 's:^([^ ]+) (.*)$:\1="\2":' \
|
||||
"${d}"/* || die
|
||||
|
||||
# Generate the init.d script by assembling the fragments from above.
|
||||
local f qcpu package interpreter magic mask
|
||||
cat "${FILESDIR}"/qemu-binfmt.initd.head >"${out}" || die
|
||||
for f in "${d}"/qemu-* ; do
|
||||
source "${f}"
|
||||
|
||||
# Normalize the cpu logic like we do in the init.d for the native cpu.
|
||||
qcpu=${package#qemu-}
|
||||
case ${qcpu} in
|
||||
arm*) qcpu="arm";;
|
||||
mips*) qcpu="mips";;
|
||||
ppc*) qcpu="ppc";;
|
||||
s390*) qcpu="s390";;
|
||||
sh*) qcpu="sh";;
|
||||
sparc*) qcpu="sparc";;
|
||||
esac
|
||||
|
||||
cat <<EOF >>"${out}"
|
||||
if [ "\${cpu}" != "${qcpu}" -a -x "${interpreter}" ] ; then
|
||||
echo ':${package}:M::${magic}:${mask}:${interpreter}:'"\${QEMU_BINFMT_FLAGS}" >/proc/sys/fs/binfmt_misc/register
|
||||
fi
|
||||
EOF
|
||||
|
||||
echo ":${package}:M::${magic}:${mask}:${interpreter}:OC" >>"${out_systemd}"
|
||||
|
||||
done
|
||||
cat "${FILESDIR}"/qemu-binfmt.initd.tail >>"${out}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# Install binfmt handler init script for user targets.
|
||||
generate_initd
|
||||
doinitd "${T}/qemu-binfmt"
|
||||
|
||||
# Install binfmt/qemu.conf.
|
||||
insinto "/usr/share/qemu/binfmt.d"
|
||||
doins "${T}/qemu.conf"
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# This might not exist if the test failed. #512010
|
||||
[[ -e check-report.html ]] && dohtml check-report.html
|
||||
|
||||
if use kernel_linux; then
|
||||
udev_newrules "${FILESDIR}"/65-kvm.rules-r1 65-kvm.rules
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_foreach_impl qemu_python_install
|
||||
fi
|
||||
fi
|
||||
|
||||
cd "${S}/tools-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# Disable mprotect on the qemu binaries as they use JITs to be fast #459348
|
||||
pushd "${ED}"/usr/bin >/dev/null
|
||||
pax-mark mr "${softmmu_bins[@]}" "${user_bins[@]}" # bug 575594
|
||||
popd >/dev/null
|
||||
|
||||
# Install config file example for qemu-bridge-helper
|
||||
insinto "/etc/qemu"
|
||||
doins "${FILESDIR}/bridge.conf"
|
||||
|
||||
# Remove the docdir placed qmp-commands.txt
|
||||
mv "${ED}/usr/share/doc/${PF}/html/qmp-commands.txt" "${S}/docs/" || die
|
||||
|
||||
cd "${S}"
|
||||
dodoc Changelog MAINTAINERS docs/specs/pci-ids.txt
|
||||
newdoc pc-bios/README README.pc-bios
|
||||
dodoc docs/qmp-*.txt
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
# Remove SeaBIOS since we're using the SeaBIOS packaged one
|
||||
rm "${ED}/usr/share/qemu/bios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
|
||||
fi
|
||||
|
||||
# Remove vgabios since we're using the vgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/vgabios.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
|
||||
dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
|
||||
dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
|
||||
dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
|
||||
dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
|
||||
fi
|
||||
|
||||
# Remove sgabios since we're using the sgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/sgabios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
|
||||
fi
|
||||
|
||||
# Remove iPXE since we're using the iPXE packaged one
|
||||
rm "${ED}"/usr/share/qemu/pxe-*.rom
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../ipxe/8086100e.rom /usr/share/qemu/pxe-e1000.rom
|
||||
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
|
||||
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
|
||||
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
|
||||
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
|
||||
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
|
||||
fi
|
||||
fi
|
||||
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if [[ -n ${softmmu_targets} ]] && use kernel_linux; then
|
||||
udev_reload
|
||||
fi
|
||||
|
||||
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
|
||||
}
|
||||
|
||||
pkg_info() {
|
||||
echo "Using:"
|
||||
echo " $(best_version app-emulation/spice-protocol)"
|
||||
echo " $(best_version sys-firmware/ipxe)"
|
||||
echo " $(best_version sys-firmware/seabios)"
|
||||
if has_version 'sys-firmware/seabios[binary]'; then
|
||||
echo " USE=binary"
|
||||
else
|
||||
echo " USE=''"
|
||||
fi
|
||||
echo " $(best_version sys-firmware/vgabios)"
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST wine.eselect-1.0 18653 SHA256 d8cae88a4f02c27db7e6423ceb4f2cf248af7136d32abda18349b74fa5a293b4 SHA512 cf52c8f5e72efb722f84eb5475f44ef9471122898cf6703d534c7c550d89477904f3da7aab4617be62f84c2d2c6bd8b8e711928436145f8424029f11505b3b8f WHIRLPOOL 70014c35bdf71d95f7c1ecc5d18bfc7a405d869bdb29cf4869f80c17a1e435085242b9ad66867e577279074284918c07778c07087d9561c470f70b12188d2372
|
||||
EBUILD eselect-wine-1.0.ebuild 1285 SHA256 ba4f759e151feb24883a76d5ac182936ec985c3826ba456d6db17bcf60fa1d8a SHA512 fa7c5fa9fab06274d3c10f575d0f4c24edb052181899848f536e9da97f331941746344d37d9f36cc66c3605a81be614807183c5d9d35ce019d0cd8845c26ddb5 WHIRLPOOL 75f4a3701930f55e8e01a25029a779764b781e28bfa5f0a3c7029829d3b64072d1af5d4597c58819423c28eab29284b8e0109d56bdf18c59d5d4577e166ddeda
|
||||
DIST wine.eselect-1.1 18768 SHA256 e478ad4b7d51a064ab0ba5bd266d7c6a31f2bd6b24affbe67f03d76c932a628f SHA512 d7b17f826900cdc7bd55dae36e45b738862ca7d114fb8cf3cfd6bf887427ff7c462bb47475b61b704a206c92339bbbe6f9f6dcb2c20235d3148c8aae49006eda WHIRLPOOL df0463604bede4e6539b12e18ecaa9efa7a1e3638d211de416560590068b9c2e6eb97fe821335e54a0eceadbee1985712af2b864c8764fcf1ee4b37a1bcb4ae1
|
||||
EBUILD eselect-wine-1.1.ebuild 1285 SHA256 ba4f759e151feb24883a76d5ac182936ec985c3826ba456d6db17bcf60fa1d8a SHA512 fa7c5fa9fab06274d3c10f575d0f4c24edb052181899848f536e9da97f331941746344d37d9f36cc66c3605a81be614807183c5d9d35ce019d0cd8845c26ddb5 WHIRLPOOL 75f4a3701930f55e8e01a25029a779764b781e28bfa5f0a3c7029829d3b64072d1af5d4597c58819423c28eab29284b8e0109d56bdf18c59d5d4577e166ddeda
|
||||
MISC metadata.xml 349 SHA256 f1f4d5d798667fef577f3f1d02e49e812e8c8b2ca8e54896fd14dc7ea021d31e SHA512 6cf19c6d24c94eb55791c63d337d2b1061a70019e1826f9941bee27176686c5204d6a2f32a13aea962e8e2c5c5af9a39031fafaccaf709a44d519229bcbd7b48 WHIRLPOOL 7150334f10af7730eca36744116ef90781a4be12025da11dc6428c64a3e8188b2de812a25fcffc4073a6619641466117af8a72c932fc27f042c281d61330ebe9
|
||||
|
@ -1,6 +1,8 @@
|
||||
DIST translate-shell-0.9.4.tar.gz 68271 SHA256 bfc04124d2fde7924e6b5c3a11fdce7fbd2fdb1819c0b78c3fd0a7d36e330164 SHA512 27dd3efd7a6ec3761804d0583f4029fc1ca6fc1a920e939da1c9b8ec0742e4a3e0176f8a990b79639200592a3c5ed70723dc00890701ed67e7528454e4ff1357 WHIRLPOOL 9691ba473f1554313ffd23ac026e1eba50698491e3c2002a3506d74e87befb175b55a86aaec4b3118a92c7df6eb2ef32a4c94f89ed4e30b0700c40e518aaa36a
|
||||
DIST translate-shell-0.9.5.tar.gz 69030 SHA256 74bd84f48b0b2887949d954be4530c34faddf8605f936668f8e904bb3ab5712a SHA512 b304bfc59ec2f373e566d694ec3fabd35abf64c8d3ea956f34ee7592716204aa64c3113f4b994c34fd1dc16b61b8f5b074beae19646489317580c0352a2a6ac4 WHIRLPOOL 4bf792f286ffb780e65f12c080565b9d626631637d4fde120b73bdd33b641d4e918b96df670a2c7585a13c7864ea91cd5438d73bd6bc8c4a2e1ee47f848b4630
|
||||
DIST translate-shell-0.9.6.2.tar.gz 69544 SHA256 db0e322cd1361c45d0740049e11d349be61ada859d5daa59c53396d0ccbd5e4b SHA512 a7bd3fba43485a22c2fdd4261c24579b03aeafefa40863c3b8eb1c814a167b9a6f5700086c1cd411063c66c169875b96d2634ed04f45beb6d53b4725eb7fbea9 WHIRLPOOL 96ba55a3000d75ed88049bc6d700e87d93f0f30248930eb273a535e8a7a1cf01756d03b5e4e345e89e637124cb9c33897b1a3ca1899bbf928d8ccdffa40313b5
|
||||
EBUILD translate-shell-0.9.4.ebuild 699 SHA256 9c2f37fb978e9673f4ed99e5eb0958dab7e120800cbd3c3e8abba57b85ef9af9 SHA512 ccb7f3dc1231de298d4f1b6b9a4dc51f7dc17993c651096d5a47b7e77f108de33cd327cdb4394e7540ad4d92561acb9403905ff6d0f183a3df9e24af2ccf613b WHIRLPOOL fafa828629d99081a8e08dcfc133747311db65f26518d749783e728ac47db3539c59b6b2d779a9c57de45375cfaaa3bb32e0513598096f9080deb4c607bc9332
|
||||
EBUILD translate-shell-0.9.5.ebuild 699 SHA256 068958bd8d20194c580d2f4b4dd1d7b6acacef97d23a85038d09261e2fb80d43 SHA512 c5a1875e926719a064d41427ff770837e09fc897eecfd62caf407bec594ec9481d45867f3a08eb8a0e0ce8273f9ba280a4015a8cc63108bffae7246760882ec5 WHIRLPOOL 8f7fa92ce921142e69f21d069f446802547a4190ecf08acf68f24be53b6d4e6f5f1c0356f3d381bb0c2d434118f5e755b6a8f72d253dae4cb04936ba89cf1eac
|
||||
EBUILD translate-shell-0.9.6.2.ebuild 694 SHA256 893e0372ccbf17c46073919193fcd12f9be6e2295596ec5e721dcb16d0da7222 SHA512 9246fb2636169db79a4c4f14ef002b14e398985db146a5f0fddc34b97b9808b2ed20e114c305e42fe511435d36224417ee3b5fb2d7d26fecf23ed0304f92ff08 WHIRLPOOL fa324aca54135cd8062c2640a44eea020bc6def7dd154cfbce11177d99f0eaff6d0bf5a8af7fc7801b97c8dbce310c76f04196e31eaef8d822e8b7b4c1cedfca
|
||||
MISC ChangeLog 1244 SHA256 4cc6226646da7da4db59507154e0af507374d9d2cc2ef2960082fa4d8fba5c95 SHA512 07c5135912ec36c45358f0492f6fb572e9d0cebca542ca3b1ec56b8c181f92b90497432713369661f4ab14e9c0c358ec1219e94164b5951f97612cf0adfb58fb WHIRLPOOL fd1e9d68ffbafaa73633db40b8f9d3f7ed10d78786c2166e99e4d980e89b60eafd0c4fc33ce0976fd44c7e5939144939a821a0e61917c5599c103f4459386640
|
||||
MISC metadata.xml 940 SHA256 aee69180ba86c7505e14edbac48e66650c3718a735bba4d4bf78569537528216 SHA512 c7da103da336b89f0401ad273388acf9244ae65761cb43be81e5cd65516ed52cbdd1b92381f09761a254a3a40c7027d3b77b556638eaa52ceb56e6b1aabb6f8a WHIRLPOOL 15672a940070bc592e288a2c8dcbf83974fd5b9746b8568c7a24c69bf42daed9d672d7137bce361305639ead9e5d64d0eeee1c0eca418d3e158b9b35e754970b
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Online command-line translator"
|
||||
HOMEPAGE="https://www.soimort.org/translate-shell/"
|
||||
SRC_URI="https://github.com/soimort/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+curl +bidi test tts"
|
||||
|
||||
RDEPEND="
|
||||
app-misc/rlwrap
|
||||
>=sys-apps/gawk-4.0.2
|
||||
curl? ( net-misc/curl[ssl] )
|
||||
bidi? ( dev-libs/fribidi )
|
||||
tts? ( || (
|
||||
media-sound/mpg123
|
||||
app-accessibility/espeak
|
||||
media-video/mpv
|
||||
media-video/mplayer
|
||||
)
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( app-editors/emacs )
|
||||
"
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="${D}/usr" install
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
AUX carbon-c-relay.confd 362 SHA256 59585da9b3c72eb569bb5a736350e8fd7c397955682cf301fd3e261e658523f5 SHA512 39c4838e39c494ac70573f1d7202d7bf359a01903877eabac60f5576c288372897c72393322a3d991ae6bfc75f8275c178ead912321836f570b6535b9c53fa8e WHIRLPOOL 67edfb327a9d6d653ecc0e6319616be839cd5f8181aa88a93d486514620426c5ef8590f659501336a55754c1525fae4c92a61a9942ebc5a4746c0be29f20032b
|
||||
AUX carbon-c-relay.initd 1678 SHA256 c3296fc3944080e88059967646f4d88a1bbd8b3e2c4fa9a0b2e9224c73ec4613 SHA512 5a3415395affe6c4e315c650733d8e335d5fa8e490ffeba8dc7c944976f3b68ca14e801175a2136499b00fa6adf403428ae509cb9c3596b6a3188ef20d09c575 WHIRLPOOL dc413e1b2fb77919e688bf5ec91e4afa434ca6fdb466f432621bc7455f7dac7ad5b45753a11bcf5a64e06941569fce26c611d541bf91910b72d58c8b096e0bcc
|
||||
DIST carbon-c-relay-2.3.tar.gz 99098 SHA256 06c2ac565d4d24deb88b6ac1c407890522da853845bfc9576abd16a96478a6d2 SHA512 9ca0449c9014c7b63c84ae1625a99a52608788e9894f6e002537b818e1f796d04e1897e7f81b8f673935e33d59f64b9bd9bacddee307bd56e4cda44d703df737 WHIRLPOOL c6c4f31cdf1dfdb4ffa99327a3cafd45af05955789b1f7d2d7506a6ff440dd8870fa23fb111c0ef7412935cac5a1ea22c1f4921e0ab2bd600269d5b75ef9198d
|
||||
DIST carbon-c-relay-2.5.tar.gz 102119 SHA256 6d3c538aacd08e9798e294d56b98854fdafe1b3a1d0d8118a406a2d8fe6aad5b SHA512 0b3b04003cda761816ea4bbe9d441366438c8507702f157504b21b66c9ef9b1e135239e6627d3dd3d371c023d71f2cd97ba45bc2ff6296a4998e06bdda219ea3 WHIRLPOOL dc73f9e001217ebbc84bc603fe94bdbf34a8039c65f3d1612c31a2e5de0fe8cb6a5c9db5bb7e79681daf567033b5ee2534a844f9e6d3315ca50f2ab0f1d5befa
|
||||
DIST carbon-c-relay-2.6.tar.gz 103576 SHA256 580ec4629ab63288ba73259a8b98300d649e253ac940c0343e009ed5c454053f SHA512 652cde8b70118af43d90f053cfc54d458abcacbe63a8f1fffe97df76d3ce956c6903132bc39a6d0bda10406e929bcaed49f8c6285e4de7b4c047b5420b7ec446 WHIRLPOOL faf2d936acfb7a7eddb9fcf50d62ad32560bbca7e998dd327c5473a38faaba5c55713d2c3c243f121a790a5dd001169e38bffc9be8c25a1c292082c3bf176b8b
|
||||
EBUILD carbon-c-relay-2.3.ebuild 763 SHA256 7ad02cd7fc2dced6013b43f0df43e55aded1b6f7b12defa592f8810cd37ac19b SHA512 8cca8f6d513a05a3101c23fc1b5ef990015999a4b2457772e316e648a05ca3300731078b319ed4862a0e2b2939ad495cf606b06b51830b16f76a492800d41c9f WHIRLPOOL 92de1ac6402eeb37e32f311f8638f1f862462d79b8b5b06ac9dddc34f80155c8df1bd7d79dade7f32f4fba16393f53fa4bb6e95e02a10cd55987ba39fcacdf41
|
||||
DIST carbon-c-relay-3.0.tar.gz 153479 SHA256 5ae673ed0091a814bc8d6081ff14cfbbda7582fa0c8ccf1a5cf438ba84c2b585 SHA512 046dd19be1791eaf2b50bd7029f0bbe8ad0805113faf9a80b37571c42d76c0f7661a9273876de8cd5bf1d13fdc8133a8eaf9def28dd8077bf667225726797fdc WHIRLPOOL f349475179f762a226c87c87fe12e5b43be4fbff36ed12292c5461e65cbf1a814108daa4e0bd6946b077c230656372e6190fc657136cf6e4fa541e4636dc9b8d
|
||||
EBUILD carbon-c-relay-2.5.ebuild 763 SHA256 3b1788afdd5dab301b221b01cee8807a1f4e63742e0b0ad9b1680624ec58edaa SHA512 f8836f0b85480498ec316e1e356e2c06038f7cd98f80519d7734b3ec4d41113a6ba0f67a4740b2244ccbbf60a643c94dcd9be20d15efa44bfe60f362c9b8d770 WHIRLPOOL 40e0a34012176a16bab0a0f6c889e871ee2c42b8c5c3fa2b41e844a2d4f9dd58507878e5e6ae813b82fda8a3fffc8f0f6c26e575f23f6c002973b148665aeaac
|
||||
EBUILD carbon-c-relay-2.6.ebuild 763 SHA256 3b1788afdd5dab301b221b01cee8807a1f4e63742e0b0ad9b1680624ec58edaa SHA512 f8836f0b85480498ec316e1e356e2c06038f7cd98f80519d7734b3ec4d41113a6ba0f67a4740b2244ccbbf60a643c94dcd9be20d15efa44bfe60f362c9b8d770 WHIRLPOOL 40e0a34012176a16bab0a0f6c889e871ee2c42b8c5c3fa2b41e844a2d4f9dd58507878e5e6ae813b82fda8a3fffc8f0f6c26e575f23f6c002973b148665aeaac
|
||||
EBUILD carbon-c-relay-3.0.ebuild 763 SHA256 3b1788afdd5dab301b221b01cee8807a1f4e63742e0b0ad9b1680624ec58edaa SHA512 f8836f0b85480498ec316e1e356e2c06038f7cd98f80519d7734b3ec4d41113a6ba0f67a4740b2244ccbbf60a643c94dcd9be20d15efa44bfe60f362c9b8d770 WHIRLPOOL 40e0a34012176a16bab0a0f6c889e871ee2c42b8c5c3fa2b41e844a2d4f9dd58507878e5e6ae813b82fda8a3fffc8f0f6c26e575f23f6c002973b148665aeaac
|
||||
MISC ChangeLog 5651 SHA256 225cfa30da5b142e679f76ae622e5ebfe44d3c0e0f5c121e2e5f3770bcfa965d SHA512 4e64882411923e4f7e288988f590d4a3975413c2f1bb8baf16cc1146763eec60efc0cb28e05d8d9c9a23ec08f8a712aaefc537f66af3806106677e464281289b WHIRLPOOL 4324b314f2145d9177a844548bd8eb679d5ca9bba2d39e29cabb55a6b49217e633b41e2c899fc53386e1f41fe533b274d2f83e847c9081643a00200cc4e875fb
|
||||
MISC ChangeLog-2015 2171 SHA256 b82d3b5c6ce6bd8756f7d98dd2b905f5a341cdc744064db88cd72fff94f2f8f0 SHA512 4948557084548138e005af3a72428c07aec2dd7ee1535e834a3a30ac1ddf7c6f638181bc7074dd4544da22da4397f6ab434f50bf2aa0c494f3ab11b92dac3d76 WHIRLPOOL 5f7325c694d1fadc31d831f62c3413d289c7c092af61f5ca53944a759203badf7f2c9c5a35b36d47738dde31162508220c07304d2752b56ed7a07b2bb9002d28
|
||||
MISC metadata.xml 313 SHA256 24ccb0b4ebc32dcd26652eee575bd2834175813c338dbdb203b45e828676d0de SHA512 df24381507480f808a47e0b8477f9f407d85a113fd6a8f6a100fd96fc2011f3a6d7cfc7bcf520e3254f604878b5bdd1672d92fc4969da0becc5e96da520d2ad7 WHIRLPOOL a54cfdcec88940275365ae60407b6fdddc384755dc0cc5e000222f859bf14c33e7a7b59f9615ca75d68c6f91a43f1243ef529cdcda20c21a360a1dfb750e96b6
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
@ -1,5 +1,6 @@
|
||||
EBUILD prefix-chain-setup-0.5.ebuild 6092 SHA256 40e3567bfa308232625ae87a1284fc6b3ec70a009ae5b65a5b9b5b2380e6936e SHA512 0615e9e39ce76aedd0c682ba098770c1a209ac92d849bbb702fc76091c3999dfc88aa1e8fab9cbe029f1a30f0eb1dcd7601add4b8f8de318bf76e3193010a36c WHIRLPOOL f8f7d345b3b1fd65e6dac678f787f7fe6f76304aede9cef9919e935c933477f3c4fdeee6013b957b427e0b3b7a48c6725bbd6d0fd19cd972dd4a32a93efd5e44
|
||||
EBUILD prefix-chain-setup-0.6.ebuild 6123 SHA256 298b8cb6b57c95eb69f3188e724a55b91e2bf1faa37bedcde306d3412fd8e8e2 SHA512 300c8ad213b746d5c62d07bbb918c6a3370184221d57b5dd3b19ea475c00aa22a7e0acf75cf40b8eab04e71e1fb58562c073964e7c77b747860c947cba15d602 WHIRLPOOL 8d615edd03c30ff3dd32d64c08aeb54a44ae4f3190c7edac5d1459824dc65db8e8a8c71c49f05ff95cd0253790f25ad154af179e360d5efdcfced4d5f8da7ead
|
||||
EBUILD prefix-chain-setup-0.7.ebuild 6577 SHA256 e344210f76957951f7c74c92896a0887bf5a72428c8de399079b76b15a588ecb SHA512 970799e19c57158fcaffe6af84bdebb0b28466014454d5987bffe40cbfe2605fbe948deb5c924ba70b1ad1abd72afbeff5c7605b48091d121535e9acce67294f WHIRLPOOL b982f622049d52e95d42a61cdf8bc24276064d189c0b7b986c82605267d155cafa6f3f6c954a2ceb975f9962668c611e314902be56fb7d8fdbfb005c9a2b6eef
|
||||
MISC ChangeLog 2663 SHA256 f890acb2155ae94ba9cbf54ad58453ffdd1f70f1217735826302676f12759fc4 SHA512 4c0d894163a995d953fdb349eee7a4ed4f78c0e432affe0f5276da8cb87efafff64e46424f30b802a306a70a272e0cf909074975184cdf26881376312ae95432 WHIRLPOOL 599e93c6065f2851d5b216d8e831540e9e7742d04373c8877bc373f2af8df4ad64fd3db7b2b08af3e10ecedb08ebb2e7c16cb774e1aca5cd4052f414bdb0b70a
|
||||
MISC ChangeLog-2015 1566 SHA256 d16bc55408e0c2d99fc83fe70c374312f6b8f05abf19a948f51ff74af2f21bbc SHA512 eddb0024e9d9d6720a63cc3552290b1d6254dc66be3e7f50aa30b5980c3f9625a6dc71b4afde440e5beafdad954064e41fc9ec0846aee2cbfbe83e9fd659d629 WHIRLPOOL 08ddd55cfd3c2a7db491c349e0178cdcd95b7b79f30a50990d805cbb272e79ccdd46cb92551470a07b59075eb0a197ca19fbde5308d46853c5ffeff281bf2c0f
|
||||
MISC metadata.xml 243 SHA256 acb891975882d2b75bb5a1a76063f1d61ad1d96c799548e7f141e1623a0cc57e SHA512 8489be9ea6eac385511b0d193b1b61fad9c8e0d4cb86fd711e6faf04e66b2c935ae64ce6ce0a044d036e76de6787e5d440d67f831e89261a71e74b645a0999d9 WHIRLPOOL e06d2acbfdb38aa17edb0da41bcafece9c9a5d0542c9192ee3b74ae0b6250d24fb096e3a153f6a215a29d3dd7c5794f2c67f0917db3aa3f1cc65e86ea27e228f
|
||||
|
@ -0,0 +1,238 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit prefix
|
||||
|
||||
DESCRIPTION="Chained EPREFIX bootstrapping utility"
|
||||
HOMEPAGE="https://prefix.gentoo.org/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
eprefixify ${PN}
|
||||
sed -e "s,@GENTOO_PORTAGE_CHOST@,${CHOST}," -i ${PN}
|
||||
dobin ${PN}
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
{ cat > "${PN}" || die; } <<'EOF'
|
||||
#!/usr/bin/env bash
|
||||
|
||||
PARENT_EPREFIX="@GENTOO_PORTAGE_EPREFIX@"
|
||||
PARENT_CHOST="@GENTOO_PORTAGE_CHOST@"
|
||||
CHILD_EPREFIX=
|
||||
CHILD_PROFILE=
|
||||
DO_MINIMAL=no
|
||||
DO_SOURCES=no
|
||||
PORT_TMPDIR=
|
||||
|
||||
#
|
||||
# get ourselfs the functions.sh script for ebegin/eend/etc.
|
||||
#
|
||||
for f in \
|
||||
/lib/gentoo/functions.sh \
|
||||
/etc/init.d/functions.sh \
|
||||
/sbin/functions.sh \
|
||||
; do
|
||||
if [[ -r ${PARENT_EPREFIX}${f} ]]; then
|
||||
. "${PARENT_EPREFIX}${f}"
|
||||
f=found
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ ${f} != found ]]; then
|
||||
echo "Cannot find Gentoo functions, aborting." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for arg in "$@"; do
|
||||
case "${arg}" in
|
||||
--eprefix=*) CHILD_EPREFIX="${arg#--eprefix=}" ;;
|
||||
--profile=*) CHILD_PROFILE="${arg#--profile=}" ;;
|
||||
--sources) DO_SOURCES=yes ;;
|
||||
--portage-tmpdir=*) PORT_TMPDIR="${arg#--portage-tmpdir=}" ;;
|
||||
|
||||
--help)
|
||||
einfo "$0 usage:"
|
||||
einfo " --eprefix=[PATH] Path to new EPREFIX to create chained to the prefix"
|
||||
einfo " where this script is installed (${PARENT_EPREFIX})"
|
||||
einfo " --profile=[PATH] The absolute path to the profile to use. This path"
|
||||
einfo " must point to a directory within ${PARENT_EPREFIX}"
|
||||
einfo " --sources inherit 'source' statements from the parent make.conf"
|
||||
einfo " --portage-tmpdir=DIR use DIR as portage temporary directory."
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
#
|
||||
# sanity check of given values
|
||||
#
|
||||
|
||||
test -n "${CHILD_EPREFIX}" || { eerror "no eprefix argument given"; exit 1; }
|
||||
test -d "${CHILD_EPREFIX}" && { eerror "${CHILD_EPREFIX} already exists"; exit 1; }
|
||||
test -n "${CHILD_PROFILE}" || { eerror "no profile argument given"; exit 1; }
|
||||
test -d "${CHILD_PROFILE}" || { eerror "${CHILD_PROFILE} does not exist"; exit 1; }
|
||||
if test -n "${PORT_TMPDIR}"; then
|
||||
if ! test -d "${PORT_TMPDIR}"; then
|
||||
einfo "creating temporary directory ${PORT_TMPDIR}"
|
||||
mkdir -p "${PORT_TMPDIR}"
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "creating chained prefix ${CHILD_EPREFIX}"
|
||||
|
||||
#
|
||||
# functions needed below.
|
||||
#
|
||||
eend_exit() {
|
||||
eend $1
|
||||
[[ $1 != 0 ]] && exit 1
|
||||
}
|
||||
|
||||
#
|
||||
# create the directories required to bootstrap the least.
|
||||
#
|
||||
ebegin "creating directory structure"
|
||||
(
|
||||
set -e
|
||||
mkdir -p "${CHILD_EPREFIX}"/etc/portage/profile/use.mask
|
||||
mkdir -p "${CHILD_EPREFIX}"/etc/portage/profile/use.force
|
||||
mkdir -p "${CHILD_EPREFIX}"/var/log
|
||||
)
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# create a make.conf and set PORTDIR and PORTAGE_TMPDIR
|
||||
#
|
||||
ebegin "creating make.conf"
|
||||
(
|
||||
set -e
|
||||
echo "#"
|
||||
echo "# The following values where taken from the parent prefix's"
|
||||
echo "# environment. Feel free to adopt them as you like."
|
||||
echo "#"
|
||||
echo "CFLAGS=\"$(portageq envvar CFLAGS)\""
|
||||
echo "CXXFLAGS=\"$(portageq envvar CXXFLAGS)\""
|
||||
echo "MAKEOPTS=\"$(portageq envvar MAKEOPTS)\""
|
||||
niceness=$(portageq envvar PORTAGE_NICENESS || true)
|
||||
[[ -n ${niceness} ]] &&
|
||||
echo "PORTAGE_NICENESS=\"${niceness}\""
|
||||
echo "USE=\"prefix-chain\""
|
||||
echo
|
||||
echo "# Mirrors from parent prefix."
|
||||
echo "GENTOO_MIRRORS=\"$(portageq envvar GENTOO_MIRRORS || true)\""
|
||||
echo
|
||||
echo "#"
|
||||
echo "# Below comes the chained-prefix setup. Only change things"
|
||||
echo "# if you know exactly what you are doing!"
|
||||
echo "# by default, only DEPEND is inherited from the parent in"
|
||||
echo "# the chain. if you want more, make it a comma seperated"
|
||||
echo "# list - like this: DEPEND,RDEPEND,PDEPEN - which would the"
|
||||
echo "# all that is possible"
|
||||
echo "#"
|
||||
echo "PORTDIR=\"$(portageq envvar PORTDIR)\""
|
||||
echo "SYNC=\"$(portageq envvar SYNC || true)\""
|
||||
if test -z "${PORT_TMPDIR}"; then
|
||||
case "${CHILD_PROFILE}" in
|
||||
*winnt*) echo "PORTAGE_TMPDIR=/var/tmp" ;;
|
||||
*) echo "PORTAGE_TMPDIR=\"${CHILD_EPREFIX}/var/tmp\"" ;;
|
||||
esac
|
||||
else
|
||||
echo "PORTAGE_TMPDIR=\"${PORT_TMPDIR}\""
|
||||
fi
|
||||
echo "READONLY_EPREFIX=\"${PARENT_EPREFIX}:DEPEND\""
|
||||
|
||||
if test "${DO_SOURCES}" == "yes"; then
|
||||
# don't fail if nothing found
|
||||
for f in /etc/portage/make.conf /etc/make.conf; do
|
||||
if [[ -r ${PARENT_EPREFIX}${f} ]]; then
|
||||
egrep "^source .*" "${PARENT_EPREFIX}${f}" 2>/dev/null || true
|
||||
break;
|
||||
fi
|
||||
done
|
||||
fi
|
||||
) > "${CHILD_EPREFIX}"/etc/portage/make.conf
|
||||
eend_exit $?
|
||||
|
||||
ebegin "creating profile/use.mask"
|
||||
cat > "${CHILD_EPREFIX}"/etc/portage/profile/use.mask/prefix-chain-setup <<-'EOM'
|
||||
# masked in base profile, unmask here
|
||||
-prefix-chain
|
||||
EOM
|
||||
eend_exit $?
|
||||
|
||||
ebegin "creating profile/use.force"
|
||||
cat > "${CHILD_EPREFIX}"/etc/portage/profile/use.force/prefix-chain-setup <<-'EOM'
|
||||
# masked in base profile, force here
|
||||
prefix-chain
|
||||
EOM
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# create the make.profile symlinks.
|
||||
#
|
||||
ebegin "creating make.profile"
|
||||
(
|
||||
ln -s "${CHILD_PROFILE}" "${CHILD_EPREFIX}/etc/portage/make.profile"
|
||||
)
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# adjust permissions of generated files.
|
||||
#
|
||||
ebegin "adjusting permissions"
|
||||
(
|
||||
chmod 644 "${CHILD_EPREFIX}"/etc/portage/make.conf
|
||||
)
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# now merge some basics.
|
||||
#
|
||||
ebegin "installing required basic packages"
|
||||
(
|
||||
# this -pv is there to avoid the global update output, which is
|
||||
# there on the first emerge run. (thus, just cosmetics).
|
||||
PORTAGE_CONFIGROOT="${CHILD_EPREFIX}" EPREFIX="${CHILD_EPREFIX}" emerge -p1qO baselayout-prefix > /dev/null 2>&1
|
||||
|
||||
set -e
|
||||
PORTAGE_CONFIGROOT="${CHILD_EPREFIX}" EPREFIX="${CHILD_EPREFIX}" emerge -1qO \
|
||||
gentoo-functions baselayout-prefix gnuconfig prefix-chain-utils
|
||||
|
||||
# merge with the parent's chost. this forces the use of the parent
|
||||
# compiler, which generally would be illegal - this is an exception.
|
||||
# This is required for example on winnt, because the wrapper has to
|
||||
# be able to use/resolve symlinks, etc. native winnt binaries miss that
|
||||
# ability, but interix binaries don't.
|
||||
PORTAGE_CONFIGROOT="${CHILD_EPREFIX}" EPREFIX="${CHILD_EPREFIX}" CHOST="${PARENT_CHOST}" emerge -1qO gcc-config
|
||||
|
||||
# select the chain wrapper profile from gcc-config
|
||||
env -i "$(type -P bash)" "${CHILD_EPREFIX}"/usr/bin/gcc-config 1
|
||||
|
||||
# do this _AFTER_ selecting the correct compiler!
|
||||
PORTAGE_CONFIGROOT="${CHILD_EPREFIX}" EPREFIX="${CHILD_EPREFIX}" emerge -1qO libtool
|
||||
)
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# wow, all ok :)
|
||||
#
|
||||
ewarn
|
||||
ewarn "all done. don't forget to tune ${CHILD_EPREFIX}/etc/portage/make.conf."
|
||||
ewarn "to enter the new prefix, run \"${CHILD_EPREFIX}/startprefix\"."
|
||||
ewarn
|
||||
EOF
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST docbook-xsl-1.79.1.tar.bz2 21967928 SHA256 725f452e12b296956e8bfb876ccece71eeecdd14b94f667f3ed9091761a4a968 SHA512 83325cbaf1545da6b9b8b77f5f0e6fdece26e3c455164b300a1aa3d19e3bd29ae71fd563553a714a5394968d1a65684c6c7987c77524469358d18b8c227025c7 WHIRLPOOL 3bd03072aba15cda9e7a18cb6c1edfc91cdb706811fd07d5aa69df1ffd5a48394848079cf63c67360104f0c0ec89920268b49d358c62bf5f61d6030938be0a0f
|
||||
EBUILD docbook-xsl-stylesheets-1.79.1-r1.ebuild 2126 SHA256 021405d2d26b64eeff23b083da3c2becaab13f73bfc445e906b67f82df7eb9fb SHA512 16c047b0a037b48e8ee3b80191086c48a6891b82c3dffdb9dbd1abc76e0a9549999d1ceb85c959b08a75e5d88ea16f0b18183acbe88d58bf9a0f31c59ed1c4cc WHIRLPOOL f97931736155064c7959a7f465460be87afb2148feb3985adffbcf857230e2e5259fa3b4bb8c6308460e9c71650efe819e2933a02000d806185c4481b085baf2
|
||||
EBUILD docbook-xsl-stylesheets-1.79.1-r1.ebuild 2122 SHA256 07b4a9ab8ddd956d3cd903937ec86fd6074640b55267064d847473303d09c3b4 SHA512 69c1f46596e62747f2011d69def968960f8243393998b5897f83dd4a641931e25dfe496ae502ee5c83714bc887b5c8023b8f208b1b3897d6f472eae134c2b2b3 WHIRLPOOL 48d318e0bd0b26b9c204909671ecb012d814939f6f8c31a5d14e1eff8e1e9fdf868fe307682b51546f7a9c78042c97e25c9b7ea12b02825d485ffb4ba433b3c0
|
||||
MISC ChangeLog 6412 SHA256 4100cad59ade8d958d25869c216b36e624b0213d0caf75884139d2f615bfe2cb SHA512 709cea232603969d2eafe2eda9f4458dff6985ef56addc0c68a66af524533b255a171770cd324b1012c10503408343b245f7c037809db32e4d9ea5e939f16f60 WHIRLPOOL 8f8f7c0825a10fecb5813e78520977148fd21743e349cf6e342a0479352d159c5f37f2b85a182024a36b348c8fbb58b835998241f31ec24de76a937f4eb8b2f1
|
||||
MISC ChangeLog-2015 21798 SHA256 4623f854e4c43c60f894bd3f6d4ff4475857408493097d9bfd0295a3a61bd939 SHA512 08d90bd46c16548a31fa2b8406e69ea3901ad8d29242bf2571af99eec1fe95e24129789757a62b116986951e6d386dbf6e3be0fa991c3c1ede07cee87232cf42 WHIRLPOOL 87d9c3efd7f2574951297a67a90bb036c11b7dc452ad35993a78bb201214d63ad70c11770a6f1c434894711c5613ebccb6a22971393bc2bcbb0c5ac5e3a0fb53
|
||||
MISC metadata.xml 421 SHA256 968d1dab6c82064188793b82a79bea3413049d3ffa0cb91938672435fd5f494c SHA512 eecf30c4aa114f3b067b5761907fdcc52994b59e675eff946eae1e72ff26c7e17f9e7afd9ae78888e455a49ef29bef2688ea35e1da4f2251df1c6a62eaf769b6 WHIRLPOOL cba0627740529f5d450c8deb968999f67643a466714cd44f0a3910a177f1a0c079b6b98ff0b449c7f0db5a3b73f577d8292c29809cd4a232593b1076c9c4f3df
|
||||
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa"
|
||||
HOMEPAGE="http://www.xs4all.nl/~waterlan/dos2unix.html https://sourceforge.net/projects/dos2unix/"
|
||||
SRC_URI="
|
||||
http://www.xs4all.nl/~waterlan/${PN}/${P}.tar.gz
|
||||
mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
|
||||
IUSE="debug nls test"
|
||||
|
||||
RDEPEND="
|
||||
!app-text/hd2u
|
||||
virtual/libintl"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
test? ( virtual/perl-Test-Simple )
|
||||
dev-lang/perl"
|
||||
|
||||
src_prepare() {
|
||||
sed \
|
||||
-e '/^LDFLAGS/s|=|+=|' \
|
||||
-e '/CFLAGS_OS \+=/d' \
|
||||
-e '/LDFLAGS_EXTRA \+=/d' \
|
||||
-e "/^CFLAGS/s|-O2|${CFLAGS}|" \
|
||||
-i Makefile || die
|
||||
|
||||
if use debug ; then
|
||||
sed -e "/^DEBUG/s:0:1:" \
|
||||
-e "/EXTRA_CFLAGS +=/s:-g::" \
|
||||
-i Makefile || die
|
||||
fi
|
||||
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
lintl() {
|
||||
# same logic as from virtual/libintl
|
||||
use !elibc_glibc && use !elibc_uclibc && echo "-lintl"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake prefix="${EPREFIX}/usr" \
|
||||
$(usex nls "LDFLAGS_EXTRA=$(lintl)" "ENABLE_NLS=")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" prefix="${EPREFIX}/usr" \
|
||||
$(usex nls "" "ENABLE_NLS=") install
|
||||
}
|
@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PLOCALES="da de eo es fr hu ja nb nl pl pt_BR ru sr sv uk vi zh_CN zh_TW"
|
||||
|
||||
inherit l10n toolchain-funcs
|
||||
|
||||
DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa"
|
||||
HOMEPAGE="http://www.xs4all.nl/~waterlan/dos2unix.html https://sourceforge.net/projects/dos2unix/"
|
||||
SRC_URI="
|
||||
http://www.xs4all.nl/~waterlan/${PN}/${P}.tar.gz
|
||||
mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
|
||||
IUSE="debug nls test"
|
||||
|
||||
RDEPEND="
|
||||
!app-text/hd2u
|
||||
virtual/libintl"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
test? ( virtual/perl-Test-Simple )
|
||||
dev-lang/perl"
|
||||
|
||||
handle_locales() {
|
||||
# Make sure locale list is kept up-to-date.
|
||||
local detected sorted
|
||||
detected=$(echo $(printf '%s\n' */*.po | sed -e 's:.*/::' -e 's:.po$::' | sort -u))
|
||||
sorted=$(echo $(printf '%s\n' ${PLOCALES} | sort -u))
|
||||
if [[ ${sorted} != "${detected}" ]] ; then
|
||||
eerror "The ebuild needs to be kept in sync."
|
||||
eerror "PLOCALES: ${sorted}"
|
||||
eerror "po*/*.po: ${detected}"
|
||||
die "sync PLOCALES"
|
||||
fi
|
||||
|
||||
# Deal with selective install of locales.
|
||||
rm_loc() { rm po*/$1.po || die; }
|
||||
l10n_for_each_disabled_locale_do rm_loc
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
handle_locales
|
||||
|
||||
sed \
|
||||
-e '/^LDFLAGS/s|=|+=|' \
|
||||
-e '/CFLAGS_OS \+=/d' \
|
||||
-e '/LDFLAGS_EXTRA \+=/d' \
|
||||
-e "/^CFLAGS/s|-O2|${CFLAGS}|" \
|
||||
-i Makefile || die
|
||||
|
||||
if use debug ; then
|
||||
sed -e "/^DEBUG/s:0:1:" \
|
||||
-e "/EXTRA_CFLAGS +=/s:-g::" \
|
||||
-i Makefile || die
|
||||
fi
|
||||
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
lintl() {
|
||||
# same logic as from virtual/libintl
|
||||
use !elibc_glibc && use !elibc_uclibc && use !elibc_musl && echo "-lintl"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake prefix="${EPREFIX}/usr" \
|
||||
$(usex nls "LDFLAGS_EXTRA=$(lintl)" "ENABLE_NLS=")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" prefix="${EPREFIX}/usr" \
|
||||
$(usex nls "" "ENABLE_NLS=") install
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
DIST bufexplorer-7.4.12.tar.gz 24777 SHA256 bcd8549fdd64d149356f1995eaf3f7cd6e0996d8c9128b41085772a24e13a00a SHA512 4767b735e041620e7410866a8ab62932803a248aa2cc311dda8d9a56421d26edede56d56a6329eb2a2b95d7962cc7084ac1606f92485dfb87ba6d647ca4f5c20 WHIRLPOOL 70b3fe6cdfb37bc040100aed89c34e48e0cc7996a0c35170cc20cd8f31a6eab61e87889c3500727b29d41a476e07a2e51d8b7dbe22e8d7c8228e2a6327129095
|
||||
DIST bufexplorer-7.4.9.tar.bz2 20345 SHA256 f7b4a44299ff4f4e35b237804294b1f095b4622e549fc53a06da58e82e44edbf SHA512 996a842f1d2ee2c9054d933b421f74b78df817afdf42fd1c9a72311ae2d6e2eef788d2623a883f22bef5b1a1dd94838d33e5361dbfcf56efeca1be670d2cb6c2 WHIRLPOOL 38b427dd34b1663916dedbaa466e9992098a3019b76700ca93505c8043ebe0e7c92f7f6160f521c9fb45a379b473e9f5ec09f4d1040884e7a3139fc54fff97a1
|
||||
EBUILD bufexplorer-7.4.12.ebuild 504 SHA256 02cfccfb8247128ebbcef998c806e94368157655cc9a7c1b371f0ecd1cc7e8c3 SHA512 dac4cab6e87e62f66be7e90dfbdde6d14b62d20adb35b25f0655472c50933c5609f078670b1699bc5ca6fef11a2f290845dc04468f0116bc03e8ea68a811e754 WHIRLPOOL 23571f43babc869e8a60c4a2f9efbc4d8c214a0c0c4a4e2c78278dbde8c82eb87cfe3faca59321dbb224fd7eec643be223104cbf8f538ceaaa4c92f520b9223f
|
||||
EBUILD bufexplorer-7.4.9-r1.ebuild 385 SHA256 0dec1f2647bf31b41de4eba4b6c9046fd6aaf5ef6d4983cb6865a6ed847c4e1d SHA512 c84b5141c2c23b51e9dcc92a6d8895354aa08ee80055713e42fa5b12e87cfc90d9870b028651911c4d329a398ebf9b50f8a6f4c68fcd0dc902a11962ebe605e6 WHIRLPOOL a6d638b301c9f6d46f1793fac16b7f01ff566e2bebda162d3763b164330e05fa41f566809ed696c4e799216263a29c2e78b23cbee7cee225af536fe3787f310e
|
||||
DIST bufexplorer-7.4.14.tar.gz 25041 SHA256 bfbda1e8ae93da697e5dba39310632bd7138a34d3876ee583d9950873d7edc0a SHA512 a78c12e01727132fdb5baf97aa901ce9619efe9a03e35688de1b5c2357050089e352c78e6e33eef3c861b1f5b12b014eeb70af34b3d8305ad3c79e595fd98436 WHIRLPOOL e06414069524266228ae6cca56167916bf96ebab6f84bacc22266415a5d44f6ecd2ce84c7364a41b125a65340ff1ad2e27f23eb47b35eec977f25030b9880ab7
|
||||
EBUILD bufexplorer-7.4.12.ebuild 502 SHA256 da66f4a53cd8d6e765d02eede8536f7b82e21099f248f2c6a65ba1fc038d4a16 SHA512 009e21aa18d8273c074244bdf57925d6544f519eed99b96c836d2248e2d7d886d860b8dc259410cfeead93bc013da19ea255fc30747c2525ef3f1d33fe2db2b7 WHIRLPOOL 1185067409be4301bf62e377116fe33760874d80c6bf488362a5d6f5065a782c84d5269dd31b7eae55fc4232edff9cd4fc4757dae14f006b83ae77ff1c84cec5
|
||||
EBUILD bufexplorer-7.4.14.ebuild 504 SHA256 94a76b0d50817372a6de058d980fd7e5c63eb52d4bf2775fab976f2b57c92934 SHA512 b14b335eaf5de13500747fb2ede3f68c875aacf4a26f3ad126b2fa6ec1f2572e84a850eb5450feb9c0bb5cd7176c1aaf2ee15bb28f16f941e9259c23e70f84c3 WHIRLPOOL 5f83ea9445e6400f406bdf4a811c93e8daf7f0a14b9b7b143ab50384ab7cc10a5173c7699c81b0cdfafa2e3e748cdf2fed82ba0db47c865dc983ceb38f127d7e
|
||||
MISC ChangeLog 3450 SHA256 58a394b11981ff8a606bb42aae9788f4e8f218fe3548123cf771ef9123d477b4 SHA512 ec2958d453c4f7eae1eca73ac3254e51bb225428762fa7ecf83f9aeecb87954171647a50a875b7a42f0a3156675026b2e9a161d535579a2c9cea327149a291a3 WHIRLPOOL 7f632edd720ccdf296a3b12812dd44082884d1fa15c63b73bd1606510a8529bb82501c40bcbcddd5fab7bca8c50a549b964c5064a9d1b52d92ed808329eae4fa
|
||||
MISC ChangeLog-2015 2182 SHA256 d37dd23d42d69bead215dea0c6b0e7eeced50e87783dc6f4d2948fa7eb547d86 SHA512 d3931816a75c49448a898ffe04f0950153eaa90dc3b9d610250173fd833eaae11c8c323741a5db903196c7004aa99887d4f68e82b3bd5664a47bd4345bb1d78d WHIRLPOOL deb2c20f691e2c3ba9ce5a1b72b2edffaccb956c71a7feed206cea3c51fc4d82f7373a9dccaaf3c3a08b12fa08b29a161ea481e736ef5813f2404fe12ceb44e0
|
||||
MISC metadata.xml 249 SHA256 d4adb0d6593130c430b51f47b187c0848b8a16d353d419cb39e44edf8baa033b SHA512 4051dd059d975d2e1799125f7defbf5a62a168241d8b83d83710592efd60808800951c4fd6da1294044d7e7ec6b757b8d50593fd076696f826dec761e99645c7 WHIRLPOOL 0e859a788faf27de759428701100b3134df0b6d5e8402bbb125fce791e778353ddcd819d86f54063928836417f2cefb2c1e30e8568b8d2aa4cd336d3b695b10a
|
||||
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: easily browse vim buffers"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=42 https://github.com/jlanzarotta/bufexplorer"
|
||||
SRC_URI="https://github.com/jlanzarotta/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm LICENSE README.md || die
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: easily browse vim buffers"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=42"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
||||
|
||||
src_prepare() {
|
||||
edos2unix "plugin/${PN}.vim"
|
||||
|
||||
default
|
||||
}
|
@ -1,7 +1,8 @@
|
||||
AUX 1.4.3-fix-compile.patch 881 SHA256 32787570eea193b372248af3f9b5d13ef16bff990a2caa409b65993bc737302c SHA512 a26b09d202a2aba70774722da39b5a6fcd0ca25e8fb4cf852d73bab0791d573a08fec4c824332d443905ad1a2711399dc6cab5a426ef9825644c8bdad4debc58 WHIRLPOOL 9bcdf60ed13a32e9885719120796b2a48868ee558bc9a2fbab7bcfb143578151b4a45a9844bfff85d36d6ee1b23223102ec129aa0049d3502c29cf17cadc49a3
|
||||
DIST gstreamermm-0.10.11.tar.xz 5840552 SHA256 12b5f377363594a69cb79f2f5cd0a8b1813ca6553680c3216e6354cfd682ebc6 SHA512 2ad370f6902dcb4663ea801bdbbf744a98de9e24fc04f27b5044a4a95337168e2bb195761a07ac9c1011f9ed4936287fcc5f4c2b984f0a362b429d05be7d3909 WHIRLPOOL d9be72d4691b9b0769b75819ca9403a2df7f1dbdad4974e4b26e4fd87d4b7ea0503fb2ba6a500a008ec9d1c29f6677e61649798801e6babf7e4d7b8562cc72f2
|
||||
DIST gstreamermm-1.4.3.tar.xz 5886048 SHA256 f1c11ee1cf7537d77de7f8d486e09c5140cc4bb78882849718cd88959a55462e SHA512 ea4d281a4f3b79113fc3a0474e23d82442facac6eaf66215de412310b9c306aa5d586ee5570087d94d90acbfc09c5766edba1414b50f0fd9a3111cda610f5671 WHIRLPOOL b8bee1e9672c5ca527718e1826a4b486ea47fd772b079dddb532716c2082bb4cca55823a8b3dcd5eabe8819ee944b0cb68740c6b986ff329b71dad47240fe904
|
||||
EBUILD gstreamermm-0.10.11.ebuild 897 SHA256 6e993409de4635a319cd86e91cee5c7c12d50e6d29f6cb9d9b7350c33dcdf9e7 SHA512 ae96f4cfcc2dcfe0dc00254e97c4b7a57ab3723bacda48127b1ddde11d95881c8b943ba65cc09711a4f5ee4b42d58dd4be99435ebf89a7d875dd0656ababb903 WHIRLPOOL 4f79e8a607b7a7b4e32e5eb190686f0687473749faf12f4a652862c52e5b801a75018ae3768118f5720c1537512fcff75eeaeb19d9448016fecacaf9c3f44537
|
||||
EBUILD gstreamermm-1.4.3.ebuild 1375 SHA256 926b916918194a5db3c88fef2726f9038d97fcb0101824e614bec255703bb9b5 SHA512 2b6d8fc0cb9ce19c01768af9cb4ed4cf00186df641119a4f4f1187187a1b7e3c7a112d81114703d5357f6f9e66b263dd4e698f3666be425f59ca416fd64a929f WHIRLPOOL 6c2255134604e81e3134024df20e84ef8761f8181efc8e9ee1086fd404eef52ae650b0e65c55d316cebc21ef611e68e19b0a1bb85d9e9b4dd36d72e1c96e7546
|
||||
EBUILD gstreamermm-1.4.3.ebuild 1493 SHA256 b5cdd9cbc50c126dba40c9102d639b4400c195f83ddaa9d040c4924005d8bec1 SHA512 376d884f68652fb8103a4b44aabd44fbdcee6fd51e6ad973e9a055fea625a220061a7565d8566d0388b74bc9aae25dc1379a53486cd9f4db5d685fbf0809f6a6 WHIRLPOOL 3e7fb14e4b115cfe653e4534eebe04cd736ff9f46f3e80583cad83cfaa29b14d2d69b02d01398127a3ccb9af3e8b2bb9a58046fe9ddf7a7f95a8f9321fc7d104
|
||||
MISC ChangeLog 4215 SHA256 51429323e152e736515e84961a6f744128224330f7f8ce94c9c9b5c4fc0acc78 SHA512 7654b35b150b4642d967195916881f516103ee129198ca06f10bcf952b09b5784731a328e04d4730d95a2077ed1a9642eae81d547f9e77bb27a1d65d768f8364 WHIRLPOOL 5f2a63c54410b83c4a228e1734555e0ab4f7191eee084d6e6a4bacb62cd23df91807a76026b756f4684aebea82f46ab1d565c739ad121bdcb753e7105e5096b6
|
||||
MISC ChangeLog-2015 5730 SHA256 efc48bd9bbb215ed8e9565dca50d265d00395708804ed0583de782b839252132 SHA512 c3c18d050aafe842205bc7650f1f8937df1cf2907e1804acb73300ea3718e8d9bb45ac976b23257849c2bbc847f081a3bafb11f4015d110a7bd88d833af2d40e WHIRLPOOL 1ce45383db8b37530ed939df48b8c23b31dbad417253bffcf2fdca2d13172dbec98fe5eeab8823e9a8fa5af607974f089dfd67de6a2d701ce7e00e39a1c53218
|
||||
MISC metadata.xml 375 SHA256 20b538394afbd5634f28e4d04b8c1349b1d8033e6e4d04661390bc8c399c23a6 SHA512 3b44cf887272a8478662aeb995b97566cd109b3b134941c11f37ab38b648a58f91644f692440e8aafbc154e7acf85bf385771b008b17537848fa670d6fa1a62f WHIRLPOOL 53b26098970b9b5ae00b59a6beff5677bf4b53e725115f75d63637eef7ae192da8d36ce2940a3992ee06b717008c59e5fe2661cc7a78d75730f4bde8eb743921
|
||||
|
@ -0,0 +1,23 @@
|
||||
From c5006faf05bc4b46767d30f42bcb6157836b7540 Mon Sep 17 00:00:00 2001
|
||||
From: Marcin Kolny <marcin.kolny@gmail.com>
|
||||
Date: Sat, 17 Sep 2016 22:49:34 +0200
|
||||
Subject: Fix warnings
|
||||
|
||||
---
|
||||
gstreamer/gstreamermm/check.cc | 2 +-
|
||||
|
||||
leio: Trimmed patch down to only ThrowIf that makes compilation fail with newer gcc, not just warn
|
||||
|
||||
diff --git a/gstreamer/gstreamermm/check.cc b/gstreamer/gstreamermm/check.cc
|
||||
index d620435..a0d323d 100644
|
||||
--- a/gstreamer/gstreamermm/check.cc
|
||||
+++ b/gstreamer/gstreamermm/check.cc
|
||||
@@ -54,7 +54,7 @@ RefPtr<Element> Check::_Check::setup_element (const ustring& factory)
|
||||
|
||||
element = ElementFactory::create_element (factory, factory);
|
||||
|
||||
- ThrowIf (element, "Could not create a '" + factory + "' element");
|
||||
+ ThrowIf (!!element, "Could not create a '" + factory + "' element");
|
||||
CheckRefCount (element->gobj(), factory, 1);
|
||||
|
||||
return element;
|
@ -1,6 +1,6 @@
|
||||
AUX drift-2.4.2-ghc-7.10.patch 581 SHA256 25f3d316f973c20c56de0ccb23308f06acef379e2aed9255b1e8a653d3c8bd83 SHA512 33d6ff669da9adf11f2a595748b6b1d726729186b0846c47951bb8fdc900d7c17ddf5cc5fc27a3e77c8766365c3b4e1f33b49a35a8f6f5ab88e7223fb1361014 WHIRLPOOL b88e66367b0e72bc6c4d35c9d1b4e1544bcc398e676c65f6fab9794d2e163428b469324c4752f7638dcffd79d50f3aa500185c146fd674721613fd2786b3ed44
|
||||
DIST DrIFT-2.4.2.tar.gz 69676 SHA256 742a0b12f16a9da215a29c8284ae379734a70e7811a5f4b1a02dba2873751cf0 SHA512 c6f36e9efad171c165ea8028b7d251e66d5b410aaa51a74e4b8745cf76b77fcfdf6f641fd375f15663b559ae6b8939622a175ba321537afdbb2a114a1550f7db WHIRLPOOL fb064113e4d9fe1f38a59a2c45b561346b5a54748c96b0615b1d09537ce30f8341762d9a825dedbbcff5ff9bf3fe880506e48ba32dfe7318e56828b253fd0ae7
|
||||
EBUILD drift-2.4.2.ebuild 749 SHA256 74ded77fc4f3c204e7f8388bc89c7168a864678cca7ecb10ed913e2ce8c18dbe SHA512 f2fa36abcd6422f5e718bd9c671d4e31f95307e6aa2c21c72c1db2ea09473832b7d0b52a92d7dbab02b1dd5d7fd3982134b074dcfa099c79218672183a204b16 WHIRLPOOL 046cb04bfc76490269a9332cd4fd2334fe1ede7790e213371018d186d99300ce354021ca20d70cbf6744f2d89f96dfa509f6401905d41c3506a4ea63aa270625
|
||||
EBUILD drift-2.4.2.ebuild 783 SHA256 f6104e44a14f197903c410f9c4f813372a80c8610818d64be027dc05ca8f1f5f SHA512 eea2cec56304f19b3ada3267ce3cdb51bb2347cd6ae10d88721038b21fdd745ee1ecbf181a393ddd7e77a7737b74f48b3e457d7d86257cbd37130f4c1cd5f16c WHIRLPOOL e8d7f68be3439b343ac1d88a8fb9be619227b2be204cd29b1b6a7c2748cfc566f3941fc5d663c071e1a392964b2689f3c585c76accf546f3edf7ab1ce9776dc4
|
||||
MISC ChangeLog 3237 SHA256 6cf151672b54b1da6fbcc9b9db09c580e83a2b6002774cc67b9bc473bc6533fd SHA512 eb5cb2ca2b28ec539ea7a2edde7a9be943f73c2f1cf9b2a9a4f617144ece5505d3496d709f55fa822d8a2112a85d7e5b70a741c8789758a9a9c2a965364b22a3 WHIRLPOOL 35d597073e8eae3033840199fd75e7d6768e715ca35edd37f6fc82489324f0bf1525593cd3d52b8887792d2ab037a795e0628eff1e6c99f16ae16520965e8013
|
||||
MISC ChangeLog-2015 4142 SHA256 e163446ba298fce8253be19deeb76b98460fe3de5095d3669f85af126773e82c SHA512 30726773368a8310105e912c2193561cd3de10229aa0527b806620583fc2887e71db5518c71ec527228b61920d8bebe0218e56fc6e21cffd2baf3d7155cfd1ef WHIRLPOOL 3bb8bc9f1d9f3283844f6121a79b89e2a69232589d500d159933687cebb555959d5780f6b12ee02848cf0c2d1e5922696e8bc29394f60c8fdbcba4d847517ad8
|
||||
MISC metadata.xml 217 SHA256 88d4e7497a77aff4f275bcd0b84a36632d17f272e1ed3513fef65468e25da724 SHA512 63f267082f4ba17f6a1226d1c5a14d85d17e0f7a84857605933418d875d09cfffe2a0ca304b8a171dcae59169330fcc3cfca9d6f4c9ce24d135f1125a6d06c70 WHIRLPOOL fe4f2272bee319d2e3959df43927f9bae4b2430fed55bb66d8f6e0390c26d6c2ce48f43ce068662e0d40cbb375930068f39634b381bd6e3d2cf8528d3af5c81b
|
||||
|
@ -1,7 +1,7 @@
|
||||
DIST appstream-glib-0.6.7.tar.xz 1961284 SHA256 9767756e2c970709f0070d4c9e617bb3af2d62cd4fbce8486bd742092671b922 SHA512 cc8b58fa1eb8a4cb0c73f256ff3455d7ffc62282cf70676ae669a0b471c08278b3870d5d50dc70c386ec536031056136ba6742b674d94ca0c20d397f49615df2 WHIRLPOOL 93b8698d018eee7997b6fd232f8ee0447f34980628905147ae73b9274b2781fd422eca41ed266f89faee3ee63616cff86a12ca60e78d297ead56d462692534b7
|
||||
DIST appstream-glib-0.6.8.tar.xz 1962132 SHA256 23f009233a96d1246c4c46c9746be126ae9d422753399621445d07bff49cae41 SHA512 dac9e0cc6dd8dfb81cbcdb6796d6890b61d5ede634cbe31768d1cf5746ada3beaf8b46918bab24e72604d52cbf6c6602efa6aedbdf9379f4c10528929f926fe5 WHIRLPOOL d2f2dd1607f4cb03ab501e4e189862cbb5c58b0bc3e63af153d72c7a714e791509dc2981921b1414f11282f7681277b690cb3142ce71c2bacd2799a935bdfdc2
|
||||
EBUILD appstream-glib-0.6.7.ebuild 1554 SHA256 6f4d531b9ffdc51751f286cbd8757d34be6e7bb3eae93f39a66429335e08ba0b SHA512 8ad4c0b30049be32c882a23567527fdcbb04fb703ba61e9f42d3d8993f4d16fecf1b163e3852a586950ba31a58a1e94a216f122f0e0a65cb63e7e1d55863069c WHIRLPOOL 252910e7b99228cd80da336bcf99821146711d05d9c126ed208aadf6f6017e83fd1146a6306bccc206b355f937f65e1125b098dfdc12587663b68a31f1afcf23
|
||||
EBUILD appstream-glib-0.6.8.ebuild 1592 SHA256 31622cf68b8207d9a38ed0dc8740e1d0cd286ccc6705703a2c25f33e52c3e5a9 SHA512 2a924a2d4097bdd41841b04a3a51a90e789520d7aa650b84e68e38905e76c8df7f645c49e8ee2cdc08bdd0f23738adfc2bf332c5cb2a58d2145b5b63c19580b4 WHIRLPOOL 5ba4cb995f989b664cf5aaa0b9bb84ff61aa20db57045a20b51b186ff3b09c50cb9a60651ea6230ef85ee8103ef10208ae7189a39bf91df40842d9aa5481ae0e
|
||||
EBUILD appstream-glib-0.6.8.ebuild 1591 SHA256 58890f63d2d6f50e56b685e3022d8fded22fc67e2ae374af747c08f3057da9af SHA512 ae5cd47bcfd9a4f4b98f9660f5e4644d2facc8de117bc4a0117f7abb45a59dd821d3e23df2ea4cafeb1288012188c875d5ac76558cdb69a7582e3151364b84b6 WHIRLPOOL d7070975ad3ac50042fb75f7fc38ebd54190a5bf5a05896d05ab8fdde4dc410e668c3f1c842a0d47ef8950442032f4428409191035edd715db0f23d299b44eba
|
||||
MISC ChangeLog 11400 SHA256 69f7c01c5a677fa167ba0cad02289aab64957fa50f34144f575db076656a68a2 SHA512 1aaa5ef4048d403fb842d7069a5cbe0a913c945ec79a162a31f39e4010de15df23820d83ca0eb667182fa12b4ba3c6730f8871d67eca4a56ba1e2906dbaf8408 WHIRLPOOL 8d60db7a5a67571100a206afb9bf6b1091be35e0ae90248ca3f5397056914453e7abffa6a91404943b75782f305862bf4411a5b298bc721e35adfe04efc08ebd
|
||||
MISC ChangeLog-2015 3598 SHA256 4577c0ae171b2ae0c896a619c05a6d9e78c4f66d4df3c8afd1ab9d9f37910fdc SHA512 a79b0340662e00790d084e1f6e1b969046ac39297cd589fdc021546ab67835fff0343b40d2df65555c2d33ef6973000c1a7fadf1d15871f3a9d020f1e2f40de6 WHIRLPOOL 412a5af8f8784a4f569703976337824e26d19c777c9509ae31c9dd76092c227562fb5cabcc09cc0f139186dec6c09f27ad8bb289dd98bc5c14091a024ca7e373
|
||||
MISC metadata.xml 352 SHA256 910569d962fbbb9a3ad65a78cebad1e80b0defd69e04cf6365520db86ad12d5e SHA512 491790151594360b57d05b217381b3b6c6f3d3a72e8066d923230060a4b05d0e2ff1e31cdcb94eb8b1ac077a011d695f33b857bf049c04292a9e324c065895d9 WHIRLPOOL 9174d43b387b2c5023df6cfd6623898a26a4933125426e5597a69b5818c5b7e1f7add11856843f3cacb3d1699d2536b8bb6ecc380db2491930d7e86db6375ccc
|
||||
|
@ -1,7 +1,7 @@
|
||||
DIST atk-2.20.0.tar.xz 724200 SHA256 493a50f6c4a025f588d380a551ec277e070b28a82e63ef8e3c06b3ee7c1238f0 SHA512 3dab21e59f47deeee7c4b95dbda1c9a57a15007367af584a27c472e20f11bebd210ae7cd16b255e810f66df4c0a2bee14d904c46e1367ce5a6ade6f5af81bace WHIRLPOOL accada46d8c3b134aabea8dc88d33fb55be317ddc7fbb9bae7746e982df63a8515c530af87aa2310a7bcfee0080583080306cf094332acce7a747f80c6247484
|
||||
DIST atk-2.22.0.tar.xz 745572 SHA256 d349f5ca4974c9c76a4963e5b254720523b0c78672cbc0e1a3475dbd9b3d44b6 SHA512 af3f6197eb97de869ee706f19564449b02c1444c413e5418323e4bf4c8cf1d98c7c8baa25189f6879d63606d4bc75f33799cb901f4697c087e868bb9a5643cba WHIRLPOOL aec1b3944101532b6330f66f2094d3d821a30da10e07d3ba1b793b9063ef18ce8790faa3d016927fe2dd8383c4b5cba9ac4d85244f83fbb73bd06077c299e851
|
||||
EBUILD atk-2.20.0.ebuild 1428 SHA256 d1005ec15ec1d2870b6ce16917e51e9a9dc0b4b083e19a3492ad2af5d8c44a45 SHA512 64ed9a17da2175f795a0abce2ef28d246f242990962fef66002fab227d5553bc89ca4dbdb779c2a29a1c59e34f3f04260f8669405a9cdd166b76cf2dd9ae6652 WHIRLPOOL d14d0eed40df7e4e6bd550537e170a93068cea777b516299fbde1f3d2424c773bcbb529d9454f5e28bab65182583c4de63596464fa434e761e57618efca11a38
|
||||
EBUILD atk-2.22.0.ebuild 1432 SHA256 68abb6a205f2d6dbe59ab4792f44247f31d160f8baf500a0c3d3f4080a253e3c SHA512 050efe1a9e4133d982ed2a1ec9fec3b1dc7bb75c508e6e0e4648e5a0af01b0c87cec8e11adc1e8518fa9754db5e91701dcf720fa78f29cf3b663e07b9c507e3c WHIRLPOOL b959d36c91a1dfedb17d345c7df4def62390fcf96f300b3abc823296564637668a1d931a91ad7627e0d85591acd7a1e02416c57c875536d8fa81e685e07f618f
|
||||
EBUILD atk-2.22.0.ebuild 1431 SHA256 9aca591fcf1ab70596eea4bda7e0846d52fbc0f88b1bd2eafc7ffd28a537de73 SHA512 8cfbac29d1c9c98c76fc61eedf7495f9e0a51b4d8578c03d4b837d09fefe6df33d0cb512199bcfafbeda622d955fe6ddb54676a8c422a147c3e5a70dc155b3ad WHIRLPOOL 88812bdabd01c4e01ac60f20e95fe3ebd474dd0c4223dde814435ad68f5902a0ef5db2ecfd0789a63830084f95752969635e85bac09ab2cf625a35ee7fdf6e66
|
||||
MISC ChangeLog 6680 SHA256 a789bc7c36803941d7a57fdd083acb3d090f7e232272b1e0077a363e887d6811 SHA512 f099a63f3eebcd19da0b59e62e0d5a10f01e099608063acb2502074c140fdddde3b7dd6d0e0e5034b9a0145596d1930926cec8850a92a4f5ab2ad882374b5bd4 WHIRLPOOL fc5c6770c48c37930523993b83a3812c10b9fe7efb129292f14c91daa64e1f2f5c446054687fc31a594de4d9d6f3febd0e54b3003419607ee830e684afe45a6f
|
||||
MISC ChangeLog-2015 33684 SHA256 6f0e97f94f2d9f2b9ea084044af16930968da7155e2ef5b49c3461376a8bb573 SHA512 e0f1babd97c440255dd2ad0cb98add77ac3138ced6ad7157f38959d39ba79669583377e0751f3226b9afe89e522d601f7d9e6d1c9f4899dce1d2a6822eaa9e25 WHIRLPOOL a3035be90ba9b622c5062154405a1c873f0f62e98ae95f3032d62a5a6b7ed3fbe0f4f5691dffd3619d0f28320b2c36f68791ca5a96d18ddd47a40bf1cc65c91d
|
||||
MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit ltprune
|
||||
|
||||
MY_P="gc-${PV}"
|
||||
|
||||
DESCRIPTION="The Boehm-Demers-Weiser conservative garbage collector"
|
||||
HOMEPAGE="http://www.hboehm.info/gc/"
|
||||
SRC_URI="http://www.hboehm.info/gc/gc_source/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="boehm-gc"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="cxx static-libs threads"
|
||||
|
||||
DEPEND=">=dev-libs/libatomic_ops-7.4
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
local config=(
|
||||
--with-libatomic-ops
|
||||
$(use_enable cxx cplusplus)
|
||||
$(use_enable static-libs static)
|
||||
$(use threads || echo --disable-threads)
|
||||
)
|
||||
econf "${config[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Workaround build errors. #574566
|
||||
use ia64 && emake src/ia64_save_regs_in_stack.lo
|
||||
use sparc && emake src/sparc_mach_dep.lo
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use static-libs || prune_libtool_files
|
||||
|
||||
rm -r "${ED}"/usr/share/gc || die
|
||||
dodoc README.QUICK doc/README{.environment,.linux,.macros}
|
||||
docinto html
|
||||
dodoc doc/*.html
|
||||
newman doc/gc.man GC_malloc.1
|
||||
}
|
@ -1,7 +1,5 @@
|
||||
DIST gdl-3.20.0.tar.xz 527736 SHA256 53d3a3bb9b9be25b3a40c644fdbbb57a5a63ee1f5f839c2266d1cd9779360e8b SHA512 94f04a6a7348a1649a846cbbb834fd297de3088b5ec31f77d4681c7b1c92cf5186d51790632b6715a7181e931e746246ff35e46aea0a5d30d947a7b17d57ae30 WHIRLPOOL 10f71a81379ce9fd4c1c0e928aa0958ca88c89b5903e0254f36ead1809e4388ced07dd7a2cc4d90efe517341ff02d7ab1052e2deb52e42db86bb67537437da3c
|
||||
DIST gdl-3.22.0.tar.xz 529072 SHA256 cc5b360e1392292186924f0f9a8efc0f4db7e6e56dc7042037466b5cc839660c SHA512 408fd75627497c658b65e9cd39b8779ad0db2fdc1f780e369237fbdd3f0ccc035cd86456ff72e1581c524f1d35673d3b31ebb074290babf025596d08d823833d WHIRLPOOL 3b31c124e331f82fa9dc8e513f1ae014e62001cbbd51ed17d4677f932b865c38da5e57827be6126c224acf8bcda8f336a4c75396cc54c7b23e96d354159dd382
|
||||
EBUILD gdl-3.20.0.ebuild 699 SHA256 b8b40b923a765c726aa511763f2bafa752020585b536f692f51bd526890eef89 SHA512 6bfbfccd6d30841d074aace50b56bbf425a02070d2578f3fddff93ff24897334146c2f8d5ceadd2e1da03d0878a47adce7c2566ba18b86a3c56353e6256e48d2 WHIRLPOOL 122e46e1d3b43d0f83996a32c4f7b0859df326ccc22986b6854c6ecaf22ca5bde9350d67134eacf438ddc1ad0aa405548334baa7e471e37a8e3ebd4235f24d2b
|
||||
EBUILD gdl-3.22.0.ebuild 700 SHA256 dc352a3d20c1f5ef3802dd1772445e6f52ee6b639a36aeccc14e6601a64a78c1 SHA512 3bfc019d11399d2c26428d8c41ed871801fa9fbfee64742e54873dabc50a00a1b49154310bfe8f835b24cd2fcd447aa4329cf53711c1c51559fac81022120804 WHIRLPOOL b5daefbb4a2be14651ab02a9954e7a9531844dc8bfddeb72abb5bf7dc46ea9fd82c24cc9c61f89f2e7d3d6dcb5979b42628b7c1ec08348ee10beb42b8521a670
|
||||
EBUILD gdl-3.22.0.ebuild 699 SHA256 f09a9f40eb9e02f79ff995439d79a333c745a90df578a3439a7caa00dd2356a2 SHA512 68e75de4dc853f09c7cb43f4533592c64ff6fbbcdf9bb4fb77e40fdf48958b78029b57edadd90f65e1194b08d3a7003e5e5a5dada30543a68f7b59b0b805c8d6 WHIRLPOOL 3775dd4e73db46b8894e5125c3ae33099fd02d3be9609dcafda3e91f12e18dff0fcbb398cf3c7da49e3ab44fc49561aa391373732175438d41bb93469df55b82
|
||||
MISC ChangeLog 4657 SHA256 d4c16f119cc7c8b2f74baa0a56c20c4dbd3b0bdaf3a75e00feed45e512951f7c SHA512 7e8dc11446366b07cf362ca6634936f735f6c48db7ff3d0fa5100a637ae02946c02d8e8db4ef106bc007d63c856077c51cb62aef4f90c3b65b7d1a3ffc8f3fbe WHIRLPOOL c4945ec823af062083eeb4592ca0d5045118644543adb68124c4888acf65c3d11d874592062e08bd101f28adc046eb40ff0cfe8b45de349ad11f54d44066bb23
|
||||
MISC ChangeLog-2015 13906 SHA256 3e283718e20aad0e11c6fecafd1209b90b6546d1669444506518629433f75668 SHA512 80008fcc41c77210c272628b4b7d20a7e5d985a014be4bf7d02fc888baaedefe5f8807f5e8db04a3e43237a6cab2e0261b3abe0265acbc873e57a339a0e80c9b WHIRLPOOL 1ed541459298642e0d0c0b941bb6715e66243635ec16b78b6087bc131fc945855d33be5225c89956a28b88959b649bb95159af3167aa71893a28820054603e21
|
||||
MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="GNOME docking library"
|
||||
HOMEPAGE="https://git.gnome.org/browse/gdl"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="3/5" # subslot = libgdl-3 soname version
|
||||
IUSE="+introspection"
|
||||
KEYWORDS="~alpha amd64 hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
>=x11-libs/gtk+-3.0.0:3[introspection?]
|
||||
>=dev-libs/libxml2-2.4:2
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.6.7:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/gtk-doc-am-1.4
|
||||
>=dev-util/intltool-0.40.4
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure $(use_enable introspection)
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue