parent
5c03ffd76c
commit
81c3383710
@ -1,4 +1,5 @@
|
||||
DIST 0.46.tar.gz 211917 SHA256 dbfe47d0b721b8a0c2b47fae6766fb03a62bbbd26f99d082c004074f0d28ed2f SHA512 1f8869d81d6237a72d22eb0e801cbe7ce59fccfc5cd730f58f9b5d0736bec85458cebf8b0e115719f8c7ac326c06b54465be9d23b8b3e1db9e0d11dbb79e2f90 WHIRLPOOL be4481fa15a90ae8c8adbf396d7d352e651c35efee727cd4546944378509d890af8654c3bd52e9dfd3f32cd6bab8b3651bea32cdaca37b149151da56b4a50330
|
||||
DIST 0.51.2.tar.gz 219822 SHA256 280a5b6b38042c34df2409fb1a54dd231cc2820818854d774aec8363b16117d7 SHA512 61aafce363ef26c8ce0c218fa2722cb52614d73481bb10719526d127a3b87116483aabd4761452cb1181f8e76e5d19b05a727132f71c99d827b003d07b42733a WHIRLPOOL 5f0b5b1d8f86a499ad93730e4af846b340e556e09904dd0a45bf98eeeb727c277071fc4edf2b2174bcd55f2c80766636d175f1f8498afcac6a1085fe5ca726e8
|
||||
DIST 0.52.0.tar.gz 222358 SHA256 7f72fdeffc7c2355ca03cc2fcd493c1c87f1778f6f0011924e937ace90541014 SHA512 701950636e69abc0739e98501a6a889450994b5aa246148c16e0fdd35b520e0a9000d98ff6428c1de991aba14cefa3503d3b806b973710f6940242fdd0779df8 WHIRLPOOL 04c5bed0f8a21621c275b57975e2856935f600440f9eaf7706f079037caa8585542c6e72a25478cf26a18d80611e5b0577ac1ce740453e1f0e709546d5e656eb
|
||||
DIST 0.52.1.tar.gz 223101 SHA256 18a4f5b6508b9e763e9f8b4f2d32454fec265e08dbccd7662119a263ac7502a7 SHA512 dae1e485a5de7d970c8ed405a036b60b96a907c44e42dafbca0202651e0010ef4429ecf47a23d7a7b16fa269b10c5497c881ddcbda786f04d1dececf3c159bdb WHIRLPOOL 8341b087f3892cac7cdc89ddba2676be85d7a2d876b94160fc9fb90dd9a4bf24c31f247bf31c2f31f5cca9b2dc4592391f07631a9c834fac22fbe6d65170d145
|
||||
DIST Rex-0.45.1.tar.gz 196657 SHA256 0183ac7c201c00e1b54fc135daa35ee32ad4712491b15700c2fc1f35f87c7c5c SHA512 ede66c3373b6b8d03dd5ac3b25a31797d9e32117678a5211bf0e9c0a72697b97414ebb077220a1f8a4a3f2feff6652ea532cbe03ded06cb3f295eb03985e5695 WHIRLPOOL 8c595f2ff5e015b6d7c969497b8824a9bbf0ae0143c447c558c84daf42f534514cd0c254682ffa68f975dd84e149cd38df206688cd0ea31ff3bf832cb70da171
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rex/rex-0.52.1.ebuild,v 1.1 2014/09/11 03:54:11 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit perl-module
|
||||
|
||||
SRC_URI="https://github.com/RexOps/Rex/archive/${PV}.tar.gz"
|
||||
|
||||
DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-perl/Net-SSH2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-perl/JSON-XS
|
||||
dev-perl/XML-Simple
|
||||
dev-perl/Digest-SHA1
|
||||
dev-perl/Digest-HMAC
|
||||
dev-perl/Expect
|
||||
dev-perl/DBI
|
||||
dev-perl/yaml
|
||||
dev-perl/libwww-perl
|
||||
dev-perl/String-Escape
|
||||
dev-perl/List-MoreUtils
|
||||
dev-perl/Parallel-ForkManager"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
S="${WORKDIR}/Rex-${PV}"
|
@ -0,0 +1 @@
|
||||
DIST crackpkcs12-0.2.9.tar.gz 93931 SHA256 0c9aa4e643986e71866f185cb0fa09c74cb1f4c95ff48ffd013a5a4677bf49e0 SHA512 6c2463a7a76d2e2ef728b37f46f818ad279e3bd828254f54ac6c0d44e737436d7d026af2a54a54e07910d9b54058b3c5764e4066f7a8e40ca75ae7d8970f9eaa WHIRLPOOL 4886c14768b6b4fdf2ca02adad2e4b2a00486084cb5cfa5f29459254d00c6dac287877ea913a4900036bb3367e3cb5c7ac0f68d931ac0ed02fd7bb760f3dd4f8
|
@ -0,0 +1,17 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/crackpkcs12/crackpkcs12-0.2.9.ebuild,v 1.1 2014/09/10 21:09:57 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="multithreaded program to crack PKCS#12 files"
|
||||
HOMEPAGE="http://crackpkcs12.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/openssl"
|
||||
DEPEND="${RDEPEND}"
|
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>vapier@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,162 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-pvgrub/xen-pvgrub-4.2.5.ebuild,v 1.1 2014/09/11 05:15:57 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE='xml,threads'
|
||||
|
||||
inherit flag-o-matic eutils multilib python-single-r1 toolchain-funcs
|
||||
|
||||
XEN_EXTFILES_URL="http://xenbits.xensource.com/xen-extfiles"
|
||||
LIBPCI_URL=ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci
|
||||
GRUB_URL=mirror://gnu-alpha/grub
|
||||
|
||||
UPSTREAM_VER=
|
||||
GENTOO_VER=
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-pvgrub/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-pvgrub/}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
|
||||
SRC_URI="
|
||||
http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
|
||||
$GRUB_URL/grub-0.97.tar.gz
|
||||
$XEN_EXTFILES_URL/zlib-1.2.3.tar.gz
|
||||
$LIBPCI_URL/pciutils-2.2.9.tar.bz2
|
||||
$XEN_EXTFILES_URL/lwip-1.3.0.tar.gz
|
||||
$XEN_EXTFILES_URL/newlib/newlib-1.16.0.tar.gz
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}
|
||||
"
|
||||
|
||||
S="${WORKDIR}/xen-${PV}"
|
||||
|
||||
DESCRIPTION="allows to boot Xen domU kernels from a menu.lst laying inside guest filesystem"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="custom-cflags"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="sys-devel/gettext
|
||||
sys-devel/bin86"
|
||||
|
||||
RDEPEND=">=app-emulation/xen-4.2.1"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
retar-externals() {
|
||||
# Purely to unclutter src_prepare
|
||||
local set="grub-0.97.tar.gz lwip-1.3.0.tar.gz newlib-1.16.0.tar.gz zlib-1.2.3.tar.gz"
|
||||
|
||||
# epatch can't patch in $WORKDIR, requires a sed; Bug #455194. Patchable, but sed informative
|
||||
sed -e s':AR=${AR-"ar rc"}:AR=${AR-"ar"}:' \
|
||||
-i "${WORKDIR}"/zlib-1.2.3/configure
|
||||
sed -e 's:^AR=ar rc:AR=ar:' \
|
||||
-e s':$(AR) $@:$(AR) rc $@:' \
|
||||
-i "${WORKDIR}"/zlib-1.2.3/{Makefile,Makefile.in}
|
||||
einfo "zlib Makefile edited"
|
||||
|
||||
cd "${WORKDIR}"
|
||||
tar czp zlib-1.2.3 -f zlib-1.2.3.tar.gz
|
||||
tar czp grub-0.97 -f grub-0.97.tar.gz
|
||||
tar czp lwip -f lwip-1.3.0.tar.gz
|
||||
tar czp newlib-1.16.0 -f newlib-1.16.0.tar.gz
|
||||
mv $set "${S}"/stubdom/
|
||||
einfo "tarballs moved to source"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo
|
||||
fi
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
# try and remove all the default custom-cflags
|
||||
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} \;
|
||||
fi
|
||||
|
||||
# Patch the unmergeable newlib, fix most of the leftover gcc QA issues
|
||||
cp "${FILESDIR}"/newlib-implicits.patch stubdom || die
|
||||
|
||||
# Patch stubdom/Makefile to patch insource newlib & prevent internal downloading
|
||||
epatch "${FILESDIR}"/${PN/-pvgrub/}-4.2.1-externals.patch
|
||||
|
||||
# Drop .config and Fix gcc-4.6
|
||||
epatch "${FILESDIR}"/${PN/-pvgrub/}-4-fix_dotconfig-gcc.patch
|
||||
|
||||
# fix jobserver in Makefile
|
||||
epatch "${FILESDIR}"/${PN}-4.2-jserver.patch
|
||||
|
||||
# gcc warnings/QA fix
|
||||
epatch "${FILESDIR}"/${PN}-4.2.3-qa.patch
|
||||
|
||||
#Substitute for internal downloading. pciutils copied only due to the only .bz2
|
||||
cp "${DISTDIR}"/pciutils-2.2.9.tar.bz2 ./stubdom/ || die "pciutils not copied to stubdom"
|
||||
retar-externals || die "re-tar procedure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use custom-cflags || unset CFLAGS
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" -C tools/include
|
||||
|
||||
if use x86; then
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
|
||||
elif use amd64; then
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_64" -C stubdom pv-grub
|
||||
if has_multilib_profile; then
|
||||
multilib_toolchain_setup x86
|
||||
emake CC="$(tc-getCC)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use x86; then
|
||||
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
|
||||
fi
|
||||
if use amd64; then
|
||||
emake XEN_TARGET_ARCH="x86_64" DESTDIR="${D}" -C stubdom install-grub
|
||||
if has_multilib_profile; then
|
||||
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the offical wiki page:"
|
||||
elog "http://www.gentoo.org/doc/en/xen-guide.xml"
|
||||
elog "http://wiki.xen.org/wiki/Main_Page"
|
||||
}
|
@ -0,0 +1,139 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-pvgrub/xen-pvgrub-4.3.3.ebuild,v 1.1 2014/09/11 05:15:57 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE='xml,threads'
|
||||
|
||||
inherit flag-o-matic eutils multilib python-single-r1 toolchain-funcs
|
||||
|
||||
XEN_EXTFILES_URL="http://xenbits.xensource.com/xen-extfiles"
|
||||
LIBPCI_URL=ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci
|
||||
GRUB_URL=mirror://gnu-alpha/grub
|
||||
SRC_URI="
|
||||
http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
|
||||
$GRUB_URL/grub-0.97.tar.gz
|
||||
$XEN_EXTFILES_URL/zlib-1.2.3.tar.gz
|
||||
$LIBPCI_URL/pciutils-2.2.9.tar.bz2
|
||||
$XEN_EXTFILES_URL/lwip-1.3.0.tar.gz
|
||||
$XEN_EXTFILES_URL/newlib/newlib-1.16.0.tar.gz
|
||||
$XEN_EXTFILES_URL/polarssl-1.1.4-gpl.tgz"
|
||||
|
||||
S="${WORKDIR}/xen-${PV}"
|
||||
|
||||
DESCRIPTION="allows to boot Xen domU kernels from a menu.lst laying inside guest filesystem"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 -x86"
|
||||
IUSE="custom-cflags"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="sys-devel/gettext
|
||||
sys-devel/bin86
|
||||
sys-apps/texinfo"
|
||||
|
||||
RDEPEND=">=app-emulation/xen-4.2.1"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
retar-externals() {
|
||||
# Purely to unclutter src_prepare
|
||||
local set="grub-0.97.tar.gz lwip-1.3.0.tar.gz newlib-1.16.0.tar.gz polarssl-1.1.4-gpl.tgz zlib-1.2.3.tar.gz"
|
||||
|
||||
# epatch can't patch in $WORKDIR, requires a sed; Bug #455194. Patchable, but sed informative
|
||||
sed -e s':AR=${AR-"ar rc"}:AR=${AR-"ar"}:' \
|
||||
-i "${WORKDIR}"/zlib-1.2.3/configure
|
||||
sed -e 's:^AR=ar rc:AR=ar:' \
|
||||
-e s':$(AR) $@:$(AR) rc $@:' \
|
||||
-i "${WORKDIR}"/zlib-1.2.3/{Makefile,Makefile.in}
|
||||
einfo "zlib Makefile edited"
|
||||
|
||||
cd "${WORKDIR}"
|
||||
tar czp zlib-1.2.3 -f zlib-1.2.3.tar.gz
|
||||
tar czp grub-0.97 -f grub-0.97.tar.gz
|
||||
tar czp lwip -f lwip-1.3.0.tar.gz
|
||||
tar czp newlib-1.16.0 -f newlib-1.16.0.tar.gz
|
||||
tar czp polarssl-1.1.4 -f polarssl-1.1.4-gpl.tgz
|
||||
mv $set "${S}"/stubdom/
|
||||
einfo "tarballs moved to source"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
# try and remove all the default custom-cflags
|
||||
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} \;
|
||||
fi
|
||||
|
||||
# Patch the unmergeable newlib, fix most of the leftover gcc QA issues
|
||||
cp "${FILESDIR}"/newlib-implicits.patch stubdom || die
|
||||
|
||||
# Patch stubdom/Makefile to patch insource newlib & prevent internal downloading
|
||||
epatch "${FILESDIR}"/${PN/-pvgrub/}-4.3-externals.patch
|
||||
|
||||
# Drop .config and Fix gcc-4.6
|
||||
epatch "${FILESDIR}"/${PN/-pvgrub/}-4.3-fix_dotconfig-gcc.patch
|
||||
|
||||
# fix jobserver in Makefile
|
||||
epatch "${FILESDIR}"/${PN}-4.2-jserver.patch
|
||||
|
||||
# gcc warnings/QA fix
|
||||
epatch "${FILESDIR}"/${PN}-4.3.1-qa.patch
|
||||
|
||||
#Substitute for internal downloading. pciutils copied only due to the only .bz2
|
||||
cp "${DISTDIR}"/pciutils-2.2.9.tar.bz2 ./stubdom/ || die "pciutils not copied to stubdom"
|
||||
retar-externals || die "re-tar procedure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use custom-cflags || unset CFLAGS
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" -C tools/include
|
||||
|
||||
if use x86; then
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
|
||||
elif use amd64; then
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_64" -C stubdom pv-grub
|
||||
if has_multilib_profile; then
|
||||
multilib_toolchain_setup x86
|
||||
emake CC="$(tc-getCC)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use x86; then
|
||||
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
|
||||
fi
|
||||
if use amd64; then
|
||||
emake XEN_TARGET_ARCH="x86_64" DESTDIR="${D}" -C stubdom install-grub
|
||||
if has_multilib_profile; then
|
||||
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the offical wiki page:"
|
||||
elog "https://wiki.gentoo.org/wiki/Xen"
|
||||
elog "http://wiki.xen.org/wiki/Main_Page"
|
||||
}
|
@ -0,0 +1,136 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-pvgrub/xen-pvgrub-4.4.1.ebuild,v 1.1 2014/09/11 05:15:57 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE='xml,threads'
|
||||
|
||||
inherit flag-o-matic eutils multilib python-single-r1 toolchain-funcs
|
||||
|
||||
XEN_EXTFILES_URL="http://xenbits.xensource.com/xen-extfiles"
|
||||
LIBPCI_URL=ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci
|
||||
GRUB_URL=mirror://gnu-alpha/grub
|
||||
SRC_URI="
|
||||
http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
|
||||
$GRUB_URL/grub-0.97.tar.gz
|
||||
$XEN_EXTFILES_URL/zlib-1.2.3.tar.gz
|
||||
$LIBPCI_URL/pciutils-2.2.9.tar.bz2
|
||||
$XEN_EXTFILES_URL/lwip-1.3.0.tar.gz
|
||||
$XEN_EXTFILES_URL/newlib/newlib-1.16.0.tar.gz
|
||||
$XEN_EXTFILES_URL/polarssl-1.1.4-gpl.tgz"
|
||||
|
||||
S="${WORKDIR}/xen-${PV}"
|
||||
|
||||
DESCRIPTION="allows to boot Xen domU kernels from a menu.lst laying inside guest filesystem"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 -x86"
|
||||
IUSE="custom-cflags"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="sys-devel/gettext
|
||||
sys-devel/bin86
|
||||
sys-apps/texinfo"
|
||||
|
||||
RDEPEND=">=app-emulation/xen-4.2.1"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
retar-externals() {
|
||||
# Purely to unclutter src_prepare
|
||||
local set="grub-0.97.tar.gz lwip-1.3.0.tar.gz newlib-1.16.0.tar.gz polarssl-1.1.4-gpl.tgz zlib-1.2.3.tar.gz"
|
||||
|
||||
# epatch can't patch in $WORKDIR, requires a sed; Bug #455194. Patchable, but sed informative
|
||||
sed -e s':AR=${AR-"ar rc"}:AR=${AR-"ar"}:' \
|
||||
-i "${WORKDIR}"/zlib-1.2.3/configure
|
||||
sed -e 's:^AR=ar rc:AR=ar:' \
|
||||
-e s':$(AR) $@:$(AR) rc $@:' \
|
||||
-i "${WORKDIR}"/zlib-1.2.3/{Makefile,Makefile.in}
|
||||
einfo "zlib Makefile edited"
|
||||
|
||||
cd "${WORKDIR}"
|
||||
tar czp zlib-1.2.3 -f zlib-1.2.3.tar.gz
|
||||
tar czp grub-0.97 -f grub-0.97.tar.gz
|
||||
tar czp lwip -f lwip-1.3.0.tar.gz
|
||||
tar czp newlib-1.16.0 -f newlib-1.16.0.tar.gz
|
||||
tar czp polarssl-1.1.4 -f polarssl-1.1.4-gpl.tgz
|
||||
mv $set "${S}"/stubdom/
|
||||
einfo "tarballs moved to source"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
# try and remove all the default custom-cflags
|
||||
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} \;
|
||||
fi
|
||||
|
||||
# Patch the unmergeable newlib, fix most of the leftover gcc QA issues
|
||||
cp "${FILESDIR}"/newlib-implicits.patch stubdom || die
|
||||
|
||||
# Patch stubdom/Makefile to patch insource newlib & prevent internal downloading
|
||||
epatch "${FILESDIR}"/${PN/-pvgrub/}-4.3-externals.patch
|
||||
|
||||
# Drop .config and Fix gcc-4.6
|
||||
epatch "${FILESDIR}"/${PN/-pvgrub/}-4.4-fix_dotconfig-gcc.patch
|
||||
|
||||
# fix jobserver in Makefile
|
||||
epatch "${FILESDIR}"/${PN}-4.2-jserver.patch
|
||||
|
||||
#Substitute for internal downloading. pciutils copied only due to the only .bz2
|
||||
cp "${DISTDIR}"/pciutils-2.2.9.tar.bz2 ./stubdom/ || die "pciutils not copied to stubdom"
|
||||
retar-externals || die "re-tar procedure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use custom-cflags || unset CFLAGS
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" -C tools/include
|
||||
|
||||
if use x86; then
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
|
||||
elif use amd64; then
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_64" -C stubdom pv-grub
|
||||
if has_multilib_profile; then
|
||||
multilib_toolchain_setup x86
|
||||
emake CC="$(tc-getCC)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use x86; then
|
||||
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
|
||||
fi
|
||||
if use amd64; then
|
||||
emake XEN_TARGET_ARCH="x86_64" DESTDIR="${D}" -C stubdom install-grub
|
||||
if has_multilib_profile; then
|
||||
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the offical wiki page:"
|
||||
elog "https://wiki.gentoo.org/wiki/Xen"
|
||||
elog "http://wiki.xen.org/wiki/Main_Page"
|
||||
}
|
@ -0,0 +1,730 @@
|
||||
From b59388703de27436d01ddd48ffcabc58c9f23153 Mon Sep 17 00:00:00 2001
|
||||
From: Matt Wilson <msw@amazon.com>
|
||||
Subject: [PATCH] docs: flesh out xl.cfg documentation, correct typos,
|
||||
|
||||
diff --git a/docs/man/xl.cfg.pod.5 b/docs/man/xl.cfg.pod.5
|
||||
index 4f7b583..700c512 100644
|
||||
--- a/docs/man/xl.cfg.pod.5
|
||||
+++ b/docs/man/xl.cfg.pod.5
|
||||
@@ -17,7 +17,7 @@ domain.
|
||||
|
||||
A domain config file consists of a series of C<KEY=VALUE> pairs.
|
||||
|
||||
-Some C<KEY>s are mandatory, others are global options which apply to
|
||||
+Some C<KEY>s are mandatory, others are general options which apply to
|
||||
any guest type while others relate only to specific guest types
|
||||
(e.g. PV or HVM guests).
|
||||
|
||||
@@ -80,20 +80,13 @@ operating systems.
|
||||
|
||||
=back
|
||||
|
||||
-=head2 Global Options
|
||||
+=head2 General Options
|
||||
|
||||
The following options apply to guests of any type.
|
||||
|
||||
-=over 4
|
||||
-
|
||||
-=item B<uuid="UUID">
|
||||
+=head3 CPU Allocation
|
||||
|
||||
-Specifies the UUID of the domain. If not specified, a fresh unique
|
||||
-UUID will be generated.
|
||||
-
|
||||
-=item B<vncviewer=BOOLEAN>
|
||||
-
|
||||
-Automatically spawn a vncviewer when creating/restoring a guest
|
||||
+=over 4
|
||||
|
||||
=item B<pool="CPUPOOLNAME">
|
||||
|
||||
@@ -138,6 +131,12 @@ node) by pinning it to the cpus of those nodes. A heuristic approach is
|
||||
utilized with the goals of maximizing performance for the domain and, at
|
||||
the same time, achieving efficient utilization of the host's CPUs and RAM.
|
||||
|
||||
+=back
|
||||
+
|
||||
+=head3 CPU Scheduling
|
||||
+
|
||||
+=over 4
|
||||
+
|
||||
=item B<cpu_weight=WEIGHT>
|
||||
|
||||
A domain with a weight of 512 will get twice as much CPU as a domain
|
||||
@@ -176,6 +175,12 @@ Honoured by the sedf scheduler.
|
||||
Flag for allowing domain to run in extra time.
|
||||
Honoured by the sedf scheduler.
|
||||
|
||||
+=back
|
||||
+
|
||||
+=head3 Memory Allocation
|
||||
+
|
||||
+=over 4
|
||||
+
|
||||
=item B<memory=MBYTES>
|
||||
|
||||
Start the guest with MBYTES megabytes of RAM.
|
||||
@@ -190,6 +195,12 @@ if the values of B<memory=> and B<maxmem=> differ.
|
||||
A "pre-ballooned" HVM guest needs a balloon driver, without a balloon driver
|
||||
it will crash.
|
||||
|
||||
+=back
|
||||
+
|
||||
+=head3 Event Actions
|
||||
+
|
||||
+=over 4
|
||||
+
|
||||
=item B<on_poweroff="ACTION">
|
||||
|
||||
Specifies what should be done with the domain if it shuts itself down.
|
||||
@@ -200,12 +211,12 @@ The C<ACTION>s are:
|
||||
=item B<destroy>
|
||||
|
||||
destroy the domain
|
||||
-
|
||||
+
|
||||
=item B<restart>
|
||||
|
||||
destroy the domain and immediately create a new domain with the same
|
||||
configuration
|
||||
-
|
||||
+
|
||||
=item B<rename-restart>
|
||||
|
||||
rename the domain which terminated, and then immediately create a new
|
||||
@@ -244,10 +255,28 @@ Default is C<destroy>.
|
||||
|
||||
Action to take if the domain crashes. Default is C<destroy>.
|
||||
|
||||
+=back
|
||||
+
|
||||
+=head3 Other Options
|
||||
+
|
||||
+=over 4
|
||||
+
|
||||
+=item B<uuid="UUID">
|
||||
+
|
||||
+Specifies the UUID of the domain. If not specified, a fresh unique
|
||||
+UUID will be generated.
|
||||
+
|
||||
=item B<seclabel="LABEL">
|
||||
|
||||
Assign an XSM security label to this domain.
|
||||
|
||||
+=item B<nomigrate=BOOLEAN>
|
||||
+
|
||||
+Disable migration of this domain. This enables certain other features
|
||||
+which are incompatible with migration. Currently this is limited to
|
||||
+enabling the invariant TSC feature flag in cpuid results when TSC is
|
||||
+not emulated.
|
||||
+
|
||||
=back
|
||||
|
||||
=head2 Devices
|
||||
@@ -309,7 +338,20 @@ Specifies the password for the VNC server.
|
||||
=item C<sdl=BOOLEAN>
|
||||
|
||||
Specifies that the display should be presented via an X window (using
|
||||
-Simple DirectMedia Layer). The default is to not enable this mode
|
||||
+Simple DirectMedia Layer). The default is to not enable this mode.
|
||||
+
|
||||
+=item C<display=DISPLAY>
|
||||
+
|
||||
+Specifies the X Window display that should be used when the sdl option
|
||||
+is used. Note: passing this value to the device-model is not currently
|
||||
+implemented, so providing this option will have no effect.
|
||||
+
|
||||
+=item C<xauthority=XAUTHORITY>
|
||||
+
|
||||
+Specifies the path to the X authority file that should be used to
|
||||
+connect to the X server when the sdl option is used. Note: passing
|
||||
+this value to the device-model is not currently implemented, so
|
||||
+providing this option will have no effect.
|
||||
|
||||
=item C<opengl=BOOLEAN>
|
||||
|
||||
@@ -324,19 +366,9 @@ display. If the input method does not easily support raw keycodes
|
||||
(e.g. this is often the case when using VNC) then this allows us to
|
||||
correctly map the input keys into keycodes seen by the guest. The
|
||||
specific values which are accepted are defined by the version of the
|
||||
-device-model which you are using. See L<Keymaps> below or consult the
|
||||
+device-model which you are using. See L</"Keymaps"> below or consult the
|
||||
L<qemu(1)> manpage. The default is B<en-us>.
|
||||
|
||||
-=item C<display=XXX>
|
||||
-
|
||||
-XXX written to xenstore backend for vfb but does not appear to be used
|
||||
-anywhere?
|
||||
-
|
||||
-=item C<authority=XXX>
|
||||
-
|
||||
-XXX written to xenstore backend for vfb but does not appear to be used
|
||||
-anywhere?
|
||||
-
|
||||
=back
|
||||
|
||||
=item B<pci=[ "PCI_SPEC_STRING", "PCI_SPEC_STRING", ... ]>
|
||||
@@ -348,7 +380,7 @@ has the form C<[DDDD:]BB:DD.F[@VSLOT],KEY=VALUE,KEY=VALUE,...> where:
|
||||
|
||||
=item B<DDDD:BB:DD.F>
|
||||
|
||||
-identifies the PCI device from the host perspective in domain
|
||||
+Identifies the PCI device from the host perspective in domain
|
||||
(B<DDDD>), Bus (B<BB>), Device (B<DD>) and Function (B<F>) syntax. This is
|
||||
the same scheme as used in the output of C<lspci> for the device in
|
||||
question. Note: By default C<lspci> will omit the domain (B<DDDD>) if it
|
||||
@@ -357,9 +389,9 @@ is zero and it is optional here also. You may specify the function
|
||||
|
||||
=item B<@VSLOT>
|
||||
|
||||
-specifies the virtual device where the guest will see this
|
||||
+Specifies the virtual device where the guest will see this
|
||||
device. This is equivalent to the B<DD> which the guest sees. In a
|
||||
-guest B<DDDD> and B<BB> are C<0000:00>. XXX how does this really work?
|
||||
+guest B<DDDD> and B<BB> are C<0000:00>.
|
||||
|
||||
=item B<KEY=VALUE>
|
||||
|
||||
@@ -367,14 +399,6 @@ Possible B<KEY>s are:
|
||||
|
||||
=over 4
|
||||
|
||||
-=item B<msitranslate=BOOLEAN>
|
||||
-
|
||||
-XXX
|
||||
-
|
||||
-=item B<power_mgmt=BOOLEAN>
|
||||
-
|
||||
-XXX
|
||||
-
|
||||
=item B<permissive=BOOLEAN>
|
||||
|
||||
(PV only) By default pciback only allows PV guests to write "known
|
||||
@@ -386,6 +410,19 @@ caution: it gives the guest much more control over the device, which
|
||||
may have security or stability implications. It is recommended to
|
||||
enable this option only for trusted VMs under administrator control.
|
||||
|
||||
+=item B<msitranslate=BOOLEAN>
|
||||
+
|
||||
+Specifies that MSI-INTx translation should be turned on for the PCI
|
||||
+device. When enabled, MSI-INTx translation will always enable MSI on
|
||||
+the PCI device regardless whether the guest uses INTx or MSI. Some
|
||||
+device drivers, such as NVIDIA's, detect an inconsistency and do not
|
||||
+function when this option is enabled. Therefore the default is 0.
|
||||
+
|
||||
+=item B<power_mgmt=BOOLEAN>
|
||||
+
|
||||
+(HVM only) Specifies that the VM should be able to program the
|
||||
+D0-D3hot power management states for the PCI device. 0 by default.
|
||||
+
|
||||
=back
|
||||
|
||||
=back
|
||||
@@ -393,18 +430,64 @@ enable this option only for trusted VMs under administrator control.
|
||||
=item B<pci_permissive=BOOLEAN>
|
||||
|
||||
(PV only) Changes the default value of 'permissive' for all PCI
|
||||
-devices for this VM. This can still be overridden on a per-device
|
||||
-basis. This option should be enabled with caution: it gives the guest
|
||||
-much more control over the device, which may have security or
|
||||
-stability implications. It is recommended to enable this option only
|
||||
-for trusted VMs under administrator control. See the "pci=" section
|
||||
-for more information on the "permissive" flag.
|
||||
+devices passed through to this VM. See L<permissive|/"permissive_boolean">
|
||||
+above.
|
||||
|
||||
-=back
|
||||
+=item B<pci_msitranslate=BOOLEAN>
|
||||
|
||||
-=item B<ioports=[ "IOPORT_RANGE", "IOPORT_RANGE", ... ]>
|
||||
+Changes the default value of 'msitranslate' for all PCI devices passed
|
||||
+through to this VM. See L<msitranslate|/"msitranslate_boolean"> above.
|
||||
|
||||
-=over 4
|
||||
+=item B<pci_power_mgmt=BOOLEAN>
|
||||
+
|
||||
+(HVM only) Changes the default value of 'power_mgmt' for all PCI
|
||||
+devices passed through to this VM. See L<power_mgt|/"power_mgmt_boolean">
|
||||
+above.
|
||||
+
|
||||
+=item B<gfx_passthru=BOOLEAN>
|
||||
+
|
||||
+Enable graphics device PCI passthrough. This option makes an assigned
|
||||
+PCI graphics card become primary graphics card in the VM. The QEMU
|
||||
+emulated graphics adapter is disabled and the VNC console for the VM
|
||||
+will not have any graphics output. All graphics output, including boot
|
||||
+time QEMU BIOS messages from the VM, will go to the physical outputs
|
||||
+of the passedthrough physical graphics card.
|
||||
+
|
||||
+The graphics card PCI device to passthrough is chosen with B<pci>
|
||||
+option, exactly in the same way as normal Xen PCI device
|
||||
+passthrough/assignment is done. Note that gfx_passthru does not do
|
||||
+any kind of sharing of the GPU, so you can only assign the GPU to one
|
||||
+single VM at a time.
|
||||
+
|
||||
+gfx_passthru also enables various legacy VGA memory ranges, BARs, MMIOs,
|
||||
+and ioports to be passed thru to the VM, since those are required
|
||||
+for correct operation of things like VGA BIOS, text mode, VBE, etc.
|
||||
+
|
||||
+Enabling gfx_passthru option also copies the physical graphics card
|
||||
+video BIOS to the guest memory, and executes the VBIOS in the guest
|
||||
+to initialize the graphics card.
|
||||
+
|
||||
+Most graphics adapters require vendor specific tweaks for properly
|
||||
+working graphics passthrough. See the XenVGAPassthroughTestedAdapters
|
||||
+L<http://wiki.xen.org/wiki/XenVGAPassthroughTestedAdapters> wiki page
|
||||
+for currently supported graphics cards for gfx_passthru.
|
||||
+
|
||||
+gfx_passthru is currently only supported with the qemu-xen-traditional
|
||||
+device-model. Upstream qemu-xen device-model currently does not have
|
||||
+support for gfx_passthru.
|
||||
+
|
||||
+Note that some graphics adapters (AMD/ATI cards, for example) do not
|
||||
+necessarily require gfx_passthru option, so you can use the normal Xen
|
||||
+PCI passthrough to assign the graphics card as a secondary graphics
|
||||
+card to the VM. The QEMU-emulated graphics card remains the primary
|
||||
+graphics card, and VNC output is available from the QEMU-emulated
|
||||
+primary adapter.
|
||||
+
|
||||
+More information about Xen gfx_passthru feature is available
|
||||
+on the XenVGAPassthrough L<http://wiki.xen.org/wiki/XenVGAPassthrough>
|
||||
+wiki page.
|
||||
+
|
||||
+=item B<ioports=[ "IOPORT_RANGE", "IOPORT_RANGE", ... ]>
|
||||
|
||||
Allow guest to access specific legacy I/O ports. Each B<IOPORT_RANGE>
|
||||
is given in hexadecimal and may either a span e.g. C<2f8-2ff>
|
||||
@@ -413,12 +496,8 @@ is given in hexadecimal and may either a span e.g. C<2f8-2ff>
|
||||
It is recommended to use this option only for trusted VMs under
|
||||
administrator control.
|
||||
|
||||
-=back
|
||||
-
|
||||
=item B<irqs=[ NUMBER, NUMBER, ... ]>
|
||||
|
||||
-=over 4
|
||||
-
|
||||
Allow a guest to access specific physical IRQs.
|
||||
|
||||
It is recommended to use this option only for trusted VMs under
|
||||
@@ -471,12 +550,12 @@ address space consists of a single contiguous RAM region. When this
|
||||
option is specified the virtual e820 instead reflects the host e820
|
||||
and contains the same PCI holes. The total amount of RAM represented
|
||||
by the memory map is always the same, this option configures only how
|
||||
-it is layed out.
|
||||
+it is laid out.
|
||||
|
||||
Exposing the host e820 to the guest gives the guest kernel the
|
||||
opportunity to set aside the required part of its pseudo-physical
|
||||
address space in order to provide address space to map passedthrough
|
||||
-PCI devices. It is guest Operating System dependant whether this
|
||||
+PCI devices. It is guest Operating System dependent whether this
|
||||
option is required, specifically it is required when using a mainline
|
||||
Linux ("pvops") kernel. This option defaults to true if any PCI
|
||||
passthrough devices are configured and false otherwise. If you do not
|
||||
@@ -600,6 +679,16 @@ by most modern guest Operating Systems. This option is enabled by
|
||||
default and usually you should omit it. However it may be necessary to
|
||||
disable ACPI for compatibility with some guest Operating Systems.
|
||||
|
||||
+=item B<acpi_s3=BOOLEAN>
|
||||
+
|
||||
+Include the S3 (suspend-to-ram) power state in the virtual firmware
|
||||
+ACPI table. 1 by default.
|
||||
+
|
||||
+=item B<acpi_s4=BOOLEAN>
|
||||
+
|
||||
+Include S4 (suspend-to-disk) power state in the virtual firmware ACPI
|
||||
+table. 1 by default.
|
||||
+
|
||||
=item B<apic=BOOLEAN>
|
||||
|
||||
Include information regarding APIC (Advanced Programmable Interrupt
|
||||
@@ -637,6 +726,54 @@ of Xen) within a Xen guest or to support a guest Operating System
|
||||
which uses hardware virtualisation extensions (e.g. Windows XP
|
||||
compatibility mode on more modern Windows OS).
|
||||
|
||||
+=item B<cpuid="LIBXL_STRING"> or B<cpuid=[ "XEND_STRING", "XEND_STRING" ]>
|
||||
+
|
||||
+Configure the value returned when a guest executes CPUID instruction.
|
||||
+Two versions of config syntax are recognized: libxl and xend.
|
||||
+
|
||||
+The libxl syntax is a comma separated list of key=value pairs, preceded by the
|
||||
+word "host". A few keys take a numerical value, all others take a single
|
||||
+character which describes what to do with the feature bit.
|
||||
+
|
||||
+Possible values for a single feature bit:
|
||||
+ '1' -> force the corresponding bit to 1
|
||||
+ '0' -> force to 0
|
||||
+ 'x' -> Get a safe value (pass through and mask with the default policy)
|
||||
+ 'k' -> pass through the host bit value
|
||||
+ 's' -> as 'k' but preserve across save/restore and migration (not implemented)
|
||||
+
|
||||
+List of keys taking a value:
|
||||
+apicidsize brandid clflush family localapicid maxleaf model nc proccount procpkg
|
||||
+stepping
|
||||
+
|
||||
+List of keys taking a character:
|
||||
+3dnow 3dnowext 3dnowprefetch abm acpi aes altmovcr8 apic avx clfsh cmov
|
||||
+cmplegacy cmpxchg16 cmpxchg8 cntxid dca de ds dscpl dtes64 est extapic f16c
|
||||
+ffxsr fma4 fpu fxsr htt hypervisor ia64 ibs lahfsahf lm lwp mca mce misalignsse
|
||||
+mmx mmxext monitor movbe msr mtrr nodeid nx osvw osxsave pae page1gb pat pbe
|
||||
+pclmulqdq pdcm pge popcnt pse pse36 psn rdtscp skinit smx ss sse sse2 sse3
|
||||
+sse4.1 sse4.2 sse4a ssse3 svm svm_decode svm_lbrv svm_npt svm_nrips
|
||||
+svm_pausefilt svm_tscrate svm_vmcbclean syscall sysenter tbm tm tm2 topoext tsc
|
||||
+vme vmx wdt x2apic xop xsave xtpr
|
||||
+
|
||||
+The xend syntax is a list of values in the form of
|
||||
+'leafnum:register=bitstring,register=bitstring'
|
||||
+ "leafnum" is the requested function,
|
||||
+ "register" is the response register to modify
|
||||
+ "bitstring" represents all bits in the register, its length must be 32 chars.
|
||||
+ Each successive character represent a lesser-significant bit, possible values
|
||||
+ are listed above in the libxl section.
|
||||
+
|
||||
+Example to hide two features from the guest: 'tm', which is bit #29 in EDX, and
|
||||
+'pni' (SSE3), which is bit #0 in ECX:
|
||||
+
|
||||
+xend: [ '1:ecx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0,edx=xx0xxxxxxxxxxxxxxxxxxxxxxxxxxxxx' ]
|
||||
+
|
||||
+libxl: 'host,tm=0,sse3=0'
|
||||
+
|
||||
+More info about the CPUID instruction can be found in the processor manuals, and
|
||||
+in Wikipedia: L<http://en.wikipedia.org/wiki/CPUID>
|
||||
+
|
||||
=back
|
||||
|
||||
=head3 Guest Virtual Time Controls
|
||||
@@ -680,8 +817,6 @@ frequency changes.
|
||||
|
||||
=back
|
||||
|
||||
-=back
|
||||
-
|
||||
Please see F<docs/misc/tscmode.txt> for more information on this option.
|
||||
|
||||
=item B<localtime=BOOLEAN>
|
||||
@@ -692,6 +827,50 @@ Set the real time clock to local time or to UTC. 0 by default, i.e. set to UTC.
|
||||
|
||||
Set the real time clock offset in seconds. 0 by default.
|
||||
|
||||
+
|
||||
+=item B<vpt_align=BOOLEAN>
|
||||
+
|
||||
+Specifies that periodic Virtual Platform Timers should be aligned to
|
||||
+reduce guest interrupts. Enabling this option can reduce power
|
||||
+consumption, especially when a guest uses a high timer interrupt
|
||||
+frequency (HZ) values. The default is 1.
|
||||
+
|
||||
+=item B<timer_mode=MODE>
|
||||
+
|
||||
+Specifies the mode for Virtual Timers. The valid values are as follows:
|
||||
+
|
||||
+=over 4
|
||||
+
|
||||
+=item B<"delay_for_missed_ticks">
|
||||
+
|
||||
+Delay for missed ticks. Do not advance a vcpu's time beyond the
|
||||
+correct delivery time for interrupts that have been missed due to
|
||||
+preemption. Deliver missed interrupts when the vcpu is rescheduled and
|
||||
+advance the vcpu's virtual time stepwise for each one.
|
||||
+
|
||||
+=item B<"no_delay_for_missed_ticks">
|
||||
+
|
||||
+No delay for missed ticks. As above, missed interrupts are delivered,
|
||||
+but guest time always tracks wallclock (i.e., real) time while doing
|
||||
+so.
|
||||
+
|
||||
+=item B<"no_missed_ticks_pending">
|
||||
+
|
||||
+No missed interrupts are held pending. Instead, to ensure ticks are
|
||||
+delivered at some non-zero rate, if we detect missed ticks then the
|
||||
+internal tick alarm is not disabled if the VCPU is preempted during
|
||||
+the next tick period.
|
||||
+
|
||||
+=item B<"one_missed_tick_pending">
|
||||
+
|
||||
+One missed tick pending. Missed interrupts are collapsed
|
||||
+together and delivered as one 'late tick'. Guest time always tracks
|
||||
+wallclock (i.e., real) time.
|
||||
+
|
||||
+=back
|
||||
+
|
||||
+=back
|
||||
+
|
||||
=head3 Support for Paravirtualisation of HVM Guests
|
||||
|
||||
The following options allow Paravirtualised features (such as devices)
|
||||
@@ -719,10 +898,11 @@ compatible enlightenments to the guest. These can improve performance
|
||||
of Microsoft Windows guests from Windows Vista and Windows 2008
|
||||
onwards and setting this option for such guests is strongly
|
||||
recommended. This option should be harmless for other versions of
|
||||
-Windows (although it won't give any benefit) and the majority of other
|
||||
-non-Windows OSes. However it is known to be incompatible with some
|
||||
-other Operating Systems and in some circumstance can prevent Xen's own
|
||||
-paravirtualisation interfaces for HVM guests from being used.
|
||||
+Windows (although it will not give any benefit) and the majority of
|
||||
+other non-Windows OSes. However it is known to be incompatible with
|
||||
+some other Operating Systems and in some circumstance can prevent
|
||||
+Xen's own paravirtualisation interfaces for HVM guests from being
|
||||
+used.
|
||||
|
||||
=back
|
||||
|
||||
@@ -762,6 +942,10 @@ stdvga supports more video ram and bigger resolutions than Cirrus.
|
||||
Allow access to the display via the VNC protocol. This enables the
|
||||
other VNC-related settings. The default is to enable this.
|
||||
|
||||
+=item B<vncviewer=BOOLEAN>
|
||||
+
|
||||
+Automatically spawn a vncviewer when creating/restoring a guest.
|
||||
+
|
||||
=item B<vnclisten="ADDRESS[:DISPLAYNUM]">
|
||||
|
||||
Specifies the IP address, and optionally VNC display number, to use.
|
||||
@@ -787,7 +971,7 @@ display. If the input method does not easily support raw keycodes
|
||||
(e.g. this is often the case when using VNC) then this allows us to
|
||||
correctly map the input keys into keycodes seen by the guest. The
|
||||
specific values which are accepted are defined by the version of the
|
||||
-device-model which you are using. See L<Keymaps> below of consult the
|
||||
+device-model which you are using. See L</"Keymaps"> below or consult the
|
||||
L<qemu(1)> manpage. The default is B<en-us>.
|
||||
|
||||
=item B<sdl=BOOLEAN>
|
||||
@@ -799,7 +983,7 @@ Simple DirectMedia Layer). The default is not to enable this mode.
|
||||
|
||||
Enable OpenGL acceleration of the SDL display. Only effects machines
|
||||
using B<device_model_version="qemu-xen-traditional"> and only if the
|
||||
-device-model was compiled with OpenGL support. Disabled by default.
|
||||
+device-model was compiled with OpenGL support. 0 by default.
|
||||
|
||||
=item B<nographic=BOOLEAN>
|
||||
|
||||
@@ -839,8 +1023,8 @@ have not been supported.
|
||||
|
||||
=item B<spicedisable_ticketing=BOOLEAN>
|
||||
|
||||
-Enable client connection without password. The default is false. If
|
||||
-it's false (set to 0), spicepasswd must be set.
|
||||
+Enable client connection without password. When disabled, spicepasswd
|
||||
+must be set. The default is 0.
|
||||
|
||||
=item B<spicepasswd="PASSWORD">
|
||||
|
||||
@@ -883,28 +1067,7 @@ which adds pointer device using absolute coordinates. Such devices
|
||||
function better than relative coordinate devices (such as a standard
|
||||
mouse) since many methods of exporting guest graphics (such as VNC)
|
||||
work better in this mode. Note that this is independent of the actual
|
||||
-pointer device you are using on the host/client side. XXX should/could
|
||||
-be a list of devices.
|
||||
-
|
||||
-=back
|
||||
-
|
||||
-=head3 Unclassified HVM Specific Options
|
||||
-
|
||||
-These HVM specific options have not yet been documented or
|
||||
-classified. They almost certainly belong in a more appropriate
|
||||
-section.
|
||||
-
|
||||
-=over 4
|
||||
-
|
||||
-=item B<vpt_align=BOOLEAN>
|
||||
-
|
||||
-Align the Virtual Platform Timer ??? XXX Reduces interrupts?
|
||||
-
|
||||
-=item B<timer_mode=NUMBER>
|
||||
-
|
||||
-Set mode for Virtual Timers XXX ??? should be an enum of particular
|
||||
-values. See C<HVM_PARAM_TIMER_MODE> in
|
||||
-F<xen/include/public/hvm/params.h>.
|
||||
+pointer device you are using on the host/client side.
|
||||
|
||||
=back
|
||||
|
||||
@@ -932,7 +1095,7 @@ device-model is currently the default.
|
||||
|
||||
=item B<qemu-xen>
|
||||
|
||||
-use the device-model merged into the upstream Qemu project. This
|
||||
+use the device-model merged into the upstream QEMU project. This
|
||||
device-model will become the default in a future version of Xen.
|
||||
|
||||
=back
|
||||
@@ -979,142 +1142,6 @@ option to the device-model.
|
||||
|
||||
=back
|
||||
|
||||
-=head2 Unclassified General Options
|
||||
-
|
||||
-These have not yet been fully documented or classified. They almost
|
||||
-certainly belong in a more appropriate section.
|
||||
-
|
||||
-=over 4
|
||||
-
|
||||
-=item B<gfx_passthru=BOOLEAN>
|
||||
-
|
||||
-Enable graphics device PCI passthrough. This option makes the passthru
|
||||
-graphics card become primary graphics card in the VM, so the Qemu emulated
|
||||
-graphics adapter is disabled, and the VNC console for the VM won't have
|
||||
-any graphics output. All graphics output, including boot time Qemu BIOS
|
||||
-messages from the VM, will go to the physical outputs of the passed thru
|
||||
-physical graphics card.
|
||||
-
|
||||
-Graphics card PCI device to passthru is chosen with B<pci> option,
|
||||
-exactly in the same way as normal Xen PCI device passthru/assignment is done.
|
||||
-Note that gfx_passthru doesn't do any kind of sharing
|
||||
-of the GPU, so you can only assign the GPU to one single VM at a time.
|
||||
-
|
||||
-gfx_passthru also enables various legacy VGA memory ranges, BARs, MMIOs,
|
||||
-and ioports to be passed thru to the VM, since those are required
|
||||
-for correct operation of things like VGA BIOS, text mode, VBE, etc.
|
||||
-
|
||||
-Enabling gfx_passthru option also copies the physical graphics card
|
||||
-video BIOS to the guest memory, and executes the VBIOS in the guest
|
||||
-to get the graphics card initialized.
|
||||
-
|
||||
-Most graphics adapters require vendor specific tweaks for properly
|
||||
-working graphics passthru. See the XenVGAPassthroughTestedAdapters
|
||||
-L<http://wiki.xen.org/wiki/XenVGAPassthroughTestedAdapters>
|
||||
-wiki page for currently supported graphics cards for gfx_passthru.
|
||||
-
|
||||
-gfx_passthru is currently only supported with the qemu-xen-traditional
|
||||
-device-model. Upstream qemu-xen device-model currently doesn't have
|
||||
-support for gfx_passthru.
|
||||
-
|
||||
-Note that some graphics adapters (AMD/ATI cards, for example) don't
|
||||
-necessarily require gfx_passthru option, so you can use the normal
|
||||
-Xen PCI passthru to assign the graphics card as a secondary graphics card
|
||||
-to the VM. Qemu emulated graphics card stays as the primary graphics card,
|
||||
-and you get VNC output from the Qemu-emulated primary adapter.
|
||||
-
|
||||
-More information about Xen gfx_passthru feature is available
|
||||
-on the XenVGAPassthrough L<http://wiki.xen.org/wiki/XenVGAPassthrough>
|
||||
-wiki page.
|
||||
-
|
||||
-=item B<nomigrate=BOOLEAN>
|
||||
-
|
||||
-Disable migration of this domain. This enables certain other features
|
||||
-which are incompatible with migration (currently certain TSC modes XXX
|
||||
-?).
|
||||
-
|
||||
-=item B<pci_msitranslate=BOOLEAN>
|
||||
-
|
||||
-XXX
|
||||
-
|
||||
-=item B<pci_power_mgmt=BOOLEAN>
|
||||
-
|
||||
-XXX
|
||||
-
|
||||
-=item B<cpuid="LIBXL_STRING"> or B<cpuid=[ "XEND_STRING", "XEND_STRING" ]>
|
||||
-
|
||||
-Configure the value returned when a guest executes CPUID instruction.
|
||||
-Two versions of config syntax are recognized: libxl and xend.
|
||||
-
|
||||
-The libxl syntax is a comma separated list of key=value pairs, preceded by the
|
||||
-word "host". A few keys take a numerical value, all others take a single
|
||||
-character which describes what to do with the feature bit.
|
||||
-
|
||||
-Possible values for a single feature bit:
|
||||
- '1' -> force the corresponding bit to 1
|
||||
- '0' -> force to 0
|
||||
- 'x' -> Get a safe value (pass through and mask with the default policy)
|
||||
- 'k' -> pass through the host bit value
|
||||
- 's' -> as 'k' but preserve across save/restore and migration (not implemented)
|
||||
-
|
||||
-List of keys taking a value:
|
||||
-apicidsize brandid clflush family localapicid maxleaf model nc proccount procpkg
|
||||
-stepping
|
||||
-
|
||||
-List of keys taking a character:
|
||||
-3dnow 3dnowext 3dnowprefetch abm acpi aes altmovcr8 apic avx clfsh cmov
|
||||
-cmplegacy cmpxchg16 cmpxchg8 cntxid dca de ds dscpl dtes64 est extapic f16c
|
||||
-ffxsr fma4 fpu fxsr htt hypervisor ia64 ibs lahfsahf lm lwp mca mce misalignsse
|
||||
-mmx mmxext monitor movbe msr mtrr nodeid nx osvw osxsave pae page1gb pat pbe
|
||||
-pclmulqdq pdcm pge popcnt pse pse36 psn rdtscp skinit smx ss sse sse2 sse3
|
||||
-sse4.1 sse4.2 sse4a ssse3 svm svm_decode svm_lbrv svm_npt svm_nrips
|
||||
-svm_pausefilt svm_tscrate svm_vmcbclean syscall sysenter tbm tm tm2 topoext tsc
|
||||
-vme vmx wdt x2apic xop xsave xtpr
|
||||
-
|
||||
-The xend syntax is a list of values in the form of
|
||||
-'leafnum:register=bitstring,register=bitstring'
|
||||
- "leafnum" is the requested function,
|
||||
- "register" is the response register to modify
|
||||
- "bitstring" represents all bits in the register, its length must be 32 chars.
|
||||
- Each successive character represent a lesser-significant bit, possible values
|
||||
- are listed above in the libxl section.
|
||||
-
|
||||
-Example to hide two features from the guest: 'tm', which is bit #29 in EDX, and
|
||||
-'pni' (SSE3), which is bit #0 in ECX:
|
||||
-
|
||||
-xend: [ '1:ecx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0,edx=xx0xxxxxxxxxxxxxxxxxxxxxxxxxxxxx' ]
|
||||
-
|
||||
-libxl: 'host,tm=0,sse3=0'
|
||||
-
|
||||
-More info about the CPUID instruction can be found in the processor manuals, and
|
||||
-in Wikipedia: L<http://en.wikipedia.org/wiki/CPUID>
|
||||
-
|
||||
-=item B<acpi_s3=BOOLEAN>
|
||||
-
|
||||
-XXX
|
||||
-
|
||||
-=item B<acpi_s3=BOOLEAN>
|
||||
-
|
||||
-XXX
|
||||
-
|
||||
-=item B<nodes=XXX>
|
||||
-
|
||||
-XXX
|
||||
-
|
||||
-=item B<sched=XXX>
|
||||
-
|
||||
-XXX
|
||||
-
|
||||
-=item B<device_model=XXX>
|
||||
-
|
||||
-XXX deprecated
|
||||
-
|
||||
-=item B<vif2=XXX>
|
||||
-
|
||||
-XXX deprecated
|
||||
-
|
||||
-=back
|
||||
-
|
||||
=head2 Keymaps
|
||||
|
||||
The keymaps available are defined by the device-model which you are
|
||||
@@ -1134,27 +1161,26 @@ See L<qemu(1)> for more information.
|
||||
|
||||
=item L<xl(1)>
|
||||
|
||||
+=item L<xlcpupool.cfg(5)>
|
||||
+
|
||||
=item F<xl-disk-configuration>
|
||||
|
||||
=item F<xl-network-configuration>
|
||||
|
||||
+=item F<docs/misc/tscmode.txt>
|
||||
+
|
||||
=back
|
||||
|
||||
=head1 FILES
|
||||
|
||||
F</etc/xen/NAME.cfg>
|
||||
F</var/xen/dump/NAME>
|
||||
-F<docs/misc/tscmode.txt>
|
||||
|
||||
=head1 BUGS
|
||||
|
||||
-This document is a work in progress and contains items which require
|
||||
-further documentation and which are generally incomplete (marked with
|
||||
-XXX). However all options are included here whether or not they are
|
||||
-fully documented.
|
||||
-
|
||||
-Patches to improve incomplete items (or any other item) would be
|
||||
-gratefully received on the xen-devel@lists.xen.org mailing
|
||||
+This document may contain items which require further
|
||||
+documentation. Patches to improve incomplete items (or any other item)
|
||||
+are gratefully received on the xen-devel@lists.xen.org mailing
|
||||
list. Please see L<http://wiki.xen.org/wiki/SubmittingXenPatches> for
|
||||
information on how to submit a patch to Xen.
|
||||
|
@ -0,0 +1,69 @@
|
||||
From 3179d694a8dcaa091131e3db644d445c0130713e Mon Sep 17 00:00:00 2001
|
||||
From: Michael Tokarev <mjt@tls.msk.ru>
|
||||
Subject: [PATCH] Support utf8 chars in pod docs
|
||||
|
||||
diff --git a/tools/qemu-xen/Makefile b/tools/qemu-xen/Makefile
|
||||
index 301c75e..d912f3b 100644
|
||||
--- a/tools/qemu-xen/Makefile
|
||||
+++ b/tools/qemu-xen/Makefile
|
||||
@@ -352,22 +352,23 @@ QMP/qmp-commands.txt: $(SRC_PATH)/qmp-commands.hx
|
||||
qemu-img-cmds.texi: $(SRC_PATH)/qemu-img-cmds.hx
|
||||
$(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -t < $< > $@," GEN $@")
|
||||
|
||||
+POD2MAN = pod2man --utf8
|
||||
qemu.1: qemu-doc.texi qemu-options.texi qemu-monitor.texi
|
||||
$(call quiet-command, \
|
||||
perl -Ww -- $(SRC_PATH)/scripts/texi2pod.pl $< qemu.pod && \
|
||||
- pod2man --section=1 --center=" " --release=" " qemu.pod > $@, \
|
||||
+ ${POD2MAN} --section=1 --center=" " --release=" " qemu.pod > $@, \
|
||||
" GEN $@")
|
||||
|
||||
qemu-img.1: qemu-img.texi qemu-img-cmds.texi
|
||||
$(call quiet-command, \
|
||||
perl -Ww -- $(SRC_PATH)/scripts/texi2pod.pl $< qemu-img.pod && \
|
||||
- pod2man --section=1 --center=" " --release=" " qemu-img.pod > $@, \
|
||||
+ ${POD2MAN} --section=1 --center=" " --release=" " qemu-img.pod > $@, \
|
||||
" GEN $@")
|
||||
|
||||
qemu-nbd.8: qemu-nbd.texi
|
||||
$(call quiet-command, \
|
||||
perl -Ww -- $(SRC_PATH)/scripts/texi2pod.pl $< qemu-nbd.pod && \
|
||||
- pod2man --section=8 --center=" " --release=" " qemu-nbd.pod > $@, \
|
||||
+ ${POD2MAN} --section=8 --center=" " --release=" " qemu-nbd.pod > $@, \
|
||||
" GEN $@")
|
||||
|
||||
dvi: qemu-doc.dvi qemu-tech.dvi
|
||||
diff --git a/tools/qemu-xen/scripts/texi2pod.pl b/tools/qemu-xen/scripts/texi2pod.pl
|
||||
index 9ed056a..94097fb 100755
|
||||
--- a/tools/qemu-xen/scripts/texi2pod.pl
|
||||
+++ b/tools/qemu-xen/scripts/texi2pod.pl
|
||||
@@ -36,6 +36,7 @@ $fnno = 1;
|
||||
$inf = "";
|
||||
$ibase = "";
|
||||
@ipath = ();
|
||||
+$encoding = undef;
|
||||
|
||||
while ($_ = shift) {
|
||||
if (/^-D(.*)$/) {
|
||||
@@ -97,6 +98,12 @@ while(<$inf>) {
|
||||
/^\@setfilename\s+([^.]+)/ and $fn = $1, next;
|
||||
/^\@settitle\s+([^.]+)/ and $tl = postprocess($1), next;
|
||||
|
||||
+ # Look for document encoding
|
||||
+ /^\@documentencoding\s+([^.]+)/ and do {
|
||||
+ $encoding = $1 unless defined $encoding;
|
||||
+ next;
|
||||
+ };
|
||||
+
|
||||
# Identify a man title but keep only the one we are interested in.
|
||||
/^\@c\s+man\s+title\s+([A-Za-z0-9-]+)\s+(.+)/ and do {
|
||||
if (exists $defs{$1}) {
|
||||
@@ -336,6 +343,8 @@ $inf = pop @instack;
|
||||
|
||||
die "No filename or title\n" unless defined $fn && defined $tl;
|
||||
|
||||
+print "=encoding $encoding\n\n" if defined $encoding;
|
||||
+
|
||||
$sects{NAME} = "$fn \- $tl\n";
|
||||
$sects{FOOTNOTES} .= "=back\n" if exists $sects{FOOTNOTES};
|
||||
|
@ -0,0 +1,17 @@
|
||||
From 665ddd98c4d418ced6f303b79b7a6322c69b7247 Mon Sep 17 00:00:00 2001
|
||||
From: Olaf Hering <olaf@aepfle.de>
|
||||
Subject: [PATCH] docs: remove emtpy =item from xl.1
|
||||
|
||||
diff --git a/docs/man/xl.pod.1 b/docs/man/xl.pod.1
|
||||
index dd387c9..06518c4 100644
|
||||
--- a/docs/man/xl.pod.1
|
||||
+++ b/docs/man/xl.pod.1
|
||||
@@ -851,8 +851,6 @@ The following is the effect of combining the above options:
|
||||
|
||||
=item B<-p [pool] -d>... : Illegal
|
||||
|
||||
-=item
|
||||
-
|
||||
=back
|
||||
|
||||
=item B<sched-credit2> [I<OPTIONS>]
|
@ -0,0 +1,415 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.2.5.ebuild,v 1.1 2014/09/11 05:33:16 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE='xml,threads'
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
REPO="xen-unstable.hg"
|
||||
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
|
||||
S="${WORKDIR}/${REPO}"
|
||||
live_eclass="mercurial"
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
UPSTREAM_VER=
|
||||
GENTOO_VER=
|
||||
SEABIOS_VER=1.6.3.2
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
|
||||
http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
|
||||
http://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
S="${WORKDIR}/xen-${PV}"
|
||||
fi
|
||||
|
||||
inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass}
|
||||
|
||||
DESCRIPTION="Xend daemon and tools"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
DOCS=( README docs/README.xen-bugtool )
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="api custom-cflags debug doc flask hvm qemu ocaml pygrub screen static-libs xend system-seabios"
|
||||
|
||||
REQUIRED_USE="hvm? ( qemu )
|
||||
${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="dev-libs/lzo:2
|
||||
dev-libs/glib:2
|
||||
dev-libs/yajl
|
||||
dev-libs/libgcrypt:0
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/pypam[${PYTHON_USEDEP}]
|
||||
sys-libs/zlib
|
||||
sys-power/iasl
|
||||
system-seabios? ( sys-firmware/seabios )
|
||||
sys-firmware/ipxe
|
||||
dev-ml/findlib
|
||||
hvm? ( media-libs/libsdl )
|
||||
${PYTHON_DEPS}
|
||||
api? ( dev-libs/libxml2
|
||||
net-misc/curl )
|
||||
${PYTHON_DEPS}
|
||||
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )
|
||||
sys-devel/bin86
|
||||
sys-devel/dev86
|
||||
dev-lang/perl
|
||||
app-misc/pax-utils
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
dev-tex/latex2html[png,gif]
|
||||
media-gfx/transfig
|
||||
media-gfx/graphviz
|
||||
dev-tex/xcolor
|
||||
dev-texlive/texlive-latexextra
|
||||
virtual/latex-base
|
||||
dev-tex/latexmk
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-pictures
|
||||
dev-texlive/texlive-latexrecommended
|
||||
)
|
||||
hvm? ( x11-proto/xproto
|
||||
!net-libs/libiscsi )"
|
||||
RDEPEND="sys-apps/iproute2
|
||||
net-misc/bridge-utils
|
||||
ocaml? ( >=dev-lang/ocaml-4 )
|
||||
screen? (
|
||||
app-misc/screen
|
||||
app-admin/logrotate
|
||||
)
|
||||
virtual/udev"
|
||||
|
||||
# hvmloader is used to bootstrap a fully virtualized kernel
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="usr/lib/xen/boot/hvmloader"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
export "CONFIG_LOMOUNT=y"
|
||||
|
||||
if has_version dev-libs/libgcrypt:0; then
|
||||
export "CONFIG_GCRYPT=y"
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
export "CONFIG_IOEMU=y"
|
||||
else
|
||||
export "CONFIG_IOEMU=n"
|
||||
fi
|
||||
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64 ; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
|
||||
use api && export "LIBXENAPI_BINDINGS=y"
|
||||
use flask && export "FLASK_ENABLE=y"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo
|
||||
fi
|
||||
|
||||
# Drop .config, fixes to gcc-4.6
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4-fix_dotconfig-gcc.patch
|
||||
|
||||
# Xend
|
||||
if ! use xend; then
|
||||
sed -e 's:xm xen-bugtool xen-python-path xend:xen-bugtool xen-python-path:' \
|
||||
-i tools/misc/Makefile || die "Disabling xend failed"
|
||||
sed -e 's:^XEND_INITD:#XEND_INITD:' \
|
||||
-i tools/examples/Makefile || die "Disabling xend failed"
|
||||
fi
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
|
||||
# try and remove all the default cflags
|
||||
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
|
||||
-exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} + || die "failed to re-set custom-cflags"
|
||||
fi
|
||||
|
||||
if ! use pygrub; then
|
||||
sed -e '/^SUBDIRS-$(PYTHON_TOOLS) += pygrub$/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
# Disable hvm support on systems that don't support x86_32 binaries.
|
||||
if ! use hvm; then
|
||||
sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die
|
||||
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
|
||||
# Bug 351648
|
||||
elif ! use x86 && ! has x86 $(get_all_abis); then
|
||||
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
|
||||
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
|
||||
export CPATH="${WORKDIR}"/extra-headers
|
||||
fi
|
||||
|
||||
# Don't bother with qemu, only needed for fully virtualised guests
|
||||
if ! use qemu; then
|
||||
sed -e "/^CONFIG_IOEMU := y$/d" -i config/*.mk || die
|
||||
sed -e "s:install-tools\: tools/ioemu-dir:install-tools\: :g" -i Makefile || die
|
||||
fi
|
||||
|
||||
# Fix texi2html build error with new texi2html, qemu.doc.html
|
||||
epatch "${FILESDIR}"/${PN}-4-docfix.patch \
|
||||
"${FILESDIR}"/${PN}-4-qemu-xen-doc.patch
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-4.2-pod-utf8-chars.patch \
|
||||
"${FILESDIR}"/${PN}-4.2-pod-docs.patch \
|
||||
"${FILESDIR}"/${PN}-4.2-pod-xl.patch
|
||||
|
||||
# Fix network broadcast on bridged networks
|
||||
epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch"
|
||||
|
||||
# Bug 496708
|
||||
epatch "${FILESDIR}"/${PN}-4-unbundle-ipxe.patch
|
||||
use system-seabios && epatch "${FILESDIR}"/${PN}-4-unbundle-seabios.patch
|
||||
|
||||
# Fix bridge by idella4, bug #362575
|
||||
epatch "${FILESDIR}/${PN}-4.1.1-bridge.patch"
|
||||
|
||||
# Don't build ipxe with pie on hardened, Bug #360805
|
||||
if gcc-specs-pie; then
|
||||
epatch "${FILESDIR}"/ipxe-nopie.patch
|
||||
fi
|
||||
|
||||
# Prevent double stripping of files at install
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4.2.0-nostrip.patch
|
||||
|
||||
# fix jobserver in Makefile
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4.2.0-jserver.patch
|
||||
|
||||
# add missing header, Bug #467200
|
||||
epatch "${FILESDIR}"/xen-4-ulong.patch \
|
||||
"${FILESDIR}"/${PN}-4.2-xen_disk_leak.patch
|
||||
|
||||
# Set dom0-min-mem to kb; Bug #472982
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4.2-configsxp.patch
|
||||
|
||||
# Bug 463840
|
||||
epatch "${FILESDIR}"/${PN}-4.2.2-install.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.2.2-rt-link.patch
|
||||
|
||||
# Bug 379537
|
||||
epatch "${FILESDIR}"/fix-gold-ld.patch
|
||||
|
||||
# Bug 510976
|
||||
epatch "${FILESDIR}"/${PN}-4.2.4-udev-rules.patch
|
||||
|
||||
# bundled seabios
|
||||
epatch "${FILESDIR}"/${PN}-4-anti-seabios-download.patch
|
||||
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
|
||||
pushd tools/firmware/ > /dev/null
|
||||
ln -s seabios-dir-remote seabios-dir || die
|
||||
popd > /dev/null
|
||||
|
||||
# Bug 472438
|
||||
sed -e 's:^BASH_COMPLETION_DIR ?= $(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(SHARE_DIR)/bash-completion:' \
|
||||
-i Config.mk || die
|
||||
|
||||
# Bug 445986
|
||||
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' -i tools/firmware/Makefile || die
|
||||
|
||||
# fix QA warning, create /var/run/, /var/lock dynamically
|
||||
sed -i -e "/\$(INSTALL_DIR) \$(DESTDIR)\$(XEN_RUN_DIR)/d" \
|
||||
tools/libxl/Makefile || die
|
||||
|
||||
sed -i -e "/\/var\/run\//d" \
|
||||
tools/xenstore/Makefile \
|
||||
tools/pygrub/Makefile || die
|
||||
|
||||
sed -i -e "/\/var\/lock\/subsys/d" \
|
||||
tools/Makefile || die
|
||||
|
||||
# xencommons, Bug #492332, sed lighter weight than patching
|
||||
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
|
||||
-i tools/hotplug/Linux/init.d/xencommons || die
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export VARTEXFONTS="${T}/fonts"
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
use custom-cflags || unset CFLAGS
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
unset LDFLAGS
|
||||
unset CFLAGS
|
||||
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
|
||||
|
||||
use doc && emake -C docs txt html
|
||||
emake -C docs man-pages
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Override auto-detection in the build system, bug #382573
|
||||
export INITD_DIR=/tmp/init.d
|
||||
export CONFIG_LEAF_DIR=../tmp/default
|
||||
|
||||
# Let the build system compile installed Python modules.
|
||||
local PYTHONDONTWRITEBYTECODE
|
||||
export PYTHONDONTWRITEBYTECODE
|
||||
|
||||
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" install-tools \
|
||||
XEN_PYTHON_NATIVE_INSTALL=y install-tools
|
||||
# Fix the remaining Python shebangs.
|
||||
python_fix_shebang "${ED}"
|
||||
|
||||
# Remove RedHat-specific stuff
|
||||
rm -rf "${D}"tmp || die
|
||||
|
||||
# uncomment lines in xl.conf
|
||||
sed -e 's:^#autoballoon=1:autoballoon=1:' \
|
||||
-e 's:^#lockfile="/var/lock/xl":lockfile="/var/lock/xl":' \
|
||||
-e 's:^#vifscript="vif-bridge":vifscript="vif-bridge":' \
|
||||
-i tools/examples/xl.conf || die
|
||||
|
||||
# Reset bash completion dir; Bug 472438
|
||||
mv "${D}"bash-completion "${D}"usr/share/ || die
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
|
||||
|
||||
dohtml -r docs/
|
||||
docinto pdf
|
||||
dodoc ${DOCS[@]}
|
||||
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
|
||||
fi
|
||||
|
||||
rm -rf "${D}"/usr/share/doc/xen/
|
||||
doman docs/man?/*
|
||||
|
||||
if use xend; then
|
||||
newinitd "${FILESDIR}"/xend.initd-r2 xend || die "Couldn't install xen.initd"
|
||||
fi
|
||||
newconfd "${FILESDIR}"/xendomains.confd xendomains
|
||||
newconfd "${FILESDIR}"/xenstored.confd xenstored
|
||||
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
|
||||
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
|
||||
newinitd "${FILESDIR}"/xenstored.initd xenstored
|
||||
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
|
||||
newinitd "${FILESDIR}"/xencommons.initd xencommons
|
||||
newconfd "${FILESDIR}"/xencommons.confd xencommons
|
||||
|
||||
if use screen; then
|
||||
cat "${FILESDIR}"/xendomains-screen.confd >> "${ED}"/etc/conf.d/xendomains || die
|
||||
cp "${FILESDIR}"/xen-consoles.logrotate "${ED}"/etc/xen/ || die
|
||||
keepdir /var/log/xen-consoles
|
||||
fi
|
||||
|
||||
if [[ "${ARCH}" == 'amd64' ]] && use qemu; then
|
||||
mkdir -p "${D}"usr/$(get_libdir)/xen/bin || die
|
||||
mv "${D}"usr/lib/xen/bin/qemu* "${D}"usr/$(get_libdir)/xen/bin/ || die
|
||||
fi
|
||||
|
||||
# For -static-libs wrt Bug 384355
|
||||
if ! use static-libs; then
|
||||
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
|
||||
fi
|
||||
|
||||
# xend expects these to exist
|
||||
keepdir /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen
|
||||
|
||||
# for xendomains
|
||||
keepdir /etc/xen/auto
|
||||
|
||||
# Temp QA workaround
|
||||
dodir "$(get_udevdir)"
|
||||
mv "${D}"/etc/udev/* "${D}/$(get_udevdir)"
|
||||
rm -rf "${D}"/etc/udev
|
||||
|
||||
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
|
||||
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
|
||||
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the offical wiki page:"
|
||||
elog "http://www.gentoo.org/doc/en/xen-gu"${D}"usr/ide.xml"
|
||||
elog "http://wiki.xen.org/wiki/Main_Page"
|
||||
elog ""
|
||||
elog "Recommended to utilise the xencommons script to config sytem at boot."
|
||||
elog "Add by use of rc-update on completion of the install"
|
||||
|
||||
if [[ "$(scanelf -s __guard -q "${PYTHON}")" ]] ; then
|
||||
echo
|
||||
ewarn "xend may not work when python is built with stack smashing protection (ssp)."
|
||||
ewarn "If 'xm create' fails with '<ProtocolError for /RPC2: -1 >', see bug #141866"
|
||||
ewarn "This problem may be resolved as of Xen 3.0.4, if not post in the bug."
|
||||
fi
|
||||
|
||||
# TODO: we need to have the current Python slot here.
|
||||
if ! has_version "dev-lang/python[ncurses]"; then
|
||||
echo
|
||||
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
|
||||
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
|
||||
fi
|
||||
|
||||
if has_version "sys-apps/iproute2[minimal]"; then
|
||||
echo
|
||||
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
|
||||
ewarn "will not work until you rebuild iproute2 without USE=minimal."
|
||||
fi
|
||||
|
||||
if ! use hvm; then
|
||||
echo
|
||||
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
|
||||
elog "support enable the hvm use flag."
|
||||
elog "An x86 or amd64 system is required to build HVM support."
|
||||
fi
|
||||
|
||||
if use xend; then
|
||||
echo
|
||||
elog "xend capability has been enabled and installed"
|
||||
fi
|
||||
|
||||
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
|
||||
echo
|
||||
elog "xensv is broken upstream (Gentoo bug #142011)."
|
||||
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
|
||||
fi
|
||||
}
|
@ -0,0 +1,445 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.3.3.ebuild,v 1.1 2014/09/11 05:33:16 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE='xml,threads'
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
REPO="xen-unstable.hg"
|
||||
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
|
||||
S="${WORKDIR}/${REPO}"
|
||||
live_eclass="mercurial"
|
||||
else
|
||||
KEYWORDS="~amd64 -x86"
|
||||
UPSTREAM_VER=
|
||||
GENTOO_VER=
|
||||
SEABIOS_VER=1.7.1-stable-xen
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
|
||||
http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
|
||||
http://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
S="${WORKDIR}/xen-${PV}"
|
||||
fi
|
||||
|
||||
inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass}
|
||||
|
||||
DESCRIPTION="Xend daemon and tools"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
DOCS=( README docs/README.xen-bugtool )
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
|
||||
# >=dev-lang/ocaml-4 stable
|
||||
# Masked in profiles/eapi-5-files instead
|
||||
IUSE="api custom-cflags debug doc flask hvm qemu ocaml +pam python pygrub screen static-libs xend system-seabios"
|
||||
|
||||
REQUIRED_USE="hvm? ( qemu )
|
||||
${PYTHON_REQUIRED_USE}
|
||||
pygrub? ( python )"
|
||||
|
||||
DEPEND="dev-libs/lzo:2
|
||||
dev-libs/glib:2
|
||||
dev-libs/yajl
|
||||
dev-libs/libgcrypt:0
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
pam? ( dev-python/pypam[${PYTHON_USEDEP}] )
|
||||
sys-libs/zlib
|
||||
sys-power/iasl
|
||||
system-seabios? ( sys-firmware/seabios )
|
||||
sys-firmware/ipxe
|
||||
hvm? ( media-libs/libsdl )
|
||||
${PYTHON_DEPS}
|
||||
api? ( dev-libs/libxml2
|
||||
net-misc/curl )
|
||||
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )
|
||||
sys-devel/bin86
|
||||
sys-devel/dev86
|
||||
dev-lang/perl
|
||||
app-misc/pax-utils
|
||||
dev-python/markdown
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
dev-tex/latex2html[png,gif]
|
||||
media-gfx/graphviz
|
||||
dev-tex/xcolor
|
||||
media-gfx/transfig
|
||||
dev-texlive/texlive-latexextra
|
||||
virtual/latex-base
|
||||
dev-tex/latexmk
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-pictures
|
||||
dev-texlive/texlive-latexrecommended
|
||||
)
|
||||
hvm? ( x11-proto/xproto
|
||||
!net-libs/libiscsi )
|
||||
qemu? ( x11-libs/pixman )
|
||||
ocaml? ( dev-ml/findlib
|
||||
>=dev-lang/ocaml-4 )"
|
||||
RDEPEND="sys-apps/iproute2
|
||||
net-misc/bridge-utils
|
||||
screen? (
|
||||
app-misc/screen
|
||||
app-admin/logrotate
|
||||
)
|
||||
virtual/udev"
|
||||
|
||||
# hvmloader is used to bootstrap a fully virtualized kernel
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="usr/lib/xen/boot/hvmloader"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
export "CONFIG_LOMOUNT=y"
|
||||
|
||||
if has_version dev-libs/libgcrypt:0; then
|
||||
export "CONFIG_GCRYPT=y"
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
export "CONFIG_IOEMU=y"
|
||||
else
|
||||
export "CONFIG_IOEMU=n"
|
||||
fi
|
||||
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64 ; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo
|
||||
fi
|
||||
|
||||
# Drop .config, fixes to gcc-4.6
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4.3-fix_dotconfig-gcc.patch
|
||||
|
||||
# Fix texi2html build error with new texi2html, qemu.doc.html
|
||||
epatch "${FILESDIR}"/${PN}-4-docfix.patch \
|
||||
"${FILESDIR}"/${PN}-4-qemu-xen-doc.patch
|
||||
|
||||
# Fix network broadcast on bridged networks
|
||||
epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch"
|
||||
|
||||
# Bug 496708
|
||||
epatch "${FILESDIR}"/${PN}-4-unbundle-ipxe.patch
|
||||
use system-seabios && epatch "${FILESDIR}"/${PN}-4-unbundle-seabios.patch
|
||||
|
||||
# Fix bridge by idella4, bug #362575
|
||||
epatch "${FILESDIR}/${PN}-4.1.1-bridge.patch"
|
||||
|
||||
# Prevent double stripping of files at install
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4.2.0-nostrip.patch
|
||||
|
||||
# fix jobserver in Makefile
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4.3-jserver.patch
|
||||
|
||||
# add missing header
|
||||
epatch "${FILESDIR}"/xen-4-ulong.patch
|
||||
|
||||
# Set dom0-min-mem to kb; Bug #472982
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4.2-configsxp.patch
|
||||
|
||||
# Bug 477676
|
||||
epatch "${FILESDIR}"/${PN}-4.3-ar-cc.patch
|
||||
|
||||
# Bug 379537
|
||||
epatch "${FILESDIR}"/fix-gold-ld.patch
|
||||
|
||||
# Prevent file collision with qemu package Bug 478064
|
||||
epatch "${FILESDIR}"/qemu-bridge.patch
|
||||
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
|
||||
|
||||
# bundled seabios
|
||||
epatch "${FILESDIR}"/${PN}-4-anti-seabios-download.patch
|
||||
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
|
||||
pushd tools/firmware/ > /dev/null
|
||||
ln -s seabios-dir-remote seabios-dir || die
|
||||
popd > /dev/null
|
||||
|
||||
# Xend
|
||||
if ! use xend; then
|
||||
sed -e 's:xm xen-bugtool xen-python-path xend:xen-bugtool xen-python-path:' \
|
||||
-i tools/misc/Makefile || die "Disabling xend failed"
|
||||
sed -e 's:^XEND_INITD:#XEND_INITD:' \
|
||||
-i tools/examples/Makefile || die "Disabling xend failed"
|
||||
fi
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
|
||||
# try and remove all the default cflags
|
||||
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
|
||||
-exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} + || die "failed to re-set custom-cflags"
|
||||
fi
|
||||
|
||||
if ! use pygrub; then
|
||||
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
if ! use python; then
|
||||
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
# Disable hvm support on systems that don't support x86_32 binaries.
|
||||
if ! use hvm; then
|
||||
sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die
|
||||
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
|
||||
# Bug 351648
|
||||
elif ! use x86 && ! has x86 $(get_all_abis); then
|
||||
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
|
||||
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
|
||||
export CPATH="${WORKDIR}"/extra-headers
|
||||
fi
|
||||
|
||||
# Don't bother with qemu, only needed for fully virtualised guests
|
||||
if ! use qemu; then
|
||||
sed -e "/^CONFIG_IOEMU := y$/d" -i config/*.mk || die
|
||||
sed -e "s:install-tools\: tools/ioemu-dir:install-tools\: :g" -i Makefile || die
|
||||
fi
|
||||
|
||||
# Bug 472438
|
||||
sed -e 's:^BASH_COMPLETION_DIR ?= $(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(SHARE_DIR)/bash-completion:' \
|
||||
-i Config.mk || die
|
||||
|
||||
use flask || sed -e "/SUBDIRS-y += flask/d" -i tools/Makefile || die
|
||||
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
|
||||
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
|
||||
-i tools/firmware/Makefile || die
|
||||
|
||||
# xencommons, Bug #492332, sed lighter weight than patching
|
||||
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
|
||||
-i tools/hotplug/Linux/init.d/xencommons || die
|
||||
|
||||
# Bug 493232 fix from http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1844
|
||||
sed -e 's:bl->argsspace = 7 + :bl->argsspace = 9 + :' \
|
||||
-i tools/libxl/libxl_bootloader.c || die
|
||||
|
||||
# fix QA warning, create /var/run/, /var/lock dynamically
|
||||
sed -i -e "/\$(INSTALL_DIR) \$(DESTDIR)\$(XEN_RUN_DIR)/d" \
|
||||
tools/libxl/Makefile || die
|
||||
|
||||
sed -i -e "/\/var\/run\//d" \
|
||||
tools/xenstore/Makefile \
|
||||
tools/pygrub/Makefile || die
|
||||
|
||||
sed -i -e "/\/var\/lock\/subsys/d" \
|
||||
tools/Makefile || die
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="--prefix=/usr --disable-werror"
|
||||
|
||||
if use ocaml
|
||||
then
|
||||
myconf="${myconf} $(use_enable ocaml ocamltools)"
|
||||
else
|
||||
myconf="${myconf} --disable-ocamltools"
|
||||
fi
|
||||
|
||||
if ! use pam
|
||||
then
|
||||
myconf="${myconf} --disable-pam"
|
||||
fi
|
||||
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export VARTEXFONTS="${T}/fonts"
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
use custom-cflags || unset CFLAGS
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
unset LDFLAGS
|
||||
unset CFLAGS
|
||||
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
|
||||
|
||||
use doc && emake -C docs txt html
|
||||
emake -C docs man-pages
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Override auto-detection in the build system, bug #382573
|
||||
export INITD_DIR=/tmp/init.d
|
||||
export CONFIG_LEAF_DIR=../tmp/default
|
||||
|
||||
# Let the build system compile installed Python modules.
|
||||
local PYTHONDONTWRITEBYTECODE
|
||||
export PYTHONDONTWRITEBYTECODE
|
||||
|
||||
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
|
||||
XEN_PYTHON_NATIVE_INSTALL=y install-tools
|
||||
|
||||
# Fix the remaining Python shebangs.
|
||||
python_fix_shebang "${D}"
|
||||
|
||||
# Remove RedHat-specific stuff
|
||||
rm -rf "${D}"tmp || die
|
||||
|
||||
# uncomment lines in xl.conf
|
||||
sed -e 's:^#autoballoon=1:autoballoon=1:' \
|
||||
-e 's:^#lockfile="/var/lock/xl":lockfile="/var/lock/xl":' \
|
||||
-e 's:^#vifscript="vif-bridge":vifscript="vif-bridge":' \
|
||||
-i tools/examples/xl.conf || die
|
||||
|
||||
# Reset bash completion dir; Bug 472438
|
||||
mv "${D}"bash-completion "${D}"usr/share/ || die
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
|
||||
|
||||
dohtml -r docs/
|
||||
docinto pdf
|
||||
dodoc ${DOCS[@]}
|
||||
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
|
||||
fi
|
||||
|
||||
rm -rf "${D}"/usr/share/doc/xen/
|
||||
doman docs/man?/*
|
||||
|
||||
if use xend; then
|
||||
newinitd "${FILESDIR}"/xend.initd-r2 xend || die "Couldn't install xen.initd"
|
||||
fi
|
||||
newconfd "${FILESDIR}"/xendomains.confd xendomains
|
||||
newconfd "${FILESDIR}"/xenstored.confd xenstored
|
||||
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
|
||||
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
|
||||
newinitd "${FILESDIR}"/xenstored.initd xenstored
|
||||
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
|
||||
newinitd "${FILESDIR}"/xencommons.initd xencommons
|
||||
newconfd "${FILESDIR}"/xencommons.confd xencommons
|
||||
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
|
||||
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
|
||||
|
||||
if use screen; then
|
||||
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
|
||||
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
|
||||
keepdir /var/log/xen-consoles
|
||||
fi
|
||||
|
||||
# Move files built with use qemu, Bug #477884
|
||||
if [[ "${ARCH}" == 'amd64' ]] && use qemu; then
|
||||
mkdir -p "${D}"usr/$(get_libdir)/xen/bin || die
|
||||
mv "${D}"usr/lib/xen/bin/* "${D}"usr/$(get_libdir)/xen/bin/ || die
|
||||
fi
|
||||
|
||||
# For -static-libs wrt Bug 384355
|
||||
if ! use static-libs; then
|
||||
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
|
||||
fi
|
||||
|
||||
# xend expects these to exist
|
||||
keepdir /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen
|
||||
|
||||
# for xendomains
|
||||
keepdir /etc/xen/auto
|
||||
|
||||
# Temp QA workaround
|
||||
dodir "$(get_udevdir)"
|
||||
mv "${D}"/etc/udev/* "${D}/$(get_udevdir)"
|
||||
rm -rf "${D}"/etc/udev
|
||||
|
||||
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
|
||||
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
|
||||
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the offical wiki page:"
|
||||
elog "https://wiki.gentoo.org/wiki/Xen"
|
||||
elog "http://wiki.xen.org/wiki/Main_Page"
|
||||
elog ""
|
||||
elog "Recommended to utilise the xencommons script to config sytem At boot"
|
||||
elog "Add by use of rc-update on completion of the install"
|
||||
|
||||
if [[ "$(scanelf -s __guard -q "${PYTHON}")" ]] ; then
|
||||
echo
|
||||
ewarn "xend may not work when python is built with stack smashing protection (ssp)."
|
||||
ewarn "If 'xm create' fails with '<ProtocolError for /RPC2: -1 >', see bug #141866"
|
||||
ewarn "This problem may be resolved as of Xen 3.0.4, if not post in the bug."
|
||||
fi
|
||||
|
||||
# TODO: we need to have the current Python slot here.
|
||||
if ! has_version "dev-lang/python[ncurses]"; then
|
||||
echo
|
||||
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
|
||||
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
|
||||
fi
|
||||
|
||||
if has_version "sys-apps/iproute2[minimal]"; then
|
||||
echo
|
||||
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
|
||||
ewarn "will not work until you rebuild iproute2 without USE=minimal."
|
||||
fi
|
||||
|
||||
if ! use hvm; then
|
||||
echo
|
||||
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
|
||||
elog "support enable the hvm use flag."
|
||||
elog "An x86 or amd64 system is required to build HVM support."
|
||||
fi
|
||||
|
||||
if use xend; then
|
||||
elog"";elog "xend capability has been enabled and installed"
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
|
||||
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
|
||||
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
|
||||
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
|
||||
fi
|
||||
|
||||
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
|
||||
echo
|
||||
elog "xensv is broken upstream (Gentoo bug #142011)."
|
||||
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
|
||||
fi
|
||||
}
|
@ -0,0 +1,441 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.4.1.ebuild,v 1.1 2014/09/11 05:33:16 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE='xml,threads'
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
REPO="xen-unstable.hg"
|
||||
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
|
||||
S="${WORKDIR}/${REPO}"
|
||||
live_eclass="mercurial"
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm -x86"
|
||||
UPSTREAM_VER=
|
||||
GENTOO_VER=
|
||||
SEABIOS_VER=1.7.3.1
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTRAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/xen-${MY_PV}.tar.gz
|
||||
http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
|
||||
http://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
|
||||
${UPSTRAM_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
S="${WORKDIR}/xen-${MY_PV}"
|
||||
fi
|
||||
|
||||
inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass}
|
||||
|
||||
DESCRIPTION="Xend daemon and tools"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
DOCS=( README docs/README.xen-bugtool )
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
|
||||
# >=dev-lang/ocaml-4 stable
|
||||
# Masked in profiles/eapi-5-files instead
|
||||
IUSE="api custom-cflags debug doc flask hvm qemu ocaml +pam python pygrub screen static-libs system-qemu system-seabios"
|
||||
|
||||
REQUIRED_USE="hvm? ( || ( qemu system-qemu ) )
|
||||
${PYTHON_REQUIRED_USE}
|
||||
pygrub? ( python )
|
||||
qemu? ( !system-qemu )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-libs/lzo:2
|
||||
dev-libs/glib:2
|
||||
dev-libs/yajl
|
||||
dev-libs/libaio
|
||||
dev-libs/libgcrypt:0
|
||||
sys-libs/zlib
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
pam? ( dev-python/pypam[${PYTHON_USEDEP}] )
|
||||
hvm? ( media-libs/libsdl )
|
||||
${PYTHON_DEPS}
|
||||
api? ( dev-libs/libxml2
|
||||
net-misc/curl )
|
||||
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )
|
||||
arm? ( >=sys-apps/dtc-1.4.0 )
|
||||
!arm? ( sys-devel/bin86
|
||||
system-seabios? ( sys-firmware/seabios )
|
||||
sys-firmware/ipxe
|
||||
sys-devel/dev86
|
||||
sys-power/iasl )
|
||||
dev-lang/perl
|
||||
app-misc/pax-utils
|
||||
dev-python/markdown
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
dev-tex/latex2html[png,gif]
|
||||
media-gfx/graphviz
|
||||
dev-tex/xcolor
|
||||
media-gfx/transfig
|
||||
dev-texlive/texlive-latexextra
|
||||
virtual/latex-base
|
||||
dev-tex/latexmk
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-pictures
|
||||
dev-texlive/texlive-latexrecommended
|
||||
)
|
||||
hvm? ( x11-proto/xproto
|
||||
!net-libs/libiscsi )
|
||||
qemu? ( x11-libs/pixman )
|
||||
system-qemu? ( app-emulation/qemu[xen] )
|
||||
ocaml? ( dev-ml/findlib
|
||||
>=dev-lang/ocaml-4 )"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
sys-apps/iproute2
|
||||
net-misc/bridge-utils
|
||||
screen? (
|
||||
app-misc/screen
|
||||
app-admin/logrotate
|
||||
)
|
||||
virtual/udev"
|
||||
|
||||
# hvmloader is used to bootstrap a fully virtualized kernel
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="usr/lib/xen/boot/hvmloader
|
||||
usr/share/qemu-xen/qemu/s390-ccw.img"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
export "CONFIG_LOMOUNT=y"
|
||||
|
||||
if has_version dev-libs/libgcrypt:0; then
|
||||
export "CONFIG_GCRYPT=y"
|
||||
fi
|
||||
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64 ; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
elif use arm; then
|
||||
export XEN_TARGET_ARCH="arm32"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
#bug 472438
|
||||
export BASH_COMPLETION_DIR=/usr/share/bash-completion
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo
|
||||
fi
|
||||
|
||||
# Fix network broadcast on bridged networks
|
||||
epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch"
|
||||
|
||||
# Bug 496708
|
||||
epatch "${FILESDIR}"/${PN}-4-unbundle-ipxe.patch
|
||||
|
||||
# Fix bridge by idella4, bug #362575
|
||||
epatch "${FILESDIR}/${PN}-4.1.1-bridge.patch"
|
||||
|
||||
# Prevent double stripping of files at install
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4.4-nostrip.patch
|
||||
|
||||
# fix jobserver in Makefile
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4.3-jserver.patch
|
||||
|
||||
# Set dom0-min-mem to kb; Bug #472982
|
||||
epatch "${FILESDIR}"/${PN/-tools/}-4.2-configsxp.patch
|
||||
|
||||
# Bug 477676
|
||||
epatch "${FILESDIR}"/${PN}-4.3-ar-cc.patch
|
||||
|
||||
# Bug 379537
|
||||
epatch "${FILESDIR}"/fix-gold-ld.patch
|
||||
|
||||
# Prevent file collision with qemu package Bug 478064
|
||||
epatch "${FILESDIR}"/xen-4.4-qemu-bridge.patch
|
||||
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-4.4-api-fix.patch
|
||||
|
||||
# Fix po file collision with app-emulation/qemu, while USE=qemu is enabled, Bug 508302
|
||||
epatch "${FILESDIR}"/${PN}-4-qemu-fix-po-collision.patch
|
||||
|
||||
# bundled seabios
|
||||
epatch "${FILESDIR}"/${PN}-4-anti-seabios-download.patch
|
||||
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
|
||||
pushd tools/firmware/ > /dev/null
|
||||
ln -s seabios-dir-remote seabios-dir || die
|
||||
popd > /dev/null
|
||||
|
||||
# Fix texi2html build error with new texi2html, qemu.doc.html
|
||||
sed -i -e "/texi2html -monolithic/s/-number//" tools/qemu-xen-traditional/Makefile || die
|
||||
|
||||
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
|
||||
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
|
||||
-i tools/firmware/Makefile || die
|
||||
|
||||
# Drop .config, fixes to gcc-4.6
|
||||
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
|
||||
# try and remove all the default cflags
|
||||
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
|
||||
-exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} + || die "failed to re-set custom-cflags"
|
||||
fi
|
||||
|
||||
if ! use pygrub; then
|
||||
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
if ! use python; then
|
||||
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
if ! use hvm; then
|
||||
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
|
||||
# Bug 351648
|
||||
elif ! use x86 && ! has x86 $(get_all_abis); then
|
||||
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
|
||||
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
|
||||
export CPATH="${WORKDIR}"/extra-headers
|
||||
fi
|
||||
|
||||
# Don't bother with qemu, only needed for fully virtualised guests
|
||||
if ! use qemu; then
|
||||
sed -e "s:install-tools\: tools/qemu-xen-traditional-dir:install-tools\: :g" -i Makefile || die
|
||||
fi
|
||||
|
||||
# Bug 472438
|
||||
sed -e 's:^BASH_COMPLETION_DIR ?= $(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(SHARE_DIR)/bash-completion:' \
|
||||
-i Config.mk || die
|
||||
|
||||
# xencommons, Bug #492332, sed lighter weight than patching
|
||||
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
|
||||
-i tools/hotplug/Linux/init.d/xencommons || die
|
||||
|
||||
# respect multilib, usr/lib/libcacard.so.0.0.0
|
||||
sed -e "/^libdir=/s/\/lib/\/$(get_libdir)/" \
|
||||
-i tools/qemu-xen/configure || die
|
||||
|
||||
#bug 518136, don't build 32bit exactuable for nomultilib profile
|
||||
if [[ "${ARCH}" == 'amd64' ]] && ! has_multilib_profile; then
|
||||
sed -i -e "/x86_emulator/d" tools/tests/Makefile || die
|
||||
fi
|
||||
|
||||
# Bug 477884, 518136
|
||||
if [[ "${ARCH}" == 'amd64' ]]; then
|
||||
sed -i -e "/LIBEXEC =/s|/lib/xen/bin|/$(get_libdir)/xen/bin|" config/StdGNU.mk || die
|
||||
fi
|
||||
|
||||
# fix QA warning, create /var/run/, /var/lock dynamically
|
||||
sed -i -e "/\$(INSTALL_DIR) \$(DESTDIR)\$(XEN_RUN_DIR)/d" \
|
||||
tools/libxl/Makefile || die
|
||||
|
||||
sed -i -e "/\/var\/run\//d" \
|
||||
tools/xenstore/Makefile \
|
||||
tools/pygrub/Makefile || die
|
||||
|
||||
sed -i -e "/\/var\/lock\/subsys/d" \
|
||||
tools/Makefile || die
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="--prefix=/usr \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--disable-werror \
|
||||
--disable-xen \
|
||||
--enable-tools \
|
||||
--enable-docs \
|
||||
--disable-qemu-traditional \
|
||||
$(use_with system-qemu) \
|
||||
$(use_enable pam) \
|
||||
$(use_enable api xenapi) \
|
||||
$(use_enable ocaml ocamltools) \
|
||||
"
|
||||
use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin"
|
||||
use qemu || myconf+=" --with-system-qemu"
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export VARTEXFONTS="${T}/fonts"
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
use custom-cflags || unset CFLAGS
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
unset LDFLAGS
|
||||
unset CFLAGS
|
||||
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
|
||||
|
||||
use doc && emake -C docs txt html
|
||||
emake -C docs man-pages
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Override auto-detection in the build system, bug #382573
|
||||
export INITD_DIR=/tmp/init.d
|
||||
export CONFIG_LEAF_DIR=../tmp/default
|
||||
|
||||
# Let the build system compile installed Python modules.
|
||||
local PYTHONDONTWRITEBYTECODE
|
||||
export PYTHONDONTWRITEBYTECODE
|
||||
|
||||
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
|
||||
XEN_PYTHON_NATIVE_INSTALL=y install-tools
|
||||
|
||||
# Fix the remaining Python shebangs.
|
||||
python_fix_shebang "${D}"
|
||||
|
||||
# Remove RedHat-specific stuff
|
||||
rm -rf "${D}"tmp || die
|
||||
|
||||
# uncomment lines in xl.conf
|
||||
sed -e 's:^#autoballoon=1:autoballoon=1:' \
|
||||
-e 's:^#lockfile="/var/lock/xl":lockfile="/var/lock/xl":' \
|
||||
-e 's:^#vifscript="vif-bridge":vifscript="vif-bridge":' \
|
||||
-i tools/examples/xl.conf || die
|
||||
|
||||
# Reset bash completion dir; Bug 472438
|
||||
mv "${D}"bash-completion "${D}"usr/share/ || die
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
|
||||
|
||||
dohtml -r docs/
|
||||
docinto pdf
|
||||
dodoc ${DOCS[@]}
|
||||
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
|
||||
fi
|
||||
|
||||
rm -rf "${D}"/usr/share/doc/xen/
|
||||
doman docs/man?/*
|
||||
|
||||
newconfd "${FILESDIR}"/xendomains.confd xendomains
|
||||
newconfd "${FILESDIR}"/xenstored.confd xenstored
|
||||
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
|
||||
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
|
||||
newinitd "${FILESDIR}"/xenstored.initd xenstored
|
||||
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
|
||||
newinitd "${FILESDIR}"/xencommons.initd xencommons
|
||||
newconfd "${FILESDIR}"/xencommons.confd xencommons
|
||||
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
|
||||
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
|
||||
|
||||
if use screen; then
|
||||
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
|
||||
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
|
||||
keepdir /var/log/xen-consoles
|
||||
fi
|
||||
|
||||
# For -static-libs wrt Bug 384355
|
||||
if ! use static-libs; then
|
||||
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
|
||||
fi
|
||||
|
||||
# xend expects these to exist
|
||||
keepdir /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen
|
||||
|
||||
# for xendomains
|
||||
keepdir /etc/xen/auto
|
||||
|
||||
# Temp QA workaround
|
||||
dodir "$(get_udevdir)"
|
||||
mv "${D}"/etc/udev/* "${D}/$(get_udevdir)"
|
||||
rm -rf "${D}"/etc/udev
|
||||
|
||||
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
|
||||
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
|
||||
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the offical wiki page:"
|
||||
elog "https://wiki.gentoo.org/wiki/Xen"
|
||||
elog "http://wiki.xen.org/wiki/Main_Page"
|
||||
elog ""
|
||||
elog "Recommended to utilise the xencommons script to config sytem At boot"
|
||||
elog "Add by use of rc-update on completion of the install"
|
||||
|
||||
if [[ "$(scanelf -s __guard -q "${PYTHON}")" ]] ; then
|
||||
echo
|
||||
ewarn "xend may not work when python is built with stack smashing protection (ssp)."
|
||||
ewarn "If 'xm create' fails with '<ProtocolError for /RPC2: -1 >', see bug #141866"
|
||||
ewarn "This problem may be resolved as of Xen 3.0.4, if not post in the bug."
|
||||
fi
|
||||
|
||||
# TODO: we need to have the current Python slot here.
|
||||
if ! has_version "dev-lang/python[ncurses]"; then
|
||||
echo
|
||||
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
|
||||
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
|
||||
fi
|
||||
|
||||
if has_version "sys-apps/iproute2[minimal]"; then
|
||||
echo
|
||||
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
|
||||
ewarn "will not work until you rebuild iproute2 without USE=minimal."
|
||||
fi
|
||||
|
||||
if ! use hvm; then
|
||||
echo
|
||||
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
|
||||
elog "support enable the hvm use flag."
|
||||
elog "An x86 or amd64 system is required to build HVM support."
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
|
||||
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
|
||||
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
|
||||
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
|
||||
fi
|
||||
|
||||
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
|
||||
echo
|
||||
elog "xensv is broken upstream (Gentoo bug #142011)."
|
||||
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
|
||||
fi
|
||||
}
|
@ -1,8 +1,11 @@
|
||||
DIST xen-4.2.4-upstream-patches-3.tar.xz 57456 SHA256 e223b6fb10ca26415d0677e465480f77378f7a196bb3a2cc654a2d53e867fa66 SHA512 4b1091cba3afb149f8734630f32a3c44b1abade4a524f5bbfcc88df5700dbcb38dfd7b4dd0059e323a5b89a9156109505891a54dae9d698fe9d89ab2294e3151 WHIRLPOOL 1448b20e6930dcc7a0d57819732341e24257159c97fc5e270be9c47935b750cf7fa08b02ac1d0f49792b453476330b19c773e79d1c6b02ea9ed7baca83750163
|
||||
DIST xen-4.2.4-upstream-patches-4.tar.xz 69344 SHA256 23ef320500452dcf8a824d5c8062c6399e1c3f39a51ce6594b232b4bfbd9d9c4 SHA512 43141b8ba4790860632eb83814e9b5e469ba3431da00820fd131ae6a79e1a05ea4db4b801627f52360ebac06160dd86217a79b196d2b6d379c86cf9449b75371 WHIRLPOOL 30344a3780122fed2d3895adf60bc4d7efc6879b0ad46160ccbcaa98c69aa4f419cd233690f69a250dc413fb410c3affad805bfa8570c9d78290c3a9b224264c
|
||||
DIST xen-4.2.4.tar.gz 15663999 SHA256 e23e6292affd7a6d82da99527e8bf3964e57eb7322144c67c2025692b1a21550 SHA512 3e5263511e7c40899f580f3384bd987f9c875b8e6816202fd1a5a64fe7e336803d09e58148af074938ef261f0ceeafad121ac541ddd2bf66b76c5aa4ad07c357 WHIRLPOOL 25d23f5d921139ba0f853fcd76ae998647d32292bccfd4e7c4f3b12f860a38fbb33ebda67c839657bf3a25d837c9c02b80d663362263d16d42284ffde09f0bc2
|
||||
DIST xen-4.2.5.tar.gz 15671925 SHA256 3cf440866315e8085050eb0586f0447b6b47a08dbed6a72226bf5ed5d89ec567 SHA512 42c0fc241952fc55fc44480fb6752b004b54ae40e946159ec047adf229b65cbfbd810271d01b064ad8fdbddb73c640dcdcb6bc19f91e8968829889c129920dac WHIRLPOOL 762a91c0111892b33e6bd3e7f7714709b04697ad7c2b0919fef6cc9570a343a77fd5a2b82833e75dac9d12d4e41acdcf0743b0d593595910ddd326f5cd721368
|
||||
DIST xen-4.3.2-upstream-patches-3.tar.xz 60208 SHA256 661ab148c9eeb2c8e44d0bd620496607a567d4f6c1fa0a6f89b21086ee8f607d SHA512 1248c937c604716f756083d44ef14150c8601f810fd8c0b73df314bd34287a53b4db3e8697f03acab3cf56252cbac8578a5bbedb40c342fa7c2b3f7f9c6575e0 WHIRLPOOL df3525d76607232720d3f3351548add60c89a139d380cf6147bec122cb11c52570e99dd14f800e88e411248b950aeed32ae03cce93fc8358011b3125114bb3c6
|
||||
DIST xen-4.3.2-upstream-patches-4.tar.xz 69268 SHA256 eb00972bc511b584278a178765af8fc5d6d78097a39e6d3fdf5133a73693d953 SHA512 f9455d375f26b37844b820ea238a06c24a4e1f76adbd217a78ac31c3e0e078f9eaf2744886e09d7fc3a1b3b9b03c85257bac236742d69c5c0a00cf0683760d1d WHIRLPOOL e55f126f004313efadf7d881b10e7747504824d83f477787fad09eede0a8f3aba268a37d933e641720b51ed91723f036c80c855907697293ea2b1b52e5a9efb5
|
||||
DIST xen-4.3.2.tar.gz 16472188 SHA256 17611d95f955302560ff72d97c08933b4e62bc2e8ffb71400fc54e388746ff69 SHA512 ec94d849b56ec590b89022075ce43768d8ef44b7be9580ce032509b44c085f0f66495845607a18cd3dea6b89c69bc2a18012705556f59288cd8653c3e5eca302 WHIRLPOOL 72250369fb2c90ba608e1da018cb6417b3089642c8ba59af9f2825ec5ba7c4e6c5d6f86140b20825817e4625727c6d58c5d38b00863c994e31c8a04927997bd3
|
||||
DIST xen-4.3.3.tar.gz 16479922 SHA256 59eb0e1c4a1f66965fe56dcf27cdb5872bf7e0585b7f2e60bd7967ec7f744ebf SHA512 cd9b7199d2859a856c719b75ee50a059c480f7493bbc493bcc3701d20321bd6d83c6fe1dd58e7b37695639bccf15e6420fb52f7e699586e7750ea665e99f82fc WHIRLPOOL 17ee263cb2a4c7b37d399e8baa88dab5b01386959de9d481e8666340d486bc9f32d57d6e1cef1568009fe8dbb2437b9ad90c1bed832cdfedd4be3fe5bf0a7dec
|
||||
DIST xen-4.4.0-upstream-patches-5.tar.xz 112184 SHA256 39b3db8f684a570d7379ee7e75e3cfffa72f8fdf639cbb745f90b42f7a223f0f SHA512 e25893b8507fd7b1a3d2194e83da55b934914df73aa4a18a893e6a09df3ab0e1f992a6b26c2b5a2fccfbe41c4a56d10db37eb58dcf08832b9d85be1ff94ced7d WHIRLPOOL 2baf008c98b9685fcad8ea58a41c14271947295ad5e28c99a01876c87ad5274d8f59e5583e1bf41caa536238ed0baaf785f4a1271b68e51f18f2195cd894b5fe
|
||||
DIST xen-4.4.0.tar.gz 18116578 SHA256 6910a504fe2ffe8db0e7a44756ce1c4c95e1ccbef942a1fc8da27aced5aac021 SHA512 84bc293415b8ce9686240b0145a92be190cdd7032c66b5b07906baacbfeb33ad1e6148336e951fd4506b7f4e0b250937c702226c0207d7088a50e643bedabd17 WHIRLPOOL 87886cc83bf1eaaf5dd5b67d7cc82823d98dd9b4b47c0a178ea70ee2367c1a4a142aa66df13f58603840d0e310fb5c09dc0d5b87f6361c934e1c83c95d09d406
|
||||
DIST xen-4.4.1.tar.gz 18134427 SHA256 55b49d3c4575d7791275125ff87c0f86f1d1e0f7f2718b6fd1c4f88a9bc7ea25 SHA512 bcd577014f4e8cb37b934f17a4dfb6f12e72e865a9e553cc435fdbe6665c733a4d20a812bf126727eca0946188a6abbd9419579757d7e03a38059f3656371c1c WHIRLPOOL f29eab626729f36de3f2e2c6c8446da4a05085818e18c28f07fe364065e05f0af67602eeb988091df3027a844ad0ccd52b6a0ee86592c7ff6008f961b9bd4bcf
|
||||
|
@ -0,0 +1,155 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.2.5.ebuild,v 1.1 2014/09/11 05:22:42 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
REPO="xen-unstable.hg"
|
||||
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
|
||||
S="${WORKDIR}/${REPO}"
|
||||
live_eclass="mercurial"
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
UPSTREAM_VER=
|
||||
GENTOO_VER=
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
fi
|
||||
|
||||
inherit mount-boot flag-o-matic python-any-r1 toolchain-funcs eutils ${live_eclass}
|
||||
|
||||
DESCRIPTION="The Xen virtual machine monitor"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="custom-cflags debug efi flask pae xsm"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
efi? ( >=sys-devel/binutils-2.22[multitarget] )
|
||||
!efi? ( >=sys-devel/binutils-2.22[-multitarget] )"
|
||||
RDEPEND=""
|
||||
PDEPEND="~app-emulation/xen-tools-${PV}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="boot/xen-syms-${PV}"
|
||||
|
||||
REQUIRED_USE="
|
||||
flask? ( xsm )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]]; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use flask ; then
|
||||
export "XSM_ENABLE=y"
|
||||
export "FLASK_ENABLE=y"
|
||||
elif use xsm ; then
|
||||
export "XSM_ENABLE=y"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo
|
||||
fi
|
||||
|
||||
# Drop .config and fix gcc-4.6
|
||||
epatch "${FILESDIR}"/${PN/-pvgrub/}-4-fix_dotconfig-gcc.patch
|
||||
|
||||
if use efi; then
|
||||
epatch "${FILESDIR}"/${PN}-4.2-efi.patch
|
||||
export EFI_VENDOR="gentoo"
|
||||
export EFI_MOUNTPOINT="boot"
|
||||
fi
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
# try and remove all the default custom-cflags
|
||||
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} \; || die "failed to re-set custom-cflags"
|
||||
fi
|
||||
|
||||
# not strictly necessary to fix this
|
||||
sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to re-set setup.py"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
use pae && myopt="${myopt} pae=y"
|
||||
|
||||
if use custom-cflags; then
|
||||
filter-flags -fPIE -fstack-protector
|
||||
replace-flags -O3 -O2
|
||||
else
|
||||
unset CFLAGS
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Send raw LDFLAGS so that --as-needed works
|
||||
emake CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
use pae && myopt="${myopt} pae=y"
|
||||
|
||||
# The 'make install' doesn't 'mkdir -p' the subdirs
|
||||
if use efi; then
|
||||
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
|
||||
fi
|
||||
|
||||
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the unoffical wiki page:"
|
||||
elog " http://www.gentoo.org/doc/en/xen-guide.xml"
|
||||
elog " http://en.gentoo-wiki.com/wiki/Xen/"
|
||||
|
||||
use pae && ewarn "This is a PAE build of Xen. It will *only* boot PAE kernels!"
|
||||
use efi && einfo "The efi executable is installed in boot/efi/gentoo"
|
||||
}
|
@ -0,0 +1,151 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.3.3.ebuild,v 1.1 2014/09/11 05:22:42 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
REPO="xen-unstable.hg"
|
||||
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
|
||||
S="${WORKDIR}/${REPO}"
|
||||
live_eclass="mercurial"
|
||||
else
|
||||
# Set to match entry in stable 4.3.1-r1, Bug 493944
|
||||
KEYWORDS="~amd64 -x86"
|
||||
UPSTREAM_VER=
|
||||
GENTOO_VER=
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
fi
|
||||
|
||||
inherit mount-boot flag-o-matic python-any-r1 toolchain-funcs eutils ${live_eclass}
|
||||
|
||||
DESCRIPTION="The Xen virtual machine monitor"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="custom-cflags debug efi flask xsm"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
efi? ( >=sys-devel/binutils-2.22[multitarget] )
|
||||
!efi? ( >=sys-devel/binutils-2.22[-multitarget] )"
|
||||
RDEPEND=""
|
||||
PDEPEND="~app-emulation/xen-tools-${PV}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="boot/xen-syms-${PV}"
|
||||
|
||||
REQUIRED_USE="flask? ( xsm )"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]]; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use flask ; then
|
||||
export "XSM_ENABLE=y"
|
||||
export "FLASK_ENABLE=y"
|
||||
elif use xsm ; then
|
||||
export "XSM_ENABLE=y"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo
|
||||
fi
|
||||
|
||||
# Drop .config and fix gcc-4.6
|
||||
epatch "${FILESDIR}"/${PN/-pvgrub/}-4.3-fix_dotconfig-gcc.patch
|
||||
|
||||
if use efi; then
|
||||
epatch "${FILESDIR}"/${PN}-4.2-efi.patch
|
||||
export EFI_VENDOR="gentoo"
|
||||
export EFI_MOUNTPOINT="boot"
|
||||
fi
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
# try and remove all the default custom-cflags
|
||||
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} \; || die "failed to re-set custom-cflags"
|
||||
fi
|
||||
|
||||
# not strictly necessary to fix this
|
||||
sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to re-set setup.py"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
if use custom-cflags; then
|
||||
filter-flags -fPIE -fstack-protector
|
||||
replace-flags -O3 -O2
|
||||
else
|
||||
unset CFLAGS
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Send raw LDFLAGS so that --as-needed works
|
||||
emake V=1 CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
# The 'make install' doesn't 'mkdir -p' the subdirs
|
||||
if use efi; then
|
||||
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
|
||||
fi
|
||||
|
||||
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the unoffical wiki page:"
|
||||
elog " http://www.gentoo.org/doc/en/xen-guide.xml"
|
||||
elog " http://en.gentoo-wiki.com/wiki/Xen/"
|
||||
|
||||
use efi && einfo "The efi executable is installed in boot/efi/gentoo"
|
||||
}
|
@ -0,0 +1,162 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.4.1.ebuild,v 1.1 2014/09/11 05:22:42 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P=${PN}-${PV/_/-}
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
EGIT_REPO_URI="git://xenbits.xen.org/${PN}.git"
|
||||
live_eclass="git-2"
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm -x86"
|
||||
UPSTREAM_VER=
|
||||
GENTOO_VER=
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/${MY_P}.tar.gz
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
|
||||
fi
|
||||
|
||||
inherit mount-boot flag-o-matic python-any-r1 toolchain-funcs eutils ${live_eclass}
|
||||
|
||||
DESCRIPTION="The Xen virtual machine monitor"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="custom-cflags debug efi flask xsm"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
efi? ( >=sys-devel/binutils-2.22[multitarget] )
|
||||
!efi? ( >=sys-devel/binutils-2.22[-multitarget] )"
|
||||
RDEPEND=""
|
||||
PDEPEND="~app-emulation/xen-tools-${PV}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="boot/xen-syms-${PV}"
|
||||
|
||||
REQUIRED_USE="flask? ( xsm )
|
||||
arm? ( debug )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]]; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
elif use arm; then
|
||||
export XEN_TARGET_ARCH="arm32"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use flask ; then
|
||||
export "XSM_ENABLE=y"
|
||||
export "FLASK_ENABLE=y"
|
||||
elif use xsm ; then
|
||||
export "XSM_ENABLE=y"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo
|
||||
fi
|
||||
|
||||
# Drop .config
|
||||
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
||||
|
||||
if use efi; then
|
||||
epatch "${FILESDIR}"/${PN}-4.4-efi.patch
|
||||
export EFI_VENDOR="gentoo"
|
||||
export EFI_MOUNTPOINT="boot"
|
||||
fi
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
# try and remove all the default custom-cflags
|
||||
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} \; || die "failed to re-set custom-cflags"
|
||||
fi
|
||||
|
||||
# remove -Werror for gcc-4.6's sake
|
||||
find "${S}" -name 'Makefile*' -o -name '*.mk' -o -name 'common.make' | \
|
||||
xargs sed -i 's/ *-Werror */ /'
|
||||
# not strictly necessary to fix this
|
||||
sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to re-set setup.py"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use arm && myopt="${myopt} CONFIG_EARLY_PRINTK=sun7i"
|
||||
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
if use custom-cflags; then
|
||||
filter-flags -fPIE -fstack-protector
|
||||
replace-flags -O3 -O2
|
||||
else
|
||||
unset CFLAGS
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Send raw LDFLAGS so that --as-needed works
|
||||
emake V=1 CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
# The 'make install' doesn't 'mkdir -p' the subdirs
|
||||
if use efi; then
|
||||
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
|
||||
fi
|
||||
|
||||
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the unoffical wiki page:"
|
||||
elog " http://www.gentoo.org/doc/en/xen-guide.xml"
|
||||
elog " http://en.gentoo-wiki.com/wiki/Xen/"
|
||||
|
||||
use efi && einfo "The efi executable is installed in boot/efi/gentoo"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST dos2unix-6.0.3.tar.gz 77227 SHA256 f5268c5b28a1983537210c72b3fd43f4aad17a8dacb6727b615b56dca2ef9a04 SHA512 00cce5d7fe7c1fcb81b973a1119aa956a0dd648b775a0cc1692270acec7e9b4caefb1c179e5bdf2834cad60622ffdf2a93ff4db5634f39f0545d63e394a03af2 WHIRLPOOL 925082691597946dce07f2b3bfbcae7bd0d944a4868d3d489cf7025fd5a055965fc76c269a62b025eaedb61741a5cc3c70612de547e47030034ea94d79bf9940
|
||||
DIST dos2unix-6.0.5.tar.gz 326460 SHA256 fd3320aeaf6a163e70c462137959cf3e5af2bb22b0674f931f8744b0215d858f SHA512 8e882fb100357dd38ebe253f059517ca03dfe5579c14a704b6aeed862346edab37af84de4bc5cddd3f87fbb50c8e9930e338b5a9cd345b77708d23bc70154af3 WHIRLPOOL 321648b099e876488ee8aaffef807e8cded6a7168fe80180ba0198bb7249f45b23352138df85e0ca08ced3d55bdcc90470b7aa190f704f21a043224215550d52
|
||||
DIST dos2unix-6.0.6.tar.gz 339149 SHA256 8abbd4e9a630ef649f5ff359df10786c50b302c1b6515cf99bd787adea23d276 SHA512 6affdcdc34b1f0c8b1bab46ed63af73a62abf80d64b44e951e354d05b420dbdf32a918a1bca5b427120927e1ec3fe5553cf9b7bf000de30d955ff760b6b66e45 WHIRLPOOL dbdf70a0c7dc4b5714184f333c49e438dda22f20cfc8a65ad9dcc662ccc8c01c928097a10e7932d98f398deb408d6168286b86dc550f77c6540806e3e0302d65
|
||||
DIST dos2unix-7.0.tar.gz 364616 SHA256 551afe005a86e58664b4f41327408e73afafe92400488dd0aab1dad6deb4e72b SHA512 a6aae752433d079393c244b24889f7ffed9e25e2cc6bb8aefe1bca281578826764d871373327708ca4ecbb0fc0242a7e57c6162df49d7ce619dcb6b573035271 WHIRLPOOL d50a6da9e5bab7aaad07bfde5ba1b3c3d39e4c73609b66d0fc361607635fab9fabf6412fc00c995adb1f36d5bbd01cfce4514fcba842fcd0dd0e6a37d6e7853b
|
||||
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/dos2unix-7.0.ebuild,v 1.1 2014/09/11 05:20:14 polynomial-c Exp $
|
||||
|
||||
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 http://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
|
||||
!app-text/unix2dos
|
||||
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,13 +1,6 @@
|
||||
DIST elixir-0.11.2.tar.gz 848108 SHA256 bd3099af3f8b2796e88559b78e1474638ff6ef4894342ea5f0858d00f018fd65 SHA512 2800dfa3d152dd67634c35f31fe1f0a2c59d2db128b80ae6ad07253b1215e181a25c215c5865089adbc122026458ed2d7db4b031823326ee206bd5bcb8f77477 WHIRLPOOL 3fe2cde17708ffe9ece58be18a24d26985c33db54a8b85a55da5809628d499f0a13849cf0b0acd50adb8d4bce9b2492b96a5b609802a4d19fbaa780c98f3e8f2
|
||||
DIST elixir-0.12.0.tar.gz 862376 SHA256 88596c0b6005d4c6c7e47878572549c0018c0fae1d7d8f23bc5cd26f86173932 SHA512 d0018b10edad60f696aece454c940e795119e29cafd7e8611972a40f76e00b134edf838eab4366e59a16a8e89c1970ba0997bb2521fe15bf2828e576f434b2c0 WHIRLPOOL a94e59e13cd89a21b05007a6d5f468ae13c7323d0fdc91c21c8d900fbf7a58884eb935f1372ba4c6b22979c578e9adcb99e658eb82e703accaed6ce4bb03a34c
|
||||
DIST elixir-0.12.1.tar.gz 873034 SHA256 edefb36495a4ebb559d5fbb1ac54a6778a902d8c13821db00c933a7a4b4109c9 SHA512 40ff7e7b28eec5b167499682ece4351e65c4701a34fb495adbb7a941f981b5c88de61548160bacb28b25a51774c7020c1dc47a44617d7f6db756aea96fa70e2d WHIRLPOOL 023a45e12f8a0da2002d6adcc6a76dc69fe0f32db161437d1247be5fb833e22a5f75fbc10dcac7192400b7e76d74ed69d011bf5bdf8b6d87af0b1074bf0c4b43
|
||||
DIST elixir-0.12.2.tar.gz 877428 SHA256 9d574f9bfd92ccdea6aeea056b139518996d28e8a2ee53e0ea03e34d739b3c7c SHA512 a71b1fc5921a2251a1b8360909074d785d043825d04dea2bc503b3b70d551b2fe221a2ed1a72e5b8a6962e1e687980dc1bb62750e4f08ae17a892b8b6253f605 WHIRLPOOL d0dff5ba2a4e1e752e3cfe64399ea97be5cbc828bbac2bf0971955400c5217be6fcd7b79fd13feb71981cdd187130619bcbdb014712e6089d9e3275b841c7343
|
||||
DIST elixir-0.12.4.tar.gz 876744 SHA256 3454eaa197db236d1a6bb3c7ad7183ef02eb4566d685ed93e55421bf645c3239 SHA512 f6fcff53b2736885b0a28218be188eb002cb5b530ef13269e26e985222f0d1147435fb1c017e4862cb3e6fbd07fdef925a694c601e3623388ed706477a61d311 WHIRLPOOL 812c07d6c02f632e44cf7b11b2b6fadc69ae3fcf5d7567caaea9bb7f45775293e5742422328405a1b1580b06f9177200c5d671fa97a9ae5be5dbe832de3b5673
|
||||
DIST elixir-0.12.5.tar.gz 876886 SHA256 8b6ad20decb0a71240d00005daca2e2145a721552455896e091477f53d26a47c SHA512 63e436938deec9916c11598af24897d80a3c3dcda983e5ff281a595b2ef02d4605fb13f9cbef442653fd4e461db77e6588589c280f9425ee9163970ca8752532 WHIRLPOOL 9e59cc1a4e683882d78e16cf266422b193e95f58cf3cc705ba41af20b9cc376e432bfc45b69a98a15cd0494dee72ea1eba443e69d4ca2bf5a250bb42cdf786fb
|
||||
DIST elixir-0.13.0.tar.gz 902936 SHA256 ab7c5843cceba712c63237cf47ad2c8968b647fff351621f49c69586c686121c SHA512 4003d67f1f9dc857c8f4b90a57bbd4ce142292ef800fa8f63926e6278cb5b48d37848083e0616f57518dc446c4af8fe70c107f376a242ac26a676a1302a93735 WHIRLPOOL 2509aee74c4fdb3cbd3fa480c6126ad93d7ba1878e3b6d019af8c9bf0a25c9b40a5808d5789470a2b48de26e6c351ceb094707f62c498e8ef7c9ac29a8e499d7
|
||||
DIST elixir-0.13.1.tar.gz 903716 SHA256 d0f7b05bf3cbad65d0369d854fb8a883d705670b0952510229fa4281e0ad0e7f SHA512 f53377450a38780a655ece1a6255300e9fa73fdabbcbd2ac803a01c09b11cf1451b493afda99ceeaba8c1c5e6eac7ed26b473a3fdfaf50507abe99775d7afade WHIRLPOOL b799d409f0ed5ed6ecfd4612912ed117eb7da017a40aeba0ff1a354d9cfcf735923cd309db4ba7bedd1a3702574132976be14a9761fb326ad354c40097c358f1
|
||||
DIST elixir-0.13.3.tar.gz 936934 SHA256 2e2349dc42350b0ef23220f9cc89ea0194f0017e8282d08579c730e91d46cb9e SHA512 cca45b6c9165ef428d22474d803ddd769e3eb1fd80b56dce874fb0ae1ab35f75210742b7dd543316cf8b6379ebd4b4f2265ad04780f6abe6db6cf708ec2d4203 WHIRLPOOL 998e32e45be96126500318224adfc99ea443e91b34362907962c648e62a5a9b708c0a6efa9da69fb0ede5248c6a10634f119b5446ec12f6d460b950de1f72929
|
||||
DIST elixir-0.14.1.tar.gz 970716 SHA256 2fa22be2c136ed330905fdb0f995699df55e21506a4bc7614b96e4958b4c94a4 SHA512 547d1a7231a7818ec4adfb5682b2be7d9d0be3b1c86ea8bbafba49b7aa26ee39e3c2052dbbf87bebb22bb15df06f39365f1d5510dde49cfe7033a9b9d3ac6023 WHIRLPOOL 0c072db16b21b100e543fa7101522d1f29b7f08017d3cf5d944f1e245e7cf0f54a4c68daf6a56ac9cc69846d2d35468ba5b58716e6c1102c06641d9fd67be6e6
|
||||
DIST elixir-0.14.2.tar.gz 972665 SHA256 9491ecc706c44ec73acd115e9ce6d811855b05f43c12fd2612a8e63fcca60461 SHA512 1177eb43a86296bbcf0cd6bab3b661f571a9e167ce2429f9e02f08339a850561115d32c813f8d73549acabd6f34be6e9561c055f7edc3be367b31049036c9e14 WHIRLPOOL 97b573397191e17f3adb142002680c5ca29af87de9e4ba671d7c49899a6c4a904177d223d33d6ccdec7bbf4c4f7f049afbb41f4b3f73fd3d46ff2a251b0ccfd3
|
||||
DIST elixir-0.14.3.tar.gz 989493 SHA256 7fb49733c1fad8129183d1dd00f7433d56fbc7d9980cc9fdd54f0e472f7d89ee SHA512 4e099beb3877802e47a79e59eddd7a19c00ffb80c6242e24cf0f989688d6d0b3ec8db5a889914b0c2e9ba861ccc2ceda3c913d099aefe24a16fa0aa6ec0fef1b WHIRLPOOL a85d649c14bee7313e71f1b660f36d9828ac947baf600ea85f5fff348a1f4d6357b37b7c7a4e20f2c9800ed54da92d1224d88b5686744e9bf9fc1c9af318f16c
|
||||
DIST elixir-0.15.1.tar.gz 1017067 SHA256 8e608abf90a6e9a25ef5fb7e45dfd04e2cb7e1fecb4ac260bf6652885a7f0c50 SHA512 6e10400e15f34e962485ffeefe7a728a688c3b6b31d32ae0d1f990a369810e73cb85bcb3645054b3fb6b3bfaf50249fb074d2894cb58581d71c4d2155225588a WHIRLPOOL 15e8303cc5c1dc3f426331bd1d524505691ee6f072f7eae90d3d25bdd3ec15bee36e42b2f3527457fba3e86828e89380228a02bb7b4ebdb28626d570e6264599
|
||||
DIST elixir-1.0.0.tar.gz 1032066 SHA256 527774b05bcaacb0347299b42035b606107e88665fcdd415b0b62704ad7928b2 SHA512 96978fc0df8bd59d22801f376a31d3d5802f5c16e76299a5c7fcfe50c733596b02b9092a92a16edb571fac1bda63a1dbaf38daf586675079d2d21e0f595a5d5d WHIRLPOOL 80ce9826b4288d050e3539643bfe54965ca3162123fa1d1326bf98de72baf3eb87ecfd81ee6b9937845af50d52029a35514bcb48c4700494ac0392f6427f354e
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/elixir/elixir-0.12.0.ebuild,v 1.1 2013/12/19 15:59:00 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Elixir programming language"
|
||||
HOMEPAGE="http://elixir-lang.org"
|
||||
SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/erlang-16"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake Q=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="/usr" install
|
||||
dodoc README.md CHANGELOG.md CONTRIBUTING.md
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/elixir/elixir-0.12.1.ebuild,v 1.1 2014/01/07 21:39:55 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Elixir programming language"
|
||||
HOMEPAGE="http://elixir-lang.org"
|
||||
SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/erlang-16"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake Q=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="/usr" install
|
||||
dodoc README.md CHANGELOG.md CONTRIBUTING.md
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/elixir/elixir-0.12.2.ebuild,v 1.1 2014/01/17 18:53:31 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Elixir programming language"
|
||||
HOMEPAGE="http://elixir-lang.org"
|
||||
SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/erlang-16"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake Q=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="/usr" install
|
||||
dodoc README.md CHANGELOG.md CONTRIBUTING.md
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/elixir/elixir-0.12.4.ebuild,v 1.1 2014/03/04 01:56:25 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Elixir programming language"
|
||||
HOMEPAGE="http://elixir-lang.org"
|
||||
SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/erlang-16"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake Q=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="/usr" install
|
||||
dodoc README.md CHANGELOG.md CONTRIBUTING.md
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/elixir/elixir-0.13.0.ebuild,v 1.1 2014/04/21 22:17:02 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Elixir programming language"
|
||||
HOMEPAGE="http://elixir-lang.org"
|
||||
SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/erlang-17"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake Q=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="/usr" install
|
||||
dodoc README.md CHANGELOG.md CONTRIBUTING.md
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/elixir/elixir-0.14.1.ebuild,v 1.1 2014/06/20 17:27:58 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Elixir programming language"
|
||||
HOMEPAGE="http://elixir-lang.org"
|
||||
SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/erlang-17"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake Q=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="/usr" install
|
||||
dodoc README.md CHANGELOG.md CONTRIBUTING.md
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/elixir/elixir-0.14.2.ebuild,v 1.1 2014/07/01 13:25:10 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Elixir programming language"
|
||||
HOMEPAGE="http://elixir-lang.org"
|
||||
SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/erlang-17"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake Q=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="/usr" install
|
||||
dodoc README.md CHANGELOG.md CONTRIBUTING.md
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/elixir/elixir-0.13.1.ebuild,v 1.1 2014/05/10 22:28:13 hasufell Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/elixir/elixir-1.0.0.ebuild,v 1.1 2014/09/10 14:33:08 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST astroid-1.0.1.tar.gz 112597 SHA256 46c2b57ab1eedd1b0931c075c21644445dd589a92481e938cf66495e0f205fda SHA512 277353f30b8f3ce509f65f3f4b5f6da70bd96483ef22cb03beebe141c9eece1baa2989b40b545ed71952619814ba049796b13727d97531d2630ebfcbf1cb6cff WHIRLPOOL 85c83ab850bc0d9d692995127e8d51803aca824425e2afe204479437b618b2821ed3ede3d54af043c9a164d0e419b54647910b1e5785c0fcdeadb1c56fa7c818
|
||||
DIST astroid-1.1.1.tar.gz 119539 SHA256 780735cb451f5ae982bfa8a6b80866305e3eb9cbdd68e58d79afd94feb00e1f4 SHA512 98d3c2aaa6686a5080886f74da33fb72842ad90ee6ed5ea4a74fce974b3745e351609a6be1565543ba4dd29b6b793cbb8629426fed39587d99d5e3f2bca92ff6 WHIRLPOOL ef139d3c2ded68a0acbfcbd417b080fd9b499b7fe189b883b6252353d1af1841d1524652d6305e499dc7f998893d824facc4736e9034d0b902670cc11b0d4986
|
||||
DIST astroid-1.2.0.tar.gz 127194 SHA256 589e738d2e94bac938bd88e2b7331188c550c04b41ff516ca3ace5b143c71d75 SHA512 21e2eb97789a1e2d9b4e76742ad0a7e22553397df912f18b37e76eff2e2b21036a90ed9682b4eb208ca45fd75e8bcdbfa6a343b54fa0adec0dfb66f9eb14c627 WHIRLPOOL b286a7bf3b500b287b54d805d28fb5715935573e8b88fcbe09dcf27fcd0f2304c79bc954919216718bb8b354bd9d4a981d0f87e9a003782464bb98febec1f00a
|
||||
DIST astroid-1.2.1.zip 169131 SHA256 9021b44cae60f38c3a7ecccc458bd92b9d73244699ffc41750ef848d62514f64 SHA512 b3b39d621fb54271dd49bb8afd6d60113ca891826666a1efca07b890f7ddfb8a94fc0984dd9c8e0e2523db3daa4e54121da04fdbc904b5d53a43033a55aa86e9 WHIRLPOOL 1f84d6506f93891806fce601aa81e1081eb7f96089d0c71cedc2ebcee9ac67ae2a6d633ded88197be74a41a140feb67dd8c8d52d898175dea0e86f618dd535f2
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/astroid/astroid-1.2.1.ebuild,v 1.1 2014/09/10 09:35:33 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Abstract Syntax Tree for logilab packages"
|
||||
HOMEPAGE="http://bitbucket.org/logilab/astroid http://pypi.python.org/pypi/astroid"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
|
||||
# Version specified in __pkginfo__.py.
|
||||
RDEPEND=">=dev-python/logilab-common-0.60.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
app-arch/unzip
|
||||
test? ( ${RDEPEND}
|
||||
~dev-python/pylint-1.3.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/egenix-mx-base[${PYTHON_USEDEP}]' python2_7) )"
|
||||
# Required for tests
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
# Restrict to test phase, required because suite fails horribly without it
|
||||
src_test() {
|
||||
local DISTUTILS_NO_PARALLEL_BUILD=1
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" setup.py build
|
||||
|
||||
pushd build/lib > /dev/null
|
||||
PYTHONPATH=. pytest || die "Tests fail with ${EPYTHON}"
|
||||
popd > /dev/null
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/pylint-1.3.1.ebuild,v 1.1 2014/09/10 13:23:50 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python code static checker"
|
||||
HOMEPAGE="http://www.logilab.org/project/pylint http://pypi.python.org/pypi/pylint"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||
IUSE="doc examples test"
|
||||
|
||||
RDEPEND=">=dev-python/logilab-common-0.53.0[${PYTHON_USEDEP}]
|
||||
~dev-python/astroid-1.2.1[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( "${RDEPEND}" )"
|
||||
|
||||
# Usual. Requ'd for impl specific failures in test phase
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_compile_all() {
|
||||
# selection of straight html triggers a trivial annoying bug, we skirt it
|
||||
use doc && emake -C doc singlehtml
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Test suite appears not to work under Python 3.
|
||||
# https://bitbucket.org/logilab/pylint/issue/240/
|
||||
local msg="Test suite broken with ${EPYTHON}"
|
||||
if python_is_python3; then
|
||||
einfo "${msg}"
|
||||
return 0
|
||||
fi
|
||||
|
||||
pytest || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
doman man/{pylint,pyreverse}.1
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
use doc && local HTML_DOCS=( doc/_build/singlehtml/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Optional dependency on "tk" USE flag would break support for Jython.
|
||||
elog "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled."
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST qt-everywhere-opensource-src-4.8.5.tar.gz 241491467 SHA256 eb728f8268831dc4373be6403b7dd5d5dde03c169ad6882f9a8cb560df6aa138 SHA512 47118d1aa30c59a1eb74e805023cd060edcb35bb0944fe6651889254b75acbd4b83700ba92a9bc215663474d26330cb44f084098c380fac9270742659e5864eb WHIRLPOOL a18f47fd91b522d1543e415aff4f5056202e0cab03da9cfcae9fe2d4118cb1dd1d5fd6a5e2edb9c1e4a68563188d44440e234d268d9c0aef6e3ca3f0988dd357
|
||||
DIST qttools-opensource-src-5.3.1.tar.xz 8992380 SHA256 edf59eeead3c1d202883c2e6091abd1d40ac37b6e6b0e240b29ab75f86c515a7 SHA512 d8097b055c88e8f8cfa2a6c2c973d13827352e3298395b5a2c2d16204a92e5770fbc3ab2325575a80a676016ce699bddfec3616a21ecc1320b1e1ad60eabec93 WHIRLPOOL 957a9b65991f61a87b6af57889d43aa2cf32c6174a68a3d094bf5a8c5377a93843fcf9815ba226c3c6ff30b19a9c3b00502bd94c2f63b288aca40f780f74fccd
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/assistant/assistant-5.3.1-r3.ebuild,v 1.1 2014/09/11 01:42:46 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
QT5_MODULE="qttools"
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Tool for viewing on-line documentation in Qt help file format"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
IUSE="webkit"
|
||||
|
||||
DEPEND="
|
||||
>=dev-qt/qtcore-${PV}:5[debug=]
|
||||
>=dev-qt/qtgui-${PV}:5[debug=]
|
||||
>=dev-qt/qthelp-${PV}:5[debug=]
|
||||
>=dev-qt/qtnetwork-${PV}:5[debug=]
|
||||
>=dev-qt/qtprintsupport-${PV}:5[debug=]
|
||||
>=dev-qt/qtsql-${PV}:5[debug=,sqlite]
|
||||
>=dev-qt/qtwidgets-${PV}:5[debug=]
|
||||
webkit? ( >=dev-qt/qtwebkit-${PV}:5[debug=,widgets] )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/assistant/assistant
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
qt_use_disable_mod webkit webkitwidgets \
|
||||
src/assistant/assistant/assistant.pro
|
||||
|
||||
qt5-build_src_prepare
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST qt-everywhere-opensource-src-4.8.5.tar.gz 241491467 SHA256 eb728f8268831dc4373be6403b7dd5d5dde03c169ad6882f9a8cb560df6aa138 SHA512 47118d1aa30c59a1eb74e805023cd060edcb35bb0944fe6651889254b75acbd4b83700ba92a9bc215663474d26330cb44f084098c380fac9270742659e5864eb WHIRLPOOL a18f47fd91b522d1543e415aff4f5056202e0cab03da9cfcae9fe2d4118cb1dd1d5fd6a5e2edb9c1e4a68563188d44440e234d268d9c0aef6e3ca3f0988dd357
|
||||
DIST qttools-opensource-src-5.3.1.tar.xz 8992380 SHA256 edf59eeead3c1d202883c2e6091abd1d40ac37b6e6b0e240b29ab75f86c515a7 SHA512 d8097b055c88e8f8cfa2a6c2c973d13827352e3298395b5a2c2d16204a92e5770fbc3ab2325575a80a676016ce699bddfec3616a21ecc1320b1e1ad60eabec93 WHIRLPOOL 957a9b65991f61a87b6af57889d43aa2cf32c6174a68a3d094bf5a8c5377a93843fcf9815ba226c3c6ff30b19a9c3b00502bd94c2f63b288aca40f780f74fccd
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/designer/designer-5.3.1-r3.ebuild,v 1.1 2014/09/11 01:43:05 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
QT5_MODULE="qttools"
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="WYSIWYG tool for designing and building Qt-based GUIs"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
IUSE="webkit"
|
||||
|
||||
DEPEND="
|
||||
>=dev-qt/qtcore-${PV}:5[debug=]
|
||||
>=dev-qt/qtgui-${PV}:5[debug=]
|
||||
>=dev-qt/qtnetwork-${PV}:5[debug=]
|
||||
>=dev-qt/qtprintsupport-${PV}:5[debug=]
|
||||
>=dev-qt/qtwidgets-${PV}:5[debug=]
|
||||
>=dev-qt/qtxml-${PV}:5[debug=]
|
||||
webkit? ( >=dev-qt/qtwebkit-${PV}:5[debug=,widgets] )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/designer
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
qt_use_disable_mod webkit webkitwidgets \
|
||||
src/designer/src/plugins/plugins.pro
|
||||
|
||||
qt5-build_src_prepare
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST qttools-opensource-src-5.3.1.tar.xz 8992380 SHA256 edf59eeead3c1d202883c2e6091abd1d40ac37b6e6b0e240b29ab75f86c515a7 SHA512 d8097b055c88e8f8cfa2a6c2c973d13827352e3298395b5a2c2d16204a92e5770fbc3ab2325575a80a676016ce699bddfec3616a21ecc1320b1e1ad60eabec93 WHIRLPOOL 957a9b65991f61a87b6af57889d43aa2cf32c6174a68a3d094bf5a8c5377a93843fcf9815ba226c3c6ff30b19a9c3b00502bd94c2f63b288aca40f780f74fccd
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/linguist-tools/linguist-tools-5.3.1-r3.ebuild,v 1.1 2014/09/11 01:43:22 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
QT5_MODULE="qttools"
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Tools for working with Qt translation data files"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
IUSE="qml"
|
||||
|
||||
DEPEND="
|
||||
>=dev-qt/qtcore-${PV}:5[debug=]
|
||||
>=dev-qt/qtxml-${PV}:5[debug=]
|
||||
qml? ( >=dev-qt/qtdeclarative-${PV}:5[debug=] )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/linguist
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/SUBDIRS += linguist/d' \
|
||||
src/linguist/linguist.pro || die
|
||||
|
||||
qt_use_disable_mod qml qmldevtools-private \
|
||||
src/linguist/lupdate/lupdate.pro
|
||||
|
||||
qt5-build_src_prepare
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<use>
|
||||
<flag name="qml">Enable QML support in lupdate</flag>
|
||||
</use>
|
||||
<herd>qt</herd>
|
||||
<upstream>
|
||||
<bugs-to>https://bugreports.qt-project.org/</bugs-to>
|
||||
<doc>http://qt-project.org/doc/</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST qt-everywhere-opensource-src-4.8.5.tar.gz 241491467 SHA256 eb728f8268831dc4373be6403b7dd5d5dde03c169ad6882f9a8cb560df6aa138 SHA512 47118d1aa30c59a1eb74e805023cd060edcb35bb0944fe6651889254b75acbd4b83700ba92a9bc215663474d26330cb44f084098c380fac9270742659e5864eb WHIRLPOOL a18f47fd91b522d1543e415aff4f5056202e0cab03da9cfcae9fe2d4118cb1dd1d5fd6a5e2edb9c1e4a68563188d44440e234d268d9c0aef6e3ca3f0988dd357
|
||||
DIST qttools-opensource-src-5.3.1.tar.xz 8992380 SHA256 edf59eeead3c1d202883c2e6091abd1d40ac37b6e6b0e240b29ab75f86c515a7 SHA512 d8097b055c88e8f8cfa2a6c2c973d13827352e3298395b5a2c2d16204a92e5770fbc3ab2325575a80a676016ce699bddfec3616a21ecc1320b1e1ad60eabec93 WHIRLPOOL 957a9b65991f61a87b6af57889d43aa2cf32c6174a68a3d094bf5a8c5377a93843fcf9815ba226c3c6ff30b19a9c3b00502bd94c2f63b288aca40f780f74fccd
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/linguist/linguist-5.3.1-r3.ebuild,v 1.1 2014/09/11 01:43:16 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
QT5_MODULE="qttools"
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Graphical tool for translating Qt applications"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=dev-qt/designer-${PV}:5[debug=]
|
||||
>=dev-qt/qtcore-${PV}:5[debug=]
|
||||
>=dev-qt/qtgui-${PV}:5[debug=]
|
||||
>=dev-qt/qtprintsupport-${PV}:5[debug=]
|
||||
>=dev-qt/qtwidgets-${PV}:5[debug=]
|
||||
>=dev-qt/qtxml-${PV}:5[debug=]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/linguist/linguist
|
||||
)
|
@ -1 +1,2 @@
|
||||
DIST qt-everywhere-opensource-src-4.8.5.tar.gz 241491467 SHA256 eb728f8268831dc4373be6403b7dd5d5dde03c169ad6882f9a8cb560df6aa138 SHA512 47118d1aa30c59a1eb74e805023cd060edcb35bb0944fe6651889254b75acbd4b83700ba92a9bc215663474d26330cb44f084098c380fac9270742659e5864eb WHIRLPOOL a18f47fd91b522d1543e415aff4f5056202e0cab03da9cfcae9fe2d4118cb1dd1d5fd6a5e2edb9c1e4a68563188d44440e234d268d9c0aef6e3ca3f0988dd357
|
||||
DIST qttools-opensource-src-5.3.1.tar.xz 8992380 SHA256 edf59eeead3c1d202883c2e6091abd1d40ac37b6e6b0e240b29ab75f86c515a7 SHA512 d8097b055c88e8f8cfa2a6c2c973d13827352e3298395b5a2c2d16204a92e5770fbc3ab2325575a80a676016ce699bddfec3616a21ecc1320b1e1ad60eabec93 WHIRLPOOL 957a9b65991f61a87b6af57889d43aa2cf32c6174a68a3d094bf5a8c5377a93843fcf9815ba226c3c6ff30b19a9c3b00502bd94c2f63b288aca40f780f74fccd
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/pixeltool/pixeltool-5.3.1-r3.ebuild,v 1.1 2014/09/11 01:43:32 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
QT5_MODULE="qttools"
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Qt screen magnifier"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=dev-qt/qtcore-${PV}:5[debug=]
|
||||
>=dev-qt/qtgui-${PV}:5[debug=]
|
||||
>=dev-qt/qtnetwork-${PV}:5[debug=]
|
||||
>=dev-qt/qtwidgets-${PV}:5[debug=]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/pixeltool
|
||||
)
|
@ -0,0 +1 @@
|
||||
DIST qttools-opensource-src-5.3.1.tar.xz 8992380 SHA256 edf59eeead3c1d202883c2e6091abd1d40ac37b6e6b0e240b29ab75f86c515a7 SHA512 d8097b055c88e8f8cfa2a6c2c973d13827352e3298395b5a2c2d16204a92e5770fbc3ab2325575a80a676016ce699bddfec3616a21ecc1320b1e1ad60eabec93 WHIRLPOOL 957a9b65991f61a87b6af57889d43aa2cf32c6174a68a3d094bf5a8c5377a93843fcf9815ba226c3c6ff30b19a9c3b00502bd94c2f63b288aca40f780f74fccd
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>qt</herd>
|
||||
<upstream>
|
||||
<bugs-to>https://bugreports.qt-project.org/</bugs-to>
|
||||
<doc>http://qt-project.org/doc/</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qdbus/qdbus-5.3.1-r3.ebuild,v 1.1 2014/09/11 01:43:39 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
QT5_MODULE="qttools"
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Interface to Qt applications communicating over D-Bus"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=dev-qt/qtcore-${PV}:5[debug=]
|
||||
>=dev-qt/qtdbus-${PV}:5[debug=]
|
||||
>=dev-qt/qtxml-${PV}:5[debug=]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/qdbus/qdbus
|
||||
)
|
@ -1 +1,2 @@
|
||||
DIST qt-everywhere-opensource-src-4.8.5.tar.gz 241491467 SHA256 eb728f8268831dc4373be6403b7dd5d5dde03c169ad6882f9a8cb560df6aa138 SHA512 47118d1aa30c59a1eb74e805023cd060edcb35bb0944fe6651889254b75acbd4b83700ba92a9bc215663474d26330cb44f084098c380fac9270742659e5864eb WHIRLPOOL a18f47fd91b522d1543e415aff4f5056202e0cab03da9cfcae9fe2d4118cb1dd1d5fd6a5e2edb9c1e4a68563188d44440e234d268d9c0aef6e3ca3f0988dd357
|
||||
DIST qttools-opensource-src-5.3.1.tar.xz 8992380 SHA256 edf59eeead3c1d202883c2e6091abd1d40ac37b6e6b0e240b29ab75f86c515a7 SHA512 d8097b055c88e8f8cfa2a6c2c973d13827352e3298395b5a2c2d16204a92e5770fbc3ab2325575a80a676016ce699bddfec3616a21ecc1320b1e1ad60eabec93 WHIRLPOOL 957a9b65991f61a87b6af57889d43aa2cf32c6174a68a3d094bf5a8c5377a93843fcf9815ba226c3c6ff30b19a9c3b00502bd94c2f63b288aca40f780f74fccd
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qdbusviewer/qdbusviewer-5.3.1-r3.ebuild,v 1.1 2014/09/11 01:43:50 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
QT5_MODULE="qttools"
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Graphical tool that lets you introspect D-Bus objects and messages"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=dev-qt/qtcore-${PV}:5[debug=]
|
||||
>=dev-qt/qtdbus-${PV}:5[debug=]
|
||||
>=dev-qt/qtgui-${PV}:5[debug=]
|
||||
>=dev-qt/qtwidgets-${PV}:5[debug=]
|
||||
>=dev-qt/qtxml-${PV}:5[debug=]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/qdbus/qdbusviewer
|
||||
)
|
@ -0,0 +1 @@
|
||||
DIST qtbase-opensource-src-5.3.1.tar.xz 46679724 SHA256 7b5a138d30d7c0228a51084407d5210f6d1acfbee2f95b87f189872cfcd3a569 SHA512 b867d8c2f37007770d8105fea1820f8a2b1c2006474c28fbdc29fb7f7dcf9eee0960752805c833639eb7b0fd92c670f552bbc4a7064d0daf5bbac875d081500a WHIRLPOOL 997415bdae97c854916c055e2b5b8af47bc406a546aae24afa3e0fabcc53a3999efcfae7e17cf12dc1b87a79f29af5ae7069250fe6be6d9308f7e2df6001da27
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>qt</herd>
|
||||
<upstream>
|
||||
<bugs-to>https://bugreports.qt-project.org/</bugs-to>
|
||||
<doc>http://qt-project.org/doc/</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qdoc/qdoc-5.3.1-r3.ebuild,v 1.1 2014/09/11 01:43:56 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
QT5_MODULE="qtbase"
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Qt documentation generator"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtcore-${PV}[debug=]
|
||||
~dev-qt/qtxml-${PV}[debug=]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/tools/qdoc
|
||||
)
|
@ -0,0 +1 @@
|
||||
DIST qtbase-opensource-src-5.3.1.tar.xz 46679724 SHA256 7b5a138d30d7c0228a51084407d5210f6d1acfbee2f95b87f189872cfcd3a569 SHA512 b867d8c2f37007770d8105fea1820f8a2b1c2006474c28fbdc29fb7f7dcf9eee0960752805c833639eb7b0fd92c670f552bbc4a7064d0daf5bbac875d081500a WHIRLPOOL 997415bdae97c854916c055e2b5b8af47bc406a546aae24afa3e0fabcc53a3999efcfae7e17cf12dc1b87a79f29af5ae7069250fe6be6d9308f7e2df6001da27
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>qt</herd>
|
||||
<upstream>
|
||||
<bugs-to>https://bugreports.qt-project.org/</bugs-to>
|
||||
<doc>http://qt-project.org/doc/</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtconcurrent/qtconcurrent-5.3.1-r3.ebuild,v 1.1 2014/09/11 01:44:02 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
QT5_MODULE="qtbase"
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Multi-threading concurrence support library for the Qt5 framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtcore-${PV}[debug=]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/concurrent
|
||||
)
|
@ -1 +1,2 @@
|
||||
DIST qt-everywhere-opensource-src-4.8.5.tar.gz 241491467 SHA256 eb728f8268831dc4373be6403b7dd5d5dde03c169ad6882f9a8cb560df6aa138 SHA512 47118d1aa30c59a1eb74e805023cd060edcb35bb0944fe6651889254b75acbd4b83700ba92a9bc215663474d26330cb44f084098c380fac9270742659e5864eb WHIRLPOOL a18f47fd91b522d1543e415aff4f5056202e0cab03da9cfcae9fe2d4118cb1dd1d5fd6a5e2edb9c1e4a68563188d44440e234d268d9c0aef6e3ca3f0988dd357
|
||||
DIST qtbase-opensource-src-5.3.1.tar.xz 46679724 SHA256 7b5a138d30d7c0228a51084407d5210f6d1acfbee2f95b87f189872cfcd3a569 SHA512 b867d8c2f37007770d8105fea1820f8a2b1c2006474c28fbdc29fb7f7dcf9eee0960752805c833639eb7b0fd92c670f552bbc4a7064d0daf5bbac875d081500a WHIRLPOOL 997415bdae97c854916c055e2b5b8af47bc406a546aae24afa3e0fabcc53a3999efcfae7e17cf12dc1b87a79f29af5ae7069250fe6be6d9308f7e2df6001da27
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtcore/qtcore-5.3.1-r3.ebuild,v 1.1 2014/09/11 01:44:13 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
QT5_MODULE="qtbase"
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Cross-platform application development framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
IUSE="icu"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/glib:2
|
||||
>=dev-libs/libpcre-8.30[pcre16]
|
||||
sys-libs/zlib
|
||||
virtual/libiconv
|
||||
icu? ( dev-libs/icu:= )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/tools/bootstrap
|
||||
src/tools/moc
|
||||
src/tools/rcc
|
||||
src/corelib
|
||||
src/tools/qlalr
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(qt_use icu)
|
||||
)
|
||||
qt5-build_src_configure
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST qt-everywhere-opensource-src-4.8.5.tar.gz 241491467 SHA256 eb728f8268831dc4373be6403b7dd5d5dde03c169ad6882f9a8cb560df6aa138 SHA512 47118d1aa30c59a1eb74e805023cd060edcb35bb0944fe6651889254b75acbd4b83700ba92a9bc215663474d26330cb44f084098c380fac9270742659e5864eb WHIRLPOOL a18f47fd91b522d1543e415aff4f5056202e0cab03da9cfcae9fe2d4118cb1dd1d5fd6a5e2edb9c1e4a68563188d44440e234d268d9c0aef6e3ca3f0988dd357
|
||||
DIST qtbase-opensource-src-5.3.1.tar.xz 46679724 SHA256 7b5a138d30d7c0228a51084407d5210f6d1acfbee2f95b87f189872cfcd3a569 SHA512 b867d8c2f37007770d8105fea1820f8a2b1c2006474c28fbdc29fb7f7dcf9eee0960752805c833639eb7b0fd92c670f552bbc4a7064d0daf5bbac875d081500a WHIRLPOOL 997415bdae97c854916c055e2b5b8af47bc406a546aae24afa3e0fabcc53a3999efcfae7e17cf12dc1b87a79f29af5ae7069250fe6be6d9308f7e2df6001da27
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtdbus/qtdbus-5.3.1-r3.ebuild,v 1.1 2014/09/11 01:44:24 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
QT5_MODULE="qtbase"
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="The D-Bus module for the Qt5 framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtcore-${PV}[debug=]
|
||||
>=sys-apps/dbus-1.4.20
|
||||
sys-libs/zlib
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/dbus
|
||||
src/tools/qdbusxml2cpp
|
||||
src/tools/qdbuscpp2xml
|
||||
)
|
||||
|
||||
QT5_GENTOO_CONFIG=(
|
||||
:dbus
|
||||
:dbus-linked:
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
-dbus-linked
|
||||
)
|
||||
qt5-build_src_configure
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST qt-everywhere-opensource-src-4.8.5.tar.gz 241491467 SHA256 eb728f8268831dc4373be6403b7dd5d5dde03c169ad6882f9a8cb560df6aa138 SHA512 47118d1aa30c59a1eb74e805023cd060edcb35bb0944fe6651889254b75acbd4b83700ba92a9bc215663474d26330cb44f084098c380fac9270742659e5864eb WHIRLPOOL a18f47fd91b522d1543e415aff4f5056202e0cab03da9cfcae9fe2d4118cb1dd1d5fd6a5e2edb9c1e4a68563188d44440e234d268d9c0aef6e3ca3f0988dd357
|
||||
DIST qtdeclarative-opensource-src-5.3.1.tar.xz 17611096 SHA256 9a80d401dfbb64f109abf210cb32775a102f7b2420b3a3175b8dab0792220380 SHA512 ed062c41b737b189986113de37706b3643fd5f12978181ff6ccfa9d444ef11f31f6c9de8d55b24001614a321425d7142208a976f8661c9dae702a6bfeec7c999 WHIRLPOOL ecf2ab60f6ba0ce413753de12aee0bf46b2159433ead622bb8a1585b204850c21d0bf33a0b9e05bba4dca44d0c60cc56659e1bf7d33ce90b5b889ae791dcbb56
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtdeclarative/qtdeclarative-5.3.1-r3.ebuild,v 1.1 2014/09/11 01:44:35 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="The QML and Quick modules for the Qt5 framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
IUSE="gles2 localstorage +widgets xml"
|
||||
|
||||
# qtgui[gles2=] is needed because of bug 504322
|
||||
DEPEND="
|
||||
>=dev-qt/qtcore-${PV}:5[debug=]
|
||||
>=dev-qt/qtgui-${PV}:5[debug=,gles2=,opengl]
|
||||
>=dev-qt/qtnetwork-${PV}:5[debug=]
|
||||
>=dev-qt/qttest-${PV}:5[debug=]
|
||||
localstorage? ( >=dev-qt/qtsql-${PV}:5[debug=] )
|
||||
widgets? ( >=dev-qt/qtwidgets-${PV}:5[debug=] )
|
||||
xml? ( >=dev-qt/qtxmlpatterns-${PV}:5[debug=] )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
use localstorage || sed -i -e '/localstorage/d' \
|
||||
src/imports/imports.pro || die
|
||||
|
||||
use widgets || sed -i -e 's/contains(QT_CONFIG, no-widgets)/true/' \
|
||||
src/qmltest/qmltest.pro || die
|
||||
|
||||
qt_use_disable_mod widgets widgets \
|
||||
src/src.pro \
|
||||
tools/tools.pro \
|
||||
tools/qmlscene/qmlscene.pro \
|
||||
tools/qml/qml.pro
|
||||
|
||||
qt_use_disable_mod xml xmlpatterns \
|
||||
src/imports/imports.pro \
|
||||
tests/auto/quick/quick.pro
|
||||
|
||||
qt5-build_src_prepare
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST qttools-opensource-src-5.3.1.tar.xz 8992380 SHA256 edf59eeead3c1d202883c2e6091abd1d40ac37b6e6b0e240b29ab75f86c515a7 SHA512 d8097b055c88e8f8cfa2a6c2c973d13827352e3298395b5a2c2d16204a92e5770fbc3ab2325575a80a676016ce699bddfec3616a21ecc1320b1e1ad60eabec93 WHIRLPOOL 957a9b65991f61a87b6af57889d43aa2cf32c6174a68a3d094bf5a8c5377a93843fcf9815ba226c3c6ff30b19a9c3b00502bd94c2f63b288aca40f780f74fccd
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>qt</herd>
|
||||
<upstream>
|
||||
<bugs-to>https://bugreports.qt-project.org/</bugs-to>
|
||||
<doc>http://qt-project.org/doc/</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtdiag/qtdiag-5.3.1-r3.ebuild,v 1.1 2014/09/11 01:44:41 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
QT5_MODULE="qttools"
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Tool for reporting diagnostic information about Qt and its environment"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
IUSE="+opengl +ssl"
|
||||
|
||||
DEPEND="
|
||||
>=dev-qt/qtcore-${PV}:5[debug=]
|
||||
>=dev-qt/qtgui-${PV}:5[debug=,opengl=]
|
||||
>=dev-qt/qtnetwork-${PV}:5[debug=,ssl=]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/qtdiag
|
||||
)
|
@ -0,0 +1 @@
|
||||
DIST qtgraphicaleffects-opensource-src-5.3.1.tar.xz 14326116 SHA256 53d8a4846f1fefb13aba4cebf3d3f808df69ec187cc435e895eb34152c4e860f SHA512 88cbb9a2ea82c4fb5cdd3f000d34aa09fd46b544d2f7b800496c23f439fdbc02ee6753288c0d6b4e067290155a5b62cf10ca1e58e8a25e68529c8e59be5b7162 WHIRLPOOL d21bf6f79d9065bbe9d28f946af6f782bf4ae8e7ba6b9fbf7d4fe1150efd860e8a5b9ad8f4fa8d56919223856b009e685e38ee013d921949ec7eb03398bcb625
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>qt</herd>
|
||||
<upstream>
|
||||
<bugs-to>https://bugreports.qt-project.org/</bugs-to>
|
||||
<doc>http://qt-project.org/doc/</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtgraphicaleffects/qtgraphicaleffects-5.3.1-r3.ebuild,v 1.1 2014/09/11 01:44:47 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit qt5-build virtualx
|
||||
|
||||
DESCRIPTION="Set of QML types for adding visual effects to user interfaces"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-qt/qtcore-${PV}:5[debug=]
|
||||
>=dev-qt/qtdeclarative-${PV}:5[debug=]
|
||||
>=dev-qt/qtxmlpatterns-${PV}:5[debug=]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( >=dev-qt/qtgui-${PV}:5[debug=] )
|
||||
"
|
||||
|
||||
src_test() {
|
||||
local VIRTUALX_COMMAND="qt5-build_src_test"
|
||||
virtualmake
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST qt-everywhere-opensource-src-4.8.5.tar.gz 241491467 SHA256 eb728f8268831dc4373be6403b7dd5d5dde03c169ad6882f9a8cb560df6aa138 SHA512 47118d1aa30c59a1eb74e805023cd060edcb35bb0944fe6651889254b75acbd4b83700ba92a9bc215663474d26330cb44f084098c380fac9270742659e5864eb WHIRLPOOL a18f47fd91b522d1543e415aff4f5056202e0cab03da9cfcae9fe2d4118cb1dd1d5fd6a5e2edb9c1e4a68563188d44440e234d268d9c0aef6e3ca3f0988dd357
|
||||
DIST qtbase-opensource-src-5.3.1.tar.xz 46679724 SHA256 7b5a138d30d7c0228a51084407d5210f6d1acfbee2f95b87f189872cfcd3a569 SHA512 b867d8c2f37007770d8105fea1820f8a2b1c2006474c28fbdc29fb7f7dcf9eee0960752805c833639eb7b0fd92c670f552bbc4a7064d0daf5bbac875d081500a WHIRLPOOL 997415bdae97c854916c055e2b5b8af47bc406a546aae24afa3e0fabcc53a3999efcfae7e17cf12dc1b87a79f29af5ae7069250fe6be6d9308f7e2df6001da27
|
||||
DIST qtgui-systemtrayicon-plugin-system.patch 51377 SHA256 e8582ebb2a5db99bf85789585516459ace42fc2b57fc7d5ff6156a2819bda282 SHA512 0d74b61e23af2e8ef0619ee616c4b775761514f53ba79bcb25b32b7e55beab3575c0d279ba1b016498804023bb78f8cff61964ce56f80642f648406f7c303679 WHIRLPOOL 03cc247a2a0e3b77fc541fa0b47abb125c8f7b304037f2067488861f12fdab25d3b3b3a7cf90626c229aa85a2d43ae4319c0f838b6eeb5ecdfe838a365ed8a58
|
||||
|
@ -0,0 +1,151 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtgui/qtgui-5.3.1-r3.ebuild,v 1.1 2014/09/11 01:44:59 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
QT5_MODULE="qtbase"
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="The GUI module and platform plugins for the Qt5 framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
# TODO: directfb, linuxfb, offscreen (auto-depends on X11)
|
||||
|
||||
IUSE="accessibility egl eglfs evdev +gif gles2 harfbuzz ibus jpeg kms +opengl +png udev +xcb"
|
||||
REQUIRED_USE="
|
||||
egl? ( evdev opengl )
|
||||
eglfs? ( egl )
|
||||
gles2? ( opengl )
|
||||
kms? ( egl gles2 )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
~dev-qt/qtcore-${PV}[debug=]
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
sys-libs/zlib
|
||||
egl? ( media-libs/mesa[egl] )
|
||||
evdev? ( sys-libs/mtdev )
|
||||
gles2? ( media-libs/mesa[gles2] )
|
||||
harfbuzz? ( >=media-libs/harfbuzz-0.9.25:= )
|
||||
ibus? ( ~dev-qt/qtdbus-${PV}[debug=] )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
kms? (
|
||||
media-libs/mesa[gbm]
|
||||
virtual/libudev:=
|
||||
x11-libs/libdrm
|
||||
)
|
||||
opengl? ( virtual/opengl )
|
||||
png? ( media-libs/libpng:0= )
|
||||
udev? ( virtual/libudev:= )
|
||||
xcb? (
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
>=x11-libs/libX11-1.5
|
||||
>=x11-libs/libXi-1.6
|
||||
x11-libs/libXrender
|
||||
>=x11-libs/libxcb-1.10[xkb]
|
||||
>=x11-libs/libxkbcommon-0.4.1[X]
|
||||
x11-libs/xcb-util-image
|
||||
x11-libs/xcb-util-keysyms
|
||||
x11-libs/xcb-util-renderutil
|
||||
x11-libs/xcb-util-wm
|
||||
accessibility? ( ~dev-qt/qtdbus-${PV}[debug=] )
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
evdev? ( sys-kernel/linux-headers )
|
||||
test? ( ~dev-qt/qtnetwork-${PV}[debug=] )
|
||||
"
|
||||
PDEPEND="
|
||||
ibus? ( app-i18n/ibus )
|
||||
"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/gui
|
||||
src/platformsupport
|
||||
src/plugins/generic
|
||||
src/plugins/imageformats
|
||||
src/plugins/platforms
|
||||
)
|
||||
|
||||
QT5_GENTOO_CONFIG=(
|
||||
accessibility:accessibility-atspi-bridge
|
||||
egl
|
||||
eglfs
|
||||
evdev
|
||||
evdev:mtdev:
|
||||
:fontconfig
|
||||
:system-freetype:FREETYPE
|
||||
!:no-freetype:
|
||||
!gif:no-gif:
|
||||
gles2::OPENGL_ES
|
||||
gles2:opengles2:OPENGL_ES_2
|
||||
!:no-gui:
|
||||
harfbuzz:system-harfbuzz:HARFBUZZ
|
||||
!harfbuzz:no-harfbuzz:
|
||||
jpeg:system-jpeg:IMAGEFORMAT_JPEG
|
||||
!jpeg:no-jpeg:
|
||||
kms:kms:
|
||||
opengl
|
||||
png:png:
|
||||
png:system-png:IMAGEFORMAT_PNG
|
||||
!png:no-png:
|
||||
udev:libudev:
|
||||
xcb:xcb:
|
||||
xcb:xcb-glx:
|
||||
xcb:xcb-plugin:
|
||||
xcb:xcb-render:
|
||||
xcb:xcb-sm:
|
||||
xcb:xcb-xlib:
|
||||
xcb:xinput2:
|
||||
xcb::XKB
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use opengl && QT5_TARGET_SUBDIRS+=(src/openglextensions)
|
||||
use ibus && QT5_TARGET_SUBDIRS+=(src/plugins/platforminputcontexts/ibus)
|
||||
use xcb && QT5_TARGET_SUBDIRS+=(src/plugins/platforminputcontexts/compose)
|
||||
|
||||
# egl_x11 is activated when both egl and xcb are enabled
|
||||
use egl && QT5_GENTOO_CONFIG+=(xcb:egl_x11) || QT5_GENTOO_CONFIG+=(egl:egl_x11)
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local gl="-no-opengl"
|
||||
if use gles2; then
|
||||
gl="-opengl es2"
|
||||
elif use opengl; then
|
||||
gl="-opengl desktop"
|
||||
fi
|
||||
|
||||
local myconf=(
|
||||
$(use accessibility && use xcb && echo -dbus-linked)
|
||||
$(use ibus && echo -dbus-linked)
|
||||
$(qt_use egl)
|
||||
$(qt_use eglfs)
|
||||
$(qt_use evdev)
|
||||
$(qt_use evdev mtdev)
|
||||
-fontconfig
|
||||
-system-freetype
|
||||
$(use gif || echo -no-gif)
|
||||
${gl}
|
||||
$(qt_use harfbuzz harfbuzz system)
|
||||
$(qt_use jpeg libjpeg system)
|
||||
$(qt_use kms)
|
||||
$(qt_use png libpng system)
|
||||
$(qt_use udev libudev)
|
||||
$(qt_use xcb xcb system)
|
||||
$(qt_use xcb xkbcommon system)
|
||||
$(use xcb && echo -xcb-xlib -xinput2 -xkb -xrender)
|
||||
)
|
||||
qt5-build_src_configure
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST qt-assistant-compat-headers-4.7.tar.gz 448 SHA256 73ae604834cc89d6c67bafc65bb5d3cadaec23076d02711fc0c30a85df3d8580 SHA512 da14cb9904591f4389862cf1e1c96f923e72b7b904d57787d68feae2c90d52bf713e930442aa3abd4b457c3cc66c88b94e23df5fc25e33e01f1ed4d3093460bb WHIRLPOOL 26c42c101aab36a8d0355f1243226f6b8bd5a477c5aafece7e036f18a9fcfe98ae016042befe494fca0c42b825e29539825466c1ddb720102fa6c65e9cbaec61
|
||||
DIST qt-assistant-qassistantclient-library-compat-src-4.6.3.tar.gz 329896 SHA256 e698be8fc0d32c5f0b5b46cafcb8f615accaed524b864e58b99b64b7b5549c2d SHA512 a4050d93e448d29004d71d5ea670e60242f1272399f65db084dd928150f26404d37544d011d75bbb1c62f227752f92b86a4f4382dc54f0681a3df6da738af106 WHIRLPOOL 9c2822ae2f1ee7c4f63236cc95eb0cb025f088e1f13e0a154fabdad5af6209b0e4cdda86d23061bf35fe5919a1909ed162bbc4835da79fdf1b187461aa948a1b
|
||||
DIST qt-everywhere-opensource-src-4.8.5.tar.gz 241491467 SHA256 eb728f8268831dc4373be6403b7dd5d5dde03c169ad6882f9a8cb560df6aa138 SHA512 47118d1aa30c59a1eb74e805023cd060edcb35bb0944fe6651889254b75acbd4b83700ba92a9bc215663474d26330cb44f084098c380fac9270742659e5864eb WHIRLPOOL a18f47fd91b522d1543e415aff4f5056202e0cab03da9cfcae9fe2d4118cb1dd1d5fd6a5e2edb9c1e4a68563188d44440e234d268d9c0aef6e3ca3f0988dd357
|
||||
DIST qttools-opensource-src-5.3.1.tar.xz 8992380 SHA256 edf59eeead3c1d202883c2e6091abd1d40ac37b6e6b0e240b29ab75f86c515a7 SHA512 d8097b055c88e8f8cfa2a6c2c973d13827352e3298395b5a2c2d16204a92e5770fbc3ab2325575a80a676016ce699bddfec3616a21ecc1320b1e1ad60eabec93 WHIRLPOOL 957a9b65991f61a87b6af57889d43aa2cf32c6174a68a3d094bf5a8c5377a93843fcf9815ba226c3c6ff30b19a9c3b00502bd94c2f63b288aca40f780f74fccd
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qthelp/qthelp-5.3.1-r3.ebuild,v 1.1 2014/09/11 01:45:10 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
QT5_MODULE="qttools"
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="The Help module for the Qt5 framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=dev-qt/qtcore-${PV}:5[debug=]
|
||||
>=dev-qt/qtgui-${PV}:5[debug=]
|
||||
>=dev-qt/qtnetwork-${PV}:5[debug=]
|
||||
>=dev-qt/qtsql-${PV}:5[debug=,sqlite]
|
||||
>=dev-qt/qtwidgets-${PV}:5[debug=]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/assistant/clucene
|
||||
src/assistant/help
|
||||
src/assistant/qcollectiongenerator
|
||||
src/assistant/qhelpconverter
|
||||
src/assistant/qhelpgenerator
|
||||
)
|
@ -0,0 +1 @@
|
||||
DIST qtimageformats-opensource-src-5.3.1.tar.xz 2116236 SHA256 62e790029ddf0c5eea7623958ef97144b3c94113cab1e9fa5fbf326625dba3bf SHA512 e08377523705ebbf11fe4473efac60e57662ff90ffd943b70b55278ac12ddc59f0bbe894b0cccd03c0262be20e4bc88056729d8d2f2fe2aa44cc262021ea603f WHIRLPOOL aa2684a2b61bf249401d4cee4415f07302c50e735ba92668769d4fe748f34aadeea2c5f83bca82714e522d86ccd51b0d6715c1d134e9d20997b5ef8c5293b9ef
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>qt</herd>
|
||||
<upstream>
|
||||
<bugs-to>https://bugreports.qt-project.org/</bugs-to>
|
||||
<doc>http://qt-project.org/doc/</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtimageformats/qtimageformats-5.3.1-r3.ebuild,v 1.1 2014/09/11 01:45:15 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Additional format plugins for the Qt image I/O system"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=dev-qt/qtcore-${PV}:5[debug=]
|
||||
>=dev-qt/qtgui-${PV}:5[debug=]
|
||||
media-libs/jasper
|
||||
media-libs/libmng:=
|
||||
media-libs/libwebp:=
|
||||
media-libs/tiff:0
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
@ -1 +1,2 @@
|
||||
DIST qt-everywhere-opensource-src-4.8.5.tar.gz 241491467 SHA256 eb728f8268831dc4373be6403b7dd5d5dde03c169ad6882f9a8cb560df6aa138 SHA512 47118d1aa30c59a1eb74e805023cd060edcb35bb0944fe6651889254b75acbd4b83700ba92a9bc215663474d26330cb44f084098c380fac9270742659e5864eb WHIRLPOOL a18f47fd91b522d1543e415aff4f5056202e0cab03da9cfcae9fe2d4118cb1dd1d5fd6a5e2edb9c1e4a68563188d44440e234d268d9c0aef6e3ca3f0988dd357
|
||||
DIST qtmultimedia-opensource-src-5.3.1.tar.xz 3189976 SHA256 c4108979f869645d91d7bcc2004b4bcfbae7332c1281ed5697a551a0d046e98c SHA512 c2c758ed96c59f1d16ffbba60941ba5266cd7869da816a21e8aba042de641a2ed8cccb528966db73b8c256db1d08fd3e172d272b9ba1bfee7b8b4a204e4964f3 WHIRLPOOL f1d0fbf07eba98faaf478a56dff2b26c1ac0b39be4c279d0caec9f7e1c3a17dbf556f8c313c89ca3bf292897c4e42cfda18a0ccc4a020560db073bef36c2b227
|
||||
|
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtmultimedia/qtmultimedia-5.3.1-r3.ebuild,v 1.1 2014/09/11 01:45:24 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="The Multimedia module for the Qt5 framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
IUSE="+alsa +gstreamer openal +opengl pulseaudio qml widgets"
|
||||
REQUIRED_USE="?? ( alsa pulseaudio )"
|
||||
|
||||
# "widgets? ( qtgui[opengl=] )" because of bug 518542 comment 2
|
||||
RDEPEND="
|
||||
>=dev-qt/qtcore-${PV}:5[debug=]
|
||||
>=dev-qt/qtgui-${PV}:5[debug=]
|
||||
>=dev-qt/qtnetwork-${PV}:5[debug=]
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:0.10
|
||||
media-libs/gst-plugins-bad:0.10
|
||||
media-libs/gst-plugins-base:0.10
|
||||
)
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
qml? (
|
||||
>=dev-qt/qtdeclarative-${PV}:5[debug=]
|
||||
openal? ( media-libs/openal )
|
||||
)
|
||||
widgets? (
|
||||
>=dev-qt/qtgui-${PV}:5[debug=,opengl=]
|
||||
>=dev-qt/qtwidgets-${PV}:5[debug=]
|
||||
opengl? ( >=dev-qt/qtopengl-${PV}:5[debug=] )
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
x11-proto/videoproto
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
qt_use_compile_test alsa
|
||||
qt_use_compile_test gstreamer
|
||||
qt_use_compile_test openal
|
||||
qt_use_compile_test pulseaudio
|
||||
|
||||
qt_use_disable_mod opengl opengl \
|
||||
src/multimediawidgets/multimediawidgets.pro
|
||||
|
||||
qt_use_disable_mod qml quick \
|
||||
src/src.pro
|
||||
|
||||
qt_use_disable_mod widgets widgets \
|
||||
src/src.pro \
|
||||
src/gsttools/gsttools.pro \
|
||||
src/plugins/gstreamer/common.pri
|
||||
|
||||
qt5-build_src_prepare
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST qtbase-opensource-src-5.3.1.tar.xz 46679724 SHA256 7b5a138d30d7c0228a51084407d5210f6d1acfbee2f95b87f189872cfcd3a569 SHA512 b867d8c2f37007770d8105fea1820f8a2b1c2006474c28fbdc29fb7f7dcf9eee0960752805c833639eb7b0fd92c670f552bbc4a7064d0daf5bbac875d081500a WHIRLPOOL 997415bdae97c854916c055e2b5b8af47bc406a546aae24afa3e0fabcc53a3999efcfae7e17cf12dc1b87a79f29af5ae7069250fe6be6d9308f7e2df6001da27
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>qt</herd>
|
||||
<use>
|
||||
<flag name="connman">Enable ConnMan-based bearer plugin</flag>
|
||||
<flag name="networkmanager">Enable NetworkManager-based bearer plugin</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<bugs-to>https://bugreports.qt-project.org/</bugs-to>
|
||||
<doc>http://qt-project.org/doc/</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtnetwork/qtnetwork-5.3.1-r3.ebuild,v 1.1 2014/09/11 01:45:30 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
QT5_MODULE="qtbase"
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Network abstraction library for the Qt5 framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
IUSE="connman networkmanager +ssl"
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtcore-${PV}[debug=]
|
||||
sys-libs/zlib
|
||||
connman? ( ~dev-qt/qtdbus-${PV}[debug=] )
|
||||
networkmanager? ( ~dev-qt/qtdbus-${PV}[debug=] )
|
||||
ssl? ( dev-libs/openssl:0[-bindist] )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
connman? ( net-misc/connman )
|
||||
networkmanager? ( net-misc/networkmanager )
|
||||
"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/network
|
||||
src/plugins/bearer/generic
|
||||
)
|
||||
|
||||
QT5_GENTOO_CONFIG=(
|
||||
ssl::SSL
|
||||
ssl::OPENSSL
|
||||
ssl:openssl-linked:LINKED_OPENSSL
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use connman && QT5_TARGET_SUBDIRS+=(src/plugins/bearer/connman)
|
||||
use networkmanager && QT5_TARGET_SUBDIRS+=(src/plugins/bearer/networkmanager)
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use connman || use networkmanager && echo -dbus-linked)
|
||||
$(use ssl && echo -openssl-linked)
|
||||
)
|
||||
qt5-build_src_configure
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue