Sync with portage [Wed Mar 4 13:41:39 MSK 2015].

mhiretskiy
root 9 years ago
parent 385f4160e4
commit aa971e3c96

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/setools-3.3.8-r7.ebuild,v 1.2 2015/02/18 03:35:21 perfinion Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/setools-3.3.8-r7.ebuild,v 1.3 2015/03/03 19:57:39 swift Exp $
EAPI="5"
PYTHON_COMPAT=( python2_7 python3_4 )
@ -75,6 +75,8 @@ src_prepare() {
# Fix build failure due to double __init__.py installation
sed -e "s/^wrappedpy_DATA = qpol.py \$(pkgpython_PYTHON)/wrappedpy_DATA = qpol.py/" -i libqpol/swig/python/Makefile.am || die
# Disable broken check for SWIG version. Bug #542032
sed -e "s/AC_PROG_SWIG(2.0.0)/AC_PROG_SWIG/" -i configure.ac || die "sed failed"
local dir
for dir in ${PYTHON_DIRS}; do

@ -1,4 +1 @@
DIST fsarchiver-0.6.15.tar.gz 246659 SHA256 a7f41ba60785369c5946d50576edbbfb278aab507a770c90bcd593478060af41 SHA512 657032605c558ed35a8718f62aa4e478e27c5bcd6bf810af34f7441304786b09dacc946ecfb702ebb5a823899f86bf23ad77859f92922408e8fbf952ca543851 WHIRLPOOL 35e532ed82a2047393d262569ed970479a9b9da1df6e4f9b98be92410d841cf5a04412ef4e61e15dac6d7ed020a0be875b4004c6bc66443f0eee4360914348b4
DIST fsarchiver-0.6.16.tar.gz 240564 SHA256 2e11e2707c472be40587af86000f160b35504e681baeb6b50275e0e531ee2830 SHA512 f8546580f7395ac9e3b2baa4b5488423f8c9a1eabd60fa440bdbb118498c2acd0563b4f54a6ce9ec40896471805c8f6814bb2741b6d65d863a435e52506775fb WHIRLPOOL 1e3036f5359442f3fa5567ec4e4c5f688ede023335e5f94156ff3e585121d0f312a36f36a81cae48d26cb6102bc1c59e7fb5fc4a366c3f4798bda082b01fb987
DIST fsarchiver-0.6.17.tar.gz 246686 SHA256 409add97337783cb135f15c07318acf5067f5837f07bd62c7e358f3dcf5dced5 SHA512 c433085c9c945fd48b073d9b53794cd35e09a9373e7e86ed32fde7f6c95c7fc9d01f805d5ab7708f61026998c4362c7c0d801d568cbd481a76dd79815d193954 WHIRLPOOL 06790096a02dae4eb2c2820f32aa1ded51550f574fd008f2a748aa5514748ba7df5f1861f2f146dbdba20a02520bb461cc6ed1251a1e9432b53d272b611dbaf7
DIST fsarchiver-0.6.19.tar.gz 244972 SHA256 9ba4d3262059a0cb108de564340d947a4d75d34ba3b8e35a767d543afbf24dbb SHA512 28c2b7c59fcdedd47c5451867540696e1859d954259670419df01fb94b626f169a2ff97b9eb96caaba69421ff2560cebbd6c7743b2a89172591f0747716a0471 WHIRLPOOL 78200870521adb927b042e3ada778ebb552f84c0164cf628fa5214f84f42a853fe71871d2ee27a6c485fa1db3c229002e52c6f11e58ef9766b38df6723e93f24

@ -1,40 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/fsarchiver/fsarchiver-0.6.15.ebuild,v 1.2 2014/03/01 22:17:15 mgorny Exp $
EAPI="4"
inherit autotools eutils
DESCRIPTION="Flexible filesystem archiver for backup and deployment tool"
HOMEPAGE="http://www.fsarchiver.org"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug lzma lzo static"
DEPEND="dev-libs/libgcrypt:0
>=sys-fs/e2fsprogs-1.41.4
lzma? ( >=app-arch/xz-utils-4.999.9_beta )
lzo? ( >=dev-libs/lzo-2.02 )
static? ( lzma? ( app-arch/xz-utils[static-libs] ) )"
RDEPEND="${DEPEND}"
src_prepare() {
sed -i -e 's/^\([a-z]*_CFLAGS.*\)-ggdb/\1/' src/Makefile.am || die "seding
failed"
eautoreconf
}
src_configure() {
econf $(use_enable lzma) \
$(use_enable lzo) \
$(use_enable static) \
$(use_enable debug devel)
}
src_install() {
emake DESTDIR="${D}" install
}

@ -1,36 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/fsarchiver/fsarchiver-0.6.16.ebuild,v 1.2 2014/03/01 22:17:15 mgorny Exp $
EAPI="5"
inherit autotools eutils
DESCRIPTION="Flexible filesystem archiver for backup and deployment tool"
HOMEPAGE="http://www.fsarchiver.org"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug lzma lzo static"
DEPEND="dev-libs/libgcrypt:0
>=sys-fs/e2fsprogs-1.41.4
lzma? ( >=app-arch/xz-utils-4.999.9_beta )
lzo? ( >=dev-libs/lzo-2.02 )
static? ( lzma? ( app-arch/xz-utils[static-libs] ) )"
RDEPEND="${DEPEND}"
src_prepare() {
sed -i -e 's/^\([a-z]*_CFLAGS.*\)-ggdb/\1/' src/Makefile.am || die "seding
failed"
eautoreconf
}
src_configure() {
econf $(use_enable lzma) \
$(use_enable lzo) \
$(use_enable static) \
$(use_enable debug devel)
}

@ -1,36 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/fsarchiver/fsarchiver-0.6.17.ebuild,v 1.2 2014/03/01 22:17:15 mgorny Exp $
EAPI="5"
inherit autotools eutils
DESCRIPTION="Flexible filesystem archiver for backup and deployment tool"
HOMEPAGE="http://www.fsarchiver.org"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug lzma lzo static"
DEPEND="dev-libs/libgcrypt:0
>=sys-fs/e2fsprogs-1.41.4
lzma? ( >=app-arch/xz-utils-4.999.9_beta )
lzo? ( >=dev-libs/lzo-2.02 )
static? ( lzma? ( app-arch/xz-utils[static-libs] ) )"
RDEPEND="${DEPEND}"
src_prepare() {
sed -i -e 's/^\([a-z]*_CFLAGS.*\)-ggdb/\1/' src/Makefile.am || die "seding
failed"
eautoreconf
}
src_configure() {
econf $(use_enable lzma) \
$(use_enable lzo) \
$(use_enable static) \
$(use_enable debug devel)
}

@ -1,2 +1,3 @@
DIST ltp-20130503.tar.bz2 3819156 SHA256 afdb1479e73d4da7f0d4d5d3fe1570bc5fc96e3317d4a5c10c59c046d3dfa4a0 SHA512 efe7c3e5ffba51b03f01ee66d940d400f4f007dcc42ca45f9597fc1a325950ee14f663762280d63004080c717f16f39bc0d53b5905290470952ef5af3725f089 WHIRLPOOL 924cdc730e85d66d8d7655461e0a59a563b7a9039133b4e991a115d20453f46dda158ac82f474fc8d9ea720a4d03fc67d4d55c231c11d35dc3bfdc5b10a7258b
DIST ltp-20140828.tar.bz2 3914567 SHA256 046069523f04d8be8689c9e3f7f475e11d21c3d97506189a4a5e23c80b77492a SHA512 4963184624c8d6686dd9bda171bb2917a16b782f575e73ac18641ee66070b72f34c1e222936c52e529038854bd8d67d05b286d5f1319fd73098823ddbfe29545 WHIRLPOOL 32ec59ccd3cea3e4cfe8f73c4eb2bf8f8a86fd2fd0f82df8afabe8b62fd8e92fc9d3dbde52875d2be241542a6e3608ea5507d5f6495b11c92bcda475f6a69302
DIST ltp-20150119.tar.bz2 3920104 SHA256 e0433cb184c57bf4e5493bfbceef3e9ee51a1a9778990fe4e74e62b17b94232f SHA512 ab7a76d700279895442a35507c58d2d1d2e727f3f7dfec067109a8f04bd23d18d0466c20bb1a37af8691bab9260353431e642b493a218b4317357ba8f6aace3a WHIRLPOOL 69c3e79ca8ceb68197ac8905fa7251a31207465d3992c997b4feb4bbd175657b71f667960aed5658aa5e477edf8388ded34a75476d827fb0fa337f4210975f54

@ -0,0 +1,84 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ltp-20150119.ebuild,v 1.1 2015/03/03 22:55:41 hwoarang Exp $
EAPI="5"
inherit autotools eutils readme.gentoo
MY_PN="${PN}-full"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="A testsuite for the linux kernel"
HOMEPAGE="http://ltp.sourceforge.net/"
SRC_URI="mirror://sourceforge/ltp/LTP%20Source/${P}/${MY_P}.tar.bz2 -> ${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
IUSE="expect perl pm open-posix python rt"
DEPEND="expect? ( dev-tcltk/expect )
perl? ( dev-lang/perl )
python? ( dev-lang/python )"
RESTRICT="test"
S="${WORKDIR}"/${MY_P}
pkg_setup() {
# Don't create groups
export CREATE=0
DOC_CONTENTS="LTP requires root access to run the tests.
The LTP root directory is located in /opt/${PN}.
For more information please read the ltp-howto located in
/usr/share/doc/${PF}"
}
src_prepare() {
# regenerate
AT_M4DIR="m4" eautoreconf
}
src_configure() {
# FIXME: improve me
local myconf=
use open-posix && myconf+="--with-open-posix-testsuite "
use pm && mytconf+="--with-power-management-testsuite "
use rt && myconf+="--with-realtime-testsuite "
use perl && myconf+="--with-perl "
use python && myconf+="--with-python "
use expect && myconf+="--with-expect "
# Prevent any kernel stuff for now as it leads to sandbox violations
myconf+="--without-modules --with-linux-dir=/dev/null"
# Better put it into /opt/${PN} as everything needs to
# be under the same directory..
econf --prefix=/opt/${PN} ${myconf}
}
src_compile() {
# Posix testsuite does not seem to build with -j>1
# Is this maintained anymore?
if use open-posix; then
export MAKEOPTS="-j1"
fi
emake
}
src_install() {
default
dosym /usr/libexec/${PN}/runltp /usr/bin/runltp
# install docs
dodoc doc/MaintNotes
for txt in doc/*.txt; do
dodoc ${txt}
done
dodoc -r doc/testcases
dohtml -r doc/automation-*.html
doman doc/man1/*.1
doman doc/man3/*.3
readme.gentoo_create_doc
}

@ -1,27 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/gaffitter/gaffitter-0.6.0.ebuild,v 1.4 2011/01/25 12:22:15 fauli Exp $
EAPI="2"
inherit toolchain-funcs
DESCRIPTION="Genetic Algorithm File Fitter"
HOMEPAGE="http://gaffitter.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
src_prepare() {
sed -i -e "/^INCLUDES\ =.*/d" \
-e "s/^CXXFLAGS\ =.*/CXXFLAGS\ =\ ${CXXFLAGS} ${LDFLAGS}/" \
-e "s/^CXX\ =.*/CXX\ =\ $(tc-getCXX)/" src/Makefile || die "sed failed"
}
src_install() {
dobin src/gaffitter || die "dobin failed"
dodoc AUTHORS README || die "dodoc failed"
}

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-1.4.19.ebuild,v 1.3 2015/03/02 20:20:27 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-1.4.19.ebuild,v 1.5 2015/03/04 09:50:46 ago Exp $
EAPI="5"
@ -17,7 +17,7 @@ SRC_URI="mirror://gnupg/gnupg/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
IUSE="bzip2 curl ldap mta nls readline selinux smartcard static usb zlib"
COMMON_DEPEND="

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/qca-2.0.3-r1.ebuild,v 1.3 2015/02/21 21:03:18 mgorny Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/qca-2.0.3-r1.ebuild,v 1.4 2015/03/04 07:54:12 kensington Exp $
EAPI="3"
@ -13,7 +13,7 @@ SRC_URI="http://delta.affinix.com/download/${PN}/${PV%.*}/${P}.tar.bz2"
LICENSE="LGPL-2"
SLOT="2"
KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
IUSE="aqua debug doc examples gpg logger openssl pkcs11 sasl"
IUSE="aqua debug doc examples gpg logger +openssl pkcs11 sasl"
RESTRICT="test"
DEPEND="dev-qt/qtcore:4[debug?]"

@ -1,8 +1,12 @@
DIST BookForAppliDev-4.10.0.pdf 4576743 SHA256 7f94365e60f14a388c9705bf0bd1a031e979cfdad46314fe389365d7261a47cc SHA512 8b2385d625bf2eeed3ec9056c1c409348d5dcff44da3438640ef8e7e178b73f540c2112b019eef4568e6cb6a0866000c36170004e0648580edf58899c2d730cf WHIRLPOOL 1fca379b49e77418b93a3aaac36ea5a71bea7e9eea520d9c3563e6c44fbbef70a37a5a094ccc19cd40bde9fc6052f7fcae5bdb039676c8a2b0f3370d24bf19fb
DIST BookForAppliDev-4.10.1.pdf 4636744 SHA256 256890ed390eaf6a2332daf084f26f2168fe4566dbed5012a353cd3219bdf480 SHA512 560d9c7ae2b72c261bfe705ce51c278ff1be460bac997ceb7ebae168d377d9499a1022fb7a8c0e715b11833527acaa5ee1508874ccfd5da65e1615b63d16c6e0 WHIRLPOOL 6ab5e4301229eb9d73093f8f34271925779d076d7f0f42796dad7ef63c67f9bd6f303ba45a369fddfe420f1d87d78b7e7b88d3e9b8e2de9e467dc24af8e19141
DIST BookForAppliDev-4.9.6.pdf 3022878 SHA256 5bc69710a49922f1f9fa159449062f25fc87a7a757de43ec67dc843fd6a3c8b4 SHA512 b653c29a3bcdee7709566268410a32d3f226ecc7e22a6857f4eb1f816d203e9de826b7fe09e74d317ee2864e830b701d01ef66251a1883de16ea21631093db7b WHIRLPOOL b75ea3cd3c79bfdfddd7c20d70752a664eb841bd03f89a66abeaf70ccb9c152fa0e4fff34da3a0e5722b42ae89ce06e890fcd7a9190f3c97c5c0f513a289660e
DIST BookForToolDev-4.10.0.pdf 6148005 SHA256 b293735a1ed22b2f5a5aa58afa37cab67493f8f8fc6c80a6c594334adbbfe1a7 SHA512 2b211b3d70771bc6cbfa4885497ef754a6d738e217291ec4e6da7b095d7e1e6a46ed809d0dd42b24b205669725ac67c498c1fb1a4ac9bb4fdaf00bc2a378b8bc WHIRLPOOL c48c6d2957df9db91080bde6b311ff04e3f680ad85944d1807471687c9d2cba5f11ee8e8a982bac8ea4667c844202a492574cafc0d17f362a547e2d3874972bc
DIST BookForToolDev-4.10.1.pdf 5792624 SHA256 35a274b0e09d3fbd5c36e3bbecb0b58a0945a3dcf9ccb4cad1422a4a82f5e02c SHA512 2872b9369e49497819b50150e734d6d70694d77786dba7ca01393462c76f6320787ff48bcc463821db3a3c5479075a19ce41a02189d2440064ca3329803f42d4 WHIRLPOOL 4d163153fb9df07105f3ddcc6a717f056956e9c502b696bfc37bccf9c09dcfb2b2f8cfd3495004035901bec744f2f02c564baee8feece0b5b6c97c3c697d7d61
DIST BookForToolDev-4.9.6.pdf 5270128 SHA256 a64c035442135a8431eba76a029ba0cc5308a00606b84db6406b009b2b3d169c SHA512 ba2f6a9f0ef7093527cfc8e1c98d1299f7784eb58cb2c1aff0910ac3277aefa3ba5fe8d6be1ff040695623f7e2fff56e82fafcc6f583d13cc98ca513bd5528b5 WHIRLPOOL 1c38d6c9506dfca3173bfe8f8aed4fbeeb7a16e0904c2446d0d89ceb69655b8c287045ea827c778039d00e55449a8b1599046fa1feb976f91183d7a43a989fb6
DIST BookInstalGuide-4.10.0.pdf 3057028 SHA256 d1c24f29afa0550675f323e00004b839fce0e51e7074f35d393cc79204a3c68b SHA512 abd76299ce4bdc0d61103282d41e4325ee4d290f286bfd368570add4b7d7a4263b47ccc4309f4ef28b0c268bf88f8c0eb2c6cee1e1f5da1a92d324a110b8a716 WHIRLPOOL 7f311567204990f10f05f180da6dbfc8b6614a9c264748c18320056b7dbc73881324e7610506acd897df70acbb1875fad56422a5780b43eb8ce544f43fe8e89a
DIST BookInstalGuide-4.10.1.pdf 3061881 SHA256 e6ec7392a536088d80239d9d8d83bb05f998b46f2b0e755a2d1980fa90ab5324 SHA512 0280498bf0040d2f60fe9de3eff3395e9fd0dd8e2d18b605e6848779146198fa1def58e1cd660d577e4a40fe0a6f7b1ad618a4459ae48ce01b9782cdefb83642 WHIRLPOOL aba4f28e807b09085d34c6afbeb2b4491c4d11ca6abcd4b39658da0107937d2e9eded14330173f799555c8f5d96a88c0bba7b72a1d314940f11e2fb9e9fb1131
DIST BookInstalGuide-4.9.6.pdf 177888 SHA256 167cf8867373e5200ae10ad714caf51b4224c319d02c4b7dd9d43307304ab950 SHA512 de35770ead31a1013fb9ec0eb817d681def4fef82dbbd5493ece2cf9129db44e6cd116dc2c610da62da92857aa8926d063f570e3b181796544cb2f92bba12df4 WHIRLPOOL e48a51f174e97574b0bee4a96d6f6b0fa9e7290b76b01bfd78683d24a7a379d9534c22627b5c59a9071ea8e9bb9ec487f5a4c308effbd374d35bdc18de9b12ec
DIST PhysicsReferenceManual-4.10.0.pdf 5776452 SHA256 a78de9bcea06eb570e47a7bddf7aad4c6e3ae8874000fe36ce252bbb4d7e5bf3 SHA512 568325b0d673c7015b019c10ca51361ec8fd98999660ba9fde2f69514c85fd0e897514ee9b97ab25462298b23670d79d9336ad839186e7f1b135bab819662794 WHIRLPOOL 580d4ff8dcda4fb759d894264518125716fab76759409100e22152800c8f7ae6fa16c08b3a0a629d22364c2cbfb6d651b0981fb364ef43ddef5b95db52332bf9
DIST PhysicsReferenceManual-4.10.1.pdf 5857216 SHA256 e9a0f986e9a3d096ef35a33966e1bd4ae86f419750d823050d4d59d33486efef SHA512 56f1ec07ea3833cbff4eb431450a67c905bf541d7a82e38231adc2edd6a0da5ca7d8050f0e34c5c0f9480f7b0a5a00090299a5318162fb9f95efdb345fc46061 WHIRLPOOL b5d28873113fb1bb02d0d4e8d413b6a81556cc64ed427ed2703b0b79917905117a3fd4cb23f85b24882fb85fc8c5c8b9c93ba81ea20a84b3106cb67c2b1654d4
DIST PhysicsReferenceManual-4.9.6.pdf 4430198 SHA256 c591e42ced361763f0d51f210902c54345cb8c3c15fd4bc8e98509dfe103c02b SHA512 90e7ae7410b5276f9be2eeb340deb062288ebc7f6a3bb425086fec07576e075fc0480bf3f233239e8ca13cbe462cb7d4254301ee57bd0368b2479c603957561b WHIRLPOOL 666d2377c6a029cabc7ed4ee90660ec3d8ff1957cadba9d4ae2126f1bc45f99d90058a2bb7a9398306ab0d906c0b57ff9b2622f773424b81ad64c7b84bd41065

@ -0,0 +1,29 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/geant-docs/geant-docs-4.10.1.ebuild,v 1.1 2015/03/04 02:40:51 amadio Exp $
EAPI=5
DESCRIPTION="User documentation for Geant4 physics simulation toolkit"
HOMEPAGE="https://geant4.web.cern.ch/geant4/support/userdocuments.shtml"
SRC_DOC="http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides"
SRC_URI="
${SRC_DOC}/InstallationGuide/fo/BookInstalGuide.pdf -> BookInstalGuide-${PV}.pdf
${SRC_DOC}/ForApplicationDeveloper/fo/BookForAppliDev.pdf -> BookForAppliDev-${PV}.pdf
${SRC_DOC}/ForToolkitDeveloper/fo/BookForToolDev.pdf -> BookForToolDev-${PV}.pdf
${SRC_DOC}/PhysicsReferenceManual/fo/PhysicsReferenceManual.pdf -> PhysicsReferenceManual-${PV}.pdf
"
LICENSE="geant4"
SLOT="4"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""
S="${DISTDIR}"
src_install() {
local d
for d in *pdf; do newdoc ${d} ${d/-${PV}}; done
echo GEANT_DOC_DIR="${EPREFIX%/}/usr/share/doc/${PF}" >> 99geant-doc
doenvd 99geant-doc
}

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/docker/docker-1.5.0.ebuild,v 1.2 2015/02/15 02:08:25 patrick Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/docker/docker-1.5.0.ebuild,v 1.3 2015/03/03 14:21:35 xarthisius Exp $
EAPI=5
@ -27,7 +27,7 @@ inherit bash-completion-r1 linux-info multilib systemd udev user
LICENSE="Apache-2.0"
SLOT="0"
IUSE="aufs btrfs +contrib +device-mapper doc lxc vim-syntax zsh-completion"
IUSE="aufs btrfs +contrib +device-mapper doc lxc overlay vim-syntax zsh-completion"
# https://github.com/docker/docker/blob/master/hack/PACKAGERS.md#build-dependencies
CDEPEND="
@ -132,6 +132,12 @@ pkg_setup() {
"
fi
if use overlay; then
CONFIG_CHECK+="
~OVERLAY_FS ~EXT4_FS_SECURITY ~EXT4_FS_POSIX_ACL
"
fi
linux-info_pkg_setup
}
@ -163,7 +169,7 @@ src_compile() {
# let's set up some optional features :)
export DOCKER_BUILDTAGS=''
for gd in aufs btrfs device-mapper; do
for gd in aufs btrfs device-mapper overlay; do
if ! use $gd; then
DOCKER_BUILDTAGS+=" exclude_graphdriver_${gd//-/}"
fi

@ -33,6 +33,10 @@
Enables dependencies for the "devicemapper" graph driver, including
necessary kernel flags.
</flag>
<flag name="overlay">
Enables dependencies for the "overlay" graph driver, including
necessary kernel flags.
</flag>
<flag name="lxc">
Enables dependencies for the "lxc" execution driver.
</flag>

@ -1,4 +1,3 @@
DIST VBoxGuestAdditions_4.2.24.iso 59760640 SHA256 9e50d9dcbc973e448389aabdf5feb8c5363afd4e3543f1b81cf03e90477519b0 SHA512 b8079f802d0fad64fd5383c2a4f05e7ab8ce33148247a3126fb560cd66975211351bc675d235536c0d7ff6eaa23dd999528d116fd4054ac9e40dee82fe045c39 WHIRLPOOL 79943190cc78800e3d27fa5876c397471684ee4146d087a5d7a6db4b50460c94dd3acdfae5ad66a2ad7a3bdccfd64dc68bc30c2e6503e6e7abea697223ecaa5b
DIST VBoxGuestAdditions_4.2.26.iso 60534784 SHA256 6986eebc92da52799a4f54098504669dafc04479821ebbdc7ca421a76db040a5 SHA512 bea7a98f60972458a65b4989556d0c5e309c5cdc2bce114f0312f9582f66d2f06f5b6274c6222d14272a1541640bd039ca425e0ceaf9fe569eac3037ac8ed8ca WHIRLPOOL 9d513f7aa9096bf41e0b01cefbfabf82f10c70917d18de6cf4b825ee009c9910141866a9af577b2a5a170d5c21820ba76214e29bc748561c91817daace3eb533
DIST VBoxGuestAdditions_4.3.18.iso 58298368 SHA256 e5b425ec4f6a62523855c3cbd3975d17f962f27df093d403eab27c0e7f71464a SHA512 ee65476dba01d63a3029715ed7daaca5671e8ae1b81be2ddf5becb7d8eaae2e908af4b06abcb0695405d4031299090fd1e00fcc48425278a1871afbe34c40e09 WHIRLPOOL f96de01b8ba5ccfeafd99eed4317e365d348c42b635d37235f302411ace893d1b102fe9c6837f929fd11b6fe3874525e8f354e048676eda3e3e585a653f3fdc7
DIST VBoxGuestAdditions_4.3.20.iso 58343424 SHA256 9ab48f44ac26a6deb374cb5fe6bad103bbf4fdf5186140e2d40ebe48bd01f3ea SHA512 8197407b9383aa87305a9e1bff21aa5bc44ff7c0a5836b3c982b123d1e931f43138987a13463863e914f38bebf07f8bdb80d7b847919d6ca19a7416fcade2514 WHIRLPOOL c5914b2a5c2f3782c745b833b98ed55e2dcb06ab64c2ac8a550433d77173a6b431b20563ba6bedc4e1dcaad525fad536cdc08b1e26e80d54edd5512f35c2bf55
DIST VBoxGuestAdditions_4.3.24.iso 58109952 SHA256 df4385aaa80f322ee2acda0657a53d9ca5c489e695ee5f9776574b67c649c960 SHA512 0a7fe6821fdf2b38fd9905a1ff9145f77471ebcc59bdafa2127b187a4816985ddc1e540b7e49015aaf129721b7bb842760b97813baef6b66a3282fd97d83ff8d WHIRLPOOL fb84386df5387fcd33382f8ed6e7b85ad9914371ecfef58d8e9591614f44677888a60d35904be90f8b522e127c0f6ca317d0a5912640459ae8d82d47b3abe6ee

@ -1,36 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-additions/virtualbox-additions-4.2.24.ebuild,v 1.3 2014/06/08 09:44:16 ago Exp $
EAPI=5
inherit eutils
MY_PN=VBoxGuestAdditions
MY_PV="${PV/beta/BETA}"
MY_PV="${MY_PV/rc/RC}"
MY_P=${MY_PN}_${MY_PV}
DESCRIPTION="CD image containing guest additions for VirtualBox"
HOMEPAGE="http://www.virtualbox.org/"
SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.iso"
LICENSE="GPL-2+ LGPL-2.1+ MIT SGI-B-2.0 CDDL"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RESTRICT="mirror"
RDEPEND="!app-emulation/virtualbox-bin
!=app-emulation/virtualbox-9999"
S="${WORKDIR}"
src_unpack() {
return 0
}
src_install() {
insinto /usr/share/${PN/-additions}
newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-additions/virtualbox-additions-4.2.26.ebuild,v 1.1 2014/07/18 13:49:23 polynomial-c Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-additions/virtualbox-additions-4.3.24.ebuild,v 1.1 2015/03/04 07:07:45 polynomial-c Exp $
EAPI=5

@ -1,16 +1,12 @@
DIST Oracle_VM_VirtualBox_Extension_Pack-4.2.24-92790.tar.gz 12404740 SHA256 f58099d2b1d4829d359799025765e097ec0155df0683c009794d867d9720ef3e SHA512 d2cc9dacb8704afab4b2ae114d95bc7963f83c52d6b6fa41f54c50971404ef44162465102f3299fa475e0a91f6b4d24d032182176c960d8a60d60cb8d3dd4d11 WHIRLPOOL 273887d34f664b3df233ee0fcb27c502c6e100e4b48fc956a63d2da978b12ba54f2d3a925bbc60ae1142f2bc01a25b62e7e958779eb3566290511b868972367c
DIST Oracle_VM_VirtualBox_Extension_Pack-4.2.26-95022.tar.gz 12434839 SHA256 561b9f28e5caca5ae2f65033ad8cbb1b5fd5a11131d56ce2aa8a892b90922989 SHA512 49f6cd0c6b036fcd598ac758930c7cb94222066740f02e896db121e432cd7090ba789f158f05d45f11af1efdfb4eafd820746b9e1bae0689c82c76b4e2cd2e86 WHIRLPOOL 21fd3823137e52be718f91d46a82f34e9512264d2e472b862151a6b54206bd0e42f752fa74dfd323b8ec4d4b560169f43ecd356697d6803ce498d00fd7c26cfa
DIST Oracle_VM_VirtualBox_Extension_Pack-4.3.18-96516.tar.gz 15793634 SHA256 9c98f8256935492e6e45f7998e1c0e2fd859d87b24123d35ea0065fd0fd62d60 SHA512 ae51c0663a3c4ad220a63988463f7b785bf759b886d297fb0aceefa80462b511447a7d2527d2f971fd9030dc252a3e6576910514e0e7c60b3eb7889d97fcd440 WHIRLPOOL 75c0d312d47715e4bdb16643b2700abe617195eb1feb3fde814111c2dc7d77d03017698e49d0c77a99bb2c95211d888f436a0ed6d58a914cd05456a6531d042c
DIST Oracle_VM_VirtualBox_Extension_Pack-4.3.20-96996.tar.gz 15945984 SHA256 7e1253f7013e9cdc84a614a0db38b40de7bbd330cb5b85bd3ef3de213773450d SHA512 cb8fff9c4d82c5dc2cec42c95f9e87004cd89dc51bea015384bc3f633c8a09fb034f78c78c7f7c8f9b3684bfb6d92851eefcac618f204b411fa0b8de347906c2 WHIRLPOOL effd71f667913fba3c6f2c88ed73ad8ce009bc732b78d5d6c79dcdec5f9c14eee98d144046bb7ecaf2d6fd0766ac7c403131ceb44b204e2401fe4a503c2183c0
DIST VirtualBox-4.2.24-92790-Linux_amd64.run 86066641 SHA256 1a36b91e0b8b9f2aeb91ebd6b2d4869b6cbdd1f72e6002c1e2c4aa3c2f6f126e SHA512 4a20b5d2cfdc6f1d69b7407df7ab55279d4b2c1106d1996f6ab9b87faabc0071d89fbe56a3a2a190b9500eb969cc636c0820650efca5f162b7b0fd3f4b9c07cd WHIRLPOOL 7d0e858abe12612e5c08be8f17aa980c612fd998b6ab4678736d65681c0cbca4fcf70c59a48890b365ea70143a3bad85fe8020c450d1dfad4103d21adb54ad2e
DIST VirtualBox-4.2.24-92790-Linux_x86.run 85841357 SHA256 c7767ec0178fc4b37a547722b9da5933d786110b84e44d52ceaebe158ba530fb SHA512 3544becd17798b5e556dadd454103345263739b84253b823b189a73032d5f39f1d7056fa79aae3e3a7f7fef5b0a50b14dc93c984eee7919915087b97fcdf3aa4 WHIRLPOOL bcb2dc4fb2af77edc840f0d2047423ccdbaf1ba93605e03d2f26f4eb78c01887485741fc3906e630e859f206acb04854525dccfe508904d2f6612d75338775ff
DIST VirtualBox-4.2.26-95022-Linux_amd64.run 86906322 SHA256 a0c13f5cf239257a73d3805c5e4b37b97317cdcbc95fb902b71b8027e1b18627 SHA512 0f6eabfbcc5e2ba8dffd236b19426e7bcca150df46b6787cf3b0208fd57fdc6e6dc7906bb853a447582dc560d1a9b56c92a5f995ba5fae50f168054f349d7786 WHIRLPOOL 39af2a322edc7f4eb8a9b46ae3b40f5bb5a4b5a5b752210edb50656464a50ca669aadbad972270c3a932a509332bd5aa28f215013d33c5e7e96b9f7c0f05c6ab
DIST VirtualBox-4.2.26-95022-Linux_x86.run 86691278 SHA256 3c896f4f60bfed252468d9b754bbe5797d9626be22297c24c13e42b831a1e007 SHA512 2a5f47fae75c7cbe29830c2453b82c6f598ec0933e4cf5b7fb8e14b3b42637ac24f55b099f4feb1298e13db61066a52fd30bb6573e2616c99a5b3dfc4ee12618 WHIRLPOOL dc7c9dcf303ca8dba661de8b770e2185531464aaade914192a86596a29ba86d02f05305f302e7a546473ef5ff2ac3450dfb038b3e493332308e33f8ffa4a490d
DIST Oracle_VM_VirtualBox_Extension_Pack-4.3.24-98716.tar.gz 15946289 SHA256 c6b61774e323b70da0d4f5677ef56f1c53990eccef859d3c720d814f98a01f8d SHA512 9d30e850e33f3e247e6e1e14eb8636f78cb32a141b623d1168f4daf1141f8602a2dbdeebea91118ccaeafedbf710ed0f125a08752871e934371c7965082d1924 WHIRLPOOL e99699ea7cbcfa2f0c4dab9b63fab2981a5725041cbf4d9072aaabbbbbb9e4abafb8383374639b6992e5917c6df7b420a6cc0f92214bd1b9fa866978f05c4f64
DIST VirtualBox-4.3.18-96516-Linux_amd64.run 85554642 SHA256 d723dde34d88970f26da1fb95ecac2afb03bee48ced1df4891b47d655809fefc SHA512 90beaa08f1ddb5966cb9884cdcfffde2ceb695b22c93bb976dfd5da4a3121c25e5eb39a715fbbed98102f97ebb20f07381bce18663196b3aa854a76830a7d1bb WHIRLPOOL 39697f1ff5f4d97a51ab0442a3d23efd71522d184443c2e4b292b8e4a59d982066e1be15b73acf9d234a9b8b3a0c733afccc1a6feec17576f37ec7cb5bdba9b0
DIST VirtualBox-4.3.18-96516-Linux_x86.run 85134796 SHA256 128d5711b3074ad00bcb6fb9c610016b81213f3a2a1cf308b33a1d20fafa876f SHA512 625894c1d99c53bacb75f1061baa3957b5146b64f911d328d4a34e39a48ff95c0ce39f75ba7c6ad66ab41918bf2ad8789af5946f0036039af1c8d49784631b7d WHIRLPOOL 3ba2a10eb988027e408853b7f889f07f39e6b4717ba6f630fe3c8ccee05267ad39187bf7e658ad5bcc77212b7a2b445ab2db439b1dc880de7ac41e8b44bc2e11
DIST VirtualBox-4.3.20-96996-Linux_amd64.run 85534160 SHA256 46ac2b2848e71259274ee975a71da0c93189b2f02dad74a84a46e152af68e0ca SHA512 7ec03c217c885f0a2a394d3500eac111ee0ef5269da61ea20a0794b68592674d95fa3bc1ee6b27398cbf8989359ed6d39e7aaa56f17d1ee86bd0eb454bf7c39a WHIRLPOOL 2b997b800d0c9dad629a0b00fa5b5bd8fcca0afde14fdc2e6a48cb1b4f3b11a10940d386412bafe3b960e4773930982cc45f15895e11b869370884e27477b7b8
DIST VirtualBox-4.3.20-96996-Linux_x86.run 85001676 SHA256 cd11e4db474924d25004c38455c0114d43f7826590eb85057ecf4cc89e591099 SHA512 22ec8f09d03a57c9d72d2774078321de365c4b4a112b82f6cd3818130937c74373d23cc7755d50b94ee6ab73650d8c237b2a43c25a9e0718c772de7c23075d91 WHIRLPOOL 4426456acbb6a5122c45fce26d9019b01a5d74c2c035201b941a5a79105c1d41a9fb322ae73a0611512662536a9c931ecfd44ff09314616da9ce61de836fd44a
DIST VirtualBoxSDK-4.2.24-92790.zip 9738032 SHA256 096d9ccf56b221c014e036ebda70f02e4857a12246d9cf58d36ffb6de736b7d6 SHA512 9933d4c494731b245c8d08d50a4194217745623543e879966214ebe3b14ec8d43a510a1eac08135115ec2eea87f9a68b904faa8b5deab8cd8c83a7b06c4d9a11 WHIRLPOOL cd736c06bb1c031d6b40edaa7a5e5c7d79c963dc3f427e8ecf96a61a762f0771203f8fc945321f80af72a092c495bfd17d1f12c1e90973207f765c06fb938e1c
DIST VirtualBoxSDK-4.2.26-95022.zip 9738427 SHA256 997760832e997e9adbf772cbc5c56efb734006d16251148cf39fcb0db3800cd5 SHA512 d22ae20f0bdc0078388dfc9cdc8ce7ff7c682a3e399c45bbf9ebb4c2ae5145ef2833f57adbdf15bbbb7313655d4f3551dd0e0ffc6f32a9aa1606ece7e58b047d WHIRLPOOL 63906988190812dc3a5d5c1e1bf4dd48ed2561e70de371d54fb4415458be6555ebba9cf9fb83207637cae7f6e126f1872b19a496233484a35d6c500f9f265a07
DIST VirtualBox-4.3.24-98716-Linux_amd64.run 85544401 SHA256 fa5d7e6c01e0fd27de3ded341a6bc708ecc65f98005d9d828e9005e33e6a4b27 SHA512 7cb6cab40a6c2fd2a74a52716af8fcc45d78314b56da79866c1d304e2f7a91b4dafbd6940897b18f85bde849a83d577fa529ceac103c603db201c4f376bd5fe1 WHIRLPOOL 72e7af7b22750deab9daed305c02c13b9f6ebff5f24dbb4c6a2189867073ba73ba5462edbb048814882b85cae0d09e549739fd00161bc0d31d0392ce00cb27df
DIST VirtualBox-4.3.24-98716-Linux_x86.run 85032397 SHA256 bbebed09e101888b7f2cb4cb283a9973971d6358028d47cb4d23cdb6914ad592 SHA512 5a7432f854f5b60576f8dc1bdd9d9ee0105a5218f24ab82a39fd1e9d3f1fcf21f798342c113ff0dfa1ebc57e51a35dace01508d4c48b4e82b6108e57e47bbb46 WHIRLPOOL 0e1623ee43cb2bdbffb215042835d25c61fe854dd073e3315dd4bafa760b7491261fc811723cdb04c4980a38aaa4d37fd1f9aac017eb164aba0fe7f4232bb41b
DIST VirtualBoxSDK-4.3.18-96516.zip 11690531 SHA256 5e0c95b626625960aa686d754d7102697f60b37a477ff63c984dce8dcf943b19 SHA512 353d3ce8d8b1decc4b61e3fa0088a041a8f1f5a7042b71e808ab3fd41ef13a8c5ac1596bf7a0a3ddc4b6c1432aca815ded3085cce83552d472c4338c5e4d8661 WHIRLPOOL b3ffc353590fd34851a2f91a8f8a7f9484921c81dde7d87be11168ab2c8c6b2c30f006e5b531b3cde278d8e61c4a6f65739ca1ef0ce3e5cef02acdcac3a53e55
DIST VirtualBoxSDK-4.3.20-96996.zip 11191320 SHA256 19376f46551198f5725703e53867b35c70d4a8a0c1364b738df52c562f9b68ef SHA512 8a141954a4b7befe96a3c6b760da7bcbf0876dee3ae610cfba44d11a32c56b7384a90cd45a90cfbb3d8ad65b7fa63dd8bf04e1e9883d663d5f3269768b6183ae WHIRLPOOL 07ea47822a7cf841187b3f88dda6238355fe1eb008be1368971ee463e0dbeab140ff69406d16d87ab62dbda75e4b585f694c9ed8eb986cad379e1453b2c84c04
DIST VirtualBoxSDK-4.3.24-98716.zip 11190104 SHA256 24c23aa2da2ba361dc94bd8d3d23b7951acaf0be98d68c13f8ca027c4358f09f SHA512 07c5258c8413a8409c52b005c03b57f643fd8178337228d2ca1c96105d44d4c8bd0c777ea90f7634228b52e56e2ad488059b21eff8d13f140f5afa3fdf664148 WHIRLPOOL 692524db2b8e76c387d6c6d78ab2cea8511d001a392041a052ba670a15ab2bc9ad898be7c83ae1099c38b068045a4b8482b336dabbdb0fa86761023eb3f44438

@ -1,340 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-4.2.24.ebuild,v 1.5 2014/09/10 05:33:06 polynomial-c Exp $
EAPI=5
inherit eutils unpacker fdo-mime gnome2 pax-utils udev
MY_PV=${PV/beta/BETA}
MY_PV=${MY_PV/rc/RC}
VBOX_PV=${MY_PV}-92790
SDK_PV=${VBOX_PV}
EXTP_PV=${SDK_PV}
MY_P=VirtualBox-${VBOX_PV}-Linux
EXTP_PN=Oracle_VM_VirtualBox_Extension_Pack
DESCRIPTION="Family of powerful x86 virtualization products for enterprise as well as home use"
HOMEPAGE="http://www.virtualbox.org/"
SRC_URI="amd64? ( http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_amd64.run )
x86? ( http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_x86.run )
sdk? ( http://download.virtualbox.org/virtualbox/${MY_PV}/VirtualBoxSDK-${SDK_PV}.zip )
http://download.virtualbox.org/virtualbox/${MY_PV}/${EXTP_PN}-${EXTP_PV}.vbox-extpack -> ${EXTP_PN}-${EXTP_PV}.tar.gz"
LICENSE="GPL-2 PUEL"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="+additions +chm headless python sdk vboxwebsrv rdesktop-vrdp"
RESTRICT="mirror"
DEPEND="app-arch/unzip"
RDEPEND="!!app-emulation/virtualbox
!app-emulation/virtualbox-additions
~app-emulation/virtualbox-modules-${PV}
!headless? (
x11-libs/libXcursor
media-libs/libsdl[X]
x11-libs/libXrender
x11-libs/libXfixes
media-libs/libpng
x11-libs/libXi
x11-libs/libXrandr
x11-libs/libXinerama
x11-libs/libXft
media-libs/freetype
media-libs/fontconfig
x11-libs/libXext
dev-libs/glib
chm? ( dev-libs/expat )
)
x11-libs/libXt
dev-libs/libxml2
x11-libs/libXau
x11-libs/libX11
x11-libs/libXmu
x11-libs/libSM
x11-libs/libICE
x11-libs/libXdmcp
python? ( dev-lang/python:2.7 )"
S=${WORKDIR}
QA_TEXTRELS_amd64="opt/VirtualBox/VBoxVMM.so"
QA_TEXTRELS_x86="opt/VirtualBox/VBoxGuestPropSvc.so
opt/VirtualBox/VBoxSDL.so
opt/VirtualBox/VBoxDbg.so
opt/VirtualBox/VBoxSharedFolders.so
opt/VirtualBox/VBoxDD2.so
opt/VirtualBox/VBoxOGLrenderspu.so
opt/VirtualBox/VBoxPython.so
opt/VirtualBox/VBoxPython2_7.so
opt/VirtualBox/VBoxDD.so
opt/VirtualBox/VBoxVRDP.so
opt/VirtualBox/VBoxDDU.so
opt/VirtualBox/VBoxREM64.so
opt/VirtualBox/VBoxSharedClipboard.so
opt/VirtualBox/VBoxHeadless.so
opt/VirtualBox/VBoxRT.so
opt/VirtualBox/VRDPAuth.so
opt/VirtualBox/VBoxREM.so
opt/VirtualBox/VBoxSettings.so
opt/VirtualBox/VBoxKeyboard.so
opt/VirtualBox/VBoxSharedCrOpenGL.so
opt/VirtualBox/VBoxVMM.so
opt/VirtualBox/VirtualBox.so
opt/VirtualBox/VBoxOGLhosterrorspu.so
opt/VirtualBox/components/VBoxC.so
opt/VirtualBox/components/VBoxSVCM.so
opt/VirtualBox/VBoxREM32.so
opt/VirtualBox/VBoxXPCOMC.so
opt/VirtualBox/VBoxOGLhostcrutil.so
opt/VirtualBox/VBoxNetDHCP.so
opt/VirtualBox/VBoxGuestControlSvc.so"
QA_PRESTRIPPED="opt/VirtualBox/VBoxDD.so
opt/VirtualBox/VBoxDD2.so
opt/VirtualBox/VBoxDDU.so
opt/VirtualBox/VBoxDbg.so
opt/VirtualBox/VBoxGuestControlSvc.so
opt/VirtualBox/VBoxGuestPropSvc.so
opt/VirtualBox/VBoxHeadless
opt/VirtualBox/VBoxHeadless.so
opt/VirtualBox/VBoxKeyboard.so
opt/VirtualBox/VBoxManage
opt/VirtualBox/VBoxNetAdpCtl
opt/VirtualBox/VBoxNetDHCP
opt/VirtualBox/VBoxNetDHCP.so
opt/VirtualBox/VBoxOGLhostcrutil.so
opt/VirtualBox/VBoxOGLhosterrorspu.so
opt/VirtualBox/VBoxOGLrenderspu.so
opt/VirtualBox/VBoxPython.so
opt/VirtualBox/VBoxPython2_7.so
opt/VirtualBox/VBoxREM.so
opt/VirtualBox/VBoxREM32.so
opt/VirtualBox/VBoxREM64.so
opt/VirtualBox/VBoxRT.so
opt/VirtualBox/VBoxSDL
opt/VirtualBox/VBoxSDL.so
opt/VirtualBox/VBoxSVC
opt/VirtualBox/VBoxSettings.so
opt/VirtualBox/VBoxSharedClipboard.so
opt/VirtualBox/VBoxSharedCrOpenGL.so
opt/VirtualBox/VBoxSharedFolders.so
opt/VirtualBox/VBoxTestOGL
opt/VirtualBox/VBoxTunctl
opt/VirtualBox/VBoxVMM.so
opt/VirtualBox/VBoxVRDP.so
opt/VirtualBox/VBoxXPCOM.so
opt/VirtualBox/VBoxXPCOMC.so
opt/VirtualBox/VBoxXPCOMIPCD
opt/VirtualBox/VRDPAuth.so
opt/VirtualBox/VirtualBox
opt/VirtualBox/VirtualBox.so
opt/VirtualBox/accessible/libqtaccessiblewidgets.so
opt/VirtualBox/components/VBoxC.so
opt/VirtualBox/components/VBoxSVCM.so
opt/VirtualBox/components/VBoxXPCOMIPCC.so
opt/VirtualBox/kchmviewer
opt/VirtualBox/libQtCoreVBox.so.4
opt/VirtualBox/libQtGuiVBox.so.4
opt/VirtualBox/libQtNetworkVBox.so.4
opt/VirtualBox/libQtOpenGLVBox.so.4
opt/VirtualBox/vboxwebsrv"
PYTHON_UPDATER_IGNORE="1"
src_unpack() {
unpack_makeself ${MY_P}_${ARCH}.run
unpack ./VirtualBox.tar.bz2
mkdir "${S}"/${EXTP_PN} || die
pushd "${S}"/${EXTP_PN} &>/dev/null || die
unpack ${EXTP_PN}-${EXTP_PV}.tar.gz
popd &>/dev/null || die
if use sdk; then
unpack VirtualBoxSDK-${SDK_PV}.zip
fi
}
src_configure() {
:;
}
src_compile() {
:;
}
src_install() {
# create virtualbox configurations files
insinto /etc/vbox
newins "${FILESDIR}/${PN}-config" vbox.cfg
if ! use headless ; then
pushd "${S}"/icons &>/dev/null || die
for size in * ; do
if [ -f "${size}/virtualbox.png" ] ; then
insinto "/usr/share/icons/hicolor/${size}/apps"
newins "${size}/virtualbox.png" ${PN}.png
fi
done
dodir /usr/share/pixmaps
cp "48x48/virtualbox.png" "${D}/usr/share/pixmaps/${PN}.png" \
|| die
popd &>/dev/null || die
newmenu "${FILESDIR}"/${PN}.desktop-2 ${PN}.desktop
fi
pushd "${S}"/${EXTP_PN} &>/dev/null || die
insinto /opt/VirtualBox/ExtensionPacks/${EXTP_PN}
doins -r linux.${ARCH}
doins ExtPack* PXE-Intel.rom
popd &>/dev/null || die
rm -rf "${S}"/${EXTP_PN}
insinto /opt/VirtualBox
dodir /opt/bin
doins UserManual.pdf
if use sdk ; then
doins -r sdk
fi
if use additions; then
doins -r additions
fi
if use vboxwebsrv; then
doins vboxwebsrv
fowners root:vboxusers /opt/VirtualBox/vboxwebsrv
fperms 0750 /opt/VirtualBox/vboxwebsrv
dosym /opt/VirtualBox/VBox.sh /opt/bin/vboxwebsrv
newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
fi
if use rdesktop-vrdp; then
doins rdesktop-vrdp
doins -r rdesktop-vrdp-keymaps
fperms 0750 /opt/VirtualBox/rdesktop-vrdp
dosym /opt/VirtualBox/rdesktop-vrdp /opt/bin/rdesktop-vrdp
fi
if ! use headless && use chm; then
doins kchmviewer VirtualBox.chm
fowners root:vboxusers /opt/VirtualBox/kchmviewer
fperms 0750 /opt/VirtualBox/kchmviewer
fi
if use python ; then
local pyslot
for pyslot in 2.7 ; do
if has_version "dev-lang/python:${pyslot}" && [ -f "${S}/VBoxPython${pyslot/./_}.so" ] ; then
doins VBoxPython${pyslot/./_}.so
fi
done
fi
rm -rf src rdesktop* deffiles install* routines.sh runlevel.sh \
vboxdrv.sh VBox.sh VBox.png vboxnet.sh additions VirtualBox.desktop \
VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \
webtest kchmviewer VirtualBox.chm vbox-create-usb-node.sh \
90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py \
VBoxPython?_*.so
if use headless ; then
rm -rf VBoxSDL VirtualBox VBoxKeyboard.so
fi
doins -r * || die
# create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
dosym /opt/VirtualBox/VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
dosym /opt/VirtualBox/VBoxREM.so /opt/VirtualBox/components/VBoxREM.so
dosym /opt/VirtualBox/VBoxRT.so /opt/VirtualBox/components/VBoxRT.so
dosym /opt/VirtualBox/VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so
dosym /opt/VirtualBox/VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
local each
for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,TestOGL,ExtPackHelperApp}; do
fowners root:vboxusers /opt/VirtualBox/${each}
fperms 0750 /opt/VirtualBox/${each}
pax-mark -m "${D}"/opt/VirtualBox/${each}
done
# VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
fperms 4750 /opt/VirtualBox/VBoxNetAdpCtl
fperms 4750 /opt/VirtualBox/VBoxNetDHCP
if ! use headless ; then
# Hardened build: Mark selected binaries set-user-ID-on-execution
for each in VBox{SDL,Headless} VirtualBox; do
fowners root:vboxusers /opt/VirtualBox/${each}
fperms 4510 /opt/VirtualBox/${each}
pax-mark -m "${D}"/opt/VirtualBox/${each}
done
dosym /opt/VirtualBox/VBox.sh /opt/bin/VirtualBox
dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxSDL
else
# Hardened build: Mark selected binaries set-user-ID-on-execution
fowners root:vboxusers /opt/VirtualBox/VBoxHeadless
fperms 4510 /opt/VirtualBox/VBoxHeadless
pax-mark -m "${D}"/opt/VirtualBox/VBoxHeadless
fi
exeinto /opt/VirtualBox
newexe "${FILESDIR}/${PN}-3-wrapper" "VBox.sh"
fowners root:vboxusers /opt/VirtualBox/VBox.sh
fperms 0750 /opt/VirtualBox/VBox.sh
dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxManage
dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxVRDP
dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxHeadless
dosym /opt/VirtualBox/VBoxTunctl /opt/bin/VBoxTunctl
# set an env-variable for 3rd party tools
echo -n "VBOX_APP_HOME=/opt/VirtualBox" > "${T}/90virtualbox"
doenvd "${T}/90virtualbox"
local udevdir="$(get_udevdir)"
insinto ${udevdir}/rules.d
doins "${FILESDIR}"/10-virtualbox.rules
sed "s@%UDEVDIR%@${udevdir}@" \
-i "${D}"${udevdir}/rules.d/10-virtualbox.rules || die
# move udev scripts into ${udevdir} (bug #372491)
mv "${D}"/opt/VirtualBox/VBoxCreateUSBNode.sh "${D}"${udevdir} || die
fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
}
pkg_postinst() {
fdo-mime_desktop_database_update
gnome2_icon_cache_update
udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
elog ""
if ! use headless ; then
elog "To launch VirtualBox just type: \"VirtualBox\""
elog ""
fi
elog "You must be in the vboxusers group to use VirtualBox."
elog ""
elog "For advanced networking setups you should emerge:"
elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
elog ""
elog "Please visit http://www.virtualbox.org/wiki/Editions for"
elog "an overview about the different features of ${PN}"
elog "and virtualbox-ose"
if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
elog ""
elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
elog "or else USB in ${PN} won't work."
fi
}
pkg_postrm() {
fdo-mime_desktop_database_update
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-4.2.26.95022.ebuild,v 1.3 2014/09/10 05:33:06 polynomial-c Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-4.3.24.98716.ebuild,v 1.1 2015/03/04 07:06:57 polynomial-c Exp $
EAPI=5
@ -274,7 +274,7 @@ src_install() {
dosym /opt/VirtualBox/VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
local each
for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,TestOGL,ExtPackHelperApp}; do
for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,NetNAT,TestOGL,ExtPackHelperApp}; do
fowners root:vboxusers /opt/VirtualBox/${each}
fperms 0750 /opt/VirtualBox/${each}
pax-mark -m "${D}"/opt/VirtualBox/${each}
@ -282,6 +282,7 @@ src_install() {
# VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
fperms 4750 /opt/VirtualBox/VBoxNetAdpCtl
fperms 4750 /opt/VirtualBox/VBoxNetDHCP
fperms 4750 /opt/VirtualBox/VBoxNetNAT
if ! use headless ; then
# Hardened build: Mark selected binaries set-user-ID-on-execution

@ -1,4 +1,3 @@
DIST Oracle_VM_VirtualBox_Extension_Pack-4.2.24-92790.tar.gz 12404740 SHA256 f58099d2b1d4829d359799025765e097ec0155df0683c009794d867d9720ef3e SHA512 d2cc9dacb8704afab4b2ae114d95bc7963f83c52d6b6fa41f54c50971404ef44162465102f3299fa475e0a91f6b4d24d032182176c960d8a60d60cb8d3dd4d11 WHIRLPOOL 273887d34f664b3df233ee0fcb27c502c6e100e4b48fc956a63d2da978b12ba54f2d3a925bbc60ae1142f2bc01a25b62e7e958779eb3566290511b868972367c
DIST Oracle_VM_VirtualBox_Extension_Pack-4.2.26-95022.tar.gz 12434839 SHA256 561b9f28e5caca5ae2f65033ad8cbb1b5fd5a11131d56ce2aa8a892b90922989 SHA512 49f6cd0c6b036fcd598ac758930c7cb94222066740f02e896db121e432cd7090ba789f158f05d45f11af1efdfb4eafd820746b9e1bae0689c82c76b4e2cd2e86 WHIRLPOOL 21fd3823137e52be718f91d46a82f34e9512264d2e472b862151a6b54206bd0e42f752fa74dfd323b8ec4d4b560169f43ecd356697d6803ce498d00fd7c26cfa
DIST Oracle_VM_VirtualBox_Extension_Pack-4.3.18-96516.tar.gz 15793634 SHA256 9c98f8256935492e6e45f7998e1c0e2fd859d87b24123d35ea0065fd0fd62d60 SHA512 ae51c0663a3c4ad220a63988463f7b785bf759b886d297fb0aceefa80462b511447a7d2527d2f971fd9030dc252a3e6576910514e0e7c60b3eb7889d97fcd440 WHIRLPOOL 75c0d312d47715e4bdb16643b2700abe617195eb1feb3fde814111c2dc7d77d03017698e49d0c77a99bb2c95211d888f436a0ed6d58a914cd05456a6531d042c
DIST Oracle_VM_VirtualBox_Extension_Pack-4.3.20-96996.tar.gz 15945984 SHA256 7e1253f7013e9cdc84a614a0db38b40de7bbd330cb5b85bd3ef3de213773450d SHA512 cb8fff9c4d82c5dc2cec42c95f9e87004cd89dc51bea015384bc3f633c8a09fb034f78c78c7f7c8f9b3684bfb6d92851eefcac618f204b411fa0b8de347906c2 WHIRLPOOL effd71f667913fba3c6f2c88ed73ad8ce009bc732b78d5d6c79dcdec5f9c14eee98d144046bb7ecaf2d6fd0766ac7c403131ceb44b204e2401fe4a503c2183c0
DIST Oracle_VM_VirtualBox_Extension_Pack-4.3.24-98716.tar.gz 15946289 SHA256 c6b61774e323b70da0d4f5677ef56f1c53990eccef859d3c720d814f98a01f8d SHA512 9d30e850e33f3e247e6e1e14eb8636f78cb32a141b623d1168f4daf1141f8602a2dbdeebea91118ccaeafedbf710ed0f125a08752871e934371c7965082d1924 WHIRLPOOL e99699ea7cbcfa2f0c4dab9b63fab2981a5725041cbf4d9072aaabbbbbb9e4abafb8383374639b6992e5917c6df7b420a6cc0f92214bd1b9fa866978f05c4f64

@ -1,35 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-4.2.24.ebuild,v 1.3 2014/06/08 09:44:22 ago Exp $
EAPI=5
inherit eutils multilib
MY_BUILD="92790"
MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
MY_PV="${PV/beta/BETA}"
MY_PV="${MY_PV/rc/RC}"
MY_P="${MY_PN}-${MY_PV}-${MY_BUILD}"
DESCRIPTION="PUEL extensions for VirtualBox"
HOMEPAGE="http://www.virtualbox.org/"
SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.vbox-extpack -> ${MY_P}.tar.gz"
LICENSE="PUEL"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RESTRICT="mirror strip"
RDEPEND="~app-emulation/virtualbox-${PV}"
S="${WORKDIR}"
QA_PREBUILT="/usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}/.*"
src_install() {
insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}
doins -r linux.${ARCH}
doins ExtPack* PXE-Intel.rom
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-4.2.26.95022.ebuild,v 1.2 2014/10/08 20:32:59 polynomial-c Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-4.3.24.98716.ebuild,v 1.1 2015/03/04 07:08:14 polynomial-c Exp $
EAPI=5

@ -1,4 +1,3 @@
DIST VirtualBox-4.2.24.tar.bz2 77067941 SHA256 6ae695a84f722e1a9fbf1fa5e89d2c05239f058a6a20f04a708d47d7f2081b9d SHA512 df75324e43c6781af41caccad7718ce71cae293f3deec907785678bf7769810df70a57f61a83f593c1766bcedde1209f8e1698bb5aaf0681fc3f51a2e80037c4 WHIRLPOOL 5f546b35a5bb0431ff3c3d585ab46f59630dce6e08a31a69663700ba05692ff89f7b6d019aff416fae4f4a546c3fb5b1ed29db7af4918afe48981c45c82be4de
DIST VirtualBox-4.2.26.tar.bz2 77724304 SHA256 7fa840edd5c0e691936c14fcf49d50f4654fd63e2b71510232c226dda863b270 SHA512 c2a0c201e677a23702865256b80af2118b067356313939b1d3af3bf8f42746c2eaf04ab3d7ece8a3d98b2be67c1d3d2b2b34d4debbe2fc667e375391f2510b51 WHIRLPOOL 495cd625e1641e630ef826ca6d287d462af681b699205af7095b04bc96e381af728beb0c265fac609830955208c1c17265469c3450e495e077146a0545c20694
DIST VirtualBox-4.3.18.tar.bz2 98022191 SHA256 9798acbc78b2645f2a02446ef6be181ede1a377792007af2a3280c962edc24cb SHA512 d19933f9869b2fe6ed121896b49da0f82451954ff9ee3b53d6d3374a1bd178049d1528df78100187e2fc1d36518c924f19cf12bd3d1718c98a5771e2112ee5d3 WHIRLPOOL eeaf2f8d72e2d02792f5b58fa21297c80d58f5fd66801c04721bf24780600e5643b2446d6a6115625e8922565c8197b8b67e7384a2138509dddd7b2fa32a95be
DIST VirtualBox-4.3.20.tar.bz2 100184338 SHA256 1484f8e9993ec4fe3892c5165db84d238713d2506e147ed8236541ece642e965 SHA512 5398bcd03eb8987978682dfe84512bfa2935e7d50164e22abf3f8f424fc24a29d4aea486399da01d9895eca4ad07a1f15ca6f5880aff3a255700519fe0f19dc5 WHIRLPOOL 9e7419d4958bb307ca7232c7e8d3935ed43687bec1e1b881a22fe44987cd0bc66e927922a0e8ac78457567b22300ecc76ca0f40e71bcbcf0b75b07c1e86c0cfd
DIST VirtualBox-4.3.24.tar.bz2 102647661 SHA256 e2123c9b6100fdd52a9b436fe29aa7215fce17c26904583977c1160b11b170cc SHA512 e9a5be9f95c83b832bdecf0f56c01e4e16574455b8583d20d2ce26bf771747d5139fec4117706316b89862771fbe3d21a3c124fcd7cc2d04338de1b08b2c34f0 WHIRLPOOL c7ca87f3b2dd0d44beb154ce9753620cc60ea5a10f9b2afa1dbc50cefa223f239d116977f08520e53d57a51e7e5d72de2db6589bd7548ad74b32bf8ba6b71e84

@ -1,208 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.2.24.ebuild,v 1.3 2014/06/08 09:44:25 ago Exp $
EAPI=5
inherit eutils linux-mod systemd user
MY_PV="${PV/beta/BETA}"
MY_PV="${PV/rc/RC}"
MY_P=VirtualBox-${MY_PV}
DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
HOMEPAGE="http://www.virtualbox.org/"
SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="X"
RDEPEND="X? ( ~x11-drivers/xf86-video-virtualbox-${PV}
x11-apps/xrandr
x11-apps/xrefresh
x11-libs/libXmu
x11-libs/libX11
x11-libs/libXt
x11-libs/libXext
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libSM
x11-libs/libICE
x11-proto/glproto )
sys-apps/dbus
!!x11-drivers/xf86-input-virtualbox"
DEPEND="${RDEPEND}
>=dev-util/kbuild-0.1.9998_pre20120806
>=dev-lang/yasm-0.6.2
sys-devel/bin86
sys-libs/pam
sys-power/iasl
X? ( x11-proto/renderproto )
!X? ( x11-proto/xproto )"
BUILD_TARGETS="all"
BUILD_TARGET_ARCH="${ARCH}"
MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
linux-mod_pkg_setup
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
enewgroup vboxguest
enewuser vboxguest -1 /bin/sh /dev/null vboxguest
# automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist
enewgroup vboxsf
}
src_unpack() {
unpack ${A}
# Create and unpack a tarball with the sources of the Linux guest
# kernel modules, to include all the needed files
"${S}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz"
unpack ./vbox-kmod.tar.gz
# Remove shipped binaries (kBuild,yasm), see bug #232775
cd "${S}"
rm -rf kBuild/bin tools
}
src_prepare() {
# PaX fixes (see bug #298988)
pushd "${WORKDIR}" &>/dev/null || die
epatch "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch
popd &>/dev/null || die
# Disable things unused or splitted into separate ebuilds
cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk
# stupid new header references...
for vboxheader in {product,revision}-generated.h ; do
for mdir in vbox{guest,sf} ; do
ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
"${WORKDIR}/${mdir}/${vboxheader}"
done
done
}
src_configure() {
# build the user-space tools, warnings are harmless
./configure --nofatal \
--disable-xpcom \
--disable-sdl-ttf \
--disable-pulse \
--disable-alsa \
--build-headless || die "configure failed"
}
src_compile() {
source ./env.sh
for each in /src/VBox/{Runtime,Additions/common} \
/src/VBox/Additions/linux/{sharedfolders,daemon} ; do
cd "${S}"${each}
MAKE="kmk" emake TOOL_YASM_AS=yasm \
KBUILD_PATH="${S}/kBuild" \
KBUILD_VERBOSE=2
done
if use X; then
cd "${S}"/src/VBox/Additions/x11/VBoxClient
MAKE="kmk" emake TOOL_YASM_AS=yasm \
KBUILD_PATH="${S}/kBuild"
fi
# Now creating the kernel modules. We must do this _after_
# we compiled the user-space tools as we need two of the
# automatically generated header files. (>=3.2.0)
linux-mod_src_compile
}
src_install() {
linux-mod_src_install
cd "${S}"/out/linux.${ARCH}/release/bin/additions
insinto /sbin
newins mount.vboxsf mount.vboxsf
fperms 4755 /sbin/mount.vboxsf
newinitd "${FILESDIR}"/${PN}-8.initd ${PN}
insinto /usr/sbin/
newins VBoxService vboxguest-service
fperms 0755 /usr/sbin/vboxguest-service
insinto /usr/bin
doins VBoxControl
fperms 0755 /usr/bin/VBoxControl
# VBoxClient user service and xrandr wrapper
if use X; then
doins VBoxClient
fperms 0755 /usr/bin/VBoxClient
cd "${S}"/src/VBox/Additions/x11/Installer
newins 98vboxadd-xclient VBoxClient-all
fperms 0755 /usr/bin/VBoxClient-all
fi
# udev rule for vboxdrv
dodir /lib/udev/rules.d
echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
>> "${D}/lib/udev/rules.d/60-virtualbox-guest-additions.rules" \
|| die
echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
>> "${D}/lib/udev/rules.d/60-virtualbox-guest-additions.rules" \
|| die
# VBoxClient autostart file
insinto /etc/xdg/autostart
doins "${FILESDIR}"/vboxclient.desktop
# sample xorg.conf
insinto /usr/share/doc/${PF}
doins "${FILESDIR}"/xorg.conf.vbox
systemd_dounit "${FILESDIR}/${PN}.service"
}
pkg_postinst() {
linux-mod_pkg_postinst
if ! use X ; then
elog "use flag X is off, enable it to install the"
elog "X Window System video driver."
fi
elog ""
elog "Please add users to the \"vboxguest\" group so they can"
elog "benefit from seamless mode, auto-resize and clipboard."
elog ""
elog "The vboxsf group has been added to make automount services work."
elog "These services are part of the shared folders support."
elog ""
elog "Please add:"
elog "/etc/init.d/${PN}"
elog "to the default runlevel in order to start"
elog "needed services."
elog "To use the VirtualBox X driver, use the following"
elog "file as your /etc/X11/xorg.conf:"
elog " /usr/share/doc/${PF}/xorg.conf.vbox"
elog ""
elog "Also make sure you use the Mesa library for OpenGL:"
elog " eselect opengl set xorg-x11"
elog ""
elog "An autostart .desktop file has been installed to start"
elog "VBoxClient in desktop sessions."
elog ""
elog "You can mount shared folders with:"
elog " mount -t vboxsf <shared_folder_name> <mount_point>"
elog ""
elog "Warning:"
elog "this ebuild is only needed if you are running gentoo"
elog "inside a VirtualBox Virtual Machine, you don't need"
elog "it to run VirtualBox itself."
elog ""
}

@ -1,208 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.2.26.ebuild,v 1.1 2014/07/18 13:53:13 polynomial-c Exp $
EAPI=5
inherit eutils linux-mod systemd user
MY_PV="${PV/beta/BETA}"
MY_PV="${PV/rc/RC}"
MY_P=VirtualBox-${MY_PV}
DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
HOMEPAGE="http://www.virtualbox.org/"
SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="X"
RDEPEND="X? ( ~x11-drivers/xf86-video-virtualbox-${PV}
x11-apps/xrandr
x11-apps/xrefresh
x11-libs/libXmu
x11-libs/libX11
x11-libs/libXt
x11-libs/libXext
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libSM
x11-libs/libICE
x11-proto/glproto )
sys-apps/dbus
!!x11-drivers/xf86-input-virtualbox"
DEPEND="${RDEPEND}
>=dev-util/kbuild-0.1.9998_pre20120806
>=dev-lang/yasm-0.6.2
sys-devel/bin86
sys-libs/pam
sys-power/iasl
X? ( x11-proto/renderproto )
!X? ( x11-proto/xproto )"
BUILD_TARGETS="all"
BUILD_TARGET_ARCH="${ARCH}"
MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
linux-mod_pkg_setup
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
enewgroup vboxguest
enewuser vboxguest -1 /bin/sh /dev/null vboxguest
# automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist
enewgroup vboxsf
}
src_unpack() {
unpack ${A}
# Create and unpack a tarball with the sources of the Linux guest
# kernel modules, to include all the needed files
"${S}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz"
unpack ./vbox-kmod.tar.gz
# Remove shipped binaries (kBuild,yasm), see bug #232775
cd "${S}"
rm -rf kBuild/bin tools
}
src_prepare() {
# PaX fixes (see bug #298988)
pushd "${WORKDIR}" &>/dev/null || die
epatch "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch
popd &>/dev/null || die
# Disable things unused or splitted into separate ebuilds
cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk
# stupid new header references...
for vboxheader in {product,revision}-generated.h ; do
for mdir in vbox{guest,sf} ; do
ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
"${WORKDIR}/${mdir}/${vboxheader}"
done
done
}
src_configure() {
# build the user-space tools, warnings are harmless
./configure --nofatal \
--disable-xpcom \
--disable-sdl-ttf \
--disable-pulse \
--disable-alsa \
--build-headless || die "configure failed"
}
src_compile() {
source ./env.sh
for each in /src/VBox/{Runtime,Additions/common} \
/src/VBox/Additions/linux/{sharedfolders,daemon} ; do
cd "${S}"${each}
MAKE="kmk" emake TOOL_YASM_AS=yasm \
KBUILD_PATH="${S}/kBuild" \
KBUILD_VERBOSE=2
done
if use X; then
cd "${S}"/src/VBox/Additions/x11/VBoxClient
MAKE="kmk" emake TOOL_YASM_AS=yasm \
KBUILD_PATH="${S}/kBuild"
fi
# Now creating the kernel modules. We must do this _after_
# we compiled the user-space tools as we need two of the
# automatically generated header files. (>=3.2.0)
linux-mod_src_compile
}
src_install() {
linux-mod_src_install
cd "${S}"/out/linux.${ARCH}/release/bin/additions
insinto /sbin
newins mount.vboxsf mount.vboxsf
fperms 4755 /sbin/mount.vboxsf
newinitd "${FILESDIR}"/${PN}-8.initd ${PN}
insinto /usr/sbin/
newins VBoxService vboxguest-service
fperms 0755 /usr/sbin/vboxguest-service
insinto /usr/bin
doins VBoxControl
fperms 0755 /usr/bin/VBoxControl
# VBoxClient user service and xrandr wrapper
if use X; then
doins VBoxClient
fperms 0755 /usr/bin/VBoxClient
cd "${S}"/src/VBox/Additions/x11/Installer
newins 98vboxadd-xclient VBoxClient-all
fperms 0755 /usr/bin/VBoxClient-all
fi
# udev rule for vboxdrv
dodir /lib/udev/rules.d
echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
>> "${D}/lib/udev/rules.d/60-virtualbox-guest-additions.rules" \
|| die
echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
>> "${D}/lib/udev/rules.d/60-virtualbox-guest-additions.rules" \
|| die
# VBoxClient autostart file
insinto /etc/xdg/autostart
doins "${FILESDIR}"/vboxclient.desktop
# sample xorg.conf
insinto /usr/share/doc/${PF}
doins "${FILESDIR}"/xorg.conf.vbox
systemd_dounit "${FILESDIR}/${PN}.service"
}
pkg_postinst() {
linux-mod_pkg_postinst
if ! use X ; then
elog "use flag X is off, enable it to install the"
elog "X Window System video driver."
fi
elog ""
elog "Please add users to the \"vboxguest\" group so they can"
elog "benefit from seamless mode, auto-resize and clipboard."
elog ""
elog "The vboxsf group has been added to make automount services work."
elog "These services are part of the shared folders support."
elog ""
elog "Please add:"
elog "/etc/init.d/${PN}"
elog "to the default runlevel in order to start"
elog "needed services."
elog "To use the VirtualBox X driver, use the following"
elog "file as your /etc/X11/xorg.conf:"
elog " /usr/share/doc/${PF}/xorg.conf.vbox"
elog ""
elog "Also make sure you use the Mesa library for OpenGL:"
elog " eselect opengl set xorg-x11"
elog ""
elog "An autostart .desktop file has been installed to start"
elog "VBoxClient in desktop sessions."
elog ""
elog "You can mount shared folders with:"
elog " mount -t vboxsf <shared_folder_name> <mount_point>"
elog ""
elog "Warning:"
elog "this ebuild is only needed if you are running gentoo"
elog "inside a VirtualBox Virtual Machine, you don't need"
elog "it to run VirtualBox itself."
elog ""
}

@ -0,0 +1,212 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.3.24.ebuild,v 1.1 2015/03/04 07:11:45 polynomial-c Exp $
EAPI=5
inherit eutils linux-mod systemd user
MY_PV="${PV/beta/BETA}"
MY_PV="${MY_PV/rc/RC}"
MY_P=VirtualBox-${MY_PV}
DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
HOMEPAGE="http://www.virtualbox.org/"
SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="X"
RDEPEND="X? ( ~x11-drivers/xf86-video-virtualbox-${PV}
x11-apps/xrandr
x11-apps/xrefresh
x11-libs/libXmu
x11-libs/libX11
x11-libs/libXt
x11-libs/libXext
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libSM
x11-libs/libICE
x11-proto/glproto )
sys-apps/dbus
!!x11-drivers/xf86-input-virtualbox"
DEPEND="${RDEPEND}
>=dev-util/kbuild-0.1.9998_pre20131130
>=dev-lang/yasm-0.6.2
sys-devel/bin86
sys-libs/pam
sys-power/iasl
X? ( x11-proto/renderproto )
!X? ( x11-proto/xproto )"
BUILD_TARGETS="all"
BUILD_TARGET_ARCH="${ARCH}"
MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
linux-mod_pkg_setup
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
enewgroup vboxguest
enewuser vboxguest -1 /bin/sh /dev/null vboxguest
# automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist
enewgroup vboxsf
}
src_unpack() {
unpack ${A}
# Create and unpack a tarball with the sources of the Linux guest
# kernel modules, to include all the needed files
"${S}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz"
unpack ./vbox-kmod.tar.gz
# Remove shipped binaries (kBuild,yasm), see bug #232775
cd "${S}"
rm -rf kBuild/bin tools
}
src_prepare() {
# PaX fixes (see bug #298988)
pushd "${WORKDIR}" &>/dev/null || die
epatch "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch
popd &>/dev/null || die
# Disable things unused or splitted into separate ebuilds
cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk || die
# stupid new header references...
for vboxheader in {product,revision}-generated.h ; do
for mdir in vbox{guest,sf} ; do
ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
"${WORKDIR}/${mdir}/${vboxheader}"
done
done
}
src_configure() {
# build the user-space tools, warnings are harmless
./configure --nofatal \
--disable-xpcom \
--disable-sdl-ttf \
--disable-pulse \
--disable-alsa \
--build-headless || die "configure failed"
}
src_compile() {
source ./env.sh
for each in /src/VBox/{Runtime,Additions/common} \
/src/VBox/Additions/linux/sharedfolders ; do
cd "${S}"${each} || die
MAKE="kmk" \
emake TOOL_YASM_AS=yasm \
KBUILD_VERBOSE=2
done
if use X; then
cd "${S}"/src/VBox/Additions/x11/VBoxClient || die
MAKE="kmk" \
emake TOOL_YASM_AS=yasm \
KBUILD_PATH="${S}/kBuild"
fi
# Now creating the kernel modules. We must do this _after_
# we compiled the user-space tools as we need two of the
# automatically generated header files. (>=3.2.0)
linux-mod_src_compile
}
src_install() {
linux-mod_src_install
cd "${S}"/out/linux.${ARCH}/release/bin/additions || die
insinto /sbin
newins mount.vboxsf mount.vboxsf
fperms 4755 /sbin/mount.vboxsf
newinitd "${FILESDIR}"/${PN}-8.initd ${PN}
insinto /usr/sbin/
newins VBoxService vboxguest-service
fperms 0755 /usr/sbin/vboxguest-service
insinto /usr/bin
doins VBoxControl
fperms 0755 /usr/bin/VBoxControl
# VBoxClient user service and xrandr wrapper
if use X ; then
doins VBoxClient
fperms 0755 /usr/bin/VBoxClient
pushd "${S}"/src/VBox/Additions/x11/Installer &>/dev/null \
|| die
newins 98vboxadd-xclient VBoxClient-all
fperms 0755 /usr/bin/VBoxClient-all
popd &>/dev/null || die
fi
# udev rule for vboxdrv
local udev_rules_dir="/lib/udev/rules.d"
dodir ${udev_rules_dir}
echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
>> "${D}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
|| die
echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
>> "${D}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
|| die
# VBoxClient autostart file
insinto /etc/xdg/autostart
doins "${FILESDIR}"/vboxclient.desktop
# sample xorg.conf
insinto /usr/share/doc/${PF}
doins "${FILESDIR}"/xorg.conf.vbox
systemd_dounit "${FILESDIR}/${PN}.service"
}
pkg_postinst() {
linux-mod_pkg_postinst
if ! use X ; then
elog "use flag X is off, enable it to install the"
elog "X Window System video driver."
fi
elog ""
elog "Please add users to the \"vboxguest\" group so they can"
elog "benefit from seamless mode, auto-resize and clipboard."
elog ""
elog "The vboxsf group has been added to make automount services work."
elog "These services are part of the shared folders support."
elog ""
elog "Please add:"
elog "/etc/init.d/${PN}"
elog "to the default runlevel in order to start"
elog "needed services."
elog "To use the VirtualBox X driver, use the following"
elog "file as your /etc/X11/xorg.conf:"
elog " /usr/share/doc/${PF}/xorg.conf.vbox"
elog ""
elog "Also make sure you use the Mesa library for OpenGL:"
elog " eselect opengl set xorg-x11"
elog ""
elog "An autostart .desktop file has been installed to start"
elog "VBoxClient in desktop sessions."
elog ""
elog "You can mount shared folders with:"
elog " mount -t vboxsf <shared_folder_name> <mount_point>"
elog ""
elog "Warning:"
elog "this ebuild is only needed if you are running gentoo"
elog "inside a VirtualBox Virtual Machine, you don't need"
elog "it to run VirtualBox itself."
elog ""
}

@ -1,4 +1,3 @@
DIST vbox-kernel-module-src-4.2.24.tar.xz 494432 SHA256 b1fec8e809885104f3d86f4782d858e723aebc75b7bfc94bc0a4416c04759a4d SHA512 2aed47ceda7e0ad0fadb4ca85853a54d1e44ce62a6fe3618be4169915b80ef580ed45b0c73b8c502b0b470b607f3a2bbcbb6c5b261bba900dc0e23b61356adec WHIRLPOOL 960cc8750c5c4aecfd1b425fc82fe5bb58642aceafe61d587bb744a239efea11591a0f25bebd4e31c1e05f5b30a03bb7a96f3aeaeb73c5719725058a4ef7df0e
DIST vbox-kernel-module-src-4.2.26.tar.xz 512708 SHA256 489e78b2ffcd29663c58c6d827c077001ff28347a5ad6d99e6ecbd6afe68d372 SHA512 881b742c11a51a6af41a0aa094f92f07daac635c543166504766b87e9eccbe3bede7983bc94cec67948bce141b1ed9f9a2a39e3fee726df9c9b1c135aec5b89e WHIRLPOOL 47a6eeedf5e19c37cb4b1efa4c79580577e35efaef950813f94429abdd068ad113943dee3e1644708687fe309153ac57ae18e5dfd887d61b873fd01a428db74b
DIST vbox-kernel-module-src-4.3.18.tar.xz 537128 SHA256 88a7b8f42385a2eefcc971a56a347786d046538262871cb7814c9449c03bd5aa SHA512 c02273f4350e3e4ab7c961ab9faef100a26361cb34948df8b2cb37b72c337e6b0c555bbce8051089b250bffb0a422d5dfc9cd801b8d33ea3b2481ce8375150de WHIRLPOOL 35522cee25fcc2e5c5cd74d8a715b0ccccc488e0ccf1a87082c7335fc2dacb02b93be218f38f693b8b3d1b5bfcca2dd1aa31b1a4a732a70df6c5479d5eb2bc30
DIST vbox-kernel-module-src-4.3.20.tar.xz 536840 SHA256 e7413cfcfdb762b597cbaf974c8743e57bb1b3eaf1333c4dc4722074797de69c SHA512 30ab21d677012e37c95aef1b03932e21ffde7f0a4b7d73a55b3a58edbc33da8ae125943aa2e7030474d032b42c76c4fc5b01b8b1ef8d1f820059de1c7568b67c WHIRLPOOL 9b881d9e59883f3ce743f0abf950eeab3066c5df9d2bbd8e90d8758bdfa444f69d58511c5bafae0dc0cd92ddfffa44bc5765776116252d59264a2ccce4fc01ee
DIST vbox-kernel-module-src-4.3.24.tar.xz 538172 SHA256 c1009391ce89678c30fe40abf1b89743531e11c7567efdffadf992c5168d6287 SHA512 43964c403b6a392ef61a50c955eed0386d4d301293a1f03a8dd5ca6df77b6f6a192aafa03dc3630071f44dd5cd75ac7105d8a49e8befc8d75339f6c8eb83298e WHIRLPOOL 1712c6202324f6b96f8b925f50dcd1ffbb00ae3f4fb4486b867563e34a266de24339453f1afe69510a3dc4f361115f51cec825e9992ab2f224bc29de957d4f21

@ -1,59 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.2.24.ebuild,v 1.3 2014/06/08 09:44:28 ago Exp $
# XXX: the tarball here is just the kernel modules split out of the binary
# package that comes from virtualbox-bin
EAPI=5
inherit eutils linux-mod user
MY_P=vbox-kernel-module-src-${PV}
DESCRIPTION="Kernel Modules for Virtualbox"
HOMEPAGE="http://www.virtualbox.org/"
SRC_URI="http://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="pax_kernel"
RDEPEND="!=app-emulation/virtualbox-9999"
S=${WORKDIR}
BUILD_TARGETS="all"
BUILD_TARGET_ARCH="${ARCH}"
MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})"
pkg_setup() {
linux-mod_pkg_setup
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
enewgroup vboxusers
}
src_prepare() {
if kernel_is -ge 2 6 33 ; then
# evil patch for new kernels - header moved
grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:'
fi
if use pax_kernel && kernel_is -ge 3 0 0 ; then
epatch "${FILESDIR}"/${PN}-4.1.4-pax-const.patch
fi
}
src_install() {
linux-mod_src_install
}
pkg_postinst() {
linux-mod_pkg_postinst
elog "Starting with the 3.x release new kernel modules were added,"
elog "be sure to load all the needed modules."
elog ""
elog "Please add \"vboxdrv\", \"vboxnetflt\" and \"vboxnetadp\" to:"
elog "/etc/conf.d/modules"
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.2.26.ebuild,v 1.1 2014/07/18 13:47:55 polynomial-c Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.3.24.ebuild,v 1.1 2015/03/04 07:05:11 polynomial-c Exp $
# XXX: the tarball here is just the kernel modules split out of the binary
# package that comes from virtualbox-bin
@ -47,13 +47,13 @@ src_prepare() {
src_install() {
linux-mod_src_install
insinto /usr/lib/modules-load.d/
doins "${FILESDIR}"/virtualbox.conf
}
pkg_postinst() {
linux-mod_pkg_postinst
elog "Starting with the 3.x release new kernel modules were added,"
elog "be sure to load all the needed modules."
elog ""
elog "Please add \"vboxdrv\", \"vboxnetflt\" and \"vboxnetadp\" to:"
elog "/etc/conf.d/modules"
elog "If you are using sys-apps/openrc, please add \"vboxdrv\", \"vboxnetflt\""
elog "and \"vboxnetadp\" to:"
elog " /etc/conf.d/modules"
}

@ -1,7 +1,4 @@
DIST VirtualBox-4.2.24.tar.bz2 77067941 SHA256 6ae695a84f722e1a9fbf1fa5e89d2c05239f058a6a20f04a708d47d7f2081b9d SHA512 df75324e43c6781af41caccad7718ce71cae293f3deec907785678bf7769810df70a57f61a83f593c1766bcedde1209f8e1698bb5aaf0681fc3f51a2e80037c4 WHIRLPOOL 5f546b35a5bb0431ff3c3d585ab46f59630dce6e08a31a69663700ba05692ff89f7b6d019aff416fae4f4a546c3fb5b1ed29db7af4918afe48981c45c82be4de
DIST VirtualBox-4.2.26.tar.bz2 77724304 SHA256 7fa840edd5c0e691936c14fcf49d50f4654fd63e2b71510232c226dda863b270 SHA512 c2a0c201e677a23702865256b80af2118b067356313939b1d3af3bf8f42746c2eaf04ab3d7ece8a3d98b2be67c1d3d2b2b34d4debbe2fc667e375391f2510b51 WHIRLPOOL 495cd625e1641e630ef826ca6d287d462af681b699205af7095b04bc96e381af728beb0c265fac609830955208c1c17265469c3450e495e077146a0545c20694
DIST VirtualBox-4.3.18.tar.bz2 98022191 SHA256 9798acbc78b2645f2a02446ef6be181ede1a377792007af2a3280c962edc24cb SHA512 d19933f9869b2fe6ed121896b49da0f82451954ff9ee3b53d6d3374a1bd178049d1528df78100187e2fc1d36518c924f19cf12bd3d1718c98a5771e2112ee5d3 WHIRLPOOL eeaf2f8d72e2d02792f5b58fa21297c80d58f5fd66801c04721bf24780600e5643b2446d6a6115625e8922565c8197b8b67e7384a2138509dddd7b2fa32a95be
DIST VirtualBox-4.3.20.tar.bz2 100184338 SHA256 1484f8e9993ec4fe3892c5165db84d238713d2506e147ed8236541ece642e965 SHA512 5398bcd03eb8987978682dfe84512bfa2935e7d50164e22abf3f8f424fc24a29d4aea486399da01d9895eca4ad07a1f15ca6f5880aff3a255700519fe0f19dc5 WHIRLPOOL 9e7419d4958bb307ca7232c7e8d3935ed43687bec1e1b881a22fe44987cd0bc66e927922a0e8ac78457567b22300ecc76ca0f40e71bcbcf0b75b07c1e86c0cfd
DIST virtualbox-4.2.18-patches-01.tar.xz 3788 SHA256 9a147e3a3da7e1e07b70aed67042c822897c7874ccaa3690c9497862373d8222 SHA512 021f8a566ede223ead5a2605bff3917195165c543f760ee7af004ab97d5dcf0771e6ccb62148d7986a34872ea8c35db952286fb8534b1f69804e192701bd8108 WHIRLPOOL 9818df1703636fecfbda1bbeb4d167d845701fe9de2827a97573a26ffb3cb9feaa22ee2849c45d3ea700a9c305185eb404b15572b0f4e666f8a8e6158a48b9eb
DIST virtualbox-4.2.26-patches-01.tar.xz 3804 SHA256 0cccbd963ae77e85e8c7bc1a5ec73f8eec0dfcbba30e8b85281c3adeb849e66f SHA512 7b5de7efe0087ee6148201ad7bb987a95cdf4e1a0625ed2f368fcbf1080505e8904f67be69aedbcc5469348f62351b6b913aae438f2ea8868f2b07a7a42d3538 WHIRLPOOL 99b981c05f877750bd5bbdb1ec9098ad8bb07805fa6ddaa81a8309def3ec40189b6b947115d5ea86cc8d887ac2cca64f3d13257ea6f872e8a0974c7da20c3e7d
DIST VirtualBox-4.3.24.tar.bz2 102647661 SHA256 e2123c9b6100fdd52a9b436fe29aa7215fce17c26904583977c1160b11b170cc SHA512 e9a5be9f95c83b832bdecf0f56c01e4e16574455b8583d20d2ce26bf771747d5139fec4117706316b89862771fbe3d21a3c124fcd7cc2d04338de1b08b2c34f0 WHIRLPOOL c7ca87f3b2dd0d44beb154ce9753620cc60ea5a10f9b2afa1dbc50cefa223f239d116977f08520e53d57a51e7e5d72de2db6589bd7548ad74b32bf8ba6b71e84
DIST virtualbox-4.3.16-patches-01.tar.xz 4288 SHA256 270c4f01b2c13c4133987b3acc073dfbf78840212cf09f083dbf8fc80407ce6f SHA512 595f88c4b388b4807347c15c1750ec73aceba1c82ad993e9a05c7b78dfece7b679aff0338b3a48e2ccee7911fb5ed0dba803052332a270230078551f747052bc WHIRLPOOL 2157ee3fb9beed906cff28647c869e37d62551ad8c93801c0f0ec6893675f11786aa6d92acf11c348d30aa58b6e03a3faa879c664dddac6e5b8525035986c9ca

@ -1,398 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.2.24.ebuild,v 1.5 2014/07/30 19:25:45 ssuominen Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit eutils fdo-mime flag-o-matic java-pkg-opt-2 linux-info multilib pax-utils python-single-r1 qt4-r2 toolchain-funcs udev
MY_PV="${PV/beta/BETA}"
MY_PV="${MY_PV/rc/RC}"
MY_P=VirtualBox-${MY_PV}
SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
http://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-4.2.18-patches-01.tar.xz"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="Family of powerful x86 virtualization products for enterprise as well as home use"
HOMEPAGE="http://www.virtualbox.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="+additions alsa doc extensions headless java pam pulseaudio +opengl python +qt4 +sdk vboxwebsrv vnc"
RDEPEND="!app-emulation/virtualbox-bin
~app-emulation/virtualbox-modules-${PV}
dev-libs/libIDL
>=dev-libs/libxslt-1.1.19
net-misc/curl
dev-libs/openssl
dev-libs/libxml2
media-libs/libpng
sys-libs/zlib
>=virtual/udev-171
!headless? (
qt4? (
dev-qt/qtgui:4
dev-qt/qtcore:4
opengl? ( dev-qt/qtopengl:4 )
x11-libs/libXinerama
)
opengl? ( virtual/opengl media-libs/freeglut )
x11-libs/libX11
x11-libs/libXcursor
x11-libs/libXext
x11-libs/libXmu
x11-libs/libXt
media-libs/libsdl:0[X,video]
)
vnc? ( >=net-libs/libvncserver-0.9.9 )
java? ( || ( virtual/jre:1.7 virtual/jre:1.6 ) )"
DEPEND="${RDEPEND}
>=dev-util/kbuild-0.1.9998_pre20120806
>=dev-lang/yasm-0.6.2
sys-devel/bin86
sys-power/iasl
pam? ( sys-libs/pam )
sys-libs/libcap
doc? (
dev-texlive/texlive-basic
dev-texlive/texlive-latex
dev-texlive/texlive-latexrecommended
dev-texlive/texlive-latexextra
dev-texlive/texlive-fontsrecommended
dev-texlive/texlive-fontsextra
)
java? ( || ( virtual/jdk:1.7 virtual/jdk:1.6 ) )
virtual/pkgconfig
alsa? ( >=media-libs/alsa-lib-1.0.13 )
!headless? ( x11-libs/libXinerama )
pulseaudio? ( media-sound/pulseaudio )
vboxwebsrv? ( <net-libs/gsoap-2.8.13 )
${PYTHON_DEPS}"
PDEPEND="additions? ( ~app-emulation/virtualbox-additions-${PV} )
extensions? ( ~app-emulation/virtualbox-extpack-oracle-${PV} )"
QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
usr/lib/virtualbox/VBoxSDL.so
usr/lib/virtualbox/VBoxSharedFolders.so
usr/lib/virtualbox/VBoxDD2.so
usr/lib/virtualbox/VBoxOGLrenderspu.so
usr/lib/virtualbox/VBoxPython.so
usr/lib/virtualbox/VBoxDD.so
usr/lib/virtualbox/VBoxDDU.so
usr/lib/virtualbox/VBoxREM64.so
usr/lib/virtualbox/VBoxSharedClipboard.so
usr/lib/virtualbox/VBoxHeadless.so
usr/lib/virtualbox/VBoxRT.so
usr/lib/virtualbox/VBoxREM.so
usr/lib/virtualbox/VBoxSettings.so
usr/lib/virtualbox/VBoxKeyboard.so
usr/lib/virtualbox/VBoxSharedCrOpenGL.so
usr/lib/virtualbox/VBoxVMM.so
usr/lib/virtualbox/VirtualBox.so
usr/lib/virtualbox/VBoxOGLhosterrorspu.so
usr/lib/virtualbox/components/VBoxC.so
usr/lib/virtualbox/components/VBoxSVCM.so
usr/lib/virtualbox/components/VBoxDDU.so
usr/lib/virtualbox/components/VBoxRT.so
usr/lib/virtualbox/components/VBoxREM.so
usr/lib/virtualbox/components/VBoxVMM.so
usr/lib/virtualbox/VBoxREM32.so
usr/lib/virtualbox/VBoxPython2_4.so
usr/lib/virtualbox/VBoxPython2_5.so
usr/lib/virtualbox/VBoxPython2_6.so
usr/lib/virtualbox/VBoxPython2_7.so
usr/lib/virtualbox/VBoxXPCOMC.so
usr/lib/virtualbox/VBoxOGLhostcrutil.so
usr/lib/virtualbox/VBoxNetDHCP.so"
REQUIRED_USE="
java? ( sdk )
python? (
( sdk )
)
vboxwebsrv? ( java )
${PYTHON_REQUIRED_USE}
"
pkg_setup() {
if ! use headless && ! use qt4 ; then
einfo "No USE=\"qt4\" selected, this build will not include"
einfo "any Qt frontend."
elif use headless && use qt4 ; then
einfo "You selected USE=\"headless qt4\", defaulting to"
einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
fi
if ! use opengl ; then
einfo "No USE=\"opengl\" selected, this build will lack"
einfo "the OpenGL feature."
fi
if ! use python ; then
einfo "You have disabled the \"python\" USE flag. This will only"
einfo "disable the python bindings being installed."
fi
java-pkg-opt-2_pkg_setup
python-single-r1_pkg_setup
}
src_prepare() {
# Remove shipped binaries (kBuild,yasm), see bug #232775
rm -rf kBuild/bin tools
# Disable things unused or split into separate ebuilds
sed -e "s@MY_LIBDIR@$(get_libdir)@" \
"${FILESDIR}"/${PN}-4-localconfig > LocalConfig.kmk || die
# Respect LDFLAGS
sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
-i Config.kmk src/libs/xpcom18a4/Config.kmk || die
# Use PAM only when pam USE flag is enbaled (bug #376531)
if ! use pam ; then
elog "Disabling PAM removes the possibility to use the VRDP features."
sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die
sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \
src/VBox/HostServices/Makefile.kmk || die
fi
# add correct java path
if use java ; then
sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \
-i "${S}"/Config.kmk || die
java-pkg-opt-2_src_prepare
fi
if ! gcc-specs-pie ; then
EPATCH_EXCLUDE="050_${PN}-4.2.0-nopie.patch"
fi
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}/patches"
epatch_user
# fix location of ifconfig binary (bug #455902)
local ifcfg="$(type -p ifconfig)"
if [ "${ifcfg}" != "/sbin/ifconfig" ] ; then
sed "/VBOXADPCTL_IFCONFIG_PATH/s@/sbin/ifconfig@${ifcfg}@" \
-i "${S}"/src/apps/adpctl/VBoxNetAdpCtl.cpp \
|| die
fi
}
src_configure() {
local myconf
use alsa || myconf+=" --disable-alsa"
use opengl || myconf+=" --disable-opengl"
use pulseaudio || myconf+=" --disable-pulse"
use python || myconf+=" --disable-python"
use java || myconf+=" --disable-java"
use vboxwebsrv && myconf+=" --enable-webservice"
use vnc && myconf+=" --enable-vnc"
use doc || myconf+=" --disable-docs"
if ! use headless ; then
use qt4 || myconf+=" --disable-qt4"
else
myconf+=" --build-headless --disable-opengl"
fi
# not an autoconf script
./configure \
--with-gcc="$(tc-getCC)" \
--with-g++="$(tc-getCXX)" \
--disable-kmods \
--disable-dbus \
--disable-devmapper \
${myconf} \
|| die "configure failed"
}
src_compile() {
source ./env.sh
# Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
# and strip all flags
# strip-flags
MAKE="kmk" emake \
VBOX_BUILD_PUBLISHER=_Gentoo \
TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
VBOX_GCC_OPT="${CXXFLAGS}" \
TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" \
KBUILD_VERBOSE=2 \
all
}
src_install() {
cd "${S}"/out/linux.${ARCH}/release/bin || die
# Create configuration files
insinto /etc/vbox
newins "${FILESDIR}/${PN}-4-config" vbox.cfg
# Set the right libdir
sed -i \
-e "s@MY_LIBDIR@$(get_libdir)@" \
"${D}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
# Symlink binaries to the shipped wrapper
exeinto /usr/$(get_libdir)/${PN}
newexe "${FILESDIR}/${PN}-ose-3-wrapper" "VBox"
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBox
fperms 0750 /usr/$(get_libdir)/${PN}/VBox
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxManage
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxVRDP
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxHeadless
dosym /usr/$(get_libdir)/${PN}/VBoxTunctl /usr/bin/VBoxTunctl
# Install binaries and libraries
insinto /usr/$(get_libdir)/${PN}
doins -r components
if use sdk ; then
doins -r sdk
fi
if use vboxwebsrv ; then
doins vboxwebsrv
fowners root:vboxusers /usr/$(get_libdir)/${PN}/vboxwebsrv
fperms 0750 /usr/$(get_libdir)/${PN}/vboxwebsrv
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/vboxwebsrv
newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
fi
for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,ExtPackHelperApp} *so *r0 *gc ; do
doins $each
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
fperms 0750 /usr/$(get_libdir)/${PN}/${each}
done
# VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetAdpCtl
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetDHCP
# VBoxSVC needs to be pax-marked (bug #403453)
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxSVC || die
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxManage || die
if ! use headless ; then
for each in VBox{SDL,Headless} ; do
doins $each
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
fperms 4750 /usr/$(get_libdir)/${PN}/${each}
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/${each}
done
if use opengl && use qt4 ; then
doins VBoxTestOGL
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxTestOGL
fperms 0750 /usr/$(get_libdir)/${PN}/VBoxTestOGL
fi
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxSDL
if use qt4 ; then
doins VirtualBox
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VirtualBox
fperms 4750 /usr/$(get_libdir)/${PN}/VirtualBox
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VirtualBox
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VirtualBox
newmenu "${FILESDIR}"/${PN}-ose.desktop-2 ${PN}.desktop
fi
pushd "${S}"/src/VBox/Resources/OSE &>/dev/null || die
for size in 16 32 48 64 128 ; do
newicon -s ${size} ${PN}-${size}px.png ${PN}.png
done
newicon ${PN}-48px.png ${PN}.png
popd &>/dev/null || die
else
doins VBoxHeadless
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxHeadless
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxHeadless
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxHeadless
fi
insinto /usr/$(get_libdir)/${PN}
# Install EFI Firmware files (bug #320757)
pushd "${S}"/src/VBox/Devices/EFI/FirmwareBin &>/dev/null || die
for fwfile in VBoxEFI{32,64}.fd ; do
doins ${fwfile}
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${fwfile}
done
popd &>/dev/null || die
# New way of handling USB device nodes for VBox (bug #356215)
local udevdir="$(get_udevdir)"
insinto ${udevdir}
doins VBoxCreateUSBNode.sh
fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
insinto ${udevdir}/rules.d
doins "${FILESDIR}"/10-virtualbox.rules
sed "s@%UDEVDIR%@${udevdir}@" \
-i "${D}"${udevdir}/rules.d/10-virtualbox.rules || die
insinto /usr/share/${PN}
if ! use headless && use qt4 ; then
doins -r nls
fi
# VRDPAuth only works with this (bug #351949)
dosym VBoxAuth.so /usr/$(get_libdir)/${PN}/VRDPAuth.so
# set an env-variable for 3rd party tools
echo -n "VBOX_APP_HOME=/usr/$(get_libdir)/${PN}" > "${T}/90virtualbox"
doenvd "${T}/90virtualbox"
if use java ; then
java-pkg_regjar "${D}/usr/$(get_libdir)/${PN}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
java-pkg_regso "${D}/usr/$(get_libdir)/${PN}/libvboxjxpcom.so"
fi
}
pkg_postinst() {
fdo-mime_desktop_database_update
udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
if ! use headless && use qt4 ; then
elog "To launch VirtualBox just type: \"VirtualBox\"."
fi
elog "You must be in the vboxusers group to use VirtualBox."
elog ""
elog "The latest user manual is available for download at:"
elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
elog ""
elog "For advanced networking setups you should emerge:"
elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
elog ""
elog "IMPORTANT!"
elog "If you upgrade from app-emulation/virtualbox-ose make sure to run"
elog "\"env-update\" as root and logout and relogin as the user you wish"
elog "to run ${PN} as."
elog ""
elog "Starting with version 4.0.0, ${PN} has USB-1 support."
elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
elog " app-emulation/virtualbox-extpack-oracle"
elog "package."
if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
elog ""
elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
elog "or else USB in ${PN} won't work."
fi
}
pkg_postrm() {
fdo-mime_desktop_database_update
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.2.26.ebuild,v 1.2 2014/07/30 19:25:45 ssuominen Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.3.24.ebuild,v 1.1 2015/03/04 07:10:28 polynomial-c Exp $
EAPI=5
@ -11,7 +11,7 @@ MY_PV="${PV/beta/BETA}"
MY_PV="${MY_PV/rc/RC}"
MY_P=VirtualBox-${MY_PV}
SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
http://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-4.2.26-patches-01.tar.xz"
http://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-4.3.16-patches-01.tar.xz"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="Family of powerful x86 virtualization products for enterprise as well as home use"
@ -20,7 +20,7 @@ HOMEPAGE="http://www.virtualbox.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+additions alsa doc extensions headless java pam pulseaudio +opengl python +qt4 +sdk vboxwebsrv vnc"
IUSE="+additions alsa doc extensions headless java pam pulseaudio +opengl python +qt4 +sdk +udev vboxwebsrv vnc"
RDEPEND="!app-emulation/virtualbox-bin
~app-emulation/virtualbox-modules-${PV}
@ -30,8 +30,8 @@ RDEPEND="!app-emulation/virtualbox-bin
dev-libs/openssl
dev-libs/libxml2
media-libs/libpng
media-libs/libvpx
sys-libs/zlib
>=virtual/udev-171
!headless? (
qt4? (
dev-qt/qtgui:4
@ -47,10 +47,12 @@ RDEPEND="!app-emulation/virtualbox-bin
x11-libs/libXt
media-libs/libsdl:0[X,video]
)
vnc? ( >=net-libs/libvncserver-0.9.9 )
java? ( || ( virtual/jre:1.7 virtual/jre:1.6 ) )"
java? ( || ( virtual/jre:1.7 virtual/jre:1.6 ) )
udev? ( >=virtual/udev-171 )
vnc? ( >=net-libs/libvncserver-0.9.9 )"
DEPEND="${RDEPEND}
>=dev-util/kbuild-0.1.9998_pre20120806
>=dev-util/kbuild-0.1.9998_pre20131130
>=dev-lang/yasm-0.6.2
sys-devel/bin86
sys-power/iasl
@ -69,7 +71,7 @@ DEPEND="${RDEPEND}
alsa? ( >=media-libs/alsa-lib-1.0.13 )
!headless? ( x11-libs/libXinerama )
pulseaudio? ( media-sound/pulseaudio )
vboxwebsrv? ( <net-libs/gsoap-2.8.13 )
vboxwebsrv? ( net-libs/gsoap[-gnutls(-)] )
${PYTHON_DEPS}"
PDEPEND="additions? ( ~app-emulation/virtualbox-additions-${PV} )
extensions? ( =app-emulation/virtualbox-extpack-oracle-${PV}* )"
@ -106,7 +108,8 @@ QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
usr/lib/virtualbox/VBoxPython2_7.so
usr/lib/virtualbox/VBoxXPCOMC.so
usr/lib/virtualbox/VBoxOGLhostcrutil.so
usr/lib/virtualbox/VBoxNetDHCP.so"
usr/lib/virtualbox/VBoxNetDHCP.so
usr/lib/virtualbox/VBoxNetNAT.so"
REQUIRED_USE="
java? ( sdk )
@ -166,7 +169,7 @@ src_prepare() {
fi
if ! gcc-specs-pie ; then
EPATCH_EXCLUDE="050_${PN}-4.2.0-nopie.patch"
EPATCH_EXCLUDE="050_${PN}-4.3.14-nopie.patch"
fi
EPATCH_SUFFIX="patch" \
@ -174,31 +177,26 @@ src_prepare() {
epatch "${WORKDIR}/patches"
epatch_user
# fix location of ifconfig binary (bug #455902)
local ifcfg="$(type -p ifconfig)"
if [ "${ifcfg}" != "/sbin/ifconfig" ] ; then
sed "/VBOXADPCTL_IFCONFIG_PATH/s@/sbin/ifconfig@${ifcfg}@" \
-i "${S}"/src/apps/adpctl/VBoxNetAdpCtl.cpp \
|| die
fi
}
src_configure() {
local myconf
use alsa || myconf+=" --disable-alsa"
use doc || myconf+=" --disable-docs"
use java || myconf+=" --disable-java"
use opengl || myconf+=" --disable-opengl"
use pulseaudio || myconf+=" --disable-pulse"
use python || myconf+=" --disable-python"
use java || myconf+=" --disable-java"
use vboxwebsrv && myconf+=" --enable-webservice"
use vnc && myconf+=" --enable-vnc"
use doc || myconf+=" --disable-docs"
if ! use headless ; then
use qt4 || myconf+=" --disable-qt4"
else
myconf+=" --build-headless --disable-opengl"
fi
if use amd64 && ! has_multilib_profile ; then
myconf+=" --disable-vmmraw"
fi
# not an autoconf script
./configure \
--with-gcc="$(tc-getCC)" \
@ -224,8 +222,7 @@ src_compile() {
TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
VBOX_GCC_OPT="${CXXFLAGS}" \
TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" \
KBUILD_VERBOSE=2 \
TOOL_YASM_AS=yasm KBUILD_VERBOSE=2 \
all
}
@ -269,23 +266,33 @@ src_install() {
newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
fi
for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,ExtPackHelperApp} *so *r0 *gc ; do
doins $each
local gcfiles="*gc"
if use amd64 && ! has_multilib_profile ; then
gcfiles=""
fi
for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,ExtPackHelperApp} *so *r0 ${gcfiles} ; do
doins ${each}
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
fperms 0750 /usr/$(get_libdir)/${PN}/${each}
done
# VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetAdpCtl
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetDHCP
# VBoxSVC needs to be pax-marked (bug #403453)
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxSVC || die
# VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
for each in VBoxNet{AdpCtl,DHCP,NAT} ; do
doins ${each}
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
fperms 4750 /usr/$(get_libdir)/${PN}/${each}
done
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxManage || die
# VBoxSVC and VBoxManage need to be pax-marked (bug #403453)
# VBoxXPCOMIPCD (bug #524202)
for each in VBox{Manage,SVC,XPCOMIPCD} ; do
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/${each} || die
done
if ! use headless ; then
for each in VBox{SDL,Headless} ; do
doins $each
doins ${each}
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
fperms 4750 /usr/$(get_libdir)/${PN}/${each}
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/${each}
@ -295,6 +302,7 @@ src_install() {
doins VBoxTestOGL
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxTestOGL
fperms 0750 /usr/$(get_libdir)/${PN}/VBoxTestOGL
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxTestOGL
fi
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxSDL
@ -303,7 +311,8 @@ src_install() {
doins VirtualBox
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VirtualBox
fperms 4750 /usr/$(get_libdir)/${PN}/VirtualBox
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VirtualBox
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VirtualBox \
|| die
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VirtualBox
@ -320,7 +329,7 @@ src_install() {
doins VBoxHeadless
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxHeadless
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxHeadless
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxHeadless
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxHeadless || die
fi
insinto /usr/$(get_libdir)/${PN}
@ -332,16 +341,18 @@ src_install() {
done
popd &>/dev/null || die
# New way of handling USB device nodes for VBox (bug #356215)
local udevdir="$(get_udevdir)"
insinto ${udevdir}
doins VBoxCreateUSBNode.sh
fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
insinto ${udevdir}/rules.d
doins "${FILESDIR}"/10-virtualbox.rules
sed "s@%UDEVDIR%@${udevdir}@" \
-i "${D}"${udevdir}/rules.d/10-virtualbox.rules || die
if use udev ; then
# New way of handling USB device nodes for VBox (bug #356215)
local udevdir="$(get_udevdir)"
insinto ${udevdir}
doins VBoxCreateUSBNode.sh
fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
insinto ${udevdir}/rules.d
doins "${FILESDIR}"/10-virtualbox.rules
sed "s@%UDEVDIR%@${udevdir}@" \
-i "${D}"${udevdir}/rules.d/10-virtualbox.rules || die
fi
insinto /usr/share/${PN}
if ! use headless && use qt4 ; then
@ -364,7 +375,10 @@ src_install() {
pkg_postinst() {
fdo-mime_desktop_database_update
udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
if use udev ; then
udevadm control --reload-rules \
&& udevadm trigger --subsystem-match=usb
fi
if ! use headless && use qt4 ; then
elog "To launch VirtualBox just type: \"VirtualBox\"."
@ -386,7 +400,11 @@ pkg_postinst() {
elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
elog " app-emulation/virtualbox-extpack-oracle"
elog "package."
if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
if ! use udev ; then
elog ""
elog "WARNING!"
elog "Without USE=udev, USB devices will likely not work in ${PN}."
elif [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
elog ""
elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
elog "or else USB in ${PN} won't work."

@ -1,13 +1,13 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/pax-utils/pax-utils-1.0.ebuild,v 1.1 2015/03/02 09:50:16 vapier Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/pax-utils/pax-utils-1.0.ebuild,v 1.2 2015/03/03 23:31:32 vapier Exp $
EAPI="4"
inherit eutils toolchain-funcs unpacker
DESCRIPTION="ELF related utils for ELF 32/64 binaries that can check files for security relevant properties"
HOMEPAGE="http://hardened.gentoo.org/pax-utils.xml"
HOMEPAGE="https://wiki.gentoo.org/index.php?title=Project:Hardened/PaX_Utilities"
SRC_URI="mirror://gentoo/pax-utils-${PV}.tar.xz
http://dev.gentoo.org/~solar/pax/pax-utils-${PV}.tar.xz
http://dev.gentoo.org/~vapier/dist/pax-utils-${PV}.tar.xz"

@ -6,3 +6,4 @@ DIST asm-3.0.tar.gz 421280 SHA256 f79823637855a886f8a53dfd18bdb9351005650983e305
DIST asm-3.1.tar.gz 685894 SHA256 079d99def09c017b60cb89c96db1e2740a4dadb17a833f6ae44380b38ff1c847 SHA512 8aefb70e80adb29217177b6f0a28a3b485e9c1d75787695cc286af10a621257480c071a9af8dc3fdbd5fd44b1d6f33521bd00e5592c5cd4ad84d152f526392e2 WHIRLPOOL 18d082be41c6b7e3fd53504957cf20213574b28bca9ee419ff193a7c4a456fd623546ae77bdf6139508b0d3db0ee66c13be404b5a09db4a44c46d019baba7f24
DIST asm-3.3.1.tar.gz 854626 SHA256 69a523d41c82d7979c9b47271e31187e23c064e1d2a93b52950463bcb80197f5 SHA512 b0dffde873dcdfd8328736cfaeb8a3fca2e0788fa642d3af0c995d55c6ca4b1847e35c24100277a453b518305c5fe234d1935fa8de9b25bddd5dee5f1d4a4d44 WHIRLPOOL 90158f7fd87eae641e20aaca736debbd34b70e22feae1021c5f47255b8b9e8305460444e1f070288292b64a6aef3c083c81b520343f97b570ec1799d56d13874
DIST asm-4.0.tar.gz 752187 SHA256 feb2b078f10d420b6ab04cca136db1b57935170d53d12c64d381e118185c7b0e SHA512 642bc32fc0310b8e4291386866e53ba62802f2ae888163cd6e879232bbe3c3728c3a135aa667f91aec5bbb743621c2ee2d2a1a1d1ccb36c5249874a5ba9b08db WHIRLPOOL 8ac20fd836a97572c0b449637491e31a01d29f65eac71cf5412ae0948d1264ed098fd9fbe6ee51af386b78c25bef38c6878693144875e3f29692ad6daf320bd0
DIST asm-5.0.3.tar.gz 781742 SHA256 36e8b760d40898cce83e913e78cf6e631a6a3dc3b448895bb35c02d298c21c4b SHA512 fb2fbddbd01ec6d355d5f218db801512a160b505e91c4ad81cc1a0f1265c358cf8df6140c216e2d5acc109dc2286c29de6bf5b60b29a094e70c96070a54b20af WHIRLPOOL e93cbf659b224d50b8a0971ceaacbcb72acfbf23347baf4a9875e647c5f43b70587a5e24ea01f3ecb57eee31e0550144b59d55e97daafba9d76158427518f667

@ -0,0 +1,45 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/asm/asm-5.0.3.ebuild,v 1.1 2015/03/03 23:16:52 chewi Exp $
EAPI=5
OLD_P="${PN}-4.0"
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Bytecode manipulation framework for Java"
HOMEPAGE="http://asm.ow2.org"
SRC_URI="http://download.forge.objectweb.org/${PN}/${P}.tar.gz
http://download.forge.objectweb.org/${PN}/${OLD_P}.tar.gz"
LICENSE="BSD"
SLOT="4"
IUSE=""
KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x64-macos"
DEPEND=">=virtual/jdk-1.5"
RDEPEND=">=virtual/jre-1.5"
# Needs dependencies we don't have yet.
RESTRICT="test"
EANT_DOC_TARGET="jdoc"
# Fails if this objectweb.ant.tasks.path is not set.
# Java generics seem to break unless product.noshrink is set.
EANT_EXTRA_ARGS="-Dobjectweb.ant.tasks.path=foobar -Dproduct.noshrink=true"
java_prepare() {
# Borrow some ant scripts from an old version to avoid requiring
# bndlib and friends. This may not work forever!
cp -vf "../${OLD_P}/archive"/*.xml archive/ || die
}
src_install() {
for x in output/dist/lib/*.jar ; do
java-pkg_newjar "${x}" $(basename "${x%-*}.jar")
done
use doc && java-pkg_dojavadoc output/dist/doc/javadoc/user/
use source && java-pkg_dosrc src/*
}

@ -34,13 +34,13 @@ DIST jdk-7u76-solaris-sparcv9-demos.tar.gz 906501 SHA256 a6b2480941c0d715b89c28d
DIST jdk-7u76-solaris-sparcv9.tar.gz 19247694 SHA256 4cc9c1ba874518803ac5beaafdf0b3055a3c1edd38b56f64aa2108139d7909ee SHA512 c164a0754c8b690ad63f39f7bdb0a706f4306ce9ddfb2e2741019b009b70dcef2e446bf7af96aa7ab2c8976445da0f3dd84a0a63f8e522c571770087705fb314 WHIRLPOOL 35176941d7b5935a184d55953dd22895d52c67dd1173f2bd24684692a401d006f407136327058ba6bdc948e06fd8ab370bda78a2477aedd8deb361b67774cfab
DIST jdk-7u76-solaris-x64-demos.tar.gz 865221 SHA256 10ea66fcfbd5355b1f41e7226590027fb93769ac87d44970929db354266f151e SHA512 b13a72e2dbcdb2c30bae0a5416b83689082a449373ded2f8a6e0a649956d01cd0ed943a327b35e858f4d02453362cba94842f3f929fcbb0fb0c7aa9a3454cf84 WHIRLPOOL 01c8a52f581810e4a30490289a0ead645b9724fb035e5b51deb7bc7bf83aa9adb5cddabefd653d31a61dec57ece01b149eaca3d92aa130ff01e3f67398663b1f
DIST jdk-7u76-solaris-x64.tar.gz 17167641 SHA256 ef39c5c0953b6184496dfb60c21c2af16083d74d4f52cec33a2531a0c412d74e SHA512 f5ae8ff2f1728739432569899c88c05c5eeb5ca2d6466f81388f88f03e3fbb857f96dd5fc9d6de6c68f95643885f7ae312fadb31a299b90c1d4d08e53099699c WHIRLPOOL 16a9b9c63d2a6d5087b285b2cf5f0c8cceee193157d4081f05ce2eaa894b75fa884d19f43839a48c274b524e292847ae6e7758c639c934b1a4f05d9afd5be9ed
DIST jdk-8u31-linux-i586-demos.tar.gz 61339286 SHA256 4a4e47820089bcd2d56f15970d4dc8851d6b923bf879e98704605e09fabaedd2 SHA512 3bda48a7b7d243de33970ad209c585a23d25433ca99497d99ff13449f7f82775fbed400ec546986f675c7c502cd79b40bdf92ba41a7240ce873c1ba82c086ba3 WHIRLPOOL 61c71f8cae38f2017e85042765d4fa069c7b86bc16078e4c472c8c7f92e6ab3e12a1a7de42f0d52418c1a484fbe847cfc1ba6f238eeb7d301b5aa71981d291f2
DIST jdk-8u31-linux-i586.tar.gz 162439063 SHA256 1add6f526d3f4f43ab37508236f80e19dcb8e1d8faa1e42e668234067cc223eb SHA512 798e51eb963d4a8000f53ab0798a9946472918673b5ff7c9902bdd9499775c3538d263b8d13c9bb9143918187ee654b53a84fd3a743ff6da87d1c2637b57d7de WHIRLPOOL 13c63d2e22d2d37239cc461a2be19c6b863d06d9d3531630615f9a89b87779fa79097374f5dccd7ea699b1b6c3e5531a3b063536d97df234caaaa9cf162e1343
DIST jdk-8u31-linux-x64-demos.tar.gz 61403870 SHA256 4ee08e352d7f9b4f9716b01378e731722f73fa31b354f55ecda20086f1e47c7f SHA512 876ce83403331282ab7ed9ab9114a8399c8c2cabcce2bf79557a902415625014879623b82158bbfcee639e42a0876862cdd96f4c8ca944b3638c0cee5316729b WHIRLPOOL 65d656e7b7f746b90576b36af9432ac6cb662132ffe1232635e0aa4eaa8d8a27fbcffb52e84c24c4c41a77e91e409226587e5f971532fb600f6fdbce01ac89db
DIST jdk-8u31-linux-x64.tar.gz 160901914 SHA256 efe015e8402064bce298160538aa1c18470b78603257784ec6cd07ddfa98e437 SHA512 848b45316f27b6a5fc6fe63bcaab04520755978dfcdc6340a458e8b432d2e2cf09359c18bbba6e0aa1a994f53d4b03140f59cfb1c401d6cacca190234ede98b3 WHIRLPOOL 08639d28a1c8264939ed5ef194d4bf508f59225dfdc22cc1645bf2335c19d612f342a806e057c6b954719e2cb71628b49a8ea360675bf808f499b5dd34f63b8f
DIST jdk-8u31-macosx-x64.dmg 219328069 SHA256 6cc28f5b203bc7fe7ad2854613c626bd9fe0123d5c98c7a69e7d8d645f7d5b2d SHA512 8cdb33efb11d603bc35c4f89f161d21637434536517b5662b9e178c868cc0a791da40f59735a9de57573d6a2bf6b87084568e9718156ba793a595ba8be58a56f WHIRLPOOL d8c3b00b64fd735fcc003b2b8c813cb2c5c30b3bfaf05658f410113df0a2dafafdc53769d0cc179c158bedfadc4100d341485e230f77438aeb4086c4c1c48339
DIST jdk-8u31-macosx-x86_64-demos.zip 62098063 SHA256 ccaf5bdedfd2703a2c0bcfd8a3657626e0de23355fd67d60ba32bcb39f9ca26f SHA512 e18e67affdfa697fc210c817c37337242956096fc915dff2a1b8832817098fef581f3e06029fcd25cac5a0472c494e876563607efff2151fd993b16bdffa0be0 WHIRLPOOL c22f13d13ca3dfcd9c5d86a13daea3275b005ff164e69f0a801e21420a05809f88287a67688b07b5c1ba184815cbd03a336e119f9dbf08a6ab39423c3e81cccb
DIST jdk-8u31-solaris-sparcv9-demos.tar.gz 9725268 SHA256 2efd468088bdf58b0d2f9933b0c98675f3c6cf28adac5cd39ccab683cf5d5b3b SHA512 a77c6e56dc64c20c463075a0acb09df57f5af9c74cd188946a00e14946fe984ca542493a1291b57f7896f65da8d2091d7faea9469c5936757786c671b0b28448 WHIRLPOOL 095d64a489a3a12af1c256cc4c7c67a9d5c6da7d525c42012eab9563cc60b7d982c57993b436204ed95ab991cb3ac4473f4bb1a867d103b568de74dd994978d9
DIST jdk-8u31-solaris-sparcv9.tar.gz 101830892 SHA256 28accfa339ea5749a18fb0c8ff1e3470d4edaea1045ec959dc200c8350f93140 SHA512 ec87aef7cb31b44533adaf8ecfda032c15a969bd45e2464eb58081068562903644850405c3f05c38095d0412d2a9bf9ba382b78805ea860e23208f98d2c102c3 WHIRLPOOL 363d5c59643862e7674221ff030b1354110199c9119c076321925e896f1e4ffdcaa2bcbed62440f2a6a771866d1c8f3ec09c6b0c7730a6913703e0ff306af308
DIST jdk-8u31-solaris-x64-demos.tar.gz 9702819 SHA256 fad7f202cd04f9ac1566ee5a79eaa30bac5414e80675fc69d0c2824647805cf0 SHA512 19779b921c8981232e8aa2ac122ab558037f0cf029b4f89a3031128af81ace970c8c5c560839c8192236e77efdf1bc1674392ce94393d5eb1445144df607c942 WHIRLPOOL 3ba7bb84ebf809d22b69fcbdd9c09a6cb36225dc4bc7cf124031e992be866de70dc01da6c673060ecfdd787c5622e57edce742b64fff87309e3295701e419d86
DIST jdk-8u31-solaris-x64.tar.gz 99420795 SHA256 70705277f0ccc799ce33f1f04b6675846b10a3970491f554f51e4c93bffdd457 SHA512 fb9c4db053554ab90ec05de07bd1ab7bbdcc09abb3fc1533368c263dc9be81ce0c83d34399209e421d627065a59b1dd741221a1b1cf68d61c32be06fa032a0ce WHIRLPOOL 4ce60f57e495d19ecb7ae1fb30d08c62c0fb9ce608e7d70f19b41c75a8fe9c4b955661e7da2f9c842a06b5243b6cfa884e6b3746ead442c26e76673d66f76dca
DIST jdk-8u40-linux-i586-demos.tar.gz 54791990 SHA256 2cc57c7c64d76d1cf60a9bc66268699b01ec66f26010907fe3e376437691ad88 SHA512 5bc3e51be8cf1b90f1a644094de1a27d7c895b0fc468c6836c6c0e70d511425c4f8aa7e085f876f530c476580a9bf01ea3b0777a80005291cb3f5d5413646ccc WHIRLPOOL 4f3d5151e507b4fc51e7304a9a9ccec469f1da4fe3cad3959622705631a0635e2000e5727ce4c67f3e1817f8ccae0f022c5fa25ba8a204ad14f29eb36056ccb6
DIST jdk-8u40-linux-i586.tar.gz 174927697 SHA256 a0f035c234eea71656ee989b8a569c901f7912ec969f1147771364b5aa5dcaad SHA512 936ecec836a64b725249678ce9574a5ae7ce95c303b1a709afaf464486f7775878a720782a4365c0fe089037e4c46945250f3d37a5c0bf3f4b1d220f0f9e38f8 WHIRLPOOL 917f6787a25d30b779a64d88afba736e1905204805bb6ebc0a7ccec7a2e1e3545816043c755ec66114bee212c678c617cabee4a0689ce05331e343b376f4d81e
DIST jdk-8u40-linux-x64-demos.tar.gz 54864803 SHA256 7d18724b014992a18438e24192e1244d8e44bfb003af817d3eed580b544a7213 SHA512 4ac7ee384f5671a46326555b5f3ebe8ccd14976b94d63f89e95949bd0fc035d140bcd34960f1822a8a911350b68bd8618da3083eaefb1fc999a6f162c6a7df47 WHIRLPOOL bcd8f3937ca5fa63fe368f3b11f344da03a8fc8a7e2ed9148375a05c3552fcd7b67df864787442194dcc348759ab35d1a3e6ba6edc27de04e13ca4f9b17c23bb
DIST jdk-8u40-linux-x64.tar.gz 173218127 SHA256 c66029684bb8aa0c0eaea7b4d21de00e36a43dcc5a82f6666d489fd27027d559 SHA512 3cae3cc8a512f0e7af28c9baf763c5fb2459046016965c83755f58d2ff11ce617175c66d96952898180dde5961b4f138d9d4b4434f148019437b45aeff33b9e5 WHIRLPOOL 09b2b85f86583a72a0d96e4de6b115e82d0be4f277685be22ab345b6cd8f3d0a6a75303752995d41cddfb1b9e3d1abcecd5eb2674d5aa1b48705971fe0231628
DIST jdk-8u40-macosx-x64.dmg 232666279 SHA256 df4f43bfd0ead97af6fa72109fd4fdbc8224ec82f50fd86bcbcee97ca00ecf9d SHA512 24794a1bff51fd0c675094266609cc78ef8b58de628a1d90f66a0152d283330caeed6a5b87e7695332a555648de1c60bddc6e5454692cbfcca347f2008e54b8c WHIRLPOOL 1f2e8c9bc4bc986b653be837bef8d8bdb6f7cb5c271597bd833a204a579666f8a058cee812823bb2563da696f56399f48a5bed2c3ecab347225e364268c337d2
DIST jdk-8u40-macosx-x86_64-demos.zip 55361650 SHA256 ed7bf3bff6cd4b8fcf567bea15db2aaeb92811c9e5a5e8e80a8e6678abf2a870 SHA512 35badfa2b00549e4f5a2613ec05c7fb6ca41f418f53c5a85bd521bf517bef828885242210d19c7668da7131132eb37bb6ccc81be24ddaa960ad96341a2cc61e7 WHIRLPOOL e3b553437628e2b65b0cf183fcded276691a13f5cb19a71908e632dd620565d39f361c24fcfe507612b6ef1e191581410ed6403e5aed036d40c23315afb32b85
DIST jdk-8u40-solaris-sparcv9-demos.tar.gz 9777217 SHA256 adc698dd3e225f6673c1d89ddfcaadc3c5e5105721544ee29b0b7003c2047615 SHA512 b1e7c73990e36476790d4b194402126a04337d78f6a25f715f12d17440d3cdec6d4f26ad03ca29c54025c75219b948e11480bf771046c47e8c2044074498d915 WHIRLPOOL d4449e1d6df1f0ede57827c34d5d0585329ec441fac574c8b0aa2872e46f96b1463f0e52cbf57b82bc50e3f637b84733c59bc01b87c7c8cfdc6305c0c571dc0d
DIST jdk-8u40-solaris-sparcv9.tar.gz 97335359 SHA256 84b5abe14d0af58a6d04a4ccddd8728f7875f216cb51139181e4d53d1ea50193 SHA512 9be6ffdebf425e2d1d64405234297843e77b93f230a4aecfe4a71425572d2267d5ab27271315f20463fa724c4c99f983f283bf3b9cdc6eeb74cdc2855a507b21 WHIRLPOOL c8976655f606401430b79d7187839fa9a49711773bf250f130f633cda3fd28c6348255f8c9f19fee22b8ba4e26428c2e6fb62882a7c2b517e1c327a994f75f12
DIST jdk-8u40-solaris-x64-demos.tar.gz 9710136 SHA256 ee3dd53662b33be7f5b9a4a0a0a6b9feec642be7a6ec681bf123220a6e7cc7d3 SHA512 a7c2d7dd272cb04049944dd131675ae20bfac6421110ef4a19b8671b56b89b88b84b254b566514a686c386dabf9925c47337c7501717559340b850a31aa6fd2a WHIRLPOOL fd7d5678975688df1279bc134b44d55a3da2c37040600b559d4e0cd407a93355021a404c1665e7e815b55828ca6a4fe8abaced98f79ad665a227485eb9455939
DIST jdk-8u40-solaris-x64.tar.gz 100471657 SHA256 8d880e24a12197b8349493f15092a6b19468f8dfe22466325961bbfc2020d7f4 SHA512 9a39da290deb114c4048f6cf33313c0bbfb6a5ad78ab8dacca79ea59fef16bf9dbf038d2088ab2a4e0bcdcdb30adaea6c2f90fb5a12e682a6cb75f3a68bee4d6 WHIRLPOOL c32d486c5910e3574a18d75f3065b7085c41adba3f10c95d09bdf6cb26306d228854eeb1c49856225f4672e4d3144d0c7f82931c4bec4bdf7403d4b295b48d48

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.31.ebuild,v 1.1 2015/01/23 17:46:52 ercpe Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.40.ebuild,v 1.1 2015/03/03 23:46:58 chewi Exp $
EAPI="5"

@ -2,5 +2,5 @@ DIST UnlimitedJCEPolicyJDK7.zip 7426 SHA256 7a8d790e7bd9c2f82a83baddfae765797a4a
DIST jce_policy-8.zip 8409 SHA256 f3020a3922efd6626c2fff45695d527f34a8020e938a49292561f18ad1320b59 SHA512 abbaa81a35f904ec61b4cf3c2d1ca8c8d49e53bb248e698185eea906939d68f5063412800585ec74027aab1012ef189aebe1dc99fe8ef4230a0ecb0b527f88e5 WHIRLPOOL 8c9ce1ea4673b75fa6271b74e598880f98361d5d2c9c25439fa0af3d07cfeb871b39682dae4e38160f49770b1fec953162e451b9b2cf44d2c72a226944212bcc
DIST jre-7u76-linux-i586.tar.gz 48501515 SHA256 38aecf5f6c8706f293b40db0133fca0aca5e6ab520c1b9b0a3fc38ef2988b3cf SHA512 084752d9f41352df061be8327d6eecdd07d4065de8c0a7201f36cbc1fbd62c1ca45b21dc882601c34a09bca29317ebe952ac589904d4893545544134ed619cce WHIRLPOOL c6f90d86a5b1e06385996354a8aa450b83e0516345a014a2f55a41e436e2e00121d200d5d83ff96691237330945589de97d8e6e5895ef5dae0aa352c4b476768
DIST jre-7u76-linux-x64.tar.gz 47058747 SHA256 22808ec8c747409858e952c124bbc05734feff057ead402be2b2a7fa5852e4d9 SHA512 b4101ade8c0f9a7891f01b62740e53873db410637663fda02f4a6ecddc8ade0db2650162654eb9514811fafc640925ff780b5b7a9e3f2a58df207ff97d954aef WHIRLPOOL 21aac95873276ed0cec72ec80ccad226e47c5894324c925e1d1bd9b7c0d15f03e41e50a6bca5fd36d0d4c5caa079a11774b756e8ccffacffb5ea99ae49ee334a
DIST jre-8u31-linux-i586.tar.gz 64564510 SHA256 251358ce535d3a50f47f90a1dc690cb12dd5e9f960757503eaefcd5504732dfd SHA512 a9a68973a137ad431d691ff32265cbdad747a9797b0fe723637ff38b62d68f2c98209babec59b82ccd115410aa5fae48745caa6f61899b303e6f3aece77ae220 WHIRLPOOL 72293e43eb4322c8dd6678b24bd3a571178b674400b250a9c15c2effd25a81a7a4952a3351a3ff69720b5c21bc7058827fc92d6e6e0a5bcb0bb8879b6434343c
DIST jre-8u31-linux-x64.tar.gz 62779561 SHA256 236903524103db776f604aed1f07bca7907876218e803da7688b8e46f8155b24 SHA512 c366cbe2280acd503ed43450c2fb6a326bbd7d64289119ac0a0e93d575df89c9d4b1cc9f84c33c0118c77c80ace608678bce104ddfa12ec905ca5f5a2d4ac626 WHIRLPOOL f2bbb2067490dda7770b4a60d18de28bbe4e2e359be850de7447d3600dcdd4f721f67370787bb93e866522fe77ec3440767c685dc74696b2137595f8d80bd824
DIST jre-8u40-linux-i586.tar.gz 65632298 SHA256 bf52d01a3cfb6f80cde3026a27897f2e532bd546b3880b3c9fa66257da4ef40b SHA512 a63b77957934c909f6e099ccf36e14d7cbfe0dba8eed385e526254b0a7ec23d7687d6a74cd2d501982e53506a717250dca01bc393809679db8a8a515938a0d63 WHIRLPOOL fb99d50874b8758f2bdf6d85f88b230ce04b4e5851af06d3b984906922fb3150c94480f06f96fb5c102d516dd223fac17edc69e79b9148b7f3fe40bf6150a1d4
DIST jre-8u40-linux-x64.tar.gz 63786579 SHA256 45822f316df48774cd5ecfecbd8525032ee91025404c033ccde75a54768cc408 SHA512 294b47c6c71357ad7e9d7a23924d62c2086def2c7639a5aea8b114b3855a8f4e25e3faa9bae702e1d0e06f1c59aba193c4a54025a598c9285794de6a0bcbec6a WHIRLPOOL 77ba89e6137ad56bf99e08ad5a9d736e1a2dd1bf09d00879c008b25015988b81ef30dfe0c915e9eb6194351ee72bbab56b618dabfafea91760fa51bbf13ada93

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jre-bin/oracle-jre-bin-1.8.0.31.ebuild,v 1.1 2015/01/23 17:37:23 ercpe Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jre-bin/oracle-jre-bin-1.8.0.40.ebuild,v 1.1 2015/03/03 23:49:06 chewi Exp $
EAPI="5"

@ -1,12 +1,12 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.4.38.ebuild,v 1.3 2015/02/26 07:22:49 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.4.38.ebuild,v 1.4 2015/03/04 05:58:09 maekke Exp $
EAPI=5
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool systemd
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
function php_get_uri ()
{

@ -1,12 +1,12 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.5.22.ebuild,v 1.3 2015/02/26 07:22:49 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.5.22.ebuild,v 1.4 2015/03/04 05:59:01 maekke Exp $
EAPI=5
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool systemd
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
function php_get_uri ()
{

@ -3,8 +3,10 @@ DIST ruby-2.0.0-p598.tar.xz 8316092 SHA256 9dccf4c30e1bb004b18cb1129d9daac3c0ec5
DIST ruby-2.0.0-p643.tar.xz 8318532 SHA256 73f6d939beda8865e12069689ddabd2658b3f637a9adebeee5e374388715c432 SHA512 edcff2154eec9c8a84d4c5eac8ffb370e273a5e949923009756cbc069a7ef52de5c91981bd726ae5043bc2784d8ff5080444bc29d0693abc08ff66a8783a7cbc WHIRLPOOL 973d53a1e357714776159016a792cb24d34b48194547e1f30124003df20221775fd385b16e09aac6a2cab3954c3a2416d65b0c1bc2c12e4f49609d653ea7fbe8
DIST ruby-2.1.5.tar.xz 9371780 SHA256 22ba1eb8d475c9ed7e0541418d86044c1ea4c093ab79c300c38fc0f721afe9a3 SHA512 8a257da64158d49bc2810695baf4b5849ef83e3dde452bf1e4823e52e8261225427d729fce2fb4e9b53d6d17ca9c96d491f242535c2f963738b74f90944e2a0b WHIRLPOOL 7dab5db91e56ba95a221c456fbcebfb86aff038a084b7638f504e91e4c9b45a0ad7ee0296d6531281c33d75a31ee4f5ad05af6567a93034316f3992ebc5d6bf3
DIST ruby-2.2.0.tar.xz 10304244 SHA256 848714e280fc5fb44dbac3b060b206e56c1947006324ee68a174d68b483ef8ca SHA512 cd7e52faa464df8aca7ccfa23a5f06248e1ad82bc8c9f1829aa1b51ff37b15973b8caaa68e914d837325b8d59427fda4f3cad82c50925e1c84e688324a2a155d WHIRLPOOL 6d06101015b6dee7f0f4409597b481d3ad08679237ad884866e513bbad2d851afc09ac414c60871d2ceeb9221013497f0c482c481c95c3e8f20a4664e95148fa
DIST ruby-2.2.1.tar.xz 10320352 SHA256 3b2852c07fdc12d0ba2b5698c7587ae2b46141539a526d143da5860b55a626c0 SHA512 853517426cd4735bab42298a13cef6f4864b6f8787c3985eaa39a4d1efb40e121bdb51e874b567f0ec339fe001920bcd165067633992b2be30e7804191559151 WHIRLPOOL fdf6c064470172f366902c6d0896f25dfeea2690c0b184cc42ef65f8389a531ec8209551757cc3654fd4da54cb2055c687d3aca0a9716955586f50446ad0f26d
DIST ruby-patches-1.9.3_p551.tar.bz2 2154 SHA256 c1c40f2b1f186a05774fd15c3566d722a5ab1af5b93a7c73f2d3c247d604fd73 SHA512 fdb07393439dfcc97e5d4ecd12059ef69983b23588079e1292cec1c93544524a67265e4f61f75d20ac540ee9f9ace730a584462f94bea4919124a3264e6f0ae1 WHIRLPOOL 422b7bfcbdb564fd89ae9536c15d78442ad5597c7728f84f2523a751a862807a92a77779cfdd42fcdd20569726f401e391e33c1666b0455432ddff228ea674fc
DIST ruby-patches-2.0.0_p598.tar.bz2 2947 SHA256 dc173fe94af215fd2c1823f46140e4f11892dec59ce55b10ffad26b622bb6e4e SHA512 423a4fddfc8d7fd4f5b041989da343bc96ce0c3f22a448cab8cec47d4c458f4deeb83b167a0a3ae71d3be57df9b41151d1cafadd191bd3d3e9b08b32732e36cd WHIRLPOOL 9c728e95cf01abdb48afc2ff008dc73d341096b253c664297b6780b32821c1ec406c388ce5860b5dd2ce2de862fb80b2ae45d03750045aaf13c371743f97c92e
DIST ruby-patches-2.0.0_p643.tar.bz2 2947 SHA256 dc173fe94af215fd2c1823f46140e4f11892dec59ce55b10ffad26b622bb6e4e SHA512 423a4fddfc8d7fd4f5b041989da343bc96ce0c3f22a448cab8cec47d4c458f4deeb83b167a0a3ae71d3be57df9b41151d1cafadd191bd3d3e9b08b32732e36cd WHIRLPOOL 9c728e95cf01abdb48afc2ff008dc73d341096b253c664297b6780b32821c1ec406c388ce5860b5dd2ce2de862fb80b2ae45d03750045aaf13c371743f97c92e
DIST ruby-patches-2.1.5.tar.bz2 2310 SHA256 1743dc0cec0adc1a0b5d90b0ed7908f888b8251b7a414049a57e6e32e01e4ad6 SHA512 b695621d210a7afc6704dd480bf3e7fc559174ebf240d2287338d60537ba45e5bf0f5defac6b254064d4b28077e2b97ef23b7eadc1bfa1a6bf2c616e828f937c WHIRLPOOL e9fde062fc04e4e22aec2dc55250f9007c64b07c7d03875b4073c19af9cfb0ae735d6dcb2b65bd1465a457cf0ff0602866600b5af1d520df3efc8a418763ab5b
DIST ruby-patches-2.2.0-r1.tar.bz2 2195 SHA256 c7acb19428dd1d5b59bff37e7705549e6e369504a99c171acc4d78b156ef1632 SHA512 ee438dd791a44778bb3da4afe96bac11cacb408cd859dcf057d12e3cc6d5e989b3b5f9c8662ede5229cc8d477126bfe46e1a02048a10e62b67abe22c0ecf4ab4 WHIRLPOOL 8e40576f1087ecc7a41ee9414857eac58e163895ffad3f4c4bb629bda38c8063b3eec608117251812fd8353b44dc58766e12f893cb37a6da7b277979b4da12db
DIST ruby-patches-2.2.1.tar.bz2 2267 SHA256 0ad98acf3d3f9128c2471e360d4cef0c8967ef2feb59c18f8a781a94c13f349f SHA512 af533ae77b0149bceb04d544b2a6f6c0bd4bcbef53912b233452a7eeda1ecb9cd53aed1631ba9414e76eb0f960e9248fb82525ce5caf843aaad2ebf654cf74ce WHIRLPOOL c495f4e95c1709da1c91b5f7b42b9bc03dfed3849fb7b51ac120fbaae1dabdc99e631e60455f86f91f64eb113c9b24cbeb857efc84c128406350938e01bdb291

@ -0,0 +1,238 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-2.2.1.ebuild,v 1.1 2015/03/03 18:19:07 graaff Exp $
EAPI=5
#PATCHSET=1
inherit autotools eutils flag-o-matic multilib versionator
MY_P="${PN}-$(get_version_component_range 1-3)"
S=${WORKDIR}/${MY_P}
SLOT=$(get_version_component_range 1-2)
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
RUBYVERSION=2.2.0
if [[ -n ${PATCHSET} ]]; then
if [[ ${PVR} == ${PV} ]]; then
PATCHSET="${PV}-r0.${PATCHSET}"
else
PATCHSET="${PVR}.${PATCHSET}"
fi
else
PATCHSET="${PVR}"
fi
DESCRIPTION="An object-oriented scripting language"
HOMEPAGE="http://www.ruby-lang.org/"
SRC_URI="mirror://ruby/2.2/${MY_P}.tar.xz
http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
LICENSE="|| ( Ruby-BSD BSD-2 )"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc +rdoc rubytests socks5 ssl xemacs ncurses +readline"
RDEPEND="
berkdb? ( sys-libs/db )
gdbm? ( sys-libs/gdbm )
jemalloc? ( dev-libs/jemalloc )
ssl? ( dev-libs/openssl )
socks5? ( >=net-proxy/dante-1.1.13 )
ncurses? ( sys-libs/ncurses )
readline? ( sys-libs/readline )
dev-libs/libyaml
virtual/libffi
sys-libs/zlib
>=app-admin/eselect-ruby-20141227
!<dev-ruby/rdoc-3.9.4
!<dev-ruby/rubygems-1.8.10-r1"
DEPEND="${RDEPEND}"
BUNDLED_GEMS="
>=dev-ruby/minitest-5.4.3[ruby_targets_ruby22]
>=dev-ruby/power_assert-0.2.2[ruby_targets_ruby22]
>=dev-ruby/test-unit-3.0.8[ruby_targets_ruby22]
"
PDEPEND="
${BUNDLED_GEMS}
virtual/rubygems[ruby_targets_ruby22]
>=dev-ruby/json-1.8.1[ruby_targets_ruby22]
>=dev-ruby/rake-0.9.6[ruby_targets_ruby22]
rdoc? ( >=dev-ruby/rdoc-4.0.1[ruby_targets_ruby22] )
xemacs? ( app-xemacs/ruby-modes )"
src_prepare() {
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
epatch "${WORKDIR}/patches"
# We can no longer unbundle all of rake because rubygems now depends
# on this. We leave the actual rake code around to bootstrap
# rubygems, but remove the bits that would cause a file collision.
einfo "Unbundling gems..."
cd "$S"
rm -r \
{bin,lib}/rake lib/rake.rb man/rake.1 \
bin/gem || die "removal failed"
# Remove bundled gems that we will install via PDEPEND, bug
# 539700. Use explicit version numbers to ensure rm fails when they
# change so we can update dependencies accordingly.
rm gems/{minitest-5.4.3,power_assert-0.2.2,test-unit-3.0.8}.gem || die
# Fix a hardcoded lib path in configure script
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
configure.in || die "sed failed"
eautoreconf
}
src_configure() {
local myconf=
# The Tk module can no longer be built because the module code is no
# longer compatible with newer stable versions.
# https://bugs.gentoo.org/show_bug.cgi?id=500894
local modules="tk"
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
filter-flags -fomit-frame-pointer
# In many places aliasing rules are broken; play it safe
# as it's risky with newer compilers to leave it as it is.
append-flags -fno-strict-aliasing
# SuperH needs this
use sh && append-flags -mieee
# Socks support via dante
if use socks5 ; then
# Socks support can't be disabled as long as SOCKS_SERVER is
# set and socks library is present, so need to unset
# SOCKS_SERVER in that case.
unset SOCKS_SERVER
fi
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
fi
# ipv6 hack, bug 168939. Needs --enable-ipv6.
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
# Determine which modules *not* to build depending in the USE flags.
if ! use readline ; then
modules="${modules},readline"
fi
if ! use berkdb ; then
modules="${modules},dbm"
fi
if ! use gdbm ; then
modules="${modules},gdbm"
fi
if ! use ssl ; then
modules="${modules},openssl"
fi
if ! use ncurses ; then
modules="${modules},curses"
fi
INSTALL="${EPREFIX}/usr/bin/install -c" econf \
--program-suffix=${MY_SUFFIX} \
--with-soname=ruby${MY_SUFFIX} \
--docdir=${EPREFIX}/usr/share/doc/${P} \
--enable-shared \
--enable-pthread \
--disable-rpath \
--with-out-ext="${modules}" \
$(use_enable jemalloc jemalloc) \
$(use_enable socks5 socks) \
$(use_enable doc install-doc) \
--enable-ipv6 \
$(use_enable debug) \
${myconf} \
--enable-option-checking=no \
|| die "econf failed"
}
src_compile() {
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
}
src_test() {
emake -j1 V=1 test || die "make test failed"
elog "Ruby's make test has been run. Ruby also ships with a make check"
elog "that cannot be run until after ruby has been installed."
elog
if use rubytests; then
elog "You have enabled rubytests, so they will be installed to"
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
elog "than root, and you must place them into a writeable directory."
elog "Then call: "
elog
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
else
elog "Enable the rubytests USE flag to install the make check tests"
fi
}
src_install() {
# Remove the remaining bundled gems. We do this late in the process
# since they are used during the build to e.g. create the
# documentation.
rm -rf ext/json || die
# Ruby is involved in the install process, we don't want interference here.
unset RUBYOPT
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
for d in $(find "${S}/ext" -type d) ; do
RUBYLIB="${RUBYLIB}:$d"
done
export LD_LIBRARY_PATH RUBYLIB
emake V=1 DESTDIR="${D}" install || die "make install failed"
# Remove installed rubygems copy
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
if use doc; then
make DESTDIR="${D}" install-doc || die "make install-doc failed"
fi
if use examples; then
insinto /usr/share/doc/${PF}
doins -r sample
fi
dodoc ChangeLog NEWS doc/NEWS* README* || die
if use rubytests; then
pushd test
insinto /usr/share/${PN}-${SLOT}/test
doins -r .
popd
fi
}
pkg_postinst() {
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
eselect ruby set ruby${MY_SUFFIX}
fi
elog
elog "To switch between available Ruby profiles, execute as root:"
elog "\teselect ruby set ruby(19|20|...)"
elog
}
pkg_postrm() {
eselect ruby cleanup
}

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/ding-libs/ding-libs-0.4.0.ebuild,v 1.3 2015/01/26 09:38:54 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/ding-libs/ding-libs-0.4.0.ebuild,v 1.4 2015/03/03 22:23:50 maekke Exp $
EAPI=5
@ -13,7 +13,7 @@ SRC_URI="https://fedorahosted.org/released/${PN}/${P}.tar.gz"
LICENSE="LGPL-3 GPL-3"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux"
KEYWORDS="amd64 ~arm x86 ~amd64-linux"
IUSE="test static-libs"
RDEPEND=""

@ -1,2 +1,3 @@
DIST hidapi-0.8.0_pre20130121.tar.xz 257900 SHA256 70440f658dbf1f840647d0756e230fdfe479fd4980d3ba7b299715b1947a8916 SHA512 6735112cae24c845bf5ec1fc04c1cafc12c31a1ec5f8d560fd8089f1abf9b1f4aca2c027b1103b7154f698334d7f9ee8f5e72eb5571ecce5abf3fe716ca68096 WHIRLPOOL 94a691cbeafedd93ac786202f8acb2e4d1a6433cc379c9f7de792c0e1f881b34339df43289804105511f634b26144720e22377a37f1ac1c202a81907a988c773
DIST hidapi-0.8.0_rc1_p20140719.tgz 103079 SHA256 33e206f5e145fc1bc6aeb55084d71b55d686533d23ad5bb762746ceba81e728b SHA512 204934a707da4e67b834823650b0cfd9be7b413972071129cc5aeeb93465834dde2f5ee23283c55d35b56e3aed8b7ad5fe947399839081f4d895fb65c8cd3e3d WHIRLPOOL 3c7d9cc4f39ebbe1f372a2e4f60990b1127e0c3025b85648d0f114ef652634e8e09d3ccd9e8f26ee6db191db1b2ccbb7afea3c3fa2018e8dfce034679c051f47
DIST hidapi_0.8.0~rc1+git20140201.3a66d4e+dfsg.orig.tar.bz2 81765 SHA256 770e78bcfafccaaff25fbcf815aa2bee46b369e7f0ed12faa9f9260829b88e9c SHA512 55ab59086622bd4b76b630f6e3a0cb7edb335e736421ad0a9199ac7f2208c8880e1be3ef6ee18ca879f9d3dfdf872b0b0ed998087bc6d4716aada185bcebc1e5 WHIRLPOOL 8a18d8db2ea9b90802124936fe276060c6f890bf571cbc33811a0f026f73a689a426854348d195b2b8ad2aa31243fb2d209dca963f4daf535eb36ab0864035ea

@ -0,0 +1,76 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719.ebuild,v 1.1 2015/03/03 23:32:53 blueness Exp $
EAPI=5
AUTOTOOLS_AUTORECONF=yes
inherit eutils versionator autotools-multilib #git-2
# If github is desired, the following may be used.
#EGIT_REPO_URI="git://github.com/signal11/hidapi.git"
#EGIT_BRANCH="master"
EGIT_COMMIT="d17db57b9d4354752e0af42f5f33007a42ef2906"
# S is only needed for the debian_package
S=${WORKDIR}/${PN}-${DEBIAN_PV}
DESCRIPTION="A multi-platform library for USB and Bluetooth HID-Class devices"
HOMEPAGE="http://www.signal11.us/oss/hidapi/"
SRC_URI="https://github.com/signal11/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tgz"
# When 0.8.0 is officially available the following link should be used.
#SRC_URI="mirror://github/signal11/${PN}/${P}.zip"
LICENSE="|| ( BSD GPL-3 HIDAPI )"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="doc static-libs X"
RDEPEND="virtual/libusb:1[${MULTILIB_USEDEP}]
virtual/libudev:0[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
virtual/pkgconfig
X? ( x11-libs/fox )"
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
src_prepare() {
if ! use X; then
sed -i -e 's:PKG_CHECK_MODULES(\[fox\], .*):AC_SUBST(fox_CFLAGS,[ ])AC_SUBST(fox_LIBS,[ ]):' configure.ac || die
fi
# Fix bashisms in the configure.ac file.
sed -i -e 's:\([A-Z_]\+\)+="\(.*\)":\1="${\1}\2":g' \
-e 's:\([A-Z_]\+\)+=`\(.*\)`:\1="${\1}\2":g' configure.ac || die
# Portage handles license texts itself, no need to install them
sed -i -e 's/LICENSE.*/ # blank/' Makefile.am || die
autotools-multilib_src_prepare
}
multilib_src_configure() {
local myeconfargs=(
$(multilib_native_use_enable X testgui)
)
autotools-utils_src_configure
}
src_compile() {
autotools-multilib_src_compile
if use doc; then
doxygen doxygen/Doxyfile || die
fi
}
src_install() {
autotools-multilib_src_install
if use doc; then
dohtml -r html/.
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpc/mpc-1.0.2-r1.ebuild,v 1.2 2015/03/02 09:28:31 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpc/mpc-1.0.2-r1.ebuild,v 1.3 2015/03/03 22:30:39 maekke Exp $
EAPI="4"
@ -12,7 +12,7 @@ SRC_URI="http://www.multiprecision.org/mpc/download/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="static-libs"
DEPEND=">=dev-libs/gmp-4.3.2[${MULTILIB_USEDEP},static-libs?]

@ -0,0 +1,49 @@
https://bugs.gentoo.org/541502
From 1b4a8df38fc9ab3c089ca5765075ee53ec5bd66a Mon Sep 17 00:00:00 2001
From: Matt Caswell <matt@openssl.org>
Date: Mon, 9 Feb 2015 11:38:41 +0000
Subject: [PATCH] Fix a failure to NULL a pointer freed on error.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Inspired by BoringSSL commit 517073cd4b by Eric Roman <eroman@chromium.org>
CVE-2015-0209
Reviewed-by: Emilia Käsper <emilia@openssl.org>
---
crypto/ec/ec_asn1.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/crypto/ec/ec_asn1.c b/crypto/ec/ec_asn1.c
index 30b7df4..d3e8316 100644
--- a/crypto/ec/ec_asn1.c
+++ b/crypto/ec/ec_asn1.c
@@ -1014,8 +1014,6 @@ EC_KEY *d2i_ECPrivateKey(EC_KEY **a, const unsigned char **in, long len)
ECerr(EC_F_D2I_ECPRIVATEKEY, ERR_R_MALLOC_FAILURE);
goto err;
}
- if (a)
- *a = ret;
} else
ret = *a;
@@ -1067,10 +1065,12 @@ EC_KEY *d2i_ECPrivateKey(EC_KEY **a, const unsigned char **in, long len)
}
}
+ if (a)
+ *a = ret;
ok = 1;
err:
if (!ok) {
- if (ret)
+ if (ret && (a == NULL || *a != ret))
EC_KEY_free(ret);
ret = NULL;
}
--
2.3.1

@ -0,0 +1,31 @@
https://bugs.gentoo.org/542038
From 28a00bcd8e318da18031b2ac8778c64147cd54f9 Mon Sep 17 00:00:00 2001
From: "Dr. Stephen Henson" <steve@openssl.org>
Date: Wed, 18 Feb 2015 00:34:59 +0000
Subject: [PATCH] Check public key is not NULL.
CVE-2015-0288
PR#3708
Reviewed-by: Matt Caswell <matt@openssl.org>
---
crypto/x509/x509_req.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/crypto/x509/x509_req.c b/crypto/x509/x509_req.c
index bc6e566..01795f4 100644
--- a/crypto/x509/x509_req.c
+++ b/crypto/x509/x509_req.c
@@ -92,6 +92,8 @@ X509_REQ *X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey, const EVP_MD *md)
goto err;
pktmp = X509_get_pubkey(x);
+ if (pktmp == NULL)
+ goto err;
i = X509_REQ_set_pubkey(ret, pktmp);
EVP_PKEY_free(pktmp);
if (!i)
--
2.3.1

@ -0,0 +1,261 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-1.0.2-r2.ebuild,v 1.1 2015/03/04 07:34:28 vapier Exp $
EAPI="4"
inherit eutils flag-o-matic toolchain-funcs multilib multilib-minimal
REV="1.7"
MY_P=${P/_/-}
DESCRIPTION="full-strength general purpose cryptography library (including SSL and TLS)"
HOMEPAGE="http://www.openssl.org/"
SRC_URI="mirror://openssl/source/${MY_P}.tar.gz
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/${PN}/${PN}-c_rehash.sh?rev=${REV} -> ${PN}-c_rehash.sh.${REV}"
LICENSE="openssl"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
IUSE="bindist gmp kerberos rfc3779 sctp cpu_flags_x86_sse2 static-libs test +tls-heartbeat vanilla zlib"
# The blocks are temporary just to make sure people upgrade to a
# version that lack runtime version checking. We'll drop them in
# the future.
RDEPEND="gmp? ( >=dev-libs/gmp-5.1.3-r1[static-libs(+)?,${MULTILIB_USEDEP}] )
zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] )
kerberos? ( >=app-crypt/mit-krb5-1.11.4[${MULTILIB_USEDEP}] )
abi_x86_32? (
!<=app-emulation/emul-linux-x86-baselibs-20140508
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
)
!<net-misc/openssh-5.9_p1-r4
!<net-libs/neon-0.29.6-r1"
DEPEND="${RDEPEND}
sys-apps/diffutils
>=dev-lang/perl-5
sctp? ( net-misc/lksctp-tools )
test? ( sys-devel/bc )"
PDEPEND="app-misc/ca-certificates"
S="${WORKDIR}/${MY_P}"
MULTILIB_WRAPPED_HEADERS=(
usr/include/openssl/opensslconf.h
)
src_prepare() {
SSL_CNF_DIR="/etc/ssl"
sed \
-e "/^DIR=/s:=.*:=${EPREFIX}${SSL_CNF_DIR}:" \
-e "s:SSL_CMD=/usr:SSL_CMD=${EPREFIX}/usr:" \
"${DISTDIR}"/${PN}-c_rehash.sh.${REV} \
> "${WORKDIR}"/c_rehash || die #416717
# Make sure we only ever touch Makefile.org and avoid patching a file
# that gets blown away anyways by the Configure script in src_configure
rm -f Makefile
epatch "${FILESDIR}"/${P}-CVE-2015-0209.patch #541502
epatch "${FILESDIR}"/${P}-CVE-2015-0288.patch #542038
if ! use vanilla ; then
epatch "${FILESDIR}"/${PN}-1.0.0a-ldflags.patch #327421
epatch "${FILESDIR}"/${PN}-1.0.0d-windres.patch #373743
epatch "${FILESDIR}"/${PN}-1.0.2-parallel-build.patch
epatch "${FILESDIR}"/${PN}-1.0.2-ipv6.patch
epatch "${FILESDIR}"/${PN}-1.0.2-s_client-verify.patch #472584
epatch_user #332661
fi
# disable fips in the build
# make sure the man pages are suffixed #302165
# don't bother building man pages if they're disabled
sed -i \
-e '/DIRS/s: fips : :g' \
-e '/^MANSUFFIX/s:=.*:=ssl:' \
-e '/^MAKEDEPPROG/s:=.*:=$(CC):' \
-e $(has noman FEATURES \
&& echo '/^install:/s:install_docs::' \
|| echo '/^MANDIR=/s:=.*:='${EPREFIX}'/usr/share/man:') \
Makefile.org \
|| die
# show the actual commands in the log
sed -i '/^SET_X/s:=.*:=set -x:' Makefile.shared
# since we're forcing $(CC) as makedep anyway, just fix
# the conditional as always-on
# helps clang (#417795), and versioned gcc (#499818)
sed -i 's/expr.*MAKEDEPEND.*;/true;/' util/domd || die
# quiet out unknown driver argument warnings since openssl
# doesn't have well-split CFLAGS and we're making it even worse
# and 'make depend' uses -Werror for added fun (#417795 again)
[[ ${CC} == *clang* ]] && append-flags -Qunused-arguments
# allow openssl to be cross-compiled
cp "${FILESDIR}"/gentoo.config-1.0.1 gentoo.config || die
chmod a+rx gentoo.config
append-flags -fno-strict-aliasing
append-flags $(test-flags-CC -Wa,--noexecstack)
append-cppflags -DOPENSSL_NO_BUF_FREELISTS
sed -i '1s,^:$,#!'${EPREFIX}'/usr/bin/perl,' Configure #141906
# The config script does stupid stuff to prompt the user. Kill it.
sed -i '/stty -icanon min 0 time 50; read waste/d' config || die
./config --test-sanity || die "I AM NOT SANE"
multilib_copy_sources
}
multilib_src_configure() {
unset APPS #197996
unset SCRIPTS #312551
unset CROSS_COMPILE #311473
tc-export CC AR RANLIB RC
# Clean out patent-or-otherwise-encumbered code
# Camellia: Royalty Free http://en.wikipedia.org/wiki/Camellia_(cipher)
# IDEA: Expired http://en.wikipedia.org/wiki/International_Data_Encryption_Algorithm
# EC: ????????? ??/??/2015 http://en.wikipedia.org/wiki/Elliptic_Curve_Cryptography
# MDC2: Expired http://en.wikipedia.org/wiki/MDC-2
# RC5: Expirted http://en.wikipedia.org/wiki/RC5
use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; }
echoit() { echo "$@" ; "$@" ; }
local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal")
# See if our toolchain supports __uint128_t. If so, it's 64bit
# friendly and can use the nicely optimized code paths. #460790
local ec_nistp_64_gcc_128
# Disable it for now though #469976
#if ! use bindist ; then
# echo "__uint128_t i;" > "${T}"/128.c
# if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then
# ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128"
# fi
#fi
local sslout=$(./gentoo.config)
einfo "Use configuration ${sslout:-(openssl knows best)}"
local config="Configure"
[[ -z ${sslout} ]] && config="config"
echoit \
./${config} \
${sslout} \
$(use sctp && echo "sctp") \
$(use cpu_flags_x86_sse2 || echo "no-sse2") \
enable-camellia \
$(use_ssl !bindist ec) \
${ec_nistp_64_gcc_128} \
enable-idea \
enable-mdc2 \
enable-rc5 \
enable-tlsext \
$(use_ssl gmp gmp -lgmp) \
$(use_ssl kerberos krb5 --with-krb5-flavor=${krb5}) \
$(use_ssl rfc3779) \
$(use_ssl tls-heartbeat heartbeats) \
$(use_ssl zlib) \
--prefix="${EPREFIX}"/usr \
--openssldir="${EPREFIX}"${SSL_CNF_DIR} \
--libdir=$(get_libdir) \
shared threads \
|| die
# Clean out hardcoded flags that openssl uses
local CFLAG=$(grep ^CFLAG= Makefile | LC_ALL=C sed \
-e 's:^CFLAG=::' \
-e 's:-fomit-frame-pointer ::g' \
-e 's:-O[0-9] ::g' \
-e 's:-march=[-a-z0-9]* ::g' \
-e 's:-mcpu=[-a-z0-9]* ::g' \
-e 's:-m[a-z0-9]* ::g' \
)
sed -i \
-e "/^CFLAG/s|=.*|=${CFLAG} ${CFLAGS}|" \
-e "/^SHARED_LDFLAGS=/s|$| ${LDFLAGS}|" \
Makefile || die
}
multilib_src_compile() {
# depend is needed to use $confopts; it also doesn't matter
# that it's -j1 as the code itself serializes subdirs
emake -j1 depend
emake all
# rehash is needed to prep the certs/ dir; do this
# separately to avoid parallel build issues.
emake rehash
}
multilib_src_test() {
emake -j1 test
}
multilib_src_install() {
emake INSTALL_PREFIX="${D}" install
}
multilib_src_install_all() {
dobin "${WORKDIR}"/c_rehash #333117
dodoc CHANGES* FAQ NEWS README doc/*.txt doc/c-indentation.el
dohtml -r doc/*
use rfc3779 && dodoc engines/ccgost/README.gost
# This is crappy in that the static archives are still built even
# when USE=static-libs. But this is due to a failing in the openssl
# build system: the static archives are built as PIC all the time.
# Only way around this would be to manually configure+compile openssl
# twice; once with shared lib support enabled and once without.
use static-libs || rm -f "${ED}"/usr/lib*/lib*.a
# create the certs directory
dodir ${SSL_CNF_DIR}/certs
cp -RP certs/* "${ED}"${SSL_CNF_DIR}/certs/ || die
rm -r "${ED}"${SSL_CNF_DIR}/certs/{demo,expired}
# Namespace openssl programs to prevent conflicts with other man pages
cd "${ED}"/usr/share/man
local m d s
for m in $(find . -type f | xargs grep -L '#include') ; do
d=${m%/*} ; d=${d#./} ; m=${m##*/}
[[ ${m} == openssl.1* ]] && continue
[[ -n $(find -L ${d} -type l) ]] && die "erp, broken links already!"
mv ${d}/{,ssl-}${m}
# fix up references to renamed man pages
sed -i '/^[.]SH "SEE ALSO"/,/^[.]/s:\([^(, ]*(1)\):ssl-\1:g' ${d}/ssl-${m}
ln -s ssl-${m} ${d}/openssl-${m}
# locate any symlinks that point to this man page ... we assume
# that any broken links are due to the above renaming
for s in $(find -L ${d} -type l) ; do
s=${s##*/}
rm -f ${d}/${s}
ln -s ssl-${m} ${d}/ssl-${s}
ln -s ssl-${s} ${d}/openssl-${s}
done
done
[[ -n $(find -L ${d} -type l) ]] && die "broken manpage links found :("
dodir /etc/sandbox.d #254521
echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl
diropts -m0700
keepdir ${SSL_CNF_DIR}/private
}
pkg_preinst() {
has_version ${CATEGORY}/${PN}:0.9.8 && return 0
preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8
}
pkg_postinst() {
ebegin "Running 'c_rehash ${EROOT%/}${SSL_CNF_DIR}/certs/' to rebuild hashes #333069"
c_rehash "${EROOT%/}${SSL_CNF_DIR}/certs" >/dev/null
eend $?
has_version ${CATEGORY}/${PN}:0.9.8 && return 0
preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8
}

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/B-Utils/B-Utils-0.250.0.ebuild,v 1.1 2015/02/21 00:48:59 dilfridge Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/B-Utils/B-Utils-0.250.0.ebuild,v 1.2 2015/03/04 06:02:01 maekke Exp $
EAPI=5
@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="Helper functions for op tree manipulation"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
KEYWORDS="~amd64 ~arm ~ppc ~x86"
IUSE="test"
RDEPEND="

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Task-Weaken/Task-Weaken-1.40.0-r1.ebuild,v 1.1 2014/08/22 18:22:08 axs Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Task-Weaken/Task-Weaken-1.40.0-r1.ebuild,v 1.2 2015/03/04 06:01:33 maekke Exp $
EAPI=5
@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="Ensure that a platform has weaken support"
SLOT="0"
KEYWORDS="amd64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
KEYWORDS="amd64 ~arm hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
IUSE=""
SRC_TEST="do"

@ -1 +1,2 @@
DIST Numdifftools-0.6.0.zip 184293 SHA256 56bee55a361c263dd250fcd009923ee9289dbc9bde635fe10b41d84e6a404549 SHA512 57c3a63e9fc2738478534cd81542d1398667824c80ad5263610be29bec38209f4f9963ad61f2b02327724946567d61fe310a9e82b1b301d1b36fe229f33445bd WHIRLPOOL 9780391abf8774137b3aaa03c88bed521ff6367c7bdefdb23c7e412e162ec8c81a6724a7af525ccddb69673b0afa1c862dbf7285f0faa659af46f758ad48ae9b
DIST numdifftools-0.7.7.zip 181520 SHA256 c5a309a7a0b58f6177dc7e3d55c2830c07ca2715c9c706644d500fc4eca97c4d SHA512 ccb5f8a06bf21dfb803004fa104d36e07cdbebb72682d84577506cca6fc63abd2e4b1c13cbc960ad691ee70bef616c282b8dbb682f78d1ff8d230213afd58428 WHIRLPOOL b6579d64f1e6beded914189b392952988eb1396ee9ad06d4ba4b3edfbe4666c1e7de35cf1405c38422aa459e9a631a94d8f821a9fe22309a681043883ec56ae2

@ -0,0 +1,41 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/Numdifftools/Numdifftools-0.7.7.ebuild,v 1.1 2015/03/03 15:19:35 jlec Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 python3_{3,4} )
inherit distutils-r1
MY_PN=numdifftools
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Solves automatic numerical differentiation problems in one or more variables"
HOMEPAGE="https://pypi.python.org/pypi/Numdifftools http://code.google.com/p/numdifftools/ https://github.com/pbrod/numdifftools"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.zip"
SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND="
dev-python/algopy[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
sci-libs/scipy[${PYTHON_USEDEP}]
"
DEPEND="test? (
${RDEPEND}
dev-python/pytest[${PYTHON_USEDEP}]
)"
# Seems to be broken
RESTRICT="test"
S="${WORKDIR}"/${MY_P}
python_test() {
esetup.py test
}

@ -0,0 +1 @@
DIST algopy-0.5.1.tar.gz 135183 SHA256 509e3ec6068bd6ed4c336546f8a8d84aa1083c2fd50a1a4f4d26df606bd0e901 SHA512 384e22e89db7bc999aad29269d0f9669d4b72f3cd08860a4346801470b5b912d63cea8493c902639f35526e53979771dea8c8b3caf2d431ca45bb47892cd1308 WHIRLPOOL b8121f3106d5b05e60ce81517531d4d0de6756dc7fa2af11eea0c2fce55cfc9a306dfd928fc778886f4742308e7bea12ea49eed87d11438fc1e6efd274d0d282

@ -0,0 +1,30 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/algopy/algopy-0.5.1.ebuild,v 1.1 2015/03/03 15:08:25 jlec Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 python3_{3,4} )
inherit distutils-r1
DESCRIPTION="Taylor Arithmetic Computation and Algorithmic Differentiation"
HOMEPAGE="https://pypi.python.org/pypi/algopy http://packages.python.org/algopy"
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-python/numpy[${PYTHON_USEDEP}]
sci-libs/scipy[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
test? ( dev-python/nose[${PYTHON_USEDEP}] )
"
python_test() {
${EPYTHON} run_tests.py || die
}

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

@ -1,3 +1,4 @@
DIST bpython-0.13.1.tar.gz 156558 SHA256 ee208a60a54f902a8c827f4a80fda8a6235790d59cc1fc089943df50936accae SHA512 cb3f1e8d8df5eb9978956b3503ef98b1c39e80704792281be7e560ec0d648aefa6d979ab45a642ec369fc252e7fde399013aa1a4154ceb73465bc3d95bea4b19 WHIRLPOOL a5d00b92507d1970de95f20ee54723774432687b1f11637f3aa75f9e8979e93015034f37253bd947100436f8400cdbe2ba523b6517a7ba265950b3f20dc6f9db
DIST bpython-0.13.2.tar.gz 158551 SHA256 a1870a78e44ed6ef54aa906c58234cb0d12011f2e9a49dc29bd5d9423abfbde2 SHA512 6bf74c9618bf92fc6ca23c9020b17219c64b16f159773624b67f87875c962857bde2dd4b03da621da7c8d50622739f95a880638c7c536f5f0dbf510c71f5a874 WHIRLPOOL 71da7518100bd73868ab53e1d13cb8831b0f6629713b993729948f38df52262537b8605f9304ff0edeca5e4f4d3435677c61e84b2d6fc54b2d66df74e756318c
DIST bpython-0.14.1.tar.gz 184850 SHA256 d96224d55ffb99ef9d2565e9b18202080b3659408fcce2594c9ec7bde65d8eb1 SHA512 6583d74cae29244ceefcbb2aaf24e789dafd63f9295e3e848f9e298b958d4a344c606051a9efd7f5a728d3ad1b9e58d011931d14f7e60e7c1fbd8b38a2dd1b09 WHIRLPOOL f52e7660054af1547452d777801a79e028378ed1d2f3fdfd3a36e9e5a9154d8389a5eb37e108abef06eb178340be234dacc2b87567bcc37797d3f519b4ea6644
DIST bpython-0.14.tar.gz 184430 SHA256 f7c9fc80fc5a4eb6a345a67815e31957c0c65c1bbdfc68cf99267cdc81a3d35b SHA512 1c43af30902ac01385a4f9d0af1f7531f190dea9ee0d43725d5a23d881874184beca1df9fc8f94f21110d99ca07a851861c56976199e9306515e2b00ca07f1f7 WHIRLPOOL 21dc44b48a0fb31d0c125fc203f90fe7750e81599353a51c215672ed82218fc3b4f544cdb530d6447d099e4eaa5983ad52b8f48e1e83bcf4799dad190af797eb

@ -0,0 +1,62 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/bpython-0.14.1.ebuild,v 1.2 2015/03/03 19:04:21 jlec Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 python3_{3,4} )
PYTHON_REQ_USE="ncurses"
inherit distutils-r1
DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter"
HOMEPAGE="http://www.bpython-interpreter.org/ https://bitbucket.org/bobf/bpython/ http://pypi.python.org/pypi/bpython"
SRC_URI="
http://www.bpython-interpreter.org/releases/${P}.tar.gz
mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
RDEPEND="
>=dev-python/curtsies-0.1.18[${PYTHON_USEDEP}]
<dev-python/curtsies-0.2.0[${PYTHON_USEDEP}]
dev-python/greenlet[${PYTHON_USEDEP}]
dev-python/jedi[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/six-1.5[${PYTHON_USEDEP}]
dev-python/urwid[${PYTHON_USEDEP}]
dev-python/watchdog[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( dev-python/mock[${PYTHON_USEDEP}] )"
DOCS=( AUTHORS CHANGELOG sample.theme light.theme )
# Req'd for clean build by each impl
DISTUTILS_IN_SOURCE_BUILD=1
python_compile_all() {
if use doc; then
sphinx-build -b html -c doc/sphinx/source/ \
doc/sphinx/source/ doc/sphinx/source/html || die "docs build failed"
fi
}
python_test() {
pushd build/lib > /dev/null
"${PYTHON}" -m unittest discover || die
popd > /dev/null
}
python_install_all() {
use doc && local HTML_DOCS=( doc/sphinx/source/html/. )
distutils-r1_python_install_all
}

@ -1 +1,2 @@
DIST curtsies-0.1.18.tar.gz 44353 SHA256 477121f256eea2b71237492e2924f05b54e1f91815d042bf91d7112b71d4edd4 SHA512 02ae86b215dca10e779061485cb18ab8b6fefbdad10e2bcad3c24890b79f81d1aae0b84467a23ca1951ffaa336fc2fe9b5137c1a10a65fafe0a0b540cc0c819c WHIRLPOOL 801738c450c2fd9343e01260240ebd5ed74e951c03a918808c8c2c47e8ec46afe425f4d8978dea894d2cdf36bc2e3bd19e9de2ed12a62e5786eebeed87dd9800
DIST curtsies-0.2.3.tar.gz 42805 SHA256 5da88a67472ada96de3be2a9da4210080c7e4b2c1afc4c97075b3f51755e0dc4 SHA512 8d48fb147fc247b2241472543a5019a55ef1b8f029b0bb93c7de72cd9eeb1bfe9940520bb5a0509406915523b98e1dbd9f07499e9eb9649d6d70df51ba71606d WHIRLPOOL 6b3e37f630488f01b6451349fcbf5e81cde7cdf8e1590bc4c65bb9bdffb4b83f8d868c37624e3f1f932cc51d9af251914f8fa55bc88eeaacc6c2dd3eb91239ea

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/curtsies/curtsies-0.1.18.ebuild,v 1.1 2015/02/17 13:26:45 jlec Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/curtsies/curtsies-0.1.18.ebuild,v 1.2 2015/03/03 19:02:55 jlec Exp $
EAPI=5
@ -15,10 +15,21 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""
IUSE="test"
RDEPEND="
dev-python/blessings[${PYTHON_USEDEP}]
dev-python/wcwidth[${PYTHON_USEDEP}]
>=dev-python/blessings-1.5[${PYTHON_USEDEP}]
>=dev-python/wcwidth-0.1.4[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pyte[${PYTHON_USEDEP}]
)
"
python_test() {
nosetests tests || die
}

@ -0,0 +1,35 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/curtsies/curtsies-0.2.3.ebuild,v 1.1 2015/03/03 19:02:55 jlec Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 python3_{3,4} )
inherit distutils-r1
DESCRIPTION="Curses-like terminal wrapper, with colored strings"
HOMEPAGE="https://github.com/thomasballinger/curtsies"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND="
>=dev-python/blessings-1.5[${PYTHON_USEDEP}]
>=dev-python/wcwidth-0.1.4[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pyte[${PYTHON_USEDEP}]
)
"
python_test() {
nosetests tests || die
}

@ -3,9 +3,13 @@ DIST numpy-1.8.1.tar.gz 3794076 SHA256 3d722fc3ac922a34c50183683e828052cd9bb7e91
DIST numpy-1.8.2.tar.gz 3792998 SHA256 6d487fc724780d66746bde264ea71f5cd77d3a39e52ee2b073dcaed63bc669db SHA512 996e6b8e2d42f223e44660f56bf73eb8ab124f400d89218f8f5e4d7c9860ada44a4d7c54526137b0695c7a10f36e8834fbf0d42b7cb20bcdb5d5c245d673385c WHIRLPOOL 0d3a05b1e3c0a1ceb0a7b4818406dbb45506e5f25bc2727d4ff44cc0a0520e6556b3c68ae24dbca37ba9d67ae2defbb3ff9c906d4c2635b29ed44452d70e8311
DIST numpy-1.9.0.tar.gz 3962108 SHA256 2745b1d64445da3c29a34450320025c11897ae4af77475f861966e98b2cb1a0f SHA512 dc9fb453367bd429336ed7391c0923d0d3af5f8ab26ef8681bc1a9e934ac28e2c9bc30e11f1026c2ea5710a3c4e27188007ee14b194bfca6a03228fad8f3d2fd WHIRLPOOL 5111f5cbb43bd279587f858196fbe86103abde7e8d6536337af51fe4a8371d39057d9ea75ac73ab501ff5c07c5c6e7e4e62f660ca263181e2fee3e6e61718ba9
DIST numpy-1.9.1.tar.gz 3978007 SHA256 0075bbe07e30b659ae4415446f45812dc1b96121a493a4a1f8b1ba77b75b1e1c SHA512 8286a55f4bd5f9c16b1252ee64a644fe4a03758d31ef2e16714c2f5c61d96f766fb6ffc98986c58e1db1c2b812a2d10e89eae3442263615e46472418c2d4edd4 WHIRLPOOL 9025fee798b2e0b23af4c5870fd12606de65c91a176e2900ca93ed853767165dfbe7344125aba19a58d031f82880d6347095070ed3585deb8866819c32422751
DIST numpy-1.9.2.tar.gz 3986067 SHA256 325e5f2b0b434ecb6e6882c7e1034cc6cdde3eeeea87dbc482575199a6aeef2a SHA512 70470ebb9afef5dfd0c83ceb7a9d5f1b7a072b1a9b54b04f04f5ed50fbaedd5b4906bd500472268d478f94df9e749a88698b1ff30f2d80258e7f3fec040617d9 WHIRLPOOL 59f5dc52cb95c7ce80fec3a7feac6cfda1d149596bf6d95c18bd8314e31a8df494b2b470c4cc3d8c296c9fc11c718d70d5b9b5344337175ca75496504c0fd201
DIST numpy-html-1.8.0.zip 9779825 SHA256 39e853c1aaa711976333782f465f2579ca66e6698393f6ba79f5cc78317b1203 SHA512 33333c48a3f4d27ccddf6696dce4e346f8729d1f398128b3bfebb8a9d53ded7bb62b63a766319f6e49ba7cf8ca4e1ce252996acd263976ad2990bf9650d71043 WHIRLPOOL 7eea0ad3418c55d6104a4a115fcdcd5eeb291b9fc1237724e10dcbbf95bc7a4a23b519c64976ac405fb4c5abbaae87a6c747f9ad695d08b6326b459ba1fb8a15
DIST numpy-html-1.8.1.zip 9703711 SHA256 f7fc3af4dba7b40deabd1828a86ea2e2eb5b9fa17c7ebddd73ee4cb8625105b1 SHA512 1d52c657931f4eebb5325159444aedd969b201f5098855058f1ef632dc8677372d632291154ebc3db9869cdb8abf7eb820eade1a9edba2d6be1ae918cb38c071 WHIRLPOOL e502b1416bad4b189773ba98035dfbeed0dc251d8f9b76e336450f14e8425caf92d55d2b1c2cc5ef9eb2d33eb2bf7cd55e720c1b265e45539b195fea1d7f046c
DIST numpy-html-1.9.1.zip 9839137 SHA256 12a24937f8273fcf79090c99b6c4154a0ecfc378386498cf2afe727ea171407c SHA512 647a6be9f93995aca14185e283a2b412678c6e8080fe4f14e7cc9ee63c28eebb64dea6bbe28f30ef6850a5565dd1e06928fd660ac762e9a91454d309eff96ed4 WHIRLPOOL 68c367fd0416d27b1cf43edf7ca48bc8845c02856bbbacdf63c88fe8bbffd5dd86fb3e5cdea8f669dd78adf7bcc4d184953048783802df323126c1b22baf8e92
DIST numpy-ref-1.8.0.pdf 5324229 SHA256 49ecb1d768eb48598439cc63058f830ca3522fe1cfeba1a321086e9820ae8911 SHA512 d89314215c4adefa487b3e46b2babeda7739ee193fef821846d4df0089fabf2167b47dd2990b6bd423432f75238547548924622c6f3b9a90a36d578450001eb2 WHIRLPOOL 3bb12c719cbe4734014774f1bfc3f98af544ee2c407adb2e3ee988e2b1035ad0ef711eaa68168656be7b034df2db76c8789daa2940a048b4a6cb3af0bb0eca68
DIST numpy-ref-1.8.1.pdf 5348248 SHA256 973851e66d0d5ab095f444f8aeb966fefe2dd544226395abbb110fc1b60f351d SHA512 340dd8f47430f24fea81bb3a8674e1a58f4290a9d1c5d64bac96d50b31a94a770e78381e42daf8b0a6a90cefe5cafe86b0c89f7cc7635a042a7e85eb74bdbdf5 WHIRLPOOL be13f88bb68944186c564a5c3789daededade240a26e7fb61c980a090249ab3a5b1f40805e97214168fbf0c099fb6b12d981ff313bace572f130023b29e7aaa7
DIST numpy-ref-1.9.1.pdf 5318122 SHA256 3c8e5881a3460e1cc9da95fe2167044e8f832ab8e980c3606d1f353e7ac6dcee SHA512 5171bb22588117a53e0eac355520581f7817a7e7a099ae83bb73f2ac8248a60e139ae9719dc543b44f25ccf8319c9f149fec1bf5aa55d943fad06a8e6da0d9ba WHIRLPOOL 5c99daf3ae2e6bf235aed287682f1b96d5b6afc9d290f544a8baab892b39c9f6dd9f649abe3e103cc90c990d87e4d653d8157d774a8bd35eccc9cc6ac7a870f9
DIST numpy-user-1.8.0.pdf 408447 SHA256 a8c30360f9e46c63cfdf48fa594971d94d68ce59ece08c13d4acde8b14032cfe SHA512 10293dba45377c6f1024125a49810b01e388eb33a3e8ed75b8ec39c2b93e53878cbe62e6b7adbf1e957dc47ef253e20304afa7d86d798fb5198887cbe618131f WHIRLPOOL 70cc5a5e97a919bb027f92ac87127fb1bc08d06e2a131c4b413837e76d8feab9b65d7dc9e95b6e797d057efb6abf0d2b3e7562ee3cd140b1ff1418bad5475335
DIST numpy-user-1.8.1.pdf 408305 SHA256 be827f2d92ef86c3af7f59c623017e7bc23ee95c64f88e8c9871f3ad1f99b262 SHA512 9e646e89e7e67834fa596e43082b43842d1c59287d22fd8d20c9f0a1d3d56a518a08cc2c036de4972ad0d6d9d3c2f56e2210f76e7244d3f7547b5204d84d3c7c WHIRLPOOL bf4105093b208b35b1914e842821b8d289b46eb28f1fda110643f5970bbfafe801e9d148c5f535b43eba9a23e09d333e3aecd9a55b33e64827883d253477d19a
DIST numpy-user-1.9.1.pdf 418111 SHA256 e1f6baed0b73f3d4b106c88924c083f9a519e860c1beb718830bf1aee1892232 SHA512 724302468a8e93daf70d379bb1ee7369953e297c40ea260f080b7aca3c9c81e619a81705bdfb2ea214da5b5325ec2b48e953eceeaa1d60c07593b00c35989f45 WHIRLPOOL f93ed20c5da7b379e3afcafab97c7eb60231ed4f73cebf18184e00b9a8a5a531fa32992f7f28f16d2714b3056c61153c29267c8c6b93cb100e06f53bced1bd6a

@ -1,5 +1,5 @@
--- numpy/distutils/system_info.py 2014-09-07 08:57:47.000000000 +0000
+++ numpy/distutils/system_info.py.new 2014-10-19 17:57:12.099448481 +0000
+++ numpy/distutils/system_info.py 2014-10-19 17:57:12.099448481 +0000
@@ -296,20 +296,7 @@
1 - display warning message
2 - raise error

@ -0,0 +1,35 @@
numpy/distutils/system_info.py | 21 +--------------------
1 file changed, 1 insertion(+), 20 deletions(-)
diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py
index a050430..d0878a5 100644
--- a/numpy/distutils/system_info.py
+++ b/numpy/distutils/system_info.py
@@ -303,26 +303,7 @@ def get_info(name, notfound_action=0):
1 - display warning message
2 - raise error
"""
- cl = {'atlas': atlas_info, # use lapack_opt or blas_opt instead
- 'atlas_threads': atlas_threads_info, # ditto
- 'atlas_blas': atlas_blas_info,
- 'atlas_blas_threads': atlas_blas_threads_info,
- 'lapack_atlas': lapack_atlas_info, # use lapack_opt instead
- 'lapack_atlas_threads': lapack_atlas_threads_info, # ditto
- 'atlas_3_10': atlas_3_10_info, # use lapack_opt or blas_opt instead
- 'atlas_3_10_threads': atlas_3_10_threads_info, # ditto
- 'atlas_3_10_blas': atlas_3_10_blas_info,
- 'atlas_3_10_blas_threads': atlas_3_10_blas_threads_info,
- 'lapack_atlas_3_10': lapack_atlas_3_10_info, # use lapack_opt instead
- 'lapack_atlas_3_10_threads': lapack_atlas_3_10_threads_info, # ditto
- 'mkl': mkl_info,
- # openblas which may or may not have embedded lapack
- 'openblas': openblas_info, # use blas_opt instead
- # openblas with embedded lapack
- 'openblas_lapack': openblas_lapack_info, # use blas_opt instead
- 'lapack_mkl': lapack_mkl_info, # use lapack_opt instead
- 'blas_mkl': blas_mkl_info, # use blas_opt instead
- 'x11': x11_info,
+ cl = {'x11': x11_info,
'fft_opt': fft_opt_info,
'fftw': fftw_info,
'fftw2': fftw2_info,

@ -0,0 +1,146 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.9.2.ebuild,v 1.1 2015/03/03 15:05:25 jlec Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 python3_{3,4} )
FORTRAN_NEEDED=lapack
inherit distutils-r1 eutils flag-o-matic fortran-2 multilib toolchain-funcs versionator
DOC_PV="1.9.1"
DOC_P="${PN}-${DOC_PV}"
DESCRIPTION="Fast array and numerical python library"
HOMEPAGE="http://numpy.scipy.org/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
doc? (
http://docs.scipy.org/doc/${DOC_P}/${PN}-html-${DOC_PV}.zip
http://docs.scipy.org/doc/${DOC_P}/${PN}-ref-${DOC_PV}.pdf
http://docs.scipy.org/doc/${DOC_P}/${PN}-user-${DOC_PV}.pdf
)"
# It appears the docs haven't been upgraded, still @ 1.8.1
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="doc lapack test"
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
lapack? ( virtual/cblas virtual/lapack )"
DEPEND="${RDEPEND}
doc? ( app-arch/unzip )
lapack? ( virtual/pkgconfig )
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
# Uses distutils.command.config.
DISTUTILS_IN_SOURCE_BUILD=1
PATCHES=(
"${FILESDIR}"/${P}-no-hardcode-blas.patch
)
src_unpack() {
default
if use doc; then
unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
fi
}
pc_incdir() {
$(tc-getPKG_CONFIG) --cflags-only-I $@ | \
sed -e 's/^-I//' -e 's/[ ]*-I/:/g' -e 's/[ ]*$//' -e 's|^:||'
}
pc_libdir() {
$(tc-getPKG_CONFIG) --libs-only-L $@ | \
sed -e 's/^-L//' -e 's/[ ]*-L/:/g' -e 's/[ ]*$//' -e 's|^:||'
}
pc_libs() {
$(tc-getPKG_CONFIG) --libs-only-l $@ | \
sed -e 's/[ ]-l*\(pthread\|m\)\([ ]\|$\)//g' \
-e 's/^-l//' -e 's/[ ]*-l/,/g' -e 's/[ ]*$//' \
| tr ',' '\n' | sort -u | tr '\n' ',' | sed -e 's|,$||'
}
python_prepare_all() {
if use lapack; then
append-ldflags "$($(tc-getPKG_CONFIG) --libs-only-other cblas lapack)"
local libdir="${EPREFIX}"/usr/$(get_libdir)
# make sure _dotblas.so gets built
sed -i -e '/NO_ATLAS_INFO/,+1d' numpy/core/setup.py || die
cat >> site.cfg <<-EOF
[blas]
include_dirs = $(pc_incdir cblas)
library_dirs = $(pc_libdir cblas blas):${libdir}
blas_libs = $(pc_libs cblas blas)
[lapack]
library_dirs = $(pc_libdir lapack):${libdir}
lapack_libs = $(pc_libs lapack)
EOF
else
export {ATLAS,PTATLAS,BLAS,LAPACK,MKL}=None
fi
export CC="$(tc-getCC) ${CFLAGS}"
append-flags -fno-strict-aliasing
# See progress in http://projects.scipy.org/scipy/numpy/ticket/573
# with the subtle difference that we don't want to break Darwin where
# -shared is not a valid linker argument
if [[ ${CHOST} != *-darwin* ]]; then
append-ldflags -shared
fi
# only one fortran to link with:
# linking with cblas and lapack library will force
# autodetecting and linking to all available fortran compilers
append-fflags -fPIC
if use lapack; then
NUMPY_FCONFIG="config_fc --noopt --noarch"
# workaround bug 335908
[[ $(tc-getFC) == *gfortran* ]] && NUMPY_FCONFIG+=" --fcompiler=gnu95"
fi
# don't version f2py, we will handle it.
sed -i -e '/f2py_exe/s:+os\.path.*$::' numpy/f2py/setup.py || die
distutils-r1_python_prepare_all
}
python_compile() {
distutils-r1_python_compile ${NUMPY_FCONFIG}
}
python_test() {
distutils_install_for_testing ${NUMPY_FCONFIG}
cd "${TMPDIR}" || die
${EPYTHON} -c "
import numpy, sys
r = numpy.test(label='full', verbose=3)
sys.exit(0 if r.wasSuccessful() else 1)" || die "Tests fail with ${EPYTHON}"
}
python_install() {
distutils-r1_python_install ${NUMPY_FCONFIG}
}
python_install_all() {
distutils-r1_python_install_all
dodoc COMPATIBILITY DEV_README.txt THANKS.txt
if use doc; then
dohtml -r "${WORKDIR}"/html/*
dodoc "${DISTDIR}"/${PN}-{user,ref}-${DOC_PV}.pdf
fi
# absent in 1.9
#docinto f2py
#dodoc numpy/f2py/docs/*.txt
#doman numpy/f2py/f2py.1
}

@ -0,0 +1 @@
DIST pyte-0.4.9.tar.gz 43730 SHA256 3b1d3b9df29e24f6ae3e9c277d830a01bbb610bf88e6bb4c8255a25c00472ba3 SHA512 551f464282db7bd4eadf53358619651a6bac59868939f30ee3f33255a275ec321d773c075e786f28861824ed005282ec7aac11a63ced173fe8a1aacbfa9e2e0c WHIRLPOOL 20eac26136cdc906d40ea0b409be99959443fd2b24143a29223f78f42986f52f4e4b99c0817a22ed0edcf2b59e1d5961fac0cf4cc32d1430f71f64b532b9e951

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

@ -0,0 +1,27 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyte/pyte-0.4.9.ebuild,v 1.1 2015/03/03 18:38:51 jlec Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 python3_{3,4} )
inherit distutils-r1
DESCRIPTION="Simple VTXXX-compatible terminal emulator"
HOMEPAGE="https://pypi.python.org/pypi/pyte/ https://github.com/selectel/pyte"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="LGPL-3"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND=""
DEPEND="${RDEPEND}
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
"
python_test() {
esetup.py test
}

@ -1,2 +1,3 @@
DIST combustion-0.5.1.gem 13312 SHA256 2c41a6faa674c1ba0e5d4ac428b1bebd0e63760952e0fc64b36c0c45343bcdc5 SHA512 35d60fd7aae5b28ec909d404a27cc199b65865feeaee66ef691eb4175327324d6007ffc45629d8442f2cf5f4ef25ae254eafa67884943037dda798c196e34af7 WHIRLPOOL f7e2d7c28b74292f57d573a3fe6cd141602eea985797678e288c58ede6d5a77d8286895cc1cc99d2d2f8fd7b60303015629b56c941d7c74abd296c5fadd1634d
DIST combustion-0.5.2.gem 13312 SHA256 b599e01d8ff2a261f11dad6b5a33edfd3bd318d36a37e02b84d2ebe9ad880300 SHA512 f7d654d63415499bca473b7657aef92a78a53a80657840883a12f740100c4858d114b99dbdec822a21ad47047985422c81d90452895e27a33db02096fabc4fb9 WHIRLPOOL 8d926db506b9f877aabfa4a28cf03d6d056a4c74ae9f0e0596d5e727d85f54ea71cfff3c7d8f720098006d1c7a728b4974d0c964d6202355b2d006a698b7ee22
DIST combustion-0.5.3.gem 13312 SHA256 178346d36b9bb271aa8e6d1cba45fd0d463ccff1b589f70043eb3d995b650220 SHA512 790f0ec33c565678bdc43a09490bec233e8746cd657efcb620ec764ba297c4f9b8e656b004c7889a1725466afc186db9372dc27a1592b3981fd9d905c9920378 WHIRLPOOL e321b48ff1f98a1aae28f5d7f84648b58ce9bb6a946561f6508de6cad75eb639f21fab84ac268250dadc78f5f0ba30cb34b00f677b4b6dc313786cb387af563e

@ -0,0 +1,26 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/combustion/combustion-0.5.3.ebuild,v 1.1 2015/03/03 18:24:34 mrueg Exp $
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_TASK_TEST=""
RUBY_FAKEGEM_EXTRADOC="README.md"
inherit ruby-fakegem
DESCRIPTION="Elegant Rails Engine Testing"
HOMEPAGE="https://github.com/pat/combustion"
LICENSE="MIT"
KEYWORDS="~amd64"
SLOT="0"
IUSE=""
ruby_add_rdepend "
>=dev-ruby/activesupport-3.0.0
>=dev-ruby/railties-3.0.0
>=dev-ruby/thor-0.14.6
"

@ -1,4 +1,4 @@
DIST connection_pool-1.2.0.gem 10240 SHA256 41c0f1ff0c5a697869344ff50ae0d952fe99b52b26c21744b06fac34323adcb9 SHA512 f339a8789351286380ec8146ed18f18622914816c1c2d88201277a8ab375855ff229b0de4bc4ae93e47df7126b54e5617866388e95ddb5cc337165729debb3f5 WHIRLPOOL 39a9c28b1f7345da369f7dfba657a2e799741db5a4a5eec7f0b46a5b027a7618aaae240ffa021485fc8877f7f91fc9f9594c275ef1a32317098d3670a595f6d2
DIST connection_pool-2.0.0.gem 11264 SHA256 07c6af4793949d290624eb1019e852e850e2e319d3828a62036ee9a0eb74479f SHA512 c3be1a85d8f548b2869f5453fea8af3d049a2a0e21111f33c582b7bbb06d635d58aa0a9ee4c98a17899feac42d638c6a4ab566364eb4c43efcb3390dd24c46ab WHIRLPOOL eab11e48347451f430302101827685a6f7c0f41f7b10ba27f4505d01b321b6d8a257bc30ff9dd1965ad882e7848f97702e175a7c6e2e80780ba337c269c322c8
DIST connection_pool-2.1.0.gem 12288 SHA256 7db85d972ac9c5b69a2faeb1e52df8e15438658b0760f3906f25277e0b208f94 SHA512 4ebf0dab33c2518485d17f9bb73bf5c8d5f617eb17805037ead2e13baff4ad9ed9ba8635390f17ff1df6e26f207a39152c2477dadd0758f9fe3a73942d853248 WHIRLPOOL ed2245009e4f04ef1826da80d1bea6b969b6ffe3228d65bc076080e83a07b73d49040f1877f21d4c78f5f0f76f97aa60d651b34bdbe27632362d319f65c9e61e
DIST connection_pool-2.1.1.gem 12800 SHA256 fae94f374754373071dcabff633680b198e2ec3f97c4f6b34f66acd2462d511a SHA512 fff321176c143c23a1c7682f86a4aa347597d11db19d436b1e847ad6d6d5dcad4f912b661d4f1995decc8bbb548c2bf05d0010bb1ee22beb936b06f855c06f58 WHIRLPOOL aa40d1ce74407608a032f04385be1f12184d98f20e6378f2ad87dcb13250224892ce17b1f8e2755feaafc0eb5b6da887d467ff9ff624f3d6a5b5c29e0f2ba6a6
DIST connection_pool-2.1.2.gem 12800 SHA256 500e4081c79f326a1db11fa679a04734fae66c583fa3648df5552bc2de295a6a SHA512 7a9b12721544d0345b70ea92f76353763deb870d76f06fbd6b63096701450431be6d5a9fb8b425feadd86c4a61d691dbd5c09879ed68f19162d5f3809a468603 WHIRLPOOL 6bebd35bac3a0f2e04d8eed299109e790321031c7391f194f50e3a018e83a379faf9e28243829968070c2d63a11c9e6d382fa5f97fa0f44c1ba99d470b4a3a96

@ -1,9 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/connection_pool/connection_pool-2.1.0.ebuild,v 1.1 2014/11/25 06:54:15 graaff Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/connection_pool/connection_pool-2.1.2.ebuild,v 1.1 2015/03/03 18:24:50 mrueg Exp $
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21"
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
RUBY_FAKEGEM_RECIPE_TEST="rake"
RUBY_FAKEGEM_RECIPE_DOC="none"
@ -23,4 +23,5 @@ ruby_add_bdepend "test? ( >=dev-ruby/minitest-5 )"
all_ruby_prepare() {
sed -i -e '/git ls-files/d' connection_pool.gemspec || die
sed -i -e '/bundler/d' Rakefile || die
}

@ -1,2 +1,3 @@
DIST d3_rails-3.5.2.gem 133632 SHA256 4dc5deaf6bad691fdf5c07db334c82c1e538007806ec10993d0ee1c1b3b06fc6 SHA512 5b82eecdde1b510b146f4e3c9d5cd1875d8050fe176fd241d19af2e05466db4fceecf05d48154e034101eed9a1cf96c37062058ff6e6279fd9ce88a7d11e3ffb WHIRLPOOL bae84425ee4e50b07745aa850658257b57d65673233cd8c1af8e0ad68f3c622b8335fc52995852d560c3606e3ecd2043f97e2048e73208b85f1731170ed990bb
DIST d3_rails-3.5.4.gem 133632 SHA256 18725e58c74ae8bbc048d7dcd810f3b22a93bb56fafadf216e994c72044ebc60 SHA512 b2c4d346530761d5fb2b3ecbd24a8830434fb0068546382f9327115479eaf26b2e0ebfe4083373d8df7bac9f462df0eb7e661a6093c405ab689b7db3255c7aba WHIRLPOOL 84202728204759aa6232c532ff1411bed5542609d46c683e1a4537574d8291f50ac3df50a249e8957250400f7c11a3f0a623c517fe8033b808b7199059b71649
DIST d3_rails-3.5.5.gem 133632 SHA256 8fedd753f9accdd3587753d4a89de901e5bd7d9e2ba1a5e91c52f564300eecfd SHA512 52a2aebe1422847ffc04e4209eb343bcc5651d659dbbb59bb1d17bd26b4b5cb6134641d23b91779a58f04829fa2baaafda6936d0d451cdd2b714588e7ca8473c WHIRLPOOL 57eef6744f6f0ef873213486819cc72093f4ea94a279ea86f54f635e3ab2ca9abec1bf35dcf2665f94ec71b6771560ae7c8eae987afb2f99fc584fb6cee5c36f

@ -0,0 +1,23 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/d3_rails/d3_rails-3.5.5.ebuild,v 1.1 2015/03/03 18:22:48 mrueg Exp $
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21"
RUBY_FAKEGEM_RECIPE_TEST="none"
RUBY_FAKEGEM_RECIPE_DOC="none"
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_EXTRAINSTALL="app"
inherit ruby-fakegem
DESCRIPTION="Ruby on Rails integration for the Javascript Data Visualization Framework, D3"
HOMEPAGE="https://github.com/logical42/d3_rails"
LICENSE="MIT BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
ruby_add_rdepend ">=dev-ruby/railties-3.1"

@ -1 +1,2 @@
DIST exifr-1.2.0.gem 224768 SHA256 a0b8bea215a83b3ca40f26c8fce5eba8f45456d015d47f35be3bcf294dc3a5f6 SHA512 e32bbdd5d8de0a4e725fb45c39e4418e88f86674cd62a65330152dca8743b97f43d43eac5f5622d551e17784319ddd243d96a60c69def34d7f237c87b7480bcd WHIRLPOOL 72b3896db06d5e69336f00a521c646c11c228e8a5bb86c7e26adaf494c23708177272ad81a66d88656387c15338af1c9d100e145ad4a19d0b3c53dc7f296d731
DIST exifr-1.2.1.gem 224768 SHA256 3ac66e2102334657e502124109ab0bf24691444440554e9817ad633de61ba911 SHA512 470aff1d5cc870d99002d18cc0b4361c95c2a5ade73a827328399dce7bb85cb489f2f482234379441afaaa238f2f6e8a220871f662c55f144a5f6e886d853dad WHIRLPOOL 56708f57f07722bcccb52ae5bc00f2026b99007a63ccf75abacaf2a013d10f97f96d5d5e987d67a8466c25bbb62d69a7c584e49598611f2313070f07eea00e2a

@ -0,0 +1,22 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/exifr/exifr-1.2.1.ebuild,v 1.1 2015/03/03 18:21:31 mrueg Exp $
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
RUBY_FAKEGEM_DOCDIR="doc/api"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc"
inherit ruby-fakegem
DESCRIPTION="A library to read EXIF info from JPEG and TIFF images"
HOMEPAGE="http://exifr.rubyforge.org/"
# License is not specified in source distribution but is in the GitHub
# repository.
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

@ -0,0 +1 @@
DIST hiera-eyaml-plaintext-0.6.gem 5632 SHA256 0b00c3235da1b6c1bdb8fa3d2b0e6e0792ac0dfbe50f6caa686120378c20fa9e SHA512 a6f1ccc5fb7249ae973aac0920b2eb14aa2b3472921cba50f4e9b791107cd5b2245b7d0f7533c66a84caa0a3f4bc1fb044983ba0b0dadd9cc514686dfd62b32c WHIRLPOOL 9eb5b15e67ba023f1fe8b75c58f1403ebd5f285b68cd90c68e3824da334508355bff475f899a3888c09566d8fa865b8647cc4d8be7a112c7b67444f522502675

@ -0,0 +1,21 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hiera-eyaml-plaintext/hiera-eyaml-plaintext-0.6.ebuild,v 1.1 2015/03/04 06:55:44 graaff Exp $
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21"
RUBY_FAKEGEM_TASK_TEST=""
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.md"
inherit ruby-fakegem
DESCRIPTION="A plaintext backend for hiera-eyaml"
HOMEPAGE="https://github.com/gtmtechltd/hiera-eyaml-plaintext"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>sysadmin</herd>
<herd>ruby</herd>
</pkgmetadata>

@ -1 +1,2 @@
DIST hiera-eyaml-2.0.6.gem 27136 SHA256 f8d570650647a176546563967ca2f257cb0835a698f79863e36a1d48939c567c SHA512 50d8d67b9d56d7f56b1e0f029638416489f8f990fa6154003269543d34a9bcc5dbcb58f79be16eecc21e875f1badded8492dfb2b80cd1cb0931837b62129db28 WHIRLPOOL dfda7e6726bf75d8794faa2f95a3f74086d2e690a9d1a02b287794ce24dad36d7dd5547f5c55ce9757260b9a60dcd7cc4f77d7146d4b8b9bf224a6bec5418b77
DIST hiera-eyaml-2.0.7.tar.gz 44480 SHA256 bec3086448c091e61a8f3ed30317a4839ce05659bc99d8eb371019fd3ed63d98 SHA512 f68aa9322799b956178839885352867dbf7332f04d7b0e80d5ba683ddc523885491f693cdf3887bd35dae76fa3c1d96c192ded7e1b216cc4cef5c02c40d8e26e WHIRLPOOL 4a67c04d061c170796aaf8763cfd4312300be4ae896de4c594815816e89813c49d9454aa48cb2c5958a2f62add2eccfc935799adcebfbe6a3847c89e89634f35

@ -0,0 +1,38 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hiera-eyaml/hiera-eyaml-2.0.7.ebuild,v 1.1 2015/03/04 07:10:42 graaff Exp $
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.md CHANGES.md PLUGINS.md"
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
inherit ruby-fakegem
DESCRIPTION="Encrypted YAML backend for hiera"
HOMEPAGE="https://github.com/TomPoulton/hiera-eyaml"
SRC_URI="https://github.com/TomPoulton/hiera-eyaml/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
ruby_add_rdepend ">=dev-ruby/highline-1.6.19"
ruby_add_rdepend "dev-ruby/trollop:2"
ruby_add_bdepend "test? ( dev-util/cucumber dev-ruby/hiera-eyaml-plaintext )"
all_ruby_prepare() {
# Fix highline dependency to be compatible with more versions.
sed -i -e '/highline/ s/~>/>=/' \
-e '/gem.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
}
each_ruby_test() {
${RUBY} -S cucumber --format progress features || die
}

@ -1 +1,2 @@
DIST mysql2-0.3.17.gem 49152 SHA256 c69c5f08532cdd58e5f7dccaad7ac132edaa271dd2c8d69711cf5ce3c8f858e1 SHA512 bf3e818fa6a2396706b5078ab6a426ce22e7a24ca8e0ba310e831ed1887f9d6688084d99af34111f6447f089a2bf1364dd641434b61add9778eed5c4ce2d270e WHIRLPOOL 904e5def78e6a5457b7dfc7a561d7ddb9900f57812bc68b4b52dec3095276b93626198af4b29d648655143e93b210dfd66fa0dba202d16e1ef8d4e03ed93c016
DIST mysql2-0.3.18.gem 50688 SHA256 d35477aaf1a5fc508511af5c521675b8878275ad0af9c12e1cf222b50e285735 SHA512 533cbea6c67ce1d02861d76b18c3a3c74e81a6f4edf0324dfeb29dc9f8a4fb40e5a4e4bc22b973784c1a6ac1862507860b50d5ce7da4aeac6e3a3c260f1fde7d WHIRLPOOL a6685345d5a82c098cbc40d5963d5be3cc0f16738d197cc40ec2a7b375ca578078f177dccfadd8aaee2a8eb85e346f9f097b0bc7af01045ccec3cc44f6226252

@ -0,0 +1,35 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql2/mysql2-0.3.18.ebuild,v 1.1 2015/03/03 18:20:15 mrueg Exp $
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
# Tests require a live MySQL database but should all pass.
RUBY_FAKEGEM_TASK_TEST=""
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.md"
inherit multilib ruby-fakegem
DESCRIPTION="A modern, simple and very fast Mysql library for Ruby - binding to libmysql"
HOMEPAGE="https://github.com/brianmario/mysql2"
LICENSE="MIT"
SLOT="0.3"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE=""
DEPEND="${DEPEND} virtual/mysql[-static]"
RDEPEND="${RDEPEND} virtual/mysql[-static]"
each_ruby_configure() {
${RUBY} -Cext/mysql2 extconf.rb --with-mysql-config "${EPREFIX}/usr/bin/mysqlconfig" || die
}
each_ruby_compile() {
emake V=1 -Cext/mysql2 || die
cp ext/mysql2/mysql2$(get_modname) lib/mysql2/ || die
}

@ -1,2 +1,3 @@
DIST netrc-0.10.2.gem 10752 SHA256 cd51a5780665bc3978fe2a33e1edd7e902218a7edefccc7a918e39f19cdec72d SHA512 044fd610ca9cbf4e7214492d0af7e147084b6349c646f7fb08a9bd2a053b705d4db8462671e11ff160a908bea0d2d3669794f83d7e591635b65dc762464eb003 WHIRLPOOL 27cd333510afee28e82460cd2758b3beedf912a274d8b093c083231ca8b73580f44d34b6db6c36937ec5dfbe19e7d565b6c9ac4d42150e698c711aa21cb116dd
DIST netrc-0.10.3.gem 10752 SHA256 8fa24558ed46e2b2d9a58baa78fd7d11cb7efa3ec7e2ec89a057f76dc3abcce4 SHA512 ba51f2c03496b6b5ebfdcc3a9c1ff47c41961baa50f0aa9ffec487c67fdafe48b810fa28b16c17b9198104b86986b52f43d267c286be3a86018fc59e16481b11 WHIRLPOOL 4b1f70b7193143b77ef34b4163617a3b97c49a3b910dc2a1756da0c703e3ebcd0eaf583679865f3b889f84eff8c5ecf7a50ee66d02ddf51d77b869502e1bdf95
DIST netrc-0.9.0.gem 10240 SHA256 9c8726e3c166cb2f99421639feac44525ce0646c4b01ffb4b41962a63763721c SHA512 da90ef05f47aa956fddd4679f02a5a0c9397f37055efc2c7a738abfad51164a5c9301df7dbe27dbb28e0caaa291dfe5ad414cd2a1598d5803742c58adaca99fd WHIRLPOOL 42726b8ae33a0e53da476f390dec92563ded93e2d5e350467d63b6d88b125b25db2363d398834b8f615e9c110342b175ecdedbde67176ae93005119664de508b

@ -0,0 +1,28 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/netrc/netrc-0.10.3.ebuild,v 1.1 2015/03/03 18:19:49 mrueg Exp $
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
RUBY_FAKEGEM_EXTRADOC="changelog.txt Readme.md"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
inherit ruby-fakegem
DESCRIPTION="This library reads and writes .netrc files"
HOMEPAGE="https://github.com/geemus/netrc"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE=""
all_ruby_prepare() {
sed -e '/test_encrypted_roundtrip/,/^ end/ s:^:#:' -i test/test_netrc.rb || die
}
each_ruby_test() {
${RUBY} -S testrb test/test_*.rb || die
}

@ -1 +1,2 @@
DIST power_assert-0.2.2.gem 12800 SHA256 ea8146b060a4da226f5d4519cb122a6572741f5354b7cc40f74147bcbe033558 SHA512 f1bd1677734375eb03b4b9166ff84e29bd96b25e66751c4a2a305e1d9c4a63de76b7bf152a2af54871b6901230b2d2926a935aece3165a736eee1b7813e92400 WHIRLPOOL bf58578391c9b926cb38eb80d17497311f1bdb818af5f1ebb83e2ae390d594e644a38c2be14b2c49c01213dc530d239f42e40fda6b4484f4a376ef3e54ff3440
DIST power_assert-0.2.3.gem 12800 SHA256 46dd1fa63023372da145d5fe3b58abb42c7e5f3fa4e265b7d2f5438d4e918127 SHA512 5b7604534a9fbdcd8b222d04788b375dcebed170c5c5deff2d671e54dd745474b2162c7c04e670ff8a0abda0acc6863994131f612388c2da4988f8620bb6c26f WHIRLPOOL f7bbe2fb70bc06f48a65cc78601f1fd656d6cf828888ce4e633c2cde1aca15c2ae747b07f873c44f935f51712ae6717c8925081c07163668f130afcd78c436f1

@ -0,0 +1,24 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/power_assert/power_assert-0.2.3.ebuild,v 1.1 2015/03/03 18:16:40 mrueg Exp $
EAPI=5
USE_RUBY="ruby20 ruby21 ruby22"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
inherit ruby-fakegem
DESCRIPTION="Shows each value of variables and method calls in the expression"
HOMEPAGE="https://github.com/k-tsj/power_assert"
LICENSE="|| ( Ruby BSD-2 )"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
SLOT="0"
IUSE=""
all_ruby_prepare() {
sed -i -e '/bundler/d' Rakefile || die
}

@ -1,3 +1,2 @@
DIST rspectacular-0.55.0.gem 18432 SHA256 5c87e79b41fbcd47c0f88e4cdc7b0792e584c2b89ecec11ce396fc8efa0bb341 SHA512 767f574ddb7bcaabc2ed17062a24f0ee98aea0b940e4021a0b1a2fed73aa34b77bf98000c4b84140c05d6078f81eff213865886245e7a8b2f3d57ed82789ccf9 WHIRLPOOL 8d729ab952241e587826729cb05101e2f027c9e9bf86c0e406350c2e50c7dea14e143dff222b6bd4ba2a5dc9364db5539d44213c61cd22b7308a616489603371
DIST rspectacular-0.57.0.gem 18432 SHA256 86df7c463a50aaff9fe4b144a59a0017b1417f18c4ecb9a9e48f646c63edd6df SHA512 c154d9668f981a6647c591ffd96fb2bdc4fa2adf57c8c5e67afa49033136f3587e9a7658f5786ea62ecbca69628cedff4398000542f56633ee10cd4505084f24 WHIRLPOOL e9361a365f57c6025af5fd7ae9683cdf0deae9dddf97501a015fd39d92c0f66a49bd76aae28b5a3d373660760fdd9ead079ed9be8c2bb2212a177e1385634bb4
DIST rspectacular-0.60.0.gem 13824 SHA256 cd920f4265d37127469d2b90084cf95f504239a09d739d637d450d578c93fa90 SHA512 808d90274da2d652bc9a7f7563dad723f544d48f7a0dca47672dc11a57bdba7e262678ec4d3be27720d7128dc3276f422fed9b73a61a960d17732c17eca66a56 WHIRLPOOL e071c2242d3d5991d2423ae67af11bab14d0e08ef109e77e81133f48af6354192cccbe64f4a9e3ff455d15bfee649aaea30099fcb251f3397092da95d1197759
DIST rspectacular-0.61.0.gem 14336 SHA256 fffd8099063f110244314aa87e20058899d8dca15378eb4de21f740c2c0c4f82 SHA512 bdabc855ea9bb0cdcb222de47773be6d9ea2d9208bef416e3ab24195a16fc59b2d1af045b9c59851f87dd3ce7cc0ffe479d9ac5e07f4b5418c530dd3a8f7c922 WHIRLPOOL 0b3d98b3ec2991ce70d0a8d50f769f1715353fb9760ae1a7b23e7f53f7793b6bf702e640eaf95f36b9cb9647570d6c44cac634129dadd21dab6b0954728a19b6

@ -1,24 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspectacular/rspectacular-0.55.0.ebuild,v 1.1 2015/01/25 11:37:09 mrueg Exp $
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21"
RUBY_FAKEGEM_TASK_TEST=""
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_BINWRAP=""
inherit ruby-fakegem
DESCRIPTION="RSpec support and matchers"
HOMEPAGE="https://github.com/thekompanee/rspectacular"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
ruby_add_rdepend ">=dev-ruby/rspec-3.1:3 dev-ruby/fuubar:2"

@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspectacular/rspectacular-0.57.0.ebuild,v 1.1 2015/02/03 21:59:01 mrueg Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspectacular/rspectacular-0.61.0.ebuild,v 1.1 2015/03/03 18:14:32 mrueg Exp $
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21"

@ -3,3 +3,4 @@ DIST sass-3.2.19.gem 261632 SHA256 ddcd7d76d98daa8f3ebbaec196972500a6cf6e854f9c3
DIST sass-3.3.14.gem 315392 SHA256 95435ddef3aee817ef727e3576852e9cb12f7020027c9f2da8a3835f16ec46c1 SHA512 816c3aa7869648b51708a6a3bb14598dffdbb6335db7800ddb789c3f325f58822e2f3031f25f036eca2aabdd5ce8da1507ce58a75d0edcda17b7ae7a3484f39a WHIRLPOOL 544f2cfceff59872737dc9c564be5a328212c714bfbe78fb954511e5a70ad43cf80eac556026b13ea3fc48943d331925d8d2e7bc8954614e0a1b63e42648581e
DIST sass-3.4.10.gem 334848 SHA256 6eb51835b52fe344fe08b077d399d0b6fc96dc16d2d66ac205b1a00601dee12e SHA512 6638007970a7819de934555db785ad560143825ccb6d379035cbbb52393819463ffc2f80d455aa634d06aedaed6be684b106f5233c287527ddfa0aa4e7baca24 WHIRLPOOL 63adc84684b48640476295447acb4b387586b5626e500a4551051c3426bf80e6b08fda69cc0d10ea383c475e76f6064dd78c3a61ec80c9e375d3a925722bd16a
DIST sass-3.4.12.gem 335360 SHA256 8190764889895ebf8e9a8796c2e78c56c1e028ebe3e659ffb03decd97ff34497 SHA512 30c42cc4da2c8c5fddd783ee7edd5b6d15961cff40d32ddbb9d9c256d3f8d6400ae64ca5a8b096ddb21ea1375e12420278aedf5dddba2480bb7b8d6ce23cd525 WHIRLPOOL 3d3831d1d2dd228df785dc365bab2572c7c8d9f7c71375a90823e287d5951138e5f64b47fb7124a04dda93e8236933ed7a1fdbbcc081f9b3a97675ec6c5f1118
DIST sass-3.4.13.gem 335872 SHA256 2f1e913f5845e6d3a6beebca01a25dd703bccde68b19109dbde7e41e4895b373 SHA512 a9a214045f7f3afb7b7a15d8f1f82c813700351454e13bdca061025329c780d2b9b6846ebb097ac75728ea560db940a1dc7d211b53d9c8bd356ddd4d818b9357 WHIRLPOOL 0f0dc24efb927c36109a8f0acf677e3736c5be11202eda72283a65a129b9229a87bfba93d9d0b5d8618a518158e4afad96ca56dd2e0e4ed4487da55bd16d96bb

@ -0,0 +1,40 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sass/sass-3.4.13.ebuild,v 1.1 2015/03/03 18:14:18 mrueg Exp $
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_EXTRAINSTALL="rails init.rb VERSION VERSION_NAME"
inherit ruby-fakegem versionator
DESCRIPTION="An extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more"
HOMEPAGE="http://sass-lang.com/"
LICENSE="MIT"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
SLOT="$(get_version_component_range 1-2)"
IUSE=""
ruby_add_bdepend "doc? ( >=dev-ruby/yard-0.5.3 )"
ruby_add_rdepend ">=dev-ruby/listen-1.3.1 !!<dev-ruby/haml-3.1 !!<dev-ruby/sass-3.2.19-r1:0 !!<dev-ruby/sass-3.3.14-r1:3.3"
# tests could use `less` if we had it
all_ruby_prepare() {
rm -rf vendor/listen || die
# Don't require maruku as markdown provider but let yard decide.
sed -i -e '/maruku/d' .yardopts || die
}
each_ruby_test() {
RUBOCOP=false ${RUBY} -S rake test || die
}

@ -1,2 +1,3 @@
DIST selenium-webdriver-2.43.0.gem 2833920 SHA256 09fe4374d1541cb45403ad1238c2d88129f3afb985218635af087a06c99a521a SHA512 b43c7763e873a8e6f6173b18b35b629652952678e71249f84df03d659c2ee4d368f254ab772250bca6e21984e0b592b9b7f038d5ce6b4c0e658f6e3ccfedfcab WHIRLPOOL f316a9799b4ad9d08e3a9909e7762c86a64627453b80bbe5a6f16e1e6d41ba8ad762703d3e853baddffc592111525e01345cb53e00120015b0557725677e2c82
DIST selenium-webdriver-2.44.0.gem 2834944 SHA256 9c105d14697e339f14d3427bc177e3b2a8fe18710e1879c4666beac60a037519 SHA512 7221df65f83d1635135742716f13ba2f1294ac9981bc73662842da49a8756ecd78446d302241df5f8cda8762f24ff9ce9dab6f1d85f40fad3dd04912197a6e06 WHIRLPOOL b095a6c96c2341786a7a3dec6f08df8d1b1b8d197092b2f84e3edf15f042da7671cf99dee0ae0f53078147b9540a1d08c0b51df93968ca5afe66c8c954780f03
DIST selenium-webdriver-2.45.0.gem 2918912 SHA256 907efd8f8605fe5947ca21c58e13e939f59c9d3afafd8f18b563ec669308d4cc SHA512 dfde3601fb34f343b91ebe5f7e077b0430d022ec9f6da326096d1e45622ce00ffab10e3daf91b1ebeb57d5b960dcabdcc44bf46f55efcf667bc99f2c86b70aa0 WHIRLPOOL 234e5709e2d04942625ab62d3dcde12302a4d54d72d02e0dda3ffca5d005d1ca82875d287e435d59d32510c44a307c5cdd4150382e7be5c973667e11920e1814

@ -0,0 +1,40 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/selenium-webdriver/selenium-webdriver-2.45.0.ebuild,v 1.1 2015/03/03 18:13:20 mrueg Exp $
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21"
# NOTE: this package contains precompiled code. It appears that all
# source code can be found at http://code.google.com/p/selenium/ but the
# repository is not organized in a way so that we can easily rebuild the
# suited shared object. We'll just try our luck with the precompiled
# objects for now.
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="CHANGES README.md"
RUBY_FAKEGEM_TASK_TEST=""
RUBY_QA_ALLOWED_LIBS="x_ignore_nofocus.so"
QA_PREBUILT="*/x_ignore_nofocus.so"
inherit ruby-fakegem
DESCRIPTION="This gem provides Ruby bindings for WebDriver"
HOMEPAGE="http://gemcutter.org/gems/selenium-webdriver"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
ruby_add_rdepend ">=dev-ruby/childprocess-0.5.0
>=dev-ruby/multi_json-1.0.4
dev-ruby/rubyzip:1"
all_ruby_prepare() {
# Make websocket a development dependency since it is only needed
# for the safari driver which we don't support on Gentoo.
sed -i -e '/websocket/,/version_requirements/ s/runtime/development/' ../metadata || die
}

@ -1 +1,2 @@
DIST uglifier-2.7.0.gem 79360 SHA256 d8f5f54ad0297d6faa518388b9c8aa6e226b1848465235d440d420d0a7b235f4 SHA512 e0e97a697f50421c476e29fb9220f872cbb528d175ae1a6d26069041a0958d0146fc69350e91f2b3c3bd5bfb1268f283f2e904c78a8c8a067a246c0038f602df WHIRLPOOL 66758e1812a4df6bf3cbac75480e8908298f241b86d25123399660f46ea7ab38e64971cf9544b0a63e8cd210760390d89ad87dce97ad452dd80963ddb9f85402
DIST uglifier-2.7.1.gem 79360 SHA256 9a5168195314d2b5facc25b40db8eec2d5510b77bc27c85c72427b209adbdda0 SHA512 36725b6b60d0a57160d623604a05d89414bf5c9b5eb0a2d58282dd6b62e34c012d7c25af32f1ea748091000f92a478ff87e228f7eb7e1947eafcd3bb2b4bfd59 WHIRLPOOL ec5af86105f8e87ff081062963fdfdd7b5f0defbef54b0d497fec137905d9fad0889553bf82bf2b18054533d1f01e9ab9852d63a0355a14da75a3255f09ee7bd

@ -0,0 +1,27 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/uglifier/uglifier-2.7.1.ebuild,v 1.1 2015/03/03 18:11:53 mrueg Exp $
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_RECIPE_TEST="rspec"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
inherit ruby-fakegem
DESCRIPTION="Ruby wrapper for UglifyJS JavaScript compressor"
HOMEPAGE="https://github.com/lautis/uglifier"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="test"
ruby_add_rdepend ">=dev-ruby/execjs-0.3.0 >=dev-ruby/json-1.8.0"
ruby_add_bdepend "test? ( dev-ruby/source_map )"

@ -1,3 +1,4 @@
DIST Tcllib-1.16.tar.bz2 6089076 SHA256 033334306d3ffc499c8830d393bf7528227e49c68077b3e9247c4171b15be012 SHA512 5e0656c178c0fae907c101b5324f04ba1bb5c26f4d1015868194dbb393e88a281ecf66bc4701167db24ddb526b87acfd88223e0e9e6db1f9d0ffb919b3372752 WHIRLPOOL 543f5ef8b337eb2c34f90201c829f20cfd3beb0f7dcf146f4d27b66f0b8796bf518d44dad31e2be66857b50a515b5a10ae8e394d6b393e1b202903b6b68f04aa
DIST tcllib-1.15-manpage-rename.patch.xz 3188 SHA256 d86f60e98013fe35a1038247e1992a0afc9314462d693ee10ee30ded501e1869 SHA512 9bcdb6c7dcb492a58e767529a8bb5a2c83912577ae124fec40f3bbd6fb283a4befb2dfc3d7a986b287ba9709bba7261b676d78441c8be0f614f31bc123d81126 WHIRLPOOL 1ac9fd5fddba5adab9560cabb0a5df9a3e0c2bafda861cabb6519bcef2a94c54f2dcd2e04e3b3892cda2c374c0186d7e21e4e435f109a8915eaa507019a53db8
DIST tcllib-1.15-test.patch.xz 3208 SHA256 16fbf7d564f3b0f338d3f21774199738ca0014e4d689b053bef8840023cf8889 SHA512 8b9de181cdc39e0f9361694fb1bb9ee42b3fba269d13e91be31643ce3509c34e3e6b74b043e067dda49d75b6f4a009a79361f7a9ecf4613a509decb3eacf8447 WHIRLPOOL 1b138a1d742e8b7aeb574ec1eb1d7688b9a7bcf469269b4b27004f23f9d7947b9dd4828322739606bd3a9aecc11202d3712f15cd459448f18f6e9a2896911a12
DIST tcllib-1.15.tar.bz2 5030648 SHA256 7a1e27f6d2e625af15d13df6117958815c8482e662a914fc1cbd7f0b0e780e71 SHA512 544b1193266e860eb59a4c313645376bba8488711b2afc629d99d0e719252db79caae73022ae1dc21dc123f949fa8930f81112c3f80328fc83952b64f93ca3c4 WHIRLPOOL 75ef40710859c0f669fdac96ee7ed5d76d6a10081649d890cadc970c21478b2daddd8289853e38239d68ad9aae0dd9ee5ee94827f1bf0e4b5b511134024e062c

@ -0,0 +1,907 @@
modules/html/html.man | 146 +++++++++++++++++-------------
modules/html/html.tcl | 55 +++++++++---
modules/html/html.test | 224 +++++++++++++++++++++++++++++++++++-----------
modules/html/pkgIndex.tcl | 2 +-
4 files changed, 297 insertions(+), 130 deletions(-)
diff --git a/modules/html/html.man b/modules/html/html.man
index efb41fc..f18cf4b 100644
--- a/modules/html/html.man
+++ b/modules/html/html.man
@@ -1,10 +1,19 @@
[comment {-*- tcl -*- doctools manpage}]
-[manpage_begin html n 1.4]
+[vset HTML_VERSION 1.4.4]
+[manpage_begin html n [vset HTML_VERSION]]
+[see_also htmlparse]
+[see_also ncgi]
+[keywords checkbox]
+[keywords checkbutton]
+[keywords form]
+[keywords html]
+[keywords radiobutton]
+[keywords table]
[moddesc {HTML Generation}]
[titledesc {Procedures to generate HTML structures}]
[category {CGI programming}]
[require Tcl 8.2]
-[require html [opt 1.4]]
+[require html [opt [vset HTML_VERSION]]]
[description]
[para]
@@ -26,13 +35,11 @@ for HTML tag parameters.
define an author for the page. The author is noted in a comment in
the HEAD section.
-
[call [cmd ::html::bodyTag] [arg args]]
Generate a [term body] tag. The tag parameters are taken from [arg args] or
from the body.* attributes define with [cmd ::html::init].
-
[call [cmd ::html::cell] [arg {param value}] [opt [arg tag]]]
Generate a [term td] (or [term th]) tag, a value, and a closing
@@ -41,13 +48,11 @@ tag parameters come from [arg param] or TD.* attributes defined with
[cmd ::html::init]. This uses [cmd ::html::font] to insert a standard
[term font] tag into the table cell. The [arg tag] argument defaults to "td".
-
[call [cmd ::html::checkbox] [arg {name value}]]
Generate a [term checkbox] form element with the specified name and value.
This uses [cmd ::html::checkValue].
-
[call [cmd ::html::checkSet] [arg {key sep list}]]
Generate a set of [term checkbox] form elements and associated labels. The
@@ -56,21 +61,18 @@ This uses [cmd ::html::checkbox]. All the [term checkbox] buttons share the
same [arg key] for their name. The [arg sep] is text used to separate
the elements.
-
[call [cmd ::html::checkValue] [arg name] [opt [arg value]]]
-Generate the "name=[arg name] value=[arg value] for a [term checkbox] form
+Generate the "name=[arg name] value=[arg value]" for a [term checkbox] form
element. If the CGI variable [arg name] has the value [arg value],
then SELECTED is added to the return value. [arg value] defaults to
"1".
-
[call [cmd ::html::closeTag]]
Pop a tag off the stack created by [cmd ::html::openTag] and generate
the corresponding close tag (e.g., </body>).
-
[call [cmd ::html::default] [arg key] [opt [arg param]]]
This procedure is used by [cmd ::html::tagParam] to generate the name,
@@ -83,27 +85,23 @@ identified by [arg key]. The [arg key] has the form "tag.parameter"
(e.g., body.bgcolor). Use [cmd ::html::init] to register default
values. [arg param] defaults to the empty string.
-
[call [cmd ::html::description] [arg description]]
[emph {Side effect only}]. Call this before [cmd ::html::head] to
define a description [term meta] tag for the page. This tag is generated
later in the call to [cmd ::html::head].
-
[call [cmd ::html::end]]
Pop all open tags from the stack and generate the corresponding close
HTML tags, (e.g., </body></html>).
-
[call [cmd ::html::eval] [arg arg] [opt [arg args]]]
This procedure is similar to the built-in Tcl [cmd eval] command. The
only difference is that it returns "" so it can be called from an HTML
template file without appending unwanted results.
-
[call [cmd ::html::extractParam] [arg {param key}] [opt [arg varName]]]
This is a parsing procedure that extracts the value of [arg key] from
@@ -115,13 +113,11 @@ parameter was found in [arg param], otherwise it returns 0. If the
[arg varName] is not specified, then [arg key] is used as the variable
name.
-
[call [cmd ::html::font] [arg args]]
Generate a standard [term font] tag. The parameters to the tag are taken
from [arg args] and the HTML defaults defined with [cmd ::html::init].
-
[call [cmd ::html::for] [arg {start test next body}]]
This procedure is similar to the built-in Tcl [cmd for] control
@@ -129,7 +125,6 @@ structure. Rather than evaluating the body, it returns the subst'ed
[arg body]. Each iteration of the loop causes another string to be
concatenated to the result value.
-
[call [cmd ::html::foreach] [arg {varlist1 list1}] [opt [arg {varlist2 list2 ...}]] [arg body]]
This procedure is similar to the built-in Tcl [cmd foreach] control
@@ -137,7 +132,6 @@ structure. Rather than evaluating the body, it returns the subst'ed
[arg body]. Each iteration of the loop causes another string to be
concatenated to the result value.
-
[call [cmd ::html::formValue] [arg name] [opt [arg defvalue]]]
Return a name and value pair, where the value is initialized from
@@ -148,20 +142,17 @@ existing CGI data, if any. The result has this form:
name="fred" value="freds value"
}]
-
[call [cmd ::html::getFormInfo] [arg args]]
Generate hidden fields to capture form values. If [arg args] is
empty, then hidden fields are generated for all CGI values. Otherwise
args is a list of string match patterns for form element names.
-
[call [cmd ::html::getTitle]]
Return the title string, with out the surrounding [term title] tag,
set with a previous call to [cmd ::html::title].
-
[call [cmd ::html::h] [arg {level string}] [opt [arg param]]]
Generate a heading (e.g., [term h[var level]]) tag. The [arg string] is nested in the
@@ -191,28 +182,25 @@ Generate an [term h5] tag. See [cmd ::html::h].
Generate an [term h6] tag. See [cmd ::html::h].
-
[call [cmd ::html::hdrRow] [arg args]]
Generate a table row, including [term tr] and [term th] tags.
Each value in [arg args] is place into its own table cell.
This uses [cmd ::html::cell].
-
[call [cmd ::html::head] [arg title]]
Generate the [term head] section that includes the page [term title].
If previous calls have been made to
-[cmd ::html::author],
-[cmd ::html::keywords],
-[cmd ::html::description],
+[cmd ::html::author],
+[cmd ::html::keywords],
+[cmd ::html::description],
or
[cmd ::html::meta]
then additional tags are inserted into the [term head] section.
This leaves an open [term html] tag pushed on the stack with
[cmd ::html::openTag].
-
[call [cmd ::html::headTag] [arg string]]
Save a tag for inclusion in the [term head] section generated by
@@ -220,13 +208,11 @@ Save a tag for inclusion in the [term head] section generated by
[cmd ::html::head]. The [arg string] is everything in the tag except
the enclosing angle brackets, < >.
-
[call [cmd ::html::html_entities] [arg string]]
This command replaces all special characters in the [arg string] with
their HTML entities and returns the modified text.
-
[call [cmd ::html::if] [arg {expr1 body1}] [opt "[const elseif] [arg {expr2 body2 ...}]"] [opt "[const else] [arg bodyN]"]]
This procedure is similar to the built-in Tcl [cmd if] control
@@ -235,7 +221,6 @@ taken, it returns the subst'ed [arg body]. Note that the syntax is
slightly more restrictive than that of the built-in Tcl [cmd if]
control structure.
-
[call [cmd ::html::init] [opt [arg list]]]
[cmd ::html::init] accepts a Tcl-style name-value list that defines
@@ -243,19 +228,16 @@ values for items with a name of the form "tag.parameter". For
example, a default with key "body.bgcolor" defines the background
color for the [term body] tag.
-
[call [cmd ::html::keywords] [arg args]]
[emph {Side effect only}]. Call this before [cmd ::html::head] to
define a keyword [term meta] tag for the page. The [term meta] tag
is included in the result of [cmd ::html::head].
-
[call [cmd ::html::mailto] [arg email] [opt [arg subject]]]
Generate a hypertext link to a mailto: URL.
-
[call [cmd ::html::meta] [arg args]]
[emph {Side effect only}]. Call this before [cmd ::html::head] to
@@ -264,6 +246,50 @@ value list that is used for the name= and value= parameters for the
[term meta] tag. The [term meta] tag is included in the result of
[cmd ::html::head].
+[call [cmd ::html::css] [arg href]]
+
+[emph {Side effect only}]. Call this before [cmd ::html::head] to
+define a [term link] tag for a linked CSS document. The [arg href]
+value is a HTTP URL to a CSS document. The [term link] tag is included
+in the result of [cmd ::html::head].
+
+[para]
+
+Multiple calls of this command are allowed, enabling the use of
+multiple CSS document references. In other words, the arguments
+of multiple calls are accumulated, and do not overwrite each other.
+
+[call [cmd ::html::css-clear]]
+
+[emph {Side effect only}]. Call this before [cmd ::html::head] to
+clear all links to CSS documents.
+[para]
+
+Multiple calls of this command are allowed, doing nothing after the
+first of a sequence with no intervening [cmd ::html::css].
+
+[call [cmd ::html::js] [arg href]]
+
+[emph {Side effect only}]. Call this before [cmd ::html::head] to
+define a [term script] tag for a linked JavaScript document. The
+[arg href] is a HTTP URL to a JavaScript document. The [term script]
+tag is included in the result of [cmd ::html::head].
+
+[para]
+
+Multiple calls of this command are allowed, enabling the use of
+multiple JavaScript document references. In other words, the arguments
+of multiple calls are accumulated, and do not overwrite each other.
+
+
+[call [cmd ::html::js-clear]]
+
+[emph {Side effect only}]. Call this before [cmd ::html::head] to
+clear all links to JavaScript documents.
+[para]
+
+Multiple calls of this command are allowed, doing nothing after the
+first of a sequence with no intervening [cmd ::html::js].
[call [cmd ::html::minorList] [arg list] [opt [arg ordered]]]
@@ -273,20 +299,17 @@ Tcl-style name, value list of labels and urls for the links.
[arg ordered] is a boolean used to choose between an ordered or
unordered list. It defaults to [const false].
-
[call [cmd ::html::minorMenu] [arg list] [opt [arg sep]]]
Generate a series of hypertext links. The [arg list] is a Tcl-style
name, value list of labels and urls for the links. The [arg sep] is
the text to put between each link. It defaults to " | ".
-
[call [cmd ::html::nl2br] [arg string]]
This command replaces all line-endings in the [arg string] with a
[term br] tag and returns the modified text.
-
[call [cmd ::html::openTag] [arg tag] [opt [arg param]]]
Push [arg tag] onto a stack and generate the opening tag for
@@ -295,7 +318,6 @@ stack. The second argument provides any tag arguments, as a
list whose elements are formatted to be in the form
"[var key]=[const value]".
-
[call [cmd ::html::paramRow] [arg list] [opt [arg rparam]] [opt [arg cparam]]]
Generate a table row, including [term tr] and [term td] tags. Each value in
@@ -306,25 +328,21 @@ Generate a table row, including [term tr] and [term td] tags. Each value in
the [term tr] tag. The value of [arg cparam] is passed to [cmd ::html::cell]
as parameter for the [term td] tags.
-
[call [cmd ::html::passwordInput] [opt [arg name]]]
Generate an [term input] tag of type [term password]. The [arg name] defaults to
"password".
-
[call [cmd ::html::passwordInputRow] [arg label] [opt [arg name]]]
Format a table row containing a label and an [term input] tag of type
[term password]. The [arg name] defaults to "password".
-
[call [cmd ::html::quoteFormValue] [arg value]]
Quote special characters in [arg value] by replacing them with HTML
entities for quotes, ampersand, and angle brackets.
-
[call [cmd ::html::radioSet] [arg {key sep list}]]
Generate a set of [term input] tags of type [term radio] and an associated text
@@ -332,14 +350,12 @@ label. All the radio buttons share the same [arg key] for their name.
The [arg sep] is text used to separate the elements. The [arg list]
is a Tcl-style label, value list.
-
[call [cmd ::html::radioValue] [arg {name value}]]
-Generate the "name=[arg name] value=[arg value] for a [term radio] form
+Generate the "name=[arg name] value=[arg value]" for a [term radio] form
element. If the CGI variable [arg name] has the value [arg value],
then SELECTED is added to the return value.
-
[call [cmd ::html::refresh] [arg {seconds url}]]
Set up a refresh [term meta] tag. Call this before [cmd ::html::head] and the
@@ -347,7 +363,6 @@ HEAD section will contain a [term meta] tag that causes the document to
refresh in [arg seconds] seconds. The [arg url] is optional. If
specified, it specifies a new page to load after the refresh interval.
-
[call [cmd ::html::row] [arg args]]
Generate a table row, including [term tr] and [term td] tags. Each value in
@@ -355,14 +370,12 @@ Generate a table row, including [term tr] and [term td] tags. Each value in
[cmd ::html::cell]. Ignores any default information set up via
[cmd ::html::init].
-
[call [cmd ::html::select] [arg {name param choices}] [opt [arg current]]]
Generate a [term select] form element and nested [term option] tags. The [arg name]
and [arg param] are used to generate the [term select] tag. The [arg choices]
list is a Tcl-style name, value list.
-
[call [cmd ::html::selectPlain] [arg {name param choices}] [opt [arg current]]]
Like [cmd ::html::select] except that [arg choices] is a Tcl list of
@@ -376,12 +389,10 @@ main difference is that it returns "" so it can be called from an HTML
template file without appending unwanted results. The other
difference is that it must take two arguments.
-
[call [cmd ::html::submit] [arg label] [opt [arg name]]]
Generate an [term input] tag of type [term submit]. [arg name] defaults to "submit".
-
[call [cmd ::html::tableFromArray] [arg arrname] [opt [arg param]] [opt [arg pat]]]
Generate a two-column [term table] and nested rows to display a Tcl array. The
@@ -404,7 +415,6 @@ pre-formatted string.
Generate a [term textarea] tag wrapped around its current values.
-
[call [cmd ::html::textInput] [arg {name value args}]]
Generate an [term input] form tag with type [term text]. This uses
@@ -412,7 +422,6 @@ Generate an [term input] form tag with type [term text]. This uses
[cmd ::html::formValue]. The args is any additional tag attributes
you want to put into the [term input] tag.
-
[call [cmd ::html::textInputRow] [arg {label name value args}]]
Generate an [term input] form tag with type [term text] formatted into a table row
@@ -431,7 +440,6 @@ define the [term title] for a page.
This returns 1 if the named variable either does not exist or has the
empty string for its value.
-
[call [cmd ::html::while] [arg {test body}]]
This procedure is similar to the built-in Tcl [cmd while] control
@@ -439,20 +447,30 @@ structure. Rather than evaluating the body, it returns the subst'ed
[arg body]. Each iteration of the loop causes another string to be
concatenated to the result value.
-[list_end]
-
-[section {BUGS, IDEAS, FEEDBACK}]
-
-This document, and the package it describes, will undoubtedly contain
-bugs and other problems.
+[call [cmd ::html::doctype] [arg id]]
-Please report such in the category [emph html] of the
-[uri {http://sourceforge.net/tracker/?group_id=12883} {Tcllib SF Trackers}].
+This procedure can be used to build the standard DOCTYPE
+declaration string. It will return the standard declaration
+string for the id, or throw an error if the id is not known.
+The following id's are defined:
-Please also report any ideas for enhancements you may have for either
-package and/or documentation.
+[list_begin enumerated]
+[enum] HTML32
+[enum] HTML40
+[enum] HTML40T
+[enum] HTML40F
+[enum] HTML401
+[enum] HTML401T
+[enum] HTML401F
+[enum] XHTML10S
+[enum] XHTML10T
+[enum] XHTML10F
+[enum] XHTML11
+[enum] XHTMLB
+[list_end]
+[list_end]
-[see_also ncgi htmlparse]
-[keywords html form table checkbox radiobutton checkbutton]
+[vset CATEGORY html]
+[include ../doctools2base/include/feedback.inc]
[manpage_end]
diff --git a/modules/html/html.tcl b/modules/html/html.tcl
index 77e517e..3c0c443 100644
--- a/modules/html/html.tcl
+++ b/modules/html/html.tcl
@@ -15,7 +15,7 @@
package require Tcl 8.2
package require ncgi
-package provide html 1.4
+package provide html 1.4.4
namespace eval ::html {
@@ -510,7 +510,7 @@ proc ::html::refresh {content {url {}}} {
::if {[string length $url]} {
append html "; url=$url"
}
- append html "\">\n"
+ append html "\">"
lappend page(meta) $html
return ""
}
@@ -912,7 +912,7 @@ proc ::html::selectPlain {name param choices {current {}}} {
# The html fragment
proc ::html::textarea {name {param {}} {current {}}} {
- ::set value [ncgi::value $name $current]
+ ::set value [quoteFormValue [ncgi::value $name $current]]
return "<[string trimright \
"textarea name=\"$name\"\
[tagParam textarea $param]"]>$value</textarea>\n"
@@ -1405,7 +1405,7 @@ proc ::html::html_entities {s} {
# The text with <br> in place of line-endings.
proc ::html::nl2br {s} {
- return [string map [list \n\r <br> \n <br> \r <br>] $s]
+ return [string map [list \n\r <br> \r\n <br> \n <br> \r <br>] $s]
}
# ::html::doctype
@@ -1419,9 +1419,10 @@ proc ::html::nl2br {s} {
proc ::html::doctype {arg} {
variable doctypes
- set code [string toupper $arg]
- if {![info exists doctypes($code)]} {
- return -code error "Unknown doctype \"$arg\""
+ ::set code [string toupper $arg]
+ ::if {![info exists doctypes($code)]} {
+ return -code error -errorcode {HTML DOCTYPE BAD} \
+ "Unknown doctype \"$arg\""
}
return $doctypes($code)
}
@@ -1451,12 +1452,26 @@ namespace eval ::html {
# href The location of the css file to include the filename and path
#
# Results:
-# HTML for the section
+# None.
proc ::html::css {href} {
variable page
- set page(css) \
- "<link rel=\"stylesheet\" type=\"text/css\" href=\"[quoteFormValue $href]\">\n"
+ lappend page(css) "<link rel=\"stylesheet\" type=\"text/css\" href=\"[quoteFormValue $href]\">"
+ return
+}
+
+# ::html::css-clear
+# Drop all text/css references.
+#
+# Arguments:
+# None.
+#
+# Results:
+# None.
+
+proc ::html::css-clear {} {
+ variable page
+ catch { unset page(css) }
return
}
@@ -1467,11 +1482,25 @@ proc ::html::css {href} {
# href The location of the javascript file to include the filename and path
#
# Results:
-# HTML for the section
+# None.
proc ::html::js {href} {
variable page
- set page(js) \
- "<script language=\"javascript\" type=\"text/javascript\" src=\"[quoteFormValue $href]\"></script>\n"
+ lappend page(js) "<script language=\"javascript\" type=\"text/javascript\" src=\"[quoteFormValue $href]\"></script>"
+ return
+}
+
+# ::html::js-clear
+# Drop all text/javascript references.
+#
+# Arguments:
+# None.
+#
+# Results:
+# None.
+
+proc ::html::js-clear {} {
+ variable page
+ catch { unset page(js) }
return
}
diff --git a/modules/html/html.test b/modules/html/html.test
index 7a03c54..6646fb6 100644
--- a/modules/html/html.test
+++ b/modules/html/html.test
@@ -17,8 +17,8 @@ source [file join \
[file dirname [file dirname [file join [pwd] [info script]]]] \
devtools testutilities.tcl]
-testsNeedTcl 8.2
-testsNeedTcltest 1.0
+testsNeedTcl 8.4
+testsNeedTcltest 2.0
testing {
useLocal html.tcl html
@@ -26,45 +26,46 @@ testing {
# -------------------------------------------------------------------------
-test html-1.1 {html::init} {
+test html-1.1 {html::init} -body {
html::init
- list [array exists html::defaults] \
- [array size html::defaults] \
- [info exists html::page]
-} {1 0 0}
+ list \
+ [array exists html::defaults] \
+ [array size html::defaults] \
+ [info exists html::page]
+} -result {1 0 0}
-test html-1.2 {html::init} {
+test html-1.2 {html::init} -body {
html::init {
font.face arial
body.bgcolor white
body.text black
}
lsort [array names html::defaults]
-} {body.bgcolor body.text font.face}
+} -result {body.bgcolor body.text font.face}
-test html-1.3 {html::init} {
- catch {html::init wrong num args}
-} 1
+test html-1.3 {html::init, too many args} -body {
+ html::init wrong num args
+} -returnCodes error -result {wrong # args: should be "html::init ?nvlist?"}
-test html-1.4 {html::init} {
- catch {html::init {wrong num args}}
-} 1
+test html-1.4 {html::init, bad arg, odd-length list} -body {
+ html::init {wrong num args}
+} -returnCodes error -result {list must have an even number of elements}
-test html-2.1 {html::head} {
- catch {html::head}
-} 1
+test html-2.1 {html::head, not enough args} -body {
+ html::head
+} -returnCodes error -result {wrong # args: should be "html::head title"}
-test html-2.2 {html::head} {
+test html-2.2 {html::head} -body {
html::head "The Title"
-} "<html><head>\n\t<title>The Title</title>\n</head>\n"
+} -result "<html><head>\n\t<title>The Title</title>\n</head>\n"
-test html-2.3 {html::head} {
+test html-2.3 {html::head} -body {
html::description "The Description"
html::keywords key word
html::author "Cathy Coder"
html::meta metakey metavalue
html::head "The Title"
-} {<html><head>
+} -result {<html><head>
<title>The Title</title>
<!-- Cathy Coder -->
<meta name="description" content="The Description">
@@ -73,24 +74,24 @@ test html-2.3 {html::head} {
</head>
}
-test html-3.1 {html::title} {
- catch html::title
-} 1
+test html-3.1 {html::title, not enough args} -body {
+ html::title
+} -returnCodes error -result {wrong # args: should be "html::title title"}
-test html-3.2 {html::title} {
+test html-3.2 {html::title} -body {
html::title "blah blah"
-} "<title>blah blah</title>\n"
+} -result "<title>blah blah</title>\n"
-test html-4.1 {html::getTitle} {
+test html-4.1 {html::getTitle} -body {
html::init
html::getTitle
-} ""
+} -result ""
-test html-4.2 {html::getTitle} {
+test html-4.2 {html::getTitle} -body {
html::init
html::title "blah blah"
html::getTitle
-} {blah blah}
+} -result {blah blah}
test html-5.1 {html::meta} {
html::init
@@ -453,6 +454,18 @@ test html-23.2 {html::textarea} {
} {<textarea name="info" cols="50" rows="8">The textarea value.</textarea>
}
+test html-23.3 {html::textarea, dangerous input} {
+ html::init {
+ textarea.cols 50
+ textarea.rows 8
+ }
+ ncgi::reset info=[ncgi::encode "</textarea><script>alert(1)</script>"]
+ ncgi::parse
+ html::textarea info
+} {<textarea name="info" cols="50" rows="8">&lt;/textarea&gt;&lt;script&gt;alert(1)&lt;/script&gt;</textarea>
+}
+
+
test html-24.1 {html::submit} {
catch {html::submit}
} {1}
@@ -516,7 +529,6 @@ test html-26.4 {html::refresh} {
} {<html><head>
<title>title</title>
<meta http-equiv="Refresh" content="4">
-
</head>
}
test html-26.5 {html::refresh} {
@@ -526,7 +538,6 @@ test html-26.5 {html::refresh} {
} {<html><head>
<title>title</title>
<meta http-equiv="Refresh" content="9; url=http://www.scriptics.com">
-
</head>
}
@@ -794,6 +805,7 @@ test html-32.1 {single argument} {
set result [html::eval {set x [format 22]}]
list $result $x
} {{} 22}
+
test html-32.2 {multiple arguments} {
set a {$b}
set b xyzzy
@@ -801,38 +813,146 @@ test html-32.2 {multiple arguments} {
set result [html::eval {set x [eval format $a]}]
list $result $x
} {{} xyzzy}
+
test html-32.3 {single argument} {
set x [list]
set y 1
set result [html::eval lappend x a b c d {$y} e f g]
list $result $x
} {{} {a b c d 1 e f g}}
-test html-32.4 {error: not enough arguments} {catch html::eval} 1
-test html-32.5 {error: not enough arguments} {
- catch html::eval msg
- set msg
-} {wrong # args: should be "uplevel ?level? command ?arg ...?"}
-test html-32.6 {error in eval'ed command} {
- catch {html::eval {error "test error"}}
-} 1
-test html-32.7 {error in eval'ed command} {
- catch {html::eval {error "test error"}} msg
- set msg
-} {test error}
+test html-32.4 {error: not enough arguments} -body {
+ html::eval
+} -returnCodes error -result {wrong # args: should be "uplevel ?level? command ?arg ...?"}
-test html-33.0 {html::font} {
+test html-32.6 {error in eval'ed command} -body {
+ html::eval {error "test error"}
+} -returnCodes error -result {test error}
+
+test html-33.0 {html::font} -body {
html::font
-} {}
+} -result {}
-test html-33.1 {html::font} {
+test html-33.1 {html::font} -body {
html::font size=18
-} {<font size=18>}
+} -result {<font size=18>}
-
-test html-34.0 {html::nl2br} {
+test html-34.0 {html::nl2br} -body {
html::nl2br "a\n\rb\nc\rd"
-} {a<br>b<br>c<br>d}
+} -result {a<br>b<br>c<br>d}
+test html-34.1 {html::nl2br, ticket 1742078} -body {
+ html::nl2br "a\r\nb"
+} -result {a<br>b}
+# -------------------------------------------------------------------------
+
+test html-tkt3439702-35.0 {html::css, not enough arguments} -body {
+ html::css
+} -returnCodes error -result {wrong # args: should be "html::css href"}
+
+test html-tkt3439702-35.1 {html::css, too many arguments} -body {
+ html::css REF X
+} -returnCodes error -result {wrong # args: should be "html::css href"}
+
+test html-tkt3439702-35.2 {html::css, single ref} -setup {
+ html::css-clear
+} -body {
+ html::css "http://test.css"
+ string trim [html::head T]
+} -cleanup {
+ html::css-clear
+} -result "<html><head>\n\t<title>T</title>\n\t<meta http-equiv=\"Refresh\" content=\"9; url=http://www.scriptics.com\">\n\t<link rel=\"stylesheet\" type=\"text/css\" href=\"http://test.css\">\n</head>"
+
+test html-tkt3439702-35.3 {html::css, multiple ref} -setup {
+ html::css-clear
+} -body {
+ html::css "http://test1.css"
+ html::css "http://test2.css"
+ string trim [html::head T]
+} -cleanup {
+ html::css-clear
+} -result {<html><head>
+ <title>T</title>
+ <meta http-equiv="Refresh" content="9; url=http://www.scriptics.com">
+ <link rel="stylesheet" type="text/css" href="http://test1.css">
+ <link rel="stylesheet" type="text/css" href="http://test2.css">
+</head>}
+
+# -------------------------------------------------------------------------
+
+test html-tkt3439702-36.0 {html::js, not enough arguments} -body {
+ html::js
+} -returnCodes error -result {wrong # args: should be "html::js href"}
+
+test html-tkt3439702-36.1 {html::js, too many arguments} -body {
+ html::js REF X
+} -returnCodes error -result {wrong # args: should be "html::js href"}
+
+test html-tkt3439702-36.2 {html::js, single ref} -setup {
+ html::js-clear
+} -body {
+ html::js "http://test.js"
+ string trim [html::head T]
+} -cleanup {
+ html::js-clear
+} -result {<html><head>
+ <title>T</title>
+ <meta http-equiv="Refresh" content="9; url=http://www.scriptics.com">
+ <script language="javascript" type="text/javascript" src="http://test.js"></script>
+</head>}
+
+test html-tkt3439702-36.3 {html::js, multiple ref} -setup {
+ html::js-clear
+} -body {
+ html::js "http://test1.js"
+ html::js "http://test2.js"
+ string trim [html::head T]
+} -cleanup {
+ html::js-clear
+} -result {<html><head>
+ <title>T</title>
+ <meta http-equiv="Refresh" content="9; url=http://www.scriptics.com">
+ <script language="javascript" type="text/javascript" src="http://test1.js"></script>
+ <script language="javascript" type="text/javascript" src="http://test2.js"></script>
+</head>}
+
+test html-tkt3439702-37.0 {html::js, html::css, mixed} -setup {
+ html::css-clear
+ html::js-clear
+} -body {
+ html::css "http://test.css"
+ html::js "http://test.js"
+ string trim [html::head T]
+} -cleanup {
+ html::js-clear
+ html::css-clear
+} -result {<html><head>
+ <title>T</title>
+ <meta http-equiv="Refresh" content="9; url=http://www.scriptics.com">
+ <link rel="stylesheet" type="text/css" href="http://test.css">
+ <script language="javascript" type="text/javascript" src="http://test.js"></script>
+</head>}
+
+# -------------------------------------------------------------------------
+# TODO: html::css-clear, html::js-clear
+
+
+test html-tktafe4366e2e-38.0 {html::doctype, not enough args} -body {
+ html::doctype
+} -returnCodes error -result {wrong # args: should be "html::doctype arg"}
+
+test html-tktafe4366e2e-38.1 {html::doctype, too many args} -body {
+ html::doctype HTML401T X
+} -returnCodes error -result {wrong # args: should be "html::doctype arg"}
+
+test html-tktafe4366e2e-38.2 {html::doctype, unknown type} -body {
+ html::doctype HTML401TXXX
+} -returnCodes error -result {Unknown doctype "HTML401TXXX"}
+
+test html-tktafe4366e2e-38.3 {html::doctype} -body {
+ html::doctype HTML401T
+} -result {<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">}
+
+# -------------------------------------------------------------------------
testsuiteCleanup
diff --git a/modules/html/pkgIndex.tcl b/modules/html/pkgIndex.tcl
index 88a71b2..9d91097 100644
--- a/modules/html/pkgIndex.tcl
+++ b/modules/html/pkgIndex.tcl
@@ -1,2 +1,2 @@
if {![package vsatisfies [package provide Tcl] 8.2]} {return}
-package ifneeded html 1.4 [list source [file join $dir html.tcl]]
+package ifneeded html 1.4.4 [list source [file join $dir html.tcl]]

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

Loading…
Cancel
Save