Sync with portage [Sat Apr 23 22:16:46 MSK 2016].

mhiretskiy 308
root 8 years ago
parent 048844a99b
commit 388aab289c

@ -3,8 +3,7 @@
<pkgmetadata>
<maintainer type="person">
<email>gokturk@binghamton.edu</email>
<name>Gokturk 'gokturk' Yuksek</name>
<description>Proxied maintainer; set to assignee in all bugs</description>
<name>Göktürk Yüksek</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>

@ -12,7 +12,7 @@ KEYWORDS="amd64 ppc x86"
IUSE=""
DEPEND="app-arch/tar"
RDEPEND="dev-perl/Time-modules
RDEPEND="dev-perl/Time-ParseDate
dev-perl/Time-Period
>=net-misc/rsync-2.5.7"

@ -4,17 +4,14 @@
<maintainer type="person">
<email>gokturk@binghamton.edu</email>
<name>Göktürk Yüksek</name>
<description>please assign bugs to</description>
</maintainer>
<maintainer type="person">
<email>bircoph@gentoo.org</email>
<name>Andrew Savchenko</name>
<description>please CC on bugs</description>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
<description>please CC on bugs</description>
</maintainer>
<longdescription>
Bonnie++ is based on the Bonnie hard drive benchmark by Tim Bray. This

@ -4,17 +4,14 @@
<maintainer type="person">
<email>gokturk@binghamton.edu</email>
<name>Göktürk Yüksek</name>
<description>please assign bugs to</description>
</maintainer>
<maintainer type="person">
<email>bircoph@gentoo.org</email>
<name>Andrew Savchenko</name>
<description>please CC on bugs</description>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
<description>please CC on bugs</description>
</maintainer>
<use>
<flag name="auto-completion">

@ -15,7 +15,7 @@ SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz"
LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="doc +keyutils libressl openldap +pkinit selinux +threads test xinetd"
CDEPEND="

@ -15,3 +15,7 @@ IUSE=""
RDEPEND=""
DEPEND=""
src_install() {
DESTDIR="${D}" PREFIX="/usr" emake install
}

@ -1,4 +1,5 @@
DIST emacs-25.0.50_pre20151113.tar.xz 26904832 SHA256 dcfd575afa3123bd63eba12b2ae2c7d1390c8fbccc911e9a4a70028feb207240 SHA512 cc8e871e9bb236ffd99ea93750aabc55401cdfad171f56df81c3127fba41b223196d31a64baf597268805b39015df773587e239192870f70671d131d9c6fc9b8 WHIRLPOOL 9571b10e49c028e4f8a10a54fce10bea16ff9b726e8a266650af180a57a370d225ac3bdffc12828c6d170680e514c9fb1179b3676dd4d4de3e6794147dc935ab
DIST emacs-25.0.90.tar.xz 42218556 SHA256 325f275b64eee106ad9aaadb42243619822e5e59bee35645f15e015176adb626 SHA512 7fdc73bc62aa3d4456faaeedf5a121fbad3363dfb20d7564308012ffb49ea96af623ae291a245ab3228457942fea7f4a872695b57befc77bbaf8478a5124f577 WHIRLPOOL 4c566e40269aecf61ca1f3055d023fa4138f6a31436a7d7f2459b39818d33ae7d49e55719179239bd3d60936a85a83f062c2bc635fe8b3fa601749019bb17daa
DIST emacs-25.0.92.tar.xz 42264752 SHA256 c29733959ae2c6a7c1d5f9465b4d06c93977cc1f3905313d992051a16590568e SHA512 7bfacb4a27f2fdff0e7e4f373d1dfe885f7505edbd11b6a907b834decb2e4dd2e23e7ab48ac5427430507708dbcae5108434223a58ac43b33b3808c3dfe81bd9 WHIRLPOOL 26f937b8cd8bd87f61636f6193af9eecba9430cd01821015767c8800b9ad7ba61834215a8f8f382ae3eb0e60667fd10d94947980866b555028f24582f3a3dc8b
DIST emacs-25.0.93.tar.xz 42515636 SHA256 b39199a491ce53f8b8a5b74fe6f1f191257e424f3ba047b3098ff9218e1579f1 SHA512 a9d2ba7af5389a8f4f3db5579bd034dfd57039089181ab227c7f411fa47341b7533d0faa293c938dc45c58764644c01531bd28cdaf9e2e6b59dd5acaf4da33d2 WHIRLPOOL d45bf6a46d516bac74dbfebae272aa7f82983d9ef00b4020dbf80dc52476f577e4bfbb0b6adbb9733c74794d181825ff6b915f14a399c8f746cdd4cdb167e018
DIST emacs-25.1.50_pre20160130.tar.xz 26974200 SHA256 6ceeb4bd0eba8d6dcbec8068f65c8c9c6e9879cf7dee2e98f93c99d91ab6e75c SHA512 27622940b9b1d54385a2b8d66229d2bbdbc62548c1b6f074e6db3a702bcaeac567ec97a29b4311969a9d1fbb7d693ed353afbed898a239f7d8270530509b9cea WHIRLPOOL 760053301a6aea281ed2e9e5c8ed2c638f16118e7d2808a9b8cf018093026bddebc29eb641eb30dda4c3c6fb725cc2f58cb615f46230ba666daf183694abb7e0

@ -0,0 +1,387 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit autotools elisp-common flag-o-matic multilib readme.gentoo-r1
if [[ ${PV##*.} = 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="git://git.sv.gnu.org/emacs.git"
EGIT_BRANCH="emacs-25"
EGIT_CHECKOUT_DIR="${WORKDIR}/emacs"
S="${EGIT_CHECKOUT_DIR}"
else
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/emacs-${PV}.tar.xz
mirror://gnu-alpha/emacs/pretest/emacs-${PV}.tar.xz"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
# FULL_VERSION keeps the full version number, which is needed in
# order to determine some path information correctly for copy/move
# operations later on
FULL_VERSION="${PV%%_*}"
S="${WORKDIR}/emacs-${FULL_VERSION}"
[[ ${FULL_VERSION} != ${PV} ]] && S="${WORKDIR}/emacs"
fi
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
HOMEPAGE="https://www.gnu.org/software/emacs/"
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
SLOT="25"
IUSE="acl alsa aqua athena cairo dbus games gconf gfile gif gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source ssl svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
REQUIRED_USE="?? ( aqua X )"
RDEPEND="sys-libs/ncurses:0
>=app-eselect/eselect-emacs-1.16
>=app-emacs/emacs-common-gentoo-1.5[games?,X?]
net-libs/liblockfile
acl? ( virtual/acl )
alsa? ( media-libs/alsa-lib )
dbus? ( sys-apps/dbus )
gpm? ( sys-libs/gpm )
hesiod? ( net-dns/hesiod )
!inotify? ( gfile? ( >=dev-libs/glib-2.28.6 ) )
kerberos? ( virtual/krb5 )
libxml2? ( >=dev-libs/libxml2-2.2.0 )
selinux? ( sys-libs/libselinux )
ssl? ( net-libs/gnutls )
zlib? ( sys-libs/zlib )
X? (
x11-libs/libXmu
x11-libs/libXt
x11-misc/xbitmaps
gconf? ( >=gnome-base/gconf-2.26.2 )
gsettings? ( >=dev-libs/glib-2.28.6 )
gif? ( media-libs/giflib:0= )
jpeg? ( virtual/jpeg:0= )
png? ( >=media-libs/libpng-1.4:0= )
svg? ( >=gnome-base/librsvg-2.0 )
tiff? ( media-libs/tiff:0 )
xpm? ( x11-libs/libXpm )
imagemagick? ( >=media-gfx/imagemagick-6.6.2 )
xft? (
media-libs/fontconfig
media-libs/freetype
x11-libs/libXft
cairo? ( >=x11-libs/cairo-1.12.18 )
m17n-lib? (
>=dev-libs/libotf-0.9.4
>=dev-libs/m17n-lib-1.5.1
)
)
gtk? (
xwidgets? (
x11-libs/gtk+:3
net-libs/webkit-gtk:3=
)
!xwidgets? (
gtk3? ( x11-libs/gtk+:3 )
!gtk3? ( x11-libs/gtk+:2 )
)
)
!gtk? (
motif? ( >=x11-libs/motif-2.3:0 )
!motif? (
Xaw3d? ( x11-libs/libXaw3d )
!Xaw3d? ( athena? ( x11-libs/libXaw ) )
)
)
)"
DEPEND="${RDEPEND}
virtual/pkgconfig
gzip-el? ( app-arch/gzip )
pax_kernel? (
sys-apps/attr
sys-apps/paxctl
)"
if [[ ${PV##*.} = 9999 ]]; then
DEPEND="${DEPEND}
sys-apps/texinfo"
fi
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
SITEFILE="20${PN}-${SLOT}-gentoo.el"
src_prepare() {
if [[ ${PV##*.} = 9999 ]]; then
FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[ \t]*\([^ \t,)]*\).*/\1/p' \
configure.ac)
[[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version"
einfo "Emacs branch: ${EGIT_BRANCH}"
einfo "Commit: ${EGIT_VERSION}"
einfo "Emacs version number: ${FULL_VERSION}"
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
|| die "Upstream version number changed to ${FULL_VERSION}"
fi
eapply_user
# Fix filename reference in redirected man page
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
|| die "unable to sed ctags.1"
AT_M4DIR=m4 eautoreconf
}
src_configure() {
strip-flags
filter-flags -pie #526948
if use sh; then
replace-flags "-O[1-9]" -O0 #262359
elif use ia64; then
replace-flags "-O[2-9]" -O1 #325373
else
replace-flags "-O[3-9]" -O2
fi
local myconf
if use alsa; then
use sound || ewarn \
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
myconf+=" --with-sound=alsa"
else
myconf+=" --with-sound=$(usex sound oss)"
fi
if use X; then
myconf+=" --with-x --without-ns"
myconf+=" $(use_with gconf)"
myconf+=" $(use_with gsettings)"
myconf+=" $(use_with toolkit-scroll-bars)"
myconf+=" $(use_with gif)"
myconf+=" $(use_with jpeg)"
myconf+=" $(use_with png)"
myconf+=" $(use_with svg rsvg)"
myconf+=" $(use_with tiff)"
myconf+=" $(use_with xpm)"
myconf+=" $(use_with imagemagick)"
if use xft; then
myconf+=" --with-xft"
myconf+=" $(use_with cairo)"
myconf+=" $(use_with m17n-lib libotf)"
myconf+=" $(use_with m17n-lib m17n-flt)"
else
myconf+=" --without-xft"
myconf+=" --without-cairo"
myconf+=" --without-libotf --without-m17n-flt"
use cairo && ewarn \
"USE flag \"cairo\" has no effect if \"xft\" is not set."
use m17n-lib && ewarn \
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
fi
local f
if use gtk; then
einfo "Configuring to build with GIMP Toolkit (GTK+)"
while read line; do ewarn "${line}"; done <<-EOF
Your version of GTK+ will have problems with closing open
displays. This is no problem if you just use one display, but
if you use more than one and close one of them Emacs may crash.
See <https://bugzilla.gnome.org/show_bug.cgi?id=85715>.
If you intend to use more than one display, then it is strongly
recommended that you compile Emacs with the Athena/Lucid or the
Motif toolkit instead.
EOF
if use xwidgets; then
myconf+=" --with-x-toolkit=gtk3 --with-xwidgets"
else
myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
myconf+=" --without-xwidgets"
fi
for f in motif Xaw3d athena; do
use ${f} && ewarn \
"USE flag \"${f}\" has no effect if \"gtk\" is set."
done
elif use motif; then
einfo "Configuring to build with Motif toolkit"
myconf+=" --with-x-toolkit=motif"
for f in Xaw3d athena; do
use ${f} && ewarn \
"USE flag \"${f}\" has no effect if \"motif\" is set."
done
elif use athena || use Xaw3d; then
einfo "Configuring to build with Athena/Lucid toolkit"
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
else
einfo "Configuring to build with no toolkit"
myconf+=" --with-x-toolkit=no"
fi
! use gtk && use xwidgets && ewarn \
"USE flag \"xwidgets\" has no effect if \"gtk\" is not set."
elif use aqua; then
einfo "Configuring to build with Nextstep (Cocoa) support"
myconf+=" --with-ns --disable-ns-self-contained"
myconf+=" --without-x"
else
myconf+=" --without-x --without-ns"
fi
# Save version information in the Emacs binary. It will be available
# in variable "system-configuration-options".
myconf+=" GENTOO_PACKAGE=${CATEGORY}/${PF}"
econf \
--program-suffix="-${EMACS_SUFFIX}" \
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
--localstatedir="${EPREFIX}"/var \
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
--with-gameuser=":gamestat" \
--without-compress-install \
--with-file-notification=$(usev inotify || usev gfile || echo no) \
$(use_enable acl) \
$(use_with dbus) \
$(use_with gpm) \
$(use_with hesiod) \
$(use_with kerberos) $(use_with kerberos kerberos5) \
$(use_with libxml2 xml2) \
$(use_with selinux) \
$(use_with ssl gnutls) \
$(use_with wide-int) \
$(use_with zlib) \
${myconf}
}
src_compile() {
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
emake
}
src_install () {
emake DESTDIR="${D}" NO_BIN_LINK=t install
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} \
|| die "moving emacs executable failed"
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 \
|| die "moving emacs man page failed"
# move info dir to avoid collisions with the dir file generated by portage
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|| die "moving info dir failed"
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
# avoid collision between slots, see bug #169033 e.g.
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
rm -rf "${ED}"/usr/share/{appdata,applications,icons}
rm -rf "${ED}"/var
# remove unused <version>/site-lisp dir
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
# remove COPYING file (except for etc/COPYING used by describe-copying)
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
if use gzip-el; then
# compress .el files when a corresponding .elc exists
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
assert "gzip .el failed"
fi
local cdir
if use source; then
cdir="/usr/share/emacs/${FULL_VERSION}/src"
insinto "${cdir}"
# This is not meant to install all the source -- just the
# C source you might find via find-function
doins src/*.{c,h,m}
elif has installsources ${FEATURES}; then
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
fi
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF
X
;;; ${PN}-${SLOT} site-lisp configuration
X
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
Y (setq find-function-C-source-directory
Y "${EPREFIX}${cdir}")
X (let ((path (getenv "INFOPATH"))
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
X (and path
X ;; move Emacs Info dir before anything else in /usr/share/info
X (let* ((p (cons nil (split-string path ":" t))) (q p))
X (while (and (cdr q) (not (string-match re (cadr q))))
X (setq q (cdr q)))
X (setcdr q (cons dir (delete dir (cdr q))))
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
EOF
elisp-site-file-install "${T}/${SITEFILE}" || die
dodoc README BUGS CONTRIBUTE
if use aqua; then
dodir /Applications/Gentoo
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
mv nextstep/Emacs.app \
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
fi
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
through the Emacs eselect module, which also redirects man and info
pages. Therefore, several Emacs versions can be installed at the
same time. \"man emacs.eselect\" for details.
\\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is
strongly recommended that you use app-admin/emacs-updater to rebuild
all byte-compiled elisp files of the installed Emacs packages."
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
machine would satisfy basic Emacs requirements under X11.
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
for how to enable anti-aliased fonts."
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink
it into /Applications by yourself."
readme.gentoo_create_doc
}
pkg_preinst() {
# move Info dir file to correct name
local infodir=/usr/share/info/${EMACS_SUFFIX} f
if [[ -f ${ED}${infodir}/dir.orig ]]; then
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
elif [[ -d "${ED}"${infodir} ]]; then
# this should not happen in EAPI 4
ewarn "Regenerating Info directory index in ${infodir} ..."
rm -f "${ED}"${infodir}/dir{,.*}
for f in "${ED}"${infodir}/*; do
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
install-info --info-dir="${ED}"${infodir} "${f}" \
|| die "install-info failed"
fi
done
fi
}
pkg_postinst() {
elisp-site-regen
local pvr
for pvr in ${REPLACING_VERSIONS}; do
[[ ${pvr%%[-_]*} = 24.[12] ]] && FORCE_PRINT_ELOG=1
done
readme.gentoo_print_elog
if use livecd; then
# force an update of the emacs symlink for the livecd/dvd,
# because some microemacs packages set it with USE=livecd
eselect emacs update
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
# refresh symlinks in case any installed files have changed
eselect emacs set ${EMACS_SUFFIX}
else
eselect emacs update ifunset
fi
}
pkg_postrm() {
elisp-site-regen
eselect emacs update ifunset
}

@ -0,0 +1,17 @@
https://bugs.gentoo.org/580924
Linux C libs are moving away from implicit header pollution with sys/types.h
--- a/include/qemu/osdep.h
+++ b/include/qemu/osdep.h
@@ -78,6 +78,10 @@ extern int daemon(int, int);
#include <assert.h>
#include <signal.h>
+#ifdef __linux__
+#include <sys/sysmacros.h>
+#endif
+
#ifdef __OpenBSD__
#include <sys/signal.h>
#endif

@ -35,6 +35,7 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${MY_P}"
src_prepare() {
epatch "${FILESDIR}"/${PN}-2.5.0-sysmacros.patch #580924
epatch_user
}

@ -11,6 +11,8 @@ DIST xen-gentoo-patches-6.tar.xz 23864 SHA256 96e774bd03c9df341fdb2f5d6cf231549c
DIST xen-ovmf-patches-1.tar.xz 4724 SHA256 d14e98e62c78c9f4b8a7e7b4a04de6dabf300f393eff44154d06f93aa43d7703 SHA512 a17467762f6d92018ff9bce783ce148039f23159405e801ec2aef4c3db72c3976c6f1e41d8c2a2cb704a9654556a2050302f284cfe8e32f28f393b8e2c6d2f1c WHIRLPOOL de53ad07f20aa14fe76d974db92d5b6808f0a2dd26a627b818914990add7adad8e6135d42641819dc22947031981c5815bae5aeeed0f28785c90beda0a6ff6c8
DIST xen-ovmf-patches-2.tar.xz 4344 SHA256 495d61d718440057f8b0b54fb57061450dd764c6e87fe5f8bda1785bcddba770 SHA512 0bdc83029a01b613f5c1ca029bd45aebe211c332f09db91a0cc7d6b6f85a81dbbfdc20c62f0d20e973ee41b155a6551a4fad518cb792e1d508bf070e23d6a1d3 WHIRLPOOL 8346d68fa5d2a8e8a5c007b55e2b85cf48df045cc8c4818f09c756d28a52dd856671f37b4a53478e9b96ca9d2eca0c67fd15f009a94d1d2dfed8e83e596d9633
DIST xen-qemu-patches-0.tar.gz 3224 SHA256 ff1ac02a6d91e4abdbe069e1bb75d0b798deff5c2c72d1efb5459c72f4278f00 SHA512 4fd0c663a733436188aca364e927ac430d9bbef9859da65c074d7fd66c330645b05ff1f3e849f4581dfcd7054801d65edcff8445c1c63c2725f11e3903415af0 WHIRLPOOL 5504d7ffbd3c1970026c1f43252d9c76f10c5448ede247719e2698aa8f8e93b20e4cc353da5582b3b6887fb3fd7d1e13765f664ea60daeb6020f052eaca9b9f4
DIST xen-security-patches-10.tar.gz 13289 SHA256 8937b3c0045f83ac0685ce129c99be8ab035f2ed92605d0c1100d4f898d978a3 SHA512 698963479149bd63695b3ffd7d108b798ce6c694560f2908b639f3a1b00d37d4994fbc1e0e21aaba1f3a113653d5b37c28679bc1d97d75a805844345c9c070c0 WHIRLPOOL 8c2433c35499819906abf5cb8898dac23cbf7523cc4b4e9291e696eb2871971a7300d3f54865ac32738a1b67c1de18e227085f14c5717b60ec951d5038fa0493
DIST xen-security-patches-11.tar.gz 12639 SHA256 285e009010387be18bc8588f4dca3b3ec86a637a4afb13a7a5a23b0406a36d68 SHA512 af0f0f1bacbbb3d2141267dea623f5f69e95190ddd9ef62a5c0e9eef548c248a230dc08cc07e77e206e9f8ad19fd24bc1828e25c44370091673af4dff66f5c8a WHIRLPOOL 8b085a726f8f2ed9a354103dc29f83b427db934cfaa87b9391fba934c18562765f5f99ef560189bc8d0814d37fbf5deb57a5992e4d76ebddac06c8ffb74da8de
DIST xen-security-patches-7.tar.xz 22604 SHA256 e831c71f830316f452eb8645a5e7ca497264587aa8b353945fd9535f485166e3 SHA512 051769f4118f5c6d5d961759f547526d3fb0e86a4c1dee265a7f0224f10a88e2217b5b5fcf8dbfc706a1ec3c8d1632ab688d3f70dfd89d830261dc7391dd41c2 WHIRLPOOL 8e6dfb4e1700a07e3e3207b67afaddc5d6aa6fd84db9b3e76bd9ff54f682740fed01070e5860bb5378d50903d5777b55dff88eb3444d45bdd63dba657889393d
DIST xen-security-patches-8.tar.gz 9416 SHA256 3c0e6e8428f1890c8dda72ac94244fa3d6611b3612ef59ffed29b59481806a12 SHA512 f5ee325a8b25079ea256cb5a2e039e6738dee999be6d9d91ade875663c36f72a086bcb0bd1bb243483afb921da401c5d7453fea7405323fdaf8cf6e06a221049 WHIRLPOOL c30f14bb8a1a3ad22a962d4050027fa89a373f742c3eb7a161e1490beb186c6221f24247cd84b07e7f266c38aae6ef386f2e4db29a4b43cceaaaa54b644bb4f1
DIST xen-security-patches-9.tar.gz 9793 SHA256 2167d7bc2a631cf13d5b49c9577dbc8d128517e8ecbf90ef85c38f52ab3187aa SHA512 42f4997f35cc06333584a9a3c65366493094b60a6c67928b6165f3fb7d35d3a8f9dc0c3eadd4522de0d99bcc8511afba1d5e543396399b37983eb547abedca44 WHIRLPOOL 8abb68b4ac10fbc2b590c8a29cd2474d5392d3958542dad7f21ba4ad51c7541bb1686ed2629323e214c3e72b0de7212f25a4681f653d4179404c9f4c53e3d83a

@ -0,0 +1,475 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MY_PV=${PV/_/-}
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE='xml,threads'
if [[ $PV == *9999 ]]; then
KEYWORDS=""
REPO="xen-unstable.hg"
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
S="${WORKDIR}/${REPO}"
live_eclass="mercurial"
else
KEYWORDS="~amd64 ~arm ~x86"
UPSTREAM_VER=
SECURITY_VER=7
# vars set to reflect https://dev.gentoo.org/~idella4/
SEC_VER=11
QEMU_VER=0
# xen-tools's gentoo patches tarball
GENTOO_VER=4
# xen-tools's gentoo patches version which apply to this specific ebuild
GENTOO_GPV=0
# xen-tools ovmf's patches
OVMF_VER=1
SEABIOS_VER=1.7.5
OVMF_PV=20150629
[[ -n ${UPSTREAM_VER} ]] && \
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
[[ -n ${SECURITY_VER} ]] && \
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~idella4/distfiles/${PN/-tools}-security-patches-${SECURITY_VER}.tar.xz
https://dev.gentoo.org/~idella4/distfiles/${PN/-tools}-security-patches-${SEC_VER}.tar.gz
https://dev.gentoo.org/~idella4/distfiles/${PN/-tools}-qemu-patches-${QEMU_VER}.tar.gz"
[[ -n ${GENTOO_VER} ]] && \
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-gentoo-patches-${GENTOO_VER}.tar.xz"
[[ -n ${OVMF_VER} ]] && \
OVMF_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-ovmf-patches-${OVMF_VER}.tar.xz"
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/xen-${MY_PV}.tar.gz
http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
https://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
ovmf? ( https://dev.gentoo.org/~dlan/distfiles/ovmf-${OVMF_PV}.tar.bz2
${OVMF_PATCHSET_URI} )
${UPSTREAM_PATCHSET_URI}
${SECURITY_PATCHSET_URI}
${GENTOO_PATCHSET_URI}"
S="${WORKDIR}/xen-${MY_PV}"
fi
inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass}
DESCRIPTION="Xend daemon and tools"
HOMEPAGE="http://xen.org/"
DOCS=( README docs/README.xen-bugtool )
LICENSE="GPL-2"
SLOT="0"
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
# >=dev-lang/ocaml-4 stable
# Masked in profiles/eapi-5-files instead
IUSE="api custom-cflags debug doc flask hvm qemu ocaml ovmf +pam python pygrub screen static-libs system-qemu system-seabios"
REQUIRED_USE="hvm? ( || ( qemu system-qemu ) )
${PYTHON_REQUIRED_USE}
pygrub? ( python )
ovmf? ( hvm )
qemu? ( !system-qemu )"
COMMON_DEPEND="
dev-libs/lzo:2
dev-libs/glib:2
dev-libs/yajl
dev-libs/libaio
dev-libs/libgcrypt:0
sys-libs/zlib
"
DEPEND="${COMMON_DEPEND}
dev-python/lxml[${PYTHON_USEDEP}]
x86? ( sys-devel/dev86
sys-power/iasl )
pam? ( dev-python/pypam[${PYTHON_USEDEP}] )
hvm? ( media-libs/libsdl )
${PYTHON_DEPS}
api? ( dev-libs/libxml2
net-misc/curl )
pygrub? ( $(python_gen_impl_dep ncurses) )
ovmf? ( $(python_gen_impl_dep sqlite) )
!amd64? ( >=sys-apps/dtc-1.4.0 )
amd64? ( sys-devel/bin86
system-seabios? ( sys-firmware/seabios )
sys-firmware/ipxe
sys-devel/dev86
sys-power/iasl )
dev-lang/perl
app-misc/pax-utils
doc? (
app-doc/doxygen
dev-python/markdown[${PYTHON_USEDEP}]
dev-tex/latex2html[png,gif]
media-gfx/graphviz
dev-tex/xcolor
media-gfx/transfig
dev-texlive/texlive-latexextra
virtual/latex-base
dev-tex/latexmk
dev-texlive/texlive-latex
dev-texlive/texlive-pictures
dev-texlive/texlive-latexrecommended
)
hvm? ( x11-proto/xproto
!net-libs/libiscsi )
qemu? ( x11-libs/pixman )
system-qemu? ( app-emulation/qemu[xen] )
ocaml? ( dev-ml/findlib
>=dev-lang/ocaml-4 )"
RDEPEND="${COMMON_DEPEND}
sys-apps/iproute2
net-misc/bridge-utils
screen? (
app-misc/screen
app-admin/logrotate
)
virtual/udev"
# hvmloader is used to bootstrap a fully virtualized kernel
# Approved by QA team in bug #144032
QA_WX_LOAD="usr/lib/xen/boot/hvmloader
usr/share/qemu-xen/qemu/s390-ccw.img"
RESTRICT="test"
pkg_setup() {
python-single-r1_pkg_setup
export "CONFIG_LOMOUNT=y"
#bug 522642, disable compile tools/tests
export "CONFIG_TESTS=n"
if has_version dev-libs/libgcrypt:0; then
export "CONFIG_GCRYPT=y"
fi
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
if use x86 && use amd64; then
die "Confusion! Both x86 and amd64 are set in your use flags!"
elif use x86; then
export XEN_TARGET_ARCH="x86_32"
elif use amd64 ; then
export XEN_TARGET_ARCH="x86_64"
elif use arm; then
export XEN_TARGET_ARCH="arm32"
elif use arm64; then
export XEN_TARGET_ARCH="arm64"
else
die "Unsupported architecture!"
fi
fi
}
src_prepare() {
# Upstream's patchset
if [[ -n ${UPSTREAM_VER} ]]; then
einfo "Try to apply Xen Upstream patcheset"
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-upstream
fi
# Security patchset
if [[ -n ${SECURITY_VER} ]]; then
einfo "Try to apply Xen Security patcheset"
source "${WORKDIR}"/patches-security/${PV}.conf
# apply main xen patches
# Two parallel systems, both work
# Over time they may concdense into one. This will suffice for now
EPATCH_SUFFIX="patch"
EPATCH_FORCE="yes"
for i in ${XEN_SECURITY_MAIN}; do
epatch "${WORKDIR}"/patches-security/xen/$i
done
for i in "${WORKDIR}"/xen-sec/xsa*.patch; do
epatch $i
done
# apply qemu-traditional patches
pushd "${S}"/tools/qemu-xen-traditional/ > /dev/null
for i in ${XEN_SECURITY_QEMUT}; do
epatch "${WORKDIR}"/patches-security/qemut/$i
done
for i in "${WORKDIR}"/qemu-patches/qemut/xsa*.patch; do
epatch $i
done
popd > /dev/null
# apply qemu-xen/upstream patches
pushd "${S}"/tools/qemu-xen/ > /dev/null
for i in ${XEN_SECURITY_QEMUU}; do
epatch "${WORKDIR}"/patches-security/qemuu/$i
done
for i in "${WORKDIR}"/qemu-patches/qemuu/xsa*.patch; do
epatch $i
done
popd > /dev/null
fi
# move before Gentoo patch, one patch should apply to seabios, to fix gcc-4.5.x build err
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
pushd tools/firmware/ > /dev/null
ln -s seabios-dir-remote seabios-dir || die
popd > /dev/null
# Gentoo's patchset
if [[ -n ${GENTOO_VER} && -n ${GENTOO_GPV} ]]; then
einfo "Try to apply Gentoo specific patch set"
source "${FILESDIR}"/gentoo-patches.conf
_gpv=_gpv_${PN/-/_}_${PV//./}_${GENTOO_GPV}
for i in ${!_gpv}; do
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patches-gentoo/$i
done
fi
# Ovmf's patchset
if use ovmf; then
if [[ -n ${OVMF_VER} ]];then
einfo "Try to apply Ovmf patch set"
pushd "${WORKDIR}"/ovmf-*/ > /dev/null
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-ovmf
popd > /dev/null
fi
mv ../ovmf-${OVMF_PV} tools/firmware/ovmf-dir-remote || die
fi
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
# Fix texi2html build error with new texi2html, qemu.doc.html
sed -i -e "/texi2html -monolithic/s/-number//" tools/qemu-xen-traditional/Makefile || die
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
-i tools/firmware/Makefile || die
# Drop .config, fixes to gcc-4.6
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default cflags
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
-exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} + || die "failed to re-set custom-cflags"
fi
if ! use pygrub; then
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
fi
if ! use python; then
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
fi
if ! use hvm; then
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
# Bug 351648
elif ! use x86 && ! has x86 $(get_all_abis); then
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
export CPATH="${WORKDIR}"/extra-headers
fi
# Don't bother with qemu, only needed for fully virtualised guests
if ! use qemu; then
sed -e "s:install-tools\: tools/qemu-xen-traditional-dir:install-tools\: :g" -i Makefile || die
fi
# Reset bash completion dir; Bug 472438
sed -e "s:^BASH_COMPLETION_DIR ?= \$(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(get_bashcompdir):" \
-i Config.mk || die
sed -i -e "/bash-completion/s/xl\.sh/xl/g" tools/libxl/Makefile || die
# xencommons, Bug #492332, sed lighter weight than patching
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
-i tools/hotplug/Linux/init.d/xencommons.in || die
# respect multilib, usr/lib/libcacard.so.0.0.0
sed -e "/^libdir=/s/\/lib/\/$(get_libdir)/" \
-i tools/qemu-xen/configure || die
#bug 518136, don't build 32bit exactuable for nomultilib profile
if [[ "${ARCH}" == 'amd64' ]] && ! has_multilib_profile; then
sed -i -e "/x86_emulator/d" tools/tests/Makefile || die
fi
# use /var instead of /var/lib, consistat with previous ebuild
sed -i -e "/XEN_LOCK_DIR=/s/\$localstatedir/\/var/g" \
m4/paths.m4 configure tools/configure || die
# use /run instead of /var/run
sed -i -e "/XEN_RUN_DIR=/s/\$localstatedir//g" \
m4/paths.m4 configure tools/configure || die
# uncomment lines in xl.conf
sed -e 's:^#autoballoon=:autoballoon=:' \
-e 's:^#lockfile=:lockfile=:' \
-e 's:^#vif.default.script=:vif.default.script=:' \
-i tools/examples/xl.conf || die
epatch_user
}
src_configure() {
local myconf="--prefix=${PREFIX}/usr \
--libdir=${PREFIX}/usr/$(get_libdir) \
--libexecdir=${PREFIX}/usr/libexec \
--disable-werror \
--disable-xen \
--enable-tools \
--enable-docs \
$(use_with system-qemu) \
$(use_enable pam) \
$(use_enable api xenapi) \
$(use_enable ovmf) \
$(use_enable ocaml ocamltools) \
"
use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin"
use qemu || myconf+=" --with-system-qemu"
use amd64 && myconf+=" --enable-qemu-traditional"
econf ${myconf}
}
src_compile() {
export VARTEXFONTS="${T}/fonts"
local myopt
use debug && myopt="${myopt} debug=y"
use custom-cflags || unset CFLAGS
if test-flag-CC -fno-strict-overflow; then
append-flags -fno-strict-overflow
fi
unset LDFLAGS
unset CFLAGS
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
use doc && emake -C docs txt html
emake -C docs man-pages
}
src_install() {
# Override auto-detection in the build system, bug #382573
export INITD_DIR=/tmp/init.d
export CONFIG_LEAF_DIR=../tmp/default
# Let the build system compile installed Python modules.
local PYTHONDONTWRITEBYTECODE
export PYTHONDONTWRITEBYTECODE
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
XEN_PYTHON_NATIVE_INSTALL=y install-tools
# Fix the remaining Python shebangs.
python_fix_shebang "${D}"
# Remove RedHat-specific stuff
rm -rf "${D}"tmp || die
if use doc; then
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
dohtml -r docs/
docinto pdf
dodoc ${DOCS[@]}
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
fi
rm -rf "${D}"/usr/share/doc/xen/
doman docs/man?/*
newconfd "${FILESDIR}"/xendomains.confd xendomains
newconfd "${FILESDIR}"/xenstored.confd xenstored
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
newinitd "${FILESDIR}"/xenstored.initd xenstored
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
newinitd "${FILESDIR}"/xencommons.initd xencommons
newconfd "${FILESDIR}"/xencommons.confd xencommons
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
if use screen; then
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
keepdir /var/log/xen-consoles
fi
# For -static-libs wrt Bug 384355
if ! use static-libs; then
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
fi
# for xendomains
keepdir /etc/xen/auto
# Temp QA workaround
dodir "$(get_udevdir)"
mv "${D}"/etc/udev/* "${D}/$(get_udevdir)"
rm -rf "${D}"/etc/udev
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
}
pkg_postinst() {
elog "Official Xen Guide and the offical wiki page:"
elog "https://wiki.gentoo.org/wiki/Xen"
elog "http://wiki.xen.org/wiki/Main_Page"
elog ""
elog "Recommended to utilise the xencommons script to config sytem At boot"
elog "Add by use of rc-update on completion of the install"
# TODO: we need to have the current Python slot here.
if ! has_version "dev-lang/python[ncurses]"; then
echo
ewarn "NB: Your dev-lang/python is built without USE=ncurses."
ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py."
fi
if has_version "sys-apps/iproute2[minimal]"; then
echo
ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking"
ewarn "will not work until you rebuild iproute2 without USE=minimal."
fi
if ! use hvm; then
echo
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
elog "support enable the hvm use flag."
elog "An x86 or amd64 system is required to build HVM support."
fi
if use qemu; then
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
fi
if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then
echo
elog "xensv is broken upstream (Gentoo bug #142011)."
elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed."
fi
}

@ -0,0 +1,469 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE='ncurses,xml,threads'
inherit eutils bash-completion-r1 flag-o-matic multilib python-single-r1 toolchain-funcs versionator
MY_PV=${PV/_/-}
MAJOR_V="$(get_version_component_range 1-2)"
if [[ $PV == *9999 ]]; then
inherit git-r3
KEYWORDS=""
REPO="xen.git"
EGIT_REPO_URI="git://xenbits.xen.org/${REPO}"
S="${WORKDIR}/${REPO}"
else
KEYWORDS="~amd64 ~arm ~x86"
UPSTREAM_VER=0
SECURITY_VER=7
# vars set to reflect https://dev.gentoo.org/~idella4/
# first instance of UPS_VER (usptream ver)
UPS_VER=0
SEC_VER=10
QEMU_VER=0
# xen-tools's gentoo patches tarball
GENTOO_VER=4
# xen-tools's gentoo patches version which apply to this specific ebuild
GENTOO_GPV=0
# xen-tools ovmf's patches
OVMF_VER=1
SEABIOS_VER=1.8.2
OVMF_PV=20150629
[[ -n ${UPSTREAM_VER} ]] && \
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz
https://dev.gentoo.org/~idella4/distfiles/${PN/-tools}-upstream-patches-${UPS_VER}.tar.gz"
[[ -n ${SECURITY_VER} ]] && \
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~idella4/distfiles/${PN/-tools}-security-patches-${SECURITY_VER}.tar.xz
https://dev.gentoo.org/~idella4/distfiles/${PN/-tools}-security-patches-${SEC_VER}.tar.gz
https://dev.gentoo.org/~idella4/distfiles/${PN/-tools}-qemu-patches-${QEMU_VER}.tar.gz"
[[ -n ${GENTOO_VER} ]] && \
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-gentoo-patches-${GENTOO_VER}.tar.xz"
[[ -n ${OVMF_VER} ]] && \
OVMF_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-ovmf-patches-${OVMF_VER}.tar.xz"
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/xen-${MY_PV}.tar.gz
http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
https://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
ovmf? ( https://dev.gentoo.org/~dlan/distfiles/ovmf-${OVMF_PV}.tar.bz2
${OVMF_PATCHSET_URI} )
${UPSTREAM_PATCHSET_URI}
${SECURITY_PATCHSET_URI}
${GENTOO_PATCHSET_URI}"
S="${WORKDIR}/xen-${MY_PV}"
fi
DESCRIPTION="Xen tools including QEMU and xl"
HOMEPAGE="http://xen.org/"
DOCS=( README docs/README.xen-bugtool )
LICENSE="GPL-2"
SLOT="0/${MAJOR_V}"
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
# >=dev-lang/ocaml-4 stable
# Masked in profiles/eapi-5-files instead
IUSE="api custom-cflags debug doc flask hvm qemu ocaml ovmf +pam +qemu-traditional python pygrub screen sdl static-libs system-qemu system-seabios"
REQUIRED_USE="hvm? ( || ( qemu system-qemu ) )
${PYTHON_REQUIRED_USE}
pygrub? ( python )
ovmf? ( hvm )
qemu? ( !system-qemu )"
COMMON_DEPEND="
dev-libs/lzo:2
dev-libs/glib:2
dev-libs/yajl
dev-libs/libaio
dev-libs/libgcrypt:0
sys-libs/zlib
"
DEPEND="${COMMON_DEPEND}
dev-python/lxml[${PYTHON_USEDEP}]
x86? ( sys-devel/dev86
sys-power/iasl )
pam? ( dev-python/pypam[${PYTHON_USEDEP}] )
${PYTHON_DEPS}
api? ( dev-libs/libxml2
net-misc/curl )
ovmf? ( $(python_gen_impl_dep sqlite) )
!amd64? ( >=sys-apps/dtc-1.4.0 )
amd64? ( sys-devel/bin86
system-seabios? ( sys-firmware/seabios )
sys-firmware/ipxe
sys-devel/dev86
sys-power/iasl )
dev-lang/perl
app-misc/pax-utils
doc? (
app-doc/doxygen
dev-python/markdown[${PYTHON_USEDEP}]
dev-tex/latex2html[png,gif]
media-gfx/graphviz
dev-tex/xcolor
media-gfx/transfig
dev-texlive/texlive-latexextra
virtual/latex-base
dev-tex/latexmk
dev-texlive/texlive-latex
dev-texlive/texlive-pictures
dev-texlive/texlive-latexrecommended
)
hvm? ( x11-proto/xproto
!net-libs/libiscsi )
qemu? (
x11-libs/pixman
sdl? ( media-libs/libsdl[X] )
)
system-qemu? ( app-emulation/qemu[xen] )
ocaml? ( dev-ml/findlib
>=dev-lang/ocaml-4 )"
RDEPEND="${COMMON_DEPEND}
sys-apps/iproute2[-minimal]
net-misc/bridge-utils
screen? (
app-misc/screen
app-admin/logrotate
)"
# hvmloader is used to bootstrap a fully virtualized kernel
# Approved by QA team in bug #144032
QA_WX_LOAD="usr/lib/xen/boot/hvmloader
usr/share/qemu-xen/qemu/s390-ccw.img"
RESTRICT="test"
pkg_setup() {
python-single-r1_pkg_setup
export "CONFIG_LOMOUNT=y"
#bug 522642, disable compile tools/tests
export "CONFIG_TESTS=n"
if has_version dev-libs/libgcrypt:0; then
export "CONFIG_GCRYPT=y"
fi
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
if use x86 && use amd64; then
die "Confusion! Both x86 and amd64 are set in your use flags!"
elif use x86; then
export XEN_TARGET_ARCH="x86_32"
elif use amd64 ; then
export XEN_TARGET_ARCH="x86_64"
elif use arm; then
export XEN_TARGET_ARCH="arm32"
elif use arm64; then
export XEN_TARGET_ARCH="arm64"
else
die "Unsupported architecture!"
fi
fi
}
src_prepare() {
# Upstream's patchset
if [[ -n ${UPSTREAM_VER} ]]; then
einfo "Try to apply Xen Upstream patch set"
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-upstream \
"${WORKDIR}"/libexec.patch
fi
# Security patchset
if [[ -n ${SECURITY_VER} ]]; then
einfo "Try to apply Xen Security patch set"
source "${WORKDIR}"/patches-security/${PV}.conf
# apply main xen patches
# Two parallel systems, both work side by side
# Over time they may concdense into one. This will suffice for now
EPATCH_SUFFIX="patch"
EPATCH_FORCE="yes"
for i in ${XEN_SECURITY_MAIN}; do
epatch "${WORKDIR}"/patches-security/xen/$i
done
for i in "${WORKDIR}"/xen-sec/xsa*.patch; do
epatch $i
done
# apply qemu-traditional patches
pushd "${S}"/tools/qemu-xen-traditional/ > /dev/null
for i in ${XEN_SECURITY_QEMUT}; do
epatch "${WORKDIR}"/patches-security/qemut/$i
done
for i in "${WORKDIR}"/qemu-patches/qemut/xsa*.patch; do
epatch $i
done
popd > /dev/null
# apply qemu-xen/upstream patches
pushd "${S}"/tools/qemu-xen/ > /dev/null
for i in ${XEN_SECURITY_QEMUU}; do
epatch "${WORKDIR}"/patches-security/qemuu/$i
done
for i in "${WORKDIR}"/qemu-patches/qemuu/xsa*.patch; do
epatch $i
done
popd > /dev/null
fi
# move before Gentoo patch, one patch should apply to seabios, to fix gcc-4.5.x build err
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
pushd tools/firmware/ > /dev/null
ln -s seabios-dir-remote seabios-dir || die
popd > /dev/null
# Gentoo's patchset
if [[ -n ${GENTOO_VER} && -n ${GENTOO_GPV} ]]; then
einfo "Try to apply Gentoo specific patch set"
source "${FILESDIR}"/gentoo-patches.conf
_gpv=_gpv_${PN/-/_}_${PV//./}_${GENTOO_GPV}
for i in ${!_gpv}; do
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patches-gentoo/$i
done
fi
# Ovmf's patchset
if [[ -n ${OVMF_VER} ]] && use ovmf; then
einfo "Try to apply Ovmf patch set"
pushd "${WORKDIR}"/ovmf-*/ > /dev/null
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-ovmf
popd > /dev/null
mv ../ovmf-${OVMF_PV} tools/firmware/ovmf-dir-remote || die
fi
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
# Fix texi2html build error with new texi2html, qemu.doc.html
sed -i -e "/texi2html -monolithic/s/-number//" tools/qemu-xen-traditional/Makefile || die
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
-i tools/firmware/Makefile || die
# Drop .config, fixes to gcc-4.6
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default cflags
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
-exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} + || die "failed to re-set custom-cflags"
else
unset CFLAGS
unset LDFLAGS
unset ASFLAGS
unset CPPFLAGS
fi
if ! use pygrub; then
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
fi
if ! use python; then
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
fi
if ! use hvm; then
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
# Bug 351648
elif ! use x86 && ! has x86 $(get_all_abis); then
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
export CPATH="${WORKDIR}"/extra-headers
fi
if use qemu; then
if use sdl; then
sed -i -e "s:\$\$source/configure:\0 --enable-sdl:" \
tools/Makefile || die
else
sed -i -e "s:\${QEMU_ROOT\:\-\.}/configure:\0 --disable-sdl:" \
tools/qemu-xen-traditional/xen-setup || die
sed -i -e "s:\$\$source/configure:\0 --disable-sdl:" \
tools/Makefile || die
fi
else
# Don't bother with qemu, only needed for fully virtualised guests
sed -e "s:install-tools\: tools/qemu-xen-traditional-dir:install-tools\: :g" -i Makefile || die
fi
# Reset bash completion dir; Bug 472438
sed -e "s:^BASH_COMPLETION_DIR ?= \$(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(get_bashcompdir):" \
-i Config.mk || die
sed -i -e "/bash-completion/s/xl\.sh/xl/g" tools/libxl/Makefile || die
# xencommons, Bug #492332, sed lighter weight than patching
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
-i tools/hotplug/Linux/init.d/xencommons.in || die
# respect multilib, usr/lib/libcacard.so.0.0.0
sed -e "/^libdir=/s/\/lib/\/$(get_libdir)/" \
-i tools/qemu-xen/configure || die
#bug 518136, don't build 32bit exactuable for nomultilib profile
if [[ "${ARCH}" == 'amd64' ]] && ! has_multilib_profile; then
sed -i -e "/x86_emulator/d" tools/tests/Makefile || die
fi
# use /var instead of /var/lib, consistat with previous ebuild
sed -i -e "/XEN_LOCK_DIR=/s/\$localstatedir/\/var/g" \
m4/paths.m4 configure tools/configure || die
# use /run instead of /var/run
sed -i -e "/XEN_RUN_DIR=/s/\$localstatedir//g" \
m4/paths.m4 configure tools/configure || die
# uncomment lines in xl.conf
sed -e 's:^#autoballoon=:autoballoon=:' \
-e 's:^#lockfile=:lockfile=:' \
-e 's:^#vif.default.script=:vif.default.script=:' \
-i tools/examples/xl.conf || die
epatch_user
}
src_configure() {
local myconf="--prefix=${PREFIX}/usr \
--libdir=${PREFIX}/usr/$(get_libdir) \
--libexecdir=${PREFIX}/usr/libexec \
--disable-werror \
--disable-xen \
--enable-tools \
--enable-docs \
$(use_with system-qemu) \
$(use_enable pam) \
$(use_enable api xenapi) \
$(use_enable ovmf) \
$(use_enable ocaml ocamltools) \
--with-xenstored=$(usex ocaml 'oxenstored' 'xenstored') \
"
use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin"
use qemu || myconf+=" --with-system-qemu"
use amd64 && myconf+=" $(use_enable qemu-traditional)"
econf ${myconf}
}
src_compile() {
export VARTEXFONTS="${T}/fonts"
local myopt
use debug && myopt="${myopt} debug=y"
if test-flag-CC -fno-strict-overflow; then
append-flags -fno-strict-overflow
fi
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
use doc && emake -C docs txt html
emake -C docs man-pages
}
src_install() {
# Override auto-detection in the build system, bug #382573
export INITD_DIR=/tmp/init.d
export CONFIG_LEAF_DIR=../tmp/default
# Let the build system compile installed Python modules.
local PYTHONDONTWRITEBYTECODE
export PYTHONDONTWRITEBYTECODE
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
XEN_PYTHON_NATIVE_INSTALL=y install-tools
# Fix the remaining Python shebangs.
python_fix_shebang "${D}"
# Remove RedHat-specific stuff
rm -rf "${D}"tmp || die
if use doc; then
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
dohtml -r docs/
docinto pdf
dodoc ${DOCS[@]}
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
fi
rm -rf "${D}"/usr/share/doc/xen/
doman docs/man?/*
newconfd "${FILESDIR}"/xendomains.confd xendomains
newconfd "${FILESDIR}"/xenstored.confd xenstored
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
newinitd "${FILESDIR}"/xenstored.initd xenstored
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
newinitd "${FILESDIR}"/xencommons.initd xencommons
newconfd "${FILESDIR}"/xencommons.confd xencommons
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
if use screen; then
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
keepdir /var/log/xen-consoles
fi
# For -static-libs wrt Bug 384355
if ! use static-libs; then
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
fi
# for xendomains
keepdir /etc/xen/auto
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
}
pkg_postinst() {
elog "Official Xen Guide and the offical wiki page:"
elog "https://wiki.gentoo.org/wiki/Xen"
elog "http://wiki.xen.org/wiki/Main_Page"
elog ""
elog "Recommended to utilise the xencommons script to config sytem At boot"
elog "Add by use of rc-update on completion of the install"
if ! use hvm; then
echo
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
elog "support enable the hvm use flag."
elog "An x86 or amd64 system is required to build HVM support."
fi
if use qemu; then
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
fi
}

@ -0,0 +1,474 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE='ncurses,xml,threads'
inherit eutils bash-completion-r1 flag-o-matic multilib python-single-r1 toolchain-funcs versionator
MY_PV=${PV/_/-}
MAJOR_V="$(get_version_component_range 1-2)"
if [[ $PV == *9999 ]]; then
inherit git-r3
KEYWORDS=""
REPO="xen.git"
EGIT_REPO_URI="git://xenbits.xen.org/${REPO}"
S="${WORKDIR}/${REPO}"
else
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
UPSTREAM_VER=
SECURITY_VER=
# vars set to reflect https://dev.gentoo.org/~idella4/
# first instance of UPS_VER (usptream ver)
UPS_VER=
SEC_VER=
QEMU_VER=
# xen-tools's gentoo patches tarball
GENTOO_VER=6
# xen-tools's gentoo patches version which apply to this specific ebuild
GENTOO_GPV=0
# xen-tools ovmf's patches
OVMF_VER=2
SEABIOS_VER=1.8.2
# OVMF upstream 52a99493cce88a9d4ec8a02d7f1bd1a1001ce60d
OVMF_PV=20151110
[[ -n ${UPSTREAM_VER} ]] && \
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz
https://dev.gentoo.org/~idella4/distfiles/${PN/-tools}-upstream-patches-${UPS_VER}.tar.gz"
[[ -n ${SECURITY_VER} ]] && \
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~idella4/distfiles/${PN}-security-patches-${SECURITY_VER}.tar.gz
https://dev.gentoo.org/~idella4/distfiles/${PN/-tools}-qemu-patches-${QEMU_VER}.tar.gz"
[[ -n ${GENTOO_VER} ]] && \
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-gentoo-patches-${GENTOO_VER}.tar.xz"
[[ -n ${OVMF_VER} ]] && \
OVMF_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-ovmf-patches-${OVMF_VER}.tar.xz"
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/xen-${MY_PV}.tar.gz
http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
https://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
ovmf? ( https://dev.gentoo.org/~dlan/distfiles/ovmf-${OVMF_PV}.tar.bz2
${OVMF_PATCHSET_URI} )
${UPSTREAM_PATCHSET_URI}
${SECURITY_PATCHSET_URI}
${GENTOO_PATCHSET_URI}"
S="${WORKDIR}/xen-${MY_PV}"
fi
DESCRIPTION="Xen tools including QEMU and xl"
HOMEPAGE="http://xen.org/"
DOCS=( README docs/README.xen-bugtool )
LICENSE="GPL-2"
SLOT="0/${MAJOR_V}"
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
# >=dev-lang/ocaml-4 stable
# Masked in profiles/eapi-5-files instead
IUSE="api custom-cflags debug doc flask hvm qemu ocaml ovmf +qemu-traditional +pam python pygrub screen sdl static-libs system-qemu system-seabios"
REQUIRED_USE="hvm? ( || ( qemu system-qemu ) )
${PYTHON_REQUIRED_USE}
pygrub? ( python )
ovmf? ( hvm )
qemu? ( !system-qemu )"
COMMON_DEPEND="
dev-libs/lzo:2
dev-libs/glib:2
dev-libs/yajl
dev-libs/libaio
dev-libs/libgcrypt:0
sys-libs/zlib
"
DEPEND="${COMMON_DEPEND}
dev-python/lxml[${PYTHON_USEDEP}]
x86? ( sys-devel/dev86
sys-power/iasl )
pam? ( dev-python/pypam[${PYTHON_USEDEP}] )
${PYTHON_DEPS}
api? ( dev-libs/libxml2
net-misc/curl )
ovmf? ( $(python_gen_impl_dep sqlite) )
!amd64? ( >=sys-apps/dtc-1.4.0 )
amd64? ( sys-devel/bin86
system-seabios? ( sys-firmware/seabios )
sys-firmware/ipxe
sys-devel/dev86
sys-power/iasl )
dev-lang/perl
app-misc/pax-utils
doc? (
app-doc/doxygen
dev-python/markdown[${PYTHON_USEDEP}]
dev-tex/latex2html[png,gif]
media-gfx/graphviz
dev-tex/xcolor
media-gfx/transfig
dev-texlive/texlive-latexextra
virtual/latex-base
dev-tex/latexmk
dev-texlive/texlive-latex
dev-texlive/texlive-pictures
dev-texlive/texlive-latexrecommended
)
hvm? ( x11-proto/xproto
!net-libs/libiscsi )
qemu? (
x11-libs/pixman
sdl? ( media-libs/libsdl[X] )
)
system-qemu? ( app-emulation/qemu[xen] )
ocaml? ( dev-ml/findlib
>=dev-lang/ocaml-4 )"
RDEPEND="${COMMON_DEPEND}
sys-apps/iproute2[-minimal]
net-misc/bridge-utils
screen? (
app-misc/screen
app-admin/logrotate
)"
# hvmloader is used to bootstrap a fully virtualized kernel
# Approved by QA team in bug #144032
QA_WX_LOAD="usr/lib/xen/boot/hvmloader
usr/share/qemu-xen/qemu/s390-ccw.img"
RESTRICT="test"
pkg_setup() {
python-single-r1_pkg_setup
export "CONFIG_LOMOUNT=y"
#bug 522642, disable compile tools/tests
export "CONFIG_TESTS=n"
if has_version dev-libs/libgcrypt:0; then
export "CONFIG_GCRYPT=y"
fi
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
if use x86 && use amd64; then
die "Confusion! Both x86 and amd64 are set in your use flags!"
elif use x86; then
export XEN_TARGET_ARCH="x86_32"
elif use amd64 ; then
export XEN_TARGET_ARCH="x86_64"
elif use arm; then
export XEN_TARGET_ARCH="arm32"
elif use arm64; then
export XEN_TARGET_ARCH="arm64"
else
die "Unsupported architecture!"
fi
fi
}
src_prepare() {
# Upstream's patchset
if [[ -n ${UPSTREAM_VER} ]]; then
einfo "Try to apply Xen Upstream patch set"
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-upstream \
"${WORKDIR}"/libexec.patch
fi
# Security patchset
if [[ -n ${SECURITY_VER} ]]; then
einfo "Try to apply Xen Security patch set"
source "${WORKDIR}"/patches-security/${PV}.conf
# apply main xen patches
# Two parallel systems, both work side by side
# Over time they may concdense into one. This will suffice for now
EPATCH_SUFFIX="patch"
EPATCH_FORCE="yes"
for i in ${XEN_SECURITY_MAIN}; do
epatch "${WORKDIR}"/patches-security/xen/$i
done
for i in "${WORKDIR}"/xen-sec/xsa*.patch; do
epatch $i
done
# apply qemu-traditional patches
pushd "${S}"/tools/qemu-xen-traditional/ > /dev/null
for i in ${XEN_SECURITY_QEMUT}; do
epatch "${WORKDIR}"/patches-security/qemut/$i
done
for i in "${WORKDIR}"/qemu-patches/qemut/xsa*.patch; do
epatch $i
done
popd > /dev/null
# apply qemu-xen/upstream patches
pushd "${S}"/tools/qemu-xen/ > /dev/null
for i in ${XEN_SECURITY_QEMUU}; do
epatch "${WORKDIR}"/patches-security/qemuu/$i
done
for i in "${WORKDIR}"/qemu-patches/qemuu/xsa*.patch; do
epatch $i
done
popd > /dev/null
fi
# move before Gentoo patch, one patch should apply to seabios, to fix gcc-4.5.x build err
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
pushd tools/firmware/ > /dev/null
ln -s seabios-dir-remote seabios-dir || die
popd > /dev/null
# Gentoo's patchset
if [[ -n ${GENTOO_VER} && -n ${GENTOO_GPV} ]]; then
einfo "Try to apply Gentoo specific patch set"
source "${FILESDIR}"/gentoo-patches.conf
_gpv=_gpv_${PN/-/_}_${PV//./}_${GENTOO_GPV}
for i in ${!_gpv}; do
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patches-gentoo/$i
done
fi
# Ovmf's patchset
if use ovmf; then
if [[ -n ${OVMF_VER} ]];then
einfo "Try to apply Ovmf patch set"
pushd "${WORKDIR}"/ovmf-*/ > /dev/null
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-ovmf
popd > /dev/null
fi
mv ../ovmf-${OVMF_PV} tools/firmware/ovmf-dir-remote || die
fi
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
# Fix texi2html build error with new texi2html, qemu.doc.html
sed -i -e "/texi2html -monolithic/s/-number//" tools/qemu-xen-traditional/Makefile || die
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
-i tools/firmware/Makefile || die
# Drop .config, fixes to gcc-4.6
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default cflags
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
-exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} + || die "failed to re-set custom-cflags"
else
unset CFLAGS
unset LDFLAGS
unset ASFLAGS
unset CPPFLAGS
fi
if ! use pygrub; then
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
fi
if ! use python; then
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
fi
if ! use hvm; then
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
# Bug 351648
elif ! use x86 && ! has x86 $(get_all_abis); then
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
export CPATH="${WORKDIR}"/extra-headers
fi
if use qemu; then
if use sdl; then
sed -i -e "s:\$\$source/configure:\0 --enable-sdl:" \
tools/Makefile || die
else
sed -i -e "s:\${QEMU_ROOT\:\-\.}/configure:\0 --disable-sdl:" \
tools/qemu-xen-traditional/xen-setup || die
sed -i -e "s:\$\$source/configure:\0 --disable-sdl:" \
tools/Makefile || die
fi
else
# Don't bother with qemu, only needed for fully virtualised guests
sed -e "s:install-tools\: tools/qemu-xen-traditional-dir:install-tools\: :g" -i Makefile || die
fi
# Reset bash completion dir; Bug 472438
sed -e "s:^BASH_COMPLETION_DIR ?= \$(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(get_bashcompdir):" \
-i Config.mk || die
sed -i -e "/bash-completion/s/xl\.sh/xl/g" tools/libxl/Makefile || die
# xencommons, Bug #492332, sed lighter weight than patching
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
-i tools/hotplug/Linux/init.d/xencommons.in || die
# respect multilib, usr/lib/libcacard.so.0.0.0
sed -e "/^libdir=/s/\/lib/\/$(get_libdir)/" \
-i tools/qemu-xen/configure || die
#bug 518136, don't build 32bit exactuable for nomultilib profile
if [[ "${ARCH}" == 'amd64' ]] && ! has_multilib_profile; then
sed -i -e "/x86_emulator/d" tools/tests/Makefile || die
fi
# use /var instead of /var/lib, consistat with previous ebuild
sed -i -e "/XEN_LOCK_DIR=/s/\$localstatedir/\/var/g" \
m4/paths.m4 configure tools/configure || die
# use /run instead of /var/run
sed -i -e "/XEN_RUN_DIR=/s/\$localstatedir//g" \
m4/paths.m4 configure tools/configure || die
# uncomment lines in xl.conf
sed -e 's:^#autoballoon=:autoballoon=:' \
-e 's:^#lockfile=:lockfile=:' \
-e 's:^#vif.default.script=:vif.default.script=:' \
-i tools/examples/xl.conf || die
# Bug #575868 converted to a sed statement, typo of one char
sed -e "s:granters:granter's:" -i xen/include/public/grant_table.h || die
epatch_user
}
src_configure() {
local myconf="--prefix=${PREFIX}/usr \
--libdir=${PREFIX}/usr/$(get_libdir) \
--libexecdir=${PREFIX}/usr/libexec \
--disable-werror \
--disable-xen \
--enable-tools \
--enable-docs \
$(use_with system-qemu) \
$(use_enable pam) \
$(use_enable api xenapi) \
$(use_enable ovmf) \
$(use_enable ocaml ocamltools) \
--with-xenstored=$(usex ocaml 'oxenstored' 'xenstored') \
"
use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin"
use qemu || myconf+=" --with-system-qemu"
use amd64 && myconf+=" $(use_enable qemu-traditional)"
econf ${myconf}
}
src_compile() {
export VARTEXFONTS="${T}/fonts"
local myopt
use debug && myopt="${myopt} debug=y"
if test-flag-CC -fno-strict-overflow; then
append-flags -fno-strict-overflow
fi
emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
use doc && emake -C docs txt html
emake -C docs man-pages
}
src_install() {
# Override auto-detection in the build system, bug #382573
export INITD_DIR=/tmp/init.d
export CONFIG_LEAF_DIR=../tmp/default
# Let the build system compile installed Python modules.
local PYTHONDONTWRITEBYTECODE
export PYTHONDONTWRITEBYTECODE
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
XEN_PYTHON_NATIVE_INSTALL=y install-tools
# Fix the remaining Python shebangs.
python_fix_shebang "${D}"
# Remove RedHat-specific stuff
rm -rf "${D}"tmp || die
if use doc; then
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
dohtml -r docs/
docinto pdf
dodoc ${DOCS[@]}
[ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html
fi
rm -rf "${D}"/usr/share/doc/xen/
doman docs/man?/*
newconfd "${FILESDIR}"/xendomains.confd xendomains
newconfd "${FILESDIR}"/xenstored.confd xenstored
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
newinitd "${FILESDIR}"/xenstored.initd xenstored
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
newinitd "${FILESDIR}"/xencommons.initd xencommons
newconfd "${FILESDIR}"/xencommons.confd xencommons
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
if use screen; then
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
keepdir /var/log/xen-consoles
fi
# For -static-libs wrt Bug 384355
if ! use static-libs; then
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
fi
# for xendomains
keepdir /etc/xen/auto
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
}
pkg_postinst() {
elog "Official Xen Guide and the offical wiki page:"
elog "https://wiki.gentoo.org/wiki/Xen"
elog "http://wiki.xen.org/wiki/Main_Page"
elog ""
elog "Recommended to utilise the xencommons script to config sytem At boot"
elog "Add by use of rc-update on completion of the install"
if ! use hvm; then
echo
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
elog "support enable the hvm use flag."
elog "An x86 or amd64 system is required to build HVM support."
fi
if use qemu; then
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
fi
}

@ -3,6 +3,9 @@ DIST xen-4.6.0-upstream-patches-0.tar.xz 19280 SHA256 8ef2d139f86cb52d2208a17c97
DIST xen-4.6.0.tar.gz 19694350 SHA256 6fa1c2431df55aa5950d248e6093b8c8c0f11c357a0adbd348a2186478e80909 SHA512 b4b02f306ffea360f539dd8c231b2f58c00c3638fdb665cb659c7291b475b40f1075bc59d49a6144767729e57b8bc40a1cfd9030d61de2b8fa4ac97d43655c2b WHIRLPOOL d3f01183440ca1875b6e850bd116db0c382383433e50c0902d3268e9e36b39d184fc65e925bdb5363ef4ca7a232fee15b4749c89baf789137b8a8248565c75a8
DIST xen-4.6.1.tar.gz 19693042 SHA256 44cc2fccba1e147ef4c8da0584ce0f24189c8743de0e3e9a9226da88ddb5f589 SHA512 f01a0b7874abf8b3a81432428d7ba2d5aceb9d75ae20310f8ef49a3a0df927720a51d49090f74fda7f374c779e121ad26da6966a6f2623ed1a7743b4c080427c WHIRLPOOL b4eec12118d602d1b41edee32ed7c0c61646974060bc44e3eedaf78f7c3015c151998f72573fd2bab1992263dd98f09992772334bae7826048d187de7ed022e5
DIST xen-security-patches-0.tar.xz 5944 SHA256 c0456793064185f0781668264a09a2412a25e2ff8c4ce0d332204e37b94d7e96 SHA512 de812e66563e608548b220aa00c8fd71973af748a00cea79959f46a5b6893a38248d2ea455026af43f47e3f5e566d08b5a6f3d18f22e940d75d2a2ca76cec3d3 WHIRLPOOL 3e18d32798bdfe584ee8d102963090b569ec3660fd5723d8c608091e5c7d935c1edced5e258d92bf51fe06975455a3ae33dfedd01702c6076aedf97ea61f2d1b
DIST xen-security-patches-00.tar.gz 4280 SHA256 1cb3d3d4af15202ce8ea5d6a5982b8c9a4623e565c732c64f5ec949cf55a11c0 SHA512 06e8fa8bda712564a18712640087a920545da3dc6bd6d94762f7f7fee33afb807f2d517e8d6177a683baf8ec04832acf57557f8125973f00e7de6109b3d5131b WHIRLPOOL 8b1b7caa37b73f442f440f599d9ae8d1562c6361c693b4d18540dbe7de4fa8046e3139f19dfdff35a316466ed7f017a3a99d430eb28e0716a0c6b52d8aec5b0b
DIST xen-security-patches-10.tar.gz 13289 SHA256 8937b3c0045f83ac0685ce129c99be8ab035f2ed92605d0c1100d4f898d978a3 SHA512 698963479149bd63695b3ffd7d108b798ce6c694560f2908b639f3a1b00d37d4994fbc1e0e21aaba1f3a113653d5b37c28679bc1d97d75a805844345c9c070c0 WHIRLPOOL 8c2433c35499819906abf5cb8898dac23cbf7523cc4b4e9291e696eb2871971a7300d3f54865ac32738a1b67c1de18e227085f14c5717b60ec951d5038fa0493
DIST xen-security-patches-11.tar.gz 12639 SHA256 285e009010387be18bc8588f4dca3b3ec86a637a4afb13a7a5a23b0406a36d68 SHA512 af0f0f1bacbbb3d2141267dea623f5f69e95190ddd9ef62a5c0e9eef548c248a230dc08cc07e77e206e9f8ad19fd24bc1828e25c44370091673af4dff66f5c8a WHIRLPOOL 8b085a726f8f2ed9a354103dc29f83b427db934cfaa87b9391fba934c18562765f5f99ef560189bc8d0814d37fbf5deb57a5992e4d76ebddac06c8ffb74da8de
DIST xen-security-patches-8.tar.gz 9416 SHA256 3c0e6e8428f1890c8dda72ac94244fa3d6611b3612ef59ffed29b59481806a12 SHA512 f5ee325a8b25079ea256cb5a2e039e6738dee999be6d9d91ade875663c36f72a086bcb0bd1bb243483afb921da401c5d7453fea7405323fdaf8cf6e06a221049 WHIRLPOOL c30f14bb8a1a3ad22a962d4050027fa89a373f742c3eb7a161e1490beb186c6221f24247cd84b07e7f266c38aae6ef386f2e4db29a4b43cceaaaa54b644bb4f1
DIST xen-security-patches-9.tar.gz 9793 SHA256 2167d7bc2a631cf13d5b49c9577dbc8d128517e8ecbf90ef85c38f52ab3187aa SHA512 42f4997f35cc06333584a9a3c65366493094b60a6c67928b6165f3fb7d35d3a8f9dc0c3eadd4522de0d99bcc8511afba1d5e543396399b37983eb547abedca44 WHIRLPOOL 8abb68b4ac10fbc2b590c8a29cd2474d5392d3958542dad7f21ba4ad51c7541bb1686ed2629323e214c3e72b0de7212f25a4681f653d4179404c9f4c53e3d83a
DIST xen-upstream-patches-0.tar.gz 2297 SHA256 bf21272ad029391d30bf31896efcadc75267538f6c7de5d239453f19659d58ee SHA512 3f5d60aaebd181bddab4dd02e0064de2f75672f44a687a7331fa40e81d56763fea84504081a449d11403b21ad0ba2dac075f0b1796809ef8d16e244f6be99e3d WHIRLPOOL 4ebe79c8f2ea1c45e88e59941e477ed5639dbca3fe95c9a67e07afb0f4b6fb8b7fea8e58422d7c8f906299e4f37c14b4db15200997e5a92b647df98fa93e10c7

@ -0,0 +1,192 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit eutils multilib mount-boot flag-o-matic python-any-r1 toolchain-funcs
MY_PV=${PV/_/-}
MY_P=${PN}-${PV/_/-}
if [[ $PV == *9999 ]]; then
inherit git-r3
KEYWORDS=""
EGIT_REPO_URI="git://xenbits.xen.org/${PN}.git"
SRC_URI=""
else
KEYWORDS="~amd64 ~arm -x86"
UPSTREAM_VER=
SECURITY_VER=0
# var set to reflect https://dev.gentoo.org/~idella4/
SEC_VER=11
GENTOO_VER=
[[ -n ${UPSTREAM_VER} ]] && \
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
[[ -n ${SECURITY_VER} ]] && \
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~idella4/distfiles/${PN/-tools}-security-patches-${SECURITY_VER}.tar.xz
https://dev.gentoo.org/~idella4/distfiles/${PN/-tools}-security-patches-${SEC_VER}.tar.gz"
[[ -n ${GENTOO_VER} ]] && \
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-gentoo-patches-${GENTOO_VER}.tar.xz"
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/${MY_P}.tar.gz
${UPSTREAM_PATCHSET_URI}
${SECURITY_PATCHSET_URI}
${GENTOO_PATCHSET_URI}"
fi
DESCRIPTION="The Xen virtual machine monitor"
HOMEPAGE="http://xen.org/"
LICENSE="GPL-2"
SLOT="0"
IUSE="custom-cflags debug efi flask xsm"
DEPEND="${PYTHON_DEPS}
efi? ( >=sys-devel/binutils-2.22[multitarget] )
!efi? ( >=sys-devel/binutils-2.22[-multitarget] )"
RDEPEND=""
PDEPEND="~app-emulation/xen-tools-${PV}"
RESTRICT="test"
# Approved by QA team in bug #144032
QA_WX_LOAD="boot/xen-syms-${PV}"
REQUIRED_USE="flask? ( xsm )
arm? ( debug )"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
python-any-r1_pkg_setup
if [[ -z ${XEN_TARGET_ARCH} ]]; then
if use x86 && use amd64; then
die "Confusion! Both x86 and amd64 are set in your use flags!"
elif use x86; then
export XEN_TARGET_ARCH="x86_32"
elif use amd64; then
export XEN_TARGET_ARCH="x86_64"
elif use arm; then
export XEN_TARGET_ARCH="arm32"
elif use arm64; then
export XEN_TARGET_ARCH="arm64"
else
die "Unsupported architecture!"
fi
fi
if use flask ; then
export "XSM_ENABLE=y"
export "FLASK_ENABLE=y"
elif use xsm ; then
export "XSM_ENABLE=y"
fi
}
src_prepare() {
# Upstream's patchset
if [[ -n ${UPSTREAM_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-upstream
fi
if [[ -n ${SECURITY_VER} ]]; then
einfo "Try to apply Xen Security patcheset"
# apply main xen patches
# Two parallel systems, both work side by side
# Over time they may concdense into one. This will suffice for now
EPATCH_SUFFIX="patch"
EPATCH_FORCE="yes"
for i in ${XEN_SECURITY_MAIN}; do
epatch "${WORKDIR}"/patches-security/xen/$i
done
for i in "${WORKDIR}"/xen-sec/xsa*.patch; do
epatch $i
done
fi
# Gentoo's patchset
if [[ -n ${GENTOO_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patches-gentoo
fi
# Drop .config
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
if use efi; then
epatch "${FILESDIR}"/${PN}-4.5-efi.patch
export EFI_VENDOR="gentoo"
export EFI_MOUNTPOINT="boot"
fi
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default custom-cflags
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} \; || die "failed to re-set custom-cflags"
fi
# remove -Werror for gcc-4.6's sake
find "${S}" -name 'Makefile*' -o -name '*.mk' -o -name 'common.make' | \
xargs sed -i 's/ *-Werror */ /'
# not strictly necessary to fix this
sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to re-set setup.py"
epatch_user
}
src_configure() {
use arm && myopt="${myopt} CONFIG_EARLY_PRINTK=sun7i"
use debug && myopt="${myopt} debug=y"
if use custom-cflags; then
filter-flags -fPIE -fstack-protector
replace-flags -O3 -O2
else
unset CFLAGS
fi
}
src_compile() {
# Send raw LDFLAGS so that --as-needed works
emake V=1 CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
}
src_install() {
local myopt
use debug && myopt="${myopt} debug=y"
# The 'make install' doesn't 'mkdir -p' the subdirs
if use efi; then
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
fi
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
}
pkg_postinst() {
elog "Official Xen Guide and the unoffical wiki page:"
elog " https://wiki.gentoo.org/wiki/Xen"
elog " http://en.gentoo-wiki.com/wiki/Xen/"
use efi && einfo "The efi executable is installed in boot/efi/gentoo"
elog "You can optionally block the installation of /boot/xen-syms by an entry"
elog "in folder /etc/portage/env using the portage's feature INSTALL_MASK"
elog "e.g. echo ${msg} > /etc/portage/env/xen.conf"
}

@ -0,0 +1,197 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit eutils multilib mount-boot flag-o-matic python-any-r1 toolchain-funcs
MY_PV=${PV/_/-}
MY_P=${PN}-${PV/_/-}
if [[ $PV == *9999 ]]; then
inherit git-r3
KEYWORDS=""
EGIT_REPO_URI="git://xenbits.xen.org/xen.git"
SRC_URI=""
else
KEYWORDS="~amd64 ~arm -x86"
UPSTREAM_VER=0
SECURITY_VER=0
# var set to reflect https://dev.gentoo.org/~idella4/
# first instance of UPS_VER (usptream ver)
UPS_VER=0
SEC_VER=10
GENTOO_VER=
[[ -n ${UPSTREAM_VER} ]] && \
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz
https://dev.gentoo.org/~idella4/distfiles/${PN}-upstream-patches-${UPS_VER}.tar.gz"
[[ -n ${SECURITY_VER} ]] && \
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~idella4/distfiles/${PN/-tools}-security-patches-${SECURITY_VER}.tar.xz
https://dev.gentoo.org/~idella4/distfiles/${PN}-security-patches-${SEC_VER}.tar.gz"
[[ -n ${GENTOO_VER} ]] && \
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-gentoo-patches-${GENTOO_VER}.tar.xz"
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/${MY_P}.tar.gz
${UPSTREAM_PATCHSET_URI}
${SECURITY_PATCHSET_URI}
${GENTOO_PATCHSET_URI}"
fi
DESCRIPTION="The Xen virtual machine monitor"
HOMEPAGE="http://xen.org/"
LICENSE="GPL-2"
SLOT="0"
IUSE="custom-cflags debug efi flask"
DEPEND="${PYTHON_DEPS}
efi? ( >=sys-devel/binutils-2.22[multitarget] )
!efi? ( >=sys-devel/binutils-2.22 )"
RDEPEND=""
PDEPEND="~app-emulation/xen-tools-${PV}"
# no tests are available for the hypervisor
# prevent the silliness of /usr/lib/debug/usr/lib/debug files
# prevent stripping of the debug info from the /usr/lib/debug/xen-syms
RESTRICT="test splitdebug strip"
# Approved by QA team in bug #144032
QA_WX_LOAD="boot/xen-syms-${PV}"
REQUIRED_USE="arm? ( debug )"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
python-any-r1_pkg_setup
if [[ -z ${XEN_TARGET_ARCH} ]]; then
if use amd64; then
export XEN_TARGET_ARCH="x86_64"
elif use arm; then
export XEN_TARGET_ARCH="arm32"
elif use arm64; then
export XEN_TARGET_ARCH="arm64"
else
die "Unsupported architecture!"
fi
fi
if use flask ; then
export "XSM_ENABLE=y"
export "FLASK_ENABLE=y"
fi
}
src_prepare() {
# Upstream's patchset
if [[ -n ${UPSTREAM_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-upstream \
"${WORKDIR}"/libexec.patch
fi
if [[ -n ${SECURITY_VER} ]]; then
einfo "Try to apply Xen Security patcheset"
# apply main xen patches
# Two parallel systems, both work side by side
# Over time they may concdense into one. This will suffice for now
EPATCH_SUFFIX="patch"
EPATCH_FORCE="yes"
for i in ${XEN_SECURITY_MAIN}; do
epatch "${WORKDIR}"/patches-security/xen/$i
done
for i in "${WORKDIR}"/xen-sec/xsa*.patch; do
epatch $i
done
fi
# Gentoo's patchset
if [[ -n ${GENTOO_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patches-gentoo
fi
epatch "${FILESDIR}"/${PN}-4.6-efi.patch
# Drop .config
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
if use efi; then
export EFI_VENDOR="gentoo"
export EFI_MOUNTPOINT="boot"
fi
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default custom-cflags
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} \; || die "failed to re-set custom-cflags"
fi
# remove -Werror for gcc-4.6's sake
find "${S}" -name 'Makefile*' -o -name '*.mk' -o -name 'common.make' | \
xargs sed -i 's/ *-Werror */ /'
# not strictly necessary to fix this
sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to re-set setup.py"
epatch_user
}
src_configure() {
use arm && myopt="${myopt} CONFIG_EARLY_PRINTK=sun7i"
use debug && myopt="${myopt} debug=y"
if use custom-cflags; then
filter-flags -fPIE -fstack-protector
replace-flags -O3 -O2
else
unset CFLAGS
unset LDFLAGS
unset ASFLAGS
fi
}
src_compile() {
# Send raw LDFLAGS so that --as-needed works
emake V=1 CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
}
src_install() {
local myopt
use debug && myopt="${myopt} debug=y"
# The 'make install' doesn't 'mkdir -p' the subdirs
if use efi; then
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
fi
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
# make install likes to throw in some extra EFI bits if it built
use efi || rm -rf "${D}/usr/$(get_libdir)/efi"
}
pkg_postinst() {
elog "Official Xen Guide and the unoffical wiki page:"
elog " https://wiki.gentoo.org/wiki/Xen"
elog " http://en.gentoo-wiki.com/wiki/Xen/"
use efi && einfo "The efi executable is installed in boot/efi/gentoo"
elog "You can optionally block the installation of /boot/xen-syms by an entry"
elog "in folder /etc/portage/env using the portage's feature INSTALL_MASK"
elog "e.g. echo ${msg} > /etc/portage/env/xen.conf"
}

@ -0,0 +1,202 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit eutils multilib mount-boot flag-o-matic python-any-r1 toolchain-funcs
MY_PV=${PV/_/-}
MY_P=${PN}-${PV/_/-}
if [[ $PV == *9999 ]]; then
inherit git-r3
KEYWORDS=""
EGIT_REPO_URI="git://xenbits.xen.org/xen.git"
SRC_URI=""
else
KEYWORDS="~amd64 ~arm -x86"
UPSTREAM_VER=
SECURITY_VER=00
# var set to reflect https://dev.gentoo.org/~idella4/
# first instance of UPS_VER (usptream ver)
UPS_VER=
SEC_VER=
GENTOO_VER=
[[ -n ${UPSTREAM_VER} ]] && \
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz
https://dev.gentoo.org/~idella4/distfiles/${PN}-upstream-patches-${UPS_VER}.tar.gz"
[[ -n ${SECURITY_VER} ]] && \
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~idella4/distfiles/${PN}-security-patches-${SECURITY_VER}.tar.gz"
[[ -n ${GENTOO_VER} ]] && \
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-gentoo-patches-${GENTOO_VER}.tar.xz"
SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/${MY_P}.tar.gz
${UPSTREAM_PATCHSET_URI}
${SECURITY_PATCHSET_URI}
${GENTOO_PATCHSET_URI}"
fi
DESCRIPTION="The Xen virtual machine monitor"
HOMEPAGE="http://xen.org/"
LICENSE="GPL-2"
SLOT="0"
IUSE="custom-cflags debug efi flask"
DEPEND="${PYTHON_DEPS}
efi? ( >=sys-devel/binutils-2.22[multitarget] )
!efi? ( >=sys-devel/binutils-2.22 )"
RDEPEND=""
PDEPEND="~app-emulation/xen-tools-${PV}"
# no tests are available for the hypervisor
# prevent the silliness of /usr/lib/debug/usr/lib/debug files
# prevent stripping of the debug info from the /usr/lib/debug/xen-syms
RESTRICT="test splitdebug strip"
# Approved by QA team in bug #144032
QA_WX_LOAD="boot/xen-syms-${PV}"
REQUIRED_USE="arm? ( debug )"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
python-any-r1_pkg_setup
if [[ -z ${XEN_TARGET_ARCH} ]]; then
if use amd64; then
export XEN_TARGET_ARCH="x86_64"
elif use arm; then
export XEN_TARGET_ARCH="arm32"
elif use arm64; then
export XEN_TARGET_ARCH="arm64"
else
die "Unsupported architecture!"
fi
fi
if use flask ; then
export "XSM_ENABLE=y"
export "FLASK_ENABLE=y"
fi
}
src_prepare() {
# Upstream's patchset
if [[ -n ${UPSTREAM_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-upstream \
"${WORKDIR}"/libexec.patch
fi
if [[ -n ${SECURITY_VER} ]]; then
einfo "Try to apply Xen Security patcheset"
# apply main xen patches
# Two parallel systems, both work side by side
# Over time they may concdense into one. This will suffice for now
EPATCH_SUFFIX="patch"
EPATCH_FORCE="yes"
for i in ${XEN_SECURITY_MAIN}; do
epatch "${WORKDIR}"/patches-security/xen/$i
done
for i in "${WORKDIR}"/xen-sec/xsa*.patch; do
epatch $i
done
fi
# Gentoo's patchset
if [[ -n ${GENTOO_VER} ]]; then
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patches-gentoo
fi
epatch "${FILESDIR}"/${PN}-4.6-efi.patch
# Drop .config
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
if use efi; then
export EFI_VENDOR="gentoo"
export EFI_MOUNTPOINT="boot"
fi
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default custom-cflags
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} \; || die "failed to re-set custom-cflags"
fi
# remove -Werror for gcc-4.6's sake
find "${S}" -name 'Makefile*' -o -name '*.mk' -o -name 'common.make' | \
xargs sed -i 's/ *-Werror */ /'
# not strictly necessary to fix this
sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to re-set setup.py"
# Bug #575868 converted to a sed statement, typo of one char
sed -e "s:granters:granter's:" -i xen/include/public/grant_table.h
# Bug #575868 converted to a sed statement, typo of one char
sed -e "s:granters:granter's:" -i xen/include/public/grant_table.h || die
epatch_user
}
src_configure() {
use arm && myopt="${myopt} CONFIG_EARLY_PRINTK=sun7i"
use debug && myopt="${myopt} debug=y"
if use custom-cflags; then
filter-flags -fPIE -fstack-protector
replace-flags -O3 -O2
else
unset CFLAGS
unset LDFLAGS
unset ASFLAGS
fi
}
src_compile() {
# Send raw LDFLAGS so that --as-needed works
emake V=1 CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
}
src_install() {
local myopt
use debug && myopt="${myopt} debug=y"
# The 'make install' doesn't 'mkdir -p' the subdirs
if use efi; then
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
fi
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
# make install likes to throw in some extra EFI bits if it built
use efi || rm -rf "${D}/usr/$(get_libdir)/efi"
}
pkg_postinst() {
elog "Official Xen Guide and the unoffical wiki page:"
elog " https://wiki.gentoo.org/wiki/Xen"
elog " http://en.gentoo-wiki.com/wiki/Xen/"
use efi && einfo "The efi executable is installed in boot/efi/gentoo"
elog "You can optionally block the installation of /boot/xen-syms by an entry"
elog "in folder /etc/portage/env using the portage's feature INSTALL_MASK"
elog "e.g. echo ${msg} > /etc/portage/env/xen.conf"
}

@ -169,12 +169,7 @@ pkg_postinst() {
"${EROOT}"/usr/sbin/update-ca-certificates --root "${ROOT}"
fi
local c badcerts=0
for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do
ewarn "Broken symlink for a certificate at $c"
badcerts=1
done
if [ ${badcerts} -eq 1 ]; then
if [ -n "$(find -L "${EROOT}"etc/ssl/certs/ -type l)" ] ; then
ewarn "Removing the following broken symlinks:"
ewarn "$(find -L "${EROOT}"/etc/ssl/certs/ -type l -printf '%p -> %l\n' -delete)"
fi

@ -4,6 +4,6 @@
<!-- maintainer-needed -->
<use>
<flag name="pvm">Add support for parallel virtual machine
(<pkg>sys-cluster/pvm</pkg>)</flag>
(sys-cluster/pvm)</flag>
</use>
</pkgmetadata>

@ -1,24 +1,24 @@
DIST amd64-debug-libreoffice-5.0.5.2.tar.xz 7222948 SHA256 57a4d23c3588574e47e1d6d2b04faa84936ebd4bcf3747d7dd588c66ab210ffe SHA512 78852c53b3683a7adf76a0e2d58ae0ee356f4bf9e8a8462235480c675e50c02ada53323267bd412ec409d4f53799a9d342726097d44803aaf698c9d1ffd7dd38 WHIRLPOOL d16b0fe1fea2dfdc41f1ddf20595737532687375c47031f6e22f229404e05bf8c427e9e223b0ece1c5fdb2c3287117587897a6ea3fd5d7536a3d7652b8759683
DIST amd64-debug-libreoffice-5.1.2.2.tar.xz 1086816628 SHA256 c2ba270317ac7026d841959ad365e4f346cdae21563dc54a778977a55ea46ab7 SHA512 c3d262afc0c76a802fad996efa25137855cce1f1d0034f520be5ad939ec7258006842541c7c2a95a54a0e58ed4ef144b2287671a43f37f5b07453cd69de11489 WHIRLPOOL e729d1e8fad7033b5490564733ef8ad6a58fc03165ddce1fe61032748fcb2fb71bd4d4ef6370f1653d1915a8dbfdb07b044d7b47574f012c77a05751ae02524e
DIST amd64-debug-libreoffice-5.1.2.2-r1.tar.xz 1086804300 SHA256 b39e5db80ff380000d3278f87616b44d9795d38ff5105125cc86a2469f941bda SHA512 82729c9066b7cea33eab02b33fa3ca4379d94a3d1169f03d420071a6648dc0887f46127482e448e58df18af70a72f803dfae1c9d3661803980368c2dcb303b94 WHIRLPOOL 2f18fbfd9f31c377b88cf1e4bce29db13cf1aaf07c92e0447970c55680ce719694adc786d6f95982540fe009bd1fdbe12a1d4a82746ad127b208543911b96a42
DIST amd64-debug-libreoffice-gnome-5.0.5.2.xd3 104477 SHA256 be04bc430abaed0ba0f6391dfb08e0804566e53f22217f1c961a5870b7b87e6a SHA512 b375df930fefa4389bdce908231c34c03c9e2cc33184c1626184e3ad3799f58704fce8f1902988891308d046b0a0bbc07af0ce66bd2ab02f4559b4e1ad45120b WHIRLPOOL 1ad2c7dfd4750859411cef5c33589ac58cd65a358449dad007a641e36366475833d56f32069df51c8ef68207cb3607545f6b37de9dac21fc3e522735832e2583
DIST amd64-debug-libreoffice-gnome-5.1.2.2.xd3 5364580 SHA256 c55bdad54f97206e0408a55b30acf87d0bf8aa53fc62e9b881249c33d00bbadb SHA512 d4040bddbd5700efe6a3953ab8469329e07c549051bf496f6f3fe816bb2064fd2788287a1b2b982bcb603264033c4dee52e66293a94ad9154f96929f01f58cbd WHIRLPOOL 93b976dbe8bac7f96b17f267836fb91f93f1329b85d71003eb8f79e8528bf5e39cfed05f98eb32d7f955d7f06078b4deb617f221b86be48c158edf9ac97e850b
DIST amd64-debug-libreoffice-gnome-5.1.2.2-r1.xd3 5364840 SHA256 a49cdc8df5a08b77d60056d79e5bb01a00e14cb847e8f94bca3a691212047bf6 SHA512 60e2da247a5cb74082ebfd276944889d8ac4fbdf97eba99f54c2bc3b7318ea648b3af26329e4350f597957e190e3089aed12218855dbd2fe30ed8ef5e4ce494e WHIRLPOOL 8a6bd5434c463218643b06f8095a088e46979667614248f76b0d9a445e99de8df8af73f6b9a72197483127436470a629c1570b703a6228c58bb17371ef13404a
DIST amd64-debug-libreoffice-gnome-java-5.0.5.2.xd3 2733566 SHA256 27e1ed9a3ebbbb41020fc8d236ad41073260343f5832aa10c15795c1f2b05d0a SHA512 86281ca103b49a9f55625f818982677314b1a50dbd7f356affd22551fba852df8344dbc5e79088a7099207ce2041c5975cfa18dbb044d83e1424ee3303c31aa3 WHIRLPOOL b409c7caed481030427f1a5f98f37853bd7eacdaf23659bb7fbf516ef23212b1688f2a3bd317b77878ba27d6e49d4d8a781699bd67843db46d26317d2174a016
DIST amd64-debug-libreoffice-gnome-java-5.1.2.2.xd3 509131754 SHA256 ebd13d3d80c448a9f39e855ff4d3caa00b1cf62a24a18e8afbd361e9cdc718a4 SHA512 4225cff3b08f8b192c96fda88a8da1e53de25fda1f0e242f8a4f5071414472a03231ebd4c349604a156df3d257d5a5a89c72b15a8a2c20c83abad4997136612c WHIRLPOOL a75c32e862ae58b6bec1b6e52251b9aae2cfa0736537c243b9fecdf1b4cdb9b6fa88163f2ad832e57c31161528797d96484bcd80ae7daa58832ee36720876bb8
DIST amd64-debug-libreoffice-gnome-java-5.1.2.2-r1.xd3 509271796 SHA256 5ed0c62db9a1892f51512dfdb26925d1e7a882a0b10dcfb7e2a706191d1face7 SHA512 bae112e2444d513678c3fe636e419cb984fbe3ea2973569ff169e7ce2bae0bb9d30517e66e8c4ece72db4839dc702b135384028ad08bc65d0deb0e4db36a8b54 WHIRLPOOL c77bd5ac2a02174465a154db6277313267a5f60b29faa5bcbdb010a82b179e6cf4e014b0e62d14f87b618da0d0b4860098be5fbf7e90d5b32b712a3742a4d9c1
DIST amd64-debug-libreoffice-java-5.0.5.2.xd3 2654813 SHA256 468ec022659bb92debe9321ec8c979a51b55f3d610821ba52f1ce9ee67e4fc4f SHA512 3b75c168b520b3802a09cbd2761e97ece58749dc4bdc76b22927f55211c8a3fad4d0afabe74b33bb7180c1633ef860055d3f2094171e922f595c8301259be8ab WHIRLPOOL 799a18daaeb798aa1c907a68d4807432e41710cbeaf55afc47e92c5088da553a7cb1e9e8059f6ae9c21e67dcc6eadf444a778b455e1ca0d153206c083a6c5fd7
DIST amd64-debug-libreoffice-java-5.1.2.2.xd3 506492716 SHA256 53ba96b1aa0a03a5f873db272b16abda91aeaa1e27dfc10489c3677f548b02ba SHA512 2135a8686bbc30a26dd3fa1bfddfa7998ca6d0dec6b3317c074d4695e175bd315843cc11c629ca2d15d23b1c2dc8df18a9dc2273f0f3e31eef9b60866dd150c6 WHIRLPOOL 6f66236ecfcd24ac5d5c9a2172313c1582b5ebf4c176c8cbe0f40713b2e9a8d2b2bb4de2d720bf8bf7cbf5ed692f1aef88f2a1c2a1a10c54a62ae5c2b1260222
DIST amd64-debug-libreoffice-java-5.1.2.2-r1.xd3 506632681 SHA256 3979cc9ad354e8bf77b7c0b97155edcdc2f4ae383898393497479bbb80604b99 SHA512 0e39a9c04d3cbd9a8615bb70a509ece0b4d0309e9eea9357030fadfd7366f30389ee6d7e38bef768139bd1dd13708b1d992461b009730f060598129cfbf25aac WHIRLPOOL 5ae079ac1718df27a6495ab3420e7a414a2212e4d2dcbd605f3cb67cc54109dc099354dc510c4f221fed6c81493ecdd4a1192646b90ae6b5e0009b8dc864ceab
DIST amd64-debug-libreoffice-kde-5.0.5.2.xd3 870170 SHA256 8583934ccb69daa813e91e1fb9e3d64f68f866f5383b1afad1d5547e72656882 SHA512 405e64d9ee876064fc36808baa85100700571a69f80b4a8f14a0c359dd527fc2cd4a77c0fb0c75ab2b0f07dda75abae0c81d21919e5c12950a1a6d46dccf7fe7 WHIRLPOOL 4580b3380dc8e1121f817bf39233215407d728e89eaf5f944e2c072511ac3096cb926d74613e32b75f00ce4e88021b329f0d0952689f99fa335e74cca22b4ba7
DIST amd64-debug-libreoffice-kde-5.1.2.2.xd3 315518067 SHA256 225a570410e1ec53965d4c990af51a7986d1786df2d3313ce21b6bf43b92ca63 SHA512 45ffd544622ac0d4d8b9696f66ec696083e35b2be38973b4ae6f6c66e207a22bba7300acd590c8481b9e292f97adc42bcc68b2059280bf0c5b79262834c4ac91 WHIRLPOOL 3abb6795d240b6501de03c34c97952e85bcf10ba22bc5e951e54de2ac721f46d8178a6a3c1102b1a462c5e3eedeeb6d405a30bef6e423277dc5596f1675b18cd
DIST amd64-debug-libreoffice-kde-5.1.2.2-r1.xd3 315676495 SHA256 dd59cf0395fb12d76a6d8b094960b6f1838fbf345ebb45b7d49945fbadaed7d6 SHA512 375248cf7574fb82627606b11b7dfb3e7772c03136c3138c4cc072c35e2ba29f63a2454c5dee0b62e22bd118ad771a16ee505169f733dbb1fa481805fe79f73c WHIRLPOOL 3927b2880dd1dd24a06e1779ac161098ed5478d341462af9cbcb42d05466c1b412cd27b48309a4a6b93c101237d3e0f939762d19180ea0fc39f4fa7c86c755a0
DIST amd64-debug-libreoffice-kde-java-5.0.5.2.xd3 2678866 SHA256 afe0028e27fc7151756e4225838305625cbb2932db0e1b9f64724a63b1cd3238 SHA512 6f5a23330fe177728d7ca230bef71446195b05698f1d29752939fbec561a19511195a839ab051501baafe6c2fee7b52c77de01131c3c2f5a1af0ae21ccf9eb44 WHIRLPOOL 358ffb52c69e8a07cdbc90049ec59c51d71b38cc3c029b1b0c18e9fbbbaa94ea19968794b34a3253638a19c247b2088eb583ff7b5913f7aa3e817461b0c746bb
DIST amd64-debug-libreoffice-kde-java-5.1.2.2.xd3 508188485 SHA256 904dfaee9b0aa89fd05cde49fb45c56e10f8ead95bb8b83fbcac3d0d12af5ee5 SHA512 27cdd74bc71b0afc2cb38b1f6c6cbbf04e6de8be0be4294ffacc2363693c8dc9b8b76949a7189be00cfea2f7a09728d813ebd7c7f0b4224c5a2b04f640d055bd WHIRLPOOL b59238e5c1fe61dbc5386347207a4686201b0ec21ee6d43557b56a372bc71aad83869f5949902ea060694aded2270628d7fff83504d844cacd7ed4cecfe72ee4
DIST amd64-debug-libreoffice-kde-java-5.1.2.2-r1.xd3 508402095 SHA256 9ce7c0540c7306dc5276c3a4c65d9b78be3abb2af9fa4938e57419eca21e0e84 SHA512 22dbb3b34b7667366ed64bf0d1d77295eac1f6674bb3070a709addeeeedf9dd75eb60a00e90c152d2cde727cafdf6d3bdf9dbba034483c451d52da33f06d9195 WHIRLPOOL 794bcf115c831667c3097429807ac9f7e7718d62c7aa0e9f5062e3f989b8d2c033a7fcb8f9cd8ce6f849647aa5e0005438a5f5ffdf2bcc14ccbe814f8521185a
DIST x86-debug-libreoffice-5.0.5.2.tar.xz 989401352 SHA256 afc2e125ec808a91f1a1bd8f5546d730bdb0ad3af37d18614264ee7d9ac73b2f SHA512 edb123ac996f71acea1cc9c210a5c7503f8d50bfadb9db5a15f285525319e2963b3a0040bcd5e8e452a3a37cd099b466ec833ba79a1ed63d17d0e997dda28001 WHIRLPOOL cd6c99a0abea4a80a57f70ec7b0871be6f32a9c78920875341993138aec8d94715c742d91f95080d05aaa048cbbbc27cdfa2c6f97b18da36242009ff161bfd1f
DIST x86-debug-libreoffice-5.1.2.2.tar.xz 1052623472 SHA256 1b4c6b6c30bd97c64bce5f99b3de7c0ea92f263fed5adbaf175da9d4ead4cc78 SHA512 ad622340c3eda33b6c7281afe7343d1e7e9a048fb62f112d00a1ec52bbed8107794a916b3a5a64c40dcf793f5972cdc76c56da2311d43cbd378e91b3b0d3e799 WHIRLPOOL 0f97be076c9cb438c643877f05164aba7eec12048d5f66a46b315426fc3cdb7bc15b30d42ec15191f64a7c6656284ba050fd7b9d2b9765d7c91b1ffba5777346
DIST x86-debug-libreoffice-5.1.2.2-r1.tar.xz 1052623472 SHA256 1b4c6b6c30bd97c64bce5f99b3de7c0ea92f263fed5adbaf175da9d4ead4cc78 SHA512 ad622340c3eda33b6c7281afe7343d1e7e9a048fb62f112d00a1ec52bbed8107794a916b3a5a64c40dcf793f5972cdc76c56da2311d43cbd378e91b3b0d3e799 WHIRLPOOL 0f97be076c9cb438c643877f05164aba7eec12048d5f66a46b315426fc3cdb7bc15b30d42ec15191f64a7c6656284ba050fd7b9d2b9765d7c91b1ffba5777346
DIST x86-debug-libreoffice-gnome-5.0.5.2.xd3 4808277 SHA256 d5ef6306b7a3b00fa4a2fe303ab21381bf6ce6afd1ae65373b9f4edc32efe5f8 SHA512 591a4c6f9a6e9e8c3f7b86f5a64ab24b5c22a9166562f82affe9e7b553ca8ab418344f9dfd5be974870f4f2d1a1d765b2c8bdcd28da54ca3fcfb5650670baf14 WHIRLPOOL 0d455fb8706ad870729b192c8145c00d49ef1a2b74267cea68efb528c440ee15a9123437282dbc079647be40efdc02638469ad4690d252a5e79eba3f1ac7fa57
DIST x86-debug-libreoffice-gnome-5.1.2.2.xd3 5240438 SHA256 bdf7dfeedede3636b011c6c65e355a489251872ae35e08de50464c5b86519fe5 SHA512 49d85e7ee8f0fdf3127b62bc9e4d6716378c1d24cb31ce1a2f087eb13066e37bc45a99e8b64515e1b72b636a338a7eb0ebd5518d5dc7e4c47805ad990c3dd697 WHIRLPOOL 08799a8520714c8923b4d2c68d400221476703ed2fdc6febce2b30e06b043171412bcbe97d855d86bd947b8de4097c63d0b904534590b6acba117aa3c0ae56c9
DIST x86-debug-libreoffice-gnome-5.1.2.2-r1.xd3 5240438 SHA256 bdf7dfeedede3636b011c6c65e355a489251872ae35e08de50464c5b86519fe5 SHA512 49d85e7ee8f0fdf3127b62bc9e4d6716378c1d24cb31ce1a2f087eb13066e37bc45a99e8b64515e1b72b636a338a7eb0ebd5518d5dc7e4c47805ad990c3dd697 WHIRLPOOL 08799a8520714c8923b4d2c68d400221476703ed2fdc6febce2b30e06b043171412bcbe97d855d86bd947b8de4097c63d0b904534590b6acba117aa3c0ae56c9
DIST x86-debug-libreoffice-gnome-java-5.0.5.2.xd3 456885049 SHA256 b3a204497028d0e21631c2794ada6d9500dcfedfdb8243513f38b78aad91efe9 SHA512 d14fd087326d62c89b261f3322a23acabffb18fe28d95dafee057d42b8da328a2a85e925c01e653e0a8e724fe3f71442ba521c53a53ec795d78f400e9d4c30c0 WHIRLPOOL a83083a12ee8d6916381021c188c76dc82d624a6e0fafc6918040bb2c343e759c2560d8ab9b719f86b3d191e26a74362f3cc40bedcfff397b5421999367ca436
DIST x86-debug-libreoffice-gnome-java-5.1.2.2.xd3 493220984 SHA256 3e135e4640d75cb80743b8bce35303125b10d8076702967af5634a59f05a6e04 SHA512 cdf578b5bd1ff7e8c21cb413bc34a515fc95de622eb9b4e6ea2be368dcab1ce6946e422c02459b9663eb0a01e0258f631a4d55f5c1a72e558944b98e31b5561b WHIRLPOOL 6f39a23f2a7922f62b869bd187f503cfde7c3c8026af93171ce07d371a6b0eddde636b0e2bd8bfccb6d817b03e48471c35fe34a4333e1368dd5f8de10bceffdf
DIST x86-debug-libreoffice-gnome-java-5.1.2.2-r1.xd3 493220984 SHA256 3e135e4640d75cb80743b8bce35303125b10d8076702967af5634a59f05a6e04 SHA512 cdf578b5bd1ff7e8c21cb413bc34a515fc95de622eb9b4e6ea2be368dcab1ce6946e422c02459b9663eb0a01e0258f631a4d55f5c1a72e558944b98e31b5561b WHIRLPOOL 6f39a23f2a7922f62b869bd187f503cfde7c3c8026af93171ce07d371a6b0eddde636b0e2bd8bfccb6d817b03e48471c35fe34a4333e1368dd5f8de10bceffdf
DIST x86-debug-libreoffice-java-5.0.5.2.xd3 454576320 SHA256 8c45081d6615ac82ea6e9efbde06ee061718d54a951cbf17a0eb8970edcefe38 SHA512 36377b926805021b23f60115db39c2c8b78e635c86a2c0eec85bc6c8b9d589e166a12f1cc6d34e85761286a8c0a4f2e2ad62cd2d789e3866bc737f17a1ae2c01 WHIRLPOOL 61cd1ae075728a8fd2361715ded7d64cec49d5a31a2f57559585fd875445f300ad47a7bf7a329b9c422924011122d109b385db1bc33a8b1379dcb95e51da9dc4
DIST x86-debug-libreoffice-java-5.1.2.2.xd3 490722535 SHA256 31950acf5c6559f229c9e2cdcf9f5a239be26185874610cf4214fb8059f10212 SHA512 13496f92832ed4475d52da222000a2ccfc752fb6f3a22cf51fb1b14ce5359bd28494dd355d6ec8473551a23c185c910e3360e8542c2f29175ae7080de15b2048 WHIRLPOOL ffb44b39aca6af19b6fa675a370fc3ec3ec7217aa4708eb89f8ea7d4fa0342f0b9848f199373ae713c6d35ca446c7995f0744f1c851f3297f8768218c6c18e7f
DIST x86-debug-libreoffice-java-5.1.2.2-r1.xd3 490722535 SHA256 31950acf5c6559f229c9e2cdcf9f5a239be26185874610cf4214fb8059f10212 SHA512 13496f92832ed4475d52da222000a2ccfc752fb6f3a22cf51fb1b14ce5359bd28494dd355d6ec8473551a23c185c910e3360e8542c2f29175ae7080de15b2048 WHIRLPOOL ffb44b39aca6af19b6fa675a370fc3ec3ec7217aa4708eb89f8ea7d4fa0342f0b9848f199373ae713c6d35ca446c7995f0744f1c851f3297f8768218c6c18e7f
DIST x86-debug-libreoffice-kde-5.0.5.2.xd3 274324380 SHA256 015693261525aafa489ec7598c670d845e4258bf61f5774350a7d52adabbdc68 SHA512 578d9dd81ffc73cf999f2f2b6071b50d08d9bda5d776533f72465611a44276ddb70dd865979a8910d0a27ee942d1bc15f8d8353ea9416a306182b5ac4e4d70d7 WHIRLPOOL fb55a8d0c5acbcc5eab00fcff3aff99a5682afd24892c4ec301ccd4fe505a9f574fd7d45530af849c9c05e629c0af067bb952d512044312ee71cfeeded9bd09c
DIST x86-debug-libreoffice-kde-5.1.2.2.xd3 303276281 SHA256 d337182aa1f4e76a7561b8875d389ec63805c48530e855e43ce8598aad74e924 SHA512 b258a760713dba3084adf6ba5011fd3b2cfd848d4edca3ec25b6014016871551b8c9f9a01c01971243ce11415534e3d9b5fb1854786c96cfd30b9ac4e66bc153 WHIRLPOOL bb2d279b5edb67db5d4c258cb110767241fa8859d7a961a67728bc85929a24780ecb33712b542fc10f1bef1187bc9b7072117adc81de104f87de0865c6ebb2c7
DIST x86-debug-libreoffice-kde-5.1.2.2-r1.xd3 303276281 SHA256 d337182aa1f4e76a7561b8875d389ec63805c48530e855e43ce8598aad74e924 SHA512 b258a760713dba3084adf6ba5011fd3b2cfd848d4edca3ec25b6014016871551b8c9f9a01c01971243ce11415534e3d9b5fb1854786c96cfd30b9ac4e66bc153 WHIRLPOOL bb2d279b5edb67db5d4c258cb110767241fa8859d7a961a67728bc85929a24780ecb33712b542fc10f1bef1187bc9b7072117adc81de104f87de0865c6ebb2c7
DIST x86-debug-libreoffice-kde-java-5.0.5.2.xd3 456139388 SHA256 e449a410a136b82e5f645b92845f8e57eb09fb395a83342d52de483fab74e3bb SHA512 57f62ab4ec3e6b87db402257d96be8033b36e712cfffad5491de52d7242ffcc03f3d76f85e167ae2c36f5fd62297cd26e816dec951e31d0199cf35f53f074d2e WHIRLPOOL 75e6928007bbb2d15a260ee55fee9038281249e5ab636093d6c49fe9c092f08e452d635b66acc6af1eed7b46ef059608ea615ef1144d72776811698d03e55316
DIST x86-debug-libreoffice-kde-java-5.1.2.2.xd3 492376503 SHA256 4d5876f135ce8301e74e8c6398022daf06c01269f740584ad692a8ca6b40d78b SHA512 47d086288871c216a493857a0fbab8ecfe29864c0a868827bcda99bb37806b926eb8fdda9c2bd8956de7b014a3e503abf4f88fd590362adb1698e8126f336d93 WHIRLPOOL 86c67ec3bc25ca6341da939a1ee1d4c5420be7a19ed5ce6341559cc5e42234905a8ae4e08d893cb6cd8b5572d6c20bb6569056b134a878295ff8288b1ea6fc35
DIST x86-debug-libreoffice-kde-java-5.1.2.2-r1.xd3 492376503 SHA256 4d5876f135ce8301e74e8c6398022daf06c01269f740584ad692a8ca6b40d78b SHA512 47d086288871c216a493857a0fbab8ecfe29864c0a868827bcda99bb37806b926eb8fdda9c2bd8956de7b014a3e503abf4f88fd590362adb1698e8126f336d93 WHIRLPOOL 86c67ec3bc25ca6341da939a1ee1d4c5420be7a19ed5ce6341559cc5e42234905a8ae4e08d893cb6cd8b5572d6c20bb6569056b134a878295ff8288b1ea6fc35

@ -11,31 +11,31 @@ BASE_X86_URI="http://packages.gentooexperimental.org/packages/x86-libreoffice/x8
DESCRIPTION="LibreOffice, a full office productivity suite. Binary package, debug info"
HOMEPAGE="http://www.libreoffice.org"
SRC_URI_AMD64="
${BASE_AMD64_URI}libreoffice-${PV}.tar.xz
${BASE_AMD64_URI}libreoffice-${PVR}.tar.xz
kde? (
!java? ( ${BASE_AMD64_URI}libreoffice-kde-${PV}.xd3 )
java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PV}.xd3 )
!java? ( ${BASE_AMD64_URI}libreoffice-kde-${PVR}.xd3 )
java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PVR}.xd3 )
)
gnome? (
!java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PV}.xd3 )
java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PV}.xd3 )
!java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PVR}.xd3 )
java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PVR}.xd3 )
)
!kde? ( !gnome? (
java? ( ${BASE_AMD64_URI}libreoffice-java-${PV}.xd3 )
java? ( ${BASE_AMD64_URI}libreoffice-java-${PVR}.xd3 )
) )
"
SRC_URI_X86="
${BASE_X86_URI}libreoffice-${PV}.tar.xz
${BASE_X86_URI}libreoffice-${PVR}.tar.xz
kde? (
!java? ( ${BASE_X86_URI}libreoffice-kde-${PV}.xd3 )
java? ( ${BASE_X86_URI}libreoffice-kde-java-${PV}.xd3 )
!java? ( ${BASE_X86_URI}libreoffice-kde-${PVR}.xd3 )
java? ( ${BASE_X86_URI}libreoffice-kde-java-${PVR}.xd3 )
)
gnome? (
!java? ( ${BASE_X86_URI}libreoffice-gnome-${PV}.xd3 )
java? ( ${BASE_X86_URI}libreoffice-gnome-java-${PV}.xd3 )
!java? ( ${BASE_X86_URI}libreoffice-gnome-${PVR}.xd3 )
java? ( ${BASE_X86_URI}libreoffice-gnome-java-${PVR}.xd3 )
)
!kde? ( !gnome? (
java? ( ${BASE_X86_URI}libreoffice-java-${PV}.xd3 )
java? ( ${BASE_X86_URI}libreoffice-java-${PVR}.xd3 )
) )
"
@ -60,8 +60,8 @@ S="${WORKDIR}"
QA_PREBUILT="/usr/*"
src_unpack() {
einfo "Uncompressing distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar.xz"
xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" || die
einfo "Uncompressing distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz"
xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
local patchname
use kde && patchname="-kde"
@ -69,13 +69,13 @@ src_unpack() {
use java && patchname="${patchname}-java"
if [ -n "${patchname}" ]; then
einfo "Patching distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PV}.xd3"
xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PV}.xd3" "${WORKDIR}/tmpdist.tar" || die
mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" || die
einfo "Patching distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3"
xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3" "${WORKDIR}/tmpdist.tar" || die
mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
fi
einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar"
unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar"
einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
}
src_configure() { :; }

@ -1,24 +1,24 @@
DIST amd64-bin-libreoffice-5.0.5.2.tar.xz 77007548 SHA256 e27462dee3432c69a341964983a8500fe66164097d1e29d33fee0f84918f7c1b SHA512 ff5d300c158195b0d53df2e9f9aa237432bb4f00c3cf776e77dc129923e66f9b3ca98b5c2661f3adda00940dbbf785c2da801efdbcba06bece288b445b9281c5 WHIRLPOOL a728a718bfd7a1e2366498d1c5077882eb153a143df478faeb6e8adf5d0fd27f97e58965527d536ae824b5ba27ef64d05361ec70bd904d0a7cdb74b580c4ae0c
DIST amd64-bin-libreoffice-5.1.2.2.tar.xz 77357936 SHA256 13f9dce6175db3f1958e3c0ff52de86cb906230b293295fec43ab4f9c0189101 SHA512 3235b06df687dadaa74c7bb11141d26356a2ea0156890fa3257b76b541334ab9c49ba8be21959bc7e53a844be5ae8b64d8575139defbee19aa47bec8280cd567 WHIRLPOOL 19eef19ef6a8f785cb77e1dd97ca8d7680c610bd7bc3e712c757898f6463006ab9bdf59f95bec3e9f567f1f42be6ec1f278e0e894da42e5077c9330ab432479e
DIST amd64-bin-libreoffice-5.1.2.2-r1.tar.xz 77349604 SHA256 36738da36c0daaccce92f0d95b3e8d119da4955bbca8cce1ffe52acabc9173f9 SHA512 ad5225c396765fd59c2fe54de94ddc4cc2b1e739e1481c6c6a475a815079a92752c82bc6ed744b91a0bbb5bf35d439a214001607815199aabfb797d5a56a1db8 WHIRLPOOL 7023f89a7c10c5d86a6dbc6a4614404c1969b8749bc2f3e47c3704bb2026520a264cc4936e6f62c1e5ca60cc387bd1b5d1e1759331b60e5ba8110fbe610b42e9
DIST amd64-bin-libreoffice-gnome-5.0.5.2.xd3 429970 SHA256 de6dfaa786bc5fc9baa18f2c8a310943bd3c89d891a7daed1004c509856e8dc0 SHA512 4326872359f94f9820bb46b695a4f7b97ef979b5da75c47c20bb3c34979544f9f45ce75de25a18a72be809ef388e20a82905f3b586c590867bb895b062033f18 WHIRLPOOL faa9d3458429d4e7ac2ab34e760b560f38fcbd480a43b6457bc411fc7a809afed80c4f7aa53c75ec9f1088097fc6846d623bfb49eaf60da7f78a2a01c5c04f53
DIST amd64-bin-libreoffice-gnome-5.1.2.2.xd3 403632 SHA256 803b3cdc228b64116ab3217aba57313c4f9191f0e7dffeb93d3cadd7e80f1c04 SHA512 279611e64b4e219ba543fb8bbb9abdc226274458304d486def6dfbc522780784f58fb214337f947326200c4c0e176b69ae29415c7c64aca3ad18a5160855aa5b WHIRLPOOL 2a5c3b8b390da9a306178ee890f7e222330f383a9d19af904a83b7fcbf9715bb9bc8abf15c2688160ca0e713549dec54f0b06a18e9da4e9d875450ab32914c14
DIST amd64-bin-libreoffice-gnome-5.1.2.2-r1.xd3 404886 SHA256 3cdc749634c55e0a8aab606b36421437e5d2e3943d171d08bd6b545255fb36b4 SHA512 293e275b076f29d2447492aeee5c16ab94d855b06d4c0bce3f23796756c39ba83db0065cc9212b17bcd4cb53e3041141344db8187ed5515edcbe6ae4688a4feb WHIRLPOOL 7bac6dbbe62c30e528ced880a872ea5011fc6897f2b5bb6970646bae366245d72e338357153afabed2e18f165fafd3386b8a06c03d94f94feb3cf2e31add8d54
DIST amd64-bin-libreoffice-gnome-java-5.0.5.2.xd3 25782921 SHA256 5223af3fb9323d0e93a585306eb84a5e9b194f04fdc46e5004bdc20679e80dab SHA512 a978f0097078221c5cdb5db15c6b11c406969fe8a75e8b207586d6052d2b667576399833d3ae96ec91317d4d4efac699279eeecb9cc9d24bbe76e900408a0f63 WHIRLPOOL 3f554ec2c074a7249694fce83667c795707191be5e5cfafff924b8e74b5debc093faf6f32495cdaa687718f61e9ff3bece668a77a587a6be6e513d76d9466413
DIST amd64-bin-libreoffice-gnome-java-5.1.2.2.xd3 25521452 SHA256 5127c83dd3b1b99e538eba6c30a9c398672659eefc00b1f36921c86cee938ec8 SHA512 dd41b58eae3eee4ead3bb415c2bd24a6c5ca73e9d09ff1e961eb9da11dc1c95c7bb836a77e8f5abf6003e00c976001a8d4c1710576952f7e0073e1f5356c85a4 WHIRLPOOL b0a2dcb7cfa8d009c006779d5617229aa4189d1c6dacbba4c8568777af1f88daa3bf5ab4dda017d21c34d87788430c32439f632febe89100d4326c984658f31e
DIST amd64-bin-libreoffice-gnome-java-5.1.2.2-r1.xd3 25391732 SHA256 95f97ff17b919e61202ecfa6b94602f77dcf7d3cfc7ad8b8c793f81e279fdf86 SHA512 44130af55f423c9998c153a4d4546ae74cc63c8982b4c512665357fb21ab70a3eb7ae28d5e754247e32dcc0ccdecd6ad4aa3681319bbc573b64e9801285d9eee WHIRLPOOL 7d7751a5985b980476afd295fad591c63dc5b947d81dacfa6bdb6b2aca5faa2cc4ccbe39450c6f7c27dca19a0e8c5dbc95e1f4e561ffd1261389da60bd31ba6e
DIST amd64-bin-libreoffice-java-5.0.5.2.xd3 25423904 SHA256 b2b1f04bc27e6884887ce641ca324ac8e048ba289c70637c2d93787b15385f5d SHA512 2e56c66b5fade293785e42377dddaa226e2421416e474bda867afe66ed7323c8deac1b150f95198a04dc533aaf3f08a843e72173e214f45ddb9ef44e9ebfd7f2 WHIRLPOOL 0d82b04706c93f5dc48cf76f95adb66e44c07232af1f15c10be712a75733c928afbbf3c464a49d0e4b02dbd7e5831efc1dd858189081a81e6ce466fd0b02a292
DIST amd64-bin-libreoffice-java-5.1.2.2.xd3 25172516 SHA256 2195a9e4d8fee22ff2a45f1d92d7a325484562ee7ccd2d4be7cb388e9ae65947 SHA512 b98df419c16e49037e38851025a844993c1ebf9238e3bf3ae9b81e59f7ffbd1c0205e353e846b5504741a977996a9cfd4c13172b56aa3c44c562d974c17f988d WHIRLPOOL c8f6b0b844117529d312884930048cb995553185909684c0bd027dc03f5174f9a7bff62c3b05f6fdb8f1b2f4170aaae731bd2e9eaa49a908b1d7f8e9d8bd77c9
DIST amd64-bin-libreoffice-java-5.1.2.2-r1.xd3 25046564 SHA256 9a752b4f8c0fd772e92fb0ce9bdeabed32cc43392c6f62bd859b010e1252b2bc SHA512 1e6e3febc63fdfe22ca90f63015623ac0e0d0d73dbfe5d9dede6c27587a808d5ca7703f21326fbc3f030e0c73f0189deea151ceb8ed05be6464c9bb54f054337 WHIRLPOOL 56140ff8097a27c9830c22b8d81a4a523e30edcfbca0813696e0f90929740454ce10551d5b6e8d17fbd855b5a301d2654e5c507241a38bcde471980784095752
DIST amd64-bin-libreoffice-kde-5.0.5.2.xd3 7893019 SHA256 42bc1df7bdd0dbad735e0a8a4e6c862ad1c4cbc36cecd65abb2bc2e6addebb46 SHA512 0b57e26e5d34b6e96698a9eab741ecade9499e5ce9c0cb44fa65dcd1e71f9e8123478478c40e31cc41dca7b9cdda33b343aff6bfb9a8d8bb520775da2d23dbc3 WHIRLPOOL 98a88052acede322f522fd422de8b7046120492e413aa1d9622e4ea6e7c0869bbba4aa9f66d7bf7f646a9272ed29f5ad401638c9c02863b3464d60fb9e0369f3
DIST amd64-bin-libreoffice-kde-5.1.2.2.xd3 7523826 SHA256 e5a3bb421375f71555e193b04bc2023cc69907b4308cb0d6c5eeb2c3585e4a68 SHA512 9c69e33236d4e6f90bba891a59b837e9e78f4a00f1eed0c708b35233000a4eb19d94c08475ffc65f0f0a6e889636da11568721630b25ff691a1aef4bdb409e74 WHIRLPOOL b4533734e42e538ba13a5653a26aaf788de79fc0a3878ae3304f5e28128903a21e3852c72721add9326c8e92ef9c48a4cb56c568dbcfd10aa0810ab3e62194ba
DIST amd64-bin-libreoffice-kde-5.1.2.2-r1.xd3 7800723 SHA256 6b116f6d41f9eccb5712a0ab36dfb31b8d9f01e1c020ef809b539e27bd97ef39 SHA512 c1e6dab4a30533574e7653adb768611a1c3f0fba332fdb23c63fc1d2ce3a660c24be2ba2f68662284d36e95b7c7565bb5c6fb09054d7840cb319be2fbe05122e WHIRLPOOL e91a0c639d22fe6f89c124b3d912de66ff3bf75ed9c90839d926af224e480c5bceb87b3355ae465704268dc25e0f8a37a2f801957a0a446b486c581ba74bd6eb
DIST amd64-bin-libreoffice-kde-java-5.0.5.2.xd3 25462697 SHA256 f618f080294f3e0107f4a2bce694d3da4f01f79f36ed1e7c941bc6e61d935677 SHA512 d33528f8553ebfdf6b4b21a0445e7c44ee37238f7a8edcec66d9611911cc156e50f4b42d3b12240b221c6a15fdb4d0ac89ca36876b72c42abae6b07126e58652 WHIRLPOOL f0935f4dcac6e7377edd94fb68f8659b890776ad71b7962255d6ce371e6246884e69bd54c05552118cc74983226e0a012b80b43c5e6eb724dfee26e2001733b8
DIST amd64-bin-libreoffice-kde-java-5.1.2.2.xd3 25378181 SHA256 baf099a39ebb82b77ba745175d76fca4f5f09d1dbdcb16b15878c0915ef19d3d SHA512 5249713f70f58701e3316a23c1624becacdddd2f099681a914e88c64a57759fce5243175cf9469e4dddfc68ac9286f803a6b251625d1ad60263ccf7d94e58e4b WHIRLPOOL 471c37bf91ad7b32023f300b04462ef510d98bdbc331357519fa099634a4a09d86326fc58fcbad72a9e2600ce2ca7aa601ca2c8f25deaa03949f964157991990
DIST amd64-bin-libreoffice-kde-java-5.1.2.2-r1.xd3 25374462 SHA256 a5a903161fb84f8245c663858fdb813f943c3514372469f6e1a51dfdd1c02b58 SHA512 c929687f8ffda76caceca63d1821237196ea8519ecdf680436809fa43938e439ea49ea1a06c48a9a6c8898b3788905a5a77c2f9fc87e8bda72a0790ae02417be WHIRLPOOL a7ba1783344b39d03ac3afd245b27913c4fda834c0938a8677624fbf486916f1fc0bf2f5b7192a80422699dad9a3c07df90e1dc75da1eccc3833572835c44ee0
DIST x86-bin-libreoffice-5.0.5.2.tar.xz 76229348 SHA256 a2f167398e439933afbc57ccbc30855cb618415af6c93a7d448f37fbcb327ae1 SHA512 8bf6fc31cd1bcb38bb154611aad3f0c8aaa72addeb8825e0afc0ad9857034a1eb1f192b3149de8312cfe08501ad5c71a4c5ae51e20d981a231d5d87e3c22178c WHIRLPOOL 0569d64562b8d616397107b6be9efe5ab724ab8d419c99a453821f1e66c202506ced2fe3966ab8cfccf871fb6cd90a4e80d46c2179767fdaa9912606a1391eb3
DIST x86-bin-libreoffice-5.1.2.2.tar.xz 76481432 SHA256 6fe4907ae94c58a376a3679429017253179223c959ded9de422ee2e9bc22faef SHA512 39c0b8a7fd3dfd761762cb85129627e3310496e79866e302f49a16887e8f6e85dbc01143f42150d990bae494e29ad3563765ecb09eab7023a500996fe0468f08 WHIRLPOOL 9eb1aa34f685e7c1116939153bd9ddc773014cbd0c7f3446cd6031729d1ebd17d71167299b1d69eb777975b83f160a945d0280fa40aaccf97828ff11e169648b
DIST x86-bin-libreoffice-5.1.2.2-r1.tar.xz 76481432 SHA256 6fe4907ae94c58a376a3679429017253179223c959ded9de422ee2e9bc22faef SHA512 39c0b8a7fd3dfd761762cb85129627e3310496e79866e302f49a16887e8f6e85dbc01143f42150d990bae494e29ad3563765ecb09eab7023a500996fe0468f08 WHIRLPOOL 9eb1aa34f685e7c1116939153bd9ddc773014cbd0c7f3446cd6031729d1ebd17d71167299b1d69eb777975b83f160a945d0280fa40aaccf97828ff11e169648b
DIST x86-bin-libreoffice-gnome-5.0.5.2.xd3 400041 SHA256 96666941b7fef1dc2aa686332a3cac90592f6b83e6af34f719388cc7041ff62c SHA512 f2ea55f87bdb944ede8f8dd80c163cd7571c26faafa8144b7af8ea3ca4381f7834246ae2e8a4aef7ccd2b5314fb16543362e7830868708886d45fd283d299647 WHIRLPOOL 2a231f2d6fd70cbdeaa854e02e84b6c8f50073759cb37a0f1f9d19f5470fcccad12a0b99f1430511890d2b29503f4918d4db273a640bfeb52089bbd1730001e1
DIST x86-bin-libreoffice-gnome-5.1.2.2.xd3 378054 SHA256 cf5835e9cf1dd5cbd3d51bad0148114757f1db8558e3caeba97be5d03552160a SHA512 004dcd5eaa9b6e41e6dca17aa952f319d27e22906f2eb8a3bf49e9881e01a65e69c47111a843565d8c4987bda98974311341897530cd0eee3d53e93a109299eb WHIRLPOOL f1abe1c6a724987640dbdcf4ae784c1a8fe484857487a77a9861f405137c756b2c8477e108dea02d50a8ab20eb91d004353cca882ee1d18867c72c9a6508df8e
DIST x86-bin-libreoffice-gnome-5.1.2.2-r1.xd3 378054 SHA256 cf5835e9cf1dd5cbd3d51bad0148114757f1db8558e3caeba97be5d03552160a SHA512 004dcd5eaa9b6e41e6dca17aa952f319d27e22906f2eb8a3bf49e9881e01a65e69c47111a843565d8c4987bda98974311341897530cd0eee3d53e93a109299eb WHIRLPOOL f1abe1c6a724987640dbdcf4ae784c1a8fe484857487a77a9861f405137c756b2c8477e108dea02d50a8ab20eb91d004353cca882ee1d18867c72c9a6508df8e
DIST x86-bin-libreoffice-gnome-java-5.0.5.2.xd3 23114772 SHA256 37b241e0753976546dd0aae96751fbe0bda39036ebee8604098a464b081e95dd SHA512 0d5ea6738023300635d48662020917dc3781feef179132cd9e0b9be57bfcba00fbeaaf1c30df593ec572bb8a052bf81819562a2812d7410e67b3493e3687aa97 WHIRLPOOL 8dd5b0e337b2b8258507789911a293d3d9c0f6b74eb12df0cb30b7e2a4ba43357c18b284daa107f95a42e761a3dc53ed267c5ca6a99afc3082a79c7a0f832257
DIST x86-bin-libreoffice-gnome-java-5.1.2.2.xd3 22321871 SHA256 795810447908122ebaa2eb1620599f5a8f5f56cf3ead73ef3fc69576c364997c SHA512 8db1affef7c4bce123940f0a872b778409017e2821c25a7727632b7b6bdc39bd967a8b3db86af89b6a8e8f32695118c8f36d1a7b0a01c340cd6a8956fb682e37 WHIRLPOOL 13ef87a22b79ac88bfe4ff7de5f8bfdb641a4f3577c466b7738de6f5bde6a536f9eaa139f9c7f79946116746865fea8d98c66d7e38dc6b9b6a1d9ca4edfdc79d
DIST x86-bin-libreoffice-gnome-java-5.1.2.2-r1.xd3 22321871 SHA256 795810447908122ebaa2eb1620599f5a8f5f56cf3ead73ef3fc69576c364997c SHA512 8db1affef7c4bce123940f0a872b778409017e2821c25a7727632b7b6bdc39bd967a8b3db86af89b6a8e8f32695118c8f36d1a7b0a01c340cd6a8956fb682e37 WHIRLPOOL 13ef87a22b79ac88bfe4ff7de5f8bfdb641a4f3577c466b7738de6f5bde6a536f9eaa139f9c7f79946116746865fea8d98c66d7e38dc6b9b6a1d9ca4edfdc79d
DIST x86-bin-libreoffice-java-5.0.5.2.xd3 22950526 SHA256 c3e30257b11b15da9b00043b12bf5fe39ea82080e7e4ba6e79a2d4494aafd54c SHA512 8434aa2c5f48ea25946ff8322e0cfaa74e632e8770c3a3fe0f61f88874475c498754812e83a2120c23fc531a0f92c2c7b7ecfbbceb1314ec7c5720b1954bb5e3 WHIRLPOOL b083a9f9ae0b9608385f30b957217ad1c544f8c58e669f61a05cdfa13b898a0d5d2ac1b1781915f0792d4036426fe2c3607a1f4165369fcaf43f132ac48ef775
DIST x86-bin-libreoffice-java-5.1.2.2.xd3 22358553 SHA256 f715e537b2f8c8768b179d08f3ba22fdabac34f7cc26fd8207ce16bb6c845dc0 SHA512 4103057c610bdb4582a818c7b0c934e22bcab0f4a63483c8bf8c7c7c64c3996c90ff4d12736b9aa5ac68bfb83a367eeb099632dbe726c5d32009c566084349f1 WHIRLPOOL f1abcd3bdaaf97a3afaa0fc959024177026787e619956ac92d6b663503192fb0e702be0b212785c88575def0ec8122b2f84001fde769da8bac6e7815ef564ba6
DIST x86-bin-libreoffice-java-5.1.2.2-r1.xd3 22358553 SHA256 f715e537b2f8c8768b179d08f3ba22fdabac34f7cc26fd8207ce16bb6c845dc0 SHA512 4103057c610bdb4582a818c7b0c934e22bcab0f4a63483c8bf8c7c7c64c3996c90ff4d12736b9aa5ac68bfb83a367eeb099632dbe726c5d32009c566084349f1 WHIRLPOOL f1abcd3bdaaf97a3afaa0fc959024177026787e619956ac92d6b663503192fb0e702be0b212785c88575def0ec8122b2f84001fde769da8bac6e7815ef564ba6
DIST x86-bin-libreoffice-kde-5.0.5.2.xd3 3978200 SHA256 c7bee4ddf710f7dbe035e1570a96f92f75e0ebd2da74275f3b75275f497c67a3 SHA512 4167d9ecd4fc153b9cd2229bca0c3ec53e223e3a859b4aa586e8efaba882e209b180494500747e082f5ec5e2dcd2f9d7ef6de78e3e8313cb4d8b608df83510a0 WHIRLPOOL 3285286ea7537de4f798352706d15b5356a6b12028b00a33643a6e8c196e33342529dd99e9381be5fb9cf0a2d8b32794b8ffe6dd013ee2771eaec65d95180a33
DIST x86-bin-libreoffice-kde-5.1.2.2.xd3 4338669 SHA256 ac91d060e4e9badfc0071d5492572555d7a884afd6c7eb6081eda2e869849451 SHA512 542191a536f682345cc8b357384000fbda7f345b6b878043d8f777ee70c1f1b3974cb221420213580537e96f288af7458f7da2b38b47fef7666dc2211cb914fa WHIRLPOOL 6884acac0e19b9cce926e10bacebc4d6a6db5fdd3921f5856250e214d6d15c77422d14b2c8e53dca47540dfa8b7f4cc9b5522c0d71289db441c28045f170ce50
DIST x86-bin-libreoffice-kde-5.1.2.2-r1.xd3 4338669 SHA256 ac91d060e4e9badfc0071d5492572555d7a884afd6c7eb6081eda2e869849451 SHA512 542191a536f682345cc8b357384000fbda7f345b6b878043d8f777ee70c1f1b3974cb221420213580537e96f288af7458f7da2b38b47fef7666dc2211cb914fa WHIRLPOOL 6884acac0e19b9cce926e10bacebc4d6a6db5fdd3921f5856250e214d6d15c77422d14b2c8e53dca47540dfa8b7f4cc9b5522c0d71289db441c28045f170ce50
DIST x86-bin-libreoffice-kde-java-5.0.5.2.xd3 23032293 SHA256 4d34852f808961a724bc51fd701b18ff814b074992e515e45eb3d35af14ffbd0 SHA512 0fe5b4d2abed920ff66f345b9e91e1bd81e6e16d7a7d904952c614258a56e65066b6089c1bde71a302748a0995e40d28714f520bc2e136a12c06d1b87d509580 WHIRLPOOL 2f72a2c15292ce54d2df82ae7fb0ac33efc8356d5114b88b103603f65074e17f54639e842917f6c7cfd4e368c5718d7c38577fafba57cd8bafd49f154054b99d
DIST x86-bin-libreoffice-kde-java-5.1.2.2.xd3 22436389 SHA256 07130e76d3535b608a323857eed8568ad94ffa3bdbdcbd6c9cb74490ea0ba560 SHA512 e129257617dd01ba7b58720f81f9e9698a2f0a9128de3b22497fef7af56eb5899f36d5b984e6fe7f43f8fc1d80c828ac145e80b72b99da14b1365627687005f7 WHIRLPOOL b89f1edcf73d6c2f6526424121509d854c6fc6b3b367acde85b03077b91d22da1808801af90808f3538c237a1f70f0bcd27a5cd3c27a89eb7be19762b69cdba6
DIST x86-bin-libreoffice-kde-java-5.1.2.2-r1.xd3 22436389 SHA256 07130e76d3535b608a323857eed8568ad94ffa3bdbdcbd6c9cb74490ea0ba560 SHA512 e129257617dd01ba7b58720f81f9e9698a2f0a9128de3b22497fef7af56eb5899f36d5b984e6fe7f43f8fc1d80c828ac145e80b72b99da14b1365627687005f7 WHIRLPOOL b89f1edcf73d6c2f6526424121509d854c6fc6b3b367acde85b03077b91d22da1808801af90808f3538c237a1f70f0bcd27a5cd3c27a89eb7be19762b69cdba6

@ -19,31 +19,31 @@ inherit kde4-base java-pkg-opt-2 python-single-r1 pax-utils prefix versionator
DESCRIPTION="A full office productivity suite. Binary package"
HOMEPAGE="http://www.libreoffice.org"
SRC_URI_AMD64="
${BASE_AMD64_URI}libreoffice-${PV}.tar.xz
${BASE_AMD64_URI}libreoffice-${PVR}.tar.xz
kde? (
!java? ( ${BASE_AMD64_URI}libreoffice-kde-${PV}.xd3 )
java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PV}.xd3 )
!java? ( ${BASE_AMD64_URI}libreoffice-kde-${PVR}.xd3 )
java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PVR}.xd3 )
)
gnome? (
!java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PV}.xd3 )
java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PV}.xd3 )
!java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PVR}.xd3 )
java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PVR}.xd3 )
)
!kde? ( !gnome? (
java? ( ${BASE_AMD64_URI}libreoffice-java-${PV}.xd3 )
java? ( ${BASE_AMD64_URI}libreoffice-java-${PVR}.xd3 )
) )
"
SRC_URI_X86="
${BASE_X86_URI}libreoffice-${PV}.tar.xz
${BASE_X86_URI}libreoffice-${PVR}.tar.xz
kde? (
!java? ( ${BASE_X86_URI}libreoffice-kde-${PV}.xd3 )
java? ( ${BASE_X86_URI}libreoffice-kde-java-${PV}.xd3 )
!java? ( ${BASE_X86_URI}libreoffice-kde-${PVR}.xd3 )
java? ( ${BASE_X86_URI}libreoffice-kde-java-${PVR}.xd3 )
)
gnome? (
!java? ( ${BASE_X86_URI}libreoffice-gnome-${PV}.xd3 )
java? ( ${BASE_X86_URI}libreoffice-gnome-java-${PV}.xd3 )
!java? ( ${BASE_X86_URI}libreoffice-gnome-${PVR}.xd3 )
java? ( ${BASE_X86_URI}libreoffice-gnome-java-${PVR}.xd3 )
)
!kde? ( !gnome? (
java? ( ${BASE_X86_URI}libreoffice-java-${PV}.xd3 )
java? ( ${BASE_X86_URI}libreoffice-java-${PVR}.xd3 )
) )
"
@ -184,8 +184,8 @@ pkg_setup() {
}
src_unpack() {
einfo "Uncompressing distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar.xz"
xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" || die
einfo "Uncompressing distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz"
xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
local patchname
use kde && patchname="-kde"
@ -193,13 +193,13 @@ src_unpack() {
use java && patchname="${patchname}-java"
if [ -n "${patchname}" ]; then
einfo "Patching distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PV}.xd3"
xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PV}.xd3" "${WORKDIR}/tmpdist.tar" || die
mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" || die
einfo "Patching distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3"
xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3" "${WORKDIR}/tmpdist.tar" || die
mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
fi
einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar"
unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar"
einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
}
src_prepare() {

@ -1 +1,2 @@
DIST bufexplorer-7.4.6.tar.bz2 19917 SHA256 4a575a62dfd5da50d6f52e014859fdbcc6f3e708532a4076473154cd0d83d9b6 SHA512 8ddbfff160f4829854b276bb4eb73bf145198191a79cbc45b6e743be9c74ede0924c126247923ac69e81d27b1bf0df06279c3ab621eb5eb235c4c4b944f05541 WHIRLPOOL 3f876cb5e333d334063c341c18c8a5f87ba7f3c71c97228363f3c112eefd8cf97f3453aa47f347437dafbaadb3f827aea1a4b3fdfac8beb668329814060c1aba
DIST bufexplorer-7.4.9.tar.bz2 20345 SHA256 f7b4a44299ff4f4e35b237804294b1f095b4622e549fc53a06da58e82e44edbf SHA512 996a842f1d2ee2c9054d933b421f74b78df817afdf42fd1c9a72311ae2d6e2eef788d2623a883f22bef5b1a1dd94838d33e5361dbfcf56efeca1be670d2cb6c2 WHIRLPOOL 38b427dd34b1663916dedbaa466e9992098a3019b76700ca93505c8043ebe0e7c92f7f6160f521c9fb45a379b473e9f5ec09f4d1040884e7a3139fc54fff97a1

@ -0,0 +1,14 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit vim-plugin
DESCRIPTION="vim plugin: easily browse vim buffers"
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=42"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86"
VIM_PLUGIN_HELPFILES="${PN}.txt"

@ -1,11 +1,8 @@
DIST mariadb-10.0.23.tar.gz 57394548 SHA256 156eed69892834be66736aebe0a17a76d5031fd1c2f481a82228ff33bb7ba274 SHA512 c3b6d33efeb720bcffc3c20191726671c5c9ec96da0539d9a4df34051a16770e8fef07ee43efdd79e76be50b0e007519325d39b000de3843a8c6af3671e989a3 WHIRLPOOL 2de6816353c4d0873a038255dadd296433709b55cf794021f5107e8e5657afb98dadebc89e8d93747a105d70b03b9c02edae47be8986d206240d2d894fd83c8e
DIST mariadb-10.0.24.tar.gz 57438082 SHA256 65de16f5f9b1696e2a537bc7a99d122bc38fa77941ba2e65d8cdf363c8449094 SHA512 57c91edd45e779401f934b18364bce3b933fc096647727e586c2fc6543ddcec60662b46ffaa4f950a84e927dac38f55547117761d9bd7a29e5c38abed7164482 WHIRLPOOL 1753a7fb407e4e39ceedb57fb7d22a19e64b586e675db03ed0449e119e2c314a13344714853d12f194306a9fa9496bd1e2a79fc1245fd0dd4eb607a0edf62d64
DIST mariadb-10.1.10.tar.gz 55158771 SHA256 d2c26fc76ff7397bdf25924161174c30a2b7fbd59893048f50145fc0a8278f76 SHA512 a33f813bf90380ce480cf5cb909032536629f7c06b68e90ceb061e13606a93824511196736ecf1149a15017026c098edfc4ce540d0e30f8ec2c69c7b0350c1b3 WHIRLPOOL 72110267deae404762756c500719f0bd6aaa648451bde3d83db869ed40ab402c71463044d52092dc8dbc031a808a50dc30fc13be37b16974294f8f94d780dbb8
DIST mariadb-10.1.11.tar.gz 55184229 SHA256 cd32927370343b4f14bcc6073bca163623c27843ae7bc59c8c6a9ebeda0325ce SHA512 5963aa4a7ce468ae46296cd4f83ed5922b1c00274a5d678ad6d0c36754c6e3edb3adc7286d398aac31a5652fca6c5d5480320e4ebae5b4a78619b4bd358bd80b WHIRLPOOL 2021b0457e296b8e20f4b2c1721bcc65383fd491ef8e90cb080dc1ef00ebfe054be32efaca829dec134fed78fd35b5283315ff1080ec9cf5e596efbe76290c54
DIST mariadb-10.1.12.tar.gz 55254244 SHA256 795f466ac0e4df148981b85df735855d41614abaedcda51520a513a4ad60f4e7 SHA512 c0f28de80e22b7fc1f74946f309c364601036aefeea2bb464b11e3658e102dd80ef0d6d156d0af67af76e54741e60334be8c48630766141b01b885d53068b659 WHIRLPOOL 28ceaa2445a89c82c91ca4f6806fb78fd40705b823b95817625e6fc97112f9a5eddfd4e1d1527c5ad588a9fec33353e4f88174272409637090d8495175a8cd3d
DIST mariadb-10.1.13.tar.gz 55272572 SHA256 21e1c7da1421146c69f5e8077333aaac06778a87046a1943ee4f449fbcefc00d SHA512 fdaa35f1a93e2a124339f3a4a85d7247c223ffec2cd7ed36f029f63a76bd348b8f41f491e5b2f81f53bed82ed79bc89b62dd6966d5a946910299070ece667b5e WHIRLPOOL 0ff2891af910380749be8b31bdacec02777cc4f2b474172b3257cecc10b900222c3c089515c9fd4621ea75ea58179b1f1336b7c26185ec43282df0ce661e621d
DIST mariadb-5.5.47.tar.gz 45705343 SHA256 62b9378677433461d2a79b1ebe3182ba249994eb0cff2054ae8de8f646364209 SHA512 76359229448abec40100c916d69eab0d8e37bd480025edbacb70b7bfe965151953bfc8c9b36f6645e9c4b5ede8d970886373b6a069abf8e0026059cac1b09d76 WHIRLPOOL ce3548d2eec369be96ea373438c1cf586bdff536e8b61116b110ccc39ab412a46423353f4cddd6d816e93b43c707f40a3bb5b97349fa709fe2c86f484f54f62a
DIST mariadb-5.5.48.tar.gz 45727158 SHA256 50f753e003af6bd9c50b6257cca9d0cced5c877690824eac05f8d54fb9f6b421 SHA512 e4485a17589aad77e8d375d1c72065ea0d84da5954af029099dab19ffa852b4e3541ad13a77179e5c4722afc0574f2998a4f854b2b08a0689bb1428deb7de171 WHIRLPOOL d9c15aae23d2104eb15a8003810b2e11618ee159cda923bf5e521eace635c6a2731ccb292d73425f0346fd88ff382c6dbfb686996118f84fccdcfb89504e729b
DIST mariadb-5.5.49.tar.gz 45738390 SHA256 2c82f2af71b88a7940d5ff647498ed78922c92e88004942caa213131e20f4706 SHA512 4eceb8ab4e1fb7144374f100440b83a8b3294fa9da61027086c27b02b8ff899e3f9d4511adbb02fb50ddab92a48bf6a39ad71ab9e00bc8be00022a4ea4e6fc2f WHIRLPOOL e757ff389b184fa235e39bebbfd4bd53e29a20da640a90a6a2454537a238edfff07f9a76da32e65a7756aa25421174d57f6f28d94924bb3ee0aa7ac6474d03c3
DIST mysql-extras-20150509-1847Z.tar.bz2 1494301 SHA256 de9c9fbb67998604cb3c0409842e4601646c8ad17f2aa301f55ffd4aed7a483d SHA512 f87d96ab8c35236d4453182c49f87f6e703af9dc217916546e4dd7368caa18a2340c9063decd96c22251d1097d7e2cac58bef30e6ff75c23aedf8926dbc3d3b4 WHIRLPOOL f60297c8ee1dfd9867ed6b29a8b04a002f23bc36b1e8d9b5db30e1e454a49fe06ffc37b10d934b11235364eecdc62beb50ce24690ab3d07a50056357906fa0fa
DIST mysql-extras-20151223-1501Z.tar.bz2 295335 SHA256 8b5100aef8e0f8f6302bb389555dc7c91dd78ac1e4eb39bfd4f9d9d0b2321971 SHA512 84dc1dab6651aea51b4b2bad4304ae19dbedbda6e9c8f49377d01adb9d42fed7ce0018951a6694fd09f316ce99816c0269f2787b490cad6838d729f365ad4a6d WHIRLPOOL 30ec83b7054eaa711cfbb57b39c0696a028aee862ed2ca5dfe2515ab1bd625a28175e4d789d9ba2c67692a1b1429e08cc50d72132ac002ccb2be2d26c91cfdfb
DIST mysql-extras-20160131-0252Z.tar.bz2 295849 SHA256 442966972d2f9d9bcc3a27c1df31ed5a5bbcba13fa7ca1254c8964e9d0b7805e SHA512 d8018fd46c94a344fcbcdedfcdee4b3d75878b879b28cd4d07dfb9f29e62df217b243cf43f1e80ebca3507faef9c37c14c21372db84f9ba487c98ed32d7f3c0b WHIRLPOOL 4416bb455ed5862dd1d012ffe6fa6e65d5d24bb60b5b5b71adac2c3ccebb46a3ec75f82a7eef75ff5c37d3a0ab91d191b2395beb643e71a98ee0238b13d4b7fe

@ -1,200 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
MY_EXTRAS_VER="20151223-1501Z"
# The wsrep API version must match between upstream WSREP and sys-cluster/galera major number
WSREP_REVISION="25"
SUBSLOT="18"
MYSQL_PV_MAJOR="5.6"
inherit toolchain-funcs mysql-multilib-r1
HOMEPAGE="http://mariadb.org/"
DESCRIPTION="An enhanced, drop-in replacement for MySQL"
IUSE="bindist cracklib galera innodb-lz4 innodb-lzo innodb-snappy mroonga odbc oqgraph pam sphinx sst-rsync sst-xtrabackup tokudb systemd xml"
RESTRICT="!bindist? ( bindist )"
REQUIRED_USE="tokudb? ( jemalloc ) static? ( !pam )"
# REMEMBER: also update eclass/mysql*.eclass before committing!
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
#EPATCH_EXCLUDE=''
COMMON_DEPEND="
mroonga? ( app-text/groonga-normalizer-mysql )
systemd? ( sys-apps/systemd:= )
!bindist? ( >=sys-libs/readline-4.1:0= )
server? (
cracklib? ( sys-libs/cracklib:0= )
extraengine? (
odbc? ( dev-db/unixODBC:0= )
xml? ( dev-libs/libxml2:2= )
)
innodb-lz4? ( app-arch/lz4 )
innodb-lzo? ( dev-libs/lzo )
innodb-snappy? ( app-arch/snappy )
oqgraph? ( >=dev-libs/boost-1.40.0:0= dev-libs/judy:0= )
pam? ( virtual/pam:0= )
tokudb? ( app-arch/snappy )
)
>=dev-libs/libpcre-8.35:3=
"
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
${COMMON_DEPEND}"
RDEPEND="${RDEPEND} ${COMMON_DEPEND}
galera? (
sys-apps/iproute2
=sys-cluster/galera-${WSREP_REVISION}*
sst-rsync? ( sys-process/lsof )
sst-xtrabackup? ( net-misc/socat[ssl] )
)
perl? ( !dev-db/mytop
virtual/perl-Getopt-Long
dev-perl/TermReadKey
virtual/perl-Term-ANSIColor
virtual/perl-Time-HiRes )
"
# xtrabackup-bin causes a circular dependency if DBD-mysql is not already installed
PDEPEND="galera? ( sst-xtrabackup? ( >=dev-db/xtrabackup-bin-2.2.4 ) )"
MULTILIB_WRAPPED_HEADERS+=( /usr/include/mysql/mysql_version.h )
src_configure(){
# bug 508724 mariadb cannot use ld.gold
tc-ld-disable-gold
local MYSQL_CMAKE_NATIVE_DEFINES=(
-DWITH_JEMALLOC=$(usex jemalloc system)
-DWITH_PCRE=system
)
if use server ; then
# Federated{,X} must be treated special otherwise they will not be built as plugins
if ! use extraengine ; then
MYSQL_CMAKE_NATIVE_DEFINES+=(
-DPLUGIN_FEDERATED=NO
-DPLUGIN_FEDERATEDX=NO )
fi
MYSQL_CMAKE_NATIVE_DEFINES+=(
-DPLUGIN_OQGRAPH=$(usex oqgraph YES NO)
-DPLUGIN_SPHINX=$(usex sphinx YES NO)
-DPLUGIN_TOKUDB=$(usex tokudb YES NO)
-DPLUGIN_AUTH_PAM=$(usex pam YES NO)
-DPLUGIN_CRACKLIB_PASSWORD_CHECK=$(usex cracklib YES NO)
-DPLUGIN_CASSANDRA=NO
-DPLUGIN_SEQUENCE=$(usex extraengine YES NO)
-DPLUGIN_SPIDER=$(usex extraengine YES NO)
-DPLUGIN_CONNECT=$(usex extraengine YES NO)
-DCONNECT_WITH_MYSQL=1
-DCONNECT_WITH_LIBXML2=$(usex xml)
-DCONNECT_WITH_ODBC=$(usex odbc)
-DWITH_WSREP=$(usex galera)
-DWITH_INNODB_LZ4=$(usex innodb-lz4)
-DWITH_INNODB_LZO=$(usex innodb-lzo)
-DWITH_INNODB_SNAPPY=$(usex innodb-snappy)
-DPLUGIN_MROONGA=$(usex mroonga YES NO)
)
fi
mysql-multilib-r1_src_configure
}
# Official test instructions:
# USE='embedded extraengine perl server openssl static-libs' \
# FEATURES='test userpriv -usersandbox' \
# ebuild mariadb-X.X.XX.ebuild \
# digest clean package
multilib_src_test() {
if ! multilib_is_native_abi ; then
einfo "Server tests not available on non-native abi".
return 0;
fi
local TESTDIR="${BUILD_DIR}/mysql-test"
local retstatus_unit
local retstatus_tests
if use server ; then
# Bug #213475 - MySQL _will_ object strenously if your machine is named
# localhost. Also causes weird failures.
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
if [[ $UID -eq 0 ]]; then
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
fi
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
addpredict /this-dir-does-not-exist/t9.MYI
# Run CTest (test-units)
cmake-utils_src_test
retstatus_unit=$?
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
# Ensure that parallel runs don't die
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
# Enable parallel testing, auto will try to detect number of cores
# You may set this by hand.
# The default maximum is 8 unless MTR_MAX_PARALLEL is increased
export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
# create directories because mysqladmin might run out of order
mkdir -p "${T}"/var-tests{,/log}
# These are failing in MariaDB 10.0 for now and are believed to be
# false positives:
#
# main.information_schema, binlog.binlog_statement_insert_delayed,
# main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql,
# funcs_1.is_columns_mysql main.bootstrap
# fails due to USE=-latin1 / utf8 default
#
# main.mysql_client_test, main.mysql_client_test_nonblock
# main.mysql_client_test_comp:
# segfaults at random under Portage only, suspect resource limits.
#
# plugins.cracklib_password_check
# Can randomly fail due to cracklib return message
for t in main.mysql_client_test main.mysql_client_test_nonblock \
main.mysql_client_test_comp main.bootstrap \
binlog.binlog_statement_insert_delayed main.information_schema \
main.mysqld--help plugins.cracklib_password_check \
funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do
mysql-multilib-r1_disable_test "$t" "False positives in Gentoo"
done
# Run mysql tests
pushd "${TESTDIR}" || die
# run mysql-test tests
perl mysql-test-run.pl --force --vardir="${T}/var-tests" --reorder
retstatus_tests=$?
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
popd || die
# Cleanup is important for these testcases.
pkill -9 -f "${S}/ndb" 2>/dev/null
pkill -9 -f "${S}/sql" 2>/dev/null
failures=""
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
[[ -z "$failures" ]] || die "Test failures: $failures"
einfo "Tests successfully completed"
else
einfo "Skipping server tests due to minimal build."
fi
}

@ -1,204 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
MY_EXTRAS_VER="20160131-0252Z"
# The wsrep API version must match between upstream WSREP and sys-cluster/galera major number
WSREP_REVISION="25"
SUBSLOT="18"
MYSQL_PV_MAJOR="5.6"
inherit toolchain-funcs mysql-multilib-r1
HOMEPAGE="http://mariadb.org/"
DESCRIPTION="An enhanced, drop-in replacement for MySQL"
IUSE="bindist cracklib galera kerberos innodb-lz4 innodb-lzo innodb-snappy mroonga odbc oqgraph pam sphinx sst-rsync sst-xtrabackup tokudb systemd xml"
RESTRICT="!bindist? ( bindist )"
REQUIRED_USE="server? ( tokudb? ( jemalloc ) ) static? ( !pam ) "
# REMEMBER: also update eclass/mysql*.eclass before committing!
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
#EPATCH_EXCLUDE=''
COMMON_DEPEND="
mroonga? ( app-text/groonga-normalizer-mysql )
kerberos? ( virtual/krb5 )
systemd? ( sys-apps/systemd:= )
!bindist? ( >=sys-libs/readline-4.1:0= )
server? (
cracklib? ( sys-libs/cracklib:0= )
extraengine? (
odbc? ( dev-db/unixODBC:0= )
xml? ( dev-libs/libxml2:2= )
)
innodb-lz4? ( app-arch/lz4 )
innodb-lzo? ( dev-libs/lzo )
innodb-snappy? ( app-arch/snappy )
oqgraph? ( >=dev-libs/boost-1.40.0:0= dev-libs/judy:0= )
pam? ( virtual/pam:0= )
tokudb? ( app-arch/snappy )
)
>=dev-libs/libpcre-8.35:3=
"
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
${COMMON_DEPEND}"
RDEPEND="${RDEPEND} ${COMMON_DEPEND}
galera? (
sys-apps/iproute2
=sys-cluster/galera-${WSREP_REVISION}*
sst-rsync? ( sys-process/lsof )
sst-xtrabackup? ( net-misc/socat[ssl] )
)
perl? ( !dev-db/mytop
virtual/perl-Getopt-Long
dev-perl/TermReadKey
virtual/perl-Term-ANSIColor
virtual/perl-Time-HiRes )
"
# xtrabackup-bin causes a circular dependency if DBD-mysql is not already installed
PDEPEND="galera? ( sst-xtrabackup? ( >=dev-db/xtrabackup-bin-2.2.4 ) )"
MULTILIB_WRAPPED_HEADERS+=( /usr/include/mysql/mysql_version.h )
src_configure(){
# bug 508724 mariadb cannot use ld.gold
tc-ld-disable-gold
local MYSQL_CMAKE_NATIVE_DEFINES=(
-DWITH_JEMALLOC=$(usex jemalloc system)
-DWITH_PCRE=system
-DPLUGIN_AUTH_GSSAPI_CLIENT=$(usex kerberos YES NO)
)
if use server ; then
# Federated{,X} must be treated special otherwise they will not be built as plugins
if ! use extraengine ; then
MYSQL_CMAKE_NATIVE_DEFINES+=(
-DPLUGIN_FEDERATED=NO
-DPLUGIN_FEDERATEDX=NO )
fi
MYSQL_CMAKE_NATIVE_DEFINES+=(
-DPLUGIN_OQGRAPH=$(usex oqgraph YES NO)
-DPLUGIN_SPHINX=$(usex sphinx YES NO)
-DPLUGIN_TOKUDB=$(usex tokudb YES NO)
-DPLUGIN_AUTH_PAM=$(usex pam YES NO)
-DPLUGIN_CRACKLIB_PASSWORD_CHECK=$(usex cracklib YES NO)
-DPLUGIN_CASSANDRA=NO
-DPLUGIN_SEQUENCE=$(usex extraengine YES NO)
-DPLUGIN_SPIDER=$(usex extraengine YES NO)
-DPLUGIN_CONNECT=$(usex extraengine YES NO)
-DCONNECT_WITH_MYSQL=1
-DCONNECT_WITH_LIBXML2=$(usex xml)
-DCONNECT_WITH_ODBC=$(usex odbc)
-DWITH_WSREP=$(usex galera)
-DWITH_INNODB_LZ4=$(usex innodb-lz4)
-DWITH_INNODB_LZO=$(usex innodb-lzo)
-DWITH_INNODB_SNAPPY=$(usex innodb-snappy)
-DPLUGIN_MROONGA=$(usex mroonga YES NO)
-DPLUGIN_AUTH_GSSAPI=$(usex kerberos YES NO)
)
fi
mysql-multilib-r1_src_configure
}
# Official test instructions:
# USE='embedded extraengine perl server openssl static-libs' \
# FEATURES='test userpriv -usersandbox' \
# ebuild mariadb-X.X.XX.ebuild \
# digest clean package
multilib_src_test() {
if ! multilib_is_native_abi ; then
einfo "Server tests not available on non-native abi".
return 0;
fi
local TESTDIR="${BUILD_DIR}/mysql-test"
local retstatus_unit
local retstatus_tests
if use server ; then
# Bug #213475 - MySQL _will_ object strenously if your machine is named
# localhost. Also causes weird failures.
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
if [[ $UID -eq 0 ]]; then
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
fi
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
addpredict /this-dir-does-not-exist/t9.MYI
# Run CTest (test-units)
cmake-utils_src_test
retstatus_unit=$?
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
# Ensure that parallel runs don't die
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
# Enable parallel testing, auto will try to detect number of cores
# You may set this by hand.
# The default maximum is 8 unless MTR_MAX_PARALLEL is increased
export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
# create directories because mysqladmin might run out of order
mkdir -p "${T}"/var-tests{,/log}
# These are failing in MariaDB 10.0 for now and are believed to be
# false positives:
#
# main.information_schema, binlog.binlog_statement_insert_delayed,
# main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql,
# funcs_1.is_columns_mysql main.bootstrap
# fails due to USE=-latin1 / utf8 default
#
# main.mysql_client_test, main.mysql_client_test_nonblock
# main.mysql_client_test_comp:
# segfaults at random under Portage only, suspect resource limits.
#
# plugins.cracklib_password_check
# Can randomly fail due to cracklib return message
for t in main.mysql_client_test main.mysql_client_test_nonblock \
main.mysql_client_test_comp main.bootstrap \
binlog.binlog_statement_insert_delayed main.information_schema \
main.mysqld--help plugins.cracklib_password_check \
funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do
mysql-multilib-r1_disable_test "$t" "False positives in Gentoo"
done
# Run mysql tests
pushd "${TESTDIR}" || die
# run mysql-test tests
perl mysql-test-run.pl --force --vardir="${T}/var-tests" --reorder
retstatus_tests=$?
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
popd || die
# Cleanup is important for these testcases.
pkill -9 -f "${S}/ndb" 2>/dev/null
pkill -9 -f "${S}/sql" 2>/dev/null
failures=""
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
[[ -z "$failures" ]] || die "Test failures: $failures"
einfo "Tests successfully completed"
else
einfo "Skipping server tests due to minimal build."
fi
}

@ -1,123 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
MY_EXTRAS_VER="20150509-1847Z"
# Build system
BUILD="cmake"
inherit toolchain-funcs mysql-v2
# only to make repoman happy. it is really set in the eclass
IUSE="$IUSE"
# REMEMBER: also update eclass/mysql*.eclass before committing!
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
EPATCH_EXCLUDE=''
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
RDEPEND="${RDEPEND}"
# Please do not add a naive src_unpack to this ebuild
# If you want to add a single patch, copy the ebuild to an overlay
# and create your own mysql-extras tarball, looking at 000_index.txt
# Official test instructions:
# USE='embedded extraengine perl ssl static-libs community' \
# FEATURES='test userpriv -usersandbox' \
# ebuild mariadb-X.X.XX.ebuild \
# digest clean package
src_test() {
local TESTDIR="${BUILD_DIR}/mysql-test"
local retstatus_unit
local retstatus_tests
# Bug #213475 - MySQL _will_ object strenously if your machine is named
# localhost. Also causes weird failures.
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
if ! use "minimal" ; then
if [[ $UID -eq 0 ]]; then
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
fi
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
addpredict /this-dir-does-not-exist/t9.MYI
# Run CTest (test-units)
cmake-utils_src_test
retstatus_unit=$?
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
# Ensure that parallel runs don't die
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
# Enable parallel testing, auto will try to detect number of cores
# You may set this by hand.
# The default maximum is 8 unless MTR_MAX_PARALLEL is increased
export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
# create directories because mysqladmin might right out of order
mkdir -p "${T}"/var-tests{,/log}
# create symlink for the tests to find the replace util
ln -s "${BUILD_DIR}/extra/replace" "${BUILD_DIR}/client/"
# These are failing in MariaDB 5.5 for now and are believed to be
# false positives:
#
# main.information_schema, binlog.binlog_statement_insert_delayed,
# main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql,
# funcs_1.is_columns_mysql
# fails due to USE=-latin1 / utf8 default
#
# main.mysql_client_test, main.mysql_client_test_nonblock:
# segfaults at random under Portage only, suspect resource limits.
#
# archive.mysqlhotcopy_archive main.mysqlhotcopy_myisam
# fails due to bad cleanup of previous tests when run in parallel
# The tool is deprecated anyway
# Bug 532288
for t in main.mysql_client_test main.mysql_client_test_nonblock \
binlog.binlog_statement_insert_delayed main.information_schema \
main.mysqld--help \
archive.mysqlhotcopy_archive main.mysqlhotcopy_myisam \
funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do
mysql-v2_disable_test "$t" "False positives in Gentoo"
done
# Run mysql tests
pushd "${TESTDIR}"
# run mysql-test tests
perl mysql-test-run.pl --force --vardir="${T}/var-tests" \
--testcase-timeout=30
retstatus_tests=$?
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
popd
# Cleanup is important for these testcases.
pkill -9 -f "${S}/ndb" 2>/dev/null
pkill -9 -f "${S}/sql" 2>/dev/null
failures=""
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
[[ -z "$failures" ]] || die "Test failures: $failures"
einfo "Tests successfully completed"
else
einfo "Skipping server tests due to minimal build."
fi
}

@ -22,9 +22,9 @@ IUSE="debug test webp"
RDEPEND="dev-libs/tinyxml
media-libs/allegro:0[X,png]
media-libs/freetype
media-libs/giflib
media-libs/giflib:=
webp? ( media-libs/libwebp )
media-libs/libpng:0
media-libs/libpng:0=
net-misc/curl
sys-libs/zlib
virtual/jpeg:0

@ -1,12 +1,28 @@
From e7883b7d6428662077fa88c8dfa4e0fdee28ff46 Mon Sep 17 00:00:00 2001
From: "Azamat H. Hackimov" <azamat.hackimov@gmail.com>
Date: Fri, 22 Apr 2016 13:42:26 +0500
Subject: [PATCH] Fixing underlinking for gcc 4.9
Allegro4 backend uses XGrabPointer() from libX11.
Added ${X11_LIBRARIES} for she to resolve underlinking.
---
src/she/CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/she/CMakeLists.txt b/src/she/CMakeLists.txt
index eddf386..d1b8ce5 100644
index cddf5bc..1841aa6 100644
--- a/src/she/CMakeLists.txt
+++ b/src/she/CMakeLists.txt
@@ -205,6 +205,7 @@ endif()
add_library(she ${SHE_SOURCES})
target_link_libraries(she
+ ${PLATFORM_LIBS}
gfx-lib
base-lib)
@@ -242,7 +242,8 @@ if(USE_ALLEG4_BACKEND)
target_link_libraries(she
${LOADPNG_LIBRARY}
${LIBALLEGRO4_LINK_FLAGS}
- ${DXGUID_LIBRARIES})
+ ${DXGUID_LIBRARIES}
+ ${X11_LIBRARIES})
endif()
if(USE_SKIA_BACKEND)
--
2.7.3

@ -0,0 +1 @@
DIST ed25519-0.0.20160420.tar.gz 107323 SHA256 510c71038fc31894d8056f6114c5ea75c12572c3eb67bf4ff02c1495ab3d3705 SHA512 ea93a0919521a6aa83d5c880651bbc9706f34ed3a33c5368f7709a552b89b2e0b098c64721bbd89e84cbaeebbcd050364167a9d5cef72a5395903877ee03ae33 WHIRLPOOL d16d3e652917474394185da92f4ee106ea630f66806be6ae8bcc8acfc060352ca46190836af544e25bc3f44baf5b96b937e483d0191a8ca7f724e4570078a409

@ -0,0 +1,24 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit golang-build golang-vcs-snapshot
EGO_SRC=github.com/agl/ed25519
EGO_PN=${EGO_SRC}/...
EGIT_COMMIT="278e1ec8e8a6e017cd07577924d6766039146ced"
DESCRIPTION="ed25519 for Go"
HOMEPAGE="https://github.com/agl/ed25519/"
SRC_URI="https://github.com/agl/ed25519/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
LICENSE="BSD"
SLOT="0"
IUSE=""
DEPEND=""
RDEPEND=""

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>Marek.Szuba@cern.ch</email>
<name>Marek Szuba</name>
<description>Proxied maintainer; set to assignee in all bugs</description>
</maintainer>
<maintainer type="person">
<email>blueness@gentoo.org</email>
<name>Anthony G. Basile</name>
</maintainer>
</pkgmetadata>

@ -0,0 +1 @@
DIST goptlib-0.5.tar.gz 22487 SHA256 b9d264ebe61d601e38a94911efc4884753612c9e0dd1e2bddb6af14b823b715c SHA512 98443e06dbed3cdcc2652dd176e4ef89ba34b042c7886f7342a18ce319c91cf8004f2dd1eb58984685f03d25db272d23d2a9c5d872b28953f62c0b2f04be2c92 WHIRLPOOL e41c28f0e31f6133c1905b2e42072744bb647904759cc2223d730478b27bf237c6170bdac18274c15d80e0a7f41dd3bd7770480151d358c0f0f74c2a0f724af6

@ -0,0 +1,25 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit golang-build golang-vcs-snapshot
EGO_SRC=git.torproject.org/pluggable-transports/goptlib.git
EGO_PN=${EGO_SRC}/...
EGIT_COMMIT="${PV}"
DESCRIPTION="Go Tor pluggable transports library"
HOMEPAGE="https://gitweb.torproject.org/pluggable-transports/goptlib.git"
# No official tarballs; see https://trac.torproject.org/projects/tor/ticket/18504
SRC_URI="mirror://debian/pool/main/g/golang-${PN}/golang-${P/-/_}.orig.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
LICENSE="CC0-1.0"
SLOT="0"
IUSE=""
DEPEND=""
RDEPEND=""

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>Marek.Szuba@cern.ch</email>
<name>Marek Szuba</name>
<description>Proxied maintainer; set to assignee in all bugs</description>
</maintainer>
<maintainer type="person">
<email>blueness@gentoo.org</email>
<name>Anthony G. Basile</name>
</maintainer>
</pkgmetadata>

@ -0,0 +1 @@
DIST siphash-1.0.0.tar.gz 4462 SHA256 0a0526e1a09908e18578b6f3464833e03218f2f2a742de58132f29b6622e339b SHA512 e52dc9857974ab362f2d7b2f7389644fbc07e7bb5507a93f138b3f692c1065303846611bb51b3d9c637d851a4d20cc20af146719a553801a8f7e17ec900a736a WHIRLPOOL 64296af93b1520a32217f9e82c41ae02f15d211bd35f78b77b8246ae83e1825ce31bc1cac3ee831a1e2d5194792f391f7495c07146113975e17e9a13a120825b

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>Marek.Szuba@cern.ch</email>
<name>Marek Szuba</name>
<description>Proxied maintainer; set to assignee in all bugs</description>
</maintainer>
<maintainer type="person">
<email>blueness@gentoo.org</email>
<name>Anthony G. Basile</name>
</maintainer>
</pkgmetadata>

@ -0,0 +1,24 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit golang-build golang-vcs-snapshot
EGO_SRC=github.com/dchest/siphash
EGO_PN=${EGO_SRC}/...
EGIT_COMMIT="v${PV}"
SRC_URI="https://github.com/dchest/siphash/archive/v${PV}.tar.gz -> ${P}.tar.gz"
DESCRIPTION="Go implementation of SipHash-2.4"
HOMEPAGE="https://github.com/dchest/siphash"
KEYWORDS="~amd64"
LICENSE="CC0-1.0"
SLOT="0"
IUSE=""
DEPEND=""
RDEPEND=""

@ -1,2 +1 @@
DIST beansbinding-1.2.1-src.zip 236905 SHA256 ed77bd6e0351bb00832dd4248cb4a6a69f5ccd08cf41f2f3806ae3732b7f0aa4 SHA512 f617f0b5068c416bcaaa46fe141e9b8b1fec128403738093b205451f9bcd624d2588b9b77e0c67f6de97490f44a4cf7c5e58b1728d5d7d921bd861e3dfffb415 WHIRLPOOL 5545a5a3ee19c3b0170d4e57ebb8f39c58ec7599995db9e516caa9f5fd952dc89e5f8091f7ee2073689986e2d240d283bdb53b48ab8cdf6abe4bb72761062d62
DIST beansbinding-1.2.1.zip 236905 SHA256 ed77bd6e0351bb00832dd4248cb4a6a69f5ccd08cf41f2f3806ae3732b7f0aa4 SHA512 f617f0b5068c416bcaaa46fe141e9b8b1fec128403738093b205451f9bcd624d2588b9b77e0c67f6de97490f44a4cf7c5e58b1728d5d7d921bd861e3dfffb415 WHIRLPOOL 5545a5a3ee19c3b0170d4e57ebb8f39c58ec7599995db9e516caa9f5fd952dc89e5f8091f7ee2073689986e2d240d283bdb53b48ab8cdf6abe4bb72761062d62

@ -1,45 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Implementation of JSR295"
HOMEPAGE="https://beansbinding.dev.java.net"
SRC_URI="https://beansbinding.dev.java.net/files/documents/6779/73673/${P}-src.zip"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=virtual/jdk-1.6
app-arch/unzip"
RDEPEND=">=virtual/jre-1.6"
S="${WORKDIR}"
# https://bugs.gentoo.org/show_bug.cgi?id=249740
# Quite weird. Should look into why this is happening.
JAVA_PKG_FILTER_COMPILER="ecj-3.5 ecj-3.4 ecj-3.3 ecj-3.2"
java_prepare() {
# Avoid the usual "Javadoc returned 1" error.
java-ant_xml-rewrite \
-f nbproject/build-impl.xml \
-c -e javadoc \
-a failonerror \
-v "false"
}
src_install() {
java-pkg_dojar "dist/${PN}.jar"
use doc && java-pkg_dojavadoc dist/javadoc
use source && java-pkg_dosrc src/*
}

@ -1,45 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Implementation of JSR295"
HOMEPAGE="https://java.net/projects/beansbinding/"
SRC_URI="http://dev.gentoo.org/~monsieurp/packages/${P}-src.zip"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=virtual/jdk-1.6
app-arch/unzip"
RDEPEND=">=virtual/jre-1.6"
S="${WORKDIR}"
# https://bugs.gentoo.org/show_bug.cgi?id=249740
# Quite weird. Should look into why this is happening.
JAVA_PKG_FILTER_COMPILER="ecj-3.5 ecj-3.4 ecj-3.3 ecj-3.2"
java_prepare() {
# Avoid the usual "Javadoc returned 1" error.
java-ant_xml-rewrite \
-f nbproject/build-impl.xml \
-c -e javadoc \
-a failonerror \
-v "false"
}
src_install() {
java-pkg_dojar "dist/${PN}.jar"
use doc && java-pkg_dojavadoc dist/javadoc
use source && java-pkg_dosrc src/*
}

@ -14,11 +14,12 @@ SRC_URI="http://dev.gentoo.org/~monsieurp/packages/${P}-src.zip -> ${P}.zip"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND=">=virtual/jre-1.6"
RDEPEND="
>=virtual/jre-1.6"
DEPEND="
>=virtual/jdk-1.6

@ -1,33 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Implementation of JSR295"
HOMEPAGE="https://beansbinding.dev.java.net"
SRC_URI="https://beansbinding.dev.java.net/files/documents/6779/73673/${P}-src.zip"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND=">=virtual/jre-1.5"
DEPEND=">=virtual/jdk-1.5
app-arch/unzip"
S="${WORKDIR}"
# https://bugs.gentoo.org/show_bug.cgi?id=249740
# Quite weird. Should look into why this is happening.
JAVA_PKG_FILTER_COMPILER="ecj-3.5 ecj-3.4 ecj-3.3 ecj-3.2"
src_install() {
java-pkg_dojar "dist/${PN}.jar"
use doc && java-pkg_dojavadoc dist/javadoc
use source && java-pkg_dosrc src/*
}

@ -1 +1,2 @@
DIST commons-discovery-0.4-src.tar.gz 78453 SHA256 596242302be4f0502073f5a934c608289bba6221591e7dbea53ce629f67498a3 SHA512 337db71167534785471b540bd89107a16e146bee4094ed746feb68fd1efa7697c0f629f24e63fb760f6c664d98f35d97ee71ca114a26d17ae078bf27459b1705 WHIRLPOOL 7608a0d99955c464b7a62fab615a6ec5b8a782c59c2dacb2440d2a5f6e681ec998583ffa4af51bdbb08a88c4f66bc4ecf736969a67ca7ff53da3eae6b482031e
DIST commons-discovery-0.5.jar 81725 SHA256 c7ff18e5004b7e2bd12f5d1987481849a54188f911ec465c47c32e08580b6d7a SHA512 348e42df5e4e34fdaa49d638018e654119a9d4e2aad967ed2a6f2706e89ffb2ea5daa9ac86747fa1f6d7b245759fac1a80090c571a057be1cdf8cea3514936f3 WHIRLPOOL 6ecf2367a6e71c14acd11a421dccf16239e3c54769fcdf00fed5f8ea5ea922e289acb663549aa5d845833e9b4ddfb29353cee092b1a9dad992e6b92bf957e0d1

@ -0,0 +1,30 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Commons Discovery: Service Discovery component"
HOMEPAGE="http://commons.apache.org/discovery/"
SRC_URI="https://repo1.maven.org/maven2/${PN}/${PN}/${PV}/${P}-sources.jar -> ${P}.jar"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
CDEPEND="dev-java/commons-logging:0"
RDEPEND="
${CDEPEND}
>=virtual/jre-1.6"
DEPEND="
${CDEPEND}
>=virtual/jdk-1.6
source? ( app-arch/zip )"
JAVA_GENTOO_CLASSPATH="commons-logging"

@ -1,2 +1 @@
DIST commons-net-1.4.1-src.tar.gz 229198 SHA256 fdea779f261f70b9bbec40121c830b11e3e63b6188f662f95505045ff8d44add SHA512 6ac697536eff947cd0aa828c887e9cc4046c49a593c760bbc59db7e04cf0d7456e84d22504cfa2f6915315dc061e3499382f05bd7740bf79a532a4d9d42c0da8 WHIRLPOOL 44d984c71212f7bb282a671dcd8a463f5ddf9c798f8d676b5587e2341d21a1ed681f7ca6bc91f74162008fe24fc34912aec2dba67fce6f58a3b6b3d2b129b3dc
DIST commons-net-3.2-src.tar.gz 378351 SHA256 f9fd207a28dc357a6a515c69fb83009836b7426d6c25095d70148a6cea7d1df1 SHA512 2152b0c524320702c336b21308bb8166e00487938430b83e08d65b836ab775c372c9251957c674e0bccff6815fc3ed3bdb7113a0d2a140c53f64c2f557eef2ba WHIRLPOOL 45b80205a519795652dc6708c85b1ebe52172e9c8ffe7e01a581cd6e9ebfb4a57cdb43bba30a6b25720c72c4bbce6eda8892fe272baad6b120d6231a05c41bf2

@ -1,50 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
JAVA_PKG_IUSE="doc examples source" # junit
inherit eutils java-pkg-2 java-ant-2
MY_P="${P}-src"
DESCRIPTION="The purpose of the library is to provide fundamental protocol access, not higher-level abstractions"
HOMEPAGE="http://commons.apache.org/net/"
SRC_URI="mirror://apache/jakarta/commons/net/source/${MY_P}.tar.gz"
# dev-java/oro had a package move to jakarta-oro so depend on a version
# that oro did not have. Most likely the cause of https://bugs.gentoo.org/show_bug.cgi?id=183595
COMMON_DEP="
>=dev-java/jakarta-oro-2.0.8-r2"
RDEPEND=">=virtual/jre-1.3
${COMMON_DEP}
"
DEPEND=">=virtual/jdk-1.3
${COMMON_DEP}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
# disabling unit tests:
# http://issues.apache.org/bugzilla/show_bug.cgi?id=37985
RESTRICT="test"
src_unpack() {
unpack ${A}
cd "${S}"
mkdir -p target/lib
cd target/lib
java-pkg_jar-from jakarta-oro-2.0 jakarta-oro.jar oro.jar
cd "${S}"
# always disable tests
sed -i 's/depends="compile,test"/depends="compile"/' build.xml || die "Failed to disable junit"
}
src_install() {
java-pkg_newjar target/${P}.jar ${PN}.jar
use doc && java-pkg_dojavadoc dist/docs/api
use examples && java-pkg_doexamples src/java/examples
use source && java-pkg_dosrc src/java/org
}

@ -12,7 +12,7 @@ inherit eutils java-pkg-2 java-ant-2 java-osgi
MY_P="${P}-src"
DESCRIPTION="The purpose of the library is to provide fundamental protocol access, not higher-level abstractions"
DESCRIPTION="Java library emulating the client side of many basic Internet protocols"
HOMEPAGE="http://commons.apache.org/net/"
SRC_URI="mirror://apache/commons/net/source/${MY_P}.tar.gz"
@ -21,7 +21,7 @@ RDEPEND=">=virtual/jre-1.5"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
S="${WORKDIR}/${MY_P}"

@ -1,2 +1 @@
DIST commons-primitives-1.0-src.tar.gz 172369 SHA256 96927b484b8cac7e33612469099e7bbd7139cbc79666d5612a32c997fa671ac4 SHA512 239752a615f3a88049d6c85326a67462362869eda421ab76975c0906d811c970c871042769d851a4341c8a06b501d6b12fd1feba74d83007b2dd73370c5b3195 WHIRLPOOL 725644e8ef915e77313dabf6f397a54b857265bcf9d284b4444457d3872e6982cad3670101f1e1576158b1ceebf809348bb2dec2cecec87796a22595ace03129
DIST commons-primitives-1.0.tar.gz 172369 SHA256 96927b484b8cac7e33612469099e7bbd7139cbc79666d5612a32c997fa671ac4 SHA512 239752a615f3a88049d6c85326a67462362869eda421ab76975c0906d811c970c871042769d851a4341c8a06b501d6b12fd1feba74d83007b2dd73370c5b3195 WHIRLPOOL 725644e8ef915e77313dabf6f397a54b857265bcf9d284b4444457d3872e6982cad3670101f1e1576158b1ceebf809348bb2dec2cecec87796a22595ace03129

@ -1,29 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="The Jakarta-Commons Primitives Component"
HOMEPAGE="http://commons.apache.org/primitives/"
SRC_URI="mirror://apache/jakarta/commons/primitives/source/${P}-src.tar.gz"
DEPEND=">=virtual/jdk-1.3"
RDEPEND=">=virtual/jre-1.3"
LICENSE="Apache-1.1"
SLOT="0"
KEYWORDS="amd64 x86 ~x86-fbsd"
IUSE=""
# Would need an old version of commons-collections and this would be the
# only user. Trunk works against the latest version so hopefully they will
# have a new release at some point.
RESTRICT="test"
src_install() {
java-pkg_newjar target/${P}.jar ${PN}.jar
use doc && java-pkg_dojavadoc target/docs/api
use source && java-pkg_dosrc src/java/*
}

@ -14,20 +14,20 @@ SRC_URI="https://www.apache.org/dist/commons/primitives/source/${P}-src.tar.gz -
LICENSE="Apache-1.1"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
KEYWORDS="amd64 x86 ~x86-fbsd"
IUSE=""
RDEPEND="
>=virtual/jre-1.6"
DEPEND="
source? ( app-arch/zip )
>=virtual/jdk-1.6"
>=virtual/jdk-1.6
source? ( app-arch/zip )"
S="${WORKDIR}/${P}"
JAVA_SRC_DIR="src"
java_prepare() {
rm -rf src/test || die
rm -rv src/test || die
}

@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -70,7 +70,8 @@ src_prepare() {
local EPATCH_EXCLUDE="*_regenerate_platform-specific_modules.patch"
fi
EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
EPATCH_SUFFIX="patch" EPATCH_EXCLUDE="61_all_process_data.patch" \
epatch "${WORKDIR}/patches"
epatch "${FILESDIR}/${PN}-3.3.5-ncurses-pkg-config.patch"
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \

@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -76,7 +76,8 @@ src_prepare() {
local EPATCH_EXCLUDE="*_regenerate_platform-specific_modules.patch"
fi
EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
EPATCH_SUFFIX="patch" EPATCH_EXCLUDE="61_all_process_data.patch" \
epatch "${WORKDIR}/patches"
epatch "${FILESDIR}/${PN}-3.3.5-ncurses-pkg-config.patch"
epatch "${FILESDIR}/${PN}-3.4-gcc-5.patch" #547626

@ -3,8 +3,7 @@
<pkgmetadata>
<maintainer type="person">
<email>gokturk@binghamton.edu</email>
<name>Gokturk Yuksek</name>
<description>Primary Maintainer, Assign bugs</description>
<name>Göktürk Yüksek</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>

@ -13,7 +13,7 @@ SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
LICENSE="LGPL-2.1 MIT"
SLOT="0/11" # subslot = soname major version
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 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~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 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="static-libs"
RDEPEND=">=dev-libs/libgpg-error-1.12[${MULTILIB_USEDEP}]

@ -21,7 +21,6 @@
<changelog>http://www.libressl.org/releases.html</changelog>
<bugs-to>
https://github.com/libressl-portable/portable/issues
mailto:libressl@openbsd.org
</bugs-to>
<remote-id type="github">libressl-portable/portable</remote-id>
</upstream>

@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="Very fast base to base conversion"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
DEPEND="virtual/perl-ExtUtils-MakeMaker"

@ -12,7 +12,7 @@ DESCRIPTION="Perl extension for using OpenSSL"
LICENSE="openssl"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~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 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~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="libressl test minimal examples"
RDEPEND="

@ -12,7 +12,7 @@ DESCRIPTION="File path utility"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="test minimal"
RDEPEND="

@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="Small SQL parser and engine"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="test minimal"
RDEPEND="

@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="Add test failures if warnings are caught"
SLOT="0"
KEYWORDS="amd64 ~hppa ppc x86"
KEYWORDS="amd64 ~arm ~hppa ppc x86"
IUSE="test"
LICENSE="Apache-2.0"

@ -12,7 +12,7 @@ DESCRIPTION="Replaces random number generation with non-random number generation
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="test minimal examples"
RDEPEND="

@ -1 +1,2 @@
DIST Test-YAML-1.05.tar.gz 11500 SHA256 9309f4b0d8a1df5632a6e31b9992b1d4b9b69201d90b8db6e44e5c079857361d SHA512 51b2be5a24cb0b47c1be6127bae57b4c71411424dd2063b0aad45d052796ecf1c59c62923958394bc8bf048c7543275f6e8859f1dc4d556bba5470cae1f43070 WHIRLPOOL 93338025004caa6e25982ba6c7fe0a047485fe89a41e91aa3587c7c2c787bc3333b5f34dda81bd7ef61672656031b8079f7c4ba77110c3a50a61b1ecc99470b4
DIST Test-YAML-1.06.tar.gz 11470 SHA256 27376103163c12d7d13ae45bf22caf5a0c38478362425bf68613c3748f76b943 SHA512 f6fe4bf46a8cc5ea92b5275cc704e79266b11769bd476888b202540a6d9a23a59a2550503afd88a72f9832355e2b48983f6a31f60db07abe5b0e15f4e74ae2e2 WHIRLPOOL b945f21f7e88f2084b003466669e445bafc3bc9498cde91373aa765828776e200039f3b83fc8e4b6a9193836f73daaba299bf8f047be1736aa5d42985548fc35

@ -0,0 +1,24 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=INGY
DIST_VERSION=1.06
inherit perl-module
DESCRIPTION="Testing Module for YAML Implementations"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND="
>=dev-perl/Test-Base-0.860.0
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
"
# Presently no actual tests worth running
DIST_TEST=skip

@ -9,27 +9,5 @@
<remote-id type="cpan">YAML</remote-id>
<remote-id type="cpan-module">Test::YAML</remote-id>
<remote-id type="cpan-module">Test::YAML::Filter</remote-id>
<remote-id type="cpan-module">YAML</remote-id>
<remote-id type="cpan-module">YAML::Any</remote-id>
<remote-id type="cpan-module">YAML::Dumper</remote-id>
<remote-id type="cpan-module">YAML::Dumper::Base</remote-id>
<remote-id type="cpan-module">YAML::Error</remote-id>
<remote-id type="cpan-module">YAML::Loader</remote-id>
<remote-id type="cpan-module">YAML::Loader::Base</remote-id>
<remote-id type="cpan-module">YAML::Marshall</remote-id>
<remote-id type="cpan-module">YAML::Mo</remote-id>
<remote-id type="cpan-module">YAML::Node</remote-id>
<remote-id type="cpan-module">YAML::Tag</remote-id>
<remote-id type="cpan-module">YAML::Type::blessed</remote-id>
<remote-id type="cpan-module">YAML::Type::code</remote-id>
<remote-id type="cpan-module">YAML::Type::glob</remote-id>
<remote-id type="cpan-module">YAML::Type::ref</remote-id>
<remote-id type="cpan-module">YAML::Type::regexp</remote-id>
<remote-id type="cpan-module">YAML::Type::undef</remote-id>
<remote-id type="cpan-module">YAML::Types</remote-id>
<remote-id type="cpan-module">YAML::Warning</remote-id>
<remote-id type="cpan-module">yaml_mapping</remote-id>
<remote-id type="cpan-module">yaml_scalar</remote-id>
<remote-id type="cpan-module">yaml_sequence</remote-id>
</upstream>
</pkgmetadata>

@ -1 +1,2 @@
DIST Text-Aligner-0.07.tar.gz 15853 SHA256 33e6a45a6dcdd7f799f788f45c335979c0455eb751baae49d6be561bd741ebee SHA512 f3c161e88b12cd999b55529af8002702d324923fecf986b84bac610c5cfade6e1bf4d34285c00927ace232a9bbff11f2748913d0e6e87f5d27c2d381e64403ac WHIRLPOOL c8e01539fe98f6369589b5380ce4a797d7d3f4945fd5e7ef83ed36d3509c244df1256a28e6c74ded650ed68fa758a335ce2386109c16173d5f87bc81eea1625f
DIST Text-Aligner-0.13.tar.gz 12932 SHA256 e61c1c93cdefd9cc2a40f12fa8bfb12e64bb06d2375ba9e61534249865103eef SHA512 493ab6b32319e74c4b08b8473a17e69d5ce49d28495c7c759709661863a88613b766c3275035ea43f82448ea4f37a02ae2ab8f7baf68d79388b125dbd440004a WHIRLPOOL c6124a98cc78be19e1e8e4126b3f4930725068b73a4ac327614578b1eb37cddeb9fb426f2d7dee796e4f10655a7da77a7add70d9f57a711d620359b0ad38543d

@ -0,0 +1,34 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=SHLOMIF
DIST_VERSION=0.13
inherit perl-module
DESCRIPTION="Used to justify strings to various alignment styles"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
virtual/perl-Exporter
>=virtual/perl-Term-ANSIColor-2.20.0"
DEPEND="${RDEPEND}
>=dev-perl/Module-Build-0.280.0
test? (
virtual/perl-File-Spec
virtual/perl-File-Temp
virtual/perl-IO
virtual/perl-Test-Simple
)
"
src_test() {
perl_rm_files t/release-{cpan-changes,kwalitee,trailing-space}.t \
t/author-{no-tabs,pod-{coverage,syntax}}.t
perl-module_src_test
}

@ -1,2 +1,3 @@
DIST Text-Autoformat-1.669002.tar.gz 20399 SHA256 7dbbc86c2550bc62ab00b6abca28019f8b144fb0fca33daeb2f373ca40d1d200 SHA512 8dc6f239c82a7e72c9ec8cbe680db94e76e11459cf47e8720aab269209234119bb7e017079ad6e0a817889fd3684f384a3186024ddad456f80ad8d4d173e646b WHIRLPOOL 8cfcaeb053b846002f296f543d100487ff458205900b71d93c4c1045b02aa2fe000657b219fae0145f942ae99e2aff3d08d3df4ac1c3d2499d67cb9ba5c709e2
DIST Text-Autoformat-1.72.tar.gz 29124 SHA256 b541152699fcd0f026322f283b7d9184839742aee0edb317a014c195ea26ae51 SHA512 9ea972df835cd22f931437ec23106f2efe460756a1efa0806fd387023aef102c86dcb1d94cc7883a93f5a45477e53f142135b2abca031ed28e5c9280ef5e294a WHIRLPOOL 76820eacd37033e76a350ff0f29ffa3f2d1016d346ace901353f29192aa7833de81b8547bee55a4af412f6cb7257385c11f51922d488d8c2aeab7a37ed528ae5
DIST Text-Autoformat-1.74.tar.gz 29485 SHA256 07eb3c2b3515897340ca6e9377495bbe2e05ec80d7f3f146adab8e534a818d5e SHA512 276e97a0db20032919a6aeacba701350fa8fadf6c1bda7dcda714ef4f1c168b8cc3150a126719d940194c8b20dd534543ec914f03c50e27e4a61b1083ca312c6 WHIRLPOOL 3a855e8c987ed5ad756c98e921370a29ef89ed830db8c8d1e69a431c1cc414d5ba1edc0169c780c9eed880200a70e7c44696bd45fa22de695fabdd0c305948e9

@ -1,23 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MY_PN=Text-Autoformat
MODULE_AUTHOR=DCONWAY
MODULE_VERSION=1.669002
inherit perl-module
DESCRIPTION="Automatic text wrapping and reformatting"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE=""
RDEPEND=">=dev-perl/Text-Reform-1.11
virtual/perl-version"
DEPEND="${RDEPEND}
dev-perl/Module-Build"
SRC_TEST=do

@ -0,0 +1,30 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=NEILB
DIST_VERSION=1.74
inherit perl-module
DESCRIPTION="Automatic text wrapping and reformatting"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="test examples"
RDEPEND="
virtual/perl-Carp
virtual/perl-Exporter
dev-perl/Text-Reform
virtual/perl-Text-Tabs+Wrap
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? ( >=virtual/perl-Test-Simple-0.880.0 )
"
src_install() {
perl-module_src_install
use examples && perl_doexamples "config.emacs" "config.vim"
}

@ -7,8 +7,8 @@
</maintainer>
<upstream>
<remote-id type="cpan">Text-Autoformat</remote-id>
<remote-id type="cpan-module">Hang</remote-id>
<remote-id type="cpan-module">NullHang</remote-id>
<remote-id type="cpan-module">Text::Autoformat</remote-id>
<remote-id type="cpan-module">Text::Autoformat::Hang</remote-id>
<remote-id type="cpan-module">Text::Autoformat::NullHang</remote-id>
</upstream>
</pkgmetadata>

@ -1,3 +1,3 @@
DIST Text-CSV_XS-0.95.tgz 121627 SHA256 0cf43f442e086bc10ec6e4d7f277fa30f8f145915337c900a0ad9248d7e4bf4d SHA512 4411246524503c7f838cafff1b184f5d0a36f936066514613ff52a5e735aad636b33c930d22388c21d589802c05f4c4b96e65c05569a267ac518995dbc14b403 WHIRLPOOL 0c374dd3dc1af2734da154a53cc8510dd6131a78a393694037dcb10c85ec15b575d9f10165389499998c9cd8cb8d7ef06ffb03597299a66081307407df2a72ce
DIST Text-CSV_XS-1.16.tgz 149556 SHA256 dcdf3f9c527e64b3448c93157700631b6cbc4c28346991f2c2eb001e999bc3b1 SHA512 041ad09a8dd952e3284c5d15f96bc0f50645112fad09d9e1a625c5909af2d78acc3cd56d8ca113f354f923b3221398297dadaba6d05b84686a6f2c9e4a8a7a2d WHIRLPOOL 9242842d33efccb4f117b4195dcadaf51e183080234282bcec5460806aa8309949e01f38f4b1fc7d1a5d7c5423aeab281a4eae4daad001d54270f42ccc929a1a
DIST Text-CSV_XS-1.19.tgz 152103 SHA256 bcde887f613c6a50b0ce8f714cd2463570f5809f26581615690cfb424d2a7c16 SHA512 2948e535d5621643539e927fc6a650f56b19cfe257424d1422f5d4854c279dbebbc3d61b79d00de23eeff3de58ca53f6bd29fc2e8140fbeb1c2ece90942d4410 WHIRLPOOL ae77fb51aa1609d4bdf9210bb80dc261d8412a393d3c5519dbd4fcdb20f392cca9a9222bd8ba6cb15b076075b56c17d3cb8b365c0bd231fca79b9df9b816b936
DIST Text-CSV_XS-1.23.tgz 159271 SHA256 5714e1c275e7715aee44f820f8ca26c976fbb563668de7eba42a4419a05a4b5a SHA512 d49abfa55f4be0613bf0ff08df5f6e3d93c4281900640476e8a6bc584fb8c31d8cd3c3d80d850bb39b455e4d63397a7e378267bbd580626f301e4552083f30c3 WHIRLPOOL 94c0badd92a9d2e78d26943320f04c4512f10a6c4a27b6948571dbc00350da98a2fa29b347b7c8d3a2288cff1e2f7ff1fc0bd358ec38abee2d230c7db3042662

@ -1,12 +1,13 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
EAPI=6
MODULE_AUTHOR=HMBRAND
MODULE_A_EXT=tgz
MODULE_VERSION=1.16
DIST_AUTHOR=HMBRAND
DIST_A_EXT=tgz
DIST_VERSION=1.23
DIST_EXAMPLES=("examples/*")
inherit perl-module
DESCRIPTION="Comma-separated values manipulation routines"
@ -22,9 +23,9 @@ DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
virtual/perl-Test-Simple
dev-perl/Test-Pod
dev-perl/Test-Pod-Coverage
)
"
SRC_TEST="do parallel"
src_test() {
perl_rm_files "t/00_pod.t" "t/01_pod.t"
perl-module_src_test
}

@ -1,2 +1,3 @@
DIST Text-Diff-1.41.tar.gz 27813 SHA256 a67f50a48e313c1680cc662109ce5f913ea71454db355d0cf4db87ac89d2d2fa SHA512 77ebd2fff53e5a347d75f50134332b1bb9843f44ecf82872919bc407abacc25446a98346f38425807a9cb8bf2d380d31f12aa9f3c6b2049d4383099920ee9a34 WHIRLPOOL f0c6a0c2b824efd7ad7b7dba7fb4a23ab2c20c812dd5ebbd91bd218c652ffd40b894a96d7fddfa755bf1f225b2859ef7dfc247d84b0573e347a1d6844b65e3d8
DIST Text-Diff-1.43.tar.gz 29330 SHA256 4c2d837c355c3f212044331f6712b5191a6cebc21c47c1157b4bb13283acb7aa SHA512 c76eee797d6b198016af69008186af906f3d6c83b7c9e29c95bcf38c2539588f991cc2eb44b34b3701ceee879ae37c73a8fba0240f6e9a462b9be581942e5842 WHIRLPOOL c705f32cdcf8bc4eb24a9c53fedaf28829aa82f13ed33fe8a18c2440979312f25ec1892716d370e3c09cea1b5f3a86f0705edd2521c60c53942b98537923f4f7
DIST Text-Diff-1.44.tar.gz 29535 SHA256 57f7a0bed7d085d34a3ffab3a68140d7b816737c87b831086b4c0945bf483b10 SHA512 6174135a07c880cb92577ad07107a4d4606f91a2602f65d9c0fd032d11de86d91367feb6e2da71f9b9293331460ab42439623c5c03e2ee4807846709c3e964aa WHIRLPOOL dbcbcfc8cc349269ed4b055a6fa7321b9e01088365c6b9c0d17de35ed0402f48e6ad9be5c4314a8e2f0df18b68fd82f152f356318e837569627beacc6b2547a4

@ -0,0 +1,27 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=NEILB
DIST_VERSION=1.44
inherit perl-module
DESCRIPTION="Perform diffs on files and record sets"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
IUSE=""
RDEPEND="
>=dev-perl/Algorithm-Diff-1.190.0
virtual/perl-Exporter
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
"
src_test() {
perl_rm_files t/97_meta.t t/98_pod.t t/99_pmv.t
perl-module_src_test
}

@ -1 +1,2 @@
DIST Text-FindIndent-0.10.tar.gz 34541 SHA256 492c37e7bb5a4fca665e03728c0affe39c1235f65d85f27136f487af29797a30 SHA512 52518503386d7c9223dab9d93aee14f1d65548257d01dd664189e6079ae27ec2fed971cf04506a3fc80bd188377fde9400bf0091ed63568b972431eaeb0924a4 WHIRLPOOL 9c989b52382793e8493f365c27e487bf05be5ffd4d07d5989dc976ffed3ad859ad248b073ccef1687e5e6cdea2d130a5b17037490b1e304a023b4093d3c1cc89
DIST Text-FindIndent-0.11.tar.gz 28063 SHA256 d80d4b660c6b0676a9e0cb710c4397fa8c988f18ddb93fb99ae76f75a3af0bcd SHA512 e0d0874c890567d414c8d559673f8a813ce7a76847a238dce4ae2041097b2e786af81de0801feb4087ed1bbd75458f46c1e76f08976b122b179cdd83baacfaf9 WHIRLPOOL 39cc59c5eb62bc8a387a5e1a4ab19919b07911925a1ec9afa840560689c462a5fb12bf1132dc47e60da6e5d69997b68ebe255316fc475275a2d8cba0139145c5

@ -0,0 +1,20 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=CHORNY
DIST_VERSION=0.11
inherit perl-module
DESCRIPTION="Heuristically determine the indent style"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND=""
DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.360.0
test? ( >=virtual/perl-Test-Simple-0.800.0 )"

@ -1 +1,2 @@
DIST Text-Levenshtein-0.05.tar.gz 2996 SHA256 97143d5d5e45ee3380b6dd285f0a294ee281051c89beed49a064646db3af7e65 SHA512 507c47069a9402577be0ef06aaf7845d9923f6de4512401a1194c39e8311e3334b0052858c47a3fa8d2fca95ca47c73557730857706d25e060a8ed67df40d961 WHIRLPOOL 91e6e2e89036a5f09f6f294d4ff2aa4132d17b203c03ecbf5420ebefab970b6fdc1f997fe587d21cb269a59ce257e09755dc752f15a06eab2f5b5f071e350b0c
DIST Text-Levenshtein-0.13.tar.gz 15429 SHA256 3a7cbf0bb79fca33d92618f6d8c2ae4b5e2ee5b43729142a9b8ad9d8a678d11f SHA512 041e9038c723ea31c2c0516b48ba6de88dacc1e8a5679cf2a8437c10ff5bb3d68e518547ca0ec79ec8a1fa209eb6950687c9d91064b4c8788f77f2a1285f2c6f WHIRLPOOL 927966ecc593194cd84af129a4ef4de6033f3181b278fe40ed026249d4ab50e1ef196edb1689d161dcfa1cc64ab3307c4e23526f8f290ddf1ce460fa87158076

@ -0,0 +1,29 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=NEILB
DIST_VERSION=0.13
inherit perl-module
DESCRIPTION="An implementation of the Levenshtein edit distance"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
IUSE="test"
RDEPEND="
virtual/perl-Carp
virtual/perl-Exporter
virtual/perl-Scalar-List-Utils
>=virtual/perl-Unicode-Collate-1.40.0
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
>=virtual/perl-Test-Simple-0.880.0
virtual/perl-parent
)
"

@ -1,2 +1,3 @@
DIST Text-Quoted-2.06.tar.gz 21198 SHA256 05384b89e359cd1fc3ac6a632b5b5ddc0662d15627f75138d5910c5edbba7a51 SHA512 bf7d6202561b53dd7a0df871d413b6fd6214111836bf02373990f80db2a6a1ff16b8ccdc777fdc8bd75ca5dcd9699f96acf15d23288e9a146c2c6491e6f93b25 WHIRLPOOL 756c35e8b008ce20f2768f7ae176fa1551d814cd6c189ff527172c4bd8a601058fa6af9f8ce3d4a26163fb41c5da5ea96c6acf85e7c43865b0751dbce7f5a517
DIST Text-Quoted-2.08.tar.gz 25365 SHA256 faf0b6fa314c31b264bc1d8d6523ed32a098040fdc513075ccaecbab0526cfdb SHA512 bbe48bf580e6628008728cbff5d6eba8f47664bde71920ff3cb55e45992cb8500730c5228726451e2bee1b6028fd56401e51e80ea73cd9b1f1386211dfce6fde WHIRLPOOL b9b69dbae0ec0f7f58fd8e447152ed62ff01b30fd059aa5e974b21b506693d1e28932ae7bbd5eead7b795fec0d74892c307f14bd31f6e61b490d1e31b524b758
DIST Text-Quoted-2.09.tar.gz 27978 SHA256 446c3e8da7e65f7988cd36e9da1159614eb0b337d6c4c0dec8f6df7673b96c5f SHA512 c87f619458800678c49d6587f595ab5965410309c10fdf8bd39b34fb9eb06435252bbc6b95553342227f2a1947e87ad70ee61aaf8e34b11e6060cfe28f8fd4ef WHIRLPOOL 1e371596dacdf0e0e262cae9dab898ff61573cad97b55ef056f95059e71145d200286fc634bd8a470ca4b20932febf225ac8fde70cfdf0bdcd046ba25327b037

@ -0,0 +1,22 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=ALEXMV
DIST_VERSION=2.09
inherit perl-module
DESCRIPTION="Extract the structure of a quoted mail message"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
IUSE=""
RDEPEND="dev-perl/Text-Autoformat
virtual/perl-Text-Tabs+Wrap
"
DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.590.0
"

@ -10,7 +10,7 @@ inherit perl-module
DESCRIPTION="Implementation of the soundex algorithm"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="test minimal"
RDEPEND="

@ -1 +1,2 @@
DIST Throwable-0.200011.tar.gz 17883 SHA256 fb090176f1755a2d1c9f180b60a451579b32fad1a2a1f25fcc0fb5f88795516f SHA512 5a807c2c74bd07be190213645081f551436366ec37a50a005c50a8aa5938bf4dea2dea7b8bbfcb46b9e9954f92151e5e98defe63df547b4fde11ffd0478f325c WHIRLPOOL 72591982ea4ce138382c2928724d91c7fd978ce40d9b8422ad7b336902e368f56fc19e414c3c5ee7cc414a94efc73f1c6f4ac974246eff8c0ee612d29d7227c8
DIST Throwable-0.200013.tar.gz 20254 SHA256 9987d0deb5bddd352a6330cefbe932f882e36dd8c8a4564bcfd372dc396b8fa0 SHA512 81ce73709c7c6a0160da42b00ce06ddf4cce79a6801df7aa90ddcce67efed6ace17b06171ac42b2737a98515c17ab46b5a3b7fd9e5bd3079b109a977dc6c0963 WHIRLPOOL 0dba08012abb0d9e6facfd67c64f389acad7cebd0ac622a57130b48dd0ab54c8c4c3f4f9c57872bf5c4d7a3442cae996ac0697e33937cb76a73acb94e2881cac

@ -0,0 +1,31 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=RJBS
DIST_VERSION=0.200013
inherit perl-module
DESCRIPTION="A role for classes that can be thrown"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
virtual/perl-Carp
>=dev-perl/Devel-StackTrace-1.320.0
>=dev-perl/Module-Runtime-0.2.0
>=dev-perl/Moo-1.0.1
virtual/perl-Scalar-List-Utils
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
>=virtual/perl-CPAN-Meta-2.120.900
virtual/perl-File-Spec
>=virtual/perl-Test-Simple-0.960.0
)
"

@ -1,2 +1,3 @@
DIST Tie-Cycle-1.19.tar.gz 4457 SHA256 bd315874c85feaf8948eeb2f40fe2768a6ca00f089e35b32bfe88f3f384f9ca1 SHA512 656f98a5df75c2be883754ab1231c8cdee8a3c2b110cd52ea7db68148b1ab3da80c8a8622edad910a9b6f231207055fa6400ba486ade8537fcaf9e4128994ce2 WHIRLPOOL 1f7608423097415acaef6e5645375091ed41ad00d0aaa6d4cdd3cc5a0bf53b5d8acec2f423ed6d107554d4c0ed8568f09b4923f0d9350235d675c63a8513507e
DIST Tie-Cycle-1.21.tar.gz 5084 SHA256 1e94c98d7e6cbb1263d3defc9d0e9b6e6fc97dc8bb8acc29df82e8005a6d3564 SHA512 3c73ef361c8a7a080db284ab745f95001f228fee2266a1edd382dfcd83860b29067cc2d76e10a3c27c2ce1565c1b9c7b044b294bbd97ab6a6834034f53745c2e WHIRLPOOL 61e17014ba919259e82eab7ebb38b829fb0b558e658a2443cb8080e4cb9405d8d1b1b2be1494547fa0e172780cdfd04bf14a0825828121affd1713a1deaacb50
DIST Tie-Cycle-1.221.tar.gz 9741 SHA256 c6e263bdfd19eea4ceaade3c8af33b35ef83e8251ea53759a3ca49e3729ce681 SHA512 39ed261ef2e3a6a93cc63197966ccae6ddee2473c24241067223448badeb76509682c52043bb34299a27f2f3a35956d3022af2fb13bd331ed2cc132dbc703087 WHIRLPOOL 3850783ebcb4262094105a9de9c5b772fc990ea0d4e5856110dae6fdac292de9189e559e2997410733d3695e29d19e4c1c00aeca2664def5b374ad65c794513c

@ -0,0 +1,28 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=BDFOY
DIST_VERSION=1.221
inherit perl-module
DESCRIPTION="Cycle through a list of values via a scalar"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="virtual/perl-Carp"
DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.640.0
virtual/perl-File-Spec
test? (
>=virtual/perl-Test-Simple-0.950.0
)
"
src_test() {
perl_rm_files t/pod_coverage.t t/pod.t
perl-module_src_test
}

@ -1 +1,2 @@
DIST Tie-LLHash-1.003.tar.gz 5983 SHA256 7533dcb1331bdc727a4e18b23ba363afe2e08d15d6e931dfc61edbf7af2353cf SHA512 4ce6822467a1247f72d6475c6f5213f1a068ec615cd8c7681af79561d88a421850c6498dd03df9dd5e5cc6d071e64ae449c685d2c428ee747422107930a091eb WHIRLPOOL 499507c04eae85a05db847e4132cad5341d5efd71ff40598a72200167ee07cc23bf993e5674db8f18cdf8fb5f2305e4b4a20f2b0345685ee867399f3519da471
DIST Tie-LLHash-1.004.tar.gz 13897 SHA256 4663ecc87752dcccd56601275cf1c63234355322dd2e26423c652135cee4f1bd SHA512 1fd1f6a6d5696040c27c94a07c389f8c523253fe84ccbdaf7b88e1f6908299360a321af92cc7665224aa1d9d27a3f3452a9d8761113936d11ef2564d7e8003c8 WHIRLPOOL 5b34f69e95c4afe4a104b7c7ecf1cd21e246c4c4cfc07366da07091754eb97570eadb5f05b35d72cb4e6fdca07f8ebe5276e141ad9ef421bcf459915afe1c99a

@ -0,0 +1,25 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=XAERXESS
DIST_VERSION=1.004
inherit perl-module
DESCRIPTION="Implements an ordered hash-like object"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-solaris"
IUSE="test"
RDEPEND="virtual/perl-Carp"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? ( >=virtual/perl-Test-Simple-0.880.0 )
"
src_test() {
perl_rm_files t/10_changes.t t/11_kwalitee.t
perl-module_src_test
}

@ -1 +1,2 @@
DIST Tie-Simple-1.03.tar.gz 5498 SHA256 e73dae00e00c42511154fe0e3b26a8965836f2456e1c0952c9ce22ce3d55fc23 SHA512 bdb46fc8166119d1656d0593b5f3515ed89dc96bce02d421fc5f0755bc5e4287c1f528e9300526cb09f9ff01a236c4266470cfdef31e3fc384a8be3c9349244b WHIRLPOOL ea33b9d3bb7eb042c797911c35a0d3e4b8f63b9fc601f081cf8e3e9b9f9152cf259519e9e93400096233af18a2a483326f18899caec9f5ef7f9b989dc232d9f5
DIST Tie-Simple-1.04.tar.gz 13190 SHA256 29e9e2133951046c78f205f1b3e8df62c90e114f0e08fa06b817766a0f808b12 SHA512 24843a02565b525ff5ffbd362b1b746a3c576569c3e5c5fff5a0d543c2fbdbb4e1d6a6c45faeaff0a2721f2525996f21d46b7db88a40b49bc2541d0f99806ef2 WHIRLPOOL 5d49c18329a6f86322cc6d7d943ed6c47d16fc810b549fac1326324c8c9a12b58d38313b562903209479ddb1464955bad326634fa2fc5bd923f878175cec243e

@ -0,0 +1,25 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=HANENKAMP
DIST_VERSION=1.04
inherit perl-module
DESCRIPTION="Module for creating easier variable ties"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~x86"
IUSE="test"
RDEPEND=""
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? ( virtual/perl-Test-Simple )
"
src_test() {
perl_rm_files t/author-pod-{coverage,syntax}.t
perl-module_src_test
}

@ -1 +1,2 @@
DIST Time-Duration-Parse-0.06.tar.gz 19361 SHA256 e88f0e1c322b477ec98fb295324bc78657ce25aa53cb353656f01241ea7fe4db SHA512 846eea74ce9b4882abb667ee92151b19ea8c4788631097b3a98fc621abc1bcb3f97f50a08f3346aa93cc4c0bd609afa848eae38194dc085061b4c82a818ccf55 WHIRLPOOL f5912593ffb938020a58cfedeea13910b53d5b51acdc9595255c9dcf606cb46362dc611eb2dec2fe43fec3a56fc413940876660813cb894e70e2112251d27034
DIST Time-Duration-Parse-0.13.tar.gz 11604 SHA256 414a184a41ff06a19c76f9ae30e6285056eb69aae60af99bc9edf8a8e16fce29 SHA512 2732f6053dbc672d92a4efddab6e767f81bf1386f7b232fe1d1debe551d406b27c222c2173f9771f302bb928dac96edeb1ef3dfd0fe67d46315f671c7ad1a5b4 WHIRLPOOL d72b64e4557f8d2635872ef4226787d9f4e0f62ec89dd00869b538de01ca22c30cb1c914108e93322015b8d1086dae042bcbb7598fbcb89836c4b52408f95218

@ -0,0 +1,26 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=NEILB
DIST_VERSION=0.13
inherit perl-module
DESCRIPTION="Parse string that represents time duration"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
virtual/perl-Carp
dev-perl/Exporter-Lite"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
>=virtual/perl-Test-Simple-0.880.0
dev-perl/Time-Duration
)
"

@ -1 +1,2 @@
DIST Time-Duration-1.06.tar.gz 24910 SHA256 f7b647ba215ef9c729b7a0dfb86f47db7b7c9d3e24bcbe62c891c3e7627f3f4f SHA512 1ebf0098c01be56153d9b7237291996734f61523a24cf513a8fe85856ccd256c6943a50624e78baf17743f4a65b2fc84b06fbefd1636fab385733c74725fa5fa WHIRLPOOL dbd8faed7d3a95a3e108782d20e0e16fc0a8caab6bd3cdae1aeacb765a04c76e0d211ef64115ba25214b2f61cfc5bc1da3302657bd746e5f504ce08aec2a7653
DIST Time-Duration-1.20.tar.gz 15478 SHA256 458205b528818e741757b2854afac5f9af257f983000aae0c0b1d04b5a9cbbb8 SHA512 74bdcbc2b65061ad30540a95467de24f552235cea2367a7770309d9ffefeb35717f438e4f7ebf6a1d63f338cd714ffe16b3f45808514995db9753d643892d5f9 WHIRLPOOL 126c8bc29a0b22db4a1d616e9ffe1e3c7558fd16e9846801d8fd7f15684630ee7d5d4f03e20f6e00e2a3d629c0bcf5fe51ebcb3307b900bed3a0908d58701abe

@ -0,0 +1,26 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=NEILB
DIST_VERSION=1.20
inherit perl-module
DESCRIPTION="Rounded or exact English expression of durations"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-linux"
IUSE="test"
RDEPEND="virtual/perl-Exporter"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? ( virtual/perl-Test )
"
src_test() {
perl_rm_files t/release-{02_pod,03_pod_cover}.t
perl-module_src_test
}

@ -1,2 +1,3 @@
DIST Time-ParseDate-2015.103.tar.gz 26644 SHA256 2c1a06235bf811813caac9eaa9daa71af758667cdf7b082cb59863220fcaeed1 SHA512 3c5bf09198289a889e606c806fbb225e729fa1a0af6d04056b75c4c61110e6135fce0eccd8c58a2f1db364d7d624b417f4960bdfa376d2fb9b16ecf090879fd0 WHIRLPOOL 00890627bae923d24584c1f10174889e153351b4a9c9284f035d0c4d0f00d2e41aadbdaad378767770567ba4bd2e50e707582b6c21f74cb672a182e92c18e6cf
DIST Time-modules-2011.0517.tar.gz 25621 SHA256 8edffdc9ca55ccb19690ed45e8e224083904f0426650d6dc460dcdbc50a265ee SHA512 5cb9be993db47bf5c37fbe6a473d77142af16d9a6bac8b82388d536296b72ccb54c8fef13ff436f34892de331617bcca9921dcde614e344f0fef314f78c5d085 WHIRLPOOL 25ece948c7e4d59083158e2ac5f67fcd3a66b98d2196059c790a30c9d1edbfe23fe4b66f482a30661e9a6d508db5b98bc0e99fefa30854d1e300676b06f22d5c
DIST Time-modules-2013.0912.tar.gz 26041 SHA256 45bcab023e1853d27e53c6a214bc860a4026c65ec16c422a757235e836fb648c SHA512 610cc454c83d1486fbb327e0a6f44d32f2dc4b8ac09643c145489b5135a718d730a14c311823904b6832a1606d49bec0cd80f8286e8892fa8d52294b16041cd3 WHIRLPOOL de31242a2722b0c24d6df511682522014ca92d17b8000377e4192e96d133a7fd340949ef1e9684b1ed64a88876fa2d3ba3d3357971268ac482d4fa9ec1b3a43b

@ -1,4 +1,4 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -7,6 +7,7 @@ EAPI=5
MODULE_AUTHOR=MUIR
MODULE_SECTION=modules
MODULE_VERSION=2011.0517
MY_PN=Time-modules
inherit perl-module
DESCRIPTION="A Date/Time Parsing Perl Module"

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

Loading…
Cancel
Save