Sync with portage [Fri Oct 11 15:38:35 MSK 2013].

mhiretskiy
root 11 years ago
parent d7ab7de019
commit b1fe70491c

@ -1,6 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeakup/espeakup-0.71.ebuild,v 1.9 2011/05/16 23:25:49 flameeyes Exp $
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeakup/espeakup-0.71.ebuild,v 1.10 2013/10/10 22:39:11 williamh Exp $
EAPI=5
inherit linux-info
@ -13,8 +15,11 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="app-accessibility/espeak"
RDEPEND="${DEPEND}"
COMMON_DEPEND="|| (
app-accessibility/espeak[portaudio]
app-accessibility/espeak[pulseaudio] )"
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}"
CONFIG_CHECK="~SPEAKUP ~SPEAKUP_SYNTH_SOFT"
ERROR_SPEAKUP="CONFIG_SPEAKUP is not enabled in this kernel!"

@ -1,6 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeakup/espeakup-9999.ebuild,v 1.9 2011/06/25 13:54:08 williamh Exp $
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeakup/espeakup-9999.ebuild,v 1.10 2013/10/10 22:39:11 williamh Exp $
EAPI=5
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://github.com/williamh/espeakup.git"
@ -19,8 +21,11 @@ LICENSE="GPL-3"
SLOT="0"
IUSE=""
DEPEND="app-accessibility/espeak"
RDEPEND="${DEPEND}"
COMMON_DEPEND="|| (
app-accessibility/espeak[portaudio]
app-accessibility/espeak[pulseaudio] )"
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}"
CONFIG_CHECK="~SPEAKUP ~SPEAKUP_SYNTH_SOFT"
ERROR_SPEAKUP="CONFIG_SPEAKUP is not enabled in this kernel!"

@ -1,13 +1,12 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-9999.ebuild,v 1.13 2013/08/09 06:26:02 ulm Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-9999.ebuild,v 1.14 2013/10/10 14:05:54 ulm Exp $
EAPI=5
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/eselect.git"
EGIT_BOOTSTRAP="autogen.bash"
inherit git-2 bash-completion-r1 autotools
inherit git-r3 bash-completion-r1
DESCRIPTION="Gentoo's multi-purpose configuration and management tool"
HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Eselect"
@ -23,6 +22,8 @@ RDEPEND="sys-apps/sed
app-misc/realpath
)"
DEPEND="${RDEPEND}
>=sys-devel/autoconf-2.65
>=sys-devel/automake-1.12
doc? ( dev-python/docutils )"
RDEPEND="!app-admin/eselect-news
${RDEPEND}
@ -32,6 +33,11 @@ RDEPEND="!app-admin/eselect-news
PDEPEND="emacs? ( app-emacs/eselect-mode )
vim-syntax? ( app-vim/eselect-syntax )"
src_prepare() {
# bootstrap
./autogen.bash || die
}
src_compile() {
emake
use doc && emake html

@ -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-admin/hddtemp/hddtemp-0.3_beta15-r7.ebuild,v 1.2 2013/10/09 13:44:18 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r7.ebuild,v 1.3 2013/10/10 10:30:05 nimiux Exp $
inherit eutils autotools systemd
@ -13,7 +13,7 @@ SRC_URI="http://download.savannah.gnu.org/releases/hddtemp/${MY_P}.tar.bz2 mirro
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~ppc ~sparc ~x86"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~sparc ~x86"
IUSE="nls"
DEPEND=""

@ -1,3 +1,4 @@
DIST sudo-1.8.5p2.tar.gz 1746344 SHA256 c32ae2bc3faf83444c82ca75ccb10ad3684d8222e3535f164c4a4db7cdddf8cf SHA512 616967eea79f91cda2b0cd1d13ed453d20142521ecfca289432bdf5708ac0549c7873fd80170cc0481390e82f1e60fb0bffcfc7c6b70d5d721aa98d23361c5cb WHIRLPOOL ac0d2c040935c54947571a0d4671be70aaaf7a6f69cb097acd321718656d4c569b0db4191eaf943c6b642a1d641263429287241a236a0f2a0c9edf973710bf8b
DIST sudo-1.8.6p7.tar.gz 1858348 SHA256 301089edb22356f59d097f6abbe1303f03927a38691b02959d618546c2125036 SHA512 732bcbd53b77d329bbc77d3cd3644a595e938433053122fe3098385c0ad3a6a9cf4f4ab8709c7a79cad51dba77ffaa1be9ffde8e8834d3798822a1bd5b518d42 WHIRLPOOL 875984b44b571dc3765aab5ad8bd8859d0cd680e7da453109b5bee45aac336e3d0c05e1133ce0101a6dd2b9f19a26454d3e0b11c0edf32034f9fae04d3dfbb4d
DIST sudo-1.8.6p8.tar.gz 1858612 SHA256 c0baaa87f59153967b650a0dde2f7d4147d358fa15f3fdabb47e84d0282fe625 SHA512 9c9d297e8cba4ae74a1358b23da15beea4649684afa09b3c3486bd25454008b4c7cd543266f8abc22aac48a56912d7174ccfc137a69670e737d6c9939708cb80 WHIRLPOOL f19c882a2b3de4f41ee97b1f26ebe284782c82500dfc2f86edd262b3ec9f10a2fb3c8b20f26cd1587910677b169ed0260a9672db4dc7b1ea8d5d817235f6197c
DIST sudo-1.8.8.tar.gz 2117145 SHA256 9f911c1e9297fb8006deb52fa81197a8d06b9d54e70672f723c467ecae992fc9 SHA512 e56ea849c2e6470a3d97fc76bde6af145938cf2df4d17f3faef00368262d8e2dd5bcc7e3adf490e853e23466b15638000a527156bd694ce4980003d751c896d5 WHIRLPOOL 74fad850b4f370775f3c5611235b7f20837267f599ace4350f6498ce21cf12e94c1efb98017656106305398496c2f1ff992700fe5fbde4fcf47ca5210cddfdc6

@ -0,0 +1,191 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/sudo-1.8.8.ebuild,v 1.1 2013/10/10 18:49:58 chainsaw Exp $
EAPI=5
inherit eutils pam multilib libtool
MY_P=${P/_/}
MY_P=${MY_P/beta/b}
uri_prefix=
case ${P} in
*_beta*|*_rc*) uri_prefix=beta/ ;;
esac
DESCRIPTION="Allows users or groups to run commands as other users"
HOMEPAGE="http://www.sudo.ws/"
SRC_URI="http://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz"
# Basic license is ISC-style as-is, some files are released under
# 3-clause BSD license
LICENSE="ISC BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~sparc-solaris"
IUSE="ldap nls pam offensive selinux skey +sendmail"
DEPEND="pam? ( virtual/pam )
skey? ( >=sys-auth/skey-1.1.5-r1 )
ldap? (
>=net-nds/openldap-2.1.30-r1
dev-libs/cyrus-sasl
)
sys-libs/zlib"
RDEPEND="${DEPEND}
selinux? ( sec-policy/selinux-sudo )
ldap? ( dev-lang/perl )
pam? ( sys-auth/pambase )
>=app-misc/editor-wrapper-3
virtual/editor
sendmail? ( virtual/mta )"
DEPEND="${DEPEND}
sys-devel/bison"
S=${WORKDIR}/${MY_P}
REQUIRED_USE="pam? ( !skey ) skey? ( !pam )"
MAKEOPTS+=" SAMPLES="
src_prepare() {
elibtoolize
}
set_rootpath() {
# FIXME: secure_path is a compile time setting. using ROOTPATH
# is not perfect, env-update may invalidate this, but until it
# is available as a sudoers setting this will have to do.
einfo "Setting secure_path ..."
# first extract the default ROOTPATH from build env
ROOTPATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env; echo "${ROOTPATH}")
if [[ -z ${ROOTPATH} ]] ; then
ewarn " Failed to find ROOTPATH, please report this"
fi
# then remove duplicate path entries
cleanpath() {
local newpath thisp IFS=:
for thisp in $1 ; do
if [[ :${newpath}: != *:${thisp}:* ]] ; then
newpath+=:$thisp
else
einfo " Duplicate entry ${thisp} removed..."
fi
done
ROOTPATH=${newpath#:}
}
cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${ROOTPATH:+:${ROOTPATH}}
# finally, strip gcc paths #136027
rmpath() {
local e newpath thisp IFS=:
for thisp in ${ROOTPATH} ; do
for e ; do [[ $thisp == $e ]] && continue 2 ; done
newpath+=:$thisp
done
ROOTPATH=${newpath#:}
}
rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*'
einfo "... done"
}
src_configure() {
local ROOTPATH
set_rootpath
# audit: somebody got to explain me how I can test this before I
# enable it.. - Diego
# plugindir: autoconf code is crappy and does not delay evaluation
# until `make` time, so we have to use a full path here rather than
# basing off other values.
econf \
--enable-zlib=system \
--with-secure-path="${ROOTPATH}" \
--with-editor="${EPREFIX}"/usr/libexec/editor \
--with-env-editor \
$(use_with offensive insults) \
$(use_with offensive all-insults) \
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo) \
$(use_with ldap) \
$(use_enable nls) \
$(use_with pam) \
$(use_with skey) \
$(use_with selinux) \
$(use_with sendmail) \
--without-opie \
--without-linux-audit \
--with-timedir="${EPREFIX}"/var/db/sudo \
--with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo \
--docdir="${EPREFIX}"/usr/share/doc/${PF}
}
src_install() {
default
if use ldap ; then
dodoc README.LDAP doc/schema.OpenLDAP
dosbin plugins/sudoers/sudoers2ldif
cat <<-EOF > "${T}"/ldap.conf.sudo
# See ldap.conf(5) and README.LDAP for details
# This file should only be readable by root
# supported directives: host, port, ssl, ldap_version
# uri, binddn, bindpw, sudoers_base, sudoers_debug
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key
EOF
insinto /etc
doins "${T}"/ldap.conf.sudo
fperms 0440 /etc/ldap.conf.sudo
fi
pamd_mimic system-auth sudo auth account session
keepdir /var/db/sudo
fperms 0700 /var/db/sudo
}
pkg_postinst() {
if use ldap ; then
ewarn
ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration."
ewarn
if grep -qs '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf ; then
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly"
ewarn "configured in /etc/nsswitch.conf."
ewarn
ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:"
ewarn " sudoers: ldap files"
ewarn
fi
fi
if use prefix ; then
ewarn
ewarn "To use sudo, you need to change file ownership and permissions"
ewarn "with root privileges, as follows:"
ewarn
ewarn " # chown root:root ${EPREFIX}/usr/bin/sudo"
ewarn " # chown root:root ${EPREFIX}/usr/lib/sudo/sudoers.so"
ewarn " # chown root:root ${EPREFIX}/etc/sudoers"
ewarn " # chown root:root ${EPREFIX}/etc/sudoers.d"
ewarn " # chown root:root ${EPREFIX}/var/db/sudo"
ewarn " # chmod 4111 ${EPREFIX}/usr/bin/sudo"
ewarn
fi
elog "To use the -A (askpass) option, you need to install a compatible"
elog "password program from the following list. Starred packages will"
elog "automatically register for the use with sudo (but will not force"
elog "the -A option):"
elog ""
elog " [*] net-misc/ssh-askpass-fullscreen"
elog " net-misc/x11-ssh-askpass"
elog ""
elog "You can override the choice by setting the SUDO_ASKPASS environmnent"
elog "variable to the program you want to use."
}

@ -1,8 +1,8 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/lz4/lz4-9999.ebuild,v 1.3 2013/09/18 16:28:36 mgorny Exp $
# $Header: /var/cvsroot/gentoo-x86/app-arch/lz4/lz4-9999.ebuild,v 1.4 2013/10/10 21:34:03 zerochaos Exp $
EAPI=4
EAPI=5
inherit cmake-utils subversion
@ -29,6 +29,11 @@ src_prepare() {
mv "${S}/cmake/"* "${S}"
}
src_configure() {
local mycmakeargs=(-DBUILD_SHARED_LIBS=ON)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
@ -38,4 +43,6 @@ src_install() {
else
dosym /usr/bin/{lz4c32,lz4c}
fi
doheader lz4.h lz4hc.h xxhash.h
}

@ -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-backup/duplicity/duplicity-0.6.22.ebuild,v 1.1 2013/08/29 02:40:39 radhermit Exp $
# $Header: /var/cvsroot/gentoo-x86/app-backup/duplicity/duplicity-0.6.22.ebuild,v 1.2 2013/10/10 19:48:28 chainsaw Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
@ -13,7 +13,7 @@ SRC_URI="http://code.launchpad.net/${PN}/0.6-series/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
KEYWORDS="amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="s3"
DEPEND="

@ -1,14 +1,14 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/eselect-mode/eselect-mode-9999.ebuild,v 1.2 2013/08/09 06:18:25 ulm Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emacs/eselect-mode/eselect-mode-9999.ebuild,v 1.3 2013/10/10 14:10:09 ulm Exp $
EAPI=5
MY_PN="eselect"
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/eselect.git"
EGIT_SOURCEDIR="${WORKDIR}/${MY_PN}"
EGIT_CHECKOUT_DIR="${WORKDIR}/${MY_PN}"
inherit elisp git-2
inherit elisp git-r3
DESCRIPTION="Emacs major mode for editing eselect files"
HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Eselect"

@ -2,3 +2,5 @@ DIST libvirt-1.0.5.6.tar.gz 23998470 SHA256 171e2497d4d4109f4839f6f4b727b92f0253
DIST libvirt-1.1.2-2a32bbbf.tar.xz 8824 SHA256 38d49c3c5f28b809ccce011f23690181f0191a8f50ea2fce882f26637b29af58 SHA512 6fc13dd3766502a2dcb8dc452b8a69c89e1bf84fd800cadc407d6f927294e795814e42e6479d0bd228f457abdb89c7220b19d4c24e60a0c44ba4f1d5385034af WHIRLPOOL 1bcd0ba80eb603ccce5cfe3ac18e143327ecc098b640351bbc5e727f44b1963758a375718e71e33d3e80a5541633d816d8729a3ce431df8d139321b0af8b9d30
DIST libvirt-1.1.2-e89bdf01.tar.xz 1776 SHA256 ff85291f594221a6fbf8ad39d577bdec776f4c22081c7904c4463f8bed50ce5b SHA512 357b03c7e1b4a4b3e0a862d92fd81b800c58cd702c4c88228397ef06b1125f1b565b28821a3a62d93a01338ad70987509836d677051718c1174dc82078ae6855 WHIRLPOOL e3e8dec57def09e9f1aed29571befcb73095ec0b61730361556e745a5732f1744d58e448db768aef82bd6033cd40471f7c7c7a2432623f6e3ee921fca1e2f571
DIST libvirt-1.1.2.tar.gz 26069691 SHA256 16648af54d3e162f5cc5445d970ec29a0bd55b1dbcb568a05533c4c2f25965e3 SHA512 9244640221393abe3c4e48a5a5b87838af4f20ae0664949a5c116aa1dd4568818c41b52077274ade907310fd22a627bde69df1cd53c6c398d10f98f83c217b2c WHIRLPOOL 7fcf575016f26a3570fafe9fc22edc0bd35d01dfeb93a3c90d5c90770677cd07bafb3057de0857961f082c174bd42fd9a88ecb049c42a7388557ab7f51737c86
DIST libvirt-1.1.3-e3fb8465.tar.xz 9176 SHA256 868819430f7d1af65498c5212b8a9ac17b0af2c05ca2aba9d84b2ea680ffc0fe SHA512 61567d47165d788ebb485ca862b1d08bd507aca7d06376742fa44097498a9c684d2536f9573b09ce1fd8bd25ce36ed189359eefb4b01e5e7c50e3636df0bf62f WHIRLPOOL ebec68ce6b20528c040eec7f3f2a1ec38252d24e939fa4f362577a70d5cec88f51eac04379da5470e09b79bcf4d3ebbecc95f4d5a4285b37559f6c0a3ad5a63e
DIST libvirt-1.1.3.tar.gz 26578000 SHA256 af83e65b4b26520662ddd183c1358be0d05138dba3e66745419f06441eff5a7c SHA512 895f8ccf1fdf7a36918e4d460b44b1bf67d06842e39142c89c620f6191e299b53c50f80ab47677d7cba6bd570177d79b5ee0d7d2a11472991590389db51fab9d WHIRLPOOL c046f1182976bbd6bf65b460b2017996e63f67b5cce44f0af859d90f892278d0236192e6e7172e16c85183da6e258a003d9c8757af2079ab4d77de9ca300d986

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

@ -1,2 +1,3 @@
DIST lynis-1.3.0.tar.gz 119797 SHA256 fe265965eb1ce8fac352e0bddea1d5ec6508c319bf88a5f63c2edecf2af6de54 SHA512 a2cf40fbc245e9ed89740026374f3b61110cc1e0282899284699a2271cb4996f30d0a91562d3e2eaf5eb165ab89d0860127ceeb5767aec1d5538b879657a76a8 WHIRLPOOL c19aaaf2f9ccd8141a86b1eeecf129ab83006b50ed428eb1801b58811b441f3c5cfea37d1333cf58fd372b3f40026735bdc2e44ace3de399a27e2e0dd8300fa3
DIST lynis-1.3.1.tar.gz 131573 SHA256 10532b626e8182605e3ca9215d856a20145f776c30c729387f374dd753230a15 SHA512 8f4c9d0e829ad885d112506606674418dd57085b9e05769d66e07a3f6ca6f6a6fbd066950bc2315a629f7adaff5b2cff89d58ea7aa4df30d090f7ac92012c18c WHIRLPOOL f6bf49e1b327235fe4a3ed21232adbb741d88033c6626171810800f62f525e05c0ebcd6df939a2701ee78e3d4ab5dbe9af971d81d75c8d01c458c898b77a6fdb
DIST lynis-1.3.2.tar.gz 133009 SHA256 0f6e0b893c026f7910bc0db7ddbed222e2b0e6cb5463b106ef53e5ceb7b3cb3f SHA512 0704494a3bf3fe80435b66129ec5fed23383223d583c9685997f8d5fcb692db3d724320adcb5534c9b79fad697b6119faa4bba79e119623acc2862cc4c588411 WHIRLPOOL 66ed52818ec8f9ee5668bcd91714f91ea73ea1f2b539768207fa58d52554e7a214a74d0a7a077a335b4dc5494f70793d9bf6ba7163de5f0bef534289af568f0d

@ -0,0 +1,40 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-forensics/lynis/lynis-1.3.2.ebuild,v 1.1 2013/10/10 18:34:27 idl0r Exp $
EAPI="5"
DESCRIPTION="Security and system auditing tool"
HOMEPAGE="http://www.rootkit.nl/projects/lynis.html"
SRC_URI="http://www.rootkit.nl/files/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="app-shells/bash"
src_install() {
insinto /usr/share/${PN}
doins -r db/ include/ plugins/ || die "failed to install lynis base files"
dosbin lynis
insinto /etc/${PN}
doins default.prf
doman lynis.8
dodoc CHANGELOG FAQ README dev/TODO
# Remove the old one during the next stabilize progress
exeinto /etc/cron.daily
newexe "${FILESDIR}"/lynis.cron-new lynis
}
pkg_postinst() {
einfo
einfo "A cron script has been installed to ${ROOT}etc/cron.daily/lynis."
einfo
}

@ -1,3 +1,4 @@
DIST gnumeric-1.12.0-annotation-syntax.patch.xz 13408 SHA256 8cc904ced03d1cdb894afa896c7fc8be22bd3cf16f0c8427c965eb813a406a48 SHA512 b1062a75750630e4e0cb479a994db2c98aae4668355a7756bd6ca9f64407571d73af0fd428453e373d4d0d9f77d842869cbe4f7d5ba0054103cd8add0e09d5b6 WHIRLPOOL aec5b51c9af1e6b3806c7f5f22930c41d42ed0dfbcb66407a18ded9cf565b78daae76d2b8a5952ce4f7379b11c9bad68a02982f7248a62d0c5a87e8ae60a71f4
DIST gnumeric-1.12.0.tar.xz 15631708 SHA256 037b53d909e5d1454b2afda8c4fb1e7838e260343e36d4e36245f4a5d0e04111 SHA512 5bcf5e04d3c871d755a560207db2bce9d81bbe24f9c330a8a0555a386c38f505997c0a24a44afe0ab28539f03a921ce13f82ea8c6e828e17d998ce4951639223 WHIRLPOOL 2de92f2fecc9389e92a1e50f3c37361e0c06e792d0e75ca17beb1a5c6a9b344bc14d3eeef561ecdda5a3e6c60f4fe73f6fb2fd22e343b6edf842f7a81d64a825
DIST gnumeric-1.12.7.tar.xz 15529492 SHA256 5de9cca87efb2ea190bcddf57bd83a34e7f9580f5b7c92c6757707d1164748ef SHA512 02e74d1dcca043b65241f81eafc9ceb99944b95561aa4db353a9e219d76a2ee25313026fbe946c034a65c6868918004990aae4997438e3e0f2f97228166e5e43 WHIRLPOOL 00e6879f18da8267c339ff8ad49260e930e9c97f365eb0c30701d440faa4952a17b0e373fee514b7834c41cae3aab3e2f4aace650a25d52be9ce48e8caca5711
DIST gnumeric-1.12.8.tar.xz 15545900 SHA256 02688fb6c32c28db2eb4e9a8e012cf1386f4f3a18b4c94f5ecdd13342521ec76 SHA512 be590dd515c14cd1a7b78f2a36acac271f24570d052c5dbaa6a35cec4c5c2603f632ffdc511455e1bb0f1d0451d92445fbd2dfb09cef26bfad0b088f0ff787d1 WHIRLPOOL b730e9c1f44832e8a9203a1dcd4e06e56669de746dcb324b5fbd0c0ffbb595af4fed204355e14afe7ac725c066d8d41f78e49549c903187091d4c286595ddf2c

@ -0,0 +1,64 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/gnumeric/gnumeric-1.12.8.ebuild,v 1.1 2013/10/10 19:03:31 pacho Exp $
EAPI="5"
GCONF_DEBUG="no"
PYTHON_COMPAT=( python{2_6,2_7} )
inherit eutils gnome2 flag-o-matic python-single-r1
DESCRIPTION="The GNOME Spreadsheet"
HOMEPAGE="http://projects.gnome.org/gnumeric/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="+introspection libgda perl python"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
# Missing gnome-extra/libgnomedb required version in tree
# but its upstream is dead and will be dropped soon.
# lots of missing files, wait for next release
# also fails tests due to 80-bit long story
RESTRICT="test"
RDEPEND="
app-arch/bzip2
sys-libs/zlib
>=dev-libs/glib-2.28:2
>=gnome-extra/libgsf-1.14.24:=
>=x11-libs/goffice-0.10.3:0.10
>=dev-libs/libxml2-2.4.12:2
>=x11-libs/pango-1.24.0:=
>=x11-libs/gtk+-3.2:3
x11-libs/cairo:=[svg]
introspection? ( >=dev-libs/gobject-introspection-1:= )
perl? ( dev-lang/perl )
python? ( ${PYTHON_DEPS}
>=dev-python/pygobject-3:3[${PYTHON_USEDEP}] )
libgda? ( gnome-extra/libgda:5[gtk] )
"
DEPEND="${RDEPEND}
app-text/scrollkeeper
>=dev-util/intltool-0.35.0
virtual/pkgconfig
"
pkg_setup() {
use python && python-single-r1_pkg_setup
}
src_configure() {
gnome2_src_configure \
--disable-static \
--with-zlib \
$(use_with libgda gda) \
$(use_enable introspection) \
$(use_with perl) \
$(use_with python)
}

@ -1,2 +1,3 @@
DIST airline-0.4.tar.gz 28561 SHA256 7adc9356662f229fefeb799fc511899a5dc9fe8d4e3b50f1f3682913e1fb6012 SHA512 4aa2d247746911ad352a83ea46275235f7c45d8cfb9f7c5d1138a7135045fb00c88cda48d6bffb2890c725564416454642f3637786a8f005217a271b8d7d518a WHIRLPOOL e0bfad3fbb1645e55e70fbcec67f2a287fb14a80d7f37e3f3e53284bc9c72c4d92bd08c7ce30050de8363fc6a5808e3e293f619ecfbd4ef536221f65cbded422
DIST airline-0.5.tar.gz 38670 SHA256 ab00124f8853de6a0fd37073055e4dced2d6f532d263f7aae5c982bb55692e7e SHA512 870d66e30aefd96621ce1f756b053ee45eda12ce2d96640454dc4e1d0bfe70b4f679f4dcebc4f85b86cc35e9c0202c74156867dd305c413620d4a6c76e5c704e WHIRLPOOL 21aa436f0aa516fb26760e44ef3b10b640e5a9cc3ab11358a275a998fd5d9c713fa5798412bd1c3739648568b9ee905c391a2b6de6cab24b4e38afaca69426f8
DIST airline-0.6.tar.gz 43866 SHA256 47fc3c84331e977ef01beaa5e13045e314c9e6d0868d2f4725daa3b3139ed0b6 SHA512 20fb94c2e5d0f67a6fedf87d80f39d35a5cba6c3f88a05e4803c0602d2dd95f01b9b120e4fce45d1fcda065f8a8d983f980415b6d262d1cf44c747156258a424 WHIRLPOOL 4a71c418e2d741ccf1ef5a9d5ece93a94de6982d29228b3a31e04653d61ff1ebe3d7ab257484757e1f1a2bf59c547bd43ed3310025e517988aad858fe933c208

@ -0,0 +1,27 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-vim/airline/airline-0.6.ebuild,v 1.1 2013/10/10 23:24:56 radhermit Exp $
EAPI=5
inherit vim-plugin
if [[ ${PV} != 9999* ]] ; then
MY_PN=vim-${PN}
MY_P=${MY_PN}-${PV}
SRC_URI="https://github.com/bling/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S=${WORKDIR}/${MY_P}
else
inherit git-r3
EGIT_REPO_URI="git://github.com/bling/vim-airline.git"
fi
DESCRIPTION="vim plugin: lean & mean statusline for vim that's light as air"
HOMEPAGE="https://github.com/bling/vim-airline/ http://www.vim.org/scripts/script.php?script_id=4661"
LICENSE="MIT"
VIM_PLUGIN_HELPFILES="${PN}.txt"
src_prepare() {
# remove unwanted files
rm -rf t Gemfile Rakefile LICENSE README*
}

@ -1,2 +1,3 @@
DIST easy-align-2.5.1.tar.gz 13019 SHA256 8a441063b8926c7b5d29027624af61a5a1e6a6759fa6752e1429a0ded961ab14 SHA512 d8ac03f8fbd40eef7dc2c31e5460db2c540b8ea766146e89f9a6cf97e0fafece8dec411a8139e64bf8921e453c937a0e02c6935a22d89088da547b03b4baacdb WHIRLPOOL 7e4c28bf3f6e7f94199e9da9a5052766d8311f2e9a1d51fe09b3f541ce8c4ff0935daddde0eee90dfcce1cf9683a454d1794e708e2489f8eb94acfa5df3d5f15
DIST easy-align-2.6.0.tar.gz 13845 SHA256 331229a2ea13de6c51fc38899efec4228394a2924816c35194f7c650ff7b0c70 SHA512 b04e9eed5c5ad5c448c45c2567ba82dfd669cf009d2b3105b5bac4d26637e1d6e5a0c071dde22dfbb8a5ba2f2085b4386055384ec63f1042d1d0171dabf3bb0a WHIRLPOOL e8e3f13b5f04fcd4cf60a1e2d7a65e6a26694ecd9f111f43f7a6801fd80eb8cf49d7aa71e1f8f2c37ba023a05fee05c3e6780b046234bee0df1a09dbd17c5376
DIST easy-align-2.6.1.tar.gz 14066 SHA256 d83693510039388b84fc9fccb6931baaa7b41bf41ff71ac84deb70873e340135 SHA512 6a5127b3f160d7399d0f4822c1bf4743e704ed5d60ff453291754f53c23cc19aa006cc65b84be15d5693244a26ee5f08755da004aa89ec360f0aa84c1566ecb8 WHIRLPOOL 919c984a55fdc97b0a4225ce7cd313bec886068e6742b3a5303aeb08635f2baf0f916cce128dbeb0eb490dd08e46aab03c37ca92161e93992ca68878b0856cdf

@ -0,0 +1,22 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-vim/easy-align/easy-align-2.6.1.ebuild,v 1.1 2013/10/10 23:26:53 radhermit Exp $
EAPI=5
inherit vim-plugin
MY_PN="vim-${PN}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="vim plugin: a simple alignment plugin"
HOMEPAGE="https://github.com/junegunn/vim-easy-align http://www.vim.org/scripts/script.php?script_id=4520"
SRC_URI="https://github.com/junegunn/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86"
VIM_PLUGIN_HELPFILES="${PN}"
S=${WORKDIR}/${MY_PN}-${PV}
src_prepare() {
rmdir test || die
}

@ -1,8 +1,13 @@
DIST postgresql-8.4.17.tar.bz2 14795028 SHA256 dc884c34ec3535d9f8b579155948a703def0574aca47292b97b82a8189cd0436 SHA512 9b8de2373d196847610329c33b21229245690f1587ca94b5c6fa770a7ace9fb29811e858debe1656fcee7b0e229d989b2786c12dfad01266501c5dbf1503d7ac WHIRLPOOL 899e787e6a3c4f4012946e8ec230ed8c049fcd1cb02572ea4f6d2e286da0f6b99a8bf732c6c7d7fe85a8a778e7e97f576b47821c61fdcdaa67dc87093c69b54f
DIST postgresql-8.4.18.tar.bz2 14819294 SHA256 c08e5e93dac9d484019a07ff91db9f224350b90ef4be1543e33282cc20daf872 SHA512 f4c51d9286b3a91e613dfaf4654cf98455de51470900c0da365536d96132eec35e26ea673fd898e594e5994db2ac1cdb2ba8b86ef24550fa8ff6c65e0b9800d8 WHIRLPOOL 743e9b18b101dd15020184edd53684f3a28189d2a73cb44258ab56c77597785cb33a757839848769f3a3907932f709db26ed91e2bd4eb7fecbdff5c10b84e763
DIST postgresql-9.0.13.tar.bz2 15139873 SHA256 51aea4d099defaee307ec3b9900837446931d1aa0c6717070fa25ed033af9977 SHA512 abd29176c88485444b3b324191533b8f243624a6e391c654833ae5fe90fab93b55d04f778a3837c4b9a538264474458fa6bc2166800d3546fec0196965cf38e2 WHIRLPOOL 88a3a7736d96b259772eb4e55b472f0441e71aadfedc004cbe2fd2ae7e579a0f71e29485fdb1158c973865fb51017093f84a9629e2c3c7f05e35daf6f34f67a2
DIST postgresql-9.0.14.tar.bz2 15154015 SHA256 de42b669cb891fc9b925406e71d1669ed5c856aae6d552ac6f14bf6dec0b79f1 SHA512 a84a6b775d0b71356d40aa26bb4e42eb8c323d55eeeb8f25c365bd68acbdccd7f73d2d8b0efdac8ddc75104f92cb120939a9c0b3e6c8bb4d4e1f366fe72e0b0d WHIRLPOOL a51405499feb002abe84154f34323d2106d41d5a07fbee50dccaa19faac0912af1aea4ce47365dfb0e12c03b0f42efd4ab3bba1cbb8303d267ca8e24d0368e16
DIST postgresql-9.1.10.tar.bz2 15849107 SHA256 8329bcd160fcb76ee8c79676f6c979a94069ca5c108449fbb365e1ea98f92b77 SHA512 cbd0c4416d552f282248bcd3f53843d28613348a976bd684f88baaf6e1d580b3c2119a0f52fbde2aff6b578ae21bc38b50accae7b9a1c583eddcd05addd8eb25 WHIRLPOOL 12a02c999c8ddb342447c7a971b14b6d114e2babec4eea87a1b880fda31d42a22af818f8dd9b99e450ef3df247660f5d081e77fa06b1cf22dd6cf0eb6bbcdbea
DIST postgresql-9.1.9.tar.bz2 15815421 SHA256 28a533e181009308722e8b3c51f1ea7224ab910c380ac1a86f07118667602dd8 SHA512 f35c11afba347ebc818f058986af9dfd9af573937bb2c3160f71c7ef84ae3471eab2aa998975fb44a63a09e5a487f11624375e08c3c380bf1e0ba463b82d81bf WHIRLPOOL 7bbef51db715f55a9353867f94512e2351ea1d0b7d2b8777664afadae85c8ddfc4b5c39441ad6dfc09ea79094d00f534957917efd8a9e887564b42316411f357
DIST postgresql-9.2.4.tar.bz2 16395184 SHA256 d97dd918a88a4449225998f46aafa85216a3f89163a3411830d6890507ffae93 SHA512 1f347a8e75f4c350cc1ee2e0406b1b696f8e82cd259bb17404113874516fdf4c395517962a5320d5c386994cae7ebe7dbdbbeb7ae79c76d6d506ce5bda662c3e WHIRLPOOL a99d5c31fe02ddc486de1541dff515e1ac3c071ea3a8dcb226505c7d92a6ac585b4617d53101045dba05d8f4996e92c15e3f9006b15c1cca95d0bd8b625c3302
DIST postgresql-9.2.5.tar.bz2 16485711 SHA256 22c1edfd6a404bb15fba655863e94f09a10716ded1910a8bc98ee85f413007a4 SHA512 2a31db9e0acdc79ce5d1378d4622333820012005c727af296e434b66c8ac5d6be3f66efd548877cdd299b6e73b36755ed06ed20286ab636cefb8effb21b7065b WHIRLPOOL c9d74e679e3ad99d7d14f5910c0805123a5e743b55697627dced15b6d449e6f34ae42948f5967e3ab333e14f10cc1b5e17cefd3c0595b8941334dfd0d11c19f2
DIST postgresql-9.3.0.tar.bz2 16871327 SHA256 784e5db7d8fd69b08ddb125c4452211e04b089516359a5cf72d292cade7c728e SHA512 d38315eb9cd81fc936556b504db439e8f6c37b489e261a1fdb070803780954548f6b9b612653e46f37676a9e24871a2fca50e3db01b24f193bbdca7e4c193828 WHIRLPOOL 57ad61cd65ce7a2959a7ccc45bc7818199c718d2615489c4f01e687b35a4568b94ed1bb6490f98fccf2038b6c87f325e6be0fcb357227ae832aacc169c0619dc
DIST postgresql-9.3.1.tar.bz2 16877807 SHA256 8ea4a7a92a6f5a79359b02e683ace335c5eb45dffe7f8a681a9ce82470a8a0b8 SHA512 4dd167c2e2e793a52b361d82c36e88214283313f29ed1341fb343f89e4816504bacedf844b368593c3e5eee0e7aa7edce6f3aa55c8fe1f7c252d9b1b11c3e3fc WHIRLPOOL aa4722f6f7523e43e8a4c18216d91161acd8b8d77766a6f6415b0480f311ed0a10881fb64c1cec1c8f569d4aa0f911d3f95e1cfa776d5a25d2dbf4ce8a3c631f
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

@ -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-8.4.18.ebuild,v 1.1 2013/10/11 08:57:32 patrick Exp $
EAPI="5"
PYTHON_COMPAT=( python2_{5,6,7} )
WANT_AUTOMAKE="none"
inherit autotools eutils multilib prefix python-single-r1 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"
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.4-r3.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 python 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.2.0
sys-apps/less
virtual/libintl
kerberos? ( virtual/krb5 )
ldap? ( net-nds/openldap )
pam? ( virtual/pam )
python? ( ${PYTHON_DEPS} )
readline? ( >=sys-libs/readline-4.1 )
ssl? ( >=dev-libs/openssl-0.9.6-r1 )
zlib? ( >=sys-libs/zlib-1.1.3 )
"
DEPEND="${RDEPEND}
!!<sys-apps/sandbox-2.0
>=sys-devel/bison-1.875
sys-devel/flex
nls? ( sys-devel/gettext )
"
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
pkg_setup() {
use python && python-single-r1_pkg_setup
}
src_prepare() {
epatch "${WORKDIR}/autoconf.patch" "${WORKDIR}/base.patch" \
"${WORKDIR}/bool.patch" "${WORKDIR}/darwin.patch" \
"${WORKDIR}/SuperH.patch"
eprefixify src/include/pg_config_manual.h
# to avoid collision - it only should be installed by server
rm "${S}/src/backend/nls.mk"
# because psql/help.c includes the file
ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" || die
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() {
export LDFLAGS_SL="${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 \
$(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 python) \
$(use_with readline) \
$(use_with ssl openssl) \
$(use_enable threads thread-safety) \
$(use_with zlib)
}
src_compile() {
emake
cd "${S}/contrib"
emake
}
src_install() {
emake DESTDIR="${D}" install
insinto /usr/include/postgresql-${SLOT}/postmaster
doins "${S}"/src/include/postmaster/*.h
rm -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/{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,168 @@
# 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.14.ebuild,v 1.1 2013/10/11 08:57:32 patrick Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_{5,6,7},3_{1,2,3}} )
WANT_AUTOMAKE="none"
inherit autotools eutils flag-o-matic multilib prefix python-single-r1 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 python 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
sys-apps/less
virtual/libintl
kerberos? ( virtual/krb5 )
ldap? ( net-nds/openldap )
pam? ( virtual/pam )
python? ( ${PYTHON_DEPS} )
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} )"
pkg_setup() {
use python && python-single-r1_pkg_setup
}
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 \
$(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 python) \
$(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,171 @@
# 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.10.ebuild,v 1.1 2013/10/11 08:57:32 patrick Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_{5,6,7},3_{1,2,3}} )
WANT_AUTOMAKE="none"
inherit autotools eutils flag-o-matic multilib prefix python-single-r1 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 python 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.2.0
sys-apps/less
virtual/libintl
kerberos? ( virtual/krb5 )
ldap? ( net-nds/openldap )
pam? ( virtual/pam )
python? ( ${PYTHON_DEPS} )
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} )"
pkg_setup() {
use python && python-single-r1_pkg_setup
}
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 \
$(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 python) \
$(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,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.2.5.ebuild,v 1.1 2013/10/11 08:57:32 patrick Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_{5,6,7},3_{1,2,3}} )
WANT_AUTOMAKE="none"
inherit autotools eutils flag-o-matic multilib prefix python-single-r1 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}"
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 python 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.2.0
sys-apps/less
virtual/libintl
kerberos? ( virtual/krb5 )
ldap? ( net-nds/openldap )
pam? ( virtual/pam )
python? ( ${PYTHON_DEPS} )
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} )"
pkg_setup() {
use python && python-single-r1_pkg_setup
}
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 \
$(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 python) \
$(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
}

@ -0,0 +1,168 @@
# 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.3.1.ebuild,v 1.1 2013/10/11 08:57:32 patrick Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_{5,6,7},3_{1,2,3}} )
WANT_AUTOMAKE="none"
inherit autotools eutils flag-o-matic multilib prefix python-single-r1 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}"
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}-r1.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 python 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.2.0
sys-apps/less
virtual/libintl
kerberos? ( virtual/krb5 )
ldap? ( net-nds/openldap )
pam? ( virtual/pam )
python? ( ${PYTHON_DEPS} )
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} )"
pkg_setup() {
use python && python-single-r1_pkg_setup
}
src_prepare() {
epatch "${WORKDIR}/autoconf.patch" \
"${WORKDIR}/base.patch" \
"${WORKDIR}/bool.patch" \
"${WORKDIR}/run-dir.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 \
$(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 python) \
$(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,5 +1,10 @@
DIST postgresql-8.4.17.tar.bz2 14795028 SHA256 dc884c34ec3535d9f8b579155948a703def0574aca47292b97b82a8189cd0436 SHA512 9b8de2373d196847610329c33b21229245690f1587ca94b5c6fa770a7ace9fb29811e858debe1656fcee7b0e229d989b2786c12dfad01266501c5dbf1503d7ac WHIRLPOOL 899e787e6a3c4f4012946e8ec230ed8c049fcd1cb02572ea4f6d2e286da0f6b99a8bf732c6c7d7fe85a8a778e7e97f576b47821c61fdcdaa67dc87093c69b54f
DIST postgresql-8.4.18.tar.bz2 14819294 SHA256 c08e5e93dac9d484019a07ff91db9f224350b90ef4be1543e33282cc20daf872 SHA512 f4c51d9286b3a91e613dfaf4654cf98455de51470900c0da365536d96132eec35e26ea673fd898e594e5994db2ac1cdb2ba8b86ef24550fa8ff6c65e0b9800d8 WHIRLPOOL 743e9b18b101dd15020184edd53684f3a28189d2a73cb44258ab56c77597785cb33a757839848769f3a3907932f709db26ed91e2bd4eb7fecbdff5c10b84e763
DIST postgresql-9.0.13.tar.bz2 15139873 SHA256 51aea4d099defaee307ec3b9900837446931d1aa0c6717070fa25ed033af9977 SHA512 abd29176c88485444b3b324191533b8f243624a6e391c654833ae5fe90fab93b55d04f778a3837c4b9a538264474458fa6bc2166800d3546fec0196965cf38e2 WHIRLPOOL 88a3a7736d96b259772eb4e55b472f0441e71aadfedc004cbe2fd2ae7e579a0f71e29485fdb1158c973865fb51017093f84a9629e2c3c7f05e35daf6f34f67a2
DIST postgresql-9.0.14.tar.bz2 15154015 SHA256 de42b669cb891fc9b925406e71d1669ed5c856aae6d552ac6f14bf6dec0b79f1 SHA512 a84a6b775d0b71356d40aa26bb4e42eb8c323d55eeeb8f25c365bd68acbdccd7f73d2d8b0efdac8ddc75104f92cb120939a9c0b3e6c8bb4d4e1f366fe72e0b0d WHIRLPOOL a51405499feb002abe84154f34323d2106d41d5a07fbee50dccaa19faac0912af1aea4ce47365dfb0e12c03b0f42efd4ab3bba1cbb8303d267ca8e24d0368e16
DIST postgresql-9.1.10.tar.bz2 15849107 SHA256 8329bcd160fcb76ee8c79676f6c979a94069ca5c108449fbb365e1ea98f92b77 SHA512 cbd0c4416d552f282248bcd3f53843d28613348a976bd684f88baaf6e1d580b3c2119a0f52fbde2aff6b578ae21bc38b50accae7b9a1c583eddcd05addd8eb25 WHIRLPOOL 12a02c999c8ddb342447c7a971b14b6d114e2babec4eea87a1b880fda31d42a22af818f8dd9b99e450ef3df247660f5d081e77fa06b1cf22dd6cf0eb6bbcdbea
DIST postgresql-9.1.9.tar.bz2 15815421 SHA256 28a533e181009308722e8b3c51f1ea7224ab910c380ac1a86f07118667602dd8 SHA512 f35c11afba347ebc818f058986af9dfd9af573937bb2c3160f71c7ef84ae3471eab2aa998975fb44a63a09e5a487f11624375e08c3c380bf1e0ba463b82d81bf WHIRLPOOL 7bbef51db715f55a9353867f94512e2351ea1d0b7d2b8777664afadae85c8ddfc4b5c39441ad6dfc09ea79094d00f534957917efd8a9e887564b42316411f357
DIST postgresql-9.2.4.tar.bz2 16395184 SHA256 d97dd918a88a4449225998f46aafa85216a3f89163a3411830d6890507ffae93 SHA512 1f347a8e75f4c350cc1ee2e0406b1b696f8e82cd259bb17404113874516fdf4c395517962a5320d5c386994cae7ebe7dbdbbeb7ae79c76d6d506ce5bda662c3e WHIRLPOOL a99d5c31fe02ddc486de1541dff515e1ac3c071ea3a8dcb226505c7d92a6ac585b4617d53101045dba05d8f4996e92c15e3f9006b15c1cca95d0bd8b625c3302
DIST postgresql-9.2.5.tar.bz2 16485711 SHA256 22c1edfd6a404bb15fba655863e94f09a10716ded1910a8bc98ee85f413007a4 SHA512 2a31db9e0acdc79ce5d1378d4622333820012005c727af296e434b66c8ac5d6be3f66efd548877cdd299b6e73b36755ed06ed20286ab636cefb8effb21b7065b WHIRLPOOL c9d74e679e3ad99d7d14f5910c0805123a5e743b55697627dced15b6d449e6f34ae42948f5967e3ab333e14f10cc1b5e17cefd3c0595b8941334dfd0d11c19f2
DIST postgresql-9.3.0.tar.bz2 16871327 SHA256 784e5db7d8fd69b08ddb125c4452211e04b089516359a5cf72d292cade7c728e SHA512 d38315eb9cd81fc936556b504db439e8f6c37b489e261a1fdb070803780954548f6b9b612653e46f37676a9e24871a2fca50e3db01b24f193bbdca7e4c193828 WHIRLPOOL 57ad61cd65ce7a2959a7ccc45bc7818199c718d2615489c4f01e687b35a4568b94ed1bb6490f98fccf2038b6c87f325e6be0fcb357227ae832aacc169c0619dc
DIST postgresql-9.3.1.tar.bz2 16877807 SHA256 8ea4a7a92a6f5a79359b02e683ace335c5eb45dffe7f8a681a9ce82470a8a0b8 SHA512 4dd167c2e2e793a52b361d82c36e88214283313f29ed1341fb343f89e4816504bacedf844b368593c3e5eee0e7aa7edce6f3aa55c8fe1f7c252d9b1b11c3e3fc WHIRLPOOL aa4722f6f7523e43e8a4c18216d91161acd8b8d77766a6f6415b0480f311ed0a10881fb64c1cec1c8f569d4aa0f911d3f95e1cfa776d5a25d2dbf4ce8a3c631f

@ -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-8.4.18.ebuild,v 1.1 2013/10/11 08:58:21 patrick Exp $
EAPI="4"
inherit versionator
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
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"
dodir ${mypath}/html
tar -zxf "postgres.tar.gz" -C "${ED}${mypath}/html" || die
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.0.14.ebuild,v 1.1 2013/10/11 08:58:21 patrick 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.10.ebuild,v 1.1 2013/10/11 08:58:21 patrick 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.5.ebuild,v 1.1 2013/10/11 08:58:21 patrick 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"
}

@ -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.3.1.ebuild,v 1.1 2013/10/11 08:58:21 patrick 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,8 +1,13 @@
DIST postgresql-8.4.17.tar.bz2 14795028 SHA256 dc884c34ec3535d9f8b579155948a703def0574aca47292b97b82a8189cd0436 SHA512 9b8de2373d196847610329c33b21229245690f1587ca94b5c6fa770a7ace9fb29811e858debe1656fcee7b0e229d989b2786c12dfad01266501c5dbf1503d7ac WHIRLPOOL 899e787e6a3c4f4012946e8ec230ed8c049fcd1cb02572ea4f6d2e286da0f6b99a8bf732c6c7d7fe85a8a778e7e97f576b47821c61fdcdaa67dc87093c69b54f
DIST postgresql-8.4.18.tar.bz2 14819294 SHA256 c08e5e93dac9d484019a07ff91db9f224350b90ef4be1543e33282cc20daf872 SHA512 f4c51d9286b3a91e613dfaf4654cf98455de51470900c0da365536d96132eec35e26ea673fd898e594e5994db2ac1cdb2ba8b86ef24550fa8ff6c65e0b9800d8 WHIRLPOOL 743e9b18b101dd15020184edd53684f3a28189d2a73cb44258ab56c77597785cb33a757839848769f3a3907932f709db26ed91e2bd4eb7fecbdff5c10b84e763
DIST postgresql-9.0.13.tar.bz2 15139873 SHA256 51aea4d099defaee307ec3b9900837446931d1aa0c6717070fa25ed033af9977 SHA512 abd29176c88485444b3b324191533b8f243624a6e391c654833ae5fe90fab93b55d04f778a3837c4b9a538264474458fa6bc2166800d3546fec0196965cf38e2 WHIRLPOOL 88a3a7736d96b259772eb4e55b472f0441e71aadfedc004cbe2fd2ae7e579a0f71e29485fdb1158c973865fb51017093f84a9629e2c3c7f05e35daf6f34f67a2
DIST postgresql-9.0.14.tar.bz2 15154015 SHA256 de42b669cb891fc9b925406e71d1669ed5c856aae6d552ac6f14bf6dec0b79f1 SHA512 a84a6b775d0b71356d40aa26bb4e42eb8c323d55eeeb8f25c365bd68acbdccd7f73d2d8b0efdac8ddc75104f92cb120939a9c0b3e6c8bb4d4e1f366fe72e0b0d WHIRLPOOL a51405499feb002abe84154f34323d2106d41d5a07fbee50dccaa19faac0912af1aea4ce47365dfb0e12c03b0f42efd4ab3bba1cbb8303d267ca8e24d0368e16
DIST postgresql-9.1.10.tar.bz2 15849107 SHA256 8329bcd160fcb76ee8c79676f6c979a94069ca5c108449fbb365e1ea98f92b77 SHA512 cbd0c4416d552f282248bcd3f53843d28613348a976bd684f88baaf6e1d580b3c2119a0f52fbde2aff6b578ae21bc38b50accae7b9a1c583eddcd05addd8eb25 WHIRLPOOL 12a02c999c8ddb342447c7a971b14b6d114e2babec4eea87a1b880fda31d42a22af818f8dd9b99e450ef3df247660f5d081e77fa06b1cf22dd6cf0eb6bbcdbea
DIST postgresql-9.1.9.tar.bz2 15815421 SHA256 28a533e181009308722e8b3c51f1ea7224ab910c380ac1a86f07118667602dd8 SHA512 f35c11afba347ebc818f058986af9dfd9af573937bb2c3160f71c7ef84ae3471eab2aa998975fb44a63a09e5a487f11624375e08c3c380bf1e0ba463b82d81bf WHIRLPOOL 7bbef51db715f55a9353867f94512e2351ea1d0b7d2b8777664afadae85c8ddfc4b5c39441ad6dfc09ea79094d00f534957917efd8a9e887564b42316411f357
DIST postgresql-9.2.4.tar.bz2 16395184 SHA256 d97dd918a88a4449225998f46aafa85216a3f89163a3411830d6890507ffae93 SHA512 1f347a8e75f4c350cc1ee2e0406b1b696f8e82cd259bb17404113874516fdf4c395517962a5320d5c386994cae7ebe7dbdbbeb7ae79c76d6d506ce5bda662c3e WHIRLPOOL a99d5c31fe02ddc486de1541dff515e1ac3c071ea3a8dcb226505c7d92a6ac585b4617d53101045dba05d8f4996e92c15e3f9006b15c1cca95d0bd8b625c3302
DIST postgresql-9.2.5.tar.bz2 16485711 SHA256 22c1edfd6a404bb15fba655863e94f09a10716ded1910a8bc98ee85f413007a4 SHA512 2a31db9e0acdc79ce5d1378d4622333820012005c727af296e434b66c8ac5d6be3f66efd548877cdd299b6e73b36755ed06ed20286ab636cefb8effb21b7065b WHIRLPOOL c9d74e679e3ad99d7d14f5910c0805123a5e743b55697627dced15b6d449e6f34ae42948f5967e3ab333e14f10cc1b5e17cefd3c0595b8941334dfd0d11c19f2
DIST postgresql-9.3.0.tar.bz2 16871327 SHA256 784e5db7d8fd69b08ddb125c4452211e04b089516359a5cf72d292cade7c728e SHA512 d38315eb9cd81fc936556b504db439e8f6c37b489e261a1fdb070803780954548f6b9b612653e46f37676a9e24871a2fca50e3db01b24f193bbdca7e4c193828 WHIRLPOOL 57ad61cd65ce7a2959a7ccc45bc7818199c718d2615489c4f01e687b35a4568b94ed1bb6490f98fccf2038b6c87f325e6be0fcb357227ae832aacc169c0619dc
DIST postgresql-9.3.1.tar.bz2 16877807 SHA256 8ea4a7a92a6f5a79359b02e683ace335c5eb45dffe7f8a681a9ce82470a8a0b8 SHA512 4dd167c2e2e793a52b361d82c36e88214283313f29ed1341fb343f89e4816504bacedf844b368593c3e5eee0e7aa7edce6f3aa55c8fe1f7c252d9b1b11c3e3fc WHIRLPOOL aa4722f6f7523e43e8a4c18216d91161acd8b8d77766a6f6415b0480f311ed0a10881fb64c1cec1c8f569d4aa0f911d3f95e1cfa776d5a25d2dbf4ce8a3c631f
DIST postgresql-initscript-2.4.tbz2 2604 SHA256 4f17a2a26ec078b7f73d2b5fa7338402829fe195676d6c3f2cda6cd75c3d1e23 SHA512 2e92bb4f2ddbdfbafa9a6451ebf8be121cf66b7731c42c61f9978a4a896e7d8987fc3b2e5c6feef22a5f7b5759c3456c91e1869ba30019f71ed6b6088adf955e WHIRLPOOL 6df5d827a9fc2d78084d5c300fefa767f87af4a6918abefeea99396ecdace8966ee2c2b4f2276454a3f77df64ec7522aeb2cc1fcac8e321d091f60cc1071a13f
DIST postgresql-initscript-2.5.tbz2 3280 SHA256 723b2564572722171e097b165a72453b788cb4451638677dcc5f853cbd2d3c09 SHA512 3de3c113cc121b7c1e1a28580ad83fa95f613ba082bffaec9c5feba8bf022ce069246553cd027cc82fbc7a8ea72a5782c2b04186a9765612571ab876c38555bf WHIRLPOOL 8bd84f0a58a3cebf078aeaba2cf9f8eaaeb0933aac0b89f4f8f981604c42ae43a06ca1fdf37a635f90d8957440049d9d7d4ad76bf143d42f44b5374fa98ef2de
DIST postgresql-initscript-2.6.tbz2 3499 SHA256 0ab0e175a2ed735c330fd2e1c659c1130ae7217fea8d3804d5b5eb74c68ddac1 SHA512 b5c8add696b755e422db4b419c3aa8078b8f3b63e15ad2d100c8f81e654c02eee6c1971a7129d72de201afacdc72dcc50674b79e054be81d575ae1339b2e239b WHIRLPOOL 7bfc03a83f24f2a1a88bab86c71bdecaa14f4a4bb3eb12c46d6a164f9c1aad891e94445a59c55e1168a5dd5c85c78aa5198425c1914d26de86d0f22de5d031af

@ -0,0 +1,352 @@
# 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.4.18.ebuild,v 1.1 2013/10/11 08:59:19 patrick Exp $
EAPI="5"
PYTHON_COMPAT=( python2_{5,6,7} )
WANT_AUTOMAKE="none"
inherit autotools eutils multilib pam prefix python-single-r1 systemd user versionator
SLOT="$(get_version_component_range 1-2)"
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.4-r3.tbz2
http://dev.gentoo.org/~titanofold/postgresql-initscript-pre92-2.6.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}[kerberos?,pam?,pg_legacytimestamp=,python=,nls=]
perl? ( >=dev-lang/perl-5.8 )
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}/darwin.patch" \
"${WORKDIR}/ldflags.patch" \
"${WORKDIR}/pg_ctl-exit-status.patch" \
"${WORKDIR}/server.patch" \
"${WORKDIR}/SuperH.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
for x in .init .confd .service -check-db-dir
do
sed -e "s|@SLOT@|${SLOT}|g" -i "${WORKDIR}"/postgresql${x}
[[ $? -ne 0 ]] && eerror "Failed sed on $x" && die 'Failed slot sed'
done
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 tcl) \
$(use_with xml libxml) \
$(use_with xml libxslt) \
$(use_with uuid ossp-uuid) \
"$(has_version ~dev-db/postgresql-base-${PV}[nls] && use_enable nls nls "$(wanted_languages)")"
}
src_compile() {
local bd
for bd in . contrib $(use xml && echo contrib/xml2) ; do
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
emake -C $bd -j1 || 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
rm -r "${ED}/usr/share/postgresql-${SLOT}/man/man7/" \
"${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
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}
systemd_newunit "${WORKDIR}"/postgresql.service postgresql-${SLOT}.service
systemd_newtmpfilesd "${WORKDIR}"/postgresql.tmpfilesd postgresql-${SLOT}.conf
insinto /usr/bin/
newbin "${WORKDIR}"/postgresql-check-db-dir postgresql-${SLOT}-check-db-dir
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 "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
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_postrm() {
postgresql-config update
}
pkg_config() {
[[ -f ${EROOT%/}/etc/conf.d/postgresql-${SLOT} ]] && source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
[[ -z ${PGDATA} ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
[[ -z ${DATA_DIR} ]] && DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
# environment.bz2 may not contain the same locale as the current system
# locale. Unset and source from the current system locale.
if [[ -f ${EROOT%/}/etc/env.d/02locale ]] ; then
unset LANG
unset LC_CTYPE
unset LC_NUMERIC
unset LC_TIME
unset LC_COLLATE
unset LC_MONETARY
unset LC_MESSAGES
unset LC_ALL
source "${EROOT%/}/etc/env.d/02locale"
[[ -n ${LANG} ]] && export LANG
[[ -n ${LC_CTYPE} ]] && export LC_CTYPE
[[ -n ${LC_NUMERIC} ]] && export LC_NUMERIC
[[ -n ${LC_TIME} ]] && export LC_TIME
[[ -n ${LC_COLLATE} ]] && export LC_COLLATE
[[ -n ${LC_MONETARY} ]] && export LC_MONETARY
[[ -n ${LC_MESSAGES} ]] && export LC_MESSAGES
[[ -n ${LC_ALL} ]] && export LC_ALL
fi
einfo "You can modify the paths and options passed to initdb by editing:"
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
einfo
einfo "Information on options that can be passed to initdb are found at:"
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
einfo
einfo "PG_INITDB_OPTS is currently set to:"
if [[ -z ${PG_INITDB_OPTS} ]] ; then
einfo " (none)"
else
einfo " ${PG_INITDB_OPTS}"
fi
einfo
einfo "Configuration files will be installed to:"
einfo " ${PGDATA}"
einfo
einfo "The database cluster will be created in:"
einfo " ${DATA_DIR}"
einfo
while [[ $correct != "true" ]] ; do
einfo "Are you ready to continue? (y/n)"
read answer
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
correct="true"
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
die "Aborting initialization."
else
echo "Answer not recognized"
fi
done
if [[ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ]] ; then
eerror "The given directory, '${DATA_DIR}', is not empty."
eerror "Modify DATA_DIR to point to an empty directory."
die "${DATA_DIR} is not empty."
fi
[[ -z ${PG_MAX_CONNECTIONS} ]] && PG_MAX_CONNECTIONS=128
einfo "Checking system parameters..."
if ! use kernel_linux ; then
einfo "Skipped."
einfo " Tests not supported on this OS (yet)"
else
if [[ -z ${SKIP_SYSTEM_TESTS} ]] ; then
einfo "Checking whether your system supports at least ${PG_MAX_CONNECTIONS} connections..."
local SEMMSL=$(sysctl -n kernel.sem | cut -f1)
local SEMMNS=$(sysctl -n kernel.sem | cut -f2)
local SEMMNI=$(sysctl -n kernel.sem | cut -f4)
local SHMMAX=$(sysctl -n kernel.shmmax)
local SEMMSL_MIN=17
local SEMMNS_MIN=$(( ( ${PG_MAX_CONNECTIONS}/16 ) * 17 ))
local SEMMNI_MIN=$(( ( ${PG_MAX_CONNECTIONS}+15 ) / 16 ))
local SHMMAX_MIN=$(( 500000 + ( 30600 * ${PG_MAX_CONNECTIONS} ) ))
for p in SEMMSL SEMMNS SEMMNI SHMMAX ; do
if [[ $(eval echo \$$p) -lt $(eval echo \$${p}_MIN) ]] ; then
eerror "The value for ${p} $(eval echo \$$p) is below the recommended value $(eval echo \$${p}_MIN)"
eerror "You have now several options:"
eerror " - Change the mentioned system parameter"
eerror " - Lower the number of max.connections by setting PG_MAX_CONNECTIONS to a"
eerror " value lower than ${PG_MAX_CONNECTIONS}"
eerror " - Set SKIP_SYSTEM_TESTS in case you want to ignore this test completely"
eerror "More information can be found here:"
eerror " http://www.postgresql.org/docs/${SLOT}/static/kernel-resources.html"
die "System test failed."
fi
done
einfo "Passed."
else
ewarn "SKIP_SYSTEM_TESTS set, so skipping."
fi
fi
if [[ ${EUID} == 0 ]] ; then
einfo "Creating the data directory ..."
mkdir -p "${DATA_DIR}"
chown -Rf postgres:postgres "${DATA_DIR}"
chmod 0700 "${DATA_DIR}"
fi
einfo "Initializing the database ..."
if [[ ${EUID} == 0 ]] ; then
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
else
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
fi
mv "${DATA_DIR%/}"/*.conf "${PGDATA}"
einfo "The autovacuum function, which was in contrib, has been moved to the main"
einfo "PostgreSQL functions starting with 8.1, 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:"
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
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,358 @@
# 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.14.ebuild,v 1.1 2013/10/11 08:59:19 patrick 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 systemd 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.6.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}[kerberos?,pam?,pg_legacytimestamp=,python=,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
for x in .init .confd .service -check-db-dir
do
sed -e "s|@SLOT@|${SLOT}|g" -i "${WORKDIR}"/postgresql${x}
[[ $? -ne 0 ]] && eerror "Failed sed on $x" && die 'Failed slot sed'
done
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 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}
newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT}
systemd_newunit "${WORKDIR}"/postgresql.service postgresql-${SLOT}.service
systemd_newtmpfilesd "${WORKDIR}"/postgresql.tmpfilesd postgresql-${SLOT}.conf
insinto /usr/bin/
newbin "${WORKDIR}"/postgresql-check-db-dir postgresql-${SLOT}-check-db-dir
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,356 @@
# 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.10.ebuild,v 1.1 2013/10/11 08:59:19 patrick 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 systemd 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.6.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}[kerberos?,pam?,pg_legacytimestamp=,python=,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
for x in .init .confd .service -check-db-dir
do
sed -e "s|@SLOT@|${SLOT}|g" -i "${WORKDIR}"/postgresql${x}
[[ $? -ne 0 ]] && eerror "Failed sed on $x" && die 'Failed slot sed'
done
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 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}
newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT}
systemd_newunit "${WORKDIR}"/postgresql.service postgresql-${SLOT}.service
systemd_newtmpfilesd "${WORKDIR}"/postgresql.tmpfilesd postgresql-${SLOT}.conf
insinto /usr/bin/
newbin "${WORKDIR}"/postgresql-check-db-dir postgresql-${SLOT}-check-db-dir
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,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.2.5.ebuild,v 1.1 2013/10/11 08:59:19 patrick 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 systemd 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}"
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.6.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}[kerberos?,pam?,pg_legacytimestamp=,python=,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 perl ; then
sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
-i "${S}/src/pl/plperl/GNUmakefile" || die 'sed plperl failed'
fi
if use test ; then
epatch "${WORKDIR}/regress.patch"
sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress{,_main}.c \
|| die 'Failed regress sed'
else
echo "all install:" > "${S}/src/test/regress/GNUmakefile"
fi
for x in .init .confd .service -check-db-dir
do
sed -e "s|@SLOT@|${SLOT}|g" -i "${WORKDIR}"/postgresql${x}
[[ $? -ne 0 ]] && eerror "Failed sed on $x" && die 'Failed slot sed'
done
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 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() {
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}
newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT}
systemd_newunit "${WORKDIR}"/postgresql.service postgresql-${SLOT}.service
systemd_newtmpfilesd "${WORKDIR}"/postgresql.tmpfilesd postgresql-${SLOT}.conf
insinto /usr/bin/
newbin "${WORKDIR}"/postgresql-check-db-dir postgresql-${SLOT}-check-db-dir
use pam && pamd_mimic system-auth postgresql-${SLOT} auth account session
if use prefix ; then
keepdir /run/postgresql
fperms 0775 /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 "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
}

@ -0,0 +1,349 @@
# 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.3.1.ebuild,v 1.1 2013/10/11 08:59:19 patrick Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_{6,7},3_{2,3}} )
WANT_AUTOMAKE="none"
inherit autotools eutils flag-o-matic multilib pam prefix python-single-r1 systemd 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}"
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}-r1.tbz2
http://dev.gentoo.org/~titanofold/postgresql-initscript-2.5.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}[kerberos?,pam?,pg_legacytimestamp=,python=,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" \
"${WORKDIR}/run-dir.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 perl ; then
sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
-i "${S}/src/pl/plperl/GNUmakefile" || die 'sed plperl 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,confd,service} || \
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 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() {
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
# Avoid file collision with -base.
rm "${ED}/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)/libpgcommon.a"
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}
systemd_newunit "${WORKDIR}"/postgresql.service postgresql-${SLOT}.service
systemd_newtmpfilesd "${WORKDIR}"/postgresql.tmpfilesd postgresql-${SLOT}.conf
use pam && pamd_mimic system-auth postgresql-${SLOT} auth account session
if use prefix ; then
keepdir /run/postgresql
fperms 0775 /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 "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
}

@ -0,0 +1,296 @@
diff -uNr libgdiplus-2.10.9/src/gifcodec.c libgdiplus-2.10.9-funtoo/src/gifcodec.c
--- libgdiplus-2.10.9/src/gifcodec.c 2011-12-02 18:23:12.000000000 +0100
+++ libgdiplus-2.10.9-funtoo/src/gifcodec.c 2013-10-08 18:06:44.643554570 +0200
@@ -39,6 +39,293 @@
#include "gifcodec.h"
+#define COLOR_ARRAY_SIZE 32768
+#define BITS_PER_PRIM_COLOR 5
+#define MAX_PRIM_COLOR 0x1f
+
+static int SortRGBAxis;
+
+typedef struct QuantizedColorType {
+ GifByteType RGB[3];
+ GifByteType NewColorIndex;
+ long Count;
+ struct QuantizedColorType *Pnext;
+} QuantizedColorType;
+
+typedef struct NewColorMapType {
+ GifByteType RGBMin[3], RGBWidth[3];
+ unsigned int NumEntries; /* # of QuantizedColorType in linked list below */
+ unsigned long Count; /* Total number of pixels in all the entries */
+ QuantizedColorType *QuantizedColors;
+} NewColorMapType;
+
+
+/****************************************************************************
+ * Routine called by qsort to compare two entries.
+ ****************************************************************************/
+static int
+SortCmpRtn(const void *Entry1,
+ const void *Entry2) {
+
+ return (*((QuantizedColorType **) Entry1))->RGB[SortRGBAxis] -
+ (*((QuantizedColorType **) Entry2))->RGB[SortRGBAxis];
+}
+
+/******************************************************************************
+ * Routine to subdivide the RGB space recursively using median cut in each
+ * axes alternatingly until ColorMapSize different cubes exists.
+ * The biggest cube in one dimension is subdivide unless it has only one entry.
+ * Returns GIF_ERROR if failed, otherwise GIF_OK.
+ ******************************************************************************/
+static int
+SubdivColorMap(NewColorMapType * NewColorSubdiv,
+ unsigned int ColorMapSize,
+ unsigned int *NewColorMapSize) {
+
+ int MaxSize;
+ unsigned int i, j, Index = 0, NumEntries, MinColor, MaxColor;
+ long Sum, Count;
+ QuantizedColorType *QuantizedColor, **SortArray;
+
+ while (ColorMapSize > *NewColorMapSize) {
+ /* Find candidate for subdivision: */
+ MaxSize = -1;
+ for (i = 0; i < *NewColorMapSize; i++) {
+ for (j = 0; j < 3; j++) {
+ if ((((int)NewColorSubdiv[i].RGBWidth[j]) > MaxSize) &&
+ (NewColorSubdiv[i].NumEntries > 1)) {
+ MaxSize = NewColorSubdiv[i].RGBWidth[j];
+ Index = i;
+ SortRGBAxis = j;
+ }
+ }
+ }
+
+ if (MaxSize == -1)
+ return GIF_OK;
+
+ /* Split the entry Index into two along the axis SortRGBAxis: */
+
+ /* Sort all elements in that entry along the given axis and split at
+ * the median. */
+ SortArray = (QuantizedColorType **)malloc(
+ sizeof(QuantizedColorType *) *
+ NewColorSubdiv[Index].NumEntries);
+ if (SortArray == NULL)
+ return GIF_ERROR;
+ for (j = 0, QuantizedColor = NewColorSubdiv[Index].QuantizedColors;
+ j < NewColorSubdiv[Index].NumEntries && QuantizedColor != NULL;
+ j++, QuantizedColor = QuantizedColor->Pnext)
+ SortArray[j] = QuantizedColor;
+
+ qsort(SortArray, NewColorSubdiv[Index].NumEntries,
+ sizeof(QuantizedColorType *), SortCmpRtn);
+
+ /* Relink the sorted list into one: */
+ for (j = 0; j < NewColorSubdiv[Index].NumEntries - 1; j++)
+ SortArray[j]->Pnext = SortArray[j + 1];
+ SortArray[NewColorSubdiv[Index].NumEntries - 1]->Pnext = NULL;
+ NewColorSubdiv[Index].QuantizedColors = QuantizedColor = SortArray[0];
+ free((char *)SortArray);
+
+ /* Now simply add the Counts until we have half of the Count: */
+ Sum = NewColorSubdiv[Index].Count / 2 - QuantizedColor->Count;
+ NumEntries = 1;
+ Count = QuantizedColor->Count;
+ while (QuantizedColor->Pnext != NULL &&
+ (Sum -= QuantizedColor->Pnext->Count) >= 0 &&
+ QuantizedColor->Pnext->Pnext != NULL) {
+ QuantizedColor = QuantizedColor->Pnext;
+ NumEntries++;
+ Count += QuantizedColor->Count;
+ }
+ /* Save the values of the last color of the first half, and first
+ * of the second half so we can update the Bounding Boxes later.
+ * Also as the colors are quantized and the BBoxes are full 0..255,
+ * they need to be rescaled.
+ */
+ MaxColor = QuantizedColor->RGB[SortRGBAxis]; /* Max. of first half */
+ /* coverity[var_deref_op] */
+ MinColor = QuantizedColor->Pnext->RGB[SortRGBAxis]; /* of second */
+ MaxColor <<= (8 - BITS_PER_PRIM_COLOR);
+ MinColor <<= (8 - BITS_PER_PRIM_COLOR);
+
+ /* Partition right here: */
+ NewColorSubdiv[*NewColorMapSize].QuantizedColors =
+ QuantizedColor->Pnext;
+ QuantizedColor->Pnext = NULL;
+ NewColorSubdiv[*NewColorMapSize].Count = Count;
+ NewColorSubdiv[Index].Count -= Count;
+ NewColorSubdiv[*NewColorMapSize].NumEntries =
+ NewColorSubdiv[Index].NumEntries - NumEntries;
+ NewColorSubdiv[Index].NumEntries = NumEntries;
+ for (j = 0; j < 3; j++) {
+ NewColorSubdiv[*NewColorMapSize].RGBMin[j] =
+ NewColorSubdiv[Index].RGBMin[j];
+ NewColorSubdiv[*NewColorMapSize].RGBWidth[j] =
+ NewColorSubdiv[Index].RGBWidth[j];
+ }
+ NewColorSubdiv[*NewColorMapSize].RGBWidth[SortRGBAxis] =
+ NewColorSubdiv[*NewColorMapSize].RGBMin[SortRGBAxis] +
+ NewColorSubdiv[*NewColorMapSize].RGBWidth[SortRGBAxis] - MinColor;
+ NewColorSubdiv[*NewColorMapSize].RGBMin[SortRGBAxis] = MinColor;
+
+ NewColorSubdiv[Index].RGBWidth[SortRGBAxis] =
+ MaxColor - NewColorSubdiv[Index].RGBMin[SortRGBAxis];
+
+ (*NewColorMapSize)++;
+ }
+
+ return GIF_OK;
+}
+
+/******************************************************************************
+ * Quantize high resolution image into lower one. Input image consists of a
+ * 2D array for each of the RGB colors with size Width by Height. There is no
+ * Color map for the input. Output is a quantized image with 2D array of
+ * indexes into the output color map.
+ * Note input image can be 24 bits at the most (8 for red/green/blue) and
+ * the output has 256 colors at the most (256 entries in the color map.).
+ * ColorMapSize specifies size of color map up to 256 and will be updated to
+ * real size before returning.
+ * Also non of the parameter are allocated by this routine.
+ * This function returns GIF_OK if succesfull, GIF_ERROR otherwise.
+ ******************************************************************************/
+static int
+QuantizeBuffer(unsigned int Width,
+ unsigned int Height,
+ int *ColorMapSize,
+ GifByteType * RedInput,
+ GifByteType * GreenInput,
+ GifByteType * BlueInput,
+ GifByteType * OutputBuffer,
+ GifColorType * OutputColorMap) {
+
+ unsigned int Index, NumOfEntries;
+ int i, j, MaxRGBError[3];
+ unsigned int NewColorMapSize;
+ long Red, Green, Blue;
+ NewColorMapType NewColorSubdiv[256];
+ QuantizedColorType *ColorArrayEntries, *QuantizedColor;
+
+ ColorArrayEntries = (QuantizedColorType *)malloc(
+ sizeof(QuantizedColorType) * COLOR_ARRAY_SIZE);
+ if (ColorArrayEntries == NULL) {
+ return GIF_ERROR;
+ }
+
+ for (i = 0; i < COLOR_ARRAY_SIZE; i++) {
+ ColorArrayEntries[i].RGB[0] = i >> (2 * BITS_PER_PRIM_COLOR);
+ ColorArrayEntries[i].RGB[1] = (i >> BITS_PER_PRIM_COLOR) &
+ MAX_PRIM_COLOR;
+ ColorArrayEntries[i].RGB[2] = i & MAX_PRIM_COLOR;
+ ColorArrayEntries[i].Count = 0;
+ }
+
+ /* Sample the colors and their distribution: */
+ for (i = 0; i < (int)(Width * Height); i++) {
+ Index = ((RedInput[i] >> (8 - BITS_PER_PRIM_COLOR)) <<
+ (2 * BITS_PER_PRIM_COLOR)) +
+ ((GreenInput[i] >> (8 - BITS_PER_PRIM_COLOR)) <<
+ BITS_PER_PRIM_COLOR) +
+ (BlueInput[i] >> (8 - BITS_PER_PRIM_COLOR));
+ ColorArrayEntries[Index].Count++;
+ }
+
+ /* Put all the colors in the first entry of the color map, and call the
+ * recursive subdivision process. */
+ for (i = 0; i < 256; i++) {
+ NewColorSubdiv[i].QuantizedColors = NULL;
+ NewColorSubdiv[i].Count = NewColorSubdiv[i].NumEntries = 0;
+ for (j = 0; j < 3; j++) {
+ NewColorSubdiv[i].RGBMin[j] = 0;
+ NewColorSubdiv[i].RGBWidth[j] = 255;
+ }
+ }
+
+ /* Find the non empty entries in the color table and chain them: */
+ for (i = 0; i < COLOR_ARRAY_SIZE; i++)
+ if (ColorArrayEntries[i].Count > 0)
+ break;
+ QuantizedColor = NewColorSubdiv[0].QuantizedColors = &ColorArrayEntries[i];
+ NumOfEntries = 1;
+ while (++i < COLOR_ARRAY_SIZE)
+ if (ColorArrayEntries[i].Count > 0) {
+ QuantizedColor->Pnext = &ColorArrayEntries[i];
+ QuantizedColor = &ColorArrayEntries[i];
+ NumOfEntries++;
+ }
+ QuantizedColor->Pnext = NULL;
+
+ NewColorSubdiv[0].NumEntries = NumOfEntries; /* Different sampled colors */
+ NewColorSubdiv[0].Count = ((long)Width) * Height; /* Pixels */
+ NewColorMapSize = 1;
+ if (SubdivColorMap(NewColorSubdiv, *ColorMapSize, &NewColorMapSize) !=
+ GIF_OK) {
+ free((char *)ColorArrayEntries);
+ return GIF_ERROR;
+ }
+ if (NewColorMapSize < *ColorMapSize) {
+ /* And clear rest of color map: */
+ for (i = NewColorMapSize; i < *ColorMapSize; i++)
+ OutputColorMap[i].Red = OutputColorMap[i].Green =
+ OutputColorMap[i].Blue = 0;
+ }
+
+ /* Average the colors in each entry to be the color to be used in the
+ * output color map, and plug it into the output color map itself. */
+ for (i = 0; i < NewColorMapSize; i++) {
+ if ((j = NewColorSubdiv[i].NumEntries) > 0) {
+ QuantizedColor = NewColorSubdiv[i].QuantizedColors;
+ Red = Green = Blue = 0;
+ while (QuantizedColor) {
+ QuantizedColor->NewColorIndex = i;
+ Red += QuantizedColor->RGB[0];
+ Green += QuantizedColor->RGB[1];
+ Blue += QuantizedColor->RGB[2];
+ QuantizedColor = QuantizedColor->Pnext;
+ }
+ OutputColorMap[i].Red = (Red << (8 - BITS_PER_PRIM_COLOR)) / j;
+ OutputColorMap[i].Green = (Green << (8 - BITS_PER_PRIM_COLOR)) / j;
+ OutputColorMap[i].Blue = (Blue << (8 - BITS_PER_PRIM_COLOR)) / j;
+ } else
+ fprintf(stderr,
+ "\n%s: Null entry in quantized color map - that's weird.\n",
+ "libgdiplus");
+ }
+
+ /* Finally scan the input buffer again and put the mapped index in the
+ * output buffer. */
+ MaxRGBError[0] = MaxRGBError[1] = MaxRGBError[2] = 0;
+ for (i = 0; i < (int)(Width * Height); i++) {
+ Index = ((RedInput[i] >> (8 - BITS_PER_PRIM_COLOR)) <<
+ (2 * BITS_PER_PRIM_COLOR)) +
+ ((GreenInput[i] >> (8 - BITS_PER_PRIM_COLOR)) <<
+ BITS_PER_PRIM_COLOR) +
+ (BlueInput[i] >> (8 - BITS_PER_PRIM_COLOR));
+ Index = ColorArrayEntries[Index].NewColorIndex;
+ OutputBuffer[i] = Index;
+ if (MaxRGBError[0] < ABS(OutputColorMap[Index].Red - RedInput[i]))
+ MaxRGBError[0] = ABS(OutputColorMap[Index].Red - RedInput[i]);
+ if (MaxRGBError[1] < ABS(OutputColorMap[Index].Green - GreenInput[i]))
+ MaxRGBError[1] = ABS(OutputColorMap[Index].Green - GreenInput[i]);
+ if (MaxRGBError[2] < ABS(OutputColorMap[Index].Blue - BlueInput[i]))
+ MaxRGBError[2] = ABS(OutputColorMap[Index].Blue - BlueInput[i]);
+ }
+
+#ifdef DEBUG
+ fprintf(stderr,
+ "Quantization L(0) errors: Red = %d, Green = %d, Blue = %d.\n",
+ MaxRGBError[0], MaxRGBError[1], MaxRGBError[2]);
+#endif /* DEBUG */
+
+ free((char *)ColorArrayEntries);
+
+ *ColorMapSize = NewColorMapSize;
+
+ return GIF_OK;
+}
+
/* giflib declares this incorrectly as EgifOpen */
extern GifFileType *EGifOpen(void *userData, OutputFunc writeFunc);

@ -0,0 +1,70 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/libgdiplus-2.10.9-r1.ebuild,v 1.1 2013/10/11 04:38:03 cynede Exp $
EAPI="5"
inherit base eutils mono flag-o-matic
DESCRIPTION="Library for using System.Drawing with mono"
HOMEPAGE="http://www.mono-project.com"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2"
IUSE="cairo"
RDEPEND=">=dev-libs/glib-2.16:2
>=media-libs/freetype-2.3.7
>=media-libs/fontconfig-2.6
>=media-libs/libpng-1.4:0
x11-libs/libXrender
x11-libs/libX11
x11-libs/libXt
>=x11-libs/cairo-1.8.4[X]
media-libs/libexif
>=media-libs/giflib-4.1.3
virtual/jpeg
media-libs/tiff:0
!cairo? ( >=x11-libs/pango-1.20 )"
DEPEND="${RDEPEND}"
RESTRICT="test"
PATCHES=("${FILESDIR}/${P}-gold.patch"
"${FILESDIR}/${PN}-2.10.1-libpng15.patch"
"${FILESDIR}/${PN}-2.10.9-giflib-quantizebuffer.patch")
src_prepare() {
base_src_prepare
sed -i -e 's:ungif:gif:g' configure || die
}
src_configure() {
append-flags -fno-strict-aliasing
econf --disable-dependency-tracking \
--disable-static \
--with-cairo=system \
$(use !cairo && printf %s --with-pango)
}
src_compile() {
emake "$@"
}
src_install () {
emake -j1 DESTDIR="${D}" "$@" install #nowarn
mono_multilib_comply
local commondoc=( AUTHORS ChangeLog README TODO )
for docfile in "${commondoc[@]}"
do
[[ -e "${docfile}" ]] && dodoc "${docfile}"
done
if [[ "${DOCS[@]}" ]]
then
dodoc "${DOCS[@]}"
fi
prune_libtool_files
}

@ -1,6 +1,5 @@
DIST tcl-core8.6.0-src.tar.gz 5719946 SHA256 c53915996bb3ddda05d765f848bbd55111d44b74406a9b67a02070078a645964 SHA512 c5f78b80d9c83ac7dfd4dd05e54d8e678e5968df3cbd39d450e6923cdf370c17cdf0654580c649f4876d26cd527f965f0cecd2034cc6bc44d29a3579bc1d181f WHIRLPOOL 842f2ae04d5083cb78ffe04bafa6c132c135bb689d6609a3bbe5955492f1853692e20ff1b44bea81c1920022ef2dfa4397f69380befc8c911f51c05a76fd23a0
DIST tcl-core8.6.1-src.tar.gz 5773335 SHA256 00a25fcd70e0be65f85e996353c2a0717eaaf51dc547cf6e499bb05257e20764 SHA512 d3f4c3200017f3afcc50c19619d79a31cac5441b4aac341524a6dfdda3e6f2eada1e0a70875d24f29afc733998aedf6fa14826cba61fceda496aaf2a2a4a3c5b WHIRLPOOL dbd53216ee28bb9a3fbaa7aa5c07ca5931f098d6761eaa859d74ab5dda409e6dc77a28ee43a312267ceff74d04fb723484b6ea8afccf429c28cea5fd6c64521e
DIST tcl8.5.10-src.tar.gz 4498413 SHA256 f582063edd5419a39ee8f7b5c8f95d557b5daad13efb0ed2f0967ca185613bb7 SHA512 d48c5e74e1dcdae92cf71d9f557eee581fadbc552b458d50034d412a07434b58a3302f64d4ef0af91e92cab10f3f86a18cd64bc9e5be906e1807f40cc20cb344 WHIRLPOOL 0e7d2ae1a275c1f0e669beaf5a55dceced34829f43c0e3e275e1cbb99b4fd2325a1fa43993959dcbed2abd27d6317a0eca2702115068a2d35ebacda9d5e56a8c
DIST tcl8.5.13-src.tar.gz 4513204 SHA256 9b868dd563e65671a26fcf518b6b86c1bb1b6756f48fdc90f04301d4f3a6596a SHA512 e1c9f36dd0e1afd81f42d249fe0191f10d6e0eab73042e32c9c0af09063ebf19bc2a24364743fa7b6798c588e77fa81654e6e7eb7591e1aaf4b222e20ecc6c84 WHIRLPOOL f1c1b67508c5d5c85de7d76d075a577ef14b5df05ca5bb0a0d0d78261134e8d85accb82a27f135877585820d52f0d363ebde74cfd890dbfafbf3766985315b61
DIST tcl8.5.14-src.tar.gz 4528533 SHA256 7494e94f1e195a505c542a3c50e01589d2f8bfd19597382827a895fa1c471f2d SHA512 3cc8a39d2f5d7bd086c041e11aeb3c7b755c943fa0f761a1f38ce6d625d7be557792352878b514d817628a57392604e401bd598bbf5a395deffda078b294ae8d WHIRLPOOL 99a5430f6f0375be2489344e0b1cef7c2f2cbc1f4c23087d3419588f9d71dd5018e0b0aeea63286e0fb0fa4c404e9c4b2b59bae4fb3e9ebe0ff8597615d89843
DIST tcl8.5.15-src.tar.gz 4536117 SHA256 f24eaae461795e6b09bf54c7e9f38def025892da55f26008c16413cfdda2884e SHA512 44c8a975ffaeca1f954fbc160fed966064340b5de883e53321691c6c457283716c4ab5c87c7c754ff5c1bd293d46eb14bbf356a0bf6a5ed0078d8789703df3df WHIRLPOOL da369146ccc1a449eae6b2fddc7802457c267b1ed047dba665b2684f27105a0763646b6a985e697891b3da9b3531a89f1ffb78168dc386c27889bcdaaa175e1c

@ -1,121 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/tcl-8.5.10-r1.ebuild,v 1.7 2012/12/05 08:51:01 ulm Exp $
EAPI=4
inherit versionator autotools eutils flag-o-matic multilib toolchain-funcs
MY_P="${PN}${PV/_beta/b}"
DESCRIPTION="Tool Command Language"
HOMEPAGE="http://www.tcl.tk/"
SRC_URI="mirror://sourceforge/tcl/${MY_P}-src.tar.gz"
LICENSE="tcltk"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x86-solaris"
IUSE="debug threads"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
if use threads ; then
echo
ewarn "PLEASE NOTE: You are compiling ${P} with"
ewarn "threading enabled."
ewarn "Threading is not supported by all applications"
ewarn "that compile against tcl. You use threading at"
ewarn "your own discretion."
echo
fi
}
src_prepare() {
epatch "${FILESDIR}"/${PN}-8.5_alpha6-multilib.patch
# Bug 125971
epatch "${FILESDIR}"/${PN}-8.5_alpha6-tclm4-soname.patch
# Bug 354067
epatch "${FILESDIR}"/${PN}-8.5.9-gentoo-fbsd.patch
cd "${S}"/unix
eautoreconf
}
src_configure() {
# workaround stack check issues, bug #280934
if use hppa; then
append-cflags "-DTCL_NO_STACK_CHECK=1"
fi
tc-export CC
cd "${S}"/unix
econf \
$(use_enable threads) \
$(use_enable debug symbols)
}
src_compile() {
cd "${S}"/unix && emake
}
src_install() {
#short version number
local v1
v1=${PV%.*}
cd "${S}"/unix
S= emake DESTDIR="${D}" install
# fix the tclConfig.sh to eliminate refs to the build directory
local mylibdir=$(get_libdir) ; mylibdir=${mylibdir//\/}
sed -i \
-e "s,^TCL_BUILD_LIB_SPEC='-L.*/unix,TCL_BUILD_LIB_SPEC='-L${EPREFIX}/usr/${mylibdir}," \
-e "s,^TCL_SRC_DIR='.*',TCL_SRC_DIR='${EPREFIX}/usr/${mylibdir}/tcl${v1}/include'," \
-e "s,^TCL_BUILD_STUB_LIB_SPEC='-L.*/unix,TCL_BUILD_STUB_LIB_SPEC='-L${EPREFIX}/usr/${mylibdir}," \
-e "s,^TCL_BUILD_STUB_LIB_PATH='.*/unix,TCL_BUILD_STUB_LIB_PATH='${EPREFIX}/usr/${mylibdir}," \
-e "s,^TCL_LIB_FILE='libtcl${v1}..TCL_DBGX..so',TCL_LIB_FILE=\"libtcl${v1}\$\{TCL_DBGX\}.so\"," \
"${ED}"/usr/${mylibdir}/tclConfig.sh || die
if [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then
sed -i \
-e "s,^TCL_CC_SEARCH_FLAGS='\(.*\)',TCL_CC_SEARCH_FLAGS='\1:${EPREFIX}/usr/${mylibdir}'," \
-e "s,^TCL_LD_SEARCH_FLAGS='\(.*\)',TCL_LD_SEARCH_FLAGS='\1:${EPREFIX}/usr/${mylibdir}'," \
"${ED}"/usr/${mylibdir}/tclConfig.sh || die
fi
# install private headers
insinto /usr/${mylibdir}/tcl${v1}/include/unix
doins "${S}"/unix/*.h
insinto /usr/${mylibdir}/tcl${v1}/include/generic
doins "${S}"/generic/*.h
rm -f "${ED}"/usr/${mylibdir}/tcl${v1}/include/generic/tcl.h || die
rm -f "${ED}"/usr/${mylibdir}/tcl${v1}/include/generic/tclDecls.h || die
rm -f "${ED}"/usr/${mylibdir}/tcl${v1}/include/generic/tclPlatDecls.h || die
# install symlink for libraries
dosym libtcl${v1}$(get_libname) /usr/${mylibdir}/libtcl$(get_libname)
dosym libtclstub${v1}.a /usr/${mylibdir}/libtclstub.a
dosym tclsh${v1} /usr/bin/tclsh
cd "${S}"
dodoc ChangeLog* README changes
}
pkg_postinst() {
for version in ${REPLACING_VERSIONS}; do
if ! version_is_at_least 8.5 ${version}; then
echo
ewarn "You're upgrading from <dev-lang/tcl-8.5, you must recompile the other"
ewarn "packages on your system that link with tcl after the upgrade"
ewarn "completes. To perform this action, please run revdep-rebuild"
ewarn "in package app-portage/gentoolkit."
ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should"
ewarn "upgrade them before this recompilation, too,"
echo
fi
done
}

@ -0,0 +1,263 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/Ice/Ice-3.5.1.ebuild,v 1.1 2013/10/11 08:01:53 polynomial-c Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 )
RUBY_OPTIONAL="yes"
USE_RUBY="ruby18"
inherit toolchain-funcs versionator python-r1 mono-env ruby-ng db-use
DESCRIPTION="ICE middleware C++ library and generator tools"
HOMEPAGE="http://www.zeroc.com/"
SRC_URI="http://www.zeroc.com/download/Ice/$(get_version_component_range 1-2)/${P}.tar.gz
doc? ( http://www.zeroc.com/download/Ice/$(get_version_component_range 1-2)/${P}.pdf )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ia64 ~x86 ~x86-linux ~x64-macos"
IUSE="doc examples +ncurses mono python ruby test debug"
RDEPEND=">=dev-libs/expat-2.0.1
>=app-arch/bzip2-1.0.5
>=dev-libs/openssl-0.9.8o:0
<sys-libs/db-6.0[cxx]
~dev-cpp/libmcpp-2.7.2
python? ( ${PYTHON_DEPS} )
ruby? ( $(ruby_implementation_depend ruby18) )
mono? ( dev-lang/mono )
!dev-python/IcePy
!dev-ruby/IceRuby"
DEPEND="${RDEPEND}
ncurses? ( sys-libs/ncurses sys-libs/readline )
test? ( ${PYTHON_DEPS} )"
# Maintainer notes:
# - yes, we have to do the trickery with the move for the python functions
# since the build and test frameworks deduce various settings from the path
# and they can't be tricked by a symlink. And we also need
# SUPPORT_PYTHON_ABIS=1 otherwise we can't get pyc/pyo anymore the sane way.
# TODO: php bindings
# TODO: java bindings
#overwrite ruby-ng.eclass default
S="${WORKDIR}/${P}"
pkg_setup() {
# prevent ruby-ng.eclass from messing with src_unpack
:;
}
src_unpack() {
# prevent ruby-ng.eclass from messing with src_unpack
default
}
src_prepare() {
sed -i \
-e 's|\(install_docdir[[:space:]]*\):=|\1?=|' \
-e 's|\(install_configdir[[:space:]]*\):=|\1?=|' \
cpp/config/Make.rules || die "sed failed"
sed -i \
-e 's|\(install_pythondir[[:space:]]*\):=|\1?=|' \
-e 's|\(install_rubydir[[:space:]]*\):=|\1?=|' \
-e 's|\(install_libdir[[:space:]]*\):=|\1?=|' \
{py,rb}/config/Make.rules || die "sed failed"
sed -i \
-e 's|-O2 ||g' \
-e 's|-Werror ||g' \
cpp/config/Make.rules.Linux || die "sed failed"
sed -i \
-e 's|install-common||' \
-e 's|demo||' \
{cpp,cs,php,py,rb}/Makefile || die "sed failed"
sed -i \
-e 's|-f -root|-f -gacdir $(GAC_DIR) -root|' \
cs/config/Make.rules.cs || die "sed failed"
if ! use test ; then
sed -i \
-e 's|^\(SUBDIRS.*\)test|\1|' \
{cpp,cs,php,py,rb}/Makefile || die "sed failed"
fi
}
src_configure() {
MAKE_RULES="prefix=\"${ED}/usr\"
install_docdir=\"${ED}/usr/share/doc/${PF}\"
install_configdir=\"${ED}/usr/share/Ice-${PV}/config\"
install_mandir=\"${ED}/usr/share/man\"
embedded_runpath_prefix=\"${EPREFIX}/usr\"
LP64=yes"
use ncurses && OPTIONS="${MAKE_RULES} USE_READLINE=yes" || MAKE_RULES="${MAKE_RULES} USE_READLINE=no"
use debug && OPTIONS"${MAKE_RULES} OPTIMIZE=no" || MAKE_RULES="${MAKE_RULES} OPTIMIZE=yes"
MAKE_RULES="${MAKE_RULES} DB_FLAGS=-I$(db_includedir)"
sed -i \
-e "s|c++|$(tc-getCXX)|" \
-e "s|\(CFLAGS[[:space:]]*=\)|\1 ${CFLAGS}|" \
-e "s|\(CXXFLAGS[[:space:]]*=\)|\1 ${CXXFLAGS}|" \
-e "s|\(LDFLAGS[[:space:]]*=\)|\1 ${LDFLAGS}|" \
-e "s|\(DB_LIBS[[:space:]]*=\) \-ldb_cxx|\1 -ldb_cxx-$(db_findver sys-libs/db)|" \
cpp/config/Make.rules{,.Linux} py/config/Make.rules || die "sed failed"
if use python ; then
S=${S}/py python_copy_sources
# make a place for the symlink
rm -r py/python || die
fi
if use ruby ; then
SITERUBY="$(ruby18 -r rbconfig -e 'print Config::CONFIG["sitedir"]')"
MAKE_RULES_RB="install_rubydir=\"${ED}/${SITERUBY}\"
install_libdir=\"${ED}/${SITERUBY}\""
# make it use ruby18 only
sed -i \
-e 's|RUBY = ruby|\018|' \
rb/config/Make.rules || die "sed failed"
fi
MAKE_RULES_CS="GACINSTALL=yes GAC_ROOT=\"${ED}/usr/$(get_libdir)\" GAC_DIR=${EPREFIX}/usr/$(get_libdir)"
use test && python_export_best
}
src_compile() {
if tc-is-cross-compiler ; then
export CXX="${CHOST}-g++"
fi
emake -C cpp ${MAKE_RULES} || die "emake failed"
if use doc ; then
emake -C cpp/doc || die "building docs failed"
fi
if use python ; then
building() {
emake -C "${BUILD_DIR}" ${MAKE_RULES} || die "emake py-${EPYTHON} failed"
}
BUILD_DIR=py python_foreach_impl building
fi
if use ruby ; then
emake -C rb ${MAKE_RULES} ${MAKE_RULES_RB} || die "emake rb failed"
fi
if use mono ; then
emake -C cs ${MAKE_RULES} ${MAKE_RULES_CS} || die "emake cs failed"
fi
}
src_install() {
dodoc CHANGES README
insinto /usr/share/${P}
doins -r slice
emake -C cpp ${MAKE_RULES} install || die "emake install failed"
docinto cpp
dodoc CHANGES README
if use examples ; then
insinto /usr/share/doc/${PF}/examples-cpp
doins cpp/config/*.cfg
doins -r cpp/demo/*
fi
if use doc ; then
dohtml -r cpp/doc/reference/*
dodoc "${DISTDIR}/${P}.pdf"
fi
if use python ; then
installation() {
mkdir -p "${D}/$(python_get_sitedir)" || die
emake -C "${BUILD_DIR}" ${MAKE_RULES} \
install_pythondir="\"${D}/$(python_get_sitedir)\"" \
install_libdir="\"${D}/$(python_get_sitedir)\"" \
install || die "emake py-${EPYTHON} install failed"
}
BUILD_DIR=py python_foreach_impl installation
docinto py
dodoc py/CHANGES py/README
if use examples ; then
insinto /usr/share/doc/${PF}/examples-py
doins -r py/demo/*
fi
fi
if use ruby ; then
dodir "${SITERUBY}"
emake -C rb ${MAKE_RULES} ${MAKE_RULES_RB} install || die "emake rb install failed"
docinto rb
dodoc rb/CHANGES rb/README
if use examples ; then
insinto /usr/share/doc/${PF}/examples-rb
doins -r rb/demo/*
fi
fi
if use mono ; then
emake -C cs ${MAKE_RULES} ${MAKE_RULES_CS} install || die "emake cs install failed"
# TODO: anyone has an idea what those are for?
rm "${ED}"/usr/bin/*.xml
docinto cs
dodoc cs/CHANGES cs/README
if use examples ; then
insinto /usr/share/doc/${PF}/examples-cs
doins -r cs/demo/*
fi
fi
}
run_tests() {
# Run tests through the script interface since Python test runner
# fails to exit with non-zero code for some reason.
pushd "${1}" >/dev/null || die
./allTests.py --script | sh
ret=${?}
popd >/dev/null || die
return ${ret}
}
src_test() {
run_tests cpp || die "emake cpp test failed"
if use python ; then
testing() {
# tests require that the directory is named 'py'
ln -f -s ../"${BUILD_DIR}"/python py/python || die
run_tests py || die "emake py-${EPYTHON} test failed"
}
BUILD_DIR=py python_foreach_impl testing
fi
if use ruby ; then
run_tests rb || die "emake rb test failed"
fi
if use mono ; then
# ewarn "Tests for C# are currently disabled."
run_tests cs || die "emake cs test failed"
fi
}

@ -3,3 +3,5 @@ DIST Ice-3.4.2.pdf.gz 4232836 SHA256 6400efa65f879f964590759222dd46010bfeb3e4307
DIST Ice-3.4.2.tar.gz 5485106 SHA256 dcf0484495b6df0849ec90a00e8204fe5fe1c0d3882bb438bf2c1d062f15c979 SHA512 4a69fbddf53112d36805dd276c9af5e221677ea45108553e1e7d580e18ba5a61b2444b8b44d5b2a88132cdebcba989a0dc212029ccbd8e17a2e70bcf50ebb6c8 WHIRLPOOL a79c0348d0454d802af85c72c249a9e162108b71391a77f7b0c9887f3d22974dd4729426308247af8aabda6babc0608691fbb622ac25a54820e8c20ca4e80ec7
DIST Ice-3.5.0.pdf 11534532 SHA256 20ae6c1b0a563458ec0afe28130ab22f0328e0cd0da3000ae109bb41d42d2a88 SHA512 de427f632664fe4bee6768da07015f12ccef8c242644f343a51aa30b2220450a57afd624946e814caca678a37114a0fc20bcfb4f73375a42463fd0d5078aa61a WHIRLPOOL 6a2de0630e4643ca79917df43e20a4147474c776d4852ec49ee4affeb335365d28915a6319a6a9819b4d8423c2b4664cc232244ae2b35b7ee6e2d6f440bd98e5
DIST Ice-3.5.0.tar.gz 5388847 SHA256 583d4a819d50ad8b79b1e9ad45abfa3078f981486271ca8cd9ede8fa420ff575 SHA512 a84451690e1bfa2d7d3bbc90cf6233fe9d20b2cadca7f3dbc9802d51e8fbe81fd4203c6c780960b4baab9cfaa891bd0821b46e651f0fe43a58e32ca37410be21 WHIRLPOOL bb1f6e1ae9161dfa71c4e3db910a91515a6dd2d161e58dca952f2c05fe5086ab645e4c9ba36fa4490fc87deb328665e6488c1b330ee4e6e42b183252bd51c846
DIST Ice-3.5.1.pdf 8279548 SHA256 236f509a3868301ebe688f50417f30155ffa1d330a6c7ab3ef926d40ab145150 SHA512 6fe78ed629de330c56cf260a0a78d650ad9e1507d737a8e58c616f1c61897487dae2f9fb942f1e878706dbc645cb9c672377eeef905f8764b57dd7e6f8d1c7f2 WHIRLPOOL 9fc90d131b028b74f3393df88adb8719a1fef0f829a6226e833c95bcf3bc6b53394a11e3722f0fad2a5597b2468498728310a6e974e1dcb1138fea0ab5b68b28
DIST Ice-3.5.1.tar.gz 4799296 SHA256 989e51194c6adadbd156da3288e37bad847b93b3b876502e83033b70493af392 SHA512 610fa317bd75e64802d1b5216db4747f86157d3246a2022397bafaefdd9b1b78d131733762003ee779065401c8a83120db65cf9b86fbf1914266309571baf58f WHIRLPOOL 0b760edcd7e3eb1220af81a2236634b86775a18050b0645e4e662bf0fb543aa14177d83e2c8659a62bd5bf6e403384998b893e84b9d547c32bbc2064b5f7de9c

@ -1 +1,2 @@
DIST colorama-0.2.4.tar.gz 13070 SHA256 ab2a1f39493a7cfe61b919ec3c6c204f593db2bf3818a70f6f0aa6b8b0a52e55 SHA512 89e3c439d097972454a0337af23a87c7400b32a0aa968719ed6f14b77f245dec8ed73643e626266d206dcfaf5ef0c45e843eda9270135454c1c9190a810bfcbc WHIRLPOOL 3bcc2a658946c7f80e3b058b3cbc251858f40579770c97bf070f7f911deb5a2a1fb30056e51704c0565c1654f27445e4cdfd954501687365a08fb38ff15d97c0
DIST colorama-0.2.7.tar.gz 18513 SHA256 37dc4e718795a6c5d172de35dab1a278625f78c49883519e337834ff40dddde5 SHA512 6ed350b0e1fa3d60775643ee1437b6277478cebf92e5f7de346a79dc1b038fb72b1dd16cf5c0ef87c6cb0b6627eda3a00b57fdc8d62cc5a9431856d3668d1507 WHIRLPOOL ec6443afe43ab7227102fbb1508d7837535dbe07f8ffb62d1c3394e348a6cd5647f86aba20168f8a9fef0d29f39435969284d5c02b419e33aa613b9c335d1bc2

@ -0,0 +1,18 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/colorama/colorama-0.2.7.ebuild,v 1.1 2013/10/10 21:08:50 radhermit Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
inherit distutils-r1
DESCRIPTION="Makes ANSI escape character sequences, for producing colored
terminal text and cursor positioning."
HOMEPAGE="http://code.google.com/p/colorama/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

@ -8,7 +8,9 @@
</maintainer>
<longdescription lang="en">
Makes ANSI escape character sequences, for producing colored terminal text
and cursor positioning, works under MS Windows.
and cursor positioning, works under MS Windows.
</longdescription>
<upstream>
<remote-id type="pypi">colorama</remote-id>
</upstream>
</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/dev-python/gst-python/gst-python-0.10.22-r1.ebuild,v 1.2 2013/05/03 13:50:40 jlec Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/gst-python/gst-python-0.10.22-r1.ebuild,v 1.4 2013/10/11 05:17:27 ago Exp $
EAPI="5"
@ -14,7 +14,7 @@ SRC_URI="http://gstreamer.freedesktop.org/src/${PN}/${P}.tar.bz2"
LICENSE="LGPL-2"
SLOT="0.10"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
IUSE="examples test"
RDEPEND="

@ -0,0 +1 @@
DIST json_tools-0.3.2.tar.gz 8922 SHA256 246f287787582c206bf31a5a01bb823c0daaa979753d711c71bbf6f4d597bd1d SHA512 b6fe64f1acff8805bb30a01759a2f12536b6864ec4382ebc4c366a89a58e0a309136b49404007cb6df83800b0cfc33dd21c94fa7a5390a75760e1dd89da2198b WHIRLPOOL 72e20b29efb558322c657f6c98a4fd1c86c5e37fad1347e20d7cf685dca3136b18d375b93cf0932556f44a3e7ba993715dc3153320134d87847fab5a7bd42098

@ -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/json-tools/json-tools-0.3.2.ebuild,v 1.1 2013/10/10 22:23:34 radhermit Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
inherit distutils-r1
MY_PN="json_tools"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="A set of tools to manipulate JSON: diff, patch, and pretty-printing"
HOMEPAGE="https://pypi.python.org/pypi/json_tools https://bitbucket.org/vadim_semenov/json_tools"
SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="dev-python/colorama[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
S=${WORKDIR}/${MY_P}
python_test() {
nosetests || die "Tests fail with ${EPYTHON}"
}

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
<upstream>
<remote-id type="pypi">json_tools</remote-id>
</upstream>
</pkgmetadata>

@ -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-python/pychart/pychart-1.39-r1.ebuild,v 1.1 2013/10/10 16:46:50 mgorny Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 )
inherit distutils-r1
MY_P=PyChart-${PV}
DESCRIPTION="Python library for creating charts"
HOMEPAGE="http://home.gna.org/pychart/"
SRC_URI="http://download.gna.org/pychart/${MY_P}.tar.gz
doc? ( http://download.gna.org/pychart/${PN}-doc.tar.gz )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
IUSE="doc examples"
DEPEND="app-text/ghostscript-gpl"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
python_install_all() {
use doc && local HTML_DOCS=( "${WORKDIR}"/${PN}/. )
use examples && local EXAMPLES=( demos/. )
distutils-r1_python_install_all
}

@ -1,3 +1 @@
DIST pyOpenSSL-0.12.tar.gz 236041 SHA256 4517e9630a90db09ab8fe77d4dad753d5514a5f76b65ac327a7cd5a1d1ddd8a8 SHA512 aa89859fc7440251515ba0e4b752b39635c575f31f16ae4589c1b5154995316d5e5be102738388f039c96f19cf828b8ac2a1812f8f24d85b6f15911905bea367 WHIRLPOOL 4a290c8ae6ec53449820f82138b49b7f594276b0a3ea3857d962db588dbadf35c6a4f01b863ac00a13d77d166b5bcf947554c5cb8e90e830d6f9ba5ec820cc04
DIST pyOpenSSL-0.13.1.tar.gz 254431 SHA256 ba06ec710414f6dfe5566ec24c81882547c3e6fc48458d64315b73a0d5142fdb SHA512 5be0fddd0517566fa954e13854a428a21962b13f0c31a8ca0a27d90b74b3a9cfc60e3650e5915a28b3e55b97c655d4a6589122408ef61e6dea509745662bbc0e WHIRLPOOL 5d6500a21ab3808765b9a5cf14beac66b5359ba5c184d0de02839f3f0b7c4935fe4f656577866b6c4f1bae2e1461f4fbb41fb6cb4615c3d02efb408010bc3dc5
DIST pyOpenSSL-0.13.tar.gz 250489 SHA256 21e12b03abaa0e04ecc8cd9c251598f71bae11c9f385304234e4ea5618c6163b SHA512 23009b9c3d7e65d511edc4beebe2370e0dd2b21fa4e4fe61569e41f845261b02965aeb54e397ae5de0ec5db1e8ea21510aae387919a776ba820a97df40f7b75f WHIRLPOOL 3c25520b9f6e517d3f1193385f0bc54eca3d4a8ed387535aed2c281ea5d27712df23dc4606f93d730d91514978a84db4da12bcd706426081aa71a6cf9f38e67d

@ -1,14 +0,0 @@
--- OpenSSL/ssl/context.c
+++ OpenSSL/ssl/context.c
@@ -1095,7 +1095,11 @@
*/
static ssl_ContextObj*
ssl_Context_init(ssl_ContextObj *self, int i_method) {
+ #if OPENSSL_VERSION_NUMBER >= 0x10000000L
+ const SSL_METHOD *method;
+ #else
SSL_METHOD *method;
+ #endif
switch (i_method) {
case ssl_SSLv2_METHOD:

@ -1,104 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopenssl/pyopenssl-0.12.ebuild,v 1.11 2011/12/22 20:24:16 floppym Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="*-jython"
inherit distutils eutils
MY_PN="pyOpenSSL"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Python interface to the OpenSSL library"
HOMEPAGE="http://pyopenssl.sourceforge.net/ https://launchpad.net/pyopenssl http://pypi.python.org/pypi/pyOpenSSL"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
IUSE="doc"
RDEPEND=">=dev-libs/openssl-0.9.6g"
DEPEND="${RDEPEND}
doc? (
=dev-lang/python-2*
>=dev-tex/latex2html-2002.2
)"
S="${WORKDIR}/${MY_P}"
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
PYTHON_MODNAME="OpenSSL"
src_prepare() {
distutils_src_prepare
epatch "${FILESDIR}/${PN}-0.11-openssl-1.patch"
# Disable tests failing with OpenSSL >=1.0.0.
sed \
-e "s/test_dump_privatekey/_&/" \
-e "s/test_export_without_args/_&/" \
-e "s/test_export_without_mac/_&/" \
-e "s/test_friendly_name/_&/" \
-e "s/test_load_pkcs12/_&/" \
-e "s/test_various_empty_passphrases/_&/" \
-e "s/test_zero_len_list_for_ca/_&/" \
-e "s/test_subject_name_hash/_&/" \
-i OpenSSL/test/test_crypto.py
sed -e "s/test_load_verify_directory/_&/" -i OpenSSL/test/test_ssl.py
sed -e "s/python/&2/" -i doc/Makefile
}
src_compile() {
distutils_src_compile
if use doc; then
addwrite /var/cache/fonts
pushd doc > /dev/null
emake -j1 html ps dvi || die "Generation of documentation failed"
popd > /dev/null
fi
}
src_test() {
test_package() {
pushd OpenSSL/test > /dev/null
local return_status="0" test
for test in test_*.py; do
einfo "Running ${test}..."
if ! PYTHONPATH="$(ls -d ../../build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" "${test}"; then
eerror "${test} failed with $(python_get_implementation) $(python_get_version)"
return_status="1"
fi
done
popd > /dev/null
return "${return_status}"
}
python_execute_function test_package
}
src_install() {
distutils_src_install
delete_tests() {
rm -fr "${ED}$(python_get_sitedir)/OpenSSL/test"
}
python_execute_function -q delete_tests
if use doc; then
dohtml doc/html/* || die "dohtml failed"
dodoc doc/pyOpenSSL.* || die "dodoc failed"
fi
# Install examples
insinto /usr/share/doc/${PF}/examples
doins -r examples/* || die "doins failed"
}

@ -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/pyopenssl/pyopenssl-0.13-r1.ebuild,v 1.11 2013/09/05 18:47:10 mgorny Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopenssl/pyopenssl-0.13.1-r1.ebuild,v 1.2 2013/10/10 11:41:40 djc Exp $
EAPI=5
@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
IUSE="doc"
RDEPEND=">=dev-libs/openssl-0.9.6g"
@ -60,6 +60,8 @@ python_test() {
for t in test_*.py; do
"${PYTHON}" "${t}" || die "Test ${t} fails with ${EPYTHON}"
done
# https://bugs.launchpad.net/pyopenssl/+bug/1237953
rm -rf tmp* *.key *.pem
}
python_install_all() {

@ -1,92 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopenssl/pyopenssl-0.13.ebuild,v 1.4 2012/05/08 23:47:18 aballier Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="*-jython"
PYTHON_TESTS_FAILURES_TOLERANT_ABIS="3.1"
inherit distutils
MY_PN="pyOpenSSL"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Python interface to the OpenSSL library"
HOMEPAGE="http://pyopenssl.sourceforge.net/ https://launchpad.net/pyopenssl http://pypi.python.org/pypi/pyOpenSSL"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
IUSE="doc"
RDEPEND=">=dev-libs/openssl-0.9.6g"
DEPEND="${RDEPEND}
doc? (
=dev-lang/python-2*
>=dev-tex/latex2html-2002.2
)"
S="${WORKDIR}/${MY_P}"
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
PYTHON_MODNAME="OpenSSL"
src_prepare() {
distutils_src_prepare
sed \
-e "s/test_set_tlsext_host_name_wrong_args/_&/" \
-i OpenSSL/test/test_ssl.py
sed -e "s/python/&2/" -i doc/Makefile
}
src_compile() {
distutils_src_compile
if use doc; then
addwrite /var/cache/fonts
pushd doc > /dev/null
emake -j1 html ps dvi || die "Generation of documentation failed"
popd > /dev/null
fi
}
src_test() {
test_package() {
pushd OpenSSL/test > /dev/null
local exit_status="0" test
for test in test_*.py; do
einfo "Running ${test}..."
if ! PYTHONPATH="$(ls -d ../../build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" "${test}"; then
eerror "${test} failed with $(python_get_implementation_and_version)"
exit_status="1"
fi
done
popd > /dev/null
return "${exit_status}"
}
python_execute_function test_package
}
src_install() {
distutils_src_install
delete_tests() {
rm -fr "${ED}$(python_get_sitedir)/OpenSSL/test"
}
python_execute_function -q delete_tests
if use doc; then
dohtml doc/html/* || die "dohtml failed"
dodoc doc/pyOpenSSL.* || die "dodoc failed"
fi
insinto /usr/share/doc/${PF}/examples
doins -r examples/* || die "doins failed"
}

@ -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/pywebdav/pywebdav-0.9.8-r1.ebuild,v 1.1 2013/10/10 16:31:38 mgorny Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 )
inherit distutils-r1
MY_P=${P/pywebdav/PyWebDAV}
DESCRIPTION="WebDAV server written in Python"
HOMEPAGE="http://code.google.com/p/pywebdav/ http://pypi.python.org/pypi/PyWebDAV"
SRC_URI="http://pywebdav.googlecode.com/files/${MY_P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${MY_P}
python_install_all() {
distutils-r1_python_install_all
dodoc doc/{ARCHITECTURE,Changes,TODO,interface_class,walker}
}

@ -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-qt/qtlockedfile/qtlockedfile-2.4.1.ebuild,v 1.2 2013/09/18 11:51:10 pinkbyte Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtlockedfile/qtlockedfile-2.4.1.ebuild,v 1.3 2013/10/10 10:19:53 pinkbyte Exp $
EAPI=5
@ -14,7 +14,7 @@ SRC_URI="http://dev.gentoo.org/~kensington/distfiles/${MY_P}.tar.gz"
LICENSE="|| ( LGPL-2.1 GPL-3 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc"
DEPEND="dev-qt/qtcore:4"

@ -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-qt/qtsingleapplication/qtsingleapplication-2.6.1.ebuild,v 1.2 2013/09/09 17:14:42 kensington Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtsingleapplication/qtsingleapplication-2.6.1.ebuild,v 1.3 2013/10/10 10:26:11 pinkbyte Exp $
EAPI=5
@ -14,7 +14,7 @@ SRC_URI="http://dev.gentoo.org/~kensington/distfiles/${MY_P}.tar.gz"
LICENSE="|| ( LGPL-2.1 GPL-3 )"
SLOT="0"
KEYWORDS="~amd64"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc"
DEPEND="dev-qt/qtcore:4

@ -1,2 +1,3 @@
DIST amq-protocol-1.6.0.gem 41472 SHA256 05e2ab33c39588f04c96649fd4fb6c1c6295a7fabe18310db16e2555c93a4c7f SHA512 596b6d1f80c97584d4cb01a9f13547b963f9c59f99ff536d46c999775d738517ac35a9539e6db1970aad6a7e86606f4680be635b46f7cab61b4e3d92aec42f70 WHIRLPOOL 2b1691aaaaa451f30f9da122dc1f851edf8ed5be06b8cd6f6e4383e23f0899383090ce7fb05deed4a9fd9fe4522b6ac31f595bfa439286e864b90a6f50f01fef
DIST amq-protocol-1.7.0.gem 41472 SHA256 8bacc5c7f3672a0a1a010eca6dde734952dc47aa6a3165a64a920b8334490a76 SHA512 4f894ddd3b0c14252715e8751629c96301b8dadb255151d5469be601dbd23b48c57bba3c0ad1b45257e0a502b1cac6f4ef88d957f24dca9acc35fdc72b49fbd1 WHIRLPOOL 814ddc87a1d1538d5ebf475e84dc6c4f4008f1b99ad72248d20a8ed836383bd5a45df8fbd864618a45871cd83e2805815c520922cb545290abf81251ca3fe049
DIST amq-protocol-1.8.0.gem 41984 SHA256 1954900fa196754cf297902dc28436ceddea4b83ee3f6c41294372f628a0e0d3 SHA512 2d00ec57ab3967676213a089b106a1e151afb8b192d366fa3843e6001e727b4ba969df6f60fdda3f664873a1247aab260ae53768c0e40c69cc63ab41ede8e72f WHIRLPOOL b650eec61d20fc1dd365ed9f2dd4bf3900818c419d4f2314e9c1d4c146bd5c862e78a06df324935996ad4f061750ebcf316f7f1c3471a47bf39eaa68c8a73c0e

@ -0,0 +1,26 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/amq-protocol/amq-protocol-1.8.0.ebuild,v 1.1 2013/10/11 05:47:16 graaff Exp $
EAPI=5
USE_RUBY="ruby18 ruby19 ruby20 jruby"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_RECIPE_TEST="rspec"
inherit ruby-fakegem
DESCRIPTION="An AMQP 0.9.1 serialization library for Ruby."
HOMEPAGE="http://github.com/ruby-amqp/amq-protocol"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
all_ruby_prepare() {
rm Gemfile || die
sed -i -e '/bundler/ s:^:#:' -e '/effin_utf8/ s:^:#:' spec/spec_helper.rb || die
}

@ -1 +1,2 @@
DIST database_cleaner-1.1.1.gem 43008 SHA256 cd26e88625aafcecb3f984032798318b100bc8de5bc844235ac33e88bd2034af SHA512 0cc021c8610f56cc76b111b02491c3bd9949042cc5746a43cc377a11041ed667fbdb58e019dcf47d69f5b6c9e4d59f1a22a9fe1ebc93c3c2d96fee6b8b693ff8 WHIRLPOOL e9f5fe32e279153821c215577029d9d3073e2deacca4e1fa2bba12a26207bbd7210559be5ee082d7304525c88dde7c0ddb5179663dffc9ba991d02ab5528fdeb
DIST database_cleaner-1.2.0.gem 43520 SHA256 6c40cbfbfda67a5975f99cac4c1afbdec5560acca3ea4b0a455d7c994faad04e SHA512 dd06a21bce355878b0ea562b2f1019caa9a763b78a474a943b22715bc65493c0931a294e7c64ef857145674bd3925afbc14092abdf5dac00a0113d7d9dc5dbb8 WHIRLPOOL fd599afdaffb8ab131931dabb32ef3041c26a965a23e3cdee7be10c46456a973e0aefba8073806320f6cc1f2308e489e2dac4ae36d84c2f7856e3f8ba03f9c1b

@ -0,0 +1,25 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/database_cleaner/database_cleaner-1.2.0.ebuild,v 1.1 2013/10/11 05:41:44 graaff Exp $
EAPI=5
USE_RUBY="ruby18 ruby19 ruby20"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_TASK_DOC="examples"
RUBY_FAKEGEM_EXTRADOC="History.rdoc README.markdown TODO"
# There are specs and features but they all require configured databases.
RUBY_FAKEGEM_RECIPE_TEST="none"
inherit ruby-fakegem
DESCRIPTION="Strategies for cleaning databases"
HOMEPAGE="http://github.com/bmabey/database_cleaner"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""

@ -1,4 +1,5 @@
DIST sass-3.1.21.gem 233472 SHA256 08502fc7889187909d66098629a89a9901d4dce13626339f4976c1e8d16b4a57 SHA512 fed0700147bd8adc90927a16ae2b5a3256392fa6d969c4281ea0189d728e2f0818f5b88b60aea5b59288730e3897bdf58a83ed72b48d4a538d14d16c85234062 WHIRLPOOL 57e59efa57af97c26a80cd83c4d0fe9eda8d30f664e73eab01400fa5c7171a16d0ed6400ebc8680dc78885e961b78a7252d4ea0dbe5d94209f6cca70a6896cb2
DIST sass-3.2.10.gem 261632 SHA256 03894e68201da1934891e4707e1ed7813a59c9dee9d61a170fdfa10f8973ce2a SHA512 3facb41d2a41b5706036359a6f75902ba4589a02516600bc752420f3a36f41dcf688bea49fce36f308220d267cf92759e92c29011c0ca8d16f20ddbe8c553073 WHIRLPOOL 1b345e20e4becaf43dc74f6f2f231f58562c1cdb4941c09768774f5caca6516a3d4fd703e8b6bb6ed10cfcd38a7c416387bc7d2647ffb3ff833d7cdc8149898f
DIST sass-3.2.11.gem 263168 SHA256 eb647a6c6e3425e00cda09807a0f1d197b180cfd621ccbcabea52f68575681b5 SHA512 1d4df35684edc4fe6cfb2b92b774bf18f8508bb45daab6cbafdfd08528a49cc7eae183295794937d744c8b014a8720c39510c07513efc66a4557c0eb6abe7965 WHIRLPOOL 9080ca00e7f2cbde5859516ecca82623c987491866a569298505333299b6e9838e2ec575ab83e85508880b2a9bc0df67c1eb231a93e137b133c69d4de00f11e1
DIST sass-3.2.12.gem 263168 SHA256 c88d548a265a003d5883ce8b258a3cc523e084a773d5932232dd9ea0220a811c SHA512 89e2ec7ff61e2f34eb3aa338f7b93d841e1f28ed2805495128c3934258ea9a3822f026d1f3c2e5f4cedb282e5e3232eb3d8252d77aa40117693003a60b97b7cb WHIRLPOOL c7b6fe8501b91bd2199fd8d4195a6e454ca3ce3a66db9299f82e873b02434a3d37dcdef827021e47b270fbe6bb611d8e6c29132910f72ed36ce9799893f1f7b3
DIST sass-3.2.9.gem 259584 SHA256 f88433638d8dcf31366e55451087e04fb1aecc29c554f240647baba8495c9b22 SHA512 1f018e5276a6d9c03d943b6f2130957a802f31c2079566a9990298b7010121ae623f7183bd3ccdafdeb3fdf1b9338081823098c6f8c0abc734ffb5b5f139f806 WHIRLPOOL be91597cf78679e9758053a442156ca0231e0583c52bb0c18c7c81374724537a3e730874fa581bd76050c11b96b09cff92076208cd3e35937ae1d3c16ed4f8d7

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

@ -1,3 +1 @@
DIST thread2.6.2.tar.gz 267344 SHA256 7f7b6a10102989f55b57946837e965e307b3dddfc65ac50438422ce937dcff7c SHA512 57d10c010d98c2249bc5d82a8a0a51ea6aca199f7649cdaaccf63a060e264897e004f5021c5925302393f5b388642355effa57c7eb6b7a4425be7a0a1054f8dc WHIRLPOOL 2d580b4d7836a60a0c82148dd78297ab765ef0c6ec5c212209891185967df864004efec37c477acfd7443c6375e81f0d2a264ff5e26d8ab14f102d45960b8213
DIST thread2.6.6.tar.gz 281212 SHA256 d8fbfab2bed21d4c43bb0eb6d17b095378849e5a2e1a748b1b3d02e75b5aeb29 SHA512 3fed9311d622e3b31617d96fba5ee2932cd50a4b9e438b314c3d616b7147d3f3e93829771bede1e4f3378b4a0dcaf8d99eba99a7b4bcaab80ef35dc40ae0a7d9 WHIRLPOOL 4fde8e8e955c8378825d0def51e2d99d4df7791dd1aeb98cf174b232366e6f885c2a7dac2ebd03d7e568481878b064ba362df5831f197d8f33455c777de77cb6
DIST thread2.7.0.tar.gz 293785 SHA256 c10ac6873fdf1e62f55fccb633f4a595fc9924f7a5390a507605943ad7093870 SHA512 bc133a4a6d59bd2608cd3aae15a573d2bc79f3c66bf1c7e33a734779c7c9c4fca568f071af45134fb703f9f037369c8c20655c0ede3d3c1d31f585ab85aff7e3 WHIRLPOOL 929a6fa47383ab4fb56cbe6b49f49a559a39c05cbd751974df01ab5233ca13e62c394c17e1c88b85ffe76cf2a499fd76edba6196543cfc157828c0f4ca56ecf2

@ -1,50 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/thread/thread-2.6.2.ebuild,v 1.17 2011/04/25 17:17:46 jlec Exp $
EAPI=2
inherit autotools eutils multilib
DESCRIPTION="Tcl Thread extension"
HOMEPAGE="http://www.tcl.tk/"
SRC_URI="mirror://sourceforge/tcl/${PN}${PV}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="debug gdbm"
DEPEND="
dev-lang/tcl[threads]
gdbm? ( sys-libs/gdbm )"
RDEPEND="${DEPEND}"
S="${WORKDIR}"/${PN}${PV}
RESTRICT="test"
src_prepare() {
# Search for libs in libdir not just exec_prefix/lib
sed -i -e 's:${exec_prefix}/lib:${libdir}:' \
aclocal.m4 || die "sed failed"
sed -i -e "s/relid'/relid/" tclconfig/tcl.m4
eautoreconf
}
src_configure() {
local myconf=""
use gdbm && myconf+=" --with-gdbm"
use debug && myconf+=" --enable-symbols"
econf \
--with-tclinclude=/usr/include \
--with-tcl="/usr/$(get_libdir)" \
${myconf}
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc ChangeLog README || die
}

@ -1,51 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/thread/thread-2.6.6.ebuild,v 1.2 2011/04/25 17:17:46 jlec Exp $
EAPI=2
inherit autotools eutils multilib
DESCRIPTION="Tcl Thread extension"
HOMEPAGE="http://www.tcl.tk/"
SRC_URI="mirror://sourceforge/tcl/${PN}${PV}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="debug gdbm"
DEPEND="
dev-lang/tcl[threads]
gdbm? ( sys-libs/gdbm )"
RDEPEND="${DEPEND}"
S="${WORKDIR}"/${PN}${PV}
RESTRICT="test"
src_prepare() {
# Search for libs in libdir not just exec_prefix/lib
sed -i -e 's:${exec_prefix}/lib:${libdir}:' \
aclocal.m4 || die "sed failed"
sed -i -e "s/relid'/relid/" tclconfig/tcl.m4
eautoreconf
}
src_configure() {
local myconf=""
use gdbm && myconf+=" --with-gdbm"
use debug && myconf+=" --enable-symbols"
econf \
--with-tclinclude=/usr/include \
--with-tcl="/usr/$(get_libdir)" \
${myconf}
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc ChangeLog README || die
}

@ -1,2 +1,3 @@
DIST git-cola-1.8.2.tar.gz 397346 SHA256 386b29cd70b3c6a14b23790567d2e93168e1eeaaec5d85be37e4f5ce4fd9a977 SHA512 5136749a12d262dd28db4058efd3892a437e5dea18d4fe888248fd7a3891409091e7d36565536fa7d4538354a01f11f8a02e0fd31c2c86ea7159f4e6004b75cc WHIRLPOOL 861af22ba39d6e5a3899fe569c6cfa3651daab6d4d57a4daf07acad133cd2cc1a375da403a94deb943d3a5ddee4e364d5a50b3f7996dbb3310495b57c67a7369
DIST git-cola-1.8.3.tar.gz 404234 SHA256 21b0aaec3d6b1e0edbe3a6bd3f085078ffe15feb812cc0ce87eec023d35705ff SHA512 e9a44036fe947c0125f7e135b19bf1726f99431ca7b190acf3aa992181bea374d2c0999f592d0ae41b4d0db9ba1847e60dbb01e8bd8e0de0aca8aebcd3bd98d9 WHIRLPOOL 69fe66ce951503f04942d746faa677cb2b9b634e804819d5c7a9b2565ffef4dbb7c803491ef567e8e4822a6cfa961d982e3c82293e283155548291a38b50d9c8
DIST git-cola-1.8.5.tar.gz 416920 SHA256 fcefb0e82b8c59b5d063f55edc58d2a1210c4ebab76bef71f01caf91d30b2005 SHA512 5a5042dd00fbf9d342429823e5f89ff413a60dabfb5f2d46cfd203f65b2ec4e8d7cbba8c5f940a3e83b5474a1b050bdbbe3f75ad682535536cb65480b729fbd2 WHIRLPOOL 20530e7f6564a1d6a6c138a0684fd544fa74aa12d5cc87316850b18f602543bd34032a6c8d3333a61a647583c6dcfc5cb44de296bfba32ada0c58314e22f5482

@ -0,0 +1,92 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-cola/git-cola-1.8.5.ebuild,v 1.1 2013/10/11 08:38:32 jlec Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
DISTUTILS_SINGLE_IMPL=true
inherit distutils-r1
DESCRIPTION="The highly caffeinated git GUI"
HOMEPAGE="http://git-cola.github.com/"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
RDEPEND="
dev-python/jsonpickle[${PYTHON_USEDEP}]
dev-python/pyinotify[${PYTHON_USEDEP}]
dev-python/PyQt4[${PYTHON_USEDEP}]
dev-vcs/git"
DEPEND="${RDEPEND}
app-text/asciidoc
app-text/xmlto
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
sys-devel/gettext
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
PATCHES=(
"${FILESDIR}"/1.3.8-disable-tests.patch
"${FILESDIR}"/1.8.1-system-ssh-askpass.patch
)
python_prepare_all() {
# unfinished translate framework
rm test/test_cola_i18n.py || die
# don't install docs into wrong location
sed -i \
-e '/doc/d' \
setup.py || die "sed failed"
sed -i \
-e "s|'doc', 'git-cola'|'doc', '${PF}', 'html'|" \
cola/resources.py || die "sed failed"
distutils-r1_python_prepare_all
}
python_compile_all() {
cd share/doc/${PN}/
if use doc ; then
emake all
else
sed \
-e '/^install:/s:install-html::g' \
-i Makefile || die
fi
}
python_install_all() {
cd share/doc/${PN}/ || die
emake \
DESTDIR="${D}" \
docdir="${EPREFIX}/usr/share/doc/${PF}" \
prefix="${EPREFIX}/usr" \
install
if use doc ; then
HTML_DOCS=( share/doc/${PN}/_build/html/. )
else
HTML_DOCS=( "${FILESDIR}"/index.html )
fi
distutils-r1_python_install_all
}
python_test() {
PYTHONPATH="${S}:${S}/build/lib:${PYTHONPATH}" LC_ALL="C" nosetests \
--verbose --with-doctest --with-id --exclude=jsonpickle --exclude=json \
|| die "running nosetests failed"
}
pkg_postinst() {
elog "Please make sure you have either a SSH key management installed and activated or"
elog "installed a SSH askpass app like net-misc/x11-ssh-askpass."
elog "Otherwise ${PN} may hang when pushing/pulling from remote git repositories via SSH. "
}

@ -1,6 +1,6 @@
DIST exim-4.80.1.tar.bz2 1650082 SHA256 9565b10f06be224fd03adafae2e07e6fdbb479f8873e3894ddb13f98eeebe78f SHA512 ed73dd34dc02ab91896c3cdcedb0618ca3be116904c8eeb1303fc3534f8ab9430083f654fa5af994b0e01049e7fdd22d268fed9a3318b64a56c3a61d7f2174f5 WHIRLPOOL d556b7515f081f39a7bb7cb16804f0e13b37a3295a5f19faf28f9fed0966411f13b521dd7e5a8f42a7a851fa46e15ef8478caff734903080f31e910fb1530eab
DIST exim-4.82_RC2.tar.bz2 1720338 SHA256 8420c5fbea9a3e30a8786303d70367ae82feb5837661ec35b2c1b2e1e3db80fc SHA512 70cee04c87452eaa5defbe20189c7178b3a587233d0e71363e50526f37fe9ac9c24b966b9310fcf3b4c378978b4936844a7e991603d86829f96d9a0ff851db50 WHIRLPOOL a1021f55d5c42f94356448a60ad7634e1e218e5dc9843e3e72099f71a225393146da2f3f9b20a974a9fd4e65e2bb0c6841144d83a3917e2cf3814d4b0e2e1d3d
DIST exim-4.82_RC3.tar.bz2 1722590 SHA256 7ea76127070918d94074d601dc0b495d5fe2f0e37ca10d4764aaf39aceb3035e SHA512 38a3cf76e29a1e46995f739ba98700142047da3c7b2e86026f56cd97147a6c8895627e96d4846d9073297f694eb983179a1c59fde6d06d5287c604aabcbd86fd WHIRLPOOL 35b374a1eeda8963e72ae6279aad0348008174d3fafbdcdba281803ce5dd90a9d80727375edc529c47fd031b33dc87aaeeea5b90aeb180d46b3297411d405af8
DIST exim-html-4.80.1.tar.bz2 404894 SHA256 206ef4acc2641f10f3f23f8ee97cd1f7125486938ea1fc231ac2a1d5d6c9be09 SHA512 c3f7eef6c7d1981185c5d7bae6a1bf4645468d105e85990accf56f66daf809ad8fb0f3e50925339a72c510e2cc0eced864bc06d526e5b735744f4478dd32d373 WHIRLPOOL 7d67d196e0613fba36d7e1e1370b0b1a6f60739befaa7d2f9661bcef9f57df9586aa63a99faa6a5d25619c2cd7186d2bdf27059f1d229be5d8199d6ec3f6b49c
DIST exim-html-4.82_RC2.tar.bz2 458045 SHA256 04c6fde243f0c8c09bad38c6a59484a1c6bcf4698d07fb43bcf3ffc56ce3a71f SHA512 a21a11e872b59c63d2e3bfc91d6a03f698774d1409d2ca8b790fbc1929cb69e2a8c5c45456d1303b393ac4a3a4bf937c23f586137cfbfb8b6c03920f340a45d4 WHIRLPOOL 3ed9778477a9c4b08c87f975fca6dc19b689c1d25264f07fca28e3334aa174f75610b083adef631d80ff07539e6a321da77e3849beeb661489dd8234364a4d75
DIST exim-html-4.82_RC3.tar.bz2 460735 SHA256 88935fe76225ae5658de965e4d34003fe8b7b49652d55798fc01e84fb31ed553 SHA512 1ddab8631140634a44f389461a62fe44a1283dfa010f67a0261155681d06391a4b400b626e323417b30dfc6d5fb03c34337fa03e3a043972b173e298abe2b8cb WHIRLPOOL 927c6a11ba1648cd2601ea97cad67b802d898b1927c73ff3e8a83579b2298f8b59879ad547f290b2640581e311d43c8b268e6be08208027ab7c0aa6d8a5d5de7
DIST exim_469_dsn_1_3.patch 40222 SHA256 605c520ea79507fd387772796c62303c5a49d1dc47b744b4267301096eedd49a SHA512 99cfb5c0c28849452b2b7a6f2b47abf78a77f970465ab5a3a5d68089dd5964610d8c64d1a380051da06f8e85ee7a073ee651b53dbac7451d9be55c78093178e5 WHIRLPOOL 7789e301a9aebe81fc0f3c68875f91e61413b5e8ca41b32562aff6146e1353b5a2a9a158455a18b16cf82a4fdcbb1a8a66fb85842387bc0afbd270ee91e27692
DIST system_filter.exim.gz 3075 SHA256 3a3471b486a09e0a0153f7b520e1eaf26d21b97d73ea8348bdc593c00eb1e437 SHA512 cb358d3ce2499a0bb5920d962a06f2af8486e55ec90c8c928bd8e3aefb279aa57f5f960d5adfcef68bd94110b405eaa144e9629cfe6014a529c79c544600bbf3 WHIRLPOOL ce68d9c18b24eca3ef97ea810964cc1ada5f85b795a7c432ad39b5788188a16419101c92fb52b418738d760e1d658f7a41485e5561079a667d84d276c71be5a4

@ -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/mail-mta/exim/exim-4.82_rc2.ebuild,v 1.2 2013/10/08 18:16:18 grobian Exp $
# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.82_rc3.ebuild,v 1.1 2013/10/10 18:35:42 grobian Exp $
EAPI="4"

@ -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/media-libs/gst-plugins-bad/gst-plugins-bad-1.0.10.ebuild,v 1.1 2013/09/01 17:39:26 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins-bad/gst-plugins-bad-1.0.10.ebuild,v 1.3 2013/10/11 05:17:30 ago Exp $
EAPI="5"
@ -10,7 +10,7 @@ DESCRIPTION="Less plugins for GStreamer"
HOMEPAGE="http://gstreamer.freedesktop.org/"
LICENSE="LGPL-2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE="+orc"
RDEPEND="

@ -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/media-libs/gst-plugins-base/gst-plugins-base-1.0.10.ebuild,v 1.1 2013/09/01 16:46:58 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins-base/gst-plugins-base-1.0.10.ebuild,v 1.3 2013/10/11 05:17:34 ago Exp $
EAPI="5"
@ -10,7 +10,7 @@ DESCRIPTION="Basepack of plugins for gstreamer"
HOMEPAGE="http://gstreamer.freedesktop.org/"
LICENSE="GPL-2+ LGPL-2+"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="alsa +introspection ivorbis +ogg +orc +pango theora +vorbis X"
REQUIRED_USE="
ivorbis? ( ogg )

@ -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/media-libs/gst-plugins-good/gst-plugins-good-1.0.10.ebuild,v 1.1 2013/09/01 17:08:29 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins-good/gst-plugins-good-1.0.10.ebuild,v 1.3 2013/10/11 05:17:37 ago Exp $
EAPI="5"
@ -11,7 +11,7 @@ DESCRIPTION="Basepack of plugins for gstreamer"
HOMEPAGE="http://gstreamer.freedesktop.org/"
LICENSE="LGPL-2.1+"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd"
IUSE="+orc"
RDEPEND="

@ -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/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.0.10.ebuild,v 1.1 2013/09/01 18:40:32 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.0.10.ebuild,v 1.3 2013/10/11 05:17:40 ago Exp $
EAPI="5"
@ -11,7 +11,7 @@ DESCRIPTION="Basepack of plugins for gstreamer"
HOMEPAGE="http://gstreamer.sourceforge.net"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd"
IUSE="+orc"
RDEPEND="

@ -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/media-libs/gstreamer/gstreamer-1.0.10.ebuild,v 1.1 2013/09/01 16:46:02 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/gstreamer-1.0.10.ebuild,v 1.3 2013/10/11 05:17:43 ago Exp $
EAPI="5"
@ -12,7 +12,7 @@ SRC_URI="http://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz"
LICENSE="LGPL-2+"
SLOT="1.0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="+introspection nls +orc test"
RDEPEND="

@ -1,3 +1,2 @@
DIST libgphoto2-2.4.14.tar.bz2 4481384 SHA256 59b32d45252f67d066cc3bda7a59f8078e0cf4e7f23590a4b621633e81060292 SHA512 4abc89ee2d714deab98cdba84d0497b7262105ade3b3c43eaa8936b6e5359a8dc50c49c217fff37f013e0ce7404b82b4c7c2f90af49274a3ecb9f15e10747a73 WHIRLPOOL 0b9674c93f62cd060fc2134816b8dfd809e9276b8ffd943b9856ca57fac319dc4201aeab71a267a1d547bfcc7c4e80cd97d8a9d37528e16703adb57084630faf
DIST libgphoto2-2.5.1.1.tar.bz2 3363878 SHA256 b4a3a9eeb89bc90d1d10f291e792d7744f415ebc4c4347f4177e83dcb3b7ed14 SHA512 a24f37ea077d3eea731799dafe107787f6a8a4e27aa214e03973bdd897a5ef4d934b5fe04aad23191141bedbfe8d40c320b2bcb15e5c1d242af9dcc8ce3a4418 WHIRLPOOL 1403ef8c51fb84538784b9335e64a3cadc6e974d24a519e5978fc6090fd7cba05ad1a6d5ebd93536a5683fb4513d1136ca744ea5ad7334576ed773bc7a4d2cfc
DIST libgphoto2-2.5.2.tar.bz2 6446235 SHA256 a32d113555bcb59e332b33ca00f28878b5a6151edb7f18735daee81d280a2838 SHA512 f572fc6bdcb6a6363ad3ad7ac86fdd401c1d86ce82497d36c2b3c6ca6242b880e72246d8fe3e9624ecb813b3c0b123bd14adf2d1bf69a2bee3a0e837b0a4a527 WHIRLPOOL 23db9e272f3d6038c1c7eb019996eceb67a1afbbda54d7101bcc3ccb44d3bebccdd836430aac5d6c7757f55fb544256ee3cf029304b9a9a493832b0fe11979a8

@ -1,209 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/libgphoto2-2.5.1.1.ebuild,v 1.1 2013/02/04 20:10:55 pacho Exp $
# TODO
# 1. Track upstream bug --disable-docs does not work.
# http://sourceforge.net/tracker/index.php?func=detail&aid=1643870&group_id=8874&atid=108874
EAPI="5"
inherit autotools eutils multilib udev user
DESCRIPTION="Library that implements support for numerous digital cameras"
HOMEPAGE="http://www.gphoto.org/"
SRC_URI="mirror://sourceforge/gphoto/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0/6" # libgphoto2.so soname version
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux"
IUSE="doc examples exif gd jpeg nls kernel_linux zeroconf"
# By default, drivers for all supported cameras will be compiled.
# If you want to only compile for specific camera(s), set CAMERAS
# environment to a space-separated list (no commas) of drivers that
# you want to build.
IUSE_CAMERAS="
adc65 agfa_cl20 aox ax203
barbie
canon casio_qv clicksmart310
digigr8 digita dimagev dimera3500 directory
enigma13
fuji
gsmart300
hp215
iclick
jamcam jd11 jl2005a jl2005c
kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150
largan lg_gsm
mars mustek
panasonic_coolshot panasonic_l859 panasonic_dc1000 panasonic_dc1580 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2
ricoh ricoh_g3
samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 st2205 stv0674 stv0680 sx330z
template toshiba_pdrm11 topfield tp6801
"
for camera in ${IUSE_CAMERAS}; do
IUSE="${IUSE} cameras_${camera}"
done
# libgphoto2 actually links to libtool
RDEPEND="virtual/libusb:0
cameras_ax203? ( media-libs/gd:= )
cameras_st2205? ( media-libs/gd:= )
zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
exif? ( >=media-libs/libexif-0.5.9:= )
gd? ( media-libs/gd[jpeg=] )
jpeg? ( virtual/jpeg )
sys-devel/libtool"
DEPEND="${RDEPEND}
virtual/pkgconfig
sys-devel/flex
>=sys-devel/gettext-0.14.1
doc? ( app-doc/doxygen )"
# FIXME: gtk-doc is broken
# >=dev-util/gtk-doc-1.10 )"
RDEPEND="${RDEPEND}
!<sys-fs/udev-136"
pkg_pretend() {
if ! echo "${USE}" | grep "cameras_" > /dev/null 2>&1; then
einfo "No camera drivers will be built since you did not specify any."
fi
if use cameras_template || use cameras_sipix_blink; then
einfo "Upstream considers sipix_blink & template driver as obsolete"
fi
}
pkg_setup() {
enewgroup plugdev
}
src_prepare() {
# Handle examples ourselves
sed 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
|| die "examples sed failed"
# Fix pkgconfig file when USE="-exif"
if ! use exif; then
sed -i "s/, @REQUIREMENTS_FOR_LIBEXIF@//" libgphoto2.pc.in || die " libgphoto2.pc sed failed"
fi
# Fix USE=zeroconf, bug #283332
epatch "${FILESDIR}/${PN}-2.4.7-respect-bonjour.patch"
eautoreconf
}
src_configure() {
local cameras
local cam
local cam_warn=no
for cam in ${IUSE_CAMERAS} ; do
if use "cameras_${cam}"; then
cameras="${cameras},${cam}"
else
cam_warn=yes
fi
done
if [ "${cam_warn}" = "yes" ]; then
[ -z "${cameras}" ] || cameras="${cameras:1}"
einfo "Enabled camera drivers: ${cameras:-none}"
ewarn "Upstream will not support you if you do not compile all camera drivers first"
else
cameras="all"
einfo "Enabled camera drivers: all"
fi
local myconf
use doc || myconf="ac_cv_path_DOXYGEN=false"
econf \
--disable-docs \
--disable-gp2ddb \
$(use_with zeroconf bonjour) \
--without-hal \
$(use_enable nls) \
$(use_with exif libexif auto) \
$(use_with gd) \
$(use_with jpeg) \
--with-drivers=${cameras} \
--with-doc-dir="${EPREFIX}"/usr/share/doc/${PF} \
--with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html \
--with-hotplug-doc-dir="${EPREFIX}"/usr/share/doc/${PF}/hotplug \
--with-rpmbuild=$(type -P true) \
udevscriptdir="$(udev_get_udevdir)" \
${myconf}
# FIXME: gtk-doc is currently broken
# $(use_enable doc docs)
}
src_compile() {
default
if use doc; then
doxygen doc/Doxyfile || die "Documentation generation failed"
fi
}
src_install() {
default
# Empty dependency_libs in .la files, bug #386665
find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
# Clean up unwanted files
rm "${ED}/usr/share/doc/${PF}/"{ABOUT-NLS,COPYING} || die "rm failed"
dodoc ChangeLog NEWS* README* AUTHORS TESTERS MAINTAINERS HACKING
if use examples; then
insinto /usr/share/doc/${PF}/examples
doins examples/README examples/*.c examples/*.h
fi
# FIXME: fixup autoconf bug
if ! use doc && [ -d "${ED}/usr/share/doc/${PF}/apidocs.html" ]; then
rm -fr "${ED}/usr/share/doc/${PF}/apidocs.html"
fi
# end fixup
local udev_rules cam_list
udev_rules="$(udev_get_udevdir)/rules.d/70-libgphoto2.rules"
cam_list="/usr/$(get_libdir)/libgphoto2/print-camera-list"
if [ -x "${ED}"${cam_list} ]; then
# Let print-camera-list find libgphoto2.so
export LD_LIBRARY_PATH="${ED}/usr/$(get_libdir)"
# Let libgphoto2 find its camera-modules
export CAMLIBS="${ED}/usr/$(get_libdir)/libgphoto2/${PV}"
einfo "Generating UDEV-rules ..."
mkdir -p "${ED}"/${udev_rules%/*}
echo -e "# do not edit this file, it will be overwritten on update\n#" \
> "${ED}"/${udev_rules}
"${ED}"${cam_list} udev-rules version 136 group plugdev >> "${ED}"/${udev_rules} \
|| die "failed to create udev-rules"
else
eerror "Unable to find print-camera-list"
eerror "and therefore unable to generate hotplug usermap."
eerror "You will have to manually generate it by running:"
eerror " ${cam_list} udev-rules version 136 group plugdev > ${udev_rules}"
fi
}
pkg_postinst() {
if ! has_version "sys-auth/consolekit[acl]" ; then
elog "Don't forget to add yourself to the plugdev group "
elog "if you want to be able to access your camera."
fi
local old_udev_rules="${EROOT}"etc/udev/rules.d/99-libgphoto2.rules
if [[ -f ${old_udev_rules} ]]; then
rm -f "${old_udev_rules}"
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/media-libs/libgphoto2/libgphoto2-2.5.2.ebuild,v 1.1 2013/08/03 18:00:52 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/libgphoto2-2.5.2.ebuild,v 1.2 2013/10/10 18:40:36 pacho Exp $
# TODO
# 1. Track upstream bug --disable-docs does not work.
@ -206,7 +206,7 @@ src_install() {
}
pkg_postinst() {
if ! has_version "sys-auth/consolekit[acl]" ; then
if ! has_version "sys-auth/consolekit[acl]" && ! has_version "sys-apps/systemd[acl]" ; then
elog "Don't forget to add yourself to the plugdev group "
elog "if you want to be able to access your camera."
fi

@ -1 +1,2 @@
DIST libmikmod-3.2.0.tar.gz 873258 SHA256 734c8490bbf9b0c587920b92414dcfa3c2267838a0cdf698d5f1fb6bba8f661e SHA512 1f48adb4e1540bb9d2ea90c2f1fd1fb2fc494ae2dd0a6bceb20a8f7f7101f37f8c967b0ce36d5e09943d3afe9319f533867d80e5b5552439d300691bee70e33d WHIRLPOOL f7a7aed29026c66abb9e0f2bfb5d703ad5a0cab7bc0454bf5e612ed995808a2d02361eda33c7bbe0e7aaef6aa9ba5f1ed0d6eaf2853a2d6b497c6359043804c3
DIST libmikmod-3.3.2.tar.gz 1261283 SHA256 2311b209255bf24e95161907a16778cb054ac6d447fd8d05f1f0e41a555c7580 SHA512 7688f7a08a4b4a0771c929812e11882fde4f0e0319626bb39a1978afccf855df6273d0e6d6af36a990c2024d14a189385ba747250e19b1b1d4cd4784c727a994 WHIRLPOOL f81c609a9833e01c26f00d304ea1d88035083dee0cb6098c2c99bf18c49d5a82b361e08f87e42c9f92ac97e99055ef23f8db2fcb34fe3bb26ad9c4d8ac14069f

@ -0,0 +1,62 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libmikmod/libmikmod-3.3.2.ebuild,v 1.2 2013/10/11 06:15:25 ssuominen Exp $
EAPI=5
inherit eutils multilib-minimal
DESCRIPTION="A library to play a wide range of module formats"
HOMEPAGE="http://mikmod.shlomifish.org/"
SRC_URI="http://mikmod.shlomifish.org/files/${P}.tar.gz"
LICENSE="LGPL-2+ LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="+alsa altivec coreaudio debug oss sse2 static-libs +threads"
REQUIRED_USE="|| ( alsa oss coreaudio )"
RDEPEND="alsa? ( media-libs/alsa-lib:=[${MULTILIB_USEDEP}] )
!${CATEGORY}/${PN}:2
abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r3
!app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )"
DEPEND="${RDEPEND}
oss? ( virtual/os-headers )"
multilib_src_configure() {
local mysimd="--disable-simd"
if use ppc || use ppc64 || use ppc-macos; then
mysimd="$(use_enable altivec simd)"
fi
if use amd64 || use x86 || use x86-fbsd || use x86-freebsd || use amd64-linux || use x86-linux || use x86-macos; then
mysimd="$(use_enable sse2 simd)"
fi
# nas: was disabled in 3.2.0 for being broken, unknown for 3.3.2
# sdl, sdl2, openal: missing multilib supported ebuilds, temporarily disabled
ECONF_SOURCE=${S} \
econf \
$(use_enable alsa) \
--disable-nas \
--disable-sdl \
--disable-sdl2 \
--disable-openal \
$(use_enable oss) \
$(use_enable coreaudio osx) \
$(use_enable debug) \
$(use_enable threads) \
$(use_enable static-libs static) \
--disable-dl \
${mysimd}
}
multilib_src_install() {
emake DESTDIR="${D}" install
dosym ${PN}$(get_libname 3) /usr/$(get_libdir)/${PN}$(get_libname 2)
}
multilib_src_install_all() {
dodoc AUTHORS NEWS README TODO
dohtml docs/*.html
prune_libtool_files
}

@ -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/media-libs/mediastreamer/mediastreamer-2.9.0.ebuild,v 1.2 2013/10/09 19:36:13 hasufell Exp $
# $Header: /var/cvsroot/gentoo-x86/media-libs/mediastreamer/mediastreamer-2.9.0.ebuild,v 1.3 2013/10/10 10:20:17 hasufell Exp $
EAPI=5
@ -11,20 +11,21 @@ HOMEPAGE="http://www.linphone.org/"
SRC_URI="mirror://nongnu/linphone/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
SLOT="0/3"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
# Many cameras will not work or will crash an application if mediastreamer2 is
# not built with v4l2 support (taken from configure.ac)
# TODO: run-time test for ipv6: does it really need ortp[ipv6] ?
IUSE="+alsa amr bindist coreaudio debug doc examples +filters g726 g729 gsm ilbc
ipv6 ntp-timestamp opus +ortp oss pcap portaudio pulseaudio sdl silk +speex
ipv6 ntp-timestamp opengl opus +ortp oss pcap portaudio pulseaudio sdl silk +speex
static-libs test theora upnp v4l video x264 X"
REQUIRED_USE="|| ( oss alsa portaudio coreaudio pulseaudio )
video? ( || ( sdl X ) )
video? ( || ( opengl sdl X ) )
theora? ( video )
X? ( video )
v4l? ( video )"
v4l? ( video )
opengl? ( video )"
RDEPEND="alsa? ( media-libs/alsa-lib )
g726? ( >=media-libs/spandsp-0.0.6_pre1 )
@ -38,6 +39,9 @@ RDEPEND="alsa? ( media-libs/alsa-lib )
upnp? ( net-libs/libupnp )
video? (
virtual/ffmpeg
opengl? ( media-libs/glew
virtual/opengl
x11-libs/libX11 )
v4l? ( media-libs/libv4l
sys-kernel/linux-headers )
theora? ( media-libs/libtheora )
@ -117,6 +121,7 @@ src_configure() {
$(use_enable gsm)
$(use_enable ipv6)
$(use_enable ntp-timestamp)
$(use_enable opengl glx)
$(use_enable opus)
$(use_enable ortp)
$(use_enable oss)

@ -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/media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-1.0.10.ebuild,v 1.1 2013/09/01 18:41:11 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-1.0.10.ebuild,v 1.3 2013/10/11 05:17:47 ago Exp $
EAPI="5"
inherit gst-plugins-ugly
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd"
IUSE="+orc"
RDEPEND="

@ -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/media-plugins/gst-plugins-amr/gst-plugins-amr-0.10.19.ebuild,v 1.1 2013/02/03 16:42:56 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-amr/gst-plugins-amr-0.10.19.ebuild,v 1.3 2013/10/11 05:17:50 ago Exp $
EAPI="5"
@ -10,7 +10,7 @@ DESCRIPTION="GStreamer plugin for AMRNB/AMRWB codec"
HOMEPAGE="http://gstreamer.freedesktop.org/"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="media-libs/opencore-amr"

@ -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/media-plugins/gst-plugins-amr/gst-plugins-amr-1.0.10.ebuild,v 1.1 2013/09/01 18:41:34 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-amr/gst-plugins-amr-1.0.10.ebuild,v 1.3 2013/10/11 05:17:50 ago Exp $
EAPI="5"
@ -10,7 +10,7 @@ DESCRIPTION="GStreamer plugin for AMRNB/AMRWB codec"
HOMEPAGE="http://gstreamer.freedesktop.org/"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="media-libs/opencore-amr"

@ -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/media-plugins/gst-plugins-assrender/gst-plugins-assrender-1.0.10.ebuild,v 1.1 2013/09/01 17:41:49 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-assrender/gst-plugins-assrender-1.0.10.ebuild,v 1.3 2013/10/11 05:17:53 ago Exp $
EAPI="5"
inherit gst-plugins-bad
DESCRIPTION="GStreamer plugin for ASS/SSA rendering with effects support"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd"
IUSE=""
RDEPEND=">=media-libs/libass-0.9.4"

@ -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/media-plugins/gst-plugins-cdio/gst-plugins-cdio-1.0.10.ebuild,v 1.1 2013/09/01 18:42:05 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-cdio/gst-plugins-cdio-1.0.10.ebuild,v 1.3 2013/10/11 05:17:58 ago Exp $
EAPI="5"
inherit gst-plugins-ugly
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd"
IUSE=""
RDEPEND=">=dev-libs/libcdio-0.80:="

@ -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/media-plugins/gst-plugins-cdparanoia/gst-plugins-cdparanoia-1.0.10.ebuild,v 1.1 2013/09/01 16:48:03 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-cdparanoia/gst-plugins-cdparanoia-1.0.10.ebuild,v 1.3 2013/10/11 05:18:01 ago Exp $
EAPI="5"
inherit gst-plugins-base gst-plugins10
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
IUSE=""
RDEPEND=">=media-sound/cdparanoia-3.10.2-r3"

@ -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/media-plugins/gst-plugins-dts/gst-plugins-dts-1.0.10.ebuild,v 1.1 2013/09/01 17:42:28 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-dts/gst-plugins-dts-1.0.10.ebuild,v 1.3 2013/10/11 05:18:04 ago Exp $
EAPI="5"
inherit gst-plugins-bad gst-plugins10
DESCRIPTION="GStreamer plugin for MPEG-1/2 video encoding"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd"
KEYWORDS="amd64 ~hppa ~ppc ~ppc64 x86 ~amd64-fbsd"
IUSE="+orc"
RDEPEND="

@ -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/media-plugins/gst-plugins-dv/gst-plugins-dv-1.0.10.ebuild,v 1.1 2013/09/01 17:09:10 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-dv/gst-plugins-dv-1.0.10.ebuild,v 1.3 2013/10/11 05:18:07 ago Exp $
EAPI="5"
inherit gst-plugins-good
DESCRIPTION="GStreamer plugin to demux and decode DV"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd"
IUSE=""
RDEPEND=">=media-libs/libdv-0.100"

@ -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/media-plugins/gst-plugins-dvb/gst-plugins-dvb-1.0.10.ebuild,v 1.1 2013/09/01 17:42:58 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-dvb/gst-plugins-dvb-1.0.10.ebuild,v 1.3 2013/10/11 05:18:10 ago Exp $
EAPI="5"
inherit gst-plugins-bad
DESCRIPION="GStreamer plugin to allow capture from dvb devices"
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86"
KEYWORDS="~alpha amd64 ~arm ~ppc ~ppc64 x86"
IUSE=""
RDEPEND=""

@ -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/media-plugins/gst-plugins-dvdread/gst-plugins-dvdread-1.0.10.ebuild,v 1.1 2013/09/01 18:42:42 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-dvdread/gst-plugins-dvdread-1.0.10.ebuild,v 1.3 2013/10/11 05:18:13 ago Exp $
EAPI="5"
inherit gst-plugins-ugly
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd"
IUSE=""
RDEPEND="media-libs/libdvdread"

@ -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/media-plugins/gst-plugins-faac/gst-plugins-faac-1.0.10.ebuild,v 1.1 2013/09/01 17:43:30 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-faac/gst-plugins-faac-1.0.10.ebuild,v 1.3 2013/10/11 05:18:16 ago Exp $
EAPI="5"
inherit gst-plugins-bad
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86"
IUSE=""
RDEPEND="media-libs/faac"

@ -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/media-plugins/gst-plugins-faad/gst-plugins-faad-1.0.10.ebuild,v 1.1 2013/09/01 17:44:02 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-faad/gst-plugins-faad-1.0.10.ebuild,v 1.3 2013/10/11 05:18:19 ago Exp $
EAPI="5"
inherit gst-plugins-bad
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd"
IUSE=""
RDEPEND="media-libs/faad2"

@ -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/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.13_p201211-r1.ebuild,v 1.2 2013/08/11 21:48:04 aballier Exp $
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-ffmpeg/gst-plugins-ffmpeg-0.10.13_p201211-r1.ebuild,v 1.4 2013/10/11 05:18:22 ago Exp $
EAPI=5
@ -20,7 +20,7 @@ SRC_URI="http://dev.gentoo.org/~tetromino/distfiles/${PN}/${MY_P}.tar.xz
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${MY_P}-libav-9-patches.tar.xz"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd"
IUSE="+orc"
S=${WORKDIR}/${MY_P}

@ -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/media-plugins/gst-plugins-flac/gst-plugins-flac-1.0.10.ebuild,v 1.1 2013/09/01 17:09:45 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-flac/gst-plugins-flac-1.0.10.ebuild,v 1.3 2013/10/11 05:18:25 ago Exp $
EAPI="5"
inherit gst-plugins-good
DESCRIPTION="GStreamer encoder/decoder/tagger for FLAC"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd"
IUSE=""
RDEPEND=">=media-libs/flac-1.1.4"

@ -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/media-plugins/gst-plugins-gdkpixbuf/gst-plugins-gdkpixbuf-0.10.31.ebuild,v 1.1 2013/02/03 13:00:22 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-gdkpixbuf/gst-plugins-gdkpixbuf-0.10.31.ebuild,v 1.3 2013/10/11 05:18:28 ago Exp $
EAPI="5"
inherit gst-plugins-good
DESCRIPION="GdkPixbuf-based image decoder, overlay and sink"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd"
IUSE=""
RDEPEND=">=x11-libs/gdk-pixbuf-2.8:2"

@ -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/media-plugins/gst-plugins-gdkpixbuf/gst-plugins-gdkpixbuf-1.0.10.ebuild,v 1.1 2013/09/01 17:11:44 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-gdkpixbuf/gst-plugins-gdkpixbuf-1.0.10.ebuild,v 1.3 2013/10/11 05:18:28 ago Exp $
EAPI="5"
inherit gst-plugins-good
DESCRIPION="GdkPixbuf-based image decoder, overlay and sink"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd"
IUSE=""
RDEPEND=">=x11-libs/gdk-pixbuf-2.8:2"

@ -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/media-plugins/gst-plugins-gl/gst-plugins-gl-0.10.3.ebuild,v 1.3 2013/09/01 17:20:36 eva Exp $
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-gl/gst-plugins-gl-0.10.3.ebuild,v 1.5 2013/10/11 05:18:31 ago Exp $
EAPI="5"
GST_TARBALL_SUFFIX="gz"
@ -12,7 +12,7 @@ HOMEPAGE="http://gstreamer.freedesktop.org/"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE="libvisual"
RDEPEND="

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

Loading…
Cancel
Save