Browse Source

Sync with portage [Sun Feb 9 01:30:53 MSK 2014].

mhiretskiy
root 8 years ago
parent
commit
82e66cb96e
  1. 5
      app-accessibility/emacspeak/Manifest
  2. 40
      app-accessibility/emacspeak/emacspeak-30.0.ebuild
  3. 43
      app-accessibility/emacspeak/emacspeak-31.0.ebuild
  4. 48
      app-accessibility/emacspeak/emacspeak-33.0.ebuild
  5. 62
      app-accessibility/emacspeak/emacspeak-38.0.ebuild
  6. 11
      app-accessibility/emacspeak/files/emacspeak-33.0-greader-garbage.patch
  7. 57
      app-accessibility/emacspeak/files/emacspeak-33.0-respect-ldflags.patch
  8. 1
      app-accessibility/espeak/Manifest
  9. 72
      app-accessibility/espeak/espeak-1.45.04.ebuild
  10. 4
      app-admin/eselect/eselect-1.4.ebuild
  11. 1
      app-admin/logcheck/Manifest
  12. 52
      app-admin/logcheck/logcheck-1.3.16.ebuild
  13. 4
      app-arch/cpio/cpio-2.11-r1.ebuild
  14. 4
      app-arch/lz4/lz4-0_p106-r1.ebuild
  15. 4
      app-arch/tar/tar-1.27.1-r1.ebuild
  16. 1
      app-arch/unrar/Manifest
  17. 56
      app-arch/unrar/unrar-5.0.14.ebuild
  18. 6
      app-crypt/gnupg/gnupg-1.4.16.ebuild
  19. 1
      app-dicts/myspell-de-alt/Manifest
  20. 37
      app-dicts/myspell-de-alt/myspell-de-alt-20120929.ebuild
  21. 4
      app-dicts/verbiste/verbiste-0.1.38.ebuild
  22. 88
      app-emulation/emul-linux-x86-baselibs/emul-linux-x86-baselibs-20131008-r14.ebuild
  23. 248
      app-emulation/emul-linux-x86-baselibs/files/remove-native-20131008-r14
  24. 171
      app-emulation/xen-tools/files/xen-4-CVE-XSA-86.patch
  25. 429
      app-emulation/xen-tools/xen-tools-4.3.1-r4.ebuild
  26. 143
      app-emulation/xen/xen-4.3.1-r4.ebuild
  27. 2
      app-misc/anki/Manifest
  28. 6
      app-misc/anki/anki-2.0.22.ebuild
  29. 4
      app-misc/zisofs-tools/zisofs-tools-1.0.8.ebuild
  30. 6
      app-office/homebank/homebank-4.5.4.ebuild
  31. 6
      app-office/homebank/homebank-4.5.ebuild
  32. 167
      app-office/libreoffice-l10n/Manifest
  33. 94
      app-office/libreoffice-l10n/libreoffice-l10n-4.2.0.4.ebuild
  34. 4
      app-office/libreoffice-l10n/metadata.xml
  35. 2
      app-office/libreoffice/Manifest
  36. 60
      app-office/libreoffice/files/libreoffice-4.2.0.4-curl-config.patch
  37. 4
      app-office/libreoffice/libreoffice-4.1.4.2.ebuild
  38. 589
      app-office/libreoffice/libreoffice-4.2.0.4.ebuild
  39. 4
      app-office/libreoffice/libreoffice-4.2.9999.ebuild
  40. 6
      app-pda/gnupod/gnupod-0.99.8-r1.ebuild
  41. 52
      app-pda/gnupod/gnupod-0.99.8.ebuild
  42. 1
      app-text/djvu/Manifest
  43. 90
      app-text/djvu/djvu-3.5.24-r1.ebuild
  44. 6
      app-text/libebook/libebook-0.0.2.ebuild
  45. 4
      dev-db/mysql-workbench/Manifest
  46. 94
      dev-db/mysql-workbench/mysql-workbench-5.2.45.ebuild
  47. 94
      dev-db/mysql-workbench/mysql-workbench-5.2.46.ebuild
  48. 9
      dev-db/mysql-workbench/mysql-workbench-6.0.9.ebuild
  49. 1
      dev-db/redis/Manifest
  50. 109
      dev-db/redis/redis-2.8.5.ebuild
  51. 6
      dev-java/burlap/burlap-3.0.8-r3.ebuild
  52. 6
      dev-java/jacl/jacl-1.3.3.ebuild
  53. 1
      dev-java/jaxme/Manifest
  54. 90
      dev-java/jaxme/jaxme-0.3.1-r4.ebuild
  55. 16
      dev-java/jikes/jikes-1.22-r13.ebuild
  56. 6
      dev-java/jtidy/jtidy-0_pre20010801-r1.ebuild
  57. 6
      dev-lang/icon/icon-9.5.0.ebuild
  58. 4
      dev-lang/php/Manifest
  59. 4
      dev-lang/php/php-5.3.28-r1.ebuild
  60. 4
      dev-lang/php/php-5.3.28-r2.ebuild
  61. 4
      dev-lang/php/php-5.3.28.ebuild
  62. 4
      dev-lang/php/php-5.4.23.ebuild
  63. 4
      dev-lang/php/php-5.4.24-r1.ebuild
  64. 4
      dev-lang/php/php-5.4.24.ebuild
  65. 33
      dev-lang/php/php-5.4.25.ebuild
  66. 6
      dev-lang/php/php-5.5.2.ebuild
  67. 252
      dev-lang/php/php-5.5.9.ebuild
  68. 5
      dev-lang/python/python-3.3.3.ebuild
  69. 4
      dev-libs/elfutils/elfutils-0.158.ebuild
  70. 57
      dev-libs/ffcall/ffcall-1.10-r4.ebuild
  71. 1
      dev-libs/libgit2-glib/Manifest
  72. 36
      dev-libs/libgit2-glib/libgit2-glib-0.0.10.ebuild
  73. 65
      dev-libs/libgit2/libgit2-0.20.0-r1.ebuild
  74. 12
      dev-libs/libxls/libxls-0.3.0_pre107.ebuild
  75. 4
      dev-libs/libyaml/libyaml-0.1.5.ebuild
  76. 4
      dev-libs/xmlwrapp/xmlwrapp-0.7.1.ebuild
  77. 6
      dev-perl/IO-Socket-INET6/IO-Socket-INET6-2.710.0.ebuild
  78. 23
      dev-perl/IO-Socket-INET6/IO-Socket-INET6-2.720.0.ebuild
  79. 2
      dev-perl/IO-Socket-INET6/Manifest
  80. 1
      dev-perl/NetAddr-IP/Manifest
  81. 26
      dev-perl/NetAddr-IP/NetAddr-IP-4.72.0.ebuild
  82. 4
      dev-perl/Spreadsheet-WriteExcel/Spreadsheet-WriteExcel-2.390.0.ebuild
  83. 1
      dev-perl/WWW-Dict-Leo-Org/Manifest
  84. 31
      dev-perl/WWW-Dict-Leo-Org/WWW-Dict-Leo-Org-1.370.0.ebuild
  85. 3
      dev-perl/log-dispatch/Manifest
  86. 26
      dev-perl/log-dispatch/log-dispatch-2.320.0.ebuild
  87. 26
      dev-perl/log-dispatch/log-dispatch-2.340.0.ebuild
  88. 26
      dev-perl/log-dispatch/log-dispatch-2.350.0.ebuild
  89. 6
      dev-perl/log-dispatch/log-dispatch-2.410.0.ebuild
  90. 1
      dev-python/boto/Manifest
  91. 25
      dev-python/boto/boto-2.25.0.ebuild
  92. 1
      dev-python/ipaddr/Manifest
  93. 32
      dev-python/ipaddr/ipaddr-2.1.11.ebuild
  94. 1
      dev-python/m2crypto/Manifest
  95. 69
      dev-python/m2crypto/m2crypto-0.22.3.ebuild
  96. 4
      dev-python/numpy/numpy-1.8.0-r1.ebuild
  97. 6
      dev-python/pyasn1-modules/pyasn1-modules-0.0.5.ebuild
  98. 1
      dev-python/python-levenshtein/Manifest
  99. 38
      dev-python/python-levenshtein/python-levenshtein-0.11.2.ebuild
  100. 1
      dev-python/rackspace-monitoring-cli/Manifest

5
app-accessibility/emacspeak/Manifest

@ -1,6 +1 @@
DIST emacspeak-30.0-patches.tar.bz2 1609 SHA256 771c894533f60a2d4fe352255c7d50a2b411fd5f47635d83c95898d41eab3a14 SHA512 1c51fc7915107a58465e7892b64cd10232977ffd1c6a04b0a30ebd484d7c650c69e13fc7a1061459e185b24a6e06b96941e2074c4dbd046fd4cc8343aac3a7b2 WHIRLPOOL 8a04e6e838d7020bf45d3e25da3d348d8e52d99547ac591c76db76e5b9743ef67fdbe3667f9b6c6ca4c178c990b03f1c111cdacdd72572fd67fb5f1eb7115789
DIST emacspeak-30.0.tar.bz2 1662093 SHA256 1b7d28beaf8cd5b5b5a4d63e813896b51e907dd125e992fbfc85df05feb03e3c SHA512 65c2e26dd935e98d2e01deaec23ffdd6bbbe51df2df44401ef443789d9f32141a93631d5456c0863b20712a688faed247086ddb56ea2c8aafebfb4e21d6077d0 WHIRLPOOL 58373b1bdb7a1b0f72b63ee2f61ed3ae64db9ed5706dcd99e8e42990d8a148c2b534ad0d0a371dd2dbce4f825d09bdf4cb2a42f4ba514cdf339f928ca6d7320b
DIST emacspeak-31.0.tar.bz2 1668085 SHA256 2b759ced3fa509ae8773c832f01b1000ea0b726c3fbe40ac1e72ad3f603049af SHA512 56e179c5e64242b2e8c7cc5690ed7592e78b91a3246fc9a23f33172b25a1e972383a59d4b833b95dcf962346beed3d86d49676558366d2eef3a6e479b01239a8 WHIRLPOOL 4895918deb0609c36c8b49603c510366503f248ec2f00b528ce61ea56e23cd09377c793345685ffbf221811f7b890a4f472f7ee27cfedca5edb8399d549d414a
DIST emacspeak-33.0.tar.bz2 6996664 SHA256 27810e45d29942bf4af23178db6a8947b5f38162445a5b99e6fa9c2eca3f0e9c SHA512 6eafc788ad472c425d26301dd6948222c52c2b2b49bb6b14b19c0c4620cef5de87fdee2a531be3a963c883562461744458aed9e123a9512c2a2945dab73ef4a2 WHIRLPOOL cb9b11c475498137844ef47e502f76f83d1e9b8b63de2f8bfd6b8711b14d759468a967347613dac168fe0acf45bf5df11ac53dcb192b9455188cd1940f1d822f
DIST emacspeak-38.0.tar.bz2 4957271 SHA256 e06223b1d85b988bb641d99e07557a9d8cfc3f53ec8b5b4e29a5d72a7cf6eecb SHA512 f6cdb8f8e105e3d0fffeebe1be6791d554c042bd46d57a0a80decf4eb632aca8e00a65d4d328644907b4141ac2850ca56175fa54967ea463185417d233a621d2 WHIRLPOOL a385f39bf4bd4cdf2b8aa0927316c7ed71500a27d61b32700c12eeeecae32f8ea7ba3994e861ed252bd4e059a248d9b2226abf09330f5015b0afdc786045fbcb
DIST emacspeak-39.0.tar.bz2 4989631 SHA256 aff805271ea02ad7e08c121d42886d1a774d1b58a42bf2c570cc6722b903fc71 SHA512 c0a0c503d6ccc2abb53a8be580997b44e0449c2225e8a64cee73c24d69a28c3f47c0e660a95a6e77dd4d660272ad562ff747ce3c0a989f8fe7c8171f60349173 WHIRLPOOL 9f4c3cdd2d2695b7351f83733454afcdfe569921f8d304447132a973fa9a02b572ee149a7b0d0ee0b914c00e37fcacb26aaef270f8fa43a93b528591af12e862

40
app-accessibility/emacspeak/emacspeak-30.0.ebuild

@ -1,40 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/emacspeak/emacspeak-30.0.ebuild,v 1.5 2009/11/01 18:46:55 eva Exp $
EAPI="2"
inherit eutils
DESCRIPTION="the emacspeak audio desktop"
HOMEPAGE="http://emacspeak.sourceforge.net/"
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2
mirror://gentoo/${P}-patches.tar.bz2"
LICENSE="BSD GPL-2"
SLOT="0"
KEYWORDS="ppc x86"
IUSE=""
DEPEND=">=virtual/emacs-22"
RDEPEND="${DEPEND}
>=dev-tcltk/tclx-8.4"
src_prepare() {
EPATCH_SUFFIX="patch" \
epatch
}
src_configure() {
make config || die
}
src_compile() {
make emacspeak || die
}
src_install() {
make prefix="${D}"/usr install || die
dodoc README etc/NEWS* etc/FAQ etc/COPYRIGHT
dohtml -r install-guide user-guide
sed -i -e "s:/.*image/::" "${D}"/usr/bin/emacspeak
}

43
app-accessibility/emacspeak/emacspeak-31.0.ebuild

@ -1,43 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/emacspeak/emacspeak-31.0.ebuild,v 1.1 2009/12/03 04:59:51 williamh Exp $
EAPI="2"
inherit eutils
DESCRIPTION="the emacspeak audio desktop"
HOMEPAGE="http://emacspeak.sourceforge.net/"
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2"
LICENSE="BSD GPL-2"
SLOT="0"
KEYWORDS="~ppc ~x86"
IUSE="+espeak"
DEPEND=">=virtual/emacs-22
espeak? ( app-accessibility/espeak )"
RDEPEND="${DEPEND}
>=dev-tcltk/tclx-8.4"
src_configure() {
make config || die
}
src_compile() {
make emacspeak || die
if use espeak; then
cd servers/linux-espeak
make TCL_VERSION=8.5 || die
fi
}
src_install() {
make DESTDIR="${D}" install || die
dodoc README etc/NEWS* etc/FAQ etc/COPYRIGHT
dohtml -r install-guide user-guide
if use espeak; then
cd servers/linux-espeak
make DESTDIR="${D}" install
fi
}

48
app-accessibility/emacspeak/emacspeak-33.0.ebuild

@ -1,48 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/emacspeak/emacspeak-33.0.ebuild,v 1.2 2010/12/03 18:35:56 williamh Exp $
EAPI="2"
inherit eutils
DESCRIPTION="the emacspeak audio desktop"
HOMEPAGE="http://emacspeak.sourceforge.net/"
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2"
LICENSE="BSD GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="+espeak"
DEPEND=">=virtual/emacs-22
espeak? ( app-accessibility/espeak )"
RDEPEND="${DEPEND}
>=dev-tcltk/tclx-8.4"
src_prepare() {
epatch "${FILESDIR}"/${P}-greader-garbage.patch
epatch "${FILESDIR}"/${P}-respect-ldflags.patch
}
src_configure() {
make config || die
}
src_compile() {
make emacspeak || die
if use espeak; then
cd servers/linux-espeak
make TCL_VERSION=8.5 || die
fi
}
src_install() {
make DESTDIR="${D}" install || die
if use espeak; then
cd servers/linux-espeak
make DESTDIR="${D}" install || die "espeak server instalation failed"
fi
dodoc README etc/NEWS* etc/FAQ etc/COPYRIGHT
dohtml -r install-guide user-guide
}

62
app-accessibility/emacspeak/emacspeak-38.0.ebuild

@ -1,62 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/emacspeak/emacspeak-38.0.ebuild,v 1.1 2013/07/09 02:25:08 williamh Exp $
EAPI=5
inherit eutils
if [[ ${PV} == "9999" ]] ; then
ESVN_REPO_URI="http://${PN}.googlecode.com/svn/trunk"
inherit subversion
else
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2"
KEYWORDS="~amd64 ~ppc ~x86"
fi
DESCRIPTION="the emacspeak audio desktop"
HOMEPAGE="http://emacspeak.sourceforge.net/"
LICENSE="BSD GPL-2"
SLOT="0"
IUSE="+espeak"
DEPEND=">=virtual/emacs-22
espeak? ( app-accessibility/espeak )"
RDEPEND="${DEPEND}
>=dev-tcltk/tclx-8.4"
src_prepare() {
# Allow user patches to be applied without modifying the ebuild
epatch_user
}
src_configure() {
emake config
}
src_compile() {
emake emacspeak
if use espeak; then
local tcl_version="$(echo 'puts $tcl_version;exit 0' |tclsh)"
if [[ -z $tcl_version ]]; then
die 'Unable to detect the installed version of dev-lang/tcl.'
fi
cd servers/linux-espeak
emake TCL_VERSION="${tcl_version}"
fi
}
src_install() {
emake DESTDIR="${D}" install
if use espeak; then
pushd servers/linux-espeak > /dev/null || die
emake DESTDIR="${D}" install
popd > /dev/null || die
fi
dodoc README etc/NEWS* etc/FAQ etc/COPYRIGHT
dohtml -r install-guide user-guide
cd "${D}/usr/share/emacs/site-lisp/${PN}"
rm -rf README etc/NEWS* etc/FAQ etc/COPYRIGHT install-guide \
user-guide || die
}

11
app-accessibility/emacspeak/files/emacspeak-33.0-greader-garbage.patch

@ -1,11 +0,0 @@
--- emacspeak-33.0-orig/lisp/g-client/greader.el
+++ emacspeak-33.0/lisp/g-client/greader.el
@@ -704,7 +704,7 @@
(defvar greader-contents-rest-url
"http://www.google.com/reader/api/0/stream/items/contents"
- "REST endpoint for getting content.")e
+ "REST endpoint for getting content.")
(defun greader-search-results (query)
"Return GReader search results."

57
app-accessibility/emacspeak/files/emacspeak-33.0-respect-ldflags.patch

@ -1,57 +0,0 @@
From aa02a6b3aed32612ca1c2c69fc9d0234efeeef0e Mon Sep 17 00:00:00 2001
From: William Hubbs <w.d.hubbs@gmail.com>
Date: Wed, 1 Dec 2010 17:41:35 -0600
Subject: [PATCH] server makefiles should respect LDFLAGS
---
servers/linux-espeak/Makefile | 2 +-
servers/linux-outloud/Makefile | 4 ++--
servers/software-dtk/Makefile | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/servers/linux-espeak/Makefile b/servers/linux-espeak/Makefile
index 2fd8f66..d247b04 100644
--- a/servers/linux-espeak/Makefile
+++ b/servers/linux-espeak/Makefile
@@ -15,7 +15,7 @@ TTS=tclespeak.so
all: $(TTS)
$(TTS): tclespeak.o
- $(CXX) -shared -o $@ $< $(LIBS)
+ $(CXX) $(LDFLAGS) -shared -o $@ $< $(LIBS)
clean:
rm -f *.so *.o
diff --git a/servers/linux-outloud/Makefile b/servers/linux-outloud/Makefile
index 0e5a061..c6915a8 100644
--- a/servers/linux-outloud/Makefile
+++ b/servers/linux-outloud/Makefile
@@ -15,10 +15,10 @@ LIBS= -ltcl$(TCL_VERSION) -lasound -ldl
all: atcleci.so
atcleci.so: langswitch.o atcleci.o
- $(CXX) -m32 -shared -o $@ langswitch.o atcleci.o $(LIBS)
+ $(CXX) $(LDFLAGS) -m32 -shared -o $@ langswitch.o atcleci.o $(LIBS)
alsaparams: alsaparams.o
- $(CC) -o $@ alsaparams.o -lasound
+ $(CC) $(LDFLAGS) -o $@ alsaparams.o -lasound
clean:
rm -f *.so *.o
diff --git a/servers/software-dtk/Makefile b/servers/software-dtk/Makefile
index 383592e..1b623bd 100644
--- a/servers/software-dtk/Makefile
+++ b/servers/software-dtk/Makefile
@@ -11,7 +11,7 @@ SERVER_DIR=/usr/share/emacs/site-lisp/emacspeak/servers/software-dtk
FILES=tcldtk.c tcldtk.so tcldtk.o Makefile
tcldtk.so: tcldtk.o
- $(CC) -shared -o $@ $< $(LIBS)
+ $(CC) $(LDFLAGS) -shared -o $@ $< $(LIBS)
dist: software-dtk.tar.gz
--
1.7.2.2

1
app-accessibility/espeak/Manifest

@ -1,2 +1 @@
DIST espeak-1.45.04-source.zip 1904805 SHA256 816825f8aadb8ce9487808d35f698a9ac39b158cf43ad0aa98e8b4d7c5ab9780 SHA512 2bf93c9bae151b4ccd8433e9c60e079fa33afe092e7703394884400ab279a42b8106bbcaf48d731bcad40a1fee0d145d22f1f77fd16b5a4ae92bbe34ae60b29f WHIRLPOOL c7307f6671348908a314cfee46cd94049fa53b09db76760b7120c1a5bf18135292c09db68f1b8271aa384139fb69074cb4c8decc4e6719cab12915b519a9cfb5
DIST espeak-1.47.11-source.zip 2813649 SHA256 9bd4d0569af48a2cb13fa76704dec3124d27025a3f21c87598457976472b360c SHA512 77c3989fbd0e4aadae0da2d7f1c587854895ae103633704ee5b4042b0618897d01edffa80b1f13e6cbf356f2f31beaf4fdb7e90e4ab641d5286d559aaefe932b WHIRLPOOL c26f481d4c3c485ba0eb3fe7ae3bcf36e7001d49e0e27a6f0934fdb9c91cfef4974c1d34daebd0286694346a44c647cfb96769da54536e0b4380778af755673c

72
app-accessibility/espeak/espeak-1.45.04.ebuild

@ -1,72 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeak/espeak-1.45.04.ebuild,v 1.8 2012/05/31 02:10:21 zmedico Exp $
EAPI="4"
inherit eutils multilib toolchain-funcs
MY_P="${P}-source"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
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"
IUSE="portaudio pulseaudio"
REQUIRED_USE="portaudio? ( !pulseaudio )
pulseaudio? ( !portaudio )"
RDEPEND=" pulseaudio? ( media-sound/pulseaudio )
portaudio? ( >=media-libs/portaudio-19_pre20071207 )"
DEPEND="${RDEPEND}
app-arch/unzip"
S=${WORKDIR}/${MY_P}
get_audio() {
if use portaudio; then
echo portaudio
elif use pulseaudio; then
echo pulseaudio
else
echo none
fi
}
src_prepare() {
cd src
# gentoo uses portaudio 19.
mv -f portaudio19.h portaudio.h
}
src_compile() {
cd src
emake PREFIX="${EPREFIX}/usr" AUDIO="$(get_audio)" \
CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" all
einfo "Fixing byte order of phoneme data files"
cd "${S}/platforms/big_endian"
make
./espeak-phoneme-data "${S}/espeak-data"
cp -f phondata phonindex phontab "${S}/espeak-data"
}
src_install() {
cd src
make DESTDIR="${D}" PREFIX="${EPREFIX}/usr" LIBDIR="\$(PREFIX)/$(get_libdir)" AUDIO="$(get_audio)" install
cd ..
insinto /usr/share/espeak-data
doins -r dictsource
dodoc ChangeLog.txt ReadMe
dohtml -r docs/*
}
pkg_postinst() {
if ! use portaudio && ! use pulseaudio; then
ewarn "Since portaudio and pulseaudio are not in your use flags,"
ewarn "espeak will only be able to create wav files."
ewarn "If this is not what you want, please reemerge ${CATEGORY}/${PN}"
ewarn "with either portaudio or pulseaudio USE flag enabled."
fi
}

4
app-admin/eselect/eselect-1.4.ebuild

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-1.4.ebuild,v 1.3 2014/02/05 11:07:32 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-1.4.ebuild,v 1.4 2014/02/08 14:20:32 hattya Exp $
EAPI=4
@ -12,7 +12,7 @@ SRC_URI="http://dev.gentoo.org/~ulm/eselect/${P}.tar.xz"
LICENSE="GPL-2+ || ( GPL-2+ CC-BY-SA-2.5 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc emacs vim-syntax"
RDEPEND="sys-apps/sed

1
app-admin/logcheck/Manifest

@ -1 +1,2 @@
DIST logcheck_1.3.15.tar.gz 162397 SHA256 b29b4753940a9130b5f19f60d2d89af23be220674625f4bd2fb1d40945d0b9e5 SHA512 45c9e779fc1d1f417aea3f02e70eff4dbc7cd0b45e04f7efc458a4552866686cbb095d0b5ebaf32a57d423a3753b4573277a464f5539789350b087569e025abf WHIRLPOOL 7d4c1975453427eb0897b9f05670565643fd36c44204b23470adf1eac17b19ec77aaeae3523b7b1844f20acf39da0d736386b80bfc0f4059c2099ff816ddd08c
DIST logcheck_1.3.16.tar.xz 131832 SHA256 3eea6f4d25b5cba59d30b8edd35e392389b8e4966d0aceac11c220e98426b8e6 SHA512 1dca1c571e01b2816b7d8ac7a7b5b7e4e250b8c298299c707d86e3c18bd0583b1afd72ff80e8ff98259be5eb46b719ce1e5b97377f42a1982ff292c5a92569c4 WHIRLPOOL 85d25f871dc0e31a49d518e292041b98b989957f778bd74a62aac331e1672cd5f1a346de41174f9377ee930a590faf04736f51eb5c6d6b404e22642572aa54d3

52
app-admin/logcheck/logcheck-1.3.16.ebuild

@ -0,0 +1,52 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/logcheck/logcheck-1.3.16.ebuild,v 1.1 2014/02/08 06:06:35 phajdan.jr Exp $
EAPI="5"
inherit user
DESCRIPTION="Mails anomalies in the system logfiles to the administrator."
HOMEPAGE="http://packages.debian.org/sid/logcheck"
SRC_URI="mirror://debian/pool/main/l/${PN}/${PN}_${PV}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
DEPEND=""
RDEPEND="!app-admin/logsentry
app-misc/lockfile-progs
dev-lang/perl
dev-perl/mime-construct
virtual/mailx
${DEPEND}"
pkg_setup() {
enewgroup logcheck
enewuser logcheck -1 -1 -1 logcheck
}
src_install() {
emake DESTDIR="${D}" install
# Do not install /var/lock, bug #449968 . Use rmdir to make sure
# the directories removed are empty.
rmdir "${D}/var/lock/logcheck" || die
rmdir "${D}/var/lock" || die
keepdir /var/lib/logcheck
dodoc AUTHORS CHANGES CREDITS TODO docs/README.*
doman docs/logtail.8 docs/logtail2.8
exeinto /etc/cron.hourly
doexe "${FILESDIR}/${PN}.cron"
}
pkg_postinst() {
chown -R logcheck:logcheck /etc/logcheck /var/lib/logcheck || die
elog "Please read the guide ad http://www.gentoo.org/doc/en/logcheck.xml"
elog "for installation instructions."
}

4
app-arch/cpio/cpio-2.11-r1.ebuild

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/cpio/cpio-2.11-r1.ebuild,v 1.3 2014/01/18 01:18:03 vapier Exp $
# $Header: /var/cvsroot/gentoo-x86/app-arch/cpio/cpio-2.11-r1.ebuild,v 1.4 2014/02/08 13:03:42 jer Exp $
EAPI="4"
@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/cpio/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="nls"
src_prepare() {

4
app-arch/lz4/lz4-0_p106-r1.ebuild

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/lz4/lz4-0_p106-r1.ebuild,v 1.4 2014/02/06 19:01:43 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/app-arch/lz4/lz4-0_p106-r1.ebuild,v 1.5 2014/02/08 13:34:55 hattya Exp $
EAPI=5
@ -14,7 +14,7 @@ if [ ${PV} == "9999" ] ; then
ESVN_PROJECT="lz4-read-only"
else
SRC_URI="http://dev.gentoo.org/~ryao/dist/${P}.tar.xz"
KEYWORDS="~amd64 ~hppa ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="~amd64 ~hppa ~ia64 ~x86 ~amd64-linux ~x86-linux"
fi
DESCRIPTION="Extremely Fast Compression algorithm"

4
app-arch/tar/tar-1.27.1-r1.ebuild

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.27.1-r1.ebuild,v 1.3 2014/02/04 07:20:08 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.27.1-r1.ebuild,v 1.4 2014/02/08 14:56:24 hattya Exp $
EAPI="3"
@ -13,7 +13,7 @@ SRC_URI="mirror://gnu/tar/${P}.tar.bz2
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="acl minimal nls selinux static userland_GNU xattr"
RDEPEND="acl? ( virtual/acl )

1
app-arch/unrar/Manifest

@ -1,3 +1,4 @@
DIST unrarsrc-4.2.4.tar.gz 164641 SHA256 9432bf798e5f7123f3060f37b75b7c07f36f0091305f46473dcae9154f8cd686 SHA512 54bdc16c940deb6e5759ddec9739381f0e1b5e2279548ac367eb32c4ff79cd496712692feaf46f4ce3b2ccfa8d622b7c45fb8070420b16315226627c45fef850 WHIRLPOOL 197310c41725280d6a5c4fa3da9d8411e419f20e41f6c645534b37d206ce67474c8b320811a7c7f2acbc375ef0341ec57adfe82a6be7f6bdabe2871841669739
DIST unrarsrc-5.0.12.tar.gz 209249 SHA256 370f7a7cdc482a672e396c7ed6fa9f201b25733e41b714f19a6112e1bbcdf245 SHA512 0551e5fc0150ab36bd39b40358aa3f6b1064ee6744c623fd5873c3ba33e66acb0077a32eb22855ffbba477bfd320473725032180b6889db710225c59971e5e5b WHIRLPOOL 6ea52c29c12404e9a8b4db85f9a3c52b4a1c23a2048c3ada5df478611b7def351b3d611cba91b7db7c38794200887ef7ab9032bc4ee0ad4d99468fcb6f8b79d9
DIST unrarsrc-5.0.13.tar.gz 209449 SHA256 71b378c10264b82b8de6f83a8a4e801a98aefd36986425d61657f3fac2c37a09 SHA512 3109adb916d5807407d4dd0e8a289a6258ec30949d6913ebf6ffca7c51a1b6db8682573cce5e03dc2eea154c6a71624c8ad36ff11f34f6dbafa92c63d7b48a4f WHIRLPOOL b75f742e7481ccf9b423419357966df7f9724ee299bd17ad92838ba20a003a62622f4464abff6097694b86062fe1674fef53f59541454615af06fa3c67147bfe
DIST unrarsrc-5.0.14.tar.gz 209707 SHA256 e276ea30a2dc9b8961a4268772e5b6caccaa984664e2d5255a43fcb0f5d59806 SHA512 91b05bd2974e0a1cb8bd8f01ee90637c9c48da71a4ffa74e161de969f17bedbcda0cfbac128d366ffa5065e8195004fe82763a2a1e8628f0016621b1c2d364f2 WHIRLPOOL 665833a5cac5cfddaa6bf852b6820e8447604019286f7f81dce910ad49b8eccf5a4ceab2c1177837e71492ba0c37d2d288b78eb0a531fd47d34cdd8256fd7f19

56
app-arch/unrar/unrar-5.0.14.ebuild

@ -0,0 +1,56 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/unrar/unrar-5.0.14.ebuild,v 1.1 2014/02/08 07:03:09 ssuominen Exp $
EAPI=5
inherit eutils flag-o-matic multilib toolchain-funcs
MY_PN=${PN}src
DESCRIPTION="Uncompress rar files"
HOMEPAGE="http://www.rarlab.com/rar_add.htm"
SRC_URI="http://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz"
LICENSE="unRAR"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
IUSE=""
RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417"
S=${WORKDIR}/unrar
src_prepare() {
epatch "${FILESDIR}"/${PN}-5.0.2-build.patch
sed -i \
-e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" \
-e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" \
makefile || die
}
src_compile() {
unrar_make() {
emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
}
unrar_make CXXFLAGS+=" -fPIC" lib
ln -s libunrar$(get_libname ${PV%.*.*}) libunrar$(get_libname)
ln -s libunrar$(get_libname ${PV%.*.*}) libunrar$(get_libname ${PV})
# The stupid code compiles a lot of objects differently if
# they're going into a lib (-DRARDLL) or into the main app.
# So for now, we can't link the main app against the lib.
unrar_make clean
unrar_make
}
src_install() {
dobin unrar
dodoc readme.txt
dolib.so libunrar*
insinto /usr/include/libunrar${PV%.*.*}
doins *.hpp
dosym libunrar${PV%.*.*} /usr/include/libunrar
}

6
app-crypt/gnupg/gnupg-1.4.16.ebuild

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-1.4.16.ebuild,v 1.1 2013/12/18 20:14:07 alonbl Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-1.4.16.ebuild,v 1.3 2014/02/08 19:47:22 ago Exp $
EAPI="5"
@ -17,7 +17,7 @@ SRC_URI="mirror://gnupg/gnupg/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
IUSE="bzip2 curl ldap mta nls readline selinux smartcard static usb zlib linguas_ru"
COMMON_DEPEND="

1
app-dicts/myspell-de-alt/Manifest

@ -1,2 +1,3 @@
DIST dict-de_de-1901_oldspell_2012-09-29.oxt 4807281 SHA256 252d8a411446dc8a1bc971fbbef0610a88203cdc910a949a6292c60188c02eb0 SHA512 15afe6157c6a1fbd723610440f98e823217d91fd0accf54975797ca20b3f47d6beb14c2ce118a44d17815c05e6dab923ea1ec3759237c6c4758344d805776cde WHIRLPOOL 39703e5c2b0ca8bf619d512efc40eb6151d9f2902be89497597f82fa1330e088fe0098b0fcda5b895c22e9917f3c1847d9ed5f86d4e4c1c511f102764170ce20
DIST myspell-de-alt-20061123-hyphen.zip 24990 SHA256 2ad640a912c8656207018d683617f3880288a046f278af4fda28f7e30188c255 SHA512 eb489d332a7cc976fdd53e31ce588415e94e7f1285fa8676dd3066789a14089cd235fa451b8759588683d6d9979f61985b8303c926eb8fba4af07534ad65fe6f WHIRLPOOL ff1924823455eb5016eb77554e118769da1d748d9de4ad4ed6d4b5de1559ea3c41c4d6622f3730cfb7f183ad784f7dbba40c25d0a28586a0f0ea6a1a6b932430
DIST myspell-de-alt-20061123.zip 336097 SHA256 6a1deec683ada342babc19c524acfe9bcdeae039d50e6406aa101c160c9f1487 SHA512 ea0a3d5ae2b5503a3b6f3a8248fe2f258bd41394e1eebc270b916b004b09832a375db00004faca6c3eca2a0e158685c9b60ba3c4c26bfa4972cf6d6783ac823d WHIRLPOOL 53ace906ab351081fff920cb5986ce34a03f3ac04aec533aef5d79194959c7ea5fab80cb499c1e6cb03cfbcd725ef51f1d619666fb15b2ed03b95d4bf69dc6bc

37
app-dicts/myspell-de-alt/myspell-de-alt-20120929.ebuild

@ -0,0 +1,37 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-de-alt/myspell-de-alt-20120929.ebuild,v 1.1 2014/02/08 14:06:19 ulm Exp $
EAPI=5
MYSPELL_DICT=(
"de_DE_1901.aff"
"de_DE_1901.dic"
)
MYSPELL_HYPH=(
"hyph_de_DE_1901.dic"
)
MYSPELL_THES=(
)
inherit myspell-r2
DESCRIPTION="German (traditional orthography) dictionaries for myspell/hunspell"
HOMEPAGE="http://www.j3e.de/myspell/
http://extensions.libreoffice.org/extension-center/german-de-de-1901-old-spelling-dictionaries"
SRC_URI="http://extensions.libreoffice.org/extension-center/german-de-de-1901-old-spelling-dictionaries/pscreleasefolder.2011-11-04.1209635399/${PV:0:4}.${PV:4:2}.${PV:6:2}/dict-de_de-1901_oldspell_${PV:0:4}-${PV:4:2}-${PV:6:2}.oxt"
LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
src_prepare() {
# Nicely rename; http://www.iana.org/assignments/language-subtag-registry
mv de_DE_OLDSPELL.aff de_DE_1901.aff || die
mv de_DE_OLDSPELL.dic de_DE_1901.dic || die
mv hyph_de_DE_OLDSPELL.dic hyph_de_DE_1901.dic || die
# Remove thesaurus for new spelling to avoid installing its readme file
rm th_de_DE_v2* || die
}

4
app-dicts/verbiste/verbiste-0.1.38.ebuild

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-dicts/verbiste/verbiste-0.1.38.ebuild,v 1.2 2014/02/02 10:56:00 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-dicts/verbiste/verbiste-0.1.38.ebuild,v 1.3 2014/02/08 18:05:45 nimiux Exp $
EAPI="5"
@ -12,7 +12,7 @@ SRC_URI="http://sarrazip.com/dev/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ppc ~x86"
KEYWORDS="amd64 ppc ~x86"
IUSE="gnome gtk"

88
app-emulation/emul-linux-x86-baselibs/emul-linux-x86-baselibs-20131008-r14.ebuild

@ -0,0 +1,88 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-baselibs/emul-linux-x86-baselibs-20131008-r14.ebuild,v 1.2 2014/02/08 04:44:06 floppym Exp $
EAPI=5
inherit emul-linux-x86
LICENSE="Artistic GPL-1 GPL-2 GPL-3 BSD BSD-2 BZIP2 AFL-2.1 LGPL-2.1 BSD-4 MIT
public-domain LGPL-3 LGPL-2 GPL-2-with-exceptions MPL-1.1 OPENLDAP
Sleepycat UoI-NCSA ZLIB openafs-krb5-a HPND ISC RSA IJG libmng libtiff
openssl tcp_wrappers_license"
KEYWORDS="-* ~amd64"
IUSE="abi_x86_32"
DEPEND=""
RDEPEND="!<app-emulation/emul-linux-x86-medialibs-10.2
abi_x86_32? (
>=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)]
>=app-arch/bzip2-1.0.6-r4[abi_x86_32(-)]
>=media-libs/libpng-1.5.16-r1:0[abi_x86_32(-)]
>=dev-libs/udis86-1.7-r2[abi_x86_32(-)]
>=virtual/libffi-3.0.13-r1[abi_x86_32(-)]
>=sys-devel/llvm-3.3-r1[abi_x86_32(-)]
>=media-libs/libpng-1.2.50-r1:1.2[abi_x86_32(-)]
virtual/jpeg:62[abi_x86_32(-)]
>=sys-libs/libraw1394-2.1.0-r1[abi_x86_32(-)]
>=sys-libs/libavc1394-0.5.4-r1[abi_x86_32(-)]
>=dev-libs/expat-2.1.0-r3[abi_x86_32(-)]
>=virtual/libusb-0-r1:0[abi_x86_32(-)]
>=virtual/libusb-1-r1:1[abi_x86_32(-)]
|| (
>=virtual/udev-206-r1[abi_x86_32(-)]
~virtual/udev-204[abi_x86_32(-)] )
>=media-libs/tiff-4.0.3-r5:0[abi_x86_32(-)]
>=sys-apps/attr-2.4.47-r1[abi_x86_32(-)]
>=dev-libs/glib-2.36.3-r2:2[abi_x86_32(-)]
>=media-libs/lcms-2.5-r1:2[abi_x86_32(-)]
>=app-text/libpaper-1.1.24-r2[abi_x86_32(-)]
>=media-libs/tiff-3.9.7-r1:3[abi_x86_32(-)]
|| (
>=dev-libs/elfutils-0.155-r1[abi_x86_32(-)]
>=dev-libs/libelf-0.8.13-r2[abi_x86_32(-)]
)
>=sys-libs/e2fsprogs-libs-1.42.7-r1[abi_x86_32(-)]
>=sys-libs/ncurses-5.9-r3[abi_x86_32(-)]
>=sys-libs/gpm-1.20.7-r2[abi_x86_32(-)]
>=dev-libs/gmp-5.1.3-r1[abi_x86_32(-)]
>=dev-libs/libpcre-8.33-r1[abi_x86_32(-)]
>=sys-apps/dbus-1.6.18-r1[abi_x86_32(-)]
>=sys-apps/tcp-wrappers-7.6.22-r1[abi_x86_32(-)]
>=sys-libs/gdbm-1.10-r1[abi_x86_32(-)]
>=dev-libs/json-c-0.11-r1[abi_x86_32(-)]
>=dev-libs/libxml2-2.9.1-r2[abi_x86_32(-)]
>=dev-libs/dbus-glib-0.100.2-r1[abi_x86_32(-)]
>=sys-libs/readline-6.2_p5-r1:0[abi_x86_32(-)]
>=sys-devel/gettext-0.18.3.2[abi_x86_32(-)]
>=dev-libs/libgpg-error-1.12-r1[abi_x86_32(-)]
)
>=sys-libs/glibc-2.15" # bug 340613
PYTHON_UPDATER_IGNORE="1"
src_prepare() {
export ALLOWED="(${S}/lib32/security/pam_filter/upperLOWER|${S}/etc/env.d|${S}/lib32/security/pam_ldap.so)"
emul-linux-x86_src_prepare
rm -rf "${S}/etc/env.d/binutils/" \
"${S}/usr/i686-pc-linux-gnu/lib" \
"${S}/usr/lib32/engines/" \
"${S}/usr/lib32/openldap/" || die
ln -s ../share/terminfo "${S}/usr/lib32/terminfo" || die
# Remove migrated stuff.
use abi_x86_32 && rm -f $(cat "${FILESDIR}/remove-native-${PVR}")
}
src_install() {
emul-linux-x86_src_install
local x86_libdir=$(get_abi_LIBDIR x86)
LIBDIR=${EPREFIX}/usr/${x86_libdir}/emul-linux
echo "LDPATH=${LIBDIR}" > 99emul-linux-x86-baselibs
doenvd 99emul-linux-x86-baselibs
mkdir -p "${ED}${LIBDIR}"
mv "${ED}"/usr/${x86_libdir}/{libjpeg.so.8*,libturbojpeg.so.0*} "${D}${LIBDIR}"/
}

248
app-emulation/emul-linux-x86-baselibs/files/remove-native-20131008-r14

@ -0,0 +1,248 @@
lib32/libz.so.1
lib32/libz.so.1.2.7
usr/lib32/libz.so
usr/lib32/pkgconfig/zlib.pc
usr/lib32/libminizip.so
usr/lib32/libminizip.so.1
usr/lib32/libminizip.so.1.0.0
usr/lib32/pkgconfig/minizip.pc
lib32/libbz2.so.1
lib32/libbz2.so.1.0
lib32/libbz2.so.1.0.6
usr/lib32/libbz2.so
usr/lib32/libpng.so
usr/lib32/pkgconfig/libpng.pc
usr/lib32/libudis86.so
usr/lib32/libudis86.so.0
usr/lib32/libudis86.so.0.0.0
usr/lib32/libffi-3.0.11/include/ffi.h
usr/lib32/libffi-3.0.11/include/ffitarget.h
usr/lib32/libffi.so
usr/lib32/libffi.so.6
usr/lib32/libffi.so.6.0.0
usr/lib32/pkgconfig/libffi.pc
usr/lib32/llvm/BugpointPasses.so
usr/lib32/llvm/LLVMHello.so
usr/lib32/llvm/libLLVM-3.1.so
usr/lib32/llvm/libLTO.so
usr/lib32/llvm/libprofile_rt.so
usr/lib32/libpng12.so.0
usr/lib32/pkgconfig/libpng15.pc
usr/lib32/libraw1394.so
usr/lib32/libraw1394.so.11
usr/lib32/libraw1394.so.11.0.1
usr/lib32/pkgconfig/libraw1394.pc
usr/lib32/libavc1394.so
usr/lib32/libavc1394.so.0
usr/lib32/libavc1394.so.0.3.0
usr/lib32/pkgconfig/libavc1394.pc
usr/lib32/librom1394.so
usr/lib32/librom1394.so.0
usr/lib32/librom1394.so.0.3.0
usr/lib32/libjpeg.so
usr/lib32/libturbojpeg.so
usr/lib32/libjpeg.so.62
usr/lib32/libexpat.so
usr/lib32/libexpat.so.1
usr/lib32/libexpat.so.1.6.0
usr/lib32/libexpatu.so
usr/lib32/libexpatu.so.1
usr/lib32/libexpatu.so.1.6.0
usr/lib32/libexpatw.so
usr/lib32/libexpatw.so.1
usr/lib32/libexpatw.so.1.6.0
usr/lib32/pkgconfig/expat.pc
usr/lib32/pkgconfig/expatu.pc
usr/lib32/pkgconfig/expatw.pc
usr/lib32/libusb-0.1.so.4*
usr/lib32/libusb-1.0.so
usr/lib32/libusb-1.0.so.0
usr/lib32/libusb-1.0.so.0.1.0
usr/lib32/libusb.so
usr/lib32/pkgconfig/libusb-1.0.pc
usr/lib32/pkgconfig/libusb.pc
lib32/libudev.so.1*
usr/lib32/libudev.so
usr/lib32/pkgconfig/libudev.pc
lib32/libsystemd-daemon.so.0.0.7
lib32/libsystemd-daemon.so.0
usr/lib32/libsystemd-daemon.so
usr/lib32/pkgconfig/libsystemd-daemon.pc
usr/lib32/libtiff.so
usr/lib32/libtiff.so.5*
usr/lib32/libtiffxx.so
usr/lib32/libtiffxx.so.5*
usr/lib32/pkgconfig/libtiff-4.pc
lib32/libattr.so.1
lib32/libattr.so.1.1.0
usr/lib32/libattr.so
usr/lib32/glib-2.0/include/glibconfig.h
usr/lib32/libglib-2.0.so
usr/lib32/libglib-2.0.so.0
usr/lib32/libglib-2.0.so.0.3200.4
usr/lib32/pkgconfig/glib-2.0.pc
usr/lib32/libgmodule-2.0.so
usr/lib32/libgmodule-2.0.so.0
usr/lib32/libgmodule-2.0.so.0.3200.4
usr/lib32/pkgconfig/gmodule-2.0.pc
usr/lib32/libgio-2.0.so
usr/lib32/libgio-2.0.so.0
usr/lib32/libgio-2.0.so.0.3200.4
usr/lib32/pkgconfig/gio-2.0.pc
usr/lib32/libgobject-2.0.so
usr/lib32/libgobject-2.0.so.0
usr/lib32/libgobject-2.0.so.0.3200.4
usr/lib32/pkgconfig/gobject-2.0.pc
usr/lib32/libgthread-2.0.so
usr/lib32/libgthread-2.0.so.0
usr/lib32/libgthread-2.0.so.0.3200.4
usr/lib32/pkgconfig/gthread-2.0.pc
usr/lib32/pkgconfig/gio-unix-2.0.pc
usr/lib32/pkgconfig/gmodule-export-2.0.pc
usr/lib32/pkgconfig/gmodule-no-export-2.0.pc
usr/lib32/liblcms2.so
usr/lib32/liblcms2.so.2
usr/lib32/liblcms2.so.2.0.3
usr/lib32/pkgconfig/lcms2.pc
usr/lib32/libpaper.so
usr/lib32/libpaper.so.1
usr/lib32/libpaper.so.1.1.2
usr/lib32/libtiff.so.3
usr/lib32/libtiff.so.4
usr/lib32/libtiffxx.so.3
usr/lib32/libtiffxx.so.4
usr/lib32/elfutils/libebl_alpha-0.149.so
usr/lib32/elfutils/libebl_alpha.so
usr/lib32/elfutils/libebl_arm-0.149.so
usr/lib32/elfutils/libebl_arm.so
usr/lib32/elfutils/libebl_i386-0.149.so
usr/lib32/elfutils/libebl_i386.so
usr/lib32/elfutils/libebl_ia64-0.149.so
usr/lib32/elfutils/libebl_ia64.so
usr/lib32/elfutils/libebl_ppc-0.149.so
usr/lib32/elfutils/libebl_ppc.so
usr/lib32/elfutils/libebl_ppc64-0.149.so
usr/lib32/elfutils/libebl_ppc64.so
usr/lib32/elfutils/libebl_s390-0.149.so
usr/lib32/elfutils/libebl_s390.so
usr/lib32/elfutils/libebl_sh-0.149.so
usr/lib32/elfutils/libebl_sh.so
usr/lib32/elfutils/libebl_sparc-0.149.so
usr/lib32/elfutils/libebl_sparc.so
usr/lib32/elfutils/libebl_x86_64-0.149.so
usr/lib32/elfutils/libebl_x86_64.so
usr/lib32/libelf-0.149.so
usr/lib32/libelf.so
usr/lib32/libelf.so.1
usr/lib32/libasm-0.149.so
usr/lib32/libasm.so
usr/lib32/libasm.so.1
usr/lib32/libdw-0.149.so
usr/lib32/libdw.so
usr/lib32/libdw.so.1
lib32/libss.so.2
lib32/libss.so.2.0
usr/lib32/libss.so
usr/lib32/pkgconfig/ss.pc
lib32/libcom_err.so.2
lib32/libcom_err.so.2.1
usr/lib32/libcom_err.so
usr/lib32/pkgconfig/com_err.pc
usr/lib32/libcurses.so
usr/lib32/libform.so
usr/lib32/libform.so.5
usr/lib32/libform.so.5.9
usr/lib32/libformw.so
usr/lib32/libformw.so.5
usr/lib32/libformw.so.5.9
usr/lib32/libmenu.so
usr/lib32/libmenu.so.5
usr/lib32/libmenu.so.5.9
usr/lib32/libmenuw.so
usr/lib32/libmenuw.so.5
usr/lib32/libmenuw.so.5.9
lib32/libncurses.so.5
lib32/libncurses.so.5.9
lib32/libncursesw.so.5
lib32/libncursesw.so.5.9
usr/lib32/libncurses.so
usr/lib32/libncursesw.so
usr/lib32/libpanel.so
usr/lib32/libpanel.so.5
usr/lib32/libpanel.so.5.9
usr/lib32/libpanelw.so
usr/lib32/libpanelw.so.5
usr/lib32/libpanelw.so.5.9
usr/lib32/pkgconfig/form.pc
usr/lib32/pkgconfig/formw.pc
usr/lib32/pkgconfig/ncurses++.pc
usr/lib32/pkgconfig/ncurses++w.pc
usr/lib32/pkgconfig/menuw.pc
usr/lib32/pkgconfig/menu.pc
usr/lib32/pkgconfig/ncurses.pc
usr/lib32/pkgconfig/ncursesw.pc
usr/lib32/pkgconfig/panel.pc
usr/lib32/pkgconfig/panelw.pc
usr/lib32/terminfo
lib32/libgpm.so.1
lib32/libgpm.so.1.20.0
usr/lib32/libgpm.so
usr/lib32/libgmp.so*
usr/lib32/libgmpxx.so*
lib32/libpcre.so.1
lib32/libpcre.so.1.2.1
usr/lib32/libpcre.so
usr/lib32/libpcrecpp.so
usr/lib32/libpcrecpp.so.0
usr/lib32/libpcrecpp.so.0.0.0
usr/lib32/libpcreposix.so
usr/lib32/libpcreposix.so.0
usr/lib32/libpcreposix.so.0.0.2
usr/lib32/pkgconfig/libpcre.pc
usr/lib32/pkgconfig/libpcrecpp.pc
usr/lib32/pkgconfig/libpcreposix.pc
usr/lib32/dbus-1.0/include/dbus/dbus-arch-deps.h
usr/lib32/libdbus-1.so
usr/lib32/libdbus-1.so.3
usr/lib32/libdbus-1.so.3.7.4
usr/lib32/pkgconfig/dbus-1.pc
lib32/libwrap.so
lib32/libwrap.so.0
lib32/libwrap.so.0.7.6
usr/lib32/libwrap.so
usr/lib32/libgdbm.so
usr/lib32/libgdbm.so.3
usr/lib32/libgdbm.so.3.0.0
usr/lib32/libgdbm_compat.so
usr/lib32/libgdbm_compat.so.3
usr/lib32/libgdbm_compat.so.3.0.0
usr/lib32/libjson.so
usr/lib32/libjson.so.0
usr/lib32/libjson.so.0.0.1
usr/lib32/pkgconfig/json.pc
usr/lib32/perl5/5.12.4/i686-linux/auto/GDBM_File/GDBM_File.so
usr/lib32/perl5/5.12.4/i686-linux/auto/NDBM_File/NDBM_File.so
usr/lib32/python2.7/lib-dynload/dbm.so
usr/lib32/python3.2/lib-dynload/_dbm.cpython-32.so
usr/lib32/python2.7/lib-dynload/gdbm.so
usr/lib32/python3.2/lib-dynload/_gdbm.cpython-32.so
usr/lib32/libxml2.so*
usr/lib32/pkgconfig/libxml-2.0.pc
usr/lib32/python*/site-packages/libxml2mod.so
usr/lib32/libdbus-glib-1.so
usr/lib32/libdbus-glib-1.so.2
usr/lib32/libdbus-glib-1.so.2.2.2
usr/lib32/pkgconfig/dbus-glib-1.pc
lib32/libreadline.so.6
lib32/libreadline.so.6.2
usr/lib32/libreadline.so
lib32/libhistory.so.6
lib32/libhistory.so.6.2
usr/lib32/libhistory.so
usr/lib32/libmng.so
usr/lib32/libasprintf.so
usr/lib32/libasprintf.so.0
usr/lib32/libasprintf.so.0.0.0
usr/lib32/libgpg-error.so
usr/lib32/libgpg-error.so.0
usr/lib32/libgpg-error.so.0.8.0

171
app-emulation/xen-tools/files/xen-4-CVE-XSA-86.patch

@ -0,0 +1,171 @@
From: Xen.org security team <security () xen org>
Date: Thu, 06 Feb 2014 12:39:17 +0000
From b4c452646efd37b4cd0996256dd0ab7bf6ccb7f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?=
<marmarek@invisiblethingslab.com>
Date: Mon, 20 Jan 2014 15:51:56 +0000
Subject: [PATCH] libvchan: Fix handling of invalid ring buffer indices
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The remote (hostile) process can set ring buffer indices to any value
at any time. If that happens, it is possible to get "buffer space"
(either for writing data, or ready for reading) negative or greater
than buffer size. This will end up with buffer overflow in the second
memcpy inside of do_send/do_recv.
Fix this by introducing new available bytes accessor functions
raw_get_data_ready and raw_get_buffer_space which are robust against
mad ring states, and only return sanitised values.
Proof sketch of correctness:
Now {rd,wr}_{cons,prod} are only ever used in the raw available bytes
functions, and in do_send and do_recv.
The raw available bytes functions do unsigned arithmetic on the
returned values. If the result is "negative" or too big it will be
>ring_size (since we used unsigned arithmetic). Otherwise the result
is a positive in-range value representing a reasonable ring state, in
which case we can safely convert it to int (as the rest of the code
expects).
do_send and do_recv immediately mask the ring index value with the
ring size. The result is always going to be plausible. If the ring
state has become mad, the worst case is that our behaviour is
inconsistent with the peer's ring pointer. I.e. we read or write to
arguably-incorrect parts of the ring - but always parts of the ring.
And of course if a peer misoperates the ring they can achieve this
effect anyway.
So the security problem is fixed.
This is XSA-86.
(The patch is essentially Ian Jackson's work, although parts of the
commit message are by Marek.)
Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Cc: Joanna Rutkowska <joanna@invisiblethingslab.com>
---
tools/libvchan/io.c | 47 +++++++++++++++++++++++++++++++++++++++++------
1 file changed, 41 insertions(+), 6 deletions(-)
diff --git a/tools/libvchan/io.c b/tools/libvchan/io.c
index 2383364..804c63c 100644
--- a/tools/libvchan/io.c
+++ b/tools/libvchan/io.c
@@ -111,12 +111,26 @@ static inline int send_notify(struct libxenvchan *ctrl, uint8_t bit)
return 0;
}
+/*
+ * Get the amount of buffer space available, and do nothing about
+ * notifications.
+ */
+static inline int raw_get_data_ready(struct libxenvchan *ctrl)
+{
+ uint32_t ready = rd_prod(ctrl) - rd_cons(ctrl);
+ if (ready >= rd_ring_size(ctrl))
+ /* We have no way to return errors. Locking up the ring is
+ * better than the alternatives. */
+ return 0;
+ return ready;
+}
+
/**
* Get the amount of buffer space available and enable notifications if needed.
*/
static inline int fast_get_data_ready(struct libxenvchan *ctrl, size_t request)
{
- int ready = rd_prod(ctrl) - rd_cons(ctrl);
+ int ready = raw_get_data_ready(ctrl);
if (ready >= request)
return ready;
/* We plan to consume all data; please tell us if you send more */
@@ -126,7 +140,7 @@ static inline int fast_get_data_ready(struct libxenvchan *ctrl, size_t request)
* will not get notified even though the actual amount of data ready is
* above request. Reread rd_prod to cover this case.
*/
- return rd_prod(ctrl) - rd_cons(ctrl);
+ return raw_get_data_ready(ctrl);
}
int libxenvchan_data_ready(struct libxenvchan *ctrl)
@@ -135,7 +149,21 @@ int libxenvchan_data_ready(struct libxenvchan *ctrl)
* when it changes
*/
request_notify(ctrl, VCHAN_NOTIFY_WRITE);
- return rd_prod(ctrl) - rd_cons(ctrl);
+ return raw_get_data_ready(ctrl);
+}
+
+/**
+ * Get the amount of buffer space available, and do nothing
+ * about notifications
+ */
+static inline int raw_get_buffer_space(struct libxenvchan *ctrl)
+{
+ uint32_t ready = wr_ring_size(ctrl) - (wr_prod(ctrl) - wr_cons(ctrl));
+ if (ready > wr_ring_size(ctrl))
+ /* We have no way to return errors. Locking up the ring is
+ * better than the alternatives. */
+ return 0;
+ return ready;
}
/**
@@ -143,7 +171,7 @@ int libxenvchan_data_ready(struct libxenvchan *ctrl)
*/
static inline int fast_get_buffer_space(struct libxenvchan *ctrl, size_t request)
{
- int ready = wr_ring_size(ctrl) - (wr_prod(ctrl) - wr_cons(ctrl));
+ int ready = raw_get_buffer_space(ctrl);
if (ready >= request)
return ready;
/* We plan to fill the buffer; please tell us when you've read it */
@@ -153,7 +181,7 @@ static inline int fast_get_buffer_space(struct libxenvchan *ctrl, size_t request
* will not get notified even though the actual amount of buffer space
* is above request. Reread wr_cons to cover this case.
*/
- return wr_ring_size(ctrl) - (wr_prod(ctrl) - wr_cons(ctrl));
+ return raw_get_buffer_space(ctrl);
}
int libxenvchan_buffer_space(struct libxenvchan *ctrl)
@@ -162,7 +190,7 @@ int libxenvchan_buffer_space(struct libxenvchan *ctrl)
* when it changes
*/
request_notify(ctrl, VCHAN_NOTIFY_READ);
- return wr_ring_size(ctrl) - (wr_prod(ctrl) - wr_cons(ctrl));
+ return raw_get_buffer_space(ctrl);
}
int libxenvchan_wait(struct libxenvchan *ctrl)
@@ -176,6 +204,8 @@ int libxenvchan_wait(struct libxenvchan *ctrl)
/**
* returns -1 on error, or size on success
+ *
+ * caller must have checked that enough space is available
*/
static int do_send(struct libxenvchan *ctrl, const void *data, size_t size)
{
@@ -248,6 +278,11 @@ int libxenvchan_write(struct libxenvchan *ctrl, const void *data, size_t size)
}
}
+/**
+ * returns -1 on error, or size on success
+ *
+ * caller must have checked that enough data is available
+ */
static int do_recv(struct libxenvchan *ctrl, void *data, size_t size)
{
int real_idx = rd_cons(ctrl) & (rd_ring_size(ctrl) - 1);
--
1.7.10.4

429
app-emulation/xen-tools/xen-tools-4.3.1-r4.ebuild

@ -0,0 +1,429 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.3.1-r4.ebuild,v 1.1 2014/02/08 08:13:43 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-dir-remote-20130720.tar.gz"
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 bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass}
DESCRIPTION="Xend daemon and tools"
HOMEPAGE="http://xen.org/"
DOCS=( README docs/README.xen-bugtool )
LICENSE="GPL-2"
SLOT="0"
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
# >=dev-lang/ocaml-4 stable
# Masked in profiles/eapi-5-files instead
IUSE="api custom-cflags debug doc flask hvm qemu ocaml +pam python pygrub screen static-libs xend"
REQUIRED_USE="hvm? ( qemu )
${PYTHON_REQUIRED_USE}
pygrub? ( python )"
DEPEND="dev-libs/lzo:2
dev-libs/yajl
dev-libs/libgcrypt
dev-python/lxml[${PYTHON_USEDEP}]
pam? ( dev-python/pypam[${PYTHON_USEDEP}] )
sys-libs/zlib
sys-power/iasl
hvm? ( media-libs/libsdl )
${PYTHON_DEPS}
api? ( dev-libs/libxml2
net-misc/curl )
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )
sys-devel/bin86
sys-devel/dev86
dev-lang/perl
app-misc/pax-utils
dev-python/markdown
doc? (
app-doc/doxygen
dev-tex/latex2html[png,gif]
media-gfx/graphviz
dev-tex/xcolor
media-gfx/transfig
dev-texlive/texlive-latexextra
virtual/latex-base
dev-tex/latexmk
dev-texlive/texlive-latex
dev-texlive/texlive-pictures
dev-texlive/texlive-latexrecommended
)
hvm? ( x11-proto/xproto
!net-libs/libiscsi )
qemu? ( x11-libs/pixman )
ocaml? ( dev-ml/findlib
>=dev-lang/ocaml-4 )"
RDEPEND="sys-apps/iproute2
net-misc/bridge-utils
screen? (
app-misc/screen
app-admin/logrotate
)
virtual/udev"
# hvmloader is used to bootstrap a fully virtualized kernel
# Approved by QA team in bug #144032
QA_WX_LOAD="usr/lib/xen/boot/hvmloader"
RESTRICT="test"
pkg_setup() {
python-single-r1_pkg_setup
export "CONFIG_LOMOUNT=y"
if has_version dev-libs/libgcrypt; 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
}
src_prepare() {
# Drop .config, fixes to gcc-4.6
epatch "${FILESDIR}"/${PN/-tools/}-4.3-fix_dotconfig-gcc.patch
# Xend
if ! use xend; then
sed -e 's:xm xen-bugtool xen-python-path xend:xen-bugtool xen-python-path:' \
-i tools/misc/Makefile || die "Disabling xend failed"
sed -e 's:^XEND_INITD:#XEND_INITD:' \
-i tools/examples/Makefile || die "Disabling xend failed"
fi
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default cflags
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
-exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} + || die "failed to re-set custom-cflags"
fi
if ! use pygrub; then
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
fi
if ! use python; then
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
fi
# Disable hvm support on systems that don't support x86_32 binaries.
if ! use hvm; then
sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
fi
# Don't bother with qemu, only needed for fully virtualised guests
if ! use qemu; then
sed -e "/^CONFIG_IOEMU := y$/d" -i config/*.mk || die
sed -e "s:install-tools\: tools/ioemu-dir:install-tools\: :g" -i Makefile || die
fi
# Fix texi2html build error with new texi2html, qemu.doc.html
epatch "${FILESDIR}"/${PN}-4-docfix.patch \
"${FILESDIR}"/${PN}-4-qemu-xen-doc.patch
# Fix network broadcast on bridged networks
epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch"
# Prevent the downloading of ipxe, seabios
epatch "${FILESDIR}"/${PN/-tools/}-4.3-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}"/${PN/-tools/}-4.2.0-nostrip.patch
# fix jobserver in Makefile
epatch "${FILESDIR}"/${PN/-tools/}-4.3-jserver.patch
# add missing header
epatch "${FILESDIR}"/xen-4-ulong.patch
# Set dom0-min-mem to kb; Bug #472982
epatch "${FILESDIR}"/${PN/-tools/}-4.2-configsxp.patch
#Security patches, currently valid, bug #500530
epatch "${FILESDIR}"/${PN/-tools/}-4-CVE-2012-6075-XSA-41.patch \
"${FILESDIR}"/${PN/-tools/}-4-CVE-XSA-86.patch
# Bug 472438
sed -e 's:^BASH_COMPLETION_DIR ?= $(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(SHARE_DIR)/bash-completion:' \
-i Config.mk || die
# Bug 477676
epatch "${FILESDIR}"/${PN}-4.3-ar-cc.patch
# Prevent file collision with qemu package Bug 478064
if use qemu; then
epatch "${FILESDIR}"/qemu-bridge.patch
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
fi
use flask || sed -e "/SUBDIRS-y += flask/d" -i tools/Makefile || die
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
-i tools/firmware/Makefile || die
# Bug 379537
epatch "${FILESDIR}"/fix-gold-ld.patch
# xencommons, Bug #492332, sed lighter weight than patching
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
-i tools/hotplug/Linux/init.d/xencommons || die
# Bug 493232 fix from http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1844
sed -e 's:bl->argsspace = 7 + :bl->argsspace = 9 + :' \
-i tools/libxl/libxl_bootloader.c || die
# fix QA warning, create /var/run/, /var/lock dynamically
sed -i -e "/\$(INSTALL_DIR) \$(DESTDIR)\$(XEN_RUN_DIR)/d" \
tools/libxl/Makefile || die
sed -i -e "/\/var\/run\//d" \
tools/xenstore/Makefile \
tools/pygrub/Makefile || die
sed -i -e "/\/var\/lock\/subsys/d" \
tools/Makefile || die
epatch_user
}
src_configure() {
local myconf="--prefix=/usr --disable-werror"
if use ocaml
then
myconf="${myconf} $(use_enable ocaml ocamltools)"
else
myconf="${myconf} --disable-ocamltools"
fi
if ! use pam
then
myconf="${myconf} --disable-pam"
fi
econf ${myconf}
}
src_compile() {
export VARTEXFONTS="${T}/fonts"
local myopt
use debug && myopt="${myopt} debug=y"
use custom-cflags || unset CFLAGS
if test-flag-CC -fno-strict-overflow; then
append-flags -fno-strict-overflow
fi
unset LDFLAGS
unset CFLAGS
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
use doc && emake -C docs txt html
emake -C docs man-pages
}
src_install() {
# Override auto-detection in the build system, bug #382573
export INITD_DIR=/tmp/init.d
export CONFIG_LEAF_DIR=../tmp/default
# Let the build system compile installed Python modules.
local PYTHONDONTWRITEBYTECODE
export PYTHONDONTWRITEBYTECODE
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
XEN_PYTHON_NATIVE_INSTALL=y install-tools
# Fix the remaining Python shebangs.
python_fix_shebang "${D}"
# Remove RedHat-specific stuff
rm -rf "${D}"tmp || die
# uncomment lines in xl.conf
sed -e 's:^#autoballoon=1:autoballoon=1:' \
-e 's:^#lockfile="/var/lock/xl":lockfile="/var/lock/xl":' \
-e 's:^#vifscript="vif-bridge":vifscript="vif-bridge":' \
-i tools/examples/xl.conf || die
# Reset bash completion dir; Bug 472438
mv "${D}"bash-completion "${D}"usr/share/ || die
if use doc; then
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
dohtml -r docs/
docinto pdf
dodoc ${DOCS[@]}
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
fi
rm -rf "${D}"/usr/share/doc/xen/
doman docs/man?/*
if use xend; then
newinitd "${FILESDIR}"/xend.initd-r2 xend || die "Couldn't install xen.initd"
fi
newconfd "${FILESDIR}"/xendomains.confd xendomains
newconfd "${FILESDIR}"/xenstored.confd xenstored
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
newinitd "${FILESDIR}"/xenstored.initd xenstored
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
newinitd "${FILESDIR}"/xencommons.initd xencommons
newconfd "${FILESDIR}"/xencommons.confd xencommons
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
if use screen; then
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
keepdir /var/log/xen-consoles
fi
# Move files built with use qemu, Bug #477884
if [[ "${ARCH}" == 'amd64' ]] && use qemu; then
mkdir -p "${D}"usr/$(get_libdir)/xen/bin || die
mv "${D}"usr/lib/xen/bin/* "${D}"usr/$(get_libdir)/xen/bin/ || die
fi
# For -static-libs wrt Bug 384355
if ! use static-libs; then
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
fi
# xend expects these to exist
keepdir /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen
# for xendomains
keepdir /etc/xen/auto
# Temp QA workaround
dodir "$(udev_get_udevdir)"
mv "${D}"/etc/udev/* "${D}/$(udev_get_udevdir)"
rm -rf "${D}"/etc/udev
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
}
pkg_postinst() {
elog "Official Xen Guide and the offical wiki page:"
elog "https://wiki.gentoo.org/wiki/Xen"
elog "http://wiki.xen.org/wiki/Main_Page"
elog ""
elog "Recommended to utilise the xencommons script to config sytem At boot"
elog "Add by use of rc-update on completion of the install"
if [[ "$(scanelf -s __guard -q "${PYTHON}")" ]] ; then
echo
ewarn "xend may not work when python is built with stack smashing protection (ssp)."
ewarn "If 'xm create' fails with '<ProtocolError for /RPC2: -1 >', see bug #141866"
ewarn "This problem may be resolved as of Xen 3.0.4, if not post in the bug."
fi
# TODO: we need to have the current Python slot here.
if ! has_version "dev-lang/python[ncurses]"; then
echo
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
fi
if has_version "sys-apps/iproute2[minimal]"; then
echo
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
ewarn "will not work until you rebuild iproute2 without USE=minimal."
fi
if ! use hvm; then
echo
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
elog "support enable the hvm use flag."
elog "An x86 or amd64 multilib system is required to build HVM support."
fi
if use xend; then
elog"";elog "xend capability has been enabled and installed"
fi
if use qemu; then
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
fi
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
echo
elog "xensv is broken upstream (Gentoo bug #142011)."
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
fi
}

143
app-emulation/xen/xen-4.3.1-r4.ebuild

@ -0,0 +1,143 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.3.1-r4.ebuild,v 1.3 2014/02/07 10:19:00 idella4 Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
if [[ $PV == *9999 ]]; then
KEYWORDS=""
REPO="xen-unstable.hg"
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
S="${WORKDIR}/${REPO}"
live_eclass="mercurial"
else
# Set to match entry in stable 4.3.1-r1, Bug 493944
KEYWORDS="~amd64 -x86"
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz"
fi
inherit mount-boot flag-o-matic python-any-r1 toolchain-funcs eutils ${live_eclass}
DESCRIPTION="The Xen virtual machine monitor"
HOMEPAGE="http://xen.org/"
LICENSE="GPL-2"
SLOT="0"
IUSE="custom-cflags debug efi flask xsm"
DEPEND="${PYTHON_DEPS}
efi? ( >=sys-devel/binutils-2.22[multitarget] )
!efi? ( >=sys-devel/binutils-2.22[-multitarget] )"
RDEPEND=""
PDEPEND="~app-emulation/xen-tools-${PV}"
RESTRICT="test"
# Approved by QA team in bug #144032
QA_WX_LOAD="boot/xen-syms-${PV}"
REQUIRED_USE="flask? ( xsm )"
# Security patches
XSA_PATCHES=(
"${FILESDIR}"/${PN}-CVE-2013-4375-XSA-71.patch
"${FILESDIR}"/${PN}-CVE-2013-4494-XSA-73.patch
"${FILESDIR}"/${PN}-4.3-CVE-2013-6375-XSA-75.patch
"${FILESDIR}"/${PN}-CVE-2013-6375-XSA-78.patch
"${FILESDIR}"/${PN}-CVE-2013-6885-XSA-82.patch
"${FILESDIR}"/${PN}-4.3-CVE-2013-4553-XSA-74.patch
"${FILESDIR}"/${PN}-CVE-2013-4554-XSA-76.patch
"${FILESDIR}"/${PN}-CVE-2013-6400-XSA-80.patch
"${FILESDIR}"/${PN}-4-XSA-83.patch #bug #499054
"${FILESDIR}"/${PN}-4.3-XSA-87.patch #bug #499124
)
pkg_setup() {
python-any-r1_pkg_setup
if [[ -z ${XEN_TARGET_ARCH} ]]; then
if use x86 && use amd64; then
die "Confusion! Both x86 and amd64 are set in your use flags!"
elif use x86; then
export XEN_TARGET_ARCH="x86_32"
elif use amd64; then
export XEN_TARGET_ARCH="x86_64"
else
die "Unsupported architecture!"
fi
fi
if use flask ; then
export "XSM_ENABLE=y"
export "FLASK_ENABLE=y"
elif use xsm ; then
export "XSM_ENABLE=y"
fi
}
src_prepare() {
# Drop .config and fix gcc-4.6
epatch "${FILESDIR}"/${PN/-pvgrub/}-4.3-fix_dotconfig-gcc.patch
if use efi; then
epatch "${FILESDIR}"/${PN}-4.2-efi.patch
export EFI_VENDOR="gentoo"
export EFI_MOUNTPOINT="boot"
fi
# if the user *really* wants to use their own custom-cflags, let them