Sync with portage [Fri Apr 5 22:32:44 MSK 2013].

mhiretskiy
root 11 years ago
parent 770bb46dd3
commit fd4a62a7a1

@ -0,0 +1,104 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-dispatcher/speech-dispatcher-0.8-r2.ebuild,v 1.1 2013/04/04 16:09:31 williamh Exp $
EAPI=5
PYTHON_COMPAT=( python3_2 )
inherit eutils python-r1
DESCRIPTION="Speech synthesis interface"
HOMEPAGE="http://www.freebsoft.org/speechd"
SRC_URI="http://www.freebsoft.org/pub/projects/speechd/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="alsa ao +espeak flite nas pulseaudio python static-libs"
RDEPEND=">=dev-libs/glib-2.28:2
>=media-libs/libsndfile-1.0.2
alsa? ( media-libs/alsa-lib )
ao? ( media-libs/libao )
espeak? ( app-accessibility/espeak )
flite? ( app-accessibility/flite )
nas? ( media-libs/nas )
pulseaudio? ( media-sound/pulseaudio )"
DEPEND="${RDEPEND}
>=dev-libs/dotconf-1.3
>=dev-util/intltool-0.40.0
virtual/pkgconfig"
src_configure() {
local myeconfargs=(
--disable-python
$(use_enable static-libs static)
$(use_with alsa)
$(use_with ao libao)
$(use_with espeak)
$(use_with flite)
$(use_with pulseaudio pulse)
$(use_with nas)
)
econf ${myeconfargs[@]}
}
src_compile() {
use python && python_copy_sources
emake
if use python; then
building() {
cd src/api/python || die
emake \
pyexecdir="$(python_get_sitedir)" \
pythondir="$(python_get_sitedir)"
}
python_foreach_impl run_in_build_dir building
fi
}
src_install() {
emake DESTDIR="${D}" install
dodoc ANNOUNCE AUTHORS BUGS ChangeLog FAQ NEWS README*
prune_libtool_files --all
if use python; then
installation() {
cd src/api/python || die
emake \
DESTDIR="${D}" \
pyexecdir="$(python_get_sitedir)" \
pythondir="$(python_get_sitedir)" \
install
}
python_foreach_impl run_in_build_dir installation
python_replicate_script "${ED}"/usr/bin/spd-conf
fi
}
pkg_postinst() {
local editconfig="n"
if ! use espeak; then
ewarn "You have disabled espeak, which is speech-dispatcher's"
ewarn "default speech synthesizer."
ewarn
editconfig="y"
fi
if ! use pulseaudio; then
ewarn "You have disabled pulseaudio support."
ewarn "pulseaudio is speech-dispatcher's default audio subsystem."
ewarn
editconfig="y"
fi
if [[ "${editconfig}" == "y" ]]; then
ewarn "You must edit ${EROOT}etc/speech-dispatcher/speechd.conf"
ewarn "and make sure the settings there match your system."
ewarn
fi
elog "For festival support, you need to"
elog "install app-accessibility/festival-freebsoft-utils."
}

@ -1,13 +1,13 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-infinality/eselect-infinality-1.ebuild,v 1.3 2013/01/25 11:06:21 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-infinality/eselect-infinality-1.ebuild,v 1.4 2013/04/05 09:23:36 yngwin Exp $
EAPI=4
inherit vcs-snapshot
inherit vcs-snapshot readme.gentoo
DESCRIPTION="Eselect module to choose an infinality font configuration style"
HOMEPAGE="https://github.com/yngwin/eselect-infinality"
SRC_URI="${HOMEPAGE}/tarball/v1 -> ${P}.tar.gz"
SRC_URI="${HOMEPAGE}/tarball/v${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@ -17,13 +17,12 @@ IUSE=""
RDEPEND="app-admin/eselect"
DEPEND=""
DOC_CONTENTS="Use eselect infinality to select a font configuration style.
This is supposed to be used in pair with eselect lcdfilter."
src_install() {
dodoc README.rst
readme.gentoo_create_doc
insinto "/usr/share/eselect/modules"
doins infinality.eselect
}
pkg_postinst() {
elog "Use eselect infinality to select a font configuration style."
elog "This is supposed to be used in pair with eselect lcdfilter."
}

@ -1 +1,2 @@
DIST eselect-lcdfilter-1.tar.gz 17206 SHA256 a27229461fff3bc2830a1006ae73d89ce05ba48aef7673c26a2af461457303a4 SHA512 1f86fb2cc21ff9cc9b79c50578a02f7c461ae203533cc817dc733d0dde9ad43763267bb1703b9495ba6f46989e0446bb1cba39aaa705d3b605118f62cb0d2dfc WHIRLPOOL 8bb947e0ddbd6c7056afe9394f37e6520ff0e45536c8572b28690f15fa0c1b699f78db2e7037305e1f0866d67395b67c80c7dd1821a7f2de8c603b2ec037ff2e
DIST eselect-lcdfilter-2.tar.gz 18365 SHA256 15ea8e85dcc87dec32a5e0a4dcf15251364f8a020cf7d73e858ec46b5590b6a0 SHA512 e17c475c860f0a3ad7249d21ca11c52f3226852ba042b83058baf6823242c4f8be0042aad52029757944fce6d816df386b928f2005ab87e0778d3ecb26ceec92 WHIRLPOOL d20a5d97386753a3d5fc01b91fa18ddc9b3106900268fe27bdf8f21ef1c9cf788dcde8c9714cbc52142e79b5f02dd8657dfef652c45658dc76d70da3b22739e6

@ -0,0 +1,36 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-lcdfilter/eselect-lcdfilter-2.ebuild,v 1.1 2013/04/05 09:12:25 yngwin Exp $
EAPI=5
inherit vcs-snapshot readme.gentoo
DESCRIPTION="Eselect module to choose Freetype infinality-enhanced LCD filtering settings"
HOMEPAGE="https://github.com/yngwin/eselect-lcdfilter"
SRC_URI="${HOMEPAGE}/tarball/v${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="app-admin/eselect"
PDEPEND="media-libs/freetype[infinality]"
DOC_CONTENTS="Use eselect lcdfilter to select an lcdfiltering font style.
You can customize /usr/share/${PN}/env.d/custom with your own settings.
See /usr/share/doc/${PF}/infinality-settings.sh for an explanation and
examples of the variables. This module is supposed to be used in pair with
eselect infinality."
src_install() {
dodoc README.rst infinality-settings.sh
readme.gentoo_create_doc
insinto "/usr/share/eselect/modules"
doins lcdfilter.eselect
insinto "/usr/share/${PN}"
doins -r env.d
}

@ -1,3 +1 @@
DIST pwgen-2.04.tar.gz 47276 SHA256 f2edeff7fe4968187201e37d84254fabceb155fadc0979a06f5643dec290b715 SHA512 45991bd94195fa730b19b5786c48d02adf111882a79b68158b27098bd07f2e9cb16650d6d707fc879359ab28bfe03754f891cbf0a0e1b385a6fba7595d189266 WHIRLPOOL 6fc7d19af2cb579b81426b2fe92b9901f5fc6356ec64dac50d7eba1d05f9f49ebe7042fb3b43433b9899603d33f9bec6a2d3c92d2bf84653c4447294162665a4
DIST pwgen-2.05.tar.gz 48892 SHA256 c87a138652e0c971afb6ecefe123cb2dd686c214272d7f813901ad44db5cdda9 SHA512 ab2bb2af5509dd379f640b39b87fb0cc23c0f61a7453097a4bb0439a78b6ea5a5f54d40bf321fd8b4a58aae5bd94169b0ce4734f67b7dde5ced5807c1a9caf51 WHIRLPOOL 19ce25a62a2b2d2d33dd5126bbec481bea813af992968166b887006bbbe7dc50a5832bf2b181cc9b9194e18b4c48363e5828d4e5f54e944508822f2a27eb1184
DIST pwgen-2.06.tar.gz 30952 SHA256 61598c9e3a0f7eb2e7367d4ecc71522c4f16a7d41ed31db29e3afee8d9843454 SHA512 46cd35292cc0772ae5c89888c862e08ae14854b4d32bfe2c57aa5ab62dab2a3e858255b2a8f3ef94eec32739ea403ad12b872f4a8890d2b5157bc62e48488001 WHIRLPOOL a0e7ac49690ae9c9f27c3d73406eb70de90985c2e674757e78acde99e4fed8da2d412f2449da99d11bbe41fc1b18ad88102710e1359c74ef428024c88c26345b

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

@ -1,32 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/pwgen/pwgen-2.04.ebuild,v 1.17 2011/02/06 05:19:15 leio Exp $
inherit eutils
DESCRIPTION="Password Generator"
HOMEPAGE="http://sourceforge.net/projects/pwgen/"
SRC_URI="mirror://sourceforge/pwgen/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="livecd"
DEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
sed -i -e 's:$(prefix)/man/man1:$(mandir)/man1:g' Makefile.in
}
src_compile() {
econf --sysconfdir=/etc/pwgen || die "econf failed"
make || die
}
src_install() {
make DESTDIR="${D}" install || die
use livecd && newinitd "${FILESDIR}"/pwgen.rc pwgen
}

@ -1,32 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/pwgen/pwgen-2.05.ebuild,v 1.3 2009/09/23 15:01:54 patrick Exp $
inherit eutils
DESCRIPTION="Password Generator"
HOMEPAGE="http://sourceforge.net/projects/pwgen/"
SRC_URI="mirror://sourceforge/pwgen/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="livecd"
DEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
sed -i -e 's:$(prefix)/man/man1:$(mandir)/man1:g' Makefile.in
}
src_compile() {
econf --sysconfdir=/etc/pwgen || die "econf failed"
make || die
}
src_install() {
make DESTDIR="${D}" install || die
use livecd && newinitd "${FILESDIR}"/pwgen.rc pwgen
}

@ -0,0 +1,35 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/pwgen/pwgen-2.06-r2.ebuild,v 1.1 2013/04/04 13:46:28 jlec Exp $
EAPI=5
AUTOTOOLS_AUTORECONF=true
inherit autotools-utils toolchain-funcs
DESCRIPTION="Password Generator"
HOMEPAGE="http://sourceforge.net/projects/pwgen/"
SRC_URI="mirror://sourceforge/pwgen/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="livecd"
PATCHES=( "${FILESDIR}"/${PV}-special-char.patch )
src_prepare() {
sed -i -e 's:$(prefix)/man/man1:$(mandir)/man1:g' Makefile.in || die
autotools-utils_src_prepare
}
src_configure() {
local myeconfargs=( --sysconfdir="${EPREFIX}"/etc/pwgen )
autotools-utils_src_configure
}
src_install() {
autotools-utils_src_install
use livecd && newinitd "${FILESDIR}"/pwgen.rc pwgen
}

@ -1,33 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/pwgen/pwgen-2.06.ebuild,v 1.8 2009/09/23 15:01:54 patrick Exp $
inherit eutils toolchain-funcs
DESCRIPTION="Password Generator"
HOMEPAGE="http://sourceforge.net/projects/pwgen/"
SRC_URI="mirror://sourceforge/pwgen/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~arm"
IUSE="livecd"
DEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
sed -i -e 's:$(prefix)/man/man1:$(mandir)/man1:g' Makefile.in
}
src_compile() {
tc-export CC
econf --sysconfdir=/etc/pwgen || die "econf failed"
make || die
}
src_install() {
make DESTDIR="${D}" install || die
use livecd && newinitd "${FILESDIR}"/pwgen.rc pwgen
}

@ -3,3 +3,4 @@ DIST phoronix-test-suite-3.2.1.tar.gz 399167 SHA256 b5c8d35ece50450e5b50e67d3f6b
DIST phoronix-test-suite-3.8.0.tar.gz 471257 SHA256 951ed041dcf06178b4eb92535b4a6d5c97d62415c85af0feb04a0db3cbb342fb SHA512 74c55145d9fd87c0463307c43f23dee5432193699cb665046b9ccc5c711cef89f9967ca1fa4c6ab236424621e14926e6b7b0e5692829d9efadb8fe3f722713dd WHIRLPOOL c2b94cfaf2b81ae5ec581f1b542c59cc38f37ea5e8aec220fc3aa762ba9e6ca0462290c8293365942d8f37a3262fc812965565778d368ee9c8ab2fc4f172c5da
DIST phoronix-test-suite-4.0.1.tar.gz 492587 SHA256 2dd463dbaad8763b73170e94f4ecd3c9b9578ad5d3a67ca82855ab0509a5c90a SHA512 4f56edde1bf097d5f04edd5c7576df0403859e6a9c0b9d034381bb2c4a7a40ccd5e465af45ec523ebc5568052147f4770fdf449ae084c000fd4de6597005a4a7 WHIRLPOOL 7ce3f91d9f7282b4d158c81baac4e3e2794bdbdc33169d4741659169fcd4ba1b85784e365e9e4d9b106a541ee4f3a9eb44661c4fa55e973fe9ced6bc78dfa70c
DIST phoronix-test-suite-4.2.0.tar.gz 499461 SHA256 48ee8ecf73702756c6787f686cf217d5c0ae216b7944b013bc86ab95e9c11912 SHA512 7f087b05738817f597cf4578fee93ca740ae5756ab150c48f141aade0157d63d0db941ab731b24977695df7d0a6c11f9cad20fd6539a3e7818c6d4f33cbe669e WHIRLPOOL 9edff49beebc30fd42208c909cc6ff6e08d84eb5cb8aea681715858fb178b0b16392d638232862d1f7a101134d9403c2fd0e00e3c95bb42098ccb55c9333a64d
DIST phoronix-test-suite-4.4.0.tar.gz 506243 SHA256 dd42025a785dd4597bdad3620a048af27d069a353e71eb6e057828bf2798108d SHA512 60aa8a7e2aa805cc5a18e420ab3b9971bf28b041b6c59c9212d4bf308d0c29d0bf1314eb7d5b28b2a6b0e0b0341607225d72e3b4ae62916132b9b975b5ae215b WHIRLPOOL c070410d28aaa65d70bafbced09a4ab945e483fed01a2f7289ba9fdebcd422515c6049ae2563f52c4243126dd7e3e5b2d374030636eaf6cd081d99fd1b49b86f

@ -0,0 +1,110 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/phoronix-test-suite/phoronix-test-suite-4.4.0.ebuild,v 1.1 2013/04/04 18:37:47 patrick Exp $
EAPI=4
inherit eutils bash-completion
DESCRIPTION="Phoronix's comprehensive, cross-platform testing and benchmark suite"
HOMEPAGE="http://www.phoronix-test-suite.com"
SRC_URI="http://www.phoronix-test-suite.com/download.php?file=${P} -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
# php 5.3 doesn't have pcre and reflection useflags anymore
RDEPEND="dev-lang/php[cli,curl,gd,json,posix,pcntl,truetype,zip]
dev-php/pecl-ps"
S="${WORKDIR}/${PN}"
src_prepare() {
sed -i -e "s,export PTS_DIR=\`pwd\`,export PTS_DIR=\"/usr/share/${PN}\"," \
phoronix-test-suite
}
src_configure() {
:
}
src_compile() {
:
}
src_install() {
dodir /usr/share/${PN}
insinto /usr/share/${PN}
doman documentation/man-pages/phoronix-test-suite.1
dodoc AUTHORS CHANGE-LOG
dohtml -r documentation/
doicon pts-core/static/images/phoronix-test-suite.png
doicon pts-core/static/images/openbenchmarking.png
domenu pts-core/static/phoronix-test-suite.desktop
rm -f pts-core/static/phoronix-test-suite.desktop
doins -r pts-core
exeinto /usr/bin
doexe phoronix-test-suite
fperms a+x /usr/share/${PN}/pts-core/static/scripts/root-access.sh
fperms a+x /usr/share/${PN}/pts-core/external-test-dependencies/scripts/install-gentoo-packages.sh
dobashcompletion pts-core/static/bash_completion ${PN}
# Need to fix the cli-php config for downloading to work. Very naughty!
local slots
local slot
if [[ "x${PHP_TARGETS}" == "x" ]] ; then
ewarn
ewarn "PHP_TARGETS seems empty, php.ini file can't be configure."
ewarn "Make sure that PHP_TARGETS in /etc/make.conf is set."
ewarn "phoronix-test-suite needs the 'allow_url_fopen' option set to \"On\""
ewarn "for downloading to work properly."
ewarn
else
for slot in ${PHP_TARGETS}; do
slots+=" ${slot/-/.}"
done
fi
for slot in ${slots}; do
local PHP_INI_FILE="/etc/php/cli-${slot}/php.ini"
if [[ -f ${PHP_INI_FILE} ]] ; then
dodir $(dirname ${PHP_INI_FILE})
cp ${PHP_INI_FILE} "${D}${PHP_INI_FILE}"
sed -e 's|^allow_url_fopen .*|allow_url_fopen = On|g' -i "${D}${PHP_INI_FILE}"
else
if [[ "x$(eselect php show cli)" == "x${slot}" ]] ; then
ewarn
ewarn "${slot} hasn't a php.ini file."
ewarn "phoronix-test-suite needs the 'allow_url_fopen' option set to \"On\""
ewarn "for downloading to work properly."
ewarn "Check that your PHP_INI_VERSION is set during ${slot} merge"
ewarn
else
elog
elog "${slot} hasn't a php.ini file."
elog "phoronix-test-suite may need the 'allow_url_fopen' option set to \"On\""
elog "for downloading to work properly if you switch to ${slot}"
elog "Check that your PHP_INI_VERSION is set during ${slot} merge"
elog
fi
fi
done
ewarn
ewarn "If you upgrade from phoronix-test-suite-2*, you should reinstall all"
ewarn "your tests because"
ewarn " \$HOME/.phoronix-test-suite/installed-tests/\$TEST_NAME/"
ewarn "moves to"
ewarn " \$HOME/.phoronix-test-suite/installed-tests/pts/\$TEST_NAME-\$TEST_VERSION/"
ewarn "in phoronix-test-suite-3* version. The \$TEST_VERSION can be find in"
ewarn "pts-install.xml file."
ewarn
}

@ -1,5 +1,4 @@
DIST p11-kit-0.12.tar.gz 533549 SHA256 4db792def545a3c8ae12e7e4ef166d7620cb445c00a5a984ab7c4a3b35f0be00 SHA512 5bc333af452d2762a2e6585bc17db56f6bb7335449afebc305f32d3ecac4f1c6164c21c41b28838827ff20ddeb2d4f048af6b2dcb73a8011e907645c57961c33 WHIRLPOOL 3296125b4c5216024d17c1ada21bed0dca2ba73b5fca8d179711cbb5357a69e2fce8f4478e5431758935eb4ac37c2970fb03b3a51d39bc6ee97c50c8586adaeb
DIST p11-kit-0.13.tar.gz 544632 SHA256 3cb942465efd5bde1c1875826118fe4bca45b0c9edc7c87835909a5866bed325 SHA512 d10b2bdb7ea91ca393148c4a3e4b1d3ab08959acc933576f4f816c69f4e109f1baa2fa83ac4e415f94355e50beba5bfb29b1fcd26e17402004dccdcb23bb1fb7 WHIRLPOOL cc1a2e8a7cce34ef36c2102e924da57a1fbe5f739dc6175476c537d275fa289363b3846555a6d2277ea853a72a83e099060c1d3ba7a0853bf685f93504801a3e
DIST p11-kit-0.14.tar.gz 545993 SHA256 7a5e561b8b4c6e25ed7a89ef36c8127437c8f18bd86fe4cd41d899c5c7def6d3 SHA512 2c0b41bd9f3a10dce7a6b26b8bc8320542b6b8d8ef739e2019c4e7fcf84ea82e6d9cb18c18250d622c1197359131a4ac20825cf8814ba002e5e6914e9961d507 WHIRLPOOL 476b199d3d61ccf2ae60626689d74d6e7df90dec35eda1ab42ef53295ce5dac8c6cc475faf6946022d218b1eadfc7bb212b8697a28ff7d43614e576dfdbaef5b
DIST p11-kit-0.17.4.tar.gz 950704 SHA256 405257bd12852d5552e53559836db6020f10fca88701fb46555ede5bd669a65a SHA512 e11a5c57fc44a1fca22ba5c3dfcafd7c44dd75d6eca7eb1d050b22e1ff0f4ba3d41d828e84cd57ab0d2db89d9b6a64e4d95fc1426d77db4e55b70ca0f4b53700 WHIRLPOOL a27b324efa97f47217b0389cf0c51d564bdb0d716933e2a7f8657460d4f0f6959bdb51cdc90e2315283679e1a97d6c4a3b2c99cd67c98d3d49c88ac6a65cebec
DIST p11-kit-0.17.5.tar.gz 952285 SHA256 67d3570eec01dad5b38b6e816b24dfdf1c9fa49e72f6d9203b472cb858ea700c SHA512 2745bca949acdf5c3dae1eb1bd70b9a3551576fb7f8bd498c53b099ea6b28c978738b8cfb8d6c20c814a6b1b6229e1fe9686862742f69ebe50a92a0e0e711bfe WHIRLPOOL d0a8a2be19e50253535d020964368283740ead513b0d73b95d6aa983541175337be61f53f60ca6b2c475a0eab14ef7948ae970ab528bfd3ee46b9d26017ddaf9
DIST p11-kit-0.18.0.tar.gz 961382 SHA256 9ebcdcf57b7686b92146cf475cb2b66cdf3757f6e62d8e77c39dae89ffb43e31 SHA512 4738595e74b7086bade0db5d7c21b39f5360885c56dd0b7ca3eca4014bcab64d99231d7a12d03ab1691fdfc01f2667fd657936cb23cf656e61260210dac4c287 WHIRLPOOL 62cd888ec4e19be527f9da7f4bae63f26ed12ac7818094947e7e39fa96a1da95786c8db9c3aa50fda6aed2ae43c4de3157f41bbec235de52899848031a89d041

@ -1,33 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/p11-kit/p11-kit-0.17.4-r1.ebuild,v 1.1 2013/03/27 19:29:48 radhermit Exp $
EAPI=5
inherit eutils
DESCRIPTION="Provides a standard configuration setup for installing PKCS#11."
HOMEPAGE="http://p11-glue.freedesktop.org/p11-kit.html"
SRC_URI="http://p11-glue.freedesktop.org/releases/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
IUSE="+asn1 debug +trust"
REQUIRED_USE="trust? ( asn1 )"
RDEPEND="asn1? ( >=dev-libs/libtasn1-2.14 )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_configure() {
econf \
$(use_enable trust trust-module) \
$(use_enable debug) \
$(use_with asn1 libtasn1)
}
src_install() {
default
prune_libtool_files --modules
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/p11-kit/p11-kit-0.17.5.ebuild,v 1.1 2013/03/31 07:07:06 radhermit Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/p11-kit/p11-kit-0.18.0.ebuild,v 1.1 2013/04/05 06:32:55 radhermit Exp $
EAPI=5

@ -1,2 +1,2 @@
DIST focuswriter-1.4.0-src.tar.bz2 3096917 SHA256 9f56b44f1f7ba9c07786ba6d2a9b93dffd7e3f8bde7747054af433b85ef70ca4 SHA512 1fd3436f5d9e1e12774455a41610e9f8a134698377e3b4bd6d914c5869405d46d865f6e814c5a7a35b3f5d67d04dc41651cb3f43adbf7e51f3d27154c6b4f53e WHIRLPOOL c80c69700746b815a9b6f6abccadc85e9d6c5126dd83e39f48770d08fb20b98fc581c6899d5c6780647a9b2441e5a9270fef0b02bb5d36c49e3fcd583f08d6a5
DIST focuswriter-1.4.1-src.tar.bz2 3138335 SHA256 ad256fcd85b67c4953c822c617fb93e739cfdc758c6efb2f8902bf8723f94b21 SHA512 67b38151aae7480ae3f3c084599cfcdeffc9cb33ec1b9ca69f9d1829f392c1cb23dab5e0957d8aa8e94e1683671165d8db2eb71ab7602f6f0b6502b56fd81bec WHIRLPOOL e6d71d1bd4d214a55e925241042f7b3898a79acc352808de4ace059b84755f32966290cf3cbec8121aa7a7d1f975525e8b6f9c9a9a97e29045d621b1d86d33f6
DIST focuswriter-1.4.2-src.tar.bz2 3149160 SHA256 f41ccf226cb5e4181162d37b2a4b5598be202bb184e2f7c26412dc371c9ef328 SHA512 4b6f503fb6624eea12372fbee169e21df3e728420ffede73bc5895ba451c80910f7f68ebba67a914fe380634d868e7d5a5d196218e255d15155ba397805a63d6 WHIRLPOOL 705694be03e514c2f432d014dbafc1a8a55d0025bdfbfd697dfe416dc2beee3ddd337f8ea50eea8737af59015a6d15e64d55f53afa80c62b5f640fefc3e7b2e9

@ -1,11 +1,12 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/focuswriter/focuswriter-1.4.0.ebuild,v 1.4 2013/03/02 19:20:49 hwoarang Exp $
# $Header: /var/cvsroot/gentoo-x86/app-editors/focuswriter/focuswriter-1.4.2.ebuild,v 1.1 2013/04/05 11:09:50 yngwin Exp $
EAPI=4
PLOCALES="ca cs da de el en es es_MX fi fr hu it ja nl pl pt_BR pt ru sk sv uk zh_CN"
EAPI=5
PLOCALES="ca cs da de el en es es_MX fi fr he hu it ja nl pl pt pt_BR ro ru
sk sv tr uk zh_CN"
PLOCALE_BACKUP="en"
inherit qt4-r2 l10n
inherit qt4-r2 l10n readme.gentoo
DESCRIPTION="A fullscreen and distraction-free word processor"
HOMEPAGE="http://gottcode.org/focuswriter/"
@ -13,21 +14,20 @@ SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
KEYWORDS="~amd64 ~x86"
IUSE="debug"
RDEPEND="
app-text/enchant
RDEPEND="app-text/enchant
dev-libs/libzip
media-libs/sdl-mixer[wav]
dev-qt/qtcore:4
dev-qt/qtgui:4
"
sys-libs/zlib"
DEPEND="${RDEPEND}
virtual/pkgconfig
"
virtual/pkgconfig"
DOCS=( ChangeLog CREDITS README )
DOC_CONTENTS="Focuswriter has optional sound support if media-libs/sdl-mixer is
installed with wav useflag enabled."
src_prepare() {
l10n_for_each_disabled_locale_do rm_loc
@ -37,6 +37,11 @@ src_configure() {
eqmake4 PREFIX="${EPREFIX}/usr"
}
src_install() {
readme.gentoo_create_doc
qt4-r2_src_install
}
rm_loc() {
sed -e "s|translations/${PN}_${1}.ts||" -i ${PN}.pro || die 'sed failed'
rm translations/${PN}_${1}.{ts,qm} || die "removing ${1} locale failed"

@ -0,0 +1,13 @@
--- a/xmlcopyeditor-1.2.0.9/src/housestyle.h 2012-10-07 09:19:52.000000000 -0400
+++ b/xmlcopyeditor-1.2.0.9/src/housestyle.h 2013-04-03 10:27:46.784455182 -0400
@@ -68,8 +68,9 @@
filterDirectory,
filterFile,
pathSeparator,
- error,
+ error
#ifdef __WXMSW__
+ ,
aspellDataPath,
aspellDictPath
#endif

@ -1,13 +1,13 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/xmlcopyeditor/xmlcopyeditor-1.2.0.6.ebuild,v 1.6 2012/11/27 10:13:16 pinkbyte Exp $
# $Header: /var/cvsroot/gentoo-x86/app-editors/xmlcopyeditor/xmlcopyeditor-1.2.0.6.ebuild,v 1.7 2013/04/05 09:27:26 pinkbyte Exp $
EAPI="4"
WX_GTK_VER="2.8"
MY_P=${P}-2
inherit autotools wxwidgets
inherit autotools eutils wxwidgets
DESCRIPTION="XML Copy Editor is a fast, free, validating XML editor"
HOMEPAGE="http://xml-copy-editor.sourceforge.net/"
@ -40,6 +40,9 @@ src_prepare() {
sed -i -e 's/ -Wall -g -fexceptions//g' \
-e '/CXXFLAGS/s/CPPFLAGS/CXXFLAGS/' \
configure.in || die 'sed on configure.in failed'
# bug #464280
epatch "${FILESDIR}/${P}-gcc-4.8.patch"
eautoreconf
}

@ -1,12 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/xmlcopyeditor/xmlcopyeditor-1.2.0.9.ebuild,v 1.1 2012/12/03 19:55:30 hwoarang Exp $
# $Header: /var/cvsroot/gentoo-x86/app-editors/xmlcopyeditor/xmlcopyeditor-1.2.0.9.ebuild,v 1.2 2013/04/05 09:27:26 pinkbyte Exp $
EAPI="4"
WX_GTK_VER="2.8"
inherit autotools wxwidgets
inherit autotools eutils wxwidgets
DESCRIPTION="XML Copy Editor is a fast, free, validating XML editor"
HOMEPAGE="http://xml-copy-editor.sourceforge.net/"
@ -38,6 +38,9 @@ src_prepare() {
sed -i -e 's/ -Wall -g -fexceptions//g' \
-e '/CXXFLAGS/s/CPPFLAGS/CXXFLAGS/' \
configure.in || die 'sed on configure.in failed'
# bug #464280
epatch "${FILESDIR}/${PN}-1.2.0.6-gcc-4.8.patch"
eautoreconf
}

@ -1,6 +1,3 @@
DIST vm-7.19.tar.gz 381658 SHA256 54bdd076bb98cad57a71fb986d131963e97a13cc71f15819d32691e3c0c5bdb0 SHA512 1faa19ea102dc730c147039e5eb1c5ad63ad1dc06ca5813710ed59f09d7731e9cc5724d3b48d28c1209ca0be75f62350f4de4e84df8faffee3fb4751767c106e WHIRLPOOL 90ca50ed73ffcceed79c85c2b0f25fe5dd529df47a02393308981b949027db2b5e85a3ebcf16a420a33762f418dce3209d456d1bf008a5e74efed3b6435d7f25
DIST vm-8.0.12.tgz 547048 SHA256 1e7b6e3c7401a825d288420c5a7820a004eff4b0f8838018a5598c95a0d5de57 SHA512 10aaf139a93d7e5239d5cb8ef912d48557d63313486f81ce63bb9c0bd8a8eba5a54f84c347e4b058816cd6cbafcb2131df9ba09966dcc57f17ca91fe8fa3e1f6 WHIRLPOOL edaa90e7f4fea030542632357ed268474e4d65e7d2d6741ba26ff643ea4d5fa9aba06eb724365d1de0573abd7f26b93ee2443fb752ea99f626f2f0a923686512
DIST vm-8.1.0.tgz 689653 SHA256 c9065188c476367f67a76d4441ea69372ab6e321c4fa673156838eebcbf68664 SHA512 7c26023791a8e61b32c362f8b29122902f9e410ebef66b8f8123fdc591aeead612783df7834ae8be16f7e2044afb37076f6f5e97a0faed5d615cdf51ead36411 WHIRLPOOL 4278d65817a80da7264c99db8b9147e8086bc859002b00579a223fe1ba690ce0dab222a39a1ec843bf38e227ac3056d2b9e57af1e37cb31bbf4378a4f02e02fe
DIST vm-8.1.1.tgz 701429 SHA256 1a40c48027e3ca164415b7054d83f9d00a0236d41d82af0c1816e4a911e869f1 SHA512 479aa4e1c7aa45129ebe876a8df1fdb1ef3d8d20f703abceaa164cac550391793fbc1fd897e1ff8ee9c4d5aca0a2e93a31439cdc965425f235c162154af1c046 WHIRLPOOL 2484e41417aab64c78bc7934dda5a5ca68f92843f6a2c2fdc82a875bd0c7ecfeb896ffc018bd935eb47a78b8199c8f0f83b5c1aa4d868a8fd7988d024c8cd384
DIST vm-8.1.2.tgz 703527 SHA256 c779f65d422ea169a1030b1c86c72e8b6f8e6c589396331c4688d8e1d0814636 SHA512 6b879e237d6509ecd95aff3fb5e26018cb38dd19b29a57545bd28b0ca45961a7106cefd6fdd42e123119ac465a4b9ef66b683c47a9f1d9ac683a954b484a0ff4 WHIRLPOOL 2c459cadc4944ee8e5719cfe5d5b5edda281e58edd13ce697748b3b2da2bb6d085b5473c069da3521618ad86a7239e0cfd8b65ecccc63b6e64665aaa37bcea8f
DIST vm-8.2.0b.tgz 839789 SHA256 6945821a521844a429ae3d0e25db69755185fa848343fdc3c754ab16344d2a12 SHA512 37b642975e8fe7e350c0a648f83608b28d8616417d376d9888c89b37c90d8bdb3c91cdc4c91a0f5072d29ac81bfea3d88f9b36699379bf8a5bdd15dd5a70858d WHIRLPOOL c35abe4d3ae3e9470733d761b3f6b8087dbda19b68cc99ed73b7d489e218e6fa257defccca72ed1b242d447ee43041da9bd8a3482d5b8df3893d5c81203d1578

@ -1,10 +0,0 @@
--- vm-8.0.12-orig/lisp/vm-pine.el 2008-11-05 21:04:35.000000000 +0100
+++ vm-8.0.12/lisp/vm-pine.el 2008-11-09 19:05:15.000000000 +0100
@@ -488,6 +488,7 @@
(error "Folder buffer closed before deletion of source message."))))
;;-----------------------------------------------------------------------------
+;;;###autoload
(defun vm-decode-postponed-mime-message ()
"Replace the mime buttons by attachment buttons."
(interactive)

@ -1,21 +0,0 @@
Fix display of UTF-8 encoded messages on tty
Gentoo patch, reported upstream:
https://bugs.launchpad.net/viewmail/+bug/453351
--- vm-8.0.12-orig/lisp/vm-mime.el
+++ vm-8.0.12/lisp/vm-mime.el
@@ -4399,9 +4399,11 @@
(cond ((and vm-xemacs-mule-p (memq (device-type) '(x gtk mswindows)))
(or (vm-string-assoc name vm-mime-mule-charset-to-coding-alist)
(vm-mime-default-face-charset-p name)))
- ((and vm-fsfemacs-mule-p (memq window-system '(x mac win32 w32)))
- (or (vm-string-assoc name vm-mime-mule-charset-to-coding-alist)
- (vm-mime-default-face-charset-p name)))
+
+ ;; vm-mime-tty-can-display-mime-charset (called below) fails
+ ;; for GNU Emacs. So keep things simple, since there's no harm
+ ;; if replacement characters are displayed.
+ (vm-fsfemacs-mule-p)
((vm-multiple-fonts-possible-p)
(or (vm-mime-default-face-charset-p name)
(vm-string-assoc name vm-mime-charset-font-alist)))

@ -1,96 +0,0 @@
Fix wrong charset for outgoing mail with Emacs 23
Gentoo patch, reported upstream:
http://groups.google.de/group/gnu.emacs.vm.bug/msg/33d027060b6fffe6
--- vm-8.0.12-orig/lisp/vm-mime.el
+++ vm-8.0.12/lisp/vm-mime.el
@@ -1409,7 +1409,6 @@
(defvar buffer-file-coding-system)
-;; TODO: integrate with the FSF's unify-8859-on-encoding-mode stuff.
(defun vm-determine-proper-charset (beg end)
"Work out what MIME character set to use for sending a message.
@@ -1430,6 +1429,28 @@
(if (or vm-xemacs-mule-p
(and vm-fsfemacs-mule-p enable-multibyte-characters))
;; Okay, we're on a MULE build.
+ (if (fboundp 'check-coding-systems-region)
+ ;; check-coding-systems-region appeared in GNU Emacs 23.
+ (let* ((preapproved (vm-get-coding-system-priorities))
+ (ucs-list (vm-get-mime-ucs-list))
+ (cant-encode (check-coding-systems-region
+ (point-min) (point-max)
+ (cons 'us-ascii preapproved))))
+ (if (not (assq 'us-ascii cant-encode))
+ ;; If there are only ASCII chars, we're done.
+ "us-ascii"
+ (while (and preapproved
+ (assq (car preapproved) cant-encode)
+ (not (memq (car preapproved) ucs-list)))
+ (setq preapproved (cdr preapproved)))
+ (if preapproved
+ (cadr (assq (car preapproved)
+ vm-mime-mule-coding-to-charset-alist))
+ ;; None of the entries in vm-coding-system-priorities
+ ;; can be used. This can only happen if no universal
+ ;; coding system is included. Fall back to utf-8.
+ "utf-8")))
+
(let ((charsets (delq 'ascii
(vm-charsets-in-region (point-min)
(point-max)))))
@@ -1472,9 +1493,7 @@
(while preapproved
(if (memq (car preapproved) ucs-list)
(throw 'done
- (car (cdr (assq
- (vm-coding-system-name
- (car preapproved))
+ (car (cdr (assq (car preapproved)
vm-mime-mule-coding-to-charset-alist)))))
(setq preapproved (cdr preapproved)))
;; Nothing universal in the preapproved list.
@@ -1488,8 +1507,8 @@
(when (latin-unity-maybe-remap (point-min)
(point-max) sys
csets psets t)
- (throw 'done (second (assq
- (vm-coding-system-name sys)
+ (throw 'done
+ (second (assq sys
vm-mime-mule-coding-to-charset-alist)))))
(setq systems (cdr systems)))
(throw 'done nil))
@@ -1511,9 +1530,8 @@
;; If we encounter a universal character set on
;; the preapproved list, pass it back.
(if (memq (car preapproved) ucs-list)
- (throw 'done (second (assq
- (vm-coding-system-name
- (car preapproved))
+ (throw 'done
+ (second (assq (car preapproved)
vm-mime-mule-coding-to-charset-alist))))
;; The preapproved entry isn't universal. Check if
@@ -1549,15 +1567,14 @@
;; If we encounter a universal character set on
;; the preapproved list, pass it back.
(when (memq (car preapproved) ucs-list)
- (throw 'done (second (assq
- (vm-coding-system-name
- (car preapproved))
+ (throw 'done
+ (second (assq (car preapproved)
vm-mime-mule-coding-to-charset-alist))))
(setq preapproved (cdr preapproved)))))
(throw 'done nil))))
;; Couldn't do any magic with vm-coding-system-priorities. Pass
;; back a Japanese iso-2022 MIME character set.
- (t (or vm-mime-8bit-composition-charset "iso-2022-jp"))))
+ (t (or vm-mime-8bit-composition-charset "iso-2022-jp")))))
;; If we're non-MULE and there are eight bit characters, use a
;; sensible default.
(goto-char (point-min))

@ -1,17 +0,0 @@
Fixes (hopefully) a corruption of the message subject cache in X-VM-v5-Data
http://bugs.gentoo.org/284668
--- vm-8.0.12-orig/lisp/vm-folder.el 2008-11-05 21:04:35.000000000 +0100
+++ vm-8.0.12/lisp/vm-folder.el 2009-09-11 23:22:15.000000000 +0200
@@ -1806,9 +1806,8 @@
(let ((print-escape-newlines t))
(prin1-to-string attributes))
"\n\t"
- (vm-mime-encode-words-in-string
- (let ((print-escape-newlines t))
- (prin1-to-string cache)))
+ (let ((print-escape-newlines t))
+ (prin1-to-string cache))
"\n\t"
(let ((print-escape-newlines t))
(prin1-to-string (vm-labels-of m)))

@ -1,17 +0,0 @@
http://bugs.gentoo.org/256886
--- vm-8.0.12-orig/lisp/vm-reply.el 2008-11-05 21:04:35.000000000 +0100
+++ vm-8.0.12/lisp/vm-reply.el 2009-11-03 08:14:30.000000000 +0100
@@ -343,6 +343,12 @@
(vm-insert-region-from-buffer (vm-buffer-of message)
(vm-headers-of message)
(vm-text-end-of message))
+ (vm-insert-region-from-buffer (vm-buffer-of message)
+ (vm-headers-of message)
+ (vm-text-of message))
+ (save-excursion
+ (goto-char (point-min))
+ (vm-decode-mime-message-headers))
(vm-decode-mime-layout layout)
(if vm-mime-yank-attachments
(vm-decode-postponed-mime-message))))

@ -0,0 +1,250 @@
--- vm-8.2.0b-orig/info/vm.texinfo
+++ vm-8.2.0b/info/vm.texinfo
@@ -914,7 +914,8 @@
@example
``pop:@var{HOST}:@var{PORT}:@var{AUTH}:@var{USER}:@var{PASSWORD}''
-``imap:@var{HOST}:@var{PORT}:@var{MAILBOX}:@var{AUTH}:@var{USER}:@var{PASSWORD}''@end example
+``imap:@var{HOST}:@var{PORT}:@var{MAILBOX}:@var{AUTH}:@var{USER}:@var{PASSWORD}''
+@end example
@noindent Remote mailboxes accessed by VM in this fashion are referred
to as @dfn{server folders} (and @dfn{@acronym{POP} folders} or @dfn{@acronym{IMAP}
@@ -1207,8 +1208,8 @@
((@var{IMAPDROP} @var{NAME}) ...)
@end example
-@var{IMAPDROP} is an @acronym{IMAP} maildrop specification (@ref{maildrop
- specification}).
+@var{IMAPDROP} is an @acronym{IMAP} maildrop specification
+(@ref{maildrop specification}).
@var{NAME} is a string that should give a less cumbersome name that you
will use to refer to this maildrop when using @code{vm-visit-imap-folder}.
@@ -2814,7 +2815,7 @@
* @acronym{MIME} preview:: Previewing a @acronym{MIME} message before sending.
@end menu
-@node @acronym{MIME} attachments, @acronym{MIME} characters, Sending @acronym{MIME} Messages, Sending @acronym{MIME} Messages,
+@node @acronym{MIME} attachments, @acronym{MIME} characters, Sending @acronym{MIME} Messages, Sending @acronym{MIME} Messages
@unnumberedsec @acronym{MIME} attachments
@kindex C-c C-a
@@ -2868,7 +2869,7 @@
before invoking this command. All the marked messages will be
attached as a digest in the outgoing message.
-@unnumberedsubsubsec Point-to-point attachment operations
+@unnumberedsubsec Point-to-point attachment operations
@cindex point-to-point attachment operations
A number of @dfn{point-to-point operations} allow you to attach objects
@@ -3425,7 +3426,7 @@
works like @code{vm-delete-after-saving} but applies to the @kbd{A}
(@code{vm-auto-archive-messages}) command (see below).
-@unnumberedsubsec vm-auto-folder-alist
+@unnumberedsec vm-auto-folder-alist
@vindex vm-auto-folder-alist
The variable @code{vm-auto-folder-alist} is used to specify
@@ -3477,7 +3478,7 @@
always case-insensitive because the Internet message standard RFC 822
specifies that header names are case indistinct.
-@unnumberedsubsec Other commands
+@unnumberedsec Other commands
@table @kbd
@findex vm-save-message-sans-headers
@@ -5174,7 +5175,7 @@
been expunged in the cache folder are expunged on the server.
@anchor{@acronym{UIDVALIDITY}}
-@unnumberedsubsec @acronym{UIDVALIDITY}
+@unnumberedsec @acronym{UIDVALIDITY}
@cindex @acronym{UIDVALIDITY}
Messages on an @acronym{IMAP} server have unique id numbers called UID's.
@@ -5198,7 +5199,7 @@
setting the @code{vm-enable-external-messages} flag to @code{(imap)} before
you refresh the cache so that it will be quicker. @pxref{External Messages}.
-@unnumberedsubsec Operations for the IMAP server
+@unnumberedsec Operations for the IMAP server
@cindex vm-list-imap-folders
The command @code{vm-list-imap-folders} lists the folders available on the
@@ -6021,7 +6022,7 @@
Useful ways to customize VM.
@section Reading messages
-@unnumberedsubsubsec Shrunken headers
+@unnumberedsubsec Shrunken headers
@cindex headers, shrunken
@vindex vm-enable-addons
@@ -6045,7 +6046,7 @@
(This add-on was provided by Robert Fenk.)
-@unnumberedsubsubsec @acronym{MIME} alternatives
+@unnumberedsubsec @acronym{MIME} alternatives
@cindex @acronym{MIME} alternatives
The default setting of VM for handling @acronym{MIME} alternatives is
@code{best-internal}, which means the best alternative that can be
@@ -6069,7 +6070,7 @@
@section Saving messages and attachments
-@unnumberedsubsubsec Auto saving attachments
+@unnumberedsubsec Auto saving attachments
Messages with attachments get bulky and increase the size of VM
folders, slowing down VM. The functions
@@ -6179,7 +6180,7 @@
@uref{http://launchpad.net/vm}. The ``VM Development Team'' can be
reached here using the email address @email{vm@@lists.launchpad.net}.
-@unnumberedsubsec Savannah project site
+@unnumberedsec Savannah project site
The changes made in each of the releases is described in the @samp{NEWS}
file, which can be found in the source code repository. The changes made
@@ -6197,7 +6198,7 @@
takes you to a page that lists various version of VM source code, and
gives instructions for downloading it via @samp{Bazaar} (@code{bzr}).
-@unnumberedsubsec Technical support
+@unnumberedsec Technical support
VM has a dedicated usenet newsgroup @code{gnu.emacs.vm.info} and a
gmane newsgroup @code{gmane.emacs.viewmail}, in which the developers
@@ -6220,7 +6221,7 @@
The best way to report bugs is via the Launchpad bug tacker. See below.
-@unnumberedsubsec Get Involved
+@unnumberedsec Get Involved
VM is now supported and maintained by the user community. So, as an
active user, your participation is key to keep the project going.
@@ -6249,7 +6250,7 @@
and merge your branch with the main development when your changes
are ready.
-@unnumberedsubsec Contributors
+@unnumberedsec Contributors
Contributions to the code from the following members of the VM community
are gratefully acknowledged:
@@ -6276,7 +6277,7 @@
Please let us know if any other contributors have been missed out.
-@unnumberedsubsec Selected Releases of Kyle Jones
+@unnumberedsec Selected Releases of Kyle Jones
@itemize
@item Version 4.10, released in 1989.
@item Version 5.00, released in 1990.
@@ -6291,7 +6292,7 @@
@end itemize
-@unnumberedsubsec Releases of Robert Widhopf-Fenk
+@unnumberedsec Releases of Robert Widhopf-Fenk
@itemize
@item Version 8.0.0, released 31 May, 2007.
@item Version 8.0.1, released 29 June, 2007.
@@ -6311,7 +6312,7 @@
@end itemize
-@unnumberedsubsec Releases of VM development team
+@unnumberedsec Releases of VM development team
@itemize
@item Version 8.1.0, released 21 March, 2010.
@item Version 8.1.1, released 25 April, 2010.
@@ -6545,7 +6546,7 @@
@acronym{IMAP} folders.)
@end itemize
-@unnumberedsubsubsec Folder variables
+@unnumberedsubsec Folder variables
Internal to Emacs, VM stores the folder as simply a text buffer. However, it
remembers a variety of data about the message contents in the buffer
@@ -6712,7 +6713,7 @@
undoing cycle.
@end itemize
-@unnumberedsubsubsec vm-folder-access-data
+@unnumberedsubsec vm-folder-access-data
The variable @code{vm-folder-access-data} is a vector storing data about the
state of the mail server (for @acronym{POP} and @acronym{IMAP} servers). It contains the
--- vm-8.2.0b-orig/info/vm-pcrisis.texinfo
+++ vm-8.2.0b/info/vm-pcrisis.texinfo
@@ -1179,7 +1179,7 @@
@c ***************************************************************************
-@unnumberedsubsec vmpc-auto-profiles-file
+@unnumberedsec vmpc-auto-profiles-file
@vindex vmpc-auto-profiles-file
The variable @code{vmpc-auto-profiles-file} contains the name of the
@@ -1191,7 +1191,7 @@
@c ***************************************************************************
-@unnumberedsubsec vmpc-auto-profiles-expunge-days
+@unnumberedsec vmpc-auto-profiles-expunge-days
@vindex vmpc-auto-profiles-expunge-days
In order to keep vmpc-auto-profiles-file from becoming massive,
@@ -1203,7 +1203,7 @@
@c ***************************************************************************
-@unnumberedsubsec vmpc-sig-face
+@unnumberedsec vmpc-sig-face
@vindex vmpc-sig-face
This is the face used to highlight the signature. You can use
@@ -1212,7 +1212,7 @@
@c ***************************************************************************
-@unnumberedsubsec vmpc-pre-sig-face
+@unnumberedsec vmpc-pre-sig-face
@vindex vmpc-pre-sig-face
This is the face used to highlight the pre-signature. You can use
@@ -1221,7 +1221,7 @@
@c ***************************************************************************
-@unnumberedsubsec vmpc-intangible-sig
+@unnumberedsec vmpc-intangible-sig
@vindex vmpc-intangible-sig
@anchor{vmpc-intangible-sig}
@@ -1240,7 +1240,7 @@
@c ***************************************************************************
-@unnumberedsubsec vmpc-intangible-pre-sig
+@unnumberedsec vmpc-intangible-pre-sig
@vindex vmpc-intangible-pre-sig
The @code{vmpc-intangible-pre-sig} variable works just like
@@ -1249,7 +1249,7 @@
@c ***************************************************************************
-@unnumberedsubsec vmpc-expect-default-signature
+@unnumberedsec vmpc-expect-default-signature
@vindex vmpc-expect-default-signature
Traditionally, signatures are added to new mail messages using a

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/vm/vm-7.19-r4.ebuild,v 1.6 2012/07/29 17:14:56 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emacs/vm/vm-7.19-r4.ebuild,v 1.7 2013/04/04 21:17:46 ulm Exp $
inherit elisp eutils
@ -9,7 +9,7 @@ HOMEPAGE="http://www.wonderworks.com/vm/"
SRC_URI="ftp://ftp.uni-mainz.de/pub/software/gnu/${PN}/${P}.tar.gz
ftp://ftp.uu.net/networking/mail/${PN}/${P}.tar.gz"
LICENSE="GPL-1"
LICENSE="GPL-1+"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""

@ -1,50 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/vm/vm-8.0.12-r6.ebuild,v 1.7 2012/07/29 17:14:56 armin76 Exp $
inherit elisp eutils
DESCRIPTION="The VM mail reader for Emacs"
HOMEPAGE="http://www.nongnu.org/viewmail/"
SRC_URI="http://download.savannah.nongnu.org/releases/viewmail/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="bbdb ssl"
DEPEND="bbdb? ( app-emacs/bbdb )"
RDEPEND="${DEPEND}
ssl? ( net-misc/stunnel )"
SITEFILE="50${PN}-gentoo-8.0.el"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-autoload-vm-pine.patch" #246185
epatch "${FILESDIR}/${P}-supercite-yank-1.patch" #256886
epatch "${FILESDIR}/${P}-folder-corruption.patch" #284668
epatch "${FILESDIR}/${P}-emacs-23.patch"
epatch "${FILESDIR}/${P}-charset-displayable.patch"
if ! use bbdb; then
elog "Excluding vm-pcrisis.el since the \"bbdb\" USE flag is not set."
epatch "${FILESDIR}/vm-8.0-no-pcrisis.patch"
fi
}
src_compile() {
econf \
--with-emacs="emacs" \
--with-pixmapdir="${SITEETC}/${PN}" \
$(use bbdb && echo "--with-other-dirs=${SITELISP}/bbdb")
emake || die "emake failed"
}
src_install() {
emake -j1 DESTDIR="${D}" install || die "emake install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
dodoc NEWS README TODO example.vm || die "dodoc failed"
}

@ -1,48 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/vm/vm-8.1.0.ebuild,v 1.3 2012/07/29 17:14:56 armin76 Exp $
inherit elisp eutils
MY_PV="${PV/_/-}"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="The VM mail reader for Emacs"
HOMEPAGE="http://www.nongnu.org/viewmail/"
SRC_URI="http://launchpad.net/vm/${PV%.*}.x/${MY_PV}/+download/${MY_P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="bbdb ssl"
DEPEND="bbdb? ( app-emacs/bbdb )"
RDEPEND="!app-emacs/u-vm-color
${DEPEND}
ssl? ( net-misc/stunnel )"
S="${WORKDIR}/${MY_P}"
SITEFILE="50${PN}-gentoo-8.0.el"
src_unpack() {
unpack ${A}
cd "${S}"
if ! use bbdb; then
elog "Excluding vm-pcrisis.el since the \"bbdb\" USE flag is not set."
epatch "${FILESDIR}/vm-8.0-no-pcrisis.patch"
fi
}
src_compile() {
econf \
--with-emacs="emacs" \
--with-pixmapdir="${SITEETC}/${PN}" \
$(use bbdb && echo "--with-other-dirs=${SITELISP}/bbdb")
emake || die "emake failed"
}
src_install() {
emake -j1 DESTDIR="${D}" install || die "emake install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
dodoc CHANGES NEWS README TODO example.vm || die "dodoc failed"
}

@ -1,48 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/vm/vm-8.1.1.ebuild,v 1.4 2012/07/29 17:14:56 armin76 Exp $
inherit elisp eutils
MY_PV="${PV/_/-}"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="The VM mail reader for Emacs"
HOMEPAGE="http://www.nongnu.org/viewmail/"
SRC_URI="http://launchpad.net/vm/${PV%.*}.x/${MY_PV}/+download/${MY_P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="bbdb ssl"
DEPEND="bbdb? ( app-emacs/bbdb )"
RDEPEND="!app-emacs/u-vm-color
${DEPEND}
ssl? ( net-misc/stunnel )"
S="${WORKDIR}/${MY_P}"
SITEFILE="50${PN}-gentoo-8.0.el"
src_unpack() {
unpack ${A}
cd "${S}"
if ! use bbdb; then
elog "Excluding vm-pcrisis.el since the \"bbdb\" USE flag is not set."
epatch "${FILESDIR}/vm-8.0-no-pcrisis.patch"
fi
}
src_compile() {
econf \
--with-emacs="emacs" \
--with-pixmapdir="${SITEETC}/${PN}" \
$(use bbdb && echo "--with-other-dirs=${SITELISP}/bbdb")
emake -j1 || die "emake failed"
}
src_install() {
emake -j1 DESTDIR="${D}" install || die "emake install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
dodoc CHANGES NEWS README TODO example.vm || die "dodoc failed"
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/vm/vm-8.1.2.ebuild,v 1.5 2012/07/29 17:14:56 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emacs/vm/vm-8.1.2.ebuild,v 1.6 2013/04/04 21:17:46 ulm Exp $
EAPI=4
@ -12,7 +12,7 @@ DESCRIPTION="The VM mail reader for Emacs"
HOMEPAGE="http://www.nongnu.org/viewmail/"
SRC_URI="http://launchpad.net/vm/${PV%.*}.x/${MY_PV}/+download/${MY_P}.tgz"
LICENSE="GPL-2"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="bbdb ssl"
@ -45,6 +45,6 @@ src_compile() {
src_install() {
emake -j1 DESTDIR="${D}" install
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
dodoc CHANGES NEWS README TODO example.vm
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/vm/vm-8.2.0_beta.ebuild,v 1.2 2012/07/29 17:14:56 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emacs/vm/vm-8.2.0_beta.ebuild,v 1.3 2013/04/04 21:17:46 ulm Exp $
EAPI=4
@ -12,7 +12,7 @@ DESCRIPTION="The VM mail reader for Emacs"
HOMEPAGE="http://www.nongnu.org/viewmail/"
SRC_URI="http://launchpad.net/vm/${PV%.*}.x/${MY_PV}/+download/${MY_P}.tgz"
LICENSE="GPL-2"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="bbdb ssl"
@ -21,12 +21,15 @@ DEPEND="bbdb? ( app-emacs/bbdb )"
RDEPEND="!app-emacs/u-vm-color
${DEPEND}
ssl? ( net-misc/stunnel )"
DEPEND="${DEPEND}
sys-apps/texinfo"
S="${WORKDIR}/${MY_P}"
SITEFILE="50${PN}-gentoo.el"
src_prepare() {
epatch "${FILESDIR}/${P}-datadir.patch"
epatch "${FILESDIR}/${P}-texinfo-5.patch"
if ! use bbdb; then
elog "Excluding vm-pcrisis.el since the \"bbdb\" USE flag is not set."
@ -49,7 +52,7 @@ src_compile() {
src_install() {
emake -j1 DESTDIR="${D}" install
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
# delete duplicate documentation
find "${D}/${SITEETC}/${PN}" -type d -name pixmaps -prune \

@ -4,3 +4,4 @@ DIST libvirt-1.0.2.tar.gz 22971729 SHA256 9b8c2752f78658b65ef1c608b3775be0978d60
DIST libvirt-1.0.3-2102e03d.tar.xz 4180 SHA256 a66e7b5f60461d203caa7fc38237d1742c6e550e9d8baa8835ea7df584cb70c0 SHA512 55c7c7fe7285ff399d2b13756653ebfe9a7e9e21ce2e9b91a366a7867ef10ffac9846dcf72af2941abd996efb9d115982f980abc88d1c629f0833c5e20f1f692 WHIRLPOOL 644ff645393367c69c97d19c73bc2e0e8eac8a219f67041ae0c44069a760e03527f77d41c7d37c2483896bfe4439f450fe35af64f6316fa634d947665f105149
DIST libvirt-1.0.3-9bf6bec4.tar.xz 7032 SHA256 841f062bd4185ac36a5633103c899d4ef5da6a2092ef1a2f7125298ec336b18b SHA512 7eeba343a27c4dbe5e984641082c6f8c59ba0c04a22c5a3e390c0bf03e65a966e7db15be732c61473d2dfb245bdd53f950d3a848980153b90310439b781bbcdc WHIRLPOOL 8d90ebc9fc17a7c8ac119f34b2e64679322878c0c8dd7eb837f2b5e89047b084ec87e9966841d0aaf7ed19e75548b9d5f5f66d461e2f177a5e817669471a27c8
DIST libvirt-1.0.3.tar.gz 23238381 SHA256 f64f4acd7cdcfc6ab5e803195ed58b949f262b54e3659d8c37b33f0fec112757 SHA512 f0002d40a018e22bd05c9bc990db0b14e0ec815613f54d04fc3b631081d87b6659620188da9f0ba376f290206d979467013274ab99b7394c66bde54c82e08fb4 WHIRLPOOL 29dad8e6b1e4d61fe83fc450436c0fdc200b360f93772c2fefe40ab443ec2a7cb6566e634d15290beb4f7ea1f461503b1cd86accddde59659ed46b60b56e3d76
DIST libvirt-1.0.4.tar.gz 23353253 SHA256 d94c99ce286f5a89eb02c9f3d9d620930df1f9348262a60199b4a565a222c9a0 SHA512 5e867e48c12180840fcdfebb85e7349b704ae923cdb188d41009788d39ff64c25483e608805ccb0e91eee164c8c6e89ac08643649e495ad04668a11f7aa5a8f6 WHIRLPOOL cb44708897b485a5a63b2ae107d869c9deb09cbbb9288c32ee73cb513a6e895cf4ceae948719e449cf2f5eeed4b490e7c421dc2ea3bcec865a946a56f0a01e15

@ -0,0 +1,422 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.0.4.ebuild,v 1.1 2013/04/04 18:14:18 cardoe Exp $
EAPI=5
#BACKPORTS=9bf6bec4
AUTOTOOLIZE=yes
MY_P="${P/_rc/-rc}"
PYTHON_DEPEND="python? 2:2.5"
#RESTRICT_PYTHON_ABIS="3.*"
#SUPPORT_PYTHON_ABIS="1"
inherit eutils python user autotools linux-info
if [[ ${PV} = *9999* ]]; then
inherit git-2
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
AUTOTOOLIZE=yes
SRC_URI=""
KEYWORDS=""
else
SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
ftp://libvirt.org/libvirt/${MY_P}.tar.gz
${BACKPORTS:+
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
KEYWORDS="~amd64 ~x86"
fi
S="${WORKDIR}/${P%_rc*}"
DESCRIPTION="C toolkit to manipulate virtual machines"
HOMEPAGE="http://www.libvirt.org/"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="audit avahi +caps firewalld fuse iscsi +libvirtd lvm +lxc +macvtap nfs \
nls numa openvz parted pcap phyp policykit python qemu rbd sasl \
selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc"
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
lxc? ( caps libvirtd )
openvz? ( libvirtd )
qemu? ( libvirtd )
uml? ( libvirtd )
vepa? ( macvtap )
virtualbox? ( libvirtd )
xen? ( libvirtd )
virt-network? ( libvirtd )
firewalld? ( virt-network )"
# gettext.sh command is used by the libvirt command wrappers, and it's
# non-optional, so put it into RDEPEND.
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
# package will use 3 by default. Since we don't have slot pinning in an API,
# we must go with the most recent
RDEPEND="sys-libs/readline
sys-libs/ncurses
>=net-misc/curl-7.18.0
dev-libs/libgcrypt
>=dev-libs/libxml2-2.7.6
dev-libs/libnl:3
>=net-libs/gnutls-1.0.25
net-libs/libssh2
sys-apps/dmidecode
>=sys-apps/util-linux-2.17
sys-devel/gettext
>=net-analyzer/netcat6-1.0-r2
app-misc/scrub
audit? ( sys-process/audit )
avahi? ( >=net-dns/avahi-0.6[dbus] )
caps? ( sys-libs/libcap-ng )
fuse? ( >=sys-fs/fuse-2.8.6 )
iscsi? ( sys-block/open-iscsi )
lxc? ( sys-power/pm-utils )
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
nfs? ( net-fs/nfs-utils )
numa? (
>sys-process/numactl-2.0.2
sys-process/numad
)
openvz? ( sys-kernel/openvz-sources )
parted? (
>=sys-block/parted-1.8[device-mapper]
sys-fs/lvm2
)
pcap? ( >=net-libs/libpcap-1.0.0 )
policykit? ( >=sys-auth/polkit-0.9 )
qemu? (
>=app-emulation/qemu-0.13.0
dev-libs/yajl
sys-power/pm-utils
)
rbd? ( sys-cluster/ceph )
sasl? ( dev-libs/cyrus-sasl )
selinux? ( >=sys-libs/libselinux-2.0.85 )
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
xen? ( app-emulation/xen-tools app-emulation/xen )
udev? ( virtual/udev >=x11-libs/libpciaccess-0.10.9 )
virt-network? ( net-dns/dnsmasq
>=net-firewall/iptables-1.4.10
net-misc/radvd
net-firewall/ebtables
sys-apps/iproute2[-minimal]
firewalld? ( net-firewall/firewalld )
)
elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
# one? ( dev-libs/xmlrpc-c )
DEPEND="${RDEPEND}
virtual/pkgconfig
app-text/xhtml1
dev-libs/libxslt
=dev-lang/python-2*"
LXC_CONFIG_CHECK="
~CGROUPS
~CGROUP_FREEZER
~CGROUP_DEVICE
~CPUSETS
~CGROUP_CPUACCT
~RESOURCE_COUNTERS
~CGROUP_SCHED
~BLK_CGROUP
~NAMESPACES
~UTS_NS
~IPC_NS
~PID_NS
~NET_NS
~DEVPTS_MULTIPLE_INSTANCES
~VETH
~MACVLAN
~POSIX_MQUEUE
~!GRKERNSEC_CHROOT_MOUNT
~!GRKERNSEC_CHROOT_DOUBLE
~!GRKERNSEC_CHROOT_PIVOT
~!GRKERNSEC_CHROOT_CHMOD
~!GRKERNSEC_CHROOT_CAPS
"
VIRTNET_CONFIG_CHECK="
~BRIDGE_NF_EBTABLES
~NETFILTER_ADVANCED
~NETFILTER_XT_TARGET_CHECKSUM
"
MACVTAP_CONFIG_CHECK="~MACVTAP"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
enewgroup qemu 77
enewuser qemu 77 -1 -1 qemu kvm
# Some people used the masked ebuild which was not adding the qemu
# user to the kvm group originally. This results in VMs failing to
# start for some users. bug #430808
egetent group kvm | grep -q qemu
if [[ $? -ne 0 ]]; then
gpasswd -a qemu kvm
fi
# Handle specific kernel versions for different features
kernel_is lt 3 5 && LXC_CONFIG_CHECK+=" ~USER_NS"
kernel_is lt 3 6 && LXC_CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR" || \
LXC_CONFIG_CHECK+=" ~MEMCG"
CONFIG_CHECK=""
use fuse && CONFIG_CHECK+=" ~FUSE_FS"
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
use macvtap && CONFIG_CHECK+="${MACVTAP}"
use virt-network && CONFIG_CHECK+="${VIRTNET_CONFIG_CHECK}"
if [[ -n ${CONFIG_CHECK} ]]; then
linux-info_pkg_setup
fi
}
src_prepare() {
touch "${S}/.mailmap"
[[ -n ${BACKPORTS} ]] && \
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
epatch
if [[ ${PV} = *9999* ]]; then
# git checkouts require bootstrapping to create the configure script.
# Additionally the submodules must be cloned to the right locations
# bug #377279
./bootstrap || die "bootstrap failed"
(
git submodule status | sed 's/^[ +-]//;s/ .*//'
git hash-object bootstrap.conf
) >.git-module-status
fi
epatch_user
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
# Tweak the init script
local avahi_init=
local iscsi_init=
local rbd_init=
local firewalld_init=
cp "${FILESDIR}/libvirtd.init-r11" "${S}/libvirtd.init"
use avahi && avahi_init='avahi-daemon'
use iscsi && iscsi_init='iscsid'
use rbd && rbd_init='ceph'
use firewalld && firewalld_init='need firewalld'
sed -e "s/USE_FLAG_FIREWALLD/${firewalld_init}/" -i "${S}/libvirtd.init"
sed -e "s/USE_FLAG_AVAHI/${avahi_init}/" -i "${S}/libvirtd.init"
sed -e "s/USE_FLAG_ISCSI/${iscsi_init}/" -i "${S}/libvirtd.init"
sed -e "s/USE_FLAG_RBD/${rbd_init}/" -i "${S}/libvirtd.init"
}
src_configure() {
local myconf=""
## enable/disable daemon, otherwise client only utils
myconf="${myconf} $(use_with libvirtd)"
## enable/disable the daemon using avahi to find VMs
myconf="${myconf} $(use_with avahi)"
## hypervisors on the local host
myconf="${myconf} $(use_with xen) $(use_with xen xen-inotify)"
myconf+=" --without-xenapi"
if use xen && has_version ">=app-emulation/xen-tools-4.2.0"; then
myconf+=" --with-libxl"
else
myconf+=" --without-libxl"
fi
myconf="${myconf} $(use_with openvz)"
myconf="${myconf} $(use_with lxc)"
if use virtualbox && has_version app-emulation/virtualbox-ose; then
myconf="${myconf} --with-vbox=/usr/lib/virtualbox-ose/"
else
myconf="${myconf} $(use_with virtualbox vbox)"
fi
myconf="${myconf} $(use_with uml)"
myconf="${myconf} $(use_with qemu)"
myconf="${myconf} $(use_with qemu yajl)" # Use QMP over HMP
myconf="${myconf} $(use_with phyp)"
myconf="${myconf} --with-esx"
myconf="${myconf} --with-vmware"
## additional host drivers
myconf="${myconf} $(use_with virt-network network)"
myconf="${myconf} --with-storage-fs"
myconf="${myconf} $(use_with lvm storage-lvm)"
myconf="${myconf} $(use_with iscsi storage-iscsi)"
myconf="${myconf} $(use_with parted storage-disk)"
myconf="${myconf} $(use_with lvm storage-mpath)"
myconf="${myconf} $(use_with rbd storage-rbd)"
myconf="${myconf} $(use_with numa numactl)"
myconf="${myconf} $(use_with numa numad)"
myconf="${myconf} $(use_with selinux)"
myconf="${myconf} $(use_with fuse)"
# udev for device support details
myconf="${myconf} $(use_with udev)"
# linux capability support so we don't need privileged accounts
myconf="${myconf} $(use_with caps capng)"
## auth stuff
myconf="${myconf} $(use_with policykit polkit)"
myconf="${myconf} $(use_with sasl)"
# network bits
myconf="${myconf} $(use_with macvtap)"
myconf="${myconf} $(use_with pcap libpcap)"
myconf="${myconf} $(use_with vepa virtualport)"
myconf="${myconf} $(use_with firewalld)"
## other
myconf="${myconf} $(use_enable nls)"
myconf="${myconf} $(use_with python)"
# user privilege bits fir qemu/kvm
if use caps; then
myconf="${myconf} --with-qemu-user=qemu"
myconf="${myconf} --with-qemu-group=qemu"
else
myconf="${myconf} --with-qemu-user=root"
myconf="${myconf} --with-qemu-group=root"
fi
# audit support
myconf="${myconf} $(use_with audit)"
## stuff we don't yet support
myconf="${myconf} --without-netcf"
# we use udev over hal
myconf="${myconf} --without-hal"
# locking support
myconf="${myconf} --without-sanlock"
# this is a nasty trick to work around the problem in bug
# #275073. The reason why we don't solve this properly is that
# it'll require us to rebuild autotools (and we don't really want
# to do that right now). The proper solution has been sent
# upstream and should hopefully land in 0.7.7, in the mean time,
# mime the same functionality with this.
case ${CHOST} in
*cygwin* | *mingw* )
;;
*)
ac_cv_prog_WINDRES=no
;;
esac
econf \
${myconf} \
--disable-static \
--docdir=/usr/share/doc/${PF} \
--with-remote \
--localstatedir=/var
if [[ ${PV} = *9999* ]]; then
# Restore gnulib's config.sub and config.guess
# bug #377279
(cd .gnulib && git reset --hard > /dev/null)
fi
}
src_test() {
# Explicitly allow parallel build of tests
export VIR_TEST_DEBUG=1
HOME="${T}" emake check || die "tests failed"
}
src_install() {
emake install \
DESTDIR="${D}" \
HTML_DIR=/usr/share/doc/${PF}/html \
DOCS_DIR=/usr/share/doc/${PF}/python \
EXAMPLE_DIR=/usr/share/doc/${PF}/python/examples \
|| die "emake install failed"
find "${D}" -name '*.la' -delete || die
use libvirtd || return 0
# From here, only libvirtd-related instructions, be warned!
newinitd "${S}/libvirtd.init" libvirtd || die
newconfd "${FILESDIR}/libvirtd.confd-r4" libvirtd || die
keepdir /var/lib/libvirt/images
}
pkg_preinst() {
# we only ever want to generate this once
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
fi
# We really don't want to use or support old PolicyKit cause it
# screws with the new polkit integration
if has_version sys-auth/policykit; then
rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
fi
# Only sysctl files ending in .conf work
mv "${D}"/usr/lib/sysctl.d/libvirtd "${D}"/etc/sysctl.d/libvirtd.conf
}
pkg_postinst() {
use python && python_mod_optimize libvirt.py
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
fi
# support for dropped privileges
if use qemu; then
fperms 0750 "${EROOT}/var/lib/libvirt/qemu"
fperms 0750 "${EROOT}/var/cache/libvirt/qemu"
fi
if use caps && use qemu; then
fowners -R qemu:qemu "${EROOT}/var/lib/libvirt/qemu"
fowners -R qemu:qemu "${EROOT}/var/cache/libvirt/qemu"
elif use qemu; then
fowners -R root:root "${EROOT}/var/lib/libvirt/qemu"
fowners -R root:root "${EROOT}/var/cache/libvirt/qemu"
fi
if ! use policykit; then
elog "To allow normal users to connect to libvirtd you must change the"
elog "unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
fi
use libvirtd || return 0
# From here, only libvirtd-related instructions, be warned!
elog
elog "For the basic networking support (bridged and routed networks)"
elog "you don't need any extra software. For more complex network modes"
elog "including but not limited to NATed network, you can enable the"
elog "'virt-network' USE flag."
elog
if has_version net-dns/dnsmasq; then
ewarn "If you have a DNS server setup on your machine, you will have"
ewarn "to configure /etc/dnsmasq.conf to enable the following settings: "
ewarn " bind-interfaces"
ewarn " interface or except-interface"
ewarn
ewarn "Otherwise you might have issues with your existing DNS server."
fi
if use caps && use qemu; then
elog "libvirt will now start qemu/kvm VMs with non-root privileges."
elog "Ensure any resources your VMs use are accessible by qemu:qemu"
fi
}
pkg_postrm() {
use python && python_mod_cleanup libvirt.py
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ibus-1.5.1-r2.ebuild,v 1.1 2013/04/03 22:14:52 naota Exp $
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ibus-1.5.1-r2.ebuild,v 1.2 2013/04/05 03:54:15 naota Exp $
EAPI=4
PYTHON_DEPEND="python? 2:2.5"
@ -18,7 +18,7 @@ SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
# USE=vala is temporaly removed due to fix patch:
# USE=vala and DEPEND=gnome-base/gconf is temporaly removed due to fix patch:
# ${P}-use-system-keyboard-layout.patch
IUSE="dconf deprecated +gconf gtk +gtk3 +introspection nls +python test +X"
REQUIRED_USE="|| ( gtk gtk3 X )
@ -58,7 +58,8 @@ DEPEND="${COMMON_DEPEND}
dev-util/intltool
virtual/pkgconfig
nls? ( >=sys-devel/gettext-0.16.1 )
$(vala_depend)"
$(vala_depend)
gnome-base/gconf"
# stress test in bus/ fails
# IBUS-CRITICAL **: bus_test_client_init: assertion `ibus_bus_is_connected (_bus)' failed

@ -1,2 +1,3 @@
DIST binwalk-1.0.tar.gz 73671 SHA256 da30a1e150307a4e36f1af30602576ca83a0f83638c276c2ce82e0224c8bbef4 SHA512 c0e8f5eb1ac834fd78fb1ac99579b634e3a7a2820fe724443fc90fb5109900cbeeca06e0b01ab81d5c7898014e2f4fb8d3a9180862c3567ae9ecb2f6bdf2a18f WHIRLPOOL a0d18fd063f334aaceffdbf3245721a0ac9afa1cd9fdd16e5f473d20bf6be29c275a90ed0be72d2436f7c836e60f31ffd37d58c1b90a8262de3330768a1f4e38
DIST binwalk-1.1.tar.gz 73115 SHA256 75852a55225ee7c780e2f3d78b3e8cd932c004f621d21490130a30750680c82a SHA512 264ff76b1ac763aa8cdeee2e2b07412a03c8cf6dd7663995bbdf35375976e3f5ad33b0689f0d4eb61fc2e5ec51566d7ca2a72e492761108f76e5bbe9fa3c58b8 WHIRLPOOL d67e6f344de8a61f36c1919375a3fad89bc6a5c59459b4d3494961c20123459923480af5baa1c929d7a29594e3a9aafd197a61942b02b1f54622d3c44b522c1f
DIST binwalk-1.2.tar.gz 89463 SHA256 fb8c58b42b440a80bc2230fd71750efc2180d89e6a0d985df37b18593af0304f SHA512 3ee60afbe6e5f9e190bfcf2560b9605c2820d8b567ff28dd80698896beba95d51f5d88f3ac5eccbe2f5575198d1637e23213effb6d834e25a9942b48c9130975 WHIRLPOOL b9eeea56305bd49b4eb3d31e123719ce7a77636e2e31435796e97f230b57eda8ff92e824e6a82f54ddc5b321b941eaf53addeab8f45499155c980235ab528d47

@ -0,0 +1,24 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/binwalk/binwalk-1.2.ebuild,v 1.1 2013/04/05 08:26:33 radhermit Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
inherit distutils-r1
DESCRIPTION="A tool for identifying files embedded inside firmware images"
HOMEPAGE="http://code.google.com/p/binwalk/"
SRC_URI="http://binwalk.googlecode.com/files/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="graph"
RDEPEND="sys-apps/file[python]
graph? ( dev-python/matplotlib[${PYTHON_USEDEP}] )"
S=${WORKDIR}/${P}/src
DOCS=( ../docs/README ../docs/API )

@ -16,4 +16,7 @@
<upstream>
<remote-id type="google-code">binwalk</remote-id>
</upstream>
<use>
<flag name="graph">Enable support for generating entropy graphs</flag>
</use>
</pkgmetadata>

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/clockywock/clockywock-0.3.1a.ebuild,v 1.1 2013/03/02 20:37:21 pinkbyte Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/clockywock/clockywock-0.3.1a.ebuild,v 1.3 2013/04/04 19:47:07 ago Exp $
EAPI="5"
@ -12,7 +12,7 @@ SRC_URI="http://soomka.com/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
RDEPEND="sys-libs/ncurses"
DEPEND="${RDEPEND}"

@ -1,11 +1,11 @@
diff -Nru gnokii-9999.orig/po/POTFILES.in gnokii-9999/po/POTFILES.in
--- gnokii-9999.orig/po/POTFILES.in 2009-08-16 11:48:52.000000000 +0200
+++ gnokii-9999/po/POTFILES.in 2009-08-16 11:56:02.000000000 +0200
@@ -59,6 +59,7 @@
smsd/mysql.c
@@ -57,6 +57,7 @@
smsd/pq.c
smsd/smsd.c
smsd/sqlite.c
+utils/gnokii-configure.glade
utils/mgnokiidev.c
xgnokii/xgnokii.desktop.in
xgnokii/xgnokii.c
xgnokii/xgnokii_calendar.c

@ -1,3 +1,3 @@
DIST calibre-0.9.20.tar.xz 28170112 SHA256 96075f6dbd25bf0bd26378b67d695478bd251a5ab8706cbc5907209aa6b6fcda SHA512 6bfa2e5c3b08d4201a281c3067de47d450474586355ab61fe3e4a70ab4a67164fa22b4baadaf859cc89918cc839500330c82e8501f0d52c63441b8bb1cbd4fda WHIRLPOOL 4c21bbc439ccdf2c1ff1cd6d93506d11e165387f68a9cba10f3263bfe6a70085d1ec98db7f187b51e5cc6879427fba2feb0afa2a2d1f4c570517163549546f73
DIST calibre-0.9.24.tar.xz 28560544 SHA256 7ecc4ecf3022dba425849609224f68edb5039db81d1dd1258a42d6c4d3332539 SHA512 1b1cea5ce9f0177e59b32cf9472b994e34ed9e0077aff95a946388c7557e69f7c6bef8af520fbe04858fc5590af1aa0b8919c685b064bf3530417c473fae92f8 WHIRLPOOL 6e88428c2692f5654238c737f6d98b654d9bbe36ee53ba214dc29458113d92b722188a0112d0b5b33b84212a25fa1b860c38a83946301a6bbbcbf7340d82dc22
DIST calibre-0.9.25.tar.xz 28606708 SHA256 cacf0b096f3b9c60c11a229ea8835b5a3eab1058a88d7c2e4fc496b955186b7b SHA512 27a62ba48d6e0bde868c4ae0f10cd5abf5432c2cb4d3076183cd35c6662340b47cb6143924675b3eadb54fb4641594cc59e1c291ef45decdb7e814dd13f8ec1c WHIRLPOOL 1a7a720d22550b13117ec526c996ab55beede9514aa7f53b106ae447d3e6121f71781b82c9a9883690dfa8fb47045394ed83f7fd0c0c1306e5aa3f1074c0b50f
DIST calibre-0.9.26.tar.xz 28649776 SHA256 9e38087d814acefc580e701fd73a72b81cfd78dbd2b6a100c037eed4a69bb4ba SHA512 3118f4b44a84d7a2187ce1d249a85400b9c725e0aeb779f764123e364bc9304b5fac5752cd187d51b36e9e0bf06d3e36eb7cbb21d91a28bfe1df717a5ec7a303 WHIRLPOOL c337c604035559fe07607a9239e78ee6c33adc5b836634d87209be2979fb7afa5972de8deb5f112bd8a2405016cd52e374dfaddcc942849cc820cbd4532c2ff0

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.9.24.ebuild,v 1.1 2013/03/22 16:20:20 zmedico Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.9.26.ebuild,v 1.1 2013/04/05 16:27:18 zmedico Exp $
EAPI=5
PYTHON_DEPEND=2:2.7

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/pinfo/pinfo-0.6.10-r4.ebuild,v 1.1 2013/02/27 20:20:39 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/pinfo/pinfo-0.6.10-r4.ebuild,v 1.3 2013/04/05 16:14:44 jer Exp $
EAPI=5
inherit eutils flag-o-matic
@ -11,11 +11,12 @@ SRC_URI="https://alioth.debian.org/frs/download.php/3351/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="nls readline"
RDEPEND="
sys-libs/ncurses
sys-libs/readline
nls? ( virtual/libintl )
"

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/podofo/podofo-0.9.2.ebuild,v 1.2 2013/02/28 15:03:15 zmedico Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/podofo/podofo-0.9.2.ebuild,v 1.4 2013/04/04 19:45:49 ago Exp $
EAPI=2
inherit cmake-utils flag-o-matic multilib toolchain-funcs
@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/podofo/${P}.tar.gz"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~sparc x86"
IUSE="+boost debug test"
RDEPEND="dev-lang/lua

@ -5,6 +5,6 @@ DIST 20130319-10gen-mms-agent.zip 31825 SHA256 62b1860ffa13a49f1a7f64f7c87964ea1
DIST mongodb-src-r2.0.7.tar.gz 2982999 SHA256 b204d94bc912692bdc154402fbfc2e5c4bd60b09dcbe244f3b2b7657f0a82736 SHA512 4c92d99433388f6829e990f3a065b7d897c0ef83a8b41e99613b1b7fbccd8d1797a048c4340d6dafed956dcb06785ac9784a4b68990020c5052b11368ec98806 WHIRLPOOL 159952c811eae62cdb6b4ad577351a8f6537b8fae1b2d2ad5e4dbdf07e14944aebff765ee896f48ce53cbd7d53b6bb0fc2da470226488f2957b5c6e6df07f3e4
DIST mongodb-src-r2.0.8.tar.gz 2983263 SHA256 882f0880609c9658793702af4da5183f49d85331600ae4d8997018367f4ae827 SHA512 f79ecc75bcf574886681b27198263cc9128ab6d865b71ae3a32ea366e9125f3c636fa45a7e94d8ee7acc04adb8da655f940da03e8a285d11d6b62b0c1cad23f5 WHIRLPOOL 21525830a69a8c734bdc39d979cd3abd3e7092ffa5b1e98392ca5e013e0bd7dd2e298792ba876e5c6098204fc73f35d5cf6186cb58e12f933de46fa903938c65
DIST mongodb-src-r2.2.0.tar.gz 10150762 SHA256 084626e476ac747dfae143889c24a10f739cd54480af9bf253f50999f065608b SHA512 b040efe01457703d14d63f69b3fff79a09d6068a89b17d52ad7eb430f81d3f60fdba711cee628d55456a772d7e36fde7c683d4d71fa7d95225e436e28ccac163 WHIRLPOOL 43d12039aff75bdb12c41721ccf259b379245a655aba72472f2a973dad921d9a384f79356d6bfa9795b609f2011324b1e7100ff94b8b92f2834c40a3a9bbe653
DIST mongodb-src-r2.2.2.tar.gz 10171793 SHA256 e646abd0a9839dec11fa4f35089aad8e9aeef628bce7832ab40a3138c7462127 SHA512 004c321dc046ee59a3bdb2e672d6720d627b6a0d482afacf89b557846bc0600ac06623c94076fd41f62fc6d59660a8a80c5333d128e7482a9835e260f7238142 WHIRLPOOL 52f310acb1cbed1d296fbe3719c71c74cf3bf89ea1ad89bc8dbc6aafeafae3e719fdce479fcf5a9d95b29eaab2e6099111687ed748309a125c18dfb10782f20a
DIST mongodb-src-r2.2.3.tar.gz 10178451 SHA256 dd292c73f8182eb201ae4dd4bd7132c79c56247a7bc4fcde9d09a5bc6c74978d SHA512 216bb448db731ff5b435edcc127ccd99ca6fc388d1814872915e3fb6584621263d1339d8bf4da8a37ae25911df3fc036fb0fb898998e0c37ec65f61d5e38d83a WHIRLPOOL ca9a78b8574e03ec40dc4a505f768c34af964435685768fb878d30827dcb6c4c6da32d13d705f6704febd299a5d0e03aa594a51ae6894b9bc14aad0134b8cf76
DIST mongodb-src-r2.2.4.tar.gz 10190863 SHA256 d2bdeb5e9b93681b5a55e6b947777debd7473a80ecc230682e4b25b6e59ccb60 SHA512 93f81d6edc9900c24ef2780df2199e4445e9f23aff4c7970e05320641c9b00473a73d1b7c7424e5744c501e4b1c9e9858efe1d03caf875f2f04e5222f8ae0e2e WHIRLPOOL 1b1013b4dc1e3c219fa1e5db8cfc0e477a321988fe19a5938709e2ee4554c2e3f7e7ddf04bdea37ac72a28954773d31f5dd13ee7aa45986f06bce6c6b6b9223b
DIST mongodb-src-r2.4.1.tar.gz 14101118 SHA256 d61ad944b8f27e0efb9a08998cbda587ee5d1a4406a938443e681502738da3b2 SHA512 4f2c833d255ba362e4d7042dcd17809e53df257adc52b5b2d6e11df27c49bce27c7253567cb34ef27310e3e594c921088b7f1bcfdc77d6cac90f0fc5433b378e WHIRLPOOL aca89d9987b9068126bb94c19c51781d7034329ca02a431ee0bff87aafc0049e56cb207c2e12bb1bd9c73a9f9e5c8bc4b62d2f1ba85d312337af1ba1599b97c1

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-2.2.2-r2.ebuild,v 1.1 2013/03/11 10:12:04 ultrabug Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-2.2.4.ebuild,v 1.1 2013/04/05 15:30:29 ultrabug Exp $
EAPI=4
SCONS_MIN_VERSION="1.2.0"

@ -1,9 +1,11 @@
DIST postgresql-8.3.23.tar.bz2 14684669 SHA256 17a46617ddbeb16f37d79b43f4e72301b051e6ef888a2eac960375bf579018d9 SHA512 fa8e01c615298e4e4c77e0c0bf26913a96572d4c578c48c77fd9197ab20fe5c43ed1e72b9552ed266ff272d859014da0c8c8d11a120b6c01bf561c7d0f77fdc1 WHIRLPOOL 25d737bcac9e77529e3cf07741acfb156e3991f6bc6f154d7007ee879b5c510261eab96b7147c2cc485506c28cfc6692b0165a6d370a50e6de0dbdf7900c0b50
DIST postgresql-8.4.16.tar.bz2 14784029 SHA256 8d03d94d3957019227066f427ccb11232a823f2558e2f57e1ea2bc9ba004612f SHA512 05fd72b61eb478c3e6682956ec7a1216490c9b5e430f82baeba2a75cb78723e622b0e513153d64373919747c9e12647fc58aafe8a7aa2b5789baa577597e8c62 WHIRLPOOL 58b3c3a15478cbcb17e2447e30b21a16b1846c9188919ab11e4fe5ea5933803872eb5f6154630b9e8a053d636eef8d8f8fda5dd755a54ec978dcab3a93abf5b5
DIST postgresql-8.4.17.tar.bz2 14795028 SHA256 dc884c34ec3535d9f8b579155948a703def0574aca47292b97b82a8189cd0436 SHA512 9b8de2373d196847610329c33b21229245690f1587ca94b5c6fa770a7ace9fb29811e858debe1656fcee7b0e229d989b2786c12dfad01266501c5dbf1503d7ac WHIRLPOOL 899e787e6a3c4f4012946e8ec230ed8c049fcd1cb02572ea4f6d2e286da0f6b99a8bf732c6c7d7fe85a8a778e7e97f576b47821c61fdcdaa67dc87093c69b54f
DIST postgresql-9.0.12.tar.bz2 15122949 SHA256 80f06873cbdc8789abe6806dc52a708d9a7f4ac5432ffea4c069cbc33b2b1524 SHA512 e5259b0ee64d1f7d0a7662279433c782cf3a68cd5713b296f4e1225323b951b7d8512057be823b40d7c32487f5a508770aadd732c9c1ceeaa835e661bc8e010e WHIRLPOOL 12fadc8037825216533062c0ee7a5ae55e80771acdce6ad072e45f3432af00808cb94439a68294308b0585135e2118c36a7c9686d57f2d77b1d87a83d3dad514
DIST postgresql-9.0.13.tar.bz2 15139873 SHA256 51aea4d099defaee307ec3b9900837446931d1aa0c6717070fa25ed033af9977 SHA512 abd29176c88485444b3b324191533b8f243624a6e391c654833ae5fe90fab93b55d04f778a3837c4b9a538264474458fa6bc2166800d3546fec0196965cf38e2 WHIRLPOOL 88a3a7736d96b259772eb4e55b472f0441e71aadfedc004cbe2fd2ae7e579a0f71e29485fdb1158c973865fb51017093f84a9629e2c3c7f05e35daf6f34f67a2
DIST postgresql-9.1.8.tar.bz2 15815313 SHA256 1d88f9dda24062dbfcc09aca9a316981f2aa93322613b853cf32d7a431b44c6d SHA512 7e4dc17fda40dcc8117d750866aa52e950e52c5d50f7b10c2f01fb4a5fd6f09ec5000d0977a0636e047185cf0de3f6f5e41eb61ac6e20a6ac39bdeae452de4af WHIRLPOOL 6c00342733ec8ff0d82874184235a0be08bda4e624afa25c81e183ade8a5555b782361d8d914a018b9549c29807b5e67d8c806d7136ab299cd3ea20c302f530d
DIST postgresql-9.1.9.tar.bz2 15815421 SHA256 28a533e181009308722e8b3c51f1ea7224ab910c380ac1a86f07118667602dd8 SHA512 f35c11afba347ebc818f058986af9dfd9af573937bb2c3160f71c7ef84ae3471eab2aa998975fb44a63a09e5a487f11624375e08c3c380bf1e0ba463b82d81bf WHIRLPOOL 7bbef51db715f55a9353867f94512e2351ea1d0b7d2b8777664afadae85c8ddfc4b5c39441ad6dfc09ea79094d00f534957917efd8a9e887564b42316411f357
DIST postgresql-9.2.3.tar.bz2 16371616 SHA256 c4f5a63290c0c32d8d9899edee8188d0c8ab124a7199b154fac75e62eec35f7f SHA512 e2520ae03f3cac3effed6e8e45900f6718a944c9a3c90d856819caaeeb6ba9b2324744c18a37b8e9bc5d7e63abab5b84f20259b797fd81ace0040a578f87aad8 WHIRLPOOL 28d948285392586f89dd39f757560413289c78e2a0929c3104608936b64a3488df85a8ffc38e516253185a36738ae308ee44eb9e08d2b0d8196e94488112ba82
DIST postgresql-patches-8.3-r3.tbz2 5490 SHA256 5c791bd4ddea564341f4c2766dec6749756938c5da9c289e35ed92e98a3c2bef SHA512 fa70d615df28b82159aa6d120f6fffc5700902b6b7a2c36d023a0ab4c113b7fbe5ca9dbc391ee6f1e934e3582c61d6b2e6cd73121f9dbb403d32c56d585e2140 WHIRLPOOL e126798b28496ceb6be2979c39cf9036ea4c5cbee19cdad65f5ff0a6072f417be8b332e16ca5f358f57326afd577a4145ac964d5abef9b069cf32f84692f9e9c
DIST postgresql-9.2.4.tar.bz2 16395184 SHA256 d97dd918a88a4449225998f46aafa85216a3f89163a3411830d6890507ffae93 SHA512 1f347a8e75f4c350cc1ee2e0406b1b696f8e82cd259bb17404113874516fdf4c395517962a5320d5c386994cae7ebe7dbdbbeb7ae79c76d6d506ce5bda662c3e WHIRLPOOL a99d5c31fe02ddc486de1541dff515e1ac3c071ea3a8dcb226505c7d92a6ac585b4617d53101045dba05d8f4996e92c15e3f9006b15c1cca95d0bd8b625c3302
DIST postgresql-patches-8.4-r3.tbz2 4821 SHA256 f2c47ff5cf6af20020c87bc34362615af66675d7d44dd020ccfae425880e1ace SHA512 149434a1a55f130b91b87591ac6bbbd263893e90facfdc47418320561a91cb818dea6367af5b8afbb6c9cccea6053692ee3008c62cbe40e8819c7cac04389334 WHIRLPOOL 30d5945bd65e07f114d8ee27bcbc1dc7ae136a2b5a1f62ec44aad325208dc8387ae11f58c21ebf1447822b35fe35b79d64c86cf763e146dc9c2b5da7dc883d47
DIST postgresql-patches-9.0-r4.tbz2 4525 SHA256 96f9af00dea1c33f9c77754e8ee37334012b8098361c321bd3f562ca9c32f6b8 SHA512 1e792eaf1e194e7a109a860216de98929bc12e6905846524e795fed7e8506f8f0e2e7349ead4fd9ba196c8eb6af2f5b143d0eecdb4cb7061253257acbce37873 WHIRLPOOL 8a32c0cd7f6b845496df8d1f6a0b2497625c0da36c5af1d651be086e9cd4faec48b56b04dca894a0e43e91309868db3014213d9989da5fd1d52d5b3775f8c1ad
DIST postgresql-patches-9.1-r2.tbz2 4552 SHA256 e33a684be93d2bf70566245601da5ea3f831f4ed4b2ff1fa91f8083be3d3bc21 SHA512 3154616884615fea9e826f347e32b89bbddf18256875b3a23b1b6b5d9c0a1bf6159230ab0c6c6245782987d12156ecaa8e51ab1d25a27b5bae7f72cd565784af WHIRLPOOL 8820ea3a96b31baf3b3294c56ed95c9d2d916fdf9584fef38a0b6299b292883af6dda93e4818af09d1ab4b4d66dde258beb56ab2121bb48adbd806f7038b5b82

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.3.23.ebuild,v 1.12 2013/02/26 18:51:12 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.4.17.ebuild,v 1.6 2013/04/05 16:35:25 jer Exp $
EAPI="4"
@ -10,12 +10,12 @@ inherit autotools eutils multilib prefix versionator
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~sparc-fbsd ~x86-fbsd"
DESCRIPTION="PostgreSQL libraries and clients"
HOMEPAGE="http://www.postgresql.org/"
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
http://dev.gentoo.org/~titanofold/postgresql-patches-8.3-r3.tbz2"
http://dev.gentoo.org/~titanofold/postgresql-patches-8.4-r3.tbz2"
LICENSE="POSTGRESQL"
S="${WORKDIR}/postgresql-${PV}"
@ -24,7 +24,7 @@ S="${WORKDIR}/postgresql-${PV}"
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"
IUSE="doc kerberos ldap nls pam pg_legacytimestamp readline ssl threads zlib"
for lingua in ${LINGUAS} ; do
IUSE+=" linguas_${lingua}"
@ -40,7 +40,7 @@ wanted_languages() {
echo -n ${enable_langs}
}
RDEPEND=">=app-admin/eselect-postgresql-1.0.10
RDEPEND=">=app-admin/eselect-postgresql-1.0.7
virtual/libintl
!!dev-db/libpq
!!dev-db/postgresql
@ -64,7 +64,7 @@ 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"
"${WORKDIR}/SuperH.patch"
eprefixify src/include/pg_config_manual.h
@ -88,19 +88,19 @@ src_configure() {
local PO="${EPREFIX%/}"
econf --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
--docdir="${PO}/usr/share/doc/postgresql-${SLOT}" \
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
--without-docdir \
--without-tcl \
--without-perl \
--without-python \
--without-tcl \
$(use_with kerberos krb5) \
$(use_with kerberos gssapi) \
$(use_with ldap) \
"$(use_enable nls nls "$(wanted_languages)")" \
$(use_with pam) \
$(use_enable pg-intdatetime integer-datetimes ) \
$(use_enable !pg_legacytimestamp integer-datetimes ) \
$(use_with readline) \
$(use_with ssl openssl) \
$(use_enable threads thread-safety) \
@ -118,15 +118,15 @@ src_install() {
emake DESTDIR="${D}" install
insinto /usr/include/postgresql-${SLOT}/postmaster
doins "${S}"/src/include/postmaster/*.h
dodir /usr/share/postgresql-${SLOT}/man/man1
rm "${ED}"/usr/share/postgresql-${SLOT}/man/man1/{initdb,ipcclean,pg_{controldata,ctl,resetxlog},post{gres,master}}.1
rm -r "${ED}/usr/share/doc/postgresql-${SLOT}/html"
rm "${ED}"/usr/share/postgresql-${SLOT}/man/man1/{initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}.1
docompress /usr/share/postgresql-${SLOT}/man/man{1,7}
# Don't use ${PF} here as three packages
# (dev-db/postgresql-{docs,base,server}) have the same set of docs.
insinto /usr/share/doc/postgresql-${SLOT}
doins README HISTORY doc/{FAQ*,README.*,TODO,bug.template}
doins README HISTORY doc/{README.*,TODO,bug.template}
cd "${S}/contrib"
emake DESTDIR="${D}" install

@ -0,0 +1,162 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.0.13.ebuild,v 1.6 2013/04/05 16:35:25 jer Exp $
EAPI="4"
WANT_AUTOMAKE="none"
inherit autotools eutils flag-o-matic multilib prefix versionator
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
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-9.0-r4.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_legacytimestamp 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.7
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 )
ssl? ( >=dev-libs/openssl-0.9.6-r1 )
zlib? ( sys-libs/zlib )"
DEPEND="${RDEPEND}
sys-devel/bison
sys-devel/flex
!!<sys-apps/sandbox-2.0
nls? ( sys-devel/gettext )"
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
src_prepare() {
epatch "${WORKDIR}/autoconf.patch" "${WORKDIR}/base.patch" \
"${WORKDIR}/bool.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
if use pam ; then
sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
-i src/backend/libpq/auth.c \
|| die 'PGSQL_PAM_SERVICE rename failed.'
fi
eautoconf
}
src_configure() {
case ${CHOST} in
*-darwin*|*-solaris*)
use nls && append-libs intl
;;
esac
export LDFLAGS_SL="${LDFLAGS}"
export LDFLAGS_EX="${LDFLAGS}"
local PO="${EPREFIX%/}"
econf --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
--docdir="${PO}/usr/share/doc/postgresql-${SLOT}" \
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
--without-tcl \
--without-perl \
--without-python \
$(use_with kerberos krb5) \
$(use_with kerberos gssapi) \
$(use_with ldap) \
"$(use_enable nls nls "$(wanted_languages)")" \
$(use_with pam) \
$(use_enable !pg_legacytimestamp 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
dodir /usr/share/postgresql-${SLOT}/man/
cp -r "${S}"/doc/src/sgml/man{1,7} "${ED}"/usr/share/postgresql-${SLOT}/man/ || die
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,pg_controldata,pg_ctl,pg_resetxlog,postgres,postmaster}.1
docompress /usr/share/postgresql-${SLOT}/man/man{1,7}
# Don't use ${PF} here as three packages
# (dev-db/postgresql-{docs,base,server}) have the same set of docs.
insinto /usr/share/doc/postgresql-${SLOT}
doins 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}/"
einfo
einfo "If this is your first install of PostgreSQL, you 'll want to:"
einfo " source /etc/profile"
einfo "In your open terminal sessions."
}
pkg_postrm() {
postgresql-config update
}

@ -0,0 +1,167 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.1.9.ebuild,v 1.6 2013/04/05 16:35:25 jer Exp $
EAPI="4"
WANT_AUTOMAKE="none"
inherit autotools eutils flag-o-matic multilib prefix versionator
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
SLOT="$(get_version_component_range 1-2)"
S="${WORKDIR}/postgresql-${PV}"
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-9.1-r2.tbz2"
LICENSE="POSTGRESQL"
# 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_legacytimestamp 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="!!dev-db/libpq
!!dev-db/postgresql
!!dev-db/postgresql-client
!!dev-db/postgresql-libs
>=app-admin/eselect-postgresql-1.0.10
virtual/libintl
kerberos? ( virtual/krb5 )
ldap? ( net-nds/openldap )
pam? ( virtual/pam )
readline? ( sys-libs/readline )
ssl? ( >=dev-libs/openssl-0.9.6-r1 )
zlib? ( sys-libs/zlib )
"
DEPEND="${RDEPEND}
!!<sys-apps/sandbox-2.0
sys-devel/bison
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"
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
if use pam ; then
sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
-i src/backend/libpq/auth.c \
|| die 'PGSQL_PAM_SERVICE rename failed.'
fi
eautoconf
}
src_configure() {
case ${CHOST} in
*-darwin*|*-solaris*)
use nls && append-libs intl
;;
esac
export LDFLAGS_SL="${LDFLAGS}"
export LDFLAGS_EX="${LDFLAGS}"
local PO="${EPREFIX%/}"
econf \
--prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
--docdir="${PO}/usr/share/doc/postgresql-${SLOT}" \
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
--without-tcl \
--without-perl \
--without-python \
$(use_with readline) \
$(use_with kerberos krb5) \
$(use_with kerberos gssapi) \
"$(use_enable nls nls "$(wanted_languages)")" \
$(use_with pam) \
$(use_enable !pg_legacytimestamp integer-datetimes) \
$(use_with ssl openssl) \
$(use_enable threads thread-safety) \
$(use_with zlib) \
$(use_with ldap)
}
src_compile() {
emake -j1
cd "${S}/contrib"
emake
}
src_install() {
emake DESTDIR="${D}" install
insinto /usr/include/postgresql-${SLOT}/postmaster
doins "${S}"/src/include/postmaster/*.h
dodir /usr/share/postgresql-${SLOT}/man/
cp -r "${S}"/doc/src/sgml/man{1,7} "${ED}"/usr/share/postgresql-${SLOT}/man/ || die
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}.1
docompress /usr/share/postgresql-${SLOT}/man/man{1,7}
# Don't use ${PF} here as three packages
# (dev-db/postgresql-{docs,base,server}) have the same set of docs.
insinto /usr/share/doc/postgresql-${SLOT}
doins README HISTORY doc/{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}/"
einfo
einfo "If this is your first install of PostgreSQL, you 'll want to:"
einfo " source /etc/profile"
einfo "In your open terminal sessions."
}
pkg_postrm() {
postgresql-config update
}

@ -0,0 +1,173 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.2.4.ebuild,v 1.6 2013/04/05 16:35:25 jer Exp $
EAPI="4"
WANT_AUTOMAKE="none"
inherit autotools eutils flag-o-matic multilib prefix versionator
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
SLOT="$(get_version_component_range 1-2)"
# Comment the following five lines when not a beta or rc.
#MY_PV="${PV//_}"
#MY_FILE_PV="${SLOT}$(get_version_component_range 4)"
#S="${WORKDIR}/postgresql-${MY_FILE_PV}"
#SRC_URI="mirror://postgresql/source/v${MY_FILE_PV}/postgresql-${MY_FILE_PV}.tar.bz2
# http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}.tbz2"
# Comment the following three lines when a beta or rc.
S="${WORKDIR}/postgresql-${PV}"
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}.tbz2"
LICENSE="POSTGRESQL"
DESCRIPTION="PostgreSQL libraries and clients"
HOMEPAGE="http://www.postgresql.org/"
# 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_legacytimestamp 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="!!dev-db/libpq
!!dev-db/postgresql
!!dev-db/postgresql-client
!!dev-db/postgresql-libs
sys-apps/less
>=app-admin/eselect-postgresql-1.0.10
virtual/libintl
kerberos? ( virtual/krb5 )
ldap? ( net-nds/openldap )
pam? ( virtual/pam )
readline? ( sys-libs/readline )
ssl? ( >=dev-libs/openssl-0.9.6-r1 )
zlib? ( sys-libs/zlib )
"
DEPEND="${RDEPEND}
!!<sys-apps/sandbox-2.0
sys-devel/bison
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"
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
if use pam ; then
sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
-i src/backend/libpq/auth.c \
|| die 'PGSQL_PAM_SERVICE rename failed.'
fi
eautoconf
}
src_configure() {
case ${CHOST} in
*-darwin*|*-solaris*)
use nls && append-libs intl
;;
esac
export LDFLAGS_SL="${LDFLAGS}"
export LDFLAGS_EX="${LDFLAGS}"
local PO="${EPREFIX%/}"
econf \
--prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
--docdir="${PO}/usr/share/doc/postgresql-${SLOT}" \
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
--without-tcl \
--without-perl \
--without-python \
$(use_with readline) \
$(use_with kerberos krb5) \
$(use_with kerberos gssapi) \
"$(use_enable nls nls "$(wanted_languages)")" \
$(use_with pam) \
$(use_enable !pg_legacytimestamp integer-datetimes) \
$(use_with ssl openssl) \
$(use_enable threads thread-safety) \
$(use_with zlib) \
$(use_with ldap)
}
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
dodir /usr/share/postgresql-${SLOT}/man/
cp -r "${S}"/doc/src/sgml/man{1,7} "${ED}"/usr/share/postgresql-${SLOT}/man/ || die
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}.1
docompress /usr/share/postgresql-${SLOT}/man/man{1,7}
# Don't use ${PF} here as three packages
# (dev-db/postgresql-{docs,base,server}) have the same set of docs.
insinto /usr/share/doc/postgresql-${SLOT}
doins README HISTORY doc/{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,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9999.ebuild,v 1.4 2013/02/08 18:48:08 titanofold Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9999.ebuild,v 1.5 2013/04/04 16:21:44 titanofold Exp $
EAPI="4"

@ -1,5 +1,8 @@
DIST postgresql-8.3.23.tar.bz2 14684669 SHA256 17a46617ddbeb16f37d79b43f4e72301b051e6ef888a2eac960375bf579018d9 SHA512 fa8e01c615298e4e4c77e0c0bf26913a96572d4c578c48c77fd9197ab20fe5c43ed1e72b9552ed266ff272d859014da0c8c8d11a120b6c01bf561c7d0f77fdc1 WHIRLPOOL 25d737bcac9e77529e3cf07741acfb156e3991f6bc6f154d7007ee879b5c510261eab96b7147c2cc485506c28cfc6692b0165a6d370a50e6de0dbdf7900c0b50
DIST postgresql-8.4.16.tar.bz2 14784029 SHA256 8d03d94d3957019227066f427ccb11232a823f2558e2f57e1ea2bc9ba004612f SHA512 05fd72b61eb478c3e6682956ec7a1216490c9b5e430f82baeba2a75cb78723e622b0e513153d64373919747c9e12647fc58aafe8a7aa2b5789baa577597e8c62 WHIRLPOOL 58b3c3a15478cbcb17e2447e30b21a16b1846c9188919ab11e4fe5ea5933803872eb5f6154630b9e8a053d636eef8d8f8fda5dd755a54ec978dcab3a93abf5b5
DIST postgresql-8.4.17.tar.bz2 14795028 SHA256 dc884c34ec3535d9f8b579155948a703def0574aca47292b97b82a8189cd0436 SHA512 9b8de2373d196847610329c33b21229245690f1587ca94b5c6fa770a7ace9fb29811e858debe1656fcee7b0e229d989b2786c12dfad01266501c5dbf1503d7ac WHIRLPOOL 899e787e6a3c4f4012946e8ec230ed8c049fcd1cb02572ea4f6d2e286da0f6b99a8bf732c6c7d7fe85a8a778e7e97f576b47821c61fdcdaa67dc87093c69b54f
DIST postgresql-9.0.12.tar.bz2 15122949 SHA256 80f06873cbdc8789abe6806dc52a708d9a7f4ac5432ffea4c069cbc33b2b1524 SHA512 e5259b0ee64d1f7d0a7662279433c782cf3a68cd5713b296f4e1225323b951b7d8512057be823b40d7c32487f5a508770aadd732c9c1ceeaa835e661bc8e010e WHIRLPOOL 12fadc8037825216533062c0ee7a5ae55e80771acdce6ad072e45f3432af00808cb94439a68294308b0585135e2118c36a7c9686d57f2d77b1d87a83d3dad514
DIST postgresql-9.0.13.tar.bz2 15139873 SHA256 51aea4d099defaee307ec3b9900837446931d1aa0c6717070fa25ed033af9977 SHA512 abd29176c88485444b3b324191533b8f243624a6e391c654833ae5fe90fab93b55d04f778a3837c4b9a538264474458fa6bc2166800d3546fec0196965cf38e2 WHIRLPOOL 88a3a7736d96b259772eb4e55b472f0441e71aadfedc004cbe2fd2ae7e579a0f71e29485fdb1158c973865fb51017093f84a9629e2c3c7f05e35daf6f34f67a2
DIST postgresql-9.1.8.tar.bz2 15815313 SHA256 1d88f9dda24062dbfcc09aca9a316981f2aa93322613b853cf32d7a431b44c6d SHA512 7e4dc17fda40dcc8117d750866aa52e950e52c5d50f7b10c2f01fb4a5fd6f09ec5000d0977a0636e047185cf0de3f6f5e41eb61ac6e20a6ac39bdeae452de4af WHIRLPOOL 6c00342733ec8ff0d82874184235a0be08bda4e624afa25c81e183ade8a5555b782361d8d914a018b9549c29807b5e67d8c806d7136ab299cd3ea20c302f530d
DIST postgresql-9.1.9.tar.bz2 15815421 SHA256 28a533e181009308722e8b3c51f1ea7224ab910c380ac1a86f07118667602dd8 SHA512 f35c11afba347ebc818f058986af9dfd9af573937bb2c3160f71c7ef84ae3471eab2aa998975fb44a63a09e5a487f11624375e08c3c380bf1e0ba463b82d81bf WHIRLPOOL 7bbef51db715f55a9353867f94512e2351ea1d0b7d2b8777664afadae85c8ddfc4b5c39441ad6dfc09ea79094d00f534957917efd8a9e887564b42316411f357
DIST postgresql-9.2.3.tar.bz2 16371616 SHA256 c4f5a63290c0c32d8d9899edee8188d0c8ab124a7199b154fac75e62eec35f7f SHA512 e2520ae03f3cac3effed6e8e45900f6718a944c9a3c90d856819caaeeb6ba9b2324744c18a37b8e9bc5d7e63abab5b84f20259b797fd81ace0040a578f87aad8 WHIRLPOOL 28d948285392586f89dd39f757560413289c78e2a0929c3104608936b64a3488df85a8ffc38e516253185a36738ae308ee44eb9e08d2b0d8196e94488112ba82
DIST postgresql-9.2.4.tar.bz2 16395184 SHA256 d97dd918a88a4449225998f46aafa85216a3f89163a3411830d6890507ffae93 SHA512 1f347a8e75f4c350cc1ee2e0406b1b696f8e82cd259bb17404113874516fdf4c395517962a5320d5c386994cae7ebe7dbdbbeb7ae79c76d6d506ce5bda662c3e WHIRLPOOL a99d5c31fe02ddc486de1541dff515e1ac3c071ea3a8dcb226505c7d92a6ac585b4617d53101045dba05d8f4996e92c15e3f9006b15c1cca95d0bd8b625c3302

@ -1,12 +1,12 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-8.3.23.ebuild,v 1.12 2013/02/26 18:50:21 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-8.4.17.ebuild,v 1.6 2013/04/05 16:34:38 jer Exp $
EAPI="4"
inherit versionator
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~sparc-fbsd ~x86-fbsd"
RESTRICT="test"
@ -37,18 +37,12 @@ src_install() {
dodir ${mypath}/html
tar -zxf "postgres.tar.gz" -C "${ED}${mypath}/html" || die
insinto ${mypath}/FAQ_html
doins src/FAQ/*
insinto ${mypath}/sgml
doins src/sgml/*.{sgml,dsl}
insinto ${mypath}/sgml/ref
doins src/sgml/ref/*.sgml
insinto ${mypath}/TODO.detail
doins TODO.detail/*
fowners root:0 -R ${mypath}
dodir /etc/eselect/postgresql/slots/${SLOT}

@ -0,0 +1,51 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.0.13.ebuild,v 1.6 2013/04/05 16:34:38 jer Exp $
EAPI="4"
inherit versionator
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
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() {
# Don't use ${PF} here as three packages
# (dev-db/postgresql-{docs,base,server}) have the same set of docs.
local mypath=/usr/share/doc/postgresql-${SLOT}
cd "${S}/doc"
insinto ${mypath}/html
doins src/sgml/html/*
insinto ${mypath}/sgml
doins src/sgml/*.{sgml,dsl}
insinto ${mypath}/sgml/ref
doins src/sgml/ref/*.sgml
fowners root:0 -R ${mypath}
dodir /etc/eselect/postgresql/slots/${SLOT}
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
"${ED}/etc/eselect/postgresql/slots/${SLOT}/docs"
}

@ -0,0 +1,51 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.1.9.ebuild,v 1.6 2013/04/05 16:34:38 jer Exp $
EAPI="4"
inherit versionator
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
RESTRICT="test"
SLOT="$(get_version_component_range 1-2)"
S="${WORKDIR}/postgresql-${PV}"
DESCRIPTION="PostgreSQL documentation"
HOMEPAGE="http://www.postgresql.org/"
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
LICENSE="POSTGRESQL"
IUSE=""
DEPEND=""
RDEPEND=""
src_unpack() {
tar xjf "${DISTDIR}/${A}" -C "${WORKDIR}" "${A%.tar.bz2}/doc"
}
src_install() {
# Don't use ${PF} here as three packages
# (dev-db/postgresql-{docs,base,server}) have the same set of docs.
local mypath=/usr/share/doc/postgresql-${SLOT}
cd "${S}/doc"
insinto ${mypath}/html
doins src/sgml/html/*
insinto ${mypath}/sgml
doins src/sgml/*.{sgml,dsl}
insinto ${mypath}/sgml/ref
doins src/sgml/ref/*.sgml
fowners root:0 -R ${mypath}
dodir /etc/eselect/postgresql/slots/${SLOT}
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
"${ED}/etc/eselect/postgresql/slots/${SLOT}/docs"
}

@ -0,0 +1,59 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.2.4.ebuild,v 1.6 2013/04/05 16:34:38 jer Exp $
EAPI="4"
inherit versionator
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
RESTRICT="test"
DESCRIPTION="PostgreSQL documentation"
HOMEPAGE="http://www.postgresql.org/"
LICENSE="POSTGRESQL"
SLOT="$(get_version_component_range 1-2)"
# Comment the following four lines when not a beta or rc.
#MY_PV="${PV//_}"
#MY_FILE_PV="${SLOT}$(get_version_component_range 4)"
#S="${WORKDIR}/postgresql-${MY_FILE_PV}"
#SRC_URI="mirror://postgresql/source/v${MY_FILE_PV}/postgresql-${MY_FILE_PV}.tar.bz2"
# Comment the following two lines when a beta or rc.
S="${WORKDIR}/postgresql-${PV}"
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
IUSE=""
DEPEND=""
RDEPEND=""
src_unpack() {
tar xjf "${DISTDIR}/${A}" -C "${WORKDIR}" "${A%.tar.bz2}/doc"
}
src_install() {
# Don't use ${PF} here as three packages
# (dev-db/postgresql-{docs,base,server}) have the same set of docs.
local mypath=/usr/share/doc/postgresql-${SLOT}
cd "${S}/doc"
insinto ${mypath}/html
doins src/sgml/html/*
insinto ${mypath}/sgml
doins src/sgml/*.{sgml,dsl}
insinto ${mypath}/sgml/ref
doins src/sgml/ref/*.sgml
fowners root:0 -R ${mypath}
dodir /etc/eselect/postgresql/slots/${SLOT}
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
"${ED}/etc/eselect/postgresql/slots/${SLOT}/docs"
}

@ -1,11 +1,13 @@
DIST postgresql-8.3.23.tar.bz2 14684669 SHA256 17a46617ddbeb16f37d79b43f4e72301b051e6ef888a2eac960375bf579018d9 SHA512 fa8e01c615298e4e4c77e0c0bf26913a96572d4c578c48c77fd9197ab20fe5c43ed1e72b9552ed266ff272d859014da0c8c8d11a120b6c01bf561c7d0f77fdc1 WHIRLPOOL 25d737bcac9e77529e3cf07741acfb156e3991f6bc6f154d7007ee879b5c510261eab96b7147c2cc485506c28cfc6692b0165a6d370a50e6de0dbdf7900c0b50
DIST postgresql-8.4.16.tar.bz2 14784029 SHA256 8d03d94d3957019227066f427ccb11232a823f2558e2f57e1ea2bc9ba004612f SHA512 05fd72b61eb478c3e6682956ec7a1216490c9b5e430f82baeba2a75cb78723e622b0e513153d64373919747c9e12647fc58aafe8a7aa2b5789baa577597e8c62 WHIRLPOOL 58b3c3a15478cbcb17e2447e30b21a16b1846c9188919ab11e4fe5ea5933803872eb5f6154630b9e8a053d636eef8d8f8fda5dd755a54ec978dcab3a93abf5b5
DIST postgresql-8.4.17.tar.bz2 14795028 SHA256 dc884c34ec3535d9f8b579155948a703def0574aca47292b97b82a8189cd0436 SHA512 9b8de2373d196847610329c33b21229245690f1587ca94b5c6fa770a7ace9fb29811e858debe1656fcee7b0e229d989b2786c12dfad01266501c5dbf1503d7ac WHIRLPOOL 899e787e6a3c4f4012946e8ec230ed8c049fcd1cb02572ea4f6d2e286da0f6b99a8bf732c6c7d7fe85a8a778e7e97f576b47821c61fdcdaa67dc87093c69b54f
DIST postgresql-9.0.12.tar.bz2 15122949 SHA256 80f06873cbdc8789abe6806dc52a708d9a7f4ac5432ffea4c069cbc33b2b1524 SHA512 e5259b0ee64d1f7d0a7662279433c782cf3a68cd5713b296f4e1225323b951b7d8512057be823b40d7c32487f5a508770aadd732c9c1ceeaa835e661bc8e010e WHIRLPOOL 12fadc8037825216533062c0ee7a5ae55e80771acdce6ad072e45f3432af00808cb94439a68294308b0585135e2118c36a7c9686d57f2d77b1d87a83d3dad514
DIST postgresql-9.0.13.tar.bz2 15139873 SHA256 51aea4d099defaee307ec3b9900837446931d1aa0c6717070fa25ed033af9977 SHA512 abd29176c88485444b3b324191533b8f243624a6e391c654833ae5fe90fab93b55d04f778a3837c4b9a538264474458fa6bc2166800d3546fec0196965cf38e2 WHIRLPOOL 88a3a7736d96b259772eb4e55b472f0441e71aadfedc004cbe2fd2ae7e579a0f71e29485fdb1158c973865fb51017093f84a9629e2c3c7f05e35daf6f34f67a2
DIST postgresql-9.1.8.tar.bz2 15815313 SHA256 1d88f9dda24062dbfcc09aca9a316981f2aa93322613b853cf32d7a431b44c6d SHA512 7e4dc17fda40dcc8117d750866aa52e950e52c5d50f7b10c2f01fb4a5fd6f09ec5000d0977a0636e047185cf0de3f6f5e41eb61ac6e20a6ac39bdeae452de4af WHIRLPOOL 6c00342733ec8ff0d82874184235a0be08bda4e624afa25c81e183ade8a5555b782361d8d914a018b9549c29807b5e67d8c806d7136ab299cd3ea20c302f530d
DIST postgresql-9.1.9.tar.bz2 15815421 SHA256 28a533e181009308722e8b3c51f1ea7224ab910c380ac1a86f07118667602dd8 SHA512 f35c11afba347ebc818f058986af9dfd9af573937bb2c3160f71c7ef84ae3471eab2aa998975fb44a63a09e5a487f11624375e08c3c380bf1e0ba463b82d81bf WHIRLPOOL 7bbef51db715f55a9353867f94512e2351ea1d0b7d2b8777664afadae85c8ddfc4b5c39441ad6dfc09ea79094d00f534957917efd8a9e887564b42316411f357
DIST postgresql-9.2.3.tar.bz2 16371616 SHA256 c4f5a63290c0c32d8d9899edee8188d0c8ab124a7199b154fac75e62eec35f7f SHA512 e2520ae03f3cac3effed6e8e45900f6718a944c9a3c90d856819caaeeb6ba9b2324744c18a37b8e9bc5d7e63abab5b84f20259b797fd81ace0040a578f87aad8 WHIRLPOOL 28d948285392586f89dd39f757560413289c78e2a0929c3104608936b64a3488df85a8ffc38e516253185a36738ae308ee44eb9e08d2b0d8196e94488112ba82
DIST postgresql-9.2.4.tar.bz2 16395184 SHA256 d97dd918a88a4449225998f46aafa85216a3f89163a3411830d6890507ffae93 SHA512 1f347a8e75f4c350cc1ee2e0406b1b696f8e82cd259bb17404113874516fdf4c395517962a5320d5c386994cae7ebe7dbdbbeb7ae79c76d6d506ce5bda662c3e WHIRLPOOL a99d5c31fe02ddc486de1541dff515e1ac3c071ea3a8dcb226505c7d92a6ac585b4617d53101045dba05d8f4996e92c15e3f9006b15c1cca95d0bd8b625c3302
DIST postgresql-initscript-2.4.tbz2 2604 SHA256 4f17a2a26ec078b7f73d2b5fa7338402829fe195676d6c3f2cda6cd75c3d1e23 SHA512 2e92bb4f2ddbdfbafa9a6451ebf8be121cf66b7731c42c61f9978a4a896e7d8987fc3b2e5c6feef22a5f7b5759c3456c91e1869ba30019f71ed6b6088adf955e WHIRLPOOL 6df5d827a9fc2d78084d5c300fefa767f87af4a6918abefeea99396ecdace8966ee2c2b4f2276454a3f77df64ec7522aeb2cc1fcac8e321d091f60cc1071a13f
DIST postgresql-initscript-pre92-2.4.tbz2 2598 SHA256 a7a432e04b5346794b088ef92a35b46db31de85408e0029dae6b502af572aedc SHA512 3ab35b8cc392e3cd86874525edf664c8445cae19ac2338ef52808ee78aff5e4f9147b0e61caf89b732c103ff73875fb1db4dd0cb214587a58607db6529358a27 WHIRLPOOL f3ab508236d391821e4ddaa7a2224681aff60fc5453a3659f7994e45d8278eee02b8aa71dcfd446628b6ca1d212c7221b40212f45ac955821f1b78a97cdce703
DIST postgresql-patches-8.3-r3.tbz2 5490 SHA256 5c791bd4ddea564341f4c2766dec6749756938c5da9c289e35ed92e98a3c2bef SHA512 fa70d615df28b82159aa6d120f6fffc5700902b6b7a2c36d023a0ab4c113b7fbe5ca9dbc391ee6f1e934e3582c61d6b2e6cd73121f9dbb403d32c56d585e2140 WHIRLPOOL e126798b28496ceb6be2979c39cf9036ea4c5cbee19cdad65f5ff0a6072f417be8b332e16ca5f358f57326afd577a4145ac964d5abef9b069cf32f84692f9e9c
DIST postgresql-patches-8.4-r3.tbz2 4821 SHA256 f2c47ff5cf6af20020c87bc34362615af66675d7d44dd020ccfae425880e1ace SHA512 149434a1a55f130b91b87591ac6bbbd263893e90facfdc47418320561a91cb818dea6367af5b8afbb6c9cccea6053692ee3008c62cbe40e8819c7cac04389334 WHIRLPOOL 30d5945bd65e07f114d8ee27bcbc1dc7ae136a2b5a1f62ec44aad325208dc8387ae11f58c21ebf1447822b35fe35b79d64c86cf763e146dc9c2b5da7dc883d47
DIST postgresql-patches-9.0-r4.tbz2 4525 SHA256 96f9af00dea1c33f9c77754e8ee37334012b8098361c321bd3f562ca9c32f6b8 SHA512 1e792eaf1e194e7a109a860216de98929bc12e6905846524e795fed7e8506f8f0e2e7349ead4fd9ba196c8eb6af2f5b143d0eecdb4cb7061253257acbce37873 WHIRLPOOL 8a32c0cd7f6b845496df8d1f6a0b2497625c0da36c5af1d651be086e9cd4faec48b56b04dca894a0e43e91309868db3014213d9989da5fd1d52d5b3775f8c1ad
DIST postgresql-patches-9.1-r2.tbz2 4552 SHA256 e33a684be93d2bf70566245601da5ea3f831f4ed4b2ff1fa91f8083be3d3bc21 SHA512 3154616884615fea9e826f347e32b89bbddf18256875b3a23b1b6b5d9c0a1bf6159230ab0c6c6245782987d12156ecaa8e51ab1d25a27b5bae7f72cd565784af WHIRLPOOL 8820ea3a96b31baf3b3294c56ed95c9d2d916fdf9584fef38a0b6299b292883af6dda93e4818af09d1ab4b4d66dde258beb56ab2121bb48adbd806f7038b5b82

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-8.3.23-r1.ebuild,v 1.2 2013/02/26 18:52:02 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-8.4.17.ebuild,v 1.6 2013/04/05 16:36:13 jer Exp $
EAPI="5"
@ -11,19 +11,19 @@ inherit autotools eutils multilib pam prefix python-single-r1 user versionator
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd"
DESCRIPTION="PostgreSQL server"
HOMEPAGE="http://www.postgresql.org/"
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
http://dev.gentoo.org/~titanofold/postgresql-patches-8.3-r3.tbz2
http://dev.gentoo.org/~titanofold/postgresql-patches-8.4-r3.tbz2
http://dev.gentoo.org/~titanofold/postgresql-initscript-pre92-2.4.tbz2"
LICENSE="POSTGRESQL GPL-2"
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 kerberos kernel_linux nls pam perl python selinux tcl test uuid xml"
IUSE="doc kerberos kernel_linux nls pam perl -pg_legacytimestamp python selinux tcl test uuid xml"
for lingua in ${LINGUAS} ; do
IUSE+=" linguas_${lingua}"
@ -39,7 +39,7 @@ wanted_languages() {
echo -n ${enable_langs}
}
RDEPEND="~dev-db/postgresql-base-${PV}:${SLOT}[kerberos?,pam?,nls=]
RDEPEND="~dev-db/postgresql-base-${PV}:${SLOT}[kerberos?,pam?,pg_legacytimestamp=,nls=]
perl? ( >=dev-lang/perl-5.8 )
python? ( ${PYTHON_DEPS} )
selinux? ( sec-policy/selinux-postgresql )
@ -64,6 +64,7 @@ src_prepare() {
epatch "${WORKDIR}/autoconf.patch" \
"${WORKDIR}/bool.patch" \
"${WORKDIR}/darwin.patch" \
"${WORKDIR}/ldflags.patch" \
"${WORKDIR}/pg_ctl-exit-status.patch" \
"${WORKDIR}/server.patch" \
"${WORKDIR}/SuperH.patch"
@ -94,6 +95,7 @@ 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}/" \
--with-libraries="${EPREFIX%/}/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)" \
--with-system-tzdata="${EPREFIX%/}/usr/share/zoneinfo" \
$(use_with perl) \
$(use_with python) \
@ -106,18 +108,16 @@ src_configure() {
src_compile() {
local bd
for bd in . contrib $(use xml && echo contrib/xml2); do
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}
emake -C $bd -j1 || die "emake in $bd failed"
done
}
src_install() {
if use perl ; then
mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig"
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"
@ -127,22 +127,22 @@ src_install() {
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}
|| die "emake install in $bd failed"
done
rm -r "${ED}/usr/share/postgresql-${SLOT}/man/man7/" \
"${ED}/usr/share/doc/${PF}/html"
"${ED}/usr/share/doc/postgresql-${SLOT}/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
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}
newconfd "${WORKDIR}"/postgresql.confd postgresql-${SLOT} \
|| die "Inserting conf.d file failed"
newinitd "${WORKDIR}"/postgresql.init postgresql-${SLOT} \
|| die "Inserting init.d file failed"
use pam && pamd_mimic system-auth postgresql-${SLOT} auth account session
@ -155,6 +155,11 @@ src_install() {
pkg_postinst() {
postgresql-config update
elog "The time stamp format is 64 bit integers now. If you upgrade from older"
elog "databases, this may force you to either do a dump and reload of enable"
elog "pg_legacytimestamp until you find time to do so. If the database can't start"
elog "please try enabling pg_legacytimestamp and rebuild."
elog
elog "Gentoo specific documentation:"
elog "http://www.gentoo.org/doc/en/postgres-howto.xml"
elog
@ -177,17 +182,6 @@ pkg_postinst() {
elog " emerge --config =${CATEGORY}/${PF}"
}
pkg_prerm() {
if [[ -z ${REPLACED_BY_VERSION} ]] ; then
ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
ewarn "\thttp://www.gentoo.org/doc/en/postgres-howto.xml#doc_chap5"
ebegin "Resuming removal in 10 seconds. Control-C to cancel"
sleep 10
eend 0
fi
}
pkg_postrm() {
postgresql-config update
}
@ -208,7 +202,7 @@ pkg_config() {
unset LC_MONETARY
unset LC_MESSAGES
unset LC_ALL
source ${EROOT%/}/etc/env.d/02locale
source "${EROOT%/}/etc/env.d/02locale"
[[ -n ${LANG} ]] && export LANG
[[ -n ${LC_CTYPE} ]] && export LC_CTYPE
[[ -n ${LC_NUMERIC} ]] && export LC_NUMERIC
@ -247,7 +241,7 @@ pkg_config() {
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
die "Aborting initialization."
else
echo "Answer not recognized."
echo "Answer not recognized"
fi
done
@ -262,10 +256,10 @@ pkg_config() {
if ! use kernel_linux ; then
einfo "Skipped."
einfo "Tests not supported on this OS (yet)."
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"
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)
@ -282,7 +276,7 @@ pkg_config() {
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 " - 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:"
@ -290,9 +284,9 @@ pkg_config() {
die "System test failed."
fi
done
eend
einfo "Passed."
else
ewarn "SKIP_SYSTEM_TESTS is set, so skipping."
ewarn "SKIP_SYSTEM_TESTS set, so skipping."
fi
fi
@ -312,8 +306,12 @@ pkg_config() {
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. You can enable it in the clusters"
einfo "postgresql.conf."
einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled by"
einfo "default. You can disable 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:"
@ -337,10 +335,7 @@ 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}
emake check
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."

@ -0,0 +1,351 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.0.13.ebuild,v 1.6 2013/04/05 16:36:13 jer Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_{5,6,7},3_{1,2,3}} )
WANT_AUTOMAKE="none"
inherit autotools eutils multilib pam prefix python-single-r1 user versionator
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~ppc-macos ~x86-solaris"
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-9.0-r4.tbz2
http://dev.gentoo.org/~titanofold/postgresql-initscript-pre92-2.4.tbz2"
LICENSE="POSTGRESQL GPL-2"
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 kerberos kernel_linux nls pam perl -pg_legacytimestamp python selinux tcl test uuid 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}[kerberos?,pam?,pg_legacytimestamp=,nls=]
perl? ( >=dev-lang/perl-5.8 )
python? ( ${PYTHON_DEPS} )
selinux? ( sec-policy/selinux-postgresql )
tcl? ( >=dev-lang/tcl-8 )
uuid? ( dev-libs/ossp-uuid )
xml? ( dev-libs/libxml2 dev-libs/libxslt )"
DEPEND="${RDEPEND}
sys-devel/flex
xml? ( virtual/pkgconfig )"
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
pkg_setup() {
enewgroup postgres 70
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
use python && python-single-r1_pkg_setup
}
src_prepare() {
epatch "${WORKDIR}/autoconf.patch" \
"${WORKDIR}/bool.patch" \
"${WORKDIR}/pg_ctl-exit-status.patch" \
"${WORKDIR}/server.patch"
eprefixify src/include/pg_config_manual.h
if use pam ; then
sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
-i src/backend/libpq/auth.c \
|| die 'PGSQL_PAM_SERVICE rename failed.'
fi
if use test ; then
epatch "${WORKDIR}/regress.patch"
sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress{,_main}.c
else
echo "all install:" > "${S}/src/test/regress/GNUmakefile"
fi
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}/" \
--with-libraries="${EPREFIX%/}/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)" \
--with-system-tzdata="${EPREFIX%/}/usr/share/zoneinfo" \
$(use_with perl) \
$(use_with python) \
$(use_with tcl) \
$(use_with xml libxml) \
$(use_with xml libxslt) \
$(use_with uuid ossp-uuid) \
"$(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 || die "emake in $bd failed"
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}" || die "emake install in $bd failed"
done
dodir /usr/share/postgresql-${SLOT}/man/man1/
cp "${S}"/doc/src/sgml/man1/{initdb,pg_controldata,pg_ctl,pg_resetxlog,post{gres,master}}.1 \
"${ED}"/usr/share/postgresql-${SLOT}/man/man1/ || die
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} \
|| die "Inserting conf.d file failed"
newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT} \
|| die "Inserting init.d file failed"
use pam && pamd_mimic system-auth postgresql-${SLOT} auth account session
if use prefix ; then
keepdir /run/postgresql
fperms 0770 /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%/}/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_prerm() {
if [[ -z ${REPLACED_BY_VERSION} ]] ; then
ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
ewarn "\thttp://www.gentoo.org/doc/en/postgres-howto.xml#doc_chap5"
ebegin "Resuming removal in 10 seconds. Control-C to cancel"
sleep 10
eend 0
fi
}
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}' -L '${EROOT%/}/usr/share/postgresql-${SLOT}/' ${PG_INITDB_OPTS}"
else
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb \
-U postgres -D "${DATA_DIR}" \
-L "${EROOT%/}/usr/share/postgresql-${SLOT}/" ${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, and starting with 8.4 is now enabled"
einfo "by default. You can disable 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
emake check || die "Make check failed. See above for details."
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
}

@ -0,0 +1,346 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.1.9.ebuild,v 1.6 2013/04/05 16:36:13 jer Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_{5,6,7},3_{1,2,3}} )
WANT_AUTOMAKE="none"
inherit autotools eutils flag-o-matic multilib pam prefix python-single-r1 user versionator
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
SLOT="$(get_version_component_range 1-2)"
S="${WORKDIR}/postgresql-${PV}"
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-9.1-r2.tbz2
http://dev.gentoo.org/~titanofold/postgresql-initscript-pre92-2.4.tbz2"
LICENSE="POSTGRESQL GPL-2"
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 kernel_linux nls pam perl -pg_legacytimestamp python selinux tcl test uuid 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}[kerberos?,pam?,pg_legacytimestamp=,nls=]
perl? ( >=dev-lang/perl-5.8 )
python? ( ${PYTHON_DEPS} )
selinux? ( sec-policy/selinux-postgresql )
tcl? ( >=dev-lang/tcl-8 )
uuid? ( dev-libs/ossp-uuid )
xml? ( dev-libs/libxml2 dev-libs/libxslt )"
DEPEND="${RDEPEND}
sys-devel/flex
xml? ( virtual/pkgconfig )"
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
pkg_setup() {
enewgroup postgres 70
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
use python && python-single-r1_pkg_setup
}
src_prepare() {
epatch "${WORKDIR}/autoconf.patch" \
"${WORKDIR}/bool.patch" \
"${WORKDIR}/pg_ctl-exit-status.patch" \
"${WORKDIR}/server.patch"
eprefixify src/include/pg_config_manual.h
if use pam ; then
sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
-i src/backend/libpq/auth.c \
|| die 'PGSQL_PAM_SERVICE rename failed.'
fi
if use test ; then
epatch "${WORKDIR}/regress.patch"
sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress{,_main}.c
else
echo "all install:" > "${S}/src/test/regress/GNUmakefile"
fi
sed -e "s|@SLOT@|${SLOT}|g" \
-i "${WORKDIR}/postgresql.init" "${WORKDIR}/postgresql.confd" || \
die "SLOT sed failed"
eautoconf
}
src_configure() {
case ${CHOST} in
*-darwin*|*-solaris*)
use nls && append-libs intl
;;
esac
local PO="${EPREFIX%/}"
# eval is needed to get along with pg_config quotation of space-rich entities.
eval econf "$(${PO}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \
$(use_with perl) \
$(use_with python) \
$(use_with tcl) \
$(use_with xml libxml) \
$(use_with xml libxslt) \
$(use_with uuid ossp-uuid) \
--with-system-tzdata="${PO}/usr/share/zoneinfo" \
--with-includes="${PO}/usr/include/postgresql-${SLOT}/" \
--with-libraries="${PO}/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)" \
"$(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 || die "emake in $bd failed"
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 DESTDIR="${D}" || die "emake install in $bd failed"
done
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} || \
die "Inserting conf failed"
newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT} || \
die "Inserting conf failed"
use pam && pamd_mimic system-auth postgresql-${SLOT} auth account session
if use prefix ; then
keepdir /run/postgresql
fperms 0770 /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%/}/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_prerm() {
if [[ -z ${REPLACED_BY_VERSION} ]] ; then
ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
ewarn "\thttp://www.gentoo.org/doc/en/postgres-howto.xml#doc_chap5"
ebegin "Resuming removal in 10 seconds. Control-C to cancel"
sleep 10
eend 0
fi
}
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
einfo "Creating the data directory ..."
if [[ ${EUID} == 0 ]] ; then
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, and starting with 8.4 is now enabled"
einfo "by default. You can disable 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 "To start the server:"
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
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} -ne 0 ] ; then
emake -j1 check
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
}

@ -0,0 +1,355 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.2.4.ebuild,v 1.6 2013/04/05 16:36:13 jer Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_{5,6,7},3_{1,2,3}} )
WANT_AUTOMAKE="none"
inherit autotools eutils flag-o-matic multilib pam prefix python-single-r1 user versionator
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
SLOT="$(get_version_component_range 1-2)"
# Comment the following six lines when not a beta or rc.
#MY_PV="${PV//_}"
#MY_FILE_PV="${SLOT}$(get_version_component_range 4)"
#S="${WORKDIR}/postgresql-${MY_FILE_PV}"
#SRC_URI="mirror://postgresql/source/v${MY_FILE_PV}/postgresql-${MY_FILE_PV}.tar.bz2
# http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}beta3.tbz2
# http://dev.gentoo.org/~titanofold/postgresql-initscript-2.3.tbz2"
# Comment the following four lines when a beta or rc.
S="${WORKDIR}/postgresql-${PV}"
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}.tbz2
http://dev.gentoo.org/~titanofold/postgresql-initscript-2.4.tbz2"
LICENSE="POSTGRESQL GPL-2"
DESCRIPTION="PostgreSQL server"
HOMEPAGE="http://www.postgresql.org/"
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 kernel_linux nls pam perl -pg_legacytimestamp python selinux tcl test uuid 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}[kerberos?,pam?,pg_legacytimestamp=,nls=]
perl? ( >=dev-lang/perl-5.8 )
python? ( ${PYTHON_DEPS} )
selinux? ( sec-policy/selinux-postgresql )
tcl? ( >=dev-lang/tcl-8 )
uuid? ( dev-libs/ossp-uuid )
xml? ( dev-libs/libxml2 dev-libs/libxslt )"
DEPEND="${RDEPEND}
sys-devel/flex
xml? ( virtual/pkgconfig )"
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
pkg_setup() {
enewgroup postgres 70
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
use python && python-single-r1_pkg_setup
}
src_prepare() {
epatch "${WORKDIR}/autoconf.patch" \
"${WORKDIR}/bool.patch" \
"${WORKDIR}/server.patch"
eprefixify src/include/pg_config_manual.h
if use pam ; then
sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
-i src/backend/libpq/auth.c \
|| die 'PGSQL_PAM_SERVICE rename failed.'
fi
if use test ; then
epatch "${WORKDIR}/regress.patch"
sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress{,_main}.c
else
echo "all install:" > "${S}/src/test/regress/GNUmakefile"
fi
sed -e "s|@SLOT@|${SLOT}|g" \
-i "${WORKDIR}/postgresql.init" "${WORKDIR}/postgresql.confd" || \
die "SLOT sed failed"
eautoconf
}
src_configure() {
case ${CHOST} in
*-darwin*|*-solaris*)
use nls && append-libs intl
;;
esac
local PO="${EPREFIX%/}"
# eval is needed to get along with pg_config quotation of space-rich entities.
eval econf "$(${PO}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \
$(use_with perl) \
$(use_with python) \
$(use_with tcl) \
$(use_with xml libxml) \
$(use_with xml libxslt) \
$(use_with uuid ossp-uuid) \
--with-system-tzdata="${PO}/usr/share/zoneinfo" \
--with-includes="${PO}/usr/include/postgresql-${SLOT}/" \
--with-libraries="${PO}/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)" \
"$(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 || die "emake in $bd failed"
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 DESTDIR="${D}" || die "emake install in $bd failed"
done
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} || \
die "Inserting conf failed"
newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT} || \
die "Inserting conf failed"
use pam && pamd_mimic system-auth postgresql-${SLOT} auth account session
if use prefix ; then
keepdir /run/postgresql
fperms 0770 /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%/}/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_prerm() {
if [[ -z ${REPLACED_BY_VERSION} ]] ; then
ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
ewarn "\thttp://www.gentoo.org/doc/en/postgres-howto.xml#doc_chap5"
ebegin "Resuming removal in 10 seconds. Control-C to cancel"
sleep 10
eend 0
fi
}
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
einfo "Creating the data directory ..."
if [[ ${EUID} == 0 ]] ; then
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, and starting with 8.4 is now enabled"
einfo "by default. You can disable 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 "To start the server:"
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
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} -ne 0 ] ; then
emake check
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,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9999.ebuild,v 1.7 2013/02/12 18:22:24 titanofold Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9999.ebuild,v 1.8 2013/04/04 16:24:14 titanofold Exp $
EAPI="5"

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/transformers/transformers-0.3.0.0-r1.ebuild,v 1.1 2013/02/09 19:08:52 slyfox Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/transformers/transformers-0.3.0.0-r1.ebuild,v 1.2 2013/04/04 17:11:09 nimiux Exp $
EAPI=5
@ -15,7 +15,7 @@ SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
IUSE=""
RDEPEND=">=dev-lang/ghc-6.10.4:="

@ -4,4 +4,5 @@ DIST R-2.15.2.tar.gz 24338934 SHA256 292837ae259b7668509b8a5d4ec8be0aa50c327cfe7
DIST R-2.15.3.tar.gz 25409925 SHA256 c583a38f8dad3bc012c08116f4ba1eb2182cadfad4b0f8d7bd3cdba24bc255d6 SHA512 83389e792aecb52fcd129321c896558dd3bfaf0f6ac775b662d67bbea8a4ec86f22fab625cc20587a17f991ea39764a89fbea34c9f638e3134a095a4e3b2fa12 WHIRLPOOL 3c240f24c82db09fe2c9b4b33cb9ddbc57688940d6f6e3b76f67e0a440910f1aef23617f25219fd62ba83f730a4a8bae3ff32b9c27faad08fd8b95fce847ed6d
DIST R-20120306.bash_completion.bz2 4325 SHA256 63003bcad2c35edc5e3329b72f85aaa0b8843b9ec424dc015b50212976372c3f SHA512 1bf874c58efb648aa96ac22b7c6c66444cb8f72b33cefa9eb28461043659476548873ec6dbd5a15bf893d6f87a7a7d18e4deb045759a1e74774d03cbb8f1f082 WHIRLPOOL 231742e9a886174b3f6bd62102d5b7cea1b050e786420f4e0cd4d9cec31ccb93fcc5a3115364776fbd00020d4e26398400e80cec126a41c5bd70677fd675c966
DIST R-20130129.bash_completion.bz2 4209 SHA256 487e969b94563fec98ec58de7e6142e9361d4219088add0fca282b482a9e01b1 SHA512 910b26e16cfebe677f438abfa5f2652e582db143d91dbf0e7d4b1ea33462c7e5c89c3a3619c63ae98bba26b11a5adb16eda9d344f8cdbe4f0feabc546993c1a5 WHIRLPOOL 2368efaed37fcb6e010f6a234864631f68549bd8e3f733561170cc5b28f5557e546d8561246fb265a481a47991a262fec3acf6abc1dc3929a9357405e0d3c6fc
DIST R-3.0.0.tar.gz 25482059 SHA256 dd65c24f1497610f3ff16008da99b4f52286d6424fbd61f08037c4f10f57ff16 SHA512 a192031becacd1660d81cea708f2ebde534fde4a656c24e80e5165b7645dd03e8762569bbda478ac0a5c6bc34651d735c213bff42cefe0a5140e20efb0a410d4 WHIRLPOOL e543ae87394e238a2859a5c3f1fa49dc8fffba7decc170ba85307e32d96f9c6608e294d1d7037641d4c0e7d8cc853efc8b270e9d68d87e41135fcad9a1991271
DIST R.bash_completion.bz2 4019 SHA256 424790f7be27a0aad7b65289c97cb15d2ca9ee272f30f3e5c906217e487c7f85 SHA512 b11efb99a5dae1f434d2f8c70154a09dd3826126a034a102f905144650c3d77851ddeb206c247dd9365baca13cf95897708a62bd6f8bddc079e3b679a8470fe2 WHIRLPOOL eb8fb8bff43873b75b61bf92af817be7d2bc4eddb2bf51c13e51dc1bdcc0cb5b0bd3623cf73fe20867c8b734732c6c89523916bc8ed4fba2931e55c5a0f837b8

@ -0,0 +1,204 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-3.0.0.ebuild,v 1.1 2013/04/04 22:10:01 calchan Exp $
EAPI=5
inherit bash-completion-r1 autotools eutils flag-o-matic fortran-2 multilib versionator toolchain-funcs
BCP=${PN}-20130129.bash_completion
DESCRIPTION="Language and environment for statistical computing and graphics"
HOMEPAGE="http://www.r-project.org/"
SRC_URI="mirror://cran/src/base/R-3/${P}.tar.gz
bash-completion? ( http://dev.gentoo.org/~bicatali/distfiles/${BCP}.bz2 )"
LICENSE="|| ( GPL-2 GPL-3 ) LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-fbsd ~x86-linux ~x64-macos"
IUSE="bash-completion cairo doc icu java jpeg lapack minimal nls openmp perl png prefix profile readline static-libs tiff tk X"
REQUIRED_USE="png? ( || ( cairo X ) ) jpeg? ( || ( cairo X ) ) tiff? ( || ( cairo X ) )"
CDEPEND="
app-arch/bzip2
app-text/ghostscript-gpl
dev-libs/libpcre
virtual/blas
cairo? ( x11-libs/cairo[X] x11-libs/pango )
icu? ( dev-libs/icu )
jpeg? ( virtual/jpeg )
lapack? ( virtual/lapack )
perl? ( dev-lang/perl )
png? ( media-libs/libpng )
readline? ( sys-libs/readline )
tk? ( dev-lang/tk )
X? ( x11-libs/libXmu x11-misc/xdg-utils )"
DEPEND="${CDEPEND}
virtual/pkgconfig
doc? (
virtual/latex-base
dev-texlive/texlive-fontsrecommended
)"
RDEPEND="${CDEPEND}
( || ( <sys-libs/zlib-1.2.5.1-r1 >=sys-libs/zlib-1.2.5.1-r2[minizip] ) )
app-arch/xz-utils
java? ( >=virtual/jre-1.5 )"
RESTRICT="minimal? ( test )"
R_DIR="${EROOT%/}/usr/$(get_libdir)/${PN}"
pkg_setup() {
if use openmp; then
FORTRAN_NEED_OPENMP=1
tc-has-openmp || die "Please enable openmp support in your compiler"
fi
fortran-2_pkg_setup
filter-ldflags -Wl,-Bdirect -Bdirect
# avoid using existing R installation
unset R_HOME
# Temporary fix for bug #419761
if [[ ($(tc-getCC) == *gcc) && ($(gcc-version) == 4.7) ]]; then
append-flags -fno-ipa-cp-clone
fi
}
src_prepare() {
# gentoo bug #322965 (not applied upstream)
# https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14505
epatch "${FILESDIR}"/${PN}-2.11.1-parallel.patch
# respect ldflags (not applied upstream)
# https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14506
epatch "${FILESDIR}"/${PN}-2.12.1-ldflags.patch
# gentoo bug #383431
# https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14951
epatch "${FILESDIR}"/${PN}-2.13.1-zlib_header_fix.patch
# https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14953
epatch "${FILESDIR}"/${PN}-3.0.0-rmath-shared.patch
# fix packages.html for doc (gentoo bug #205103)
sed -i \
-e "s:../../../library:../../../../$(get_libdir)/R/library:g" \
src/library/tools/R/Rd.R || die
# fix Rscript path when installed (gentoo bug #221061)
sed -i \
-e "s:-DR_HOME='\"\$(rhome)\"':-DR_HOME='\"${R_DIR}\"':" \
src/unix/Makefile.in || die "sed unix Makefile failed"
# fix HTML links to manual (gentoo bug #273957)
sed -i \
-e 's:\.\./manual/:manual/:g' \
$(grep -Flr ../manual/ doc) || die "sed for HTML links failed"
use lapack && \
export LAPACK_LIBS="$($(tc-getPKG_CONFIG) --libs lapack)"
if use X; then
export R_BROWSER="$(type -p xdg-open)"
export R_PDFVIEWER="$(type -p xdg-open)"
fi
use perl && \
export PERL5LIB="${S}/share/perl:${PERL5LIB:+:}${PERL5LIB}"
# don't search /usr/local
sed -i -e '/FLAGS=.*\/local\//c\: # removed by ebuild' configure.ac || die
# Fix for Darwin (OS X)
if use prefix; then
if [[ ${CHOST} == *-darwin* ]] ; then
sed -i \
-e 's:-install_name libR.dylib:-install_name ${libdir}/R/lib/libR.dylib:' \
-e 's:-install_name libRlapack.dylib:-install_name ${libdir}/R/lib/libRlapack.dylib:' \
-e 's:-install_name libRblas.dylib:-install_name ${libdir}/R/lib/libRblas.dylib:' \
-e "/SHLIB_EXT/s/\.so/.dylib/" \
configure.ac || die
# sort of "undo" 2.14.1-rmath-shared.patch
sed -i \
-e "s:-Wl,-soname=libRmath.so:-install_name ${EROOT%/}/usr/$(get_libdir)/libRmath.dylib:" \
src/nmath/standalone/Makefile.in || die
else
append-ldflags -Wl,-rpath="${EROOT%/}/usr/$(get_libdir)/R/lib"
fi
fi
AT_M4DIR=m4 eaclocal
eautoconf
}
src_configure() {
econf \
--enable-byte-compiled-packages \
--enable-R-shlib \
--disable-R-framework \
--with-system-zlib \
--with-system-bzlib \
--with-system-pcre \
--with-system-xz \
--with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
rdocdir="${EPREFIX}/usr/share/doc/${PF}" \
$(use_enable nls) \
$(use_enable openmp) \
$(use_enable profile R-profiling) \
$(use_enable profile memory-profiling) \
$(use_enable static-libs static) \
$(use_enable static-libs R-static-lib) \
$(use_with cairo) \
$(use_with icu ICU) \
$(use_with jpeg jpeglib) \
$(use_with lapack) \
$(use_with !minimal recommended-packages) \
$(use_with png libpng) \
$(use_with readline) \
$(use_with tiff libtiff) \
$(use_with tk tcltk) \
$(use_with X x)
}
src_compile() {
export VARTEXFONTS="${T}/fonts"
emake AR="$(tc-getAR)"
emake -C src/nmath/standalone shared $(use static-libs && echo static) AR="$(tc-getAR)"
use doc && emake info pdf
}
src_install() {
default
emake -C src/nmath/standalone DESTDIR="${D}" install
if use doc; then
emake DESTDIR="${D}" install-info install-pdf
dosym ../manual /usr/share/doc/${PF}/html/manual
fi
cat > 99R <<-EOF
LDPATH=${R_DIR}/lib
R_HOME=${R_DIR}
EOF
doenvd 99R
use bash-completion && newbashcomp "${WORKDIR}"/${BCP} ${PN}
# The buildsystem has a different understanding of install_names than what
# we require. Since it builds modules like shared objects (wrong), many
# objects (all modules) get an incorrect install_name. Fixing the build
# system here is not really trivial.
if [[ ${CHOST} == *-darwin* ]] ; then
local mod
pushd "${ED}"/usr/lib/R > /dev/null
for mod in $(find . -name "*.dylib") ; do
mod=${mod#./}
install_name_tool -id "${EPREFIX}/usr/lib/R/${mod}" \
"${mod}"
done
popd > /dev/null
fi
}
pkg_postinst() {
if use java; then
einfo "Re-initializing java paths for ${P}"
R CMD javareconf
fi
}

@ -0,0 +1,25 @@
Link with libm to fix unresolved symbols when linked with as-needed
and add a soname to the standalone math library
Patch by Sebastien Fabbro
Adapted to R-3.0.0 by Denis Dupeyron
--- src/nmath/standalone/Makefile.in.orig 2013-04-04 14:39:15.777544946 -0600
+++ src/nmath/standalone/Makefile.in 2013-04-04 14:40:51.256153179 -0600
@@ -64,7 +64,8 @@
Rexeclibdir_LTLIBRARIES = $(libRmath_la)
libRmath_la_SOURCES = $(SOURCES)
libRmath_la_OBJECTS = $(OBJECTS:.o=.lo)
-libRmath_la_LDFLAGS =
+libRmath_la_LDFLAGS = -Wl,-soname=libRmath.so
+libRmath_la_LIBADD = $(LIBM)
CLEANFILES = Makedeps *.d *.o *.lo test $(SOURCES)
DISTCLEANFILES = Makefile $(Rexeclibdir_LIBRARIES) $(Rexeclibdir_LTLIBRARIES)
@@ -117,7 +118,7 @@
## under peculiar circumstances, $(LIBM) here helps.
$(libRmath_la): $(libRmath_la_OBJECTS)
- $(DYLIB_LINK) -o $@ $(libRmath_la_LDFLAGS) $(libRmath_la_OBJECTS) $(LIBM)
+ $(DYLIB_LINK) $(libRmath_la_LDFLAGS) $(libRmath_la_OBJECTS) $(libRmath_la_LIBADD) -o $@
test: $(srcdir)/test.c
$(CC) -o $@ $(ALL_CPPFLAGS) $(ALL_CFLAGS) $(srcdir)/test.c \

@ -1,5 +1,3 @@
DIST v8-3.15.11.15.tar.bz2 10396424 SHA256 b5064a3c9d27479532f2ad63182285fde5fe4fea0327715a60f8455f490603e0 SHA512 d24d83794ec41651f61c6d4df668100e64d8006478c2fb942a7df477356effef65edb0e8b71444bf0c3ba5b5ee95825bae845d80910c5e2ef81dee87f5449330 WHIRLPOOL 24b1b0daeda44a9ca0065617d3d3fffad35d510d2d3cc827d1aed7916356ef5d8e3b3ecc7e14f6e429fb3954c8eeeccc842ccd19bb607ea57e678673ad2efd31
DIST v8-3.16.14.2.tar.bz2 10457382 SHA256 b1894ae796b19ebd68fc53059547326214a7e5f9dd85c7260581bae1a437aed9 SHA512 165cc565842a94fdff6c17d72926a877ad4da77cc04dda33f807b45db599359ff327fb581bbfb5234fcba4e7ca1feefc482a5f2a258439a878b09c726d22b41f WHIRLPOOL fe10d969ae67cb7304f15520c9a4bdbdac2b3ff6e44a871977ff6c669d65504170885941e2a93c2bd3af55e6e8eeb14962ec728613f8a48bb8a8410cbcc25d81
DIST v8-3.16.14.9.tar.bz2 10461483 SHA256 a2a69c4915bf2e36d327b4b1edb3d398d4967da31eaa1ae0058b6b6615cd66aa SHA512 424b3d8285244acbb8872fddb90a1e269a35bc8f57c0dba66758d6a853cf75e90a52e4e2d7db4095fe798271c794ac4f99cc40a1dbb99eb1b43d3b5b1878da94 WHIRLPOOL fd7beb7fdb661aa2a04591e7a25fe1c5b39af9bfe9b6e1ab8ed1f4cb6238bb740f3c26d12202c972cdb5552fb02ea31c207304394c095a0839b90b368c436ffc
DIST v8-3.17.15.3.tar.bz2 10516836 SHA256 bfca163e9e90d9aeaaebe89309245be2fcf697258c273e54c087406ea9dc3ed7 SHA512 8ab664b9801ac0d111cc0af6ada8bf42d458ea7fd951c40d1e7599991d813dc96957c07777ed2f2ad48c4fcf84955293de2e4e1138d4d3ec186e58bc0d2e4c73 WHIRLPOOL 6fca6906330a4e47fa155f7ac61531c5f0f156f7e8b74dafaec1ba8d44e1cc4f72ee77d6f32257c7d23edcc689853d80d5e782b6928e6989f3a08ffd908de009
DIST v8-3.17.9.tar.bz2 10510824 SHA256 604e2ed947ec1c066f53a87b0018b5e55041c433b663b812cc874eff3e7ea863 SHA512 47fca2c88d6b5d4049121802fcdb6f5da0d4d2725e176fe312d746b8b6ab50274f9a3d450ab4d05a5ad83644c7a3cf1a90207a716cf2707d664611afd0054869 WHIRLPOOL 828d779ab0da8465155fdc488f75c6c6c4c01c4296f0ce70bb6e7c1093460f075c5810314d5ae64acd876d1742e9216061465d73fc51e70d21eff91e884501cb

@ -1,122 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.15.11.15.ebuild,v 1.4 2013/02/22 12:09:44 ago Exp $
EAPI="5"
PYTHON_COMPAT=( python2_{6,7} )
inherit eutils multilib pax-utils python-any-r1 toolchain-funcs versionator
DESCRIPTION="Google's open source JavaScript engine"
HOMEPAGE="http://code.google.com/p/v8"
SRC_URI="http://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2"
LICENSE="BSD"
soname_version="$(get_version_component_range 1-3)"
SLOT="0/${soname_version}"
KEYWORDS="amd64 ~arm x86 ~x86-fbsd ~x64-macos ~x86-macos"
IUSE=""
DEPEND="${PYTHON_DEPS}"
src_prepare() {
epatch "${FILESDIR}"/${PN}-vfp2-r0.patch
}
src_configure() {
tc-export AR CC CXX RANLIB
export LINK=${CXX}
local hardfp=off
# Use target arch detection logic from bug #354601.
case ${CHOST} in
i?86-*) myarch=ia32 ;;
x86_64-*)
if [[ $ABI = x86 ]] ; then
myarch=ia32
else
myarch=x64
fi ;;
arm*-hardfloat-*)
hardfp=on
myarch=arm ;;
arm*-*) myarch=arm ;;
*) die "Unrecognized CHOST: ${CHOST}"
esac
mytarget=${myarch}.release
# TODO: Add console=readline option once implemented upstream
# http://code.google.com/p/v8/issues/detail?id=1781
# Generate the real Makefile.
emake V=1 \
library=shared \
werror=no \
soname_version=${soname_version} \
snapshot=on \
hardfp=${hardfp} \
out/Makefile.${myarch} || die
}
src_compile() {
local makeargs=(
-C out
-f Makefile.${myarch}
V=1
BUILDTYPE=Release
builddir="${S}/out/${mytarget}"
)
# Build mksnapshot so we can pax-mark it.
emake "${makeargs[@]}" mksnapshot || die
pax-mark m out/${mytarget}/mksnapshot
# Build everything else.
emake "${makeargs[@]}" || die
pax-mark m out/${mytarget}/{cctest,d8,shell} || die
}
src_test() {
local arg testjobs
for arg in ${MAKEOPTS}; do
case ${arg} in
-j*) testjobs=${arg#-j} ;;
--jobs=*) testjobs=${arg#--jobs=} ;;
esac
done
tools/test-wrapper-gypbuild.py \
-j${testjobs:-1} \
--arch-and-mode=${mytarget} \
--no-presubmit \
--progress=dots || die
}
src_install() {
insinto /usr
doins -r include || die
if [[ ${CHOST} == *-darwin* ]] ; then
# buildsystem is too horrific to get this built correctly
mkdir -p out/${mytarget}/lib.target
mv out/${mytarget}/libv8.so.${soname_version} \
out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die
install_name_tool \
-id "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) \
|| die
install_name_tool \
-change \
/usr/local/lib/libv8.so.${soname_version} \
"${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
out/${mytarget}/d8 || die
fi
dobin out/${mytarget}/d8 || die
dolib out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die
dosym libv8$(get_libname ${soname_version}) /usr/$(get_libdir)/libv8$(get_libname) || die
dodoc AUTHORS ChangeLog || die
}

@ -1,118 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.16.14.2.ebuild,v 1.1 2013/03/01 00:55:38 floppym Exp $
EAPI="5"
PYTHON_COMPAT=( python2_{6,7} )
inherit eutils multilib pax-utils python-any-r1 toolchain-funcs versionator
DESCRIPTION="Google's open source JavaScript engine"
HOMEPAGE="http://code.google.com/p/v8"
SRC_URI="http://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2"
LICENSE="BSD"
soname_version="$(get_version_component_range 1-3)"
SLOT="0/${soname_version}"
KEYWORDS="~amd64 ~arm ~x86 ~x86-fbsd ~x64-macos ~x86-macos"
IUSE=""
DEPEND="${PYTHON_DEPS}"
src_configure() {
tc-export AR CC CXX RANLIB
export LINK=${CXX}
local hardfp=off
# Use target arch detection logic from bug #354601.
case ${CHOST} in
i?86-*) myarch=ia32 ;;
x86_64-*)
if [[ $ABI = x86 ]] ; then
myarch=ia32
else
myarch=x64
fi ;;
arm*-hardfloat-*)
hardfp=on
myarch=arm ;;
arm*-*) myarch=arm ;;
*) die "Unrecognized CHOST: ${CHOST}"
esac
mytarget=${myarch}.release
# TODO: Add console=readline option once implemented upstream
# http://code.google.com/p/v8/issues/detail?id=1781
# Generate the real Makefile.
emake V=1 \
library=shared \
werror=no \
soname_version=${soname_version} \
snapshot=on \
hardfp=${hardfp} \
out/Makefile.${myarch} || die
}
src_compile() {
local makeargs=(
-C out
-f Makefile.${myarch}
V=1
BUILDTYPE=Release
builddir="${S}/out/${mytarget}"
)
# Build mksnapshot so we can pax-mark it.
emake "${makeargs[@]}" mksnapshot || die
pax-mark m out/${mytarget}/mksnapshot
# Build everything else.
emake "${makeargs[@]}" || die
pax-mark m out/${mytarget}/{cctest,d8,shell} || die
}
src_test() {
local arg testjobs
for arg in ${MAKEOPTS}; do
case ${arg} in
-j*) testjobs=${arg#-j} ;;
--jobs=*) testjobs=${arg#--jobs=} ;;
esac
done
tools/test-wrapper-gypbuild.py \
-j${testjobs:-1} \
--arch-and-mode=${mytarget} \
--no-presubmit \
--progress=dots || die
}
src_install() {
insinto /usr
doins -r include || die
if [[ ${CHOST} == *-darwin* ]] ; then
# buildsystem is too horrific to get this built correctly
mkdir -p out/${mytarget}/lib.target
mv out/${mytarget}/libv8.so.${soname_version} \
out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die
install_name_tool \
-id "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) \
|| die
install_name_tool \
-change \
/usr/local/lib/libv8.so.${soname_version} \
"${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
out/${mytarget}/d8 || die
fi
dobin out/${mytarget}/d8 || die
dolib out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die
dosym libv8$(get_libname ${soname_version}) /usr/$(get_libdir)/libv8$(get_libname) || die
dodoc AUTHORS ChangeLog || die
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.16.14.9-r1.ebuild,v 1.2 2013/03/22 16:58:27 floppym Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.16.14.9-r1.ebuild,v 1.5 2013/04/05 14:36:24 floppym Exp $
EAPI="5"
PYTHON_COMPAT=( python2_{6,7} )
@ -14,7 +14,7 @@ LICENSE="BSD"
soname_version="${PV}"
SLOT="0/${soname_version}"
KEYWORDS="~amd64 ~arm ~x86 ~x86-fbsd ~x64-macos ~x86-macos"
KEYWORDS="amd64 ~arm x86 ~x86-fbsd ~x64-macos ~x86-macos"
IUSE=""
DEPEND="${PYTHON_DEPS}"
@ -65,12 +65,12 @@ src_compile() {
)
# Build mksnapshot so we can pax-mark it.
emake "${makeargs[@]}" mksnapshot || die
emake "${makeargs[@]}" mksnapshot
pax-mark m out/${mytarget}/mksnapshot
# Build everything else.
emake "${makeargs[@]}" || die
pax-mark m out/${mytarget}/{cctest,d8,shell} || die
emake "${makeargs[@]}"
pax-mark m out/${mytarget}/{cctest,d8,shell}
}
src_test() {

@ -1,118 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.16.14.9.ebuild,v 1.1 2013/03/21 02:17:10 floppym Exp $
EAPI="5"
PYTHON_COMPAT=( python2_{6,7} )
inherit eutils multilib pax-utils python-any-r1 toolchain-funcs versionator
DESCRIPTION="Google's open source JavaScript engine"
HOMEPAGE="http://code.google.com/p/v8"
SRC_URI="http://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2"
LICENSE="BSD"
soname_version="$(get_version_component_range 1-3)"
SLOT="0/${soname_version}"
KEYWORDS="~amd64 ~arm ~x86 ~x86-fbsd ~x64-macos ~x86-macos"
IUSE=""
DEPEND="${PYTHON_DEPS}"
src_configure() {
tc-export AR CC CXX RANLIB
export LINK=${CXX}
local hardfp=off
# Use target arch detection logic from bug #354601.
case ${CHOST} in
i?86-*) myarch=ia32 ;;
x86_64-*)
if [[ $ABI = x86 ]] ; then
myarch=ia32
else
myarch=x64
fi ;;
arm*-hardfloat-*)
hardfp=on
myarch=arm ;;
arm*-*) myarch=arm ;;
*) die "Unrecognized CHOST: ${CHOST}"
esac
mytarget=${myarch}.release
# TODO: Add console=readline option once implemented upstream
# http://code.google.com/p/v8/issues/detail?id=1781
# Generate the real Makefile.
emake V=1 \
library=shared \
werror=no \
soname_version=${soname_version} \
snapshot=on \
hardfp=${hardfp} \
out/Makefile.${myarch} || die
}
src_compile() {
local makeargs=(
-C out
-f Makefile.${myarch}
V=1
BUILDTYPE=Release
builddir="${S}/out/${mytarget}"
)
# Build mksnapshot so we can pax-mark it.
emake "${makeargs[@]}" mksnapshot || die
pax-mark m out/${mytarget}/mksnapshot
# Build everything else.
emake "${makeargs[@]}" || die
pax-mark m out/${mytarget}/{cctest,d8,shell} || die
}
src_test() {
local arg testjobs
for arg in ${MAKEOPTS}; do
case ${arg} in
-j*) testjobs=${arg#-j} ;;
--jobs=*) testjobs=${arg#--jobs=} ;;
esac
done
tools/test-wrapper-gypbuild.py \
-j${testjobs:-1} \
--arch-and-mode=${mytarget} \
--no-presubmit \
--progress=dots || die
}
src_install() {
insinto /usr
doins -r include || die
if [[ ${CHOST} == *-darwin* ]] ; then
# buildsystem is too horrific to get this built correctly
mkdir -p out/${mytarget}/lib.target
mv out/${mytarget}/libv8.so.${soname_version} \
out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die
install_name_tool \
-id "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) \
|| die
install_name_tool \
-change \
/usr/local/lib/libv8.so.${soname_version} \
"${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
out/${mytarget}/d8 || die
fi
dobin out/${mytarget}/d8 || die
dolib out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die
dosym libv8$(get_libname ${soname_version}) /usr/$(get_libdir)/libv8$(get_libname) || die
dodoc AUTHORS ChangeLog || die
}

@ -1,6 +1,6 @@
DIST GeoIP-1.4.8.tar.gz 1074829 SHA256 cf0f6b2bac1153e34d6ef55ee3851479b347d2b5c191fda8ff6a51fab5291ff4 SHA512 aec70bdf002f1041ecb14f091e32206af033dc6ed89d20dffcc80e4c4edad993c9dfab7810576cb75f07d356ef34529ca3f2613e43e7f97c2b7ae099ce3be317 WHIRLPOOL 3dcaa7ef9610ede593b64a7a0f111adc0b2f9c4bf64054ef4f690d284a8c7ba45083d2739585047db18e3c22b50b026c9b5fee26142a4611af7b4092e907ffdf
DIST GeoIP-1.5.0.tar.gz 1232688 SHA256 d1dbd4f27bcf0e760329f0f9c67a5fc81b4c56efbe0666159934c2bcd38caea2 SHA512 87bc4972ae438f3f37a1f05e55377862a72437195e0241b7fa1ddf4ebaeb1da50a07a387ae13481dd1ff2a5ec39b9830a808618bb8c825417d25068684540b3f WHIRLPOOL 11ea882d6fd77426a2ffa05632dfc7ef9c16dc323bb01738ce9b0fa67a181d380e6c80f3a0f1065e12b95537e21ceeab817db2acf25492388fe6878bdf9ed6fa
DIST GeoIPASNum.dat.gz 1813588 SHA256 be73dd4dc23b9a6ca7f6fc190821768ff49b396f1708214adb227d1822e7e83a SHA512 30f3f29f16b2100eace892086edba8a3dd64bca24e4d76d8625e12982abc7b026f503fd892a4faab1513b3bdfa4d4db174131a578ffcc5e4cf21dfb7952840ce WHIRLPOOL 9d6051a4e38bbe1ebd9f89dbfb37d4162c28a7a29e8ef1cc1fe11c6981f19a8c32cf6e023fa545a47d0b98f8c49e68cf6f5505c5f9548e5a8a181c6e12e23a74
DIST GeoIPv6.dat.gz 609340 SHA256 6a4dc4b648578ebb5a8b0ca1a2adc8db6297484caa7c87158116dbb4af328c50 SHA512 9e995c9ab8bbfc2ea5598b66c75340d1d5ca4ca34d70b43d4a79464e738a97c08fe079f4c2b9d1c33bb128e42ffe95d1dcd9e8bdfa97c65520bffd698e1b3a14 WHIRLPOOL 2ec1dd94c933588af77592b2ab80ba9ae5042f70d54e4e578815d8b1409f2233664a1b63abcf3bbaf54b3cfba3c67de358345eb4dd8af2a1c981c1f00f982d3c
DIST GeoLiteCity.dat.gz 12094575 SHA256 2db87dd2ed665833b71b5f330476ad850cf3b34001f101d581c8e470dba50a5f SHA512 ff598ab09dede9ffea5edfb70ec1c58c0e612b3b30f3a0cbc69afe445e9b78ac428d2d757d11c575a2f497e239ac12d07ddc49435e37d5295af2e97e951fb2fb WHIRLPOOL 644e73a6392a7cd7e0a5d70986fe5c38c3a3035b5a4304a54ddd8df2047a0ba4b3ec0389dbfc637a3396d4627e22d05d2ee3eeb95094f7be147ad27939f1dd49
DIST GeoLiteCityv6.dat.gz 12259422 SHA256 875847daefc12ac35eea84ae05b8ac71cdaf809753ab6c69d8f01962ea15b550 SHA512 84805f923067b5457f3207373c8325d2074374d4f0202b6b08001c5b67af5ef1eb6786a135f155e67230586ea3d358a4900388cd5fa4dc54bad9a6ec72e56bfe WHIRLPOOL 9e3e5470d0ee1b10c85df03fdff0f2dd57e2a150ab618c60fc03d9c5605fa39ef1efbaadf1d510c7367c1b8a94fcc29142af656441f2b16f27db023e51f325e5
DIST GeoIPASNum.dat.gz 1848800 SHA256 4c4ea1243e7dcbef6067de7c4b7447be635d60c4b5a02174e878898fb54b8de1 SHA512 741541170506dc516af331e467906d0066c9b9a4fd8b50f17aa55a7d4a78134d37d3499bae09f8d95089d7003068f43dcecb11a985be2cde91fa630a459f1967 WHIRLPOOL 960da0748348ba6455acb59af5ab262279960b2c46c047b9dcdb2f6694accc8e140d41b06f75cdd82534d171512666b337ce4044b0a2f99d906e0dd0a3c115d8
DIST GeoIPv6.dat.gz 932782 SHA256 3e83499214f44105c84989fe19fddba1208ed756443835064ffa69eafb5c74f8 SHA512 211d6035f2f7a5cc3f362395c9f66b21574ef6a2ee0d19da7e7dccc4484b75ff9d86dce5ced85824a0da3a29e8f39a51e32cc275d0735e9d2bde4a4bf0b1b5d1 WHIRLPOOL 2e7c17dc52c7f33b072b911e40b0a947b5e38bdbab342dd15f5470a143590d6be6df2da9a08243719bdb344e937db41a34a4ae20536e7a4c63459dc16ecefb8d
DIST GeoLiteCity.dat.gz 12783915 SHA256 295a7ad8b02d9d299c5316c0fe50316630b557c1ddbfae3f15b5c47ef693bc35 SHA512 e23c32394991d3a18cc40a2510c3a83698f04dec781c925e7fb4ea53b254178ebadaea50eaea685ad35ac415344c5f502bbd73a0964d96cfe43bf42a9a1125c2 WHIRLPOOL 5a477b99d86d789345498434294a2008f43bb07c9e3bee7eac6fdbe66639f7e340e2f458e144b5bb29195ffbf23e85c47044c212901bec6538b80eb898a4f6c5
DIST GeoLiteCityv6.dat.gz 12994786 SHA256 2e7cf43c098c3d8f15d9e764bac51228aa29eceb64ae6f482175884c24e68d7a SHA512 66dc9905e4b1498ef67c3e038029e943b3a0e496cb122d3fbc8b4ec9ff285f13e2a0a574d58491b4e01d0dd839dc7dbb538ee7a27f8ef1b04c01b89c0b4d0f24 WHIRLPOOL f0e536204126aaecd49847d44b9e53dfb841a2806d657620c097de45e476a5854a48bf769b3d506338cccfd8a10c8d128b7e4deca2cf581a64a7c504996d8106

@ -1,2 +1 @@
DIST jrtplib-3.7.1.tar.bz2 334965 SHA256 b6f82ec7e5543c1a40630e6be98bd9ca464484f985fac7c7bce3fd872ae4348a SHA512 e66633d4ab038641f276764173dcfe7790951a99172d2dfa7d961ae6bfaa9f8654353e4d061db33816153c1ddc656e1352e6c314408fa4df74b20b90e4f70c14 WHIRLPOOL e058292f3fe6859f94503207faea1079290bb53332ad2b08823aefd97f99415e6db41dcd1811fd9065c2f6e8e37c1a1afdb52a7c09430b29e1c2308178a541e7
DIST jrtplib-3.9.1.tar.bz2 117735 SHA256 a99a0d5764e8ca9f84bf167e6de91c3092ce3633497bacc3e2d13b69aa4403df SHA512 9f7302681266b2eaa038133e8c8590cd6a547ee7b444815618caeccff9cddf7a9a1af69aed4ba63acff4e3764771c8e6b8d9ce521fd9ad5c6018940bf2e73a3d WHIRLPOOL 8dffe39719f193e000b458d68b182c3989a46b9490111c5835031b1cd04ecaa9a0c9d5410f353db97bfbe4b15ff941a4425735cbb87db4b9c8a832589a7d810e

@ -1,10 +0,0 @@
--- src/rtpdefines.h.old 2009-07-23 16:55:04.000000000 +0000
+++ src/rtpdefines.h 2009-07-23 16:55:35.000000000 +0000
@@ -79,6 +79,7 @@
#define RTP_SNPRINTF _snprintf
#endif
#else
+ #include <stdio.h>
#define RTP_SNPRINTF snprintf
#endif // WIN32 || _WIN32_WCE

@ -1,24 +0,0 @@
diff -Nurpa jrtplib-3.7.1.orig/src/rtcpcompoundpacketbuilder.cpp jrtplib-3.7.1/src/rtcpcompoundpacketbuilder.cpp
--- jrtplib-3.7.1.orig/src/rtcpcompoundpacketbuilder.cpp 2008-12-16 08:58:06.000000000 +0300
+++ jrtplib-3.7.1/src/rtcpcompoundpacketbuilder.cpp 2008-12-16 08:59:54.000000000 +0300
@@ -42,6 +42,8 @@
#include "rtpdebug.h"
+#include <cstring>
+
RTCPCompoundPacketBuilder::RTCPCompoundPacketBuilder(RTPMemoryManager *mgr) : RTCPCompoundPacket(mgr), report(mgr), sdes(mgr)
{
byesize = 0;
diff -Nurpa jrtplib-3.7.1.orig/src/rtppacket.cpp jrtplib-3.7.1/src/rtppacket.cpp
--- jrtplib-3.7.1.orig/src/rtppacket.cpp 2008-12-16 08:58:06.000000000 +0300
+++ jrtplib-3.7.1/src/rtppacket.cpp 2008-12-16 08:58:52.000000000 +0300
@@ -45,6 +45,8 @@
#include "rtpdebug.h"
+#include <cstring>
+
void RTPPacket::Clear()
{
hasextension = false;

@ -1,40 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/jrtplib/jrtplib-3.7.1-r1.ebuild,v 1.3 2012/11/27 13:34:52 pinkbyte Exp $
EAPI="2"
inherit eutils
DESCRIPTION="JRTPLIB is an object-oriented RTP library written in C++."
HOMEPAGE="http://research.edm.uhasselt.be/~jori/page/index.php?n=CS.Jrtplib"
SRC_URI="http://research.edm.uhasselt.be/jori/${PN}/${P}.tar.bz2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples ipv6"
RDEPEND="<dev-libs/jthread-1.3.0"
DEPEND="${RDEPEND}"
src_prepare() {
# do not compile examples
sed -i -e "s/examples //" Makefile.in || die "sed failed"
epatch "${FILESDIR}"/${P}-gcc43.patch
epatch "${FILESDIR}"/${P}-gcc-4.4.patch
}
src_configure() {
econf $(use_enable ipv6 IPv6)
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc ChangeLog README.TXT TODO || die "dodoc failed"
if use examples; then
insinto /usr/share/${PN}/examples
doins examples/*.cpp || die "doins failed"
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/json-c/json-c-0.9-r1.ebuild,v 1.9 2013/01/28 07:58:55 jlec Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/json-c/json-c-0.9-r1.ebuild,v 1.10 2013/04/04 22:18:36 floppym Exp $
EAPI="4"
@ -13,7 +13,7 @@ SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="static-libs"
RDEPEND="!dev-libs/jsoncpp"
RDEPEND="!<dev-libs/jsoncpp-0.5.0-r1"
DEPEND=""
DOCS=( README )

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/jsoncpp/jsoncpp-0.5.0-r1.ebuild,v 1.1 2013/02/28 20:04:34 phajdan.jr Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/jsoncpp/jsoncpp-0.5.0-r1.ebuild,v 1.3 2013/04/04 20:16:25 ago Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
@ -15,7 +15,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
KEYWORDS="amd64 ~arm x86"
IUSE="doc"
DEPEND="

@ -1,4 +1 @@
DIST jthread-1.2.0.tar.bz2 186718 SHA256 b58d551fffce8ff744b4844f7247278f59d8f226eadfc6bb41d2deee78f748cf SHA512 899393ac969a8f3d5af9880dc9e6a6f1096589b74641c9658e548de073a6f943353339ce821c0a714fa289e7a9ab30bd7ce9d029bfb6c84b713318da2b67c26c WHIRLPOOL fae754cfea5ef7a04b169a271134995126706960fca116abf604668b110ff5c3b599b057cf1f5cf8d468d5e2e982c1340ece855d5bec90cbc950e8d86548e38b
DIST jthread-1.2.1.tar.bz2 187171 SHA256 e573c41e2a390dab414022fd56e2f08178c151bcf5ceb741bab085ad64582fc5 SHA512 6ac5b8b8f3f48c6a15723c207b7ef542a039fcb11523ad191a6ed5a3990fc23954fdd1b58126e8b71b935b9ba509ff2b98345a88e12eef44841f4c6321067249 WHIRLPOOL e736232ef5ab2c0d069565a277386fbd213b979db06c7d6d747febc16f5cf13bc8e7e37c1f238ca5c2b4c530c931dd1c68118bcba96d2fbe54a9ba5bb7db5194
DIST jthread-1.3.0.tar.bz2 7770 SHA256 2342e7d5362e1860983349b4b58b400b02019d3bfcdb56e588fb5b2de45cfd2e SHA512 5fc0e62b6d42b252d112828a39ae90b706ba425bb861555f6167f8be85ae270df47c4dccd16a66999c9b3e3c0df52da1cd30242550408dea5295a2247e44e596 WHIRLPOOL 20eb8c646c3c93c34fc94e71ede3c8fa70fcbe75e332075e8328043d5af0deabdfc51292aea9161c256b20435001a068de55e2bf4779288a09b548231b78575b
DIST jthread-1.3.1.tar.bz2 8130 SHA256 e62ec3b6d11a83a6b50336c66e192fa97a677a5f627ea996ffa5f5ddb1752936 SHA512 ea369ed8028266d67d2a7aeadbc6dd4859191f563dc2f328ad3622af3cc010e366c446a9d325fd689dd35473e6547e552dd0715a4ab308207f46260382f1603f WHIRLPOOL 302828b1948d5f8827bd96b23f32d45bcf2df53f661daf6c1c718f15aa1dc8d35f0053a0aebaefc9a19ff32776c1efacaffd3890e01ed4c27d464c2e02b3117e

@ -1,16 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/jthread/jthread-1.2.0.ebuild,v 1.3 2012/11/22 12:02:36 pinkbyte Exp $
DESCRIPTION="JThread provides some classes to make use of threads easy on different platforms."
HOMEPAGE="http://research.edm.uhasselt.be/~jori/page/index.php?n=CS.Jthread"
SRC_URI="http://research.edm.uhasselt.be/jori/${PN}/${P}.tar.bz2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc README.TXT TODO ChangeLog doc/manual.tex
}

@ -1,28 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/jthread/jthread-1.2.1-r1.ebuild,v 1.1 2012/11/22 13:12:59 pinkbyte Exp $
EAPI=4
inherit eutils
DESCRIPTION="JThread provides some classes to make use of threads easy on different platforms."
HOMEPAGE="http://research.edm.uhasselt.be/~jori/page/index.php?n=CS.Jthread"
SRC_URI="http://research.edm.uhasselt.be/jori/${PN}/${P}.tar.bz2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs"
DOCS=( ChangeLog README.TXT TODO doc/manual.tex )
src_configure() {
econf \
$(use_enable static-libs static)
}
src_install() {
default
prune_libtool_files
}

@ -1,17 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/jthread/jthread-1.2.1.ebuild,v 1.4 2012/12/04 15:36:35 ago Exp $
DESCRIPTION="JThread provides some classes to make use of threads easy on different platforms."
HOMEPAGE="http://research.edm.uhasselt.be/~jori/page/index.php?n=CS.Jthread"
SRC_URI="http://research.edm.uhasselt.be/jori/${PN}/${P}.tar.bz2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc ChangeLog README* TODO doc/*.tex
}

@ -1,25 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/jthread/jthread-1.3.0.ebuild,v 1.1 2012/11/27 13:19:59 pinkbyte Exp $
EAPI=4
inherit cmake-utils
DESCRIPTION="JThread provides some classes to make use of threads easy on different platforms."
HOMEPAGE="http://research.edm.uhasselt.be/~jori/page/index.php?n=CS.Jthread"
SRC_URI="http://research.edm.uhasselt.be/jori/${PN}/${P}.tar.bz2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs"
DOCS=( ChangeLog README.TXT TODO doc/manual.tex )
src_prepare() {
# do not build static library, if it is not requested
if ! use static-libs; then
sed -i -e '/jthread-static/d' src/CMakeLists.txt || die 'sed on src/CMakeLists.txt failed'
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/re2/re2-0_p20130115.ebuild,v 1.1 2013/03/07 23:19:26 phajdan.jr Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/re2/re2-0_p20130115.ebuild,v 1.3 2013/04/04 20:16:33 ago Exp $
EAPI=4
@ -12,7 +12,7 @@ SRC_URI="http://re2.googlecode.com/files/${PN}-${PV##*_p}.tgz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
KEYWORDS="amd64 ~arm x86"
IUSE=""
# TODO: the directory in the tarball should really be versioned.

@ -0,0 +1,33 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/awl/awl-0.53-r1.ebuild,v 1.1 2013/04/04 20:26:04 mabi Exp $
EAPI=4
DESCRIPTION="Andrew McMillan's web libraries: A collection of generic classes
used by the davical calendar server"
HOMEPAGE="http://andrew.mcmillan.net.nz/projects/awl"
SRC_URI="http://debian.mcmillan.net.nz/packages/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
DEPEND="doc? ( dev-php/PEAR-PhpDocumentor )"
RDEPEND="dev-lang/php[pdo,postgres,xml]"
DOCS="debian/README.Debian debian/changelog"
src_compile() {
if use doc ; then
ebegin "Generating documentation"
phpdoc -c "docs/api/phpdoc.ini" || die "Documentation failed to build"
fi
}
src_install() {
use doc && dohtml -r "docs/api/"
insinto "/usr/share/php/${PN}"
doins -r dba inc scripts
}

@ -1,12 +1,12 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-evolution/django-evolution-0.6.7-r1.ebuild,v 1.4 2013/03/15 09:33:33 patrick Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-evolution/django-evolution-0.6.7-r1.ebuild,v 1.6 2013/04/05 11:38:49 mgorny Exp $
EAPI=5
PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} )
PYTHON_COMPAT=( python{2_6,2_7} )
inherit distutils-r1 eutils
inherit distutils-r1
MY_PN=${PN/-/_}
MY_P=${MY_PN}-${PV}
@ -22,21 +22,25 @@ IUSE="test"
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/django
test? ( dev-python/nose )"
dev-python/django[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
S=${WORKDIR}/${MY_P}
python_prepare_all() {
# Fix installing 'tests' package in the global scope.
# http://code.google.com/p/django-evolution/issues/detail?id=134
sed -i -e 's:find_packages(:&exclude=("tests",):' setup.py || die
distutils-r1_python_prepare_all
}
python_test() {
# This is tested, any delay in die subsequent to (implicitly inherited) multiprocessing eclass
"${PYTHON}" tests/runtests.py || die
}
src_install() {
distutils-r1_src_install
einfo "Remove tests to avoid file collisions"
rm -rf $(find "${ED}" -name tests) || die
python_install_all() {
distutils-r1_python_install_all
dodoc -r docs/
}

@ -1 +1,2 @@
DIST encore-0.2.tar.gz 99153 SHA256 945508b9b2205648bc011e21979bfe5a0dac3ddda2b8d7cf882e23f47a62319b SHA512 f17aeffd431a7919f1fe605eb919a0a174c37fd3803d6c14eb206126319965cf22b2d001950c82aa96640aa831851dc7803fd3f361012abfbbe08f02533e73ce WHIRLPOOL 8a2406b45ce0ea27d1245b238b23ecaf50e8c8d39f18ffccb54dbe04c710339bdc2687563d213e83af10e1c7c1cbfa0151b511f7c36328a228d2153e4181ed2c
DIST encore-0.3.tar.gz 104057 SHA256 994a564140327a2caf9147407d42c249e1b10ccce76b506bbe3016fd76c14261 SHA512 d5ba216cc7cb3181b20d7cf4362def8a52f7d940380791c863b7e6b9f8c35f8c6eee1d2d3c9dd81fa593db92ccb22e6980e4e3582ce0be029a4511b11b9fe16b WHIRLPOOL 3a0e20b09dd4e47eb2ec015cc89c9123804a8c6ed9d8a31a4c60c913099741047c92663d34698835dc40d3d75055fababf789231e348139be35c1923e2403ea3

@ -0,0 +1,51 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/encore/encore-0.3.ebuild,v 1.1 2013/04/05 14:19:00 idella4 Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
inherit distutils-r1
DESCRIPTION="Enthought Tool Suite: collection of core-level utility modules"
HOMEPAGE="https://github.com/enthought/encore"
SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
RDEPEND=""
DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( dev-python/futures[${PYTHON_USEDEP}] )"
DOCS="dataflow.txt"
python_prepare_all() {
# use of port 8080 is highly prone to prior use on testing
sed -e 's:self.port = 8080:self.port = 8020:' \
-i encore/storage/tests/static_url_store_test.py || die
}
python_compile_all() {
use doc && PYTHONPATH="$(ls -1d ${S}/build*/lib | head -n1)" \
emake -C docs html
}
python_test() {
# as set for py2.6 in 0.2, likely due to tests coded to import only unittest
[[ "${EPYTHON:6:3}" = '2.6' ]] && return
nosetests || die
}
python_install_all() {
find -name "*LICENSE*.txt" -delete
use doc && dohtml -r docs/build/html/*
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples
fi
}

@ -0,0 +1,35 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/futures/futures-2.1.3-r1.ebuild,v 1.1 2013/04/05 13:51:21 idella4 Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7,3_1} )
inherit distutils-r1
DESCRIPTION="Backport of the concurrent.futures package from Python 3.2"
HOMEPAGE="http://code.google.com/p/pythonfutures http://pypi.python.org/pypi/futures"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
LICENSE="BSD"
SLOT="0"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
DOCS=( CHANGES )
python_compile_all() {
use doc && emake -C docs html
}
python_test() {
"${PYTHON}" test_futures.py || die "no tests today"
}
python_install_all() {
use doc && dohtml -r docs/_build/html/
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/futures/futures-2.1.3.ebuild,v 1.1 2012/08/29 05:27:30 patrick Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/futures/futures-2.1.3.ebuild,v 1.2 2013/04/05 13:51:21 idella4 Exp $
EAPI="4"
PYTHON_DEPEND="2:2.5"
@ -19,8 +19,6 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-python/setuptools"
DOCS=( CHANGES )
src_test() {

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pypax/pypax-0.8.1-r1.ebuild,v 1.1 2013/02/28 14:39:44 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/pypax/pypax-0.8.1-r1.ebuild,v 1.3 2013/04/04 19:46:12 ago Exp $
EAPI="5"
@ -17,7 +17,7 @@ S="${WORKDIR}/elfix-${PV}/scripts"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
IUSE="+ptpax +xtpax"
REQUIRED_USE="|| ( ptpax xtpax )"

@ -0,0 +1,22 @@
See https://bugs.launchpad.net/pypolicyd-spf/+bug/832480
diff -ur pyspf-2.0.7.orig/spf.py pyspf-2.0.7/spf.py
--- spf.py 2012-02-03 10:26:20.000000000 +0800
+++ spf.py 2013-04-05 15:56:53.370995142 +0800
@@ -1129,7 +1129,7 @@
try:
return [''.join(s.decode("ascii") for s in a)
for a in self.dns(domainname, 'TXT')]
- except UnicodeEncodeError:
+ except UnicodeError:
raise PermError('Non-ascii character in SPF TXT record.')
return []
def dns_99(self, domainname):
@@ -1138,7 +1138,7 @@
try:
return [''.join(s.decode("ascii") for s in a)
for a in self.dns(domainname, 'SPF')]
- except UnicodeEncodeError:
+ except UnicodeError:
raise PermError('Non-ascii character in SPF record.')
return []

@ -0,0 +1,30 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyspf/pyspf-2.0.7-r1.ebuild,v 1.1 2013/04/05 08:31:58 idella4 Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_6,2_7} )
inherit distutils-r1
DESCRIPTION="Python implementation of the Sender Policy Framework (SPF) protocol"
HOMEPAGE="http://pypi.python.org/pypi/pyspf"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="PSF-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="dev-python/authres[${PYTHON_USEDEP}]
|| ( dev-python/pydns:2 dev-python/pydns:0 )"
DEPEND="${DEPEND}
test? ( dev-python/pyyaml[${PYTHON_USEDEP}] )"
PATCHES=( "${FILESDIR}"/${P}-catch_unicode.patch )
python_test() {
pushd test &> /dev/null
"${PYTHON}" testspf.py || die
popd &> /dev/null
}

@ -27,7 +27,7 @@ diff -ur pytest-2.3.4.orig/testing/python/metafunc.py pytest-2.3.4/testing/pytho
(object(), object())])
assert result == ["a0-1.0", "a1-b1"]
+ # unicode mixing, issue250
+ result = idmaker((u"a", "b"), [({}, '\xc3\xb4')])
+ result = idmaker((py.builtin._totext("a"), "b"), [({}, '\xc3\xb4')])
+ assert result == ['a0-\xc3\xb4']

@ -1,59 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pytest/pytest-2.3.4-r1.ebuild,v 1.1 2013/04/04 12:38:16 patrick Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} pypy{1_8,1_9,2_0} )
inherit distutils-r1 eutils
DESCRIPTION="py.test: simple powerful testing with Python"
HOMEPAGE="http://pytest.org/ http://pypi.python.org/pypi/pytest"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha ~amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="doc test"
# When bumping, please check setup.py for the proper py version
PY_VER="1.4.12"
RDEPEND=">=dev-python/py-${PY_VER}"
DEPEND="${RDEPEND}
app-arch/unzip
dev-python/setuptools[${PYTHON_USEDEP}]"
DOCS=( CHANGELOG README.txt )
python_prepare_all() {
# Disable versioning of py.test script to avoid collision with
# versioning performed by the eclass.
sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed"
grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency"
distutils-r1_python_prepare_all
epatch "${FILESDIR}"/${P}-unicode.patch
}
python_compile_all() {
if use doc; then
mkdir doc/en/.build || die
emake -C doc/en html
fi
}
python_test() {
cd "${BUILD_DIR}"/lib/ || die
# pytest.py draws from "${S}" if / when absent of a local testing folder; Bug 462552
if [[ "${EPYTHON:6:1}" == 3 ]]; then
cp -a "${S}"/testing/ . || die
"${PYTHON}" pytest.py || die "tests failed with ${EPYTHON}"
rm -rf testing/
else
"${PYTHON}" pytest.py || die "tests failed with ${EPYTHON}"
fi
}
python_install_all() {
use doc && dohtml -r doc/en/_build/html/
}

@ -2,10 +2,6 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
<maintainer>
<email>mgorny@gentoo.org</email>
<name>Michał Górny</name>
</maintainer>
<upstream>
<maintainer status="active">
<email>mgorny@gentoo.org</email>

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-exec/python-exec-0.3.1.ebuild,v 1.1 2013/02/27 22:53:15 mgorny Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-exec/python-exec-0.3.1.ebuild,v 1.3 2013/04/04 19:46:28 ago Exp $
EAPI=5
@ -16,7 +16,7 @@ SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-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 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
src_configure() {

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/testify/testify-0.2.10.ebuild,v 1.1 2013/03/10 14:47:45 idella4 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/testify/testify-0.2.10.ebuild,v 1.2 2013/04/05 05:44:01 idella4 Exp $
EAPI=5
@ -16,6 +16,7 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="test"
RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/sqlalchemy

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

Loading…
Cancel
Save