parent
251a24d103
commit
aad4270973
@ -1,9 +1,9 @@
|
||||
DIST supernova-2.0.7.tar.gz 18516 SHA256 5fc2cc9eaf6a7cd0bd355b867240bae2b15c66b1e3ff4f5206b591c3ae155837 SHA512 f1271cac15c04f8f4dc1e1c4d92bd6214019215a9c2b1f567268a49e122852f1e3e67fb0325720b450176c073358f99fe2cbefb602055ac2d650d41e839202a3 WHIRLPOOL 7392ccf2e1ee8adac46141478c05d1c1f5876d2a1ac0ce9adefa182ece0cb26d3c9e800f9d1d4c7c5c0978512a736da527903c3e7f34bdd45405599b5641927c
|
||||
DIST supernova-2.0.8.tar.gz 22569 SHA256 fd1a3dbcf52bba6deceb316baf9f8c6b5733c8e1ab4a6b1977aa6c871190f853 SHA512 43d1c53c71c6901da3d9c8e6160ff04110c76cb52281e10fcd8d339c23b2e5da03074e0fda6df66026d8edd268c6a755aa7e087dc131fdfc2365b5bdeed22be2 WHIRLPOOL 6837cc4d841b362a84b97b2a57d6b0b7e0b9cf13eaeef8e6643d9c96db8bbbed0d8c431cf4ddf54a662992a9b4980c88c86c299bd0efd53a015177c975262cf1
|
||||
DIST supernova-2.0.9.tar.gz 22877 SHA256 c90518015b5bc12809e8b6a73907773764f0f1eebd5b85cfb06048ddacbffae9 SHA512 8270f871efcf7c8741078e4658dd8413796a14bd9eb43514beb8b120462db757a5324c5c3c9e4988d8725ec9b903e7743c6ae336dd5f73536e1e0df456ba54a9 WHIRLPOOL 4baa73a956b4f85a25e1f8b7df30115389201ccf165fb21333a11ac0214fd6cbb547b29dc7040c39660890fabb869b961a6904d9ea293f1c92b8c8675ba6a4f3
|
||||
EBUILD supernova-2.0.7.ebuild 1262 SHA256 395b1a5755c448f533ea4476bbebf62857dd59a3324f8401f5ba01f703f1c6a6 SHA512 d7825121671868862e89697b9f76bbe26247dafae4e9388e330b9860f76aaa0ecb1fed975ff83a8313855920bf516309c774dc8456beabc9e35e40c6e7434b87 WHIRLPOOL 5e722d4aa2035aeb9c8c37666a8401a71e1b7d8af44e7c116db5b1238df58ba7f6e42331583231f6d50557ab6109cf53aeb4847ba9dab370a6eae661de831579
|
||||
DIST supernova-2.1.0.tar.gz 23196 SHA256 e8233be47eb1ef30d326fd40fa0ebce396ad8021d950b5df2348c436411e6dd6 SHA512 fa4f6b3f0a3b5a19c309b507ce8c356a929c8a8cf805c45d58a8f4c1bc36f508a0d04477570cf79e7660e94d803df8a02e67206465e75eb3452e43cb6ca186aa WHIRLPOOL 08845b3199ecd09a2419fe379354e3a7bd286b0d617a51b15e30db5448cd44d27571881ab54bb263ec0cd6ecf9f93435774eddc7d26b74acff3c3e55e3fe32e9
|
||||
EBUILD supernova-2.0.8.ebuild 1262 SHA256 395b1a5755c448f533ea4476bbebf62857dd59a3324f8401f5ba01f703f1c6a6 SHA512 d7825121671868862e89697b9f76bbe26247dafae4e9388e330b9860f76aaa0ecb1fed975ff83a8313855920bf516309c774dc8456beabc9e35e40c6e7434b87 WHIRLPOOL 5e722d4aa2035aeb9c8c37666a8401a71e1b7d8af44e7c116db5b1238df58ba7f6e42331583231f6d50557ab6109cf53aeb4847ba9dab370a6eae661de831579
|
||||
EBUILD supernova-2.0.9.ebuild 1262 SHA256 395b1a5755c448f533ea4476bbebf62857dd59a3324f8401f5ba01f703f1c6a6 SHA512 d7825121671868862e89697b9f76bbe26247dafae4e9388e330b9860f76aaa0ecb1fed975ff83a8313855920bf516309c774dc8456beabc9e35e40c6e7434b87 WHIRLPOOL 5e722d4aa2035aeb9c8c37666a8401a71e1b7d8af44e7c116db5b1238df58ba7f6e42331583231f6d50557ab6109cf53aeb4847ba9dab370a6eae661de831579
|
||||
EBUILD supernova-2.1.0.ebuild 1253 SHA256 4819fb86417998a3a331066b07242ad5b4e6306c680f501742d7ae7aabc0c86f SHA512 06e1361c27564d21664a0bd235be9c18f2606a20f9eca4f3b2cc33e339f09ca1e3d0d13c6baa92ba0230f428b1a85016d598b707b2802fcfa8816d461703d80b WHIRLPOOL b789f8cdac982060bb1f762824aa334e9c4e5061823719db91290b76fd00741abb18a974aebd5a6d91377aeec8692e16da2465d8681fb7e5ed7e71aa41f3616f
|
||||
MISC ChangeLog 3192 SHA256 5b0c51a2e49fbac5a6e8588049e77188c10d592a83be762e625850453721f7b2 SHA512 e8d46175babcacfc8e22ae6f2a51a8ad913416cb9fd6dd2a084331d2e3278537d5ca9452d60e345ee26f0fc9a35f7036db48168f14edd0be1cac0f426aa5fcaf WHIRLPOOL f86eee60c75094a29a0ef856a331f2600f48d78d2f3d01d66c2986ed764104c2b2c8ac887c1fb6e41c0e2e29654797038c5391ec999cd0a763716d70576a6db1
|
||||
MISC ChangeLog-2015 2024 SHA256 1164c08734c75c57ea144032a8d1557ca825c9c5da88798e1711b53e983489cd SHA512 1802cadd1f958156d41c8448af35b1264218fff99fabd4c50dcfc4a65ad27fa4690b5ce51c103ae75159f9e3abfc4013f4fcdcdb28cd17f035c220c672bde217 WHIRLPOOL 1f2b74233bf159b00f0e6ed465c26ed4fb9c1bcf31ad160022b4add3691637641f6edafa7357783ea5b49e2dcd9697456e3a2186a1b92892cf96cc4d3454e44a
|
||||
MISC metadata.xml 428 SHA256 0503a69ccb8169862e24beef6f7350d5b61c76924cb26af3dff339a9d4ae6ecd SHA512 1df58b5376b3e6ebbfb124f3a47e6b67d0444fd969a6d56b5b7e96e89596cdec2a65350c492cafaa07fe9ac0dce0ba4562b53af99d36bf36d501db6a606adfb9 WHIRLPOOL 1c01d1b28148c6f6318dc9ce81f5550741be480eb5b5f8434b83ab036ea737ff8ca79faf38d89a0fa0a4620e97f2b222ae7f492474d1ccfc0fc7396facfa3b49
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="The GNU Emacs Lisp Reference Manual"
|
||||
HOMEPAGE="https://www.gnu.org/software/emacs/manual/"
|
||||
# taken from doc/lispref/ of emacs-${PV}
|
||||
SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
|
||||
|
||||
LICENSE="FDL-1.3+"
|
||||
SLOT="24"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
|
||||
DEPEND="app-arch/xz-utils
|
||||
sys-apps/texinfo"
|
||||
|
||||
S="${WORKDIR}/lispref"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-direntry.patch"
|
||||
echo "@set EMACSVER ${PV}" >emacsver.texi || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
makeinfo elisp.texi || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doinfo elisp${SLOT}.info*
|
||||
dodoc ChangeLog README
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
--- lispref-orig/elisp.texi
|
||||
+++ lispref/elisp.texi
|
||||
@@ -1,6 +1,6 @@
|
||||
\input texinfo @c -*-texinfo-*-
|
||||
@c %**start of header
|
||||
-@setfilename elisp
|
||||
+@setfilename elisp24.info
|
||||
|
||||
@ifset VOL1
|
||||
@set volflag
|
||||
@@ -117,9 +117,9 @@
|
||||
|
||||
@documentencoding UTF-8
|
||||
|
||||
-@dircategory Emacs lisp
|
||||
+@dircategory Emacs
|
||||
@direntry
|
||||
-* Elisp: (elisp). The Emacs Lisp Reference Manual.
|
||||
+* Elisp 24: (elisp24). The Emacs Lisp Reference Manual for Emacs 24.
|
||||
@end direntry
|
||||
|
||||
@titlepage
|
@ -1,458 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE='xml,threads'
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
REPO="xen-unstable.hg"
|
||||
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
|
||||
S="${WORKDIR}/${REPO}"
|
||||
live_eclass="mercurial"
|
||||
else
|
||||
KEYWORDS="amd64 ~arm ~arm64 -x86"
|
||||
UPSTREAM_VER=0
|
||||
SECURITY_VER=6
|
||||
# xen-tools's gentoo patches tarball
|
||||
GENTOO_VER=4
|
||||
# xen-tools's gentoo patches version which apply to this specific ebuild
|
||||
GENTOO_GPV=0
|
||||
# xen-tools ovmf's patches
|
||||
OVMF_VER=1
|
||||
|
||||
SEABIOS_VER=1.7.5
|
||||
OVMF_PV=20150629
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${SECURITY_VER} ]] && \
|
||||
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-security-patches-${SECURITY_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
[[ -n ${OVMF_VER} ]] && \
|
||||
OVMF_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-ovmf-patches-${OVMF_VER}.tar.xz"
|
||||
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/xen-${MY_PV}.tar.gz
|
||||
http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
|
||||
https://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
|
||||
ovmf? ( https://dev.gentoo.org/~dlan/distfiles/ovmf-${OVMF_PV}.tar.bz2
|
||||
${OVMF_PATCHSET_URI} )
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${SECURITY_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
S="${WORKDIR}/xen-${MY_PV}"
|
||||
fi
|
||||
|
||||
inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass}
|
||||
|
||||
DESCRIPTION="Xend daemon and tools"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
DOCS=( README docs/README.xen-bugtool )
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
|
||||
# >=dev-lang/ocaml-4 stable
|
||||
# Masked in profiles/eapi-5-files instead
|
||||
IUSE="api custom-cflags debug doc flask hvm qemu ocaml ovmf +pam python pygrub screen static-libs system-qemu system-seabios"
|
||||
|
||||
REQUIRED_USE="hvm? ( || ( qemu system-qemu ) )
|
||||
${PYTHON_REQUIRED_USE}
|
||||
pygrub? ( python )
|
||||
ovmf? ( hvm )
|
||||
qemu? ( !system-qemu )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-libs/lzo:2
|
||||
dev-libs/glib:2
|
||||
dev-libs/yajl
|
||||
dev-libs/libaio
|
||||
dev-libs/libgcrypt:0
|
||||
sys-libs/zlib
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
pam? ( dev-python/pypam[${PYTHON_USEDEP}] )
|
||||
hvm? ( media-libs/libsdl )
|
||||
${PYTHON_DEPS}
|
||||
api? ( dev-libs/libxml2
|
||||
net-misc/curl )
|
||||
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )
|
||||
ovmf? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/sqlite} )
|
||||
!amd64? ( >=sys-apps/dtc-1.4.0 )
|
||||
amd64? ( sys-devel/bin86
|
||||
system-seabios? ( sys-firmware/seabios )
|
||||
sys-firmware/ipxe
|
||||
sys-devel/dev86
|
||||
sys-power/iasl )
|
||||
dev-lang/perl
|
||||
app-misc/pax-utils
|
||||
dev-python/markdown[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
dev-tex/latex2html[png,gif]
|
||||
media-gfx/graphviz
|
||||
dev-tex/xcolor
|
||||
media-gfx/transfig
|
||||
dev-texlive/texlive-latexextra
|
||||
virtual/latex-base
|
||||
dev-tex/latexmk
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-pictures
|
||||
dev-texlive/texlive-latexrecommended
|
||||
)
|
||||
hvm? ( x11-proto/xproto
|
||||
!net-libs/libiscsi )
|
||||
qemu? ( x11-libs/pixman )
|
||||
system-qemu? ( app-emulation/qemu[xen] )
|
||||
ocaml? ( dev-ml/findlib
|
||||
>=dev-lang/ocaml-4 )"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
sys-apps/iproute2
|
||||
net-misc/bridge-utils
|
||||
screen? (
|
||||
app-misc/screen
|
||||
app-admin/logrotate
|
||||
)
|
||||
virtual/udev"
|
||||
|
||||
# hvmloader is used to bootstrap a fully virtualized kernel
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="usr/lib/xen/boot/hvmloader
|
||||
usr/share/qemu-xen/qemu/s390-ccw.img"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
export "CONFIG_LOMOUNT=y"
|
||||
|
||||
#bug 522642, disable compile tools/tests
|
||||
export "CONFIG_TESTS=n"
|
||||
|
||||
if has_version dev-libs/libgcrypt:0; then
|
||||
export "CONFIG_GCRYPT=y"
|
||||
fi
|
||||
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64 ; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
elif use arm; then
|
||||
export XEN_TARGET_ARCH="arm32"
|
||||
elif use arm64; then
|
||||
export XEN_TARGET_ARCH="arm64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
einfo "Try to apply Xen Upstream patcheset"
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Security patchset
|
||||
if [[ -n ${SECURITY_VER} ]]; then
|
||||
einfo "Try to apply Xen Security patcheset"
|
||||
source "${WORKDIR}"/patches-security/${PV}.conf
|
||||
# apply main xen patches
|
||||
for i in ${XEN_SECURITY_MAIN}; do
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-security/xen/$i
|
||||
done
|
||||
|
||||
# apply qemu-traditional patches
|
||||
pushd "${S}"/tools/qemu-xen-traditional/ > /dev/null
|
||||
for i in ${XEN_SECURITY_QEMUT}; do
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-security/qemut/$i
|
||||
done
|
||||
popd > /dev/null
|
||||
|
||||
# apply qemu-xen/upstream patches
|
||||
pushd "${S}"/tools/qemu-xen/ > /dev/null
|
||||
for i in ${XEN_SECURITY_QEMUU}; do
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-security/qemuu/$i
|
||||
done
|
||||
popd > /dev/null
|
||||
fi
|
||||
|
||||
# move before Gentoo patch, one patch should apply to seabios, to fix gcc-4.5.x build err
|
||||
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
|
||||
pushd tools/firmware/ > /dev/null
|
||||
ln -s seabios-dir-remote seabios-dir || die
|
||||
popd > /dev/null
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} && -n ${GENTOO_GPV} ]]; then
|
||||
einfo "Try to apply Gentoo specific patcheset"
|
||||
source "${FILESDIR}"/gentoo-patches.conf
|
||||
_gpv=_gpv_${PN/-/_}_${PV//./}_${GENTOO_GPV}
|
||||
for i in ${!_gpv}; do
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo/$i
|
||||
done
|
||||
fi
|
||||
|
||||
# Ovmf's patchset
|
||||
if [[ -n ${OVMF_VER} ]] && use ovmf; then
|
||||
einfo "Try to apply Ovmf patcheset"
|
||||
pushd "${WORKDIR}"/ovmf-*/ > /dev/null
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-ovmf
|
||||
popd > /dev/null
|
||||
mv ../ovmf-${OVMF_PV} tools/firmware/ovmf-dir-remote || die
|
||||
fi
|
||||
|
||||
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
|
||||
|
||||
# Fix texi2html build error with new texi2html, qemu.doc.html
|
||||
sed -i -e "/texi2html -monolithic/s/-number//" tools/qemu-xen-traditional/Makefile || die
|
||||
|
||||
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
|
||||
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
|
||||
-i tools/firmware/Makefile || die
|
||||
|
||||
# Drop .config, fixes to gcc-4.6
|
||||
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
|
||||
# try and remove all the default cflags
|
||||
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
|
||||
-exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} + || die "failed to re-set custom-cflags"
|
||||
fi
|
||||
|
||||
if ! use pygrub; then
|
||||
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
if ! use python; then
|
||||
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
if ! use hvm; then
|
||||
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
|
||||
# Bug 351648
|
||||
elif ! use x86 && ! has x86 $(get_all_abis); then
|
||||
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
|
||||
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
|
||||
export CPATH="${WORKDIR}"/extra-headers
|
||||
fi
|
||||
|
||||
# Don't bother with qemu, only needed for fully virtualised guests
|
||||
if ! use qemu; then
|
||||
sed -e "s:install-tools\: tools/qemu-xen-traditional-dir:install-tools\: :g" -i Makefile || die
|
||||
fi
|
||||
|
||||
# Reset bash completion dir; Bug 472438
|
||||
sed -e "s:^BASH_COMPLETION_DIR ?= \$(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(get_bashcompdir):" \
|
||||
-i Config.mk || die
|
||||
sed -i -e "/bash-completion/s/xl\.sh/xl/g" tools/libxl/Makefile || die
|
||||
|
||||
# xencommons, Bug #492332, sed lighter weight than patching
|
||||
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
|
||||
-i tools/hotplug/Linux/init.d/xencommons.in || die
|
||||
|
||||
# respect multilib, usr/lib/libcacard.so.0.0.0
|
||||
sed -e "/^libdir=/s/\/lib/\/$(get_libdir)/" \
|
||||
-i tools/qemu-xen/configure || die
|
||||
|
||||
#bug 518136, don't build 32bit exactuable for nomultilib profile
|
||||
if [[ "${ARCH}" == 'amd64' ]] && ! has_multilib_profile; then
|
||||
sed -i -e "/x86_emulator/d" tools/tests/Makefile || die
|
||||
fi
|
||||
|
||||
# use /var instead of /var/lib, consistat with previous ebuild
|
||||
sed -i -e "/XEN_LOCK_DIR=/s/\$localstatedir/\/var/g" \
|
||||
m4/paths.m4 configure tools/configure || die
|
||||
# use /run instead of /var/run
|
||||
sed -i -e "/XEN_RUN_DIR=/s/\$localstatedir//g" \
|
||||
m4/paths.m4 configure tools/configure || die
|
||||
|
||||
# uncomment lines in xl.conf
|
||||
sed -e 's:^#autoballoon=:autoballoon=:' \
|
||||
-e 's:^#lockfile=:lockfile=:' \
|
||||
-e 's:^#vif.default.script=:vif.default.script=:' \
|
||||
-i tools/examples/xl.conf || die
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="--prefix=${PREFIX}/usr \
|
||||
--libdir=${PREFIX}/usr/$(get_libdir) \
|
||||
--libexecdir=${PREFIX}/usr/libexec \
|
||||
--disable-werror \
|
||||
--disable-xen \
|
||||
--enable-tools \
|
||||
--enable-docs \
|
||||
$(use_with system-qemu) \
|
||||
$(use_enable pam) \
|
||||
$(use_enable api xenapi) \
|
||||
$(use_enable ovmf) \
|
||||
$(use_enable ocaml ocamltools) \
|
||||
"
|
||||
use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin"
|
||||
use qemu || myconf+=" --with-system-qemu"
|
||||
use amd64 && myconf+=" --enable-qemu-traditional"
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export VARTEXFONTS="${T}/fonts"
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
use custom-cflags || unset CFLAGS
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
unset LDFLAGS
|
||||
unset CFLAGS
|
||||
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
|
||||
|
||||
use doc && emake -C docs txt html
|
||||
emake -C docs man-pages
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Override auto-detection in the build system, bug #382573
|
||||
export INITD_DIR=/tmp/init.d
|
||||
export CONFIG_LEAF_DIR=../tmp/default
|
||||
|
||||
# Let the build system compile installed Python modules.
|
||||
local PYTHONDONTWRITEBYTECODE
|
||||
export PYTHONDONTWRITEBYTECODE
|
||||
|
||||
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
|
||||
XEN_PYTHON_NATIVE_INSTALL=y install-tools
|
||||
|
||||
# Fix the remaining Python shebangs.
|
||||
python_fix_shebang "${D}"
|
||||
|
||||
# Remove RedHat-specific stuff
|
||||
rm -rf "${D}"tmp || die
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
|
||||
|
||||
dohtml -r docs/
|
||||
docinto pdf
|
||||
dodoc ${DOCS[@]}
|
||||
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
|
||||
fi
|
||||
|
||||
rm -rf "${D}"/usr/share/doc/xen/
|
||||
doman docs/man?/*
|
||||
|
||||
newconfd "${FILESDIR}"/xendomains.confd xendomains
|
||||
newconfd "${FILESDIR}"/xenstored.confd xenstored
|
||||
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
|
||||
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
|
||||
newinitd "${FILESDIR}"/xenstored.initd xenstored
|
||||
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
|
||||
newinitd "${FILESDIR}"/xencommons.initd xencommons
|
||||
newconfd "${FILESDIR}"/xencommons.confd xencommons
|
||||
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
|
||||
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
|
||||
|
||||
if use screen; then
|
||||
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
|
||||
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
|
||||
keepdir /var/log/xen-consoles
|
||||
fi
|
||||
|
||||
# For -static-libs wrt Bug 384355
|
||||
if ! use static-libs; then
|
||||
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
|
||||
fi
|
||||
|
||||
# for xendomains
|
||||
keepdir /etc/xen/auto
|
||||
|
||||
# Temp QA workaround
|
||||
dodir "$(get_udevdir)"
|
||||
mv "${D}"/etc/udev/* "${D}/$(get_udevdir)"
|
||||
rm -rf "${D}"/etc/udev
|
||||
|
||||
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
|
||||
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
|
||||
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the offical wiki page:"
|
||||
elog "https://wiki.gentoo.org/wiki/Xen"
|
||||
elog "http://wiki.xen.org/wiki/Main_Page"
|
||||
elog ""
|
||||
elog "Recommended to utilise the xencommons script to config sytem At boot"
|
||||
elog "Add by use of rc-update on completion of the install"
|
||||
|
||||
# TODO: we need to have the current Python slot here.
|
||||
if ! has_version "dev-lang/python[ncurses]"; then
|
||||
echo
|
||||
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
|
||||
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
|
||||
fi
|
||||
|
||||
if has_version "sys-apps/iproute2[minimal]"; then
|
||||
echo
|
||||
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
|
||||
ewarn "will not work until you rebuild iproute2 without USE=minimal."
|
||||
fi
|
||||
|
||||
if ! use hvm; then
|
||||
echo
|
||||
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
|
||||
elog "support enable the hvm use flag."
|
||||
elog "An x86 or amd64 system is required to build HVM support."
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
|
||||
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
|
||||
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
|
||||
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
|
||||
fi
|
||||
|
||||
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
|
||||
echo
|
||||
elog "xensv is broken upstream (Gentoo bug #142011)."
|
||||
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
|
||||
fi
|
||||
}
|
@ -1,458 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE='xml,threads'
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
REPO="xen-unstable.hg"
|
||||
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
|
||||
S="${WORKDIR}/${REPO}"
|
||||
live_eclass="mercurial"
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~arm64 -x86"
|
||||
UPSTREAM_VER=0
|
||||
SECURITY_VER=7
|
||||
# xen-tools's gentoo patches tarball
|
||||
GENTOO_VER=4
|
||||
# xen-tools's gentoo patches version which apply to this specific ebuild
|
||||
GENTOO_GPV=0
|
||||
# xen-tools ovmf's patches
|
||||
OVMF_VER=1
|
||||
|
||||
SEABIOS_VER=1.7.5
|
||||
OVMF_PV=20150629
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${SECURITY_VER} ]] && \
|
||||
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-security-patches-${SECURITY_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
[[ -n ${OVMF_VER} ]] && \
|
||||
OVMF_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-ovmf-patches-${OVMF_VER}.tar.xz"
|
||||
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/xen-${MY_PV}.tar.gz
|
||||
http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
|
||||
https://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
|
||||
ovmf? ( https://dev.gentoo.org/~dlan/distfiles/ovmf-${OVMF_PV}.tar.bz2
|
||||
${OVMF_PATCHSET_URI} )
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${SECURITY_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
S="${WORKDIR}/xen-${MY_PV}"
|
||||
fi
|
||||
|
||||
inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass}
|
||||
|
||||
DESCRIPTION="Xend daemon and tools"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
DOCS=( README docs/README.xen-bugtool )
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
|
||||
# >=dev-lang/ocaml-4 stable
|
||||
# Masked in profiles/eapi-5-files instead
|
||||
IUSE="api custom-cflags debug doc flask hvm qemu ocaml ovmf +pam python pygrub screen static-libs system-qemu system-seabios"
|
||||
|
||||
REQUIRED_USE="hvm? ( || ( qemu system-qemu ) )
|
||||
${PYTHON_REQUIRED_USE}
|
||||
pygrub? ( python )
|
||||
ovmf? ( hvm )
|
||||
qemu? ( !system-qemu )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-libs/lzo:2
|
||||
dev-libs/glib:2
|
||||
dev-libs/yajl
|
||||
dev-libs/libaio
|
||||
dev-libs/libgcrypt:0
|
||||
sys-libs/zlib
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
pam? ( dev-python/pypam[${PYTHON_USEDEP}] )
|
||||
hvm? ( media-libs/libsdl )
|
||||
${PYTHON_DEPS}
|
||||
api? ( dev-libs/libxml2
|
||||
net-misc/curl )
|
||||
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )
|
||||
ovmf? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/sqlite} )
|
||||
!amd64? ( >=sys-apps/dtc-1.4.0 )
|
||||
amd64? ( sys-devel/bin86
|
||||
system-seabios? ( sys-firmware/seabios )
|
||||
sys-firmware/ipxe
|
||||
sys-devel/dev86
|
||||
sys-power/iasl )
|
||||
dev-lang/perl
|
||||
app-misc/pax-utils
|
||||
dev-python/markdown[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
dev-tex/latex2html[png,gif]
|
||||
media-gfx/graphviz
|
||||
dev-tex/xcolor
|
||||
media-gfx/transfig
|
||||
dev-texlive/texlive-latexextra
|
||||
virtual/latex-base
|
||||
dev-tex/latexmk
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-pictures
|
||||
dev-texlive/texlive-latexrecommended
|
||||
)
|
||||
hvm? ( x11-proto/xproto
|
||||
!net-libs/libiscsi )
|
||||
qemu? ( x11-libs/pixman )
|
||||
system-qemu? ( app-emulation/qemu[xen] )
|
||||
ocaml? ( dev-ml/findlib
|
||||
>=dev-lang/ocaml-4 )"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
sys-apps/iproute2
|
||||
net-misc/bridge-utils
|
||||
screen? (
|
||||
app-misc/screen
|
||||
app-admin/logrotate
|
||||
)
|
||||
virtual/udev"
|
||||
|
||||
# hvmloader is used to bootstrap a fully virtualized kernel
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="usr/lib/xen/boot/hvmloader
|
||||
usr/share/qemu-xen/qemu/s390-ccw.img"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
export "CONFIG_LOMOUNT=y"
|
||||
|
||||
#bug 522642, disable compile tools/tests
|
||||
export "CONFIG_TESTS=n"
|
||||
|
||||
if has_version dev-libs/libgcrypt:0; then
|
||||
export "CONFIG_GCRYPT=y"
|
||||
fi
|
||||
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64 ; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
elif use arm; then
|
||||
export XEN_TARGET_ARCH="arm32"
|
||||
elif use arm64; then
|
||||
export XEN_TARGET_ARCH="arm64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
einfo "Try to apply Xen Upstream patcheset"
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Security patchset
|
||||
if [[ -n ${SECURITY_VER} ]]; then
|
||||
einfo "Try to apply Xen Security patcheset"
|
||||
source "${WORKDIR}"/patches-security/${PV}.conf
|
||||
# apply main xen patches
|
||||
for i in ${XEN_SECURITY_MAIN}; do
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-security/xen/$i
|
||||
done
|
||||
|
||||
# apply qemu-traditional patches
|
||||
pushd "${S}"/tools/qemu-xen-traditional/ > /dev/null
|
||||
for i in ${XEN_SECURITY_QEMUT}; do
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-security/qemut/$i
|
||||
done
|
||||
popd > /dev/null
|
||||
|
||||
# apply qemu-xen/upstream patches
|
||||
pushd "${S}"/tools/qemu-xen/ > /dev/null
|
||||
for i in ${XEN_SECURITY_QEMUU}; do
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-security/qemuu/$i
|
||||
done
|
||||
popd > /dev/null
|
||||
fi
|
||||
|
||||
# move before Gentoo patch, one patch should apply to seabios, to fix gcc-4.5.x build err
|
||||
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
|
||||
pushd tools/firmware/ > /dev/null
|
||||
ln -s seabios-dir-remote seabios-dir || die
|
||||
popd > /dev/null
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} && -n ${GENTOO_GPV} ]]; then
|
||||
einfo "Try to apply Gentoo specific patcheset"
|
||||
source "${FILESDIR}"/gentoo-patches.conf
|
||||
_gpv=_gpv_${PN/-/_}_${PV//./}_${GENTOO_GPV}
|
||||
for i in ${!_gpv}; do
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo/$i
|
||||
done
|
||||
fi
|
||||
|
||||
# Ovmf's patchset
|
||||
if [[ -n ${OVMF_VER} ]] && use ovmf; then
|
||||
einfo "Try to apply Ovmf patcheset"
|
||||
pushd "${WORKDIR}"/ovmf-*/ > /dev/null
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-ovmf
|
||||
popd > /dev/null
|
||||
mv ../ovmf-${OVMF_PV} tools/firmware/ovmf-dir-remote || die
|
||||
fi
|
||||
|
||||
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
|
||||
|
||||
# Fix texi2html build error with new texi2html, qemu.doc.html
|
||||
sed -i -e "/texi2html -monolithic/s/-number//" tools/qemu-xen-traditional/Makefile || die
|
||||
|
||||
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
|
||||
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
|
||||
-i tools/firmware/Makefile || die
|
||||
|
||||
# Drop .config, fixes to gcc-4.6
|
||||
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
|
||||
# try and remove all the default cflags
|
||||
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
|
||||
-exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} + || die "failed to re-set custom-cflags"
|
||||
fi
|
||||
|
||||
if ! use pygrub; then
|
||||
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
if ! use python; then
|
||||
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
if ! use hvm; then
|
||||
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
|
||||
# Bug 351648
|
||||
elif ! use x86 && ! has x86 $(get_all_abis); then
|
||||
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
|
||||
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
|
||||
export CPATH="${WORKDIR}"/extra-headers
|
||||
fi
|
||||
|
||||
# Don't bother with qemu, only needed for fully virtualised guests
|
||||
if ! use qemu; then
|
||||
sed -e "s:install-tools\: tools/qemu-xen-traditional-dir:install-tools\: :g" -i Makefile || die
|
||||
fi
|
||||
|
||||
# Reset bash completion dir; Bug 472438
|
||||
sed -e "s:^BASH_COMPLETION_DIR ?= \$(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(get_bashcompdir):" \
|
||||
-i Config.mk || die
|
||||
sed -i -e "/bash-completion/s/xl\.sh/xl/g" tools/libxl/Makefile || die
|
||||
|
||||
# xencommons, Bug #492332, sed lighter weight than patching
|
||||
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
|
||||
-i tools/hotplug/Linux/init.d/xencommons.in || die
|
||||
|
||||
# respect multilib, usr/lib/libcacard.so.0.0.0
|
||||
sed -e "/^libdir=/s/\/lib/\/$(get_libdir)/" \
|
||||
-i tools/qemu-xen/configure || die
|
||||
|
||||
#bug 518136, don't build 32bit exactuable for nomultilib profile
|
||||
if [[ "${ARCH}" == 'amd64' ]] && ! has_multilib_profile; then
|
||||
sed -i -e "/x86_emulator/d" tools/tests/Makefile || die
|
||||
fi
|
||||
|
||||
# use /var instead of /var/lib, consistat with previous ebuild
|
||||
sed -i -e "/XEN_LOCK_DIR=/s/\$localstatedir/\/var/g" \
|
||||
m4/paths.m4 configure tools/configure || die
|
||||
# use /run instead of /var/run
|
||||
sed -i -e "/XEN_RUN_DIR=/s/\$localstatedir//g" \
|
||||
m4/paths.m4 configure tools/configure || die
|
||||
|
||||
# uncomment lines in xl.conf
|
||||
sed -e 's:^#autoballoon=:autoballoon=:' \
|
||||
-e 's:^#lockfile=:lockfile=:' \
|
||||
-e 's:^#vif.default.script=:vif.default.script=:' \
|
||||
-i tools/examples/xl.conf || die
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="--prefix=${PREFIX}/usr \
|
||||
--libdir=${PREFIX}/usr/$(get_libdir) \
|
||||
--libexecdir=${PREFIX}/usr/libexec \
|
||||
--disable-werror \
|
||||
--disable-xen \
|
||||
--enable-tools \
|
||||
--enable-docs \
|
||||
$(use_with system-qemu) \
|
||||
$(use_enable pam) \
|
||||
$(use_enable api xenapi) \
|
||||
$(use_enable ovmf) \
|
||||
$(use_enable ocaml ocamltools) \
|
||||
"
|
||||
use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin"
|
||||
use qemu || myconf+=" --with-system-qemu"
|
||||
use amd64 && myconf+=" --enable-qemu-traditional"
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export VARTEXFONTS="${T}/fonts"
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
use custom-cflags || unset CFLAGS
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
unset LDFLAGS
|
||||
unset CFLAGS
|
||||
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
|
||||
|
||||
use doc && emake -C docs txt html
|
||||
emake -C docs man-pages
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Override auto-detection in the build system, bug #382573
|
||||
export INITD_DIR=/tmp/init.d
|
||||
export CONFIG_LEAF_DIR=../tmp/default
|
||||
|
||||
# Let the build system compile installed Python modules.
|
||||
local PYTHONDONTWRITEBYTECODE
|
||||
export PYTHONDONTWRITEBYTECODE
|
||||
|
||||
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
|
||||
XEN_PYTHON_NATIVE_INSTALL=y install-tools
|
||||
|
||||
# Fix the remaining Python shebangs.
|
||||
python_fix_shebang "${D}"
|
||||
|
||||
# Remove RedHat-specific stuff
|
||||
rm -rf "${D}"tmp || die
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
|
||||
|
||||
dohtml -r docs/
|
||||
docinto pdf
|
||||
dodoc ${DOCS[@]}
|
||||
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
|
||||
fi
|
||||
|
||||
rm -rf "${D}"/usr/share/doc/xen/
|
||||
doman docs/man?/*
|
||||
|
||||
newconfd "${FILESDIR}"/xendomains.confd xendomains
|
||||
newconfd "${FILESDIR}"/xenstored.confd xenstored
|
||||
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
|
||||
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
|
||||
newinitd "${FILESDIR}"/xenstored.initd xenstored
|
||||
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
|
||||
newinitd "${FILESDIR}"/xencommons.initd xencommons
|
||||
newconfd "${FILESDIR}"/xencommons.confd xencommons
|
||||
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
|
||||
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
|
||||
|
||||
if use screen; then
|
||||
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
|
||||
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
|
||||
keepdir /var/log/xen-consoles
|
||||
fi
|
||||
|
||||
# For -static-libs wrt Bug 384355
|
||||
if ! use static-libs; then
|
||||
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
|
||||
fi
|
||||
|
||||
# for xendomains
|
||||
keepdir /etc/xen/auto
|
||||
|
||||
# Temp QA workaround
|
||||
dodir "$(get_udevdir)"
|
||||
mv "${D}"/etc/udev/* "${D}/$(get_udevdir)"
|
||||
rm -rf "${D}"/etc/udev
|
||||
|
||||
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
|
||||
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
|
||||
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the offical wiki page:"
|
||||
elog "https://wiki.gentoo.org/wiki/Xen"
|
||||
elog "http://wiki.xen.org/wiki/Main_Page"
|
||||
elog ""
|
||||
elog "Recommended to utilise the xencommons script to config sytem At boot"
|
||||
elog "Add by use of rc-update on completion of the install"
|
||||
|
||||
# TODO: we need to have the current Python slot here.
|
||||
if ! has_version "dev-lang/python[ncurses]"; then
|
||||
echo
|
||||
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
|
||||
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
|
||||
fi
|
||||
|
||||
if has_version "sys-apps/iproute2[minimal]"; then
|
||||
echo
|
||||
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
|
||||
ewarn "will not work until you rebuild iproute2 without USE=minimal."
|
||||
fi
|
||||
|
||||
if ! use hvm; then
|
||||
echo
|
||||
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
|
||||
elog "support enable the hvm use flag."
|
||||
elog "An x86 or amd64 system is required to build HVM support."
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
|
||||
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
|
||||
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
|
||||
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
|
||||
fi
|
||||
|
||||
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
|
||||
echo
|
||||
elog "xensv is broken upstream (Gentoo bug #142011)."
|
||||
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
|
||||
fi
|
||||
}
|
@ -1,176 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P=${PN}-${PV/_/-}
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
EGIT_REPO_URI="git://xenbits.xen.org/${PN}.git"
|
||||
live_eclass="git-2"
|
||||
else
|
||||
KEYWORDS="amd64 ~arm ~arm64 -x86"
|
||||
UPSTREAM_VER=
|
||||
SECURITY_VER=
|
||||
GENTOO_VER=
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${SECURITY_VER} ]] && \
|
||||
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-security-patches-${SECURITY_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/${MY_P}.tar.gz
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${SECURITY_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
|
||||
fi
|
||||
|
||||
inherit mount-boot flag-o-matic python-any-r1 toolchain-funcs eutils ${live_eclass}
|
||||
|
||||
DESCRIPTION="The Xen virtual machine monitor"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="custom-cflags debug efi flask xsm"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
efi? ( >=sys-devel/binutils-2.22[multitarget] )
|
||||
!efi? ( >=sys-devel/binutils-2.22[-multitarget] )"
|
||||
RDEPEND=""
|
||||
PDEPEND="~app-emulation/xen-tools-${PV}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="boot/xen-syms-${PV}"
|
||||
|
||||
REQUIRED_USE="flask? ( xsm )
|
||||
arm? ( debug )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]]; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
elif use arm; then
|
||||
export XEN_TARGET_ARCH="arm32"
|
||||
elif use arm64; then
|
||||
export XEN_TARGET_ARCH="arm64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use flask ; then
|
||||
export "XSM_ENABLE=y"
|
||||
export "FLASK_ENABLE=y"
|
||||
elif use xsm ; then
|
||||
export "XSM_ENABLE=y"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Security patchset
|
||||
if [[ -n ${SECURITY_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}/patches-security/${PV}"
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo
|
||||
fi
|
||||
|
||||
# Drop .config
|
||||
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
||||
|
||||
if use efi; then
|
||||
epatch "${FILESDIR}"/${PN}-4.5-efi.patch
|
||||
export EFI_VENDOR="gentoo"
|
||||
export EFI_MOUNTPOINT="boot"
|
||||
fi
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
# try and remove all the default custom-cflags
|
||||
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} \; || die "failed to re-set custom-cflags"
|
||||
fi
|
||||
|
||||
# remove -Werror for gcc-4.6's sake
|
||||
find "${S}" -name 'Makefile*' -o -name '*.mk' -o -name 'common.make' | \
|
||||
xargs sed -i 's/ *-Werror */ /'
|
||||
# not strictly necessary to fix this
|
||||
sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to re-set setup.py"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use arm && myopt="${myopt} CONFIG_EARLY_PRINTK=sun7i"
|
||||
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
if use custom-cflags; then
|
||||
filter-flags -fPIE -fstack-protector
|
||||
replace-flags -O3 -O2
|
||||
else
|
||||
unset CFLAGS
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Send raw LDFLAGS so that --as-needed works
|
||||
emake V=1 CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
# The 'make install' doesn't 'mkdir -p' the subdirs
|
||||
if use efi; then
|
||||
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
|
||||
fi
|
||||
|
||||
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the unoffical wiki page:"
|
||||
elog " https://wiki.gentoo.org/wiki/Xen"
|
||||
elog " http://en.gentoo-wiki.com/wiki/Xen/"
|
||||
|
||||
use efi && einfo "The efi executable is installed in boot/efi/gentoo"
|
||||
}
|
@ -1,179 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P=${PN}-${PV/_/-}
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
EGIT_REPO_URI="git://xenbits.xen.org/${PN}.git"
|
||||
live_eclass="git-2"
|
||||
else
|
||||
KEYWORDS="amd64 ~arm ~arm64 -x86"
|
||||
UPSTREAM_VER=
|
||||
SECURITY_VER=
|
||||
GENTOO_VER=
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${SECURITY_VER} ]] && \
|
||||
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-security-patches-${SECURITY_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/${MY_P}.tar.gz
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${SECURITY_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
|
||||
fi
|
||||
|
||||
inherit mount-boot flag-o-matic python-any-r1 toolchain-funcs eutils ${live_eclass}
|
||||
|
||||
DESCRIPTION="The Xen virtual machine monitor"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="custom-cflags debug efi flask xsm"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
efi? ( >=sys-devel/binutils-2.22[multitarget] )
|
||||
!efi? ( >=sys-devel/binutils-2.22[-multitarget] )"
|
||||
RDEPEND=""
|
||||
PDEPEND="~app-emulation/xen-tools-${PV}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="boot/xen-syms-${PV}"
|
||||
|
||||
REQUIRED_USE="flask? ( xsm )
|
||||
arm? ( debug )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]]; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
elif use arm; then
|
||||
export XEN_TARGET_ARCH="arm32"
|
||||
elif use arm64; then
|
||||
export XEN_TARGET_ARCH="arm64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use flask ; then
|
||||
export "XSM_ENABLE=y"
|
||||
export "FLASK_ENABLE=y"
|
||||
elif use xsm ; then
|
||||
export "XSM_ENABLE=y"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
if [[ -n ${SECURITY_VER} ]]; then
|
||||
einfo "Try to apply Xen Security patcheset"
|
||||
source "${WORKDIR}"/patches-security/${PV}.conf
|
||||
# apply main xen patches
|
||||
for i in ${XEN_SECURITY_MAIN}; do
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-security/xen/$i
|
||||
done
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo
|
||||
fi
|
||||
|
||||
# Drop .config
|
||||
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
||||
|
||||
if use efi; then
|
||||
epatch "${FILESDIR}"/${PN}-4.5-efi.patch
|
||||
export EFI_VENDOR="gentoo"
|
||||
export EFI_MOUNTPOINT="boot"
|
||||
fi
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
# try and remove all the default custom-cflags
|
||||
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} \; || die "failed to re-set custom-cflags"
|
||||
fi
|
||||
|
||||
# remove -Werror for gcc-4.6's sake
|
||||
find "${S}" -name 'Makefile*' -o -name '*.mk' -o -name 'common.make' | \
|
||||
xargs sed -i 's/ *-Werror */ /'
|
||||
# not strictly necessary to fix this
|
||||
sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to re-set setup.py"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use arm && myopt="${myopt} CONFIG_EARLY_PRINTK=sun7i"
|
||||
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
if use custom-cflags; then
|
||||
filter-flags -fPIE -fstack-protector
|
||||
replace-flags -O3 -O2
|
||||
else
|
||||
unset CFLAGS
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Send raw LDFLAGS so that --as-needed works
|
||||
emake V=1 CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
# The 'make install' doesn't 'mkdir -p' the subdirs
|
||||
if use efi; then
|
||||
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
|
||||
fi
|
||||
|
||||
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the unoffical wiki page:"
|
||||
elog " https://wiki.gentoo.org/wiki/Xen"
|
||||
elog " http://en.gentoo-wiki.com/wiki/Xen/"
|
||||
|
||||
use efi && einfo "The efi executable is installed in boot/efi/gentoo"
|
||||
}
|
@ -1,180 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P=${PN}-${PV/_/-}
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
EGIT_REPO_URI="git://xenbits.xen.org/${PN}.git"
|
||||
live_eclass="git-2"
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~arm64 -x86"
|
||||
UPSTREAM_VER=0
|
||||
SECURITY_VER=
|
||||
GENTOO_VER=
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${SECURITY_VER} ]] && \
|
||||
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-security-patches-${SECURITY_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/${MY_P}.tar.gz
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${SECURITY_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
|
||||
fi
|
||||
|
||||
inherit mount-boot flag-o-matic python-any-r1 toolchain-funcs eutils ${live_eclass}
|
||||
|
||||
DESCRIPTION="The Xen virtual machine monitor"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="custom-cflags debug efi flask xsm"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
efi? ( >=sys-devel/binutils-2.22[multitarget] )
|
||||
!efi? ( >=sys-devel/binutils-2.22[-multitarget] )"
|
||||
RDEPEND=""
|
||||
PDEPEND="~app-emulation/xen-tools-${PV}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="boot/xen-syms-${PV}"
|
||||
|
||||
REQUIRED_USE="flask? ( xsm )
|
||||
arm? ( debug )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]]; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
elif use arm; then
|
||||
export XEN_TARGET_ARCH="arm32"
|
||||
elif use arm64; then
|
||||
export XEN_TARGET_ARCH="arm64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use flask ; then
|
||||
export "XSM_ENABLE=y"
|
||||
export "FLASK_ENABLE=y"
|
||||
elif use xsm ; then
|
||||
export "XSM_ENABLE=y"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
if [[ -n ${SECURITY_VER} ]]; then
|
||||
einfo "Try to apply Xen Security patcheset"
|
||||
source "${WORKDIR}"/patches-security/${PV}.conf
|
||||
# apply main xen patches
|
||||
for i in ${XEN_SECURITY_MAIN}; do
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-security/xen/$i
|
||||
done
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo
|
||||
fi
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-4.6-efi.patch
|
||||
|
||||
# Drop .config
|
||||
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
||||
|
||||
if use efi; then
|
||||
export EFI_VENDOR="gentoo"
|
||||
export EFI_MOUNTPOINT="boot"
|
||||
fi
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
# try and remove all the default custom-cflags
|
||||
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} \; || die "failed to re-set custom-cflags"
|
||||
fi
|
||||
|
||||
# remove -Werror for gcc-4.6's sake
|
||||
find "${S}" -name 'Makefile*' -o -name '*.mk' -o -name 'common.make' | \
|
||||
xargs sed -i 's/ *-Werror */ /'
|
||||
# not strictly necessary to fix this
|
||||
sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to re-set setup.py"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use arm && myopt="${myopt} CONFIG_EARLY_PRINTK=sun7i"
|
||||
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
if use custom-cflags; then
|
||||
filter-flags -fPIE -fstack-protector
|
||||
replace-flags -O3 -O2
|
||||
else
|
||||
unset CFLAGS
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Send raw LDFLAGS so that --as-needed works
|
||||
emake V=1 CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
# The 'make install' doesn't 'mkdir -p' the subdirs
|
||||
if use efi; then
|
||||
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
|
||||
fi
|
||||
|
||||
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the unoffical wiki page:"
|
||||
elog " https://wiki.gentoo.org/wiki/Xen"
|
||||
elog " http://en.gentoo-wiki.com/wiki/Xen/"
|
||||
|
||||
use efi && einfo "The efi executable is installed in boot/efi/gentoo"
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
iffe depends on cc -E not inserting newlines between tokens
|
||||
|
||||
https://build.opensuse.org/package/view_file/home:Andreas_Schwab:Factory/ksh/cpp.patch?expand=1
|
||||
|
||||
--- a/src/cmd/INIT/iffe.sh
|
||||
+++ b/src/cmd/INIT/iffe.sh
|
||||
@@ -3427,7 +3427,7 @@
|
||||
(eval "$src") <&$nullin || e=1
|
||||
;;
|
||||
mac*|nomac*)
|
||||
- if compile $cc -E $tmp.c <&$nullin >$tmp.i
|
||||
+ if compile $cc -E -P $tmp.c <&$nullin >$tmp.i
|
||||
then sed -e '/<<[ ]*".*"[ ]*>>/!d' -e 's/<<[ ]*"//g' -e 's/"[ ]*>>//g' $tmp.i
|
||||
else e=1
|
||||
fi
|
||||
@@ -3718,7 +3718,7 @@
|
||||
<<\"#define $v\">> $v <<\"/* native $v */\">>
|
||||
<<\"#endif\">>
|
||||
#endif" > $tmp.c
|
||||
- if compile $cc -E $tmp.c <&$nullin >$tmp.i
|
||||
+ if compile $cc -E -P $tmp.c <&$nullin >$tmp.i
|
||||
then sed -e '/<<[ ]*".*"[ ]*>>/!d' -e 's/<<[ ]*"//g' -e 's/"[ ]*>>//g' $tmp.i > $tmp.t
|
||||
if test -s $tmp.t
|
||||
then success
|
@ -1,9 +1,8 @@
|
||||
DIST go1.4.2.src.tar.gz 10921896 SHA256 299a6fd8f8adfdce15bc06bde926e7b252ae8e24dd5b16b7d8791ed79e7b5e9b SHA512 cda1a29d4418875dffaf3324004ddae8e1bbb573f7668e6e0c03d8b61284f4db7fca244c181f2859f8ccdd3db6391fb21e0d98a1a9fc15096c15883249d48a9c WHIRLPOOL d06c27f6ff3a6499a6c7cb3c5eccd53eb588896c4d837e1fe9855c22ee3caa5cc48fd68cbeceff105b7c47fafbbf0eb3dc28ee3af7196692c5bf18511c6760ef
|
||||
DIST go1.5.1.src.tar.gz 12049701 SHA256 a889873e98d9a72ae396a9b7dd597c29dcd709cafa9097d9c4ba04cff0ec436b SHA512 a3e92058c79502cfcb7d67143db67fef97393a416322b6f8b6c52b70879e7ab56e3cec94a9ca8046cc13b134845cc1e4b53c70d7208850092bf4edf04bf439ff WHIRLPOOL 3e9941af9bb0717e0c4deae53a0290250da8f88962aef67b856baf089369fdff786aa95cec3564812dc2f48b8c388c810b7568c669ee8a1103e03c6ed0b75893
|
||||
EBUILD go-1.4.2.ebuild 3340 SHA256 e66931290ba77ae6cddf4b8d3b7ade6ee64b5a6a38aae68fc0e142705100bb1f SHA512 f3d1df10353f1f8af9f58516536ea33dd9ae86f575e348e91398c5acff088f052f0700777093c004aae2015287371c4353c8d09e30c3f2b2ca3f78a9f5deaef0 WHIRLPOOL 93d8f4fa05b23683a5df4fe0503c6ac48b604ff3d0ec84bfba913c4af697f37db44dcce4ce38c67aa65a647941576a693b5b7c9a897329ada61d73afec37c3e4
|
||||
EBUILD go-1.5.1-r1.ebuild 5087 SHA256 b2f0ed827494d7d90229c46032d87e138e03db8e2e10068304db8882cfd94421 SHA512 739e5625f553525994af1f869cda79ed885cd624c17cdb7b5e5e745fc260955fc6ac94d49f6d660b8db57395f4e45d782f5463efd6831e43fd3d8b562bdc1c95 WHIRLPOOL 4aacc37e01eeb348ebc070f36cb8136b58dd269040e23817bf1e76df8659897f435c4e9a6b12f4ab6e3d0894abdfb249bccf360f46e21d6f5322e1a229e27fd7
|
||||
EBUILD go-1.5.1.ebuild 5214 SHA256 505366de3853bffb9a2ba5ad48b57d5c08f3a92be5bbb58fd1c6351888df73a2 SHA512 506468a2c4ce93623b6850d0ae52a94cff5f9ff31f4cbd11e4328129c637436ee3004306b8843c074455e90b4247dfe6c3064125bbc26348fc076b1cc5552595 WHIRLPOOL 93e6a876c73f5fca670ddcad7412f54bec75cda08827e9a9da83adb32d498d3a205e401de19a2d3fa8b5733703d87472551fd30c891018838674c710b4b63a65
|
||||
EBUILD go-9999.ebuild 5087 SHA256 b2f0ed827494d7d90229c46032d87e138e03db8e2e10068304db8882cfd94421 SHA512 739e5625f553525994af1f869cda79ed885cd624c17cdb7b5e5e745fc260955fc6ac94d49f6d660b8db57395f4e45d782f5463efd6831e43fd3d8b562bdc1c95 WHIRLPOOL 4aacc37e01eeb348ebc070f36cb8136b58dd269040e23817bf1e76df8659897f435c4e9a6b12f4ab6e3d0894abdfb249bccf360f46e21d6f5322e1a229e27fd7
|
||||
MISC ChangeLog 5507 SHA256 59ced8d6ea40d55c4cdc1875b398cb34bf2ea9fa7ff3dbc88f6189b4617615b4 SHA512 ff3943addf42e78506aff0e0ebb9f24821de56f272d4c3b84447067cb938870bc9f00b30df95c0456812aa494faec59d4487b750b2dd8d735fea5dfb172350f7 WHIRLPOOL b9bd98c51d2a2f22463ff72dde4a25c5e3609cc6b5f89d569dedd19ab2b852cac19de4e4742932506e175fe8eff73e4807805563be09271fc83b6bf5d6b74a7f
|
||||
EBUILD go-1.5.1-r1.ebuild 4978 SHA256 0867a0545323f1d8abf7544e1c54eb58613cb01d9f41ef9d8bf4a555e0f5bacd SHA512 e071c065f6d9bc7811c82af58f15075053105f155426a3a82e76d1125717c8f8f51526cda120f1ddab5144a44043095ee68b169ab42800caf829d556ed3596aa WHIRLPOOL 399b9342fbe125261286173f9344290300c8d05d8988e3b814f382c450c51b8bee0a19efaa22ae9f167d7d07a22c73bce3500d316545c561986bf7175b585509
|
||||
EBUILD go-9999.ebuild 4978 SHA256 0867a0545323f1d8abf7544e1c54eb58613cb01d9f41ef9d8bf4a555e0f5bacd SHA512 e071c065f6d9bc7811c82af58f15075053105f155426a3a82e76d1125717c8f8f51526cda120f1ddab5144a44043095ee68b169ab42800caf829d556ed3596aa WHIRLPOOL 399b9342fbe125261286173f9344290300c8d05d8988e3b814f382c450c51b8bee0a19efaa22ae9f167d7d07a22c73bce3500d316545c561986bf7175b585509
|
||||
MISC ChangeLog 5793 SHA256 0345aca93c5b20c3c3a5e65b6af25fc29b9cdb6195a57161b5c79941888d3081 SHA512 a233f215681524e0b9c481ff38eb45c68b25def641d4f52a4bbd35ab6e377565813fd4c1215186e23ffcf8da6b3b6695787f820e39d5f27e27716b27f7f57499 WHIRLPOOL 93f94a71d37d2c93591b07bd96766ded22cdaed93b49d4aa703d4c01a70533a572133039e2c5cce536606bf971579748eeae39a4fb9d7a183e1b379d31161b60
|
||||
MISC ChangeLog-2015 9934 SHA256 5c5375109d9de6edbdf782c355e7f28a8ac4c97d84ca4257a65f12d112fd6a9b SHA512 879f50097cd760b2e96c8ad06ff092f51797181a241361c4897b48abffbad8224331a1bcc614d525e548f7001d3ad664a103ba557a819f0d1cb3c23d67b4019c WHIRLPOOL f11ad28c4f0e811ba70c3b6a8314622d7ab4b064151cb94e62f461fc24c9e62c821571ee771578a20da18ea143d06518a5835f9deedea2a3098a5e83bd6eb5be
|
||||
MISC metadata.xml 448 SHA256 d53ad6b454d72353e0308a91a989a1a3345ae97c0199748dee1862576ad4476a SHA512 0c5fb551437353e87f87c91e576ef224b770f686700150c19e7f34e6903ba26910293bb74db9732a220006b873113662464646dd96e61503e4aa90cc84e14f75 WHIRLPOOL b3846a0fad8844ad7ec961b512cb12a9d588bfac28b2dc53798399ac8628ccbf6c06c5666b03eabef05b0acb0cea04d563252eaaa893341c5b3fe59475ffdab5
|
||||
|
@ -1,211 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
export CBUILD=${CBUILD:-${CHOST}}
|
||||
export CTARGET=${CTARGET:-${CHOST}}
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
if [[ ${PV} = 9999 ]]; then
|
||||
EGIT_REPO_URI="git://github.com/golang/go.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://storage.googleapis.com/golang/go${PV}.src.tar.gz"
|
||||
# go-bootstrap-1.4 only supports go on amd64, arm and x86 architectures.
|
||||
# Allowing other bootstrap options would enable arm64 and ppc64 builds.
|
||||
KEYWORDS="-* ~amd64 ~arm ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-macos"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
|
||||
HOMEPAGE="http://www.golang.org"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/go-bootstrap-1.4.1"
|
||||
RDEPEND="!<dev-go/go-tools-0_pre20150902"
|
||||
|
||||
# These test data objects have writable/executable stacks.
|
||||
QA_EXECSTACK="usr/lib/go/src/debug/elf/testdata/*.obj"
|
||||
|
||||
REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*"
|
||||
|
||||
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
|
||||
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
|
||||
|
||||
# The go language uses *.a files which are _NOT_ libraries and should not be
|
||||
# stripped. The test data objects should also be left alone and unstripped.
|
||||
STRIP_MASK="/usr/lib/go/pkg/*.a
|
||||
/usr/lib/go/src/debug/elf/testdata/*
|
||||
/usr/lib/go/src/debug/dwarf/testdata/*
|
||||
/usr/lib/go/src/runtime/race/*.syso"
|
||||
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
S="${WORKDIR}"/go
|
||||
fi
|
||||
|
||||
go_arch()
|
||||
{
|
||||
# By chance most portage arch names match Go
|
||||
local portage_arch=$(tc-arch $@)
|
||||
case "${portage_arch}" in
|
||||
x86) echo 386;;
|
||||
x64-*) echo amd64;;
|
||||
*) echo "${portage_arch}";;
|
||||
esac
|
||||
}
|
||||
|
||||
go_arm()
|
||||
{
|
||||
case "${1:-${CHOST}}" in
|
||||
armv5*) echo 5;;
|
||||
armv6*) echo 6;;
|
||||
armv7*) echo 7;;
|
||||
*)
|
||||
die "unknown GOARM for ${1:-${CHOST}}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
go_os()
|
||||
{
|
||||
case "${1:-${CHOST}}" in
|
||||
*-linux*) echo linux;;
|
||||
*-darwin*) echo darwin;;
|
||||
*-freebsd*) echo freebsd;;
|
||||
*-netbsd*) echo netbsd;;
|
||||
*-openbsd*) echo openbsd;;
|
||||
*-solaris*) echo solaris;;
|
||||
*-cygwin*|*-interix*|*-winnt*)
|
||||
echo windows
|
||||
;;
|
||||
*)
|
||||
die "unknown GOOS for ${1:-${CHOST}}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
go_tuple()
|
||||
{
|
||||
echo "$(go_os $@)_$(go_arch $@)"
|
||||
}
|
||||
|
||||
go_cross_compile()
|
||||
{
|
||||
[[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
|
||||
}
|
||||
|
||||
pkg_pretend()
|
||||
{
|
||||
# make.bash does not understand cross-compiling a cross-compiler
|
||||
if [[ $(go_tuple) != $(go_tuple ${CTARGET}) ]]; then
|
||||
die "CHOST CTARGET pair unsupported: CHOST=${CHOST} CTARGET=${CTARGET}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare()
|
||||
{
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
sed -i -e 's/"-Werror",//g' src/cmd/dist/build.go ||
|
||||
die 'sed failed'
|
||||
fi
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_compile()
|
||||
{
|
||||
export GOROOT_BOOTSTRAP="${EPREFIX}"/usr/lib/go1.4
|
||||
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
|
||||
export GOROOT="$(pwd)"
|
||||
export GOBIN="${GOROOT}/bin"
|
||||
|
||||
# Go's build script does not use BUILD/HOST/TARGET consistently. :(
|
||||
export GOHOSTARCH=$(go_arch ${CBUILD})
|
||||
export GOHOSTOS=$(go_os ${CBUILD})
|
||||
export CC=$(tc-getBUILD_CC)
|
||||
|
||||
export GOARCH=$(go_arch)
|
||||
export GOOS=$(go_os)
|
||||
export CC_FOR_TARGET=$(tc-getCC)
|
||||
export CXX_FOR_TARGET=$(tc-getCXX)
|
||||
if [[ ${ARCH} == arm ]]; then
|
||||
export GOARM=$(go_arm)
|
||||
fi
|
||||
|
||||
cd src
|
||||
./make.bash || die "build failed"
|
||||
}
|
||||
|
||||
src_test()
|
||||
{
|
||||
go_cross_compile && return 0
|
||||
|
||||
cd src
|
||||
PATH="${GOBIN}:${PATH}" \
|
||||
./run.bash -no-rebuild || die "tests failed"
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
local bin_path="${GOBIN}"
|
||||
if go_cross_compile; then
|
||||
bin_path="${GOBIN}/$(go_tuple)"
|
||||
fi
|
||||
dobin "${bin_path}"/*
|
||||
dodoc AUTHORS CONTRIBUTORS PATENTS README.md
|
||||
|
||||
dodir /usr/lib/go /usr/lib/go/pkg /usr/lib/go/pkg/tool
|
||||
insinto /usr/lib/go
|
||||
|
||||
# There is a known issue which requires the source tree to be installed [1].
|
||||
# Once this is fixed, we can consider using the doc use flag to control
|
||||
# installing the doc and src directories.
|
||||
# [1] https://golang.org/issue/2775
|
||||
doins -r doc lib src
|
||||
|
||||
# Selectively install pkg directory to exclude the bootstrap build
|
||||
insinto /usr/lib/go/pkg
|
||||
doins -r pkg/include "pkg/$(go_tuple)"
|
||||
insinto /usr/lib/go/pkg/tool
|
||||
doins -r "pkg/tool/$(go_tuple)"
|
||||
fperms -R +x /usr/lib/go/pkg/tool
|
||||
}
|
||||
|
||||
pkg_preinst()
|
||||
{
|
||||
has_version '<dev-lang/go-1.4' &&
|
||||
export had_support_files=true ||
|
||||
export had_support_files=false
|
||||
}
|
||||
|
||||
pkg_postinst()
|
||||
{
|
||||
# If the go tool sees a package file timestamped older than a dependancy it
|
||||
# will rebuild that file. So, in order to stop go from rebuilding lots of
|
||||
# packages for every build we need to fix the timestamps. The compiler and
|
||||
# linker are also checked - so we need to fix them too.
|
||||
ebegin "fixing timestamps to avoid unnecessary rebuilds"
|
||||
tref="usr/lib/go/pkg/*/runtime.a"
|
||||
find "${EROOT}"usr/lib/go -type f \
|
||||
-exec touch -r "${EROOT}"${tref} {} \;
|
||||
eend $?
|
||||
|
||||
if [[ ${PV} != 9999 && -n ${REPLACING_VERSIONS} &&
|
||||
${REPLACING_VERSIONS} != ${PV} ]]; then
|
||||
elog "Release notes are located at http://golang.org/doc/go${PV}"
|
||||
fi
|
||||
|
||||
if $had_support_files; then
|
||||
ewarn
|
||||
ewarn "All editor support, IDE support, shell completion"
|
||||
ewarn "support, etc has been removed from the go package"
|
||||
ewarn "upstream."
|
||||
ewarn "For more information on which support is available, see"
|
||||
ewarn "the following URL:"
|
||||
ewarn "https://github.com/golang/go/wiki/IDEsAndTextEditorPlugins"
|
||||
fi
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
From 37ed0dafe47fb1053aee7822113bacc1f213337a Mon Sep 17 00:00:00 2001
|
||||
From: Xinchen Hui <laruence@gmail.com>
|
||||
Date: Mon, 2 Nov 2015 10:47:02 +0800
|
||||
Subject: [PATCH] Fixed bug #70828 (php-fpm 5.6 with opcache crashes when
|
||||
referencing a non-existent constant)
|
||||
|
||||
---
|
||||
NEWS | 2 ++
|
||||
Zend/tests/bug70828.phpt | 24 ++++++++++++++++++++++++
|
||||
Zend/zend_compile.c | 2 +-
|
||||
3 files changed, 27 insertions(+), 1 deletion(-)
|
||||
create mode 100644 Zend/tests/bug70828.phpt
|
||||
|
||||
diff --git a/Zend/tests/bug70828.phpt b/Zend/tests/bug70828.phpt
|
||||
new file mode 100644
|
||||
index 0000000..dd285b5
|
||||
--- /dev/null
|
||||
+++ b/Zend/tests/bug70828.phpt
|
||||
@@ -0,0 +1,24 @@
|
||||
+--TEST--
|
||||
+Bug #70828 (php-fpm 5.6 with opcache crashes when referencing a non-existent constant)
|
||||
+--FILE--
|
||||
+<?php
|
||||
+
|
||||
+namespace test {
|
||||
+ use const nonexistent;
|
||||
+
|
||||
+ class test {
|
||||
+ static function run(){
|
||||
+ var_dump(nonexistent);
|
||||
+ existent;
|
||||
+ }
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+namespace {
|
||||
+ define("test\\existent", "bug!", 1);
|
||||
+ test\test::run();
|
||||
+}
|
||||
+?>
|
||||
+--EXPECTF--
|
||||
+Notice: Use of undefined constant nonexistent - assumed 'nonexistent' in /home/huixinchen/opensource/php-5.6/Zend/tests/bug70828.php on line 8
|
||||
+string(11) "nonexistent"
|
||||
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
|
||||
index 5ff1b04..fca4e2a 100644
|
||||
--- a/Zend/zend_compile.c
|
||||
+++ b/Zend/zend_compile.c
|
||||
@@ -5804,7 +5804,7 @@ void zend_do_fetch_constant(znode *result, znode *constant_container, znode *con
|
||||
opline->op2.constant = zend_add_const_name_literal(CG(active_op_array), &constant_name->u.constant, 0 TSRMLS_CC);
|
||||
} else {
|
||||
opline->extended_value = IS_CONSTANT_UNQUALIFIED;
|
||||
- if (CG(current_namespace)) {
|
||||
+ if (check_namespace && CG(current_namespace)) {
|
||||
opline->extended_value |= IS_CONSTANT_IN_NAMESPACE;
|
||||
opline->op2.constant = zend_add_const_name_literal(CG(active_op_array), &constant_name->u.constant, 1 TSRMLS_CC);
|
||||
} else {
|
||||
--
|
||||
2.1.4
|
||||
|
@ -0,0 +1,230 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
#PATCHSET=1
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib versionator
|
||||
|
||||
RUBYPL=$(get_version_component_range 4)
|
||||
|
||||
MY_P="${PN}-$(get_version_component_range 1-3)"
|
||||
#MY_P="${PN}-$(get_version_component_range 1-3)-${RUBYPL:-0}"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT=$(get_version_component_range 1-2)
|
||||
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
|
||||
RUBYVERSION=2.1.0
|
||||
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
if [[ ${PVR} == ${PV} ]]; then
|
||||
PATCHSET="${PV}-r0.${PATCHSET}"
|
||||
else
|
||||
PATCHSET="${PVR}.${PATCHSET}"
|
||||
fi
|
||||
else
|
||||
PATCHSET="${PVR}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An object-oriented scripting language"
|
||||
HOMEPAGE="http://www.ruby-lang.org/"
|
||||
SRC_URI="mirror://ruby/2.1/${MY_P}.tar.xz
|
||||
https://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( Ruby-BSD BSD-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl xemacs ncurses +readline"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db:= )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
ssl? ( dev-libs/openssl:0 )
|
||||
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||
ncurses? ( sys-libs/ncurses:0= )
|
||||
readline? ( sys-libs/readline:0 )
|
||||
dev-libs/libyaml
|
||||
virtual/libffi
|
||||
sys-libs/zlib
|
||||
>=app-eselect/eselect-ruby-20131227
|
||||
!<dev-ruby/rdoc-3.9.4
|
||||
!<dev-ruby/rubygems-1.8.10-r1"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
PDEPEND="
|
||||
virtual/rubygems[ruby_targets_ruby21]
|
||||
>=dev-ruby/json-1.8.1[ruby_targets_ruby21]
|
||||
>=dev-ruby/rake-0.9.6[ruby_targets_ruby21]
|
||||
rdoc? ( >=dev-ruby/rdoc-4.0.1[ruby_targets_ruby21] )
|
||||
xemacs? ( app-xemacs/ruby-modes )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
|
||||
epatch "${WORKDIR}/patches"
|
||||
|
||||
# We can no longer unbundle all of rake because rubygems now depends
|
||||
# on this. We leave the actual rake code around to bootstrap
|
||||
# rubygems, but remove the bits that would cause a file collision.
|
||||
einfo "Unbundling gems..."
|
||||
cd "$S"
|
||||
rm -r \
|
||||
{bin,lib}/rake lib/rake.rb man/rake.1 \
|
||||
bin/gem || die "removal failed"
|
||||
|
||||
# Fix a hardcoded lib path in configure script
|
||||
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
|
||||
configure.in || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=
|
||||
|
||||
# The Tk module can no longer be built because the module code is no
|
||||
# longer compatible with newer stable versions.
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=500894
|
||||
local modules="tk"
|
||||
|
||||
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||
filter-flags -fomit-frame-pointer
|
||||
# In many places aliasing rules are broken; play it safe
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
# SuperH needs this
|
||||
use sh && append-flags -mieee
|
||||
|
||||
# Socks support via dante
|
||||
if use socks5 ; then
|
||||
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||
# set and socks library is present, so need to unset
|
||||
# SOCKS_SERVER in that case.
|
||||
unset SOCKS_SERVER
|
||||
fi
|
||||
|
||||
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||
fi
|
||||
|
||||
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||
|
||||
# Determine which modules *not* to build depending in the USE flags.
|
||||
if ! use readline ; then
|
||||
modules="${modules},readline"
|
||||
fi
|
||||
if ! use berkdb ; then
|
||||
modules="${modules},dbm"
|
||||
fi
|
||||
if ! use gdbm ; then
|
||||
modules="${modules},gdbm"
|
||||
fi
|
||||
if ! use ssl ; then
|
||||
modules="${modules},openssl"
|
||||
fi
|
||||
if ! use ncurses ; then
|
||||
modules="${modules},curses"
|
||||
fi
|
||||
|
||||
# Provide an empty LIBPATHENV because we disable rpath but we do not
|
||||
# need LD_LIBRARY_PATH by default since that breaks USE=multitarget
|
||||
# #564272
|
||||
INSTALL="${EPREFIX}/usr/bin/install -c" LIBPATHENV="" econf \
|
||||
--program-suffix=${MY_SUFFIX} \
|
||||
--with-soname=ruby${MY_SUFFIX} \
|
||||
--docdir=${EPREFIX}/usr/share/doc/${P} \
|
||||
--enable-shared \
|
||||
--enable-pthread \
|
||||
--disable-rpath \
|
||||
--with-out-ext="${modules}" \
|
||||
$(use_enable socks5 socks) \
|
||||
$(use_enable doc install-doc) \
|
||||
--enable-ipv6 \
|
||||
$(use_enable debug) \
|
||||
${myconf} \
|
||||
--enable-option-checking=no \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 V=1 test || die "make test failed"
|
||||
|
||||
elog "Ruby's make test has been run. Ruby also ships with a make check"
|
||||
elog "that cannot be run until after ruby has been installed."
|
||||
elog
|
||||
if use rubytests; then
|
||||
elog "You have enabled rubytests, so they will be installed to"
|
||||
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
|
||||
elog "than root, and you must place them into a writeable directory."
|
||||
elog "Then call: "
|
||||
elog
|
||||
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
|
||||
else
|
||||
elog "Enable the rubytests USE flag to install the make check tests"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Remove the remaining bundled gems. We do this late in the process
|
||||
# since they are used during the build to e.g. create the
|
||||
# documentation.
|
||||
rm -rf ext/json || die
|
||||
|
||||
# Ruby is involved in the install process, we don't want interference here.
|
||||
unset RUBYOPT
|
||||
|
||||
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||
|
||||
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||
for d in $(find "${S}/ext" -type d) ; do
|
||||
RUBYLIB="${RUBYLIB}:$d"
|
||||
done
|
||||
export LD_LIBRARY_PATH RUBYLIB
|
||||
|
||||
emake V=1 DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
# Remove installed rubygems copy
|
||||
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
|
||||
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
|
||||
rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
|
||||
if use doc; then
|
||||
make DESTDIR="${D}" install-doc || die "make install-doc failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r sample
|
||||
fi
|
||||
|
||||
dodoc ChangeLog NEWS doc/NEWS* README* || die
|
||||
|
||||
if use rubytests; then
|
||||
pushd test
|
||||
insinto /usr/share/${PN}-${SLOT}/test
|
||||
doins -r .
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
|
||||
eselect ruby set ruby${MY_SUFFIX}
|
||||
fi
|
||||
|
||||
elog
|
||||
elog "To switch between available Ruby profiles, execute as root:"
|
||||
elog "\teselect ruby set ruby(19|20|...)"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ruby cleanup
|
||||
}
|
@ -0,0 +1,244 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
#PATCHSET=1
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib versionator
|
||||
|
||||
MY_P="${PN}-$(get_version_component_range 1-3)"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT=$(get_version_component_range 1-2)
|
||||
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
|
||||
RUBYVERSION=2.2.0
|
||||
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
if [[ ${PVR} == ${PV} ]]; then
|
||||
PATCHSET="${PV}-r0.${PATCHSET}"
|
||||
else
|
||||
PATCHSET="${PVR}.${PATCHSET}"
|
||||
fi
|
||||
else
|
||||
PATCHSET="${PVR}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An object-oriented scripting language"
|
||||
HOMEPAGE="http://www.ruby-lang.org/"
|
||||
SRC_URI="mirror://ruby/2.2/${MY_P}.tar.xz
|
||||
https://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( Ruby-BSD BSD-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc libressl +rdoc rubytests socks5 ssl xemacs ncurses +readline"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db:= )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
jemalloc? ( dev-libs/jemalloc )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)
|
||||
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||
ncurses? ( sys-libs/ncurses:0= )
|
||||
readline? ( sys-libs/readline:0 )
|
||||
dev-libs/libyaml
|
||||
virtual/libffi
|
||||
sys-libs/zlib
|
||||
>=app-eselect/eselect-ruby-20141227
|
||||
!<dev-ruby/rdoc-3.9.4
|
||||
!<dev-ruby/rubygems-1.8.10-r1"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BUNDLED_GEMS="
|
||||
>=dev-ruby/minitest-5.4.3[ruby_targets_ruby22]
|
||||
>=dev-ruby/power_assert-0.2.2[ruby_targets_ruby22]
|
||||
>=dev-ruby/test-unit-3.0.8[ruby_targets_ruby22]
|
||||
"
|
||||
|
||||
PDEPEND="
|
||||
${BUNDLED_GEMS}
|
||||
virtual/rubygems[ruby_targets_ruby22]
|
||||
>=dev-ruby/json-1.8.1[ruby_targets_ruby22]
|
||||
>=dev-ruby/rake-0.9.6[ruby_targets_ruby22]
|
||||
rdoc? ( >=dev-ruby/rdoc-4.0.1[ruby_targets_ruby22] )
|
||||
xemacs? ( app-xemacs/ruby-modes )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
|
||||
epatch "${WORKDIR}/patches"
|
||||
|
||||
# We can no longer unbundle all of rake because rubygems now depends
|
||||
# on this. We leave the actual rake code around to bootstrap
|
||||
# rubygems, but remove the bits that would cause a file collision.
|
||||
einfo "Unbundling gems..."
|
||||
cd "$S"
|
||||
rm -r \
|
||||
{bin,lib}/rake lib/rake.rb man/rake.1 \
|
||||
bin/gem || die "removal failed"
|
||||
# Remove bundled gems that we will install via PDEPEND, bug
|
||||
# 539700. Use explicit version numbers to ensure rm fails when they
|
||||
# change so we can update dependencies accordingly.
|
||||
rm gems/{minitest-5.4.3,power_assert-0.2.2,test-unit-3.0.8}.gem || die
|
||||
|
||||
# Fix a hardcoded lib path in configure script
|
||||
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
|
||||
configure.in || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=
|
||||
|
||||
# The Tk module can no longer be built because the module code is no
|
||||
# longer compatible with newer stable versions.
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=500894
|
||||
local modules="tk"
|
||||
|
||||
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||
filter-flags -fomit-frame-pointer
|
||||
# In many places aliasing rules are broken; play it safe
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
# SuperH needs this
|
||||
use sh && append-flags -mieee
|
||||
|
||||
# Socks support via dante
|
||||
if use socks5 ; then
|
||||
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||
# set and socks library is present, so need to unset
|
||||
# SOCKS_SERVER in that case.
|
||||
unset SOCKS_SERVER
|
||||
fi
|
||||
|
||||
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||
fi
|
||||
|
||||
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||
|
||||
# Determine which modules *not* to build depending in the USE flags.
|
||||
if ! use readline ; then
|
||||
modules="${modules},readline"
|
||||
fi
|
||||
if ! use berkdb ; then
|
||||
modules="${modules},dbm"
|
||||
fi
|
||||
if ! use gdbm ; then
|
||||
modules="${modules},gdbm"
|
||||
fi
|
||||
if ! use ssl ; then
|
||||
modules="${modules},openssl"
|
||||
fi
|
||||
if ! use ncurses ; then
|
||||
modules="${modules},curses"
|
||||
fi
|
||||
|
||||
# Provide an empty LIBPATHENV because we disable rpath but we do not
|
||||
# need LD_LIBRARY_PATH by default since that breaks USE=multitarget
|
||||
# #564272
|
||||
INSTALL="${EPREFIX}/usr/bin/install -c" LIBPATHENV="" econf \
|
||||
--program-suffix=${MY_SUFFIX} \
|
||||
--with-soname=ruby${MY_SUFFIX} \
|
||||
--docdir=${EPREFIX}/usr/share/doc/${P} \
|
||||
--enable-shared \
|
||||
--enable-pthread \
|
||||
--disable-rpath \
|
||||
--with-out-ext="${modules}" \
|
||||
$(use_enable jemalloc jemalloc) \
|
||||
$(use_enable socks5 socks) \
|
||||
$(use_enable doc install-doc) \
|
||||
--enable-ipv6 \
|
||||
$(use_enable debug) \
|
||||
${myconf} \
|
||||
--enable-option-checking=no \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 V=1 test || die "make test failed"
|
||||
|
||||
elog "Ruby's make test has been run. Ruby also ships with a make check"
|
||||
elog "that cannot be run until after ruby has been installed."
|
||||
elog
|
||||
if use rubytests; then
|
||||
elog "You have enabled rubytests, so they will be installed to"
|
||||
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
|
||||
elog "than root, and you must place them into a writeable directory."
|
||||
elog "Then call: "
|
||||
elog
|
||||
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
|
||||
else
|
||||
elog "Enable the rubytests USE flag to install the make check tests"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Remove the remaining bundled gems. We do this late in the process
|
||||
# since they are used during the build to e.g. create the
|
||||
# documentation.
|
||||
rm -rf ext/json || die
|
||||
|
||||
# Ruby is involved in the install process, we don't want interference here.
|
||||
unset RUBYOPT
|
||||
|
||||
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||
|
||||
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||
for d in $(find "${S}/ext" -type d) ; do
|
||||
RUBYLIB="${RUBYLIB}:$d"
|
||||
done
|
||||
export LD_LIBRARY_PATH RUBYLIB
|
||||
|
||||
emake V=1 DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
# Remove installed rubygems copy
|
||||
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
|
||||
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
|
||||
rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
|
||||
if use doc; then
|
||||
make DESTDIR="${D}" install-doc || die "make install-doc failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r sample
|
||||
fi
|
||||
|
||||
dodoc ChangeLog NEWS doc/NEWS* README* || die
|
||||
|
||||
if use rubytests; then
|
||||
pushd test
|
||||
insinto /usr/share/${PN}-${SLOT}/test
|
||||
doins -r .
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
|
||||
eselect ruby set ruby${MY_SUFFIX}
|
||||
fi
|
||||
|
||||
elog
|
||||
elog "To switch between available Ruby profiles, execute as root:"
|
||||
elog "\teselect ruby set ruby(19|20|...)"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ruby cleanup
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 14ac0a8..f787b12 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -844,7 +844,7 @@ if test "$with_python" != "no" ; then
|
||||
fi
|
||||
if test "$PYTHON" != ""
|
||||
then
|
||||
- PYTHON_VERSION=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_version())"`
|
||||
+ PYTHON_VERSION=`$PYTHON -c "import sysconfig; print(sysconfig.get_config_var('LDVERSION') or sysconfig.get_config_var('py_version_short'))"`
|
||||
PYTHON_INCLUDES=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_inc())"`
|
||||
# does not work as it produce a /usr/lib/python path instead of/usr/lib64/python
|
||||
#
|
@ -1,5 +1,5 @@
|
||||
DIST Exporter-Tiny-0.042.tar.gz 32173 SHA256 8f1622c5ebbfbcd519ead81df7917e48cb16cc527b1c46737b0459c3908a023f SHA512 b69b722842b4a907fa434a1a798df6f983bae74d7b82e925a1db684cb166f2ef02a72cce176173af035321dc27ad35b49e1fb1ee57c0e2ca6596d84da140c06f WHIRLPOOL 9b43e4b2ca3d0ce6dfc4333914e340e10da032fab8535fb208bf2a4e79e7d4e26b46b09cbf178bdf31eba3584169316fe44ec6ce5c14405d4648d91e60a46f61
|
||||
EBUILD Exporter-Tiny-0.42.0.ebuild 528 SHA256 150f5cb3aaca03897afab83c86ed7fdaf19b8f0392c1e2a2b6e88e44a3207109 SHA512 13d87cc7fb219e6ab89b7e8caec10582371db788dd809f4bd7907c20541e477dcb68eb02f36639d13ec8e979f84a969177b7d106e136d3e48b45bcdcb5683ab8 WHIRLPOOL da2e6c11f01e86f6c894d0b173ae11adceacc0bb21abb0e5cdb86e4bdcd6f48ac88ed1624a720284a65db789dcc125f1c00bb8855c2211f1c929e3505f578d08
|
||||
MISC ChangeLog 3362 SHA256 550e665a0e27432120c620aad88ea0bb4ae6d827e63a95902dc4a3071431274d SHA512 22adbed1dc5da3fe531845acead82120570d6c47d026a2599e0076685b1f7efa41cab3282efd01d77561ef973dffc3f278bcd3cadfe409b3778a25fe227d9e6f WHIRLPOOL 2345e50a9c8faf6d212ec312350bfc4a76ec4173203e8d410709d6dc1f78e6f3e12bc96974c187b8cc574af0d4ea6fce4dc56755b43397d6d4f7f542cff5d84e
|
||||
EBUILD Exporter-Tiny-0.42.0.ebuild 527 SHA256 23d67b7b0252ddd0ff00507050c4da8efae9d0cd69a2d027e69fd035ca669a58 SHA512 504aa3aa229e542338bc43f83ce3643dabfae7210e7a6690abaeb4213dd9a1b49d03dfb6fb5311c0da41ce7ef332e412cc0b7896fe73813807bdb6d9144d1b4b WHIRLPOOL 7b7be53da2e5db83001a0bc0170ed75a64fc5512af70d2870d14e7e675ce8c5951ac4bce171a4e62878d78afea05bbf35b03559b6c9532a9402052ca1b786d74
|
||||
MISC ChangeLog 3543 SHA256 0f7f2ff6b5a9bd72ae7baac31c2e2eb34706229348fe7a91a01cd4cb172f0cf7 SHA512 a4ebf782e9db713ad9cf67ea0ecf4bae9ba6bd6f5150aaf1072597e47d1d363c1500cd4b0448b71b14b97b32087c5954b3796ff63d0e83ab8273d2e7bdeba2b0 WHIRLPOOL 4138155cf167a02ae58c4660cc0a900a72d87bb6d25cda553eb4a3f0e8832c7095b1b2d6e8ef23b760894ec60e7040c28030199f7ddef77cee53ca8388c1d762
|
||||
MISC ChangeLog-2015 1412 SHA256 e2e0485d1dabecf999f74777300dc2461d2072e8a42b175f275bf4d02f2fcaf2 SHA512 26686f931385066714594833465089810ad8f1dbde828dd7806bb04bbd33a6e3cfbffb4f4d64b9727f96ff1f444228001f1be3f911fbee157f663dcaea1483a1 WHIRLPOOL 871117acd7b519bb521c0ca74b0f088d8aa8ec273add2db08a585a402465050085c971718f9237aa7e44a219ec40595f890444307da14a26f5c9d792189675cc
|
||||
MISC metadata.xml 159 SHA256 9e7c719a784bb48388c9a12217b85baa75f1b04e9bf049d74b740785fa5006dd SHA512 5ff7b5593ea8976b44c7d63c7cd649f56d649b0d7c4fa5a16bf71ecdf36e40afa8fd9c28df0b8f0c7f9577c47b6ee63d3330f9304d545b46657d6a5f2bfa124a WHIRLPOOL 7ca7b971bad6145bdf2215f73d158f190984644554e8f32132c57c22f1209a5684060661c02e181c135c34c8729d491090ff6d4b23614198e19b9e2deda35a0a
|
||||
|
@ -1,7 +1,7 @@
|
||||
DIST List-MoreUtils-0.33.tar.gz 38997 SHA256 315c0b444c22b7bf207ac3c7e651d102c84a2308bfafb7a7efe095a9219494ad SHA512 e758b995438c5c5322317aab3602e89b9f683c42d403a0ac97ccd8cc20d0db1a75caefc22f34ad088314867c0bdd9c2b8264e8f2f6a43eab1421aa8c482233b5 WHIRLPOOL afd68dc7bc5ce5be3977097adc3caf2ec0857c18a989f841cb46a8d572b4b3fc8bd8cd4fb1d1e98ec8539c2f5baea49a21f68eb0b38d50a76e82da46ff734da7
|
||||
DIST List-MoreUtils-0.413.tar.gz 131313 SHA256 4d6429d5672ce74a59d6490320252cb8b5b8285db8fe9c6551a4162e5375ef37 SHA512 178c08995d2eddd75054b29cd68adb77617e92b7e56ac56a890eb7b8e04a1f8eda09f2208288d61352db563bff7da0accf58f7482906a51e03b38465ea655d17 WHIRLPOOL 843a54dc44e6698ced55e2737dc42c14327af5e76d25899e617cbec6fccceb4ddcf8ca424e641fa32be60b6b1878191ad3446c1f8477c7c751559799b3d871bc
|
||||
EBUILD List-MoreUtils-0.330.0-r1.ebuild 486 SHA256 ac0f04882d5990c1a209576dacb90bc85b6c65234b15498c7ecf6c9587dcbd39 SHA512 35c04ff8e5a8119fa12bb9823736b6f6864a80e00c3dd1772995750f89eb7fc4fcb7930994a702ff990c9f98d9addac3a7af5e3ff7a3a6fa4f8b7417e1717395 WHIRLPOOL 608bac116419b489106a735531a592a4ff24f51d46662b986b0b9ed7598f226794549f46c15e1b3b9433a9e87850b0a8a8e6934da6b2723a1543bf0c54c44d1b
|
||||
EBUILD List-MoreUtils-0.413.0.ebuild 660 SHA256 e31055f2bc3a75e4e7d8f32529aa6bede85832fde8a7f64cf4e7165d29326896 SHA512 341e7a858a39bd88a98936ea087d153b0c5e0d81ea3616d6b19f6c9e67f0427bc2159d72241987ed69e58c2443772ed7ce583c9825496a15a677c0f38b7994e7 WHIRLPOOL 9ab5f4a8a4b795cc7610b2dccff28a0edce2ba742a6a8926b2366164c274b392e619e0112dd2bca8e1e529c973950d35366e0324b393d6f19153cb4de4547aba
|
||||
MISC ChangeLog 3847 SHA256 d8387f768fbb2113a59768c67fb1aa6354b3ce416a16a20a4846e4e02ceba757 SHA512 21348f8532906132c8133521af298d16c21b6137bf8a3e1843a663cb360a9deb7eb3f47a10d8e5af001f2801766dba6207db74843cd773b2952bcdd245b85004 WHIRLPOOL c8993b4b27d7a999f05bcb7e5123e218f93656244fde8227af738d01436304b97857338723bfce8c0b8af4e242e78d18b98fe3e593200f525d0d76696e2a383f
|
||||
EBUILD List-MoreUtils-0.413.0.ebuild 659 SHA256 17feadbac349ceb7c53aaa6887d1bf9484311008bfabb5c7110a86cf47902570 SHA512 6c73080be834164a9da139a297f61af2788921c92c50a73e318bd271806594b6519784b83bb2f2d9aa03e6c5185e31cbda76b87a599db0c8d7819a36950fef8a WHIRLPOOL 18373803fe29d233ddc3333cf8cc8c4d3627a543aeea17ac74f82a9df28f76d2e3a4a8c47590f54036783896cb8908c8955deed4e0334063945463f6e8b8b7ec
|
||||
MISC ChangeLog 4030 SHA256 0fe3817710c226e2676bc2461a13d7f5a006b85c963ab8a93efd213a8415fac2 SHA512 e54548fa01f9ba4f90e127fbad42e20e83fcf63f2126e62a4288689ec07953059f8a7fbc13071af02089d3d15e809541c535366d1ff060a1929401bd494a399f WHIRLPOOL 7bd78acdf921793949d242a7f8881196790ebc0d56137c0b0aab79f04e7642f3691d1e321d188dad7eff8f6af732b22f709dcf522bbabc5c6a508c220cf82fb7
|
||||
MISC ChangeLog-2015 7307 SHA256 b632225677d3dbf993108c096947467dab668f68156340f8d28eb64349b8e0ab SHA512 d4dd7d8a3f79530307cfcbd9f5eda719271bdf14cc5febaf7d23d0950341c9bb4530daa39c7be8de67f413b8122465c1af46759ed39b073f19d0b6a324026122 WHIRLPOOL 883b956dcc71ea161251a81f8a64745f8725cbb3ceeb62456f8e03408530e9328c17ee8a177617ff4a3d194daa0faf151bdbce781d3496fa7a0c1717a49a35a1
|
||||
MISC metadata.xml 302 SHA256 c54493311024205e45a8325cba88662a490c5a15af8881beae7e3cff085c9a9f SHA512 533cf5d186fb960e8790d3c7439a149d1a04d787fed453497910d48c9d0f4c1bd37f41f7a62a6b331898bb61f58d25f149c69a20df29dcb9a4372bffc3750a54 WHIRLPOOL 838a91b7e363589f0c699c9b5c802cd124f5a668c59bf1ba296d006555daf4cd78e980be0386c06c61fd3dfebd6beea10a62502c0c034b791c24775eec774fa3
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=DSKOLL
|
||||
MODULE_VERSION=5.507
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A Perl module for parsing and creating MIME entities"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/perl-File-Path-1
|
||||
>=virtual/perl-File-Spec-0.600.0
|
||||
>=virtual/perl-File-Temp-0.180.0
|
||||
virtual/perl-IO
|
||||
>=virtual/perl-MIME-Base64-2.200.0
|
||||
dev-perl/MailTools
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.590.0
|
||||
test? (
|
||||
dev-perl/Test-Deep
|
||||
dev-perl/Test-Pod
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST="do parallel"
|
@ -1,7 +1,9 @@
|
||||
DIST MIME-tools-5.504.tar.gz 404825 SHA256 0f5819eecd59bd46874f741dfc452a0a172e59a7ac6c422ce69e10593f7693d2 SHA512 0ff4d3991bc9e37edc39204051f7d9b9562a8afa23f768f0f653c554bf29c16ba315a043d63818c9e2ebc5f01a9f6961930dd8f4a1a501b5639bca36dde93c09 WHIRLPOOL 41059bd54a0537ff4e5cf76658248de9acaa603d514df88b26ee2fb2bd661fc854f02228a2c055ac107b06c77a35254a4bc97bcd1c659ddd3e840c437d11b1ec
|
||||
DIST MIME-tools-5.506.tar.gz 406565 SHA256 dbed9bf46830c4a1df9840a546824ee44d14902012870f0c34bc4f5cc86af812 SHA512 31cc1efb61100127bacfba435b7e500259bbb0e30206fb3fe125d2a86186e977eefecd7689e82bb4c8e76e8791c6c84719b276769c7e8fa6ab3b51cfa00b34c5 WHIRLPOOL fa6b24bbb33dbc658de87efcce5944e405c364ac262c60b022b770a5259816bb1027ff9dc82392784cb2183dc0fc0cb085f634de696f77bbde135df0498cbb21
|
||||
DIST MIME-tools-5.507.tar.gz 406373 SHA256 2f43683e1d5bed21179207d81c0caf1d5b5d480d018ac812f4ab950879fe7793 SHA512 b617d417784d01d8f81acda6f595b46d35d8c8382a9e436ccc3a2fec6ed6c2a3daf20785fabae1663ba278616172a5ea365ba83b390aed9e6defab67fdbfbaa7 WHIRLPOOL 94c9cdce2d5f925a37434307032544eed4c17baa0ce86bb2199caa2f85365e004b71474bb265b5ad04e7009b7c733829fb7da8fc459a896165ba9d0cc80560c0
|
||||
EBUILD MIME-tools-5.504.0.ebuild 693 SHA256 c5e1f70b61dc18256ca82872b156fc689a1fadc684041c5747b098bf2888e203 SHA512 8f23043b82f41b4877133e0ea19595f8a82dbadad846c3e13f731880b15ca20cf9d1d83d53ca9cdb0eda400b47b770f2a5c65f7a306f1c1ca7414ca5005f10dd WHIRLPOOL 4b4e3ce68ef16a7612cf9470f4c69d11b2ef18931ab22c443a6a04762085a93c413c9f5d64b793823bb1b045de48769033fbd1225e27f55d4fbcb7f3ef09b74a
|
||||
EBUILD MIME-tools-5.506.0.ebuild 727 SHA256 c284157936ef06a2a3501f35ff7cdb39af895b567197df29d839e5f17ae65985 SHA512 2ae4b1007f5bc347b65ae7d2107f3623eb985606681b185fdd5042471492604ecd510e1fbb898713ca3c81369a1e4e5d6cfb1c3dcd1ca3c09a005eede66bd5bc WHIRLPOOL 1db01c6adb186a874f734d3542c123fbe82ad0cc3a70ef3f97983263a675c312a6eec979fdfcae946b3ba70242d0f912ba23a4686659bc4e32e5b6f442058dec
|
||||
MISC ChangeLog 2125 SHA256 b103d4bfd2d2e39fb2f5e3c1896b99c7f559b48e80d31b0f899828ce8faea0df SHA512 f258bfdc5177800e967252eb05ec61ae97e45f8b81a6fb94650eb91cf13d4ea3e2d26cf5c758c0760574766dcecdfc4e6cb3291385bebfaee9728d5cebde5902 WHIRLPOOL e2f381d2595e065869ae9fea6dd4cd0b609c20bead4a4d2a9433e21976dd6ec7864bddbe231dcd97923102de486d9dc6d07408b56b8e3d8df3f26eab13af0ee2
|
||||
EBUILD MIME-tools-5.507.0.ebuild 727 SHA256 b214803b230f53213c31ad0062c0e91f13d81b6caf57682f8ef533ab978a252b SHA512 9b234e6e8c18ea54601200eab9d4af031ec8f799cad49231c623a375ab7617acac8f386cc727fbcfdffbd1ee93302e2654f3a2fa1dc66c7ea1409db571a24e79 WHIRLPOOL 3aa8d759f96aa00b2e59a79124ab638cd5086ea5aff3135193db74285e88f8799d282958935d8e88abba5ec8e666e2ce7631f3fa2e0d53140801339a713d9e26
|
||||
MISC ChangeLog 2310 SHA256 90ca259e567a643dd71affb06d1f70ea5a5cbf400204c4a0d822601debf1d733 SHA512 2a4d797b0bf2fa3d94f929e9b1d88063627b19e7e048804e2f49713db3f8094c3cf37af966efe126c7f2289ec26f63589c8c3adf19d0f6ad06577e40017f1b99 WHIRLPOOL fdced882d947f422b6733919c77e7eeddaa39032de9435125e9ef021ed67af1c6eb68d51223a75ef705857403d82d4aef596bd36952f24ddfd8b1a59fddf36ad
|
||||
MISC ChangeLog-2015 11889 SHA256 0ae4b8395f7572a4b3c8fe8aeae93b9721f66340dcb600b56933c1ac342693d8 SHA512 6edcb0515c683aba3d374a352390678a263d91a41e0a389870c634059e5c79421c00ec8422229a20679abaec233bf16be0518d8d7c244b9ae1fd489f621f0311 WHIRLPOOL 5d2b4a9101fed344ad6d9574232385ffd9d5969cce96b81ab0b1c164c0ef84d60836f637af449ef6ae544a42024656aa7e2385ec7ad7241cc8a2490eb8d23a77
|
||||
MISC metadata.xml 2143 SHA256 539c7658f5a2c9cbeab372db20b699ce0b1b5223bf372bf012ade70327066d3d SHA512 0314002b5ec3f924cd91bacd70c69132fe94f1e1a6b04f82def1acdf68d011c2ce92284cdc07dad47635d2fd70e2afbd0341179d6477702ee23892950bfeff9d WHIRLPOOL 7c6a1ca35788df83c70c2134bdd9513488f0cfd5899bf315620266a37b140659a68062ea5768052976055691f34a517701dc0007a993d7723a876c80e325d5d2
|
||||
|
@ -0,0 +1,14 @@
|
||||
# ChangeLog for dev-perl/Module-Info
|
||||
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
|
||||
# (auto-generated from git log)
|
||||
|
||||
*Module-Info-0.370.0 (29 Nov 2015)
|
||||
*Module-Info-0.350.0-r1 (29 Nov 2015)
|
||||
|
||||
29 Nov 2015; Andreas K. Huettel (dilfridge) <dilfridge@gentoo.org>
|
||||
+Module-Info-0.350.0-r1.ebuild, +Module-Info-0.370.0.ebuild, +metadata.xml:
|
||||
Normalize capitalization of PN
|
||||
|
||||
Package-Manager: portage-2.2.26
|
||||
RepoMan-Options: --force
|
||||
|
@ -0,0 +1,6 @@
|
||||
DIST Module-Info-0.35.tar.gz 55112 SHA256 ab073d10d67a25b0e6a3f8efa95de9e3d6fbe043538bf524a88a0e1fc3ebfb64 SHA512 87d68f575f97db8579675a8187cf746e74409266c0ac9454ad41380e6e0ee9566632d368098c0b00b54128aacb27bc43c774ea78a047964bb6a14f6a06c681aa WHIRLPOOL 7589e5ca17f0a2b01f1428d778e717e49544baa541711aed92cd8d3e6234cf4535df4346d5c3b8973af4b5893615f5a65279a906bd9d5a233cba882b2b2e163d
|
||||
DIST Module-Info-0.37.tar.gz 42864 SHA256 8ea802529790b19c1f373a1e47d8381664f9c4c1f76a8d8bbc6db6d7311c2448 SHA512 4a9fb295c6a0b7ac701543b292804ce880129b883da7d8f27b255a198e28dc105b11753330c2861241e65898f726a1127c7daf46af09361e3713bdcd5b89227e WHIRLPOOL 3b206886babe20bdbaf8f18b9296e1215267052bcdae6685732a646f40f41e29a66ba2b893449e35377dfcb0d463fb93a5689b4ee2d8b6450c49400615239818
|
||||
EBUILD Module-Info-0.350.0-r1.ebuild 447 SHA256 02b5a4165eebb8066182c2ba04c2b974f742dbe253bf3015327dde50cc588357 SHA512 eba96f25f0f822cfcb7d7e67ba3ec409ef9cd5406ed90c364686691b25f07ffe24d72dc8179f3a4f5c725aa6d7936073543c0a4d0c915941e07ad538b21f7275 WHIRLPOOL 1d49d073351f77e4f8c3f0c07b46e1e0128894de6f991d158d3db781b9f06585bec546a9478e4152ebdb16ec74796c26ee67f709767a8e140c93e92ab5383b25
|
||||
EBUILD Module-Info-0.370.0.ebuild 536 SHA256 539716a2d5a683646c209c9707b4c59fa50de0da1c257c635587f2d79c1c1b00 SHA512 712afa4ee9c78f57beedcce27f528bafd262c842ec7fab210c9cf3692f28a6d256c5d8d07a09a2b4b92e94933a24978efd33d6f6c27f5f9ba8509523e01967ea WHIRLPOOL f864debeeffe673e2b5bfdafe3c0621a400558b6a233885baf36f68c603800a01a37199b9a55aaa17721a182c97d3d7293f0cb010626d70c69fb7f18c05b9289
|
||||
MISC ChangeLog 457 SHA256 9312c6a162419fcabb6124cd1c529247d93da4b7d9c548077a3fc99e6de7024f SHA512 0bce4499bbdffda4bae734a4247a58e0ea7df20f1825453e2f567f1f74abd302ad2b54900df759096e43fadd0e56f50f9ce8251522d241bce8a73832cbf19a35 WHIRLPOOL 82574869fde72ab40702554dc79e88377165fd32925d13db58ac4365d6a448d4cf96a5acadd19daa222bac08d32428a004a1ace69dcd3cef93f8b0fd4d0fce4e
|
||||
MISC metadata.xml 559 SHA256 72a1336bf7242c36aa1461d9180c69a79185ca737257c125208f882a18239bd6 SHA512 c62e9b18d4b11dffe5b013eb2f32e8af190d2ba44c94c4b6664a0c2952088efdb3e65b3ddb1395992fff31e994def833bd96dc1c69c78150b6954d9a5326d922 WHIRLPOOL 88fe154d550f3708a428a737091de5273a82d37ed622189586a745ad935c593e1286360b17f46c75e9c5e87127e0cafd5f80b8554893cd06893b05edeea50c8e
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PN=Module-Info
|
||||
MODULE_AUTHOR=NEILB
|
||||
MODULE_VERSION=0.37
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Information about Perl modules"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~ppc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/B-Utils-0.270.0
|
||||
virtual/perl-Carp
|
||||
>=virtual/perl-File-Spec-0.800.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
dev-perl/Test-Pod
|
||||
dev-perl/Test-Pod-Coverage
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST="do parallel"
|
@ -1,7 +1,5 @@
|
||||
DIST Unidecode-0.04.17.tar.gz 201090 SHA256 f0f8d53d39877da4849293d548eecb5e79364b573643296869dbc7f5b86709ef SHA512 297f411ab09f42cfb455279bb0accafe278d480acf6087b6596dbf4b4d4de89d45d389c5418a2dc4fe8c8f61026c92b3036e08f625e7f434abce9db335682be2 WHIRLPOOL f6fd10531da0e3b6eb14bfbeb07109490523d63151d8a26fd131506d7ead1a7b5570756ec7fa943c25e5a8ede6cbab1c9548cafbbca89301e52781621b41e513
|
||||
DIST Unidecode-0.04.18.tar.gz 206191 SHA256 f19150c74de2fe6847b13efeeaee402f2bd2c309a446346a8b5baae0315d108a SHA512 4434b147662c605829a599cb227b10599e70b9a40669b6bce490156c6679d22b49e1768667e10851eaf8d6a142a2c22df4800f0382ed74e781c247708021acd7 WHIRLPOOL 84f07583ba19f6c029128699629dc5709343520b94ea0fd3c8924d7e44910481f5b1574449eb78c2fa4dd884de4fa8b646593623dcae28b809f423c343163aa1
|
||||
EBUILD unidecode-0.04.17.ebuild 586 SHA256 ed75f132e57b81c3e072d87efa3f904330022bb51c5370af59b1ae372b5df02d SHA512 7881f158f18011a8a8ed809bb5359ac453f2d384380180f89e45f274f65b54efbea0ac595f0c61018d0de68bfd39d3c94b77584b2bd5e37d1f88ddba4e3e097f WHIRLPOOL 164ad1874c7fd463436dfd2fceb606517c5541e0e574e3e091fc6f0f82fa289538154d2cf739a79e8bf7dbcd395646e05c0c1a244ab728285c4215d3cd2dd374
|
||||
EBUILD unidecode-0.04.18.ebuild 592 SHA256 fc346b5a67440104aaf46bea897dc961d7674ded0e0d92f98e66ea7ac0391a87 SHA512 8bb9423c13b782f27d209d55505c7e60cfc7e86dd551ee7ac316efe5ab108cd57478d80d9c3f5a0e4c535aac01ca343accbb6225ea3165e708f9dcf0a8cc38a8 WHIRLPOOL 480bb750a3bdb16af1d52a8df6d99dee04280e47a1d5fd12375500b8f4d260386da8cc640ad5fe65788f84ded266b4ec065eadb7e79c96bd4738447ca5624d18
|
||||
MISC ChangeLog 4095 SHA256 7ac1c39389203a50dc97122538977c59a40afd6bef162bc11ed1c8ae4d3103a5 SHA512 83977bd97e4143e99afca65644577d4868583250625ea87e9eed17558bac48b512cbd8bf503939c40fda84d5d7960d9163fa858af7de34e757fe67986c7fd66c WHIRLPOOL fcd0f97eb40e6c6861cfe73df82c3dc01510a7d18f80117138d2852e4c64054fe7e1409e94d204e805ae21fb7d3b524908c3a50e167d325fb1c4a01298f59cb2
|
||||
MISC ChangeLog 4212 SHA256 02299277f7ba4dbcabdeacd1e706b294ac2a24a1e00c7df952a1060495d6f668 SHA512 1e408cec809433116d3d051935f387ece17a700829bb23a1c16125ba6f102fefa97c4155eaa1aafc21ade6b1084b26e6dc009438f8fde8f731d334ed6ce6de7e WHIRLPOOL f72fb4f2c549c195abc4cf29d7cc277726c058a61b63535738b0a292b85e3588043a83228b48ff71f16d6949b2e11ab4a77534a85b7f4763a23f848cd4c10ad9
|
||||
MISC ChangeLog-2015 4944 SHA256 d58f0d7f5c3f8534ddfb85a77e5ed11ae5eb8a8ce687e7de6a917648e7ac7f70 SHA512 ffada20835de9370ff967e923a09250643ab23b771e03d20406bf6c7e057e99f2ba9e342cf5a27f33128aeb5029437380c99d20c5ab9e3a528f7e597a23bfda0 WHIRLPOOL 15eecbc636883944b6d6fbec5ae32b9582aa22028438daee273c28702d841064895f6bd512c6648fc54b8a8b1c85d3754764fa138ac55155dbc2fdfb609639d9
|
||||
MISC metadata.xml 444 SHA256 e20b64b7e43f7c73ffd4c62c7ead845aa3e4bbe554c9a661b1a3023af15a1aea SHA512 fe2889a47250e0bb778ed4f1edc68829faed4759d8b9eab2bbe7f465ee406c7acbc63557d59e85e51ca119c7156a37b1869b659bc7a1a311c63043690d13f3ad WHIRLPOOL 1dc0bca7e3f4a9b43ba8ba6ed8c3bc6478ec6bd48ca28a84050a5a537ed28eae55cf288d734eff12ac7e4f2a6c16b13b7fbd8b72d6b7862b6abff030c08ad903
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
MY_PN=Unidecode
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Module providing ASCII transliterations of Unicode text"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/Unidecode"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ppc sparc x86"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1,7 +1,8 @@
|
||||
DIST activeldap-3.2.2.gem 218624 SHA256 2c8f1c5ca5d32ef6c98cc9ad00933a10b3ed9fc0d77eaea504a5615e6e37ece0 SHA512 f3a802fa1e05b2140fc0c14035ce4ec7037496a2de50908a1143bf3a2c89cf9de6a339ead075b38e7f8b8f7f78314cfd9fe414b64e71e89bdd8dce6b9ab7a1ad WHIRLPOOL a07beca35e89738cc1fa39c5cfd193a63240708ab857812795fe02c148e73ef2e9e1865e286d82608c8fbbf78e4f87c6afc66f8a506b0de51550a0dd006bff6a
|
||||
DIST activeldap-4.0.4.gem 223744 SHA256 837f2a3b3249a0be1c53d4b063422a1cf021cf9f746b8dbce4d4fefbcb7460fb SHA512 24ca2c07ecab2d1b96b7837366e510e5cc53f7081e3a92b2c0962281d88453c5cfc65d837a2439b096fd3b517182d02f0507deca4cf694d80736d8192479a91b WHIRLPOOL 8decf4dc0b4c1101f87444ac8f43f35db916752635a8a61daf4e63a7bb57104cdfc3c5de3d41f062b840d314908f21328eebaf4a5cdb37876fb379000704b1d0
|
||||
EBUILD activeldap-3.2.2.ebuild 893 SHA256 64a0fa52c975138808cc30c10d3259281eb2b6e7d61384f0aa0fe8ae25c57ce6 SHA512 d31b22e8d4ccee89d2fbe3544f463746396c3d7f44f054f13bc5e5fafcea0f6e9c7ca65dc7dd8883212e00075b4dedaa2320380419f070af725cc22078561f6e WHIRLPOOL 817a2b8f8f5ee95d011c865f292b6384989f2bbe0f491c8d7dea6d679af2174c4039a000c39dcda24a7bcd8d813a11eb399b4851b4c45e3a8adf66abfb84ec26
|
||||
EBUILD activeldap-4.0.4-r1.ebuild 868 SHA256 4cf643d1c9aec4292ade2c43fa4068b3692b1aef0554c542b98fb48586a38145 SHA512 b0b9e050171ea0b660c036b891eb50f8848d34b5a9fae6d4d3c289cdb8656558ab4bd3e3a02f8717d2d9e2160142ad70fe29b568e875b69da7b967db43d03e19 WHIRLPOOL 3de35a506fc41475dd0ddb22b1a3a2ae4ecc3315534dbb0cceab4da05e1f1a305bd544720f4ade89a81ef4889fbc9f2a55427e4d9d005bc416c00f64463e995e
|
||||
EBUILD activeldap-4.0.4.ebuild 871 SHA256 1f18e66aabe32302b2de512f7cb9a0bc14e2456daf33bbfe9c62fec886b4520a SHA512 9bc8d6cc3802e9f37b723b17f1392eb55b14d581b26af50e75e948854da4d39beefc9acf4bf1f35a96401997b6ef052ef897b773f1cfb3fd3c5d51992af46b5a WHIRLPOOL 653c20869e3d44dc535bc0dfdbb8d216e5adb075a2b14c688b0488f502d06d8556cfcc7881527fbae460604f9bfc6129d6dcf8ff7a25d9e974ab5ce4eeb42b88
|
||||
MISC ChangeLog 2117 SHA256 52cdc866415c2ebcfc68fe319a6ca1f5dd028ec196e4407a05db6ae9f79a00d0 SHA512 2e8a0cb21d709e54af5295331b8f2d1213444499268ca5e971b6f19d9b40e019bfac85a598d24efc0013fa9ce440a7c5857d00440d4b8ffc2dff70fd6776e4b7 WHIRLPOOL a6d3572ba8002f0c13bd08a201ad0b602b9918e1d6d0c3db7c4d846db1b4ba9c4ddb875b388e874cacdfd13976380b5688c91aa4f3d5480676a1726f028ca415
|
||||
MISC ChangeLog 2312 SHA256 e218e37aaf775da9e5e9cd4ebbff938ff8dd7873c2062669711af00bf7d7d8fb SHA512 91bb8dcab911dd23009ebe2a508d6e4f7e45a81a1560e11276ec51d7691218acd572b6e7b6f306ab08f0ea013d50dcb02aa9fda84d12c43e1a0e9654d8e0f96b WHIRLPOOL f1eb4bdcfb5ae9fbcb89e6ef464090263ba293fec1bc4697b95a7c1288b9e9d0f56321ea35bed66c456e7947c7a1a4bb8532e64eefdcf2d276157445e7c51515
|
||||
MISC ChangeLog-2015 6917 SHA256 f7c7fa848403f6c1732c8f0b0286d66a77d42c10f75373f144edb2e9a58ede05 SHA512 c665101e34cc5b28e1b4a93f1a18e63b89cf1190ac16b09b7401579e7f41c779fd92ea58eef3c6cbf1de76bf292ee98b99e580c35db84a364f816cec94f7164f WHIRLPOOL 9658f54b8d65f7b9d31d0a32c71458a51339dea644b373cce2c822658022bdd6824d342a5b2c4ee610bddce0ebe71dc82c2910d52d3f7157ceecc375aaf8611d
|
||||
MISC metadata.xml 249 SHA256 972c42ec9f3730fb23b55431b401eb1f11f591adec286b00e450db6cc21f6598 SHA512 0d8c241b69f1fe635f6deac0fb2471ce5db6123164d504d961de30863d52403f40e6191fe254c00464b749955746fa27af307c659ee64f3b85402843c8e9e03b WHIRLPOOL 8864fd73a9695e4e18c73fbe0e5e9cfa5ce00044210af65c4fd940d14d03b25aec317ab7c1eeb4aec2c7e882fde323682038481469cf920f3cedf442c4e82eff
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.textile TODO doc/text/*"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="po"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
MY_P="${P/ruby-/}"
|
||||
DESCRIPTION="Ruby/ActiveLDAP provides an activerecord inspired object oriented interface to LDAP"
|
||||
HOMEPAGE="https://github.com/activeldap/activeldap"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
# Most tests require a live LDAP server to run.
|
||||
RESTRICT="test"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>dev-ruby/activemodel-4.0.0:*
|
||||
dev-ruby/locale
|
||||
dev-ruby/ruby-gettext
|
||||
dev-ruby/gettext_i18n_rails
|
||||
|| ( >=dev-ruby/ruby-ldap-0.8.2 dev-ruby/ruby-net-ldap )"
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
dodoc doc/text/*
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md docs/*"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="a small fast library for reading dBase, xBase, Clipper and FoxPro
|
||||
database files"
|
||||
HOMEPAGE="https://github.com/infused/dbf"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
SRC_URI="https://github.com/guard/listen/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
DESCRIPTION="Listens to file modifications and notifies you about the changes"
|
||||
HOMEPAGE="https://github.com/guard/listen"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
# Block on other packages trying to install a /usr/bin/listen
|
||||
RDEPEND+="!!media-sound/listen !!media-radio/ax25 !!<dev-ruby/listen-2.8.6-r1:2"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/rb-inotify-0.9.0"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/thor )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm -f Gemfile || die
|
||||
sed -i -e "/git/,+3d" -e "/rb-fsevent/d" ${PN}.gemspec || die
|
||||
rm -rf spec/lib/listen/adapter/darwin_spec.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
mkdir spec/.fixtures || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
RSPEC_VERSION=3 ruby-ng_rspec
|
||||
rm -rf spec/.fixtures || die
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
DIST rjb-1.5.3.gem 73216 SHA256 e47da10ab3c784fb1a03929832d31ae850bac1c3b6fabc890e28cda79a48fa3f SHA512 fa18a810a938a70920825f79665730152c6e6b9f9fa97949bac6f4920bb2a9f2fd27ad31edd790757db4c06b33f3558a2a7584592a22692de07614c17d65130f WHIRLPOOL 3401d9400916971d5ea8acdcab0a5587f7ac44f52d0f0b951fba20b35d0b1a125a998d070ce35967f2fe62c7d8140fb904296f25cb1032571727b845bada0e37
|
||||
DIST rjb-1.5.4.gem 73216 SHA256 81df90c028dccd758e8b38c8b7d80620d23ebb5c355233b82c4cacfe85cb4851 SHA512 add7268f3320e4627b8b92103f420cd5be03319c54cdf0478980631ab57523ed9dd190f7a535b5bc9892d42b049712c18b406bacb36212f8cfb6ce5f3c74766d WHIRLPOOL bc0feabe46b63b4a1ccd0e2f88c72e24068737ba96ed3e52482921318e5fed8453a798bca5e5001eb815c4e74d3870f70343ce792764bef03f43350062214103
|
||||
EBUILD rjb-1.5.3.ebuild 2039 SHA256 cd341073f8f31bd00aa9045e8bba3d0bce0b2078c8e37e6007b70ede2f66ccf4 SHA512 897cea1f99bcd334d1378586db581e4561f06692155c9948a7405df91c5a850fffac1e451e57af202e8c9e3e2213b0a1fdf30ac951d719de0408dd86c0b11dbe WHIRLPOOL 606c87e16293965e5949f28fb2fd7d22caa7c3c1401dec224683dc95ac408975e1d7878f4cff71e4d82c88b076a059542692a170e8159b7eb3acaf72634926bd
|
||||
MISC ChangeLog 2321 SHA256 59df9e21cb21134c37e5e28fa703d5a3e491e10d6404b17b3024c7762ff79eec SHA512 538b24a5281200f62c5e599abf9f21d9e603e0230cc061f52d85d75acddf93fd7faf433e2d58485046e35bfb5fc2b8488b76d75d812e6e16485ac0a1dc8268e8 WHIRLPOOL 48683fa8ecef264d7c67bc03ce68ffebdc553b4cf43b3adbfcfa9bea4cd2909e0216694d06092031bf9aa4f0c04a283dc26c73575e1ef0d759a8368576a683f0
|
||||
EBUILD rjb-1.5.4.ebuild 2042 SHA256 2c11fdda16439154e024e4ab8cc3366c35b8e6823b2c1493ca16a8943dfe8092 SHA512 c21bb4535ffb3362b5e6b56ca0a17c0b0def0c1d7c891cc035334c523f64960e19ba50fe515260c000943d26d1f0eb0e584503853c5f5276745d6e33a4b182e9 WHIRLPOOL 837ce27f189bcb7860e6fd2e94857d8823044d4473dc78446a9cea0a8ed3049313e9d95a5a0f95bd69024f779516ad21cc8ba1861af9a5300770da58c2fefdd1
|
||||
MISC ChangeLog 2466 SHA256 f24e62bdf917dc154005c9f96e6534187b6b20725f7cee49e047faeed5292342 SHA512 d52b82a35e35963a57861a31f9208868d85cc88c24c42ad3c4f79ae72bf56c41b7f4867867f129e0f534eaade03060f2f6a8eded412776e80874d2a149a7b549 WHIRLPOOL e863b37f77d60939b0b634ef3ae1ff20318e2d5895797463db18e6c082a6ee09847575b42164d09d98031684f8e14a4a18a94cccc351532584979eaf20aed968
|
||||
MISC ChangeLog-2015 1099 SHA256 16de65c4ed42a462f77a3ba394af0278c549cd0463900570a3b1d9d2907bc8df SHA512 1a3c28dea726549163293ec09b9cf80cffd54bcb1893be4e8975ab3c0b5f0321cdaf48f182434aa9d18338657afcd130371467494a42da878d7b2bbc879c10e7 WHIRLPOOL 4a84cd5ee5fe7c12f9c937c7cfcecd4e72b776a3ed80e351ee24de34aafcde6937e698826b9eda48555f85a3a93f4f0d04ebceae3319bfea6610e487dc709fc0
|
||||
MISC metadata.xml 301 SHA256 7cb0c089d6ff12ddd8d091581079baafedd7df78551d54119852818435858b94 SHA512 d9d6d39b983de6ad548aded805e29f283d38e23e528d8a7026d8561a2467cb788c6b377d711ba0927e5213641a8bbf8968f941d3473b363d3e2e08eafb64eebb WHIRLPOOL 2bd9babaeb1e990c5d2b4ecae19e3c91b671249545988074df4723691e2c0815b95e1011202f861300bba8a8e8399b28acbc2826faf2e7ee16df158ce1f39397
|
||||
|
@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="readme.txt ChangeLog"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="data"
|
||||
|
||||
inherit java-pkg-2 ruby-ng ruby-fakegem
|
||||
|
||||
DESCRIPTION="Rjb is a Ruby-Java software bridge"
|
||||
HOMEPAGE="https://github.com/arton/rjb"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples hardened"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
hardened? ( sys-apps/paxctl )"
|
||||
RDEPEND="virtual/jre"
|
||||
|
||||
pkg_setup() {
|
||||
ruby-ng_pkg_setup
|
||||
java-pkg-2_pkg_setup
|
||||
}
|
||||
|
||||
all_ruby_prepare() {
|
||||
# The console is not available for testing.
|
||||
sed -i -e '/test_noarg_sinvoke/,/end/ s:^:#:' test/test.rb || die
|
||||
|
||||
# Avoid encoding tests since not all locales may be available.
|
||||
sed -i -e '/test_kjconv/,/^ end/ s:^:#:' test/test.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
#dev-lang/ruby might need the "hardened" flag to enforce the following:
|
||||
if use hardened; then
|
||||
paxctl -v /usr/bin/ruby 2>/dev/null | grep MPROTECT | grep disabled || ewarn '!!! rjb will only work if ruby is MPROTECT disabled\n please disable it if required using paxctl -m /usr/bin/ruby'
|
||||
fi
|
||||
# force compilation of class file for our JVM
|
||||
rm -rf data
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -C ext extconf.rb || die "extconf.rb failed"
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflags="${LDFLAGS}"
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
|
||||
# currently no elegant way to do this (bug #352765)
|
||||
ruby_fakegem_newins ext/rjbcore.so lib/rjbcore.so
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r samples
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
if use hardened; then
|
||||
paxctl -v ${RUBY} 2>/dev/null | grep MPROTECT | grep -q disabled
|
||||
if [ $? = 0 ]; then
|
||||
${RUBY} -C test -I../lib:.:../ext test.rb || die
|
||||
else
|
||||
ewarn "${RUBY} has MPROTECT enabled, rjb will not work until it is disabled, skipping tests."
|
||||
fi
|
||||
else
|
||||
${RUBY} -C test -I../lib:.:../ext test.rb || die
|
||||
fi
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils cmake-utils flag-o-matic
|
||||
|
||||
WEIRD_UPSREAM_VERSION=0.4
|
||||
|
||||
DESCRIPTION="find unused include directives in C/C++ programs"
|
||||
HOMEPAGE="http://include-what-you-use.org/"
|
||||
SRC_URI="http://include-what-you-use.org/downloads/${PN}-${WEIRD_UPSREAM_VERSION}.src.tar.gz -> ${P}.src.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND=">=sys-devel/llvm-3.6
|
||||
>=sys-devel/clang-3.6
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-ldflags -L$(llvm-config --libdir)
|
||||
|
||||
local mycmakeargs=(
|
||||
-DLLVM_PATH=$(llvm-config --libdir)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,7 +1,6 @@
|
||||
DIST kdbg-2.5.4.tar.gz 408683 SHA256 82a9ac163311319ae83002b7f250eac02fd4be176d037519adc38e107caaa6e5 SHA512 4855d8aada59dd201b24d8640d597dddef710efccf5caf450e9119bd5a01de5e1d62ccbfecb385f6a5b78fb6d761ead153c963cc882246e742e58db51e4d59ae WHIRLPOOL ecb99ee2a830008e56c8eccf264e2decdc548cb2bc0e06f831dcdfc885c6b3f186abe6c88240b3545c0cc6b79f9e18a9287f033675fcf184affcc0a8e7ec8f13
|
||||
AUX kdbg-2.5.5-cmake34.patch 336 SHA256 c8758015a4c3ad4d7441819e8eaad985ece8e91fa7f52a062961e4006cce1a7f SHA512 e422825d9978a5640e01cd66c9dcd096d2d0ec03ead1aa4abef878cbfa1fa6701a4503d4ebfc1569767cbfac07e4bb604152032e89d69fe91cccb5255bdf2c3c WHIRLPOOL 4e4b052e17edc3f793dc1f6a7813f629aa4c55fc2bac7fd7e4078909aa990e30d373e5d01e07727863537fc0d3dc7c1c5648d18a3370196ed35e15ccf38ff3f8
|
||||
DIST kdbg-2.5.5.tar.gz 417327 SHA256 983e4c89258d752f42449e2d257c9e40352b516328132ca5b0b1991b91878879 SHA512 f855063c0ea55a624ced3d6ff52466bc7240e2b79d76b43d73d224348f1b7c179fd1d53391e0e7039a2222659b7d6c3aba9f423f565b073073d636c28cc323f6 WHIRLPOOL 2fc9f7d092e3584216701bee57b11982c0ab4047090de3e43d1136ac5b8dd86e39a12db7f89e6664adf4e477cecdc4217421161c1458b75d5ff65180b8b89108
|
||||
EBUILD kdbg-2.5.4.ebuild 913 SHA256 070d8cedbedf8300ec60589d75aa14b1ddf4995fd8e351ce8bcd2a8b5216fde8 SHA512 1c3b05667386fcaa1eb19be45edadb2534f795bcd89a70e2ed3efe0acf2ce927d691545a171eb8e44455c6800a14ae2057988737f86ff97e1f22771a73e7f4fd WHIRLPOOL 2768cac81424ae52aab901176d43106310586001153a12af474104ee52fa00a8f630ced5fd062d397d745276483fa2ebbd1ed5652efed5ce759c749243c0d1cc
|
||||
EBUILD kdbg-2.5.5.ebuild 912 SHA256 7e06c9ffc7b95dd44aaab7a8401434ea66cb03ae1bc0e4e004c12ad29c39dcad SHA512 a15a41796c41468b8effe1ef097b4ba2ccfd068dc07c5cbe160fbdae65078b5a980094fedef87f18e44884bc172f6115f0bd2ae7444d9c63f5c7b26164e8d6b0 WHIRLPOOL a9273a202929dec9eb13bd8570fe985c0a92921d215cd55be59054d76be6b3c44af6f295b269b79cf649d5905c875e89a1aab52ef578a341892910963fa4c90c
|
||||
MISC ChangeLog 2087 SHA256 8a1edca836b35fc0111f4bf83175e82d96cc1761eff5c53e832b34ef02d0171f SHA512 91e34acbe411a06854e4f2b51edd91a20cc82b7160a67ba35c6ab95ec91ddb759dea728ad33f51cf7b6c48bcd1026bba5b4a45b72e58c179da8628c11e925b49 WHIRLPOOL 3ca335ba80d61f95b6d2267cf087c9ca4ff8953f5e406fd3a2d32a04fdd06cd3325ab5c5f7b2cfe56088bd4748d1897f634f96cc69508ee1d44b4c8c6042b32d
|
||||
EBUILD kdbg-2.5.5.ebuild 957 SHA256 5c261e7109955591485738a988a49de0d0ef91db5be6045dff352aafecc878b9 SHA512 49a49dcfa472cea70733423938fb8b40f16d8d19e6f557b18570aa9b9b2e429b5429284deb09de9aaefb39b9101a537a75bdfe5c022d55d888c9a64fc2cf1c15 WHIRLPOOL cfff3f81a537383e639477cfe48fabcddb5f9bf8a099684768e6153d6e92e2afc19f7d6a45c2e2801128aec58ec18a1e5ec72f690e7cd545a600f0ce35739b0e
|
||||
MISC ChangeLog 2441 SHA256 53d4f15fa7aefdbdf5cccd2ff284880789f272de8346086c82502d00d9e5ade5 SHA512 261d7d789bde2071c302fb7b919375312c88ef3bd0edd54260dde0fc8455f45bfd1ae5c7fc8126b5b9ebd9f9affdef56dd9dc775541df894e2f69568a761bbf7 WHIRLPOOL c33df294128b948260b9dca7ae9de6ff3df23d241a1bd1c2710fc7d25379f2a32c5e8a68da50c08360aaf7c742ef17e207da2e9667d4e0df619d6812263be1c7
|
||||
MISC ChangeLog-2015 1503 SHA256 01c9be16c918b41e60f7c29fc69821aef1f854d7f975ce1cdcbe208575dc0113 SHA512 2984a378cfd66ecaec046aa0dc1cba62160aa3f15cf25a9a287a9e4dec84b1ae969b22979607866c7b001ea38b6e6edc714d8461abcd5bbe0e0e04a7ddc415de WHIRLPOOL 1991a5eb5cab0b62359fa203929698d9660c0bb7aa24ae315f9816f1682725e94ec3f29f218655e066ad65413aab59a79ecd285c5ba556295acb71b7e8f0d1f6
|
||||
MISC metadata.xml 231 SHA256 6a65f696cc36597bf06dacf9851a78affd23e301f047af20d3dca658efeeb33a SHA512 10b0267c88c14d5a24278a689f6cf44ebd7e2d00229fa45c24b8caffbde752e05bb4c457fef3be0fd9c7f112be9ce9fd1aa27bc63edbca0cae660c418fbea075 WHIRLPOOL 4223d3afc64381ab8cabb9aaa8dc22f5c42360ce0cf0445f8f4093248716d0eecaabb42e556362a584b7024d32f64d2cdcd6825a2054fb4f0e126f44f592ea14
|
||||
|
@ -0,0 +1,14 @@
|
||||
Fixes build with cmake-3.4.
|
||||
|
||||
Gentoo-bug: 567090
|
||||
|
||||
--- kdbg/CMakeLists.txt
|
||||
+++ kdbg/CMakeLists.txt
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
include_directories(${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
|
||||
include(CheckFunctionExists)
|
||||
+include(CheckIncludeFiles)
|
||||
|
||||
CHECK_INCLUDE_FILES(pty.h HAVE_PTY_H)
|
||||
CHECK_INCLUDE_FILES(libutil.h HAVE_LIBUTIL_H)
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_LINGUAS="cs da de es fr hr hu it ja nb nn pl pt ro ru sk sr sv tr zh_CN"
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="A graphical debugger interface"
|
||||
HOMEPAGE="http://www.kdbg.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="sys-devel/gdb"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( BUGS README ReleaseNotes-${PV} TODO )
|
||||
|
||||
src_prepare() {
|
||||
# allow documentation to be handled by eclass
|
||||
mv kdbg/doc . || die
|
||||
sed -i -e '/add_subdirectory(doc)/d' kdbg/CMakeLists.txt || die
|
||||
echo "add_subdirectory ( doc ) " >> CMakeLists.txt || die
|
||||
kde4-base_src_prepare
|
||||
}
|
||||
|
||||
ssrc_install() {
|
||||
kde4-base_src_install
|
||||
|
||||
# hack since ChangeLog-* is automagically installed by eclass
|
||||
rm -f "${ED}"usr/share/doc/${PF}/ChangeLog-pre*
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2 versionator
|
||||
|
||||
MY_P="${PN}-$(replace_all_version_separators '-')"
|
||||
DESCRIPTION="A Java data mining package"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
|
||||
HOMEPAGE="http://www.cs.waikato.ac.nz/ml/weka/"
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip
|
||||
>=dev-java/javacup-0.11a_beta20060608:0"
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
>=dev-java/javacup-0.11a_beta20060608:0
|
||||
svm? ( sci-libs/libsvm:0[java] )"
|
||||
IUSE="svm"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
EANT_BUILD_TARGET="exejar"
|
||||
EANT_DOC_TARGET="docs"
|
||||
JAVA_ANT_IGNORE_SYSTEM_CLASSES="true"
|
||||
|
||||
weka_get_max_memory() {
|
||||
if use amd64; then
|
||||
echo 512m
|
||||
else
|
||||
echo 256m
|
||||
fi
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
unzip -qq "${PN}-src.jar" -d . || die "Failed to unpack the source"
|
||||
rm -v *.jar lib/*.jar || die
|
||||
rm -rf doc || die
|
||||
java-pkg_jar-from --into lib javacup
|
||||
epatch "${FILESDIR}"/${P}-build.xml.patch
|
||||
sed -i -e "s/256m/$(weka_get_max_memory)/g" build.xml || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar dist/${PN}.jar
|
||||
java-pkg_dolauncher weka --main "${PN}.gui.GUIChooser"
|
||||
|
||||
# Really need a virtual to list all available drivers and pull the ones
|
||||
# instaled
|
||||
java-pkg_register-optional-dependency hsqldb,jdbc-mysql,mckoi-1
|
||||
use svm && java-pkg_register-dependency libsvm
|
||||
|
||||
use source && java-pkg_dosrc src/main/java/weka/
|
||||
|
||||
dodoc README || die
|
||||
if use doc; then
|
||||
java-pkg_dojavadoc doc/
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins WekaManual.pdf || die
|
||||
fi
|
||||
|
||||
dodir /usr/share/${PN}/data/
|
||||
insinto /usr/share/${PN}/data/
|
||||
doins data/*
|
||||
|
||||
newicon "${S}/weka.gif" "${PN}".png
|
||||
make_desktop_entry "${PN}" "Waikato Environment for Knowledge Analysis" "${PN}" "Education;Science;ArtificialIntelligence;" "Comment=Start Weka"
|
||||
}
|
@ -1,10 +1,12 @@
|
||||
AUX desmume-fix-function-type.patch 677 SHA256 e2ce07fc99ebcb51c749269c08fd88a6db7cae336cc8ea9b8c2af86de30b567d SHA512 2601a9b159ab9c03e38fb6d66635c8f4e1266100d4c29c46785c07346c584d795ffc20d076cf9bbfff505d7a388df8865fe9841d2456198d6e9a99c4695a7a58 WHIRLPOOL 00e8c590ea5360ac2257ca16cce7bc036ca9148f2bdd6d9e75c1234cbbf53fcda1c1a5d81f2b3966dcc84bf6ff718d898498d7a8791a4b19cae0f3c20e269610
|
||||
DIST desmume-0.9.10.tar.gz 4141586 SHA256 8900a7a1fc849fdd33b014748dd97a6cda4c32548b8d2e06511e6ed8d5ba7445 SHA512 a9151f1d8b08ce64a837ae2447221f5c0003286d4c75b9416d5f151627755aafb09a5120c39b8ee39a04b99d9e8c49ac7dcc0ccd083507aab7e4801269468012 WHIRLPOOL e924adf532db2b10691cb01640f1dbf54045b0dbe6c5daf59c0150a2b254c86cd8d384bc364fdb756168599319a1ef81ce751f09cd5d5e5b79980fb26b9a4e72
|
||||
DIST desmume-0.9.11.tar.gz 5359305 SHA256 3ab34ba6cc009566245025c1dd94bf449b6a1b416d24387cb42e183c78e38896 SHA512 160cb6ec0ede04ad1fbddde2b7b04aa41fa464c8338d7eb9d7536196a82d8d716889b40be4fb831a22e3fe8532b947f7f0b41311601b6842be2516dff7cae46c WHIRLPOOL 71736765288f4e01424a56a65b17efa090cceeaa30bdf759b0f05638c01546b712762444122bb4531a6b5ad88e2f39ac6013d06702109a0d1ef29559d1f16cde
|
||||
DIST desmume-0.9.8.tar.gz 3677290 SHA256 78363468a2d5efba95de57739a9c81a3757ecd76c2a183ec68336e30d47a5e01 SHA512 b739292f1327ec83b1afcb1c6db45365cf0977fb571256b637a7c6f1c1e57add5b9c0f34820f020c1788c481cbf15755a034e69f14fbf92e3c31dc01594171dd WHIRLPOOL 0bd50d135aad85652dc233c69c94607400820682d60d7bc35b0e1366d7b6fee1fac9f7091074c21940a80826b50bccc8f14ba0e3770687b54b4d30323c8cf84d
|
||||
DIST desmume-0.9.9.tar.gz 4107513 SHA256 cd2ad70cdde1236eba5a4ff8cea838f42b7dc470e32ac938263f49f12a55d754 SHA512 ba5a965102559f048cd57718b4c50e6b2bd39eca4a5990e4cdf068bfa752fccb52d71911ea48da769c5ec18bb740f6b09e6c856ccc78b1e1adf23fd701d1fe31 WHIRLPOOL 055594100216e4ffd046119716e9acc018e7631f96f2be4e830495f88462382180c3955841bfcc3ec494227a606bc820820342907e2b1b2b61a8a65f9b1949b4
|
||||
EBUILD desmume-0.9.10.ebuild 737 SHA256 f9e04d504b499733e6023c917a0b117b7dcd426103de2bb3be483ef52ab94ebe SHA512 8cb80eaa45e5aa786d09bd2f159077677bbef6e1e2d538216e43d0593667697fd49246c88268cb8085882072703f3c0df8349d6bb86e5bc4a9f35ae480f4d805 WHIRLPOOL f42bcf35e082a578ab8081b1636114e5ba5acb1f7cff07894902f21a92c8a2eb870dc6a85f2c6d7d35969a581611ed578af9c04e17be61bcdb48211ec1e1927e
|
||||
EBUILD desmume-0.9.11.ebuild 679 SHA256 f1232f67d8aae9868f006fb0ee435145e050403df12a7c81a92070fd8c143000 SHA512 4d7355b0dbd5b8623cca9b62f681ff1bef38bc964d62f1ea7119c52a853b3645c62b11631b5ebaa180872ead1c085a557626bbe4da2de407632237693f17321f WHIRLPOOL 1592e5b74069f4fa13da8226710fa7ceafc9972f682125cd832f67880f4398c2abf631341579cc8c4313c49ea3010688808df8d1fd6f25341fdae82cf754d4cc
|
||||
EBUILD desmume-0.9.8.ebuild 715 SHA256 0e3d6797cd677dfad82593ca57d2fb45184638374029a4aa4319e04750e812ec SHA512 847c72ab8a3bf2f97a0cbbf79ed206f2b90129abb353cad66c7d820867e5b795191be33cdbac97ebf27acce0fdb3a187acbdc14a2d9d4b77f09ba662a83e2e39 WHIRLPOOL 67cc883086f80ad4d17c5c2b05c915fb9179cc27d77c708dbe0f658ce7d3df4eb7927c2d7a2bb00c2e78a85c85dfb41d330799cbfad30a0fa7770b29dedf7c9e
|
||||
EBUILD desmume-0.9.9.ebuild 715 SHA256 05028e3c3e195d499d77857a59170ad1908f8bd5273863a6d2e223948e0b9f85 SHA512 437613f7d49dd96e4956d265ab13141c80db56de05b244d9f4fe213aea66ee4e75c9ca200f1d42ee05dbbadd32c06bcbb92bf21e0bae1dc5bd4bf2dd54e9773e WHIRLPOOL 260ab4b8da9f7fee5280fc2db5e2fdf2d08085199a44a62949ae6abb584fde008fca7894b510496a1f8f86a0443b087bf6446a7ead7f0a24e31b3de73f191157
|
||||
MISC ChangeLog 2205 SHA256 e54c0d3e715086e5cad0828c877bfe6e7a80c35c843429853bdefa7e7f178775 SHA512 dcdb7f86eeee5bb14fb8c6994833512ab72a1d35fcd446a209be5f54f5fc0fde9dca9c4d9af4b0dd62d8ba217109e812ec7f27e15c7fc45b788b334b5659d292 WHIRLPOOL 97cd0a1c460586c975ab446b59af4b860a0891538e11985c9889d63d255705af7a3f5edb05fb112f20beef2d9787fa7f1014c1722567108de0116214c4cc530f
|
||||
MISC ChangeLog 2382 SHA256 9648016bfdd31175f9ba4044fbb71e4a8f6bcf11c35d33c4466c5cae8f96406c SHA512 bcbac55418c907247690d1461c69cfd3eabc36a9bf2d1b510caa2eccf52a281738f79fc8235a216ed89598b2a65085172630dbe0a1e20ad0353188dc83ea7df7 WHIRLPOOL 888bbc94163b5be60c6980916e7b4c641c20343f5671dc3ffd411635573589c74137ce1742992956fea621aa8ed3dc620f6b99a5e00f22465ea973bf2c6e04ef
|
||||
MISC ChangeLog-2015 3634 SHA256 7721d972e92bfd9d0cc3415783465b787cb88fadbfe0d9db06155bf6eddaf8ae SHA512 ffc27a1f94d6eb655fb411bf937230ff5bc63d472f70aaf5175ef9559828085b2c0c1347ed9e2f0963ab1595734ad1480fc3dc1d14a1a4ece82d27a9e3ef3ff6 WHIRLPOOL 887288fa2031064f70ea72de31a3c793b75aebb72a4619256ead678186242343d075124edc6f626f49f5e462d00a50b2adbc747ddbb716804f95e3a8019b879c
|
||||
MISC metadata.xml 299 SHA256 3bec029ae1d2ba831a4c4b58be217770ac2a8589f2a4f1ae60f56421301ccc76 SHA512 2fbd2b15613f131ed876540a8cca2dbd7d964ad30fb9730f3bf62656b7b32f03c2e79028d0e042e66701d65682542fcaff065f097ebba1f80e881d35f81aaab2 WHIRLPOOL d44db3c20de48bb579a4db16495236809ad5cac59f371a6066e9b71639bc734237f4fa5ca670f583c468bb8a9e601528c157c98117729041f18aa04719f76101
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit games
|
||||
|
||||
DESCRIPTION="Nintendo DS emulator"
|
||||
HOMEPAGE="http://desmume.org/"
|
||||
SRC_URI="mirror://sourceforge/desmume/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=x11-libs/gtk+-2.8.0:2
|
||||
gnome-base/libglade
|
||||
x11-libs/gtkglext
|
||||
virtual/opengl
|
||||
sys-libs/zlib
|
||||
dev-libs/zziplib
|
||||
media-libs/libsdl[joystick,opengl,video]
|
||||
x11-libs/agg"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
egamesconf --datadir=/usr/share
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DOCS="AUTHORS ChangeLog README README.LIN" \
|
||||
default
|
||||
prepgamesdirs
|
||||
}
|
@ -1,6 +1,8 @@
|
||||
AUX lolcat-42.1.0-paint.patch 428 SHA256 0f46482d45997234311eee1938e69da1ea5585f6a5aeaae986727821f78a2ff1 SHA512 09ae621002c5fc10d0a562291e64fa599d7789a6f5f187771532a8ab90bfd946ae5a5621919e766603e7da0a882a15780cab91215ece967b26fcbf2431a1f214 WHIRLPOOL a5ac59674aa7773f4dcd5056d6b5e4f976055ab6dcff8ee0b555469a9db531bc1c5550a1b021c63bdd0026ff3b21317efc71de35e2207d9a94433f5ec1b572eb
|
||||
DIST lolcat-42.1.0.gem 205312 SHA256 ecf19c507f1e4df8436678b3ba1fdd24d686b23d1a87da1238afa192e679e0ca SHA512 b0c8f7122317b31efbf81a2023dded8a6c27ad17539b88c882af99983d377c308862d7ee4be85e891c2aca0bee25ac6d2ef3bf536b88d7db18d11176d3245b83 WHIRLPOOL 070e94fa38ced5b554a103b166f9694c75afe2dfa5ffe7a65f3bb62895638cb5c7a825290f2ca99a59e57a1017df79441cb24c2e23373ee90abbae6c0e8dc9a1
|
||||
DIST lolcat-42.1.43.gem 205312 SHA256 98cb63bb018b5b56dc29009e7e8288ed66b7f7e34edb78e4cc9c9169998e019c SHA512 eaea5637655bb2571025a9b33fc40c13aa1e7a4e782f6b9cd217bfd19f19e497228cea23988913183968a23564cae8f07e488ac413f8c5b27e5b50ce9a58e0ce WHIRLPOOL 3bf334d2d0943cd58ce2419b196167fe3661c65f98f9e0cca1361350f0a20831c1955c113fbb8e652fe369196e382122bb5dc9de6d033705c36dab71b4abd572
|
||||
EBUILD lolcat-42.1.0.ebuild 566 SHA256 7a248bbe3579765fd63f396810307ebb2183701d617c18d0709e4912ce240ffc SHA512 245c1702b825a807e4920b1f12274793624117790fe450dbd7976fdd6c53c51e79bedb9dfc77af390ece02aabea910c82e3e5b91472e3620c8cf887be8fbfc6e WHIRLPOOL 4c898b65c09b792becf892ffdd3df019775cec6574287c7cfdd919e0c63115d1af3aa2742da1b6fcc82149089bd6953cd896094069a5dc111e9897cbf6494349
|
||||
MISC ChangeLog 2085 SHA256 a0b0b47857088db0faeff4428646c4eb06c4375d802cd3b2983cd5febe6c9a99 SHA512 3f8710a19f561ec092de1ae0533662b58ac1ca783fac82cb2f5834f34039430aa210557bfc9a8c53888d6b0b5e8b72510f4e228ea2e64ff80cee12cef6b0411e WHIRLPOOL 8f5283cd5a130040637c0b6751bcadfea7d94c243ffb7b8175204055fac3db367263dc5ddd01e89dcd9ba051c6b66f9beffbd819a8bf30e367cf7e65874a131c
|
||||
EBUILD lolcat-42.1.43.ebuild 519 SHA256 606c229de52a24b6b6942fdd1a6873ff2604929e9d496ef2b146a4ea9b80a1fb SHA512 eaab67d14dc78569cb644b8363bcce980e75e57dd7889039dcd096d51a4259d00369b5b00bbc25e7d01169f1de0a24973de51fe886a0958363068ed0e8438e50 WHIRLPOOL c618dac025fbd65f09a832514897b642b9bd1169e7a02af7e1794183ed401f105d0c0c2b96984d55d36b7dd29f0dad6efd3d9a732335cff6e2ff22ef6f7e9952
|
||||
MISC ChangeLog 2248 SHA256 147f2b1c0b70670d5bfc4122417a7372e3719e07e5039ddef7ea9de9f6125064 SHA512 a7024a0e127bda0ca418691d8df18f933bafadfd1ca5ee8b5c7bbaba783d51644553fd9e65fed3239e4608c1ffbb0b527f4f9c595d64e906d0bef880867d4844 WHIRLPOOL d1122d9c3950b90b91d6f81aefc16162476afc26696033aba65ef184d63a7363ef3fe516a2977379dbb7ac8e3d3583a7749653072f65751a3a5fa967ee8e8ea6
|
||||
MISC ChangeLog-2015 1763 SHA256 15d15fe252470b3868808d9456c0f7ecea2239323d6a3b8f0901fed351e38512 SHA512 22d78b7b5ece8b90cee04d0bd96d1fc56999178dc6659c7e86781cb40a33860863e7a6d2201a41c41b5830d072cd269b2b6bfb1aacbf50574438e44daa7ff4b1 WHIRLPOOL 6e78b603f1d7fcf00e7d14cb72746a26cf084b1270a95d6516444797b7b5bf48fcda76dae8362882b77f281cc3bc8dd68cace83a49eb299bf767e2cefeb28405
|
||||
MISC metadata.xml 239 SHA256 2d35a4ad6f89c2b2e43ded1af291bd14cbc77d36857cee7d27d1693e2e94c0f7 SHA512 7663a73a82f922fd5f7a8399f87a70e48220d749fd497b6f23536dc728ad3b43f2f4af12b3f97054bdd5811f416d72b3ef46da0945c2c6f36e9d48c93dc2d4c5 WHIRLPOOL f581af9902ad285995e2e70eed426163901dc732bf3b329787c4bc372c0ee3427d86387c2dc609d26768ea5261a2bd61535f7fbb811b9fa11af6c1d4fb943a78
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
RUBY_FAKEGEM_GEMSPEC="lolcat.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Rainbows and unicorns!"
|
||||
HOMEPAGE="https://github.com/busyloop/lolcat"
|
||||
|
||||
LICENSE="WTFPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="dev-vcs/git"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/trollop-2.1.2:2
|
||||
>=dev-ruby/paint-1.0"
|
@ -0,0 +1,373 @@
|
||||
|
||||
COPYRIGHT
|
||||
|
||||
Unless otherwise specified, the DCMTK software package has the following
|
||||
copyright:
|
||||
|
||||
/*
|
||||
* Copyright (C) 1994-2011, OFFIS e.V.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This software and supporting documentation were developed by
|
||||
*
|
||||
* OFFIS e.V.
|
||||
* R&D Division Health
|
||||
* Escherweg 2
|
||||
* 26121 Oldenburg, Germany
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* - Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* - Neither the name of OFFIS nor the names of its contributors may be
|
||||
* used to endorse or promote products derived from this software
|
||||
* without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
* HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*/
|
||||
|
||||
Please note that some DCMTK modules, especially those that are not part
|
||||
of the free toolkit, are covered by a separate license which can be found
|
||||
in the COPYRIGHT file in the corresponding module directory.
|
||||
|
||||
Some portions of the DCMTK software package are derived from earlier
|
||||
versions of this software with the following copyright, and can be
|
||||
identified by the following copyright notice located in each source file:
|
||||
|
||||
/*
|
||||
* Copyright (C) 1993/1994, OFFIS, Oldenburg University and CERIUM
|
||||
*
|
||||
* This software and supporting documentation were
|
||||
* developed by
|
||||
*
|
||||
* Institut OFFIS
|
||||
* Bereich Kommunikationssysteme
|
||||
* Westerstr. 10-12
|
||||
* 26121 Oldenburg, Germany
|
||||
*
|
||||
* Fachbereich Informatik
|
||||
* Abteilung Prozessinformatik
|
||||
* Carl von Ossietzky Universitaet Oldenburg
|
||||
* Ammerlaender Heerstr. 114-118
|
||||
* 26111 Oldenburg, Germany
|
||||
*
|
||||
* CERIUM
|
||||
* Laboratoire SIM
|
||||
* Faculte de Medecine
|
||||
* 2 Avenue du Pr. Leon Bernard
|
||||
* 35043 Rennes Cedex, France
|
||||
*
|
||||
* for CEN/TC251/WG4 as a contribution to the Radiological
|
||||
* Society of North America (RSNA) 1993 Digital Imaging and
|
||||
* Communications in Medicine (DICOM) Demonstration.
|
||||
*
|
||||
* THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND NEITHER OFFIS,
|
||||
* OLDENBURG UNIVERSITY NOR CERIUM MAKE ANY WARRANTY REGARDING
|
||||
* THE SOFTWARE, ITS PERFORMANCE, ITS MERCHANTABILITY OR
|
||||
* FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER
|
||||
* DISEASES OR ITS CONFORMITY TO ANY SPECIFICATION. THE
|
||||
* ENTIRE RISK AS TO QUALITY AND PERFORMANCE OF THE SOFTWARE
|
||||
* IS WITH THE USER.
|
||||
*
|
||||
* Copyright of the software and supporting documentation
|
||||
* is, unless otherwise stated, jointly owned by OFFIS,
|
||||
* Oldenburg University and CERIUM and free access is hereby
|
||||
* granted as a license to use this software, copy this
|
||||
* software and prepare derivative works based upon this
|
||||
* software. However, any distribution of this software
|
||||
* source code or supporting documentation or derivative
|
||||
* works (source code and supporting documentation) must
|
||||
* include the three paragraphs of this copyright notice.
|
||||
*
|
||||
*/
|
||||
|
||||
Some other parts of this software within the dcmtk/dcmnet sub-package
|
||||
related to the DICOM Upper Layer Protocol are derived from software
|
||||
developed for the RSNA'93 DICOM demonstration and kindly made available
|
||||
to us by the Mallinckrodt Institute of Radiology. Such software can be
|
||||
identified by the following copyright notice located in each affected
|
||||
source file:
|
||||
|
||||
/*
|
||||
* Copyright (C) 1993, RSNA and Washington University
|
||||
*
|
||||
* The software and supporting documentation for the Radiological
|
||||
* Society of North America (RSNA) 1993 Digital Imaging and
|
||||
* Communications in Medicine (DICOM) Demonstration were developed
|
||||
* at the
|
||||
* Electronic Radiology Laboratory
|
||||
* Mallinckrodt Institute of Radiology
|
||||
* Washington University School of Medicine
|
||||
* 510 S. Kingshighway Blvd.
|
||||
* St. Louis, MO 63110
|
||||
* as part of the 1993 DICOM Central Test Node project for, and
|
||||
* under contract with, the Radiological Society of North America.
|
||||
*
|
||||
* THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND NEITHER RSNA NOR
|
||||
* WASHINGTON UNIVERSITY MAKE ANY WARRANTY ABOUT THE SOFTWARE, ITS
|
||||
* PERFORMANCE, ITS MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR
|
||||
* USE, FREEDOM FROM ANY COMPUTER DISEASES OR ITS CONFORMITY TO ANY
|
||||
* SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND PERFORMANCE OF
|
||||
* THE SOFTWARE IS WITH THE USER.
|
||||
*
|
||||
* Copyright of the software and supporting documentation is
|
||||
* jointly owned by RSNA and Washington University, and free access
|
||||
* is hereby granted as a license to use this software, copy this
|
||||
* software and prepare derivative works based upon this software.
|
||||
* However, any distribution of this software source code or
|
||||
* supporting documentation or derivative works (source code and
|
||||
* supporting documentation) must include the three paragraphs of
|
||||
* the copyright notice.
|
||||
*/
|
||||
|
||||
The dcmjpeg sub-package includes an adapted version of the Independent
|
||||
JPEG Group Toolkit Version 6b, which is contained in dcmjpeg/libijg8,
|
||||
dcmjpeg/libijg12 and dcmjpeg/libijg16. This toolkit is covered by the
|
||||
following copyright. The original README file for the Independent JPEG
|
||||
Group Toolkit is located in dcmjpeg/docs/ijg_readme.txt.
|
||||
|
||||
/*
|
||||
* The authors make NO WARRANTY or representation, either express or implied,
|
||||
* with respect to this software, its quality, accuracy, merchantability, or
|
||||
* fitness for a particular purpose. This software is provided "AS IS", and you,
|
||||
* its user, assume the entire risk as to its quality and accuracy.
|
||||
*
|
||||
* This software is copyright (C) 1991-1998, Thomas G. Lane.
|
||||
* All Rights Reserved except as specified below.
|
||||
*
|
||||
* Permission is hereby granted to use, copy, modify, and distribute this
|
||||
* software (or portions thereof) for any purpose, without fee, subject to these
|
||||
* conditions:
|
||||
* (1) If any part of the source code for this software is distributed, then this
|
||||
* README file must be included, with this copyright and no-warranty notice
|
||||
* unaltered; and any additions, deletions, or changes to the original files
|
||||
* must be clearly indicated in accompanying documentation.
|
||||
* (2) If only executable code is distributed, then the accompanying
|
||||
* documentation must state that "this software is based in part on the work of
|
||||
* the Independent JPEG Group".
|
||||
* (3) Permission for use of this software is granted only if the user accepts
|
||||
* full responsibility for any undesirable consequences; the authors accept
|
||||
* NO LIABILITY for damages of any kind.
|
||||
*
|
||||
* These conditions apply to any software derived from or based on the IJG code,
|
||||
* not just to the unmodified library. If you use our work, you ought to
|
||||
* acknowledge us.
|
||||
*
|
||||
* Permission is NOT granted for the use of any IJG author's name or company name
|
||||
* in advertising or publicity relating to this software or products derived from
|
||||
* it. This software may be referred to only as "the Independent JPEG Group's
|
||||
* software".
|
||||
*
|
||||
* We specifically permit and encourage the use of this software as the basis of
|
||||
* commercial products, provided that all warranty or liability claims are
|
||||
* assumed by the product vendor.
|
||||
*/
|
||||
|
||||
The code for the interpolatePixel() image scaling algorithm in module
|
||||
dcmimgle has been derived from code written by Jef Poskanzer for the
|
||||
"Extended Portable Bitmap Toolkit" (pbmplus10dec91) which has the
|
||||
following copyright:
|
||||
|
||||
/*
|
||||
* Copyright (C) 1991 by Jef Poskanzer.
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software and its
|
||||
* documentation for any purpose and without fee is hereby granted, provided
|
||||
* that the above copyright notice appear in all copies and that both that
|
||||
* copyright notice and this permission notice appear in supporting
|
||||
* documentation. This software is provided "as is" without express or
|
||||
* implied warranty.
|
||||
*/
|
||||
|
||||
The color quantization code in module dcmimage (dcmquant and the related
|
||||
classes) has been derived from code written by Jef Poskanzer for the
|
||||
NetPBM toolkit which has the following copyright:
|
||||
|
||||
/*
|
||||
* Copyright (C) 1989, 1991 by Jef Poskanzer.
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software and its
|
||||
* documentation for any purpose and without fee is hereby granted, provided
|
||||
* that the above copyright notice appear in all copies and that both that
|
||||
* copyright notice and this permission notice appear in supporting
|
||||
* documentation. This software is provided "as is" without express or
|
||||
* implied warranty.
|
||||
*/
|
||||
|
||||
The code for the OFStandard::strlcpy and OFStandard::strlcat helper
|
||||
functions in ofstd/libsrc/ofstd.cc has been derived from the BSD
|
||||
implementation of strlcpy() and strlcat() and which carries the
|
||||
following copyright notice:
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998 Todd C. Miller <Todd.Miller(at)courtesan.com>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
The code for the OFStandard::atof helper function in ofstd/libsrc/ofstd.cc
|
||||
has been derived from an implementation which carries the following
|
||||
copyright notice:
|
||||
|
||||
/*
|
||||
* Copyright 1988 Regents of the University of California
|
||||
* Permission to use, copy, modify, and distribute this software and
|
||||
* its documentation for any purpose and without fee is hereby granted,
|
||||
* provided that the above copyright notice appear in all copies. The
|
||||
* University of California makes no representations about the
|
||||
* suitability of this software for any purpose. It is provided "as
|
||||
* is" without express or implied warranty.
|
||||
*
|
||||
*
|
||||
* The code for OFStandard::ftoa has been derived
|
||||
* from an implementation which carries the following copyright notice:
|
||||
*
|
||||
* Copyright (c) 1988 Regents of the University of California.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms are permitted
|
||||
* provided that the above copyright notice and this paragraph are
|
||||
* duplicated in all such forms and that any documentation,
|
||||
* advertising materials, and other materials related to such
|
||||
* distribution and use acknowledge that the software was developed
|
||||
* by the University of California, Berkeley. The name of the
|
||||
* University may not be used to endorse or promote products derived
|
||||
* from this software without specific prior written permission.
|
||||
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*/
|
||||
|
||||
The "Base64" encoder/decoder in ofstd/libsrc/ofstd.cc has been derived
|
||||
from an implementation which carries the following copyright notice:
|
||||
|
||||
/*
|
||||
* Copyright (c) 1999, Bob Withers - bwit(at)pobox.com
|
||||
*
|
||||
* This code may be freely used for any purpose, either personal or commercial,
|
||||
* provided the authors copyright notice remains intact.
|
||||
*/
|
||||
|
||||
The oflog sub-package is based on the log4cplus library which is covered by
|
||||
the following two copyright notices (for details see oflog/docs/LICENSE):
|
||||
|
||||
/*
|
||||
* Copyright (C) 1999-2009 Contributors to log4cplus project.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modifica-
|
||||
* tion, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice,
|
||||
* this list of conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
* this list of conditions and the following disclaimer in the documentation
|
||||
* and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
|
||||
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
|
||||
* DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*/
|
||||
|
||||
// Module: Log4CPLUS
|
||||
// File: appender.h
|
||||
// Created: 6/2001
|
||||
// Author: Tad E. Smith
|
||||
//
|
||||
//
|
||||
// Copyright 2001-2009 Tad E. Smith
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
The dcmjpls sub-package is based on the CharLS library, which is contained
|
||||
in dcmjpls/libcharls. This toolkit is covered by the following copyright:
|
||||
|
||||
/*
|
||||
* The CharLS library is available under the following license:
|
||||
* -------------------------------------------------------------------------------
|
||||
* Copyright (c) 2007-2010, Jan de Vaan
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this
|
||||
* list of conditions and the following disclaimer.
|
||||
*
|
||||
* * Redistributions in binary form must reproduce the above copyright notice,
|
||||
* this list of conditions and the following disclaimer in the documentation
|
||||
* and/or other materials provided with the distribution.
|
||||
*
|
||||
* * Neither the name of my employer, nor the names of its contributors may be
|
||||
* used to endorse or promote products derived from this software without
|
||||
* specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
@ -1,3 +1,4 @@
|
||||
DIST lxqt-sudo-0.10.0.tar.xz 16732 SHA256 3b65fb9dc7b3b866a5fb090b16839308a15998ee30dfb28fae3c33370728fa57 SHA512 1d4b9a034a698a581e9aa6c73757d306f010a52b48ff3b051680e0b36d16bd1ed6f667ffbd059d1738f9fbb13836649f687c3bfea4032b39d63f4b37031fb1fe WHIRLPOOL 257a14ebe44f9207656e5366c535bf0af2fcdbbeab2fae91324d35b84e4d18bb7a188d7e4cd9d72df24859916e620aa1d35af197ef89c67cc384731ae388e95a
|
||||
EBUILD lxqt-sudo-0.10.0.ebuild 609 SHA256 ed2f5d0579fb214597adc13c71e3e9f7951cad7a9fe1efe56499156fc6481291 SHA512 2a808cbde5e78fd2b807f779c1917477af4c2e4ec439df849892057d3b6795e402c5bc5a7b85b211393dc77e0caaac6c48cfe5fc89e344b990a932d3920dc50b WHIRLPOOL ee1b67024afc314f1beb4928dfbd58e0bda573efc75270eae8fc94b654d0e6d83db87c5e4bfe011d1bdc449583eb2918533fe2c2545a5aa1f6b4dfebc0ef8df3
|
||||
MISC ChangeLog 637 SHA256 9c8daa7756f36de3c243a4d4f5876e31be4366fbfb793a523e4445a0feb07f9f SHA512 73dc78246e7f5ea15174b6cbfa338bbb714c5703f133fae1ca9457b3f2f902c9ebf9fbd307ba79aefd1cbfd5ae996020f9d59d334a1fe43b491a426708c7a10f WHIRLPOOL d8671fa7b9e18c6493626a74275967216f17c15d86892cb8947062125d6b8042327052cf2332963f5336dfe0e6479fdc8c282ac345224abb5115e64209277870
|
||||
MISC ChangeLog 799 SHA256 3cbee9a582c7f9587449295691ce83523fd4cf6d462459138d51eadd0f4b9487 SHA512 78d6498e271966ededaf1e0198ed87cdee256d485b8e7a527ce6d49edc6e22cadd13480879034116c2e8ee50704403e1fcdd5b419b67a80480e9b2e6b0ca9724 WHIRLPOOL b6682656d40926e0ac907e36a4cbe4ee39198d100c2dfd87dc03da9223f2a949d0130a958c97720eedfce16f4417056f7908251fd243a7da472cf465c3974150
|
||||
MISC metadata.xml 159 SHA256 92fdcef824fb0e4c441c9fc4eea13136296b09a99dd96459c8fd97dc95407350 SHA512 4e63424697569a947adce1a99eacf50aaada2c9d520b00fdef0c0d4016c74806b9df58f3c71823fcab5bd701be28d6dc0dc26cb14f90cc05af1a5da63f006e21 WHIRLPOOL d4f15c0f8fc1a8895c7fd1589fa51da6240eeabe5fd40fa5ee0e7c76bcf40ef70b9e702d3d293f5b1c5380e8c31a9891146e387aae52492a55d7006dac5ba6ee
|
||||
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>lxqt</herd>
|
||||
</pkgmetadata>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue