parent
cd46d7dae0
commit
e01280715e
@ -1,5 +1,3 @@
|
||||
DIST sysstat-11.0.2.tar.xz 291256 SHA256 acd87fdfbe7c796480f14fc26119d8f785d26827d74a0f5bced6c492a91f1b96 SHA512 4bb5f2ee14346d83c59bd4da36ae8fc6c13197eabb808b1b5db84b593f07d8b366b1f6329abed8d43e2a8497a89de0f89a398b741d4ca23b4a3a95973b5f0f54 WHIRLPOOL 98daee288e22f803f19bbe423eb999f527e8997f2ffd3fe1fe784363260365ee833dd33b755f44d6bfcc685f70b47cb8fd70fdd9a3fa679829c1e608bd65f8e2
|
||||
DIST sysstat-11.0.7.tar.xz 305548 SHA256 39dcaa3a174f110cc885ac2508292a4a459d60ea56818a0bd3d0c3d05b2e458a SHA512 4547c7ddf3519dc0e14ad9496f0c6cccb26a8e4df97638b755f792df3914f321284f0e60ce27b3c4642bb757fa7c5006a806fd14f816f578e12b7d20f3cdcd51 WHIRLPOOL 324a3b8718240234c6a94118accd3ea5d849b1c3976ef81d5a178f7daf2e5e3e3806c6f4fb914de3062df0be0d9e6e188e42a5b5cde17ac244f3ab453d69daa0
|
||||
DIST sysstat-11.0.8.tar.xz 294828 SHA256 d073b0e95820254a3fbf53ae3fb27db91d5b11778875034cd39c4d56d8e23695 SHA512 bae205b90d3b908de14d568a7872cca1fe0b2a6e423b74d4f837ebd9f9892abc742f8dc746dde559763c982cf0fd73fafc9ad116ea827ff1189c92488fc8696e WHIRLPOOL 375c3e9af3634c151605f89f1debea3148e2d890f9c43cf4dcb834977c093d2622832c0f0773ef05330f6d9dacb3abfd74acc10ae56251b812a7c6c528007232
|
||||
DIST sysstat-11.1.7.tar.xz 321488 SHA256 c6767f14b157118189ac3228c650f4657399dc2a3ee8cecd7c9e6237865c02b5 SHA512 b7cfa950987668dcff8e2e342f6b789c191bfeed9eb8d0f4d72d51b87c017134252df9c50c31c895be9e0da7e82a74e332de46571d2b3562870fc2506237a240 WHIRLPOOL 23459acb6ceb4323b558ea056bed727a2275bec69235775209783bfcc627b10c01187e4d4377f5198acb46edeb86fdcfd0a559327532c9b1502a2b1ca7a5dd2f
|
||||
DIST sysstat-11.1.8.tar.xz 323512 SHA256 9c7eb478e6a3e6f3f19ef7e00438318e9f8e87a6608a242502a0828b6a41704a SHA512 4427f6e1a17cee2b56e624ab6c615d421e8a2a78b23dd6907a97f8946c20eefd2c181afe02652ad387a94d53d1d7203c6aee4d36d34424c9b2b03ee8b53366ce WHIRLPOOL 87c10b46f758efdee4e8dfedbc945a496e2f644de80632dd13fe7d99d81eca42d58a28946e138adcd4a8f9cdf22a1e1db14af548ebc4e55ad6a6eb2695bb7d65
|
||||
|
@ -1,89 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="System performance tools for Linux"
|
||||
HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
|
||||
SRC_URI="${HOMEPAGE}${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="debug +doc isag nls lm_sensors selinux"
|
||||
|
||||
CDEPEND="
|
||||
isag? (
|
||||
dev-lang/tk:0
|
||||
dev-vcs/rcs
|
||||
sci-visualization/gnuplot
|
||||
)
|
||||
nls? ( virtual/libintl )
|
||||
lm_sensors? ( sys-apps/lm_sensors )
|
||||
"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-sysstat )
|
||||
"
|
||||
|
||||
SYSSTAT_FAKE_RC_DIR=Gentoo-does-not-use-rc.d
|
||||
|
||||
src_prepare() {
|
||||
if use nls; then
|
||||
strip-linguas -i nls/
|
||||
local lingua pofile
|
||||
for pofile in nls/*.po; do
|
||||
lingua=${pofile/nls\/}
|
||||
lingua=${lingua/.po}
|
||||
if ! has ${lingua} ${LINGUAS}; then
|
||||
rm "nls/${lingua}.po" || die
|
||||
fi
|
||||
done
|
||||
fi
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-10.0.4-flags.patch \
|
||||
"${FILESDIR}"/${PN}-11.0.4-cron.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR
|
||||
sa_lib_dir=/usr/$(get_libdir)/sa \
|
||||
conf_dir=/etc \
|
||||
rcdir=${SYSSTAT_FAKE_RC_DIR} \
|
||||
econf \
|
||||
--enable-copy-only \
|
||||
--with-systemdsystemunitdir=$(systemd_get_unitdir) \
|
||||
$(use_enable debug debuginfo) \
|
||||
$(use_enable doc documentation ) \
|
||||
$(use_enable isag install-isag) \
|
||||
$(use_enable lm_sensors sensors) \
|
||||
$(use_enable nls) \
|
||||
--enable-install-cron
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake LFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /var/log/sa
|
||||
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
DOC_DIR=/usr/share/doc/${PF} \
|
||||
install
|
||||
|
||||
dodoc contrib/sargraph/sargraph
|
||||
|
||||
rm -r "${D}/${SYSSTAT_FAKE_RC_DIR}" || die
|
||||
newinitd "${FILESDIR}"/${PN}.init.d ${PN}
|
||||
systemd_dounit ${PN}.service
|
||||
|
||||
use doc && rm -f "${D}"usr/share/doc/${PF}/COPYING
|
||||
}
|
@ -1,89 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="System performance tools for Linux"
|
||||
HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
|
||||
SRC_URI="${HOMEPAGE}${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="debug +doc isag nls lm_sensors selinux"
|
||||
|
||||
CDEPEND="
|
||||
isag? (
|
||||
dev-lang/tk:0
|
||||
dev-vcs/rcs
|
||||
sci-visualization/gnuplot
|
||||
)
|
||||
nls? ( virtual/libintl )
|
||||
lm_sensors? ( sys-apps/lm_sensors )
|
||||
"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-sysstat )
|
||||
"
|
||||
|
||||
SYSSTAT_FAKE_RC_DIR=Gentoo-does-not-use-rc.d
|
||||
|
||||
src_prepare() {
|
||||
if use nls; then
|
||||
strip-linguas -i nls/
|
||||
local lingua pofile
|
||||
for pofile in nls/*.po; do
|
||||
lingua=${pofile/nls\/}
|
||||
lingua=${lingua/.po}
|
||||
if ! has ${lingua} ${LINGUAS}; then
|
||||
rm "nls/${lingua}.po" || die
|
||||
fi
|
||||
done
|
||||
fi
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-10.0.4-flags.patch \
|
||||
"${FILESDIR}"/${PN}-11.0.4-cron.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR
|
||||
sa_lib_dir=/usr/$(get_libdir)/sa \
|
||||
conf_dir=/etc \
|
||||
rcdir=${SYSSTAT_FAKE_RC_DIR} \
|
||||
econf \
|
||||
--enable-copy-only \
|
||||
--with-systemdsystemunitdir=$(systemd_get_unitdir) \
|
||||
$(use_enable debug debuginfo) \
|
||||
$(use_enable doc documentation ) \
|
||||
$(use_enable isag install-isag) \
|
||||
$(use_enable lm_sensors sensors) \
|
||||
$(use_enable nls) \
|
||||
--enable-install-cron
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake LFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /var/log/sa
|
||||
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
DOC_DIR=/usr/share/doc/${PF} \
|
||||
install
|
||||
|
||||
dodoc contrib/sargraph/sargraph
|
||||
|
||||
rm -r "${D}/${SYSSTAT_FAKE_RC_DIR}" || die
|
||||
newinitd "${FILESDIR}"/${PN}.init.d ${PN}
|
||||
systemd_dounit ${PN}.service
|
||||
|
||||
use doc && rm -f "${D}"usr/share/doc/${PF}/COPYING
|
||||
}
|
@ -0,0 +1,420 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="threads"
|
||||
|
||||
inherit eutils multilib python-single-r1 qt4-r2 user
|
||||
|
||||
DESCRIPTION="Featureful client/server network backup suite"
|
||||
HOMEPAGE="http://www.bareos.org/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/Release/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
RESTRICT="mirror"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="X acl cephfs clientonly +director fastlz glusterfs gnutls ipv6 jansson lmdb logwatch
|
||||
mysql ndmp postgres python qt4 rados rados-striper readline scsi-crypto sql-pooling
|
||||
+sqlite ssl static +storage-daemon tcpd vim-syntax"
|
||||
|
||||
DEPEND="
|
||||
!app-backup/bacula
|
||||
cephfs? ( sys-cluster/ceph )
|
||||
rados? ( sys-cluster/ceph )
|
||||
rados-striper? ( >=sys-cluster/ceph-0.94.2 )
|
||||
glusterfs? ( sys-cluster/glusterfs )
|
||||
lmdb? ( dev-db/lmdb )
|
||||
dev-libs/gmp:0
|
||||
!clientonly? (
|
||||
postgres? ( dev-db/postgresql:*[threads] )
|
||||
mysql? ( virtual/mysql )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
director? (
|
||||
virtual/mta
|
||||
jansson? ( dev-libs/jansson )
|
||||
)
|
||||
)
|
||||
qt4? (
|
||||
dev-qt/qtsvg:4
|
||||
x11-libs/qwt:5
|
||||
)
|
||||
fastlz? ( dev-libs/bareos-fastlzlib )
|
||||
logwatch? ( sys-apps/logwatch )
|
||||
tcpd? ( sys-apps/tcp-wrappers )
|
||||
readline? ( sys-libs/readline:0 )
|
||||
static? (
|
||||
acl? ( virtual/acl[static-libs] )
|
||||
sys-libs/zlib[static-libs]
|
||||
dev-libs/lzo[static-libs]
|
||||
sys-libs/ncurses:=[static-libs]
|
||||
ssl? (
|
||||
!gnutls? ( dev-libs/openssl:0[static-libs] )
|
||||
gnutls? ( net-libs/gnutls[static-libs] )
|
||||
)
|
||||
)
|
||||
!static? (
|
||||
acl? ( virtual/acl )
|
||||
dev-libs/lzo
|
||||
ssl? (
|
||||
!gnutls? ( dev-libs/openssl:0 )
|
||||
gnutls? ( net-libs/gnutls )
|
||||
)
|
||||
sys-libs/ncurses:=
|
||||
sys-libs/zlib
|
||||
)
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
!clientonly? (
|
||||
storage-daemon? (
|
||||
sys-block/mtx
|
||||
app-arch/mt-st
|
||||
)
|
||||
)
|
||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
|
||||
|
||||
REQUIRED_USE="static? ( clientonly )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
S=${WORKDIR}/${PN}-Release-${PV}
|
||||
|
||||
pkg_setup() {
|
||||
use mysql && export mydbtypes+="mysql"
|
||||
use postgres && export mydbtypes+=" postgresql"
|
||||
use sqlite && export mydbtypes+=" sqlite"
|
||||
|
||||
# create the daemon group and user
|
||||
if [ -z "$(egetent group bareos 2>/dev/null)" ]; then
|
||||
enewgroup bareos
|
||||
einfo
|
||||
einfo "The group 'bareos' has been created. Any users you add to this"
|
||||
einfo "group have access to files created by the daemons."
|
||||
einfo
|
||||
fi
|
||||
|
||||
if use clientonly && use static && use qt4; then
|
||||
ewarn
|
||||
ewarn "Building statically linked 'bat' is not supported. Ignorig 'qt4' useflag."
|
||||
ewarn
|
||||
fi
|
||||
|
||||
if ! use clientonly; then
|
||||
if [ -z "$(egetent passwd bareos 2>/dev/null)" ]; then
|
||||
enewuser bareos -1 -1 /var/lib/bareos bareos,disk,tape,cdrom,cdrw
|
||||
einfo
|
||||
einfo "The user 'bareos' has been created. Please see the bareos manual"
|
||||
einfo "for information about running bareos as a non-root user."
|
||||
einfo
|
||||
fi
|
||||
fi
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# adjusts default configuration files for several binaries
|
||||
# to /etc/bareos/<config> instead of ./<config>
|
||||
pushd src >&/dev/null || die
|
||||
for f in console/console.c dird/dird.c filed/filed.c \
|
||||
stored/bcopy.c stored/bextract.c stored/bls.c \
|
||||
stored/bscan.c stored/btape.c stored/stored.c \
|
||||
qt-console/main.cpp; do
|
||||
sed -i -e 's|^\(#define CONFIG_FILE "\)|\1/etc/bareos/|g' "${f}" \
|
||||
|| die "sed on ${f} failed"
|
||||
done
|
||||
popd >&/dev/null || die
|
||||
|
||||
# bug 466690 Use CXXFLAGS instead of CFLAGS
|
||||
sed -i -e 's/@CFLAGS@/@CXXFLAGS@/' autoconf/Make.common.in || die
|
||||
|
||||
# stop build for errors in subdirs
|
||||
epatch "${FILESDIR}"/${PN}-12.4.5-Makefile.patch
|
||||
|
||||
# bat needs to respect LDFLAGS
|
||||
epatch "${FILESDIR}"/${PN}-12.4.5-bat-ldflags.patch
|
||||
|
||||
# do not strip binaries
|
||||
for d in filed console dird stored; do
|
||||
sed -i -e "s/strip /# strip /" src/$d/Makefile.in || die
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=''
|
||||
|
||||
if use clientonly; then
|
||||
myconf="${myconf} \
|
||||
$(use_enable clientonly client-only) \
|
||||
$(use_enable !static libtool) \
|
||||
$(use_enable static static-cons) \
|
||||
$(use_enable static static-fd)"
|
||||
fi
|
||||
|
||||
# do not build bat and traymonitor if 'static' clientonly
|
||||
if ! use clientonly || ! use static; then
|
||||
myconf="${myconf} \
|
||||
$(use_enable qt4 bat) \
|
||||
$(use_enable qt4 traymonitor)"
|
||||
fi
|
||||
|
||||
myconf="${myconf} \
|
||||
$(use_with X x) \
|
||||
$(use_enable acl) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable ndmp) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable !readline conio) \
|
||||
$(use_enable scsi-crypto) \
|
||||
$(use_enable sql-pooling) \
|
||||
$(use_with fastlz) \
|
||||
$(use_with mysql) \
|
||||
$(use_with postgres postgresql) \
|
||||
$(use_with python) \
|
||||
$(use_with readline) \
|
||||
$(use_with sqlite sqlite3) \
|
||||
$(use sqlite || echo "--without-sqlite3") \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tcpd tcp-wrappers) \
|
||||
$(use_enable lmdb) \
|
||||
$(use_with glusterfs) \
|
||||
$(use_with rados) \
|
||||
$(use_with rados-striper) \
|
||||
$(use_with cephfs) \
|
||||
$(use_with jansson) \
|
||||
"
|
||||
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--htmldir=/usr/share/doc/${PF}/html \
|
||||
--with-pid-dir=/run/bareos \
|
||||
--sysconfdir=/etc \
|
||||
--with-subsys-dir=/run/lock/subsys \
|
||||
--with-working-dir=/var/lib/bareos \
|
||||
--with-logdir=/var/log/bareos \
|
||||
--with-scriptdir=/usr/libexec/bareos \
|
||||
--with-plugindir=/usr/$(get_libdir)/${PN}/plugin \
|
||||
--with-backenddir=/usr/$(get_libdir)/${PN}/backend \
|
||||
--with-dir-user=bareos \
|
||||
--with-dir-group=bareos \
|
||||
--with-sd-user=root \
|
||||
--with-sd-group=bareos \
|
||||
--with-fd-user=root \
|
||||
--with-fd-group=bareos \
|
||||
--with-sbin-perm=0755 \
|
||||
--with-systemd \
|
||||
--enable-dynamic-cats-backends \
|
||||
--enable-dynamic-storage-backends \
|
||||
--enable-batch-insert \
|
||||
--disable-afs \
|
||||
--host=${CHOST} \
|
||||
${myconf}
|
||||
# correct configuration for QT based bat
|
||||
if use qt4 ; then
|
||||
pushd src/qt-console
|
||||
eqmake4
|
||||
popd
|
||||
pushd src/qt-tray-monitor
|
||||
eqmake4
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# workaround for build failing with high -j values
|
||||
# if ndmp is enabled
|
||||
use ndmp && MAKEOPTS="$MAKEOPTS -j1"
|
||||
|
||||
# Make build log verbose (bug #447806)
|
||||
emake NO_ECHO=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
newicon src/images/bareos_logo_shadow.png bareos.png
|
||||
|
||||
# install bat icon and desktop file when enabled
|
||||
# (for some reason ./configure doesn't pick this up)
|
||||
if use qt4 && ! use static ; then
|
||||
doicon src/images/bat.png
|
||||
domenu scripts/bat.desktop
|
||||
fi
|
||||
|
||||
# remove some scripts we don't need at all
|
||||
rm -f "${D}"/usr/libexec/bareos/{bareos,bareos-ctl-dir,bareos-ctl-fd,bareos-ctl-sd,startmysql,stopmysql}
|
||||
rm -f "${D}"/usr/sbin/bareos
|
||||
|
||||
# remove upstream init scripts
|
||||
rm -f "${D}"/etc/init.d/bareos-*
|
||||
|
||||
# rename statically linked apps
|
||||
if use clientonly && use static ; then
|
||||
pushd "${D}"/usr/sbin || die
|
||||
mv static-bareos-fd bareos-fd || die
|
||||
mv static-bconsole bconsole || die
|
||||
popd || die
|
||||
fi
|
||||
|
||||
# extra files which 'make install' doesn't cover
|
||||
if ! use clientonly; then
|
||||
# the logrotate configuration
|
||||
# (now unconditional wrt bug #258187)
|
||||
diropts -m0755
|
||||
insinto /etc/logrotate.d
|
||||
insopts -m0644
|
||||
newins "${S}"/scripts/logrotate bareos
|
||||
|
||||
# the logwatch scripts
|
||||
if use logwatch; then
|
||||
diropts -m0750
|
||||
dodir /etc/log.d/scripts/services
|
||||
dodir /etc/log.d/scripts/shared
|
||||
dodir /etc/log.d/conf/logfiles
|
||||
dodir /etc/log.d/conf/services
|
||||
pushd "${S}"/scripts/logwatch >&/dev/null || die
|
||||
emake DESTDIR="${D}" install
|
||||
popd >&/dev/null || die
|
||||
fi
|
||||
fi
|
||||
|
||||
rm -vf "${D}"/usr/share/man/man1/bareos-bwxconsole.1*
|
||||
if ! use qt4; then
|
||||
rm -vf "${D}"/usr/share/man/man1/bat.1*
|
||||
fi
|
||||
if use clientonly || ! use director; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bareos-dir.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bareos-dbcheck.8*
|
||||
rm -vf "${D}"/usr/share/man/man1/bsmtp.1*
|
||||
rm -vf "${D}"/usr/share/man/man8/bwild.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bregex.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bpluginfo.8*
|
||||
rm -vf "${D}"/usr/libexec/bareos/create_*_database
|
||||
rm -vf "${D}"/usr/libexec/bareos/drop_*_database
|
||||
rm -vf "${D}"/usr/libexec/bareos/make_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bareos/update_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bareos/drop_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bareos/grant_*_privileges
|
||||
rm -vf "${D}"/usr/libexec/bareos/*_catalog_backup
|
||||
fi
|
||||
if use clientonly || ! use storage-daemon; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bareos-sd.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bcopy.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bextract.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bls.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bscan.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/btape.8*
|
||||
rm -vf "${D}"/usr/libexec/bareos/disk-changer
|
||||
rm -vf "${D}"/usr/libexec/bareos/mtx-changer
|
||||
rm -vf "${D}"/usr/libexec/bareos/dvd-handler
|
||||
rm -vf "${D}"/etc/bareos/mtx-changer.conf
|
||||
fi
|
||||
if ! use scsi-crypto; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bscrypto.8*
|
||||
fi
|
||||
if ! use qt4; then
|
||||
rm -vf "${D}"/usr/share/man/man1/bareos-tray-monitor.1*
|
||||
fi
|
||||
|
||||
# documentation
|
||||
dodoc README.md
|
||||
use ndmp && dodoc README.NDMP
|
||||
use scsi-crypto && dodoc README.scsicrypto
|
||||
|
||||
# vim-files
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins scripts/bareos.vim
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
newins scripts/filetype.vim bareos_ft.vim
|
||||
fi
|
||||
|
||||
# setup init scripts
|
||||
myscripts="bareos-fd"
|
||||
if ! use clientonly; then
|
||||
if use director; then
|
||||
myscripts="${myscripts} bareos-dir"
|
||||
fi
|
||||
if use storage-daemon; then
|
||||
myscripts="${myscripts} bareos-sd"
|
||||
fi
|
||||
fi
|
||||
for script in ${myscripts}; do
|
||||
# copy over init script and config to a temporary location
|
||||
# so we can modify them as needed
|
||||
cp "${FILESDIR}/${script}".confd "${T}/${script}".confd || die "failed to copy ${script}.confd"
|
||||
cp "${FILESDIR}/${script}".initd "${T}/${script}".initd || die "failed to copy ${script}.initd"
|
||||
|
||||
# now set the database dependency for the director init script
|
||||
case "${script}" in
|
||||
bareos-dir)
|
||||
sed -i -e "s:%databasetypes%:${mydbtypes}:" "${T}/${script}".confd || die
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
# install init script and config
|
||||
newinitd "${T}/${script}".initd "${script}"
|
||||
newconfd "${T}/${script}".confd "${script}"
|
||||
done
|
||||
|
||||
# make sure the working directory exists
|
||||
diropts -m0750
|
||||
keepdir /var/lib/bareos
|
||||
|
||||
# make sure bareos group can execute bareos libexec scripts
|
||||
fowners -R root:bareos /usr/libexec/bareos
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use clientonly; then
|
||||
fowners root:bareos /var/lib/bareos
|
||||
else
|
||||
fowners bareos:bareos /var/lib/bareos
|
||||
fi
|
||||
|
||||
if ! use clientonly && use director; then
|
||||
einfo
|
||||
einfo "If this is a new install, you must create the databases with:"
|
||||
if use postgres; then
|
||||
einfo
|
||||
einfo "For postgresql:"
|
||||
einfo " su postgres -c '/usr/libexec/bareos/create_bareos_database postgresql'"
|
||||
einfo " su postgres -c '/usr/libexec/bareos/make_bareos_tables postgresql'"
|
||||
einfo " su postgres -c '/usr/libexec/bareos/grant_bareos_privileges postgresql'"
|
||||
fi
|
||||
if use mysql; then
|
||||
einfo
|
||||
einfo "For mysql:"
|
||||
einfo
|
||||
einfo " Make sure root has direct access to your mysql server. You may want to"
|
||||
einfo " create a /root/.my.cnf file with"
|
||||
einfo " [client]"
|
||||
einfo " user=root"
|
||||
einfo " password=YourPasswordForAccessingMysqlAsRoot"
|
||||
einfo " before running:"
|
||||
einfo " /usr/libexec/bareos/create_bareos_database mysql"
|
||||
einfo " /usr/libexec/bareos/make_bareos_tables mysql"
|
||||
einfo " /usr/libexec/bareos/grant_bareos_privileges mysql"
|
||||
fi
|
||||
einfo
|
||||
fi
|
||||
|
||||
if use sqlite; then
|
||||
einfo
|
||||
einfo "Be aware that Bareos does not officially support SQLite database."
|
||||
einfo "Best use it only for a client-only installation. See Bug #445540."
|
||||
einfo
|
||||
einfo "It is strongly recommended to use either postgresql or mysql as"
|
||||
einfo "catalog database backend."
|
||||
einfo
|
||||
fi
|
||||
|
||||
einfo "Please note that 'bconsole' will always be installed. To compile 'bat'"
|
||||
einfo "you have to enable 'USE=qt4'."
|
||||
einfo
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST duply_1.10.1.tgz 36079 SHA256 78f3714b0dc39657e2b3030e206370d38205305ca484e212704dcf77f9e70d35 SHA512 be991742e343b16c08024e0f0185e0d23d2630f06bb53a73c2056ba90e7d5610d64885be3edcdb38e464d6ddcc9e4c854958f234471b718189e988af2599ba5f WHIRLPOOL 6fe0f5201d1ac9d9c738d16cda7bce500dc860a2c446be5a2382deeeb0faf26b43a7bfd423e2fe72d14c8319e3e5defa92d1ce51b28083462daf579821131f6b
|
||||
DIST duply_1.10.tgz 36075 SHA256 62286bddd6efee67fb20c790e63bf25847ad65c06a4969b275e9abdb6253f6cc SHA512 10af8208d14bbb23bccc03cba5db7fbdccd8cacc0ada18cc07ad268966200884c280486ce5019385bfa8d1e61b1aecee5e38704332b45d97b47419eca995641c WHIRLPOOL dc96ba35644a88f9929ce93216b0b44901b9c7d1b5c2f58439888066ae64f7fd254e3496f12f08159ad905e4d7a06f07e09a7c9dab1318ce1e29fe101fc1c4b2
|
||||
DIST duply_1.11.tgz 43476 SHA256 234fc6e2cb7ad53966e40aabb5ca6447217b7b6179d5f6f18240ac5b5071f75c SHA512 d42902839693af67b2bedf534430c2bb8f59d04fcfb609174743423e37dcff52ae04c8621a0c55d1f544e74e1834b5672cbb6bdb9e3cb124727a1d4f7e5dabda WHIRLPOOL c12b791240e7c24f3b3390d50b4878f9d44e1adb34d600c3f4596431bbda88c03ae835f413bb504d348584d9b07368a845d0866833e29a1aa15ac1b8b431a3c6
|
||||
DIST duply_1.9.2.tgz 36222 SHA256 2bfc0964ebc0bae5752e0b4a12eb8fb6f78a27739f32c9acb4ac81947506c5ab SHA512 9ef5e22f43a6854e413ed1c2b88b10d0ae75cff7b2bcd927d20a588234555e9b7eff25d094f688f9d4f8510eba6bc20f7635c0de9ab9b402966075595922333e WHIRLPOOL 6a3e79c87e0b28386f0ed6fd8eb7973659477ad278e80e292a3e6cea944fd512baffc9a455e148faeadb687a46a8e274ce86668c29f30244b5b63f1f850a9c00
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit readme.gentoo
|
||||
|
||||
DESCRIPTION="A shell frontend for duplicity"
|
||||
HOMEPAGE="http://duply.net"
|
||||
SRC_URI="mirror://sourceforge/ftplicity/${PN}_${PV}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-text/txt2man"
|
||||
RDEPEND="app-backup/duplicity"
|
||||
|
||||
S=${WORKDIR}/${PN}_${PV}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
./${PN} txt2man > ${PN}.1 || die
|
||||
doman ${PN}.1
|
||||
dodoc CHANGELOG.txt
|
||||
readme.gentoo_create_doc
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Client for keybase.io"
|
||||
HOMEPAGE="https://keybase.io/"
|
||||
SRC_URI="https://github.com/keybase/node-client/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
net-libs/nodejs
|
||||
app-crypt/gnupg"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${P}.tar.gz"
|
||||
mv "node-client-${PV}" "${P}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc CHANGELOG.md README.md SIGNED.md
|
||||
insinto "/opt/${PN}"
|
||||
doins -r package.json bin certs json lib node_modules sql
|
||||
dosym "${D}/opt/${PN}/bin/main.js" "${ROOT}/usr/bin/keybase"
|
||||
chmod 0755 "${D}/opt/${PN}/bin/main.js" || die
|
||||
}
|
@ -0,0 +1,265 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
EGO_PN="github.com/docker/docker"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Docker cannot be fetched via "go get", thanks to autogenerated code
|
||||
EGIT_REPO_URI="https://${EGO_PN}.git"
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/${P}/src/${EGO_PN}"
|
||||
inherit git-r3
|
||||
else
|
||||
MY_PV="${PV/_/-}"
|
||||
DOCKER_GITCOMMIT="a34a1d5"
|
||||
EGIT_COMMIT="v${MY_PV}"
|
||||
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
[ "$DOCKER_GITCOMMIT" ] || die "DOCKER_GITCOMMIT must be added manually for each bump!"
|
||||
inherit golang-vcs-snapshot
|
||||
fi
|
||||
inherit bash-completion-r1 linux-info multilib systemd udev user
|
||||
|
||||
DESCRIPTION="Docker complements kernel namespacing with a high-level API which operates at the process level"
|
||||
HOMEPAGE="https://dockerproject.org"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="apparmor aufs btrfs +device-mapper experimental overlay"
|
||||
|
||||
# https://github.com/docker/docker/blob/master/hack/PACKAGERS.md#build-dependencies
|
||||
CDEPEND="
|
||||
>=dev-db/sqlite-3.7.9:3
|
||||
device-mapper? (
|
||||
>=sys-fs/lvm2-2.02.89[thin]
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
|
||||
dev-go/go-md2man
|
||||
|
||||
btrfs? (
|
||||
>=sys-fs/btrfs-progs-3.8
|
||||
)
|
||||
"
|
||||
|
||||
# https://github.com/docker/docker/blob/master/hack/PACKAGERS.md#runtime-dependencies
|
||||
# https://github.com/docker/docker/blob/master/hack/PACKAGERS.md#optional-dependencies
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
|
||||
!app-emulation/docker-bin
|
||||
>=net-firewall/iptables-1.4
|
||||
sys-process/procps
|
||||
>=dev-vcs/git-1.7
|
||||
>=app-arch/xz-utils-4.9
|
||||
|
||||
apparmor? (
|
||||
sys-libs/libapparmor[static-libs]
|
||||
)
|
||||
"
|
||||
|
||||
RESTRICT="installsources strip"
|
||||
|
||||
# see "contrib/check-config.sh" from upstream's sources
|
||||
CONFIG_CHECK="
|
||||
~NAMESPACES ~NET_NS ~PID_NS ~IPC_NS ~UTS_NS
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~CGROUPS ~CGROUP_CPUACCT ~CGROUP_DEVICE ~CGROUP_FREEZER ~CGROUP_SCHED ~CPUSETS ~MEMCG
|
||||
~MACVLAN ~VETH ~BRIDGE ~BRIDGE_NETFILTER
|
||||
~NF_NAT_IPV4 ~IP_NF_FILTER ~IP_NF_TARGET_MASQUERADE
|
||||
~NETFILTER_XT_MATCH_ADDRTYPE ~NETFILTER_XT_MATCH_CONNTRACK
|
||||
~NF_NAT ~NF_NAT_NEEDED
|
||||
|
||||
~POSIX_MQUEUE
|
||||
|
||||
~MEMCG_KMEM ~MEMCG_SWAP ~MEMCG_SWAP_ENABLED
|
||||
|
||||
~BLK_CGROUP ~IOSCHED_CFQ
|
||||
~CGROUP_PERF
|
||||
~CGROUP_HUGETLB
|
||||
~NET_CLS_CGROUP
|
||||
~CFS_BANDWIDTH ~FAIR_GROUP_SCHED ~RT_GROUP_SCHED
|
||||
"
|
||||
|
||||
ERROR_MEMCG_KMEM="CONFIG_MEMCG_KMEM: is optional"
|
||||
ERROR_MEMCG_SWAP="CONFIG_MEMCG_SWAP: is required if you wish to limit swap usage of containers"
|
||||
ERROR_RESOURCE_COUNTERS="CONFIG_RESOURCE_COUNTERS: is optional for container statistics gathering"
|
||||
|
||||
ERROR_BLK_CGROUP="CONFIG_BLK_CGROUP: is optional for container statistics gathering"
|
||||
ERROR_IOSCHED_CFQ="CONFIG_IOSCHED_CFQ: is optional for container statistics gathering"
|
||||
ERROR_CGROUP_PERF="CONFIG_CGROUP_PERF: is optional for container statistics gathering"
|
||||
ERROR_CFS_BANDWIDTH="CONFIG_CFS_BANDWIDTH: is optional for container statistics gathering"
|
||||
|
||||
pkg_setup() {
|
||||
if kernel_is lt 3 10; then
|
||||
ewarn ""
|
||||
ewarn "Using Docker with kernels older than 3.10 is unstable and unsupported."
|
||||
ewarn " - http://docs.docker.com/installation/binaries/#check-kernel-dependencies"
|
||||
fi
|
||||
|
||||
# for where these kernel versions come from, see:
|
||||
# https://www.google.com/search?q=945b2b2d259d1a4364a2799e80e8ff32f8c6ee6f+site%3Akernel.org%2Fpub%2Flinux%2Fkernel+file%3AChangeLog*
|
||||
if ! {
|
||||
kernel_is ge 3 16 \
|
||||
|| { kernel_is 3 15 && kernel_is ge 3 15 5; } \
|
||||
|| { kernel_is 3 14 && kernel_is ge 3 14 12; } \
|
||||
|| { kernel_is 3 12 && kernel_is ge 3 12 25; }
|
||||
}; then
|
||||
ewarn ""
|
||||
ewarn "There is a serious Docker-related kernel panic that has been fixed in 3.16+"
|
||||
ewarn " (and was backported to 3.15.5+, 3.14.12+, and 3.12.25+)"
|
||||
ewarn ""
|
||||
ewarn "See also https://github.com/docker/docker/issues/2960"
|
||||
fi
|
||||
|
||||
if kernel_is le 3 18; then
|
||||
CONFIG_CHECK+="
|
||||
~RESOURCE_COUNTERS
|
||||
"
|
||||
fi
|
||||
|
||||
if kernel_is le 3 13; then
|
||||
CONFIG_CHECK+="
|
||||
~NETPRIO_CGROUP
|
||||
"
|
||||
else
|
||||
CONFIG_CHECK+="
|
||||
~CGROUP_NET_PRIO
|
||||
"
|
||||
fi
|
||||
|
||||
if use aufs; then
|
||||
CONFIG_CHECK+="
|
||||
~AUFS_FS
|
||||
~EXT4_FS_POSIX_ACL ~EXT4_FS_SECURITY
|
||||
"
|
||||
ERROR_AUFS_FS="CONFIG_AUFS_FS: is required to be set if and only if aufs-sources are used instead of aufs4/aufs3"
|
||||
fi
|
||||
|
||||
if use btrfs; then
|
||||
CONFIG_CHECK+="
|
||||
~BTRFS_FS
|
||||
"
|
||||
fi
|
||||
|
||||
if use device-mapper; then
|
||||
CONFIG_CHECK+="
|
||||
~BLK_DEV_DM ~DM_THIN_PROVISIONING ~EXT4_FS ~EXT4_FS_POSIX_ACL ~EXT4_FS_SECURITY
|
||||
"
|
||||
fi
|
||||
|
||||
if use overlay; then
|
||||
CONFIG_CHECK+="
|
||||
~OVERLAY_FS ~EXT4_FS_SECURITY ~EXT4_FS_POSIX_ACL
|
||||
"
|
||||
fi
|
||||
|
||||
linux-info_pkg_setup
|
||||
|
||||
# create docker group for the code checking for it in /etc/group
|
||||
enewgroup docker
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cd "src/${EGO_PN}" || die
|
||||
epatch "${FILESDIR}"/18074-disable-journald-arm.patch
|
||||
# allow user patches (use sparingly - upstream won't support them)
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "src/${EGO_PN}" || die
|
||||
export GOPATH="${WORKDIR}/${P}:${PWD}/vendor:$(get_golibdir_gopath)"
|
||||
|
||||
# setup CFLAGS and LDFLAGS for separate build target
|
||||
# see https://github.com/tianon/docker-overlay/pull/10
|
||||
export CGO_CFLAGS="-I${ROOT}/usr/include"
|
||||
export CGO_LDFLAGS="-L${ROOT}/usr/$(get_libdir)"
|
||||
|
||||
# if we're building from a zip, we need the GITCOMMIT value
|
||||
[ "$DOCKER_GITCOMMIT" ] && export DOCKER_GITCOMMIT
|
||||
|
||||
if gcc-specs-pie; then
|
||||
sed -i "s/EXTLDFLAGS_STATIC='/EXTLDFLAGS_STATIC='-fno-PIC /" hack/make.sh || die
|
||||
grep -q -- '-fno-PIC' hack/make.sh || die 'hardened sed failed'
|
||||
|
||||
sed -i "s/LDFLAGS_STATIC_DOCKER='/LDFLAGS_STATIC_DOCKER='-extldflags -fno-PIC /" hack/make/dynbinary || die
|
||||
grep -q -- '-fno-PIC' hack/make/dynbinary || die 'hardened sed failed'
|
||||
fi
|
||||
|
||||
# let's set up some optional features :)
|
||||
export DOCKER_BUILDTAGS=''
|
||||
for gd in aufs btrfs device-mapper overlay; do
|
||||
if ! use $gd; then
|
||||
DOCKER_BUILDTAGS+=" exclude_graphdriver_${gd//-/}"
|
||||
fi
|
||||
done
|
||||
|
||||
if use apparmor; then
|
||||
DOCKER_BUILDTAGS+=' apparmor'
|
||||
fi
|
||||
|
||||
# https://github.com/docker/docker/pull/13338
|
||||
if use experimental; then
|
||||
export DOCKER_EXPERIMENTAL=1
|
||||
else
|
||||
unset DOCKER_EXPERIMENTAL
|
||||
fi
|
||||
|
||||
# time to build!
|
||||
./hack/make.sh dynbinary || die 'dynbinary failed'
|
||||
|
||||
# build the man pages too
|
||||
./man/md2man-all.sh || die "unable to generate man pages"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "src/${EGO_PN}" || die
|
||||
VERSION="$(cat VERSION)"
|
||||
newbin "bundles/$VERSION/dynbinary/docker-$VERSION" docker
|
||||
exeinto /usr/libexec/docker
|
||||
newexe "bundles/$VERSION/dynbinary/dockerinit-$VERSION" dockerinit
|
||||
|
||||
newinitd contrib/init/openrc/docker.initd docker
|
||||
newconfd contrib/init/openrc/docker.confd docker
|
||||
|
||||
systemd_dounit contrib/init/systemd/docker.{service,socket}
|
||||
|
||||
udev_dorules contrib/udev/*.rules
|
||||
|
||||
dodoc AUTHORS CONTRIBUTING.md CHANGELOG.md NOTICE README.md
|
||||
dodoc -r docs/*
|
||||
doman man/man*/*
|
||||
|
||||
dobashcomp contrib/completion/bash/*
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins contrib/completion/zsh/*
|
||||
|
||||
insinto /usr/share/vim/vimfiles
|
||||
doins -r contrib/syntax/vim/ftdetect
|
||||
doins -r contrib/syntax/vim/syntax
|
||||
|
||||
# note: intentionally not using "doins" so that we preserve +x bits
|
||||
mkdir -p "${D}/usr/share/${PN}/contrib"
|
||||
cp -R contrib/* "${D}/usr/share/${PN}/contrib"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
udev_reload
|
||||
|
||||
elog
|
||||
elog "To use Docker, the Docker daemon must be running as root. To automatically"
|
||||
elog "start the Docker daemon at boot, add Docker to the default runlevel:"
|
||||
elog " rc-update add docker default"
|
||||
elog "Similarly for systemd:"
|
||||
elog " systemctl enable docker.service"
|
||||
elog
|
||||
elog "To use Docker as a non-root user, add yourself to the 'docker' group:"
|
||||
elog " usermod -aG docker youruser"
|
||||
elog
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
diff --git a/daemon/logger/journald/journald.go b/daemon/logger/journald/journald.go
|
||||
index c729b56..97c379c 100644
|
||||
--- a/daemon/logger/journald/journald.go
|
||||
+++ b/daemon/logger/journald/journald.go
|
||||
@@ -1,4 +1,4 @@
|
||||
-// +build linux
|
||||
+// +build linux,!arm
|
||||
|
||||
// Package journald provides the log driver for forwarding server logs
|
||||
// to endpoints that receive the systemd format.
|
||||
diff --git a/daemon/logger/journald/journald_unsupported.go b/daemon/logger/journald/journald_unsupported.go
|
||||
index d52ca92..8e9034a 100644
|
||||
--- a/daemon/logger/journald/journald_unsupported.go
|
||||
+++ b/daemon/logger/journald/journald_unsupported.go
|
||||
@@ -1,4 +1,4 @@
|
||||
-// +build !linux
|
||||
+// +build !linux linux,arm
|
||||
|
||||
package journald
|
||||
|
||||
diff --git a/daemon/logger/journald/read.go b/daemon/logger/journald/read.go
|
||||
index 80c1fbd..0477c04 100644
|
||||
--- a/daemon/logger/journald/read.go
|
||||
+++ b/daemon/logger/journald/read.go
|
||||
@@ -1,4 +1,4 @@
|
||||
-// +build linux,cgo,!static_build,journald
|
||||
+// +build linux,cgo,!static_build,journald,!arm
|
||||
|
||||
package journald
|
||||
|
@ -0,0 +1,470 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE='xml,threads'
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
REPO="xen-unstable.hg"
|
||||
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
|
||||
S="${WORKDIR}/${REPO}"
|
||||
live_eclass="mercurial"
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~arm64 -x86"
|
||||
UPSTREAM_VER=0
|
||||
SECURITY_VER=7
|
||||
# xen-tools's gentoo patches tarball
|
||||
GENTOO_VER=4
|
||||
# xen-tools's gentoo patches version which apply to this specific ebuild
|
||||
GENTOO_GPV=0
|
||||
# xen-tools ovmf's patches
|
||||
OVMF_VER=1
|
||||
|
||||
SEABIOS_VER=1.8.2
|
||||
OVMF_PV=20150629
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${SECURITY_VER} ]] && \
|
||||
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-security-patches-${SECURITY_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
[[ -n ${OVMF_VER} ]] && \
|
||||
OVMF_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-ovmf-patches-${OVMF_VER}.tar.xz"
|
||||
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/xen-${MY_PV}.tar.gz
|
||||
http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
|
||||
https://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
|
||||
ovmf? ( https://dev.gentoo.org/~dlan/distfiles/ovmf-${OVMF_PV}.tar.bz2
|
||||
${OVMF_PATCHSET_URI} )
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${SECURITY_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
S="${WORKDIR}/xen-${MY_PV}"
|
||||
fi
|
||||
|
||||
inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass}
|
||||
|
||||
DESCRIPTION="Xend daemon and tools"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
DOCS=( README docs/README.xen-bugtool )
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
|
||||
# >=dev-lang/ocaml-4 stable
|
||||
# Masked in profiles/eapi-5-files instead
|
||||
IUSE="api custom-cflags debug doc flask hvm qemu ocaml ovmf +pam python pygrub screen sdl static-libs system-qemu system-seabios"
|
||||
|
||||
REQUIRED_USE="hvm? ( || ( qemu system-qemu ) )
|
||||
${PYTHON_REQUIRED_USE}
|
||||
pygrub? ( python )
|
||||
ovmf? ( hvm )
|
||||
qemu? ( !system-qemu )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-libs/lzo:2
|
||||
dev-libs/glib:2
|
||||
dev-libs/yajl
|
||||
dev-libs/libaio
|
||||
dev-libs/libgcrypt:0
|
||||
sys-libs/zlib
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
pam? ( dev-python/pypam[${PYTHON_USEDEP}] )
|
||||
${PYTHON_DEPS}
|
||||
api? ( dev-libs/libxml2
|
||||
net-misc/curl )
|
||||
pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} )
|
||||
ovmf? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/sqlite} )
|
||||
!amd64? ( >=sys-apps/dtc-1.4.0 )
|
||||
amd64? ( sys-devel/bin86
|
||||
system-seabios? ( sys-firmware/seabios )
|
||||
sys-firmware/ipxe
|
||||
sys-devel/dev86
|
||||
sys-power/iasl )
|
||||
dev-lang/perl
|
||||
app-misc/pax-utils
|
||||
dev-python/markdown[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
dev-tex/latex2html[png,gif]
|
||||
media-gfx/graphviz
|
||||
dev-tex/xcolor
|
||||
media-gfx/transfig
|
||||
dev-texlive/texlive-latexextra
|
||||
virtual/latex-base
|
||||
dev-tex/latexmk
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-pictures
|
||||
dev-texlive/texlive-latexrecommended
|
||||
)
|
||||
hvm? ( x11-proto/xproto
|
||||
!net-libs/libiscsi )
|
||||
qemu? (
|
||||
x11-libs/pixman
|
||||
sdl? ( media-libs/libsdl[X] )
|
||||
)
|
||||
system-qemu? ( app-emulation/qemu[xen] )
|
||||
ocaml? ( dev-ml/findlib
|
||||
>=dev-lang/ocaml-4 )"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
sys-apps/iproute2
|
||||
net-misc/bridge-utils
|
||||
screen? (
|
||||
app-misc/screen
|
||||
app-admin/logrotate
|
||||
)
|
||||
virtual/udev"
|
||||
|
||||
# hvmloader is used to bootstrap a fully virtualized kernel
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="usr/lib/xen/boot/hvmloader
|
||||
usr/share/qemu-xen/qemu/s390-ccw.img"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
export "CONFIG_LOMOUNT=y"
|
||||
|
||||
#bug 522642, disable compile tools/tests
|
||||
export "CONFIG_TESTS=n"
|
||||
|
||||
if has_version dev-libs/libgcrypt:0; then
|
||||
export "CONFIG_GCRYPT=y"
|
||||
fi
|
||||
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64 ; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
elif use arm; then
|
||||
export XEN_TARGET_ARCH="arm32"
|
||||
elif use arm64; then
|
||||
export XEN_TARGET_ARCH="arm64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
einfo "Try to apply Xen Upstream patcheset"
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Security patchset
|
||||
if [[ -n ${SECURITY_VER} ]]; then
|
||||
einfo "Try to apply Xen Security patcheset"
|
||||
source "${WORKDIR}"/patches-security/${PV}.conf
|
||||
# apply main xen patches
|
||||
for i in ${XEN_SECURITY_MAIN}; do
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-security/xen/$i
|
||||
done
|
||||
|
||||
# apply qemu-traditional patches
|
||||
pushd "${S}"/tools/qemu-xen-traditional/ > /dev/null
|
||||
for i in ${XEN_SECURITY_QEMUT}; do
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-security/qemut/$i
|
||||
done
|
||||
popd > /dev/null
|
||||
|
||||
# apply qemu-xen/upstream patches
|
||||
pushd "${S}"/tools/qemu-xen/ > /dev/null
|
||||
for i in ${XEN_SECURITY_QEMUU}; do
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-security/qemuu/$i
|
||||
done
|
||||
popd > /dev/null
|
||||
fi
|
||||
|
||||
# move before Gentoo patch, one patch should apply to seabios, to fix gcc-4.5.x build err
|
||||
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
|
||||
pushd tools/firmware/ > /dev/null
|
||||
ln -s seabios-dir-remote seabios-dir || die
|
||||
popd > /dev/null
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} && -n ${GENTOO_GPV} ]]; then
|
||||
einfo "Try to apply Gentoo specific patcheset"
|
||||
source "${FILESDIR}"/gentoo-patches.conf
|
||||
_gpv=_gpv_${PN/-/_}_${PV//./}_${GENTOO_GPV}
|
||||
for i in ${!_gpv}; do
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-gentoo/$i
|
||||
done
|
||||
fi
|
||||
|
||||
# Ovmf's patchset
|
||||
if [[ -n ${OVMF_VER} ]] && use ovmf; then
|
||||
einfo "Try to apply Ovmf patcheset"
|
||||
pushd "${WORKDIR}"/ovmf-*/ > /dev/null
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-ovmf
|
||||
popd > /dev/null
|
||||
mv ../ovmf-${OVMF_PV} tools/firmware/ovmf-dir-remote || die
|
||||
fi
|
||||
|
||||
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
|
||||
|
||||
# Fix texi2html build error with new texi2html, qemu.doc.html
|
||||
sed -i -e "/texi2html -monolithic/s/-number//" tools/qemu-xen-traditional/Makefile || die
|
||||
|
||||
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
|
||||
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
|
||||
-i tools/firmware/Makefile || die
|
||||
|
||||
# Drop .config, fixes to gcc-4.6
|
||||
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
|
||||
# try and remove all the default cflags
|
||||
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
|
||||
-exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} + || die "failed to re-set custom-cflags"
|
||||
fi
|
||||
|
||||
if ! use pygrub; then
|
||||
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
if ! use python; then
|
||||
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
if ! use hvm; then
|
||||
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
|
||||
# Bug 351648
|
||||
elif ! use x86 && ! has x86 $(get_all_abis); then
|
||||
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
|
||||
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
|
||||
export CPATH="${WORKDIR}"/extra-headers
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
if use sdl; then
|
||||
sed -i -e "s:\$\$source/configure:\0 --enable-sdl:" \
|
||||
tools/Makefile || die
|
||||
else
|
||||
sed -i -e "s:\${QEMU_ROOT\:\-\.}/configure:\0 --disable-sdl:" \
|
||||
tools/qemu-xen-traditional/xen-setup || die
|
||||
sed -i -e "s:\$\$source/configure:\0 --disable-sdl:" \
|
||||
tools/Makefile || die
|
||||
fi
|
||||
else
|
||||
# Don't bother with qemu, only needed for fully virtualised guests
|
||||
sed -e "s:install-tools\: tools/qemu-xen-traditional-dir:install-tools\: :g" -i Makefile || die
|
||||
fi
|
||||
|
||||
# Reset bash completion dir; Bug 472438
|
||||
sed -e "s:^BASH_COMPLETION_DIR ?= \$(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(get_bashcompdir):" \
|
||||
-i Config.mk || die
|
||||
sed -i -e "/bash-completion/s/xl\.sh/xl/g" tools/libxl/Makefile || die
|
||||
|
||||
# xencommons, Bug #492332, sed lighter weight than patching
|
||||
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
|
||||
-i tools/hotplug/Linux/init.d/xencommons.in || die
|
||||
|
||||
# respect multilib, usr/lib/libcacard.so.0.0.0
|
||||
sed -e "/^libdir=/s/\/lib/\/$(get_libdir)/" \
|
||||
-i tools/qemu-xen/configure || die
|
||||
|
||||
#bug 518136, don't build 32bit exactuable for nomultilib profile
|
||||
if [[ "${ARCH}" == 'amd64' ]] && ! has_multilib_profile; then
|
||||
sed -i -e "/x86_emulator/d" tools/tests/Makefile || die
|
||||
fi
|
||||
|
||||
# use /var instead of /var/lib, consistat with previous ebuild
|
||||
sed -i -e "/XEN_LOCK_DIR=/s/\$localstatedir/\/var/g" \
|
||||
m4/paths.m4 configure tools/configure || die
|
||||
# use /run instead of /var/run
|
||||
sed -i -e "/XEN_RUN_DIR=/s/\$localstatedir//g" \
|
||||
m4/paths.m4 configure tools/configure || die
|
||||
|
||||
# uncomment lines in xl.conf
|
||||
sed -e 's:^#autoballoon=:autoballoon=:' \
|
||||
-e 's:^#lockfile=:lockfile=:' \
|
||||
-e 's:^#vif.default.script=:vif.default.script=:' \
|
||||
-i tools/examples/xl.conf || die
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="--prefix=${PREFIX}/usr \
|
||||
--libdir=${PREFIX}/usr/$(get_libdir) \
|
||||
--libexecdir=${PREFIX}/usr/libexec \
|
||||
--disable-werror \
|
||||
--disable-xen \
|
||||
--enable-tools \
|
||||
--enable-docs \
|
||||
$(use_with system-qemu) \
|
||||
$(use_enable pam) \
|
||||
$(use_enable api xenapi) \
|
||||
$(use_enable ovmf) \
|
||||
$(use_enable ocaml ocamltools) \
|
||||
"
|
||||
use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin"
|
||||
use qemu || myconf+=" --with-system-qemu"
|
||||
use amd64 && myconf+=" --enable-qemu-traditional"
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export VARTEXFONTS="${T}/fonts"
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
use custom-cflags || unset CFLAGS
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
unset LDFLAGS
|
||||
unset CFLAGS
|
||||
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
|
||||
|
||||
use doc && emake -C docs txt html
|
||||
emake -C docs man-pages
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Override auto-detection in the build system, bug #382573
|
||||
export INITD_DIR=/tmp/init.d
|
||||
export CONFIG_LEAF_DIR=../tmp/default
|
||||
|
||||
# Let the build system compile installed Python modules.
|
||||
local PYTHONDONTWRITEBYTECODE
|
||||
export PYTHONDONTWRITEBYTECODE
|
||||
|
||||
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
|
||||
XEN_PYTHON_NATIVE_INSTALL=y install-tools
|
||||
|
||||
# Fix the remaining Python shebangs.
|
||||
python_fix_shebang "${D}"
|
||||
|
||||
# Remove RedHat-specific stuff
|
||||
rm -rf "${D}"tmp || die
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
|
||||
|
||||
dohtml -r docs/
|
||||
docinto pdf
|
||||
dodoc ${DOCS[@]}
|
||||
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
|
||||
fi
|
||||
|
||||
rm -rf "${D}"/usr/share/doc/xen/
|
||||
doman docs/man?/*
|
||||
|
||||
newconfd "${FILESDIR}"/xendomains.confd xendomains
|
||||
newconfd "${FILESDIR}"/xenstored.confd xenstored
|
||||
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
|
||||
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
|
||||
newinitd "${FILESDIR}"/xenstored.initd xenstored
|
||||
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
|
||||
newinitd "${FILESDIR}"/xencommons.initd xencommons
|
||||
newconfd "${FILESDIR}"/xencommons.confd xencommons
|
||||
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
|
||||
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
|
||||
|
||||
if use screen; then
|
||||
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
|
||||
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
|
||||
keepdir /var/log/xen-consoles
|
||||
fi
|
||||
|
||||
# For -static-libs wrt Bug 384355
|
||||
if ! use static-libs; then
|
||||
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
|
||||
fi
|
||||
|
||||
# for xendomains
|
||||
keepdir /etc/xen/auto
|
||||
|
||||
# Temp QA workaround
|
||||
dodir "$(get_udevdir)"
|
||||
mv "${D}"/etc/udev/* "${D}/$(get_udevdir)"
|
||||
rm -rf "${D}"/etc/udev
|
||||
|
||||
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
|
||||
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
|
||||
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the offical wiki page:"
|
||||
elog "https://wiki.gentoo.org/wiki/Xen"
|
||||
elog "http://wiki.xen.org/wiki/Main_Page"
|
||||
elog ""
|
||||
elog "Recommended to utilise the xencommons script to config sytem At boot"
|
||||
elog "Add by use of rc-update on completion of the install"
|
||||
|
||||
# TODO: we need to have the current Python slot here.
|
||||
if ! has_version "dev-lang/python[ncurses]"; then
|
||||
echo
|
||||
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
|
||||
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
|
||||
fi
|
||||
|
||||
if has_version "sys-apps/iproute2[minimal]"; then
|
||||
echo
|
||||
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
|
||||
ewarn "will not work until you rebuild iproute2 without USE=minimal."
|
||||
fi
|
||||
|
||||
if ! use hvm; then
|
||||
echo
|
||||
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
|
||||
elog "support enable the hvm use flag."
|
||||
elog "An x86 or amd64 system is required to build HVM support."
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
|
||||
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
|
||||
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
|
||||
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
|
||||
fi
|
||||
|
||||
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
|
||||
echo
|
||||
elog "xensv is broken upstream (Gentoo bug #142011)."
|
||||
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
|
||||
fi
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
DIST octopus-3.0-1.src.tar.gz 25968343 SHA256 9f37514f0540c64aba2163b4c4faa5d5327db6c7f1946fcbe7dc0a36a2097cac SHA512 5591fa2bd8098260c240ed7e7294c7ec1aa4212b14f949c9497496d60a3ea1e6db989ef948c134e984e92ba2cbeecb0b3530ad5e4d0ad687a5e1a5f37d618315 WHIRLPOOL 5b67c458c7f418fa330cd539096438f472c14fdfd666ef5768075d5e1fd3c4d5c55690104b414cfd8609791904af8466a93d7db2cebdfebd903e7fd54becd564
|
||||
DIST octopus-xmls-3.0.1.tar.bz2 22492 SHA256 e92e32cfca1955e7de2cd6a02bdd9bf279b2cf9471bd0ba93a4e13532e4f4095 SHA512 88add21ac12e6b3898ab40db724464153c30ff4bf4826f71c26fa6c2aa53602793b5decc44428d150579bcd433246a64514469cd005f6fc76506194ae4e20e66 WHIRLPOOL 42da61f432da0613816bc4f352d02b5415ede2d9b98f239d0e8591f4e67ddc6b87ed6993127ee1f138bb35ca2922f4747ce2512cca51ba582caccaf2a9fa271a
|
@ -1,497 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<project name="octopus" default="jar">
|
||||
<!-- some properties -->
|
||||
<property name="dist.dir" value="dist" />
|
||||
<property name="build.top.dir" value="build" />
|
||||
<property name="docs.top.dir" value="docs" />
|
||||
<property name="target.jdk" value="1.4" />
|
||||
|
||||
<!-- init -->
|
||||
<target name="init">
|
||||
<mkdir dir="${dist.dir}" />
|
||||
<mkdir dir="${docs.top.dir}" />
|
||||
<mkdir dir="${build.top.dir}" />
|
||||
|
||||
<mkdir dir="${build.octopus.dir}" />
|
||||
<mkdir dir="${docs.octopus.dir}" />
|
||||
|
||||
<mkdir dir="${build.octopus-generator.dir}" />
|
||||
<mkdir dir="${docs.octopus-generator.dir}" />
|
||||
|
||||
<mkdir dir="${build.octopus-task.dir}" />
|
||||
<mkdir dir="${docs.octopus-task.dir}" />
|
||||
|
||||
<mkdir dir="${build.octopus-test.dir}" />
|
||||
<mkdir dir="${docs.octopus-test.dir}" />
|
||||
|
||||
<mkdir dir="${build.csvjdbc.dir}" />
|
||||
<mkdir dir="${docs.csvjdbc.dir}" />
|
||||
|
||||
<mkdir dir="${build.xmljdbc.dir}" />
|
||||
<mkdir dir="${docs.xmljdbc.dir}" />
|
||||
|
||||
<mkdir dir="${build.log4jlogger.dir}" />
|
||||
<mkdir dir="${docs.log4jlogger.dir}" />
|
||||
|
||||
<mkdir dir="${build.i18njdbc.dir}" />
|
||||
<mkdir dir="${docs.i18njdbc.dir}" />
|
||||
|
||||
<mkdir dir="${build.xmlutil.dir}" />
|
||||
<mkdir dir="${docs.xmlutil.dir}" />
|
||||
</target>
|
||||
|
||||
|
||||
<!-- jar all -->
|
||||
<target name="jar-all"
|
||||
depends="jar-octopus, jar-xmlutil, jar-octopus-generator, jar-octopus-task, jar-octopus-test, jar-xmlutil, jar-csvjdbc, jar-xmljdbc, jar-log4jlogger, jar-i18njdbc" />
|
||||
|
||||
<!-- docs all -->
|
||||
<target name="docs-all"
|
||||
depends="docs-octopus, docs-xmlutil, docs-octopus-generator, docs-octopus-task, docs-octopus-test, docs-xmlutil, docs-csvjdbc, docs-xmljdbc, docs-log4jlogger, docs-i18njdbc" />
|
||||
|
||||
<!-- sourcezip all -->
|
||||
<target name="sourcezip-all"
|
||||
depends="sourcezip-octopus, sourcezip-xmlutil, sourcezip-octopus-generator, sourcezip-octopus-task, sourcezip-octopus-test, sourcezip-xmlutil, sourcezip-csvjdbc, sourcezip-xmljdbc, sourcezip-log4jlogger, sourcezip-i18njdbc" />
|
||||
|
||||
|
||||
<!-- ############## -->
|
||||
<!-- Octopus module -->
|
||||
<!-- ############## -->
|
||||
<property name="build.octopus.dir" value="build/Octopus" />
|
||||
<property name="docs.octopus.dir" value="docs/Octopus" />
|
||||
<property name="src.octopus.dir" value="Octopus" />
|
||||
<property name="jar.octopus" value="${dist.dir}/Octopus.jar" />
|
||||
|
||||
<!-- compile everything -->
|
||||
<target name="compile-octopus" depends="init">
|
||||
<javac srcdir="${src.octopus.dir}/src"
|
||||
destdir="${build.octopus.dir}"
|
||||
source="${target.jdk}"
|
||||
target="${target.jdk}" />
|
||||
|
||||
<copy todir="${build.octopus.dir}">
|
||||
<fileset dir="${src.octopus.dir}/xmls" />
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- build the jar file -->
|
||||
<target name="jar-octopus" depends="compile-octopus">
|
||||
<jar jarfile="${jar.octopus}" basedir="${build.octopus.dir}" />
|
||||
</target>
|
||||
|
||||
<!-- generate javadocs -->
|
||||
<target name="docs-octopus" depends="init">
|
||||
<javadoc sourcepath="${src.octopus.dir}/src"
|
||||
packagenames="org.*"
|
||||
destdir="${docs.octopus.dir}"
|
||||
author="true"
|
||||
version="true"
|
||||
use="true"
|
||||
source="${target.jdk}"
|
||||
windowtitle="${ant.project.name} API" />
|
||||
</target>
|
||||
|
||||
<!-- zip Octopus sources -->
|
||||
<target name="sourcezip-octopus">
|
||||
<zip destfile="${dist.dir}/Octopus-src.zip">
|
||||
<zipfileset dir="${src.octopus.dir}/src" />
|
||||
</zip>
|
||||
</target>
|
||||
|
||||
|
||||
|
||||
<!-- ############## -->
|
||||
<!-- xmlutil module -->
|
||||
<!-- ############## -->
|
||||
<property name="build.xmlutil.dir" value="build/XMLutil" />
|
||||
<property name="docs.xmlutil.dir" value="docs/XMLutil" />
|
||||
<property name="src.xmlutil.dir" value="XMLutil" />
|
||||
<property name="jar.xmlutil" value="${dist.dir}/xmlutil.jar" />
|
||||
|
||||
<!-- compile everything -->
|
||||
<target name="compile-xmlutil" depends="init">
|
||||
<javac srcdir="${src.xmlutil.dir}/src/src"
|
||||
destdir="${build.xmlutil.dir}"
|
||||
source="${target.jdk}"
|
||||
target="${target.jdk}" />
|
||||
</target>
|
||||
|
||||
<!-- build the jar file -->
|
||||
<target name="jar-xmlutil" depends="compile-xmlutil">
|
||||
<jar jarfile="${jar.xmlutil}" basedir="${build.xmlutil.dir}" />
|
||||
</target>
|
||||
|
||||
<!-- generate javadocs -->
|
||||
<target name="docs-xmlutil" depends="init">
|
||||
<javadoc sourcepath="${src.xmlutil.dir}/src/src"
|
||||
packagenames="org.*"
|
||||
destdir="${docs.xmlutil.dir}"
|
||||
author="true"
|
||||
version="true"
|
||||
use="true"
|
||||
source="${target.jdk}"
|
||||
windowtitle="${ant.project.name} API" />
|
||||
</target>
|
||||
|
||||
<!-- zip xmlutil sources -->
|
||||
<target name="sourcezip-xmlutil">
|
||||
<zip destfile="${dist.dir}/XMLutil-src.zip">
|
||||
<zipfileset dir="${src.xmlutil.dir}/src/src" />
|
||||
</zip>
|
||||
</target>
|
||||
|
||||
|
||||
|
||||
<!-- ####################### -->
|
||||
<!-- OctopusGenerator module -->
|
||||
<!-- ####################### -->
|
||||
<property name="build.octopus-generator.dir" value="build/OctopusGenerator" />
|
||||
<property name="docs.octopus-generator.dir" value="docs/OctopusGenerator" />
|
||||
<property name="src.octopus-generator.dir" value="OctopusGenerator" />
|
||||
<property name="jar.octopus-generator" value="${dist.dir}/OctopusGenerator.jar" />
|
||||
|
||||
<!-- compile everything -->
|
||||
<target name="compile-octopus-generator" depends="init, jar-xmlutil, jar-octopus">
|
||||
<javac srcdir="${src.octopus-generator.dir}/src"
|
||||
destdir="${build.octopus-generator.dir}"
|
||||
source="${target.jdk}"
|
||||
target="${target.jdk}">
|
||||
<classpath>
|
||||
<pathelement path="${jar.octopus}" />
|
||||
<pathelement path="${jar.xmlutil}" />
|
||||
</classpath>
|
||||
</javac>
|
||||
|
||||
<copy todir="${build.octopus-generator.dir}">
|
||||
<fileset dir="${src.octopus-generator.dir}/src">
|
||||
<exclude name="**/*.java" />
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- build the jar file -->
|
||||
<target name="jar-octopus-generator" depends="compile-octopus-generator">
|
||||
<jar jarfile="${jar.octopus-generator}" basedir="${build.octopus-generator.dir}">
|
||||
<manifest>
|
||||
<attribute name="Main-Class" value="org.webdocwf.util.loader.wizard.WizardFrame" />
|
||||
</manifest>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
<!-- generate javadocs -->
|
||||
<target name="docs-octopus-generator" depends="init, jar-xmlutil, jar-octopus">
|
||||
<javadoc sourcepath="${src.octopus-generator.dir}/src"
|
||||
packagenames="org.*"
|
||||
destdir="${docs.octopus-generator.dir}"
|
||||
author="true"
|
||||
version="true"
|
||||
use="true"
|
||||
source="${target.jdk}"
|
||||
windowtitle="${ant.project.name} API">
|
||||
<classpath>
|
||||
<pathelement path="${jar.octopus}" />
|
||||
<pathelement path="${jar.xmlutil}" />
|
||||
</classpath>
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
<!-- zip OctopusGenerator sources -->
|
||||
<target name="sourcezip-octopus-generator">
|
||||
<zip destfile="${dist.dir}/OctopusGenerator-src.zip">
|
||||
<zipfileset dir="${src.octopus-generator.dir}/src" />
|
||||
</zip>
|
||||
</target>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- ################### -->
|
||||
<!-- OctopusTasks module -->
|
||||
<!-- ################### -->
|
||||
<property name="build.octopus-task.dir" value="build/OctopusTask" />
|
||||
<property name="docs.octopus-task.dir" value="docs/OctopusTask" />
|
||||
<property name="src.octopus-task.dir" value="OctopusTask" />
|
||||
<property name="jar.octopus-task" value="${dist.dir}/OctopusTask.jar" />
|
||||
|
||||
<!-- compile everything -->
|
||||
<target name="compile-octopus-task" depends="init">
|
||||
<javac srcdir="${src.octopus-task.dir}/src"
|
||||
destdir="${build.octopus-task.dir}"
|
||||
source="${target.jdk}"
|
||||
target="${target.jdk}" />
|
||||
</target>
|
||||
|
||||
<!-- build the jar file -->
|
||||
<target name="jar-octopus-task" depends="compile-octopus-task">
|
||||
<jar jarfile="${jar.octopus-task}" basedir="${build.octopus-task.dir}" />
|
||||
</target>
|
||||
|
||||
<!-- generate javadocs -->
|
||||
<target name="docs-octopus-task" depends="init">
|
||||
<javadoc sourcepath="${src.octopus-task.dir}/src"
|
||||
packagenames="org.*"
|
||||
destdir="${docs.octopus-task.dir}"
|
||||
author="true"
|
||||
version="true"
|
||||
use="true"
|
||||
source="${target.jdk}"
|
||||
windowtitle="${ant.project.name} API" />
|
||||
</target>
|
||||
|
||||
<!-- zip OctopusTask sources -->
|
||||
<target name="sourcezip-octopus-task">
|
||||
<zip destfile="${dist.dir}/OctopusTask-src.zip">
|
||||
<zipfileset dir="${src.octopus-task.dir}/src" />
|
||||
</zip>
|
||||
</target>
|
||||
|
||||
|
||||
|
||||
<!-- ################## -->
|
||||
<!-- OctopusTest module -->
|
||||
<!-- ################## -->
|
||||
<property name="build.octopus-test.dir" value="build/OctopusTest" />
|
||||
<property name="docs.octopus-test.dir" value="docs/OctopusTest" />
|
||||
<property name="src.octopus-test.dir" value="OctopusTest" />
|
||||
<property name="jar.octopus-test" value="${dist.dir}/OctopusTest.jar" />
|
||||
|
||||
<!-- compile everything -->
|
||||
<target name="compile-octopus-test" depends="init, jar-octopus">
|
||||
<javac srcdir="${src.octopus-test.dir}/src"
|
||||
destdir="${build.octopus-test.dir}"
|
||||
source="${target.jdk}"
|
||||
target="${target.jdk}">
|
||||
<classpath>
|
||||
<pathelement path="${jar.octopus}" />
|
||||
</classpath>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- build the jar file -->
|
||||
<target name="jar-octopus-test" depends="compile-octopus-test">
|
||||
<jar jarfile="${jar.octopus-test}" basedir="${build.octopus-test.dir}" />
|
||||
</target>
|
||||
|
||||
<!-- generate javadocs -->
|
||||
<target name="docs-octopus-test" depends="init, jar-octopus">
|
||||
<javadoc sourcepath="${src.octopus-test.dir}/src"
|
||||
packagenames="org.*"
|
||||
destdir="${docs.octopus-test.dir}"
|
||||
author="true"
|
||||
version="true"
|
||||
use="true"
|
||||
source="${target.jdk}"
|
||||
windowtitle="${ant.project.name} API">
|
||||
<classpath>
|
||||
<pathelement path="${jar.octopus}" />
|
||||
</classpath>
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
<!-- zip OctopusTest sources -->
|
||||
<target name="sourcezip-octopus-test">
|
||||
<zip destfile="${dist.dir}/OctopusTest-src.zip">
|
||||
<zipfileset dir="${src.octopus-test.dir}/src" />
|
||||
</zip>
|
||||
</target>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- ############## -->
|
||||
<!-- Csvjdbc module -->
|
||||
<!-- ############## -->
|
||||
<property name="build.csvjdbc.dir" value="build/Csvjdbc" />
|
||||
<property name="docs.csvjdbc.dir" value="docs/Csvjdbc" />
|
||||
<property name="src.csvjdbc.dir" value="Csvjdbc" />
|
||||
<property name="jar.csvjdbc" value="${dist.dir}/csvjdbc.jar" />
|
||||
|
||||
<!-- compile everything -->
|
||||
<target name="compile-csvjdbc" depends="init">
|
||||
<javac srcdir="${src.csvjdbc.dir}/src/src/java"
|
||||
destdir="${build.csvjdbc.dir}"
|
||||
source="${target.jdk}"
|
||||
target="${target.jdk}" />
|
||||
</target>
|
||||
|
||||
<!-- build the jar file -->
|
||||
<target name="jar-csvjdbc" depends="compile-csvjdbc">
|
||||
<jar jarfile="${jar.csvjdbc}" basedir="${build.csvjdbc.dir}" />
|
||||
</target>
|
||||
|
||||
<!-- generate javadocs -->
|
||||
<target name="docs-csvjdbc" depends="init">
|
||||
<javadoc sourcepath="${src.csvjdbc.dir}/src/src/java"
|
||||
packagenames="org.*"
|
||||
destdir="${docs.csvjdbc.dir}"
|
||||
author="true"
|
||||
version="true"
|
||||
use="true"
|
||||
source="${target.jdk}"
|
||||
windowtitle="${ant.project.name} API" />
|
||||
</target>
|
||||
|
||||
<!-- zip Csvjdbc sources -->
|
||||
<target name="sourcezip-csvjdbc">
|
||||
<zip destfile="${dist.dir}/Csvjdbc-src.zip">
|
||||
<zipfileset dir="${src.csvjdbc.dir}/src/src/java" />
|
||||
</zip>
|
||||
</target>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- ############## -->
|
||||
<!-- xmljdbc module -->
|
||||
<!-- ############## -->
|
||||
<property name="build.xmljdbc.dir" value="build/XMLjdbc" />
|
||||
<property name="docs.xmljdbc.dir" value="docs/XMLjdbc" />
|
||||
<property name="src.xmljdbc.dir" value="XMLjdbc" />
|
||||
<property name="jar.xmljdbc" value="${dist.dir}/xmljdbc.jar" />
|
||||
|
||||
<!-- compile everything -->
|
||||
<target name="compile-xmljdbc" depends="init, jar-xmlutil">
|
||||
<javac srcdir="${src.xmljdbc.dir}/src/src"
|
||||
destdir="${build.xmljdbc.dir}"
|
||||
source="${target.jdk}"
|
||||
target="${target.jdk}">
|
||||
<classpath>
|
||||
<pathelement path="${jar.xmlutil}" />
|
||||
</classpath>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- build the jar file -->
|
||||
<target name="jar-xmljdbc" depends="compile-xmljdbc">
|
||||
<jar jarfile="${jar.xmljdbc}" basedir="${build.xmljdbc.dir}" />
|
||||
</target>
|
||||
|
||||
<!-- generate javadocs -->
|
||||
<target name="docs-xmljdbc" depends="init, jar-xmlutil">
|
||||
<javadoc sourcepath="${src.xmljdbc.dir}/src/src"
|
||||
packagenames="org.*"
|
||||
destdir="${docs.xmljdbc.dir}"
|
||||
author="true"
|
||||
version="true"
|
||||
use="true"
|
||||
source="${target.jdk}"
|
||||
windowtitle="${ant.project.name} API">
|
||||
<classpath>
|
||||
<pathelement path="${jar.xmlutil}" />
|
||||
</classpath>
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
<!-- zip XMLjdbc sources -->
|
||||
<target name="sourcezip-xmljdbc">
|
||||
<zip destfile="${dist.dir}/XMLjdbc-src.zip">
|
||||
<zipfileset dir="${src.xmljdbc.dir}/src" />
|
||||
</zip>
|
||||
</target>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- ################## -->
|
||||
<!-- Log4jlogger module -->
|
||||
<!-- ################## -->
|
||||
<property name="build.log4jlogger.dir" value="build/Log4jlogger" />
|
||||
<property name="docs.log4jlogger.dir" value="docs/Log4jlogger" />
|
||||
<property name="src.log4jlogger.dir" value="Log4jlogger" />
|
||||
<property name="jar.log4jlogger" value="${dist.dir}/Log4jlogger.jar" />
|
||||
|
||||
<!-- compile everything -->
|
||||
<target name="compile-log4jlogger" depends="init, jar-octopus">
|
||||
<javac srcdir="${src.log4jlogger.dir}/src"
|
||||
destdir="${build.log4jlogger.dir}"
|
||||
source="${target.jdk}"
|
||||
target="${target.jdk}">
|
||||
<classpath>
|
||||
<pathelement path="${jar.octopus}" />
|
||||
</classpath>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- build the jar file -->
|
||||
<target name="jar-log4jlogger" depends="compile-log4jlogger">
|
||||
<jar jarfile="${jar.log4jlogger}" basedir="${build.log4jlogger.dir}" />
|
||||
</target>
|
||||
|
||||
<!-- generate javadocs -->
|
||||
<target name="docs-log4jlogger" depends="init, jar-octopus">
|
||||
<javadoc sourcepath="${src.log4jlogger.dir}/src"
|
||||
packagenames="org.*"
|
||||
destdir="${docs.log4jlogger.dir}"
|
||||
author="true"
|
||||
version="true"
|
||||
use="true"
|
||||
source="${target.jdk}"
|
||||
windowtitle="${ant.project.name} API">
|
||||
<classpath>
|
||||
<pathelement path="${jar.octopus}" />
|
||||
</classpath>
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
<!-- zip Log4jlogger sources -->
|
||||
<target name="sourcezip-log4jlogger">
|
||||
<zip destfile="${dist.dir}/Log4jlogger-src.zip">
|
||||
<zipfileset dir="${src.log4jlogger.dir}/src" />
|
||||
</zip>
|
||||
</target>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- ############### -->
|
||||
<!-- i18njdbc module -->
|
||||
<!-- ############### -->
|
||||
<property name="build.i18njdbc.dir" value="build/i18njdbc" />
|
||||
<property name="docs.i18njdbc.dir" value="docs/i18njdbc" />
|
||||
<property name="src.i18njdbc.dir" value="i18njdbc" />
|
||||
<property name="jar.i18njdbc" value="${dist.dir}/i18njdbc.jar" />
|
||||
|
||||
<!-- compile everything -->
|
||||
<target name="compile-i18njdbc" depends="init">
|
||||
<javac srcdir="${src.i18njdbc.dir}/src"
|
||||
destdir="${build.i18njdbc.dir}"
|
||||
source="${target.jdk}"
|
||||
target="${target.jdk}" />
|
||||
</target>
|
||||
|
||||
<!-- build the jar file -->
|
||||
<target name="jar-i18njdbc" depends="compile-i18njdbc">
|
||||
<jar jarfile="${jar.i18njdbc}" basedir="${build.i18njdbc.dir}" />
|
||||
</target>
|
||||
|
||||
<!-- generate javadocs -->
|
||||
<target name="docs-i18njdbc" depends="init">
|
||||
<javadoc sourcepath="${src.i18njdbc.dir}/src"
|
||||
packagenames="org.*"
|
||||
destdir="${docs.i18njdbc.dir}"
|
||||
author="true"
|
||||
version="true"
|
||||
use="true"
|
||||
source="${target.jdk}"
|
||||
windowtitle="${ant.project.name} API" />
|
||||
</target>
|
||||
|
||||
<!-- zip Octopus sources -->
|
||||
<target name="sourcezip-i18njdbc">
|
||||
<zip destfile="${dist.dir}/i18njdbc-src.zip">
|
||||
<zipfileset dir="${src.i18njdbc.dir}/src" />
|
||||
</zip>
|
||||
</target>
|
||||
|
||||
|
||||
<!-- clean up -->
|
||||
<target name="clean">
|
||||
<delete dir="${build.top.dir}" />
|
||||
<delete dir="${docs.top.dir}" />
|
||||
<delete dir="${dist.dir}" />
|
||||
</target>
|
||||
|
||||
|
||||
</project>
|
@ -1,220 +0,0 @@
|
||||
diff -Naur XMLutil.bak/src/src/org/enhydra/xml/AttrImpl.java XMLutil/src/src/org/enhydra/xml/AttrImpl.java
|
||||
--- XMLutil/src/src/org/enhydra/xml/AttrImpl.java 2009-09-18 17:39:19.000000000 +1200
|
||||
+++ XMLutil/src/src/org/enhydra/xml/AttrImpl.java 2009-09-18 18:03:36.000000000 +1200
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
import org.w3c.dom.Attr;
|
||||
import org.w3c.dom.Element;
|
||||
+import org.w3c.dom.TypeInfo;
|
||||
|
||||
|
||||
/**
|
||||
@@ -186,4 +187,18 @@
|
||||
public Element getOwnerElement() {
|
||||
return owner;
|
||||
}
|
||||
-}
|
||||
\ No newline at end of file
|
||||
+
|
||||
+ /**
|
||||
+ * Unimplemented method included in DOM Level 3 (aka 1.5).
|
||||
+ */
|
||||
+ public TypeInfo getSchemaTypeInfo() {
|
||||
+ return null;
|
||||
+ }
|
||||
+
|
||||
+ /**
|
||||
+ * Unimplemented method included in DOM Level 3 (aka 1.5).
|
||||
+ */
|
||||
+ public boolean isId() {
|
||||
+ return false;
|
||||
+ }
|
||||
+}
|
||||
diff -Naur XMLutil.bak/src/src/org/enhydra/xml/CharacterDataImpl.java XMLutil/src/src/org/enhydra/xml/CharacterDataImpl.java
|
||||
--- XMLutil/src/src/org/enhydra/xml/CharacterDataImpl.java 2009-09-18 17:39:19.000000000 +1200
|
||||
+++ XMLutil/src/src/org/enhydra/xml/CharacterDataImpl.java 2009-09-18 18:06:38.000000000 +1200
|
||||
@@ -177,5 +177,4 @@
|
||||
return super.getNamespaceURI();
|
||||
}
|
||||
|
||||
-
|
||||
}
|
||||
diff -Naur XMLutil.bak/src/src/org/enhydra/xml/ElementImpl.java XMLutil/src/src/org/enhydra/xml/ElementImpl.java
|
||||
--- XMLutil/src/src/org/enhydra/xml/ElementImpl.java 2009-09-18 17:39:19.000000000 +1200
|
||||
+++ XMLutil/src/src/org/enhydra/xml/ElementImpl.java 2009-09-18 18:25:24.000000000 +1200
|
||||
@@ -33,6 +33,7 @@
|
||||
import org.w3c.dom.NamedNodeMap;
|
||||
import org.w3c.dom.Node;
|
||||
import org.w3c.dom.NodeList;
|
||||
+import org.w3c.dom.TypeInfo;
|
||||
|
||||
/**
|
||||
* @author Tweety
|
||||
@@ -564,4 +565,33 @@
|
||||
sb.append("</" + this.nodeName + ">");
|
||||
// }
|
||||
}
|
||||
+
|
||||
+ /**
|
||||
+ * Unimplemented method included in DOM Level 3 (aka 1.5).
|
||||
+ */
|
||||
+ public TypeInfo getSchemaTypeInfo() {
|
||||
+ return null;
|
||||
+ }
|
||||
+
|
||||
+ /**
|
||||
+ * Unimplemented method included in DOM Level 3 (aka 1.5).
|
||||
+ */
|
||||
+ public void setIdAttribute(String name,
|
||||
+ boolean idId)
|
||||
+ throws DOMException { }
|
||||
+
|
||||
+ /**
|
||||
+ * Unimplemented method included in DOM Level 3 (aka 1.5).
|
||||
+ */
|
||||
+ public void setIdAttributeNS(String name,
|
||||
+ String localName,
|
||||
+ boolean isId)
|
||||
+ throws DOMException {}
|
||||
+
|
||||
+ /**
|
||||
+ * Unimplemented method included in DOM Level 3 (aka 1.5).
|
||||
+ */
|
||||
+ public void setIdAttributeNode(Attr idAttr,
|
||||
+ boolean isId)
|
||||
+ throws DOMException {}
|
||||
}
|
||||
diff -Naur XMLutil.bak/src/src/org/enhydra/xml/NodeImpl.java XMLutil/src/src/org/enhydra/xml/NodeImpl.java
|
||||
--- XMLutil/src/src/org/enhydra/xml/NodeImpl.java 2009-09-18 17:39:19.000000000 +1200
|
||||
+++ XMLutil/src/src/org/enhydra/xml/NodeImpl.java 2009-09-18 18:19:58.000000000 +1200
|
||||
@@ -33,6 +33,7 @@
|
||||
import org.w3c.dom.NamedNodeMap;
|
||||
import org.w3c.dom.Node;
|
||||
import org.w3c.dom.NodeList;
|
||||
+import org.w3c.dom.UserDataHandler;
|
||||
|
||||
/**
|
||||
* @author Tweety
|
||||
@@ -784,6 +785,92 @@
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
+ /**
|
||||
+ * Unimplemented method included in DOM Level 3 (aka 1.5).
|
||||
+ */
|
||||
+ public String getBaseURI() {
|
||||
+ return null;
|
||||
+ }
|
||||
+
|
||||
+ /**
|
||||
+ * Unimplemented method included in DOM Level 3 (aka 1.5).
|
||||
+ */
|
||||
+ public short compareDocumentPosition(Node other)
|
||||
+ throws DOMException {
|
||||
+ throw new DOMException(DOMException.NOT_SUPPORTED_ERR,
|
||||
+ "Unimplemented method");
|
||||
+ }
|
||||
+
|
||||
+ /**
|
||||
+ * Unimplemented method included in DOM Level 3 (aka 1.5).
|
||||
+ */
|
||||
+ public String getTextContent() throws DOMException {
|
||||
+ return null;
|
||||
+ }
|
||||
+
|
||||
+ /**
|
||||
+ * Unimplemented method included in DOM Level 3 (aka 1.5).
|
||||
+ */
|
||||
+ public void setTextContent(String textContent)
|
||||
+ throws DOMException { }
|
||||
+
|
||||
+ /**
|
||||
+ * Unimplemented method included in DOM Level 3 (aka 1.5).
|
||||
+ */
|
||||
+ public boolean isSameNode(Node other) {
|
||||
+ return false;
|
||||
+ }
|
||||
+
|
||||
+ /**
|
||||
+ * Unimplemented method included in DOM Level 3 (aka 1.5).
|
||||
+ */
|
||||
+ public String lookupPrefix(String namespaceURI) {
|
||||
+ return null;
|
||||
+ }
|
||||
+
|
||||
+ /**
|
||||
+ * Unimplemented method included in DOM Level 3 (aka 1.5).
|
||||
+ */
|
||||
+ public boolean isDefaultNamespace(String namespaceURI) {
|
||||
+ return true;
|
||||
+ }
|
||||
+
|
||||
+ /**
|
||||
+ * Unimplemented method included in DOM Level 3 (aka 1.5).
|
||||
+ */
|
||||
+ public String lookupNamespaceURI(String prefix) {
|
||||
+ return null;
|
||||
+ }
|
||||
+
|
||||
+ /**
|
||||
+ * Unimplemented method included in DOM Level 3 (aka 1.5).
|
||||
+ */
|
||||
+ public boolean isEqualNode(Node arg) {
|
||||
+ return false;
|
||||
+ }
|
||||
+
|
||||
+ /**
|
||||
+ * Unimplemented method included in DOM Level 3 (aka 1.5).
|
||||
+ */
|
||||
+ public Object getFeature(String feature, String version) {
|
||||
+ return null;
|
||||
+ }
|
||||
+
|
||||
+ /**
|
||||
+ * Unimplemented method included in DOM Level 3 (aka 1.5).
|
||||
+ */
|
||||
+ public Object setUserData(String key, Object data,
|
||||
+ UserDataHandler handler) {
|
||||
+ return null;
|
||||
+ }
|
||||
+
|
||||
+ /**
|
||||
+ * Unimplemented method included in DOM Level 3 (aka 1.5).
|
||||
+ */
|
||||
+ public Object getUserData(String key) {
|
||||
+ return null;
|
||||
+ }
|
||||
+
|
||||
|
||||
/**
|
||||
* Method beginToString should be redefined in extended classes.
|
||||
diff -Naur XMLutil.bak/src/src/org/enhydra/xml/TextImpl.java XMLutil/src/src/org/enhydra/xml/TextImpl.java
|
||||
--- XMLutil/src/src/org/enhydra/xml/TextImpl.java 2009-09-18 17:39:19.000000000 +1200
|
||||
+++ XMLutil/src/src/org/enhydra/xml/TextImpl.java 2009-09-18 18:27:04.000000000 +1200
|
||||
@@ -161,4 +161,26 @@
|
||||
|
||||
}
|
||||
|
||||
+ /**
|
||||
+ * Unimplemented method included in DOM Level 3 (aka 1.5).
|
||||
+ */
|
||||
+ public boolean isElementContentWhitespace() {
|
||||
+ return false;
|
||||
+ }
|
||||
+
|
||||
+ /**
|
||||
+ * Unimplemented method included in DOM Level 3 (aka 1.5).
|
||||
+ */
|
||||
+ public String getWholeText() {
|
||||
+ return null;
|
||||
+ }
|
||||
+
|
||||
+ /**
|
||||
+ * Unimplemented method included in DOM Level 3 (aka 1.5).
|
||||
+ */
|
||||
+ public Text replaceWholeText(String content)
|
||||
+ throws DOMException {
|
||||
+ return null;
|
||||
+ }
|
||||
+
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
<longdescription>
|
||||
A Java-based Extraction, Transformation, and Loading (ETL) tool.
|
||||
It may connect to any JDBC data sources and perform transformations
|
||||
defined in an XML file.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="2"
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
JAVA_PKG_WANT_BOOTCLASSPATH="1.5"
|
||||
|
||||
inherit versionator java-pkg-2 java-ant-2
|
||||
|
||||
MY_PV=${PV//./-}
|
||||
MY_PV=${MY_PV/-/.}
|
||||
DESCRIPTION="A Java-based Extraction, Transformation, and Loading (ETL) tool"
|
||||
SRC_URI="http://download.forge.objectweb.org/${PN}/${PN}-${MY_PV}.src.tar.gz
|
||||
mirror://gentoo/${PN}-xmls-${PV}.tar.bz2"
|
||||
HOMEPAGE="http://octopus.objectweb.org"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="3.0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
COMMON_DEP="
|
||||
>=dev-java/xerces-2.7
|
||||
>=dev-java/log4j-1.2.8
|
||||
=dev-java/rhino-1.6*
|
||||
=dev-java/junit-3.8*
|
||||
>=dev-java/ant-core-1.4"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
${COMMON_DEP}"
|
||||
|
||||
# uses enum as identifier
|
||||
JAVA_PKG_WANT_SOURCE="1.4"
|
||||
JAVA_PKG_WANT_TARGET="1.4"
|
||||
|
||||
TOPDIR="${PN}-$(get_version_component_range 1-2)"
|
||||
S=${WORKDIR}/${TOPDIR}/Octopus-src
|
||||
|
||||
java_prepare() {
|
||||
rm -fr ${TOPDIR}/maven
|
||||
|
||||
mv "${WORKDIR}/xmls" "${S}/modules/Octopus"
|
||||
|
||||
cd "${S}"/modules
|
||||
cp "${FILESDIR}/${P}-gentoo-build.xml" build.xml
|
||||
java-ant_rewrite-classpath build.xml
|
||||
java-pkg_filter-compiler jikes
|
||||
java-ant_rewrite-bootclasspath 1.5
|
||||
|
||||
epatch "${FILESDIR}/${PN}-jdk-1.5.patch"
|
||||
}
|
||||
|
||||
EANT_GENTOO_CLASSPATH="xerces-2,rhino-1.6,ant-core,junit,log4j"
|
||||
|
||||
src_compile() {
|
||||
cd "${S}/modules"
|
||||
|
||||
use source && antflags="${antflags} sourcezip-all"
|
||||
|
||||
eant jar-all $(use_doc docs-all) ${antflags}
|
||||
}
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
# Would need maven to work properly as the build.xml just launches maven
|
||||
#src_test() {
|
||||
# eant test
|
||||
#}
|
||||
|
||||
src_install() {
|
||||
dodoc ChangeLog.txt ReleaseNotes.txt
|
||||
|
||||
cd "${S}/modules"
|
||||
java-pkg_dojar dist/*.jar
|
||||
|
||||
if use source; then
|
||||
dodir /usr/share/doc/${PF}/source
|
||||
cp dist/*-src.zip "${D}usr/share/doc/${PF}/source"
|
||||
fi
|
||||
if use doc; then
|
||||
docinto html/api
|
||||
# Has multiple javadoc subdirs here
|
||||
java-pkg_dohtml -r docs/*
|
||||
fi
|
||||
}
|
@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
JAVA_PKG_WANT_BOOTCLASSPATH="1.5"
|
||||
|
||||
inherit versionator java-pkg-2 java-ant-2
|
||||
|
||||
MY_PV=${PV//./-}
|
||||
MY_PV=${MY_PV/-/.}
|
||||
DESCRIPTION="A Java-based Extraction, Transformation, and Loading (ETL) tool"
|
||||
SRC_URI="http://download.forge.objectweb.org/${PN}/${PN}-${MY_PV}.src.tar.gz
|
||||
mirror://gentoo/${PN}-xmls-${PV}.tar.bz2"
|
||||
HOMEPAGE="http://octopus.objectweb.org"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="3.0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
COMMON_DEP="
|
||||
>=dev-java/xerces-2.7
|
||||
>=dev-java/log4j-1.2.8
|
||||
=dev-java/rhino-1.6*
|
||||
=dev-java/junit-3.8*
|
||||
>=dev-java/ant-core-1.4"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
${COMMON_DEP}"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
${COMMON_DEP}"
|
||||
|
||||
# uses enum as identifier
|
||||
JAVA_PKG_WANT_SOURCE="1.4"
|
||||
JAVA_PKG_WANT_TARGET="1.4"
|
||||
|
||||
TOPDIR="${PN}-$(get_version_component_range 1-2)"
|
||||
S=${WORKDIR}/${TOPDIR}/Octopus-src
|
||||
|
||||
java_prepare() {
|
||||
rm -fr ${TOPDIR}/maven || die
|
||||
mv "${WORKDIR}/xmls" "${S}/modules/Octopus" || die
|
||||
cd "${S}"/modules || die
|
||||
|
||||
cp "${FILESDIR}/${P}-gentoo-build.xml" build.xml || die
|
||||
java-ant_rewrite-classpath build.xml
|
||||
java-pkg_filter-compiler jikes
|
||||
java-ant_rewrite-bootclasspath 1.5
|
||||
|
||||
epatch "${FILESDIR}/${PN}-jdk-1.5.patch"
|
||||
}
|
||||
|
||||
EANT_GENTOO_CLASSPATH="xerces-2,rhino-1.6,ant-core,junit,log4j"
|
||||
|
||||
src_compile() {
|
||||
cd "${S}/modules" || die
|
||||
|
||||
use source && antflags="${antflags} sourcezip-all"
|
||||
|
||||
eant jar-all $(use_doc docs-all) ${antflags}
|
||||
}
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
# Would need maven to work properly as the build.xml just launches maven
|
||||
#src_test() {
|
||||
# eant test
|
||||
#}
|
||||
|
||||
src_install() {
|
||||
dodoc ChangeLog.txt ReleaseNotes.txt
|
||||
|
||||
cd "${S}/modules" || die
|
||||
java-pkg_dojar dist/*.jar
|
||||
|
||||
if use source; then
|
||||
dodir /usr/share/doc/${PF}/source
|
||||
cp dist/*-src.zip "${D}usr/share/doc/${PF}/source"
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
docinto html/api
|
||||
# Has multiple javadoc subdirs here
|
||||
java-pkg_dohtml -r docs/*
|
||||
fi
|
||||
}
|
@ -0,0 +1,213 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
export CBUILD=${CBUILD:-${CHOST}}
|
||||
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"
|
||||
# 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"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
|
||||
HOMEPAGE="http://www.golang.org"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/go-bootstrap-1.4.1"
|
||||
RDEPEND="!<dev-go/go-tools-0_pre20150902"
|
||||
|
||||
# These test data objects have writable/executable stacks.
|
||||
QA_EXECSTACK="usr/lib/go/src/debug/elf/testdata/*.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. The test data objects should also be left alone and unstripped.
|
||||
STRIP_MASK="/usr/lib/go/pkg/*.a
|
||||
/usr/lib/go/src/debug/elf/testdata/*
|
||||
/usr/lib/go/src/debug/dwarf/testdata/*
|
||||
/usr/lib/go/src/runtime/race/*.syso"
|
||||
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
S="${WORKDIR}"/go
|
||||
fi
|
||||
|
||||
go_arch()
|
||||
{
|
||||
# By chance most portage arch names match Go
|
||||
local portage_arch=$(tc-arch $@)
|
||||
case "${portage_arch}" in
|
||||
x86) echo 386;;
|
||||
x64-*) echo amd64;;
|
||||
*) echo "${portage_arch}";;
|
||||
esac
|
||||
}
|
||||
|
||||
go_arm()
|
||||
{
|
||||
case "${1:-${CHOST}}" in
|
||||
armv5*) echo 5;;
|
||||
armv6*) echo 6;;
|
||||
armv7*) echo 7;;
|
||||
*)
|
||||
die "unknown GOARM for ${1:-${CHOST}}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
go_os()
|
||||
{
|
||||
case "${1:-${CHOST}}" in
|
||||
*-linux*) echo linux;;
|
||||
*-darwin*) echo darwin;;
|
||||
*-freebsd*) echo freebsd;;
|
||||
*-netbsd*) echo netbsd;;
|
||||
*-openbsd*) echo openbsd;;
|
||||
*-solaris*) echo solaris;;
|
||||
*-cygwin*|*-interix*|*-winnt*)
|
||||
echo windows
|
||||
;;
|
||||
*)
|
||||
die "unknown GOOS for ${1:-${CHOST}}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
go_tuple()
|
||||
{
|
||||
echo "$(go_os $@)_$(go_arch $@)"
|
||||
}
|
||||
|
||||
go_cross_compile()
|
||||
{
|
||||
[[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
|
||||
}
|
||||
|
||||
pkg_pretend()
|
||||
{
|
||||
# make.bash does not understand cross-compiling a cross-compiler
|
||||
if [[ $(go_tuple) != $(go_tuple ${CTARGET}) ]]; then
|
||||
die "CHOST CTARGET pair unsupported: CHOST=${CHOST} CTARGET=${CTARGET}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare()
|
||||
{
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
sed -i -e 's/"-Werror",//g' src/cmd/dist/build.go ||
|
||||
die 'sed failed'
|
||||
fi
|
||||
epatch "${FILESDIR}"/${P}-darwin-sysctl.patch
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_compile()
|
||||
{
|
||||
export GOROOT_BOOTSTRAP="${EPREFIX}"/usr/lib/go1.4
|
||||
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
|
||||
export GOROOT="$(pwd)"
|
||||
export GOBIN="${GOROOT}/bin"
|
||||
|
||||
# Go's build script does not use BUILD/HOST/TARGET consistently. :(
|
||||
export GOHOSTARCH=$(go_arch ${CBUILD})
|
||||
export GOHOSTOS=$(go_os ${CBUILD})
|
||||
export CC=$(tc-getBUILD_CC)
|
||||
|
||||
export GOARCH=$(go_arch)
|
||||
export GOOS=$(go_os)
|
||||
export CC_FOR_TARGET=$(tc-getCC)
|
||||
export CXX_FOR_TARGET=$(tc-getCXX)
|
||||
if [[ ${ARCH} == arm ]]; then
|
||||
export GOARM=$(go_arm)
|
||||
fi
|
||||
|
||||
cd src
|
||||
./make.bash || die "build failed"
|
||||
}
|
||||
|
||||
src_test()
|
||||
{
|
||||
go_cross_compile && return 0
|
||||
|
||||
cd src
|
||||
PATH="${GOBIN}:${PATH}" \
|
||||
./run.bash -no-rebuild || die "tests failed"
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
local bin_path f x
|
||||
|
||||
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 bin doc lib pkg src
|
||||
fperms -R +x /usr/lib/go/bin /usr/lib/go/pkg/tool
|
||||
|
||||
if go_cross_compile; then
|
||||
bin_path="bin/$(go_tuple)"
|
||||
else
|
||||
bin_path=bin
|
||||
fi
|
||||
for x in ${bin_path}/*; do
|
||||
f=${x##*/}
|
||||
einfo dosym ../lib/go/${bin_path}/${f} /usr/bin/${f}
|
||||
dosym ../lib/go/${bin_path}/${f} /usr/bin/${f}
|
||||
done
|
||||
dodoc AUTHORS CONTRIBUTORS PATENTS README.md
|
||||
}
|
||||
|
||||
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/go${PV}"
|
||||
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
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
OASIS_BUILD_TESTS=1
|
||||
OASIS_BUILD_DOCS=1
|
||||
|
||||
inherit oasis
|
||||
|
||||
MY_PN="sqlite3-ocaml"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A package for ocaml that provides access to SQLite databases"
|
||||
HOMEPAGE="http://mmottl.github.io/sqlite3-ocaml/"
|
||||
SRC_URI="https://github.com/mmottl/sqlite3-ocaml/releases/download/v${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-db/sqlite-3.3.3
|
||||
>=dev-ml/findlib-1.3.2"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" "TODO.md" )
|
@ -1,3 +1,4 @@
|
||||
DIST ocaml-ssl-0.4.6.tar.gz 118798 SHA256 1ff7fbc77bb5ec7b6bfdca045c6c7a51d4d98ed60a865f29e06dd91285ac9499 SHA512 fe3626b985ad1fc18b65dcadd8155520814e1bbc6425fb3612919591d2a09a7be01ce31734d7e789c554053fb0de748aa872bfd53a2069496bd165014f9207c8 WHIRLPOOL 2c8eb40fe375261ef1fae1d2333236fd28ceee1e7b469d0573e6f72c6586d07dcd3e96d44a35b457b181a3a27f01267d232a61ce25e6dc4e5145fd5c982e9672
|
||||
DIST ocaml-ssl-0.4.7.tar.gz 119209 SHA256 e9beb2b32ea15dababf6b674c25bbb63044114779860c655ad7d581056421244 SHA512 6f740e87ef4b560cba71af57855de72737bd34f9fd4f57c9a6674caf32a417957269c83fadc41adbd661287553fef9e97951d821945f940700e48e922a951d0e WHIRLPOOL 38530d6aab3d82f5397c42ac50f33b47c1596e0862d090dad7fad410ac8ed823cd2454242d99d851c40c49f7b036a3159602a64edb3fc1b5c455b3357f7ac054
|
||||
DIST ocaml-ssl-0.5.1.tar.gz 125006 SHA256 83bc8f5b2a4b9943c64bdfa66123ae1f099b36d76b8a98a0b7b99cdd94a47787 SHA512 3246e7ea118d64a2355e7f6b0aa5b6ab24e2e82b947665851a2e172ce79dc9adbcee45a4cc7eda4b37a0ed56faac70f0b043d838f76b2b65d61250758f0b60ae WHIRLPOOL 561f2ec94a74537413b9accb4fcfed1abe5cd22e68c2354ac1c9105edf64713148fbbfa8161716e47d8fbda8547bc7400c8fcca5d44c7626f44d3884f256db1c
|
||||
DIST ocaml-ssl-0.5.2.tar.gz 125316 SHA256 f732545a67c5ce099530aaad882223d6ec13a87538d3f014ac9365ac50cd810c SHA512 52c61fbef0cdc85500b195632e3390b24e6dfdad26874576241b22757d400bc5891dee4b526b96d698ae3b402ca76d1232a27a9471c3fcaac3d038c114a4d50f WHIRLPOOL a64b7b9dda17d95bf0df3f2d04317c0aef5e867ff30f42bf56906a636aa3cbc21ad55f4209fb4d606773c45656fa3f65f95a27ba50e896afb814645b39b60823
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit findlib eutils
|
||||
|
||||
IUSE="doc"
|
||||
|
||||
DESCRIPTION="OCaml bindings for OpenSSL"
|
||||
SRC_URI="mirror://sourceforge/savonet/${P}.tar.gz"
|
||||
HOMEPAGE="http://savonet.sourceforge.net"
|
||||
|
||||
DEPEND="dev-libs/openssl
|
||||
>=dev-lang/ocaml-3.10:="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
SLOT="0/${PV}"
|
||||
LICENSE="LGPL-2.1"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
findlib_src_preinst
|
||||
emake install
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/html/*
|
||||
fi
|
||||
dodoc CHANGES README.md
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST perl-ldap-0.63.tar.gz 310067 SHA256 dbd6f0d85c50f3b19d2c67947dcf81ec21bc08ce819e289af69d64187fc047c1 SHA512 17ed98c43081fdbdb89a1c7ea0e5d60635a3f4cd59eb0a8e077498b7d305e7614250e07938fa86a6b8e90d325426378ad698eec01c789b74f078f2ae5678dd95 WHIRLPOOL 2a39317bc4819afb9f313b670118ce7a1edddbdc871606405ac3eb968c0622ea61c5bf8e2ced86f8ac253e024c6cc63f8c5e9c5d5d18b2f907dbf0f8c269193c
|
||||
DIST perl-ldap-0.64.tar.gz 310088 SHA256 9d5d71714f6c969e3a3ef406c1fa276a96028781e8cf38decd9a42f344dbdcb6 SHA512 5ec4fc96e573332f69fa5ae8220a360f60a0b51d9e1252f21092a37dd6c489ce4b28fc0889ec7005af88423698af2e7242f8b95c15fcc4e3bddbc669061b1bbe WHIRLPOOL 203d3300efc18ea26ed1443902c3e7e14221d05532fe8d83144f960cbded099a1310bce1b55a81f01e951730f39446b3fb3f275fd1350b3ce1b034ceded82beb
|
||||
DIST perl-ldap-0.65.tar.gz 311145 SHA256 5f57dd261dc16ebf942a272ddafe69526598df71151a51916edc37a4f2f23834 SHA512 567de41fc1e659de23b4ae7b6cec5a60df0ad8bc90062158cf83f90d3729ac27a8bacb276b732931fefbf33847fe1baec7a62393aae5978f3c55c6c602f93747 WHIRLPOOL 827fbc955f9c8b4b79c2b9341b047ec229b5da76abc0a914ecf8ea86a322f5b2e56c8943cd382105a3f2b2c7e450e0185d3b6f36a1b855bb925eb012b06a78a3
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=MARSCHAP
|
||||
MODULE_VERSION=0.64
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A collection of perl modules which provide an object-oriented interface to LDAP servers"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="sasl xml ssl"
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/Convert-ASN1
|
||||
dev-perl/URI
|
||||
sasl? (
|
||||
virtual/perl-Digest-MD5
|
||||
dev-perl/Authen-SASL
|
||||
)
|
||||
xml? (
|
||||
dev-perl/XML-Parser
|
||||
dev-perl/XML-SAX
|
||||
dev-perl/XML-SAX-Writer
|
||||
)
|
||||
ssl? (
|
||||
>=dev-perl/IO-Socket-SSL-1.26
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
#SRC_TEST=do
|
@ -1,3 +1 @@
|
||||
DIST blosc-1.2.0.tar.gz 221882 SHA256 d740c1bd6440c5fd7203006538b6c626361fba705ce9ce8f36c400ddb2f50fec SHA512 85db692d3a68ebeacaaf3759807c386e05a13fbad873379d13fc2f2b7470929a3e6cbe7f37c952740e412eecb2cb83bed194e0f4f7af1ef2c934d5478cd93ce1 WHIRLPOOL aa81df21b15382f388fe746a7f9ab0f2ec9eaf82c56bcbd19edb03fb73ce527c6ff70d30461440e27a4292fcdb9f1d43ce039a3a6c2d9b0101f1a4441d2e1a61
|
||||
DIST blosc-1.2.1.tar.gz 225560 SHA256 41de5b3a129cb145e192a0f3e62b09b74da311b0750ad50ffcd4aaf8fcf6cfbe SHA512 1ec017b17313ca788ae96a54cdf57a8c770dc5c6eb7b2d13ff94c0c44e9adbced28a22a17497bc748955d756a799305f603d64fd882cefb5cd8068b6b46e8667 WHIRLPOOL 7ba45764eb15f21f2cacee32cbfdd6083d5dd1dcdb88fb0614429dc75e4f1edd311e7127932371a706beee5293963498b5f0b8f194f9d188d8da390e8201d409
|
||||
DIST blosc-1.2.3.tar.gz 225781 SHA256 46f796ae1360b3f1580a16dc7f9f2b88b019b4f5f013bec3b84ca9ef6c859da8 SHA512 85b5280f1cbc2163e1115a365aa8a47a1ae496795558f53ed78b1e81ab661a4187d3557cf8890b2a33fd0052a6cc88ac60dc1ea7e382cbf601ed83b440900cc8 WHIRLPOOL d4fb113755b2f98cb1d56976d82a38af1b3bfa2011a26d4a154eb3e9f8af14fc3975f29b643439031ecbf92813126f89aebeda123f8156e2bcc0db45dc9da96a
|
||||
DIST blosc-1.2.8.tar.gz 259299 SHA256 fc8996733de73d70cc2482f98972a38a908ca7286d30429fe828390b1bb010c3 SHA512 8349a7b401e3b55b066efa4d647255dc7bc735a1de0eca5e33b2deb4ca90e317b90d6ea42433ed06f2680bccb2198e0e4bbdbf5a0fd1c22db900aa896c88427e WHIRLPOOL 1139c9f167565df0fd22fdddf20416db2bf214c6a58e45f0c3bd2118142d9782ff53e9e263f1fafbb79bb69ae17c9fad925accdaa009d7087c725c113e039d18
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="High performance compressor optimized for binary data"
|
||||
HOMEPAGE="http://blosc.pydata.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-libs/c-blosc"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_prepare_all() {
|
||||
# remove forced sse2
|
||||
sed -i "s|CFLAGS\.append(\"-msse2\")|pass|" setup.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd "${BUILD_DIR}"/lib || die
|
||||
nosetests -v || die
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="High performance compressor optimized for binary data"
|
||||
HOMEPAGE="http://blosc.pydata.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-libs/c-blosc"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_prepare_all() {
|
||||
# remove forced sse2
|
||||
sed -i "s|CFLAGS\.append(\"-msse2\")|pass|" setup.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd "${BUILD_DIR}"/lib || die
|
||||
nosetests -v || die
|
||||
}
|
@ -0,0 +1,87 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
#PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A middleware for the OpenStack Keystone API"
|
||||
HOMEPAGE="https://github.com/openstack/keystonemiddleware"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc examples test"
|
||||
|
||||
CDEPEND=">=dev-python/pbr-1.6[${PYTHON_USEDEP}]"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${CDEPEND}
|
||||
test? (
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-messaging-1.16.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/oslo-messaging-1.17.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/oslo-messaging-1.17.1[${PYTHON_USEDEP}]
|
||||
!~dev-python/oslo-messaging-2.6.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/oslo-messaging-2.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-mock-0.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-memcached-1.56[${PYTHON_USEDEP}]
|
||||
>=dev-python/bandit-0.13.2[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-2.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-context-0.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-i18n-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-serialization-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-utils-2.0.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/oslo-utils-2.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycadf-1.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-keystoneclient-1.6.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/python-keystoneclient-1.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.5.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/requests-2.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=(
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i '/^hacking/d' test-requirements.txt || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
testr init
|
||||
testr run || die "testsuite failed under python2.7"
|
||||
flake8 ${PN/python-/}/tests || die "run over tests folder by flake8 drew error"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
use examples && local EXAMPLES=( examples/.)
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy)
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Library for accessing resources protected by OAuth 2.0"
|
||||
HOMEPAGE="https://github.com/google/oauth2client"
|
||||
SRC_URI="https://github.com/google/oauth2client/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyasn1-modules-0.0.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/rsa-3.1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.6.1[${PYTHON_USEDEP}]
|
||||
!<=dev-python/google-api-python-client-1.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
# Needs network
|
||||
RESTRICT=test
|
||||
|
||||
python_test() {
|
||||
nosetests || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST pandas-0.16.2.tar.gz 4931751 SHA256 e01853dfe111f3aea005315573400b7216ddbabbf1f28d482a71217d67ae4f81 SHA512 44874e12a42a01dd7ed88f3f97e954732a534a5e2dc4815ef6203bdb2d88850a607e6631a35ae8fc79f4621a5dfaa34f39bb1c9a0ecfb17da1cf0c10f35ff27b WHIRLPOOL 6f2874ac07b49f4b2aaefdb87375b7c5adb31e3ff60c6b808f3e3467ad82999dd894de884ebbfd64fc7235e875d17ce871b516c96ff71a17310b708597168702
|
||||
DIST pandas-0.17.0.tar.gz 6508621 SHA256 320d4fdf734b82adebc8fde9d8ca4b05fe155a72b6f7aa95d76242da8748d6a4 SHA512 bae6964e263c7ff6cac722cdfe23081f23c357d9bc39a670b5627bef4630c236a58aa8c0393eae921721bf7049c8e5266b4dea71dd957da5d89dafc14a04797b WHIRLPOOL d654eb2f9ffbfedbde60e4a6e6ce6f54650a8a68b4d20035744aa55111525d6bba4dae2ccbfce65acf71bb200e2e6029c7f6c9bcc9d0c582d808444738baedb1
|
||||
DIST pandas-0.17.1.tar.gz 6674479 SHA256 cfd7214a7223703fe6999fbe34837749540efee1c985e6aee9933f30e3f72837 SHA512 9d9f9064585b1f3551625e0c8f4eedaaa1253790c2a5cb28e58e70eb805cc18f9770d793aa748cbd76798488ff60efdd01eb4b21daf5ad8f1dc4d9c050487234 WHIRLPOOL 5238575bd64b8d38db4f9a0ea987a7f78ffd1821e5a22bad65c84c407feca3af6f3b536a0a2f337291aa04e94c86fdb40382dad4ce50f8a33a5e26d655c628c2
|
||||
|
@ -0,0 +1,162 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1 eutils flag-o-matic virtualx
|
||||
|
||||
DESCRIPTION="Powerful data structures for data analysis and statistics"
|
||||
HOMEPAGE="http://pandas.pydata.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc -minimal full-support test X"
|
||||
|
||||
MINIMAL_DEPEND="
|
||||
>dev-python/numpy-1.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.0[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
!<dev-python/numexpr-2.1[${PYTHON_USEDEP}]
|
||||
!~dev-python/openpyxl-1.9.0[${PYTHON_USEDEP}]"
|
||||
RECOMMENDED_DEPEND="
|
||||
dev-python/bottleneck[${PYTHON_USEDEP}]
|
||||
>=dev-python/numexpr-2.1[${PYTHON_USEDEP}]"
|
||||
OPTIONAL_DEPEND="
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
dev-python/blosc[${PYTHON_USEDEP}]
|
||||
dev-python/boto[${PYTHON_USEDEP}]
|
||||
>=dev-python/google-api-python-client-1.2.0[$(python_gen_usedep python2_7 pypy)]
|
||||
|| ( dev-python/html5lib[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] )
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
|| ( >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}] dev-python/xlsxwriter[${PYTHON_USEDEP}] )
|
||||
>=dev-python/pytables-3.2.1[${PYTHON_USEDEP}]
|
||||
dev-python/python-gflags[$(python_gen_usedep python2_7 pypy)]
|
||||
dev-python/rpy[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/statsmodels[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-0.8.1[${PYTHON_USEDEP}]
|
||||
dev-python/xlrd[${PYTHON_USEDEP}]
|
||||
dev-python/xlwt[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
X? (
|
||||
|| (
|
||||
dev-python/PyQt4[${PYTHON_USEDEP}]
|
||||
dev-python/pyside[${PYTHON_USEDEP}]
|
||||
dev-python/pygtk[$(python_gen_usedep python2_7)]
|
||||
)
|
||||
|| (
|
||||
x11-misc/xclip
|
||||
x11-misc/xsel
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${MINIMAL_DEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/cython-0.19.1[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
dev-python/html5lib[${PYTHON_USEDEP}]
|
||||
dev-python/ipython[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
>=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytables-3.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/rpy[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
|
||||
dev-python/xlrd[${PYTHON_USEDEP}]
|
||||
dev-python/xlwt[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
x11-misc/xclip
|
||||
)
|
||||
test? (
|
||||
${RECOMMENDED_DEPEND}
|
||||
${OPTIONAL_DEPEND}
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pymysql[${PYTHON_USEDEP}]
|
||||
dev-python/psycopg:2[${PYTHON_USEDEP}]
|
||||
x11-misc/xclip
|
||||
x11-misc/xsel
|
||||
)"
|
||||
# dev-python/statsmodels invokes a circular dep
|
||||
# hence rm from doc? ( ), again
|
||||
RDEPEND="
|
||||
${MINIMAL_DEPEND}
|
||||
!minimal? ( ${RECOMMENDED_DEPEND} )
|
||||
full-support? ( ${OPTIONAL_DEPEND} )"
|
||||
|
||||
_PATCHES=(
|
||||
"${FILESDIR}"/${P}-testfix-backport.patch
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# Prevent un-needed download during build
|
||||
sed -e "/^ 'sphinx.ext.intersphinx',/d" -i doc/source/conf.py || die
|
||||
|
||||
# https://github.com/pydata/pandas/issues/11299
|
||||
sed \
|
||||
-e 's:testOdArray:disable:g' \
|
||||
-i pandas/io/tests/test_json/test_ujson.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
# To build docs the need be located in $BUILD_DIR,
|
||||
# else PYTHONPATH points to unusable modules.
|
||||
if use doc; then
|
||||
cd "${BUILD_DIR}"/lib || die
|
||||
cp -ar "${S}"/doc . && cd doc || die
|
||||
LANG=C PYTHONPATH=. "${EPYTHON}" make.py html || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local test_pandas='not network and not disabled'
|
||||
[[ -n "${FAST_PANDAS}" ]] && test_pandas+=' and not slow'
|
||||
pushd "${BUILD_DIR}"/lib > /dev/null
|
||||
"${EPYTHON}" -c "import pandas; pandas.show_versions()" || die
|
||||
VIRTUALX_COMMAND="nosetests"
|
||||
PYTHONPATH=. MPLCONFIGDIR=. \
|
||||
virtualmake --verbosity=3 -A "${test_pandas}" pandas
|
||||
popd > /dev/null
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
dodoc -r "${BUILD_DIR}"/lib/doc/build/html
|
||||
einfo "An initial build of docs is absent of references to statsmodels"
|
||||
einfo "due to circular dependency. To have them included, emerge"
|
||||
einfo "statsmodels next and re-emerge pandas with USE doc"
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "accelerating certain types of NaN evaluations, using specialized cython routines to achieve large speedups." dev-python/bottleneck
|
||||
optfeature "accelerating certain numerical operations, using multiple cores as well as smart chunking and caching to achieve large speedups" >=dev-python/numexpr-2.1
|
||||
optfeature "needed for pandas.io.html.read_html" dev-python/beautifulsoup:4 dev-python/html5lib dev-python/lxml
|
||||
optfeature "for msgpack compression using ``blosc``" dev-python/blosc
|
||||
optfeature "necessary for Amazon S3 access" dev-python/boto
|
||||
optfeature "needed for pandas.io.gbq" dev-python/httplib2 dev-python/setuptools dev-python/python-gflags >=dev-python/google-api-python-client-1.2.0
|
||||
optfeature "Template engine for conditional HTML formatting" dev-python/jinja
|
||||
optfeature "Plotting support" dev-python/matplotlib
|
||||
optfeature "Needed for Excel I/O" >=dev-python/openpyxl-1.6.1 dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt
|
||||
optfeature "necessary for HDF5-based storage" >=dev-python/pytables-3.2.1
|
||||
optfeature "R I/O support" dev-python/rpy
|
||||
optfeature "Needed for parts of :mod:`pandas.stats`" dev-python/statsmodels
|
||||
optfeature "SQL database support" >=dev-python/sqlalchemy-0.8.1
|
||||
optfeature "miscellaneous statistical functions" sci-libs/scipy
|
||||
optfeature "necessary to use ~pandas.io.clipboard.read_clipboard support" dev-python/PyQt4 dev-python/pyside dev-python/pygtk x11-misc/xclip x11-misc/xsel
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST rpy2-2.6.2.tar.gz 171655 SHA256 2e28886b2a6a138cfc057f9b7cddade253e61c9abb43f0eae20dace58b6dfced SHA512 7a060ccc26a03dc93d75edb85d92f1ab31af96ba140932ff8e699cd5855e6078b1e0ffceed135d32deb6c8f273ebcc8b02be38e9b8fc66778cc2adab5745f542 WHIRLPOOL 26d9a9c13e4efa22a232507cfff0b13d650e0528f635dfa9fe464cde50462d2d94a668d1566b537bafaa5462eb66e96005296c6295308b1e3d1c5639da2879b6
|
||||
DIST rpy2-2.7.2.tar.gz 176481 SHA256 b8c376c2bb78a602effa44c654633f7a11b9bcc582aa3d4828a11302bc290e21 SHA512 d282e81cdd4c69ac4655d019151e2c7ce0aaeeb55479f7f7405ed16ac4124d2f3eedccb37a7d563deb0d8beb69e5ede4d6702a3872b554965442a38ec545f1f4 WHIRLPOOL f19182a1ef392d1b4029ebd984d8828d92ea3bf14c9375490fa099d7a2f82e99c75eb6475dba1d11270bf76dc94eee490157e22ab2c083c51a90b3c1d1a56b7a
|
||||
DIST rpy2-2.7.3.tar.gz 176854 SHA256 fc66a4efa113b48ac32cd4578d5fce551722cd64c5eadafdcab36f074e9e785c SHA512 dd0e5eb896bf809d4d342f7927c5bc014b78352df87219d9d0839622647c35f256a256593d526be2faf369ccd98d74868e1b6b3c99ebc830d08fa4cfb8c35121 WHIRLPOOL 735eb08c1528c27f2362d42e08cf9ff5c31cbcdf706eefb873921ed9eaeab4d9004b80335d36672b3711dd8a8515d51d451a1f66bebe4a4d4c9ef1f32e758685
|
||||
DIST rpy2-2.7.4.tar.gz 177030 SHA256 478f40c6775cc04188818d0410cd8340d900bd782ab3fa734cb6c090ecd57ddf SHA512 8e228418e9721021de588fc91afb87b0fe07d6f84c325a093415442c57d694f557f1672a270f1984a693f753be9e2a49c80717b1f5cdcdc616509d4c88962651 WHIRLPOOL d350d27ece993c0f6a348238c8888653ced225184be1e98ddc1eef6a8774e1564da2f51b7bd3342b88241c4f7fe4484cb9488c729222eae10208c06ed93d30b5
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
MYSLOT=2
|
||||
MY_PN=${PN}${MYSLOT}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Python interface to the R Programming Language"
|
||||
HOMEPAGE="http://rpy.sourceforge.net/ https://pypi.python.org/pypi/rpy2"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3 GPL-2 LGPL-2.1 MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/R-3.1
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
>=dev-python/pandas-0.13.1[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
virtual/python-singledispatch[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
PDEPEND="dev-python/ipython[${PYTHON_USEDEP}]"
|
||||
|
||||
# ggplot2 is an optional test dep but not in portage
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# Tarball absent of doc files in doc folder
|
||||
# https://bitbucket.org/rpy2/rpy2/issues/229
|
||||
|
||||
python_compile() {
|
||||
if ! python_is_python3; then
|
||||
local CFLAGS=${CFLAGS}
|
||||
append-cflags -fno-strict-aliasing
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd "${BUILD_DIR}"/lib || die
|
||||
${PYTHON} -m 'rpy2.tests' || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST rsa-3.1.4.tar.gz 36181 SHA256 e2b0b05936c276b1edd2e1525553233b666df9e29b5c3ba223eed738277c82a0 SHA512 b6ff7b91909b58359bda5da99ca4297337da5985c5430d2e96663c8bcf599b2180d54afa3316d4c3b11a8f79ddcb1f41d6942a0c8db2f0d27221c3aee132f3c1 WHIRLPOOL bc71d736cb72d222243055ac336ed3d42fde680ad0bc8261802926adfc3c9d8f1321351fbd951c495da843cc6c16bde9dbd27cb235a870dc8817ebfd35c55c7b
|
||||
DIST rsa-3.2.3.tar.gz 35628 SHA256 14db288cc40d6339dedf60d7a47053ab004b4a8976a5c59402a211d8fc5bf21f SHA512 52b33e0278e6e1fed64b1cdebed29f7caa31fae733c2d5875e6cba5a045aaa829616799d8de84fdb63c546780dbdafcabf1f85f25930b8e663861151479ef7e2 WHIRLPOOL 5814f912849bed4f98f8bef20dcf2fb9b28af70b970f324cadab90f0c67ff42c32792f7a6306edf1884d4cf6fe35d27f47c833358c2d03c582faba60fba1490d
|
||||
DIST rsa-3.2.tar.gz 33686 SHA256 30f371fbb060747aa53e02c2d53067d8a4f776a7f8ba0e9f0e6bd3f392489777 SHA512 cef1f42534d010e1bbaf62838779a54d20dbbee2b190afec662089c47959c490e279150de7c23bf10a0b53c4e7d4478680df1107a911ea42468b3483274aaf50 WHIRLPOOL 99608189a17f829615bee05f309375a0712f9f438161f37642fe09ad9286aea02475ed723e6f36c55c2cb6139bffd32660b169784ba932dd23433e72ea9e3feb
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Pure-Python RSA implementation"
|
||||
HOMEPAGE="http://stuvel.eu/rsa https://pypi.python.org/pypi/rsa"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/pyasn1-0.1.3[${PYTHON_USEDEP}]
|
||||
dev-python/traceback2[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-python/setuptools-0.6.10[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/unittest2[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST ros_control-0.10.0.tar.gz 620871 SHA256 d11ef3c34874068cf32a1766901686f59177ce7b94e229cb151a30f6fc1fcaca SHA512 93f400a024fa2eda49ec4a680f05559a31d0879e0c081e796c4ebccfc9c6e568655c79cde252e6afb6e5728c71135aa0d5d618a8727a66d69e7b49b46ae0f422 WHIRLPOOL 016631d6557919c1311da0912c34ce1aac34d55cff57cd0d0952d9899c3c99be6de650ecc495b724b46cc7294ca4b008a921ea2680bb7f8fa3ddec0e2f7fe6e6
|
||||
DIST ros_control-0.9.3.tar.gz 593174 SHA256 51e5e58e2010f668c136fd6178f83747af643fe5cf170484ce449c7e4e219a4e SHA512 37537de9cbee4702515f1db62980975c5d37c952e338bf1ffacf84722c605ad9f6bd660d8b6005e701fcb935f96b6adf1f28375640f14a2227703644b55e90fb WHIRLPOOL 1077031ba3511ef293a280af62afd237ca5da97140083dd396a34bc93d752be29d1599090fb8336627be85d9ee6d66231829d7af9fdd2214fd21535dad4e0abf
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros-controls/ros_control"
|
||||
KEYWORDS="~amd64"
|
||||
ROS_SUBDIR=${PN}
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Interface base class for controllers"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/roscpp
|
||||
dev-ros/hardware_interface
|
||||
dev-ros/pluginlib
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
@ -1 +1,2 @@
|
||||
DIST ros_control-0.10.0.tar.gz 620871 SHA256 d11ef3c34874068cf32a1766901686f59177ce7b94e229cb151a30f6fc1fcaca SHA512 93f400a024fa2eda49ec4a680f05559a31d0879e0c081e796c4ebccfc9c6e568655c79cde252e6afb6e5728c71135aa0d5d618a8727a66d69e7b49b46ae0f422 WHIRLPOOL 016631d6557919c1311da0912c34ce1aac34d55cff57cd0d0952d9899c3c99be6de650ecc495b724b46cc7294ca4b008a921ea2680bb7f8fa3ddec0e2f7fe6e6
|
||||
DIST ros_control-0.9.3.tar.gz 593174 SHA256 51e5e58e2010f668c136fd6178f83747af643fe5cf170484ce449c7e4e219a4e SHA512 37537de9cbee4702515f1db62980975c5d37c952e338bf1ffacf84722c605ad9f6bd660d8b6005e701fcb935f96b6adf1f28375640f14a2227703644b55e90fb WHIRLPOOL 1077031ba3511ef293a280af62afd237ca5da97140083dd396a34bc93d752be29d1599090fb8336627be85d9ee6d66231829d7af9fdd2214fd21535dad4e0abf
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros-controls/ros_control"
|
||||
KEYWORDS="~amd64"
|
||||
ROS_SUBDIR=${PN}
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="The controller manager"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/controller_interface
|
||||
>=dev-ros/controller_manager_msgs-0.10.0[${CATKIN_MESSAGES_PYTHON_USEDEP},${CATKIN_MESSAGES_CXX_USEDEP}]
|
||||
>=dev-ros/hardware_interface-0.10.0
|
||||
dev-ros/realtime_tools
|
||||
dev-ros/pluginlib
|
||||
dev-ros/rospy[${PYTHON_USEDEP}]
|
||||
dev-ros/roslib[${PYTHON_USEDEP}]
|
||||
dev-ros/rosparam[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-ros/rostest[${PYTHON_USEDEP}] )"
|
@ -1 +1,2 @@
|
||||
DIST ros_control-0.10.0.tar.gz 620871 SHA256 d11ef3c34874068cf32a1766901686f59177ce7b94e229cb151a30f6fc1fcaca SHA512 93f400a024fa2eda49ec4a680f05559a31d0879e0c081e796c4ebccfc9c6e568655c79cde252e6afb6e5728c71135aa0d5d618a8727a66d69e7b49b46ae0f422 WHIRLPOOL 016631d6557919c1311da0912c34ce1aac34d55cff57cd0d0952d9899c3c99be6de650ecc495b724b46cc7294ca4b008a921ea2680bb7f8fa3ddec0e2f7fe6e6
|
||||
DIST ros_control-0.9.3.tar.gz 593174 SHA256 51e5e58e2010f668c136fd6178f83747af643fe5cf170484ce449c7e4e219a4e SHA512 37537de9cbee4702515f1db62980975c5d37c952e338bf1ffacf84722c605ad9f6bd660d8b6005e701fcb935f96b6adf1f28375640f14a2227703644b55e90fb WHIRLPOOL 1077031ba3511ef293a280af62afd237ca5da97140083dd396a34bc93d752be29d1599090fb8336627be85d9ee6d66231829d7af9fdd2214fd21535dad4e0abf
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros-controls/ros_control"
|
||||
KEYWORDS="~amd64"
|
||||
ROS_SUBDIR=${PN}
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
CATKIN_HAS_MESSAGES=yes
|
||||
CATKIN_MESSAGES_TRANSITIVE_DEPS="dev-ros/std_msgs"
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="The controller manager"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-ros/rospy[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
@ -1 +1,2 @@
|
||||
DIST ros_control-0.10.0.tar.gz 620871 SHA256 d11ef3c34874068cf32a1766901686f59177ce7b94e229cb151a30f6fc1fcaca SHA512 93f400a024fa2eda49ec4a680f05559a31d0879e0c081e796c4ebccfc9c6e568655c79cde252e6afb6e5728c71135aa0d5d618a8727a66d69e7b49b46ae0f422 WHIRLPOOL 016631d6557919c1311da0912c34ce1aac34d55cff57cd0d0952d9899c3c99be6de650ecc495b724b46cc7294ca4b008a921ea2680bb7f8fa3ddec0e2f7fe6e6
|
||||
DIST ros_control-0.9.3.tar.gz 593174 SHA256 51e5e58e2010f668c136fd6178f83747af643fe5cf170484ce449c7e4e219a4e SHA512 37537de9cbee4702515f1db62980975c5d37c952e338bf1ffacf84722c605ad9f6bd660d8b6005e701fcb935f96b6adf1f28375640f14a2227703644b55e90fb WHIRLPOOL 1077031ba3511ef293a280af62afd237ca5da97140083dd396a34bc93d752be29d1599090fb8336627be85d9ee6d66231829d7af9fdd2214fd21535dad4e0abf
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros-controls/ros_control"
|
||||
KEYWORDS="~amd64"
|
||||
ROS_SUBDIR=${PN}
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Tests for the controller manager"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/controller_manager[${PYTHON_USEDEP}]
|
||||
dev-ros/controller_interface
|
||||
dev-ros/control_toolbox
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-ros/rostest[${PYTHON_USEDEP}] dev-python/nose[${PYTHON_USEDEP}] )"
|
@ -1 +1,2 @@
|
||||
DIST geneus-2.2.4.tar.gz 13718 SHA256 879d9e328693a217698a8448d146961568fb1f79cee59146dc60cbacd63582f6 SHA512 8ccb23e2a3a1e47b605853edee49cc6d44cdbbf33839c56770ff5b61ca903064983d1580226f1d8f80cb3b62a1c84c210c5d6e25971b24666cc7d5271db7fce4 WHIRLPOOL cb2544c9bb7534ec7f6f76ef02a220d7f1a9e645488a6ce5e3f43b5d66097bd21379e2ce57e12ce4e3d7097b12a6e973ec8b3c62caafb8ccbeb6b4ee5818f956
|
||||
DIST geneus-2.2.5.tar.gz 14230 SHA256 fc18dcca7185623b7059936e938bd4a93e3c8fd6a5b7f0eb80cf88625e0df49b SHA512 d3fb85e5ef05a8a2815a5eb65772994f1da8aa6455a72a4b68126c6ae0467cb0c79026e3a47983db873d696121a7e1996be2a3028cdc24e55f44baccce2e3f76 WHIRLPOOL 6730786ce548dca6dbc835ec1d611a357fbe027227f693d9dc0b3f705cb7c9464866da4d19ad0336f0432e9b1df0693fd2ab28725356ff73f17d44ce6b4a1a97
|
||||
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
ROS_REPO_URI="https://github.com/jsk-ros-pkg/geneus"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="EusLisp ROS message and service generators"
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-ros/genmsg[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
@ -1 +1,2 @@
|
||||
DIST ros_control-0.10.0.tar.gz 620871 SHA256 d11ef3c34874068cf32a1766901686f59177ce7b94e229cb151a30f6fc1fcaca SHA512 93f400a024fa2eda49ec4a680f05559a31d0879e0c081e796c4ebccfc9c6e568655c79cde252e6afb6e5728c71135aa0d5d618a8727a66d69e7b49b46ae0f422 WHIRLPOOL 016631d6557919c1311da0912c34ce1aac34d55cff57cd0d0952d9899c3c99be6de650ecc495b724b46cc7294ca4b008a921ea2680bb7f8fa3ddec0e2f7fe6e6
|
||||
DIST ros_control-0.9.3.tar.gz 593174 SHA256 51e5e58e2010f668c136fd6178f83747af643fe5cf170484ce449c7e4e219a4e SHA512 37537de9cbee4702515f1db62980975c5d37c952e338bf1ffacf84722c605ad9f6bd660d8b6005e701fcb935f96b6adf1f28375640f14a2227703644b55e90fb WHIRLPOOL 1077031ba3511ef293a280af62afd237ca5da97140083dd396a34bc93d752be29d1599090fb8336627be85d9ee6d66231829d7af9fdd2214fd21535dad4e0abf
|
||||
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros-controls/ros_control"
|
||||
KEYWORDS="~amd64"
|
||||
ROS_SUBDIR=${PN}
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Hardware Interface base class"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-ros/roscpp"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-cpp/gtest )"
|
@ -1 +1,2 @@
|
||||
DIST ros_control-0.10.0.tar.gz 620871 SHA256 d11ef3c34874068cf32a1766901686f59177ce7b94e229cb151a30f6fc1fcaca SHA512 93f400a024fa2eda49ec4a680f05559a31d0879e0c081e796c4ebccfc9c6e568655c79cde252e6afb6e5728c71135aa0d5d618a8727a66d69e7b49b46ae0f422 WHIRLPOOL 016631d6557919c1311da0912c34ce1aac34d55cff57cd0d0952d9899c3c99be6de650ecc495b724b46cc7294ca4b008a921ea2680bb7f8fa3ddec0e2f7fe6e6
|
||||
DIST ros_control-0.9.3.tar.gz 593174 SHA256 51e5e58e2010f668c136fd6178f83747af643fe5cf170484ce449c7e4e219a4e SHA512 37537de9cbee4702515f1db62980975c5d37c952e338bf1ffacf84722c605ad9f6bd660d8b6005e701fcb935f96b6adf1f28375640f14a2227703644b55e90fb WHIRLPOOL 1077031ba3511ef293a280af62afd237ca5da97140083dd396a34bc93d752be29d1599090fb8336627be85d9ee6d66231829d7af9fdd2214fd21535dad4e0abf
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros-controls/ros_control"
|
||||
KEYWORDS="~amd64"
|
||||
ROS_SUBDIR=${PN}
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Interface for enforcing joint limits"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/roscpp
|
||||
dev-ros/hardware_interface
|
||||
dev-libs/urdfdom
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-ros/rostest dev-cpp/gtest )"
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/mavlink/mavros"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
ROS_SUBDIR=${PN}
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="MAVLink communication library"
|
||||
LICENSE="GPL-3 LGPL-3 BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-ros/mavlink-gbp-release-2015
|
||||
dev-libs/boost:=
|
||||
dev-libs/console_bridge
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/mavlink/mavros"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
ROS_SUBDIR=${PN}
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="MAVLink extendable communication node for ROS"
|
||||
LICENSE="GPL-3 LGPL-3 BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/diagnostic_updater
|
||||
dev-ros/pluginlib
|
||||
dev-ros/roscpp
|
||||
dev-ros/tf
|
||||
dev-ros/angles
|
||||
dev-ros/libmavconn
|
||||
dev-ros/rosconsole_bridge
|
||||
dev-libs/boost:=
|
||||
dev-ros/std_srvs[${CATKIN_MESSAGES_CXX_USEDEP}]
|
||||
dev-ros/mavros_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
|
||||
dev-ros/diagnostic_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
|
||||
dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
|
||||
dev-ros/std_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
|
||||
dev-ros/geometry_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/mavlink/mavros"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
ROS_SUBDIR=${PN}
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Extra nodes and plugins for mavros"
|
||||
LICENSE="GPL-3 LGPL-3 BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/image_transport
|
||||
dev-ros/cv_bridge
|
||||
dev-ros/mavros
|
||||
dev-ros/roscpp
|
||||
dev-ros/mavros_msgs[${CATKIN_MESSAGES_CXX_USEDEP},${CATKIN_MESSAGES_PYTHON_USEDEP}]
|
||||
dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP},${CATKIN_MESSAGES_PYTHON_USEDEP}]
|
||||
dev-ros/geometry_msgs[${CATKIN_MESSAGES_CXX_USEDEP},${CATKIN_MESSAGES_PYTHON_USEDEP}]
|
||||
dev-ros/std_msgs[${CATKIN_MESSAGES_PYTHON_USEDEP}]
|
||||
dev-ros/visualization_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
|
||||
dev-ros/urdf
|
||||
dev-cpp/eigen:3
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
CATKIN_HAS_MESSAGES=yes
|
||||
ROS_REPO_URI="https://github.com/mavlink/mavros"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
ROS_SUBDIR=${PN}
|
||||
CATKIN_MESSAGES_TRANSITIVE_DEPS="dev-ros/std_msgs dev-ros/geometry_msgs"
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Messages for MAVROS"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
@ -1,2 +1,3 @@
|
||||
DIST rgbd_launch-2.1.0.tar.gz 4537 SHA256 74c1973c10b687339094fa14a6979359beafded55b81362a0861964dd0964b6e SHA512 aa4339f3ef711ea01e2184a5e3d642188d4c31ff3629e07044deb4ef3a3a4f74edda9997fc6fb7d44ab873158ab0b383e004eaa2f9b06e7f4a722541974dc8bd WHIRLPOOL 574eb3c36af5a27f1b8af0adddb1f676459d92d045626037953b6c26fe9925829c7b3809a15dce141696bd618905ed10e9a4e7134dede5d5d96e66512fae250e
|
||||
DIST rgbd_launch-2.1.1.tar.gz 4780 SHA256 e9914dd54452ee70e73ea6f9088a63f2a5af0a4baaed4cb2d9edf7031873aafc SHA512 2ad2c9746d7fa79ba93ad7c4fce6896b276771ad20a1b4b56df06eca648c4895de594ed3785fe516b3341844f919eb252b30b8465b336dd9de74805e04407022 WHIRLPOOL ab18ac63264efb1ad8c30323126cfc03ab604e519fe91280d5cf76c451e5084ee2e3d4723fe4b3e6bfd55113badd6cc941490905e0e1a5000c0cfa8d3c9bebff
|
||||
DIST rgbd_launch-2.2.0.tar.gz 5515 SHA256 998bd3b89521644483a7f8a60f50835477a261e29f0dc706f28cf6e82d815c79 SHA512 420920635b42060b0dcc7419589f5ce4b3a1ae56e07c8cf1df4e797685cdf6e230c882b2cae717b47c3c496759f8ddea8c4ce3c3fe6fceb1781d7449b53a52f6 WHIRLPOOL 4def15ac6059324fca16ce2f7434cbea3ced3acbaa37915ab00f990daa7010c721790368d276411e132d2d114653b84ed54d557894775f081c3ce716844cbe7a
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
ROS_REPO_URI="https://github.com/ros-drivers/rgbd_launch"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Launch files to open an RGBD device"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/depth_image_proc
|
||||
dev-ros/image_proc
|
||||
dev-ros/nodelet
|
||||
dev-ros/tf
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
@ -1 +1,2 @@
|
||||
DIST ros_control-0.10.0.tar.gz 620871 SHA256 d11ef3c34874068cf32a1766901686f59177ce7b94e229cb151a30f6fc1fcaca SHA512 93f400a024fa2eda49ec4a680f05559a31d0879e0c081e796c4ebccfc9c6e568655c79cde252e6afb6e5728c71135aa0d5d618a8727a66d69e7b49b46ae0f422 WHIRLPOOL 016631d6557919c1311da0912c34ce1aac34d55cff57cd0d0952d9899c3c99be6de650ecc495b724b46cc7294ca4b008a921ea2680bb7f8fa3ddec0e2f7fe6e6
|
||||
DIST ros_control-0.9.3.tar.gz 593174 SHA256 51e5e58e2010f668c136fd6178f83747af643fe5cf170484ce449c7e4e219a4e SHA512 37537de9cbee4702515f1db62980975c5d37c952e338bf1ffacf84722c605ad9f6bd660d8b6005e701fcb935f96b6adf1f28375640f14a2227703644b55e90fb WHIRLPOOL 1077031ba3511ef293a280af62afd237ca5da97140083dd396a34bc93d752be29d1599090fb8336627be85d9ee6d66231829d7af9fdd2214fd21535dad4e0abf
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros-controls/ros_control"
|
||||
KEYWORDS="~amd64"
|
||||
ROS_SUBDIR=${PN}
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="RQT control manager plugin"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/controller_manager[${PYTHON_USEDEP}]
|
||||
dev-ros/rqt_gui[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
@ -1 +1,2 @@
|
||||
DIST ros_control-0.10.0.tar.gz 620871 SHA256 d11ef3c34874068cf32a1766901686f59177ce7b94e229cb151a30f6fc1fcaca SHA512 93f400a024fa2eda49ec4a680f05559a31d0879e0c081e796c4ebccfc9c6e568655c79cde252e6afb6e5728c71135aa0d5d618a8727a66d69e7b49b46ae0f422 WHIRLPOOL 016631d6557919c1311da0912c34ce1aac34d55cff57cd0d0952d9899c3c99be6de650ecc495b724b46cc7294ca4b008a921ea2680bb7f8fa3ddec0e2f7fe6e6
|
||||
DIST ros_control-0.9.3.tar.gz 593174 SHA256 51e5e58e2010f668c136fd6178f83747af643fe5cf170484ce449c7e4e219a4e SHA512 37537de9cbee4702515f1db62980975c5d37c952e338bf1ffacf84722c605ad9f6bd660d8b6005e701fcb935f96b6adf1f28375640f14a2227703644b55e90fb WHIRLPOOL 1077031ba3511ef293a280af62afd237ca5da97140083dd396a34bc93d752be29d1599090fb8336627be85d9ee6d66231829d7af9fdd2214fd21535dad4e0abf
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue