Sync with portage [Wed Jan 18 09:27:39 MSK 2012].

mhiretskiy
root 12 years ago
parent e32ec9358e
commit 8e7f700cbb

@ -1,5 +1 @@
DIST sshguard-1.0.tar.bz2 118988 RMD160 436516e14a72845e7eb5325d6f55496eec9d1762 SHA1 968275288a1aec06737e70cde61fe99063081adc SHA256 33a9fe9d2360e9a5c357e269353d4157270171ff975bcf649f5f99b1aa8dcc08
DIST sshguard-1.1.tar.bz2 233308 RMD160 e6e7d6e54b32d67583b0f4140ef8905ef5f5567f SHA1 912c151232bc6b23ce400ef92270c9a7f87a60d1 SHA256 c1b2fcd7c402725958e62808829c82bb4445dcf6a9b27ee07e2ab8a3417bb96f
DIST sshguard-1.3.tar.bz2 140745 RMD160 792431d6d1c7437734bccca4ec6e1ae1b9c4891c SHA1 4c073086406901bbd55ab669b295a3f12f67994e SHA256 1ff0ea3349c67fdab8f8046eeae6a96046a752ae7458c2259cb31b78c2de08ac
DIST sshguard-1.4.tar.bz2 152303 RMD160 1a34d29d8849ea279049a8eb24ddef839dafdbf7 SHA1 afd1134199ba41721b3d4032239529040e5dd367 SHA256 d9228c9399c0fffa847ea25d3b4b59c0f23dd72c7cf89b52380fee46e92a0ecf
DIST sshguard-1.5.tar.bz2 303767 RMD160 7b4625b3b2e0cf974bc935d868b89bd0d8c189e8 SHA1 f8f713bfb3f5c9877b34f6821426a22a7eec8df3 SHA256 b537f8765455fdf8424f87d4bd695e5b675b88e5d164865452137947093e7e19 DIST sshguard-1.5.tar.bz2 303767 RMD160 7b4625b3b2e0cf974bc935d868b89bd0d8c189e8 SHA1 f8f713bfb3f5c9877b34f6821426a22a7eec8df3 SHA256 b537f8765455fdf8424f87d4bd695e5b675b88e5d164865452137947093e7e19

@ -1,36 +0,0 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/sshguard/sshguard-1.0.ebuild,v 1.6 2008/07/18 23:16:24 cla Exp $
DESCRIPTION="protects hosts from brute force attacks against ssh"
HOMEPAGE="http://sshguard.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~x86-fbsd"
IUSE="ipfilter kernel_FreeBSD kernel_linux"
DEPEND="kernel_linux? ( net-firewall/iptables )
kernel_FreeBSD? ( !ipfilter? ( sys-freebsd/freebsd-pf ) )"
RDEPEND="${DEPEND}
virtual/logger"
src_compile() {
local myconf
if use kernel_linux; then
myconf="--with-firewall=iptables"
elif use kernel_FreeBSD; then
use ipfilter && myconf="--with-firewall=ipfw" \
|| myconf="--with-firewall=pf"
fi
econf ${myconf}
emake CFLAGS="${CFLAGS}" || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc README Changes || die "dodoc failed"
dodoc examples/* || die "dodoc failed"
}

@ -1,36 +0,0 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/sshguard/sshguard-1.1.ebuild,v 1.1 2008/08/31 10:12:51 hawking Exp $
DESCRIPTION="protects hosts from brute force attacks against ssh"
HOMEPAGE="http://sshguard.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
IUSE="ipfilter kernel_FreeBSD kernel_linux"
DEPEND="kernel_linux? ( net-firewall/iptables )
kernel_FreeBSD? ( !ipfilter? ( sys-freebsd/freebsd-pf ) )"
RDEPEND="${DEPEND}
virtual/logger"
src_compile() {
local myconf
if use kernel_linux; then
myconf="--with-firewall=iptables"
elif use kernel_FreeBSD; then
use ipfilter && myconf="--with-firewall=ipfw" \
|| myconf="--with-firewall=pf"
fi
econf ${myconf}
emake CFLAGS="${CFLAGS}" || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc README Changes || die "dodoc failed"
dodoc examples/* || die "dodoc failed"
}

@ -1,36 +0,0 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/sshguard/sshguard-1.3.ebuild,v 1.1 2008/12/22 02:03:00 vanquirius Exp $
DESCRIPTION="protects hosts from brute force attacks against ssh"
HOMEPAGE="http://sshguard.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
IUSE="ipfilter kernel_FreeBSD kernel_linux"
DEPEND="kernel_linux? ( net-firewall/iptables )
kernel_FreeBSD? ( !ipfilter? ( sys-freebsd/freebsd-pf ) )"
RDEPEND="${DEPEND}
virtual/logger"
src_compile() {
local myconf
if use kernel_linux; then
myconf="--with-firewall=iptables"
elif use kernel_FreeBSD; then
use ipfilter && myconf="--with-firewall=ipfw" \
|| myconf="--with-firewall=pf"
fi
econf ${myconf}
emake CFLAGS="${CFLAGS}" || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc README Changes || die "dodoc failed"
dodoc examples/* || die "dodoc failed"
}

@ -1,39 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/sshguard/sshguard-1.4.ebuild,v 1.1 2009/11/12 19:40:18 pva Exp $
EAPI="2"
DESCRIPTION="protects hosts from brute force attacks against ssh"
HOMEPAGE="http://sshguard.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
IUSE="ipfilter kernel_FreeBSD kernel_linux"
CDEPEND="kernel_linux? ( net-firewall/iptables )
kernel_FreeBSD? ( !ipfilter? ( sys-freebsd/freebsd-pf ) )"
DEPEND="${CDEPEND}
sys-devel/flex"
RDEPEND="${CDEPEND}
virtual/logger"
src_configure() {
local myconf
if use kernel_linux; then
myconf="--with-firewall=iptables"
elif use kernel_FreeBSD; then
use ipfilter && myconf="--with-firewall=ipfw" \
|| myconf="--with-firewall=pf"
fi
econf ${myconf}
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc README Changes || die "dodoc failed"
dodoc examples/* || die "dodoc failed"
}

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/sudo-1.8.2-r1.ebuild,v 1.1 2011/10/12 18:50:26 slyfox Exp $ # $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/sudo-1.8.2-r1.ebuild,v 1.3 2012/01/17 16:43:33 jer Exp $
EAPI=4 EAPI=4
@ -28,7 +28,7 @@ SRC_URI="http://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
LICENSE="as-is BSD" LICENSE="as-is BSD"
SLOT="0" SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
IUSE="pam offensive ldap selinux skey" IUSE="pam offensive ldap selinux skey"
DEPEND="pam? ( virtual/pam ) DEPEND="pam? ( virtual/pam )

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/libarchive-2.8.5.ebuild,v 1.5 2012/01/16 20:33:26 halcy0n Exp $ # $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/libarchive-2.8.5.ebuild,v 1.6 2012/01/17 05:16:21 jer Exp $
EAPI="2" EAPI="2"
@ -13,7 +13,7 @@ SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz
LICENSE="BSD" LICENSE="BSD"
SLOT="0" SLOT="0"
KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
IUSE="static static-libs acl xattr kernel_linux +bzip2 +lzma +zlib expat" IUSE="static static-libs acl xattr kernel_linux +bzip2 +lzma +zlib expat"
COMPRESS_LIBS_DEPEND="lzma? ( app-arch/xz-utils ) COMPRESS_LIBS_DEPEND="lzma? ( app-arch/xz-utils )

@ -1,5 +1,2 @@
DIST heimdal-1.3.3.tar.gz 5744155 RMD160 ce97ac415e7c27912ba148b81c46e756dc54ba3e SHA1 a385d959e3edd144aee79e9df585e44347342049 SHA256 8c8d2b272529c87ae9800825e2f266821b696ae6b56837edf0d19e17fc2a8630
DIST heimdal-1.4.1_pre20110304.tar.bz2 10404973 RMD160 ff0161ceb82e60925ac53fae1ad547b6993616fe SHA1 ffa6b04deb1fa3b22a094d31735342906e6bd982 SHA256 af120ed7c20d12275966682a49ffc5607a393f61c411a00ebac563614b241b38
DIST heimdal-1.5.1.tar.gz 6800347 RMD160 d66b09bddcd762e91092f862ea084abbcc3670ca SHA1 78421d3f80d3bd1f2eccfa0e5a690e964842b2fb SHA256 bd69940e67ce985589451d868354a959eebf96d8a059f513b23d40e4aa101d5f DIST heimdal-1.5.1.tar.gz 6800347 RMD160 d66b09bddcd762e91092f862ea084abbcc3670ca SHA1 78421d3f80d3bd1f2eccfa0e5a690e964842b2fb SHA256 bd69940e67ce985589451d868354a959eebf96d8a059f513b23d40e4aa101d5f
DIST heimdal-1.5.2.tar.gz 6798615 RMD160 1ab2f835309a916dfbba667d3d0d38a57c312fde SHA1 dd0920a181d18236432e4b3e5eab6e468cda4b89 SHA256 22603f282f31173533b939d289f3374258aa1ccccbe51ee088d7568d321279ec DIST heimdal-1.5.2.tar.gz 6798615 RMD160 1ab2f835309a916dfbba667d3d0d38a57c312fde SHA1 dd0920a181d18236432e4b3e5eab6e468cda4b89 SHA256 22603f282f31173533b939d289f3374258aa1ccccbe51ee088d7568d321279ec
DIST heimdal-1.5.tar.gz 6594801 RMD160 308ef50e804402aab2fd3d8f25a798bec692c597 SHA1 fdf29096a1fa71a275881d64d178c211f148f0fc SHA256 8fe69a90e7ddbf5989054f899071365476689b7aed82bf0443b5bf85f934d53a

@ -1,30 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/files/heimdal-kadmind.initd,v 1.1 2010/05/09 03:50:52 darkside Exp $
depend() {
need net
use heimdal-kdc
after logger
}
start() {
ebegin "Starting Heimdal kadmind"
/usr/sbin/kadmind &
echo $! > /var/run/heimdal-kadmind.pid
eend $?
}
stop() {
ebegin "Stopping Heimdal kadmind"
start-stop-daemon --stop --quiet --exec \
/usr/sbin/kadmind
eend $?
}
restart() {
svc_stop
svc_start
}

@ -1,25 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/files/heimdal-kcm.initd,v 1.1 2010/05/09 03:50:52 darkside Exp $
depend() {
after heimdal-kdc
}
start() {
ebegin "Starting Heimdal KCM..."
start-stop-daemon --start --pidfile /var/run/kcm.pid --exec /usr/sbin/kcm -- --detach
eend $?
}
stop() {
ebegin "Stopping Heimdal KCM..."
start-stop-daemon --stop --pidfile /var/run/kcm.pid
eend $?
}
restart() {
svc_stop
svc_start
}

@ -1,29 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/files/heimdal-kdc.initd,v 1.1 2010/05/09 03:50:52 darkside Exp $
depend() {
need net
after logger
}
start() {
ebegin "Starting Heimdal kdc"
start-stop-daemon --start --quiet --exec \
/usr/sbin/kdc -- --detach
eend $?
}
stop() {
ebegin "Stopping Heimdal kdc"
start-stop-daemon --stop --quiet --exec \
/usr/sbin/kdc
eend $?
}
restart() {
svc_stop
svc_start
}

@ -1,29 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/files/heimdal-kpasswdd.initd,v 1.1 2010/05/09 03:50:52 darkside Exp $
depend() {
need net
use heimdal-kdc
after logger
}
start() {
ebegin "Starting Heimdal kpasswdd"
start-stop-daemon --background --start --quiet --exec \
/usr/sbin/kpasswdd
eend $?
}
stop() {
ebegin "Stopping Heimdal kpasswdd"
start-stop-daemon --stop --quiet --exec \
/usr/sbin/kpasswdd
eend $?
}
restart() {
svc_stop
svc_start
}

@ -1,174 +0,0 @@
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=blob_plain;f=source/lib/heimdal/drop_md2_support.diff;hb=HEAD
--- include/crypto-headers.h
+++ include/crypto-headers.h
@@ -13,7 +13,6 @@
#include <openssl/des.h>
#include <openssl/rc4.h>
#include <openssl/rc2.h>
-#include <openssl/md2.h>
#include <openssl/md4.h>
#include <openssl/md5.h>
#include <openssl/sha.h>
@@ -39,7 +38,6 @@
#include <hcrypto/evp.h>
#include <hcrypto/des.h>
-#include <hcrypto/md2.h>
#include <hcrypto/md4.h>
#include <hcrypto/md5.h>
#include <hcrypto/sha.h>
--- lib/hx509/crypto.c
+++ lib/hx509/crypto.c
@@ -148,11 +148,6 @@
{ 6, rk_UNCONST(md5_oid_tree) }, rk_UNCONST(&null_entry_oid)
};
-static const unsigned md2_oid_tree[] = { 1, 2, 840, 113549, 2, 2 };
-const AlgorithmIdentifier _hx509_signature_md2_data = {
- { 6, rk_UNCONST(md2_oid_tree) }, rk_UNCONST(&null_entry_oid)
-};
-
static const unsigned ecPublicKey[] ={ 1, 2, 840, 10045, 2, 1 };
const AlgorithmIdentifier _hx509_signature_ecPublicKey = {
{ 6, rk_UNCONST(ecPublicKey) }, NULL
@@ -193,11 +188,6 @@
{ 7, rk_UNCONST(rsa_with_md5_oid) }, NULL
};
-static const unsigned rsa_with_md2_oid[] ={ 1, 2, 840, 113549, 1, 1, 2 };
-const AlgorithmIdentifier _hx509_signature_rsa_with_md2_data = {
- { 7, rk_UNCONST(rsa_with_md2_oid) }, NULL
-};
-
static const unsigned rsa_oid[] ={ 1, 2, 840, 113549, 1, 1, 1 };
const AlgorithmIdentifier _hx509_signature_rsa_data = {
{ 7, rk_UNCONST(rsa_oid) }, NULL
@@ -1289,19 +1279,6 @@
rsa_create_signature
};
-static const struct signature_alg rsa_with_md2_alg = {
- "rsa-with-md2",
- &asn1_oid_id_pkcs1_md2WithRSAEncryption,
- &_hx509_signature_rsa_with_md2_data,
- &asn1_oid_id_pkcs1_rsaEncryption,
- &_hx509_signature_md2_data,
- PROVIDE_CONF|REQUIRE_SIGNER|RA_RSA_USES_DIGEST_INFO|SIG_PUBLIC_SIG,
- 1230739889,
- NULL,
- rsa_verify_signature,
- rsa_create_signature
-};
-
static const struct signature_alg dsa_sha1_alg = {
"dsa-with-sha1",
&asn1_oid_id_dsa_with_sha1,
@@ -1354,19 +1331,6 @@
NULL
};
-static const struct signature_alg md2_alg = {
- "rsa-md2",
- &asn1_oid_id_rsa_digest_md2,
- &_hx509_signature_md2_data,
- NULL,
- NULL,
- SIG_DIGEST,
- 0,
- EVP_md2,
- evp_md_verify_signature,
- NULL
-};
-
/*
* Order matter in this structure, "best" first for each "key
* compatible" type (type is ECDSA, RSA, DSA, none, etc)
@@ -1381,13 +1345,11 @@
&rsa_with_sha1_alg,
&pkcs1_rsa_sha1_alg,
&rsa_with_md5_alg,
- &rsa_with_md2_alg,
&heim_rsa_pkcs1_x509,
&dsa_sha1_alg,
&sha256_alg,
&sha1_alg,
&md5_alg,
- &md2_alg,
NULL
};
@@ -1823,10 +1785,6 @@
{ return &_hx509_signature_md5_data; }
const AlgorithmIdentifier *
-hx509_signature_md2(void)
-{ return &_hx509_signature_md2_data; }
-
-const AlgorithmIdentifier *
hx509_signature_ecPublicKey(void)
{ return &_hx509_signature_ecPublicKey; }
@@ -1859,10 +1817,6 @@
{ return &_hx509_signature_rsa_with_md5_data; }
const AlgorithmIdentifier *
-hx509_signature_rsa_with_md2(void)
-{ return &_hx509_signature_rsa_with_md2_data; }
-
-const AlgorithmIdentifier *
hx509_signature_rsa(void)
{ return &_hx509_signature_rsa_data; }
--- lib/hx509/hx509-protos.h
+++ lib/hx509/hx509-protos.h
@@ -976,9 +976,6 @@
hx509_signature_ecdsa_with_sha256 (void);
const AlgorithmIdentifier *
-hx509_signature_md2 (void);
-
-const AlgorithmIdentifier *
hx509_signature_md5 (void);
const AlgorithmIdentifier *
@@ -988,9 +985,6 @@
hx509_signature_rsa_pkcs1_x509 (void);
const AlgorithmIdentifier *
-hx509_signature_rsa_with_md2 (void);
-
-const AlgorithmIdentifier *
hx509_signature_rsa_with_md5 (void);
const AlgorithmIdentifier *
--- lib/hx509/ks_p11.c
+++ lib/hx509/ks_p11.c
@@ -1139,7 +1139,6 @@
MECHNAME(CKM_SHA256, "sha256");
MECHNAME(CKM_SHA_1, "sha1");
MECHNAME(CKM_MD5, "md5");
- MECHNAME(CKM_MD2, "md2");
MECHNAME(CKM_RIPEMD160, "ripemd-160");
MECHNAME(CKM_DES_ECB, "des-ecb");
MECHNAME(CKM_DES_CBC, "des-cbc");
--- lib/hx509/tst-crypto-available2
+++ lib/hx509/tst-crypto-available2
@@ -1,4 +1,3 @@
2.16.840.1.101.3.4.2.1
1.3.14.3.2.26
1.2.840.113549.2.5
-1.2.840.113549.2.2
--- lib/hx509/version-script.map
+++ lib/hx509/version-script.map
@@ -200,10 +200,8 @@
hx509_revoke_verify;
hx509_set_error_string;
hx509_set_error_stringv;
- hx509_signature_md2;
hx509_signature_md5;
hx509_signature_rsa;
- hx509_signature_rsa_with_md2;
hx509_signature_rsa_with_md5;
hx509_signature_rsa_with_sha1;
hx509_signature_rsa_with_sha256;

@ -1,307 +0,0 @@
diff --git a/tests/bin/Makefile.am b/tests/bin/Makefile.am
index 49accb0..3d54a97 100644
--- a/tests/bin/Makefile.am
+++ b/tests/bin/Makefile.am
@@ -8,7 +8,8 @@ do_subst = \
sed $(do_dlopen) \
-e "s,[@]EGREP[@],$(EGREP),g" \
-e "s,[@]top_srcdir[@],$${top_srcdir},g" \
- -e "s,[@]top_builddir[@],$${top_builddir},g"
+ -e "s,[@]top_builddir[@],$${top_builddir},g" \
+ -e "s,[@]NO_AFS[@],$${NO_AFS},g"
setup-env: setup-env.in Makefile
$(do_subst) < $(srcdir)/setup-env.in > setup-env.tmp
diff --git a/tests/bin/setup-env.in b/tests/bin/setup-env.in
index a848482..4857e17 100644
--- a/tests/bin/setup-env.in
+++ b/tests/bin/setup-env.in
@@ -6,6 +6,7 @@ unset KRB5CCNAME
top_builddir="@top_builddir@"
top_srcdir="@top_srcdir@"
EGREP="@EGREP@"
+NO_AFS="@NO_AFS@"
# Meant to be sourced (source or .) by the tester application, offers
# most commands in heimdal as variables
@@ -42,6 +43,14 @@ have_db="${top_builddir}/tests/db/have-db"
leaks_kill="${top_srcdir}/tests/kdc/leaks-kill.sh"
wait_kdc="${top_srcdir}/tests/kdc/wait-kdc.sh"
+if [ ! "${NO_AFS}" ] ; then
+ afs_no_unlog="--no-unlog"
+ afs_no_afslog="--no-afslog"
+else
+ afs_no_unlog=""
+ afs_no_afslog=""
+fi
+
# data
hx509_data="${top_srcdir}/lib/hx509/data"
diff --git a/tests/gss/check-basic.in b/tests/gss/check-basic.in
index 5599e5f..ef63097 100644
--- a/tests/gss/check-basic.in
+++ b/tests/gss/check-basic.in
@@ -51,8 +51,8 @@ cache="FILE:krb5ccfile"
cache2="FILE:krb5ccfile2"
nocache="FILE:no-such-cache"
-kinit="${TESTS_ENVIRONMENT} ../../kuser/kinit -c $cache --no-afslog"
-kdestroy="${TESTS_ENVIRONMENT} ../../kuser/kdestroy -c $cache --no-unlog"
+kinit="${TESTS_ENVIRONMENT} ../../kuser/kinit -c $cache ${afs_no_afslog}"
+kdestroy="${TESTS_ENVIRONMENT} ../../kuser/kdestroy -c $cache ${afs_no_unlog}"
klist="${TESTS_ENVIRONMENT} ../../kuser/klist -c $cache"
kadmin="${TESTS_ENVIRONMENT} ../../kadmin/kadmin -l -r $R"
kdc="${TESTS_ENVIRONMENT} ../../kdc/kdc --addresses=localhost -P $port"
diff --git a/tests/gss/check-context.in b/tests/gss/check-context.in
index 06f7774..1b01e49 100644
--- a/tests/gss/check-context.in
+++ b/tests/gss/check-context.in
@@ -49,7 +49,7 @@ keytab="FILE:${keytabfile}"
nokeytab="FILE:no-such-keytab"
cache="FILE:krb5ccfile"
-kinit="${TESTS_ENVIRONMENT} ../../kuser/kinit -c $cache --no-afslog"
+kinit="${TESTS_ENVIRONMENT} ../../kuser/kinit -c $cache ${afs_no_afslog}"
klist="${TESTS_ENVIRONMENT} ../../kuser/klist -c $cache"
kgetcred="${TESTS_ENVIRONMENT} ../../kuser/kgetcred -c $cache"
kadmin="${TESTS_ENVIRONMENT} ../../kadmin/kadmin -l -r $R"
diff --git a/tests/gss/check-ntlm.in b/tests/gss/check-ntlm.in
index c76f63d..a929e66 100644
--- a/tests/gss/check-ntlm.in
+++ b/tests/gss/check-ntlm.in
@@ -49,8 +49,8 @@ keytab="FILE:${keytabfile}"
cache="FILE:krb5ccfile"
cacheds="FILE:krb5ccfile-ds"
-kinit="${TESTS_ENVIRONMENT} ../../kuser/kinit -c $cache --no-afslog"
-kinitds="${TESTS_ENVIRONMENT} ../../kuser/kinit -c $cacheds --no-afslog"
+kinit="${TESTS_ENVIRONMENT} ../../kuser/kinit -c $cache ${afs_no_afslog}"
+kinitds="${TESTS_ENVIRONMENT} ../../kuser/kinit -c $cacheds ${afs_no_afslog}"
kadmin="${TESTS_ENVIRONMENT} ../../kadmin/kadmin -l -r $R"
kdc="${TESTS_ENVIRONMENT} ../../kdc/kdc --addresses=localhost -P $port"
kdigest="${TESTS_ENVIRONMENT} ../../kuser/kdigest"
diff --git a/tests/gss/check-spnego.in b/tests/gss/check-spnego.in
index 3284715..7e90f5b 100644
--- a/tests/gss/check-spnego.in
+++ b/tests/gss/check-spnego.in
@@ -49,8 +49,8 @@ keytab="FILE:${keytabfile}"
cache="FILE:krb5ccfile"
cacheds="FILE:krb5ccfile-ds"
-kinit="${TESTS_ENVIRONMENT} ../../kuser/kinit -c $cache --no-afslog --forwardable"
-kinitds="${TESTS_ENVIRONMENT} ../../kuser/kinit -c $cacheds --no-afslog"
+kinit="${TESTS_ENVIRONMENT} ../../kuser/kinit -c $cache ${afs_no_afslog} --forwardable"
+kinitds="${TESTS_ENVIRONMENT} ../../kuser/kinit -c $cacheds ${afs_no_afslog}"
kadmin="${TESTS_ENVIRONMENT} ../../kadmin/kadmin -l -r $R"
kdc="${TESTS_ENVIRONMENT} ../../kdc/kdc --addresses=localhost -P $port"
diff --git a/tests/kdc/check-cc.in b/tests/kdc/check-cc.in
index 0a37703..aef5e16 100644
--- a/tests/kdc/check-cc.in
+++ b/tests/kdc/check-cc.in
@@ -51,8 +51,8 @@ R=TEST.H5L.SE
port=@port@
pwport=@pwport@
-kinit="${kinit} --password-file=${objdir}/foopassword --no-afslog"
-kdestroy="${kdestroy} --no-unlog"
+kinit="${kinit} --password-file=${objdir}/foopassword ${afs_no_afslog}"
+kdestroy="${kdestroy} ${afs_no_unlog}"
kadmin="${kadmin} -l -r $R"
kdc="${kdc} --addresses=localhost -P $port"
diff --git a/tests/kdc/check-delegation.in b/tests/kdc/check-delegation.in
index 7e23157..9cf11c3 100644
--- a/tests/kdc/check-delegation.in
+++ b/tests/kdc/check-delegation.in
@@ -54,10 +54,10 @@ kdc="${kdc} --addresses=localhost -P $port"
server=host/datan.test4.h5l.se@TEST4.H5L.ORG
cache="FILE:${objdir}/cache.krb5"
-kinit="${kinit} -c $cache --no-afslog"
+kinit="${kinit} -c $cache ${afs_no_afslog}"
klist="${klist} -c $cache"
kgetcred="${kgetcred} -c $cache"
-kdestroy="${kdestroy} -c $cache --no-unlog"
+kdestroy="${kdestroy} -c $cache ${afs_no_unlog}"
KRB5_CONFIG="${objdir}/krb5.conf"
export KRB5_CONFIG
diff --git a/tests/kdc/check-des.in b/tests/kdc/check-des.in
index 1eca6c4..77a39b1 100644
--- a/tests/kdc/check-des.in
+++ b/tests/kdc/check-des.in
@@ -54,10 +54,10 @@ afsserver=afs/test.h5l.se
hostserver=host/server.test.h5l.se
cache="FILE:${objdir}/cache.krb5"
-kinit="${kinit} -c $cache --no-afslog"
+kinit="${kinit} -c $cache ${afs_no_afslog}"
klist="${klist} -c $cache"
kgetcred="${kgetcred} -c $cache"
-kdestroy="${kdestroy} -c $cache --no-unlog"
+kdestroy="${kdestroy} -c $cache ${afs_no_unlog}"
KRB5_CONFIG="${objdir}/krb5.conf"
export KRB5_CONFIG
diff --git a/tests/kdc/check-digest.in b/tests/kdc/check-digest.in
index d253d59..90eb130 100644
--- a/tests/kdc/check-digest.in
+++ b/tests/kdc/check-digest.in
@@ -56,7 +56,7 @@ ocache="FILE:${objdir}/ocache.krb5"
keytabfile=${objdir}/server.keytab
keytab="FILE:${keytabfile}"
-kinit="${kinit} -c $cache --no-afslog"
+kinit="${kinit} -c $cache ${afs_no_afslog}"
klist="${klist} -c $cache"
kdigest="${kdigest} --ccache=$cache"
diff --git a/tests/kdc/check-iprop.in b/tests/kdc/check-iprop.in
index 2bc5544..ba9aff1 100644
--- a/tests/kdc/check-iprop.in
+++ b/tests/kdc/check-iprop.in
@@ -54,7 +54,7 @@ keytab="FILE:${keytabfile}"
kdc="${kdc} --addresses=localhost -P $port"
kadmin="${kadmin} -r $R"
-kinit="${kinit} -c $cache --no-afslog"
+kinit="${kinit} -c $cache ${afs_no_afslog}"
KRB5_CONFIG="${objdir}/krb5.conf"
export KRB5_CONFIG
diff --git a/tests/kdc/check-kadmin.in b/tests/kdc/check-kadmin.in
index faba084..b761ef0 100644
--- a/tests/kdc/check-kadmin.in
+++ b/tests/kdc/check-kadmin.in
@@ -55,9 +55,9 @@ kadmind="${kadmind} -p $admport"
server=host/datan.test.h5l.se
-kinit="${kinit} -c $cache --no-afslog"
+kinit="${kinit} -c $cache ${afs_no_afslog}"
kgetcred="${kgetcred} -c $cache"
-kdestroy="${kdestroy} -c $cache --no-unlog"
+kdestroy="${kdestroy} -c $cache ${afs_no_unlog}"
KRB5_CONFIG="${objdir}/krb5.conf"
export KRB5_CONFIG
diff --git a/tests/kdc/check-kdc.in b/tests/kdc/check-kdc.in
index 0e1f9d7..5fc08fc 100644
--- a/tests/kdc/check-kdc.in
+++ b/tests/kdc/check-kdc.in
@@ -70,11 +70,11 @@ keytab="FILE:${keytabfile}"
ps="proxy-service@${R}"
aesenctype="aes256-cts-hmac-sha1-96"
-kinit="${kinit} -c $cache --no-afslog"
+kinit="${kinit} -c $cache ${afs_no_afslog}"
klist="${klist} -c $cache"
kgetcred="${kgetcred} -c $cache"
kgetcred_imp="${kgetcred} -c $cache --out-cache=${ocache}"
-kdestroy="${kdestroy} -c $cache --no-unlog"
+kdestroy="${kdestroy} -c $cache ${afs_no_unlog}"
kimpersonate="${kimpersonate} -k ${keytab} --ccache=${ocache}"
rm -f ${keytabfile}
diff --git a/tests/kdc/check-kpasswdd.in b/tests/kdc/check-kpasswdd.in
index dd2162a..355930f 100644
--- a/tests/kdc/check-kpasswdd.in
+++ b/tests/kdc/check-kpasswdd.in
@@ -60,10 +60,10 @@ cache="FILE:${objdir}/cache.krb5"
keytabfile=${objdir}/server.keytab
keytab="FILE:${keytabfile}"
-kinit="${kinit} -c $cache --no-afslog"
+kinit="${kinit} -c $cache ${afs_no_afslog}"
klist="${klist} -c $cache"
kgetcred="${kgetcred} -c $cache"
-kdestroy="${kdestroy} -c $cache --no-unlog"
+kdestroy="${kdestroy} -c $cache ${afs_no_unlog}"
KRB5_CONFIG="${objdir}/krb5.conf"
export KRB5_CONFIG
diff --git a/tests/kdc/check-pkinit.in b/tests/kdc/check-pkinit.in
index 1cb7b50..723cc14 100644
--- a/tests/kdc/check-pkinit.in
+++ b/tests/kdc/check-pkinit.in
@@ -54,9 +54,9 @@ cache="FILE:${objdir}/cache.krb5"
keyfile="${hx509_data}/key.der"
keyfile2="${hx509_data}/key2.der"
-kinit="${kinit} -c $cache --no-afslog"
+kinit="${kinit} -c $cache ${afs_no_afslog}"
kgetcred="${kgetcred} -c $cache"
-kdestroy="${kdestroy} -c $cache --no-unlog"
+kdestroy="${kdestroy} -c $cache ${afs_no_unlog}"
KRB5_CONFIG="${objdir}/krb5-pkinit.conf"
export KRB5_CONFIG
diff --git a/tests/kdc/check-referral.in b/tests/kdc/check-referral.in
index b64b06a..8ca2a31 100644
--- a/tests/kdc/check-referral.in
+++ b/tests/kdc/check-referral.in
@@ -54,10 +54,10 @@ kdc="${kdc} --addresses=localhost -P $port"
cache="FILE:${objdir}/cache.krb5"
-kinit="${kinit} -c $cache --no-afslog"
+kinit="${kinit} -c $cache ${afs_no_afslog}"
klist="${klist} -c $cache"
kgetcred="${kgetcred} -c $cache"
-kdestroy="${kdestroy} -c $cache --no-unlog"
+kdestroy="${kdestroy} -c $cache ${afs_no_unlog}"
KRB5_CONFIG="${objdir}/krb5.conf"
diff --git a/tests/kdc/check-uu.in b/tests/kdc/check-uu.in
index 91e1e64..2670956 100644
--- a/tests/kdc/check-uu.in
+++ b/tests/kdc/check-uu.in
@@ -54,10 +54,10 @@ kdc="${TESTS_ENVIRONMENT} ../../kdc/kdc --addresses=localhost -P $port"
cache1="FILE:${objdir}/cache1.krb5"
cache2="FILE:${objdir}/cache2.krb5"
-kinit1="${TESTS_ENVIRONMENT} ../../kuser/kinit -c $cache1 --no-afslog"
-kinit2="${TESTS_ENVIRONMENT} ../../kuser/kinit -c $cache2 --no-afslog"
-kdestroy1="${TESTS_ENVIRONMENT} ../../kuser/kdestroy -c $cache1 --no-unlog"
-kdestroy2="${TESTS_ENVIRONMENT} ../../kuser/kdestroy -c $cache2 --no-unlog"
+kinit1="${TESTS_ENVIRONMENT} ../../kuser/kinit -c $cache1 ${afs_no_afslog}"
+kinit2="${TESTS_ENVIRONMENT} ../../kuser/kinit -c $cache2 ${afs_no_afslog}"
+kdestroy1="${TESTS_ENVIRONMENT} ../../kuser/kdestroy -c $cache1 ${afs_no_unlog}"
+kdestroy2="${TESTS_ENVIRONMENT} ../../kuser/kdestroy -c $cache2 ${afs_no_unlog}"
uu_server="${TESTS_ENVIRONMENT} ../../appl/test/uu_server"
uu_client="${TESTS_ENVIRONMENT} ../../appl/test/uu_client"
diff --git a/tests/ldap/check-ldap.in b/tests/ldap/check-ldap.in
index ab61e48..3f706bd 100644
--- a/tests/ldap/check-ldap.in
+++ b/tests/ldap/check-ldap.in
@@ -45,7 +45,7 @@ port=@port@
server=host/datan.test.h5l.se
cache="FILE:${objdir}/cache.krb5"
-kinit="${TESTS_ENVIRONMENT} ../../kuser/kinit -c $cache --no-afslog"
+kinit="${TESTS_ENVIRONMENT} ../../kuser/kinit -c $cache ${afs_no_afslog}"
kgetcred="${TESTS_ENVIRONMENT} ../../kuser/kgetcred -c $cache"
kadmin="${TESTS_ENVIRONMENT} ../../kadmin/kadmin -l -r $R"
kdc="${TESTS_ENVIRONMENT} ../../kdc/kdc --addresses=localhost -P $port"
diff --git a/tests/plugin/check-pac.in b/tests/plugin/check-pac.in
index 8c15309..17f7216 100644
--- a/tests/plugin/check-pac.in
+++ b/tests/plugin/check-pac.in
@@ -55,10 +55,10 @@ cache="FILE:${objdir}/cache.krb5"
keytabfile=${objdir}/server.keytab
keytab="FILE:${keytabfile}"
-kinit="${TESTS_ENVIRONMENT} ../../kuser/kinit -c $cache --no-afslog"
+kinit="${TESTS_ENVIRONMENT} ../../kuser/kinit -c $cache ${afs_no_afslog}"
klist="${TESTS_ENVIRONMENT} ../../kuser/klist -c $cache"
kgetcred="${TESTS_ENVIRONMENT} ../../kuser/kgetcred -c $cache"
-kdestroy="${TESTS_ENVIRONMENT} ../../kuser/kdestroy -c $cache --no-unlog"
+kdestroy="${TESTS_ENVIRONMENT} ../../kuser/kdestroy -c $cache ${afs_no_unlog}"
test_apreq="${TESTS_ENVIRONMENT} ../../lib/krb5/test_ap-req"
KRB5_CONFIG="${objdir}/krb5.conf"

@ -1,77 +0,0 @@
diff --git a/tests/can/Makefile.am b/tests/can/Makefile.am
index f881667..12cd2fe 100644
--- a/tests/can/Makefile.am
+++ b/tests/can/Makefile.am
@@ -14,7 +14,8 @@ port = 49188
do_subst = sed -e 's,[@]srcdir[@],$(srcdir),g' \
-e 's,[@]port[@],$(port),g' \
-e 's,[@]objdir[@],$(top_builddir)/tests/can,g' \
- -e 's,[@]EGREP[@],$(EGREP),g'
+ -e 's,[@]EGREP[@],$(EGREP),g' \
+ -e 's,[@]env_setup[@],$(top_builddir)/tests/bin/setup-env,g'
test_can: test_can.in Makefile
$(do_subst) < $(srcdir)/test_can.in > test_can.tmp
diff --git a/tests/can/check-can.in b/tests/can/check-can.in
index c687bce..70e5d38 100644
--- a/tests/can/check-can.in
+++ b/tests/can/check-can.in
@@ -36,12 +36,30 @@
srcdir="@srcdir@"
objdir="@objdir@"
+env_setup="@env_setup@"
+
+. ${env_setup}
# If there is no useful db support compile in, disable test
../db/have-db || exit 77
./test_can TEST.H5L.SE heim-0.8 || exit 1
./test_can TEST.H5L.SE apple-10.4 || exit 1
-./test_can HEIMDAL.CITI.UMICH.EDU mit-pkinit-20070607 || exit 1
+
+rsa=yes
+pkinit=no
+if ${hxtool} info | grep 'rsa: hx509 null RSA' > /dev/null ; then
+ rsa=no
+fi
+if ${hxtool} info | grep 'rand: not available' > /dev/null ; then
+ rsa=no
+fi
+if ${kinit} --help 2>&1 | grep "CA certificates" > /dev/null; then
+ pkinit=yes
+fi
+
+if test "$pkinit" = yes -a "$rsa" = yes ; then
+ ./test_can HEIMDAL.CITI.UMICH.EDU mit-pkinit-20070607 || exit 1
+fi
exit 0
diff --git a/tests/ldap/init.ldif b/tests/ldap/init.ldif
index 9cf39b1..d087172 100644
--- a/tests/ldap/init.ldif
+++ b/tests/ldap/init.ldif
@@ -22,7 +22,7 @@ loginShell: /bin/bash
gecos: Netbios root user
structuralObjectClass: inetOrgPerson
creatorsName: cn=root,dc=test,dc=h5l,dc=se
-userPassword:: AAAAAA
+userPassword:: AAAAAA==
objectClass: krb5KDCEntry
krb5KeyVersionNumber: 2
krb5PrincipalName: suser@TEST.H5L.SE
diff --git a/tests/can/Makefile.in b/tests/can/Makefile.in
index e40eeb7..fb274b2 100644
--- a/tests/can/Makefile.in
+++ b/tests/can/Makefile.in
@@ -342,7 +342,8 @@ port = 49188
do_subst = sed -e 's,[@]srcdir[@],$(srcdir),g' \
-e 's,[@]port[@],$(port),g' \
-e 's,[@]objdir[@],$(top_builddir)/tests/can,g' \
- -e 's,[@]EGREP[@],$(EGREP),g'
+ -e 's,[@]EGREP[@],$(EGREP),g' \
+ -e 's,[@]env_setup[@],$(top_builddir)/tests/bin/setup-env,g'
CLEANFILES = $(TESTS) *.tmp *.cf \
current-db* \

@ -1,120 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.3.3-r1.ebuild,v 1.10 2011/03/25 07:27:23 eras Exp $
EAPI=2
VIRTUALX_REQUIRED="manual"
inherit libtool virtualx eutils toolchain-funcs
#RESTRICT="test"
DESCRIPTION="Kerberos 5 implementation from KTH"
HOMEPAGE="http://www.h5l.org/"
SRC_URI="http://www.h5l.org/dist/src/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
IUSE="afs +berkdb hdb-ldap ipv6 otp pkinit ssl threads test X"
RDEPEND="ssl? ( dev-libs/openssl )
berkdb? ( sys-libs/db )
!berkdb? ( sys-libs/gdbm )
>=dev-db/sqlite-3.5.7
>=sys-libs/e2fsprogs-libs-1.41.11
afs? ( net-fs/openafs )
hdb-ldap? ( >=net-nds/openldap-2.3.0 )
!!app-crypt/mit-krb5"
DEPEND="${RDEPEND}
dev-util/pkgconfig
>=sys-devel/autoconf-2.62
test? ( X? ( ${VIRTUALX_DEPEND} ) )"
src_prepare() {
epatch "${FILESDIR}/heimdal_db5.patch"
epatch "${FILESDIR}/heimdal_testsuite.patch"
epatch "${FILESDIR}/heimdal_testsuite_extra.patch"
epatch "${FILESDIR}/heimdal_disable-check-iprop.patch"
epatch "${FILESDIR}/heimdal_openssl-1.patch"
}
src_configure() {
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 berkdb berkeley-db) \
$(use_enable otp) \
$(use_enable pkinit kx509) \
$(use_enable pkinit pk-init) \
$(use_enable threads pthread-support) \
$(use_with hdb-ldap openldap /usr) \
$(use_with ipv6) \
$(use_with ssl openssl /usr) \
$(use_with X x)
}
src_compile() {
emake -j1 || die "emake failed"
}
src_test() {
einfo "Disabled check-iprop which is known to fail. Other tests should work."
default_src_test
}
src_install() {
INSTALL_CATPAGES="no" emake DESTDIR="${D}" install || die "emake install failed"
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 heimdal-kdc
newinitd "${FILESDIR}"/heimdal-kadmind.initd heimdal-kadmind
newinitd "${FILESDIR}"/heimdal-kpasswdd.initd heimdal-kpasswdd
newinitd "${FILESDIR}"/heimdal-kcm.initd 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
# default database dir
keepdir /var/heimdal
}
pkg_preinst() {
if has_version "=${CATEGORY}/${PN}-1.3.2*" ; then
if use hdb-ldap ; then
ewarn "Schema name changed to hdb.schema to follow upstream."
ewarn "Please check you slapd conf file to make sure"
ewarn "that the correct schema file is included."
fi
fi
}

@ -1,139 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.4.1_pre20110304.ebuild,v 1.3 2011/10/23 12:00:45 armin76 Exp $
EAPI=2
# PYTHON_BDEPEND="2"
VIRTUALX_REQUIRED="manual"
inherit autotools db-use eutils libtool python toolchain-funcs virtualx
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.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="afs +berkdb caps hdb-ldap ipv6 otp +pkinit ssl 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
afs? ( net-fs/openafs )
hdb-ldap? ( >=net-nds/openldap-2.3.0 )
!!app-crypt/mit-krb5"
DEPEND="${RDEPEND}
=dev-lang/python-2*
dev-util/pkgconfig
>=sys-devel/autoconf-2.62
test? ( X? ( ${VIRTUALX_DEPEND} ) )"
S="${WORKDIR}/${PN}"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
epatch "${FILESDIR}/heimdal_db5.patch"
epatch "${FILESDIR}/heimdal_disable-check-iprop.patch"
epatch "${FILESDIR}/heimdal_link_order.patch"
eautoreconf
}
src_configure() {
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 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 || die "emake failed"
}
src_test() {
einfo "Disabled check-iprop which is known to fail. Other tests should work."
default_src_test
}
src_install() {
INSTALL_CATPAGES="no" emake DESTDIR="${D}" install || die "emake install failed"
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-r1 heimdal-kdc
newinitd "${FILESDIR}"/heimdal-kadmind.initd-r1 heimdal-kadmind
newinitd "${FILESDIR}"/heimdal-kpasswdd.initd-r1 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
# default database dir
keepdir /var/heimdal
}
pkg_preinst() {
if has_version "=${CATEGORY}/${PN}-1.3.2*" ; then
if use hdb-ldap ; then
ewarn "Schema name changed to hdb.schema to follow upstream."
ewarn "Please check your slapd conf file to make sure"
ewarn "that the correct schema file is included."
fi
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.5.1-r1.ebuild,v 1.7 2012/01/08 17:01:22 armin76 Exp $ # $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.5.1-r1.ebuild,v 1.8 2012/01/17 17:23:52 jer Exp $
EAPI=2 EAPI=2
# PYTHON_BDEPEND="2" # PYTHON_BDEPEND="2"
@ -15,7 +15,7 @@ SRC_URI="http://www.h5l.org/dist/src/${MY_P}.tar.gz"
LICENSE="BSD" LICENSE="BSD"
SLOT="0" SLOT="0"
KEYWORDS="alpha amd64 arm ~hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86" KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
IUSE="afs +berkdb caps hdb-ldap ipv6 otp +pkinit ssl static-libs threads test X" IUSE="afs +berkdb caps hdb-ldap ipv6 otp +pkinit ssl static-libs threads test X"
RDEPEND="ssl? ( dev-libs/openssl ) RDEPEND="ssl? ( dev-libs/openssl )

@ -1,136 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.5.1.ebuild,v 1.5 2011/11/28 10:05:08 eras Exp $
EAPI=2
# PYTHON_BDEPEND="2"
VIRTUALX_REQUIRED="manual"
inherit autotools db-use eutils libtool python 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"
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
afs? ( net-fs/openafs )
hdb-ldap? ( >=net-nds/openldap-2.3.0 )
!!app-crypt/mit-krb5"
DEPEND="${RDEPEND}
=dev-lang/python-2*
dev-util/pkgconfig
>=sys-devel/autoconf-2.62
test? ( X? ( ${VIRTUALX_DEPEND} ) )"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
epatch "${FILESDIR}/heimdal_db5.patch"
epatch "${FILESDIR}/heimdal_disable-check-iprop.patch"
epatch "${FILESDIR}/heimdal_link_order.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 || die "emake failed"
}
src_install() {
INSTALL_CATPAGES="no" emake DESTDIR="${D}" install || die "emake install failed"
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-r1 heimdal-kdc
newinitd "${FILESDIR}"/heimdal-kadmind.initd-r1 heimdal-kadmind
newinitd "${FILESDIR}"/heimdal-kpasswdd.initd-r1 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
}
pkg_preinst() {
preserve_old_lib /usr/$(get_libdir)/libgssapi.so.2
}
pkg_postinst() {
preserve_old_lib_notify /usr/$(get_libdir)/libgssapi.so.2
}

@ -1,125 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.5.ebuild,v 1.2 2011/10/23 12:00:45 armin76 Exp $
EAPI=2
# PYTHON_BDEPEND="2"
VIRTUALX_REQUIRED="manual"
inherit autotools db-use eutils libtool python 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"
IUSE="afs +berkdb caps hdb-ldap ipv6 otp +pkinit ssl 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
afs? ( net-fs/openafs )
hdb-ldap? ( >=net-nds/openldap-2.3.0 )
!!app-crypt/mit-krb5"
DEPEND="${RDEPEND}
=dev-lang/python-2*
dev-util/pkgconfig
>=sys-devel/autoconf-2.62
test? ( X? ( ${VIRTUALX_DEPEND} ) )"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
epatch "${FILESDIR}/heimdal_db5.patch"
epatch "${FILESDIR}/heimdal_disable-check-iprop.patch"
epatch "${FILESDIR}/heimdal_link_order.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 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 || die "emake failed"
}
src_install() {
INSTALL_CATPAGES="no" emake DESTDIR="${D}" install || die "emake install failed"
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-r1 heimdal-kdc
newinitd "${FILESDIR}"/heimdal-kadmind.initd-r1 heimdal-kadmind
newinitd "${FILESDIR}"/heimdal-kpasswdd.initd-r1 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
# default database dir
keepdir /var/heimdal
}

@ -1,3 +1,2 @@
DIST krb5-appl-1.0.1-signed.tar 645120 RMD160 ca0668b623dcf4dc5a0699fa47d86660aac5544a SHA1 128662c9860f61a51c9bcaf1b6217467faa12324 SHA256 124322481e4f8e0b119b527071f2f707168060e17748cf34c8bf5af747c3e311
DIST krb5-appl-1.0.2-signed.tar 634880 RMD160 af6e0c8ece7fe3821b373621672ad15e09508a90 SHA1 f9a75c1e3b495ab6b3a4004274ffb35f9fe24756 SHA256 ca82209ba11e37390a7b79b0eb27abac9526442d296d60b752a0a94969bbad7d DIST krb5-appl-1.0.2-signed.tar 634880 RMD160 af6e0c8ece7fe3821b373621672ad15e09508a90 SHA1 f9a75c1e3b495ab6b3a4004274ffb35f9fe24756 SHA256 ca82209ba11e37390a7b79b0eb27abac9526442d296d60b752a0a94969bbad7d
DIST krb5-appl-1.0.3-signed.tar 634880 RMD160 491359af5da2ea3c680811b08d9696eb43794a21 SHA1 6711c1b46633e666e6e707363ffffce5e1c84d9d SHA256 feb88581eba566554ad515a6fcf18cee11e8409a2c4755bf5188db96f0b7f039 DIST krb5-appl-1.0.3-signed.tar 634880 RMD160 491359af5da2ea3c680811b08d9696eb43794a21 SHA1 6711c1b46633e666e6e707363ffffce5e1c84d9d SHA256 feb88581eba566554ad515a6fcf18cee11e8409a2c4755bf5188db96f0b7f039

@ -1,58 +0,0 @@
diff --git a/configure.ac b/configure.ac
index 86e23f1..2fe68ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -107,6 +107,7 @@ AC_CHECK_FUNCS(_getpty cgetent getcwd getenv gettosbyname getusershell getutmp)
AC_CHECK_FUNCS(getutmpx grantpt inet_aton initgroups isatty killpg killpg)
AC_CHECK_FUNCS(line_push ptsname revoke rmufile rresvport_af)
AC_CHECK_FUNCS(seteuid setlogin setpgid setpriority setresuid setreuid)
+AC_CHECK_FUNCS(setegid setregid setresgid)
AC_CHECK_FUNCS(setutent setutsent setutxent strsave tcgetpgrp tcsetpgrp)
AC_CHECK_FUNCS(ttyname unsetenv updwtmp updwtmpx utimes utmpname utmpxname)
AC_CHECK_FUNCS(vhangup vsnprintf waitpid)
diff --git a/gssftp/ftpd/ftpd.c b/gssftp/ftpd/ftpd.c
index fe62a9c..a150819 100644
--- a/gssftp/ftpd/ftpd.c
+++ b/gssftp/ftpd/ftpd.c
@@ -994,9 +994,14 @@ login(passwd, logincode)
#endif
}
- (void) krb5_setegid((gid_t)pw->pw_gid);
- (void) initgroups(pw->pw_name, pw->pw_gid);
-
+ if (krb5_setegid((gid_t)pw->pw_gid) < 0) {
+ reply(550, "Can't set egid.");
+ goto bad;
+ }
+ if (geteuid() == 0 && initgroups(pw->pw_name, pw->pw_gid) < 0) {
+ reply(550, "Can't initgroups");
+ goto bad;
+ }
/* open wtmp before chroot */
(void) snprintf(ttyline, sizeof(ttyline), "ftp%ld", (long) getpid());
pty_logwtmp(ttyline, pw->pw_name, rhost_sane);
diff --git a/k5-util.h b/k5-util.h
index 7bb8cfb..64cd53d 100644
--- a/k5-util.h
+++ b/k5-util.h
@@ -69,8 +69,7 @@
#elif defined(HAVE_SETREUID)
# define krb5_seteuid(EUID) setreuid(geteuid(), (uid_t)(EUID))
#else
- /* You need to add a case to deal with this operating system.*/
-# define krb5_seteuid(EUID) (errno = EPERM, -1)
+# error "You need to add a case to deal with this operating system."
#endif
#ifdef HAVE_SETEGID
@@ -80,8 +79,7 @@
#elif defined(HAVE_SETREGID)
# define krb5_setegid(EGID) (setregid(getegid(), (gid_t)(EGID)))
#else
- /* You need to add a case to deal with this operating system.*/
-# define krb5_setegid(EGID) (errno = EPERM, -1)
+# error "You need to add a case to deal with this operating system."
#endif
#endif

@ -1,58 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5-appl/mit-krb5-appl-1.0.1-r1.ebuild,v 1.6 2011/07/11 02:00:58 jer Exp $
EAPI=4
inherit flag-o-matic versionator autotools eutils
MY_P=${P/mit-}
MAJOR_MINOR="$( get_version_component_range 1-2 )"
DESCRIPTION="Kerberized applications split from the main MIT Kerberos V distribution"
HOMEPAGE="http://web.mit.edu/kerberos/www/"
SRC_URI="http://web.mit.edu/kerberos/dist/krb5-appl/${MAJOR_MINOR}/${MY_P}-signed.tar"
LICENSE="as-is"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
IUSE=""
RDEPEND=">=app-crypt/mit-krb5-1.8.0"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
unpack ./"${MY_P}".tar.gz
}
src_prepare() {
epatch "${FILESDIR}/CVE-2011-1526.patch"
eautoreconf
}
src_configure() {
append-flags "-I/usr/include/et"
append-flags -fno-strict-aliasing
append-flags -fno-strict-overflow
econf
}
src_install() {
emake DESTDIR="${D}" install
for i in {telnetd,ftpd} ; do
mv "${D}"/usr/share/man/man8/${i}.8 "${D}"/usr/share/man/man8/k${i}.8 \
|| die "mv failed (man)"
mv "${D}"/usr/sbin/${i} "${D}"/usr/sbin/k${i} || die "mv failed"
done
for i in {rcp,rlogin,rsh,telnet,ftp} ; do
mv "${D}"/usr/share/man/man1/${i}.1 "${D}"/usr/share/man/man1/k${i}.1 \
|| die "mv failed (man)"
mv "${D}"/usr/bin/${i} "${D}"/usr/bin/k${i} || die "mv failed"
done
rm "${D}"/usr/share/man/man1/tmac.doc
dodoc README
}

@ -1,57 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5-appl/mit-krb5-appl-1.0.1.ebuild,v 1.7 2011/04/23 18:24:42 armin76 Exp $
EAPI="2"
inherit flag-o-matic versionator
MY_P=${P/mit-}
MAJOR_MINOR="$( get_version_component_range 1-2 )"
DESCRIPTION="Kerberized applications split from the main MIT Kerberos V distribution"
HOMEPAGE="http://web.mit.edu/kerberos/www/"
SRC_URI="http://web.mit.edu/kerberos/dist/krb5-appl/${MAJOR_MINOR}/${MY_P}-signed.tar"
LICENSE="as-is"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
IUSE=""
RDEPEND=">=app-crypt/mit-krb5-1.8.0"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
unpack ./"${MY_P}".tar.gz
}
src_configure() {
append-flags "-I/usr/include/et"
econf
}
src_compile() {
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
for i in {telnetd,ftpd} ; do
mv "${D}"/usr/share/man/man8/${i}.8 "${D}"/usr/share/man/man8/k${i}.8 \
|| die "mv failed (man)"
mv "${D}"/usr/sbin/${i} "${D}"/usr/sbin/k${i} || die "mv failed"
done
for i in {rcp,rlogin,rsh,telnet,ftp} ; do
mv "${D}"/usr/share/man/man1/${i}.1 "${D}"/usr/share/man/man1/k${i}.1 \
|| die "mv failed (man)"
mv "${D}"/usr/bin/${i} "${D}"/usr/bin/k${i} || die "mv failed"
done
rm "${D}"/usr/share/man/man1/tmac.doc
dodoc README
}

@ -1,53 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5-appl/mit-krb5-appl-1.0.2.ebuild,v 1.1 2011/07/13 10:45:22 eras Exp $
EAPI=4
inherit flag-o-matic versionator eutils
MY_P=${P/mit-}
MAJOR_MINOR="$( get_version_component_range 1-2 )"
DESCRIPTION="Kerberized applications split from the main MIT Kerberos V distribution"
HOMEPAGE="http://web.mit.edu/kerberos/www/"
SRC_URI="http://web.mit.edu/kerberos/dist/krb5-appl/${MAJOR_MINOR}/${MY_P}-signed.tar"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE=""
RDEPEND=">=app-crypt/mit-krb5-1.8.0"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
unpack ./"${MY_P}".tar.gz
}
src_configure() {
append-flags "-I/usr/include/et"
append-flags -fno-strict-aliasing
append-flags -fno-strict-overflow
econf
}
src_install() {
emake DESTDIR="${D}" install
for i in {telnetd,ftpd} ; do
mv "${D}"/usr/share/man/man8/${i}.8 "${D}"/usr/share/man/man8/k${i}.8 \
|| die "mv failed (man)"
mv "${D}"/usr/sbin/${i} "${D}"/usr/sbin/k${i} || die "mv failed"
done
for i in {rcp,rlogin,rsh,telnet,ftp} ; do
mv "${D}"/usr/share/man/man1/${i}.1 "${D}"/usr/share/man/man1/k${i}.1 \
|| die "mv failed (man)"
mv "${D}"/usr/bin/${i} "${D}"/usr/bin/k${i} || die "mv failed"
done
rm "${D}"/usr/share/man/man1/tmac.doc
dodoc README
}

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/gummi/gummi-0.6.1.ebuild,v 1.1 2011/12/02 18:30:50 hwoarang Exp $ # $Header: /var/cvsroot/gentoo-x86/app-editors/gummi/gummi-0.6.1.ebuild,v 1.2 2012/01/17 22:42:02 ago Exp $
EAPI=4 EAPI=4
inherit base eutils inherit base eutils
@ -11,7 +11,7 @@ SRC_URI="http://dev.midnightcoding.org/redmine/attachments/download/217/${P}.tar
LICENSE="MIT" LICENSE="MIT"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~x86" KEYWORDS="amd64 ~x86"
IUSE="" IUSE=""
LANGS="ar ca cs da de el es fr it nl pl pt pt_BR ro ru sv zh_TW" LANGS="ar ca cs da de el es fr it nl pl pt pt_BR ro ru sv zh_TW"

@ -1,6 +1,6 @@
DIST qemu-kvm-0.13.0.tar.gz 5153895 RMD160 7b8f4d8cdbb9730bb9d7fbf4cec165a8703696c4 SHA1 b8cfb8e8dbd403281a98a41f7d3eeaecc0aac8f1 SHA256 6db2600d7e3c1ed12feb6dc7596c23324bc2036a72f101cf580cef252ea9be53
DIST qemu-kvm-0.14.1-backports-2.tar.bz2 20045 RMD160 a6dfdfc4969ff96d287af389c99c9df9df16ff07 SHA1 4ea70f09ca8d24e30d307319352d9857031d3ccb SHA256 ab0e30b550475b379215d2fdeae9be2b8ad4e66a42bfad406683132892ea5982 DIST qemu-kvm-0.14.1-backports-2.tar.bz2 20045 RMD160 a6dfdfc4969ff96d287af389c99c9df9df16ff07 SHA1 4ea70f09ca8d24e30d307319352d9857031d3ccb SHA256 ab0e30b550475b379215d2fdeae9be2b8ad4e66a42bfad406683132892ea5982
DIST qemu-kvm-0.14.1.tar.gz 5321321 RMD160 e3d69b4756bb0e45d14baad72d85827d949e0ae0 SHA1 7378f10ea04db19e5a5009cae1ecb65517e82877 SHA256 a59c4f6ab8646f2f019d2f9f15443e4db8289cf7cf47743d3c63d18fc584da27 DIST qemu-kvm-0.14.1.tar.gz 5321321 RMD160 e3d69b4756bb0e45d14baad72d85827d949e0ae0 SHA1 7378f10ea04db19e5a5009cae1ecb65517e82877 SHA256 a59c4f6ab8646f2f019d2f9f15443e4db8289cf7cf47743d3c63d18fc584da27
DIST qemu-kvm-0.15.0-backports-1.tar.bz2 1174 RMD160 4ec6259824f18e7704e88b1c348cb21756345ea3 SHA1 c8788c8d9788fe868ece37c00100a17fe402eb84 SHA256 337810cd52fb8002ae39fcc1d486a224419664a064040c887ce66fe889360969 DIST qemu-kvm-0.15.0-backports-1.tar.bz2 1174 RMD160 4ec6259824f18e7704e88b1c348cb21756345ea3 SHA1 c8788c8d9788fe868ece37c00100a17fe402eb84 SHA256 337810cd52fb8002ae39fcc1d486a224419664a064040c887ce66fe889360969
DIST qemu-kvm-0.15.0.tar.gz 5916130 RMD160 71e32e95368b84e9441a9a1d051b03ed9b04d3ed SHA1 b009c05461fed20f3f3c3a03b153c457e33683d4 SHA256 828e771bffa540b0fbfe6fa5250adc92d5416720134d1f55a45c7926d83a4478 DIST qemu-kvm-0.15.0.tar.gz 5916130 RMD160 71e32e95368b84e9441a9a1d051b03ed9b04d3ed SHA1 b009c05461fed20f3f3c3a03b153c457e33683d4 SHA256 828e771bffa540b0fbfe6fa5250adc92d5416720134d1f55a45c7926d83a4478
DIST qemu-kvm-0.15.1.tar.gz 5915998 RMD160 dba914ca40d6c63e9f3abce409d7daee1d33323b SHA1 2716ddfc49d98fee67a1ff0de9b199d211e72bec SHA256 aed6a3faa76c1e9601b4b5b8adbe5867a70c64567175f44944d88e16bd49733e DIST qemu-kvm-0.15.1.tar.gz 5915998 RMD160 dba914ca40d6c63e9f3abce409d7daee1d33323b SHA1 2716ddfc49d98fee67a1ff0de9b199d211e72bec SHA256 aed6a3faa76c1e9601b4b5b8adbe5867a70c64567175f44944d88e16bd49733e
DIST qemu-kvm-1.0.tar.gz 6210473 RMD160 6503b6ec9c8d89b785d644f5c4b47b4716e2fab7 SHA1 c16be4924c30747d93d609b7909e9e9239150c9a SHA256 b711ead5a0a28bf43e7e51ce2082e37120a3527ab012c609bc30fb94d37e116e

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-0.15.0.ebuild,v 1.5 2011/08/14 13:40:51 flameeyes Exp $ # $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-0.15.0.ebuild,v 1.6 2012/01/17 22:23:53 cardoe Exp $
BACKPORTS=1 BACKPORTS=1
@ -93,9 +93,8 @@ RDEPEND="
DEPEND="${RDEPEND} DEPEND="${RDEPEND}
app-text/texi2html app-text/texi2html
>=sys-kernel/linux-headers-2.6.35 dev-util/pkgconfig
ssl? ( dev-util/pkgconfig ) >=sys-kernel/linux-headers-2.6.35"
"
kvm_kern_warn() { kvm_kern_warn() {
eerror "Please enable KVM support in your kernel, found at:" eerror "Please enable KVM support in your kernel, found at:"

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-0.15.1-r1.ebuild,v 1.2 2011/11/21 18:11:11 jmbsvicetto Exp $ # $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-0.15.1-r1.ebuild,v 1.3 2012/01/17 22:23:53 cardoe Exp $
#BACKPORTS=1 #BACKPORTS=1
@ -93,9 +93,8 @@ RDEPEND="
DEPEND="${RDEPEND} DEPEND="${RDEPEND}
app-text/texi2html app-text/texi2html
>=sys-kernel/linux-headers-2.6.35 dev-util/pkgconfig
ssl? ( dev-util/pkgconfig ) >=sys-kernel/linux-headers-2.6.35"
"
kvm_kern_warn() { kvm_kern_warn() {
eerror "Please enable KVM support in your kernel, found at:" eerror "Please enable KVM support in your kernel, found at:"

@ -1,22 +1,28 @@
# Copyright 1999-2011 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-0.13.0-r2.ebuild,v 1.5 2011/03/28 03:31:46 flameeyes Exp $ # $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-1.0.ebuild,v 1.3 2012/01/17 22:23:53 cardoe Exp $
EAPI="2" #BACKPORTS=1
EAPI="3"
if [[ ${PV} = *9999* ]]; then if [[ ${PV} = *9999* ]]; then
EGIT_REPO_URI="git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git" # EGIT_REPO_URI="git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git"
GIT_ECLASS="git" EGIT_REPO_URI="git://github.com/avikivity/kvm.git"
GIT_ECLASS="git-2"
fi fi
inherit eutils flag-o-matic ${GIT_ECLASS} linux-info toolchain-funcs multilib inherit eutils flag-o-matic ${GIT_ECLASS} linux-info toolchain-funcs multilib python
if [[ ${PV} = *9999* ]]; then if [[ ${PV} = *9999* ]]; then
SRC_URI="" SRC_URI=""
KEYWORDS="" KEYWORDS=""
else else
SRC_URI="mirror://sourceforge/kvm/${PN}/${P}.tar.gz" SRC_URI="mirror://sourceforge/kvm/${PN}/${P}.tar.gz
KEYWORDS="amd64 ~ppc ~ppc64 x86" ${BACKPORTS:+
http://dev.gentoo.org/~flameeyes/${PN}/${P}-backports-${BACKPORTS}.tar.bz2
http://dev.gentoo.org/~cardoe/distfiles/${P}-backports-${BACKPORTS}.tar.bz2}"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
fi fi
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools" DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
@ -25,19 +31,30 @@ HOMEPAGE="http://www.linux-kvm.org"
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
# xen is disabled until the deps are fixed # xen is disabled until the deps are fixed
IUSE="+aio alsa bluetooth brltty curl esd fdt hardened jpeg ncurses \ IUSE="+aio alsa bluetooth brltty curl debug esd fdt hardened jpeg ncurses nss \
png pulseaudio qemu-ifup sasl sdl ssl static vde" opengl png pulseaudio qemu-ifup rbd sasl sdl spice ssl threads vde \
+vhost-net xattr xen"
# static, depends on libsdl being built with USE=static-libs, which can not
# be expressed in current EAPI's
COMMON_TARGETS="i386 x86_64 arm cris m68k microblaze mips mipsel ppc ppc64 sh4 sh4eb sparc sparc64" COMMON_TARGETS="i386 x86_64 arm cris m68k microblaze mips mipsel ppc ppc64 sh4 sh4eb sparc sparc64"
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} mips64 mips64el ppcemb" IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} mips64 mips64el ppcemb"
IUSE_USER_TARGETS="${COMMON_TARGETS} alpha armeb ppc64abi32 sparc32plus" IUSE_USER_TARGETS="${COMMON_TARGETS} alpha armeb ppc64abi32 sparc32plus"
# Setup the default SoftMMU targets, while using the loops
# below to setup the other targets. x86_64 should be the only
# defaults on for qemu-kvm
IUSE="${IUSE} +qemu_softmmu_targets_x86_64"
for target in ${IUSE_SOFTMMU_TARGETS}; do for target in ${IUSE_SOFTMMU_TARGETS}; do
IUSE="${IUSE} +qemu_softmmu_targets_${target}" if [ "x${target}" = "xx86_64" ]; then
continue
fi
IUSE="${IUSE} qemu_softmmu_targets_${target}"
done done
for target in ${IUSE_USER_TARGETS}; do for target in ${IUSE_USER_TARGETS}; do
IUSE="${IUSE} +qemu_user_targets_${target}" IUSE="${IUSE} qemu_user_targets_${target}"
done done
RESTRICT="test" RESTRICT="test"
@ -45,35 +62,67 @@ RESTRICT="test"
RDEPEND=" RDEPEND="
!app-emulation/kqemu !app-emulation/kqemu
!app-emulation/qemu !app-emulation/qemu
!app-emulation/qemu-softmmu
!app-emulation/qemu-user !app-emulation/qemu-user
!app-emulation/qemu-kvm-spice >=dev-libs/glib-2.0
sys-apps/pciutils sys-apps/pciutils
>=sys-apps/util-linux-2.16.0 >=sys-apps/util-linux-2.16.0
sys-libs/zlib sys-libs/zlib
amd64? ( sys-apps/seabios )
x86? ( sys-apps/seabios )
aio? ( dev-libs/libaio ) aio? ( dev-libs/libaio )
alsa? ( >=media-libs/alsa-lib-1.0.13 ) alsa? ( >=media-libs/alsa-lib-1.0.13 )
bluetooth? ( net-wireless/bluez ) bluetooth? ( net-wireless/bluez )
brltty? ( app-accessibility/brltty ) brltty? ( app-accessibility/brltty )
curl? ( net-misc/curl ) curl? ( >=net-misc/curl-7.15.4 )
esd? ( media-sound/esound ) esd? ( media-sound/esound )
fdt? ( >=sys-apps/dtc-1.2.0 ) fdt? ( >=sys-apps/dtc-1.2.0 )
jpeg? ( virtual/jpeg ) jpeg? ( virtual/jpeg )
ncurses? ( sys-libs/ncurses ) ncurses? ( sys-libs/ncurses )
nss? ( dev-libs/nss )
opengl? ( virtual/opengl )
png? ( media-libs/libpng ) png? ( media-libs/libpng )
pulseaudio? ( media-sound/pulseaudio ) pulseaudio? ( media-sound/pulseaudio )
qemu-ifup? ( sys-apps/iproute2 net-misc/bridge-utils ) qemu-ifup? ( sys-apps/iproute2 net-misc/bridge-utils )
rbd? ( sys-cluster/ceph )
sasl? ( dev-libs/cyrus-sasl ) sasl? ( dev-libs/cyrus-sasl )
sdl? ( >=media-libs/libsdl-1.2.11[X] ) sdl? ( >=media-libs/libsdl-1.2.11[X] )
spice? ( >=app-emulation/spice-0.9.0
>=app-emulation/spice-protocol-0.8.1 )
ssl? ( net-libs/gnutls ) ssl? ( net-libs/gnutls )
vde? ( net-misc/vde ) vde? ( net-misc/vde )
xattr? ( sys-apps/attr )
xen? ( app-emulation/xen )
" "
DEPEND="${RDEPEND} DEPEND="${RDEPEND}
app-text/texi2html app-text/texi2html
>=sys-kernel/linux-headers-2.6.29 dev-util/pkgconfig
ssl? ( dev-util/pkgconfig ) >=sys-kernel/linux-headers-2.6.35"
"
STRIP_MASK="/usr/share/qemu/palcode-clipper"
QA_PRESTRIPPED="
usr/share/qemu/openbios-ppc
usr/share/qemu/openbios-sparc64
usr/share/qemu/openbios-sparc32
usr/share/qemu/palcode-clipper"
QA_WX_LOAD="${QA_PRESTRIPPED}
usr/bin/qemu-i386
usr/bin/qemu-x86_64
usr/bin/qemu-alpha
usr/bin/qemu-arm
usr/bin/qemu-cris
usr/bin/qemu-m68k
usr/bin/qemu-microblaze
usr/bin/qemu-mips
usr/bin/qemu-mipsel
usr/bin/qemu-sh4
usr/bin/qemu-sh4eb
usr/bin/qemu-sparc
usr/bin/qemu-sparc64
usr/bin/qemu-armeb
usr/bin/qemu-sparc32plus"
kvm_kern_warn() { kvm_kern_warn() {
eerror "Please enable KVM support in your kernel, found at:" eerror "Please enable KVM support in your kernel, found at:"
@ -83,8 +132,14 @@ kvm_kern_warn() {
eerror eerror
} }
pkg_setup() { pkg_pretend() {
use qemu_softmmu_targets_x86_64 || ewarn "You disabled default target QEMU_SOFTMMU_TARGETS=x86_64" if ! use qemu_softmmu_targets_x86_64 && use amd64 ; then
eerror "You disabled default target QEMU_SOFTMMU_TARGETS=x86_64"
fi
if ! use qemu_softmmu_targets_x86_64 && use x86 ; then
eerror "You disabled default target QEMU_SOFTMMU_TARGETS=x86_64"
fi
if kernel_is lt 2 6 25; then if kernel_is lt 2 6 25; then
eerror "This version of KVM requres a host kernel of 2.6.25 or higher." eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
@ -96,7 +151,16 @@ pkg_setup() {
elif ! linux_chkconfig_present KVM; then elif ! linux_chkconfig_present KVM; then
kvm_kern_warn kvm_kern_warn
fi fi
if use vhost-net && ! linux_chkconfig_present VHOST_NET ; then
ewarn "You have to enable CONFIG_VHOST_NET in the kernel"
ewarn "to have vhost-net support."
fi
fi fi
}
pkg_setup() {
python_set_active_version 2
enewgroup kvm enewgroup kvm
} }
@ -115,9 +179,11 @@ src_prepare() {
# ${PN}-guest-hang-on-usb-add.patch was sent by Timothy Jones # ${PN}-guest-hang-on-usb-add.patch was sent by Timothy Jones
# to the qemu-devel ml - bug 337988 # to the qemu-devel ml - bug 337988
epatch "${FILESDIR}/qemu-0.11.0-mips64-user-fix.patch" \ epatch "${FILESDIR}/qemu-0.11.0-mips64-user-fix.patch"
"${FILESDIR}/${PN}-0.12.3-include-madvise-defines.patch"
# "${FILESDIR}/${PN}-guest-hang-on-usb-add.patch" [[ -n ${BACKPORTS} ]] && \
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
epatch
} }
src_configure() { src_configure() {
@ -134,7 +200,8 @@ src_configure() {
done done
if [ -z "${softmmu_targets}" ]; then if [ -z "${softmmu_targets}" ]; then
conf_opts="${conf_opts} --disable-system" eerror "All SoftMMU targets are disabled. This is invalid for qemu-kvm"
die "At least 1 SoftMMU target must be enabled"
else else
einfo "Building the following softmmu targets: ${softmmu_targets}" einfo "Building the following softmmu targets: ${softmmu_targets}"
fi fi
@ -150,7 +217,10 @@ src_configure() {
conf_opts="${conf_opts} --extra-ldflags=-Wl,-z,execheap" conf_opts="${conf_opts} --extra-ldflags=-Wl,-z,execheap"
# Add support for static builds # Add support for static builds
use static && conf_opts="${conf_opts} --static" #use static && conf_opts="${conf_opts} --static"
# Support debug USE flag
use debug && conf_opts="${conf_opts} --enable-debug --disable-strip"
# Fix the $(prefix)/etc issue # Fix the $(prefix)/etc issue
conf_opts="${conf_opts} --sysconfdir=/etc" conf_opts="${conf_opts} --sysconfdir=/etc"
@ -161,16 +231,22 @@ src_configure() {
conf_opts="${conf_opts} $(use_enable brltty brlapi)" conf_opts="${conf_opts} $(use_enable brltty brlapi)"
conf_opts="${conf_opts} $(use_enable curl)" conf_opts="${conf_opts} $(use_enable curl)"
conf_opts="${conf_opts} $(use_enable fdt)" conf_opts="${conf_opts} $(use_enable fdt)"
conf_opts="${conf_opts} $(use_enable hardened user-pie)" conf_opts="${conf_opts} $(use_enable hardened pie)"
conf_opts="${conf_opts} $(use_enable jpeg vnc-jpeg)" conf_opts="${conf_opts} $(use_enable jpeg vnc-jpeg)"
conf_opts="${conf_opts} $(use_enable ncurses curses)" conf_opts="${conf_opts} $(use_enable ncurses curses)"
conf_opts="${conf_opts} $(use_enable nss smartcard-nss)"
conf_opts="${conf_opts} $(use_enable opengl)"
conf_opts="${conf_opts} $(use_enable png vnc-png)" conf_opts="${conf_opts} $(use_enable png vnc-png)"
conf_opts="${conf_opts} $(use_enable rbd)"
conf_opts="${conf_opts} $(use_enable sasl vnc-sasl)" conf_opts="${conf_opts} $(use_enable sasl vnc-sasl)"
conf_opts="${conf_opts} $(use_enable sdl)" conf_opts="${conf_opts} $(use_enable sdl)"
conf_opts="${conf_opts} $(use_enable spice)"
conf_opts="${conf_opts} $(use_enable ssl vnc-tls)" conf_opts="${conf_opts} $(use_enable ssl vnc-tls)"
conf_opts="${conf_opts} $(use_enable threads vnc-thread)"
conf_opts="${conf_opts} $(use_enable vde)" conf_opts="${conf_opts} $(use_enable vde)"
# conf_opts="${conf_opts} $(use_enable xen)" conf_opts="${conf_opts} $(use_enable vhost-net)"
conf_opts="${conf_opts} --disable-xen" conf_opts="${conf_opts} $(use_enable xen)"
conf_opts="${conf_opts} $(use_enable xattr attr)"
conf_opts="${conf_opts} --disable-darwin-user --disable-bsd-user" conf_opts="${conf_opts} --disable-darwin-user --disable-bsd-user"
# audio options # audio options
@ -199,16 +275,11 @@ src_configure() {
# --enable-io-thread \ # --enable-io-thread \
} }
src_compile() {
# Restricting parallel build until we get a patch to fix this
emake -j1 || die
}
src_install() { src_install() {
emake DESTDIR="${D}" install || die "make install failed" emake DESTDIR="${D}" install || die "make install failed"
if [ ! -z "${softmmu_targets}" ]; then if [ ! -z "${softmmu_targets}" ]; then
insinto /$(get_libdir)/udev/rules.d/ insinto /lib/udev/rules.d/
doins kvm/scripts/65-kvm.rules || die doins kvm/scripts/65-kvm.rules || die
if use qemu-ifup; then if use qemu-ifup; then
@ -229,6 +300,13 @@ src_install() {
dodoc Changelog MAINTAINERS TODO pci-ids.txt || die dodoc Changelog MAINTAINERS TODO pci-ids.txt || die
newdoc pc-bios/README README.pc-bios || die newdoc pc-bios/README README.pc-bios || die
dohtml qemu-doc.html qemu-tech.html || die dohtml qemu-doc.html qemu-tech.html || die
# FIXME: Need to come up with a solution for non-x86 based systems
if use x86 || use amd64; then
# Remove SeaBIOS since we're using the SeaBIOS packaged one
rm "${D}/usr/share/qemu/bios.bin"
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
fi
} }
pkg_postinst() { pkg_postinst() {

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-9999.ebuild,v 1.25 2011/11/21 18:11:11 jmbsvicetto Exp $ # $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-9999.ebuild,v 1.26 2012/01/17 22:25:48 cardoe Exp $
#BACKPORTS=1 #BACKPORTS=1
@ -31,7 +31,7 @@ LICENSE="GPL-2"
SLOT="0" SLOT="0"
# xen is disabled until the deps are fixed # xen is disabled until the deps are fixed
IUSE="+aio alsa bluetooth brltty curl debug esd fdt hardened jpeg ncurses nss \ IUSE="+aio alsa bluetooth brltty curl debug esd fdt hardened jpeg ncurses nss \
png pulseaudio qemu-ifup rbd sasl sdl spice ssl threads vde \ opengl png pulseaudio qemu-ifup rbd sasl sdl spice ssl threads vde \
+vhost-net xattr xen" +vhost-net xattr xen"
# static, depends on libsdl being built with USE=static-libs, which can not # static, depends on libsdl being built with USE=static-libs, which can not
# be expressed in current EAPI's # be expressed in current EAPI's
@ -78,13 +78,15 @@ RDEPEND="
jpeg? ( virtual/jpeg ) jpeg? ( virtual/jpeg )
ncurses? ( sys-libs/ncurses ) ncurses? ( sys-libs/ncurses )
nss? ( dev-libs/nss ) nss? ( dev-libs/nss )
opengl? ( virtual/opengl )
png? ( media-libs/libpng ) png? ( media-libs/libpng )
pulseaudio? ( media-sound/pulseaudio ) pulseaudio? ( media-sound/pulseaudio )
qemu-ifup? ( sys-apps/iproute2 net-misc/bridge-utils ) qemu-ifup? ( sys-apps/iproute2 net-misc/bridge-utils )
rbd? ( sys-cluster/ceph ) rbd? ( sys-cluster/ceph )
sasl? ( dev-libs/cyrus-sasl ) sasl? ( dev-libs/cyrus-sasl )
sdl? ( >=media-libs/libsdl-1.2.11[X] ) sdl? ( >=media-libs/libsdl-1.2.11[X] )
spice? ( >=app-emulation/spice-0.6.0 ) spice? ( >=app-emulation/spice-0.9.0
>=app-emulation/spice-protocol-0.8.1 )
ssl? ( net-libs/gnutls ) ssl? ( net-libs/gnutls )
vde? ( net-misc/vde ) vde? ( net-misc/vde )
xattr? ( sys-apps/attr ) xattr? ( sys-apps/attr )
@ -93,9 +95,33 @@ RDEPEND="
DEPEND="${RDEPEND} DEPEND="${RDEPEND}
app-text/texi2html app-text/texi2html
>=sys-kernel/linux-headers-2.6.35 dev-util/pkgconfig
ssl? ( dev-util/pkgconfig ) >=sys-kernel/linux-headers-2.6.35"
"
STRIP_MASK="/usr/share/qemu/palcode-clipper"
QA_PRESTRIPPED="
usr/share/qemu/openbios-ppc
usr/share/qemu/openbios-sparc64
usr/share/qemu/openbios-sparc32
usr/share/qemu/palcode-clipper"
QA_WX_LOAD="${QA_PRESTRIPPED}
usr/bin/qemu-i386
usr/bin/qemu-x86_64
usr/bin/qemu-alpha
usr/bin/qemu-arm
usr/bin/qemu-cris
usr/bin/qemu-m68k
usr/bin/qemu-microblaze
usr/bin/qemu-mips
usr/bin/qemu-mipsel
usr/bin/qemu-sh4
usr/bin/qemu-sh4eb
usr/bin/qemu-sparc
usr/bin/qemu-sparc64
usr/bin/qemu-armeb
usr/bin/qemu-sparc32plus"
kvm_kern_warn() { kvm_kern_warn() {
eerror "Please enable KVM support in your kernel, found at:" eerror "Please enable KVM support in your kernel, found at:"
@ -105,8 +131,8 @@ kvm_kern_warn() {
eerror eerror
} }
pkg_setup() { pkg_pretend() {
if ! use qemu_softmmu_targets_x86_64 && use x86_64 ; then if ! use qemu_softmmu_targets_x86_64 && use amd64 ; then
eerror "You disabled default target QEMU_SOFTMMU_TARGETS=x86_64" eerror "You disabled default target QEMU_SOFTMMU_TARGETS=x86_64"
fi fi
@ -129,6 +155,9 @@ pkg_setup() {
ewarn "to have vhost-net support." ewarn "to have vhost-net support."
fi fi
fi fi
}
pkg_setup() {
python_set_active_version 2 python_set_active_version 2
@ -201,10 +230,11 @@ src_configure() {
conf_opts="${conf_opts} $(use_enable brltty brlapi)" conf_opts="${conf_opts} $(use_enable brltty brlapi)"
conf_opts="${conf_opts} $(use_enable curl)" conf_opts="${conf_opts} $(use_enable curl)"
conf_opts="${conf_opts} $(use_enable fdt)" conf_opts="${conf_opts} $(use_enable fdt)"
conf_opts="${conf_opts} $(use_enable hardened user-pie)" conf_opts="${conf_opts} $(use_enable hardened pie)"
conf_opts="${conf_opts} $(use_enable jpeg vnc-jpeg)" conf_opts="${conf_opts} $(use_enable jpeg vnc-jpeg)"
conf_opts="${conf_opts} $(use_enable ncurses curses)" conf_opts="${conf_opts} $(use_enable ncurses curses)"
conf_opts="${conf_opts} $(use_enable nss smartcard-nss)" conf_opts="${conf_opts} $(use_enable nss smartcard-nss)"
conf_opts="${conf_opts} $(use_enable opengl)"
conf_opts="${conf_opts} $(use_enable png vnc-png)" conf_opts="${conf_opts} $(use_enable png vnc-png)"
conf_opts="${conf_opts} $(use_enable rbd)" conf_opts="${conf_opts} $(use_enable rbd)"
conf_opts="${conf_opts} $(use_enable sasl vnc-sasl)" conf_opts="${conf_opts} $(use_enable sasl vnc-sasl)"
@ -248,7 +278,7 @@ src_install() {
emake DESTDIR="${D}" install || die "make install failed" emake DESTDIR="${D}" install || die "make install failed"
if [ ! -z "${softmmu_targets}" ]; then if [ ! -z "${softmmu_targets}" ]; then
insinto /$(get_libdir)/udev/rules.d/ insinto /lib/udev/rules.d/
doins kvm/scripts/65-kvm.rules || die doins kvm/scripts/65-kvm.rules || die
if use qemu-ifup; then if use qemu-ifup; then

@ -1,4 +1,4 @@
DIST virt-manager-0.8.7.tar.gz 1879504 RMD160 e80475270e54018b89e5a1a58c467478c03c71b5 SHA1 fe1565b9836b23cefb37d60b403be5b302e83472 SHA256 1907ec0e5479d6af8b4882fc068b74fa8c04f8d36ab0a503b405a937fe765dd5 DIST virt-manager-0.8.7.tar.gz 1879504 RMD160 e80475270e54018b89e5a1a58c467478c03c71b5 SHA1 fe1565b9836b23cefb37d60b403be5b302e83472 SHA256 1907ec0e5479d6af8b4882fc068b74fa8c04f8d36ab0a503b405a937fe765dd5
DIST virt-manager-0.9.0-bp-1.tar.bz2 707 RMD160 e4614dd36bd1a334080dcb712d731665944ef705 SHA1 dc007460bb721eb385c02de671045820926626b6 SHA256 823ae2aea4515e47db9791e3edda78530223a48ba2fa0bdb33a328e85e64f284 DIST virt-manager-0.9.0-bp-1.tar.bz2 707 RMD160 e4614dd36bd1a334080dcb712d731665944ef705 SHA1 dc007460bb721eb385c02de671045820926626b6 SHA256 823ae2aea4515e47db9791e3edda78530223a48ba2fa0bdb33a328e85e64f284
DIST virt-manager-0.9.0-bp-2.tar.bz2 18472 RMD160 69525e49850409d67bc40c3cf67a8c1d7e9c7d7a SHA1 c0d223ea5d2359490467b2131ffc78d1cbc8ccca SHA256 83d9580bec5a0b40d0231944e760899b24b5766fddc3fe350e91ecc9f727bd0a DIST virt-manager-0.9.0-bp-3.tar.bz2 18189 RMD160 8fc427d55d2167ac4ffa0ae273144f7f7e128924 SHA1 db2e90dffd0888b0397a9fb6438edd4519780889 SHA256 96420d356a0ea4af7be88be6613107e1621ca0cc08bdf7407967422a1c9f45c1
DIST virt-manager-0.9.0.tar.gz 1951176 RMD160 f3af53591babe3d95c4017d19a292fd6c1bfee97 SHA1 e937b9aedc7c4ebc84fbfa48c622d1918cf7a335 SHA256 db0de808efa5d6bae0bdc2db796e58ea79f9e1db20d9a5a5977b28b4b85d4321 DIST virt-manager-0.9.0.tar.gz 1951176 RMD160 f3af53591babe3d95c4017d19a292fd6c1bfee97 SHA1 e937b9aedc7c4ebc84fbfa48c622d1918cf7a335 SHA256 db0de808efa5d6bae0bdc2db796e58ea79f9e1db20d9a5a5977b28b4b85d4321

@ -1,8 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/virt-manager-0.9.0-r2.ebuild,v 1.1 2012/01/16 21:20:12 cardoe Exp $ # $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/virt-manager-0.9.0-r2.ebuild,v 1.3 2012/01/17 17:55:18 cardoe Exp $
BACKPORTS=2 BACKPORTS=3
EAPI=2 EAPI=2
@ -27,7 +27,7 @@ else
${BACKPORTS:+mirror://gentoo/${P}-bp-${BACKPORTS}.tar.bz2 ${BACKPORTS:+mirror://gentoo/${P}-bp-${BACKPORTS}.tar.bz2
http://dev.gentoo.org/~cardoe/distfiles/${P}-bp-${BACKPORTS}.tar.bz2}" http://dev.gentoo.org/~cardoe/distfiles/${P}-bp-${BACKPORTS}.tar.bz2}"
KEYWORDS="~amd64 ~x86" KEYWORDS="~amd64 ~x86"
VIRTINSTDEP=">=app-emulation/virtinst-0.600.0" VIRTINSTDEP=">app-emulation/virtinst-0.600.0"
fi fi
DESCRIPTION="A graphical tool for administering virtual machines (KVM/Xen)" DESCRIPTION="A graphical tool for administering virtual machines (KVM/Xen)"

@ -1,2 +1,3 @@
DIST virtinst-0.500.6.tar.gz 549365 RMD160 3f2d5865216208326c9ad8b5f6777a6317d189ee SHA1 50a55d34e5f46777e7446254262b30904eb0adc3 SHA256 ed824870f7ec8be1c499065a04c9de04977ef62a2e527db0151fc7a13bf1ce7b DIST virtinst-0.500.6.tar.gz 549365 RMD160 3f2d5865216208326c9ad8b5f6777a6317d189ee SHA1 50a55d34e5f46777e7446254262b30904eb0adc3 SHA256 ed824870f7ec8be1c499065a04c9de04977ef62a2e527db0151fc7a13bf1ce7b
DIST virtinst-0.600.0-bp-1.tar.bz2 12155 RMD160 e86fea313a0cd3fb8bae2b6de359c972eda0b6f3 SHA1 1fbe1b07c9be3e102cbe4c93ec8db44b12607d25 SHA256 e8f40e54cab1e3c22fbaaabd8b32c3235f13f378271b88b52f1fc8d896eba64d
DIST virtinst-0.600.0.tar.gz 576764 RMD160 6efb6ce5ad6d6c4d5ffbc95e1695ac125d1ee249 SHA1 c7b14287927969e20ce60e3726bfe7e3dc57a4fe SHA256 92dc8f14d31ffb0e79479fab982203027c45c83d25e73af7627f589f92ca797a DIST virtinst-0.600.0.tar.gz 576764 RMD160 6efb6ce5ad6d6c4d5ffbc95e1695ac125d1ee249 SHA1 c7b14287927969e20ce60e3726bfe7e3dc57a4fe SHA256 92dc8f14d31ffb0e79479fab982203027c45c83d25e73af7627f589f92ca797a

@ -0,0 +1,48 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtinst/virtinst-0.600.0-r1.ebuild,v 1.1 2012/01/17 17:51:26 cardoe Exp $
BACKPORTS=1
EAPI=3
if [[ ${PV} = *9999* ]]; then
EGIT_REPO_URI="http://git.fedorahosted.org/git/python-virtinst.git"
GIT_ECLASS="git-2"
fi
PYTHON_DEPEND="2"
RESTRICT_PYTHON_ABIS="3.*"
SUPPORT_PYTHON_ABIS="1"
inherit distutils eutils ${GIT_ECLASS}
if [[ ${PV} = *9999* ]]; then
SRC_URI=""
KEYWORDS=""
else
SRC_URI="http://virt-manager.et.redhat.com/download/sources/${PN}/${P}.tar.gz
${BACKPORTS:+mirror://gentoo/${P}-bp-${BACKPORTS}.tar.bz2
http://dev.gentoo.org/~cardoe/distfiles/${P}-bp-${BACKPORTS}.tar.bz2}"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="Python modules for starting virtualized guest installations"
HOMEPAGE="http://virt-manager.et.redhat.com/"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
RDEPEND=">=app-emulation/libvirt-0.7.0[python]
dev-python/urlgrabber
dev-libs/libxml2[python]"
DEPEND="${RDEPEND}"
PYTHON_MODNAME="virtconv virtinst"
src_prepare() {
[[ -n ${BACKPORTS} ]] && \
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
epatch
distutils_src_prepare
}

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/enca/enca-1.13-r2.ebuild,v 1.1 2011/12/06 13:53:04 maksbotan Exp $ # $Header: /var/cvsroot/gentoo-x86/app-i18n/enca/enca-1.13-r2.ebuild,v 1.2 2012/01/17 13:02:34 ago Exp $
EAPI="4" EAPI="4"
@ -12,7 +12,7 @@ SRC_URI="http://dl.cihar.com/${PN}/${P}.tar.bz2"
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="doc +recode" IUSE="doc +recode"
DEPEND="recode? ( >=app-text/recode-3.6_p15 )" DEPEND="recode? ( >=app-text/recode-3.6_p15 )"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/laptop-mode-tools-1.60-r1.ebuild,v 1.2 2012/01/16 19:23:12 ssuominen Exp $ # $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/laptop-mode-tools-1.60-r1.ebuild,v 1.4 2012/01/17 12:58:46 ago Exp $
EAPI=4 EAPI=4
@ -12,10 +12,11 @@ SRC_URI="http://www.samwel.tk/laptop_mode/tools/downloads/${MY_P}.tar.gz"
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86" KEYWORDS="amd64 ~ppc ~x86"
IUSE="acpi apm bluetooth scsi" IUSE="acpi apm bluetooth scsi"
RDEPEND="sys-apps/ethtool RDEPEND="net-wireless/wireless-tools
sys-apps/ethtool
sys-apps/hdparm sys-apps/hdparm
acpi? ( sys-power/acpid ) acpi? ( sys-power/acpid )
apm? ( sys-apps/apmd ) apm? ( sys-apps/apmd )

@ -2,3 +2,4 @@ DIST byobu_4.55.orig.tar.gz 444603 RMD160 0dcfe530095e3b3fdf4217d7e945a3b7ea2c3f
DIST byobu_5.0.orig.tar.gz 445115 RMD160 e628ff16a1dc46ece54a578d172c1a108ace42eb SHA1 6673d28defbca05fda27c793e992075f9e663240 SHA256 1ae783a8250f846b41f7366feeb806ca94f1d90c3c025899ca1b0c1ac1d5ca67 DIST byobu_5.0.orig.tar.gz 445115 RMD160 e628ff16a1dc46ece54a578d172c1a108ace42eb SHA1 6673d28defbca05fda27c793e992075f9e663240 SHA256 1ae783a8250f846b41f7366feeb806ca94f1d90c3c025899ca1b0c1ac1d5ca67
DIST byobu_5.1.orig.tar.gz 445194 RMD160 26bb9c52ddda1574ef38e6a8fd71a55a1fca88a9 SHA1 8b27c9028500721879cb1501bf0b8027923ba4e7 SHA256 abdbea19759505092728266d509f333948fe6862cd82db378e5d52518d2ef6fb DIST byobu_5.1.orig.tar.gz 445194 RMD160 26bb9c52ddda1574ef38e6a8fd71a55a1fca88a9 SHA1 8b27c9028500721879cb1501bf0b8027923ba4e7 SHA256 abdbea19759505092728266d509f333948fe6862cd82db378e5d52518d2ef6fb
DIST byobu_5.2.orig.tar.gz 334656 RMD160 6a9a006f3b44988d1d5f53c469fb79bd1dd2525e SHA1 c4e5254d35ece10189ee2ef5c9c36a364d7f29ba SHA256 ea1f3af34a74bfe16b350782c289ac6c45ccb6b596f45c47000143712937e2ff DIST byobu_5.2.orig.tar.gz 334656 RMD160 6a9a006f3b44988d1d5f53c469fb79bd1dd2525e SHA1 c4e5254d35ece10189ee2ef5c9c36a364d7f29ba SHA256 ea1f3af34a74bfe16b350782c289ac6c45ccb6b596f45c47000143712937e2ff
DIST byobu_5.4.orig.tar.gz 336895 RMD160 d80a65a7e85d5deaa1be1227a123db6aafaae86a SHA1 4d4c22fcf536d75afdde84f720b0eb363c722ad0 SHA256 2f2dd7eaf88d627853de184243d92132db437af1d1c81ac1f4a1639662fad339

@ -0,0 +1,32 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.4.ebuild,v 1.1 2012/01/17 23:42:33 radhermit Exp $
EAPI="4"
PYTHON_DEPEND="2"
inherit python
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
HOMEPAGE="https://launchpad.net/byobu"
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="|| ( app-misc/screen app-misc/tmux )
dev-libs/newt"
src_prepare() {
python_convert_shebangs -r 2 .
}
src_install() {
emake DESTDIR="${D}" install
# Create symlinks for backends
dosym ${PN} /usr/bin/${PN}-screen
dosym ${PN} /usr/bin/${PN}-tmux
}

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/geoclue/geoclue-0.12.0_p20110307.ebuild,v 1.5 2011/12/10 10:26:51 hwoarang Exp $ # $Header: /var/cvsroot/gentoo-x86/app-misc/geoclue/geoclue-0.12.0_p20110307.ebuild,v 1.6 2012/01/17 13:53:26 ago Exp $
EAPI=4 EAPI=4
inherit autotools eutils inherit autotools eutils
@ -11,7 +11,7 @@ SRC_URI="http://dev.gentoo.org/~signals/${P}.tar.bz2"
LICENSE="LGPL-2" LICENSE="LGPL-2"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~x86" KEYWORDS="amd64 ~x86"
IUSE="geonames gps gsmloc gtk hostip manual networkmanager nominatim plazes IUSE="geonames gps gsmloc gtk hostip manual networkmanager nominatim plazes
skyhook yahoo-geo" skyhook yahoo-geo"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/dvipsk/dvipsk-5.991_p20110705-r1.ebuild,v 1.3 2012/01/16 13:15:04 ago Exp $ # $Header: /var/cvsroot/gentoo-x86/app-text/dvipsk/dvipsk-5.991_p20110705-r1.ebuild,v 1.4 2012/01/17 17:18:39 phajdan.jr Exp $
EAPI=3 EAPI=3
@ -29,7 +29,7 @@ SRC_URI="${SRC_URI} ) "
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="doc source" IUSE="doc source"
DEPEND=">=dev-libs/kpathsea-6.0.1_p20110627" DEPEND=">=dev-libs/kpathsea-6.0.1_p20110627"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/ps2pkm/ps2pkm-1.5_p20110705.ebuild,v 1.3 2012/01/16 13:15:49 ago Exp $ # $Header: /var/cvsroot/gentoo-x86/app-text/ps2pkm/ps2pkm-1.5_p20110705.ebuild,v 1.4 2012/01/17 17:19:08 phajdan.jr Exp $
EAPI=3 EAPI=3
@ -10,7 +10,7 @@ SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz"
LICENSE="MIT" LICENSE="MIT"
SLOT="0" SLOT="0"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="" IUSE=""
DEPEND=">=dev-libs/kpathsea-6.0.1_p20110627" DEPEND=">=dev-libs/kpathsea-6.0.1_p20110627"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/ronn/ronn-0.7.3.ebuild,v 1.8 2012/01/16 19:21:53 graaff Exp $ # $Header: /var/cvsroot/gentoo-x86/app-text/ronn/ronn-0.7.3.ebuild,v 1.9 2012/01/17 13:55:55 ago Exp $
EAPI=2 EAPI=2
USE_RUBY="ruby18 ree18" USE_RUBY="ruby18 ree18"
@ -15,7 +15,7 @@ HOMEPAGE="http://github.com/rtomayko/ronn/"
LICENSE="MIT" LICENSE="MIT"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="" IUSE=""

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/texlive-core/texlive-core-2011-r5.ebuild,v 1.3 2012/01/16 13:14:23 ago Exp $ # $Header: /var/cvsroot/gentoo-x86/app-text/texlive-core/texlive-core-2011-r5.ebuild,v 1.4 2012/01/17 17:18:00 phajdan.jr Exp $
EAPI=3 EAPI=3
@ -61,7 +61,7 @@ for i in ${TL_CORE_EXTRA_SRC_MODULES}; do
done done
SRC_URI="${SRC_URI} )" SRC_URI="${SRC_URI} )"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd"
IUSE="cjk X doc source tk xetex" IUSE="cjk X doc source tk xetex"
MODULAR_X_DEPEND="X? ( MODULAR_X_DEPEND="X? (

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/texlive/texlive-2011.ebuild,v 1.6 2012/01/16 13:13:26 ago Exp $ # $Header: /var/cvsroot/gentoo-x86/app-text/texlive/texlive-2011.ebuild,v 1.7 2012/01/17 17:16:31 phajdan.jr Exp $
EAPI="2" EAPI="2"
@ -10,7 +10,7 @@ SRC_URI=""
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="cjk context detex doc dvi2tty dvipdfm extra games graphics IUSE="cjk context detex doc dvi2tty dvipdfm extra games graphics
humanities jadetex luatex music omega pdfannotextractor png pstricks publishers science tex4ht humanities jadetex luatex music omega pdfannotextractor png pstricks publishers science tex4ht
truetype xetex xindy xml X" truetype xetex xindy xml X"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.3.9.ebuild,v 1.7 2012/01/16 20:24:49 halcy0n Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.3.9.ebuild,v 1.8 2012/01/17 05:18:51 jer Exp $
EAPI=4 EAPI=4
@ -12,7 +12,7 @@ SUHOSIN_VERSION="5.3.9-0.9.10-gentoo"
FPM_VERSION="builtin" FPM_VERSION="builtin"
EXPECTED_TEST_FAILURES="" EXPECTED_TEST_FAILURES=""
KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 s390 sh sparc x86" KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
function php_get_uri () function php_get_uri ()
{ {

@ -1,2 +1,3 @@
DIST libnl-1.1.tar.gz 288932 RMD160 ebfc660302f31e5a94f03683f1ba85a3e057cf30 SHA1 54c7d02f93b09b43338e5cbf42f1373e83566577 SHA256 35cea4cfb6cd8af0cafa0f34fff81def5a1f193b8b8384299b4b21883e22edc3 DIST libnl-1.1.tar.gz 288932 RMD160 ebfc660302f31e5a94f03683f1ba85a3e057cf30 SHA1 54c7d02f93b09b43338e5cbf42f1373e83566577 SHA256 35cea4cfb6cd8af0cafa0f34fff81def5a1f193b8b8384299b4b21883e22edc3
DIST libnl-3.2.3.tar.gz 1123915 RMD160 97eff52f603930c350e2cd093f8c6141d3c3aedf SHA1 a6485f2e2cebde833c678d4541e8c4c7c1776be3 SHA256 69f4a360350ea61f2c988f947c251995c04093c74743eae9eeffba85846ef007 DIST libnl-3.2.3.tar.gz 1123915 RMD160 97eff52f603930c350e2cd093f8c6141d3c3aedf SHA1 a6485f2e2cebde833c678d4541e8c4c7c1776be3 SHA256 69f4a360350ea61f2c988f947c251995c04093c74743eae9eeffba85846ef007
DIST libnl-3.2.6.tar.gz 1124714 RMD160 188d562b0282b87a728599b37fb1137643b3e164 SHA1 6961bc8dca96442f7203779f4eca59f63005864f SHA256 8b40b67407232e0835e6972da9c319a3aefd60c7a7958c0036486a8969b61a18

@ -0,0 +1,34 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-3.2.6.ebuild,v 1.1 2012/01/17 15:38:50 jer Exp $
EAPI="4"
inherit eutils multilib
DESCRIPTION="A library for applications dealing with netlink socket"
HOMEPAGE="http://www.infradead.org/~tgr/libnl/"
SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="3"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
IUSE="static-libs utils"
src_prepare() {
epatch \
"${FILESDIR}"/${PN}-1.1-vlan-header.patch
}
src_configure() {
econf $(use_enable static-libs static) $(use_enable utils cli)
}
src_install() {
default
if ! use static-libs; then
rm -f "${D}"/usr/lib*/lib*.la
fi
dodoc ChangeLog
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libofx/libofx-0.9.4.ebuild,v 1.3 2012/01/15 18:49:07 armin76 Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-libs/libofx/libofx-0.9.4.ebuild,v 1.4 2012/01/17 21:22:34 jer Exp $
EAPI=4 EAPI=4
@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
KEYWORDS="alpha amd64 ~hppa ia64 ~ppc ~ppc64 sparc x86" KEYWORDS="alpha amd64 hppa ia64 ~ppc ~ppc64 sparc x86"
IUSE="static-libs test" IUSE="static-libs test"
RDEPEND=">=app-text/opensp-1.5 RDEPEND=">=app-text/opensp-1.5

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libp11/libp11-0.2.8-r1.ebuild,v 1.1 2012/01/02 19:40:31 vapier Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-libs/libp11/libp11-0.2.8-r1.ebuild,v 1.2 2012/01/17 22:20:49 vapier Exp $
EAPI="4" EAPI="4"
inherit eutils autotools inherit eutils autotools
@ -17,7 +17,7 @@ fi
LICENSE="LGPL-2.1" LICENSE="LGPL-2.1"
SLOT="0" SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="doc" IUSE="doc"
RDEPEND="dev-libs/openssl" RDEPEND="dev-libs/openssl"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libp11/libp11-0.2.8.ebuild,v 1.6 2012/01/01 15:55:19 armin76 Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-libs/libp11/libp11-0.2.8.ebuild,v 1.7 2012/01/17 22:20:49 vapier Exp $
EAPI="4" EAPI="4"
inherit libtool inherit libtool
@ -17,7 +17,7 @@ fi
LICENSE="LGPL-2.1" LICENSE="LGPL-2.1"
SLOT="0" SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ~ppc ~ppc64 sparc x86" KEYWORDS="alpha amd64 arm hppa ia64 ~ppc ~ppc64 s390 sh sparc x86"
IUSE="doc" IUSE="doc"
# libtool is required at runtime as it uses libltdl. # libtool is required at runtime as it uses libltdl.

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libzip/libzip-0.10-r1.ebuild,v 1.6 2012/01/15 15:48:45 phajdan.jr Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-libs/libzip/libzip-0.10-r1.ebuild,v 1.7 2012/01/17 23:14:46 jer Exp $
EAPI=3 EAPI=3
@ -13,7 +13,7 @@ SRC_URI="http://www.nih.at/libzip/${MY_P}.tar.gz"
LICENSE="BSD" LICENSE="BSD"
SLOT="0" SLOT="0"
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos" KEYWORDS="~alpha amd64 hppa ~ia64 ~mips ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
IUSE="static-libs" IUSE="static-libs"
DEPEND="sys-libs/zlib" DEPEND="sys-libs/zlib"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/ptexenc/ptexenc-1.2.0_p20110705.ebuild,v 1.5 2012/01/16 13:16:29 ago Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-libs/ptexenc/ptexenc-1.2.0_p20110705.ebuild,v 1.6 2012/01/17 17:19:45 phajdan.jr Exp $
EAPI=3 EAPI=3
@ -11,7 +11,7 @@ SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz"
LICENSE="BSD" LICENSE="BSD"
SLOT="0" SLOT="0"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x86-macos" KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~ppc-macos ~x86-macos"
IUSE="iconv static-libs" IUSE="iconv static-libs"
DEPEND="iconv? ( virtual/libiconv ) DEPEND="iconv? ( virtual/libiconv )

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-HTML_Template_Sigma/PEAR-HTML_Template_Sigma-1.2.0-r1.ebuild,v 1.1 2012/01/16 18:11:08 mabi Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-HTML_Template_Sigma/PEAR-HTML_Template_Sigma-1.2.0-r1.ebuild,v 1.2 2012/01/17 13:00:36 ago Exp $
EAPI=4 EAPI=4
@ -9,7 +9,7 @@ inherit php-pear-r1
DESCRIPTION="An implementation of Integrated Templates API with template 'compilation' added" DESCRIPTION="An implementation of Integrated Templates API with template 'compilation' added"
LICENSE="PHP-3.01" LICENSE="PHP-3.01"
SLOT="0" SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="" IUSE=""
DEPEND="dev-lang/php[ctype]" DEPEND="dev-lang/php[ctype]"

@ -1,2 +1,3 @@
DIST AppTools-3.4.1.tar.gz 795416 RMD160 f93c65bdc1b7aeb698794c5e8333382c0dd626bf SHA1 9a36a06bbe3d80993cd4b5d40189b8e5716fa76f SHA256 f49b6a73fd9ec108d116b562dc6f862fe14b81035721d6ff9e3a49a3ca504db6 DIST AppTools-3.4.1.tar.gz 795416 RMD160 f93c65bdc1b7aeb698794c5e8333382c0dd626bf SHA1 9a36a06bbe3d80993cd4b5d40189b8e5716fa76f SHA256 f49b6a73fd9ec108d116b562dc6f862fe14b81035721d6ff9e3a49a3ca504db6
DIST apptools-4.0.0.tar.gz 274919 RMD160 254d233b8eabf4cb2628a6b15bdf3555d0acc1c9 SHA1 b1ecbec333efeb9ec519ab0d9d6e98e975ad49b6 SHA256 fc1a76e09ab4237314998250bb8f83bd28e44c7c177d0cd43ee1e5dba9535b4e DIST apptools-4.0.0.tar.gz 274919 RMD160 254d233b8eabf4cb2628a6b15bdf3555d0acc1c9 SHA1 b1ecbec333efeb9ec519ab0d9d6e98e975ad49b6 SHA256 fc1a76e09ab4237314998250bb8f83bd28e44c7c177d0cd43ee1e5dba9535b4e
DIST apptools-4.0.1.tar.gz 274944 RMD160 6fc5ca5db74185ffca836879a7d9078dd0ed3f10 SHA1 0ffa78ea4857e5192c494a67c93f5a7014df1c0e SHA256 f2f2297855587085fbff389de01453318f7604822ed737d5909e61a4487bfe52

@ -1,11 +1,11 @@
# Copyright 1999-2011 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/apptools/apptools-4.0.0.ebuild,v 1.1 2011/08/03 23:51:07 bicatali Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-python/apptools/apptools-4.0.0.ebuild,v 1.2 2012/01/17 06:16:44 bicatali Exp $
EAPI="3" EAPI=4
PYTHON_DEPEND="2" PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1" SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython" RESTRICT_PYTHON_ABIS="*-jython"
DISTUTILS_SRC_TEST="nosetests" DISTUTILS_SRC_TEST="nosetests"
inherit distutils virtualx inherit distutils virtualx
@ -21,7 +21,7 @@ IUSE="doc examples test"
RDEPEND="dev-python/configobj RDEPEND="dev-python/configobj
dev-python/numpy dev-python/numpy
>=dev-python/traits-4.0.0" >=dev-python/traits-4.1.0"
DEPEND="dev-python/setuptools DEPEND="dev-python/setuptools
doc? ( dev-python/sphinx ) doc? ( dev-python/sphinx )
test? ( test? (
@ -33,12 +33,7 @@ DEPEND="dev-python/setuptools
src_compile() { src_compile() {
distutils_src_compile distutils_src_compile
if use doc; then use doc && emake -C docs html
einfo "Generation of documentation"
pushd docs > /dev/null
emake html || die "Generation of documentation failed"
popd > /dev/null
fi
} }
src_test() { src_test() {
@ -49,15 +44,10 @@ src_install() {
find -name "*LICENSE*.txt" -delete find -name "*LICENSE*.txt" -delete
distutils_src_install distutils_src_install
if use doc; then use doc && dohtml -r docs/build/html/*
pushd docs/build/html > /dev/null
insinto /usr/share/doc/${PF}/html
doins -r [a-z]* _static || die "Installation of documentation failed"
popd > /dev/null
fi
if use examples; then if use examples; then
insinto /usr/share/doc/${PF}/examples insinto /usr/share/doc/${PF}
doins -r examples/* || die "Installation of examples failed" doins -r examples
fi fi
} }

@ -0,0 +1,54 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/apptools/apptools-4.0.1.ebuild,v 1.1 2012/01/17 06:16:44 bicatali Exp $
EAPI=4
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
DISTUTILS_SRC_TEST="nosetests"
inherit distutils virtualx
DESCRIPTION="Enthought Tool Suite: Application tools"
HOMEPAGE="http://code.enthought.com/projects/app_tools/ http://pypi.python.org/pypi/apptools"
SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
RDEPEND="dev-python/configobj
dev-python/numpy
>=dev-python/traits-4"
DEPEND="dev-python/setuptools
doc? ( dev-python/sphinx )
test? (
${RDEPEND}
>=dev-python/pyface-4
media-fonts/font-cursor-misc
media-fonts/font-misc-misc
)"
src_compile() {
distutils_src_compile
use doc && emake -C docs html
}
src_test() {
VIRTUALX_COMMAND="distutils_src_test" virtualmake
}
src_install() {
find -name "*LICENSE*.txt" -delete
distutils_src_install
use doc && dohtml -r docs/build/html/*
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples
fi
}

@ -1,2 +1,3 @@
DIST BlockCanvas-3.2.1.tar.gz 1104458 RMD160 8772eaa69c695aa0c9e679444d758a9715aef611 SHA1 e4ee48cbd4c4ed37aba3137eac6c38cd0baee9d0 SHA256 f1d8386947dcb91a17d3ad9f91a58aab50a3c63dcd0a2fc91a99f1fccfaa3155 DIST BlockCanvas-3.2.1.tar.gz 1104458 RMD160 8772eaa69c695aa0c9e679444d758a9715aef611 SHA1 e4ee48cbd4c4ed37aba3137eac6c38cd0baee9d0 SHA256 f1d8386947dcb91a17d3ad9f91a58aab50a3c63dcd0a2fc91a99f1fccfaa3155
DIST blockcanvas-4.0.0.tar.gz 1112614 RMD160 33ea5425faa6e4bc22b46b6e9207069017b109c7 SHA1 488cf10abde6e1b9caa6fffbe0edc80d584cee03 SHA256 8655738863a45a594a73efef4e1badcfb1fc5543ae477267b1cafdcb3ddae700 DIST blockcanvas-4.0.0.tar.gz 1112614 RMD160 33ea5425faa6e4bc22b46b6e9207069017b109c7 SHA1 488cf10abde6e1b9caa6fffbe0edc80d584cee03 SHA256 8655738863a45a594a73efef4e1badcfb1fc5543ae477267b1cafdcb3ddae700
DIST blockcanvas-4.0.1.tar.gz 1112631 RMD160 62dd66603eebbfdd67156e8c33b65f657b1015c7 SHA1 90003d92d77f3c7254ea1f5d34c0d00d527dcb77 SHA256 cc6e2c83e3f139c91e10047ae769bec7a96091dc69cb3cd9f388c62204e7b84a

@ -0,0 +1,58 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/blockcanvas/blockcanvas-4.0.1.ebuild,v 1.1 2012/01/17 06:17:23 bicatali Exp $
EAPI=4
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* -jython"
DISTUTILS_SRC_TEST="nosetests"
inherit distutils virtualx
DESCRIPTION="Enthought Tool Suite: Numerical modeling"
HOMEPAGE="http://code.enthought.com/projects/block_canvas/ http://pypi.python.org/pypi/blockcanvas"
SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
RDEPEND=">=dev-python/apptools-4
>=dev-python/chaco-4
>=dev-python/codetools-4
>=dev-python/etsdevtools-4
>=dev-python/pyface-4
>=dev-python/scimath-4
>=dev-python/traitsui-4
dev-python/configobj
dev-python/docutils
dev-python/greenlet
dev-python/imaging
dev-python/numpy"
DEPEND="dev-python/setuptools
doc? ( dev-python/sphinx )
test? (
${RDEPEND}
media-fonts/font-cursor-misc
media-fonts/font-misc-misc
)"
DOCS="docs/*.txt"
src_compile() {
distutils_src_compile
use doc && emake -C docs html
}
src_test() {
VIRTUALX_COMMAND="distutils_src_test" virtualmake
}
src_install() {
find -name "*LICENSE*.txt" -delete
distutils_src_install
use doc && dohtml -r docs/build/html/*
}

@ -1,2 +1,3 @@
DIST Chaco-3.4.0.tar.gz 9009267 RMD160 b4998115841bd55ad0fdfa2e16ecef32a9dc991a SHA1 89ea37dbcf6bb01cfab060b20de3b69850c6a5f9 SHA256 074d86eb22162bd99a3c04e8792a6de49872af5c824340f15cdf40c76d4c7d95 DIST Chaco-3.4.0.tar.gz 9009267 RMD160 b4998115841bd55ad0fdfa2e16ecef32a9dc991a SHA1 89ea37dbcf6bb01cfab060b20de3b69850c6a5f9 SHA256 074d86eb22162bd99a3c04e8792a6de49872af5c824340f15cdf40c76d4c7d95
DIST chaco-4.0.0.tar.gz 9223007 RMD160 fa2e150649d39ffefc8e4239ffab1e68050e25b0 SHA1 896d57a8777be0a6ba27354b2b188a9468966916 SHA256 50f3b11a9c3469217537a518f44e3b46830067490f36360b0226247bc3040763 DIST chaco-4.0.0.tar.gz 9223007 RMD160 fa2e150649d39ffefc8e4239ffab1e68050e25b0 SHA1 896d57a8777be0a6ba27354b2b188a9468966916 SHA256 50f3b11a9c3469217537a518f44e3b46830067490f36360b0226247bc3040763
DIST chaco-4.1.0.tar.gz 10054001 RMD160 4df41bfbeaffdca4e2213a9a210a3e9ca28a616c SHA1 2b85e76cd368f3f5e5bbf5f483e840927a7eddd1 SHA256 cdc80d77661fa955a4a4466b5b3f55808beedfc48f8f14b33f2ba81ccb360cc7

@ -0,0 +1,60 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/chaco/chaco-4.1.0.ebuild,v 1.1 2012/01/17 06:17:57 bicatali Exp $
EAPI=4
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
DISTUTILS_SRC_TEST="nosetests"
inherit distutils virtualx
DESCRIPTION="Enthought Tool Suite: Interactive plotting toolkit"
HOMEPAGE="http://code.enthought.com/projects/chaco/ http://pypi.python.org/pypi/chaco"
SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
RDEPEND=">=dev-python/enable-4
dev-python/numpy"
DEPEND="dev-python/setuptools
dev-python/numpy
doc? (
>=dev-python/enable-4
media-fonts/font-cursor-misc
media-fonts/font-misc-misc
!prefix? ( x11-base/xorg-server[xvfb] )
x11-apps/xhost
)
test? (
>=dev-python/enable-4
media-fonts/font-cursor-misc
media-fonts/font-misc-misc
)"
DOCS="docs/*.txt"
src_compile() {
distutils_src_compile
use doc && virtualmake -C docs html
}
src_test() {
VIRTUALX_COMMAND="distutils_src_test" virtualmake
}
src_install() {
find -name "*LICENSE*.txt" -delete
distutils_src_install
use doc && dohtml -r docs/build/html/*
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples
fi
}

@ -1,9 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/codetools/codetools-4.0.0.ebuild,v 1.2 2011/08/04 19:30:30 mr_bones_ Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-python/codetools/codetools-4.0.0.ebuild,v 1.3 2012/01/17 06:19:00 bicatali Exp $
EAPI=4
EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1" SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython" RESTRICT_PYTHON_ABIS="3.* *-jython"
DISTUTILS_SRC_TEST="nosetests" DISTUTILS_SRC_TEST="nosetests"
@ -20,8 +20,9 @@ KEYWORDS="~amd64 ~x86"
LICENSE="BSD" LICENSE="BSD"
RDEPEND="dev-python/numpy RDEPEND="dev-python/numpy
>=dev-python/scimath-4.0 >=dev-python/scimath-4
>=dev-python/traits-4.0" >=dev-python/traits-4"
DEPEND="${RDEPEND} DEPEND="${RDEPEND}
dev-python/setuptools dev-python/setuptools
doc? ( dev-python/sphinx ) doc? ( dev-python/sphinx )
@ -33,13 +34,7 @@ DEPEND="${RDEPEND}
src_compile() { src_compile() {
distutils_src_compile distutils_src_compile
use doc && emake -C docs html
if use doc; then
einfo "Generation of documentation"
pushd docs > /dev/null
emake html || die "Generation of documentation failed"
popd > /dev/null
fi
} }
src_test() { src_test() {
@ -50,15 +45,10 @@ src_install() {
find -name "*LICENSE*.txt" -delete find -name "*LICENSE*.txt" -delete
distutils_src_install distutils_src_install
if use doc; then use doc && dohtml -r docs/build/html/*
pushd docs/build/html > /dev/null
insinto /usr/share/doc/${PF}/html
doins -r [a-z]* _images _static || die "Installation of documentation failed"
popd > /dev/null
fi
if use examples; then if use examples; then
insinto /usr/share/doc/${PF}/examples insinto /usr/share/doc/${PF}
doins -r examples/* || die "Installation of examples failed" doins -r examples
fi fi
} }

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/cvxopt/cvxopt-1.1.4.ebuild,v 1.2 2012/01/16 20:35:26 bicatali Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-python/cvxopt/cvxopt-1.1.4-r1.ebuild,v 1.1 2012/01/17 18:28:45 bicatali Exp $
EAPI=4 EAPI=4
@ -49,13 +49,12 @@ src_prepare(){
use_cvx() { use_cvx() {
if use ${1}; then if use ${1}; then
sed -i \ sed -i \
-e "s/\(BUILD_${2^^} =\) 0/\1 1/" \ -e "s/\(BUILD_${1^^} =\) 0/\1 1/" \
setup.py || die setup.py || die
fi fi
} }
pkg_lib blas pkg_lib blas
pkg_lib cblas
pkg_lib lapack pkg_lib lapack
use_cvx gsl && pkg_lib gsl use_cvx gsl && pkg_lib gsl
use_cvx fftw && pkg_lib fftw3 use_cvx fftw && pkg_lib fftw3

@ -1,6 +1,6 @@
--- setup.py.orig 2012-01-06 04:59:53.000000000 +0000 --- setup.py.orig 2011-12-22 10:53:49.000000000 +1300
+++ setup.py 2012-01-06 06:21:48.000000000 +0000 +++ setup.py 2012-01-16 11:17:04.207596266 +1300
@@ -2,58 +2,58 @@ @@ -2,73 +2,57 @@
from glob import glob from glob import glob
# directory containing libblas and liblapack # directory containing libblas and liblapack
@ -13,33 +13,30 @@
# Directory containing libgsl (used only when BUILD_GSL = 1). # Directory containing libgsl (used only when BUILD_GSL = 1).
-GSL_LIB_DIR = '/usr/lib' -GSL_LIB_DIR = '/usr/lib'
+GSL_LIB_DIR = '' -
-# Directory containing the GSL header files (used only when BUILD_GSL = 1).
# Directory containing the GSL header files (used only when BUILD_GSL = 1).
-GSL_INC_DIR = '/usr/include/gsl' -GSL_INC_DIR = '/usr/include/gsl'
+GSL_INC_DIR = '' +GSL_LIB_DIR = ''
# Set to 1 if you are installing the fftw module. # Set to 1 if you are installing the fftw module.
BUILD_FFTW = 0 BUILD_FFTW = 0
# Directory containing libfftw3 (used only when BUILD_FFTW = 1). # Directory containing libfftw3 (used only when BUILD_FFTW = 1).
-FFTW_LIB_DIR = '/usr/lib' -FFTW_LIB_DIR = '/usr/lib'
+FFTW_LIB_DIR = '' -
-# Directory containing fftw.h (used only when BUILD_FFTW = 1).
# Directory containing fftw.h (used only when BUILD_FFTW = 1).
-FFTW_INC_DIR = '/usr/include' -FFTW_INC_DIR = '/usr/include'
+FFTW_INC_DIR = '' +FFTW_LIB_DIR = ''
# Set to 1 if you are installing the glpk module. # Set to 1 if you are installing the glpk module.
BUILD_GLPK = 0 BUILD_GLPK = 0
# Directory containing libglpk (used only when BUILD_GLPK = 1). # Directory containing libglpk (used only when BUILD_GLPK = 1).
-GLPK_LIB_DIR = '/usr/lib' -GLPK_LIB_DIR = '/usr/lib'
+GLPK_LIB_DIR = '' -
-# Directory containing glpk.h (used only when BUILD_GLPK = 1).
# Directory containing glpk.h (used only when BUILD_GLPK = 1).
-GLPK_INC_DIR = '/usr/include' -GLPK_INC_DIR = '/usr/include'
+GLPK_INC_DIR = '' +GLPK_LIB_DIR = ''
# Set to 1 if you are installing the DSDP module. # Set to 1 if you are installing the DSDP module.
BUILD_DSDP = 0 BUILD_DSDP = 0
@ -48,38 +45,44 @@
-DSDP_LIB_DIR = '/usr/lib' -DSDP_LIB_DIR = '/usr/lib'
+DSDP_LIB_DIR = '' +DSDP_LIB_DIR = ''
# Directory containing dsdp5.h (used only when BUILD_DSDP = 1). -# Directory containing dsdp5.h (used only when BUILD_DSDP = 1).
-DSDP_INC_DIR = '/usr/include' -DSDP_INC_DIR = '/usr/include'
+DSDP_INC_DIR = '' -
extmods = [] extmods = []
# optional modules # optional modules
if BUILD_GSL: if BUILD_GSL:
- gsl = Extension('gsl', libraries = ['m', 'gsl', 'blas'], - gsl = Extension('gsl', libraries = ['m', 'gsl', 'blas'],
- include_dirs = [ GSL_INC_DIR ],
+ gsl = Extension('gsl', libraries = ['gsl'], + gsl = Extension('gsl', libraries = ['gsl'],
include_dirs = [ GSL_INC_DIR ],
library_dirs = [ GSL_LIB_DIR ], library_dirs = [ GSL_LIB_DIR ],
sources = ['C/gsl.c'] ) sources = ['C/gsl.c'] )
extmods += [gsl]; extmods += [gsl];
if BUILD_FFTW: if BUILD_FFTW:
- fftw = Extension('fftw', libraries = ['fftw3', 'blas'], - fftw = Extension('fftw', libraries = ['fftw3', 'blas'],
- include_dirs = [ FFTW_INC_DIR ],
+ fftw = Extension('fftw', libraries = ['fftw3'], + fftw = Extension('fftw', libraries = ['fftw3'],
include_dirs = [ FFTW_INC_DIR ],
library_dirs = [ FFTW_LIB_DIR, ATLAS_LIB_DIR ], library_dirs = [ FFTW_LIB_DIR, ATLAS_LIB_DIR ],
sources = ['C/fftw.c'] ) sources = ['C/fftw.c'] )
@@ -67,7 +67,7 @@ extmods += [fftw];
if BUILD_GLPK:
glpk = Extension('glpk', libraries = ['glpk'],
- include_dirs = [ GLPK_INC_DIR ],
library_dirs = [ GLPK_LIB_DIR ],
sources = ['C/glpk.c'] )
extmods += [glpk]; extmods += [glpk];
if BUILD_DSDP: if BUILD_DSDP:
- dsdp = Extension('dsdp', libraries = ['dsdp', 'blas', 'lapack'], - dsdp = Extension('dsdp', libraries = ['dsdp', 'blas', 'lapack'],
- include_dirs = [ DSDP_INC_DIR ],
+ dsdp = Extension('dsdp', libraries = ['dsdp'], + dsdp = Extension('dsdp', libraries = ['dsdp'],
include_dirs = [ DSDP_INC_DIR ],
library_dirs = [ DSDP_LIB_DIR, ATLAS_LIB_DIR ], library_dirs = [ DSDP_LIB_DIR, ATLAS_LIB_DIR ],
sources = ['C/dsdp.c'] ) sources = ['C/dsdp.c'] )
@@ -85,7 +85,7 @@ extmods += [dsdp];
@@ -85,7 +69,7 @@
else: else:
MACROS = [] MACROS = []
@ -88,7 +91,7 @@
library_dirs = [ ATLAS_LIB_DIR ], library_dirs = [ ATLAS_LIB_DIR ],
define_macros = MACROS, define_macros = MACROS,
sources = ['C/base.c','C/dense.c','C/sparse.c']) sources = ['C/base.c','C/dense.c','C/sparse.c'])
@@ -95,22 +95,16 @@ @@ -95,22 +79,16 @@
define_macros = MACROS, define_macros = MACROS,
sources = ['C/blas.c'] ) sources = ['C/blas.c'] )
@ -114,7 +117,7 @@
# Build for int or long? # Build for int or long?
import sys import sys
@@ -118,28 +112,16 @@ @@ -118,28 +96,16 @@
cholmod = Extension('cholmod', cholmod = Extension('cholmod',
library_dirs = [ ATLAS_LIB_DIR ], library_dirs = [ ATLAS_LIB_DIR ],
@ -122,7 +125,7 @@
- include_dirs = [ 'C/SuiteSparse/CHOLMOD/Include', - include_dirs = [ 'C/SuiteSparse/CHOLMOD/Include',
- 'C/SuiteSparse/COLAMD', 'C/SuiteSparse/AMD/Include', - 'C/SuiteSparse/COLAMD', 'C/SuiteSparse/AMD/Include',
- 'C/SuiteSparse/UFconfig', 'C/SuiteSparse/COLAMD/Include' ], - 'C/SuiteSparse/UFconfig', 'C/SuiteSparse/COLAMD/Include' ],
+ libraries = ['cholmod' ], + libraries = ['cholmod','blas'],
define_macros = MACROS + [('NPARTITION', '1')], define_macros = MACROS + [('NPARTITION', '1')],
- sources = [ 'C/cholmod.c' ] + - sources = [ 'C/cholmod.c' ] +
- ['C/SuiteSparse/AMD/Source/' + s for s in ['amd_global.c', - ['C/SuiteSparse/AMD/Source/' + s for s in ['amd_global.c',

@ -1,3 +1,4 @@
DIST Enable-3.4.0.tar.gz 2703753 RMD160 2abbe3814362ea455faf841ff624f13e9e2528f6 SHA1 f09a62838d424043e570ff98755b348668194642 SHA256 f536541227f3aa7f2d74e24228f9e25a4aed910d10811205c106555b7ee0341c DIST Enable-3.4.0.tar.gz 2703753 RMD160 2abbe3814362ea455faf841ff624f13e9e2528f6 SHA1 f09a62838d424043e570ff98755b348668194642 SHA256 f536541227f3aa7f2d74e24228f9e25a4aed910d10811205c106555b7ee0341c
DIST Enable-3.4.1.tar.gz 2726048 RMD160 f92441d9c2f8dea49e70b0dafb7149d663edb1a1 SHA1 fd816ee582da6479570b663ce7629b1bdec0bc37 SHA256 0b17c7764bb8e31b0d0c5ba439b6cf9e43810688e869afff826889e0ae3b8b8c DIST Enable-3.4.1.tar.gz 2726048 RMD160 f92441d9c2f8dea49e70b0dafb7149d663edb1a1 SHA1 fd816ee582da6479570b663ce7629b1bdec0bc37 SHA256 0b17c7764bb8e31b0d0c5ba439b6cf9e43810688e869afff826889e0ae3b8b8c
DIST enable-4.0.0.tar.gz 2471266 RMD160 f2a48ee6283fe5a8ce0befde72c0e6e81ba2cf95 SHA1 4a2b498fd11532173df21bf7e25f8e8fb1df0335 SHA256 c3ec3043fd2ac5837de2575efec985a6fc0ae597aa70d96f6734c78ce3cde01a DIST enable-4.0.0.tar.gz 2471266 RMD160 f2a48ee6283fe5a8ce0befde72c0e6e81ba2cf95 SHA1 4a2b498fd11532173df21bf7e25f8e8fb1df0335 SHA256 c3ec3043fd2ac5837de2575efec985a6fc0ae597aa70d96f6734c78ce3cde01a
DIST enable-4.1.0.tar.gz 2472676 RMD160 57c7f1cefb1f0d167603e419bafa355fd4c03906 SHA1 680f64a76114192332008dabfd203c9438326a93 SHA256 b0de7a3eda78c5c527d58a98627c8cabadc71c7f1ee4e360fa3a6d8b087da264

@ -0,0 +1,59 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/enable/enable-4.1.0.ebuild,v 1.1 2012/01/17 06:21:27 bicatali Exp $
EAPI=4
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
DISTUTILS_SRC_TEST="nosetests"
inherit distutils eutils virtualx
DESCRIPTION="Enthought Tool Suite: Drawing and interaction packages"
HOMEPAGE="http://code.enthought.com/projects/enable/ http://pypi.python.org/pypi/enable"
SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
RDEPEND="dev-python/numpy
dev-python/reportlab
>=dev-python/traitsui-4
>=media-libs/freetype-2
virtual/opengl
x11-libs/libX11"
DEPEND="dev-python/setuptools
dev-lang/swig
dev-python/cython
doc? ( dev-python/sphinx )
test? (
${RDEPEND}
media-fonts/font-cursor-misc
media-fonts/font-misc-misc
)"
DOCS="docs/*.txt"
src_compile() {
distutils_src_compile
use doc && emake -C docs html
}
src_test() {
VIRTUALX_COMMAND="distutils_src_test" virtualmake
}
src_install() {
find -name "*LICENSE*.txt" -delete
distutils_src_install
use doc && dohtml -r docs/build/html/*
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples
fi
}

@ -1 +1,2 @@
DIST envisage-4.0.0.tar.gz 486729 RMD160 12957ee5d0976b07b13b1ab7d8a63e9669c365f9 SHA1 79ff15a77cc6891fef5885a2b41432c323dcb696 SHA256 bda4571c5394d070ad853138c0400292e8ea0e8b8ce8c179205c221b247f5580 DIST envisage-4.0.0.tar.gz 486729 RMD160 12957ee5d0976b07b13b1ab7d8a63e9669c365f9 SHA1 79ff15a77cc6891fef5885a2b41432c323dcb696 SHA256 bda4571c5394d070ad853138c0400292e8ea0e8b8ce8c179205c221b247f5580
DIST envisage-4.1.0.tar.gz 490231 RMD160 73a67deffed70eb5c050b6067b5eb6d8bb7eaae5 SHA1 189b07131daf2f24488bb1bf145545115a809c46 SHA256 51a401f382982e5750c0e4ed8e245fef7f4c2da850bd3241d12c442b6ea7aa05

@ -0,0 +1,50 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/envisage/envisage-4.1.0.ebuild,v 1.1 2012/01/17 06:21:52 bicatali Exp $
EAPI=4
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
DISTUTILS_SRC_TEST="nosetests"
inherit distutils virtualx
DESCRIPTION="Enthought Tool Suite: Extensible application framework"
HOMEPAGE="http://code.enthought.com/projects/envisage/ http://pypi.python.org/pypi/envisage"
SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
RDEPEND=">=dev-python/traits-4"
DEPEND="dev-python/setuptools
doc? ( dev-python/sphinx )
test? (
>=dev-python/traits-4
media-fonts/font-cursor-misc
media-fonts/font-misc-misc
)"
src_compile() {
distutils_src_compile
use doc && emake -C docs html
}
src_test() {
VIRTUALX_COMMAND="distutils_src_test" virtualmake
}
src_install() {
find -name "*LICENSE*.txt" -delete
distutils_src_install
use doc && dohtml -r docs/build/html/*
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples
fi
}

@ -0,0 +1 @@
DIST ets-4.1.0.tar.gz 23352 RMD160 2cb630710b7251b26607e6598c5aecb8f2d523da SHA1 5e714917787334eaa56cf05970c84b26b13a85ae SHA256 393e5b90aabb4ea09a26b54f1afce55f55517adbe957a9297199d634c75a4e5b

@ -0,0 +1,37 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/ets/ets-4.1.0.ebuild,v 1.1 2012/01/17 06:22:22 bicatali Exp $
EAPI=4
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
inherit distutils
DESCRIPTION="Meta package for the Enthought Tool Suite"
HOMEPAGE="http://code.enthought.com/projects/ http://pypi.python.org/pypi/ets"
SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples"
# see the setup_data.py file for version numbers
RDEPEND="
>=dev-python/apptools-4.0.1[doc?,examples?]
>=dev-python/blockcanvas-4.0.1[doc?]
>=dev-python/chaco-4.1.0[doc?,examples?]
>=dev-python/codetools-4.0.0[doc?,examples?]
>=dev-python/enable-4.1.0[doc?,examples?]
>=dev-python/envisage-4.1.0[doc?,examples?]
>=dev-python/etsdevtools-4.0.0[doc?,examples?]
>=dev-python/graphcanvas-4.0.0[examples?]
>=sci-visualization/mayavi-4.1.0[doc?,examples?]
>=dev-python/pyface-4.1.0[doc?,examples?]
>=dev-python/scimath-4.0.1[doc?]
>=dev-python/traits-4.1.0[doc?,examples?]
>=dev-python/traitsui-4.1.0[doc?,examples?]"
DEPEND=""

@ -1,16 +1,16 @@
# Copyright 1999-2011 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/etsdevtools/etsdevtools-4.0.0.ebuild,v 1.1 2011/08/03 23:53:21 bicatali Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-python/etsdevtools/etsdevtools-4.0.0.ebuild,v 1.2 2012/01/17 06:25:27 bicatali Exp $
EAPI=4
EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1" SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython" RESTRICT_PYTHON_ABIS="3.* *-jython"
DISTUTILS_SRC_TEST="nosetests" DISTUTILS_SRC_TEST="nosetests"
inherit distutils virtualx inherit distutils virtualx
DESCRIPTION="Enthought Tool Suite: tools to support Python development" DESCRIPTION="Enthought Tool Suite: Tools to support Python development"
HOMEPAGE="http://code.enthought.com/projects/dev_tools.php http://pypi.python.org/pypi/etsdevtools" HOMEPAGE="http://code.enthought.com/projects/dev_tools.php http://pypi.python.org/pypi/etsdevtools"
SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz" SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"
@ -20,12 +20,12 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="doc examples test" IUSE="doc examples test"
RDEPEND="dev-python/numpy RDEPEND="dev-python/numpy
>=dev-python/traits-4.0" >=dev-python/traits-4"
DEPEND="dev-python/setuptools DEPEND="dev-python/setuptools
doc? ( dev-python/sphinx ) doc? ( dev-python/sphinx )
test? ( test? (
${RDEPEND} ${RDEPEND}
>=dev-python/traitsui-4.0 >=dev-python/traitsui-4
media-fonts/font-cursor-misc media-fonts/font-cursor-misc
media-fonts/font-misc-misc media-fonts/font-misc-misc
x11-apps/xhost x11-apps/xhost
@ -33,13 +33,7 @@ DEPEND="dev-python/setuptools
src_compile() { src_compile() {
distutils_src_compile distutils_src_compile
use doc && emake -C docs html
if use doc; then
einfo "Generation of documentation"
pushd docs > /dev/null
emake html || die "Generation of documentation failed"
popd > /dev/null
fi
} }
src_test() { src_test() {
@ -50,16 +44,10 @@ src_install() {
find -name "*LICENSE*.txt" -delete find -name "*LICENSE*.txt" -delete
distutils_src_install distutils_src_install
if use doc; then use doc && dohtml -r docs/build/html/*
dodoc docs/*/*.pdf || die "Installation of PDF documentation failed"
pushd docs/build/html > /dev/null
insinto /usr/share/doc/${PF}/html
doins -r [a-z]* _static || die "Installation of documentation failed"
popd > /dev/null
fi
if use examples; then if use examples; then
insinto /usr/share/doc/${PF}/examples insinto /usr/share/doc/${PF}
doins -r examples/* || die "Installation of examples failed" doins -r examples
fi fi
} }

@ -1 +1,2 @@
DIST etsproxy-0.1.0.tar.gz 111399 RMD160 ecf729831767c8409a80c16724ee53a2027f2a78 SHA1 2502ad7016fa8c67677f6936eb89b191ae26bf95 SHA256 9a3fcbda8351a90a166046205c7b5d76896eea495469e07607302031c1efd671 DIST etsproxy-0.1.0.tar.gz 111399 RMD160 ecf729831767c8409a80c16724ee53a2027f2a78 SHA1 2502ad7016fa8c67677f6936eb89b191ae26bf95 SHA256 9a3fcbda8351a90a166046205c7b5d76896eea495469e07607302031c1efd671
DIST etsproxy-0.1.1.tar.gz 111508 RMD160 e8de667a7cd05534e51020c97f8b60280f3c53b7 SHA1 16aa8e8770bbf2b18915eb64da813e0d0fd27411 SHA256 e2efc6aa990b92ab0c0db51fa46eddbb5f21277791b4be4eac11e197ad40159a

@ -0,0 +1,43 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/etsproxy/etsproxy-0.1.1.ebuild,v 1.1 2012/01/17 06:22:48 bicatali Exp $
EAPI=4
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
inherit distutils
DESCRIPTION="Enthought Tool Suite: Proxy modules for backwards compatibility"
HOMEPAGE="http://pypi.python.org/pypi/etsproxy"
SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="!<dev-python/apptools-4
!<dev-python/blockcanvas-4
!<dev-python/chaco-4
!<dev-python/codetools-4
!<dev-python/enable-4
!<dev-python/enthoughtbase-4
!<dev-python/envisagecore-4
!<dev-python/envisageplugins-4
!<dev-python/etsdevtools-4
!<dev-python/etsprojecttools-4
!<dev-python/graphcanvas-4
!<sci-visualization/mayavi-4
!<dev-python/scimath-4
!<dev-python/traits-4
!<dev-python/traitsbackendwx-4
!<dev-python/traitsbackendqt-4
!<dev-python/traitsgui-4"
DEPEND="${RDEPEND}
dev-python/setuptools"
PYTHON_MODNAME="enthought"

@ -1,9 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/graphcanvas/graphcanvas-4.0.0.ebuild,v 1.1 2011/08/03 23:54:52 bicatali Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-python/graphcanvas/graphcanvas-4.0.0.ebuild,v 1.2 2012/01/17 06:25:52 bicatali Exp $
EAPI=4
EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1" SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython" RESTRICT_PYTHON_ABIS="3.* *-jython"
DISTUTILS_SRC_TEST="nosetests" DISTUTILS_SRC_TEST="nosetests"
@ -37,12 +37,7 @@ src_install() {
find -name "*LICENSE*.txt" -delete find -name "*LICENSE*.txt" -delete
distutils_src_install distutils_src_install
if use doc; then use doc && dohtml -r docs/build/html/*
pushd docs/build/html > /dev/null
insinto /usr/share/doc/${PF}/html
doins -r [a-z]* _static || die "Installation of documentation failed"
popd > /dev/null
fi
if use examples; then if use examples; then
insinto /usr/share/doc/${PF} insinto /usr/share/doc/${PF}

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/h5py/h5py-2.0.1.ebuild,v 1.1 2011/10/05 19:57:29 xarthisius Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-python/h5py/h5py-2.0.1.ebuild,v 1.2 2012/01/17 10:10:59 xarthisius Exp $
EAPI="3" EAPI="3"
PYTHON_DEPEND="*" PYTHON_DEPEND="*"
@ -12,11 +12,11 @@ inherit distutils
DESCRIPTION="A simple Python interface to HDF5 files." DESCRIPTION="A simple Python interface to HDF5 files."
HOMEPAGE="http://h5py.alfven.org/ http://code.google.com/p/h5py/ http://pypi.python.org/pypi/h5py" HOMEPAGE="http://h5py.alfven.org/ http://code.google.com/p/h5py/ http://pypi.python.org/pypi/h5py"
SRC_URI="http://h5py.googlecode.com/files/${P}.tar.gz" SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
LICENSE="BSD" LICENSE="BSD"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~x86" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test" IUSE="test"
RDEPEND="sci-libs/hdf5 RDEPEND="sci-libs/hdf5

@ -1,3 +1,4 @@
DIST matplotlib-1.0.1.tar.gz 13285166 RMD160 e3e326f7f31ef995253da483444cb593b8e6753b SHA1 c7a832f28a66817626e7a8af21e14ea0e15f4008 SHA256 83bc6377373b3f34b18eac1883c27f3f381f5c9b9c422b4d85c91e217a947af6 DIST matplotlib-1.0.1.tar.gz 13285166 RMD160 e3e326f7f31ef995253da483444cb593b8e6753b SHA1 c7a832f28a66817626e7a8af21e14ea0e15f4008 SHA256 83bc6377373b3f34b18eac1883c27f3f381f5c9b9c422b4d85c91e217a947af6
DIST matplotlib-1.1.0.tar.gz 35842643 RMD160 9313fc6407271c46f3ac5af4c53df5ea57982711 SHA1 435b4f04a7e099b79f66451d69ad0b5ce66030ae SHA256 be37e1d86c65ecacae6683f8805e051e9904e5f2e02bf2b7a34262c46a6d06a7 DIST matplotlib-1.1.0.tar.gz 35842643 RMD160 9313fc6407271c46f3ac5af4c53df5ea57982711 SHA1 435b4f04a7e099b79f66451d69ad0b5ce66030ae SHA256 be37e1d86c65ecacae6683f8805e051e9904e5f2e02bf2b7a34262c46a6d06a7
DIST matplotlib-sampledata.tar.bz2 1013421 RMD160 43a06cf7847cfe1ad744bd6444786b16843bb1f3 SHA1 b5335b05b6d3c05dcb052c81385f1304e465d2ee SHA256 0a9d45f1e5f31bee1e6efeb453775153d0553b721971830d6c1657a8d9640a3e DIST matplotlib-sampledata.tar.bz2 1013421 RMD160 43a06cf7847cfe1ad744bd6444786b16843bb1f3 SHA1 b5335b05b6d3c05dcb052c81385f1304e465d2ee SHA256 0a9d45f1e5f31bee1e6efeb453775153d0553b721971830d6c1657a8d9640a3e
DIST mpl_sampledata-1.1.0.tar.gz 874730 RMD160 7c1d4e8b66eeaee718540d21b8b3e1404e65a9cf SHA1 2bf93d6131a4a39095eeefd196685a7648c636df SHA256 eee173eaf9bd42bc57fb1bcff7044a184da85e6ea1262c1a7d1fdc2e303e78d8

@ -1,24 +1,25 @@
# Copyright 1999-2011 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/matplotlib/matplotlib-1.1.0.ebuild,v 1.2 2011/12/03 18:06:01 hwoarang Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-python/matplotlib/matplotlib-1.1.0.ebuild,v 1.4 2012/01/17 15:31:22 bicatali Exp $
EAPI="3" EAPI="3"
PYTHON_DEPEND="2" PYTHON_DEPEND="2"
PYTHON_USE_WITH="tk" PYTHON_USE_WITH="tk"
PYTHON_USE_WITH_OPT="tk" PYTHON_USE_WITH_OPT="tk"
SUPPORT_PYTHON_ABIS="1" SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython" RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*"
WX_GTK_VER="2.8" WX_GTK_VER="2.8"
inherit distutils eutils inherit distutils
DESCRIPTION="Pure python plotting library with matlab like syntax" DESCRIPTION="Pure python plotting library with matlab like syntax"
HOMEPAGE="http://matplotlib.sourceforge.net/ http://pypi.python.org/pypi/matplotlib" HOMEPAGE="http://matplotlib.sourceforge.net/ http://pypi.python.org/pypi/matplotlib"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
doc? ( mirror://gentoo/${PN}-sampledata.tar.bz2 ) doc? ( mirror://sourceforge/${PN}/mpl_sampledata-${PV}.tar.gz )
examples? ( mirror://gentoo/${PN}-sampledata.tar.bz2 )" examples? ( mirror://sourceforge/${PN}/mpl_sampledata-${PV}.tar.gz )"
IUSE="cairo doc excel examples fltk gtk latex qt4 traits tk wxwidgets" IUSE="cairo doc excel examples fltk gtk latex qt4 tk wxwidgets"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
# Main license: matplotlib # Main license: matplotlib
@ -58,8 +59,7 @@ RDEPEND="${CDEPEND}
cairo? ( dev-python/pycairo ) cairo? ( dev-python/pycairo )
excel? ( dev-python/xlwt ) excel? ( dev-python/xlwt )
fltk? ( dev-python/pyfltk ) fltk? ( dev-python/pyfltk )
qt4? ( dev-python/PyQt4[X] ) qt4? ( || ( dev-python/PyQt4[X] dev-python/pyside[X] ) )
traits? ( dev-python/traits dev-python/configobj )
latex? ( latex? (
virtual/latex-base virtual/latex-base
app-text/ghostscript-gpl app-text/ghostscript-gpl
@ -74,8 +74,7 @@ PYTHON_CXXFLAGS=("2.* + -fno-strict-aliasing")
PYTHON_MODNAME="matplotlib mpl_toolkits pylab.py" PYTHON_MODNAME="matplotlib mpl_toolkits pylab.py"
use_setup() { use_setup() {
local uword="${2}" local uword="${2:-${1}}"
[[ -z "${2}" ]] && uword="${1}"
if use ${1}; then if use ${1}; then
echo "${uword} = True" echo "${uword} = True"
echo "${uword}agg = True" echo "${uword}agg = True"
@ -91,15 +90,13 @@ src_prepare() {
[provide_packages] [provide_packages]
pytz = False pytz = False
dateutil = False dateutil = False
configobj = False
enthought.traits = False
[gui_support] [gui_support]
$(use_setup cairo)
$(use_setup fltk)
$(use_setup gtk) $(use_setup gtk)
$(use_setup qt4)
$(use_setup tk) $(use_setup tk)
$(use_setup wxwidgets wx) $(use_setup wxwidgets wx)
$(use_setup qt4)
$(use_setup fltk)
$(use_setup cairo)
EOF EOF
# avoid checks needing a X display # avoid checks needing a X display
@ -116,18 +113,17 @@ src_prepare() {
-e "/'mpl-data\/matplotlib.conf',/d" \ -e "/'mpl-data\/matplotlib.conf',/d" \
-e "s:'lib/matplotlib/mpl-data/matplotlibrc':'matplotlibrc':" \ -e "s:'lib/matplotlib/mpl-data/matplotlibrc':'matplotlibrc':" \
-e "s:'lib/matplotlib/mpl-data/matplotlib.conf':'matplotlib.conf':" \ -e "s:'lib/matplotlib/mpl-data/matplotlib.conf':'matplotlib.conf':" \
setup.py \ setup.py || die "sed setup.py for FHS failed"
|| die "sed setup.py for FHS failed"
# remove internal copies of pycxx, pyparsing # remove internal copies of pycxx, pyparsing
rm -rf CXX lib/matplotlib/pyparsing.py \ rm -rf CXX lib/matplotlib/pyparsing.py \
|| die "removed internal copies failed" || die "removed internal copies failed"
# bug #334429 - also see https://developer.mozilla.org/en/Mozilla_MathML_Project/Fonts # bug #334429 https://developer.mozilla.org/en/Mozilla_MathML_Project/Fonts
# which advise against bakoma fonts # which advise against bakoma fonts
sed -i \ sed -i \
-e '/fontset/s/cm/stix/' \ -e '/fontset/s/cm/stix/' \
lib/matplotlib/mpl-data/matplotlib.conf || die lib/matplotlib/mpl-data/matplotlib.conf* || die
sed -i \ sed -i \
-e 's/matplotlib.pyparsing/pyparsing/g' \ -e 's/matplotlib.pyparsing/pyparsing/g' \
@ -135,11 +131,16 @@ src_prepare() {
|| die "sed pyparsing failed" || die "sed pyparsing failed"
# some fixes to avoid fetching data while compiling examples in tests # some fixes to avoid fetching data while compiling examples in tests
mv "${WORKDIR}"/sample_data examples/ if use doc || use examples; then
echo "examples.download : False" >> doc/matplotlibrc cat <<-EOF >> doc/matplotlibrc
echo "examples.directory : ${S}/examples/sample_data" >> doc/matplotlibrc examples.download : False
echo "examples.download : False" >> matplotlibrc.template examples.directory : "${WORKDIR}"/mpl_sampledata-${PV}
echo "examples.directory : ${EPREFIX}/usr/share/${PF}/examples/sample_data" >> matplotlibrc.template EOF
cat <<-EOF >> matplotlibrc.template
examples.download : False
examples.directory : "${EPREFIX}"/usr/share/${PF}/examples
EOF
fi
} }
src_compile() { src_compile() {
@ -151,8 +152,8 @@ src_compile() {
if use doc; then if use doc; then
cd "${S}/doc" cd "${S}/doc"
export VARTEXFONTS="${T}"/fonts
MATPLOTLIBDATA="${S}/lib/matplotlib/mpl-data" \ MATPLOTLIBDATA="${S}/lib/matplotlib/mpl-data" \
VARTEXFONTS="${T}"/fonts \
PYTHONPATH=$(ls -d "${S}"/build-$(PYTHON -f --ABI)/lib*) \ PYTHONPATH=$(ls -d "${S}"/build-$(PYTHON -f --ABI)/lib*) \
"$(PYTHON -f)" make.py --small all "$(PYTHON -f)" make.py --small all
[[ -e build/latex/Matplotlib.pdf ]] || die "doc generation failed" [[ -e build/latex/Matplotlib.pdf ]] || die "doc generation failed"
@ -165,17 +166,19 @@ src_test() {
einfo "Tests are quite long, be patient" einfo "Tests are quite long, be patient"
cd "${S}/examples/tests" cd "${S}/examples/tests"
testing() { testing() {
PYTHONPATH=$(ls -d "${S}"/build-${PYTHON_ABI}/lib*) "$(PYTHON)" backend_driver.py agg || return 1 PYTHONPATH=$(ls -d "${S}"/build-${PYTHON_ABI}/lib*) \
PYTHONPATH=$(ls -d "${S}"/build-${PYTHON_ABI}/lib*) "$(PYTHON)" backend_driver.py --clean "$(PYTHON)" backend_driver.py agg || return 1
PYTHONPATH=$(ls -d "${S}"/build-${PYTHON_ABI}/lib*) \
"$(PYTHON)" backend_driver.py --clean
} }
python_execute_function testing python_execute_function testing
} }
src_install() { src_install() {
# remove fonts bundles except some computer modern ones # remove fonts bundles except some computer modern ones
rm lib/matplotlib/mpl-data/fonts/ttf/cm{ex,mi,r,sy}10.ttf rm -f lib/matplotlib/mpl-data/fonts/ttf/cm{ex,mi,r,sy}10.ttf || die
rm lib/matplotlib/mpl-data/fonts/ttf/{Vera*,*.TXT} rm -f lib/matplotlib/mpl-data/fonts/ttf/{Vera*,*.TXT} || die
rm lib/matplotlib/mpl-data/fonts/{afm,pdfcorefonts} rm -rf lib/matplotlib/mpl-data/fonts/{afm,pdfcorefonts} || die
# sed only after doc building, to allow using default configs # sed only after doc building, to allow using default configs
sed -i \ sed -i \
@ -185,22 +188,23 @@ src_install() {
|| die "sed init for FHS failed" || die "sed init for FHS failed"
distutils_src_install distutils_src_install
# Respect FHS # respect FHS
dodir /usr/share/${PN} dodir /usr/share/${PN}
mv "${ED}$(python_get_sitedir -f)/${PN}/"{mpl-data,backends/Matplotlib.nib} \ mv "${ED}$(python_get_sitedir -f)/${PN}/"{mpl-data,backends/Matplotlib.nib} \
"${ED}usr/share/${PN}" || die "Renaming failed" "${ED}usr/share/${PN}" || die "Renaming failed"
rm -fr "${ED}"usr/lib*/python*/site-packages/${PN}/{mpl-data,backends/Matplotlib.nib} rm -fr "${ED}"usr/lib*/*/site-packages/${PN}/{mpl-data,backends/Matplotlib.nib}
insinto /etc/matplotlib insinto /etc/matplotlib
doins matplotlibrc matplotlib.conf || die "installing config files failed" doins matplotlibrc matplotlib.conf
# doc and examples # doc and examples
insinto /usr/share/doc/${PF}
if use doc; then if use doc; then
doins doc/build/latex/Matplotlib.pdf || die insinto /usr/share/doc/${PF}
doins -r doc/build/html || die doins -r doc/build/latex/Matplotlib.pdf doc/build/html || die
fi fi
if use examples; then if use examples; then
doins -r examples || die insinto /usr/share/doc/${PF}/examples
doins -r "${WORKDIR}"/mpl_sampledata-${PV}/* || die
fi fi
} }

@ -1 +1,2 @@
DIST pyface-4.0.0.tar.gz 5012118 RMD160 ee80ea886251f111fae9bb9d2046338da42c75a8 SHA1 223e58fb39b3259ef9e294345c5b15e35415f3ce SHA256 3c00d8d9e12978d7656f749cb4c96458096ae3ecfaf55e7d714b8091c3c1a2a5 DIST pyface-4.0.0.tar.gz 5012118 RMD160 ee80ea886251f111fae9bb9d2046338da42c75a8 SHA1 223e58fb39b3259ef9e294345c5b15e35415f3ce SHA256 3c00d8d9e12978d7656f749cb4c96458096ae3ecfaf55e7d714b8091c3c1a2a5
DIST pyface-4.1.0.tar.gz 5022317 RMD160 8e73b2cedffadccc37437834ad2f3fa6089090cf SHA1 926c43e953d40d95a1e35a44889b81cec6ea9e6c SHA256 a0b1f823528d27ffc4ed805d4108aca6e4bce0bd71f18fa81ef96e1c93a4bc5e

@ -0,0 +1,54 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyface/pyface-4.1.0.ebuild,v 1.1 2012/01/17 06:23:19 bicatali Exp $
EAPI=4
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
DISTUTILS_SRC_TEST="nosetests"
inherit distutils virtualx
DESCRIPTION="Enthought Tool Suite: Traits-capable windowing framework"
HOMEPAGE="https://github.com/enthought/pyface http://pypi.python.org/pypi/pyface"
SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="doc examples test"
RDEPEND=">=dev-python/traits-4.1
|| ( dev-python/wxpython dev-python/PyQt4 dev-python/pyside )"
DEPEND="dev-python/setuptools
doc? ( dev-python/sphinx )
test? (
${RDEPEND}
dev-python/traitsui
media-fonts/font-cursor-misc
media-fonts/font-misc-misc
)"
DOCS="docs/*.txt"
src_compile() {
distutils_src_compile
use doc && emake -C docs html
}
src_test() {
VIRTUALX_COMMAND="distutils_src_test" virtualmake
}
src_install() {
find -name "*LICENSE*.txt" -delete
distutils_src_install
use doc && dohtml -r docs/build/html/*
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside/pyside-1.1.0.ebuild,v 1.1 2012/01/15 22:01:24 hwoarang Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-python/pyside/pyside-1.1.0.ebuild,v 1.2 2012/01/17 19:45:33 hwoarang Exp $
EAPI=4 EAPI=4
@ -17,7 +17,7 @@ SRC_URI="http://www.pyside.org/files/${MY_P}.tar.bz2"
LICENSE="LGPL-2.1" LICENSE="LGPL-2.1"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~x86" KEYWORDS="~amd64 ~x86"
IUSE="assistant debug declarative help multimedia kde opengl phonon script sql svg test webkit IUSE="assistant debug declarative multimedia kde opengl phonon script sql svg test webkit
X xmlpatterns" X xmlpatterns"
QT_PV="4.7.0" QT_PV="4.7.0"

@ -1,2 +1,3 @@
DIST SciMath-3.0.7.tar.gz 110976 RMD160 52c8769638259dc585a234835e3e11f457cea406 SHA1 5ad81fa9726171a83740c67d935052f09cc4d95a SHA256 c659a7baa579b40292f36334b8bd12e83375906f1c73542569a0df1f4c1e7d49 DIST SciMath-3.0.7.tar.gz 110976 RMD160 52c8769638259dc585a234835e3e11f457cea406 SHA1 5ad81fa9726171a83740c67d935052f09cc4d95a SHA256 c659a7baa579b40292f36334b8bd12e83375906f1c73542569a0df1f4c1e7d49
DIST scimath-4.0.0.tar.gz 107851 RMD160 e0e49edf3167e1586bfffb32cf033755987cc251 SHA1 a591fa56e614838554bfc37c12d824efbe0b7c7a SHA256 4c43d4f14009b879d3e4ba3367302c58bfeb6c6bd0b198daab103617f59952d4 DIST scimath-4.0.0.tar.gz 107851 RMD160 e0e49edf3167e1586bfffb32cf033755987cc251 SHA1 a591fa56e614838554bfc37c12d824efbe0b7c7a SHA256 4c43d4f14009b879d3e4ba3367302c58bfeb6c6bd0b198daab103617f59952d4
DIST scimath-4.0.1.tar.gz 107936 RMD160 7d5200c69ae6df7bfca38090790d8a45e46dcb50 SHA1 537f65077ccfea2b38f9f17db522f489ac9d3e91 SHA256 c08e4ce4b1772cbf1a5a420cdf49d6fb174f9bb3e0c45ac575c33547b9585777

@ -0,0 +1,48 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/scimath/scimath-4.0.1.ebuild,v 1.1 2012/01/17 06:23:50 bicatali Exp $
EAPI=4
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
DISTUTILS_SRC_TEST="nosetests"
inherit distutils virtualx
DESCRIPTION="Enthought Tool Suite: Scientific and mathematical tools"
HOMEPAGE="http://code.enthought.com/projects/sci_math/ http://pypi.python.org/pypi/scimath"
SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
RDEPEND=">=dev-python/traits-4.1
>=dev-python/traitsui-4.1
sci-libs/scipy"
DEPEND="dev-python/setuptools
doc? ( dev-python/sphinx )
test? (
${RDEPEND}
media-fonts/font-cursor-misc
media-fonts/font-misc-misc
x11-apps/xhost
)"
src_compile() {
distutils_src_compile
use doc && emake -C docs html
}
src_test() {
VIRTUALX_COMMAND="distutils_src_test" virtualmake
}
src_install() {
find -name "*LICENSE*.txt" -delete
distutils_src_install
use doc && dohtml -r docs/build/html/*
}

@ -1,2 +1,3 @@
DIST Traits-3.6.0.tar.gz 10884341 RMD160 43a83ca0006ec854974cd705ebbc2d7dd80361a1 SHA1 7a068371c400bed3aae727575ed18b00188a629a SHA256 f48dcd9bb33bec3389566c3fee43f039ff33fc99e5db5ca8c4967fb8e5db8657 DIST Traits-3.6.0.tar.gz 10884341 RMD160 43a83ca0006ec854974cd705ebbc2d7dd80361a1 SHA1 7a068371c400bed3aae727575ed18b00188a629a SHA256 f48dcd9bb33bec3389566c3fee43f039ff33fc99e5db5ca8c4967fb8e5db8657
DIST traits-4.0.0.tar.gz 4823262 RMD160 65ae61e90aa7384664311f118fda5b166f6c94f8 SHA1 392db68690afd94219ae53a956faecb2aa728661 SHA256 20800034591609ef74fcc7c42af41cacdadd31996ea05f024bfe67709be92a35 DIST traits-4.0.0.tar.gz 4823262 RMD160 65ae61e90aa7384664311f118fda5b166f6c94f8 SHA1 392db68690afd94219ae53a956faecb2aa728661 SHA256 20800034591609ef74fcc7c42af41cacdadd31996ea05f024bfe67709be92a35
DIST traits-4.1.0.tar.gz 4837086 RMD160 2a07dbab6fc763534201b061120e30433e91b0df SHA1 665ccecbaeec99b0923dd4e5206a968b9be0a755 SHA256 72253d17ac8f18c4d017a1d1487cf92e1870831fe3ce7ba23ef2a3123fdb50dd

@ -0,0 +1,48 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/traits/traits-4.1.0.ebuild,v 1.1 2012/01/17 06:15:58 bicatali Exp $
EAPI=4
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
DISTUTILS_SRC_TEST="nosetests"
inherit distutils virtualx
DESCRIPTION="Enthought Tool Suite: Explicitly typed attributes for Python"
HOMEPAGE="http://code.enthought.com/projects/traits/ http://pypi.python.org/pypi/traits"
SRC_URI="http://www.enthought.com/repo/ETS/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="doc examples test"
RDEPEND="dev-python/numpy"
DEPEND="dev-python/setuptools
doc? ( dev-python/sphinx )
test? ( dev-python/numpy )"
DOCS="docs/*.txt"
src_prepare() {
sed -i -e "s/'-O3'//g" setup.py
}
src_compile() {
distutils_src_compile
use doc && virtualmake -C docs html
}
src_install() {
find -name "*LICENSE*.txt" -delete
distutils_src_install
use doc && dohtml -r docs/build/html/*
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples
fi
}

@ -1 +1,2 @@
DIST traitsui-4.0.1.tar.gz 6579406 RMD160 a4d7c31458f550b7aa39f50dacbd05941b2f9f0e SHA1 0cb4fe4dc76dadbcf9c1f3171ad91ada82c85aa4 SHA256 46b099c16af8a4dfcb55a595ea30f3a08daee007e43d3efb74081246130a35d7 DIST traitsui-4.0.1.tar.gz 6579406 RMD160 a4d7c31458f550b7aa39f50dacbd05941b2f9f0e SHA1 0cb4fe4dc76dadbcf9c1f3171ad91ada82c85aa4 SHA256 46b099c16af8a4dfcb55a595ea30f3a08daee007e43d3efb74081246130a35d7
DIST traitsui-4.1.0.tar.gz 6689700 RMD160 27fefccfdad307c8fc707f8577c8020ddd6ad215 SHA1 09599f16d2ffe15e1e45d00137a6050199698635 SHA256 2af8980fc4fef557283cbf591479923a1f975c3c4efdd4640f50682fee177e49

@ -0,0 +1,53 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/traitsui/traitsui-4.1.0.ebuild,v 1.1 2012/01/17 06:24:19 bicatali Exp $
EAPI=4
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
DISTUTILS_SRC_TEST="nosetests"
inherit distutils virtualx
DESCRIPTION="Enthought Tool Suite: Traits-capable user interfaces"
HOMEPAGE="https://github.com/enthought/traitsui http://pypi.python.org/pypi/traitsui"
SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="doc examples test"
RDEPEND="dev-python/pyface
dev-python/traits"
DEPEND="dev-python/setuptools
doc? ( dev-python/sphinx )
test? (
${RDEPEND}
media-fonts/font-cursor-misc
media-fonts/font-misc-misc
)"
DOCS="docs/*.txt"
src_compile() {
distutils_src_compile
use doc && emake -C docs html
}
src_test() {
VIRTUALX_COMMAND="distutils_src_test" virtualmake
}
src_install() {
find -name "*LICENSE*.txt" -delete
distutils_src_install
use doc && dohtml -r docs/build/html/*
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples
fi
}

@ -0,0 +1 @@
DIST best_in_place-1.0.4.gem 56832 RMD160 ccb3c88bd989b73c731987d8dbcae6e224edfa56 SHA1 aba5a95e07513c0b75e5297d61a4fff257bae965 SHA256 9abb4c2e3713bb1a4ded74924fbb23ee48e5abcef21adb245b906453bb1b2acd

@ -0,0 +1,61 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/best_in_place/best_in_place-1.0.4.ebuild,v 1.1 2012/01/17 23:48:49 flameeyes Exp $
EAPI=4
USE_RUBY="ruby18 ree18"
RUBY_FAKEGEM_TASK_TEST="spec"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
# if ever needed
#GITHUB_USER="bernat"
#GITHUB_PROJECT="${PN}"
#RUBY_S="${GITHUB_USER}-${GITHUB_PROJECT}-*"
inherit virtualx ruby-fakegem
DESCRIPTION="In-place editor helper for Rails 3o"
HOMEPAGE="http://github.com/bernat/best_in_place"
LICENSE="MIT"
SLOT="3"
KEYWORDS="~amd64"
IUSE=""
ruby_add_rdepend "
dev-ruby/rails:3.1
dev-ruby/jquery-rails
"
ruby_add_bdepend "
test? (
dev-ruby/rspec-rails
>=dev-ruby/nokogiri-1.5.0
>=dev-ruby/capybara-1.0.1
>=dev-ruby/sqlite3-ruby-1.3.4-r1
dev-ruby/rdiscount
)"
DEPEND+=" test? ( www-client/firefox )"
all_ruby_prepare() {
sed -i \
-e '/git ls-files/d' \
-e '/rspec-rails/s:,.*::' \
${RUBY_FAKEGEM_GEMSPEC} || die
rm test_app/Gemfile.lock
# this disables two tests that seem to be timing-related
# https://github.com/bernat/best_in_place/issues/87
epatch "${FILESDIR}"/${P}-disable-some-tests.patch
}
each_ruby_test() {
RAILS_ENV=test ${RUBY} -C test_app -S rake db:migrate || die "test_app migration failed"
VIRTUALX_COMMAND="${RUBY}" virtualmake -S rake spec || die "Specs failed"
}

@ -0,0 +1,53 @@
Index: best_in_place-1.0.4/spec/integration/js_spec.rb
===================================================================
--- best_in_place-1.0.4.orig/spec/integration/js_spec.rb
+++ best_in_place-1.0.4/spec/integration/js_spec.rb
@@ -279,23 +279,6 @@ describe "JS behaviour", :js => true do
text.should == "Via Roma 99"
end
end
-
- it "should display the updated content after editing the field two consecutive times" do
- @user.save!
- retry_on_timeout do
- visit user_path(@user)
-
- bip_text @user, :address, "New address"
-
- id = BestInPlace::Utils.build_best_in_place_id @user, :address
- page.execute_script <<-JS
- $("##{id}").click();
- JS
-
- text = page.find("##{id} input").value
- text.should == "New address"
- end
- end
end
describe "display_with" do
@@ -347,24 +330,6 @@ describe "JS behaviour", :js => true do
end
end
- it "should display the updated content after editing the field two consecutive times" do
- @user.save!
-
- retry_on_timeout do
- visit user_path(@user)
-
- bip_text @user, :money, "40"
-
- id = BestInPlace::Utils.build_best_in_place_id @user, :money
- page.execute_script <<-JS
- $("##{id}").click();
- JS
-
- text = page.find("##{id} input").value
- text.should == "40"
- end
- end
-
it "should show the money in euros" do
@user.save!
visit double_init_user_path(@user)

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

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bundler/bundler-1.0.18.ebuild,v 1.3 2011/10/20 17:38:09 graaff Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-ruby/bundler/bundler-1.0.18.ebuild,v 1.4 2012/01/17 13:56:28 ago Exp $
EAPI=2 EAPI=2
@ -22,7 +22,7 @@ HOMEPAGE="http://github.com/carlhuda/bundler"
LICENSE="MIT" LICENSE="MIT"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~sparc-solaris ~x86-solaris" KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~sparc-solaris ~x86-solaris"
IUSE="" IUSE=""
ruby_add_rdepend virtual/rubygems ruby_add_rdepend virtual/rubygems

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mongoid/mongoid-2.4.1.ebuild,v 1.1 2012/01/16 20:54:15 flameeyes Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-ruby/mongoid/mongoid-2.4.1.ebuild,v 1.2 2012/01/17 14:41:02 ago Exp $
EAPI=4 EAPI=4
USE_RUBY="ruby18" USE_RUBY="ruby18"
@ -18,8 +18,8 @@ RUBY_S="${GITHUB_USER}-${GITHUB_PROJECT}-*"
inherit ruby-fakegem inherit ruby-fakegem
DESCRIPTION="http://mongoid.org/" DESCRIPTION="ODM (Object Document Mapper) Framework for MongoDB"
HOMEPAGE="ODM (Object Document Mapper) Framework for MongoDB" HOMEPAGE="http://mongoid.org/"
SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/tarball/v${PV} -> ${GITHUB_PROJECT}-${PV}.tar.gz" SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/tarball/v${PV} -> ${GITHUB_PROJECT}-${PV}.tar.gz"
LICENSE="MIT" LICENSE="MIT"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mustache/mustache-0.99.4.ebuild,v 1.7 2012/01/14 07:13:49 graaff Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-ruby/mustache/mustache-0.99.4.ebuild,v 1.8 2012/01/17 13:55:05 ago Exp $
EAPI=2 EAPI=2
@ -18,7 +18,7 @@ HOMEPAGE="http://mustache.github.com/"
LICENSE="MIT" LICENSE="MIT"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="" IUSE=""
ruby_add_bdepend "doc? ( app-text/ronn )" ruby_add_bdepend "doc? ( app-text/ronn )"

@ -1,5 +1,2 @@
DIST pdf-reader-git-0.10.0.tgz 8237635 RMD160 4706f7b1058351d0f7781d3c499cb525e4f0e6da SHA1 40cd058f4dbf0a239e1354ec9e910d488951ebca SHA256 266363e5cb69e4060983d517e80282f300759fa0eb383d7eae24b2d6cb65643d DIST pdf-reader-git-0.10.0.tgz 8237635 RMD160 4706f7b1058351d0f7781d3c499cb525e4f0e6da SHA1 40cd058f4dbf0a239e1354ec9e910d488951ebca SHA256 266363e5cb69e4060983d517e80282f300759fa0eb383d7eae24b2d6cb65643d
DIST pdf-reader-git-0.10.1.tgz 8237457 RMD160 6405dba62cfe8b0f875f14b2fa86400f465afaf8 SHA1 7149cf41c879a292f938750e60e0f414c515b676 SHA256 72438bf94047f4f40d7c59d34d116ba183a70ab9de1628e0e5bd6443c4618f84 DIST pdf-reader-git-0.10.1.tgz 8237457 RMD160 6405dba62cfe8b0f875f14b2fa86400f465afaf8 SHA1 7149cf41c879a292f938750e60e0f414c515b676 SHA256 72438bf94047f4f40d7c59d34d116ba183a70ab9de1628e0e5bd6443c4618f84
DIST pdf-reader-git-0.8.6.tgz 8205010 RMD160 1cd512d1402d1db8b3f8bbc99747775ea8797b2e SHA1 40d7043e4823d9019a522b52d2c68e332ef57ce1 SHA256 5fc4e0a5e5246d82f57670f1cae340a4cd4b9a9bbf8cc6029e0d67aae45a2361
DIST pdf-reader-git-0.9.2.tgz 8236981 RMD160 4809e1d4889ceb7258a35dca357c0cf49512a5e7 SHA1 d5a06244fbb5bbc91f1580b36316866a2b0a1d17 SHA256 3e078ee1fc3b2436c03e6513e3ce507864a6d32a9403743fae9ecb157744be5a
DIST pdf-reader-git-0.9.3.tgz 8237228 RMD160 7b7a013c526e250509e24b51197861082eead073 SHA1 466216bb2e3c7f12887b771133a731d9a39e01c2 SHA256 ebd7a649a283c68006d54d41514a9262ae3cc89cedec44a930aad9fe90ccec16

@ -1,61 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pdf-reader/pdf-reader-0.8.6.ebuild,v 1.2 2010/10/09 08:39:02 graaff Exp $
EAPI=2
GITHUB_USER=yob
USE_RUBY="ruby18 ruby19 ree18 jruby"
RUBY_FAKEGEM_TASK_TEST="spec"
RUBY_FAKEGEM_TASK_DOC="doc"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc TODO"
inherit ruby-fakegem
DESCRIPTION="PDF parser conforming as much as possible to the PDF specification from Adobe"
HOMEPAGE="http://github.com/yob/pdf-reader/"
# We cannot use the gem distributions because they don't contain the
# tests' data, we have to rely on the git tags.
SRC_URI="http://github.com/${GITHUB_USER}/${PN}/tarball/v${PV} -> ${PN}-git-${PV}.tgz"
S="${WORKDIR}/${GITHUB_USER}-${PN}-*"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
ruby_add_rdepend dev-ruby/ascii85
# rspec is loaded even during doc generation, so keep it around :(
ruby_add_bdepend "dev-ruby/rake dev-ruby/rspec:0"
all_ruby_prepare() {
# Avoid forcing rcov on, this also seem to resolve a problem in
# tests with US_ASCII encoding.
sed -i \
-e '/rcov/s:true:false:' \
Rakefile || die "Rakefile fix failed"
}
each_ruby_test() {
case ${RUBY} in
*jruby)
eqawarn "jruby tests hang, reported upstream."
;;
*)
each_fakegem_test
;;
esac
}
all_ruby_install() {
all_fakegem_install
docinto examples
dodoc examples/* || die
}

@ -1,51 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pdf-reader/pdf-reader-0.9.2.ebuild,v 1.1 2011/05/24 09:54:18 graaff Exp $
EAPI=2
GITHUB_USER=yob
USE_RUBY="ruby18 ruby19 ree18 jruby"
RUBY_FAKEGEM_TASK_TEST="spec"
RUBY_FAKEGEM_TASK_DOC="doc"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc TODO"
inherit ruby-fakegem
DESCRIPTION="PDF parser conforming as much as possible to the PDF specification from Adobe"
HOMEPAGE="http://github.com/yob/pdf-reader/"
# We cannot use the gem distributions because they don't contain the
# tests' data, we have to rely on the git tags.
SRC_URI="http://github.com/${GITHUB_USER}/${PN}/tarball/v${PV} -> ${PN}-git-${PV}.tgz"
S="${WORKDIR}/${GITHUB_USER}-${PN}-*"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
ruby_add_rdepend dev-ruby/ascii85
# rspec is loaded even during doc generation, so keep it around :(
ruby_add_bdepend ">=dev-ruby/rspec-2.1:2"
all_ruby_prepare() {
# Remove bundler support
sed -i -e '/[Bb]undler/d' Rakefile spec/spec_helper.rb || die
rm Gemfile || die
# Roodi is not yet available in CVS.
sed -i -e '/roodi/d' Rakefile || die
}
all_ruby_install() {
all_fakegem_install
docinto examples
dodoc examples/* || die
}

@ -1,51 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pdf-reader/pdf-reader-0.9.3.ebuild,v 1.1 2011/07/02 06:06:12 graaff Exp $
EAPI=2
GITHUB_USER=yob
USE_RUBY="ruby18 ruby19 ree18 jruby"
RUBY_FAKEGEM_TASK_TEST="spec"
RUBY_FAKEGEM_TASK_DOC="doc"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc TODO"
inherit ruby-fakegem
DESCRIPTION="PDF parser conforming as much as possible to the PDF specification from Adobe"
HOMEPAGE="http://github.com/yob/pdf-reader/"
# We cannot use the gem distributions because they don't contain the
# tests' data, we have to rely on the git tags.
SRC_URI="http://github.com/${GITHUB_USER}/${PN}/tarball/v${PV} -> ${PN}-git-${PV}.tgz"
S="${WORKDIR}/${GITHUB_USER}-${PN}-*"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
ruby_add_rdepend dev-ruby/ascii85
# rspec is loaded even during doc generation, so keep it around :(
ruby_add_bdepend ">=dev-ruby/rspec-2.1:2"
all_ruby_prepare() {
# Remove bundler support
sed -i -e '/[Bb]undler/d' Rakefile spec/spec_helper.rb || die
rm Gemfile || die
# Roodi is not yet available in CVS.
sed -i -e '/roodi/d' Rakefile || die
}
all_ruby_install() {
all_fakegem_install
docinto examples
dodoc examples/* || die
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdiscount/rdiscount-1.6.8.ebuild,v 1.7 2012/01/14 07:11:20 graaff Exp $ # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdiscount/rdiscount-1.6.8.ebuild,v 1.8 2012/01/17 13:55:29 ago Exp $
EAPI=2 EAPI=2
@ -19,7 +19,7 @@ HOMEPAGE="http://github.com/rtomayko/rdiscount"
LICENSE="MIT" LICENSE="MIT"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="" IUSE=""
ruby_add_bdepend "doc? ( app-text/ronn )" ruby_add_bdepend "doc? ( app-text/ronn )"

@ -0,0 +1 @@
DIST ruby-rc4-0.1.3-git.tgz 4312 RMD160 c8231a602310cd01264bffa9da2eda6224685768 SHA1 de0bf59de77c5961597e1462d9bf65434d5e09f1 SHA256 68b1d092e393a2e60ee66a66eebbcf69e03a03c5fa940af3eaecd87566bb863c

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

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

Loading…
Cancel
Save