parent
a28cd7faf0
commit
bf9d35dcc5
@ -0,0 +1 @@
|
||||
DIST libsecret-0.10.tar.xz 473952 SHA256 4015ac83042fa408bf66ca8526709662d194fe566181db6ab3d86a6ea4ab8880 SHA512 28b09871e532c26f04b760d014b54cfb478997840e010a07d8862ebf9f8f87f7e67f5ec60e486577020aee29ea75701d7263891126aec638eaad9245e5c2c076 WHIRLPOOL 5b55093a83dfacefad59735ecae895d5145b289d7ee2b0181345fa0f6053b7c8f736ac7833fc686b9b180cd0b977d5048b25ee0952dccb6f28764359926b8165
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/libsecret/libsecret-0.10.ebuild,v 1.1 2012/09/25 10:06:41 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit gnome2 virtualx
|
||||
|
||||
DESCRIPTION="GObject library for accessing the freedesktop.org Secret Service API"
|
||||
HOMEPAGE="https://live.gnome.org/Libsecret"
|
||||
|
||||
LICENSE="LGPL-2.1+ Apache-2.0" # Apache-2.0 license is used for tests only
|
||||
SLOT="0"
|
||||
IUSE="+crypt debug +introspection"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.31.0:2
|
||||
crypt? ( >=dev-libs/libgcrypt-1.2.2 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.29 )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=gnome-base/gnome-keyring-3"
|
||||
# Add ksecrets to RDEPEND when it's added to portage
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-libs/libxslt
|
||||
sys-devel/gettext
|
||||
dev-util/gdbus-codegen
|
||||
>=dev-util/intltool-0.35.0
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
G2CONF="
|
||||
--enable-manpages
|
||||
--disable-strict
|
||||
--disable-coverage
|
||||
--disable-static
|
||||
--disable-vala
|
||||
$(use_enable crypt gcrypt)"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
Xemake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
prune_libtool_files --all
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>gnome</herd>
|
||||
<use>
|
||||
<flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg>
|
||||
for introspection</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -1,6 +1,3 @@
|
||||
DIST krb5-1.10.1-signed.tar 10649600 SHA256 d57fcef50e8f113907c3bd94f33db352600bce0f9f1b6d0c15a6d67d6ad62f0a SHA512 8d72622e92604dfa388fb42706929ad778927d87ad2b27b012f266d43b9169ea7521721b7155020583d1a9977bf4b777ab78f819ea03ec74a0211cbbfd0c6657 WHIRLPOOL 32b0466ad4753a3cece6752224aac2d391fe3a0717fb2182a966610573964eab14296d0f62274bee63537a936380d50cbcc5185e917ce6ddf18d4e808376f188
|
||||
DIST krb5-1.10.2-signed.tar 11520000 SHA256 52c719de1a7f042109486a80e7b69e43555186a2acf26c1e5ab83a3ab1cebe3d SHA512 989d49e2b5cfa55ccf01fd075a9ebe27eb22e2682a3c59eac1489318c84ad8b950458cf6c7ea9a0bfc81423e91a9545fed164799d73a6f6c46ff8f8b97bb2475 WHIRLPOOL 98440f22f737fa9b6a4482d4e7483bf458464a02747ee947296e898fe1407d128c3e74c120ea356ec724a8b26ecbee910b85fb146cfd2b46af932f7e4a968460
|
||||
DIST krb5-1.10.3-signed.tar 11530240 SHA256 fc48f9f985bf04aa91c239dae0daaa0509c85b61b2d172d9d65ab0c52bcea3cf SHA512 1f2e3bff5b7485fb5b95a247216d952c4fd0b64ed4eaea14693b687a0268f4f88cf018b4c920329f806ecf7f2cde32ff033fc8f2136a7007fdb88c4b1759dfbb WHIRLPOOL f225650f97ca21526761467d83e05de7252d329724b6b88a2d89fa210abdf0d0248e01de50eaaac200deb6eabb9adfb2129cbe297355923a88f2e67e16c6ab70
|
||||
DIST krb5-1.8.3-signed.tar 11642880 SHA256 2c5988ddd8b409134cd0e77e9ce8f762605ce8d8fb0aa22f6500f53381567019 SHA512 a44661182a0f0e31d2aae6ce430dbbcf2a49a800959cf0e10fc35c29debe785ad48e2eb777658fc979e45a0342c8e6bfbc7414e4922cc2c5e5c457508acf787e WHIRLPOOL c2d8eab64d5cb7cc19f124142bc9c86547f2e358bb43b4f2fbd6d3acb069faca7970fde4a2404a681501199d9c1fec6a1b259c339badf883d16a964fe43cd05a
|
||||
DIST krb5-1.9.2-signed.tar 12185600 SHA256 96b213345b02862b5fef61ef1dd26f643f07e4207496c35179cea35ddb7ae68c SHA512 8918f6fbbd0d82109d408477ead82a668619608e8b90b364596e678a92dd1ddc6ad01c45004d7bc0687037aa62e4ff655fb6989e60e03875385f1cfcb2d836f5 WHIRLPOOL 538040ec7a67e7259f5b3d486c2c6aee9c17d2fd71f61c3380f0b36a10f01a6490eebbe8262ba4ff637134e7b0b862570a9283f4f848af7d7e81fa12322127b4
|
||||
DIST krb5-1.9.4-signed.tar 13025280 SHA256 42fd639b0cb9568c4ae3d92874a76f75ffdc0071cf466a967b7beb340c020961 SHA512 8638f679a3f93a145ec6c5304125c77743278e5912a2d0d5e96157d60639ce26d5a135caa528570b301b3896c4752e81c523ee71b99534fe71fdc6d8083cbc04 WHIRLPOOL 559098eb8654248c612a2d23533d953f3572052b74a469dd6b4054a25167f72d1ac65ad4f5b714d9d8b9101376728c0ac34e4fce1dc73ad0aab7fa6f4a49d3c0
|
||||
|
@ -1,123 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.10.1-r2.ebuild,v 1.3 2012/08/18 09:16:11 eras Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils flag-o-matic versionator
|
||||
|
||||
MY_P="${P/mit-}"
|
||||
P_DIR=$(get_version_component_range 1-2)
|
||||
DESCRIPTION="MIT Kerberos V"
|
||||
HOMEPAGE="http://web.mit.edu/kerberos/www/"
|
||||
SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}-signed.tar"
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="doc +keyutils openldap +pkinit +threads test xinetd"
|
||||
|
||||
RDEPEND="!!app-crypt/heimdal
|
||||
>=sys-libs/e2fsprogs-libs-1.41.0
|
||||
keyutils? ( sys-apps/keyutils )
|
||||
openldap? ( net-nds/openldap )
|
||||
pkinit? ( dev-libs/openssl )
|
||||
xinetd? ( sys-apps/xinetd )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/yacc
|
||||
doc? ( virtual/latex-base )
|
||||
test? ( dev-lang/tcl
|
||||
dev-lang/python
|
||||
dev-util/dejagnu )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/src
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
unpack ./"${MY_P}".tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}_uninitialized_extra.patch"
|
||||
epatch "${FILESDIR}/${P}_uninitialized_extra-2.patch"
|
||||
epatch "${FILESDIR}/${P}_gcc470.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags "-I${EPREFIX}/usr/include/et"
|
||||
# QA
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags -fno-strict-overflow
|
||||
use keyutils || export ac_cv_header_keyutils_h=no
|
||||
econf \
|
||||
$(use_with openldap ldap) \
|
||||
"$(use_with test tcl "${EPREFIX}/usr")" \
|
||||
$(use_enable pkinit) \
|
||||
$(use_enable threads thread-support) \
|
||||
--without-hesiod \
|
||||
--enable-shared \
|
||||
--with-system-et \
|
||||
--with-system-ss \
|
||||
--enable-dns-for-realm \
|
||||
--enable-kdc-lookaside-cache \
|
||||
--disable-rpath
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
|
||||
if use doc ; then
|
||||
cd ../doc
|
||||
for dir in api implement ; do
|
||||
emake -C "${dir}"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
|
||||
install
|
||||
|
||||
# default database dir
|
||||
keepdir /var/lib/krb5kdc
|
||||
|
||||
cd ..
|
||||
dodoc NOTICE README
|
||||
dodoc doc/*.{ps,txt}
|
||||
doinfo doc/*.info*
|
||||
dohtml -r doc/*.html
|
||||
|
||||
if use doc ; then
|
||||
dodoc doc/{api,implement}/*.ps
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/mit-krb5kadmind.initd mit-krb5kadmind
|
||||
newinitd "${FILESDIR}"/mit-krb5kdc.initd mit-krb5kdc
|
||||
newinitd "${FILESDIR}"/mit-krb5kpropd.initd mit-krb5kpropd
|
||||
|
||||
insinto /etc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
|
||||
insinto /var/lib/krb5kdc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
|
||||
|
||||
if use openldap ; then
|
||||
insinto /etc/openldap/schema
|
||||
doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema"
|
||||
fi
|
||||
|
||||
if use xinetd ; then
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}/kpropd.xinetd" kpropd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-1.8.0" ; then
|
||||
elog "MIT split the Kerberos applications from the base Kerberos"
|
||||
elog "distribution. Kerberized versions of telnet, rlogin, rsh, rcp,"
|
||||
elog "ftp clients and telnet, ftp deamons now live in"
|
||||
elog "\"app-crypt/mit-krb5-appl\" package."
|
||||
fi
|
||||
}
|
@ -1,119 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.8.3-r6.ebuild,v 1.1 2011/12/31 20:01:30 idl0r Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils flag-o-matic versionator
|
||||
|
||||
MY_P=${P/mit-}
|
||||
P_DIR=$(get_version_component_range 1-2)
|
||||
DESCRIPTION="MIT Kerberos V"
|
||||
HOMEPAGE="http://web.mit.edu/kerberos/www/"
|
||||
SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}-signed.tar"
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="m68k"
|
||||
IUSE="doc openldap test xinetd"
|
||||
|
||||
RDEPEND="!!app-crypt/heimdal
|
||||
>=sys-libs/e2fsprogs-libs-1.41.0
|
||||
sys-apps/keyutils
|
||||
openldap? ( net-nds/openldap )
|
||||
xinetd? ( sys-apps/xinetd )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( virtual/latex-base )
|
||||
test? ( dev-lang/tcl
|
||||
dev-lang/perl
|
||||
dev-util/dejagnu )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/src
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
unpack ./"${MY_P}".tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/CVE-2010-1322.patch"
|
||||
epatch "${FILESDIR}/CVE-2010-1323.1324.4020.patch"
|
||||
epatch "${FILESDIR}/CVE-2010-4022.patch"
|
||||
epatch "${FILESDIR}/${P}-CVE-2011-0281.0282.0283.patch"
|
||||
epatch "${FILESDIR}/CVE-2011-0284.patch"
|
||||
epatch "${FILESDIR}/${P}-CVE-2011-0285.patch"
|
||||
epatch "${FILESDIR}/mit-krb5_testsuite.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags "-I/usr/include/et"
|
||||
econf \
|
||||
$(use_with openldap ldap) \
|
||||
$(use_with test tcl /usr) \
|
||||
--without-krb4 \
|
||||
--enable-shared \
|
||||
--with-system-et \
|
||||
--with-system-ss \
|
||||
--enable-dns-for-realm \
|
||||
--enable-kdc-replay-cache \
|
||||
--disable-rpath
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 || die "emake failed"
|
||||
|
||||
if use doc ; then
|
||||
cd ../doc
|
||||
for dir in api implement ; do
|
||||
emake -C "${dir}" || die "doc emake failed"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
EXAMPLEDIR="/usr/share/doc/${PF}/examples" \
|
||||
install || die "install failed"
|
||||
|
||||
# default database dir
|
||||
keepdir /var/lib/krb5kdc
|
||||
|
||||
cd ..
|
||||
dodoc README
|
||||
dodoc doc/*.{ps,txt}
|
||||
doinfo doc/*.info*
|
||||
dohtml -r doc/*.html
|
||||
|
||||
# die if we cannot respect a USE flag
|
||||
if use doc ; then
|
||||
dodoc doc/{api,implement}/*.ps || die "dodoc failed"
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/mit-krb5kadmind.initd mit-krb5kadmind || die
|
||||
newinitd "${FILESDIR}"/mit-krb5kdc.initd mit-krb5kdc || die
|
||||
|
||||
insinto /etc
|
||||
newins "${D}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
|
||||
insinto /var/lib/krb5kdc
|
||||
newins "${D}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
|
||||
|
||||
if use openldap ; then
|
||||
insinto /etc/openldap/schema
|
||||
doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema" || die
|
||||
fi
|
||||
|
||||
if use xinetd ; then
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}/kpropd.xinetd" kpropd || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-1.8.0" ; then
|
||||
elog "MIT split the Kerberos applications from the base Kerberos"
|
||||
elog "distribution. Kerberized versions of telnet, rlogin, rsh, rcp,"
|
||||
elog "ftp clients and telnet, ftp deamons now live in"
|
||||
elog "\"app-crypt/mit-krb5-appl\" package."
|
||||
fi
|
||||
}
|
@ -1,123 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.9.2-r2.ebuild,v 1.2 2012/08/18 09:16:11 eras Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit eutils flag-o-matic versionator
|
||||
|
||||
MY_P="${P/mit-}"
|
||||
P_DIR=$(get_version_component_range 1-2)
|
||||
DESCRIPTION="MIT Kerberos V"
|
||||
HOMEPAGE="http://web.mit.edu/kerberos/www/"
|
||||
SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}-signed.tar"
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="doc +keyutils openldap +pkinit +threads test xinetd"
|
||||
|
||||
RDEPEND="!!app-crypt/heimdal
|
||||
>=sys-libs/e2fsprogs-libs-1.41.0
|
||||
keyutils? ( sys-apps/keyutils )
|
||||
openldap? ( net-nds/openldap )
|
||||
pkinit? ( dev-libs/openssl )
|
||||
xinetd? ( sys-apps/xinetd )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/yacc
|
||||
doc? ( virtual/latex-base )
|
||||
test? ( dev-lang/tcl
|
||||
dev-lang/python
|
||||
dev-util/dejagnu )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/src
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
unpack ./"${MY_P}".tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-kprop_exit_on_error.patch"
|
||||
epatch "${FILESDIR}/CVE-2011-1530.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags "-I${EPREFIX}/usr/include/et"
|
||||
# QA
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags -fno-strict-overflow
|
||||
use keyutils || export ac_cv_header_keyutils_h=no
|
||||
econf \
|
||||
$(use_with openldap ldap) \
|
||||
"$(use_with test tcl "${EPREFIX}/usr")" \
|
||||
$(use_enable pkinit) \
|
||||
$(use_enable threads thread-support) \
|
||||
--without-hesiod \
|
||||
--enable-shared \
|
||||
--with-system-et \
|
||||
--with-system-ss \
|
||||
--enable-dns-for-realm \
|
||||
--enable-kdc-lookaside-cache \
|
||||
--disable-rpath
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 || die "emake failed"
|
||||
|
||||
if use doc ; then
|
||||
cd ../doc
|
||||
for dir in api implement ; do
|
||||
emake -C "${dir}" || die "doc emake failed"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
|
||||
install || die "install failed"
|
||||
|
||||
# default database dir
|
||||
keepdir /var/lib/krb5kdc
|
||||
|
||||
cd ..
|
||||
dodoc NOTICE README
|
||||
dodoc doc/*.{ps,txt}
|
||||
doinfo doc/*.info*
|
||||
dohtml -r doc/*.html
|
||||
|
||||
# die if we cannot respect a USE flag
|
||||
if use doc ; then
|
||||
dodoc doc/{api,implement}/*.ps || die "dodoc failed"
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/mit-krb5kadmind.initd mit-krb5kadmind || die
|
||||
newinitd "${FILESDIR}"/mit-krb5kdc.initd mit-krb5kdc || die
|
||||
newinitd "${FILESDIR}"/mit-krb5kpropd.initd mit-krb5kpropd || die
|
||||
|
||||
insinto /etc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
|
||||
insinto /var/lib/krb5kdc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
|
||||
|
||||
if use openldap ; then
|
||||
insinto /etc/openldap/schema
|
||||
doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema" || die
|
||||
fi
|
||||
|
||||
if use xinetd ; then
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}/kpropd.xinetd" kpropd || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-1.8.0" ; then
|
||||
elog "MIT split the Kerberos applications from the base Kerberos"
|
||||
elog "distribution. Kerberized versions of telnet, rlogin, rsh, rcp,"
|
||||
elog "ftp clients and telnet, ftp deamons now live in"
|
||||
elog "\"app-crypt/mit-krb5-appl\" package."
|
||||
fi
|
||||
}
|
@ -1,116 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.9.4.ebuild,v 1.7 2012/08/18 09:16:11 eras Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils flag-o-matic versionator
|
||||
|
||||
MY_P="${P/mit-}"
|
||||
P_DIR=$(get_version_component_range 1-2)
|
||||
DESCRIPTION="MIT Kerberos V"
|
||||
HOMEPAGE="http://web.mit.edu/kerberos/www/"
|
||||
SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}-signed.tar"
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="doc +keyutils openldap +pkinit +threads test xinetd"
|
||||
|
||||
RDEPEND="!!app-crypt/heimdal
|
||||
>=sys-libs/e2fsprogs-libs-1.41.0
|
||||
keyutils? ( sys-apps/keyutils )
|
||||
openldap? ( net-nds/openldap )
|
||||
pkinit? ( dev-libs/openssl )
|
||||
xinetd? ( sys-apps/xinetd )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/yacc
|
||||
doc? ( virtual/latex-base )
|
||||
test? ( dev-lang/tcl
|
||||
dev-lang/python
|
||||
dev-util/dejagnu )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/src
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
unpack ./"${MY_P}".tar.gz
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# QA
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags -fno-strict-overflow
|
||||
use keyutils || export ac_cv_header_keyutils_h=no
|
||||
econf \
|
||||
$(use_with openldap ldap) \
|
||||
"$(use_with test tcl "${EPREFIX}/usr")" \
|
||||
$(use_enable pkinit) \
|
||||
$(use_enable threads thread-support) \
|
||||
--without-hesiod \
|
||||
--enable-shared \
|
||||
--with-system-et \
|
||||
--with-system-ss \
|
||||
--enable-dns-for-realm \
|
||||
--enable-kdc-lookaside-cache \
|
||||
--disable-rpath
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
|
||||
if use doc ; then
|
||||
cd ../doc
|
||||
for dir in api implement ; do
|
||||
emake -C "${dir}" || die "doc emake failed"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
|
||||
install
|
||||
|
||||
# default database dir
|
||||
keepdir /var/lib/krb5kdc
|
||||
|
||||
cd ..
|
||||
dodoc NOTICE README
|
||||
dodoc doc/*.{ps,txt}
|
||||
doinfo doc/*.info*
|
||||
dohtml -r doc/*.html
|
||||
|
||||
# die if we cannot respect a USE flag
|
||||
if use doc ; then
|
||||
dodoc doc/{api,implement}/*.ps
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/mit-krb5kadmind.initd mit-krb5kadmind
|
||||
newinitd "${FILESDIR}"/mit-krb5kdc.initd mit-krb5kdc
|
||||
newinitd "${FILESDIR}"/mit-krb5kpropd.initd mit-krb5kpropd
|
||||
|
||||
insinto /etc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
|
||||
insinto /var/lib/krb5kdc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
|
||||
|
||||
if use openldap ; then
|
||||
insinto /etc/openldap/schema
|
||||
doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema"
|
||||
fi
|
||||
|
||||
if use xinetd ; then
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}/kpropd.xinetd" kpropd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-1.8.0" ; then
|
||||
elog "MIT split the Kerberos applications from the base Kerberos"
|
||||
elog "distribution. Kerberized versions of telnet, rlogin, rsh, rcp,"
|
||||
elog "ftp clients and telnet, ftp deamons now live in"
|
||||
elog "\"app-crypt/mit-krb5-appl\" package."
|
||||
fi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST lolcat-42.0.99.gem 204288 SHA256 cafd788a6b3e0177a20a9e44dfbb144ea0b6b62c9c9fb413c5223778cdd92558 SHA512 fe5a1b77634c430dd699372f026b9947b53aa6def822dc1292b7bf9f5575747abef03c6625eee76e1d26c2b01fdae06409b79bc5286ef85a6c28be0af4429e50 WHIRLPOOL 79e54ea2054dc70d1629020144efbb6e60fef1c43834e5412c32b9e040b27627de9e8bae6a4c771c98b72aaffcb0c43e3397ab2a6f34d7b2c718b468afad781f
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/lolcat/lolcat-42.0.99.ebuild,v 1.1 2012/09/24 18:51:47 hasufell Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Rainbows and unicorns!"
|
||||
HOMEPAGE="https://github.com/busyloop/lolcat"
|
||||
|
||||
LICENSE="WTFPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/trollop-1.16.2
|
||||
dev-ruby/paint"
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>hasufell@gentoo.org</email>
|
||||
<name>Julian Ospald</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,64 @@
|
||||
From 4fb35cfbf4b10d5644fd636ddfe3e07b5a932d45 Mon Sep 17 00:00:00 2001
|
||||
From: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
|
||||
Date: Sun, 24 Jun 2012 14:01:54 +0200
|
||||
Subject: [PATCH] dont run check targets in build, to allow running them
|
||||
separately later
|
||||
|
||||
Change-Id: Idb46ebcb427522c74632a1813afcbb841fb61243
|
||||
---
|
||||
Makefile.top | 10 ++++++++--
|
||||
solenv/bin/build.pl | 2 +-
|
||||
solenv/gbuild/Module.mk | 2 +-
|
||||
3 files changed, 10 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/Makefile.top b/Makefile.top
|
||||
index 7362bbc..ae849fb 100644
|
||||
--- a/Makefile.top
|
||||
+++ b/Makefile.top
|
||||
@@ -251,7 +252,7 @@ xpdf\
|
||||
xsltml\
|
||||
zlib\
|
||||
|
||||
-export gb_TAILBUILDTARGET=all slowcheck
|
||||
+export gb_TAILBUILDTARGET=all
|
||||
|
||||
define gbuild_module_rules
|
||||
.PHONY: $(1) $(1).all $(1).clean $(1).deliver
|
||||
@@ -526,7 +527,7 @@ findunusedcode:
|
||||
| grep -v WPX \
|
||||
> unusedcode.easy
|
||||
|
||||
-check: dev-install subsequentcheck
|
||||
+check: unitcheck slowcheck dev-install subsequentcheck
|
||||
|
||||
subsequentcheck :| $(if $(filter-out subsequentcheck,$(MAKECMDGOALS)),dev-install)
|
||||
$(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) -f Makefile.post $@
|
||||
diff --git a/solenv/bin/build.pl b/solenv/bin/build.pl
|
||||
index 74d0f32..daa4ae0 100755
|
||||
--- a/solenv/bin/build.pl
|
||||
+++ b/solenv/bin/build.pl
|
||||
@@ -1901,7 +1901,7 @@ sub run_job {
|
||||
return 1 if (! $path =~ /prj$/ );
|
||||
mkpath("$workdir/Logs");
|
||||
my $gbuild_flags = '-j' . $ENV{GMAKE_MODULE_PARALLELISM};
|
||||
- my $gbuild_target = 'all slowcheck';
|
||||
+ my $gbuild_target = 'all';
|
||||
if ($registered_name =~ /tail_build\/prj$/ )
|
||||
{
|
||||
$gbuild_flags = '-j' . $ENV{GMAKE_PARALLELISM};
|
||||
diff --git a/solenv/gbuild/Module.mk b/solenv/gbuild/Module.mk
|
||||
index e5f87f0..9c2608c 100644
|
||||
--- a/solenv/gbuild/Module.mk
|
||||
+++ b/solenv/gbuild/Module.mk
|
||||
@@ -129,7 +129,7 @@ gb_Module_DEVINSTALLHINT=
|
||||
debugrun :| build
|
||||
endif
|
||||
|
||||
-all : build unitcheck
|
||||
+all : build
|
||||
$(info $(gb_Module_BUILDHINT))
|
||||
|
||||
build :
|
||||
--
|
||||
1.7.9.5
|
||||
|
@ -1,214 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-3.4.0-r2.ebuild,v 1.1 2012/08/16 07:46:35 scarabeus Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils fdo-mime gnome2-utils pax-utils prefix rpm multilib
|
||||
|
||||
IUSE="gnome java"
|
||||
|
||||
BUILDID="9590"
|
||||
BUILDID2="9590"
|
||||
MST="OOO330_m20"
|
||||
MY_PV="${PV}rc10"
|
||||
MY_PV2="${MY_PV}_20110118"
|
||||
BVER="${PV/_rc*/}-${BUILDID}"
|
||||
BVER2="3.4-${BUILDID2}"
|
||||
BASIS="ooobasis3.4"
|
||||
BASIS2="basis3.4"
|
||||
NM="openoffice"
|
||||
NM1="${NM}.org"
|
||||
NM2="${NM1}3"
|
||||
NM3="${NM2}.4"
|
||||
FILEPATH="mirror://sourceforge/openofficeorg.mirror/localized"
|
||||
if [ "${ARCH}" = "amd64" ] ; then
|
||||
XARCH="x86_64"
|
||||
else
|
||||
XARCH="i586"
|
||||
fi
|
||||
UP="en-US/RPMS"
|
||||
|
||||
DESCRIPTION="Apache OpenOffice productivity suite."
|
||||
HOMEPAGE="http://www.openoffice.org/"
|
||||
SRC_URI="amd64? ( mirror://sourceforge/openofficeorg.mirror/stable/${PV}/Apache_OpenOffice_incubating_${PV}_Linux_x86-64_install-rpm_en-US.tar.gz )
|
||||
x86? ( mirror://sourceforge/openofficeorg.mirror/stable/${PV}/Apache_OpenOffice_incubating_${PV}_Linux_x86_install-rpm_en-US.tar.gz )"
|
||||
|
||||
LANGS="ar zh_CN zh_TW cs nl fr gl de hu it ja pt_BR ru es"
|
||||
|
||||
for X in ${LANGS} ; do
|
||||
[[ ${X} != "en" ]] && SRC_URI="${SRC_URI} linguas_${X}? (
|
||||
amd64? ( "${FILEPATH}"/${X/_/-}/${PV}/Apache_OpenOffice_incubating_${PV}_Linux_x86-64_langpack-rpm_${X/_/-}.tar.gz )
|
||||
x86? ( "${FILEPATH}"/${X/_/-}/${PV}/Apache_OpenOffice_incubating_${PV}_Linux_x86_langpack-rpm_${X/_/-}.tar.gz ) )"
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
!app-office/openoffice
|
||||
!prefix? ( sys-libs/glibc )
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
>=dev-lang/perl-5.0
|
||||
>=media-libs/freetype-2.1.10-r2
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXinerama"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/findutils"
|
||||
|
||||
PDEPEND="java? ( >=virtual/jre-1.5 )"
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
QA_PREBUILT="usr/$(get_libdir)/${NM}/${BASIS2}/program/*
|
||||
usr/$(get_libdir)/${NM}/program/*
|
||||
usr/$(get_libdir)/${NM}/ure/bin/*
|
||||
usr/$(get_libdir)/${NM}/ure/lib/*"
|
||||
QA_TEXTRELS="usr/$(get_libdir)/${NM}/${BASIS2}/program/libvclplug_genli.so \
|
||||
usr/$(get_libdir)/${NM}/${BASIS2}/program/python-core-2.6.1/lib/lib-dynload/_curses_panel.so \
|
||||
usr/$(get_libdir)/${NM}/${BASIS2}/program/python-core-2.6.1/lib/lib-dynload/_curses.so \
|
||||
usr/$(get_libdir)/${NM}/ure/lib/*"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_unpack() {
|
||||
|
||||
unpack ${A}
|
||||
|
||||
cp "${FILESDIR}"/{50-${PN},wrapper.in} "${T}"
|
||||
eprefixify "${T}"/{50-${PN},wrapper.in}
|
||||
|
||||
for i in base binfilter calc core01 core02 core03 core04 core05 core06 core07 draw graphicfilter images impress math ogltrans ooofonts ooolinguistic pyuno testtool writer xsltfilter ; do
|
||||
rpm_unpack "./${UP}/${BASIS}-${i}-${BVER}.${XARCH}.rpm"
|
||||
done
|
||||
|
||||
rpm_unpack "./${UP}/${NM2}-${BVER}.${XARCH}.rpm"
|
||||
rpm_unpack "./${UP}/${NM1}-ure-${BVER}.${XARCH}.rpm"
|
||||
|
||||
for j in base calc draw impress math writer; do
|
||||
rpm_unpack "./${UP}/${NM2}-${j}-${BVER}.${XARCH}.rpm"
|
||||
done
|
||||
|
||||
rpm_unpack "./${UP}/desktop-integration/${NM3}-freedesktop-menus-${BVER2}.noarch.rpm"
|
||||
|
||||
use gnome && rpm_unpack "./${UP}/${BASIS}-gnome-integration-${BVER}.${XARCH}.rpm"
|
||||
use java && rpm_unpack "./${UP}/${BASIS}-javafilter-${BVER}.${XARCH}.rpm"
|
||||
|
||||
# English support installed by default
|
||||
rpm_unpack "./${UP}/${BASIS}-en-US-${BVER}.${XARCH}.rpm"
|
||||
rpm_unpack "./${UP}/${NM2}-en-US-${BVER}.${XARCH}.rpm"
|
||||
for s in base binfilter calc draw help impress math res writer ; do
|
||||
rpm_unpack "./${UP}/${BASIS}-en-US-${s}-${BVER}.${XARCH}.rpm"
|
||||
done
|
||||
|
||||
# Localization
|
||||
strip-linguas ${LANGS}
|
||||
for l in ${LINGUAS}; do
|
||||
m="${l/_/-}"
|
||||
if [[ ${m} != "en" ]] ; then
|
||||
LANGDIR="${m}/RPMS/"
|
||||
rpm_unpack "./${LANGDIR}/${BASIS}-${m}-${BVER}.${XARCH}.rpm"
|
||||
rpm_unpack "./${LANGDIR}/${NM2}-${m}-${BVER}.${XARCH}.rpm"
|
||||
for n in base binfilter calc draw help impress math res writer; do
|
||||
rpm_unpack "./${LANGDIR}/${BASIS}-${m}-${n}-${BVER}.${XARCH}.rpm"
|
||||
done
|
||||
|
||||
fi
|
||||
done
|
||||
|
||||
}
|
||||
|
||||
src_install () {
|
||||
|
||||
INSTDIR="/usr/$(get_libdir)/${NM}"
|
||||
dodir ${INSTDIR}
|
||||
mv "${WORKDIR}"/opt/${NM1}/* "${ED}${INSTDIR}" || die
|
||||
mv "${WORKDIR}"/opt/${NM2}/* "${ED}${INSTDIR}" || die
|
||||
|
||||
#Menu entries, icons and mime-types
|
||||
cd "${ED}${INSTDIR}/share/xdg/"
|
||||
for desk in base calc draw impress javafilter math printeradmin qstart startcenter writer; do
|
||||
if [ "${desk}" = "javafilter" ] ; then
|
||||
use java || { rm javafilter.desktop; continue; }
|
||||
fi
|
||||
mv ${desk}.desktop ${NM1}-${desk}.desktop
|
||||
sed -i -e s/${NM2}/ooffice/g ${NM1}-${desk}.desktop || die
|
||||
domenu ${NM1}-${desk}.desktop
|
||||
done
|
||||
insinto /usr/share
|
||||
doins -r "${WORKDIR}"/usr/share/icons
|
||||
doins -r "${WORKDIR}"/usr/share/mime
|
||||
|
||||
# Make sure the permissions are right
|
||||
use prefix || fowners -R root:0 /
|
||||
|
||||
# Install wrapper script
|
||||
newbin "${T}/wrapper.in" ooffice
|
||||
sed -i -e s/LIBDIR/$(get_libdir)/g "${ED}/usr/bin/ooffice" || die
|
||||
|
||||
# Component symlinks
|
||||
for app in base calc draw impress math writer; do
|
||||
dosym ${INSTDIR}/program/s${app} /usr/bin/oo${app}
|
||||
done
|
||||
|
||||
dosym ${INSTDIR}/program/spadmin /usr/bin/ooffice-printeradmin
|
||||
dosym ${INSTDIR}/program/soffice /usr/bin/soffice
|
||||
|
||||
rm -f "${ED}${INSTDIR}/basis-link" || die
|
||||
dosym ${INSTDIR}/${BASIS2} ${INSTDIR}/basis-link
|
||||
|
||||
# Change user install dir
|
||||
sed -i -e "s/.${NM1}\/3/.ooo3/g" "${ED}${INSTDIR}/program/bootstraprc" || die
|
||||
|
||||
# Non-java weirdness see bug #99366
|
||||
use !java && rm -f "${ED}${INSTDIR}/ure/bin/javaldx"
|
||||
|
||||
# prevent revdep-rebuild from attempting to rebuild all the time
|
||||
insinto /etc/revdep-rebuild && doins "${T}/50-${PN}"
|
||||
|
||||
# remove soffice bin
|
||||
rm -rf "${ED}${EPREFIX}/usr/bin/soffice"
|
||||
|
||||
# replace all symlinks by bash shell code in order to nicely cope with
|
||||
# libreoffice
|
||||
cd "${ED}${EPREFIX}/usr/bin/"
|
||||
for i in oo*; do
|
||||
[[ ${i} == ooffice ]] && continue
|
||||
|
||||
rm ${i}
|
||||
cat >> ${i} << EOF
|
||||
#!/usr/bin/env bash
|
||||
pushd "${EPREFIX}/usr/$(get_libdir)/openoffice/program" > /dev/null
|
||||
./${i/oo/s}
|
||||
popd > /dev/null
|
||||
EOF
|
||||
chmod +x ${i}
|
||||
done
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
|
||||
use gnome && gnome2_icon_savelist
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
use gnome && gnome2_icon_cache_update
|
||||
|
||||
pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/${NM}/program/soffice.bin
|
||||
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
|
||||
fdo-mime_desktop_database_update
|
||||
use gnome && gnome2_icon_cache_update
|
||||
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST libwpd-0.9.4.tar.bz2 629054 SHA256 7895f0cf07ac98bd88f6d5cf26ba7f1d72fd8acaeb43b27ffa24846fccc80343 SHA512 6b3206d93426b40d2764d48f7028497664df867abc31a23d8b18e2af5fbc23f6030da8814fc67cdad20b204f9ac97705b283c2dbaabbf6a82899b05ac6709a95 WHIRLPOOL 36a7a087c7c09e17e23f8e6fedb02fcc744e5fbab3a0a5e6b3d97326e6d8c68347bc010f60302c6f59cbdcf5e09eff070f8e006299d465ceeff378f7cf5b2e12
|
||||
DIST libwpd-0.9.6.tar.bz2 675826 SHA256 87081d5a81fb08e3aae88dc959aec769c4c62df44b59d5f9c0561f039cc9db6b SHA512 31fd04e65e69de17c8b872a3e457d8729e842451c77b1e6b2e67f360ff53054e3e4107616f2a62023152bec28c53faddf9a578845e35540e82c9f398545a271e WHIRLPOOL 9281609974146641a6f6f0ec36cd3ded604b7abae650823694967d3a17067cf249f7852c29c0b7a426c77143e9a2201ab63d4f717c993c372224c463f8991ecf
|
||||
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/libwpd/libwpd-0.9.6.ebuild,v 1.2 2012/09/25 07:58:13 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit alternatives eutils
|
||||
|
||||
DESCRIPTION="WordPerfect Document import/export library"
|
||||
HOMEPAGE="http://libwpd.sf.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0.9"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc test +tools"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
test? ( dev-util/cppunit )
|
||||
"
|
||||
RDEPEND="${RDEPEND}
|
||||
!<app-text/libwpd-0.8.14-r1"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
--disable-werror \
|
||||
$(use_with doc docs) \
|
||||
$(use_with tools stream) \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
--program-suffix=-${SLOT}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use tools; then
|
||||
alternatives_auto_makesym /usr/bin/wpd2html "/usr/bin/wpd2html-[0-9].[0-9]"
|
||||
alternatives_auto_makesym /usr/bin/wpd2raw "/usr/bin/wpd2raw-[0-9].[0-9]"
|
||||
alternatives_auto_makesym /usr/bin/wpd2text "/usr/bin/wpd2text-[0-9].[0-9]"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use tools; then
|
||||
alternatives_auto_makesym /usr/bin/wpd2html "/usr/bin/wpd2html-[0-9].[0-9]"
|
||||
alternatives_auto_makesym /usr/bin/wpd2raw "/usr/bin/wpd2raw-[0-9].[0-9]"
|
||||
alternatives_auto_makesym /usr/bin/wpd2text "/usr/bin/wpd2text-[0-9].[0-9]"
|
||||
fi
|
||||
}
|
@ -0,0 +1,93 @@
|
||||
# This file contains the syntax information for
|
||||
# the entries to be put in any tnsnames.ora file
|
||||
# The entries in this file are need based.
|
||||
# There are no defaults for entries in this file
|
||||
# that Sqlnet/Net3 use that need to be overridden
|
||||
#
|
||||
# Typically you could have two tnsnames.ora files
|
||||
# in the system, one that is set for the entire system
|
||||
# and is called the system tnsnames.ora file, and a
|
||||
# second file that is used by each user locally so that
|
||||
# he can override the definitions dictated by the system
|
||||
# tnsnames.ora file.
|
||||
|
||||
# The entries in tnsnames.ora are an alternative to using
|
||||
# the names server with the onames adapter.
|
||||
# They are a collection of aliases for the addresses that
|
||||
# the listener(s) is(are) listening for a database or
|
||||
# several databases.
|
||||
|
||||
# The following is the general syntax for any entry in
|
||||
# a tnsnames.ora file. There could be several such entries
|
||||
# tailored to the user's needs.
|
||||
|
||||
<alias>= [ (DESCRIPTION_LIST = # Optional depending on whether u have
|
||||
# one or more descriptions
|
||||
# If there is just one description, unnecessary ]
|
||||
(DESCRIPTION=
|
||||
[ (SDU=2048) ] # Optional, defaults to 2048
|
||||
# Can take values between 512 and 32K
|
||||
[ (ADDRESS_LIST= # Optional depending on whether u have
|
||||
# one or more addresses
|
||||
# If there is just one address, unnecessary ]
|
||||
(ADDRESS=
|
||||
[ (COMMUNITY=<community_name>) ]
|
||||
(PROTOCOL=tcp)
|
||||
(HOST=<hostname>)
|
||||
(PORT=<portnumber (1521 is a standard port used)>)
|
||||
)
|
||||
[ (ADDRESS=
|
||||
(PROTOCOL=ipc)
|
||||
(KEY=<ipckey (PNPKEY is a standard key used)>)
|
||||
)
|
||||
]
|
||||
[ (ADDRESS=
|
||||
[ (COMMUNITY=<community_name>) ]
|
||||
(PROTOCOL=decnet)
|
||||
(NODE=<nodename>)
|
||||
(OBJECT=<objectname>)
|
||||
)
|
||||
]
|
||||
... # More addresses
|
||||
[ ) ] # Optional depending on whether ADDRESS_LIST is used or not
|
||||
[ (CONNECT_DATA=
|
||||
(SID=<oracle_sid>)
|
||||
[ (GLOBAL_NAME=<global_database_name>) ]
|
||||
)
|
||||
]
|
||||
[ (SOURCE_ROUTE=yes) ]
|
||||
)
|
||||
(DESCRIPTION=
|
||||
[ (SDU=2048) ] # Optional, defaults to 2048
|
||||
# Can take values between 512 and 32K
|
||||
[ (ADDRESS_LIST= ] # Optional depending on whether u have more
|
||||
# than one address or not
|
||||
# If there is just one address, unnecessary
|
||||
(ADDRESS
|
||||
[ (COMMUNITY=<community_name>) ]
|
||||
(PROTOCOL=tcp)
|
||||
(HOST=<hostname>)
|
||||
(PORT=<portnumber (1521 is a standard port used)>)
|
||||
)
|
||||
[ (ADDRESS=
|
||||
(PROTOCOL=ipc)
|
||||
(KEY=<ipckey (PNPKEY is a standard key used)>)
|
||||
)
|
||||
]
|
||||
... # More addresses
|
||||
[ ) ] # Optional depending on whether ADDRESS_LIST
|
||||
# is being used
|
||||
[ (CONNECT_DATA=
|
||||
(SID=<oracle_sid>)
|
||||
[ (GLOBAL_NAME=<global_database_name>) ]
|
||||
)
|
||||
]
|
||||
[ (SOURCE_ROUTE=yes) ]
|
||||
)
|
||||
[ (CONNECT_DATA=
|
||||
(SID=<oracle_sid>)
|
||||
[ (GLOBAL_NAME=<global_database_name>) ]
|
||||
)
|
||||
]
|
||||
... # More descriptions
|
||||
[ ) ] # Optional depending on whether DESCRIPTION_LIST is used or not
|
@ -0,0 +1,154 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.3.21.ebuild,v 1.1 2012/09/24 17:35:57 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools eutils multilib prefix versionator
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
|
||||
DESCRIPTION="PostgreSQL libraries and clients"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
|
||||
http://dev.gentoo.org/~titanofold/postgresql-patches-8.3-r2.tbz2"
|
||||
LICENSE="POSTGRESQL"
|
||||
|
||||
S="${WORKDIR}/postgresql-${PV}"
|
||||
|
||||
# No tests to be done for clients and libraries
|
||||
RESTRICT="test"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
|
||||
IUSE="doc kerberos ldap nls pam pg-intdatetime readline ssl threads zlib"
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
RDEPEND=">=app-admin/eselect-postgresql-1.0.10
|
||||
virtual/libintl
|
||||
!!dev-db/libpq
|
||||
!!dev-db/postgresql
|
||||
!!dev-db/postgresql-client
|
||||
!!dev-db/postgresql-libs
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pam? ( virtual/pam )
|
||||
readline? ( >=sys-libs/readline-4.1 )
|
||||
ssl? ( >=dev-libs/openssl-0.9.6-r1 )
|
||||
zlib? ( >=sys-libs/zlib-1.1.3 )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
!!<sys-apps/sandbox-2.0
|
||||
>=sys-devel/bison-1.875
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
|
||||
|
||||
# Support /var/run or /run for the socket directory
|
||||
[[ ! -d /run ]] && RUNDIR=/var
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}/autoconf.patch" "${WORKDIR}/base.patch" \
|
||||
"${WORKDIR}/bool.patch" "${WORKDIR}/darwin.patch" \
|
||||
"${WORKDIR}/relax_ssl_perms.patch" "${WORKDIR}/SuperH.patch"
|
||||
|
||||
eprefixify src/include/pg_config_manual.h
|
||||
|
||||
# to avoid collision - it only should be installed by server
|
||||
rm "${S}/src/backend/nls.mk"
|
||||
|
||||
# because psql/help.c includes the file
|
||||
ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" || die
|
||||
|
||||
sed -e "s|@RUNDIR@|${RUNDIR}|g" \
|
||||
-i src/include/pg_config_manual.h || \
|
||||
die "RUNDIR sed failed"
|
||||
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export LDFLAGS_SL="${LDFLAGS}"
|
||||
local PO="${EPREFIX%/}"
|
||||
econf --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
|
||||
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--without-docdir \
|
||||
--without-perl \
|
||||
--without-python \
|
||||
--without-tcl \
|
||||
$(use_with kerberos krb5) \
|
||||
$(use_with kerberos gssapi) \
|
||||
$(use_with ldap) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")" \
|
||||
$(use_with pam) \
|
||||
$(use_enable pg-intdatetime integer-datetimes ) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with zlib)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
cd "${S}/contrib"
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
insinto /usr/include/postgresql-${SLOT}/postmaster
|
||||
doins "${S}"/src/include/postmaster/*.h
|
||||
dodir /usr/share/postgresql-${SLOT}/man/man1
|
||||
|
||||
rm "${ED}"/usr/share/postgresql-${SLOT}/man/man1/{initdb,ipcclean,pg_{controldata,ctl,resetxlog},post{gres,master}}.1
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,7}
|
||||
|
||||
dodoc README HISTORY doc/{README.*,TODO,bug.template}
|
||||
|
||||
cd "${S}/contrib"
|
||||
emake DESTDIR="${D}" install
|
||||
cd "${S}"
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \
|
||||
> "${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
|
||||
|
||||
keepdir /etc/postgresql-${SLOT}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
einfo
|
||||
einfo "If this is your first install of PostgreSQL, you 'll want to:"
|
||||
einfo " source /etc/profile"
|
||||
einfo "In your open terminal sessions."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
@ -0,0 +1,154 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.4.14.ebuild,v 1.1 2012/09/24 17:35:57 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools eutils multilib prefix versionator
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
|
||||
DESCRIPTION="PostgreSQL libraries and clients"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
|
||||
http://dev.gentoo.org/~titanofold/postgresql-patches-8.4-r2.tbz2"
|
||||
LICENSE="POSTGRESQL"
|
||||
|
||||
S="${WORKDIR}/postgresql-${PV}"
|
||||
|
||||
# No tests to be done for clients and libraries
|
||||
RESTRICT="test"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
|
||||
IUSE="doc kerberos ldap nls pam pg_legacytimestamp readline ssl threads zlib"
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
RDEPEND=">=app-admin/eselect-postgresql-1.0.7
|
||||
virtual/libintl
|
||||
!!dev-db/libpq
|
||||
!!dev-db/postgresql
|
||||
!!dev-db/postgresql-client
|
||||
!!dev-db/postgresql-libs
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pam? ( virtual/pam )
|
||||
readline? ( >=sys-libs/readline-4.1 )
|
||||
ssl? ( >=dev-libs/openssl-0.9.6-r1 )
|
||||
zlib? ( >=sys-libs/zlib-1.1.3 )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
!!<sys-apps/sandbox-2.0
|
||||
>=sys-devel/bison-1.875
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
|
||||
|
||||
# Support /var/run or /run for the socket directory
|
||||
[[ ! -d /run ]] && RUNDIR=/var
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}/autoconf.patch" "${WORKDIR}/base.patch" \
|
||||
"${WORKDIR}/bool.patch" "${WORKDIR}/darwin.patch" \
|
||||
"${WORKDIR}/SuperH.patch"
|
||||
|
||||
eprefixify src/include/pg_config_manual.h
|
||||
|
||||
# to avoid collision - it only should be installed by server
|
||||
rm "${S}/src/backend/nls.mk"
|
||||
|
||||
# because psql/help.c includes the file
|
||||
ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" || die
|
||||
|
||||
sed -e "s|@RUNDIR@|${RUNDIR}|g" \
|
||||
-i src/include/pg_config_manual.h || \
|
||||
die "RUNDIR sed failed"
|
||||
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export LDFLAGS_SL="${LDFLAGS}"
|
||||
local PO="${EPREFIX%/}"
|
||||
econf --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
|
||||
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
|
||||
--docdir="${PO}/usr/share/doc/postgresql-${SLOT}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--without-tcl \
|
||||
--without-perl \
|
||||
--without-python \
|
||||
$(use_with kerberos krb5) \
|
||||
$(use_with kerberos gssapi) \
|
||||
$(use_with ldap) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")" \
|
||||
$(use_with pam) \
|
||||
$(use_enable !pg_legacytimestamp integer-datetimes ) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with zlib)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
cd "${S}/contrib"
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
insinto /usr/include/postgresql-${SLOT}/postmaster
|
||||
doins "${S}"/src/include/postmaster/*.h
|
||||
|
||||
rm -r "${ED}/usr/share/doc/postgresql-${SLOT}/html"
|
||||
rm "${ED}"/usr/share/postgresql-${SLOT}/man/man1/{initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}.1
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,7}
|
||||
|
||||
dodoc README HISTORY doc/{README.*,TODO,bug.template}
|
||||
|
||||
cd "${S}/contrib"
|
||||
emake DESTDIR="${D}" install
|
||||
cd "${S}"
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \
|
||||
> "${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
|
||||
|
||||
keepdir /etc/postgresql-${SLOT}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
einfo
|
||||
einfo "If this is your first install of PostgreSQL, you 'll want to:"
|
||||
einfo " source /etc/profile"
|
||||
einfo "In your open terminal sessions."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
@ -0,0 +1,160 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.0.10.ebuild,v 1.1 2012/09/24 17:35:57 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib prefix versionator
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
DESCRIPTION="PostgreSQL libraries and clients"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
|
||||
http://dev.gentoo.org/~titanofold/postgresql-patches-9.0-r3.tbz2"
|
||||
LICENSE="POSTGRESQL"
|
||||
|
||||
S="${WORKDIR}/postgresql-${PV}"
|
||||
|
||||
# No tests to be done for clients and libraries
|
||||
RESTRICT="test"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
|
||||
IUSE="doc kerberos ldap nls pam pg_legacytimestamp readline ssl threads zlib"
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
RDEPEND=">=app-admin/eselect-postgresql-1.0.7
|
||||
virtual/libintl
|
||||
!!dev-db/libpq
|
||||
!!dev-db/postgresql
|
||||
!!dev-db/postgresql-client
|
||||
!!dev-db/postgresql-libs
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pam? ( virtual/pam )
|
||||
readline? ( sys-libs/readline )
|
||||
ssl? ( >=dev-libs/openssl-0.9.6-r1 )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
!!<sys-apps/sandbox-2.0
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
|
||||
|
||||
# Support /var/run or /run for the socket directory
|
||||
[[ ! -d /run ]] && RUNDIR=/var
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}/autoconf.patch" "${WORKDIR}/base.patch" \
|
||||
"${WORKDIR}/bool.patch"
|
||||
|
||||
eprefixify src/include/pg_config_manual.h
|
||||
|
||||
# to avoid collision - it only should be installed by server
|
||||
rm "${S}/src/backend/nls.mk"
|
||||
|
||||
# because psql/help.c includes the file
|
||||
ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" || die
|
||||
|
||||
sed -e "s|@RUNDIR@|${RUNDIR}|g" \
|
||||
-i src/include/pg_config_manual.h || \
|
||||
die "RUNDIR sed failed"
|
||||
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
case ${CHOST} in
|
||||
*-darwin*|*-solaris*)
|
||||
use nls && append-libs intl
|
||||
;;
|
||||
esac
|
||||
export LDFLAGS_SL="${LDFLAGS}"
|
||||
export LDFLAGS_EX="${LDFLAGS}"
|
||||
local PO="${EPREFIX%/}"
|
||||
econf --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
|
||||
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
|
||||
--docdir="${PO}/usr/share/doc/postgresql-${SLOT}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--without-tcl \
|
||||
--without-perl \
|
||||
--without-python \
|
||||
$(use_with kerberos krb5) \
|
||||
$(use_with kerberos gssapi) \
|
||||
$(use_with ldap) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")" \
|
||||
$(use_with pam) \
|
||||
$(use_enable !pg_legacytimestamp integer-datetimes) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with zlib)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
cd "${S}/contrib"
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
insinto /usr/include/postgresql-${SLOT}/postmaster
|
||||
doins "${S}"/src/include/postmaster/*.h
|
||||
|
||||
dodir /usr/share/postgresql-${SLOT}/man/
|
||||
cp -r "${S}"/doc/src/sgml/man{1,7} "${ED}"/usr/share/postgresql-${SLOT}/man/ || die
|
||||
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,pg_controldata,pg_ctl,pg_resetxlog,postgres,postmaster}.1
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,7}
|
||||
|
||||
dodoc README HISTORY doc/{README.*,TODO,bug.template}
|
||||
|
||||
cd "${S}/contrib"
|
||||
emake DESTDIR="${D}" install
|
||||
cd "${S}"
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \
|
||||
> "${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
|
||||
|
||||
keepdir /etc/postgresql-${SLOT}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
einfo
|
||||
einfo "If this is your first install of PostgreSQL, you 'll want to:"
|
||||
einfo " source /etc/profile"
|
||||
einfo "In your open terminal sessions."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
@ -0,0 +1,164 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.1.6.ebuild,v 1.1 2012/09/24 17:35:57 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib prefix versionator
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
S="${WORKDIR}/postgresql-${PV}"
|
||||
|
||||
DESCRIPTION="PostgreSQL libraries and clients"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
|
||||
http://dev.gentoo.org/~titanofold/postgresql-patches-9.1-r1.tbz2"
|
||||
LICENSE="POSTGRESQL"
|
||||
|
||||
# No tests to be done for clients and libraries
|
||||
RESTRICT="test"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
|
||||
IUSE="doc kerberos ldap nls pam pg_legacytimestamp readline ssl threads zlib"
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
RDEPEND="!!dev-db/libpq
|
||||
!!dev-db/postgresql
|
||||
!!dev-db/postgresql-client
|
||||
!!dev-db/postgresql-libs
|
||||
>=app-admin/eselect-postgresql-1.0.10
|
||||
virtual/libintl
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pam? ( virtual/pam )
|
||||
readline? ( sys-libs/readline )
|
||||
ssl? ( >=dev-libs/openssl-0.9.6-r1 )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
!!<sys-apps/sandbox-2.0
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
|
||||
|
||||
# Support /var/run or /run for the socket directory
|
||||
[[ ! -d /run ]] && RUNDIR=/var
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}/autoconf.patch" \
|
||||
"${WORKDIR}/base.patch" \
|
||||
"${WORKDIR}/bool.patch"
|
||||
|
||||
eprefixify src/include/pg_config_manual.h
|
||||
|
||||
# to avoid collision - it only should be installed by server
|
||||
rm "${S}/src/backend/nls.mk"
|
||||
|
||||
# because psql/help.c includes the file
|
||||
ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" || die
|
||||
|
||||
sed -e "s|@RUNDIR@|${RUNDIR}|g" \
|
||||
-i src/include/pg_config_manual.h || \
|
||||
die "RUNDIR sed failed"
|
||||
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
case ${CHOST} in
|
||||
*-darwin*|*-solaris*)
|
||||
use nls && append-libs intl
|
||||
;;
|
||||
esac
|
||||
|
||||
export LDFLAGS_SL="${LDFLAGS}"
|
||||
export LDFLAGS_EX="${LDFLAGS}"
|
||||
|
||||
local PO="${EPREFIX%/}"
|
||||
|
||||
econf \
|
||||
--prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
|
||||
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
|
||||
--docdir="${PO}/usr/share/doc/postgresql-${SLOT}" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--without-tcl \
|
||||
--without-perl \
|
||||
--without-python \
|
||||
$(use_with readline) \
|
||||
$(use_with kerberos krb5) \
|
||||
$(use_with kerberos gssapi) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")" \
|
||||
$(use_with pam) \
|
||||
$(use_enable !pg_legacytimestamp integer-datetimes) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with zlib) \
|
||||
$(use_with ldap)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
|
||||
cd "${S}/contrib"
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
insinto /usr/include/postgresql-${SLOT}/postmaster
|
||||
doins "${S}"/src/include/postmaster/*.h
|
||||
|
||||
dodir /usr/share/postgresql-${SLOT}/man/
|
||||
cp -r "${S}"/doc/src/sgml/man{1,7} "${ED}"/usr/share/postgresql-${SLOT}/man/ || die
|
||||
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}.1
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,7}
|
||||
dodoc README HISTORY doc/{TODO,bug.template}
|
||||
|
||||
cd "${S}/contrib"
|
||||
emake DESTDIR="${D}" install
|
||||
cd "${S}"
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
|
||||
|
||||
keepdir /etc/postgresql-${SLOT}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
einfo
|
||||
einfo "If this is your first install of PostgreSQL, you 'll want to:"
|
||||
einfo " source /etc/profile"
|
||||
einfo "In your open terminal sessions."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
@ -0,0 +1,170 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.2.1.ebuild,v 1.1 2012/09/24 17:35:57 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib prefix versionator
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
# Comment the following five lines when not a beta or rc.
|
||||
#MY_PV="${PV//_}"
|
||||
#MY_FILE_PV="${SLOT}$(get_version_component_range 4)"
|
||||
#S="${WORKDIR}/postgresql-${MY_FILE_PV}"
|
||||
SRC_URI="mirror://postgresql/source/v${MY_FILE_PV}/postgresql-${MY_FILE_PV}.tar.bz2
|
||||
http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}beta3.tbz2"
|
||||
|
||||
# Comment the following three lines when a beta or rc.
|
||||
S="${WORKDIR}/postgresql-${PV}"
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
|
||||
http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}beta3.tbz2"
|
||||
|
||||
LICENSE="POSTGRESQL"
|
||||
DESCRIPTION="PostgreSQL libraries and clients"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
|
||||
# No tests to be done for clients and libraries
|
||||
RESTRICT="test"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
|
||||
IUSE="doc kerberos ldap nls pam pg_legacytimestamp readline ssl threads zlib"
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
RDEPEND="!!dev-db/libpq
|
||||
!!dev-db/postgresql
|
||||
!!dev-db/postgresql-client
|
||||
!!dev-db/postgresql-libs
|
||||
sys-apps/less
|
||||
>=app-admin/eselect-postgresql-1.0.10
|
||||
virtual/libintl
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pam? ( virtual/pam )
|
||||
readline? ( sys-libs/readline )
|
||||
ssl? ( >=dev-libs/openssl-0.9.6-r1 )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
!!<sys-apps/sandbox-2.0
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
|
||||
|
||||
# Support /var/run or /run for the socket directory
|
||||
[[ ! -d /run ]] && RUNDIR=/var
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}/autoconf.patch" \
|
||||
"${WORKDIR}/base.patch" \
|
||||
"${WORKDIR}/bool.patch"
|
||||
|
||||
eprefixify src/include/pg_config_manual.h
|
||||
|
||||
# to avoid collision - it only should be installed by server
|
||||
rm "${S}/src/backend/nls.mk"
|
||||
|
||||
# because psql/help.c includes the file
|
||||
ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" || die
|
||||
|
||||
sed -e "s|@RUNDIR@|${RUNDIR}|g" \
|
||||
-i src/include/pg_config_manual.h || \
|
||||
die "RUNDIR sed failed"
|
||||
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
case ${CHOST} in
|
||||
*-darwin*|*-solaris*)
|
||||
use nls && append-libs intl
|
||||
;;
|
||||
esac
|
||||
|
||||
export LDFLAGS_SL="${LDFLAGS}"
|
||||
export LDFLAGS_EX="${LDFLAGS}"
|
||||
|
||||
local PO="${EPREFIX%/}"
|
||||
|
||||
econf \
|
||||
--prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
|
||||
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
|
||||
--docdir="${PO}/usr/share/doc/postgresql-${SLOT}" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--without-tcl \
|
||||
--without-perl \
|
||||
--without-python \
|
||||
$(use_with readline) \
|
||||
$(use_with kerberos krb5) \
|
||||
$(use_with kerberos gssapi) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")" \
|
||||
$(use_with pam) \
|
||||
$(use_enable !pg_legacytimestamp integer-datetimes) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with zlib) \
|
||||
$(use_with ldap)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
cd "${S}/contrib"
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
insinto /usr/include/postgresql-${SLOT}/postmaster
|
||||
doins "${S}"/src/include/postmaster/*.h
|
||||
|
||||
dodir /usr/share/postgresql-${SLOT}/man/
|
||||
cp -r "${S}"/doc/src/sgml/man{1,7} "${ED}"/usr/share/postgresql-${SLOT}/man/ || die
|
||||
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}.1
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,7}
|
||||
dodoc README HISTORY doc/{TODO,bug.template}
|
||||
|
||||
cd "${S}/contrib"
|
||||
emake DESTDIR="${D}" install
|
||||
cd "${S}"
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
|
||||
|
||||
keepdir /etc/postgresql-${SLOT}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
@ -1,13 +1,18 @@
|
||||
DIST postgresql-8.3.18.tar.bz2 14563583 SHA256 5db4904a8959f09274e1e0ee7f21c354128d5dbb4e946b78391f6bc4723c3746 SHA512 ac371d0ca7ec69782393345b5b3b9e3edf0fd6c3d3b8fbed86db6661dc11b54b6de991597a517181bba685d9cda5203b1c7dab586ef85df415b6f9cf49e290fd WHIRLPOOL d6ed681aecaf9261507f243e568ca8c38f35260b871ff9d5d9cb7d8b80251a5d08fe76233a7318f66d96a0c6447d354d0fceeae3aae2396cbc1790ed8c1a215d
|
||||
DIST postgresql-8.3.19.tar.bz2 14570746 SHA256 986f0d4b7edc633be1d210f27dfd1e47d416b642659e568895218466e50b58d5 SHA512 ffa07dd68c9de9a6c1fd9547181dbc252a300407e850e163e4d234aeab1e794f2c721ad4f676712e02ac5733ee566efe4b0fd4652b39b8ae885a3e478a66ef24 WHIRLPOOL 16ea02fa6ef4fb2088f5a677a5f4cb3f44049ef2f4564af3340b1a967cced561adc476ed09dd516bd8cb6b9bf9b3ed9fbc85b0346e835b5bd474052da35a9ae6
|
||||
DIST postgresql-8.3.20.tar.bz2 14624435 SHA256 922b6165dc21739356e22ba4d53e08f3b26cd38d8fb9569d5f8fa6d239611163 SHA512 e709632db165f543e510334adfa191ecff6fbe5ae6726578cbb5e4858de62fda53e67b19171c302492361c580bf6894af84dc97ee81e1146a04aec2984d4f91f WHIRLPOOL beee4643d4c2212d9d49390bf1f3ff279f54f2d3c90743610ee59d7e8b93a1e61136654a1f5abe5d49a7826afdea8166ae047f7f2eb2f461c543bf3111f294d5
|
||||
DIST postgresql-8.3.21.tar.bz2 14626010 SHA256 a64b6de9f8067b803f2ed46a025bfd2a16a5ae270db60e440a698f2c07e234f8 SHA512 6da6fab655412fb2cc59ba6228596d6d3caff1a0c6bbd574b61c807bc18941b8d3db6824ffb7da1ad78d89c61d4407402bdb0904bf7b60c49959f40cb2bf3191 WHIRLPOOL 1bb3afefa2610537a35d148ccf2b65d6fe2915774aa61e92afeaadb3c6e923bf1771be7a5828c8ac67d2a0dac94f8bad3330cb38fa2f3b6993ebe493998f11a0
|
||||
DIST postgresql-8.4.11.tar.bz2 14502434 SHA256 5bbc9ff1d16282b592600d7c6b9cb1a93049d4aa9a961e3c2c8d5fb13b189c8f SHA512 3f2c6015781a7bc218a5b0fa9135163d5adf21ff41ab952d0f0ad0586762f0f95bf0d7c6738d122cdc1d8506924814d8b4c6659ff9c79daa926f4ee9a95e7a41 WHIRLPOOL 712e600fe175972cd8b1ad4ce0124de7e2e108e8952b3c5d003cf3044be6a732fb02186d689d618452df68e0bfdf38aff76c266d9f85c7f3a45de995e4658da6
|
||||
DIST postgresql-8.4.12.tar.bz2 14509007 SHA256 99b7b330ec183828988c7e8ec1b675393f24b10017a2e1d03b8ff48c4dfc0f77 SHA512 5e21ff30208296fc98033d6d4c0bb9491bed000bd8a00853c36be74feaf1ed7698561dccbf98596a920edf1f77801e8c15e79dbaec1d882c289c70905399c23e WHIRLPOOL c0f86598396f9d439d4e1d63790af2a92ffb3afa259f6e3369f5a92d8a93d42e50ca70713c467da6c7fde78a01041aaf24b5fd0a441060a06800a87c9a85694b
|
||||
DIST postgresql-8.4.13.tar.bz2 14666613 SHA256 20dd3442a3fa3a4fb1813b58f969ce4bbc54d73194fd4fe20d6f1313edc48cb9 SHA512 c6294846bf9adf39d5d57d2df26023ed4aa83464a773789eaaf5823a6dd6005eeb756f3835caaffde72729edd5b1f0ab300309417a4f9b570d6110b62096f1e4 WHIRLPOOL 1a9cbbdf1d651e49d85b7edee5da70fcadcef20a10fbc4340bd43679144662c68bede5c68b38933aaed8cc1a9a4db8c0b48e2a183140f901e07f09055e958e96
|
||||
DIST postgresql-8.4.14.tar.bz2 14679559 SHA256 1172e7735beea8a933eab0a4c01f9ad49fe872d8786af12a7fe596346b1d133a SHA512 bf9ddb393de08bbff92708b83697b907fbf34229a2ce66e1bf97c1deb9630c37c9a363f9305889e1f6ce4671d116a2c267302b7681281bb0482575ac81d6f28e WHIRLPOOL 8fe681ce8d263116fb2d3554adb2f45c1b21f7d6b840396fee532f7f200809dacc5127df7102b97be88193cd39148b40c81d781ec73ffc508e4908b0af2426bf
|
||||
DIST postgresql-9.0.10.tar.bz2 15015826 SHA256 4394184b0099e8c86a482f7d62930aa31b50fb23e7dfb8fe9e1d93eb828dc729 SHA512 93a6d63d89800f9fc2eeef694c55afcdb8b8a255a2952a69b1816a31b831d0f86ed8b8fc88ad68cbc27f322eb1aba24e2cc9d891a5487217753b3f196fa5b754 WHIRLPOOL e5161e09c636f6a48d72de4befb967575a94b429129e72e4eb6013dc074bfe4f8ad43e4a15c40ec7e00b64d790cdd8da0eeb8a0555db44ce59fb336b0153799e
|
||||
DIST postgresql-9.0.7.tar.bz2 14977437 SHA256 dabe26d71d8b595f9514da1363dc20c3f4b90b6908026dd06984cac448a6d833 SHA512 25fe1b20c0f172e3d2ff4dcbbbcd5a49be5a25e15ae74324cf9c0a3e6be0e760a81e65fbf9cae39aa2588794fb55953c59c750182a151473e959a375aba75322 WHIRLPOOL ff506c7495aba5087b6df867d3e25a1c0c58908845a59e0ae4ab1ebba5dee26d1c977fd0cfd530c8ffe6b3a3b27aba807329b77329904f4d2da5777d906753bc
|
||||
DIST postgresql-9.0.8.tar.bz2 14998065 SHA256 a2981ba8a64b396e2111fee5a9216275e49a2e79e839152a5e4367afd44c0bc2 SHA512 49a4bfb7a197b2a58da717b4edd7900c6ee8bbeeed42549fe155b89a44c500c3aa1a9b90986234ae797058a378bfafafc5600cc679767e17897d001189dcdad5 WHIRLPOOL 22ea138bb2ee846a5ce4951c6f1fe1890ed3759302485c79fb60f19222ee4a7cd535f47edf86d93a29dc093990e3f335c3d1e8d75b7ef51ce4c1e3cddd144a7e
|
||||
DIST postgresql-9.0.9.tar.bz2 15008401 SHA256 87417d181a0f534fa96ba1d315a62b721f5bc22b7bb70af3f674bc1a68a5da8a SHA512 1d0c1f38f7872402b3011a624c7fb11cae79d165432c2134e37d078bfcbf836e5d55f2e9c92770d0a4c7db1680b2287ca55d981b8cffc0dc8b1a291c4ec4877b WHIRLPOOL 4d8c3e987ea1c07e4550d8b79eaee8cce2fec4cf39aab70bb69f364796c3ff472f5e0e953bddf3f1dc3878b4db458c2ca14073df8925e57b614974496476c921
|
||||
DIST postgresql-9.1.3.tar.bz2 15582454 SHA256 7a79800a624031c1d9bc9cdce73cb40050100ac50a82050cbf7bbbd16ac4d5d5 SHA512 411b9ed2d5cb4c38388710bc6186c8ccc3bddb9a607a933539bfc8b77df81d45c6f0b8ad9117960b0c5756bab51958f47c1e95943a488713841bd400da27a2e9 WHIRLPOOL b4d13c687cfd45cc8f3d575d46154e75d5a8a86c3c2d5d634fb0d6077724d2f73069a651bc7633c0cb5c100be8076647800757097d727938807d170668c5f7c3
|
||||
DIST postgresql-9.1.4.tar.bz2 15631894 SHA256 a0795a8eb3ae2d1a2914b63bf143d20182835d90699915ff43567c041d3c9712 SHA512 c49937ada0b011d08b8cfd9b7ac5d593dc5c3e36e97c19b2c6e08bb4f14332854b2c64eb1b77a78d6da9612f3cee2a857644b7bd6aedb7a4cd507c5bc64c4a62 WHIRLPOOL 4f03364a260f3ae27d763b3eca4326663d59fa2a09f238210d15de848869cf3599c1dbea6b031b82a64d912c162a1842173c0d5779eab78cbef288f58d7b2aa8
|
||||
DIST postgresql-9.1.5.tar.bz2 15602594 SHA256 0b889c132426fc68d8c2eb1bf112bf99cc653e9c95b5f4bbebc55cd9a8d6ce44 SHA512 63998808c8a5ad7a4712d6639a7d77d01bfdfee1ea41a40e7db1c4c469e3ecdf3af78a0451907aaf856f2e76e5166de15fb9009143fca8b4d36c964291402930 WHIRLPOOL 1d89227d7801e7d45465130e90c6f1ede8cca459e3879a9f641c5d90a6ffbd8a77cd6f8b489d7a8273246ef9d51c7c5218f611b9816351a7f4562bf7ac0112d2
|
||||
DIST postgresql-9.1.6.tar.bz2 15621370 SHA256 6e396aca621a95b9f5f7292a79ebe6ce892e36c7f7021814e1bd94bcfc6c31e7 SHA512 80fbb62734ac20a500ef9f0a307543011a376c3162304cd8996cba3ea4aba32681dfa556ba06450bdc400971efb65cc9ce2635844950e4f6f31badaa93fe25a4 WHIRLPOOL 1cc8953beb9cc0cf8461147a7c4fa1b5312293625375568240e25ebcefe95334c1e4192df412a7ae8f5d018ded57478763b0921e62602c17c7b3ef81db688e65
|
||||
DIST postgresql-9.2.0.tar.bz2 16106558 SHA256 3731c607df492bbb57f37917b49f57719c0d6f823720426431fff10d82b1fe33 SHA512 40e0538dca5bb795a8e5c8efd28c57e7db80ee1724ccdb3bc190e0f179b1c09e2363204303c443768b213c1d8e7cccab0d59e5d94038e63d8014cfe1a8940e1d WHIRLPOOL b4eb1f18deb35282ec2bd1768b401037a9da40139050d314aebecf7e8968b3011cd32c979385ae24d6cdc99208dc2238329ca21c784739767289db3f973b93c2
|
||||
DIST postgresql-9.2.1.tar.bz2 16113737 SHA256 db61d498105a7d5fe46185e67ac830c878cdd7dc1f82a87f06b842217924c461 SHA512 37e5c193006c548d0b1e200e9dca18ca918a0fe7d5dcea1615ce6240b7f13d9ea30913ef3b309abac3a4c15f65202aa1e72b1a3cc0b22321854fd6187dbac8d0 WHIRLPOOL 97872b8354ed0efd0aa7bd2afa5c127e9aecfce5d44d8a10e02d62050321bf4a948e7d3a4ab7f830afa4f8c2257adc96408c09bd09c8dade8d9c32ea5181f8c1
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-8.3.21.ebuild,v 1.1 2012/09/24 17:39:02 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit versionator
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
|
||||
# Nothing to test here per 232157
|
||||
RESTRICT="test"
|
||||
|
||||
DESCRIPTION="PostgreSQL documentation"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
|
||||
LICENSE="POSTGRESQL"
|
||||
|
||||
S=${WORKDIR}/postgresql-${PV}
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_unpack() {
|
||||
tar xjf "${DISTDIR}/${A}" -C "${WORKDIR}" "${A%.tar.bz2}/doc"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}/doc"
|
||||
|
||||
dodir /usr/share/doc/${PF}/html
|
||||
tar -zxf "postgres.tar.gz" -C "${ED}/usr/share/doc/${PF}/html"
|
||||
fowners root:0 -R /usr/share/doc/${PF}/html
|
||||
|
||||
docinto FAQ_html
|
||||
dodoc src/FAQ/*
|
||||
|
||||
docinto sgml
|
||||
dodoc src/sgml/*.{sgml,dsl}
|
||||
docinto sgml/ref
|
||||
dodoc src/sgml/ref/*.sgml
|
||||
|
||||
docinto TODO.detail
|
||||
dodoc TODO.detail/*
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/docs"
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-8.4.14.ebuild,v 1.1 2012/09/24 17:39:02 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit versionator
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
|
||||
# Nothing to test here per 232157
|
||||
RESTRICT="test"
|
||||
|
||||
DESCRIPTION="PostgreSQL documentation"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
|
||||
LICENSE="POSTGRESQL"
|
||||
|
||||
S=${WORKDIR}/postgresql-${PV}
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_unpack() {
|
||||
tar xjf "${DISTDIR}/${A}" -C "${WORKDIR}" "${A%.tar.bz2}/doc"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}/doc"
|
||||
|
||||
dodir /usr/share/doc/${PF}/html
|
||||
tar -zxf "postgres.tar.gz" -C "${ED}/usr/share/doc/${PF}/html"
|
||||
fowners root:0 -R /usr/share/doc/${PF}/html
|
||||
|
||||
docinto sgml
|
||||
dodoc src/sgml/*.{sgml,dsl}
|
||||
docinto sgml/ref
|
||||
dodoc src/sgml/ref/*.sgml
|
||||
|
||||
docinto
|
||||
dodoc TODO
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/docs"
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.0.10.ebuild,v 1.1 2012/09/24 17:39:02 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit versionator
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DESCRIPTION="PostgreSQL documentation"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
|
||||
LICENSE="POSTGRESQL"
|
||||
|
||||
S=${WORKDIR}/postgresql-${PV}
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_unpack() {
|
||||
tar xjf "${DISTDIR}/${A}" -C "${WORKDIR}" "${A%.tar.bz2}/doc"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/doc/${PF}/html
|
||||
|
||||
cd "${S}/doc"
|
||||
|
||||
docinto sgml
|
||||
dodoc src/sgml/*.{sgml,dsl}
|
||||
docinto sgml/ref
|
||||
dodoc src/sgml/ref/*.sgml
|
||||
|
||||
docinto html
|
||||
dodoc src/sgml/html/*.html
|
||||
dodoc src/sgml/html/stylesheet.css
|
||||
|
||||
docinto
|
||||
dodoc TODO
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/docs"
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.1.6.ebuild,v 1.1 2012/09/24 17:39:02 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit versionator
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
S="${WORKDIR}/postgresql-${PV}"
|
||||
|
||||
DESCRIPTION="PostgreSQL documentation"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
|
||||
LICENSE="POSTGRESQL"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_unpack() {
|
||||
tar xjf "${DISTDIR}/${A}" -C "${WORKDIR}" "${A%.tar.bz2}/doc"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/doc/${PF}/html
|
||||
|
||||
cd "${S}/doc"
|
||||
|
||||
docinto sgml
|
||||
dodoc src/sgml/*.{sgml,dsl}
|
||||
|
||||
docinto sgml/ref
|
||||
dodoc src/sgml/ref/*.sgml
|
||||
|
||||
docinto html
|
||||
dodoc src/sgml/html/*.html
|
||||
dodoc src/sgml/html/stylesheet.css
|
||||
|
||||
docinto
|
||||
dodoc TODO
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/docs"
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.2.1.ebuild,v 1.1 2012/09/24 17:39:02 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit versionator
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
# Comment the following four lines when not a beta or rc.
|
||||
#MY_PV="${PV//_}"
|
||||
#MY_FILE_PV="${SLOT}$(get_version_component_range 4)"
|
||||
#S="${WORKDIR}/postgresql-${MY_FILE_PV}"
|
||||
#SRC_URI="mirror://postgresql/source/v${MY_FILE_PV}/postgresql-${MY_FILE_PV}.tar.bz2"
|
||||
|
||||
# Comment the following two lines when a beta or rc.
|
||||
S="${WORKDIR}/postgresql-${PV}"
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="POSTGRESQL"
|
||||
DESCRIPTION="PostgreSQL documentation"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_unpack() {
|
||||
tar xjf "${DISTDIR}/${A}" -C "${WORKDIR}" "${A%.tar.bz2}/doc"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/doc/${PF}/html
|
||||
|
||||
cd "${S}/doc"
|
||||
|
||||
docinto sgml
|
||||
dodoc src/sgml/*.{sgml,dsl}
|
||||
|
||||
docinto sgml/ref
|
||||
dodoc src/sgml/ref/*.sgml
|
||||
|
||||
docinto html
|
||||
dodoc src/sgml/html/*.html
|
||||
dodoc src/sgml/html/stylesheet.css
|
||||
|
||||
docinto
|
||||
dodoc TODO
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/docs"
|
||||
}
|
@ -0,0 +1,339 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-8.3.21.ebuild,v 1.1 2012/09/24 17:37:46 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
WANT_AUTOMAKE="none"
|
||||
inherit autotools eutils multilib pam prefix user versionator
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
|
||||
DESCRIPTION="PostgreSQL server"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
|
||||
http://dev.gentoo.org/~titanofold/postgresql-patches-8.3-r2.tbz2
|
||||
http://dev.gentoo.org/~titanofold/postgresql-initscript-2.1.1.tbz2"
|
||||
LICENSE="POSTGRESQL GPL-2"
|
||||
|
||||
S="${WORKDIR}/postgresql-${PV}"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
|
||||
IUSE="doc kernel_linux nls pam perl python selinux tcl uuid xml"
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
RDEPEND="~dev-db/postgresql-base-${PV}:${SLOT}[pam?,nls=]
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
tcl? ( >=dev-lang/tcl-8 )
|
||||
uuid? ( dev-libs/ossp-uuid )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/flex
|
||||
xml? ( virtual/pkgconfig )"
|
||||
|
||||
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
|
||||
|
||||
# Support /var/run or /run for the socket directory
|
||||
[[ ! -d /run ]] && RUNDIR=/var
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}/autoconf.patch" \
|
||||
"${WORKDIR}/bool.patch" \
|
||||
"${WORKDIR}/darwin.patch" \
|
||||
"${WORKDIR}/pg_ctl-exit-status.patch" \
|
||||
"${WORKDIR}/server.patch" \
|
||||
"${WORKDIR}/SuperH.patch"
|
||||
|
||||
eprefixify src/include/pg_config_manual.h
|
||||
|
||||
if use test ; then
|
||||
epatch "${WORKDIR}/regress.patch"
|
||||
sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress{,_main}.c
|
||||
sed -e "s|/no/such/location|${S}/src/test/regress/tmp_check/no/such/location|g" \
|
||||
-i src/test/regress/{input,output}/tablespace.source
|
||||
else
|
||||
echo "all install:" > "${S}/src/test/regress/GNUmakefile"
|
||||
fi
|
||||
|
||||
sed -e "s|@RUNDIR@|${RUNDIR}|g" \
|
||||
-i src/include/pg_config_manual.h "${WORKDIR}/postgresql.init" || \
|
||||
die "RUNDIR sed failed"
|
||||
sed -e "s|@SLOT@|${SLOT}|g" \
|
||||
-i "${WORKDIR}/postgresql.init" "${WORKDIR}/postgresql.confd" || \
|
||||
die "SLOT sed failed"
|
||||
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# eval is needed to get along with pg_config quotation of space-rich entities.
|
||||
eval econf "$(${EPREFIX%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \
|
||||
--with-includes="${EPREFIX%/}/usr/include/postgresql-${SLOT}/" \
|
||||
--with-system-tzdata="${EPREFIX%/}/usr/share/zoneinfo" \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with tcl) \
|
||||
$(use_with xml libxml) \
|
||||
$(use_with xml libxslt) \
|
||||
$(use_with uuid ossp-uuid) \
|
||||
"$(has_version ~dev-db/postgresql-base-${PV}[nls] && use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local bd
|
||||
for bd in . contrib $(use xml && echo contrib/xml2); do
|
||||
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
|
||||
emake -C $bd -j1 \
|
||||
PGXS=$(${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \
|
||||
PGXS_IN_SERVER=1 PGXS_WITH_SERVER="${S}/src/backend/postgres" \
|
||||
NO_PGXS=0 USE_PGXS=1 docdir=${EROOT%/}/usr/share/doc/${PF}
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use perl ; then
|
||||
mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig"
|
||||
sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
|
||||
"${S}/src/pl/plperl/GNUmakefile_orig" \
|
||||
> "${S}/src/pl/plperl/GNUmakefile"
|
||||
fi
|
||||
|
||||
local bd
|
||||
for bd in . contrib $(use xml && echo contrib/xml2) ; do
|
||||
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
|
||||
emake install -C $bd -j1 DESTDIR="${D}" \
|
||||
PGXS_IN_SERVER=1 PGXS_WITH_SERVER="${S}/src/backend/postgres" \
|
||||
PGXS=$(${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \
|
||||
NO_PGXS=0 USE_PGXS=1 docdir=${EROOT%/}/usr/share/doc/${PF}
|
||||
done
|
||||
|
||||
rm -r "${ED}/usr/share/postgresql-${SLOT}/man/man7/" \
|
||||
"${ED}/usr/share/doc/${PF}/html"
|
||||
rm "${ED}"/usr/share/postgresql-${SLOT}/man/man1/{clusterdb,create{db,lang,user},drop{db,lang,user},ecpg,pg_{config,dump,dumpall,restore},psql,reindexdb,vacuumdb}.1
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man1
|
||||
|
||||
dodoc README HISTORY doc/{README.*,TODO,bug.template}
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \
|
||||
> "${ED}/etc/eselect/postgresql/slots/${SLOT}/server"
|
||||
|
||||
newconfd "${WORKDIR}/postgresql.confd" postgresql-${SLOT}
|
||||
newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT}
|
||||
|
||||
use pam && pamd_mimic system-auth postgresql auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir ${RUNDIR}/run/postgresql
|
||||
fperms 0770 ${RUNDIR}/run/postgresql
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "http://www.gentoo.org/doc/en/postgres-howto.xml"
|
||||
elog
|
||||
elog "Official documentation:"
|
||||
elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
|
||||
elog
|
||||
elog "The default location of the Unix-domain socket is:"
|
||||
elog " ${EROOT%/}${RUNDIR}/run/postgresql/"
|
||||
elog
|
||||
elog "If you have users and/or services that you would like to utilize the"
|
||||
elog "socket, you must add them to the 'postgres' system group:"
|
||||
elog " usermod -a -G postgres <user>"
|
||||
elog
|
||||
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
|
||||
elog "so that it contains your preferred locale in:"
|
||||
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
elog
|
||||
elog "Then, execute the following command to setup the initial database"
|
||||
elog "environment:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
[[ -f ${EROOT%/}/etc/conf.d/postgresql-${SLOT} ]] && source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
[[ -z ${PGDATA} ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
[[ -z ${DATA_DIR} ]] && DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
|
||||
|
||||
# environment.bz2 may not contain the same locale as the current system
|
||||
# locale. Unset and source from the current system locale.
|
||||
if [[ -f ${EROOT%/}/etc/env.d/02locale ]] ; then
|
||||
unset LANG
|
||||
unset LC_CTYPE
|
||||
unset LC_NUMERIC
|
||||
unset LC_TIME
|
||||
unset LC_COLLATE
|
||||
unset LC_MONETARY
|
||||
unset LC_MESSAGES
|
||||
unset LC_ALL
|
||||
source ${EROOT%/}/etc/env.d/02locale
|
||||
[[ -n ${LANG} ]] && export LANG
|
||||
[[ -n ${LC_CTYPE} ]] && export LC_CTYPE
|
||||
[[ -n ${LC_NUMERIC} ]] && export LC_NUMERIC
|
||||
[[ -n ${LC_TIME} ]] && export LC_TIME
|
||||
[[ -n ${LC_COLLATE} ]] && export LC_COLLATE
|
||||
[[ -n ${LC_MONETARY} ]] && export LC_MONETARY
|
||||
[[ -n ${LC_MESSAGES} ]] && export LC_MESSAGES
|
||||
[[ -n ${LC_ALL} ]] && export LC_ALL
|
||||
fi
|
||||
|
||||
einfo "You can modify the paths and options passed to initdb by editing:"
|
||||
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
einfo
|
||||
einfo "Information on options that can be passed to initdb are found at:"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
|
||||
einfo
|
||||
einfo "PG_INITDB_OPTS is currently set to:"
|
||||
if [[ -z ${PG_INITDB_OPTS} ]] ; then
|
||||
einfo " (none)"
|
||||
else
|
||||
einfo " ${PG_INITDB_OPTS}"
|
||||
fi
|
||||
einfo
|
||||
einfo "Configuration files will be installed to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "The database cluster will be created in:"
|
||||
einfo " ${DATA_DIR}"
|
||||
einfo
|
||||
while [[ $correct != "true" ]] ; do
|
||||
einfo "Are you ready to continue? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
correct="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "Aborting initialization."
|
||||
else
|
||||
echo "Answer not recognized."
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ]] ; then
|
||||
eerror "The given directory, '${DATA_DIR}', is not empty."
|
||||
eerror "Modify DATA_DIR to point to an empty directory."
|
||||
die "${DATA_DIR} is not empty."
|
||||
fi
|
||||
|
||||
[[ -z ${PG_MAX_CONNECTIONS} ]] && PG_MAX_CONNECTIONS=128
|
||||
einfo "Checking system parameters..."
|
||||
|
||||
if ! use kernel_linux ; then
|
||||
einfo "Skipped."
|
||||
einfo "Tests not supported on this OS (yet)."
|
||||
else
|
||||
if [[ -z ${SKIP_SYSTEM_TESTS} ]] ; then
|
||||
ebegin "Checking whether your system supports at least ${PG_MAX_CONNECTIONS} connections"
|
||||
|
||||
local SEMMSL=$(sysctl -n kernel.sem | cut -f1)
|
||||
local SEMMNS=$(sysctl -n kernel.sem | cut -f2)
|
||||
local SEMMNI=$(sysctl -n kernel.sem | cut -f4)
|
||||
local SHMMAX=$(sysctl -n kernel.shmmax)
|
||||
|
||||
local SEMMSL_MIN=17
|
||||
local SEMMNS_MIN=$(( ( ${PG_MAX_CONNECTIONS}/16 ) * 17 ))
|
||||
local SEMMNI_MIN=$(( ( ${PG_MAX_CONNECTIONS}+15 ) / 16 ))
|
||||
local SHMMAX_MIN=$(( 500000 + ( 30600 * ${PG_MAX_CONNECTIONS} ) ))
|
||||
|
||||
for p in SEMMSL SEMMNS SEMMNI SHMMAX ; do
|
||||
if [[ $(eval echo \$$p) -lt $(eval echo \$${p}_MIN) ]] ; then
|
||||
eerror "The value for ${p} $(eval echo \$$p) is below the recommended value $(eval echo \$${p}_MIN)"
|
||||
eerror "You have now several options:"
|
||||
eerror " - Change the mentioned system parameter"
|
||||
eerror " - Lower the number of max connections by setting PG_MAX_CONNECTIONS to a"
|
||||
eerror " value lower than ${PG_MAX_CONNECTIONS}"
|
||||
eerror " - Set SKIP_SYSTEM_TESTS in case you want to ignore this test completely"
|
||||
eerror "More information can be found here:"
|
||||
eerror " http://www.postgresql.org/docs/${SLOT}/static/kernel-resources.html"
|
||||
die "System test failed."
|
||||
fi
|
||||
done
|
||||
eend
|
||||
else
|
||||
ewarn "SKIP_SYSTEM_TESTS is set, so skipping."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
einfo "Creating the data directory ..."
|
||||
mkdir -p "${DATA_DIR}"
|
||||
chown -Rf postgres:postgres "${DATA_DIR}"
|
||||
chmod 0700 "${DATA_DIR}"
|
||||
fi
|
||||
|
||||
einfo "Initializing the database ..."
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
|
||||
else
|
||||
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
|
||||
fi
|
||||
mv "${DATA_DIR%/}"/*.conf "${PGDATA}"
|
||||
|
||||
einfo "The autovacuum function, which was in contrib, has been moved to the main"
|
||||
einfo "PostgreSQL functions starting with 8.1. You can enable it in the clusters"
|
||||
einfo "postgresql.conf."
|
||||
einfo
|
||||
if use prefix ; then
|
||||
einfo "The location of the configuration files have moved to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "To start the server:"
|
||||
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
|
||||
einfo
|
||||
einfo "To stop:"
|
||||
einfo " pg_ctl stop -D ${DATA_DIR}"
|
||||
einfo
|
||||
einfo "Or move the configuration files back:"
|
||||
einfo " mv ${PGDATA}*.conf ${DATA_DIR}"
|
||||
else
|
||||
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
|
||||
einfo "instead of 'pg_ctl'."
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
|
||||
|
||||
if [[ ${UID} != 0 ]] ; then
|
||||
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/:${PATH}" \
|
||||
emake check \
|
||||
PGXS=$(${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \
|
||||
NO_PGXS=0 USE_PGXS=1 SLOT=${SLOT}
|
||||
|
||||
einfo "If you think other tests besides the regression tests are necessary, please"
|
||||
einfo "submit a bug including a patch for this ebuild to enable them."
|
||||
else
|
||||
ewarn "Tests cannot be run as root. Skipping."
|
||||
ewarn "HINT: FEATURES=\"userpriv\""
|
||||
fi
|
||||
}
|
@ -0,0 +1,348 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-8.4.14.ebuild,v 1.1 2012/09/24 17:37:46 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
|
||||
WANT_AUTOMAKE="none"
|
||||
inherit autotools eutils multilib pam prefix python user versionator
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
|
||||
DESCRIPTION="PostgreSQL server"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
|
||||
http://dev.gentoo.org/~titanofold/postgresql-patches-8.4-r2.tbz2
|
||||
http://dev.gentoo.org/~titanofold/postgresql-initscript-2.1.1.tbz2"
|
||||
LICENSE="POSTGRESQL GPL-2"
|
||||
|
||||
S="${WORKDIR}/postgresql-${PV}"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
|
||||
IUSE="doc kernel_linux nls pam perl -pg_legacytimestamp python selinux tcl uuid xml"
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
RDEPEND="~dev-db/postgresql-base-${PV}:${SLOT}[pam?,pg_legacytimestamp=,nls=]
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
tcl? ( >=dev-lang/tcl-8 )
|
||||
uuid? ( dev-libs/ossp-uuid )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/flex
|
||||
xml? ( virtual/pkgconfig )"
|
||||
|
||||
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
|
||||
|
||||
# Support /var/run or /run for the socket directory
|
||||
[[ ! -d /run ]] && RUNDIR=/var
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
|
||||
|
||||
use python && python_set_active_version 2
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}/autoconf.patch" \
|
||||
"${WORKDIR}/bool.patch" \
|
||||
"${WORKDIR}/darwin.patch" \
|
||||
"${WORKDIR}/ldflags.patch" \
|
||||
"${WORKDIR}/pg_ctl-exit-status.patch" \
|
||||
"${WORKDIR}/server.patch" \
|
||||
"${WORKDIR}/SuperH.patch"
|
||||
|
||||
eprefixify src/include/pg_config_manual.h
|
||||
|
||||
if use test ; then
|
||||
epatch "${WORKDIR}/regress.patch"
|
||||
sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress{,_main}.c
|
||||
sed -e "s|/no/such/location|${S}/src/test/regress/tmp_check/no/such/location|g" \
|
||||
-i src/test/regress/{input,output}/tablespace.source
|
||||
else
|
||||
echo "all install:" > "${S}/src/test/regress/GNUmakefile"
|
||||
fi
|
||||
|
||||
sed -e "s|@RUNDIR@|${RUNDIR}|g" \
|
||||
-i src/include/pg_config_manual.h "${WORKDIR}/postgresql.init" || \
|
||||
die "RUNDIR sed failed"
|
||||
sed -e "s|@SLOT@|${SLOT}|g" \
|
||||
-i "${WORKDIR}/postgresql.init" "${WORKDIR}/postgresql.confd" || \
|
||||
die "SLOT sed failed"
|
||||
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# eval is needed to get along with pg_config quotation of space-rich entities.
|
||||
eval econf "$(${EPREFIX%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \
|
||||
--with-includes="${EPREFIX%/}/usr/include/postgresql-${SLOT}/" \
|
||||
--with-libraries="${EPREFIX%/}/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)" \
|
||||
--with-system-tzdata="${EPREFIX%/}/usr/share/zoneinfo" \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with tcl) \
|
||||
$(use_with xml libxml) \
|
||||
$(use_with xml libxslt) \
|
||||
$(use_with uuid ossp-uuid) \
|
||||
"$(has_version ~dev-db/postgresql-base-${PV}[nls] && use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local bd
|
||||
for bd in . contrib $(use xml && echo contrib/xml2) ; do
|
||||
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
|
||||
emake -C $bd -j1 || die "emake in $bd failed"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use perl ; then
|
||||
mv -f "${S}/src/pl/plperl/GNUmakefile" \
|
||||
"${S}/src/pl/plperl/GNUmakefile_orig"
|
||||
sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
|
||||
"${S}/src/pl/plperl/GNUmakefile_orig" \
|
||||
> "${S}/src/pl/plperl/GNUmakefile"
|
||||
fi
|
||||
|
||||
local bd
|
||||
for bd in . contrib $(use xml && echo contrib/xml2) ; do
|
||||
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
|
||||
emake install -C $bd -j1 DESTDIR="${D}" \
|
||||
|| die "emake install in $bd failed"
|
||||
done
|
||||
|
||||
rm -r "${ED}/usr/share/postgresql-${SLOT}/man/man7/" \
|
||||
"${ED}/usr/share/doc/postgresql-${SLOT}/html"
|
||||
rm "${ED}"/usr/share/postgresql-${SLOT}/man/man1/{clusterdb,create{db,lang,user},drop{db,lang,user},ecpg,pg_{config,dump,dumpall,restore},psql,reindexdb,vacuumdb}.1
|
||||
|
||||
dodoc README HISTORY doc/{README.*,TODO,bug.template}
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \
|
||||
> "${ED}/etc/eselect/postgresql/slots/${SLOT}/server"
|
||||
|
||||
newconfd "${WORKDIR}"/postgresql.confd postgresql-${SLOT} \
|
||||
|| die "Inserting conf.d file failed"
|
||||
|
||||
newinitd "${WORKDIR}"/postgresql.init postgresql-${SLOT} \
|
||||
|| die "Inserting init.d file failed"
|
||||
|
||||
use pam && pamd_mimic system-auth postgresql auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir ${RUNDIR}/run/postgresql
|
||||
fperms 0770 ${RUNDIR}/run/postgresql
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "The time stamp format is 64 bit integers now. If you upgrade from older"
|
||||
elog "databases, this may force you to either do a dump and reload of enable"
|
||||
elog "pg_legacytimestamp until you find time to do so. If the database can't start"
|
||||
elog "please try enabling pg_legacytimestamp and rebuild."
|
||||
elog
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "http://www.gentoo.org/doc/en/postgres-howto.xml"
|
||||
elog
|
||||
elog "Official documentation:"
|
||||
elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
|
||||
elog
|
||||
elog "The default location of the Unix-domain socket is:"
|
||||
elog " ${EROOT%/}${RUNDIR}/run/postgresql/"
|
||||
elog
|
||||
elog "If you have users and/or services that you would like to utilize the"
|
||||
elog "socket, you must add them to the 'postgres' system group:"
|
||||
elog " usermod -a -G postgres <user>"
|
||||
elog
|
||||
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
|
||||
elog "so that it contains your preferred locale in:"
|
||||
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
elog
|
||||
elog "Then, execute the following command to setup the initial database"
|
||||
elog "environment:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
[[ -f ${EROOT%/}/etc/conf.d/postgresql-${SLOT} ]] && source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
[[ -z ${PGDATA} ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
[[ -z ${DATA_DIR} ]] && DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
|
||||
|
||||
# environment.bz2 may not contain the same locale as the current system
|
||||
# locale. Unset and source from the current system locale.
|
||||
if [[ -f ${EROOT%/}/etc/env.d/02locale ]] ; then
|
||||
unset LANG
|
||||
unset LC_CTYPE
|
||||
unset LC_NUMERIC
|
||||
unset LC_TIME
|
||||
unset LC_COLLATE
|
||||
unset LC_MONETARY
|
||||
unset LC_MESSAGES
|
||||
unset LC_ALL
|
||||
source "${EROOT%/}/etc/env.d/02locale"
|
||||
[[ -n ${LANG} ]] && export LANG
|
||||
[[ -n ${LC_CTYPE} ]] && export LC_CTYPE
|
||||
[[ -n ${LC_NUMERIC} ]] && export LC_NUMERIC
|
||||
[[ -n ${LC_TIME} ]] && export LC_TIME
|
||||
[[ -n ${LC_COLLATE} ]] && export LC_COLLATE
|
||||
[[ -n ${LC_MONETARY} ]] && export LC_MONETARY
|
||||
[[ -n ${LC_MESSAGES} ]] && export LC_MESSAGES
|
||||
[[ -n ${LC_ALL} ]] && export LC_ALL
|
||||
fi
|
||||
|
||||
einfo "You can modify the paths and options passed to initdb by editing:"
|
||||
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
einfo
|
||||
einfo "Information on options that can be passed to initdb are found at:"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
|
||||
einfo
|
||||
einfo "PG_INITDB_OPTS is currently set to:"
|
||||
if [[ -z ${PG_INITDB_OPTS} ]] ; then
|
||||
einfo " (none)"
|
||||
else
|
||||
einfo " ${PG_INITDB_OPTS}"
|
||||
fi
|
||||
einfo
|
||||
einfo "Configuration files will be installed to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "The database cluster will be created in:"
|
||||
einfo " ${DATA_DIR}"
|
||||
einfo
|
||||
while [[ $correct != "true" ]] ; do
|
||||
einfo "Are you ready to continue? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
correct="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "Aborting initialization."
|
||||
else
|
||||
echo "Answer not recognized"
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ]] ; then
|
||||
eerror "The given directory, '${DATA_DIR}', is not empty."
|
||||
eerror "Modify DATA_DIR to point to an empty directory."
|
||||
die "${DATA_DIR} is not empty."
|
||||
fi
|
||||
|
||||
[[ -z ${PG_MAX_CONNECTIONS} ]] && PG_MAX_CONNECTIONS=128
|
||||
einfo "Checking system parameters..."
|
||||
|
||||
if ! use kernel_linux ; then
|
||||
einfo "Skipped."
|
||||
einfo " Tests not supported on this OS (yet)"
|
||||
else
|
||||
if [[ -z ${SKIP_SYSTEM_TESTS} ]] ; then
|
||||
einfo "Checking whether your system supports at least ${PG_MAX_CONNECTIONS} connections..."
|
||||
|
||||
local SEMMSL=$(sysctl -n kernel.sem | cut -f1)
|
||||
local SEMMNS=$(sysctl -n kernel.sem | cut -f2)
|
||||
local SEMMNI=$(sysctl -n kernel.sem | cut -f4)
|
||||
local SHMMAX=$(sysctl -n kernel.shmmax)
|
||||
|
||||
local SEMMSL_MIN=17
|
||||
local SEMMNS_MIN=$(( ( ${PG_MAX_CONNECTIONS}/16 ) * 17 ))
|
||||
local SEMMNI_MIN=$(( ( ${PG_MAX_CONNECTIONS}+15 ) / 16 ))
|
||||
local SHMMAX_MIN=$(( 500000 + ( 30600 * ${PG_MAX_CONNECTIONS} ) ))
|
||||
|
||||
for p in SEMMSL SEMMNS SEMMNI SHMMAX ; do
|
||||
if [[ $(eval echo \$$p) -lt $(eval echo \$${p}_MIN) ]] ; then
|
||||
eerror "The value for ${p} $(eval echo \$$p) is below the recommended value $(eval echo \$${p}_MIN)"
|
||||
eerror "You have now several options:"
|
||||
eerror " - Change the mentioned system parameter"
|
||||
eerror " - Lower the number of max.connections by setting PG_MAX_CONNECTIONS to a"
|
||||
eerror " value lower than ${PG_MAX_CONNECTIONS}"
|
||||
eerror " - Set SKIP_SYSTEM_TESTS in case you want to ignore this test completely"
|
||||
eerror "More information can be found here:"
|
||||
eerror " http://www.postgresql.org/docs/${SLOT}/static/kernel-resources.html"
|
||||
die "System test failed."
|
||||
fi
|
||||
done
|
||||
einfo "Passed."
|
||||
else
|
||||
ewarn "SKIP_SYSTEM_TESTS set, so skipping."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
einfo "Creating the data directory ..."
|
||||
mkdir -p "${DATA_DIR}"
|
||||
chown -Rf postgres:postgres "${DATA_DIR}"
|
||||
chmod 0700 "${DATA_DIR}"
|
||||
fi
|
||||
|
||||
einfo "Initializing the database ..."
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
|
||||
else
|
||||
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
|
||||
fi
|
||||
mv "${DATA_DIR%/}"/*.conf "${PGDATA}"
|
||||
|
||||
einfo "The autovacuum function, which was in contrib, has been moved to the main"
|
||||
einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled by"
|
||||
einfo "default. You can disable it in the cluster's:"
|
||||
einfo " ${PGDATA%/}/postgresql.conf"
|
||||
einfo
|
||||
einfo "The PostgreSQL server, by default, will log events to:"
|
||||
einfo " ${DATA_DIR%/}/postmaster.log"
|
||||
einfo
|
||||
if use prefix ; then
|
||||
einfo "The location of the configuration files have moved to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "To start the server:"
|
||||
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
|
||||
einfo
|
||||
einfo "To stop:"
|
||||
einfo " pg_ctl stop -D ${DATA_DIR}"
|
||||
einfo
|
||||
einfo "Or move the configuration files back:"
|
||||
einfo " mv ${PGDATA}*.conf ${DATA_DIR}"
|
||||
else
|
||||
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
|
||||
einfo "instead of 'pg_ctl'."
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
|
||||
|
||||
if [[ ${UID} != 0 ]] ; then
|
||||
emake check || die "Make check failed. See above for details."
|
||||
|
||||
einfo "If you think other tests besides the regression tests are necessary, please"
|
||||
einfo "submit a bug including a patch for this ebuild to enable them."
|
||||
else
|
||||
ewarn "Tests cannot be run as root. Skipping."
|
||||
ewarn "HINT: FEATURES=\"userpriv\""
|
||||
fi
|
||||
}
|
@ -0,0 +1,342 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.0.10.ebuild,v 1.1 2012/09/24 17:37:46 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
|
||||
WANT_AUTOMAKE="none"
|
||||
inherit autotools eutils multilib pam prefix python user versionator
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
DESCRIPTION="PostgreSQL server"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
|
||||
http://dev.gentoo.org/~titanofold/postgresql-patches-9.0-r3.tbz2
|
||||
http://dev.gentoo.org/~titanofold/postgresql-initscript-2.1.1.tbz2"
|
||||
LICENSE="POSTGRESQL GPL-2"
|
||||
|
||||
S="${WORKDIR}/postgresql-${PV}"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
|
||||
IUSE="doc kernel_linux nls pam perl -pg_legacytimestamp python selinux tcl uuid xml"
|
||||
|
||||
for lingua in ${LINGUAS}; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
RDEPEND="~dev-db/postgresql-base-${PV}:${SLOT}[pam?,pg_legacytimestamp=,nls=]
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
tcl? ( >=dev-lang/tcl-8 )
|
||||
uuid? ( dev-libs/ossp-uuid )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/flex
|
||||
xml? ( virtual/pkgconfig )"
|
||||
|
||||
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
|
||||
|
||||
# Support /var/run or /run for the socket directory
|
||||
[[ ! -d /run ]] && RUNDIR=/var
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
|
||||
|
||||
use python && python_set_active_version 2
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}/autoconf.patch" \
|
||||
"${WORKDIR}/bool.patch" \
|
||||
"${WORKDIR}/pg_ctl-exit-status.patch" \
|
||||
"${WORKDIR}/server.patch"
|
||||
|
||||
eprefixify src/include/pg_config_manual.h
|
||||
|
||||
if use test ; then
|
||||
epatch "${WORKDIR}/regress.patch"
|
||||
sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress{,_main}.c
|
||||
sed -e "s|/no/such/location|${S}/src/test/regress/tmp_check/no/such/location|g" \
|
||||
-i src/test/regress/{input,output}/tablespace.source
|
||||
else
|
||||
echo "all install:" > "${S}/src/test/regress/GNUmakefile"
|
||||
fi
|
||||
|
||||
sed -e "s|@RUNDIR@|${RUNDIR}|g" \
|
||||
-i src/include/pg_config_manual.h "${WORKDIR}/postgresql.init" || \
|
||||
die "RUNDIR sed failed"
|
||||
sed -e "s|@SLOT@|${SLOT}|g" \
|
||||
-i "${WORKDIR}/postgresql.init" "${WORKDIR}/postgresql.confd" || \
|
||||
die "SLOT sed failed"
|
||||
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# eval is needed to get along with pg_config quotation of space-rich entities.
|
||||
eval econf "$(${EPREFIX%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \
|
||||
--with-includes="${EPREFIX%/}/usr/include/postgresql-${SLOT}/" \
|
||||
--with-libraries="${EPREFIX%/}/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)" \
|
||||
--with-system-tzdata="${EPREFIX%/}/usr/share/zoneinfo" \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with tcl) \
|
||||
$(use_with xml libxml) \
|
||||
$(use_with xml libxslt) \
|
||||
$(use_with uuid ossp-uuid) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local bd
|
||||
for bd in . contrib $(use xml && echo contrib/xml2); do
|
||||
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
|
||||
emake -C $bd -j1 || die "emake in $bd failed"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use perl ; then
|
||||
mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig"
|
||||
sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
|
||||
"${S}/src/pl/plperl/GNUmakefile_orig" > "${S}/src/pl/plperl/GNUmakefile"
|
||||
fi
|
||||
|
||||
local bd
|
||||
for bd in . contrib $(use xml && echo contrib/xml2) ; do
|
||||
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
|
||||
emake install -C $bd -j1 DESTDIR="${D}" || die "emake install in $bd failed"
|
||||
done
|
||||
|
||||
dodir /usr/share/postgresql-${SLOT}/man/man1/
|
||||
cp "${S}"/doc/src/sgml/man1/{initdb,pg_controldata,pg_ctl,pg_resetxlog,post{gres,master}}.1 \
|
||||
"${ED}"/usr/share/postgresql-${SLOT}/man/man1/ || die
|
||||
|
||||
dodoc README HISTORY doc/{README.*,TODO,bug.template}
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \
|
||||
> "${ED}/etc/eselect/postgresql/slots/${SLOT}/server"
|
||||
|
||||
newconfd "${WORKDIR}/postgresql.confd" postgresql-${SLOT} \
|
||||
|| die "Inserting conf.d file failed"
|
||||
|
||||
newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT} \
|
||||
|| die "Inserting init.d file failed"
|
||||
|
||||
use pam && pamd_mimic system-auth postgresql auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir ${RUNDIR}/run/postgresql
|
||||
fperms 0770 ${RUNDIR}/run/postgresql
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "http://www.gentoo.org/doc/en/postgres-howto.xml"
|
||||
elog
|
||||
elog "Official documentation:"
|
||||
elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
|
||||
elog
|
||||
elog "The default location of the Unix-domain socket is:"
|
||||
elog " ${EROOT%/}${RUNDIR}/run/postgresql/"
|
||||
elog
|
||||
elog "If you have users and/or services that you would like to utilize the"
|
||||
elog "socket, you must add them to the 'postgres' system group:"
|
||||
elog " usermod -a -G postgres <user>"
|
||||
elog
|
||||
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
|
||||
elog "so that it contains your preferred locale in:"
|
||||
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
elog
|
||||
elog "Then, execute the following command to setup the initial database"
|
||||
elog "environment:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
[[ -f ${EROOT%/}/etc/conf.d/postgresql-${SLOT} ]] && source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
[[ -z ${PGDATA} ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
[[ -z ${DATA_DIR} ]] && DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
|
||||
|
||||
# environment.bz2 may not contain the same locale as the current system
|
||||
# locale. Unset and source from the current system locale.
|
||||
if [[ -f ${EROOT%/}/etc/env.d/02locale ]] ; then
|
||||
unset LANG
|
||||
unset LC_CTYPE
|
||||
unset LC_NUMERIC
|
||||
unset LC_TIME
|
||||
unset LC_COLLATE
|
||||
unset LC_MONETARY
|
||||
unset LC_MESSAGES
|
||||
unset LC_ALL
|
||||
source "${EROOT%/}/etc/env.d/02locale"
|
||||
[[ -n ${LANG} ]] && export LANG
|
||||
[[ -n ${LC_CTYPE} ]] && export LC_CTYPE
|
||||
[[ -n ${LC_NUMERIC} ]] && export LC_NUMERIC
|
||||
[[ -n ${LC_TIME} ]] && export LC_TIME
|
||||
[[ -n ${LC_COLLATE} ]] && export LC_COLLATE
|
||||
[[ -n ${LC_MONETARY} ]] && export LC_MONETARY
|
||||
[[ -n ${LC_MESSAGES} ]] && export LC_MESSAGES
|
||||
[[ -n ${LC_ALL} ]] && export LC_ALL
|
||||
fi
|
||||
|
||||
einfo "You can modify the paths and options passed to initdb by editing:"
|
||||
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
einfo
|
||||
einfo "Information on options that can be passed to initdb are found at:"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
|
||||
einfo
|
||||
einfo "PG_INITDB_OPTS is currently set to:"
|
||||
if [[ -z "${PG_INITDB_OPTS}" ]] ; then
|
||||
einfo " (none)"
|
||||
else
|
||||
einfo " ${PG_INITDB_OPTS}"
|
||||
fi
|
||||
einfo
|
||||
einfo "Configuration files will be installed to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "The database cluster will be created in:"
|
||||
einfo " ${DATA_DIR}"
|
||||
einfo
|
||||
while [[ $correct != "true" ]] ; do
|
||||
einfo "Are you ready to continue? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
correct="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "Aborting initialization."
|
||||
else
|
||||
echo "Answer not recognized"
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ]] ; then
|
||||
eerror "The given directory, '${DATA_DIR}', is not empty."
|
||||
eerror "Modify DATA_DIR to point to an empty directory."
|
||||
die "${DATA_DIR} is not empty."
|
||||
fi
|
||||
|
||||
[[ -z ${PG_MAX_CONNECTIONS} ]] && PG_MAX_CONNECTIONS=128
|
||||
einfo "Checking system parameters..."
|
||||
|
||||
if ! use kernel_linux ; then
|
||||
einfo "Skipped."
|
||||
einfo " Tests not supported on this OS (yet)"
|
||||
else
|
||||
if [[ -z ${SKIP_SYSTEM_TESTS} ]] ; then
|
||||
einfo "Checking whether your system supports at least ${PG_MAX_CONNECTIONS} connections..."
|
||||
|
||||
local SEMMSL=$(sysctl -n kernel.sem | cut -f1)
|
||||
local SEMMNS=$(sysctl -n kernel.sem | cut -f2)
|
||||
local SEMMNI=$(sysctl -n kernel.sem | cut -f4)
|
||||
local SHMMAX=$(sysctl -n kernel.shmmax)
|
||||
|
||||
local SEMMSL_MIN=17
|
||||
local SEMMNS_MIN=$(( ( ${PG_MAX_CONNECTIONS}/16 ) * 17 ))
|
||||
local SEMMNI_MIN=$(( ( ${PG_MAX_CONNECTIONS}+15 ) / 16 ))
|
||||
local SHMMAX_MIN=$(( 500000 + ( 30600 * ${PG_MAX_CONNECTIONS} ) ))
|
||||
|
||||
for p in SEMMSL SEMMNS SEMMNI SHMMAX ; do
|
||||
if [[ $(eval echo \$$p) -lt $(eval echo \$${p}_MIN) ]] ; then
|
||||
eerror "The value for ${p} $(eval echo \$$p) is below the recommended value $(eval echo \$${p}_MIN)"
|
||||
eerror "You have now several options:"
|
||||
eerror " - Change the mentioned system parameter"
|
||||
eerror " - Lower the number of max connections by setting PG_MAX_CONNECTIONS to a"
|
||||
eerror " value lower than ${PG_MAX_CONNECTIONS}"
|
||||
eerror " - Set SKIP_SYSTEM_TESTS in case you want to ignore this test completely"
|
||||
eerror "More information can be found here:"
|
||||
eerror " http://www.postgresql.org/docs/${SLOT}/static/kernel-resources.html"
|
||||
die "System test failed."
|
||||
fi
|
||||
done
|
||||
einfo "Passed."
|
||||
else
|
||||
ewarn "SKIP_SYSTEM_TESTS set, so skipping."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
einfo "Creating the data directory ..."
|
||||
mkdir -p "${DATA_DIR}"
|
||||
chown -Rf postgres:postgres "${DATA_DIR}"
|
||||
chmod 0700 "${DATA_DIR}"
|
||||
fi
|
||||
|
||||
einfo "Initializing the database ..."
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
su postgres \
|
||||
-c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D '${DATA_DIR}' -L '${EROOT%/}/usr/share/postgresql-${SLOT}/' ${PG_INITDB_OPTS}"
|
||||
else
|
||||
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb \
|
||||
-U postgres -D "${DATA_DIR}" \
|
||||
-L "${EROOT%/}/usr/share/postgresql-${SLOT}/" ${PG_INITDB_OPTS}
|
||||
fi
|
||||
|
||||
mv "${DATA_DIR%/}"/*.conf "${PGDATA}"
|
||||
|
||||
einfo "The autovacuum function, which was in contrib, has been moved to the main"
|
||||
einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled"
|
||||
einfo "by default. You can disable it in the cluster's:"
|
||||
einfo " ${PGDATA%/}/postgresql.conf"
|
||||
einfo
|
||||
einfo "The PostgreSQL server, by default, will log events to:"
|
||||
einfo " ${DATA_DIR%/}/postmaster.log"
|
||||
einfo
|
||||
if use prefix ; then
|
||||
einfo "The location of the configuration files have moved to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "To start the server:"
|
||||
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
|
||||
einfo
|
||||
einfo "To stop:"
|
||||
einfo " pg_ctl stop -D ${DATA_DIR}"
|
||||
einfo
|
||||
einfo "Or move the configuration files back:"
|
||||
einfo " mv ${PGDATA}*.conf ${DATA_DIR}"
|
||||
else
|
||||
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
|
||||
einfo "instead of 'pg_ctl'."
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
|
||||
|
||||
if [[ ${UID} != 0 ]] ; then
|
||||
emake check || die "Make check failed. See above for details."
|
||||
|
||||
einfo "If you think other tests besides the regression tests are necessary, please"
|
||||
einfo "submit a bug including a patch for this ebuild to enable them."
|
||||
else
|
||||
ewarn "Tests cannot be run as root. Skipping."
|
||||
ewarn "HINT: FEATURES=\"userpriv\""
|
||||
fi
|
||||
}
|
@ -0,0 +1,348 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.1.6.ebuild,v 1.1 2012/09/24 17:37:46 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
|
||||
WANT_AUTOMAKE="none"
|
||||
inherit autotools eutils flag-o-matic multilib pam prefix python user versionator
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
S="${WORKDIR}/postgresql-${PV}"
|
||||
|
||||
DESCRIPTION="PostgreSQL server"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
|
||||
http://dev.gentoo.org/~titanofold/postgresql-patches-9.1-r1.tbz2
|
||||
http://dev.gentoo.org/~titanofold/postgresql-initscript-2.1.1.tbz2"
|
||||
LICENSE="POSTGRESQL GPL-2"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
|
||||
IUSE="doc kernel_linux nls pam perl -pg_legacytimestamp python selinux tcl uuid xml"
|
||||
|
||||
for lingua in ${LINGUAS}; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
RDEPEND="~dev-db/postgresql-base-${PV}:${SLOT}[pam?,pg_legacytimestamp=,nls=]
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
tcl? ( >=dev-lang/tcl-8 )
|
||||
uuid? ( dev-libs/ossp-uuid )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/flex
|
||||
xml? ( virtual/pkgconfig )"
|
||||
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
|
||||
|
||||
# Support /var/run or /run for the socket directory
|
||||
[[ ! -d /run ]] && RUNDIR=/var
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
|
||||
|
||||
use python && python_set_active_version 2
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}/autoconf.patch" \
|
||||
"${WORKDIR}/bool.patch" \
|
||||
"${WORKDIR}/pg_ctl-exit-status.patch" \
|
||||
"${WORKDIR}/server.patch"
|
||||
|
||||
eprefixify src/include/pg_config_manual.h
|
||||
|
||||
if use test ; then
|
||||
epatch "${WORKDIR}/regress.patch"
|
||||
sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress{,_main}.c
|
||||
sed -e "s|/no/such/location|${S}/src/test/regress/tmp_check/no/such/location|g" \
|
||||
-i src/test/regress/{input,output}/tablespace.source
|
||||
else
|
||||
echo "all install:" > "${S}/src/test/regress/GNUmakefile"
|
||||
fi
|
||||
|
||||
sed -e "s|@RUNDIR@|${RUNDIR}|g" \
|
||||
-i src/include/pg_config_manual.h "${WORKDIR}/postgresql.init" || \
|
||||
die "RUNDIR sed failed"
|
||||
sed -e "s|@SLOT@|${SLOT}|g" \
|
||||
-i "${WORKDIR}/postgresql.init" "${WORKDIR}/postgresql.confd" || \
|
||||
die "SLOT sed failed"
|
||||
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
case ${CHOST} in
|
||||
*-darwin*|*-solaris*)
|
||||
use nls && append-libs intl
|
||||
;;
|
||||
esac
|
||||
|
||||
local PO="${EPREFIX%/}"
|
||||
|
||||
# eval is needed to get along with pg_config quotation of space-rich entities.
|
||||
eval econf "$(${PO}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with tcl) \
|
||||
$(use_with xml libxml) \
|
||||
$(use_with xml libxslt) \
|
||||
$(use_with uuid ossp-uuid) \
|
||||
--with-system-tzdata="${PO}/usr/share/zoneinfo" \
|
||||
--with-includes="${PO}/usr/include/postgresql-${SLOT}/" \
|
||||
--with-libraries="${PO}/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)" \
|
||||
"$(use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local bd
|
||||
for bd in . contrib $(use xml && echo contrib/xml2); do
|
||||
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
|
||||
emake -C $bd || die "emake in $bd failed"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use perl ; then
|
||||
mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig"
|
||||
sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
|
||||
"${S}/src/pl/plperl/GNUmakefile_orig" > "${S}/src/pl/plperl/GNUmakefile"
|
||||
fi
|
||||
|
||||
local bd
|
||||
for bd in . contrib $(use xml && echo contrib/xml2) ; do
|
||||
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
|
||||
emake install -C $bd DESTDIR="${D}" || die "emake install in $bd failed"
|
||||
done
|
||||
|
||||
dodoc README HISTORY doc/{TODO,bug.template}
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/server"
|
||||
|
||||
newconfd "${WORKDIR}/postgresql.confd" postgresql-${SLOT} || \
|
||||
die "Inserting conf failed"
|
||||
newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT} || \
|
||||
die "Inserting conf failed"
|
||||
|
||||
use pam && pamd_mimic system-auth postgresql auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir ${RUNDIR}/run/postgresql
|
||||
fperms 0770 ${RUNDIR}/run/postgresql
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "http://www.gentoo.org/doc/en/postgres-howto.xml"
|
||||
elog
|
||||
elog "Official documentation:"
|
||||
elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
|
||||
elog
|
||||
elog "The default location of the Unix-domain socket is:"
|
||||
elog " ${EROOT%/}${RUNDIR}/run/postgresql/"
|
||||
elog
|
||||
elog "If you have users and/or services that you would like to utilize the"
|
||||
elog "socket, you must add them to the 'postgres' system group:"
|
||||
elog " usermod -a -G postgres <user>"
|
||||
elog
|
||||
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
|
||||
elog "so that it contains your preferred locale in:"
|
||||
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
elog
|
||||
elog "Then, execute the following command to setup the initial database"
|
||||
elog "environment:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if [[ -z ${REPLACED_BY_VERSION} ]] ; then
|
||||
ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
|
||||
ewarn "\thttp://www.gentoo.org/doc/en/postgres-howto.xml#doc_chap5"
|
||||
|
||||
ebegin "Resuming removal 10 seconds. Control-C to cancel"
|
||||
sleep 10
|
||||
eend 0
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
[[ -f "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" ]] && source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
[[ -z "${PGDATA}" ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
[[ -z "${DATA_DIR}" ]] && DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
|
||||
|
||||
# environment.bz2 may not contain the same locale as the current system
|
||||
# locale. Unset and source from the current system locale.
|
||||
if [ -f "${EROOT%/}/etc/env.d/02locale" ]; then
|
||||
unset LANG
|
||||
unset LC_CTYPE
|
||||
unset LC_NUMERIC
|
||||
unset LC_TIME
|
||||
unset LC_COLLATE
|
||||
unset LC_MONETARY
|
||||
unset LC_MESSAGES
|
||||
unset LC_ALL
|
||||
source "${EROOT%/}/etc/env.d/02locale"
|
||||
[ -n "${LANG}" ] && export LANG
|
||||
[ -n "${LC_CTYPE}" ] && export LC_CTYPE
|
||||
[ -n "${LC_NUMERIC}" ] && export LC_NUMERIC
|
||||
[ -n "${LC_TIME}" ] && export LC_TIME
|
||||
[ -n "${LC_COLLATE}" ] && export LC_COLLATE
|
||||
[ -n "${LC_MONETARY}" ] && export LC_MONETARY
|
||||
[ -n "${LC_MESSAGES}" ] && export LC_MESSAGES
|
||||
[ -n "${LC_ALL}" ] && export LC_ALL
|
||||
fi
|
||||
|
||||
einfo "You can modify the paths and options passed to initdb by editing:"
|
||||
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
einfo
|
||||
einfo "Information on options that can be passed to initdb are found at:"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
|
||||
einfo
|
||||
einfo "PG_INITDB_OPTS is currently set to:"
|
||||
if [[ -z "${PG_INITDB_OPTS}" ]] ; then
|
||||
einfo " (none)"
|
||||
else
|
||||
einfo " ${PG_INITDB_OPTS}"
|
||||
fi
|
||||
einfo
|
||||
einfo "Configuration files will be installed to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "The database cluster will be created in:"
|
||||
einfo " ${DATA_DIR}"
|
||||
einfo
|
||||
while [ "$correct" != "true" ] ; do
|
||||
einfo "Are you ready to continue? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
correct="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "Aborting initialization."
|
||||
else
|
||||
echo "Answer not recognized"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
|
||||
eerror "The given directory, '${DATA_DIR}', is not empty."
|
||||
eerror "Modify DATA_DIR to point to an empty directory."
|
||||
die "${DATA_DIR} is not empty."
|
||||
fi
|
||||
|
||||
[ -z "${PG_MAX_CONNECTIONS}" ] && PG_MAX_CONNECTIONS="128"
|
||||
einfo "Checking system parameters..."
|
||||
|
||||
if ! use kernel_linux ; then
|
||||
einfo "Skipped."
|
||||
einfo " Tests not supported on this OS (yet)"
|
||||
else
|
||||
if [ -z ${SKIP_SYSTEM_TESTS} ] ; then
|
||||
einfo "Checking whether your system supports at least ${PG_MAX_CONNECTIONS} connections..."
|
||||
|
||||
local SEMMSL=$(sysctl -n kernel.sem | cut -f1)
|
||||
local SEMMNS=$(sysctl -n kernel.sem | cut -f2)
|
||||
local SEMMNI=$(sysctl -n kernel.sem | cut -f4)
|
||||
local SHMMAX=$(sysctl -n kernel.shmmax)
|
||||
|
||||
local SEMMSL_MIN=17
|
||||
local SEMMNS_MIN=$(( ( ${PG_MAX_CONNECTIONS}/16 ) * 17 ))
|
||||
local SEMMNI_MIN=$(( ( ${PG_MAX_CONNECTIONS}+15 ) / 16 ))
|
||||
local SHMMAX_MIN=$(( 500000 + ( 30600 * ${PG_MAX_CONNECTIONS} ) ))
|
||||
|
||||
for p in SEMMSL SEMMNS SEMMNI SHMMAX ; do
|
||||
if [ $(eval echo \$$p) -lt $(eval echo \$${p}_MIN) ] ; then
|
||||
eerror "The value for ${p} $(eval echo \$$p) is below the recommended value $(eval echo \$${p}_MIN)"
|
||||
eerror "You have now several options:"
|
||||
eerror " - Change the mentioned system parameter"
|
||||
eerror " - Lower the number of max.connections by setting PG_MAX_CONNECTIONS to a"
|
||||
eerror " value lower than ${PG_MAX_CONNECTIONS}"
|
||||
eerror " - Set SKIP_SYSTEM_TESTS in case you want to ignore this test completely"
|
||||
eerror "More information can be found here:"
|
||||
eerror " http://www.postgresql.org/docs/${SLOT}/static/kernel-resources.html"
|
||||
die "System test failed."
|
||||
fi
|
||||
done
|
||||
einfo "Passed."
|
||||
else
|
||||
ewarn "SKIP_SYSTEM_TESTS set, so skipping."
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Creating the data directory ..."
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
mkdir -p "${DATA_DIR}"
|
||||
chown -Rf postgres:postgres "${DATA_DIR}"
|
||||
chmod 0700 "${DATA_DIR}"
|
||||
fi
|
||||
|
||||
einfo "Initializing the database ..."
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
|
||||
else
|
||||
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
|
||||
fi
|
||||
|
||||
mv "${DATA_DIR%/}"/*.conf "${PGDATA}"
|
||||
|
||||
einfo "The autovacuum function, which was in contrib, has been moved to the main"
|
||||
einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled"
|
||||
einfo "by default. You can disable it in the cluster's:"
|
||||
einfo " ${PGDATA%/}/postgresql.conf"
|
||||
einfo
|
||||
einfo "The PostgreSQL server, by default, will log events to:"
|
||||
einfo " ${DATA_DIR%/}/postmaster.log"
|
||||
einfo
|
||||
if use prefix ; then
|
||||
einfo "The location of the configuration files have moved to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo "To start the server:"
|
||||
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
|
||||
einfo "To stop:"
|
||||
einfo " pg_ctl stop -D ${DATA_DIR}"
|
||||
einfo
|
||||
einfo "Or move the configuration files back:"
|
||||
einfo "mv ${PGDATA}*.conf ${DATA_DIR}"
|
||||
else
|
||||
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
|
||||
einfo "instead of 'pg_ctl'."
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
|
||||
|
||||
if [ ${UID} -ne 0 ] ; then
|
||||
emake -j1 check || die "Make check failed. See above for details."
|
||||
|
||||
einfo "If you think other tests besides the regression tests are necessary, please"
|
||||
einfo "submit a bug including a patch for this ebuild to enable them."
|
||||
else
|
||||
ewarn "Tests cannot be run as root. Skipping."
|
||||
ewarn "HINT: FEATURES=\"userpriv\""
|
||||
fi
|
||||
}
|
@ -0,0 +1,357 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.2.1.ebuild,v 1.1 2012/09/24 17:37:46 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
|
||||
WANT_AUTOMAKE="none"
|
||||
inherit autotools eutils flag-o-matic multilib pam prefix python user versionator
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
# Comment the following six lines when not a beta or rc.
|
||||
#MY_PV="${PV//_}"
|
||||
#MY_FILE_PV="${SLOT}$(get_version_component_range 4)"
|
||||
#S="${WORKDIR}/postgresql-${MY_FILE_PV}"
|
||||
#SRC_URI="mirror://postgresql/source/v${MY_FILE_PV}/postgresql-${MY_FILE_PV}.tar.bz2
|
||||
# http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}beta3.tbz2
|
||||
# http://dev.gentoo.org/~titanofold/postgresql-initscript-2.3.tbz2"
|
||||
|
||||
# Comment the following four lines when a beta or rc.
|
||||
S="${WORKDIR}/postgresql-${PV}"
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2
|
||||
http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}beta3.tbz2
|
||||
http://dev.gentoo.org/~titanofold/postgresql-initscript-2.3.tbz2"
|
||||
|
||||
LICENSE="POSTGRESQL GPL-2"
|
||||
DESCRIPTION="PostgreSQL server"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW"
|
||||
IUSE="doc kernel_linux nls pam perl -pg_legacytimestamp python selinux tcl uuid xml"
|
||||
|
||||
for lingua in ${LINGUAS}; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
RDEPEND="~dev-db/postgresql-base-${PV}:${SLOT}[pam?,pg_legacytimestamp=,nls=]
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
tcl? ( >=dev-lang/tcl-8 )
|
||||
uuid? ( dev-libs/ossp-uuid )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/flex
|
||||
xml? ( virtual/pkgconfig )"
|
||||
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"
|
||||
|
||||
# Support /var/run or /run for the socket directory
|
||||
[[ ! -d /run ]] && RUNDIR=/var
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
|
||||
|
||||
use python && python_set_active_version 2
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}/autoconf.patch" \
|
||||
"${WORKDIR}/bool.patch" \
|
||||
"${WORKDIR}/server.patch"
|
||||
|
||||
eprefixify src/include/pg_config_manual.h
|
||||
|
||||
if use test ; then
|
||||
epatch "${WORKDIR}/regress.patch"
|
||||
sed -e "s|@SOCKETDIR@|${T}|g" -i src/test/regress/pg_regress{,_main}.c
|
||||
# sed -e "s|/no/such/location|${S}/src/test/regress/tmp_check/no/such/location|g" \
|
||||
# -i src/test/regress/{input,output}/tablespace.source
|
||||
else
|
||||
echo "all install:" > "${S}/src/test/regress/GNUmakefile"
|
||||
fi
|
||||
|
||||
sed -e "s|@RUNDIR@|${RUNDIR}|g" \
|
||||
-i src/include/pg_config_manual.h "${WORKDIR}/postgresql.init" || \
|
||||
die "RUNDIR sed failed"
|
||||
sed -e "s|@SLOT@|${SLOT}|g" \
|
||||
-i "${WORKDIR}/postgresql.init" "${WORKDIR}/postgresql.confd" || \
|
||||
die "SLOT sed failed"
|
||||
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
case ${CHOST} in
|
||||
*-darwin*|*-solaris*)
|
||||
use nls && append-libs intl
|
||||
;;
|
||||
esac
|
||||
|
||||
local PO="${EPREFIX%/}"
|
||||
|
||||
# eval is needed to get along with pg_config quotation of space-rich entities.
|
||||
eval econf "$(${PO}/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with tcl) \
|
||||
$(use_with xml libxml) \
|
||||
$(use_with xml libxslt) \
|
||||
$(use_with uuid ossp-uuid) \
|
||||
--with-system-tzdata="${PO}/usr/share/zoneinfo" \
|
||||
--with-includes="${PO}/usr/include/postgresql-${SLOT}/" \
|
||||
--with-libraries="${PO}/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)" \
|
||||
"$(use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local bd
|
||||
for bd in . contrib $(use xml && echo contrib/xml2); do
|
||||
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
|
||||
emake -C $bd || die "emake in $bd failed"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use perl ; then
|
||||
mv -f "${S}/src/pl/plperl/GNUmakefile" "${S}/src/pl/plperl/GNUmakefile_orig"
|
||||
sed -e "s:\$(DESTDIR)\$(plperl_installdir):\$(plperl_installdir):" \
|
||||
"${S}/src/pl/plperl/GNUmakefile_orig" > "${S}/src/pl/plperl/GNUmakefile"
|
||||
fi
|
||||
|
||||
local bd
|
||||
for bd in . contrib $(use xml && echo contrib/xml2) ; do
|
||||
PATH="${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \
|
||||
emake install -C $bd DESTDIR="${D}" || die "emake install in $bd failed"
|
||||
done
|
||||
|
||||
dodoc README HISTORY doc/{TODO,bug.template}
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/server"
|
||||
|
||||
newconfd "${WORKDIR}/postgresql.confd" postgresql-${SLOT} || \
|
||||
die "Inserting conf failed"
|
||||
newinitd "${WORKDIR}/postgresql.init" postgresql-${SLOT} || \
|
||||
die "Inserting conf failed"
|
||||
|
||||
use pam && pamd_mimic system-auth postgresql auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir ${RUNDIR}/run/postgresql
|
||||
fperms 0770 ${RUNDIR}/run/postgresql
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "http://www.gentoo.org/doc/en/postgres-howto.xml"
|
||||
elog
|
||||
elog "Official documentation:"
|
||||
elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
|
||||
elog
|
||||
elog "The default location of the Unix-domain socket is:"
|
||||
elog " ${EROOT%/}${RUNDIR}/run/postgresql/"
|
||||
elog
|
||||
elog "If you have users and/or services that you would like to utilize the"
|
||||
elog "socket, you must add them to the 'postgres' system group:"
|
||||
elog " usermod -a -G postgres <user>"
|
||||
elog
|
||||
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
|
||||
elog "so that it contains your preferred locale in:"
|
||||
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
elog
|
||||
elog "Then, execute the following command to setup the initial database"
|
||||
elog "environment:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if [[ -z ${REPLACED_BY_VERSION} ]] ; then
|
||||
ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
|
||||
ewarn "\thttp://www.gentoo.org/doc/en/postgres-howto.xml#doc_chap5"
|
||||
|
||||
ebegin "Resuming removal 10 seconds. Control-C to cancel"
|
||||
sleep 10
|
||||
eend 0
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
[[ -f "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" ]] && source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
[[ -z "${PGDATA}" ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
[[ -z "${DATA_DIR}" ]] && DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
|
||||
|
||||
# environment.bz2 may not contain the same locale as the current system
|
||||
# locale. Unset and source from the current system locale.
|
||||
if [ -f "${EROOT%/}/etc/env.d/02locale" ]; then
|
||||
unset LANG
|
||||
unset LC_CTYPE
|
||||
unset LC_NUMERIC
|
||||
unset LC_TIME
|
||||
unset LC_COLLATE
|
||||
unset LC_MONETARY
|
||||
unset LC_MESSAGES
|
||||
unset LC_ALL
|
||||
source "${EROOT%/}/etc/env.d/02locale"
|
||||
[ -n "${LANG}" ] && export LANG
|
||||
[ -n "${LC_CTYPE}" ] && export LC_CTYPE
|
||||
[ -n "${LC_NUMERIC}" ] && export LC_NUMERIC
|
||||
[ -n "${LC_TIME}" ] && export LC_TIME
|
||||
[ -n "${LC_COLLATE}" ] && export LC_COLLATE
|
||||
[ -n "${LC_MONETARY}" ] && export LC_MONETARY
|
||||
[ -n "${LC_MESSAGES}" ] && export LC_MESSAGES
|
||||
[ -n "${LC_ALL}" ] && export LC_ALL
|
||||
fi
|
||||
|
||||
einfo "You can modify the paths and options passed to initdb by editing:"
|
||||
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
einfo
|
||||
einfo "Information on options that can be passed to initdb are found at:"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
|
||||
einfo
|
||||
einfo "PG_INITDB_OPTS is currently set to:"
|
||||
if [[ -z "${PG_INITDB_OPTS}" ]] ; then
|
||||
einfo " (none)"
|
||||
else
|
||||
einfo " ${PG_INITDB_OPTS}"
|
||||
fi
|
||||
einfo
|
||||
einfo "Configuration files will be installed to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "The database cluster will be created in:"
|
||||
einfo " ${DATA_DIR}"
|
||||
einfo
|
||||
while [ "$correct" != "true" ] ; do
|
||||
einfo "Are you ready to continue? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
correct="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "Aborting initialization."
|
||||
else
|
||||
echo "Answer not recognized"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
|
||||
eerror "The given directory, '${DATA_DIR}', is not empty."
|
||||
eerror "Modify DATA_DIR to point to an empty directory."
|
||||
die "${DATA_DIR} is not empty."
|
||||
fi
|
||||
|
||||
[ -z "${PG_MAX_CONNECTIONS}" ] && PG_MAX_CONNECTIONS="128"
|
||||
einfo "Checking system parameters..."
|
||||
|
||||
if ! use kernel_linux ; then
|
||||
einfo "Skipped."
|
||||
einfo " Tests not supported on this OS (yet)"
|
||||
else
|
||||
if [ -z ${SKIP_SYSTEM_TESTS} ] ; then
|
||||
einfo "Checking whether your system supports at least ${PG_MAX_CONNECTIONS} connections..."
|
||||
|
||||
local SEMMSL=$(sysctl -n kernel.sem | cut -f1)
|
||||
local SEMMNS=$(sysctl -n kernel.sem | cut -f2)
|
||||
local SEMMNI=$(sysctl -n kernel.sem | cut -f4)
|
||||
local SHMMAX=$(sysctl -n kernel.shmmax)
|
||||
|
||||
local SEMMSL_MIN=17
|
||||
local SEMMNS_MIN=$(( ( ${PG_MAX_CONNECTIONS}/16 ) * 17 ))
|
||||
local SEMMNI_MIN=$(( ( ${PG_MAX_CONNECTIONS}+15 ) / 16 ))
|
||||
local SHMMAX_MIN=$(( 500000 + ( 30600 * ${PG_MAX_CONNECTIONS} ) ))
|
||||
|
||||
for p in SEMMSL SEMMNS SEMMNI SHMMAX ; do
|
||||
if [ $(eval echo \$$p) -lt $(eval echo \$${p}_MIN) ] ; then
|
||||
eerror "The value for ${p} $(eval echo \$$p) is below the recommended value $(eval echo \$${p}_MIN)"
|
||||
eerror "You have now several options:"
|
||||
eerror " - Change the mentioned system parameter"
|
||||
eerror " - Lower the number of max.connections by setting PG_MAX_CONNECTIONS to a"
|
||||
eerror " value lower than ${PG_MAX_CONNECTIONS}"
|
||||
eerror " - Set SKIP_SYSTEM_TESTS in case you want to ignore this test completely"
|
||||
eerror "More information can be found here:"
|
||||
eerror " http://www.postgresql.org/docs/${SLOT}/static/kernel-resources.html"
|
||||
die "System test failed."
|
||||
fi
|
||||
done
|
||||
einfo "Passed."
|
||||
else
|
||||
ewarn "SKIP_SYSTEM_TESTS set, so skipping."
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Creating the data directory ..."
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
mkdir -p "${DATA_DIR}"
|
||||
chown -Rf postgres:postgres "${DATA_DIR}"
|
||||
chmod 0700 "${DATA_DIR}"
|
||||
fi
|
||||
|
||||
einfo "Initializing the database ..."
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
|
||||
else
|
||||
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
|
||||
fi
|
||||
|
||||
mv "${DATA_DIR%/}"/*.conf "${PGDATA}"
|
||||
|
||||
einfo "The autovacuum function, which was in contrib, has been moved to the main"
|
||||
einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled"
|
||||
einfo "by default. You can disable it in the cluster's:"
|
||||
einfo " ${PGDATA%/}/postgresql.conf"
|
||||
einfo
|
||||
einfo "The PostgreSQL server, by default, will log events to:"
|
||||
einfo " ${DATA_DIR%/}/postmaster.log"
|
||||
einfo
|
||||
if use prefix ; then
|
||||
einfo "The location of the configuration files have moved to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo "To start the server:"
|
||||
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
|
||||
einfo "To stop:"
|
||||
einfo " pg_ctl stop -D ${DATA_DIR}"
|
||||
einfo
|
||||
einfo "Or move the configuration files back:"
|
||||
einfo "mv ${PGDATA}*.conf ${DATA_DIR}"
|
||||
else
|
||||
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
|
||||
einfo "instead of 'pg_ctl'."
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
|
||||
|
||||
if [ ${UID} -ne 0 ] ; then
|
||||
emake check || die "Make check failed. See above for details."
|
||||
|
||||
einfo "If you think other tests besides the regression tests are necessary, please"
|
||||
einfo "submit a bug including a patch for this ebuild to enable them."
|
||||
else
|
||||
ewarn "Tests cannot be run as root. Skipping."
|
||||
ewarn "HINT: FEATURES=\"userpriv\""
|
||||
fi
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST tora-2.1.1.tar.gz 5356473 SHA256 5063f2adda7c14ecdbc190b1459b3ea236fb37054640635f54bc2d46a5041663 SHA512 57c431e802a3e6abd29dc8db0fd7eeeb7a98fe4c923ebb72469e5e1887f05dd8ffab069a9d8df57455b6be7abba7806cdc447b0333a42b898d7072038eb7865b WHIRLPOOL 4cd86a1499057ab919cd87dd8a80d5969cd9eb70832938d28a35419ecca0061e7b61ef3bda32ac88b04738a8c3ad28de083d9ecf85017afd5a97e9a0da480a11
|
||||
DIST tora-2.1.3.tar.gz 12284451 SHA256 ecabb2f181d1fefe8c1c401f14e1fea80b49fc6bc7963ef9f202821a626e619b SHA512 817de0eed05dcc89baf5dbf51d88577cf21b809435d76eef76bfc5ad9e5b5c8228c5cf0ac41d126144e3b41feb73fba04e62af7564fde2a11e9c81c62be59329 WHIRLPOOL aa81539e5218acd284c0bd44787220f3926734bd8c91fa7b3ddb86de6a6a50c7a8036f4bf6b5a89f246c52ff9d45533da108db9a7b1a5f5a162f20c87d5953d4
|
||||
DIST tora-2.1.1.tar.gz 5356473 RMD160 1f81d512480fdfba2d66e2cd8665da8ab70d2de3 SHA1 61a2471fd9bac2578e6fa556f98d90976ea3ef9d SHA256 5063f2adda7c14ecdbc190b1459b3ea236fb37054640635f54bc2d46a5041663
|
||||
DIST tora-2.1.3.tar.gz 12284451 RMD160 084d90c94184939e24ac94109ff7940a33bed1d7 SHA1 d33ea3bafb09c5382ef4e0cb0e8ca4ed848a9155 SHA256 ecabb2f181d1fefe8c1c401f14e1fea80b49fc6bc7963ef9f202821a626e619b
|
||||
|
@ -0,0 +1,26 @@
|
||||
http://tora.svn.sourceforge.net/viewvc/tora?view=revision&revision=4264
|
||||
|
||||
--- trunk/tora/src/toextract.cpp 2012/04/17 16:08:26 4263
|
||||
+++ trunk/tora/src/toextract.cpp 2012/04/20 01:49:18 4264
|
||||
@@ -58,6 +58,9 @@
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
|
||||
+#ifndef Q_OS_WIN32
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
|
||||
std::map<QString, toExtract::extractor *> *toExtract::Extractors;
|
||||
|
||||
--- trunk/tora/src/toreport.cpp 2012/04/17 16:08:26 4263
|
||||
+++ trunk/tora/src/toreport.cpp 2012/04/20 01:49:18 4264
|
||||
@@ -52,6 +52,9 @@
|
||||
#ifdef Q_OS_WIN32
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
+#ifndef Q_OS_WIN32
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
|
||||
|
||||
static bool SameContext(const QString &str, const QString &str2)
|
@ -1,2 +1,3 @@
|
||||
DIST ClanLib-0.8.1.tgz 7629019 SHA256 094331dda35b0d263431d1551991eb208d8e969824434925548a9fcd1d34e495 SHA512 277daaf1055ae0198be7a6bbfd415c79cfae9e2145f62553e83849d670f56e50b8484c83f8b85f23290002e0b0c72c1e01ca597ad608a0954a4add828177293b WHIRLPOOL be486125f406a307676c4957f977b6ccc6bc2ce527a72fb4febcb3d1c7e2acdc4fc6706b66b75412184c3a0744c53e962011b0c3ac22958da5e987f0fccc9d87
|
||||
DIST ClanLib-2.3.4.tgz 25527668 SHA256 d3d2d2f32935bb382fb15f5008100e36182261c13561917e3aba11e271d5f1c3 SHA512 03c1fffc3f5bd3cb19c23f902507fdc0897a02c35fc9d02afa0a7e7547b7a2e3e6bb8634ee52eefb054c0e1aa3b50a77f877226a568ace35326cb9c45abcda12 WHIRLPOOL 06453b7d69352d2cd5672e788d5654dfc6458488f2039ddc0d601318c994dcd4312ff80bd1ef0645ee371b42a99c825382886a2b7d47275371b3587c6c64edce
|
||||
DIST ClanLib-2.3.6.tgz 25605576 SHA256 b8dc9b41028bf16c0a6082aa15cdee5d8b1ecd5256797576970f09a63e3fafde SHA512 572b51984f960a93dd03ad9f48a9f81a7c21c471616fe376c4b54e6cb0855b1043e35486c3eacdc8beadb30e48290a5a2da0cb287ec9aaf5f409f299861ab72c WHIRLPOOL 4389c13bbc71a61adb0330f0edea2be474071b721a90a920872f0d1c6d00ad4e1fcd2b8510144ffacb4f5ff5235ee702d64f9f56b338b449b3f908686ee70c26
|
||||
|
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/clanlib-2.3.6.ebuild,v 1.1 2012/09/25 11:44:48 tupone Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit flag-o-matic eutils autotools-utils
|
||||
|
||||
MY_P=ClanLib-${PV}
|
||||
|
||||
DESCRIPTION="multi-platform game development library"
|
||||
HOMEPAGE="http://www.clanlib.org/"
|
||||
SRC_URI="http://clanlib.org/download/releases-2.0/${MY_P}.tgz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="2.3"
|
||||
KEYWORDS="~amd64 ~x86" #not big endian safe #82779
|
||||
IUSE="doc ipv6 mikmod opengl sound sqlite sse2 static-libs vorbis X"
|
||||
REQUIRED_USE="opengl? ( X )"
|
||||
|
||||
RDEPEND="sys-libs/zlib
|
||||
X? (
|
||||
media-libs/libpng
|
||||
virtual/jpeg
|
||||
media-libs/freetype
|
||||
media-libs/fontconfig
|
||||
opengl? ( virtual/opengl )
|
||||
app-arch/bzip2
|
||||
x11-libs/libX11
|
||||
)
|
||||
sqlite? ( dev-db/sqlite )
|
||||
sound? ( media-libs/alsa-lib )
|
||||
mikmod? (
|
||||
media-libs/libmikmod
|
||||
media-libs/alsa-lib
|
||||
)
|
||||
vorbis? (
|
||||
media-libs/libogg
|
||||
media-libs/libvorbis
|
||||
media-libs/alsa-lib
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen dev-lang/perl )"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-autotools.patch )
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
DOCS=(
|
||||
CODING_STYLE
|
||||
CREDITS
|
||||
PATCHES
|
||||
README
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
myeconfargs=(
|
||||
$(use_enable doc docs)
|
||||
$(use_enable sse2)
|
||||
$(use_enable opengl clanGL)
|
||||
$(use_enable opengl clanGL1)
|
||||
$(use_enable opengl clanGUI)
|
||||
$(use_enable X clanDisplay)
|
||||
$(use_enable vorbis clanVorbis)
|
||||
$(use_enable mikmod clanMikMod)
|
||||
$(use_enable sqlite clanSqlite)
|
||||
$(use_enable ipv6 getaddr)
|
||||
)
|
||||
use sound \
|
||||
|| use vorbis \
|
||||
|| use mikmod \
|
||||
|| myeconfargs+=( --disable-clanSound )
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile
|
||||
use doc && autotools-utils_src_compile html
|
||||
}
|
||||
|
||||
# html files are keeped in a directory that is dependent on the SLOT
|
||||
# so to keep eventual bookmarks to the doc from version to version
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
if use doc ; then
|
||||
emake DESTDIR="${D}" install-html
|
||||
dodoc -r Examples Resources
|
||||
fi
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
--- Documentation/Reference/Makefile.am.old 2012-09-25 10:39:25.973544935 +0200
|
||||
+++ Documentation/Reference/Makefile.am 2012-09-25 10:39:42.560554053 +0200
|
||||
@@ -10,7 +10,7 @@
|
||||
mkdir doxyoutput;
|
||||
mkdir reftest
|
||||
doxygen ./clanlib.doxygen
|
||||
- make -C ../Utilities/ReferenceDocs
|
||||
+ $(MAKE) -C ../Utilities/ReferenceDocs
|
||||
../Utilities/ReferenceDocs/ReferenceDocs
|
||||
|
||||
install-html:
|
||||
--- configure.ac.old 2012-09-25 11:07:38.412537590 +0200
|
||||
+++ configure.ac 2012-09-25 11:09:41.133939131 +0200
|
||||
@@ -337,11 +337,9 @@
|
||||
|
||||
dnl Optional linux/joystick.h
|
||||
AC_CHECK_HEADERS(linux/joystick.h, linux_joystick=yes)
|
||||
- AM_CONDITIONAL(LINUX_JOYSTICK, test x$linux_joystick = xyes)
|
||||
|
||||
dnl Optional linux/input.h
|
||||
AC_CHECK_HEADERS(linux/input.h, linux_input=yes)
|
||||
- AM_CONDITIONAL(LINUX_INPUT, test x$linux_input = xyes)
|
||||
|
||||
if test "$WIN32" = "no" && test "$enable_clanDisplay" != "no"; then
|
||||
CLANLIB_CHECK_LIB(fontconfig, [`cat $srcdir/Setup/Tests/fontconfig.cpp`], clanDisplay, [ *** Cannot find fontconfig (See http://fontconfig.org/ ) (Try libfontconfig1-dev or better) ], [-lfontconfig])
|
||||
@@ -358,6 +356,8 @@
|
||||
clanDisplay, [ *** Cannot find version 8 of DirectInput], [-ldxguid -lole32 -ldinput8])
|
||||
fi
|
||||
fi
|
||||
+AM_CONDITIONAL(LINUX_JOYSTICK, test x$linux_joystick = xyes)
|
||||
+AM_CONDITIONAL(LINUX_INPUT, test x$linux_input = xyes)
|
||||
|
||||
have_xrender=no
|
||||
|
||||
@@ -515,9 +515,9 @@
|
||||
fi
|
||||
|
||||
if test "$enable_clanSound" = "auto"; then enable_clanSound=yes; fi
|
||||
- AM_CONDITIONAL(ALSA, test x$have_alsa = xyes)
|
||||
|
||||
fi
|
||||
+AM_CONDITIONAL(ALSA, test x$have_alsa = xyes)
|
||||
|
||||
if test "$enable_clanSound" != "no"; then
|
||||
enable_clanSound=yes
|
@ -1,2 +1,2 @@
|
||||
DIST icedtea-web-1.2.1.tar.gz 879692 SHA256 134efcd429086a643ba03ec6e4da991527c3e5dfcd6ed6680a83824ad3f0cfd6 SHA512 0f7cb56dc252c8f1196a6af841e74e482b9d5b5a1b1ff1b1be315ece1f180ca09a5017e76993d81824d864ebcebf4fe8369d09322fb2fee1c88cb7f5031717b8 WHIRLPOOL 17fb7b3b66b2b42baca1f278a786682b3eb1191a054bc909605f85c641ffe1d998a677ad6055dfac9f996792404aa19987d4c77a4dcc774183e5a17ee7aad352
|
||||
DIST icedtea-web-1.2.tar.gz 885793 SHA256 3f8d22b655df207409dd3451ba02907f61a12ac051e4df4d44bb5ed47c4f778d SHA512 42b6878457965ed3b077acb72940587efbf6b751e2a197fceed20c9cd0be8e878412a4a838c0dfbb5b02eeaae1833073c3bbf4baef7944c576f3c71c06b7419a WHIRLPOOL bd7bc02be559648290e852470daa9ad962fe7b5e168d1cfe2520b4cafdd9b0cbced96e1dfe75e04e20174a963086bce25ae199c8cd9f11b4add25a36c62e53d0
|
||||
DIST icedtea-web-1.3.tar.gz 987785 SHA256 d46ec10700732cea103da2aae64ff01e717cb1281b83e1797ce48cc53280b49f SHA512 21cb4602a998e65994498e56f368f42c06703e07f2b33cbe9d2a084befe073f7c9301a9b076ccaac5de18bb384907b8efc1013315ca2cd90493caf18059f4932 WHIRLPOOL 97a448088d8838fd2272cafa159fd43f45b7404f2afabd5cd12d7bcd97418a012ff028d6015293878c913ee1d907585ce2c22a5a7e8c8ba3619bb6cb30c63370
|
||||
|
@ -1,116 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea-web/icedtea-web-1.2.1-r7.ebuild,v 1.1 2012/08/02 18:03:48 sera Exp $
|
||||
# Build written by Andrew John Hughes (ahughes@redhat.com)
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils java-pkg-2 java-vm-2
|
||||
|
||||
DESCRIPTION="FOSS Java browser plugin and Web Start implementation"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2"
|
||||
SLOT="7"
|
||||
KEYWORDS="~amd64 ~ia64 ~x86"
|
||||
|
||||
IUSE="build doc javascript +nsplugin test"
|
||||
|
||||
RDEPEND="dev-java/icedtea:${SLOT}"
|
||||
# Need system junit 4.8+. Bug #389795
|
||||
DEPEND="${RDEPEND}
|
||||
javascript? ( dev-java/rhino:1.6 )
|
||||
nsplugin? ( net-misc/npapi-sdk )
|
||||
test? ( >=dev-java/junit-4.8:4 )"
|
||||
|
||||
pkg_setup() {
|
||||
JAVA_PKG_WANT_BUILD_VM="icedtea-7 icedtea7"
|
||||
JAVA_PKG_WANT_SOURCE="1.6"
|
||||
JAVA_PKG_WANT_TARGET="1.6"
|
||||
|
||||
java-vm-2_pkg_setup
|
||||
java-pkg-2_pkg_setup
|
||||
}
|
||||
|
||||
unset_vars() {
|
||||
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# bug #356645
|
||||
epatch "${FILESDIR}"/0002-Respect-LDFLAGS.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local vmhome=$(java-config -O)
|
||||
|
||||
if use build; then
|
||||
icedteadir="${ICEDTEA_BIN_DIR}"
|
||||
[[ -z ${icedteadir} ]] && die "USE=build is an internal flag and should not be enabled"
|
||||
installdir="/opt/icedtea-web-bin-${SLOT}"
|
||||
else
|
||||
icedteadir="/usr/$(get_libdir)/icedtea${SLOT}"
|
||||
installdir="/usr/$(get_libdir)/icedtea${SLOT}-web"
|
||||
fi
|
||||
|
||||
unset_vars
|
||||
|
||||
if use build || [[ ${vmhome} == ${icedteadir} ]] ; then
|
||||
VMHANDLE="icedtea-${SLOT}"
|
||||
else
|
||||
die "Unexpected install location of IcedTea${SLOT}"
|
||||
fi
|
||||
|
||||
einfo "Installing IcedTea-Web in ${installdir}"
|
||||
einfo "Installing IcedTea-Web for Icedtea${SLOT} in ${icedteadir}"
|
||||
if [ ! -e ${vmhome} ] ; then
|
||||
eerror "Could not find JDK install directory ${vmhome}."
|
||||
die
|
||||
fi
|
||||
|
||||
# we need to override all *dir variables that econf sets
|
||||
# man page (javaws) is installed directly to icedteadir because it's easier than symlinking, as we don't know
|
||||
# the suffix the man page will end up compressed with, anyway
|
||||
econf \
|
||||
--prefix=${installdir} --mandir=${icedteadir}/man --infodir=${installdir}/share/info --datadir=${installdir}/share \
|
||||
--with-jdk-home=${icedteadir} \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable nsplugin plugin) \
|
||||
$(use_with javascript rhino)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# we need this to override the src_compile from java-pkg-2
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# parallel make problem bug #372235
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
dodoc AUTHORS README NEWS
|
||||
|
||||
if use nsplugin; then
|
||||
install_mozilla_plugin "${installdir}/$(get_libdir)/IcedTeaPlugin.so";
|
||||
fi
|
||||
|
||||
for binary in javaws itweb-settings; do
|
||||
dosym ${installdir}/bin/${binary} ${icedteadir}/bin/${binary}
|
||||
dosym ${installdir}/bin/${binary} ${icedteadir}/jre/bin/${binary}
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
java-vm_check-nsplugin
|
||||
java_mozilla_clean_
|
||||
|
||||
if use nsplugin; then
|
||||
elog "The icedtea browser plugin (NPPlugin) can be enabled using eselect java-nsplugin"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
# override the java-vm-2 eclass check for removing a system VM, as it doesn't make sense here
|
||||
:;
|
||||
}
|
@ -1,116 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea-web/icedtea-web-1.2.ebuild,v 1.5 2012/07/21 11:47:47 sera Exp $
|
||||
# Build written by Andrew John Hughes (ahughes@redhat.com)
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils java-pkg-2 java-vm-2
|
||||
|
||||
DESCRIPTION="FOSS Java browser plugin and Web Start implementation"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2"
|
||||
SLOT="6"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
IUSE="build doc javascript +nsplugin test"
|
||||
|
||||
RDEPEND="dev-java/icedtea:${SLOT}"
|
||||
# Need system junit 4.8+. Bug #389795
|
||||
DEPEND="${RDEPEND}
|
||||
javascript? ( dev-java/rhino:1.6 )
|
||||
nsplugin? ( net-misc/npapi-sdk )
|
||||
test? ( >=dev-java/junit-4.8:4 )"
|
||||
|
||||
pkg_setup() {
|
||||
JAVA_PKG_WANT_BUILD_VM="icedtea-6 icedtea6"
|
||||
JAVA_PKG_WANT_SOURCE="1.6"
|
||||
JAVA_PKG_WANT_TARGET="1.6"
|
||||
|
||||
java-vm-2_pkg_setup
|
||||
java-pkg-2_pkg_setup
|
||||
}
|
||||
|
||||
unset_vars() {
|
||||
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# bug #356645
|
||||
epatch "${FILESDIR}"/0002-Respect-LDFLAGS.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local vmhome=$(java-config -O)
|
||||
|
||||
if use build; then
|
||||
icedteadir="${ICEDTEA_BIN_DIR}"
|
||||
[[ -z ${icedteadir} ]] && die "USE=build is an internal flag and should not be enabled"
|
||||
installdir="/opt/icedtea-web-bin-${SLOT}"
|
||||
else
|
||||
icedteadir="/usr/$(get_libdir)/icedtea${SLOT}"
|
||||
installdir="/usr/$(get_libdir)/icedtea${SLOT}-web"
|
||||
fi
|
||||
|
||||
unset_vars
|
||||
|
||||
if use build || [[ ${vmhome} == ${icedteadir} ]] ; then
|
||||
VMHANDLE="icedtea-${SLOT}"
|
||||
else
|
||||
die "Unexpected install location of IcedTea${SLOT}"
|
||||
fi
|
||||
|
||||
einfo "Installing IcedTea-Web in ${installdir}"
|
||||
einfo "Installing IcedTea-Web for Icedtea${SLOT} in ${icedteadir}"
|
||||
if [ ! -e ${vmhome} ] ; then
|
||||
eerror "Could not find JDK install directory ${vmhome}."
|
||||
die
|
||||
fi
|
||||
|
||||
# we need to override all *dir variables that econf sets
|
||||
# man page (javaws) is installed directly to icedteadir because it's easier than symlinking, as we don't know
|
||||
# the suffix the man page will end up compressed with, anyway
|
||||
econf \
|
||||
--prefix=${installdir} --mandir=${icedteadir}/man --infodir=${installdir}/share/info --datadir=${installdir}/share \
|
||||
--with-jdk-home=${icedteadir} \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable nsplugin plugin) \
|
||||
$(use_with javascript rhino)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# we need this to override the src_compile from java-pkg-2
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# parallel make problem bug #372235
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
dodoc AUTHORS README NEWS
|
||||
|
||||
if use nsplugin; then
|
||||
install_mozilla_plugin "${installdir}/$(get_libdir)/IcedTeaPlugin.so";
|
||||
fi
|
||||
|
||||
for binary in javaws itweb-settings; do
|
||||
dosym ${installdir}/bin/${binary} ${icedteadir}/bin/${binary}
|
||||
dosym ${installdir}/bin/${binary} ${icedteadir}/jre/bin/${binary}
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
java-vm_check-nsplugin
|
||||
java_mozilla_clean_
|
||||
|
||||
if use nsplugin; then
|
||||
elog "The icedtea browser plugin (NPPlugin) can be enabled using eselect java-nsplugin"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
# override the java-vm-2 eclass check for removing a system VM, as it doesn't make sense here
|
||||
:;
|
||||
}
|
@ -1,20 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
<maintainer>
|
||||
<email>gnu_andrew@member.fsf.org</email>
|
||||
<name>Andrew John Hughes</name>
|
||||
<description>Proxy Maintainer</description>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>caster@gentoo.org</email>
|
||||
<name>Vlastimil Babka</name>
|
||||
<description>Committer (CC me)</description>
|
||||
</maintainer>
|
||||
<longdescription>FOSS Java Web Start and optional browser plugin implementation based on NetX, to be used with icedtea.</longdescription>
|
||||
<use>
|
||||
<flag name="javascript">Enable support for using proxy auto config (PAC) files.</flag>
|
||||
<flag name="nsplugin">Enable the browser plugin (NPPlugin).</flag>
|
||||
</use>
|
||||
<herd>java</herd>
|
||||
<maintainer>
|
||||
<email>gnu_andrew@member.fsf.org</email>
|
||||
<name>Andrew John Hughes</name>
|
||||
<description>Proxy Maintainer</description>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>caster@gentoo.org</email>
|
||||
<name>Vlastimil Babka</name>
|
||||
<description>Committer (CC me)</description>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
FOSS Java Web Start and optional browser plugin implementation based on NetX, to be used with icedtea.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="javascript">Enable support for using proxy auto config (PAC) files.</flag>
|
||||
<flag name="nsplugin">Enable the browser plugin (NPPlugin).</flag>
|
||||
<flag name="gtk2">Use x11-libs/gtk+:2 instead of x11-libs/gtk+:3</flag>
|
||||
<flag name="gtk3">Use x11-libs/gtk+:3 (default)</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,13 @@
|
||||
diff --git a/jni/GNUmakefile b/jni/GNUmakefile
|
||||
index efe6230..25053c7 100755
|
||||
--- a/jni/GNUmakefile
|
||||
+++ b/jni/GNUmakefile
|
||||
@@ -64,7 +64,7 @@ JFLAGS = -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG
|
||||
OFLAGS = -O2 $(JFLAGS)
|
||||
|
||||
# MacOS headers aren't completely warning free, so turn them off
|
||||
-WERROR = -Werror
|
||||
+WERROR =
|
||||
ifneq ($(OS),darwin)
|
||||
WFLAGS += -Wundef $(WERROR)
|
||||
endif
|
@ -0,0 +1,96 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jffi/jffi-1.2.5.ebuild,v 1.1 2012/09/25 10:41:34 sera Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2 versionator vcs-snapshot
|
||||
|
||||
DESCRIPTION="An optimized Java interface to libffi"
|
||||
HOMEPAGE="https://github.com/jnr/jffi"
|
||||
SRC_URI="https://github.com/jnr/jffi/tarball/${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 LGPL-3 )"
|
||||
SLOT="1.2"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="
|
||||
virtual/libffi"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.5"
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.5
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
dev-java/ant-junit:0
|
||||
dev-java/junit:4
|
||||
)"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die
|
||||
epatch "${FILESDIR}"/${P}_no-werror.patch
|
||||
|
||||
find "${WORKDIR}" -iname '*.jar' -delete
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
|
||||
EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}"
|
||||
src_compile() {
|
||||
# generate Version.java
|
||||
cat > src/main/java/com/kenai/jffi/Version.java <<-EOF
|
||||
package com.kenai.jffi;
|
||||
public final class Version {
|
||||
private Version() {}
|
||||
public static final int MAJOR = $(get_version_component_range 1);
|
||||
public static final int MINOR = $(get_version_component_range 2);
|
||||
public static final int MICRO = $(get_version_component_range 3);
|
||||
}
|
||||
EOF
|
||||
|
||||
java-pkg-2_src_compile
|
||||
|
||||
# generate headers
|
||||
mkdir -p build/jni
|
||||
javah -d build/jni -classpath target/classes \
|
||||
com.kenai.jffi.Foreign \
|
||||
com.kenai.jffi.ObjectBuffer \
|
||||
com.kenai.jffi.Version \
|
||||
|| die
|
||||
|
||||
#build native library.
|
||||
local args=(
|
||||
SRC_DIR=jni
|
||||
JNI_DIR=jni
|
||||
BUILD_DIR=build/jni
|
||||
VERSION=$(get_version_component_range 1-2)
|
||||
USE_SYSTEM_LIBFFI=1
|
||||
-f jni/GNUmakefile
|
||||
)
|
||||
emake "${args[@]}"
|
||||
}
|
||||
|
||||
EANT_TEST_GENTOO_CLASSPATH="junit-4"
|
||||
src_test() {
|
||||
# build native test library
|
||||
emake BUILD_DIR=build -f libtest/GNUmakefile
|
||||
|
||||
_JAVA_OPTIONS="-Djffi.boot.library.path=build/jni" \
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cat > boot.properties <<-EOF
|
||||
jffi.boot.library.path = ${JAVA_PKG_LIBDEST}
|
||||
EOF
|
||||
jar -uf target/${PN}.jar boot.properties || die
|
||||
|
||||
java-pkg_dojar target/${PN}.jar
|
||||
java-pkg_doso build/jni/lib${PN}-$(get_version_component_range 1-2).so
|
||||
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src/main/java/*
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST jnr-ffi-0.5.10.tar.gz 559174 SHA256 6d13ae0ca2a63bcee0fcdb81263d676925658b0b466769e893279b453b636c9a SHA512 dc1eff430ab87dcecb798466088cc81fd92d5c44dfe473673635c3dfd7ad7e3e416d2086377b5b93b134902e7e6c3a736ef235f17a358a5a7f541dbaea41b2e5 WHIRLPOOL cef64a4e2db33262c4864b03c95303394c937682ceb9f9fad821932099c1f6e4eb6de36ae655c564aebf69bd4a99a1753839e49396b1adf1c9399bd8a16ef53f
|
||||
DIST jnr-ffi-0.6.0.tar.gz 97712 SHA256 91f7a1c21020892332849b9edc5ab7ad98dd7fabe03756fe0a48189ab796a24a SHA512 ea5997de1201c4d326ecd4753ed2ac11ba288d029508891a38e8a8ee8929b3622865057f9276373585414f88b48389ef607fd00474998ca4ce372a2cfc1e9170 WHIRLPOOL b205ecbce04e65981dc890fc0494dac01f5d47090535a336efc980f8877b64ceaf930fd157dd0a5de97987da61a0bbdb4b9cdfce9547d000f4f7c299d7167d60
|
||||
DIST jnr-ffi-0.7.4.tar.gz 130458 SHA256 8c17175a5aaaf5fa2ceea255606a745f864b0f81411a75b6a94141dbe50c0a3c SHA512 cd2dc44d7ee928a3a95e743f7a6ed3699238c47f8b45d95bee38fb20d6c68742300ac369f27f82815006d78fe6092268617def1c7c89fda7cc9038073d803539 WHIRLPOOL 350d1f6b3d30a5db5eca42c86d226d17cb0aa6323d14aee48fd708b3992090be1cb06d662126a6af65f5c94353e0daf1833a47635f3c2a31c630708c5b7e9518
|
||||
DIST jnr-ffi-0.7.6.tar.gz 130741 SHA256 05704880d11e90c5ae8b60dcddab63076e2c250ca282ae60d1d035d92e88c4d6 SHA512 dbd4148b9ad3ecab3a0e43ecc0761c828729f08b8df44c42a330c7e4b697062231a4e3fc4233233e7a73cc0c4b235a095dbe6907063c82cc32bfccb6cb83bdf5 WHIRLPOOL 30dd065a26f9019f4019cf71afd74de8f515ca219c231d4cd343a70d7e6e1e889c9ecc700fb274baa47fcefae9b940e1389afabca4f798a26c928c5bdd1d0636
|
||||
DIST jnr-ffi-0.7.7.tar.gz 130740 SHA256 d0f93346af0edd922e330975524f01f3dc5a2beb329fc5a62e32fd5153992807 SHA512 41a315fa6e03837e675a06d1f537a080430005c3a6ba63d03b3471998171a82b8205ba3d784a4d6b6ed4f94aeeac51121057580d51b14362216fac820eff2fa5 WHIRLPOOL 0ac7f995b396e95fdd80c470d2df328af7f97209feb09367ada66f49640a4fc413e111eb8e6748e9bd7341bc974e8b8dad2235be2de9b78621699b675d845225
|
||||
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jnr-ffi/jnr-ffi-0.7.6.ebuild,v 1.1 2012/09/25 10:43:21 sera Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 vcs-snapshot
|
||||
|
||||
DESCRIPTION="An abstracted interface to invoking native functions from java"
|
||||
HOMEPAGE="https://github.com/jnr/jnr-ffi"
|
||||
SRC_URI="https://github.com/jnr/${PN}/tarball/${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 LGPL-3 )"
|
||||
SLOT="0.7"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/jffi:1.2
|
||||
dev-java/jnr-x86asm:1.0
|
||||
dev-java/asm:4"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.5"
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.5
|
||||
test? (
|
||||
dev-java/ant-junit:0
|
||||
>=dev-java/junit-4.8:4
|
||||
)"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
JAVA_ANT_CLASSPATH_TAGS="${JAVA_ANT_CLASSPATH_TAGS} javadoc"
|
||||
JAVA_ANT_ENCODING="UTF-8"
|
||||
|
||||
EANT_GENTOO_CLASSPATH="asm-4,jffi-1.2,jnr-x86asm-1.0"
|
||||
EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}"
|
||||
|
||||
EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4"
|
||||
src_test() {
|
||||
# Fails, upstream pom has ignore test failures enabled.
|
||||
rm -v src/test/java/jnr/ffi/StringArrayTest.java || die
|
||||
|
||||
# build native test library
|
||||
emake BUILD_DIR=build -f libtest/GNUmakefile
|
||||
|
||||
_JAVA_OPTIONS="-Djnr.ffi.library.path=build" \
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar target/${PN}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src/main/java/*
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jnr-ffi/jnr-ffi-0.7.7.ebuild,v 1.1 2012/09/25 11:04:16 sera Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 vcs-snapshot
|
||||
|
||||
DESCRIPTION="An abstracted interface to invoking native functions from java"
|
||||
HOMEPAGE="https://github.com/jnr/jnr-ffi"
|
||||
SRC_URI="https://github.com/jnr/${PN}/tarball/${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 LGPL-3 )"
|
||||
SLOT="0.7"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/jffi:1.2
|
||||
dev-java/jnr-x86asm:1.0
|
||||
dev-java/asm:4"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.5"
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.5
|
||||
test? (
|
||||
dev-java/ant-junit:0
|
||||
>=dev-java/junit-4.8:4
|
||||
)"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
JAVA_ANT_CLASSPATH_TAGS="${JAVA_ANT_CLASSPATH_TAGS} javadoc"
|
||||
JAVA_ANT_ENCODING="UTF-8"
|
||||
|
||||
EANT_GENTOO_CLASSPATH="asm-4,jffi-1.2,jnr-x86asm-1.0"
|
||||
EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}"
|
||||
|
||||
EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4"
|
||||
src_test() {
|
||||
# Fails, upstream pom has ignore test failures enabled.
|
||||
rm -v src/test/java/jnr/ffi/StringArrayTest.java || die
|
||||
|
||||
# build native test library
|
||||
emake BUILD_DIR=build -f libtest/GNUmakefile
|
||||
|
||||
_JAVA_OPTIONS="-Djnr.ffi.library.path=build" \
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar target/${PN}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src/main/java/*
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST jnr-netdb-1.0.1.tar.gz 670834 SHA256 654360f56c4a0131df293b6dcaa96618dfa9ded549180284dbaa20e6305d8906 SHA512 d62718de9e9b0a0bb1463f6bf9dc22ca00d5d107f22fea77af0b5cf77ffb6d681d0ea345cad0301e0f9053f797fd0a502325c71b3bf8aea989232f73e3f18cbc WHIRLPOOL f4e0493a0df380fd372e407d2e5014c40dda88e832ab6324fc579d6a2469cad9a3aed98f268c43aaa35b966324de7b746287fb075a16ddd58068b5fa00f04523
|
||||
DIST jnr-netdb-1.0.6.tar.gz 648348 SHA256 097d621cc5ac8550e1b1bcafc034bfadd9a7a307f7133b7b7fe5ffdf38782c4f SHA512 61ddb9c7eaae955eb732ba3cec5222c231b17ca76f8b729cafcea8fc7c0fadfc80bb4c061dc4afb918e983719fc4451447f7fe290282fd9b90ab0f66d71f60e4 WHIRLPOOL 09c6e6bb668beb96083cc8588901e678ef903545675efda7ebba0e82dd36827cb68822954b21e2a30ecb06219644a36a19fa63237b00d36e43151230336a4e88
|
||||
DIST jnr-netdb-1.1.1.tar.gz 648340 SHA256 077cc3612d4033c795f315d3fe1672ed47960d5b68a6e8bce0b107e3103992d0 SHA512 8fe5e7538aef142713f1b0956040b5e5069f263de5aad4ac71737aacf96f95a779f3ed11c7cc725d2ae55a4a6016c1fc8ef9c7a6b3548e6975d0fd0801060ec3 WHIRLPOOL 0d587154cd0c1232969c003dc4f00a752bec84eefbde87f2036a62f8c9a421b334cefa7fb981ec8003b279ad0657e313451bf4fa1775be1a2513f85c14be2e24
|
||||
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jnr-netdb/jnr-netdb-1.1.1.ebuild,v 1.1 2012/09/25 10:45:52 sera Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 vcs-snapshot
|
||||
|
||||
DESCRIPTION="Network services database access for java."
|
||||
HOMEPAGE="https://github.com/jnr/jnr-netdb"
|
||||
SRC_URI="https://github.com/jnr/${PN}/tarball/${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="1.0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/jnr-ffi:0.7"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.5"
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.5
|
||||
test? (
|
||||
dev-java/ant-junit
|
||||
dev-java/junit:4
|
||||
)"
|
||||
|
||||
java_prepare() {
|
||||
find -name '*.jar' -exec rm -v {} + || die
|
||||
|
||||
cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
JAVA_ANT_CLASSPATH_TAGS="${JAVA_ANT_CLASSPATH_TAGS} javadoc"
|
||||
JAVA_ANT_ENCODING="UTF-8"
|
||||
|
||||
EANT_GENTOO_CLASSPATH="jnr-ffi-0.7"
|
||||
|
||||
EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4"
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar target/${PN}.jar
|
||||
dodoc README
|
||||
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src/main/java/*
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jnr-posix/jnr-posix-2.3.0.ebuild,v 1.1 2012/09/25 10:47:17 sera Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 vcs-snapshot
|
||||
|
||||
DESCRIPTION="Lightweight cross-platform POSIX emulation layer for Java"
|
||||
HOMEPAGE="https://github.com/jnr/jnr-posix"
|
||||
SRC_URI="https://github.com/jnr/${PN}/tarball/${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( CPL-1.0 GPL-2 LGPL-2.1 )"
|
||||
SLOT="2.1"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/jnr-constants:0
|
||||
dev-java/jnr-ffi:0.7"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.5"
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.5
|
||||
test? (
|
||||
dev-java/ant-junit
|
||||
dev-java/junit:4
|
||||
)"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
JAVA_ANT_CLASSPATH_TAGS="${JAVA_ANT_CLASSPATH_TAGS} javadoc"
|
||||
JAVA_ANT_ENCODING="UTF-8"
|
||||
|
||||
EANT_GENTOO_CLASSPATH="jnr-constants,jnr-ffi-0.7"
|
||||
EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}"
|
||||
|
||||
EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4"
|
||||
src_test() {
|
||||
# Fails, upstream pom has ignore test failures enabled.
|
||||
rm -v src/test/java/jnr/posix/FileStatTest.java || die
|
||||
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar target/${PN}.jar
|
||||
dodoc README.txt
|
||||
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src/main/java/*
|
||||
}
|
@ -1,30 +1,32 @@
|
||||
DIST gcc-ada-3.4.6.tar.bz2 3784327 RMD160 6984d622622b2d2fcd2fc61588d421b0375984f7 SHA1 02a6d26e48fe654077aba94fa27e93df2db16d06 SHA256 d5bfb166b2ad287ba85ebba533cca4453b521479cffc1bd3c6d273f6b3d794e2
|
||||
DIST gcc-ada-4.1.2.tar.bz2 4589609 RMD160 9fee74690503a8df2653cbb3eecf0a29375ba535 SHA1 4b3c39bd9ff80f4ce4cf7dac8d38403f91b75cef SHA256 703125c4d033c666b52db2aeee0a05e3461467fe8ff6e5e588b5cdb8c6928bb0
|
||||
DIST gcc-ada-4.2.3.tar.bz2 4740243 RMD160 dd3dc58d87a24fef7f33a0a04e13de30d7cc6758 SHA1 fcf69fbc1d802ef1349a14ccdf7e9a53028d90e0 SHA256 08956727415fb1721c5c89ef33ebe94ab718459e88f7cd4589fc1c2b7e98cb4c
|
||||
DIST gcc-ada-4.3.2.tar.bz2 5291314 RMD160 65f045756bb215186fcbb646a13743e146ebc8bc SHA1 f5c4b2d7a35e55ee801ec1915a824d403f2367fd SHA256 98d112e1e0bdea5f520b08ea352931fd353085628d12cb9553d5794cb43e8c26
|
||||
DIST gcc-ada-4.3.3.tar.bz2 5236690 RMD160 53699ae21041d185a2b91678ad098aa6be9de5b7 SHA1 5111d261d8d7254305831e8577eb5eb7d9cf33fb SHA256 d49eb8d58b23a39149f10f55a7cc60f77e73d1bed88659e5cc5226ddd0a8ffda
|
||||
DIST gcc-ada-4.3.5.tar.bz2 5231691 RMD160 f4d667913e1157c0010fb496206e7f9be9d25209 SHA1 887d7a8af8ab2d990d1991a229bcbf662c790a04 SHA256 e3e4a0836820e8b1b7b4b00b529568a2d51ed9ec3933fbd44c7b1c04ad3076de
|
||||
DIST gcc-ada-4.3.6.tar.bz2 5309618 RMD160 5394146041721369bf9d912bd2430095e5ec5e16 SHA1 d121d7c7fff9bef6f43d0797238fefc91a7b82f8 SHA256 a2721a41965f361938bc9d86e3cc7ba12dc6b7efa24cbe5d9f9c84882b9caf31
|
||||
DIST gcc-ada-4.4.3.tar.bz2 5470203 RMD160 f908c510ae7768c4037990009160b1040da255c4 SHA1 f4ec5d0238a6c2fd5049ef0ee22df509c349f7b7 SHA256 67cec15254922d71790e80f150f24e13cdaac60804d46cb17bed9df7f874d290
|
||||
DIST gcc-ada-4.4.5.tar.bz2 5470412 RMD160 dd9720b8c2f70e76b48e9e875880d6887360f8f6 SHA1 f65acd7003d6dc5305571941a706502a134cc8c2 SHA256 0fdfd6318faba7bd39dde6fdc78c8334636be1e9fdcf4bd84f39372882abd177
|
||||
DIST gcc-core-3.4.6.tar.bz2 13366790 RMD160 510f512c1de3e0b67c68aeaf9933a547f500b6d9 SHA1 5f41c5e31fdc04e83fa16b07729866d53ffaadce SHA256 3aab171d86e5a6c14cb9de35467a0472a7d5ef1d5b79a1df72ca533f8e82a133
|
||||
DIST gcc-core-4.1.2.tar.bz2 17485561 RMD160 612cbd5b795f7095fb3f565e6a8eaaee82c472c5 SHA1 d6875295f6df1bec4a6f4ab8f0da54bfb8d97306 SHA256 7be9c5df8000ae35d0928f0a254bfb5e8478cad5e5e57fd07820530c03b3711d
|
||||
DIST gcc-core-4.2.3.tar.bz2 19319213 RMD160 1ced09156d8444bba7eb2550a969f72b788d4bc5 SHA1 0896a32b36f2fcd3dd39c8424b548fab87b33873 SHA256 99ec052e13e8c2bc7d1db86d1c98fb651d45fd3e8ea90b0981c47f6e8826c813
|
||||
DIST gcc-core-4.3.2.tar.bz2 23830073 RMD160 96f5c9eeed2bd489ea6422908635c0aa93013e52 SHA1 8137e6f12fea6730873ab6230e6f6a768443de83 SHA256 0687e7279d78eb963ac34a3b06a0a6a1d1e9a26807ef4939cf4a2ad5f062e75a
|
||||
DIST gcc-core-4.3.3.tar.bz2 24355225 RMD160 2aa8c759f153d033449ce2b735a13c374d17564f SHA1 b907061e5788d7060bfb94396152ba9fc0786f91 SHA256 4690f4ef0218ed9795509ca05cbccaa6023fde943c83e1625db8627be3d6d323
|
||||
DIST gcc-core-4.3.5.tar.bz2 24828441 RMD160 b365da063ead1d851432e6d8b076580da544e092 SHA1 87b1fef7009b7cf42f9a9df9c8d4609bc8dda9c5 SHA256 ca57b06732a9a4123d6685fe58f3550afadf063107016e3f15c2b32447612711
|
||||
DIST gcc-core-4.3.6.tar.bz2 24448503 RMD160 d4bed0820d5eae5072e30fa66167fda4fc2f0bbc SHA1 d9dc274ad558194e7d9bacc49c333a4870d7e613 SHA256 86af1703be5cc7f40270a66ac15ebcf6088706a789ae1bf18488dc070777f979
|
||||
DIST gcc-core-4.4.3.tar.bz2 26336901 RMD160 28b61b91dfca8632c327205226434736c2662223 SHA1 039f19e642d0967af7772b26d42fd0c25bf62edc SHA256 92f311e6be22a2096c765bc8be72bd7fef56bba73f053b3de025b9c92d308356
|
||||
DIST gcc-core-4.4.5.tar.bz2 26356188 RMD160 0a8819dd97fa616944e546df8fed24a8f0ca9b29 SHA1 8e2202cde3be496f0452219c60311f8fe36f87f6 SHA256 dbf012d5616b51d072383a32f71d4217239e7f0096acb07bbf266529a347ab4b
|
||||
DIST gnatboot-3.4-amd64-r2.tar.bz2 12063245 RMD160 6be578cb8938e872b39d2420c2151d4b8b574f20 SHA1 ce67f3147a5d009ffe5d92cc5ef116f32e772bb0 SHA256 c0c2fe91f6c38483193415690a4f90ac205e3aa9cf42ab3ab3e5d2a3ec269d8d
|
||||
DIST gnatboot-3.4-i386.tar.bz2 10629373 RMD160 27a3189be4a1f699b438f777679890b93a51eb1e SHA1 78d5aa6c9800ab978db1fbf93255ed70fe188dbc SHA256 7b4300e72b7f00d2fd9d0dad6940c3e6b4e19eeaf4696e92d7c92e2a38e8b049
|
||||
DIST gnatboot-3.4-ppc.tar.bz2 10996302 RMD160 de56dbb14346f41023ae06445d830c6bd9bbf50a SHA1 87c068ddb7bb14b87e04765e2c3c2997064e8770 SHA256 1f164834e377604a943b230196d9f2a40e8e6753bac4c980d5ca2c00c7674363
|
||||
DIST gnatboot-4.1-amd64.tar.bz2 15314736 RMD160 d3042072827d66dff67e57559613f7d4136c8443 SHA1 c6a3b213209019579da7660147211c2bc9e6a348 SHA256 a4016920b84f5934ec7120c7bb17c1028b193d5e146a46a9d1ceae4a456924d2
|
||||
DIST gnatboot-4.1-i386.tar.bz2 15367514 RMD160 3a5dcd646a9abe75a62410a9daaf749171bf5aad SHA1 a7229124084a9e842686eb3c255e42bf432d7b3b SHA256 597b4a16f38fb173b1eecc259c1566ccf81291e13b88e2160102a512cefcc518
|
||||
DIST gnatboot-4.1-ppc.tar.bz2 13651598 RMD160 1890d8ae2e744d8a26ac5f9d1cf7c923637fff8b SHA1 017efeb76d9283bd90c431b06ddcb7dc91055e07 SHA256 2c9ed035b964a7dfcc427cb5c16dc30d3b99276fb424d25b0ebfde23a68013eb
|
||||
DIST gnatboot-4.3-amd64.tar.bz2 20294401 RMD160 6c5ea6c183ffb6323e9eaf89ccd2b5f85640b2ae SHA1 43e450a9c38d90460a493d26b716ee4af642a19b SHA256 3506500b4cda06eaaf9bb70ec26fbe9be2a05b1f8edf0b2f7aeceb451a558333
|
||||
DIST gnatboot-4.3-i686.tar.bz2 16065767 RMD160 cc55768d1c924f63a5e40debe987d1a08a86ac51 SHA1 ef65dda2ab20ebf2fbb678d9dcbb05de8b51b79b SHA256 7afbea3216c24dde950d7d511e5fc897db5e5c8099ff4a524048519abc54f0b9
|
||||
DIST gnatboot-4.3-sparc.tar.bz2 13065130 RMD160 fd80c9fc8a3930e884daa0b86147871a1ee58b87 SHA1 fdf3b93414b050e552ee999ab50329580e1a0bf8 SHA256 e234336123fd65c0f73cd25af99dbb439ea08f0286fe7f5b1e05dd414b9878e7
|
||||
DIST gnatboot-4.4-amd64.tar.bz2 26117669 RMD160 caaeb84005b8160eb1d3a084bd41710e677b7dfc SHA1 f2f2eddb5a7fd1f49c54cbb4fc9f49bcd67f0267 SHA256 fd6c6ea6e4d57eb178d239a8b1e4d99d6638cb9d7d322c0789b37e8ed6a49b67
|
||||
DIST gnatboot-4.4-i686.tar.bz2 17194327 RMD160 71da7eb6334c47a757f64f50ffde79281f5a80ec SHA1 c4113d2edd96aca56ff1c6f8848381e450c8d6f9 SHA256 1081cdf2514fd1c03b40f0923d0046ffd2886b3bc6eabd217eaa40da1765ba5b
|
||||
DIST gnatboot-4.4-sparc.tar.bz2 13962662 RMD160 2cc4a2fdd45ae2bdfdd9ca66538ae9fe07c4413a SHA1 b6b71f95f6f6cdb8b26bb005b8753f4443a0bb7d SHA256 467fa1da5ee4c769a10b2c870e132e1bf7827688e88860fdd27259e9b258109b
|
||||
DIST gcc-ada-3.4.6.tar.bz2 3784327 SHA256 d5bfb166b2ad287ba85ebba533cca4453b521479cffc1bd3c6d273f6b3d794e2
|
||||
DIST gcc-ada-4.1.2.tar.bz2 4589609 SHA256 703125c4d033c666b52db2aeee0a05e3461467fe8ff6e5e588b5cdb8c6928bb0
|
||||
DIST gcc-ada-4.2.3.tar.bz2 4740243 SHA256 08956727415fb1721c5c89ef33ebe94ab718459e88f7cd4589fc1c2b7e98cb4c
|
||||
DIST gcc-ada-4.3.2.tar.bz2 5291314 SHA256 98d112e1e0bdea5f520b08ea352931fd353085628d12cb9553d5794cb43e8c26
|
||||
DIST gcc-ada-4.3.3.tar.bz2 5236690 SHA256 d49eb8d58b23a39149f10f55a7cc60f77e73d1bed88659e5cc5226ddd0a8ffda
|
||||
DIST gcc-ada-4.3.5.tar.bz2 5231691 SHA256 e3e4a0836820e8b1b7b4b00b529568a2d51ed9ec3933fbd44c7b1c04ad3076de
|
||||
DIST gcc-ada-4.3.6.tar.bz2 5309618 SHA256 a2721a41965f361938bc9d86e3cc7ba12dc6b7efa24cbe5d9f9c84882b9caf31 SHA512 c9f253050bc355a5dca27fcef41f93772f41cfe2dfd41eecf390019318eded36c897f40812dbe32f14e3f7a4e0625f0fc87461bb03dba2f1385f396aa53e8f64 WHIRLPOOL 143ba164866e35c69dcbe9dfdb44b4473731ef11d0b36e281f29b357b2ccc6d3f826a938539c788afe31b648493fea394b8a28577913105e47740c582cad181f
|
||||
DIST gcc-ada-4.4.3.tar.bz2 5470203 SHA256 67cec15254922d71790e80f150f24e13cdaac60804d46cb17bed9df7f874d290
|
||||
DIST gcc-ada-4.4.5.tar.bz2 5470412 SHA256 0fdfd6318faba7bd39dde6fdc78c8334636be1e9fdcf4bd84f39372882abd177 SHA512 fcb344b53f3cfeddfd5b504b0bc419ef28bd770c45c6731fa97ca70acb64a3e3d9b5c76fbe3e89142c90563bc480724aea0f70a0f157dafc6a3998894523abd8 WHIRLPOOL 9008cc7225ce6ea1658c18fe0d0fbbb801a31f597c57a55c99a0a4d63a83da53440fa3473644f680449a7186f4c46cfe833b5b758884d533ebf379bd00bff9ee
|
||||
DIST gcc-ada-4.4.7.tar.bz2 5492474 SHA256 fb9f30b85d48838390554b948d137487f0db09ad5f8ba73ca4d7ca35765c6ed8 SHA512 4447dfb2353018108ffc88a0fdeccca224a5fc9e4cbb75d8ee136c38c2937a368a677ff6e4df1a1431338fc1adc26fcd1f0f9cf963e5e98e4e28bc22e7e72cb5 WHIRLPOOL 5f6d7356d74725c0658e79ba1022df187cc08588835dae49867dc29c62b9b61d11e265b1a4636fe3e152b45a0bc65bb45ae69cac4ed1cd0447cc7603398adf44
|
||||
DIST gcc-core-3.4.6.tar.bz2 13366790 SHA256 3aab171d86e5a6c14cb9de35467a0472a7d5ef1d5b79a1df72ca533f8e82a133
|
||||
DIST gcc-core-4.1.2.tar.bz2 17485561 SHA256 7be9c5df8000ae35d0928f0a254bfb5e8478cad5e5e57fd07820530c03b3711d
|
||||
DIST gcc-core-4.2.3.tar.bz2 19319213 SHA256 99ec052e13e8c2bc7d1db86d1c98fb651d45fd3e8ea90b0981c47f6e8826c813
|
||||
DIST gcc-core-4.3.2.tar.bz2 23830073 SHA256 0687e7279d78eb963ac34a3b06a0a6a1d1e9a26807ef4939cf4a2ad5f062e75a
|
||||
DIST gcc-core-4.3.3.tar.bz2 24355225 SHA256 4690f4ef0218ed9795509ca05cbccaa6023fde943c83e1625db8627be3d6d323
|
||||
DIST gcc-core-4.3.5.tar.bz2 24828441 SHA256 ca57b06732a9a4123d6685fe58f3550afadf063107016e3f15c2b32447612711
|
||||
DIST gcc-core-4.3.6.tar.bz2 24448503 SHA256 86af1703be5cc7f40270a66ac15ebcf6088706a789ae1bf18488dc070777f979 SHA512 6bc477282a72dca697db4b4bafb221a77f95945eb867cd109c9593f6ec7471152d9cabdb62ce84761d624d196a5da0ad5f3218e959ba1b86506ba54b095b62aa WHIRLPOOL a9a21920f3d860f9d1aace6c53dd9e5b6c29102bfb432ea7c2d1819a37fe77c29a92d652f4a4cd74adb850f79fa5e58e79a1c1c77d9c61df38f1af68c6015c5d
|
||||
DIST gcc-core-4.4.3.tar.bz2 26336901 SHA256 92f311e6be22a2096c765bc8be72bd7fef56bba73f053b3de025b9c92d308356
|
||||
DIST gcc-core-4.4.5.tar.bz2 26356188 SHA256 dbf012d5616b51d072383a32f71d4217239e7f0096acb07bbf266529a347ab4b SHA512 4578855724443f5504750387a3eccc3491d2148456dfc4f0d21d84ce89f333abee59182bf485a5e9f59f87c5c425c989c6bd3fcfbf8dc97c12a2564f4117cd4f WHIRLPOOL ac6954df0a8469086e8be663bb3646d41860dc7bdf274e2261ca309bd39d11eb561dc70f34acb6163b7a3b856c743b28570d459eeebf7799887ee07e11cbaba3
|
||||
DIST gcc-core-4.4.7.tar.bz2 25784094 SHA256 c4663b7023909a4a075d3c2b2e17f6e082a9625aebfd0ce7f1d7817e44bf5542 SHA512 318522e170a9e54d051311416dc221d8d727a85d6e24a97fdbd9125d9dea1530930efd04b846c06ddbe3c5acaeef8810e0d4e79b8e9af535f0b08f1f20e5b10b WHIRLPOOL c2964330c174236e734d78ad80462a050b27d23f6b96a66bd5a4c1fce0d5cd4d35c9fba759ffe94b542805fb405071cd05e0945a4806fd8551c285eae7247ffd
|
||||
DIST gnatboot-3.4-amd64-r2.tar.bz2 12063245 SHA256 c0c2fe91f6c38483193415690a4f90ac205e3aa9cf42ab3ab3e5d2a3ec269d8d
|
||||
DIST gnatboot-3.4-i386.tar.bz2 10629373 SHA256 7b4300e72b7f00d2fd9d0dad6940c3e6b4e19eeaf4696e92d7c92e2a38e8b049
|
||||
DIST gnatboot-3.4-ppc.tar.bz2 10996302 SHA256 1f164834e377604a943b230196d9f2a40e8e6753bac4c980d5ca2c00c7674363
|
||||
DIST gnatboot-4.1-amd64.tar.bz2 15314736 SHA256 a4016920b84f5934ec7120c7bb17c1028b193d5e146a46a9d1ceae4a456924d2 SHA512 ddeaa365ef3d127cc0bce0d7d242804dfc3a2d5612d89f08fc0ffaf63501a326168935facf359a963dda1484b76bdad01e42629c03d123f3693324038d8e5f75 WHIRLPOOL e845041091b2dddf3b4adf6628b5fd132e47758a75332715f0f99c9363d7840e66fbde92cc717a450a49cf8b736bd47bdb6e0c2e9528130c01ef8827c4348bc5
|
||||
DIST gnatboot-4.1-i386.tar.bz2 15367514 SHA256 597b4a16f38fb173b1eecc259c1566ccf81291e13b88e2160102a512cefcc518
|
||||
DIST gnatboot-4.1-ppc.tar.bz2 13651598 SHA256 2c9ed035b964a7dfcc427cb5c16dc30d3b99276fb424d25b0ebfde23a68013eb
|
||||
DIST gnatboot-4.3-amd64.tar.bz2 20294401 SHA256 3506500b4cda06eaaf9bb70ec26fbe9be2a05b1f8edf0b2f7aeceb451a558333 SHA512 29a74d636d3566cd01ae3ed99c7b71146ee971639ad119dfacc4b502c76f8556cbf7a7f2d1d95b4dc85dcaebff1ab89244e2ee6c063ce0888f915bd7c8a6faeb WHIRLPOOL c4b83d27063b5a888f705d3c8ec404bb11573e9376d3e0704a47be59e057fa5b9a62e6807ae72a0fd2b7c198bcc1584fb6b4e1d2d09054a03cc73a8a16a4b17a
|
||||
DIST gnatboot-4.3-i686.tar.bz2 16065767 SHA256 7afbea3216c24dde950d7d511e5fc897db5e5c8099ff4a524048519abc54f0b9
|
||||
DIST gnatboot-4.3-sparc.tar.bz2 13065130 SHA256 e234336123fd65c0f73cd25af99dbb439ea08f0286fe7f5b1e05dd414b9878e7
|
||||
DIST gnatboot-4.4-amd64.tar.bz2 26117669 SHA256 fd6c6ea6e4d57eb178d239a8b1e4d99d6638cb9d7d322c0789b37e8ed6a49b67 SHA512 bf68582e8e8ecc9c4f4dbec90ef47edf10769ca7a2dd197b065f44e5ad1e40b81c44592bb362651654b187ebad972095176509273b5e98edc1a26c2164075d80 WHIRLPOOL 59d714a3ea70dae7c4b9e6d177336810bbb5ea7bcdbe038c7c34d543ef8c45f40d240ecbc58de1b49c88904b245cdd3ef9121bc88fa3bdecf413762f67301cde
|
||||
DIST gnatboot-4.4-i686.tar.bz2 17194327 SHA256 1081cdf2514fd1c03b40f0923d0046ffd2886b3bc6eabd217eaa40da1765ba5b
|
||||
DIST gnatboot-4.4-sparc.tar.bz2 13962662 SHA256 467fa1da5ee4c769a10b2c870e132e1bf7827688e88860fdd27259e9b258109b
|
||||
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gcc/gnat-gcc-4.4.7.ebuild,v 1.1 2012/09/25 10:38:32 george Exp $
|
||||
|
||||
inherit gnatbuild
|
||||
|
||||
DESCRIPTION="GNAT Ada Compiler - gcc version"
|
||||
HOMEPAGE="http://gcc.gnu.org/"
|
||||
LICENSE="GMGPL"
|
||||
|
||||
IUSE=""
|
||||
|
||||
BOOT_SLOT="4.3"
|
||||
|
||||
# SLOT is set in gnatbuild.eclass, depends only on PV (basically SLOT=GCCBRANCH)
|
||||
# so the URI's are static.
|
||||
SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-core-${PV}.tar.bz2
|
||||
ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-ada-${PV}.tar.bz2
|
||||
amd64? ( http://dev.gentoo.org/~george/src/gnatboot-${SLOT}-amd64.tar.bz2 )
|
||||
sparc? ( http://dev.gentoo.org/~george/src/gnatboot-${SLOT}-sparc.tar.bz2 )
|
||||
x86? ( http://dev.gentoo.org/~george/src/gnatboot-${SLOT}-i686.tar.bz2 )"
|
||||
# ppc? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-ppc.tar.bz2 )
|
||||
|
||||
KEYWORDS="~amd64 ~x86 ~sparc"
|
||||
|
||||
# starting with 4.3.0 gnat needs these libs
|
||||
RDEPEND=">=dev-libs/mpfr-3.0.1
|
||||
>=dev-libs/gmp-5.0
|
||||
>=sys-libs/zlib-1.2
|
||||
>=sys-libs/ncurses-5.7"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/bison-1.875
|
||||
>=sys-libs/glibc-2.8
|
||||
>=sys-devel/binutils-2.20"
|
||||
|
||||
#QA_EXECSTACK="${BINPATH:1}/gnatls ${BINPATH:1}/gnatbind ${BINPATH:1}/gnatmake
|
||||
# ${LIBEXECPATH:1}/gnat1 ${LIBPATH:1}/adalib/libgnat-${SLOT}.so"
|
||||
|
||||
src_unpack() {
|
||||
gnatbuild_src_unpack
|
||||
|
||||
#fixup some hardwired flags
|
||||
cd "${S}"/gcc/ada
|
||||
|
||||
# universal gcc -> gnatgcc substitution occasionally produces lines too long
|
||||
# and then build halts on the style check.
|
||||
#
|
||||
sed -i -e 's:and Nam is "gnatgcc":and Nam is "gcc":' osint.ads ||
|
||||
die "reversing [gnat]gcc substitution in comments failed"
|
||||
|
||||
# gcc pretty much ignores --with-system-zlib. At least it still descends
|
||||
# into zlib and does configure and build there (gcc bug@7125?). For whatever
|
||||
# reason this conflicts with multilib in gcc-4.4..
|
||||
sed -i -e "s:libgui zlib:libgui:" "${S}"/configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# looks like gnatlib_and_tools and gnatlib_shared have become part of
|
||||
# bootstrap
|
||||
gnatbuild_src_compile configure make-tools bootstrap
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST nasm-2.09.10.tar.bz2 803380 SHA256 e3afb011f762144b4d13acb1f2d9363e4a73264dc6f2d3f4dab358c8203dd59e SHA512 bc8648cc1bf4e97de4d27da0dc91ead8ee32aa35c74d13616e0af9691464d70e2e15ca288af195f867e7b6118cc913f98ed7b6955c4e9b0dc4702634ac4debef WHIRLPOOL 9ce1631f29daecf6cab8e8e753586faf391f4930c6aa1dabb723edcec74fdda61e61d3b459290fffe82660bfc08ffd808211a63e52962ce5c002c0c9ed20717d
|
||||
DIST nasm-2.10.01.tar.bz2 813979 SHA256 ac9b37d265c35492ab1bc29dd5a4f3da11b42dd9fea7a31d95f6cb4c812bda84 SHA512 f028bde12deb8ddb558a4c37581874011c4083a0b3121581978735f8098a143321a99e0f2013bb6d045810dad51f933632508deea28d8428f7552f822813872e WHIRLPOOL efd048f8242e1ed31bbe476a69b262a5856bab50010dcada31f94df40bf0a2f3fcc8a3bca8811acc33c8c9cc9b18a2772b4a14804e15c235956c52685dc01754
|
||||
DIST nasm-2.10.04.tar.bz2 813956 SHA256 6ad90fca575fc87d4b093c3f84f3148ef9f0453471723f4971ccbddaa9882b27 SHA512 a55ab9c09e0ee2ac9a73aadbeafaecb940288a2bb38442cf840b54cc6c61f6a67e42cb63dee67a58b8e05e44cd9a162cdf3af7e7a42dfbdee16496119499329d WHIRLPOOL 996f79484a2edd2bb63dff512f5722cf09a6a0086e51a4e918cbee4d2aa4aa57fd1fdb83f0a0d0c23376b2dc949a02f6218a704446f87278e2a42478576f5f5b
|
||||
DIST nasm-2.10.05.tar.bz2 814524 SHA256 de5af263ce344d3a89711c61802e3ad8a4e14a61d539f521f7554cdbbe04ed0f SHA512 0a0a8752dcea6b1d205c265f72d7bbd56c90f8ea1438af3839696d21523cda7ac98441ad148c3ca0f0f3b18d83c989213d6e4366cf479b300749879e0c0fcbf0 WHIRLPOOL 1c9e19dccb9c5d5484ccc5a664dc4b5532d7cc1f80b3551ad06b1e6cf796ce845a075f678240a95c171e96321dd4bea0deb35af856ea48f8546d37760ea00da8
|
||||
DIST nasm-2.10.tar.bz2 815091 SHA256 687aa1a69b78801b7d85ca2b7f1c73503eb5925b17f1ac243f61194023a89df1 SHA512 b6e0ef7a932a54562c58133603fe0527d70b56c6bab808282a82359ac2b3d7457e0a53fba57ab0b45559c136a0223eee9c6a996bf5af7d51b5ea1b217c76fa18 WHIRLPOOL 7c9d1af9d01949792bb5bbd9bb271e331e98e90643c2c6a81f18fa5e16fc97b641d350707c149b4c6a6cea2f9274ad0d6ccbf6dc2d4f90fcd3cddabd046452a9
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/nasm-2.10.05.ebuild,v 1.1 2012/09/25 04:50:16 mr_bones_ Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="groovy little assembler"
|
||||
HOMEPAGE="http://nasm.sourceforge.net/"
|
||||
SRC_URI="http://www.nasm.us/pub/nasm/releasebuilds/${PV/_}/${P/_}.tar.bz2"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="dev-lang/perl
|
||||
doc? ( app-text/ghostscript-gpl sys-apps/texinfo )"
|
||||
RDEPEND=""
|
||||
|
||||
S=${WORKDIR}/${P/_}
|
||||
|
||||
src_configure() {
|
||||
strip-flags
|
||||
econf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake nasmlib.o || die
|
||||
emake all || die
|
||||
if use doc ; then
|
||||
emake doc || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALLROOT="${D}" install install_rdf || die
|
||||
dodoc AUTHORS CHANGES ChangeLog README TODO
|
||||
if use doc ; then
|
||||
doinfo doc/info/*
|
||||
dohtml doc/html/*
|
||||
dodoc doc/nasmdoc.*
|
||||
fi
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/vala/vala-0.17.7.ebuild,v 1.1 2012/09/22 10:17:26 pacho Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Vala - Compiler for the GObject type system"
|
||||
HOMEPAGE="http://live.gnome.org/Vala"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0.18"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-linux"
|
||||
IUSE="test +vapigen"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.18:2
|
||||
>=dev-libs/vala-common-${PV}"
|
||||
DEPEND="${RDEPEND}
|
||||
!${CATEGORY}/${PN}:0
|
||||
dev-libs/libxslt
|
||||
sys-devel/flex
|
||||
|| ( sys-devel/bison dev-util/byacc dev-util/yacc )
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
dev-libs/dbus-glib
|
||||
>=dev-libs/glib-2.26:2 )"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF}
|
||||
--disable-unversioned
|
||||
$(use_enable vapigen)"
|
||||
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/vala/vala-0.17.6.ebuild,v 1.1 2012/09/05 02:17:02 nirbheek Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/vala/vala-0.18.0.ebuild,v 1.1 2012/09/25 07:56:30 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/yasm/yasm-9999.ebuild,v 1.1 2012/09/25 04:35:12 vapier Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_DEPEND="python? 2:2.7"
|
||||
inherit autotools eutils python
|
||||
if [[ ${PV} == "9999"* ]] ; then
|
||||
EGIT_REPO_URI="git://github.com/yasm/yasm.git"
|
||||
inherit git-2
|
||||
else
|
||||
SRC_URI="http://www.tortall.net/projects/yasm/releases/${P}.tar.gz"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An assembler for x86 and x86_64 instruction sets"
|
||||
HOMEPAGE="http://www.tortall.net/projects/yasm/"
|
||||
|
||||
LICENSE="BSD-2 BSD || ( Artistic GPL-2 LGPL-2 )"
|
||||
SLOT="0"
|
||||
IUSE="nls python"
|
||||
|
||||
RDEPEND="nls? ( virtual/libintl )"
|
||||
DEPEND="nls? ( sys-devel/gettext )
|
||||
python? ( >=dev-python/cython-0.14 )"
|
||||
|
||||
DOCS=( AUTHORS )
|
||||
|
||||
pkg_setup() {
|
||||
# Python is required for generating x86insns.c, see
|
||||
# modules/arch/x86/Makefile.inc for more details.
|
||||
if use python || [[ ${PV} == "9999" ]] ; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# ksh doesn't grok $(xxx), makes aclocal fail
|
||||
sed -i -e '1c\#!/usr/bin/env sh' YASM-VERSION-GEN.sh || die
|
||||
eautoreconf
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
./modules/arch/x86/gen_x86_insn.py || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-warnerror \
|
||||
$(use_enable python) \
|
||||
$(use_enable python python-bindings) \
|
||||
$(use_enable nls)
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST atk-1.32.0.tar.bz2 688186 SHA256 e9a3e598f75c4db1af914f8b052dd9f7e89e920a96cc187c18eb06b8339cb16e SHA512 f10a752e2c57ffdaeaa2e41c5fb31acf6cd04ec850e002b6f5bfad2680a2a931db6ac395ebfcf7fca6356894dda14f4f87b02df1aff8d0096e265cf841e90d21 WHIRLPOOL 0ae816ec6e1999e5376f560ed0dfe84fd27ce899a953b9513eabec6a24d227e087f148ba42d256b738931f4353ff326754acad7cc826dab8ca773dc9df9bab30
|
||||
DIST atk-2.2.0.tar.xz 600140 SHA256 8b22f0e7803dd3734c676ccd68ea999ff1156ca49d99c3de5c1d269ad0c3739d SHA512 efdf135f7869dcb96b548e6278fb34ab2abd8b2f0e45c23794231a031af2f16690b8e5875e728ae5db8d325a578c7abae06989802896013623af83de765064e8 WHIRLPOOL c089c93646997860ea45ff8bd7d5c4232d83934e64f508ac38878ce13499cc2db344c19d04ac0e2880e155354acd39be41521138064a640f93cd277a6de74d28
|
||||
DIST atk-2.4.0.tar.xz 607156 SHA256 091e9ce975a9fbbc7cd8fa64c9c389ffb7fa6cdde58b6d5c01b2c267093d888d SHA512 20316b4de66a1871bb9f802831b2262c54eaecf8d7c3696d3949f8464834c6aeca32d57382f0c9a9c093d2099e7d4c71c83b917474d528758339dcd1397e1571 WHIRLPOOL 77d882ae7d10fbbf6f81c7be149dbd85458b57b258da7a677b521e01ea19a727589d2aabd364fc23cf5569c8c6a1e398e09247aea291735fd506509041e29e0b
|
||||
DIST atk-2.6.0.tar.xz 609136 SHA256 eff663f90847620bb68c9c2cbaaf7f45e2ff44163b9ab3f10d15be763680491f SHA512 2dbc6807987ac2e434d6c2f3df49d618ee0e3c80c4bec023bec71eb04c78691881bf6df54b6ffe5311bd580239220fc915c0a66b2e22c639ec191eed0af27bc4 WHIRLPOOL 2c38b5e3cabd1c256b708e83e5cb31a5f9be8512f57fb1bf3262564f82b93c18fa72f5096f8f74d436b22001db17f1d825ed1c4cd6c2899f78121851cd255e52
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/atk/atk-2.6.0.ebuild,v 1.1 2012/09/25 11:52:11 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="GTK+ & GNOME Accessibility Toolkit"
|
||||
HOMEPAGE="http://projects.gnome.org/accessibility/"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE="doc +introspection nls"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.31.2:2
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.6.7 )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-lang/perl-5
|
||||
virtual/pkgconfig
|
||||
doc? ( >=dev-util/gtk-doc-1.13 )
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF} $(use_enable introspection)"
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
|
||||
if ! use test; then
|
||||
# don't waste time building tests (bug #226353)
|
||||
sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
|
||||
|| die "sed failed"
|
||||
fi
|
||||
|
||||
# Remove DEPRECATED flags
|
||||
sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i atk/Makefile.am atk/Makefile.in \
|
||||
tests/Makefile.am tests/Makefile.in || die "sed 2 failed"
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue