Sync with portage [Sat Apr 28 09:03:10 MSK 2012].

mhiretskiy
root 12 years ago
parent 7ffe93afe7
commit 6e4d0ec0cd

@ -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/eselect-boost/eselect-boost-0.4.ebuild,v 1.1 2012/04/02 00:51:03 floppym Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-boost/eselect-boost-0.4.ebuild,v 1.2 2012/04/28 03:24:32 aballier Exp $
inherit multilib
@ -10,7 +10,7 @@ SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
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 ~amd64-fbsd ~x86-fbsd"
IUSE=""
DEPEND=""

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/sudo-1.8.4_p4.ebuild,v 1.2 2012/04/23 23:30:13 vapier Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/sudo-1.8.4_p4.ebuild,v 1.3 2012/04/27 15:21:09 grobian Exp $
EAPI="4"
@ -23,7 +23,7 @@ SRC_URI="http://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
# 3-clause BSD license
LICENSE="as-is BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~sparc-solaris"
IUSE="ldap nls pam offensive selinux skey"
DEPEND="pam? ( virtual/pam )
@ -61,7 +61,7 @@ set_rootpath() {
einfo "Setting secure_path ..."
# first extract the default ROOTPATH from build env
ROOTPATH=$(unset ROOTPATH; . /etc/profile.env; echo "${ROOTPATH}")
ROOTPATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env; echo "${ROOTPATH}")
if [[ -z ${ROOTPATH} ]] ; then
ewarn " Failed to find ROOTPATH, please report this"
fi
@ -106,7 +106,7 @@ src_configure() {
econf \
--enable-zlib=system \
--with-secure-path="${ROOTPATH}" \
--with-editor=/usr/libexec/editor \
--with-editor="${EPREFIX}"/usr/libexec/editor \
--with-env-editor \
$(use_with offensive insults) \
$(use_with offensive all-insults) \
@ -118,9 +118,9 @@ src_configure() {
$(use_with selinux) \
--without-opie \
--without-linux-audit \
--with-timedir=/var/db/sudo \
--with-plugindir=/usr/$(get_libdir)/sudo \
--docdir=/usr/share/doc/${PF}
--with-timedir="${EPREFIX}"/var/db/sudo \
--with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo \
--docdir="${EPREFIX}"/usr/share/doc/${PF}
}
src_install() {
@ -164,6 +164,17 @@ pkg_postinst() {
ewarn
fi
fi
if use prefix ; then
ewarn
ewarn "To use sudo, you need to change file ownership and permissions"
ewarn "with root privileges, as follows:"
ewarn
ewarn " # chown root:root ${EPREFIX}/usr/bin/sudo"
ewarn " # chown root:root ${EPREFIX}/usr/lib/sudo/sudoers.so"
ewarn " # chown root:root ${EPREFIX}/etc/sudoers"
ewarn " # chmod 4111 ${EPREFIX}/usr/bin/sudo"
ewarn
fi
elog "To use the -A (askpass) option, you need to install a compatible"
elog "password program from the following list. Starred packages will"

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/webapp-config/webapp-config-1.50.16-r1.ebuild,v 1.16 2011/02/06 22:03:56 leio Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/webapp-config/webapp-config-1.50.16-r1.ebuild,v 1.17 2012/04/27 19:43:57 blueness Exp $
EAPI="3"
PYTHON_DEPEND="2"
@ -40,8 +40,6 @@ src_install() {
# be ok
distutils_src_install --install-scripts="/usr/sbin"
python_convert_shebangs 2 "${ED}usr/sbin/webapp-config"
insinto /etc/vhosts
doins config/webapp-config

@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/webapp-config/webapp-config-1.50.16-r4.ebuild,v 1.1 2010/12/19 18:31:55 rafaelmartins Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/webapp-config/webapp-config-1.50.16-r4.ebuild,v 1.2 2012/04/27 19:43:57 blueness Exp $
EAPI="3"
PYTHON_DEPEND="2"
@ -44,8 +44,6 @@ src_install() {
# be ok
distutils_src_install --install-scripts="/usr/sbin"
python_convert_shebangs 2 "${ED}usr/sbin/webapp-config"
insinto /etc/vhosts
doins config/webapp-config

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/webapp-config/webapp-config-1.50.18.ebuild,v 1.1 2011/02/04 18:45:13 robbat2 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/webapp-config/webapp-config-1.50.18.ebuild,v 1.2 2012/04/27 19:43:57 blueness Exp $
EAPI="3"
PYTHON_DEPEND="2"
@ -45,8 +45,6 @@ src_install() {
# be ok
distutils_src_install --install-scripts="/usr/sbin"
python_convert_shebangs 2 "${ED}usr/sbin/webapp-config"
insinto /etc/vhosts
doins config/webapp-config

@ -1,3 +1,3 @@
DIST emacs-24.0.93.tar.gz 51257120 RMD160 6a3b6ae0ecab96a53828856de6db0c016cc5d47f SHA1 0b98ecf3e9f44497bfaf4203c2afc81252c4bafe SHA256 4a100accb2f76231aed4dddb32d3725dec131280ad3bdf1b39b52ce337a210fe
DIST emacs-24.0.94.tar.gz 51251891 RMD160 3593d6a003b556f3755ba6ea3f8a92ba1b5ba2af SHA1 d70fe6da2d2b943423fcf16badb0294566710eaa SHA256 238dacb608e74fce088cde61b82907ba6ae5d975e88f38a0b199dbdbdb28feb5
DIST emacs-24.0.95.tar.gz 51371928 RMD160 14a0ca326c18dc549495e862d83eb9e1917d2ead SHA1 09c1eaed7400f8cc0e5dab9fb2337c3c4cee5449 SHA256 434b8e4a27d376257a6fe93b35936466985ac45c90310e6041e0a0577752df64
DIST emacs-24.0.96.tar.gz 51433984 RMD160 ae8f46637b5cdadf7c401f6fc7e0240937becdb4 SHA1 15f932ad8c6a77107bc19ab3e3a8c8af27259ec2 SHA256 18ed15ff63cfa1ae929ccdb3a39cdc589420bd17dacc5af144c5eb717200f21a

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.0.93.ebuild,v 1.4 2012/04/02 17:29:27 ulm Exp $
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.0.96.ebuild,v 1.1 2012/04/27 22:40:21 ulm Exp $
EAPI=4
@ -8,7 +8,7 @@ inherit autotools elisp-common eutils flag-o-matic multilib
if [[ ${PV##*.} = 9999 ]]; then
EBZR_PROJECT="emacs"
EBZR_BRANCH="trunk"
EBZR_BRANCH="emacs-24"
EBZR_REPO_URI="bzr://bzr.savannah.gnu.org/emacs/${EBZR_BRANCH}/"
# "Nosmart" is much faster for initial branching.
EBZR_INITIAL_URI="nosmart+${EBZR_REPO_URI}"

@ -0,0 +1,148 @@
From f895fe1ad3aca8fed492df12adcd8710bca8ca32 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu>
Date: Fri, 27 Apr 2012 17:01:33 -0700
Subject: [PATCH] Workaround requirement to use the realname of the block
device.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Instead of checking always the source path, check the source path if
mounting a directory, and the mount path if mounting a block device or
file.
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
---
src/lxc/conf.c | 34 +++++++++++++++++++---------------
src/lxc/conf.h | 1 +
2 files changed, 20 insertions(+), 15 deletions(-)
diff --git a/src/lxc/conf.c b/src/lxc/conf.c
index e8088bb..593871a 100644
--- a/src/lxc/conf.c
+++ b/src/lxc/conf.c
@@ -350,9 +350,9 @@ static int mount_unknow_fs(const char *rootfs, const char *target, int mntopt)
return -1;
}
-static int mount_rootfs_dir(const char *rootfs, const char *target)
+static int mount_rootfs_dir(struct lxc_rootfs *rootfs)
{
- return mount(rootfs, target, "none", MS_BIND | MS_REC, NULL);
+ return mount(rootfs->path, rootfs->mount, "none", MS_BIND | MS_REC, NULL);
}
static int setup_lodev(const char *rootfs, int fd, struct loop_info64 *loinfo)
@@ -387,7 +387,7 @@ out:
return ret;
}
-static int mount_rootfs_file(const char *rootfs, const char *target)
+static int mount_rootfs_file(struct lxc_rootfs *rootfs)
{
struct dirent dirent, *direntp;
struct loop_info64 loinfo;
@@ -433,9 +433,9 @@ static int mount_rootfs_file(const char *rootfs, const char *target)
DEBUG("found '%s' free lodev", path);
- ret = setup_lodev(rootfs, fd, &loinfo);
+ ret = setup_lodev(rootfs->path, fd, &loinfo);
if (!ret)
- ret = mount_unknow_fs(path, target, 0);
+ ret = mount_unknow_fs(path, rootfs->mount, 0);
close(fd);
break;
@@ -444,21 +444,23 @@ static int mount_rootfs_file(const char *rootfs, const char *target)
if (closedir(dir))
WARN("failed to close directory");
+ rootfs->isblock = 1;
return ret;
}
-static int mount_rootfs_block(const char *rootfs, const char *target)
+static int mount_rootfs_block(struct lxc_rootfs *rootfs)
{
- return mount_unknow_fs(rootfs, target, 0);
+ rootfs->isblock = 1;
+ return mount_unknow_fs(rootfs->path, rootfs->mount, 0);
}
-static int mount_rootfs(const char *rootfs, const char *target)
+static int mount_rootfs(struct lxc_rootfs *rootfs)
{
char absrootfs[MAXPATHLEN];
struct stat s;
int i;
- typedef int (*rootfs_cb)(const char *, const char *);
+ typedef int (*rootfs_cb)(struct lxc_rootfs *rootfs);
struct rootfs_type {
int type;
@@ -469,8 +471,8 @@ static int mount_rootfs(const char *rootfs, const char *target)
{ S_IFREG, mount_rootfs_file },
};
- if (!realpath(rootfs, absrootfs)) {
- SYSERROR("failed to get real path for '%s'", rootfs);
+ if (!realpath(rootfs->path, absrootfs)) {
+ SYSERROR("failed to get real path for '%s'", rootfs->path);
return -1;
}
@@ -489,7 +491,7 @@ static int mount_rootfs(const char *rootfs, const char *target)
if (!__S_ISTYPE(s.st_mode, rtfs_type[i].type))
continue;
- return rtfs_type[i].cb(absrootfs, target);
+ return rtfs_type[i].cb(rootfs);
}
ERROR("unsupported rootfs type for '%s'", absrootfs);
@@ -756,7 +758,7 @@ static int setup_rootfs_pivot_root(const char *rootfs, const char *pivotdir)
return 0;
}
-static int setup_rootfs(const struct lxc_rootfs *rootfs)
+static int setup_rootfs(struct lxc_rootfs *rootfs)
{
if (!rootfs->path)
return 0;
@@ -767,7 +769,7 @@ static int setup_rootfs(const struct lxc_rootfs *rootfs)
return -1;
}
- if (mount_rootfs(rootfs->path, rootfs->mount)) {
+ if (mount_rootfs(rootfs)) {
ERROR("failed to mount rootfs");
return -1;
}
@@ -1110,7 +1112,9 @@ static int mount_entry_on_absolute_rootfs(struct mntent *mntent,
return -1;
}
- aux = strstr(mntent->mnt_dir, rootfs->path);
+ aux = rootfs->isblock ? rootfs->mount : rootfs->path;
+
+ aux = strstr(mntent->mnt_dir, aux);
if (!aux) {
WARN("ignoring mount point '%s'", mntent->mnt_dir);
goto out;
diff --git a/src/lxc/conf.h b/src/lxc/conf.h
index 09f55cb..b70e637 100644
--- a/src/lxc/conf.h
+++ b/src/lxc/conf.h
@@ -181,6 +181,7 @@ struct lxc_rootfs {
char *path;
char *mount;
char *pivot;
+ int isblock;
};
/*
--
1.7.8.6

@ -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/lxc/lxc-0.8.0_rc1-r1.ebuild,v 1.2 2012/03/27 19:01:25 flameeyes Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/lxc-0.8.0_rc1-r2.ebuild,v 1.1 2012/04/28 00:17:01 flameeyes Exp $
EAPI="4"
@ -23,7 +23,8 @@ RDEPEND="sys-libs/libcap"
DEPEND="${RDEPEND}
app-text/docbook-sgml-utils
>=sys-kernel/linux-headers-2.6.29"
>=sys-kernel/linux-headers-2.6.29
virtual/linux-sources"
# For init script, so protect with vanilla, they are not strictly
# needed.
@ -48,7 +49,14 @@ CONFIG_CHECK="~CGROUPS
~VETH ~MACVLAN
~POSIX_MQUEUE
~!NETPRIO_CGROUP"
~!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"
@ -64,11 +72,18 @@ 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 ! use vanilla; then
epatch "${FILESDIR}/${P}-libtoolize.patch"
epatch "${FILESDIR}/${P}-blockmount.patch"
eautoreconf
fi
@ -124,4 +139,9 @@ pkg_postinst() {
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,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-misc/editor-wrapper/editor-wrapper-4.ebuild,v 1.8 2012/04/26 14:16:40 aballier Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/editor-wrapper/editor-wrapper-4.ebuild,v 1.9 2012/04/27 15:27:13 grobian Exp $
EAPI=4
@ -10,7 +10,7 @@ SRC_URI=""
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~sparc-solaris"
IUSE=""
S="${WORKDIR}"

@ -1,9 +1,15 @@
DIST amd64-debug-libreoffice-base-3.4.5.2-r1.tbz2 401594386 RMD160 41ebf335e3a1adeaacb498465e6039322d064366 SHA1 adfee701a5ec2fcf0ac9469af851cc6cd5eb425f SHA256 d7594e78b2804d258714e8329aea4e5b5ced1fe71c2c997503b81458530965b5
DIST amd64-debug-libreoffice-base-3.5.2.2.tar.xz 711622308 RMD160 c91c0165a4a3cf16e09edd42bf8c1e328d451b2b SHA1 984298aa4e5be760ffabc9b2987bd2597df72540 SHA256 11a7fface5ff2f53a308120b71a4a6af5b0f4b519a4e7dd2f6de2ec79211f5dc
DIST amd64-debug-libreoffice-base-java-3.4.5.2-r1.tbz2 405367077 RMD160 b56794a57a908b9ba94158bf52d317bff1e5101d SHA1 4d4820ed99c693c89a939b2499d93a8575dd7efb SHA256 3f622d5d617eb560cfd59c40b34f86e3b8955c754ecb528a23e510b12c676bec
DIST amd64-debug-libreoffice-base-java-3.5.2.2.tar.xz 715355792 RMD160 48d46b2c88122f1f914e4d760549707e3c5fbbd6 SHA1 70a15af20997c9fb8e8747784fc7be314c380e7a SHA256 6e898340439a70f1ca89f630424452570144b92210fc753df3db9fb8bc16c674
DIST amd64-debug-libreoffice-gnome-3.4.5.2-r1.tbz2 402719568 RMD160 fa63f7c3c5e9c56e4ba430a1858528e8549e38fe SHA1 7239d1078b6c8bfe054293376caf70fc32997e4e SHA256 f91a3334890c6599bf588dd70fe03fbb283a1510274f6cb93eeef0e037c7d662
DIST amd64-debug-libreoffice-gnome-3.5.2.2.tar.xz 712735124 RMD160 dc9bbd2a2279e7b31953ffdda33201dda663a026 SHA1 37dd6180ea535a919f6ca635e02359031447f2cb SHA256 eed03df2eb693f2f9dc9f4a25795997b656fef9e2bea53165c7fa974bdc5b7a4
DIST amd64-debug-libreoffice-gnome-java-3.4.5.2-r1.tbz2 406558896 RMD160 27dd7739472d77ae7428d4374870816f789fd0d3 SHA1 5766f55498a2473fa08d90de4c9e742376421263 SHA256 2ed4f75e3ad9d20956372afb4c14abdeb256627d1a41c7a4d3c9ef7524e8c684
DIST amd64-debug-libreoffice-gnome-java-3.5.2.2.tar.xz 716465520 RMD160 a665f8d6c58f9360d7468ad51fab920a00e43f4b SHA1 0cafe2b275dabbbb6bbe5b23719c304e6c34c2ad SHA256 a318ed97f1c15ec505f45275b84f65d811abedc34e047a37f9348cf6a20e90df
DIST amd64-debug-libreoffice-kde-3.4.5.2-r1.tbz2 402546607 RMD160 10620d928bceb17caa154179e3c9e09adebb5e36 SHA1 b9053f1d2058e655edb3ba9e5bb187fbe9b7bd7e SHA256 004aa7c94e6682d874e188248cd2f0bd54c2b23402727f9f132ce54cc3b6bb06
DIST amd64-debug-libreoffice-kde-3.5.2.2.tar.xz 712648220 RMD160 d3ef9161714e9e108db3693d3ee3873bf5143f05 SHA1 e5f431dbd05230af8a16fd3a4c37409f66ff872b SHA256 0256fbe01b00b8cd572c8ec8861bcaf2fa1a4157bd04320772989cf64236e312
DIST amd64-debug-libreoffice-kde-java-3.4.5.2-r1.tbz2 406397036 RMD160 ca80b721b095d8ee632dff825917607f3f8314c8 SHA1 5ee6cd5c3000f80094f737bda106d85c897e97de SHA256 c32a6ac7a26e0035e2cbd9bf269e7156be69438aa14debf43036ef068b649f6d
DIST amd64-debug-libreoffice-kde-java-3.5.2.2.tar.xz 716391968 RMD160 e4b5fb933791768c5803bd1693a15202b5754060 SHA1 810e7677a905b77ca84cb3f5bbb38837ece4c82c SHA256 3819a55fbed789318cc58bae994b8886146f9ee5dbfab351c6f599422ae558e0
DIST x86-debug-libreoffice-base-3.4.5.2-r1.tbz2 391547962 RMD160 ac3c24f085e249e3020e19a1e6869412fde012fa SHA1 e2ef7134622b477a5581d0cb7d689fe1097cd8ca SHA256 0ab5c9ad4fec2df170b559e3f9e87e7ae59efa07b2f8e23d9bfe043b12831b3d
DIST x86-debug-libreoffice-base-3.5.2.2.tar.xz 691734456 RMD160 9360174edebbeb9fdf1b4da261f58a59b68c1e22 SHA1 4f37b797129cdcd93a5265c6eeb1b78fc6db9722 SHA256 e5ecc934932bfea17889948e12933867f5715c87a20efc827859b5710dfad314
DIST x86-debug-libreoffice-base-java-3.4.5.2-r1.tbz2 395197861 RMD160 9da09d922570f469f82f98de99f2e14b2308a765 SHA1 e5337ac03532becc589e3a14feec022f62ad0f0e SHA256 ebb7a62e87162f1a216bd6c32fabf4e78deecea7c0ff9965f2d8137047b7fa80

@ -1,28 +1,28 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin-debug/libreoffice-bin-debug-3.5.2.2.ebuild,v 1.1 2012/04/26 06:58:48 dilfridge Exp $
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin-debug/libreoffice-bin-debug-3.5.2.2.ebuild,v 1.2 2012/04/28 00:58:51 dilfridge Exp $
EAPI=4
#BASE_AMD64_URI="mirror://gentoo/amd64-debug-"
BASE_AMD64_URI="mirror://gentoo/amd64-debug-"
BASE_X86_URI="mirror://gentoo/x86-debug-"
DESCRIPTION="LibreOffice, a full office productivity suite. Binary package, debug info."
HOMEPAGE="http://www.libreoffice.org"
#SRC_URI_AMD64="
# kde? (
# !java? ( ${BASE_AMD64_URI}${PN/-bin-debug}-kde-${PVR}.tar.xz )
# java? ( ${BASE_AMD64_URI}${PN/-bin-debug}-kde-java-${PVR}.tar.xz )
# )
# gnome? (
# !java? ( ${BASE_AMD64_URI}${PN/-bin-debug}-gnome-${PVR}.tar.xz )
# java? ( ${BASE_AMD64_URI}${PN/-bin-debug}-gnome-java-${PVR}.tar.xz )
# )
# !kde? ( !gnome? (
# !java? ( ${BASE_AMD64_URI}${PN/-bin-debug}-base-${PVR}.tar.xz )
# java? ( ${BASE_AMD64_URI}${PN/-bin-debug}-base-java-${PVR}.tar.xz )
# ) )
#"
SRC_URI_AMD64="
kde? (
!java? ( ${BASE_AMD64_URI}${PN/-bin-debug}-kde-${PVR}.tar.xz )
java? ( ${BASE_AMD64_URI}${PN/-bin-debug}-kde-java-${PVR}.tar.xz )
)
gnome? (
!java? ( ${BASE_AMD64_URI}${PN/-bin-debug}-gnome-${PVR}.tar.xz )
java? ( ${BASE_AMD64_URI}${PN/-bin-debug}-gnome-java-${PVR}.tar.xz )
)
!kde? ( !gnome? (
!java? ( ${BASE_AMD64_URI}${PN/-bin-debug}-base-${PVR}.tar.xz )
java? ( ${BASE_AMD64_URI}${PN/-bin-debug}-base-java-${PVR}.tar.xz )
) )
"
SRC_URI_X86="
kde? (
!java? ( ${BASE_X86_URI}${PN/-bin-debug}-kde-${PVR}.tar.xz )
@ -39,13 +39,14 @@ SRC_URI_X86="
"
SRC_URI="
amd64? ( ${SRC_URI_AMD64} )
x86? ( ${SRC_URI_X86} )
"
IUSE="gnome java kde"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="-* ~x86"
KEYWORDS="-* ~amd64 ~x86"
RDEPEND="=app-office/${PN/-debug}-${PVR}[gnome=,java=,kde=]"

@ -415,11 +415,17 @@ DIST LibO_3.3.4_Linux_x86_langpack-rpm_zh-CN.tar.gz 1980478 RMD160 ad53613193a2f
DIST LibO_3.3.4_Linux_x86_langpack-rpm_zh-TW.tar.gz 1969168 RMD160 056f5f75703dfedd386ba4d5cb718557b6cb5fc9 SHA1 3cca9faf7fac2fb4ed42ae26945723448c680420 SHA256 2f008d1fd1aaf25074836ab22df97af4e4e962f05ad7c3749040baefd9c03db8
DIST LibO_3.3.4_Linux_x86_langpack-rpm_zu.tar.gz 1915795 RMD160 8cca07c2b4fd0c7a3d961573e814a4cf3454ae80 SHA1 cf5a527107146db679a355c5e572fdfb755e6e80 SHA256 f8a07db55ec78fb605823680cde2cc2dead4243fca8581dbb94541cb324419fb
DIST amd64-bin-libreoffice-base-3.4.5.2-r1.tbz2 102456784 RMD160 01884c87c01696efdbb8d325bd0945b3c592030e SHA1 9813ec75f1fc1c891c33c860cbe69191e179b496 SHA256 917ef76018c1da257963a5eaf6e3616885551f497c995d8bfb7213a0eeb6498e
DIST amd64-bin-libreoffice-base-3.5.2.2.tar.xz 76765788 RMD160 0f5f8dbff4eeb5e33cd83b93f7b4c2de9a149806 SHA1 3b60cf73b7e801798b68275ef9a23aafe875b04d SHA256 1ca580568cee46a1402e4af587e5031deca2ebc48274e2fe9b3743296b33e459
DIST amd64-bin-libreoffice-base-java-3.4.5.2-r1.tbz2 106370003 RMD160 74a10408f77736a880ed796d4ca57e0166f20e90 SHA1 50ea9a599ed9fbc31b2f9650d73dca2a2323241c SHA256 58bce9c40926386449084e73c3b4cd598bf4fc5015906b200e8d196dda90ed91
DIST amd64-bin-libreoffice-base-java-3.5.2.2.tar.xz 81475080 RMD160 78d313c4309b88bdf46e963de6cbb855bf3ba6d7 SHA1 00cd1d2a99dd6d371ec920a665f1fb46c9cc9797 SHA256 b6bd7c15f1836d6fd432e12009223f6f9c3c2ed00d4f727dfe413584cbc12313
DIST amd64-bin-libreoffice-gnome-3.4.5.2-r1.tbz2 102603395 RMD160 e5a11ffbaa373039e5895086cdbbaaf64d25fccf SHA1 23533db8705ada814f02007533a0ce15f57763bb SHA256 5461681fb66925e14be303b80c10cf8f0b5f944807af6407ff857e3cc634f28b
DIST amd64-bin-libreoffice-gnome-3.5.2.2.tar.xz 76874040 RMD160 4c186500fd38ea1ab68c3c3df58f4de24cb0d398 SHA1 b845fa80eaa4c764154c5b50743291e4dd8c8e17 SHA256 824014b4dc876147ed995694858a1cd56510b725489d573ef517955a7f115f0b
DIST amd64-bin-libreoffice-gnome-java-3.4.5.2-r1.tbz2 106295303 RMD160 d5f5cd2d8093ba68ae0f9fd72c60ef51eb69d990 SHA1 82b243b67a8856fe3450d30cf471a48f9e23f1e1 SHA256 4ceaeca7b6be516f85cf00835fc5412c1eda080e63b9d9c50b054e3ad0ab231b
DIST amd64-bin-libreoffice-gnome-java-3.5.2.2.tar.xz 81569680 RMD160 df44918b8b37ede864b07a32d00f7487966210d2 SHA1 d10d37a2dbdce0e1d7089735fe09615de57de8b2 SHA256 b2f71da13f5c0739cc033b926d4f65850f46471dd606a0db8edb5a9e54803b5f
DIST amd64-bin-libreoffice-kde-3.4.5.2-r1.tbz2 102494764 RMD160 ec10478a64f9a865190da2239f1f07c1a55d5d18 SHA1 d5bc68bc52880dc8baca1cd4e57b55f166a4f0fd SHA256 6d273dbb937272e8f72fb0079d53abc587a905ac2e132ec35072b9a4f93e2049
DIST amd64-bin-libreoffice-kde-3.5.2.2.tar.xz 76831244 RMD160 0230ffc3e7c29e5d93562061ceaf6fb59a916dbb SHA1 c5074f39c78b62c6b78042aa40f39d5de248b174 SHA256 1034a8392f4dd0dd5ac307fdc001ef08a96ade9604b704eb572ff12095798338
DIST amd64-bin-libreoffice-kde-java-3.4.5.2-r1.tbz2 106330946 RMD160 76e5a8e83eb48e0b993a4480e3c7ade268fefd19 SHA1 64cdea01d776775f80f6636860a4ef5f075277f9 SHA256 7951e2179159fbc923fe0f0e95b9e4d114090804354f452a2a40f535d1586275
DIST amd64-bin-libreoffice-kde-java-3.5.2.2.tar.xz 81512684 RMD160 78333a355d5390c60ca34b45ad826c9eefda1e03 SHA1 59cf7b4b3e7c34d11a7495bbae43bf36c09af3e1 SHA256 ddf24652551eeff2c5fbb7ce25b7ae700f777d7f7d4d23d96292a3e08deba7cc
DIST x86-bin-libreoffice-base-3.4.5.2-r1.tbz2 97362324 RMD160 91a5a13f4de38206eb94c8a877892203d5239289 SHA1 dc05aff135fb48311a90f4d28c8c8eed439dcc11 SHA256 957f63359711675fb1f91a74817a461f670d7fe62ab31d8226e87ae2e015250a
DIST x86-bin-libreoffice-base-3.5.2.2.tar.xz 75007428 RMD160 38bdf29fba5cbbd92c6e5e5c7af050347558c7ff SHA1 3dff5c483f112d134eddf353e55f916ae3c01e4e SHA256 67cac912e14df4027caf3bc6c08469b2fa5c387f4e8d8403170c567657b07fbb
DIST x86-bin-libreoffice-base-java-3.4.5.2-r1.tbz2 101280472 RMD160 2bd99bc7d2bad27451dd06186dc33fdb8ea9360b SHA1 c737c25d8288010a7269c45ebe0564fa3c39c1a0 SHA256 00198e69042485a82e8eb924e7ce00b0c5fb10f9ef47146efcc5fd21696fe4b1

@ -1,33 +1,33 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-3.5.2.2.ebuild,v 1.1 2012/04/26 06:59:58 dilfridge Exp $
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-3.5.2.2.ebuild,v 1.2 2012/04/27 20:25:10 dilfridge Exp $
EAPI=4
KDE_REQUIRED="optional"
CMAKE_REQUIRED="never"
#BASE_AMD64_URI="mirror://gentoo/amd64-bin-"
BASE_AMD64_URI="mirror://gentoo/amd64-bin-"
BASE_X86_URI="mirror://gentoo/x86-bin-"
inherit kde4-base java-pkg-opt-2 pax-utils prefix
DESCRIPTION="LibreOffice, a full office productivity suite. Binary package."
HOMEPAGE="http://www.libreoffice.org"
#SRC_URI_AMD64="
# kde? (
# !java? ( ${BASE_AMD64_URI}${PN/-bin}-kde-${PVR}.tar.xz )
# java? ( ${BASE_AMD64_URI}${PN/-bin}-kde-java-${PVR}.tar.xz )
# )
# gnome? (
# !java? ( ${BASE_AMD64_URI}${PN/-bin}-gnome-${PVR}.tar.xz )
# java? ( ${BASE_AMD64_URI}${PN/-bin}-gnome-java-${PVR}.tar.xz )
# )
# !kde? ( !gnome? (
# !java? ( ${BASE_AMD64_URI}${PN/-bin}-base-${PVR}.tar.xz )
# java? ( ${BASE_AMD64_URI}${PN/-bin}-base-java-${PVR}.tar.xz )
# ) )
#"
SRC_URI_AMD64="
kde? (
!java? ( ${BASE_AMD64_URI}${PN/-bin}-kde-${PVR}.tar.xz )
java? ( ${BASE_AMD64_URI}${PN/-bin}-kde-java-${PVR}.tar.xz )
)
gnome? (
!java? ( ${BASE_AMD64_URI}${PN/-bin}-gnome-${PVR}.tar.xz )
java? ( ${BASE_AMD64_URI}${PN/-bin}-gnome-java-${PVR}.tar.xz )
)
!kde? ( !gnome? (
!java? ( ${BASE_AMD64_URI}${PN/-bin}-base-${PVR}.tar.xz )
java? ( ${BASE_AMD64_URI}${PN/-bin}-base-java-${PVR}.tar.xz )
) )
"
SRC_URI_X86="
kde? (
!java? ( ${BASE_X86_URI}${PN/-bin}-kde-${PVR}.tar.xz )
@ -44,13 +44,14 @@ SRC_URI_X86="
"
SRC_URI="
amd64? ( ${SRC_URI_AMD64} )
x86? ( ${SRC_URI_X86} )
"
IUSE="+cups debug gnome java kde"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="-* ~x86"
KEYWORDS="-* ~amd64 ~x86"
BIN_COMMON_DEPEND="
>=sys-libs/glibc-2.14.1-r3

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.79.ebuild,v 1.22 2011/02/06 05:48:58 leio Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.79.ebuild,v 1.23 2012/04/28 01:15:07 aballier Exp $
EAPI="3"
@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/docbook/${MY_P}.tar.bz2"
LICENSE="as-is"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris"
IUSE=""
RDEPEND="app-text/sgml-common"

@ -1 +1,2 @@
DIST getxbook-0.8.tar.bz2 12333 RMD160 50eb30a55676c88e26df6f885c40ab984e707a30 SHA1 d08d082cd6481302c102fcd7c373258737b2bd3d SHA256 eae5ca315cfbc5657d27454278b7e57d7a8ba2a88ef330bdbdf4ab0ba736e2c6
DIST getxbook-0.9.tar.bz2 20613 RMD160 5efbf539efcd6fb0a0c8df6723fe9b37a08c6404 SHA1 833b37fd121b24090ce59424886571be4bedf6c2 SHA256 58ac1debd81a76d5736ff3138a7fb9e94b7cc49ea4563183b24cd549d1ee20f1

@ -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-text/getxbook/getxbook-0.8.ebuild,v 1.1 2012/02/15 08:45:36 grozin Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/getxbook/getxbook-0.8.ebuild,v 1.2 2012/04/27 20:59:12 grozin Exp $
EAPI=4
inherit eutils toolchain-funcs
@ -35,7 +35,7 @@ src_install() {
exeinto /usr/bin
use pdf && doexe extras/mkpdf.sh
use djvu && doexe extras/mkdjvu.sh
if use tesseract; then
if use ocr; then
doexe extras/mkocrtxt.sh
use pdf && doexe extras/mkocrpdf.sh
use djvu && doexe extras/mkocrdjvu.sh

@ -0,0 +1,44 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/getxbook/getxbook-0.9.ebuild,v 1.1 2012/04/27 20:59:12 grozin Exp $
EAPI=4
inherit eutils toolchain-funcs
DESCRIPTION="Download books from google, amazon, barnes and noble."
HOMEPAGE="http://njw.me.uk/software/getxbook/"
SRC_URI="http://njw.me.uk/software/getxbook/${P}.tar.bz2"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~x86"
IUSE="pdf djvu ocr tk"
DEPEND=""
RDEPEND="djvu? ( app-text/djvu )
pdf? ( media-gfx/imagemagick )
ocr? ( app-text/tesseract
pdf? ( media-gfx/exact-image app-text/pdftk ) )
tk? ( dev-lang/tk )"
src_prepare() {
epatch "${FILESDIR}"/${PN}-makefile.patch
}
src_compile() {
tc-export CXX
emake
}
src_install() {
emake DESTDIR="${D}" install
dodoc README LEGAL
exeinto /usr/bin
use pdf && doexe extras/mkpdf.sh
use djvu && doexe extras/mkdjvu.sh
if use ocr; then
doexe extras/mkocrtxt.sh
use pdf && doexe extras/mkocrpdf.sh
use djvu && doexe extras/mkocrdjvu.sh
fi
use tk && doexe getxbookgui.tcl
}

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/rarian/rarian-0.8.1-r1.ebuild,v 1.11 2011/10/23 19:07:15 tetromino Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/rarian/rarian-0.8.1-r1.ebuild,v 1.12 2012/04/28 01:16:14 aballier Exp $
EAPI=4
@ -12,7 +12,7 @@ SRC_URI="http://${PN}.freedesktop.org/Releases/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
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 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
IUSE="static-libs"
RDEPEND="dev-libs/libxslt"

@ -1,13 +1,13 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper/scrollkeeper-9999-r1.ebuild,v 1.8 2011/05/06 13:18:54 pacho Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/scrollkeeper/scrollkeeper-9999-r1.ebuild,v 1.9 2012/04/28 01:16:57 aballier Exp $
DESCRIPTION="Dummy scrollkeeper for testing rarian"
HOMEPAGE="http://gnome.gentoo.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE=""
DEPEND="=app-text/scrollkeeper-dtd-1.0"

@ -1,13 +1,13 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-vim/dhcpd-syntax/dhcpd-syntax-20030825.ebuild,v 1.15 2011/10/11 16:28:07 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/app-vim/dhcpd-syntax/dhcpd-syntax-20030825.ebuild,v 1.16 2012/04/28 01:13:24 aballier Exp $
inherit vim-plugin eutils
DESCRIPTION="vim plugin: syntax highlighting for dhcpd.conf"
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=744"
LICENSE="as-is"
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 ~amd64-fbsd ~x86-fbsd"
IUSE=""
VIM_PLUGIN_HELPTEXT=\

@ -4,3 +4,4 @@ DIST asis-gcc-4.1.2.tar.bz2 2617806 RMD160 851e91181d396c60899858d922edea2ed6f17
DIST asis-gcc-4.2.2.tar.bz2 2474467 RMD160 c5b5d26c83a41b71b1b44bd55100b23e77629c70 SHA1 38b6881c02ff53b63d508fefaa2700d1cc39823e SHA256 5da24ed1cb73845facf062d0c277bbb978fcddf3e5ac2706859205cb8ac875bb
DIST asis-gcc-4.3.0_pre132166.tar.bz2 2552217 RMD160 d8ec051778d58e3c9e00dc433309843555691ce7 SHA1 8a3690dff45eaf9e9e6813e93ef07da6fab819b8 SHA256 663144c94a3c30ec8d9af16f1b6cb40f271e858d43bdd44a9c170257a5d21263
DIST asis-gpl-2009-src.tgz 2445137 RMD160 b485c5cdeeeb258e5b505f3fb70c6805542a887a SHA1 b69d9b13ccfe16a22d77de3a37f1e6f426405418 SHA256 2bc72317de6d5f5274d04ac4366ec0a700268ae84afe8e3311bc9257a0755700
DIST asis-gpl-2010-src.tgz 2784774 RMD160 5dc8048d4df5c77628daf800cc74047785dc8dbf SHA1 e06470169754c51069a7c05b79ea2dddb1f94e74 SHA256 2e8a94827255fa532c07e54b067655fabebcc0adaaca8a243c3068f6ffa69958

@ -0,0 +1,134 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ada/asis-gcc/asis-gcc-4.3.1-r1.ebuild,v 1.1 2012/04/27 13:53:11 george Exp $
inherit eutils flag-o-matic gnatbuild
ACT_Ver=2009
Gnat_Name="gnat-gcc"
DESCRIPTION="The Ada Semantic Interface Specification (semantic analysis and tools tied to compiler)"
SRC_URI="http://dev.gentoo.org/~george/src/asis-gpl-${ACT_Ver}-src.tgz"
HOMEPAGE="https://libre.adacore.com/"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND="=dev-lang/gnat-gcc-${SLOT}*"
DEPEND="${RDEPEND}
doc? ( virtual/latex-base
app-text/texi2html )"
S="${WORKDIR}/asis-${ACT_Ver}-src"
# it may be even better to force plain -O2 -pipe -ftracer here
replace-flags -O3 -O2
# we need to adjust some vars defined in gnatbuild.eclass so that they use
# gnat-gcc instead of asis
LIBPATH=${LIBPATH/${PN}/${Gnat_Name}}
BINPATH=${BINPATH/${PN}/${Gnat_Name}}
DATAPATH=${DATAPATH/${PN}/${Gnat_Name}}
#QA_EXECSTACK="${BINPATH:1}/*
# ${LIBPATH:1}/adalib/libasis-${ACT_Ver}.so"
pkg_setup() {
currGnat=$(eselect --no-color gnat show | grep "gnat-" | awk '{ print $1 }')
if [[ "${currGnat}" != "${CTARGET}-${Gnat_Name}-${SLOT}" ]]; then
echo
eerror "The active gnat profile does not correspond to the selected"
eerror "version of asis! Please install the appropriate gnat (if you"
eerror "did not so yet) and run:"
eerror "eselect gnat set ${CTARGET}-${Gnat_Name}-${SLOT}"
eerror "env-update && source /etc/profile"
eerror "and then emerge asis-gcc:${SLOT} again.."
echo
die
fi
}
# we need to override the eclass defined src_unpack
# and change gcc to gnatgcc where appropriate
src_unpack() {
unpack ${A}
cd "${S}"/gnat/
# newer versions autogen snames.ad?
# Looks logical to keep it here, as this is a part of source prep
gnatmake xsnamest.adb
./xsnamest
mv snames.ns snames.ads
mv snames.nb snames.adb
# need to change gcc -> gnatgcc
cd "${S}"
for fn in asis/a4g-gnat_int.adb \
asis/a4g-contt.adb \
gnat/snames.adb \
tools/tool_utils/asis_ul-common.adb \
tools/gnatmetric/metrics-compute.adb; do
sed -i -e "s:\"gcc:\"gnatgcc:" ${fn}
done
}
src_compile() {
# Build the shared library first, we need -fPIC here
gnatmake -Pasis_bld -XBLD=prod -XOPSYS=default_Unix -cargs ${CFLAGS} -fPIC \
|| die "building libasis.a failed"
gnatgcc -shared -Wl,-soname,libasis-${ACT_Ver}.so \
-o obj/libasis-${ACT_Ver}.so obj/*.o -lc \
|| die "building libasis.so failed"
# build tools
for fn in tools/*; do
pushd ${fn}
gnatmake -P${fn:6}.gpr || die "building ${fn:6} failed"
popd
done
# common stuff is just docs in this case
if use doc; then
emake -C documentation all || die "Failed while compiling documentation"
fi
}
src_install () {
# README asks to run make install, claiming that some sources are built at
# that point
make all install prefix="${D}"
# now manually move all the stuff to proper places
mkdir -p "${D}${LIBPATH}"
mv "${D}"lib/asis/ "${D}${LIBPATH}"/adalib
# install the shared lib
chmod 0755 obj/libasis-${ACT_Ver}.so
cp obj/libasis-${ACT_Ver}.so "${D}${LIBPATH}"/adalib
# make appropriate symlinks
pushd "${D}${LIBPATH}"/adalib
ln -s libasis-${ACT_Ver}.so libasis.so
popd
# sources
mv "${D}"include/asis/ "${D}${LIBPATH}"/adainclude
# tools
mkdir -p "${D}${BINPATH}"
find "${S}"/tools/ -type f -executable -exec cp {} "${D}${BINPATH}" \;
rm -f "${D}${BINPATH}"/Makefile*
# docs and examples
cd "${S}"/documentation/
dodoc *.txt
dohtml *.html
cd "${S}"
insinto /usr/share/doc/${PF}
doins -r documentation/*.pdf documentation/*.info tutorial/ templates/
# cleanup empty dirs
rm -rf "${D}"/{bin,include,lib,share}
}
pkg_postinst() {
echo
elog "The ASIS is installed for the active gnat compiler at gnat's location."
elog "No further configuration is necessary. Enjoy."
echo
}

@ -0,0 +1,136 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ada/asis-gcc/asis-gcc-4.4.ebuild,v 1.1 2012/04/27 14:33:30 george Exp $
inherit eutils flag-o-matic gnatbuild
ACT_Ver="2010"
Gnat_Name="gnat-gcc"
DESCRIPTION="The Ada Semantic Interface Specification (semantic analysis and tools tied to compiler)"
SRC_URI="http://dev.gentoo.org/~george/src/asis-gpl-${ACT_Ver}-src.tgz"
HOMEPAGE="https://libre.adacore.com/"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND="=dev-lang/gnat-gcc-${SLOT}*"
DEPEND="${RDEPEND}
doc? ( virtual/latex-base
app-text/texi2html )"
S="${WORKDIR}/asis-gpl-${ACT_Ver}-src"
# it may be even better to force plain -O2 -pipe -ftracer here
replace-flags -O3 -O2
# we need to adjust some vars defined in gnatbuild.eclass so that they use
# gnat-gcc instead of asis
LIBPATH=${LIBPATH/${PN}/${Gnat_Name}}
BINPATH=${BINPATH/${PN}/${Gnat_Name}}
DATAPATH=${DATAPATH/${PN}/${Gnat_Name}}
#QA_EXECSTACK="${BINPATH:1}/*
# ${LIBPATH:1}/adalib/libasis-${ACT_Ver}.so"
pkg_setup() {
currGnat=$(eselect --no-color gnat show | grep "gnat-" | awk '{ print $1 }')
if [[ "${currGnat}" != "${CTARGET}-${Gnat_Name}-${SLOT}" ]]; then
echo
eerror "The active gnat profile does not correspond to the selected"
eerror "version of asis! Please install the appropriate gnat (if you"
eerror "did not so yet) and run:"
eerror "eselect gnat set ${CTARGET}-${Gnat_Name}-${SLOT}"
eerror "env-update && source /etc/profile"
eerror "and then emerge asis-gcc:${SLOT} again.."
echo
die
fi
}
# we need to override the eclass defined src_unpack
# and change gcc to gnatgcc where appropriate
src_unpack() {
unpack ${A}
cd "${S}"/gnat/
# newer versions autogen snames.ad?
# Looks logical to keep it here, as this is a part of source prep
gnatmake xsnamest.adb
./xsnamest
mv snames.ns snames.ads
mv snames.nb snames.adb
# need to change gcc -> gnatgcc
cd "${S}"
for fn in asis/a4g-gnat_int.adb \
asis/a4g-contt.adb \
gnat/snames.adb \
tools/tool_utils/asis_ul-common.adb \
tools/gnatmetric/metrics-compute.adb; do
sed -i -e "s:\"gcc:\"gnatgcc:" ${fn}
done
}
src_compile() {
# Build the shared library first, we need -fPIC here
gnatmake -Pasis_bld -XBLD=prod -XOPSYS=default_Unix -cargs ${CFLAGS} -fPIC \
|| die "building libasis.a failed"
gnatgcc -shared -Wl,-soname,libasis-${ACT_Ver}.so \
-o obj/libasis-${ACT_Ver}.so obj/*.o -lc \
|| die "building libasis.so failed"
# build tools
for fn in tools/*; do
pushd ${fn}
gnatmake -P${fn:6}.gpr || die "building ${fn:6} failed"
popd
done
# no point in rebuilding pregenerated docs
#if use doc; then
# emake -C documentation all || die "Failed while compiling documentation"
#fi
}
src_install () {
# README asks to run make install, claiming that some sources are built at
# that point
make all install prefix="${D}"
# now manually move all the stuff to proper places
mkdir -p "${D}${LIBPATH}"
mv "${D}"lib/asis/ "${D}${LIBPATH}"/adalib
# install the shared lib
chmod 0755 obj/libasis-${ACT_Ver}.so
cp obj/libasis-${ACT_Ver}.so "${D}${LIBPATH}"/adalib
# make appropriate symlinks
pushd "${D}${LIBPATH}"/adalib
ln -s libasis-${ACT_Ver}.so libasis.so
popd
# sources
mv "${D}"include/asis/ "${D}${LIBPATH}"/adainclude
# tools
mkdir -p "${D}${BINPATH}"
find "${S}"/tools/ -type f -executable -exec cp {} "${D}${BINPATH}" \;
rm -f "${D}${BINPATH}"/Makefile*
# docs and examples
cd "${S}"/documentation/
if use doc; then
dodoc *.txt
dohtml *.html
cd "${S}"
insinto /usr/share/doc/${PF}
doins -r documentation/*.pdf documentation/*.info tutorial/ templates/
fi
# cleanup empty dirs
rm -rf "${D}"/{bin,include,lib,share}
}
pkg_postinst() {
echo
elog "The ASIS is installed for the active gnat compiler at gnat's location."
elog "No further configuration is necessary. Enjoy."
echo
}

@ -0,0 +1 @@
DIST SchemaSync-0.9.2.tar.gz 12828 RMD160 574dd4deef169306ae8ff99af69cba46fda10215 SHA1 2fc51a9107c30fc30cc93e20bc6bd4328eeb1c86 SHA256 3ee4e87e932c41e9fcbc534d662d6dc7be6ac29c2cd5ef3e6fd620fad6c2f3f5

@ -0,0 +1,42 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/SchemaSync/SchemaSync-0.9.2.ebuild,v 1.1 2012/04/28 00:22:41 blueness Exp $
EAPI="4"
PYTHON_DEPEND="2:2.5:2.6"
inherit distutils
DESCRIPTION="MySQL Schema Versioning and Migration Utility"
HOMEPAGE="http://schemasync.org/"
SRC_URI="http://www.schemasync.org/downloads/${P}.tar.gz"
pn="${PN,,}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
dev-python/mysql-python
dev-python/SchemaObject"
DEPEND="${RDEPEND}"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
python_convert_shebangs -r 2 .
}
pkg_postinst() {
python_mod_optimize "${pn}"
}
pkg_postrm() {
python_mod_cleanup "${pn}"
}

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>blueness@gentoo.org</email>
<name>Anthony G. Basile</name>
</maintainer>
</pkgmetadata>

@ -1,11 +1,7 @@
DIST postgresql-8.2.22.tar.bz2 12777172 RMD160 27e31b4a423984080a87cb6dc86ca8773362a131 SHA1 7b5f56b5d3a1e2e9cee6e7a4f0f04866af45cc7d SHA256 88203528326c152ca556bcff986d824737ea1048ba2c6245e24a1b1efd6aeaf7
DIST postgresql-8.2.23.tar.bz2 12976249 RMD160 5a1d45cae1e7a9d9caa8e902608404b281bac7ff SHA1 f51ac2051c4b1c95f5f58bf75bbafc50d2bc359b SHA256 56c2ac7394e8ace9ef98a464d08530b91529fd56978f24b55139d20e3039f2d1
DIST postgresql-8.3.18.tar.bz2 14563583 RMD160 d276a468f59b4def821b686b5504a549bd0491c3 SHA1 0d832fc9c7dba5de1716921274ce0ca276418070 SHA256 5db4904a8959f09274e1e0ee7f21c354128d5dbb4e946b78391f6bc4723c3746
DIST postgresql-8.4.11.tar.bz2 14502434 RMD160 85b4be0884ca11855eb0dbc1541403e7baf7c0aa SHA1 ce9581b9f03bd884417b988ec317ce2ed06bb15f SHA256 5bbc9ff1d16282b592600d7c6b9cb1a93049d4aa9a961e3c2c8d5fb13b189c8f
DIST postgresql-9.0.7.tar.bz2 14977437 RMD160 80a8c91233462515914aeb5c15cf63b7195da3ef SHA1 c0cf6de3cfa131b36107b3748ae44786ad638e12 SHA256 dabe26d71d8b595f9514da1363dc20c3f4b90b6908026dd06984cac448a6d833
DIST postgresql-9.1.3.tar.bz2 15582454 RMD160 84eb235c090083b78e6a2facf3d7bc534395db8b SHA1 1cf3044415df807c08bb8ad8e40e24e8d375cf34 SHA256 7a79800a624031c1d9bc9cdce73cb40050100ac50a82050cbf7bbbd16ac4d5d5
DIST postgresql-patches-8.2-r1.tbz2 4859 RMD160 864f166e01219b1f8f9ca2732a1d6b9c6de0cf7f SHA1 27977244ef48cb1a232542657d76267faa7e9d3d SHA256 7b9f46ca16d7adf29cfd2a3f57f2b54bbf349b4dbbe679f4e31302376bda51cf
DIST postgresql-patches-8.2-r2.tbz2 4850 RMD160 766861791d68b8307e2686b93dd5b09fb775fdb8 SHA1 41c8b8a36d7dd7aa556ca6e2d5a4bb579226e8f7 SHA256 014f68519d25de055dce373924caf681d517ab66c022c01adb9816545e4bab14
DIST postgresql-patches-8.3-r2.tbz2 5501 RMD160 ffd2661f5a4832917d4c28b5a231b6467c04146f SHA1 7514b558a7c6f34d7491bd500fd8c74510d9f0d0 SHA256 adae4c048745de04fd44f0408e8ab85aa5cae283cb3ddc2962e0379905cca73f
DIST postgresql-patches-8.4-r2.tbz2 4822 RMD160 cf1ef4d046653c571e9059c6b27dcd5d1b504b26 SHA1 0fb36f6c8d9bb54b1528acd1821f76619f297403 SHA256 9920097ff5243df28788a6f3bdf6cdad38e6c42885f38da84b0f2c8c242954d7
DIST postgresql-patches-9.0-r3.tbz2 4503 RMD160 05d4167c3a48a432ab79cb57fee5e4661d229cc6 SHA1 04d4a820415304ddb27078a75669289647192048 SHA256 2d454575423f0e56f23d540fbc865309d0bee3f80e5e05a7e1d793a7e70763cf

@ -1,140 +0,0 @@
# Copyright 1999-2011 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.2.22.ebuild,v 1.6 2011/10/01 20:15:34 hwoarang Exp $
EAPI="4"
WANT_AUTOMAKE="none"
inherit autotools eutils multilib prefix versionator
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="alpha amd64 arm hppa ia64 ppc s390 sh sparc x86"
DESCRIPTION="PostgreSQL libraries and clients"
HOMEPAGE="http://www.postgresql.org/"
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}-r1.tbz2"
LICENSE="POSTGRESQL"
S="${WORKDIR}/postgresql-${PV}"
# No tests to be done for clients and libraries
RESTRICT="test"
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
IUSE="doc kerberos ldap nls pam pg-intdatetime readline ssl threads zlib"
for lingua in ${LINGUAS} ; do
IUSE+=" linguas_${lingua}"
done
wanted_languages() {
local enable_langs
for lingua in ${LINGUAS} ; do
use linguas_${lingua} && enable_langs+="${lingua} "
done
echo -n ${enable_langs}
}
RDEPEND=">=app-admin/eselect-postgresql-1.0.10
virtual/libintl
!!dev-db/libpq
!!dev-db/postgresql
!!dev-db/postgresql-client
!!dev-db/postgresql-libs
kerberos? ( virtual/krb5 )
ldap? ( net-nds/openldap )
pam? ( virtual/pam )
readline? ( >=sys-libs/readline-4.1 )
ssl? ( >=dev-libs/openssl-0.9.6-r1 )
zlib? ( >=sys-libs/zlib-1.1.3 )"
DEPEND="${RDEPEND}
>=sys-apps/sandbox-2.0
>=sys-devel/bison-1.875
sys-devel/flex
nls? ( sys-devel/gettext )"
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
src_prepare() {
epatch "${WORKDIR}/autoconf.patch" "${WORKDIR}/base.patch" \
"${WORKDIR}/bool.patch" "${WORKDIR}/darwin.patch" \
"${WORKDIR}/relax_ssl_perms.patch" "${WORKDIR}/SuperH.patch"
eprefixify src/include/pg_config_manual.h
# to avoid collision - it only should be installed by server
rm "${S}/src/backend/nls.mk"
# because psql/help.c includes the file
ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" || die
eautoconf
}
src_configure() {
export LDFLAGS_SL="${LDFLAGS}"
local PO="${EPREFIX%/}"
econf --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
--without-docdir \
--without-perl \
--without-python \
--without-tcl \
$(use_with kerberos krb5) \
$(use_with ldap) \
"$(use_enable nls nls "$(wanted_languages)")" \
$(use_with pam) \
$(use_enable pg-intdatetime integer-datetimes ) \
$(use_with readline) \
$(use_with ssl openssl) \
$(use_enable threads thread-safety) \
$(use_with zlib)
}
src_compile() {
emake
cd "${S}/contrib"
emake
}
src_install() {
emake DESTDIR="${D}" install
insinto /usr/include/postgresql-${SLOT}/postmaster
doins "${S}"/src/include/postmaster/*.h
rm "${ED}"/usr/share/postgresql-${SLOT}/man/man1/{initdb,ipcclean,pg_{controldata,ctl,resetxlog},post{gres,master}}.1
docompress /usr/share/postgresql-${SLOT}/man/man{1,7}
dodoc README HISTORY doc/{README.*,TODO,bug.template}
cd "${S}/contrib"
emake DESTDIR="${D}" install
cd "${S}"
dodir /etc/eselect/postgresql/slots/${SLOT}
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \
> "${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
keepdir /etc/postgresql-${SLOT}
}
pkg_postinst() {
postgresql-config update
elog "If you need a global psqlrc-file, you can place it in:"
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
}
pkg_postrm() {
postgresql-config update
}

@ -1,150 +0,0 @@
# 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.2.23.ebuild,v 1.8 2012/02/19 11:02:33 klausman Exp $
EAPI="4"
WANT_AUTOMAKE="none"
inherit autotools eutils multilib prefix versionator
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ~s390 ~sh ~sparc x86"
DESCRIPTION="PostgreSQL libraries and clients"
HOMEPAGE="http://www.postgresql.org/"
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
http://dev.gentoo.org/~titanofold/postgresql-patches-8.2-r2.tbz2"
LICENSE="POSTGRESQL"
S="${WORKDIR}/postgresql-${PV}"
# No tests to be done for clients and libraries
RESTRICT="test"
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
IUSE="doc kerberos ldap nls pam pg-intdatetime readline ssl threads zlib"
for lingua in ${LINGUAS} ; do
IUSE+=" linguas_${lingua}"
done
wanted_languages() {
local enable_langs
for lingua in ${LINGUAS} ; do
use linguas_${lingua} && enable_langs+="${lingua} "
done
echo -n ${enable_langs}
}
RDEPEND=">=app-admin/eselect-postgresql-1.0.10
virtual/libintl
!!dev-db/libpq
!!dev-db/postgresql
!!dev-db/postgresql-client
!!dev-db/postgresql-libs
kerberos? ( virtual/krb5 )
ldap? ( net-nds/openldap )
pam? ( virtual/pam )
readline? ( >=sys-libs/readline-4.1 )
ssl? ( >=dev-libs/openssl-0.9.6-r1 )
zlib? ( >=sys-libs/zlib-1.1.3 )"
DEPEND="${RDEPEND}
!!<sys-apps/sandbox-2.0
>=sys-devel/bison-1.875
sys-devel/flex
nls? ( sys-devel/gettext )"
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
# Support /var/run or /run for the socket directory
[[ ! -d /run ]] && RUNDIR=/var
src_prepare() {
epatch "${WORKDIR}/autoconf.patch" \
"${WORKDIR}/base.patch" \
"${WORKDIR}/bool.patch" \
"${WORKDIR}/darwin.patch" \
"${WORKDIR}/relax_ssl_perms.patch" \
"${WORKDIR}/SuperH.patch"
eprefixify src/include/pg_config_manual.h
# to avoid collision - it only should be installed by server
rm "${S}/src/backend/nls.mk"
# because psql/help.c includes the file
ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" || die
sed -e "s|@RUNDIR@|${RUNDIR}|g" \
-i src/include/pg_config_manual.h || \
die "RUNDIR sed failed"
eautoconf
}
src_configure() {
export LDFLAGS_SL="${LDFLAGS}"
local PO="${EPREFIX%/}"
econf --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
--without-docdir \
--without-perl \
--without-python \
--without-tcl \
$(use_with kerberos krb5) \
$(use_with ldap) \
"$(use_enable nls nls "$(wanted_languages)")" \
$(use_with pam) \
$(use_enable pg-intdatetime integer-datetimes ) \
$(use_with readline) \
$(use_with ssl openssl) \
$(use_enable threads thread-safety) \
$(use_with zlib)
}
src_compile() {
emake
cd "${S}/contrib"
emake
}
src_install() {
emake DESTDIR="${D}" install
insinto /usr/include/postgresql-${SLOT}/postmaster
doins "${S}"/src/include/postmaster/*.h
rm "${ED}"/usr/share/postgresql-${SLOT}/man/man1/{initdb,ipcclean,pg_{controldata,ctl,resetxlog},post{gres,master}}.1
docompress /usr/share/postgresql-${SLOT}/man/man{1,7}
dodoc README HISTORY doc/{README.*,TODO,bug.template}
cd "${S}/contrib"
emake DESTDIR="${D}" install
cd "${S}"
dodir /etc/eselect/postgresql/slots/${SLOT}
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \
> "${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
keepdir /etc/postgresql-${SLOT}
}
pkg_postinst() {
postgresql-config update
elog "If you need a global psqlrc-file, you can place it in:"
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
}
pkg_postrm() {
postgresql-config update
}

@ -1,5 +1,3 @@
DIST postgresql-8.2.22.tar.bz2 12777172 RMD160 27e31b4a423984080a87cb6dc86ca8773362a131 SHA1 7b5f56b5d3a1e2e9cee6e7a4f0f04866af45cc7d SHA256 88203528326c152ca556bcff986d824737ea1048ba2c6245e24a1b1efd6aeaf7
DIST postgresql-8.2.23.tar.bz2 12976249 RMD160 5a1d45cae1e7a9d9caa8e902608404b281bac7ff SHA1 f51ac2051c4b1c95f5f58bf75bbafc50d2bc359b SHA256 56c2ac7394e8ace9ef98a464d08530b91529fd56978f24b55139d20e3039f2d1
DIST postgresql-8.3.18.tar.bz2 14563583 RMD160 d276a468f59b4def821b686b5504a549bd0491c3 SHA1 0d832fc9c7dba5de1716921274ce0ca276418070 SHA256 5db4904a8959f09274e1e0ee7f21c354128d5dbb4e946b78391f6bc4723c3746
DIST postgresql-8.4.11.tar.bz2 14502434 RMD160 85b4be0884ca11855eb0dbc1541403e7baf7c0aa SHA1 ce9581b9f03bd884417b988ec317ce2ed06bb15f SHA256 5bbc9ff1d16282b592600d7c6b9cb1a93049d4aa9a961e3c2c8d5fb13b189c8f
DIST postgresql-9.0.7.tar.bz2 14977437 RMD160 80a8c91233462515914aeb5c15cf63b7195da3ef SHA1 c0cf6de3cfa131b36107b3748ae44786ad638e12 SHA256 dabe26d71d8b595f9514da1363dc20c3f4b90b6908026dd06984cac448a6d833

@ -1,51 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-8.2.22.ebuild,v 1.6 2011/10/01 20:12:07 hwoarang Exp $
EAPI="4"
inherit versionator
KEYWORDS="alpha amd64 arm hppa ia64 ppc s390 sh sparc x86"
RESTRICT="test"
DESCRIPTION="PostgreSQL documentation"
HOMEPAGE="http://www.postgresql.org/"
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
LICENSE="POSTGRESQL"
S=${WORKDIR}/postgresql-${PV}
SLOT="$(get_version_component_range 1-2)"
IUSE=""
DEPEND=""
RDEPEND=""
src_unpack() {
tar xjf "${DISTDIR}/${A}" -C "${WORKDIR}" "${A%.tar.bz2}/doc"
}
src_install() {
cd "${S}/doc"
dodir /usr/share/doc/${PF}/html
tar -zxf "postgres.tar.gz" -C "${ED}/usr/share/doc/${PF}/html"
fowners root:0 -R /usr/share/doc/${PF}/html
docinto FAQ_html
dodoc src/FAQ/*
docinto sgml
dodoc src/sgml/*.{sgml,dsl}
docinto sgml/ref
dodoc src/sgml/ref/*.sgml
docinto TODO.detail
dodoc TODO.detail/*
dodir /etc/eselect/postgresql/slots/${SLOT}
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
"${ED}/etc/eselect/postgresql/slots/${SLOT}/docs"
}

@ -1,51 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-8.2.23.ebuild,v 1.7 2012/02/19 11:02:49 klausman Exp $
EAPI="4"
inherit versionator
KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ~s390 ~sh ~sparc x86"
RESTRICT="test"
DESCRIPTION="PostgreSQL documentation"
HOMEPAGE="http://www.postgresql.org/"
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
LICENSE="POSTGRESQL"
S=${WORKDIR}/postgresql-${PV}
SLOT="$(get_version_component_range 1-2)"
IUSE=""
DEPEND=""
RDEPEND=""
src_unpack() {
tar xjf "${DISTDIR}/${A}" -C "${WORKDIR}" "${A%.tar.bz2}/doc"
}
src_install() {
cd "${S}/doc"
dodir /usr/share/doc/${PF}/html
tar -zxf "postgres.tar.gz" -C "${ED}/usr/share/doc/${PF}/html"
fowners root:0 -R /usr/share/doc/${PF}/html
docinto FAQ_html
dodoc src/FAQ/*
docinto sgml
dodoc src/sgml/*.{sgml,dsl}
docinto sgml/ref
dodoc src/sgml/ref/*.sgml
docinto TODO.detail
dodoc TODO.detail/*
dodir /etc/eselect/postgresql/slots/${SLOT}
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
"${ED}/etc/eselect/postgresql/slots/${SLOT}/docs"
}

@ -1,14 +1,8 @@
DIST postgresql-8.2.22.tar.bz2 12777172 RMD160 27e31b4a423984080a87cb6dc86ca8773362a131 SHA1 7b5f56b5d3a1e2e9cee6e7a4f0f04866af45cc7d SHA256 88203528326c152ca556bcff986d824737ea1048ba2c6245e24a1b1efd6aeaf7
DIST postgresql-8.2.23.tar.bz2 12976249 RMD160 5a1d45cae1e7a9d9caa8e902608404b281bac7ff SHA1 f51ac2051c4b1c95f5f58bf75bbafc50d2bc359b SHA256 56c2ac7394e8ace9ef98a464d08530b91529fd56978f24b55139d20e3039f2d1
DIST postgresql-8.3.18.tar.bz2 14563583 RMD160 d276a468f59b4def821b686b5504a549bd0491c3 SHA1 0d832fc9c7dba5de1716921274ce0ca276418070 SHA256 5db4904a8959f09274e1e0ee7f21c354128d5dbb4e946b78391f6bc4723c3746
DIST postgresql-8.4.11.tar.bz2 14502434 RMD160 85b4be0884ca11855eb0dbc1541403e7baf7c0aa SHA1 ce9581b9f03bd884417b988ec317ce2ed06bb15f SHA256 5bbc9ff1d16282b592600d7c6b9cb1a93049d4aa9a961e3c2c8d5fb13b189c8f
DIST postgresql-9.0.7.tar.bz2 14977437 RMD160 80a8c91233462515914aeb5c15cf63b7195da3ef SHA1 c0cf6de3cfa131b36107b3748ae44786ad638e12 SHA256 dabe26d71d8b595f9514da1363dc20c3f4b90b6908026dd06984cac448a6d833
DIST postgresql-9.1.3.tar.bz2 15582454 RMD160 84eb235c090083b78e6a2facf3d7bc534395db8b SHA1 1cf3044415df807c08bb8ad8e40e24e8d375cf34 SHA256 7a79800a624031c1d9bc9cdce73cb40050100ac50a82050cbf7bbbd16ac4d5d5
DIST postgresql-initscript-1.0.1.tbz2 2635 RMD160 989b89364ff367569c5129dec70c369496a69af1 SHA1 24cfbab756bf2c08e783ecae31c26ca45984de87 SHA256 a85276c431047e0123c988b296869cfa8afbbb6a4721d74fff4b419f608f0293
DIST postgresql-initscript-2.0.tbz2 2584 RMD160 437c331ba5d4b9ce85725d9d180aa4edd9f47bf1 SHA1 9a99f91c2955bb3cd4414d9165868307d0450364 SHA256 67e75f134b8c55843e3b3a26c69460eca3f180052a6f4f13603c64fcb40b4fd5
DIST postgresql-initscript-2.1.tbz2 2603 RMD160 033f7189df6132b8bcca378e000bd2b705463b72 SHA1 4125c76d102ea78cb5cebd4a13021930f131ae02 SHA256 42ee83d0bfd1e1733bbc191b065bc70b2b5966f743f692e5133f6c676c8b1c24
DIST postgresql-patches-8.2-r1.tbz2 4859 RMD160 864f166e01219b1f8f9ca2732a1d6b9c6de0cf7f SHA1 27977244ef48cb1a232542657d76267faa7e9d3d SHA256 7b9f46ca16d7adf29cfd2a3f57f2b54bbf349b4dbbe679f4e31302376bda51cf
DIST postgresql-patches-8.2-r2.tbz2 4850 RMD160 766861791d68b8307e2686b93dd5b09fb775fdb8 SHA1 41c8b8a36d7dd7aa556ca6e2d5a4bb579226e8f7 SHA256 014f68519d25de055dce373924caf681d517ab66c022c01adb9816545e4bab14
DIST postgresql-patches-8.3-r2.tbz2 5501 RMD160 ffd2661f5a4832917d4c28b5a231b6467c04146f SHA1 7514b558a7c6f34d7491bd500fd8c74510d9f0d0 SHA256 adae4c048745de04fd44f0408e8ab85aa5cae283cb3ddc2962e0379905cca73f
DIST postgresql-patches-8.4-r2.tbz2 4822 RMD160 cf1ef4d046653c571e9059c6b27dcd5d1b504b26 SHA1 0fb36f6c8d9bb54b1528acd1821f76619f297403 SHA256 9920097ff5243df28788a6f3bdf6cdad38e6c42885f38da84b0f2c8c242954d7
DIST postgresql-patches-9.0-r3.tbz2 4503 RMD160 05d4167c3a48a432ab79cb57fee5e4661d229cc6 SHA1 04d4a820415304ddb27078a75669289647192048 SHA256 2d454575423f0e56f23d540fbc865309d0bee3f80e5e05a7e1d793a7e70763cf

@ -1,316 +0,0 @@
# Copyright 1999-2011 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.2.22.ebuild,v 1.6 2011/10/01 20:19:20 hwoarang Exp $
EAPI="4"
WANT_AUTOMAKE="none"
inherit autotools eutils multilib pam prefix versionator
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="alpha amd64 arm hppa ia64 ppc s390 sh sparc x86"
DESCRIPTION="PostgreSQL server"
HOMEPAGE="http://www.postgresql.org/"
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}-r1.tbz2
http://dev.gentoo.org/~titanofold/postgresql-initscript-1.0.1.tbz2"
LICENSE="POSTGRESQL"
S="${WORKDIR}/postgresql-${PV}"
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
IUSE="doc kernel_linux nls pam perl python selinux tcl xml"
for lingua in ${LINGUAS} ; do
IUSE+=" linguas_${lingua}"
done
wanted_languages() {
local enable_langs
for lingua in ${LINGUAS} ; do
use linguas_${lingua} && enable_langs+="${lingua} "
done
echo -n ${enable_langs}
}
RDEPEND="~dev-db/postgresql-base-${PV}:${SLOT}[pam?,nls=]
perl? ( >=dev-lang/perl-5.8 )
selinux? ( sec-policy/selinux-postgresql )
tcl? ( >=dev-lang/tcl-8 )
xml? ( dev-libs/libxml2 dev-libs/libxslt )"
DEPEND="${RDEPEND}
sys-devel/flex
xml? ( dev-util/pkgconfig )"
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
pkg_setup() {
enewgroup postgres 70
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
}
src_prepare() {
epatch "${WORKDIR}/autoconf.patch" "${WORKDIR}/bool.patch" \
"${WORKDIR}/darwin.patch" "${WORKDIR}/pg_ctl-exit-status.patch" \
"${WORKDIR}/server.patch" "${WORKDIR}/SuperH.patch"
eprefixify src/include/pg_config_manual.h
if use test ; then
epatch "${WORKDIR}/regress.patch"
sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress.c
sed -e "s|/no/such/location|${S}/src/test/regress/tmp_check/no/such/location|g" \
-i src/test/regress/{input,output}/tablespace.source
else
echo "all install:" > "${S}/src/test/regress/GNUmakefile"
fi
eautoconf
}
src_configure() {
# eval is needed to get along with pg_config quotation of space-rich entities.
eval econf "$(${EPREFIX%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \
--with-includes="${EPREFIX%/}/usr/include/postgresql-${SLOT}/" \
$(use_with perl) \
$(use_with python) \
$(use_with tcl) \
"$(has_version ~dev-db/postgresql-base-${PV}[nls] && use_enable nls nls "$(wanted_languages)")"
}
src_compile() {
local bd
for bd in . contrib $(use xml && echo contrib/xml2); do
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
emake -C $bd -j1 \
PGXS=$(${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \
PGXS_IN_SERVER=1 PGXS_WITH_SERVER="${S}/src/backend/postgres" \
NO_PGXS=0 USE_PGXS=1 docdir=${EROOT%/}/usr/share/doc/${PF}
done
}
src_install() {
if use perl ; then
mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig"
sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
"${S}/src/pl/plperl/GNUmakefile_orig" > "${S}/src/pl/plperl/GNUmakefile"
fi
local bd
for bd in . contrib $(use xml && echo contrib/xml2) ; do
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
emake install -C $bd -j1 DESTDIR="${D}" \
PGXS_IN_SERVER=1 PGXS_WITH_SERVER="${S}/src/backend/postgres" \
PGXS=$(${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \
NO_PGXS=0 USE_PGXS=1 docdir=${EROOT%/}/usr/share/doc/${PF}
done
rm -r "${ED}/usr/share/postgresql-${SLOT}/man/man7/" "${ED}/usr/share/doc/${PF}/html"
rm "${ED}"/usr/share/postgresql-${SLOT}/man/man1/{clusterdb,create{db,lang,user},drop{db,lang,user},ecpg,pg_{config,dump,dumpall,restore},psql,reindexdb,vacuumdb}.1
docompress /usr/share/postgresql-${SLOT}/man/man1
dodoc README HISTORY doc/{README.*,TODO,bug.template}
dodir /etc/eselect/postgresql/slots/${SLOT}
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \
> "${ED}/etc/eselect/postgresql/slots/${SLOT}/server"
newconfd "${WORKDIR}/postgresql.confd" postgresql-${SLOT}
newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT}
use pam && pamd_mimic system-auth postgresql auth account session
keepdir /var/run/postgresql
fperms 0770 /var/run/postgresql
use prefix || fowners postgres:postgres /var/run/postgresql
}
pkg_postinst() {
postgresql-config update
elog "The Unix-domain socket is located in:"
elog " ${EROOT%/}/var/run/postgresql/"
elog
elog "If you have users and/or services that you would like to utilize the socket,"
elog "you must add them to the 'postgres' system group:"
elog " usermod -a -G postgres <user>"
elog
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS so that"
elog "it contains your preferred locale in:"
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
elog
elog "Then, execute the following command to setup the initial database"
elog "environment:"
elog " emerge --config =${CATEGORY}/${PF}"
}
pkg_postrm() {
postgresql-config update
}
pkg_config() {
[[ -f ${EROOT%/}/etc/conf.d/postgresql-${SLOT} ]] && source ${EROOT%/}/etc/conf.d/postgresql-${SLOT}
[[ -z ${PGDATA} ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
[[ -z ${DATA_DIR} ]] && DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
# environment.bz2 may not contain the same locale as the current system
# locale. Unset and source from the current system locale.
if [[ -f ${EROOT%/}/etc/env.d/02locale ]] ; then
unset LANG
unset LC_CTYPE
unset LC_NUMERIC
unset LC_TIME
unset LC_COLLATE
unset LC_MONETARY
unset LC_MESSAGES
unset LC_ALL
source ${EROOT%/}/etc/env.d/02locale
[[ -n ${LANG} ]] && export LANG
[[ -n ${LC_CTYPE} ]] && export LC_CTYPE
[[ -n ${LC_NUMERIC} ]] && export LC_NUMERIC
[[ -n ${LC_TIME} ]] && export LC_TIME
[[ -n ${LC_COLLATE} ]] && export LC_COLLATE
[[ -n ${LC_MONETARY} ]] && export LC_MONETARY
[[ -n ${LC_MESSAGES} ]] && export LC_MESSAGES
[[ -n ${LC_ALL} ]] && export LC_ALL
fi
einfo "You can modify the paths and options passed to initdb by editing:"
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
einfo
einfo "Information on options that can be passed to initdb are found at:"
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
einfo
einfo "PG_INITDB_OPTS is currently set to:"
if [[ -z "${PG_INITDB_OPTS}" ]] ; then
einfo " (none)"
else
einfo " ${PG_INITDB_OPTS}"
fi
einfo
einfo "Configuration files will be installed to:"
einfo " ${PGDATA}"
einfo
einfo "The database cluster will be created in:"
einfo " ${DATA_DIR}"
einfo
while [[ $correct != "true" ]] ; do
einfo "Are you ready to continue? (y/n)"
read answer
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
correct="true"
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
die "Aborting initialization."
else
echo "Answer not recognized"
fi
done
if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
eerror "The given directory, '${DATA_DIR}', is not empty."
eerror "Modify DATA_DIR to point to an empty directory."
die "${DATA_DIR} is not empty."
fi
[[ -z ${PG_MAX_CONNECTIONS} ]] && PG_MAX_CONNECTIONS=128
einfo "Checking system parameters..."
if ! use kernel_linux ; then
einfo "Skipped."
einfo "Tests not supported on this OS (yet)"
else
if [[ -z ${SKIP_SYSTEM_TESTS} ]] ; then
einfo "Checking whether your system supports at least ${PG_MAX_CONNECTIONS} connections..."
local SEMMSL=$(sysctl -n kernel.sem | cut -f1)
local SEMMNS=$(sysctl -n kernel.sem | cut -f2)
local SEMMNI=$(sysctl -n kernel.sem | cut -f4)
local SHMMAX=$(sysctl -n kernel.shmmax)
local SEMMSL_MIN=17
local SEMMNS_MIN=$(( ( ${PG_MAX_CONNECTIONS}/16 ) * 17 ))
local SEMMNI_MIN=$(( ( ${PG_MAX_CONNECTIONS}+15 ) / 16 ))
local SHMMAX_MIN=$(( 500000 + ( 30600 * ${PG_MAX_CONNECTIONS} ) ))
for p in SEMMSL SEMMNS SEMMNI SHMMAX ; do
if [[ $(eval echo \$$p) -lt $(eval echo \$${p}_MIN) ]] ; then
eerror "The value for ${p} $(eval echo \$$p) is below the recommended value $(eval echo \$${p}_MIN)"
eerror "You have now several options:"
eerror " - Change the mentioned system parameter"
eerror " - Lower the number of max.connections by setting PG_MAX_CONNECTIONS to a"
eerror " value lower than ${PG_MAX_CONNECTIONS}"
eerror " - Set SKIP_SYSTEM_TESTS in case you want to ignore this test completely"
eerror "More information can be found here:"
eerror " http://www.postgresql.org/docs/${SLOT}/static/kernel-resources.html"
die "System test failed."
fi
done
einfo "Passed."
else
ewarn "SKIP_SYSTEM_TESTS set, so skipping."
fi
fi
if [[ ${EUID} == 0 ]] ; then
einfo "Creating the data directory ..."
mkdir -p "${DATA_DIR}"
chown -Rf postgres:postgres "${DATA_DIR}"
chmod 0700 "${DATA_DIR}"
fi
einfo "Initializing the database ..."
if [[ ${EUID} == 0 ]] ; then
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
else
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
fi
mv "${DATA_DIR%/}"/*.conf "${PGDATA}"
einfo "The autovacuum function, which was in contrib, has been moved to the main"
einfo "PostgreSQL functions starting with 8.1."
einfo "You can enable it in the cluster's:"
einfo " ${PGDATA%/}/postgresql.conf"
einfo
einfo "The PostgreSQL server, by default, will log events to:"
einfo " ${DATA_DIR%/}/postmaster.log"
einfo
if use prefix ; then
einfo "The location of the configuration files have moved to:"
einfo " ${PGDATA}"
einfo
einfo "To start the server:"
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
einfo
einfo "To stop:"
einfo " pg_ctl stop -D ${DATA_DIR}"
einfo
einfo "Or move the configuration files back:"
einfo " mv ${PGDATA}*.conf ${DATA_DIR}"
else
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
einfo "instead of 'pg_ctl'."
fi
}
src_test() {
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
if [[ ${UID} != 0 ]] ; then
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/:${PATH}" \
emake check \
PGXS=$("${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \
NO_PGXS=0 USE_PGXS=1 SLOT="${SLOT}"
einfo "If you think other tests besides the regression tests are necessary, please"
einfo "submit a bug including a patch for this ebuild to enable them."
else
ewarn "Tests cannot be run as root. Skipping."
ewarn "HINT: FEATURES=\"userpriv\""
fi
}

@ -1,338 +0,0 @@
# 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.2.23-r1.ebuild,v 1.7 2012/02/19 11:03:07 klausman Exp $
EAPI="4"
WANT_AUTOMAKE="none"
inherit autotools eutils multilib pam prefix versionator
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ~s390 ~sh ~sparc x86"
DESCRIPTION="PostgreSQL server"
HOMEPAGE="http://www.postgresql.org/"
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
http://dev.gentoo.org/~titanofold/postgresql-patches-8.2-r2.tbz2
http://dev.gentoo.org/~titanofold/postgresql-initscript-2.1.tbz2"
LICENSE="POSTGRESQL"
S="${WORKDIR}/postgresql-${PV}"
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
IUSE="doc kernel_linux nls pam perl python selinux tcl xml"
for lingua in ${LINGUAS} ; do
IUSE+=" linguas_${lingua}"
done
wanted_languages() {
local enable_langs
for lingua in ${LINGUAS} ; do
use linguas_${lingua} && enable_langs+="${lingua} "
done
echo -n ${enable_langs}
}
RDEPEND="~dev-db/postgresql-base-${PV}:${SLOT}[pam?,nls=]
perl? ( >=dev-lang/perl-5.8 )
selinux? ( sec-policy/selinux-postgresql )
tcl? ( >=dev-lang/tcl-8 )
xml? ( dev-libs/libxml2 dev-libs/libxslt )"
DEPEND="${RDEPEND}
sys-devel/flex
xml? ( dev-util/pkgconfig )"
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
# Support /var/run or /run for the socket directory
[[ ! -d /run ]] && RUNDIR=/var
pkg_setup() {
enewgroup postgres 70
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
}
src_prepare() {
epatch "${WORKDIR}/autoconf.patch" \
"${WORKDIR}/bool.patch" \
"${WORKDIR}/darwin.patch" \
"${WORKDIR}/pg_ctl-exit-status.patch" \
"${WORKDIR}/server.patch" \
"${WORKDIR}/SuperH.patch"
eprefixify src/include/pg_config_manual.h
if use test ; then
epatch "${WORKDIR}/regress.patch"
sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress.c
sed -e "s|/no/such/location|${S}/src/test/regress/tmp_check/no/such/location|g" \
-i src/test/regress/{input,output}/tablespace.source
else
echo "all install:" > "${S}/src/test/regress/GNUmakefile"
fi
sed -e "s|@RUNDIR@|${RUNDIR}|g" \
-i src/include/pg_config_manual.h "${WORKDIR}/postgresql.init" || \
die "RUNDIR sed failed"
sed -e "s|@SLOT@|${SLOT}|g" \
-i "${WORKDIR}/postgresql.init" "${WORKDIR}/postgresql.confd" || \
die "SLOT sed failed"
eautoconf
}
src_configure() {
# eval is needed to get along with pg_config quotation of space-rich entities.
eval econf "$(${EPREFIX%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \
--with-includes="${EPREFIX%/}/usr/include/postgresql-${SLOT}/" \
$(use_with perl) \
$(use_with python) \
$(use_with tcl) \
"$(has_version ~dev-db/postgresql-base-${PV}[nls] && use_enable nls nls "$(wanted_languages)")"
}
src_compile() {
local bd
for bd in . contrib $(use xml && echo contrib/xml2); do
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
emake -C $bd -j1 \
PGXS=$(${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \
PGXS_IN_SERVER=1 PGXS_WITH_SERVER="${S}/src/backend/postgres" \
NO_PGXS=0 USE_PGXS=1 docdir=${EROOT%/}/usr/share/doc/${PF}
done
}
src_install() {
if use perl ; then
mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig"
sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
"${S}/src/pl/plperl/GNUmakefile_orig" > "${S}/src/pl/plperl/GNUmakefile"
fi
local bd
for bd in . contrib $(use xml && echo contrib/xml2) ; do
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
emake install -C $bd -j1 DESTDIR="${D}" \
PGXS_IN_SERVER=1 PGXS_WITH_SERVER="${S}/src/backend/postgres" \
PGXS=$(${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \
NO_PGXS=0 USE_PGXS=1 docdir=${EROOT%/}/usr/share/doc/${PF}
done
rm -r "${ED}/usr/share/postgresql-${SLOT}/man/man7/" "${ED}/usr/share/doc/${PF}/html"
rm "${ED}"/usr/share/postgresql-${SLOT}/man/man1/{clusterdb,create{db,lang,user},drop{db,lang,user},ecpg,pg_{config,dump,dumpall,restore},psql,reindexdb,vacuumdb}.1
docompress /usr/share/postgresql-${SLOT}/man/man1
dodoc README HISTORY doc/{README.*,TODO,bug.template}
dodir /etc/eselect/postgresql/slots/${SLOT}
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \
> "${ED}/etc/eselect/postgresql/slots/${SLOT}/server"
newconfd "${WORKDIR}/postgresql.confd" postgresql-${SLOT}
newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT}
use pam && pamd_mimic system-auth postgresql auth account session
if use prefix ; then
keepdir ${RUNDIR}/run/postgresql
fperms 0770 ${RUNDIR}/run/postgresql
fi
}
pkg_postinst() {
postgresql-config update
elog "Gentoo specific documentation:"
elog "http://www.gentoo.org/doc/en/postgres-howto.xml"
elog
elog "Official documentation:"
elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
elog
elog "The default location of the Unix-domain socket is:"
elog " ${EROOT%/}${RUNDIR}/run/postgresql/"
elog
elog "If you have users and/or services that you would like to utilize the"
elog "socket, you must add them to the 'postgres' system group:"
elog " usermod -a -G postgres <user>"
elog
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
elog "so that it contains your preferred locale in:"
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
elog
elog "Then, execute the following command to setup the initial database"
elog "environment:"
elog " emerge --config =${CATEGORY}/${PF}"
}
pkg_postrm() {
postgresql-config update
}
pkg_config() {
[[ -f ${EROOT%/}/etc/conf.d/postgresql-${SLOT} ]] && source ${EROOT%/}/etc/conf.d/postgresql-${SLOT}
[[ -z ${PGDATA} ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
[[ -z ${DATA_DIR} ]] && DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
# environment.bz2 may not contain the same locale as the current system
# locale. Unset and source from the current system locale.
if [[ -f ${EROOT%/}/etc/env.d/02locale ]] ; then
unset LANG
unset LC_CTYPE
unset LC_NUMERIC
unset LC_TIME
unset LC_COLLATE
unset LC_MONETARY
unset LC_MESSAGES
unset LC_ALL
source ${EROOT%/}/etc/env.d/02locale
[[ -n ${LANG} ]] && export LANG
[[ -n ${LC_CTYPE} ]] && export LC_CTYPE
[[ -n ${LC_NUMERIC} ]] && export LC_NUMERIC
[[ -n ${LC_TIME} ]] && export LC_TIME
[[ -n ${LC_COLLATE} ]] && export LC_COLLATE
[[ -n ${LC_MONETARY} ]] && export LC_MONETARY
[[ -n ${LC_MESSAGES} ]] && export LC_MESSAGES
[[ -n ${LC_ALL} ]] && export LC_ALL
fi
einfo "You can modify the paths and options passed to initdb by editing:"
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
einfo
einfo "Information on options that can be passed to initdb are found at:"
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
einfo
einfo "PG_INITDB_OPTS is currently set to:"
if [[ -z "${PG_INITDB_OPTS}" ]] ; then
einfo " (none)"
else
einfo " ${PG_INITDB_OPTS}"
fi
einfo
einfo "Configuration files will be installed to:"
einfo " ${PGDATA}"
einfo
einfo "The database cluster will be created in:"
einfo " ${DATA_DIR}"
einfo
while [[ $correct != "true" ]] ; do
einfo "Are you ready to continue? (y/n)"
read answer
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
correct="true"
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
die "Aborting initialization."
else
echo "Answer not recognized"
fi
done
if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
eerror "The given directory, '${DATA_DIR}', is not empty."
eerror "Modify DATA_DIR to point to an empty directory."
die "${DATA_DIR} is not empty."
fi
[[ -z ${PG_MAX_CONNECTIONS} ]] && PG_MAX_CONNECTIONS=128
einfo "Checking system parameters..."
if ! use kernel_linux ; then
einfo "Skipped."
einfo "Tests not supported on this OS (yet)"
else
if [[ -z ${SKIP_SYSTEM_TESTS} ]] ; then
ebegin "Checking whether your system supports at least ${PG_MAX_CONNECTIONS} connections"
local SEMMSL=$(sysctl -n kernel.sem | cut -f1)
local SEMMNS=$(sysctl -n kernel.sem | cut -f2)
local SEMMNI=$(sysctl -n kernel.sem | cut -f4)
local SHMMAX=$(sysctl -n kernel.shmmax)
local SEMMSL_MIN=17
local SEMMNS_MIN=$(( ( ${PG_MAX_CONNECTIONS}/16 ) * 17 ))
local SEMMNI_MIN=$(( ( ${PG_MAX_CONNECTIONS}+15 ) / 16 ))
local SHMMAX_MIN=$(( 500000 + ( 30600 * ${PG_MAX_CONNECTIONS} ) ))
for p in SEMMSL SEMMNS SEMMNI SHMMAX ; do
if [[ $(eval echo \$$p) -lt $(eval echo \$${p}_MIN) ]] ; then
eerror "The value for ${p} $(eval echo \$$p) is below the"
eerror "recommended value $(eval echo \$${p}_MIN)"
eerror "You have now several options:"
eerror " - Change the mentioned system parameter"
eerror " - Lower the number of max.connections by setting PG_MAX_CONNECTIONS to"
eerror " a value lower than ${PG_MAX_CONNECTIONS}"
eerror " - Set SKIP_SYSTEM_TESTS in case you want to ignore this test"
eerror " completely"
eerror "More information can be found here:"
eerror " http://www.postgresql.org/docs/${SLOT}/static/kernel-resources.html"
die "System test failed."
fi
done
eend
else
ewarn "SKIP_SYSTEM_TESTS set, so skipping."
fi
fi
if [[ ${EUID} == 0 ]] ; then
einfo "Creating the data directory ..."
mkdir -p "${DATA_DIR}"
chown -Rf postgres:postgres "${DATA_DIR}"
chmod 0700 "${DATA_DIR}"
fi
einfo "Initializing the database ..."
if [[ ${EUID} == 0 ]] ; then
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
else
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
fi
mv "${DATA_DIR%/}"/*.conf "${PGDATA}"
einfo "The autovacuum function, which was in contrib, has been moved to the"
einfo "main PostgreSQL functions starting with 8.1."
einfo "You can enable it in the cluster's:"
einfo " ${PGDATA%/}/postgresql.conf"
einfo
einfo "The PostgreSQL server, by default, will log events to:"
einfo " ${DATA_DIR%/}/postmaster.log"
einfo
if use prefix ; then
einfo "The location of the configuration files have moved to:"
einfo " ${PGDATA}"
einfo
einfo "To start the server:"
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
einfo
einfo "To stop:"
einfo " pg_ctl stop -D ${DATA_DIR}"
einfo
einfo "Or move the configuration files back:"
einfo " mv ${PGDATA}*.conf ${DATA_DIR}"
else
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
einfo "instead of 'pg_ctl'."
fi
}
src_test() {
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
if [[ ${UID} != 0 ]] ; then
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/:${PATH}" \
emake check \
PGXS=$("${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \
NO_PGXS=0 USE_PGXS=1 SLOT="${SLOT}"
einfo "If you think other tests besides the regression tests are necessary,"
einfo "please submit a bug including a patch for this ebuild to enable them."
else
ewarn "Tests cannot be run as root. Skipping."
ewarn "HINT: FEATURES=\"userpriv\""
fi
}

@ -1,338 +0,0 @@
# 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.2.23.ebuild,v 1.2 2012/01/30 19:51:21 ago Exp $
EAPI="4"
WANT_AUTOMAKE="none"
inherit autotools eutils multilib pam prefix versionator
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sh ~sparc ~x86"
DESCRIPTION="PostgreSQL server"
HOMEPAGE="http://www.postgresql.org/"
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
http://dev.gentoo.org/~titanofold/postgresql-patches-8.2-r2.tbz2
http://dev.gentoo.org/~titanofold/postgresql-initscript-2.0.tbz2"
LICENSE="POSTGRESQL"
S="${WORKDIR}/postgresql-${PV}"
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
IUSE="doc kernel_linux nls pam perl python selinux tcl xml"
for lingua in ${LINGUAS} ; do
IUSE+=" linguas_${lingua}"
done
wanted_languages() {
local enable_langs
for lingua in ${LINGUAS} ; do
use linguas_${lingua} && enable_langs+="${lingua} "
done
echo -n ${enable_langs}
}
RDEPEND="~dev-db/postgresql-base-${PV}:${SLOT}[pam?,nls=]
perl? ( >=dev-lang/perl-5.8 )
selinux? ( sec-policy/selinux-postgresql )
tcl? ( >=dev-lang/tcl-8 )
xml? ( dev-libs/libxml2 dev-libs/libxslt )"
DEPEND="${RDEPEND}
sys-devel/flex
xml? ( dev-util/pkgconfig )"
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
# Support /var/run or /run for the socket directory
[[ ! -d /run ]] && RUNDIR=/var
pkg_setup() {
enewgroup postgres 70
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
}
src_prepare() {
epatch "${WORKDIR}/autoconf.patch" \
"${WORKDIR}/bool.patch" \
"${WORKDIR}/darwin.patch" \
"${WORKDIR}/pg_ctl-exit-status.patch" \
"${WORKDIR}/server.patch" \
"${WORKDIR}/SuperH.patch"
eprefixify src/include/pg_config_manual.h
if use test ; then
epatch "${WORKDIR}/regress.patch"
sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress.c
sed -e "s|/no/such/location|${S}/src/test/regress/tmp_check/no/such/location|g" \
-i src/test/regress/{input,output}/tablespace.source
else
echo "all install:" > "${S}/src/test/regress/GNUmakefile"
fi
sed -e "s|@RUNDIR@|${RUNDIR}|g" \
-i src/include/pg_config_manual.h "${WORKDIR}/postgresql.init" || \
die "RUNDIR sed failed"
sed -e "s|@SLOT@|${SLOT}|g" \
-i "${WORKDIR}/postgresql.init" "${WORKDIR}/postgresql.confd" || \
die "SLOT sed failed"
eautoconf
}
src_configure() {
# eval is needed to get along with pg_config quotation of space-rich entities.
eval econf "$(${EPREFIX%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \
--with-includes="${EPREFIX%/}/usr/include/postgresql-${SLOT}/" \
$(use_with perl) \
$(use_with python) \
$(use_with tcl) \
"$(has_version ~dev-db/postgresql-base-${PV}[nls] && use_enable nls nls "$(wanted_languages)")"
}
src_compile() {
local bd
for bd in . contrib $(use xml && echo contrib/xml2); do
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
emake -C $bd -j1 \
PGXS=$(${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \
PGXS_IN_SERVER=1 PGXS_WITH_SERVER="${S}/src/backend/postgres" \
NO_PGXS=0 USE_PGXS=1 docdir=${EROOT%/}/usr/share/doc/${PF}
done
}
src_install() {
if use perl ; then
mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig"
sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
"${S}/src/pl/plperl/GNUmakefile_orig" > "${S}/src/pl/plperl/GNUmakefile"
fi
local bd
for bd in . contrib $(use xml && echo contrib/xml2) ; do
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
emake install -C $bd -j1 DESTDIR="${D}" \
PGXS_IN_SERVER=1 PGXS_WITH_SERVER="${S}/src/backend/postgres" \
PGXS=$(${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \
NO_PGXS=0 USE_PGXS=1 docdir=${EROOT%/}/usr/share/doc/${PF}
done
rm -r "${ED}/usr/share/postgresql-${SLOT}/man/man7/" "${ED}/usr/share/doc/${PF}/html"
rm "${ED}"/usr/share/postgresql-${SLOT}/man/man1/{clusterdb,create{db,lang,user},drop{db,lang,user},ecpg,pg_{config,dump,dumpall,restore},psql,reindexdb,vacuumdb}.1
docompress /usr/share/postgresql-${SLOT}/man/man1
dodoc README HISTORY doc/{README.*,TODO,bug.template}
dodir /etc/eselect/postgresql/slots/${SLOT}
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \
> "${ED}/etc/eselect/postgresql/slots/${SLOT}/server"
newconfd "${WORKDIR}/postgresql.confd" postgresql-${SLOT}
newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT}
use pam && pamd_mimic system-auth postgresql auth account session
if use prefix ; then
keepdir ${RUNDIR}/run/postgresql
fperms 0770 ${RUNDIR}/run/postgresql
fi
}
pkg_postinst() {
postgresql-config update
elog "Gentoo specific documentation:"
elog "http://www.gentoo.org/doc/en/postgres-howto.xml"
elog
elog "Official documentation:"
elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
elog
elog "The default location of the Unix-domain socket is:"
elog " ${EROOT%/}${RUNDIR}/run/postgresql/"
elog
elog "If you have users and/or services that you would like to utilize the"
elog "socket, you must add them to the 'postgres' system group:"
elog " usermod -a -G postgres <user>"
elog
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
elog "so that it contains your preferred locale in:"
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
elog
elog "Then, execute the following command to setup the initial database"
elog "environment:"
elog " emerge --config =${CATEGORY}/${PF}"
}
pkg_postrm() {
postgresql-config update
}
pkg_config() {
[[ -f ${EROOT%/}/etc/conf.d/postgresql-${SLOT} ]] && source ${EROOT%/}/etc/conf.d/postgresql-${SLOT}
[[ -z ${PGDATA} ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
[[ -z ${DATA_DIR} ]] && DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
# environment.bz2 may not contain the same locale as the current system
# locale. Unset and source from the current system locale.
if [[ -f ${EROOT%/}/etc/env.d/02locale ]] ; then
unset LANG
unset LC_CTYPE
unset LC_NUMERIC
unset LC_TIME
unset LC_COLLATE
unset LC_MONETARY
unset LC_MESSAGES
unset LC_ALL
source ${EROOT%/}/etc/env.d/02locale
[[ -n ${LANG} ]] && export LANG
[[ -n ${LC_CTYPE} ]] && export LC_CTYPE
[[ -n ${LC_NUMERIC} ]] && export LC_NUMERIC
[[ -n ${LC_TIME} ]] && export LC_TIME
[[ -n ${LC_COLLATE} ]] && export LC_COLLATE
[[ -n ${LC_MONETARY} ]] && export LC_MONETARY
[[ -n ${LC_MESSAGES} ]] && export LC_MESSAGES
[[ -n ${LC_ALL} ]] && export LC_ALL
fi
einfo "You can modify the paths and options passed to initdb by editing:"
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
einfo
einfo "Information on options that can be passed to initdb are found at:"
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
einfo
einfo "PG_INITDB_OPTS is currently set to:"
if [[ -z "${PG_INITDB_OPTS}" ]] ; then
einfo " (none)"
else
einfo " ${PG_INITDB_OPTS}"
fi
einfo
einfo "Configuration files will be installed to:"
einfo " ${PGDATA}"
einfo
einfo "The database cluster will be created in:"
einfo " ${DATA_DIR}"
einfo
while [[ $correct != "true" ]] ; do
einfo "Are you ready to continue? (y/n)"
read answer
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
correct="true"
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
die "Aborting initialization."
else
echo "Answer not recognized"
fi
done
if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
eerror "The given directory, '${DATA_DIR}', is not empty."
eerror "Modify DATA_DIR to point to an empty directory."
die "${DATA_DIR} is not empty."
fi
[[ -z ${PG_MAX_CONNECTIONS} ]] && PG_MAX_CONNECTIONS=128
einfo "Checking system parameters..."
if ! use kernel_linux ; then
einfo "Skipped."
einfo "Tests not supported on this OS (yet)"
else
if [[ -z ${SKIP_SYSTEM_TESTS} ]] ; then
ebegin "Checking whether your system supports at least ${PG_MAX_CONNECTIONS} connections"
local SEMMSL=$(sysctl -n kernel.sem | cut -f1)
local SEMMNS=$(sysctl -n kernel.sem | cut -f2)
local SEMMNI=$(sysctl -n kernel.sem | cut -f4)
local SHMMAX=$(sysctl -n kernel.shmmax)
local SEMMSL_MIN=17
local SEMMNS_MIN=$(( ( ${PG_MAX_CONNECTIONS}/16 ) * 17 ))
local SEMMNI_MIN=$(( ( ${PG_MAX_CONNECTIONS}+15 ) / 16 ))
local SHMMAX_MIN=$(( 500000 + ( 30600 * ${PG_MAX_CONNECTIONS} ) ))
for p in SEMMSL SEMMNS SEMMNI SHMMAX ; do
if [[ $(eval echo \$$p) -lt $(eval echo \$${p}_MIN) ]] ; then
eerror "The value for ${p} $(eval echo \$$p) is below the"
eerror "recommended value $(eval echo \$${p}_MIN)"
eerror "You have now several options:"
eerror " - Change the mentioned system parameter"
eerror " - Lower the number of max.connections by setting PG_MAX_CONNECTIONS to"
eerror " a value lower than ${PG_MAX_CONNECTIONS}"
eerror " - Set SKIP_SYSTEM_TESTS in case you want to ignore this test"
eerror " completely"
eerror "More information can be found here:"
eerror " http://www.postgresql.org/docs/${SLOT}/static/kernel-resources.html"
die "System test failed."
fi
done
eend
else
ewarn "SKIP_SYSTEM_TESTS set, so skipping."
fi
fi
if [[ ${EUID} == 0 ]] ; then
einfo "Creating the data directory ..."
mkdir -p "${DATA_DIR}"
chown -Rf postgres:postgres "${DATA_DIR}"
chmod 0700 "${DATA_DIR}"
fi
einfo "Initializing the database ..."
if [[ ${EUID} == 0 ]] ; then
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
else
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
fi
mv "${DATA_DIR%/}"/*.conf "${PGDATA}"
einfo "The autovacuum function, which was in contrib, has been moved to the"
einfo "main PostgreSQL functions starting with 8.1."
einfo "You can enable it in the cluster's:"
einfo " ${PGDATA%/}/postgresql.conf"
einfo
einfo "The PostgreSQL server, by default, will log events to:"
einfo " ${DATA_DIR%/}/postmaster.log"
einfo
if use prefix ; then
einfo "The location of the configuration files have moved to:"
einfo " ${PGDATA}"
einfo
einfo "To start the server:"
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
einfo
einfo "To stop:"
einfo " pg_ctl stop -D ${DATA_DIR}"
einfo
einfo "Or move the configuration files back:"
einfo " mv ${PGDATA}*.conf ${DATA_DIR}"
else
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
einfo "instead of 'pg_ctl'."
fi
}
src_test() {
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
if [[ ${UID} != 0 ]] ; then
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/:${PATH}" \
emake check \
PGXS=$("${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \
NO_PGXS=0 USE_PGXS=1 SLOT="${SLOT}"
einfo "If you think other tests besides the regression tests are necessary,"
einfo "please submit a bug including a patch for this ebuild to enable them."
else
ewarn "Tests cannot be run as root. Skipping."
ewarn "HINT: FEATURES=\"userpriv\""
fi
}

@ -0,0 +1,119 @@
Make ghc use the libffi installed on the system instead of the bundled one.
This patch is based on the one used by Debian and Fedora, but was
augmented by additional lines to identify the libffi include directory
using pkg-config, as libffi on Gentoo installs into a subdirectory of
the system include directory.
2012-04-24 Martin von Gagern
References:
https://bugs.gentoo.org/411925
http://hackage.haskell.org/trac/ghc/ticket/5743
Index: ghc-7.4.1/ghc.mk
===================================================================
--- ghc-7.4.1.orig/ghc.mk
+++ ghc-7.4.1/ghc.mk
@@ -579,7 +579,6 @@ BUILD_DIRS += \
driver/ghci \
driver/ghc \
driver/haddock \
- libffi \
includes \
rts
Index: ghc-7.4.1/rts/ghc.mk
===================================================================
--- ghc-7.4.1.orig/rts/ghc.mk
+++ ghc-7.4.1/rts/ghc.mk
@@ -86,8 +86,7 @@
ALL_RTS_DEF_LIBNAMES = base ghc-prim
ALL_RTS_DEF_LIBS = \
rts/dist/build/win32/libHSbase.dll.a \
- rts/dist/build/win32/libHSghc-prim.dll.a \
- libffi/build/inst/lib/libffi.dll.a
+ rts/dist/build/win32/libHSghc-prim.dll.a
# -- import libs for the regular Haskell libraries
define make-importlib-def # args $1 = lib name
@@ -172,12 +171,12 @@
# Making a shared library for the RTS.
ifneq "$$(findstring dyn, $1)" ""
ifeq "$$(HOSTPLATFORM)" "i386-unknown-mingw32"
-$$(rts_$1_LIB) : $$(rts_$1_OBJS) $$(ALL_RTS_DEF_LIBS) rts/libs.depend rts/dist/build/libffi-5.dll
+$$(rts_$1_LIB) : $$(rts_$1_OBJS) $$(ALL_RTS_DEF_LIBS) rts/libs.depend
"$$(RM)" $$(RM_OPTS) $$@
"$$(rts_dist_HC)" -package-name rts -shared -dynamic -dynload deploy \
-no-auto-link-packages -Lrts/dist/build -lffi-5 `cat rts/libs.depend` $$(rts_$1_OBJS) $$(ALL_RTS_DEF_LIBS) -o $$@
else
-$$(rts_$1_LIB) : $$(rts_$1_OBJS) $$(rts_$1_DTRACE_OBJS) rts/libs.depend rts/dist/build/libffi$$(soext)
+$$(rts_$1_LIB) : $$(rts_$1_OBJS) $$(rts_$1_DTRACE_OBJS) rts/libs.depend
"$$(RM)" $$(RM_OPTS) $$@
"$$(rts_dist_HC)" -package-name rts -shared -dynamic -dynload deploy \
-no-auto-link-packages -Lrts/dist/build -lffi `cat rts/libs.depend` $$(rts_$1_OBJS) \
@@ -188,9 +187,9 @@
endif
endif
else
-$$(rts_$1_LIB) : $$(rts_$1_OBJS) $$(rts_$1_DTRACE_OBJS) $$(rts_ffi_objs_stamp)
+$$(rts_$1_LIB) : $$(rts_$1_OBJS) $$(rts_$1_DTRACE_OBJS)
"$$(RM)" $$(RM_OPTS) $$@
- echo $$(rts_ffi_objs) $$(rts_$1_OBJS) $$(rts_$1_DTRACE_OBJS) | "$$(XARGS)" $$(XARGS_OPTS) "$$(AR_STAGE1)" \
+ echo $$(rts_$1_OBJS) $$(rts_$1_DTRACE_OBJS) | "$$(XARGS)" $$(XARGS_OPTS) "$$(AR_STAGE1)" \
$$(AR_OPTS_STAGE1) $$(EXTRA_AR_ARGS_STAGE1) $$@
endif
@@ -403,6 +402,12 @@
rts/dist/build/sm/Evac_thr_CC_OPTS += -DPARALLEL_GC -Irts/sm
rts/dist/build/sm/Scav_thr_CC_OPTS += -DPARALLEL_GC -Irts/sm
+# Use system libffi
+libffi_include_flags:=$(shell pkg-config --cflags-only-I libffi)
+rts/Adjustor_CC_OPTS += $(libffi_include_flags)
+rts/Interpreter_CC_OPTS += $(libffi_include_flags)
+rts/sm/Storage_CC_OPTS += $(libffi_include_flags)
+
#-----------------------------------------------------------------------------
# Add PAPI library if needed
@@ -504,10 +509,8 @@
# installing
INSTALL_LIBS += $(ALL_RTS_LIBS)
-INSTALL_LIBS += $(wildcard rts/dist/build/libffi$(soext)*)
-INSTALL_LIBS += $(wildcard rts/dist/build/libffi-5.dll)
-install: install_libffi_headers
+install:
.PHONY: install_libffi_headers
install_libffi_headers :
Index: ghc-7.4.1/rts/package.conf.in
===================================================================
--- ghc-7.4.1.orig/rts/package.conf.in
+++ ghc-7.4.1/rts/package.conf.in
@@ -24,8 +24,9 @@
hs-libraries: "HSrts"
extra-libraries:
+ "ffi"
#ifdef HAVE_LIBM
- "m" /* for ldexp() */
+ , "m" /* for ldexp() */
#endif
#ifdef HAVE_LIBRT
, "rt"
Index: ghc-7.4.1/compiler/ghc.mk
===================================================================
--- ghc-7.4.1.orig/compiler/ghc.mk
+++ ghc-7.4.1/compiler/ghc.mk
@@ -260,6 +260,8 @@
compiler_CPP_OPTS += -I$(GHC_INCLUDE_DIR)
compiler_CPP_OPTS += ${GhcCppOpts}
+libffi_include_flags := $(shell pkg-config --cflags-only-I libffi)
+compiler/ghci/LibFFI_HSC2HS_OPTS += $(addprefix --cflag=,$(libffi_include_flags))
$(PRIMOPS_TXT) compiler/parser/Parser.y: %: %.pp compiler/stage1/$(PLATFORM_H)
$(CPP) $(RAWCPP_FLAGS) -P $(compiler_CPP_OPTS) -x c $< | grep -v '^#pragma GCC' > $@

@ -0,0 +1,598 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-7.4.1-r1.ebuild,v 1.1 2012/04/27 18:14:42 slyfox Exp $
# Brief explanation of the bootstrap logic:
#
# Previous ghc ebuilds have been split into two: ghc and ghc-bin,
# where ghc-bin was primarily used for bootstrapping purposes.
# From now on, these two ebuilds have been combined, with the
# binary USE flag used to determine whether or not the pre-built
# binary package should be emerged or whether ghc should be compiled
# from source. If the latter, then the relevant ghc-bin for the
# arch in question will be used in the working directory to compile
# ghc from source.
#
# This solution has the advantage of allowing us to retain the one
# ebuild for both packages, and thus phase out virtual/ghc.
# Note to users of hardened gcc-3.x:
#
# If you emerge ghc with hardened gcc it should work fine (because we
# turn off the hardened features that would otherwise break ghc).
# However, emerging ghc while using a vanilla gcc and then switching to
# hardened gcc (using gcc-config) will leave you with a broken ghc. To
# fix it you would need to either switch back to vanilla gcc or re-emerge
# ghc (or ghc-bin). Note that also if you are using hardened gcc-3.x and
# you switch to gcc-4.x that this will also break ghc and you'll need to
# re-emerge ghc (or ghc-bin). People using vanilla gcc can switch between
# gcc-3.x and 4.x with no problems.
EAPI="4"
inherit base autotools bash-completion-r1 eutils flag-o-matic multilib toolchain-funcs ghc-package versionator pax-utils
DESCRIPTION="The Glasgow Haskell Compiler"
HOMEPAGE="http://www.haskell.org/ghc/"
# we don't have any binaries yet
arch_binaries=""
# sorted!
arch_binaries="$arch_binaries alpha? ( http://code.haskell.org/~slyfox/ghc-alpha/ghc-bin-${PV}-alpha.tbz2 )"
#arch_binaries="$arch_binaries arm? ( http://code.haskell.org/~slyfox/ghc-arm/ghc-bin-${PV}-arm.tbz2 )"
arch_binaries="$arch_binaries amd64? ( http://code.haskell.org/~slyfox/ghc-amd64/ghc-bin-${PV}-amd64.tbz2 )"
#arch_binaries="$arch_binaries ia64? ( http://code.haskell.org/~slyfox/ghc-ia64/ghc-bin-${PV}-ia64-fixed-fiw.tbz2 )"
arch_binaries="$arch_binaries ppc? ( http://code.haskell.org/~slyfox/ghc-ppc/ghc-bin-${PV}-ppc.tbz2 )"
arch_binaries="$arch_binaries ppc64? ( http://code.haskell.org/~slyfox/ghc-ppc64/ghc-bin-${PV}-ppc64.tbz2 )"
arch_binaries="$arch_binaries sparc? ( http://code.haskell.org/~slyfox/ghc-sparc/ghc-bin-${PV}-sparc.tbz2 )"
arch_binaries="$arch_binaries x86? ( http://code.haskell.org/~slyfox/ghc-x86/ghc-bin-${PV}-x86.tbz2 )"
# various ports:
#arch_binaries="$arch_binaries x86-fbsd? ( http://code.haskell.org/~slyfox/ghc-x86-fbsd/ghc-bin-${PV}-x86-fbsd.tbz2 )"
# 0 - yet
yet_binary() {
case "${ARCH}" in
alpha) return 0 ;;
#arm)
# ewarn "ARM binary is built on armv5tel-eabi toolchain. Use with caution."
# return 0
#;;
amd64) return 0 ;;
ppc) return 0 ;;
ppc64) return 0 ;;
sparc) return 0 ;;
x86) return 0 ;;
*) return 1 ;;
esac
}
SRC_URI="!binary? ( http://www.haskell.org/ghc/dist/${PV}/${P}-src.tar.bz2 )"
[[ -n $arch_binaries ]] && SRC_URI+=" !ghcbootstrap? ( $arch_binaries )"
LICENSE="BSD"
SLOT="0"
# ghc on ia64 needs gcc to support -mcmodel=medium (or some dark hackery) to avoid TOC overflow
KEYWORDS="~alpha ~amd64 -ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="doc ghcbootstrap llvm"
IUSE+=" binary" # don't forget about me later!
RDEPEND="
!kernel_Darwin? ( >=sys-devel/gcc-2.95.3 )
kernel_linux? ( >=sys-devel/binutils-2.17 )
kernel_SunOS? ( >=sys-devel/binutils-2.17 )
>=dev-lang/perl-5.6.1
>=dev-libs/gmp-5
virtual/libffi
!<dev-haskell/haddock-2.4.2
sys-libs/ncurses[unicode]"
# earlier versions than 2.4.2 of haddock only works with older ghc releases
# force dependency on >=gmp-5, even if >=gmp-4.1 would be enough. this is due to
# that we want the binaries to use the latest versioun available, and not to be
# built against gmp-4
DEPEND="${RDEPEND}
ghcbootstrap? ( >=dev-haskell/alex-2.3
>=dev-haskell/happy-1.18
doc? ( app-text/docbook-xml-dtd:4.2
app-text/docbook-xml-dtd:4.5
app-text/docbook-xsl-stylesheets
>=dev-libs/libxslt-1.1.2 ) )"
# In the ghcbootstrap case we rely on the developer having
# >=ghc-5.04.3 on their $PATH already
PDEPEND="!ghcbootstrap? ( =app-admin/haskell-updater-1.2* )"
PDEPEND="
${PDEPEND}
llvm? ( sys-devel/llvm )"
append-ghc-cflags() {
local flag compile assemble link
for flag in $*; do
case ${flag} in
compile) compile="yes";;
assemble) assemble="yes";;
link) link="yes";;
*)
[[ ${compile} ]] && GHC_FLAGS="${GHC_FLAGS} -optc${flag}" CFLAGS="${CFLAGS} ${flag}"
[[ ${assemble} ]] && GHC_FLAGS="${GHC_FLAGS} -opta${flag}" CFLAGS="${CFLAGS} ${flag}"
[[ ${link} ]] && GHC_FLAGS="${GHC_FLAGS} -optl${flag}" FILTERED_LDFLAGS="${FILTERED_LDFLAGS} ${flag}";;
esac
done
}
ghc_setup_cflags() {
# We need to be very careful with the CFLAGS we ask ghc to pass through to
# gcc. There are plenty of flags which will make gcc produce output that
# breaks ghc in various ways. The main ones we want to pass through are
# -mcpu / -march flags. These are important for arches like alpha & sparc.
# We also use these CFLAGS for building the C parts of ghc, ie the rts.
strip-flags
strip-unsupported-flags
GHC_FLAGS=""
for flag in ${CFLAGS}; do
case ${flag} in
# Ignore extra optimisation (ghc passes -O to gcc anyway)
# -O2 and above break on too many systems
-O*) ;;
# Arch and ABI flags are what we're really after
-m*) append-ghc-cflags compile assemble ${flag};;
# Debugging flags don't help either. You can't debug Haskell code
# at the C source level and the mangler discards the debug info.
-g*) ;;
# Ignore all other flags, including all -f* flags
esac
done
FILTERED_LDFLAGS=""
for flag in ${LDFLAGS}; do
case ${flag} in
# Pass the canary. we don't quite respect LDFLAGS, but we have an excuse!
"-Wl,--hash-style="*) append-ghc-cflags link ${flag};;
# Ignore all other flags
esac
done
# hardened-gcc needs to be disabled, because the mangler doesn't accept
# its output.
gcc-specs-pie && append-ghc-cflags compile link -nopie
gcc-specs-ssp && append-ghc-cflags compile -fno-stack-protector
# prevent from failind building unregisterised ghc:
# http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg171602.html
use ppc64 && append-ghc-cflags compile -mminimal-toc
# fix the similar issue as ppc64 TOC on ia64. ia64 has limited size of small data
# currently ghc fails to build haddock
# http://osdir.com/ml/gnu.binutils.bugs/2004-10/msg00050.html
use ia64 && append-ghc-cflags compile -G0
# Unfortunately driver/split/ghc-split.lprl is dumb
# enough to preserve stack marking for each split object
# and it flags stack marking violation:
# * !WX --- --- usr/lib64/ghc-7.4.1/base-4.5.0.0/libHSbase-4.5.0.0.a:Fingerprint__1.o
# * !WX --- --- usr/lib64/ghc-7.4.1/base-4.5.0.0/libHSbase-4.5.0.0.a:Fingerprint__2.o
# * !WX --- --- usr/lib64/ghc-7.4.1/base-4.5.0.0/libHSbase-4.5.0.0.a:Fingerprint__3.o
case $($(tc-getAS) -v 2>&1 </dev/null) in
*"GNU Binutils"*) # GNU ld
append-ghc-cflags compile assemble -Wa,--noexecstack
;;
esac
}
# substitutes string $1 to $2 in files $3 $4 ...
relocate_path() {
local from=$1
local to=$2
shift 2
local file=
for file in "$@"
do
sed -i -e "s|$from|$to|g" \
"$file" || die "path relocation failed for '$file'"
done
}
# changes hardcoded ghc paths and updates package index
# $1 - new absolute root path
relocate_ghc() {
local to=$1
# backup original script to use it later after relocation
local gp_back="${T}/ghc-pkg-${PV}-orig"
cp "${WORKDIR}/usr/bin/ghc-pkg-${PV}" "$gp_back" || die "unable to backup ghc-pkg wrapper"
# Relocate from /usr to ${EPREFIX}/usr
relocate_path "/usr" "${to}/usr" \
"${WORKDIR}/usr/bin/ghc-${PV}" \
"${WORKDIR}/usr/bin/ghci-${PV}" \
"${WORKDIR}/usr/bin/ghc-pkg-${PV}" \
"${WORKDIR}/usr/bin/hsc2hs" \
"${WORKDIR}/usr/$(get_libdir)/${P}/package.conf.d/"*
# this one we will use to regenerate cache
# so it shoult point to current tree location
relocate_path "/usr" "${WORKDIR}/usr" "$gp_back"
if use prefix; then
# and insert LD_LIBRARY_PATH entry to EPREFIX dir tree
# TODO: add the same for darwin's CHOST and it's DYLD_
local new_ldpath='LD_LIBRARY_PATH="'${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir)'${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"\nexport LD_LIBRARY_PATH'
sed -i -e '2i'"$new_ldpath" \
"${WORKDIR}/usr/bin/ghc-${PV}" \
"${WORKDIR}/usr/bin/ghci-${PV}" \
"${WORKDIR}/usr/bin/ghc-pkg-${PV}" \
"$gp_back" \
"${WORKDIR}/usr/bin/hsc2hs" \
|| die "Adding LD_LIBRARY_PATH for wrappers failed"
fi
# regenerate the binary package cache
"$gp_back" recache || die "failed to update cache after relocation"
rm "$gp_back"
}
pkg_setup() {
if use ghcbootstrap; then
ewarn "You requested ghc bootstrapping, this is usually only used"
ewarn "by Gentoo developers to make binary .tbz2 packages for"
ewarn "use with the ghc ebuild's USE=\"binary\" feature."
use binary && \
die "USE=\"ghcbootstrap binary\" is not a valid combination."
[[ -z $(type -P ghc) ]] && \
die "Could not find a ghc to bootstrap with."
else
if ! yet_binary; then
eerror "Please try emerging with USE=ghcbootstrap and report build"
eerror "sucess or failure to the haskell team (haskell@gentoo.org)"
die "No binary available for '${ARCH}' arch yet, USE=ghcbootstrap"
fi
fi
}
src_unpack() {
# Create the ${S} dir if we're using the binary version
use binary && mkdir "${S}"
# the Solaris and Darwin binaries from ghc (maeder) need to be
# unpacked separately, so prevent them from being unpacked
local ONLYA=${A}
case ${CHOST} in
*-darwin* | *-solaris*) ONLYA=${P}-src.tar.bz2 ;;
esac
unpack ${ONLYA}
}
src_prepare() {
ghc_setup_cflags
if ! use ghcbootstrap; then
# Modify the wrapper script from the binary tarball to use GHC_FLAGS.
# See bug #313635.
sed -i -e "s|\"\$topdir\"|\"\$topdir\" ${GHC_FLAGS}|" \
"${WORKDIR}/usr/bin/ghc-${PV}"
# allow hardened users use vanilla binary to bootstrap ghc
# ghci uses mmap with rwx protection at it implements dynamic
# linking on it's own (bug #299709)
pax-mark -m "${WORKDIR}/usr/$(get_libdir)/${P}/ghc"
fi
if use binary; then
if use prefix; then
relocate_ghc "${EPREFIX}"
fi
# Move unpacked files to the expected place
mv "${WORKDIR}/usr" "${S}"
else
if ! use ghcbootstrap; then
case ${CHOST} in
*-darwin* | *-solaris*)
# UPDATE ME for ghc-7
mkdir "${WORKDIR}"/ghc-bin-installer || die
pushd "${WORKDIR}"/ghc-bin-installer > /dev/null || die
use sparc-solaris && unpack ghc-6.10.4-sparc-sun-solaris2.tar.bz2
use x86-solaris && unpack ghc-6.10.4-i386-unknown-solaris2.tar.bz2
use ppc-macos && unpack ghc-6.10.1-powerpc-apple-darwin.tar.bz2
use x86-macos && unpack ghc-6.10.1-i386-apple-darwin.tar.bz2
popd > /dev/null
pushd "${WORKDIR}"/ghc-bin-installer/ghc-6.10.? > /dev/null || die
# fix the binaries so they run, on Solaris we need an
# LD_LIBRARY_PATH which has our prefix libdirs, on
# Darwin we need to replace the frameworks with our libs
# from the prefix fix before installation, because some
# of the tools are actually used during configure/make
if [[ ${CHOST} == *-solaris* ]] ; then
export LD_LIBRARY_PATH="${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir):${LD_LIBRARY_PATH}"
elif [[ ${CHOST} == *-darwin* ]] ; then
# http://hackage.haskell.org/trac/ghc/ticket/2942
pushd utils/haddock/dist-install/build > /dev/null
ln -s Haddock haddock >& /dev/null # fails on IN-sensitive
popd > /dev/null
local readline_framework=GNUreadline.framework/GNUreadline
local gmp_framework=/opt/local/lib/libgmp.3.dylib
local ncurses_file=/opt/local/lib/libncurses.5.dylib
for binary in $(scanmacho -BRE MH_EXECUTE -F '%F' .) ; do
install_name_tool -change \
${readline_framework} \
"${EPREFIX}"/lib/libreadline.dylib \
${binary} || die
install_name_tool -change \
${gmp_framework} \
"${EPREFIX}"/usr/lib/libgmp.dylib \
${binary} || die
install_name_tool -change \
${ncurses_file} \
"${EPREFIX}"/usr/lib/libncurses.dylib \
${binary} || die
done
# we don't do frameworks!
sed -i \
-e 's/\(frameworks = \)\["GMP"\]/\1[]/g' \
-e 's/\(extraLibraries = \)\["m"\]/\1["m","gmp"]/g' \
rts/package.conf.in || die
fi
# it is autoconf, but we really don't want to give it too
# much arguments, in fact we do the make in-place anyway
./configure --prefix="${WORKDIR}"/usr || die
make install || die
popd > /dev/null
;;
*)
relocate_ghc "${WORKDIR}"
;;
esac
fi
sed -i -e "s|\"\$topdir\"|\"\$topdir\" ${GHC_FLAGS}|" \
"${S}/ghc/ghc.wrapper"
cd "${S}" # otherwise epatch will break
epatch "${FILESDIR}/ghc-7.0.4-CHOST-prefix.patch"
epatch "${FILESDIR}"/${PN}-7.0.4-darwin8.patch
# failed to apply. FIXME
#epatch "${FILESDIR}"/${PN}-6.12.3-mach-o-relocation-limit.patch
epatch "${FILESDIR}"/${PN}-7.4-rc2-macos-prefix-respect-gcc.patch
epatch "${FILESDIR}"/${PN}-7.2.1-freebsd-CHOST.patch
# one mode external depend with unstable ABI be careful to stash it
epatch "${FILESDIR}"/${PN}-7.4.2-system-libffi.patch
if use prefix; then
# Make configure find docbook-xsl-stylesheets from Prefix
sed -i -e '/^FP_DIR_DOCBOOK_XSL/s:\[.*\]:['"${EPREFIX}"'/usr/share/sgml/docbook/xsl-stylesheets/]:' utils/haddock/doc/configure.ac || die
fi
# as we have changed the build system
eautoreconf
fi
}
src_configure() {
if ! use binary; then
# initialize build.mk
echo '# Gentoo changes' > mk/build.mk
# Put docs into the right place, ie /usr/share/doc/ghc-${PV}
echo "docdir = ${EPREFIX}/usr/share/doc/${P}" >> mk/build.mk
echo "htmldir = ${EPREFIX}/usr/share/doc/${P}" >> mk/build.mk
# We also need to use the GHC_FLAGS flags when building ghc itself
echo "SRC_HC_OPTS+=${GHC_FLAGS}" >> mk/build.mk
echo "SRC_CC_OPTS+=${CFLAGS}" >> mk/build.mk
echo "SRC_LD_OPTS+=${FILTERED_LDFLAGS}" >> mk/build.mk
# We can't depend on haddock except when bootstrapping when we
# must build docs and include them into the binary .tbz2 package
if use ghcbootstrap && use doc; then
echo "BUILD_DOCBOOK_PDF = NO" >> mk/build.mk
echo "BUILD_DOCBOOK_PS = NO" >> mk/build.mk
echo "BUILD_DOCBOOK_HTML = YES" >> mk/build.mk
echo "HADDOCK_DOCS = YES" >> mk/build.mk
else
echo "BUILD_DOCBOOK_PDF = NO" >> mk/build.mk
echo "BUILD_DOCBOOK_PS = NO" >> mk/build.mk
echo "BUILD_DOCBOOK_HTML = NO" >> mk/build.mk
echo "HADDOCK_DOCS = NO" >> mk/build.mk
fi
# circumvent a very strange bug that seems related with ghc producing
# too much output while being filtered through tee (e.g. due to
# portage logging) reported as bug #111183
echo "SRC_HC_OPTS+=-w" >> mk/build.mk
# some arches do not support ELF parsing for ghci module loading
# PPC64: never worked (should be easy to implement)
# alpha: never worked
# arm: unimplemented or never worked
if use alpha || use ppc64 || use arm; then
echo "GhcWithInterpreter=NO" >> mk/build.mk
fi
# we have to tell it to build unregisterised on some arches
# ppc64: EvilMangler currently does not understand some TOCs
# ia64: EvilMangler bitrot
if use alpha || use ia64 || use ppc64; then
echo "GhcUnregisterised=YES" >> mk/build.mk
echo "GhcWithNativeCodeGen=NO" >> mk/build.mk
echo "SplitObjs=NO" >> mk/build.mk
echo "GhcRTSWays := debug" >> mk/build.mk
echo "GhcNotThreaded=YES" >> mk/build.mk
fi
# arm: no EvilMangler support, no NCG support
if use arm; then
echo "GhcUnregisterised=YES" >> mk/build.mk
echo "GhcWithNativeCodeGen=NO" >> mk/build.mk
fi
# Have "ld -r --relax" problem with split-objs on sparc:
if use sparc; then
echo "SplitObjs=NO" >> mk/build.mk
fi
if ! use llvm; then
echo "GhcWithLlvmCodeGen=NO" >> mk/build.mk
fi
# Get ghc from the unpacked binary .tbz2
# except when bootstrapping we just pick ghc up off the path
if ! use ghcbootstrap; then
export PATH="${WORKDIR}/usr/bin:${PATH}"
fi
# Since GHC 6.12.2 the GHC wrappers store which GCC version GHC was
# compiled with, by saving the path to it. The purpose is to make sure
# that GHC will use the very same gcc version when it compiles haskell
# sources, as the extra-gcc-opts files contains extra gcc options which
# match only this GCC version.
# However, this is not required in Gentoo, as only modern GCCs are used
# (>4).
# Instead, this causes trouble when for example ccache is used during
# compilation, but we don't want the wrappers to point to ccache.
# Due to the above, we simply set GCC to be "gcc". When compiling ghc it
# might point to ccache, once installed it will point to the users
# regular gcc.
econf --with-gcc=gcc || die "econf failed"
fi # ! use binary
}
src_compile() {
if ! use binary; then
limit_jobs() {
if [[ -n ${I_DEMAND_MY_CORES_LOADED} ]]; then
ewarn "You have requested parallel build which is known to break."
ewarn "Please report all breakages upstream."
return
fi
echo $@
}
# ghc massively parallel make: #409631, #409873
# but let users screw it by setting 'I_DEMAND_MY_CORES_LOADED'
emake $(limit_jobs -j1) all
fi # ! use binary
}
src_install() {
if use binary; then
use prefix && mkdir -p "${ED}"
mv "${S}/usr" "${ED}"
# Remove the docs if not requested
if ! use doc; then
rm -rf "${ED}/usr/share/doc/${P}/*/" \
"${ED}/usr/share/doc/${P}/*.html" \
|| die "could not remove docs (P vs PF revision mismatch?)"
fi
else
local insttarget="install"
# We only built docs if we were bootstrapping, otherwise
# we copy them out of the unpacked binary .tbz2
if use doc; then
if ! use ghcbootstrap; then
mkdir -p "${ED}/usr/share/doc"
mv "${WORKDIR}/usr/share/doc/${P}" "${ED}/usr/share/doc" \
|| die "failed to copy docs"
fi
fi
emake -j1 ${insttarget} \
DESTDIR="${D}" \
|| die "make ${insttarget} failed"
# remove wrapper and linker
rm -f "${ED}"/usr/bin/haddock*
# ghci uses mmap with rwx protection at it implements dynamic
# linking on it's own (bug #299709)
# so mark resulting binary
pax-mark -m "${ED}/usr/$(get_libdir)/${P}/ghc"
dodoc "${S}/README" "${S}/ANNOUNCE" "${S}/LICENSE" "${S}/VERSION"
dobashcomp "${FILESDIR}/ghc-bash-completion"
fi
# path to the package.cache
PKGCACHE="${ED}/usr/$(get_libdir)/${P}/package.conf.d/package.cache"
# copy the package.conf, including timestamp, save it so we later can put it
# back before uninstalling, or when upgrading.
cp -p "${PKGCACHE}"{,.shipped} \
|| die "failed to copy package.conf.d/package.cache"
}
pkg_preinst() {
# have we got an earlier version of ghc installed?
if has_version "<${CATEGORY}/${PF}"; then
haskell_updater_warn="1"
fi
}
pkg_postinst() {
ghc-reregister
# path to the package.cache
PKGCACHE="${EROOT}/usr/$(get_libdir)/${P}/package.conf.d/package.cache"
# give the cache a new timestamp, it must be as recent as
# the package.conf.d directory.
touch "${PKGCACHE}"
if [[ "${haskell_updater_warn}" == "1" ]]; then
ewarn
ewarn "\e[1;31m************************************************************************\e[0m"
ewarn
ewarn "You have just upgraded from an older version of GHC."
ewarn "You may have to run"
ewarn " 'haskell-updater --upgrade'"
ewarn "to rebuild all ghc-based Haskell libraries."
ewarn
ewarn "\e[1;31m************************************************************************\e[0m"
ewarn
fi
}
pkg_prerm() {
# Be very careful here... Call order when upgrading is (according to PMS):
# * src_install for new package
# * pkg_preinst for new package
# * pkg_postinst for new package
# * pkg_prerm for the package being replaced
# * pkg_postrm for the package being replaced
# so you'll actually be touching the new packages files, not the one you
# uninstall, due to that or installation directory ${P} will be the same for
# both packages.
# Call order for reinstalling is (according to PMS):
# * src_install
# * pkg_preinst
# * pkg_prerm for the package being replaced
# * pkg_postrm for the package being replaced
# * pkg_postinst
# Overwrite the modified package.cache with a copy of the
# original one, so that it will be removed during uninstall.
PKGCACHE="${EROOT}/usr/$(get_libdir)/${P}/package.conf.d/package.cache"
rm -rf "${PKGCACHE}"
cp -p "${PKGCACHE}"{.shipped,}
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.6.8.ebuild,v 1.4 2012/04/26 23:29:48 floppym Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.6.8.ebuild,v 1.5 2012/04/28 01:04:07 aballier Exp $
EAPI="2"
WANT_AUTOMAKE="none"
@ -19,7 +19,7 @@ SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.bz2
LICENSE="PSF-2"
SLOT="2.6"
PYTHON_ABI="${SLOT}"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="-berkdb build doc elibc_uclibc examples gdbm ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml"
RDEPEND="app-arch/bzip2

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.7.3-r1.ebuild,v 1.4 2012/04/26 23:29:48 floppym Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.7.3-r1.ebuild,v 1.5 2012/04/28 01:04:07 aballier Exp $
EAPI="2"
WANT_AUTOMAKE="none"
@ -19,7 +19,7 @@ SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.bz2
LICENSE="PSF-2"
SLOT="2.7"
PYTHON_ABI="${SLOT}"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="-berkdb build doc elibc_uclibc examples gdbm ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml"
RDEPEND="app-arch/bzip2

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.1.5.ebuild,v 1.4 2012/04/26 23:29:48 floppym Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.1.5.ebuild,v 1.5 2012/04/28 01:04:07 aballier Exp $
EAPI="3"
WANT_AUTOMAKE="none"
@ -19,7 +19,7 @@ SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz
LICENSE="PSF-2"
SLOT="3.1"
PYTHON_ABI="${SLOT}"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="build doc elibc_uclibc examples gdbm ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml"
RDEPEND="app-arch/bzip2

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.2.3.ebuild,v 1.4 2012/04/26 23:29:48 floppym Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.2.3.ebuild,v 1.5 2012/04/28 01:04:07 aballier Exp $
EAPI="3"
WANT_AUTOMAKE="none"
@ -19,7 +19,7 @@ SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz
LICENSE="PSF-2"
SLOT="3.2"
PYTHON_ABI="${SLOT}"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="build doc elibc_uclibc examples gdbm ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml"
RDEPEND="app-arch/bzip2

@ -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/atk/atk-2.4.0.ebuild,v 1.2 2012/04/19 08:58:13 pacho Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/atk/atk-2.4.0.ebuild,v 1.3 2012/04/28 03:54:43 aballier Exp $
EAPI="4"
GCONF_DEBUG="no"
@ -13,7 +13,7 @@ HOMEPAGE="http://projects.gnome.org/accessibility/"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
IUSE="doc +introspection nls"
RDEPEND=">=dev-libs/glib-2.31.2:2

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.48.0-r1.ebuild,v 1.5 2012/04/12 18:08:53 floppym Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.48.0-r1.ebuild,v 1.6 2012/04/28 03:26:43 aballier Exp $
EAPI="4"
PYTHON_DEPEND="python? *"
@ -17,7 +17,7 @@ SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2"
LICENSE="Boost-1.0"
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 ~amd64-fbsd ~x86-fbsd"
IUSE="debug doc +eselect icu mpi python static-libs test tools"
RDEPEND="icu? ( >=dev-libs/icu-3.3 )

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.49.0.ebuild,v 1.2 2012/04/12 18:08:53 floppym Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.49.0.ebuild,v 1.3 2012/04/28 03:26:43 aballier Exp $
EAPI="4"
PYTHON_DEPEND="python? *"
@ -17,7 +17,7 @@ SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2"
LICENSE="Boost-1.0"
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 ~amd64-fbsd ~x86-fbsd"
IUSE="debug doc +eselect icu mpi python static-libs test tools"
RDEPEND="icu? ( >=dev-libs/icu-3.3 )

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-1.1-r3.ebuild,v 1.2 2012/04/27 06:42:44 jdhore Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-1.1-r3.ebuild,v 1.3 2012/04/27 16:05:12 jer Exp $
EAPI=4
@ -11,7 +11,7 @@ HOMEPAGE="http://www.infradead.org/~tgr/libnl/"
SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="1.1"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux ~ia64-linux ~x86-linux"
KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux ~ia64-linux ~x86-linux"
IUSE="doc"
DEPEND="doc? ( app-doc/doxygen )"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-3.2.7.ebuild,v 1.4 2012/04/27 06:42:44 jdhore Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-3.2.7.ebuild,v 1.5 2012/04/27 16:05:12 jer Exp $
EAPI="4"
@ -11,7 +11,7 @@ HOMEPAGE="http://www.infradead.org/~tgr/libnl/"
SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="3"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux ~ia64-linux ~x86-linux"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux ~ia64-linux ~x86-linux"
IUSE="static-libs utils"
DEPEND="

@ -0,0 +1,65 @@
--- a/configure.in
+++ b/configure.in
@@ -18,6 +18,7 @@
AC_PROG_CXX
AC_PROG_LIBTOOL
+PKG_PROG_PKG_CONFIG
AC_LANG(C++)
ACX_PTHREAD
@@ -25,6 +26,12 @@
AC_CHECK_HEADER([zlib.h], , AC_MSG_ERROR([zlib not found]))
AC_CHECK_HEADER([cxxtools/net/tcpsocket.h], , AC_MSG_ERROR([cxxtools headers not found]))
+PKG_CHECK_MODULES([MINIZIP], [minizip],
+ [HAVE_MINIZIP=true], [HAVE_MINIZIP=false])
+AC_SUBST([MINIZIP_CFLAGS])
+AC_SUBST([MINIZIP_LIBS])
+AM_CONDITIONAL([HAVE_MINIZIP], [test $HAVE_MINIZIP = true])
+
AC_ARG_WITH([epoll],
AS_HELP_STRING([--with-epoll=yes|no|probe], [use epoll]),
[epoll_option=$withval],
--- a/framework/common/Makefile.am
+++ b/framework/common/Makefile.am
@@ -23,7 +23,6 @@ libtntnet_la_SOURCES = \
httpparser.cpp \
httprequest.cpp \
httpreply.cpp \
- ioapi.c \
job.cpp \
langlib.cpp \
listener.cpp \
@@ -41,16 +40,13 @@ libtntnet_la_SOURCES = \
stringlessignorecase.cpp \
tntconfig.cpp \
tntnet.cpp \
- unzip.c \
unzipfile.cpp \
urlescostream.cpp \
urlmapper.cpp \
util.cpp \
worker.cpp \
zdata.cpp \
- crypt.h \
- ioapi.h \
- unzip.h
+ crypt.h
nobase_include_HEADERS = \
tnt/applicationunlocker.h \
@@ -145,3 +141,13 @@ noinst_HEADERS += \
tnt/stressjob.h
endif
+if HAVE_MINIZIP
+libtntnet_la_CXXFLAGS += $(MINIZIP_CFLAGS)
+libtntnet_la_LDFLAGS += $(MINIZIP_LIBS)
+else
+libtntnet_la_SOURCES += \
+ ioapi.c \
+ ioapi.h \
+ unzip.c \
+ unzip.h
+endif

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/tntnet/tntnet-2.0-r1.ebuild,v 1.1 2011/01/21 00:01:06 idl0r Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/tntnet/tntnet-2.0-r1.ebuild,v 1.2 2012/04/27 22:53:37 vapier Exp $
EAPI="3"
@ -16,7 +16,7 @@ KEYWORDS="~amd64 ~sparc ~x86"
IUSE="cgi doc examples gnutls server sdk ssl"
RDEPEND=">=dev-libs/cxxtools-2.0
sys-libs/zlib
sys-libs/zlib[minizip]
ssl? (
gnutls? (
>=net-libs/gnutls-1.2.0
@ -25,12 +25,15 @@ RDEPEND=">=dev-libs/cxxtools-2.0
!gnutls? ( dev-libs/openssl )
)"
DEPEND="${RDEPEND}
dev-util/pkgconfig
examples? ( app-arch/zip )"
src_prepare() {
# Both fixed in the next release
epatch "${FILESDIR}/${P}-as-needed.patch"
epatch "${FILESDIR}/${P}-gnutls.patch"
epatch "${FILESDIR}"/${P}-zlib-minizip.patch
rm framework/common/{ioapi,unzip}.[ch] || die
eautoreconf

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Devel-Symdump/Devel-Symdump-2.80.0.ebuild,v 1.2 2011/09/03 21:05:06 tove Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Devel-Symdump/Devel-Symdump-2.80.0.ebuild,v 1.3 2012/04/28 01:42:42 aballier Exp $
EAPI=4
@ -11,7 +11,7 @@ inherit versionator perl-module
DESCRIPTION="Dump symbol names or the symbol table"
SLOT="0"
KEYWORDS="alpha ~amd64 arm hppa ia64 ~mips ~ppc ~ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
KEYWORDS="alpha ~amd64 arm hppa ia64 ~mips ~ppc ~ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
IUSE=""
SRC_TEST="do"

@ -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/Error/Error-0.170.170.ebuild,v 1.1 2012/02/12 20:09:44 tove Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Error/Error-0.170.170.ebuild,v 1.2 2012/04/28 02:44:51 aballier Exp $
EAPI=4
@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="Error/exception handling in an OO-ish way"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
RDEPEND=""

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Pod-Coverage/Pod-Coverage-0.220.0.ebuild,v 1.1 2012/02/08 14:32:36 tove Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Pod-Coverage/Pod-Coverage-0.220.0.ebuild,v 1.2 2012/04/28 02:44:14 aballier Exp $
EAPI=4
@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="Checks if the documentation of a module is comprehensive"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
IUSE="test"
RDEPEND="

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Test-Pod-Coverage/Test-Pod-Coverage-1.80.0.ebuild,v 1.2 2011/09/03 21:04:40 tove Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Test-Pod-Coverage/Test-Pod-Coverage-1.80.0.ebuild,v 1.3 2012/04/28 02:44:32 aballier Exp $
EAPI=4
@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="Check for pod coverage in your distribution"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
IUSE="test"
RDEPEND=">=virtual/perl-Test-Simple-0.62

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Test-Pod/Test-Pod-1.450.0.ebuild,v 1.2 2011/07/30 10:45:05 tove Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Test-Pod/Test-Pod-1.450.0.ebuild,v 1.3 2012/04/28 02:42:52 aballier Exp $
EAPI=3
@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="check for POD errors in files"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
IUSE=""
RDEPEND=">=virtual/perl-Pod-Simple-3.05

@ -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/locale-maketext-lexicon/locale-maketext-lexicon-0.910.0.ebuild,v 1.6 2012/03/31 17:01:53 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/locale-maketext-lexicon/locale-maketext-lexicon-0.910.0.ebuild,v 1.7 2012/04/28 02:21:27 aballier Exp $
EAPI=4
@ -13,7 +13,7 @@ DESCRIPTION="Use other catalog formats in Maketext"
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ~ppc sparc x86"
KEYWORDS="alpha amd64 hppa ia64 ~ppc sparc x86 ~amd64-fbsd"
IUSE="test"
RDEPEND=">=virtual/perl-locale-maketext-1.17"

@ -0,0 +1 @@
DIST SchemaObject-0.5.3.tar.gz 19921 RMD160 58bc0109c43cafc3c7f1ac8423850c89d87d4dc3 SHA1 b86ab6314de362763a63643ee0f3821d601e846a SHA256 8d63dde2ed6a6773b7a10cdb3aa9c43e05c6e16a7b3cc59b42ad71b80511d4e0

@ -0,0 +1,41 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/SchemaObject/SchemaObject-0.5.3.ebuild,v 1.1 2012/04/28 00:03:17 blueness Exp $
EAPI=4
PYTHON_DEPEND="2:2.5:2.6"
inherit distutils
DESCRIPTION="A simple Python object interface to a MySQL database schema"
HOMEPAGE="http://matuson.com/code/schemaobject/"
SRC_URI="http://www.matuson.com/code/schemaobject/downloads/${P}.tar.gz"
pn="${PN,,}"
S="${WORKDIR}/${pn}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
python_convert_shebangs -r 2 .
}
pkg_postinst() {
python_mod_optimize "${pn}"
}
pkg_postrm() {
python_mod_cleanup "${pn}"
}

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>blueness@gentoo.org</email>
<name>Anthony G. Basile</name>
</maintainer>
</pkgmetadata>

@ -0,0 +1,2 @@
DIST django-xslt-0.4.5.tar.gz 15717 RMD160 fe16d9d90ef48a639b4867a30a801f86fbfa5456 SHA1 e0c4b88c113b0ee47dc6adfe2c2cbb03a6625452 SHA256 db3bad334310e13a37391cbd52fc1b0432165d9a97494c9413008c0fc8023ccb
DIST django-xslt-demoapp-0.4.5_p20120427.tar.bz2 5506 RMD160 81df2aba4987bac6fd5aa042121e52e398cc13df SHA1 73ab63fcb49d925cd3c58a8098cd46b833bb80e5 SHA256 a448e2cb6db716199915a1bc3a49ab28388cdb41d4ad3e7c6a0127e82143766f

@ -0,0 +1,37 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-xslt/django-xslt-0.4.5.ebuild,v 1.1 2012/04/27 13:48:21 tampakrap Exp $
EAPI=4
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS=1
RESTRICT_PYTHON_ABIS="3.*"
inherit distutils
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
test? ( http://dev.gentoo.org/~tampakrap/tarballs/${PN}-demoapp-0.4.5_p20120427.tar.bz2 )"
DESCRIPTION="A configurable set of panels that display debug information"
HOMEPAGE="http://pypi.python.org/pypi/django-xslt/"
KEYWORDS="~amd64 ~x86"
IUSE="test"
LICENSE="BSD"
SLOT="0"
PYTHON_MODNAME="djangoxslt"
RDEPEND=""
DEPEND="${RDEPEND}
dev-python/django
dev-python/setuptools
test? ( dev-python/lxml )"
src_test() {
testing() {
pushd "${WORKDIR}/demoapp" > /dev/null
PYTHONPATH="${S}/build-${PYTHON_ABI}/lib/" \
"$(PYTHON)" manage.py test
popd "${WORKDIR}/demoapp" > /dev/null
}
python_execute_function testing
}

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>johneed@hotmail.com</email>
<name>Ian Delaney</name>
</maintainer>
<maintainer>
<email>tampakrap@gentoo.org</email>
<name>Theo Chatzimichos</name>
</maintainer>
<herd>python</herd>
</pkgmetadata>

@ -0,0 +1 @@
DIST errorhandler-1.1.1.tar.gz 8321 RMD160 3a60f826eb1bae0e249fdefd3d6c4eb3c598832f SHA1 da35daadd394e9c827e51e190de9a442d8de3d38 SHA256 2baa97a8a256fe72960d196bbdee4404162186f539c4d73b3f1c072db18463e9

@ -0,0 +1,55 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/errorhandler/errorhandler-1.1.1.ebuild,v 1.1 2012/04/27 12:52:42 tampakrap Exp $
EAPI=4
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS=1
RESTRICT_PYTHON_ABIS="3.*"
inherit distutils eutils
DESCRIPTION="A logging framework handler that tracks when messages above a certain level have been logged"
HOMEPAGE="http://pypi.python.org/pypi/errorhandler"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
LICENSE="MIT"
SLOT="0"
RDEPEND=""
DEPEND="${RDEPEND} dev-python/pkginfo
dev-python/setuptools
doc? ( dev-python/sphinx )"
src_prepare() {
sed -e 's:../bin/sphinx-build:/usr/bin/sphinx-build:' -i docs/Makefile || die
epatch "${FILESDIR}"/${P}-test.patch
distutils_src_prepare
}
src_compile() {
distutils_src_compile
if use doc; then
emake -C docs html
fi
}
src_test() {
testing() {
PYTHONPATH="build-${PYTHON_ABI}/lib/" "$(PYTHON)" -c \
"import errorhandler.tests as et, unittest; \
unittest.TextTestRunner().run(et.test_suite())"
}
python_execute_function testing
}
src_install() {
if use doc; then
dohtml -r docs/_build/html/
fi
distutils_src_install
}

@ -0,0 +1,9 @@
diff -ur errorhandler-1.1.1.orig/errorhandler/tests.py errorhandler-1.1.1/errorhandler/tests.py
--- errorhandler/tests.py 2010-03-01 16:41:46.000000000 +0800
+++ errorhandler/tests.py 2012-04-26 02:28:11.991954681 +0800
@@ -134,3 +134,5 @@
tearDown=tearDown,
optionflags=options),
))
+if __name__ == "__main__":
+ unittest.main()

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>johneed@hotmail.com</email>
<name>Ian Delaney</name>
</maintainer>
<maintainer>
<email>tampakrap@gentoo.org</email>
<name>Theo Chatzimichos</name>
</maintainer>
<herd>python</herd>
</pkgmetadata>

@ -0,0 +1 @@
DIST pkginfo-0.8.tar.gz 22374 RMD160 ba986fa440be81477c446442d6c6b2ce480cfabe SHA1 05e7b8a266c26c2744695a33c6164243e2f7ec92 SHA256 5d37007c0ca72e41367bd2c1a9af6d5927996f516b6df7584110ef7cafd0efbb

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>johneed@hotmail.com</email>
<name>Ian Delaney</name>
</maintainer>
<maintainer>
<email>tampakrap@gentoo.org</email>
<name>Theo Chatzimichos</name>
</maintainer>
<herd>python</herd>
</pkgmetadata>

@ -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-python/pkginfo/pkginfo-0.8.ebuild,v 1.1 2012/04/27 12:49:29 tampakrap Exp $
EAPI=4
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS=1
RESTRICT_PYTHON_ABIS="3.*"
inherit distutils eutils
DESCRIPTION="Provides an API for querying the distutils metadata written in a PKG-INFO file"
HOMEPAGE="http://pypi.python.org/pypi/pkginfo"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples"
LICENSE="MIT"
SLOT="0"
DEPEND="doc? ( dev-python/sphinx )
dev-python/setuptools"
RDEPEND="${DEPEND}"
src_prepare() {
sed -e 's:SPHINXBUILD = sphinx-build:SPHINXBUILD = /usr/bin/sphinx-build:' \
-i docs/Makefile || die
}
src_compile() {
distutils_src_compile
if use doc; then
emake -C docs html
fi
}
src_test() {
testing() {
pushd pkginfo/tests/ > /dev/null
for test in test_*.py; do
PYTHONPATH="../../build-${PYTHON_ABI}/lib/" \
"$(PYTHON)" "${test}" || die "${test} failed with Python ${PYTHON_ABI}"
if [[ $? ]]; then
einfo "Test "${test}" successful"
fi
done
popd > /dev/null
}
python_execute_function testing
}
src_install() {
distutils_src_install
if use doc; then
dohtml -r docs/.build/html/*
fi
if use examples; then
insinto usr/share/doc/${PF}/
doins -r docs/examples/
fi
}

@ -1,2 +1 @@
DIST pry-0.9.6.2.gem 84480 RMD160 cb6a437cd6900819f97fcf714b5870c6f092a60c SHA1 06c2033c120bc6df4d52e16bf76da4dbcd193d4c SHA256 3241e68f5696bfecc2c0c2ff1f3cadb687397d547df861120a865684e2e47e25
DIST pry-0.9.7.4.gem 99328 RMD160 932120f7a5e3790314901e125807dc623695bf9e SHA1 27efd97aec9fbc879053decc533832671d8a12c4 SHA256 dd19dc0153d6569745227987deb8a504e3cd39e80779162d91b7c7805cfdb312

@ -1,41 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pry/pry-0.9.6.2.ebuild,v 1.1 2011/10/24 18:43:59 graaff Exp $
EAPI=4
USE_RUBY="ruby18 ree18"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.markdown"
inherit ruby-fakegem
DESCRIPTION="Pry is a powerful alternative to the standard IRB shell for Ruby."
HOMEPAGE="https://github.com/pry/pry/wiki"
IUSE=""
SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64"
ruby_add_rdepend ">=dev-ruby/ruby_parser-2.0.5
>=dev-ruby/coderay-0.9.8
>=dev-ruby/slop-2.1.0
>=dev-ruby/method_source-0.6.5"
ruby_add_bdepend "test? ( >=dev-ruby/bacon-1.1.0 )"
all_ruby_prepare() {
# Make version dependencies more lenient to avoid problems with
# compatible upgrades.
sed -i -e 's/~> 2.0.5/>= 2.0.5/' \
-e 's/~> 0.9.8/>= 0.9.8/' \
-e 's/~> 2.1.0/>= 2.1.0/' \
-e 's/~> 0.6.5/>= 0.6.5/' \
pry.gemspec || die
}
each_ruby_test() {
${RUBY} -S bacon -Itest -a -q || 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-util/boost-build/boost-build-1.48.0-r1.ebuild,v 1.1 2012/01/19 22:40:07 hwoarang Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/boost-build-1.48.0-r1.ebuild,v 1.2 2012/04/28 02:58:31 aballier Exp $
EAPI="4"
PYTHON_DEPEND="python? *"
@ -16,7 +16,7 @@ SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
LICENSE="Boost-1.0"
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 ~amd64-fbsd ~x86-fbsd"
IUSE="examples python"
DEPEND="!<dev-libs/boost-1.34.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-util/boost-build/boost-build-1.49.0.ebuild,v 1.1 2012/04/02 00:00:51 floppym Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/boost-build-1.49.0.ebuild,v 1.2 2012/04/28 02:58:31 aballier Exp $
EAPI="4"
PYTHON_DEPEND="python? *"
@ -16,7 +16,7 @@ SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
LICENSE="Boost-1.0"
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 ~amd64-fbsd ~x86-fbsd"
IUSE="examples python"
DEPEND="!<dev-libs/boost-1.34.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-util/gtk-doc/gtk-doc-1.18-r1.ebuild,v 1.4 2012/04/25 20:13:16 maekke Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/gtk-doc-1.18-r1.ebuild,v 1.5 2012/04/28 02:55:29 aballier Exp $
EAPI="3"
GCONF_DEBUG="yes"
@ -14,7 +14,7 @@ HOMEPAGE="http://www.gtk.org/gtk-doc/"
LICENSE="GPL-2 FDL-1.1"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris"
IUSE="debug doc emacs highlight vim test"
# dev-tex/tex4ht blocker needed due bug #315287

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvs/cvs-1.12.12-r9.ebuild,v 1.1 2011/01/05 04:50:41 robbat2 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvs/cvs-1.12.12-r9.ebuild,v 1.2 2012/04/28 02:48:35 aballier Exp $
EAPI=3
@ -16,7 +16,7 @@ SRC_URI="mirror://gnu/non-gnu/cvs/source/feature/${PV}/${P}.tar.bz2
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="crypt doc kerberos nls pam server"

@ -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/eclass/elisp-common.eclass,v 1.79 2012/02/11 12:20:33 ulm Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.80 2012/04/27 19:51:52 ulm Exp $
#
# @ECLASS: elisp-common.eclass
# @MAINTAINER:
@ -159,7 +159,7 @@ EMACS=${EPREFIX}/usr/bin/emacs
# @ECLASS-VARIABLE: EMACSFLAGS
# @DESCRIPTION:
# Flags for executing Emacs in batch mode.
# These work for Emacs versions 18-23, so don't change them.
# These work for Emacs versions 18-24, so don't change them.
EMACSFLAGS="-batch -q --no-site-file"
# @ECLASS-VARIABLE: BYTECOMPFLAGS
@ -173,7 +173,7 @@ BYTECOMPFLAGS="-L ."
elisp-emacs-version() {
local ret
# The following will work for at least versions 18-23.
# The following will work for at least versions 18-24.
echo "(princ emacs-version)" >"${T}"/emacs-version.el
${EMACS} ${EMACSFLAGS} -l "${T}"/emacs-version.el
ret=$?
@ -195,6 +195,10 @@ elisp-need-emacs() {
local need_emacs=$1 have_emacs
have_emacs=$(elisp-emacs-version) || return
einfo "Emacs version: ${have_emacs}"
if [[ ${have_emacs} =~ XEmacs|Lucid ]]; then
eerror "This package needs GNU Emacs."
return 1
fi
if ! [[ ${have_emacs%%.*} -ge ${need_emacs%%.*} ]]; then
eerror "This package needs at least Emacs ${need_emacs%%.*}."
eerror "Use \"eselect emacs\" to select the active version."

@ -1 +1,2 @@
DIST akonadi-google-0.3.1.tar.gz 87677 RMD160 4e95da4a88ef402c747cfa0916e4d1cff4057254 SHA1 031a1f6edb56d9cd2bf9f32b38621ac827e685cc SHA256 bba88dbddb6fd14e75bea3cc08a1a66615a3a079299cac4c243d8ab86ef7aec0
DIST akonadi-google-0.3.tar.gz 139920 RMD160 44670a4581adad3c35c6c0a7f6bfd8ff9f24da46 SHA1 959da6470c0cd3da3d6acf3bbd37f5bedee5c39d SHA256 85275628d09308f6b5e8f0c198749678cea472d0bb841d69be4ac19599970174

@ -0,0 +1,34 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/akonadi-google/akonadi-google-0.3.1.ebuild,v 1.1 2012/04/27 22:00:24 johu Exp $
EAPI=4
KDE_SCM="git"
EGIT_REPONAME="akonadi-google"
inherit kde4-base
DESCRIPTION="Google services integration in Akonadi"
HOMEPAGE="https://projects.kde.org/projects/playground/pim/akonadi-google"
SRC_URI="http://www.progdan.cz/wp-content/uploads/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="4"
KEYWORDS="~amd64 ~x86"
IUSE="oldpim"
DEPEND="
$(add_kdebase_dep kdepimlibs semantic-desktop)
dev-libs/libxslt
dev-libs/qjson
oldpim? ( dev-libs/boost )
!oldpim? ( $(add_kdebase_dep kdepimlibs semantic-desktop 4.6.0) )
"
RDEPEND=${DEPEND}
src_configure() {
mycmakeargs=(
$(cmake-utils_use oldpim KCAL)
)
kde4-base_src_configure
}

@ -0,0 +1,66 @@
yEd Software License Agreement
Version 1.1
This is a legal agreement ("this Agreement") between yWorks GmbH ("yWorks") and the licensee ("the Licensee"). yWorks licenses the yEd Software ("the Software") only if all the following terms are accepted by the Licensee. The Software includes the yEd byte code executable and any files and documents associated with it.
By installing the Software, the Licensee is indicating that he/she has read and understands this Agreement and agrees to be bound by its terms and conditions. If this Agreement is unacceptable to the Licensee, the Licensee must destroy any copies of the Software in the Licensee's possession immediately.
1. LICENSE CONDITIONS
The Licensee is granted a non-exclusive and non-transferable right to install one copy of the Software and use it as an application. The Software may not be used as part of an automated process. The Licensee may not reverse engineer, disassemble, decompile, or unjar the Software, or otherwise attempt to derive the source code of the Software.
The Licensee acknowledges that Software furnished hereunder is under test and may be defective. No claims whatsoever can be made on yWorks based on any expectation about the Software.
2. TERM, TERMINATION AND SURVIVAL
The Licensee may terminate this Agreement at any time by destroying all copies of the Software in possession.
If the Licensee fails to comply with any term of this Agreement, this Agreement is terminated and the Licensee has no further right to use the Software.
On termination, the Licensee shall have no claim on or arising from the Software. The Software and any copies shall be destroyed.
3. NO WARRANTY
The Software is licensed to the Licensee on an "AS IS" basis. The Licensee is solely responsible for determining the suitability of the Software and accepts full responsibility and risks associated with the use of the Software.
4. MAINTENANCE AND SUPPORT
yWorks is not required to provide maintenance or support to the Licensee.
5. LIMITATION OF LIABILITY
In no event will yWorks be liable for any damages, including but not limited to any loss of revenue, profit, or data, however caused, directly or indirectly, by the Software or by this Agreement.
6. DISTRIBUTION
No distribution is to be made of the Software by the Licensee. The Licensee may make one copy of the Software for backup purpose only.
7. AVAILABILITY
The Software is not available to those not permitted by law to have access to the Software.
8. INSERTION OF MARKER
The Software may insert some markers into any output files to identify that the files are generated by the Software. yWorks bears no responsibility for any damages arising.
9. MISCELLANEOUS
This agreement is made and shall be construed in accordance with the laws of Germany.
THIRD-PARTY SOFTWARE AND LICENSES
This Software makes use of the Batik SVG Toolkit, Apache XMLBeans, and Apache POI. The Apache Software License (http://xml.apache.org/batik) applies to them.
This Software makes use of the JIDE Docking Framework and JIDE Action Framework licensed from JIDE Software (http://www.jidesoft.com).
This Software uses icons licensed from Incors GmbH (http://www.incors.com).
This Software includes a Swing LnF created by JGoodies and the dom4j library. The BSD License (http://www.opensource.org/licenses/bsd-license.html) applies to them.
This Software makes use of the FreeHEP VectorGraphics library (http://java.freehep.org). The GNU LESSER GENERAL PUBLIC LICENSE, Version 2.1 (http://java.freehep.org/vectorgraphics/license.html) applies to it.
This Software makes use of the JavaHelp System (https://javahelp.dev.java.net/). The GNU General Public License - Version 2 (https://javahelp.dev.java.net/license.txt) with the class path exception applies to it.
This Software makes use of the svg-viewer rendering engine (http://code.google.com/p/svg-viewer/). The MIT License (http://www.opensource.org/licenses/mit-license.php) applies to it.
The installer for this Software may contain a Java Runtime Environment (JRE) (http://java.com). The SUN MICROSYSTEMS, INC. BINARY CODE LICENSE AGREEMENT with SUPPLEMENTAL LICENSE TERMS (http://java.com/en/download/license.jsp) applies to it.

@ -1 +1 @@
DIST pianobar-2012.01.10.tar.bz2 68839 RMD160 60573b71376d3494b4b46421c5ba24369136f025 SHA1 00ac42883157c5e3468ceb57161f1bf04b8fb020 SHA256 6d19e5abde542bcdf8b9cfa50448fbe95c1e113f59e54065c9f4e0fbf78690f9
DIST pianobar-2012.04.24.tar.bz2 69538 RMD160 118a7a7b2f91df85a8b8d0ef46fa57fba39152a5 SHA1 a14d4fa3f86b933a663b4b58e003d8c96157ec79 SHA256 1286005b14ef58ea5b7baece054e772761e6351fdeceadd3a69e0a7c8b9bf28e

@ -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/media-sound/pianobar/pianobar-2012.01.10.ebuild,v 1.1 2012/01/11 07:08:42 radhermit Exp $
# $Header: /var/cvsroot/gentoo-x86/media-sound/pianobar/pianobar-2012.04.24.ebuild,v 1.1 2012/04/27 11:13:06 radhermit Exp $
EAPI="4"

@ -6,7 +6,7 @@
http://www.gentoo.org/proj/en/eselect/
GPL-2
boost module for eselect
~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd
~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd
multilib toolchain-funcs

@ -6,7 +6,7 @@ http://www.sudo.ws/sudo/dist/sudo-1.8.4p4.tar.gz ftp://ftp.sudo.ws/pub/sudo/sudo
http://www.sudo.ws/
as-is BSD
Allows users or groups to run commands as other users
~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd
~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~sparc-solaris
eutils flag-o-matic libtool multilib pam toolchain-funcs user
ldap nls pam offensive selinux skey
pam? ( !skey ) skey? ( !pam )

@ -1,7 +1,7 @@
sys-libs/ncurses >=app-admin/eselect-emacs-1.2 net-libs/liblockfile hesiod? ( net-dns/hesiod ) kerberos? ( virtual/krb5 ) alsa? ( media-libs/alsa-lib ) gpm? ( sys-libs/gpm ) dbus? ( sys-apps/dbus ) gnutls? ( net-libs/gnutls ) libxml2? ( >=dev-libs/libxml2-2.2.0 ) selinux? ( sys-libs/libselinux ) X? ( x11-libs/libXmu x11-libs/libXt x11-misc/xbitmaps gconf? ( >=gnome-base/gconf-2.26.2 ) gsettings? ( >=dev-libs/glib-2.28.6 ) gif? ( media-libs/giflib ) jpeg? ( virtual/jpeg ) png? ( >=media-libs/libpng-1.4:0 ) svg? ( >=gnome-base/librsvg-2.0 ) tiff? ( media-libs/tiff ) xpm? ( x11-libs/libXpm ) imagemagick? ( >=media-gfx/imagemagick-6.6.2 ) xft? ( media-libs/fontconfig media-libs/freetype x11-libs/libXft m17n-lib? ( >=dev-libs/libotf-0.9.4 >=dev-libs/m17n-lib-1.5.1 ) ) gtk? ( gtk3? ( x11-libs/gtk+:3 ) !gtk3? ( x11-libs/gtk+:2 ) ) !gtk? ( Xaw3d? ( x11-libs/libXaw3d ) !Xaw3d? ( athena? ( x11-libs/libXaw ) !athena? ( motif? ( >=x11-libs/openmotif-2.3:0 ) ) ) ) ) alsa? ( dev-util/pkgconfig ) dbus? ( dev-util/pkgconfig ) gnutls? ( dev-util/pkgconfig ) libxml2? ( dev-util/pkgconfig ) X? ( dev-util/pkgconfig ) gzip-el? ( app-arch/gzip ) || ( >=sys-devel/automake-1.11.1:1.11 ) >=sys-devel/autoconf-2.68 sys-devel/libtool
sys-libs/ncurses >=app-admin/eselect-emacs-1.2 net-libs/liblockfile hesiod? ( net-dns/hesiod ) kerberos? ( virtual/krb5 ) alsa? ( media-libs/alsa-lib ) gpm? ( sys-libs/gpm ) dbus? ( sys-apps/dbus ) gnutls? ( net-libs/gnutls ) libxml2? ( >=dev-libs/libxml2-2.2.0 ) selinux? ( sys-libs/libselinux ) X? ( x11-libs/libXmu x11-libs/libXt x11-misc/xbitmaps gconf? ( >=gnome-base/gconf-2.26.2 ) gsettings? ( >=dev-libs/glib-2.28.6 ) gif? ( media-libs/giflib ) jpeg? ( virtual/jpeg ) png? ( >=media-libs/libpng-1.4:0 ) svg? ( >=gnome-base/librsvg-2.0 ) tiff? ( media-libs/tiff ) xpm? ( x11-libs/libXpm ) imagemagick? ( >=media-gfx/imagemagick-6.6.2 ) xft? ( media-libs/fontconfig media-libs/freetype x11-libs/libXft m17n-lib? ( >=dev-libs/libotf-0.9.4 >=dev-libs/m17n-lib-1.5.1 ) ) gtk? ( gtk3? ( x11-libs/gtk+:3 ) !gtk3? ( x11-libs/gtk+:2 ) ) !gtk? ( Xaw3d? ( x11-libs/libXaw3d ) !Xaw3d? ( athena? ( x11-libs/libXaw ) !athena? ( motif? ( >=x11-libs/openmotif-2.3:0 ) ) ) ) ) >=app-emacs/emacs-common-gentoo-1.3[X?]
24
mirror://gentoo/emacs-24.0.93.tar.gz mirror://gnu-alpha/emacs/pretest/emacs-24.0.93.tar.gz
mirror://gentoo/emacs-24.0.96.tar.gz mirror://gnu-alpha/emacs/pretest/emacs-24.0.96.tar.gz
http://www.gnu.org/software/emacs/
GPL-3 FDL-1.3 BSD as-is MIT W3C unicode PSF-2

@ -1,4 +1,4 @@
sys-libs/libcap app-text/docbook-sgml-utils >=sys-kernel/linux-headers-2.6.29 || ( >=sys-devel/automake-1.11.1:1.11 ) >=sys-devel/autoconf-2.68 sys-devel/libtool
sys-libs/libcap app-text/docbook-sgml-utils >=sys-kernel/linux-headers-2.6.29 virtual/linux-sources || ( >=sys-devel/automake-1.11.1:1.11 ) >=sys-devel/autoconf-2.68 sys-devel/libtool
sys-libs/libcap !vanilla? ( sys-apps/util-linux app-misc/pax-utils >=sys-apps/openrc-0.9.9.1 )
0
http://lxc.sourceforge.net/download/lxc/lxc-0.8.0-rc1.tar.gz

@ -6,7 +6,7 @@
http://www.gentoo.org/
MIT
Wrapper scripts that will execute EDITOR or PAGER
alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd
alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~sparc-solaris

@ -1,12 +1,12 @@
>=sys-apps/sed-4 kde? ( dev-util/automoc dev-util/pkgconfig !aqua? ( >=x11-libs/libXtst-1.1.0 x11-proto/xf86vidmodeproto ) ) kde? ( dev-lang/perl >=x11-libs/qt-core-4.7.0:4[qt3support,ssl] >=x11-libs/qt-gui-4.7.0:4[accessibility,dbus] >=x11-libs/qt-qt3support-4.7.0:4[accessibility] >=x11-libs/qt-script-4.7.0:4 >=x11-libs/qt-sql-4.7.0:4[qt3support] >=x11-libs/qt-svg-4.7.0:4 >=x11-libs/qt-test-4.7.0:4 >=x11-libs/qt-webkit-4.7.0:4 !aqua? ( x11-libs/libXext x11-libs/libXt x11-libs/libXxf86vm x11-libs/libXcomposite x11-libs/libxkbfile ) >=kde-base/kdelibs-4.4:4[aqua=] ) java? ( >=dev-java/java-config-2.1.9-r1 )
>=sys-libs/glibc-2.14.1-r3 app-arch/zip app-arch/unzip >=app-text/hunspell-1.3.2-r3 app-text/mythes >=app-text/libexttextcat-3.2 app-text/libwpd:0.9[tools] app-text/libwpg:0.2 >=app-text/libwps-0.2.2 dev-cpp/libcmis dev-db/unixODBC dev-libs/expat >=dev-libs/glib-2.28 >=dev-libs/hyphen-2.7.1 >=dev-libs/icu-4.8.1.1 >=dev-lang/perl-5.0 >=dev-libs/openssl-1.0.0d >=dev-libs/redland-1.0.14[ssl] >=media-libs/fontconfig-2.8.0 media-libs/freetype:2 >=media-libs/libpng-1.4 media-libs/libvisio >=net-misc/curl-7.21.4 sci-mathematics/lpsolve >=sys-libs/db-4.8 virtual/jpeg >=x11-libs/cairo-1.10.0[X] x11-libs/libXinerama x11-libs/libXrandr x11-libs/libXrender >=dev-libs/dbus-glib-0.92 gnome? ( gnome-extra/evolution-data-server ) gnome? ( gnome-base/gconf:2 gnome-base/orbit ) >=x11-libs/gtk+-2.24:2 media-gfx/graphite2 >=media-libs/gstreamer-0.10 >=media-libs/gst-plugins-base-0.10 java? ( >=dev-java/bsh-2.0_beta4 dev-java/lucene:2.9 dev-java/lucene-analyzers:2.3 ) net-libs/neon !app-office/libreoffice-bin !app-office/libreoffice-bin-debug !app-office/openoffice-bin !app-office/openoffice media-fonts/libertine-ttf media-fonts/liberation-fonts media-fonts/urw-fonts cups? ( net-print/cups ) java? ( >=virtual/jre-1.6 ) kde? ( >=kde-base/oxygen-icons-4.4:4[aqua=] ) kde? ( dev-lang/perl >=x11-libs/qt-core-4.7.0:4[qt3support,ssl] >=x11-libs/qt-gui-4.7.0:4[accessibility,dbus] >=x11-libs/qt-qt3support-4.7.0:4[accessibility] >=x11-libs/qt-script-4.7.0:4 >=x11-libs/qt-sql-4.7.0:4[qt3support] >=x11-libs/qt-svg-4.7.0:4 >=x11-libs/qt-test-4.7.0:4 >=x11-libs/qt-webkit-4.7.0:4 !aqua? ( x11-libs/libXext x11-libs/libXt x11-libs/libXxf86vm x11-libs/libXcomposite x11-libs/libxkbfile ) >=kde-base/kdelibs-4.4:4[aqua=] ) java? ( >=dev-java/java-config-2.1.9-r1 )
0
x86? ( kde? ( !java? ( mirror://gentoo/x86-bin-libreoffice-kde-3.5.2.2.tar.xz ) java? ( mirror://gentoo/x86-bin-libreoffice-kde-java-3.5.2.2.tar.xz ) ) gnome? ( !java? ( mirror://gentoo/x86-bin-libreoffice-gnome-3.5.2.2.tar.xz ) java? ( mirror://gentoo/x86-bin-libreoffice-gnome-java-3.5.2.2.tar.xz ) ) !kde? ( !gnome? ( !java? ( mirror://gentoo/x86-bin-libreoffice-base-3.5.2.2.tar.xz ) java? ( mirror://gentoo/x86-bin-libreoffice-base-java-3.5.2.2.tar.xz ) ) ) )
amd64? ( kde? ( !java? ( mirror://gentoo/amd64-bin-libreoffice-kde-3.5.2.2.tar.xz ) java? ( mirror://gentoo/amd64-bin-libreoffice-kde-java-3.5.2.2.tar.xz ) ) gnome? ( !java? ( mirror://gentoo/amd64-bin-libreoffice-gnome-3.5.2.2.tar.xz ) java? ( mirror://gentoo/amd64-bin-libreoffice-gnome-java-3.5.2.2.tar.xz ) ) !kde? ( !gnome? ( !java? ( mirror://gentoo/amd64-bin-libreoffice-base-3.5.2.2.tar.xz ) java? ( mirror://gentoo/amd64-bin-libreoffice-base-java-3.5.2.2.tar.xz ) ) ) ) x86? ( kde? ( !java? ( mirror://gentoo/x86-bin-libreoffice-kde-3.5.2.2.tar.xz ) java? ( mirror://gentoo/x86-bin-libreoffice-kde-java-3.5.2.2.tar.xz ) ) gnome? ( !java? ( mirror://gentoo/x86-bin-libreoffice-gnome-3.5.2.2.tar.xz ) java? ( mirror://gentoo/x86-bin-libreoffice-gnome-java-3.5.2.2.tar.xz ) ) !kde? ( !gnome? ( !java? ( mirror://gentoo/x86-bin-libreoffice-base-3.5.2.2.tar.xz ) java? ( mirror://gentoo/x86-bin-libreoffice-base-java-3.5.2.2.tar.xz ) ) ) )
test strip
http://www.libreoffice.org
LGPL-3
LibreOffice, a full office productivity suite. Binary package.
-* ~x86
-* ~amd64 ~x86
base eutils fdo-mime gnome2-utils java-pkg-opt-2 java-utils-2 kde4-base kde4-functions multilib pax-utils prefix toolchain-funcs user versionator virtualx
+cups debug gnome java kde aqua kde elibc_FreeBSD java
kde? ( !gnome ) gnome? ( !kde )

@ -1,12 +1,12 @@
=app-office/libreoffice-bin-3.5.2.2[gnome=,java=,kde=]
0
x86? ( kde? ( !java? ( mirror://gentoo/x86-debug-libreoffice-kde-3.5.2.2.tar.xz ) java? ( mirror://gentoo/x86-debug-libreoffice-kde-java-3.5.2.2.tar.xz ) ) gnome? ( !java? ( mirror://gentoo/x86-debug-libreoffice-gnome-3.5.2.2.tar.xz ) java? ( mirror://gentoo/x86-debug-libreoffice-gnome-java-3.5.2.2.tar.xz ) ) !kde? ( !gnome? ( !java? ( mirror://gentoo/x86-debug-libreoffice-base-3.5.2.2.tar.xz ) java? ( mirror://gentoo/x86-debug-libreoffice-base-java-3.5.2.2.tar.xz ) ) ) )
amd64? ( kde? ( !java? ( mirror://gentoo/amd64-debug-libreoffice-kde-3.5.2.2.tar.xz ) java? ( mirror://gentoo/amd64-debug-libreoffice-kde-java-3.5.2.2.tar.xz ) ) gnome? ( !java? ( mirror://gentoo/amd64-debug-libreoffice-gnome-3.5.2.2.tar.xz ) java? ( mirror://gentoo/amd64-debug-libreoffice-gnome-java-3.5.2.2.tar.xz ) ) !kde? ( !gnome? ( !java? ( mirror://gentoo/amd64-debug-libreoffice-base-3.5.2.2.tar.xz ) java? ( mirror://gentoo/amd64-debug-libreoffice-base-java-3.5.2.2.tar.xz ) ) ) ) x86? ( kde? ( !java? ( mirror://gentoo/x86-debug-libreoffice-kde-3.5.2.2.tar.xz ) java? ( mirror://gentoo/x86-debug-libreoffice-kde-java-3.5.2.2.tar.xz ) ) gnome? ( !java? ( mirror://gentoo/x86-debug-libreoffice-gnome-3.5.2.2.tar.xz ) java? ( mirror://gentoo/x86-debug-libreoffice-gnome-java-3.5.2.2.tar.xz ) ) !kde? ( !gnome? ( !java? ( mirror://gentoo/x86-debug-libreoffice-base-3.5.2.2.tar.xz ) java? ( mirror://gentoo/x86-debug-libreoffice-base-java-3.5.2.2.tar.xz ) ) ) )
test strip
http://www.libreoffice.org
LGPL-3
LibreOffice, a full office productivity suite. Binary package, debug info.
-* ~x86
-* ~amd64 ~x86
gnome java kde

@ -6,7 +6,7 @@ mirror://sourceforge/docbook/docbook-dsssl-1.79.tar.bz2
http://wiki.docbook.org/topic/DocBookDssslStylesheets
as-is
DSSSL Stylesheets for DocBook.
alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris
alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris
base eutils multilib sgml-catalog toolchain-funcs user

@ -0,0 +1,22 @@
djvu? ( app-text/djvu ) pdf? ( media-gfx/imagemagick ) ocr? ( app-text/tesseract pdf? ( media-gfx/exact-image app-text/pdftk ) ) tk? ( dev-lang/tk )
0
http://njw.me.uk/software/getxbook/getxbook-0.9.tar.bz2
http://njw.me.uk/software/getxbook/
ISC
Download books from google, amazon, barnes and noble.
~x86
eutils multilib toolchain-funcs user
pdf djvu ocr tk
4
compile install prepare

@ -6,7 +6,7 @@ http://rarian.freedesktop.org/Releases/rarian-0.8.1.tar.gz
http://rarian.freedesktop.org/
LGPL-2.1
A documentation metadata library
alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd
alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd
eutils libtool multilib toolchain-funcs user
static-libs

@ -6,7 +6,7 @@
http://gnome.gentoo.org
GPL-2
Dummy scrollkeeper for testing rarian
alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris
alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris

@ -6,7 +6,7 @@ mirror://gentoo/dhcpd-syntax-20030825.tar.bz2
http://www.vim.org/scripts/script.php?script_id=744
as-is
vim plugin: syntax highlighting for dhcpd.conf
alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd
alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd
eutils multilib toolchain-funcs user vim-doc vim-plugin

@ -0,0 +1,22 @@
=dev-lang/gnat-gcc-4.3* doc? ( virtual/latex-base app-text/texi2html ) || ( >=sys-devel/automake-1.11.1 ) >=sys-devel/autoconf-2.68 sys-devel/libtool >=sys-apps/sed-4 sys-devel/gnuconfig >=app-admin/eselect-gnat-1.3
=dev-lang/gnat-gcc-4.3* app-admin/eselect-gnat
4.3
http://dev.gentoo.org/~george/src/asis-gpl-2009-src.tgz
https://libre.adacore.com/
GPL-2
The Ada Semantic Interface Specification (semantic analysis and tools tied to compiler)
~amd64 ~x86
autotools eutils fixheadtails flag-o-matic gnatbuild gnuconfig libtool multilib pax-utils toolchain-funcs user versionator
doc nls
compile install postinst postrm setup unpack

@ -0,0 +1,22 @@
=dev-lang/gnat-gcc-4.4* doc? ( virtual/latex-base app-text/texi2html ) || ( >=sys-devel/automake-1.11.1 ) >=sys-devel/autoconf-2.68 sys-devel/libtool >=sys-apps/sed-4 sys-devel/gnuconfig >=app-admin/eselect-gnat-1.3
=dev-lang/gnat-gcc-4.4* app-admin/eselect-gnat
4.4
http://dev.gentoo.org/~george/src/asis-gpl-2010-src.tgz
https://libre.adacore.com/
GPL-2
The Ada Semantic Interface Specification (semantic analysis and tools tied to compiler)
~amd64 ~x86
autotools eutils fixheadtails flag-o-matic gnatbuild gnuconfig libtool multilib pax-utils toolchain-funcs user versionator
doc nls
compile install postinst postrm setup unpack

@ -0,0 +1,22 @@
dev-python/mysql-python dev-python/SchemaObject || ( =dev-lang/python-2.6* =dev-lang/python-2.5* )
dev-python/mysql-python dev-python/SchemaObject || ( =dev-lang/python-2.6* =dev-lang/python-2.5* )
0
http://www.schemasync.org/downloads/SchemaSync-0.9.2.tar.gz
http://schemasync.org/
Apache-2.0
MySQL Schema Versioning and Migration Utility
~amd64 ~x86
distutils multilib python toolchain-funcs
4
compile install postinst postrm prepare setup

@ -1,22 +0,0 @@
>=app-admin/eselect-postgresql-1.0.10 virtual/libintl !!dev-db/libpq !!dev-db/postgresql !!dev-db/postgresql-client !!dev-db/postgresql-libs kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap ) pam? ( virtual/pam ) readline? ( >=sys-libs/readline-4.1 ) ssl? ( >=dev-libs/openssl-0.9.6-r1 ) zlib? ( >=sys-libs/zlib-1.1.3 ) >=sys-apps/sandbox-2.0 >=sys-devel/bison-1.875 sys-devel/flex nls? ( sys-devel/gettext ) >=sys-devel/autoconf-2.68 sys-devel/libtool
>=app-admin/eselect-postgresql-1.0.10 virtual/libintl !!dev-db/libpq !!dev-db/postgresql !!dev-db/postgresql-client !!dev-db/postgresql-libs kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap ) pam? ( virtual/pam ) readline? ( >=sys-libs/readline-4.1 ) ssl? ( >=dev-libs/openssl-0.9.6-r1 ) zlib? ( >=sys-libs/zlib-1.1.3 )
8.2
mirror://postgresql/source/v8.2.22/postgresql-8.2.22.tar.bz2 http://dev.gentoo.org/~titanofold/postgresql-patches-8.2-r1.tbz2
test
http://www.postgresql.org/
POSTGRESQL
PostgreSQL libraries and clients
alpha amd64 arm hppa ia64 ppc s390 sh sparc x86
autotools eutils libtool multilib prefix toolchain-funcs user versionator
doc kerberos ldap nls pam pg-intdatetime readline ssl threads zlib linguas_af linguas_cs linguas_de linguas_en linguas_es linguas_fa linguas_fr linguas_hr linguas_hu linguas_it linguas_ko linguas_nb linguas_pl linguas_pt_BR linguas_ro linguas_ru linguas_sk linguas_sl linguas_sv linguas_tr linguas_zh_CN linguas_zh_TW
doc? ( ~dev-db/postgresql-docs-8.2.22 )
4
compile configure install postinst postrm prepare

@ -1,22 +0,0 @@
>=app-admin/eselect-postgresql-1.0.10 virtual/libintl !!dev-db/libpq !!dev-db/postgresql !!dev-db/postgresql-client !!dev-db/postgresql-libs kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap ) pam? ( virtual/pam ) readline? ( >=sys-libs/readline-4.1 ) ssl? ( >=dev-libs/openssl-0.9.6-r1 ) zlib? ( >=sys-libs/zlib-1.1.3 ) !!<sys-apps/sandbox-2.0 >=sys-devel/bison-1.875 sys-devel/flex nls? ( sys-devel/gettext ) >=sys-devel/autoconf-2.68 sys-devel/libtool
>=app-admin/eselect-postgresql-1.0.10 virtual/libintl !!dev-db/libpq !!dev-db/postgresql !!dev-db/postgresql-client !!dev-db/postgresql-libs kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap ) pam? ( virtual/pam ) readline? ( >=sys-libs/readline-4.1 ) ssl? ( >=dev-libs/openssl-0.9.6-r1 ) zlib? ( >=sys-libs/zlib-1.1.3 )
8.2
mirror://postgresql/source/v8.2.23/postgresql-8.2.23.tar.bz2 http://dev.gentoo.org/~titanofold/postgresql-patches-8.2-r2.tbz2
test
http://www.postgresql.org/
POSTGRESQL
PostgreSQL libraries and clients
alpha amd64 arm hppa ~ia64 ppc ~s390 ~sh ~sparc x86
autotools eutils libtool multilib prefix toolchain-funcs user versionator
doc kerberos ldap nls pam pg-intdatetime readline ssl threads zlib linguas_af linguas_cs linguas_de linguas_en linguas_es linguas_fa linguas_fr linguas_hr linguas_hu linguas_it linguas_ko linguas_nb linguas_pl linguas_pt_BR linguas_ro linguas_ru linguas_sk linguas_sl linguas_sv linguas_tr linguas_zh_CN linguas_zh_TW
doc? ( ~dev-db/postgresql-docs-8.2.23 )
4
compile configure install postinst postrm prepare

@ -1,22 +0,0 @@
8.2
mirror://postgresql/source/v8.2.22/postgresql-8.2.22.tar.bz2
test
http://www.postgresql.org/
POSTGRESQL
PostgreSQL documentation
alpha amd64 arm hppa ia64 ppc s390 sh sparc x86
eutils multilib toolchain-funcs user versionator
4
install unpack

@ -1,22 +0,0 @@
8.2
mirror://postgresql/source/v8.2.23/postgresql-8.2.23.tar.bz2
test
http://www.postgresql.org/
POSTGRESQL
PostgreSQL documentation
alpha amd64 arm hppa ~ia64 ppc ~s390 ~sh ~sparc x86
eutils multilib toolchain-funcs user versionator
4
install unpack

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

Loading…
Cancel
Save