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,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
|
@ -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,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,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,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,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,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/"
|
@ -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}"
|
||||
}
|
@ -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,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
|
||||
}
|
@ -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
|
||||
}
|
@ -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
|
||||
}
|
@ -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,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."
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue