Sync with portage [Mon Feb 4 12:27:32 MSK 2013].

mhiretskiy
root 11 years ago
parent 78b103e01b
commit 8821414521

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/at-spi2-atk/at-spi2-atk-2.6.2.ebuild,v 1.6 2013/01/30 11:11:07 aballier Exp $
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/at-spi2-atk/at-spi2-atk-2.6.2.ebuild,v 1.7 2013/02/02 10:44:38 aballier Exp $
EAPI="4"
GCONF_DEBUG="no"
@ -13,7 +13,7 @@ HOMEPAGE="http://live.gnome.org/Accessibility"
LICENSE="LGPL-2+"
SLOT="2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE=""
COMMON_DEPEND="

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/at-spi2-core/at-spi2-core-2.6.3.ebuild,v 1.2 2013/01/24 14:57:11 jlec Exp $
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/at-spi2-core/at-spi2-core-2.6.3.ebuild,v 1.3 2013/02/02 10:41:49 aballier Exp $
EAPI="5"
GCONF_DEBUG="no"
@ -13,7 +13,7 @@ HOMEPAGE="http://live.gnome.org/Accessibility"
LICENSE="LGPL-2+"
SLOT="2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE="+introspection"
RDEPEND=">=dev-libs/glib-2.28:2

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/caribou/caribou-0.4.7.ebuild,v 1.1 2013/01/25 23:56:24 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/caribou/caribou-0.4.7.ebuild,v 1.2 2013/02/02 22:17:23 ago Exp $
EAPI="5"
GCONF_DEBUG="no"
@ -15,7 +15,7 @@ HOMEPAGE="https://live.gnome.org/Caribou"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
COMMON_DEPEND="

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeak/espeak-1.46.01.ebuild,v 1.3 2012/05/31 02:10:21 zmedico Exp $
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeak/espeak-1.46.01.ebuild,v 1.4 2013/02/02 22:17:43 ago Exp $
EAPI="4"
@ -12,7 +12,7 @@ DESCRIPTION="Speech synthesizer for English and other languages"
HOMEPAGE="http://espeak.sourceforge.net/"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="portaudio pulseaudio"
REQUIRED_USE="portaudio? ( !pulseaudio )
pulseaudio? ( !portaudio )"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/festival-2.1-r1.ebuild,v 1.2 2012/12/28 18:19:42 ulm Exp $
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/festival-2.1-r1.ebuild,v 1.3 2013/02/02 22:18:04 ago Exp $
EAPI="2"
inherit eutils multilib toolchain-funcs user
@ -24,7 +24,7 @@ SRC_URI="${SITE}/${MY_P}.tar.gz
LICENSE="FESTIVAL HPND BSD rc regexp-UofT free-noncomm"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE=""
DEPEND="~app-accessibility/speech-tools-2.1

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnome-mag/gnome-mag-0.16.3.ebuild,v 1.8 2012/05/03 01:48:59 jdhore Exp $
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnome-mag/gnome-mag-0.16.3.ebuild,v 1.9 2013/02/02 22:18:25 ago Exp $
EAPI="3"
GCONF_DEBUG="yes"
@ -12,7 +12,7 @@ HOMEPAGE="http://www.gnome.org/"
LICENSE="LGPL-2"
SLOT="1"
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd"
KEYWORDS="alpha amd64 ~arm ia64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE=""
RDEPEND=">=dev-libs/glib-2.11.1:2

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnome-speech/gnome-speech-0.4.25-r1.ebuild,v 1.9 2012/05/03 01:48:59 jdhore Exp $
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnome-speech/gnome-speech-0.4.25-r1.ebuild,v 1.10 2013/02/02 22:18:46 ago Exp $
EAPI="4"
GNOME_TARBALL_SUFFIX="bz2"
@ -12,7 +12,7 @@ HOMEPAGE="http://www.gnome.org/"
LICENSE="LGPL-2"
SLOT="1"
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd"
KEYWORDS="alpha amd64 ~arm ia64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="+espeak festival"
COMMON_DEPEND=">=gnome-base/orbit-2.3.94

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gok/gok-2.30.1.ebuild,v 1.9 2012/05/03 01:48:59 jdhore Exp $
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gok/gok-2.30.1.ebuild,v 1.10 2013/02/02 22:19:07 ago Exp $
EAPI="3"
GCONF_DEBUG="no"
@ -12,7 +12,7 @@ HOMEPAGE="http://www.gok.ca/"
LICENSE="LGPL-2"
SLOT="1"
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd"
KEYWORDS="alpha amd64 ~arm ia64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="accessibility doc usb"
# accessibility will disappear with new xorg-server (1.6)

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/orca/orca-3.6.3-r1.ebuild,v 1.6 2013/01/06 09:11:08 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/orca/orca-3.6.3-r1.ebuild,v 1.7 2013/02/02 22:19:29 ago Exp $
EAPI="5"
GCONF_DEBUG="no"
@ -15,7 +15,7 @@ HOMEPAGE="http://projects.gnome.org/orca/"
LICENSE="LGPL-2.1+ CCPL-Attribution-ShareAlike-3.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE=""
# liblouis is not in portage yet

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-tools/speech-tools-2.1-r2.ebuild,v 1.2 2012/12/28 18:24:29 ulm Exp $
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-tools/speech-tools-2.1-r2.ebuild,v 1.3 2013/02/02 22:19:51 ago Exp $
EAPI="2"
@ -16,7 +16,7 @@ SRC_URI="http://www.festvox.org/packed/festival/${PV}/${MY_P}-release.tar.gz
LICENSE="FESTIVAL HPND BSD rc regexp-UofT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="nas X"
DEPEND="nas? ( media-libs/nas )

@ -1,4 +1 @@
DIST augeas-0.10.0.tar.gz 1676906 SHA256 ec111af06186216930176ebe5ecccdf7bf528528aee9acde1d5d70088484afca SHA512 4b23c69ce92971ad63cd5829044051a53b7976a7e3ccb9006282333a2dd06789e7c5da671450eb81904d237c36d449ac0924b06d9690dc7e5de4b8b40a58ec8c WHIRLPOOL 8b542cfa1bdcad3508cfd3cf25803ed27304ecdaaab4c9e7ce6ae2b7798c4cdc3d344ab4793cb2a0fd7b1b276eee20385b129d9fcf3b5b3b4596c3b0c96424cc
DIST augeas-0.7.1.tar.gz 1346645 SHA256 f45749251dbc382b89458bfa25ca1f4090520f4b853b77c854de3861e9f82636 SHA512 2582a48cf009cf72a7865f0ef0ca9fc7246ea1c4f3fe2c2da074d1aafbe7d03ab69dea793c318cc8e106d1b6c5a75da0836cbdc71b9dd5aecc0afb634af45738 WHIRLPOOL 155b0cee6c3ff4218c24d3380b2f3784ccfdcd2315c87f821923ae554fdedcf354d68fae5ad27e5e0155f0f1d38d72acc26027f0099ca1dfd251ed3602b53971
DIST augeas-0.7.4.tar.gz 1387927 SHA256 02ba7b4f1d0796dff6ea5f8cc5f4949e4ba30b7fa2f36a0c8a5079f9975060d1 SHA512 12fb246e21df9f82a5a89231448c8c1a8be8e62e4f2a46ddfe0ba53648b197ae11bb84e80427d739575b37afaf9f4580610ce486ab7759f4968b253887962c42 WHIRLPOOL c401e903bae303bb5ada3d9fd06f359528ee0e39494e6c5b38f703210b46d74dd77c7a5fa408aa2e3f747b1de0f74dd2a0f87c1cbe69cc003b2897a14fedbaa4
DIST augeas-0.9.0.tar.gz 1630073 SHA256 55d2f482d02ac4cb38a80d95c53d2f73de435df7df1022827e7cba20bb4bb9b8 SHA512 4c6f475b985c85bb8251635f438e0274ac53ccc713bab282baa5cbc12f1a0140132f5688c15cdf73d0b86b8292385961137d56295ac76f5b9784145e579ddc27 WHIRLPOOL 874d1ff728eeb23f1607068e4644490b8664b68b1fb3ee9ec2a36c6e807ba57b3b37fbeb5fe04761c05ae06e5c30d51f475595dec4aeed67d6a184c15deb0d1b

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/augeas/augeas-0.10.0-r1.ebuild,v 1.2 2012/12/18 16:30:59 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/augeas/augeas-0.10.0-r1.ebuild,v 1.3 2013/02/03 13:19:20 prometheanfire Exp $
EAPI=5

@ -1,35 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/augeas/augeas-0.7.1.ebuild,v 1.7 2011/06/30 15:05:29 ranger Exp $
DESCRIPTION="A library for changing configuration files"
HOMEPAGE="http://augeas.net/"
SRC_URI="http://augeas.net/download/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 hppa ppc sparc x86"
IUSE="test"
RDEPEND="sys-libs/readline"
DEPEND="${RDEPEND}
>=app-doc/NaturalDocs-1.40
test? ( dev-lang/ruby )"
src_compile() {
if [ -f /usr/share/NaturalDocs/Config/Languages.txt ] ; then
addwrite /usr/share/NaturalDocs/Config/Languages.txt
fi
if [ -f /usr/share/NaturalDocs/Config/Topics.txt ] ; then
addwrite /usr/share/NaturalDocs/Config/Topics.txt
fi
econf || die
emake || die
}
src_install() {
emake DESTDIR="${D}" install || die "install failed"
dodoc AUTHORS ChangeLog README NEWS
}

@ -1,35 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/augeas/augeas-0.7.4.ebuild,v 1.2 2011/04/10 12:56:06 klausman Exp $
DESCRIPTION="A library for changing configuration files"
HOMEPAGE="http://augeas.net/"
SRC_URI="http://augeas.net/download/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
IUSE="test"
RDEPEND="sys-libs/readline"
DEPEND="${RDEPEND}
>=app-doc/NaturalDocs-1.40
test? ( dev-lang/ruby )"
src_compile() {
if [ -f /usr/share/NaturalDocs/Config/Languages.txt ] ; then
addwrite /usr/share/NaturalDocs/Config/Languages.txt
fi
if [ -f /usr/share/NaturalDocs/Config/Topics.txt ] ; then
addwrite /usr/share/NaturalDocs/Config/Topics.txt
fi
econf || die
emake || die
}
src_install() {
emake DESTDIR="${D}" install || die "install failed"
dodoc AUTHORS ChangeLog README NEWS
}

@ -1,43 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/augeas/augeas-0.9.0.ebuild,v 1.6 2012/08/05 18:25:43 armin76 Exp $
EAPI="4"
inherit eutils
DESCRIPTION="A library for changing configuration files"
HOMEPAGE="http://augeas.net/"
SRC_URI="http://augeas.net/download/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 hppa ppc sparc x86"
IUSE="static-libs test"
RDEPEND="sys-libs/readline"
DEPEND="${RDEPEND}
>=app-doc/NaturalDocs-1.40
test? ( dev-lang/ruby )"
src_prepare() {
epatch "${FILESDIR}/${P}-gnulib-test.patch"
if [ -f /usr/share/NaturalDocs/Config/Languages.txt ] ; then
addwrite /usr/share/NaturalDocs/Config/Languages.txt
fi
if [ -f /usr/share/NaturalDocs/Config/Topics.txt ] ; then
addwrite /usr/share/NaturalDocs/Config/Topics.txt
fi
}
src_configure() {
econf $(use_enable static-libs static) || die
}
src_install() {
default
use static-libs || find "${ED}" -name '*.la' -delete
dodoc AUTHORS ChangeLog README NEWS
}

@ -1,12 +0,0 @@
diff -Naur augeas-0.9.0.orig/gnulib/tests/test-readlink.h augeas-0.9.0/gnulib/tests/test-readlink.h
--- augeas-0.9.0.orig/gnulib/tests/test-readlink.h 2011-03-04 10:08:01.000000000 +0900
+++ augeas-0.9.0/gnulib/tests/test-readlink.h 2011-08-25 01:33:00.332844641 +0900
@@ -38,7 +38,7 @@
ASSERT (errno == ENOENT);
errno = 0;
ASSERT (func ("", buf, sizeof buf) == -1);
- ASSERT (errno == ENOENT);
+ ASSERT (errno == ENOENT || errno == EINVAL);
errno = 0;
ASSERT (func (".", buf, sizeof buf) == -1);
ASSERT (errno == EINVAL);

@ -2,7 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>matsuu@gentoo.org</email>
<email>prometheanfire@gentoo.org</email>
</maintainer>
<longdescription lang="en">
A library for programmatically editing configuration files. Augeas parses

@ -1,2 +1 @@
DIST logsurfer+-1.7.tar.gz 198289 SHA256 b0cce7311f6413a1a903a2d4925051ee68a882a7eb093f41f1b7d7bd7bd442a0 SHA512 3f278a891f9c28c5d81f0f3ce1f3a395f36c820c7b83f3f06b435597fa7ec42c4523745078201afdcf4a8d61da9059cec099b4f711dda62437c1124526ad2fe9 WHIRLPOOL b987195696120c11848b094665e603aba0f90b3eb6e902d13afad1474094b9b9dab749bef51988478facd55c2a6922e911eec9f52cd6da181eb0a986b17183ec
DIST logsurfer-1.8.tar.gz 197433 SHA256 e0a6becc1d105acff35baa4b1dd51db3f6664156000ad23bf803193a8361ce50 SHA512 470276cb70489528a0a14dfc8c85a41d2b5ce0768ca373ec6367b137e614fef2e1174363a9987724da8682d7dc20570ba360203feda431daf21026eb28bec9f6 WHIRLPOOL c2a64f7d9ce3ef9a058b1ee60f0c1d92372b1ceb634822443ebeb90e3e9d138d47d06bc8104cae76f8686ad7b9797862842dbcda3fd588e8cacf5bcaf9c60ab4

@ -1,31 +0,0 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/logsurfer+/logsurfer+-1.7.ebuild,v 1.2 2008/10/24 21:07:35 maekke Exp $
inherit toolchain-funcs
DESCRIPTION="Real Time Log Monitoring and Alerting"
HOMEPAGE="http://www.crypt.gen.nz/logsurfer/"
SRC_URI="http://kerryt.orcon.net.nz/${P}.tar.gz
http://www.crypt.gen.nz/logsurfer/${P}.tar.gz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
src_compile() {
econf --with-etcdir=/etc || die
emake CC="$(tc-getCC)" || die
}
src_install() {
dobin src/logsurfer || die
doman man/logsurfer.1 man/logsurfer.conf.4 || die
newinitd "${FILESDIR}"/logsurfer.initd logsurfer || die
newconfd "${FILESDIR}"/logsurfer.confd logsurfer || die
dodoc ChangeLog README TODO
docinto config-examples
dodoc config-examples/*
}

@ -1,36 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/logsurfer+/logsurfer+-1.8.ebuild,v 1.3 2011/11/19 10:00:32 hwoarang Exp $
EAPI="4"
inherit toolchain-funcs
MY_P="logsurfer-${PV}"
DESCRIPTION="Real Time Log Monitoring and Alerting"
HOMEPAGE="http://www.crypt.gen.nz/logsurfer/"
SRC_URI="http://kerryt.orcon.net.nz/${MY_P}.tar.gz
http://www.crypt.gen.nz/logsurfer/${MY_P}.tar.gz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
S="${WORKDIR}/${MY_P}"
src_configure() {
econf --with-etcdir=/etc
}
src_compile() {
emake CC="$(tc-getCC)"
}
src_install() {
dobin src/logsurfer
doman man/logsurfer.1 man/logsurfer.conf.4
newinitd "${FILESDIR}"/logsurfer.initd logsurfer
newconfd "${FILESDIR}"/logsurfer.confd logsurfer
dodoc ChangeLog README TODO
}

@ -2,10 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>matsuu@gentoo.org</email>
<name>MATSUU Takuto</name>
<email>maintainer-needed@gentoo.org</email>
</maintainer>
<longdescription lang="en">
</longdescription>
</pkgmetadata>

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/openrc-settingsd/openrc-settingsd-1.0.1.ebuild,v 1.7 2013/01/21 19:48:06 tetromino Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/openrc-settingsd/openrc-settingsd-1.0.1.ebuild,v 1.8 2013/02/02 22:20:11 ago Exp $
EAPI=5
@ -10,7 +10,7 @@ SRC_URI="http://dev.gentoo.org/~tetromino/distfiles/${PN}/${P}.tar.xz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="systemd"
COMMON_DEPEND=">=dev-libs/glib-2.30:2

@ -1,6 +1,3 @@
DIST puppet-2.7.11.gem 1846272 SHA256 d58c0ad7ee05364d3431fefd2894690eed3364362d759b0b2627c44f71c955d6 SHA512 a04b09399746c22dc820393aa1ba0c62fcf52d6a9ccc81f0f60f6079eba0cec1cf97d1d848eddd19ac58e5a68f4e6fd61aff7a035ba227e69e08bbd0c0cc0ac0 WHIRLPOOL a69811a1d95406789e611c82f881069358c9d49145371286907957844bc167e72b1f736493f81beea50b88fcde0d7c1807ac32cec6736e5fecfe29aa23ef4cd8
DIST puppet-2.7.12.gem 1876480 SHA256 2c96c6cba32b1b413faee8a0d96b1f33be08aca99d165ea689f06a7dc1a2bc1f SHA512 bb56fc099c6cb1db93b74c346077775f44807283b34cef4b61dab4511395beeaf516f034b55b379e4618331431512a4535d44717f668e2e64f402c07a6e57927 WHIRLPOOL fed5d8e56f1b962ce270e651ab1030933c1068d8c6386da05755bbd9907ec30317d6f799bd12e598606212a14c6a509605e88d5b02517ceb6fff3c76af3f87d4
DIST puppet-2.7.13.gem 1876992 SHA256 1e91ee9eed15d2ca4aba691299d1bde61de310cbcee0f1a557f9d47ffd2e0bd8 SHA512 d780985bb143da3361b64cecef6f7ab45ce23e221d2aaa4523dae2076cc6039ddd01293359054d6dcf9c60cd7d904d7edf190a724e11fb449fc25ebd3c586859 WHIRLPOOL 351c0ade55534f4773c282f324753e475ba416c135727e2bb51f14b145fb037a03a9f885f78be2792e316046c997ee0e4e2f507172079791d868b699e0c52ec5
DIST puppet-2.7.18.gem 1920000 SHA256 147cd18ec39d2768bbc40f2735a84f770d9dde1b5679ba21f37edd6f7db19089 SHA512 e51c09baf2eee908f3b4ad1d90c252eb0eca3a1eb550522d0b612db919de305b724a13fdcc7abac51da31291b4a703b2478d2fc9ebfc5aa995ad677aabc42c83 WHIRLPOOL 9f2f4d30acfddd78f0d57ab0a58f400d6c1218e6f5e6541a5f224b9243f5ef5c2dee64bde5a69dff16df42242fa3f44ee226b4aa411a249fc8acafdd1ae17bf3
DIST puppet-2.7.19.gem 1936384 SHA256 aaa225d83a8fe545a6bcd1b1b6c10373f9cec7c41e38caf56bd0d956892cf2f3 SHA512 3d003c22663226996aa6422d18af446768bd81b67e76e8d1aedf18430bb85df73c3695de9d49340e51f948f661f4c6e24bc83d9d428c9f10634219e01fd641b6 WHIRLPOOL 0ffd63338cc55c13f6bb49bf1487f3b890be04a5ce83939848bace35dd51ff4b01b93ddde146197888455cc65cf8fb4228056c749c7802cd471d9b43dcca5c8c
DIST puppet-3.0.1.tar.gz 1505102 SHA256 5e4d0cfdd6989faf4f6c5c76c0d3bcfa0364e380549be1a2f7c3abd22b0b562b SHA512 a55e7f30d867d72031d8d8ce5f55e1c7447f08227009164579e72974f4af158350ad568b5dee91e15cfd64c74d7df062bc2249244368bba96216ec8310f9d342 WHIRLPOOL a83716081ccabb590bb1cc86f0e666ae608914450abe722613fc9f4c2c94e9f25c657cf113f8145c73cceb4a1f5b79b851d3f084fd70dd19b245b2a3d3cf9688

@ -2,7 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>matsuu@gentoo.org</email>
<email>prometheanfire@gentoo.org</email>
</maintainer>
<herd>sysadmin</herd>
<herd>ruby</herd>

@ -1,177 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-2.7.11.ebuild,v 1.10 2012/11/06 22:55:56 tampakrap Exp $
EAPI="4"
# ruby19: dev-ruby/ruby-ldap has no ruby19
USE_RUBY="ruby18"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_TASK_TEST="test"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG* README*"
inherit elisp-common xemacs-elisp-common eutils ruby-fakegem user
DESCRIPTION="A system automation and configuration management software"
HOMEPAGE="http://puppetlabs.com/"
LICENSE="Apache-2.0 GPL-2"
SLOT="0"
IUSE="augeas diff doc emacs ldap minimal rrdtool selinux shadow sqlite3 vim-syntax xemacs"
KEYWORDS="amd64 hppa ppc sparc x86"
ruby_add_rdepend "
>=dev-ruby/facter-1.5.6
augeas? ( dev-ruby/ruby-augeas )
diff? ( dev-ruby/diff-lcs )
doc? ( dev-ruby/rdoc )
ldap? ( dev-ruby/ruby-ldap )
shadow? ( dev-ruby/ruby-shadow )
sqlite3? ( dev-ruby/sqlite3 )
virtual/ruby-ssl"
# couchdb? ( dev-ruby/couchrest )
# mongrel? ( www-servers/mongrel )
# rack? ( >=dev-ruby/rack-1 )
# rails? (
# dev-ruby/rails
# >=dev-ruby/activerecord-2.1
# )
# stomp? ( dev-ruby/stomp )
DEPEND="${DEPEND}
emacs? ( virtual/emacs )
xemacs? ( app-editors/xemacs )
selinux? ( sec-policy/selinux-puppet )"
RDEPEND="${RDEPEND}
emacs? ( virtual/emacs )
xemacs? ( app-editors/xemacs )
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
selinux? (
sys-libs/libselinux[ruby]
sec-policy/selinux-puppet
)
>=app-portage/eix-0.18.0"
SITEFILE="50${PN}-mode-gentoo.el"
pkg_setup() {
enewgroup puppet
enewuser puppet -1 -1 /var/lib/puppet puppet
}
all_ruby_compile() {
all_fakegem_compile
if use emacs ; then
elisp-compile ext/emacs/puppet-mode.el
fi
if use xemacs ; then
# Create a separate version for xemacs to be able to install
# emacs and xemacs in parallel.
mkdir ext/xemacs
cp ext/emacs/* ext/xemacs/
xemacs-elisp-compile ext/xemacs/puppet-mode.el
fi
}
each_fakegem_install() {
${RUBY} install.rb --destdir="${D}" install
}
all_ruby_install() {
all_fakegem_install
newinitd "${FILESDIR}"/puppet.init puppet
doconfd conf/gentoo/conf.d/puppet
# Initial configuration files
insinto /etc/puppet
# Bug #338439
#doins conf/gentoo/puppet/*
doins conf/redhat/puppet.conf
# Location of log and data files
keepdir /var/{run,log}/puppet
fowners -R puppet:puppet /var/{run,log}/puppet
if use minimal ; then
rm "${ED}/usr/bin/puppetmasterd"
rm "${ED}/etc/puppet/auth.conf"
else
newinitd "${FILESDIR}"/puppetmaster-2.7.6.init puppetmaster
newconfd "${FILESDIR}"/puppetmaster-2.7.6.confd puppetmaster
insinto /etc/puppet
doins conf/redhat/fileserver.conf
keepdir /etc/puppet/manifests
keepdir /etc/puppet/modules
keepdir /var/lib/puppet/ssl
keepdir /var/lib/puppet/facts
keepdir /var/lib/puppet/files
fowners -R puppet:puppet /var/{run,log,lib}/puppet
fi
if use emacs ; then
elisp-install ${PN} ext/emacs/puppet-mode.el*
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
fi
if use xemacs ; then
xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el*
xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}"
fi
if use ldap ; then
insinto /etc/openldap/schema; doins ext/ldap/puppet.schema
fi
if use vim-syntax ; then
insinto /usr/share/vim/vimfiles/ftdetect; doins ext/vim/ftdetect/puppet.vim
insinto /usr/share/vim/vimfiles/syntax; doins ext/vim/syntax/puppet.vim
fi
# ext and examples files
for f in $(find ext examples -type f) ; do
docinto "$(dirname ${f})"; dodoc "${f}"
done
docinto conf; dodoc conf/namespaceauth.conf
}
pkg_postinst() {
elog
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
elog "cause puppet to hang while installing packages."
elog
elog "Puppet uses eix to get information about currently installed packages,"
elog "so please keep the eix metadata cache updated so puppet is able to properly"
elog "handle package installations."
elog
elog "Currently puppet only supports adding and removing services to the default"
elog "runlevel, if you want to add/remove a service from another runlevel you may"
elog "do so using symlinking."
elog
if [ \
-f "${EPREFIX}/etc/puppet/puppetd.conf" -o \
-f "${EPREFIX}/etc/puppet/puppetmaster.conf" -o \
-f "${EPREFIX}/etc/puppet/puppetca.conf" \
] ; then
elog
elog "Please remove deprecated config files."
elog " /etc/puppet/puppetca.conf"
elog " /etc/puppet/puppetd.conf"
elog " /etc/puppet/puppetmasterd.conf"
elog
fi
use emacs && elisp-site-regen
use xemacs && xemacs-elisp-site-regen
}
pkg_postrm() {
use emacs && elisp-site-regen
use xemacs && xemacs-elisp-site-regen
}

@ -1,177 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-2.7.12.ebuild,v 1.6 2012/11/06 22:55:56 tampakrap Exp $
EAPI="4"
# ruby19: dev-ruby/ruby-ldap has no ruby19
USE_RUBY="ruby18 ruby19 ree18"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_TASK_TEST="test"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG* README*"
inherit elisp-common xemacs-elisp-common eutils ruby-fakegem user
DESCRIPTION="A system automation and configuration management software"
HOMEPAGE="http://puppetlabs.com/"
LICENSE="Apache-2.0 GPL-2"
SLOT="0"
IUSE="augeas diff doc emacs ldap minimal rrdtool selinux shadow sqlite3 vim-syntax xemacs"
KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
ruby_add_rdepend "
>=dev-ruby/facter-1.5.6
augeas? ( dev-ruby/ruby-augeas )
diff? ( dev-ruby/diff-lcs )
doc? ( dev-ruby/rdoc )
ldap? ( dev-ruby/ruby-ldap )
shadow? ( dev-ruby/ruby-shadow )
sqlite3? ( dev-ruby/sqlite3 )
virtual/ruby-ssl"
# couchdb? ( dev-ruby/couchrest )
# mongrel? ( www-servers/mongrel )
# rack? ( >=dev-ruby/rack-1 )
# rails? (
# dev-ruby/rails
# >=dev-ruby/activerecord-2.1
# )
# stomp? ( dev-ruby/stomp )
DEPEND="${DEPEND}
emacs? ( virtual/emacs )
xemacs? ( app-editors/xemacs )
selinux? ( sec-policy/selinux-puppet )"
RDEPEND="${RDEPEND}
emacs? ( virtual/emacs )
xemacs? ( app-editors/xemacs )
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
selinux? (
sys-libs/libselinux[ruby]
sec-policy/selinux-puppet
)
>=app-portage/eix-0.18.0"
SITEFILE="50${PN}-mode-gentoo.el"
pkg_setup() {
enewgroup puppet
enewuser puppet -1 -1 /var/lib/puppet puppet
}
all_ruby_compile() {
all_fakegem_compile
if use emacs ; then
elisp-compile ext/emacs/puppet-mode.el
fi
if use xemacs ; then
# Create a separate version for xemacs to be able to install
# emacs and xemacs in parallel.
mkdir ext/xemacs
cp ext/emacs/* ext/xemacs/
xemacs-elisp-compile ext/xemacs/puppet-mode.el
fi
}
each_fakegem_install() {
${RUBY} install.rb --destdir="${D}" install
}
all_ruby_install() {
all_fakegem_install
newinitd "${FILESDIR}"/puppet.init puppet
doconfd conf/gentoo/conf.d/puppet
# Initial configuration files
insinto /etc/puppet
# Bug #338439
#doins conf/gentoo/puppet/*
doins conf/redhat/puppet.conf
# Location of log and data files
keepdir /var/{run,log}/puppet
fowners -R puppet:puppet /var/{run,log}/puppet
if use minimal ; then
rm "${ED}/usr/bin/puppetmasterd"
rm "${ED}/etc/puppet/auth.conf"
else
newinitd "${FILESDIR}"/puppetmaster-2.7.6.init puppetmaster
newconfd "${FILESDIR}"/puppetmaster-2.7.6.confd puppetmaster
insinto /etc/puppet
doins conf/redhat/fileserver.conf
keepdir /etc/puppet/manifests
keepdir /etc/puppet/modules
keepdir /var/lib/puppet/ssl
keepdir /var/lib/puppet/facts
keepdir /var/lib/puppet/files
fowners -R puppet:puppet /var/{run,log,lib}/puppet
fi
if use emacs ; then
elisp-install ${PN} ext/emacs/puppet-mode.el*
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
fi
if use xemacs ; then
xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el*
xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}"
fi
if use ldap ; then
insinto /etc/openldap/schema; doins ext/ldap/puppet.schema
fi
if use vim-syntax ; then
insinto /usr/share/vim/vimfiles/ftdetect; doins ext/vim/ftdetect/puppet.vim
insinto /usr/share/vim/vimfiles/syntax; doins ext/vim/syntax/puppet.vim
fi
# ext and examples files
for f in $(find ext examples -type f) ; do
docinto "$(dirname ${f})"; dodoc "${f}"
done
docinto conf; dodoc conf/namespaceauth.conf
}
pkg_postinst() {
elog
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
elog "cause puppet to hang while installing packages."
elog
elog "Puppet uses eix to get information about currently installed packages,"
elog "so please keep the eix metadata cache updated so puppet is able to properly"
elog "handle package installations."
elog
elog "Currently puppet only supports adding and removing services to the default"
elog "runlevel, if you want to add/remove a service from another runlevel you may"
elog "do so using symlinking."
elog
if [ \
-f "${EPREFIX}/etc/puppet/puppetd.conf" -o \
-f "${EPREFIX}/etc/puppet/puppetmaster.conf" -o \
-f "${EPREFIX}/etc/puppet/puppetca.conf" \
] ; then
elog
elog "Please remove deprecated config files."
elog " /etc/puppet/puppetca.conf"
elog " /etc/puppet/puppetd.conf"
elog " /etc/puppet/puppetmasterd.conf"
elog
fi
use emacs && elisp-site-regen
use xemacs && xemacs-elisp-site-regen
}
pkg_postrm() {
use emacs && elisp-site-regen
use xemacs && xemacs-elisp-site-regen
}

@ -1,178 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-2.7.13.ebuild,v 1.12 2012/11/06 22:55:56 tampakrap Exp $
EAPI="4"
# ruby19: dev-ruby/ruby-ldap has no ruby19
#USE_RUBY="ruby18 ruby19 ree18"
USE_RUBY="ruby18"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_TASK_TEST="test"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG* README*"
inherit elisp-common xemacs-elisp-common eutils ruby-fakegem user
DESCRIPTION="A system automation and configuration management software"
HOMEPAGE="http://puppetlabs.com/"
LICENSE="Apache-2.0 GPL-2"
SLOT="0"
IUSE="augeas diff doc emacs ldap minimal rrdtool selinux shadow sqlite3 vim-syntax xemacs"
KEYWORDS="amd64 hppa ppc sparc x86"
ruby_add_rdepend "
>=dev-ruby/facter-1.5.6
augeas? ( dev-ruby/ruby-augeas )
diff? ( dev-ruby/diff-lcs )
doc? ( dev-ruby/rdoc )
ldap? ( dev-ruby/ruby-ldap )
shadow? ( dev-ruby/ruby-shadow )
sqlite3? ( dev-ruby/sqlite3 )
virtual/ruby-ssl"
# couchdb? ( dev-ruby/couchrest )
# mongrel? ( www-servers/mongrel )
# rack? ( >=dev-ruby/rack-1 )
# rails? (
# dev-ruby/rails
# >=dev-ruby/activerecord-2.1
# )
# stomp? ( dev-ruby/stomp )
DEPEND="${DEPEND}
emacs? ( virtual/emacs )
xemacs? ( app-editors/xemacs )
selinux? ( sec-policy/selinux-puppet )"
RDEPEND="${RDEPEND}
emacs? ( virtual/emacs )
xemacs? ( app-editors/xemacs )
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
selinux? (
sys-libs/libselinux[ruby]
sec-policy/selinux-puppet
)
>=app-portage/eix-0.18.0"
SITEFILE="50${PN}-mode-gentoo.el"
pkg_setup() {
enewgroup puppet
enewuser puppet -1 -1 /var/lib/puppet puppet
}
all_ruby_compile() {
all_fakegem_compile
if use emacs ; then
elisp-compile ext/emacs/puppet-mode.el
fi
if use xemacs ; then
# Create a separate version for xemacs to be able to install
# emacs and xemacs in parallel.
mkdir ext/xemacs
cp ext/emacs/* ext/xemacs/
xemacs-elisp-compile ext/xemacs/puppet-mode.el
fi
}
each_fakegem_install() {
${RUBY} install.rb --destdir="${D}" install
}
all_ruby_install() {
all_fakegem_install
newinitd "${FILESDIR}"/puppet.init puppet
doconfd conf/gentoo/conf.d/puppet
# Initial configuration files
insinto /etc/puppet
# Bug #338439
#doins conf/gentoo/puppet/*
doins conf/redhat/puppet.conf
# Location of log and data files
keepdir /var/{run,log}/puppet
fowners -R puppet:puppet /var/{run,log}/puppet
if use minimal ; then
rm "${ED}/usr/bin/puppetmasterd"
rm "${ED}/etc/puppet/auth.conf"
else
newinitd "${FILESDIR}"/puppetmaster-2.7.6.init puppetmaster
newconfd "${FILESDIR}"/puppetmaster-2.7.6.confd puppetmaster
insinto /etc/puppet
doins conf/redhat/fileserver.conf
keepdir /etc/puppet/manifests
keepdir /etc/puppet/modules
keepdir /var/lib/puppet/ssl
keepdir /var/lib/puppet/facts
keepdir /var/lib/puppet/files
fowners -R puppet:puppet /var/{run,log,lib}/puppet
fi
if use emacs ; then
elisp-install ${PN} ext/emacs/puppet-mode.el*
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
fi
if use xemacs ; then
xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el*
xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}"
fi
if use ldap ; then
insinto /etc/openldap/schema; doins ext/ldap/puppet.schema
fi
if use vim-syntax ; then
insinto /usr/share/vim/vimfiles/ftdetect; doins ext/vim/ftdetect/puppet.vim
insinto /usr/share/vim/vimfiles/syntax; doins ext/vim/syntax/puppet.vim
fi
# ext and examples files
for f in $(find ext examples -type f) ; do
docinto "$(dirname ${f})"; dodoc "${f}"
done
docinto conf; dodoc conf/namespaceauth.conf
}
pkg_postinst() {
elog
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
elog "cause puppet to hang while installing packages."
elog
elog "Puppet uses eix to get information about currently installed packages,"
elog "so please keep the eix metadata cache updated so puppet is able to properly"
elog "handle package installations."
elog
elog "Currently puppet only supports adding and removing services to the default"
elog "runlevel, if you want to add/remove a service from another runlevel you may"
elog "do so using symlinking."
elog
if [ \
-f "${EPREFIX}/etc/puppet/puppetd.conf" -o \
-f "${EPREFIX}/etc/puppet/puppetmaster.conf" -o \
-f "${EPREFIX}/etc/puppet/puppetca.conf" \
] ; then
elog
elog "Please remove deprecated config files."
elog " /etc/puppet/puppetca.conf"
elog " /etc/puppet/puppetd.conf"
elog " /etc/puppet/puppetmasterd.conf"
elog
fi
use emacs && elisp-site-regen
use xemacs && xemacs-elisp-site-regen
}
pkg_postrm() {
use emacs && elisp-site-regen
use xemacs && xemacs-elisp-site-regen
}

@ -1,180 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-2.7.18-r1.ebuild,v 1.2 2012/11/06 10:04:44 graaff Exp $
EAPI="4"
USE_RUBY="ruby18 ruby19"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_TASK_TEST="test"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG* README*"
inherit elisp-common xemacs-elisp-common eutils ruby-fakegem user
DESCRIPTION="A system automation and configuration management software"
HOMEPAGE="http://puppetlabs.com/"
LICENSE="Apache-2.0 GPL-2"
SLOT="0"
IUSE="augeas diff doc emacs ldap minimal rrdtool selinux shadow sqlite3 vim-syntax xemacs"
KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
ruby_add_rdepend "
>=dev-ruby/facter-1.5.6
augeas? ( dev-ruby/ruby-augeas )
diff? ( dev-ruby/diff-lcs )
doc? ( dev-ruby/rdoc )
ldap? ( dev-ruby/ruby-ldap )
shadow? ( dev-ruby/ruby-shadow )
sqlite3? ( dev-ruby/sqlite3 )
virtual/ruby-ssl"
# couchdb? ( dev-ruby/couchrest )
# mongrel? ( www-servers/mongrel )
# rack? ( >=dev-ruby/rack-1 )
# rails? (
# dev-ruby/rails
# >=dev-ruby/activerecord-2.1
# )
# stomp? ( dev-ruby/stomp )
DEPEND="${DEPEND}
emacs? ( virtual/emacs )
xemacs? ( app-editors/xemacs )
selinux? ( sec-policy/selinux-puppet )"
RDEPEND="${RDEPEND}
emacs? ( virtual/emacs )
xemacs? ( app-editors/xemacs )
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
selinux? (
sys-libs/libselinux[ruby]
sec-policy/selinux-puppet
)
>=app-portage/eix-0.18.0"
SITEFILE="50${PN}-mode-gentoo.el"
RUBY_PATCHES=(
"${P}-eix_fix.patch"
)
pkg_setup() {
enewgroup puppet
enewuser puppet -1 -1 /var/lib/puppet puppet
}
all_ruby_compile() {
all_fakegem_compile
if use emacs ; then
elisp-compile ext/emacs/puppet-mode.el
fi
if use xemacs ; then
# Create a separate version for xemacs to be able to install
# emacs and xemacs in parallel.
mkdir ext/xemacs
cp ext/emacs/* ext/xemacs/
xemacs-elisp-compile ext/xemacs/puppet-mode.el
fi
}
each_fakegem_install() {
${RUBY} install.rb --destdir="${D}" install
}
all_ruby_install() {
all_fakegem_install
newinitd "${FILESDIR}"/puppet.init puppet
doconfd conf/gentoo/conf.d/puppet
# Initial configuration files
insinto /etc/puppet
# Bug #338439
#doins conf/gentoo/puppet/*
doins conf/redhat/puppet.conf
# Location of log and data files
keepdir /var/{run,log}/puppet
fowners -R puppet:puppet /var/{run,log}/puppet
if use minimal ; then
rm "${ED}/usr/bin/puppetmasterd"
rm "${ED}/etc/puppet/auth.conf"
else
newinitd "${FILESDIR}"/puppetmaster-2.7.6.init puppetmaster
newconfd "${FILESDIR}"/puppetmaster-2.7.6.confd puppetmaster
insinto /etc/puppet
doins conf/redhat/fileserver.conf
keepdir /etc/puppet/manifests
keepdir /etc/puppet/modules
keepdir /var/lib/puppet/ssl
keepdir /var/lib/puppet/facts
keepdir /var/lib/puppet/files
fowners -R puppet:puppet /var/{run,log,lib}/puppet
fi
if use emacs ; then
elisp-install ${PN} ext/emacs/puppet-mode.el*
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
fi
if use xemacs ; then
xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el*
xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}"
fi
if use ldap ; then
insinto /etc/openldap/schema; doins ext/ldap/puppet.schema
fi
if use vim-syntax ; then
insinto /usr/share/vim/vimfiles/ftdetect; doins ext/vim/ftdetect/puppet.vim
insinto /usr/share/vim/vimfiles/syntax; doins ext/vim/syntax/puppet.vim
fi
# ext and examples files
for f in $(find ext examples -type f) ; do
docinto "$(dirname ${f})"; dodoc "${f}"
done
docinto conf; dodoc conf/namespaceauth.conf
}
pkg_postinst() {
elog
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
elog "cause puppet to hang while installing packages."
elog
elog "Puppet uses eix to get information about currently installed packages,"
elog "so please keep the eix metadata cache updated so puppet is able to properly"
elog "handle package installations."
elog
elog "Currently puppet only supports adding and removing services to the default"
elog "runlevel, if you want to add/remove a service from another runlevel you may"
elog "do so using symlinking."
elog
if [ \
-f "${EPREFIX}/etc/puppet/puppetd.conf" -o \
-f "${EPREFIX}/etc/puppet/puppetmaster.conf" -o \
-f "${EPREFIX}/etc/puppet/puppetca.conf" \
] ; then
elog
elog "Please remove deprecated config files."
elog " /etc/puppet/puppetca.conf"
elog " /etc/puppet/puppetd.conf"
elog " /etc/puppet/puppetmasterd.conf"
elog
fi
use emacs && elisp-site-regen
use xemacs && xemacs-elisp-site-regen
}
pkg_postrm() {
use emacs && elisp-site-regen
use xemacs && xemacs-elisp-site-regen
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-3.0.1.ebuild,v 1.10 2012/12/31 16:16:32 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-3.0.1.ebuild,v 1.11 2013/02/03 13:01:38 prometheanfire Exp $
EAPI="4"

@ -2,7 +2,8 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>tester@gentoo.org</email>
<email>xmw@gentoo.org</email>
<name>Michael Weber</name>
</maintainer>
<longdescription lang="en">
tmpreaper is a program that can be used to clean out temporary-file

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/file-roller/file-roller-3.6.2.ebuild,v 1.6 2013/01/06 09:12:09 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-arch/file-roller/file-roller-3.6.2.ebuild,v 1.7 2013/02/02 22:20:32 ago Exp $
EAPI="5"
GCONF_DEBUG="no"
@ -14,7 +14,7 @@ HOMEPAGE="http://fileroller.sourceforge.net/"
LICENSE="GPL-2+ CCPL-Attribution-ShareAlike-3.0"
SLOT="0"
IUSE="nautilus packagekit"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
# gdk-pixbuf used extensively in the source
# cairo used in eggtreemultidnd.c

@ -2,7 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>matsuu@gentoo.org</email>
<email>maintainer-needed@gentoo.org</email>
</maintainer>
<longdescription>UPX is a versatile executable packer with a excellent
compression ratio.</longdescription>

@ -1,31 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/upx-bin/upx-bin-3.07.ebuild,v 1.1 2011/01/06 03:21:52 vapier Exp $
MY_P="${PN/-bin}-${PV}"
DESCRIPTION="Ultimate Packer for eXecutables (binary version with proprietary NRV compression)"
HOMEPAGE="http://upx.sourceforge.net/"
SRC_URI="x86? ( http://upx.sourceforge.net/download/${MY_P}-i386_linux.tar.bz2 )
amd64? ( http://upx.sourceforge.net/download/${MY_P}-amd64_linux.tar.bz2 )
ppc? ( http://upx.sourceforge.net/download/${MY_P}-powerpc_linux.tar.bz2 )
arm? ( http://upx.sourceforge.net/download/${MY_P}-armeb_linux.tar.bz2 )
mips? ( http://upx.sourceforge.net/download/${MY_P}-mipsel_linux.tar.bz2 )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
RESTRICT="strip"
RDEPEND="!app-arch/upx-ucl"
S=${WORKDIR}
src_install() {
cd ${MY_P}*
into /opt
dobin upx || die
doman upx.1 || die
dodoc upx.doc BUGS NEWS README* THANKS TODO
dohtml upx.html || die
}

@ -1,5 +1,3 @@
DIST dar-2.3.11.tar.gz 1402923 SHA256 2df261d9ba49be5df1a6c1718ca940972c52ae94ef2f517de764a26fdc21c104 SHA512 d5c6d3d8b20b6c110367c3b16c02833b76264e34662627550e2fe6adfb2b95246f7e5b1e1027e077299ee71f68f6810dd7c1000cc04b89afaa36ba2e5211e7e7 WHIRLPOOL 77753ecf1f36f2357ec2577626ba0f4ff9fe5ed4f22ec6a3b1f8e02b33a81eb5d6ecb31637c1be3d16555c0a206bdd00c7ac40586c80fbe85721a49e60cb82a6
DIST dar-2.3.8.tar.gz 1195944 SHA256 ae0b03440a218e674cbfdd0c3b3c419b5a628db616c8d3a06e70ef496dda25d3 SHA512 7815e587898973b6360a788c1851d6c66617bbc88f615f0575a39e737486218b11c44662332e24305a40e2f4dd33794c3aa77691a27c25c0ec50043cc4fc3a18 WHIRLPOOL fc9a4fcc7cf5c61d708109e708845db244ebcd01d084cb5d1dc50d42a039d66178cdcfeb41ca5005f16d5eff48fc2cacb8bb811c3dcbe3a7d66b7002a8f30e9d
DIST dar-2.3.9.tar.gz 1213917 SHA256 cc1b4c352205b79562307ad066cee1191c67df550b55008028d6e3c9b899ea0c SHA512 1cfba7d0ef8c579377187311a18c3dd26ebc9a6885ee9876898e7fbc0545d8fc7f2050f861772681c049399f334ef6bea517f4f3fd07f642fae6cc71abaced56 WHIRLPOOL 69dabc8de41ea45ff4dd9707b19b007eee4b825e4a6d6ed22d73a4353bdeeb1df75df37850a0c95af273e1fab9613e8a09e036f8e1726e471750ba54e15f86a8
DIST dar-2.4.0.tar.gz 1735263 SHA256 ffd40a712ecbd5914e38fbb4c47b9b28521eff8ca3490ab8256ed14ef58f84a7 SHA512 3551d14c4e61799f1bad8d381873c7aa6ede959d43b449d30a80bc7a19cb0773b50895707b5ed0bae2fb01a5b379dc9a47960d35746a0928b6aec74fa83c895e WHIRLPOOL d15ec73a28d5141aa2faa2cb38fa848040c692cd07bf9d6850f64e25c5513dc1f3e5d981816c8bc20358f0d38e5168ff7dac49aaaa1e6816b53d87e9a8fc10c1
DIST dar-2.4.2.tar.gz 1741695 SHA256 38fe1b324550d856fb58684a7e471d00afabeee54cf97ed7ae9c3cc67af26c33 SHA512 9c5c1dd7b562571744f3ebdf13d951053b9122679b9f82b5c424d6978cc45993d23304fb79a044063e3d711a4db46c804873cc3d92702c542fbe804d246cb896 WHIRLPOOL ec4d3097d41f7207df94889f4d2b46d7e716e24540942372008fbab6e01dd6617385cccef34e71665d710751b52a8da783ed17d616f86fd2a5597e79b36927d0
DIST dar-2.4.9.tar.gz 1751738 SHA256 3d11159a290886dde968e16d36f32fa8640029708457bc87cc0da6d0eac71643 SHA512 9a9b972599747493694fd838bafaa690e70490b5c500f084f0d0225e93a54ce40d61bc495827519c88f6a94542b88a1be5d11e5a98e672abe8659364d1b4c51f WHIRLPOOL f700bf7bd393e6dc2cce11e7bc56af0f130ea3fb714de04617a940ec15d6174c06b7a1051eb9c6ffa7a0ec686b1f13c288af1b541d49b332932743d0d617b56b

@ -1,64 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/dar/dar-2.3.11.ebuild,v 1.2 2011/06/07 23:34:19 matsuu Exp $
EAPI="3"
inherit confutils flag-o-matic
DESCRIPTION="A full featured backup tool, aimed for disks (floppy,CDR(W),DVDR(W),zip,jazz etc.)"
HOMEPAGE="http://dar.linux.free.fr/"
SRC_URI="mirror://sourceforge/dar/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="acl dar32 dar64 doc nls ssl static static-libs"
RDEPEND=">=sys-libs/zlib-1.2.3
>=app-arch/bzip2-1.0.2
acl? (
static? ( sys-apps/attr[static-libs] )
!static? ( sys-apps/attr )
)
nls? ( virtual/libintl )
ssl? ( dev-libs/openssl )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
doc? ( app-doc/doxygen )"
pkg_setup() {
confutils_use_conflict dar32 dar64
}
src_configure() {
local myconf="--disable-upx"
# Bug 103741
filter-flags -fomit-frame-pointer
use acl || myconf="${myconf} --disable-ea-support"
use dar32 && myconf="${myconf} --enable-mode=32"
use dar64 && myconf="${myconf} --enable-mode=64"
use doc || myconf="${myconf} --disable-build-html"
# use examples && myconf="${myconf} --enable-examples"
use nls || myconf="${myconf} --disable-nls"
use ssl || myconf="${myconf} --disable-libcrypto-linking"
if ! use static ; then
myconf="${myconf} --disable-dar-static"
if ! use static-libs ; then
myconf="${myconf} --disable-static"
fi
fi
econf ${myconf} || die
}
src_install() {
emake DESTDIR="${D}" pkgdatadir=/usr/share/doc/${PF}/html install || die
if ! use static-libs ; then
find "${ED}" "(" -name '*.la' -o -name '*.a' ")" -delete || die
fi
dodoc AUTHORS ChangeLog NEWS README THANKS TODO || die
}

@ -1,63 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/dar/dar-2.3.9.ebuild,v 1.1 2009/05/22 16:34:24 matsuu Exp $
inherit flag-o-matic
DESCRIPTION="A full featured backup tool, aimed for disks (floppy,CDR(W),DVDR(W),zip,jazz etc.)"
HOMEPAGE="http://dar.linux.free.fr/"
SRC_URI="mirror://sourceforge/dar/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="acl dar32 dar64 doc nls ssl"
RDEPEND=">=sys-libs/zlib-1.2.3
>=app-arch/bzip2-1.0.2
acl? ( sys-apps/attr )
nls? ( virtual/libintl )
ssl? ( dev-libs/openssl )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
doc? ( app-doc/doxygen )"
pkg_setup() {
if use dar32 && use dar64 ; then
eerror "dar32 and dar64 cannot be enabled together."
eerror "Please remove one of them and try the emerge again."
die "Please remove dar32 or dar64."
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
sed -i -e '/^dist_noinst_DATA/s/$/ macro_tools.hpp/' \
-e '/^noinst_HEADERS/s/macro_tools.hpp//' \
src/libdar/Makefile* || die
}
src_compile() {
local myconf="--disable-upx"
# Bug 103741
filter-flags -fomit-frame-pointer
use acl || myconf="${myconf} --disable-ea-support"
use dar32 && myconf="${myconf} --enable-mode=32"
use dar64 && myconf="${myconf} --enable-mode=64"
use doc || myconf="${myconf} --disable-build-html"
# use examples && myconf="${myconf} --enable-examples"
use nls || myconf="${myconf} --disable-nls"
use ssl || myconf="${myconf} --disable-libcrypto-linking"
econf ${myconf} || die
emake || die
}
src_install() {
emake DESTDIR="${D}" pkgdatadir=/usr/share/doc/${PF}/html install || die
dodoc AUTHORS ChangeLog NEWS README THANKS TODO
}

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/dar/dar-2.4.0.ebuild,v 1.1 2011/06/07 23:34:19 matsuu Exp $
# $Header: /var/cvsroot/gentoo-x86/app-backup/dar/dar-2.4.9.ebuild,v 1.1 2013/02/03 16:15:11 rich0 Exp $
EAPI="3"
inherit confutils eutils flag-o-matic
@ -11,21 +11,22 @@ SRC_URI="mirror://sourceforge/dar/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux"
IUSE="acl dar32 dar64 doc gcrypt lzo nls static static-libs"
RESTRICT="test" # need to be run as root
RDEPEND=">=sys-libs/zlib-1.2.3
>=app-arch/bzip2-1.0.2
acl? (
static? ( sys-apps/attr[static-libs] )
!static? ( sys-apps/attr )
)
!static? ( app-arch/bzip2 )
acl? ( !static? ( sys-apps/attr ) )
gcrypt? ( dev-libs/libgcrypt )
lzo? ( dev-libs/lzo )
lzo? ( !static? ( dev-libs/lzo ) )
nls? ( virtual/libintl )"
DEPEND="${RDEPEND}
static? ( app-arch/bzip2[static-libs] )
static? ( sys-libs/zlib[static-libs] )
acl? ( static? ( sys-apps/attr[static-libs] ) )
lzo? ( static? ( dev-libs/lzo[static-libs] ) )
nls? ( sys-devel/gettext )
doc? ( app-doc/doxygen )"
@ -33,10 +34,6 @@ pkg_setup() {
confutils_use_conflict dar32 dar64
}
src_prepare() {
epatch "${FILESDIR}/${P}-gcc.patch"
}
src_configure() {
local myconf="--disable-upx"
@ -62,7 +59,7 @@ src_configure() {
}
src_install() {
emake DESTDIR="${D}" pkgdatadir=/usr/share/doc/${PF}/html install || die
emake DESTDIR="${D}" pkgdatadir="${EPREFIX}"/usr/share/doc/${PF}/html install || die
if ! use static-libs ; then
find "${ED}" "(" -name '*.la' -o -name '*.a' ")" -delete || die

@ -1,17 +0,0 @@
diff -Naur dar-2.4.0.orig/src/check/all_features.cpp dar-2.4.0/src/check/all_features.cpp
--- dar-2.4.0.orig/src/check/all_features.cpp 2011-04-01 04:21:02.000000000 +0900
+++ dar-2.4.0/src/check/all_features.cpp 2011-06-07 09:03:47.772855768 +0900
@@ -25,6 +25,13 @@
#include "../my_config.h"
+extern "C"
+{
+#if HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+}
+
#include "libdar.hpp"
using namespace libdar;

@ -2,8 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>matsuu@gentoo.org</email>
<name>MATSUU Takuto</name>
<email>rich0@gentoo.org</email>
</maintainer>
<longdescription>
Backup directory tree and files.

@ -2,8 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>matsuu@gentoo.org</email>
<name>MATSUU Takuto</name>
<email>maintainer-needed@gentoo.org</email>
</maintainer>
<longdescription>
pdumpfs is a simple daily backup system similar to Plan9's dumpfs which

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart2/bootchart2-0.14.5.ebuild,v 1.6 2013/01/06 09:12:29 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart2/bootchart2-0.14.5.ebuild,v 1.7 2013/02/02 22:20:52 ago Exp $
EAPI=4
@ -16,7 +16,7 @@ SRC_URI="mirror://github/mmeeks/bootchart/${P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="svg"
RDEPEND="

@ -2,7 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>leio@gentoo.org</email>
<email>maintainer-needed@gentoo.org</email>
</maintainer>
<longdescription lang="en">
GtkPerf is an application designed to test GTK+ performance. The point

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/coolkey/coolkey-1.1.0-r5.ebuild,v 1.4 2013/01/06 09:13:08 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/coolkey/coolkey-1.1.0-r5.ebuild,v 1.5 2013/02/02 22:21:12 ago Exp $
EAPI=3
@ -15,7 +15,7 @@ SRC_URI="http://directory.fedora.redhat.com/download/coolkey/${P}.tar.gz
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="debug"
RDEPEND=">=sys-apps/pcsc-lite-1.6.4

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/easy-rsa/easy-rsa-2.2.0.ebuild,v 1.3 2013/01/24 15:44:56 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/easy-rsa/easy-rsa-2.2.0.ebuild,v 1.4 2013/02/03 19:34:05 ago Exp $
EAPI=4
@ -8,7 +8,7 @@ inherit eutils multilib toolchain-funcs flag-o-matic
DESCRIPTION="Small RSA key management package, based on OpenSSL."
HOMEPAGE="http://openvpn.net/"
KEYWORDS="~amd64 ~hppa ~x86"
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
SRC_URI="http://swupdate.openvpn.net/community/releases/${P}_master.tar.gz"
LICENSE="GPL-2"

@ -0,0 +1,59 @@
From 0176793f19a368c3786c231042b87c3a2ef3de2b Mon Sep 17 00:00:00 2001
From: Alon Bar-Lev <alon.barlev@gmail.com>
Date: Sun, 3 Feb 2013 00:40:57 +0200
Subject: [PATCH] build: detect ncurses using pkg-config
---
configure.ac | 32 ++++++++++++++++++++------------
1 file changed, 20 insertions(+), 12 deletions(-)
diff --git a/configure.ac b/configure.ac
index a551913..a84680f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10,22 +10,30 @@ AC_CONFIG_HEADERS([config.h])
# Checks for programs.
AC_PROG_CC
+PKG_PROG_PKG_CONFIG
# Checks for libraries.
-# Check for ncurses. If we find the library then we check to see if it's
-# in a ncurses directory inside the include directory.
-# The assumption is made in the source code that panel.h will be in the same place
-AC_CHECK_LIB([ncurses], [delscreen], [
- LIBS="-lncurses $LIBS"
- AC_CHECK_HEADERS(ncurses.h,, [
- AC_CHECK_HEADERS(ncurses/ncurses.h, [
- AC_DEFINE([NCURSES_IN_SUBDIR], [ncurses/], [Look for ncurses headers in subdir])
- ], [AC_MSG_ERROR([ncurses headers not found])])
- ])
- ], [AC_MSG_ERROR([ncurses development library not found])]
+PKG_CHECK_MODULES(
+ [PANEL],
+ [panel],
+ [
+ CFLAGS="${CFLAGS} ${PANEL_CFLAGS}"
+ LIBS="${LIBS} ${PANEL_LIBS}"
+ ],
+ [
+ AC_CHECK_LIB([ncurses], [delscreen], [
+ LIBS="-lncurses $LIBS"
+ AC_CHECK_HEADERS(ncurses.h,, [
+ AC_CHECK_HEADERS(ncurses/ncurses.h, [
+ AC_DEFINE([NCURSES_IN_SUBDIR], [ncurses/], [Look for ncurses headers in subdir])
+ ], [AC_MSG_ERROR([ncurses headers not found])])
+ ])
+ ], [AC_MSG_ERROR([ncurses development library not found])]
+ )
+ AC_CHECK_LIB([panel], [main], ,[AC_MSG_ERROR([ncurses panel library not found])])
+ ]
)
-AC_CHECK_LIB([panel], [main], ,[AC_MSG_ERROR([ncurses panel library not found])])
AC_CHECK_LIB([parted], [ped_device_probe_all], ,[AC_MSG_ERROR([parted development library not found])])
AC_CHECK_LIB([pthread], [main], ,[AC_MSG_ERROR([pthread development library not found])])
--
1.7.12.4

@ -0,0 +1,28 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/nwipe/nwipe-0.12-r1.ebuild,v 1.1 2013/02/02 22:59:24 alonbl Exp $
EAPI=5
inherit eutils autotools
DESCRIPTION="Securely erase disks using a variety of recognized methods"
HOMEPAGE="http://sourceforge.net/projects/nwipe/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=sys-block/parted-2.3
>=sys-libs/ncurses-5.7-r7"
DEPEND="${RDEPEND}
virtual/pkgconfig"
DOCS="README"
src_prepare() {
epatch "${FILESDIR}/${P}-ncurses.patch"
eautoreconf
}

@ -1,2 +1,3 @@
DIST oclHashcat-lite-0.10.7z 2478892 SHA256 4d4d668981c249e4a7dff139f0952794300ac1d6dac6b9cd355a90928af98b78 SHA512 22768b09d7d0157aafdcbed7be4ac22611b30e4bd1e7eb936b45ffd0988bea78b1d2932cdae8a40ebbe82be7b29c4d7a63f69c5743648edb0f9c72fd0de46842 WHIRLPOOL 4faa59a57771f2d5729d82530e97f3b6523d98dbbfc4f9662298a5aafe7ed96630856786c83e7a71ecab34361326a170c132d64a281082a8ee7287f8a920a07e
DIST oclHashcat-lite-0.13.7z 2728439 SHA256 5d62b4ae1207b0de6f43a4a6da1fc54bb36c72feeb7825a499df5d534c6b4258 SHA512 17622edc4aa9df1b809a1f235130f8f3ec92664a2fc800fdd288af7d56719613b667b972263e8b7de16fe161fd611b08e9029e78368e699d542997f2b1b1bd56 WHIRLPOOL 4c991f9b501be938e17c2393abeac25f42a7d74aa7290c3e09b34f592baf42facc5688b38285ff06782db6f0120e8cf1dbf31b96219dc310ed4692ed60ee128e
DIST oclHashcat-lite-0.14.7z 2967901 SHA256 faec3c48c1ee9adde97d4f5efad17bb36ce4e69b495eeed80ae89d6faf9db551 SHA512 71fd31947208df6cd1ce26d64b0b68191d479a8142cde936eafe4c256e11905ab955a238a93393f3cf5865c75729d13bb0d496da9109c5f644e326331dca9b08 WHIRLPOOL 4c6972b5c993debbd1590fa0b4fdc59ba409cc9bcee05de2112cf4c79a74bf67c63e5a5abf70047fe0ae4cb1d6f23a57b83b84f3f1ac34e8247e9542da1d7881

@ -0,0 +1,107 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-lite-bin/oclhashcat-lite-bin-0.14.ebuild,v 1.1 2013/02/03 02:00:57 zerochaos Exp $
EAPI=5
inherit eutils pax-utils
DESCRIPTION="An opencl hash cracker"
HOMEPAGE="http://hashcat.net/oclhashcat-lite/"
MY_P="oclHashcat-lite-${PV}"
SRC_URI="http://hashcat.net/files/${MY_P}.7z"
#license applies to this version per http://hashcat.net/forum/thread-1348.html
LICENSE="hashcat"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE_VIDEO_CARDS="video_cards_fglrx
video_cards_nvidia"
IUSE="${IUSE_VIDEO_CARDS}"
RDEPEND="sys-libs/zlib
video_cards_nvidia? ( >=x11-drivers/nvidia-drivers-310.32 )
video_cards_fglrx? ( =x11-drivers/ati-drivers-13.1 )"
DEPEND="${RDEPEND}
app-arch/p7zip"
S="${WORKDIR}/${MY_P}"
RESTRICT="strip"
QA_PREBUILT="*Hashcat-lite*.bin"
src_install() {
dodoc docs/*
rm -rf *.exe docs || die
if use x86; then
rm oclHashcat-lite64.bin || die
rm cudaHashcat-lite64.bin || die
fi
if use amd64; then
rm oclHashcat-lite32.bin || die
rm cudaHashcat-lite32.bin || die
fi
if ! use video_cards_fglrx; then
rm -r kernels/4098 || die
rm oclHashcat-lite*.bin || die
fi
if ! use video_cards_nvidia; then
rm -r kernels/4318 || die
rm cudaHashcat-lite*.bin || die
fi
#I assume this is needed but I didn't check
pax-mark m *Hashcat-lite*.bin
insinto /opt/${PN}
doins -r "${S}"/*
dodir /opt/bin
cat <<-EOF > "${ED}"/opt/bin/oclhashcat-lite
#! /bin/sh
echo "oclHashcat-lite and all related files have been installed in /opt/${PN}"
echo "Please run one of the following binaries to use gpu accelerated hashcat:"
EOF
for x in oclHashcat-lite64.bin oclHashcat-lite32.bin cudaHashcat-lite64.bin cudaHashcat-lite32.bin
do
if [ -f "${ED}"/opt/${PN}/${x} ]
then
case "${x}" in
oclHashcat-lite64.bin)
echo "echo '64 bit ATI accelerated \"oclHashcat-lite64.bin\"'" >> "${ED}"/opt/bin/oclhashcat-lite
;;
oclHashcat-lite32.bin)
echo "echo '32 bit ATI accelerated \"oclHashcat-lite32.bin\"'" >> "${ED}"/opt/bin/oclhashcat-lite
;;
cudaHashcat-lite64.bin)
echo "echo '64 bit NVIDIA accelerated \"cudaHashcat-lite64.bin\"'" >> "${ED}"/opt/bin/oclhashcat-lite
;;
cudaHashcat-lite32.bin)
echo "echo '32 bit NVIDIA accelerated \"cudaHashcat-lite32.bin\"'" >> "${ED}"/opt/bin/oclhashcat-lite
;;
esac
fperms +x /opt/${PN}/${x}
cat <<-EOF > "${ED}"/opt/bin/${x}
#! /bin/sh
cd /opt/${PN}
echo "Warning: ${x} is running from /opt/${PN} so be careful of relative paths."
exec ./${x} "\$@"
EOF
fperms +x /opt/bin/${x}
fi
done
fperms +x /opt/bin/oclhashcat-lite
fowners root:video /opt/${PN}
touch "${ED}"/opt/${PN}/eula.accepted
fperms 0660 /opt/${PN}/eula.accepted
einfo "oclhashcat-lite can be run as user if you are in the video group"
}

@ -2,3 +2,4 @@ DIST oclHashcat-plus-0.081-32.7z 19358773 SHA256 2b293e19dc87e969eea4e1b75055b79
DIST oclHashcat-plus-0.081-64.7z 22259753 SHA256 5390a8a3c6b8887536e936c918ca2cfeba6b971e4cd9a57dca36a3cfa5e83684 SHA512 650e75eec5d1b20fe13469097f707b667c422c5595793af4675ae860c6338aad98f809fec15dd44a53bae92a3763008632e0f618f181036ac2d70440f43d1e1d WHIRLPOOL 224764c6ccd204ea0f432c611a9076908d13bfb524caf16c0c861f2c308521f9483d22a6863d24273079b045a79c0431b1c5543b315838c7a5f11d3a264e8cb6
DIST oclHashcat-plus-0.09.7z 16556469 SHA256 8cb00584d43adf189116bf689a26740d421d0a541f3543855b3d0bf001f618a7 SHA512 0de76421b9d52027312c71b48c20d64e27deeee481a2859c5eb2af370cf3032cfd378e9aeed2c6cf19da7cc1adf1244cefde51b60aa885a66028d743f7d64a00 WHIRLPOOL 84dda3c0953593a2cfb1920909038ae320da305ff8e48294c008ef9328247bf38e56b16d197743dac063ceb2e536ed6d502a36e0ca6e666cdd32b514883e36a1
DIST oclHashcat-plus-0.12.7z 18713143 SHA256 8b02548e0d6e97c59bafdeabdb411b84eef581a00a131bf89238a9560bafc8fa SHA512 c2d8225f4c4bd546824823040b31aba66bd73539dd26a9f0fd695f0bf7078610f0970cbcfe3d25df133fdbf6365311c2b233fb1779da56e4756646b9b864a2b2 WHIRLPOOL 27d96e5eadc10de4fcd4ee98a93449a34e132563f79dc0c9cefa8281e85c246b3cba519942e3c76b2a1b37cafa8ca977c7f62783953f34a3d1f05b99c633d2aa
DIST oclHashcat-plus-0.13.7z 22397251 SHA256 374e612979a9e10ecf01d2f2a892f8f0af00ca8cfcfbcba5e6e36eb2aae27228 SHA512 3e259ad7abb1a42b1bed30de2ccc1d3f81d0ce420b27e4969332abbbe460287e3b3420c253cc7a82e060daa7411464927edb4f084e8e671ae60553c234f097de WHIRLPOOL 075f6eab5b03e24964ce4793435189bd950678f12276cd45f49e12f57b6d638c1d6acdb91d2d8397963de5a83b44383103c41438ac21a67d6e51d4c68149d399

@ -0,0 +1,100 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/oclhashcat-plus-bin/oclhashcat-plus-bin-0.13.ebuild,v 1.1 2013/02/03 01:55:07 zerochaos Exp $
EAPI=5
inherit eutils pax-utils
DESCRIPTION="An opencl multihash cracker"
HOMEPAGE="http://hashcat.net/oclhashcat-plus/"
MY_P="oclHashcat-plus-${PV}"
SRC_URI="http://hashcat.net/files/${MY_P}.7z"
LICENSE="hashcat"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE_VIDEO_CARDS="video_cards_fglrx
video_cards_nvidia"
IUSE="${IUSE_VIDEO_CARDS}"
RDEPEND="sys-libs/zlib
video_cards_nvidia? ( >=x11-drivers/nvidia-drivers-310.32 )
video_cards_fglrx? ( =x11-drivers/ati-drivers-13.1 )"
DEPEND="${RDEPEND}
app-arch/p7zip"
S="${WORKDIR}/${MY_P}"
RESTRICT="strip"
QA_PREBUILT="*Hashcat-plus*.bin"
src_install() {
dodoc docs/*
rm -r *.exe docs || die
use x86 && rm *Hashcat-plus64*
use amd64 && rm *Hashcat-plus32*
if ! use video_cards_fglrx; then
rm -r kernels/4098 || die
rm oclHashcat-plus*.bin || die
fi
if ! use video_cards_nvidia; then
rm -r kernels/4318 || die
rm cudaHashcat-plus*.bin || die
fi
pax-mark m *Hashcat-plus*.bin
insinto /opt/${PN}
doins -r "${S}"/* || die "Copy files failed"
dodir /opt/bin
cat <<-EOF > "${ED}"/opt/bin/oclhashcat-plus
#! /bin/sh
echo "oclHashcat-plus and all related files have been installed in /opt/${PN}"
echo "Please run one of the following binaries to use gpu accelerated hashcat:"
EOF
for x in oclHashcat-plus64.bin oclHashcat-plus32.bin cudaHashcat-plus64.bin cudaHashcat-plus32.bin
do
if [ -f "${ED}"/opt/${PN}/${x} ]
then
case "${x}" in
oclHashcat-plus64.bin)
echo "echo '64 bit ATI accelerated \"oclHashcat-plus64.bin\"'" >> "${ED}"/opt/bin/oclhashcat-plus
;;
oclHashcat-plus32.bin)
echo "echo '32 bit ATI accelerated \"oclHashcat-plus32.bin\"'" >> "${ED}"/opt/bin/oclhashcat-plus
;;
cudaHashcat-plus64.bin)
echo "echo '64 bit NVIDIA accelerated \"cudaHashcat-plus64.bin\"'" >> "${ED}"/opt/bin/oclhashcat-plus
;;
cudaHashcat-plus32.bin)
echo "echo '32 bit NVIDIA accelerated \"cudaHashcat-plus32.bin\"'" >> "${ED}"/opt/bin/oclhashcat-plus
;;
esac
fperms +x /opt/${PN}/${x}
cat <<-EOF > "${ED}"/opt/bin/${x}
#! /bin/sh
cd /opt/${PN}
echo "Warning: ${x} is running from /opt/${PN} so be careful of relative paths."
exec ./${x} "\$@"
EOF
fperms +x /opt/bin/${x}
fi
done
fperms +x /opt/bin/oclhashcat-plus
fowners root:video /opt/${PN}
touch "${ED}"/opt/${PN}/eula.accepted
fperms 0660 /opt/${PN}/eula.accepted
einfo "oclhashcat-plus can be run as user if you are in the video group"
}

@ -2,6 +2,6 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>matsuu@gentoo.org</email>
<email>maintainer-needed@gentoo.org</email>
</maintainer>
</pkgmetadata>

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/seahorse/seahorse-3.6.3.ebuild,v 1.6 2013/01/06 09:13:51 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/seahorse/seahorse-3.6.3.ebuild,v 1.7 2013/02/02 22:21:33 ago Exp $
EAPI="5"
GCONF_DEBUG="yes"
@ -14,7 +14,7 @@ HOMEPAGE="http://www.gnome.org/projects/seahorse/index.html"
LICENSE="GPL-2+ FDL-1.1+"
SLOT="0"
IUSE="avahi debug ldap"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
COMMON_DEPEND="
>=app-crypt/gcr-3.3.4:=

@ -1,37 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-dicts/fantasdic/fantasdic-1.0_beta7-r1.ebuild,v 1.1 2010/01/23 07:30:39 matsuu Exp $
inherit eutils ruby
MY_P="${P/_/-}"
DESCRIPTION="Fantasdic is a client for the DICT protocol"
HOMEPAGE="http://www.gnome.org/projects/fantasdic/"
SRC_URI="http://www.mblondel.org/files/fantasdic/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gnome nls"
S="${WORKDIR}/${MY_P}"
DEPEND=">=dev-lang/ruby-1.8"
RDEPEND="${DEPEND}
>=dev-ruby/ruby-libglade2-0.14.1
gnome? (
>=dev-ruby/ruby-gnome2-0.14.1
>=dev-ruby/ruby-gconf2-0.14.1
)
nls? ( >=dev-ruby/ruby-gettext-0.6.1 )"
src_install() {
${RUBY} setup.rb install --prefix="${D}" || die
domenu fantasdic.desktop || die
erubydoc
# bug #298866
rm -r "${D}usr/share/doc/fantasdic" || die
}

@ -2,6 +2,6 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>matsuu@gentoo.org</email>
<email>maintainer-needed@gentoo.org</email>
</maintainer>
</pkgmetadata>

@ -1 +1,2 @@
DIST verbiste-0.1.23.tar.gz 640751 SHA256 fee17156f573bb433da1073811ffe5ce64f77dfb5c3797a500c42a7ced503e42 SHA512 2711d4e321eb02cea1a315fbd9388d0397a0a2634f9d5ac2c5c2d2fa5cab142bfa392361a23c24f92f4f779333ff909554f20fe9e62f139eeb134a9a48a0f2b9 WHIRLPOOL 0d7adb1284b397f958bd12fa706abe291f2be917f2448d9c2e361ecb9a9f74971a6d667b586037f44ba0dec988b0df0be90ef58c7d70857daa3cee85059fde34
DIST verbiste-0.1.35.tar.gz 704298 SHA256 6009a5e62770b31a103d64ff7a448b644ac12a11ae5b9970f6e054206b6989c3 SHA512 0959df1535ce88fac7226f6be58f11e1433e0643e660cfc511fd5162d63099a0605108e250f6c905ce654f3b0a2741524a51b61703517db918ab92b259ab5c79 WHIRLPOOL d3cfd640d5ad7ec141f2acb8274deb753f32c881297d885c7f9ebfacf426d959776743162318bcb9277191e510ecbaf9ab8ea02144651187f94df5071d02f48a

@ -1,9 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>tester@gentoo.org</email>
</maintainer>
<longdescription>French conjugation system including an option gnome front-end</longdescription>
<maintainer>
<email>eva@gentoo.org</email>
</maintainer>
<longdescription>French conjugation system including an option gnome front-end</longdescription>
</pkgmetadata>

@ -0,0 +1,71 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-dicts/verbiste/verbiste-0.1.35.ebuild,v 1.1 2013/02/03 16:12:46 eva Exp $
EAPI="5"
inherit eutils gnome2-utils fdo-mime
DESCRIPTION="French conjugation system"
HOMEPAGE="http://sarrazip.com/dev/verbiste.html"
SRC_URI="http://sarrazip.com/dev/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="gnome gtk"
RDEPEND="
>=dev-libs/libxml2-2.4.0:2
gtk? ( >=x11-libs/gtk+-2.6:2 )
gnome? (
gnome-base/gnome-panel[bonobo]
>=gnome-base/libgnomeui-2.0 )"
DEPEND="${RDEPEND}
sys-devel/gettext
virtual/pkgconfig"
src_configure() {
econf \
--with-console-app \
$(use_with gtk gtk-app) \
$(use_with gnome gnome-app) \
$(use_with gnome gnome-applet)
}
src_install() {
default
prune_libtool_files
dodoc HACKING LISEZMOI
# file is only installed with USE=gnome
if use gtk && ! use gnome ; then
sed -e 's/Exec=.*/Exec=verbiste-gtk/' \
-i src/gnome/verbiste.desktop || die
insinto usr/share/applications
doins src/gnome/verbiste.desktop
fi
}
pkg_preinst() {
if use gtk || use gnome ; then
gnome2_icon_savelist
fi
}
pkg_postinst() {
if use gtk || use gnome ; then
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
gnome2_icon_cache_update
fi
}
pkg_postrm() {
if use gtk || use gnome ; then
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
gnome2_icon_cache_update
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.5.8-r1.ebuild,v 1.14 2012/05/31 03:38:35 zmedico Exp $
# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.5.8-r1.ebuild,v 1.15 2013/02/02 18:21:52 xarthisius Exp $
EAPI=2
@ -148,7 +148,7 @@ src_install() {
if use qt4; then
doicon "${DISTDIR}/doxywizard.png"
make_desktop_entry doxywizard "DoxyWizard ${PV}" \
"doxywizard" "Application;Development"
"doxywizard" "Development"
fi
dodoc INSTALL LANGUAGE.HOWTO README

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.7.6.1.ebuild,v 1.14 2012/08/11 09:30:03 xarthisius Exp $
# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.7.6.1.ebuild,v 1.16 2013/02/03 09:33:09 xarthisius Exp $
EAPI=4
@ -90,7 +90,8 @@ src_prepare() {
-e "s:^\(TMAKE_CXX\s*\)=.*$:\1= $(tc-getCXX):" \
-e "s:^\(TMAKE_LINK\s*\)=.*$:\1= $(tc-getCXX):" \
-e "s:^\(TMAKE_LINK_SHLIB\s*\)=.*$:\1= $(tc-getCXX):" \
-e "s:^\(TMAKE_CXX\s*\)=.*$:\1= $(tc-getCC):" \
-e "s:^\(TMAKE_CC\s*\)=.*$:\1= $(tc-getCC):" \
-e "s:^\(TMAKE_AR\s*\)=.*$:\1= $(tc-getAR) cqs:" \
tmake/lib/{{linux,gnu,freebsd,netbsd,openbsd,solaris}-g++,macosx-c++,linux-64}/tmake.conf \
|| die
@ -199,7 +200,7 @@ src_install() {
doicon "${DISTDIR}/doxywizard.png"
make_desktop_entry doxywizard "DoxyWizard ${PV}" \
"/usr/share/pixmaps/doxywizard.png" \
"Application;Development"
"Development"
fi
dodoc INSTALL LANGUAGE.HOWTO README

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.8.3.1.ebuild,v 1.1 2013/01/28 08:15:02 xarthisius Exp $
# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.8.3.1.ebuild,v 1.3 2013/02/03 09:33:09 xarthisius Exp $
EAPI=4
@ -90,7 +90,8 @@ src_prepare() {
-e "s:^\(TMAKE_CXX\s*\)=.*$:\1= $(tc-getCXX):" \
-e "s:^\(TMAKE_LINK\s*\)=.*$:\1= $(tc-getCXX):" \
-e "s:^\(TMAKE_LINK_SHLIB\s*\)=.*$:\1= $(tc-getCXX):" \
-e "s:^\(TMAKE_CXX\s*\)=.*$:\1= $(tc-getCC):" \
-e "s:^\(TMAKE_CC\s*\)=.*$:\1= $(tc-getCC):" \
-e "s:^\(TMAKE_AR\s*\)=.*$:\1= $(tc-getAR) cqs:" \
tmake/lib/{{linux,gnu,freebsd,netbsd,openbsd,solaris}-g++,macosx-c++,linux-64}/tmake.conf \
|| die
@ -208,7 +209,7 @@ src_install() {
doicon "${DISTDIR}/doxywizard.png"
make_desktop_entry doxywizard "DoxyWizard ${PV}" \
"/usr/share/pixmaps/doxywizard.png" \
"Application;Development"
"Development"
fi
dodoc INSTALL LANGUAGE.HOWTO README

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit/gedit-3.6.2-r1.ebuild,v 1.7 2013/01/06 09:14:14 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit/gedit-3.6.2-r1.ebuild,v 1.8 2013/02/02 22:21:56 ago Exp $
EAPI="5"
GCONF_DEBUG="no"
@ -15,7 +15,7 @@ HOMEPAGE="http://live.gnome.org/Gedit"
LICENSE="GPL-2+ CCPL-Attribution-ShareAlike-3.0"
SLOT="0"
IUSE="+introspection +python spell zeitgeist"
KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux"
# X libs are not needed for OSX (aqua)
COMMON_DEPEND="

@ -1,2 +1,2 @@
DIST jre-6u37-linux-i586.bin 21704353 SHA256 aeba98f45e3dcddd460e28165d89de521e69dfa69b76ca6aa21bda633dce4776 SHA512 5f80c83c4b359d044c09b8854536a04c59f0e8d0699c29920114866b348c666f6227719bdf2236961cd0ee2bbaf82d3d75f97d413e6a26a02a4b075ac0d0907c WHIRLPOOL 6ebdc24c344173fe2011cf3197e66f7291b2985e99357740d543e3f715dce14101cac7213ff2e782b0a1af328e94d813e8843a5fe22b12dc96002b97e05cd8b1
DIST jre-6u38-linux-i586.bin 21709114 SHA256 26ffa4f61d0dd542f3fe80a55cef43504263d3656953e37a9ca670e8e183b5ba SHA512 cf36e75f037722a5dc5fd30f1caef1b9da3f76c4435f5439be2d405e5d3f90a40bf79562a62345bb9c6d90d89bdc1e0628ed103ca93dc205d797552d104c4bf7 WHIRLPOOL f1e02a2dbf7b1370a3ab9c801d441a4723ee36fcbab7799119ad353b5dd81461227a1885f18a7a09153951e17b7681a06e6523fef77281d800d4ceaf34b7b133
DIST jre-6u39-linux-i586.bin 21712508 SHA256 7d1f855e33cc756875ce2f0595254ac7ff694d99540102a6f4426824657f191b SHA512 ea7c6e3e10be63ef6afd6e138ca3bc7d3a27102ee929636b7eceb3d542e0b58e9cf1ea776a627ef12aec02940a4e2201d13b7c410715a651b1032d8175c41301 WHIRLPOOL b5dba1fb60dc0862939e8b993f89411eeb36d026941d8c1674b982489590684de2220e0996ecb8aebd3f737cd2718cc3ea9f3089d8677ee9b45448725991f98f

@ -1,13 +1,13 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.6.0.37.ebuild,v 1.2 2012/10/21 10:59:26 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.6.0.39.ebuild,v 1.2 2013/02/03 17:02:23 ago Exp $
EAPI="4"
EAPI="5"
inherit java-vm-2 eutils prefix versionator
# This URIs need to be updated when bumping!
JRE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jre6u37-downloads-1859589.html"
JRE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jre6downloads-1902815.html"
MY_PV="$(get_version_component_range 2)u$(get_version_component_range 4)"
S_PV="$(replace_version_separator 3 '_')"
@ -21,7 +21,7 @@ SRC_URI="${X86_AT}"
LICENSE="Oracle-BCLA-JavaSE"
SLOT="1.6"
KEYWORDS="-* amd64"
IUSE="X alsa nsplugin pax_kernel"
IUSE="+X alsa nsplugin pax_kernel"
RESTRICT="fetch strip"
QA_PREBUILT="*"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/emul-linux-x86-soundlibs-20121028.ebuild,v 1.3 2012/11/25 07:26:58 pacho Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/emul-linux-x86-soundlibs-20121028.ebuild,v 1.4 2013/02/03 01:00:01 ottxor Exp $
EAPI="4"
inherit emul-linux-x86
@ -10,7 +10,8 @@ KEYWORDS="-* amd64"
IUSE="alsa"
RDEPEND="~app-emulation/emul-linux-x86-baselibs-${PV}
~app-emulation/emul-linux-x86-medialibs-${PV}"
~app-emulation/emul-linux-x86-medialibs-${PV}
!>=sci-libs/fftw-3.3.3-r1[abi_x86_32]"
src_prepare() {
_ALLOWED="${S}/etc/env.d"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/emul-linux-x86-soundlibs-20121202.ebuild,v 1.2 2012/12/25 19:11:12 pacho Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/emul-linux-x86-soundlibs-20121202.ebuild,v 1.3 2013/02/03 01:00:01 ottxor Exp $
EAPI=5
inherit emul-linux-x86
@ -10,7 +10,8 @@ KEYWORDS="-* amd64"
IUSE="alsa"
RDEPEND="~app-emulation/emul-linux-x86-baselibs-${PV}
~app-emulation/emul-linux-x86-medialibs-${PV}"
~app-emulation/emul-linux-x86-medialibs-${PV}
!>=sci-libs/fftw-3.3.3-r1[abi_x86_32]"
src_prepare() {
_ALLOWED="${S}/etc/env.d"

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libcacard/libcacard-0.1.2.ebuild,v 1.10 2013/01/06 09:14:34 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libcacard/libcacard-0.1.2.ebuild,v 1.11 2013/02/02 22:22:16 ago Exp $
EAPI=4
@ -10,7 +10,7 @@ SRC_URI="http://spice-space.org/download/${PN}/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86"
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86"
IUSE="static-libs"
RDEPEND=">=dev-libs/nss-3.13

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice-protocol/spice-protocol-0.12.2.ebuild,v 1.8 2013/01/06 09:14:53 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice-protocol/spice-protocol-0.12.2.ebuild,v 1.9 2013/02/02 22:22:35 ago Exp $
EAPI=4
@ -10,7 +10,7 @@ SRC_URI="http://spice-space.org/download/releases/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86"
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86"
IUSE=""
DEPEND=""

@ -1,17 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>s4t4n@gentoo.org</email>
<name>Michele Noberasco</name>
</maintainer>
<longdescription>
vov (Vov's Obsessive Von-Neumann) is a tool that emulates the behavior of a Von-Neumann machine.
It is basically an interpreter, which reads files in the form of memory assignments and executes
the encoded instructions. The vov's instructions make you able to perform simple arithmetic data
manipulation. It is a very useful tool to see if your programs work and how.
</longdescription>
<use>
<flag name='gprof'>build with profiling support</flag>
</use>
<maintainer>
<email>dennis.yxun@gmail.com</email>
<name>Dennis (dlan) Lan</name>
<description>maintainer, assign bugs</description>
</maintainer>
<maintainer>
<email>tomka@gentoo.org</email>
<name>Thomas Kahle</name>
<description>proxy maintainer, CC on bugs</description>
</maintainer>
<longdescription>
vov (Vov's Obsessive Von-Neumann) is a tool that emulates the behavior of a Von-Neumann machine.
It is basically an interpreter, which reads files in the form of memory assignments and executes
the encoded instructions. The vov's instructions make you able to perform simple arithmetic data
manipulation. It is a very useful tool to see if your programs work and how.
</longdescription>
<use>
<flag name='gprof'>build with profiling support</flag>
</use>
</pkgmetadata>

@ -18,6 +18,7 @@ DIST wine-1.5.2.tar.bz2 20104652 SHA256 8ee6fdaf716b5a1c7ccf9be9dc6d9b7546944e79
DIST wine-1.5.20.tar.bz2 21012282 SHA256 75e3073a62a933af5beaa8e8591298325edb57f255ca5b0de55a0f29a4ba2430 SHA512 25de10f4e3f94d79391e61bdadf00af0e6f191b064f61948911d0de4b1c71ab3a727510b7ec4a52882aed0c59e75bb0cd3fb46a0a4da3dc3707045a3af517754 WHIRLPOOL f85ed944dce117761b6509f090161e9d071027571c87675c03f0f78fb29679bf4d4fb382038c5512588e346f8a242ae4a66fa32992a3bacd48af63417158efe2
DIST wine-1.5.21.tar.bz2 21088257 SHA256 ac77c1dd1a31ccc67f0391b4965959096aeb98745f52c4d91b7bd280e3c8b350 SHA512 3d9847da09f5227d0118f0fc1468134e69ee66dfec3cfee5e069050a4e2b848647d2247264d7f2e9e35f434676be97f4104be170fd02915bb3061b4057c11bb9 WHIRLPOOL 67b5b0693cea4998e48d1e4163b1cd8506401252c268854d559c7a323af082cc635ec10752440e0945b7988b85537af92f204ef645e9e4916e01fc476d19eb85
DIST wine-1.5.22.tar.bz2 21238224 SHA256 db08a40a5e6fce050b5cca7782d396ed3a9b1dfb23b9915dad93efb886fc6739 SHA512 19e337729542991d0b984c69657c4a3437cd17abe78e9ff21ccd7c1d96097598d790e9ea5d95def355ca4af58cfcbc1e61e15c9845a01e664303182878e456a0 WHIRLPOOL 77a5289705f7579b1d0bf6824031bdd7fa8a86913e438bfbf6bf938f9e7e1807b100b6caa46be9fe37cd0eae4547a5404f9f1dbb6f49e6e4c50b92b6e1445c09
DIST wine-1.5.23.tar.bz2 21216425 SHA256 f973fda335dcd5f07f9784fbba27363dc448a5fb69baa33e90c3ea41db12faf1 SHA512 062e176270edebcbf555225d66ec44ca607930da047e03965c1a3196e182f744bb642e3e7f6dbc63e760d4971b639b36b921bcf9bda18ca3ed4575f78c380707 WHIRLPOOL 838a4adfb3465a52bcc3105caeb518afe93333366377a6a684a118ab6401c6d34c5bc99261aabffab2757b185a0a33eeda68dce3f206355d52d929153d6cb218
DIST wine-1.5.3.tar.bz2 20171697 SHA256 d3e8e484cbc2c4888bc880d0b0c8b52299d36a5cecc96d9367b59142345a1206 SHA512 947c20100d02ec6d393f9bdc1899ddeda21be7fa75869f91953e0eec30f2083b2a7fd31ad92c44765b417e3023914db9cc9945fd241207d8189f20ae92da100a WHIRLPOOL a2e2752731feae4d2a44dd0db1edabadd8c7530abd6e988e5c8f862ba70e234874e1a21ad8a25f4dc68e965d4b5122431278b3ed7674145f7fa935e0c78dcca5
DIST wine-1.5.4.tar.bz2 20187597 SHA256 90b10450b1afb4d54dfd20529e040daa4ee901c52b2f3bc452a86c2e06b4b759 SHA512 cb58358a2af9e15d7ebff21f9f834d521736eeaa44ce0c36d88400f3d3667c5432711bea64322e77c166e024d2ea03d47f64a4fd648d0a802bc44da80e1eb2fe WHIRLPOOL e007bc572181745c585bf24c6aa6a87830df17b57384d180e932b229f89b55d38f2b673243e8b5a5243afb303a18c52092bfbe61f0b49473c7c85edb0056a068
DIST wine-1.5.5.tar.bz2 20158084 SHA256 e7d5ba716d2ac47193fa31eff66cc179145ddcb453c6923eaea70596a82b084e SHA512 f9d080cf3e17b73658222b95e15c353d40963aaaa9cbb4b6293ea69709e68715a97e89854c336288ba6a0a41cb0fc9e2713721705935835e4c9f53fa5b7a3e74 WHIRLPOOL 9f44bf75854410c142f94fe12e028ab120521ffd5b9de682c3eeb6690a35c8b4f5be2eecfd6e02e2bc28594f1524e2b6604035744d6b56a9c3d16d5c0cdc6d5d
@ -55,3 +56,4 @@ DIST winepulse-patches-1.5.19.tar.bz2 47081 SHA256 7fc8e5964bcd4cdd8f14b6a5d6d66
DIST winepulse-patches-1.5.20_pre20121207.tar.bz2 47206 SHA256 7ce845841d1c53f5d2bee3e09e901598321362f8cabc32ff7012c24e366a47e6 SHA512 e0b575231b19c2231ec9648d9e128a2439c672221d579fa40adbe49218db0e98b548f562151cdcbe75a6f018ff9a1c57dbd048de2374ad0cb5748fc3da8060b7 WHIRLPOOL b5511237bac951b39c1fc707348593adc8e5c5b0bf0543e4714cab3e153b2a653fa7ce809097d8dd376cad6c20b1d5b5a9c06d655e0a28c5e035ae5eec761803
DIST winepulse-patches-1.5.21.tar.bz2 46068 SHA256 038b672bed96cae5c89a854d2e2980bf37c887f50ace519ea62b1da6b3b351e2 SHA512 00ee2c2cf67b17c33a2e4a9cc1406e20d05fde33ce9f98fde37176b55a123b21f0e136b3cc9066a9b4d6062893db3cd60b4eb9574831aaaae4da757ece5ca003 WHIRLPOOL 21c0266ae03f4bfdf87ebdd8c5bedc98e6c1c6fda4fd0ce47a073a000e7aaf66a50a82bc77bd31649afd2837d35b6b6867a6d38c28df573ce5e1dbab6cb25dc8
DIST winepulse-patches-1.5.22.tar.bz2 46325 SHA256 4850ffb54ee4062c14457a6282b432604272858decaa438d95334c164ca05948 SHA512 0f05afafae79288cc73f926280d20b3acfb8aa617ba9bbfc57529eeb7d0a2a3dc7e20b92bef9d2eb04b32c9a7f0c256a61a88faff5c1df41950aaa946bc748a0 WHIRLPOOL eed9896a75b2765dae03215c34807ed42a9d26828f25d9687983ebbabc1fbf3d757ea8ce4cc805343d1fca0463d8f49b9524175efb2af5cc5d6efc19e0b8e6d4
DIST winepulse-patches-1.5.23.tar.bz2 46597 SHA256 11786926ab0d519a96d488d968ef510ca8a8aadef45d34a155476fb310c03864 SHA512 a429ec080d92c9fa373feace4534c922c19840c131aae75eda3b662f5ced5773843ccab144324184ce38e4fb65ddf48b73724c9006018bad7ae1ebc396db7271 WHIRLPOOL 8d87feb598e749ce10875d2e72a38e2a82c5ca6dc3528c9784fd71c2d70d98955424c6580e102fe512bcccc8804e70f40f45e45828b497c5789f2df9bf009400

@ -0,0 +1,214 @@
From 57c57e9dfae50f045503ae9f3107fa3748512483 Mon Sep 17 00:00:00 2001
From: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Sun, 3 Feb 2013 19:19:36 -0500
Subject: [PATCH] winebuild: Use $CCAS to assemble if found
Commit c14bdaf1 made winebuild use Clang to assemble if found.
However, just because a user has some version of Clang installed, it
does not mean that she wants to use Clang to assemble Wine. For example,
a user who has both Clang and GAS installed may want to use GAS to avoid
textrels (see https://bugs.gentoo.org/show_bug.cgi?id=455308).
This patch allows the user to override which assembler gets used by
exporting CCAS at Wine configure time; the name CCAS was chosen for
compatibility with automake's standard AM_PROG_AS macro.
---
configure | 106 ++++++++++++++++++++++++++++++++++++++++++++
configure.ac | 4 ++
tools/winebuild/Makefile.in | 5 ++-
tools/winebuild/utils.c | 12 +++++
4 files changed, 126 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index e3253ee..d0b7777 100755
--- a/configure
+++ b/configure
@@ -732,6 +732,8 @@ FLEX
TOOLSDIR
WOW64_DISABLE
TARGETFLAGS
+ac_ct_CCAS
+CCAS
CPPBIN
ac_ct_CXX
CXXFLAGS
@@ -861,6 +863,7 @@ CPPFLAGS
CXX
CXXFLAGS
CCC
+CCAS
CPP
XMKMF'
@@ -1549,6 +1552,7 @@ Some influential environment variables:
you have headers in a nonstandard directory <include dir>
CXX C++ compiler command
CXXFLAGS C++ compiler flags
+ CCAS Assembler command
CPP C preprocessor
XMKMF Path to xmkmf, Makefile generator for X Window System
@@ -4075,6 +4079,108 @@ cat >>confdefs.h <<_ACEOF
_ACEOF
+
+if test -n "$ac_tool_prefix"; then
+ for ac_prog in clang gas as
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CCAS+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CCAS"; then
+ ac_cv_prog_CCAS="$CCAS" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CCAS="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CCAS=$ac_cv_prog_CCAS
+if test -n "$CCAS"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCAS" >&5
+$as_echo "$CCAS" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CCAS" && break
+ done
+fi
+if test -z "$CCAS"; then
+ ac_ct_CCAS=$CCAS
+ for ac_prog in clang gas as
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CCAS+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CCAS"; then
+ ac_cv_prog_ac_ct_CCAS="$ac_ct_CCAS" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CCAS="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CCAS=$ac_cv_prog_ac_ct_CCAS
+if test -n "$ac_ct_CCAS"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CCAS" >&5
+$as_echo "$ac_ct_CCAS" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CCAS" && break
+done
+
+ if test "x$ac_ct_CCAS" = x; then
+ CCAS=""$CC""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CCAS=$ac_ct_CCAS
+ fi
+fi
+
+
case $host in
*-darwin*)
if test "x$enable_win64" = "xyes"
diff --git a/configure.ac b/configure.ac
index c93cd08..760f325 100644
--- a/configure.ac
+++ b/configure.ac
@@ -126,6 +126,10 @@ dnl We can't use AC_PROG_CPP for winegcc, it uses by default $(CC) -E
AC_CHECK_TOOL(CPPBIN,cpp,cpp)
AC_DEFINE_UNQUOTED(EXEEXT,["$ac_exeext"],[Define to the file extension for executables.])
+dnl Analogous to AM_PROG_AS
+AC_ARG_VAR([CCAS],[Assembler command])
+AC_CHECK_TOOLS(CCAS,[clang gas as],["$CC"])
+
case $host in
*-darwin*)
if test "x$enable_win64" = "xyes"
diff --git a/tools/winebuild/Makefile.in b/tools/winebuild/Makefile.in
index 2017129..3fe47a3 100644
--- a/tools/winebuild/Makefile.in
+++ b/tools/winebuild/Makefile.in
@@ -1,4 +1,7 @@
-DEFS = -D__WINESRC__ $(EXTRADEFS)
+DEFS = \
+ -DCCAS="\"@CCAS@\"" \
+ -D__WINESRC__ \
+ $(EXTRADEFS)
PROGRAMS = winebuild$(EXEEXT)
MANPAGE = winebuild.man
diff --git a/tools/winebuild/utils.c b/tools/winebuild/utils.c
index 262ff3a..1c5f918 100644
--- a/tools/winebuild/utils.c
+++ b/tools/winebuild/utils.c
@@ -352,6 +352,18 @@ struct strarray *get_as_command(void)
static int as_is_clang = 0;
struct strarray *args = strarray_init();
+ if (!as_command && strlen( CCAS ))
+ {
+ struct stat st;
+
+ if (!stat( CCAS, &st ))
+ as_command = CCAS;
+ else
+ as_command = find_tool( CCAS, NULL );
+
+ if (as_command && strstr( as_command, "clang" )) as_is_clang = 1;
+ }
+
if (!as_command)
{
as_command = find_tool( "clang", NULL );
--
1.8.1.2

@ -0,0 +1,287 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.23-r1.ebuild,v 1.1 2013/02/04 02:38:40 tetromino Exp $
EAPI="5"
inherit autotools eutils flag-o-matic gnome2-utils multilib pax-utils toolchain-funcs
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
inherit git-2
SRC_URI=""
#KEYWORDS=""
else
MY_P="${PN}-${PV/_/-}"
SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2"
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
S=${WORKDIR}/${MY_P}
fi
GV="1.9"
MV="0.0.8"
PULSE_PATCHES="winepulse-patches-1.5.23"
WINE_GENTOO="wine-gentoo-2012.11.24"
DESCRIPTION="Free implementation of Windows(tm) on Unix"
HOMEPAGE="http://www.winehq.org/"
SRC_URI="${SRC_URI}
gecko? (
mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi
win64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
)
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${PULSE_PATCHES}.tar.bz2
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls gphoto2 gsm gstreamer jpeg lcms ldap +mono mp3 ncurses nls odbc openal opencl +opengl osmesa +oss +perl png +prelink samba scanner selinux ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml"
[[ ${PV} == "9999" ]] || IUSE="${IUSE} pulseaudio"
REQUIRED_USE="elibc_glibc? ( threads )
mono? ( || ( win32 !win64 ) )
osmesa? ( opengl )" #286560
RESTRICT="test" #72375
MLIB_DEPS="amd64? (
truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
X? (
>=app-emulation/emul-linux-x86-xlibs-2.1
>=app-emulation/emul-linux-x86-soundlibs-2.1
)
mp3? ( app-emulation/emul-linux-x86-soundlibs )
odbc? ( app-emulation/emul-linux-x86-db )
openal? ( app-emulation/emul-linux-x86-sdl )
opengl? ( app-emulation/emul-linux-x86-opengl )
osmesa? ( >=app-emulation/emul-linux-x86-opengl-20121028 )
scanner? ( app-emulation/emul-linux-x86-medialibs )
v4l? ( app-emulation/emul-linux-x86-medialibs )
app-emulation/emul-linux-x86-baselibs
>=sys-kernel/linux-headers-2.6
)"
RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
perl? ( dev-lang/perl dev-perl/XML-Simple )
capi? ( net-dialup/capi4k-utils )
ncurses? ( >=sys-libs/ncurses-5.2 )
fontconfig? ( media-libs/fontconfig:= )
gphoto2? ( media-libs/libgphoto2:= )
openal? ( media-libs/openal:= )
udisks? (
sys-apps/dbus
sys-fs/udisks:2
)
gnutls? ( net-libs/gnutls:= )
gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
X? (
x11-libs/libXcursor
x11-libs/libXext
x11-libs/libXrandr
x11-libs/libXi
x11-libs/libXmu
x11-libs/libXxf86vm
)
xinerama? ( x11-libs/libXinerama )
alsa? ( media-libs/alsa-lib )
cups? ( net-print/cups:= )
opencl? ( virtual/opencl )
opengl? (
virtual/glu
virtual/opengl
)
gsm? ( media-sound/gsm:= )
jpeg? ( virtual/jpeg:= )
ldap? ( net-nds/openldap:= )
lcms? ( media-libs/lcms:0= )
mp3? ( >=media-sound/mpg123-1.5.0 )
nls? ( sys-devel/gettext )
odbc? ( dev-db/unixODBC:= )
osmesa? ( media-libs/mesa[osmesa] )
samba? ( >=net-fs/samba-3.0.25 )
selinux? ( sec-policy/selinux-wine )
xml? ( dev-libs/libxml2 dev-libs/libxslt )
scanner? ( media-gfx/sane-backends:= )
ssl? ( dev-libs/openssl:= )
png? ( media-libs/libpng:= )
v4l? ( media-libs/libv4l )
!win64? ( ${MLIB_DEPS} )
win32? ( ${MLIB_DEPS} )
xcomposite? ( x11-libs/libXcomposite )"
[[ ${PV} == "9999" ]] || RDEPEND="${RDEPEND}
pulseaudio? (
media-sound/pulseaudio
sys-auth/rtkit
)"
DEPEND="${RDEPEND}
X? (
x11-proto/inputproto
x11-proto/xextproto
x11-proto/xf86vidmodeproto
)
xinerama? ( x11-proto/xineramaproto )
prelink? ( sys-devel/prelink )
virtual/pkgconfig
virtual/yacc
sys-devel/flex"
# These use a non-standard "Wine" category, which is provided by
# /etc/xdg/applications-merged/wine.menu
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
usr/share/applications/wine-notepad.desktop
usr/share/applications/wine-uninstaller.desktop
usr/share/applications/wine-winecfg.desktop"
src_unpack() {
if use win64 ; then
[[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \
&& die "you need gcc-4.4+ to build 64bit wine"
fi
if use win32 && use opencl; then
[[ x$(eselect opencl show) = "xintel" ]] &&
die "Cannot build wine[opencl,win32]: intel-ocl-sdk is 64-bit only" # 403947
fi
if [[ ${PV} == "9999" ]] ; then
git-2_src_unpack
else
unpack ${MY_P}.tar.bz2
fi
unpack "${PULSE_PATCHES}.tar.bz2"
unpack "${WINE_GENTOO}.tar.bz2"
}
src_prepare() {
local md5="$(md5sum server/protocol.def)"
epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
epatch "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
epatch "${FILESDIR}"/${PN}-1.5.17-osmesa-check.patch #429386
epatch "${FILESDIR}"/${PN}-1.5.23-winebuild-CCAS.patch #455308
[[ ${PV} == "9999" ]] || epatch "../${PULSE_PATCHES}"/*.patch #421365
epatch_user #282735
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
einfo "server/protocol.def was patched; running tools/make_requests"
tools/make_requests || die #432348
fi
eautoreconf
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
}
do_configure() {
local builddir="${WORKDIR}/wine$1"
mkdir -p "${builddir}"
pushd "${builddir}" >/dev/null
local usepulse
[[ ${PV} == "9999" ]] || usepulse=$(use_with pulseaudio pulse)
ECONF_SOURCE=${S} \
econf \
--sysconfdir=/etc/wine \
$(use_with alsa) \
$(use_with capi) \
$(use_with lcms cms) \
$(use_with cups) \
$(use_with ncurses curses) \
$(use_with udisks dbus) \
$(use_with fontconfig) \
$(use_with gnutls) \
$(use_with gphoto2 gphoto) \
$(use_with gsm) \
$(use_with gstreamer) \
--without-hal \
$(use_with jpeg) \
$(use_with ldap) \
$(use_with mp3 mpg123) \
$(use_with nls gettext) \
$(use_with openal) \
$(use_with opencl) \
$(use_with opengl) \
$(use_with ssl openssl) \
$(use_with osmesa) \
$(use_with oss) \
$(use_with png) \
$(use_with threads pthread) \
${usepulse} \
$(use_with scanner sane) \
$(use_enable test tests) \
$(use_with truetype freetype) \
$(use_with v4l) \
$(use_with X x) \
$(use_with xcomposite) \
$(use_with xinerama) \
$(use_with xml) \
$(use_with xml xslt) \
CCAS="$(tc-getAS)" \
$2
emake -j1 depend
popd >/dev/null
}
src_configure() {
export LDCONFIG=/bin/true
use custom-cflags || strip-flags
if use win64 ; then
do_configure 64 --enable-win64
use win32 && ABI=x86 do_configure 32 --with-wine64=../wine64
else
ABI=x86 do_configure 32 --disable-win64
fi
}
src_compile() {
local b
for b in 64 32 ; do
local builddir="${WORKDIR}/wine${b}"
[[ -d ${builddir} ]] || continue
emake -C "${builddir}" all
done
}
src_install() {
local b
for b in 64 32 ; do
local builddir="${WORKDIR}/wine${b}"
[[ -d ${builddir} ]] || continue
emake -C "${builddir}" install DESTDIR="${D}"
done
emake -C "../${WINE_GENTOO}" install DESTDIR="${D}" EPREFIX="${EPREFIX}"
dodoc ANNOUNCE AUTHORS README
if use gecko ; then
insinto /usr/share/wine/gecko
doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
use win64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
fi
if use mono ; then
insinto /usr/share/wine/mono
doins "${DISTDIR}"/wine-mono-${MV}.msi
fi
if ! use perl ; then
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
fi
if use win32 || ! use win64; then
pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
fi
use win64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
if use win64 && ! use win32; then
dosym /usr/bin/wine{64,} # 404331
dosym /usr/bin/wine{64,}-preloader
fi
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}

@ -0,0 +1,285 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.23.ebuild,v 1.1 2013/02/03 00:52:52 tetromino Exp $
EAPI="5"
inherit autotools eutils flag-o-matic gnome2-utils multilib pax-utils
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
inherit git-2
SRC_URI=""
#KEYWORDS=""
else
MY_P="${PN}-${PV/_/-}"
SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2"
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
S=${WORKDIR}/${MY_P}
fi
GV="1.9"
MV="0.0.8"
PULSE_PATCHES="winepulse-patches-1.5.23"
WINE_GENTOO="wine-gentoo-2012.11.24"
DESCRIPTION="Free implementation of Windows(tm) on Unix"
HOMEPAGE="http://www.winehq.org/"
SRC_URI="${SRC_URI}
gecko? (
mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi
win64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
)
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${PULSE_PATCHES}.tar.bz2
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls gphoto2 gsm gstreamer jpeg lcms ldap +mono mp3 ncurses nls odbc openal opencl +opengl osmesa +oss +perl png +prelink samba scanner selinux ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml"
[[ ${PV} == "9999" ]] || IUSE="${IUSE} pulseaudio"
REQUIRED_USE="elibc_glibc? ( threads )
mono? ( || ( win32 !win64 ) )
osmesa? ( opengl )" #286560
RESTRICT="test" #72375
MLIB_DEPS="amd64? (
truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
X? (
>=app-emulation/emul-linux-x86-xlibs-2.1
>=app-emulation/emul-linux-x86-soundlibs-2.1
)
mp3? ( app-emulation/emul-linux-x86-soundlibs )
odbc? ( app-emulation/emul-linux-x86-db )
openal? ( app-emulation/emul-linux-x86-sdl )
opengl? ( app-emulation/emul-linux-x86-opengl )
osmesa? ( >=app-emulation/emul-linux-x86-opengl-20121028 )
scanner? ( app-emulation/emul-linux-x86-medialibs )
v4l? ( app-emulation/emul-linux-x86-medialibs )
app-emulation/emul-linux-x86-baselibs
>=sys-kernel/linux-headers-2.6
)"
RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
perl? ( dev-lang/perl dev-perl/XML-Simple )
capi? ( net-dialup/capi4k-utils )
ncurses? ( >=sys-libs/ncurses-5.2 )
fontconfig? ( media-libs/fontconfig:= )
gphoto2? ( media-libs/libgphoto2:= )
openal? ( media-libs/openal:= )
udisks? (
sys-apps/dbus
sys-fs/udisks:2
)
gnutls? ( net-libs/gnutls:= )
gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
X? (
x11-libs/libXcursor
x11-libs/libXext
x11-libs/libXrandr
x11-libs/libXi
x11-libs/libXmu
x11-libs/libXxf86vm
)
xinerama? ( x11-libs/libXinerama )
alsa? ( media-libs/alsa-lib )
cups? ( net-print/cups:= )
opencl? ( virtual/opencl )
opengl? (
virtual/glu
virtual/opengl
)
gsm? ( media-sound/gsm:= )
jpeg? ( virtual/jpeg:= )
ldap? ( net-nds/openldap:= )
lcms? ( media-libs/lcms:0= )
mp3? ( >=media-sound/mpg123-1.5.0 )
nls? ( sys-devel/gettext )
odbc? ( dev-db/unixODBC:= )
osmesa? ( media-libs/mesa[osmesa] )
samba? ( >=net-fs/samba-3.0.25 )
selinux? ( sec-policy/selinux-wine )
xml? ( dev-libs/libxml2 dev-libs/libxslt )
scanner? ( media-gfx/sane-backends:= )
ssl? ( dev-libs/openssl:= )
png? ( media-libs/libpng:= )
v4l? ( media-libs/libv4l )
!win64? ( ${MLIB_DEPS} )
win32? ( ${MLIB_DEPS} )
xcomposite? ( x11-libs/libXcomposite )"
[[ ${PV} == "9999" ]] || RDEPEND="${RDEPEND}
pulseaudio? (
media-sound/pulseaudio
sys-auth/rtkit
)"
DEPEND="${RDEPEND}
X? (
x11-proto/inputproto
x11-proto/xextproto
x11-proto/xf86vidmodeproto
)
xinerama? ( x11-proto/xineramaproto )
prelink? ( sys-devel/prelink )
virtual/pkgconfig
virtual/yacc
sys-devel/flex"
# These use a non-standard "Wine" category, which is provided by
# /etc/xdg/applications-merged/wine.menu
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
usr/share/applications/wine-notepad.desktop
usr/share/applications/wine-uninstaller.desktop
usr/share/applications/wine-winecfg.desktop"
src_unpack() {
if use win64 ; then
[[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \
&& die "you need gcc-4.4+ to build 64bit wine"
fi
if use win32 && use opencl; then
[[ x$(eselect opencl show) = "xintel" ]] &&
die "Cannot build wine[opencl,win32]: intel-ocl-sdk is 64-bit only" # 403947
fi
if [[ ${PV} == "9999" ]] ; then
git-2_src_unpack
else
unpack ${MY_P}.tar.bz2
fi
unpack "${PULSE_PATCHES}.tar.bz2"
unpack "${WINE_GENTOO}.tar.bz2"
}
src_prepare() {
local md5="$(md5sum server/protocol.def)"
epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
epatch "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
epatch "${FILESDIR}"/${PN}-1.5.17-osmesa-check.patch #429386
[[ ${PV} == "9999" ]] || epatch "../${PULSE_PATCHES}"/*.patch #421365
epatch_user #282735
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
einfo "server/protocol.def was patched; running tools/make_requests"
tools/make_requests || die #432348
fi
eautoreconf
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
}
do_configure() {
local builddir="${WORKDIR}/wine$1"
mkdir -p "${builddir}"
pushd "${builddir}" >/dev/null
local usepulse
[[ ${PV} == "9999" ]] || usepulse=$(use_with pulseaudio pulse)
ECONF_SOURCE=${S} \
econf \
--sysconfdir=/etc/wine \
$(use_with alsa) \
$(use_with capi) \
$(use_with lcms cms) \
$(use_with cups) \
$(use_with ncurses curses) \
$(use_with udisks dbus) \
$(use_with fontconfig) \
$(use_with gnutls) \
$(use_with gphoto2 gphoto) \
$(use_with gsm) \
$(use_with gstreamer) \
--without-hal \
$(use_with jpeg) \
$(use_with ldap) \
$(use_with mp3 mpg123) \
$(use_with nls gettext) \
$(use_with openal) \
$(use_with opencl) \
$(use_with opengl) \
$(use_with ssl openssl) \
$(use_with osmesa) \
$(use_with oss) \
$(use_with png) \
$(use_with threads pthread) \
${usepulse} \
$(use_with scanner sane) \
$(use_enable test tests) \
$(use_with truetype freetype) \
$(use_with v4l) \
$(use_with X x) \
$(use_with xcomposite) \
$(use_with xinerama) \
$(use_with xml) \
$(use_with xml xslt) \
$2
emake -j1 depend
popd >/dev/null
}
src_configure() {
export LDCONFIG=/bin/true
use custom-cflags || strip-flags
if use win64 ; then
do_configure 64 --enable-win64
use win32 && ABI=x86 do_configure 32 --with-wine64=../wine64
else
ABI=x86 do_configure 32 --disable-win64
fi
}
src_compile() {
local b
for b in 64 32 ; do
local builddir="${WORKDIR}/wine${b}"
[[ -d ${builddir} ]] || continue
emake -C "${builddir}" all
done
}
src_install() {
local b
for b in 64 32 ; do
local builddir="${WORKDIR}/wine${b}"
[[ -d ${builddir} ]] || continue
emake -C "${builddir}" install DESTDIR="${D}"
done
emake -C "../${WINE_GENTOO}" install DESTDIR="${D}" EPREFIX="${EPREFIX}"
dodoc ANNOUNCE AUTHORS README
if use gecko ; then
insinto /usr/share/wine/gecko
doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
use win64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
fi
if use mono ; then
insinto /usr/share/wine/mono
doins "${DISTDIR}"/wine-mono-${MV}.msi
fi
if ! use perl ; then
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
fi
if use win32 || ! use win64; then
pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
fi
use win64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
if use win64 && ! use win32; then
dosym /usr/bin/wine{64,} # 404331
dosym /usr/bin/wine{64,}-preloader
fi
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}

@ -1,10 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-9999.ebuild,v 1.129 2013/01/20 02:27:14 tetromino Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-9999.ebuild,v 1.131 2013/02/04 02:38:40 tetromino Exp $
EAPI="5"
inherit autotools eutils flag-o-matic gnome2-utils multilib pax-utils
inherit autotools eutils flag-o-matic gnome2-utils multilib pax-utils toolchain-funcs
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
@ -20,7 +20,7 @@ fi
GV="1.9"
MV="0.0.8"
PULSE_PATCHES="winepulse-patches-1.5.22"
PULSE_PATCHES="winepulse-patches-1.5.23"
WINE_GENTOO="wine-gentoo-2012.11.24"
DESCRIPTION="Free implementation of Windows(tm) on Unix"
HOMEPAGE="http://www.winehq.org/"
@ -155,6 +155,7 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
epatch "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
epatch "${FILESDIR}"/${PN}-1.5.17-osmesa-check.patch #429386
epatch "${FILESDIR}"/${PN}-1.5.23-winebuild-CCAS.patch #455308
[[ ${PV} == "9999" ]] || epatch "../${PULSE_PATCHES}"/*.patch #421365
epatch_user #282735
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
@ -211,6 +212,7 @@ do_configure() {
$(use_with xinerama) \
$(use_with xml) \
$(use_with xml xslt) \
CCAS="$(tc-getAS)" \
$2
emake -j1 depend

@ -1,5 +1,5 @@
DIST winetricks-931 617522 SHA256 ca7d1ae94879282c50516dc918c31ab42b6809d682849c198bff795006aef7e4 SHA512 fc2e17c5e0a2abf130b7a02ef75aba5cccebccb51c5c203b3d9115e971ce3055b991ec9c5ffa0ee24f99dfbbfeb94cc6bf8eb40af3a2d46be70beb399992393c WHIRLPOOL 385a793fd554f2326ee309224e8127c8d26a336310b3c1f02b9236513902bc102491deaf690f4151a396c5777a37234d50fc4ad1fd54c266be9b1d5709dd433c
DIST winetricks-931.1 3469 SHA256 f522f4c991194cbed1044182ca6fbbb7645cd4b98d9557ab7d073ace1af4738d SHA512 2c832a9cc4286f641aeed7a5a47131773b48dd0cf123798f753ffb24799dabca29986b2b740698fbe9efb8034ac874a18147c6bd645bea8e69fdb42f1437fdf2 WHIRLPOOL 0ccb982022189b4d2e134756cadbca3628c33e57be6879b07e84f99182ed5a201379413a32af5d689744b4d7527f6abf56aae7113f34401c4cbe62b902462424
DIST winetricks-935 617548 SHA256 a7e663f655bfb7e1cbff328ade3d217d77cd18f7c85ef2850c97432d7d6cd306 SHA512 1dae0e8a14ee93047945f2312b9b3a208c104850232bef32cfb9010685d4f828468cfe92a8ddba7e4742ee253a57d81e0e82e8e1e09bdaa10fc907eed02f7c88 WHIRLPOOL 2166a42bd7e6859ff4e1a87c14020564d94ae053dfeaa6aecb397a731fbd06b3ac0dcc3608848f9e2b9a6fca310d9f7e6f033a4a614b7016c4813f1d189bfe65
DIST winetricks-935.1 3469 SHA256 f522f4c991194cbed1044182ca6fbbb7645cd4b98d9557ab7d073ace1af4738d SHA512 2c832a9cc4286f641aeed7a5a47131773b48dd0cf123798f753ffb24799dabca29986b2b740698fbe9efb8034ac874a18147c6bd645bea8e69fdb42f1437fdf2 WHIRLPOOL 0ccb982022189b4d2e134756cadbca3628c33e57be6879b07e84f99182ed5a201379413a32af5d689744b4d7527f6abf56aae7113f34401c4cbe62b902462424
DIST winetricks-939 618061 SHA256 8b1135644f018c4101a9312cedecbbfdc5413e792506ace4959d39b9f803f06f SHA512 02995b257c582a3d006e7b50c667cb9bd1b2c56a604a1d761fdd0c7049c2ac9d436a040e212cb3598a37ef52968f7aeb23550d6bf95848ed1c38f44aeb2649b9 WHIRLPOOL d375371dff12a6b866001fff9981e0eba3d314c609af2a82c7e4520d3b7994daa4a159efe50ef1ad228e0254a3f30e2be1ef2aeaec04e48636917980e8812165
DIST winetricks-939.1 3469 SHA256 f522f4c991194cbed1044182ca6fbbb7645cd4b98d9557ab7d073ace1af4738d SHA512 2c832a9cc4286f641aeed7a5a47131773b48dd0cf123798f753ffb24799dabca29986b2b740698fbe9efb8034ac874a18147c6bd645bea8e69fdb42f1437fdf2 WHIRLPOOL 0ccb982022189b4d2e134756cadbca3628c33e57be6879b07e84f99182ed5a201379413a32af5d689744b4d7527f6abf56aae7113f34401c4cbe62b902462424
DIST winetricks-gentoo-2012.11.24.tar.bz2 6398 SHA256 dded8c294cc5c2e71e4a5d1531ab165178cf3d2d1d890d0656368c2e499bfeb9 SHA512 59c93b73f3a7b2d11aefcde2ff66659ff1de21ad4b5f232f4b60572f3a48b15a6c49f369b1696862bf1b33fde190bf5598945e9536fb41ddec42d8def4d2be2a WHIRLPOOL 268da9e06712a678fbbcfff8eac1fca364b5e46f0a9c48a591eb88f03260b1a55f203eb2908bfe1f0a534b77c866127ff6f7049b0e43fe8abeaaa26fe55de75b

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/winetricks/winetricks-931.ebuild,v 1.2 2013/01/19 22:31:02 tetromino Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/winetricks/winetricks-939.ebuild,v 1.1 2013/02/02 23:56:33 tetromino Exp $
EAPI=4

@ -1,10 +1,7 @@
DIST grub-0.97.tar.gz 971783 SHA256 4e1d15d12dbd3e9208111d6b806ad5a9857ca8850c47877d36575b904559260b SHA512 c2bc9ffc8583aeae71cee9ddcc4418969768d4e3764d47307da54f93981c0109fb07d84b061b3a3628bd00ba4d14a54742bc04848110eb3ae8ca25dbfbaabadb WHIRLPOOL 0ad7f5dc035e2a3ad5fd29b6388f06fd12a8cc694117b4cbd42b5302433aa522db23566222d35219fe17fb95edb5090553156198507f70208eda5d858fd52dd5
DIST lwip-1.3.0.tar.gz 398933 SHA256 772e4d550e07826665ed0528c071dd5404ef7dbe1825a38c8adbc2a00bca948f SHA512 1465b58279af1647f909450e394fe002ca165f0ff4a0254bfa9fe0e64316f50facdde2729d79a4e632565b4500cf4d6c74192ac0dd3bc9fe09129bbd67ba089d WHIRLPOOL 63bdd9eb70f168ba2006a8f4bbe166b68528abe8364b23cdc1d468ccc4b137bb3447bf90695920f016e09d53d3b93ccf6e3697b3c46840f00b794789cb424acc
DIST newlib-1.16.0.tar.gz 12024353 SHA256 db426394965c48c1d29023e1cc6d965ea6b9a9035d8a849be2750ca4659a3d07 SHA512 40eb96bbc6736a16b6399e0cdb73e853d0d90b685c967e77899183446664d64570277a633fdafdefc351b46ce210a99115769a1d9f47ac749d7e82837d4d1ac3 WHIRLPOOL 47f7afd525f482d79d9e964f0e75ee8a77e59551bd19cd94f9b95ac3af9406afa381c9d8d224f76eb568441ab613b2b194f8e5be50aa222f9ed2d9b9761829db
DIST ocaml-3.11 11661 SHA256 b919112964cf64bcae841301754402184ceee177ab6681e75bf414ae5d533157 SHA512 7d0faad6ff978e2b91adcadbccb48f262bd31ac93fbbacd01e0bca6f0ab13272743888270e91d55eabd3fb321260247ca6e8c57a4483d1c4e5b1efbf78c7bcdf WHIRLPOOL c8635979fa22d456cdd1486b229b03e98d20ed304cb06ee8a2ad369d465a5c12dd3216f8e3e44ebddeef8d462b7c640a5ca98434152eeea0d969ad18e6ecfc2e
DIST pciutils-2.2.9.tar.bz2 212265 SHA256 f60ae61cfbd5da1d849d0beaa21f593c38dac9359f0b3ddc612f447408265b24 SHA512 2b3d98d027e46d8c08037366dde6f0781ca03c610ef2b380984639e4ef39899ed8d8b8e4cd9c9dc54df101279b95879bd66bfd4d04ad07fef41e847ea7ae32b5 WHIRLPOOL ce801947fcf7ba0b56710029f25e746d3e03a80699af9d3570efcd417b12b546264f286b2e78b1402cca766c08e35bdd0ff0a692ab4ad419295f00bcfe91130e
DIST xen-4.1.1.tar.gz 10355625 SHA256 246289227507466b5da8b2d0da84a5b0e68a392527b16cde38898d0348890f5b SHA512 0ec84db28af5b1206392b44e2c135859b3393d9c0eb1109f6a983492ba70622a145a08efce54f2943495feb06291d3fd5df9cc8ffea51e6e42aa69450edc87f2 WHIRLPOOL 58d83e71ac0a942830311d7eb5ebc5a7b34b118001f6f607ea7e5d7a959bafd72c9b8b6d010144fdef7417a238382602d948007be90f9ebf583b4d18897344c0
DIST xen-4.1.2.tar.gz 10365786 SHA256 7d9c93057cf480d3f1efa792b19285a84fa3c06060ea5c5c453be00887389b0d SHA512 8f50f238b0b474ec5556279cbd51d704b4365033f2541a5d0376f287b26b7e8f0193172041109d97bb76d35ace3adf71e12f89f5766ff79a8ea861e7282f00d7 WHIRLPOOL 93a4bdd05125ef722464ef682798191c8b3db7228cbc0a27bcbe7932a7776491f90e727e1fcc4a9e7ec3eada7f56c567c07ad61cdda2f514109f702800fe5566
DIST xen-4.2.0.tar.gz 15587687 SHA256 43f4a086e4e0330145a27b7ace8365c42b5afbc95cefadafe067be91bd3e5cfb SHA512 4fb56c79d722fb307bc657f16d02079c6636427e7650c4354193632d38d2d1db8e588f844ff0ca6e757c108ed639a528565ec9fc7c00bb4d5b6fbc9d122d8a70 WHIRLPOOL 369a109375864cb61920b56cf501522051d28513e738f0fd0e7b76244c3e08a8a0a6ff6cf245872d9bbd9c0f22c7da76c9cbc0f852bad6108ca25fd42dc677c0
DIST xen-4.2.1.tar.gz 15593695 SHA256 fb8df5827ce3e2d2d3b078d9e5afde502beb5e7ab9442e51a94087061bd450c6 SHA512 fe27a965e2b34035bd025482eda9fc4d4e82523c929323fd30813367d5ffbe2fa1ed3d7d4479f2632e8b5625972448b7bd6a7768e8dc1dcd1b6747d281cc1a9e WHIRLPOOL 226bbed059541e804f1a44e721023ffbc04bae43000653b1d7d6a9bfec0d9efbf7a48b1b0a7ad3fcb8e34f8b91e1c620c2a8eddf97baad487e9db37d49a58f37
DIST zlib-1.2.3.tar.gz 496597 SHA256 1795c7d067a43174113fdf03447532f373e1c6c57c08d61d9e4e9be5e244b05e SHA512 021b958fcd0d346c4ba761bcf0cc40f3522de6186cf5a0a6ea34a70504ce9622b1c2626fce40675bc8282cf5f5ade18473656abc38050f72f5d6480507a2106e WHIRLPOOL 8fd7010faf6a48a9c7ff4bcfe3ce4fe9061eb541259e0a2d0def214e8c4becf2b22e8d6f96f65ca827abffeaa9d96e95ed2402844f99835f7b079fc9f3e84276

@ -18,3 +18,15 @@ diff -ur xen-4.2.0.orig/tools/tests/x86_emulator/Makefile xen-4.2.0/tools/tests/
od -v -t x blowfish.bin | sed 's/^[0-9]* /0x/' | sed 's/ /, 0x/g' | sed 's/$$/,/';\
echo "};") >>$@
diff -ur xen-4.2.0.orig/tools/firmware/vgabios/Makefile xen-4.2.0/tools/firmware/vgabios/Makefile
--- tools/firmware/vgabios/Makefile 2013-02-04 13:56:50.973533544 +0800
+++ tools/firmware/vgabios/Makefile 2013-02-04 13:57:21.380535958 +0800
@@ -27,7 +27,7 @@
.PHONY: release
release:
- VGABIOS_VERS=\"-DVGABIOS_VERS=\\\"$(RELVERS)\\\"\" make bios cirrus-bios
+ VGABIOS_VERS=\"-DVGABIOS_VERS=\\\"$(RELVERS)\\\"\" $(MAKE) bios cirrus-bios
/bin/rm -f *.o *.s *.ld86 \
temp.awk.* vgabios.*.orig _vgabios_.*.c core *.bak .#*
cp VGABIOS-lgpl-latest.bin ../$(RELEASE).bin

@ -1,128 +0,0 @@
# Copyright 1999-2012 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.1.1-r1.ebuild,v 1.7 2012/12/04 19:24:18 scarabeus Exp $
EAPI="2"
inherit flag-o-matic eutils multilib toolchain-funcs
XEN_EXTFILES_URL="http://xenbits.xensource.com/xen-extfiles"
OCAML_URL=http://caml.inria.fr/pub/distrib
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
$OCAML_URL/ocaml-3.11
"
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"
DEPEND="sys-devel/gettext
sys-devel/gcc"
RDEPEND=">=app-emulation/xen-${PV}"
src_prepare() {
# Drop .config
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 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
sed -i \
-e 's/WGET=.*/WGET=cp -t . /' \
-e "s;\$(XEN_EXTFILES_URL);${DISTDIR};" \
-e 's/$(LD)/$(LD) LDFLAGS=/' \
-e 's;install-grub: pv-grub;install-grub:;' \
"${S}"/stubdom/Makefile || die
# Fix gcc-4.6
sed -i \
-e "s:-Werror::g" \
-i tools/libxc/Makefile \
-i extras/mini-os/minios.mk || die
#Prevent internal downloading
cp $DISTDIR/zlib-1.2.3.tar.gz \
$DISTDIR/pciutils-2.2.9.tar.bz2 \
$DISTDIR/lwip-1.3.0.tar.gz \
$DISTDIR/ocaml-3.11 \
$DISTDIR/newlib-1.16.0.tar.gz \
$DISTDIR/grub-0.97.tar.gz \
./stubdom/ || die "files not coped to stubdom"
einfo "files copied to stubdom"
ls -ld stubdom/zlib-1.2.3.tar.gz
ls -ld stubdom/Makefile || die "stubdom/Makefile could not be adjusted"
sed -e 's:^\t$(WGET) $(LWIP_URL):#\t$(WGET) $(LWIP_URL):' \
-e 's:^\t$(WGET) $(NEWLIB_URL):#\t$(WGET) $(NEWLIB_URL):' \
-e 's:^\t$(WGET) $(ZLIB_URL):#\t$(WGET) $(ZLIB_URL):' \
-e 's:^\t$(WGET) $(LIBPCI_URL):#\t$(WGET) $(LIBPCI_URL):' \
-e 's:^\t$(WGET) $(OCAML_URL):#\t$(WGET) $(OCAML_URL):' \
-e 's:^\t$(WGET) $(GRUB_URL):#$(WGET) $(GRUB_URL):' \
-i stubdom/Makefile || die "stubdom/Makefile could not be adjusted"
einfo "1st Makefile adjusted"
}
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) -C tools/include || die "prepare libelf headers failed"
if use x86; then
emake -j1 CC=$(tc-getCC) LD=$(tc-getLD) \
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub || \
die "compile pv-grub_x86_32 failed"
fi
if use amd64; then
emake -j1 CC=$(tc-getCC) LD=$(tc-getLD) \
XEN_TARGET_ARCH="x86_64" -C stubdom pv-grub || \
die "compile pv-grub_x86_64 failed"
if use multilib; then
multilib_toolchain_setup x86
emake -j1 XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub || die "compile pv-grub_x86_32 failed"
fi
fi
}
src_install() {
if use x86; then
emake -j1 XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub || die "install pv-grub_x86_32 failed"
fi
if use amd64; then
emake -j1 XEN_TARGET_ARCH="x86_64" DESTDIR="${D}" -C stubdom install-grub || die "install pv-grub_x86_64 failed"
if use multilib; then
emake -j1 XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub || die "install pv-grub_x86_32 failed"
fi
fi
}
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/"
}

@ -1,127 +0,0 @@
# Copyright 1999-2012 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.1.2.ebuild,v 1.4 2012/12/04 16:31:20 idella4 Exp $
EAPI="2"
inherit flag-o-matic eutils multilib toolchain-funcs
XEN_EXTFILES_URL="http://xenbits.xensource.com/xen-extfiles"
OCAML_URL=http://caml.inria.fr/pub/distrib
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
$OCAML_URL/ocaml-3.11
"
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"
DEPEND="sys-devel/gettext
sys-devel/gcc"
RDEPEND=">=app-emulation/xen-${PV}"
src_prepare() {
# Drop .config
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 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
sed -i \
-e 's/WGET=.*/WGET=cp -t . /' \
-e "s;\$(XEN_EXTFILES_URL);${DISTDIR};" \
-e 's/$(LD)/$(LD) LDFLAGS=/' \
-e 's;install-grub: pv-grub;install-grub:;' \
"${S}"/stubdom/Makefile || die
# Fix gcc-4.6
sed -i \
-e "s:-Werror::g" \
-i tools/libxc/Makefile \
-i extras/mini-os/minios.mk || die
#Prevent internal downloading
cp $DISTDIR/zlib-1.2.3.tar.gz \
$DISTDIR/pciutils-2.2.9.tar.bz2 \
$DISTDIR/lwip-1.3.0.tar.gz \
$DISTDIR/ocaml-3.11 \
$DISTDIR/newlib-1.16.0.tar.gz \
$DISTDIR/grub-0.97.tar.gz \
./stubdom/ || die "files not coped to stubdom"
einfo "files copied to stubdom"
sed -e 's:^\t$(WGET) $(LWIP_URL):#\t$(WGET) $(LWIP_URL):' \
-e 's:^\t$(WGET) $(NEWLIB_URL):#\t$(WGET) $(NEWLIB_URL):' \
-e 's:^\t$(WGET) $(ZLIB_URL):#\t$(WGET) $(ZLIB_URL):' \
-e 's:^\t$(WGET) $(LIBPCI_URL):#\t$(WGET) $(LIBPCI_URL):' \
-e 's:^\t$(WGET) $(OCAML_URL):#\t$(WGET) $(OCAML_URL):' \
-e 's:^\t$(WGET) $(GRUB_URL):#$(WGET) $(GRUB_URL):' \
-i stubdom/Makefile || die "stubdom/Makefile could not be adjusted"
}
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)" -C tools/include || die "prepare libelf headers failed"
if use x86; then
emake -j1 CC="$(tc-getCC)" LD="$(tc-getLD)" \
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub || \
die "compile pv-grub_x86_32 failed"
fi
if use amd64; then
emake -j1 CC="$(tc-getCC)" LD="$(tc-getLD)" \
XEN_TARGET_ARCH="x86_64" -C stubdom pv-grub || \
die "compile pv-grub_x86_64 failed"
if use multilib; then
multilib_toolchain_setup x86
emake -j1 \
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub || \
die "compile pv-grub_x86_32 failed"
fi
fi
}
src_install() {
if use x86; then
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub || die "install pv-grub_x86_32 failed"
fi
if use amd64; then
emake XEN_TARGET_ARCH="x86_64" DESTDIR="${D}" -C stubdom install-grub || die "install pv-grub_x86_64 failed"
if use multilib; then
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub || die "install pv-grub_x86_32 failed"
fi
fi
}
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/"
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 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.0-r1.ebuild,v 1.1 2013/01/30 14:12:30 idella4 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-pvgrub/xen-pvgrub-4.2.0-r1.ebuild,v 1.4 2013/02/04 05:52:15 idella4 Exp $
EAPI=4
PYTHON_DEPEND="2:2.6"
@ -24,7 +24,7 @@ DESCRIPTION="allows to boot Xen domU kernels from a menu.lst laying inside guest
HOMEPAGE="http://xen.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE="custom-cflags"
DEPEND="sys-devel/gettext"
@ -73,6 +73,9 @@ src_prepare() {
# Drop .config and Fix gcc-4.6
epatch "${FILESDIR}"/${PN/-pvgrub/}-4-fix_dotconfig-gcc.patch
# fix jobserver in Makefile
epatch "${FILESDIR}"/${PN/-pvgrub/}-4.2.0-jserver.patch
#Sec patch
epatch "${FILESDIR}"/${PN/-pvgrub/}-4-CVE-2012-4544-XSA-25.patch
}
@ -83,12 +86,12 @@ src_compile() {
append-flags -fno-strict-overflow
fi
emake CC="$(tc-getCC)" LD="$(tc-getLD)" -C tools/include
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" -C tools/include
# TODO; fix those -j1
if use x86; then
emake -j1 CC="$(tc-getCC)" LD="$(tc-getLD)" \
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
# TODO; fix those -j1
elif use amd64; then
emake -j1 CC="$(tc-getCC)" LD="$(tc-getLD)" \
XEN_TARGET_ARCH="x86_64" -C stubdom pv-grub

@ -1,110 +0,0 @@
# Copyright 1999-2013 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.0.ebuild,v 1.2 2013/01/30 14:12:30 idella4 Exp $
EAPI=4
inherit flag-o-matic eutils multilib 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"
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"
DEPEND="sys-devel/gettext
sys-devel/gcc"
RDEPEND=">=app-emulation/xen-4.2.0"
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
#Substitute for internal downloading
cp $DISTDIR/zlib-1.2.3.tar.gz \
$DISTDIR/pciutils-2.2.9.tar.bz2 \
$DISTDIR/lwip-1.3.0.tar.gz \
$DISTDIR/newlib-1.16.0.tar.gz \
$DISTDIR/grub-0.97.tar.gz \
./stubdom/ || die "files not coped to stubdom"
# Note: tip to patch grub gentoo style, for review soon. This is around 1/3.
# cp "${WORKDIR}"/patch/{00[3-6]_all_grub*,010_all_grub*,01[3-9]_all_grub*,0[6-7]0_all_grub*} \
# "${WORKDIR}"/patch/{110_all_grub*,300_all_grub*} \
# stubdom/grub.patches/ || die
einfo "files copied to stubdom"
# 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}"/${P/-pvgrub/}-externals.patch
# Drop .config and Fix gcc-4.6
epatch "${FILESDIR}"/${PN/-pvgrub/}-4-fix_dotconfig-gcc.patch
}
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)" -C tools/include
# TODO; fix those -j1
if use x86; then
emake -j1 CC="$(tc-getCC)" LD="$(tc-getLD)" \
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
elif use amd64; then
emake -j1 CC="$(tc-getCC)" LD="$(tc-getLD)" \
XEN_TARGET_ARCH="x86_64" -C stubdom pv-grub
if use multilib; then
multilib_toolchain_setup x86
emake -j1 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 use multilib; then
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
fi
fi
}
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/"
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 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.1-r1.ebuild,v 1.1 2013/01/30 14:12:30 idella4 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-pvgrub/xen-pvgrub-4.2.1-r1.ebuild,v 1.2 2013/02/04 05:52:15 idella4 Exp $
EAPI=4
PYTHON_DEPEND="2:2.6"
@ -86,17 +86,17 @@ src_compile() {
append-flags -fno-strict-overflow
fi
emake CC="$(tc-getCC)" LD="$(tc-getLD)" -C tools/include
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" -C tools/include
if use x86; then
emake CC="$(tc-getCC)" LD="$(tc-getLD)" \
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)" \
XEN_TARGET_ARCH="x86_64" -C stubdom pv-grub
if use multilib; then
multilib_toolchain_setup x86
emake XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
emake CC="$(tc-getCC)" XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
fi
fi
}

@ -1,8 +1,4 @@
DIST ipxe-git-v1.0.0.tar.gz 1996881 SHA256 d3128bfda9a1542049c278755f85bbcbb8441da7bfd702d511ce237fcf86a723 SHA512 6921fb857ca615899a5912d5590ca36b6f46daf828b85edc75461c08a189d9fed71ee74a82e42724da7a1355e45070d28a0a61694b3a4872c3554390e4bb4147 WHIRLPOOL 160e24eea479c9d67a8a5c7c5182864904ee594167f061adc40a3e74974197b6befe2ecdb76af1c101ff1a5697b060dae71dd3f9f969c8e18054526584d57031
DIST ipxe.tar.gz 2867999 SHA256 632ce8c193ccacc3012bd354bdb733a4be126f7c098e111930aa41dad537405c SHA512 c5cb1cdff40d2d71fd3e692a9d0efadf2aa17290daf5195391a1c81ddd9dfc913a8e44d5be2b12be85b2a5565ea31631c99c7053564f2fb2225c80ea0bb0e4a4 WHIRLPOOL 58b7459aaf7323968e2f4d1cdcb563a04a0ee40d7d0e8fc600495baf6914127fbbbcddfb66199cd9f462eb59565b3d1ae90a05b3c771b8f13c2d2dcb6070eebc
DIST seabios-0-20121121.tar.bz2 2199282 SHA256 f7f67181c6c0b4cea3a9db48e2569fdcbbc81b732a2f672079c42fb44153ee62 SHA512 4f886088ebaa911590b8cb19db5c5dbc8f1384d2d5a7c4bf04df083e177513b3123b1839dad744171670eded8b69ce092a774288aec1804d00aa32b1b6778599 WHIRLPOOL f2e62682d7213ee5eaecbc2590637ef36d9c86f746840c0ee758c0c153139f485032ea2cd098c87bb8a2b5f17f91375b8fb65599e3b71b45b1645df85a88887f
DIST xen-4.1.1.tar.gz 10355625 SHA256 246289227507466b5da8b2d0da84a5b0e68a392527b16cde38898d0348890f5b SHA512 0ec84db28af5b1206392b44e2c135859b3393d9c0eb1109f6a983492ba70622a145a08efce54f2943495feb06291d3fd5df9cc8ffea51e6e42aa69450edc87f2 WHIRLPOOL 58d83e71ac0a942830311d7eb5ebc5a7b34b118001f6f607ea7e5d7a959bafd72c9b8b6d010144fdef7417a238382602d948007be90f9ebf583b4d18897344c0
DIST xen-4.1.2.tar.gz 10365786 SHA256 7d9c93057cf480d3f1efa792b19285a84fa3c06060ea5c5c453be00887389b0d SHA512 8f50f238b0b474ec5556279cbd51d704b4365033f2541a5d0376f287b26b7e8f0193172041109d97bb76d35ace3adf71e12f89f5766ff79a8ea861e7282f00d7 WHIRLPOOL 93a4bdd05125ef722464ef682798191c8b3db7228cbc0a27bcbe7932a7776491f90e727e1fcc4a9e7ec3eada7f56c567c07ad61cdda2f514109f702800fe5566
DIST xen-4.2.0.tar.gz 15587687 SHA256 43f4a086e4e0330145a27b7ace8365c42b5afbc95cefadafe067be91bd3e5cfb SHA512 4fb56c79d722fb307bc657f16d02079c6636427e7650c4354193632d38d2d1db8e588f844ff0ca6e757c108ed639a528565ec9fc7c00bb4d5b6fbc9d122d8a70 WHIRLPOOL 369a109375864cb61920b56cf501522051d28513e738f0fd0e7b76244c3e08a8a0a6ff6cf245872d9bbd9c0f22c7da76c9cbc0f852bad6108ca25fd42dc677c0
DIST xen-4.2.1.tar.gz 15593695 SHA256 fb8df5827ce3e2d2d3b078d9e5afde502beb5e7ab9442e51a94087061bd450c6 SHA512 fe27a965e2b34035bd025482eda9fc4d4e82523c929323fd30813367d5ffbe2fa1ed3d7d4479f2632e8b5625972448b7bd6a7768e8dc1dcd1b6747d281cc1a9e WHIRLPOOL 226bbed059541e804f1a44e721023ffbc04bae43000653b1d7d6a9bfec0d9efbf7a48b1b0a7ad3fcb8e34f8b91e1c620c2a8eddf97baad487e9db37d49a58f37
DIST xen-tools-4.1.1-upstream-23104-1976adbf2b80.patch 26848 SHA256 8654c4b587b350baaaea12cde3ef1737dc80088fba281556bf4c714fa4d8111f SHA512 1b2678f1cc0b4a9bf24b6b096ed40132a757594c1c5c877468d4cb0c2fba2193cc6bf5fb55d9a0f6cc81f1bf95913758c67898d8c4398210609a6e4412583df9 WHIRLPOOL 24d544c1c1d435879be8879a69eb096c451299a0d4e07c1407d6eaaa8910c2088f2ca0c618f8c6f02fbffbf745f06c9dd4faa5cc666a069e205a28024ddf77b4

@ -1,347 +0,0 @@
# Copyright 1999-2013 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.1.1-r6.ebuild,v 1.12 2013/01/23 14:07:22 idella4 Exp $
EAPI="3"
PATCH23104="http://dev.gentoo.org/~idella4/${P}-upstream-23104-1976adbf2b80.patch"
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"
XEN_EXTFILES_URL="http://xenbits.xensource.com/xen-extfiles"
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz \
$XEN_EXTFILES_URL/ipxe-git-v1.0.0.tar.gz
$PATCH23104"
S="${WORKDIR}/xen-${PV}"
fi
inherit flag-o-matic eutils multilib python toolchain-funcs ${live_eclass}
DESCRIPTION="Xend daemon and tools"
HOMEPAGE="http://xen.org/"
LICENSE="GPL-2"
SLOT="0"
IUSE="api custom-cflags debug doc flask hvm qemu pygrub screen xend"
CDEPEND="dev-lang/python
dev-python/lxml
sys-libs/zlib
hvm? ( media-libs/libsdl
sys-power/iasl )
api? ( dev-libs/libxml2 net-misc/curl )"
DEPEND="${CDEPEND}
sys-devel/gcc
dev-lang/perl
app-misc/pax-utils
dev-ml/findlib
doc? (
app-doc/doxygen
dev-tex/latex2html
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
sys-devel/dev86
)"
RDEPEND="${CDEPEND}
sys-apps/iproute2
net-misc/bridge-utils
dev-python/pyxml
>=dev-lang/ocaml-3.12.0
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"
QA_EXECSTACK="usr/share/xen/qemu/openbios-sparc32
usr/share/xen/qemu/openbios-sparc64"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
export "CONFIG_LOMOUNT=y"
if use qemu; then
export "CONFIG_IOEMU=y"
else
export "CONFIG_IOEMU=n"
fi
if ! use x86 && ! has x86 $(get_all_abis) && use hvm; then
eerror "HVM (VT-x and AMD-v) cannot be built on this system. An x86 or"
eerror "an amd64 multilib profile is required. Remove the hvm use flag"
eerror "to build xen-tools on your current profile."
die "USE=hvm is unsupported on this system."
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
if use doc && ! has_version "dev-tex/latex2html[png,gif]"; then
# die early instead of later
eerror "USE=doc requires latex2html with image support. Please add"
eerror "'png' and/or 'gif' to your use flags and re-emerge latex2html"
die "latex2html missing both png and gif flags"
fi
if use pygrub && ! has_version "dev-lang/python[ncurses]"; then
eerror "USE=pygrub requires python to be built with ncurses support. Please add"
eerror "'ncurses' to your use flags and re-emerge python"
die "python is missing ncurses flags"
fi
if ! has_version "dev-lang/python[threads]"; then
eerror "Python is required to be built with threading support. Please add"
eerror "'threads' to your use flags and re-emerge python"
die "python is missing threads flags"
fi
use api && export "LIBXENAPI_BINDINGS=y"
use flask && export "FLASK_ENABLE=y"
if use hvm && ! use qemu; then
elog "With qemu disabled, it is not possible to use HVM machines " \
"or PVM machines with a framebuffer attached in the kernel config" \
"The addition of use flag qemu is required when use flag hvm ise selected"
fi
}
src_prepare() {
cp "$DISTDIR/ipxe-git-v1.0.0.tar.gz" tools/firmware/etherboot/ipxe.tar.gz
sed -e 's/-Wall//' -i Config.mk || die "Couldn't sanitize CFLAGS"
# Drop .config
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
# 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 || "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 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
# Disable hvm support on systems that don't support x86_32 binaries.
if ! use hvm; then
chmod 644 tools/check/check_x11_devel
sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile
fi
if ! use pygrub; then
sed -e '/^SUBDIRS-$(PYTHON_TOOLS) += pygrub$/d' -i tools/Makefile
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
sed -e "s:install-tools\: tools/ioemu-dir:install-tools\: :g" \
-i Makefile
fi
# Fix build for gcc-4.6
sed -e "s:-Werror::g" -i tools/xenstat/xentop/Makefile
# Fix network broadcast on bridged networks
epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch"
# Do not strip binaries
epatch "${FILESDIR}/${PN}-3.3.0-nostrip.patch"
# Patch to libxl bug #380343
epatch "${FILESDIR}/${PN}-4.1.1-libxl-tap.patch"
# Patch from bug #382329 for hvmloader
epatch "${DISTDIR}/${PN}-4.1.1-upstream-23104-1976adbf2b80.patch"
# Prevent the downloading of ipxe
sed -e 's:^\tif ! wget -O _$T:#\tif ! wget -O _$T:' \
-e 's:^\tfi:#\tfi:' -i \
-e 's:^\tmv _$T $T:#\tmv _$T $T:' \
-i tools/firmware/etherboot/Makefile || die
# Fix bridge by idella4, bug #362575
epatch "${FILESDIR}/${P}-bridge.patch"
# Patch for curl-config from bug #386487
epatch "${FILESDIR}/${P}-curl.patch" || die
# Don't build ipxe with pie on hardened, Bug #360805
if gcc-specs-pie ; then
epatch "${FILESDIR}/ipxe-nopie.patch" || die "Could not apply ipxe-nopie patch"
fi
sed -e '/texi2html/ s/-number/&-sections/' \
-i tools/ioemu-qemu-xen/Makefile || die #409333
}
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
emake CC="$(tc-getCC)" LD="$(tc-getLD)" -C tools ${myopt} || die "compile failed"
if use doc; then
sh ./docs/check_pkgs || die "package check failed"
emake docs || die "compiling docs failed"
emake dev-docs || die "make dev-docs failed"
fi
emake -C docs man-pages || die "make man-pages failed"
python_convert_shebangs -r 2 "${D}"
}
src_install() {
# Override auto-detection in the build system, bug #382573
export INITD_DIR=/etc/init.d
export CONFIG_LEAF_DIR=default
make DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" XEN_PYTHON_NATIVE_INSTALL=y install-tools \
|| die "install failed"
# Remove RedHat-specific stuff
rm -r "${D}"/etc/init.d/xen* "${D}"/etc/default || 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
dodoc README docs/README.xen-bugtool docs/ChangeLog
if use doc; then
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs \
|| die "install docs failed"
dohtml -r docs/api/
docinto pdf
dodoc docs/api/tools/python/latex/refman.pdf
[ -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 \
|| die "Couldn't install xendomains.confd"
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains \
|| die "Couldn't install xendomains.initd"
newinitd "${FILESDIR}"/xenstored.initd xenstored \
|| die "Couldn't install xenstored.initd"
newconfd "${FILESDIR}"/xenstored.confd xenstored \
|| die "Couldn't install xenstored.confd"
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled \
|| die "Couldn't install xenconsoled.initd"
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled \
|| die "Couldn't install xenconsoled.confd"
if use screen; then
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/
keepdir /var/log/xen-consoles
fi
# xend expects these to exist
keepdir /var/run/xenstored /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen
# for xendomains
keepdir /etc/xen/auto
}
pkg_postinst() {
elog "Official Xen Guide and the unoffical wiki page:"
elog " http://www.gentoo.org/doc/en/xen-guide.xml"
elog " http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo"
if [[ "$(scanelf -s __guard -q $(type -P 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 probablem may be resolved as of Xen 3.0.4, if not post in the bug."
fi
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 multilib system is required to build HVM support."
echo
elog "The qemu use flag has been removed and replaced with hvm."
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
python_mod_optimize $(use pygrub && echo grub) xen
}
pkg_postrm() {
python_mod_cleanup $(use pygrub && echo grub) xen
}

@ -1,328 +0,0 @@
# Copyright 1999-2013 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.1.2-r3.ebuild,v 1.5 2013/01/21 22:18:07 ssuominen Exp $
EAPI="4"
PYTHON_DEPEND="2"
PYTHON_USE_WITH="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"
XEN_EXTFILES_URL="http://xenbits.xensource.com/xen-extfiles"
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz \
$XEN_EXTFILES_URL/ipxe-git-v1.0.0.tar.gz"
S="${WORKDIR}/xen-${PV}"
fi
inherit flag-o-matic eutils multilib python toolchain-funcs ${live_eclass}
DESCRIPTION="Xend daemon and tools"
HOMEPAGE="http://xen.org/"
DOCS=( README docs/README.xen-bugtool docs/ChangeLog )
LICENSE="GPL-2"
SLOT="0"
IUSE="api custom-cflags debug doc flask hvm qemu pygrub screen selinux xend"
REQUIRED_USE="hvm? ( qemu )"
QA_PRESTRIPPED="/usr/share/xen/qemu/openbios-ppc \
/usr/share/xen/qemu/openbios-sparc64 \
/usr/share/xen/qemu/openbios-sparc32"
QA_WX_LOAD=${QA_PRESTRIPPED}
CDEPEND="<dev-libs/yajl-2
dev-python/lxml
dev-python/pypam
dev-python/pyxml
sys-libs/zlib
hvm? ( media-libs/libsdl
sys-power/iasl )
api? ( dev-libs/libxml2 net-misc/curl )"
DEPEND="${CDEPEND}
sys-devel/gcc
dev-lang/perl
app-misc/pax-utils
dev-ml/findlib
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
sys-devel/dev86
) pygrub? ( dev-lang/python[ncurses] )
"
RDEPEND="${CDEPEND}
sys-apps/iproute2
net-misc/bridge-utils
>=dev-lang/ocaml-3.12.0
screen? (
app-misc/screen
app-admin/logrotate
)
virtual/udev
selinux? ( sec-policy/selinux-xen )"
# hvmloader is used to bootstrap a fully virtualized kernel
# Approved by QA team in bug #144032
QA_WX_LOAD="usr/lib/xen/boot/hvmloader"
QA_EXECSTACK="usr/share/xen/qemu/openbios-sparc32
usr/share/xen/qemu/openbios-sparc64"
RESTRICT="test"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
export "CONFIG_LOMOUNT=y"
if use qemu; then
export "CONFIG_IOEMU=y"
else
export "CONFIG_IOEMU=n"
fi
if ! use x86 && ! has x86 $(get_all_abis) && use hvm; then
eerror "HVM (VT-x and AMD-v) cannot be built on this system. An x86 or"
eerror "an amd64 multilib profile is required. Remove the hvm use flag"
eerror "to build xen-tools on your current profile."
die "USE=hvm is unsupported on this system."
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() {
cp "$DISTDIR/ipxe-git-v1.0.0.tar.gz" tools/firmware/etherboot/ipxe.tar.gz
sed -e 's/-Wall//' -i Config.mk || die "Couldn't sanitize CFLAGS"
# Drop .config
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
# 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" || die
sed -e 's:^XEND_INITD:#XEND_INITD:' \
-i tools/examples/Makefile || "Disabling xend failed" || die
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
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
chmod 644 tools/check/check_x11_devel
sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
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 build for gcc-4.6
sed -e "s:-Werror::g" -i tools/xenstat/xentop/Makefile || die
# Fix network broadcast on bridged networks
epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch"
# Do not strip binaries
epatch "${FILESDIR}/${PN}-3.3.0-nostrip.patch"
# Prevent the downloading of ipxe
sed -e 's:^\tif ! wget -O _$T:#\tif ! wget -O _$T:' \
-e 's:^\tfi:#\tfi:' -i \
-e 's:^\tmv _$T $T:#\tmv _$T $T:' \
-i tools/firmware/etherboot/Makefile || die
# Fix bridge by idella4, bug #362575
epatch "${FILESDIR}/${PN}-4.1.1-bridge.patch"
# Remove check_curl, new fix to Bug #386487
epatch "${FILESDIR}/${PN}-4.1.1-curl.patch"
sed -i -e 's|has_or_fail curl-config|has_or_fail curl-config\nset -ux|' \
tools/check/check_curl || die
# Don't build ipxe with pie on hardened, Bug #360805
if gcc-specs-pie; then
epatch "${FILESDIR}/ipxe-nopie.patch"
fi
# Fix create.py for pyxml Bug 367735
epatch "${FILESDIR}/xen-tools-4.1.2-pyxml.patch"
sed -e '/texi2html/ s/-number/&-sections/' \
-i tools/ioemu-qemu-xen/Makefile || die #409333
}
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
emake CC=$(tc-getCC) LD=$(tc-getLD) -C tools ${myopt}
if use doc; then
sh ./docs/check_pkgs || die "package check failed"
emake docs
emake dev-docs
fi
emake -C docs man-pages
}
src_install() {
# Override auto-detection in the build system, bug #382573
export INITD_DIR=/etc/init.d
export CONFIG_LEAF_DIR=default
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" XEN_PYTHON_NATIVE_INSTALL=y install-tools
python_convert_shebangs -r 2 "${ED}"
# Remove RedHat-specific stuff
rm -rf "${ED}"/etc/init.d/xen* "${ED}"/etc/default || 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
# dodoc README docs/README.xen-bugtool docs/ChangeLog
if use doc; then
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" install-docs
dohtml -r docs/api/
docinto pdf
dodoc ${DOCS[@]}
#docs/api/tools/python/latex/refman.pdf
[ -d "${ED}"/usr/share/doc/xen ] && mv "${ED}"/usr/share/doc/xen/* "${ED}"/usr/share/doc/${PF}/html
fi
rm -rf "${ED}"/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
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
python_convert_shebangs -r 2 "${ED}"
# xend expects these to exist
keepdir /var/run/xenstored /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen
# for xendomains
keepdir /etc/xen/auto
}
pkg_postinst() {
elog "Official Xen Guide and the unoffical wiki page:"
elog " http://www.gentoo.org/doc/en/xen-guide.xml"
elog " http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo"
if [[ "$(scanelf -s __guard -q $(type -P 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 probablem may be resolved as of Xen 3.0.4, if not post in the bug."
fi
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 multilib system is required to build HVM support."
echo
elog "The qemu use flag has been removed and replaced with hvm."
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
python_mod_optimize $(use pygrub && echo grub) xen
}
pkg_postrm() {
python_mod_cleanup $(use pygrub && echo grub) xen
}

@ -1,348 +0,0 @@
# Copyright 1999-2013 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.0-r2.ebuild,v 1.8 2013/01/31 17:57:10 idella4 Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
PYTHON_REQ_USE='xml,threads'
IPXE_TARBALL_URL="http://dev.gentoo.org/~idella4/tarballs/ipxe.tar.gz"
XEN_SEABIOS_URL="http://dev.gentoo.org/~idella4/tarballs/seabios-0-20121121.tar.bz2"
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"
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
$IPXE_TARBALL_URL
$XEN_SEABIOS_URL"
S="${WORKDIR}/xen-${PV}"
fi
inherit flag-o-matic eutils 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 pygrub screen static-libs xend"
REQUIRED_USE="hvm? ( qemu )"
CDEPEND="<dev-libs/yajl-2
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/pypam[${PYTHON_USEDEP}]
dev-python/pyxml[${PYTHON_USEDEP}]
sys-libs/zlib
sys-power/iasl
dev-ml/findlib
hvm? ( media-libs/libsdl )
api? ( dev-libs/libxml2 net-misc/curl )
${PYTHON_DEPS}
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )"
DEPEND="${CDEPEND}
sys-devel/bin86
sys-devel/dev86
dev-lang/perl
app-misc/pax-utils
dev-ml/findlib
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
sys-devel/dev86
)
"
RDEPEND="${CDEPEND}
sys-apps/iproute2
net-misc/bridge-utils
>=dev-lang/ocaml-3.12.0
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; then
export "CONFIG_GCRYPT=y"
fi
if use qemu; then
export "CONFIG_IOEMU=y"
else
export "CONFIG_IOEMU=n"
fi
if ! use x86 && ! has x86 $(get_all_abis) && use hvm; then
eerror "HVM (VT-x and AMD-v) cannot be built on this system. An x86 or"
eerror "an amd64 multilib profile is required. Remove the hvm use flag"
eerror "to build xen-tools on your current profile."
die "USE=hvm is unsupported on this system."
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() {
sed -e 's/-Wall//' -i Config.mk || die "Couldn't sanitize CFLAGS"
# Drop .config
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
# 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
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 build for gcc-4.6
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
-exec sed -e "s:-Werror::g" -i {} + || die "Failed to remove -Werror"
# Fix texi2html build error with new texi2html
sed -r -e "s:(texi2html.*) -number:\1:" \
-i tools/qemu-xen-traditional/Makefile || die
# Fix network broadcast on bridged networks
epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch"
# Prevent the downloading of ipxe, seabios
epatch "${FILESDIR}"/${P/-tools/}-anti-download.patch
cp "${DISTDIR}"/ipxe.tar.gz tools/firmware/etherboot/ || die
mv ../seabios-dir-remote tools/firmware/ || die
pushd tools/firmware/ > /dev/null
ln -s seabios-dir-remote seabios-dir || die
popd > /dev/null
# 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}"/${P/-tools/}-nostrip.patch
# fix jobserver in Makefile
epatch "${FILESDIR}"/${P/-tools/}-jserver.patch
}
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 CC="$(tc-getCC)" LD="$(tc-getLD)" -C tools ${myopt}
if use doc; then
sh ./docs/check_pkgs || die "package check failed"
emake docs
emake dev-docs
fi
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 "${ED}"
# Remove RedHat-specific stuff
rm -rf "${ED}"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
if use doc; then
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" install-docs
dohtml -r docs/api/
docinto pdf
dodoc ${DOCS[@]}
[ -d "${ED}"/usr/share/doc/xen ] && mv "${ED}"/usr/share/doc/xen/* "${ED}"/usr/share/doc/${PF}/html
fi
rm -rf "${ED}"/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
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
# For -static-libs wrt Bug 384355
if ! use static-libs; then
rm -f "${ED}"usr/$(get_libdir)/*.a "${ED}"usr/$(get_libdir)/ocaml/*/*.a
fi
# xend expects these to exist
keepdir /var/run/xenstored /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen
# for xendomains
keepdir /etc/xen/auto
# Temp QA workaround
dodir "$(udev_get_udevdir)"
mv "${ED}"/etc/udev/* "${ED}/$(udev_get_udevdir)"
rm -rf "${ED}"/etc/udev
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
find "${ED}" \( -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 unoffical wiki page:"
elog " http://www.gentoo.org/doc/en/xen-guide.xml"
elog " http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo"
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 multilib system is required to build HVM support."
echo
elog "The qemu use flag has been removed and replaced with hvm."
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
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 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.0-r3.ebuild,v 1.3 2013/02/01 13:24:26 idella4 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.2.0-r3.ebuild,v 1.5 2013/02/02 21:17:06 ago Exp $
EAPI=5
@ -17,7 +17,7 @@ if [[ $PV == *9999 ]]; then
S="${WORKDIR}/${REPO}"
live_eclass="mercurial"
else
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
$IPXE_TARBALL_URL
$XEN_SEABIOS_URL"

@ -1,4 +1,2 @@
DIST xen-4.1.1.tar.gz 10355625 SHA256 246289227507466b5da8b2d0da84a5b0e68a392527b16cde38898d0348890f5b SHA512 0ec84db28af5b1206392b44e2c135859b3393d9c0eb1109f6a983492ba70622a145a08efce54f2943495feb06291d3fd5df9cc8ffea51e6e42aa69450edc87f2 WHIRLPOOL 58d83e71ac0a942830311d7eb5ebc5a7b34b118001f6f607ea7e5d7a959bafd72c9b8b6d010144fdef7417a238382602d948007be90f9ebf583b4d18897344c0
DIST xen-4.1.2.tar.gz 10365786 SHA256 7d9c93057cf480d3f1efa792b19285a84fa3c06060ea5c5c453be00887389b0d SHA512 8f50f238b0b474ec5556279cbd51d704b4365033f2541a5d0376f287b26b7e8f0193172041109d97bb76d35ace3adf71e12f89f5766ff79a8ea861e7282f00d7 WHIRLPOOL 93a4bdd05125ef722464ef682798191c8b3db7228cbc0a27bcbe7932a7776491f90e727e1fcc4a9e7ec3eada7f56c567c07ad61cdda2f514109f702800fe5566
DIST xen-4.2.0.tar.gz 15587687 SHA256 43f4a086e4e0330145a27b7ace8365c42b5afbc95cefadafe067be91bd3e5cfb SHA512 4fb56c79d722fb307bc657f16d02079c6636427e7650c4354193632d38d2d1db8e588f844ff0ca6e757c108ed639a528565ec9fc7c00bb4d5b6fbc9d122d8a70 WHIRLPOOL 369a109375864cb61920b56cf501522051d28513e738f0fd0e7b76244c3e08a8a0a6ff6cf245872d9bbd9c0f22c7da76c9cbc0f852bad6108ca25fd42dc677c0
DIST xen-4.2.1.tar.gz 15593695 SHA256 fb8df5827ce3e2d2d3b078d9e5afde502beb5e7ab9442e51a94087061bd450c6 SHA512 fe27a965e2b34035bd025482eda9fc4d4e82523c929323fd30813367d5ffbe2fa1ed3d7d4479f2632e8b5625972448b7bd6a7768e8dc1dcd1b6747d281cc1a9e WHIRLPOOL 226bbed059541e804f1a44e721023ffbc04bae43000653b1d7d6a9bfec0d9efbf7a48b1b0a7ad3fcb8e34f8b91e1c620c2a8eddf97baad487e9db37d49a58f37

@ -1,121 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.1.1-r2.ebuild,v 1.10 2012/12/04 19:24:19 scarabeus Exp $
EAPI="4"
inherit eutils mount-boot flag-o-matic toolchain-funcs
if [[ $PV == *9999 ]]; then
KEYWORDS=""
REPO="xen-unstable.hg"
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
S="${WORKDIR}/${REPO}"
inherit mercurial
else
KEYWORDS="amd64 x86"
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz"
fi
DESCRIPTION="The Xen virtual machine monitor"
HOMEPAGE="http://xen.org/"
LICENSE="GPL-2"
SLOT="0"
IUSE="custom-cflags debug flask pae xsm"
RDEPEND="|| ( sys-boot/grub
sys-boot/grub-static )"
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() {
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() {
# Drop .config
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 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 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 */ /' || die "failed to remove -Werror"
# not strictly necessary to fix this
sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to remove -Werror on setup.py"
# Add sccurity fix bug #379241
epatch "${FILESDIR}/${P}-iommu_sec_fix.patch"
}
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"
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/"
if use pae; then
echo
ewarn "This is a PAE build of Xen. It will *only* boot PAE kernels!"
fi
}

@ -1,120 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.1.2.ebuild,v 1.2 2011/11/07 17:34:55 alexxy Exp $
EAPI="4"
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"
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz"
fi
inherit mount-boot flag-o-matic toolchain-funcs ${live_eclass}
DESCRIPTION="The Xen virtual machine monitor"
HOMEPAGE="http://xen.org/"
LICENSE="GPL-2"
SLOT="0"
IUSE="custom-cflags debug flask pae xsm"
RDEPEND="|| ( sys-boot/grub
sys-boot/grub-static )"
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() {
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() {
# Drop .config
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 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"
}
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"
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${ED}" -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/"
if use pae; then
echo
ewarn "This is a PAE build of Xen. It will *only* boot PAE kernels!"
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.2.0-r1.ebuild,v 1.2 2013/01/31 15:43:53 idella4 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.2.0-r1.ebuild,v 1.4 2013/02/02 21:16:34 ago Exp $
EAPI=5
@ -13,7 +13,7 @@ if [[ $PV == *9999 ]]; then
S="${WORKDIR}/${REPO}"
live_eclass="mercurial"
else
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz"
fi

@ -2,9 +2,6 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>forensics</herd>
<maintainer>
<email>matsuu@gentoo.org</email>
</maintainer>
<use>
<flag name='audit'>Enable support for <pkg>sys-process/audit</pkg></flag>
<flag name='prelink'>Enable support for <pkg>sys-devel/prelink</pkg></flag>

@ -2,10 +2,6 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>cjk</herd>
<maintainer>
<email>qiaomuf@gentoo.org</email>
<name>Mu Qiao</name>
</maintainer>
<upstream>
<remote-id type="google-code">fcitx</remote-id>
</upstream>

@ -2,10 +2,6 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>cjk</herd>
<maintainer>
<email>qiaomuf@gentoo.org</email>
<name>Mu Qiao</name>
</maintainer>
<use>
<flag name="gtk3">Use GTK+3 instead of 2</flag>
</use>

@ -2,10 +2,6 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>cjk</herd>
<maintainer>
<email>qiaomuf@gentoo.org</email>
<name>Mu Qiao</name>
</maintainer>
<upstream>
<remote-id type="google-code">fcitx</remote-id>
</upstream>

@ -2,10 +2,6 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>cjk</herd>
<maintainer>
<email>qiaomuf@gentoo.org</email>
<name>Mu Qiao</name>
</maintainer>
<upstream>
<remote-id type="google-code">sunpinyin</remote-id>
</upstream>

@ -2,10 +2,6 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>cjk</herd>
<maintainer>
<email>qiaomuf@gentoo.org</email>
<name>Mu Qiao</name>
</maintainer>
<upstream>
<remote-id type="google-code">sunpinyin</remote-id>
</upstream>

@ -3,8 +3,7 @@
<pkgmetadata>
<herd>shell-tools</herd>
<maintainer>
<email>weaver@gentoo.org</email>
<name>Andrey Kislyuk</name>
<email>maintainer-needed@gentoo.org</email>
</maintainer>
<longdescription>
Byobu is a GPLv3 open source text-based window manager and terminal multiplexer.

@ -1,2 +1 @@
DIST esekeyd-1.2.1.tar.gz 102629 SHA256 3446d603a86bf2ac381aa5219ae1af4bd83d938abc2488cd047e377f5984eaac SHA512 82f68c198e63a535cd796b906074aa45cab3ac3d60e27bc26c9387112114328f08ba4699a74a134c32f9f2e1adec65618b7468283f4a559567b78d5da87e98fc WHIRLPOOL d82bd8afa1a92e4fa57d7990d25cb96cf26af6086b79505b418312d47f5f6c9909b8a90b0e0ff3d942de593a4e6885c3cd7296f2d16e63cc81f90894dc9a2312
DIST esekeyd-1.2.6.tar.gz 102077 SHA256 3c7ac45d93400dbe962001ba1862cc12f2af5fd40734d3d9978e1c8bedb64fb8 SHA512 04dd41d155c39ff4d2c3931a9aed647f2e767173157aef317217a9eb1cab4021dfb4603798f591b2fec1cb47b72b680698d6518e24425b6c8671fa4ebadd6652 WHIRLPOOL ad5168e3a32ab9e1ad58a4afef6ac3679930b8e0c0f040094ed41fc6e1c8bb2e6130a489ed0ae3c55f020af90f46eeea2d3748ec2218138b936167895c36510b

@ -1,21 +0,0 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/esekeyd/esekeyd-1.2.1.ebuild,v 1.6 2006/11/05 23:59:11 opfer Exp $
DESCRIPTION="Multimedia key daemon that uses the Linux event interface"
HOMEPAGE="http://www.majdom.com/~einstein/#esekeydaemon"
LICENSE="GPL-2"
SRC_URI="http://www.majdom.com/~einstein/files/${P}.tar.gz"
SLOT="0"
KEYWORDS="amd64 ~ppc ~x86"
IUSE=""
DEPEND=""
src_install() {
make DESTDIR="${D}" install || die
dodoc ChangeLog AUTHORS README TODO examples/example.conf NEWS
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save