Sync with portage [Mon Nov 12 00:10:23 MSK 2012].

mhiretskiy
root 12 years ago
parent 9f4389a0f9
commit 2ca8097310

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/conky/conky-1.9.0-r1.ebuild,v 1.3 2012/11/09 02:04:17 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/conky/conky-1.9.0-r1.ebuild,v 1.4 2012/11/11 11:25:28 ago Exp $
EAPI=4
@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-3 BSD LGPL-2.1 MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ppc ppc64 ~sparc ~x86"
KEYWORDS="~alpha amd64 ppc ppc64 ~sparc ~x86"
IUSE="apcupsd audacious curl debug eve hddtemp imlib iostats lua lua-cairo lua-imlib math moc mpd nano-syntax ncurses nvidia +portmon rss thinkpad truetype vim-syntax weather-metar weather-xoap wifi X xmms2"
DEPEND_COMMON="

@ -1,2 +1,3 @@
DIST logrotate-3.8.1.tar.gz 48827 SHA256 c12471e70ae8bc923bd5c4f25e8fd6483b68c6301f3cd79f7cfe37bc5b370169 SHA512 d1467f0c894f44edf46a3049d61ef09e4ae4cc361f3a88e38b2126ebe0650604c6a2b4e1c751ca35538ddb13b25dcee52fa4c21ccefbd040ae1e50c4bb126b09 WHIRLPOOL decd2d6be262c0ab1efc1d0b1b2639f50d16238ab8e781e31008b67e9917a670cd7ff7dfe98ec879b7d1fbb7f12d9f018a1173f44e574737931ab5f81cc221c0
DIST logrotate-3.8.2.tar.gz 51213 SHA256 1cb9496e48fc4b8fe63d85d27be8567e9131541fe11e4d4d5993730afc578cab SHA512 ccf21a06a8af5535f0e6de05dc5b02c3e7efdfe6117cb0fc3f4d8d41e8c579bddad3aeba7dfa63cea0bcf78f5cfbe010ff9c7b580ea868229bf3069f29906162 WHIRLPOOL bcc9a27ca1afa29e56ea366cc6ed034ecbc93995d3bda63e24e0b593cbe181091b4f525726130becdbd9bda8d136f36da40105316c80d4576613948b5f3a7fe7
DIST logrotate-3.8.3.tar.gz 52210 SHA256 0776bf491171edbcc3ba577751fc912e721e99b834c14251df8109fd3bfa1977 SHA512 34bd24a4740191f8a2e3941fbebcade308becc60cb7aca6ccde93662afe8341dbf7d9177dfe1bd4c124b3aa2829d0ad999fa4bba9101e479f077c55b26fe7119 WHIRLPOOL a9bdec35bf6bc6bedf6ecc0245e6b1780fb2a2910b67ba0704d41f4939c12e2aac948e9f4fb43c5ccbd7d5a54c30f12229fff35b4ca884fc0d3f725b62dbf208

@ -0,0 +1,46 @@
diff -Nur a/logrotate.c b/logrotate.c
--- a/logrotate.c 2012-10-04 09:59:14.000000000 +0200
+++ b/logrotate.c 2012-11-11 12:04:19.530008151 +0100
@@ -296,16 +296,22 @@
int createOutputFile(char *fileName, int flags, struct stat *sb, acl_type acl, int force_mode)
{
int fd;
- struct stat sb_create;
-
- fd = open(fileName, (flags | O_EXCL | O_NOFOLLOW),
- (S_IRUSR | S_IWUSR) & sb->st_mode);
+ struct stat sb_create;
+ char template[PATH_MAX + 1];
+ char *fname;
+ mode_t umask_value;
+ snprintf(template, PATH_MAX, "%s/logrotate_temp.XXXXXX", ourDirName(fileName));
+ umask_value = umask(0000);
+ fname = mktemp(template);
+ fd = open(fname, (flags | O_EXCL | O_NOFOLLOW), (S_IRUSR | S_IWUSR) & sb->st_mode);
+ umask(umask_value);
if (fd < 0) {
- message(MESS_ERROR, "error creating output file %s: %s\n",
- fileName, strerror(errno));
+ message(MESS_ERROR, "error creating unique temp file: %s\n",
+ strerror(errno));
return -1;
}
+
if (fchmod(fd, (S_IRUSR | S_IWUSR) & sb->st_mode)) {
message(MESS_ERROR, "error setting mode of %s: %s\n",
fileName, strerror(errno));
@@ -347,6 +353,13 @@
}
#endif
+ if (rename(template, fileName)) {
+ message(MESS_ERROR, "error renaming temp file to %s: %s\n",
+ fileName, strerror(errno));
+ close(fd);
+ return -1;
+ }
+
return fd;
}

@ -0,0 +1,12 @@
diff -Nur a/logrotate.c b/logrotate.c
--- a/logrotate.c 2012-10-04 09:59:14.000000000 +0200
+++ b/logrotate.c 2012-11-09 20:50:01.659874980 +0100
@@ -1832,7 +1832,7 @@
}
/* Hack to hide earlier bug */
- if ((year != 1900) && (year < 1996 || year > 2100)) {
+ if ((year != 1900) && (year < 1970 || year > 2100)) {
message(MESS_ERROR,
"bad year %d for file %s in state file %s\n", year,
argv[0], stateFilename);

@ -0,0 +1,61 @@
Fix compilation on Gentoo/FreeBSD, no alloca.h here and PATH_MAX
is defined elsewhere.
See bug 254795
diff -Nur a/config.c b/config.c
--- a/config.c 2012-10-04 09:59:14.000000000 +0200
+++ b/config.c 2012-11-09 21:23:50.439863583 +0100
@@ -1,6 +1,6 @@
#include <sys/queue.h>
/* Alloca is defined in stdlib.h in NetBSD */
-#ifndef __NetBSD__
+#if !defined(__NetBSD__) && !defined(__FreeBSD__)
#include <alloca.h>
#endif
#include <limits.h>
@@ -24,6 +24,9 @@
#include <fnmatch.h>
#include <sys/mman.h>
+#if !defined(PATH_MAX) && defined(__FreeBSD__)
+#include <sys/param.h>
+#endif
#include "basenames.h"
#include "log.h"
#include "logrotate.h"
diff -Nur a/logrotate.c b/logrotate.c
--- a/logrotate.c 2012-10-04 09:59:14.000000000 +0200
+++ b/logrotate.c 2012-11-09 21:24:37.349863321 +0100
@@ -1,6 +1,6 @@
#include <sys/queue.h>
/* alloca() is defined in stdlib.h in NetBSD */
-#ifndef __NetBSD__
+#if !defined(__NetBSD__) && !defined(__FreeBSD__)
#include <alloca.h>
#endif
#include <limits.h>
@@ -41,6 +41,9 @@
static acl_type prev_acl = NULL;
+#if !defined(PATH_MAX) && defined(__FreeBSD__)
+#include <sys/param.h>
+#endif
#include "basenames.h"
#include "log.h"
#include "logrotate.h"
diff -Nur a/Makefile b/Makefile
--- a/Makefile 2012-10-04 09:59:14.000000000 +0200
+++ b/Makefile 2012-11-09 21:25:24.569863057 +0100
@@ -17,8 +17,10 @@
ifeq ($(WITH_ACL),yes)
CFLAGS += -DWITH_ACL
+ifneq ($(OS_NAME),FreeBSD)
LOADLIBES += -lacl
endif
+endif
# HP-UX using GCC
ifeq ($(OS_NAME),HP-UX)

@ -0,0 +1,77 @@
diff -Nur a/Makefile b/Makefile
--- a/Makefile 2012-10-04 09:59:14.000000000 +0200
+++ b/Makefile 2012-11-11 16:17:11.340052857 +0100
@@ -116,7 +116,7 @@
.PHONY : test
test: $(TARGET)
- (cd test; ./test)
+ (cd test; ./test $(WITH_ACL))
install:
[ -d $(PREFIX)$(BINDIR) ] || mkdir -p $(PREFIX)$(BINDIR)
diff -Nur a/test/test b/test/test
--- a/test/test 2012-10-04 09:59:14.000000000 +0200
+++ b/test/test 2012-11-11 16:03:55.410050512 +0100
@@ -4,6 +4,7 @@
M="-m ./mailer"
S=-"s state"
RLR="$LOGROTATE $M $S"
+TEST_ACL="$1"
cleanup() {
rm -f test*.log* anothertest*.log* state test-config. scriptout mail-out compress-args
@@ -686,6 +687,8 @@
test.log.1 0 zero
EOF
+if [[ "${TEST_ACL}" = "acl" ]] ; then
+
cleanup 32
# ------------------------------- Test 32 ------------------------------------
@@ -713,6 +716,13 @@
test.log.1 0 zero
EOF
+else
+ echo "Skipping test 32"
+
+fi
+
+if [[ "${TEST_ACL}" = "acl" ]] ; then
+
cleanup 33
# ------------------------------- Test 33 ------------------------------------
@@ -740,6 +750,11 @@
test.log.1 0 zero
EOF
+else
+ echo "Skipping test 33"
+
+fi
+
cleanup 34
# ------------------------------- Test 34 ------------------------------------
@@ -759,6 +774,8 @@
test.log 0 zero
EOF
+if [[ "${TEST_ACL}" = "acl" ]] ; then
+
cleanup 35
# ------------------------------- Test 35 ------------------------------------
@@ -786,4 +803,9 @@
test.log.1 0 zero
EOF
+else
+ echo "Skipping test 35"
+
+fi
+
cleanup

@ -0,0 +1,14 @@
diff -Nur a/config.c b/config.c
--- a/config.c 2012-10-04 09:59:14.000000000 +0200
+++ b/config.c 2012-11-09 20:57:07.139872584 +0100
@@ -255,7 +255,9 @@
char *pattern;
/* Check if fname is '.' or '..'; if so, return false */
- if (fname[0] == '.' && (!fname[1] || (fname[1] == '.' && !fname[2])))
+ /* Don't include 'hidden' files either; this breaks Gentoo
+ portage config file management http://bugs.gentoo.org/87683 */
+ if (fname[0] == '.')
return 0;
/* Check if fname is ending in a taboo-extension; if so, return false */

@ -0,0 +1,55 @@
diff -Nur a/config.c b/config.c
--- a/config.c 2012-10-04 09:59:14.000000000 +0200
+++ b/config.c 2012-11-09 21:08:09.099868866 +0100
@@ -45,39 +45,6 @@
#include "asprintf.c"
#endif
-#if !defined(asprintf)
-#include <stdarg.h>
-
-int asprintf(char **string_ptr, const char *format, ...)
-{
- va_list arg;
- char *str;
- int size;
- int rv;
-
- va_start(arg, format);
- size = vsnprintf(NULL, 0, format, arg);
- size++;
- va_start(arg, format);
- str = malloc(size);
- if (str == NULL) {
- va_end(arg);
- /*
- * Strictly speaking, GNU asprintf doesn't do this,
- * but the caller isn't checking the return value.
- */
- fprintf(stderr, "failed to allocate memory\\n");
- exit(1);
- }
- rv = vsnprintf(str, size, format, arg);
- va_end(arg);
-
- *string_ptr = str;
- return (rv);
-}
-
-#endif
-
#if !defined(strndup)
char *strndup(const char *s, size_t n)
{
diff -Nur a/logrotate.h b/logrotate.h
--- a/logrotate.h 2012-10-04 09:59:14.000000000 +0200
+++ b/logrotate.h 2012-11-09 21:08:29.829868750 +0100
@@ -67,8 +67,5 @@
extern int debug;
int readAllConfigPaths(const char **paths);
-#if !defined(asprintf)
-int asprintf(char **string_ptr, const char *format, ...);
-#endif
#endif

@ -0,0 +1,79 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.8.3.ebuild,v 1.1 2012/11/11 15:30:51 nimiux Exp $
EAPI=4
inherit eutils toolchain-funcs flag-o-matic
DESCRIPTION="Rotates, compresses, and mails system logs"
HOMEPAGE="https://fedorahosted.org/logrotate/"
SRC_URI="https://fedorahosted.org/releases/l/o/logrotate/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="acl selinux"
RDEPEND="
>=dev-libs/popt-1.5
selinux? (
sys-libs/libselinux
sec-policy/selinux-logrotate
)
acl? ( virtual/acl )"
DEPEND="${RDEPEND}
>=sys-apps/sed-4"
src_prepare() {
epatch \
"${FILESDIR}"/${P}-datehack.patch \
"${FILESDIR}"/${P}-ignore-hidden.patch \
"${FILESDIR}"/${P}-fbsd.patch \
"${FILESDIR}"/${P}-noasprintf.patch \
"${FILESDIR}"/${P}-atomic-create.patch \
"${FILESDIR}"/${P}-fix-acl-tests.patch
}
src_configure() {
return
}
src_compile() {
local myconf
myconf="CC=$(tc-getCC)"
use selinux && myconf="${myconf} WITH_SELINUX=yes"
use acl && myconf="${myconf} WITH_ACL=yes"
emake ${myconf} RPM_OPT_FLAGS="${CFLAGS}"
}
src_test() {
WITH_ACL="$(usev acl)" default_src_test
}
src_install() {
insinto /usr
dosbin logrotate
doman logrotate.8
dodoc CHANGES examples/logrotate*
exeinto /etc/cron.daily
doexe "${FILESDIR}"/logrotate.cron
insinto /etc
doins "${FILESDIR}"/logrotate.conf
keepdir /etc/logrotate.d
}
pkg_postinst() {
if [[ -z ${REPLACING_VERSIONS} ]] ; then
elog "If you wish to have logrotate e-mail you updates, please"
elog "emerge virtual/mailx and configure logrotate in"
elog "/etc/logrotate.conf appropriately"
elog
elog "Additionally, /etc/logrotate.conf may need to be modified"
elog "for your particular needs. See man logrotate for details."
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-3.0.1.ebuild,v 1.6 2012/11/07 21:33:31 idl0r Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-3.0.1.ebuild,v 1.7 2012/11/11 01:40:27 idl0r Exp $
EAPI="4"
@ -78,7 +78,6 @@ all_ruby_install() {
fowners -R puppet:puppet /var/log/puppet
if use minimal ; then
rm "${ED}/usr/bin/puppetmasterd"
rm "${ED}/etc/puppet/auth.conf"
else
newinitd "${FILESDIR}"/puppetmaster.init puppetmaster

@ -0,0 +1 @@
DIST cardpeek-0.7.1.tar.gz 599238 SHA256 fa7f4fcabf211fefb968a5a49099e9a07430995556b7d59e95eeefef59538546 SHA512 8ea7f69e096de37543fec779372355a6f6cad709e43a4a66a072b453f962ebe55d25e432fb426cd88824f7165d724ddc6da55a6106e571608162b8094823be45 WHIRLPOOL 95f41d53840969beb3b98729c22ed8fe1e781ab6fe36ad3387cddf52963c2d56f5bca95955681cea839ce64ab6afddfc4d3cbf403e320d8dfec37ac0bd3a68bd

@ -0,0 +1,24 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/cardpeek/cardpeek-0.7.1.ebuild,v 1.1 2012/11/11 03:38:25 flameeyes Exp $
EAPI=5
inherit eutils
DESCRIPTION="Tool to read the contents of smartcards"
HOMEPAGE="https://code.google.com/p/cardpeek/"
SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND=">=x11-libs/gtk+-2.12:2
sys-apps/pcsc-lite
=dev-lang/lua-5.1*
dev-libs/openssl"
DEPEND="${RDEPEND}
virtual/pkgconfig"

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

@ -1,2 +1,4 @@
DIST lxc-0.8.0-backports-1.tar.xz 2424 SHA256 5b68b96b9fbc2d0f5b2ad2e7fb996a3d837114237a306de39d9939f31756a522 SHA512 9898d78836cc546e80015a18070e3976118d2efb006584ecfb2887a4474598766e023eb6c120c16dae2e94dddc33c8a4e928fd44bc6fb2260a1913c06f5d374e WHIRLPOOL ef11f25ec8891f431be7aed32b38c0cc51e1096a37ea71c38aed4448ab0305784b510e2b55bdc73e5ef2128344a6c88adb3add798323f77e276b5185e53f5ef9
DIST lxc-0.8.0-rc2-backports-2.tar.xz 4616 SHA256 c371817b5be47ed70dea410a32dc434a060073992d5299d2c88853de79aa2111 SHA512 ca646ae325a4cf94632c443397834a8a7dc004874b528d2d685b698b3eda1e72e09ecfd68899b9c0cd17d5d7bf1a62230dd6d17d26f73d2d4ecbf1932c31b996 WHIRLPOOL 76deca3e2b7fe306c0e2f538759fb33656f08c52d1b59570edc6f3d2444d387a0f7944f759baf41402e747eb055ab403a82a40b95ba0c7d42d0644a5f990e851
DIST lxc-0.8.0-rc2.tar.gz 302999 SHA256 1f0ee0464507d26e494784e841b68c765ecd3abc5976012e226f69d1aa361bef SHA512 e6608f980489f67d412c9a50f8c3f65c1afbba520dfdfe2b695c597c2706544291f31c8cfca2d86cfbab09029f8a5706fae5ab72f1c45dccca5f7e2ae8851181 WHIRLPOOL b41fe7e14315b9e6702070535edfee68379c01fba23d143c5f11afa20f6d392c8bc32953da46ec3f74d7a2affe9f828d918f23a8a16c430e3b8ffcc9b2c10057
DIST lxc-0.8.0.tar.gz 309973 SHA256 eac833730b94e423d4bef6834bc4a716437d2abd6ab8b24334c506aaaa08692c SHA512 47333e2010d0f4488b8876ba933f2d26304874bec0371a7ab3b6e5bd1a50a7d2312ff8507e273f1ee2341a7f2e3b79cd71e5e19ac31006a4e429ee96b01733f6 WHIRLPOOL 693b7d354dec7c6102d5ce3a42a9b618e213fd9ee8c592068ebadb7f25094606abce6c3da77b483fab0938410215010f71d487f336856c87327d6a98f20b65dd

@ -0,0 +1,151 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/lxc-0.8.0.ebuild,v 1.1 2012/11/11 05:53:05 flameeyes Exp $
EAPI="4"
MY_P="${P/_/-}"
BACKPORTS=1
inherit eutils linux-info versionator flag-o-matic
if [[ -n ${BACKPORTS} ]]; then
inherit autotools
fi
DESCRIPTION="LinuX Containers userspace utilities"
HOMEPAGE="http://lxc.sourceforge.net/"
SRC_URI="http://lxc.sourceforge.net/download/lxc/${MY_P}.tar.gz
${BACKPORTS:+http://dev.gentoo.org/~flameeyes/${PN}/${MY_P}-backports-${BACKPORTS}.tar.xz}"
S="${WORKDIR}/${MY_P}"
KEYWORDS="~amd64 ~ppc64 ~x86"
LICENSE="LGPL-3"
SLOT="0"
IUSE="examples vanilla"
RDEPEND="sys-libs/libcap"
DEPEND="${RDEPEND}
app-text/docbook-sgml-utils
>=sys-kernel/linux-headers-3.2"
# For init script, so protect with vanilla, they are not strictly
# needed.
RDEPEND="${RDEPEND}
!vanilla? (
sys-apps/util-linux
app-misc/pax-utils
>=sys-apps/openrc-0.9.9.1
virtual/awk
)"
CONFIG_CHECK="~CGROUPS ~CGROUP_DEVICE
~CPUSETS ~CGROUP_CPUACCT
~RESOURCE_COUNTERS ~CGROUP_MEM_RES_CTLR
~CGROUP_SCHED
~NAMESPACES
~IPC_NS ~USER_NS ~PID_NS
~DEVPTS_MULTIPLE_INSTANCES
~CGROUP_FREEZER
~UTS_NS ~NET_NS
~VETH ~MACVLAN
~POSIX_MQUEUE
~!NETPRIO_CGROUP
~!GRKERNSEC_CHROOT_MOUNT
~!GRKERNSEC_CHROOT_DOUBLE
~!GRKERNSEC_CHROOT_PIVOT
~!GRKERNSEC_CHROOT_CHMOD
~!GRKERNSEC_CHROOT_CAPS
"
ERROR_DEVPTS_MULTIPLE_INSTANCES="CONFIG_DEVPTS_MULTIPLE_INSTANCES: needed for pts inside container"
ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers"
ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info"
ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network"
ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking"
ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command"
ERROR_NETPRIO_CGROUP="CONFIG_NETPRIO_CGROUP: as of kernel 3.3 and lxc 0.8.0_rc1 this causes LXCs to fail booting."
ERROR_GRKERNSEC_CHROOT_MOUNT=":CONFIG_GRKERNSEC_CHROOT_MOUNT some GRSEC features make LXC unusable see postinst notes"
ERROR_GRKERNSEC_CHROOT_DOUBLE=":CONFIG_GRKERNSEC_CHROOT_DOUBLE some GRSEC features make LXC unusable see postinst notes"
ERROR_GRKERNSEC_CHROOT_PIVOT=":CONFIG_GRKERNSEC_CHROOT_PIVOT some GRSEC features make LXC unusable see postinst notes"
ERROR_GRKERNSEC_CHROOT_CHMOD=":CONFIG_GRKERNSEC_CHROOT_CHMOD some GRSEC features make LXC unusable see postinst notes"
ERROR_GRKERNSEC_CHROOT_CAPS=":CONFIG_GRKERNSEC_CHROOT_CAPS some GRSEC features make LXC unusable see postinst notes"
DOCS=(AUTHORS CONTRIBUTING MAINTAINERS TODO README doc/FAQ.txt)
src_prepare() {
if [[ -n ${BACKPORTS} ]]; then
epatch "${WORKDIR}"/patches/*
eautoreconf
fi
}
src_configure() {
append-flags -fno-strict-aliasing
econf \
--localstatedir=/var \
--bindir=/usr/sbin \
--docdir=/usr/share/doc/${PF} \
--with-config-path=/etc/lxc \
--with-rootfs-path=/usr/lib/lxc/rootfs \
--enable-doc \
--disable-apparmor \
$(use_enable examples)
}
src_install() {
default
rm -r "${D}"/usr/sbin/lxc-setcap \
|| die "unable to remove lxc-setcap"
keepdir /etc/lxc /usr/lib/lxc/rootfs
find "${D}" -name '*.la' -delete
use vanilla && return 0
# Gentoo-specific additions!
newinitd "${FILESDIR}/${PN}.initd.2" ${PN}
keepdir /var/log/lxc
}
pkg_postinst() {
if ! use vanilla; then
elog "There is an init script provided with the package now; no documentation"
elog "is currently available though, so please check out /etc/init.d/lxc ."
elog "You _should_ only need to symlink it to /etc/init.d/lxc.configname"
elog "to start the container defined into /etc/lxc/configname.conf ."
elog "For further information about LXC development see"
elog "http://blog.flameeyes.eu/tag/lxc" # remove once proper doc is available
elog ""
fi
ewarn "With version 0.7.4, the mountpoint syntax came back to the one used by 0.7.2"
ewarn "and previous versions. This means you'll have to use syntax like the following"
ewarn ""
ewarn " lxc.rootfs = /container"
ewarn " lxc.mount.entry = /usr/portage /container/usr/portage none bind 0 0"
ewarn ""
ewarn "To use the Fedora, Debian and (various) Ubuntu auto-configuration scripts, you"
ewarn "will need sys-apps/yum or dev-util/debootstrap."
ewarn ""
ewarn "Some GrSecurity settings in relation to chroot security will cause LXC not to"
ewarn "work, while others will actually make it much more secure. Please refer to"
ewarn "Diego Elio Pettenò's weblog at http://blog.flameeyes.eu/tag/lxc for further"
ewarn "details."
}

@ -1,3 +1,3 @@
DIST VBoxGuestAdditions_4.1.22.iso 52207616 SHA256 5c7d9a4a31c8a926ba6dbae2b9704a561638e94ea0fc4f805a9231dd4f932d46 SHA512 529e5f236a1c4bad9123941d8fc3b0d73f93309d42656bf72090282bd970843457af548323079e36ea95d14b8320b3aaafb3ae790da5694d22f538ff8aa1fcf3 WHIRLPOOL f826dd334cfcc25b64b0ecdfb6a5e15bed60d3ceb398710a1787ea43f154b72e1117840f448ba398dcfe149ce0897799b57f0cf1e1e8b070cc055bc9e98896f9
DIST VBoxGuestAdditions_4.2.0.iso 55207936 SHA256 ef274ecdcb48adec469656959e51c8468b6d3a7733ddf93f9a3713f77f1604f3 SHA512 e6d9241298297bac9fdcc0cbd8afba8d5075b531d966059ae7cf216cf4b1536e9320e773c0bbe3b376effa8b49bc189189607e85735149f73a7cacff5ad2d798 WHIRLPOOL 1fb8418151bc9ed323044834d65b042792a434d0e91cb873c07be03d85789b316979dd73b75d34967ccfce442717cddb54976467d1f7111e9a6662c4c2c7ce91
DIST VBoxGuestAdditions_4.2.2.iso 56872960 SHA256 26f5390b36a3bb9855846d194dcd287b8e53613b599c6ffd7aff1b451cc7f1f1 SHA512 f82e3c4705140cd33737c0819b541bb7c8613ca03bf13fc8d7baeba7f0425b29f04beea7d1e0235080023ef2e23521f458c2a208ddc36736db791955f5c12780 WHIRLPOOL b58f0cead91e291abe61168caef4405884f625c93fd593abe6995abacb9fb078908f11289604c016c5293ff5d557975ebb368fb3e763bf11c31390913cabcf73
DIST VBoxGuestAdditions_4.2.4.iso 55379968 SHA256 3d7d909a0fe9ac5ffcca6afdd4142b88bad116d2ffed6e95588dbfbcf00ca5e9 SHA512 650c570a6cb1631546070ba5166a049ec7273632e5e02b4ada399c3efdb9b8da658b67197df9c20ef0f838cc05b570d61773d1b17244bcba1e9f8e83e9591ce5 WHIRLPOOL ab0497b69c540e1b9a1c6ce8a18a8885d3e62b9dc89d721fd5f63a315976b53cd71debbd15499c28531169b942e277f6998863b76d237d5f0e3257fee1b4f7f2

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-additions/virtualbox-additions-4.2.0.ebuild,v 1.1 2012/09/13 19:41:15 polynomial-c Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-additions/virtualbox-additions-4.2.4.ebuild,v 1.1 2012/11/10 21:09:02 polynomial-c Exp $
EAPI=2

@ -1,12 +1,12 @@
DIST Oracle_VM_VirtualBox_Extension_Pack-4.1.22-80657.tar.gz 10778079 SHA256 837ea30834b7c80e2ae114bb62becac4745ad2878658239cc8eb13ff54cea75f SHA512 1dc1aa1d57a51b05e01004cabbdd40b2b5ff410d3f514cb499c50d847f8830610108bde225a6156a0d9c0c03a7ab96c4d767a7c7a6a5616191cbc1fb46486cca WHIRLPOOL 6758b41ac4d2169b618fbaff6f759ba0b5a3595c77025f61c74ef57ee180ba49c31a9d7ce2b65d37de3e921c2d734878a6deaa00741603e3d5717d203510838d
DIST Oracle_VM_VirtualBox_Extension_Pack-4.2.0-80737.tar.gz 10828566 SHA256 18055795fa95d3a49ac00fd7e5009113d871a0c87a5e0f864f88c4eeb3222218 SHA512 ef637feea9041bcd68e5937a5bcc092b99862e2b9baa95263630f5ae2c1999c0cd2522b83707fb462d7a32af6ab1dcc2bf9275fd15ac94947cc5189b92c3b64e WHIRLPOOL b0696b319dff29a050ca5520e39625fb0d956e45309a2c773f1b77ad2fab83f9d7fbef4adb3a27be9ddd50068a45e4df155013cf7b6c879a9caa9e34ecf8a7aa
DIST Oracle_VM_VirtualBox_Extension_Pack-4.2.2-81494.tar.gz 11008309 SHA256 2a0824a7f6b93842feb13fe15de16a1bb33c9221116d62ce759eed6878169c2b SHA512 1f1ef106959d342303abbc5e15f07e63ce01335c3f05d525e1d9ba1e21309f2d51bf855b3f7bb0dac62a1d9b57bb8422425a45c313e232795b2e342f0c9ffe7e WHIRLPOOL 071053f6337da7a749c49c945d383b852e6d8d669e59c36e528966d278c2f99b58760977d6c59eaa41965472a2a787268492dfdea9f8321ef4370cdff2a37359
DIST Oracle_VM_VirtualBox_Extension_Pack-4.2.4-81684.tar.gz 11010592 SHA256 62078e057a4ab56aec5ac086746522b3d94787333d0444169471fa5152c609ed SHA512 4e9bcd949e115e8b1f3e268dd933e2fed000d564cfd48408e304a167a2167f85240a7bb4c845c01a7c965e4ff5a60783cc3a8ff40a0246611cf5cc2ac5d0c580 WHIRLPOOL 1e9f6dbd22c917eb9b983e39ad4321ce23741ef8c5a357c3900954194bb5280051ebc29cc5b0d6f2efa98024412ce50d0a61dc793a7bb23a9561873100675c65
DIST VirtualBox-4.1.22-80657-Linux_amd64.run 78693841 SHA256 d53a5cc2d1b9431d4f9443462b84549678e943be1d8b4a714d7844c741507c76 SHA512 cdd2920099c0c0349bc6750ab7cad67f23cfba109db62297ad8bede1e7a5658781a29ea1111c8ae1b07cf1eeaf2394baf419be1b9b174575f3c10c13aa9d9b68 WHIRLPOOL c532b3b48c9a0b8057c65db4cbd6e31f17e93a88a4bb5842f9b8c821e8f102d4e2b1bcbfd081ec6a1ecc95b697d8f7914542e8aefcebeb9b2137ad8edf267696
DIST VirtualBox-4.1.22-80657-Linux_x86.run 78632398 SHA256 a18a2b7723bc8c325149b5581ae36208211c7d8651269516d366db9cdafcd0ae SHA512 0f9dd4fc25828cec3ac3d2961b925a57dd88e0af1c3cf75c9199428b4090790ebd439015700b63def6c53b5acc94135e7766f36f29d6befcb03339d563fac054 WHIRLPOOL 76d06e577f2ee3d9ec0eea0b9800b618af97205ac9b036fe3f1c73b7ecccfbf6f57e49ddc224e9963eb048c5fe6e88cfedf9743b8af2df97137feb03e89fac36
DIST VirtualBox-4.2.0-80737-Linux_amd64.run 80342468 SHA256 04030998f15b656e9b76064cde3e6cb43c5a41b1e25e700f123f5a629578fe5e SHA512 12230b1910cbf7d3ef7942fa262d96caeb0a5d97cc21b344933c2b21feb0883785d51134c2d14f904972595ca4655034408d57f2327024ba7c95abbc7e2c4152 WHIRLPOOL 2a92948b86514b684cf7116d9cf4ae880cb9b559ea5379ae7c7c1dbd652549a431ace9c77704fd7a916cafab18f5f3fec88383cea7164dfc18788e1802eb8585
DIST VirtualBox-4.2.0-80737-Linux_x86.run 80158144 SHA256 d859981312c2b6ed9e596375fc180378763b09e5a3cf0d6dd61bc252789006c4 SHA512 755aa7efbe75e4bd83b04bd950955516d2a5462fd8b398092dbb8854cbba54ce22d8072b885abba883fc8c751a41ee7670c021ef72f530b726466fa3bddbbf0d WHIRLPOOL 101492d5e9b85ee7634d2b3b5cbd9f1aff258b12c951455ee969b2fe48768f48e90956a5dbcfaf8c83be6cf10f601fad6633c56a471a34762f8079f52db8a72d
DIST VirtualBox-4.2.2-81494-Linux_amd64.run 81960401 SHA256 a4d1d1f3047fb3e242338dbaa59d781b189d58021a04d29aac0a3f8ab7b54733 SHA512 8d807c05e3e47ff5613c76356a50a522b1a8dc3d665ed0f7c7f24db47f0495278e5877aa8a0057a50f0c7dac14d5b1f4aa18fb54dc61b2f4dc9d9f91b99320b0 WHIRLPOOL df48a91e981f0edc34b3e1e52691a8efe768107a02459423c740b977aae90f55e1540ee17b40f696b3d325a589eba29feeed7ef69a517b256e9a8f270298e84b
DIST VirtualBox-4.2.2-81494-Linux_x86.run 81694157 SHA256 c9f1609d9df2f467e1b79ce483e21a912dc3a1431219d5e7528815517de1c175 SHA512 2a593d6ab7d77c60ce1743e86edc6a5d50ec6e07a65dada1bb13c8a3dd7c2e5c2f454f94f32502297746615a09b08f3ffdf27b3e362ac3762fed80dfcdfe556a WHIRLPOOL 15ccffe8ebf00c8acc811911b84d1413c74b36cff1893772aa1cdaac9627c8bbefe84162b6175956bf365dc88a5efc54b924a2acaff953ff3bbc154d3410e98b
DIST VirtualBox-4.2.4-81684-Linux_amd64.run 80362961 SHA256 4dcd1609dc26c978e7d61e52ae166005e2220acaed159ad5af24c14c3051d51b SHA512 c2aea9bdd9aa5e67331e07104231386093a819304d36c602f1400c92251ea343a00899d3bf3e2cafadd3bcc1965ea1c7851c3571b01887027e74edda0f1e5256 WHIRLPOOL cdca20c6be233767f604325bb561247aa7104a702088a591db169a3c1bd32c28d75f609ea19892b3046cb92e799481ea8ab824173789b5b5283a59b1af9bcd11
DIST VirtualBox-4.2.4-81684-Linux_x86.run 80106957 SHA256 e691b5ca67d625463c6337ec491a6752f0784a85e3c0f9a6550cd02b508e3f5c SHA512 49c88a29de3fc1d70daf3410d6aef64a60db65e36271778623a265a50680f1847232d6dbb701b3bfe778cb8ba014701c8040287ddb9a4e61314be14f863201fe WHIRLPOOL 68a9b2299ff6f033d48a3c4b22c32a2f75edb27092de75a1afc7e3a3d5b329fe2611b3074fd0a6659b8e20ce8cff46acb7f180c8cf77689a2586b2b2f9fa424e
DIST VirtualBoxSDK-4.1.22-80657.zip 8805310 SHA256 89f221ae08863342e7a8da3186135796430614e5792d7f8eae284b1360f669d2 SHA512 e488f6099f814174555112bccb06710d1dd782943c01ae4afb6f907328f28b198caf992f6c142751223b71cff02cdaca206fddd5f61b00c4c010ed84f922f94d WHIRLPOOL 69d9c3c1e44e5657d88b1d6b6da0deb8b65d0f88656eea895249fb610bdc0c0539b0c6daadaf04185296fbc2553873acf86308d26725d3292760ff395bf3390d
DIST VirtualBoxSDK-4.2.0-80737.zip 9718188 SHA256 cf1bca71340d78b474c5c74eadf97d66121b39a6fa575b156f2f1e1f8a8db24d SHA512 699d01933d65fde33ebd60f7b4928801641c5ae2432fee0693da84cffe3271012a09ed7021d71381bd6894d4457e90ed02fac14dcb8b58dea396dbf990344db5 WHIRLPOOL c407867a4b4d68844553c33d012b79bbd80f2cad59e94435c451486518aca1022480fa4d13b2fddc6e93231fe5d7b9cbe6d60be3d30166e5c33a856230b43206
DIST VirtualBoxSDK-4.2.2-81494.zip 9714925 SHA256 694fe0bef149e4f0802d2415f914e77e49f897b69316d608f4d7c4ef62acfbb9 SHA512 169982667582534cf160d6049ca8bd9a0f62b1c33c2e4037747eedafecd999218084fb85d8d4af3fca00b8126eb64a6b845e3d5590cd0ab24e0dfbd394ff6e53 WHIRLPOOL 96673147e0a9fa35ded2c84a6e36f1884ac91584824daef0b90f1b137db115cc0dce9837ae15aa5d8a1f6b424db1fc1f24cbf99c25fb55fc68714e64a1519f7f
DIST VirtualBoxSDK-4.2.4-81684.zip 9715854 SHA256 eb42fd92692746094a03e5bd468e1a87670f3d6806b8d645ecb3d78d2cb80e7e SHA512 e777fdd95bccd23abbd2abcb53bb7fd70221fa82ac875493e87430e3a549f374846de84dbba30874cfbc0021604ff440faec897e3a7415707d3a633ae88e7f52 WHIRLPOOL 1f8eec48ee0c67e3d36352a5e1259dd273b240374b5b5514149dae675c320218d21142195c23e6329edfc44f5d0e413abf4d402591a95dae9fbac731e8234c5f

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-4.2.0.ebuild,v 1.1 2012/09/13 19:39:53 polynomial-c Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-4.2.4.ebuild,v 1.1 2012/11/10 21:08:38 polynomial-c Exp $
EAPI=2
@ -8,7 +8,7 @@ inherit eutils unpacker fdo-mime gnome2 pax-utils
MY_PV=${PV/beta/BETA}
MY_PV=${MY_PV/rc/RC}
VBOX_PV=${MY_PV}-80737
VBOX_PV=${MY_PV}-81684
SDK_PV=${VBOX_PV}
EXTP_PV=${SDK_PV}
MY_P=VirtualBox-${VBOX_PV}-Linux

@ -1,3 +1,3 @@
DIST Oracle_VM_VirtualBox_Extension_Pack-4.1.22-80657.tar.gz 10778079 SHA256 837ea30834b7c80e2ae114bb62becac4745ad2878658239cc8eb13ff54cea75f SHA512 1dc1aa1d57a51b05e01004cabbdd40b2b5ff410d3f514cb499c50d847f8830610108bde225a6156a0d9c0c03a7ab96c4d767a7c7a6a5616191cbc1fb46486cca WHIRLPOOL 6758b41ac4d2169b618fbaff6f759ba0b5a3595c77025f61c74ef57ee180ba49c31a9d7ce2b65d37de3e921c2d734878a6deaa00741603e3d5717d203510838d
DIST Oracle_VM_VirtualBox_Extension_Pack-4.2.0-80737.tar.gz 10828566 SHA256 18055795fa95d3a49ac00fd7e5009113d871a0c87a5e0f864f88c4eeb3222218 SHA512 ef637feea9041bcd68e5937a5bcc092b99862e2b9baa95263630f5ae2c1999c0cd2522b83707fb462d7a32af6ab1dcc2bf9275fd15ac94947cc5189b92c3b64e WHIRLPOOL b0696b319dff29a050ca5520e39625fb0d956e45309a2c773f1b77ad2fab83f9d7fbef4adb3a27be9ddd50068a45e4df155013cf7b6c879a9caa9e34ecf8a7aa
DIST Oracle_VM_VirtualBox_Extension_Pack-4.2.2-81494.tar.gz 11008309 SHA256 2a0824a7f6b93842feb13fe15de16a1bb33c9221116d62ce759eed6878169c2b SHA512 1f1ef106959d342303abbc5e15f07e63ce01335c3f05d525e1d9ba1e21309f2d51bf855b3f7bb0dac62a1d9b57bb8422425a45c313e232795b2e342f0c9ffe7e WHIRLPOOL 071053f6337da7a749c49c945d383b852e6d8d669e59c36e528966d278c2f99b58760977d6c59eaa41965472a2a787268492dfdea9f8321ef4370cdff2a37359
DIST Oracle_VM_VirtualBox_Extension_Pack-4.2.4-81684.tar.gz 11010592 SHA256 62078e057a4ab56aec5ac086746522b3d94787333d0444169471fa5152c609ed SHA512 4e9bcd949e115e8b1f3e268dd933e2fed000d564cfd48408e304a167a2167f85240a7bb4c845c01a7c965e4ff5a60783cc3a8ff40a0246611cf5cc2ac5d0c580 WHIRLPOOL 1e9f6dbd22c917eb9b983e39ad4321ce23741ef8c5a357c3900954194bb5280051ebc29cc5b0d6f2efa98024412ce50d0a61dc793a7bb23a9561873100675c65

@ -1,12 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-4.2.0.ebuild,v 1.1 2012/09/13 19:42:35 polynomial-c Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-4.2.4.ebuild,v 1.1 2012/11/10 21:09:25 polynomial-c Exp $
EAPI=2
inherit eutils multilib
MY_BUILD="80737"
MY_BUILD="81684"
MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
MY_PV="${PV/beta/BETA}"
MY_PV="${MY_PV/rc/RC}"

@ -1,3 +1,3 @@
DIST VirtualBox-4.1.22.tar.bz2 73385514 SHA256 7abb506203dd0d69b4b408fd999b5b9a479a9adce5f80e9b5569641c053dd153 SHA512 1bc2e33f6ce1ab417887241ee95bc3042b5c6072b3babc221c349b36b923f0655e776e98468cc63f65662e5ae3819c974bc8b5c97bae531a2c4a0ebb1c1ebba6 WHIRLPOOL e52ee58fdf1b3d1e1323cb26df1791dbc4c9375061467191a73f12071ac99a5c2791ddb65eeff9af5a645ba39fe88d4f7bc4362c919c9c14ba10a99d1b6c3776
DIST VirtualBox-4.2.0.tar.bz2 76590194 SHA256 895426ecac371bef4c070e8bcc9306f0c57dcbd6be25188d915b63ddde6f49e6 SHA512 76cddb682a2f5615e8ab465e8766d0ba19e1482b595a185cb401fdb962fb6f161945986ea5514934652305fa3d25f66a88767572fa4e0c5d3b5d5ffeb15c8005 WHIRLPOOL 5c4521a1dfc5b249c6c9692741a83014dc98496086e31186883e8b3f43c18af700f8002c3586b1475fd2c8bac2cbcaadc90aafb259ec50ebbeb3703440ddb822
DIST VirtualBox-4.2.2.tar.bz2 75655741 SHA256 943daa13694605d5d0a23ffef27c398b5e72ada669de89bad4b98f000f029700 SHA512 d6a85175e15d3dc49aab825aeb9aa4fb9b2640e6bb3c65dfeaaf492fe8589abe70ad5dbf8ed07d502f337c243b469a7da35d4bf23bb26f5ad3b0ee0a06a51a10 WHIRLPOOL ad45932ca5ea7e990af975a1c3823d58cc9b180a9f1e0c23576e1c6fb2aead39cdd2d0303b830f334d811c1f4b6b8b585d243a177253f13b53735303ae247c33
DIST VirtualBox-4.2.4.tar.bz2 75625513 SHA256 a7c607523c1c10b7b978ab39a92bb646517316548aa4a1a74b6e434ac2bf0adc SHA512 8238afd440e20842de27c8c68296c88bd18f561a45497ee97364d5720d73a9fe99eba9af3ad851d89e02540e304bcc3f48847704207ce2c8cdced8fa10dc4aa6 WHIRLPOOL 875184cc836ab65a368d1d9fea6eaed7deeea782d9d149a8f568ec372e190730e92ca13858fff51089bf0632136200909c49cf5ba1b9b5bb0fec3ec69293bade

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.2.0.ebuild,v 1.1 2012/09/13 19:46:22 polynomial-c Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.2.4.ebuild,v 1.1 2012/11/10 21:11:38 polynomial-c Exp $
EAPI=2

@ -1,3 +1,3 @@
DIST vbox-kernel-module-src-4.1.22.tar.xz 459980 SHA256 8d37d4c4497fd1de9511af2eb1aea4959045b47ad623f04e76958dfabd0848e3 SHA512 3ac0e55b794468b7b4b204500334d86763c523a2dfac84d830153b3ca324883fdce996eeaa35fa0e36606b46c126c0ab77374d1d3d7df8b65cf1058335ece214 WHIRLPOOL 19b2bfa3be78a845af962c80a5dd1defc7bbba2d30f0641ff02d069d5d2e3fab53eb4ce42a450ff16d5ea40f2ec3b5b88af8f341a481a93c6fe2aad03eca09ce
DIST vbox-kernel-module-src-4.2.0.tar.xz 493424 SHA256 f8fc3df8360acda833c881b5eeba90eb86551541573a1a0d410996de044f1b37 SHA512 02bf75adcb5f8413d560b17b96a711538fff9b7a3ff6fd833b2d2f597888b5c5ed255d08b511482ebfd5230b05d3a4f0a4ac7a10b9e870474228803dd45243cd WHIRLPOOL b7813f4ff79757dee2978dfb8c8c1727ea6fe75ef5760759d5bdb285cec6c7844b9af09b5aa6b11721f9c86d3c805ecb0df7f1ebd926c7395a6b55d151d41f9f
DIST vbox-kernel-module-src-4.2.2.tar.xz 492868 SHA256 66fc2716195292e831ecec44dd94ec2a980d4b105708af871903f6c77322eadb SHA512 5cb312e6e89c5103fd982d107f57a324d96b5698d6b622364552581220b34f62e06232a7e563c4643ce7747b3f466ad39bd89dbd5890e13ae259caab622b53da WHIRLPOOL 9c1ddd0eb5065d31b9a6800b05b98a8f4831b12fef47f44266c91d0a8cec22048c2b1e6cb2592217adf2831ac42ede73dc3550aef47bc8e2a0f1e8bf8177cd59
DIST vbox-kernel-module-src-4.2.4.tar.xz 492268 SHA256 fe27db126b09cfb3b950c1d6cae94bc7aa290d800c2c934e6eeae7da45e4b494 SHA512 30377867ef8455f339789c5fa26d5ab1381dacef714508d89b99ce57aa0a4d233c0a7b0c796d3001fc0f4c4cac01dc1c37cffefad59df0d9443125033b4e8f33 WHIRLPOOL 0b27c21e13303db1da6fdf2961e42bfa43cf1b01bfb249e150a52d6669a9cc3bf5d66d9ee31dff14eca434c659e2908a4dda2331aac5748a66dbb8beecb9be11

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.2.0-r1.ebuild,v 1.1 2012/09/14 06:09:18 polynomial-c Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.2.4.ebuild,v 1.1 2012/11/10 21:07:51 polynomial-c Exp $
# XXX: the tarball here is just the kernel modules split out of the binary
# package that comes from virtualbox-bin

@ -1,7 +1,7 @@
DIST VirtualBox-4.1.22.tar.bz2 73385514 SHA256 7abb506203dd0d69b4b408fd999b5b9a479a9adce5f80e9b5569641c053dd153 SHA512 1bc2e33f6ce1ab417887241ee95bc3042b5c6072b3babc221c349b36b923f0655e776e98468cc63f65662e5ae3819c974bc8b5c97bae531a2c4a0ebb1c1ebba6 WHIRLPOOL e52ee58fdf1b3d1e1323cb26df1791dbc4c9375061467191a73f12071ac99a5c2791ddb65eeff9af5a645ba39fe88d4f7bc4362c919c9c14ba10a99d1b6c3776
DIST VirtualBox-4.2.0.tar.bz2 76590194 SHA256 895426ecac371bef4c070e8bcc9306f0c57dcbd6be25188d915b63ddde6f49e6 SHA512 76cddb682a2f5615e8ab465e8766d0ba19e1482b595a185cb401fdb962fb6f161945986ea5514934652305fa3d25f66a88767572fa4e0c5d3b5d5ffeb15c8005 WHIRLPOOL 5c4521a1dfc5b249c6c9692741a83014dc98496086e31186883e8b3f43c18af700f8002c3586b1475fd2c8bac2cbcaadc90aafb259ec50ebbeb3703440ddb822
DIST VirtualBox-4.2.2.tar.bz2 75655741 SHA256 943daa13694605d5d0a23ffef27c398b5e72ada669de89bad4b98f000f029700 SHA512 d6a85175e15d3dc49aab825aeb9aa4fb9b2640e6bb3c65dfeaaf492fe8589abe70ad5dbf8ed07d502f337c243b469a7da35d4bf23bb26f5ad3b0ee0a06a51a10 WHIRLPOOL ad45932ca5ea7e990af975a1c3823d58cc9b180a9f1e0c23576e1c6fb2aead39cdd2d0303b830f334d811c1f4b6b8b585d243a177253f13b53735303ae247c33
DIST VirtualBox-4.2.4.tar.bz2 75625513 SHA256 a7c607523c1c10b7b978ab39a92bb646517316548aa4a1a74b6e434ac2bf0adc SHA512 8238afd440e20842de27c8c68296c88bd18f561a45497ee97364d5720d73a9fe99eba9af3ad851d89e02540e304bcc3f48847704207ce2c8cdced8fa10dc4aa6 WHIRLPOOL 875184cc836ab65a368d1d9fea6eaed7deeea782d9d149a8f568ec372e190730e92ca13858fff51089bf0632136200909c49cf5ba1b9b5bb0fec3ec69293bade
DIST VirtualBox_fa_IR.ts 424578 SHA256 4934fa27a2be76ee432a333b29a4ed8c0106821b88fc7057d3806270fed40b5c SHA512 fafb5e87c71bd22605ee4d11e8c9710a3f40adaf9a6dd2a530d3b0d1525fd36f3f18dfa5b50423f01bab0f49782b761934078ea9fcedebbfc0574c5b9c39beb6 WHIRLPOOL 63b258de9cc1411fdda7d8d991f55f767b187280752bc1379101c7541c19bac07ab64201c696357a6d2bbdfa00f1b5b785fc81380df4dfdd92f300d5eff89355
DIST qt_fa_IR.ts 191494 SHA256 b2651c0329e53d3eecc78923905b9a7b68e3121b7b04fa3fd86499c940a5eb43 SHA512 3c6fdf2dac487bf72d4d85364e02c98f8366cecb85f46872aae689e02a83a22c99078c0296811e3f680275a10c8f30ba58ce52cc6d452d0b2d9b515163883aa7 WHIRLPOOL 50e8d14769f1659e9da51884f2475683ad6470a4b82d2a6f900f00e5e2643e11dfcb5b27f6188c75f25b51d8201da987b276f89eb1299ef7ac5c26cdfd97940c
DIST virtualbox-4.1.22-patches-01.tar.xz 3752 SHA256 2ff58f8d2bdfdcbf1ae4bbe9f68ad1256f1ae37091fd4b392582a062d206962f SHA512 9bba2a4352d52cddd27f55b4ad0e9de250c1d29359a8859f61fc413e53ac62206321c5e347391ca478b942967bd7974a3a469eb3bb133c79d7033692afe559dd WHIRLPOOL 1aa98913e7d4e1ddf5f775db200cddc18a7ed4d7dd915dda0dab6bffbf33bfd63a785cc7381bca74e4780e7dce21f18314dc093b9c6ba02addfd1330f3b61aa9
DIST virtualbox-4.2.0-patches-01.tar.xz 3840 SHA256 acc1463032b036a75c03ef7f64933c20097ba4aa63b4abacc6c37806cb69f1aa SHA512 ce4c912d6fa8d58df730a6b63daa28833f092f7a0712e153592f1969ce367072a1a960a7775ad5e8d1c8d1352506271b95f28bfc1a51a0675c8135b042d87ad7 WHIRLPOOL d8e0fc9e893302254a801b4c9c528dbeb79531e0660737cea16282b5d7b8dbd76c0991a9468dfa8e8aa28f07cc271b77cf3a1b341c7e4a8ae671e9138962f3b7
DIST virtualbox-4.2.2-patches-01.tar.xz 3612 SHA256 5b844b3740bebfa0e7652cb6c5c89d94a333c7aa0873aa8a0aa653f7c9f3c06b SHA512 d12da10898c5bd440b6fd2211385bc223ff832fdce11b118cc56562903c8c87abcb1eeec3bbc2d4b5b22b1aa4a652e978277af7096a65276469be9e704a1aa69 WHIRLPOOL 58d43f0d2eeb30800b285c307871be64765301f7037d72752eb063286589fcccd12e6d8fd26610164701178fd497ca65127e91eb8f8d53db0889ccd7d7b988a9

@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.2.2.ebuild,v 1.1 2012/10/24 04:41:53 patrick Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.2.2.ebuild,v 1.2 2012/11/10 21:10:14 polynomial-c Exp $
EAPI=4
inherit eutils fdo-mime flag-o-matic linux-info multilib pax-utils python qt4-r2 toolchain-funcs java-pkg-opt-2
inherit eutils fdo-mime flag-o-matic linux-info multilib pax-utils python qt4-r2 toolchain-funcs java-pkg-opt-2 udev
if [[ ${PV} == "9999" ]] ; then
# XXX: should finish merging the -9999 ebuild into this one ...
@ -21,7 +21,7 @@ fi
DESCRIPTION="Family of powerful x86 virtualization products for enterprise as well as home use"
HOMEPAGE="http://www.virtualbox.org/"
SRC_URI="${SRC_URI}
http://dev.gentoo.org/~polynomial-c/virtualbox/patchsets/virtualbox-4.2.0-patches-01.tar.xz
http://dev.gentoo.org/~polynomial-c/virtualbox/patchsets/virtualbox-4.2.2-patches-01.tar.xz
http://dev.gentoo.org/~patrick/qt_fa_IR.ts
http://dev.gentoo.org/~patrick/VirtualBox_fa_IR.ts"
@ -38,6 +38,7 @@ RDEPEND="!app-emulation/virtualbox-bin
dev-libs/openssl
dev-libs/libxml2
sys-libs/zlib
>=sys-fs/udev-171-r6
!headless? (
qt4? (
x11-libs/qt-gui:4
@ -323,11 +324,12 @@ src_install() {
popd &>/dev/null || die
# New way of handling USB device nodes for VBox (bug #356215)
insinto /lib/udev
local udevdir="$(udev_get_udevdir)"
insinto ${udevdir}
doins VBoxCreateUSBNode.sh
fowners root:vboxusers /lib/udev/VBoxCreateUSBNode.sh
fperms 0750 /lib/udev/VBoxCreateUSBNode.sh
insinto /lib/udev/rules.d
fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
insinto ${udevdir}/rules.d
doins "${FILESDIR}"/10-virtualbox.rules
insinto /usr/share/${PN}

@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.2.0-r1.ebuild,v 1.3 2012/10/01 09:25:39 polynomial-c Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.2.4.ebuild,v 1.1 2012/11/10 21:10:14 polynomial-c Exp $
EAPI=4
inherit eutils fdo-mime flag-o-matic linux-info multilib pax-utils python qt4-r2 toolchain-funcs java-pkg-opt-2
inherit eutils fdo-mime flag-o-matic linux-info multilib pax-utils python qt4-r2 toolchain-funcs java-pkg-opt-2 udev
if [[ ${PV} == "9999" ]] ; then
# XXX: should finish merging the -9999 ebuild into this one ...
@ -21,7 +21,7 @@ fi
DESCRIPTION="Family of powerful x86 virtualization products for enterprise as well as home use"
HOMEPAGE="http://www.virtualbox.org/"
SRC_URI="${SRC_URI}
http://dev.gentoo.org/~polynomial-c/virtualbox/patchsets/virtualbox-4.2.0-patches-01.tar.xz"
http://dev.gentoo.org/~polynomial-c/virtualbox/patchsets/virtualbox-4.2.2-patches-01.tar.xz"
LICENSE="GPL-2"
SLOT="0"
@ -36,6 +36,7 @@ RDEPEND="!app-emulation/virtualbox-bin
dev-libs/openssl
dev-libs/libxml2
sys-libs/zlib
>=sys-fs/udev-171-r6
!headless? (
qt4? (
x11-libs/qt-gui:4
@ -318,11 +319,12 @@ src_install() {
popd &>/dev/null || die
# New way of handling USB device nodes for VBox (bug #356215)
insinto /lib/udev
local udevdir="$(udev_get_udevdir)"
insinto ${udevdir}
doins VBoxCreateUSBNode.sh
fowners root:vboxusers /lib/udev/VBoxCreateUSBNode.sh
fperms 0750 /lib/udev/VBoxCreateUSBNode.sh
insinto /lib/udev/rules.d
fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
insinto ${udevdir}/rules.d
doins "${FILESDIR}"/10-virtualbox.rules
insinto /usr/share/${PN}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-laptop/prey/prey-0.5.4-r1.ebuild,v 1.1 2012/11/10 19:34:36 hwoarang Exp $
# $Header: /var/cvsroot/gentoo-x86/app-laptop/prey/prey-0.5.4-r1.ebuild,v 1.2 2012/11/11 14:03:22 ago Exp $
EAPI=4
@ -12,7 +12,7 @@ SRC_URI="http://preyproject.com/releases/${PV}/${P}-linux.zip"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 ~x86"
IUSE="gtk userpriv"
LINGUAS="en it sv es"

@ -1,2 +1,2 @@
DIST drizzle-7.1.33-stable.tar.gz 29203104 SHA256 12215b143f4a77ba44a7312313f1d187d598c6dd5b7eb949a7404599e827fcc0 SHA512 cb2cd9b7b1f08483a52eb80d14a051ee1b14901d63745a5faeda64f2181b6ea440573d4dd020da37930242781135dcd99d90ae130d74b53332ee5d88295e2ad1 WHIRLPOOL e62264bb6d2b2cacfa4ed238266370df2e0833a3a6d49d59e22be98f2b7c9c6bd42e43d8facce8179d46817a11d1db0b74da3e254dd8ef3a99d74eb820b047d0
DIST drizzle-7.2.3.tar.gz 20030234 SHA256 65acf74a19a62b444b81b90510455f1951f7ffe08f9f01dc74cf928fce95036c SHA512 6fc8812534d2169eeea3ca01e8caa7fb165490bf2c7c11b68e671a19c0d1840b67b970409e0152d8094195e61d77622f8add5a9182003e89e6dad45f55743b78 WHIRLPOOL 59b81775001ecc12cdb1383edb19d49634d2b58982491ef94b192090ac6456f45b354e205a94b60d04c52af566beafa1cd6c00d2057fc5168fefd5e893536ac4
DIST drizzle-7.2.4-alpha.tar.gz 20075673 SHA256 dddc58949c28ccbdd8351b25540858235a7d98efb634e7bc98abd4f5ab034677 SHA512 1053c9b73588542b32398168fc4aae96a19479222571fb4ba35feb1fa6e99961366fc63a4141bf86bdba7f5db1960ed895b3a688789d05ee8d4bd46d0ab681cd WHIRLPOOL 4b2e97f7276eb447f27bc5b0244e31d47cba2acc0fde16d6e10dc0d47ba680885e035b9cf9dda8dff171279a76fbd24f34d2754ac1342b203d56316bb4d34233

@ -1,19 +1,22 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/drizzle/drizzle-7.2.3.ebuild,v 1.1 2012/09/19 05:25:54 flameeyes Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/drizzle/drizzle-7.2.4.ebuild,v 1.2 2012/11/11 02:18:49 flameeyes Exp $
EAPI=4
EAPI=5
inherit flag-o-matic libtool autotools eutils pam user versionator
inherit python flag-o-matic libtool autotools eutils pam user versionator
MY_P="${P}-alpha"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="Database optimized for Cloud and Net applications"
HOMEPAGE="http://drizzle.org"
SRC_URI="http://launchpad.net/drizzle/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz"
SRC_URI="http://launchpad.net/drizzle/$(get_version_component_range 1-2)/${PV}/+download/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug tcmalloc doc memcache curl pam gearman +md5 ldap"
IUSE="debug tcmalloc doc memcache curl pam gearman +md5 ldap v8"
RDEPEND="tcmalloc? ( dev-util/google-perftools )
sys-libs/readline
@ -22,30 +25,39 @@ RDEPEND="tcmalloc? ( dev-util/google-perftools )
dev-libs/openssl
>=dev-libs/libevent-1.4
>=dev-libs/protobuf-2.1.0
dev-libs/libaio
>=dev-libs/boost-1.52.0-r1[threads]
gearman? ( >=sys-cluster/gearmand-0.12 )
pam? ( sys-libs/pam )
curl? ( net-misc/curl )
memcache? ( >=dev-libs/libmemcached-0.39 )
md5? ( >=dev-libs/libgcrypt-1.4.2 )
>=dev-libs/boost-1.32
ldap? ( net-nds/openldap )
v8? ( dev-lang/v8 )
!dev-db/libdrizzle"
DEPEND="${RDEPEND}
=dev-lang/python-2*
sys-devel/gettext
dev-util/intltool
dev-util/gperf
sys-devel/flex
doc? ( app-doc/doxygen )
>=dev-util/boost-build-1.32"
dev-python/sphinx
doc? ( app-doc/doxygen )"
pkg_setup() {
enewuser drizzle -1 -1 /dev/null nogroup
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
epatch "${FILESDIR}"/${P}-libtool.patch
epatch "${FILESDIR}"/${P}+automake-1.12.patch
epatch "${FILESDIR}"/${PN}-7.2.3-libtool.patch
epatch "${FILESDIR}"/${PN}-7.2.3+automake-1.12.patch
epatch "${FILESDIR}"/${PN}-7.2.4+boost-1.50.patch
python_convert_shebangs -r 2 .
eautoreconf
}
@ -81,16 +93,17 @@ src_configure() {
--enable-logging-stats-plugin \
--with-logging-stats-plugin \
--enable-console-plugin \
$(use_enable tcmalloc) \
$(use_enable memcache libmemcached) \
$(use_enable gearman libgearman) \
$(use_enable ldap libldap) \
$(use_enable memcache libmemcached) \
$(use_enable tcmalloc) \
$(use_with curl auth-http-plugin) \
$(use_with pam auth-pam-plugin) \
$(use_with md5 md5-plugin) \
$(use_with gearman gearman-udf-plugin) \
$(use_with gearman logging-gearman-plugin) \
$(use_with ldap auth-ldap-plugin) \
$(use_with md5 md5-plugin) \
$(use_with pam auth-pam-plugin) \
$(use_with v8 js-plugin) \
${myconf}
}
@ -108,14 +121,13 @@ src_test() {
return 1
fi
# If you want to turn off a test, rename to suffix of .DISABLED
# Explicitly allow parallel make check
emake check
default
}
DOCS=( AUTHORS NEWS README )
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS NEWS README
default
find "${D}" -name '*.la' -delete || die
@ -126,7 +138,7 @@ src_install() {
popd
fi
newinitd "${FILESDIR}"/drizzle.init.d drizzled
newinitd "${FILESDIR}"/drizzle.init.d.2 drizzled
newconfd "${FILESDIR}"/drizzle.conf.d drizzled
if ! use gearman; then
@ -139,16 +151,13 @@ src_install() {
|| die "unable to sed init script (memcache)"
fi
keepdir /var/run/drizzle
keepdir /var/log/drizzle
keepdir /var/lib/drizzle/drizzled
keepdir /etc/drizzle
fperms 0755 /var/run/drizzle
fperms 0755 /var/log/drizzle
fperms -R 0700 /var/lib/drizzle
fowners drizzle:nogroup /var/run/drizzle
fowners drizzle:nogroup /var/log/drizzle
fowners -R drizzle:nogroup /var/lib/drizzle

@ -0,0 +1,90 @@
Index: drizzle-7.2.4-alpha/client/drizzleslap.cc
===================================================================
--- drizzle-7.2.4-alpha.orig/client/drizzleslap.cc
+++ drizzle-7.2.4-alpha/client/drizzleslap.cc
@@ -1934,7 +1934,7 @@ static void timer_thread()
boost::mutex::scoped_lock scopedLock(timer_alarm_mutex);
boost::xtime xt;
- xtime_get(&xt, boost::TIME_UTC);
+ xtime_get(&xt, boost::TIME_UTC_);
xt.sec += opt_timer_length;
(void)timer_alarm_threshold.timed_wait(scopedLock, xt);
Index: drizzle-7.2.4-alpha/configure.ac
===================================================================
--- drizzle-7.2.4-alpha.orig/configure.ac
+++ drizzle-7.2.4-alpha/configure.ac
@@ -111,7 +111,6 @@ PANDORA_DRIZZLE_BUILD
PANDORA_HAVE_BOOST_TEST
PANDORA_HAVE_LIBSQLITE3
-
#########################################################################
Index: drizzle-7.2.4-alpha/drizzled/drizzled.cc
===================================================================
--- drizzle-7.2.4-alpha.orig/drizzled/drizzled.cc
+++ drizzle-7.2.4-alpha/drizzled/drizzled.cc
@@ -460,7 +460,7 @@ void close_connections()
while (select_thread_in_use)
{
boost::xtime xt;
- xtime_get(&xt, boost::TIME_UTC);
+ xtime_get(&xt, boost::TIME_UTC_);
xt.sec += 2;
for (uint32_t tmp=0 ; tmp < 10 && select_thread_in_use; tmp++)
Index: drizzle-7.2.4-alpha/drizzled/table/cache.cc
===================================================================
--- drizzle-7.2.4-alpha.orig/drizzled/table/cache.cc
+++ drizzle-7.2.4-alpha/drizzled/table/cache.cc
@@ -263,7 +263,7 @@ bool Cache::removeTable(Session& session
table::Cache::removeTable routine.
*/
boost::xtime xt;
- xtime_get(&xt, boost::TIME_UTC);
+ xtime_get(&xt, boost::TIME_UTC_);
xt.sec += 10;
boost::mutex::scoped_lock scoped(table::Cache::mutex(), boost::adopt_lock_t());
COND_refresh.timed_wait(scoped, xt);
Index: drizzle-7.2.4-alpha/drizzled/thr_lock.cc
===================================================================
--- drizzle-7.2.4-alpha.orig/drizzled/thr_lock.cc
+++ drizzle-7.2.4-alpha/drizzled/thr_lock.cc
@@ -170,7 +170,7 @@ static enum enum_thr_lock_result wait_fo
if (can_deadlock)
{
boost::xtime xt;
- xtime_get(&xt, boost::TIME_UTC);
+ xtime_get(&xt, boost::TIME_UTC_);
xt.sec += table_lock_wait_timeout;
if (not cond->timed_wait(scoped, xt))
{
Index: drizzle-7.2.4-alpha/plugin/sleep/sleep.cc
===================================================================
--- drizzle-7.2.4-alpha.orig/plugin/sleep/sleep.cc
+++ drizzle-7.2.4-alpha/plugin/sleep/sleep.cc
@@ -98,7 +98,7 @@ int64_t Item_func_sleep::val_int()
try {
boost::xtime xt;
- xtime_get(&xt, boost::TIME_UTC);
+ xtime_get(&xt, boost::TIME_UTC_);
xt.nsec += (uint64_t)(dtime * 1000000000ULL);
session.getThread()->sleep(xt);
}
Index: drizzle-7.2.4-alpha/drizzled/message/include.am
===================================================================
--- drizzle-7.2.4-alpha.orig/drizzled/message/include.am
+++ drizzle-7.2.4-alpha/drizzled/message/include.am
@@ -40,7 +40,7 @@ lib_LTLIBRARIES += drizzled/message/libd
drizzled_message_libdrizzledmessage_la_CXXFLAGS = ${MESSAGE_AM_CXXFLAGS} ${NO_WERROR}
drizzled_message_libdrizzledmessage_la_SOURCES = drizzled/message/statement_transform.cc
-drizzled_message_libdrizzledmessage_la_LIBADD= ${LTLIBPROTOBUF} $(GCOV_LIBS) drizzled/libcharset.la
+drizzled_message_libdrizzledmessage_la_LIBADD= ${LTLIBPROTOBUF} $(GCOV_LIBS) $(BOOST_LIBS) drizzled/libcharset.la
nobase_dist_pkginclude_HEADERS+= \
drizzled/message/statement_transform.h

@ -0,0 +1,127 @@
#!/sbin/runscript
# Copyright 1999-2012 Pavel Stratil, senbonzakura.eu
# Some functions were taken from debian init script. Licensed under GPL-2
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/drizzle/files/drizzle.init.d.2,v 1.2 2012/11/11 02:18:49 flameeyes Exp $
#########################
### Construct vars ######
#########################
SUFFIX=".${SVCNAME#*.}"
[ "${SUFFIX}" == ".drizzled" ] && SUFFIX=''
DIR_PID="/run/drizzle"
DIR_LOG="/var/log/drizzle"
BASE_CNF="/etc/drizzle/drizzled"
BASE_PID="${DIR_PID}/drizzled"
BASE_LOG="${DIR_LOG}/drizzled"
BASE_DIR="/var/lib/drizzle/drizzled"
CNFFILE="${BASE_CNF}${SUFFIX}.cnf"
LOGFILE="${BASE_LOG}${SUFFIX}.log"
DATADIR="${BASE_DIR}${SUFFIX}"
DRIZZLE="/usr/bin/drizzle"
DRIZZLE_USER="drizzle"
pidfile="${BASE_PID}${SUFFIX}.pid"
command="/usr/sbin/drizzled"
command_args="--daemon --datadir=${DATADIR} --pid-file=${pidfile} --user=${DRIZZLE_USER} --syslog.errmsg-enable ${DRIZZLE_EXTRA}"
start_stop_daemon_args="--user ${DRIZZLE_USER} --wait 5000"
#########################
### Helper functions ####
#########################
#
# drizzle_status() checks if there is a server running and if it is accessible.
# "check_alive" insists on a pingable server, "check_dead" also fails
# if there is a lost drizzled in the process list
# Usage: boolean drizzle_status [check_alive|check_dead] [warn|nowarn]
#
drizzle_status() {
ping_output=`$DRIZZLE --ping 2>&1`; ping_alive=$(( ! $? ))
ps_alive=0
if [ -f "$pidfile" ] && ps `cat $pidfile` >/dev/null 2>&1; then ps_alive=1; fi
if [ "$1" = "check_alive" -a $ping_alive = 1 ] ||
[ "$1" = "check_dead" -a $ping_alive = 0 -a $ps_alive = 0 ]; then
return 0 # EXIT_SUCCESS
else
if [ "$2" = "warn" ]; then
echo -e "$ps_alive processes alive and '$DRIZZLE --ping' resulted in\n$ping_output\n"
fi
return 1 # EXIT_FAILURE
fi
}
#########################
### Main ################
#########################
checkconfig() {
# TODO: --print-defaults no longer a valid option. Needs to be rewritten.
#CNFDATADIR=`drizzle_get_param datadir`
#if [ -z "${CNFDATADIR}" ] ; then
# ewarn "Datadir not set in ${CNFFILE}."
# ewarn "Trying to use ${DATADIR}"
#else
DATADIR="${CNFDATADIR}"
#fi
if [[ ! -d "${DATADIR}" ]] ; then
eerror "Drizzle datadir is empty or invalid."
eerror "Please check your configuration ${CNFFILE} and DRIZZLE_EXTRA"
return 1
fi
if [ ! -f "${CNFFILE}" ]; then
eerror "The configuration file $CNFFILE was not found!"
fi
}
depend() {
use localmount
use logger
use gearmand
use memcached
# TODO use drizzle_get_param() to decide if gearmand and memcached
# are needed. Then the useflag based sed-ing of this script
# can be removed from the ebuild.
}
start_pre() {
checkpath -d -o ${DRIZZLE_USER}:nogroup ${DIR_PID} ${DIR_LOG}
checkpath -f -o ${DRIZZLE_USER}:nogroup ${LOGFILE}
}
start_post() {
for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14; do
sleep 1
if drizzle_status check_alive nowarn ; then break ; fi
done
if drizzle_status check_alive warn ; then
einfo "${SVCNAME} is alive!"
else
eerror "${SVCNAME} died!"
fi
}
stop_post() {
drizzle_status check_dead warn
}
status() {
if drizzle_status check_alive nowarn; then
mark_service_started drizzled
einfo "status: started"
else
mark_service_stopped drizzled
einfo "status: stopped"
fi
}

@ -50,5 +50,9 @@
Use the <pkg>dev-db/haildb</pkg> libraries to replace the innodb
plugin storage engine with haildb (an innodb fork).
</flag>
<flag name="v8">
Use <pkg>dev-lang/v8</pkg>.
</flag>
</use>
</pkgmetadata>

@ -0,0 +1,33 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/pgtune/pgtune-0.9.3-r1.ebuild,v 1.1 2012/11/11 17:27:48 titanofold Exp $
EAPI=4
inherit eutils
DESCRIPTION="A postgresql settings tuning wizard"
HOMEPAGE="http://pgfoundry.org/projects/pgtune/"
SRC_URI="http://pgfoundry.org/frs/download.php/2449/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
RDEPEND="dev-lang/python"
DEPEND="${RDEPEND}"
src_prepare() {
sed -e '1 s|python|python2|' -i pgtune
}
src_install() {
mkdir -p "${D}/usr/bin"
mkdir -p "${D}/usr/share/doc/${P}"
cp "${S}/pgtune" "${D}/usr/bin/pgtune" || die
for i in COPYRIGHT README TODO pg_settings-8.4-32 pg_settings-8.4-64 pgtune-settingsdir.patch pgtune.spec postgresql.conf.sample; do
cp "${S}/${i}" "${D}/usr/share/doc/${P}" || die
done
docompress -x /usr/share/doc
}

@ -1,2 +1,3 @@
DIST phpMyAdmin-3.4.9-all-languages.tar.bz2 4666051 SHA256 5251dc5c5c691c02dd4683692f282c72e8360f453dbb3edfa5f53d9461299f86 SHA512 c006da6606de685403cc253b72dac5c251e0f2613e2ebe68bfaed46a4e408415f00f4f243108e36ffdc5be3f0474a7445dbc1af8f11a37057bd137601d8fe55c WHIRLPOOL f60b893be099b4da799bb3c3eee586e6c7158f7df757eb7f0397b44a762524e12b72f4b76fb92235cc766a60ac01de91a4d066ea6d0a3eb67abb45150d246475
DIST phpMyAdmin-3.5.2.2-all-languages.tar.xz 3654332 SHA256 d02de081c522d3026f4a8418538f7ff05adf280afa404851a5f7f4ef895b4a7d SHA512 d505f56785e143c76953d37cdac449159c80d6f4035c67bddb957e02cdd1029d067522824344e72a1073022d00922cf7252eae4435d23357b892a9d4377340a6 WHIRLPOOL abd1b0edfcb8667810ce438c16af95fd809240ad1cd02f66e90de9ce70da8e107c4e2d61f974df56f73807dd39edf26fc6dc67f118b32a6df1817c4dad1d1c4c
DIST phpMyAdmin-3.5.3-all-languages.tar.xz 3663564 SHA256 4d2573d2cad3abc67997361ee3d5bf05cf2c3c6b8fb1b2c611030d32ec0db826 SHA512 a64fffebf4bd2e95a5c6fe2cc305e7e5352a2a6f87eeb0de64c8e1fb1c9146ec0c81960dc7d7b024d79b39144fd9289650773cad5f1639a9741fa58b5deed63f WHIRLPOOL d53d0582b1615690ec0a9dd0d29dac638d194e1cf0aa7c083ae9677881fba36da25a635021ad0a6347c4db79b28049b3c37edbe261b258a360c275c78e5c378f

@ -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-db/phpmyadmin/phpmyadmin-3.5.3.ebuild,v 1.1 2012/11/11 15:10:34 blueness Exp $
EAPI="4"
inherit eutils webapp depend.php
MY_PV=${PV/_/-}
MY_P="phpMyAdmin-${MY_PV}-all-languages"
DESCRIPTION="Web-based administration for MySQL database in PHP"
HOMEPAGE="http://www.phpmyadmin.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.xz"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
IUSE="setup"
RDEPEND="
dev-lang/php[crypt,ctype,filter,json,session,unicode]
|| (
dev-lang/php[mysqli]
dev-lang/php[mysql]
)
"
need_httpd_cgi
need_php_httpd
S="${WORKDIR}"/${MY_P}
pkg_setup() {
webapp_pkg_setup
}
src_install() {
webapp_src_preinst
dodoc Documentation.txt README RELEASE-DATE-${MY_PV} ChangeLog || die
rm -f LICENSE README* RELEASE-DATE-${MY_PV}
if ! use setup; then
rm -rf setup || die "Cannot remove setup utility"
elog "The phpMyAdmin setup utility has been removed."
elog "It is a regular target of various exploits. If you need it, set USE=setup."
else
elog "You should consider disabling the setup USE flag"
elog "to exclude the setup utility if you don't use it."
elog "It regularly is the target of various exploits."
fi
insinto "${MY_HTDOCSDIR#${EPREFIX}}"
doins -r .
webapp_configfile "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php
webapp_serverowned "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php
webapp_postinst_txt en "${FILESDIR}"/postinstall-en-3.1.txt
webapp_src_install
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.3.21.ebuild,v 1.2 2012/11/08 15:29:47 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.3.21.ebuild,v 1.3 2012/11/11 11:35:11 ago Exp $
EAPI="4"
@ -10,7 +10,7 @@ inherit autotools eutils multilib prefix versionator
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
DESCRIPTION="PostgreSQL libraries and clients"
HOMEPAGE="http://www.postgresql.org/"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.4.14.ebuild,v 1.2 2012/11/08 15:32:26 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.4.14.ebuild,v 1.3 2012/11/11 11:37:40 ago Exp $
EAPI="4"
@ -10,7 +10,7 @@ inherit autotools eutils multilib prefix versionator
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
DESCRIPTION="PostgreSQL libraries and clients"
HOMEPAGE="http://www.postgresql.org/"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.0.10.ebuild,v 1.2 2012/11/08 15:34:58 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.0.10.ebuild,v 1.3 2012/11/11 11:40:08 ago Exp $
EAPI="4"
@ -10,7 +10,7 @@ inherit autotools eutils flag-o-matic multilib prefix versionator
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
DESCRIPTION="PostgreSQL libraries and clients"
HOMEPAGE="http://www.postgresql.org/"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.1.6.ebuild,v 1.2 2012/11/08 15:37:27 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.1.6.ebuild,v 1.3 2012/11/11 11:42:03 ago Exp $
EAPI="4"
@ -8,7 +8,7 @@ WANT_AUTOMAKE="none"
inherit autotools eutils flag-o-matic multilib prefix versionator
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
SLOT="$(get_version_component_range 1-2)"
S="${WORKDIR}/postgresql-${PV}"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.2.1.ebuild,v 1.2 2012/11/08 15:40:04 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.2.1.ebuild,v 1.3 2012/11/11 11:27:22 ago Exp $
EAPI="4"
@ -8,7 +8,7 @@ WANT_AUTOMAKE="none"
inherit autotools eutils flag-o-matic multilib prefix versionator
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
SLOT="$(get_version_component_range 1-2)"

@ -1,12 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-8.3.21.ebuild,v 1.2 2012/11/08 15:28:39 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-8.3.21.ebuild,v 1.3 2012/11/11 11:34:43 ago Exp $
EAPI="4"
inherit versionator
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
# Nothing to test here per 232157
RESTRICT="test"

@ -1,12 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-8.4.14.ebuild,v 1.2 2012/11/08 15:31:32 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-8.4.14.ebuild,v 1.3 2012/11/11 11:37:12 ago Exp $
EAPI="4"
inherit versionator
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
# Nothing to test here per 232157
RESTRICT="test"

@ -1,12 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.0.10.ebuild,v 1.2 2012/11/08 15:34:08 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.0.10.ebuild,v 1.3 2012/11/11 11:39:40 ago Exp $
EAPI="4"
inherit versionator
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
RESTRICT="test"

@ -1,12 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.1.6.ebuild,v 1.2 2012/11/08 15:36:38 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.1.6.ebuild,v 1.3 2012/11/11 11:41:35 ago Exp $
EAPI="4"
inherit versionator
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
SLOT="$(get_version_component_range 1-2)"
S="${WORKDIR}/postgresql-${PV}"

@ -1,12 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.2.1.ebuild,v 1.2 2012/11/08 15:39:15 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.2.1.ebuild,v 1.3 2012/11/11 11:26:52 ago Exp $
EAPI="4"
inherit versionator
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
SLOT="$(get_version_component_range 1-2)"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-8.3.21.ebuild,v 1.2 2012/11/08 15:30:45 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-8.3.21.ebuild,v 1.3 2012/11/11 11:35:40 ago Exp $
EAPI="4"
@ -9,7 +9,7 @@ inherit autotools eutils multilib pam prefix user versionator
SLOT="$(get_version_component_range 1-2)"
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"
DESCRIPTION="PostgreSQL server"
HOMEPAGE="http://www.postgresql.org/"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-8.4.14.ebuild,v 1.2 2012/11/08 15:33:19 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-8.4.14.ebuild,v 1.3 2012/11/11 11:38:08 ago Exp $
EAPI="4"
PYTHON_DEPEND="python? 2"
@ -10,7 +10,7 @@ inherit autotools eutils multilib pam prefix python user versionator
SLOT="$(get_version_component_range 1-2)"
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"
DESCRIPTION="PostgreSQL server"
HOMEPAGE="http://www.postgresql.org/"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.0.10.ebuild,v 1.2 2012/11/08 15:35:50 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.0.10.ebuild,v 1.3 2012/11/11 11:40:38 ago Exp $
EAPI="4"
PYTHON_DEPEND="python? 2"
@ -10,7 +10,7 @@ inherit autotools eutils multilib pam prefix python user versionator
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x86-solaris"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x86-solaris"
DESCRIPTION="PostgreSQL server"
HOMEPAGE="http://www.postgresql.org/"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.1.6.ebuild,v 1.2 2012/11/08 15:38:20 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.1.6.ebuild,v 1.3 2012/11/11 11:42:31 ago Exp $
EAPI="4"
PYTHON_DEPEND="python? 2"
@ -8,7 +8,7 @@ PYTHON_DEPEND="python? 2"
WANT_AUTOMAKE="none"
inherit autotools eutils flag-o-matic multilib pam prefix python user versionator
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
SLOT="$(get_version_component_range 1-2)"
S="${WORKDIR}/postgresql-${PV}"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.2.1.ebuild,v 1.2 2012/11/08 15:40:52 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.2.1.ebuild,v 1.3 2012/11/11 11:27:52 ago Exp $
EAPI="4"
PYTHON_DEPEND="python? 2"
@ -8,7 +8,7 @@ PYTHON_DEPEND="python? 2"
WANT_AUTOMAKE="none"
inherit autotools eutils flag-o-matic multilib pam prefix python user versionator
KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
SLOT="$(get_version_component_range 1-2)"

@ -0,0 +1,10 @@
diff --git a/Text/JSON.hs b/Text/JSON.hs
index 900e0f8..5b90a2a 100644
--- a/Text/JSON.hs
+++ b/Text/JSON.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS_GHC -XCPP -XMultiParamTypeClasses -XTypeSynonymInstances #-}
+{-# OPTIONS_GHC -XCPP -XMultiParamTypeClasses -XTypeSynonymInstances -XFlexibleInstances #-}
--------------------------------------------------------------------
-- |
-- Module : Text.JSON

@ -1,9 +1,9 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/json/json-0.4.3.ebuild,v 1.5 2012/09/12 14:57:34 qnikst Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/json/json-0.4.3.ebuild,v 1.6 2012/11/11 17:56:10 slyfox Exp $
CABAL_FEATURES="lib profile haddock"
inherit haskell-cabal
inherit base haskell-cabal
DESCRIPTION="Support for serialising Haskell to and from JSON"
HOMEPAGE="http://hackage.haskell.org/package/json"
@ -25,3 +25,5 @@ RDEPEND=">=dev-lang/ghc-6.10
dev-haskell/parsec"
DEPEND="${RDEPEND}"
PATCHES=("${FILESDIR}"/${P}-ghc-7.4.patch)

@ -1,13 +1,13 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/json/json-0.4.4.ebuild,v 1.2 2012/09/12 14:57:34 qnikst Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/json/json-0.4.4.ebuild,v 1.3 2012/11/11 17:56:10 slyfox Exp $
# ebuild generated by hackport 0.2.13
EAPI="3"
CABAL_FEATURES="lib profile haddock hscolour"
inherit haskell-cabal
inherit base haskell-cabal
DESCRIPTION="Support for serialising Haskell to and from JSON"
HOMEPAGE="http://hackage.haskell.org/package/json"
@ -27,6 +27,8 @@ RDEPEND="dev-haskell/mtl
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.2.0"
PATCHES=("${FILESDIR}"/${PN}-0.4.3-ghc-7.4.patch)
src_configure() {
cabal_src_configure \
$(cabal_flag generic) \

@ -1,4 +1,2 @@
DIST boost_1_46_1.tar.bz2 42001335 SHA256 e1dfbf42b16e5015c46b98e9899c423ca4d04469cbeee05e43ea19236416d883 SHA512 e7cc4383bb960cb59eecd29ef66e2c53466fe5f126bde58f50ba104ee8ab220771db5f7b35e4b9856e9f257d1def5a9b7ea48e1d2757976a89c5a2e3f1fdc327 WHIRLPOOL 4d8d94821c996475ec2bab962b92ec061b890a318897cab695e66daef3f9c8687990450fb26fd783fd0c5be35ccb71616994ef0c8e41c555312ae5383e3649cf
DIST boost_1_49_0.tar.bz2 48499961 SHA256 dd748a7f5507a7e7af74f452e1c52a64e651ed1f7263fce438a06641d2180d3c SHA512 9f6198270659df112a57731afe31cbf1012d103ba36ed82f6c3f1bdc0185ddb89dcc42c5dfb9ee3f95973d52999aad6c7509dc61125420d45146e39ebf20219d WHIRLPOOL c049b4212307b0208d0b37ac870a7cfb8562d2b685ce505e1971af7bc68ae9746b06ea80ddc52599ed4cbd6dc3305b5f8051cd771387412aaa1d2f8e939a48ba
DIST boost_1_51_0.tar.bz2 50811407 SHA256 fb2d2335a29ee7fe040a197292bfce982af84a645c81688a915c84c925b69696 SHA512 43a45ff34879328c57e1694e199b895d7535df7cdf78b127ec2649841ac5973f2dddbc0b00a1ed71f2347def6d44f1d8cc5c0deea120f60f53714ebe28046478 WHIRLPOOL 2cfe8ff8b1b812f1a2d02cad25a06fe2a824ef319d95e113fc307d432ff54f2367ac86d922517ce63fce2335b14a9d86ec0c9858b10466b4bf76d28c1ceca828
DIST boost_1_52_0.tar.bz2 54421709 SHA256 222b6afd7723f396f5682c20130314a10196d3999feab5ba920d2a6bf53bac92 SHA512 fc512d3bfa6a39a60fee548775c97239271cf757587b8df7ed739c800844a819a359dca172be0e69ad7752753753139bf11f0813d650066d58386662fe32842d WHIRLPOOL 73bbab4a1d2a652200f4b5e669440a2afcebcea96a1139ecc75213067ca32d5cadb0f060bb0ec2e29e9e31272fb7ec9d2cb960801032ee6c5dcb86564766411d

@ -1,496 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.46.1-r1.ebuild,v 1.9 2012/11/01 15:17:23 flameeyes Exp $
EAPI="2"
inherit python flag-o-matic multilib toolchain-funcs versionator check-reqs
MY_P=${PN}_$(replace_all_version_separators _)
DESCRIPTION="Boost Libraries for C++"
HOMEPAGE="http://www.boost.org/"
SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2"
LICENSE="Boost-1.0"
SLOT=0
MAJOR_V="$(get_version_component_range 1-2)"
IUSE="debug doc +eselect icu mpi python static-libs test tools"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
RDEPEND="icu? ( >=dev-libs/icu-3.3 )
mpi? ( || ( sys-cluster/openmpi[cxx] sys-cluster/mpich2[cxx,threads] ) )
sys-libs/zlib
python? ( dev-lang/python )
>=app-admin/eselect-boost-0.3
elibc_glibc? ( <sys-libs/glibc-2.16 )"
DEPEND="${RDEPEND}
=dev-util/boost-build-${MAJOR_V}*"
S=${WORKDIR}/${MY_P}
MAJOR_PV=$(replace_all_version_separators _ ${MAJOR_V})
BJAM="bjam-${MAJOR_PV}"
# Usage:
# _add_line <line-to-add> <profile>
# ... to add to specific profile
# or
# _add_line <line-to-add>
# ... to add to all profiles for which the use flag set
_add_line() {
if [ -z "$2" ] ; then
echo "${1}" >> "${D}/usr/share/boost-eselect/profiles/${SLOT}/default"
use debug && echo "${1}" >> "${D}/usr/share/boost-eselect/profiles/${SLOT}/debug"
else
echo "${1}" >> "${D}/usr/share/boost-eselect/profiles/${SLOT}/${2}"
fi
}
pkg_setup() {
# It doesn't compile with USE="python mpi" and python-3 (bug 295705)
if use python && use mpi ; then
if [[ "$(python_get_version --major)" != "2" ]]; then
eerror "The Boost.MPI python bindings do not support any other python version"
eerror "than 2.x. Please either use eselect to select a python 2.x version or"
eerror "disable the python and/or mpi use flag for =${CATEGORY}/${PF}."
die "unsupported python version"
fi
fi
if use test ; then
CHECKREQS_DISK_BUILD="15G"
check_reqs
ewarn "The tests may take several hours on a recent machine"
ewarn "but they will not fail (unless something weird happens ;-)"
ewarn "This is because the tests depend on the used compiler/-version"
ewarn "and the platform and upstream says that this is normal."
ewarn "If you are interested in the results, please take a look at the"
ewarn "generated results page:"
ewarn " ${ROOT}usr/share/doc/${PF}/status/cs-$(uname).html"
ebeep 5
fi
if use debug ; then
ewarn "The debug USE-flag means that a second set of the boost libraries"
ewarn "will be built containing debug-symbols. You'll be able to select them"
ewarn "using the boost-eselect module. But even though the optimization flags"
ewarn "you might have set are not stripped, there will be a performance"
ewarn "penalty and linking other packages against the debug version"
ewarn "of boost is _not_ recommended."
fi
}
src_prepare() {
epatch "${FILESDIR}/remove-toolset-${PV}.patch"
epatch "${FILESDIR}/${PN}-1.45.0-lambda_bind.patch"
# Compile against python 3.2. Bug #367245
epatch "${FILESDIR}"/${P}-python32.patch
# This enables building the boost.random library with /dev/urandom support
if [[ -e /dev/urandom ]] ; then
mkdir -p libs/random/build || die
cp "${FILESDIR}/random-Jamfile-${PV}" libs/random/build/Jamfile.v2 || die
fi
# Ensure that the include dir and the libraries always have X_Y in their name if the boost version is X.Y.Z.
# By default the build system changes this to X_Y_Z if Z > 0, which breaks eselect-boost and some ebuilds.
epatch "${FILESDIR}/point_release_naming_fix.patch"
}
src_configure() {
einfo "Writing new user-config.jam"
local compiler compilerVersion compilerExecutable mpi
if [[ ${CHOST} == *-darwin* ]] ; then
compiler=darwin
compilerVersion=$(gcc-fullversion)
compilerExecutable=$(tc-getCXX)
# we need to add the prefix, and in two cases this exceeds, so prepare
# for the largest possible space allocation
append-ldflags -Wl,-headerpad_max_install_names
else
compiler=gcc
compilerVersion=$(gcc-version)
compilerExecutable=$(tc-getCXX)
fi
# Using -fno-strict-aliasing to prevent possible creation of invalid code.
append-flags -fno-strict-aliasing
# bug 298489
if use ppc || use ppc64 ; then
[[ $(gcc-version) > 4.3 ]] && append-flags -mno-altivec
fi;
use mpi && mpi="using mpi ;"
if use python ; then
pystring="using python : $(python_get_version) : /usr : $(python_get_includedir) : $(python_get_libdir) ;"
fi
cat > "${S}/user-config.jam" << __EOF__
variant gentoorelease : release : <optimization>none <debug-symbols>none ;
variant gentoodebug : debug : <optimization>none ;
using ${compiler} : ${compilerVersion} : ${compilerExecutable} : <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ;
${pystring}
${mpi}
__EOF__
# Maintainer information:
# The debug-symbols=none and optimization=none
# are not official upstream flags but a Gentoo
# specific patch to make sure that all our
# CXXFLAGS/LDFLAGS are being respected.
# Using optimization=off would for example add
# "-O0" and override "-O2" set by the user.
# Please take a look at the boost-build ebuild
# for more infomration.
use icu && OPTIONS="-sICU_PATH=/usr"
use icu || OPTIONS="--disable-icu"
use mpi || OPTIONS="${OPTIONS} --without-mpi"
use python || OPTIONS="${OPTIONS} --without-python"
# https://svn.boost.org/trac/boost/attachment/ticket/2597/add-disable-long-double.patch
if use sparc || { use mips && [[ ${ABI} = "o32" ]]; } || use hppa || use arm || use x86-fbsd || use sh; then
OPTIONS="${OPTIONS} --disable-long-double"
fi
OPTIONS="${OPTIONS} pch=off --user-config=\"${S}/user-config.jam\" --boost-build=/usr/share/boost-build-${MAJOR_PV} --prefix=\"${D}/usr\" --layout=versioned"
if use static-libs ; then
LINK_OPTS="link=shared,static"
LIBRARY_TARGETS="*.a *$(get_libname)"
else
LINK_OPTS="link=shared"
#there is no dynamicly linked version of libboost_test_exec_monitor
LIBRARY_TARGETS="libboost_test_exec_monitor*.a *$(get_libname)"
fi
}
src_compile() {
jobs=$( echo " ${MAKEOPTS} " | \
sed -e 's/ --jobs[= ]/ -j /g' \
-e 's/ -j \([1-9][0-9]*\)/ -j\1/g' \
-e 's/ -j\>/ -j1/g' | \
( while read -d ' ' j ; do if [[ "${j#-j}" = "$j" ]]; then continue; fi; jobs="${j#-j}"; done; echo ${jobs} ) )
if [[ "${jobs}" != "" ]]; then NUMJOBS="-j"${jobs}; fi;
export BOOST_ROOT="${S}"
einfo "Using the following command to build: "
einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoorelease ${OPTIONS} threading=single,multi ${LINK_OPTS} runtime-link=shared"
${BJAM} ${NUMJOBS} -q -d+2 \
gentoorelease \
${OPTIONS} \
threading=single,multi ${LINK_OPTS} runtime-link=shared \
|| die "building boost failed"
# ... and do the whole thing one more time to get the debug libs
if use debug ; then
einfo "Using the following command to build: "
einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoodebug ${OPTIONS} threading=single,multi ${LINK_OPTS} runtime-link=shared --buildid=debug"
${BJAM} ${NUMJOBS} -q -d+2 \
gentoodebug \
${OPTIONS} \
threading=single,multi ${LINK_OPTS} runtime-link=shared \
--buildid=debug \
|| die "building boost failed"
fi
if use tools; then
cd "${S}/tools/"
einfo "Using the following command to build the tools: "
einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoorelease ${OPTIONS}"
${BJAM} ${NUMJOBS} -q -d+2\
gentoorelease \
${OPTIONS} \
|| die "building tools failed"
fi
}
src_install () {
export BOOST_ROOT="${S}"
einfo "Using the following command to install: "
einfo "${BJAM} -q -d+2 gentoorelease ${OPTIONS} threading=single,multi ${LINK_OPTS} runtime-link=shared --includedir=\"${D}/usr/include\" --libdir=\"${D}/usr/$(get_libdir)\" install"
${BJAM} -q -d+2 \
gentoorelease \
${OPTIONS} \
threading=single,multi ${LINK_OPTS} runtime-link=shared \
--includedir="${D}/usr/include" \
--libdir="${D}/usr/$(get_libdir)" \
install || die "install failed for options '${OPTIONS}'"
if use debug ; then
einfo "Using the following command to install: "
einfo "${BJAM} -q -d+2 gentoodebug ${OPTIONS} threading=single,multi ${LINK_OPTS} runtime-link=shared --includedir=\"${D}/usr/include\" --libdir=\"${D}/usr/$(get_libdir)\" --buildid=debug"
${BJAM} -q -d+2 \
gentoodebug \
${OPTIONS} \
threading=single,multi ${LINK_OPTS} runtime-link=shared \
--includedir="${D}/usr/include" \
--libdir="${D}/usr/$(get_libdir)" \
--buildid=debug \
install || die "install failed for options '${OPTIONS}'"
fi
use python || rm -rf "${D}/usr/include/boost-${MAJOR_PV}/boost"/python* || die
dodir /usr/share/boost-eselect/profiles/${SLOT} || die
touch "${D}/usr/share/boost-eselect/profiles/${SLOT}/default" || die
if use debug ; then
touch "${D}/usr/share/boost-eselect/profiles/${SLOT}/debug" || die
fi
# Move the mpi.so to the right place and make sure it's slotted
if use mpi && use python; then
mkdir -p "${D}$(python_get_sitedir)/boost_${MAJOR_PV}" || die
mv "${D}/usr/$(get_libdir)/mpi.so" "${D}$(python_get_sitedir)/boost_${MAJOR_PV}/" || die
touch "${D}$(python_get_sitedir)/boost_${MAJOR_PV}/__init__.py" || die
_add_line "python=\"$(python_get_sitedir)/boost_${MAJOR_PV}/mpi.so\""
fi
if use doc ; then
find libs/*/* -iname "test" -or -iname "src" | xargs rm -rf
dohtml \
-A pdf,txt,cpp,hpp \
*.{htm,html,png,css} \
-r doc || die
dohtml \
-A pdf,txt \
-r tools || die
insinto /usr/share/doc/${PF}/html
doins -r libs || die
doins -r more || die
# To avoid broken links
insinto /usr/share/doc/${PF}/html
doins LICENSE_1_0.txt || die
dosym /usr/include/boost-${MAJOR_PV}/boost /usr/share/doc/${PF}/html/boost || die
fi
cd "${D}/usr/$(get_libdir)" || die
# Remove (unversioned) symlinks
# And check for what we remove to catch bugs
# got a better idea how to do it? tell me!
for f in $(ls -1 ${LIBRARY_TARGETS} | grep -v "${MAJOR_PV}") ; do
if [ ! -h "${f}" ] ; then
eerror "Ups, tried to remove '${f}' which is a a real file instead of a symlink"
die "slotting/naming of the libs broken!"
fi
rm "${f}" || die
done
# The threading libs obviously always gets the "-mt" (multithreading) tag
# some packages seem to have a problem with it. Creating symlinks...
if use static-libs ; then
THREAD_LIBS="libboost_thread-mt-${MAJOR_PV}.a libboost_thread-mt-${MAJOR_PV}$(get_libname)"
else
THREAD_LIBS="libboost_thread-mt-${MAJOR_PV}$(get_libname)"
fi
for lib in ${THREAD_LIBS} ; do
dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" || die
done
# The same goes for the mpi libs
if use mpi ; then
if use static-libs ; then
MPI_LIBS="libboost_mpi-mt-${MAJOR_PV}.a libboost_mpi-mt-${MAJOR_PV}$(get_libname)"
else
MPI_LIBS="libboost_mpi-mt-${MAJOR_PV}$(get_libname)"
fi
for lib in ${MPI_LIBS} ; do
dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" || die
done
fi
if use debug ; then
if use static-libs ; then
THREAD_DEBUG_LIBS="libboost_thread-mt-${MAJOR_PV}-debug$(get_libname) libboost_thread-mt-${MAJOR_PV}-debug.a"
else
THREAD_DEBUG_LIBS="libboost_thread-mt-${MAJOR_PV}-debug$(get_libname)"
fi
for lib in ${THREAD_DEBUG_LIBS} ; do
dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" || die
done
if use mpi ; then
if use static-libs ; then
MPI_DEBUG_LIBS="libboost_mpi-mt-${MAJOR_PV}-debug.a libboost_mpi-mt-${MAJOR_PV}-debug$(get_libname)"
else
MPI_DEBUG_LIBS="libboost_mpi-mt-${MAJOR_PV}-debug$(get_libname)"
fi
for lib in ${MPI_DEBUG_LIBS} ; do
dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" || die
done
fi
fi
# Create a subdirectory with completely unversioned symlinks
# and store the names in the profiles-file for eselect
dodir /usr/$(get_libdir)/boost-${MAJOR_PV} || die
_add_line "libs=\"" default
for f in $(ls -1 ${LIBRARY_TARGETS} | grep -v debug) ; do
dosym ../${f} /usr/$(get_libdir)/boost-${MAJOR_PV}/${f/-${MAJOR_PV}} || die
_add_line "/usr/$(get_libdir)/${f}" default
done
_add_line "\"" default
if use debug ; then
_add_line "libs=\"" debug
dodir /usr/$(get_libdir)/boost-${MAJOR_PV}-debug || die
for f in $(ls -1 ${LIBRARY_TARGETS} | grep debug) ; do
dosym ../${f} /usr/$(get_libdir)/boost-${MAJOR_PV}-debug/${f/-${MAJOR_PV}-debug} || die
_add_line "/usr/$(get_libdir)/${f}" debug
done
_add_line "\"" debug
_add_line "includes=\"/usr/include/boost-${MAJOR_PV}/boost\"" debug
_add_line "suffix=\"-debug\"" debug
fi
_add_line "includes=\"/usr/include/boost-${MAJOR_PV}/boost\"" default
if use tools; then
cd "${S}/dist/bin" || die
# Append version postfix to binaries for slotting
_add_line "bins=\""
for b in * ; do
newbin "${b}" "${b}-${MAJOR_PV}" || die
_add_line "/usr/bin/${b}-${MAJOR_PV}"
done
_add_line "\""
cd "${S}/dist" || die
insinto /usr/share || die
doins -r share/boostbook || die
# Append version postfix for slotting
mv "${D}/usr/share/boostbook" "${D}/usr/share/boostbook-${MAJOR_PV}" || die
_add_line "dirs=\"/usr/share/boostbook-${MAJOR_PV}\""
fi
cd "${S}/status" || die
if [ -f regress.log ] ; then
docinto status || die
dohtml *.html ../boost.png || die
dodoc regress.log || die
fi
use python && python_need_rebuild
# boost's build system truely sucks for not having a destdir. Because for
# this reason we are forced to build with a prefix that includes the
# DESTROOT, dynamic libraries on Darwin end messed up, referencing the
# DESTROOT instread of the actual EPREFIX. There is no way out of here
# but to do it the dirty way of manually setting the right install_names.
[[ -z ${ED+set} ]] && local ED=${D%/}${EPREFIX}/
if [[ ${CHOST} == *-darwin* ]] ; then
einfo "Working around completely broken build-system(tm)"
for d in "${ED}"usr/lib/*.dylib ; do
if [[ -f ${d} ]] ; then
# fix the "soname"
ebegin " correcting install_name of ${d#${ED}}"
install_name_tool -id "/${d#${D}}" "${d}"
eend $?
# fix references to other libs
refs=$(otool -XL "${d}" | \
sed -e '1d' -e 's/^\t//' | \
grep "^libboost_" | \
cut -f1 -d' ')
for r in ${refs} ; do
ebegin " correcting reference to ${r}"
install_name_tool -change \
"${r}" \
"${EPREFIX}/usr/lib/${r}" \
"${d}"
eend $?
done
fi
done
fi
}
src_test() {
export BOOST_ROOT=${S}
cd "${S}/tools/regression/build" || die
einfo "Using the following command to build test helpers: "
einfo "${BJAM} -q -d+2 gentoorelease ${OPTIONS} process_jam_log compiler_status"
${BJAM} -q -d+2 \
gentoorelease \
${OPTIONS} \
process_jam_log compiler_status \
|| die "building regression test helpers failed"
cd "${S}/status" || die
# Some of the test-checks seem to rely on regexps
export LC_ALL="C"
# The following is largely taken from tools/regression/run_tests.sh,
# but adapted to our needs.
# Run the tests & write them into a file for postprocessing
einfo "Using the following command to test: "
einfo "${BJAM} ${OPTIONS} --dump-tests"
${BJAM} \
${OPTIONS} \
--dump-tests 2>&1 | tee regress.log || die
# Postprocessing
cat regress.log | "${S}/tools/regression/build/bin/gcc-$(gcc-version)/gentoorelease/pch-off/process_jam_log" --v2
if test $? != 0 ; then
die "Postprocessing the build log failed"
fi
cat > "${S}/status/comment.html" <<- __EOF__
<p>Tests are run on a <a href="http://www.gentoo.org">Gentoo</a> system.</p>
__EOF__
# Generate the build log html summary page
"${S}/tools/regression/build/bin/gcc-$(gcc-version)/gentoorelease/pch-off/compiler_status" --v2 \
--comment "${S}/status/comment.html" "${S}" \
cs-$(uname).html cs-$(uname)-links.html
if test $? != 0 ; then
die "Generating the build log html summary page failed"
fi
# And do some cosmetic fixes :)
sed -i -e 's|http://www.boost.org/boost.png|boost.png|' *.html || die
}
pkg_postinst() {
if use eselect ; then
eselect boost update || ewarn "eselect boost update failed."
fi
if [ ! -h "${ROOT}/etc/eselect/boost/active" ] ; then
elog "No active boost version found. Calling eselect to select one..."
eselect boost update || ewarn "eselect boost update failed."
fi
}

@ -1,431 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.51.0-r1.ebuild,v 1.2 2012/11/01 15:21:39 flameeyes Exp $
EAPI="5"
PYTHON_DEPEND="python? *"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="*-jython *-pypy-*"
inherit flag-o-matic multilib multiprocessing python toolchain-funcs versionator
MY_P=${PN}_$(replace_all_version_separators _)
DESCRIPTION="Boost Libraries for C++"
HOMEPAGE="http://www.boost.org/"
SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2"
LICENSE="Boost-1.0"
SLOT=0
MAJOR_V="$(get_version_component_range 1-2)"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="debug doc icu mpi python static-libs tools"
RDEPEND="icu? ( >=dev-libs/icu-3.6:= )
!icu? ( virtual/libiconv )
mpi? ( || ( sys-cluster/openmpi[cxx] sys-cluster/mpich2[cxx,threads] ) )
sys-libs/zlib
!app-admin/eselect-boost"
DEPEND="${RDEPEND}
=dev-util/boost-build-${MAJOR_V}*"
S=${WORKDIR}/${MY_P}
MAJOR_PV=$(replace_all_version_separators _ ${MAJOR_V})
BJAM="b2-${MAJOR_PV}"
create_user-config.jam() {
local compiler compiler_version compiler_executable
if [[ ${CHOST} == *-darwin* ]]; then
compiler="darwin"
compiler_version="$(gcc-fullversion)"
compiler_executable="$(tc-getCXX)"
else
compiler="gcc"
compiler_version="$(gcc-version)"
compiler_executable="$(tc-getCXX)"
fi
local mpi_configuration python_configuration
if use mpi; then
mpi_configuration="using mpi ;"
fi
if use python; then
python_configuration="using python : $(python_get_version) : /usr : $(python_get_includedir) : /usr/$(get_libdir) ;"
fi
cat > user-config.jam << __EOF__
using ${compiler} : ${compiler_version} : ${compiler_executable} : <cflags>"${CFLAGS}" <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ;
${mpi_configuration}
${python_configuration}
__EOF__
}
pkg_setup() {
if use python; then
python_pkg_setup
fi
}
src_prepare() {
epatch \
"${FILESDIR}/${PN}-1.48.0-mpi_python3.patch" \
"${FILESDIR}/${PN}-1.51.0-respect_python-buildid.patch" \
"${FILESDIR}/${PN}-1.51.0-support_dots_in_python-buildid.patch" \
"${FILESDIR}/${PN}-1.48.0-no_strict_aliasing_python2.patch" \
"${FILESDIR}/${PN}-1.48.0-disable_libboost_python3.patch" \
"${FILESDIR}/${PN}-1.48.0-python_linking.patch" \
"${FILESDIR}/${PN}-1.48.0-disable_icu_rpath.patch" \
"${FILESDIR}/remove-toolset-1.48.0.patch"
}
src_configure() {
OPTIONS=""
if [[ ${CHOST} == *-darwin* ]]; then
# We need to add the prefix, and in two cases this exceeds, so prepare
# for the largest possible space allocation.
append-ldflags -Wl,-headerpad_max_install_names
fi
# bug 298489
if use ppc || use ppc64; then
[[ $(gcc-version) > 4.3 ]] && append-flags -mno-altivec
fi
use icu && OPTIONS+=" -sICU_PATH=/usr"
use icu || OPTIONS+=" --disable-icu boost.locale.icu=off"
use mpi || OPTIONS+=" --without-mpi"
use python || OPTIONS+=" --without-python"
# https://svn.boost.org/trac/boost/attachment/ticket/2597/add-disable-long-double.patch
if use sparc || { use mips && [[ ${ABI} = "o32" ]]; } || use hppa || use arm || use x86-fbsd || use sh; then
OPTIONS+=" --disable-long-double"
fi
OPTIONS+=" pch=off --boost-build=/usr/share/boost-build-${MAJOR_PV} --prefix=\"${D}usr\" --layout=versioned"
if use static-libs; then
LINK_OPTS="link=shared,static"
LIBRARY_TARGETS="*.a *$(get_libname)"
else
LINK_OPTS="link=shared"
# There is no dynamically linked version of libboost_test_exec_monitor and libboost_exception.
LIBRARY_TARGETS="libboost_test_exec_monitor*.a libboost_exception*.a *$(get_libname)"
fi
}
src_compile() {
export BOOST_ROOT="${S}"
PYTHON_DIRS=""
MPI_PYTHON_MODULE=""
NUMJOBS="-j$(makeopts_jobs)"
building() {
create_user-config.jam
einfo "Using the following command to build:"
einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoorelease --user-config=user-config.jam ${OPTIONS} threading=single,multi ${LINK_OPTS} $(use python && echo --python-buildid=${PYTHON_ABI})"
${BJAM} ${NUMJOBS} -q -d+2 \
gentoorelease \
--user-config=user-config.jam \
${OPTIONS} threading=single,multi ${LINK_OPTS} \
$(use python && echo --python-buildid=${PYTHON_ABI}) \
|| die "Building of Boost libraries failed"
# ... and do the whole thing one more time to get the debug libs
if use debug; then
einfo "Using the following command to build:"
einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoodebug --user-config=user-config.jam ${OPTIONS} threading=single,multi ${LINK_OPTS} --buildid=debug $(use python && echo --python-buildid=${PYTHON_ABI})"
${BJAM} ${NUMJOBS} -q -d+2 \
gentoodebug \
--user-config=user-config.jam \
${OPTIONS} threading=single,multi ${LINK_OPTS} \
--buildid=debug \
$(use python && echo --python-buildid=${PYTHON_ABI}) \
|| die "Building of Boost debug libraries failed"
fi
if use python; then
if [[ -z "${PYTHON_DIRS}" ]]; then
PYTHON_DIRS="$(find bin.v2/libs -name python | sort)"
else
if [[ "${PYTHON_DIRS}" != "$(find bin.v2/libs -name python | sort)" ]]; then
die "Inconsistent structure of build directories"
fi
fi
local dir
for dir in ${PYTHON_DIRS}; do
mv ${dir} ${dir}-${PYTHON_ABI} || die "Renaming of '${dir}' to '${dir}-${PYTHON_ABI}' failed"
done
if use mpi; then
if [[ -z "${MPI_PYTHON_MODULE}" ]]; then
MPI_PYTHON_MODULE="$(find bin.v2/libs/mpi/build/*/gentoorelease -name mpi.so)"
if [[ "$(echo "${MPI_PYTHON_MODULE}" | wc -l)" -ne 1 ]]; then
die "Multiple mpi.so files found"
fi
else
if [[ "${MPI_PYTHON_MODULE}" != "$(find bin.v2/libs/mpi/build/*/gentoorelease -name mpi.so)" ]]; then
die "Inconsistent structure of build directories"
fi
fi
mv stage/lib/mpi.so stage/lib/mpi.so-${PYTHON_ABI} || die "Renaming of 'stage/lib/mpi.so' to 'stage/lib/mpi.so-${PYTHON_ABI}' failed"
fi
fi
}
if use python; then
python_execute_function building
else
building
fi
if use tools; then
pushd tools > /dev/null || die
einfo "Using the following command to build the tools:"
einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoorelease --user-config=../user-config.jam ${OPTIONS}"
${BJAM} ${NUMJOBS} -q -d+2\
gentoorelease \
--user-config=../user-config.jam \
${OPTIONS} \
|| die "Building of Boost tools failed"
popd > /dev/null || die
fi
}
src_install () {
installation() {
create_user-config.jam
if use python; then
local dir
for dir in ${PYTHON_DIRS}; do
cp -pr ${dir}-${PYTHON_ABI} ${dir} || die "Copying of '${dir}-${PYTHON_ABI}' to '${dir}' failed"
done
if use mpi; then
cp -p stage/lib/mpi.so-${PYTHON_ABI} "${MPI_PYTHON_MODULE}" || die "Copying of 'stage/lib/mpi.so-${PYTHON_ABI}' to '${MPI_PYTHON_MODULE}' failed"
cp -p stage/lib/mpi.so-${PYTHON_ABI} stage/lib/mpi.so || die "Copying of 'stage/lib/mpi.so-${PYTHON_ABI}' to 'stage/lib/mpi.so' failed"
fi
fi
einfo "Using the following command to install:"
einfo "${BJAM} -q -d+2 gentoorelease --user-config=user-config.jam ${OPTIONS} threading=single,multi ${LINK_OPTS} --includedir=\"${D}usr/include\" --libdir=\"${D}usr/$(get_libdir)\" $(use python && echo --python-buildid=${PYTHON_ABI}) install"
${BJAM} -q -d+2 \
gentoorelease \
--user-config=user-config.jam \
${OPTIONS} threading=single,multi ${LINK_OPTS} \
--includedir="${D}usr/include" \
--libdir="${D}usr/$(get_libdir)" \
$(use python && echo --python-buildid=${PYTHON_ABI}) \
install || die "Installation of Boost libraries failed"
if use debug; then
einfo "Using the following command to install:"
einfo "${BJAM} -q -d+2 gentoodebug --user-config=user-config.jam ${OPTIONS} threading=single,multi ${LINK_OPTS} --includedir=\"${D}usr/include\" --libdir=\"${D}usr/$(get_libdir)\" --buildid=debug $(use python && echo --python-buildid=${PYTHON_ABI})"
${BJAM} -q -d+2 \
gentoodebug \
--user-config=user-config.jam \
${OPTIONS} threading=single,multi ${LINK_OPTS} \
--includedir="${D}usr/include" \
--libdir="${D}usr/$(get_libdir)" \
--buildid=debug \
$(use python && echo --python-buildid=${PYTHON_ABI}) \
install || die "Installation of Boost debug libraries failed"
fi
if use python; then
rm -r ${PYTHON_DIRS} || die
# Move mpi.so Python module to Python site-packages directory and make sure it is slotted.
if use mpi; then
mkdir -p "${D}$(python_get_sitedir)/boost_${MAJOR_PV}" || die
mv "${D}usr/$(get_libdir)/mpi.so" "${D}$(python_get_sitedir)/boost_${MAJOR_PV}" || die
cat << EOF > "${D}$(python_get_sitedir)/boost_${MAJOR_PV}/__init__.py" || die
import sys
if sys.platform.startswith('linux'):
import DLFCN
flags = sys.getdlopenflags()
sys.setdlopenflags(DLFCN.RTLD_NOW | DLFCN.RTLD_GLOBAL)
from . import mpi
sys.setdlopenflags(flags)
del DLFCN, flags
else:
from . import mpi
del sys
EOF
fi
fi
}
if use python; then
python_execute_function installation
else
installation
fi
use python || rm -rf "${D}usr/include/boost-${MAJOR_PV}/boost"/python* || die
if use doc; then
find libs/*/* -iname "test" -or -iname "src" | xargs rm -rf
dohtml \
-A pdf,txt,cpp,hpp \
*.{htm,html,png,css} \
-r doc
dohtml \
-A pdf,txt \
-r tools
insinto /usr/share/doc/${PF}/html
doins -r libs
doins -r more
# To avoid broken links
insinto /usr/share/doc/${PF}/html
doins LICENSE_1_0.txt
dosym /usr/include/boost /usr/share/doc/${PF}/html/boost
fi
dosym boost-${MAJOR_PV}/boost /usr/include/boost
pushd "${D}usr/$(get_libdir)" > /dev/null || die
# The threading libs obviously always gets the "-mt" (multithreading) tag
# some packages seem to have a problem with it. Creating symlinks...
if use static-libs; then
THREAD_LIBS="libboost_thread-mt-${MAJOR_PV}.a libboost_thread-mt-${MAJOR_PV}$(get_libname)"
else
THREAD_LIBS="libboost_thread-mt-${MAJOR_PV}$(get_libname)"
fi
local lib
for lib in ${THREAD_LIBS}; do
dosym ${lib} "/usr/$(get_libdir)/${lib/-mt/}"
done
# The same goes for the mpi libs
if use mpi; then
if use static-libs; then
MPI_LIBS="libboost_mpi-mt-${MAJOR_PV}.a libboost_mpi-mt-${MAJOR_PV}$(get_libname)"
else
MPI_LIBS="libboost_mpi-mt-${MAJOR_PV}$(get_libname)"
fi
local lib
for lib in ${MPI_LIBS}; do
dosym ${lib} "/usr/$(get_libdir)/${lib/-mt/}"
done
fi
if use debug; then
if use static-libs; then
THREAD_DEBUG_LIBS="libboost_thread-mt-${MAJOR_PV}-debug$(get_libname) libboost_thread-mt-${MAJOR_PV}-debug.a"
else
THREAD_DEBUG_LIBS="libboost_thread-mt-${MAJOR_PV}-debug$(get_libname)"
fi
local lib
for lib in ${THREAD_DEBUG_LIBS}; do
dosym ${lib} "/usr/$(get_libdir)/${lib/-mt/}"
done
if use mpi; then
if use static-libs; then
MPI_DEBUG_LIBS="libboost_mpi-mt-${MAJOR_PV}-debug.a libboost_mpi-mt-${MAJOR_PV}-debug$(get_libname)"
else
MPI_DEBUG_LIBS="libboost_mpi-mt-${MAJOR_PV}-debug$(get_libname)"
fi
local lib
for lib in ${MPI_DEBUG_LIBS}; do
dosym ${lib} "/usr/$(get_libdir)/${lib/-mt/}"
done
fi
fi
local f
for f in $(ls -1 ${LIBRARY_TARGETS} | grep -v debug); do
dosym ${f} /usr/$(get_libdir)/${f/-${MAJOR_PV}}
done
if use debug; then
dodir /usr/$(get_libdir)/boost-debug
local f
for f in $(ls -1 ${LIBRARY_TARGETS} | grep debug); do
dosym ../${f} /usr/$(get_libdir)/boost-debug/${f/-${MAJOR_PV}-debug}
done
fi
popd > /dev/null || die
if use tools; then
pushd dist/bin > /dev/null || die
# Append version postfix to binaries for slotting
local b
for b in *; do
newbin "${b}" "${b}-${MAJOR_PV}"
done
popd > /dev/null || die
pushd dist > /dev/null || die
insinto /usr/share
doins -r share/boostbook
# Append version postfix for slotting
mv "${D}usr/share/boostbook" "${D}usr/share/boostbook-${MAJOR_PV}" || die
popd > /dev/null || die
fi
pushd status > /dev/null || die
if [[ -f regress.log ]]; then
docinto status
dohtml *.html ../boost.png
dodoc regress.log
fi
popd > /dev/null || die
# boost's build system truely sucks for not having a destdir. Because for
# this reason we are forced to build with a prefix that includes the
# DESTROOT, dynamic libraries on Darwin end messed up, referencing the
# DESTROOT instread of the actual EPREFIX. There is no way out of here
# but to do it the dirty way of manually setting the right install_names.
if [[ ${CHOST} == *-darwin* ]]; then
einfo "Working around completely broken build-system(tm)"
local d
for d in "${ED}"usr/lib/*.dylib; do
if [[ -f ${d} ]]; then
# fix the "soname"
ebegin " correcting install_name of ${d#${ED}}"
install_name_tool -id "/${d#${D}}" "${d}"
eend $?
# fix references to other libs
refs=$(otool -XL "${d}" | \
sed -e '1d' -e 's/^\t//' | \
grep "^libboost_" | \
cut -f1 -d' ')
local r
for r in ${refs}; do
ebegin " correcting reference to ${r}"
install_name_tool -change \
"${r}" \
"${EPREFIX}/usr/lib/${r}" \
"${d}"
eend $?
done
fi
done
fi
}
# the tests will never fail because these are not intended as sanity
# tests at all. They are more a way for upstream to check their own code
# on new compilers. Since they would either be completely unreliable
# (failing for no good reason) or completely useless (never failing)
# there is no point in having them in the ebuild to begin with.
src_test() { :; }

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.52.0-r1.ebuild,v 1.2 2012/11/08 06:17:18 flameeyes Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.52.0-r2.ebuild,v 1.2 2012/11/11 05:50:39 flameeyes Exp $
EAPI="5"
PYTHON_DEPEND="python? *"
@ -19,7 +19,7 @@ LICENSE="Boost-1.0"
SLOT=0
MAJOR_V="$(get_version_component_range 1-2)"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="debug doc icu mpi python static-libs +threads tools"
IUSE="debug doc icu +nls mpi python static-libs +threads tools"
RDEPEND="icu? ( >=dev-libs/icu-3.6:= )
!icu? ( virtual/libiconv )
@ -89,14 +89,12 @@ EOF
}
ejam() {
local NUMJOBS="-j$(makeopts_jobs)"
echo b2 ${NUMJOBS} -q -d+2 "$@"
b2 ${NUMJOBS} -q -d+2 "$@"
echo b2 "$@"
b2 "$@"
}
src_configure() {
OPTIONS=""
OPTIONS="$(usex debug gentoodebug gentoorelease) -j$(makeopts_jobs) -q -d+2 --user-config=${S}/user-config.jam"
if [[ ${CHOST} == *-darwin* ]]; then
# We need to add the prefix, and in two cases this exceeds, so prepare
@ -116,17 +114,9 @@ src_configure() {
use icu || OPTIONS+=" --disable-icu boost.locale.icu=off"
use mpi || OPTIONS+=" --without-mpi"
use python || OPTIONS+=" --without-python"
use nls || OPTIONS+=" --without-locale"
OPTIONS+=" pch=off --boost-build=/usr/share/boost-build --prefix=\"${D}usr\" --layout=system"
if use static-libs; then
LINK_OPTS="link=shared,static"
LIBRARY_TARGETS="*.a *$(get_libname)"
else
LINK_OPTS="link=shared"
# There is no dynamically linked version of libboost_test_exec_monitor and libboost_exception.
LIBRARY_TARGETS="libboost_test_exec_monitor*.a libboost_exception*.a *$(get_libname)"
fi
OPTIONS+=" pch=off --boost-build=/usr/share/boost-build --prefix=\"${D}usr\" --layout=system threading=$(usex threads multi single) link=$(usex static-libs shared,static shared)"
}
src_compile() {
@ -137,22 +127,10 @@ src_compile() {
building() {
create_user-config.jam
ejam gentoorelease \
--user-config=user-config.jam \
${OPTIONS} threading=$(usex threads multi single) ${LINK_OPTS} \
ejam ${OPTIONS} \
$(use python && echo --python-buildid=${PYTHON_ABI}) \
|| die "Building of Boost libraries failed"
# ... and do the whole thing one more time to get the debug libs
if use debug; then
ejam gentoodebug \
--user-config=user-config.jam \
${OPTIONS} threading=$(usex threads multi single) ${LINK_OPTS} \
--buildid=debug \
$(use python && echo --python-buildid=${PYTHON_ABI}) \
|| die "Building of Boost debug libraries failed"
fi
if use python; then
if [[ -z "${PYTHON_DIRS}" ]]; then
PYTHON_DIRS="$(find bin.v2/libs -name python | sort)"
@ -169,12 +147,12 @@ src_compile() {
if use mpi; then
if [[ -z "${MPI_PYTHON_MODULE}" ]]; then
MPI_PYTHON_MODULE="$(find bin.v2/libs/mpi/build/*/gentoorelease -name mpi.so)"
MPI_PYTHON_MODULE="$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)"
if [[ "$(echo "${MPI_PYTHON_MODULE}" | wc -l)" -ne 1 ]]; then
die "Multiple mpi.so files found"
fi
else
if [[ "${MPI_PYTHON_MODULE}" != "$(find bin.v2/libs/mpi/build/*/gentoorelease -name mpi.so)" ]]; then
if [[ "${MPI_PYTHON_MODULE}" != "$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)" ]]; then
die "Inconsistent structure of build directories"
fi
fi
@ -192,9 +170,7 @@ src_compile() {
if use tools; then
pushd tools > /dev/null || die
ejam gentoorelease \
--user-config=../user-config.jam \
${OPTIONS} \
ejam ${OPTIONS} \
|| die "Building of Boost tools failed"
popd > /dev/null || die
fi
@ -216,28 +192,12 @@ src_install () {
fi
fi
einfo "Using the following command to install:"
ejam gentoorelease \
--user-config=user-config.jam \
${OPTIONS} threading=$(usex threads multi single) ${LINK_OPTS} \
ejam ${OPTIONS} \
--includedir="${D}usr/include" \
--libdir="${D}usr/$(get_libdir)" \
$(use python && echo --python-buildid=${PYTHON_ABI}) \
install || die "Installation of Boost libraries failed"
if use debug; then
einfo "Using the following command to install:"
ejam gentoodebug \
--user-config=user-config.jam \
${OPTIONS} threading=$(usex threads multi single) ${LINK_OPTS} \
--includedir="${D}usr/include" \
--libdir="${D}usr/$(get_libdir)" \
--buildid=debug \
$(use python && echo --python-buildid=${PYTHON_ABI}) \
install || die "Installation of Boost debug libraries failed"
fi
if use python; then
rm -r ${PYTHON_DIRS} || die
@ -276,9 +236,7 @@ EOF
-A pdf,txt,cpp,hpp \
*.{htm,html,png,css} \
-r doc
dohtml \
-A pdf,txt \
-r tools
dohtml -A pdf,txt -r tools
insinto /usr/share/doc/${PF}/html
doins -r libs
doins -r more
@ -295,28 +253,18 @@ EOF
local ext=$(get_libname)
if use threads; then
local f
for f in $(ls -1 *${ext}); do
for f in *${ext}; do
dosym ${f} /usr/$(get_libdir)/${f/${ext}/-mt${ext}}
done
fi
if use debug; then
dodir /usr/$(get_libdir)/boost-debug
local f
for f in $(ls -1 *-debug*.a *debug*${ext}); do
dosym ../${f} /usr/$(get_libdir)/boost-debug/${f/-debug}
done
fi
popd > /dev/null || die
if use tools; then
dobin dist/bin/*
pushd dist > /dev/null || die
insinto /usr/share
doins -r share/boostbook
popd > /dev/null || die
doins -r dist/share/boostbook
fi
# boost's build system truely sucks for not having a destdir. Because for
@ -352,6 +300,16 @@ EOF
fi
}
pkg_preinst() {
# Yai for having symlinks that are nigh-impossible to remove without
# resorting to dirty hacks like these. Removes lingering symlinks
# from the slotted versions.
local symlink
for symlink in "${EROOT}usr/include/boost" "${EROOT}usr/share/boostbook"; do
[[ -L ${symlink} ]] && rm -f "${symlink}"
done
}
pkg_postinst() {
if use mpi && use python; then
python_mod_optimize boost

@ -1,14 +0,0 @@
Numerous sources suggest just to do this, boost devs only seem to "know"
it is "bad". Without this, boost simply dies compiling (joy).
--- boost/math/tools/config.hpp
+++ boost/math/tools/config.hpp
@@ -43,7 +43,7 @@
// Darwin's rather strange "double double" is rather hard to
// support, it should be possible given enough effort though...
//
-# define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
+// fsck it! # define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
#endif
#if defined(unix) && defined(__INTEL_COMPILER) && (__INTEL_COMPILER <= 1000)
//

@ -1,42 +0,0 @@
Index: trunk/boost/lambda/detail/function_adaptors.hpp
===================================================================
--- a/trunk/boost/lambda/detail/function_adaptors.hpp
+++ b/trunk/boost/lambda/detail/function_adaptors.hpp
@@ -17,4 +17,7 @@
#include "boost/type_traits/same_traits.hpp"
#include "boost/type_traits/remove_reference.hpp"
+#include "boost/type_traits/remove_cv.hpp"
+#include "boost/type_traits/add_const.hpp"
+#include "boost/type_traits/add_volatile.hpp"
#include "boost/utility/result_of.hpp"
@@ -238,12 +241,14 @@
template<class Args> class sig {
typedef typename boost::tuples::element<1, Args>::type argument_type;
-
- typedef typename detail::IF<boost::is_const<argument_type>::value,
+ typedef typename boost::remove_reference<
+ argument_type
+ >::type unref_type;
+
+ typedef typename detail::IF<boost::is_const<unref_type>::value,
typename boost::add_const<T>::type,
T
>::RET properly_consted_return_type;
- typedef typename detail::IF<
- boost::is_volatile<properly_consted_return_type>::value,
+ typedef typename detail::IF<boost::is_volatile<unref_type>::value,
typename boost::add_volatile<properly_consted_return_type>::type,
properly_consted_return_type
@@ -252,6 +257,8 @@
public:
- typedef typename
- boost::add_reference<properly_cvd_return_type>::type type;
+ typedef typename detail::IF<boost::is_reference<argument_type>::value,
+ typename boost::add_reference<properly_cvd_return_type>::type,
+ typename boost::remove_cv<T>::type
+ >::RET type;
};

@ -1,16 +0,0 @@
Index: libs/python/src/converter/builtin_converters.cpp
===================================================================
--- libs/python/src/converter/builtin_converters.cpp (revision 67279)
+++ libs/python/src/converter/builtin_converters.cpp (working copy)
@@ -431,7 +431,11 @@
if (!result.empty())
{
int err = PyUnicode_AsWideChar(
+#if PY_VERSION_HEX >= 0x03020000
+ intermediate
+#else
(PyUnicodeObject *)intermediate
+#endif
, &result[0]
, result.size());

@ -1,14 +0,0 @@
--- Jamroot.orig 2011-03-15 12:49:05.000000000 +0000
+++ Jamroot 2011-03-15 12:49:20.000000000 +0000
@@ -150,10 +150,7 @@
local version-tag = [ MATCH "^([^.]+)[.]([^.]+)[.]([^.]+)" : $(BOOST_VERSION) ]
;
-if $(version-tag[3]) = 0
-{
- version-tag = $(version-tag[1-2]) ;
-}
+version-tag = $(version-tag[1-2]) ;
constant BOOST_VERSION_TAG : $(version-tag:J="_") ;

@ -1,15 +0,0 @@
# Copyright (c) 2006 Tiziano Mueller
#
# Use, modification and distribution of the file is subject to the
# Boost Software License, Version 1.0.
# (See at http://www.boost.org/LICENSE_1_0.txt)
project boost/random
: source-location ../src ;
SOURCES = random_device ;
lib boost_random
: $(SOURCES).cpp
: <link>shared:<define>BOOST_RANDOM_DYN_LINK=1 ;

@ -1,11 +0,0 @@
--- Jamroot 2010-11-17 11:51:56.000000000 +0200
+++ Jamroot.gentoo 2011-01-06 15:07:17.893270002 +0200
@@ -377,7 +377,7 @@
if $(layout) = versioned
{
result = [ common.format-name
- <base> <toolset> <threading> <runtime> -$(BOOST_VERSION_TAG)
+ <base> <threading> <runtime> -$(BOOST_VERSION_TAG)
-$(BUILD_ID)
: $(name) : $(type) : $(property-set) ] ;
}

@ -10,14 +10,28 @@
<flag name='eselect' restrict='&lt;dev-libs/boost-1.50.0-r2'>
Run "eselect boost update" even if version is already selected
</flag>
<flag name='debug'>
<flag name='debug' restrict='&lt;dev-libs/boost-1.50.0-r3'>
Build and install debug versions of the Boost libraries. These
libraries are not used by default, and should not be used unless
you're developing against Boost.
</flag>
<flag name='debug' restrict='&gt;dev-libs/boost-1.52.0-r2'>
Build and install only the debug version of the Boost
libraries. Only enable this flag if you're developing against
boost.
</flag>
<flag name='threads'>
Build multi-thread-compatible libraries instead of
single-threaded only.
</flag>
<flag name='nls'>
Build libboost_locale. This library requires compatible C
library interfaces, which might not be provided by uClibc or
other embedded libraries.
</flag>
<flag name='doc'>
Install the full API documentation documentation. This takes
over 200MB of extra disk space.
</flag>
</use>
</pkgmetadata>

@ -0,0 +1,46 @@
diff -Naur icu.orig/source/configure.in icu/source/configure.in
--- icu.orig/source/configure.in 2012-11-03 09:16:37.937159045 +0100
+++ icu/source/configure.in 2012-11-03 09:20:30.019550761 +0100
@@ -955,42 +955,6 @@
;;
esac
-# GCC >= 4.4 supports UTF16 string literals. The CFLAGS and CXXFLAGS may change in the future.
-if test "$CHECK_UTF16_STRING_RESULT" = "unknown"; then
- if test "$GCC" = yes; then
- OLD_CFLAGS="${CFLAGS}"
- CFLAGS="${CFLAGS} -std=gnu99"
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
-static const char16_t test[] = u"This is a UTF16 literal string.";
- ]], [[]])],[CC_UTF16_STRING=1],[CC_UTF16_STRING=0])
- if test "$CC_UTF16_STRING" = 1; then
- CHECK_UTF16_STRING_RESULT="C only";
- else
- CFLAGS="${OLD_CFLAGS}"
- fi
- fi
- if test "$GXX" = yes; then
- OLD_CXXFLAGS="${CXXFLAGS}"
- # -Wno-return-type-c-linkage is desired so that stable ICU API is not warned about.
- CXXFLAGS="${CXXFLAGS} -std=c++11"
- AC_LANG_PUSH([C++])
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
-static const char16_t test[] = u"This is a UTF16 literal string.";
- ]], [[]])],[CXX_UTF16_STRING=1],[CXX_UTF16_STRING=0])
- AC_LANG_POP([C++])
- if test "$CXX_UTF16_STRING" = 1; then
- if test "$CC_UTF16_STRING" = 1; then
- CHECK_UTF16_STRING_RESULT="available";
- else
- CHECK_UTF16_STRING_RESULT="C++ only";
- fi
- else
- CXXFLAGS="${OLD_CXXFLAGS}"
- fi
- fi
-fi
-AC_MSG_RESULT($CHECK_UTF16_STRING_RESULT)
-
# Enable/disable extras
AC_ARG_ENABLE(extras,
[ --enable-extras build ICU extras [default=yes]],

@ -0,0 +1,120 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-50.1-r1.ebuild,v 1.1 2012/11/10 22:48:06 phajdan.jr Exp $
EAPI=5
inherit eutils toolchain-funcs base autotools
DESCRIPTION="International Components for Unicode"
HOMEPAGE="http://www.icu-project.org/"
SRC_URI="http://download.icu-project.org/files/icu4c/${PV/_/}/icu4c-${PV//./_}-src.tgz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="debug doc examples static-libs"
RDEPEND="!dev-libs/icu:0/50"
DEPEND="
doc? (
app-doc/doxygen[dot]
)
"
S="${WORKDIR}/${PN}/source"
PATCHES=(
"${FILESDIR}/${PN}-4.8.1-fix_binformat_fonts.patch"
"${FILESDIR}/${PN}-4.8.1.1-fix_ltr.patch"
"${FILESDIR}/${PN}-50.1-no-c++11.patch"
)
src_prepare() {
local variable
base_src_prepare
# Do not hardcode flags in icu-config and icu-*.pc files.
# https://ssl.icu-project.org/trac/ticket/6102
for variable in CFLAGS CPPFLAGS CXXFLAGS FFLAGS LDFLAGS; do
sed \
-e "/^${variable} =.*/s: *@${variable}@\( *$\)\?::" \
-i config/icu.pc.in \
-i config/Makefile.inc.in \
|| die
done
# Disable renaming as it is stupind thing to do
sed -i \
-e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \
common/unicode/uconfig.h || die
# Fix linking of icudata
sed -i \
-e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \
config/mh-linux || die
# Append doxygen configuration to configure
sed -i \
-e 's:icudefs.mk:icudefs.mk Doxyfile:' \
configure.in || die
eautoreconf
}
src_configure() {
local cross_opts
# bootstrap for cross compilation
if tc-is-cross-compiler; then
CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \
CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \
RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \
./configure --disable-renaming --disable-debug \
--disable-samples --enable-static || die
emake
mkdir -p "${WORKDIR}/host/"
cp -a {bin,lib,config,tools} "${WORKDIR}/host/"
emake clean
cross_opts="--with-cross-build=${WORKDIR}/host"
fi
econf \
--disable-renaming \
$(use_enable debug) \
$(use_enable examples samples) \
$(use_enable static-libs static) \
${cross_opts}
}
src_compile() {
default
if use doc; then
doxygen -u Doxyfile || die
doxygen Doxyfile || die
fi
}
src_test() {
# INTLTEST_OPTS: intltest options
# -e: Exhaustive testing
# -l: Reporting of memory leaks
# -v: Increased verbosity
# IOTEST_OPTS: iotest options
# -e: Exhaustive testing
# -v: Increased verbosity
# CINTLTST_OPTS: cintltst options
# -e: Exhaustive testing
# -v: Increased verbosity
emake -j1 VERBOSE="1" check
}
src_install() {
default
dohtml ../readme.html
use doc && dohtml -p api -r doc/html/
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/SQL-Translator/SQL-Translator-0.110.160.ebuild,v 1.1 2012/11/03 18:34:49 tove Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/SQL-Translator/SQL-Translator-0.110.160.ebuild,v 1.2 2012/11/11 18:40:36 tove Exp $
EAPI=4
@ -24,7 +24,7 @@ RDEPEND="
dev-perl/List-MoreUtils
dev-perl/DBI
>=dev-perl/Try-Tiny-0.40.0
dev-perl/Moo
>=dev-perl/Moo-1.0.3
>=dev-perl/Package-Variant-1.1.1
>=dev-perl/XML-Writer-0.500.0
"

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

@ -1 +1,2 @@
DIST isodate-0.4.8.tar.gz 24325 SHA256 45b84949e4d1ef4c9e55e4516bf7c33707e8007b80bf62fc887d3c7320ab400b SHA512 ef54c56f8455c46aac8c27203a01bd09ccb36583db2403952bd2ecf54a260c2deec59ae02810fcf36e6d2c2a6ef2f3e1ac39dcd9d7b2e4008c2584b84b07e068 WHIRLPOOL 4291e92474ae0363247d1f18b33d524cd4af87bc307c556cfedd9c78188c1236f14a062733d8d76857307a0ebb44f8498d89e8f40625b79cd23c5369d9b04ce9
DIST isodate-0.4.9.tar.gz 24820 SHA256 4e13c0b5824e9af40d99ad1d3969c880e49b6b09e4de138aa08db3d571b2190d SHA512 a59b7d2ce417b40cb6365f87ad8f1dbba58fd356edaa450510453630ef81c4fa308ab3a45b680de5451ec8d5d2b67fa75980a3ba006c51b73860ca96e1a94b6a WHIRLPOOL b6fa919b31ea3aae7acd23d6fe98284ffad9d39a3025a708953a0434d84192bf4bd2d4ae96fc2f137682dca021e79537152a7d57e5d76c43b149c1f898eaf28a

@ -0,0 +1,23 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/isodate/isodate-0.4.9.ebuild,v 1.1 2012/11/11 10:56:43 radhermit Exp $
EAPI="4"
SUPPORT_PYTHON_ABIS="1"
DISTUTILS_SRC_TEST="setup.py"
RESTRICT_PYTHON_ABIS="*-pypy-*"
inherit distutils
DESCRIPTION="ISO 8601 date/time/duration parser and formater"
HOMEPAGE="http://pypi.python.org/pypi/isodate"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""
DEPEND="dev-python/setuptools"
DOCS="CHANGES.txt README.txt TODO.txt"

@ -1,3 +1,4 @@
DIST paramiko-1.7.6.tar.gz 843748 SHA256 3059263b016255640151cde1e3e74ffd7234b90e780628865cb3f5a407fd5002 SHA512 c6c70a48ee0d0f8f72a9459b856b57aef56e40a76b95aa8af1d53a569574e8955fbb475fc270473b47506a41786b0d0cbfb249a2383995a98bccb8473b66ee1d WHIRLPOOL 89c950741fd3e0e367079e0ea9768e6d115b83e0bdcc10fc4a0b938eec5ab2db92b9f183af058ff5a6a8d7a8196eaad6406fafd73cea9ada46babaeeb0a10fbc
DIST paramiko-1.7.7.1.tar.gz 823017 SHA256 101e7642cbb59574539eaef537d0ef0bb54f1f987cc950f0ada0b050ac245eae SHA512 d67cfd037860c2c71dbad36c981ba314639d50a467397ca14f44eab784639ce44ea911aca96ef2c4fb9947618e486ca7f4e3f99048319a2c7d186bf0564711c7 WHIRLPOOL f1c640a0a1a2664b4c6c8847d2136fbd2825bf373df1881998da6b55cfc504f5e145539ff4cfaec1ee5581cb6c56c5699767d5bf514c95717f71178cd280b99e
DIST paramiko-1.7.7.2.zip 1066799 SHA256 3d659073d6c61faae1756c8837159b6edc9b98da4b9d0e930212414b46c62599 SHA512 1aaa925fa80ec96ac55f70df6fdd898253622ceb953d31a2683f94731af2b6eb9bd6c2a10c0aee61fa2584428d5884ca6cce53d57d0bcd291e91569eabc861ee WHIRLPOOL bf9cdf3c26467f4d47e052d9c4160e0e368bc99a6b0c35f605eeb8ccd688382aa084cbf2424f1c7534cc173702b579d4287f1fd1ba286e7ec6083ae95066fab2
DIST paramiko-1.9.0.tar.gz 814841 SHA256 cb99b74d9c53a23b92803c1c97fdb2bfdab7cd4fea888bd3b6438c127e3b29f5 SHA512 2f91b68b8a652aa773d14cded7a5f17cf6d758624f981c68510ee3b1302b64ee9290830440dca1a1000b7974ef9dca4f0acd13d01958433b6f35ae8a13e1c0a2 WHIRLPOOL 74e5a1e77086f05405b9c677978ef88bfb938c43d142e8758a58a5bffdbc67196327a0538c74db5e2472ee6e412b987efd457e908f5833472d108a7069ec7ba6

@ -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/paramiko/paramiko-1.9.0.ebuild,v 1.1 2012/11/11 11:24:20 radhermit Exp $
EAPI="4"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
inherit distutils
DESCRIPTION="SSH2 protocol library"
HOMEPAGE="https://github.com/paramiko/paramiko/ http://pypi.python.org/pypi/paramiko"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
IUSE="doc examples"
RDEPEND=">=dev-python/pycrypto-2.1"
DEPEND="${RDEPEND}
dev-python/setuptools"
src_test() {
testing() {
PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test.py --verbose
}
python_execute_function testing
}
src_install() {
distutils_src_install
if use doc; then
dohtml -r docs/*
fi
if use examples; then
insinto /usr/share/doc/${PF}
doins -r demos
fi
}

@ -1,2 +1 @@
DIST pip-1.0.2.tar.gz 105820 SHA256 a6ed9b36aac2f121c01a2c9e0307a9e4d9438d100a407db701ac65479a3335d2 SHA512 dd50a3a235ae48d9ad9b9e6507ab6200e3af361d2afb9461ef6c854e492821d8be2a30acc7534954263f52c865c68dde3c0a1ce6465618b848a612e45cadf6e9 WHIRLPOOL 6793865cd99b3db19eaeb9e87805e3f17dcd6cd94b1d86c6b8691fe160c1f0a0dea1be6e20a7ddde72922599d6c89822ed098a7c64adb45a35c666e4905ffdb0
DIST pip-1.2.1.tar.gz 102413 SHA256 12a9302acfca62cdc7bc5d83386cac3e0581db61ac39acdb3a4e766a16b88eb1 SHA512 f24812adb1550beeee3e46ae27b5bd8fb7047b551ac248d4228324d2e5954faaa242e899af081d19e2702b4775a1f23f1097ea3dbfee6e0a61f6f65f3d1e7ca4 WHIRLPOOL e5471ca4940663b46bec0aa1a9bc0d8bfcb2b98a9c7497ddafde14a4162c33abd737ef1e34e43ab15273c6f18875af620c8fb41ed2bd9a7c623a2a9a77352051

@ -1,47 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pip/pip-1.0.2.ebuild,v 1.4 2012/02/24 15:15:50 phajdan.jr Exp $
EAPI="3"
PYTHON_DEPEND="*"
SUPPORT_PYTHON_ABIS="1"
inherit bash-completion-r1 distutils eutils
DESCRIPTION="Installs python packages -- replacement for easy_install"
HOMEPAGE="http://www.pip-installer.org/ http://pypi.python.org/pypi/pip/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
KEYWORDS="amd64 x86"
SLOT="0"
IUSE="zsh-completion"
RDEPEND="dev-python/setuptools"
DEPEND="${RDEPEND}"
# Tests require a couple libraries not yet in the tree, aren't bundled with
# the default tarball from pypi, and have a couple failures anyway
RESTRICT="test"
DOCS="AUTHORS.txt docs/configuration.txt docs/how-to-contribute.txt
docs/index.txt docs/news.txt docs/requirement-format.txt"
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.0.1-unversioned.patch
distutils_src_prepare
}
src_install() {
distutils_src_install
COMPLETION="${T}/completion.tmp"
"$(PYTHON -f)" pip/runner.py completion --bash > "${COMPLETION}" || die
newbashcomp "${COMPLETION}" ${PN}
if use zsh-completion ; then
"$(PYTHON -f)" pip/runner.py completion --zsh > "${COMPLETION}" || die
insinto /usr/share/zsh/site-functions
newins "${COMPLETION}" _pip || die
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/polygon/polygon-2.0.4.ebuild,v 1.5 2012/08/02 06:43:25 patrick Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/polygon/polygon-2.0.4.ebuild,v 1.7 2012/11/11 13:35:09 blueness Exp $
EAPI=3
PYTHON_DEPEND="2"
@ -15,7 +15,7 @@ SRC_URI="mirror://github/jraedler/Polygon2/Polygon-${PV}.zip"
LICENSE="LGPL-2"
SLOT="2"
KEYWORDS="amd64 x86"
KEYWORDS="amd64 ppc x86"
IUSE=""
RDEPEND=""

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/polygon/polygon-3.0.4.ebuild,v 1.4 2012/06/21 01:26:52 jdhore Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/polygon/polygon-3.0.4.ebuild,v 1.5 2012/11/11 13:08:01 blueness Exp $
EAPI=3
PYTHON_DEPEND="3"
@ -15,7 +15,7 @@ SRC_URI="mirror://github/jraedler/Polygon3/Polygon-${PV}a-src.zip"
LICENSE="LGPL-2"
SLOT="3"
KEYWORDS="amd64 x86"
KEYWORDS="amd64 ~ppc x86"
IUSE=""
RDEPEND=""

@ -1 +1,2 @@
DIST elfix-0.5.2.tar.gz 133386 SHA256 d03255e63f12f0431c7e3d63107b0dd78d949e321b82cccd1df6a582cf03ce05 SHA512 9136d063ab1f2e232f3f9ed4474a6d3fcfe62b02afa5bead73a016706de4653ca00711eb767cbfcb95543cbd905aaafc49fe709d23b12f98d0ac6300eea952f8 WHIRLPOOL 90b2035ba538987ee2e51a53fbb837d2deeba7baa88f2ef9af46db646523c4a0e1bc0a335a4af9465e5f0877806f2e23734496f940cc62bbf8677bd7eb46ff64
DIST elfix-0.6.0.tar.gz 134110 SHA256 7e7f8d1755d492d6000135e9cf137bb932bd591f0684b61c887c566c3c1988a3 SHA512 3e55f80762fe737aa56ea5800a7d72e46ec7a5618b1bb5d1c1334697ef1e700047063fd3cc7a41a08d23a12ddc9984259a011ffffa31587435b0136be7c1b421 WHIRLPOOL bff25c55526995c88d5d55da5228e8bd8e7ed14a83eb4dfaee3f2739cfd549cca8259581a4e8a2c515e3cf1ebba4c820852de6705dd2430d297665deb23a9a7b

@ -7,6 +7,7 @@
<name>Anthony G. Basile</name>
</maintainer>
<use>
<flag name='xtpax'>Enable XT_PAX and prefer it to PT_PAX.</flag>
<flag name='xtpax'>Enable XATTR_PAX_FLAGS support.</flag>
<flag name='ptpax'>Enable PT_PAX_FLAGS support.</flag>
</use>
</pkgmetadata>

@ -0,0 +1,35 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pypax/pypax-0.6.0.ebuild,v 1.1 2012/11/11 00:05:40 blueness Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="*-jython"
inherit distutils
DESCRIPTION="Python module for reading or writing PaX flags to an ELF."
HOMEPAGE="http://dev.gentoo.org/~blueness/elfix/"
SRC_URI="http://dev.gentoo.org/~blueness/elfix/elfix-${PV}.tar.gz"
S="${WORKDIR}/elfix-${PV}/scripts"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE="+ptpax xtpax"
DEPEND="
dev-libs/elfutils
xtpax? ( sys-apps/attr )"
RDEPEND=""
src_compile() {
unset PTPAX
unset XTPAX
use ptpax && export PTPAX="yes"
use xtpax && export XTPAX="yes"
distutils_src_compile
}

@ -4,3 +4,4 @@ DIST pytest-2.1.1.zip 288420 SHA256 80a3837db680adbafd23e0005d40d781153dd1e8ec62
DIST pytest-2.2.3.zip 307445 SHA256 a9f76ba1ea10ab4d40f4382df15ec2ce583052496547aa9e6bab059eafd9406e SHA512 a970ed7aafe73dd9c881e2ab8e7588e6fa75714ad45c7dd2e742d216d937f949592ca79946781c4b4e506a200e1e70723c8d0a54fe135f6c97b4b2c9f4e48128 WHIRLPOOL ce3eb27be16273795baa685690ce8621a3efe11ad655a4ab9cc74046b10a038ad072ef0039d1eae2f4233b831211ae26f2cd7b05aa5fcaec80541a90171f98d1
DIST pytest-2.2.4.zip 309641 SHA256 dc03898d46d00bb5e6756f6bc2ea3fc6c35935e774a0682988c4b4fcdd624f5e SHA512 8f37ff01fdd1a75142036710bc105392437123c012ff0a908cb7afd11ca8f06097867c15dce23a6582ce4eccc3529fa2df69ae227273d0786df35ba0466d0bbe WHIRLPOOL 49097e22e4188b557b3b8411fa85929b8e9190b32dbd99ccb09ad6c1477e2e1c720bad3bbc30f6e61337253d314c1d37d0e40e5a4c2496ee1fa5e417a8ff6072
DIST pytest-2.3.2.zip 515396 SHA256 ff1efd507224cdd768d3827272c87e0cf99571f242c8a5bb634b9d35469fd61d SHA512 b6fcfbf28f404a35f1a3e22b125510676b6a4de11f407329244d79b5e8a279be57b4707a0e34d1a10bf664d9cd117fc377cd29bcba6a4c38a4b3da955ef70a7e WHIRLPOOL 2eef8bb9181bff2650af3f346274d1ad3c9fe56e49138af8f76cc23c872c6f7eb714d0e5eaa2615d6c8b678ff4c3bcfb9dd9bbc1eb8c31c8125ab61beffa7479
DIST pytest-2.3.3.zip 521423 SHA256 e269661e308a34ddc2fd31ae7e9a9383772363813bac79f3da81acbc13a09677 SHA512 2a748d768c982d325625f9100e7f9b586172a0cf1e1256440ed41405e51b3e8a39fb4d0ce361bc403cff1d9b46f9c83a578e0ba914d21f7ed17a14b97022be0b WHIRLPOOL 50fb3523650c59d5e88ffb1f60a1d310f457d7c066a6bd28b3684f733bc893e7efcef6ec98808acaa0b3f81c927b23c1b09a756887f76538371f3ad3b271d1f0

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

@ -3,3 +3,4 @@ DIST python-distutils-extra-2.33.tar.gz 27053 SHA256 9ae0afefc19c7788a96869816ad
DIST python-distutils-extra-2.34.tar.gz 27228 SHA256 1ac74965d52753aa665c962ac590de7267f3c79530d4df30841672380bb8669f SHA512 42dbdefa66505f8108a62ea23db226bd5495c78501702e2de759740542bd840de56bdd82cf5e093449a2ac64bddd205d7974af9c758faa09afe567773483249d WHIRLPOOL 458ac8f1e070bebab8703434ed1d5f09c3c16297d45e29b4aa90a3aca9288653e21a39b0a8eaabe5d827b774bdee9a918afb765470a573c3836a9a9956a64a59
DIST python-distutils-extra-2.35.tar.gz 27462 SHA256 80712f6fb362f0f0cf68d31f877336bf9a12e7fd2e6f868ead8f2599ccbd65da SHA512 28eeb677358a5bf3ec1ed2fdacec0366313578ab3f6c3a76a2b2b1546d51845bdd08cb06c476548488830e34c809774c0cd592a64a6a7e8de907eaa475bcd1b3 WHIRLPOOL 253e1cf02af936ebddcae35aee8365fc54f589c07e2a91cd4708bd11fd5197f47fa5e0222a173d6aab7f7918c24f6ac436aeed43f161c596621628ff4ba1366b
DIST python-distutils-extra-2.36.tar.gz 27461 SHA256 94f882aeff4c3227490a012c46a5b445494ef496a539ccf554f8ad5ea92cfcb2 SHA512 c704debc4335bf43f422a58d4b832903eaeb2c8e9e7aa19fa234565e7e609b6554d01074088ff17e8387300dd4ad489ef4613b5e1d1ac9510ef56222d7eaf18e WHIRLPOOL 3cfb5fe4a1b00bf364ddf36c2a95fa35c18aea077760c210c0ab9d1270cb4f54e13ccd7c84005e274abf19ccadca8e7a3de17dfbd156d5035809b04aab5a9bb8
DIST python-distutils-extra-2.37.tar.gz 27518 SHA256 5c9539badfdc7e0ebb463ee66b9c09d48a08ca121c84ec7316b1fbb799a72878 SHA512 757ef3f3b3c5baa4598ac2e76fc7257fa1d3f3153b842a6a55707150414199b699f460f3b0797674d6ba23824032362a470f500d2b90d9c95a0aae1a71a2d472 WHIRLPOOL f3eb3c3a9462fdf920e52dcbabe21ae8de7e60ad6b0377c5415c34e8ce91c7e3c1cfb80d75776049de081f2fb9a5d88e30161affd2cffa9cf0ef8aaa0602e48e

@ -0,0 +1,49 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-distutils-extra/python-distutils-extra-2.37.ebuild,v 1.1 2012/11/11 11:07:34 radhermit Exp $
EAPI="4"
PYTHON_DEPEND="2:2.6"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.5 3.*"
inherit distutils
DESCRIPTION="You can integrate gettext support, themed icons and scrollkeeper based documentation in distutils."
HOMEPAGE="https://launchpad.net/python-distutils-extra"
SRC_URI="http://launchpad.net/python-distutils-extra/trunk/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND="dev-python/setuptools"
RDEPEND="${DEPEND}"
DOCS="doc/FAQ doc/README doc/setup.cfg.example doc/setup.py.example"
PYTHON_MODNAME="DistUtilsExtra"
src_prepare() {
distutils_src_prepare
# Disable broken tests.
sed \
-e "s/test_desktop/_&/" \
-e "s/test_po(/_&/" \
-e "s/test_policykit/_&/" \
-e "s/test_requires_provides/_&/" \
-i test/auto.py
}
src_test() {
# 5 tests fail with disabled byte-compilation.
python_enable_pyc
testing() {
PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test/auto.py
}
python_execute_function testing
python_disable_pyc
}

@ -1,3 +1,2 @@
DIST visual-5.4_release.tar.bz2 2695774 SHA256 7d32ddc4e6c0fce5be961b200c29cdf8d3f7459157b7bfd6a661cace93728c87 SHA512 2bf52fd3414c59c3909108f882236b9a5d1b62bb4e082f322e45226e1081c3bdfe64d1a89356a3ca767feb19026429f6868da7983a865bd8e6c325fa80739988 WHIRLPOOL 7d734ae4391349db730c3be424f5c48aa937b69045b6e40d9577eabd2f6393d08ce3c46d2ac9c31cd943d8f2ef08081ef74d8593a018b707888a9e7d1e221b40
DIST visual-5.72_release.tar.bz2 5757525 SHA256 5b0171f78f6959e946ae7bcd9d7bedab6aff9203e38a522d8ba7672c51d7985d SHA512 cc5356747728c3021e67cc84ae96a816c0fa470684bcc7790116174f00e92b6505a3863c8c96ee912ca05928c7ef2f2f7e5dff54f124a9d009aa339c1a4ae82f WHIRLPOOL eedc475442950480deb31325625c14dd4de031f2cdf0d9affeffda4b0500b2cc4b49c48cc76937de92d461ca6ca6d57c17f12642c7d87f4e066519449ddaf32a
DIST visual-5.74_release.tar.bz2 5736404 SHA256 1e480d3fd82e8172021ae0e22e8e2859f44bec9297e12ebf672270fd8e7d7099 SHA512 eff43bae66d4ca6a1b540e729b5f03e7310db8d4c49ba7a1ac271afa62688d9024f4f00b7678669433ca3f0f6e13e6c0c3de90a4a845ae5eeaa70b536a6e1193 WHIRLPOOL d0c35354e8fcaf591870dce867e60a9b54a9eb31acdd6eb05331566c031bf0a7da794e7f9dc8e013eff10583eadccefda08ef79443761129d9ca56f05626acd8

@ -1,75 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/visual-5.4.ebuild,v 1.9 2012/05/04 15:12:14 patrick Exp $
EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
PYTHON_EXPORT_PHASE_FUNCTIONS="1"
inherit flag-o-matic multilib python versionator
MY_P="${PN}-$(delete_version_separator 2)_release"
DESCRIPTION="Real-time 3D graphics library for Python"
HOMEPAGE="http://www.vpython.org/"
SRC_URI="http://www.vpython.org/contents/download/${MY_P}.tar.bz2"
IUSE="doc examples"
SLOT="0"
KEYWORDS="amd64 ppc x86"
LICENSE="visual"
RDEPEND="<dev-libs/boost-1.48[python]
dev-cpp/libglademm
>=dev-cpp/gtkglextmm-1.2
dev-python/numpy"
# dev-python/polygon
# >=dev-python/ttfquery-1.0.4
DEPEND="${RDEPEND}
virtual/pkgconfig"
S="${WORKDIR}/${MY_P}"
src_prepare() {
echo "#!/bin/bash" > py-compile
python_src_prepare
}
src_configure() {
BOOST_PKG="$(best_version ">=dev-libs/boost-1.41.0")"
BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
BOOST_INC="/usr/include/boost-${BOOST_VER}"
BOOST_LIB="/usr/$(get_libdir)/boost-${BOOST_VER}"
# We have to use a hack here because the build system doesn't provide a way to specify
# the include and lib directory for boost.
append-cxxflags -I${BOOST_INC}
append-ldflags -L${BOOST_LIB}
python_src_configure \
--with-html-dir=/usr/share/doc/${PF}/html \
--with-example-dir=/usr/share/doc/${PF}/examples \
$(use_enable doc docs) \
$(use_enable examples)
}
src_install() {
python_src_install
python_clean_installation_image
dodoc authors.txt HACKING.txt NEWS.txt || die "dodoc failed"
# Don't install useless vpython script.
rm -fr "${ED}usr/bin"
}
pkg_postinst() {
python_mod_optimize vis visual
}
pkg_postrm() {
python_mod_cleanup vis visual
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/visual-5.74.ebuild,v 1.3 2012/07/07 19:19:25 floppym Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/visual/visual-5.74.ebuild,v 1.5 2012/11/11 13:35:54 blueness Exp $
EAPI="4"
SUPPORT_PYTHON_ABIS="1"
@ -17,7 +17,7 @@ SRC_URI="http://www.vpython.org/contents/download/${MY_P}.tar.bz2"
LICENSE="visual"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64 ppc ~x86"
IUSE="doc examples"
RDEPEND=">=dev-cpp/gtkglextmm-1.2

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hiera/hiera-1.1.1.ebuild,v 1.1 2012/11/07 10:39:07 graaff Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hiera/hiera-1.1.1.ebuild,v 1.2 2012/11/11 14:30:16 idl0r Exp $
EAPI="4"
@ -19,7 +19,7 @@ HOMEPAGE="http://projects.puppetlabs.com/"
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
KEYWORDS="~amd64"
KEYWORDS="~amd64 ~x86"
ruby_add_bdepend "test? ( dev-ruby/mocha )"

@ -1 +1,2 @@
DIST multi_json-1.3.6.gem 15872 SHA256 d987e42b2d8117c46fd9dc3b1e29e681b94356b8c27d9b5ed26d45d1b6935f60 SHA512 8791386a38e51188736be4de0ace411c1f529ce6d5e01c31bc1e0448778cfeb68d3f9e0f9fd048687723984d5df7ef8b45e7b7c8c8e9ddc2a353fe44cd1f0521 WHIRLPOOL 61535a2b2edc61422e1c5fd239d9e66e3b2bd524acba5c5abd254a13a7235ca1d4f3c693a7266d30f30ab0f22f9627f0bc416c3873cb657802a09f28dba05a67
DIST multi_json-1.3.7.gem 15872 SHA256 94d4aac8090afb2fdc4c6519736b12f7b91ec1e0af2834b64bfd837b9117afbc SHA512 824ebe356469a1e93dc5ba98e321054d10a359a71c9aaa051f5ba168a0814ab4610f2252b969a0c984666665b5559d3b9e29bd006edaf59870d1a121725e43a3 WHIRLPOOL 09f4b8291e5731a350b182b19ad37c82ebc0fded3e236ce0af786b0b23b94621ef0aa2c9d5bb7454fa8814e4d709804f2f67b3d5318f112e56de5547dc17f6c4

@ -0,0 +1,51 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/multi_json/multi_json-1.3.7.ebuild,v 1.1 2012/11/11 11:50:46 graaff Exp $
EAPI=4
USE_RUBY="ruby18 ruby19 ree18 jruby"
RUBY_FAKEGEM_RECIPE_TEST="rspec"
RUBY_FAKEGEM_TASK_DOC="doc:rdoc"
RUBY_FAKEGEM_DOCDIR="rdoc"
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_GEMSPEC="multi_json.gemspec"
inherit ruby-fakegem
DESCRIPTION="A gem to provide swappable JSON backends"
HOMEPAGE="http://github.com/intridea/multi_json"
LICENSE="MIT"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
SLOT="0"
IUSE=""
ruby_add_rdepend "|| ( >=dev-ruby/json-1.4 >=dev-ruby/yajl-ruby-0.7 =dev-ruby/activesupport-3* )"
ruby_add_bdepend "doc? ( dev-ruby/rspec:2 )"
ruby_add_bdepend "test? ( dev-ruby/json )"
USE_RUBY="${USE_RUBY/jruby/}" ruby_add_bdepend "test? ( dev-ruby/yajl-ruby )"
all_ruby_prepare() {
sed -i -e '/[Bb]undler/d' Rakefile spec/helper.rb || die "Unable to remove bundler."
rm Gemfile || die "Unable to remove bundler Gemfile."
# Provide version otherwise provided by bundler.
sed -i -e "s/#{MultiJson::VERSION}/${PV}/" Rakefile || die
# Remove unimportant rspec options not supported by rspec 2.6.
rm .rspec || die
# Remove best default spec since we don't package oj yet.
sed -i -e '/defaults to the best available gem/,/^ end/ s:^:#:' spec/multi_json_spec.rb || die
}
each_ruby_test() {
CI=true each_fakegem_test
}

@ -1 +1,2 @@
DIST net-http-persistent-2.7.gem 25088 SHA256 408c329cdb26a28fe82ceacfb0ff3abd5339011a0c78fc116fbab63b2acf55a3 SHA512 f9efba08b2ecd2b5fe29cd3910ed769b5a431bf171d6d8a66f4557f22dda3ae20913dd11fd2dd4f6ecaa8ff4db8809cc020efd1db739a6d49128e2def8a397c9 WHIRLPOOL dd3e7cad351ac39d7a4b401ac40895db39f8d248693cba4be66a28beb99fb631ec458a816e6e2753e43f985223d06814f1e14ba2a464daf8caec51d1152c7d97
DIST net-http-persistent-2.8.gem 27648 SHA256 346d72d4ca89e169b6ba7cbc5c1e112464fdb420c2734e7c53ae338aa2d6a0f8 SHA512 0fb0bfdf94b1fcceaeba2e929ae098b0a73cdfe55a09af4b3305d62e36a1032f64b7425ab4bc5805d58e0f2a6d5ce97688539c4fee2a193e947e5cd21c475ba7 WHIRLPOOL 1a2301ae4d10b45fb40c9018f1e5554f2f8b6cd0956098d0b0c1db2629c760d6d892fa93bbdefbb97bbd98bf6e88283833147218b082dbc8a811935aac576ceb

@ -0,0 +1,25 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-http-persistent/net-http-persistent-2.8.ebuild,v 1.1 2012/11/11 12:01:12 graaff Exp $
EAPI=4
USE_RUBY="ruby18 ruby19 ree18"
RUBY_FAKEGEM_TASK_DOC="docs"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
inherit ruby-fakegem
DESCRIPTION="Manages persistent connections using Net::HTTP plus a speed fix for Ruby 1.8."
HOMEPAGE="https://github.com/drbrain/net-http-persistent"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
IUSE="doc test"
ruby_add_bdepend "doc? ( dev-ruby/hoe )
test? ( dev-ruby/hoe dev-ruby/minitest )"

@ -1,2 +1,3 @@
DIST sass-3.1.20.gem 231936 SHA256 0a2d454b648f56fd249fed1c39ce84bdb5b04dcfce5f9eba54a709f476b182ab SHA512 576db4e65b3bffdaccbcf252c229a7c11c95a1dcd262e9bdc09fa3d6bffcc40c7f070474dc44b4ee9572af4ef9dc712f3208eac5726791e92e09a26881b4331c WHIRLPOOL 88e404f1424d6d4dbdefa972735e6cddfd46021408e188b487e738970505b535fb2179cc05a28cac66497fd8d5dd7484a72cb1cf70bc99a6af99f5ffb62e26f0
DIST sass-3.1.21.gem 233472 SHA256 08502fc7889187909d66098629a89a9901d4dce13626339f4976c1e8d16b4a57 SHA512 fed0700147bd8adc90927a16ae2b5a3256392fa6d969c4281ea0189d728e2f0818f5b88b60aea5b59288730e3897bdf58a83ed72b48d4a538d14d16c85234062 WHIRLPOOL 57e59efa57af97c26a80cd83c4d0fe9eda8d30f664e73eab01400fa5c7171a16d0ed6400ebc8680dc78885e961b78a7252d4ea0dbe5d94209f6cca70a6896cb2
DIST sass-3.2.3.gem 251904 SHA256 a7c6f598f4afaaf166d7c2ecf59c9b8dc6c2efeed3612668ef63bea6cb2234e1 SHA512 307c0733ca9c61fe5cc164aa203244580af5bbaa9b048d95c83b6121ec92c79862530e24abb2c24c31e8e7f2a8b11648a680d634b8bf80ada1283c4e24be4590 WHIRLPOOL b0cb003f529105c038f153f1a3c14802e9697ad8061dafc06e770b81a6e76f7c0f7bf194730669b0ec16e30cd66ca06b168413d076d17f48e99d2a62e608d0df

@ -0,0 +1,47 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sass/sass-3.2.3.ebuild,v 1.2 2012/11/11 17:57:37 graaff Exp $
EAPI=2
USE_RUBY="ruby18 ruby19 ree18 jruby"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_EXTRAINSTALL="rails init.rb VERSION VERSION_NAME"
inherit ruby-fakegem
DESCRIPTION="An extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more."
HOMEPAGE="http://sass-lang.com/"
LICENSE="MIT"
KEYWORDS="~amd64 ~ppc ~ppc64"
SLOT="0"
IUSE=""
ruby_add_bdepend "doc? ( >=dev-ruby/yard-0.5.3 >=dev-ruby/maruku-0.5.9 )"
ruby_add_rdepend ">=dev-ruby/listen-0.4.2 !!<dev-ruby/haml-3.1"
# tests could use `less` if we had it
all_ruby_prepare() {
rm -rf vendor/listen
}
each_ruby_prepare() {
case ${RUBY} in
*jruby)
# Test fails on jruby for us, upstream can't
# reproduce. Avoiding it since it only affects debug
# information in the CSS file.
# https://github.com/nex3/sass/issues/563
sed -i -e '24s/filename_fn//' test/sass/plugin_test.rb || die
;;
*)
;;
esac
}

@ -1,2 +1,3 @@
DIST sprockets-2.0.4.tgz 135008 SHA256 735f88d4952f397188f8ae163acf36fca43c34777d52a4e33555ef358eda4bb0 SHA512 b8e04bb298860f2a88636ca380550349d9bd9fe8888561e2fc3a0a07e560195d4963a78f4be2d99f92fdf1af7e2cc55e1d9f8e7e38e08a09f8218b065b494c5a WHIRLPOOL 67c8178a515116d19f30bad9c9797f3da46afc0ad521c86cd1e3e93f36adc11602f751393785d30cb525a8ee020353bfea15421f3c15720a46164c50ad7be955
DIST sprockets-2.1.3.tgz 135907 SHA256 87528fbb3fdb9ce250cc9587d5d65f0c2d5e85023600a8cab1fa4992612c0c9e SHA512 57df6ab9dfe3a19bb2c834f7bcb598f63e24b57165733eee82c927f296b402ec252fc860b902ec63485ffb1b747702a57fb87a05d7e3d5710c7e67083f1b1c1e WHIRLPOOL eb8b64ff6793c8ae1f141b8f73aba6f559c8f3fc193ae813dbd12d99bf947e52b1bd8b46f32d9ba00a9e9279110f4a64bd203b6838203a49a56b649d32645d93
DIST sprockets-2.2.1.tgz 185187 SHA256 06e1fe4070b04af5d646f8c9ccfa719da7206c33b4b1eb542daa230be4b58275 SHA512 1986160d1cc4e6a691f1cdf360e388c4359323a63efdba72237127ef49a656d4ffbe2d687194dbca8e67958ffc309eed1fdef0ce3d67ef18d38c356d51e87128 WHIRLPOOL f66a8e0181b55eb7cfb6511f36e0cdc90f590536f4189d25cc7d23282266be25d19e255c7409b153582cee9499223b2e359be7443d97c4aba42691ba630a3ff1

@ -0,0 +1,57 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sprockets/sprockets-2.2.1.ebuild,v 1.1 2012/11/11 15:37:52 graaff Exp $
EAPI=4
USE_RUBY="ruby18 ruby19 ree18"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_GEMSPEC="sprockets.gemspec"
inherit ruby-fakegem versionator
DESCRIPTION="Ruby library for compiling and serving web assets."
HOMEPAGE="https://github.com/sstephenson/sprockets"
SRC_URI="https://github.com/sstephenson/sprockets/tarball/v${PV} -> ${P}.tgz"
RUBY_S="sstephenson-sprockets-*"
LICENSE="MIT"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
ruby_add_rdepend "
=dev-ruby/hike-1* >=dev-ruby/hike-1.2
=dev-ruby/multi_json-1*
=dev-ruby/rack-1*
=dev-ruby/tilt-1* >=dev-ruby/tilt-1.3.1"
ruby_add_bdepend "test? (
dev-ruby/json
dev-ruby/rack-test
=dev-ruby/coffee-script-2*
=dev-ruby/execjs-1*
)"
all_ruby_prepare() {
# Avoid tests for template types that we currently don't package:
# eco and ejs.
sed -i -e '/eco templates/,/end/ s:^:#:' \
-e '/ejs templates/,/end/ s:^:#:' test/test_environment.rb || die
# Avoid failing tests. These no longer fail in upstream HEAD and we
# did not run tests before at all so its not a regression.
#sed -i -e '/function() {}/ s:^:#:' test/test_environment.rb || die
rm test/test_asset.rb test/test_server.rb || die
# Ignore failing tests with sprockets 2.2.1. These pass with the
# latest versions but we need to put in this old version to support
# Rails 3.2.9.
sed -i -e '/depedencies are cached/,/end/ s:^:#:' test/test_caching.rb || die
sed -i -e '/remove old asset/,/^ end/ s:^:#:' test/test_manifest.rb || die
# Fix missing json include
sed -i -e '5irequire "json"' test/sprockets_test.rb || die
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/tkimg-1.4-r7.ebuild,v 1.1 2012/10/06 09:49:18 jlec Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/tkimg-1.4-r7.ebuild,v 1.2 2012/11/11 17:58:21 jlec Exp $
EAPI=4
@ -16,10 +16,10 @@ SRC_URI="
http://dev.gentoo.org/~jlec/distfiles/${P}-gentoo+bundled-tiff.patch.xz
mirror://sourceforge/${PN}/${PV}/${MYP}.tar.bz2"
IUSE="doc test"
SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test static-libs"
RDEPEND="
dev-lang/tk
@ -70,6 +70,10 @@ src_install() {
INSTALL_ROOT="${D}" \
install
if ! use static-libs; then
find "${ED}"/usr/$(get_libdir)/ -type f -name "*\.a" -delete || die
fi
# Make library links
for l in "${ED}"/usr/lib*/Img*/*tcl*.so; do
bl=$(basename $l)

@ -1,6 +1,3 @@
DIST catalyst-2.0.10.1.tar.bz2 909073 SHA256 3ed2217c579dcc01e13afc017dbfea869d2c99a0c169290e678fc113db6891ed SHA512 b21e576a41926b8f71a76410c2e3e593267994cb5bdb39639add001a610f6c481ac7506ec88caf6016f65ecc09c86bae9a78812b3dc2879e32046e118c0e5671 WHIRLPOOL 168d20e1ff19005b647230852d249552fd98d50e9ece0ca19b5e3b743a971255f9065f8832fb7e29ef8f561ca8f40fe1f9f8732f54c4d9d233cd2df8ab7c42ad
DIST catalyst-2.0.11.tar.bz2 909191 SHA256 6fed91ac834179f676905f6fa544fb642b18b95ec1c89420432ef05fb9fde7da SHA512 935d42f72bc5e181ef0eff4862e414a52914b7ac82d6e75c2d80c1a4d055b428da2c2d255c35cf851bcb729aca1a9c8ee0301923433d4c7fedb03bc1f06d5ca3 WHIRLPOOL e91a01b2d0f17e2d7c371d05362a658e7ddc7142982ae84efb71db9327e933227651d6efaeb8c86b0d5305e350632a2adac0ff81fed888588fe6078cb049ab7b
DIST catalyst-2.0.12.1.tar.bz2 908119 SHA256 91bc71a0140da9977fda4969a137a25ed04c3dd6fa2c038404806b7f562eda62 SHA512 1f448b4c849567d5097246f0c6e140e25781b0c3f093bec8c616cf83d2ad86af5dbebfaf4bafd1e240db41c3213e0f3ea9da77a22b1ee73480a0d1c39d6d0a8f WHIRLPOOL 9c2c3f491611c0cb99694aabb24af1f2b45576e6c5f056335fb5f028a93e9d91e1beba652bf7aaf3a93f54a1abb6bdb827624659845dfb01f8ea4bee6868e48e
DIST catalyst-2.0.12.tar.bz2 907241 SHA256 ef7cf9d8559f1cf94aabd67c5c3c1b99316e0534a4483a67a02b2db2cf6617a0 SHA512 77993afcaf2eec08e0c831c3d68e3578aab9a7f9805f00c67dd8f8db722e2eb59164373d42ebbf2396e02188d8508a327555a4b55490a150e706a8d3381f8177 WHIRLPOOL 4f713610b5929e5e724ca376f755b023fbb79260d1c7610962d875dc0ff7d1d72808849838bc06dfa38664ae5caa186ab2b8bb903389a238162d1acf190e0b4e
DIST catalyst-2.0.7.1.tar.bz2 901524 SHA256 77998b27cd8136c03380c1fdb271c69eae72891fe8177f0bf95b64c9f5fe82d6 SHA512 e3e9b16ee846553f9b31d8b7b417cf59962802128b91a5703c3f68e3cbea44a9f0c30bdce5328142236dc49498125014d6d75c020c0413466e9d8d7c92929636 WHIRLPOOL ec46052664edf65f3e9ae1653d09ecd4407ef0ebb53f27646b1a4ae0f22dc47321ad4e54eedc4abd33eb3c18ed1dd69c041fd4ad705165e0b2d95efed22c2db1
DIST catalyst-2.0.8.1.tar.bz2 891272 SHA256 b13dbe3c8b41eba38f9e9b920bb763b034af19f38711499a2e539ebfe4bf860c SHA512 969f2b41e417b45c5928281948c9fe7873eca33409320725ab7502c70efd79af6243b5d0eaee2023747c38ddb31455ae3a87ed237b850c41da38bbd7385b0105 WHIRLPOOL a8ac00a17530efbe79e16765309b8395a118a27b40cf7f0da53946fc3376b508ae4b0697f3845b970407c146e15ab67f287734e4d7bedf7227529c2292087a1e

@ -1,103 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/catalyst/catalyst-2.0.10.1.ebuild,v 1.1 2012/07/27 05:14:07 jmbsvicetto Exp $
# catalyst-9999 -> latest Git
# catalyst-2.9999 -> catalyst_2 branch from Git
# catalyst-VER -> normal catalyst release
EAPI=3
PYTHON_DEPEND="2"
if [[ ${PV} == 9999* || ${PV} == 2.9999* ]]; then
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/catalyst.git"
inherit git-2
SRC_URI=""
S="${WORKDIR}/${PN}"
KEYWORDS=""
else
SRC_URI="mirror://gentoo/${P}.tar.bz2
http://dev.gentoo.org/~jmbsvicetto/distfiles/${P}.tar.bz2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
fi
inherit eutils multilib python
DESCRIPTION="release metatool used for creating releases based on Gentoo Linux"
HOMEPAGE="http://www.gentoo.org/proj/en/releng/catalyst/"
LICENSE="GPL-2"
SLOT="0"
RESTRICT=""
IUSE="ccache kernel_linux"
DEPEND="app-text/asciidoc"
RDEPEND="app-crypt/shash
virtual/cdrtools
ccache? ( dev-util/ccache )
ia64? ( sys-fs/dosfstools )
kernel_linux? ( app-misc/zisofs-tools >=sys-fs/squashfs-tools-2.1 )"
pkg_setup() {
if use ccache ; then
einfo "Enabling ccache support for catalyst."
else
ewarn "By default, ccache support for catalyst is disabled."
ewarn "If this is not what you intended,"
ewarn "then you should add ccache to your USE."
fi
echo
einfo "The template spec files are now installed by default. You can find"
einfo "them under /usr/share/doc/${PF}/examples"
einfo "and they are considered to be the authorative source of information"
einfo "on catalyst."
echo
if [[ ${PV} == 9999* || ${PV} == 2.9999* ]]; then
ewarn "The ${EGIT_BRANCH:-master} branch (what you get with this ${PV} ebuild) contains"
ewarn "work-in-progress code. Be aware that it's likely that it will not"
ewarn "be in a working state at any given point. Please do not file bugs"
ewarn "until you have posted on the gentoo-catalyst mailing list and we"
ewarn "have asked you to do so."
fi
python_set_active_version 2
}
src_prepare() {
python_convert_shebangs 2 catalyst modules/catalyst_lock.py
epatch "${FILESDIR}"/2.0.8.1-arm-softfp.patch
}
src_install() {
insinto /usr/$(get_libdir)/${PN}
exeinto /usr/$(get_libdir)/${PN}
doexe catalyst || die "copying catalyst"
if [[ ${PV} == 9999* ]]; then
doins -r modules files || die "copying files"
else
doins -r arch modules livecd || die "copying files"
fi
for x in targets/*; do
exeinto /usr/$(get_libdir)/${PN}/$x
doexe $x/* || die "copying ${x}"
done
make_wrapper catalyst /usr/$(get_libdir)/${PN}/catalyst
insinto /etc/catalyst
doins files/catalyst.conf files/catalystrc || die "copying configuration"
insinto /usr/share/doc/${PF}/examples
doins examples/* || die
dodoc README ChangeLog AUTHORS
doman files/catalyst.1
# Here is where we actually enable ccache
use ccache && \
dosed 's:options="autoresume kern:options="autoresume ccache kern:' \
/etc/catalyst/catalyst.conf
dosed "s:/usr/lib/catalyst:/usr/$(get_libdir)/catalyst:" \
/etc/catalyst/catalyst.conf
}
pkg_postinst() {
einfo "You can find more information about catalyst by checking out the"
einfo "catalyst project page at:"
einfo "http://www.gentoo.org/proj/en/releng/catalyst/index.xml"
echo
}

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

Loading…
Cancel
Save