Sync with portage [Fri Jul 5 10:33:40 MSK 2013].

mhiretskiy
root 11 years ago
parent 8d0a5a2e46
commit a6fd6d373c

@ -1,20 +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/eselect-xvmc/eselect-xvmc-0.1.ebuild,v 1.10 2011/02/06 05:14:57 leio Exp $
DESCRIPTION="Manages XvMC implementations"
HOMEPAGE="http://www.gentoo.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
IUSE=""
DEPEND=""
RDEPEND=">=app-admin/eselect-1.0.10"
src_install() {
insinto /usr/share/eselect/modules
newins "${FILESDIR}"/${P}.eselect xvmc.eselect || die "newins failed"
}

@ -1,20 +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/eselect-xvmc/eselect-xvmc-0.2.ebuild,v 1.7 2011/08/29 06:31:33 jer Exp $
DESCRIPTION="Manages XvMC implementations"
HOMEPAGE="http://www.gentoo.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
IUSE=""
DEPEND=""
RDEPEND=">=app-admin/eselect-1.0.10"
src_install() {
insinto /usr/share/eselect/modules
newins "${FILESDIR}"/${P}.eselect xvmc.eselect || die "newins failed"
}

@ -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/eselect-xvmc/eselect-xvmc-0.4.ebuild,v 1.12 2013/06/09 16:01:47 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-xvmc/eselect-xvmc-0.4.ebuild,v 1.13 2013/07/04 21:14:11 ottxor Exp $
EAPI=5
@ -10,7 +10,7 @@ SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-solaris"
IUSE=""
DEPEND=""

@ -1,181 +0,0 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id: eselect-xvmc-0.1.eselect,v 1.1 2008/02/22 14:44:40 cardoe Exp $
DESCRIPTION="Manage the XvMC implementation used by your system"
MAINTAINER="cardoe@gentoo.org"
SVN_DATE='$Date: 2008/02/22 14:44:40 $'
VERSION=$(svn_date_to_version "${SVN_DATE}" )
XVMCLIBS=(
"libXvMCNVIDIA_dynamic.so.1"
"libXvMC.so.1"
"libviaXvMC.so.1"
"libchromeXvMC.so.1"
"libviaXvMCPro.so.1"
"libchromeXvMCPro.so.1"
"libI810XvMC.so.1" )
XVMCPRETTY=(
"nvidia"
"xorg-x11"
"via"
"openchrome"
"via-pro"
"openchrome-pro"
"intel" )
get_implementation_indices() {
local ret n
for (( n = 0; n < ${#XVMCLIBS[@]}; ++n )); do
[[ -e "${ROOT}/usr/lib/${XVMCLIBS[n]}" ]] && ret+=($n)
done
echo ${ret[@]}
}
get_current_implementation_index() {
local n
if [[ -f "${ROOT}/etc/X11/XvMCConfig" ]]; then
local current=$(< "${ROOT}/etc/X11/XvMCConfig")
for (( n = 0; n < ${#XVMCLIBS[@]}; ++n )); do
if [[ "${XVMCLIBS[n]}" = "${current}" ]]; then
echo "${n}"
return
fi
done
fi
echo "-1"
}
set_new_implementation() {
echo -n "Switching to ${XVMCPRETTY[$1]} XvMC implementation..."
touch "${ROOT}/etc/X11/XvMCConfig" 2&>1 > /dev/null
if [[ $? -eq 0 ]]; then
echo "${XVMCLIBS[$1]}" > "${ROOT}/etc/X11/XvMCConfig"
chmod 644 "${ROOT}/etc/X11/XvMCConfig"
chown 0:0 "${ROOT}/etc/X11/XvMCConfig"
echo " done"
else
echo " failed!"
echo "Insufficient privileges"
fi
}
### list action
## {{{ list stuff
describe_list() {
echo "List Available XvMC implementations"
}
do_list() {
local output n
local avail=( $(get_implementation_indices) )
local current=$(get_current_implementation_index)
write_list_start "Available XvMC implementations ( $(highlight '*') is current ):"
if (( ${#avail[@]} )) ; then
for n in "${avail[@]}" ; do
output[n]="${XVMCPRETTY[n]}"
[[ ${current} -eq ${n} ]] && \
output[n]+=" $(highlight '*')"
done
write_numbered_list "${output[@]}"
else
write_kv_list_entry "(none found)" ""
fi
return 0
}
## }}}
### show action
## {{{ show stuff
describe_show() {
echo "Print the current XvMC implementation."
}
do_show() {
local current=$(get_current_implementation_index)
write_list_start "Current XvMC implementation:"
if [[ ${current} -ne -1 ]]; then
echo "${XVMCPRETTY[current]}"
return 0
else
echo "(none)"
return 2
fi
}
## }}}
### set action
## {{{ set stuff
describe_set() {
echo "Select the XvMC implementation"
}
describe_set_parameters() {
echo "<target>"
}
describe_set_options() {
echo "<target> : XvMC implementation to activate"
echo "--use-old : If an implementation is already set, use that one instead"
}
do_set() {
local current=$(get_current_implementation_index)
local avail=( $(get_implementation_indices) )
local n new action
while [[ ${#@} -gt 0 ]]; do
local opt=${1}
shift
case ${opt} in
--use-old)
if [[ ${current} -gt -1 ]]; then
(( ${current} < ${#XVMCPRETTY[@]} )) && action="old-implementation"
fi
;;
*)
[[ -z ${action} ]] && action="set-implementation"
if is_number ${opt} ; then
new=${avail[opt - 1]}
if [[ -z ${new} ]]; then
die -q "Unrecognized option: ${opt}"
fi
elif has ${opt} ${XVMCPRETTY[@]}; then
for (( n = 0; n < ${#XVMCPRETTY[@]}; ++n )); do
[[ "${XVMCPRETTY[n]}" = "${opt}" ]] && new=${n}
done
else
die -q "Unrecognized option: ${opt}"
fi
;;
esac
done
case ${action} in
old-implementation)
set_new_implementation ${current}
return $?
;;
set-implementation)
if [[ -n ${new} ]]; then
set_new_implementation ${new}
return $?
else
die -q "Please specify an implementation to set"
fi
;;
*)
die -q "Invalid usage of set action."
esac
}
# vim: ts=4 sw=4 noet fdm=marker

@ -1,183 +0,0 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id: eselect-xvmc-0.2.eselect,v 1.1 2008/10/29 14:37:29 cardoe Exp $
DESCRIPTION="Manage the XvMC implementation used by your system"
MAINTAINER="cardoe@gentoo.org"
SVN_DATE='$Date: 2008/10/29 14:37:29 $'
VERSION=$(svn_date_to_version "${SVN_DATE}" )
XVMCLIBS=(
"libXvMCNVIDIA_dynamic.so.1"
"libXvMC.so.1"
"libviaXvMC.so.1"
"libchromeXvMC.so.1"
"libviaXvMCPro.so.1"
"libchromeXvMCPro.so.1"
"libI810XvMC.so.1"
"libAMDXvBA.so.1" )
XVMCPRETTY=(
"nvidia"
"xorg-x11"
"via"
"openchrome"
"via-pro"
"openchrome-pro"
"intel"
"ati" )
get_implementation_indices() {
local ret n
for (( n = 0; n < ${#XVMCLIBS[@]}; ++n )); do
[[ -e "${ROOT}/usr/lib/${XVMCLIBS[n]}" ]] && ret+=($n)
done
echo ${ret[@]}
}
get_current_implementation_index() {
local n
if [[ -f "${ROOT}/etc/X11/XvMCConfig" ]]; then
local current=$(< "${ROOT}/etc/X11/XvMCConfig")
for (( n = 0; n < ${#XVMCLIBS[@]}; ++n )); do
if [[ "${XVMCLIBS[n]}" = "${current}" ]]; then
echo "${n}"
return
fi
done
fi
echo "-1"
}
set_new_implementation() {
echo -n "Switching to ${XVMCPRETTY[$1]} XvMC implementation..."
touch "${ROOT}/etc/X11/XvMCConfig" 2&>1 > /dev/null
if [[ $? -eq 0 ]]; then
echo "${XVMCLIBS[$1]}" > "${ROOT}/etc/X11/XvMCConfig"
chmod 644 "${ROOT}/etc/X11/XvMCConfig"
chown 0:0 "${ROOT}/etc/X11/XvMCConfig"
echo " done"
else
echo " failed!"
echo "Insufficient privileges"
fi
}
### list action
## {{{ list stuff
describe_list() {
echo "List Available XvMC implementations"
}
do_list() {
local output n
local avail=( $(get_implementation_indices) )
local current=$(get_current_implementation_index)
write_list_start "Available XvMC implementations ( $(highlight '*') is current ):"
if (( ${#avail[@]} )) ; then
for n in "${avail[@]}" ; do
output[n]="${XVMCPRETTY[n]}"
[[ ${current} -eq ${n} ]] && \
output[n]+=" $(highlight '*')"
done
write_numbered_list "${output[@]}"
else
write_kv_list_entry "(none found)" ""
fi
return 0
}
## }}}
### show action
## {{{ show stuff
describe_show() {
echo "Print the current XvMC implementation."
}
do_show() {
local current=$(get_current_implementation_index)
write_list_start "Current XvMC implementation:"
if [[ ${current} -ne -1 ]]; then
echo "${XVMCPRETTY[current]}"
return 0
else
echo "(none)"
return 2
fi
}
## }}}
### set action
## {{{ set stuff
describe_set() {
echo "Select the XvMC implementation"
}
describe_set_parameters() {
echo "<target>"
}
describe_set_options() {
echo "<target> : XvMC implementation to activate"
echo "--use-old : If an implementation is already set, use that one instead"
}
do_set() {
local current=$(get_current_implementation_index)
local avail=( $(get_implementation_indices) )
local n new action
while [[ ${#@} -gt 0 ]]; do
local opt=${1}
shift
case ${opt} in
--use-old)
if [[ ${current} -gt -1 ]]; then
(( ${current} < ${#XVMCPRETTY[@]} )) && action="old-implementation"
fi
;;
*)
[[ -z ${action} ]] && action="set-implementation"
if is_number ${opt} ; then
new=${avail[opt - 1]}
if [[ -z ${new} ]]; then
die -q "Unrecognized option: ${opt}"
fi
elif has ${opt} ${XVMCPRETTY[@]}; then
for (( n = 0; n < ${#XVMCPRETTY[@]}; ++n )); do
[[ "${XVMCPRETTY[n]}" = "${opt}" ]] && new=${n}
done
else
die -q "Unrecognized option: ${opt}"
fi
;;
esac
done
case ${action} in
old-implementation)
set_new_implementation ${current}
return $?
;;
set-implementation)
if [[ -n ${new} ]]; then
set_new_implementation ${new}
return $?
else
die -q "Please specify an implementation to set"
fi
;;
*)
die -q "Invalid usage of set action."
esac
}
# vim: ts=4 sw=4 noet fdm=marker

@ -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/puppet/puppet-2.7.22.ebuild,v 1.4 2013/06/30 22:17:29 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-2.7.22.ebuild,v 1.5 2013/07/04 12:26:32 ago Exp $
EAPI="4"
USE_RUBY="ruby18 ruby19"
@ -18,7 +18,7 @@ SRC_URI="http://www.puppetlabs.com/downloads/puppet/${P}.tar.gz"
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"
KEYWORDS="amd64 hppa ppc ~sparc x86"
ruby_add_rdepend "
>=dev-ruby/facter-1.5.6

@ -11,4 +11,7 @@
<email>twitch153@hotmail.com</email>
<name>Devan Franchini</name>
</maintainer>
<use>
<flag name="portage">Propagete python_targets dependencies to sys-apps/portage</flag>
</use>
</pkgmetadata>

@ -0,0 +1,58 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/webapp-config/webapp-config-1.50.19-r1.ebuild,v 1.1 2013/07/05 00:22:39 blueness Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_6,2_7} pypy{1_9,2_0} )
inherit distutils-r1
DESCRIPTION="Gentoo's installer for web-based applications"
HOMEPAGE="http://sourceforge.net/projects/webapp-config/"
SRC_URI="http://dev.gentoo.org/~blueness/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="+portage"
DEPEND="app-text/xmlto"
RDEPEND="portage? ( sys-apps/portage[${PYTHON_USEDEP}] )"
python_compile_all() {
#parallel build fixed in next release
emake -j1 -C doc/
}
python_install() {
# According to this discussion:
# http://mail.python.org/pipermail/distutils-sig/2004-February/003713.html
# distutils does not provide for specifying two different script install
# locations. Since we only install one script here the following should
# be ok
distutils-r1_python_install --install-scripts="/usr/sbin"
}
python_install_all() {
insinto /etc/vhosts
doins config/webapp-config
keepdir /usr/share/webapps
keepdir /var/db/webapps
dodoc AUTHORS TODO
doman doc/*.[58]
dohtml doc/*.[58].html
}
python_test() {
PYTHONPATH="." "${PYTHON}" WebappConfig/tests/dtest.py \
|| die "Testing failed with ${EPYTHON}"
}
pkg_postinst() {
elog "Now that you have upgraded webapp-config, you **must** update your"
elog "config files in /etc/vhosts/webapp-config before you emerge any"
elog "packages that use webapp-config."
}

@ -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/webapp-config/webapp-config-9999.ebuild,v 1.1 2013/02/18 17:44:32 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/webapp-config/webapp-config-9999.ebuild,v 1.2 2013/07/05 00:29:10 blueness Exp $
EAPI="5"
@ -27,22 +27,33 @@ HOMEPAGE="http://sourceforge.net/projects/webapp-config/"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
DEPEND="app-text/xmlto"
RDEPEND=""
PYTHON_MODNAME="WebappConfig"
src_compile() {
BUILD_DIR="${WORKDIR}/${P}_build"
distutils-r1_python_compile
# We can't use-dep on portage for 9999 else we make repoman angry!
if [[ ${PV} = 9999* ]]
then
IUSE=""
RDEPEND=""
else
IUSE="+portage"
RDEPEND="portage? ( sys-apps/portage[${PYTHON_USEDEP}] )"
fi
python_compile_all() {
emake -C doc/
}
src_install() {
python_export_best
python_install() {
# According to this discussion:
# http://mail.python.org/pipermail/distutils-sig/2004-February/003713.html
# distutils does not provide for specifying two different script install
# locations. Since we only install one script here the following should
# be ok
distutils-r1_python_install --install-scripts="/usr/sbin"
}
python_install_all() {
insinto /etc/vhosts
doins config/webapp-config
@ -56,12 +67,10 @@ src_install() {
python_test() {
PYTHONPATH="." "${PYTHON}" WebappConfig/tests/dtest.py \
|| die "Tests fail with ${EPYTHON}";
|| die "Testing failed with ${EPYTHON}"
}
pkg_postinst() {
distutils-r1_pkg_postinst
elog "Now that you have upgraded webapp-config, you **must** update your"
elog "config files in /etc/vhosts/webapp-config before you emerge any"
elog "packages that use webapp-config."

@ -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/loop-aes-losetup/loop-aes-losetup-2.21.ebuild,v 1.3 2013/06/26 11:53:51 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/loop-aes-losetup/loop-aes-losetup-2.21.ebuild,v 1.4 2013/07/04 12:16:52 ago Exp $
EAPI="4"
@ -16,7 +16,7 @@ DESCRIPTION="Various useful Linux utilities"
HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz
http://loop-aes.sourceforge.net/updates/util-linux-${LOOPAES_PV}.diff.bz2"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-linux"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-linux"
LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain"
SLOT="0"

@ -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/mit-krb5/mit-krb5-1.11.2-r1.ebuild,v 1.3 2013/07/03 10:31:03 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.11.2-r1.ebuild,v 1.6 2013/07/04 14:13:04 ago Exp $
EAPI=5
@ -15,7 +15,7 @@ SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}-signed.tar"
LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ppc ppc64 ~s390 ~sh ~sparc x86"
IUSE="doc +keyutils openldap +pkinit +threads test xinetd"
RDEPEND="!!app-crypt/heimdal

@ -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/signing-party/signing-party-1.1.4.ebuild,v 1.3 2013/06/24 16:50:07 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/signing-party/signing-party-1.1.4.ebuild,v 1.4 2013/07/04 12:18:00 ago Exp $
EAPI="4"
@ -12,7 +12,7 @@ SRC_URI="mirror://debian/pool/main/s/signing-party/${PN}_${PV}.orig.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ~x86 ~ppc-macos"
KEYWORDS="amd64 ppc x86 ~ppc-macos"
IUSE=""
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-crypt/tinyca/tinyca-2.0.7.5-r1.ebuild,v 1.3 2013/06/05 07:33:49 alonbl Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/tinyca/tinyca-2.0.7.5-r1.ebuild,v 1.4 2013/07/04 12:18:41 ago Exp $
inherit eutils
@ -11,7 +11,7 @@ SRC_URI="http://tinyca.sm-zone.net/${MY_P}.tar.bz2"
LICENSE="Artistic"
SLOT="0"
KEYWORDS="amd64 ~ppc ~sparc ~x86"
KEYWORDS="amd64 ~ppc ~sparc x86"
IUSE=""
LANGS="en de cs es sv"

@ -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/xca/xca-0.9.3-r1.ebuild,v 1.3 2013/06/24 05:20:49 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/xca/xca-0.9.3-r1.ebuild,v 1.4 2013/07/04 12:18:48 ago Exp $
EAPI="4"
@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="doc bindist"
RDEPEND=">=dev-libs/openssl-0.9.8[bindist=]

@ -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.15 2013/06/30 18:02:48 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.8.3.1.ebuild,v 1.16 2013/07/04 12:17:20 ago Exp $
EAPI=4
@ -14,7 +14,7 @@ SRC_URI="http://ftp.stack.nl/pub/users/dimitri/${P}.src.tar.gz
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
IUSE="debug doc dot qt4 latex elibc_FreeBSD userland_GNU"
#missing SerbianCyrilic, JapaneseEn, KoreanEn, Chinesetraditional

@ -1,2 +1 @@
DIST nedit-5.5-src.tar.bz2 1124825 SHA256 0f6ae7205753080e8b047fb45759a7d6036b19396045c0b5c4a979441231966b SHA512 a1b409024851c2332c0992b5bfb8606c875795f1907a977b245cb2b081a45b53e606f615e413cfa8c34af2df782504e55351ce1a7545b7265958db06038d0858 WHIRLPOOL c14d48089d5dfa53f6edc21b0e57a83303f4d195322cd18ce6590d7a3e272bcb9147743554dada9c6dc87fd440568400c290003b9a3627b0268e54236d8b028c
DIST nedit-5.5_p20110116.tar.bz2 1030011 SHA256 a69d765d933829b6d0447516aef6a1157b52c1b7dc99cd5713b10632b6294bd8 SHA512 ab635c9037c1599009684a1f40779f688c8e16a8b1294ffe88ff8d2466411beefa7e6324edd59b18fe4764fe6b66e83aa277cf87d4fcea5f4b223d951fc603e2 WHIRLPOOL 31b95fa483110a48a66c946142e5e924209a5c4b1a2a17ecc54844be26edbe3c0118595c546d570cdaed35c9aba7f5faeb247efb39f2f161a9dd115ad0b37faa

@ -1,24 +0,0 @@
--- source/nedit.c.or 2004-09-02 11:49:56.000000000 +0300
+++ source/nedit.c 2007-05-29 15:15:19.000000000 +0300
@@ -434,6 +434,20 @@
and -iconic are per-window and it should not be allowed to consume them,
so we temporarily masked them out. */
maskArgvKeywords(argc, argv, protectedKeywords);
+ /* X.Org 6.8 and above add support for ARGB visuals (with alpha-channel),
+ typically with a 32-bit color depth. By default, NEdit uses the visual
+ with the largest color depth. However, both OpenMotif and Lesstif
+ cannot handle ARGB visuals (crashes, weird display effects, ...), so
+ NEdit should avoid selecting such a visual.
+ Unfortunatly, there appears to be no reliable way to identify
+ ARGB visuals that doesn't require some of the recent X.Org
+ extensions. Luckily, the X.Org developers have provided a mechanism
+ that can hide these problematic visuals from the application. This can
+ be achieved by setting the XLIB_SKIP_ARGB_VISUALS environment variable.
+ Users can set this variable before starting NEdit, but it is much
+ more convenient that NEdit takes care of this. This must be done before
+ the display is opened (empirically verified). */
+ putenv("XLIB_SKIP_ARGB_VISUALS=1");
TheDisplay = XtOpenDisplay (context, NULL, APP_NAME, APP_CLASS,
NULL, 0, &argc, argv);
unmaskArgvKeywords(argc, argv, protectedKeywords);

@ -1,13 +0,0 @@
--- util/check_lin_tif.c.or 2007-10-17 12:53:19.000000000 +0300
+++ util/check_lin_tif.c 2007-10-17 13:02:29.000000000 +0300
@@ -251,7 +251,8 @@
if (!force_bad &&
((XmVERSION == 2 && XmREVISION == 1) ||
(XmVERSION == 2 && XmREVISION == 2 && XmUPDATE_LEVEL == 3 &&
- strcmp("@(#)Motif Version 2.2.3", vs) == 0))) {
+ strcmp("@(#)Motif Version 2.2.3", vs) == 0) ||
+ (XmVERSION == 2 && XmREVISION >= 3))) {
exit(0);
}

@ -1,12 +0,0 @@
diff -rupN nedit-5.5.old/source/regularExp.c nedit-5.5.new/source/regularExp.c
--- nedit-5.5.old/source/regularExp.c 2004-08-20 12:37:30.000000000 -0400
+++ nedit-5.5.new/source/regularExp.c 2009-09-14 13:47:37.000000000 -0400
@@ -2645,7 +2645,7 @@ static struct brace_counts *Brace;
/* Default table for determining whether a character is a word delimiter. */
-static unsigned char Default_Delimiters [UCHAR_MAX] = {0};
+static unsigned char Default_Delimiters [UCHAR_MAX+1] = {0};
static unsigned char *Current_Delimiters; /* Current delimiter table */

@ -1,51 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/nedit/nedit-5.5-r1.ebuild,v 1.12 2012/10/24 18:58:01 ulm Exp $
EAPI=1
inherit eutils toolchain-funcs
DESCRIPTION="Multi-purpose text editor for the X Window System"
HOMEPAGE="http://nedit.org/"
SRC_URI="mirror://sourceforge/nedit/${P}-src.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ~mips ppc sparc x86 ~x86-fbsd"
IUSE=""
RDEPEND=">=x11-libs/motif-2.3:0
x11-libs/libXp
x11-libs/libXpm"
DEPEND="${RDEPEND}
|| ( dev-util/yacc sys-devel/bison )"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-argbvisuals.patch"
epatch "${FILESDIR}/${P}-motif23.patch"
epatch "${FILESDIR}/${P}-off-by-one.patch"
sed -i -e "s:-Wl,-Bstatic::" makefiles/Makefile.linux
sed -i -e "s:CFLAGS=-O:CFLAGS=${CFLAGS}:" makefiles/Makefile.linux
sed -i -e 's:"/bin/csh":"/bin/sh":' source/preferences.c
}
src_compile() {
emake CC="$(tc-getCC)" linux || die
}
src_install() {
into /usr
dobin source/nedit
exeinto /usr/bin
newexe source/nc neditc
newman doc/nedit.man nedit.1
newman doc/nc.man neditc.1
dodoc README ReleaseNotes ChangeLog
cd doc
dodoc *.txt nedit.doc README.FAQ NEdit.ad
dohtml *.{dtd,xsl,xml,html,awk}
}

@ -1,75 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/nedit/nedit-5.5_p20110116-r1.ebuild,v 1.1 2013/05/15 13:10:33 xmw Exp $
EAPI=2
inherit toolchain-funcs eutils
DESCRIPTION="Multi-purpose text editor for the X Window System"
HOMEPAGE="http://nedit.org/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""
RDEPEND=">=x11-libs/motif-2.3:0
x11-libs/libXp
x11-libs/libXpm"
DEPEND="${RDEPEND}
|| ( dev-util/yacc sys-devel/bison )
dev-lang/perl"
S="${WORKDIR}/${PN}"
src_prepare() {
#respecting LDFLAGS, bug #208189
epatch \
"${FILESDIR}"/nedit-5.5_p20090914-ldflags.patch \
"${FILESDIR}"/${P}-40_Pointer_to_Integer.patch
sed \
-e "s:bin/:${EPREFIX}/bin/:g" \
-i Makefile source/preferences.c source/help_data.h source/nedit.c Xlt/Makefile || die
sed \
-e "s:nc:neditc:g" -i doc/nc.pod || die
}
src_configure() {
sed -i -e "s:CFLAGS=-O:CFLAGS=${CFLAGS}:" -e "s:check_tif_rule::" \
makefiles/Makefile.linux || die
sed -i -e "s:CFLAGS=-O:CFLAGS=${CFLAGS}:" \
-e "s:MOTIFDIR=/usr/local:MOTIFDIR=${EPREFIX}/usr:" \
-e "s:-lX11:-lX11 -lXmu -liconv:" \
-e "s:check_tif_rule::" \
makefiles/Makefile.macosx || die
}
src_compile() {
case ${CHOST} in
*-darwin*)
emake CC="$(tc-getCC)" AR="$(tc-getAR)"macosx || die
;;
*-linux*)
emake CC="$(tc-getCC)" AR="$(tc-getAR)" linux || die
;;
esac
emake VERSION="NEdit ${PV}" -j1 -C doc all || die
}
src_install() {
dobin source/nedit || die
newbin source/nc neditc || die
make_desktop_entry ${PN}
doicon "${FILESDIR}"/${PN}.svg
newman doc/nedit.man nedit.1 || die
newman doc/nc.man neditc.1 || die
dodoc README ReleaseNotes ChangeLog || die
cd doc
dodoc nedit.doc NEdit.ad faq.txt || die
dohtml nedit.html || die
}

@ -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/nedit/nedit-5.5_p20110116-r2.ebuild,v 1.5 2013/06/29 16:25:09 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-editors/nedit/nedit-5.5_p20110116-r2.ebuild,v 1.6 2013/07/04 12:26:23 ago Exp $
EAPI=5
@ -12,7 +12,7 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ~mips ppc sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
KEYWORDS="alpha amd64 ~mips ppc sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
RDEPEND=">=x11-libs/motif-2.3:0
x11-libs/libXp

@ -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/libvirt/libvirt-1.0.5.2.ebuild,v 1.2 2013/06/28 20:52:44 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.0.5.2.ebuild,v 1.3 2013/07/04 12:25:08 ago Exp $
EAPI=5
@ -26,7 +26,7 @@ else
ftp://libvirt.org/libvirt/stable_updates/${MY_P}.tar.gz
${BACKPORTS:+
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
KEYWORDS="amd64 ~x86"
KEYWORDS="amd64 x86"
fi
S="${WORKDIR}/${P%_rc*}"

@ -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/virtinst/virtinst-0.600.4.ebuild,v 1.2 2013/06/28 20:56:45 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtinst/virtinst-0.600.4.ebuild,v 1.3 2013/07/04 12:24:52 ago Exp $
#BACKPORTS=2
@ -24,7 +24,7 @@ else
SRC_URI="http://virt-manager.et.redhat.com/download/sources/${PN}/${P}.tar.gz
${BACKPORTS:+mirror://gentoo/${P}-bp-${BACKPORTS}.tar.bz2
http://dev.gentoo.org/~cardoe/distfiles/${P}-bp-${BACKPORTS}.tar.bz2}"
KEYWORDS="amd64 ~x86"
KEYWORDS="amd64 x86"
fi
DESCRIPTION="Python modules for starting virtualized guest installations"

@ -1,7 +1,7 @@
#!/sbin/runscript
# 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/files/xenstored.initd,v 1.5 2013/07/01 05:42:01 idella4 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenstored.initd,v 1.6 2013/07/04 09:42:15 idella4 Exp $
depend() {
before xendomains xend sshd ntp-client ntpd nfs nfsmount rsyncd portmap dhcp
@ -19,7 +19,6 @@ start() {
echo -n .
sleep .5
done
sleep 15
einfo "Setting domain0 name record"
/usr/bin/xenstore-write "/local/domain/0/name" "Domain-0"
eend $*

@ -1,350 +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.1-r3.ebuild,v 1.6 2013/05/23 17:47:30 ago 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 ocaml pygrub screen static-libs xend"
REQUIRED_USE="hvm? ( qemu )"
CDEPEND="dev-libs/yajl
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/pypam[${PYTHON_USEDEP}]
dev-python/pyxml[${PYTHON_USEDEP}]
sys-libs/zlib
sys-power/iasl
ocaml? ( dev-ml/findlib )
hvm? ( media-libs/libsdl )
${PYTHON_DEPS}
api? ( dev-libs/libxml2
net-misc/curl )
${PYTHON_DEPS}
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )"
DEPEND="${CDEPEND}
sys-devel/bin86
sys-devel/dev86
dev-lang/perl
app-misc/pax-utils
doc? (
app-doc/doxygen
dev-tex/latex2html[png,gif]
media-gfx/transfig
media-gfx/graphviz
dev-tex/xcolor
dev-texlive/texlive-latexextra
virtual/latex-base
dev-tex/latexmk
dev-texlive/texlive-latex
dev-texlive/texlive-pictures
dev-texlive/texlive-latexrecommended
)
hvm? ( x11-proto/xproto )
qemu? ( >=sys-apps/texinfo-5 )"
RDEPEND="${CDEPEND}
sys-apps/iproute2
net-misc/bridge-utils
ocaml? ( >=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() {
# Drop .config, fixes to gcc-4.6
epatch "${FILESDIR}"/${PN/-tools/}-4-fix_dotconfig-gcc.patch
# Xend
if ! use xend; then
sed -e 's:xm xen-bugtool xen-python-path xend:xen-bugtool xen-python-path:' \
-i tools/misc/Makefile || die "Disabling xend failed"
sed -e 's:^XEND_INITD:#XEND_INITD:' \
-i tools/examples/Makefile || die "Disabling xend failed"
fi
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default cflags
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
-exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} + || die "failed to re-set custom-cflags"
fi
if ! use pygrub; then
sed -e '/^SUBDIRS-$(PYTHON_TOOLS) += pygrub$/d' -i tools/Makefile || die
fi
# Disable hvm support on systems that don't support x86_32 binaries.
if ! use hvm; then
sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
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.2.0-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.2.0-jserver.patch
# add missing typedef
epatch "${FILESDIR}"/xen-4-ulong.patch \
"${FILESDIR}"/${PN}-4.2-xen_disk_leak.patch
#Sec patches currently valid
epatch "${FILESDIR}"/xen-4-CVE-2012-6075-XSA-41.patch \
"${FILESDIR}"/xen-4-CVE-2013-0215-XSA-38.patch \
"${FILESDIR}"/xen-4-CVE-2013-1919-XSA-46.patch \
"${FILESDIR}"/xen-4-CVE-2013-1922-XSA-48.patch \
"${FILESDIR}"/xen-4-CVE-2013-1952-XSA_49.patch \
"${FILESDIR}"/xen-4-CVE-2013-2072-XSA-56.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}
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 "${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/
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
if use qemu; then
mkdir -p "${D}"usr/lib64/xen/bin || die
mv "${D}"usr/lib/xen/bin/qemu* "${D}"usr/lib64/xen/bin/ || die
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,372 +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.1-r4.ebuild,v 1.5 2013/06/28 11:42:53 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"
XSAPATCHES="http://dev.gentoo.org/~idella4/"
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
$XSAPATCHES/patches/XSA-55patches.tar.gz"
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 ocaml pygrub screen static-libs xend"
REQUIRED_USE="hvm? ( qemu )"
CDEPEND="dev-libs/yajl
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/pypam[${PYTHON_USEDEP}]
dev-python/pyxml[${PYTHON_USEDEP}]
sys-libs/zlib
sys-power/iasl
ocaml? ( dev-ml/findlib )
hvm? ( media-libs/libsdl )
${PYTHON_DEPS}
api? ( dev-libs/libxml2
net-misc/curl )
${PYTHON_DEPS}
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )"
DEPEND="${CDEPEND}
sys-devel/bin86
sys-devel/dev86
dev-lang/perl
app-misc/pax-utils
doc? (
app-doc/doxygen
dev-tex/latex2html[png,gif]
media-gfx/transfig
media-gfx/graphviz
dev-tex/xcolor
dev-texlive/texlive-latexextra
virtual/latex-base
dev-tex/latexmk
dev-texlive/texlive-latex
dev-texlive/texlive-pictures
dev-texlive/texlive-latexrecommended
)
hvm? ( x11-proto/xproto )"
RDEPEND="${CDEPEND}
sys-apps/iproute2
net-misc/bridge-utils
ocaml? ( >=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() {
# Drop .config, fixes to gcc-4.6
epatch "${FILESDIR}"/${PN/-tools/}-4-fix_dotconfig-gcc.patch
# Xend
if ! use xend; then
sed -e 's:xm xen-bugtool xen-python-path xend:xen-bugtool xen-python-path:' \
-i tools/misc/Makefile || die "Disabling xend failed"
sed -e 's:^XEND_INITD:#XEND_INITD:' \
-i tools/examples/Makefile || die "Disabling xend failed"
fi
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default cflags
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
-exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} + || die "failed to re-set custom-cflags"
fi
if ! use pygrub; then
sed -e '/^SUBDIRS-$(PYTHON_TOOLS) += pygrub$/d' -i tools/Makefile || die
fi
# Disable hvm support on systems that don't support x86_32 binaries.
if ! use hvm; then
sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
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.2.0-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.2.0-jserver.patch
# add missing typedef
epatch "${FILESDIR}"/xen-4-ulong.patch \
"${FILESDIR}"/${PN}-4.2-xen_disk_leak.patch
# Set dom0-min-mem to kb; Bug #472982
epatch "${FILESDIR}"/${PN/-tools/}-4.2-configsxp.patch
#Sec patches currently valid
epatch "${FILESDIR}"/xen-4-CVE-2012-6075-XSA-41.patch \
"${FILESDIR}"/xen-4-CVE-2013-0215-XSA-38.patch \
"${FILESDIR}"/xen-4-CVE-2013-1919-XSA-46.patch \
"${FILESDIR}"/xen-4-CVE-2013-1922-XSA-48.patch \
"${FILESDIR}"/xen-4-CVE-2013-1952-XSA_49.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-1-XSA-55.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-2-XSA-55.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-3-XSA-55.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-4-XSA-55.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-5to7-XSA-55.patch \
"${WORKDIR}"/files/xen-4.2-CVE-2013-8-XSA-55.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-9to10-XSA-55.patch \
"${WORKDIR}"/files/xen-4.2-CVE-2013-11-XSA-55.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-12to13-XSA-55.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-14-XSA-55.patch \
"${WORKDIR}"/files/xen-4.2-CVE-2013-15-XSA-55.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-16-XSA-55.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-17-XSA-55.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-18to19-XSA-55.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-20to23-XSA-55.patch \
"${FILESDIR}"/xen-4-CVE-2013-2072-XSA-56.patch \
"${FILESDIR}"/xen-4.2-CVE-XSA-57.patch
epatch_user
}
src_compile() {
export VARTEXFONTS="${T}/fonts"
local myopt
use debug && myopt="${myopt} debug=y"
use custom-cflags || unset CFLAGS
if test-flag-CC -fno-strict-overflow; then
append-flags -fno-strict-overflow
fi
unset LDFLAGS
unset CFLAGS
emake CC="$(tc-getCC)" LD="$(tc-getLD)" -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 "${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/
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
if use qemu; then
mkdir -p "${D}"usr/$(get_libdir)/xen/bin || die
mv "${D}"usr/lib/xen/bin/qemu* "${D}"usr/$(get_libdir)/xen/bin/ || die
fi
# For -static-libs wrt Bug 384355
if ! use static-libs; then
rm -f "${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,351 +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.2-r1.ebuild,v 1.4 2013/05/18 17:32:07 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 ocaml pygrub screen static-libs xend"
REQUIRED_USE="hvm? ( qemu )"
CDEPEND="dev-libs/lzo:2
dev-libs/yajl
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 )
${PYTHON_DEPS}
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
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 )
qemu? ( >=sys-apps/texinfo-5 )"
RDEPEND="${CDEPEND}
sys-apps/iproute2
net-misc/bridge-utils
ocaml? ( >=dev-lang/ocaml-4 )
screen? (
app-misc/screen
app-admin/logrotate
)
virtual/udev"
# hvmloader is used to bootstrap a fully virtualized kernel
# Approved by QA team in bug #144032
QA_WX_LOAD="usr/lib/xen/boot/hvmloader"
RESTRICT="test"
pkg_setup() {
python-single-r1_pkg_setup
export "CONFIG_LOMOUNT=y"
if has_version dev-libs/libgcrypt; 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() {
# Drop .config, fixes to gcc-4.6
epatch "${FILESDIR}"/${PN/-tools/}-4-fix_dotconfig-gcc.patch
# Xend
if ! use xend; then
sed -e 's:xm xen-bugtool xen-python-path xend:xen-bugtool xen-python-path:' \
-i tools/misc/Makefile || die "Disabling xend failed"
sed -e 's:^XEND_INITD:#XEND_INITD:' \
-i tools/examples/Makefile || die "Disabling xend failed"
fi
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default cflags
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
-exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} + || die "failed to re-set custom-cflags"
fi
if ! use pygrub; then
sed -e '/^SUBDIRS-$(PYTHON_TOOLS) += pygrub$/d' -i tools/Makefile || die
fi
# Disable hvm support on systems that don't support x86_32 binaries.
if ! use hvm; then
sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
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.2.0-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.2.0-jserver.patch
# add missing header
epatch "${FILESDIR}"/xen-4-ulong.patch \
"${FILESDIR}"/${PN}-4.2-xen_disk_leak.patch
#Security patches, currently valid
epatch "${FILESDIR}"/xen-4-CVE-2012-6075-XSA-41.patch \
"${FILESDIR}"/xen-4-CVE-2013-1922-XSA-48.patch \
"${FILESDIR}"/xen-4-CVE-2013-1952-XSA-49.patch \
"${FILESDIR}"/xen-4-CVE-2013-2072-XSA-56.patch
epatch_user
}
src_compile() {
export VARTEXFONTS="${T}/fonts"
local myopt
use debug && myopt="${myopt} debug=y"
use custom-cflags || unset CFLAGS
if test-flag-CC -fno-strict-overflow; then
append-flags -fno-strict-overflow
fi
unset LDFLAGS
unset CFLAGS
emake CC="$(tc-getCC)" LD="$(tc-getLD)" -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 "${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/
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
if use qemu; then
mkdir -p "${D}"usr/lib64/xen/bin || die
mv "${D}"usr/lib/xen/bin/qemu* "${D}"usr/lib64/xen/bin/ || die
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,370 +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.2-r2.ebuild,v 1.6 2013/06/28 13:46:44 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"
XSAPATCHES="http://dev.gentoo.org/~idella4/"
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
$XSAPATCHES/patches/XSA-55patches.tar.gz"
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 ocaml pygrub screen static-libs xend"
REQUIRED_USE="hvm? ( qemu )"
CDEPEND="dev-libs/lzo:2
dev-libs/yajl
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 )
${PYTHON_DEPS}
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
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 )"
RDEPEND="${CDEPEND}
sys-apps/iproute2
net-misc/bridge-utils
ocaml? ( >=dev-lang/ocaml-4 )
screen? (
app-misc/screen
app-admin/logrotate
)
virtual/udev"
# hvmloader is used to bootstrap a fully virtualized kernel
# Approved by QA team in bug #144032
QA_WX_LOAD="usr/lib/xen/boot/hvmloader"
RESTRICT="test"
pkg_setup() {
python-single-r1_pkg_setup
export "CONFIG_LOMOUNT=y"
if has_version dev-libs/libgcrypt; 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() {
# Drop .config, fixes to gcc-4.6
epatch "${FILESDIR}"/${PN/-tools/}-4-fix_dotconfig-gcc.patch
# Xend
if ! use xend; then
sed -e 's:xm xen-bugtool xen-python-path xend:xen-bugtool xen-python-path:' \
-i tools/misc/Makefile || die "Disabling xend failed"
sed -e 's:^XEND_INITD:#XEND_INITD:' \
-i tools/examples/Makefile || die "Disabling xend failed"
fi
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default cflags
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
-exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} + || die "failed to re-set custom-cflags"
fi
if ! use pygrub; then
sed -e '/^SUBDIRS-$(PYTHON_TOOLS) += pygrub$/d' -i tools/Makefile || die
fi
# Disable hvm support on systems that don't support x86_32 binaries.
if ! use hvm; then
sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
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.2.0-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.2.0-jserver.patch
# add missing header
epatch "${FILESDIR}"/xen-4-ulong.patch \
"${FILESDIR}"/${PN}-4.2-xen_disk_leak.patch
# Set dom0-min-mem to kb; Bug #472982
epatch "${FILESDIR}"/${PN/-tools/}-4.2-configsxp.patch
#Security patches, currently valid
epatch "${FILESDIR}"/xen-4-CVE-2012-6075-XSA-41.patch \
"${FILESDIR}"/xen-4-CVE-2013-1922-XSA-48.patch \
"${FILESDIR}"/xen-4-CVE-2013-1952-XSA-49.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-1-XSA-55.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-2-XSA-55.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-3-XSA-55.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-4-XSA-55.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-5to7-XSA-55.patch \
"${WORKDIR}"/files/xen-4.2-CVE-2013-8-XSA-55.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-9to10-XSA-55.patch \
"${WORKDIR}"/files/xen-4.2-CVE-2013-11-XSA-55.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-12to13-XSA-55.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-14-XSA-55.patch \
"${WORKDIR}"/files/xen-4.2-CVE-2013-15-XSA-55.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-16-XSA-55.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-17-XSA-55.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-18to19-XSA-55.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-20to23-XSA-55.patch \
"${FILESDIR}"/xen-4-CVE-2013-2072-XSA-56.patch \
"${FILESDIR}"/xen-4.2-CVE-XSA-57.patch
epatch_user
}
src_compile() {
export VARTEXFONTS="${T}/fonts"
local myopt
use debug && myopt="${myopt} debug=y"
use custom-cflags || unset CFLAGS
if test-flag-CC -fno-strict-overflow; then
append-flags -fno-strict-overflow
fi
unset LDFLAGS
unset CFLAGS
emake CC="$(tc-getCC)" LD="$(tc-getLD)" -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 "${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/
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
if [[ "${ARCH}" == 'amd64' ]] && use qemu; then
mkdir -p "${D}"usr/$(get_libdir)/xen/bin || die
mv "${D}"usr/lib/xen/bin/qemu* "${D}"usr/$(get_libdir)/xen/bin/ || die
fi
# For -static-libs wrt Bug 384355
if ! use static-libs; then
rm -f "${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-misc/ca-certificates/ca-certificates-20130119.ebuild,v 1.12 2013/07/02 07:44:49 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/ca-certificates/ca-certificates-20130119.ebuild,v 1.13 2013/07/04 12:25:27 ago Exp $
EAPI="3"
@ -13,7 +13,7 @@ SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_a
LICENSE="MPL-1.1"
SLOT="0"
KEYWORDS="alpha amd64 arm 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 ~x86-winnt"
KEYWORDS="alpha amd64 arm 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 ~x86-winnt"
IUSE=""
# platforms like AIX don't have a good ar

@ -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-misc/jq/jq-1.3.ebuild,v 1.3 2013/06/28 20:58:14 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/jq/jq-1.3.ebuild,v 1.4 2013/07/04 12:24:59 ago Exp $
EAPI=5
@ -12,7 +12,7 @@ SRC_URI="http://stedolan.github.io/jq/download/source/${P}.tar.gz"
LICENSE="MIT CC-BY-3.0"
SLOT="0"
KEYWORDS="amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE="test"
DEPEND="sys-devel/bison

@ -1,4 +1 @@
DIST calcurse-3.1.1.tar.gz 678208 SHA256 0bc2cbe1eb33d61589b04e9d991572e4934f843660a14c64bd3be06f865d006d SHA512 c90973ddc3ef2707b43800d3b272ee652bc8289d8b68d9e516df92d4a2c70b9035fda8ced558c245da923670bf064217ad2b95edeb202229ee2350a11af8d24e WHIRLPOOL e7b02b721312c6173dd8f510eb71cdf35e183c915fee1b0de2c5af82119bf77c91e8ead0a1e53803a2abe7960865279077e8e6783c64e7bc9cc7db6be4f8e2c6
DIST calcurse-3.1.2.tar.gz 678379 SHA256 47da7fc65ab122c6f989188f62eda473c7367b13b99693dc6de5fa5ea6f2a76e SHA512 5a1630e59ff62affd43ecc030a4753cda0977c209c2686bd2f7776c7956848f3709eb14ce0b2af56200dbca9631d263a39730f528d06b9cd160a2270ea6d031c WHIRLPOOL 3ea777870ecb7c44f698bb427486d48e241bc79a6dac2ab52498e07a4c1bd08ba694b3f665245181d00bc3caa9cd6ff9e9a84671c480f445366bfc92ac6e65f8
DIST calcurse-3.1.3.tar.gz 686770 SHA256 32bb99ef67a522ce8a164cd151bca620ebf6ebb1ffce9afa013a518dc5ccc0db SHA512 6ffa62eb1f0899f1ac2cf6fbe59130fdd30b8cf8dd1cbea5d54b5d973cdc006f9fa87894068eaaea6ba2abdde0b8f3037005d2bff088d673ba74cf14acea3050 WHIRLPOOL c49698b375fcc902f3a43d391a2c055b90327c5ddc42fc39efe80397b3c7251b0fd13d07678532a85d34c7c33109f317cab4d06ed41d8e4c546a3d7876c66e51
DIST calcurse-3.1.4.tar.gz 684526 SHA256 4121b3b14ded3583af7613a99646332701ee2ccc8cf2b87397eb3c07b97390e3 SHA512 efdb655f96a176ca45a23a6246987735413a69046e5273efafffd5d2087f880969f84e387dd84672dacc8fae670a86ee7b132f6a4662e072ba92121492fd7ca7 WHIRLPOOL cc0802f6128068419de98524fcd984cf3213ca7f7f2cc003b122c808aed858230a87f387682368379329d0205bb42a55d232e5cf82f639535ffdda8ab51d9fa7

@ -1,25 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/calcurse/calcurse-3.1.1.ebuild,v 1.4 2013/01/30 19:00:40 ago Exp $
EAPI=4
inherit eutils
DESCRIPTION="a text-based personal organizer"
HOMEPAGE="http://calcurse.org"
SRC_URI="http://calcurse.org/files/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
CC_LINGUAS="de en es fr nl pt_BR ru"
for lingua in ${CC_LINGUAS}; do
IUSE+=" linguas_${lingua}"
done
RDEPEND="sys-libs/ncurses"
DEPEND="${RDEPEND}
test? ( sys-libs/libfaketime )"
DOCS=( AUTHORS NEWS README TODO )

@ -1,25 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/calcurse/calcurse-3.1.2.ebuild,v 1.1 2013/01/08 15:46:15 jer Exp $
EAPI=4
inherit eutils
DESCRIPTION="a text-based personal organizer"
HOMEPAGE="http://calcurse.org"
SRC_URI="http://calcurse.org/files/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
CC_LINGUAS="de en es fr nl pt_BR ru"
for lingua in ${CC_LINGUAS}; do
IUSE+=" linguas_${lingua}"
done
RDEPEND="sys-libs/ncurses"
DEPEND="${RDEPEND}
test? ( sys-libs/libfaketime )"
DOCS=( AUTHORS NEWS README TODO )

@ -1,22 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/calcurse/calcurse-3.1.3.ebuild,v 1.3 2013/03/23 11:25:05 ago Exp $
EAPI=4
inherit eutils
DESCRIPTION="a text-based personal organizer"
HOMEPAGE="http://calcurse.org"
SRC_URI="http://calcurse.org/files/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
CC_LINGUAS=( de en es fr nl pt_BR ru )
IUSE+=" ${CC_LINGUAS[@]/#/linguas_}"
RDEPEND="sys-libs/ncurses"
DEPEND="${RDEPEND}"
DOCS=( AUTHORS NEWS README TODO )

@ -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-office/calcurse/calcurse-3.1.4.ebuild,v 1.3 2013/06/04 16:52:24 nimiux Exp $
# $Header: /var/cvsroot/gentoo-x86/app-office/calcurse/calcurse-3.1.4.ebuild,v 1.4 2013/07/04 12:18:27 ago Exp $
EAPI=5
@ -10,7 +10,7 @@ SRC_URI="http://calcurse.org/files/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE=""
CC_LINGUAS=( de en es fr nl pt_BR ru )
IUSE+=" ${CC_LINGUAS[@]/#/linguas_}"

@ -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-portage/mirrorselect/mirrorselect-2.2.0.1.ebuild,v 1.6 2013/06/25 10:38:13 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/mirrorselect/mirrorselect-2.2.0.1.ebuild,v 1.7 2013/07/04 12:17:28 ago Exp $
EAPI="5"
@ -17,7 +17,7 @@ LICENSE="GPL-2"
SLOT="0"
IUSE=""
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux"
RDEPEND="
dev-util/dialog

@ -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-shells/smrsh/smrsh-8.14.7.ebuild,v 1.1 2013/04/26 10:47:36 eras Exp $
# $Header: /var/cvsroot/gentoo-x86/app-shells/smrsh/smrsh-8.14.7.ebuild,v 1.2 2013/07/04 12:24:39 ago Exp $
EAPI=5
inherit toolchain-funcs
@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.sendmail.org/pub/sendmail/sendmail.${PV}.tar.gz"
LICENSE="Sendmail"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64 x86"
IUSE=""
DEPEND="sys-devel/m4

@ -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-text/qpdf/qpdf-4.1.0.ebuild,v 1.4 2013/06/30 21:13:55 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/qpdf/qpdf-4.1.0.ebuild,v 1.5 2013/07/04 14:14:30 ago Exp $
EAPI="5"
@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/qpdf/${P}.tar.gz"
LICENSE="Artistic-2"
SLOT="0/10" # subslot = libqpdf soname version
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ~ppc64 x86 ~amd64-fbsd ~x86-fbsd ~m68k-mint"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~m68k-mint"
IUSE="doc examples static-libs test"
RDEPEND="dev-libs/libpcre

@ -1,2 +1 @@
DIST qpdfview-0.4.2.tar.gz 341878 SHA256 ab5de31300394834c0540bde9c78ed481ea57832c72b478452cda25c787bb7a9 SHA512 5d1d6acd95a3bdf42aa4b63630fefe614951da222070e277759a65d562428380f7719702951921df85cdb64315a854c59512133877c990ecece998df20943ef9 WHIRLPOOL 05b9d28cd59ed904c50910f709d34670796d90f7a0354791d1d30f40ac4b016209fa3912bfd56947f332e2c4474a1fc9ccfcda7bd9c1bd2f6d90d817164e4de7
DIST qpdfview-0.4.3.tar.gz 351371 SHA256 66c579e6e837aed532a1389ced4987cce1055cea36f8b3d61b634dd8cbdd8c79 SHA512 eff18828bda1fbec5004d301ba9beea912064451a3ebe686853dedc64faeb2a423a49d3cf281f48740e144552f8f3bec6be70bb5e38f4a6604b89e68fe5bfa3b WHIRLPOOL 74bf95f126d95efec68401d33391ce09b560f1ee4fa4a57e35e7941c9a33e55206b7f1a7771ffb8349447447e544f0cc9008f91c73f07f37d6ea73d2f290184c

@ -1,63 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/qpdfview-0.4.2-r1.ebuild,v 1.4 2013/05/26 15:55:55 ago Exp $
EAPI=5
PLOCALES="ast az bg bs ca cs da de el en_GB eo es eu fi fr he hr id it ky ms my pl pt_BR ro ru sk tr ug uk zh_CN"
inherit l10n multilib qt4-r2
DESCRIPTION="A tabbed document viewer"
HOMEPAGE="http://launchpad.net/qpdfview"
SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE="cups dbus djvu +pdf postscript sqlite +svg synctex"
RDEPEND="app-text/poppler[qt4]
dev-qt/qtcore:4[iconv]
dev-qt/qtgui:4
cups? ( net-print/cups )
dbus? ( dev-qt/qtdbus:4 )
djvu? ( app-text/djvu )
postscript? ( app-text/libspectre )
sqlite? ( dev-qt/qtsql:4[sqlite] )
svg? ( dev-qt/qtsvg:4 )
!svg? ( virtual/freedesktop-icon-theme )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
DOCS=( CHANGES CONTRIBUTORS README TODO )
prepare_locale() {
lrelease "translations/${PN}_${1}.ts" || die "preparing ${1} locale failed"
}
src_prepare() {
l10n_find_plocales_changes "translations" "${PN}_" '.ts'
l10n_for_each_locale_do prepare_locale
qt4-r2_src_prepare
}
src_configure() {
local config i
for i in cups dbus pdf djvu svg synctex ; do
if ! use ${i} ; then
config+=" without_${i}"
fi
done
if ! use sqlite ; then
config+=" without_sql"
fi
if ! use postscript ; then
config+=" without_ps"
fi
eqmake4 CONFIG+="${config}" PLUGIN_INSTALL_PATH="/usr/$(get_libdir)/${PN}"
}

@ -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-text/qpdfview/qpdfview-0.4.3.ebuild,v 1.3 2013/06/30 13:28:30 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/qpdfview-0.4.3.ebuild,v 1.4 2013/07/04 12:25:45 ago Exp $
EAPI=5
@ -13,7 +13,7 @@ SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm ~x86"
KEYWORDS="amd64 arm x86"
IUSE="cups dbus djvu +pdf postscript sqlite +svg synctex"
RDEPEND="app-text/poppler[qt4]

@ -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-text/sloccount/sloccount-2.26-r2.ebuild,v 1.6 2013/06/29 16:27:22 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/sloccount/sloccount-2.26-r2.ebuild,v 1.7 2013/07/04 12:25:16 ago Exp $
EAPI="4"
@ -12,7 +12,7 @@ SRC_URI="http://www.dwheeler.com/sloccount/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ppc sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
IUSE=""
RDEPEND="dev-lang/perl
>=sys-apps/sed-4

@ -1,3 +1,4 @@
DIST yankring-12.0.tar.gz 39957 SHA256 c497a2a74df0aade1eadeb8becabb96eeb968da46ec164c1e545ffe508d7b5d8 SHA512 91c4e08bd8e79403005eb174c558b37f699097a3f3749eeb4d82031c905e0c2b1242ea04222e90be5f24deaac951b263d8e50a49f3c0df34e805ab3b5b13c876 WHIRLPOOL e1bb8c8683bbaba954112e0170895c1f901c6148ecf189fed419a1e154f7f50f003c59312dead5261daadc8bb3d988025af8c4634fef9376a5b2b821602dc5e5
DIST yankring-14.0.tar.bz2 35248 SHA256 b9e5e6fb7db09fc55dee8773c2e8f8e738d46656b7d0b9d95046239481b93988 SHA512 81d8e9fa2082c86c741b236174af877f27c3c4d4a93cb836919b42c044ecb57e86114d9c7eadb63a03780874fbf0f5592ff43d0145c8378b001af1fd87dea076 WHIRLPOOL 37c82a276f63e3d87384e755b385f6da1f6bb8ebd8f39157cb6cae42f98f469f3a2bd67185d99c0454a14969d9ab45a89808d368cf5892f7fc9047a88ca6e0fc
DIST yankring-15.0.tar.bz2 36057 SHA256 8a5d68f2483f9a71f6a595f5e23e0e7dc6466991525103c663a0b60da1eeff8a SHA512 f65ee24c2c845f957eca4a7a2b2362effbdebe1b875ebd4b83c2be49c10b06c0f07e795caf013ee4e66535364b5696c8fdfd6be00a23597691b002e4220f69dd WHIRLPOOL 22d6409d2a26ae9e500faabcae0915f9a9db1127f26cdf028b771213105b240dc9199c8bced6df21e8c089d8cb4984ea18475105ff4aa3137deb968f01e361dd
DIST yankring-17.0.tar.bz2 36605 SHA256 72f0cf64bf0ce181e4695f39fa858716f085377f61b4fb664f91b188ca5fcce9 SHA512 e0e112a834b029078a5f81ad53ecb503e69daa799974bffa309690f071f0baf37a09be49f79dacceeb6e183845b7884575bf32e59f9e5c8ae5e2165fc74505a0 WHIRLPOOL 933a8f097d61d6493322c1142589e0bb3fcb08064cbd488a0d7366d49f7c8be9983489e352dc0086830c2264c5faeb0377bc3f6c159031e8701ca4e14a611e5f

@ -0,0 +1,12 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-vim/yankring/yankring-17.0.ebuild,v 1.1 2013/07/04 11:04:12 radhermit Exp $
EAPI=5
inherit vim-plugin
DESCRIPTION="vim plugin: maintains a history of previous yanks and deletes"
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=1234"
LICENSE="vim"
KEYWORDS="~amd64 ~x86"
VIM_PLUGIN_HELPFILES="${PN}.txt"

@ -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/dev-cpp/clucene/clucene-2.3.3.4-r4.ebuild,v 1.7 2012/12/01 19:09:42 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/clucene/clucene-2.3.3.4-r5.ebuild,v 1.1 2013/07/04 16:36:45 scarabeus Exp $
EAPI=4
EAPI=5
MY_PN="${PN}"-core
MY_P="${MY_PN}"-"${PV}"
inherit cmake-utils multilib
inherit base cmake-utils multilib
DESCRIPTION="High-performance, full-featured text search engine based off of lucene in C++"
HOMEPAGE="http://clucene.sourceforge.net/"

@ -6,5 +6,4 @@ DIST mongodb-src-r2.0.7.tar.gz 2982999 SHA256 b204d94bc912692bdc154402fbfc2e5c4b
DIST mongodb-src-r2.0.8.tar.gz 2983263 SHA256 882f0880609c9658793702af4da5183f49d85331600ae4d8997018367f4ae827 SHA512 f79ecc75bcf574886681b27198263cc9128ab6d865b71ae3a32ea366e9125f3c636fa45a7e94d8ee7acc04adb8da655f940da03e8a285d11d6b62b0c1cad23f5 WHIRLPOOL 21525830a69a8c734bdc39d979cd3abd3e7092ffa5b1e98392ca5e013e0bd7dd2e298792ba876e5c6098204fc73f35d5cf6186cb58e12f933de46fa903938c65
DIST mongodb-src-r2.2.0.tar.gz 10150762 SHA256 084626e476ac747dfae143889c24a10f739cd54480af9bf253f50999f065608b SHA512 b040efe01457703d14d63f69b3fff79a09d6068a89b17d52ad7eb430f81d3f60fdba711cee628d55456a772d7e36fde7c683d4d71fa7d95225e436e28ccac163 WHIRLPOOL 43d12039aff75bdb12c41721ccf259b379245a655aba72472f2a973dad921d9a384f79356d6bfa9795b609f2011324b1e7100ff94b8b92f2834c40a3a9bbe653
DIST mongodb-src-r2.2.4.tar.gz 10190863 SHA256 d2bdeb5e9b93681b5a55e6b947777debd7473a80ecc230682e4b25b6e59ccb60 SHA512 93f81d6edc9900c24ef2780df2199e4445e9f23aff4c7970e05320641c9b00473a73d1b7c7424e5744c501e4b1c9e9858efe1d03caf875f2f04e5222f8ae0e2e WHIRLPOOL 1b1013b4dc1e3c219fa1e5db8cfc0e477a321988fe19a5938709e2ee4554c2e3f7e7ddf04bdea37ac72a28954773d31f5dd13ee7aa45986f06bce6c6b6b9223b
DIST mongodb-src-r2.4.4.tar.gz 14119330 SHA256 ea3db3e730290d030853f7a22cbbc5edfbe33dd538ec67d551a7e88f6d4db240 SHA512 f72aee0a9c979756741902eb87775d154de45660596ec4507274a7719d376869510f192cf7777840821cb491cfe009beced8891e3f243c761ee758ab023a457d WHIRLPOOL 4af22d2435bddf5985f55c97cf4b17ca7056539abc51df9959a09526f8f9a37e676e108e1388e841fde8f5f6ceeb2b1a81a4ad0f2f4bb9bac57dc3d297e5d8a3
DIST mongodb-src-r2.4.5.tar.gz 14128847 SHA256 b576cbc2c813144b8a8774a7232b78bd0b005e2e6fa7428e7fa1e426c7a28705 SHA512 07a46770c5acc0e046750e0299e669b934f6093705f5979bc5fa8bb56e73761f9602a5bdbaaad688700e4dde32d1e5f48a6cf3763ffab4d80a47f0158d8fb89e WHIRLPOOL 407cec63e9f304be887a5f2ab90f08b15d2295f809c36b30faafb0290146d9b99b3b8b8f0226768982555a39cce7944baca3fd98503f965bfb3bfb09a7e2160d

@ -1,134 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-2.4.4.ebuild,v 1.1 2013/06/05 09:59:46 ultrabug Exp $
EAPI=4
SCONS_MIN_VERSION="1.2.0"
inherit eutils flag-o-matic multilib pax-utils scons-utils user versionator
MY_P=${PN}-src-r${PV/_rc/-rc}
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
HOMEPAGE="http://www.mongodb.org"
SRC_URI="http://downloads.mongodb.org/src/${MY_P}.tar.gz
mms-agent? ( http://dev.gentoo.org/~ultrabug/20130605-10gen-mms-agent.zip )"
LICENSE="AGPL-3 Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="kerberos mms-agent sharedclient spidermonkey ssl static-libs"
PDEPEND="mms-agent? ( dev-python/pymongo )"
RDEPEND="
dev-lang/v8
>=dev-libs/boost-1.50[threads(+)]
dev-libs/libpcre[cxx]
dev-util/google-perftools
net-libs/libpcap
app-arch/snappy
ssl? ( >=dev-libs/openssl-1.0.1c )"
DEPEND="${RDEPEND}
sys-libs/readline
sys-libs/ncurses
kerberos? ( dev-libs/cyrus-sasl[kerberos] )"
S=${WORKDIR}/${MY_P}
pkg_setup() {
enewgroup mongodb
enewuser mongodb -1 -1 /var/lib/${PN} mongodb
scons_opts=" --cc=$(tc-getCC) --cxx=$(tc-getCXX)"
scons_opts+=" --use-system-tcmalloc"
scons_opts+=" --use-system-pcre"
scons_opts+=" --use-system-snappy"
scons_opts+=" --use-system-boost"
if use kerberos; then
scons_opts+=" --use-sasl-client"
fi
if use sharedclient; then
scons_opts+=" --sharedclient"
fi
if use spidermonkey; then
scons_opts+=" --usesm"
else
scons_opts+=" --use-system-v8"
fi
if use ssl; then
scons_opts+=" --ssl"
fi
}
src_prepare() {
epatch "${FILESDIR}/${PN}-2.2-r1-fix-scons.patch"
epatch "${FILESDIR}/${PN}-2.2-r1-fix-boost.patch"
epatch "${FILESDIR}/mongodb-2.4.4-fix-sharedclient.patch"
# bug #462606
sed -i -e "s@\prefix + \"/lib\"@prefix + \"/$(get_libdir)\"@g" src/SConscript.client || die
}
src_compile() {
escons ${scons_opts} all
}
src_install() {
escons ${scons_opts} --full --nostrip install --prefix="${ED}"/usr
use static-libs || find "${ED}"/usr/ -type f -name "*.a" -delete
if ! use spidermonkey; then
pax-mark m "${ED}"/usr/bin/{mongo,mongod}
fi
for x in /var/{lib,log}/${PN}; do
keepdir "${x}"
fowners mongodb:mongodb "${x}"
done
doman debian/mongo*.1
dodoc README docs/building.md
newinitd "${FILESDIR}/${PN}.initd" ${PN}
newconfd "${FILESDIR}/${PN}.confd" ${PN}
newinitd "${FILESDIR}/${PN/db/s}.initd" ${PN/db/s}
newconfd "${FILESDIR}/${PN/db/s}.confd" ${PN/db/s}
insinto /etc/logrotate.d/
newins "${FILESDIR}/${PN}.logrotate" ${PN}
if use mms-agent; then
local MY_PN="mms-agent"
local MY_D="/opt/${MY_PN}"
insinto ${MY_D}
doins "${WORKDIR}/${MY_PN}/"*
fowners -R mongodb:mongodb ${MY_D}
newinitd "${FILESDIR}/${MY_PN}.initd" ${MY_PN}
newconfd "${FILESDIR}/${MY_PN}.confd" ${MY_PN}
fi
}
pkg_preinst() {
# wrt bug #461466
if [[ "$(get_libdir)" == "lib64" ]]; then
rmdir "${ED}"/usr/lib/
fi
}
src_test() {
escons ${scons_opts} test
"${S}"/test --dbpath=unittest || die
}
pkg_postinst() {
if [[ ${REPLACING_VERSIONS} < 2.4 ]]; then
ewarn "You just upgraded from a previous version of mongodb !"
ewarn "Make sure you run 'mongod --upgrade' before using this version."
fi
elog "Journaling is now enabled by default, see /etc/conf.d/${PN}"
}

@ -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/dev-db/redis/redis-2.6.13.ebuild,v 1.3 2013/06/18 22:51:51 nimiux Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/redis/redis-2.6.13.ebuild,v 1.4 2013/07/04 12:23:47 ago Exp $
EAPI=5
@ -11,7 +11,7 @@ HOMEPAGE="http://redis.io/"
SRC_URI="http://redis.googlecode.com/files/${P}.tar.gz"
LICENSE="BSD"
KEYWORDS="amd64 ~x86 ~x86-macos ~x86-solaris"
KEYWORDS="amd64 x86 ~x86-macos ~x86-solaris"
IUSE="+jemalloc tcmalloc test"
SLOT="0"

@ -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/dev-haskell/hashable/hashable-1.1.2.5.ebuild,v 1.9 2013/07/02 08:59:02 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hashable/hashable-1.1.2.5.ebuild,v 1.10 2013/07/04 13:30:11 ago Exp $
EAPI=5
@ -15,7 +15,7 @@ SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~alpha amd64 ~ia64 ppc ~ppc64 ~sparc x86"
KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 ~sparc x86"
IUSE=""
RDEPEND=">=dev-haskell/text-0.11.0.5:=[profile?]

@ -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/dev-haskell/test-framework-quickcheck2/test-framework-quickcheck2-0.3.0.1-r1.ebuild,v 1.4 2013/07/02 08:59:12 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/test-framework-quickcheck2/test-framework-quickcheck2-0.3.0.1-r1.ebuild,v 1.5 2013/07/04 13:30:27 ago Exp $
EAPI=5
@ -15,7 +15,7 @@ SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~alpha amd64 ~ia64 ppc ~ppc64 ~sparc x86 ~x86-fbsd"
KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd"
IUSE=""
RDEPEND=">=dev-haskell/extensible-exceptions-0.1.1:=[profile?]

@ -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/dev-haskell/test-framework/test-framework-0.8.ebuild,v 1.4 2013/07/02 08:59:07 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/test-framework/test-framework-0.8.ebuild,v 1.5 2013/07/04 13:30:19 ago Exp $
EAPI=5
@ -15,7 +15,7 @@ SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~alpha amd64 ~ia64 ppc ~ppc64 ~sparc x86 ~x86-fbsd"
KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd"
IUSE=""
RDEPEND=">=dev-haskell/ansi-terminal-0.4.0:=[profile?]

@ -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/dev-lang/python/python-2.7.5.ebuild,v 1.6 2013/07/02 16:17:45 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.7.5.ebuild,v 1.8 2013/07/04 13:29:54 ago Exp $
EAPI="4"
WANT_AUTOMAKE="none"
@ -18,7 +18,7 @@ SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz
LICENSE="PSF-2"
SLOT="2.7"
KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
IUSE="-berkdb build doc elibc_uclibc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml"
# Do not add a dependency on dev-lang/python to this ebuild.

@ -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/dev-lang/python/python-3.2.5-r1.ebuild,v 1.3 2013/07/03 10:31:14 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.2.5-r1.ebuild,v 1.6 2013/07/04 14:13:36 ago Exp $
EAPI="4"
WANT_AUTOMAKE="none"
@ -18,7 +18,7 @@ SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz
LICENSE="PSF-2"
SLOT="3.2"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
IUSE="build doc elibc_uclibc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml"
# Do not add a dependency on dev-lang/python to this ebuild.

@ -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/dev-lang/ruby/ruby-1.8.7_p374.ebuild,v 1.6 2013/07/01 02:36:54 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.7_p374.ebuild,v 1.7 2013/07/04 14:13:54 ago Exp $
EAPI=2
@ -30,7 +30,7 @@ SRC_URI="mirror://ruby/${SLOT}/${MY_P}.tar.bz2
http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
LICENSE="|| ( Ruby GPL-2 )"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
IUSE="+berkdb debug doc examples +gdbm ipv6 rubytests socks5 ssl threads tk xemacs ncurses +readline libedit"
RDEPEND="

@ -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/dev-lang/ruby/ruby-1.9.3_p448.ebuild,v 1.6 2013/07/01 02:36:54 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.9.3_p448.ebuild,v 1.7 2013/07/04 14:13:54 ago Exp $
EAPI=4
@ -34,7 +34,7 @@ SRC_URI="mirror://ruby/1.9/${MY_P}.tar.bz2
http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
LICENSE="|| ( Ruby-BSD BSD-2 )"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd"
IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl tk xemacs ncurses +readline +yaml" #libedit
# libedit support is removed everywhere because of this upstream bug:

@ -3,8 +3,10 @@ DIST pl-6.2.6.tar.gz 14407455 SHA256 9412f0753a61c30dbcf1afac01fe7c9168002854709
DIST pl-6.3.15.tar.gz 14587314 SHA256 a52c108dfb3731778a9a55cc85a725857385b23ca2c4cf3f0bf7610b6112b7f6 SHA512 45110c4bbc4d30822c3b54870d644ac253af8fc6aac3e2e841ce26f825597417c22bbebd3feaed38baa1101a5a179ff7c4edefe0d22193dc07ac191ea6e2ab9c WHIRLPOOL fbabd29d494c1ef752e52864d8b526403502d7b20954d5c1f483ea2c279d6be040b8b631df2444126f476a3edf5b2be195b564fa464f5f565d1824db08f71173
DIST pl-6.3.16.tar.gz 14671853 SHA256 7a4912aa0697f9de20ec0347cbd9f4ff3f16b22f0d4a8281668a5828443d9624 SHA512 8d40e10d70b14fa08317bad26e5077f72a0aa4c095ad00e6092fc8a228606fe2dd7cef1795a4d6e35be19d65352af54433bc1d1fd5fdf5dedefab8e281bd1ff3 WHIRLPOOL 7ceb05ffcf420ee3ba43f94cdae4beadf4e202ae6007b109fd32a80dc14ea25c57858b0d7bc4f6ec84e0b72a3acfe17242f8cc5f9916c84e8c25daf1fa677f51
DIST pl-6.3.17.tar.gz 14685328 SHA256 9417f3b08fb663dc22fa15b7c9c7c078fada41051c7e088f53372c045e215d02 SHA512 2e98152d99eeab8ea5cbb3cb86aec5b4afd79d98bf5e6957bf5bd94b8bdb96b28c41424882b3d79acc81c90d94ceaead8d9fc104ab25197e21836c84182c0543 WHIRLPOOL 4c3bc7e972c768a13a28b0a9b45d3fda5e9f1be9a43a716f1776c7bb9f53bbbad47948b692fe972b6fc212e2ea0d1873045c010d3a4970aaccbec20d86a068b9
DIST pl-6.3.18.tar.gz 14693564 SHA256 3bd4f833f239fd84e578603016d37670d3d59d579da684561ad62a3deccb25ef SHA512 e8d6c177beba81d1c31447fb15f2e9af0edaa0b42e787acb69cec55d5f88fbb68df2af428a7d8b97be2e6011d16ab5bdcf79c42e50c38c93e918ce15dd53215b WHIRLPOOL bbddd418714748b9dd6ebfa7d51f7681f9b1943d501eb69324f7776f9ced6c4328c8111c7dd75d0d679086a5a84bb1eb825c05c02d38e0273b9688adfdb4b08b
DIST swi-prolog-6.2.5-gentoo-patchset-1.tar.gz 2692 SHA256 c4e59e4240effb3383465997020e4056e5967aa4f9bcf0b010a564d1f49bbd71 SHA512 2f31fae8df581931bee3b38bee1687f9fb12567a9f267a01eba5dd011377cea05b3249df942c4b719bb0c2f7cfb86c5665794948083c3090a6854b04fb25ac4e WHIRLPOOL 49685d66ee2ec6ad4a654356bb6d290d8bd81e79c42241786c235d610493b78583cfb2c44be4b20ba49f49891d9da69b90bf5b5c0f9fc59f272c20ff6475c204
DIST swi-prolog-6.2.6-gentoo-patchset-1.tar.gz 2978 SHA256 eeadd8b3a518aa1378cadc8bb58ff906a84a07b286f460cb0863ac57606d5a36 SHA512 5dbcc2969bbb6def055ae3dceb4bf1a78a862963dc40d34c2028a88021bb4b3eb1426cd042ff723414eee9d1ebe1083b381176720e6948ed49c107b5da7b3d01 WHIRLPOOL 6ec46782ffa2973a8fb3660dfdad7dd98d7e1bdd033a34132cb503dd6e3c9d0d09b551d03e42db09b0d83714fe988582bb18f674366863c7c85999df90aef63c
DIST swi-prolog-6.3.15-gentoo-patchset-0.tar.gz 1917 SHA256 6d0af71debe017cbbec545b884e57d9326f7e32d9d1e98954bf45c32b841260d SHA512 73a955e975ec19ab3f93a98e0fbee9c61203934f07bbd3aaa9e877e82b2ba6b60930b6d6f6786b3a2247b8ae7c0368cdddf7f83d16809f240aa34aa37baf9a57 WHIRLPOOL cce4e5c3170aa94a737c64bb82d0303a37dd7eb8cf0c34d0e69f9b07deeee89668270da8576b37987cd31545f7bbefde1fe4fca6449a36eddb113015c526b445
DIST swi-prolog-6.3.16-gentoo-patchset-0.tar.gz 1914 SHA256 0a66ead5d85e2b3520fe2c30175ae554edfb9a6a8850ba0a45396b786141faad SHA512 481d44c1621c60675d5b7667f4303d6207eb63f5d61f0664a1dedf52b03eb3cbd1082e26a0ce182441f04405d4591ba5a27528d897e19c62f27ea0e4e6b8b4f3 WHIRLPOOL 4ac8f192bb60bf56f43f0d3177a91da203bc205a61b912a0be2cceeae7519254a454359a50bfd3b65119f3114a6a519e44e7d770d0dafc8ba96bc0e1c8fc9cb2
DIST swi-prolog-6.3.17-gentoo-patchset-0.tar.gz 1917 SHA256 d609d0f74c299b447e6f0387e2dc3443745aa41357df9d5ef8b5f8401affa88f SHA512 160f78716d84277f76c2d3b9fed7caf0ce5f900e88edc5811b0d4ad1729427dc424fbdc8abfe7277d567cac18dd03bae0dd9dd76eff20e3d72c3ebaa50e31214 WHIRLPOOL b7eea7d86da2d0390e7caa256630c7367ca483d8a4b3218f94412620feb410c16c7101dee21c4c4c2940f5ed900ca5ff607556db5ee039eb1e3546898af45e02
DIST swi-prolog-6.3.18-gentoo-patchset-0.tar.gz 1598 SHA256 13b62d2fa2fa49c9b5acbbaa930b168c6aa00ecd52808379b4482f6a8f96601c SHA512 7d44d85bc9571568306af498b70c0608a8333c3893e131f804d5056125da95137130ab2f1702aa11b92cb5a9fe356148288484fceb393a44f06c00f370762f86 WHIRLPOOL beffb3104612f9d95218c63f2221b7b275e9bc54b6d8675f96a7aa8f9a25ca561850d3324bf685192ae3976d8c2941497b99691f235b6ee1daa876adb4c079ea

@ -0,0 +1,125 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-6.3.18.ebuild,v 1.1 2013/07/04 13:01:49 keri Exp $
EAPI=4
inherit eutils flag-o-matic java-pkg-opt-2 multilib
PATCHSET_VER="0"
DESCRIPTION="free, small, and standard compliant Prolog compiler"
HOMEPAGE="http://www.swi-prolog.org/"
SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="archive debug doc gmp hardened java minimal odbc readline ssl static-libs test zlib X"
RDEPEND="sys-libs/ncurses
archive? ( app-arch/libarchive )
zlib? ( sys-libs/zlib )
odbc? ( dev-db/unixODBC )
readline? ( sys-libs/readline )
gmp? ( dev-libs/gmp )
ssl? ( dev-libs/openssl )
java? ( >=virtual/jdk-1.4 )
X? (
virtual/jpeg
x11-libs/libX11
x11-libs/libXft
x11-libs/libXpm
x11-libs/libXt
x11-libs/libICE
x11-libs/libSM )"
DEPEND="${RDEPEND}
X? ( x11-proto/xproto )
java? ( test? ( =dev-java/junit-3.8* ) )"
S="${WORKDIR}/pl-${PV}"
src_prepare() {
EPATCH_FORCE=yes
EPATCH_SUFFIX=patch
epatch "${WORKDIR}"/${PV}
# OSX/Intel ld doesn't like an archive without table of contents
sed -i -e 's/-cru/-scru/' packages/nlp/libstemmer_c/Makefile.pl || die
}
src_configure() {
append-flags -fno-strict-aliasing
use ppc && append-flags -mno-altivec
use hardened && append-flags -fno-unit-at-a-time
use debug && append-flags -DO_DEBUG
# ARCH is used in the configure script to figure out host and target
# specific stuff
export ARCH=${CHOST}
export CC_FOR_BUILD=$(tc-getBUILD_CC)
cd "${S}"/src
econf \
--libdir="${EPREFIX}"/usr/$(get_libdir) \
$(use_enable gmp) \
$(use_enable readline) \
$(use_enable static-libs static) \
--enable-shared \
--enable-custom-flags COFLAGS="${CFLAGS}"
if ! use minimal ; then
local jpltestconf
if use java && use test ; then
jpltestconf="--with-junit=$(java-config --classpath junit)"
fi
cd "${S}/packages"
econf \
--libdir="${EPREFIX}"/usr/$(get_libdir) \
$(use_with archive) \
$(use_with java jpl) \
${jpltestconf} \
$(use_with odbc) \
$(use_with ssl) \
$(use_with X xpce) \
$(use_with zlib) \
COFLAGS='"${CFLAGS}"'
fi
}
src_compile() {
cd "${S}"/src
emake
if ! use minimal ; then
cd "${S}/packages"
emake
fi
}
src_test() {
cd "${S}/src"
emake check
if ! use minimal ; then
cd "${S}/packages"
emake check
fi
}
src_install() {
emake -C src DESTDIR="${D}" install
if ! use minimal ; then
emake -C packages DESTDIR="${D}" install
if use doc ; then
emake -C packages DESTDIR="${D}" html-install
fi
fi
dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION
}

@ -1,3 +1,4 @@
DIST 2p-2.4.0.zip 2421675 SHA256 f674b282bd7bc60e92ea417f8766e635979366d84d48634dd622e60ad1aa78c6 SHA512 20c86f736efe526dfffe603b19648394aaeaadf326034bba4f5717a193d7f76a99c6f3cb7bb93e2f1b608abd4e4af30341a2727f61e60e60289c2a964da782e9 WHIRLPOOL 7a353f5c6df2dba877d6880fc91ff0356639900767eb346a2eba97773303e125d0d2ffeead35e83cb61ffd013b49d4a05498861207de228e208a3f690a65ec4b
DIST tuprolog-2.5.0.zip 4847183 SHA256 227714576fb1815a3fcc017211758bfb2d5a0b6a07ce3a3a24f8cd93db2e5e04
DIST tuprolog-2.6.0.tar.gz 8366655 SHA256 5c9416c72ddde806720c1bce122a8bb12cab04a9af35a42b88067e1b145bf0c5 SHA512 5253f0d65787e9f090a8b4da8df007da269492098686fa5847e8d624a6656d1820b36c5b096e51d6f40480fea02a64793797c23161627942f076fc5eae414b82 WHIRLPOOL 81de4453dd6b62558260f31ab2e3af1f2a256934cc8a24a9e18723bd95ef646b206941169a3d69994f26f20c65c00b14022392f35ccb8573d8a7cbc7af16b353
DIST tuprolog-2.7.0.tar.gz 9005490 SHA256 93cec171d48e40a695baafcce419b75fc3d7b6e5ef06b0e787b4823e09f571a7 SHA512 88a9edb5c26317ea82e114a7e82d933d99f85ca89f1244d92de66e7eae11c8c61ed771c104a70ec210c1a65dca2b3ca2c3aba077d3afab4b250b62d14e83c7e4 WHIRLPOOL 3f4c76bea53b899d7be6fa93a9b24c5aaab84bd5ba4c65ca2a988e3a8acaeb1f2d0205c3a60720fbbf02a54d52bb6e7c39b5504ae9777d80d8f238b7c3c7050a

@ -0,0 +1,59 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/tuprolog-2.7.0.ebuild,v 1.1 2013/07/04 15:15:33 keri Exp $
EAPI=3
inherit eutils java-pkg-2 java-ant-2
DESCRIPTION="tuProlog is a light-weight Prolog for Internet applications and infrastructures"
HOMEPAGE="http://tuprolog.unibo.it/"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
RDEPEND=">=virtual/jdk-1.7
>=dev-java/javassist-3"
DEPEND="${RDEPEND}
dev-java/ant-core
test? (
dev-java/ant-junit4
dev-java/hamcrest-core
)"
S="${WORKDIR}"/${P}
EANT_GENTOO_CLASSPATH="javassist-3"
src_prepare() {
epatch "${FILESDIR}"/${P}-javadocs.patch
cp "${FILESDIR}"/build.xml "${S}" || die
sed -i -e "s|test/unit|test|" "${S}"/build.xml \
|| die "sed build.xml failed"
}
src_compile() {
eant jar $(use_doc)
}
src_test() {
cd "${S}"/dist
java-pkg_jar-from junit-4
java-pkg_jar-from hamcrest-core
cd "${S}"
ANT_TASKS="ant-junit4" eant -Djunit.jar=junit.jar test \
|| die "eant test failed"
}
src_install() {
java-pkg_dojar dist/${PN}.jar
if use doc ; then
java-pkg_dohtml -r docs/* || die
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/dev-libs/botan/botan-1.10.3.ebuild,v 1.4 2013/06/24 05:21:55 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/botan/botan-1.10.3.ebuild,v 1.5 2013/07/04 12:17:36 ago Exp $
EAPI="3"
#PYTHON_BDEPEND="2"
@ -13,7 +13,7 @@ DESCRIPTION="A C++ crypto library"
HOMEPAGE="http://botan.randombit.net/"
SRC_URI="http://files.randombit.net/botan/${MY_P}.tbz"
KEYWORDS="amd64 ~ia64 ppc ~sparc ~x86 ~ppc-macos"
KEYWORDS="amd64 ~ia64 ppc ~sparc x86 ~ppc-macos"
SLOT="0"
LICENSE="BSD"
IUSE="bindist bzip2 gmp ssl threads zlib"

@ -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/dev-libs/libburn/libburn-1.3.0_p01.ebuild,v 1.10 2013/06/29 16:32:56 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libburn/libburn-1.3.0_p01.ebuild,v 1.11 2013/07/04 12:23:29 ago Exp $
EAPI=5
@ -14,7 +14,7 @@ SRC_URI="http://files.libburnia-project.org/releases/${PN}-${MY_PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc ~x86"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
IUSE="cdio debug static-libs track-src-odirect"
RDEPEND="cdio? ( >=dev-libs/libcdio-0.83 )"

@ -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/dev-libs/libgcrypt/libgcrypt-1.5.2-r1.ebuild,v 1.1 2013/06/04 21:55:51 radhermit Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.5.2-r1.ebuild,v 1.5 2013/07/04 13:33:34 ago Exp $
EAPI=5
AUTOTOOLS_AUTORECONF=1
@ -14,7 +14,7 @@ SRC_URI="mirror://gnupg/libgcrypt/${P}.tar.bz2
LICENSE="LGPL-2.1 MIT"
SLOT="0/11" # subslot = soname major version
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="static-libs"
RDEPEND=">=dev-libs/libgpg-error-1.8"

@ -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/dev-libs/libisoburn/libisoburn-1.3.0.ebuild,v 1.8 2013/06/26 03:06:30 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libisoburn/libisoburn-1.3.0.ebuild,v 1.9 2013/07/04 12:23:38 ago Exp $
EAPI=5
@ -10,7 +10,7 @@ SRC_URI="http://files.libburnia-project.org/releases/${P}.tar.gz"
LICENSE="GPL-2 GPL-3"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ppc ppc64 ~x86"
KEYWORDS="alpha amd64 arm hppa ppc ppc64 x86"
IUSE="acl cdio debug external-filters external-filters-setuid frontend-optional launch-frontend launch-frontend-setuid readline static-libs xattr zlib"
REQUIRED_USE="frontend-optional? ( || ( launch-frontend launch-frontend-setuid ) )"

@ -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/dev-libs/libisofs/libisofs-1.3.0.ebuild,v 1.11 2013/06/29 16:33:04 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libisofs/libisofs-1.3.0.ebuild,v 1.12 2013/07/04 12:23:33 ago Exp $
EAPI=5
@ -10,7 +10,7 @@ SRC_URI="http://files.libburnia-project.org/releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc ~x86"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
IUSE="acl debug static-libs verbose-debug xattr zlib"
RDEPEND="acl? ( virtual/acl )

@ -1,9 +1,6 @@
DIST libnl-1.1.3.tar.gz 280024 SHA256 020dd941bbb4ff261cdf51ab954557a5a50973739b2341b070cc163b316a6709 SHA512 cf720de09b26de7545efa29cd57a98cd3044e9c5f35a36013256c7bced76fd3b59642b218a28db96bb937aa09c79a78bd4f65ff5133303847255af30b53af403 WHIRLPOOL 13178c04ff09c86bd483db961b196afa37b59003f672a99a14db2bc5670f64c5fef97da03865b5898ca0811a62465712ffca91f9e486892d1f07a535450ab69f
DIST libnl-1.1.4.tar.gz 1174974 SHA256 4f80c21fe5bbcdde6e72b59b4f98306063a41421f909887c34e58d93e746d063 SHA512 25e26ddcc16540346ea34815ab6ac094177e5cee2eb3d843c4f8b30cd9d83390a3e87cb46046dc3bd9ae4d21f77e57bb3827c2cfc588eb18afe049921f2030b4 WHIRLPOOL eab5547dce7b11c86123fbcc9cd8e00100c7e78f48a4a9fef40f80f89407ea705b701f8f0eb7df63997866f17b0cf0924b43c69b29fa1f1b016fe997371b950e
DIST libnl-1.1.tar.gz 288932 SHA256 35cea4cfb6cd8af0cafa0f34fff81def5a1f193b8b8384299b4b21883e22edc3 SHA512 add02849845bd0029968a9fb9a642133051196da17cf7b45eef192de1c09ad0b0ad7cc8424fa325f1c63262779d0abfd74e4ecb634abe66a4d2f394b3ad3e3de WHIRLPOOL 1fa96e4206acf5e9091a2aeed9a0694b6f4cce3aaae9a2074cd8713e4f1f526b5af138b69d03e7f233cc52d1acd3b67237455261ee42c56bf69c4b17caef0b84
DIST libnl-3.2.14.tar.gz 687883 SHA256 6bb043eea08765bada37a053d932f073db9d51e7a8cd419e237c785ba6369e2c SHA512 14e9b733beb985d83bb4672087c91734954a6e90fe71a825dc089ab797ddf6a9e9ee39a046c5b996a3a0184588160a47830a368540831443615793a1eef647f5 WHIRLPOOL 34f6e4cb8b07b67a5b5abfaa59a0a45f114921b894959ede2e7b44640d6aa012a4bc1e08752b31b11035b745001a43716c3e093b4ccfecfa99a0f6a0b65a7539
DIST libnl-3.2.21.tar.gz 716377 SHA256 2dc80f043116ec8610d9d418f5f5e9283f3d9a3a48b8d51a8cb0146b3f279604 SHA512 d0efd2d536c2c58f4bcf8cace2f8a13e0d788c4cb2d189e3afd995a0fcdcb861c6606cb3efa223d4426d0f74daecf888fafadbfcf9adbbb64b56c5da5eefa4fa WHIRLPOOL f2cf29c4713c49b9baa58b178f6155c2ca05139e7320404b71bdf52bd8d68ebee42ace7fe2bb6d4d19d487108f836ea343ed58b1a8980fa97158ebc258c068b0
DIST libnl-3.2.22.tar.gz 730249 SHA256 c7c5f267dfeae0c1a530bf96b71fb7c8dbbb07d54beef49b6712d8d6166f629b SHA512 b4918857c73d8da41b3cc9d61e579340538c77846aed4291ed38ae549d8c85fa1dd632d8fafc493dd27034440d9890db0d789cb1666ca916d8f82d97ad471461 WHIRLPOOL 0d13b26d087b361fd7af84ca034da123493d39ec5282ca8d0d5434a81b9c85a374850d0dd304328812f71c4e68027e27db32e9c3c4ce7dd499374b48c5d9ca4d
DIST libnl-doc-3.2.14.tar.gz 8766064 SHA256 1db05aaa61c14ee578fa432cc1973a73379abe175859ef9e92ea033eae005e43 SHA512 2692f6d4c3e3a9d4fe9cc210fdb03751356daaebe19f8d9041804252a6c220dfc7ad4e72da428b56ade30afa2ef3ec3b6c86416f07b12013403dad8f735b0c0b WHIRLPOOL f55436bc28750f4d4d1bf716fc73e36a01b27d8799c0b2d8fee785db3da935fae4c4ab05a03dd4c65b9ef0cc32d2c112182b4e343e97b116a28da90e3035d96c
DIST libnl-doc-3.2.21.tar.gz 11576303 SHA256 85c53d79bf561aca79450ba1a650d2d738d0597c350129270eec265f3813a39c SHA512 6956ca909b44900b8485d9676bc000aae8c8cc18716a0eb7c704cb807b9f931a409456e66fd2e2bf063d1001445b4d73243a5b3fa4f182264674ca70b9099d71 WHIRLPOOL fae571813de8fd1bb20a01afa9bc5af267efc863a368116e35d37b323e9832d83e79ff367cc62c1e42bf06af3a874d47d6da8912eb13ddbcfc652458c4f3a78f
DIST libnl-doc-3.2.22.tar.gz 12038176 SHA256 15631d005e07d64d23e1628d5b6b961639d1854c4303cbbd509746729a43326f SHA512 531a1c3d09da31d053078678f306b6b4909440cc26bcb725cdd284cd9ae3f7ef406b0f979ab875e17277043aa1d41325dadbf99d36555db2f8703301ea915ad5 WHIRLPOOL 06acdb9c8d24958006ad672816a4ae77c0173d62247f4ddab04054e695fd8f598d6ff6ccac10e677c730cefb28d0e0537a7b8b5816add6a51960d492c5f59ef4

@ -1,13 +0,0 @@
https://bugs.gentoo.org/show_bug.cgi?id=225393
--- a/include/netlink-local.h
+++ b/include/netlink-local.h
@@ -26,6 +26,7 @@
#include <sys/socket.h>
#include <inttypes.h>
#include <assert.h>
+#include <limits.h>
#include <arpa/inet.h>
#include <netdb.h>

@ -1,22 +0,0 @@
--- a/include/netlink/object.h
+++ b/include/netlink/object.h
@@ -55,7 +55,7 @@
/* Access Functions */
extern int nl_object_get_refcnt(struct nl_object *);
extern struct nl_cache * nl_object_get_cache(struct nl_object *);
-extern inline void * nl_object_priv(struct nl_object *);
+extern void * nl_object_priv(struct nl_object *);
#ifdef __cplusplus
}
--- a/lib/object.c
+++ b/lib/object.c
@@ -376,7 +376,7 @@
return obj->ce_cache;
}
-inline void *nl_object_priv(struct nl_object *obj)
+void *nl_object_priv(struct nl_object *obj)
{
return obj;
}

@ -1,40 +0,0 @@
From: Patrick McHardy <kaber@trash.net>
Date: Fri, 18 Jan 2008 16:55:49 +0000 (+0100)
Subject: [LIBNL]: Fix minor memleaks on exit
X-Git-Url: http://git.kernel.org/?p=libs%2Fnetlink%2Flibnl.git;a=commitdiff_plain;h=b64f15d6f947839236fa276d473d238f8c9b9d57;hp=e91bb2ffb090955d443e643a25b250bf3d33534a
[LIBNL]: Fix minor memleaks on exit
Make valgrind happy ...
Signed-off-by: Patrick McHardy <kaber@trash.net>
---
diff --git a/lib/route/route_utils.c b/lib/route/route_utils.c
index a12d169..1386cda 100644
--- a/lib/route/route_utils.c
+++ b/lib/route/route_utils.c
@@ -63,6 +63,11 @@ static void __init init_routing_table_names(void)
add_routing_table_name(RT_TABLE_LOCAL, "local");
};
+static void __exit release_routing_table_names(void)
+{
+ __trans_list_clear(&table_names);
+}
+
int rtnl_route_read_table_names(const char *path)
{
__trans_list_clear(&table_names);
@@ -104,6 +109,11 @@ static void __init init_proto_names(void)
add_proto_name(RTPROT_STATIC, "static");
};
+static void __exit release_proto_names(void)
+{
+ __trans_list_clear(&proto_names);
+}
+
int rtnl_route_read_protocol_names(const char *path)
{
__trans_list_clear(&proto_names);

@ -1,45 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-1.1-r3.ebuild,v 1.12 2013/05/21 16:40:25 jer Exp $
EAPI=4
inherit eutils multilib
DESCRIPTION="A collection of libraries providing APIs to netlink protocol based Linux kernel interfaces"
HOMEPAGE="http://www.infradead.org/~tgr/libnl/"
SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="1.1"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~ia64-linux ~x86-linux"
IUSE="doc"
DEPEND="doc? ( app-doc/doxygen )"
DOCS=( ChangeLog )
src_prepare() {
epatch \
"${FILESDIR}"/${P}-vlan-header.patch \
"${FILESDIR}"/${P}-minor-leaks.patch \
"${FILESDIR}"/${P}-glibc-2.8-ULONG_MAX.patch \
"${FILESDIR}"/${P}-flags.patch \
"${FILESDIR}"/${P}-inline.patch
}
src_compile() {
default
if use doc ; then
cd "${S}/doc"
emake gendoc || die "emake gendoc failed"
fi
}
src_install() {
default
if use doc ; then
cd "${S}/doc"
dohtml -r html/*
fi
}

@ -1,47 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-3.2.14.ebuild,v 1.17 2013/05/21 16:40:25 jer Exp $
EAPI=4
inherit eutils libtool multilib
DESCRIPTION="A collection of libraries providing APIs to netlink protocol based Linux kernel interfaces"
HOMEPAGE="http://www.infradead.org/~tgr/libnl/"
SRC_URI="
http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz
doc? ( http://www.infradead.org/~tgr/libnl/files/${PN}-doc-${PV}.tar.gz )
"
LICENSE="LGPL-2.1 doc? ( GPL-2 ) utils? ( GPL-2 )"
SLOT="3"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~ia64-linux ~x86-linux"
IUSE="doc static-libs utils"
DEPEND="
sys-devel/flex
sys-devel/bison
"
src_prepare() {
elibtoolize
epatch "${FILESDIR}"/${PN}-1.1-vlan-header.patch
}
src_configure() {
econf \
--disable-silent-rules \
$(use_enable static-libs static) \
$(use_enable utils cli)
}
src_install() {
default
if use doc; then
dohtml -r \
-a css,html,js,map,png \
"${WORKDIR}"/${PN}-doc-${PV}/*
fi
use static-libs || rm -f "${ED}"/usr/$(get_libdir)/lib*.la
dodoc ChangeLog
}

@ -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/dev-libs/protobuf/protobuf-2.4.1.ebuild,v 1.10 2013/06/29 19:40:40 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/protobuf/protobuf-2.4.1.ebuild,v 1.11 2013/07/04 12:24:46 ago Exp $
EAPI="3"
@ -16,7 +16,7 @@ SRC_URI="http://protobuf.googlecode.com/files/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm ~ia64 ~mips ppc ppc64 ~x86 ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
KEYWORDS="amd64 ~arm ~ia64 ~mips ppc ppc64 x86 ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
IUSE="emacs examples java python static-libs vim-syntax"
DEPEND="${DEPEND} java? ( >=virtual/jdk-1.5 )

@ -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/dev-libs/xmlsec/xmlsec-1.2.19.ebuild,v 1.1 2013/05/02 07:19:09 radhermit Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlsec/xmlsec-1.2.19.ebuild,v 1.3 2013/07/04 12:26:15 ago Exp $
EAPI=5
@ -12,7 +12,7 @@ SRC_URI="http://www.aleksey.com/xmlsec/download/${PN}1-${PV}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
KEYWORDS="amd64 ~ppc ~sparc x86"
IUSE="doc gcrypt gnutls nss +openssl static-libs"
REQUIRED_USE="|| ( gcrypt gnutls nss openssl )
gnutls? ( gcrypt )"

@ -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/dev-perl/Class-Load/Class-Load-0.200.0.ebuild,v 1.7 2013/06/30 22:40:46 zlogene Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Class-Load/Class-Load-0.200.0.ebuild,v 1.8 2013/07/04 14:18:47 jer Exp $
EAPI=4
@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="A working (require q{Class::Name}) and more"
SLOT="0"
KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ~ppc64 s390 sh sparc x86 ~ppc-aix ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ~ppc64 s390 sh sparc x86 ~ppc-aix ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
IUSE="test"
RDEPEND="

@ -0,0 +1,18 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/GridDataFormats/GridDataFormats-0.2.2.ebuild,v 1.1 2013/07/04 15:53:21 jlec Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
inherit distutils-r1
DESCRIPTION="Reading and writing of data on regular grids in Python"
HOMEPAGE="https://pypi.python.org/pypi/GridDataFormats"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-3"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""

@ -0,0 +1 @@
DIST GridDataFormats-0.2.2.tar.gz 42363 SHA256 8305897bb291b5cd4e6513e54225f149fab2f5ad13b3437dff77aa6d6c02a383 SHA512 671ed6da8a4447f90f6a95b8fdec53ba793134bbe0adac0b12d97b66ea7e36754a14b64a21926438e8c901d7e9171e56a82fab8d8989fa09fa6bae512bbac229 WHIRLPOOL 2a2bdb3267faed86264297bb5933af7b2d3308587341c905bc091d214dfa9d11bdce3b9efc7c13baae234a291d93374f38326bd8585c75c0de0fe8848414c17b

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>sci</herd>
<maintainer>
<email>jlec@gentoo.org</email>
</maintainer>
</pkgmetadata>

@ -1,2 +1,3 @@
DIST cssutils-0.9.10-20130704.tar.gz 354780 SHA256 c638d28b972bfdbc1e222a1c463e37793f3a6cea8bd2cae9b621510059e3e783 SHA512 a5a05cfb30068c3d4fa6cb50881e95a29a80ae591ff959119096c4a8b88c04e5e98ef64224d3f817975995eee3d1257971442d991c1f7f09596c7b42faf140a5 WHIRLPOOL f587c1faf1eb8144542808dfd4dd21cf6c78f410b74ba488bb91b88c3864f01f4c09c08211a4c9df1776e5f6a5c017d12e891e30ac9f38d836982b76540e4005
DIST cssutils-0.9.10b1.zip 430740 SHA256 f8ef24bb6c20b5c725291a10f486e8d99b2b0acffd429e1fd5d579e5bbf0ba2f SHA512 118865cba38fe65fd35a5adfe9d80cf3413c528c216c9cdb9a0cc7b74b9c2140b466f76efab80579c8796aff801afd06683839912e197962c6194a02ab410e64 WHIRLPOOL 19a32c08630a233a5680fc91683cd91bb1d868e2a1881c52d686f59986a54abe358494be784225c23cbc181561fa68ce84bc915a3c0ceef30efe742d88c65050
DIST cssutils-0.9.9.zip 426449 SHA256 f7061a591859c025504c7871ef3b843383a025d570128edf1c63a6ef53753e8d SHA512 aa378dea071c29772d1a67f64f5ddcd898330ef2d9bc24b49248e981d02aa0c9c240e8422069c15b71caf4a3ffe27a7bb00376c7a22387beaac0a073ff30c91c WHIRLPOOL f972d3ed485a8e24904018caf2a5fa9ecbd91d8093f7a31329536464c092c68928b9906e414cfe172dcf679fb1ab689d4f14ff0b4c3d98fdb3993083038390db

@ -0,0 +1,60 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/cssutils/cssutils-0.9.10.ebuild,v 1.2 2013/07/04 14:48:26 idella4 Exp $
EAPI=5
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_2,3_3} pypy2_0 )
inherit distutils-r1
DESCRIPTION="A CSS Cascading Style Sheets library"
HOMEPAGE="http://pypi.python.org/pypi/cssutils/ https://bitbucket.org/cthedot/cssutils"
SRC_URI="http://dev.gentoo.org/~idella4/tarballs/${P}-20130704.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="examples test"
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
test? ( dev-python/mock[${PYTHON_USEDEP}] )"
DISTUTILS_IN_SOURCE_BUILD=1
python_prepare_all() {
# Disable test failing with dev-python/pyxml installed.
if has_version dev-python/pyxml; then
sed -e "s/test_linecol/_&/" -i src/tests/test_errorhandler.py
fi
distutils-r1_python_prepare_all
}
python_test() {
# https://bitbucket.org/cthedot/cssutils/issue/35/cssutils-0910-testsuite-fails-from-pypy
if [[ "${EPYTHON}" == python2* || "${EPYTHON}" == 'pypy2_0' ]]; then
pushd "${BUILD_DIR}"/../ > /dev/null
nosetests src/${PN}/tests/test_*.py || die "Tests failed under ${EPYTHON}"
else
pushd "${BUILD_DIR}"/
ln -sf ../sheets .
cd lib || die
nosetests ${PN}/tests/test_*.py || die "Tests failed under ${EPYTHON}"
fi
}
python_install() {
distutils-r1_python_install
# Don't install py3 stuff on py2. Breaks py25
if [[ "${EPYTHON}" != python3.* ]]; then
rm -f "${D}$(python_get_sitedir)/cssutils/_codec3.py" || die
fi
# Don't install tests
rm -r "${D}$(python_get_sitedir)/${PN}/tests" || die
}
python_install_all() {
use examples && local EXAMPLES=( examples/. )
distutils-r1_python_install_all
}

@ -0,0 +1,63 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/cssutils/cssutils-0.9.10_beta1-r1.ebuild,v 1.2 2013/07/04 14:48:26 idella4 Exp $
EAPI=5
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_2,3_3} pypy2_0 )
inherit distutils-r1
MY_P="${P/_beta/b}"
DESCRIPTION="A CSS Cascading Style Sheets library"
HOMEPAGE="http://pypi.python.org/pypi/cssutils/ https://bitbucket.org/cthedot/cssutils"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.zip"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="examples test"
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
app-arch/unzip
test? ( dev-python/mock[${PYTHON_USEDEP}] )"
S="${WORKDIR}/${MY_P}"
DISTUTILS_IN_SOURCE_BUILD=1
python_prepare_all() {
# Disable test failing with dev-python/pyxml installed.
if has_version dev-python/pyxml; then
sed -e "s/test_linecol/_&/" -i src/tests/test_errorhandler.py
fi
distutils-r1_python_prepare_all
}
python_test() {
if [[ "${EPYTHON}" == python2* || "${EPYTHON}" == 'pypy2_0' ]]; then
pushd "${BUILD_DIR}"/../ > /dev/null
nosetests src/tests/test_*.py || die "Tests failed under ${EPYTHON}"
else
pushd "${BUILD_DIR}"/
ln -sf ../sheets .
cd lib || die
nosetests tests/test_*.py || die "Tests failed under ${EPYTHON}"
fi
}
python_install() {
distutils-r1_python_install
# Don't install py3 stuff on py2. Breaks py25
if [[ "${EPYTHON}" != python3.* ]]; then
rm -f "${D}$(python_get_sitedir)/cssutils/_codec3.py" || die
fi
# Don't install tests
rm -r "${D}$(python_get_sitedir)/tests" || die
}
python_install_all() {
use examples && local EXAMPLES=( examples/. )
distutils-r1_python_install_all
}

@ -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/dev-python/dbus-python/dbus-python-1.2.0.ebuild,v 1.11 2013/06/02 08:40:39 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/dbus-python/dbus-python-1.2.0.ebuild,v 1.12 2013/07/04 13:34:03 ago Exp $
EAPI=5
@ -14,7 +14,7 @@ SRC_URI="http://dbus.freedesktop.org/releases/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE="doc examples test"
# API docs generated with epydoc, which is python2-only
REQUIRED_USE="doc? ( || ( python_targets_python2_6 python_targets_python2_7 ) )"

@ -0,0 +1,51 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/kiwi/kiwi-1.9.38-r1.ebuild,v 1.1 2013/07/05 04:44:09 idella4 Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
inherit distutils-r1 versionator virtualx
DESCRIPTION="Kiwi is a pure Python framework and set of enhanced PyGTK widgets"
HOMEPAGE="http://www.async.com.br/projects/kiwi/
https://launchpad.net/kiwi
http://pypi.python.org/pypi/kiwi-gtk"
MY_PN="${PN}-gtk"
MY_P="${MY_PN}-${PV}"
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-interix ~amd64-linux ~x86-linux"
IUSE="examples test"
RDEPEND=">=dev-python/pygtk-2.24[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
RESTRICT="test"
S="${WORKDIR}/${MY_P}"
python_prepare_all() {
sed -e "s:share/doc/kiwi:share/doc/${PF}:g" -i setup.py || die "sed failed"
distutils-r1_python_prepare_all
}
# Just in case
python_test() {
# Tarballs are missing files.
# https://code.launchpad.net/~floppym/kiwi/testfiles/+merge/106505
rm tests/{test_pyflakes.py,test_pep8.py,test_ui.py}
pushd "${BUILD_DIR}"/../ > /dev/null
testing() {
PYTHONPATH="${PYTHONPATH}":tests "${PYTHON}" tests/run_all_tests.py
}
VIRTUALX_COMMAND=virtualmake testing
}
python_install_all() {
use examples && local EXAMPLES=( examples/. )
distutils-r1_python_install_all
rmdir "${D}"usr/share/doc/${PF}/{api,howto} || die
}

@ -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/dev-python/lxml/lxml-3.2.1.ebuild,v 1.3 2013/05/22 22:27:57 idella4 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/lxml-3.2.1.ebuild,v 1.4 2013/07/04 15:18:59 floppym Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} )
@ -30,6 +30,8 @@ DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
# lxml tarball contains files pregenerated by Cython.
DISTUTILS_IN_SOURCE_BUILD=1
python_prepare_all() {
# avoid replacing PYTHONPATH in tests.
sed -i -e '/sys\.path/d' test.py || die

@ -0,0 +1 @@
DIST netCDF4-1.0.4.tar.gz 521990 SHA256 99f5eaebae2fae92759d13b790dde4226b2b8c83a68f86543c41c7998cba53b7 SHA512 acebb8b721720fae8ae8347ac10b3bc213cbc6db763001292ab99db56fc20fd82abc17d5449ad8d75f40edb5bf14f24b0bece725671fcc15bf3b0cb6580c46c5 WHIRLPOOL d664d2a187b5191275bdc6fd6a456b684b4c9b1c6c0249e0299ba15ec10a6433b0859f84bf26148a7ca392e307a40f4bdfd13a7dc7ff8b059d8471f18e939b16

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>sci</herd>
<maintainer>
<email>jlec@gentoo.org</email>
</maintainer>
</pkgmetadata>

@ -0,0 +1,34 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/netcdf4-python/netcdf4-python-1.0.4.ebuild,v 1.2 2013/07/04 16:06:06 jlec Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
inherit distutils-r1
MY_PN="netCDF4"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Python/numpy interface to netCDF"
HOMEPAGE="https://code.google.com/p/netcdf4-python"
SRC_URI="https://netcdf4-python.googlecode.com/files/${MY_P}.tar.gz"
SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND="
sci-libs/hdf5
sci-libs/netcdf[hdf]"
DEPEND="${RDEPEND}
test? ( virtual/python-unittest2 )"
S="${WORKDIR}"/${MY_P}
python_test() {
cd test || die
${PYTHON} run_all.py || die
}

@ -0,0 +1,26 @@
From 6e93aa28e1e116619a82e1b78ffbc15ce1133d51 Mon Sep 17 00:00:00 2001
From: Michael Marineau <mike@marineau.org>
Date: Thu, 27 Jun 2013 19:26:23 -0400
Subject: [PATCH 3/3] Skip a permissions check when running as root.
---
tests/gflags_unittest.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/gflags_unittest.py b/tests/gflags_unittest.py
index 091ebd9..ddd3b5c 100755
--- a/tests/gflags_unittest.py
+++ b/tests/gflags_unittest.py
@@ -1111,6 +1111,9 @@ class LoadFromFlagFileTest(googletest.TestCase):
def testMethod_flagfiles_NoPermissions(self):
"""Test that --flagfile raises except on file that is unreadable."""
+ # This test doesn't work as root
+ if os.getuid() == 0:
+ return
tmp_files = self._SetupTestFiles()
# specify our temp file on the fake cmd line
fake_cmd_line = ('fooScript --SomeFlag some_arg --flagfile=%s'
--
1.8.1.5

@ -1,10 +1,10 @@
# 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/dev-python/python-gflags/python-gflags-2.0.ebuild,v 1.5 2012/12/17 19:59:53 mgorny Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-gflags/python-gflags-2.0.ebuild,v 1.6 2013/07/04 14:37:09 idella4 Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_8,1_9} )
PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} )
inherit distutils-r1
@ -28,11 +28,14 @@ PATCHES=(
# Tests try to write to /tmp (sandbox).
# http://code.google.com/p/python-gflags/issues/detail?id=13
"${FILESDIR}"/${P}-tests-respect-tmpdir.patch
# Skip test as root; Bug #475134
"{FILESDIR}"/${P}-skip-test-as-root.patch
)
python_test() {
# http://code.google.com/p/python-gflags/issues/detail?id=15&thanks=15&ts=1372948007
local t
cd tests || die
for t in *.py; do
# (it's ok to run the gflags_googletest.py too)

@ -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/dev-ruby/dust/dust-0.1.7.ebuild,v 1.1 2012/07/26 19:16:08 graaff Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/dust/dust-0.1.7.ebuild,v 1.3 2013/07/04 09:13:32 ago Exp $
EAPI="4"
USE_RUBY="ruby18 ruby19 ree18"
@ -14,7 +14,7 @@ HOMEPAGE="http://dust.rubyforge.org/"
LICENSE="MIT"
SRC_URI="mirror://rubyforge/dust/${P}.gem"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
SLOT="0"
IUSE=""

@ -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/dev-ruby/ruby-odbc/ruby-odbc-0.99995.ebuild,v 1.1 2013/04/15 05:42:19 graaff Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-odbc/ruby-odbc-0.99995.ebuild,v 1.4 2013/07/04 13:05:04 ago Exp $
EAPI=5
@ -20,7 +20,7 @@ SRC_URI="http://www.ch-werner.de/rubyodbc/${P}.tar.gz"
LICENSE="|| ( GPL-2 Ruby )"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
KEYWORDS="amd64 ppc x86"
IUSE=""
DEPEND="${DEPEND} >=dev-db/unixODBC-2.0.6"

@ -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/dev-ruby/ruby-romkan/ruby-romkan-0.4-r4.ebuild,v 1.1 2012/06/25 17:25:20 graaff Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-romkan/ruby-romkan-0.4-r4.ebuild,v 1.4 2013/07/04 13:31:19 ago Exp $
EAPI="4"
# ruby19 jruby
@ -13,7 +13,7 @@ HOMEPAGE="http://0xcc.net/ruby-romkan/"
SRC_URI="http://0xcc.net/ruby-romkan/${P}.tar.gz"
LICENSE="Ruby"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""
DOCS="ChangeLog *.rd"

@ -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/dev-ruby/ruby-termios/ruby-termios-0.9.6-r2.ebuild,v 1.1 2012/09/22 06:38:16 graaff Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-termios/ruby-termios-0.9.6-r2.ebuild,v 1.3 2013/07/04 09:13:48 ago Exp $
EAPI=4
USE_RUBY="ruby18 ruby19"
@ -12,7 +12,7 @@ HOMEPAGE="http://arika.org/ruby/termios" # trailing / isn't needed
SRC_URI="http://github.com/arika/ruby-termios/tarball/version_0_9_6 -> ${P}.tar.gz"
LICENSE="Ruby"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~mips ~ppc ~x86 ~x86-macos"
KEYWORDS="amd64 ~hppa ~mips ~ppc x86 ~x86-macos"
IUSE=""
RUBY_S="arika-${PN}-94fd9ac"

@ -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/dev-ruby/sparklines/sparklines-0.5.2-r3.ebuild,v 1.1 2012/07/29 09:59:48 graaff Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sparklines/sparklines-0.5.2-r3.ebuild,v 1.3 2013/07/04 09:13:38 ago Exp $
EAPI=4
USE_RUBY="ruby18 ruby19"
@ -16,7 +16,7 @@ HOMEPAGE="http://sparklines.rubyforge.org/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-macos"
KEYWORDS="amd64 x86 ~x86-macos"
IUSE=""
RDEPEND="dev-ruby/rmagick"

@ -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/dev-ruby/wirble/wirble-0.1.3-r2.ebuild,v 1.3 2013/07/02 08:59:44 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/wirble/wirble-0.1.3-r2.ebuild,v 1.4 2013/07/04 13:05:17 ago Exp $
EAPI="2"
USE_RUBY="ruby18 ruby19"
@ -17,7 +17,7 @@ HOMEPAGE="http://pablotron.org/software/wirble/"
LICENSE="Ruby"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
KEYWORDS="amd64 ppc x86"
IUSE=""
pkg_postinst() {

@ -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/dev-util/ninja-ide/ninja-ide-2.2.ebuild,v 1.2 2013/07/03 13:41:54 hasufell Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-util/ninja-ide/ninja-ide-2.2.ebuild,v 1.4 2013/07/04 09:13:22 ago Exp $
# XXX: tests
@ -16,7 +16,7 @@ SRC_URI="https://github.com/ninja-ide/ninja-ide/tarball/v${PV} -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="

@ -1,2 +1,3 @@
DIST plan9port-20130320.tgz 54184719 SHA256 d08fd032edc9c27bc549ee9076963812f210476d0d1f21f5300e9d867699ff55 SHA512 fae40eae76a0f3121f47a3895809f2433beed91fc9e879c8cde25e493ec91dfdfc89fe59e3fe3a8aab7c33a2537a02b30857edb3af7f202df4a98e02cee8ecb7 WHIRLPOOL 5b707c8d18c8f1fa8e3d36e8f14a20213cad9ab3344f088f18942034dce3356ba88675c5817a7d50b66275d71d95e6d5fd3fdefbd18bcca9089790e258dbb60f
DIST plan9port-20130622.tgz 54184877 SHA256 d7da395c5f7909854fe20398f51bab4c369f77b676dac2739f27d9a4a72ecfcf SHA512 48010176421ef004376958d044b988db44d34aa56724585b7d4c77fce3ac79e20b211efc993cb832bdea2e9af8dff6f5a216546a65b6fa2e411a5de8e1e2ff41 WHIRLPOOL e6a750099b3b8074a71c850f43666f0c8adc5e331074408376b0f6c1afad113ffba59616753fc1c15d73a25504a5c222ef147fcb91abb3bb0028fef3818ef8e7
DIST plan9port-20130702.tgz 54186513 SHA256 8de8c605bea4b650ded4e5499d4b75260c4a02886f21f9276637553b359d200e SHA512 f7c1f7e57a161bb44234980a04122b012da095368daf7af1967fa7e7710b061d77cfe7f5978da180bb18e5e1fdb963380f01dbf0594a9a073538f0aa4588b4db WHIRLPOOL adb5a99084a8bb1bdfdbe0c378e08d46282022c9ac5551dff5f0f95e3992d15d108025ab60948bc2c75b9b62863dcedce6ffe34670bbaa823bf810bb56217b15

@ -0,0 +1,82 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/plan9port/plan9port-20130702.ebuild,v 1.1 2013/07/04 10:30:57 blueness Exp $
EAPI="4"
inherit eutils
DESCRIPTION="Port of many Plan 9 programs and libraries"
HOMEPAGE="http://swtch.com/plan9port/"
SRC_URI="http://${PN}.googlecode.com/files/${P}.tgz"
LICENSE="9base BSD-4 MIT LGPL-2.1 BigelowHolmes"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="X"
DEPEND="X? ( x11-apps/xauth )"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}"
PLAN9=/usr/lib/plan9
src_prepare()
{
epatch "${FILESDIR}/${PN}-"{9660srv-errno,noexecstack,cflags,builderr}".patch"
# Fix paths, done in place of ./INSTALL -c
einfo "Fixing hard-coded /usr/local/plan9 paths"
grep --null -l -r '/usr/local/plan9' |
xargs --null sed -i "s!/usr/local/plan9!${PLAN9}!g"
}
src_configure() {
if ! use X; then
echo "WSYSTYPE=nowsys" >> LOCAL.config
fi
}
src_compile() {
# Convert -j5 to NPROC=5 for mk
export NPROC="$(echo "$MAKEOPTS" | sed -r -n 's/.*(^| )-j([0-9]*).*/\2/p')"
# The INSTALL script builds mk then [re]builds everything using that
einfo "Compiling Plan 9 from User Space can take a very long time"
einfo "depending on the speed of your computer. Please be patient!"
./INSTALL -b
}
src_install() {
dodir "${PLAN9}"
# P9P's man does not handle compression
docompress -x $PLAN9/man
# do* plays with the executable bit, and we should not modify them
cp -a * "${D}/${PLAN9}"
# build the environment variables and install them in env.d
cat > "${T}/30plan9" <<-EOF
PLAN9="${PLAN9}"
PATH="${PLAN9}/bin"
ROOTPATH="${PLAN9}/bin"
MANPATH="${PLAN9}/man"
EOF
doenvd "${T}/30plan9"
}
pkg_postinst() {
elog "Plan 9 from User Space has been successfully installed into"
elog "${PLAN9}. Your PLAN9 and PATH environment variables have"
elog "also been appropriately set, please use env-update and"
elog "source /etc/profile to bring that into immediate effect."
elog
elog "Please note that ${PLAN9}/bin has been appended to the"
elog "*end* or your PATH to prevent conflicts. To use the Plan9"
elog "versions of common UNIX tools, use the absolute path:"
elog "${PLAN9}/bin or the 9 command (eg: 9 troff)"
elog
elog "Please report any bugs to bugs.gentoo.org, NOT Plan9Port."
}

@ -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/dev-vcs/fossil/fossil-20130216000435.ebuild,v 1.2 2013/06/10 11:34:14 nimiux Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/fossil/fossil-20130216000435.ebuild,v 1.3 2013/07/04 12:16:45 ago Exp $
EAPI="4"
@ -12,7 +12,7 @@ SRC_URI="http://www.fossil-scm.org/download/${MY_P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE="json -sqlite +ssl tcl"
DEPEND="sys-libs/zlib

@ -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/games-action/openclonk/openclonk-5.3.3.ebuild,v 1.2 2013/06/25 23:50:10 hasufell Exp $
# $Header: /var/cvsroot/gentoo-x86/games-action/openclonk/openclonk-5.3.3.ebuild,v 1.3 2013/07/04 12:23:12 ago Exp $
EAPI=5
@ -16,7 +16,7 @@ SRC_URI="http://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz
LICENSE="BSD ISC CLONK-trademark LGPL-2.1 POSTGRESQL"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64 x86"
IUSE="dedicated doc mp3 sound upnp"
RDEPEND="

@ -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/games-emulation/mednafen/mednafen-0.9.28.ebuild,v 1.6 2013/06/09 12:08:19 nimiux Exp $
# $Header: /var/cvsroot/gentoo-x86/games-emulation/mednafen/mednafen-0.9.28.ebuild,v 1.7 2013/07/04 12:24:24 ago Exp $
EAPI=5
inherit autotools eutils games
@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/mednafen/${P}-wip.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc ~x86"
KEYWORDS="amd64 ~ppc x86"
IUSE="alsa altivec cjk debugger jack nls"
RDEPEND="virtual/opengl

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

Loading…
Cancel
Save