parent
12fd3e7a1f
commit
e0ced0f967
@ -1,2 +1,3 @@
|
||||
DIST libzpaq501.zip 43716 SHA256 3ea073fd7f02a5eafe6bd4e64723f8098224484eaa2ff42f5c56508bb48cc689 SHA512 67e7301297a56eb1b75db863f5e9dc79c66c1b478b92dfbe4bdeeef0605323c78f940798faaf2828510d3f40064a19e31032ca35f32c177462b9958d7f6b7308 WHIRLPOOL 165c23488142078fda516b98518e90508484dd1963e48ba9ea53a628a4a6b362746481ce578f71211d8aedab7b976d77ed5c9707ecb8d79eae802da9c75ca146
|
||||
DIST zpaq610.zip 266105 SHA256 886caae1779b67e8daa1a3aa7b2dc744da297a5e6d160755ccf3dddb55409f83 SHA512 ff1337877d5393b099392582820cb493d5e695c52070cfd6ce6b1967326bc0c3985e5ac6872959f69ec9c3945ed365570711b4e590f7f437bc1a30e46a61f01f WHIRLPOOL c10a7d98eb694c540832f7c209668d07e40c7e752932d30ed21ab955c13d9a39e557daad928c3faf5b2098654bfc5bffd1a5ab74537dc16a88f9fbbdf1ce38c8
|
||||
DIST zpaq638.zip 568402 SHA256 83d6a0a018e8edbac721517225475c06f0e7d88e6a1a69abe3b58e687eb6e13b SHA512 a2c038c6f9861f74c18cbdbf81ed94a18cc4b4440a931e3355abb5a14a906e91ff38f0c1be771b4b43a0442985d7d85779dfe1efed3d57b8155646f379204441 WHIRLPOOL 1d1a8aa7e590f81771ffcee58b12fe253802528e7decaa3442a6448270ef3cf32f1233757e17eee58d3b37a0df9b0c8def9460541ac4ac97e559345a0ca29046
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/libzpaq/libzpaq-6.38.ebuild,v 1.1 2013/07/20 14:21:32 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
inherit autotools-utils flag-o-matic eutils
|
||||
|
||||
MY_P=zpaq${PV/./}
|
||||
DESCRIPTION="Library to compress files in the ZPAQ format"
|
||||
HOMEPAGE="http://mattmahoney.net/dc/zpaq.html"
|
||||
SRC_URI="http://mattmahoney.net/dc/${MY_P}.zip"
|
||||
|
||||
LICENSE="zpaq"
|
||||
SLOT="0/4"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug +jit static-libs"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=""
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_OPTS+=-p1 epatch "${FILESDIR}"/0001-Add-autotools-files.patch
|
||||
# XXX: update the patch instead when the old version is gone
|
||||
touch libzpaqo.cpp || die
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--with-library-version=${SLOT#*/}:0:0
|
||||
# man-page is no longer there
|
||||
ac_cv_prog_POD2MAN=
|
||||
)
|
||||
|
||||
use debug || append-cppflags -DNDEBUG
|
||||
use jit || append-cppflags -DNOJIT
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST zpaq404.zip 45770 SHA256 ce946b8a9cb92c5656a20ff83a3a0ef88e23b374a58e33c295ef00b1843dfe30 SHA512 b624eeb358550a77979813ad950c940ff9de91636292eaa3b6e034a58474882615c7e8d154e7efd1dbb6ad77e20709d271ddb95897e294281a53d16ce0f26432 WHIRLPOOL b925fde2b55d4ba1006dac86a46abbda7c5ff18f154bec84d4400889ceec1cc9bf23e17490c5a9f6b5fb4088695bb76ffa06ee7b66063317b1682b0659179aee
|
||||
DIST zpaq610.zip 266105 SHA256 886caae1779b67e8daa1a3aa7b2dc744da297a5e6d160755ccf3dddb55409f83 SHA512 ff1337877d5393b099392582820cb493d5e695c52070cfd6ce6b1967326bc0c3985e5ac6872959f69ec9c3945ed365570711b4e590f7f437bc1a30e46a61f01f WHIRLPOOL c10a7d98eb694c540832f7c209668d07e40c7e752932d30ed21ab955c13d9a39e557daad928c3faf5b2098654bfc5bffd1a5ab74537dc16a88f9fbbdf1ce38c8
|
||||
DIST zpaq638.zip 568402 SHA256 83d6a0a018e8edbac721517225475c06f0e7d88e6a1a69abe3b58e687eb6e13b SHA512 a2c038c6f9861f74c18cbdbf81ed94a18cc4b4440a931e3355abb5a14a906e91ff38f0c1be771b4b43a0442985d7d85779dfe1efed3d57b8155646f379204441 WHIRLPOOL 1d1a8aa7e590f81771ffcee58b12fe253802528e7decaa3442a6448270ef3cf32f1233757e17eee58d3b37a0df9b0c8def9460541ac4ac97e559345a0ca29046
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/zpaq/zpaq-6.38.ebuild,v 1.1 2013/07/20 14:22:19 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
inherit autotools-utils eutils
|
||||
|
||||
MY_P=${PN}${PV/./}
|
||||
DESCRIPTION="Journaling incremental deduplicating archiving compressor"
|
||||
HOMEPAGE="http://mattmahoney.net/dc/zpaq.html"
|
||||
SRC_URI="http://mattmahoney.net/dc/${MY_P}.zip"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="=app-arch/libzpaq-${PV}
|
||||
dev-libs/libdivsufsort"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_OPTS+=-p1 epatch "${FILESDIR}"/${PN}-4-autotools.patch
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable debug)
|
||||
# man-page is no longer there
|
||||
ac_cv_prog_POD2MAN=
|
||||
)
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You may also want to install app-arch/zpaq-extras package which provides"
|
||||
elog "few additional configs and preprocessors for use with zpaq."
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemu/cdemu-2.1.0-r2.ebuild,v 1.3 2013/07/20 11:11:24 ago Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
CMAKE_MIN_VERSION="2.8.5"
|
||||
PYTHON_COMPAT=( python2_6 python2_7 )
|
||||
PLOCALES="de fr no pl sl sv"
|
||||
|
||||
inherit bash-completion-r1 cmake-utils eutils fdo-mime l10n python-single-r1
|
||||
|
||||
DESCRIPTION="Command-line tool for controlling cdemu-daemon"
|
||||
HOMEPAGE="http://cdemu.org"
|
||||
SRC_URI="mirror://sourceforge/cdemu/cdemu-client-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~hppa x86"
|
||||
IUSE="+cdemu-daemon"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
cdemu-daemon? ( app-cdr/cdemu-daemon:0/5 )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/desktop-file-utils
|
||||
>=dev-util/intltool-0.21
|
||||
>=sys-devel/gettext-0.18"
|
||||
|
||||
S=${WORKDIR}/cdemu-client-${PV}
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang src/cdemu
|
||||
epatch "${FILESDIR}/${PN}-2.1.0-bash-completion-dir.patch"
|
||||
# build system doesn't respect LINGUAS :/
|
||||
l10n_find_plocales_changes po "" ".po"
|
||||
rm_po() {
|
||||
rm po/$1.po || die
|
||||
}
|
||||
l10n_for_each_disabled_locale_do rm_po
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
DOCS="AUTHORS README"
|
||||
local mycmakeargs=(
|
||||
-DPOST_INSTALL_HOOKS=OFF
|
||||
-DGENTOO_BASHCOMPDIR="$(get_bashcompdir)"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
diff --git a/cdemu-client/CMakeLists.txt b/cdemu-client/CMakeLists.txt
|
||||
index 6f33b7c..3c61daa 100644
|
||||
--- a/cdemu-client/CMakeLists.txt
|
||||
+++ b/cdemu-client/CMakeLists.txt
|
||||
@@ -41,8 +41,8 @@ install (
|
||||
|
||||
install (
|
||||
FILES data/cdemu-bashcomp
|
||||
- DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/bash_completion.d
|
||||
- RENAME cdemu-client
|
||||
+ DESTINATION ${GENTOO_BASHCOMPDIR}
|
||||
+ RENAME cdemu
|
||||
)
|
||||
|
||||
intltool_merge ("-d" po data/cdemu-client.desktop.in cdemu-client.desktop)
|
@ -0,0 +1,41 @@
|
||||
--- a/cf/db.m4
|
||||
+++ b/cf/db.m4
|
||||
@@ -51,6 +51,8 @@ dnl db_create is used by db3 and db4 and db5
|
||||
#include <stdio.h>
|
||||
#ifdef HAVE_DBHEADER
|
||||
#include <$dbheader/db.h>
|
||||
+ #elif HAVE_DB6_DB_H
|
||||
+ #include <db6/db.h>
|
||||
#elif HAVE_DB5_DB_H
|
||||
#include <db5/db.h>
|
||||
#elif HAVE_DB4_DB_H
|
||||
--- a/lib/hdb/db3.c
|
||||
+++ b/lib/hdb/db3.c
|
||||
@@ -276,7 +276,7 @@
|
||||
}
|
||||
db->hdb_db = d;
|
||||
|
||||
-#if (DB_VERSION_MAJOR >= 4) && (DB_VERSION_MINOR >= 1)
|
||||
+#if (DB_VERSION_MAJOR > 4) || ((DB_VERSION_MAJOR == 4) && (DB_VERSION_MINOR >= 1))
|
||||
ret = (*d->open)(db->hdb_db, NULL, fn, NULL, DB_BTREE, myflags, mode);
|
||||
#else
|
||||
ret = (*d->open)(db->hdb_db, fn, NULL, DB_BTREE, myflags, mode);
|
||||
@@ -284,7 +284,7 @@
|
||||
|
||||
if (ret == ENOENT) {
|
||||
/* try to open without .db extension */
|
||||
-#if (DB_VERSION_MAJOR >= 4) && (DB_VERSION_MINOR >= 1)
|
||||
+#if (DB_VERSION_MAJOR > 4) || ((DB_VERSION_MAJOR == 4) && (DB_VERSION_MINOR >= 1))
|
||||
ret = (*d->open)(db->hdb_db, NULL, db->hdb_name, NULL, DB_BTREE,
|
||||
myflags, mode);
|
||||
#else
|
||||
--- a/cf/db.m4
|
||||
+++ b/cf/db.m4
|
||||
@@ -38,6 +38,7 @@ AS_IF([test "x$with_berkeley_db" != xno],
|
||||
fi
|
||||
])],
|
||||
[AC_CHECK_HEADERS([ \
|
||||
+ db6/db.h \
|
||||
db5/db.h \
|
||||
db4/db.h \
|
||||
db3/db.h \
|
@ -0,0 +1,135 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.5.3-r1.ebuild,v 1.1 2013/07/19 13:04:28 eras Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_2,3_3} )
|
||||
VIRTUALX_REQUIRED="manual"
|
||||
|
||||
inherit autotools db-use eutils multilib python-any-r1 toolchain-funcs virtualx flag-o-matic
|
||||
|
||||
MY_P="${P}"
|
||||
DESCRIPTION="Kerberos 5 implementation from KTH"
|
||||
HOMEPAGE="http://www.h5l.org/"
|
||||
SRC_URI="http://www.h5l.org/dist/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd"
|
||||
IUSE="afs +berkdb caps hdb-ldap ipv6 otp +pkinit ssl static-libs threads test X"
|
||||
|
||||
RDEPEND="ssl? ( dev-libs/openssl )
|
||||
berkdb? ( sys-libs/db )
|
||||
!berkdb? ( sys-libs/gdbm )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
>=dev-db/sqlite-3.5.7
|
||||
>=sys-libs/e2fsprogs-libs-1.41.11
|
||||
sys-libs/ncurses
|
||||
sys-libs/readline
|
||||
afs? ( net-fs/openafs )
|
||||
hdb-ldap? ( >=net-nds/openldap-2.3.0 )
|
||||
X? ( x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libXt )
|
||||
!!app-crypt/mit-krb5
|
||||
!!app-crypt/mit-krb5-appl"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=sys-devel/autoconf-2.62
|
||||
test? ( X? ( ${VIRTUALX_DEPEND} ) )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/heimdal_missing-include.patch"
|
||||
epatch "${FILESDIR}/heimdal_db6.patch"
|
||||
epatch "${FILESDIR}/heimdal_disable-check-iprop.patch"
|
||||
epatch "${FILESDIR}/heimdal_link_order.patch"
|
||||
epatch "${FILESDIR}/heimdal_missing_symbols.patch"
|
||||
epatch "${FILESDIR}/heimdal_texinfo-5.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# QA
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
local myconf=""
|
||||
if use berkdb; then
|
||||
myconf="--with-berkeley-db --with-berkeley-db-include=$(db_includedir)"
|
||||
else
|
||||
myconf="--without-berkeley-db"
|
||||
fi
|
||||
econf \
|
||||
--enable-kcm \
|
||||
--disable-osfc2 \
|
||||
--enable-shared \
|
||||
--with-libintl=/usr \
|
||||
--with-readline=/usr \
|
||||
--with-sqlite3=/usr \
|
||||
--libexecdir=/usr/sbin \
|
||||
$(use_enable afs afs-support) \
|
||||
$(use_enable otp) \
|
||||
$(use_enable pkinit kx509) \
|
||||
$(use_enable pkinit pk-init) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable threads pthread-support) \
|
||||
$(use_with caps capng) \
|
||||
$(use_with hdb-ldap openldap /usr) \
|
||||
$(use_with ipv6) \
|
||||
$(use_with ssl openssl /usr) \
|
||||
$(use_with X x) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
INSTALL_CATPAGES="no" emake DESTDIR="${D}" install
|
||||
|
||||
dodoc ChangeLog README NEWS TODO
|
||||
|
||||
# Begin client rename and install
|
||||
for i in {telnetd,ftpd,rshd,popper}
|
||||
do
|
||||
mv "${D}"/usr/share/man/man8/{,k}${i}.8
|
||||
mv "${D}"/usr/sbin/{,k}${i}
|
||||
done
|
||||
|
||||
for i in {rcp,rsh,telnet,ftp,su,login,pagsh,kf}
|
||||
do
|
||||
mv "${D}"/usr/share/man/man1/{,k}${i}.1
|
||||
mv "${D}"/usr/bin/{,k}${i}
|
||||
done
|
||||
|
||||
mv "${D}"/usr/share/man/man5/{,k}ftpusers.5
|
||||
mv "${D}"/usr/share/man/man5/{,k}login.access.5
|
||||
|
||||
newinitd "${FILESDIR}"/heimdal-kdc.initd-r2 heimdal-kdc
|
||||
newinitd "${FILESDIR}"/heimdal-kadmind.initd-r2 heimdal-kadmind
|
||||
newinitd "${FILESDIR}"/heimdal-kpasswdd.initd-r2 heimdal-kpasswdd
|
||||
newinitd "${FILESDIR}"/heimdal-kcm.initd-r1 heimdal-kcm
|
||||
|
||||
newconfd "${FILESDIR}"/heimdal-kdc.confd heimdal-kdc
|
||||
newconfd "${FILESDIR}"/heimdal-kadmind.confd heimdal-kadmind
|
||||
newconfd "${FILESDIR}"/heimdal-kpasswdd.confd heimdal-kpasswdd
|
||||
newconfd "${FILESDIR}"/heimdal-kcm.confd heimdal-kcm
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}"/krb5.conf krb5.conf.example
|
||||
|
||||
if use hdb-ldap; then
|
||||
insinto /etc/openldap/schema
|
||||
doins "${S}/lib/hdb/hdb.schema"
|
||||
fi
|
||||
|
||||
use static-libs || find "${D}"/usr/lib* -name '*.la' -delete
|
||||
|
||||
# default database dir
|
||||
keepdir /var/heimdal
|
||||
|
||||
# Ugly hack for broken symlink - bug #417081
|
||||
rm "${D}"/usr/share/man/man5/qop.5 || die
|
||||
dosym mech.5 /usr/share/man/man5/qop.5
|
||||
}
|
@ -1,25 +1,20 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/undo-tree/undo-tree-0.6.3.ebuild,v 1.1 2013/07/19 06:32:47 tomka Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/undo-tree/undo-tree-0.6.3.ebuild,v 1.2 2013/07/19 17:17:07 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
NEED_EMACS=22
|
||||
|
||||
inherit elisp
|
||||
inherit readme.gentoo elisp
|
||||
|
||||
DESCRIPTION="Undo trees and visualization"
|
||||
HOMEPAGE="http://www.dr-qubit.org/emacs.php#undo-tree"
|
||||
SRC_URI="mirror://gentoo/${P}.el.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
elog "To enable undo trees globally, place '(global-undo-tree-mode)'"
|
||||
elog "in your .emacs file."
|
||||
}
|
||||
DOC_CONTENTS="To enable undo trees globally, place '(global-undo-tree-mode)'
|
||||
in your .emacs file."
|
||||
|
@ -1,8 +1,4 @@
|
||||
DIST libvirt-1.0.3-9bf6bec4.tar.xz 7032 SHA256 841f062bd4185ac36a5633103c899d4ef5da6a2092ef1a2f7125298ec336b18b SHA512 7eeba343a27c4dbe5e984641082c6f8c59ba0c04a22c5a3e390c0bf03e65a966e7db15be732c61473d2dfb245bdd53f950d3a848980153b90310439b781bbcdc WHIRLPOOL 8d90ebc9fc17a7c8ac119f34b2e64679322878c0c8dd7eb837f2b5e89047b084ec87e9966841d0aaf7ed19e75548b9d5f5f66d461e2f177a5e817669471a27c8
|
||||
DIST libvirt-1.0.3.tar.gz 23238381 SHA256 f64f4acd7cdcfc6ab5e803195ed58b949f262b54e3659d8c37b33f0fec112757 SHA512 f0002d40a018e22bd05c9bc990db0b14e0ec815613f54d04fc3b631081d87b6659620188da9f0ba376f290206d979467013274ab99b7394c66bde54c82e08fb4 WHIRLPOOL 29dad8e6b1e4d61fe83fc450436c0fdc200b360f93772c2fefe40ab443ec2a7cb6566e634d15290beb4f7ea1f461503b1cd86accddde59659ed46b60b56e3d76
|
||||
DIST libvirt-1.0.5.1-b8430867.tar.xz 5044 SHA256 9e3cdc94159a97fe2a0fd7ca889abff997443f6ac744841fe175bb586dfee9d4 SHA512 67eef7c25a2e477c4e745dd67602045a0581b3cd28a077f4d5dd230e0a05a9ebd641f3ef4440c69edd56db0ec2acfa81b5c579a4392372d0b87af8125465efe7 WHIRLPOOL c3e463c74acac975c4a2596892825fc79179c4dc75efbe7941845066ce987a6ffa01abe11afe8169dfd7009b7cbfcd81b071e64e1e3fb899ae114a62c8a9635a
|
||||
DIST libvirt-1.0.5.1.tar.gz 23928327 SHA256 38a67d9dc979ed28440791eb3fd63e94e4d04e4efbe7554a83bdf0cc614d0a6e SHA512 8cc3850dcda93b2d4efcd055a91ca9f2a619ccb9585e5b9fd7e2daf6ee8e93c1a0354fbc7fa06f6d5663913f358c2fbd9569a5e307b90e91607b0e049f00c89d WHIRLPOOL 51298d87cddee79f352609306c77d3f1813684c931b11ea577d96560e366b112dfc625553a86fe21c291d7e9bba86024055b236029be56c3c6390cde49875e8b
|
||||
DIST libvirt-1.0.5.2.tar.gz 23953774 SHA256 79ba3ade0646c5500a333d2abfe52d3bfc1eeae8986c0ed433eeae2edd4799ef SHA512 00a369502a7ff4be17c547feca13b88419c55b0a6abec6dc83e7ea2306a17fe495e217e1b759aaea962b44da44cb7cad64f3866ae41a059820ed48c2144f7b21 WHIRLPOOL c7cff2f603a676c6810e0b3f95a91e3d8887ec5b9e3799afd13f025aebed52e43948ecf0a8e50b2bc955083fd62ef52be1dc4384086fa98e84283e4d7963b925
|
||||
DIST libvirt-1.0.6-9eea7e71.tar.xz 2100 SHA256 27ec140988d6f8a5d6b68fd57ea06e4f3f04ec2e5c93f712826c77c5dc123277 SHA512 cf288715614ccbb247fcc2e73e6953967be56c3ba1d7b2569305a5001e3160c797fdc28697548fa09983bcceea4f181528967ff03ccbe071ce620a0144749c2e WHIRLPOOL c558eead1619bd20390051bd1f0af9db2dfb5012a2521e5868d420499a93324c3d8c8ac13a2ced70ebb1784e90c4797e6d668dccc01e20df018162b52e1c1612
|
||||
DIST libvirt-1.0.6.tar.gz 24056615 SHA256 a188eb2056d7936c4c9605f4d435b9097880ec359e10be6546f2c9fa665de67d SHA512 27948694d80df73de335ccd1dffaff4b4e14345f06d9e4043a7a2402dbede3db441da3ceffe3d54fcf6a34c37ea862b91198dd9b63a131b40aedab95a1646308 WHIRLPOOL 99a37abe34d17ce083ad1f908027ddf79d75a9c2c9ae1d30986ca7c6e112adc326208bd100faacc93d70879f59f2cfc2acd3f274181dac0a9d1b156268d91714
|
||||
DIST libvirt-1.0.5.4.tar.gz 23972364 SHA256 fe51da9d5c3d5e8521d0c89a3379ec3b19083a31e30bc4eb54a860aa6ccf2771 SHA512 f44006f5cf00e4682266a306c819075471abb52cd9816bd75e0b83962bcb4a085fc0ffc94b688bedbc4042489a2997b77ebd1aad6f1560abe808140a24682865 WHIRLPOOL 0d6609f9d437e344f6c5b74f1c34c24004e256efd784b61f35fa68483086213a47fe27e2ec5f5f4e2ce7bbb7a02c2dabe75511e8686221b6b9be6d2719dccd0e
|
||||
DIST libvirt-1.1.0-cafcec2f.tar.xz 8284 SHA256 ce68c2e6e54d1d3190c45cfe644d6af6c32dd8c4f661276868f90feeb8020b46 SHA512 95637c6577ac1cfbdfe087d5e5ad2671026f9ed35231780821a86db9ce610daceaeae55ce750ab345052cbbdeef030265e293de03c4a2add51d77b206df5586c WHIRLPOOL 5e21511ae6e0c4498c053133b4041aa9dab86b5638455639da97e05d177f2986c123b5c0cb61c41c7a60efe8d78592b789a06e25cf89ac0bbf5143c2ffacc167
|
||||
DIST libvirt-1.1.0.tar.gz 24397962 SHA256 ce9e765697ecb595469489665043ce221d9b70babc16fec77ee938fe37676928 SHA512 0ac9c8b02a182ad4c66609bc949282455b362fc2aa576d1c2413366dfb1ce70d3737caad0101128f8629c34e0ca47295128bafe5608e3ac60e764c3f8178c7f0 WHIRLPOOL a526350aeef2d72cb079750bda0f18f9f9ebc4b2cf56e7655c9ee0e8a744b0fb540089f64da0820628779c1456435043bf8c6dc2c18bdba65c0e705a43777f90
|
||||
|
@ -1,427 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.0.3-r2.ebuild,v 1.8 2013/05/22 15:56:22 cardoe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
BACKPORTS=9bf6bec4
|
||||
AUTOTOOLIZE=yes
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
PYTHON_DEPEND="python? 2:2.5"
|
||||
#RESTRICT_PYTHON_ABIS="3.*"
|
||||
#SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit eutils python user autotools linux-info
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
|
||||
AUTOTOOLIZE=yes
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
|
||||
ftp://libvirt.org/libvirt/${MY_P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="amd64 x86"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="audit avahi +caps firewalld fuse iscsi +libvirtd lvm +lxc +macvtap nfs \
|
||||
nls numa openvz parted pcap phyp policykit python qemu rbd sasl \
|
||||
selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc"
|
||||
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
qemu? ( libvirtd )
|
||||
uml? ( libvirtd )
|
||||
vepa? ( macvtap )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )
|
||||
virt-network? ( libvirtd )
|
||||
firewalld? ( virt-network )"
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
||||
# package will use 3 by default. Since we don't have slot pinning in an API,
|
||||
# we must go with the most recent
|
||||
RDEPEND="sys-libs/readline
|
||||
sys-libs/ncurses
|
||||
>=net-misc/curl-7.18.0
|
||||
dev-libs/libgcrypt
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
dev-libs/libnl:3
|
||||
>=net-libs/gnutls-1.0.25
|
||||
net-libs/libssh2
|
||||
sys-apps/dmidecode
|
||||
>=sys-apps/util-linux-2.17
|
||||
sys-devel/gettext
|
||||
>=net-analyzer/netcat6-1.0-r2
|
||||
app-misc/scrub
|
||||
audit? ( sys-process/audit )
|
||||
avahi? ( >=net-dns/avahi-0.6[dbus] )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
fuse? ( >=sys-fs/fuse-2.8.6 )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
lxc? ( sys-power/pm-utils )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? (
|
||||
>sys-process/numactl-2.0.2
|
||||
sys-process/numad
|
||||
)
|
||||
openvz? ( sys-kernel/openvz-sources )
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
qemu? (
|
||||
>=app-emulation/qemu-0.13.0
|
||||
dev-libs/yajl
|
||||
sys-power/pm-utils
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
xen? ( app-emulation/xen-tools app-emulation/xen )
|
||||
udev? ( virtual/udev >=x11-libs/libpciaccess-0.10.9 )
|
||||
virt-network? ( net-dns/dnsmasq
|
||||
>=net-firewall/iptables-1.4.10
|
||||
net-misc/radvd
|
||||
net-firewall/ebtables
|
||||
sys-apps/iproute2[-minimal]
|
||||
firewalld? ( net-firewall/firewalld )
|
||||
)
|
||||
elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
|
||||
# one? ( dev-libs/xmlrpc-c )
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
app-text/xhtml1
|
||||
dev-libs/libxslt
|
||||
=dev-lang/python-2*"
|
||||
|
||||
LXC_CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_DEVICE
|
||||
~CGROUP_CPUACCT
|
||||
~CGROUP_SCHED
|
||||
~CGROUP_PERF
|
||||
~BLK_CGROUP
|
||||
~NET_CLS_CGROUP
|
||||
~NETPRIO_CGROUP
|
||||
~CPUSETS
|
||||
~RESOURCE_COUNTERS
|
||||
~NAMESPACES
|
||||
~UTS_NS
|
||||
~IPC_NS
|
||||
~PID_NS
|
||||
~NET_NS
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~VETH
|
||||
~MACVLAN
|
||||
~POSIX_MQUEUE
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS
|
||||
"
|
||||
|
||||
VIRTNET_CONFIG_CHECK="
|
||||
~BRIDGE_NF_EBTABLES
|
||||
~BRIDGE_EBT_MARK_T
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_TARGET_CHECKSUM
|
||||
~NETFILTER_XT_CONNMARK
|
||||
~NETFILTER_XT_MARK
|
||||
"
|
||||
|
||||
MACVTAP_CONFIG_CHECK="~MACVTAP"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
enewgroup qemu 77
|
||||
enewuser qemu 77 -1 -1 qemu kvm
|
||||
|
||||
# Some people used the masked ebuild which was not adding the qemu
|
||||
# user to the kvm group originally. This results in VMs failing to
|
||||
# start for some users. bug #430808
|
||||
egetent group kvm | grep -q qemu
|
||||
if [[ $? -ne 0 ]]; then
|
||||
gpasswd -a qemu kvm
|
||||
fi
|
||||
|
||||
# Handle specific kernel versions for different features
|
||||
kernel_is lt 3 6 && LXC_CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR"
|
||||
kernel_is ge 3 6 && LXC_CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP ~MEMCG_KMEM"
|
||||
|
||||
CONFIG_CHECK=""
|
||||
use fuse && CONFIG_CHECK+=" ~FUSE_FS"
|
||||
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
|
||||
use macvtap && CONFIG_CHECK+="${MACVTAP}"
|
||||
use virt-network && CONFIG_CHECK+="${VIRTNET_CONFIG_CHECK}"
|
||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
touch "${S}/.mailmap"
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
|
||||
# git checkouts require bootstrapping to create the configure script.
|
||||
# Additionally the submodules must be cloned to the right locations
|
||||
# bug #377279
|
||||
./bootstrap || die "bootstrap failed"
|
||||
(
|
||||
git submodule status | sed 's/^[ +-]//;s/ .*//'
|
||||
git hash-object bootstrap.conf
|
||||
) >.git-module-status
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
|
||||
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
|
||||
|
||||
# Tweak the init script
|
||||
local avahi_init=
|
||||
local iscsi_init=
|
||||
local rbd_init=
|
||||
local firewalld_init=
|
||||
cp "${FILESDIR}/libvirtd.init-r11" "${S}/libvirtd.init"
|
||||
use avahi && avahi_init='avahi-daemon'
|
||||
use iscsi && iscsi_init='iscsid'
|
||||
use rbd && rbd_init='ceph'
|
||||
use firewalld && firewalld_init='need firewalld'
|
||||
|
||||
sed -e "s/USE_FLAG_FIREWALLD/${firewalld_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_AVAHI/${avahi_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_ISCSI/${iscsi_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_RBD/${rbd_init}/" -i "${S}/libvirtd.init"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
## enable/disable daemon, otherwise client only utils
|
||||
myconf="${myconf} $(use_with libvirtd)"
|
||||
|
||||
## enable/disable the daemon using avahi to find VMs
|
||||
myconf="${myconf} $(use_with avahi)"
|
||||
|
||||
## hypervisors on the local host
|
||||
myconf="${myconf} $(use_with xen) $(use_with xen xen-inotify)"
|
||||
myconf+=" --without-xenapi"
|
||||
if use xen && has_version ">=app-emulation/xen-tools-4.2.0"; then
|
||||
myconf+=" --with-libxl"
|
||||
else
|
||||
myconf+=" --without-libxl"
|
||||
fi
|
||||
myconf="${myconf} $(use_with openvz)"
|
||||
myconf="${myconf} $(use_with lxc)"
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myconf="${myconf} --with-vbox=/usr/lib/virtualbox-ose/"
|
||||
else
|
||||
myconf="${myconf} $(use_with virtualbox vbox)"
|
||||
fi
|
||||
myconf="${myconf} $(use_with uml)"
|
||||
myconf="${myconf} $(use_with qemu)"
|
||||
myconf="${myconf} $(use_with qemu yajl)" # Use QMP over HMP
|
||||
myconf="${myconf} $(use_with phyp)"
|
||||
myconf="${myconf} --with-esx"
|
||||
myconf="${myconf} --with-vmware"
|
||||
|
||||
## additional host drivers
|
||||
myconf="${myconf} $(use_with virt-network network)"
|
||||
myconf="${myconf} --with-storage-fs"
|
||||
myconf="${myconf} $(use_with lvm storage-lvm)"
|
||||
myconf="${myconf} $(use_with iscsi storage-iscsi)"
|
||||
myconf="${myconf} $(use_with parted storage-disk)"
|
||||
myconf="${myconf} $(use_with lvm storage-mpath)"
|
||||
myconf="${myconf} $(use_with rbd storage-rbd)"
|
||||
myconf="${myconf} $(use_with numa numactl)"
|
||||
myconf="${myconf} $(use_with numa numad)"
|
||||
myconf="${myconf} $(use_with selinux)"
|
||||
myconf="${myconf} $(use_with fuse)"
|
||||
|
||||
# udev for device support details
|
||||
myconf="${myconf} $(use_with udev)"
|
||||
|
||||
# linux capability support so we don't need privileged accounts
|
||||
myconf="${myconf} $(use_with caps capng)"
|
||||
|
||||
## auth stuff
|
||||
myconf="${myconf} $(use_with policykit polkit)"
|
||||
myconf="${myconf} $(use_with sasl)"
|
||||
|
||||
# network bits
|
||||
myconf="${myconf} $(use_with macvtap)"
|
||||
myconf="${myconf} $(use_with pcap libpcap)"
|
||||
myconf="${myconf} $(use_with vepa virtualport)"
|
||||
myconf="${myconf} $(use_with firewalld)"
|
||||
|
||||
## other
|
||||
myconf="${myconf} $(use_enable nls)"
|
||||
myconf="${myconf} $(use_with python)"
|
||||
|
||||
# user privilege bits fir qemu/kvm
|
||||
if use caps; then
|
||||
myconf="${myconf} --with-qemu-user=qemu"
|
||||
myconf="${myconf} --with-qemu-group=qemu"
|
||||
else
|
||||
myconf="${myconf} --with-qemu-user=root"
|
||||
myconf="${myconf} --with-qemu-group=root"
|
||||
fi
|
||||
|
||||
# audit support
|
||||
myconf="${myconf} $(use_with audit)"
|
||||
|
||||
## stuff we don't yet support
|
||||
myconf="${myconf} --without-netcf"
|
||||
|
||||
# we use udev over hal
|
||||
myconf="${myconf} --without-hal"
|
||||
|
||||
# locking support
|
||||
myconf="${myconf} --without-sanlock"
|
||||
|
||||
# this is a nasty trick to work around the problem in bug
|
||||
# #275073. The reason why we don't solve this properly is that
|
||||
# it'll require us to rebuild autotools (and we don't really want
|
||||
# to do that right now). The proper solution has been sent
|
||||
# upstream and should hopefully land in 0.7.7, in the mean time,
|
||||
# mime the same functionality with this.
|
||||
case ${CHOST} in
|
||||
*cygwin* | *mingw* )
|
||||
;;
|
||||
*)
|
||||
ac_cv_prog_WINDRES=no
|
||||
;;
|
||||
esac
|
||||
|
||||
econf \
|
||||
${myconf} \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--with-remote \
|
||||
--localstatedir=/var
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Restore gnulib's config.sub and config.guess
|
||||
# bug #377279
|
||||
(cd .gnulib && git reset --hard > /dev/null)
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Explicitly allow parallel build of tests
|
||||
export VIR_TEST_DEBUG=1
|
||||
HOME="${T}" emake check || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install \
|
||||
DESTDIR="${D}" \
|
||||
HTML_DIR=/usr/share/doc/${PF}/html \
|
||||
DOCS_DIR=/usr/share/doc/${PF}/python \
|
||||
EXAMPLE_DIR=/usr/share/doc/${PF}/python/examples \
|
||||
|| die "emake install failed"
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r4" libvirtd || die
|
||||
|
||||
keepdir /var/lib/libvirt/images
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# we only ever want to generate this once
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# We really don't want to use or support old PolicyKit cause it
|
||||
# screws with the new polkit integration
|
||||
if has_version sys-auth/policykit; then
|
||||
rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
|
||||
fi
|
||||
|
||||
# Only sysctl files ending in .conf work
|
||||
mv "${D}"/usr/lib/sysctl.d/libvirtd "${D}"/etc/sysctl.d/libvirtd.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use python && python_mod_optimize libvirt.py
|
||||
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# support for dropped privileges
|
||||
if use qemu; then
|
||||
fperms 0750 "${EROOT}/var/lib/libvirt/qemu"
|
||||
fperms 0750 "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if use caps && use qemu; then
|
||||
fowners -R qemu:qemu "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R qemu:qemu "${EROOT}/var/cache/libvirt/qemu"
|
||||
elif use qemu; then
|
||||
fowners -R root:root "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R root:root "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if ! use policykit; then
|
||||
elog "To allow normal users to connect to libvirtd you must change the"
|
||||
elog "unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
elog
|
||||
elog "For the basic networking support (bridged and routed networks)"
|
||||
elog "you don't need any extra software. For more complex network modes"
|
||||
elog "including but not limited to NATed network, you can enable the"
|
||||
elog "'virt-network' USE flag."
|
||||
elog
|
||||
if has_version net-dns/dnsmasq; then
|
||||
ewarn "If you have a DNS server setup on your machine, you will have"
|
||||
ewarn "to configure /etc/dnsmasq.conf to enable the following settings: "
|
||||
ewarn " bind-interfaces"
|
||||
ewarn " interface or except-interface"
|
||||
ewarn
|
||||
ewarn "Otherwise you might have issues with your existing DNS server."
|
||||
fi
|
||||
|
||||
if use caps && use qemu; then
|
||||
elog "libvirt will now start qemu/kvm VMs with non-root privileges."
|
||||
elog "Ensure any resources your VMs use are accessible by qemu:qemu"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use python && python_mod_cleanup libvirt.py
|
||||
}
|
@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.0.5.1-r3.ebuild,v 1.3 2013/06/11 10:20:17 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.0.5.4.ebuild,v 1.2 2013/07/20 13:02:44 cardoe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
BACKPORTS=b8430867
|
||||
#BACKPORTS=b8430867
|
||||
AUTOTOOLIZE=yes
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
@ -1,429 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.0.6-r1.ebuild,v 1.1 2013/07/01 14:07:41 cardoe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
BACKPORTS=9eea7e71
|
||||
AUTOTOOLIZE=yes
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
|
||||
inherit eutils python-single-r1 user autotools linux-info systemd
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
|
||||
AUTOTOOLIZE=yes
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
|
||||
ftp://libvirt.org/libvirt/${MY_P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="audit avahi +caps firewalld fuse iscsi +libvirtd lvm lxc +macvtap nfs \
|
||||
nls numa openvz parted pcap phyp policykit python +qemu rbd sasl \
|
||||
selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc \
|
||||
systemd"
|
||||
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
qemu? ( libvirtd )
|
||||
uml? ( libvirtd )
|
||||
vepa? ( macvtap )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )
|
||||
virt-network? ( libvirtd )
|
||||
firewalld? ( virt-network )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
||||
# package will use 3 by default. Since we don't have slot pinning in an API,
|
||||
# we must go with the most recent
|
||||
RDEPEND="sys-libs/readline
|
||||
sys-libs/ncurses
|
||||
>=net-misc/curl-7.18.0
|
||||
dev-libs/libgcrypt
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
dev-libs/libnl:3
|
||||
>=net-libs/gnutls-1.0.25
|
||||
net-libs/libssh2
|
||||
sys-apps/dmidecode
|
||||
>=sys-apps/util-linux-2.17
|
||||
sys-devel/gettext
|
||||
>=net-analyzer/netcat6-1.0-r2
|
||||
app-misc/scrub
|
||||
audit? ( sys-process/audit )
|
||||
avahi? ( >=net-dns/avahi-0.6[dbus] )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
fuse? ( >=sys-fs/fuse-2.8.6 )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
lxc? ( sys-power/pm-utils )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? (
|
||||
>sys-process/numactl-2.0.2
|
||||
sys-process/numad
|
||||
)
|
||||
openvz? ( sys-kernel/openvz-sources )
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
qemu? (
|
||||
>=app-emulation/qemu-0.13.0
|
||||
dev-libs/yajl
|
||||
sys-power/pm-utils
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
xen? ( app-emulation/xen-tools app-emulation/xen )
|
||||
udev? ( virtual/udev >=x11-libs/libpciaccess-0.10.9 )
|
||||
virt-network? ( net-dns/dnsmasq
|
||||
>=net-firewall/iptables-1.4.10
|
||||
net-misc/radvd
|
||||
net-firewall/ebtables
|
||||
sys-apps/iproute2[-minimal]
|
||||
firewalld? ( net-firewall/firewalld )
|
||||
)
|
||||
elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
|
||||
# one? ( dev-libs/xmlrpc-c )
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
app-text/xhtml1
|
||||
dev-libs/libxslt"
|
||||
|
||||
LXC_CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_DEVICE
|
||||
~CGROUP_CPUACCT
|
||||
~CGROUP_SCHED
|
||||
~CGROUP_PERF
|
||||
~BLK_CGROUP
|
||||
~NET_CLS_CGROUP
|
||||
~NETPRIO_CGROUP
|
||||
~CPUSETS
|
||||
~RESOURCE_COUNTERS
|
||||
~NAMESPACES
|
||||
~UTS_NS
|
||||
~IPC_NS
|
||||
~PID_NS
|
||||
~NET_NS
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~VETH
|
||||
~MACVLAN
|
||||
~POSIX_MQUEUE
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS
|
||||
"
|
||||
|
||||
VIRTNET_CONFIG_CHECK="
|
||||
~BRIDGE_NF_EBTABLES
|
||||
~BRIDGE_EBT_MARK_T
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_TARGET_CHECKSUM
|
||||
~NETFILTER_XT_CONNMARK
|
||||
~NETFILTER_XT_MARK
|
||||
"
|
||||
|
||||
MACVTAP_CONFIG_CHECK="~MACVTAP"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup qemu 77
|
||||
enewuser qemu 77 -1 -1 qemu kvm
|
||||
|
||||
# Some people used the masked ebuild which was not adding the qemu
|
||||
# user to the kvm group originally. This results in VMs failing to
|
||||
# start for some users. bug #430808
|
||||
egetent group kvm | grep -q qemu
|
||||
if [[ $? -ne 0 ]]; then
|
||||
gpasswd -a qemu kvm
|
||||
fi
|
||||
|
||||
python-single-r1_pkg_setup
|
||||
|
||||
# Handle specific kernel versions for different features
|
||||
kernel_is lt 3 6 && LXC_CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR"
|
||||
kernel_is ge 3 6 && LXC_CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP ~MEMCG_KMEM"
|
||||
|
||||
CONFIG_CHECK=""
|
||||
use fuse && CONFIG_CHECK+=" ~FUSE_FS"
|
||||
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
|
||||
use macvtap && CONFIG_CHECK+="${MACVTAP}"
|
||||
use virt-network && CONFIG_CHECK+="${VIRTNET_CONFIG_CHECK}"
|
||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
touch "${S}/.mailmap"
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
|
||||
# git checkouts require bootstrapping to create the configure script.
|
||||
# Additionally the submodules must be cloned to the right locations
|
||||
# bug #377279
|
||||
./bootstrap || die "bootstrap failed"
|
||||
(
|
||||
git submodule status | sed 's/^[ +-]//;s/ .*//'
|
||||
git hash-object bootstrap.conf
|
||||
) >.git-module-status
|
||||
fi
|
||||
|
||||
epatch "${FILESDIR}/libvirt-1.0.6-CVE-2013-2218.patch"
|
||||
epatch "${FILESDIR}/libvirt-1.0.6-virinterface-udev-backend-ro.patch"
|
||||
|
||||
epatch_user
|
||||
|
||||
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
|
||||
|
||||
# Tweak the init script
|
||||
local avahi_init=
|
||||
local iscsi_init=
|
||||
local rbd_init=
|
||||
local firewalld_init=
|
||||
cp "${FILESDIR}/libvirtd.init-r12" "${S}/libvirtd.init"
|
||||
use avahi && avahi_init='avahi-daemon'
|
||||
use iscsi && iscsi_init='iscsid'
|
||||
use rbd && rbd_init='ceph'
|
||||
use firewalld && firewalld_init='need firewalld'
|
||||
|
||||
sed -e "s/USE_FLAG_FIREWALLD/${firewalld_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_AVAHI/${avahi_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_ISCSI/${iscsi_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_RBD/${rbd_init}/" -i "${S}/libvirtd.init"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
## enable/disable daemon, otherwise client only utils
|
||||
myconf="${myconf} $(use_with libvirtd)"
|
||||
|
||||
## enable/disable the daemon using avahi to find VMs
|
||||
myconf="${myconf} $(use_with avahi)"
|
||||
|
||||
## hypervisors on the local host
|
||||
myconf="${myconf} $(use_with xen) $(use_with xen xen-inotify)"
|
||||
myconf+=" --without-xenapi"
|
||||
if use xen && has_version ">=app-emulation/xen-tools-4.2.0"; then
|
||||
myconf+=" --with-libxl"
|
||||
else
|
||||
myconf+=" --without-libxl"
|
||||
fi
|
||||
myconf="${myconf} $(use_with openvz)"
|
||||
myconf="${myconf} $(use_with lxc)"
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myconf="${myconf} --with-vbox=/usr/lib/virtualbox-ose/"
|
||||
else
|
||||
myconf="${myconf} $(use_with virtualbox vbox)"
|
||||
fi
|
||||
myconf="${myconf} $(use_with uml)"
|
||||
myconf="${myconf} $(use_with qemu)"
|
||||
myconf="${myconf} $(use_with qemu yajl)" # Use QMP over HMP
|
||||
myconf="${myconf} $(use_with phyp)"
|
||||
myconf="${myconf} --with-esx"
|
||||
myconf="${myconf} --with-vmware"
|
||||
|
||||
## additional host drivers
|
||||
myconf="${myconf} $(use_with virt-network network)"
|
||||
myconf="${myconf} --with-storage-fs"
|
||||
myconf="${myconf} $(use_with lvm storage-lvm)"
|
||||
myconf="${myconf} $(use_with iscsi storage-iscsi)"
|
||||
myconf="${myconf} $(use_with parted storage-disk)"
|
||||
myconf="${myconf} $(use_with lvm storage-mpath)"
|
||||
myconf="${myconf} $(use_with rbd storage-rbd)"
|
||||
myconf="${myconf} $(use_with numa numactl)"
|
||||
myconf="${myconf} $(use_with numa numad)"
|
||||
myconf="${myconf} $(use_with selinux)"
|
||||
myconf="${myconf} $(use_with fuse)"
|
||||
|
||||
# udev for device support details
|
||||
myconf="${myconf} $(use_with udev)"
|
||||
|
||||
# linux capability support so we don't need privileged accounts
|
||||
myconf="${myconf} $(use_with caps capng)"
|
||||
|
||||
## auth stuff
|
||||
myconf="${myconf} $(use_with policykit polkit)"
|
||||
myconf="${myconf} $(use_with sasl)"
|
||||
|
||||
# network bits
|
||||
myconf="${myconf} $(use_with macvtap)"
|
||||
myconf="${myconf} $(use_with pcap libpcap)"
|
||||
myconf="${myconf} $(use_with vepa virtualport)"
|
||||
myconf="${myconf} $(use_with firewalld)"
|
||||
|
||||
## other
|
||||
myconf="${myconf} $(use_enable nls)"
|
||||
myconf="${myconf} $(use_with python)"
|
||||
|
||||
# user privilege bits fir qemu/kvm
|
||||
if use caps; then
|
||||
myconf="${myconf} --with-qemu-user=qemu"
|
||||
myconf="${myconf} --with-qemu-group=qemu"
|
||||
else
|
||||
myconf="${myconf} --with-qemu-user=root"
|
||||
myconf="${myconf} --with-qemu-group=root"
|
||||
fi
|
||||
|
||||
# audit support
|
||||
myconf="${myconf} $(use_with audit)"
|
||||
|
||||
## stuff we don't yet support
|
||||
myconf="${myconf} --without-netcf"
|
||||
|
||||
# we use udev over hal
|
||||
myconf="${myconf} --without-hal"
|
||||
|
||||
# locking support
|
||||
myconf="${myconf} --without-sanlock"
|
||||
|
||||
# systemd unit files
|
||||
use systemd && myconf="${myconf} --with-init-script=systemd"
|
||||
|
||||
# this is a nasty trick to work around the problem in bug
|
||||
# #275073. The reason why we don't solve this properly is that
|
||||
# it'll require us to rebuild autotools (and we don't really want
|
||||
# to do that right now). The proper solution has been sent
|
||||
# upstream and should hopefully land in 0.7.7, in the mean time,
|
||||
# mime the same functionality with this.
|
||||
case ${CHOST} in
|
||||
*cygwin* | *mingw* )
|
||||
;;
|
||||
*)
|
||||
ac_cv_prog_WINDRES=no
|
||||
;;
|
||||
esac
|
||||
|
||||
econf \
|
||||
${myconf} \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--with-remote \
|
||||
--localstatedir=/var
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Restore gnulib's config.sub and config.guess
|
||||
# bug #377279
|
||||
(cd .gnulib && git reset --hard > /dev/null)
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Explicitly allow parallel build of tests
|
||||
export VIR_TEST_DEBUG=1
|
||||
HOME="${T}" emake check || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install \
|
||||
DESTDIR="${D}" \
|
||||
HTML_DIR=/usr/share/doc/${PF}/html \
|
||||
DOCS_DIR=/usr/share/doc/${PF} \
|
||||
EXAMPLE_DIR=/usr/share/doc/${PF}/examples \
|
||||
SYSTEMD_UNIT_DIR="$(systemd_get_unitdir)" \
|
||||
|| die "emake install failed"
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r4" libvirtd || die
|
||||
|
||||
keepdir /var/lib/libvirt/images
|
||||
|
||||
use python && python_optimize
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# we only ever want to generate this once
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# We really don't want to use or support old PolicyKit cause it
|
||||
# screws with the new polkit integration
|
||||
if has_version sys-auth/policykit; then
|
||||
rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
|
||||
fi
|
||||
|
||||
# Only sysctl files ending in .conf work
|
||||
mv "${D}"/usr/lib/sysctl.d/libvirtd.conf "${D}"/etc/sysctl.d/libvirtd.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# support for dropped privileges
|
||||
if use qemu; then
|
||||
fperms 0750 "${EROOT}/var/lib/libvirt/qemu"
|
||||
fperms 0750 "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if use caps && use qemu; then
|
||||
fowners -R qemu:qemu "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R qemu:qemu "${EROOT}/var/cache/libvirt/qemu"
|
||||
elif use qemu; then
|
||||
fowners -R root:root "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R root:root "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if ! use policykit; then
|
||||
elog "To allow normal users to connect to libvirtd you must change the"
|
||||
elog "unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
elog
|
||||
elog "For the basic networking support (bridged and routed networks)"
|
||||
elog "you don't need any extra software. For more complex network modes"
|
||||
elog "including but not limited to NATed network, you can enable the"
|
||||
elog "'virt-network' USE flag."
|
||||
elog
|
||||
if has_version net-dns/dnsmasq; then
|
||||
ewarn "If you have a DNS server setup on your machine, you will have"
|
||||
ewarn "to configure /etc/dnsmasq.conf to enable the following settings: "
|
||||
ewarn " bind-interfaces"
|
||||
ewarn " interface or except-interface"
|
||||
ewarn
|
||||
ewarn "Otherwise you might have issues with your existing DNS server."
|
||||
fi
|
||||
|
||||
if use caps && use qemu; then
|
||||
elog "libvirt will now start qemu/kvm VMs with non-root privileges."
|
||||
elog "Ensure any resources your VMs use are accessible by qemu:qemu"
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST opencc-0.2.0.tar.gz 496313 SHA256 fc4b3203482c7e5ad5c887dc08f83cd1d0e0c1fd1bdd9ec48672ca89bfe2a424 SHA512 46c03a1605b8c464d8836bfa6e69fef1d1978102aa6a75ab75c9546635da91223bb26412639869a1f7fc3f8db1f4ebd12645c53d07cb1375605dbb42c7e4524a WHIRLPOOL 98675c15579e573633f68e9c73a83164a3bd0ebb82b7b92dd31dfddda4a6cd3c81dd4cbd5fd775021b29e7c543952bf2206c2c00257fdc11f91754f56a969e9b
|
||||
DIST opencc-0.3.0_pre20120819.tar.xz 363528 SHA256 3ed46594547b86f1326b07c3ea910148b1c58b74c9d21c8d4e11ec30e2254fae SHA512 0ca231b5fd7b314111a76bfaa8e288fc2d43e02dbbb2a7c7e9312c1f1f0aed1a0d3b67b04b0cc3634d1b48b8fe6983e6219db053f3a2114abadec1af00b9f8d5 WHIRLPOOL 268d331479bffefdc6e1f58600422a36a32abb7d4dd873eeb216977daca05f4a4775ca547bb301bc16ea8fc702ef04cfd5d8f88c90d10e224a585575129e67c6
|
||||
DIST opencc-0.4.3.tar.gz 535151 SHA256 7bdcf9e38ac05a16750d5276494d810db107c8a8b5f8b87e2357ee167a13a587 SHA512 ac31c3c018467cf047e077d399903560feb0f8c214accd1ef45d0b1477d011af8e9bf2dbde4497c133daef61b6508460e9b2b04c0b5f336c2d67fc840a1d07e6 WHIRLPOOL 316857e7720e962c9fde27c04327c0c6b5137ca7290b170cc1ead86dcd0c6f14202ac2386f6e565ad12ebca99c939a511447902054792203edeabed88e149a2e
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/opencc/opencc-0.4.3.ebuild,v 1.1 2013/07/20 07:04:29 naota Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils multilib eutils
|
||||
|
||||
DESCRIPTION="Libraries for conversion between Traditional and Simplified Chinese."
|
||||
HOMEPAGE="http://code.google.com/p/opencc/"
|
||||
SRC_URI="https://opencc.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="+nls static-libs"
|
||||
|
||||
DEPEND="nls? ( sys-devel/gettext )"
|
||||
RDEPEND="nls? ( virtual/libintl )"
|
||||
|
||||
DOCS="AUTHORS NEWS.md README.md"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
"$(cmake-utils_use_enable nls GETTEXT)"
|
||||
-DCMAKE_INSTALL_LIBDIR="${EPREFIX}"/usr/$(get_libdir)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
use static-libs || find "${ED}" -name '*.la' -o -name '*.a' -exec rm {} +
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST media-player-info-17.tar.gz 107176 SHA256 ceab4699e27b683dec4f985be5667b684e1502728243a1bb711590a58ee31e46 SHA512 7e9092b8f3f5a661f8e858647eea471851327fc0ef84ecbf45753f2a3fd564229754c866ed9e1eefba193739d38a2c6d04257c93b9525431d49034fbed6e38c5 WHIRLPOOL 00fa9c2b4cb6b990c60a77b2a3ef513cf8a3698104821dd9ad35f7872817cb171f793cae2ecb9f0bc680c32a6e609d4115de046a9b265a9ba1f87dce007a1067
|
||||
DIST media-player-info-18.tar.gz 110068 SHA256 21f186714d8c90e9a78c861cfdbfc1c9ae7eada7b80152a82bec685e7b7fc565 SHA512 0847097312109496b289240be5a2fd72f38e6eba784eaa97db903bf05d062d7d085f4f38851c4832f3a5d60886483b56fe3fbd31a3711cdad14c673536381d5e WHIRLPOOL 4d646c601e0d470f458887523a1caee350dd824421b536cf829d3cecd8137383361922ff498eb9344a98a11330bd0fbf60502ac839cd74921d3183d47a509540
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/media-player-info/media-player-info-18.ebuild,v 1.1 2013/07/20 09:02:58 pacho Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="A repository of data files describing media player capabilities"
|
||||
HOMEPAGE="http://cgit.freedesktop.org/media-player-info/"
|
||||
SRC_URI="http://www.freedesktop.org/software/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/udev"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS="AUTHORS NEWS README"
|
||||
|
||||
# This ebuild does not install any binaries
|
||||
RESTRICT="binchecks strip"
|
@ -1,4 +1,4 @@
|
||||
DIST gnumeric-1.12.0-annotation-syntax.patch.xz 13408 SHA256 8cc904ced03d1cdb894afa896c7fc8be22bd3cf16f0c8427c965eb813a406a48 SHA512 b1062a75750630e4e0cb479a994db2c98aae4668355a7756bd6ca9f64407571d73af0fd428453e373d4d0d9f77d842869cbe4f7d5ba0054103cd8add0e09d5b6 WHIRLPOOL aec5b51c9af1e6b3806c7f5f22930c41d42ed0dfbcb66407a18ded9cf565b78daae76d2b8a5952ce4f7379b11c9bad68a02982f7248a62d0c5a87e8ae60a71f4
|
||||
DIST gnumeric-1.12.0.tar.xz 15631708 SHA256 037b53d909e5d1454b2afda8c4fb1e7838e260343e36d4e36245f4a5d0e04111 SHA512 5bcf5e04d3c871d755a560207db2bce9d81bbe24f9c330a8a0555a386c38f505997c0a24a44afe0ab28539f03a921ce13f82ea8c6e828e17d998ce4951639223 WHIRLPOOL 2de92f2fecc9389e92a1e50f3c37361e0c06e792d0e75ca17beb1a5c6a9b344bc14d3eeef561ecdda5a3e6c60f4fe73f6fb2fd22e343b6edf842f7a81d64a825
|
||||
DIST gnumeric-1.12.2.tar.xz 15517296 SHA256 d6fda191c1c76be2ede21fe78b8c9f96d39aea82ccfb537775a83bf88d781874 SHA512 6f41941e40f5fb3cafebb194082e6d4597caee6b9b1d2c271b8d67e8c78e2d87e366932914d62bd6f5ce6c1bbc2b7e26d5800fbfbc16905576057c3de1244fed WHIRLPOOL 6d8aab376cde73feb2d51d2110ec12c3eecf6e31f8d815e332c88dbfd21040f31828563d4ab5464b79fa238f40e3cefc066b65c0cd5e890eed061dd544ead7a9
|
||||
DIST gnumeric-1.12.3.tar.xz 15503384 SHA256 b332e6785077a2e7febf26a6ccac73e9ae1813c365bc3bf851fb27a5477713a6 SHA512 f3591db341d378979eef4de5eeae0f9b7035940d46ff0876ad7cc038879a722541b098520f60078f83c47280870a0c6b90369a03394d05adcdcc10b0e072a15c WHIRLPOOL 39dd401d6f4e83d736aaa6816e3f917c7f43ca20fb809ce2f93b15b8fe7a3f000e2ea9f9921be1b09dfba798096c1cb9843b2db3c7ad4d2eb5cee709a9688d7d
|
||||
DIST gnumeric-1.12.4.tar.xz 15501540 SHA256 562e17d8b56f4587e33f54adff89a65ede6e6e0c57bcd561589453d8edae80bd SHA512 58ae4015a8c7fbef1fc8675092ed8f3997091cd7efb579db402d253b0bbb61f1445d97f84e5bda864698f96a25f979c82ced338d5d2c887b20d31d131a8c4884 WHIRLPOOL 63c9c56aee4ab4486ed8e06b98a5e15389b789abbccaa41eb6e4a707f67d742337079dac526a7950523c8feedcfb2a317a0801b799c423e7410382111570ab2f
|
||||
|
@ -1,4 +1,3 @@
|
||||
DIST bzip2-1.0.2.tar.gz 665198 SHA256 4b526afa73ca1ccd6f5f1f5fd23813f159f715c3d0e00688f1df54b51f443cdd SHA512 2d857226af70621737823a69e2f1790378636d5d8cfe60d4f87bf4e0cd9c5458aa22d358fbf51cf50e187a2c673b3304f276448ca07e6ae205a2c5e64135eeff WHIRLPOOL a114307c966824ecbe3d01fbae4e0aba3049a3a70d071f4e59febd4b450fc10ac4ff6d099419cc076f89eedf72c45a3d32b45d028d1bc9e2313b481cc8a0fcff
|
||||
DIST bzip2-1.0.3.tar.gz 669075 SHA256 4aaa8e7b4ecf03d91c33e8bf92d489533fa6c1f99e825c34058003f18eb68c13 SHA512 350728188009faa0685fa18ddcb0ba1fc869963ed119953664b7abaa5f3b1393b72588417f0a5a6a5e088691678a6156d05b616e0f5ea38d0b2049b2537a9ae9 WHIRLPOOL e8c8e10d9512b7cb51adab1d89f474f905f1b9c4116a85210ed53a5f9a6b8a27ac4424ca7c1779a6c62a30c6397ab726d11908a8e4a5043c1d19faafea77c742
|
||||
DIST deltup-0.4.4.tar.gz 14905 SHA256 fba7f1a970a04b2b786402e55c017c667b065f1974154f2ba6a65c855357b744 SHA512 52c269e1e752cd733762245256f24cdac7da493abe2793d9f4978a5884306d65d4c1bd25f30d6b86d22f8b3e4aca47b3dd7cf13e310259ced4aa87d9f45d9277 WHIRLPOOL 97a4b34abd1ed2e74424da73176c1a08cba43277d9db9c8306fa10ccbe3e778fa937324ac68bc52b5d5f1cb390f0be42f8a4a8ef799c3b36f0f8b6f50ea2b7b4
|
||||
DIST deltup-0.4.5.tar.gz 14728 SHA256 9c8597780513e5231eb07b05cb1a1ee07b0fec71a4be2dd4a5cb2dd1011fc795 SHA512 fae6814f74fd62eee45701eed4df45ed5f6b6da50cff53d7a04ff3f6e11553ad526c3b3262048e210b1d932b6d30cba69ac1962b867b01aed90de58b45bf6c37 WHIRLPOOL a91994aa049ec25fc1b5d3a816595354114ef37e9655b5d91aea973fdfa187b77aa33aa620de3c38c5888bd2d9c89f376a3de8dd43104515961b3ffc128ab77e
|
||||
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/deltup/deltup-0.4.4.ebuild,v 1.11 2012/12/27 06:46:36 pinkbyte Exp $
|
||||
|
||||
inherit eutils toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="Delta-Update - patch system for updating source-archives."
|
||||
HOMEPAGE="http://deltup.sourceforge.net"
|
||||
SRC_URI="http://deltup.org/e107_files/downloads//${P}.tar.gz
|
||||
http://www.bzip.org/1.0.2/bzip2-1.0.2.tar.gz
|
||||
http://www.bzip.org/1.0.3/bzip2-1.0.3.tar.gz"
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/openssl
|
||||
sys-libs/zlib
|
||||
>=app-arch/bzip2-1.0.0"
|
||||
RDEPEND="${DEPEND}
|
||||
|| ( dev-util/bdelta =dev-util/xdelta-1* )
|
||||
>=app-arch/bzip2-1.0.4"
|
||||
|
||||
src_unpack () {
|
||||
unpack ${A}
|
||||
cd "${WORKDIR}"/bzip2-1.0.2
|
||||
epatch "${FILESDIR}"/bzip2-1.0.2-makefile-CFLAGS.patch
|
||||
cd "${WORKDIR}"/bzip2-1.0.3
|
||||
epatch "${FILESDIR}"/bzip2-1.0.3-makefile-CFLAGS.patch
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/gcc-4.3-compile.fix
|
||||
epatch "${FILESDIR}"/${P}-gcc44.patch
|
||||
epatch "${FILESDIR}"/${P}-gcc47.patch
|
||||
epatch "${FILESDIR}"/${P}-CFLAGS.patch
|
||||
epatch "${FILESDIR}"/${P}-asneeded.patch
|
||||
epatch "${FILESDIR}"/${P}-zlib-1.2.5.2.patch
|
||||
}
|
||||
|
||||
src_compile () {
|
||||
emake CXX=$(tc-getCXX) || die "emake getdelta failed"
|
||||
|
||||
cd "${WORKDIR}"/bzip2-1.0.2
|
||||
local makeopts="
|
||||
CC=$(tc-getCC)
|
||||
AR=$(tc-getAR)
|
||||
RANLIB=$(tc-getRANLIB)"
|
||||
append-flags -static
|
||||
emake ${makeopts} bzip2 || die "emake bzip2 failed"
|
||||
mv bzip2 bzip2_1.0.2
|
||||
|
||||
cd "${WORKDIR}"/bzip2-1.0.3
|
||||
append-flags -static
|
||||
emake ${makeopts} bzip2 || die "emake bzip2 failed"
|
||||
mv bzip2 bzip2_1.0.3
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc README ChangeLog
|
||||
doman deltup.1
|
||||
dobin "${WORKDIR}"/bzip2-1.0.2/bzip2_1.0.2
|
||||
dobin "${WORKDIR}"/bzip2-1.0.3/bzip2_1.0.3
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- mupdf-9999/Makerules
|
||||
+++ mupdf-9999/Makerules
|
||||
@@ -63,6 +63,8 @@
|
||||
SYS_JBIG2DEC_LIBS = -ljbig2dec
|
||||
SYS_JPEG_LIBS = -ljpeg
|
||||
SYS_ZLIB_LIBS = -lz
|
||||
+SYS_CURL_CFLAGS = $(shell pkg-config --cflags libcurl)
|
||||
+SYS_CURL_LIBS = $(shell pkg-config --libs libcurl) -lpthread
|
||||
|
||||
endif
|
||||
|
@ -0,0 +1,359 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-7.2.4.1.ebuild,v 1.1 2013/07/20 00:38:43 tomwij Exp $
|
||||
# Build written by Andrew John Hughes (gnu_andrew@member.fsf.org)
|
||||
|
||||
# *********************************************************
|
||||
# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-6.* AS WELL *
|
||||
# *********************************************************
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit java-pkg-2 java-vm-2 pax-utils prefix versionator virtualx flag-o-matic
|
||||
|
||||
ICEDTEA_VER=$(get_version_component_range 2-)
|
||||
ICEDTEA_BRANCH=$(get_version_component_range 2-3)
|
||||
ICEDTEA_PKG=icedtea-${ICEDTEA_VER}
|
||||
CORBA_TARBALL="23ae4e0e0cce.tar.gz"
|
||||
JAXP_TARBALL="5be6b670d08b.tar.gz"
|
||||
JAXWS_TARBALL="c0e48fdfb695.tar.gz"
|
||||
JDK_TARBALL="65d95818d79e.tar.gz"
|
||||
LANGTOOLS_TARBALL="91c95fd8eea8.tar.gz"
|
||||
OPENJDK_TARBALL="ae86c6974e8e.tar.gz"
|
||||
HOTSPOT_TARBALL="5f53e7717116.tar.gz"
|
||||
CACAO_TARBALL="e215e36be9fc.tar.gz"
|
||||
JAMVM_TARBALL="jamvm-7c8dceb90880616b7dd670f257961a1f5f371ec3.tar.gz"
|
||||
|
||||
CORBA_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-corba-${CORBA_TARBALL}"
|
||||
JAXP_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-jaxp-${JAXP_TARBALL}"
|
||||
JAXWS_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-jaxws-${JAXWS_TARBALL}"
|
||||
JDK_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-jdk-${JDK_TARBALL}"
|
||||
LANGTOOLS_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-langtools-${LANGTOOLS_TARBALL}"
|
||||
OPENJDK_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-openjdk-${OPENJDK_TARBALL}"
|
||||
HOTSPOT_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-hotspot-${HOTSPOT_TARBALL}"
|
||||
CACAO_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-cacao-${CACAO_TARBALL}"
|
||||
JAMVM_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-${JAMVM_TARBALL}"
|
||||
|
||||
DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
SRC_URI="
|
||||
http://icedtea.classpath.org/download/source/${ICEDTEA_PKG}.tar.gz
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/archive/${OPENJDK_TARBALL}
|
||||
-> ${OPENJDK_GENTOO_TARBALL}
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/corba/archive/${CORBA_TARBALL}
|
||||
-> ${CORBA_GENTOO_TARBALL}
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/jaxp/archive/${JAXP_TARBALL}
|
||||
-> ${JAXP_GENTOO_TARBALL}
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/jaxws/archive/${JAXWS_TARBALL}
|
||||
-> ${JAXWS_GENTOO_TARBALL}
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/jdk/archive/${JDK_TARBALL}
|
||||
-> ${JDK_GENTOO_TARBALL}
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/hotspot/archive/${HOTSPOT_TARBALL}
|
||||
-> ${HOTSPOT_GENTOO_TARBALL}
|
||||
http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/langtools/archive/${LANGTOOLS_TARBALL}
|
||||
-> ${LANGTOOLS_GENTOO_TARBALL}
|
||||
http://icedtea.classpath.org/download/drops/cacao/${CACAO_TARBALL} -> ${CACAO_GENTOO_TARBALL}
|
||||
http://icedtea.classpath.org/download/drops/jamvm/${JAMVM_TARBALL} -> ${JAMVM_GENTOO_TARBALL}"
|
||||
|
||||
LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
|
||||
SLOT="7"
|
||||
KEYWORDS="~amd64 ~ia64 ~x86"
|
||||
|
||||
IUSE="+X +alsa cjk +cups debug doc examples javascript +jbootstrap +nsplugin
|
||||
+nss pax_kernel pulseaudio +source systemtap test +webstart"
|
||||
|
||||
# Ideally the following were optional at build time.
|
||||
ALSA_COMMON_DEP="
|
||||
>=media-libs/alsa-lib-1.0"
|
||||
CUPS_COMMON_DEP="
|
||||
>=net-print/cups-1.2.12"
|
||||
X_COMMON_DEP="
|
||||
>=dev-libs/atk-1.30.0
|
||||
>=dev-libs/glib-2.26
|
||||
media-libs/fontconfig
|
||||
>=media-libs/freetype-2.3.5
|
||||
>=x11-libs/cairo-1.8.8
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-2.8:2
|
||||
>=x11-libs/libX11-1.1.3
|
||||
>=x11-libs/libXext-1.1.1
|
||||
>=x11-libs/libXi-1.1.3
|
||||
>=x11-libs/libXrender-0.9.4
|
||||
>=x11-libs/libXtst-1.0.3
|
||||
>=x11-libs/pango-1.24.5"
|
||||
X_DEPEND="
|
||||
>=x11-libs/libXau-1.0.3
|
||||
>=x11-libs/libXdmcp-1.0.2
|
||||
>=x11-libs/libXinerama-1.0.2
|
||||
x11-proto/inputproto
|
||||
>=x11-proto/xextproto-7.1.1
|
||||
x11-proto/xineramaproto
|
||||
x11-proto/xproto"
|
||||
|
||||
COMMON_DEP="
|
||||
>=media-libs/giflib-4.1.6
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libpng-1.2
|
||||
>=sys-libs/zlib-1.2.3
|
||||
virtual/jpeg
|
||||
javascript? ( dev-java/rhino:1.6 )
|
||||
nss? ( >=dev-libs/nss-3.12.5-r1 )
|
||||
pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
|
||||
systemtap? ( >=dev-util/systemtap-1 )"
|
||||
|
||||
# cups is needed for X. #390945 #390975
|
||||
RDEPEND="${COMMON_DEP}
|
||||
!dev-java/icedtea:0
|
||||
X? (
|
||||
${CUPS_COMMON_DEP}
|
||||
${X_COMMON_DEP}
|
||||
media-fonts/dejavu
|
||||
cjk? (
|
||||
media-fonts/arphicfonts
|
||||
media-fonts/baekmuk-fonts
|
||||
media-fonts/lklug
|
||||
media-fonts/lohit-fonts
|
||||
media-fonts/sazanami
|
||||
)
|
||||
)
|
||||
alsa? ( ${ALSA_COMMON_DEP} )
|
||||
cups? ( ${CUPS_COMMON_DEP} )"
|
||||
|
||||
# Require >=ant-core-1.8.2 so no additional ant tasks are needed. #466558
|
||||
# ca-certificates, perl and openssl are used for the cacerts keystore generation
|
||||
# xext headers have two variants depending on version - bug #288855
|
||||
# autoconf - as long as we use eautoreconf, version restrictions for bug #294918
|
||||
|
||||
# FIXME: this version can't be built with icedtea-6
|
||||
DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP}
|
||||
|| (
|
||||
>=dev-java/gcj-jdk-4.3
|
||||
dev-java/icedtea-bin:7
|
||||
dev-java/icedtea:7
|
||||
)
|
||||
app-arch/cpio
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
app-misc/ca-certificates
|
||||
>=dev-java/ant-core-1.8.2
|
||||
dev-lang/perl
|
||||
>=dev-libs/libxslt-1.1.26
|
||||
dev-libs/openssl
|
||||
virtual/pkgconfig
|
||||
sys-apps/attr
|
||||
sys-apps/lsb-release
|
||||
${X_DEPEND}
|
||||
pax_kernel? ( sys-apps/paxctl )"
|
||||
|
||||
PDEPEND="webstart? ( dev-java/icedtea-web:7 )
|
||||
nsplugin? ( dev-java/icedtea-web:7[nsplugin] )"
|
||||
|
||||
S="${WORKDIR}"/${ICEDTEA_PKG}
|
||||
|
||||
pkg_setup() {
|
||||
JAVA_PKG_WANT_BUILD_VM="
|
||||
icedtea-7 icedtea-bin-7 icedtea7
|
||||
gcj-jdk"
|
||||
#icedtea-6 icedtea-bin-6 icedtea6 icedtea6-bin
|
||||
JAVA_PKG_WANT_SOURCE="1.5"
|
||||
JAVA_PKG_WANT_TARGET="1.5"
|
||||
|
||||
java-vm-2_pkg_setup
|
||||
java-pkg-2_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${ICEDTEA_PKG}.tar.gz
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
# For bootstrap builds as the sandbox control file might not yet exist.
|
||||
addpredict /proc/self/coredump_filter
|
||||
|
||||
# icedtea doesn't like some locales. #330433 #389717
|
||||
export LANG="C" LC_ALL="C"
|
||||
}
|
||||
|
||||
bootstrap_impossible() {
|
||||
# Fill this according to testing what works and what not
|
||||
has "${1}" icedtea6 icedtea-6 icedtea6-bin icedtea-bin-6
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local config bootstrap
|
||||
local vm=$(java-pkg_get-current-vm)
|
||||
|
||||
# Whether to bootstrap
|
||||
bootstrap="disable"
|
||||
if use jbootstrap; then
|
||||
if bootstrap_impossible "${vm}"; then
|
||||
einfo "Bootstrap with ${vm} is currently not possible and thus disabled, ignoring USE=jbootstrap"
|
||||
else
|
||||
bootstrap="enable"
|
||||
fi
|
||||
fi
|
||||
|
||||
if has "${vm}" gcj-jdk; then
|
||||
# gcj-jdk ensures ecj is present.
|
||||
use jbootstrap || einfo "bootstrap is necessary when building with ${vm}, ignoring USE=\"-jbootstrap\""
|
||||
bootstrap="enable"
|
||||
local ecj_jar="$(readlink "${EPREFIX}"/usr/share/eclipse-ecj/ecj.jar)"
|
||||
config="${config} --with-ecj-jar=${ecj_jar}"
|
||||
fi
|
||||
|
||||
config="${config} --${bootstrap}-bootstrap"
|
||||
|
||||
# HotSpot > CACAO > JamVM > Zero, though CACAO is somewhat memory hungry
|
||||
# CACAO is not yet available for icedtea-7
|
||||
case "${ARCH}" in
|
||||
amd64|sparc|x86)
|
||||
;;
|
||||
arm)
|
||||
config+=" --enable-jamvm" #IT1266
|
||||
replace-flags -Os -O2 #BGO453612 #IT1267
|
||||
;;
|
||||
ppc|ppc64)
|
||||
config+=" --enable-jamvm"
|
||||
;;
|
||||
*)
|
||||
config+=" --enable-zero"
|
||||
HOTSPOT_GENTOO_TARBALL=${ZERO_GENTOO_TARBALL}
|
||||
;;
|
||||
esac
|
||||
|
||||
# OpenJDK-specific parallelism support. Bug #389791, #337827
|
||||
# Implementation modified from waf-utils.eclass
|
||||
# Note that "-j" is converted to "-j1" as the system doesn't support --load-average
|
||||
local procs=$(echo -j1 ${MAKEOPTS} | sed -r "s/.*(-j\s*|--jobs=)([0-9]+).*/\2/" )
|
||||
config="${config} --with-parallel-jobs=${procs}";
|
||||
einfo "Configuring using --with-parallel-jobs=${procs}"
|
||||
|
||||
if use javascript ; then
|
||||
config="${config} --with-rhino=$(java-pkg_getjar rhino-1.6 js.jar)"
|
||||
else
|
||||
config="${config} --without-rhino"
|
||||
fi
|
||||
|
||||
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
|
||||
|
||||
econf ${config} \
|
||||
--with-openjdk-src-zip="${DISTDIR}/${OPENJDK_GENTOO_TARBALL}" \
|
||||
--with-corba-src-zip="${DISTDIR}/${CORBA_GENTOO_TARBALL}" \
|
||||
--with-jaxp-src-zip="${DISTDIR}/${JAXP_GENTOO_TARBALL}" \
|
||||
--with-jaxws-src-zip="${DISTDIR}/${JAXWS_GENTOO_TARBALL}" \
|
||||
--with-jdk-src-zip="${DISTDIR}/${JDK_GENTOO_TARBALL}" \
|
||||
--with-hotspot-src-zip="${DISTDIR}/${HOTSPOT_GENTOO_TARBALL}" \
|
||||
--with-langtools-src-zip="${DISTDIR}/${LANGTOOLS_GENTOO_TARBALL}" \
|
||||
--with-cacao-src-zip="${DISTDIR}/${CACAO_GENTOO_TARBALL}" \
|
||||
--with-jamvm-src-zip="${DISTDIR}/${JAMVM_GENTOO_TARBALL}" \
|
||||
--with-jdk-home="$(java-config -O)" \
|
||||
--with-abs-install-dir=/usr/$(get_libdir)/icedtea${SLOT} \
|
||||
--disable-downloading --disable-Werror \
|
||||
$(use_enable !debug optimizations) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable nss) \
|
||||
$(use_enable pulseaudio pulse-java) \
|
||||
$(use_enable systemtap) \
|
||||
$(use_with pax_kernel pax paxctl)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Would use GENTOO_VM otherwise.
|
||||
export ANT_RESPECT_JAVA_HOME=TRUE
|
||||
# disable all optional ant tasks
|
||||
export ANT_TASKS="none"
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Use Xvfb for tests
|
||||
unset DISPLAY
|
||||
|
||||
Xemake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/usr/$(get_libdir)/icedtea${SLOT}"
|
||||
local ddest="${ED}/${dest}"
|
||||
dodir "${dest}"
|
||||
|
||||
dodoc README NEWS AUTHORS
|
||||
dosym /usr/share/doc/${PF} /usr/share/doc/${PN}${SLOT}
|
||||
|
||||
cd openjdk.build/j2sdk-image || die
|
||||
|
||||
# Ensures HeadlessGraphicsEnvironment is used.
|
||||
if ! use X; then
|
||||
rm -r jre/lib/$(get_system_arch)/xawt || die
|
||||
fi
|
||||
|
||||
# Don't hide classes
|
||||
rm lib/ct.sym || die
|
||||
|
||||
#402507
|
||||
mkdir jre/.systemPrefs || die
|
||||
touch jre/.systemPrefs/.system.lock || die
|
||||
touch jre/.systemPrefs/.systemRootModFile || die
|
||||
|
||||
# doins can't handle symlinks.
|
||||
cp -vRP bin include jre lib man "${ddest}" || die
|
||||
|
||||
dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README
|
||||
|
||||
if use doc; then
|
||||
# java-pkg_dohtml needed for package-list #302654
|
||||
java-pkg_dohtml -r ../docs/* || die
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
dodir "${dest}/share";
|
||||
cp -vRP demo sample "${ddest}/share/" || die
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
cp src.zip "${ddest}" || die
|
||||
fi
|
||||
|
||||
# Fix the permissions.
|
||||
find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
|
||||
|
||||
# Needs to be done before generating cacerts
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
# We need to generate keystore - bug #273306
|
||||
einfo "Generating cacerts file from certificates in ${EPREFIX}/usr/share/ca-certificates/"
|
||||
mkdir "${T}/certgen" && cd "${T}/certgen" || die
|
||||
cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
|
||||
for c in "${EPREFIX}"/usr/share/ca-certificates/*/*.crt; do
|
||||
openssl x509 -text -in "${c}" >> all.crt || die
|
||||
done
|
||||
./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
|
||||
cp -vRP cacerts "${ddest}/jre/lib/security/" || die
|
||||
chmod 644 "${ddest}/jre/lib/security/cacerts" || die
|
||||
|
||||
# OpenJDK7 should be able to use fontconfig instead, but wont hurt to
|
||||
# install it anyway. Bug 390663
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties.src "${T}"/fontconfig.Gentoo.properties || die
|
||||
eprefixify "${T}"/fontconfig.Gentoo.properties
|
||||
insinto "${dest}"/jre/lib
|
||||
doins "${T}"/fontconfig.Gentoo.properties
|
||||
|
||||
set_java_env "${FILESDIR}/icedtea.env"
|
||||
if ! use X || ! use alsa || ! use cups; then
|
||||
java-vm_revdep-mask "${dest}"
|
||||
fi
|
||||
java-vm_sandbox-predict /proc/self/coredump_filter
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<=dev-java/icedtea-7.2.0:7"; then
|
||||
# portage would preserve the symlink otherwise, related to bug #384397
|
||||
rm -f "${EROOT}/usr/lib/jvm/icedtea7"
|
||||
elog "To unify the layout and simplify scripts, the identifier of Icedtea-7*"
|
||||
elog "has changed from 'icedtea7' to 'icedtea-7' starting from version 7.2.0-r1"
|
||||
elog "If you had icedtea7 as system VM, the change should be automatic, however"
|
||||
elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
|
||||
elog "and the same holds for any user VM settings. Sorry for the inconvenience."
|
||||
fi
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST apache-maven-2.0.11-bin.tar.bz2 2104711 SHA256 f8e91b43def9b78d01f0ad8374644aa737365144dea04a97f9503ac0011ad39c SHA512 829a583e44ea997576cb0949d74f95e6557069489329523c28c44b546f07cd9487a75f4326d7dc0a098a9755fd52630f2ee27a60daf35006eb48d6af250f84de WHIRLPOOL 5e467ee3f35ea7bb4a7d396e61c3f163702d1cc02d7daf4208b475e3d28be5e0d6d6e0a15ebc1a6d2d6d9697047562064c5309eec1491a3837067a71bcf81b42
|
||||
DIST apache-maven-2.2.1-bin.tar.bz2 2839688 SHA256 a8d819f78bec0505f5773962fc50117f0c5db4a69c7207d0c27cabffc950939f SHA512 ffbf74b6b51616dcd87252973ddd776f13861fece7cd25df9cfba4bda1d8dd574772cb5d37ac7ed97ef8b93b507939d428d47b9b81742c801c7958b9fd6188e7 WHIRLPOOL 17cdba09856646acf5a37c252c6dcc200bae6eb16ee07ee6620bdee832b452a3a1db8d61289cff3f849f5c0d57c673cfc4749e220dc52b2b5ec50d4d9cd1062a
|
||||
DIST apache-maven-3.0.4-bin.tar.gz 4873043 SHA256 d35a876034c08cb7e20ea2fbcf168bcad4dff5801abad82d48055517513faa2f SHA512 d6935daff3b80ed6e40ee0acb4f269b4b16e63bc29b792316599a9847f1b33d9309d3c399cdb170710714a1d150957eedc909754de8f8a77d87bd20a0abcb36c WHIRLPOOL f1e15af0bc0f942a8c4e435fa2cde57221e3ef8f86d43197dd4486812b115b684ad8e0ebf5ba3f2f0ad9d0ae0c5f0b0ac26a10e5e170fffe2d47bb77522c4e68
|
||||
DIST apache-maven-3.1.0-bin.tar.gz 5439122 SHA256 59088c62c14b996d597bbd55e720866b0e13e36daed8a46a81c01058ee74bd54 SHA512 8c6b13c680de2f9cddb1dffd15ae44a8866a29e56c92ccd905fba1a656d2cab26c40b10c4168ffe11dd3bd4e5161c6d9ea01f450e7c89aba532b2a20f9fd2b07 WHIRLPOOL 9b80b5e5d49a27784bd9760dd326677809fd5bcc8872bc2ee356bde92a6523d6cf1ad0ddcfc3aff96b07fb315af5f3c04b2278f5fd11964c76f179329dca8c8e
|
||||
DIST maven-1.1.tar.gz 7625074 SHA256 6913083d2db1d32ee5e18db7280be0f8ce36224aba3595690e85054f2ad5e731 SHA512 d08e6f4f7568caec718e82d1106ab01a63855061b5ff65134cdb25ba0a4eee875472bceaccffc1425bd0e57918f69f4e48ad2dd0098f2995ba55ad61c64424a0 WHIRLPOOL 2137afc57306d840d04a38a09f5b40d946d10f8216ebff4a3a0a385f475316266339f4b8d07b461a2004d487c6b74a68fc2db5f38cb831ed0947259f1cd08d48
|
||||
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-3.1.0.ebuild,v 1.1 2013/07/19 23:58:10 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
MY_PN=apache-${PN%%-bin}
|
||||
MY_PV=${PV/_alpha/-alpha-}
|
||||
MY_P="${MY_PN}-${MY_PV}"
|
||||
MY_MV="${PV%%.*}"
|
||||
|
||||
DESCRIPTION="Project Management and Comprehension Tool for Java"
|
||||
SRC_URI="mirror://apache/maven/maven-${MY_MV}/${PV}/binaries/${MY_P}-bin.tar.gz"
|
||||
HOMEPAGE="http://maven.apache.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="|| ( app-admin/eselect-java app-admin/eselect-maven )
|
||||
dev-java/avalon-framework:4.1
|
||||
dev-java/avalon-logkit:2.0
|
||||
dev-java/commons-io:1
|
||||
dev-java/juel:0
|
||||
dev-java/log4j:0
|
||||
dev-java/osgi-core-api:0
|
||||
java-virtuals/servlet-api:2.4"
|
||||
|
||||
RDEPEND=">=virtual/jdk-1.5
|
||||
${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
MAVEN=${PN}-${SLOT}
|
||||
MAVEN_SHARE="/usr/share/${MAVEN}"
|
||||
|
||||
java_prepare() {
|
||||
rm -v "${S}"/bin/*.bat || die
|
||||
|
||||
chmod 644 "${S}"/boot/*.jar "${S}"/lib/*.jar "${S}"/conf/settings.xml || die
|
||||
|
||||
java-pkg_getjars avalon-framework-4.1,avalon-logkit-2.0,commons-io-1,juel,log4j,osgi-core-api,servlet-api-2.4 > /dev/null
|
||||
}
|
||||
|
||||
# TODO we should use jars from packages, instead of what is bundled
|
||||
src_install() {
|
||||
dodir "${MAVEN_SHARE}"
|
||||
|
||||
cp -Rp bin boot conf lib "${ED}/${MAVEN_SHARE}" || die "failed to copy"
|
||||
|
||||
java-pkg_regjar "${ED}/${MAVEN_SHARE}"/boot/*.jar
|
||||
java-pkg_regjar "${ED}/${MAVEN_SHARE}"/lib/*.jar
|
||||
|
||||
dodoc NOTICE.txt README.txt
|
||||
|
||||
dodir /usr/bin
|
||||
dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT}
|
||||
|
||||
# See bug #342901.
|
||||
echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
|
||||
doenvd "${T}/25${MAVEN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect maven update mvn-${SLOT}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect maven update
|
||||
}
|
@ -0,0 +1,774 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.5.1.ebuild,v 1.1 2013/07/19 14:34:23 olemarkus Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool
|
||||
|
||||
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/dsp/${2}"
|
||||
;;
|
||||
"php")
|
||||
echo "http://www.php.net/distributions/${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/_alpha/} ]] || PHP_RELEASE="php-pre"
|
||||
[[ ${PV} == ${PV/_beta/} ]] || PHP_RELEASE="php-pre"
|
||||
[[ ${PV} == ${PV/_rc/} ]] || PHP_RELEASE="php-pre"
|
||||
PHP_P="${PN}-${PHP_PV}"
|
||||
|
||||
PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
|
||||
|
||||
PHP_FPM_CONF_VER="1"
|
||||
|
||||
SRC_URI="${PHP_SRC_URI}"
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs."
|
||||
HOMEPAGE="http://php.net/"
|
||||
LICENSE="PHP-3"
|
||||
|
||||
S="${WORKDIR}/${PHP_P}"
|
||||
|
||||
# We can build the following SAPIs in the given order
|
||||
SAPIS="embed cli cgi fpm apache2"
|
||||
|
||||
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
|
||||
IUSE="${IUSE}
|
||||
${SAPIS/cli/+cli}
|
||||
threads"
|
||||
|
||||
IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk
|
||||
crypt +ctype curl debug
|
||||
enchant exif frontbase +fileinfo +filter firebird
|
||||
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
|
||||
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash
|
||||
mssql mysql libmysqlclient mysqli nls
|
||||
oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm
|
||||
readline recode selinux +session sharedmem
|
||||
+simplexml snmp soap sockets spell sqlite ssl
|
||||
sybase-ct sysvipc tidy +tokenizer truetype unicode wddx
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
|
||||
|
||||
DEPEND="
|
||||
>=app-admin/eselect-php-0.7.0[apache2?,fpm?]
|
||||
>=dev-libs/libpcre-8.32[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:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
crypt? ( >=dev-libs/libmcrypt-2.4 )
|
||||
curl? ( >=net-misc/curl-7.10.5 )
|
||||
enchant? ( app-text/enchant )
|
||||
exif? ( !gd? (
|
||||
virtual/jpeg
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( virtual/jpeg media-libs/libpng:0= 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 )
|
||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
||||
ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 )
|
||||
libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
|
||||
mssql? ( dev-db/freetds[mssql] )
|
||||
libmysqlclient? (
|
||||
mysql? ( virtual/mysql )
|
||||
mysqli? ( >=virtual/mysql-4.1 )
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
|
||||
odbc? ( >=dev-db/unixODBC-1.8.13 )
|
||||
postgres? ( dev-db/postgresql-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:0= 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:0= sys-libs/zlib
|
||||
)
|
||||
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
|
||||
zip? ( sys-libs/zlib )
|
||||
zlib? ( sys-libs/zlib )
|
||||
virtual/mta
|
||||
"
|
||||
|
||||
php="=${CATEGORY}/${PF}"
|
||||
|
||||
REQUIRED_USE="
|
||||
truetype? ( gd )
|
||||
cjk? ( gd )
|
||||
exif? ( gd )
|
||||
|
||||
xpm? ( gd )
|
||||
gd? ( zlib )
|
||||
simplexml? ( xml )
|
||||
soap? ( xml )
|
||||
wddx? ( xml )
|
||||
xmlrpc? ( || ( xml iconv ) )
|
||||
xmlreader? ( xml )
|
||||
xslt? ( xml )
|
||||
ldap-sasl? ( ldap )
|
||||
mhash? ( hash )
|
||||
phar? ( hash )
|
||||
libmysqlclient? ( || (
|
||||
mysql
|
||||
mysqli
|
||||
pdo
|
||||
) )
|
||||
|
||||
qdbm? ( !gdbm )
|
||||
readline? ( !libedit )
|
||||
recode? ( !imap !mysql !mysqli )
|
||||
sharedmem? ( !threads )
|
||||
|
||||
!cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RDEPEND="${RDEPEND} fpm? ( selinux? ( sec-policy/selinux-phpfpm ) )"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/flex
|
||||
>=sys-devel/m4-1.4.3
|
||||
>=sys-devel/libtool-1.5.18"
|
||||
|
||||
# Allow users to install production version if they want to
|
||||
|
||||
case "${PHP_INI_VERSION}" in
|
||||
production|development)
|
||||
;;
|
||||
*)
|
||||
PHP_INI_VERSION="development"
|
||||
;;
|
||||
esac
|
||||
|
||||
PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}"
|
||||
PHP_INI_FILE="php.ini"
|
||||
|
||||
want_apache
|
||||
|
||||
pkg_setup() {
|
||||
depend.apache_pkg_setup
|
||||
}
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
local phpinisrc="${PHP_INI_UPSTREAM}-${phpsapi}"
|
||||
cp "${PHP_INI_UPSTREAM}" "${phpinisrc}"
|
||||
|
||||
# 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}}"
|
||||
|
||||
if use_if_iuse opcache; then
|
||||
elog "Adding opcache to $PHP_EXT_INI_DIR"
|
||||
echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> "${D}/${PHP_EXT_INI_DIR}"/opcache.ini
|
||||
dosym "${PHP_EXT_INI_DIR#${EPREFIX}}/opcache.ini" "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}/opcache.ini"
|
||||
fi
|
||||
|
||||
# SAPI-specific handling
|
||||
|
||||
if [[ "${sapi}" == "fpm" ]] ; then
|
||||
[[ -z ${PHP_FPM_CONF_VER} ]] && PHP_FPM_CONF_VER=0
|
||||
einfo "Installing FPM CGI config file php-fpm.conf"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${FILESDIR}/php-fpm-r${PHP_FPM_CONF_VER}.conf" php-fpm.conf
|
||||
|
||||
# Remove bogus /etc/php-fpm.conf.default (bug 359906)
|
||||
[[ -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
|
||||
|
||||
# Change PHP branding
|
||||
# Get the alpha/beta/rc version
|
||||
sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1-pl${PR/r/}-gentoo\2|g" \
|
||||
-i configure.in || die "Unable to change PHP branding"
|
||||
|
||||
|
||||
epatch "${FILESDIR}"/iodbc-pkgconfig.patch
|
||||
epatch "${FILESDIR}"/stricter-libc-client-symlink-check.patch
|
||||
epatch "${FILESDIR}"/all_strict_aliasing.patch
|
||||
|
||||
# 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
|
||||
|
||||
#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_enable xml dom )
|
||||
$(use_with enchant enchant "${EPREFIX}"/usr)
|
||||
$(use_enable exif exif )
|
||||
$(use_enable fileinfo fileinfo )
|
||||
$(use_enable filter filter )
|
||||
$(use_enable ftp ftp )
|
||||
$(use_with nls gettext "${EPREFIX}"/usr)
|
||||
$(use_with gmp gmp "${EPREFIX}"/usr)
|
||||
$(use_enable hash hash )
|
||||
$(use_with mhash mhash "${EPREFIX}"/usr)
|
||||
$(use_with iconv iconv $(use elibc_glibc || echo "${EPREFIX}"/usr))
|
||||
$(use_enable intl intl )
|
||||
$(use_enable ipv6 ipv6 )
|
||||
$(use_enable json json )
|
||||
$(use_with kerberos kerberos "${EPREFIX}"/usr)
|
||||
$(use_enable xml libxml )
|
||||
$(use_with xml libxml-dir "${EPREFIX}"/usr)
|
||||
$(use_enable unicode mbstring )
|
||||
$(use_with crypt mcrypt "${EPREFIX}"/usr)
|
||||
$(use_with mssql mssql "${EPREFIX}"/usr)
|
||||
$(use_with unicode onig "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl-dir "${EPREFIX}"/usr)
|
||||
$(use_enable pcntl pcntl )
|
||||
$(use_enable phar phar )
|
||||
$(use_enable pdo pdo )
|
||||
$(use_enable opcache opcache )
|
||||
$(use_with postgres pgsql "${EPREFIX}"/usr)
|
||||
$(use_enable posix posix )
|
||||
$(use_with spell pspell "${EPREFIX}"/usr)
|
||||
$(use_with recode recode "${EPREFIX}"/usr)
|
||||
$(use_enable simplexml simplexml )
|
||||
$(use_enable sharedmem shmop )
|
||||
$(use_with snmp snmp "${EPREFIX}"/usr)
|
||||
$(use_enable soap soap )
|
||||
$(use_enable sockets sockets )
|
||||
$(use_with sqlite sqlite3 "${EPREFIX}"/usr)
|
||||
$(use_with sybase-ct sybase-ct "${EPREFIX}"/usr)
|
||||
$(use_enable sysvipc sysvmsg )
|
||||
$(use_enable sysvipc sysvsem )
|
||||
$(use_enable sysvipc sysvshm )
|
||||
$(use_with tidy tidy "${EPREFIX}"/usr)
|
||||
$(use_enable tokenizer tokenizer )
|
||||
$(use_enable wddx wddx )
|
||||
$(use_enable xml xml )
|
||||
$(use_enable xmlreader xmlreader )
|
||||
$(use_enable xmlwriter xmlwriter )
|
||||
$(use_with xmlrpc xmlrpc)
|
||||
$(use_with xslt xsl "${EPREFIX}"/usr)
|
||||
$(use_enable zip zip )
|
||||
$(use_with zlib zlib "${EPREFIX}"/usr)
|
||||
$(use_enable debug debug )"
|
||||
|
||||
# DBA support
|
||||
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|
||||
|| use qdbm ; then
|
||||
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
|
||||
local mysqllib="mysqlnd"
|
||||
local mysqlilib="mysqlnd"
|
||||
use libmysqlclient && mysqllib="${EPREFIX}/usr"
|
||||
use libmysqlclient && mysqlilib="${EPREFIX}/usr/bin/mysql_config"
|
||||
|
||||
my_conf+=" $(use_with mysql mysql $mysqllib)"
|
||||
my_conf+=" $(use_with mysqli mysqli $mysqlilib)"
|
||||
|
||||
local mysqlsock=" $(use_with mysql mysql-sock ${EPREFIX}/var/run/mysqld/mysqld.sock)"
|
||||
if use mysql ; then
|
||||
my_conf+="${mysqlsock}"
|
||||
elif use mysqli ; then
|
||||
my_conf+="${mysqlsock}"
|
||||
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 )
|
||||
$(use_with mysql pdo-mysql ${mysqllib})
|
||||
$(use_with postgres pdo-pgsql )
|
||||
$(use_with sqlite pdo-sqlite ${EPREFIX}/usr)
|
||||
$(use_with odbc pdo-odbc unixODBC,${EPREFIX}/usr)"
|
||||
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
|
||||
|
||||
# Use pic for shared modules such as apache2's mod_php
|
||||
my_conf="${my_conf} --with-pic"
|
||||
|
||||
# we use the system copy of pcre
|
||||
# --with-pcre-regex affects ext/pcre
|
||||
# --with-pcre-dir affects ext/filter and ext/zip
|
||||
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
|
||||
local dest="${PHP_DESTDIR#${EPREFIX}}"
|
||||
into "${dest}"
|
||||
case "$sapi" in
|
||||
cli)
|
||||
source="sapi/cli/php"
|
||||
;;
|
||||
cgi)
|
||||
source="sapi/cgi/php-cgi"
|
||||
;;
|
||||
fpm)
|
||||
source="sapi/fpm/php-fpm"
|
||||
;;
|
||||
embed)
|
||||
source="libs/libphp${PHP_MV}$(get_libname)"
|
||||
;;
|
||||
*)
|
||||
die "unhandled sapi in src_install"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "${source}" == *"$(get_libname)" ]]; then
|
||||
dolib.so "${source}" || die "Unable to install ${sapi} sapi"
|
||||
else
|
||||
dobin "${source}" || die "Unable to install ${sapi} sapi"
|
||||
local name="$(basename ${source})"
|
||||
dosym "${dest}/bin/${name}" "/usr/bin/${name}${SLOT}"
|
||||
fi
|
||||
fi
|
||||
|
||||
php_install_ini "${sapi}"
|
||||
|
||||
# construct correct SAPI string for php-config
|
||||
# thanks to ferringb for the bash voodoo
|
||||
if [[ "${sapi}" == "apache2" ]]; then
|
||||
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
|
||||
else
|
||||
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Installing opcache module
|
||||
if use_if_iuse opcache ; then
|
||||
dolib.so "modules/opcache$(get_libname)" || die "Unable to install opcache module"
|
||||
fi
|
||||
|
||||
# Install env.d files
|
||||
newenvd "${FILESDIR}/20php5-envd" \
|
||||
"20php${SLOT}"
|
||||
sed -e "s|/lib/|/$(get_libdir)/|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
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() {
|
||||
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
|
||||
if [[ ! -x "${PHP_BIN}" ]] ; then
|
||||
ewarn "Test phase requires USE=cli, skipping"
|
||||
return
|
||||
else
|
||||
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis/cgi/php-cgi" ]] ; then
|
||||
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis/cgi/php-cgi"
|
||||
fi
|
||||
|
||||
REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d "session.save_path=${T}" \
|
||||
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d "session.save_path=${T}"
|
||||
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
mv "${name}.out" "${name}.out.orig" 2>/dev/null
|
||||
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
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
eselect php cleanup
|
||||
}
|
@ -1,7 +1,8 @@
|
||||
DIST GeoIP-1.4.8.tar.gz 1074829 SHA256 cf0f6b2bac1153e34d6ef55ee3851479b347d2b5c191fda8ff6a51fab5291ff4 SHA512 aec70bdf002f1041ecb14f091e32206af033dc6ed89d20dffcc80e4c4edad993c9dfab7810576cb75f07d356ef34529ca3f2613e43e7f97c2b7ae099ce3be317 WHIRLPOOL 3dcaa7ef9610ede593b64a7a0f111adc0b2f9c4bf64054ef4f690d284a8c7ba45083d2739585047db18e3c22b50b026c9b5fee26142a4611af7b4092e907ffdf
|
||||
DIST GeoIP-1.5.0.tar.gz 1232688 SHA256 d1dbd4f27bcf0e760329f0f9c67a5fc81b4c56efbe0666159934c2bcd38caea2 SHA512 87bc4972ae438f3f37a1f05e55377862a72437195e0241b7fa1ddf4ebaeb1da50a07a387ae13481dd1ff2a5ec39b9830a808618bb8c825417d25068684540b3f WHIRLPOOL 11ea882d6fd77426a2ffa05632dfc7ef9c16dc323bb01738ce9b0fa67a181d380e6c80f3a0f1065e12b95537e21ceeab817db2acf25492388fe6878bdf9ed6fa
|
||||
DIST GeoIP-1.5.1.tar.gz 1195457 SHA256 ec35ee73fcc54c493f4252565d1c81d022b398dd16de3af1522c8cab016f8731 SHA512 aacb59ac7ced106ed420d320ffe6ffbec0d0e49ef3af8c2380c731824413386b6979e13f7a4ba81ba5b8d5ab4792830da232a02caa263752302acf55ac9bcae5 WHIRLPOOL 3a9761c30694b64d46727bc0da7620ab9db394a688017f48aa24be7d81b81e6d2fbb82e8b44bd350a58076c607fdfadca8e85695775904e05d774e3ea505dda0
|
||||
DIST GeoIP.dat.gz 339117 SHA256 ca087bc539609f89c5f1588e09d14a96ba6a64f891929852d12df0e0d38a87fc SHA512 8a1bc6d442bff4ca53292e0dae63b619d20a1b66045245f4128821bdb38d477e7abf284ce31b2dfd72412ab36ada1faf9e721010ddbb3b84b0e266f67c15ab79 WHIRLPOOL 2f1d35ff94870edd496f294ec52cbb8b21d91f0532d3e32a2c11442ffa0458a5ecfc07ce90857505700b4c839ae38ce7300a0d6e56e31423998a6e38cecd5836
|
||||
DIST GeoIPASNum.dat.gz 1848800 SHA256 4c4ea1243e7dcbef6067de7c4b7447be635d60c4b5a02174e878898fb54b8de1 SHA512 741541170506dc516af331e467906d0066c9b9a4fd8b50f17aa55a7d4a78134d37d3499bae09f8d95089d7003068f43dcecb11a985be2cde91fa630a459f1967 WHIRLPOOL 960da0748348ba6455acb59af5ab262279960b2c46c047b9dcdb2f6694accc8e140d41b06f75cdd82534d171512666b337ce4044b0a2f99d906e0dd0a3c115d8
|
||||
DIST GeoIPv6.dat.gz 932782 SHA256 3e83499214f44105c84989fe19fddba1208ed756443835064ffa69eafb5c74f8 SHA512 211d6035f2f7a5cc3f362395c9f66b21574ef6a2ee0d19da7e7dccc4484b75ff9d86dce5ced85824a0da3a29e8f39a51e32cc275d0735e9d2bde4a4bf0b1b5d1 WHIRLPOOL 2e7c17dc52c7f33b072b911e40b0a947b5e38bdbab342dd15f5470a143590d6be6df2da9a08243719bdb344e937db41a34a4ae20536e7a4c63459dc16ecefb8d
|
||||
DIST GeoLiteCity.dat.gz 12108586 SHA256 e322104ed00676102da1b5e66788a51bfd386447d2422b9cb770bbeb4e36954a SHA512 2503514df4908c1f0ed7a5d43b7f9d58fa25e2e6d6cd984e122a8bf3733f4b9372a4147a1c8678f70b83e518fd0b69a7e162643613a77ccd93d68af201a1497c WHIRLPOOL 12baea7c0a55122dfb72185896c71790f8d1e7b4023bab3594b02ee1ca9781a19bb8ee62b751d69ad6a55186caf6504845d9039598e35a877e200748476e04fa
|
||||
DIST GeoLiteCityv6.dat.gz 12962880 SHA256 ab9c4deee7b3ef8bd665db67f2ba312b61d3aeb0233e8b2277f8cfbb9d7f2e6e SHA512 c8b5fde5fc5513ab4f5149e8babe2f1c59a5ff94cb69b8b60eb347ddee42d89b5e93919128240578c2ea263d80191f8afebb21159d5d8dc6c372bb872b8e2cbe WHIRLPOOL b2253e0193b8a47b8a6d9d0fac887a9410d5e361d4be5636c2e5e63fe5123f998f71dbaa89ff7d4bd82dc47f771705878a342598c926b0130585bedeb00e6490
|
||||
DIST geoip-1.5.1.tar.gz 254157 SHA256 e0fa12ee0eaa3f851e0610071f8153c72baa95b9ac0fd9b663da7d637f78bd02 SHA512 ad8348f8e6d12a582da13052d7f0040a0792d7f3ef3b5f0508182b56437b885a73a6a08b6bb485e9aa903f2b664b23f982235be92456739c01d83f13596b02c2 WHIRLPOOL b32931a63f1f58fe5a32443997aad4776960da1346b583e6bf08092ee0c7d4ea4bbf06d51ddca228cc1f798151a0a8249b8e40a458b46eeb27aa792760ae3af6
|
||||
|
@ -0,0 +1,47 @@
|
||||
From a9327484746820a5a2b8c1acf4a78470b004f0a0 Mon Sep 17 00:00:00 2001
|
||||
From: Emmanuele Bassi <ebassi@gnome.org>
|
||||
Date: Thu, 11 Jul 2013 15:49:14 +0000
|
||||
Subject: build: Add configure option to enable -Bsymbolic
|
||||
|
||||
We should always compile with -Bsymbolic enabled to avoid intra-library
|
||||
PLT jumps.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=703734
|
||||
---
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 7c640fa..90654c6 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -93,6 +93,30 @@ AC_MSG_RESULT([$platform_win32])
|
||||
AM_CONDITIONAL(OS_LINUX, [test "$platform_linux" = "yes"])
|
||||
AM_CONDITIONAL(OS_WIN32, [test "$platform_win32" = "yes"])
|
||||
|
||||
+# Check for -Bsymbolic-functions to avoid intra-library PLT jumps
|
||||
+AC_ARG_ENABLE([Bsymbolic],
|
||||
+ [AS_HELP_STRING([--disable-Bsymbolic],
|
||||
+ [Avoid linking with -Bsymbolic])],
|
||||
+ [],
|
||||
+ [
|
||||
+ saved_LDFLAGS="${LDFLAGS}"
|
||||
+ AC_MSG_CHECKING([for -Bsymbolic-functions linker flag])
|
||||
+ LDFLAGS=-Wl,-Bsymbolic-functions
|
||||
+ AC_TRY_LINK([], [int main (void) { return 0; }],
|
||||
+ [
|
||||
+ AC_MSG_RESULT([yes])
|
||||
+ enable_Bsymbolic=yes
|
||||
+ ],
|
||||
+ [
|
||||
+ AC_MSG_RESULT([no])
|
||||
+ enable_Bsymbolic=no
|
||||
+ ])
|
||||
+ LDFLAGS="${saved_LDFLAGS}"
|
||||
+ ])
|
||||
+
|
||||
+AS_IF([test "x$enable_Bsymbolic" = "xyes"], [JSON_LINK_FLAGS=-Wl[,]-Bsymbolic-functions])
|
||||
+JSON_LT_LDFLAGS="$JSON_LT_LDFLAGS $JSON_LINK_FLAGS"
|
||||
+
|
||||
AC_SUBST(JSON_LT_LDFLAGS)
|
||||
|
||||
dnl === Dependencies ==========================================================
|
||||
--
|
||||
cgit v0.9.2
|
@ -1,3 +1,2 @@
|
||||
DIST libdnet-1.11.tar.gz 446233 SHA256 0eb78415c8f2564c2f1e8ad36e98473348d9c94852f796a226360c716cc7ca53 SHA512 62d6aee6836f8e56fa7d941866416baae71916318a94e4adc3305a4d9634596845b112a500368763c813f7da32557ca85a4942fe7d245d34069137e6516b10af WHIRLPOOL 8578631d320e5157df351d2d14f76a4d005cbd0dbd4160efd3ec4912e39a1e5efed4920bec2b8afc4edb6e2faa58274be9fd2adde1884a201a4f030342fbc93c
|
||||
DIST libdnet-1.12.ipv6-1.patch.gz 5124 SHA256 5e646901ae13d8aa47f0c5c063b86ecccb90780f9e3734cdbabf7a2d472c39ac SHA512 fa2380e41548ecdd978722930ecf90dffabd15cf06cbae0e113285072fe98a066f1e686b6d79e2d8b9f8adcf29783f313d61933b9e1e74e71da8dc7d741f815a WHIRLPOOL 27f356053749e1abdab24bd420f22e380e0970f7a2926474482a2e2532d1d8561f4b48d0eb243b5a62777543b3644adafd3cead4cc09f21d6cb5391a0b7e00f2
|
||||
DIST libdnet-1.12.tgz 970125 SHA256 83b33039787cf99990e977cef7f18a5d5e7aaffc4505548a83d31bd3515eb026 SHA512 b763d2caa77b8d16b531142a5bce3b862ed20198406a00e1fe7f3b45ce308b97d638b0c7f03bd8593fdd206cc1645952839bc340b77537298a3df88599835bf3 WHIRLPOOL 9e5b3a217bfef840ca0ed936dbc3573e51a9283a5a7d3ffd43606b98e8760586196261f34a2508cdcf9f868ccd08c9fd1d499252c9a43bb2f71a5b7b2c00c13e
|
||||
|
@ -1,20 +0,0 @@
|
||||
--- a/python/dnet.c
|
||||
+++ b/python/dnet.c
|
||||
@@ -2552,7 +2552,7 @@
|
||||
PyObject *__pyx_3 = 0;
|
||||
unsigned short __pyx_4;
|
||||
Py_INCREF(__pyx_v_self);
|
||||
- ((PyObject*)__pyx_v_next) = Py_None; Py_INCREF(((PyObject*)__pyx_v_next));
|
||||
+ __pyx_v_next = Py_None; Py_INCREF(((PyObject*)__pyx_v_next));
|
||||
|
||||
/* "/misc/projects/libdnet/python/./dnet.pyx":628 */
|
||||
__pyx_1 = (((struct __pyx_obj_4dnet___addr_ip4_iter *)__pyx_v_self)->cur <= ((struct __pyx_obj_4dnet___addr_ip4_iter *)__pyx_v_self)->max);
|
||||
@@ -2564,7 +2564,7 @@
|
||||
Py_DECREF(__pyx_2); __pyx_2 = 0;
|
||||
if (!__Pyx_TypeTest(__pyx_3, __pyx_ptype_4dnet_addr)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 629; goto __pyx_L1;}
|
||||
Py_DECREF(((PyObject *)__pyx_v_next));
|
||||
- ((PyObject *)__pyx_v_next) = __pyx_3;
|
||||
+ __pyx_v_next = __pyx_3;
|
||||
__pyx_3 = 0;
|
||||
|
||||
/* "/misc/projects/libdnet/python/./dnet.pyx":630 */
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdnet/libdnet-1.11-r2.ebuild,v 1.11 2013/05/27 11:50:10 jer Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_DEPEND="python? 2"
|
||||
inherit autotools eutils python
|
||||
|
||||
DESCRIPTION="simplified, portable interface to several low-level networking routines"
|
||||
HOMEPAGE="http://libdnet.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/libdnet/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE="python static-libs"
|
||||
|
||||
RESTRICT="test"
|
||||
DOCS=( README THANKS TODO )
|
||||
|
||||
pkg_setup() {
|
||||
if use python; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/suite_free(s);//' test/check/*.c || die
|
||||
sed -i -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' configure.in || die
|
||||
epatch "${FILESDIR}"/${PN}-1.10-gcc4.diff
|
||||
AT_M4DIR="config"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with python) $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
if ! use static-libs; then
|
||||
rm -f "${D}"/usr/lib*/*.la || die
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST rrd-1.0.5.tgz 18676 SHA256 f336a0a56963e0c6a34e335401483f84adde4c09fd6fbe8fe1a4c74596dc4eab SHA512 6e1b1d42e3cabb141052b10547f00b4c2de69518769aa661429cf59f424063ec68416a5f41f10cb4e8a9c079aa1dbc2743750db469acf35b0a37a146273f858b WHIRLPOOL 0b8727f42fcbec38b37d93291e37ab8b9660b111b627342b20de1e96ecd5fcc42073855fd4dca1aef247092054dc13193c01113ede8623e45afadebdaac9e22f
|
||||
DIST rrd-1.1.0.tgz 18639 SHA256 3c31c9e07da55a57978a1e2801051ebfcad4a35fd1664e9bea63ecdfca0fcfdb SHA512 5d6887fbe5e9f5589ab3876ecb187159b10727f4cd64d4aaaf98442c737aaa9e43394d7795b1eb06d62dc253bb98d4c40ab37520ccf54850b3306ef14225619a WHIRLPOOL 4a7fab06d295cc4f0ebe96cd5bf68b12a889bd0048619ea9ad82639cb3ad08f4a9046102a164cd9c812f6e1c709998d4366fc94f2cb88ea465eac1c1769ebf0c
|
||||
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-rrd/pecl-rrd-1.1.0.ebuild,v 1.1 2013/07/19 14:13:06 olemarkus Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_PHP="php5-4 php5-5"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="RRDtool bindings for PHP"
|
||||
LICENSE="BSD"
|
||||
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=net-analyzer/rrdtool-1.4.5-r1"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,14 +1,11 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/milksets/milksets-0.1.3.ebuild,v 1.3 2012/08/07 09:04:59 patrick Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/milksets/milksets-0.1.3-r1.ebuild,v 1.1 2013/07/20 09:17:27 idella4 Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 )
|
||||
|
||||
# python cruft
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* 2.5 2.5-jython"
|
||||
|
||||
inherit distutils
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Datasets in a common Pythonic interface to use with milk"
|
||||
HOMEPAGE="http://luispedro.org/software/milksets"
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/sepolgen-1.1.9-r3.ebuild,v 1.1 2013/07/19 20:16:05 swift Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-r1 eutils
|
||||
|
||||
DESCRIPTION="SELinux policy generation library"
|
||||
HOMEPAGE="http://userspace.selinuxproject.org"
|
||||
SRC_URI="http://userspace.selinuxproject.org/releases/20130423/${P}.tar.gz
|
||||
http://dev.gentoo.org/~swift/patches/sepolgen/patchbundle-${P}-r2.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=sys-libs/libselinux-2.0[python]
|
||||
app-admin/setools[python]
|
||||
${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_MULTI_MSG="Applying sepolgen patches ... " \
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch
|
||||
|
||||
epatch_user
|
||||
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if has_version sec-policy/selinux-base-policy; then
|
||||
invoke_sepolgen_test() {
|
||||
emake test
|
||||
}
|
||||
python_foreach_impl invoke_sepolgen_test
|
||||
else
|
||||
ewarn "Sepolgen requires sec-policy/selinux-base-policy to run tests."
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
emake DESTDIR="${D}" PYTHONLIBDIR="$(python_get_sitedir)" install
|
||||
}
|
||||
python_foreach_impl installation
|
||||
|
||||
# Create sepolgen.conf with different devel location definition
|
||||
local selinuxtype=$(awk -F'=' '/^SELINUXTYPE/ {print $2}' /etc/selinux/config);
|
||||
mkdir -p "${D}"/etc/selinux || die "Failed to create selinux directory";
|
||||
echo "SELINUX_DEVEL_PATH=/usr/share/selinux/${selinuxtype}/include" > "${D}"/etc/selinux/sepolgen.conf;
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST erubis-2.6.6.gem 163840 SHA256 75773bf89a65c3941560d91191ccfd3e69a2c9251b8610375ae18cf58912cda7 SHA512 be825b3b22aabc6c4e7f6dabd28c6f501300729c22a0b1959e60df47405005fa636e0649eb5ac17b7b2f01e327af027368998edcef5d18f5fbae00ff8b84694a WHIRLPOOL 29dcdd4396d99121c9d6137e4c66e69c18f7b4dbb2966ca4d653dbf7955db33384ab5e48d04f385309a957a1366c6f210b4a390ad5f635c4152e9469161530d0
|
||||
DIST erubis-2.7.0.gem 173056 SHA256 63653f5174a7997f6f1d6f465fbe1494dcc4bdab1fb8e635f6216989fb1148ba SHA512 49b08b28656acaf3b0c88fe064bb0d5f79fd08b834d7eba9294217b0893c5a0244ac5dd54de0e52dd17e828a0110e54b29e8c2d75171d527da957917344a0f27 WHIRLPOOL f58bbb85bcd4182eb0301ead30138b948322015df6853e2ca2ea272dfda20c980108b032f29d1304e2bb17dd4b0ee22fb69e57f374588fac2428d5ea4df4dfff
|
||||
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/erubis/erubis-2.6.6-r1.ebuild,v 1.3 2013/01/15 06:50:09 zerochaos Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
USE_RUBY="ruby18 ree18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.txt"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Erubis is an implementation of eRuby"
|
||||
HOMEPAGE="http://www.kuwata-lab.com/erubis/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
|
||||
ruby_add_rdepend ">=dev-ruby/abstract-1.0.0"
|
||||
|
||||
each_ruby_prepare() {
|
||||
# Fix case so that the associated test will work. Reported as http://rubyforge.org/tracker/index.php?func=detail&aid=27330&group_id=1320&atid=5201
|
||||
mv test/data/users-guide/Example.ejava test/data/users-guide/example.ejava || die
|
||||
|
||||
# jruby seems to have a different ordering of variables.
|
||||
# http://rubyforge.org/tracker/?func=detail&aid=28555&group_id=1320&atid=5201
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
sed -i -e 's/"x", "_buf"/"_buf", "x"/' test/data/users-guide/main_program2.result
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} test/test.rb || die
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST flexmock-1.2.0.gem 142848 SHA256 5dd13b50ae71704b19cbfa68835f76dc6ed9b3e39e355a0e297cdcabf224bb0c SHA512 6bc2b7eb6017f48274268d3926395d947de9a8c261d28b636f200ec1af24449dccdb168cc54377a4dee895eff9fd12043b975f5e1a2f29b30bfc94f9b24efe89 WHIRLPOOL 221887968d9f63d83f9e9c55323a92b93891ce16fad97622092b32edccd9c62aaf3eff243fc075cd5788cbf6988f24c09192f71422fbe14fed999651d8a863d7
|
||||
DIST flexmock-1.3.1.gem 96768 SHA256 029a89ff57fcdd6b4691c10e1c4f8a6507c955df53df5cbf4b03723f1bda4404 SHA512 07f5254a4a66efc5dde2416c50ef419748bd4968abe731bf7fece8f678dc5a8b67715c6717d1ec008ca3ded672922ccedff21f6ae5215736981426867012de0c WHIRLPOOL 7a5e35d44757ead68c5b8d05533cda4e40df5ad22d09544c737b9e132e648ccc9f4498e81f6755e021d4bce35c08e02b7c80ef53359fa334db473a0dde905645
|
||||
DIST flexmock-1.3.2.gem 96256 SHA256 01d7c35bd5fab02604e91ee1049182bc8b6ebd3544f710f7283759d05ac71f35 SHA512 d0eb13a60c9a74b67f17a7a35bae8c8d8b5e2d0bca0a257a4d512fbece88b9b9e0e7c3ebfa5500d320988863ede1ff2af4ce8b2903fe774bf358764f3d43b6dc WHIRLPOOL c5b92bc733ac557585cf2dccc9221c0619876733a8b264d99d714d3ea09b3497b336d1c899cf8bd33ecf41cdb95b90167095b035d85e219d7435679ab6a8e5e2
|
||||
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/flexmock-1.2.0-r1.ebuild,v 1.1 2013/02/02 15:47:43 flameeyes Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 jruby ree18"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="html"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGES README.rdoc doc/*.rdoc doc/releases/*"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="none"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="none"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Simple mock object library for Ruby unit testing"
|
||||
HOMEPAGE="http://${PN}.rubyforge.org/"
|
||||
|
||||
LICENSE="flexmock"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/test-unit:2
|
||||
dev-ruby/rspec:2
|
||||
)"
|
||||
|
||||
each_ruby_test() {
|
||||
ruby-ng_rspec test/rspec_integration
|
||||
ruby-ng_testrb-2 -Ilib:. test/*_test.rb
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/flexmock-1.2.0.ebuild,v 1.3 2013/01/19 10:05:43 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 jruby ree18"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="html"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGES README.rdoc doc/*.rdoc doc/releases/*"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Simple mock object library for Ruby unit testing"
|
||||
HOMEPAGE="http://${PN}.rubyforge.org/"
|
||||
|
||||
LICENSE="flexmock"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/rspec:2 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Custom template not found in package
|
||||
sed -i -e '/jamis/d' Rakefile || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -S testrb -Ilib:. test/*_test.rb || die
|
||||
${RUBY} -S rspec test/rspec_integration || die
|
||||
}
|
@ -1,93 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/i18n/i18n-0.6.0-r1.ebuild,v 1.7 2013/01/16 01:08:23 zerochaos Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 jruby ree18 ruby19"
|
||||
|
||||
# doc regeneration seem to need Jeweler, which is not currently
|
||||
# available
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.textile CHANGELOG.textile"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Add Internationalization support to your Ruby application."
|
||||
HOMEPAGE="http://rails-i18n.org/"
|
||||
|
||||
SRC_URI="http://github.com/svenfuchs/${PN}/tarball/v${PV} -> ${PN}-git-${PV}.tgz"
|
||||
RUBY_S="svenfuchs-${PN}-*"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# The testsuite uses the activerecord gem to run some tests; they
|
||||
# require sqlite3-ruby, and that is not available on JRuby.
|
||||
#USE_RUBY="${USE_RUBY/jruby/}" \
|
||||
# ruby_add_bdepend "
|
||||
# test? (
|
||||
# dev-ruby/activerecord
|
||||
# dev-ruby/sqlite3
|
||||
# dev-ruby/ruby2ruby
|
||||
# )"
|
||||
|
||||
# mocha is optionally used by the testsuite, try to increase coverage
|
||||
# of testing by depending on it.
|
||||
#
|
||||
# One further test dependency would be ruby-cldr
|
||||
# (http://rubygems.org/gems/ruby-cldr) but we don't have it in tree
|
||||
# yet.
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/mocha
|
||||
dev-ruby/test_declarative
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/bundler/ s:^:#:' test/test_helper.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*ruby19)
|
||||
# Remove tests that require a UTF-8 locale.
|
||||
rm test/gettext/backend_test.rb || die
|
||||
|
||||
# Remove tests that contains a 1.9.3-specific failure.
|
||||
# https://github.com/svenfuchs/i18n/issues/114
|
||||
rm test/i18n/load_path_test.rb || die
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# permissions need to be stricter for Ruby-Inline to work properly.
|
||||
chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
|
||||
ruby-ng_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# permissions need to be stricter for Ruby-Inline to work properly.
|
||||
chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
|
||||
ruby-ng_src_test
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# Make sure the optional activerecord tests are not run for jruby
|
||||
# because we don't ship a compatible sqlite3
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
;;
|
||||
*)
|
||||
each_fakegem_test
|
||||
esac
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/i18n/i18n-0.6.1.ebuild,v 1.2 2013/01/16 01:08:23 zerochaos Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 jruby ree18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="test"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.textile README.textile"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Add Internationalization support to your Ruby application."
|
||||
HOMEPAGE="http://rails-i18n.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0.6"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/activesupport dev-ruby/mocha dev-ruby/test_declarative )"
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -w -Ilib -Itest test/all.rb
|
||||
}
|
||||
|
||||
all_ruby_prepare() {
|
||||
#Bundler isn't really necessary here, and it doesn't work with jruby
|
||||
sed -i -e "15s/require 'bundler\/setup'//" test/test_helper.rb || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST rack-test-0.6.1.gem 21504 SHA256 40731078f570c61d5fc5a57ddc3526ac08f083a0601e99ffd7672d281dc20543 SHA512 96348fc9a42c4f974038a3d7634030096bcb93faa27b8e1ad941f3b86aad71aefd77f68f6611b732a01786b33f90d30218eeb2cdae36bc07ac92c76077397224 WHIRLPOOL be2e4367c0e669c255c406e3b5c3f6ac1abf0dc81b468fb21b0d890ac0bec7f8c5af07f4e9f470fb6d82f6cff65e1587c2f037a80d68f88cffb9866fffa65c71
|
||||
DIST rack-test-0.6.2.gem 22528 SHA256 7e920b6aac888e4a3846e5997fb1cbf456bdb5846322b58dc31697a54a38b306 SHA512 9c14d75eafea93afb02c4e8fc438f7c653cfe816058560a458a092591214a7fd185b2d76eed7b398e16d72f763e8c7ae0a869c3a29df075102845074568d8ef0 WHIRLPOOL b29abfc46a091aa4ded7bcdc2c68c79720aa42889246bb4df0b52bedf5415ee72f09592bf9af41477544ce34d452e4a7b3c56d9431879a99b58cda7729622865
|
||||
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-test/rack-test-0.6.1.ebuild,v 1.7 2013/01/16 01:03:21 zerochaos Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
# no documentation is generable, it needs hanna, which is broken
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
|
||||
|
||||
inherit versionator ruby-fakegem
|
||||
|
||||
DESCRIPTION="Rack::Test is a small, simple testing API for Rack apps."
|
||||
HOMEPAGE="http://github.com/brynary/rack-test"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend '>=dev-ruby/rack-1.0'
|
||||
ruby_add_bdepend "
|
||||
test? ( >=dev-ruby/sinatra-1.2.6 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm Gemfile* || die
|
||||
sed -i -e '/bundler/d' spec/spec_helper.rb || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST rb-inotify-0.8.8.gem 13312 SHA256 92e0ca792cbf403acb3e51ab15d1f937e9a1adb6e98a05f878ec9387eed423e1 SHA512 2f763d86af92e622f9876d4f31f816f3fa86a81ad3e6c1e2e2641617649eb5e0a2b3c6e0ca005f54afe8519f7c48f424d251a4acf05987a1702a04baf8c5218c WHIRLPOOL 127e9c8a5648a8e4f91a028baf982f20ce7401fca3a8039e4726a4cc4daecb287261130945187193e2c808640d906d9bd7da20d7b2289bb415f9d31bef8f8b2d
|
||||
DIST rb-inotify-0.9.0.gem 13312 SHA256 3fc925989db3e897e5e0aa9ef89ff511e8485f21cd7a90c2b4f390fcfc581623 SHA512 83d10102e9c3e55a5387f92bf1926ca26da99a3321dff0123f33ac38eb0dfa3fc416ec37abc3ed53ee1a201655a447a8c8e066859b344967c1c09370311c1abe WHIRLPOOL 6f09acb5e6a537854b23d5e6c046ba73a21b940a03bc91d5a2ccff860152e20c3ee8287326254895ab96dece2965c28a906eccd9e5a9d09988e3ecb34d1fc3e2
|
||||
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rb-inotify/rb-inotify-0.8.8.ebuild,v 1.9 2013/01/15 06:43:08 zerochaos Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="yard"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="VERSION"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="rb-inotify.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A thorough inotify wrapper for Ruby using FFI."
|
||||
HOMEPAGE="https://github.com/nex3/rb-inotify"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x64-macos"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "virtual/ruby-ffi"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/yard )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid unneeded dependency on jeweler.
|
||||
sed -i -e '/:build/ s:^:#:' -e '/module Jeweler/,/^end/ s:^:#:' -e '/class Jeweler/,/^end/ s:^:#:' Rakefile || die
|
||||
|
||||
# Remove mandatory markup processor from yard options, bug 436112.
|
||||
sed -i -e '/maruku/d' .yardopts || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
# jruby has a native implementation and should not list ffi
|
||||
# in the gemspec.
|
||||
sed -i -e '/ffi/d' rb-inotify.gemspec || die
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST cairo-1.10.2.gem 85504 SHA256 f5e4574155d29f2f31eec9adcc1ed39c70c82b55df4cc6596e7b6cc637f80af2 SHA512 0bcfefacc620f439570d0d88eaf8609109c280af4066f1a2bd2bdaba1dc55340747e23fdec3b58bcb7423229d034f3af95f3fcb3a5ed9be841fa6b3c60f14111 WHIRLPOOL 24397993793c6ea8cef2b6b2089619e63b50d25680bd338aa07032c504defa4f6e7c5250f40a38aae28c3e717344f733cd243c1776d634c0fdba9c4b1346d528
|
||||
DIST cairo-1.12.3.gem 92672 SHA256 05bdb2ec7aa2c8d1c3c0f22e8f2076ac0773ade9f2ced5f36b6f69c313f86a9c SHA512 a1229a97a460bd0635ee87ffdaf308573e0919d0bea38af4695b93c25b6cdb41544409113b20ad6f0565027d6ded78c8850ef4c86ff93d4e6df2573e1b49de1a WHIRLPOOL e43d30bdba5867cfb5ee75af9c7d21bec015589ecc5d074cb1465ce2fa4c5ab53938c85f4d59804fbc9ea33b0d276892339f91040b0f05eb85279f51c37f3333
|
||||
DIST cairo-1.12.4.gem 91648 SHA256 dfee48624c414cb40b16cff977480b3c0e7a244436c50f4f6f67cf8d1920c824 SHA512 2ecdf4f76b6bc5d7df34781510df3dbf7280eb51b590f725c83a47daf2cca1cdbb75482151da8092fa4a53f0ba5951cc6bcba0cef5b3d2adde5b23695ffda218 WHIRLPOOL 0ff836a9271827845d6bbe047b805c21659cb42001d920e8e355ca34883a0c0e6eaa5dca8e2d0d0692cfc17b3bd7b4b22e05af0f8620c1df6c4ac02b3442aeb7
|
||||
DIST cairo-1.12.6.gem 94720 SHA256 a3eb6b3015e69748505c831bb200f177b7e8bef0113ee687f71d0bc52bf08bfd SHA512 1afd87d7ae34006b7079a87b5c1203974abe43a40aa72b1ccdc22bbd42428f2ff5314f66a6964ce92f7dfe27a816213996f8beb37dbd9155ded664c67487d585 WHIRLPOOL 8acac792335b13fdbab8a2f493e3ac689804db5ba70082b345a506e5559e703b866ab0d27e8d1df833fdc3efc06365f09feaf42300813835a4fa0cae3d7e8677
|
||||
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.12.6.ebuild,v 1.1 2013/07/20 06:06:08 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# jruby → cannot work, it's a compiled extension
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_NAME="cairo"
|
||||
|
||||
# Documentation depends on files that are not distributed.
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="AUTHORS NEWS"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby bindings for cairo"
|
||||
HOMEPAGE="http://cairographics.org/rcairo/"
|
||||
|
||||
IUSE=""
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Ruby GPL-2 )"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
>=x11-libs/cairo-1.2.0[svg]"
|
||||
DEPEND="${DEPEND}
|
||||
>=x11-libs/cairo-1.2.0[svg]"
|
||||
|
||||
ruby_add_bdepend "
|
||||
dev-ruby/pkg-config
|
||||
dev-ruby/ruby-glib2
|
||||
test? ( >=dev-ruby/test-unit-2.1.0-r1:2 )"
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext/cairo extconf.rb || die "extconf failed"
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake V=1 -Cext/cairo || die "make failed"
|
||||
|
||||
# again, try to make it more standard, to install it more easily.
|
||||
cp ext/cairo/cairo$(get_modname) lib/ || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# don't rely on the Rakefile because it's a mess to load with
|
||||
# their hierarchy, do it manually.
|
||||
${RUBY} -Ilib -r ./test/cairo-test-utils.rb \
|
||||
-e 'gem "test-unit"; require "test/unit"; Dir.glob("test/**/test_*.rb") {|f| load f}' || die "tests failed"
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
|
||||
insinto $(ruby_get_hdrdir)
|
||||
doins ext/cairo/rb_cairo.h || die "Cannot install header file."
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
insinto /usr/share/doc/${PF}/samples
|
||||
doins -r samples/* || die "Cannot install sample files."
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST rspec-core-2.12.2-git.tgz 169377 SHA256 ce19262c407725ad5ea894710536e576344575ed074f4be3905f8663cd03713b SHA512 fddb456e010a8713a9e04eba4f7133498fc01ea99fd3ba66dde485f6f2e2fa56c056d8a1d0b7aee80cccc8e45a4e90f3ce2ee9f554ad9330071917293b607756 WHIRLPOOL 8cf1e8536ed8449b2f8b5c607a88688405b25489adf7a3ea9773e8b61f08b8ec20cf32f85821aadb102ff371ec4cde35f643a97fdbaff77c22ad2fe3d718686e
|
||||
DIST rspec-core-2.13.0-git.tgz 185824 SHA256 65fc5b311d2c36424f709fa1ed1f1051e3b06bf6285685a73c9ab18e04341555 SHA512 03473942e12c8352ba0cd4d6d21483dd029f5661dc8bccdc938914556e7cdb2a00cf9183f86221500ea7275e32994e27dd257a66968bb5121d75e404b4ce9275 WHIRLPOOL 1618650e2978a8df22889782c24efb1b95b61f4fa385a998e3719238a73132372dc6ab6c7dcf386ce48c96ef2d689d8a3293f97e3d0f85757beb6d6847973475
|
||||
DIST rspec-core-2.13.1-git.tgz 188045 SHA256 a997b00f0b5f69229f4bc86a2a06f9c6447d68fe8a8377742174a0216b2f1a36 SHA512 8335092dc586094335050069b37c459872536d734765f12827c258df9cbd018411088f6e066085a9a742f31f95a9dd71b7c9fd7ab485b63e564d49cd658aa9de WHIRLPOOL 788d85fc3f7d2a6db1ce552a29b3419323de4eaa0fb7714c8280ac76bebf808af16edce9dcd1b71000e82ccdde5cf1780df1c946edd2222802258531aad63759
|
||||
DIST rspec-core-2.6.4.gem 122368 SHA256 9d41146ee85fc8177d54331d72dfcd9ea71df41ed5d62bdbc1a027be496d903c SHA512 c9990ec808cec9a76d609cb4301f78e1713ed22fb7f44d4e09f9f03b6a3a644462b4b3afa520037dcf2b960be52b405ddabb0ae5028d5d910045f4eaff93a91a WHIRLPOOL 773365483a7e0164061983983af4f6a8faee4a52d0d5125fe887a0a2f67e4891692ef0670baa5ce7b7e0624a69efa68fb9e4f564e1d4d89e6727fa940c0b750f
|
||||
DIST rspec-core-2.14.3-git.tgz 191051 SHA256 3a412f39a304591952473b899e54f0af77bbe01b75c08d69547ab0adbce6afd0 SHA512 8ea43b0f089ed1381da66ddd08ae5b863eeb76994920f527d38c32a76b4c07a1e9f02476b489f3ec5b3b1a1ae7885589311fa9f4aa38bb5a8511518fdf88be0e WHIRLPOOL 6b39d34cdc6f9560420af8317893803543fd43b3cd0b971306a698cb7e95a248515c1d98aa74a23640ef3d41e1c03d3206c9ed2b47018b759b4c8ec14536393c
|
||||
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-core/rspec-core-2.14.3.ebuild,v 1.1 2013/07/20 06:45:56 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="none"
|
||||
RUBY_FAKEGEM_TASK_DOC="none"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
|
||||
|
||||
# Also install this custom path since internal paths depend on it.
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="exe"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="rspec-core.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
||||
HOMEPAGE="http://rspec.rubyforge.org/"
|
||||
SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/nokogiri-1.5.2
|
||||
dev-ruby/syntax
|
||||
>=dev-ruby/zentest-4.6.2
|
||||
>=dev-ruby/rspec-expectations-2.14.0:2
|
||||
>=dev-ruby/rspec-mocks-2.12.0:2
|
||||
)"
|
||||
ruby_add_bdepend "doc? ( dev-ruby/yard )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Don't set up bundler: it doesn't understand our setup.
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
|
||||
# Avoid dependency on cucumber since we can't run the features anyway.
|
||||
sed -i -e '/[Cc]ucumber/ s:^:#:' Rakefile || die
|
||||
|
||||
# Remove jruby-specific comparison documents since for us the normal
|
||||
# version passes.
|
||||
cp spec/rspec/core/formatters/text_mate_formatted-1.8.7.html spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html|| die
|
||||
|
||||
# Duplicate exe also in bin. We can't change it since internal stuff
|
||||
# also depends on this and fixing that is going to be fragile. This
|
||||
# way we can at least install proper bin scripts.
|
||||
cp -R exe bin || die
|
||||
|
||||
# Avoid unneeded dependency on git.
|
||||
sed -i -e '/git ls-files/ s:^:#:' rspec-core.gemspec || die
|
||||
|
||||
# Avoid aruba dependency so that we don't end up in dependency hell.
|
||||
sed -i -e '/aruba/ s:^:#:' -e '104,106 s:^:#:' spec/spec_helper.rb || die
|
||||
rm spec/command_line/order_spec.rb || die
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
if use doc ; then
|
||||
yardoc || die
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -Ilib bin/rspec spec || die "Tests failed."
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-core/rspec-core-2.6.4-r1.ebuild,v 1.11 2013/01/15 05:52:14 zerochaos Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18 ree18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="none"
|
||||
RUBY_FAKEGEM_TASK_DOC="none"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
||||
HOMEPAGE="http://rspec.rubyforge.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${RDEPEND} !<dev-ruby/rspec-1.3.1-r1"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/nokogiri
|
||||
dev-ruby/syntax
|
||||
>=dev-ruby/zentest-4.4.1
|
||||
dev-ruby/rspec-expectations:2
|
||||
dev-ruby/rspec-mocks:2
|
||||
)"
|
||||
|
||||
# >=dev-ruby/cucumber-0.5.3
|
||||
# >=dev-ruby/autotest-4.2.9 -> zentest-4.4.1
|
||||
# dev-ruby/aruba"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Don't set up bundler: it doesn't understand our setup.
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
|
||||
# Remove the Gemfile to avoid running through 'bundle exec'
|
||||
rm Gemfile || die
|
||||
|
||||
# Also clean the /usr/lib/rubyee path (which is our own invention).
|
||||
sed -i -e 's#lib\\d\*\\/ruby\\/#lib\\d*\\/ruby(ee|)\\/#' lib/rspec/core/configuration.rb || die
|
||||
|
||||
# Remove jruby-specific comparison documents since for us the normal
|
||||
# version passes.
|
||||
cp spec/rspec/core/formatters/html_formatted-1.8.7.html spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html|| die
|
||||
cp spec/rspec/core/formatters/text_mate_formatted-1.8.7.html spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html|| die
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
if use doc ; then
|
||||
RUBYLIB="${S}/lib" rake rdoc || die "Unable to create documentation."
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
# Run jruby's tests with the installed rspec script since
|
||||
# otherwise files can't be found for some unknown reason.
|
||||
RUBYLIB=${S}/lib ${RUBY} -S rspec --color spec || die "Tests failed."
|
||||
;;
|
||||
*)
|
||||
PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -S rake spec || die "Tests failed."
|
||||
;;
|
||||
esac
|
||||
|
||||
# There are features but it seems as if these only work against a
|
||||
# fully installed version.
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST rspec-expectations-2.12.1-git.tgz 82402 SHA256 6166e27de969815085832f56d253521bd1266b762134bc791727d7638a89e38b SHA512 2183f70e8fe885878121b6070fede90458e4dd628d9b7531ee7f2b8ce5ce9f3b35ea219ed96ebd63be6f430fb03c8049a8d11b8666ddfa6961d8e5067e5b0fcb WHIRLPOOL 5191c6dd4623f54412d7443321614bf84c583e2e0048344378dbe7aa49d9ea5b2f6a5f8b39e473af48899d6325c0b867734acc16e6478ee9192641368332c48a
|
||||
DIST rspec-expectations-2.13.0-git.tgz 86856 SHA256 52f2aeb70289c21c7b8755c914a31b5cdd7c465bd9828730ac6889eecdb28f01 SHA512 0400797e0ced2d6ce8adddcba049e4f94fe3ec0da027869c86204dd3794738d59fe8594ee8e12fc733d39ba99820346798f37272c1a5eafa87d302c4e6ca0947 WHIRLPOOL 5379cb91cd4deb8786abafdc462a84644656d317f6c805f6a1494e6d2f95173778b877fcc803fe99ff590124724d29eaec39c8c66f3b246e653686aae28f9e76
|
||||
DIST rspec-expectations-2.6.0.gem 61952 SHA256 8db3e4e34d163fc6d17ded378380ed2dd2495a9565869c4ef02b8de6434c5db1 SHA512 f2538deac0d6048511d1603513370b5f10452d27ce69f5dde0e43605bb894ce581ed965c1304efd6785bf25d10a872a47896e900c2b4ba73ee763adb324ab066 WHIRLPOOL 86c759d6d309dbc4fe9400a62f3259e99c62b8293e69ae0f0c59ad65a6fc823b9ab23bef2a8596b8b849dcfd848187276663c602e27e10c364135b62f86f5a3d
|
||||
DIST rspec-expectations-2.14.0-git.tgz 90721 SHA256 e421d5c1127228de399918c465e397242beada06714b62fabacdfd63f13c1971 SHA512 d8db111e838f3a8aa758f697bcafb1f4213dedb75a9207d38a585e3e78ff5cbd87ac2f76c2253212b5d0d3fe9276cfbdd4f5f2dacdc6c265937bc951f45de30a WHIRLPOOL 18f54f7a54beef47c91017d3adac830531c5984d90af898b4c2f8b0f5ecaf11cbd57e50a972031464010a302e5602a51537b1b086f48a5bc3ef6b89270708ce5
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-expectations/rspec-expectations-2.14.0.ebuild,v 1.1 2013/07/20 06:45:21 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
||||
HOMEPAGE="http://rspec.rubyforge.org/"
|
||||
SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/diff-lcs-1.1.3"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/rspec-core-2.11.0:2
|
||||
>=dev-ruby/rspec-mocks-2.14.0:2
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Don't set up bundler: it doesn't understand our setup.
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
|
||||
# Remove the Gemfile to avoid running through 'bundle exec'
|
||||
rm Gemfile || die
|
||||
|
||||
# Remove .rspec options to avoid dependency on newer rspec when
|
||||
# bootstrapping.
|
||||
rm .rspec || die
|
||||
|
||||
# fix up the gemspecs
|
||||
sed -i \
|
||||
-e '/git ls/d' \
|
||||
-e '/add_development_dependency/d' \
|
||||
"${RUBY_FAKEGEM_GEMSPEC}" || die
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-expectations/rspec-expectations-2.6.0-r1.ebuild,v 1.12 2013/01/15 05:40:07 zerochaos Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18 ree18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="none"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
||||
HOMEPAGE="http://rspec.rubyforge.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/diff-lcs-1.1.2"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/rspec-core-2.4.0:2
|
||||
dev-ruby/rspec-mocks:2
|
||||
)"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/rspec-core:2 )"
|
||||
|
||||
# Not clear yet to what extend we need those (now)
|
||||
# >=dev-ruby/cucumber-0.6.2
|
||||
# >=dev-ruby/aruba-0.1.1"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Don't set up bundler: it doesn't understand our setup.
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
|
||||
# Remove the Gemfile to avoid running through 'bundle exec'
|
||||
rm Gemfile || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -S rake spec
|
||||
|
||||
# There are features but they require aruba which we don't have yet.
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-mocks/rspec-mocks-2.14.1.ebuild,v 1.1 2013/07/20 06:44:51 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="none"
|
||||
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
||||
HOMEPAGE="http://rspec.rubyforge.org/"
|
||||
SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/rspec-core-2.10.0:2
|
||||
dev-ruby/rspec-expectations:2
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Don't set up bundler: it doesn't understand our setup.
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
|
||||
# Remove the Gemfile to avoid running through 'bundle exec'
|
||||
rm Gemfile || die
|
||||
|
||||
# Remove .rspec options to avoid dependency on newer rspec when
|
||||
# bootstrapping.
|
||||
rm .rspec || die
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-mocks/rspec-mocks-2.6.0-r1.ebuild,v 1.11 2013/01/15 05:43:28 zerochaos Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18 ree18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="none"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="none"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
||||
HOMEPAGE="http://rspec.rubyforge.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
# cucumber and rspec-core are loaded unconditionally in the Rakefile,
|
||||
# so we also need to require them for USE=doc.
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/rspec-core-2.6.0:2
|
||||
dev-ruby/rspec-expectations:2
|
||||
)
|
||||
doc? ( dev-ruby/rspec-core:2 )"
|
||||
|
||||
# Not clear yet to what extend we need those (now)
|
||||
# >=dev-ruby/cucumber-0.6.2
|
||||
# >=dev-ruby/aruba-0.1.1"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Don't set up bundler: it doesn't understand our setup.
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
|
||||
# Remove the Gemfile to avoid running through 'bundle exec'
|
||||
rm Gemfile || die
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
if use doc ; then
|
||||
RUBYLIB="${S}/lib" rake rdoc || die
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
# This particular failure is reported to be fixed in jruby 1.6.
|
||||
ewarn "Tests disabled because they crash jruby."
|
||||
;;
|
||||
*)
|
||||
PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -S rake spec || die
|
||||
;;
|
||||
esac
|
||||
|
||||
# There are features but they require aruba which we don't have yet.
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-rails/rspec-rails-2.14.0.ebuild,v 1.2 2013/07/20 12:22:21 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="RSpec's official Ruby on Rails plugin"
|
||||
HOMEPAGE="http://rspec.info/"
|
||||
SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
SUBVERSION="$(get_version_component_range 1-2)"
|
||||
|
||||
ruby_add_rdepend "=dev-ruby/activesupport-3*
|
||||
=dev-ruby/actionpack-3*
|
||||
=dev-ruby/railties-3*
|
||||
=dev-ruby/rspec-${SUBVERSION}*"
|
||||
|
||||
# Depend on the package being already installed for tests, because
|
||||
# requiring ammeter will load it, and we need a consistent set of rspec
|
||||
# and rspec-rails for that to work.
|
||||
ruby_add_bdepend "test? ( =dev-ruby/mocha-0.10* >=dev-ruby/ammeter-0.2.5 ~dev-ruby/rspec-rails-${PV} )"
|
||||
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove .rspec options to avoid dependency on newer rspec when
|
||||
# bootstrapping.
|
||||
rm .rspec || die
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-rails/rspec-rails-2.6.1-r1.ebuild,v 1.2 2012/05/17 10:50:48 tomka Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="History.md README.md Upgrade.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="templates"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="RSpec's official Ruby on Rails plugin"
|
||||
HOMEPAGE="http://rspec.info/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "=dev-ruby/activesupport-3*
|
||||
=dev-ruby/actionpack-3*
|
||||
=dev-ruby/railties-3*
|
||||
dev-ruby/rspec:2"
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -S rspec spec || die "Tests failed."
|
||||
|
||||
# There are also features but they require aruba which we don't have
|
||||
# yet and it requires local install of various rails versions.
|
||||
}
|
@ -1,5 +1,2 @@
|
||||
DIST sass-3.1.21.gem 233472 SHA256 08502fc7889187909d66098629a89a9901d4dce13626339f4976c1e8d16b4a57 SHA512 fed0700147bd8adc90927a16ae2b5a3256392fa6d969c4281ea0189d728e2f0818f5b88b60aea5b59288730e3897bdf58a83ed72b48d4a538d14d16c85234062 WHIRLPOOL 57e59efa57af97c26a80cd83c4d0fe9eda8d30f664e73eab01400fa5c7171a16d0ed6400ebc8680dc78885e961b78a7252d4ea0dbe5d94209f6cca70a6896cb2
|
||||
DIST sass-3.2.5.gem 252416 SHA256 d3e8adc2f528d62e5c5b067b9792f4faa3a875fe484cef13a82d18de94bb47fb SHA512 38663fcad7e565cd45518f5c59a82153010652d2d967b20da4b2cf3346523aab4e95fcd2600105e493d6ddd07f5497f72b5657ae8588613788144ac2e3c3d57c WHIRLPOOL 5d654548c231e780130054c88b29cb3dfa1d6a6c464614bcf9efee51024ae8eedc99d994a68e320bdea8dfc3f9b3f784f038e15f0092da0855d88dfef0543321
|
||||
DIST sass-3.2.6.gem 258560 SHA256 48e0fb77ae1dd661913fe9dafdb94438ebb6ae7260481610ca298d61cc34be83 SHA512 5b5c5d63ee7dc2ab30a479e16d707f077074636a8daf10d95bc0993953ed256c40d798f40b149dd16003441413e8bfbefffc12c6feee163551827444efb38452 WHIRLPOOL 47ac7599c6f10c6ed66b2183e696420991d79b2c68a3f6977dd742c7d04f0ac260286b0d6a24bbd8992aac1b6669753ee3d359a76343778bece1426997e5cb84
|
||||
DIST sass-3.2.7.gem 258048 SHA256 9a20f09b4e4ca544aa3d2a341bfb63c351f6748bbb8cb82899949218e0238930 SHA512 70b02339dcce68019aedafd0754869d4f4bbdbc2c2dc2bbd7c76331044077b1773f7ca39dfb1b8a0e6f17ef32fd0859433c17722a5c6db742c337af9c206ae80 WHIRLPOOL ed42f852c806615dee926c02e82f0d071b9424ffb47d6e0173b7e2222b217e2ce9eb1cf333623fd7b7a8c8d565d71070e40c455a4b13a5ad6edb67830c147f61
|
||||
DIST sass-3.2.9.gem 259584 SHA256 f88433638d8dcf31366e55451087e04fb1aecc29c554f240647baba8495c9b22 SHA512 1f018e5276a6d9c03d943b6f2130957a802f31c2079566a9990298b7010121ae623f7183bd3ccdafdeb3fdf1b9338081823098c6f8c0abc734ffb5b5f139f806 WHIRLPOOL be91597cf78679e9758053a442156ca0231e0583c52bb0c18c7c81374724537a3e730874fa581bd76050c11b96b09cff92076208cd3e35937ae1d3c16ed4f8d7
|
||||
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sass/sass-3.2.5.ebuild,v 1.2 2013/01/15 06:47:25 zerochaos Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="rails init.rb VERSION VERSION_NAME"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="An extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more."
|
||||
HOMEPAGE="http://sass-lang.com/"
|
||||
LICENSE="MIT"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "doc? ( >=dev-ruby/yard-0.5.3 >=dev-ruby/maruku-0.5.9 )"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/listen-0.4.2 !!<dev-ruby/haml-3.1"
|
||||
|
||||
# tests could use `less` if we had it
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm -rf vendor/listen
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
# Test fails on jruby for us, upstream can't
|
||||
# reproduce. Avoiding it since it only affects debug
|
||||
# information in the CSS file.
|
||||
# https://github.com/nex3/sass/issues/563
|
||||
sed -i -e '24s/filename_fn//' test/sass/plugin_test.rb || die
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sass/sass-3.2.6.ebuild,v 1.1 2013/02/24 13:35:09 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="rails init.rb VERSION VERSION_NAME"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="An extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more."
|
||||
HOMEPAGE="http://sass-lang.com/"
|
||||
LICENSE="MIT"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "doc? ( >=dev-ruby/yard-0.5.3 >=dev-ruby/maruku-0.5.9 )"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/listen-0.7.2 !!<dev-ruby/haml-3.1"
|
||||
|
||||
# tests could use `less` if we had it
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm -rf vendor/listen
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
# Test fails on jruby for us, upstream can't
|
||||
# reproduce. Avoiding it since it only affects debug
|
||||
# information in the CSS file.
|
||||
# https://github.com/nex3/sass/issues/563
|
||||
sed -i -e '24s/filename_fn//' test/sass/plugin_test.rb || die
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sass/sass-3.2.7.ebuild,v 1.1 2013/04/18 06:16:13 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="rails init.rb VERSION VERSION_NAME"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="An extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more."
|
||||
HOMEPAGE="http://sass-lang.com/"
|
||||
LICENSE="MIT"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "doc? ( >=dev-ruby/yard-0.5.3 )"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/listen-0.7.2 !!<dev-ruby/haml-3.1"
|
||||
|
||||
# tests could use `less` if we had it
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm -rf vendor/listen
|
||||
|
||||
# Don't require maruku as markdown provider but let yard decide.
|
||||
sed -i -e '/maruku/d' .yardopts || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
# Test fails on jruby for us, upstream can't
|
||||
# reproduce. Avoiding it since it only affects debug
|
||||
# information in the CSS file.
|
||||
# https://github.com/nex3/sass/issues/563
|
||||
sed -i -e '24s/filename_fn//' test/sass/plugin_test.rb || die
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST d-feet-0.1.15.tar.xz 98296 SHA256 1250d353ded2c2635fb97d26a7fb9e68aba0f851a7f2d5608de651fa14f8eb0a SHA512 2b13ad674d6899c95081af9a0dd00766aa7dc3266204f850f1c4e256a9afe0c29b6bd1b3063c110b2308b8185d3a80dc046fc06412300778020a4c0da1a7d339 WHIRLPOOL 2502b5a381a7730473aee6cd9d9930eea71c8c90fda5b3efd2c64d573708dfc146c42029b08a1b14bbebb82d1969bff4941e1dd917510b2227923cdc17581d0d
|
||||
DIST d-feet-0.3.3.tar.xz 94844 SHA256 db8186a4809a058f77ef9782a78cb369f67026529d4338e928e013d096f5d068 SHA512 72000e02d2c98c2075c68c91b6c41e1c0dbe7cd46099bdd09f5c2ed487a603e1a3ee78bbbcac372b9fd4e2ab21c765fcad7dad118f02956bf4fab0bb52afbc38 WHIRLPOOL 576defeca70f87f710a7037a3874e70e4af88a2b30429281e9c55bf1087f9cb31cc1f2cdac92a3c390ace9b8d649d06bca73dff2d4a933dc184fb7590ded4a57
|
||||
DIST d-feet-0.3.5.tar.xz 215272 SHA256 7100c62d2ba6205fb2a040e0b2efe8cc7f7ca54e5a14e1e410d070a72544ab8a SHA512 873db4e07d2ef55e972d5f755d277fb4d1a9844e90b652e6964814e9d2ed4628fe38c28dbbc868ebaf46021325086f6dc39315a17b9a967975cf0dba09df65f1 WHIRLPOOL 791a3626782e20025acb11d696b6c9c59d9f756152abed8ec913793090758968ace409a60f381c6fdc31d19faad90602ebc7cc8ef65fcad329bfa1fdf4700679
|
||||
DIST d-feet-0.3.6.tar.xz 215272 SHA256 d2b9416b33333c984252091482e96108ed4212b54df8454c0a99bba970616c60 SHA512 96c106ff23b6269ae08bb931342b2278aaa72d667c174ff3ba9f24561034c1ea2c77f5acc46857db0a719a6a303c32b962f2f53a91e5775cd0777d0c72e09b29 WHIRLPOOL 5a546e2dd2f3aad402fb0b5527cb228ea2e6d80fb41148ba750d9d53046c94f0ba0600b8964408d8cdf5f486114698157dc9e33cac50ac93885838cdcb4958ce
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue