Sync with portage [Thu Mar 10 08:37:49 MSK 2016].

This commit is contained in:
root 2016-03-10 08:37:50 +03:00
parent 47fe423701
commit ba072eb727
672 changed files with 8670 additions and 11989 deletions

View file

@ -1,3 +1,2 @@
DIST cgmanager-0.36.tar.gz 428374 SHA256 f4707f0130efb50ccd8a1900e7ae626c0631947528ce921a63b15ef848fb2a0d SHA512 3325c03e25b7bd7b8dcfb68bb3dedccf9367ce80c23ac8df3f1af6cdb9ee706eafc0f95fcea055cc1fe9b31acb5bb66c61b16b21dfa057e661fdace3ff207f43 WHIRLPOOL dcaad06e6281f89e672b843f9903473cb1ee5d1b938c72d1b806f7bc7a1014144dd9e6e304e9ce6e2b941a1b224177747dacc7affa122f9a17a14598969a4779
DIST cgmanager-0.37.tar.gz 430522 SHA256 8309e7f2ae5f4a6b52cc2fca62c098b18ecfe90bca2c9c034ba80f68aa427b6e SHA512 fbe96af36d556c988351f1136f4382d907b8fb6d4098a90b17f4abfbdf182060d8ba059878455a8842597e7ad33ff12b91bddf68a6c42b02ad9549a2ad900a89 WHIRLPOOL 9a78226ec2a6a84c7fb84f3bb2622df159a4b857d990b2d4f22a1d8c7d02d071c0ed046e5d17ea9d2bd4b970a0a6ad9bf59ba68401248db318b89e16010c720a
DIST cgmanager-0.39.tar.gz 437683 SHA256 9e65487fb4e4aa0a6acd87ba7f8f00b8007d8c52608aa6d411e72e6fe9445b7b SHA512 2adf2c639191fb681ffed083629d6ba93f6d5a3534d4dc00b2cff1917c3273febcb30ec7d524ee95ce4a1b8811d902a2ff1cdffe911a66850fb9f10750ef1801 WHIRLPOOL b57c0feb75543af7e7eadccd5287962034fa2c54883289822b54ed184873fb1b6e1eb6d9dcc952fcda2f3027d84fa517c2bfed22a855ede8e700c2298d5d210a
DIST cgmanager-0.41.tar.gz 461805 SHA256 29b155befb3ac233d5d29dbca7c791c8138bab01bfa78ea4757ebb88ce23b458 SHA512 e8ba64665a21d987cd835580c2b6bafbcb05e22ce7f6216762d04840957c2cd21fb571360e0206ae9143656beed88ff3396eb1f644052c05189093a665a705fd WHIRLPOOL 4571c88415f24dbd3aae240e2427e27786538653602b4b6ba862eff1abd7fc8b2f97784ca5bced4481f738638030a5777f3d687ee5d115492d7a91ebf4985ab1

View file

@ -1,41 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
DESCRIPTION="Control Group manager daemon"
HOMEPAGE="https://linuxcontainers.org/cgmanager/introduction/"
SRC_URI="https://linuxcontainers.org/downloads/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
RDEPEND="
sys-libs/libnih[dbus]
sys-apps/dbus"
DEPEND="${RDEPEND}"
src_prepare() {
# systemd expects files in /sbin but we will have them in /usr/sbin
pushd config/init/systemd > /dev/null || die
sed -i -e "s@sbin@usr/&@" {${PN},cgproxy}.service || \
die "Failed to fix paths in systemd service files"
popd > /dev/null || die
}
src_configure() {
econf \
--with-distro=gentoo \
--with-init-script=systemd
}
src_install () {
default
# I see no reason to have the tests in the filesystem. Drop them
rm -r "${D}"/usr/share/${PN}/tests || die "Failed to remove ${PN} tests"
# FIXME: openRC init scripts are not well tested
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newinitd "${FILESDIR}"/cgproxy.initd cgproxy
}

View file

@ -1,8 +1,10 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
EAPI=6
inherit autotools pam
DESCRIPTION="Control Group manager daemon"
HOMEPAGE="https://linuxcontainers.org/cgmanager/introduction/"
@ -10,32 +12,39 @@ SRC_URI="https://linuxcontainers.org/downloads/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86"
IUSE="pam selinux"
RDEPEND="
sys-libs/libnih[dbus]
sys-apps/dbus"
RDEPEND="sys-libs/libnih[dbus]
sys-apps/dbus
selinux? ( sec-policy/selinux-cgmanager )"
DEPEND="${RDEPEND}"
src_prepare() {
eapply_user
# systemd expects files in /sbin but we will have them in /usr/sbin
pushd config/init/systemd > /dev/null || die
sed -i -e "s@sbin@usr/&@" {${PN},cgproxy}.service || \
die "Failed to fix paths in systemd service files"
popd > /dev/null || die
eautoreconf
}
src_configure() {
econf \
--with-distro=gentoo \
--with-pamdir="$(usex pam $(getpam_mod_dir) none)" \
--with-init-script=systemd
}
src_install () {
default
# I see no reason to have the tests in the filesystem. Drop them
rm -r "${D}"/usr/share/${PN}/tests || die "Failed to remove ${PN} tests"
# FIXME: openRC init scripts are not well tested
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newinitd "${FILESDIR}"/cgproxy.initd cgproxy
newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
newinitd "${FILESDIR}"/cgproxy.initd-r1 cgproxy
}

View file

@ -1,28 +0,0 @@
#!/sbin/openrc-run
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
DAEMON=/usr/sbin/cgmanager
PIDFILE=/run/cgmanager.pid
NESTED=yes
OPTIONS=
depend() {
before cgproxy
}
start() {
ebegin "Starting cgmanager server"
start-stop-daemon --start --pidfile ${PIDFILE} --exec ${DAEMON} \
-- --daemon -m name=systemd ${OPTIONS}
eend $?
}
stop() {
ebegin "Stopping cgproxy server"
start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
eend $?
}

View file

@ -1,37 +0,0 @@
#!/sbin/openrc-run
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
DAEMON=/usr/sbin/cgproxy
PIDFILE=/run/cgproxy.pid
NESTED=yes
OPTIONS=
depend() {
after cgmanager
}
start() {
ebegin "Starting cgproxy server"
if ! /usr/sbin/cgproxy --check-master; then
ewarn "cgmanager is not running"
return 1
fi
# cgproxy should only run on container unless on older kernel
if [ -e /proc/self/ns/pid ] && [ "$NESTED" != "yes" ]; then
eerror "Too old kernel to support cgroup, please update to >3.8"
return 1
fi
start-stop-daemon --start --pidfile ${PIDFILE} --exec ${DAEMON} \
-- --daemon ${OPTIONS}
eend $?
}
stop() {
ebegin "Stopping cgproxy server"
start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
eend $?
}

View file

@ -12,7 +12,7 @@ LS_OPEN_FILES="${LS_OPEN_FILES:-16384}"
LS_HEAP_SIZE="${LS_HEAP_SIZE:-500m}"
command="/opt/logstash/bin/logstash"
command_args="agent --config ${LS_CONFDIR}/*.conf --log ${LS_LOGFILE} ${LS_OPTS}"
command_args="agent --config ${LS_CONFDIR}/{*}.conf --log ${LS_LOGFILE} ${LS_OPTS}"
extra_commands="checkconfig"
command_background="true"
start_stop_daemon_args="--nicelevel ${LS_NICE} \

View file

@ -1,3 +1,5 @@
DIST mongo-tools-3.0.10.tar.gz 2185555 SHA256 2bd5c984ca8b745b33aeb1e1a8118acd675bc5a408845eb3bb0b70c4fa680d71 SHA512 36d57150f4fb331149a2a7cbcde54253316cf3c5bc8ab195584c057c35b30d5acfabcafa25d314d378388254ac5a0ce75d0d8867e344fb7006593319ce9d028c WHIRLPOOL a6961a1fccb7ba353616fe4bfbe182c6a076f13c23492f4d06d274a0ff4d3f09a811413f77a2353b20801462b3a72f74073e38b8b1b4f4e3abf0026774dbcea2
DIST mongo-tools-3.0.8.tar.gz 2185550 SHA256 b9860339ed59ed57bb29b26c820578c690baa2aaec98fe743561cc95023815f1 SHA512 95ea8377aef747f66ce827300cbc38bfa5b660ad25e4d66cf0dc9899cfe81ff2a67e9383a22c08158fed2d622a6f4d3b315e1234fb6118f246ef17f9cffa129a WHIRLPOOL 00298e54c8fd17a51a3293101defee94219c46929862695e08b2c21a66e59290b341f07c89add38dacfa8295c3fe83ce61cd3911e7489ddd75c2a65721910cce
DIST mongo-tools-3.0.9.tar.gz 2185557 SHA256 41705fe815d189d6985ac6abad0b7467186488600cc3031732a25fea5c69a09f SHA512 d4b8d89242a0ab5b678eec7f9a75ad8cf199769046a399741960c605c7d0dc34d5f5e30d956ff4d51b01bc93b1841e132dc2daf6dade9b32d035f2c2f261e520 WHIRLPOOL ce8911d89d9874f1fbc18b63546b641866e94a7160edd705aece48f05b63a67dfc111cd44940a0956bc1d1e42431b33ea69d5f24eb216e99fcb080b55281ec89
DIST mongo-tools-3.2.3.tar.gz 2227509 SHA256 280a4a5d12a0b36d780fcc6b9c24b48722f39a4acf5cfadf8c9b8679aa953bfd SHA512 c4cb9f12335a87a2c0de6a9dac79aa9e356a1a142868f02d002dd35a9b83f02ecf5cba6be453e9035b513935c77883cddd477369995fc0e174c68c6907b6ddc9 WHIRLPOOL ddcede3235f6931c8832c1254f6d216bdb4148b26a6aaa07df110a5042a6c05f55c8d6706496f93ee16409c2cecd4f7ae0fdd843ef9082679c33259b7caf9fe2
DIST mongo-tools-3.2.4.tar.gz 2229852 SHA256 9d52028fb2be6a6e0a779aa73587c52ccd5fa59b258e26e5c2c3fce167599138 SHA512 d34ad87bb2a53c9df0124c26a4c200236aa889c7a5bd09a3b535acd4b18c5757018e78813fa04b48b359004eb9097853b49fd359617e71f66e41ef71da01c222 WHIRLPOOL 1711091062a89f14c0fbf9dedd15567c0018af7028fab053622f4bdcc87b23e1784275901c19605418989e4802ff011dd87ddc7c26723318aafe59df4c079d35

View file

@ -0,0 +1,53 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils
MY_PV=${PV/_rc/-rc}
MY_P=${PN}-r${MY_PV}
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
HOMEPAGE="http://www.mongodb.org"
SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="sasl ssl"
# Maintainer note:
# openssl DEPEND constraint, see:
# https://github.com/mongodb/mongo-tools/issues/11
RDEPEND="!<dev-db/mongodb-3.0.0"
DEPEND="${RDEPEND}
dev-lang/go:=
sasl? ( dev-libs/cyrus-sasl )
ssl? ( dev-libs/openssl )"
S=${WORKDIR}/${MY_P}
src_prepare() {
epatch "${FILESDIR}/${PN}-3.0.0-build.patch"
}
src_compile() {
local myconf
if use sasl; then
myconf="${myconf} sasl"
fi
if use ssl; then
myconf="${myconf} ssl"
fi
./build.sh ${myconf}
}
src_install() {
dobin bin/*
}

View file

@ -0,0 +1,53 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils
MY_PV=${PV/_rc/-rc}
MY_P=${PN}-r${MY_PV}
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
HOMEPAGE="http://www.mongodb.org"
SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="sasl ssl"
# Maintainer note:
# openssl DEPEND constraint, see:
# https://github.com/mongodb/mongo-tools/issues/11
RDEPEND="!<dev-db/mongodb-3.0.0"
DEPEND="${RDEPEND}
dev-lang/go:=
sasl? ( dev-libs/cyrus-sasl )
ssl? ( dev-libs/openssl )"
S=${WORKDIR}/${MY_P}
src_prepare() {
epatch "${FILESDIR}/${PN}-3.0.0-build.patch"
}
src_compile() {
local myconf
if use sasl; then
myconf="${myconf} sasl"
fi
if use ssl; then
myconf="${myconf} ssl"
fi
./build.sh ${myconf}
}
src_install() {
dobin bin/*
}

View file

@ -0,0 +1 @@
DIST kali-archive-keyring_2015.2.tar.xz 6448 SHA256 11c065a216b4743f66df3faf7a1e6b461a5a0827fe30eb066acc5460fea6fd25 SHA512 3f680fb31f0723f0c4b8aa7053488637c23ef2804a688ad307365c6eaa71b9559dba31c8aee6e9804b9f03e24397c077f4f057e58da8f7e06ffc5d36003d23ad WHIRLPOOL d72ec06be2b6a7532e5576326e1b80c9ffd97a2a614b4feed6dac0af05e66ecb033824ed43b9d7d6e7d0dc410ecc4a4459c6ec9c08252f7347c44cb7160bbc7c

View file

@ -0,0 +1,18 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
DESCRIPTION="GnuPG archive keys of the Kali archive"
HOMEPAGE="http://www.kali.org"
SRC_URI="http://http.kali.org/pool/main/${PN:0:1}/${PN}/${PN}_${PV}.tar.xz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE=""
DEPEND="app-crypt/jetring"
MAKEOPTS+=' -j1'

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>steev@gentoo.org</email>
<name>Steev Klimaszewski</name>
</maintainer>
</pkgmetadata>

View file

@ -1,6 +1,8 @@
DIST 20140409-mms-monitoring-agent.zip 40122 SHA256 9c4f89cfba10b4604512ab21eb082248104aeabe7e813b852db2b86f47d7ecb2 SHA512 5290a813c407251b5e4def813ce6fe7e09d6c3a1907fd409e326b15b07aed39f7db3a28710ecdaffe2771136c9433253c5d1857c823844a4b75dd38f1d15eefd WHIRLPOOL ce80870e2618f3d9ed80af41b1069ed5bd97af475089564eed1bc111e820c048bc5cbaa03f859349e772fe232f876127e0627c75c135a9b2e196ab13258ed9f1
DIST mongodb-src-r2.6.11.tar.gz 16461163 SHA256 e1a64a1ef7114f3e8ed3c7acaa4e97ffe30e2b57a1a5f2a40f0018bad3b8d12f SHA512 43b8c5e1ffde2c7f4bead392a95fdb34169419b8296acf04a17894379647c09bbec91be88037ab447da399f03a2c7c54c9d7613df0baa6e9e48e1267327ca937 WHIRLPOOL 083c897f83992c64a89e595058b7695671ca7e9339be2a54d14cf8a200d5063f4a33c320c02e45f5d3bd6367b5acf67a80677c92abba9a92a647d7310a2e6316
DIST mongodb-src-r2.6.8.tar.gz 14545274 SHA256 1997f60d9de17320f22c604d8aa1cbe5f38d877142cd0e9130fe3dae7b311a06 SHA512 6fa69750debb40d0be4d5d057125320d97e882e30c43c664fcb6ec6a9e6a8bff5e63637fc8952a6d898556b2c2ce84254d135387dc0879bf65dbd5e91b8732ef WHIRLPOOL ba87ca07258ad4df90c92bc300da6cc661117a98f254a8ba62ac362a857ecc2462eb9ddf1d929a6e2187853233053e975aa02139f880d736e47e542a9504bd28
DIST mongodb-src-r3.0.10.tar.gz 29336823 SHA256 7dbecb1e32c35dca1b0e00cd55ba08bfde558d2f9036f8b9b583e6d442b9a83c SHA512 99cd96387b14ef02803ef8c88e260cd898362765e797029cec79b9a286d5a43b76fe3e147929e38578d5203954c26e8d60f814d40ba1572a870605e3b25a6707 WHIRLPOOL 84e520777142e55bef08e87295087e3633c650a78a9c3bc35d116e85d7e2e65e420e2b678ecb214588a0dee7808fe3505169673ff1dbe6bd6f150d2928f87625
DIST mongodb-src-r3.0.8.tar.gz 26245612 SHA256 3574f2f577e212ff1876485e1502c91f70f996fbbcc5a4657fe440ac76bd97a5 SHA512 3b8578ed2a6196cda0867d219214e1dc9fe95ecaa8320cdee3766c9a8a78e9cf66013769a3fbbf03ccf9a35d97e02a1eaa5fe8fc7429a0d76dd78486db7520ac WHIRLPOOL ded0b84b940c66b8a7ef6b363f179a4b2c1ddc23a3077b9cadb01f76c2a90956f0a720e713d4806db6132ac96b1026b82c2bf966ec3869af095e12590ea04d0e
DIST mongodb-src-r3.0.9.tar.gz 26249669 SHA256 5b6f189458739a327a2ad4a5ecab4f733c6a6751ccb067ec8879a0f98f2b97c3 SHA512 4ebcd89394ea0ccbd84adde1a6ce1776d86873bea13520c31bf3a783a922598cadd9ce1c11998f028e5e1affe6cb6639d1a4ff9c0e5771ff88bed873ddf7dc97 WHIRLPOOL a7d6cb51ee62717bcc2e612ae8e72ea43be7c9867c0de3fa2afc1d5c731bc3b1ca04ac70a351feaba71c27e00cf6cbf9b9997c4276362f98a725350aff37b750
DIST mongodb-src-r3.2.3.tar.gz 29607224 SHA256 82030ada190095b5d95c0b59e9cf74efe9db602b49d2b8857b06f2683a5227fa SHA512 43b652da8fb461c36be1566965985aed036d53a8f4ed2a5f4a67e08571697c4030eb682a2a14ebc41991757d7083a268c5161b536d20dc1b3de13dac8df1da53 WHIRLPOOL 2e262616f0f317185330c8386ea31f81af9d7713dd02e70a4292d2ace17b22fadaead8666840679aa3eedccb624a48817cf68d1d29af3840e4af10aa77d434a5
DIST mongodb-src-r3.2.4.tar.gz 29647777 SHA256 b60743cc641de975c38e6e69ebbef60059ee9fe176cdd98bfab8d5c844dab42c SHA512 fb7b3ea3c704cde023ec540f4a142d3beba217f33e8c30da04318e365c5d52cbfa00b98824c53485b5f8918a83095c9b26db43861d80029e8e924e66dd8ea694 WHIRLPOOL ffd0ac839f3279776602ccf829ac629557f43ea50a5640bebc5532bc77072035181cf5d456ec467dca9d1a1f26adb2f1ab1de06968ca501c7b1dfe26fdc9a4ff

View file

@ -0,0 +1,156 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
SCONS_MIN_VERSION="2.3.0"
CHECKREQS_DISK_BUILD="2400M"
CHECKREQS_DISK_USR="512M"
CHECKREQS_MEMORY="1024M"
inherit eutils flag-o-matic multilib pax-utils scons-utils systemd user versionator check-reqs
MY_P=${PN}-src-r${PV/_rc/-rc}
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
HOMEPAGE="http://www.mongodb.org"
SRC_URI="http://downloads.mongodb.org/src/${MY_P}.tar.gz"
LICENSE="AGPL-3 Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug kerberos libressl mms-agent ssl +tools"
RDEPEND="app-arch/snappy
>=dev-cpp/yaml-cpp-0.5.1
>=dev-libs/boost-1.57[threads(+)]
>=dev-libs/libpcre-8.30[cxx]
dev-libs/snowball-stemmer
net-libs/libpcap
sys-libs/zlib
mms-agent? ( app-admin/mms-agent )
ssl? (
!libressl? ( >=dev-libs/openssl-1.0.1g:0= )
libressl? ( dev-libs/libressl:= )
)"
DEPEND="${RDEPEND}
>=sys-devel/gcc-4.8.2:*
sys-libs/ncurses
sys-libs/readline
kerberos? ( dev-libs/cyrus-sasl[kerberos] )"
PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
S=${WORKDIR}/${MY_P}
pkg_setup() {
enewgroup mongodb
enewuser mongodb -1 -1 /var/lib/${PN} mongodb
# Maintainer notes
#
# --use-system-tcmalloc is strongly NOT recommended:
# https://www.mongodb.org/about/contributors/tutorial/build-mongodb-from-source/
#
# --c++11 is required by scons instead of auto detection:
# https://jira.mongodb.org/browse/SERVER-19661
scons_opts="--variant-dir=build --cc=$(tc-getCC) --cxx=$(tc-getCXX) --c++11"
scons_opts+=" --disable-warnings-as-errors"
scons_opts+=" --use-system-boost"
scons_opts+=" --use-system-pcre"
scons_opts+=" --use-system-snappy"
scons_opts+=" --use-system-stemmer"
scons_opts+=" --use-system-yaml"
if use debug; then
scons_opts+=" --dbg=on"
fi
if use prefix; then
scons_opts+=" --cpppath=${EPREFIX}/usr/include"
scons_opts+=" --libpath=${EPREFIX}/usr/$(get_libdir)"
fi
if use kerberos; then
scons_opts+=" --use-sasl-client"
fi
if use ssl; then
scons_opts+=" --ssl"
fi
}
src_prepare() {
epatch "${FILESDIR}/${PN}-3.0.0-fix-scons.patch"
}
src_compile() {
# respect mongoDB upstream's basic recommendations
# see bug #536688 and #526114
if ! use debug; then
filter-flags '-m*'
filter-flags '-O?'
fi
escons ${scons_opts} core tools
}
src_install() {
escons ${scons_opts} --nostrip install --prefix="${ED}"/usr
for x in /var/{lib,log}/${PN}; do
keepdir "${x}"
fowners mongodb:mongodb "${x}"
done
doman debian/mongo*.1
dodoc README docs/building.md
newinitd "${FILESDIR}/${PN}.initd-r2" ${PN}
newconfd "${FILESDIR}/${PN}.confd-r2" ${PN}
newinitd "${FILESDIR}/${PN/db/s}.initd-r2" ${PN/db/s}
newconfd "${FILESDIR}/${PN/db/s}.confd-r2" ${PN/db/s}
insinto /etc
newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf
newins "${FILESDIR}/${PN/db/s}.conf-r2" ${PN/db/s}.conf
systemd_dounit "${FILESDIR}/${PN}.service"
insinto /etc/logrotate.d/
newins "${FILESDIR}/${PN}.logrotate" ${PN}
# see bug #526114
pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos}
}
pkg_preinst() {
# wrt bug #461466
if [[ "$(get_libdir)" == "lib64" ]]; then
rmdir "${ED}"/usr/lib/ &>/dev/null
fi
}
src_test() {
escons ${scons_opts} dbtest
"${S}"/dbtest --dbpath=unittest || die "dbtest failed"
escons ${scons_opts} smokeCppUnittests --smokedbprefix="smokecpptest" || die "smokeCppUnittests tests failed"
}
pkg_postinst() {
if [[ ${REPLACING_VERSIONS} < 3.0 ]]; then
ewarn "!! IMPORTANT !!"
ewarn " "
ewarn "${PN} configuration files have changed !"
ewarn " "
ewarn "Make sure you migrate from /etc/conf.d/${PN} to the new YAML standard in /etc/${PN}.conf"
ewarn " http://docs.mongodb.org/manual/reference/configuration-options/"
ewarn " "
ewarn "Make sure you also follow the upgrading process :"
ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/"
ewarn " "
ewarn "MongoDB 3.0 introduces the WiredTiger storage engine."
ewarn "WiredTiger is incompatible with MMAPv1 and you need to dump/reload your data if you want to use it."
ewarn "Once you have your data dumped, you need to set storage.engine: wiredTiger in /etc/${PN}.conf"
ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/#change-storage-engine-to-wiredtiger"
fi
}

View file

@ -0,0 +1,184 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
SCONS_MIN_VERSION="2.3.0"
CHECKREQS_DISK_BUILD="2400M"
CHECKREQS_DISK_USR="512M"
CHECKREQS_MEMORY="1024M"
inherit eutils flag-o-matic multilib pax-utils scons-utils systemd toolchain-funcs user versionator check-reqs
MY_P=${PN}-src-r${PV/_rc/-rc}
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
HOMEPAGE="http://www.mongodb.org"
SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz"
LICENSE="AGPL-3 Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug kerberos libressl mms-agent ssl test +tools"
RDEPEND=">=app-arch/snappy-1.1.2
|| ( =dev-cpp/yaml-cpp-0.5.1 >dev-cpp/yaml-cpp-0.5.2 )
>=dev-libs/boost-1.57[threads(+)]
>=dev-libs/libpcre-8.37[cxx]
dev-libs/snowball-stemmer
net-libs/libpcap
>=sys-libs/zlib-1.2.8
mms-agent? ( app-admin/mms-agent )
ssl? (
!libressl? ( >=dev-libs/openssl-1.0.1g:0= )
libressl? ( dev-libs/libressl:= )
)"
DEPEND="${RDEPEND}
>=sys-devel/gcc-4.8.2:*
sys-libs/ncurses
sys-libs/readline
debug? ( dev-util/valgrind )
kerberos? ( dev-libs/cyrus-sasl[kerberos] )
test? (
dev-python/pymongo
dev-python/pyyaml
)"
PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
S=${WORKDIR}/${MY_P}
pkg_pretend() {
if [[ ${REPLACING_VERSIONS} < 3.0 ]]; then
ewarn "To upgrade an existing MongoDB deployment to 3.2, you must be"
ewarn "running a 3.0-series release. Please update to the latest 3.0"
ewarn "release before continuing if wish to keep your data."
fi
}
pkg_setup() {
enewgroup mongodb
enewuser mongodb -1 -1 /var/lib/${PN} mongodb
# Maintainer notes
#
# --use-system-tcmalloc is strongly NOT recommended:
# https://www.mongodb.org/about/contributors/tutorial/build-mongodb-from-source/
scons_opts=(
CC="$(tc-getCC)"
CXX="$(tc-getCXX)"
--disable-warnings-as-errors
--use-system-boost
--use-system-pcre
--use-system-snappy
--use-system-stemmer
--use-system-yaml
--use-system-zlib
)
# wiredtiger not supported on 32bit platforms #572166
use x86 && scons_opts+=( --wiredtiger=off )
if use debug; then
scons_opts+=( --dbg=on )
fi
if use prefix; then
scons_opts+=(
--cpppath="${EPREFIX}/usr/include"
--libpath="${EPREFIX}/usr/$(get_libdir)"
)
fi
if use kerberos; then
scons_opts+=( --use-sasl-client )
fi
if use ssl; then
scons_opts+=( --ssl )
fi
}
src_prepare() {
epatch "${FILESDIR}/${PN}-3.2.0-fix-scons.patch"
epatch_user
}
src_compile() {
# respect mongoDB upstream's basic recommendations
# see bug #536688 and #526114
if ! use debug; then
filter-flags '-m*'
filter-flags '-O?'
fi
escons "${scons_opts[@]}" core tools
}
src_install() {
escons "${scons_opts[@]}" --nostrip install --prefix="${ED}"/usr
for x in /var/{lib,log}/${PN}; do
keepdir "${x}"
fowners mongodb:mongodb "${x}"
done
doman debian/mongo*.1
dodoc README docs/building.md
newinitd "${FILESDIR}/${PN}.initd-r2" ${PN}
newconfd "${FILESDIR}/${PN}.confd-r2" ${PN}
newinitd "${FILESDIR}/${PN/db/s}.initd-r2" ${PN/db/s}
newconfd "${FILESDIR}/${PN/db/s}.confd-r2" ${PN/db/s}
insinto /etc
newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf
newins "${FILESDIR}/${PN/db/s}.conf-r2" ${PN/db/s}.conf
systemd_dounit "${FILESDIR}/${PN}.service"
insinto /etc/logrotate.d/
newins "${FILESDIR}/${PN}.logrotate" ${PN}
# see bug #526114
pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos}
}
pkg_preinst() {
# wrt bug #461466
if [[ "$(get_libdir)" == "lib64" ]]; then
rmdir "${ED}"/usr/lib/ &>/dev/null
fi
}
src_test() {
# this one test fails
rm jstests/core/repl_write_threads_start_param.js
./buildscripts/resmoke.py --dbpathPrefix=test --suites core || die "Tests failed"
}
pkg_postinst() {
if [[ ${REPLACING_VERSIONS} < 3.0 ]]; then
ewarn "!! IMPORTANT !!"
ewarn " "
ewarn "${PN} configuration files have changed !"
ewarn " "
ewarn "Make sure you migrate from /etc/conf.d/${PN} to the new YAML standard in /etc/${PN}.conf"
ewarn " http://docs.mongodb.org/manual/reference/configuration-options/"
ewarn " "
ewarn "Make sure you also follow the upgrading process :"
ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/"
ewarn " "
ewarn "MongoDB 3.0 introduces the WiredTiger storage engine."
ewarn "WiredTiger is incompatible with MMAPv1 and you need to dump/reload your data if you want to use it."
ewarn "Once you have your data dumped, you need to set storage.engine: wiredTiger in /etc/${PN}.conf"
ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/#change-storage-engine-to-wiredtiger"
fi
ewarn "Make sure to read the release notes and follow the upgrade process:"
ewarn " https://docs.mongodb.org/manual/release-notes/3.2/"
ewarn " https://docs.mongodb.org/master/release-notes/3.2-upgrade/"
ewarn
ewarn " Starting in 3.2, MongoDB uses the WiredTiger as the default storage engine."
}

View file

@ -0,0 +1,17 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DESCRIPTION="Transition package moving to single ${CATEGORY}/oracle-instantclient package"
HOMEPAGE="https://bugs.gentoo.org/show_bug.cgi?id=524922#c12"
SRC_URI=""
LICENSE="metapackage"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND=">=dev-db/oracle-instantclient-12[sdk]"

View file

@ -0,0 +1,20 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DESCRIPTION="Transition package moving to single ${CATEGORY}/oracle-instantclient package"
HOMEPAGE="https://bugs.gentoo.org/show_bug.cgi?id=524922#c12"
SRC_URI=""
LICENSE="metapackage"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND="
>=dev-db/oracle-instantclient-basic-12
>=dev-db/oracle-instantclient-12[jdbc]
"

View file

@ -0,0 +1,20 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DESCRIPTION="Transition package moving to single ${CATEGORY}/oracle-instantclient package"
HOMEPAGE="https://bugs.gentoo.org/show_bug.cgi?id=524922#c12"
SRC_URI=""
LICENSE="metapackage"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND="
>=dev-db/oracle-instantclient-basic-12
>=dev-db/oracle-instantclient-12[odbc]
"

View file

@ -0,0 +1,20 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DESCRIPTION="Transition package moving to single ${CATEGORY}/oracle-instantclient package"
HOMEPAGE="https://bugs.gentoo.org/show_bug.cgi?id=524922#c12"
SRC_URI=""
LICENSE="metapackage"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND="
>=dev-db/oracle-instantclient-basic-12
>=dev-db/oracle-instantclient-12[sqlplus]
"

View file

@ -0,0 +1,12 @@
DIST instantclient-basic-linux-12.1.0.2.0.zip 59727331 SHA256 96d210d1ff9575022644a8817696ed9e90374d98cabd2631b7b458689ca7511d SHA512 5d93c72c43ba2ca765209f4c1d518b9e93c80ff33625bf0bc33b974413e2b91ab22681e0922d2148fbfa6b6043fe84eee5334aa398e1ee7b1c2663ff2b3bb235 WHIRLPOOL 78b4902939ccc47540c4524e0a8326ab4a9c302a94c6a85790151ff9d83c400a0298436afab72c2b7b779f9f8606b5b4787fd4dbd496a0add171ae87461881d9
DIST instantclient-basic-linux.x64-12.1.0.2.0.zip 63352239 SHA256 c4e1b7201f23bc855782157ebeaaa3635eb6f5f01189bc1d3335bbdadfcb1fbb SHA512 e4cbdf40f00521651002f0753ead292b7a33352a7dae5d77635fbdb784451a1b9331ad614326dccdea34ecff3d44ddd0932b83c4bd405e69d95c7decae945f2c WHIRLPOOL 2463abbaa366a20b77b6800262b0b8692ad1e53b8f7e05c542d38e5e893d4e9fb466ef34fb839366991388eda7251654ee5b7fe3020b39692f798bea8e51e83b
DIST instantclient-jdbc-linux-12.1.0.2.0.zip 1571004 SHA256 b40be90a26f27444ee6999ea05d7e62791ff0f01b943d48ceda51167e24f7e1d SHA512 ed3e5f831f1ac7351bd6eb7b3c10a09bba0f1989384ff1f041fdf94a5ca6acbf06e8285283f48731be6ece3dce55d307ac31e8bab57548dca0e3b3056060b5b2 WHIRLPOOL b17c5e25028b3c75719a42b77c43c10c346671632d582c8bd1ce31fa944690b3c883b357674407cb930cc4d7f0ba9054e53cd440842ac8be3951ea1dc32354bb
DIST instantclient-jdbc-linux.x64-12.1.0.2.0.zip 1571639 SHA256 444236c8881b4a6dc98342d8f2d95be5db6c2fa3ae925bdabc1d0cb684b0f20b SHA512 1e6aa33c159d5769d10b16da3c5ff16629dae049c7e7d3ab1504a0ad625968f4d3f655a83ff128bff726c3ed03eab9ef7603c897aad288d1dc4e557c03ac7e2a WHIRLPOOL 3f4adf8b631301f969e23651717be307c94ba2f6f8a7f0e53a086994c3e02a0643bfb69a3b9ec14914f3994cdbc0689e00a3c96f3f65db001e1c3382e380d130
DIST instantclient-odbc-linux-12.1.0.2.0.zip 1100875 SHA256 bc686e56f544d465797a710af8ac39f49cfee1da13e4124dd080b13e49c6e573 SHA512 ff3b13a338f0acbae07f23d0e54f0ffa803afcda1a798b9cf38ced103201c0698a7240a062fb67af3547c17e906089e236cc3454685ca4645161a8b14414235e WHIRLPOOL 7dce918dcc16fc66f067a84540304948bd27ad38337518c5fa4c708112db3096da7037ac06e165b605f60c2f412f615dd9a511a6d7abaa1e9743e9f5823c3a89
DIST instantclient-odbc-linux.x64-12.1.0.2.0.zip 1289004 SHA256 ba2b50f8386b971b948b338ba2552b93511a1f515053a990dfb365d9bef35cba SHA512 b6dd02a2566aba66bbdd61e37e00f0c0ec2d466ad969658d4943657642e6e385cb08d0bee3a127b38a7077ec71c8f341aa4696f381e4d9978f807caa1f3ccb91 WHIRLPOOL 4fdda8d10aa3f744cb849f82e21f8d5d6ffc21e907bb0c659962a1d98d7456362108ccdf4b084d741d15177edf6a0233afe917f23adbe7d9af04b6f64a5ddab9
DIST instantclient-sdk-linux-12.1.0.2.0.zip 667183 SHA256 8a3d609230f02186c85cd39bef1e8b974a239254c5b12ba7e482c5a7c35ffb4a SHA512 fdc0111dba77aa88dc7a39c8d9afbd08c4ffde63890595501915be48a70f6fc623762657a1f3e3b54dd08b0d1e5ce00f99ec5ce40990bb17fab63ae38b986dc9 WHIRLPOOL ab4b2406d503381e5f0f878ebec7d03ff3fa748a0f7aa975dda567223327092452543c5a5568b0eea060d998f209092d7bc2d7d227ddd134cd6d259db5377a90
DIST instantclient-sdk-linux.x64-12.1.0.2.0.zip 667174 SHA256 ba4b1b96b9f00bc36682542df575f1d52717f6ad48436f50c85b2e87b3a6961c SHA512 451918e34c4e41dcaea6d678cf10a20a3fb80be5c060aa1a2890f2eb528e6e4982bfd758598eaa115cd367cde0468f7f0f811bac2ef28671075868857eaf9f2e WHIRLPOOL e0cc5019eebf25c3db8debd207c85907937698a80e4ccea7c4eae0bde3c58bdfecb2d03f915dda870cc1d579146594d2720a7338a4466529bae20dd1a4e15aca
DIST instantclient-sqlplus-linux-12.1.0.2.0.zip 828190 SHA256 03062efdb88423342657a679760581af14d936a897647bddcf248453bb01105f SHA512 e521f141f0bb4fe62bda6da389a9c1038be879f1456500a9e70ac0a41d4f35cf2051181a03223521aa24ee06a33b67614d3afd91f01099afa0081f2771876d43 WHIRLPOOL cd03b648dcc9340b09501b9af9da0d7c493983e304413fcc4a882524919a693a86d2d640009b9da125424c0dd9302546c2a5deeb569401c642b35a941d76e017
DIST instantclient-sqlplus-linux.x64-12.1.0.2.0.zip 861284 SHA256 b52a7fca7279d4e9584674ea6f24464411f62f6ba95a2a16ec92979e99cac4bd SHA512 ad0af692bcae1231b58c7ea55fa79d85c7a5c9875a805565b1b5956ed30e608d753ac9210f6169ab3ff4e42ac2f1d871ccff47bd2656f7684925136fef1f30c2 WHIRLPOOL bad31c1135377f191adfb95861b171f286f2564023387c7d5fbb897624e0e15784157a052784985fcf42cb9e5d500067e71d1a8a6858ed65a179f6b4cc6c78ca
DIST instantclient-tools-linux-12.1.0.2.0.zip 187088 SHA256 2c73b8668ec5c99ec777110a5e33744540b8d394dcb934430d39dc507373126a SHA512 37a9eb3e2fdbbbf32f0fb5d017209db1b62d54efe48a875625e9d6162ea894d93d144358b2360989fa71704b346f86b36f1640a5c98f8aac7c1e6853b2d078fd WHIRLPOOL 156b434fc181cbd7832fc7646bb5c6ae73c69a748b8d76dd36481aea72db211d4524d290662cf0506f0fdc811035bb39eaf2a1a087b9de50cb943e5289d5ffe9
DIST instantclient-tools-linux.x64-12.1.0.2.0.zip 203511 SHA256 cdddadf2fb7bba406a397e0dd47b53bffb9326265b874d1b17507c98a38afa16 SHA512 f18ca11300fc20925c72122d03fc00402b9a52b39f7f70cfd3fa97264a1a2a173e7f77059affba98e897546e05c6ac1e3a546ce1c7e63ef049130496d346342b WHIRLPOOL d98d728b917cdc368e859ec358ef35c1284b4a8e49b2e4d909a0d363bdaea10e80622dca19977afa3030d7930d2d1b37ce1983eb27da09f909c9c0a636b82206

View file

@ -0,0 +1,57 @@
Fake demo_xe.mk found in Oracle eXpress Edition,
known by CPAN DBD::Oracle (bug#165834).
This provides absolute paths for headers and libraries.
Paranoia drops those REMOVE lines.
--- instantclient_12_1/sdk/demo/demo.mk
+++ instantclient_12_1/sdk/demo/demo.mk
@@ -28,8 +28,9 @@
CC=/opt/SunProd/SUNWspro6.1/bin/CC
cc=/opt/SunProd/SUNWspro6.1/bin/cc
-ICINCHOME=../
-ICLIBHOME=../../
+LIBDIR=lib
+ICINCHOME=$(ORACLE_HOME)/
+ICLIBHOME=$(ORACLE_HOME)/$(LIBDIR)
ICLIBPATH=-L$(ICLIBHOME)
THREADLIBS=-lthread
CCLIB=$(ICLIBPATH) -locci -lclntsh $(THREADLIBS)
@@ -64,18 +65,18 @@
all: clean buildoci $(OCCIDEMO) $(OCCIOBJDEMO)
buildoci: $(CLNCACHE) $(LIBCLNT) $(CDEMOOBJS)
- $(MKLINK) $(ICLIBHOME)libclntsh$(SO_EXT).12.1 $(ICLIBHOME)libclntsh$(SO_EXT)
- $(MKLINK) $(ICLIBHOME)libocci$(SO_EXT).12.1 $(ICLIBHOME)libocci$(SO_EXT)
+# $(MKLINK) $(ICLIBHOME)libclntsh$(SO_EXT).12.1 $(ICLIBHOME)libclntsh$(SO_EXT)
+# $(MKLINK) $(ICLIBHOME)libocci$(SO_EXT).12.1 $(ICLIBHOME)libocci$(SO_EXT)
$(CC) -o $(CDEMOEXE) $(LDFLAGS) $(CDEMOOBJS) $(CCLIB)
- $(REMOVE) $(ICLIBHOME)libclntsh$(SO_EXT)
- $(REMOVE) $(ICLIBHOME)libocci$(SO_EXT)
+# $(REMOVE) $(ICLIBHOME)libclntsh$(SO_EXT)
+# $(REMOVE) $(ICLIBHOME)libocci$(SO_EXT)
buildocci: $(CLNCACHE) $(LIBCLNT) $(OBJS)
- $(MKLINK) $(ICLIBHOME)libclntsh$(SO_EXT).12.1 $(ICLIBHOME)libclntsh$(SO_EXT)
- $(MKLINK) $(ICLIBHOME)libocci$(SO_EXT).12.1 $(ICLIBHOME)libocci$(SO_EXT)
+# $(MKLINK) $(ICLIBHOME)libclntsh$(SO_EXT).12.1 $(ICLIBHOME)libclntsh$(SO_EXT)
+# $(MKLINK) $(ICLIBHOME)libocci$(SO_EXT).12.1 $(ICLIBHOME)libocci$(SO_EXT)
$(CC) -o $(EXE) $(LDFLAGS) $(OBJS) $(CCLIB)
- $(REMOVE) $(ICLIBHOME)libclntsh$(SO_EXT)
- $(REMOVE) $(ICLIBHOME)libocci$(SO_EXT)
+# $(REMOVE) $(ICLIBHOME)libclntsh$(SO_EXT)
+# $(REMOVE) $(ICLIBHOME)libocci$(SO_EXT)
$(OCCIDEMO):
$(MAKE) -f $(MAKEFILE) buildocci OBJS=$@.o EXE=$@
@@ -93,8 +94,8 @@
cleancache:
$(REMOVE) $(CACHEDIR)
- $(REMOVE) $(ICLIBHOME)libclntsh$(SO_EXT)
- $(REMOVE) $(ICLIBHOME)libocci$(SO_EXT)
+# $(REMOVE) $(ICLIBHOME)libclntsh$(SO_EXT)
+# $(REMOVE) $(ICLIBHOME)libocci$(SO_EXT)
clean: $(CLNCACHE)
$(REMOVE) cdemo81 cdemo81.o occidml occidml.o occiobj occiobj.o occiobjo* occiobjm* occiobj.h occiobjout.type

View file

@ -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

View file

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>haubi@gentoo.org</email>
</maintainer>
<longdescription>
Free, light-weight and easily installed Oracle Database libraries
and SDKs for building and connecting client applications to local
or remote Oracle Databases.
</longdescription>
<use>
<flag name="jdbc">Support for XA, Internationalization, and RowSet operations under JDBC.
</flag>
<flag name="odbc">Libraries for enabling ODBC applications.
</flag>
<flag name="sdk">Header files and an example makefile for developing Oracle applications.
</flag>
<flag name="sqlplus">Libraries and executable for running SQL*Plus.
</flag>
<flag name="tools">Workload Replay Client.
</flag>
</use>
</pkgmetadata>

View file

@ -0,0 +1,304 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="6"
inherit eutils versionator pax-utils multilib-minimal
MY_PVM=$(get_version_component_range 1-2)
MY_PLAT_x86="Linux x86"
MY_BITS_x86=32
MY_A_x86="${PN/oracle-/}-basic-linux-${PV}.0.zip"
MY_A_x86_sdk="${MY_A_x86/basic/sdk}"
MY_A_x86_odbc="${MY_A_x86/basic/odbc}"
MY_A_x86_jdbc="${MY_A_x86/basic/jdbc}"
MY_A_x86_sqlplus="${MY_A_x86/basic/sqlplus}"
MY_A_x86_tools="${MY_A_x86/basic/tools}"
MY_PLAT_amd64="Linux x86-64"
MY_BITS_amd64=64
MY_A_amd64="${PN/oracle-}-basic-linux.x64-${PV}.0.zip"
MY_A_amd64_sdk="${MY_A_amd64/basic/sdk}"
MY_A_amd64_odbc="${MY_A_amd64/basic/odbc}"
MY_A_amd64_jdbc="${MY_A_amd64/basic/jdbc}"
MY_A_amd64_sqlplus="${MY_A_amd64/basic/sqlplus}"
MY_A_amd64_tools="${MY_A_amd64/basic/tools}"
DESCRIPTION="Oracle 12c Instant Client with SDK"
HOMEPAGE="http://www.oracle.com/technetwork/database/features/instant-client/index.html"
SRC_URI="
abi_x86_32? (
${MY_A_x86}
odbc? ( ${MY_A_x86_odbc} )
jdbc? ( ${MY_A_x86_jdbc} )
!abi_x86_64? (
sdk? ( ${MY_A_x86_sdk} )
sqlplus? ( ${MY_A_x86_sqlplus} )
tools? ( ${MY_A_x86_tools} )
) )
abi_x86_64? (
${MY_A_amd64}
odbc? ( ${MY_A_amd64_odbc} )
jdbc? ( ${MY_A_amd64_jdbc} )
sdk? ( ${MY_A_amd64_sdk} )
sqlplus? ( ${MY_A_amd64_sqlplus} )
tools? ( ${MY_A_amd64_tools} )
)
"
LICENSE="OTN"
SLOT="0/${MY_PVM}"
KEYWORDS="~amd64 ~x86"
RESTRICT="fetch splitdebug"
IUSE="jdbc odbc +sdk +sqlplus tools"
DEPEND="app-arch/unzip"
RDEPEND="
>=dev-libs/libaio-0.3.109-r5[${MULTILIB_USEDEP}]
!<dev-db/oracle-instantclient-basic-12
!<dev-db/oracle-instantclient-odbc-12
!<dev-db/oracle-instantclient-jdbc-12
!<dev-db/oracle-instantclient-sqlplus-12
"
S="${WORKDIR}"
QA_PREBUILT="usr/lib*/oracle/*/client/lib*/lib*"
set_my_abivars() {
S="${WORKDIR}/${ABI}/instantclient_$(
replace_version_separator 1 "_" "${MY_PVM}"
)"
local abi=${ABI}
[[ ${abi} == 'default' ]] && abi=${ARCH}
MY_PLAT=MY_PLAT_${abi} ; MY_PLAT=${!MY_PLAT} # platform name
MY_BITS=MY_BITS_${abi} ; MY_BITS=${!MY_BITS} # platform bitwidth
MY_A=MY_A_${abi} ; MY_A=${!MY_A} # runtime distfile
MY_A_sdk=MY_A_${abi}_sdk ; MY_A_sdk=${!MY_A_sdk} # sdk distfile
MY_A_odbc=MY_A_${abi}_odbc ; MY_A_odbc=${!MY_A_odbc} # odbc distfile
MY_A_jdbc=MY_A_${abi}_jdbc ; MY_A_jdbc=${!MY_A_jdbc} # jdbc distfile
MY_A_sqlplus=MY_A_${abi}_sqlplus; MY_A_sqlplus=${!MY_A_sqlplus} # sqlplus distfile
MY_A_tools=MY_A_${abi}_tools ; MY_A_tools=${!MY_A_tools} # tools distfile
[[ -n ${MY_PLAT} ]]
}
oic_distfile_status() {
if [[ -r ${DISTDIR}/${1} ]]; then
echo "already here"
else
echo "still absent"
fi
}
pkg_nofetch() {
eerror "Please go to"
eerror " ${HOMEPAGE%/*}/index-097480.html"
eerror " and download"
local ABI
for ABI in $(multilib_get_enabled_abis)
do
set_my_abivars || continue
eerror "Instant Client for ${MY_PLAT}"
eerror " Basic: ($(oic_distfile_status ${MY_A})) ${MY_A}"
use odbc &&
eerror " ODBC: ($(oic_distfile_status ${MY_A_odbc})) ${MY_A_odbc}"
use jdbc &&
eerror " JDBC: ($(oic_distfile_status ${MY_A_jdbc})) ${MY_A_jdbc}"
if multilib_is_native_abi; then
use sdk &&
eerror " SDK: ($(oic_distfile_status ${MY_A_sdk})) ${MY_A_sdk}"
use sqlplus &&
eerror " SQL*Plus: ($(oic_distfile_status ${MY_A_sqlplus})) ${MY_A_sqlplus}"
use tools &&
eerror " WRC: ($(oic_distfile_status ${MY_A_tools})) ${MY_A_tools}"
fi
done
eerror "After downloading these files (for *all* shown architectures), put them in:"
eerror " ${DISTDIR}/"
}
src_unpack() {
local ABI
for ABI in $(multilib_get_enabled_abis)
do
set_my_abivars || continue
mkdir "${WORKDIR}"/${ABI} || die
cd "${WORKDIR}"/${ABI} || die
unpack ${MY_A}
use odbc && unpack ${MY_A_odbc}
use jdbc && unpack ${MY_A_jdbc}
if multilib_is_native_abi; then
use sdk && unpack ${MY_A_sdk}
use sqlplus && unpack ${MY_A_sqlplus}
use tools && unpack ${MY_A_tools}
fi
done
}
src_prepare() {
use sdk && PATCHES=( "${FILESDIR}"/12.1.0.2-makefile.patch )
default
}
# silence configure&compile messages from multilib-minimal
src_configure() { :; }
src_compile() { :; }
src_install() {
# all content goes here
local oracle_home=usr/$(get_libdir)/oracle/${MY_PVM}/client
into "/${oracle_home}"
local ldpath= ABI
for ABI in $(multilib_get_enabled_abis) # last iteration is final ABI
do
if ! set_my_abivars; then
elog "Skipping unsupported ABI ${ABI}."
continue
fi
einfo "Installing runtime for ${MY_PLAT} ..."
cd "${S}" || die
# shared libraries
dolib.so lib*$(get_libname)*
# ensure to be linkable
[[ -e libocci$(get_libname) ]] ||
dosym libocci$(get_libname ${MY_PVM}) \
"/${oracle_home}"/$(get_libdir)/libocci$(get_libname)
[[ -e libclntsh$(get_libname) ]] ||
dosym libclntsh$(get_libname ${MY_PVM}) \
"/${oracle_home}"/$(get_libdir)/libclntsh$(get_libname)
# java archives
insinto "/${oracle_home}"/$(get_libdir)
doins *.jar
# runtime library path
ldpath+=${ldpath:+:}/${oracle_home}/$(get_libdir)
eend $?
done
local DOCS=()
local HTML_DOCS=()
local paxbins=( adrci genezi uidrvci )
local scripts=()
use sqlplus && paxbins+=( sqlplus )
use tools && paxbins+=( wrc )
if use odbc; then
scripts+=( odbc_update_ini.sh )
HTML_DOCS+=( ODBC_IC_Readme_Unix.html help )
fi
einfo "Installing binaries for ${MY_PLAT} ..."
dobin ${paxbins[@]} ${scripts}
cd "${ED}${oracle_home}"/bin || die
pax-mark -c ${paxbins[@]} || die
cd "${S}" || die
eend $?
if use sqlplus; then
insinto "/${oracle_home}"/sqlplus/admin
doins glogin.sql
dosym "/${oracle_home}"/bin/sqlplus /usr/bin/sqlplus
fi
if use sdk; then
einfo "Installing SDK ..."
DOCS+=( sdk/demo )
cd "${S}"/sdk || die
# SDK makefile, for #165834
# As we change the relative filesystem layout compared
# to vanilla instantclient.zip content, it feels easier
# to fake the layout found in Oracle eXpress Edition.
# Both layouts are known to DBD::Oracle (cpan).
insinto "/${oracle_home}"/rdbms/demo
newins demo/demo.mk demo_xe.mk
# Remove ldap.h, #299562
rm include/ldap.h || die
# DBD::Oracle needs rdbms/public as real directory
insinto "/${oracle_home}"/rdbms/public
doins include/*.h
dosym rdbms/public "/${oracle_home}"/include
# ruby-oci8 expects the headers here
dosym "/${oracle_home}"/rdbms/public /usr/include/oracle/${MY_PVM}/client
# ott
insinto "/${oracle_home}"/$(get_libdir)
dobin ott
doins *.zip
# more files found in the zip
insinto "/${oracle_home}"/admin
doins admin/oraaccess.xsd
eend $?
fi
cd "${S}" || die
einstalldocs
# create path for tnsnames.ora
insinto /etc/oracle
doins "${FILESDIR}"/tnsnames.ora.sample
# Add OCI libs to library path
{
echo "# ${EPREFIX}/etc/env.d/50${PN}"
echo "# Do not edit this file, but 99${PN} instead"
echo
echo "ORACLE_HOME=${EPREFIX}/${oracle_home}"
echo "LDPATH=${ldpath}"
echo "TNS_ADMIN=/etc/oracle/"
} > "${T}"/50${PN}
doenvd "${T}"/50${PN}
# ensure ORACLE_HOME/lib exists
[[ -e ${ED}${oracle_home}/lib/. ]] ||
dosym $(get_libdir) "${oracle_home}"/lib
}
pkg_preinst() {
if [[ -r ${EROOT}/etc/env.d/99${PN} ]]; then
cp "${EROOT}/etc/env.d/99${PN}" "${ED}/etc/env.d/" || die
else
{
echo "# ${EPREFIX}/etc/env.d/99${PN}"
echo "# Configure system-wide defaults for your Oracle Instant Client here"
echo
echo "#$(grep '^ORACLE_HOME=' "${ED}/etc/env.d/50${PN}")"
echo "#$(grep '^TNS_ADMIN=' "${ED}/etc/env.d/50${PN}")"
echo "#NLS_LANG="
} > "${ED}/etc/env.d/99${PN}"
fi
}
pkg_postinst() {
elog "${P} does not provide an sqlnet.ora"
elog "configuration file, redirecting oracle diagnostics for database-"
elog "and network-issues into ~USER/oradiag_USER/ instead."
elog "It should be safe to ignore this message in sqlnet.log there:"
elog " Directory does not exist for read/write [ORACLE_HOME/client/log] []"
elog "See https://bugs.gentoo.org/show_bug.cgi?id=465252 for reference."
elog "If you want to directly analyse low-level debug info or don't want"
elog "to see it at all, so you really need an sqlnet.ora file, please"
elog "consult http://search.oracle.com/search/search?q=sqlnet.ora"
elog ""
elog "TNS_ADMIN has been set to ${EROOT}etc/oracle by default,"
elog "put your tnsnames.ora there or configure TNS_ADMIN"
elog "to point to your user specific configuration."
ewarn "Please re-source your shell settings for ORACLE_HOME"
ewarn " changes, such as: source /etc/profile"
}

View file

@ -1,4 +1,4 @@
DIST mysql-extras-20151105-2051Z.tar.bz2 1490187 SHA256 129d79c2064b08b0afad69e04e27991bf4103c20ccea39c133239b1dd822a49f SHA512 af34a44275b06c1626eb5952b3643b5663b8a1fb1d9ff18a67d51c02daaa51c4476df407d38ab607cc41842b47e5dd7b4cef8ae380a41eb80923df8052b9e521 WHIRLPOOL 01702ca4e2033fbc70db3ab2dd166b2e31072ea0f6bdd42d00c27ae0c0afab5c8451c4dcc90cce6d46f9ea056017e273f7c719e1cfabf969293bdcd15241f5b3
DIST percona-server-5.6.27-75.0.tar.gz 54907367 SHA256 7dc4a4efadaee25e11fd78838f4ad2c0d7921ac9cc3b95068626f918c0add8d7 SHA512 c58fe18e3af7c88d9a3269c0b6a20c367bc80af6b3c1ab072fb380787f6b0ad44c8471134e366b7a9572fc4d16a4260d81a26f384aadab4bca99efcf521d3201 WHIRLPOOL 403a7efdbfb8bdaa5cecf72930be351b8762f17ce7166dffcff307e86a69f742546c85ff5badefab182dd001080ed49e71d2d5d587b74801cc22ccba682ac418
DIST percona-server-5.6.27-76.0.tar.gz 54946650 SHA256 36d5c1c9a94712874b4d6e12c7e48d1f13c1fffb0ff976bc93aedbb4f73a0fef SHA512 64e2b1643bb06aefd59a1e1caddd31931b4b39ce5cd575ec3ec92f8c824887d112aa17573b10d596996579088c34e729eed83c37d63dd8cbef6755f0c0086805 WHIRLPOOL b203ba373ce312c1e10f0f96ba0fe8722ddc29c218bd075539f868426ad20c4d02c2307756c98fd2c7e21b45398d92c1b2b5145218b503bb0962bcafd908de12
DIST mysql-extras-20160307-1854Z.tar.bz2 298005 SHA256 a6516841d24670a1802e28fd66d4f540b16367396e6b2f687b8429b8e6a5d865 SHA512 d90081bd910dfffe6e1ac250465c0dbd9968edbdfe08f25f213ec328028fbb6fdb016816846c7fcee9202b9b93f4868edaff44ee04a0554cc93c6ecbf088db8f WHIRLPOOL f971804db83f42d717da318deeb647c1b294fa0967db7073e7f83d0fa15476d68089201430aaa882d90d5223a41a1a1668cfbe82bb897dcf864925e3da715c10
DIST percona-server-5.6.28-76.1.tar.gz 54994379 SHA256 ab8ab794a58a82132645ae84b74de91c7f9a5bcf81f2162628ce8976a00a4fd4 SHA512 fe26903d41034a6a7a240b0d7dbe8f3d7e417f6a23f8444ac42244f07649caee77d3ab781c13fdf45843cd297211a2058a6df5cd013c990497d9df9ed1fb9a9f WHIRLPOOL d9149f027f59d02a0fd0308e6806b5960ac29e347e3262e0b786e018ef16aac00c0e205104de7bc41b3ce20704a835d129ea485326cfc730143adfab01a349d0
DIST percona-server-5.6.29-76.2.tar.gz 55032788 SHA256 23217feafc92222f313aeeb6e1806d110c35e50cf0b5f74510a9f8babe22e4b9 SHA512 0765ba02dcceaa3e4cb8f1b7261982f66ea5a14982723a9eb0a47177d03c18ffb3e647f10736780f6312dccb23f082ebcdd1f6330f9bf08ec714e43bf9fb4e57 WHIRLPOOL 8d719fbf0ec5ac4e0e80c40140bbf9a796c4ef1cb3ef1d0f8b92d14385c7e1af49063f0f176ab57e86a31d9729224354a3f72d331330d1a4907d41d6ab5fd92d

View file

@ -10,7 +10,6 @@
<name>MySQL</name>
</maintainer>
<use>
<flag name="client-libs">Build the libmysqlclient libraries</flag>
<flag name="embedded">Build embedded server (libmysqld)</flag>
<flag name="extraengine">Add support for alternative storage engines (Archive, CSV, Blackhole, Federated(X), Partition)</flag>
<flag name="jemalloc">Use <pkg>dev-libs/jemalloc</pkg> for allocations.</flag>
@ -23,7 +22,6 @@
<flag name="test">Install upstream testsuites for end use.</flag>
<flag name="tokudb">Add support for TokuDB storage engine</flag>
<flag name="tokudb-backup-plugin">Builds the TokuDB backup plugin</flag>
<flag name="tools">Build the command line tools (mysql, mysqldump, mysqladmin, etc)</flag>
<flag name="yassl">Enable SSL connections and crypto functions using the bundled yaSSL</flag>
</use>
</pkgmetadata>

View file

@ -1,168 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
MY_EXTRAS_VER="20151105-2051Z"
SUBSLOT="18"
PYTHON_COMPAT=( python2_7 )
inherit python-any-r1 mysql-multilib-r1
IUSE="pam tokudb tokudb-backup-plugin"
# REMEMBER: also update eclass/mysql*.eclass before committing!
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
HOMEPAGE="http://www.percona.com/software/percona-server"
DESCRIPTION="An enhanced, drop-in replacement for MySQL from the Percona team"
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
EPATCH_EXCLUDE=''
COMMON_DEPEND="server? ( pam? ( virtual/pam:0= ) )
tokudb? ( app-arch/snappy )
tokudb-backup-plugin? ( dev-util/valgrind )
"
DEPEND="${COMMON_DEPEND}
|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
test? ( $(python_gen_any_dep 'dev-python/mysql-python[${PYTHON_USEDEP}]') )"
RDEPEND="${COMMON_DEPEND}"
REQUIRED_USE="tokudb? ( jemalloc ) tokudb-backup-plugin? ( tokudb )"
# Please do not add a naive src_unpack to this ebuild
# If you want to add a single patch, copy the ebuild to an overlay
# and create your own mysql-extras tarball, looking at 000_index.txt
python_check_deps() {
has_version "dev-python/mysql-python[${PYTHON_USEDEP}]"
}
src_configure() {
local MYSQL_CMAKE_NATIVE_DEFINES=( -DWITH_PAM=$(usex pam)
$(mysql-cmake_use_plugin tokudb TOKUDB)
)
if use tokudb ; then
# TokuDB Backup plugin requires valgrind unconditionally
MYSQL_CMAKE_NATIVE_DEFINES+=(
$(usex tokudb-backup-plugin '' -DTOKUDB_BACKUP_DISABLED=1)
)
fi
mysql-multilib-r1_src_configure
}
# Official test instructions:
# USE='extraengine perl openssl static-libs' \
# FEATURES='test userpriv -usersandbox' \
# ebuild percona-server-X.X.XX.ebuild \
# digest clean package
multilib_src_test() {
if ! multilib_is_native_abi ; then
einfo "Server tests not available on non-native abi".
return 0;
fi
local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
local retstatus_unit
local retstatus_tests
# Bug #213475 - MySQL _will_ object strenously if your machine is named
# localhost. Also causes weird failures.
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
if use server ; then
if [[ $UID -eq 0 ]]; then
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
fi
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
addpredict /this-dir-does-not-exist/t9.MYI
# Run CTest (test-units)
cmake-utils_src_test
retstatus_unit=$?
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
# Ensure that parallel runs don't die
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
# Enable parallel testing, auto will try to detect number of cores
# You may set this by hand.
# The default maximum is 8 unless MTR_MAX_PARALLEL is increased
export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
# create directories because mysqladmin might right out of order
mkdir -p "${T}"/var-tests{,/log}
# These are failing in Percona 5.6 for now and are believed to be
# false positives:
#
# main.information_schema, binlog.binlog_statement_insert_delayed,
# main.mysqld--help-notwin, binlog.binlog_mysqlbinlog_filter
# perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt
# funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers
# engines/funcs.db_alter_character_set engines/funcs.db_alter_character_set_collate
# engines/funcs.db_alter_collate_ascii engines/funcs.db_alter_collate_utf8
# engines/funcs.db_create_character_set engines/funcs.db_create_character_set_collate
# fails due to USE=-latin1 / utf8 default
#
# main.mysql_client_test:
# segfaults at random under Portage only, suspect resource limits.
#
# main.percona_bug1289599
# Looks to be a syntax error in the test file itself
#
# main.variables main.myisam main.merge_recover
# fails due to ulimit not able to open enough files (needs 5000)
#
# main.mysqlhotcopy_archive main.mysqlhotcopy_myisam
# Called with bad parameters should be reported upstream
#
for t in main.mysql_client_test \
binlog.binlog_statement_insert_delayed main.information_schema \
main.mysqld--help-notwin binlog.binlog_mysqlbinlog_filter \
perfschema.binlog_edge_mix perfschema.binlog_edge_stmt \
funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers \
main.variables main.myisam main.merge_recover \
engines/funcs.db_alter_character_set engines/funcs.db_alter_character_set_collate \
engines/funcs.db_alter_collate_ascii engines/funcs.db_alter_collate_utf8 \
engines/funcs.db_create_character_set engines/funcs.db_create_character_set_collate \
main.percona_bug1289599 main.mysqlhotcopy_archive main.mysqlhotcopy_myisam ; do
mysql-multilib-r1_disable_test "$t" "False positives in Gentoo"
done
# Run mysql tests
pushd "${TESTDIR}"
# Set file limits higher so tests run
ulimit -n 3000
python_setup
# run mysql-test tests
perl mysql-test-run.pl --force --vardir="${T}/var-tests" \
--testcase-timeout=30 --reorder
retstatus_tests=$?
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
popd
# Cleanup is important for these testcases.
pkill -9 -f "${S}/ndb" 2>/dev/null
pkill -9 -f "${S}/sql" 2>/dev/null
failures=""
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
[[ -z "$failures" ]] || die "Test failures: $failures"
einfo "Tests successfully completed"
else
einfo "Skipping server tests due to minimal build."
fi
}

View file

@ -1,154 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
MY_EXTRAS_VER="20151105-2051Z"
HAS_TOOLS_PATCH="1"
SUBSLOT="18"
inherit toolchain-funcs mysql-multilib
# only to make repoman happy. it is really set in the eclass
IUSE="$IUSE tokudb tokudb-backup-plugin"
# REMEMBER: also update eclass/mysql*.eclass before committing!
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
EPATCH_EXCLUDE=''
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
tokudb? ( app-arch/snappy )
tokudb-backup-plugin? ( dev-util/valgrind )"
RDEPEND="${RDEPEND}"
REQUIRED_USE="tokudb? ( jemalloc ) tokudb-backup-plugin? ( tokudb )"
# Please do not add a naive src_unpack to this ebuild
# If you want to add a single patch, copy the ebuild to an overlay
# and create your own mysql-extras tarball, looking at 000_index.txt
# Official test instructions:
# USE='extraengine perl openssl static-libs' \
# FEATURES='test userpriv -usersandbox' \
# ebuild percona-server-X.X.XX.ebuild \
# digest clean package
multilib_src_test() {
if ! multilib_is_native_abi ; then
einfo "Server tests not available on non-native abi".
return 0;
fi
local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
local retstatus_unit
local retstatus_tests
# Bug #213475 - MySQL _will_ object strenously if your machine is named
# localhost. Also causes weird failures.
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
if use server ; then
if [[ $UID -eq 0 ]]; then
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
fi
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
addpredict /this-dir-does-not-exist/t9.MYI
# Run CTest (test-units)
cmake-utils_src_test
retstatus_unit=$?
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
# Ensure that parallel runs don't die
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
# Enable parallel testing, auto will try to detect number of cores
# You may set this by hand.
# The default maximum is 8 unless MTR_MAX_PARALLEL is increased
export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
# create directories because mysqladmin might right out of order
mkdir -p "${T}"/var-tests{,/log}
# Create a symlink to provided binaries so the tests can find them when client-libs is off
if ! use client-libs ; then
ln -srf /usr/bin/my_print_defaults "${BUILD_DIR}/client/my_print_defaults" || die
ln -srf /usr/bin/perror "${BUILD_DIR}/client/perror" || die
mysql-multilib_disable_test main.perror "String mismatch due to not building local perror"
fi
# These are failing in Percona 5.6 for now and are believed to be
# false positives:
#
# main.information_schema, binlog.binlog_statement_insert_delayed,
# main.mysqld--help-notwin, binlog.binlog_mysqlbinlog_filter
# perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt
# funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers
# engines/funcs.db_alter_character_set engines/funcs.db_alter_character_set_collate
# engines/funcs.db_alter_collate_ascii engines/funcs.db_alter_collate_utf8
# engines/funcs.db_create_character_set engines/funcs.db_create_character_set_collate
# fails due to USE=-latin1 / utf8 default
#
# main.mysql_client_test:
# segfaults at random under Portage only, suspect resource limits.
#
# main.percona_bug1289599
# Looks to be a syntax error in the test file itself
#
# main.variables main.myisam main.merge_recover
# fails due to ulimit not able to open enough files (needs 5000)
#
# main.mysqlhotcopy_archive main.mysqlhotcopy_myisam
# Called with bad parameters should be reported upstream
#
for t in main.mysql_client_test \
binlog.binlog_statement_insert_delayed main.information_schema \
main.mysqld--help-notwin binlog.binlog_mysqlbinlog_filter \
perfschema.binlog_edge_mix perfschema.binlog_edge_stmt \
funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers \
main.variables main.myisam main.merge_recover \
engines/funcs.db_alter_character_set engines/funcs.db_alter_character_set_collate \
engines/funcs.db_alter_collate_ascii engines/funcs.db_alter_collate_utf8 \
engines/funcs.db_create_character_set engines/funcs.db_create_character_set_collate \
main.percona_bug1289599 main.mysqlhotcopy_archive main.mysqlhotcopy_myisam ; do
mysql-multilib_disable_test "$t" "False positives in Gentoo"
done
# Run mysql tests
pushd "${TESTDIR}"
# Set file limits higher so tests run
ulimit -n 3000
# run mysql-test tests
# We skip the innodb_stress suite because it depends on python2 being system python
perl mysql-test-run.pl --force --vardir="${T}/var-tests" \
--testcase-timeout=30 --reorder \
--skip-test=innodb_stress
retstatus_tests=$?
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
popd
# Cleanup is important for these testcases.
pkill -9 -f "${S}/ndb" 2>/dev/null
pkill -9 -f "${S}/sql" 2>/dev/null
failures=""
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
[[ -z "$failures" ]] || die "Test failures: $failures"
einfo "Tests successfully completed"
else
einfo "Skipping server tests due to minimal build."
fi
}

View file

@ -1,9 +1,9 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
MY_EXTRAS_VER="20151105-2051Z"
EAPI="6"
MY_EXTRAS_VER="20160307-1854Z"
SUBSLOT="18"
PYTHON_COMPAT=( python2_7 )
inherit python-any-r1 mysql-multilib-r1
@ -30,6 +30,19 @@ RDEPEND="${COMMON_DEPEND}"
REQUIRED_USE="tokudb? ( jemalloc ) tokudb-backup-plugin? ( tokudb )"
MY_PATCH_DIR="${WORKDIR}/mysql-extras-${MY_EXTRAS_VER}"
PATCHES=(
"${MY_PATCH_DIR}"/01050_all_mysql_config_cleanup-5.6.patch
"${MY_PATCH_DIR}"/02040_all_embedded-library-shared-5.5.10.patch
"${MY_PATCH_DIR}"/20001_all_fix-minimal-build-cmake-mysql-5.6.20.patch
"${MY_PATCH_DIR}"/20006_all_cmake_elib-percona-5.6.29.patch
"${MY_PATCH_DIR}"/20007_all_cmake-debug-werror-5.6.22.patch
"${MY_PATCH_DIR}"/20008_all_mysql-tzinfo-symlink.patch
"${MY_PATCH_DIR}"/20009_all_mysql_myodbc_symbol_fix-5.6.patch
"${MY_PATCH_DIR}"/20018_all_percona-server-5.6.25-without-clientlibs-tools.patch
)
# Please do not add a naive src_unpack to this ebuild
# If you want to add a single patch, copy the ebuild to an overlay
# and create your own mysql-extras tarball, looking at 000_index.txt

View file

@ -5,8 +5,10 @@ DIST go-msgpack-fa3f63826f7c23912c15263591e65d54d080b458.tar.gz 49488 SHA256 eef
DIST go-protobuf-0_pre20150809.tar.gz 151982 SHA256 160ad98eb1477492476ba566d218262fe6d326410d5a030c6a00433eaf7f9006 SHA512 04802b8d74ccaa17f9fc030badd0e74b6e47233ca5f1faab7c49f25bef2f06efd97aa4bf3f4783a7815958354744ddb9fee96d183aebbb03864069b0cc569564 WHIRLPOOL f49157a4a1a48c67b72ed38121ba28aec3f9b3405a3388097caba36643715c14b6915f9bcbd04f974fa98e9f2c4c4a4e313480ef307701c0ace734e9c214c010
DIST go-raft-75a23dbefaeea0be2869de087c2cd3379e84c424.tar.gz 39529 SHA256 9525aa5fb9b2f8ccd90e7046c182dfb658340dd7d87d33c956685aa2abb17c38 SHA512 a66ef6c72c6c4b7c857e6da95f8600435dc5586148a7ec7adedcc08b454898d1577dab3dc2048e8a3367af5d3a25cb16b042e19643d1b707dfbaf324c5c631bc WHIRLPOOL 23adb88a0048b8406ed02baf5a2089059f7c1e2ca1d360f08507635ed76d3a155b31473bcb40716280483cfdf3d95992ba5f3df83da3f8eadeaf6892b932963c
DIST go-sqlite3-1.1.0_p20160131.tar.gz 1847546 SHA256 d743a044d7ee88b2783f5a15f22b47ffdaa478c0b258babc3c621ce347955bb8 SHA512 9596012111b23865191904b7b0817ddbd88fc61383a3dfcf737d3d1be95c1a1d57b779ffbb9fa83303245a992c56e427396ffccb759a440822fffa516cae0b3d WHIRLPOOL a54021a0b8deb4fd28f44e45e8c78b896ef1121e4a23eb5fe6877b259c37456a6fb4fad77300a079fc3357a14b52d0b0750286a6f15431bdfefd17a99791c7c4
DIST go-sqlite3-1.1.0_p20160307.tar.gz 1847839 SHA256 f3551d37bb2a485ef2c62c205bb104e6a19e25e3854e0106575db94891eba656 SHA512 e4613f8c18c4f5c60b09facfd6f6c36e14029538eef6deef94d57d0c0aeeed86023f36ed0fb0b7e5340ecbaad4f9b5815c5182cc19f85f52349610caaa998665 WHIRLPOOL 1eab66203e336c8081d18ba27f5aa706fc04d6c1d2b1e270457ca29d7785a3d77b36565f2b94003986a83a12618e3ffd376d8a38dee45af4c98219dce3fc69bf
DIST gorilla-context-1c83b3eabd45b6d76072b66b746c20815fb2872d.tar.gz 4263 SHA256 f4cc863669fbf9251fd249b060d61f6678a1dd6a72fc31ca5a7e93a6314a0e0f SHA512 70be60b8981beada4a5992b43edb2205852e7f6ea50c2c9020af43593f666a67765f013b6ea0adc6ccbb4348a6857b82521a5040fea8a0f3c8a5a240729372ee WHIRLPOOL e80aca1f5eec967ed0434374841b2762e26c9537217f976d006c8ca0c0e55a6567eaa6e8500dbcd0f26a6b65dcf15bbd5d494b3530bdfafe5d30302fca0248af
DIST gorilla-mux-26a6070f849969ba72b72256e9f14cf519751690.tar.gz 23501 SHA256 236a2e8e99d32a4a9e1c20a6f55d877a1d0e98916e69e115befcd102fba4e6a9 SHA512 29dd57afadb59bb9a6dbe66a47e6f414b6be650e205d21e367abda8b06342550dac322d61787e61855380545d7706ad15eff6b96cf718890aee03a2b5182a023 WHIRLPOOL ffeb4f358d97cef77130187ef22e51ca1a24280bcfe4dc4fe00f04c1d6ba61aa59b61f364e4ccd361f293715aa66fc922324a624ed6b7cc8845d518a504eb9d1
DIST hashicorp-boltdb-d1e82c1ec3f15ee991f7cc7ffd5b67ff6f5bbaee.tar.gz 8881 SHA256 490ced07cc72baede9b997dcf92499fa0d4298926fbc51ee632bde3d3ea0979e SHA512 4f98cf8cf375561f255822cbd21b6926d3bd12ff2a1d9307b59ce5e12628034f197f6efc85d9cc9cf951eac7402b36954c2ea686bb033075ec840106614f2039 WHIRLPOOL 337d399c6b73893bb72d77a77e6b2c7b5ee914d191b719dec13f72975c0a4ece1ee6a902d32197bbf0f0300bdc3ce8efda082363a1e79a7d3f2d8aec6eb2d436
DIST hashicorp-raft-057b893fd996696719e98b6c44649ea14968c811.tar.gz 60617 SHA256 0a97044468f5a7b0640296c0bf25c9b66c2f78a6df9fdd8bf8ea5d624549ea93 SHA512 cc98717d405e3ee2479d44d79a98228faba3ca3ff41064490dde7555ca35bc65d3a8765778298fd0372b6a8afd0b00e5a557b8ad736709a0534c3fc85f61f3d7 WHIRLPOOL 74fd868a541d356284482c4af37b8affd61bf9588ec8c8f631cdb65d5c019cb5e4c78472b2fe111b137bf3aaf414c49c994e03a08522342047cd140df20986c6
DIST rqlite-1.0.tar.gz 18658 SHA256 ab282d373963bd50acf32fad89e250b40c2b3f015ddfb98ac45103054a1f7ec5 SHA512 a45f1c1dee1890ce557068b1080605fc32ddc909a45ee6edc6593ae6daa610b967b3fd5ab4e91cd6189d75ff824876bbd52006c5b3e392b48d35a612d708dd7a WHIRLPOOL 759e4f17a3552d2293c548d85136f872187bdb928f341bf84b51f902c56638690534d72b968a393676d3ce09bed9c371d67692c6b16e772f5a3624442682d5d1
DIST rqlite-2.0_pre20160308.tar.gz 19443 SHA256 597afba704194e1b3a70431184057f41f57a541a59c92d5ebacf9a96762d70b6 SHA512 7361dc3b3a41d905845bbb250ae3ad7d83a50eea09044b5297fad031ecc165b35ba59e4f6ed06975d6a9936545e9c8e60e0e605d1ec09c2096f1a00d77033e74 WHIRLPOOL 8a19fa0694980df16021bac4fcee576d87e98d40c740c23506dbc16fa6ee1f24dcb925315639fd4fa7c7cc574391adc46e216a8270e13779f545808ff81c39a7

View file

@ -0,0 +1,95 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
if [[ ${PV} == *9999* ]]; then
inherit git-r3
fi
inherit golang-build
KEYWORDS="~amd64"
DESCRIPTION="Replicated SQLite using the Raft consensus protocol "
EGO_PN="github.com/otoolep/rqlite/..."
HOMEPAGE="https://${EGO_PN%/*} http://www.philipotoole.com/replicating-sqlite-using-raft-consensus"
LICENSE="MIT"
SLOT="0/${PVR}"
IUSE=""
RESTRICT="test"
EGIT_REPO_URI="https://github.com/otoolep/rqlite.git"
EGIT_COMMIT="f65218201d46804e52459301b1e6c8a3af2c21ad"
SRC_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
https://github.com/armon/go-metrics/archive/345426c77237ece5dab0e1605c3e4b35c3f54757.tar.gz -> go-metrics-345426c77237ece5dab0e1605c3e4b35c3f54757.tar.gz
https://github.com/boltdb/bolt/archive/2f846c3551b76d7710f159be840d66c3d064abbe.tar.gz -> bolt-2f846c3551b76d7710f159be840d66c3d064abbe.tar.gz
https://github.com/hashicorp/go-msgpack/archive/fa3f63826f7c23912c15263591e65d54d080b458.tar.gz -> go-msgpack-fa3f63826f7c23912c15263591e65d54d080b458.tar.gz
https://github.com/hashicorp/raft/archive/057b893fd996696719e98b6c44649ea14968c811.tar.gz -> hashicorp-raft-057b893fd996696719e98b6c44649ea14968c811.tar.gz
https://github.com/hashicorp/raft-boltdb/archive/d1e82c1ec3f15ee991f7cc7ffd5b67ff6f5bbaee.tar.gz -> hashicorp-boltdb-d1e82c1ec3f15ee991f7cc7ffd5b67ff6f5bbaee.tar.gz
https://github.com/mattn/go-sqlite3/archive/10876d7dac65f02064c03d7372a2f1dfb90043fe.tar.gz -> go-sqlite3-1.1.0_p20160307.tar.gz"
get_archive_go_package() {
local archive=${1} uri x
for x in ${SRC_URI}; do
if [[ ${x} == http* ]]; then
uri=${x}
elif [[ ${x} == ${archive} ]]; then
break
fi
done
uri=${uri#https://}
echo ${uri%/archive/*}
}
unpack_go_packages() {
local go_package x
# Unpack packages to appropriate locations for GOPATH
for x in ${A}; do
unpack ${x}
if [[ ${x} == *.tar.gz ]]; then
go_package=$(get_archive_go_package ${x})
if [[ ${x%.tar.gz} -ef ${S} ]]; then
mv "${S}"{,_} || die
mkdir -p "${S}/src/${go_package%/*}" || die
mv "${S}"_ "${S}/src/${go_package}" || die || die
else
mkdir -p "${S}/src/${go_package%/*}" || die
for x in "${go_package##*/}"-*; do
if [[ ! ${x} -ef ${S} ]]; then
mv "${x}" "${S}/src/${go_package}" || die
fi
done
fi
fi
done
}
src_unpack() {
if [[ ${PV} == *9999* ]]; then
git-r3_src_unpack
mv "${S}"{,_} || die
mkdir -p "$(dirname "${S}/src/${EGO_PN%/*}")" || die
mv "${S}_" "${S}/src/${EGO_PN%/*}" || die
fi
unpack_go_packages
}
src_compile() {
# Omit $(get_golibdir_gopath) from GOPATH, in order to avoid
# interference from installed rqlite sources.
GOPATH="${WORKDIR}/${P}" \
go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die
}
src_install() {
golang_install_pkgs
}
golang_install_pkgs() {
dobin bin/${PN}d
insinto $(dirname "${EPREFIX}$(get_golibdir)/src/${EGO_PN%/*}")
rm -rf "${S}"/src/${EGO_PN%/*}/.git*
doins -r "${S}"/src/${EGO_PN%/*}
insinto $(dirname "${EPREFIX}$(get_golibdir)/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}")
doins -r "${S}"/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}{,.a}
dodoc "${S}/src/${EGO_PN%/*}/README.md"
}

View file

@ -18,14 +18,14 @@ SLOT="0/${PVR}"
IUSE=""
RESTRICT="test"
EGIT_REPO_URI="https://github.com/otoolep/rqlite.git"
#EGIT_COMMIT="57e7b2b1aef8de4b6d9a78a49de2fd25c3820556"
#EGIT_COMMIT="f65218201d46804e52459301b1e6c8a3af2c21ad"
SRC_URI="
https://github.com/armon/go-metrics/archive/345426c77237ece5dab0e1605c3e4b35c3f54757.tar.gz -> go-metrics-345426c77237ece5dab0e1605c3e4b35c3f54757.tar.gz
https://github.com/boltdb/bolt/archive/2f846c3551b76d7710f159be840d66c3d064abbe.tar.gz -> bolt-2f846c3551b76d7710f159be840d66c3d064abbe.tar.gz
https://github.com/hashicorp/go-msgpack/archive/fa3f63826f7c23912c15263591e65d54d080b458.tar.gz -> go-msgpack-fa3f63826f7c23912c15263591e65d54d080b458.tar.gz
https://github.com/hashicorp/raft/archive/057b893fd996696719e98b6c44649ea14968c811.tar.gz -> hashicorp-raft-057b893fd996696719e98b6c44649ea14968c811.tar.gz
https://github.com/hashicorp/raft-boltdb/archive/d1e82c1ec3f15ee991f7cc7ffd5b67ff6f5bbaee.tar.gz -> hashicorp-boltdb-d1e82c1ec3f15ee991f7cc7ffd5b67ff6f5bbaee.tar.gz
https://github.com/mattn/go-sqlite3/archive/c5aee9649735e8dadac55eb968ccebd9fa29a881.tar.gz -> go-sqlite3-1.1.0_p20160131.tar.gz"
https://github.com/mattn/go-sqlite3/archive/10876d7dac65f02064c03d7372a2f1dfb90043fe.tar.gz -> go-sqlite3-1.1.0_p20160307.tar.gz"
get_archive_go_package() {
local archive=${1} uri x
@ -90,6 +90,6 @@ golang_install_pkgs() {
rm -rf "${S}"/src/${EGO_PN%/*}/.git*
doins -r "${S}"/src/${EGO_PN%/*}
insinto $(dirname "${EPREFIX}$(get_golibdir)/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}")
doins -r "${S}"/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}
doins -r "${S}"/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}{,.a}
dodoc "${S}/src/${EGO_PN%/*}/README.md"
}

View file

@ -1 +1,2 @@
DIST go-sqlite3-1.1.0_p20160131.tar.gz 1847546 SHA256 d743a044d7ee88b2783f5a15f22b47ffdaa478c0b258babc3c621ce347955bb8 SHA512 9596012111b23865191904b7b0817ddbd88fc61383a3dfcf737d3d1be95c1a1d57b779ffbb9fa83303245a992c56e427396ffccb759a440822fffa516cae0b3d WHIRLPOOL a54021a0b8deb4fd28f44e45e8c78b896ef1121e4a23eb5fe6877b259c37456a6fb4fad77300a079fc3357a14b52d0b0750286a6f15431bdfefd17a99791c7c4
DIST go-sqlite3-1.1.0_p20160307.tar.gz 1847839 SHA256 f3551d37bb2a485ef2c62c205bb104e6a19e25e3854e0106575db94891eba656 SHA512 e4613f8c18c4f5c60b09facfd6f6c36e14029538eef6deef94d57d0c0aeeed86023f36ed0fb0b7e5340ecbaad4f9b5815c5182cc19f85f52349610caaa998665 WHIRLPOOL 1eab66203e336c8081d18ba27f5aa706fc04d6c1d2b1e270457ca29d7785a3d77b36565f2b94003986a83a12618e3ffd376d8a38dee45af4c98219dce3fc69bf

View file

@ -0,0 +1,35 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit golang-build golang-vcs-snapshot
EGO_PN="github.com/mattn/go-sqlite3/..."
EGIT_COMMIT="10876d7dac65f02064c03d7372a2f1dfb90043fe"
ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
DESCRIPTION="Go sqlite3 driver using database/sql"
HOMEPAGE="https://${EGO_PN%/*}"
SRC_URI="${ARCHIVE_URI}"
LICENSE="MIT"
SLOT="0/${PVR}"
IUSE=""
src_compile() {
GOPATH="${S}" \
go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die
}
src_install() {
golang_install_pkgs
}
golang_install_pkgs() {
insinto $(dirname "${EPREFIX}$(get_golibdir)/src/${EGO_PN%/*}")
rm -rf "${S}"/src/${EGO_PN%/*}/.git*
doins -r "${S}"/src/${EGO_PN%/*}
insinto $(dirname "${EPREFIX}$(get_golibdir)/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}")
doins -r "${S}"/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}{,.a}
}

View file

@ -0,0 +1 @@
DIST jboss-marshalling-river-1.3.0.CR9-sources.jar 45310 SHA256 fa824ab4683b2da1094c367cc080bae290192aeb6669c6bf9cc88fadb326221f SHA512 0ff0ba48f8e4c1e76d378843aeae4793992fc200cf6d5aeeeec7341ddcd6bc3c93915ccb2bddbf3996661ff21e3a992e232c0721ec4469c5347811afabec4351 WHIRLPOOL af60ec5bc253fac4ea7adbd2b3c3ca5aafd79f6acbe590886b0411ef9e7f2a6f1561c5b095de04115b7c084d8bf987ecae17a080bc66e0be8fe0be640366de7f

View file

@ -0,0 +1,32 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="River protocol implementation for JBoss Marshalling"
HOMEPAGE="http://jbossmarshalling.jboss.org/"
SRC_URI="http://download.jboss.org/jbossmarshalling/${P}.CR9-sources.jar"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
CDEPEND="~dev-java/jboss-marshalling-${PV}:0"
RDEPEND="${CDEPEND}
>=virtual/jre-1.7"
DEPEND="${CDEPEND}
>=virtual/jdk-1.7
app-arch/unzip"
JAVA_GENTOO_CLASSPATH="jboss-marshalling"
src_compile() {
java-pkg-simple_src_compile
java-pkg_addres ${PN}.jar .
}

View file

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

View file

@ -0,0 +1 @@
DIST jboss-marshalling-serial-1.3.0.CR9-sources.jar 33627 SHA256 fedfc790152ec146bc5cfa21be0f3cc1fe717868902a91e8eea5bdfd6485123b SHA512 23343b43d2d81fb3f9d22e82d04e3c215cf0357fe369ac316a602b4599f84602bdd38fd50c8378050b1d031db2ad31405fc38bc93ef7a9327d63a29dd73ee144 WHIRLPOOL 8e222eeea47ee69f155cb446c4fdbcc615697ba2aae8eff3897dd1bb07c05c4a670eb24df0447439893ba284498156dc4a6bd692d4443cca7485f199cda761ec

View file

@ -0,0 +1,32 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Serial protocol implementation for JBoss Marshalling"
HOMEPAGE="http://jbossmarshalling.jboss.org/"
SRC_URI="http://download.jboss.org/jbossmarshalling/${P}.CR9-sources.jar"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
CDEPEND="~dev-java/jboss-marshalling-${PV}:0"
RDEPEND="${CDEPEND}
>=virtual/jre-1.7"
DEPEND="${CDEPEND}
>=virtual/jdk-1.7
app-arch/unzip"
JAVA_GENTOO_CLASSPATH="jboss-marshalling"
src_compile() {
java-pkg-simple_src_compile
java-pkg_addres ${PN}.jar .
}

View file

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

View file

@ -0,0 +1,27 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Compatible alternative to the JDK serialization API"
HOMEPAGE="http://jbossmarshalling.jboss.org/"
SRC_URI="http://download.jboss.org/jbossmarshalling/${P}.CR9-sources.jar"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
CDEPEND="dev-java/jboss-modules:0"
RDEPEND="${CDEPEND}
>=virtual/jre-1.7"
DEPEND="${CDEPEND}
>=virtual/jdk-1.7
app-arch/unzip"
JAVA_GENTOO_CLASSPATH="jboss-modules"

View file

@ -10,7 +10,7 @@ inherit eutils toolchain-funcs
SRC_URI="https://storage.googleapis.com/golang/go${PV}.src.tar.gz"
# Upstream only supports go on amd64, arm and x86 architectures.
KEYWORDS="-* amd64 arm ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-macos ~x64-solaris"
KEYWORDS="-* amd64 arm x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-macos ~x64-solaris"
DESCRIPTION="Version of go compiler used for bootstrapping"
HOMEPAGE="http://www.golang.org"

View file

@ -7,6 +7,5 @@ DIST go-linux-arm-bootstrap.tbz 46055976 SHA256 a44e33b95046e01fd7125c3cc3c34b13
DIST go-linux-arm64-bootstrap.tbz 45369354 SHA256 810c998e6701580fe0f26d46c5796eefce648e252ff9d6d761304e60556b7fc0 SHA512 3f64869430c03efa77796ed74d07a337e2a205802485605cbdd67778a08e5ce041ce3925b7a5cca0a6b4ad24ab70e07ee54091b010f67ec7370a985022f5a21e WHIRLPOOL f6f470081d5f23c190310280aaf7454a4f58fe4e7545bbd219046711f8d27ce97cc5f5f1c207e777067d1f6332e4b3f2c819b178e899d21c2d5d1d466a42cc37
DIST go-linux-ppc64-bootstrap.tbz 45266082 SHA256 89902cebaf93b95dea225b7304eedcae101d6fb83bba0fcdfee001361b4868c0 SHA512 d013a1a5953207505a9f7e0c5cfdc7f463d4669fd18b36cf1df10126e9d4c012252bc4d207dd4503c34301e76197d8e89a9ed9d9d0b8a3b54b62e782b4c39d7b WHIRLPOOL 3ec868d94e8452a3cdb49a1292f9f32ebeb813ea297e419849cdee28c8d952887feb70e1095ce109ff6b8bb81dee47b7eb6f275b15bb6f46422095c3b260f968
DIST go-solaris-amd64-bootstrap.tbz 48367195 SHA256 92ebdbf001f243a78a6c2d8ee30e929ba2cecbedf8e0fc07e129b04b107453ad SHA512 cf8725db0d001d61badee71624799a3c9e75f61f77ab090c1f6c490d694c4be367019b28d88306045d877ab5a324a1f9b0674293caf3acb19c193fc3746a48f2 WHIRLPOOL 672c6642e340b6d4f38b633f67fdc3202e3725022a8a61e2129276fccd6c42ddc24ed06c1d57eb31a25ea8056b79686619cbb36431b9c23b6d4be5bcb715bd89
DIST go1.4.2.src.tar.gz 10921896 SHA256 299a6fd8f8adfdce15bc06bde926e7b252ae8e24dd5b16b7d8791ed79e7b5e9b SHA512 cda1a29d4418875dffaf3324004ddae8e1bbb573f7668e6e0c03d8b61284f4db7fca244c181f2859f8ccdd3db6391fb21e0d98a1a9fc15096c15883249d48a9c WHIRLPOOL d06c27f6ff3a6499a6c7cb3c5eccd53eb588896c4d837e1fe9855c22ee3caa5cc48fd68cbeceff105b7c47fafbbf0eb3dc28ee3af7196692c5bf18511c6760ef
DIST go1.5.3.src.tar.gz 12057623 SHA256 754e06dab1c31ab168fc9db9e32596734015ea9e24bc44cae7f237f417ce4efe SHA512 b348832ea7cb095cf793960cf9f4da5e9f6ca8de7b5262bb819de97efea4835643e30a18efd4a82d01ea3854a1905af9e134271716c4b68c9d2a8f6e15f65ff0 WHIRLPOOL aec869ec6af62601f6b83283417eef739141f99be938d419ef4a553028141e05ded7777fdff2a2d1a3e35e4976e4ec96a301b4875c509a370848d0df5dc9e0c8
DIST go1.6.src.tar.gz 12613308 SHA256 a96cce8ce43a9bf9b2a4c7d470bc7ee0cb00410da815980681c8353218dcf146 SHA512 59e9d72a80558fd5e3f176e068897a45333b36e35f6c00393647941a70e741168e65941b6059397378020c3b78ec3471a48809682f7efd97cf33eec6325fc3e8 WHIRLPOOL c6debe1a5039f0ca34c29b4a53f958503a724cae13715ea14f0237b5faacd26e09eb6405462e22abd6806540dd8fb9eb2fa08ff6e8676b0f6dffa267210f5eac

View file

@ -1,128 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
export CTARGET=${CTARGET:-${CHOST}}
inherit eutils toolchain-funcs
if [[ ${PV} = 9999 ]]; then
EGIT_REPO_URI="git://github.com/golang/go.git"
inherit git-r3
else
SRC_URI="https://storage.googleapis.com/golang/go${PV}.src.tar.gz"
# Upstream only supports go on amd64, arm and x86 architectures.
KEYWORDS="-* amd64 arm x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-macos ~x64-solaris"
fi
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
HOMEPAGE="http://www.golang.org"
LICENSE="BSD"
SLOT="0"
IUSE=""
DEPEND=""
RDEPEND=""
# These test data objects have writable/executable stacks.
QA_EXECSTACK="
usr/lib/go/src/debug/elf/testdata/go-relocation-test-gcc482-aarch64.obj
usr/lib/go/src/debug/elf/testdata/gcc-amd64-openbsd-debug-with-rela.obj"
REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*"
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
# The go language uses *.a files which are _NOT_ libraries and should not be
# stripped.
STRIP_MASK="/usr/lib/go/pkg/linux*/*.a /usr/lib/go/pkg/freebsd*/*.a /usr/lib/go/pkg/darwin*/*.a"
if [[ ${PV} != 9999 ]]; then
S="${WORKDIR}"/go
fi
src_prepare()
{
if [[ ${PV} != 9999 ]]; then
sed -i -e 's#"-Werror",##g' src/cmd/dist/build.c ||
die "sed failed"
fi
epatch_user
}
src_compile()
{
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
export GOROOT="$(pwd)"
export GOBIN="${GOROOT}/bin"
if [[ $CTARGET = armv5* ]]
then
export GOARM=5
fi
tc-export CC
cd src
./make.bash || die "build failed"
}
src_test()
{
cd src
PATH="${GOBIN}:${PATH}" \
./run.bash --no-rebuild --banner || die "tests failed"
}
src_install()
{
dobin bin/*
dodoc AUTHORS CONTRIBUTORS PATENTS README
dodir /usr/lib/go
insinto /usr/lib/go
# There is a known issue which requires the source tree to be installed [1].
# Once this is fixed, we can consider using the doc use flag to control
# installing the doc and src directories.
# [1] https://golang.org/issue/2775
doins -r doc include lib pkg src
fperms -R +x /usr/lib/go/pkg/tool
}
pkg_preinst()
{
has_version '<dev-lang/go-1.4' &&
export had_support_files=true ||
export had_support_files=false
}
pkg_postinst()
{
# If the go tool sees a package file timestamped older than a dependancy it
# will rebuild that file. So, in order to stop go from rebuilding lots of
# packages for every build we need to fix the timestamps. The compiler and
# linker are also checked - so we need to fix them too.
ebegin "fixing timestamps to avoid unnecessary rebuilds"
tref="usr/lib/go/pkg/*/runtime.a"
find "${EROOT}"usr/lib/go -type f \
-exec touch -r "${EROOT}"${tref} {} \;
eend $?
if [[ ${PV} != 9999 && -n ${REPLACING_VERSIONS} &&
${REPLACING_VERSIONS} != ${PV} ]]; then
elog "Release notes are located at http://golang.org/doc/go1.4"
fi
if $had_support_files; then
ewarn
ewarn "All editor support, IDE support, shell completion"
ewarn "support, etc has been removed from the go package"
ewarn "upstream."
ewarn "For more information on which support is available, see"
ewarn "the following URL:"
ewarn "https://github.com/golang/go/wiki/IDEsAndTextEditorPlugins"
fi
}

View file

@ -16,7 +16,7 @@ else
SRC_URI="https://storage.googleapis.com/golang/go${PV}.src.tar.gz"
# go-bootstrap-1.4 only supports go on amd64, arm and x86 architectures.
# Allowing other bootstrap options would enable arm64 and ppc64 builds.
KEYWORDS="-* amd64 arm ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-macos ~x64-solaris"
KEYWORDS="-* amd64 arm x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-macos ~x64-solaris"
fi
DESCRIPTION="A concurrent garbage collected and typesafe programming language"

View file

@ -1,2 +1,3 @@
DIST orc-0.4.23.tar.xz 450076 SHA256 767eaebce2941737b43368225ec54598b3055ca78b4dc50c4092f5fcdc0bdfe7 SHA512 e12bca0dcc7230da825834f50b88ff531a6aed83a29ccc5b57e969adb1af7ceb2c1d4dd04cd248e38db92fded6edc809c7deba42cd1ddeacd62b0e922950d92e WHIRLPOOL 62df2cbc9943b7c7e625519d0f16bf1becbce78b26ccaebbc315ac43f2ceee689b6ad6632ce5e49123aa59d97ec73c3268a3fd6b81f94ca4dcf97de7a3a222e5
DIST orc-0.4.24.tar.xz 455880 SHA256 338cd493b5247300149821c6312bdf7422a3593ae98691fc75d7e4fe727bd39b SHA512 f40f692873a4fa506379a1b9e3ed1d329ee42470fb0b083aec5f993c1b6f756e63b772dbf664ca3328531c2f9be141ca43ed79a49572c1f02d82f85aa4306216 WHIRLPOOL 2d41972933ede160a9b85f6ed2ee4aabefc51557f2f65d30f9c65b32e4fcc6e14b8bf55609859b5084997bdc875a1249114de31ec59d944e993fc9e2f0651bc1
DIST orc-0.4.25.tar.xz 467184 SHA256 c1b1d54a58f26d483f0b3881538984789fe5d5460ab8fab74a1cacbd3d1c53d1 SHA512 13f636e3ab86e725e15f885462db1944744b8389f263b7afa2279c0e68fb8e71344a646ecb8b7a7fce03e93ab78351a1b79d5eaef106ab8e1d808e82b514316a WHIRLPOOL 4d186f632a828856f73d8174aaea4ac60f4e9d8accbba65da50e8348f06748ea3961fab697f5c44d883711399f7b7af8a46aeecb8d594cc5f1225580c6091011

View file

@ -0,0 +1,55 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit autotools-multilib flag-o-matic gnome2-utils pax-utils
DESCRIPTION="The Oil Runtime Compiler, a just-in-time compiler for array operations"
HOMEPAGE="http://gstreamer.freedesktop.org/"
SRC_URI="http://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz"
LICENSE="BSD BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="examples pax_kernel static-libs"
RDEPEND=""
DEPEND="${RDEPEND}
app-arch/xz-utils
>=dev-util/gtk-doc-am-1.12
"
src_prepare() {
if ! use examples; then
sed -e '/SUBDIRS/ s:examples::' \
-i Makefile.am Makefile.in || die
fi
gnome2_environment_reset #556160
}
src_configure() {
# any optimisation on PPC/Darwin yields in a complaint from the assembler
# Parameter error: r0 not allowed for parameter %lu (code as 0 not r0)
# the same for Intel/Darwin, although the error message there is different
# but along the same lines
[[ ${CHOST} == *-darwin* ]] && filter-flags -O*
autotools-multilib_src_configure
}
src_install() {
autotools-multilib_src_install
if use pax_kernel; then
pax-mark m "${ED}"usr/bin/orc-bugreport
pax-mark m "${ED}"usr/bin/orcc
pax-mark m "${ED}"usr/$(get_libdir)/liborc*.so*
fi
}
pkg_postinst() {
if use pax_kernel; then
ewarn "Please run \"revdep-pax\" after installation".
ewarn "It's provided by sys-apps/elfix."
fi
}

View file

@ -1,4 +1,4 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -23,7 +23,7 @@ DEPEND=">=www-servers/apache-2.2.9
postgres? ( dev-perl/DBD-Pg )
virtual/perl-Digest-MD5
dev-perl/JSON-XS
dev-perl/net-server
dev-perl/Net-Server
dev-perl/UNIVERSAL-require
dev-perl/Unix-Syslog
dev-perl/XML-LibXML

View file

@ -1,4 +1,4 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -25,7 +25,7 @@ DEPEND=">=www-servers/apache-2.2.9
postgres? ( dev-perl/DBD-Pg )
virtual/perl-Digest-MD5
dev-perl/JSON-XS
dev-perl/net-server
dev-perl/Net-Server
dev-perl/UNIVERSAL-require
dev-perl/Unix-Syslog
dev-perl/XML-LibXML

View file

@ -1,5 +1,5 @@
DIST boost_1_55_0.tar.bz2 58146647 SHA256 fff00023dd79486d444c8e29922f4072e1d451fc5a4d2b6075852ead7f2b7b52 SHA512 dc606477f4c303e8f40de2586c16394b6d758e198b35bf3a7d3e576a2f49171aadc4f95e8d685fa731bc4e61e19869d5a24e1e816febfca9de078d66e096e041 WHIRLPOOL 6ae111d6a956651bd91914432b743faffeb466703191b05193db47f02fd3528a14ce200f26c1ab77bf2c68994eb5b135b0176f66a746964d334b4793ba113ad5
DIST boost_1_56_0.tar.bz2 94777674 SHA256 134732acaf3a6e7eba85988118d943f0fa6b7f0850f65131fff89823ad30ff1d SHA512 1ce9871c3a2519682538a5f1331938b948123432d99aea0ce026958cbebd25d84019a3a28c452724b9693df98a8d1264bb2d93d2fee508453f8b42836e67481e WHIRLPOOL e9e9bb965816b687141d55bc026e378a56ed577a2bf0bdad61a1736e7f11d1797e0cac0185a1fa25b6c4b9fe1f75cbb0bb73a5ea05e84d59385bb3b17a90fd12
DIST boost_1_57_0.tar.bz2 60821561 SHA256 910c8c022a33ccec7f088bd65d4f14b466588dda94ba2124e78b8c57db264967 SHA512 61881440fd89644c43c6e3bc6292e9fed75a6d3a76f98654b189d0ed4e1087d77b585884e882270c08bf9f7132b173bfc1fde05848e06aa78ba7f1008d10714d WHIRLPOOL ff092af332434082a774645a5eb42829cdbdac805ef86dccce8988542062901524bd4d5fc890e3a9c01f0a721047501e5d8b13d50ffa5368066c3438dcf719d6
DIST boost_1_58_0.tar.bz2 70394057 SHA256 fdfc204fc33ec79c99b9a74944c3e54bd78be4f7f15e260c0e2700a36dc7d3e5 SHA512 7480ec713b0aa13f0ec990603e87e3b5c8d53f4411329b10fae37fc963b90aad12dbd9290a33c3669ae801e9012a68683eadff057591e9ca2ebcd22b1a67b5d1 WHIRLPOOL 0ed66f7de8b2ac28eda89e2fcadfc5533e6a3887ef7a929610804efa3ca66b850fecafeb61c986d37cb704ec844744e47d08f87e08ea25c779f57cffd26a1be2
DIST boost_1_59_0.tar.bz2 70389425 SHA256 727a932322d94287b62abb1bd2d41723eec4356a7728909e38adb65ca25241ca SHA512 8139e1ae997a86974071c5714ad3307e3d8fd15ef702b81a953410dd4d424b932135f53a0ef4891d9b9b747a38e539e66d6a803388fe0cc98e5166be872d682a WHIRLPOOL ab26f6b770c32320e71806d7f7856b3841917dcc59e0c5ee588fc77d77f11855dda66bfb808dbe0f3f89859b958211439c271401a5b1ad2ea98aa5d377934510
DIST boost_1_60_0.tar.bz2 76553944 SHA256 686affff989ac2488f79a97b9479efb9f2abae035b5ed4d8226de6857933fd3b SHA512 7c851b3fc2b322ff05d642d9cf03e7c30c5f04d5cf0579c99046b1ec708901c58a3d349031dfe24591f5b88c1e664b6a0d40abea6cce89abb52080c02eb725df WHIRLPOOL 828b0797a8b62150ecef5ee13f0e8b8d6b6a0e7365511ec9782d2d8f3a26ac38a98f10876c40d05ea46697c013b1f96f22b3a24c449372520c84bb725059fe48

View file

@ -1,11 +1,11 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
EAPI="6"
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
inherit eutils flag-o-matic multilib multiprocessing python-r1 toolchain-funcs versionator multilib-minimal
inherit eutils flag-o-matic multiprocessing python-r1 toolchain-funcs versionator multilib-minimal
MY_P="${PN}_$(replace_all_version_separators _)"
MAJOR_V="$(get_version_component_range 1-2)"
@ -20,8 +20,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~spa
IUSE="context debug doc icu +nls mpi python static-libs +threads tools"
RDEPEND="abi_x86_32? ( !app-emulation/emul-linux-x86-cpplibs[-abi_x86_32(-)] )
icu? ( >=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
RDEPEND="icu? ( >=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
!icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
mpi? ( virtual/mpi[cxx,threads] )
python? ( ${PYTHON_DEPS} )
@ -120,15 +119,13 @@ src_prepare() {
"${FILESDIR}/${PN}-1.48.0-python_linking.patch" \
"${FILESDIR}/${PN}-1.48.0-disable_icu_rpath.patch" \
"${FILESDIR}/${PN}-1.55.0-context-x32.patch" \
"${FILESDIR}/${PN}-1.55.0-tools-c98-compat.patch" \
"${FILESDIR}/${PN}-1.52.0-threads.patch" \
"${FILESDIR}/${PN}-1.56.0-build-auto_index-tool.patch"
# Do not try to build missing 'wave' tool, bug #522682
# Upstream bugreport - https://svn.boost.org/trac/boost/ticket/10507
sed -i -e 's:wave/build//wave::' tools/Jamfile.v2 || die
epatch_user
eapply_user
multilib_copy_sources
}
@ -262,23 +259,20 @@ multilib_src_install_all() {
if ! use context; then
rm -r "${ED}"/usr/include/boost/context || die
rm -r "${ED}"/usr/include/boost/coroutine || die
rm -r "${ED}"/usr/include/boost/coroutine{,2} || die
rm "${ED}"/usr/include/boost/asio/spawn.hpp || die
fi
if use doc; then
find libs/*/* -iname "test" -or -iname "src" | xargs rm -rf
dohtml \
-A pdf,txt,cpp,hpp \
*.{htm,html,png,css} \
-r doc
dohtml -A pdf,txt -r tools
insinto /usr/share/doc/${PF}/html
doins -r libs
doins -r more
find doc -name Jamfile.v2 -or -name build -or -name *.manifest | xargs rm -f
find tools -name Jamfile.v2 -or -name src -or -name *.cpp -or -name *.hpp | xargs rm -rf
docinto html
dodoc *.{htm,html,png,css}
dodoc -r doc libs more tools
# To avoid broken links
insinto /usr/share/doc/${PF}/html
doins LICENSE_1_0.txt
dodoc LICENSE_1_0.txt
dosym /usr/include/boost /usr/share/doc/${PF}/html/boost
fi

View file

@ -1,4 +1 @@
DIST libqtxdg-0.5.3.tar.xz 52948 SHA256 ce45c0de4f1f5c4587178cc8a1d12561b3d101461c71ce3715ed9d5d6a6ad6f4 SHA512 02211e7fd8fc5db014e642c8222a5bade95eef5da8f60c39567cac5f4da385c7b99b454d68a6c88e211981dd98bcb1d17d53c105dcf3e7b89b17b171af904ec2 WHIRLPOOL 1f4f2bc8e6731c0fbc31dcb0f8264f7aafe329f022a74f4bf43828c8016b8af02077d9dcfd1ee0a574d7441db4ba7676dfd0f431d727059b59ccefd5fbe9b216
DIST libqtxdg-1.1.0.tar.xz 54268 SHA256 5c90989fcd13387cc8a7905a03e0b65f76aa28545cb9733625e1d88fd6ff4002 SHA512 67e47547d5719fa5a2c4f4b6d6f8c0bc285503ed611f1a3e8b1b5e2cf46f18e98d8b1394c1f68d16cbb0b5ec8721934f50401fb36bfae41bef574c4716b9937a WHIRLPOOL 24f4d35d85eabb0ebf53dcf60fee67fbbe72aca54060039d7f2e2418ab77b7f38a9822ed6c4f512bd4d9c5c66a9db5dee30b173e72d9b5bbc998c13496811839
DIST libqtxdg-1.2.0.tar.xz 55704 SHA256 88c9b01b56fea205226b53642833963e4f27471de3b90e93e9b650ca28d098d9 SHA512 f3d6cacc21aec970fcba7de963d4703ec4ed057b0cacacb2458d30260be4ecfaf463e761033eca8c60254dcc83e593e0d722ad6097d837e46434297be0d68398 WHIRLPOOL 01ed25db765faa79973114683808a7c4fa65a05cba32f1221afea0328c77d17589f84af93f4829f95665ecdf55828676c0cab77fb5d0a97eb223338464bf9e26
DIST libqtxdg-1.3.0.tar.xz 52472 SHA256 850cad7c25412f70ccc997d1f3013a788d35deae42d9c1376556dc779ea92a89 SHA512 2cc70c4d779c83afdfd83e6e36f1b9362aa5b2bd8f5d9839880e31c30e317da812e97dfd8d7188816ef60e7e27471b02bf9248b5781b2b81f299040a4a7a5b65 WHIRLPOOL 317a017b5dcfc64f0fbb2f483478dab116881ca717513e9e0ce27d302dcf099cbab01289f140ab02682679a09290e711e139a901a324dc4a7adc581fce425a85

View file

@ -1,38 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit cmake-utils
DESCRIPTION="A Qt implementation of XDG standards"
HOMEPAGE="http://lxqt.org/"
if [[ ${PV} = *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="git://git.lxde.org/git/lxde/${PN}.git"
else
SRC_URI="http://lxqt.org/downloads/${PN}/${PV}/${P}.tar.xz"
KEYWORDS="~amd64 ~arm ~x86"
fi
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="test"
CDEPEND="sys-apps/file
dev-qt/qtcore:4
dev-qt/qtgui:4"
DEPEND="${CDEPEND}
test? ( dev-qt/qttest:4 )"
RDEPEND="${CDEPEND}
x11-misc/xdg-utils"
S=${WORKDIR}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use test BUILD_TESTS)
)
cmake-utils_src_configure
}

View file

@ -1,43 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit cmake-utils
DESCRIPTION="A Qt implementation of XDG standards"
HOMEPAGE="http://lxqt.org/"
if [[ ${PV} = *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="git://git.lxde.org/git/lxde/${PN}.git"
else
SRC_URI="http://downloads.lxqt.org/${PN}/${PV}/${P}.tar.xz"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
fi
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="test"
CDEPEND="
sys-apps/file
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtxml:5
"
DEPEND="${CDEPEND}
test? ( dev-qt/qttest:5 )
"
RDEPEND="${CDEPEND}
x11-misc/xdg-utils
"
src_configure() {
local mycmakeargs=(
-DUSE_QT5=ON
$(cmake-utils_use test BUILD_TESTS)
)
cmake-utils_src_configure
}

View file

@ -1,44 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit cmake-utils
DESCRIPTION="A Qt implementation of XDG standards"
HOMEPAGE="http://lxqt.org/"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="git://git.lxde.org/git/lxde/${PN}.git"
else
SRC_URI="http://downloads.lxqt.org/${PN}/${PV}/${P}.tar.xz"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
fi
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="test"
CDEPEND="
dev-qt/qtcore:5
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtxml:5
"
DEPEND="${CDEPEND}
virtual/pkgconfig
test? ( dev-qt/qttest:5 )
"
RDEPEND="${CDEPEND}
x11-misc/xdg-utils
"
src_configure() {
local mycmakeargs=(
-DUSE_QT4=OFF
$(cmake-utils_use_build test TESTS)
)
cmake-utils_src_configure
}

View file

@ -1 +1,2 @@
DIST io-page-1.5.1.tar.gz 52385 SHA256 37b76758296a3d41c56faa31c64102d3df3c18c61c5a761def54f8799eed6a48 SHA512 28fe821e845c4726c6315647523f7d78853738e179176ebabeed40d602d0797433716045beeb3501e2faba2ae1553fe4e1e74b8af75d6e37173b23165eeedbdf WHIRLPOOL 7f78c8dca110bec93710deeab4b91715ad6698fe0cd32b2c5f9d028c043073c7f577138a4d5c502321e3d0900580f38709c77e0db9283b3fcbab4e959dfd39f4
DIST io-page-1.6.0.tar.gz 53078 SHA256 20093190d41f7fc65a9c80eb63cc47c492bc2c5e28a13833e19224749b7dd784 SHA512 f20394b72cd4104be53a3639d22a287f8a5c32f05e60a31123c15d8deb1feb9ca28b77d953b186b9e5667332c8992ddecb8980883ad64c41f06d4f5b6cda7cb6 WHIRLPOOL bfca52635254b488d7652e6adc855b57abd2ca18ac499777d235800faa15374c5e1e136b9e9a9555d30dac61702cec51db41262a09b1b80f81bf388d5773a113

View file

@ -0,0 +1,28 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
OASIS_BUILD_TESTS=1
inherit oasis
DESCRIPTION="IO memory page library for Mirage backends"
HOMEPAGE="https://github.com/mirage/io-page https://mirage.io"
SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="
>=dev-lang/ocaml-4:=
>=dev-ml/ocaml-cstruct-1.1.0:=
"
DEPEND="
test? ( dev-ml/ounit )
${RDEPEND}
"
DOCS=( CHANGES README.md )

View file

@ -1,25 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MODULE_AUTHOR=RJBS
MODULE_VERSION=0.093
inherit perl-module
DESCRIPTION="Getopt::Long with usage text"
SLOT="0"
KEYWORDS="amd64 arm ppc x86 ~ppc-aix ~ppc-macos ~x86-solaris"
IUSE=""
RDEPEND="
>=dev-perl/Params-Validate-0.970.0
dev-perl/IO-stringy
dev-perl/Sub-Exporter
virtual/perl-Scalar-List-Utils
"
DEPEND="${RDEPEND}"
SRC_TEST=do

View file

@ -1,3 +1,2 @@
DIST Getopt-Long-Descriptive-0.093.tar.gz 23954 SHA256 4c79d7b81c95ae94d65f060db10c9bd6d17b0ed18f7b5f223255322a81be8c45 SHA512 acdb1f2f04cad0cd6a17bd00dd455613dcbb20e849fa0b351be52c35fb209289b10a2e0067cbc3dc1f5680091c38ab8083730b9d4e95e63da80b389e71eb5083 WHIRLPOOL d0e2e818f4750c333cfb45d5f8bdfe34701c59c0c5a94b15d7e682ae006a0e910341cb3ff8a9ccc5dcac7656c1d274727ddfe35c14a323e41d6fdc6c1d8f5c46
DIST Getopt-Long-Descriptive-0.097.tar.gz 26399 SHA256 a6e484962727ae2d882d5d35c5bedd48bc13730a7e4c739a7daa74f525422883 SHA512 9b1a11bce5a64b0dbae93d410593c6411790db8eac1169eb1703fdd4b0bffc0cb0ce12fd02c3de0b4fea98151bcc98af55cf46d84d658c8292291bf3baf5d28d WHIRLPOOL 19c2185574a3cadc8d1ca01ca4ab7c9dbb5c7938573a471f464fa5f937379248fc0ff3da71ef23b0a14fc67409e3268858b4e5ea65e71798b042802ef6e81854
DIST Getopt-Long-Descriptive-0.099.tar.gz 29651 SHA256 fc4d1ed0bf12abc3d01ba38b0376c1b0fe6c6e59152b61b5f500a1e3f7c8c5e9 SHA512 3b6fdf06eab25f53c5624e42a8024d059d1ee1c33361184a1d45fc5f0f9b521ad0749916ca7ec7d9561bc2c297adba520ff1fd5efa6706ca480697fad71290da WHIRLPOOL 938e7585b014fd08b88e492b1168aaef4810f7e1906bf0a2825c47048e0f92237ed6bd55bd4f0deb2244b0b3f25c8495add77a3a33a6c43503087beab3a902cb

View file

@ -1,27 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MODULE_AUTHOR=NIGELM
MODULE_VERSION=2.10
inherit perl-module
DESCRIPTION="HTML Formatter"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="test"
RDEPEND="
dev-perl/File-Slurp
dev-perl/Font-AFM
dev-perl/HTML-Tree"
DEPEND="${RDEPEND}
dev-perl/Module-Build
test? (
>=virtual/perl-Test-Simple-0.96
)"
SRC_TEST="do"

View file

@ -1,2 +1 @@
DIST HTML-Format-2.10.tar.gz 45383 SHA256 149f4ac19733042e3f81b965047e9a053d8e5eb0832437625f4b9de860d5819a SHA512 a15a471fab17285704dbfb91b226d75d2bda0fbacbb5ce9259bc72fd4e7d5ba2129b5b4f133d68ebe3f03ddad0620e2e757f29bf4c7af819bf00333c2fad200c WHIRLPOOL 75bea74964f996e1b73cf665f4705f9157922c1d5ec50700857672c84087577a2836e97f2e4098fedf4fe0d22be8b92caf9cf9a0bae02098e2b3955e9a40bbcf
DIST HTML-Formatter-2.14.tar.gz 51298 SHA256 d28eeeab48ab5f7bfcc73cc106b0f756073d98d48dfdb91ca2951f832f8e035e SHA512 616ee70f3a6038589d9348a1463bd9c1cac4d7fe00aff5dbb52968d0ef44129658ff6cdc114f2c389a1eed068a64f48ab34bb90b60d3f20a0a024750ddadda42 WHIRLPOOL fdf953e6115a1c0f82366707cab0bd7d80e1a1173e76e7231e9d702dfdad2b23b3d298859986e79304c4fd1b23d0481003f615cad8c802b8880999ee3f08700d

View file

@ -0,0 +1,25 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=ADAMK
DIST_VERSION=1.08
inherit perl-module
DESCRIPTION="Does your process have access to the web"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
# https://rt.cpan.org/Public/Bug/Display.html?id=112728
PATCHES=("${FILESDIR}/${DIST_VERSION}-no-network.patch")
# LWP::Simple -> libwww-perl
RDEPEND="
>=dev-perl/libwww-perl-5.805.0
>=dev-perl/URI-1.350.0
"
DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.420.0
test? ( >=virtual/perl-Test-Simple-0.420.0 )
"

View file

@ -0,0 +1 @@
DIST LWP-Online-1.08.tar.gz 32250 SHA256 e26f91b7781f2a6d3b8c364961d5e74fae660d202dc97e3c88288030d736ce9c SHA512 2b255f60ee6521757ce3d49cc0720e3985ff17e3db7b7868ced6a9e1c5444dc067c80b7d34dbe7be9679c134f3de1dbe0e9421a1a20ff388c812aacd1d964497 WHIRLPOOL 68a2635d8086357c5d4564b5846ffffb0ac8337145d405f12d3e6b5a09dd0fec0948d654714f291bf3fc822289ba8c6839f644b08d48757746a88d8e27bed128

View file

@ -0,0 +1,30 @@
diff -Naur LWP-Online-1.08/lib/LWP/Online.pm LWP-Online-1.08b/lib/LWP/Online.pm
--- LWP-Online-1.08/lib/LWP/Online.pm 2011-07-08 07:02:25.000000000 +0000
+++ LWP-Online-1.08b/lib/LWP/Online.pm 2016-03-06 06:20:12.351333667 +0000
@@ -167,6 +167,9 @@
my @functions = grep { $_ ne ':skip_all' } @_;
if ( @functions != @_ ) {
require Test::More;
+ if ( $ENV{NO_NETWORK_TESTING} ) {
+ Test::More->import( skip_all => 'NO_NETWORK_TESTING set' );
+ }
unless ( online() ) {
Test::More->import( skip_all => 'Test requires a working internet connection' );
}
diff -Naur LWP-Online-1.08/t/02_main.t LWP-Online-1.08b/t/02_main.t
--- LWP-Online-1.08/t/02_main.t 2011-07-08 07:02:25.000000000 +0000
+++ LWP-Online-1.08b/t/02_main.t 2016-03-06 06:14:41.521243616 +0000
@@ -7,7 +7,12 @@
$| = 1;
$^W = 1;
}
-
+BEGIN {
+ if ( $ENV{NO_NETWORK_TESTING} ) {
+ require Test::More;
+ Test::More->import('skip_all', "NO_NETWORK_TESTING set");
+ }
+}
use Test::More tests => 6;
use LWP::Online 'online', 'offline';

View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>perl@gentoo.org</email>
<name>Gentoo Perl Project</name>
</maintainer>
<longdescription>LWP::Online is a Perl Module for testing the state of internet accessibility</longdescription>
<upstream>
<remote-id type="cpan">LWP-Online</remote-id>
<remote-id type="cpan-module">LWP::Online</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1,28 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=NEILB
DIST_VERSION=0.37
inherit perl-module
DESCRIPTION="Information about Perl modules"
SLOT="0"
KEYWORDS="~amd64 ~mips ~ppc ~x86"
IUSE="test"
RDEPEND="
>=dev-perl/B-Utils-0.270.0
virtual/perl-Carp
>=virtual/perl-File-Spec-0.800.0
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
"
src_test() {
perl_rm_files "t/zz_pod.t" "t/zy_pod_coverage.t"
perl-module_src_test
}

View file

@ -1,10 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MY_PN=Net-SFTP
MODULE_AUTHOR=DBROBINS
MODULE_VERSION=0.10
inherit perl-module
@ -15,4 +14,4 @@ SLOT="0"
KEYWORDS="amd64 ~mips ~ppc x86"
IUSE=""
RDEPEND=">=dev-perl/net-ssh-perl-1.25"
RDEPEND=">=dev-perl/Net-SSH-Perl-1.25"

View file

@ -0,0 +1,43 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_VERSION=v${PV}
DIST_AUTHOR=DTOWN
inherit perl-module
DESCRIPTION="A SNMP Perl Module"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ia64 ~mips ~sparc ~x86 ~ppc-aix ~sparc-solaris ~x86-solaris"
# Package warrants IUSE examples
IUSE="examples test minimal"
RDEPEND="
!minimal? (
>=dev-perl/Crypt-DES-2.30.0
>=dev-perl/Crypt-Rijndael-1.20.0
>=dev-perl/Digest-HMAC-1.0
>=virtual/perl-Digest-MD5-2.110.0
>=dev-perl/Digest-SHA1-1.20.0
>=dev-perl/Socket6-0.230.0
)
virtual/perl-Carp
virtual/perl-Exporter
virtual/perl-IO
virtual/perl-Math-BigInt
"
DEPEND="${RDEPEND}
>=dev-perl/Module-Build-0.360.0
test? ( virtual/perl-Test )
"
src_install() {
perl-module_src_install
if use examples; then
docompress -x usr/share/doc/${PF}/examples
insinto usr/share/doc/${PF}/
doins -r examples/
fi
}

View file

@ -4,7 +4,6 @@
EAPI=5
MY_PN=Net-SSH-Perl
MODULE_AUTHOR=SCHWIGON
MODULE_VERSION=1.36
inherit perl-module

View file

@ -1,4 +1,4 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -18,7 +18,7 @@ IUSE="ssl"
RDEPEND="
dev-perl/Coro
dev-perl/AnyEvent
>=dev-perl/net-server-2
>=dev-perl/Net-Server-2
ssl? (
dev-perl/Net-SSLeay
)

View file

@ -1,10 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MY_PN=Net-Server
MODULE_AUTHOR=RHANDOM
MODULE_VERSION=2.007
inherit perl-module eutils

View file

@ -1,10 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MY_PN=Net-Server
MODULE_AUTHOR=RHANDOM
MODULE_VERSION=2.008
inherit perl-module eutils

View file

@ -1 +1,2 @@
DIST Net-XMPP-1.02.tar.gz 121653 SHA256 69761441e214042b10b6608afaffbb1b5262e4aaaddb4b315dbf2ea48c4742ea SHA512 7a373e627de7e909ef50d6525b438dd7f094c7e6ad3cb66fff6087048fe9b127e376cf45d1621e55deec2c59fe043ff19f180d0b264fa1dd0c392701dfc43497 WHIRLPOOL e3238e9dac4caf00de645c9eadbc530b725a6872a89ee82043931b7d21a6375419554020dc573aeed3b4415f8a65ddc4685c497bfe1951dd5d802d4fb8557b70
DIST Net-XMPP-1.05.tar.gz 103876 SHA256 4c02200577c2b235a163a09bfaa152bf000fe5f1499ad80ce16ab66808949362 SHA512 cdd5474fcbdf7ff6c7d1247f9828f5dfb1828c258af366a831bab8e5faab423b73aa16c34228818526ebcc3180ef0ccc52d6e6cb61e2fe689458b87ec7fab699 WHIRLPOOL 9aee53ba25515722c88c4e810fdae78751b811426c70df39d57c2b606436278c143f2592230f605fee49edab7617cd37faf1e1fd20eaed7908f364049e4ee3da

View file

@ -0,0 +1,44 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=DAPATRICK
DIST_VERSION=1.05
inherit perl-module
DESCRIPTION="XMPP Perl Library"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test examples"
RDEPEND="
>=dev-perl/Authen-SASL-2.120.0
virtual/perl-Digest-SHA
virtual/perl-Scalar-List-Utils
>=dev-perl/XML-Stream-1.240.0
"
DEPEND="${RDEPEND}
>=dev-perl/Module-Build-0.360.300
test? (
>=dev-perl/LWP-Online-1.70.0
>=dev-perl/YAML-Tiny-1.410.0
>=virtual/perl-Test-Simple-0.920.0
)
"
src_test() {
eapply "${FILESDIR}/${DIST_VERSION}-no-network-tests.patch"
perl-module_src_test
}
src_install() {
perl-module_src_install
if use examples; then
docompress -x /usr/share/doc/${PF}/examples
insinto /usr/share/doc/${PF}/examples
doins -r examples/*
fi
}

View file

@ -0,0 +1,28 @@
diff -Naur Net-XMPP-1.05/t/gtalk.t Net-XMPP-1.05b/t/gtalk.t
--- Net-XMPP-1.05/t/gtalk.t 2014-12-22 21:28:51.000000000 +0000
+++ Net-XMPP-1.05b/t/gtalk.t 2016-03-06 07:14:13.313580716 +0000
@@ -2,7 +2,12 @@
use warnings;
use Test::More;
-
+# https://github.com/dap/Net-XMPP/issues/11
+BEGIN {
+ if ($ENV{NO_NETWORK_TESTING}) {
+ Test::More->import(skip_all => "NO_NETWORK_TESTS set");
+ }
+}
######################## XML::Stream mocking starts
#{
# package XML::Stream;
diff -Naur Net-XMPP-1.05/t/lib/Net/XMPP/Test/Utils.pm Net-XMPP-1.05b/t/lib/Net/XMPP/Test/Utils.pm
--- Net-XMPP-1.05/t/lib/Net/XMPP/Test/Utils.pm 2014-12-22 21:28:51.000000000 +0000
+++ Net-XMPP-1.05b/t/lib/Net/XMPP/Test/Utils.pm 2016-03-06 06:59:57.227261659 +0000
@@ -23,6 +23,7 @@
}
sub conn_is_available {
+ return if $ENV{NO_NETWORK_TESTING};
return online();
}

View file

@ -1 +1,2 @@
DIST News-Newsrc-1.09.tar.gz 10696 SHA256 6938bdc6c8f9e37814dec1ce89492b6630313a670b6e7d6fc030265eb8bd8dfe SHA512 c46bc5e9a7ca368e2970386bc287f0e663cb26dbfb2193d88167dbdc7d5f6798af4ad03ec6e5756244cbe21b048d427a8198d0eb4e0116026bab7c0e9e75da10 WHIRLPOOL 0b40b9fd834761bf9aeb67f73e32f372357df24df778649d0b09c0d2880fabd96087c93421b901e3590f50e90baf10968680e4c75152533d7dbc4ef4ab08b0cf
DIST News-Newsrc-1.11.tar.gz 11603 SHA256 11fb5b284bc690fa9bcb5f7d16575b4e6f0553fada8fcc5a087cd1b39d471051 SHA512 f5df8bc14f9793e0cb670a99feab065e7a392ba84c8b5f93cc14d7c1587f20603a77ee1bc06177737cf8a756fff276ba050d5c27e594d6b6e673c616e4234727 WHIRLPOOL a65169d8b1253ba569414eb96385cb068717e6bc221b3e08b10183b1a2a101067752c0339c2ebc5dd3a7d8b89cb438e333ba565a0b076129229c16290afc2881

View file

@ -0,0 +1,20 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=SWMCD
DIST_VERSION=1.11
inherit perl-module
DESCRIPTION="Manage newsrc files"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~x86"
IUSE=""
RDEPEND=">=dev-perl/Set-IntSpan-1.70.0"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
"

View file

@ -1,4 +1,4 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -21,7 +21,7 @@ RDEPEND="
>=dev-perl/libwww-perl-5.834.0
>=dev-perl/XML-LibXML-1.850.0
>=dev-perl/XML-Parser-2.310.0
dev-perl/net-server
dev-perl/Net-Server
>=virtual/perl-Scalar-List-Utils-1.200.0
dev-perl/URI
"

View file

@ -1,328 +0,0 @@
# ChangeLog for dev-perl/net-server
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/net-server/ChangeLog,v 1.85 2014/09/27 21:59:08 zlogene Exp $
*net-server-2.8.0 (27 Sep 2014)
27 Sep 2014; Mikle Kolyada <zlogene@gentoo.org> +net-server-2.8.0.ebuild:
Version bump
*net-server-2.7.0-r1 (22 Aug 2014)
22 Aug 2014; Ian Stakenvicius (_AxS_) <axs@gentoo.org>
+net-server-2.7.0-r1.ebuild, -net-server-2.7.0.ebuild:
bumped EAPI to 5; committed directly to stable as no other changes present and
revbump helps stable systems to keep from dieing on perl-5.18 upgrade
10 Mar 2014; Mikle Kolyada <zlogene@gentoo.org> -net-server-0.97.ebuild,
-net-server-0.990.0.ebuild, -net-server-2.6.0.ebuild:
Drop old
03 Aug 2013; Agostino Sarubbo <ago@gentoo.org> net-server-2.7.0.ebuild:
Stable for sparc, wrt bug #475794
13 Jul 2013; Agostino Sarubbo <ago@gentoo.org> net-server-2.7.0.ebuild:
Stable for ppc64, wrt bug #475794
13 Jul 2013; Agostino Sarubbo <ago@gentoo.org> net-server-2.7.0.ebuild:
Stable for ppc, wrt bug #475794
08 Jul 2013; Jeroen Roovers <jer@gentoo.org> net-server-2.7.0.ebuild:
Stable for HPPA (bug #475794).
07 Jul 2013; Agostino Sarubbo <ago@gentoo.org> net-server-2.7.0.ebuild:
Stable for ia64, wrt bug #475794
06 Jul 2013; Agostino Sarubbo <ago@gentoo.org> net-server-2.7.0.ebuild:
Stable for alpha, wrt bug #475794
05 Jul 2013; Agostino Sarubbo <ago@gentoo.org> net-server-2.7.0.ebuild:
Stable for x86, wrt bug #475794
05 Jul 2013; Agostino Sarubbo <ago@gentoo.org> net-server-2.7.0.ebuild:
Stable for amd64, wrt bug #475794
*net-server-2.7.0 (02 Mar 2013)
02 Mar 2013; Jason A. Donenfeld <zx2c4@gentoo.org> +net-server-2.7.0.ebuild:
Non-maintainer bump, but it's to fix a kind of time sensitive situation with
the erronious Net-Server and dkimproxy.
05 Oct 2012; Brent Baude <ranger@gentoo.org> net-server-2.6.0.ebuild:
Marking net-server-2.6.0 ppc for bug 412881
17 Sep 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> net-server-2.6.0.ebuild:
x86 stable wrt security bbug #412881
07 Sep 2012; Agostino Sarubbo <ago@gentoo.org> net-server-2.6.0.ebuild:
Stable for amd64, wrt bug #412881
*net-server-2.6.0 (24 Jul 2012)
24 Jul 2012; Diego E. Pettenò <flameeyes@gentoo.org> +net-server-2.6.0.ebuild:
Version bump, based on the ebuild by Bernd Lommerzheim in bug #422753. Add an
ipv6 USE flag to bring in the (automagic) dependency over IO-Socket-INET6 so
that Munin can rely on it.
24 Jun 2012; Torsten Veller <tove@gentoo.org> metadata.xml:
Update CPAN upstream info
04 Sep 2011; Torsten Veller <tove@gentoo.org> -net-server-0.99.ebuild:
Cleanup
*net-server-0.990.0 (27 Aug 2011)
27 Aug 2011; Torsten Veller <tove@gentoo.org> +net-server-0.990.0.ebuild:
Change version scheme
*net-server-0.99 (15 Jul 2010)
15 Jul 2010; Torsten Veller <tove@gentoo.org> +net-server-0.99.ebuild:
Version bump
18 Feb 2010; Jeremy Olexa <darkside@gentoo.org> net-server-0.97.ebuild:
Add ~arm kw for bug 305631
15 Sep 2008; Torsten Veller <tove@gentoo.org> -net-server-0.88.ebuild,
-net-server-0.94.ebuild, -net-server-0.95.ebuild, -net-server-0.96.ebuild:
Cleanup
28 Mar 2008; Jeroen Roovers <jer@gentoo.org> net-server-0.97.ebuild:
Stable for HPPA too.
13 Jan 2008; Tobias Scherbaum <dertobi123@gentoo.org>
net-server-0.97.ebuild:
ppc. stable
06 Dec 2007; Raúl Porcel <armin76@gentoo.org> net-server-0.97.ebuild:
alpha/ia64/sparc/x86 stable
01 Dec 2007; Markus Rothe <corsair@gentoo.org> net-server-0.97.ebuild:
Stable on ppc64
10 Nov 2007; Samuli Suominen <drac@gentoo.org> net-server-0.97.ebuild:
amd64 stable
*net-server-0.97 (19 Oct 2007)
19 Oct 2007; Christian Hartmann <ian@gentoo.org> +net-server-0.97.ebuild:
Version bump
09 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org>
net-server-0.96.ebuild:
Stable on ppc.
11 Jul 2007; Raúl Porcel <armin76@gentoo.org> net-server-0.96.ebuild:
alpha/ia64/x86 stable
07 Jul 2007; Tom Gall <tgall@gentoo.org> net-server-0.96.ebuild:
stable on ppc64
30 Jun 2007; Joshua Kinard <kumba@gentoo.org> net-server-0.96.ebuild:
Marked unstable on mips, per #183591.
21 Jun 2007; Michael Cummings <mcummings@gentoo.org>
net-server-0.96.ebuild:
Marking sparc stable
05 May 2007; Tobias Scherbaum <dertobi123@gentoo.org>
net-server-0.95.ebuild:
ppc stable
14 Apr 2007; Michael Cummings <mcummings@gentoo.org>
net-server-0.95.ebuild:
sparc stable
09 Apr 2007; Michael Cummings <mcummings@gentoo.org>
net-server-0.95.ebuild:
Marking stable amd64
*net-server-0.96 (29 Mar 2007)
29 Mar 2007; Christian Hartmann <ian@gentoo.org> +net-server-0.96.ebuild:
Version bump
*net-server-0.95 (05 Feb 2007)
05 Feb 2007; Michael Cummings <mcummings@gentoo.org>
+net-server-0.95.ebuild:
Version bump
20 Jan 2007; Michael Cummings <mcummings@gentoo.org>
+net-server-0.88.ebuild:
Reclaiming the dead
19 Jan 2007; Michael Cummings <mcummings@gentoo.org>
-net-server-0.88.ebuild, net-server-0.94.ebuild:
Version bump, thanks seemant
01 Oct 2006; Christian Hartmann <ian@gentoo.org> -net-server-0.85.ebuild,
-net-server-0.87.ebuild, -net-server-0.87-r1.ebuild,
-net-server-0.90.ebuild, -net-server-0.93.ebuild:
Cleanup; removed vulnerable versions wrt GLSA 200608-18
03 Sep 2006; Bryan Østergaard <kloeri@gentoo.org> net-server-0.94.ebuild:
Stable on ia64.
09 Aug 2006; Christian Hartmann <ian@gentoo.org> Manifest:
fix digest; bug #143360
08 Aug 2006; Rene Nussbaumer <killerfox@gentoo.org>
net-server-0.94.ebuild:
Stable on hppa. See bug #142386.
07 Aug 2006; Tobias Scherbaum <dertobi123@gentoo.org>
net-server-0.94.ebuild:
ppc stable, bug #142386
07 Aug 2006; Markus Rothe <corsair@gentoo.org> net-server-0.94.ebuild:
Stable on ppc64; bug #142386
06 Aug 2006; Andrej Kacian <ticho@gentoo.org> net-server-0.94.ebuild:
Stable on x86, bug #142386.
06 Aug 2006; Thomas Cort <tcort@gentoo.org> net-server-0.94.ebuild:
Stable on alpha wrt security Bug #142386.
06 Aug 2006; Michael Cummings <mcummings@gentoo.org>
net-server-0.94.ebuild:
Marking stable amd64, sparc, bug 142386
06 Aug 2006; Michael Cummings <mcummings@gentoo.org>
net-server-0.85.ebuild, net-server-0.87.ebuild, net-server-0.87-r1.ebuild,
net-server-0.88.ebuild, net-server-0.90.ebuild, net-server-0.93.ebuild,
net-server-0.94.ebuild:
Adding perl dep; fixed DEPEND
*net-server-0.94 (13 Jul 2006)
13 Jul 2006; Christian Hartmann <ian@gentoo.org> +net-server-0.94.ebuild:
Version bump
10 Jul 2006; Aron Griffis <agriffis@gentoo.org> net-server-0.93.ebuild:
Mark 0.93 stable on ia64
05 Jul 2006; Christian Hartmann <ian@gentoo.org>
net-server-0.87-r1.ebuild, net-server-0.88.ebuild, net-server-0.90.ebuild,
net-server-0.93.ebuild:
Fixed RDEPEND wrt bug #134781
29 Jun 2006; Gustavo Zacarias <gustavoz@gentoo.org>
net-server-0.93.ebuild:
Stable on hppa
12 Jun 2006; Michael Cummings <mcummings@gentoo.org>
net-server-0.90.ebuild, net-server-0.93.ebuild:
Marking sparc stable
25 May 2006; Guy Martin <gmsoft@gentoo.org> net-server-0.88.ebuild,
net-server-0.93.ebuild:
Stable on hppa.
14 May 2006; Diego Pettenò <flameeyes@gentoo.org> net-server-0.93.ebuild:
Add ~x86-fbsd keyword.
*net-server-0.93 (04 Apr 2006)
04 Apr 2006; <mcumming@gentoo.org> +net-server-0.93.ebuild:
Bug 128710, bumped in support of amavisd-new :)
17 Mar 2006; Chris White <chriswhite@gentoo.org> net-server-0.88.ebuild:
Marked amd64 stable for 0.88.
04 Feb 2006; Aron Griffis <agriffis@gentoo.org> net-server-0.88.ebuild,
net-server-0.90.ebuild:
Mark 0.88 stable on alpha, mark 0.90 ~alpha
04 Feb 2006; Aron Griffis <agriffis@gentoo.org> net-server-0.88.ebuild,
net-server-0.90.ebuild:
Mark 0.88 stable on ia64, mark 0.90 ~ia64
21 Jan 2006; Markus Rothe <corsair@gentoo.org> net-server-0.88.ebuild:
Stable on ppc64
15 Jan 2006; Michael Hanselmann <hansmi@gentoo.org>
net-server-0.88.ebuild:
Stable on ppc.
13 Jan 2006; Michael Cummings <mcummings@gentoo.org>
net-server-0.88.ebuild:
Marking sparc x86 stable
*net-server-0.90 (08 Jan 2006)
08 Jan 2006; Michael Cummings <mcummings@gentoo.org>
+net-server-0.90.ebuild:
Version bump, bug 115971
*net-server-0.88 (19 Nov 2005)
19 Nov 2005; <mcumming@gentoo.org> +net-server-0.88.ebuild:
Version bump
02 Sep 2005; Michael Hanselmann <hansmi@gentoo.org>
net-server-0.87-r1.ebuild:
Stable on ppc.
26 Aug 2005; Aron Griffis <agriffis@gentoo.org> net-server-0.87.ebuild:
add ~ia64
19 Aug 2005; Michael Hanselmann <hansmi@gentoo.org>
net-server-0.87-r1.ebuild:
Added to ~ppc.
07 Jul 2005; Markus Rothe <corsair@gentoo.org> net-server-0.87-r1.ebuild:
Stable on ppc64
18 Jun 2005; Markus Rothe <corsair@gentoo.org> net-server-0.87-r1.ebuild:
added ~ppc64
15 Jun 2005; Gustavo Zacarias <gustavoz@gentoo.org>
net-server-0.87-r1.ebuild:
Stable on sparc
13 Jun 2005; Andrej Kacian <ticho@gentoo.org> net-server-0.87-r1.ebuild:
Stable on x86 and amd64, as dependency for mail-filter/postgrey.
07 May 2005; Gustavo Zacarias <gustavoz@gentoo.org>
net-server-0.85.ebuild:
Stable on sparc
01 May 2005; Michael Hanselmann <hansmi@gentoo.org>
net-server-0.85.ebuild:
Stable on ppc.
*net-server-0.87-r1 (30 Apr 2005)
30 Apr 2005; Michael Cummings <mcummings@gentoo.org>
net-server-0.85.ebuild, +net-server-0.87-r1.ebuild:
Added dep for IO-Multiplex, bug 71536
29 Apr 2005; Michael Cummings <mcummings@gentoo.org>
net-server-0.85.ebuild, net-server-0.87.ebuild:
Cleaning for mirror
13 Apr 2005; Simon Stelling <blubb@gentoo.org> net-server-0.85.ebuild:
stable on amd64
06 Feb 2005; Markus Rothe <corsair@gentoo.org> net-server-0.87.ebuild:
Stable on ppc64
30 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
Change encoding to UTF-8 for GLEP 31 compliance
29 Dec 2004; Markus Rothe <corsair@gentoo.org> net-server-0.87.ebuild:
Added ~ppc64 to KEYWORDS
*net-server-0.87 (06 Jun 2004)
06 Jun 2004; Michael Cummings <mcummings@gentoo.org> net-server-0.87.ebuild:
new version on cpan
30 May 2004; Bryan Østergaard <kloeri@gentoo.org> net-server-0.85.ebuild:
Stable on alpha.
*net-server-0.85 (27 Jun 2003)
27 Jun 2003; Michael Cummings <mcummings@gentoo.org> net-server-0.85.ebuild:
ebuild submitted by Max Kalika <alkern23@yahoo.com> in bug 21432

View file

@ -1,86 +0,0 @@
# ChangeLog for dev-perl/net-sftp
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/net-sftp/ChangeLog,v 1.21 2014/08/22 16:46:08 axs Exp $
*net-sftp-0.100.0-r1 (22 Aug 2014)
22 Aug 2014; Ian Stakenvicius (_AxS_) <axs@gentoo.org>
+net-sftp-0.100.0-r1.ebuild, -net-sftp-0.100.0.ebuild:
bumped EAPI to 5; committed directly to stable as no other changes present and
revbump helps stable systems to keep from dieing on perl-5.18 upgrade
14 Oct 2012; Raúl Porcel <armin76@gentoo.org> net-sftp-0.100.0.ebuild:
Drop alpha keywords
24 Jun 2012; Torsten Veller <tove@gentoo.org> metadata.xml:
Update CPAN upstream info
25 Mar 2012; Raúl Porcel <armin76@gentoo.org> net-sftp-0.100.0.ebuild:
Drop sparc keywords
04 Sep 2011; Torsten Veller <tove@gentoo.org> -net-sftp-0.10.ebuild:
Cleanup
03 Sep 2011; Torsten Veller <tove@gentoo.org> net-sftp-0.100.0.ebuild:
Merge stable keywords from former version scheme ebuild
*net-sftp-0.100.0 (27 Aug 2011)
27 Aug 2011; Torsten Veller <tove@gentoo.org> +net-sftp-0.100.0.ebuild:
Change version scheme
20 Oct 2006; Michael Cummings <mcummings@gentoo.org>
-net-sftp-0.08.ebuild, -net-sftp-0.09.ebuild, net-sftp-0.10.ebuild:
Cleaning up ebuilds
01 Sep 2006; Michael Cummings <mcummings@gentoo.org> net-sftp-0.10.ebuild:
Keywording ~amd64
06 Aug 2006; Michael Cummings <mcummings@gentoo.org> net-sftp-0.08.ebuild,
net-sftp-0.09.ebuild, net-sftp-0.10.ebuild:
Adding perl dep; fixed DEPEND
05 Jul 2006; Christian Hartmann <ian@gentoo.org> net-sftp-0.08.ebuild,
net-sftp-0.09.ebuild, net-sftp-0.10.ebuild:
Fixed RDEPEND wrt bug #134781
12 Jun 2006; Michael Cummings <mcummings@gentoo.org> net-sftp-0.08.ebuild,
net-sftp-0.09.ebuild, net-sftp-0.10.ebuild:
Marking sparc stable
31 Mar 2006; <mcummings@gentoo.org> net-sftp-0.08.ebuild,
net-sftp-0.09.ebuild, net-sftp-0.10.ebuild:
bug 126378, homepage no longer valid
31 Jan 2006; Aron Griffis <agriffis@gentoo.org> net-sftp-0.10.ebuild:
Mark 0.10 stable on alpha
13 Jan 2006; Michael Cummings <mcummings@gentoo.org> net-sftp-0.10.ebuild:
Marking x86 stable
13 Jan 2006; Michael Cummings <mcummings@gentoo.org> net-sftp-0.10.ebuild:
Marking sparc x86 stable
*net-sftp-0.10 (19 Nov 2005)
19 Nov 2005; <mcumming@gentoo.org> +net-sftp-0.10.ebuild:
Version bump
10 Sep 2005; Aron Griffis <agriffis@gentoo.org> net-sftp-0.08.ebuild:
Mark 0.08 stable on alpha
*net-sftp-0.09 (29 Apr 2005)
29 Apr 2005; Michael Cummings <mcummings@gentoo.org>
-net-sftp-0.05.ebuild, net-sftp-0.08.ebuild, +net-sftp-0.09.ebuild:
Cleaning for mirror
*net-sftp-0.08 (29 Mar 2004)
29 Mar 2004; Michael Cummings <mcummings@gentoo.org> net-sftp-0.08.ebuild:
new version; bumped as a dep of bricolage
*net-sftp-0.05 (23 Jun 2003)
23 Jun 2003; Michael Cummings <mcummings@gentoo.org> net-sftp-0.05.ebuild:
net-sftp is a dep for bricolage, a new ebuild from bugzie

View file

@ -1,185 +0,0 @@
# ChangeLog for dev-perl/net-ssh-perl
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/net-ssh-perl/ChangeLog,v 1.45 2014/09/04 13:36:06 zlogene Exp $
04 Sep 2014; Mikle Kolyada <zlogene@gentoo.org> -net-ssh-perl-1.340.0.ebuild,
-net-ssh-perl-1.350.0.ebuild:
Drop old.
*net-ssh-perl-1.360.0-r1 (22 Aug 2014)
22 Aug 2014; Ian Stakenvicius (_AxS_) <axs@gentoo.org>
+net-ssh-perl-1.360.0-r1.ebuild, -net-ssh-perl-1.360.0.ebuild:
bumped EAPI to 5; committed directly to stable as no other changes present and
revbump helps stable systems to keep from dieing on perl-5.18 upgrade
01 Jan 2014; Mikle Kolyada <zlogene@gentoo.org> net-ssh-perl-1.360.0.ebuild:
amd64/x86 stable wrt bug #495548
*net-ssh-perl-1.360.0 (17 Aug 2013)
17 Aug 2013; Patrick Lauer <patrick@gentoo.org> +net-ssh-perl-1.360.0.ebuild:
Bump
25 Mar 2013; Agostino Sarubbo <ago@gentoo.org> net-ssh-perl-1.350.0.ebuild:
Stable for x86, wrt bug #456594
25 Mar 2013; Agostino Sarubbo <ago@gentoo.org> net-ssh-perl-1.350.0.ebuild:
Stable for amd64, wrt bug #456594
*net-ssh-perl-1.350.0 (03 Dec 2012)
03 Dec 2012; Torsten Veller <tove@gentoo.org> +net-ssh-perl-1.350.0.ebuild:
Version bump
14 Oct 2012; Raúl Porcel <armin76@gentoo.org> net-ssh-perl-1.340.0.ebuild:
Drop alpha keywords
24 Jun 2012; Torsten Veller <tove@gentoo.org> metadata.xml:
Update CPAN upstream info
25 Mar 2012; Raúl Porcel <armin76@gentoo.org> net-ssh-perl-1.340.0.ebuild:
Drop sparc keywords
01 Dec 2011; Tiziano Müller <dev-zero@gentoo.org> net-ssh-perl-1.340.0.ebuild:
Added RDEPEND=DEPEND since this isn't done automatically on EAPI-4 (and thus
binary installation is broken)
04 Sep 2011; Torsten Veller <tove@gentoo.org> -net-ssh-perl-1.34.ebuild:
Cleanup
03 Sep 2011; Torsten Veller <tove@gentoo.org> net-ssh-perl-1.340.0.ebuild:
Merge stable keywords from former version scheme ebuild
*net-ssh-perl-1.340.0 (27 Aug 2011)
27 Aug 2011; Torsten Veller <tove@gentoo.org> +net-ssh-perl-1.340.0.ebuild:
Change version scheme
24 Dec 2009; Torsten Veller <tove@gentoo.org> -net-ssh-perl-1.30.ebuild:
Cleanup
24 Nov 2009; Tobias Klausmann <klausman@gentoo.org>
net-ssh-perl-1.34.ebuild:
Stable on alpha, bug #265085
03 May 2009; Raúl Porcel <armin76@gentoo.org> net-ssh-perl-1.34.ebuild:
sparc stable wrt #265085
18 Apr 2009; Thomas Anderson <gentoofan23@gentoo.org>
net-ssh-perl-1.34.ebuild:
stable amd64, bug 265085
06 Apr 2009; Torsten Veller <tove@gentoo.org> net-ssh-perl-1.34.ebuild:
Stable on x86 (#265085)
13 Mar 2009; Torsten Veller <tove@gentoo.org> -net-ssh-perl-1.29.ebuild,
-net-ssh-perl-1.33.ebuild:
Cleanup
*net-ssh-perl-1.34 (05 Feb 2009)
05 Feb 2009; Torsten Veller <tove@gentoo.org> +net-ssh-perl-1.34.ebuild:
Version bump
*net-ssh-perl-1.33 (08 Dec 2008)
08 Dec 2008; Robin H. Johnson <robbat2@gentoo.org>
+net-ssh-perl-1.33.ebuild:
Version bump.
11 Jul 2007; Raúl Porcel <armin76@gentoo.org> net-ssh-perl-1.30.ebuild:
alpha stable
05 Mar 2007; Andrej Kacian <ticho@gentoo.org> net-ssh-perl-1.30.ebuild:
Stable on x86, bug #169152.
20 Oct 2006; Michael Cummings <mcummings@gentoo.org>
-net-ssh-perl-1.25.ebuild, -net-ssh-perl-1.27.ebuild,
net-ssh-perl-1.29.ebuild, net-ssh-perl-1.30.ebuild:
Marking amd64 stable; cleaning up ebuilds
01 Sep 2006; Michael Cummings <mcummings@gentoo.org>
net-ssh-perl-1.30.ebuild:
Keywording ~amd64
06 Aug 2006; Michael Cummings <mcummings@gentoo.org>
net-ssh-perl-1.25.ebuild, net-ssh-perl-1.27.ebuild,
net-ssh-perl-1.29.ebuild, net-ssh-perl-1.30.ebuild:
Adding perl dep; fixed DEPEND
05 Jul 2006; Christian Hartmann <ian@gentoo.org> net-ssh-perl-1.25.ebuild,
net-ssh-perl-1.27.ebuild, net-ssh-perl-1.29.ebuild,
net-ssh-perl-1.30.ebuild:
Fixed RDEPEND wrt bug #134781
12 Jun 2006; Michael Cummings <mcummings@gentoo.org>
net-ssh-perl-1.25.ebuild, net-ssh-perl-1.27.ebuild,
net-ssh-perl-1.29.ebuild, net-ssh-perl-1.30.ebuild:
Marking sparc stable
*net-ssh-perl-1.30 (01 May 2006)
01 May 2006; <mcumming@gentoo.org> +net-ssh-perl-1.30.ebuild:
Version bump
13 Feb 2006; Michael Cummings <mcummings@gentoo.org>
net-ssh-perl-1.25.ebuild, net-ssh-perl-1.27.ebuild,
net-ssh-perl-1.29.ebuild:
Virtuals for perl-core
31 Jan 2006; Aron Griffis <agriffis@gentoo.org> net-ssh-perl-1.29.ebuild:
Mark 1.29 stable on alpha
15 Jan 2006; Michael Cummings <mcummings@gentoo.org>
net-ssh-perl-1.27.ebuild, net-ssh-perl-1.29.ebuild:
Mirror syntax in 1.27 and 1.29
13 Jan 2006; Michael Cummings <mcummings@gentoo.org>
net-ssh-perl-1.29.ebuild:
Marking x86 stable
*net-ssh-perl-1.29 (19 Nov 2005)
19 Nov 2005; <mcumming@gentoo.org> +net-ssh-perl-1.29.ebuild:
Version bump
10 Sep 2005; Aron Griffis <agriffis@gentoo.org> net-ssh-perl-1.25.ebuild:
Mark 1.25 stable on alpha
25 May 2005; Michael Cummings <mcummings@gentoo.org>
net-ssh-perl-1.27.ebuild:
dev-perl/MIME-Base64 => perl-core/MIME-Base64 migration
25 May 2005; Michael Cummings <mcummings@gentoo.org>
net-ssh-perl-1.25.ebuild:
dev-perl/MIME-Base64 => perl-core/MIME-Base64 migration
24 May 2005; Michael Cummings <mcummings@gentoo.org>
net-ssh-perl-1.25.ebuild, net-ssh-perl-1.27.ebuild:
dev-perl/Digest-MD5 => perl-core/Digest-MD5
*net-ssh-perl-1.27 (29 Apr 2005)
29 Apr 2005; Michael Cummings <mcummings@gentoo.org>
-net-ssh-perl-1.23.ebuild, net-ssh-perl-1.25.ebuild,
+net-ssh-perl-1.27.ebuild:
Cleaning for mirror syntax
*net-ssh-perl-1.25 (29 Mar 2004)
29 Mar 2004; Michael Cummings <mcummings@gentoo.org>
net-ssh-perl-1.25.ebuild:
New version; bumped for deps of bricolage
20 Mar 2004; Joshua Kinard <kumba@gentoo.org> net-ssh-perl-1.23.ebuild:
Added ~mips to KEYWORDS.
27 Oct 2003; Brad House <brad_mssw@gentoo.org> net-ssh-perl-1.23.ebuild:
add ~amd64 flag
*net-ssh-perl-1.23 (23 Jun 2003)
23 Jun 2003; Michael Cummings <mcummings@gentoo.org>
net-ssh-perl-1.23.ebuild:
net-ssh is a dep for net-sftp, a dep for the bricolage package

View file

@ -0,0 +1 @@
DIST astLib-0.8.0.tar.gz 708939 SHA256 82561909296bc7f461846c984f2c02f0c7e0dcd62a5547573b1352d5328ffa8e SHA512 44e3903c1353fa69841a28e61e52f9cb7165edfffa2eba17cbf6bfd671ed8e8745cf2364b418a3f012bb56088fa7912ef0b00d8c9d96f7b4ce196881b4b05a31 WHIRLPOOL 3dd12e47d03fc712f61f35963ad8f3935657420b1bdff12f59a9c41cfecf755096a22cfb184610127f7869d0bd4e12f7afe48ad95b4d301e054b705a77552c32

View file

@ -0,0 +1,42 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
inherit distutils-r1
MYPN=astLib
MYP=${MYPN}-${PV}
DESCRIPTION="Python astronomy modules for image and coordinate manipulation"
HOMEPAGE="http://astlib.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="GPL-2 LGPL-2.1"
IUSE="doc examples"
PATCHES=( "${FILESDIR}/${P}-system-wcstools.patch" )
DEPEND="sci-astronomy/wcstools"
RDEPEND="${DEPEND}
dev-python/astropy[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]
sci-libs/scipy[${PYTHON_USEDEP}]"
S="${WORKDIR}/${MYP}"
python_install_all() {
dodoc CHANGE_LOG RELEASE_NOTES
insinto /usr/share/doc/${PF}/html
use doc && doins -r docs/${MYPN}/*
insinto /usr/share/doc/${PF}
use examples && doins -r examples
distutils-r1_python_install_all
}

View file

@ -0,0 +1,33 @@
Author: Ole Streicher <olebole@debian.org>
Description: Use system provided libwcstools instead of local copy
Also, build the swig wrapper from its source file.
--- a/setup.py
+++ b/setup.py
@@ -84,12 +84,11 @@
PyWCSTools is distributed (and developed) as part of astLib.""",
packages=['astLib', 'PyWCSTools'],
package_data={'astLib': ['data/*']},
- cmdclass={"build_ext": build_PyWCSTools_ext},
scripts=exampleScripts,
ext_modules=[
- Extension('PyWCSTools._wcscon', [sourceDir+"wcscon_wrap.c"],
- extra_objects=oFiles),
- Extension('PyWCSTools._wcs', [sourceDir+"wcs_wrap.c"],
- extra_objects=oFiles)
+ Extension('PyWCSTools._wcscon', [sourceDir+"wcscon.i"],
+ swig_opts=['-outdir', 'PyWCSTools/'], libraries=['wcstools']),
+ Extension('PyWCSTools._wcs', [sourceDir+"wcs.i"],
+ swig_opts=['-outdir', 'PyWCSTools/'], libraries=['wcstools'])
]
)
--- a/PyWCSTools/wcssubs-3.8.7/wcs.i
+++ b/PyWCSTools/wcssubs-3.8.7/wcs.i
@@ -14,7 +14,7 @@
/* %feature("autodoc", "1") */
%{
-#include "wcs.h"
+#include <wcs/wcs.h>
%}
/* WORKING */

View file

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>sci-astronomy@gentoo.org</email>
<name>Gentoo Astronomy Project</name>
</maintainer>
<longdescription lang="en">
astLib is a set of Python modules that provides some tools for
research astronomers. It can be used for simple plots, statistics,
common calculations, coordinate conversions, and manipulating FITS
images with World Coordinate System (WCS) information through
PyWCSTools - a simple wrapping of WCSTools by Doug Mink. PyWCSTools
is distributed (and developed) as part of astLib.
In Gentoo, PyWCSTools is using the stock library instead of the
bundled one.
</longdescription>
<upstream>
<remote-id type="sourceforge">astlib</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1 @@
DIST astroML_addons-0.2.2.tar.gz 51052 SHA256 c4b6e9d9f86550e1a59b54ddedf6666c7293bd7ad7b99549170e3053e57cb0cb SHA512 97c61c731d3dd8cadbfcb36defd1a678f776a2012fda1159621d3e364e25ca74cd0d284980f52095a2df31973cefba09f9b3efe72ba95b4f65ca13e4aaec5e20 WHIRLPOOL d8c7650692cbbb90f4f820804603dfdc87f5bb063ff0a1977f51c0f4c40313c4a98c50385027e35ce01ed9f02b59cc009f081c8da168397f2bb141c4f867262c

View file

@ -0,0 +1,29 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
inherit distutils-r1
MYPN=astroML_addons
MYP=${MYPN}-${PV}
DESCRIPTION="Performance add-ons for the astroML package"
HOMEPAGE="https://github.com/astroML/astroML_addons"
SRC_URI="mirror://pypi/${PN:0:1}/${MYPN}/${MYP}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""
RDEPEND="dev-python/astroml[${PYTHON_USEDEP}]"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]"
S="${WORKDIR}/${MYP}"
DOCS=( README.rst )

View file

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>sci-astronomy@gentoo.org</email>
<name>Gentoo Astronomy Project</name>
</maintainer>
<longdescription lang="en">
astroML is split into two components. The core astroML library is written
in python only, and is designed to be very easy to install for any users,
even those who don't have a working C or fortran compiler. A companion library,
astroML_addons, can be optionally installed for increased performance on
certain algorithms. Every algorithm in astroML_addons has a pure python
counterpart in the core astroML implementation, but the astroML_addons library
contains faster and more efficient implementations in compiled code.
Furthermore, if astroML_addons is installed on your system, the core astroML
library will import and use the faster routines by default.
</longdescription>
<upstream>
<remote-id type="pypi">astroML_addons</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1 @@
DIST astroML-0.3.tar.gz 242925 SHA256 ea6d0119593aed0e0dadc79c613ac0bddad95e6f12151237562a4fd67552b2b8 SHA512 7b9c6824ec1c09c35a0e9ea10674c93c7f301a3b15c5104357d9749534b78203c33eaac82c8ec1d1c51bdf30e1408d21002d1d2e7e243aa08c28cc7b1f1ab74a WHIRLPOOL 9f2bcc6bc9e56f7b513d7d5dc1367b3d8b1e1ae6ee4ddf9f8b917ff1f2d3952fd9d7101a876b6b820a7f30a3607997e45d0435c4929085998724c64657867cb7

View file

@ -0,0 +1,43 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
inherit distutils-r1 virtualx
MYPN=astroML
MYP=${MYPN}-${PV}
DESCRIPTION="Python Machine Learning library for astronomy"
HOMEPAGE="http://www.astroml.org/"
SRC_URI="mirror://pypi/${PN:0:1}/${MYPN}/${MYP}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE="examples test"
RDEPEND="
dev-python/astropy[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
sci-libs/scipy[${PYTHON_USEDEP}]
sci-libs/scikits_learn[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
S="${WORKDIR}/${MYP}"
DOCS=( CHANGES.rst README.rst )
python_test() {
virtx nosetests --verbose || die
}
python_install_all() {
distutils-r1_python_install_all
insinto /usr/share/doc/${PF}
use examples && doins -r examples
}

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>sci-astronomy@gentoo.org</email>
<name>Gentoo Astronomy Project</name>
</maintainer>
<longdescription lang="en">
AstroML is a Python module for machine learning and data mining built on
numpy, scipy, scikit-learn, and matplotlib. It contains a growing library of
statistical and machine learning routines for analyzing astronomical data in
Python, loaders for several open astronomical datasets, and a large suite of
examples of analyzing and visualizing astronomical datasets.
</longdescription>
<upstream>
<remote-id type="pypi">astroML</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1 @@
DIST astroquery-0.3.1.tar.gz 2786634 SHA256 ad67bf4f31bc9e0c45621a19f7200d701ff7b5df2d78e9ba7095e65a2f69c50d SHA512 e92f10dcdc4ced5c6841b35b7afc0ae645231810ae2951a04cc1c014819096bfd9296b1bc6d0f925a59e64e9011ec3f2436e36d0ec2181d271eb0aeba80906c8 WHIRLPOOL ac91041f9bce69945000ded78a39992d724ce7a32937c4803daa51556c2b8ef4984c8da5b6ae1ae4b1e1747ae6ce83d13ee180bbe361b0aaa9ae6a7900010000

View file

@ -0,0 +1,60 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
inherit distutils-r1
DESCRIPTION="Collection of packages to access online astronomical resources"
HOMEPAGE="https://github.com/astropy/astroquery"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="BSD"
SLOT="0"
IUSE="doc test"
DOCS=( README.rst )
RDEPEND="
dev-python/astropy[${PYTHON_USEDEP}]
dev-python/astropy-helpers[${PYTHON_USEDEP}]
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
dev-python/html5lib[${PYTHON_USEDEP}]
dev-python/keyring[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( dev-python/aplpy[${PYTHON_USEDEP}]
dev-python/pyregion[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}] )"
python_prepare_all() {
sed -i -e '/auto_use/s/True/False/' setup.cfg || die
sed -i -e "s/= 'APLpy'/= 'aplpy'/" astroquery/conftest.py || die
distutils-r1_python_prepare_all
}
python_test() {
esetup.py test
}
python_compile_all() {
if use doc; then
python_setup
VARTEXFONTS="${T}"/fonts \
MPLCONFIGDIR="${BUILD_DIR}" \
PYTHONPATH="${BUILD_DIR}"/lib \
esetup.py build_sphinx
fi
}
python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
distutils-r1_python_install_all
}

View file

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>sci-astronomy@gentoo.org</email>
<name>Gentoo Astronomy Project</name>
</maintainer>
<longdescription lang="en">
Astroquery is a package containing a collection of tools to use
online astronomical databases. It integrates with Astropy and aims
to support many services with a uniform API.
</longdescription>
<upstream>
<remote-id type="pypi">astroquery</remote-id>
<remote-id type="github">astropy/astroquery</remote-id>
</upstream>
</pkgmetadata>

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