Sync with portage [Fri Nov 6 10:23:24 MSK 2015].

mhiretskiy 105
root 9 years ago
parent a936eea46c
commit 631c59772d

@ -23,7 +23,7 @@ SRC_URI="http://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
# 3-clause BSD license
LICENSE="ISC BSD"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~sparc-solaris"
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~sparc-solaris"
IUSE="ldap nls pam offensive selinux skey +sendmail"
DEPEND="pam? ( virtual/pam )

@ -1 +0,0 @@
DIST aes-1.0.7.tar.gz 34165 SHA256 729bdefff0a614229ffd1a8fd3c299f9e8568a8bf2bf78979376cc0b7ad52a19 SHA512 df2cc6c0aa38e648332b64cab8e712164d28a670a5e4d397918cf9e5faabdaa5d68d9f4e501885b990da98254383ee466e5c374a30e1c00411e8be88884eacf5 WHIRLPOOL 1458bd44117d0e3327adcc7d9fb2380ab245608aec73eb260ac8080cd0b81d878d1411acdf83604fcfbb3d495950824ea489bed9112b5d3c6214f95a2713a056

@ -1,37 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit toolchain-funcs
MY_P="${PN/util/}-${PV}"
DESCRIPTION="Command line program ('aes') to encrypt and decrypt data using the Rijndael algorithm"
HOMEPAGE="http://my.cubic.ch/users/timtas/aes/"
SRC_URI="http://my.cubic.ch/users/timtas/aes/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 hppa ppc ~ppc64 sparc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
cd "${S}"
sed -e "/^CFLAGS/s:-g -Wall:${CFLAGS}:" Makefile.linux > Makefile \
|| die "Sed failed"
sed -i -e "/^LDFLAGS/s:-g:${LDFLAGS}:" Makefile || die "Sed failed"
}
src_compile() {
emake CC="$(tc-getCC)" || die
}
src_install() {
dobin aes || die
dodoc CHANGES INSTALL README TODO || die
}

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

@ -1,5 +0,0 @@
DIST kvm-kmod-3.10.1.tar.bz2 302264 SHA256 2b9ae4e36690804fabb1eac4028495f99939f6abe5518c3f98c3d7c8dd488898 SHA512 d86edc933bbb41d7139c56143084c37c8fb6973993756ed8177afbb2e0f4f620dba749f2ebd1e2e90eb70a1a5ea40712c3b5fc3c1aee3d3f131ec39a1b2d80bf WHIRLPOOL 0946ed02b7c0287c02e9d4b75875ef7a4bd46281a6b107cc7115e787d760803724286f4a517f47a286e7c880e895e88cdc69775399d03a8b196815bc62bd7dee
DIST kvm-kmod-3.3.6.tar.bz2 275650 SHA256 b6edcf64c468e4a880d7b633c716805462c07546d93799791c9d3eb6166e593f SHA512 6258d532576c2b10dc3410bb9d7af390268d6dd56195e4b66057a7c991a32fec782289d9cdc4894c8dccb88d87ecb574645529430dd0ac85f8344b304286d046 WHIRLPOOL e422e2c065feaf611c2e1a5e2d308f5f4198fa19d96156371ef7fcc17bd898599b34cba0b6106f1a15bf20f9fa5eaf6ae0dabdcd7bbfa228238ce057848e120b
DIST kvm-kmod-3.4.tar.bz2 280821 SHA256 94a7ce2d0f06c7b9f913be3432e768a2340e50235845fc4e9027abed8aee3291 SHA512 868a554c9ba3a1418f0aa9bdd894ab114e3d59acfa27b3759e362f4631d972f7f48d70563e5ba3e973595195c27fda0c1138c030fd27abdbb8da71103b65cfaa WHIRLPOOL ce99ca65748b12e82a18f67f724eb27cc31310019f8fda15293d6eab9d18dd1a20b9b311fc77162a73f90591d7d772373645dbf02a707c8ca218b2c6840b8bed
DIST kvm-kmod-3.6.tar.bz2 278798 SHA256 74f6bb8de670d5eac58612142c1d504cf0e98325343e8443f9752197e43e1595 SHA512 27042527343926f5c6be41789305b6d8ca888e18e92e95a7bbcc18712865d97ff0b392d46356c57280134f3b2892ed5725975b72715aae22c4e1b02f4378e4f4 WHIRLPOOL 765549376aa3f7c2db11a79c8e5e055e330d211e36bfa03cda41a85e846a89f49d2dd17da219b1c742d1f2bbb89148a0ef2d019940756db7680acdef52c19bf8
DIST kvm-kmod-3.8.tar.bz2 289028 SHA256 55da50de9c801c9136c312887d5ffd462e80f55f363e88f0928eeb1450b814a1 SHA512 05d04509fc86a0eec0ae408404b15f5ce2eb640c12aacd09b9bb54ffe10b9bb88dff53329ddb7e960a5388cf2e20a07341e1d829e173603b52cbb58d792c87c4 WHIRLPOOL f63628cfff99ca0f9e10cb2afef6cb03b31adbfa0b2c3e056717c2df4da119e760b90a81a0cf1456ddfd7aa79ddb19452102c7600df4767275c49156ea140de9

@ -1,68 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="2"
inherit eutils linux-mod
SRC_URI="mirror://sourceforge/kvm/${P}.tar.bz2"
DESCRIPTION="Kernel-based Virtual Machine kernel modules"
HOMEPAGE="http://www.linux-kvm.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
RESTRICT="test"
RDEPEND=""
DEPEND="${RDEPEND}"
pkg_setup() {
linux-mod_pkg_setup
linux_config_exists || die "Your kernel sources are unconfigured"
if ! linux_chkconfig_present KVM; then
eerror "KVM now needs CONFIG_KVM built into your kernel, even"
eerror "if you're using the external modules from this package."
eerror "Please enable KVM support in your kernel, found at:"
eerror
eerror " Virtualization"
eerror " Kernel-based Virtual Machine (KVM) support"
eerror
die "KVM support not detected!"
fi
BUILD_TARGETS="all"
MODULE_NAMES="kvm(kernel/arch/x86/kvm/:${S}:${S}/x86)"
MODULE_NAMES="${MODULE_NAMES} kvm-intel(kernel/arch/x86/kvm/:${S}:${S}/x86)"
MODULE_NAMES="${MODULE_NAMES} kvm-amd(kernel/arch/x86/kvm/:${S}:${S}/x86)"
}
src_configure() {
local conf_opts
conf_opts="--kerneldir=$KV_DIR"
if has_multilib_profile && [[ "${DEFAULT_ABI}" == "x86" ]] ; then
conf_opts="$conf_opts --arch=x86"
fi
./configure ${conf_opts} || die "configure failed"
}
src_compile() {
linux-mod_src_compile
}
src_install() {
linux-mod_src_install
}
pkg_preinst() {
find /lib/modules/${KV_FULL} -name 'kvm*.ko' -type f -delete
linux-mod_pkg_preinst
}

@ -1,68 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="2"
inherit eutils linux-mod
SRC_URI="mirror://sourceforge/kvm/${P}.tar.bz2"
DESCRIPTION="Kernel-based Virtual Machine kernel modules"
HOMEPAGE="http://www.linux-kvm.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
RESTRICT="test"
RDEPEND=""
DEPEND="${RDEPEND}"
pkg_setup() {
linux-mod_pkg_setup
linux_config_exists || die "Your kernel sources are unconfigured"
if ! linux_chkconfig_present KVM; then
eerror "KVM now needs CONFIG_KVM built into your kernel, even"
eerror "if you're using the external modules from this package."
eerror "Please enable KVM support in your kernel, found at:"
eerror
eerror " Virtualization"
eerror " Kernel-based Virtual Machine (KVM) support"
eerror
die "KVM support not detected!"
fi
BUILD_TARGETS="all"
MODULE_NAMES="kvm(kernel/arch/x86/kvm/:${S}:${S}/x86)"
MODULE_NAMES="${MODULE_NAMES} kvm-intel(kernel/arch/x86/kvm/:${S}:${S}/x86)"
MODULE_NAMES="${MODULE_NAMES} kvm-amd(kernel/arch/x86/kvm/:${S}:${S}/x86)"
}
src_configure() {
local conf_opts
conf_opts="--kerneldir=$KV_DIR"
if has_multilib_profile && [[ "${DEFAULT_ABI}" == "x86" ]] ; then
conf_opts="$conf_opts --arch=x86"
fi
./configure ${conf_opts} || die "configure failed"
}
src_compile() {
linux-mod_src_compile
}
src_install() {
linux-mod_src_install
}
pkg_preinst() {
find /lib/modules/${KV_FULL} -name 'kvm*.ko' -type f -delete
linux-mod_pkg_preinst
}

@ -1,68 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="2"
inherit eutils linux-mod
SRC_URI="mirror://sourceforge/kvm/${P}.tar.bz2"
DESCRIPTION="Kernel-based Virtual Machine kernel modules"
HOMEPAGE="http://www.linux-kvm.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
RESTRICT="test"
RDEPEND=""
DEPEND="${RDEPEND}"
pkg_setup() {
linux-mod_pkg_setup
linux_config_exists || die "Your kernel sources are unconfigured"
if ! linux_chkconfig_present KVM; then
eerror "KVM now needs CONFIG_KVM built into your kernel, even"
eerror "if you're using the external modules from this package."
eerror "Please enable KVM support in your kernel, found at:"
eerror
eerror " Virtualization"
eerror " Kernel-based Virtual Machine (KVM) support"
eerror
die "KVM support not detected!"
fi
BUILD_TARGETS="all"
MODULE_NAMES="kvm(kernel/arch/x86/kvm/:${S}:${S}/x86)"
MODULE_NAMES="${MODULE_NAMES} kvm-intel(kernel/arch/x86/kvm/:${S}:${S}/x86)"
MODULE_NAMES="${MODULE_NAMES} kvm-amd(kernel/arch/x86/kvm/:${S}:${S}/x86)"
}
src_configure() {
local conf_opts
conf_opts="--kerneldir=$KV_DIR"
if has_multilib_profile && [[ "${DEFAULT_ABI}" == "x86" ]] ; then
conf_opts="$conf_opts --arch=x86"
fi
./configure ${conf_opts} || die "configure failed"
}
src_compile() {
linux-mod_src_compile
}
src_install() {
linux-mod_src_install
}
pkg_preinst() {
find /lib/modules/${KV_FULL} -name 'kvm*.ko' -type f -delete
linux-mod_pkg_preinst
}

@ -1,68 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="2"
inherit eutils linux-mod
SRC_URI="mirror://sourceforge/kvm/${P}.tar.bz2"
DESCRIPTION="Kernel-based Virtual Machine kernel modules"
HOMEPAGE="http://www.linux-kvm.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
RESTRICT="test"
RDEPEND=""
DEPEND="${RDEPEND}"
pkg_setup() {
linux-mod_pkg_setup
linux_config_exists || die "Your kernel sources are unconfigured"
if ! linux_chkconfig_present KVM; then
eerror "KVM now needs CONFIG_KVM built into your kernel, even"
eerror "if you're using the external modules from this package."
eerror "Please enable KVM support in your kernel, found at:"
eerror
eerror " Virtualization"
eerror " Kernel-based Virtual Machine (KVM) support"
eerror
die "KVM support not detected!"
fi
BUILD_TARGETS="all"
MODULE_NAMES="kvm(kernel/arch/x86/kvm/:${S}:${S}/x86)"
MODULE_NAMES="${MODULE_NAMES} kvm-intel(kernel/arch/x86/kvm/:${S}:${S}/x86)"
MODULE_NAMES="${MODULE_NAMES} kvm-amd(kernel/arch/x86/kvm/:${S}:${S}/x86)"
}
src_configure() {
local conf_opts
conf_opts="--kerneldir=$KV_DIR"
if has_multilib_profile && [[ "${DEFAULT_ABI}" == "x86" ]] ; then
conf_opts="$conf_opts --arch=x86"
fi
./configure ${conf_opts} || die "configure failed"
}
src_compile() {
linux-mod_src_compile
}
src_install() {
linux-mod_src_install
}
pkg_preinst() {
find /lib/modules/${KV_FULL} -name 'kvm*.ko' -type f -delete
linux-mod_pkg_preinst
}

@ -1,68 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="2"
inherit eutils linux-mod
SRC_URI="mirror://sourceforge/kvm/${P}.tar.bz2"
DESCRIPTION="Kernel-based Virtual Machine kernel modules"
HOMEPAGE="http://www.linux-kvm.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
RESTRICT="test"
RDEPEND=""
DEPEND="${RDEPEND}"
pkg_setup() {
linux-mod_pkg_setup
linux_config_exists || die "Your kernel sources are unconfigured"
if ! linux_chkconfig_present KVM; then
eerror "KVM now needs CONFIG_KVM built into your kernel, even"
eerror "if you're using the external modules from this package."
eerror "Please enable KVM support in your kernel, found at:"
eerror
eerror " Virtualization"
eerror " Kernel-based Virtual Machine (KVM) support"
eerror
die "KVM support not detected!"
fi
BUILD_TARGETS="all"
MODULE_NAMES="kvm(kernel/arch/x86/kvm/:${S}:${S}/x86)"
MODULE_NAMES="${MODULE_NAMES} kvm-intel(kernel/arch/x86/kvm/:${S}:${S}/x86)"
MODULE_NAMES="${MODULE_NAMES} kvm-amd(kernel/arch/x86/kvm/:${S}:${S}/x86)"
}
src_configure() {
local conf_opts
conf_opts="--kerneldir=$KV_DIR"
if has_multilib_profile && [[ "${DEFAULT_ABI}" == "x86" ]] ; then
conf_opts="$conf_opts --arch=x86"
fi
./configure ${conf_opts} || die "configure failed"
}
src_compile() {
linux-mod_src_compile
}
src_install() {
linux-mod_src_install
}
pkg_preinst() {
find /lib/modules/${KV_FULL} -name 'kvm*.ko' -type f -delete
linux-mod_pkg_preinst
}

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>qemu</herd>
<maintainer>
<email>cardoe@gentoo.org</email>
<name>Doug Goldstein</name>
</maintainer>
<longdescription lang="en">
KVM (for Kernel-based Virtual Machine) is a full virtualization solution
for Linux on x86 hardware containing virtualization extensions (Intel VT
or AMD-V). This package contains kernel modules for kvm.
</longdescription>
<upstream>
<remote-id type="sourceforge">kvm</remote-id>
</upstream>
</pkgmetadata>

@ -1,3 +1,3 @@
DIST lxd-0.16.tar.bz2 2660683 SHA256 bbe2b7542af34c93c7509e9638016a420bfc1daf1f1f45a33fa3d379ae10f14f SHA512 856e5ea1920ec3025cbd308a8e2ef656393a149111a38188f749e7d42a41032d762009d85316815c3f18ac0907fa9380758ca48666b13e900c9bbdf809d57f1c WHIRLPOOL f4bbea69073f2cc0dce65e39d88cdf1a0fadd4629b5b42bdee7ab385df459f78a2e36619c40ace687be124fb8d59c0da043cb1a8195630b2d0a051ab53297b89
DIST lxd-0.18.tar.bz2 2674919 SHA256 cb9c4823fb19ccef4827ee4dc3a105b60d3549b5023f4517d1471487469ea395 SHA512 5bbaae6eef27a0b14f8fee41d113afeea61de5414e5f7ed5011819eb6823a11dff647ac3f9781357304f7c5b04c618d05e4a04197cae6c6e4845cad5476d22ff WHIRLPOOL ca73e587f19491d79b03af2d205ab9f234b5acb1ff1f2d68a05be053cbd1ec89f6b9bc0fc64113980d7f2d6e3c7ece01d7d0c431c08a87b2b0ec555c6ff97914
DIST lxd-0.20.tar.bz2 2687718 SHA256 a071b92015f676746137e1ffeab1886d90297d0d5832bbf5ee6aff081acc4840 SHA512 2064daa7d1aeb4764a15d559e3d4178918942d82dbba31e964d713aab48d2ee30ce6a63632701c41b13de4aea541acd76d55b52f12de10a99ffeaa3cb945ad44 WHIRLPOOL 1ffa9d6bf1cb7132b82e731002eae7b7ff3544fb03958827916c2e00e02a0bdd10bbadd2401f7799187c2c0338987f24b46d8e138131f7df888162e56b3f4fe5
DIST lxd-0.21.tar.bz2 2683517 SHA256 06e9ed72d1d45af532664e47d9772a886dc1d757e83d673498b05798249c66c8 SHA512 588225ed77cd8a86b34579ee3f3b2b3ba8166ce9d85872e6076fa5075bc5a3846c82255dee6e701a6d51bdd9bf8280bbd5fab08ca4438de5320de8f0388685eb WHIRLPOOL c85f103e38f44c4cd859faf330764c3d076cede6d09f976b4686d7f91b6ca233e09721df418493fed19cb8bf3118b2a0a6723f3084da532bba4a5344de8a4b9c

@ -1,15 +0,0 @@
--- Makefile.orig 2015-09-03 10:08:26.921410426 -0500
+++ Makefile 2015-09-03 10:08:52.193408698 -0500
@@ -12,12 +12,10 @@
.PHONY: default
default:
- go get -t -v -d ./... || true
go install -v ./...
.PHONY: client
client:
- go get -t -v -d ./...
go install -v ./lxc
# This only needs to be done when migrate.proto is actually changed; since we

@ -1,23 +0,0 @@
LXD_OPTIONS=""
# Group which owns the shared socket
LXD_OPTIONS="${LXD_OPTIONS} --group lxd"
# Enable cpu profiling into the specified file
#LXD_OPTIONS="${LXD_OPTIONS} --cpuprofile ''"
# Enable memory profiling into the specified file
#LXD_OPTIONS="${LXD_OPTIONS} --memprofile ''"
# Enables debug mode
#LXD_OPTIONS="${LXD_OPTIONS} --debug"
# For debugging, print a complete stack trace every n seconds
#LXD_OPTIONS="${LXD_OPTIONS} --print-goroutines-every 5"
# Enables verbose mode
#LXD_OPTIONS="${LXD_OPTIONS} -v"

@ -0,0 +1,18 @@
--- Makefile.orig 2015-09-17 20:37:16.481867339 -0500
+++ Makefile 2015-09-17 20:53:27.715800926 -0500
@@ -12,15 +12,11 @@
.PHONY: default
default:
- -go get -t -v -d ./...
- -go get -t -v -d ./...
go install -v ./...
@echo "LXD built succesfuly"
.PHONY: client
client:
- -go get -t -v -d ./...
- -go get -t -v -d ./...
go install -v ./lxc
@echo "LXD client built succesfuly"

@ -1,5 +1,5 @@
--- lxd/migration/rsync.go.orig 2015-08-21 12:05:15.098768663 -0500
+++ lxd/migration/rsync.go 2015-08-21 12:06:15.899764506 -0500
--- lxd/rsync.go.orig 2015-09-17 21:00:29.290772099 -0500
+++ lxd/rsync.go 2015-09-17 21:00:54.737770359 -0500
@@ -73,7 +73,7 @@
* command (i.e. the command to run on --server). However, we're
* hardcoding that at the other end, so we can just ignore it.

@ -0,0 +1,27 @@
# Group which owns the shared socket
LXD_OPTIONS+=" --group lxd"
# Enable cpu profiling into the specified file
#LXD_OPTIONS+=" --cpuprofile /tmp/lxc_cpu_profile"
# Enable memory profiling into the specified file
#LXD_OPTIONS+=" --memprofile /tmp/lxc_mem_profile"
# Enables debug mode
#LXD_OPTIONS+=" --debug"
# For debugging, print a complete stack trace every n seconds
#LXD_OPTIONS+=" --print-goroutines-every 5"
# Enables verbose mode
#LXD_OPTIONS+=" -v"
# Logfile to log to
#LXD_OPTIONS+=" --logfile /var/log/lxd/lxd.log"
# Enables syslog logging
#LXD_OPTIONS+=" --syslog"

@ -8,13 +8,13 @@ DESCRIPTION="Fast, dense and secure container management"
HOMEPAGE="https://linuxcontainers.org/lxd/introduction/"
EGO_PN_PARENT="github.com/lxc"
EGO_PN="${EGO_PN_PARENT}/lxd"
SRC_URI="http://961db08fe45d5f5dd062-b8a7a040508aea6d369676e49b80719d.r29.cf2.rackcdn.com/${P}.tar.bz2"
SRC_URI="https://dev.gentoo.org/~stasibear/distfiles/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
PLOCALES="de fr ja"
IUSE="+criu +daemon +image +lvm nls test"
IUSE="+daemon nls test"
# IUSE and PLOCALES must be defined before l10n inherited
inherit bash-completion-r1 eutils golang-build l10n systemd user vcs-snapshot
@ -37,20 +37,12 @@ RDEPEND="
daemon? (
app-admin/cgmanager
app-arch/xz-utils
app-emulation/lxc[cgmanager]
app-emulation/lxc[cgmanager,seccomp]
net-analyzer/openbsd-netcat
net-misc/bridge-utils
net-misc/rsync[xattr]
sys-apps/iproute2
virtual/acl
criu? (
sys-process/criu
)
image? (
app-crypt/gnupg
>=dev-lang/python-3.2
)
lvm? (
sys-fs/lvm2
)
)
"
@ -63,17 +55,18 @@ RDEPEND="
# - since 0.15 gccgo is a supported compiler ('make gccgo'). It would
# be preferable for that support to go into the golang-build eclass not
# this package directly.
# - integrate "lxd shutdown" into initscript as custom action (default "stop"
# action should _not_ stop containers amirite?)
# "Perform a clean shutdown of LXD and all running containers"
src_prepare() {
cd "${S}/src/${EGO_PN}"
epatch "${FILESDIR}/${P}-dont-go-get.patch"
if use daemon; then
# Upstream requires the openbsd flavor of netcat (with -U), but
# Gentoo installs that with a renamed binary
epatch "${FILESDIR}/${P}-nc-binary-name.patch"
fi
# Upstream requires the openbsd flavor of netcat (with -U), but
# Gentoo installs that with a renamed binary
epatch "${FILESDIR}/${P}-nc-binary-name.patch"
# Warn on unhandled locale changes
l10n_find_plocales_changes po "" .po
@ -116,8 +109,6 @@ src_install() {
cd "src/${EGO_PN}"
use image && dobin scripts/lxd-images
if use nls; then
for lingua in ${PLOCALES}; do
if use linguas_${lingua}; then
@ -155,10 +146,24 @@ pkg_postinst() {
# Ubuntu also defines an lxd user but it appears unused (the daemon
# must run as root)
einfo
einfo "Though not strictly required, some features are enabled at run-time"
einfo "when the relevant helper programs are detected:"
einfo "- sys-apps/apparmor"
einfo "- sys-fs/btrfs-progs"
einfo "- sys-fs/lvm2"
einfo "- sys-fs/zfs"
einfo "- sys-process/criu"
einfo
einfo "Since these features can't be disabled at build-time they are"
einfo "not USE-conditional."
if test -n "${REPLACING_VERSIONS}"; then
einfo
einfo "If you are upgrading from version 0.14 or older, note that the --tcp"
einfo "is no longer available in /etc/conf.d/lxd. Instead, configure the"
einfo "listen address/port by setting the core.https_address profile option."
einfo "listen address/port by setting the core.https_address server option."
fi
einfo
}

@ -25,9 +25,6 @@
<flag name="daemon">
Build the system daemon, not just the client tool
</flag>
<flag name="image">
Installs the lxd-images image-fetching script
</flag>
<flag name="lvm">
Allow using the Logical Volume Manager as pool
for disk image storage

@ -1 +0,0 @@
DIST VMware-view-open-client-source-4.5.0-297975.tar.gz 3044430 SHA256 8c81aed954419180c4b36807df15907b333c5558dd0b57650f3743af7c67702c SHA512 2f270114386035c8fdf03c81da4a7fc3471eeb5e9a034d87f027d0d0dacd1a252b021ecf48a9ece26c26ed92960efe6ffd734a36c56eaeaff2307b80a51387e7 WHIRLPOOL aebf972174c64d7ff05ccbe6f1c542f1c7cbfdb29cb84ed1b058a943466a213f616e14780b881dcb365902456d9d370fa42c805959fe0ef3ef7b71ea5fbf46d9

@ -1,12 +0,0 @@
diff --git a/lib/bora/basicHttp/http.c b/lib/bora/basicHttp/http.c
index a0f7df3..1f538b4 100644
--- a/lib/bora/basicHttp/http.c
+++ b/lib/bora/basicHttp/http.c
@@ -40,7 +40,6 @@
#include "requestQueue.h"
#include <curl/curl.h>
-#include <curl/types.h>
#include <curl/easy.h>
#include <curl/multi.h>

@ -1,14 +0,0 @@
Upstream: http://code.google.com/p/vmware-view-open-client/issues/detail?id=84
diff -Naur VMware-view-open-client-source-4.5.0-297975/configure.ac VMware-view-open-client-source-4.5.0-297975.new/configure.ac
--- VMware-view-open-client-source-4.5.0-297975/configure.ac 2010-09-10 22:09:17.000000000 +0200
+++ VMware-view-open-client-source-4.5.0-297975.new/configure.ac 2011-06-01 16:58:57.145105019 +0200
@@ -140,7 +140,7 @@
PKG_PROG_PKG_CONFIG
PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.6.0 gmodule-2.0 >= 2.6.0])
if test "$use_gtk" = "yes" ; then
- PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.4.0])
+ PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.4.0 x11])
fi
PKG_CHECK_MODULES(XML, [libxml-2.0 >= 2.6.0])
PKG_CHECK_MODULES(CURL, [libcurl >= 7.16.0])

@ -1,35 +0,0 @@
Use system's intltool.
Fixes build failure: https://bugs.gentoo.org/show_bug.cgi?id=425604
(automake fails to regenerate missing files)
Patches by Kvicadlo.
diff --git a/configure.ac b/configure.ac
index d127fad..b9005c5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -549,9 +549,6 @@ doc/changelog.Debian
doc/vmware-view.1
doc/vmware-view-tunnel.1
fix-toolchain-paths.sh
-intltool-update
-intltool-merge
-intltool-extract
po/Makefile.in
vmware-view.desktop.in
])
diff --git a/Makefile.inc b/Makefile.inc
index 41dfe8f..c440f01 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -243,10 +243,6 @@ testUrl_LDADD += $(GLIB_LIBS)
testUrl_LDADD += $(ICU_LIBS)
testUrl_LDADD += $(TUNNEL_FRAMEWORKS)
-dist_noinst_DATA += intltool-extract.in
-dist_noinst_DATA += intltool-merge.in
-dist_noinst_DATA += intltool-update.in
-
desktop_in_files += vmware-view.desktop.in
dist_noinst_DATA += INSTALL

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>vmware</herd>
<maintainer>
<email>tgurr@gentoo.org</email>
</maintainer>
<longdescription>VMware View Open Client lets you connect from a Linux desktop to remote
Windows desktops managed by VMware View.</longdescription>
<upstream>
<remote-id type="google-code">vmware-view-open-client</remote-id>
</upstream>
</pkgmetadata>

@ -1,57 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils autotools versionator
MY_PV=$(replace_version_separator 3 '-' )
MY_P="${PN/vm/VM}-source-${MY_PV}"
DESCRIPTION="Open Source VMware View Client"
HOMEPAGE="https://code.google.com/p/vmware-view-open-client/"
SRC_URI="https://${PN}.googlecode.com/files/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
COMMON_DEPEND="
>=dev-libs/boost-1.34.1
>=dev-libs/icu-3.8.0:=
>=dev-libs/libxml2-2.6.0
>=dev-libs/openssl-0.9.8
>=net-misc/curl-7.16.0[ssl]
x11-libs/gtk+:2
"
DEPEND="${COMMON_DEPEND}
>=dev-util/intltool-0.21
virtual/pkgconfig
"
RDEPEND="${COMMON_DEPEND}
>=net-misc/rdesktop-1.4.1
"
S="${WORKDIR}/${MY_P}"
src_prepare() {
epatch "${FILESDIR}/${P}-linking.patch" \
"${FILESDIR}"/${P}-curl-headers.patch \
"${FILESDIR}"/${P}-unbundle-intltool.patch
sed -e "s:e.x.p:$(get_version_component_range 1-3):" \
-e "s:00000:$(get_version_component_range 4):" \
-i configure.ac
AT_M4DIR="${AT_M4DIR} -I ${ROOT}/usr/share/aclocal" eautoreconf
}
src_configure() {
econf \
--disable-static-icu \
--enable-nls \
--with-boost
}

@ -1 +0,0 @@
DIST lightweight-cvs-toolkit-1.tar.gz 4823 SHA256 aa3d3a76f9685b6f6f7c6b766f0061b4ed053b0bb15ef3ac9b5eb3ddf22e0cfa SHA512 5ba80de35e9176d3862e6edc174c77001a48e737c5b618d03cb532b89a3927b104002ae41fa62f4c26fd224684f832c5638650a9e44a50f2e2945e6d44228628 WHIRLPOOL 1c440b0a2a3f23a8fd1c3e8c704b6b81d10241f10f0f4565e769cfad96fb0bb9a04016d38810e1da3a12f7cec4b00ca1a35a3892c888cd28dc237f807285629c

@ -1,22 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
DESCRIPTION="Tools to create partial CVS checkout, merge PRs and revert commits"
HOMEPAGE="https://bitbucket.org/mgorny/lightweight-cvs-toolkit"
SRC_URI="https://bitbucket.org/mgorny/${PN}/downloads/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-vcs/cvs
dev-vcs/git"
src_install() {
dobin lcvs-*
dodoc README
}

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>mgorny@gentoo.org</email>
<name>Michał Górny</name>
</maintainer>
<upstream>
<maintainer status="active">
<email>mgorny@gentoo.org</email>
<name>Michał Górny</name>
</maintainer>
<bugs-to>https://bitbucket.org/mgorny/lightweight-cvs-toolkit/issues/</bugs-to>
<remote-id type="bitbucket">mgorny/lightweight-cvs-toolkit</remote-id>
</upstream>
</pkgmetadata>

@ -14,7 +14,7 @@ SRC_URI="
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ~ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ~ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
IUSE="debug nls test"
RDEPEND="

@ -1 +0,0 @@
DIST polyorb-2.1.0.tar.bz2 1852658 SHA256 66c5e33894f96ec1f02da4e43f5805655143c3d51e4d8eedbfa5a903aac40b25 SHA512 8d430ed9ae8dd30a91b120f44b67838cecc06dc585e277be38f76c52838786807098f07f094146f19c4fd6ac669460ef2e17bf55db7482e728331db3ef900821 WHIRLPOOL f8523ba52fd9b3342409e4ddfc4765f6dcb6b8598592ce8ff444eb0080a301bb3e30879635670942290c614bf7668b8dbf5549a2e54417208cba40c629508851

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>ada</herd>
<longdescription>
PolyORB aims at providing a uniform solution to build distributed applications;
relying either on industrial-strength middleware standards such as CORBA,
the Distributed System Annex of Ada 95, distribution programming paradigms such as
Web Services, Message Oriented Middleware (MOM), or to implement application-specific
middleware.
</longdescription>
</pkgmetadata>

@ -1,78 +0,0 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit gnat
IUSE="doc ssl"
DESCRIPTION="A CORBA implementation for Ada"
HOMEPAGE="http://libre.adacore.com/polyorb/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
RDEPEND="ssl? ( dev-libs/openssl )"
DEPEND="${RDEPEND}
virtual/ada"
#lib_compile()
lib_compile()
{
econf --libdir=/usr/lib \
$(use_with ssl openssl) || die "econf failed"
#--enable-shared \
# NOTE: --libdir is passed here to simplify logic - all the proper files
# are anyway moved to the final destination by the eclass
emake || die "make failed"
}
# NOTE: we are using $1 - the passed gnat profile name
#lib_install() {
lib_install()
{
make DESTDIR=${DL} install || die "install failed"
# move installed files to appropriate locations
mv ${DL}/usr/* ${DL}
find ${DL} -name "*.ali" -exec mv {} ${DL}/lib \;
chmod 0444 ${DL}/lib/*.ali
# remove sources and other common stuff
rm -rf "${DL}"/{include,usr}
# fix paths in polyorb-config
sed -i -e "s:includedir=\"\${prefix}/include\":includedir=/usr/include/ada:" \
-e "s:libdir=\"/usr/lib\":libdir=${AdalibLibTop}/$1/${PN}/lib:" \
${DL}/bin/${PN}-config
}
src_install ()
{
cd "${S}"
# install sources
dodir ${AdalibSpecsDir}/${PN}
insinto ${AdalibSpecsDir}/${PN}
doins -r src/*
#set up environment
echo "PATH=%DL%/bin" > ${LibEnv}
echo "LDPATH=%DL%/lib" >> ${LibEnv}
echo "ADA_OBJECTS_PATH=%DL%/lib" >> ${LibEnv}
echo "ADA_INCLUDE_PATH=/usr/include/ada/${PN}" >> ${LibEnv}
gnat_src_install
dodoc CHANGE_10049 FEATURES MANIFEST NEWS README
doinfo docs/*.info
if use doc; then
dohtml docs/polyorb_ug.html/*.html
insinto /usr/share/doc/${PF}
doins docs/*.pdf
dodir /usr/share/doc/${PF}/examples
insinto /usr/share/doc/${PF}/examples
doins -r examples/*
fi
}

@ -11,7 +11,7 @@ inherit toolchain-funcs mysql-multilib
IUSE="$IUSE"
# REMEMBER: also update eclass/mysql*.eclass before committing!
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
EPATCH_EXCLUDE=''

@ -3,4 +3,4 @@ DIST mysql-5.6.26.tar.gz 33278710 SHA256 b44c6ce5f95172c56c73edfa8b710b39242ec7a
DIST mysql-5.6.27.tar.gz 33327156 SHA256 8356bba23f3f6c0c2d4806110c41d1c4d6a4b9c50825e11c5be4bbee2b20b71d SHA512 2839a2f481eec52272a7965d1344677c0d0b77d85108e3b4986dc346caebf62d9ef6347756bac156dd943ad57440d6cac9283ee252e30bd3a1e430c492aceb09 WHIRLPOOL 4fdc0db92822809824777c5f712c3e7898af58f178d22ec4ca1a56d9c9b4d782efe47b3b35b7cc9c7b45d31f25f0323cced346e29c24e7bc4e7b9d965c48cfd7
DIST mysql-extras-20150127-1351Z.tar.bz2 1494648 SHA256 74497659f1fb3b0cb620e38a911cf2e59a084149dd175199eb7cf4be18b4c328 SHA512 886e42697b3b0a90d8542bafaf3a7ccedf075f9f0065fec995bf58f645edff3a5d62f29be1cfa2e01d002d6382ee02279832cea8c21db6a774c2567c75ab6a35 WHIRLPOOL 9ddb5ccd914a6a6a19741ff93df78534d2273cf918f24af427c018b7c4f424a90d9f57f167633c48e2fa4102a4fae0873fd6dec7529839f229af855cbddf82d4
DIST mysql-extras-20150410-1944Z.tar.bz2 1493690 SHA256 e327adf02be4c2bce5121f01d6b139309c72814b8c50a29559dfddee12a0b4e2 SHA512 e2e5345290134e597734514041e413f0633b8078bfddb8b8e7695468ce7341735b732d5bb602ab7aa9a4045d71571b73aac01a5d96687d4fbd380736f5ed650c WHIRLPOOL f65f294905fd1d04e2be79a803b658ed432338501665a75cbe0cc5b3af8abf0615f1f808465c3ca3c7e850b9277f451f5c77b518977f4bee8dc77d6089ff88fb
DIST mysql-extras-20150717-1707Z.tar.bz2 1491956 SHA256 d67cc1e2c581ab7c57122b7d29864643869799893a95a158a18e14201d4ffc10 SHA512 3a7cb07773099e766f8e796d4e555d42874b85285cc2c7c60220370cc6aafc36a60eb340008637298d85d83f529e73392895a81c1438ffccff9eb8f354b29ba9 WHIRLPOOL 11e75f4b696e2547c1da40e69d8ab75df4bf7080426204c040632f24846407b07d71061c09c4ff4a1d21a9d14a94769d8f8ef62421d0aecd99efe832caf4dd22
DIST mysql-extras-20151105-2051Z.tar.bz2 1490187 SHA256 129d79c2064b08b0afad69e04e27991bf4103c20ccea39c133239b1dd822a49f SHA512 af34a44275b06c1626eb5952b3643b5663b8a1fb1d9ff18a67d51c02daaa51c4476df407d38ab607cc41842b47e5dd7b4cef8ae380a41eb80923df8052b9e521 WHIRLPOOL 01702ca4e2033fbc70db3ab2dd166b2e31072ea0f6bdd42d00c27ae0c0afab5c8451c4dcc90cce6d46f9ea056017e273f7c719e1cfabf969293bdcd15241f5b3

@ -4,7 +4,7 @@
EAPI="5"
MY_EXTRAS_VER="20150717-1707Z"
MY_EXTRAS_VER="20151105-2051Z"
MY_PV="${PV//_alpha_pre/-m}"
MY_PV="${MY_PV//_/-}"
HAS_TOOLS_PATCH="1"
@ -40,7 +40,7 @@ src_prepare() {
}
# Official test instructions:
# USE='server embedded extraengine perl ssl static-libs community' \
# USE='server embedded extraengine perl openssl static-libs' \
# FEATURES='test userpriv -usersandbox' \
# ebuild mysql-X.X.XX.ebuild \
# digest clean package

@ -4,7 +4,7 @@
EAPI="5"
MY_EXTRAS_VER="20150410-1944Z"
MY_EXTRAS_VER="20151105-2051Z"
MY_PV="${PV//_alpha_pre/-m}"
MY_PV="${MY_PV//_/-}"
SUBSLOT="18"
@ -17,7 +17,7 @@ IUSE="$IUSE"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
EPATCH_EXCLUDE=''
EPATCH_EXCLUDE='20018_all_mysql-5.6.25-without-clientlibs-tools.patch'
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
RDEPEND="${RDEPEND}"
@ -39,7 +39,7 @@ src_prepare() {
}
# Official test instructions:
# USE='embedded extraengine perl ssl static-libs community' \
# USE='embedded extraengine perl openssl static-libs' \
# FEATURES='test userpriv -usersandbox' \
# ebuild mysql-X.X.XX.ebuild \
# digest clean package

@ -1,4 +1,5 @@
DIST mysql-extras-20150113-1853Z.tar.bz2 1494439 SHA256 420553dc8557d0622ad762ee6924900acc74fd4f367fd3840acab03114fada4d SHA512 b1252d905b71a6f42484eaa796ebcd2f0769affc566e6c277ef3bc0ef9bc446a1c22aac3faa48ef7b9305056a1302b37d7ef86b547c44514528a5956ce61d372 WHIRLPOOL d14f0d88358eb0bbd2c338052ec086ab8260988497ef09da934365ded3c30c7e905ea936a0c9817ccb49d1f6e3408b3f6a438455a2455c65c2f26a9fc6367ff3
DIST mysql-extras-20150717-1707Z.tar.bz2 1491956 SHA256 d67cc1e2c581ab7c57122b7d29864643869799893a95a158a18e14201d4ffc10 SHA512 3a7cb07773099e766f8e796d4e555d42874b85285cc2c7c60220370cc6aafc36a60eb340008637298d85d83f529e73392895a81c1438ffccff9eb8f354b29ba9 WHIRLPOOL 11e75f4b696e2547c1da40e69d8ab75df4bf7080426204c040632f24846407b07d71061c09c4ff4a1d21a9d14a94769d8f8ef62421d0aecd99efe832caf4dd22
DIST mysql-extras-20151105-2051Z.tar.bz2 1490187 SHA256 129d79c2064b08b0afad69e04e27991bf4103c20ccea39c133239b1dd822a49f SHA512 af34a44275b06c1626eb5952b3643b5663b8a1fb1d9ff18a67d51c02daaa51c4476df407d38ab607cc41842b47e5dd7b4cef8ae380a41eb80923df8052b9e521 WHIRLPOOL 01702ca4e2033fbc70db3ab2dd166b2e31072ea0f6bdd42d00c27ae0c0afab5c8451c4dcc90cce6d46f9ea056017e273f7c719e1cfabf969293bdcd15241f5b3
DIST percona-server-5.6.25-73.0.tar.gz 34152178 SHA256 790d056931b9dd5b158a732812490fdaf9407012aaf93d3f1c1b21942dcdc251 SHA512 9bb4ee29ceb7e80460d2ffa779ca0aefaa6c0af1c4e5309c1c5f37840da4e85da1196a936e1862bacb3f36d064a6dcb6ad45b3eb55f60b033f2741ec6b487b9d WHIRLPOOL 76c59da78fda5cf70802117e59ceb0a877513ed83b0069c6d5a3f169595eac43516897bc02c092caa71cb059424ed3d4cbb97133c6946f870ab7734e8ca7a282
DIST percona-server-5.6.26-74.0.tar.gz 54819177 SHA256 9156038d84bd1190a5b5df963877876584d30bd515ba3ad39e65a532430c1608 SHA512 1874b5e5d40da3ba6a9ea5bf15b7b851b4c067edf3cbca4139c078536000010acaecb8ee94933f5c4482ea091967a30f042b3bd08bef5e3716cae0be8607410e WHIRLPOOL fd8d712d3ed1a785ad455d9d83f537303ad9b58d0562cf73adaba71527ab42513e0682b568aced5601b419e738f9d904d09bb37f387feaa42944795461e96b8e

@ -3,7 +3,7 @@
# $Id$
EAPI="5"
MY_EXTRAS_VER="20150717-1707Z"
MY_EXTRAS_VER="20151105-2051Z"
HAS_TOOLS_PATCH="1"
SUBSLOT="18"
@ -29,7 +29,7 @@ REQUIRED_USE="tokudb? ( jemalloc ) tokudb-backup-plugin? ( tokudb )"
# and create your own mysql-extras tarball, looking at 000_index.txt
# Official test instructions:
# USE='extraengine perl ssl static-libs community' \
# USE='extraengine perl openssl static-libs' \
# FEATURES='test userpriv -usersandbox' \
# ebuild percona-server-X.X.XX.ebuild \
# digest clean package

@ -1,2 +0,0 @@
DIST scratchbox-toolchain-cs2005q3.2-glibc2.5-arm-1.0.7.2-i386.tar.gz 47597128 SHA256 9ffff86e32075e14e045b555b6cf0c39f81726415555036d3912e56421fe04e1 SHA512 4fd73f7a0c5aaa4d32122cab924782e87dc87649183935031caf305553923284d30d4091791e24e1293d81f05183c0db9baaa46f4c18cd29019a3db9d3da3fcd WHIRLPOOL 069e3deeccd911f3fbce4305626d0c50c5a3d168204f058e2d3094cf084a97893c8f49d0c44602c50c0f4d45bf6342fbe08540f6036e27bd4f60d74770335267
DIST scratchbox-toolchain-cs2005q3.2-glibc2.5-i386-1.0.7-i386.tar.gz 44022168 SHA256 985498ddea39d512c619a2e6bc87e1252eea26adffe82d945136aa53a0078778 SHA512 0d72ee4bb3035f84b8a532dcce4795383f956445d225c2a537f6e1e1db53ee27499f49f00c81d61e274f339a0a5a998a36a124eb07a0c5d3432793e2d5eba103 WHIRLPOOL cda5b5671eecca3d3855ffdc8cb4a84d533d2c6ae8c796fa8086e67b3087f712fe4eeb82d83092a8cb1ec8be6d6f62acd1af235a6c32320408d336d98e4e11fe

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

@ -1,32 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
SBOX_GROUP="sbox"
ARMV=${PV}
I386V=${PV}.2
DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier"
HOMEPAGE="http://www.scratchbox.org/"
SRC_URI="http://scratchbox.org/download/files/sbox-releases/stable/tarball/${PN/cs2005q3_2-glibc2_5/cs2005q3.2-glibc2.5}-arm-${PV}.2-i386.tar.gz
http://scratchbox.org/download/files/sbox-releases/stable/tarball/${PN/cs2005q3_2-glibc2_5/cs2005q3.2-glibc2.5}-i386-${PV}-i386.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
# Stripping BREAKS scratchbox, it runs in a chroot and is pre-stripped when needed (bug #296294)
RESTRICT="strip"
DEPEND=""
RDEPEND="=dev-embedded/scratchbox-1.0*"
TARGET_DIR="/opt/scratchbox"
S=${WORKDIR}/scratchbox
src_install() {
dodir ${TARGET_DIR}
cp -pRP * "${D}/${TARGET_DIR}"
}

@ -1,7 +0,0 @@
DIST scratchbox-toolchain-cs2007q3-glibc2.5-arm7-1.0.12-10-i386.tar.gz 101979228 SHA256 a5eada21cd74b8b4cb4df8298fd431fc46849ebff053890b6672d4746f562dfe SHA512 eed4e262d450166a727ee43d3efc9f20eca0766848b7a1d3804385757971411c25d902082df4634fc684820f303456c36b44b849b93786c8e97d1e1f016015f5 WHIRLPOOL 3e4360cea71191613929041accd4478a423dd9b2036e22a9ef4637a45331b113a81bda98bb876adffb2918a948abe076e30e6ce8bb3320b63f6ae17583f13901
DIST scratchbox-toolchain-cs2007q3-glibc2.5-arm7-1.0.14-2-i386.tar.gz 101978830 SHA256 82d964332969cdff17d33059f9f1534a9934cd2ab226c06073b981e98c65cfe5 SHA512 f2d2e7807dd66e438324535a7fa7d9b991ef0f1422704e0eda290dda643e729df0b2f1e657a535087fd93ec0e1c057b0c4a6f9599a7e8248c168f12e73c66bda WHIRLPOOL 4736345f0d5a92841ecd097a1fb9db7ca8d74ed436b71604c1c7d638807378f34e43bc17f10987b8cf3e6717d18546cd98748738e71ba73f31ee85078c7431d3
DIST scratchbox-toolchain-cs2007q3-glibc2.5-arm7-1.0.16-2-i386.tar.gz 101990711 SHA256 103b3b1ea90b6be3a82c4cd266c6f0856fdba050f352d4ed4ad7b76d2f8313c0 SHA512 7d8c695a93ac85222bf4fbe2a1a107512320fed790e21a25c058270c2260691ea98d79038ecc8d8286eed6af40e81f870f04fd55430c0ee12072517dc9d02648 WHIRLPOOL c20349f56eea79f14ba464296b7cd283e62892c912e0881a1f1581eea93b252dc528075589c3e780134351157af725ec77e05bdb6b24c5a7d3dd1289ccb16634
DIST scratchbox-toolchain-cs2007q3-glibc2.5-i486-1.0.12-8-i386.tar.gz 94539077 SHA256 ac9fda5bcd68e6dfe026079e1e3f3beb25607a44980d98a9c1d4bd8fa9cfe4d8 SHA512 69fb98a6735ccff87cddba57c21ae5c577bf97af7eb1fba2625a8132f13745b31fb9294273e2f5630cd2c574c4d2de8f0873cc459c824ffc04a3a89889129d6d WHIRLPOOL e7f498caa37ae72c9c82430f5592b806521d51f455fe3de001e128a68627367061c8d2830485aa54c9ae2b8ce380cba0dda81db2ba82cf8a914cdc113868bfdc
DIST scratchbox-toolchain-cs2007q3-glibc2.5-i486-1.0.12-9-i386.tar.gz 94528212 SHA256 81e9dbfe4936d088c6d812adc1032e2d3e625cb37dacedb1fd05cec970fe060b SHA512 694b69ad5dc0024535a3c4944a362b0bbc441c9c8cb8e971af16f3af0ee6aab6d5e6d65fc709e888ff198460b246deeb4a9e25c32b2065949293b5405df70bfe WHIRLPOOL e92542f43b91c1005d482dd996079485a2cdcaf764d76b08a1d4813fdb1e2f82d935891a6b07c86252a401ae83c003c72e53a99f2d68fc5078d8b907e9914a65
DIST scratchbox-toolchain-cs2007q3-glibc2.5-i486-1.0.14-1-i386.tar.gz 94560834 SHA256 4813215dd3d933199e30dc22da28ecfb32925ebf723ce2fdc0c683e63db741d4 SHA512 2f15254f932313a08a9eb008acb906cfefce1d8d20ffc55070b2be74efd66e89475be0d9fb55990499e17ceb35d410a41ec72fbddc67533d638d3e55506b64d4 WHIRLPOOL 103ce0f8a27ea0185d3a707e71447c84a18c684d7d4c3adbe7d6a479d116c5f6cc95cdc3409ea715cdf4f236302a7cc7bd8f6b3b698237ef193730c850cae1ee
DIST scratchbox-toolchain-cs2007q3-glibc2.5-i486-1.0.16-1-i386.tar.gz 94567670 SHA256 9f2dad474e11526d53a3c5a7f7060551e3f2367de55d751d4868f2d03ab0e316 SHA512 2ddc37905d243632bc303e684807e1cb41669f92f843a9caa9174d1c7b0b5b7f87ea21ce1aa7788dfa3cfa18c1a0f6316e80268ce650aac76b8d16a59597b3c3 WHIRLPOOL 95ad8de2ef20f591a2629303590619e33f23e9f0d25d3ff3e13183cec73044a7d56f23d02559ce87c79424e4b21cd7b7d69e753745a8b53c1eb26bfd8d582764

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

@ -1,32 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
SBOX_GROUP="sbox"
ARMV=${PV}-10
I486V=${PV}-8
DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier"
HOMEPAGE="http://www.scratchbox.org/"
SRC_URI="http://scratchbox.org/download/files/sbox-releases/stable/tarball/${PN/_/.}-arm7-${ARMV}-i386.tar.gz
http://scratchbox.org/download/files/sbox-releases/stable/tarball/${PN/_/.}-i486-${I486V}-i386.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
# Stripping BREAKS scratchbox, it runs in a chroot and is pre-stripped when needed (bug #296294)
RESTRICT="strip binchecks"
DEPEND=""
RDEPEND="=dev-embedded/scratchbox-1.0*"
TARGET_DIR="/opt/scratchbox"
S=${WORKDIR}/scratchbox
src_install() {
dodir ${TARGET_DIR}
cp -pRP * "${D}/${TARGET_DIR}"
}

@ -1,30 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
ARMV=${PV}-2
I486V=${PV}-1
DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier"
HOMEPAGE="http://www.scratchbox.org/"
SRC_URI="http://scratchbox.org/download/files/sbox-releases/stable/tarball/${PN/_/.}-arm7-${ARMV}-i386.tar.gz
http://scratchbox.org/download/files/sbox-releases/stable/tarball/${PN/_/.}-i486-${I486V}-i386.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
# Stripping BREAKS scratchbox, it runs in a chroot and is pre-stripped when needed (bug #296294)
RESTRICT="strip"
DEPEND=""
RDEPEND="=dev-embedded/scratchbox-1.0*"
TARGET_DIR="/opt/scratchbox"
S=${WORKDIR}/scratchbox
src_install() {
dodir ${TARGET_DIR}
cp -pRP * "${D}/${TARGET_DIR}"
}

@ -1,32 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
SBOX_GROUP="sbox"
ARMV=${PV}-2
I486V=1.0.12-9
DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier"
HOMEPAGE="http://www.scratchbox.org/"
SRC_URI="http://scratchbox.org/download/files/sbox-releases/stable/tarball/${PN/_/.}-arm7-${ARMV}-i386.tar.gz
http://scratchbox.org/download/files/sbox-releases/stable/tarball/${PN/_/.}-i486-${I486V}-i386.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
# Stripping BREAKS scratchbox, it runs in a chroot and is pre-stripped when needed (bug #296294)
RESTRICT="strip binchecks"
DEPEND=""
RDEPEND="=dev-embedded/scratchbox-1.0*"
TARGET_DIR="/opt/scratchbox"
S=${WORKDIR}/scratchbox
src_install() {
dodir ${TARGET_DIR}
cp -pRP * "${D}/${TARGET_DIR}"
}

@ -1,30 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
ARMV=${PV}-2
I486V=${PV}-1
DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier"
HOMEPAGE="http://www.scratchbox.org/"
SRC_URI="http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${PN/_/.}-arm7-${ARMV}-i386.tar.gz
http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${PN/_/.}-i486-${I486V}-i386.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
# Stripping BREAKS scratchbox, it runs in a chroot and is pre-stripped when needed (bug #296294)
RESTRICT="strip"
DEPEND=""
RDEPEND="=dev-embedded/scratchbox-1.0*"
TARGET_DIR="/opt/scratchbox"
S=${WORKDIR}/scratchbox
src_install() {
dodir ${TARGET_DIR}
cp -pRP * "${D}/${TARGET_DIR}"
}

@ -1,2 +0,0 @@
DIST scratchbox-toolchain-arm-linux-cs2009q1-203sb1-1.0.13-2-i386.tar.gz 101945345 SHA256 c3238cc58e06e5967494510df13579351d49ef32a7e68ccf96739eb4b6337f40 SHA512 8e0493ab7b57fd60eb14e1153605eee55ef7e9ff764bfda57ce629b290449a545645caa7410e4ddbd2a45286088ed29329c707e3f42dda50ee85a32fa3919de6 WHIRLPOOL 471f06b71a10e91e53e77a8cabb7d5c0e45ae34dbf1d302abe13c46ddd5f1f0dca5db336fe06ecd1c14568f6ccbae911a211404e8276904d9ccc9153abd4ef7e
DIST scratchbox-toolchain-i486-linux-cs2009q1-203sb1-1.0.13-2-i386.tar.gz 97206877 SHA256 0c5b34a83a1d9059c6878790a903bc2bee5c8e0021ccd95328d2c47c20585dd5 SHA512 88228ca7ccac2df4ef42eb5d50d66fd370cbdca0eafc9a588699f2948f22646fc00ea85b76561860029a7cf1ddfc00f5686f128d51b6a460da4a7c2099a1d5cf WHIRLPOOL eae1318a9dff4b1da8f4f2b81da3c4d59197304c59dad68306c633ac07db28270fce361c1a344e2d1387af74530d3a30fd50f9a90e4b385c313f3c439f346eb2

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>dev-embedded</herd>
<longdescription lang="en">
</longdescription>
</pkgmetadata>

@ -1,33 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
SBOX_GROUP="sbox"
MY_PV="${PV}-2-i386"
DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier"
HOMEPAGE="http://www.scratchbox.org/"
SRC_URI="http://scratchbox.org/download/files/sbox-releases/stable/tarball/${PN/toolchain/toolchain-arm-linux}-${MY_PV}.tar.gz
http://scratchbox.org/download/files/sbox-releases/stable/tarball/${PN/toolchain/toolchain-i486-linux}-${MY_PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
# Stripping BREAKS scratchbox, it runs in a chroot and is pre-stripped when needed (bug #296294)
RESTRICT="strip"
DEPEND=""
RDEPEND="=dev-embedded/scratchbox-1.0*"
TARGET_DIR="/opt/scratchbox"
RESTRICT="strip"
S=${WORKDIR}/scratchbox
src_install() {
dodir ${TARGET_DIR}
cp -pRP * "${D}/${TARGET_DIR}"
}

@ -1,4 +0,0 @@
DIST scratchbox-toolchain-cs2009q1-eglibc2.8-armv7-1.0.17-10-i386.tar.gz 101822265 SHA256 83fa1957ec27f05bae6df986c0f20177abd736a5f978aa24a7798e1e7702a55c SHA512 00b190e0867db67604c600f75ce9f9590cfe7268d79f151fc5f3c29ca6a109735a7671fb5993c3b89a571a7e023dc895e20b793b4841256a661598082456c619 WHIRLPOOL cd14d91ca6e8c29dcf601f7b2482892456f8b4246fd8040a2fb80e60497b7bfd6325ac12db9b21cb561e1ab7d35bdc6909d8a89724f6e4e70e0621d2f29a1a23
DIST scratchbox-toolchain-cs2009q1-eglibc2.8-armv7-1.0.19-11-i386.tar.gz 101972325 SHA256 46bd785783ac5538d3ea9ae5ea3b2f23a8b69ac5349899385772c2e60ca820d3 SHA512 368ead1eaab067cff9293866a77452a5f9e36666019ef50910f6a81177329960adcbaa51c6a0914032f32957f71dc48bef3afb14abdb1e62ef5e47975abc8d2c WHIRLPOOL c56ba54d3be36bb2526571d176eb8af00931f64bf35357ccbd39d33bc319d721805b5860bfcbea385d52a8d85cf21c0553e95b882b185b7b29cab5d4da6bd3ae
DIST scratchbox-toolchain-cs2009q1-eglibc2.8-i486-1.0.17-5-i386.tar.gz 97307811 SHA256 0831c596a69dbfac65c708017529c18e89b587c0419cce20f1a4406a1f7df789 SHA512 f7dde03ef0aaef0dd2e0ff791d0ebaf4a0ce81508020e077b045beba6101e37dd7e5fa3171e32d2d0ce8df1a69c018415af0d5ff3c480e4924889024d2d164a7 WHIRLPOOL fe37a618a31c71e50f77b184a6b8d4c2b3a806f4f25ab1ffb70c80b9fedee567c5e68f1296eaf5be4e16a68a6b3d543cefb458777bd804c384e7711ae5c25a55
DIST scratchbox-toolchain-cs2009q1-eglibc2.8-i486-1.0.19-5-i386.tar.gz 97455265 SHA256 880338628143ab23bc31ae19de09c4a56ce06a10953e2abe92382c569b18393d SHA512 1b73126826c0251d00faa32300eea4890fbfa7fb3dd73b25c40271f3ddb178aaf670f28b98b90a8b21b9bc1731c143b063d80f6a3dccbec2f109afa1f4d0ca15 WHIRLPOOL ceed0bdb5b7692f49aff1394823b81eabe78978da27ea315ff93ff97fd3ac454c66792fcec19ee367d4253fa5173c37bf645ea94f6834b27e0901c46a349b9f0

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>dev-embedded</herd>
<longdescription lang="en">
</longdescription>
</pkgmetadata>

@ -1,30 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
ARMV=${PV}-10
I486V=${PV}-5
DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier"
HOMEPAGE="http://www.scratchbox.org/"
SRC_URI="http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${PN/_/.}-armv7-${ARMV}-i386.tar.gz
http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${PN/_/.}-i486-${I486V}-i386.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
# Stripping BREAKS scratchbox, it runs in a chroot and is pre-stripped when needed (bug #296294)
RESTRICT="strip"
DEPEND=""
RDEPEND="=dev-embedded/scratchbox-1.0*"
TARGET_DIR="/opt/scratchbox"
S=${WORKDIR}/scratchbox
src_install() {
dodir ${TARGET_DIR}
cp -pRP * "${D}/${TARGET_DIR}"
}

@ -1,30 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
ARMV=${PV}-11
I486V=${PV}-5
DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier"
HOMEPAGE="http://www.scratchbox.org/"
SRC_URI="http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${PN/_/.}-armv7-${ARMV}-i386.tar.gz
http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${PN/_/.}-i486-${I486V}-i386.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
# Stripping BREAKS scratchbox, it runs in a chroot and is pre-stripped when needed (bug #296294)
RESTRICT="strip"
DEPEND=""
RDEPEND="=dev-embedded/scratchbox-1.0*"
TARGET_DIR="/opt/scratchbox"
S=${WORKDIR}/scratchbox
src_install() {
dodir ${TARGET_DIR}
cp -pRP * "${D}/${TARGET_DIR}"
}

@ -1,5 +0,0 @@
DIST scratchbox-toolchain-cs2009q3-eglibc2.10-armv7-hard-1.0.17-3-i386.tar.gz 89561893 SHA256 54e9cce865f283fa5729cac1539a285ed09fdad6e7afedd9421144e119687c13 SHA512 44c9e361de58510f1eb1934f8948538b7a7ce097ebcef8f9e7be3828a358bc457b02909f976353fba52eca1f2994a9748933779f53a7dce70eb845f8cf540a5c WHIRLPOOL e6b771b9741adcdf3d221f4abf99539b3bcf5fa66ec674e13b8dbf383f953429b797695f0bc3a21bf0f466d439db7eeb942ca5041126df7ed51cd213e3037a2e
DIST scratchbox-toolchain-cs2009q3-eglibc2.10-armv7-hard-1.0.18-4-i386.tar.gz 89572857 SHA256 c77b432a376b7c881e75ea084ef0666dd4839dfaec8d2e87ecb5b0f41bbeb0d6 SHA512 6c9d3d3af0db12eaa9f9f15b7831953fca31265fb4a95f2026a32b549c75afa4e470cd46151a904ba0aba0d409b5e616cc97d9c0bd6dba5b845d2db1333839f1 WHIRLPOOL 6c8370021ecf05b18ab43f0b2003dddcf4f2dea353a3741d469447e1dca5d8f31b92b24297ec1fc662ab234b53080ccffced7138214688b34c849c6bd83d4b86
DIST scratchbox-toolchain-cs2009q3-eglibc2.10-armv7-soft-1.0.17-4-i386.tar.gz 89585584 SHA256 c409e838e3f3c154b7d9279036683687df62b045ffa45bd987700c8c9e14a9c5 SHA512 69b35088730be3e995144a1a0ba1e5be79712658021c43f0357232bdffef4a1acd10a59502a9cba530cf92c4969b04d67874eefbe077791ea9a4411a7bf7fe1e WHIRLPOOL cbb50a013c526d9c6f85540da9fdc1a998d6c60c53c53154e1055f4fef079121fbb244c949be90203ad73341a93deb7664dbc02222b6b498984ea065845a3a83
DIST scratchbox-toolchain-cs2009q3-eglibc2.10-armv7-soft-1.0.18-5-i386.tar.gz 89590725 SHA256 ab1a2d6d0224cee17b2e2956e51fa375699e6da2797ba693c3081fa48eff6e77 SHA512 992787266a1417748f01fb6fed33c3f1eea99ca1f6b7133d729e332fea3f5a0458b211007b588ea42e93c95dbab5f42b3547459c5d88e689e497e83e4adcc8e8 WHIRLPOOL fbcb533e370b3bb6bee59297a17ff0febc08f2ffa7588202a127e81d8e295e511d70cb440705da1cffcf444a3cba418b16657e48913efec58d305eb9209c8075
DIST scratchbox-toolchain-cs2009q3-eglibc2.10-i486-1.0.17-3-i386.tar.gz 89144596 SHA256 43573a1358c18234dbe6b4a9545020aedb6c1622c480ee6180bf0383e7136996 SHA512 6fad4c2665948dbc70848545e1ec9de1f49fdc809a6cde860633aecf411c61e806b2d30e1622667d796696ade2536fc139a9ff37529fadd107de051e86098466 WHIRLPOOL ee5dde4a677f5d6b7fcd28564582a048f24f8d3db86870ad9411063231cf5e0b1f751792a4930e59e018d298e96fe90263cd9a0ec1e4c882df2501bd45925f8b

@ -1,32 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
ARMHARDV="hard-${PV}-3"
ARMSOFTV="soft-${PV}-4"
I486V="${PV}-3"
DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier"
HOMEPAGE="http://www.scratchbox.org/"
SRC_URI="http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${PN/_/.}-armv7-${ARMHARDV}-i386.tar.gz
http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${PN/_/.}-armv7-${ARMSOFTV}-i386.tar.gz
http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${PN/_/.}-i486-${I486V}-i386.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
# Stripping BREAKS scratchbox, it runs in a chroot and is pre-stripped when needed (bug #296294)
RESTRICT="strip"
DEPEND=""
RDEPEND="=dev-embedded/scratchbox-1.0*"
TARGET_DIR="/opt/scratchbox"
S=${WORKDIR}/scratchbox
src_install() {
dodir ${TARGET_DIR}
cp -pRP * "${D}/${TARGET_DIR}"
}

@ -1,32 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
ARMHARDV="hard-${PV}-4"
ARMSOFTV="soft-${PV}-5"
I486V="1.0.17-3"
DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier"
HOMEPAGE="http://www.scratchbox.org/"
SRC_URI="http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${PN/_/.}-armv7-${ARMHARDV}-i386.tar.gz
http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${PN/_/.}-armv7-${ARMSOFTV}-i386.tar.gz
http://scratchbox.org/download/files/sbox-releases/hathor/tarball/${PN/_/.}-i486-${I486V}-i386.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
# Stripping BREAKS scratchbox, it runs in a chroot and is pre-stripped when needed (bug #296294)
RESTRICT="strip"
DEPEND=""
RDEPEND="=dev-embedded/scratchbox-1.0*"
TARGET_DIR="/opt/scratchbox"
S=${WORKDIR}/scratchbox
src_install() {
dodir ${TARGET_DIR}
cp -pRP * "${D}/${TARGET_DIR}"
}

@ -1,3 +0,0 @@
DIST gcc-core-3.4.5.tar.bz2 13397308 SHA256 8a2824b12a1cae8b68de3be0a8fd2da14918462e6afa27c3578ccfc8ab10d0fc SHA512 997289b39e5605bac84c2a5d80a4e5dc2d24d4f1c742b494e4fbee4d0f16f64ae9ce860ccdc99c9764a29ec92ad066fd4faf5789fc5d7f49173eace263fe5c01 WHIRLPOOL bf9834d2b7a48d99f7ac5a901bea636e547fbe77eb1e38d39f7ea0484025837f0c49ffd2544f6ce8c2f2639687d3daec59a2b97b430f53b78c773abba8e783f4
DIST gpc-20051104.tar.bz2 2616173 SHA256 55e5ecce73fcd06f6377c95be3cedc47cd70547ef32d5da18a4c7778bf2becca SHA512 bde9a9721e3a6e27dc5e3e72f513dfdf87a89dfd15c504e44320eab49733c58f85524ae2393b6003b392a9fdd4102584719a04c3909f711e73a591e7c32c84d3 WHIRLPOOL 5c0f3150f8632602b2cb508af7c27a36168d1017ffbb9afba58c135ae0b3d570f6e1e811c3c94bba0ac87cacd981da2fe72790a3c1faa15b34cbb39946a456e0
DIST gpc-20070904.tar.bz2 2724008 SHA256 5158632503da0e237c28600dd9a6714d9036d5277ff025b16dcef83b4f492ae8 SHA512 1855f71c02f99c18e16de93e993d835f95610cc2e32d3b1d424645a3f3f4a4866774deedd1cb578b164b9f16d01db2faeb5de4fb90b99db6ca6aee286bcc2121 WHIRLPOOL 8a552a01f1f67835b0945f58fe03fce299bee3846f68efa4b658551d15cd9e514fe62823c2c5cc0161794b67f8f2066d2a336bfd985d66a2ea6b866d46ccacdb

@ -1,160 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit eutils flag-o-matic versionator
strip-flags
filter-flags "-pipe"
#due to cache requirements we cannot dynamically match gcc version
#so sticking to a particular (and working) one
GCCVER="3.4.5"
DESCRIPTION="Gnu Pascal Compiler"
HOMEPAGE="http://gnu-pascal.de"
SRC_URI="http://www.math.uni.wroc.pl/~hebisch/${PN}/${P}.tar.bz2
ftp://gcc.gnu.org/pub/gcc/releases/gcc-${GCCVER}/gcc-core-${GCCVER}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="nls"
DEPEND=""
RDEPEND="${DEPEND}"
S="${WORKDIR}/gcc-${GCCVER}"
# GCC version strings
GCCMAJOR=$(get_version_component_range 1 "${GCCVER}")
GCCMINOR=$(get_version_component_range 2 "${GCCVER}")
GCCBRANCH=$(get_version_component_range 1-2 "${GCCVER}")
GCCRELEASE=$(get_version_component_range 1-3 "${GCCVER}")
# possible future crosscompilation support
export CTARGET=${CTARGET:-${CHOST}}
PREFIX="/usr"
LIBPATH="${PREFIX}/lib/${PN}/${CTARGET}/${GCCBRANCH}"
LIBEXECPATH="${PREFIX}/libexec/${PN}/${CTARGET}/${GCCBRANCH}"
INCLUDEPATH="${LIBPATH}/include"
DATAPATH="${PREFIX}/share"
BUILDDIR="${WORKDIR}/build"
src_unpack() {
unpack ${A}
cd "${WORKDIR}/${P}/p"
#comment out read to let ebuild continue
sed -i -e "s:read:#read:" config-lang.in || die "seding autoreplies failed"
#and remove that P var (it doesn't seem to do much except to break a build)
sed -i -e "s:\$(P)::" Make-lang.in || die "seding Make-lan.in failed"
cd "${WORKDIR}"
mv ${P}/p "${S}/gcc/"
# Build in a separate build tree
mkdir -p ${BUILDDIR}
}
src_compile() {
local myconf
if use nls; then
myconf="${myconf} --enable-nls --without-included-gettext"
else
myconf="${myconf} --disable-nls"
fi
# reasonably sane globals (from toolchain)
myconf="${myconf} \
--with-system-zlib \
--disable-checking \
--disable-werror \
--disable-libunwind-exceptions"
use amd64 && myconf="${myconf} --disable-multilib"
cd ${BUILDDIR}
einfo "Configuring GCC for GPC build..."
# addwrite "/dev/zero"
"${S}"/configure \
--prefix=${PREFIX} \
--libdir="${LIBPATH}" \
--libexecdir="${LIBEXECPATH}" \
--datadir=${DATAPATH} \
--mandir=${DATAPATH}/man \
--infodir=${DATAPATH}/info \
--program-prefix="" \
--enable-shared \
--host=${CHOST} \
--target=${CTARGET} \
--enable-languages="c,pascal" \
--enable-threads=posix \
--enable-long-long \
--enable-cstdio=stdio \
--enable-clocale=generic \
--enable-__cxa_atexit \
--enable-version-specific-runtime-libs \
--with-local-prefix=${PREFIX}/local \
${myconf} || die "configure failed"
touch "${S}"/gcc/c-gperf.h
einfo "Building GPC..."
# Fix for our libtool-portage.patc
MAKEOPTS="${MAKEOPTS} -j1" emake LIBPATH="${LIBPATH}" bootstrap || die "make failed"
}
src_install () {
# Do not allow symlinks in ${PREFIX}/lib/gcc-lib/${CHOST}/${PV}/include as
# this can break the build.
for x in cd ${BUILDDIR}/gcc/include/*; do
if [ -L ${x} ]; then
rm -f ${x}
fi
done
einfo "Installing GPC..."
cd ${BUILDDIR}/gcc
make DESTDIR="${D}" \
pascal.install-with-gcc || die
# gcc insists on installing libs in its own place
mv "${D}${LIBPATH}/gcc/${CTARGET}/${GCCRELEASE}"/* "${D}${LIBPATH}"
if [ "${ARCH}" == "amd64" ]; then
# ATTN! this may in fact be related to multilib, rather than amd64
mv "${D}${LIBPATH}/gcc/${CTARGET}"/lib64/libgcc_s* "${D}${LIBPATH}"
mv "${D}${LIBPATH}/gcc/${CTARGET}"/lib/libgcc_s* "${D}${LIBPATH}"/32/
fi
mv "${D}${LIBEXECPATH}/gcc/${CTARGET}/${GCCRELEASE}"/* "${D}${LIBEXECPATH}"
rm -rf "${D}${LIBPATH}/gcc"
rm -rf "${D}${LIBEXECPATH}/gcc"
rm -rf "${D}${LIBEXECPATH}"/install-tools/
# Install documentation.
dodir /usr/share/doc/${PF}
mv "${D}${PREFIX}"/doc/gpc/* "${D}"/usr/share/doc/${PF}
prepalldocs
# final cleanups
rmdir "${D}${PREFIX}"/include "${D}/${PREFIX}"/share/man/man7
rm -rf "${D}${PREFIX}"/doc
# create an env.d entry
dodir /etc/env.d
echo "PATH=${LIBEXECPATH}" > "${D}"etc/env.d/56gpc
echo "ROOTPATH=${LIBEXECPATH}" >> "${D}"etc/env.d/56gpc
}
pkg_postinst ()
{
einfo
elog "Please don't forget to source /etc/profile"
einfo
}

@ -1,161 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit eutils flag-o-matic versionator toolchain-funcs
strip-flags
filter-flags "-pipe"
#due to cache requirements we cannot dynamically match gcc version
#so sticking to a particular (and working) one
GCCVER="3.4.5"
DESCRIPTION="Gnu Pascal Compiler"
HOMEPAGE="http://gnu-pascal.de"
SRC_URI="http://www.math.uni.wroc.pl/~hebisch/${PN}/${P}.tar.bz2
ftp://gcc.gnu.org/pub/gcc/releases/gcc-${GCCVER}/gcc-core-${GCCVER}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="nls"
DEPEND=""
RDEPEND="${DEPEND}"
S="${WORKDIR}/gcc-${GCCVER}"
# GCC version strings
GCCMAJOR=$(get_version_component_range 1 "${GCCVER}")
GCCMINOR=$(get_version_component_range 2 "${GCCVER}")
GCCBRANCH=$(get_version_component_range 1-2 "${GCCVER}")
GCCRELEASE=$(get_version_component_range 1-3 "${GCCVER}")
# possible future crosscompilation support
export CTARGET=${CTARGET:-${CHOST}}
PREFIX="/usr"
LIBPATH="${PREFIX}/lib/${PN}/${CTARGET}/${GCCBRANCH}"
LIBEXECPATH="${PREFIX}/libexec/${PN}/${CTARGET}/${GCCBRANCH}"
INCLUDEPATH="${LIBPATH}/include"
DATAPATH="${PREFIX}/share"
BUILDDIR="${WORKDIR}/build"
src_unpack() {
unpack ${A}
cd "${WORKDIR}/${P}/p"
#comment out read to let ebuild continue
sed -i -e "s:read:#read:" config-lang.in || die "seding autoreplies failed"
#and remove that P var (it doesn't seem to do much except to break a build)
sed -i -e "s:\$(P)::" Make-lang.in || die "seding Make-lan.in failed"
cd "${WORKDIR}"
mv ${P}/p "${S}/gcc/"
# Build in a separate build tree
mkdir -p ${BUILDDIR}
}
src_compile() {
local myconf
if use nls; then
myconf="${myconf} --enable-nls --without-included-gettext"
else
myconf="${myconf} --disable-nls"
fi
# reasonably sane globals (from toolchain)
myconf="${myconf} \
--with-system-zlib \
--disable-checking \
--disable-werror \
--disable-libunwind-exceptions"
use amd64 && myconf="${myconf} --disable-multilib"
cd ${BUILDDIR}
tc-export CC
einfo "Configuring GCC for GPC build..."
# addwrite "/dev/zero"
"${S}"/configure \
--prefix=${PREFIX} \
--libdir="${LIBPATH}" \
--libexecdir="${LIBEXECPATH}" \
--datadir=${DATAPATH} \
--mandir=${DATAPATH}/man \
--infodir=${DATAPATH}/info \
--program-prefix="" \
--enable-shared \
--host=${CHOST} \
--target=${CTARGET} \
--enable-languages="c,pascal" \
--enable-threads=posix \
--enable-long-long \
--enable-cstdio=stdio \
--enable-clocale=generic \
--enable-__cxa_atexit \
--enable-version-specific-runtime-libs \
--with-local-prefix=${PREFIX}/local \
${myconf} || die "configure failed"
touch "${S}"/gcc/c-gperf.h
einfo "Building GPC..."
# Fix for our libtool-portage.patc
MAKEOPTS="${MAKEOPTS} -j1" emake LIBPATH="${LIBPATH}" bootstrap || die "make failed"
}
src_install () {
# Do not allow symlinks in ${PREFIX}/lib/gcc-lib/${CHOST}/${PV}/include as
# this can break the build.
for x in cd ${BUILDDIR}/gcc/include/*; do
if [ -L ${x} ]; then
rm -f ${x}
fi
done
einfo "Installing GPC..."
cd ${BUILDDIR}/gcc
make DESTDIR="${D}" \
pascal.install-with-gcc || die
# gcc insists on installing libs in its own place
mv "${D}${LIBPATH}/gcc/${CTARGET}/${GCCRELEASE}"/* "${D}${LIBPATH}"
if [ "${ARCH}" == "amd64" ]; then
# ATTN! this may in fact be related to multilib, rather than amd64
mv "${D}${LIBPATH}/gcc/${CTARGET}"/lib64/libgcc_s* "${D}${LIBPATH}"
mv "${D}${LIBPATH}/gcc/${CTARGET}"/lib/libgcc_s* "${D}${LIBPATH}"/32/
fi
mv "${D}${LIBEXECPATH}/gcc/${CTARGET}/${GCCRELEASE}"/* "${D}${LIBEXECPATH}"
rm -rf "${D}${LIBPATH}/gcc"
rm -rf "${D}${LIBEXECPATH}/gcc"
rm -rf "${D}${LIBEXECPATH}"/install-tools/
# Install documentation.
dodir /usr/share/doc/${PF}
mv "${D}${PREFIX}"/doc/gpc/* "${D}"/usr/share/doc/${PF}
prepalldocs
# final cleanups
rmdir "${D}${PREFIX}"/include "${D}/${PREFIX}"/share/man/man7
rm -rf "${D}${PREFIX}"/doc
# create an env.d entry
dodir /etc/env.d
echo "PATH=${LIBEXECPATH}" > "${D}"etc/env.d/56gpc
echo "ROOTPATH=${LIBEXECPATH}" >> "${D}"etc/env.d/56gpc
}
pkg_postinst ()
{
einfo
elog "Please don't forget to source /etc/profile"
einfo
}

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

@ -1,16 +0,0 @@
DIST path64-assembler-1.0.0_pre20110821.tbz2 1095418 SHA256 6046a032a8172a16046588388e73caf364f1537c33b85396b8ce7e64d59ff031 SHA512 c99d7c1a4afb804e1518c87ab213f73cf93c45c65e2ebbf2acc0131ecf10b638cf1da4af9fadae27915ce98560a16db4345f167baeffc0bb374e4bd6aac8cd6c WHIRLPOOL 075b11b4401ba5f16739e88623c4a4606f30630060697d63a7247e06b676223e444ceb616b852e0936b0e2dcf2f706f525dd3a4236544c3f14d3573c2c54eaa4
DIST path64-assembler-1.0.0_pre20110924.tbz2 1095149 SHA256 90425c8d70b6083e728946be8dd059d7c264e8f6d5953826fa4ac5636e1da688 SHA512 22c05fd02b1633523d0270ff42c0a4b857cc862449855b545f4ffb0f5f57cbcd773b9eae0f38ccaa20cc089666fc7b6fe758e3b1df710c53fd2a6578b711db24 WHIRLPOOL 73682ab63223770949d85d5f8dc84847ebdd248f4f4f1638e6048870fd6c582775d2246aeb5ae4fc585084c9196609aec4cb2632a43ca3a1ad6e31eb05e82c92
DIST path64-assembler-1.0.0_pre20111108.tbz2 1359302 SHA256 3e81bed49f092506c5f7e7032c541dacf6f9e80f422aac6b8239e9488822d679 SHA512 c251a36d83ff6f5c7704d76c13ae23ac4ebcce29c5058ef2afb7e75092f834d6d4872cc64e087de14e6e6f397cc33138cb2b96fd96320910e880b5e4f829151b WHIRLPOOL 5afb5f67f10ed195b19a20e0869782e6404040061c5ce38fddb1825e30c171c8e82d3652821ae05d7c4b8ef178a166709e07afa869226265def1ae37b09c31a1
DIST path64-assembler-1.0.0_pre20120223.tbz2 1359028 SHA256 ecf1b3b1cffc83d1e63b064ac0ed0de1b75d1c4692cf9b2613cb251faabcd33c SHA512 38e1ca1ceda911c5bf7a69df071440eb70c91b243ec437188c2aa41dfaa3ca7c4a2f83a47f0f2123c69d6c89cab1eee8f25f913d99a70920f9540b1ef0786295 WHIRLPOOL 552452aa6e54352715ff54abefea252e9bc61f324ecc5568df1d8af7a4847e2bc0f3d242ee9bca8f0ccde883c8fc13ad3d3a2c6991d5f599232cf7e390904ad2
DIST path64-compiler-1.0.0_pre20110821.tbz2 21221669 SHA256 70e47bc04e32708a9c70cad552f4f51acb511707fb3ecd8456875b8f8f7d0b02 SHA512 92196ad4d1b5d80aa705247d412ba7ea88c1f69eb9cfca81feeb9cecb62e4c8a6a02a40ea890da90c0b4f1cebffc18dfabc43a9bc1b83a7dab6e02bf6ec9f6f9 WHIRLPOOL 24aec9919dda2db93ae3a3d9d86362ac53cc721ff6368544ace57698b5b79f2b25ce484011d0360204537c2d53ed4b807f46a2fb8a7c702914ae6de15e6d3545
DIST path64-compiler-1.0.0_pre20110924.tbz2 21084223 SHA256 aef5fcef24bdc11eea277dc5fb2ecf490ab4e949a0f490b57614b0907d0d8bab SHA512 ce48398aa0a82ee2699a5ddac495bc568bf123a98c944a38b0a4625ec38604ecbd780a9521810c5dc704df78b9207dc375259713a9c8caa0c7a50c7c42f9590b WHIRLPOOL 3ae92d97d83d8858cc35373bb2d2678d2075a8e90c993c2b292606f13f8b92d8e3228ebdaa0b4d1434c7c1ad8642c61e877551c0355cd7cb56c0e6e88ff2943a
DIST path64-compiler-1.0.0_pre20111108.tbz2 21176793 SHA256 56fcb586b75e65c2cc00b77c247ddaf50d74d99b6953d920064fdbd61d0bbc05 SHA512 a794f2273266a1f324a81195278e3c974a33c9f92a8891aab167a7af172564abf0e2b74b1808ef5bac0998b4022c083ee4c6aef3a2c87cbd59960b143ff2dad4 WHIRLPOOL 63845c99564e8ac56da930001a51c382103950d657b15a1687e90401c68825971f356c31699a3fbd11003bd62ffc996a050a3df62bf94926c0fd6967e5c25816
DIST path64-compiler-1.0.0_pre20120223.tbz2 21191645 SHA256 dd6ca637f80d0a2f442ce01bbb3d7931b8f1f6a25206443d21aa247d282db7d6 SHA512 cc318698f8627fa15689803bfc862fbf4b854378d5ebd50a6884b3acec8b3ef3bcae47fcd9c1a17fc8523f8d11db253d1ee6ba550bef8402ab7cd0c005180d31 WHIRLPOOL e4f5a9601ba1657050ea09a03f88d27fa4335611f9c93c457c3b4e7f30fadca9980de5457b570735b45dbd9dde2544baf22d7e39d05c039ca04e2fe5d33fd6fb
DIST path64-debugger-1.0.0_pre20110821.tbz2 304870 SHA256 ac8a8141a9626e38cceb469c36bdd0a6793b91c09ef02d4379e5a737fe47d7ac SHA512 10a71bb3b2dd327cd582ecd741a988f161a33a960ee89ac23f0597def32391c45a7f96a38383d4e714c37aa3c143b49de402a3b8c954717d5dfc3e2b9cacacac WHIRLPOOL d5f2e18e898f34a6879beb1eab19ddb7b86e61197a97218a2a9eb4bc7ef99e82d548fe72f54c09fc353f3283b9e04759701a650e78f663ad43ca1ddf4be16d45
DIST path64-debugger-1.0.0_pre20110924.tbz2 305006 SHA256 2537b7d6fae6aa868dafb2704b764fdffa884a727d08e695f86baee6cd3a5034 SHA512 56e0e9b31171905557fef85282867201ae1a2fae871c087facd43377aef14435e77781b3e9b4758e44a4aab27544dd1bc4d7abad1f0c2233479e6e032432a243 WHIRLPOOL 7854a0438f9d388386e5a58bde70abe19c72442e6dd3da2223f0dc6c94099bbb559424441d667bc2dad7616a1ca763b22e5a15235e84bf6ddebb67e9602df89d
DIST path64-debugger-1.0.0_pre20111108.tbz2 304753 SHA256 766427a341d8b08c39cdd25b06e79e7c59a30955a02dccb3b340d7dfc76f6315 SHA512 e7908c2a6c1deb7ddad77f704dedd8c50768accac9ab8a56d077c2905bf6b85c8b427c66c71cea867c1b12bc599ceaf9bb4cf8ece77e3e1d969fcedf25b0aeaf WHIRLPOOL e834815c2ef47dd8aaabcfb831e20b12f71355592e0488d2939cc2a073a315d2e0ec810b40e512c0efd7f3ef345342830c86387bce44430b5418d5698509813a
DIST path64-debugger-1.0.0_pre20120223.tbz2 304639 SHA256 28044cdd27c6a143e5c310e22dfd22513d7ebac43ba78887f9a2eea223809484 SHA512 02721c2f82d207de98e9f28d6397d464f74afd46b03deda0364cac78ce249a8887fe2560babf69c78d310156b558910273520541b9983646e3c9b9d51c9b01be WHIRLPOOL 2428406e41bfe8bbb291c4be6b4e333247589618c36205cb462470784b95959d687ccb770a242576bbfb9e015a44126bbabcc5ea525cc8f7e054e82dfb8478ce
DIST path64-suite-1.0.0_pre20110821.tbz2 9850 SHA256 de50ecb38951847e941a826443fdcc3de8119b86cb0efc38b63e8e98837a1342 SHA512 07e78a83003ab5d1ffd709e171e8a194c21dec9e3fec47378a29ca491424e40bc76f3c387d144f9decf4cced37df7c531b71cf2843ea02685b54507cafe03766 WHIRLPOOL dae1e1526283e25495acc1e5643291c8f2f8092f2fdd9168404e30c25c68d1d6bed1b75378190920a3c8b7f7ba68f2fd66325fc064d22806719d29e947aebde5
DIST path64-suite-1.0.0_pre20110924.tbz2 10596 SHA256 345f15eff3a4a86ad1540b9b2d9bb1205321883c400b00dfa94e3646cf196782 SHA512 8a9aab980ac52af5a2e1d0be9a2a91d057b8c01ab80336e3eb451cfd080a3561c027fd87205001584dd71b46bcc4dd23d3466fc331b6caf60f3d81f3f3cd6492 WHIRLPOOL 0adf22fd27d2389624e8b9eb2fac44f7a56b030c0b13878c1a334784fec48321ca2f20bb6ef1300e51e9d8d3edeafc9a064d78d274549fbd7062548de978a580
DIST path64-suite-1.0.0_pre20111108.tbz2 12941 SHA256 7620caef7911a45477b6efd1334dff1ed961ce79fdc9db8de8870745b4d7b320 SHA512 93d2d5496fa10de0ad9c140fe835ca6066022fe730c32eca0c68d56b6071d762b718a6f7acc4c9b48dca8987fd8e43e01ad4fa2555c8d76a60cde6e7c255a7d5 WHIRLPOOL 8eb56a99f114a74c9029e613b51bc1de52a84a3000a1532d6a36123665cb45197720029f7ef7ad4a6553869d55e50cea6e99f38a48ebeee3c84bab1082b7a034
DIST path64-suite-1.0.0_pre20120223.tbz2 12976 SHA256 4e21590204a10eba873509461d97cf97d857f2018ab04127c50625571483178b SHA512 91ca273ef18ebb264369bec6091165cd7ba5a53b9ac40aeb17f877460d92833174ef0c583625f29e8bcf2158cc63af0c386c49d2303cc88120978d447c471688 WHIRLPOOL e6f0c20d074983cec90682e99cebbc9cafe9ac2a2720a5276a844aed5a6f6c4beeaa654828fd52487083760b4c0d9fc20e8b3ad5152d2c6519d8918a41f1f2c7

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>sci</herd>
<longdescription>
The PathScale EKOPath Compiler Suite offers programmers a rich set of tools and
one of the world's most sophisticated optimization infrastructures to maximize
program performance on any Intel 64 or AMD64 platform supporting Intel MMX,
SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AMD SSE4A and AVX.
</longdescription>
<use>
<flag name='assembler'>Build PathAS</flag>
<flag name='debugger'>Build PathDB</flag>
<flag name='native'>Use EKOPath/Path64 for bootstraping</flag>
<flag name='valgrind'>Use <pkg>dev-util/valgrind</pkg> for memory debbuging</flag>
</use>
</pkgmetadata>

@ -1,94 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
CMAKE_VERBOSE=1
MY_MIRROR=https://dev.gentoo.org/~xarthisius/distfiles
inherit cmake-utils multilib toolchain-funcs
DESCRIPTION="Path64 Compiler Suite Community Edition"
HOMEPAGE="http://www.pathscale.com/ekopath-compiler-suite"
SRC_URI="${MY_MIRROR}/${PN}-suite-${PV}.tbz2
${MY_MIRROR}/${PN}-compiler-${PV}.tbz2
assembler? ( ${MY_MIRROR}/${PN}-assembler-${PV}.tbz2 )
debugger? ( ${MY_MIRROR}/${PN}-debugger-${PV}.tbz2 )"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="assembler custom-cflags debugger fortran +native +openmp valgrind"
DEPEND="!native? ( sys-devel/gcc[vanilla] )
native? ( || ( dev-lang/ekopath dev-lang/path64 ) )
valgrind? ( dev-util/valgrind )"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${PN}
pkg_setup() {
if use custom-cflags ; then
ewarn "You are trying to build ${PN} with custom-cflags"
ewarn "There is a high chance that you will utterly fail!"
ewarn "Unless you know what you are doing you'd better stop now"
ewarn "Should you decide to proceed, you are on your own..."
fi
}
src_prepare() {
local ver=$(grep 'SET(PSC_FULL_VERSION' CMakeLists.txt | cut -d'"' -f2)
cat > "98${PN}" <<-EOF
PATH=/usr/$(get_libdir)/${PN}/bin
ROOTPATH=/usr/$(get_libdir)/${PN}/bin
LDPATH=/usr/$(get_libdir)/${PN}/lib:/usr/$(get_libdir)/${PN}/lib/${ver}/x8664/64
EOF
sed -i -e "s/-Wl,-s //" CMakeLists.txt || die #strip
}
src_configure() {
local linker=$($(tc-getCC) --help -v 2>&1 >/dev/null | \
sed -n -e '/dynamic-linker/s:.* -dynamic-linker \([^ ]\+\) .*:\1:p')
local libgcc=$($(tc-getCC) -print-libgcc-file-name)
use custom-cflags && flags=(
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
)
# Yup, I know how bad it is, but I'd rather have a working compiler
unset FC F90 F77 FCFLAGS F90FLAGS FFLAGS CFLAGS CXXFLAGS
if use native ; then
export CMAKE_BUILD_TYPE=Release
export CC=pathcc
export CXX=pathCC
export MYCMAKEARGS="-UCMAKE_USER_MAKE_RULES_OVERRIDE"
else
export CMAKE_BUILD_TYPE=Debug
fi
mycmakeargs=(
-DCMAKE_INSTALL_PREFIX=/usr/$(get_libdir)/${PN}
-DPATH64_ENABLE_TARGETS="x86_64"
-DPATH64_ENABLE_PROFILING=ON
-DPATH64_ENABLE_MATHLIBS=ON
-DPATH64_ENABLE_PATHOPT2=OFF
$(cmake-utils_use assembler PATH64_ENABLE_PATHAS)
$(cmake-utils_use assembler PATH64_ENABLE_DEFAULT_PATHAS)
$(cmake-utils_use fortran PATH64_ENABLE_FORTRAN)
$(cmake-utils_use openmp PATH64_ENABLE_OPENMP)
$(cmake-utils_use debugger PATH64_ENABLE_PATHDB)
$(cmake-utils_use valgrind PATH64_ENABLE_VALGRIND)
-DPSC_CRT_PATH_x86_64=/usr/$(get_libdir)
-DPSC_CRTBEGIN_PATH=$(dirname ${libgcc})
-DPSC_DYNAMIC_LINKER_x86_64=${linker}
-DCMAKE_C_COMPILER="$(tc-getCC)"
-DCMAKE_CXX_COMPILER="$(tc-getCXX)"
"${flags[@]}"
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
doenvd "98${PN}"
}

@ -1,94 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
CMAKE_VERBOSE=1
MY_MIRROR=https://dev.gentoo.org/~xarthisius/distfiles
inherit cmake-utils multilib toolchain-funcs
DESCRIPTION="Path64 Compiler Suite Community Edition"
HOMEPAGE="http://www.pathscale.com/ekopath-compiler-suite"
SRC_URI="${MY_MIRROR}/${PN}-suite-${PV}.tbz2
${MY_MIRROR}/${PN}-compiler-${PV}.tbz2
assembler? ( ${MY_MIRROR}/${PN}-assembler-${PV}.tbz2 )
debugger? ( ${MY_MIRROR}/${PN}-debugger-${PV}.tbz2 )"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="assembler custom-cflags debugger fortran +native +openmp valgrind"
DEPEND="!native? ( sys-devel/gcc[vanilla] )
native? ( || ( dev-lang/ekopath dev-lang/path64 ) )
valgrind? ( dev-util/valgrind )"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${PN}
pkg_setup() {
if use custom-cflags ; then
ewarn "You are trying to build ${PN} with custom-cflags"
ewarn "There is a high chance that you will utterly fail!"
ewarn "Unless you know what you are doing you'd better stop now"
ewarn "Should you decide to proceed, you are on your own..."
fi
}
src_prepare() {
local ver=$(grep 'SET(PSC_FULL_VERSION' CMakeLists.txt | cut -d'"' -f2)
cat > "98${PN}" <<-EOF
PATH=/usr/$(get_libdir)/${PN}/bin
ROOTPATH=/usr/$(get_libdir)/${PN}/bin
LDPATH=/usr/$(get_libdir)/${PN}/lib:/usr/$(get_libdir)/${PN}/lib/${ver}/x8664/64
EOF
sed -i -e "s/-Wl,-s //" CMakeLists.txt || die #strip
}
src_configure() {
local linker=$($(tc-getCC) --help -v 2>&1 >/dev/null | \
sed -n -e '/dynamic-linker/s:.* -dynamic-linker \([^ ]\+\) .*:\1:p')
local libgcc=$($(tc-getCC) -print-libgcc-file-name)
use custom-cflags && flags=(
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
)
# Yup, I know how bad it is, but I'd rather have a working compiler
unset FC F90 F77 FCFLAGS F90FLAGS FFLAGS CFLAGS CXXFLAGS
if use native ; then
export CMAKE_BUILD_TYPE=Release
export CC=pathcc
export CXX=pathCC
export MYCMAKEARGS="-UCMAKE_USER_MAKE_RULES_OVERRIDE"
else
export CMAKE_BUILD_TYPE=Debug
fi
mycmakeargs=(
-DCMAKE_INSTALL_PREFIX=/usr/$(get_libdir)/${PN}
-DPATH64_ENABLE_TARGETS="x86_64"
-DPATH64_ENABLE_PROFILING=ON
-DPATH64_ENABLE_MATHLIBS=ON
-DPATH64_ENABLE_PATHOPT2=OFF
$(cmake-utils_use assembler PATH64_ENABLE_PATHAS)
$(cmake-utils_use assembler PATH64_ENABLE_DEFAULT_PATHAS)
$(cmake-utils_use fortran PATH64_ENABLE_FORTRAN)
$(cmake-utils_use openmp PATH64_ENABLE_OPENMP)
$(cmake-utils_use debugger PATH64_ENABLE_PATHDB)
$(cmake-utils_use valgrind PATH64_ENABLE_VALGRIND)
-DPSC_CRT_PATH_x86_64=/usr/$(get_libdir)
-DPSC_CRTBEGIN_PATH=$(dirname ${libgcc})
-DPSC_DYNAMIC_LINKER_x86_64=${linker}
-DCMAKE_C_COMPILER="$(tc-getCC)"
-DCMAKE_CXX_COMPILER="$(tc-getCXX)"
"${flags[@]}"
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
doenvd "98${PN}"
}

@ -1,94 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
CMAKE_VERBOSE=1
MY_MIRROR=https://dev.gentoo.org/~xarthisius/distfiles
inherit cmake-utils multilib toolchain-funcs
DESCRIPTION="Path64 Compiler Suite Community Edition"
HOMEPAGE="http://www.pathscale.com/ekopath-compiler-suite"
SRC_URI="${MY_MIRROR}/${PN}-suite-${PV}.tbz2
${MY_MIRROR}/${PN}-compiler-${PV}.tbz2
assembler? ( ${MY_MIRROR}/${PN}-assembler-${PV}.tbz2 )
debugger? ( ${MY_MIRROR}/${PN}-debugger-${PV}.tbz2 )"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="assembler custom-cflags debugger fortran +native +openmp valgrind"
DEPEND="!native? ( sys-devel/gcc[vanilla] )
native? ( || ( dev-lang/ekopath dev-lang/path64 ) )
valgrind? ( dev-util/valgrind )"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${PN}
pkg_setup() {
if use custom-cflags ; then
ewarn "You are trying to build ${PN} with custom-cflags"
ewarn "There is a high chance that you will utterly fail!"
ewarn "Unless you know what you are doing you'd better stop now"
ewarn "Should you decide to proceed, you are on your own..."
fi
}
src_prepare() {
local ver=$(grep 'SET(PSC_FULL_VERSION' CMakeLists.txt | cut -d'"' -f2)
cat > "98${PN}" <<-EOF
PATH=/usr/$(get_libdir)/${PN}/bin
ROOTPATH=/usr/$(get_libdir)/${PN}/bin
LDPATH=/usr/$(get_libdir)/${PN}/lib:/usr/$(get_libdir)/${PN}/lib/${ver}/x8664/64
EOF
sed -i -e "s/-Wl,-s //" CMakeLists.txt || die #strip
}
src_configure() {
local linker=$($(tc-getCC) --help -v 2>&1 >/dev/null | \
sed -n -e '/dynamic-linker/s:.* -dynamic-linker \([^ ]\+\) .*:\1:p')
local libgcc=$($(tc-getCC) -print-libgcc-file-name)
use custom-cflags && flags=(
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
)
# Yup, I know how bad it is, but I'd rather have a working compiler
unset FC F90 F77 FCFLAGS F90FLAGS FFLAGS CFLAGS CXXFLAGS
if use native ; then
export CMAKE_BUILD_TYPE=Release
export CC=pathcc
export CXX=pathCC
export MYCMAKEARGS="-UCMAKE_USER_MAKE_RULES_OVERRIDE"
else
export CMAKE_BUILD_TYPE=Debug
fi
mycmakeargs=(
-DCMAKE_INSTALL_PREFIX=/usr/$(get_libdir)/${PN}
-DPATH64_ENABLE_TARGETS="x86_64"
-DPATH64_ENABLE_PROFILING=ON
-DPATH64_ENABLE_MATHLIBS=ON
-DPATH64_ENABLE_PATHOPT2=OFF
$(cmake-utils_use assembler PATH64_ENABLE_PATHAS)
$(cmake-utils_use assembler PATH64_ENABLE_DEFAULT_PATHAS)
$(cmake-utils_use fortran PATH64_ENABLE_FORTRAN)
$(cmake-utils_use openmp PATH64_ENABLE_OPENMP)
$(cmake-utils_use debugger PATH64_ENABLE_PATHDB)
$(cmake-utils_use valgrind PATH64_ENABLE_VALGRIND)
-DPSC_CRT_PATH_x86_64=/usr/$(get_libdir)
-DPSC_CRTBEGIN_PATH=$(dirname ${libgcc})
-DPSC_DYNAMIC_LINKER_x86_64=${linker}
-DCMAKE_C_COMPILER="$(tc-getCC)"
-DCMAKE_CXX_COMPILER="$(tc-getCXX)"
"${flags[@]}"
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
doenvd "98${PN}"
}

@ -1,94 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
CMAKE_VERBOSE=1
MY_MIRROR=https://dev.gentoo.org/~xarthisius/distfiles
inherit cmake-utils multilib toolchain-funcs
DESCRIPTION="Path64 Compiler Suite Community Edition"
HOMEPAGE="http://www.pathscale.com/ekopath-compiler-suite"
SRC_URI="${MY_MIRROR}/${PN}-suite-${PV}.tbz2
${MY_MIRROR}/${PN}-compiler-${PV}.tbz2
assembler? ( ${MY_MIRROR}/${PN}-assembler-${PV}.tbz2 )
debugger? ( ${MY_MIRROR}/${PN}-debugger-${PV}.tbz2 )"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="assembler custom-cflags debugger fortran +native +openmp valgrind"
DEPEND="!native? ( sys-devel/gcc[vanilla] )
native? ( || ( dev-lang/ekopath dev-lang/path64 ) )
valgrind? ( dev-util/valgrind )"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${PN}
pkg_setup() {
if use custom-cflags ; then
ewarn "You are trying to build ${PN} with custom-cflags"
ewarn "There is a high chance that you will utterly fail!"
ewarn "Unless you know what you are doing you'd better stop now"
ewarn "Should you decide to proceed, you are on your own..."
fi
}
src_prepare() {
local ver=$(grep 'SET(PSC_FULL_VERSION' CMakeLists.txt | cut -d'"' -f2)
cat > "98${PN}" <<-EOF
PATH=/usr/$(get_libdir)/${PN}/bin
ROOTPATH=/usr/$(get_libdir)/${PN}/bin
LDPATH=/usr/$(get_libdir)/${PN}/lib:/usr/$(get_libdir)/${PN}/lib/${ver}/x8664/64
EOF
sed -i -e "s/-Wl,-s //" CMakeLists.txt || die #strip
}
src_configure() {
local linker=$($(tc-getCC) --help -v 2>&1 >/dev/null | \
sed -n -e '/dynamic-linker/s:.* -dynamic-linker \([^ ]\+\) .*:\1:p')
local libgcc=$($(tc-getCC) -print-libgcc-file-name)
use custom-cflags && flags=(
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
)
# Yup, I know how bad it is, but I'd rather have a working compiler
unset FC F90 F77 FCFLAGS F90FLAGS FFLAGS CFLAGS CXXFLAGS
if use native ; then
export CMAKE_BUILD_TYPE=Release
export CC=pathcc
export CXX=pathCC
export MYCMAKEARGS="-UCMAKE_USER_MAKE_RULES_OVERRIDE"
else
export CMAKE_BUILD_TYPE=Debug
fi
mycmakeargs=(
-DCMAKE_INSTALL_PREFIX=/usr/$(get_libdir)/${PN}
-DPATH64_ENABLE_TARGETS="x86_64"
-DPATH64_ENABLE_PROFILING=ON
-DPATH64_ENABLE_MATHLIBS=ON
-DPATH64_ENABLE_PATHOPT2=OFF
$(cmake-utils_use assembler PATH64_ENABLE_PATHAS)
$(cmake-utils_use assembler PATH64_ENABLE_DEFAULT_PATHAS)
$(cmake-utils_use fortran PATH64_ENABLE_FORTRAN)
$(cmake-utils_use openmp PATH64_ENABLE_OPENMP)
$(cmake-utils_use debugger PATH64_ENABLE_PATHDB)
$(cmake-utils_use valgrind PATH64_ENABLE_VALGRIND)
-DPSC_CRT_PATH_x86_64=/usr/$(get_libdir)
-DPSC_CRTBEGIN_PATH=$(dirname ${libgcc})
-DPSC_DYNAMIC_LINKER_x86_64=${linker}
-DCMAKE_C_COMPILER="$(tc-getCC)"
-DCMAKE_CXX_COMPILER="$(tc-getCXX)"
"${flags[@]}"
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
doenvd "98${PN}"
}

@ -6,7 +6,7 @@ EAPI=5
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool systemd
KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
function php_get_uri ()
{

@ -6,7 +6,7 @@ EAPI=5
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool systemd
KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
function php_get_uri ()
{

@ -81,21 +81,15 @@ DEPEND="
apache2? ( || ( >=www-servers/apache-2.4[apache2_modules_unixd,threads=]
<www-servers/apache-2.4[threads=] ) )"
# This wacky berkdb dependency really means "any 4.x or 5.x version of
# sys-libs/db". The ./configure flag is called --with-db4, but this is a
# misnomer since db5 also works (bug #521222). We really want to say
# "any 4.x or 5.x slot", but that's not possible. The safest thing to
# do is list all 4.x and 5.x slots in order of preference.
# The supported (that is, autodetected) versions of BDB are listed in
# the ./configure script. Other versions *work*, but we need to stick to
# the ones that can be detected to avoid a repeat of bug #564824.
DEPEND="${DEPEND}
berkdb? ( || ( sys-libs/db:5.3
sys-libs/db:5.1
berkdb? ( || ( sys-libs/db:5.1
sys-libs/db:4.8
sys-libs/db:4.7
sys-libs/db:4.6
sys-libs/db:4.5
sys-libs/db:4.4
sys-libs/db:4.3
sys-libs/db:4.2 ) )
sys-libs/db:4.5 ) )
bzip2? ( app-arch/bzip2 )
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
cjk? ( !gd? (

@ -0,0 +1,796 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils autotools autotools-utils flag-o-matic versionator depend.apache apache-module db-use libtool systemd
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
function php_get_uri ()
{
case "${1}" in
"php-pre")
echo "http://downloads.php.net/dsp/${2}"
;;
"php")
echo "http://www.php.net/distributions/${2}"
;;
"olemarkus")
echo "https://dev.gentoo.org/~olemarkus/php/${2}"
;;
"gentoo")
echo "mirror://gentoo/${2}"
;;
*)
die "unhandled case in php_get_uri"
;;
esac
}
PHP_MV="$(get_major_version)"
SLOT="$(get_version_component_range 1-2)"
# alias, so we can handle different types of releases (finals, rcs, alphas,
# betas, ...) w/o changing the whole ebuild
PHP_PV="${PV/_rc/RC}"
PHP_PV="${PHP_PV/_alpha/alpha}"
PHP_PV="${PHP_PV/_beta/beta}"
PHP_RELEASE="php"
[[ ${PV} == ${PV/_alpha/} ]] || PHP_RELEASE="php-pre"
[[ ${PV} == ${PV/_beta/} ]] || PHP_RELEASE="php-pre"
[[ ${PV} == ${PV/_rc/} ]] || PHP_RELEASE="php-pre"
PHP_P="${PN}-${PHP_PV}"
PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
PHP_FPM_CONF_VER="1"
SRC_URI="${PHP_SRC_URI}"
DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs"
HOMEPAGE="http://php.net/"
LICENSE="PHP-3"
S="${WORKDIR}/${PHP_P}"
# We can build the following SAPIs in the given order
SAPIS="embed cli cgi fpm apache2"
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
IUSE="${IUSE}
${SAPIS/cli/+cli}
threads"
IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk
crypt +ctype curl debug
enchant exif frontbase +fileinfo +filter firebird
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash
mssql mysql libmysqlclient mysqli nls
oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm
readline recode selinux +session sharedmem
+simplexml snmp soap sockets spell sqlite ssl
sybase-ct sysvipc systemd tidy +tokenizer truetype unicode vpx wddx
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
DEPEND="
>=app-eselect/eselect-php-0.7.1-r3[apache2?,fpm?]
>=dev-libs/libpcre-8.32[unicode]
apache2? ( || ( >=www-servers/apache-2.4[apache2_modules_unixd,threads=]
<www-servers/apache-2.4[threads=] ) )"
# The supported (that is, autodetected) versions of BDB are listed in
# the ./configure script. Other versions *work*, but we need to stick to
# the ones that can be detected to avoid a repeat of bug #564824.
DEPEND="${DEPEND}
berkdb? ( || ( sys-libs/db:5.1
sys-libs/db:4.8
sys-libs/db:4.7
sys-libs/db:4.6
sys-libs/db:4.5 ) )
bzip2? ( app-arch/bzip2 )
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
cjk? ( !gd? (
virtual/jpeg:0
media-libs/libpng:0=
sys-libs/zlib
) )
crypt? ( >=dev-libs/libmcrypt-2.4 )
curl? ( >=net-misc/curl-7.10.5 )
enchant? ( app-text/enchant )
exif? ( !gd? (
virtual/jpeg:0
media-libs/libpng:0=
sys-libs/zlib
) )
firebird? ( dev-db/firebird )
gd? ( virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
gdbm? ( >=sys-libs/gdbm-1.8.0 )
gmp? ( dev-libs/gmp:0 )
iconv? ( virtual/libiconv )
imap? ( virtual/imap-c-client[ssl=] )
intl? ( dev-libs/icu:= )
iodbc? ( dev-db/libiodbc )
kerberos? ( virtual/krb5 )
ldap? ( >=net-nds/openldap-1.2.11 )
ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 )
libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
mssql? ( dev-db/freetds[mssql] )
libmysqlclient? (
mysql? ( virtual/mysql )
mysqli? ( >=virtual/mysql-4.1 )
)
nls? ( sys-devel/gettext )
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
odbc? ( >=dev-db/unixODBC-1.8.13 )
postgres? ( dev-db/postgresql:* )
qdbm? ( dev-db/qdbm )
readline? ( sys-libs/readline:0 )
recode? ( app-text/recode )
sharedmem? ( dev-libs/mm )
simplexml? ( >=dev-libs/libxml2-2.6.8 )
snmp? ( >=net-analyzer/net-snmp-5.2 )
soap? ( >=dev-libs/libxml2-2.6.8 )
spell? ( >=app-text/aspell-0.50 )
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
ssl? ( dev-libs/openssl:0 )
sybase-ct? ( dev-db/freetds )
tidy? ( app-text/htmltidy )
truetype? (
=media-libs/freetype-2*
>=media-libs/t1lib-5.0.0
!gd? (
virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
)
unicode? ( dev-libs/oniguruma )
vpx? ( media-libs/libvpx )
wddx? ( >=dev-libs/libxml2-2.6.8 )
xml? ( >=dev-libs/libxml2-2.6.8 )
xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv )
xmlreader? ( >=dev-libs/libxml2-2.6.8 )
xmlwriter? ( >=dev-libs/libxml2-2.6.8 )
xpm? (
x11-libs/libXpm
virtual/jpeg:0
media-libs/libpng:0= sys-libs/zlib
)
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
zip? ( sys-libs/zlib )
zlib? ( sys-libs/zlib )
virtual/mta
"
php="=${CATEGORY}/${PF}"
REQUIRED_USE="
truetype? ( gd )
vpx? ( gd )
cjk? ( gd )
exif? ( gd )
xpm? ( gd )
gd? ( zlib )
simplexml? ( xml )
soap? ( xml )
wddx? ( xml )
xmlrpc? ( || ( xml iconv ) )
xmlreader? ( xml )
xslt? ( xml )
ldap-sasl? ( ldap )
mhash? ( hash )
phar? ( hash )
libmysqlclient? ( || (
mysql
mysqli
pdo
) )
qdbm? ( !gdbm )
readline? ( !libedit )
recode? ( !imap !mysql !mysqli )
sharedmem? ( !threads )
!cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )"
RDEPEND="${DEPEND}"
RDEPEND="${RDEPEND}
fpm? (
selinux? ( sec-policy/selinux-phpfpm )
systemd? ( sys-apps/systemd ) )"
DEPEND="${DEPEND}
sys-devel/flex
>=sys-devel/m4-1.4.3
>=sys-devel/libtool-1.5.18"
# Allow users to install production version if they want to
case "${PHP_INI_VERSION}" in
production|development)
;;
*)
PHP_INI_VERSION="development"
;;
esac
PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}"
PHP_INI_FILE="php.ini"
want_apache
pkg_setup() {
depend.apache_pkg_setup
}
php_install_ini() {
local phpsapi="${1}"
# work out where we are installing the ini file
php_set_ini_dir "${phpsapi}"
local phpinisrc="${PHP_INI_UPSTREAM}-${phpsapi}"
cp "${PHP_INI_UPSTREAM}" "${phpinisrc}" || die
# default to /tmp for save_path, bug #282768
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}" || die
# Set the extension dir
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" -i "${phpinisrc}" || die
# Set the include path to point to where we want to find PEAR packages
sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}" || die
dodir "${PHP_INI_DIR#${EPREFIX}}"
insinto "${PHP_INI_DIR#${EPREFIX}}"
newins "${phpinisrc}" "${PHP_INI_FILE}"
elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR#${EPREFIX}}"
elog
dodir "${PHP_EXT_INI_DIR#${EPREFIX}}"
dodir "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}"
if use_if_iuse opcache; then
elog "Adding opcache to $PHP_EXT_INI_DIR"
echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> \
"${D}/${PHP_EXT_INI_DIR}"/opcache.ini
dosym "${PHP_EXT_INI_DIR#${EPREFIX}}/opcache.ini" \
"${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}/opcache.ini"
fi
# SAPI-specific handling
if [[ "${sapi}" == "fpm" ]] ; then
[[ -z ${PHP_FPM_CONF_VER} ]] && PHP_FPM_CONF_VER=0
einfo "Installing FPM CGI config file php-fpm.conf"
insinto "${PHP_INI_DIR#${EPREFIX}}"
newins "${FILESDIR}/php-fpm-r${PHP_FPM_CONF_VER}.conf" php-fpm.conf
# Remove bogus /etc/php-fpm.conf.default (bug 359906)
rm -f "${ED}/etc/php-fpm.conf.default" || die
fi
# Install PHP ini files into /usr/share/php
dodoc php.ini-development
dodoc php.ini-production
}
php_set_ini_dir() {
PHP_INI_DIR="${EPREFIX}/etc/php/${1}-php${SLOT}"
PHP_EXT_INI_DIR="${PHP_INI_DIR}/ext"
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
}
src_prepare() {
# Change PHP branding
# Get the alpha/beta/rc version
sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1-pl${PR/r/}-gentoo\2|g" \
-i configure.in || die "Unable to change PHP branding"
# Patch PHP to show Gentoo as the server platform
sed -e 's/PHP_UNAME=`uname -a | xargs`/PHP_UNAME=`uname -s -n -r -v | xargs`/g' \
-i configure.in || die "Failed to fix server platform name"
# Prevent PHP from activating the Apache config,
# as we will do that ourselves
sed -i \
-e "s,-i -a -n php${PHP_MV},-i -n php${PHP_MV},g" \
-e "s,-i -A -n php${PHP_MV},-i -n php${PHP_MV},g" \
configure sapi/apache2filter/config.m4 sapi/apache2handler/config.m4 \
|| die
# Patch PHP to support heimdal instead of mit-krb5
if has_version "app-crypt/heimdal" ; then
sed -e 's|gssapi_krb5|gssapi|g' -i acinclude.m4 \
|| die "Failed to fix heimdal libname"
sed -e 's|PHP_ADD_LIBRARY(k5crypto, 1, $1)||g' -i acinclude.m4 \
|| die "Failed to fix heimdal crypt library reference"
fi
# Fix a const crash in php-fpm, bug #564690.
# Only applies to php-5.6.15 and should be fixed in 5.6.16.
epatch "${FILESDIR}/fix-5.6.15-fpm-const-crash.patch"
# Add user patches #357637
epatch_user
# Force rebuilding aclocal.m4
rm -f aclocal.m4 || die
eautoreconf
if [[ ${CHOST} == *-darwin* ]] ; then
# http://bugs.php.net/bug.php?id=48795, bug #343481
sed -i -e '/BUILD_CGI="\\$(CC)/s/CC/CXX/' configure || die
fi
}
src_configure() {
addpredict /usr/share/snmp/mibs/.index
addpredict /var/lib/net-snmp/mib_indexes
PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
local our_conf=(
--prefix="${PHP_DESTDIR}"
--mandir="${PHP_DESTDIR}/man"
--infodir="${PHP_DESTDIR}/info"
--libdir="${PHP_DESTDIR}/lib"
--with-libdir="$(get_libdir)"
--without-pear
$(use_enable threads maintainer-zts)
)
our_conf+=(
$(use_enable bcmath bcmath)
$(use_with bzip2 bz2 "${EPREFIX}/usr")
$(use_enable calendar calendar)
$(use_enable ctype ctype)
$(use_with curl curl "${EPREFIX}/usr")
$(use_enable xml dom)
$(use_with enchant enchant "${EPREFIX}/usr")
$(use_enable exif exif)
$(use_enable fileinfo fileinfo)
$(use_enable filter filter)
$(use_enable ftp ftp)
$(use_with nls gettext "${EPREFIX}/usr")
$(use_with gmp gmp "${EPREFIX}/usr")
$(use_enable hash hash)
$(use_with mhash mhash "${EPREFIX}/usr")
$(use_with iconv iconv \
$(use elibc_glibc || use elibc_musl || echo "${EPREFIX}/usr"))
$(use_enable intl intl)
$(use_enable ipv6 ipv6)
$(use_enable json json)
$(use_with kerberos kerberos "${EPREFIX}/usr")
$(use_enable xml libxml)
$(use_with xml libxml-dir "${EPREFIX}/usr")
$(use_enable unicode mbstring)
$(use_with crypt mcrypt "${EPREFIX}/usr")
$(use_with mssql mssql "${EPREFIX}/usr")
$(use_with unicode onig "${EPREFIX}/usr")
$(use_with ssl openssl "${EPREFIX}/usr")
$(use_with ssl openssl-dir "${EPREFIX}/usr")
$(use_enable pcntl pcntl)
$(use_enable phar phar)
$(use_enable pdo pdo)
$(use_enable opcache opcache)
$(use_with postgres pgsql "${EPREFIX}/usr")
$(use_enable posix posix)
$(use_with spell pspell "${EPREFIX}/usr")
$(use_with recode recode "${EPREFIX}/usr")
$(use_enable simplexml simplexml)
$(use_enable sharedmem shmop)
$(use_with snmp snmp "${EPREFIX}/usr")
$(use_enable soap soap)
$(use_enable sockets sockets)
$(use_with sqlite sqlite3 "${EPREFIX}/usr")
$(use_with sybase-ct sybase-ct "${EPREFIX}/usr")
$(use_enable sysvipc sysvmsg)
$(use_enable sysvipc sysvsem)
$(use_enable sysvipc sysvshm)
$(use_with systemd fpm-systemd)
$(use_with tidy tidy "${EPREFIX}/usr")
$(use_enable tokenizer tokenizer)
$(use_enable wddx wddx)
$(use_enable xml xml)
$(use_enable xmlreader xmlreader)
$(use_enable xmlwriter xmlwriter)
$(use_with xmlrpc xmlrpc)
$(use_with xslt xsl "${EPREFIX}/usr")
$(use_enable zip zip)
$(use_with zlib zlib "${EPREFIX}/usr")
$(use_enable debug debug)
)
# DBA support
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|| use qdbm ; then
our_conf+=( "--enable-dba${shared}" )
fi
# DBA drivers support
our_conf+=(
$(use_with cdb cdb)
$(use_with berkdb db4 "${EPREFIX}/usr")
$(use_enable flatfile flatfile)
$(use_with gdbm gdbm "${EPREFIX}/usr")
$(use_enable inifile inifile)
$(use_with qdbm qdbm "${EPREFIX}/usr")
)
# Support for the GD graphics library
our_conf+=(
$(use_with truetype freetype-dir "${EPREFIX}/usr")
$(use_with truetype t1lib "${EPREFIX}/usr")
$(use_enable cjk gd-jis-conv)
$(use_with gd jpeg-dir "${EPREFIX}/usr")
$(use_with gd png-dir "${EPREFIX}/usr")
$(use_with xpm xpm-dir "${EPREFIX}/usr")
$(use_with vpx vpx-dir "${EPREFIX}/usr")
)
# enable gd last, so configure can pick up the previous settings
our_conf+=( $(use_with gd gd) )
# IMAP support
if use imap ; then
our_conf+=(
$(use_with imap imap "${EPREFIX}/usr")
$(use_with ssl imap-ssl "${EPREFIX}/usr")
)
fi
# Interbase/firebird support
our_conf+=( $(use_with firebird interbase "${EPREFIX}/usr") )
# LDAP support
if use ldap ; then
our_conf+=(
$(use_with ldap ldap "${EPREFIX}/usr")
$(use_with ldap-sasl ldap-sasl "${EPREFIX}/usr")
)
fi
# MySQL support
local mysqllib="mysqlnd"
local mysqlilib="mysqlnd"
use libmysqlclient && mysqllib="${EPREFIX}/usr"
use libmysqlclient && mysqlilib="${EPREFIX}/usr/bin/mysql_config"
our_conf+=( $(use_with mysql mysql "${mysqllib}") )
our_conf+=( $(use_with mysqli mysqli "${mysqlilib}") )
local mysqlsock="${EPREFIX}/var/run/mysqld/mysqld.sock"
if use mysql || use mysqli ; then
our_conf+=( $(use_with mysql mysql-sock "${mysqlsock}") )
fi
# ODBC support
our_conf+=(
$(use_with odbc unixODBC "${EPREFIX}/usr")
$(use_with iodbc iodbc "${EPREFIX}/usr")
)
# Oracle support
our_conf+=( $(use_with oci8-instant-client oci8) )
# PDO support
if use pdo ; then
our_conf+=(
$(use_with mssql pdo-dblib)
$(use_with mysql pdo-mysql "${mysqllib}")
$(use_with postgres pdo-pgsql)
$(use_with sqlite pdo-sqlite "${EPREFIX}/usr")
$(use_with odbc pdo-odbc "unixODBC,${EPREFIX}/usr")
$(use_with oci8-instant-client pdo-oci)
)
fi
# readline/libedit support
our_conf+=(
$(use_with readline readline "${EPREFIX}/usr")
$(use_with libedit libedit "${EPREFIX}/usr")
)
# Session support
if use session ; then
our_conf+=( $(use_with sharedmem mm "${EPREFIX}/usr") )
else
our_conf+=( $(use_enable session session) )
fi
# Use pic for shared modules such as apache2's mod_php
our_conf+=( --with-pic )
# we use the system copy of pcre
# --with-pcre-regex affects ext/pcre
# --with-pcre-dir affects ext/filter and ext/zip
our_conf+=(
--with-pcre-regex="${EPREFIX}/usr"
--with-pcre-dir="${EPREFIX}/usr"
)
# Catch CFLAGS problems
# Fixes bug #14067.
# Changed order to run it in reverse for bug #32022 and #12021.
replace-cpu-flags "k6*" "i586"
# Support user-passed configuration parameters
our_conf+=( ${EXTRA_ECONF:-} )
# Support the Apache2 extras, they must be set globally for all
# SAPIs to work correctly, especially for external PHP extensions
mkdir -p "${WORKDIR}/sapis-build" || die
for one_sapi in $SAPIS ; do
use "${one_sapi}" || continue
php_set_ini_dir "${one_sapi}"
# The BUILD_DIR variable is used by autotools-utils to determine
# where to output the files that autotools creates.
BUILD_DIR="${WORKDIR}/sapis-build/${one_sapi}"
cp -r "${S}" "${BUILD_DIR}" || die
cd "${BUILD_DIR}" || die
local sapi_conf=(
--with-config-file-path="${PHP_INI_DIR}"
--with-config-file-scan-dir="${PHP_EXT_INI_DIR_ACTIVE}"
)
for sapi in $SAPIS ; do
case "$sapi" in
cli|cgi|embed|fpm)
if [[ "${one_sapi}" == "${sapi}" ]] ; then
sapi_conf+=( "--enable-${sapi}" )
else
sapi_conf+=( "--disable-${sapi}" )
fi
;;
apache2)
if [[ "${one_sapi}" == "${sapi}" ]] ; then
sapi_conf+=( --with-apxs2="${EPREFIX}/usr/sbin/apxs" )
else
sapi_conf+=( --without-apxs2 )
fi
;;
esac
done
# Construct the autotools-utils $myeconfargs array by
# concatenating $our_conf (the common args) and $sapi_conf (the
# SAPI-specific args).
local myeconfargs=( "${our_conf[@]}" )
myeconfargs+=( "${sapi_conf[@]}" )
autotools-utils_src_configure
done
}
src_compile() {
# snmp seems to run during src_compile, too (bug #324739)
addpredict /usr/share/snmp/mibs/.index
addpredict /var/lib/net-snmp/mib_indexes
for sapi in ${SAPIS} ; do
if use "${sapi}"; then
cd "${WORKDIR}/sapis-build/$sapi" || \
die "Failed to change dir to ${WORKDIR}/sapis-build/$1"
emake
fi
done
}
src_install() {
# see bug #324739 for what happens when we don't have that
addpredict /usr/share/snmp/mibs/.index
# grab the first SAPI that got built and install common files from there
local first_sapi=""
for sapi in $SAPIS ; do
if use $sapi ; then
first_sapi=$sapi
break
fi
done
# Makefile forgets to create this before trying to write to it...
dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
# Install php environment (without any sapis)
cd "${WORKDIR}/sapis-build/$first_sapi" || die
emake INSTALL_ROOT="${D}" \
install-build install-headers install-programs
local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
# Create the directory where we'll put version-specific php scripts
keepdir "/usr/share/php${PHP_MV}"
local sapi="", file=""
local sapi_list=""
for sapi in ${SAPIS}; do
if use "${sapi}" ; then
einfo "Installing SAPI: ${sapi}"
cd "${WORKDIR}/sapis-build/${sapi}" || die
if [[ "${sapi}" == "apache2" ]] ; then
# We're specifically not using emake install-sapi as libtool
# may cause unnecessary relink failures (see bug #351266)
insinto "${PHP_DESTDIR#${EPREFIX}}/apache2/"
newins ".libs/libphp5$(get_libname)" \
"libphp${PHP_MV}$(get_libname)"
keepdir "/usr/$(get_libdir)/apache2/modules"
else
# needed each time, php_install_ini would reset it
local dest="${PHP_DESTDIR#${EPREFIX}}"
into "${dest}"
case "$sapi" in
cli)
source="sapi/cli/php"
;;
cgi)
source="sapi/cgi/php-cgi"
;;
fpm)
source="sapi/fpm/php-fpm"
;;
embed)
source="libs/libphp${PHP_MV}$(get_libname)"
;;
*)
die "unhandled sapi in src_install"
;;
esac
if [[ "${source}" == *"$(get_libname)" ]]; then
dolib.so "${source}"
else
dobin "${source}"
local name="$(basename ${source})"
dosym "${dest}/bin/${name}" "/usr/bin/${name}${SLOT}"
fi
fi
php_install_ini "${sapi}"
# construct correct SAPI string for php-config
# thanks to ferringb for the bash voodoo
if [[ "${sapi}" == "apache2" ]]; then
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
else
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
fi
fi
done
# Installing opcache module
if use_if_iuse opcache ; then
dolib.so "modules/opcache$(get_libname)"
fi
# Install env.d files
newenvd "${FILESDIR}/20php5-envd" "20php${SLOT}"
sed -e "s|/lib/|/$(get_libdir)/|g" -i "${ED}/etc/env.d/20php${SLOT}" || die
sed -e "s|php5|php${SLOT}|g" -i "${ED}/etc/env.d/20php${SLOT}" || die
# set php-config variable correctly (bug #278439)
sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \
"${ED}/usr/$(get_libdir)/php${SLOT}/bin/php-config" || die
if use fpm ; then
if use systemd; then
systemd_newunit "${FILESDIR}/php-fpm_at.service" \
"php-fpm@${SLOT}.service"
else
systemd_newunit "${FILESDIR}/php-fpm_at-simple.service" \
"php-fpm@${SLOT}.service"
fi
fi
}
src_test() {
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
if [[ ! -x "${PHP_BIN}" ]] ; then
ewarn "Test phase requires USE=cli, skipping"
return
else
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
fi
if [[ -x "${WORKDIR}/sapis/cgi/php-cgi" ]] ; then
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis/cgi/php-cgi"
fi
REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d \
"session.save_path=${T}" \
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d \
"session.save_path=${T}"
for name in ${EXPECTED_TEST_FAILURES}; do
mv "${name}.out" "${name}.out.orig" 2>/dev/null || die
done
local failed="$(find -name '*.out')"
if [[ ${failed} != "" ]] ; then
ewarn "The following test cases failed unexpectedly:"
for name in ${failed}; do
ewarn " ${name/.out/}"
done
else
einfo "No unexpected test failures, all fine"
fi
if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
local passed=""
for name in ${EXPECTED_TEST_FAILURES}; do
[[ -f "${name}.diff" ]] && continue
passed="${passed} ${name}"
done
if [[ ${passed} != "" ]] ; then
einfo "The following test cases passed unexpectedly:"
for name in ${passed}; do
ewarn " ${passed}"
done
else
einfo "None of the known-to-fail tests passed, all fine"
fi
fi
}
pkg_postinst() {
# Output some general info to the user
if use apache2 ; then
APACHE2_MOD_DEFINE="PHP5"
APACHE2_MOD_CONF="70_mod_php5" # Provided by app-eselect/eselect-php
apache-module_pkg_postinst
fi
# Create the symlinks for php
for m in ${SAPIS}; do
[[ ${m} == 'embed' ]] && continue;
if use $m ; then
local ci=$(eselect php show $m)
if [[ -z $ci ]]; then
eselect php set $m php${SLOT} || die
einfo "Switched ${m} to use php:${SLOT}"
einfo
elif [[ $ci != "php${SLOT}" ]] ; then
elog "To switch $m to use php:${SLOT}, run"
elog " eselect php set $m php${SLOT}"
elog
fi
fi
done
elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes"
elog "php${SLOT/./-} in order to compile extensions for the ${SLOT} ABI."
elog
if ! use readline && use cli ; then
ewarn "Note that in order to use php interactivly, you need to"
ewarn "enable the readline USE flag or php -a will hang."
elog
fi
elog "This ebuild installed a version of php.ini based on"
elog "php.ini-${PHP_INI_VERSION}. You can choose which version of"
elog "php.ini to install by default by setting PHP_INI_VERSION"
elog "to either 'production' or 'development' in your make.conf."
elog "Both versions of php.ini can be found with the PHP docs in"
elog "${EPREFIX}/usr/share/doc/${PF}"
elog
elog "For more details on how minor version slotting works,"
elog "please see the wiki:"
elog
elog " https://wiki.gentoo.org/wiki/PHP"
elog
}
pkg_prerm() {
# This returns "1" on success so we can't "|| die" here.
eselect php cleanup
}

@ -81,21 +81,15 @@ DEPEND="
apache2? ( || ( >=www-servers/apache-2.4[apache2_modules_unixd,threads=]
<www-servers/apache-2.4[threads=] ) )"
# This wacky berkdb dependency really means "any 4.x or 5.x version of
# sys-libs/db". The ./configure flag is called --with-db4, but this is a
# misnomer since db5 also works (bug #521222). We really want to say
# "any 4.x or 5.x slot", but that's not possible. The safest thing to
# do is list all 4.x and 5.x slots in order of preference.
# The supported (that is, autodetected) versions of BDB are listed in
# the ./configure script. Other versions *work*, but we need to stick to
# the ones that can be detected to avoid a repeat of bug #564824.
DEPEND="${DEPEND}
berkdb? ( || ( sys-libs/db:5.3
sys-libs/db:5.1
berkdb? ( || ( sys-libs/db:5.1
sys-libs/db:4.8
sys-libs/db:4.7
sys-libs/db:4.6
sys-libs/db:4.5
sys-libs/db:4.4
sys-libs/db:4.3
sys-libs/db:4.2 ) )
sys-libs/db:4.5 ) )
bzip2? ( app-arch/bzip2 )
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
cjk? ( !gd? (

@ -0,0 +1,767 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils autotools autotools-utils flag-o-matic versionator depend.apache apache-module db-use libtool systemd
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
function php_get_uri ()
{
case "${1}" in
"php-pre")
echo "http://downloads.php.net/ab/${2}"
;;
"php")
echo "http://www.php.net/distributions/${2}"
;;
"olemarkus")
echo "https://dev.gentoo.org/~olemarkus/php/${2}"
;;
"gentoo")
echo "mirror://gentoo/${2}"
;;
*)
die "unhandled case in php_get_uri"
;;
esac
}
PHP_MV="$(get_major_version)"
SLOT="$(get_version_component_range 1-2)"
# alias, so we can handle different types of releases (finals, rcs, alphas,
# betas, ...) w/o changing the whole ebuild
PHP_PV="${PV/_rc/RC}"
PHP_PV="${PHP_PV/_alpha/alpha}"
PHP_PV="${PHP_PV/_beta/beta}"
PHP_RELEASE="php"
[[ ${PV} == ${PV/_alpha/} ]] || PHP_RELEASE="php-pre"
[[ ${PV} == ${PV/_beta/} ]] || PHP_RELEASE="php-pre"
[[ ${PV} == ${PV/_rc/} ]] || PHP_RELEASE="php-pre"
PHP_P="${PN}-${PHP_PV}"
PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
PHP_FPM_CONF_VER="1"
SRC_URI="${PHP_SRC_URI}"
DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs"
HOMEPAGE="http://php.net/"
LICENSE="PHP-3"
S="${WORKDIR}/${PHP_P}"
# We can build the following SAPIs in the given order
SAPIS="embed cli cgi fpm apache2"
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
IUSE="${IUSE}
${SAPIS/cli/+cli}
threads"
IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk
crypt +ctype curl debug
enchant exif frontbase +fileinfo +filter firebird
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash
mysql mysqli nls
oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm
readline recode selinux +session sharedmem
+simplexml snmp soap sockets spell sqlite ssl
sysvipc systemd tidy +tokenizer truetype unicode vpx wddx
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
DEPEND="
>=app-eselect/eselect-php-0.7.1-r3[apache2?,fpm?]
>=dev-libs/libpcre-8.32[unicode]
apache2? ( || ( >=www-servers/apache-2.4[apache2_modules_unixd,threads=]
<www-servers/apache-2.4[threads=] ) )"
# The supported (that is, autodetected) versions of BDB are listed in
# the ./configure script. Other versions *work*, but we need to stick to
# the ones that can be detected to avoid a repeat of bug #564824.
DEPEND="${DEPEND}
berkdb? ( || ( sys-libs/db:5.1
sys-libs/db:4.8
sys-libs/db:4.7
sys-libs/db:4.6
sys-libs/db:4.5 ) )
bzip2? ( app-arch/bzip2 )
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
cjk? ( !gd? (
virtual/jpeg:0
media-libs/libpng:0=
sys-libs/zlib
) )
crypt? ( >=dev-libs/libmcrypt-2.4 )
curl? ( >=net-misc/curl-7.10.5 )
enchant? ( app-text/enchant )
exif? ( !gd? (
virtual/jpeg:0
media-libs/libpng:0=
sys-libs/zlib
) )
firebird? ( dev-db/firebird )
gd? ( virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
gdbm? ( >=sys-libs/gdbm-1.8.0 )
gmp? ( dev-libs/gmp:0 )
iconv? ( virtual/libiconv )
imap? ( virtual/imap-c-client[ssl=] )
intl? ( dev-libs/icu:= )
iodbc? ( dev-db/libiodbc )
kerberos? ( virtual/krb5 )
ldap? ( >=net-nds/openldap-1.2.11 )
ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 )
libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
nls? ( sys-devel/gettext )
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
odbc? ( >=dev-db/unixODBC-1.8.13 )
postgres? ( dev-db/postgresql:* )
qdbm? ( dev-db/qdbm )
readline? ( sys-libs/readline:0 )
recode? ( app-text/recode )
sharedmem? ( dev-libs/mm )
simplexml? ( >=dev-libs/libxml2-2.6.8 )
snmp? ( >=net-analyzer/net-snmp-5.2 )
soap? ( >=dev-libs/libxml2-2.6.8 )
spell? ( >=app-text/aspell-0.50 )
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
ssl? ( dev-libs/openssl:0 )
tidy? ( app-text/htmltidy )
truetype? (
=media-libs/freetype-2*
!gd? (
virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
)
unicode? ( dev-libs/oniguruma )
vpx? ( media-libs/libvpx )
wddx? ( >=dev-libs/libxml2-2.6.8 )
xml? ( >=dev-libs/libxml2-2.6.8 )
xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv )
xmlreader? ( >=dev-libs/libxml2-2.6.8 )
xmlwriter? ( >=dev-libs/libxml2-2.6.8 )
xpm? (
x11-libs/libXpm
virtual/jpeg:0
media-libs/libpng:0= sys-libs/zlib
)
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
zip? ( sys-libs/zlib )
zlib? ( sys-libs/zlib )
virtual/mta
"
php="=${CATEGORY}/${PF}"
REQUIRED_USE="
truetype? ( gd )
vpx? ( gd )
cjk? ( gd )
exif? ( gd )
xpm? ( gd )
gd? ( zlib )
simplexml? ( xml )
soap? ( xml )
wddx? ( xml )
xmlrpc? ( || ( xml iconv ) )
xmlreader? ( xml )
xslt? ( xml )
ldap-sasl? ( ldap )
mhash? ( hash )
phar? ( hash )
qdbm? ( !gdbm )
readline? ( !libedit )
recode? ( !imap !mysqli )
sharedmem? ( !threads )
mysql? ( || ( mysqli pdo ) )
!cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )"
RDEPEND="${DEPEND}"
RDEPEND="${RDEPEND}
fpm? (
selinux? ( sec-policy/selinux-phpfpm )
systemd? ( sys-apps/systemd ) )"
DEPEND="${DEPEND}
sys-devel/flex
>=sys-devel/m4-1.4.3
>=sys-devel/libtool-1.5.18"
# Allow users to install production version if they want to
case "${PHP_INI_VERSION}" in
production|development)
;;
*)
PHP_INI_VERSION="development"
;;
esac
PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}"
PHP_INI_FILE="php.ini"
want_apache
pkg_setup() {
depend.apache_pkg_setup
}
php_install_ini() {
local phpsapi="${1}"
# work out where we are installing the ini file
php_set_ini_dir "${phpsapi}"
local phpinisrc="${PHP_INI_UPSTREAM}-${phpsapi}"
cp "${PHP_INI_UPSTREAM}" "${phpinisrc}" || die
# default to /tmp for save_path, bug #282768
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}" || die
# Set the extension dir
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" -i "${phpinisrc}" || die
# Set the include path to point to where we want to find PEAR packages
sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}" || die
dodir "${PHP_INI_DIR#${EPREFIX}}"
insinto "${PHP_INI_DIR#${EPREFIX}}"
newins "${phpinisrc}" "${PHP_INI_FILE}"
elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR#${EPREFIX}}"
elog
dodir "${PHP_EXT_INI_DIR#${EPREFIX}}"
dodir "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}"
if use_if_iuse opcache; then
elog "Adding opcache to $PHP_EXT_INI_DIR"
echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> \
"${D}/${PHP_EXT_INI_DIR}"/opcache.ini
dosym "${PHP_EXT_INI_DIR#${EPREFIX}}/opcache.ini" \
"${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}/opcache.ini"
fi
# SAPI-specific handling
if [[ "${sapi}" == "fpm" ]] ; then
[[ -z ${PHP_FPM_CONF_VER} ]] && PHP_FPM_CONF_VER=0
einfo "Installing FPM CGI config file php-fpm.conf"
insinto "${PHP_INI_DIR#${EPREFIX}}"
newins "${FILESDIR}/php-fpm-r${PHP_FPM_CONF_VER}.conf" php-fpm.conf
# Remove bogus /etc/php-fpm.conf.default (bug 359906)
rm -f "${ED}/etc/php-fpm.conf.default" || die
fi
# Install PHP ini files into /usr/share/php
dodoc php.ini-development
dodoc php.ini-production
}
php_set_ini_dir() {
PHP_INI_DIR="${EPREFIX}/etc/php/${1}-php${SLOT}"
PHP_EXT_INI_DIR="${PHP_INI_DIR}/ext"
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
}
src_prepare() {
# Change PHP branding
# Get the alpha/beta/rc version
sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1-pl${PR/r/}-gentoo\2|g" \
-i configure.in || die "Unable to change PHP branding"
# Patch PHP to show Gentoo as the server platform
sed -e 's/PHP_UNAME=`uname -a | xargs`/PHP_UNAME=`uname -s -n -r -v | xargs`/g' \
-i configure.in || die "Failed to fix server platform name"
# Patch PHP to support heimdal instead of mit-krb5
if has_version "app-crypt/heimdal" ; then
sed -e 's|gssapi_krb5|gssapi|g' -i acinclude.m4 \
|| die "Failed to fix heimdal libname"
sed -e 's|PHP_ADD_LIBRARY(k5crypto, 1, $1)||g' -i acinclude.m4 \
|| die "Failed to fix heimdal crypt library reference"
fi
# Add user patches #357637
epatch_user
# Force rebuilding aclocal.m4
rm -f aclocal.m4 || die
eautoreconf
if [[ ${CHOST} == *-darwin* ]] ; then
# http://bugs.php.net/bug.php?id=48795, bug #343481
sed -i -e '/BUILD_CGI="\\$(CC)/s/CC/CXX/' configure || die
fi
}
src_configure() {
addpredict /usr/share/snmp/mibs/.index
addpredict /var/lib/net-snmp/mib_indexes
PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
local our_conf=(
--prefix="${PHP_DESTDIR}"
--mandir="${PHP_DESTDIR}/man"
--infodir="${PHP_DESTDIR}/info"
--libdir="${PHP_DESTDIR}/lib"
--with-libdir="$(get_libdir)"
--without-pear
$(use_enable threads maintainer-zts)
)
our_conf+=(
$(use_enable bcmath bcmath)
$(use_with bzip2 bz2 "${EPREFIX}/usr")
$(use_enable calendar calendar)
$(use_enable ctype ctype)
$(use_with curl curl "${EPREFIX}/usr")
$(use_enable xml dom)
$(use_with enchant enchant "${EPREFIX}/usr")
$(use_enable exif exif)
$(use_enable fileinfo fileinfo)
$(use_enable filter filter)
$(use_enable ftp ftp)
$(use_with nls gettext "${EPREFIX}/usr")
$(use_with gmp gmp "${EPREFIX}/usr")
$(use_enable hash hash)
$(use_with mhash mhash "${EPREFIX}/usr")
$(use_with iconv iconv \
$(use elibc_glibc || use elibc_musl || echo "${EPREFIX}/usr"))
$(use_enable intl intl)
$(use_enable ipv6 ipv6)
$(use_enable json json)
$(use_with kerberos kerberos "${EPREFIX}/usr")
$(use_enable xml libxml)
$(use_with xml libxml-dir "${EPREFIX}/usr")
$(use_enable unicode mbstring)
$(use_with crypt mcrypt "${EPREFIX}/usr")
$(use_with unicode onig "${EPREFIX}/usr")
$(use_with ssl openssl "${EPREFIX}/usr")
$(use_with ssl openssl-dir "${EPREFIX}/usr")
$(use_enable pcntl pcntl)
$(use_enable phar phar)
$(use_enable pdo pdo)
$(use_enable opcache opcache)
$(use_with postgres pgsql "${EPREFIX}/usr")
$(use_enable posix posix)
$(use_with spell pspell "${EPREFIX}/usr")
$(use_with recode recode "${EPREFIX}/usr")
$(use_enable simplexml simplexml)
$(use_enable sharedmem shmop)
$(use_with snmp snmp "${EPREFIX}/usr")
$(use_enable soap soap)
$(use_enable sockets sockets)
$(use_with sqlite sqlite3 "${EPREFIX}/usr")
$(use_enable sysvipc sysvmsg)
$(use_enable sysvipc sysvsem)
$(use_enable sysvipc sysvshm)
$(use_with systemd fpm-systemd)
$(use_with tidy tidy "${EPREFIX}/usr")
$(use_enable tokenizer tokenizer)
$(use_enable wddx wddx)
$(use_enable xml xml)
$(use_enable xmlreader xmlreader)
$(use_enable xmlwriter xmlwriter)
$(use_with xmlrpc xmlrpc)
$(use_with xslt xsl "${EPREFIX}/usr")
$(use_enable zip zip)
$(use_with zlib zlib "${EPREFIX}/usr")
$(use_enable debug debug)
)
# DBA support
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|| use qdbm ; then
our_conf+=( "--enable-dba${shared}" )
fi
# DBA drivers support
our_conf+=(
$(use_with cdb cdb)
$(use_with berkdb db4 "${EPREFIX}/usr")
$(use_enable flatfile flatfile)
$(use_with gdbm gdbm "${EPREFIX}/usr")
$(use_enable inifile inifile)
$(use_with qdbm qdbm "${EPREFIX}/usr")
)
# Support for the GD graphics library
our_conf+=(
$(use_with truetype freetype-dir "${EPREFIX}/usr")
$(use_enable cjk gd-jis-conv)
$(use_with gd jpeg-dir "${EPREFIX}/usr")
$(use_with gd png-dir "${EPREFIX}/usr")
$(use_with xpm xpm-dir "${EPREFIX}/usr")
$(use_with vpx vpx-dir "${EPREFIX}/usr")
)
# enable gd last, so configure can pick up the previous settings
our_conf+=( $(use_with gd gd) )
# IMAP support
if use imap ; then
our_conf+=(
$(use_with imap imap "${EPREFIX}/usr")
$(use_with ssl imap-ssl "${EPREFIX}/usr")
)
fi
# Interbase/firebird support
our_conf+=( $(use_with firebird interbase "${EPREFIX}/usr") )
# LDAP support
if use ldap ; then
our_conf+=(
$(use_with ldap ldap "${EPREFIX}/usr")
$(use_with ldap-sasl ldap-sasl "${EPREFIX}/usr")
)
fi
# MySQL support
local mysqllib="mysqlnd"
local mysqlilib="mysqlnd"
our_conf+=( $(use_with mysqli mysqli "${mysqlilib}") )
local mysqlsock="${EPREFIX}/var/run/mysqld/mysqld.sock"
if use mysql || use mysqli ; then
our_conf+=( $(use_with mysql mysql-sock "${mysqlsock}") )
fi
# ODBC support
our_conf+=(
$(use_with odbc unixODBC "${EPREFIX}/usr")
$(use_with iodbc iodbc "${EPREFIX}/usr")
)
# Oracle support
our_conf+=( $(use_with oci8-instant-client oci8) )
# PDO support
if use pdo ; then
our_conf+=(
$(use_with mysql pdo-mysql "${mysqllib}")
$(use_with postgres pdo-pgsql)
$(use_with sqlite pdo-sqlite "${EPREFIX}/usr")
$(use_with odbc pdo-odbc "unixODBC,${EPREFIX}/usr")
$(use_with oci8-instant-client pdo-oci)
)
fi
# readline/libedit support
our_conf+=(
$(use_with readline readline "${EPREFIX}/usr")
$(use_with libedit libedit "${EPREFIX}/usr")
)
# Session support
if use session ; then
our_conf+=( $(use_with sharedmem mm "${EPREFIX}/usr") )
else
our_conf+=( $(use_enable session session) )
fi
# Use pic for shared modules such as apache2's mod_php
our_conf+=( --with-pic )
# we use the system copy of pcre
# --with-pcre-regex affects ext/pcre
# --with-pcre-dir affects ext/filter and ext/zip
our_conf+=(
--with-pcre-regex="${EPREFIX}/usr"
--with-pcre-dir="${EPREFIX}/usr"
)
# Catch CFLAGS problems
# Fixes bug #14067.
# Changed order to run it in reverse for bug #32022 and #12021.
replace-cpu-flags "k6*" "i586"
# Support user-passed configuration parameters
our_conf+=( ${EXTRA_ECONF:-} )
# Support the Apache2 extras, they must be set globally for all
# SAPIs to work correctly, especially for external PHP extensions
mkdir -p "${WORKDIR}/sapis-build" || die
for one_sapi in $SAPIS ; do
use "${one_sapi}" || continue
php_set_ini_dir "${one_sapi}"
# The BUILD_DIR variable is used by autotools-utils to determine
# where to output the files that autotools creates.
BUILD_DIR="${WORKDIR}/sapis-build/${one_sapi}"
cp -r "${S}" "${BUILD_DIR}" || die
cd "${BUILD_DIR}" || die
local sapi_conf=(
--with-config-file-path="${PHP_INI_DIR}"
--with-config-file-scan-dir="${PHP_EXT_INI_DIR_ACTIVE}"
)
for sapi in $SAPIS ; do
case "$sapi" in
cli|cgi|embed|fpm)
if [[ "${one_sapi}" == "${sapi}" ]] ; then
sapi_conf+=( "--enable-${sapi}" )
else
sapi_conf+=( "--disable-${sapi}" )
fi
;;
apache2)
if [[ "${one_sapi}" == "${sapi}" ]] ; then
sapi_conf+=( --with-apxs2="${EPREFIX}/usr/sbin/apxs" )
else
sapi_conf+=( --without-apxs2 )
fi
;;
esac
done
# Construct the autotools-utils $myeconfargs array by
# concatenating $our_conf (the common args) and $sapi_conf (the
# SAPI-specific args).
local myeconfargs=( "${our_conf[@]}" )
myeconfargs+=( "${sapi_conf[@]}" )
autotools-utils_src_configure
done
}
src_compile() {
# snmp seems to run during src_compile, too (bug #324739)
addpredict /usr/share/snmp/mibs/.index
addpredict /var/lib/net-snmp/mib_indexes
for sapi in ${SAPIS} ; do
if use "${sapi}"; then
cd "${WORKDIR}/sapis-build/$sapi" || \
die "Failed to change dir to ${WORKDIR}/sapis-build/$1"
emake
fi
done
}
src_install() {
# see bug #324739 for what happens when we don't have that
addpredict /usr/share/snmp/mibs/.index
# grab the first SAPI that got built and install common files from there
local first_sapi=""
for sapi in $SAPIS ; do
if use $sapi ; then
first_sapi=$sapi
break
fi
done
# Makefile forgets to create this before trying to write to it...
dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
# Install php environment (without any sapis)
cd "${WORKDIR}/sapis-build/$first_sapi" || die
emake INSTALL_ROOT="${D}" \
install-build install-headers install-programs
local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
# Create the directory where we'll put version-specific php scripts
keepdir "/usr/share/php${PHP_MV}"
local sapi="", file=""
local sapi_list=""
for sapi in ${SAPIS}; do
if use "${sapi}" ; then
einfo "Installing SAPI: ${sapi}"
cd "${WORKDIR}/sapis-build/${sapi}" || die
if [[ "${sapi}" == "apache2" ]] ; then
# We're specifically not using emake install-sapi as libtool
# may cause unnecessary relink failures (see bug #351266)
insinto "${PHP_DESTDIR#${EPREFIX}}/apache2/"
newins ".libs/libphp${PHP_MV}$(get_libname)" \
"libphp${PHP_MV}$(get_libname)"
keepdir "/usr/$(get_libdir)/apache2/modules"
else
# needed each time, php_install_ini would reset it
local dest="${PHP_DESTDIR#${EPREFIX}}"
into "${dest}"
case "$sapi" in
cli)
source="sapi/cli/php"
;;
cgi)
source="sapi/cgi/php-cgi"
;;
fpm)
source="sapi/fpm/php-fpm"
;;
embed)
source="libs/libphp${PHP_MV}$(get_libname)"
;;
*)
die "unhandled sapi in src_install"
;;
esac
if [[ "${source}" == *"$(get_libname)" ]]; then
dolib.so "${source}"
else
dobin "${source}"
local name="$(basename ${source})"
dosym "${dest}/bin/${name}" "/usr/bin/${name}${SLOT}"
fi
fi
php_install_ini "${sapi}"
# construct correct SAPI string for php-config
# thanks to ferringb for the bash voodoo
if [[ "${sapi}" == "apache2" ]]; then
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
else
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
fi
fi
done
# Installing opcache module
if use_if_iuse opcache ; then
dolib.so "modules/opcache$(get_libname)"
fi
# Install env.d files
newenvd "${FILESDIR}/20php5-envd" "20php${SLOT}"
sed -e "s|/lib/|/$(get_libdir)/|g" -i "${ED}/etc/env.d/20php${SLOT}" || die
sed -e "s|php5|php${SLOT}|g" -i "${ED}/etc/env.d/20php${SLOT}" || die
# set php-config variable correctly (bug #278439)
sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \
"${ED}/usr/$(get_libdir)/php${SLOT}/bin/php-config" || die
if use fpm ; then
if use systemd; then
systemd_newunit "${FILESDIR}/php-fpm_at.service" \
"php-fpm@${SLOT}.service"
else
systemd_newunit "${FILESDIR}/php-fpm_at-simple.service" \
"php-fpm@${SLOT}.service"
fi
fi
}
src_test() {
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
if [[ ! -x "${PHP_BIN}" ]] ; then
ewarn "Test phase requires USE=cli, skipping"
return
else
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
fi
if [[ -x "${WORKDIR}/sapis/cgi/php-cgi" ]] ; then
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis/cgi/php-cgi"
fi
REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d \
"session.save_path=${T}" \
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d \
"session.save_path=${T}"
for name in ${EXPECTED_TEST_FAILURES}; do
mv "${name}.out" "${name}.out.orig" 2>/dev/null || die
done
local failed="$(find -name '*.out')"
if [[ ${failed} != "" ]] ; then
ewarn "The following test cases failed unexpectedly:"
for name in ${failed}; do
ewarn " ${name/.out/}"
done
else
einfo "No unexpected test failures, all fine"
fi
if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
local passed=""
for name in ${EXPECTED_TEST_FAILURES}; do
[[ -f "${name}.diff" ]] && continue
passed="${passed} ${name}"
done
if [[ ${passed} != "" ]] ; then
einfo "The following test cases passed unexpectedly:"
for name in ${passed}; do
ewarn " ${passed}"
done
else
einfo "None of the known-to-fail tests passed, all fine"
fi
fi
}
pkg_postinst() {
# Output some general info to the user
if use apache2 ; then
APACHE2_MOD_DEFINE="PHP5"
APACHE2_MOD_CONF="70_mod_php5" # Provided by app-eselect/eselect-php
apache-module_pkg_postinst
fi
# Create the symlinks for php
for m in ${SAPIS}; do
[[ ${m} == 'embed' ]] && continue;
if use $m ; then
local ci=$(eselect php show $m)
if [[ -z $ci ]]; then
eselect php set $m php${SLOT} || die
einfo "Switched ${m} to use php:${SLOT}"
einfo
elif [[ $ci != "php${SLOT}" ]] ; then
elog "To switch $m to use php:${SLOT}, run"
elog " eselect php set $m php${SLOT}"
elog
fi
fi
done
elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes"
elog "php${SLOT/./-} in order to compile extensions for the ${SLOT} ABI."
elog
if ! use readline && use cli ; then
ewarn "Note that in order to use php interactivly, you need to"
ewarn "enable the readline USE flag or php -a will hang."
elog
fi
elog "This ebuild installed a version of php.ini based on"
elog "php.ini-${PHP_INI_VERSION}. You can choose which version of"
elog "php.ini to install by default by setting PHP_INI_VERSION"
elog "to either 'production' or 'development' in your make.conf."
elog "Both versions of php.ini can be found with the PHP docs in"
elog "${EPREFIX}/usr/share/doc/${PF}"
elog
elog "For more details on how minor version slotting works,"
elog "please see the wiki:"
elog
elog " https://wiki.gentoo.org/wiki/PHP"
elog
}
pkg_prerm() {
# This returns "1" on success so we can't "|| die" here.
eselect php cleanup
}

@ -1,5 +1,6 @@
DIST gmp-4.3.2.tar.bz2 1897483 SHA256 936162c0312886c21581002b79932829aa048cfaf9937c6265aeaa14f1cd1775 SHA512 2e0b0fd23e6f10742a5517981e5171c6e88b0a93c83da701b296f5c0861d72c19782daab589a7eac3f9032152a0fc7eff7f5362db8fccc4859564a9aa82329cf WHIRLPOOL ab3d9c95b436df3782830da0874307d5577b83c111c2fae4a9063d4083f97c5c12643b154c1bd9a588945e5a677fb8ab416c394ced3e9b0aa671b2238bcb9b40
DIST gmp-5.1.3.tar.xz 1818812 SHA256 dee2eda37f4ff541f30019932db0c37f6f77a30ba3609234933b1818f9b07071 SHA512 44bbec2b2a6480d4c9a9a633cca4fe0de966c13bc08bdcd8b934d81e21f3dfacaecf273f149dc613d365277d280ecee43cffdafaec1bd1239a7ed903f8658b5b WHIRLPOOL 0c4365a129136655046a8e46c4e2487a981c03de97ec47899f752cbd6e61661c6068b19c547acce8436f7a9af91396545c9bf7aa9de73a0f29384bbfebef927f
DIST gmp-6.0.0a.tar.xz 1904112 SHA256 9156d32edac6955bc53b0218f5f3763facb890b73a835d5e1b901dcf8eb8b764 SHA512 50368f4368b244b442438ce1768cf0f1166e490d1bafb8feda1ffc90fea3807e7328f30f3faa861799e4f5ff6e3113049ca3231b2f48571e4583fc3d60441816 WHIRLPOOL 81639a9d433ce9ccb26527af309c7c41437bb3463e5986cce3b35f81b527068a2304ec3287e660454f850dedab61463a077f49d4ea2b7ee87eec94b15730c394
DIST gmp-6.1.0.tar.xz 1950316 SHA256 68dadacce515b0f8a54f510edf07c1b636492bcdb8e8d54c56eb216225d16989 SHA512 3647f07914e6c01b28d94f2d9783e50b0ca9f742a694f56d5759e79a057143ded578b71707ff909c6b0f5710862974606461608e73b33af3114b5338670d8630 WHIRLPOOL 54de621aa9d7c6896fe454e399b8716743d7ac41e312180f8211c961ec8eb358423e75992aa22ee6809ae57cb143783d271e5c0fca61714a556a12ee55882a05
DIST gmp-man-5.1.3.pdf 1159009 SHA256 56b0e21329f46ef1d59c1f191afc82c59f8b72273a8131ed9b5000b7d0689c38 SHA512 ba6a4b0bd2b5ee4d284dd13e9c5531fcb9cfbbbc80f40df458d73c80a1aa250b750cfdd5039998e8b0c7259a8b4d24bd0c7b59a90108f9b680bee62e6948d59e WHIRLPOOL ade206d7e1f543ed028f51e247067eec4511bd0f2499103e1e6296fad2bf50c4f8e09cf7688cc5dd56ee572cf889508ac7918f85e5f91d29d088882f7734a4e0
DIST gmp-man-6.0.0a.pdf 1187496 SHA256 b38ed1d760b20c01b734b65380ab667373fa48d8203f762a434cd3f326c67a38 SHA512 528972502d65d23b58c47a594a628e648f11cc027bd0894a39b8f892bb421ceabb7f35640a9eede21cea791f5f597ed4661a1f73444c56a6fb31fa6e362d96c2 WHIRLPOOL e6c4eb3a9adc82496a1872223ceb153e05c3aabd2323aeb38064739a5200eb8fc24fa3bb96f5fb1e632cc90a2576bd3966bae3c7a7a0c750ca56faeb30837eea

@ -0,0 +1,109 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit flag-o-matic eutils libtool multilib-minimal
MY_PV=${PV/_p*}
MY_PV=${MY_PV/_/-}
MY_P=${PN}-${MY_PV}
PLEVEL=${PV/*p}
DESCRIPTION="Library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers"
HOMEPAGE="http://gmplib.org/"
SRC_URI="ftp://ftp.gmplib.org/pub/${MY_P}/${MY_P}.tar.xz
mirror://gnu/${PN}/${MY_P}.tar.xz"
# doc? ( http://gmplib.org/${PN}-man-${MY_PV}.pdf )"
LICENSE="|| ( LGPL-3+ GPL-2+ )"
# The subslot reflects the C & C++ SONAMEs.
SLOT="0/10.4"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
IUSE="+asm doc cxx pgo static-libs"
DEPEND="sys-devel/m4
app-arch/xz-utils"
RDEPEND=""
S=${WORKDIR}/${MY_P%a}
DOCS=( AUTHORS ChangeLog NEWS README doc/configuration doc/isa_abi_headache )
HTML_DOCS=( doc )
MULTILIB_WRAPPED_HEADERS=( /usr/include/gmp.h )
src_prepare() {
[[ -d ${FILESDIR}/${PV} ]] && EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch "${FILESDIR}"/${PV}
# note: we cannot run autotools here as gcc depends on this package
elibtoolize
# GMP uses the "ABI" env var during configure as does Gentoo (econf).
# So, to avoid patching the source constantly, wrap things up.
mv configure configure.wrapped || die
cat <<-\EOF > configure
#!/bin/sh
exec env ABI="${GMPABI}" "$0.wrapped" "$@"
EOF
chmod a+rx configure
}
multilib_src_configure() {
# Because of our 32-bit userland, 1.0 is the only HPPA ABI that works
# http://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613)
if [[ ${CHOST} == hppa2.0-* ]] ; then
GMPABI="1.0"
fi
# ABI mappings (needs all architectures supported)
case ${ABI} in
32|x86) GMPABI=32;;
64|amd64|n64) GMPABI=64;;
[onx]32) GMPABI=${ABI};;
esac
export GMPABI
tc-export CC
ECONF_SOURCE="${S}" econf \
--localstatedir="${EPREFIX}"/var/state/gmp \
--enable-shared \
$(use_enable asm assembly) \
$(use_enable cxx) \
$(use_enable static-libs static)
}
multilib_src_compile() {
emake
if use pgo ; then
emake -j1 -C tune tuneup
ebegin "Trying to generate tuned data"
./tune/tuneup | tee gmp.mparam.h.new
if eend $(( 0 + ${PIPESTATUS[*]/#/+} )) ; then
mv gmp.mparam.h.new gmp-mparam.h || die
emake clean
emake
fi
fi
}
multilib_src_test() {
emake check
}
multilib_src_install() {
emake DESTDIR="${D}" install
# should be a standalone lib
rm -f "${D}"/usr/$(get_libdir)/libgmp.la
# this requires libgmp
local la="${D}/usr/$(get_libdir)/libgmpxx.la"
use static-libs \
&& sed -i 's:/[^ ]*/libgmp.la:-lgmp:' "${la}" \
|| rm -f "${la}"
}
multilib_src_install_all() {
einstalldocs
use doc && cp "${DISTDIR}"/gmp-man-${MY_PV}.pdf "${D}"/usr/share/doc/${PF}/
}

@ -3,6 +3,7 @@
<pkgmetadata>
<herd>toolchain</herd>
<use>
<flag name='pgo'>after building gmp, run some tests against to produce faster libraries -- this option will double the compile time</flag>
<flag name='asm'>Enable use of hand optimized assembly routines (faster execution)</flag>
<flag name='pgo'>After building gmp, run some tests against to produce faster libraries -- this option will double the compile time</flag>
</use>
</pkgmetadata>

@ -13,7 +13,7 @@ SRC_URI="http://dl.matroska.org/downloads/${PN}/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0/4" # subslot = soname major version
KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="debug static-libs"
src_prepare() {

@ -15,7 +15,7 @@ SRC_URI="http://archive.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P
LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="debug"
RDEPEND="

@ -19,7 +19,7 @@ SRC_URI="http://archive.mozilla.org/pub/mozilla.org/security/nss/releases/${RTM_
LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="+cacert +nss-pem utils"
CDEPEND=">=dev-db/sqlite-3.8.2[${MULTILIB_USEDEP}]
>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]"

@ -0,0 +1 @@
DIST luacov-0.8.tar.gz 33613 SHA256 fa4497c2345e3c679ea7fca5dd725efd6d467e051f4dbc5c76c7f7303b99f584 SHA512 03d6ee519a570ff0430bcc32f547b9beb01691bd8c7ad8655e78d732223c6c25e4a63d816fd99640568251b836d5e3cc736bd5d780f5ecd3986d855ed5edfa11 WHIRLPOOL e309c80bec56445446f0ddd512b8ccc05c4982cccb0858fa1ed6f8db06f00098317c8281d6c357188cd36bfbd11d4147b1a4b33a9f361065a7ba23fa9e1df30b

@ -0,0 +1,25 @@
diff --git a/Makefile b/Makefile
index 477f9de..adad2cc 100644
--- a/Makefile
+++ b/Makefile
@@ -6,13 +6,13 @@ BINDIR=$(PREFIX)/bin
LUADIR=$(PREFIX)/share/lua/5.1/
install:
- mkdir -p $(BINDIR)
- cp src/bin/luacov $(BINDIR)
- chmod +x $(BINDIR)/luacov
- mkdir -p $(LUADIR)
- cp src/luacov.lua $(LUADIR)
- mkdir -p $(LUADIR)/luacov
- cp src/luacov/*.lua $(LUADIR)/luacov
+ mkdir -p $(DESTDIR)$(BINDIR)
+ cp src/bin/luacov $(DESTDIR)$(BINDIR)
+ chmod +x $(DESTDIR)$(BINDIR)/luacov
+ mkdir -p $(DESTDIR)$(LUADIR)
+ cp src/luacov.lua $(DESTDIR)$(LUADIR)
+ mkdir -p $(DESTDIR)$(LUADIR)/luacov
+ cp src/luacov/*.lua $(DESTDIR)$(LUADIR)/luacov
dist:
rm -rf $(PACKAGE)-$(VERSION)

@ -0,0 +1,37 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils
DESCRIPTION="LuaCov is a simple coverage analyzer for Lua scripts"
HOMEPAGE="https://github.com/keplerproject/luacov"
SRC_URI="https://github.com/keplerproject/luacov/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
COMMON_DEPEND=">=dev-lang/lua-5.1:="
DEPEND="${COMMON_DEPEND}
virtual/pkgconfig"
RDEPEND="${COMMON_DEPEND}"
src_prepare() {
epatch "${FILESDIR}"/${PF}-fix-makefile.patch
}
src_compile() {
return 0
}
src_install() {
emake DESTDIR="${ED}" \
PREFIX=/usr \
LUADIR="$(pkg-config --variable INSTALL_LMOD lua)" install
dohtml -r doc/*
dodoc -r examples
}

@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>dev-embedded</herd>
<maintainer>
<email>williamh@gentoo.org</email>
<name>William Hubbs</name>
</maintainer>
<longdescription lang="en">
LuaCov is a coverage analyzer for Lua scripts.
</longdescription>
</pkgmetadata>

@ -0,0 +1,26 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MODULE_AUTHOR=NIGELM
MODULE_VERSION=0.15
inherit perl-module
DESCRIPTION="Perl extension for scrubbing/sanitizing html"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="test"
RDEPEND="dev-perl/HTML-Parser"
DEPEND="${REPEND}
test? (
dev-perl/Test-Memory-Cycle
dev-perl/Test-CPAN-Meta
dev-perl/Test-NoTabs
dev-perl/Test-EOL
)"
SRC_TEST="do"

@ -1 +1,2 @@
DIST HTML-Scrubber-0.09.tar.gz 26840 SHA256 b62f3cdd2933221cd68042869e76e7adf11b37b4e130a7f8bcfdc09cde52ec6d SHA512 2a0500c1733effe488c2c84e678169ae428efef717ea8e01c99b0e461326bfa4ad6e805b7da6757a0ce2e2bb74f61772eaf8fdfdba4936782dd27538ce09dd05 WHIRLPOOL b1064f55b73548ecf764f8613dadaf2208defd31b987b8c47d58ed55d400add5c0a01c9061c24d323532e763b4c822ff1ee3b2cee5f288cb4ebfc1af09f5d646
DIST HTML-Scrubber-0.15.tar.gz 34250 SHA256 7133e317e5963168a445836d144f35c69fc9c4edad0025fb17c46729ea432ed4 SHA512 1c8fefdc686c6ae25f0eb11b02ef21b7960f72d48dc756e57cd0ea7cf40e26573c2229d13e9b58080c28a9a8a4a4f7edb74e6b335ac843708024526a2960a88e WHIRLPOOL 98bd78bc8355a4b1e89c0fcbcd3fdcceb1f3da50d53ef8c74fe8a933b960ceba79cabfcce2e1ccd61df08656decbc4c02e2f87c58f57eeb2f6fc3bda7e73b30f

@ -0,0 +1 @@
DIST Parse-CPAN-Meta-1.4417.tar.gz 24808 SHA256 dd1df72c80390551563159f18f81a26baabeda8d4b0e94df7f1c223391967121 SHA512 2a7ac80bac66f9381149d1666345b92f3203c712a0ae1adefcac717069edf08e4d3f9b59b818400fe40b4aaf612c7c9244488d5459c536f51352f3c972d7b446 WHIRLPOOL cc0bef6ae59283db523825db1b5e060fb31b44c6c4e5d32ce7cdf2847d16f4bcac67ca5fc4b86f6c884f6d00e7c537e79330dadf95873cb88a6faf5a063e85a8

@ -0,0 +1,24 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MODULE_AUTHOR=DAGOLDEN
MODULE_VERSION=1.4417
inherit perl-module
DESCRIPTION="Parse META.yml and META.json CPAN metadata files"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="test"
RDEPEND=""
DEPEND="${REPEND}
test? (
virtual/perl-File-Spec
)
"
SRC_TEST="do"

@ -1,10 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>perl</herd>
<maintainer>
<email>jlec@gentoo.org</email>
<email>monsieurp@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">birdieapp/birdie</remote-id>
<remote-id type="cpan">Mo</remote-id>
<remote-id type="cpan-module">Mo</remote-id>
</upstream>
</pkgmetadata>

@ -0,0 +1 @@
DIST Test-CPAN-Meta-0.25.tar.gz 17671 SHA256 f55b4f9cf6bc396d0fe8027267685cb2ac4affce897d0967a317fac6db5a8db5 SHA512 60a3414e1e0f9aaa1a9459aedd76a6d937742a4197d0d5ce9330348138997d372ca3f454c262fb6dd757699168aa7d1c2653c4066060c9c5685a6fe407260580 WHIRLPOOL 2534e2ddffee175032416dd0ebb248de8f9fcfb40d4d53daf73085c0543a9265155b259560e57c7c2aa5827fe4c365415b66d0c446b822ac320392ea45c156e4

@ -0,0 +1,23 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MODULE_AUTHOR=BARBIE
MODULE_VERSION=0.25
inherit perl-module
DESCRIPTION="Validate your CPAN META.yml file"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="test"
RDEPEND=""
DEPEND="${REPEND}
test? (
dev-perl/Parse-CPAN-Meta
)"
SRC_TEST="do"

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>perl</herd>
<maintainer>
<email>monsieurp@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="cpan">Mo</remote-id>
<remote-id type="cpan-module">Mo</remote-id>
</upstream>
</pkgmetadata>

@ -0,0 +1 @@
DIST Test-EOL-1.6.tar.gz 18617 SHA256 5cab9468cda0366adcd581987628570041eb1f865562f1f965a1d3683b948b9a SHA512 7bc11f6fc2e361f9d2cd97626ba0d8f13ad3118c451d1d6b445f39608aba594e374cc51dec9d872aa831ad69d8b49852044e6edfc64bb8a7804969d8cfaed4cd WHIRLPOOL 1c773929f7bfbe87994382c72a5f8158e8bf8de86a9cbf6078e0b7ac9816474523920945671891299c9a751a50337b2eacbf9e7d18ba540eab855883396f57a7

@ -0,0 +1,21 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MODULE_AUTHOR=FREW
MODULE_VERSION=1.6
inherit perl-module
DESCRIPTION="Check the correct line endings in your project"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="test"
RDEPEND=""
DEPEND="${REPEND}"
SRC_TEST="do"

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>perl</herd>
<maintainer>
<email>monsieurp@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="cpan">Mo</remote-id>
<remote-id type="cpan-module">Mo</remote-id>
</upstream>
</pkgmetadata>

@ -0,0 +1 @@
DIST Test-NoTabs-1.4.tar.gz 32904 SHA256 1231f42aca5c62f7ae9c605b7ceb2caecd9cf1e9fd7f23f6fd998d416f83b098 SHA512 96363bb3de1211819e0cd8ce50c8e03c8b9d05f7a2b7cdd6c41ddc8a267ffa1245b319ecb2f752a351b0c6ea9dcdea9a0044b24fe6d0406c54e7d8e6b2b2a423 WHIRLPOOL 9d0e33d60e6e60c66aa2db750b9a161d58d62ef24c4a7d8df60f987aa55ff625d3ef8706195acba9749887a906ac866ec654be7e17c430ccb3c73bcaaea43c9b

@ -0,0 +1,21 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MODULE_AUTHOR=BOBTFISH
MODULE_VERSION=1.4
inherit perl-module
DESCRIPTION="Check the presence of tabs in your project"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="test"
RDEPEND=""
DEPEND="${REPEND}"
SRC_TEST="do"

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>perl</herd>
<maintainer>
<email>monsieurp@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="cpan">Mo</remote-id>
<remote-id type="cpan-module">Mo</remote-id>
</upstream>
</pkgmetadata>

@ -4,3 +4,4 @@ DIST python-novaclient-2.23.2.tar.gz 224170 SHA256 730cb006395b2df336bbfd75aa2f4
DIST python-novaclient-2.25.0.tar.gz 228156 SHA256 433e314223218031e7ea6e71baa54c1b13485d47fbb128ed3752e2a72ad7cb83 SHA512 b65495e94da9d42aa6eb51090ea7c2af6784e74121ea96c7021d013b8570af1df90d993df332b92274d5f92bc634149ad14616804e68e93fb4529b6b15dbb5c4 WHIRLPOOL 7401147c278a23768e18998b90842c6c17fe2c9dfb28cd320dfe0dc6ce7afd2e0481d6275deb82a4ce5c3ac826b8303390a8d80c011a242c4bed0fff2e446615
DIST python-novaclient-2.27.0.tar.gz 242744 SHA256 d1279d5c2857cf8c56cb953639b36225bc1fec7fa30ee632940823506a7638ef SHA512 f3594f6ee1edb431881e0ccd4cb97b4e631fee5cd6ce6874514bb09079837e038c60dd1bbba2807fc10271a8b8a96304c8aedcc18e7c40811a99d97594cc1414 WHIRLPOOL e79c23ce7ae5ef20e40ed1ab3fa01d8ba2be3b85c1c19fe2fed0c2425849cb62c4ab67464d771306c630b9406127196b5820a642b3b9c7c1664d2ca229da5a47
DIST python-novaclient-2.30.1.tar.gz 258139 SHA256 e46564255c5a66dcd1c16a0a96fca7bfdf3cb4720830599b08447e174cd7f7f4 SHA512 0deeca5c48e31063d0d8bf5e86f85869c42f4d9806a8b0420e1e419773ef4a5784c8a4295a48b83c9cd4311aea60155bd489fd916f2e290b029b83fd856ad938 WHIRLPOOL 9d8a098fefa1bf400c6d26aa9d26d12dfdf4aa56c89b4552748cefca1eaf0f90af3d19f10a1e39d11c459a4580cfdc82e2fead1401ade8634d01af18db97ce30
DIST python-novaclient-2.30.2.tar.gz 261535 SHA256 463af33360dab3c6f8676e2005331739be12da566095e6ea69e04466c52248f6 SHA512 cc37dd11e8772bc6f060cd1fb1750b5fc98b7353059bd17b50aeb81277a54292fc96d6533a2c3008c6ed2ce08e10a84efe4ac52aca4c2585a24da29bdfd7becb WHIRLPOOL 8741aabf9df0fdb9fbdf57f2ce36de9aa8b455bc4ce1abdc0c296021013a78283c7d3b07c3cce707ae706f09d39f9aad8fbcc6b4988624a0e5a313f033e8ddaf

@ -0,0 +1,65 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
inherit distutils-r1
DESCRIPTION="A client for the OpenStack Nova API"
HOMEPAGE="https://github.com/openstack/python-novaclient"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
CDEPEND="
>=dev-python/pbr-1.6[${PYTHON_USEDEP}]
<dev-python/pbr-2.0[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
${CDEPEND}
test? (
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
>=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}]
>=dev-python/keyring-2.1[${PYTHON_USEDEP}]
!~dev-python/keyring-3.3[${PYTHON_USEDEP}]
>=dev-python/mock-1.2[${PYTHON_USEDEP}]
>=dev-python/requests-mock-0.6.0[${PYTHON_USEDEP}]
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
>=dev-python/os-client-config-1.4.0[${PYTHON_USEDEP}]
!~dev-python/os-client-config-1.6.2[${PYTHON_USEDEP}]
>=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
>=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
>=dev-python/tempest-lib-0.8.0[${PYTHON_USEDEP}]
)"
RDEPEND="
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
>=dev-python/oslo-i18n-1.5.0[${PYTHON_USEDEP}]
>=dev-python/oslo-serialization-1.4.0[${PYTHON_USEDEP}]
>=dev-python/oslo-utils-2.0.0[${PYTHON_USEDEP}]
>=dev-python/prettytable-0.7[${PYTHON_USEDEP}]
<dev-python/prettytable-0.8[${PYTHON_USEDEP}]
>=dev-python/requests-2.5.2[${PYTHON_USEDEP}]
>=dev-python/simplejson-2.2.0[${PYTHON_USEDEP}]
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
>=dev-python/python-keystoneclient-1.6.0[${PYTHON_USEDEP}]"
python_prepare_all() {
# built in...
sed -i '/^argparse/d' requirements.txt || die
sed -i '/^hacking/d' test-requirements.txt || die
distutils-r1_python_prepare_all
}
python_test() {
testr init
testr run --parallel || die "testsuite failed under python2.7"
}

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

Loading…
Cancel
Save