parent
1d328addcb
commit
a552000b6c
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/md5deep/md5deep-4.4.ebuild,v 1.1 2014/06/01 12:57:02 tristan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="Expanded md5sum program with recursive and comparison options"
|
||||
HOMEPAGE="http://md5deep.sourceforge.net/"
|
||||
SRC_URI="https://github.com/jessek/hashdeep/archive/release-${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/hashdeep-release-${PV}
|
||||
|
||||
DOCS=( AUTHORS ChangeLog FILEFORMAT NEWS README.md TODO )
|
@ -0,0 +1,362 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.4.50_pre20140531.ebuild,v 1.1 2014/06/01 09:20:29 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib readme.gentoo
|
||||
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
EBZR_PROJECT="emacs"
|
||||
EBZR_BRANCH="trunk"
|
||||
EBZR_REPO_URI="bzr://bzr.savannah.gnu.org/emacs/${EBZR_BRANCH}/"
|
||||
# "Nosmart" is much faster for initial branching.
|
||||
EBZR_INITIAL_URI="nosmart+${EBZR_REPO_URI}"
|
||||
EBZR_UNPACK_DIR="${WORKDIR}/emacs"
|
||||
EBZR_WORKDIR_CHECKOUT="t" #434746
|
||||
inherit bzr
|
||||
S="${EBZR_UNPACK_DIR}"
|
||||
else
|
||||
SRC_URI="http://dev.gentoo.org/~ulm/distfiles/emacs-${PV}.tar.xz
|
||||
mirror://gnu-alpha/emacs/pretest/emacs-${PV}.tar.xz"
|
||||
# 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}"
|
||||
S="${WORKDIR}/emacs"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
||||
SLOT="24"
|
||||
IUSE="acl alsa aqua athena dbus games gconf gfile gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm zlib"
|
||||
REQUIRED_USE="?? ( aqua X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
>=app-admin/eselect-emacs-1.16
|
||||
>=app-emacs/emacs-common-gentoo-1.4-r1[games?,X?]
|
||||
net-libs/liblockfile
|
||||
acl? ( virtual/acl )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
dbus? ( sys-apps/dbus )
|
||||
gfile? ( >=dev-libs/glib-2.28.6 )
|
||||
gnutls? ( net-libs/gnutls )
|
||||
gpm? ( sys-libs/gpm )
|
||||
hesiod? ( net-dns/hesiod )
|
||||
kerberos? ( virtual/krb5 )
|
||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
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 )
|
||||
jpeg? ( virtual/jpeg:0= )
|
||||
png? ( >=media-libs/libpng-1.4:0= )
|
||||
svg? ( >=gnome-base/librsvg-2.0 )
|
||||
tiff? ( media-libs/tiff )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
imagemagick? ( >=media-gfx/imagemagick-6.6.2 )
|
||||
xft? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
x11-libs/libXft
|
||||
m17n-lib? (
|
||||
>=dev-libs/libotf-0.9.4
|
||||
>=dev-libs/m17n-lib-1.5.1
|
||||
)
|
||||
)
|
||||
gtk? (
|
||||
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: ${EBZR_BRANCH}"
|
||||
einfo "Revision: ${EBZR_REVISION:-${EBZR_REVNO}}"
|
||||
einfo "Emacs version number: ${FULL_VERSION}"
|
||||
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
|
||||
|| die "Upstream version number changed to ${FULL_VERSION}"
|
||||
fi
|
||||
|
||||
epatch_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
|
||||
|
||||
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 m17n-lib libotf)"
|
||||
myconf+=" $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf+=" --without-xft"
|
||||
myconf+=" --without-libotf --without-m17n-flt"
|
||||
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+)"
|
||||
myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
|
||||
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
|
||||
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}"
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
myconf+=" EBZR_BRANCH=${EBZR_BRANCH} EBZR_REVNO=${EBZR_REVNO}"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--program-suffix="-${EMACS_SUFFIX}" \
|
||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
||||
--localstatedir="${EPREFIX}"/var \
|
||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
||||
--with-gameuser="${GAMES_USER_DED:-games}" \
|
||||
--without-compress-install \
|
||||
--with-file-notification=$(usev gfile || usev inotify || echo no) \
|
||||
$(use_enable acl) \
|
||||
$(use_with dbus) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with gpm) \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with libxml2 xml2) \
|
||||
$(use_with selinux) \
|
||||
$(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/{applications,icons}
|
||||
rm -rf "${ED}"/var
|
||||
|
||||
# remove unused <version>/site-lisp dir
|
||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
||||
|
||||
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
|
||||
|
||||
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,40 @@
|
||||
From 9f8e9895c504149d7048e9fc5eb5cbb34b16e49a Mon Sep 17 00:00:00 2001
|
||||
From: "Michael S. Tsirkin" <mst@redhat.com>
|
||||
Date: Thu, 3 Apr 2014 19:52:25 +0300
|
||||
Subject: [PATCH] usb: sanity check setup_index+setup_len in post_load
|
||||
|
||||
CVE-2013-4541
|
||||
|
||||
s->setup_len and s->setup_index are fed into usb_packet_copy as
|
||||
size/offset into s->data_buf, it's possible for invalid state to exploit
|
||||
this to load arbitrary data.
|
||||
|
||||
setup_len and setup_index should be checked to make sure
|
||||
they are not negative.
|
||||
|
||||
Cc: Gerd Hoffmann <kraxel@redhat.com>
|
||||
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|
||||
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
|
||||
Signed-off-by: Juan Quintela <quintela@redhat.com>
|
||||
---
|
||||
hw/usb/bus.c | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/hw/usb/bus.c b/hw/usb/bus.c
|
||||
index fe70429..e48b19f 100644
|
||||
--- a/hw/usb/bus.c
|
||||
+++ b/hw/usb/bus.c
|
||||
@@ -49,7 +49,9 @@ static int usb_device_post_load(void *opaque, int version_id)
|
||||
} else {
|
||||
dev->attached = 1;
|
||||
}
|
||||
- if (dev->setup_index >= sizeof(dev->data_buf) ||
|
||||
+ if (dev->setup_index < 0 ||
|
||||
+ dev->setup_len < 0 ||
|
||||
+ dev->setup_index >= sizeof(dev->data_buf) ||
|
||||
dev->setup_len >= sizeof(dev->data_buf)) {
|
||||
return -EINVAL;
|
||||
}
|
||||
--
|
||||
1.9.3
|
||||
|
@ -0,0 +1,48 @@
|
||||
From 42eb58179b3b215bb507da3262b682b8a2ec10b5 Mon Sep 17 00:00:00 2001
|
||||
From: Kevin Wolf <kwolf@redhat.com>
|
||||
Date: Thu, 15 May 2014 16:10:11 +0200
|
||||
Subject: [PATCH] qcow1: Validate L2 table size (CVE-2014-0222)
|
||||
|
||||
Too large L2 table sizes cause unbounded allocations. Images actually
|
||||
created by qemu-img only have 512 byte or 4k L2 tables.
|
||||
|
||||
To keep things consistent with cluster sizes, allow ranges between 512
|
||||
bytes and 64k (in fact, down to 1 entry = 8 bytes is technically
|
||||
working, but L2 table sizes smaller than a cluster don't make a lot of
|
||||
sense).
|
||||
|
||||
This also means that the number of bytes on the virtual disk that are
|
||||
described by the same L2 table is limited to at most 8k * 64k or 2^29,
|
||||
preventively avoiding any integer overflows.
|
||||
|
||||
Cc: qemu-stable@nongnu.org
|
||||
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
||||
Reviewed-by: Benoit Canet <benoit@irqsave.net>
|
||||
---
|
||||
block/qcow.c | 8 ++++++++
|
||||
tests/qemu-iotests/092 | 15 +++++++++++++++
|
||||
tests/qemu-iotests/092.out | 11 +++++++++++
|
||||
3 files changed, 34 insertions(+)
|
||||
|
||||
diff --git a/block/qcow.c b/block/qcow.c
|
||||
index e60df23..e8038e5 100644
|
||||
--- a/block/qcow.c
|
||||
+++ b/block/qcow.c
|
||||
@@ -139,6 +139,14 @@ static int qcow_open(BlockDriverState *bs, QDict *options, int flags,
|
||||
goto fail;
|
||||
}
|
||||
|
||||
+ /* l2_bits specifies number of entries; storing a uint64_t in each entry,
|
||||
+ * so bytes = num_entries << 3. */
|
||||
+ if (header.l2_bits < 9 - 3 || header.l2_bits > 16 - 3) {
|
||||
+ error_setg(errp, "L2 table size must be between 512 and 64k");
|
||||
+ ret = -EINVAL;
|
||||
+ goto fail;
|
||||
+ }
|
||||
+
|
||||
if (header.crypt_method > QCOW_CRYPT_AES) {
|
||||
error_setg(errp, "invalid encryption method in qcow header");
|
||||
ret = -EINVAL;
|
||||
--
|
||||
1.9.3
|
||||
|
@ -0,0 +1,57 @@
|
||||
From 46485de0cb357b57373e1ca895adedf1f3ed46ec Mon Sep 17 00:00:00 2001
|
||||
From: Kevin Wolf <kwolf@redhat.com>
|
||||
Date: Thu, 8 May 2014 13:08:20 +0200
|
||||
Subject: [PATCH] qcow1: Validate image size (CVE-2014-0223)
|
||||
|
||||
A huge image size could cause s->l1_size to overflow. Make sure that
|
||||
images never require a L1 table larger than what fits in s->l1_size.
|
||||
|
||||
This cannot only cause unbounded allocations, but also the allocation of
|
||||
a too small L1 table, resulting in out-of-bounds array accesses (both
|
||||
reads and writes).
|
||||
|
||||
Cc: qemu-stable@nongnu.org
|
||||
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
||||
---
|
||||
block/qcow.c | 16 ++++++++++++++--
|
||||
tests/qemu-iotests/092 | 9 +++++++++
|
||||
tests/qemu-iotests/092.out | 7 +++++++
|
||||
3 files changed, 30 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/block/qcow.c b/block/qcow.c
|
||||
index e8038e5..3566c05 100644
|
||||
--- a/block/qcow.c
|
||||
+++ b/block/qcow.c
|
||||
@@ -61,7 +61,7 @@ typedef struct BDRVQcowState {
|
||||
int cluster_sectors;
|
||||
int l2_bits;
|
||||
int l2_size;
|
||||
- int l1_size;
|
||||
+ unsigned int l1_size;
|
||||
uint64_t cluster_offset_mask;
|
||||
uint64_t l1_table_offset;
|
||||
uint64_t *l1_table;
|
||||
@@ -166,7 +166,19 @@ static int qcow_open(BlockDriverState *bs, QDict *options, int flags,
|
||||
|
||||
/* read the level 1 table */
|
||||
shift = s->cluster_bits + s->l2_bits;
|
||||
- s->l1_size = (header.size + (1LL << shift) - 1) >> shift;
|
||||
+ if (header.size > UINT64_MAX - (1LL << shift)) {
|
||||
+ error_setg(errp, "Image too large");
|
||||
+ ret = -EINVAL;
|
||||
+ goto fail;
|
||||
+ } else {
|
||||
+ uint64_t l1_size = (header.size + (1LL << shift) - 1) >> shift;
|
||||
+ if (l1_size > INT_MAX / sizeof(uint64_t)) {
|
||||
+ error_setg(errp, "Image too large");
|
||||
+ ret = -EINVAL;
|
||||
+ goto fail;
|
||||
+ }
|
||||
+ s->l1_size = l1_size;
|
||||
+ }
|
||||
|
||||
s->l1_table_offset = header.l1_table_offset;
|
||||
s->l1_table = g_malloc(s->l1_size * sizeof(uint64_t));
|
||||
--
|
||||
1.9.3
|
||||
|
@ -0,0 +1,52 @@
|
||||
From 7159a45b2bf2dcb9f49f1e27d1d3d135a0247a2f Mon Sep 17 00:00:00 2001
|
||||
From: Kevin Wolf <kwolf@redhat.com>
|
||||
Date: Wed, 7 May 2014 17:30:30 +0200
|
||||
Subject: [PATCH] qcow1: Check maximum cluster size
|
||||
|
||||
Huge values for header.cluster_bits cause unbounded allocations (e.g.
|
||||
for s->cluster_cache) and crash qemu this way. Less huge values may
|
||||
survive those allocations, but can cause integer overflows later on.
|
||||
|
||||
The only cluster sizes that qemu can create are 4k (for standalone
|
||||
images) and 512 (for images with backing files), so we can limit it
|
||||
to 64k.
|
||||
|
||||
Cc: qemu-stable@nongnu.org
|
||||
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
||||
Reviewed-by: Benoit Canet <benoit@irqsave.net>
|
||||
---
|
||||
block/qcow.c | 10 ++++++--
|
||||
tests/qemu-iotests/092 | 63 ++++++++++++++++++++++++++++++++++++++++++++++
|
||||
tests/qemu-iotests/092.out | 13 ++++++++++
|
||||
tests/qemu-iotests/group | 1 +
|
||||
4 files changed, 85 insertions(+), 2 deletions(-)
|
||||
create mode 100755 tests/qemu-iotests/092
|
||||
create mode 100644 tests/qemu-iotests/092.out
|
||||
|
||||
diff --git a/block/qcow.c b/block/qcow.c
|
||||
index 3684794..e60df23 100644
|
||||
--- a/block/qcow.c
|
||||
+++ b/block/qcow.c
|
||||
@@ -128,11 +128,17 @@ static int qcow_open(BlockDriverState *bs, QDict *options, int flags,
|
||||
goto fail;
|
||||
}
|
||||
|
||||
- if (header.size <= 1 || header.cluster_bits < 9) {
|
||||
- error_setg(errp, "invalid value in qcow header");
|
||||
+ if (header.size <= 1) {
|
||||
+ error_setg(errp, "Image size is too small (must be at least 2 bytes)");
|
||||
ret = -EINVAL;
|
||||
goto fail;
|
||||
}
|
||||
+ if (header.cluster_bits < 9 || header.cluster_bits > 16) {
|
||||
+ error_setg(errp, "Cluster size must be between 512 and 64k");
|
||||
+ ret = -EINVAL;
|
||||
+ goto fail;
|
||||
+ }
|
||||
+
|
||||
if (header.crypt_method > QCOW_CRYPT_AES) {
|
||||
error_setg(errp, "invalid encryption method in qcow header");
|
||||
ret = -EINVAL;
|
||||
--
|
||||
1.9.3
|
||||
|
@ -0,0 +1,41 @@
|
||||
https://bugs.gentoo.org/510208
|
||||
|
||||
From 719ffe1f5f72b1c7ace4afe9ba2815bcb53a829e Mon Sep 17 00:00:00 2001
|
||||
From: "Michael S. Tsirkin" <mst@redhat.com>
|
||||
Date: Tue, 13 May 2014 12:33:16 +0300
|
||||
Subject: [PATCH] usb: fix up post load checks
|
||||
|
||||
Correct post load checks:
|
||||
1. dev->setup_len == sizeof(dev->data_buf)
|
||||
seems fine, no need to fail migration
|
||||
2. When state is DATA, passing index > len
|
||||
will cause memcpy with negative length,
|
||||
resulting in heap overflow
|
||||
|
||||
First of the issues was reported by dgilbert.
|
||||
|
||||
Reported-by: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
|
||||
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|
||||
Signed-off-by: Juan Quintela <quintela@redhat.com>
|
||||
---
|
||||
hw/usb/bus.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/hw/usb/bus.c b/hw/usb/bus.c
|
||||
index 699aa10..927a47b 100644
|
||||
--- a/hw/usb/bus.c
|
||||
+++ b/hw/usb/bus.c
|
||||
@@ -51,8 +51,8 @@ static int usb_device_post_load(void *opaque, int version_id)
|
||||
}
|
||||
if (dev->setup_index < 0 ||
|
||||
dev->setup_len < 0 ||
|
||||
- dev->setup_index >= sizeof(dev->data_buf) ||
|
||||
- dev->setup_len >= sizeof(dev->data_buf)) {
|
||||
+ dev->setup_index > dev->setup_len ||
|
||||
+ dev->setup_len > sizeof(dev->data_buf)) {
|
||||
return -EINVAL;
|
||||
}
|
||||
return 0;
|
||||
--
|
||||
1.9.3
|
||||
|
@ -0,0 +1,554 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-2.0.0-r1.ebuild,v 1.2 2014/05/31 16:14:44 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="ncurses,readline"
|
||||
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
|
||||
user udev fcaps readme.gentoo
|
||||
|
||||
BACKPORTS=
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||
HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="accessibility +aio alsa bluetooth +caps +curl debug +fdt glusterfs \
|
||||
gtk iscsi +jpeg \
|
||||
kernel_linux kernel_FreeBSD ncurses opengl +png pulseaudio python \
|
||||
rbd sasl +seccomp sdl selinux smartcard spice ssh static static-softmmu \
|
||||
static-user systemtap tci test +threads tls usb usbredir +uuid vde +vhost-net \
|
||||
virtfs +vnc xattr xen xfs"
|
||||
|
||||
COMMON_TARGETS="aarch64 alpha arm cris i386 m68k microblaze microblazeel mips
|
||||
mips64 mips64el mipsel or32 ppc ppc64 s390x sh4 sh4eb sparc sparc64 unicore32
|
||||
x86_64"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 moxie ppcemb xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb mipsn32 mipsn32el ppc64abi32 sparc32plus"
|
||||
|
||||
use_targets="
|
||||
$(printf ' qemu_softmmu_targets_%s' ${IUSE_SOFTMMU_TARGETS})
|
||||
$(printf ' qemu_user_targets_%s' ${IUSE_USER_TARGETS})
|
||||
"
|
||||
IUSE+=" ${use_targets}"
|
||||
|
||||
# Require at least one softmmu or user target.
|
||||
# Block USE flag configurations known to not work.
|
||||
REQUIRED_USE="|| ( ${use_targets} )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
qemu_softmmu_targets_arm? ( fdt )
|
||||
qemu_softmmu_targets_microblaze? ( fdt )
|
||||
qemu_softmmu_targets_ppc? ( fdt )
|
||||
qemu_softmmu_targets_ppc64? ( fdt )
|
||||
static? ( static-softmmu static-user )
|
||||
static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl !gtk )
|
||||
virtfs? ( xattr )"
|
||||
|
||||
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
|
||||
COMMON_LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
|
||||
sys-libs/zlib[static-libs(+)]"
|
||||
SOFTMMU_LIB_DEPEND="${COMMON_LIB_DEPEND}
|
||||
>=x11-libs/pixman-0.28.0[static-libs(+)]
|
||||
aio? ( dev-libs/libaio[static-libs(+)] )
|
||||
caps? ( sys-libs/libcap-ng[static-libs(+)] )
|
||||
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
|
||||
fdt? ( >=sys-apps/dtc-1.4.0[static-libs(+)] )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
|
||||
jpeg? ( virtual/jpeg[static-libs(+)] )
|
||||
ncurses? ( sys-libs/ncurses[static-libs(+)] )
|
||||
png? ( media-libs/libpng[static-libs(+)] )
|
||||
rbd? ( sys-cluster/ceph[static-libs(+)] )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
|
||||
sdl? ( >=media-libs/libsdl-1.2.11[static-libs(+)] )
|
||||
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
|
||||
spice? ( >=app-emulation/spice-0.12.0[static-libs(+)] )
|
||||
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
|
||||
tls? ( net-libs/gnutls[static-libs(+)] )
|
||||
usb? ( >=dev-libs/libusb-1.0.18[static-libs(+)] )
|
||||
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
|
||||
vde? ( net-misc/vde[static-libs(+)] )
|
||||
xattr? ( sys-apps/attr[static-libs(+)] )
|
||||
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
|
||||
USER_LIB_DEPEND="${COMMON_LIB_DEPEND}"
|
||||
RDEPEND="!static-softmmu? ( ${SOFTMMU_LIB_DEPEND//\[static-libs(+)]} )
|
||||
!static-user? ( ${USER_LIB_DEPEND//\[static-libs(+)]} )
|
||||
qemu_softmmu_targets_i386? (
|
||||
>=sys-firmware/ipxe-1.0.0_p20130624
|
||||
~sys-firmware/seabios-1.7.4
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
qemu_softmmu_targets_x86_64? (
|
||||
>=sys-firmware/ipxe-1.0.0_p20130624
|
||||
~sys-firmware/seabios-1.7.4
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
accessibility? ( app-accessibility/brltty )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
gtk? (
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/vte:2.90
|
||||
)
|
||||
iscsi? ( net-libs/libiscsi )
|
||||
opengl? ( virtual/opengl )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
sdl? ( media-libs/libsdl[X] )
|
||||
selinux? ( sec-policy/selinux-qemu )
|
||||
smartcard? ( dev-libs/nss !app-emulation/libcacard )
|
||||
spice? ( >=app-emulation/spice-protocol-0.12.3 )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
usbredir? ( >=sys-apps/usbredir-0.6 )
|
||||
virtfs? ( sys-libs/libcap )
|
||||
xen? ( app-emulation/xen-tools )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
=dev-lang/python-2*
|
||||
sys-apps/texinfo
|
||||
virtual/pkgconfig
|
||||
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
|
||||
static-softmmu? ( ${SOFTMMU_LIB_DEPEND} )
|
||||
static-user? ( ${USER_LIB_DEPEND} )
|
||||
test? (
|
||||
dev-libs/glib[utils]
|
||||
sys-devel/bc
|
||||
)"
|
||||
|
||||
STRIP_MASK="/usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/share/qemu/openbios-ppc
|
||||
usr/share/qemu/openbios-sparc64
|
||||
usr/share/qemu/openbios-sparc32
|
||||
usr/share/qemu/palcode-clipper
|
||||
usr/share/qemu/s390-ccw.img"
|
||||
|
||||
QA_WX_LOAD="usr/bin/qemu-i386
|
||||
usr/bin/qemu-x86_64
|
||||
usr/bin/qemu-alpha
|
||||
usr/bin/qemu-arm
|
||||
usr/bin/qemu-cris
|
||||
usr/bin/qemu-m68k
|
||||
usr/bin/qemu-microblaze
|
||||
usr/bin/qemu-microblazeel
|
||||
usr/bin/qemu-mips
|
||||
usr/bin/qemu-mipsel
|
||||
usr/bin/qemu-or32
|
||||
usr/bin/qemu-ppc
|
||||
usr/bin/qemu-ppc64
|
||||
usr/bin/qemu-ppc64abi32
|
||||
usr/bin/qemu-sh4
|
||||
usr/bin/qemu-sh4eb
|
||||
usr/bin/qemu-sparc
|
||||
usr/bin/qemu-sparc64
|
||||
usr/bin/qemu-armeb
|
||||
usr/bin/qemu-sparc32plus
|
||||
usr/bin/qemu-s390x
|
||||
usr/bin/qemu-unicore32"
|
||||
|
||||
DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure
|
||||
you have the kernel module loaded before running kvm. The easiest way to
|
||||
ensure that the kernel module is loaded is to load it on boot.\n
|
||||
For AMD CPUs the module is called 'kvm-amd'\n
|
||||
For Intel CPUs the module is called 'kvm-intel'\n
|
||||
Please review /etc/conf.d/modules for how to load these\n\n
|
||||
Make sure your user is in the 'kvm' group\n
|
||||
Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
|
||||
|
||||
qemu_support_kvm() {
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 \
|
||||
use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64 \
|
||||
use qemu_softmmu_targets_s390x; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
return 1
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if use kernel_linux && kernel_is lt 2 6 25; then
|
||||
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
|
||||
elif use kernel_linux; then
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel for KVM support"
|
||||
else
|
||||
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
|
||||
ERROR_KVM="You must enable KVM in your kernel to continue"
|
||||
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
|
||||
ERROR_KVM_AMD+=" your kernel configuration."
|
||||
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
|
||||
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
|
||||
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
|
||||
ERROR_TUN+=" into your kernel or loaded as a module to use the"
|
||||
ERROR_TUN+=" virtual network device if using -net tap."
|
||||
ERROR_BRIDGE="You will also need support for 802.1d"
|
||||
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
|
||||
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
|
||||
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
|
||||
ERROR_VHOST_NET+=" support"
|
||||
|
||||
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
|
||||
CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
|
||||
fi
|
||||
|
||||
use python && CONFIG_CHECK+=" ~DEBUG_FS"
|
||||
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup kvm 78
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Alter target makefiles to accept CFLAGS set via flag-o
|
||||
sed -i -r \
|
||||
-e 's/^(C|OP_C|HELPER_C)FLAGS=/\1FLAGS+=/' \
|
||||
Makefile Makefile.target || die
|
||||
|
||||
epatch "${FILESDIR}"/qemu-1.7.0-cflags.patch
|
||||
epatch "${FILESDIR}"/qemu-9999-virtfs-proxy-helper-accept.patch #486714
|
||||
epatch "${FILESDIR}"/${P}-CVE-2013-4541.patch #510208
|
||||
epatch "${FILESDIR}"/${P}-usb-post-load-checks.patch #510208
|
||||
epatch "${FILESDIR}"/${P}-qcow-check-max-sizes.patch #510234
|
||||
epatch "${FILESDIR}"/${P}-CVE-2014-0222.patch #510234
|
||||
epatch "${FILESDIR}"/${P}-CVE-2014-0223.patch #510234
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
# Fix ld and objcopy being called directly
|
||||
tc-export AR LD OBJCOPY
|
||||
|
||||
# Verbose builds
|
||||
MAKEOPTS+=" V=1"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
##
|
||||
# configures qemu based on the build directory and the build type
|
||||
# we are using.
|
||||
#
|
||||
qemu_src_configure() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
local buildtype=$1
|
||||
local builddir=$2
|
||||
local static_flag="static-${buildtype}"
|
||||
|
||||
# audio options
|
||||
local audio_opts="oss"
|
||||
use alsa && audio_opts="alsa,${audio_opts}"
|
||||
use sdl && audio_opts="sdl,${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa,${audio_opts}"
|
||||
|
||||
local conf_opts=(
|
||||
--prefix=/usr
|
||||
--sysconfdir=/etc
|
||||
--libdir=/usr/$(get_libdir)
|
||||
--docdir=/usr/share/doc/${PF}/html
|
||||
--disable-bsd-user
|
||||
--disable-guest-agent
|
||||
--disable-strip
|
||||
--disable-werror
|
||||
--python="${PYTHON}"
|
||||
--cc="$(tc-getCC)"
|
||||
--cxx="$(tc-getCXX)"
|
||||
--host-cc="$(tc-getBUILD_CC)"
|
||||
$(use_enable debug debug-info)
|
||||
$(use_enable debug debug-tcg)
|
||||
--enable-docs
|
||||
$(use_enable tci tcg-interpreter)
|
||||
)
|
||||
|
||||
case ${buildtype} in
|
||||
user)
|
||||
conf_opts+=(
|
||||
--enable-linux-user
|
||||
--disable-system
|
||||
--target-list="${user_targets}"
|
||||
--disable-blobs
|
||||
--disable-bluez
|
||||
--disable-curses
|
||||
--disable-kvm
|
||||
--disable-libiscsi
|
||||
--disable-glusterfs
|
||||
--disable-seccomp
|
||||
--disable-sdl
|
||||
--disable-smartcard-nss
|
||||
--disable-tools
|
||||
--disable-vde
|
||||
--disable-libssh2
|
||||
--disable-libusb
|
||||
)
|
||||
;;
|
||||
softmmu)
|
||||
conf_opts+=(
|
||||
--disable-linux-user
|
||||
--enable-system
|
||||
--with-system-pixman
|
||||
--target-list="${softmmu_targets}"
|
||||
$(use_enable bluetooth bluez)
|
||||
$(use_enable gtk)
|
||||
$(use_enable sdl)
|
||||
$(use_enable aio linux-aio)
|
||||
$(use_enable accessibility brlapi)
|
||||
$(use_enable caps cap-ng)
|
||||
$(use_enable curl)
|
||||
$(use_enable fdt)
|
||||
$(use_enable glusterfs)
|
||||
$(use_enable iscsi libiscsi)
|
||||
$(use_enable jpeg vnc-jpeg)
|
||||
$(use_enable kernel_linux kvm)
|
||||
$(use_enable ncurses curses)
|
||||
$(use_enable opengl glx)
|
||||
$(use_enable png vnc-png)
|
||||
$(use_enable rbd)
|
||||
$(use_enable sasl vnc-sasl)
|
||||
$(use_enable seccomp)
|
||||
$(use_enable smartcard smartcard-nss)
|
||||
$(use_enable spice)
|
||||
$(use_enable ssh libssh2)
|
||||
$(use_enable tls vnc-tls)
|
||||
$(use_enable tls vnc-ws)
|
||||
$(use_enable usb libusb)
|
||||
$(use_enable usbredir usb-redir)
|
||||
$(use_enable uuid)
|
||||
$(use_enable vde)
|
||||
$(use_enable vhost-net)
|
||||
$(use_enable virtfs)
|
||||
$(use_enable vnc)
|
||||
$(use_enable xattr attr)
|
||||
$(use_enable xen)
|
||||
$(use_enable xen xen-pci-passthrough)
|
||||
$(use_enable xfs xfsctl)
|
||||
--audio-drv-list="${audio_opts}"
|
||||
)
|
||||
use gtk && conf_opts+=( --with-gtkabi=3.0 )
|
||||
;;
|
||||
esac
|
||||
|
||||
# Add support for SystemTAP
|
||||
use systemtap && conf_opts+=( --enable-trace-backend=dtrace )
|
||||
|
||||
# We always want to attempt to build with PIE support as it results
|
||||
# in a more secure binary. But it doesn't work with static or if
|
||||
# the current GCC doesn't have PIE support.
|
||||
if use ${static_flag}; then
|
||||
conf_opts+=( --static --disable-pie )
|
||||
else
|
||||
gcc-specs-pie && conf_opts+=( --enable-pie )
|
||||
fi
|
||||
|
||||
einfo "./configure ${conf_opts[*]}"
|
||||
cd "${builddir}"
|
||||
../configure "${conf_opts[@]}" || die "configure failed"
|
||||
|
||||
# FreeBSD's kernel does not support QEMU assigning/grabbing
|
||||
# host USB devices yet
|
||||
use kernel_FreeBSD && \
|
||||
sed -i -E -e "s|^(HOST_USB=)bsd|\1stub|" "${S}"/config-host.mak
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local target
|
||||
|
||||
python_export_best
|
||||
|
||||
softmmu_targets=
|
||||
user_targets=
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
use "qemu_softmmu_targets_${target}" && softmmu_targets+=",${target}-softmmu"
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
use "qemu_user_targets_${target}" && user_targets+=",${target}-linux-user"
|
||||
done
|
||||
|
||||
[[ -n ${softmmu_targets} ]] && \
|
||||
einfo "Building the following softmmu targets: ${softmmu_targets}"
|
||||
|
||||
[[ -n ${user_targets} ]] && \
|
||||
einfo "Building the following user targets: ${user_targets}"
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
mkdir "${S}/softmmu-build"
|
||||
qemu_src_configure "softmmu" "${S}/softmmu-build"
|
||||
fi
|
||||
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
mkdir "${S}/user-build"
|
||||
qemu_src_configure "user" "${S}/user-build"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
default
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/softmmu-build"
|
||||
emake -j1 check
|
||||
emake -j1 check-report.html
|
||||
}
|
||||
|
||||
qemu_python_install() {
|
||||
python_domodule "${S}/scripts/qmp/qmp.py"
|
||||
|
||||
python_doscript "${S}/scripts/kvm/kvm_stat"
|
||||
python_doscript "${S}/scripts/kvm/vmxcap"
|
||||
python_doscript "${S}/scripts/qmp/qmp-shell"
|
||||
python_doscript "${S}/scripts/qmp/qemu-ga-client"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# Install binfmt handler init script for user targets
|
||||
newinitd "${FILESDIR}/qemu-binfmt.initd-r1" qemu-binfmt
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
if use test; then
|
||||
dohtml check-report.html
|
||||
fi
|
||||
|
||||
if use kernel_linux; then
|
||||
udev_dorules "${FILESDIR}"/65-kvm.rules
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_foreach_impl qemu_python_install
|
||||
fi
|
||||
fi
|
||||
|
||||
# Install config file example for qemu-bridge-helper
|
||||
insinto "/etc/qemu"
|
||||
doins "${FILESDIR}/bridge.conf"
|
||||
|
||||
# Remove the docdir placed qmp-commands.txt
|
||||
mv "${ED}/usr/share/doc/${PF}/html/qmp-commands.txt" "${S}/docs/qmp/"
|
||||
|
||||
cd "${S}"
|
||||
dodoc Changelog MAINTAINERS docs/specs/pci-ids.txt
|
||||
newdoc pc-bios/README README.pc-bios
|
||||
dodoc docs/qmp/*.txt
|
||||
|
||||
# Remove SeaBIOS since we're using the SeaBIOS packaged one
|
||||
rm "${ED}/usr/share/qemu/bios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
|
||||
fi
|
||||
|
||||
# Remove vgabios since we're using the vgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/vgabios.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
|
||||
dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
|
||||
dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
|
||||
dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
|
||||
dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
|
||||
fi
|
||||
|
||||
# Remove sgabios since we're using the sgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/sgabios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
|
||||
fi
|
||||
|
||||
# Remove iPXE since we're using the iPXE packaged one
|
||||
rm "${ED}"/usr/share/qemu/pxe-*.rom
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../ipxe/8086100e.rom /usr/share/qemu/pxe-e1000.rom
|
||||
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
|
||||
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
|
||||
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
|
||||
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
|
||||
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
|
||||
fi
|
||||
|
||||
qemu_support_kvm && readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local virtfs_caps=
|
||||
|
||||
if qemu_support_kvm; then
|
||||
readme.gentoo_print_elog
|
||||
ewarn "Migration from qemu-kvm instances and loading qemu-kvm created"
|
||||
ewarn "save states has been removed starting with the 1.6.2 release"
|
||||
ewarn
|
||||
ewarn "It is recommended that you migrate any VMs that may be running"
|
||||
ewarn "on qemu-kvm to a host with a newer qemu and regenerate"
|
||||
ewarn "any saved states with a newer qemu."
|
||||
ewarn
|
||||
ewarn "qemu-kvm was the primary qemu provider in Gentoo through 1.2.x"
|
||||
|
||||
if use x86 || use amd64; then
|
||||
ewarn
|
||||
ewarn "The /usr/bin/kvm and /usr/bin/qemu-kvm wrappers are no longer"
|
||||
ewarn "installed. In order to use kvm acceleration, pass the flag"
|
||||
ewarn "-enable-kvm when running your system target."
|
||||
fi
|
||||
fi
|
||||
|
||||
virtfs_caps+="cap_chown,cap_dac_override,cap_fowner,cap_fsetid,"
|
||||
virtfs_caps+="cap_setgid,cap_mknod,cap_setuid"
|
||||
|
||||
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
|
||||
use virtfs && fcaps ${virtfs_caps} /usr/bin/virtfs-proxy-helper
|
||||
}
|
||||
|
||||
pkg_info() {
|
||||
echo "Using:"
|
||||
echo " $(best_version app-emulation/spice-protocol)"
|
||||
echo " $(best_version sys-firmware/ipxe)"
|
||||
echo " $(best_version sys-firmware/seabios)"
|
||||
if has_version sys-firmware/seabios[binary]; then
|
||||
echo " USE=binary"
|
||||
else
|
||||
echo " USE=''"
|
||||
fi
|
||||
echo " $(best_version sys-firmware/vgabios)"
|
||||
}
|
@ -1,18 +1,16 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX batti-0.3.8-upower-0.99.patch 1248 SHA256 38309062cb0111df2c96c49e0b468a120fd3d145c3960b669f71cc020fbc2e5f SHA512 172036b2d5f63c37d26a9542e9348b469c2df4e1380fa3ff4c13883e3a295963c569230b32a36eba14f70e37f87dfc2fcfe03e98406a335749f2d0234c5d30be WHIRLPOOL 2950fcf9b7ef984c0d1fbeed3ed8cd2db9f0d19af8bf2f2399eda0d791f48fb0d23763856cb4c38631ca7fea28b5e11701889d4bde015630ba5010897f7e933e
|
||||
DIST batti-0.3.8.tar.gz 59783 SHA256 a63f99bc63dad743abef18ac666e11247011cf9136a11286b131467d9f484d1c SHA512 39e0085a13847359eb555eff80c3f3b166775558fba3c76ecb4315786e2ce4307d21dcac5fab38da4ee3cc2035356906eb1354ced56a1f007735029e0484a4de WHIRLPOOL 93f9dcc1b7a42968859eb79db593e0be694b6a31a14152e589cd1866172185a296b67b4e2131923d369ee21b3f36f80f42d8b7eb4aa91edad5d6ef96a5d2038c
|
||||
EBUILD batti-0.3.8-r1.ebuild 933 SHA256 755a64814813375c6d70f7921163907b41bcc6d21a43479be2f1b03a8f951182 SHA512 3868afba7dc9b6806ba26a2bf4f1635289537deb44481daa7fdb672dd2886e9f39d6a8e7158f2084c5e09f211a5f9220b62cfef6cd1edf2c15369a8b71d3f913 WHIRLPOOL 407dd2ad4eb3204eb61408b5a7bd09466b0e0a73181c4c27e336920a0825586397982d05d0a8a7d501f721e9584d2ae5079212a98c34357021553006645a8e20
|
||||
MISC ChangeLog 2917 SHA256 677bb9bf4b945a75e6eeea4c774c55efa6cb6a54aad5c5848c2dfa082b748ddc SHA512 e2ccc434b62d45aba146ce7580ae4506d14e56ed48b5c16b2d9c1555875aae67b2dbdec5185413eb81634820504b0b30de8e85cc75b7912ff7d0a96cdd569d25 WHIRLPOOL 29e02745b5f5a64a36c58980eb014fa542723fae3552c5fd5b799b5f20ab304df29eb0077d6d7da2148736b20c45aac7fec91f128036afd360432769fcb73e14
|
||||
EBUILD batti-0.3.8-r1.ebuild 972 SHA256 227c20a8d2d4b599f420521a33324a24bb328b50c85c656abef63687eaa8fe45 SHA512 5e14e68c60b2dcaa3490abab53e04f46fa29f51f98dc32aa11a67d6ebc18ed55545dc0b36f68770577a616ba79bc1496fb25fc3b3c4e32469fdd53955cc74fda WHIRLPOOL 4156cd9dddc865d2bb342ec5219f8817622e3c81509d0e2e5cbb1c74942dd6f1d4d2399f28adad275035d30ea7b42b30e834a696ab7846988d6fec08415d3663
|
||||
EBUILD batti-0.3.8-r2.ebuild 1082 SHA256 e4839b2897f6182a51472887d9cd563b29cb19092c38b0e8ce8d670490550140 SHA512 59845f8d0e3b0987896c844dfb22325cf38cdfbb1674be0582611eb59f9d057bd242a0aec393e7d47216b4c2549fef57bfd73d163989c982407db2affbeaa042 WHIRLPOOL 6f2600e76c3c2fb0e7a22ee3a6e26d46956c6e9ea447e606382d5a14961583c9af6e59990b7d07344acef7b2061e0b304626e7b4cb72d6aea25134c4fc87a26a
|
||||
MISC ChangeLog 3681 SHA256 dab76c610e4adf0a41e854ada3794c28d2393e9720768ee5edd4646c2cd09bf2 SHA512 839380824a63666fffe3ae92b1c7dde2b9f6184a29624396ec1a886875d11619d8946dcf3e9eede58b7e677e0e307ecc9f1c8fae1df314bf51ddcd0f1bf03bbc WHIRLPOOL 59e4f787e93dfed6211f8f69f14efe4714290d9255f6550d11e7907d410f8e98fdeb60ab5423beb0462c8e40b409291c11ecd8f12e2fd748a87039f6d4521bf6
|
||||
MISC metadata.xml 309 SHA256 1ee29fbc146953a29834db4265544619e8c7823e7ee6fd01d3e402bf7557b036 SHA512 a82213a6365cb67325ed9f91f518829b6944331a74cf5e684e054a332d8f656fa353b36d9310c8bd5cace137ab1c38dc8d0a689fc3706ad28deda3ec07980d95 WHIRLPOOL 160dd68f4567fd0d5c3d65c367cb03c0de18347bcb8a7040caf22a1977bcbef4ef6eb10736ebca8f36e0d8a0163b15ec5486fb31bec6367cf1945cbeb70acbfa
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iQEcBAEBCAAGBQJRFpwHAAoJEMOx0zmdw4Z1cu8IAIIh5AEqkZAOjxDmDBE7nTrC
|
||||
3i4HukFNcUKahSmr07YtEXP1vw4or7cFRYxJhquCcuSd0sQVimHMp3Y1Em8smviJ
|
||||
DY7yqeXr1EfQXTMSJe1pKaR2EG7GQX6jdIYWE3EiA0FwHJMaQ6/+JwFaeeqgdJs3
|
||||
zz12PrSsbUVkzFUMVCsbo3wako1fN2BdnfjqJptQCA26oUSXqnFAa0iHwkFE93TG
|
||||
/rsh0hYuWGd3+pNm+Eg6KDQYPKCItJNCVLPz0kfnVwGe0t7LOAqeiE7X9BCVDy3O
|
||||
ztFj57Z5NVqcJpnu8OT3TyzHPXQvWhYC7h3UVGd/cdWlW5tPti+xxDkzG1I7YXE=
|
||||
=ooOo
|
||||
iEYEAREIAAYFAlOKHfIACgkQCaWpQKGI+9RW/QCaA9Aq7qTpOQ5xy+kaW/ys07YY
|
||||
WwsAnRCu4TnGaQ0Dw4nUQwXUNoNKCrD0
|
||||
=HN6E
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/batti/batti-0.3.8-r2.ebuild,v 1.3 2014/05/31 18:22:41 pacho Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
PYTHON_DEPEND="2"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit python distutils gnome2-utils eutils
|
||||
|
||||
DESCRIPTION="A upower based battery monitor for the system tray, similar to batterymon"
|
||||
HOMEPAGE="http://code.google.com/p/batti-gtk/"
|
||||
SRC_URI="http://batti-gtk.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="libnotify"
|
||||
|
||||
RDEPEND="dev-python/pygtk
|
||||
dev-python/dbus-python
|
||||
|| ( sys-power/upower:= sys-power/upower-pm-utils )
|
||||
x11-themes/gnome-icon-theme
|
||||
libnotify? ( x11-libs/libnotify )"
|
||||
DEPEND=""
|
||||
|
||||
DOCS="AUTHORS"
|
||||
|
||||
src_prepare() {
|
||||
has_version ">=sys-power/upower-0.99" && epatch "${FILESDIR}/${P}-upower-0.99.patch"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
distutils_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
distutils_pkg_postrm
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
diff -Naur batti-0.3.8.orig/src/PowerBackend.py batti-0.3.8/src/PowerBackend.py
|
||||
--- batti-0.3.8.orig/src/PowerBackend.py 2014-04-15 19:30:34.123260000 +0200
|
||||
+++ batti-0.3.8/src/PowerBackend.py 2014-04-15 19:32:11.859168509 +0200
|
||||
@@ -180,17 +180,6 @@
|
||||
|
||||
properties = dbus.Interface(iface, 'org.freedesktop.DBus.Properties')
|
||||
|
||||
- if properties.Get(self.dbus_interface, 'CanSuspend'):
|
||||
- self.__can_suspend = True
|
||||
- else:
|
||||
- self.__can_suspend = False
|
||||
-
|
||||
- if properties.Get(self.dbus_interface, 'CanHibernate'):
|
||||
- self.__can_hibernate = True
|
||||
- else:
|
||||
- self.__can_hibernate = False
|
||||
-
|
||||
-
|
||||
def __get_interface(self):
|
||||
dkit_obj = self.__bus.get_object(self.dbus_service, self.dbus_object)
|
||||
return dbus.Interface(dkit_obj, self.dbus_interface)
|
||||
@@ -201,12 +190,6 @@
|
||||
self.__mc_action(widget, event, data)
|
||||
|
||||
|
||||
- def can_suspend(self):
|
||||
- return self.__can_suspend and self.__get_interface().SuspendAllowed()
|
||||
-
|
||||
- def can_hibernate(self):
|
||||
- return self.__can_hibernate and self.__get_interface().HibernateAllowed()
|
||||
-
|
||||
def suspend(self):
|
||||
self.__get_interface().Suspend()
|
||||
|
@ -1,15 +1,27 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
Hash: SHA512
|
||||
|
||||
DIST livecd-tools-2.0.3.tar.bz2 11343 SHA256 72ade5e5f2a28dc46008ae206309f6c797f5b005caea583d20ba13e2434dd728 SHA512 dde8972e164335046d5b7755b97e4ec53e5f18b96c85a3f79825e6ac659039ad96d16c1189761611d1c49ba97de2d96b7fd629e78d20c680a879881a678ce889 WHIRLPOOL 369e5082d4416e0ee5376f76a4187141120946e176543d02cfba7a9f6c047cc8f2198940fe14750b7314a87db9b73881ba1684330a5e1ae1ad6716a6910f2ee3
|
||||
DIST livecd-tools-2.0.4.tar.xz 10580 SHA256 a819344ce79c9d0dce4a8339fe09b485b169b42063dbe1f6d2245ef57c867e51 SHA512 242d0d27d141af7c4a0c9be390d4faf9fc97b840a55f76e0a804838b98ba95a644be8a4f2ff1353bf7782b8db24b72b8f24a2fe01f60449c9687efbbfad4d6f3 WHIRLPOOL 591457dd46190b72a2f8fc50bc3869163c604f6850944fdf74bad4d145c0c214c89336547f3daaa2942088b83c86254c7289cd34a897da79130888248c661283
|
||||
EBUILD livecd-tools-2.0.3.ebuild 1091 SHA256 4e84af4a6b549164f5d8d4589942247bba027fa930e41f9f25200fc45b4b434e SHA512 5f7c770f3a791d3e22367d7b1b7e934de703c2739fe2e91f7100765533759dd9e7c15be21fd91128c9505da6d530d4dc8072153cf84989ffc6ca2a84fa05fe38 WHIRLPOOL 78f737d83990ee5c6c7bf3d56e4a243ab702bb590a9ea4f483522322ed37d10bb85fbe454a0f54082907ea89a5cccc617cf03c728f389d486eb605914bf9fe50
|
||||
EBUILD livecd-tools-2.0.4.ebuild 1119 SHA256 b8adba33c349910e9679477c9a91663896e3bc67d42d2f4b794bf7b83174baa8 SHA512 627d5b0ab41321d796aca85d909d075c66794d3793420d9c7812773786821fcee320d71d1259c901826e43ef50b2f37ba19fceead1ff33c432192adaa6cec8bd WHIRLPOOL ff60585adba9f9b353e1454f7119c99a8988b9f60df1a0ed9d4c6b871b43d61c9ca01bec5bdd5dae90068060177de09e64f27ff005fc32c92a9eea2a4c9a1f61
|
||||
EBUILD livecd-tools-9999.ebuild 1099 SHA256 39c996bafcefe55c42122309eba25650249b1469771d16ce5de7824117925cbd SHA512 01150e8f9de27397b17ec4b5adafced17f37efca430ebd689eeeff9c24e6f16f6837775f579029dedc68b3ba42beacc05c3189d0fee9dd18650a46e418a8a1b6 WHIRLPOOL 75217091396398b1599de661e9fc2e64a182e3a391d946056b9d037f985df468957350dae9a474ec9d8a156b768a03c21b13a5d223bd974c21bc18a2028ce9f9
|
||||
MISC ChangeLog 24330 SHA256 47c86ff4ec9e3391ca74e272562d5fbf910ae5f81174eadfbf460c01c3f59cf0 SHA512 392108a6570fe7d07f575b43b9f17540a7994250bec6776542f72c483d509f37fae2d8f9dda166ec415d127eb453c5c594091685af8467421170163cc25e9518 WHIRLPOOL c6c1cb2aff4ebafc879a3b6e64b48206d90f52b6f3be37166ef7868d9b1441f9b29ff679d828250e22b9f3a852838da542de4909168a0176301f9acb88b92757
|
||||
MISC ChangeLog 24466 SHA256 89180dabc81b36c3ee0872555cab2a607ea9fc03bfef3580156f9fc19f17dac0 SHA512 7ca2e8be85d93a7bb3d1d8b6ddb3ed233f4d229bac57c63b8fd6d644d681270ebc868f889b72141c9fb72ad37c786f1658a8a45ae257506f64abe51122c16c15 WHIRLPOOL a6e50d302ce2ce2e9253d1d4d7320c53b99805a90fcbab219d48cd5d1d60e61f355f74b4cda58a292ac5cd2f2d7e1701da946cb55097e89d38fb5c5d389218a9
|
||||
MISC metadata.xml 159 SHA256 b6e17484225400d76c65d178bf5a10dc0a8da7f345993c2acc63d1093a77c90d SHA512 37ed78a226beefc94388ad36fd7fc7bd5fff47765afff211a43bb5e105cd94e3f958ff1c1bd790d1bdee2a342daa5239ea83ada97c4674a23bdbd7b42efbe95f WHIRLPOOL 69e8ac88aa9c0fb6684bfc84cb9c36f5fefef95e66f4437b33fc946cab6e764af122dc04c5dd4e11a373c04dca3fb88c87f38631e73c3ef0ffeaca639deef98c
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlFHhsoACgkQblQW9DDEZTiYwQCfVUam7XShrhGRkjq+4O9kWmzw
|
||||
GuQAn3FfOFUSUIUtrKXGeMjAMzeMKerZ
|
||||
=a83a
|
||||
iQIcBAEBCgAGBQJTijnzAAoJEKXdFCfdEflK7m4P/jWT1tiBjUWj5B+Mum+hgAup
|
||||
44MZ/a4y0dxBlQUzJ53oGsAiKS9eALfGPXPAee/boK90VZFwuoe303g/Sx/sZmtf
|
||||
5zEXgRTKxGQ3snBckc7G/8WbM3MmAfhfmu5l7JSReY1A6XRJzJLQZ23Q4/UkURqv
|
||||
VMfGHfJUrxAf6uZoeQVVd8yQa+MeTeGH6GS1/LpbJbI/yE6AjYvYaLlWjZdQnQ3E
|
||||
tML5epqw4hoGSo/kHUAPxtwrA5RKanj0BAykyK13us6MzMfzs9xcHiwYr2Mu8h2d
|
||||
QGQiFICsuzMfHO2+tB6A0OuqOak2Un0ud7uxpIXYFrVXnG/FWQdLJIdMmUbE7R1W
|
||||
3BqWWIme64pITYMgyCSbyoID4cmbNdxfGMdnUUCegT5WhPKgOcDmZJulVkHig3tE
|
||||
qtfCKqJRGaLOx1O3yqNw+hijhlKOnRQ2KAqdtfHgn2O++f8yScYv2s70xezC7Vqx
|
||||
sk6TleCSmunQTdbyrLgygw5+KnUe2frviNHFOKPMV/ICK03X9rCMLv4bYuUigj0B
|
||||
Otj9BCBiRr4juVuhmb5M1lmBbAci2FBH47hfLtGJGZpzaft4cLe9Nyk7+vxKhTUK
|
||||
A6xR4CbtBWKlivHlrIHLlUG18RK9Q3GR3Y/zbXZMoNzqQ0Tk5ECVPMuGzLWAnnT3
|
||||
YIi8TjsNzYTQm6XO+lRF
|
||||
=adMe
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/livecd-tools/livecd-tools-2.0.4.ebuild,v 1.1 2014/05/31 20:19:28 zerochaos Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/livecd-tools.git"
|
||||
inherit git-2
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
|
||||
fi
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Gentoo LiveCD tools for autoconfiguration of hardware"
|
||||
HOMEPAGE="http://wolf31o2.org/projects/livecd-tools"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-util/dialog
|
||||
net-dialup/mingetty
|
||||
>=sys-apps/baselayout-2
|
||||
>=sys-apps/openrc-0.8.2-r1
|
||||
sys-apps/pciutils
|
||||
sys-apps/gawk
|
||||
sys-apps/sed"
|
||||
|
||||
pkg_setup() {
|
||||
ewarn "This package is designed for use on the LiveCD only and will do"
|
||||
ewarn "unspeakably horrible and unexpected things on a normal system."
|
||||
ewarn "YOU HAVE BEEN WARNED!!!"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doconfd conf.d/*
|
||||
doinitd init.d/*
|
||||
dosbin net-setup
|
||||
into /
|
||||
dosbin livecd-functions.sh
|
||||
}
|
@ -1,256 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-1.0.0.ebuild,v 1.1 2014/04/27 15:53:15 eva Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
VALA_MIN_API_VERSION="0.14"
|
||||
|
||||
inherit autotools gnome2 linux-info multilib python-any-r1 vala versionator virtualx
|
||||
|
||||
DESCRIPTION="A tagging metadata database, search tool and indexer"
|
||||
HOMEPAGE="http://projects.gnome.org/tracker/"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="0/100"
|
||||
IUSE="cue eds elibc_glibc exif ffmpeg firefox-bookmarks flac gif gsf gstreamer gtk iptc +iso +jpeg laptop +miner-fs mp3 nautilus networkmanager pdf playlist rss test thunderbird +tiff upnp-av +vorbis +xml xmp xps"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
REQUIRED_USE="
|
||||
?? ( gstreamer ffmpeg )
|
||||
cue? ( gstreamer )
|
||||
upnp-av? ( gstreamer )
|
||||
!miner-fs? ( !cue !exif !flac !gif !gsf !iptc !iso !jpeg !mp3 !pdf !playlist !tiff !vorbis !xml !xmp !xps )
|
||||
"
|
||||
|
||||
# According to NEWS, introspection is non-optional
|
||||
# glibc-2.12 needed for SCHED_IDLE (see bug #385003)
|
||||
# sqlite-3.7.16 for FTS4 support
|
||||
RDEPEND="
|
||||
>=app-i18n/enca-1.9
|
||||
>=dev-db/sqlite-3.7.16:=
|
||||
>=dev-libs/glib-2.38:2
|
||||
>=dev-libs/gobject-introspection-0.9.5
|
||||
>=dev-libs/icu-4.8.1.1:=
|
||||
|| (
|
||||
>=media-gfx/imagemagick-5.2.1[png,jpeg=]
|
||||
media-gfx/graphicsmagick[imagemagick,png,jpeg=] )
|
||||
>=media-libs/libpng-1.2:0=
|
||||
>=media-libs/libmediaart-0.1:1.0
|
||||
>=x11-libs/pango-1:=
|
||||
sys-apps/util-linux
|
||||
|
||||
cue? ( media-libs/libcue )
|
||||
eds? (
|
||||
>=mail-client/evolution-3.3.5:=
|
||||
>=gnome-extra/evolution-data-server-3.3.5:=
|
||||
<mail-client/evolution-3.5.3
|
||||
<gnome-extra/evolution-data-server-3.5.3 )
|
||||
elibc_glibc? ( >=sys-libs/glibc-2.12 )
|
||||
exif? ( >=media-libs/libexif-0.6 )
|
||||
ffmpeg? ( >=virtual/ffmpeg-9 )
|
||||
firefox-bookmarks? ( || (
|
||||
>=www-client/firefox-4.0
|
||||
>=www-client/firefox-bin-4.0 ) )
|
||||
flac? ( >=media-libs/flac-1.2.1 )
|
||||
gif? ( media-libs/giflib )
|
||||
gsf? ( >=gnome-extra/libgsf-1.14.24 )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0 )
|
||||
gtk? (
|
||||
>=dev-libs/libgee-0.3:0.8
|
||||
>=x11-libs/gtk+-3:3 )
|
||||
iptc? ( media-libs/libiptcdata )
|
||||
iso? ( >=sys-libs/libosinfo-0.2.9:= )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
laptop? ( >=sys-power/upower-0.9 )
|
||||
mp3? ( >=media-libs/taglib-1.6 )
|
||||
networkmanager? ( >=net-misc/networkmanager-0.8 )
|
||||
pdf? (
|
||||
>=x11-libs/cairo-1:=
|
||||
>=app-text/poppler-0.16:=[cairo,utils]
|
||||
>=x11-libs/gtk+-2.12:2 )
|
||||
playlist? ( >=dev-libs/totem-pl-parser-3 )
|
||||
rss? ( net-libs/libgrss:0.5 )
|
||||
thunderbird? ( || (
|
||||
>=mail-client/thunderbird-5.0
|
||||
>=mail-client/thunderbird-bin-5.0 ) )
|
||||
tiff? ( media-libs/tiff )
|
||||
upnp-av? ( >=media-libs/gupnp-dlna-0.9.4:2.0 )
|
||||
vorbis? ( >=media-libs/libvorbis-0.22 )
|
||||
xml? ( >=dev-libs/libxml2-2.6 )
|
||||
xmp? ( >=media-libs/exempi-2.1 )
|
||||
xps? ( app-text/libgxps )
|
||||
!gstreamer? ( !ffmpeg? ( || ( media-video/totem media-video/mplayer ) ) )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
$(vala_depend)
|
||||
>=dev-util/gtk-doc-am-1.8
|
||||
>=dev-util/intltool-0.40
|
||||
>=sys-devel/gettext-0.17
|
||||
virtual/pkgconfig
|
||||
gtk? ( >=dev-libs/libgee-0.3 )
|
||||
test? (
|
||||
>=dev-libs/dbus-glib-0.82-r1
|
||||
>=sys-apps/dbus-1.3.1[X] )
|
||||
"
|
||||
PDEPEND="nautilus? ( ~gnome-extra/nautilus-tracker-tags-${PV} )"
|
||||
|
||||
# configure mixes enable-compile-warnings and with-compile-warnings
|
||||
# See upstream bug #705315
|
||||
QA_CONFIGURE_OPTIONS="--enable-compile-warnings"
|
||||
|
||||
function inotify_enabled() {
|
||||
if linux_config_exists; then
|
||||
if ! linux_chkconfig_present INOTIFY_USER; then
|
||||
ewarn "You should enable the INOTIFY support in your kernel."
|
||||
ewarn "Check the 'Inotify support for userland' under the 'File systems'"
|
||||
ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config"
|
||||
die 'missing CONFIG_INOTIFY'
|
||||
fi
|
||||
else
|
||||
einfo "Could not check for INOTIFY support in your kernel."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
inotify_enabled
|
||||
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Don't run 'firefox --version' or 'thunderbird --version'; it results in
|
||||
# access violations on some setups (bug #385347, #385495).
|
||||
create_version_script "www-client/firefox" "Mozilla Firefox" firefox-version.sh
|
||||
create_version_script "mail-client/thunderbird" "Mozilla Thunderbird" thunderbird-version.sh
|
||||
|
||||
# Skip broken tests
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=699408
|
||||
sed -e '\%/libtracker-common/file-utils/has_write_access_or_was_created%,+1 d' \
|
||||
-i tests/libtracker-common/tracker-file-utils-test.c || die
|
||||
# Fails inside portage, not outside
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=699413
|
||||
sed -e '\%/steroids/tracker/tracker_sparql_update_async%,+3 d' \
|
||||
-i tests/tracker-steroids/tracker-test.c || die
|
||||
|
||||
eautoreconf # See bug #367975
|
||||
gnome2_src_prepare
|
||||
vala_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
if use gstreamer ; then
|
||||
myconf="${myconf} --enable-generic-media-extractor=gstreamer"
|
||||
if use upnp-av; then
|
||||
myconf="${myconf} --with-gstreamer-backend=gupnp-dlna"
|
||||
else
|
||||
myconf="${myconf} --with-gstreamer-backend=discoverer"
|
||||
fi
|
||||
elif use ffmpeg ; then
|
||||
myconf="${myconf} --enable-generic-media-extractor=libav"
|
||||
else
|
||||
myconf="${myconf} --enable-generic-media-extractor=external"
|
||||
fi
|
||||
|
||||
# unicode-support: libunistring, libicu or glib ?
|
||||
# According to NEWS, introspection is required
|
||||
# is not being generated
|
||||
# nautilus extension is in a separate package, nautilus-tracker-tags
|
||||
gnome2_src_configure \
|
||||
--disable-hal \
|
||||
--disable-nautilus-extension \
|
||||
--enable-abiword \
|
||||
--enable-artwork \
|
||||
--enable-dvi \
|
||||
--enable-icon \
|
||||
--enable-ps \
|
||||
--enable-text \
|
||||
--enable-guarantee-metadata \
|
||||
--enable-introspection \
|
||||
--enable-libpng \
|
||||
--enable-libmediaart \
|
||||
--enable-tracker-fts \
|
||||
--with-enca \
|
||||
--with-unicode-support=libicu \
|
||||
$(use_enable cue libcue) \
|
||||
$(use_enable eds miner-evolution) \
|
||||
$(use_enable exif libexif) \
|
||||
$(use_enable firefox-bookmarks miner-firefox) \
|
||||
$(use_with firefox-bookmarks firefox-plugin-dir "${EPREFIX}"/usr/$(get_libdir)/firefox/extensions) \
|
||||
FIREFOX="${S}"/firefox-version.sh \
|
||||
$(use_enable flac libflac) \
|
||||
$(use_enable gif libgif) \
|
||||
$(use_enable gsf libgsf) \
|
||||
$(use_enable gtk tracker-needle) \
|
||||
$(use_enable gtk tracker-preferences) \
|
||||
$(use_enable iptc libiptcdata) \
|
||||
$(use_enable iso libosinfo) \
|
||||
$(use_enable jpeg libjpeg) \
|
||||
$(use_enable laptop upower) \
|
||||
$(use_enable miner-fs) \
|
||||
$(use_enable mp3 taglib) \
|
||||
$(use_enable mp3) \
|
||||
$(use_enable networkmanager network-manager) \
|
||||
$(use_enable pdf poppler) \
|
||||
$(use_enable playlist) \
|
||||
$(use_enable rss miner-rss) \
|
||||
$(use_enable test functional-tests) \
|
||||
$(use_enable test unit-tests) \
|
||||
$(use_enable thunderbird miner-thunderbird) \
|
||||
$(use_with thunderbird thunderbird-plugin-dir "${EPREFIX}"/usr/$(get_libdir)/thunderbird/extensions) \
|
||||
THUNDERBIRD="${S}"/thunderbird-version.sh \
|
||||
$(use_enable tiff libtiff) \
|
||||
$(use_enable vorbis libvorbis) \
|
||||
$(use_enable xml libxml2) \
|
||||
$(use_enable xmp exempi) \
|
||||
$(use_enable xps libgxps) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
export G_MESSAGES_DEBUG=all # upstream bug #699401#c1
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
Xemake check XDG_DATA_HOME="${T}" XDG_CONFIG_HOME="${T}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
# Manually symlink extensions for {firefox,thunderbird}-bin
|
||||
if use firefox-bookmarks; then
|
||||
dosym /usr/share/xul-ext/trackerfox \
|
||||
/usr/$(get_libdir)/firefox-bin/extensions/trackerfox@bustany.org
|
||||
fi
|
||||
|
||||
if use thunderbird; then
|
||||
dosym /usr/share/xul-ext/trackerbird \
|
||||
/usr/$(get_libdir)/thunderbird-bin/extensions/trackerbird@bustany.org
|
||||
fi
|
||||
}
|
||||
|
||||
create_version_script() {
|
||||
# Create script $3 that prints "$2 MAX(VERSION($1), VERSION($1-bin))"
|
||||
|
||||
local v=$(best_version ${1})
|
||||
v=${v#${1}-}
|
||||
local vbin=$(best_version ${1}-bin)
|
||||
vbin=${vbin#${1}-bin-}
|
||||
|
||||
if [[ -z ${v} ]]; then
|
||||
v=${vbin}
|
||||
else
|
||||
version_compare ${v} ${vbin}
|
||||
[[ $? -eq 1 ]] && v=${vbin}
|
||||
fi
|
||||
|
||||
echo -e "#!/bin/sh\necho $2 $v" > "$3" || die
|
||||
chmod +x "$3" || die
|
||||
}
|
@ -1,10 +1,20 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX MANIFEST.MF 1222 SHA256 ba7f4de845c9c5d1df55ce434be9b89f79081f15e1d77643f52d98330bb40d9d SHA512 048b09aa2ae2e20c8b5b0e116eb49fd680634e9b654d5026004e32a39bec4e5b669afcadea8338764a157f70cc0c3fdb5d2ce98513bfeae267be7ae02935381d WHIRLPOOL 7faa17713d3745d07310974a4a4f3faf7a999579754d75553886d692279412381d1f0a8cc7da30e0b45429222b13f128aad9141f887a568bc775b80a9cf78714
|
||||
AUX build.xml 11340 SHA256 d22d5efb3d31b41e9283cfbf4f8cca12f97051dc7f681be03100addf4dc68d2d SHA512 09abd59212021ac20fae760ce127546bde53e40e2ed0db26a0a93417c681e46b038d1940964e55fd46a8f7db44b5ea2666459d75358ee1dd5882895c803e0c89 WHIRLPOOL 1e003d0969e4900866f2dd6df0011efe3df1ba4a2f7a4c03afef8fb1803fcc47068b26cb31ba3cdfc842fb6d24b4f69ee3ae2b0ec9ebefc093abbf5133acc25b
|
||||
DIST commons-compress-1.1-src.tar.gz 398593 SHA256 1d22ea33d50fa5cafdf3ce86136021b3c66ea02d6d66ff5223b60799fd37ed34 SHA512 46e8b2bb0a1e9907180c95e89a118459f3bb539f35eaefd4de9cc01347a96fed90d5b3dd260f6511468792319e3e3ab94586059e4f658e3e2d1187df0c3c1f53 WHIRLPOOL 99534b6119c843b40e09f7de8dc8db8643acdaa54076ae7a8493c60b854b56a0656ef836c895a5c761f7288ddfc6bcd7cbdc77b8a3b34e25cd887f7ce941b769
|
||||
DIST commons-compress-1.3-src.tar.gz 3155838 SHA256 b7dd13a74818e0a8f6d75e5f3f99573292b79c9b6a553d89bc4aa5128a88d3c7 SHA512 7b018c18b0eacd5baa7b1cd2cdc69ce284fb8c953bd759acb30709d6076dea6eb2b78d9b10e206a0833468add420ea81bcabb197a0288db5568594f924fefd4a WHIRLPOOL d1e5716baf2a88835d09821e29720d800476a752d6011206834c69b711a9c12d49862eeb593500f775b3ac98454bc65cc4cbfa3364c1034d2646312d12cad3f9
|
||||
DIST commons-compress-1.4.1-src.tar.gz 3228776 SHA256 b4f34aa03df917b785479e147381eea86c5c17e9067ddf8c27301ff6cd0aa91c SHA512 e1d327f084a79924938698ae16fa6edaaa73072b083109bbd8ccaa636268c05c387e7c2117b5df8f6b91b143495add9cc7da17c1bd3c989f91c910a9d68f6bdb WHIRLPOOL 50565e7342fa363814ed2f347d1daa1ee59dd28cefcd9e494850edcf47899b8684312996dd60b90236a4f2aacce8a920ace37cca5d1d22ad9f63f6696c8e7452
|
||||
EBUILD commons-compress-1.1.ebuild 1277 SHA256 54b01de890c3de9aed43f3883139d2fba057ce31733c22c441070f5e04ee13aa SHA512 cd5460eb60fe42ca232fc46ccfc55104241800b1c3ad0f7e27d177c606e4b15c3bd2ac79750b48f1bb48c564fa58da834b3aef5c28c4d98cd2c3a027df496c37 WHIRLPOOL 2a05515747507e32a6a058070d077940c7fc2f90e5c385297acf5d78b958d90e07f05646450af321efdd410b1f48f5538392f557f80da46ed510261f9c3ff606
|
||||
EBUILD commons-compress-1.3.ebuild 1356 SHA256 70c9516eb89b58be42b07cfb9b7bf7a68cefb4fdb6766271668ba685c9ab7f80 SHA512 67c338d3d5c1aedbc935f0f9debfd43bbcd61d3d59330ee4b40e8752020bd547518fe700d7044ebc7763488cf80488a80b83d4ad5dd40b8a670b3a55abf365d6 WHIRLPOOL 440760a7d85265ff961786a6f463ced2eb6de74cc4032a5d02ed49a7026e44bbae4e9fb5e833e4e133b9c57c2881a8f5463450a7c9bba63de73055be146dbf85
|
||||
DIST commons-compress-1.8.1-src.tar.gz 8476056 SHA256 aa1221643331d9de5c8155b032c7fde23fc8cf3d962155092de89c44d4978412 SHA512 4e4f9633cc3c470970a8da41344a819ff63430a46e219e93896dbe2374738349f78942cff93ad8d348599cfc2dd7d014ae4ff3b09d76a924bb11ca1c4a2c05ea WHIRLPOOL 2d7f3230f47186a72b4b31efd10c5dfd68488d263e26d97b6e715b2b2eab3e22ae3e5946d232ca014aa2a3d14f3abf87ce97bf2e70c7c06788c4093df4156aef
|
||||
EBUILD commons-compress-1.4.1.ebuild 1462 SHA256 ed8d8a8a0df942808a96c17f3ef3af03c6979bd2ad0b67eef2f6abf84a6f344a SHA512 c53b6313eb66a1468d0ee6d3d6bb7557697231d152ad2ead23f1f3841ee974f7749bd3a5412ab97f22483ac85ffbca0529c7f5f77f850087e4748f71a58bdc49 WHIRLPOOL dd65765c636b18ccf5803e50654c4eb9457963507b6dac77cb4594b2875f0eca40c80d745140e53c500eb9eebe1c2b7ade1e210c1dae3374ba2de98fdaf370e0
|
||||
MISC ChangeLog 1522 SHA256 494fbf0429fcea237a041532e203b7b61987b709a1a0cc7dcd369dbeed8bc8cb SHA512 40c9c35bffc412be5ad0c72f9729bbe7ac843142fc8ead67ca47f2fc26aa57b2c0d50270f1d9677e549b79f3a5e11586628611911eabac1844a3f11a337ca244 WHIRLPOOL ff105bfdaeeb7bb36a6bfd807de250e031d372708842ecc3791babadf193a87aeaaae72b715007d70aa3f71e8f2d4ba904287d68632540758ce2e49d690a1ce5
|
||||
EBUILD commons-compress-1.8.1.ebuild 1465 SHA256 b7b3db2c6ec5941870f89ae85257f2b6cd24bdb130c2e2859c4e557f0026a9eb SHA512 869f4d85b2b304af16794df25c8e4af2b57fda16ab459b6b22c8e7ef2a257f8a5869a93fef534f6e3f13c081a2f06ba2d094f6af0a5143e051104e0bf9b7c115 WHIRLPOOL 51e5b1cd4ff3a67d5f44701a25593bccfb0a3dfacd0dcb146bbb44475721cccc60d2a12b6232943953ec915d02ad3e637ecff8d46e4103244ce5c7983cb797c7
|
||||
MISC ChangeLog 1755 SHA256 a4a5f9273e7d3e8dea7f8025ea060c70c710baafc80f7654f26d644ed60cfd53 SHA512 0c235e772fc3fe7130a20315bcb7749c0c9151c99d17f6a99c8f95e80d0a861a09595a702bf77ff2558a11a5e1e59ba1d276efaa5bcf3e6bfb983a35234824b6 WHIRLPOOL 2b440323004a0ecb6ed4f45a14871662de4a0db933444ef698b2a8b4b3b97c39338fed88fabd33f7aeac1d18afbaecf3e635f18a8e2fd2ecc832f3eafc3b88b1
|
||||
MISC metadata.xml 243 SHA256 76e8c4cafe92af4eb083e9682c375a2f887458dac6ce8f2982976a96abcf8219 SHA512 92bf36a1bad3877a5a981271afa7381a38f3cc87267233205af5aa0ad53c455d851bb1d9ff60fe02eda49a3347c497c5bfeaa4c160542abd62d81a0450c4b77f WHIRLPOOL 18fde625e32450606e852e52f034c73d6514284aa19842867313432d1ab1cc1d40ceae766c0c61b927a7b5c3917a6624c8e875583f49c0d5951797cf66e8ff95
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iJwEAQEIAAYFAlOK8E8ACgkQG7kqcTWJkGe0uAP9HB1kL2/Uu0yECPrqrrXOmpiE
|
||||
kNO4P7S5yrUJ0jOZpficxggl/2nyYJxF/y9NkrCWAhhrH+cvhokTZGKF4I2NhMEV
|
||||
2Ba6VAb/zHlvQzfEKR5inyJ3Up6R6Q4nWrRWoe/Ce9Fm4Eym/16nmHL6UY7uAfCl
|
||||
SOiHBDeDJvttowkTzMU=
|
||||
=4dDV
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-compress/commons-compress-1.1.ebuild,v 1.1 2011/07/31 14:21:09 tommy Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Commons Compress defines an API for working with ar, cpio, tar, zip, gzip and bzip2 files."
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.4"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
test? ( dev-java/ant-junit:0 )"
|
||||
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
JAVA_ANT_BSFIX_EXTRA_ARGS="--maven-cleaning"
|
||||
EANT_BUILD_TARGET="compile package"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/build.xml . || die "Failed to copy build.xml"
|
||||
|
||||
# osgi stuff mvn ant:ant doesn't handle
|
||||
mkdir -p target/osgi || die "Failed to create target dir"
|
||||
cp "${FILESDIR}"/MANIFEST.MF target/osgi/ || die "Failed to copy manifest"
|
||||
|
||||
if ! use test; then
|
||||
find -name "*.jar" -delete || die "Failed to remove test resources"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg_jarfrom junit
|
||||
EANT_TEST_TARGET="compile-tests test"
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar target/${P}.jar
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src/main/java/*
|
||||
}
|
@ -0,0 +1,152 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea-bin/icedtea-bin-6.1.13.3.ebuild,v 1.1 2014/05/31 20:51:01 caster Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit java-vm-2 multilib prefix
|
||||
|
||||
dist="http://dev.gentoo.org/~caster/distfiles/"
|
||||
TARBALL_VERSION="${PVR}"
|
||||
PLUGIN_VERSION="${PVR}"
|
||||
|
||||
DESCRIPTION="A Gentoo-made binary build of the IcedTea JDK"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
SRC_URI="
|
||||
amd64? ( ${dist}/${PN}-core-${TARBALL_VERSION}-amd64.tar.bz2 )
|
||||
x86? ( ${dist}/${PN}-core-${TARBALL_VERSION}-x86.tar.bz2 )
|
||||
doc? ( ${dist}/${PN}-doc-${TARBALL_VERSION}.tar.bz2 )
|
||||
examples? (
|
||||
amd64? ( ${dist}/${PN}-examples-${TARBALL_VERSION}-amd64.tar.bz2 )
|
||||
x86? ( ${dist}/${PN}-examples-${TARBALL_VERSION}-x86.tar.bz2 )
|
||||
)
|
||||
nsplugin? (
|
||||
amd64? ( ${dist}/${PN}-nsplugin-${PLUGIN_VERSION}-amd64.tar.bz2 )
|
||||
x86? ( ${dist}/${PN}-nsplugin-${PLUGIN_VERSION}-x86.tar.bz2 )
|
||||
)
|
||||
source? ( ${dist}/${PN}-src-${TARBALL_VERSION}.tar.bz2 )"
|
||||
|
||||
LICENSE="GPL-2-with-linking-exception"
|
||||
SLOT="6"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
|
||||
IUSE="+X +alsa cjk +cups doc examples nsplugin selinux source"
|
||||
REQUIRED_USE="nsplugin? ( X )"
|
||||
RESTRICT="strip"
|
||||
|
||||
# 423161
|
||||
QA_PREBUILT="opt/.*"
|
||||
|
||||
ALSA_COMMON_DEP="
|
||||
>=media-libs/alsa-lib-1.0.20"
|
||||
CUPS_COMMON_DEP="
|
||||
>=net-print/cups-1.4"
|
||||
X_COMMON_DEP="
|
||||
>=dev-libs/glib-2.32:2
|
||||
>=media-libs/freetype-2.4.9:2
|
||||
>=x11-libs/gtk+-2.24:2
|
||||
>=x11-libs/libX11-1.4
|
||||
>=x11-libs/libXext-1.3
|
||||
>=x11-libs/libXi-1.6
|
||||
>=x11-libs/libXtst-1.2"
|
||||
|
||||
COMMON_DEP="
|
||||
>=media-libs/giflib-4.1.6-r1
|
||||
>=media-libs/libpng-1.6:0=
|
||||
>=sys-devel/gcc-4.5.4
|
||||
>=sys-libs/glibc-2.15
|
||||
>=sys-libs/zlib-1.2.3-r1
|
||||
|| ( virtual/jpeg:62 media-libs/jpeg:62 )
|
||||
nsplugin? (
|
||||
>=dev-libs/atk-1.30.0
|
||||
>=dev-libs/nspr-4.8
|
||||
>=x11-libs/cairo-1.8.8
|
||||
>=x11-libs/pango-1.24.5
|
||||
|
||||
)
|
||||
selinux? ( sec-policy/selinux-java )"
|
||||
|
||||
RDEPEND="${COMMON_DEP}
|
||||
X? (
|
||||
${X_COMMON_DEP}
|
||||
media-fonts/dejavu
|
||||
cjk? (
|
||||
media-fonts/arphicfonts
|
||||
media-fonts/baekmuk-fonts
|
||||
media-fonts/lklug
|
||||
media-fonts/lohit-fonts
|
||||
media-fonts/sazanami
|
||||
)
|
||||
)
|
||||
alsa? ( ${ALSA_COMMON_DEP} )
|
||||
cups? ( ${CUPS_COMMON_DEP} )"
|
||||
|
||||
src_install() {
|
||||
local dest="/opt/${P}"
|
||||
local ddest="${ED}/${dest}"
|
||||
dodir "${dest}"
|
||||
|
||||
# Ensures HeadlessGraphicsEnvironment is used.
|
||||
if ! use X; then
|
||||
rm -r jre/lib/$(get_system_arch)/xawt || die
|
||||
fi
|
||||
|
||||
# doins can't handle symlinks.
|
||||
cp -pRP bin include jre lib man "${ddest}" || die
|
||||
|
||||
# Remove on next bump as the needed marks are already set by icedtea ebuild.
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
dodoc ../doc/{ASSEMBLY_EXCEPTION,THIRD_PARTY_README}
|
||||
|
||||
if use doc; then
|
||||
dohtml -r ../doc/html/*
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
cp -pRP share/{demo,sample} "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
cp src.zip "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use nsplugin; then
|
||||
cp -pPR ../icedtea-web-bin-${SLOT} "${ddest}"/.. || die
|
||||
install_mozilla_plugin "/opt/icedtea-web-bin-${SLOT}/$(get_libdir)/IcedTeaPlugin.so"
|
||||
docinto icedtea-web
|
||||
dodoc ../doc/icedtea-web/*
|
||||
fi
|
||||
|
||||
# Remove after next bump, handled by icedtea ebuild. Bug 390663
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties.src "${T}"/fontconfig.Gentoo.properties || die
|
||||
eprefixify "${T}"/fontconfig.Gentoo.properties
|
||||
insinto "${dest}"/jre/lib
|
||||
doins "${T}"/fontconfig.Gentoo.properties
|
||||
|
||||
set_java_env
|
||||
java-vm_revdep-mask "${dest}"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<=dev-java/icedtea-bin-1.10.4:${SLOT}"; then
|
||||
# portage would preserve the symlink otherwise, related to bug #384397
|
||||
rm -f "${EROOT}/usr/lib/jvm/icedtea6-bin"
|
||||
elog "To unify the layout and simplify scripts, the identifier of Icedtea-bin-6*"
|
||||
elog "has changed from 'icedtea6-bin' to 'icedtea-bin-6' starting from version 6.1.10.4"
|
||||
elog "If you had icedtea6-bin as system VM, the change should be automatic, however"
|
||||
elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
|
||||
elog "and the same holds for any user VM settings. Sorry for the inconvenience."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Set as default VM if none exists
|
||||
java-vm-2_pkg_postinst
|
||||
|
||||
if use nsplugin && [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog "The icedtea-bin-${SLOT} browser plugin can be enabled using eselect java-nsplugin"
|
||||
elog "Note that the plugin works only in browsers based on xulrunner-1.9.1+"
|
||||
elog "such as Firefox 3.5+ and recent Chromium versions."
|
||||
fi
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jboss-modules/jboss-modules-1.3.3.ebuild,v 1.1 2014/05/31 19:38:55 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="source" # doc (needs APIviz)
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="JBoss modular classloading system"
|
||||
HOMEPAGE="http://www.jboss.org/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.Final.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.7"
|
||||
DEPEND=">=virtual/jdk-1.7"
|
||||
|
||||
S="${WORKDIR}/${P}.Final/"
|
||||
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
|
||||
java_prepare() {
|
||||
rm pom.xml || die
|
||||
mkdir -p target/classes || die
|
||||
cp -vr "${S}"/src/main/resources/* target/classes/ || die
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/e_dbus/e_dbus-1.7.8.ebuild,v 1.1 2013/08/28 03:03:03 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit enlightenment
|
||||
|
||||
DESCRIPTION="Enlightenment's (Ecore) integration to DBus"
|
||||
SRC_URI="http://download.enlightenment.org/releases/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="bluetooth +connman +libnotify ofono static-libs test-binaries +udev"
|
||||
|
||||
RDEPEND=">=dev-libs/eina-1.7.8
|
||||
>=dev-libs/ecore-1.7.8
|
||||
sys-apps/dbus
|
||||
connman? ( >=net-misc/connman-0.75 )
|
||||
libnotify? ( >=media-libs/evas-1.7.8 )
|
||||
udev? ( sys-power/upower sys-fs/udisks:0 )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
E_ECONF+=(
|
||||
$(use_enable bluetooth ebluez)
|
||||
$(use_enable connman econnman0_7x)
|
||||
$(use_enable doc)
|
||||
--disable-ehal
|
||||
$(use_enable libnotify enotify)
|
||||
$(use_enable ofono eofono)
|
||||
$(use_enable test-binaries edbus-test)
|
||||
$(use_enable test-binaries edbus-test-client)
|
||||
$(use_enable udev eukit)
|
||||
)
|
||||
if use test-binaries ; then
|
||||
E_ECONF+=(
|
||||
$(use_enable bluetooth edbus-bluez-test)
|
||||
$(use_enable connman edbus-connman0_7x-test)
|
||||
$(use_enable libnotify edbus-notification-daemon-test)
|
||||
$(use_enable libnotify edbus-notify-test)
|
||||
$(use_enable ofono edbus-ofono-test)
|
||||
$(use_enable udev edbus-ukit-test)
|
||||
)
|
||||
else
|
||||
E_ECONF+=(
|
||||
--disable-edbus-bluez-test
|
||||
--disable-edbus-connman0_7x-test
|
||||
--disable-edbus-notification-daemon-test
|
||||
--disable-edbus-notify-test
|
||||
--disable-edbus-ofono-test
|
||||
--disable-edbus-ukit-test
|
||||
--disable-edbus-async-test
|
||||
--disable-edbus-performance-test
|
||||
)
|
||||
fi
|
||||
enlightenment_src_configure
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/e_dbus/e_dbus-1.7.9.ebuild,v 1.1 2013/11/12 18:26:39 tommy Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit enlightenment
|
||||
|
||||
DESCRIPTION="Enlightenment's (Ecore) integration to DBus"
|
||||
SRC_URI="http://download.enlightenment.org/releases/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="bluetooth +connman +libnotify ofono static-libs test-binaries +udev"
|
||||
|
||||
RDEPEND=">=dev-libs/eina-1.7.9
|
||||
>=dev-libs/ecore-1.7.9
|
||||
sys-apps/dbus
|
||||
connman? ( >=net-misc/connman-0.75 )
|
||||
libnotify? ( >=media-libs/evas-1.7.9 )
|
||||
udev? ( sys-power/upower sys-fs/udisks:0 )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
E_ECONF+=(
|
||||
$(use_enable bluetooth ebluez)
|
||||
$(use_enable connman econnman0_7x)
|
||||
$(use_enable doc)
|
||||
--disable-ehal
|
||||
$(use_enable libnotify enotify)
|
||||
$(use_enable ofono eofono)
|
||||
$(use_enable test-binaries edbus-test)
|
||||
$(use_enable test-binaries edbus-test-client)
|
||||
$(use_enable udev eukit)
|
||||
)
|
||||
if use test-binaries ; then
|
||||
E_ECONF+=(
|
||||
$(use_enable bluetooth edbus-bluez-test)
|
||||
$(use_enable connman edbus-connman0_7x-test)
|
||||
$(use_enable libnotify edbus-notification-daemon-test)
|
||||
$(use_enable libnotify edbus-notify-test)
|
||||
$(use_enable ofono edbus-ofono-test)
|
||||
$(use_enable udev edbus-ukit-test)
|
||||
)
|
||||
else
|
||||
E_ECONF+=(
|
||||
--disable-edbus-bluez-test
|
||||
--disable-edbus-connman0_7x-test
|
||||
--disable-edbus-notification-daemon-test
|
||||
--disable-edbus-notify-test
|
||||
--disable-edbus-ofono-test
|
||||
--disable-edbus-ukit-test
|
||||
--disable-edbus-async-test
|
||||
--disable-edbus-performance-test
|
||||
)
|
||||
fi
|
||||
enlightenment_src_configure
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
# ChangeLog for dev-libs/grok
|
||||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/grok/ChangeLog,v 1.1 2014/05/31 12:59:08 ercpe Exp $
|
||||
|
||||
*grok-0.9.2 (31 May 2014)
|
||||
|
||||
31 May 2014; Johann Schmitz <ercpe@gentoo.org> +files/0.9.2-Makefile.patch,
|
||||
+grok-0.9.2.ebuild, +metadata.xml:
|
||||
New ebuild for dev-libs/grok
|
@ -0,0 +1,19 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX 0.9.2-Makefile.patch 1090 SHA256 bc8b799658c686766cc42559bd7829258a9902ad67011cedca0843da761b64ec SHA512 f7bd0b3d29014da1c35f2f803fb16d7706048e20a73df4bc52e5b676eaf962d69b8ab56a597ce5d15e4b234f347f0e803f58fc417b4d8a95f371c60cd908ea7e WHIRLPOOL d3e773696d0cd062b2204b309930d5277c238b46baea904900809a499eb4f0d2c32f2655cec72fdaee38e3a85798668470534a15422eb902ea30ae61a48b8443
|
||||
DIST grok-0.9.2.tar.gz 243554 SHA256 40edbdba488ff9145832c7adb04b27630ca2617384fbef2af014d0e5a76ef636 SHA512 91d410259e89de6fbab011691cf56497158bc7a508194e6d17a2b32c8b70650be3b40c4792390589929b0f553a92b81cd3981e84ddcbe6a6ea80ab8fcdb38b2e WHIRLPOOL 90d0fb5418491435b57335792626d633edc50f348ba4a211a53f3c9acd46f5633b19b9d77642e787dd50e5feed57c2a5bbc78aeea1288c1b146a47e32c62317c
|
||||
EBUILD grok-0.9.2.ebuild 681 SHA256 c8d067732be3b9cb3845ca0434294a03b9ce8feb697a5749d81e26250df41c64 SHA512 696db8666694c9ee8d665489b172465ff2541e561b2a37a0b206ea4453dccbf0e6e7e26ca16da1b9c2e5ce34fe57ded4da7f29efd50b1ad87a7697dc52fef3c0 WHIRLPOOL b8fb193ed36b3a4fc7240ca1c552461d9fd0cef256ad6854935e4dbbe58000da9c0c157ab4c434db65f1d46843dce75d05582a891f5da8e3888ce8df745c6f07
|
||||
MISC ChangeLog 371 SHA256 90d084d61134c5fdb8e6938b02d3b87f7c0cfc5719864f29e7c4ab5288f0506c SHA512 724d2d5e28af4e2bacc835352bda021724ad0e85a28b9c1cf510ad8f7a22d29a203e2f5ef84882db2f75c7c082e31c6c206a61c0e8ba36655e1f7aa903f11c1d WHIRLPOOL 080d505899adda5d39900d8badb3183b88cf3bb3608e544c9dcaf6c2775feb0f1f0d3e857ba8f32d9726aee0aa2ae5fc2ba37a947dc14ed5cc0702347470ba5b
|
||||
MISC metadata.xml 241 SHA256 57428c2797c7e5ada0398dda386d9c091a4679c8bce16aae13df7782244bdcf2 SHA512 31558a1bd015d093acee4721b82ef395a58332f608e114dd39bbf836805d1f444a4eaee42045803bae85a440e6d3c8249ddcf8f901d44900cd977da725f3db42 WHIRLPOOL 65ab0dc9665e008166fc775960c19685253a84aac56d6313701a093507c2f93974046215959cb890eaa75ce18e4ca5640a142063e0783f1126eba1e6d8161520
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iQEcBAEBCAAGBQJTidIiAAoJEKCEBkJ3xQHtW/cH/2PoxnIWXcNrZ7eiOzV1D6RY
|
||||
mH4sP3PtJSGIYMOZZiMt5rBzCwmLuGRN1aNlEwIElJmUzPe8MYG+VA/YHl6jm7Uo
|
||||
pamTkvg69UOWzXSxhcT9fUxqVMqBmx1jy0bQ+HfdzBlSDsOmn3rBi/V0tq4hAxVi
|
||||
SXN8H7/4wJ8MD8ZJjTMOGYx3zij6pHhYUrJG4DL2cR+l8XtTYtV8nZy+3cHhQ5eQ
|
||||
pNmIOpPiPB1xDqC8YK7N0jJxpJkAXq12g1xx3ovqNuOUlNcm6SUuRGD0O0Yqt7r6
|
||||
lZYvlVCgrvKmlHMrHVZGB/rSwL6TDGmmAtrIqOyCdacrFAU3lPFQMR0vSjbpqvQ=
|
||||
=LX/d
|
||||
-----END PGP SIGNATURE-----
|
@ -0,0 +1,30 @@
|
||||
diff --git a/grok-0.9.2/Makefile b/grok-0.9.2/Makefile
|
||||
index adfe869..d5531b2 100644
|
||||
--- a/grok-0.9.2/Makefile
|
||||
+++ b/grok-0.9.2/Makefile
|
||||
@@ -97,6 +97,7 @@ install: libgrok.$(LIBSUFFIX) grok discogrok $(GROKHEADER)
|
||||
install -m 755 grok $(DESTDIR)$(PREFIX)/bin
|
||||
install -m 755 discogrok $(DESTDIR)$(PREFIX)/bin
|
||||
install -m 644 libgrok.$(LIBSUFFIX) $(DESTDIR)$(PREFIX)/lib
|
||||
+ ln -s libgrok.$(LIBSUFFIX) $(DESTDIR)$(PREFIX)/lib/libgrok.$(LIBSUFFIX).1
|
||||
for header in $(GROKHEADER); do \
|
||||
install -m 644 $$header $(DESTDIR)$(PREFIX)/include; \
|
||||
done
|
||||
@@ -162,14 +163,14 @@ cleanver:
|
||||
# Binary creation
|
||||
grok: LDFLAGS+=-levent
|
||||
grok: $(GROKOBJ) conf.tab.o conf.yy.o main.o grok_config.o
|
||||
- $(CC) $(LDFLAGS) $^ -o $@
|
||||
+ $(CC) $^ $(LDFLAGS) -o $@
|
||||
|
||||
discogrok: $(GROKOBJ) discover_main.o
|
||||
- $(CC) $(LDFLAGS) $^ -o $@
|
||||
+ $(CC) $^ $(LDFLAGS) -o $@
|
||||
|
||||
libgrok.$(LIBSUFFIX):
|
||||
libgrok.$(LIBSUFFIX): $(GROKOBJ)
|
||||
- $(CC) $(LDFLAGS) -fPIC $(DYNLIBFLAG) $(LIBNAMEFLAG) $^ -o $@
|
||||
+ $(CC) $^ $(LDFLAGS) -fPIC $(DYNLIBFLAG) $(LIBNAMEFLAG) -o $@
|
||||
|
||||
libgrok.$(VERLIBSUFFIX): libgrok.$(LIBSUFFIX);
|
||||
ln -s $< $@
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/grok/grok-0.9.2.ebuild,v 1.1 2014/05/31 12:59:08 ercpe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="DRY and RAD for regular expressions"
|
||||
HOMEPAGE="https://github.com/jordansissel/grok http://code.google.com/p/semicomplete/wiki/Grok"
|
||||
SRC_URI="https://github.com/jordansissel/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-db/tokyocabinet
|
||||
>=dev-libs/libevent-1.3
|
||||
>=dev-libs/libpcre-7.6"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PV}-*.patch
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>ercpe@gentoo.org</email>
|
||||
<name>Johann Schmitz (ercpe)</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Text-Format/Text-Format-0.590.0.ebuild,v 1.2 2014/05/31 15:33:33 zlogene Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=SHLOMIF
|
||||
MODULE_VERSION=0.59
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Various subroutines to format text"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="virtual/perl-Module-Build
|
||||
test? (
|
||||
dev-perl/Test-Pod
|
||||
dev-perl/Test-Pod-Coverage
|
||||
)"
|
||||
|
||||
SRC_TEST="do parallel"
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/gst-python/gst-python-0.10.22.ebuild,v 1.13 2012/11/07 20:10:53 tetromino Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython"
|
||||
PYTHON_EXPORT_PHASE_FUNCTIONS="1"
|
||||
|
||||
inherit autotools eutils python
|
||||
|
||||
DESCRIPTION="A Python Interface to GStreamer"
|
||||
HOMEPAGE="http://gstreamer.freedesktop.org/"
|
||||
SRC_URI="http://gstreamer.freedesktop.org/src/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0.10"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="examples test"
|
||||
|
||||
RDEPEND="dev-libs/libxml2
|
||||
>=dev-python/pygobject-2.28:2
|
||||
>=media-libs/gstreamer-0.10.32:0.10
|
||||
>=media-libs/gst-plugins-base-0.10.32:0.10"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
media-plugins/gst-plugins-ogg:0.10
|
||||
media-plugins/gst-plugins-vorbis:0.10
|
||||
)" # tests a "audiotestsrc ! vorbisenc ! oggmux ! fakesink" pipeline
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.10.9-lazy.patch
|
||||
python_clean_py-compile_files #396689
|
||||
AT_M4DIR="common/m4" eautoreconf
|
||||
python_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_src_install
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc examples/*
|
||||
fi
|
||||
|
||||
python_clean_installation_image
|
||||
}
|
||||
|
||||
src_test() {
|
||||
LC_ALL="C" python_src_test
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize pygst.py gst-0.10
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup pygst.py gst-0.10
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/gst-python/gst-python-1.2.1.ebuild,v 1.1 2014/05/31 13:40:54 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3} )
|
||||
|
||||
inherit python-r1
|
||||
|
||||
DESCRIPTION="A Python Interface to GStreamer"
|
||||
HOMEPAGE="http://gstreamer.freedesktop.org/"
|
||||
SRC_URI="http://gstreamer.freedesktop.org/src/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="1.0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="test" #examples , bug #506962
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libxml2
|
||||
>=dev-python/pygobject-3:3[${PYTHON_USEDEP}]
|
||||
>=media-libs/gstreamer-1.2:1.0
|
||||
>=media-libs/gst-plugins-base-1.2:1.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# XXX: unittests are not ported to 1.0 yet.
|
||||
|
||||
src_prepare() {
|
||||
# Leave examples alone
|
||||
sed -e 's/\(SUBDIRS = .*\)examples/\1/' \
|
||||
-i Makefile.am Makefile.in || die
|
||||
|
||||
prepare_gst() {
|
||||
mkdir -p "${BUILD_DIR}" || die
|
||||
}
|
||||
python_foreach_impl prepare_gst
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
ECONF_SOURCE="${S}" python_foreach_impl run_in_build_dir econf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
prune_libtool_files --modules
|
||||
einstalldocs
|
||||
|
||||
# if use examples; then
|
||||
# docinto examples
|
||||
# dodoc examples/*
|
||||
# fi
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/joblib/joblib-0.8.0.ebuild,v 1.2 2014/06/01 09:18:46 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Tools to provide lightweight pipelining in Python"
|
||||
HOMEPAGE="http://pythonhosted.org/joblib/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
RDEPEND="${DEPEND}"
|
||||
# Usual; req'd for testsuite
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
sphinx-build -b html -c doc/ doc/ doc/html || die "docs failed installation"
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# https://github.com/joblib/joblib/issues/143
|
||||
if [[ "${EPYTHON}" == pypy ]]; then
|
||||
sed -e 's:test_func_inspect_errors:_&:' -i ${PN}/test/test_func_inspect.py || die
|
||||
sed -e 's:test_parallel_pickling:_&:' -i ${PN}/test/test_parallel.py || die
|
||||
fi
|
||||
|
||||
nosetests -w ${PN}/test || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/kombu/kombu-3.0.16.ebuild,v 1.1 2014/06/01 14:40:08 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="AMQP Messaging Framework for Python"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/kombu https://github.com/celery/kombu"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="amqplib doc examples msgpack sqs test"
|
||||
|
||||
PY27_GEN_USEDEP=$(python_gen_usedep python2_7)
|
||||
RDEPEND=">=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/py-amqp-1.4.5[${PYTHON_USEDEP}]
|
||||
<dev-python/py-amqp-2.0[${PYTHON_USEDEP}]
|
||||
amqplib? ( >=dev-python/amqplib-1.0.2[${PYTHON_USEDEP}] )
|
||||
sqs? ( >=dev-python/boto-2.13.3[${PY27_GEN_USEDEP}] )
|
||||
msgpack? ( >=dev-python/msgpack-0.2.0[${PYTHON_USEDEP}] )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-python/setuptools-0.7[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/nose-cover3[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-0.7[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/redis-py[${PYTHON_USEDEP}]
|
||||
dev-python/pymongo[${PYTHON_USEDEP}]
|
||||
>=dev-python/unittest2-0.5.0[${PYTHON_USEDEP}] )
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/beanstalkc[${PY27_GEN_USEDEP}]
|
||||
dev-python/couchdb-python[${PY27_GEN_USEDEP}]
|
||||
>=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}] )"
|
||||
# pyyaml is an optional package for tests, refrain for now
|
||||
# Req'd for test phase
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
PY27_REQUSE="$(python_gen_useflags 'python2.7')"
|
||||
REQUIRED_USE="sqs? ( ${PY27_REQUSE} )
|
||||
doc? ( ${PY27_REQUSE} amqplib sqs )" # 2 deps in doc build are only py2 capable
|
||||
|
||||
python_prepare_all() {
|
||||
https://github.com/celery/kombu/issues/246
|
||||
sed -e 's:kombu.transports:kombu.transport:' -i funtests/tests/test_django.py
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
# Doc build must be done by py2.7
|
||||
# Doc build misses and skips only content re librabbitmq which is not in portage
|
||||
if use doc; then
|
||||
emake -C docs html || die "kombu docs failed installation"
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
export DJANGO_SETTINGS_MODULE="django.conf"
|
||||
if python_is_python3; then
|
||||
2to3 --no-diffs -w build/lib/kombu/transport/
|
||||
nosetests --py3where=build/lib kombu/tests || die "Tests failed under ${EPYTHON}"
|
||||
else
|
||||
# funtests appears to be coded only for py2, a kind of 2nd tier.
|
||||
nosetests "${S}"/kombu/tests || die "Tests failed under ${EPYTHON}"
|
||||
pushd funtests > /dev/null
|
||||
esetup.py test
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
use doc && local HTML_DOCS=( docs/.build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue