Sync with portage [Sat Nov 24 00:05:47 MSK 2012].

mhiretskiy
root 12 years ago
parent 704908af28
commit 11d96de579

@ -1,3 +1,3 @@
DIST at-spi2-atk-2.4.0.tar.xz 303684 SHA256 28e9c21ec8a76cae4914bdbc011c4f6bf1beeaa27751a88534d87364e6a888bf SHA512 78a4b3e731e3e2722b82402bab88c2ef05fb66f29d7fa66b2ee0b167fa177797b647ed485af7d27687a636d0265d6e2e835a85c6349556b24f5ed76255444b0e WHIRLPOOL df025133af0df70fbb7c7cef782c482bf6eca9f86cdd4c2e3aeb029c311c57d0515cfc91692216f53cb8511dade8ca59f05653d9f272b9058b1884a803f4d429
DIST at-spi2-atk-2.6.0.tar.xz 274760 SHA256 2cfcb5e29aa6db5e8982add072dffecadd81d6ef04845afa2336be1b515bdc1f SHA512 616372516f5e8a427f9b80b0a80a5d6b42dbd064ed7d50c90f56034e7dfd4158be229584d40575cf1e99e7352a52bb41649ddbfe7cb57652b8649206b863b3bf WHIRLPOOL 16b74e9937f44616e1d45a344610dfaa836a4253ce736e148d84252f81f9cda5115f7b3ad36cbb74f97ae2eb55300a97ba254c43a57c39b36e0d9b0461e88355
DIST at-spi2-atk-2.6.1.tar.xz 274796 SHA256 0a796c3635b23d094d488ac3aeee1bd785debfde433640687d4b17dfeaeb3398 SHA512 dc7bbacac72867a0263e2d2546fca841a2740195c9aad496ffc602ce29a572a58ad2b7e9314f0a0833d147a416d34163f1236e63ae4e9fb56d8b946ce779724f WHIRLPOOL 2a66a8c47e5731347b00ec830202ccf5492d5c93af8ca55f3c15d05ccc8b350b48ceedff7cb23a2f0efee5a725cba96c1e17e5e2e6263e0c0c6b93b8c98dfae9
DIST at-spi2-atk-2.6.2.tar.xz 274748 SHA256 496c8432e8ab82735145f9af5d45209e9b708bf3c94e527ee091d08641a9bcfa SHA512 1ccfb0be6ebcd2a128b4ede45061cd4742ed861bd3167f60cbc52ce5daf043e30d10811726bb4918dfb8acd48fedcffdb78d416dee0af98955e8759a8d3cee90 WHIRLPOOL d9e9e20dcbfd3b56cff3db203c02ce047c3ff3989b4e24bb860ccf36d7d362c93ec1db14209dfb45e1824ceacb7d767fb8b8f0084e2e00f801a1db41a92928e0

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/at-spi2-atk/at-spi2-atk-2.6.0.ebuild,v 1.3 2012/11/12 12:42:01 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/at-spi2-atk/at-spi2-atk-2.6.2.ebuild,v 1.1 2012/11/22 22:46:07 eva Exp $
EAPI="4"
GCONF_DEBUG="no"
@ -29,20 +29,14 @@ DEPEND="${COMMON_DEPEND}
virtual/pkgconfig
"
pkg_setup() {
src_prepare() {
DOCS="AUTHORS NEWS README"
# xevie is deprecated/broken since xorg-1.6/1.7
G2CONF="${G2CONF} --enable-p2p"
}
src_prepare() {
# disable teamspaces test since that requires Novell.ICEDesktop.Daemon
epatch "${FILESDIR}/${PN}-2.0.2-disable-teamspaces-test.patch"
# FIXME: droute test fails
# sed -e 's:TESTS = droute-test\.*:TESTS = :' -i droute/Makefile.* ||
# die "sed droute/Makefile.* failed"
gnome2_src_prepare
}

@ -1,4 +1,4 @@
DIST at-spi2-core-2.2.3.tar.xz 429444 SHA256 fb97f0a02fa378795e50857e22e640e099be1768081e28ca2dbdb3835f5b6af1 SHA512 4ff634339c7aecd90d1ec8b16478aae4da0db319ae1ee1ac5bcecc93098f797dc58359b718b9800bffa6da81afc41fed21eff71456a165aa6428f7a64179d631 WHIRLPOOL a698a217f99af089a9041b7162ebcff66d5d8a38050dd74750c77792380e368f57d91d2b1494a080674fb57560e566cd924cf930a5e7785f9ccdeb12a34504ab
DIST at-spi2-core-2.4.2.tar.xz 441204 SHA256 61d926ffc49c7f9236580468c5c9dabda16cec37ef3aee78ca6f2751595518fd SHA512 38968eb9a135b3f7badae2a87e7ba6b3323bfd43f8494ac81fb6696f7056d0e0ab04679173f9f8f595284611327da83fcf5ada3a406080c3faf5ada98a5d6599 WHIRLPOOL aa0902f6992dc38610599d2ccabb7796699ee4ebe0ded3b5123a4c85e290565d0a8812dec82851be69bad4afcf29f2eda120265f1707792c06f36f96cba95e95
DIST at-spi2-core-2.6.0.tar.xz 443552 SHA256 8d7e685c7cda6e2831b31c66ec796dc344c5eb29d8311f69b0a47529194ec559 SHA512 ef2b7e1565b09339c20577ee2237bda5af5eef05e64eaa6035435e7cde490c13efe468c0fc0e108ac64a30c962e39c456b089e8313f03106e7c435019b11a721 WHIRLPOOL e0ffc7e1313eae15362c3867a892bdc9ba83993f036c91af6942de3b55d05fb4d913df70ed68d8ed77673115864ca20b71fd7b3812ca1d8229c1a7ba54e4fff2
DIST at-spi2-core-2.6.1.tar.xz 443684 SHA256 cb087f0a9191422bc3f44c562a0dbfdf1c2266e45c267070aeb63b874e00f867 SHA512 2954c4c5f2b0328cdd1a0e76f7d9c9aab8ee8e7ed736ed1e15c8f9e6dfa4dd1d0f841d10665190c14e45ef4c492dea164ae728bb2ab9b89ff37a9b325288c677 WHIRLPOOL b9e347e8176d6861ee8c0be6f8561098ee13407daffc51db3490178de2ba0fbd6f494941d9092690d97608de5a9a7bb1d7427b9d38a0d7cf87ee8d6a63b7bb39
DIST at-spi2-core-2.6.2.tar.xz 443900 SHA256 0d5321ce9fdd7d036b072ef28cba14088394606e1687183ec5d0ae6adea8c87e SHA512 946e46bcba025d298051d99e229dfc5a3ff0b477b9c4e1a97c1ea3cee8a86832e2ee7fe34a986a9fb8e1138389e8f9ad3e27c2638769f1251e12ce4df6ccda9d WHIRLPOOL b01abdaa0f749f113e10a19ce1eab9d7bd120975a738acdf96fa25776258c51749af77f44375800724067b5b9ced253e49cd0c87225e7baee4e522b628657a1c

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/at-spi2-core/at-spi2-core-2.6.0.ebuild,v 1.4 2012/11/12 12:40:28 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/at-spi2-core/at-spi2-core-2.6.2.ebuild,v 1.1 2012/11/22 22:49:54 eva Exp $
EAPI="4"
GCONF_DEBUG="no"
@ -14,7 +14,7 @@ HOMEPAGE="http://live.gnome.org/Accessibility"
LICENSE="LGPL-2+"
SLOT="2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd"
IUSE="doc +introspection"
IUSE="+introspection"
RDEPEND=">=dev-libs/glib-2.28:2
>=sys-apps/dbus-1
@ -24,18 +24,16 @@ RDEPEND=">=dev-libs/glib-2.28:2
introspection? ( >=dev-libs/gobject-introspection-0.9.6 )
"
DEPEND="${RDEPEND}
>=dev-util/gtk-doc-am-1.9
>=dev-util/intltool-0.40
virtual/pkgconfig
doc? ( >=dev-util/gtk-doc-1.9 )
"
pkg_setup() {
src_prepare() {
DOCS="AUTHORS ChangeLog NEWS README"
# xevie is deprecated/broken since xorg-1.6/1.7
G2CONF="${G2CONF} --disable-xevie"
}
src_prepare() {
# disable teamspaces test since that requires Novell.ICEDesktop.Daemon
epatch "${FILESDIR}/${PN}-2.0.2-disable-teamspaces-test.patch"

@ -1,3 +1,4 @@
DIST caribou-0.4.1.tar.xz 361172 SHA256 d4d2328e0eadbf037f7e0ec146e835097fe56cb2b940985655e649c5556e4ed1 SHA512 d2f07bb00ed10cdeeb807d6adfd3eca5a4d83ca13fec78b86af2616c50d806ba1b1c6dcd4d7a89ea0ee69ce1183d0d5d30df3313895b9636291a054b0a6c5100 WHIRLPOOL e8c1e79f3e2d8e5fddae6e271e0f177e09819b1cf395cc57f62a994a45d7ee0dadf1024b09c3bac4b60f572cec64d1f0d9bbbb4049b92cd05f1f6b8b46a9da7d
DIST caribou-0.4.2.tar.xz 373604 SHA256 bcc64498b20c368747c3630d501a66ccf904db15d855f33fd4f963b5b19723ad SHA512 a069153c651ee9c899b1fd2771932cd656a91fcff1a04c350fde9ffd2a634bcb4346bae1b5035cc266d95953631182c481037ac0a936bceac8fc3863a32df1e6 WHIRLPOOL 6f868b38990ef7bf52f783cdedc3213fa5bfe0e1a34125a6bd0417b208cc26ff3358869aba01503a659e0a7c1e94ca1493b6e89a2cf091bedc6ab8353a3884cb
DIST caribou-0.4.4.tar.xz 374512 SHA256 823c53afec88d43f06ddce63e0d1aac79d783f498502a0617d8be0cffc6a7de2 SHA512 bdaa073c049811920625f5195fead129fbc747d602a8c4b90de6c7aeee31299d9a3b52de1150bae059dd3e56bf358c09be406216abb601e34110717b64f75a26 WHIRLPOOL 931b78abd3e3d042952a278af67c67eb5b218682812202be7eb542b7607392c71640a7abfb3314d1cb7b88b75457f207f541d727a9fba4b2eeff8cdac0502e0b
DIST caribou-0.4.5.tar.xz 366576 SHA256 607b5169fe358b5555fd3a9d89008d03d8ce862b2e13ba55aa4deffdb02be02b SHA512 1de5646f1b255dbc54199fa319f62752f79b3b63e3540fa9880446ca2619c886fa7e28ebfcaa7ccc879d1d9b4f5865728b661ffb424f54e629bc66e538a0c8d7 WHIRLPOOL 0c10c765dcdc5c40e20d8acceb111a75722847eaf03b77d31801c00d7084f863c63aae75741e0154aa5f612bfdc17c08587e5bcbc6b16addcac42e4f67de55ac

@ -0,0 +1,82 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/caribou/caribou-0.4.5.ebuild,v 1.1 2012/11/22 22:18:58 eva Exp $
EAPI="4"
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes"
PYTHON_DEPEND="2:2.5"
PYTHON_USE_WITH="xml"
inherit gnome2 python
DESCRIPTION="Input assistive technology intended for switch and pointer users"
HOMEPAGE="https://live.gnome.org/Caribou"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
COMMON_DEPEND=">=dev-python/pygobject-2.90.3:3
>=x11-libs/gtk+-3:3[introspection]
x11-libs/gtk+:2
>=dev-libs/gobject-introspection-0.10.7
dev-libs/libgee:0.8
dev-libs/libxml2
>=media-libs/clutter-1.5.11:1.0[introspection]
x11-libs/libX11
x11-libs/libxklavier
x11-libs/libXtst"
# gsettings-desktop-schemas is needed for the 'toolkit-accessibility' key
# pyatspi-2.1.90 needed to run caribou if pygobject:3 is installed
# librsvg needed to load svg images in css styles
RDEPEND="${COMMON_DEPEND}
>=dev-python/pyatspi-2.1.90
>=gnome-base/gsettings-desktop-schemas-3
gnome-base/librsvg:2
sys-apps/dbus
virtual/python-argparse
"
DEPEND="${COMMON_DEPEND}
dev-libs/libxslt
>=dev-util/intltool-0.35.5
virtual/pkgconfig"
DOCS="AUTHORS ChangeLog NEWS README"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
G2CONF="${G2CONF}
--disable-static
--disable-schemas-compile
--enable-gtk3-module
--enable-gtk2-module
PYTHON=${EPREFIX}/usr/bin/python2
VALAC=$(type -P valac-0.18)" # harmless even if valac-0.14 not found
# PYTHON is substituted into several installed shell scripts
# vala is not needed for tarball builds, but configure checks for it...
# delete custom PYTHONPATH, useless on Gentoo and potential bug source
sed -e '/export PYTHONPATH=.*python/ d' \
-i bin/{antler-keyboard,caribou,caribou-preferences}.in ||
die "sed failed"
python_clean_py-compile_files
gnome2_src_prepare
}
pkg_postinst() {
gnome2_pkg_postinst
python_mod_optimize caribou
}
pkg_postrm() {
gnome2_pkg_postrm
python_mod_cleanup caribou
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/rsyslog-6.6.0.ebuild,v 1.1 2012/11/20 13:03:37 ultrabug Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/rsyslog-6.6.0.ebuild,v 1.2 2012/11/23 10:53:47 ultrabug Exp $
EAPI=4
AUTOTOOLS_AUTORECONF=yes
@ -27,7 +27,7 @@ RDEPEND="
mysql? ( virtual/mysql )
postgres? ( dev-db/postgresql-base )
oracle? ( dev-db/oracle-instantclient-basic )
relp? ( >=dev-libs/librelp-0.1.3 )
relp? ( >=dev-libs/librelp-1.0.1 )
snmp? ( net-analyzer/net-snmp )
ssl? ( net-libs/gnutls dev-libs/libgcrypt )
zeromq? ( net-libs/czmq )

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/rsyslog-7.2.2.ebuild,v 1.1 2012/11/20 13:03:37 ultrabug Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/rsyslog-7.2.2.ebuild,v 1.2 2012/11/23 10:53:47 ultrabug Exp $
EAPI=4
AUTOTOOLS_AUTORECONF=yes
@ -27,7 +27,7 @@ RDEPEND="
mysql? ( virtual/mysql )
postgres? ( dev-db/postgresql-base )
oracle? ( dev-db/oracle-instantclient-basic )
relp? ( >=dev-libs/librelp-0.1.3 )
relp? ( >=dev-libs/librelp-1.0.1 )
snmp? ( net-analyzer/net-snmp )
ssl? ( net-libs/gnutls dev-libs/libgcrypt )
zeromq? ( net-libs/czmq )

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/xtail/xtail-2.1-r1.ebuild,v 1.5 2012/06/07 21:02:02 ranger Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/xtail/xtail-2.1-r1.ebuild,v 1.6 2012/11/22 21:19:54 hwoarang Exp $
EAPI=4
@ -11,7 +11,7 @@ HOMEPAGE="http://www.unicom.com/sw/xtail/"
SRC_URI="http://www.unicom.com/sw/xtail/${P}.tar.gz
http://www.unicom.com/files/20120219-patch-aalto.zip"
LICENSE="as-is"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ppc ~sparc x86"
IUSE=""

@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/xtail/xtail-2.1.ebuild,v 1.22 2009/04/07 03:12:23 mr_bones_ Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/xtail/xtail-2.1.ebuild,v 1.23 2012/11/22 21:19:54 hwoarang Exp $
EAPI=2
inherit toolchain-funcs
@ -9,7 +9,7 @@ DESCRIPTION="Tail multiple logfiles at once, even if rotated"
HOMEPAGE="http://www.unicom.com/sw/xtail/"
SRC_URI="http://www.unicom.com/sw/xtail/${P}.tar.gz"
LICENSE="as-is"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86"
IUSE=""

@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/freeze/freeze-2.5.0.ebuild,v 1.19 2009/07/05 23:39:49 yngwin Exp $
# $Header: /var/cvsroot/gentoo-x86/app-arch/freeze/freeze-2.5.0.ebuild,v 1.20 2012/11/22 18:13:39 ulm Exp $
EAPI="2"
inherit toolchain-funcs
@ -9,7 +9,7 @@ DESCRIPTION="Freeze/unfreeze compression program"
HOMEPAGE="http://www.ibiblio.org/pub/Linux/utils/compress/"
SRC_URI="ftp://ftp.ibiblio.org/pub/Linux/utils/compress/${P}.tar.gz"
LICENSE="as-is"
LICENSE="GPL-1+"
SLOT="0"
KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86"
IUSE=""

@ -0,0 +1 @@
DIST lcab-1.0b12.tar.gz 74907 SHA256 065f2c1793b65f28471c0f71b7cf120a7064f28d1c44b07cabf49ec0e97f1fc8 SHA512 7aeb1b2aa0b9171963b771cfbec13d1a6d4b2519f0f6f2705b505d0ec7a7425764996de00ed1d2919d08c525617d029035a586e8c7e2fad2f44945fddd2afbcf WHIRLPOOL 4550fac41b3b990b0e9ae31f98b85e1e931c4a0508e64b14f0f0b26431d3afef74e479df5dec7051e539b796747637726652a13a49ea1767d3b8ead09f09ff68

@ -0,0 +1,31 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/lcab/lcab-1.0_beta12.ebuild,v 1.1 2012/11/22 21:50:28 vapier Exp $
EAPI="4"
inherit autotools
MY_PV=${PV/_beta/b}
MY_P=${PN}-${MY_PV}
DESCRIPTION="CAB file creation tool"
HOMEPAGE="http://ohnopublishing.net/lcab/"
SRC_URI="ftp://ohnopublishing.net/mirror/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
S="${WORKDIR}/${MY_P}"
src_prepare() {
sed -i "s:1.0b11:${MY_PV}:" mytypes.h || die
eautoreconf
}
src_install() {
default
doman ${PN}.1
}

@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>media-optical</herd>
<maintainer>
<email>vapier@gentoo.org</email>
<description>do whatever</description>
</maintainer>
</pkgmetadata>

@ -1 +0,0 @@
DIST necflash_linux.tgz 284389 RMD160 389138e6427e69e516445119872e26f8857e1f59 SHA1 78a6c0359c64e62338a8a69c0f7402a3fca94b31 SHA256 ed095c359c507688e3e7f557a709ea9014d9bc7f4922fc2b34e7ac6d733869c4

@ -1,30 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/binflash/binflash-1.56.ebuild,v 1.1 2011/06/26 10:57:11 jlec Exp $
EAPI=4
MY_PN=${PN/bin/nec}
DESCRIPTION="Tool to flash DVD burner with a binary firmware file"
HOMEPAGE="http://binflash.cdfreaks.com"
SRC_URI="http://binflash.cdfreaks.com/download/1/2/${MY_PN}_linux.tgz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="fetch strip"
S="${WORKDIR}"
pkg_nofetch() {
elog "We cannot download this file for your due to license restrictions."
elog "Please visit ${HOMEPAGE} and download ${A} into ${DISTDIR}."
}
src_install() {
into /opt
dobin ${MY_PN}
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/ekeyd/ekeyd-1.1.4-r2.ebuild,v 1.3 2012/07/12 15:31:17 axs Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/ekeyd/ekeyd-1.1.4-r2.ebuild,v 1.4 2012/11/23 10:33:20 ulm Exp $
EAPI=4
@ -10,13 +10,11 @@ DESCRIPTION="Entropy Key userspace daemon"
HOMEPAGE="http://www.entropykey.co.uk/"
SRC_URI="http://www.entropykey.co.uk/res/download/${P}.tar.gz"
LICENSE="as-is GPL-2" # yes, truly, but GPL-2 added for init script
LICENSE="MIT GPL-2" # GPL-2 (only) for init script
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="usb kernel_linux munin minimal"
REQUIRED_USE="minimal? ( !munin !usb )"
EKEYD_RDEPEND="dev-lang/lua
usb? ( virtual/libusb:0 )"
@ -34,8 +32,6 @@ DEPEND="!minimal? ( ${EKEYD_DEPEND} )"
CONFIG_CHECK="~USB_ACM"
REQUIRED_USE="minimal? ( !munin !usb )"
pkg_setup() {
if ! use minimal && use kernel_linux && ! use usb && linux_config_exists; then
check_extra_config

@ -0,0 +1 @@
DIST osslsigncode-1.4.tar.gz 96512 SHA256 721eddade1571fcde54e7f5c21f961dacb990c19f9bdb05c4a7aaeb269979069 SHA512 89f82b5cbab5952b7bb0b1a3ea230db0c38d171924e5150e9cd157158e52d312cc10093ac719265d03a097f995bd3a438fe874c50263659859c625482ef0239f WHIRLPOOL a3fadd7e9e4e8bb295d33b6e7696fe5e7ba32f252656fef3faa59bcd86ddf6ceec2e5532cc136e078af6eaf74c169edfaa18635151e993061f071b7cdb0807c6

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

@ -0,0 +1,23 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/osslsigncode/osslsigncode-1.4.ebuild,v 1.1 2012/11/22 21:58:13 vapier Exp $
EAPI="4"
DESCRIPTION="Platform-independent tool for Authenticode signing of EXE/CAB files"
HOMEPAGE="https://sourceforge.net/projects/osslsigncode"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="curl"
RDEPEND="dev-libs/openssl
curl? ( net-misc/curl )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_configure() {
econf $(use_with curl)
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.8.2.ebuild,v 1.11 2012/11/20 15:58:27 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.8.2.ebuild,v 1.12 2012/11/22 18:30:06 ago Exp $
EAPI=5
@ -12,7 +12,7 @@ SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="gtk ncurses qt4 caps static"
RDEPEND="

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/kile/kile-2.1.3.ebuild,v 1.1 2012/09/26 12:36:19 johu Exp $
# $Header: /var/cvsroot/gentoo-x86/app-editors/kile/kile-2.1.3.ebuild,v 1.2 2012/11/23 18:06:08 ago Exp $
EAPI=4
@ -20,7 +20,7 @@ DESCRIPTION="A Latex Editor and TeX shell for KDE"
HOMEPAGE="http://kile.sourceforge.net/"
LICENSE="FDL-1.2 GPL-2"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
SLOT="4"
IUSE="debug +pdf +png"

@ -1,3 +1,2 @@
DIST ess-12.04-4.tgz 3280247 SHA256 c8ae9ba3db3ee98ca857a9ea6c82c88d92d4bc9115bc3f7e08c466920b5950ca SHA512 a3632fee17216059f83ec49ff2362b97488ffb2af6cff1e208f4ae309fd828a36f27d9476002790a3402838edea23b15934bf896c0384b61e54b83d208a91d99 WHIRLPOOL de584e164b28e331a4f0f1d2b7d4973fbb4c3dcb15d3fd0b4c76073bb6e52440876a786c0f33ca2480a670f9cb720f5b2ca2da334f976500e89b2d9c597fe484
DIST ess-12.09.tgz 3332863 SHA256 3167a84c9958605e9c1de7dc2dce564e22e89b79c9d1ba7ff7f66013af56f2b8 SHA512 652bac7965dfc594071a8cb332692522696930bce1617938a88835962a246faa6bcd1eb7ab0a340fbce71c2d93a8953ecf49dec684080635c0135c1db097d35c WHIRLPOOL 14c63d4397e635da5b7c5244ddc814c23ba494f4cdaa79081b35eef9c04c71c6c875c009518e9bd4e37f945c4a2b4f62ed27c93eebcfa65e090e03c77d995391
DIST ess-5.14.tgz 7272065 SHA256 982b625f5c3f0e11d2cd8903e15026b5ecac6775415e8eb3cd120d0b9950dcc6 SHA512 b4a726f4565e70ac5d960a96fc1cb4780b966bc2845233e0369e1a3462c3728c27cece27c2f89b8b74936dcbe63770e50c58c07e30ac8ed890c59e6301e6eada WHIRLPOOL 101bf76fba513c0f370c396878426c97cb518a0a37da63686c2825a7c6cb6aa2270a78711fa1b56b3951b0da42e268ebd5f8741d2fde832ce0198c4f2d6017e5

@ -1,49 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/ess/ess-12.04.4.ebuild,v 1.6 2012/09/29 09:39:33 ulm Exp $
EAPI=4
inherit elisp
MY_P=${PN}-${PV%.*}-${PV##*.}
DESCRIPTION="Emacs Speaks Statistics"
HOMEPAGE="http://ess.r-project.org/"
SRC_URI="http://ess.r-project.org/downloads/ess/${MY_P}.tgz"
LICENSE="GPL-2+ GPL-3+ Texinfo-manual"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~x86-macos"
IUSE=""
DEPEND="app-text/texi2html
virtual/latex-base"
RDEPEND=""
S="${WORKDIR}/${MY_P}"
SITEFILE="50${PN}-gentoo.el"
src_compile() {
default
}
src_install() {
emake PREFIX="${ED}/usr" \
INFODIR="${ED}/usr/share/info" \
LISPDIR="${ED}${SITELISP}/ess" \
DOCDIR="${ED}/usr/share/doc/${PF}" \
install
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
# Most documentation is installed by the package's build system.
rm -f "${ED}${SITELISP}/${PN}/ChangeLog"
dodoc ChangeLog *NEWS doc/{TODO,ess-intro.pdf}
newdoc lisp/ChangeLog ChangeLog-lisp
}
pkg_postinst() {
elisp-site-regen
elog "Please see /usr/share/doc/${PF} for the complete documentation."
elog "Usage hints are in ${SITELISP}/${PN}/ess-site.el ."
}

@ -1,4 +1,2 @@
DIST org-6.36c.tar.gz 2706358 SHA256 26db6b9c319a2dd54f3a8da78f761594b7c8e7edeb9106f14a1c3a6ff94786a0 SHA512 81dfd13f4a3540bf8e6c3cd9a49f02882bb1aa20ac4ecc97beaa159bd8ab7ca4bf10bf5ca23c40619788f8999cee8ae6b0439d1d51b561197c24e6efd34f5d56 WHIRLPOOL 9c89b8508338553a05458bd9c532aaf951dd8803a755f432bd3136629e17e2244c06377b5516cee5cb04a69edd9301cdeafac70da1f3e83715d41643bf65dd2b
DIST org-7.7.tar.gz 3248717 SHA256 6df7633ec40231f466b436c5e63b03a62c585d3fe0e53838a2cd7c18c68e7f26 SHA512 775f12c771c27bc54ef2975b470a9b92310f66bd8e59f1219a6b7d9f8b14f308647ce7fd81cd4170d61dcf5257ce3a1b283b0690d25a90fe8bc3a3bde0b82042 WHIRLPOOL 4dee591a29a5e024e8bb25a0e33c00cef4910c3e6f13a7e799200a6fe64b013a5a9f0b9fa0f28d662719f0749048d9eb1b1da4c07fcc156e5a268d6b90e7f2ae
DIST org-7.8.11.tar.gz 3303681 SHA256 2f6a69aaff5cd66162a9a1a6df900c6050434bced1bbc7eea715b5579a0487c1 SHA512 2032b5820b28c85b9780ec09d33348ab951709ce69a56c47dab85c3a42175c4588ca73f26552eb0b6f52051c546992f8a273f8319ca61a9a20313f071b5d6c38 WHIRLPOOL 6ab2466e9f341e32827ea588bee4be609ecce11e0ad38eca0870f6bec8dfef09422897ec960a6292dcb109ac0e4d980d53d5defce6e7f0192c75d5cae46ae74b
DIST org-7.9.2.tar.gz 4141885 SHA256 14c91bf456c271ac17f2f083f86227d4e5f09483fdb69adbf314de4392e25469 SHA512 9b0f90ec47660dcc9faf7ad742b62c816a031119a2a89864f6fd183e343bd08027f5cf8439314b1593b9f5d76ff08f57b0b30aa188e1a94a426b3573c33c434c WHIRLPOOL 3ac9a49157375cd3628c4fb1248af071d8ed725307effbcce81961bd1d35117ae7f5a371baffa6159e0c57fd4f896cdf4a7b0d3ac67942ea177d8717a19ce47f

@ -1,51 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/org-mode/org-mode-7.7.ebuild,v 1.7 2012/09/26 18:19:45 ulm Exp $
EAPI=4
NEED_EMACS=22
inherit elisp
DESCRIPTION="An Emacs mode for notes and project planning"
HOMEPAGE="http://www.orgmode.org/"
SRC_URI="http://orgmode.org/org-${PV}.tar.gz"
LICENSE="GPL-3+ FDL-1.3+ contrib? ( GPL-2+ MIT OASIS-Open )"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~x86-fbsd ~x86-macos"
IUSE="contrib"
S="${WORKDIR}/org-${PV}"
# Remove autoload file to make sure that it is regenerated with
# the right Emacs version.
ELISP_REMOVE="lisp/org-install.el"
SITEFILE="50${PN}-gentoo.el"
src_compile() {
default
}
src_install() {
emake \
prefix="${ED}/usr" \
lispdir="${ED}${SITELISP}/${PN}" \
infodir="${ED}/usr/share/info" \
install
cp "${FILESDIR}/${SITEFILE}" "${T}/${SITEFILE}"
if use contrib; then
elisp-install ${PN}/contrib contrib/lisp/*org*.el || die
insinto /usr/share/doc/${PF}/contrib
doins -r contrib/README contrib/babel contrib/odt contrib/scripts
find "${ED}/usr/share/doc/${PF}/contrib" -type f -name '.*' \
-exec rm -f '{}' '+'
sed -ie 's:\(.*@SITELISP@\)\(.*\):&\n\1/contrib\2:' \
"${T}/${SITEFILE}" || die
fi
elisp-site-file-install "${T}/${SITEFILE}" || die
doinfo doc/org
dodoc README doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
}

@ -1,54 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/org-mode/org-mode-7.8.11.ebuild,v 1.4 2012/09/26 18:19:45 ulm Exp $
EAPI=4
NEED_EMACS=22
inherit elisp
DESCRIPTION="An Emacs mode for notes and project planning"
HOMEPAGE="http://www.orgmode.org/"
SRC_URI="http://orgmode.org/org-${PV}.tar.gz"
LICENSE="GPL-3+ FDL-1.3+ contrib? ( GPL-2+ MIT OASIS-Open )"
SLOT="0"
KEYWORDS="amd64 ~ppc x86 ~x86-fbsd ~x86-macos"
IUSE="contrib"
S="${WORKDIR}/org-${PV}"
ELISP_PATCHES="${PN}-7.8.03-Makefile.patch"
# Remove autoload file to make sure that it is regenerated with
# the right Emacs version.
ELISP_REMOVE="lisp/org-install.el"
SITEFILE="50${PN}-gentoo-7.8.03.el"
src_compile() {
emake datadir="${SITEETC}/${PN}"
}
src_install() {
emake \
prefix="${ED}/usr" \
lispdir="${ED}${SITELISP}/${PN}" \
datadir="${ED}${SITEETC}/${PN}" \
infodir="${ED}/usr/share/info" \
install
cp "${FILESDIR}/${SITEFILE}" "${T}/${SITEFILE}"
if use contrib; then
elisp-install ${PN}/contrib contrib/lisp/*org*.el || die
insinto /usr/share/doc/${PF}/contrib
doins -r contrib/README contrib/babel contrib/odt contrib/scripts
find "${ED}/usr/share/doc/${PF}/contrib" -type f -name '.*' \
-exec rm -f '{}' '+'
# add the contrib subdirectory to load-path
sed -ie 's:\(.*@SITELISP@\)\(.*\):&\n\1/contrib\2:' \
"${T}/${SITEFILE}" || die
fi
elisp-site-file-install "${T}/${SITEFILE}" || die
doinfo doc/org
dodoc README doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-user/qemu-user-1.0.ebuild,v 1.3 2012/05/03 18:49:08 jdhore Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-user/qemu-user-1.0.ebuild,v 1.5 2012/11/22 19:27:02 ago Exp $
EAPI=4
@ -16,7 +16,7 @@ HOMEPAGE="http://www.qemu.org"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~ppc64"
KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
IUSE=""
RESTRICT="test"
@ -66,12 +66,11 @@ QA_WX_LOAD="
S="${WORKDIR}/${MY_P}"
src_prepare() {
cd "${S}"
# prevent docs to get automatically installed
sed -i '/$(DESTDIR)$(docdir)/d' Makefile
sed -i '/$(DESTDIR)$(docdir)/d' Makefile || die
# Alter target makefiles to accept CFLAGS set via flag-o
sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \
Makefile Makefile.target
Makefile Makefile.target || die
EPATCH_SOURCE="${WORKDIR}/patches" EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" epatch
@ -104,12 +103,8 @@ src_configure() {
./configure ${conf_opts} --target-list="${user_targets}" || die "econf failed"
}
src_compile() {
emake || die "emake qemu failed"
}
src_install() {
emake DESTDIR="${ED}" install || die "make install failed"
emake DESTDIR="${ED}" install
# fixup to avoid collisions with qemu
base_dir="${ED}/usr/bin"
@ -120,7 +115,6 @@ src_install() {
pax-mark r "${ED}"/usr/bin/qemu-static-*
rm -fr "${ED}/usr/share"
dohtml qemu-doc.html
dohtml qemu-tech.html
dohtml qemu-doc.html qemu-tech.html
newinitd "${FILESDIR}/qemu-binfmt.initd" qemu-binfmt
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-user/qemu-user-1.1.0-r1.ebuild,v 1.3 2012/09/12 19:14:11 lu_zero Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-user/qemu-user-1.1.0-r1.ebuild,v 1.4 2012/11/22 18:47:25 ago Exp $
EAPI=4
@ -79,12 +79,11 @@ pkg_setup() {
}
src_prepare() {
cd "${S}"
# prevent docs to get automatically installed
sed -i '/$(DESTDIR)$(docdir)/d' Makefile
sed -i '/$(DESTDIR)$(docdir)/d' Makefile || die
# Alter target makefiles to accept CFLAGS set via flag-o
sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \
Makefile Makefile.target
Makefile Makefile.target || die
EPATCH_SOURCE="${WORKDIR}/patches" EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" epatch
@ -117,12 +116,8 @@ src_configure() {
./configure ${conf_opts} --target-list="${user_targets}" || die "econf failed"
}
src_compile() {
emake || die "emake qemu failed"
}
src_install() {
emake DESTDIR="${ED}" install || die "make install failed"
emake DESTDIR="${ED}" install
# fixup to avoid collisions with qemu
base_dir="${ED}/usr/bin"
@ -133,7 +128,6 @@ src_install() {
pax-mark r "${ED}"/usr/bin/qemu-static-*
rm -fr "${ED}/usr/share" "${ED}/usr/libexec" "${ED}/etc"
dohtml qemu-doc.html
dohtml qemu-tech.html
dohtml qemu-doc.html qemu-tech.html
newinitd "${FILESDIR}/qemu-binfmt.initd" qemu-binfmt
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-user/qemu-user-9999.ebuild,v 1.3 2012/06/22 13:52:59 lu_zero Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-user/qemu-user-9999.ebuild,v 1.4 2012/11/22 18:47:25 ago Exp $
EAPI=4
@ -73,12 +73,11 @@ QA_WX_LOAD="
"
src_prepare() {
cd "${S}"
# prevent docs to get automatically installed
sed -i '/$(DESTDIR)$(docdir)/d' Makefile
sed -i '/$(DESTDIR)$(docdir)/d' Makefile || die
# Alter target makefiles to accept CFLAGS set via flag-o
sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \
Makefile Makefile.target
Makefile Makefile.target || die
EPATCH_SOURCE="${WORKDIR}/patches" EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" epatch
@ -111,12 +110,8 @@ src_configure() {
./configure ${conf_opts} --target-list="${user_targets}" || die "econf failed"
}
src_compile() {
emake || die "emake qemu failed"
}
src_install() {
emake DESTDIR="${ED}" install || die "make install failed"
emake DESTDIR="${ED}" install
# fixup to avoid collisions with qemu
base_dir="${ED}/usr/bin"
@ -127,7 +122,6 @@ src_install() {
pax-mark r "${ED}"/usr/bin/qemu-static-*
rm -fr "${ED}/usr/share"
dohtml qemu-doc.html
dohtml qemu-tech.html
dohtml qemu-doc.html qemu-tech.html
newinitd "${FILESDIR}/qemu-binfmt.initd" qemu-binfmt
}

@ -0,0 +1,27 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-forensics/pasco/pasco-20040505_p1-r1.ebuild,v 1.1 2012/11/23 13:26:58 ago Exp $
EAPI=5
inherit toolchain-funcs
MY_P=${PN}_${PV/_p/_}
DESCRIPTION="IE Activity Parser"
HOMEPAGE="http://sourceforge.net/projects/odessa/"
SRC_URI="mirror://sourceforge/odessa/${MY_P}.tar.gz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
S="${WORKDIR}/${MY_P}/src"
src_compile() {
$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN} ${PN}.c -lm -lc || die "failed to compile"
}
src_install() {
dobin ${PN}
}

@ -1,6 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-forensics/yasat/yasat-526.ebuild,v 1.1 2012/05/22 20:59:30 hwoarang Exp $
# $Header: /var/cvsroot/gentoo-x86/app-forensics/yasat/yasat-526.ebuild,v 1.2 2012/11/23 13:18:23 ago Exp $
EAPI=5
DESCRIPTION="Security and system auditing tool"
HOMEPAGE="http://yasat.sourceforge.net"
@ -13,8 +15,10 @@ IUSE=""
S=${WORKDIR}/${PN}
src_compile() { :; }
src_install() {
emake install DESTDIR="${D}" PREFIX="/usr" SYSCONFDIR="/etc" || die
dodoc README CHANGELOG || die
doman man/yasat.8 || die
emake install DESTDIR="${D}" PREFIX="/usr" SYSCONFDIR="/etc"
dodoc README CHANGELOG
doman man/yasat.8
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/akonadi-server-1.8.1.ebuild,v 1.1 2012/11/06 02:17:21 reavertm Exp $
# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/akonadi-server-1.8.1.ebuild,v 1.3 2012/11/23 18:25:07 ago Exp $
EAPI=4
@ -11,7 +11,7 @@ HOMEPAGE="http://pim.kde.org/akonadi"
SRC_URI="mirror://kde/stable/${PN/-server/}/src/${P/-server/}.tar.bz2"
LICENSE="LGPL-2.1"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="mysql postgres +sqlite test"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-3.6.9999.ebuild,v 1.32 2012/11/16 18:30:28 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-3.6.9999.ebuild,v 1.33 2012/11/23 18:46:09 scarabeus Exp $
EAPI=4
@ -206,7 +206,6 @@ DEPEND="${COMMON_DEPEND}
java? (
>=virtual/jdk-1.6
>=dev-java/ant-core-1.7
test? ( dev-java/junit:4 )
)
odk? ( app-doc/doxygen )
test? ( dev-util/cppunit )
@ -378,6 +377,7 @@ src_configure() {
# hsqldb: system one is too new
# saxon: system one does not work properly
java_opts="
--without-junit
--without-system-hsqldb
--without-system-saxon
--with-ant-home="${ANT_HOME}"
@ -401,12 +401,6 @@ src_configure() {
--with-servlet-api-jar=$(java-pkg_getjar tomcat-servlet-api-3.0 servlet-api.jar)
"
fi
if use test; then
java_opts+=" --with-junit=$(java-pkg_getjar junit-4 junit.jar)"
else
java_opts+=" --without-junit"
fi
fi
if use branding; then

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-9999-r2.ebuild,v 1.131 2012/11/21 15:45:10 scarabeus Exp $
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-9999-r2.ebuild,v 1.132 2012/11/23 18:46:09 scarabeus Exp $
EAPI=4
@ -210,7 +210,6 @@ DEPEND="${COMMON_DEPEND}
java? (
>=virtual/jdk-1.6
>=dev-java/ant-core-1.7
test? ( dev-java/junit:4 )
)
odk? ( app-doc/doxygen )
test? ( dev-util/cppunit )
@ -376,6 +375,7 @@ src_configure() {
if use java; then
# hsqldb: system one is too new
java_opts="
--without-junit
--without-system-hsqldb
--with-ant-home="${ANT_HOME}"
--with-jdk-home=$(java-config --jdk-home 2>/dev/null)
@ -398,12 +398,6 @@ src_configure() {
--with-servlet-api-jar=$(java-pkg_getjar tomcat-servlet-api-3.0 servlet-api.jar)
"
fi
if use test; then
java_opts+=" --with-junit=$(java-pkg_getjar junit-4 junit.jar)"
else
java_opts+=" --without-junit"
fi
fi
if use branding; then

@ -1 +1,2 @@
DIST calibre-0.9.6.tar.xz 27346664 SHA256 d2cb83a8fc32b3258f3a491f33f4271bfd4020ac4fdbbf01131deb81bba9624f SHA512 6bbacc8ed9af318bdfc09807937ec5e3e2d99a9b1d408cbf4dd4976926b415736928a16ee8d712ae1b93e98ab612841123bb370440c78db9c350ebd6503f8e58 WHIRLPOOL 306662c0b7dae93ec0d5c63903e02fc6a9cdf6427290bd366464dca7c618f602380fec9767a23baafaf1257135f333553c345356bf06560785c0664f9d74cf36
DIST calibre-0.9.7.tar.xz 27408848 SHA256 11c861aaed751e53f3a97164a4e879d6afc5aed7e395aca9a62ae1feff2d29a7 SHA512 51367dea7171861095dd01eeee985be3018b811ad25a294d523b59414b2e3eabd198e40d8528b417295cdad39260059bade71967fd305699c559cf341494b3fa WHIRLPOOL 3ed4741a5e52bdba9c51d2c2c9003de72aa8a299f034ba8a1c1455ce1f817b01c97ab6f960eee03f942b04d9ecb44ebb74616b209fee64249f104cd28e4d0205

@ -0,0 +1,184 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.9.7.ebuild,v 1.1 2012/11/23 18:37:29 zmedico Exp $
EAPI=4
PYTHON_DEPEND=2:2.7
PYTHON_USE_WITH="ssl sqlite"
inherit python eutils fdo-mime bash-completion-r1 multilib
DESCRIPTION="Ebook management application."
HOMEPAGE="http://calibre-ebook.com/"
SRC_URI="http://sourceforge.net/projects/calibre/files/${PV}/${P}.tar.xz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="+udisks"
COMMON_DEPEND="
>=app-text/podofo-0.8.2
>=app-text/poppler-0.12.3-r3[qt4,xpdf-headers(+)]
>=dev-libs/chmlib-0.40
>=dev-libs/icu-4.4
>=dev-python/beautifulsoup-3.0.5:python-2
dev-python/netifaces
dev-python/python-dateutil
>=dev-python/dnspython-1.6.0
>=dev-python/cssselect-0.7.1
>=dev-python/cssutils-0.9.9
>=dev-python/dbus-python-0.82.2
>=dev-python/imaging-1.1.6
>=dev-python/lxml-2.2.1
>=dev-python/mechanize-0.1.11
>=dev-python/python-dateutil-1.4.1
>=dev-python/PyQt4-4.9.1[X,svg,webkit]
media-fonts/liberation-fonts
>=media-gfx/imagemagick-6.5.9[jpeg,png]
>=media-libs/freetype-2
>=media-libs/libwmf-0.2.8
>=media-libs/libmtp-1.1.4
virtual/libusb:1
x11-libs/qt-dbus:4
x11-libs/qt-svg:4
>=x11-misc/xdg-utils-1.0.2-r2"
RDEPEND="${COMMON_DEPEND}
udisks? ( || ( sys-fs/udisks:2 sys-fs/udisks:0 ) )"
DEPEND="${COMMON_DEPEND}
>=dev-python/setuptools-0.6_rc5"
S=${WORKDIR}/${PN}
pkg_setup() {
python_set_active_version 2.7
python_pkg_setup
}
src_prepare() {
# Fix outdated version constant.
#sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
# -i src/calibre/constants.py || \
# die "sed failed to patch constants.py"
# Avoid sandbox violation in /usr/share/gnome/apps when linux.py
# calls xdg-* (bug #258938).
sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
-e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
-e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
-e "s|PreserveMIMEDefaults():||" \
-e "s|xdg-icon-resource install|\\0 --mode user|" \
-e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
-e "s|xdg-mime install|\\0 --mode user|" \
-i src/calibre/linux.py || die "sed failed to patch linux.py"
# Disable unnecessary privilege dropping for bug #287067.
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
-i setup/install.py || die "sed failed to patch install.py"
sed -e "/^ self\\.check_call(qmc + \\[.*\\.pro'\\])$/a\
\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
'-i', 'Makefile'])" \
-i setup/extensions.py || die "sed failed to patch extensions.py"
}
src_install() {
# Bypass kbuildsycoca and update-mime-database in order to
# avoid sandbox violations if xdg-mime tries to call them.
cat - > "${T}/kbuildsycoca" <<-EOF
#!${BASH}
exit 0
EOF
cp "${T}"/{kbuildsycoca,update-mime-database}
chmod +x "${T}"/{kbuildsycoca,update-mime-database}
# Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
# violation with kbuildsycoca as in bug #287067, comment #13.
export -n DISPLAY
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
# return _parse_localename(localename)
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
# raise ValueError, 'unknown locale: %s' % localename
#ValueError: unknown locale: 46
export -n LANGUAGE
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
# variables to point to our fake temporary $HOME.
export HOME="${T}/fake_homedir"
export XDG_CONFIG_HOME="${HOME}/.config"
export XDG_DATA_HOME="${HOME}/.local/share"
export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
mkdir -p "${XDG_CONFIG_HOME}" "${CALIBRE_CONFIG_DIRECTORY}"
# Bug #334243 - respect LDFLAGS when building calibre-mount-helper
export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
local libdir=$(get_libdir)
[[ -n $libdir ]] || die "get_libdir returned an empty string"
dodir "$(python_get_sitedir)" # for init_calibre.py
PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
python setup.py install \
--root="${D}" \
--prefix="${EPREFIX}/usr" \
--libdir="${EPREFIX}/usr/${libdir}" \
--staging-root="${ED}usr" \
--staging-libdir="${ED}usr/${libdir}" || die
grep -rlZ "${ED}" "${ED}" | xargs -0 sed -e "s:${D}:/:g" -i ||
die "failed to fix harcoded \$D in paths"
# Remove dummy calibre-mount-helper which is unused since calibre-0.8.25
# due to bug #389515 (instead, calibre now calls udisks via dbus).
rm "${ED}usr/bin/calibre-mount-helper" || die
# The menu entries end up here due to '--mode user' being added to
# xdg-* options in src_prepare.
dodir /usr/share/mime/packages
chmod -fR a+rX,u+w,g-w,o-w "${HOME}"/.local
mv "${HOME}"/.local/share/mime/packages/* "${ED}"usr/share/mime/packages/ ||
die "failed to register mime types"
dodir /usr/share/icons
mv "${HOME}"/.local/share/icons/* "${ED}"usr/share/icons/ ||
die "failed to install icon files"
domenu "${HOME}"/.local/share/applications/*.desktop ||
die "failed to install .desktop menu files"
dobashcomp "${ED}"usr/etc/bash_completion.d/calibre
rm -r "${ED}"usr/etc/bash_completion.d
find "${ED}"usr/etc -type d -empty -delete
cd "${ED}"/usr/share/calibre/fonts/liberation || die
local x
for x in * ; do
[[ -f ${EROOT}usr/share/fonts/liberation-fonts/${x} ]] || continue
ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
done
python_convert_shebangs -r $(python_get_version) "${ED}"
newinitd "${FILESDIR}"/calibre-server.init calibre-server
newconfd "${FILESDIR}"/calibre-server.conf calibre-server
}
pkg_postinst() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
python_mod_optimize /usr/$(get_libdir)/${PN}
}
pkg_postrm() {
python_mod_cleanup /usr/$(get_libdir)/${PN}
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libbackend-elements/libbackend-elements-1.7.2.ebuild,v 1.3 2012/10/17 18:52:59 maekke Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libbackend-elements/libbackend-elements-1.7.2.ebuild,v 1.5 2012/11/23 18:26:01 ago Exp $
EAPI="2"
@ -11,7 +11,7 @@ HOMEPAGE="http://kolpackov.net/projects/libbackend-elements/"
SRC_URI="ftp://kolpackov.net/pub/projects/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
KEYWORDS="amd64 ~arm x86"
IUSE=""
RDEPEND=">=dev-cpp/libcult-1.4.6-r1

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libcult/libcult-1.4.6-r1.ebuild,v 1.2 2012/10/17 18:23:49 maekke Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libcult/libcult-1.4.6-r1.ebuild,v 1.4 2012/11/23 18:25:41 ago Exp $
EAPI="4"
@ -11,7 +11,7 @@ HOMEPAGE="http://kolpackov.net/projects/libcult/"
SRC_URI="ftp://kolpackov.net/pub/projects/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
KEYWORDS="amd64 ~arm x86"
IUSE="examples"
DEPEND="dev-util/build:0.3

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libfrontend-elements/libfrontend-elements-1.1.4.ebuild,v 1.3 2012/10/17 18:24:24 maekke Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libfrontend-elements/libfrontend-elements-1.1.4.ebuild,v 1.4 2012/11/23 18:06:49 ago Exp $
EAPI="2"
@ -11,7 +11,7 @@ HOMEPAGE="http://kolpackov.net/projects/libfrontend-elements/"
SRC_URI="ftp://kolpackov.net/pub/projects/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
KEYWORDS="amd64 ~arm ~x86"
IUSE="examples"
RDEPEND=">=dev-cpp/libcult-1.4.6-r1"

@ -0,0 +1,98 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libxsd-frontend/libxsd-frontend-1.18.0.ebuild,v 1.7 2012/11/23 18:25:50 ago Exp $
EAPI="4"
inherit eutils toolchain-funcs versionator
DESCRIPTION="A compiler frontend for the W3C XML Schema definition language."
HOMEPAGE="http://www.codesynthesis.com/projects/libxsd-frontend/"
SRC_URI="http://www.codesynthesis.com/download/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm x86"
IUSE=""
RDEPEND=">=dev-libs/xerces-c-3
~dev-libs/boost-1.49.0
>=dev-cpp/libcult-1.4.6-r1
>=dev-cpp/libfrontend-elements-1.1.4"
DEPEND="${RDEPEND}
dev-util/build:0.3"
src_prepare() {
epatch "${FILESDIR}/1.17.0-boost-filesystem-v2-deprecation.patch"
}
src_configure() {
BOOST_PKG="$(best_version ">=dev-libs/boost-1.35.0-r5")"
BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
BOOST_INC="/usr/include/boost-${BOOST_VER}"
mkdir -p \
build/{ld,cxx/gnu} \
build/import/lib{boost,cult,frontend-elements,xerces-c}
cat >> build/cxx/configuration-dynamic.make <<- EOF
cxx_id := gnu
cxx_optimize := n
cxx_debug := n
cxx_rpath := n
cxx_pp_extra_options :=
cxx_extra_options := ${CXXFLAGS} -I${BOOST_INC}
cxx_ld_extra_options := ${LDFLAGS}
cxx_extra_libs :=
cxx_extra_lib_paths :=
EOF
cat >> build/cxx/gnu/configuration-dynamic.make <<- EOF
cxx_gnu := $(tc-getCXX)
cxx_gnu_libraries :=
cxx_gnu_optimization_options :=
EOF
cat >> build/import/libboost/configuration-dynamic.make <<- EOF
libboost_installed := y
libboost_suffix := -mt-${BOOST_VER}
EOF
cat >> build/import/libcult/configuration-dynamic.make <<- EOF
libcult_installed := y
EOF
cat >> build/ld/configuration-lib-dynamic.make <<- EOF
ld_lib_type := shared
EOF
cat >> build/import/libfrontend-elements/configuration-dynamic.make <<- EOF
libfrontend_elements_installed := y
EOF
cat >> build/import/libxerces-c/configuration-dynamic.make <<- EOF
libxerces_c_installed := y
EOF
MAKEOPTS+=" verbose=1"
}
src_install() {
dolib.so xsd-frontend/libxsd-frontend.so
find xsd-frontend -iname "*.cxx" \
-o -iname "makefile" \
-o -iname "*.o" -o -iname "*.d" \
-o -iname "*.m4" -o -iname "*.l" \
-o -iname "*.cpp-options" -o -iname "*.so" | xargs rm -f
rm -rf xsd-frontend/arch
insinto /usr/include
doins -r xsd-frontend
dodoc NEWS README
}
src_test() {
export LD_LIBRARY_PATH="${S}/xsd-frontend:${LD_LIBRARY_PATH}"
default
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/xsd/xsd-3.3.0.ebuild,v 1.5 2012/10/17 18:55:05 maekke Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/xsd/xsd-3.3.0.ebuild,v 1.7 2012/11/23 18:25:31 ago Exp $
EAPI="2"
@ -11,7 +11,7 @@ HOMEPAGE="http://www.codesynthesis.com/products/xsd/"
SRC_URI="http://www.codesynthesis.com/download/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
KEYWORDS="amd64 ~arm x86"
IUSE="ace doc examples zlib"
RDEPEND=">=dev-libs/xerces-c-3

@ -5,3 +5,4 @@ DIST nqp-2012.08.tar.gz 1022786 SHA256 7d12102edfc810fc4a441b37edecc0339d38ba39b
DIST nqp-2012.09.1.tar.gz 1124797 SHA256 6258a32ac412f2190e1bb9439ee76a70eca772b502dbb5961026dfed18160747 SHA512 08d126290587fb08dd795793636dc0e16b21a61dffe4465a7c016102b863b474b906b644a78249bcfd4738724a794aca328e136ca76bb65c4690556288b77b54 WHIRLPOOL 296613de47c088e95e8675343e61072695a269ed99d46b5ef59f7209752c27c21119613bdbab1c2041c403b418bc33acd9b8dc7645570076112eddaa299ac995
DIST nqp-2012.09.tar.gz 1122237 SHA256 f9851c6e9983a3e9a66952c96b2907a24e59e41045b66794053f688054011889 SHA512 e0787bdad47b95f0f13fd668ce6b69ed461403bc3dc09d83cbe7ee1bc9567897abe55cd3cd1b4bc45b03021f045c4b2417a6e8ba090174e6610d2570bcf5b873 WHIRLPOOL 0f48e05827818de79080170b0383bfd9129a81aa0a009fa32316e879a2ebc9f278cc1927a93ce119c94a7ccbf4c02001b6f89f45251b22404e0297c5a6a7c56a
DIST nqp-2012.10.tar.gz 1131851 SHA256 a459f026e85f921421fdd7b9ecc2be0c6e6b3d60d4902e7bd2b97db7576f30eb SHA512 bcb91bb92ef27342ba53c1a7ef5d50e9c17b70c2b5180c0336fb17b521f11d2ce559c6c8a70979f996670f385088ef054564b2d3f656a06afe1f0ea7fa7ee697 WHIRLPOOL 0b500c5d50773488e5cca9fa4eb25204670f9a4be2c521e8de7623abae20bb2c69828f80ddc7a9b8931825f36627085d6853a4ef8234a7b21671b5f9ed29aae2
DIST nqp-2012.11.tar.gz 1213328 SHA256 54ed2343d33d13ebb685cadf6043e199636721c4d98edf683e63943c4d70ecea SHA512 3ca5e31013046b6c074f22fda74e87e28a5e51fd7a330c63f088284d38284d66f8c04c15cb9302914db2d8fb8877b14832119e9844536d11901549d20a5a020c WHIRLPOOL 0cecb7fcf4798461f3dadb2af13cd41fddc0a1e48a0108e1d2812448186bff6b1fbff3a13a9a808bb2a4b290ce824fb061c121760d7c6e23aa33b1ff73f89e72

@ -0,0 +1,51 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/nqp/nqp-2012.11.ebuild,v 1.1 2012/11/23 06:34:53 patrick Exp $
EAPI=3
inherit eutils multilib
PARROT_VERSION="4.4.0"
DESCRIPTION="Not Quite Perl, a Perl 6 bootstrapping compiler"
HOMEPAGE="http://rakudo.org/"
SRC_URI="http://github.com/perl6/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND=">=dev-lang/parrot-${PARROT_VERSION}[unicode]"
DEPEND="${RDEPEND}
dev-lang/perl"
src_prepare() {
cd "${WORKDIR}"
ln -s * "${S}" || die
cd "${S}"
echo "${PV}" > VERSION
}
src_configure() {
perl Configure.pl || die
}
src_compile() {
emake -j1 || die
}
src_test() {
emake -j1 test || die
}
src_install() {
emake DESTDIR="${ED}" install || die
dodoc CREDITS README || die
if use doc; then
dodoc docs/* || die
fi
}

@ -1,3 +1,4 @@
DIST parrot-4.10.0.tar.gz 4567705 SHA256 82f38e6e596ab101c52313ad3e3560d2c8a72985362b54d9898619ab17a6f17d SHA512 e1f20c27107270f452ba3ba5aa8cdda77754c53e8e31d15c1024781c54b5ed6b68029288a1d9967c42e4cb2c9895e70eef3a94fb7ee112a12e2dc74765d13fd8 WHIRLPOOL 59eab631bdf3d8d12f460b94f9a3114bea7c0f9c2a78f4304ca8cdc9266217687200fe01db1eac4a1fa454d56b0bf00dc6c137fe651a6fef5530d6e403ee3c70
DIST parrot-4.4.0.tar.bz2 4324058 SHA256 348ce13fc136afc74a7b50b094f64d8cb00f83f0cd3d59acc6fa4e63c824fa4d SHA512 da7659ac62a86df9004dd789255570547afa19ae045515bf8bb4eafb00fe2615b353b3f597108d18b68c7f513cfcf4359c2fe656c917b97f12977e01342b100c WHIRLPOOL 9e2a1dee83539d4a2e9509d5ce0d93ec36f81954436cd29be26bf3a4e9671f1b5994cd1ab7d993e1250a5112806b20c8bf939fa2f0ee3cbb8cd5b4e0f2650ab9
DIST parrot-4.5.0.tar.bz2 4331710 SHA256 74996076eb9dbe0f2442e0ae9c0cb5c3e9d5f49a266368eee01f4ab30c6d2808 SHA512 ea468823db32f54cb4314b34fff87da1d4e62aa278c73fdb265ce8af0b0f048fd22426108dad355c086b2ef26509b9df36960d9f13a2553392ef69618322a449 WHIRLPOOL 111ddc48e47803d94b8d9d9415c3e965bb8534279ea3461fd6d5d874b485ea887136d1120de69eb73ccda2892a1363453db9acb445082203f937e78b273d8dfc
DIST parrot-4.6.0.tar.bz2 4331714 SHA256 31d48e348eab418d5d9d9f9bb24d628763ff90c608d21b1944c227b6938a69d1 SHA512 dd715e4f66aaa739353b5a43a79047d234247f0d1d727d3f73e80358000dc933e32d706f40a27d57127c7728683c5aa8bc851aa2ceb80f9e25008360d20efba0 WHIRLPOOL bc12b26c7cb5158adc066ec5f6e00ea0ef49d16bab24f0fec6e28c104ac3b30016bd3892485fbdb2b52e1bb8866db3aefad7d4d2bec70025c76abc0c5d6fce30

@ -0,0 +1,83 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/parrot-4.10.0.ebuild,v 1.1 2012/11/23 06:34:11 patrick Exp $
EAPI=3
inherit eutils multilib
DESCRIPTION="Virtual machine designed to efficiently compile and execute bytecode for dynamic languages"
HOMEPAGE="http://www.parrot.org/"
SRC_URI="ftp://ftp.parrot.org/pub/parrot/releases/devel/${PV}/${P}.tar.gz"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="opengl nls doc examples gdbm gmp ssl +unicode pcre"
RDEPEND="sys-libs/readline
opengl? ( media-libs/freeglut )
nls? ( sys-devel/gettext )
unicode? ( >=dev-libs/icu-2.6 )
gdbm? ( >=sys-libs/gdbm-1.8.3-r1 )
gmp? ( >=dev-libs/gmp-4.1.4 )
ssl? ( dev-libs/openssl )
pcre? ( dev-libs/libpcre )"
DEPEND="dev-lang/perl[doc?]
${RDEPEND}"
src_prepare() {
# Fix for #404195 - pcre detection is wonky
sed -i 's:libpcre.so.0:libpcre.so.1:' runtime/parrot/library/pcre.pir || die "Couldn't fix pcre location"
}
src_configure() {
myconf="--disable-rpath"
use unicode || myconf+=" --without-icu"
use ssl || myconf+=" --without-crypto"
use gdbm || myconf+=" --without-gdbm"
use nls || myconf+=" --without-gettext"
use gmp || myconf+=" --without-gmp"
use opengl || myconf+=" --without-opengl"
use pcre || myconf+=" --without-pcre"
perl Configure.pl \
--ccflags="${CFLAGS}" \
--linkflags="${LDFLAGS}" \
--prefix="${EPREFIX}"/usr \
--libdir="${EPREFIX}"/usr/$(get_libdir) \
--mandir="${EPREFIX}"/usr/share/man \
--sysconfdir="${EPREFIX}"/etc \
--sharedstatedir="${EPREFIX}"/var/lib/parrot \
$myconf || die
}
src_compile() {
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"${S}"/blib/lib
# occasionally dies in parallel make
emake -j1 || die
if use doc ; then
emake -j1 html || die
fi
}
src_test() {
emake -j1 test || die
}
src_install() {
emake -j1 install-dev DESTDIR="${D}" DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" || die
dodoc CREDITS DONORS.pod PBC_COMPAT PLATFORMS RESPONSIBLE_PARTIES TODO || die
if use examples; then
insinto "/usr/share/doc/${PF}/examples"
doins -r examples/* || die
fi
if use doc; then
insinto "/usr/share/doc/${PF}/editor"
doins -r editor || die
cd docs/html
dohtml -r developer.html DONORS.pod.html index.html ops.html parrotbug.html pdds.html \
pmc.html tools.html docs src tools || die
fi
}

@ -1,11 +1,15 @@
DIST php-5.3.15.tar.bz2 11307865 SHA256 f9b725659e64228a60883bd134afe1f638900b6b8fa93ba98053095b0892f1ef SHA512 40334a3c7957637506d265fc9c534a8e35dabd83683d30094f1b48b69e4b20a40715d0b4ad98fb8467e91f74f878fb148b910e7d0a5df22ee3e601b4228c8180 WHIRLPOOL 7b8fee9c90a9af88d95b5ee7877081b0030cee0ccc2d431ddb97c3bd857624c1124aa2109b709334387e4b073ce3bbf3297bd13c1d805791fb41cb226faac0df
DIST php-5.3.18.tar.bz2 11335289 SHA256 f065deecb78abb8ef101e1098866024af4ca10cb30139608c9a18e40236f1a2f SHA512 39b9532b65b86737ad825c76c42551840707c7eee311af7307bfbb1a41f7533ff6afec07fc9c3d42c8684aa08d814118ae3ff020b25fab1faaf1229e0ab9568d WHIRLPOOL 480916325f4e05ed4f7d4b40a62c6c8966111abdab687a74772749f9291991797106b39d74b9a00984eeb70b28096059032c77439d38a2e1467f2362e46ebd79
DIST php-5.3.19.tar.bz2 11359557 SHA256 814ce55b950158c4ddadbcd0b2d7d8cb4b570de4a29b9db021020594e2469fd6 SHA512 917dc765c917b8e33bc60afe528ec5477995970cb1fc45325c0abf5ebf88b35741a97c3b51b53491695cb7e50acc15ac1731eb040517e6a67703ddd603881a39 WHIRLPOOL ca90bb1f3e45839f2d6797e0825613ddec869f2d8007570f2c9056d16e22d3c50b0a0560244ede75ae014b4b98df5efa774e397e82fb18e8f16a45cb08eb4723
DIST php-5.4.5.tar.bz2 11011780 SHA256 7af9a1b6b1653f15d679c8e505b24c4dc2dc2a8d55521a142a7f523d06ae6ad9 SHA512 568144b57ecf8ceadbeb33a2071bae68a58e60624084fec4e6b11f96c94ad2bc136a0db9a8d8a1b1663a7baf8a0a97dacf35578cfde0642ee0cc8b047c177866 WHIRLPOOL ecb8c8c35cf896db94c5f5c9a673fbabd40ba71511fd651ac52f2b6dd25070dc5236854149f51e550f58aa26214693d0875cad4bd6bbbb820062143eac27d71d
DIST php-5.4.6.tar.bz2 11026249 SHA256 031181ef9167b31ce1dad9146b7a1a6151da44b3bafc0756fb7c5794b24ac0f5 SHA512 bf6c377999538c815ddc149ed7f8ba5feb08e3ae4e2f1abe559a6ad2a9ce6a7205ec62345640c1f8498d3ddea62bc997f31f8f77caca6a483b123551f1695cf1 WHIRLPOOL e7d0924b0a9c0d85e257be0cf0c314cda19d6da02f02111562a47873ab72b0ea20419e4c25b29c46cfc3df0aa1a30f767d88f5131456c36af60f71b47bcf76fe
DIST php-5.4.8.tar.bz2 11056057 SHA256 d02810b7949938ee7190116e7483e1a06b3fa8373d3bbc0ea65a41265afce79f SHA512 e04ee08e7d1b6f80183846206d02576ad22ea3f41e956bab970344b195f1d2267f1ff69439988cea7084c18576d7855383e48094bdb7684d43cb0f78e4a5e7b8 WHIRLPOOL 963153d85236bd105cbf11a89dd0db11e590cc292bb499abaa9271dbb47eeb124ef011af9561cb5569840d32130934c70cd8ebb4d619147892044ab8c3be09bd
DIST php-5.4.9.tar.bz2 11144400 SHA256 c0649971cfa9723701d085e227376374569689689b8421e4dcfac56c2f6fcac5 SHA512 70b42e6f160aadc6a0d0541617acf0decd85bfe18db88bb524dd479dd4a1c1b63a519eb116eb594a542b90b627494a1a3388a616350ea6c4203abce325a1edb5 WHIRLPOOL 9d27c3e6ebbb8b8f95e9c21a62363a3e6a43ff12eae279372204c281513fb7f1625a0da779d84024ef4410f6fd403c9fc9812f0f2d148f0d137fe71f0b7007f7
DIST php-5.5.0alpha1.tar.bz2 11572429 SHA256 8dd5b13fd5372b613722d1814ad2fbd733ea3b59866f078610ca9a73b3f10994 SHA512 dcf99740ae3cff53758e78f41f10bc32e64c3ac4bffe784a9ae3ac957f216402d744920ce253124914411b0ae936684a86fd965a0531bc038553b31718840c8d WHIRLPOOL 397d4ca4233041b66e3073640a6daf5b5c07d0daf72f58493b1befd0fdb176f4f8a2d408676708dd4bcc7ae4270fd5abf1a0e71f8c060cef5543bed1effdf51c
DIST php-patchset-5.3-r0.tar.bz2 7368 SHA256 1a67b34a681dea33ea38f0ffc32b70a78b4c5dc1c3603d1bba31bb130d803ef7 SHA512 765b0cf56a3e63ded4ad1d1ba67567881ad06bdc2814cc07004fa338f38fd69078819c7463d2c55e00805c8f33fa925b94228bf7bc3d223acc33c6cff540024c WHIRLPOOL 59e18b33e11d968fac2a4571173121bf8141bb2f1eab62192e15bc59e351d3ab973f04343b447681d8a2adddf0844edb8a481d027bfc14c7e1fd8222169094ec
DIST php-patchset-5.3.15-r0.tar.bz2 7357 SHA256 df239b883d40386cf98e44bd107a36ebcb34554058c0857748c5715ba2dcb1e8 SHA512 c1bd1933a2119037c38fbb46fc0799dd0a9c5acaf11fc4d8d885f644a429350ddcf170bb74e91bfa11139e35b52c73c5db60a2783ab0b5113c675373699c11d1 WHIRLPOOL 87a2993c0c9573241f73e1fa3f0e6bcaee39df6f4ce5501299ea84731ef15eeca05e3d04948c92cf278df6c45edc3f580c28a99667f22d377b1566662c67ff9f
DIST php-patchset-5.3.18-r0.tar.bz2 7360 SHA256 8e7d449a4ab50dd8da241f2992fdaee012eafe4da6c66609231cff68d84c5c9f SHA512 625f456649964a959c7aa399c6c4fbeff8dd0b45372153819d42b447069e78cce99b4b6c30d89a64b211d230e17ef28e99d5e3b9055dd59e19b8103337de8d09 WHIRLPOOL cb1ae11173fa6d0a0f26a313d036f6f2109bc704531c5db76a584cc243b5f16ccff3c5e0c943196b5f13a7603e222c2f2c0eb393d754faf66fa5d54e5f627fde
DIST php-patchset-5.4-2.tar.bz2 5824 SHA256 4a47f4d31f50a244f85349486cdb3474cf315562e097ed4c116c2b9b5730ecef SHA512 3c2523458a627373da7acb93fb2cd621f50b19fe2ba1d30beb62eeaaa39045262b917cfd0b631046fec9c8027cfa99bd0426a079ab45eb172b21d25d6e085dde WHIRLPOOL fe4f015e2f0dc66cc23ef16fb5bb33117952593ae0770d4bcd37ecc1c431cbcc7874189d265696305c60b4e395e7ce902667e38203db46867304868271affdea
DIST php-patchset-5.5-0.tar.bz2 5824 SHA256 4a47f4d31f50a244f85349486cdb3474cf315562e097ed4c116c2b9b5730ecef SHA512 3c2523458a627373da7acb93fb2cd621f50b19fe2ba1d30beb62eeaaa39045262b917cfd0b631046fec9c8027cfa99bd0426a079ab45eb172b21d25d6e085dde WHIRLPOOL fe4f015e2f0dc66cc23ef16fb5bb33117952593ae0770d4bcd37ecc1c431cbcc7874189d265696305c60b4e395e7ce902667e38203db46867304868271affdea
DIST php-patchset-5.4-r2.tar.bz2 5824 SHA256 4a47f4d31f50a244f85349486cdb3474cf315562e097ed4c116c2b9b5730ecef SHA512 3c2523458a627373da7acb93fb2cd621f50b19fe2ba1d30beb62eeaaa39045262b917cfd0b631046fec9c8027cfa99bd0426a079ab45eb172b21d25d6e085dde WHIRLPOOL fe4f015e2f0dc66cc23ef16fb5bb33117952593ae0770d4bcd37ecc1c431cbcc7874189d265696305c60b4e395e7ce902667e38203db46867304868271affdea
DIST php-patchset-5.5-r0.tar.bz2 5824 SHA256 4a47f4d31f50a244f85349486cdb3474cf315562e097ed4c116c2b9b5730ecef SHA512 3c2523458a627373da7acb93fb2cd621f50b19fe2ba1d30beb62eeaaa39045262b917cfd0b631046fec9c8027cfa99bd0426a079ab45eb172b21d25d6e085dde WHIRLPOOL fe4f015e2f0dc66cc23ef16fb5bb33117952593ae0770d4bcd37ecc1c431cbcc7874189d265696305c60b4e395e7ce902667e38203db46867304868271affdea
DIST suhosin-patch-5.3.9-0.9.10.patch.gz 40967 SHA256 4438caeab0a10c6c94aee9f7eaa703f5799f97d4e0579f43a947bb7314e38317 SHA512 98c56d41fac123626cbd1bcf4ca8afba5a9a960fd58a60e08c91a68cab7589162c4f9e1b0c39abaf173775cb63091a04c4224ee278410ec0afdbe9f3cf05f322 WHIRLPOOL f551823324919cc14cc5f0b4dc2ed75e292fcb2dbe3a34b2c954d4f3cd8ff27937b7a8a0e5665ddc4e737908d2530abf3c61397b040dd6aadcc31163d762b42e

@ -0,0 +1,912 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.3.19.ebuild,v 1.1 2012/11/23 14:45:43 olemarkus Exp $
EAPI=4
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool
SUHOSIN_VERSION=""
FPM_VERSION="builtin"
EXPECTED_TEST_FAILURES=""
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd"
function php_get_uri ()
{
case "${1}" in
"php-pre")
echo "http://downloads.php.net/johannes/${2}"
;;
"php")
echo "http://www.php.net/distributions/${2}"
;;
"suhosin")
echo "http://download.suhosin.org/${2}"
;;
"olemarkus")
echo "http://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/_rc/} ]] || PHP_RELEASE="php-pre"
PHP_P="${PN}-${PHP_PV}"
PHP_PATCHSET_LOC="olemarkus"
PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
PHP_PATCHSET="0"
PHP_PATCHSET_URI="
$(php_get_uri "${PHP_PATCHSET_LOC}" "php-patchset-${SLOT}-r${PHP_PATCHSET}.tar.bz2")"
PHP_FPM_INIT_VER="4"
PHP_FPM_CONF_VER="1"
if [[ ${SUHOSIN_VERSION} == *-gentoo ]]; then
# in some cases we use our own suhosin patch (very recent version,
# patch conflicts, etc.)
SUHOSIN_TYPE="olemarkus"
else
SUHOSIN_TYPE="suhosin"
fi
if [[ -n ${SUHOSIN_VERSION} ]]; then
SUHOSIN_PATCH="suhosin-patch-${SUHOSIN_VERSION}.patch";
SUHOSIN_URI="$(php_get_uri ${SUHOSIN_TYPE} ${SUHOSIN_PATCH}.gz )"
fi
SRC_URI="
${PHP_SRC_URI}
${PHP_PATCHSET_URI}"
if [[ -n ${SUHOSIN_VERSION} ]]; then
SRC_URI="${SRC_URI}
suhosin? ( ${SUHOSIN_URI} )"
fi
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"
# Gentoo-specific, common features
IUSE="kolab"
# 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 curlwrappers debug doc
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 mysqlnd mysqli nls
oci8-instant-client odbc pcntl pdo +phar pic +posix postgres qdbm
readline recode selinux +session sharedmem
+simplexml snmp soap sockets spell sqlite2 sqlite ssl
sybase-ct sysvipc tidy +tokenizer truetype unicode wddx
+xml xmlreader xmlwriter xmlrpc xpm xsl zip zlib"
# Enable suhosin if available
[[ -n $SUHOSIN_VERSION ]] && IUSE="${IUSE} suhosin"
DEPEND="!dev-lang/php:5
>=app-admin/eselect-php-0.6.2
>=dev-libs/libpcre-8.12[unicode]
apache2? ( www-servers/apache[threads=] )
berkdb? ( =sys-libs/db-4* )
bzip2? ( app-arch/bzip2 )
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
cjk? ( !gd? (
virtual/jpeg
media-libs/libpng
sys-libs/zlib
) )
crypt? ( >=dev-libs/libmcrypt-2.4 )
curl? ( >=net-misc/curl-7.10.5 )
enchant? ( app-text/enchant )
exif? ( !gd? (
virtual/jpeg
media-libs/libpng
sys-libs/zlib
) )
firebird? ( dev-db/firebird )
gd? ( virtual/jpeg media-libs/libpng sys-libs/zlib )
gdbm? ( >=sys-libs/gdbm-1.8.0 )
gmp? ( >=dev-libs/gmp-4.1.2 )
iconv? ( virtual/libiconv )
imap? ( virtual/imap-c-client[ssl=] )
intl? ( dev-libs/icu )
iodbc? ( dev-db/libiodbc )
kerberos? ( virtual/krb5 )
kolab? ( >=net-libs/c-client-2004g-r1 )
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] )
!mysqlnd? (
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-base )
qdbm? ( dev-db/qdbm )
readline? ( sys-libs/readline )
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 )
sqlite2? ( =dev-db/sqlite-2* )
sqlite? ( >=dev-db/sqlite-3.7.7.1 )
ssl? ( >=dev-libs/openssl-0.9.7 )
sybase-ct? ( dev-db/freetds )
tidy? ( app-text/htmltidy )
truetype? (
=media-libs/freetype-2*
>=media-libs/t1lib-5.0.0
!gd? (
virtual/jpeg media-libs/libpng sys-libs/zlib )
)
unicode? ( dev-libs/oniguruma )
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
media-libs/libpng sys-libs/zlib
)
xsl? ( 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 )
cjk? ( gd )
exif? ( gd )
xpm? ( gd )
gd? ( zlib )
simplexml? ( xml )
soap? ( xml )
wddx? ( xml )
xmlrpc? ( || ( xml iconv ) )
xmlreader? ( xml )
xsl? ( xml )
ldap-sasl? ( ldap )
kolab? ( imap )
mhash? ( hash )
phar? ( hash )
mysqlnd? ( || (
mysql
mysqli
pdo
) )
qdbm? ( !gdbm )
readline? ( !libedit )
recode? ( !imap !mysql !mysqli )
sharedmem? ( !threads )
!cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )"
RDEPEND="${DEPEND}"
[[ -n $SUHOSIN_VERSION ]] && RDEPEND="${RDEPEND} suhosin? ( =${CATEGORY}/${PN}-${SLOT}*[unicode] )"
RDEPEND="${RDEPEND} fpm? ( selinux? ( sec-policy/selinux-phpfpm ) )"
DEPEND="${DEPEND}
sys-devel/flex
>=sys-devel/m4-1.4.3
>=sys-devel/libtool-1.5.18"
# They are in PDEPEND because we need PHP installed first!
PDEPEND="doc? ( app-doc/php-docs )"
# No longer depend on the extension. The suhosin USE flag only installs the
# patch
#[[ -n $SUHOSIN_VERSION ]] && PDEPEND="${PDEPEND} suhosin? ( dev-php${PHP_MV}/suhosin )"
# 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}"
# default to /tmp for save_path, bug #282768
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}"
# Set the extension dir
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" -i "${phpinisrc}"
# 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}"
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}}"
# SAPI-specific handling
if [[ "${sapi}" == "apache2" ]] ; then
insinto "${APACHE_MODULES_CONFDIR#${EPREFIX}}"
newins "${FILESDIR}/70_mod_php${PHP_MV}.conf-apache2" \
"70_mod_php${PHP_MV}.conf"
fi
if [[ "${sapi}" == "fpm" ]] ; then
[[ -z ${PHP_FPM_INIT_VER} ]] && PHP_FPM_INIT_VER=3
[[ -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
dodir "/etc/init.d"
insinto "/etc/init.d"
newinitd "${FILESDIR}/php-fpm-r${PHP_FPM_INIT_VER}.init" "php-fpm"
# dosym "${PHP_DESTDIR#${EPREFIX}}/bin/php-fpm" "/usr/bin/php-fpm"
# Remove bogus /etc/php-fpm.conf.default (bug 359906)
[[ -f "${ED}/etc/php-fpm.conf.default" ]] && rm "${ED}/etc/php-fpm.conf.default"
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() {
# USE=sharedmem (session/mod_mm to be exact) tries to mmap() this path
# ([empty session.save_path]/session_mm_[sapi][gid].sem)
# there is no easy way to circumvent that, all php calls during
# install use -n, so no php.ini file will be used.
# As such, this is the easiest way to get around
addpredict /session_mm_cli250.sem
addpredict /session_mm_cli0.sem
# kolab support (support for imap annotations)
use kolab && epatch "${WORKDIR}/patches/opt/imap-kolab-annotations.patch"
# Change PHP branding
sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1${PHP_EXTRA_BRANDING}-pl${PR/r/}-gentoo\2|g" \
-i configure.in || die "Unable to change PHP branding"
# Apply generic PHP patches
EPATCH_SOURCE="${WORKDIR}/patches/generic" EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_MULTI_MSG="Applying generic patches and fixes from upstream..." epatch
# 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
# 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
# Suhosin support
if [[ -n $SUHOSIN_VERSION ]] ; then
if use suhosin ; then
epatch "${WORKDIR}/${SUHOSIN_PATCH}"
fi
else
ewarn "Please note that this version of PHP does not yet come with a suhosin patch"
fi
#Add user patches #357637
epatch_user
# rebuild the whole autotools stuff as we are heavily patching it
# (suhosin, fastbuild, ...)
# eaclocal doesn't accept --force, so we try to force re-generation
# this way
rm aclocal.m4
# work around divert() issues with newer autoconf, bug #281697
if has_version '>=sys-devel/autoconf-2.64' ; then
sed -i -r \
-e 's:^((m4_)?divert)[(]([0-9]*)[)]:\1(600\3):' \
$(grep -l divert $(find . -name '*.m4') configure.in) || die
fi
eautoreconf --force -W no-cross
}
src_configure() {
addpredict /usr/share/snmp/mibs/.index
addpredict /var/lib/net-snmp/mib_indexes
PHP_DESTDIR="/usr/$(get_libdir)/php${SLOT}"
# This is a global variable and should be in caps. It isn't because the
# phpconfutils eclass relies on exactly this name...
# for --with-libdir see bug #327025
my_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)"
# extension USE flag shared
my_conf+="
$(use_enable bcmath bcmath )
$(use_with bzip2 bz2 )
$(use_enable calendar calendar )
$(use_enable ctype ctype )
$(use_with curl curl )
$(use_with curlwrappers curlwrappers )
$(use_enable xml dom )
$(use_with enchant enchant /usr)
$(use_enable exif exif )
$(use_enable fileinfo fileinfo )
$(use_enable filter filter )
$(use_enable ftp ftp )
$(use_with nls gettext )
$(use_with gmp gmp )
$(use_enable hash hash )
$(use_with mhash mhash )
$(use_with iconv iconv )
$(use_enable intl intl )
$(use_enable ipv6 ipv6 )
$(use_enable json json )
$(use_with kerberos kerberos /usr)
$(use_enable xml libxml )
$(use_enable unicode mbstring )
$(use_with crypt mcrypt )
$(use_with mssql mssql )
$(use_with unicode onig /usr)
$(use_with ssl openssl )
$(use_with ssl openssl-dir /usr)
$(use_enable pcntl pcntl )
$(use_enable phar phar )
$(use_enable pdo pdo )
$(use_with postgres pgsql )
$(use_enable posix posix )
$(use_with spell pspell )
$(use_with recode recode )
$(use_enable simplexml simplexml )
$(use_enable sharedmem shmop )
$(use_with snmp snmp )
$(use_enable soap soap )
$(use_enable sockets sockets )"
if version_is_at_least 5.3.16-r2; then
my_conf+=" $(use_with sqlite2 sqlite /usr) "
use sqlite2 && my_conf+=" $(use_enable unicode sqlite-utf8)"
else
my_conf+=" $(use_with sqlite sqlite /usr) "
use sqlite && my_conf+=" $(use_enable unicode sqlite-utf8)"
fi
my_conf+="
$(use_with sqlite sqlite3 /usr)
$(use_with sybase-ct sybase-ct /usr)
$(use_enable sysvipc sysvmsg )
$(use_enable sysvipc sysvsem )
$(use_enable sysvipc sysvshm )
$(use_with tidy tidy )
$(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 xsl xsl )
$(use_enable zip zip )
$(use_with zlib zlib )
$(use_enable debug debug )"
# DBA support
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|| use qdbm ; then
my_conf="${my_conf} --enable-dba${shared}"
fi
# DBA drivers support
my_conf+="
$(use_with cdb cdb )
$(use_with berkdb db4 )
$(use_enable flatfile flatfile )
$(use_with gdbm gdbm )
$(use_enable inifile inifile )
$(use_with qdbm qdbm )"
# Support for the GD graphics library
my_conf+="
$(use_with truetype freetype-dir /usr)
$(use_with truetype t1lib /usr)
$(use_enable cjk gd-jis-conv )
$(use_with gd jpeg-dir /usr)
$(use_with gd png-dir /usr)
$(use_with xpm xpm-dir /usr)"
# enable gd last, so configure can pick up the previous settings
my_conf+="
$(use_with gd gd )"
# IMAP support
if use imap ; then
my_conf+="
$(use_with imap imap )
$(use_with ssl imap-ssl )"
fi
# Interbase/firebird support
if use firebird ; then
my_conf+="
$(use_with firebird interbase /usr)"
fi
# LDAP support
if use ldap ; then
my_conf+="
$(use_with ldap ldap )
$(use_with ldap-sasl ldap-sasl )"
fi
# MySQL support
if use mysql ; then
if use mysqlnd ; then
my_conf+="
$(use_with mysql mysql mysqlnd)"
else
my_conf+="
$(use_with mysql mysql /usr)"
fi
my_conf+="
$(use_with mysql mysql-sock /var/run/mysqld/mysqld.sock)"
fi
# MySQLi support
if use mysqlnd ; then
my_conf+="
$(use_with mysqli mysqli mysqlnd)"
else
my_conf+="
$(use_with mysqli mysqli /usr/bin/mysql_config)"
fi
# ODBC support
if use odbc ; then
my_conf+="
$(use_with odbc unixODBC /usr)"
fi
if use iodbc ; then
my_conf+="
$(use_with iodbc iodbc /usr)"
fi
# Oracle support
if use oci8-instant-client ; then
my_conf+="
$(use_with oci8-instant-client oci8)"
fi
# PDO support
if use pdo ; then
my_conf+="
$(use_with mssql pdo-dblib )"
if use mysqlnd ; then
my_conf+="
$(use_with mysql pdo-mysql mysqlnd)"
else
my_conf+="
$(use_with mysql pdo-mysql /usr)"
fi
my_conf+="
$(use_with postgres pdo-pgsql )
$(use_with sqlite pdo-sqlite /usr)
$(use_with odbc pdo-odbc unixODBC,/usr)"
if use oci8-instant-client ; then
my_conf+="
$(use_with oci8-instant-client pdo-oci)"
fi
fi
# readline/libedit support
my_conf+="
$(use_with readline readline )
$(use_with libedit libedit )"
# Session support
if use session ; then
my_conf+="
$(use_with sharedmem mm )"
else
my_conf+="
$(use_enable session session )"
fi
if use pic ; then
my_conf="${my_conf} --with-pic"
fi
# we use the system copy of pcre
# --with-pcre-regex affects ext/pcre
# --with-pcre-dir affects ext/filter and ext/zip
my_conf="${my_conf} --with-pcre-regex=/usr --with-pcre-dir=/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
my_conf="${my_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"
for one_sapi in $SAPIS ; do
use "${one_sapi}" || continue
php_set_ini_dir "${one_sapi}"
cp -r "${S}" "${WORKDIR}/sapis-build/${one_sapi}"
cd "${WORKDIR}/sapis-build/${one_sapi}"
sapi_conf="${my_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="${sapi_conf} --enable-${sapi}"
else
sapi_conf="${sapi_conf} --disable-${sapi}"
fi
;;
apache2)
if [[ "${one_sapi}" == "${sapi}" ]] ; then
sapi_conf="${sapi_conf} --with-apxs2=/usr/sbin/apxs"
else
sapi_conf="${sapi_conf} --without-apxs2"
fi
;;
esac
done
econf ${sapi_conf}
done
}
src_compile() {
# snmp seems to run during src_compile, too (bug #324739)
addpredict /usr/share/snmp/mibs/.index
addpredict /var/lib/net-snmp/mibs/.index
SAPI_DIR="${WORKDIR}/sapis"
for sapi in ${SAPIS} ; do
use "${sapi}" || continue
php_sapi_build "${sapi}"
php_sapi_copy "${sapi}"
done
}
php_sapi_build() {
mkdir -p "${SAPI_DIR}/$1"
cd "${WORKDIR}/sapis-build/$1"
emake || die "emake failed"
}
php_sapi_copy() {
local sapi="$1"
local source=""
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}.so"
;;
apache2)
# apache2 is a special case; the necessary files
# (yes, multiple) are copied by make install, not
# by the ebuild; that's the reason, why apache2 has
# to be the last sapi
emake INSTALL_ROOT="${SAPI_DIR}/${sapi}/" install-sapi
;;
*)
die "unhandled sapi in php_sapi_copy"
;;
esac
if [[ "${source}" ]] ; then
cp "$source" "${SAPI_DIR}/$sapi" || die "Unable to copy ${sapi} SAPI"
fi
}
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"
emake INSTALL_ROOT="${D}" \
install-build install-headers install-programs \
|| die "emake install failed"
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}"
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
into "${PHP_DESTDIR#${EPREFIX}}"
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}" || die "Unable to install ${sapi} sapi"
else
dobin "${source}" || die "Unable to install ${sapi} sapi"
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
# Install env.d files
newenvd "${FILESDIR}/20php5-envd" \
"20php${SLOT}"
sed -e "s|/lib/|/$(get_libdir)/|g" -i \
"${ED}/etc/env.d/20php${SLOT}"
sed -e "s|php5|php${SLOT}|g" -i \
"${ED}/etc/env.d/20php${SLOT}"
# 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"
}
src_test() {
vecho ">>> 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
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
}
#Do not use eblit for this because it will not get sourced when installing from
#binary package (bug #380845)
pkg_postinst() {
# Output some general info to the user
if use apache2 ; then
APACHE2_MOD_DEFINE="PHP5"
APACHE2_MOD_CONF="70_mod_php5"
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}
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 /etc/make.conf includes php${SLOT/./-} in order"
elog "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 enable"
ewarn "the readline USE flag or php -a will hang"
fi
elog
elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version."
elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either"
elog "'production' or 'development' in /etc/make.conf"
ewarn "Both versions of php.ini can be found in /usr/share/doc/${PF}"
# check for not yet migrated old style config dirs
ls "${ROOT}"/etc/php/*-php5 &>/dev/null
if [[ $? -eq 0 ]]; then
ewarn "Make sure to migrate your config files, starting with php-5.3.4 and php-5.2.16 config"
ewarn "files are now kept at ${ROOT}etc/php/{apache2,cli,cgi,fpm}-php5.x"
fi
elog
elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:"
elog "http://www.gentoo.org/proj/en/php/php-upgrading.xml"
elog
if ( [[ -z SUHOSIN_VERSION ]] && use suhosin && version_is_at_least 5.3.6_rc1 ) ; then
ewarn "The suhosin USE flag now only installs the suhosin patch!"
ewarn "If you want the suhosin extension, make sure you install"
ewarn " dev-php5/suhosin"
ewarn
fi
}

@ -0,0 +1,864 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.4.9.ebuild,v 1.1 2012/11/23 14:45:43 olemarkus Exp $
EAPI=4
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool
SUHOSIN_VERSION=""
FPM_VERSION="builtin"
EXPECTED_TEST_FAILURES=""
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-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/stas/${2}"
;;
"php")
echo "http://www.php.net/distributions/${2}"
;;
"suhosin")
echo "http://download.suhosin.org/${2}"
;;
"olemarkus")
echo "http://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/_rc/} ]] || PHP_RELEASE="php-pre"
PHP_P="${PN}-${PHP_PV}"
PHP_PATCHSET_LOC="olemarkus"
PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
PHP_PATCHSET="2"
PHP_PATCHSET_URI="
$(php_get_uri "${PHP_PATCHSET_LOC}" "php-patchset-${SLOT}-r${PHP_PATCHSET}.tar.bz2")"
PHP_FPM_INIT_VER="4"
PHP_FPM_CONF_VER="1"
if [[ ${SUHOSIN_VERSION} == *-gentoo ]]; then
# in some cases we use our own suhosin patch (very recent version,
# patch conflicts, etc.)
SUHOSIN_TYPE="olemarkus"
else
SUHOSIN_TYPE="suhosin"
fi
if [[ -n ${SUHOSIN_VERSION} ]]; then
SUHOSIN_PATCH="suhosin-patch-${SUHOSIN_VERSION}.patch";
SUHOSIN_URI="$(php_get_uri ${SUHOSIN_TYPE} ${SUHOSIN_PATCH}.gz )"
fi
SRC_URI="
${PHP_SRC_URI}
${PHP_PATCHSET_URI}"
if [[ -n ${SUHOSIN_VERSION} ]]; then
SRC_URI="${SRC_URI}
suhosin? ( ${SUHOSIN_URI} )"
fi
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"
# Gentoo-specific, common features
IUSE="kolab"
# 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 curlwrappers debug doc
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 mysqlnd mysqli nls
oci8-instant-client odbc pcntl pdo +phar pic +posix postgres qdbm
readline recode selinux +session sharedmem
+simplexml snmp soap sockets spell sqlite ssl
sybase-ct sysvipc tidy +tokenizer truetype unicode wddx
+xml xmlreader xmlwriter xmlrpc xpm xsl zip zlib"
# Enable suhosin if available
[[ -n $SUHOSIN_VERSION ]] && IUSE="${IUSE} suhosin"
DEPEND="
>=app-admin/eselect-php-0.6.2
>=dev-libs/libpcre-8.12[unicode]
apache2? ( www-servers/apache[threads=] )
berkdb? ( =sys-libs/db-4* )
bzip2? ( app-arch/bzip2 )
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
cjk? ( !gd? (
virtual/jpeg
media-libs/libpng
sys-libs/zlib
) )
crypt? ( >=dev-libs/libmcrypt-2.4 )
curl? ( >=net-misc/curl-7.10.5 )
enchant? ( app-text/enchant )
exif? ( !gd? (
virtual/jpeg
media-libs/libpng
sys-libs/zlib
) )
firebird? ( dev-db/firebird )
gd? ( virtual/jpeg media-libs/libpng sys-libs/zlib )
gdbm? ( >=sys-libs/gdbm-1.8.0 )
gmp? ( >=dev-libs/gmp-4.1.2 )
iconv? ( virtual/libiconv )
imap? ( virtual/imap-c-client[ssl=] )
intl? ( dev-libs/icu )
iodbc? ( dev-db/libiodbc )
kerberos? ( virtual/krb5 )
kolab? ( >=net-libs/c-client-2004g-r1 )
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] )
!mysqlnd? (
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-base )
qdbm? ( dev-db/qdbm )
readline? ( sys-libs/readline )
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.9.7 )
sybase-ct? ( dev-db/freetds )
tidy? ( app-text/htmltidy )
truetype? (
=media-libs/freetype-2*
>=media-libs/t1lib-5.0.0
!gd? (
virtual/jpeg media-libs/libpng sys-libs/zlib )
)
unicode? ( dev-libs/oniguruma )
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
media-libs/libpng sys-libs/zlib
)
xsl? ( 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 )
cjk? ( gd )
exif? ( gd )
xpm? ( gd )
gd? ( zlib )
simplexml? ( xml )
soap? ( xml )
wddx? ( xml )
xmlrpc? ( || ( xml iconv ) )
xmlreader? ( xml )
xsl? ( xml )
ldap-sasl? ( ldap )
kolab? ( imap )
mhash? ( hash )
phar? ( hash )
mysqlnd? ( || (
mysql
mysqli
pdo
) )
qdbm? ( !gdbm )
readline? ( !libedit )
recode? ( !imap !mysql !mysqli )
sharedmem? ( !threads )
!cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )"
RDEPEND="${DEPEND}"
[[ -n $SUHOSIN_VERSION ]] && RDEPEND="${RDEPEND} suhosin? (
=${CATEGORY}/${PN}-${SLOT}*[unicode] )"
RDEPEND="${RDEPEND} fpm? ( selinux? ( sec-policy/selinux-phpfpm ) )"
DEPEND="${DEPEND}
sys-devel/flex
>=sys-devel/m4-1.4.3
>=sys-devel/libtool-1.5.18"
# They are in PDEPEND because we need PHP installed first!
PDEPEND="doc? ( app-doc/php-docs )"
# No longer depend on the extension. The suhosin USE flag only installs the
# patch
#[[ -n $SUHOSIN_VERSION ]] && PDEPEND="${PDEPEND} suhosin? ( dev-php${PHP_MV}/suhosin )"
# 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}"
# default to /tmp for save_path, bug #282768
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}"
# Set the extension dir
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" -i "${phpinisrc}"
# 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}"
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}}"
# SAPI-specific handling
if [[ "${sapi}" == "apache2" ]] ; then
insinto "${APACHE_MODULES_CONFDIR#${EPREFIX}}"
newins "${FILESDIR}/70_mod_php${PHP_MV}.conf-apache2" \
"70_mod_php${PHP_MV}.conf"
fi
if [[ "${sapi}" == "fpm" ]] ; then
[[ -z ${PHP_FPM_INIT_VER} ]] && PHP_FPM_INIT_VER=3
[[ -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
dodir "/etc/init.d"
insinto "/etc/init.d"
newinitd "${FILESDIR}/php-fpm-r${PHP_FPM_INIT_VER}.init" "php-fpm"
# dosym "${PHP_DESTDIR#${EPREFIX}}/bin/php-fpm" "/usr/bin/php-fpm"
# Remove bogus /etc/php-fpm.conf.default (bug 359906)
[[ -f "${ED}/etc/php-fpm.conf.default" ]] && rm "${ED}/etc/php-fpm.conf.default"
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() {
# USE=sharedmem (session/mod_mm to be exact) tries to mmap() this path
# ([empty session.save_path]/session_mm_[sapi][gid].sem)
# there is no easy way to circumvent that, all php calls during
# install use -n, so no php.ini file will be used.
# As such, this is the easiest way to get around
addpredict /session_mm_cli250.sem
addpredict /session_mm_cli0.sem
# kolab support (support for imap annotations)
use kolab && epatch "${WORKDIR}/patches/opt/imap-kolab-annotations.patch"
# Change PHP branding
# Get the alpha/beta/rc version
local ver=$(get_version_component_range 4)
sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1${PHP_EXTRA_BRANDING}-${ver}-pl${PR/r/}-gentoo\2|g" \
-i configure.in || die "Unable to change PHP branding"
# Apply generic PHP patches
EPATCH_SOURCE="${WORKDIR}/patches/generic" EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_MULTI_MSG="Applying generic patches and fixes from upstream..." epatch
# 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
# 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
# Suhosin support
if [[ -n $SUHOSIN_VERSION ]] ; then
if use suhosin ; then
epatch "${WORKDIR}/${SUHOSIN_PATCH}"
fi
else
ewarn "Please note that this version of PHP does not yet come with a suhosin patch"
fi
#Add user patches #357637
epatch_user
#force rebuilding aclocal.m4
rm aclocal.m4
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}"
# This is a global variable and should be in caps. It isn't because the
# phpconfutils eclass relies on exactly this name...
# for --with-libdir see bug #327025
my_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)"
# extension USE flag shared
my_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_with curlwrappers curlwrappers "${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_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_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 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 xsl 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
my_conf="${my_conf} --enable-dba${shared}"
fi
# DBA drivers support
my_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
my_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)"
# enable gd last, so configure can pick up the previous settings
my_conf+="
$(use_with gd gd)"
# IMAP support
if use imap ; then
my_conf+="
$(use_with imap imap ${EPREFIX}/usr)
$(use_with ssl imap-ssl ${EPREFIX}/usr)"
fi
# Interbase/firebird support
if use firebird ; then
my_conf+="
$(use_with firebird interbase ${EPREFIX}/usr)"
fi
# LDAP support
if use ldap ; then
my_conf+="
$(use_with ldap ldap ${EPREFIX}/usr)
$(use_with ldap-sasl ldap-sasl ${EPREFIX}/usr)"
fi
# MySQL support
if use mysql ; then
if use mysqlnd ; then
my_conf+="
$(use_with mysql mysql mysqlnd)"
else
my_conf+="
$(use_with mysql mysql ${EPREFIX}/usr)"
fi
my_conf+="
$(use_with mysql mysql-sock ${EPREFIX}/var/run/mysqld/mysqld.sock)"
fi
# MySQLi support
if use mysqlnd ; then
my_conf+="
$(use_with mysqli mysqli mysqlnd)"
else
my_conf+="
$(use_with mysqli mysqli ${EPREFIX}/usr/bin/mysql_config)"
fi
# ODBC support
if use odbc ; then
my_conf+="
$(use_with odbc unixODBC ${EPREFIX}/usr)"
fi
if use iodbc ; then
my_conf+="
$(use_with iodbc iodbc ${EPREFIX}/usr)"
fi
# Oracle support
if use oci8-instant-client ; then
my_conf+="
$(use_with oci8-instant-client oci8)"
fi
# PDO support
if use pdo ; then
my_conf+="
$(use_with mssql pdo-dblib )"
if use mysqlnd ; then
my_conf+="
$(use_with mysql pdo-mysql mysqlnd)"
else
my_conf+="
$(use_with mysql pdo-mysql ${EPREFIX}/usr)"
fi
my_conf+="
$(use_with postgres pdo-pgsql )
$(use_with sqlite pdo-sqlite ${EPREFIX}/usr)
$(use_with odbc pdo-odbc unixODBC,${EPREFIX}/usr)"
if use oci8-instant-client ; then
my_conf+="
$(use_with oci8-instant-client pdo-oci)"
fi
fi
# readline/libedit support
my_conf+="
$(use_with readline readline ${EPREFIX}/usr)
$(use_with libedit libedit ${EPREFIX}/usr)"
# Session support
if use session ; then
my_conf+="
$(use_with sharedmem mm ${EPREFIX}/usr)"
else
my_conf+="
$(use_enable session session )"
fi
if use pic ; then
my_conf="${my_conf} --with-pic"
fi
# we use the system copy of pcre
# --with-pcre-regex affects ext/pcre
# --with-pcre-dir affects ext/filter and ext/zip
my_conf="${my_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
my_conf="${my_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"
for one_sapi in $SAPIS ; do
use "${one_sapi}" || continue
php_set_ini_dir "${one_sapi}"
cp -r "${S}" "${WORKDIR}/sapis-build/${one_sapi}"
cd "${WORKDIR}/sapis-build/${one_sapi}"
sapi_conf="${my_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="${sapi_conf} --enable-${sapi}"
else
sapi_conf="${sapi_conf} --disable-${sapi}"
fi
;;
apache2)
if [[ "${one_sapi}" == "${sapi}" ]] ; then
sapi_conf="${sapi_conf} --with-apxs2=${EPREFIX}/usr/sbin/apxs"
else
sapi_conf="${sapi_conf} --without-apxs2"
fi
;;
esac
done
econf ${sapi_conf}
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" || "Failed to change dir to ${WORKDIR}/sapis-build/$1"
emake || die "emake failed"
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"
emake INSTALL_ROOT="${D}" \
install-build install-headers install-programs \
|| die "emake install failed"
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}"
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
into "${PHP_DESTDIR#${EPREFIX}}"
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}" || die "Unable to install ${sapi} sapi"
else
dobin "${source}" || die "Unable to install ${sapi} sapi"
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
# Install env.d files
newenvd "${FILESDIR}/20php5-envd" \
"20php${SLOT}"
sed -e "s|/lib/|/$(get_libdir)/|g" -i \
"${ED}/etc/env.d/20php${SLOT}"
sed -e "s|php5|php${SLOT}|g" -i \
"${ED}/etc/env.d/20php${SLOT}"
# 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"
}
src_test() {
vecho ">>> 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
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"
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}
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 php${SLOT/./-} in order"
elog "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 enable"
ewarn "the readline USE flag or php -a will hang"
fi
elog
elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version."
elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either"
elog "'production' or 'development' in ${EPREFIX}/etc/make.conf"
elog "Both versions of php.ini can be found in ${EPREFIX}/usr/share/doc/${PF}"
elog
elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:"
elog "http://www.gentoo.org/proj/en/php/php-upgrading.xml"
elog
if ( [[ -z SUHOSIN_VERSION ]] && use suhosin && version_is_at_least 5.3.6_rc1 ) ; then
ewarn
ewarn "The suhosin USE flag now only installs the suhosin patch!"
ewarn "If you want the suhosin extension, make sure you install"
ewarn " dev-php/suhosin"
ewarn
fi
}
pkg_prerm() {
local sapi
local slot
for sapi in ${SAPIS}; do
slot=$(eselect php show $sapi 2> /dev/null)
slot=${slot/php/}
if [[ $slot == $SLOT ]]; then
ewarn "You have removed the active version of the $sapi SAPI"
ewarn "Fix the issue using \`eselect php\`"
fi
done
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.5.0_alpha1.ebuild,v 1.1 2012/11/15 12:18:46 olemarkus Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.5.0_alpha1.ebuild,v 1.2 2012/11/23 14:45:43 olemarkus Exp $
EAPI=4
@ -55,7 +55,7 @@ PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
PHP_PATCHSET="0"
PHP_PATCHSET_URI="
$(php_get_uri "${PHP_PATCHSET_LOC}" "php-patchset-$SLOT-${PHP_PATCHSET}.tar.bz2")"
$(php_get_uri "${PHP_PATCHSET_LOC}" "php-patchset-${SLOT}-r${PHP_PATCHSET}.tar.bz2")"
PHP_FPM_INIT_VER="4"
PHP_FPM_CONF_VER="1"
@ -107,7 +107,7 @@ IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk
mssql mysql mysqlnd mysqli nls
oci8-instant-client odbc pcntl pdo +phar pic +posix postgres qdbm
readline recode selinux +session sharedmem
+simplexml snmp soap sockets spell sqlite3 ssl
+simplexml snmp soap sockets spell sqlite ssl
sybase-ct sysvipc tidy +tokenizer truetype unicode wddx
+xml xmlreader xmlwriter xmlrpc xpm xsl zip zlib"
@ -164,7 +164,7 @@ DEPEND="
snmp? ( >=net-analyzer/net-snmp-5.2 )
soap? ( >=dev-libs/libxml2-2.6.8 )
spell? ( >=app-text/aspell-0.50 )
sqlite3? ( >=dev-db/sqlite-3.7.6.3 )
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
ssl? ( >=dev-libs/openssl-0.9.7 )
sybase-ct? ( dev-db/freetds )
tidy? ( app-text/htmltidy )
@ -460,7 +460,7 @@ src_configure() {
$(use_with snmp snmp "${EPREFIX}"/usr)
$(use_enable soap soap )
$(use_enable sockets sockets )
$(use_with sqlite3 sqlite3 "${EPREFIX}"/usr)
$(use_with sqlite sqlite3 "${EPREFIX}"/usr)
$(use_with sybase-ct sybase-ct "${EPREFIX}"/usr)
$(use_enable sysvipc sysvmsg )
$(use_enable sysvipc sysvsem )
@ -577,7 +577,7 @@ src_configure() {
fi
my_conf+="
$(use_with postgres pdo-pgsql )
$(use_with sqlite3 pdo-sqlite ${EPREFIX}/usr)
$(use_with sqlite pdo-sqlite ${EPREFIX}/usr)
$(use_with odbc pdo-odbc unixODBC,${EPREFIX}/usr)"
if use oci8-instant-client ; then
my_conf+="

@ -5,3 +5,4 @@ DIST rakudo-2012.08.tar.gz 1090560 SHA256 6bbd54317fbf650fdeca6781b73eec9945d476
DIST rakudo-2012.09.1.tar.gz 1097797 SHA256 ac46f00d71a81e906d4e57b35b0bb9d0d93c0f81d69f6a824659a05b1d025b07 SHA512 9fdb93cf37496e282a8b4366bcf4a1b800e5959b398e41cc297ad38a79f9435c78cfc199ddb264bc5e5b1507b022bb3556f62db991df40ef0df80696869d0283 WHIRLPOOL 5d138db6b98ef86aff96f9f8bdd603821a2e3d19fc47abfbd5326ff51fc964734b511499fa1e13c4187e9f6191cc8e9c9d7b779bf545c3b28c24ad353a7f385b
DIST rakudo-2012.09.tar.gz 1094015 SHA256 9fccb1b1d1884b2d6ba8a4bfdc16a90879423aa4ebf1c115dbd16cacb5a976f8 SHA512 36a47e7b21d46a771b369cf6eb086e18a623726de1c97b460a09656cbf5cb83e9893067fc32aea159d047ffabcf38a07168b785d83ee834f2713b959b6c56e41 WHIRLPOOL 3e19db2376e9a6bf3e931775fa5c63895d71658fc5ef2b487b0cd0bd3d576ea256975a4681cf034917e3ab6c1cd51a686f879cf62d3257b38b2f4aea60b239d0
DIST rakudo-2012.10.tar.gz 1100471 SHA256 5601ce92f1bad3b88e53188a8a70106814c86c77859ccab81c438ca65c219ba7 SHA512 c82564c9ab07d65a5df824d26251dc5bac1cf1ee3c83cd12dc5062f6f552c7d72c65126171d4fcc0ebfef5bbe1a4e53e6a3bda06d3508a8bd0eb559f1e5cdbb7 WHIRLPOOL c569af9986955d90c69b5c720d6b201cf01a8d7f326f6c47a4eb630b08977c2920b303b8005796114b3d46de0ad741f8076b9659deda3bea2bc9f26031063d68
DIST rakudo-2012.11.tar.gz 1111827 SHA256 45b52e1eeb37271a0efe8fa09e9a7fcc6890ef303d44eacb3deabb245b5dde6a SHA512 51625a3f6e75ceea71f842c33661c05258ef6cdb05a731b3244a63b2fe36af284294105e3ecb54bab7f6ec6170c7887d355bddea6ae14b51de10ba2a767dcfcb WHIRLPOOL a14102beb1af462c71fa79c93f8e0aea10e504910cc53ae39d30a86a726625becee5614d7f7ec05838c042d1f48d5fd2ab5f1293d07304a8dca39a5c22c6bc30

@ -0,0 +1,49 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/rakudo/rakudo-2012.11.ebuild,v 1.1 2012/11/23 06:35:43 patrick Exp $
EAPI=3
PARROT_VERSION="4.4.0"
NQP_VERSION="${PV}"
inherit eutils multilib
DESCRIPTION="A Perl 6 implementation built on the Parrot virtual machine"
HOMEPAGE="http://rakudo.org/"
SRC_URI="mirror://github/${PN}/${PN}/${P}.tar.gz"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND=">=dev-lang/parrot-${PARROT_VERSION}[unicode]
>=dev-lang/nqp-${NQP_VERSION}"
DEPEND="${RDEPEND}
dev-lang/perl"
src_prepare() {
sed -i "s,\$(DOCDIR)/rakudo$,&-${PVR}," tools/build/Makefile.in || die
}
src_configure() {
perl Configure.pl || die
}
src_test() {
emake -j1 test || die
}
src_install() {
emake DESTDIR="${ED}" install || die
dodoc CREDITS README docs/ChangeLog docs/ROADMAP || die
if use doc; then
dohtml -A svg docs/architecture.html docs/architecture.svg || die
dodoc docs/*.pod || die
docinto announce
dodoc docs/announce/* || die
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.49.0-r2.ebuild,v 1.3 2012/11/02 11:55:46 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.49.0-r2.ebuild,v 1.5 2012/11/22 19:48:37 zerochaos Exp $
EAPI="4"
PYTHON_DEPEND="python? *"

@ -1,2 +1,2 @@
DIST eet-1.7.0.tar.bz2 554123 SHA256 eb31b78407ad9765b547dc90957abb960444d9edc23ffff687dfb463b3bedb3d SHA512 e28c6017f64e51e1c0c13691e04d25da7dd8e9acd1c93e5c79c97474be23edc20304ba4161c362c9ada44512ef079af0460b6b03aa19757ec3519d0249a923e8 WHIRLPOOL 842c2a7afe7993a082d68678af554aaa9ddb10d8d370676b63857d6f262f18564001aed682d81b5c061c70d065ebdcc5b862fc92b26509450a136c7cec679b00
DIST eet-1.7.1.tar.bz2 549842 SHA256 3e5679c06792f0a1c4b5b158468afbcec3b510c60345055d5964fdbe2abba3eb SHA512 4f8673b3b4f72940277ae2955b757760c92e1d3a17badfa79f6fb56cf6d7c4231788a20b5898b12eb765b4725edc267bfb9366da59a31ba0d9eb2dc41c6d5404 WHIRLPOOL 3f26ae3b971b19ea47dc0d59a2c08ca6ac0b83dbc147f96e1d161d3a8de111615c3a5a46ca9d387f2336be8032202b821090e25b7c0117a3e708c924263c9691
DIST eet-1.7.2.tar.bz2 577810 SHA256 e8ec6e02c3dbb050d23fa2e6985019c8e1005c7dde31a047ed193974d04bd86f SHA512 074b99d07f0e5326643390a8deded500ebd872ba73936247154b601b057c4ce577a543ebcb6dd2ec9fadfc13f76e62b106599b51efaef2a46687b8bc828d8f14 WHIRLPOOL f5d69cbaa065c07a163f9a739cbdab5b71f69cfddee8d6eab5c288b5ad4fc043df08251b2108fa59280c8d33f812fd3349b449fa495a889ad4b79c508478b241

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/eet/eet-1.7.0.ebuild,v 1.2 2012/09/10 23:28:03 vapier Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/eet/eet-1.7.2.ebuild,v 1.1 2012/11/23 14:49:03 tommy Exp $
EAPI=2

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/grantlee/grantlee-0.2.0.ebuild,v 1.1 2012/08/01 19:14:51 johu Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/grantlee/grantlee-0.2.0.ebuild,v 1.3 2012/11/23 18:24:34 ago Exp $
EAPI=4
@ -12,7 +12,7 @@ HOMEPAGE="http://www.gitorious.org/grantlee/pages/Home"
SRC_URI="http://www.loegria.net/grantlee/${P}.tar.gz"
LICENSE="LGPL-2.1"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
SLOT="0"
IUSE="debug doc test"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/jthread/jthread-1.2.1.ebuild,v 1.2 2012/11/22 12:02:36 pinkbyte Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/jthread/jthread-1.2.1.ebuild,v 1.3 2012/11/22 19:26:42 ago Exp $
DESCRIPTION="JThread provides some classes to make use of threads easy on different platforms."
HOMEPAGE="http://research.edm.uhasselt.be/~jori/page/index.php?n=CS.Jthread"
@ -8,7 +8,7 @@ SRC_URI="http://research.edm.uhasselt.be/jori/${PN}/${P}.tar.bz2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 ~x86"
IUSE=""
src_install() {

@ -1,5 +1,7 @@
DIST libnl-1.1.tar.gz 288932 SHA256 35cea4cfb6cd8af0cafa0f34fff81def5a1f193b8b8384299b4b21883e22edc3 SHA512 add02849845bd0029968a9fb9a642133051196da17cf7b45eef192de1c09ad0b0ad7cc8424fa325f1c63262779d0abfd74e4ecb634abe66a4d2f394b3ad3e3de WHIRLPOOL 1fa96e4206acf5e9091a2aeed9a0694b6f4cce3aaae9a2074cd8713e4f1f526b5af138b69d03e7f233cc52d1acd3b67237455261ee42c56bf69c4b17caef0b84
DIST libnl-3.2.13.tar.gz 1177080 SHA256 4deba0ecec0e5aede900b5676ed56d727b688e3d49f3e732c7e294a6a920bcf9 SHA512 30f8063caf288a596e18f3162fdfef1e67d1584322f5064bef3978d2e874177c0dcc9486ab92f7f737896a102e772f15a54451c886436f01abebb3e38e36a2ee WHIRLPOOL dbb2a8b3c69ee53f3cc0019596ba37984b359079ccb88444fb44db3bf387a9215bf2442ce4d48e697244278ef92d245c92895147cb9779382e652651d58cc75e
DIST libnl-3.2.14.tar.gz 687883 SHA256 6bb043eea08765bada37a053d932f073db9d51e7a8cd419e237c785ba6369e2c SHA512 14e9b733beb985d83bb4672087c91734954a6e90fe71a825dc089ab797ddf6a9e9ee39a046c5b996a3a0184588160a47830a368540831443615793a1eef647f5 WHIRLPOOL 34f6e4cb8b07b67a5b5abfaa59a0a45f114921b894959ede2e7b44640d6aa012a4bc1e08752b31b11035b745001a43716c3e093b4ccfecfa99a0f6a0b65a7539
DIST libnl-3.2.15.tar.gz 712039 SHA256 756f8b31f74e087f180340aa28a181f698062965ca69936ab089f7f6741e6ea9 SHA512 3b9ee8bdb6daba06aa8ecf21466d4d9252988a772a7cd3c306ecb248e7e58a1605c7dcfd62591dae51b47e284fee3c55da28cba09da587eddabc49a1283673f9 WHIRLPOOL 03ff7dbf875d1fa6e9bc01835551d2c2ee1e41c6510d0725c4278a0ca4d281b79e2749ac182846f6e993b6553762248a8bdeb05ac3675d65d11e79cc7194c010
DIST libnl-3.2.7.tar.gz 1124758 SHA256 1141f3229ebf65f6cee43a898d4832b8c17cb942e23adeccb365e75708a2b08e SHA512 be060ca030a83869575e22761b106e206c9545be92c18e61f09dce99476237ea71ebfb777ebb7ee17da6a2e3886fdfd30ae1fc6b37b775ba6a74cdd79568d1f3 WHIRLPOOL e7ed8f3f1d662d784527ce2a7bfaf5c34c39fbe3a7c1bf799e7cd3aa31703fe662bb3eb0ad59f55ca5b2d9e62946646117bce7ecae99f8b32f201120d11a1dde
DIST libnl-doc-3.2.14.tar.gz 8766064 SHA256 1db05aaa61c14ee578fa432cc1973a73379abe175859ef9e92ea033eae005e43 SHA512 2692f6d4c3e3a9d4fe9cc210fdb03751356daaebe19f8d9041804252a6c220dfc7ad4e72da428b56ade30afa2ef3ec3b6c86416f07b12013403dad8f735b0c0b WHIRLPOOL f55436bc28750f4d4d1bf716fc73e36a01b27d8799c0b2d8fee785db3da935fae4c4ab05a03dd4c65b9ef0cc32d2c112182b4e343e97b116a28da90e3035d96c
DIST libnl-doc-3.2.15.tar.gz 11792430 SHA256 71c9aef7bf1495b5c2a488abf247ab5a4744783e8b4c6641b0bbb8e28d92605f SHA512 9224f308e3f01fd7a2d98f0cca0bf6f6d6535cfdc905c61bbb242c788a7c6121dee80c135552fd87a6e0dce31be4dea89e981066982f9d4f96b29f35ce92458c WHIRLPOOL 58902aff10580f1374dca9885060a20d32aedf1264c628c0105a860c8870d1ff9f4491a5b16389fb677815ae19aa98b9218ca3ce46385510d4bc88d0f5e574f9

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-3.2.14.ebuild,v 1.6 2012/11/21 11:17:04 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-3.2.14.ebuild,v 1.7 2012/11/23 17:17:40 jer Exp $
EAPI=4
inherit eutils libtool multilib
@ -38,7 +38,7 @@ src_install() {
if use doc; then
dohtml -r \
-a css,html,js,map,png \
"${WORKDIR}"/${PN}-doc-${PV}
"${WORKDIR}"/${PN}-doc-${PV}/*
fi
use static-libs || rm -f "${ED}"/usr/$(get_libdir)/lib*.la

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

@ -1,3 +1,4 @@
DIST librelp-0.1.1.tar.gz 375399 SHA256 57095df8936b7b85a7657c2d468081c6231270269f2501cc089cb2df92abd608 SHA512 571402626c3b42dde25998a26415b7d44a4ace1c027aa8b77c702c40d544ec0fbd432441487498a4780bb3780bee9ce63efcf1d0d4663279505c8f45d0aa87e5 WHIRLPOOL fb1b986e619ba5faa6eb38f03d549c7d89545535ff4b833f2c9342e29748770d9f841f9898b9273e77b241745bb2328023b1784f72c66ea2e6098da904f83a16
DIST librelp-0.1.3.tar.gz 382922 SHA256 d669dc623e54e241d2983ed00a8e75694d2a4098f8be08610f740f1b93fd5498 SHA512 f4b0451d4f77f18d0bedc4953f9a8d3230a003c75dc7b563d8901cded338723dfd218a64fb569fa378c3d08478467221017712cdf096ff5833156776010a71f2 WHIRLPOOL b9ddf9ac830847babc6fa48bc4f973c4e9bf498e6f5594228627c587cce8694996ce0244ec4f9f688eda9f6fb7b1e57f1efc80b668d0ce4e10a4a5cbe78c67ad
DIST librelp-1.0.0.tar.gz 384203 SHA256 a4b28e72a003f4a2a7fcb7c6093d60af6d252f1798dacc928c276eed4d20bc85 SHA512 0e77d7112d1d46eb0b8ec3781a6b61cf0bdb60974835774bb217c8a898230dfbc3b95b806f953cc9bff128197376961470a0aa9c533127db3c8472b4d9155010 WHIRLPOOL a081e3c23dc6a636a8a3bdc6752a3c49eaa53c4a7f17b8f79d178f26cd9c0e5ad7fef7ee007cb95ddc03f62759734f568c2654274fe74a65ee63b3ef10a10ee0
DIST librelp-1.0.1.tar.gz 355401 SHA256 76b010aa9149976802daa2e5fda7ac02a8a227b0c8c0d1069eec2d2a6629739a SHA512 8a8e5e7b4d6f9b0741f378188080a633c03082990ee2b73131ad41275200ceb8c72a8338cec1e65e7ecc6c196df351206174aa29654a162f9515075a384262d1 WHIRLPOOL 938aadf2285dae7f11b494133711a118092df7409364bbcdabf04087580de843a6a61b83b24db36281990f4261833d4c9570617dbcf3fdddf7f7d7263a208fb7

@ -0,0 +1,27 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/librelp/librelp-1.0.1.ebuild,v 1.1 2012/11/23 10:31:48 ultrabug Exp $
EAPI="2"
DESCRIPTION="An easy to use library for the RELP protocol."
HOMEPAGE="http://www.librelp.com/"
SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz"
LICENSE="GPL-3 doc? ( FDL-1.3 )"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~sparc ~x86"
IUSE="debug doc"
DEPEND=""
RDEPEND=""
src_configure() {
econf \
$(use_enable debug)
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog
use doc && dohtml doc/relp.html
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/soprano-2.8.0.ebuild,v 1.3 2012/09/10 08:48:02 dilfridge Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/soprano-2.8.0.ebuild,v 1.5 2012/11/23 18:25:21 ago Exp $
EAPI=4
@ -10,7 +10,7 @@ if [[ ${PV} == *9999* ]]; then
KEYWORDS=""
else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
fi
inherit base cmake-utils flag-o-matic ${git_eclass}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Cache-Cache/Cache-Cache-1.60.0.ebuild,v 1.8 2012/03/19 19:28:17 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Cache-Cache/Cache-Cache-1.60.0.ebuild,v 1.9 2012/11/23 13:18:30 blueness Exp $
EAPI=4
@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="Generic cache interface and implementations"
SLOT="0"
KEYWORDS="alpha amd64 hppa ppc ppc64 x86 ~x86-solaris"
KEYWORDS="alpha amd64 ~arm hppa ppc ppc64 x86 ~x86-solaris"
IUSE=""
RDEPEND=">=dev-perl/Digest-SHA1-2.02

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Digest-CRC/Digest-CRC-0.180.0.ebuild,v 1.4 2012/11/14 03:37:24 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Digest-CRC/Digest-CRC-0.180.0.ebuild,v 1.5 2012/11/23 18:16:26 blueness Exp $
EAPI=4
@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="Generic CRC function"
SLOT="0"
KEYWORDS="amd64 ~hppa x86 ~amd64-linux"
KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86 ~amd64-linux"
IUSE=""
RDEPEND=""

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Email-MIME/Email-MIME-1.911.0.ebuild,v 1.4 2012/10/16 14:36:18 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Email-MIME/Email-MIME-1.911.0.ebuild,v 1.5 2012/11/22 18:30:45 ago Exp $
EAPI=4
@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="Easy MIME message parsing"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 ~x86 ~sparc-solaris ~x86-solaris"
KEYWORDS="amd64 ppc ppc64 x86 ~sparc-solaris ~x86-solaris"
IUSE="test"
RDEPEND="

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/FCGI/FCGI-0.740.0.ebuild,v 1.5 2012/06/17 16:27:16 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/FCGI/FCGI-0.740.0.ebuild,v 1.6 2012/11/23 13:12:51 blueness Exp $
EAPI=4
@ -12,7 +12,7 @@ DESCRIPTION="Fast CGI"
LICENSE="openmarket"
SLOT="0"
KEYWORDS="amd64 ppc ~ppc64 x86"
KEYWORDS="amd64 ~arm ppc ~ppc64 x86"
IUSE=""
SRC_TEST="do"

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/File-Copy-Recursive/File-Copy-Recursive-0.380.0.ebuild,v 1.2 2011/09/03 21:05:09 tove Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/File-Copy-Recursive/File-Copy-Recursive-0.380.0.ebuild,v 1.3 2012/11/23 12:27:41 blueness Exp $
EAPI=4
@ -11,6 +11,6 @@ inherit perl-module
DESCRIPTION="uses File::Copy to recursively copy dirs"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE=""
SRC_TEST="do"

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/IPC-ShareLite/IPC-ShareLite-0.170.0.ebuild,v 1.2 2011/09/03 21:05:25 tove Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/IPC-ShareLite/IPC-ShareLite-0.170.0.ebuild,v 1.3 2012/11/23 13:08:50 blueness Exp $
EAPI=4
@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="IPC::ShareLite module for perl"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-solaris"
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-solaris"
IUSE="test"
DEPEND="test? ( dev-perl/Test-Pod )"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-IRC/Net-IRC-0.790.0.ebuild,v 1.1 2012/06/16 17:05:20 tove Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-IRC/Net-IRC-0.790.0.ebuild,v 1.2 2012/11/23 13:11:23 blueness Exp $
EAPI=2
@ -12,7 +12,7 @@ DESCRIPTION="Perl IRC module"
SLOT="0"
LICENSE="Artistic"
KEYWORDS="amd64 ~mips ppc x86"
KEYWORDS="amd64 ~arm ~mips ppc x86"
IUSE=""
SRC_TEST="do"

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-Telnet/Net-Telnet-3.30.0.ebuild,v 1.2 2011/09/03 21:04:29 tove Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-Telnet/Net-Telnet-3.30.0.ebuild,v 1.3 2012/11/23 13:17:44 blueness Exp $
EAPI=4
@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="A Telnet Perl Module"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE=""
RDEPEND=">=virtual/perl-libnet-1.0703"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Test-Differences/Test-Differences-0.610.0.ebuild,v 1.7 2012/10/05 15:44:18 ranger Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Test-Differences/Test-Differences-0.610.0.ebuild,v 1.8 2012/11/23 13:21:25 blueness Exp $
EAPI=4
@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="Test strings and data structures and show differences if not ok"
SLOT="0"
KEYWORDS="amd64 hppa ppc x86"
KEYWORDS="amd64 ~arm hppa ppc x86"
IUSE="test"
RDEPEND="dev-perl/Text-Diff

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Test-LongString/Test-LongString-0.150.0.ebuild,v 1.5 2012/03/25 17:09:37 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Test-LongString/Test-LongString-0.150.0.ebuild,v 1.6 2012/11/23 13:13:51 blueness Exp $
EAPI=4
@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="A library to test long strings."
SLOT="0"
KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
KEYWORDS="amd64 ~arm ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="test"
RDEPEND=""

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Test-MockModule/Test-MockModule-0.50.0.ebuild,v 1.5 2012/10/05 15:34:18 ranger Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Test-MockModule/Test-MockModule-0.50.0.ebuild,v 1.6 2012/11/23 13:24:36 blueness Exp $
EAPI=4
@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="Override subroutines in a module for unit testing"
SLOT="0"
KEYWORDS="amd64 ppc x86"
KEYWORDS="amd64 ~arm ppc x86"
IUSE="test"
DEPEND="

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Text-Diff/Text-Diff-1.410.0.ebuild,v 1.8 2012/03/20 22:14:42 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Text-Diff/Text-Diff-1.410.0.ebuild,v 1.9 2012/11/23 13:15:01 blueness Exp $
EAPI=4
@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="Easily create test classes in an xUnit style."
SLOT="0"
KEYWORDS="amd64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
KEYWORDS="amd64 ~arm hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
IUSE=""
RDEPEND="dev-perl/Algorithm-Diff"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.9.4-r1.ebuild,v 1.2 2012/10/28 16:01:01 hwoarang Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.9.4-r1.ebuild,v 1.3 2012/11/22 21:03:41 maekke Exp $
EAPI=4
@ -27,7 +27,7 @@ fi
LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="0"
KEYWORDS="alpha amd64 ~arm ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
IUSE="X assistant dbus debug declarative doc examples kde multimedia opengl phonon sql svg webkit xmlpatterns"
REQUIRED_USE="

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/beautifulsoup/beautifulsoup-4.1.3.ebuild,v 1.6 2012/11/21 21:46:56 maekke Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/beautifulsoup/beautifulsoup-4.1.3.ebuild,v 1.7 2012/11/23 15:14:31 blueness Exp $
EAPI="4"
@ -21,7 +21,7 @@ SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="4"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="doc test"
DEPEND="doc? ( dev-python/sphinx )

@ -1,2 +1,2 @@
DIST milk-0.4.2.tar.xz 108792 SHA256 943a4667f20540fe7799c7ce16f54266d408aa89045047bb7c32b18e02b80281 SHA512 f6e7d5da7fe776308c01e7bf2e3abaa0cee7490f8eee0cc91f2ab04685f7a480ac5b18a9a45cdef99d281837e31c839585448c793ad0a0938d2a871d9e7762ec WHIRLPOOL f52312b4631d3f63a6b094f1cc402e2e397be9543342dc1937dc1d0b24c85693deaed768b098696cef5e2b20297f1063301905f4fd4d79d0c52eb4474cd3b845
DIST milk-0.4.3.tar.gz 83072 SHA256 ac34d688a493ccd7ff45e79b2638fa0b26e4260c725f179d9b3a8f17c2a18fdd SHA512 9350b0e60550bad7dd44b77b252b6a061a693fbd8ad2fa4b5cac66c8b2c59d21e507f71f0f3f7aae626e5ccec8625f050a0cdeb61948efb6bd9a9e4c116f3137 WHIRLPOOL c4de15da8c89b4e55424f3d948d80ec418be838b6063fc8bed7d1bcb0ce1ad324a0e9f9c00136659311ef28b758486b76db3c0e1ac7c7888e9cf9898da5a4edb
DIST milk-0.5.tar.gz 135964 SHA256 69be63eb301873f5dd39a23e669a671ff68ff118f328907637f839445a29bec5 SHA512 b9f818a23bfbd9ef2726bdaba746fcb693af1aaa8471b0211328b4c70e25e01cb95e6c0bc663b49284398d1da1e9ee8c5d073546a331ff11831274cedd1c0e5c WHIRLPOOL 0ed09fead5b4c560ab02b08cb680eb2d4864e38f8be5d902c89927497c02ffda6a325c1a2b2ec5bd9ad7753ace48c861c063b1851104119be22a7f7f07999ce1

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/milk/milk-0.4.2.ebuild,v 1.7 2012/08/09 05:56:52 patrick Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/milk/milk-0.5.ebuild,v 1.1 2012/11/23 04:30:49 bicatali Exp $
EAPI=4
@ -13,9 +13,7 @@ inherit distutils
DESCRIPTION="Machine learning toolkit in Python"
HOMEPAGE="http://luispedro.org/software/milk"
#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
# missing file from VCS added, bug 427416
SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
@ -24,4 +22,5 @@ IUSE="test"
RDEPEND="dev-python/numpy"
DEPEND="dev-python/setuptools
dev-cpp/eigen:3
test? ( dev-python/milksets sci-libs/scipy )"

@ -1,2 +1,3 @@
DIST pandas-0.8.1.tar.gz 1727272 SHA256 696698ff132f60d136f4c6f02751d3c7907bcaba6ca7f341a0efe4ac0d98d52f SHA512 7ca871e3a90a16ee6ad97ffa0c1326ae41aaa59b797915bd1e6508d5efb8d963ec16f46fb90ab843d1fcb66d01b891141a1e7947ffa17997a93faf55ce8578b2 WHIRLPOOL 2b7a4fb65678137c3e535c54736fdd51c732888cbc43931eff2dd1715542c47fa045597e3f5f0051caef865cfadbaf5e7585868098b5b0ab4da4feb34dae7019
DIST pandas-0.9.0.tar.gz 2308120 SHA256 d5924c09d737bb91ed3dc9a120814f20c0c0ca21fc81a9e0df96c701effb87d3 SHA512 05146d077b0983ad2721c03da5bb904f86d9ae70337110e9683becbbe61eaa352a7db2c4a87272d7cc5be5a918576fcf8ae641ede269f6e3dfdeeabdc97d7af9 WHIRLPOOL 6f7170b0b338b086356d821abee2cd21387d5ba270d3b82c7a2501297b51dbe44663f7a5c1ac0888b7a6f57a7db6547825bd73dd8d173f4e0a8e4c29829e5d3a
DIST pandas-0.9.1.tar.gz 2284689 SHA256 7088d9ef239504626e6235084ae7fa88949c83c8bb4249d169e642521bfa64e9 SHA512 76feea7f130b738b8c0b1cf385b295215ac44db9844154e8fa0f37ed4c65b4ecf78b95cdfef7dd85deafa869d97700b6d0732225ed2eaba2bde7a4ee85fc6b88 WHIRLPOOL 2c3306270ca65d9d7cfb58afbaa8014ae72fc04bc493bf54bbdfa245f612904773f33e14ab572c0dc1da2779e4b8e81c06baeeb6c5990cbce95ec5c0c6b17b10

@ -0,0 +1,67 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/pandas-0.9.1.ebuild,v 1.1 2012/11/23 05:14:47 bicatali Exp $
EAPI=4
# python cruft
SUPPORT_PYTHON_ABIS="1"
DISTUTILS_SRC_TEST="nosetests"
RESTRICT_PYTHON_ABIS="2.4 2.7-pypy-* *-jython 3.3"
inherit distutils
DESCRIPTION="Powerful data structures for data analysis and statistics"
HOMEPAGE="http://pandas.sourceforge.net/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
SLOT="0"
IUSE="doc examples excel R"
CDEPEND="dev-python/numpy
>=dev-python/python-dateutil-2.1"
DEPEND="${CDEPEND}
doc? (
dev-python/ipython
dev-python/rpy
dev-python/sphinx
sci-libs/scikits_statsmodels
)"
RDEPEND="${CDEPEND}
dev-python/matplotlib
dev-python/pytables
dev-python/pytz
sci-libs/scipy
excel? (
dev-python/openpyxl
dev-python/xlrd
dev-python/xlwt
)
R? ( dev-python/rpy )"
src_compile() {
distutils_src_compile
if use doc; then
cd doc
"$(PYTHON -f)" make.py html || die
fi
}
src_test() {
testing() {
cd "${S}/build-${PYTHON_ABI}"/lib*
PYTHONPATH=. MPLCONFIGDIR=. HOME=. nosetests-"${PYTHON_ABI}" pandas
}
python_execute_function testing
}
src_install() {
distutils_src_install
use doc && dohtml -r doc/build/html
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pytest/pytest-2.3.2-r1.ebuild,v 1.1 2012/11/06 09:26:13 idella4 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/pytest/pytest-2.3.2-r1.ebuild,v 1.2 2012/11/23 01:19:57 floppym Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
@ -16,7 +16,9 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="doc"
RDEPEND=">=dev-python/py-1.4.7"
# When bumping, please check setup.py for the proper py version
PY_VER="1.4.11"
RDEPEND=">=dev-python/py-${PY_VER}"
DEPEND="${RDEPEND}
app-arch/unzip
dev-python/setuptools"
@ -25,10 +27,10 @@ DOCS="CHANGELOG README.txt"
PYTHON_MODNAME="pytest.py _pytest"
src_prepare() {
distutils_src_prepare
# Disable versioning of py.test script to avoid collision with versioning performed by distutils_src_install().
sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed"
grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency"
distutils_src_prepare
}
src_compile() {

@ -1,47 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pytest/pytest-2.3.2.ebuild,v 1.1 2012/10/30 08:05:44 patrick Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
inherit distutils
DESCRIPTION="py.test: simple powerful testing with Python"
HOMEPAGE="http://pytest.org/ http://pypi.python.org/pypi/pytest"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE=""
RDEPEND=">=dev-python/py-1.4.7"
DEPEND="${RDEPEND}
app-arch/unzip
dev-python/setuptools"
DOCS="CHANGELOG README.txt"
PYTHON_MODNAME="pytest.py _pytest"
src_prepare() {
distutils_src_prepare
# Disable versioning of py.test script to avoid collision with versioning performed by distutils_src_install().
sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed"
}
src_test() {
testing() {
PYTHONPATH="${S}/build-${PYTHON_ABI}/lib" "$(PYTHON)" "build-${PYTHON_ABI}/lib/pytest.py"
}
python_execute_function testing
}
src_install() {
distutils_src_install
python_generate_wrapper_scripts -E -f -q "${ED}usr/bin/py.test"
# Bug 380275: Test suite pre-compiles modules
python_clean_installation_image -q
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pytest/pytest-2.3.3.ebuild,v 1.1 2012/11/11 11:05:05 radhermit Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/pytest/pytest-2.3.3.ebuild,v 1.2 2012/11/23 01:19:57 floppym Exp $
EAPI="4"
SUPPORT_PYTHON_ABIS="1"
@ -16,7 +16,9 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="doc"
RDEPEND=">=dev-python/py-1.4.7"
# When bumping, please check setup.py for the proper py version
PY_VER="1.4.12"
RDEPEND=">=dev-python/py-${PY_VER}"
DEPEND="${RDEPEND}
app-arch/unzip
dev-python/setuptools"
@ -25,10 +27,10 @@ DOCS="CHANGELOG README.txt"
PYTHON_MODNAME="pytest.py _pytest"
src_prepare() {
distutils_src_prepare
# Disable versioning of py.test script to avoid collision with versioning performed by distutils_src_install().
sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed"
grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency"
distutils_src_prepare
}
src_compile() {

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.13.3.ebuild,v 1.7 2012/09/09 15:52:02 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.13.3.ebuild,v 1.8 2012/11/22 21:31:43 maekke Exp $
EAPI="4"
PYTHON_DEPEND="*"
@ -16,7 +16,7 @@ SRC_URI="http://www.riverbankcomputing.com/static/Downloads/${PN}${PV%%.*}/${P}.
LICENSE="|| ( GPL-2 GPL-3 sip )"
SLOT="0"
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="debug doc"
DEPEND=""

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.14.ebuild,v 1.3 2012/10/14 21:43:25 pesa Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.14.ebuild,v 1.5 2012/11/22 21:31:43 maekke Exp $
EAPI="5"
PYTHON_DEPEND="*"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/allison/allison-2.0.3-r1.ebuild,v 1.7 2012/11/10 12:17:26 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/allison/allison-2.0.3-r1.ebuild,v 1.8 2012/11/23 15:07:54 blueness Exp $
EAPI=2
USE_RUBY="ruby18 ruby19 ree18 jruby"
@ -18,7 +18,7 @@ HOMEPAGE="http://fauna.github.com/fauna/allison/files/README.html"
LICENSE="AFL-3.0"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc ~x86 ~x86-solaris"
IUSE=""
all_ruby_install() {

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/echoe/echoe-4.6.3.ebuild,v 1.6 2012/11/10 12:17:12 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/echoe/echoe-4.6.3.ebuild,v 1.7 2012/11/23 15:08:41 blueness Exp $
EAPI=2
@ -23,7 +23,7 @@ HOMEPAGE="http://fauna.github.com/fauna/echoe/files/README.html"
LICENSE="AFL-3.0 MIT"
SLOT="0"
KEYWORDS="~alpha amd64 hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
IUSE=""
ruby_add_bdepend "doc? ( dev-ruby/allison )"

@ -2,3 +2,4 @@ DIST net-ssh-2.0.23.gem 129536 SHA256 395b5f604dfcbdb5e9a80967443941ec174321c7c6
DIST net-ssh-2.1.3.gem 131584 SHA256 974211c9f7a0b7bb8752a19f806d00e7a4ba4ddb47928dcd8de27a71b4728975 SHA512 1d20cfe1fbd522a6c5b25e9f16df9b8a2b9071cc3fff2124746900842dfa5fc0b31f070df651e445f012659d8c663988c5892d4e38ad92060d6f5d31e3fd337f WHIRLPOOL 86489f089af3e958805af080697f3e579d1b0e8758ced631caa575f29e475ee6464bf0f0cbe65f5fcf8692cb86c4892fe6fa80722d223f7767cc11805a7b41eb
DIST net-ssh-2.2.2.gem 133120 SHA256 211cf80d5d5805ca59723708a3cdfe43fa4dc30e5f86177a108f8cc2cd623487 SHA512 d2d7a463a8dc2f915e7050cdae1af8cd7e1d691700e47260f02728297b2616efba83cfac516febff37825c1c27070440dea1ddab057ae93e5085f9a83da94f63 WHIRLPOOL 3205074c56c046a4e7fd8c088256ca0c959eb4cfcfba3ba0616bf13fc3d790443eb6dc32647b68b2e25247522efd0f0c3ee27954e224938f3992efd85e42d2c1
DIST net-ssh-git-2.4.0.tgz 135388 SHA256 d2e41ca9fd63c6235d556efd030b8bc0f515f9588ad22330884630c67b0a8eaa SHA512 6e851d3e231169f2b1411c8bdc44212cafb52dcbbbba9d8a757aa8fdf52af31efb698cc6bcc103aa4006caffcc9c929fd50be5ad323a8fd2c3fe97e6f23a484a WHIRLPOOL 1d55a43109cb8f69da9ccf55281b7456445c68ff4e9c730b479ca62d0a9dc9ed70b4fdfadfbfa81cb94f5815142685445f6b48e2ad9588bd96152fbd4530c369
DIST net-ssh-git-2.6.1.tgz 157700 SHA256 a7006b102e4e62b577a792e18377dffcec1f3fab86d9104591fb30d7008eb62f SHA512 a8b6bb20dbd17ed04f97a7366ef41392d64e6c0cb00919d78a86712195ebd166551f345d6674661143ed3254a97b8e20a14670016133b6e85217af99319f3431 WHIRLPOOL c9330d1d94543a189129b6b8f98f4381fb69062f55d9d79896dfcf75d9e37295bb28ce5ead68b8645ca4c5cb830865dae0d050c127a0f3a12505abd702f0046f

@ -0,0 +1,32 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-ssh/net-ssh-2.6.1.ebuild,v 1.1 2012/11/23 07:21:53 graaff Exp $
EAPI=4
# no longer compatible with ruby 1.8.
USE_RUBY="ruby19"
RUBY_FAKEGEM_TASK_TEST=""
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc THANKS.rdoc"
RUBY_FAKEGEM_EXTRAINSTALL="support"
inherit ruby-fakegem
DESCRIPTION="Non-interactive SSH processing in pure Ruby"
HOMEPAGE="http://net-ssh.rubyforge.org/"
SRC_URI="https://github.com/${PN}/${PN}/tarball/v${PV} -> net-ssh-git-${PV}.tgz"
RUBY_S="${PN}-${PN}-*"
LICENSE="GPL-2"
SLOT="2.6"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
IUSE="test"
ruby_add_rdepend "virtual/ruby-ssl"
ruby_add_bdepend "test? ( dev-ruby/test-unit:2 dev-ruby/mocha )"
each_ruby_test() {
${RUBY} -Ilib:test test/test_all.rb || die "Tests failed."
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/build/build-0.3.9.ebuild,v 1.2 2012/10/17 18:23:12 maekke Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-util/build/build-0.3.9.ebuild,v 1.3 2012/11/23 18:06:40 ago Exp $
EAPI="4"
@ -11,7 +11,7 @@ HOMEPAGE="http://kolpackov.net/projects/build/"
SLOT="$(get_version_component_range 1-2)"
SRC_URI="http://www.codesynthesis.com/download/${PN}/${SLOT}/${P}.tar.bz2"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~arm ~x86"
KEYWORDS="amd64 ~arm ~x86"
IUSE="examples"
DEPEND=""

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/ccache/ccache-3.1.8.ebuild,v 1.6 2012/11/21 11:18:34 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-util/ccache/ccache-3.1.8.ebuild,v 1.7 2012/11/22 21:00:19 maekke Exp $
EAPI="4"
@ -12,7 +12,7 @@ SRC_URI="http://samba.org/ftp/ccache/${P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd"
IUSE=""
RDEPEND="sys-libs/zlib"

@ -1,41 +0,0 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/injectso/injectso-0.2.ebuild,v 1.10 2007/03/05 03:48:04 genone Exp $
inherit eutils
DESCRIPTION="Inject shared libraries into running processes under Solaris and Linux"
HOMEPAGE="http://www.securereality.com.au/"
SRC_URI="http://www.securereality.com.au/archives/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
IUSE=""
DEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-gcc4.patch"
}
src_install() {
dobin injectso
dodir /usr/lib/injectso
insinto /usr/lib/injectso
doins libtest.so libtest.c
dodoc ChangeLog README.txt
dohtml README.html
}
pkg_postinst() {
echo
elog "Read the documentation for instructions on how to use this tool."
elog "The sample library \"libtest.so\" and its source file \"libtest.c\""
elog "be found in /usr/lib/injectso."
echo
}

@ -1,2 +1,2 @@
DIST knights-2.4.2.tar.bz2 3416105 SHA256 1ad0c4092b62ced2ba14b33dbca72fbaba171603f31d0e49556391ec3a0a3ec7
DIST knights-2.4.2.tar.bz2 3416105 SHA256 1ad0c4092b62ced2ba14b33dbca72fbaba171603f31d0e49556391ec3a0a3ec7 SHA512 8bbfeef933fb6fd40b342c74252bf1bc0ff555b72bc58e5cab39dae43270332a1590165c4f492ca087e31342d24066e08c81239946aeaf464f0049d09fccf4c9 WHIRLPOOL bc1e52f2279bed8b72861a00e0ad25f7a01d4d199e1b459fd144f597f59037fafd3414a5c3f0e64d00ae521bfa2b4296045890b7fbe64724ef275caad3baa452
DIST knights-2.5.0.tar.bz2 3426822 SHA256 6567c4203c55ebe0ae6b5a25c852d7beef8b88d4154592437bc357797da5bd28 SHA512 3024fb9747c0b412e606db9262e9a547f51bfe0a5bd7e3de2952ba09da0186a45d5a21182e394b16d5905d036b94a17ed8b80c7d2c808f7ab907f4f4c6d9fa95 WHIRLPOOL 5cf2b98128898fb9be607c31e4c0df510dfa8c18e6bf00db2fa53c19005f64658894ed84c14d92ff70b1cb6cdb5d04a94cb2876791f10e90bb3fb9b35e054e6c

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-board/knights/knights-2.5.0.ebuild,v 1.1 2012/08/15 13:09:51 johu Exp $
# $Header: /var/cvsroot/gentoo-x86/games-board/knights/knights-2.5.0.ebuild,v 1.2 2012/11/23 18:04:55 ago Exp $
EAPI=4
@ -15,7 +15,7 @@ HOMEPAGE="http://kde-apps.org/content/show.php/Knights?content=122046"
SRC_URI="http://dl.dropbox.com/u/2888238/Knights/${P}.tar.bz2"
LICENSE="GPL-3"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 ~x86"
SLOT="4"
IUSE="debug"

@ -2,3 +2,4 @@ DIST stone-soup.png 1351 SHA256 486da51db277817f6fa59c32b131fa4d50cace7d8c9a8499
DIST stone-soup.svg 68546 SHA256 f2b476f57f6e8a9b56bc20ec2da0accac9376fea1ff3e4dbe59e7f2f231eb071 SHA512 dca555271faf704eb8ecdf5ee8a763df42cdeba94e9c163608c438cfc73c6fbf53416547050cad57f477ade191842e701785b65b7a9f18e27ceab05df8f2f75f WHIRLPOOL 49b7e0ca45319b2f016203e02b1e08207e9f0c18501b17f5922f1983fbb6bfabc12a9ca3199697f78561739e253f200bfbe984082bb99e1c8e289e5c41004bed
DIST stone_soup-0.10.3-nodeps.tar.xz 6486324 SHA256 c61801030486bb7020992d95573fb9378e80355c400b82cfa0f476dbd823c4a2 SHA512 57f93c0a5c541aadd426ac918b6db4ec38e5e098f2aa33d70e0b5980f8d753f54c9e4da23d47311b1acf93443e3de4b8e480ab9762c1e922edcf27de0a8ead7c WHIRLPOOL 9070a2ba8825a074578e2179a226ab259e51905d370f8cf66fab9e8485de136aabc84d7ef0fe9677b7c3905660843537524f04ee050a566f9ddccf10fcd6f5b5
DIST stone_soup-0.11.0-nodeps.tar.xz 7516360 SHA256 2a39307c9f88608ee2a33d3b831c51d9190c91ccdedadececda5edae6dd69002 SHA512 3fb5ef82aea5c7445c39f9f993436bf228552ab5e87a9752c3a275a9ae4c69519c37318dc5fcc6fae9237ceadbe02b67496dfb8c2d82fefb4434d94df61950db WHIRLPOOL e9e2b9131a7700528bec3e8fb3327a4a72dcd8941f76f2499713c9e1cef6f33b0281a9121c128854fa71470e9c77b3b90a1d076a2986d805855ebb36cd7baa85
DIST stone_soup-0.11.1-nodeps.tar.xz 7519768 SHA256 377d738cff21165763b252a57cd84049361d44db6d8d10f08f789cc9e7bb82b6 SHA512 0ceff12dcc3d4a17ea56d18b451cac4fa7805fa795551ca251ea8f3c60f25696083e602f337971f8f19ddbd2a5b7b0fc420e3ed11fc2b731de1ae0eeba1281c2 WHIRLPOOL a86d94118c131ab057258e8e9fcf8fe3d4b9024a9c4b4fabcdf0ec2cf8d26f5ddd83a1cb3d6ada90d146201bd816e74570c6d3eb55e09f371e214a7e7eea39b3

@ -0,0 +1,133 @@
From: Julian Ospald <hasufell@gentoo.org>
Date: Fri Oct 5 13:55:07 UTC 2012
Subject: build system
respect flags and compiler
--- source/Makefile
+++ source/Makefile
@@ -112,7 +112,7 @@
else
-CFOPTIMIZE := -O2
+CFOPTIMIZE := $(CXXFLAGS)
endif # USE_ICC
@@ -120,21 +120,19 @@
CFOPTIMIZE += -flto=jobserver -fwhole-program
endif
-CFOTHERS := -pipe $(EXTERNAL_FLAGS)
+CFOTHERS := $(EXTERNAL_FLAGS)
CFWARN := -Wall -Wformat-security
CFWARN_L := -Wundef
DEFINES := $(EXTERNAL_DEFINES)
-LDFLAGS := $(EXTERNAL_LDFLAGS)
-
#
# The GCC and GXX variables are set later.
#
-AR = ar
-RANLIB = ranlib
-CC = $(GCC)
-CXX = $(GXX)
+AR ?= ar
+RANLIB ?= ranlib
+CC ?= $(GCC)
+CXX ?= $(GXX)
RM = rm -f
COPY = cp
COPY_R = cp -r
@@ -145,7 +143,7 @@
PNGCRUSH = $(COPY)
PNGCRUSH_LABEL = COPY
ADVPNG = advpng -z -4
-PKGCONFIG = pkg-config
+PKGCONFIG ?= pkg-config
DOXYGEN = doxygen
DOXYGEN_SIMPLE_CONF = crawl_simple.doxy
DOXYGEN_ALL_CONF = crawl_all.doxy
@@ -1228,7 +1226,6 @@
endif
[ -d $(prefix_fp)/$(bin_prefix) ] || mkdir -p $(prefix_fp)/$(bin_prefix)
$(COPY) $(GAME) $(prefix_fp)/$(bin_prefix)/
- $(STRIP) $(prefix_fp)/$(bin_prefix)/$(GAME)
mkdir -p $(datadir_fp)/dat/des
mkdir -p $(datadir_fp)/dat/dlua
mkdir -p $(datadir_fp)/dat/clua
@@ -1570,7 +1567,7 @@
.PHONY: build-rltiles
build-rltiles: .contrib-libs $(RLTILES)/dc-unrand.txt
- +$(MAKE) -C $(RLTILES) all ARCH=$(ARCH) TILES=$(TILES)$(WEBTILES)
+ +$(MAKE) -C $(RLTILES) all ARCH=$(ARCH) DEBUG=$(DEBUG) TILES=$(TILES)$(WEBTILES)
$(TILEDEFSRCS) $(TILEDEFHDRS) $(ORIGTILEFILES): build-rltiles
--- source/rltiles/Makefile
+++ source/rltiles/Makefile
@@ -1,7 +1,7 @@
uname_S := $(shell uname -s)
ifneq (,$(findstring MINGW,$(uname_S)))
-LDFLAGS += -lmingw32
+LIBS += -lmingw32
endif
# Note: since generation of tiles is done on the host, we don't care about
@@ -10,7 +10,7 @@
# Also, cross-compilation with no system libraries for host rather than target
# is not supported. If host=target, contribs are enough.
-CFLAGS := -O2 -g -Wall -Wextra -Wno-parentheses -Wno-unused-parameter
+CXXFLAGS += -Wall -Wextra -Wno-parentheses -Wno-unused-parameter
ifdef TILES
ifndef CONTRIB_SDL
@@ -29,24 +29,24 @@
PNG_LIB := ../contrib/install/$(ARCH)/lib/libpng.a ../contrib/install/$(ARCH)/lib/libz.a
endif
- CFLAGS += $(SDL_CFLAGS) $(PNG_INCLUDE)
- LDFLAGS += $(SDL_LDFLAGS) $(PNG_LIB)
+ CXXFLAGS += $(SDL_CFLAGS) $(PNG_INCLUDE)
+ LIBS += $(SDL_LDFLAGS) $(PNG_LIB)
- CFLAGS += -DUSE_TILE
+ CXXFLAGS += -DUSE_TILE
endif
ifdef DEBUG
-CFLAGS += -O0 -DDEBUG -ggdb
+CXXFLAGS += -DDEBUG
endif
ifneq (,$(findstring MINGW,$(uname_S)))
-LDFLAGS += -lgdi32 -lwinmm
+LIBS += -lgdi32 -lwinmm
endif
ifeq ($(uname_S),Darwin)
LDFLAGS += -framework AppKit -framework AudioUnit -framework Carbon -framework IOKit -framework OpenGL
endif
ifeq ($(uname_S),Linux)
-LDFLAGS += -ldl -lpthread
+LIBS += -ldl -lpthread
endif
# Attempt to use a full compiler name, to make
@@ -127,9 +127,9 @@
distclean: clean
%.o: %.cc .cflags
- $(QUIET_HOSTCXX)$(HOSTCXX) $(CFLAGS) -Wp,-MMD,$*.d,-MT,$@ -c $< -o $@
+ $(CXX) $(CXXFLAGS) -Wp,-MD,$*.d,-MT,$@ -c $< -o $@
$(TILEGEN): $(OBJECTS)
- $(QUIET_HOSTLINK)$(HOSTCXX) $(OBJECTS) -o $@ $(LDFLAGS)
+ $(CXX) $(CXXFLAGS) $(OBJECTS) -o $@ $(LDFLAGS) $(LIBS)
.PHONY: all clean distclean

@ -0,0 +1,124 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-roguelike/stone-soup/stone-soup-0.11.1.ebuild,v 1.1 2012/11/22 17:25:29 hasufell Exp $
## TODO
# add sound support (no build switch, no sound files)
EAPI=4
VIRTUALX_REQUIRED="manual"
inherit eutils gnome2-utils virtualx games
MY_P="stone_soup-${PV}"
DESCRIPTION="Role-playing roguelike game of exploration and treasure-hunting in dungeons"
HOMEPAGE="http://crawl.develz.org/wordpress/"
SRC_URI="mirror://sourceforge/crawl-ref/Stone%20Soup/${PV}/${MY_P}-nodeps.tar.xz
http://dev.gentoo.org/~hasufell/distfiles/${PN}.png
http://dev.gentoo.org/~hasufell/distfiles/${PN}.svg"
# 3-clause BSD: mt19937ar.cc, MSVC/stdint.h
# 2-clause BSD: all contributions by Steve Noonan and Jesse Luehrs
# Public Domain|CC0: most of tiles
# MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/
LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0-Universal MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug +lua +tiles"
# test is broken
# see https://crawl.develz.org/mantis/view.php?id=6121
#RESTRICT="!debug? ( test )"
RESTRICT="test"
RDEPEND="
dev-db/sqlite:3
sys-libs/zlib
tiles? (
media-libs/freetype:2
media-libs/libpng:0
media-libs/libsdl[X,opengl,video]
media-libs/sdl-image[png]
)
!tiles? ( sys-libs/ncurses )
lua? ( >=dev-lang/lua-5.1.0 )"
DEPEND="${RDEPEND}
dev-lang/perl
sys-devel/flex
virtual/yacc
tiles? (
sys-libs/ncurses
virtual/pkgconfig
test? ( ${VIRTUALX_DEPEND} )
)"
S=${WORKDIR}/${MY_P}/source
src_prepare() {
epatch "${FILESDIR}"/${P}-build.patch
# if use test ; then
# cp -av "${WORKDIR}/${MY_P}" "${WORKDIR}/${MY_P}_test" \
# || die "setting up test-dir failed"
# fi
}
src_compile() {
S_TEST=${WORKDIR}/${MY_P}_test/source
# leave DATADIR at the top
myemakeargs=(
DATADIR="${GAMES_DATADIR}/${PN}"
V=1
prefix="${GAMES_PREFIX}"
SAVEDIR="~/.crawl"
$(usex debug "FULLDEBUG=y DEBUG=y" "")
$(usex lua "" "NO_LUA_BINDINGS=y")
$(usex tiles "TILES=y" "")
)
emake ${myemakeargs[@]}
# for test to work we need to compile with unset DATADIR
# if use test ; then
# emake ${myemakeargs[@]:1} -C "${S_TEST}"
# fi
}
src_install() {
emake ${myemakeargs[@]} DESTDIR="${D}" install
# don't relocate docs, needed at runtime
rm -rf "${D}${GAMES_DATADIR}"/${PN}/docs/license
dodoc "${WORKDIR}"/${MY_P}/README.{txt,pdf}
# icons and menu for graphical build
if use tiles ; then
doicon -s 48 "${DISTDIR}"/${PN}.png
doicon -s scalable "${DISTDIR}"/${PN}.svg
make_desktop_entry crawl
fi
prepgamesdirs
}
src_test() {
$(usex tiles "X" "")emake ${myemakeargs[@]:1} -C "${S_TEST}" test
}
pkg_preinst() {
games_pkg_preinst
gnome2_icon_savelist
}
pkg_postinst() {
games_pkg_postinst
gnome2_icon_cache_update
echo
elog "Your old config folder under '~/.crawl' is not compatible"
elog "with the new version. Remove it."
echo
}
pkg_postrm() {
gnome2_icon_cache_update
}

@ -1,3 +1,4 @@
DIST megaglest-data-3.6.0.3.tar.xz 192795104 SHA256 2a9f0293565a5ec56714b2f73f63e02b807478dce78251cedeeb25b57afb962e SHA512 58f16956f52b507518924d521d8bd19a24979be22078005a511d86af3ff8f31efb0ed500154ece656a0be1907e99d1c58867ddaaf38bb44f8af3ed91f7069648 WHIRLPOOL 5e31d09505a2ebe20fdf28b2c09f40c6dd140f4704a8ab8002aa9d382b5851fd8468878095badecf21d729a731637c60ed88b1b0d08f0ec0c661f3ec32053198
DIST megaglest-data-3.7.0.tar.xz 191777708 SHA256 cf42d3ae6d2561846e4c3ed869fa46c899eb91c1f14bccbb1c3ae5ffb9db1729 SHA512 7fc404134a1afb7c230de2ac652611321a6674ea06b6cd575e7c0f41d29e3cd958fd19150bcfdb46b816e6b1322695798ea432204bbbeae524e0b6c83a36169d WHIRLPOOL 397a3c11239ff791fc96401e2d6b537cd4ccf40128e5bf3c11eabcd1961f926de8b1a52391ad807c61f1105c6e80e5f7171e6133263cc660102f33cd5ab719c0
DIST megaglest-data-3.7.1.tar.xz 191777052 SHA256 e31a84d32e35bd1b96ebba55188d05099411497dae4bad2ece9cb0cea5723b0d SHA512 c72a8f078dc8458a7bf929a5505d5507a443eaf47688b703e6207f6efc07c603294a74f29463a09357e82d01fb59cf60eb192a7c181fddc0a2c78fe8e80fe7ce WHIRLPOOL 44bd29be0738c24bf0a3139204e13256fc23efb40a1f817a75fbfc8300e337db8d057cb7096ed622641aee84a5b28c921d36cb1093c6be7079f0a107cdb6ff2a
DIST megaglest-source-embedded-3.7.0.tar.xz 8316152 SHA256 aa23421ecbdeb8205707887d1a797d980e271d2a4b179373140c4f4650af575d SHA512 16a82e0cc88097c523bec4b68dd9f5292fb7995d73c864867d69006f48b813afafbc613d2b7d853011d7247fc0736dcd62dcdce03738c226dfa4580ccbf6d8c6 WHIRLPOOL 6ff856636898f34cbd1b5141f6b4729243de12c56b8f56521320f5c5411250de8896f3950cf5ac297ab1a2e9b816295e0df4b02fca19f1b1d27dc9431bc7f9c6

@ -0,0 +1,44 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-strategy/megaglest-data/megaglest-data-3.7.1.ebuild,v 1.1 2012/11/23 17:13:01 hasufell Exp $
EAPI=4
inherit cmake-utils games
MY_PN="megaglest"
DESCRIPTION="Data files for the cross-platform 3D realtime strategy game MegaGlest"
HOMEPAGE="http://www.megaglest.org/"
SRC_URI="mirror://sourceforge/${MY_PN}/${P}.tar.xz"
LICENSE="CCPL-Attribution-ShareAlike-3.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND="~games-strategy/megaglest-${PV}"
DOCS=( docs/AUTHORS.data.txt docs/CHANGELOG.txt docs/README.txt )
S=${WORKDIR}/${MY_PN}-${PV}
src_configure() {
local mycmakeargs=(
-DMEGAGLEST_BIN_INSTALL_PATH="${GAMES_BINDIR}"
-DMEGAGLEST_DATA_INSTALL_PATH="${GAMES_DATADIR}/${MY_PN}"
-DMEGAGLEST_ICON_INSTALL_PATH="/usr/share/pixmaps"
)
cmake-utils_src_configure
}
src_compile() {
cmake-utils_src_compile
}
src_install() {
use doc && HTML_DOCS="docs/glest_factions/"
cmake-utils_src_install
prepgamesdirs
}

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

Loading…
Cancel
Save