parent
a9cc939b3a
commit
7fda03246f
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
inherit eutils autotools
|
||||
|
||||
MY_P=${P/4./4b}
|
||||
S=${WORKDIR}/${MY_P}
|
||||
DESCRIPTION="Dump/restore ext2fs backup utilities"
|
||||
HOMEPAGE="http://dump.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="debug ermt libressl readline selinux static"
|
||||
|
||||
RDEPEND=">=sys-fs/e2fsprogs-1.27
|
||||
>=app-arch/bzip2-1.0.2
|
||||
>=sys-libs/zlib-1.1.4
|
||||
ermt? (
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)
|
||||
readline? (
|
||||
sys-libs/readline:0=
|
||||
sys-libs/ncurses:=
|
||||
static? ( sys-libs/ncurses:=[static-libs] )
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
virtual/os-headers"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-underlinking.patch"
|
||||
epatch "${FILESDIR}/${P}-rl_completion_matches-detection.patch"
|
||||
epatch "${FILESDIR}/${P}-fix-pointers-aliasing.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-dumpdatespath=/etc/dumpdates \
|
||||
--with-{bin,man}owner=root \
|
||||
--with-{bin,man}grp=root \
|
||||
--enable-largefile \
|
||||
$(use_enable selinux transselinux) \
|
||||
$(use_enable ermt) \
|
||||
$(use_enable static) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# built on old autotools, no DESTDIR support
|
||||
einstall MANDIR="${D}"/usr/share/man/man8
|
||||
mv "${ED}"/usr/sbin/{,dump-}rmt || die
|
||||
mv "${ED}"/usr/share/man/man8/{,dump-}rmt.8 || die
|
||||
use ermt && newsbin rmt/ermt dump-ermt
|
||||
|
||||
dodoc CHANGES KNOWNBUGS MAINTAINERS README REPORTING-BUGS THANKS TODO
|
||||
dodoc -r examples/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "app-arch/dump installs 'rmt' as 'dump-rmt'."
|
||||
ewarn "This is to avoid conflicts with app-arch/tar 'rmt'."
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="An easily extensible archive format"
|
||||
HOMEPAGE="https://code.google.com/p/xar"
|
||||
SRC_URI="https://xar.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="acl +bzip2 libressl"
|
||||
|
||||
DEPEND="
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
dev-libs/libxml2
|
||||
sys-libs/zlib
|
||||
acl? ( sys-apps/acl )
|
||||
bzip2? ( app-arch/bzip2 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( TODO )
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-automagic_acl_and_bzip2.patch"
|
||||
epatch "${FILESDIR}/${P}-respect_ldflags.patch"
|
||||
epatch_user
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable acl) $(use_enable bzip2)
|
||||
}
|
@ -0,0 +1,401 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
|
||||
inherit eutils flag-o-matic linux-info multilib pam prefix python-single-r1 \
|
||||
systemd user 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)"
|
||||
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="POSTGRESQL GPL-2"
|
||||
DESCRIPTION="PostgreSQL RDBMS"
|
||||
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 ldap libressl nls pam perl -pg_legacytimestamp python
|
||||
+readline selinux +server ssl static-libs tcl threads uuid xml 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}
|
||||
}
|
||||
|
||||
CDEPEND="
|
||||
>=app-eselect/eselect-postgresql-1.2.0
|
||||
sys-apps/less
|
||||
virtual/libintl
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pam? ( virtual/pam )
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
tcl? ( >=dev-lang/tcl-8:0= )
|
||||
uuid? ( dev-libs/ossp-uuid )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
!!<sys-apps/sandbox-2.0
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )
|
||||
xml? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
!dev-db/postgresql-docs:${SLOT}
|
||||
!dev-db/postgresql-base:${SLOT}
|
||||
!dev-db/postgresql-server:${SLOT}
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use server && CONFIG_CHECK="~SYSVIPC" linux-info_pkg_setup
|
||||
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/sh /var/lib/postgresql postgres
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Work around PPC{,64} compilation bug where bool is already defined
|
||||
sed '/#ifndef __cplusplus/a #undef bool' -i src/include/c.h || die
|
||||
|
||||
# Set proper run directory
|
||||
sed "s|\(PGSOCKET_DIR\s\+\)\"/tmp\"|\1\"${EPREFIX}/run/postgresql\"|" \
|
||||
-i src/include/pg_config_manual.h || die
|
||||
|
||||
# Rely on $PATH being in the proper order so that the correct
|
||||
# install program is used for modules utilizing PGXS in both
|
||||
# hardened and non-hardened environments. (Bug #528786)
|
||||
sed 's/@install_bin@/install -c/' -i src/Makefile.global.in || die
|
||||
|
||||
use server || epatch "${FILESDIR}/${PN}-${SLOT}-no-server.patch"
|
||||
|
||||
# Fix bug 486556 where the server would crash at start up because of
|
||||
# an infinite loop caused by a self-referencing symlink.
|
||||
epatch "${FILESDIR}/postgresql-9.2-9.4-tz-dir-overflow.patch"
|
||||
|
||||
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
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
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/${PF}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--with-system-tzdata="${PO}/usr/share/zoneinfo" \
|
||||
$(use_enable !pg_legacytimestamp integer-datetimes) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with kerberos gssapi) \
|
||||
$(use_with kerberos krb5) \
|
||||
$(use_with ldap) \
|
||||
$(use_with pam) \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tcl) \
|
||||
$(use_with uuid ossp-uuid) \
|
||||
$(use_with xml libxml) \
|
||||
$(use_with xml libxslt) \
|
||||
$(use_with zlib) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
emake -C contrib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" install -C contrib
|
||||
|
||||
dodoc README HISTORY doc/{TODO,bug.template}
|
||||
|
||||
# man pages are already built, but if we have the target make them,
|
||||
# they'll be generated from source before being installed so we
|
||||
# manually install man pages.
|
||||
# We use ${SLOT} instead of doman for postgresql.eselect
|
||||
insinto /usr/share/postgresql-${SLOT}/man/
|
||||
doins -r doc/src/sgml/man{1,3,7}
|
||||
if ! use server; then
|
||||
# Remove man pages for non-existent binaries
|
||||
for m in {initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}; do
|
||||
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1/${m}.1"
|
||||
done
|
||||
fi
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,3,7}
|
||||
|
||||
insinto /etc/postgresql-${SLOT}
|
||||
newins src/bin/psql/psqlrc.sample psqlrc
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
|
||||
|
||||
use static-libs || find "${ED}" -name '*.a' -delete
|
||||
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc doc/src/sgml/html/*
|
||||
|
||||
docinto sgml
|
||||
dodoc doc/src/sgml/*.{sgml,dsl}
|
||||
fi
|
||||
|
||||
if use server; then
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.confd" | newconfd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.init-9.3" | newinitd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.service" | \
|
||||
systemd_newunit - ${PN}-${SLOT}.service
|
||||
|
||||
newbin "${FILESDIR}"/${PN}-check-db-dir ${PN}-${SLOT}-check-db-dir
|
||||
|
||||
use pam && pamd_mimic system-auth ${PN}-${SLOT} auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir /run/postgresql
|
||||
fperms 0775 /run/postgresql
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
elog
|
||||
elog "It looks like this is your first time installing PostgreSQL. Run the"
|
||||
elog "following command in all active shells to pick up changes to the default"
|
||||
elog "environemnt:"
|
||||
elog " source /etc/profile"
|
||||
fi
|
||||
|
||||
if use server ; then
|
||||
elog
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "https://wiki.gentoo.org/wiki/PostgreSQL"
|
||||
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}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if use server && [[ -z ${REPLACED_BY_VERSION} ]] ; then
|
||||
ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
|
||||
ewarn "\thttps://wiki.gentoo.org/wiki/PostgreSQL/QuickStart#Migrating_PostgreSQL"
|
||||
|
||||
ebegin "Resuming removal in 10 seconds (Control-C to cancel)"
|
||||
sleep 10
|
||||
eend 0
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
use server || die "USE flag 'server' not enabled. Nothing to configure."
|
||||
|
||||
[[ -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
|
||||
|
||||
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
|
||||
|
||||
if [[ "${DATA_DIR%/}" != "${PGDATA%/}" ]] ; then
|
||||
mv "${DATA_DIR%/}"/{pg_{hba,ident},postgresql}.conf "${PGDATA}"
|
||||
ln -s "${PGDATA%/}"/{pg_{hba,ident},postgresql}.conf "${DATA_DIR%/}"
|
||||
fi
|
||||
|
||||
cat <<- EOF >> "${PGDATA%/}"/postgresql.conf
|
||||
# This is here because of https://bugs.gentoo.org/show_bug.cgi?id=518522
|
||||
# On the off-chance that you might need to work with UTF-8 encoded
|
||||
# characters in PL/Perl
|
||||
plperl.on_init = 'use utf8; use re; package utf8; require "utf8_heavy.pl";'
|
||||
EOF
|
||||
|
||||
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 use server && [[ ${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
|
||||
use server || \
|
||||
ewarn 'Tests cannot be run without the "server" use flag enabled.'
|
||||
[[ ${UID} -eq 0 ]] || \
|
||||
ewarn 'Tests cannot be run as root. Enable "userpriv" in FEATURES.'
|
||||
|
||||
ewarn 'Skipping.'
|
||||
fi
|
||||
}
|
@ -0,0 +1,433 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
|
||||
inherit eutils flag-o-matic linux-info multilib pam prefix python-single-r1 \
|
||||
systemd user 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)"
|
||||
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="POSTGRESQL GPL-2"
|
||||
DESCRIPTION="PostgreSQL RDBMS"
|
||||
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 ldap libressl nls pam perl -pg_legacytimestamp python
|
||||
+readline selinux +server ssl static-libs tcl threads uuid xml 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}
|
||||
}
|
||||
|
||||
CDEPEND="
|
||||
>=app-eselect/eselect-postgresql-1.2.0
|
||||
sys-apps/less
|
||||
virtual/libintl
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pam? ( virtual/pam )
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
tcl? ( >=dev-lang/tcl-8:0= )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
# uuid flags -- depend on sys-apps/util-linux for Linux libcs, or if no
|
||||
# supported libc in use depend on dev-libs/ossp-uuid. For BSD systems,
|
||||
# the libc includes UUID functions.
|
||||
UTIL_LINUX_LIBC=( elibc_{glibc,uclibc,musl} )
|
||||
BSD_LIBC=( elibc_{Free,Net,Open}BSD )
|
||||
|
||||
nest_usedep() {
|
||||
local front back
|
||||
while [[ ${#} -gt 1 ]]; do
|
||||
front+="${1}? ( "
|
||||
back+=" )"
|
||||
shift
|
||||
done
|
||||
echo "${front}${1}${back}"
|
||||
}
|
||||
|
||||
IUSE+=" ${UTIL_LINUX_LIBC[@]} ${BSD_LIBC[@]}"
|
||||
CDEPEND+="
|
||||
uuid? (
|
||||
${UTIL_LINUX_LIBC[@]/%/? ( sys-apps/util-linux )}
|
||||
$(nest_usedep ${UTIL_LINUX_LIBC[@]/#/!} ${BSD_LIBC[@]/#/!} dev-libs/ossp-uuid)
|
||||
)"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
!!<sys-apps/sandbox-2.0
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )
|
||||
xml? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
!dev-db/postgresql-docs:${SLOT}
|
||||
!dev-db/postgresql-base:${SLOT}
|
||||
!dev-db/postgresql-server:${SLOT}
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use server && CONFIG_CHECK="~SYSVIPC" linux-info_pkg_setup
|
||||
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/sh /var/lib/postgresql postgres
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Work around PPC{,64} compilation bug where bool is already defined
|
||||
sed '/#ifndef __cplusplus/a #undef bool' -i src/include/c.h || die
|
||||
|
||||
# Set proper run directory
|
||||
sed "s|\(PGSOCKET_DIR\s\+\)\"/tmp\"|\1\"${EPREFIX}/run/postgresql\"|" \
|
||||
-i src/include/pg_config_manual.h || die
|
||||
|
||||
# Rely on $PATH being in the proper order so that the correct
|
||||
# install program is used for modules utilizing PGXS in both
|
||||
# hardened and non-hardened environments. (Bug #528786)
|
||||
sed 's/@install_bin@/install -c/' -i src/Makefile.global.in || die
|
||||
|
||||
use server || epatch "${FILESDIR}/${PN}-${SLOT}-no-server.patch"
|
||||
|
||||
# Fix bug 486556 where the server would crash at start up because of
|
||||
# an infinite loop caused by a self-referencing symlink.
|
||||
epatch "${FILESDIR}/postgresql-9.2-9.4-tz-dir-overflow.patch"
|
||||
|
||||
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
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
case ${CHOST} in
|
||||
*-darwin*|*-solaris*)
|
||||
use nls && append-libs intl
|
||||
;;
|
||||
esac
|
||||
|
||||
export LDFLAGS_SL="${LDFLAGS}"
|
||||
export LDFLAGS_EX="${LDFLAGS}"
|
||||
|
||||
local PO="${EPREFIX%/}"
|
||||
|
||||
local i uuid_config=""
|
||||
if use uuid; then
|
||||
for i in ${UTIL_LINUX_LIBC[@]}; do
|
||||
use ${i} && uuid_config="--with-uuid=e2fs"
|
||||
done
|
||||
for i in ${BSD_LIBC[@]}; do
|
||||
use ${i} && uuid_config="--with-uuid=bsd"
|
||||
done
|
||||
[[ -z $uuid_config ]] && uuid_config="--with-uuid=ossp"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
|
||||
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
|
||||
--docdir="${PO}/usr/share/doc/${PF}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--with-system-tzdata="${PO}/usr/share/zoneinfo" \
|
||||
$(use_enable !pg_legacytimestamp integer-datetimes) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with kerberos gssapi) \
|
||||
$(use_with ldap) \
|
||||
$(use_with pam) \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tcl) \
|
||||
${uuid_config} \
|
||||
$(use_with xml libxml) \
|
||||
$(use_with xml libxslt) \
|
||||
$(use_with zlib) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
emake -C contrib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" install -C contrib
|
||||
|
||||
dodoc README HISTORY doc/{TODO,bug.template}
|
||||
|
||||
# man pages are already built, but if we have the target make them,
|
||||
# they'll be generated from source before being installed so we
|
||||
# manually install man pages.
|
||||
# We use ${SLOT} instead of doman for postgresql.eselect
|
||||
insinto /usr/share/postgresql-${SLOT}/man/
|
||||
doins -r doc/src/sgml/man{1,3,7}
|
||||
if ! use server; then
|
||||
# Remove man pages for non-existent binaries
|
||||
for m in {initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}; do
|
||||
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1/${m}.1"
|
||||
done
|
||||
fi
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,3,7}
|
||||
|
||||
insinto /etc/postgresql-${SLOT}
|
||||
newins src/bin/psql/psqlrc.sample psqlrc
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
|
||||
|
||||
use static-libs || find "${ED}" -name '*.a' -delete
|
||||
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc doc/src/sgml/html/*
|
||||
|
||||
docinto sgml
|
||||
dodoc doc/src/sgml/*.{sgml,dsl}
|
||||
fi
|
||||
|
||||
if use server; then
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.confd" | newconfd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.init-9.3" | newinitd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.service" | \
|
||||
systemd_newunit - ${PN}-${SLOT}.service
|
||||
|
||||
newbin "${FILESDIR}"/${PN}-check-db-dir ${PN}-${SLOT}-check-db-dir
|
||||
|
||||
use pam && pamd_mimic system-auth ${PN}-${SLOT} auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir /run/postgresql
|
||||
fperms 0775 /run/postgresql
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
elog
|
||||
elog "It looks like this is your first time installing PostgreSQL. Run the"
|
||||
elog "following command in all active shells to pick up changes to the default"
|
||||
elog "environemnt:"
|
||||
elog " source /etc/profile"
|
||||
fi
|
||||
|
||||
if use server ; then
|
||||
elog
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "https://wiki.gentoo.org/wiki/PostgreSQL"
|
||||
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}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if use server && [[ -z ${REPLACED_BY_VERSION} ]] ; then
|
||||
ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
|
||||
ewarn "\thttps://wiki.gentoo.org/wiki/PostgreSQL/QuickStart#Migrating_PostgreSQL"
|
||||
|
||||
ebegin "Resuming removal in 10 seconds (Control-C to cancel)"
|
||||
sleep 10
|
||||
eend 0
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
use server || die "USE flag 'server' not enabled. Nothing to configure."
|
||||
|
||||
[[ -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
|
||||
|
||||
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
|
||||
|
||||
if [[ "${DATA_DIR%/}" != "${PGDATA%/}" ]] ; then
|
||||
mv "${DATA_DIR%/}"/{pg_{hba,ident},postgresql}.conf "${PGDATA}"
|
||||
ln -s "${PGDATA%/}"/{pg_{hba,ident},postgresql}.conf "${DATA_DIR%/}"
|
||||
fi
|
||||
|
||||
cat <<- EOF >> "${PGDATA%/}"/postgresql.conf
|
||||
# This is here because of https://bugs.gentoo.org/show_bug.cgi?id=518522
|
||||
# On the off-chance that you might need to work with UTF-8 encoded
|
||||
# characters in PL/Perl
|
||||
plperl.on_init = 'use utf8; use re; package utf8; require "utf8_heavy.pl";'
|
||||
EOF
|
||||
|
||||
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 use server && [[ ${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
|
||||
use server || \
|
||||
ewarn 'Tests cannot be run without the "server" use flag enabled.'
|
||||
[[ ${UID} -eq 0 ]] || \
|
||||
ewarn 'Tests cannot be run as root. Enable "userpriv" in FEATURES.'
|
||||
|
||||
ewarn 'Skipping.'
|
||||
fi
|
||||
}
|
@ -0,0 +1,431 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
|
||||
inherit eutils flag-o-matic linux-info multilib pam prefix python-single-r1 \
|
||||
systemd user versionator
|
||||
|
||||
# This is a prerelease version, so no keywords please
|
||||
KEYWORDS=""
|
||||
#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)"
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
|
||||
S=${WORKDIR}/${PN}-${MY_PV}
|
||||
|
||||
SRC_URI="mirror://postgresql/source/v${MY_PV}/postgresql-${MY_PV}.tar.bz2"
|
||||
|
||||
LICENSE="POSTGRESQL GPL-2"
|
||||
DESCRIPTION="PostgreSQL RDBMS"
|
||||
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 ldap libressl nls pam perl -pg_legacytimestamp python
|
||||
+readline selinux +server ssl static-libs tcl threads uuid xml 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}
|
||||
}
|
||||
|
||||
CDEPEND="
|
||||
>=app-eselect/eselect-postgresql-1.2.0
|
||||
sys-apps/less
|
||||
virtual/libintl
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pam? ( virtual/pam )
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
tcl? ( >=dev-lang/tcl-8:0= )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
# uuid flags -- depend on sys-apps/util-linux for Linux libcs, or if no
|
||||
# supported libc in use depend on dev-libs/ossp-uuid. For BSD systems,
|
||||
# the libc includes UUID functions.
|
||||
UTIL_LINUX_LIBC=( elibc_{glibc,uclibc,musl} )
|
||||
BSD_LIBC=( elibc_{Free,Net,Open}BSD )
|
||||
|
||||
nest_usedep() {
|
||||
local front back
|
||||
while [[ ${#} -gt 1 ]]; do
|
||||
front+="${1}? ( "
|
||||
back+=" )"
|
||||
shift
|
||||
done
|
||||
echo "${front}${1}${back}"
|
||||
}
|
||||
|
||||
IUSE+=" ${UTIL_LINUX_LIBC[@]} ${BSD_LIBC[@]}"
|
||||
CDEPEND+="
|
||||
uuid? (
|
||||
${UTIL_LINUX_LIBC[@]/%/? ( sys-apps/util-linux )}
|
||||
$(nest_usedep ${UTIL_LINUX_LIBC[@]/#/!} ${BSD_LIBC[@]/#/!} dev-libs/ossp-uuid)
|
||||
)"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
!!<sys-apps/sandbox-2.0
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )
|
||||
xml? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
!dev-db/postgresql-docs:${SLOT}
|
||||
!dev-db/postgresql-base:${SLOT}
|
||||
!dev-db/postgresql-server:${SLOT}
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use server && CONFIG_CHECK="~SYSVIPC" linux-info_pkg_setup
|
||||
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/sh /var/lib/postgresql postgres
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Work around PPC{,64} compilation bug where bool is already defined
|
||||
sed '/#ifndef __cplusplus/a #undef bool' -i src/include/c.h || die
|
||||
|
||||
# Set proper run directory
|
||||
sed "s|\(PGSOCKET_DIR\s\+\)\"/tmp\"|\1\"${EPREFIX}/run/postgresql\"|" \
|
||||
-i src/include/pg_config_manual.h || die
|
||||
|
||||
# Rely on $PATH being in the proper order so that the correct
|
||||
# install program is used for modules utilizing PGXS in both
|
||||
# hardened and non-hardened environments. (Bug #528786)
|
||||
sed 's/@install_bin@/install -c/' -i src/Makefile.global.in || die
|
||||
|
||||
use server || epatch "${FILESDIR}/${PN}-${SLOT}-no-server.patch"
|
||||
|
||||
# Fix bug 486556 where the server would crash at start up because of
|
||||
# an infinite loop caused by a self-referencing symlink.
|
||||
epatch "${FILESDIR}/postgresql-9.2-9.4-tz-dir-overflow.patch"
|
||||
|
||||
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
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
case ${CHOST} in
|
||||
*-darwin*|*-solaris*)
|
||||
use nls && append-libs intl
|
||||
;;
|
||||
esac
|
||||
|
||||
export LDFLAGS_SL="${LDFLAGS}"
|
||||
export LDFLAGS_EX="${LDFLAGS}"
|
||||
|
||||
local PO="${EPREFIX%/}"
|
||||
|
||||
local i uuid_config=""
|
||||
if use uuid; then
|
||||
for i in ${UTIL_LINUX_LIBC[@]}; do
|
||||
use ${i} && uuid_config="--with-uuid=e2fs"
|
||||
done
|
||||
for i in ${BSD_LIBC[@]}; do
|
||||
use ${i} && uuid_config="--with-uuid=bsd"
|
||||
done
|
||||
[[ -z $uuid_config ]] && uuid_config="--with-uuid=ossp"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
|
||||
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
|
||||
--docdir="${PO}/usr/share/doc/${PF}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--with-system-tzdata="${PO}/usr/share/zoneinfo" \
|
||||
$(use_enable !pg_legacytimestamp integer-datetimes) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with kerberos gssapi) \
|
||||
$(use_with ldap) \
|
||||
$(use_with pam) \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tcl) \
|
||||
${uuid_config} \
|
||||
$(use_with xml libxml) \
|
||||
$(use_with xml libxslt) \
|
||||
$(use_with zlib) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
emake -C contrib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" install -C contrib
|
||||
|
||||
dodoc README HISTORY doc/{TODO,bug.template}
|
||||
|
||||
# man pages are already built, but if we have the target make them,
|
||||
# they'll be generated from source before being installed so we
|
||||
# manually install man pages.
|
||||
# We use ${SLOT} instead of doman for postgresql.eselect
|
||||
insinto /usr/share/postgresql-${SLOT}/man/
|
||||
doins -r doc/src/sgml/man{1,3,7}
|
||||
if ! use server; then
|
||||
# Remove man pages for non-existent binaries
|
||||
for m in {initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}; do
|
||||
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1/${m}.1"
|
||||
done
|
||||
fi
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,3,7}
|
||||
|
||||
insinto /etc/postgresql-${SLOT}
|
||||
newins src/bin/psql/psqlrc.sample psqlrc
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
|
||||
|
||||
use static-libs || find "${ED}" -name '*.a' -delete
|
||||
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc doc/src/sgml/html/*
|
||||
|
||||
docinto sgml
|
||||
dodoc doc/src/sgml/*.{sgml,dsl}
|
||||
fi
|
||||
|
||||
if use server; then
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.confd" | newconfd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.init-9.3" | newinitd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.service" | \
|
||||
systemd_newunit - ${PN}-${SLOT}.service
|
||||
|
||||
newbin "${FILESDIR}"/${PN}-check-db-dir ${PN}-${SLOT}-check-db-dir
|
||||
|
||||
use pam && pamd_mimic system-auth ${PN}-${SLOT} auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir /run/postgresql
|
||||
fperms 0775 /run/postgresql
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
|
||||
if use server ; then
|
||||
elog
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "https://wiki.gentoo.org/wiki/PostgreSQL"
|
||||
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}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if use server && [[ -z ${REPLACED_BY_VERSION} ]] ; then
|
||||
ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
|
||||
ewarn "\thttps://wiki.gentoo.org/wiki/PostgreSQL/QuickStart#Migrating_PostgreSQL"
|
||||
|
||||
ebegin "Resuming removal in 10 seconds (Control-C to cancel)"
|
||||
sleep 10
|
||||
eend 0
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
use server || die "USE flag 'server' not enabled. Nothing to configure."
|
||||
|
||||
[[ -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
|
||||
|
||||
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
|
||||
|
||||
if [[ "${DATA_DIR%/}" != "${PGDATA%/}" ]] ; then
|
||||
mv "${DATA_DIR%/}"/{pg_{hba,ident},postgresql}.conf "${PGDATA}"
|
||||
ln -s "${PGDATA%/}"/{pg_{hba,ident},postgresql}.conf "${DATA_DIR%/}"
|
||||
fi
|
||||
|
||||
cat <<- EOF >> "${PGDATA%/}"/postgresql.conf
|
||||
# This is here because of https://bugs.gentoo.org/show_bug.cgi?id=518522
|
||||
# On the off-chance that you might need to work with UTF-8 encoded
|
||||
# characters in PL/Perl
|
||||
plperl.on_init = 'use utf8; use re; package utf8; require "utf8_heavy.pl";'
|
||||
EOF
|
||||
|
||||
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 use server && [[ ${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
|
||||
use server || \
|
||||
ewarn 'Tests cannot be run without the "server" use flag enabled.'
|
||||
[[ ${UID} -eq 0 ]] || \
|
||||
ewarn 'Tests cannot be run as root. Enable "userpriv" in FEATURES.'
|
||||
|
||||
ewarn 'Skipping.'
|
||||
fi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST v1.0.15.tar.gz 135550 SHA256 1c9d8020cfd2bf0344e5baf1dff8b01aa7cefcdc5bc3765d029bd2e723d00251 SHA512 103e6c53f8c0ffd6d218e08e49fd49c21f420c1221912121dba1218d4631b6869357002fb1a18444e58283e2d6e59ae3f43d5a23c06c506538d69f4a178b3973 WHIRLPOOL d8a88f21b26079f86d5deb55cfeae0bc4c7f34d853e4b2a887eeb829f38e5be8d8902dea675caa7d373503f25c798b2492d6a1212fb58ea15e352e1c3c9b90fa
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit common-lisp-3
|
||||
|
||||
MY_V="v${PV}"
|
||||
|
||||
DESCRIPTION="Flexible bivalent streams for Common Lisp"
|
||||
HOMEPAGE="http://weitz.de/flexi-streams/
|
||||
http://www.cliki.net/flexi-streams/"
|
||||
SRC_URI="https://github.com/edicl/${PN}/archive/${MY_V}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!dev-lisp/cl-${PN}
|
||||
>=dev-lisp/trivial-gray-streams-20060925"
|
||||
|
||||
src_install() {
|
||||
common-lisp-install-sources *.lisp
|
||||
common-lisp-install-asdf
|
||||
dohtml doc/index.html
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>common-lisp</herd>
|
||||
<longdescription lang="en">
|
||||
FLEXI-STREAMS implements "virtual" bivalent streams that can be
|
||||
layered atop real binary or bivalent streams and that can be used
|
||||
to read and write character data in various single- or multi-octet
|
||||
encodings which can be changed on the fly. It also supplies
|
||||
in-memory binary streams which are similar to string streams.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST trivial-gray-streams-2008-11-02.tar.gz 3522 SHA256 827eff9528b469f18c332d0dec68a2498ca9261950635b1cd8e589a492b589a4 SHA512 81ca798988511237a5a4c9ae4e0b15253404c47e245cc644211ffc58015fd46fa1623fecf7f07ea5df7acf80fff24782410ef832f08fd55f71c57daad6ced787 WHIRLPOOL 07b4ba232c7a6156667a084adf56684c3d04ace96d56a282298fd7e284760b60c1fefa09f90053e1400fed5c2d6cb25dbb2756697c08ad15b2647fd72933e26e
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>common-lisp</herd>
|
||||
<longdescription lang="en">
|
||||
This system provides an extremely thin compatibility layer for
|
||||
Gray streams
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit common-lisp-3
|
||||
|
||||
MY_PV=${PV:0:4}-${PV:4:2}-${PV:6:2}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
DESCRIPTION="A thin compatibility layer between Gray Stream Common Lisp implementations"
|
||||
HOMEPAGE="https://common-lisp.net/project/trivial-gray-streams/"
|
||||
SRC_URI="http://common-lisp.net/project/cl-plus-ssl/download/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!dev-lisp/cl-${PN}"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
rm "${S}"/Makefile
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit common-lisp-3 git-2
|
||||
|
||||
DESCRIPTION="A thin compatibility layer between Gray Stream Common Lisp implementations"
|
||||
HOMEPAGE="https://common-lisp.net/project/trivial-gray-streams/"
|
||||
EGIT_REPO_URI="git://github.com/${PN}/${PN}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!dev-lisp/cl-${PN}"
|
@ -1,3 +1,4 @@
|
||||
DIST redis-rb-3.0.6.tar.gz 62335 SHA256 06cad67fdfd6955112a65d05e0fff62b003439404f20d8b926ce92f6c5eabe4b SHA512 966a2b9bf5d3af51020015e8b066b728b0632093eedcf1ca41f82b3340d54b0bffb305a0aa7ec5c8534db0a71cd6de006a943a0ebef234a4f93204ea41a431b1 WHIRLPOOL cdeec7ccbe3dd6a4c4ea6e9e786c072cab436abacc48538501234cd58f8bb21bc8a43ad8a4db68b607c5ee9313daffe9e1eb0255057e6306db2c55d920673609
|
||||
DIST redis-rb-3.0.7.tar.gz 64059 SHA256 70bc9da8d41af542f41dd8be0f69d005f981d7198e867345ded562baaaab667a SHA512 93f5e68d491010d74d3b93fe6ff4e50f28bcdf4456435ee7ea066a4e21219a438944d66ca7cbdfd7182fb4a574f26fad3b85e14c226854e4b94f0a2681b8dfd7 WHIRLPOOL eac933f32c8a5851e896cf4360af1cad54112defdd58c2999bfc6509cbbabea6be2f252730d523391bf741ce6997f334714a33498eb54df01bd1d68fecb85eee
|
||||
DIST redis-rb-3.2.1.tar.gz 69986 SHA256 ea86257db6be49bfeca8cf4a9ffc645844b2d3ffd81542b2305f3e84fdd983d1 SHA512 3c3f6bca71a9a6ef0d6cc713483445a890034b6a96c773ae6ea0bd38153752327cb4cd50cdf791b14ed211eb7323c12498665b89946d0dfd5237a97dca506b10 WHIRLPOOL 94158ef753bed9271dec78fd9fae332168cb10417016df5dd3d3b38d4808bfbbf55bd9b2bc192087aadbf8f5df86e723c001eeebee386d00c0f85ab7ad37bbb9
|
||||
DIST redis-rb-3.2.2.tar.gz 72217 SHA256 37a5ae3a8163a2e6aaf5d40ede106ed13ce6fcfc2b99a22664392ffd3d132b90 SHA512 e5cb281c95ecadf86907a7f8b87cc3f895feac529b868f479d94c3ca00f8eebddbcebf9ffeacbe40738af6cb2bd8b4bb9b8f12462a99355337ee123cc3e4356e WHIRLPOOL 8d1b325d539856e4e91cb9d8643bfb55981b2c7b2ae1cd7b52778b5cb0266ab3f852541a0bca53418b4161ad6c6760be91b82fb09983a3bd8b7b8adf0800c4c4
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
||||
|
||||
MY_P="redis-rb-${PV}"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rake"
|
||||
RUBY_FAKEGEM_TASK_TEST="run"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="yard"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Ruby client library for Redis"
|
||||
HOMEPAGE="https://github.com/redis/redis-rb"
|
||||
SRC_URI="https://github.com/redis/redis-rb/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="test? ( dev-db/redis )"
|
||||
|
||||
RUBY_S="${MY_P}"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# call me impatient, but this way we don't need netcat
|
||||
sed -i \
|
||||
-e '/test_subscribe_past_a_timeout/,+18d' \
|
||||
test/publish_subscribe_test.rb || die "sed failed"
|
||||
|
||||
# Version 3.0.6 downloads and compiles redis-server to test against.
|
||||
# This patch reverts it to the way 3.0.5 does it, using the local server.
|
||||
# https://github.com/redis/redis-rb/commit/351a1294fe33f79c23495b7568045e9f484918f2
|
||||
epatch "${FILESDIR}/${PN}-3.2.1-local-redis-server.patch"
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
--- server/c_chat.c.old 2015-12-15 21:35:30.024866220 +0100
|
||||
+++ server/c_chat.c 2015-12-15 21:36:58.479266312 +0100
|
||||
@@ -483,7 +483,7 @@
|
||||
{ "You spit over your left shoulder.", "%s spits over his left shoulder." },
|
||||
{ "Strut your stuff.", "%s struts proudly." },
|
||||
{ NULL, NULL },
|
||||
- { "%s patiently twiddles his thumbs.", "You patiently twiddle your thumbs." },
|
||||
+ { "You patiently twiddle your thumbs.", "%s patiently twiddles his thumbs." },
|
||||
{ "You wave.", "%s waves happily." },
|
||||
{ "You whistle appreciatively.", "%s whistles appreciatively." },
|
||||
{ "Have you got something in your eye?", "%s winks suggestively." },
|
||||
@@ -645,7 +645,7 @@
|
||||
|
||||
if (*params == '\0') {
|
||||
if (emotion > EMOTE_FIRST && emotion < EMOTE_LAST && single_emotes[emotion - 1][0] != NULL) {
|
||||
- snprintf(buf, sizeof(buf), single_emotes[emotion - 1][0]);
|
||||
+ snprintf(buf, sizeof(buf), "%s", single_emotes[emotion - 1][0]);
|
||||
snprintf(buf2, sizeof(buf2), single_emotes[emotion - 1][1], op->name);
|
||||
} else {
|
||||
snprintf(buf, sizeof(buf), "You are a nut.");
|
@ -1 +1 @@
|
||||
Tue, 15 Dec 2015 20:43:48 +0000
|
||||
Wed, 16 Dec 2015 06:13:45 +0000
|
||||
|
@ -1 +1 @@
|
||||
Tue, 15 Dec 2015 20:43:49 +0000
|
||||
Wed, 16 Dec 2015 06:13:45 +0000
|
||||
|
@ -1,13 +1,13 @@
|
||||
DEFINED_PHASES=compile install prepare
|
||||
DEPEND=>=dev-lang/spidermonkey-24.0:24 >=sys-libs/readline-6.0 >=net-misc/curl-7.36.0 >=dev-libs/libpcre-7.8 >=dev-libs/openssl-0.9.8j odbc? ( dev-db/unixODBC ) virtual/pkgconfig app-arch/unzip
|
||||
DEPEND=>=dev-lang/spidermonkey-24.0:24 >=sys-libs/readline-6.0 >=net-misc/curl-7.36.0 >=dev-libs/libpcre-7.8 !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) odbc? ( dev-db/unixODBC ) virtual/pkgconfig app-arch/unzip
|
||||
DESCRIPTION=editor, browser, and mail client using the /bin/ed interface
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
HOMEPAGE=http://the-brannons.com/edbrowse/
|
||||
IUSE=linguas_fr odbc
|
||||
IUSE=libressl linguas_fr odbc
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=dev-lang/spidermonkey-24.0:24 >=sys-libs/readline-6.0 >=net-misc/curl-7.36.0 >=dev-libs/libpcre-7.8 >=dev-libs/openssl-0.9.8j odbc? ( dev-db/unixODBC )
|
||||
RDEPEND=>=dev-lang/spidermonkey-24.0:24 >=sys-libs/readline-6.0 >=net-misc/curl-7.36.0 >=dev-libs/libpcre-7.8 !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) odbc? ( dev-db/unixODBC )
|
||||
SLOT=0
|
||||
SRC_URI=http://the-brannons.com/edbrowse/edbrowse-3.5.1.zip
|
||||
_eclasses_=eutils d9bd2ddd85a58e470b49ca997e255a4c multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=eccf59509cfc12f67f0665df6bcda0d2
|
||||
_md5_=6a07ec316cf69218c082f6108ae63b86
|
||||
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=configure install postinst prepare
|
||||
DEPEND=>=sys-fs/e2fsprogs-1.27 >=app-arch/bzip2-1.0.2 >=sys-libs/zlib-1.1.4 ermt? ( !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) ) readline? ( sys-libs/readline:0= sys-libs/ncurses:= static? ( sys-libs/ncurses:=[static-libs] ) ) virtual/pkgconfig virtual/os-headers !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=Dump/restore ext2fs backup utilities
|
||||
EAPI=5
|
||||
HOMEPAGE=http://dump.sourceforge.net/
|
||||
IUSE=debug ermt libressl readline selinux static
|
||||
KEYWORDS=~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86
|
||||
LICENSE=BSD
|
||||
RDEPEND=>=sys-fs/e2fsprogs-1.27 >=app-arch/bzip2-1.0.2 >=sys-libs/zlib-1.1.4 ermt? ( !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) ) readline? ( sys-libs/readline:0= sys-libs/ncurses:= static? ( sys-libs/ncurses:=[static-libs] ) )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/dump/dump-0.4b44.tar.gz
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils d9bd2ddd85a58e470b49ca997e255a4c libtool b75230758539a7da029e24afdb693960 multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=5daaa78730a6a2ee1986a0960d1c9c5c
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=configure prepare
|
||||
DEPEND=!libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) dev-libs/libxml2 sys-libs/zlib acl? ( sys-apps/acl ) bzip2? ( app-arch/bzip2 ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=An easily extensible archive format
|
||||
EAPI=5
|
||||
HOMEPAGE=https://code.google.com/p/xar
|
||||
IUSE=acl +bzip2 libressl
|
||||
KEYWORDS=~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos
|
||||
LICENSE=BSD-2
|
||||
RDEPEND=!libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) dev-libs/libxml2 sys-libs/zlib acl? ( sys-apps/acl ) bzip2? ( app-arch/bzip2 )
|
||||
SLOT=0
|
||||
SRC_URI=https://xar.googlecode.com/files/xar-1.5.2.tar.gz
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils d9bd2ddd85a58e470b49ca997e255a4c libtool b75230758539a7da029e24afdb693960 multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=fefd418a4b995348a17ab2ff598a8157
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile config configure install postinst postrm prepare prerm setup test
|
||||
DEPEND=>=app-eselect/eselect-postgresql-1.2.0 sys-apps/less virtual/libintl kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap ) pam? ( virtual/pam ) perl? ( >=dev-lang/perl-5.8 ) python? ( python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_single_target_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python3_3(-),-python_single_target_python3_5(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_jython2_7(-),python_single_target_python2_7(+)?,python_single_target_python3_4(+)?] ) readline? ( sys-libs/readline:0= ) ssl? ( !libressl? ( >=dev-libs/openssl-0.9.6-r1:0= ) libressl? ( dev-libs/libressl:= ) ) tcl? ( >=dev-lang/tcl-8:0= ) uuid? ( dev-libs/ossp-uuid ) xml? ( dev-libs/libxml2 dev-libs/libxslt ) zlib? ( sys-libs/zlib ) !!<sys-apps/sandbox-2.0 sys-devel/bison sys-devel/flex nls? ( sys-devel/gettext ) xml? ( virtual/pkgconfig ) virtual/pkgconfig
|
||||
DESCRIPTION=PostgreSQL RDBMS
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.postgresql.org/
|
||||
IUSE=doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python +readline selinux +server ssl static-libs tcl threads uuid xml zlib linguas_af linguas_cs linguas_de linguas_en linguas_es linguas_fa linguas_fr linguas_hr linguas_hu linguas_it linguas_ko linguas_nb linguas_pl linguas_pt_BR linguas_ro linguas_ru linguas_sk linguas_sl linguas_sv linguas_tr linguas_zh_CN linguas_zh_TW python_targets_python2_7 python_targets_python3_4 python_single_target_python2_7 python_single_target_python3_4
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris
|
||||
LICENSE=POSTGRESQL GPL-2
|
||||
RDEPEND=>=app-eselect/eselect-postgresql-1.2.0 sys-apps/less virtual/libintl kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap ) pam? ( virtual/pam ) perl? ( >=dev-lang/perl-5.8 ) python? ( python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_single_target_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python3_3(-),-python_single_target_python3_5(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_jython2_7(-),python_single_target_python2_7(+)?,python_single_target_python3_4(+)?] ) readline? ( sys-libs/readline:0= ) ssl? ( !libressl? ( >=dev-libs/openssl-0.9.6-r1:0= ) libressl? ( dev-libs/libressl:= ) ) tcl? ( >=dev-lang/tcl-8:0= ) uuid? ( dev-libs/ossp-uuid ) xml? ( dev-libs/libxml2 dev-libs/libxslt ) zlib? ( sys-libs/zlib ) !dev-db/postgresql-docs:9.3 !dev-db/postgresql-base:9.3 !dev-db/postgresql-server:9.3 selinux? ( sec-policy/selinux-postgresql )
|
||||
SLOT=9.3
|
||||
SRC_URI=mirror://postgresql/source/v9.3.10/postgresql-9.3.10.tar.bz2
|
||||
_eclasses_=eutils d9bd2ddd85a58e470b49ca997e255a4c flag-o-matic 85dc1eac3c64d8141374490ed64122e5 linux-info 8f92e5ac1a1da684c5450b1b21a1f56a multilib 3972ca401cf7dbb430df9995f5d8d580 pam 3ecd5b75e39b0bb05a3183c08fcdfdb4 prefix e7f2b9c6e57342e5d25eac22fce23062 python-single-r1 caecf590709cc0fcf0b6582bdc49150f python-utils-r1 832cb17726d498a182de6b9ee2adc0dc systemd 3165c885f3c71ffae7a867d931fb0e07 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 user 906f3c8eb3a2350a4f1191a89baa3e46 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=b000646bf889bb4773bab54029bc8849
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile config configure install postinst postrm prepare prerm setup test
|
||||
DEPEND=>=app-eselect/eselect-postgresql-1.2.0 sys-apps/less virtual/libintl kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap ) pam? ( virtual/pam ) perl? ( >=dev-lang/perl-5.8 ) python? ( python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_single_target_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python3_3(-),-python_single_target_python3_5(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_jython2_7(-),python_single_target_python2_7(+)?,python_single_target_python3_4(+)?] ) readline? ( sys-libs/readline:0= ) ssl? ( !libressl? ( >=dev-libs/openssl-0.9.6-r1:0= ) libressl? ( dev-libs/libressl:= ) ) tcl? ( >=dev-lang/tcl-8:0= ) xml? ( dev-libs/libxml2 dev-libs/libxslt ) zlib? ( sys-libs/zlib ) uuid? ( elibc_glibc? ( sys-apps/util-linux ) elibc_uclibc? ( sys-apps/util-linux ) elibc_musl? ( sys-apps/util-linux ) !elibc_glibc? ( !elibc_uclibc? ( !elibc_musl? ( !elibc_FreeBSD? ( !elibc_NetBSD? ( !elibc_OpenBSD? ( dev-libs/ossp-uuid ) ) ) ) ) ) ) !!<sys-apps/sandbox-2.0 sys-devel/bison sys-devel/flex nls? ( sys-devel/gettext ) xml? ( virtual/pkgconfig ) virtual/pkgconfig
|
||||
DESCRIPTION=PostgreSQL RDBMS
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.postgresql.org/
|
||||
IUSE=doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python +readline selinux +server ssl static-libs tcl threads uuid xml zlib linguas_af linguas_cs linguas_de linguas_en linguas_es linguas_fa linguas_fr linguas_hr linguas_hu linguas_it linguas_ko linguas_nb linguas_pl linguas_pt_BR linguas_ro linguas_ru linguas_sk linguas_sl linguas_sv linguas_tr linguas_zh_CN linguas_zh_TW elibc_glibc elibc_uclibc elibc_musl elibc_FreeBSD elibc_NetBSD elibc_OpenBSD python_targets_python2_7 python_targets_python3_4 python_single_target_python2_7 python_single_target_python3_4
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris
|
||||
LICENSE=POSTGRESQL GPL-2
|
||||
RDEPEND=>=app-eselect/eselect-postgresql-1.2.0 sys-apps/less virtual/libintl kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap ) pam? ( virtual/pam ) perl? ( >=dev-lang/perl-5.8 ) python? ( python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_single_target_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python3_3(-),-python_single_target_python3_5(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_jython2_7(-),python_single_target_python2_7(+)?,python_single_target_python3_4(+)?] ) readline? ( sys-libs/readline:0= ) ssl? ( !libressl? ( >=dev-libs/openssl-0.9.6-r1:0= ) libressl? ( dev-libs/libressl:= ) ) tcl? ( >=dev-lang/tcl-8:0= ) xml? ( dev-libs/libxml2 dev-libs/libxslt ) zlib? ( sys-libs/zlib ) uuid? ( elibc_glibc? ( sys-apps/util-linux ) elibc_uclibc? ( sys-apps/util-linux ) elibc_musl? ( sys-apps/util-linux ) !elibc_glibc? ( !elibc_uclibc? ( !elibc_musl? ( !elibc_FreeBSD? ( !elibc_NetBSD? ( !elibc_OpenBSD? ( dev-libs/ossp-uuid ) ) ) ) ) ) ) !dev-db/postgresql-docs:9.4 !dev-db/postgresql-base:9.4 !dev-db/postgresql-server:9.4 selinux? ( sec-policy/selinux-postgresql )
|
||||
SLOT=9.4
|
||||
SRC_URI=mirror://postgresql/source/v9.4.5/postgresql-9.4.5.tar.bz2
|
||||
_eclasses_=eutils d9bd2ddd85a58e470b49ca997e255a4c flag-o-matic 85dc1eac3c64d8141374490ed64122e5 linux-info 8f92e5ac1a1da684c5450b1b21a1f56a multilib 3972ca401cf7dbb430df9995f5d8d580 pam 3ecd5b75e39b0bb05a3183c08fcdfdb4 prefix e7f2b9c6e57342e5d25eac22fce23062 python-single-r1 caecf590709cc0fcf0b6582bdc49150f python-utils-r1 832cb17726d498a182de6b9ee2adc0dc systemd 3165c885f3c71ffae7a867d931fb0e07 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 user 906f3c8eb3a2350a4f1191a89baa3e46 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=54b94beb6db3dd25d7b80e3e402b78f4
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=compile config configure install postinst postrm prepare prerm setup test
|
||||
DEPEND=>=app-eselect/eselect-postgresql-1.2.0 sys-apps/less virtual/libintl kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap ) pam? ( virtual/pam ) perl? ( >=dev-lang/perl-5.8 ) python? ( python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_single_target_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python3_3(-),-python_single_target_python3_5(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_jython2_7(-),python_single_target_python2_7(+)?,python_single_target_python3_4(+)?] ) readline? ( sys-libs/readline:0= ) ssl? ( !libressl? ( >=dev-libs/openssl-0.9.6-r1:0= ) libressl? ( dev-libs/libressl:= ) ) tcl? ( >=dev-lang/tcl-8:0= ) xml? ( dev-libs/libxml2 dev-libs/libxslt ) zlib? ( sys-libs/zlib ) uuid? ( elibc_glibc? ( sys-apps/util-linux ) elibc_uclibc? ( sys-apps/util-linux ) elibc_musl? ( sys-apps/util-linux ) !elibc_glibc? ( !elibc_uclibc? ( !elibc_musl? ( !elibc_FreeBSD? ( !elibc_NetBSD? ( !elibc_OpenBSD? ( dev-libs/ossp-uuid ) ) ) ) ) ) ) !!<sys-apps/sandbox-2.0 sys-devel/bison sys-devel/flex nls? ( sys-devel/gettext ) xml? ( virtual/pkgconfig ) virtual/pkgconfig
|
||||
DESCRIPTION=PostgreSQL RDBMS
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.postgresql.org/
|
||||
IUSE=doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python +readline selinux +server ssl static-libs tcl threads uuid xml zlib linguas_af linguas_cs linguas_de linguas_en linguas_es linguas_fa linguas_fr linguas_hr linguas_hu linguas_it linguas_ko linguas_nb linguas_pl linguas_pt_BR linguas_ro linguas_ru linguas_sk linguas_sl linguas_sv linguas_tr linguas_zh_CN linguas_zh_TW elibc_glibc elibc_uclibc elibc_musl elibc_FreeBSD elibc_NetBSD elibc_OpenBSD python_targets_python2_7 python_targets_python3_4 python_single_target_python2_7 python_single_target_python3_4
|
||||
LICENSE=POSTGRESQL GPL-2
|
||||
RDEPEND=>=app-eselect/eselect-postgresql-1.2.0 sys-apps/less virtual/libintl kerberos? ( virtual/krb5 ) ldap? ( net-nds/openldap ) pam? ( virtual/pam ) perl? ( >=dev-lang/perl-5.8 ) python? ( python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_single_target_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python3_3(-),-python_single_target_python3_5(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_jython2_7(-),python_single_target_python2_7(+)?,python_single_target_python3_4(+)?] ) readline? ( sys-libs/readline:0= ) ssl? ( !libressl? ( >=dev-libs/openssl-0.9.6-r1:0= ) libressl? ( dev-libs/libressl:= ) ) tcl? ( >=dev-lang/tcl-8:0= ) xml? ( dev-libs/libxml2 dev-libs/libxslt ) zlib? ( sys-libs/zlib ) uuid? ( elibc_glibc? ( sys-apps/util-linux ) elibc_uclibc? ( sys-apps/util-linux ) elibc_musl? ( sys-apps/util-linux ) !elibc_glibc? ( !elibc_uclibc? ( !elibc_musl? ( !elibc_FreeBSD? ( !elibc_NetBSD? ( !elibc_OpenBSD? ( dev-libs/ossp-uuid ) ) ) ) ) ) ) !dev-db/postgresql-docs:9.5 !dev-db/postgresql-base:9.5 !dev-db/postgresql-server:9.5 selinux? ( sec-policy/selinux-postgresql )
|
||||
SLOT=9.5
|
||||
SRC_URI=mirror://postgresql/source/v9.5beta2/postgresql-9.5beta2.tar.bz2
|
||||
_eclasses_=eutils d9bd2ddd85a58e470b49ca997e255a4c flag-o-matic 85dc1eac3c64d8141374490ed64122e5 linux-info 8f92e5ac1a1da684c5450b1b21a1f56a multilib 3972ca401cf7dbb430df9995f5d8d580 pam 3ecd5b75e39b0bb05a3183c08fcdfdb4 prefix e7f2b9c6e57342e5d25eac22fce23062 python-single-r1 caecf590709cc0fcf0b6582bdc49150f python-utils-r1 832cb17726d498a182de6b9ee2adc0dc systemd 3165c885f3c71ffae7a867d931fb0e07 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 user 906f3c8eb3a2350a4f1191a89baa3e46 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=fdff96a80dee9c31dfcf449c9e5abc6e
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile install
|
||||
DESCRIPTION=Flexible bivalent streams for Common Lisp
|
||||
EAPI=5
|
||||
HOMEPAGE=http://weitz.de/flexi-streams/ http://www.cliki.net/flexi-streams/
|
||||
KEYWORDS=~amd64 ~ppc ~sparc ~x86
|
||||
LICENSE=BSD-2
|
||||
PDEPEND=virtual/commonlisp
|
||||
RDEPEND=!dev-lisp/cl-flexi-streams >=dev-lisp/trivial-gray-streams-20060925
|
||||
RESTRICT=mirror
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/edicl/flexi-streams/archive/v1.0.15.tar.gz
|
||||
_eclasses_=common-lisp-3 732b3b6e2021a252e13158c86e4ea4d0 eutils d9bd2ddd85a58e470b49ca997e255a4c multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=3af0175d52e63aafb6f84726cfd6e42f
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile install unpack
|
||||
DESCRIPTION=A thin compatibility layer between Gray Stream Common Lisp implementations
|
||||
EAPI=5
|
||||
HOMEPAGE=https://common-lisp.net/project/trivial-gray-streams/
|
||||
KEYWORDS=~amd64 ~ppc ~sparc ~x86
|
||||
LICENSE=MIT
|
||||
PDEPEND=virtual/commonlisp
|
||||
RDEPEND=!dev-lisp/cl-trivial-gray-streams
|
||||
RESTRICT=mirror
|
||||
SLOT=0
|
||||
SRC_URI=http://common-lisp.net/project/cl-plus-ssl/download/trivial-gray-streams-2008-11-02.tar.gz
|
||||
_eclasses_=common-lisp-3 732b3b6e2021a252e13158c86e4ea4d0 eutils d9bd2ddd85a58e470b49ca997e255a4c multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=a55388fd793fbe4fb7d17b2c067efa8b
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=compile install unpack
|
||||
DEPEND=dev-vcs/git
|
||||
DESCRIPTION=A thin compatibility layer between Gray Stream Common Lisp implementations
|
||||
EAPI=5
|
||||
HOMEPAGE=https://common-lisp.net/project/trivial-gray-streams/
|
||||
LICENSE=MIT
|
||||
PDEPEND=virtual/commonlisp
|
||||
RDEPEND=!dev-lisp/cl-trivial-gray-streams
|
||||
RESTRICT=mirror
|
||||
SLOT=0
|
||||
_eclasses_=common-lisp-3 732b3b6e2021a252e13158c86e4ea4d0 eutils d9bd2ddd85a58e470b49ca997e255a4c git-2 df00117322129fb906bb0a53c3d6a020 multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=7aa2ee792584889d90dc4902f0d886a4
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup test unpack
|
||||
DEPEND=test? ( dev-db/redis ) ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ruby_targets_ruby21? ( dev-lang/ruby:2.1 ) ruby_targets_ruby22? ( dev-lang/ruby:2.2 ) ruby_targets_ruby19? ( doc? ( dev-ruby/yard[ruby_targets_ruby19] ) ) ruby_targets_ruby20? ( doc? ( dev-ruby/yard[ruby_targets_ruby20] ) ) ruby_targets_ruby21? ( doc? ( dev-ruby/yard[ruby_targets_ruby21] ) ) ruby_targets_ruby22? ( doc? ( dev-ruby/yard[ruby_targets_ruby22] ) ) ruby_targets_ruby19? ( test? ( dev-ruby/rake[ruby_targets_ruby19] ) ) ruby_targets_ruby20? ( test? ( dev-ruby/rake[ruby_targets_ruby20] ) ) ruby_targets_ruby21? ( test? ( dev-ruby/rake[ruby_targets_ruby21] ) ) ruby_targets_ruby22? ( test? ( dev-ruby/rake[ruby_targets_ruby22] ) ) ruby_targets_ruby19? ( virtual/rubygems[ruby_targets_ruby19] ) ruby_targets_ruby20? ( virtual/rubygems[ruby_targets_ruby20] ) ruby_targets_ruby21? ( virtual/rubygems[ruby_targets_ruby21] ) ruby_targets_ruby22? ( virtual/rubygems[ruby_targets_ruby22] ) test? ( ruby_targets_ruby19? ( virtual/rubygems[ruby_targets_ruby19] ) ruby_targets_ruby20? ( virtual/rubygems[ruby_targets_ruby20] ) ruby_targets_ruby21? ( virtual/rubygems[ruby_targets_ruby21] ) ruby_targets_ruby22? ( virtual/rubygems[ruby_targets_ruby22] ) )
|
||||
DESCRIPTION=A Ruby client library for Redis
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/redis/redis-rb
|
||||
IUSE=doc test elibc_FreeBSD ruby_targets_ruby19 ruby_targets_ruby20 ruby_targets_ruby21 ruby_targets_ruby22 doc test test
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=MIT
|
||||
RDEPEND=ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ruby_targets_ruby21? ( dev-lang/ruby:2.1 ) ruby_targets_ruby22? ( dev-lang/ruby:2.2 ) ruby_targets_ruby19? ( virtual/rubygems[ruby_targets_ruby19] ) ruby_targets_ruby20? ( virtual/rubygems[ruby_targets_ruby20] ) ruby_targets_ruby21? ( virtual/rubygems[ruby_targets_ruby21] ) ruby_targets_ruby22? ( virtual/rubygems[ruby_targets_ruby22] )
|
||||
REQUIRED_USE=|| ( ruby_targets_ruby19 ruby_targets_ruby20 ruby_targets_ruby21 ruby_targets_ruby22 )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/redis/redis-rb/archive/v3.2.2.tar.gz -> redis-rb-3.2.2.tar.gz
|
||||
_eclasses_=eutils d9bd2ddd85a58e470b49ca997e255a4c java-utils-2 5f1bd1f8baff3ee957cb72c75c3949f2 multilib 3972ca401cf7dbb430df9995f5d8d580 ruby-fakegem 492d8bd1686b3d4215b3e207e0c73884 ruby-ng 79b6c8cabcf1e455baae2f2168e8e370 ruby-utils 97c910cb6b087c64260df641a9b3de0c toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=c87ee273def41bd809373f026f2e826e
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=config install postinst setup
|
||||
DEPEND=>=net-analyzer/icinga2-2.1.1 dev-lang/php:*[apache2?,cli,gd,json,intl,ldap?,mysql?,pdo,postgres?,sockets,ssl,xslt,xml] dev-php/pecl-imagick apache2? ( >=www-servers/apache-2.4.0 ) nginx? ( >=www-servers/nginx-1.7.0:* )
|
||||
DESCRIPTION=Icinga Web 2 - Frontend for icinga2
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.icinga.org/
|
||||
IUSE=apache2 ldap mysql nginx postgres
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=net-analyzer/icinga2-2.1.1 dev-lang/php:*[apache2?,cli,gd,json,intl,ldap?,mysql?,pdo,postgres?,sockets,ssl,xslt,xml] dev-php/pecl-imagick apache2? ( >=www-servers/apache-2.4.0 ) nginx? ( >=www-servers/nginx-1.7.0:* )
|
||||
SLOT=0
|
||||
SRC_URI=https://codeload.github.com/Icinga/icingaweb2/tar.gz/v2.1.0 -> icingaweb2-2.1.0.tar.gz
|
||||
_eclasses_=depend.apache e3c541cb90838388f81620d630c28f41 eutils d9bd2ddd85a58e470b49ca997e255a4c multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 user 906f3c8eb3a2350a4f1191a89baa3e46
|
||||
_md5_=b30f06238b1575c955d29d9dd8b3f698
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile install postinst postrm preinst unpack
|
||||
DEPEND=app-arch/unzip app-arch/unzip >=sys-apps/sed-4
|
||||
DESCRIPTION=Mozilla Application Suite - web browser, email, HTML editor, IRC
|
||||
EAPI=4
|
||||
HOMEPAGE=http://www.seamonkey-project.org/
|
||||
IUSE=startup-notification linguas_be linguas_ca linguas_cs linguas_de linguas_en_GB linguas_es_AR linguas_es_ES linguas_fi linguas_fr linguas_gl linguas_hu linguas_it linguas_ja linguas_lt linguas_nb_NO linguas_nl linguas_pl linguas_pt_PT linguas_ru linguas_sk linguas_sv_SE linguas_tr linguas_uk linguas_zh_CN linguas_zh_TW
|
||||
KEYWORDS=-* amd64 x86
|
||||
LICENSE=MPL-2.0 GPL-2 LGPL-2.1
|
||||
RDEPEND=dev-libs/atk >=sys-apps/dbus-0.60 >=dev-libs/dbus-glib-0.72 >=dev-libs/glib-2.26:2 >=media-libs/alsa-lib-1.0.16 gnome-base/gconf gnome-base/gnome-vfs media-libs/fontconfig >=media-libs/freetype-2.4.10 >=x11-libs/cairo-1.10[X] x11-libs/gdk-pixbuf >=x11-libs/gtk+-2.14:2 x11-libs/libX11 x11-libs/libXcomposite x11-libs/libXdamage x11-libs/libXext x11-libs/libXfixes x11-libs/libXrender x11-libs/libXt >=x11-libs/pango-1.22.0 virtual/freedesktop-icon-theme
|
||||
RESTRICT=strip mirror
|
||||
SLOT=0
|
||||
SRC_URI=linguas_be? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.be.langpack.xpi -> seamonkey-2.35-be.xpi ) linguas_ca? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.ca.langpack.xpi -> seamonkey-2.35-ca.xpi ) linguas_cs? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.cs.langpack.xpi -> seamonkey-2.35-cs.xpi ) linguas_de? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.de.langpack.xpi -> seamonkey-2.35-de.xpi ) linguas_en_GB? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.en-GB.langpack.xpi -> seamonkey-2.35-en-GB.xpi ) linguas_es_AR? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.es-AR.langpack.xpi -> seamonkey-2.35-es-AR.xpi ) linguas_es_ES? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.es-ES.langpack.xpi -> seamonkey-2.35-es-ES.xpi ) linguas_fi? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.fi.langpack.xpi -> seamonkey-2.35-fi.xpi ) linguas_fr? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.fr.langpack.xpi -> seamonkey-2.35-fr.xpi ) linguas_gl? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.gl.langpack.xpi -> seamonkey-2.35-gl.xpi ) linguas_hu? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.hu.langpack.xpi -> seamonkey-2.35-hu.xpi ) linguas_it? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.it.langpack.xpi -> seamonkey-2.35-it.xpi ) linguas_ja? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.ja.langpack.xpi -> seamonkey-2.35-ja.xpi ) linguas_lt? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.lt.langpack.xpi -> seamonkey-2.35-lt.xpi ) linguas_nb_NO? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.nb-NO.langpack.xpi -> seamonkey-2.35-nb-NO.xpi ) linguas_nl? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.nl.langpack.xpi -> seamonkey-2.35-nl.xpi ) linguas_pl? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.pl.langpack.xpi -> seamonkey-2.35-pl.xpi ) linguas_pt_PT? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.pt-PT.langpack.xpi -> seamonkey-2.35-pt-PT.xpi ) linguas_ru? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.ru.langpack.xpi -> seamonkey-2.35-ru.xpi ) linguas_sk? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.sk.langpack.xpi -> seamonkey-2.35-sk.xpi ) linguas_sv_SE? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.sv-SE.langpack.xpi -> seamonkey-2.35-sv-SE.xpi ) linguas_tr? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.tr.langpack.xpi -> seamonkey-2.35-tr.xpi ) linguas_uk? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.uk.langpack.xpi -> seamonkey-2.35-uk.xpi ) linguas_zh_CN? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.zh-CN.langpack.xpi -> seamonkey-2.35-zh-CN.xpi ) linguas_zh_TW? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/langpack/seamonkey-2.35.zh-TW.langpack.xpi -> seamonkey-2.35-zh-TW.xpi ) amd64? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/contrib/seamonkey-2.35.en-US.linux-x86_64.tar.bz2 -> seamonkey-bin_x86_64-2.35.tar.bz2 ) x86? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.35/linux-i686/en-US/seamonkey-2.35.tar.bz2 -> seamonkey-bin_i686-2.35.tar.bz2 )
|
||||
_eclasses_=eutils d9bd2ddd85a58e470b49ca997e255a4c fdo-mime 92d07846ea8ea54172f8c0112a47ae3d gnome2-utils b441f26f494b8565a3e0010c093dc843 mozextension 3d8ee4835f89ff39d4666656aa603433 mozlinguas f8b09a9eb2d47862b6df38999a9d6098 multilib 3972ca401cf7dbb430df9995f5d8d580 nsplugins bf5bfcef1d2f0adad7e6230455df8e91 pax-utils 9dd3f9de6dccb2463faf55e568439d1c toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
|
||||
_md5_=b6844fc5d807cbcf4fca7ae40a727f34
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile install postinst postrm preinst unpack
|
||||
DEPEND=app-arch/unzip app-arch/unzip >=sys-apps/sed-4
|
||||
DESCRIPTION=Mozilla Application Suite - web browser, email, HTML editor, IRC
|
||||
EAPI=4
|
||||
HOMEPAGE=http://www.seamonkey-project.org/
|
||||
IUSE=startup-notification linguas_be linguas_ca linguas_cs linguas_de linguas_en_GB linguas_es_AR linguas_es_ES linguas_fi linguas_fr linguas_gl linguas_hu linguas_it linguas_ja linguas_lt linguas_nb_NO linguas_nl linguas_pl linguas_pt_PT linguas_ru linguas_sk linguas_sv_SE linguas_tr linguas_uk linguas_zh_CN linguas_zh_TW
|
||||
KEYWORDS=-* amd64 x86
|
||||
LICENSE=MPL-2.0 GPL-2 LGPL-2.1
|
||||
RDEPEND=dev-libs/atk >=sys-apps/dbus-0.60 >=dev-libs/dbus-glib-0.72 >=dev-libs/glib-2.26:2 >=media-libs/alsa-lib-1.0.16 gnome-base/gconf gnome-base/gnome-vfs media-libs/fontconfig >=media-libs/freetype-2.4.10 >=x11-libs/cairo-1.10[X] x11-libs/gdk-pixbuf >=x11-libs/gtk+-2.14:2 x11-libs/libX11 x11-libs/libXcomposite x11-libs/libXdamage x11-libs/libXext x11-libs/libXfixes x11-libs/libXrender x11-libs/libXt >=x11-libs/pango-1.22.0 virtual/freedesktop-icon-theme
|
||||
RESTRICT=strip mirror
|
||||
SLOT=0
|
||||
SRC_URI=linguas_be? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.be.langpack.xpi -> seamonkey-2.39-be.xpi ) linguas_ca? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.ca.langpack.xpi -> seamonkey-2.39-ca.xpi ) linguas_cs? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.cs.langpack.xpi -> seamonkey-2.39-cs.xpi ) linguas_de? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.de.langpack.xpi -> seamonkey-2.39-de.xpi ) linguas_en_GB? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.en-GB.langpack.xpi -> seamonkey-2.39-en-GB.xpi ) linguas_es_AR? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.es-AR.langpack.xpi -> seamonkey-2.39-es-AR.xpi ) linguas_es_ES? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.es-ES.langpack.xpi -> seamonkey-2.39-es-ES.xpi ) linguas_fi? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.fi.langpack.xpi -> seamonkey-2.39-fi.xpi ) linguas_fr? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.fr.langpack.xpi -> seamonkey-2.39-fr.xpi ) linguas_gl? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.gl.langpack.xpi -> seamonkey-2.39-gl.xpi ) linguas_hu? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.hu.langpack.xpi -> seamonkey-2.39-hu.xpi ) linguas_it? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.it.langpack.xpi -> seamonkey-2.39-it.xpi ) linguas_ja? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.ja.langpack.xpi -> seamonkey-2.39-ja.xpi ) linguas_lt? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.lt.langpack.xpi -> seamonkey-2.39-lt.xpi ) linguas_nb_NO? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.nb-NO.langpack.xpi -> seamonkey-2.39-nb-NO.xpi ) linguas_nl? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.nl.langpack.xpi -> seamonkey-2.39-nl.xpi ) linguas_pl? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.pl.langpack.xpi -> seamonkey-2.39-pl.xpi ) linguas_pt_PT? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.pt-PT.langpack.xpi -> seamonkey-2.39-pt-PT.xpi ) linguas_ru? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.ru.langpack.xpi -> seamonkey-2.39-ru.xpi ) linguas_sk? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.sk.langpack.xpi -> seamonkey-2.39-sk.xpi ) linguas_sv_SE? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.sv-SE.langpack.xpi -> seamonkey-2.39-sv-SE.xpi ) linguas_tr? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.tr.langpack.xpi -> seamonkey-2.39-tr.xpi ) linguas_uk? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.uk.langpack.xpi -> seamonkey-2.39-uk.xpi ) linguas_zh_CN? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.zh-CN.langpack.xpi -> seamonkey-2.39-zh-CN.xpi ) linguas_zh_TW? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/langpack/seamonkey-2.39.zh-TW.langpack.xpi -> seamonkey-2.39-zh-TW.xpi ) amd64? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/contrib/seamonkey-2.39.en-US.linux-x86_64.tar.bz2 -> seamonkey-bin_x86_64-2.39.tar.bz2 ) x86? ( http://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/2.39/linux-i686/en-US/seamonkey-2.39.tar.bz2 -> seamonkey-bin_i686-2.39.tar.bz2 )
|
||||
_eclasses_=eutils d9bd2ddd85a58e470b49ca997e255a4c fdo-mime 92d07846ea8ea54172f8c0112a47ae3d gnome2-utils b441f26f494b8565a3e0010c093dc843 mozextension 3d8ee4835f89ff39d4666656aa603433 mozlinguas f8b09a9eb2d47862b6df38999a9d6098 multilib 3972ca401cf7dbb430df9995f5d8d580 nsplugins bf5bfcef1d2f0adad7e6230455df8e91 pax-utils 9dd3f9de6dccb2463faf55e568439d1c toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
|
||||
_md5_=b6844fc5d807cbcf4fca7ae40a727f34
|
@ -1 +1 @@
|
||||
Tue, 15 Dec 2015 20:43:49 +0000
|
||||
Wed, 16 Dec 2015 06:13:45 +0000
|
||||
|
@ -1 +1 @@
|
||||
Tue Dec 15 20:42:54 UTC 2015
|
||||
Wed Dec 16 06:12:51 UTC 2015
|
||||
|
@ -1 +1 @@
|
||||
Tue, 15 Dec 2015 21:30:01 +0000
|
||||
Wed, 16 Dec 2015 06:30:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1450212001 Tue 15 Dec 2015 08:40:01 PM UTC
|
||||
1450246201 Wed 16 Dec 2015 06:10:01 AM UTC
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST keystone-2015.1.1.tar.gz 884979 SHA256 6c703f2d26c6a5f4fd4963dc11474b55cf87c5890d97361a4738df35eea258c5 SHA512 0c540f2a33729a539e68cb5d3e0b0b4ef0014829c274b0b92d982cd7d75110b14a3edc9db9c15794dd4c73f45a4982f47f99f75be6cbd8c91b0550ef24040848 WHIRLPOOL c20cc32d6043e9a2e9e5441a17e55431efabc3619156256c8fe8217bd876b07abb5860a48fc4bd761f505f022579d815a29b56d5c7a0536bafe89a2ad4b3b93a
|
||||
DIST keystone-2015.1.2.tar.gz 889207 SHA256 af63a89ca1cebfff593e35c24105c1442ab50f760871d756a48cfc120a7a8ddb SHA512 1592fb4e4d0b3ada08f2f12a25e9da08979e6c624239660b38b858115e1dc04a810857f07753ad855f51abf3b4cc43bae4a6f53cca33d10ab9e16ec4229bff42 WHIRLPOOL 285d9e91dcd8b3961596c0d1a7d093d32538e4fefb0e082fc496c79882c5f5d80a296ad415c443d0549a8412488d38820799db7ba03be98013d1340e0641a19e
|
||||
DIST keystone-8.0.0.tar.gz 1061052 SHA256 b2172b3c5eec6d4438138856562833dfb5cabd69e0aab35be015f2505cb2431d SHA512 2675cd056bac6a1e0eb59e3f93583942a9a5db20e40d317ea300ca687c1112b001210f2c0d454f967f4d61c1c5117bf96731dbd17a5f6ec81b07e5c1d0666b6c WHIRLPOOL 9c4e76438ca2eb35685754e3580aa6ba3d1a86a30f0f8a484bac6b741adc6e5f328db988146c752a2d1a0b25b02a5089d9f859f5373cbf5c43b9c859a198eb51
|
||||
DIST keystone-8.0.1.tar.gz 1067603 SHA256 4d1a76e879eb5fc977692892d1dce46a0190bf17d57056d634d377ea4511b475 SHA512 2b61b8dc38df3e3fa7c684b55f19b48391f087f00a6156732e1d6d207f36f6d23fff3adaaacbb4b7629686b4fce8a963189051bb0c2f0dad02c219832dc64af5 WHIRLPOOL 812c553d493a26adc0b6c76db3b9b8e7da35593425ac7bf986aa3b6e1b51f3816f95b4a84339902e16f8a3d61a6bd053ab4e310e77f8ce874ed4165395cd9799
|
||||
|
@ -0,0 +1,225 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 user
|
||||
|
||||
DESCRIPTION="The Openstack authentication, authorization, and service catalog"
|
||||
HOMEPAGE="https://launchpad.net/keystone"
|
||||
SRC_URI="https://tarballs.openstack.org/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+sqlite memcached mongo mysql postgres ldap test"
|
||||
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
||||
|
||||
CDEPEND=">=dev-python/pbr-1.6[${PYTHON_USEDEP}]"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${CDEPEND}
|
||||
test? (
|
||||
${RDEPEND}
|
||||
>=dev-python/bashate-0.2[${PYTHON_USEDEP}]
|
||||
<=dev-python/bashate-0.3.2[${PYTHON_USEDEP}]
|
||||
memcached? (
|
||||
>=dev-python/python-memcached-1.48[${PYTHON_USEDEP}]
|
||||
<=dev-python/python-memcached-1.57[${PYTHON_USEDEP}]
|
||||
)
|
||||
mongo? (
|
||||
>=dev-python/pymongo-2.6.3[${PYTHON_USEDEP}]
|
||||
<dev-python/pymongo-3.2[${PYTHON_USEDEP}]
|
||||
)
|
||||
ldap? (
|
||||
>=dev-python/python-ldap-2.4[$(python_gen_usedep 'python2_7')]
|
||||
<=dev-python/python-ldap-2.4.20[$(python_gen_usedep 'python2_7')]
|
||||
~dev-python/ldappool-1.0[$(python_gen_usedep 'python2_7')]
|
||||
)
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
<=dev-python/coverage-4.0.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}]
|
||||
<=dev-python/fixtures-1.4.0-r9999[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-2.3[${PYTHON_USEDEP}]
|
||||
<=dev-python/lxml-3.5.0-r9999[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.2[${PYTHON_USEDEP}]
|
||||
<=dev-python/mock-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/oslotest-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/webtest-2.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/webtest-2.0.20[${PYTHON_USEDEP}]
|
||||
>=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
|
||||
<=dev-python/subunit-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
<=dev-python/testrepository-0.0.20[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/testtools-1.8.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/oslo-sphinx-4.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/tempest-lib-0.8.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/tempest-lib-0.11.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.5.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/requests-2.8.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/requests-2.8.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/reno-0.1.1[${PYTHON_USEDEP}]
|
||||
)"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=dev-python/webob-1.2.3-r1[${PYTHON_USEDEP}]
|
||||
<=dev-python/webob-1.5.1[${PYTHON_USEDEP}]
|
||||
~dev-python/eventlet-0.17.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}]
|
||||
<=dev-python/greenlet-0.4.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/pastedeploy-1.5.2[${PYTHON_USEDEP}]
|
||||
<=dev-python/paste-2.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/routes-1.12.3[${PYTHON_USEDEP}]
|
||||
!~dev-python/routes-2.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/routes-2.1[$(python_gen_usedep 'python2_7')]
|
||||
<=dev-python/routes-2.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-1.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/cryptography-1.1.2-r9999[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/six-1.10.0-r9999[${PYTHON_USEDEP}]
|
||||
sqlite? (
|
||||
>=dev-python/sqlalchemy-0.9.9[sqlite,${PYTHON_USEDEP}]
|
||||
<dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}]
|
||||
)
|
||||
mysql? (
|
||||
dev-python/mysql-python
|
||||
>=dev-python/sqlalchemy-0.9.9[${PYTHON_USEDEP}]
|
||||
<dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
|
||||
)
|
||||
postgres? (
|
||||
dev-python/psycopg:2
|
||||
>=dev-python/sqlalchemy-0.9.9[${PYTHON_USEDEP}]
|
||||
<dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
|
||||
)
|
||||
>=dev-python/sqlalchemy-migrate-0.9.6[${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-migrate-0.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.5.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/stevedore-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/passlib-1.6[${PYTHON_USEDEP}]
|
||||
<=dev-python/passlib-1.6.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-keystoneclient-1.6.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/python-keystoneclient-1.8.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/python-keystoneclient-2.0.0-r9999[${PYTHON_USEDEP}]
|
||||
>=dev-python/keystonemiddleware-2.0.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/keystonemiddleware-2.4.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/keystonemiddleware-4.0.0-r9999[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-concurrency-2.3.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/oslo-concurrency-3.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-2.3.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/oslo-config-3.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-context-0.2.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/oslo-context-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-messaging-1.16.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/oslo-messaging-1.17.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/oslo-messaging-1.17.1[${PYTHON_USEDEP}]
|
||||
!~dev-python/oslo-messaging-2.6.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/oslo-messaging-2.6.1[${PYTHON_USEDEP}]
|
||||
!~dev-python/oslo-messaging-2.7.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/oslo-messaging-2.8.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/oslo-messaging-2.8.1[${PYTHON_USEDEP}]
|
||||
!~dev-python/oslo-messaging-2.9.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/oslo-messaging-3.1.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/oslo-messaging-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-db-2.4.1[${PYTHON_USEDEP}]
|
||||
<=dev-python/oslo-db-4.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-i18n-1.5.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/oslo-i18n-3.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-log-1.8.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/oslo-log-2.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-middleware-2.8.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/oslo-middleware-3.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-policy-0.5.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/oslo-policy-1.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-serialization-1.4.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/oslo-serialization-2.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-service-0.7.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/oslo-service-1.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-utils-2.0.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/oslo-utils-2.6.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/oslo-utils-3.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oauthlib-0.6.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/oauthlib-1.0.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pysaml2-2.4.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/pysaml2-4.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/dogpile-cache-0.5.4[${PYTHON_USEDEP}]
|
||||
<=dev-python/dogpile-cache-0.5.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-2.0.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/jsonschema-2.5.0[${PYTHON_USEDEP}]
|
||||
<dev-python/jsonschema-3.0.0[${PYTHON_USEDEP}]
|
||||
~dev-python/pycadf-1.1.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/pycadf-2.0.1[${PYTHON_USEDEP}]
|
||||
~dev-python/msgpack-0.4.6[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=(
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup keystone
|
||||
enewuser keystone -1 -1 /var/lib/keystone keystone
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
# it's in git, but not in the tarball.....
|
||||
sed -i '/^hacking/d' test-requirements.txt || die
|
||||
mkdir -p ${PN}/tests/tmp/ || die
|
||||
cp etc/keystone-paste.ini ${PN}/tests/tmp/ || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
# Ignore (naughty) test_.py files & 1 test that connect to the network
|
||||
#-I 'test_keystoneclient*' \
|
||||
python_test() {
|
||||
nosetests -I 'test_keystoneclient*' \
|
||||
-e test_static_translated_string_is_Message \
|
||||
-e test_get_token_id_error_handling \
|
||||
-e test_provider_token_expiration_validation \
|
||||
-e test_import --process-restartworker --process-timeout=60 || die "testsuite failed under python2.7"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
newconfd "${FILESDIR}/keystone.confd" keystone
|
||||
newinitd "${FILESDIR}/keystone.initd" keystone
|
||||
|
||||
diropts -m 0750
|
||||
keepdir /etc/keystone /var/log/keystone
|
||||
insinto /etc/keystone
|
||||
insopts -m0640 -okeystone -gkeystone
|
||||
doins etc/keystone.conf.sample etc/logging.conf.sample
|
||||
doins etc/default_catalog.templates etc/policy.json
|
||||
doins etc/policy.v3cloudsample.json etc/keystone-paste.ini
|
||||
insinto /etc/keystone/httpd
|
||||
doins httpd/keystone.py httpd/wsgi-keystone.conf
|
||||
|
||||
fowners keystone:keystone /etc/keystone /var/log/keystone
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You might want to run:"
|
||||
elog "emerge --config =${CATEGORY}/${PF}"
|
||||
elog "if this is a new install."
|
||||
elog "If you have not already configured your openssl installation"
|
||||
elog "please do it by modifying /etc/ssl/openssl.cnf"
|
||||
elog "BEFORE issuing the configuration command."
|
||||
elog "Otherwise default values will be used."
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
if [ ! -d "${ROOT}"/etc/keystone/ssl ] ; then
|
||||
einfo "Press ENTER to configure the keystone PKI, or Control-C to abort now..."
|
||||
read
|
||||
"${ROOT}"/usr/bin/keystone-manage pki_setup --keystone-user keystone --keystone-group keystone
|
||||
else
|
||||
einfo "keystone PKI certificates directory already present, skipping configuration"
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST icingaweb2-2.0.0.tar.gz 9854668 SHA256 a6a5383049e632108ce19b4b85f16a7fdd2f5acb3a6d2af3935254e2bc7fb2e6 SHA512 fb0094b19429d7da533f05ffcb601b47a231e0d5af076775ea8a7c487b0584884172041f443851132bc27634de341190a97e76c750b529dc91b23d166e70ed58 WHIRLPOOL 2d88174296a29b576ba1d4bcf0bcf5a75d166e41c0972327c4c418d3e7bb54ebd74d5d59318c40dc9767d2271954750f9f7248072c8cced6c892a96e5ff5900a
|
||||
DIST icingaweb2-2.1.0.tar.gz 9957758 SHA256 1fa15efe4056eca4012358d009da1b90c4b4dd3e18d446de33eeaa48728389fd SHA512 fa694bdaba51b82c33b8fd726807df4c626cd944f1d2949cc8768df3e9bbebdb78888f6aaeba2e88f1f843dab8608d69e1b69f6630e438ab9854d3c8b99f4502 WHIRLPOOL 6b3cba5a701757000909c664d115755efaf3564a77a34a71bc4baa96b058efe1d682867fbaedae22e6a1126aa3dfb47389f8474c42f5a45fbffebc77529a7261
|
||||
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit depend.apache eutils multilib user
|
||||
|
||||
DESCRIPTION="Icinga Web 2 - Frontend for icinga2"
|
||||
HOMEPAGE="http://www.icinga.org/"
|
||||
SRC_URI="https://codeload.github.com/Icinga/${PN}/tar.gz/v${PV} -> ${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="apache2 ldap mysql nginx postgres"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND=">=net-analyzer/icinga2-2.1.1
|
||||
dev-lang/php:*[apache2?,cli,gd,json,intl,ldap?,mysql?,pdo,postgres?,sockets,ssl,xslt,xml]
|
||||
dev-php/pecl-imagick
|
||||
apache2? ( >=www-servers/apache-2.4.0 )
|
||||
nginx? ( >=www-servers/nginx-1.7.0:* )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
if use apache2 ; then
|
||||
want_apache2
|
||||
depend.apache_pkg_setup
|
||||
fi
|
||||
|
||||
enewgroup icingaweb2
|
||||
enewgroup icingacmd
|
||||
use nginx && usermod -a -G icingacmd,icingaweb2 nginx
|
||||
use apache2 && usermod -a -G icingacmd,icingaweb2 apache2
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
if [[ -d /etc/icingaweb2 ]] ; then
|
||||
einfo "Updating existing installation ..."
|
||||
else
|
||||
einfo "Running first time setup ..."
|
||||
einfo "Creating configuration directory ..."
|
||||
/usr/share/${PN}/bin/icingacli setup config directory
|
||||
einfo "Creating authentication token for web setup ..."
|
||||
/usr/share/${PN}/bin/icingacli setup token create
|
||||
if use apache2 ; then
|
||||
einfo "The following might be useful for your Apache2 configuration:"
|
||||
/usr/share/${PN}/bin/icingacli setup config webserver apache --document-root /usr/share/${PN}/public
|
||||
fi
|
||||
if use nginx ; then
|
||||
einfo "The following might be useful for your NGinx configuration:"
|
||||
/usr/share/${PN}/bin/icingacli setup config webserver nginx --document-root /usr/share/${PN}/public
|
||||
fi
|
||||
fi
|
||||
einfo "All done."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mkdir -p "${D}/usr/share/${PN}"
|
||||
cp -R "${S}"/* "${D}/usr/share/${PN}"
|
||||
chmod -R a+rX "${D}/usr/share/${PN}/public"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Run 'emerge --config =${CATEGORY}/${PF}' to finish setup."
|
||||
}
|
Loading…
Reference in new issue