parent
a778fa7d54
commit
3998cdf114
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rex/rex-0.40.0.ebuild,v 1.1 2013/02/25 07:12:58 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=JFRIED
|
||||
MODULE_VERSION=${PV}
|
||||
MY_P="Rex-${MODULE_VERSION}"
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands."
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-perl/Net-SSH2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-perl/JSON-XS
|
||||
dev-perl/XML-Simple
|
||||
dev-perl/Digest-SHA1
|
||||
dev-perl/Digest-HMAC
|
||||
dev-perl/Expect
|
||||
dev-perl/DBI
|
||||
dev-perl/yaml
|
||||
dev-perl/libwww-perl"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,3 +1,4 @@
|
||||
DIST root_v5.32.03.source.tar.gz 55529362 SHA256 575057c429625df69f0fa5c303287acefff185cda8cf8d1e9a6b2d21097d5ae6 SHA512 2e067eb9c6bbda5cf4df6973a3cf5307540247fb07c349f7ee74c0cf6a4abbb63f585a9ff67139cae985250fc5c5106b5ea03d7d9d2bcd20269e0ec8760ebd02 WHIRLPOOL 87dbf6f55f82001e07afc3b467e95f841f185f1f67d1dbd953f73e8aa9127ef8485db84100d6e9a08f0ae6aa5b45a565398eb6723145fff16c07e5158bb3e3ab
|
||||
DIST root_v5.32.04.source.tar.gz 55526502 SHA256 0c0130ba3d74b86caee3071deeceb46545cfde34def8ad2107601e133506acf2 SHA512 796d7f6fe92700232da3fcaac042438e13c13e504179a7375105b2ff06e1fac571ef4d59f270d73844b2a481b0762a873985d22eee2b1a0b156071b777d4417a WHIRLPOOL c5ce0f81331e08b3f79e97c894bff60185bba562388e789d3d1716d3523045a55c24e1cebded4ad19a09023c4b5275fd7d44acb726a1f248a9616ed95addd609
|
||||
DIST root_v5.34.03.source.tar.gz 56290003 SHA256 4ce18154f507fcdd8d580b776568d4b87004756d7d17f86796fcba0b2499a1a1 SHA512 522dbcb0ddcc3030f440939e8e5849e0b33ae4e4f7a0de3dd213404e8a9801954ef40a06ef9c206b62be8997d7eec2da72e1b0f1bbfd9fa99683961b99540e4b WHIRLPOOL 5f1bb9900b4a6238e51bc67be935f8a4cfa4455a0b4ef601e11f9235a17f918aa350169ae2eecbdb4f74af6badcd61a5bc3a4d16dce913e32277a458e55cc7ae
|
||||
DIST root_v5.34.05.source.tar.gz 64021235 SHA256 448e180a5ed6f53b5ee49ead014a98e742e97198a4ca760f086467db5d230c9d SHA512 37d26849114c7764b8cb877e29f5e3b24603680b317ceab52d784ca2c17d66f38e99dfa1b369e587517ea5ffd4a11cefe51eb84db47d767ad16aee12b7ce79bf WHIRLPOOL 195f32c1251088ff55a5c7834bc3db3d07a4fbcfff018f329e6c39c6618aa98b7f3c2f6a0f7aba883367a016ca260c0c061c7641caa75c8c6e077cad0bb43516
|
||||
|
@ -0,0 +1,97 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/root-docs-5.34.05.ebuild,v 1.1 2013/02/25 04:44:12 bicatali Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
ROOT_PN="root"
|
||||
PATCH_PV="5.34.01"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
_SVN_DEP="dev-vcs/subversion"
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="ftp://root.cern.ch/${ROOT_PN}/${ROOT_PN}_v${PV}.source.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
inherit eutils multilib toolchain-funcs virtualx
|
||||
|
||||
DESCRIPTION="API documentation for ROOT (An Object-Oriented Data Analysis Framework)"
|
||||
HOMEPAGE="http://root.cern.ch/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="LGPL-2.1"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${ROOT_PN}"
|
||||
VIRTUALX_REQUIRED="always"
|
||||
|
||||
DEPEND="
|
||||
~sci-physics/root-${PV}[X,doc,graphviz,htmldoc,opengl]
|
||||
virtual/pkgconfig
|
||||
${_SVN_DEP}"
|
||||
RDEPEND=""
|
||||
|
||||
pkg_setup() {
|
||||
# sandboxed user can't access video hardware, so xorg-x11 implementation
|
||||
# should be used
|
||||
GL_IMPLEM=$(eselect opengl show)
|
||||
eselect opengl set xorg-x11
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# can't use subversion eclass functions,
|
||||
# we need to svn export the same root tree:
|
||||
# 1) svn revisions for root and root-docs must be the same;
|
||||
# 2) no need to abuse server twice.
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
addpredict "${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}/svn-src/${ROOT_PN}/trunk/.svn"
|
||||
svn export "${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}/svn-src/${ROOT_PN}/trunk" \
|
||||
"${S}" || die "svn export failed"
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-${PATCH_PV}-makehtml.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# we need only to setup paths here, html docs doesn't depend on USE flags
|
||||
./configure \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--etcdir="${EPREFIX}"/etc/root \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir)/${PN} \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
--tutdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tutorials \
|
||||
--testdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tests \
|
||||
--with-cc=$(tc-getCC) \
|
||||
--with-cxx=$(tc-getCXX) \
|
||||
--with-f77=$(tc-getFC) \
|
||||
--with-ld=$(tc-getCXX) \
|
||||
--with-afs-shared=yes \
|
||||
--with-llvm-config="${EPREFIX}"/usr/bin/llvm-config \
|
||||
--with-sys-iconpath="${EPREFIX}"/usr/share/pixmaps
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ROOTSYS="${S}" Xemake html
|
||||
# if root.exe crashes, return code will be 0 due to gdb attach,
|
||||
# so we need to check if last html file was generated;
|
||||
# this check is volatile and can't catch crash on the last file.
|
||||
[[ -f htmldoc/timespec.html ]] || die "looks like html doc generation crashed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/doc/${PF}
|
||||
# too large data to copy
|
||||
mv htmldoc/* "${ED}usr/share/doc/${PF}/"
|
||||
docompress -x "${EPREFIX}/usr/share/doc/${PF}/"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect opengl set ${GL_IMPLEM}
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
From a6b8bae5a6a4752926eba409202ec061d81c6c8a Mon Sep 17 00:00:00 2001
|
||||
From: Serge Hallyn <serge.hallyn@canonical.com>
|
||||
Date: Wed, 30 Jan 2013 21:05:45 -0600
|
||||
Subject: [PATCH] complete virterror->virerror name change
|
||||
|
||||
Without these two string changes in generator.py, the
|
||||
virGetLastError wrapper does not get created in
|
||||
/usr/share/pyshared/libvirt.py. Noticed when running
|
||||
tests with virt-install.
|
||||
|
||||
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
|
||||
---
|
||||
python/generator.py | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/python/generator.py b/python/generator.py
|
||||
index 5d27f66..71ca883 100755
|
||||
--- a/python/generator.py
|
||||
+++ b/python/generator.py
|
||||
@@ -123,7 +123,7 @@ class docParser(xml.sax.handler.ContentHandler):
|
||||
self.function_return_field = attrs['field']
|
||||
elif tag == 'enum':
|
||||
if (attrs['file'] == "libvirt" or
|
||||
- attrs['file'] == "virterror"):
|
||||
+ attrs['file'] == "virerror"):
|
||||
enum(attrs['type'],attrs['name'],attrs['value'])
|
||||
elif attrs['file'] == "libvirt-lxc":
|
||||
lxc_enum(attrs['type'],attrs['name'],attrs['value'])
|
||||
@@ -137,7 +137,7 @@ class docParser(xml.sax.handler.ContentHandler):
|
||||
if self.function != None:
|
||||
if (self.function_module == "libvirt" or
|
||||
self.function_module == "virevent" or
|
||||
- self.function_module == "virterror"):
|
||||
+ self.function_module == "virerror"):
|
||||
function(self.function, self.function_descr,
|
||||
self.function_return, self.function_args,
|
||||
self.function_file, self.function_module,
|
||||
--
|
||||
1.7.12.4
|
||||
|
@ -1,421 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.0.2-r1.ebuild,v 1.2 2013/02/01 00:07:52 cardoe Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
#BACKPORTS=85e8c146
|
||||
AUTOTOOLIZE=yes
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
PYTHON_DEPEND="python? 2:2.5"
|
||||
#RESTRICT_PYTHON_ABIS="3.*"
|
||||
#SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit eutils python user autotools linux-info
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
|
||||
AUTOTOOLIZE=yes
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
|
||||
ftp://libvirt.org/libvirt/${MY_P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="audit avahi +caps firewalld iscsi +libvirtd lvm +lxc +macvtap nfs \
|
||||
nls numa openvz parted pcap phyp policykit python qemu rbd sasl \
|
||||
selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc"
|
||||
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
qemu? ( libvirtd )
|
||||
uml? ( libvirtd )
|
||||
vepa? ( macvtap )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )
|
||||
virt-network? ( libvirtd )
|
||||
firewalld? ( virt-network )"
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
||||
# package will use 3 by default. Since we don't have slot pinning in an API,
|
||||
# we must go with the most recent
|
||||
RDEPEND="sys-libs/readline
|
||||
sys-libs/ncurses
|
||||
>=net-misc/curl-7.18.0
|
||||
dev-libs/libgcrypt
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
dev-libs/libnl:3
|
||||
>=net-libs/gnutls-1.0.25
|
||||
net-libs/libssh2
|
||||
sys-apps/dmidecode
|
||||
>=sys-apps/util-linux-2.17
|
||||
sys-devel/gettext
|
||||
>=net-analyzer/netcat6-1.0-r2
|
||||
app-misc/scrub
|
||||
audit? ( sys-process/audit )
|
||||
avahi? ( >=net-dns/avahi-0.6[dbus] )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
lxc? ( sys-power/pm-utils )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? (
|
||||
>sys-process/numactl-2.0.2
|
||||
sys-process/numad
|
||||
)
|
||||
openvz? ( sys-kernel/openvz-sources )
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
qemu? (
|
||||
>=app-emulation/qemu-0.13.0
|
||||
dev-libs/yajl
|
||||
sys-power/pm-utils
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
xen? ( app-emulation/xen-tools app-emulation/xen )
|
||||
udev? ( virtual/udev >=x11-libs/libpciaccess-0.10.9 )
|
||||
virt-network? ( net-dns/dnsmasq
|
||||
>=net-firewall/iptables-1.4.10
|
||||
net-misc/radvd
|
||||
net-firewall/ebtables
|
||||
sys-apps/iproute2[-minimal]
|
||||
firewalld? ( net-firewall/firewalld )
|
||||
)
|
||||
elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
|
||||
# one? ( dev-libs/xmlrpc-c )
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
app-text/xhtml1
|
||||
dev-libs/libxslt
|
||||
=dev-lang/python-2*"
|
||||
|
||||
LXC_CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_DEVICE
|
||||
~CPUSETS
|
||||
~CGROUP_CPUACCT
|
||||
~RESOURCE_COUNTERS
|
||||
~CGROUP_SCHED
|
||||
~BLK_CGROUP
|
||||
~NAMESPACES
|
||||
~UTS_NS
|
||||
~IPC_NS
|
||||
~PID_NS
|
||||
~NET_NS
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~VETH
|
||||
~MACVLAN
|
||||
~POSIX_MQUEUE
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS
|
||||
"
|
||||
|
||||
VIRTNET_CONFIG_CHECK="
|
||||
~BRIDGE_NF_EBTABLES
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_TARGET_CHECKSUM
|
||||
"
|
||||
|
||||
MACVTAP_CONFIG_CHECK="~MACVTAP"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
enewgroup qemu 77
|
||||
enewuser qemu 77 -1 -1 qemu kvm
|
||||
|
||||
# Some people used the masked ebuild which was not adding the qemu
|
||||
# user to the kvm group originally. This results in VMs failing to
|
||||
# start for some users. bug #430808
|
||||
egetent group kvm | grep -q qemu
|
||||
if [[ $? -ne 0 ]]; then
|
||||
gpasswd -a qemu kvm
|
||||
fi
|
||||
|
||||
# Handle specific kernel versions for different features
|
||||
kernel_is lt 3 5 && LXC_CONFIG_CHECK+=" ~USER_NS"
|
||||
kernel_is lt 3 6 && LXC_CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR" || \
|
||||
LXC_CONFIG_CHECK+=" ~MEMCG"
|
||||
|
||||
CONFIG_CHECK=""
|
||||
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
|
||||
use macvtap && CONFIG_CHECK+="${MACVTAP}"
|
||||
use virt-network && CONFIG_CHECK+="${VIRTNET_CONFIG_CHECK}"
|
||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
touch "${S}/.mailmap"
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
|
||||
# git checkouts require bootstrapping to create the configure script.
|
||||
# Additionally the submodules must be cloned to the right locations
|
||||
# bug #377279
|
||||
./bootstrap || die "bootstrap failed"
|
||||
(
|
||||
git submodule status | sed 's/^[ +-]//;s/ .*//'
|
||||
git hash-object bootstrap.conf
|
||||
) >.git-module-status
|
||||
fi
|
||||
|
||||
epatch "${FILESDIR}"/0001-complete-virterror-virerror-name-change.patch
|
||||
|
||||
epatch_user
|
||||
|
||||
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
|
||||
|
||||
# Tweak the init script
|
||||
local avahi_init=
|
||||
local iscsi_init=
|
||||
local rbd_init=
|
||||
local firewalld_init=
|
||||
cp "${FILESDIR}/libvirtd.init-r11" "${S}/libvirtd.init"
|
||||
use avahi && avahi_init='avahi-daemon'
|
||||
use iscsi && iscsi_init='iscsid'
|
||||
use rbd && rbd_init='ceph'
|
||||
use firewalld && firewalld_init='need firewalld'
|
||||
|
||||
sed -e "s/USE_FLAG_FIREWALLD/${firewalld_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_AVAHI/${avahi_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_ISCSI/${iscsi_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_RBD/${rbd_init}/" -i "${S}/libvirtd.init"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
## enable/disable daemon, otherwise client only utils
|
||||
myconf="${myconf} $(use_with libvirtd)"
|
||||
|
||||
## enable/disable the daemon using avahi to find VMs
|
||||
myconf="${myconf} $(use_with avahi)"
|
||||
|
||||
## hypervisors on the local host
|
||||
myconf="${myconf} $(use_with xen) $(use_with xen xen-inotify)"
|
||||
myconf+=" --without-xenapi"
|
||||
if use xen && has_version ">=app-emulation/xen-tools-4.2.0"; then
|
||||
myconf+=" --with-libxl"
|
||||
else
|
||||
myconf+=" --without-libxl"
|
||||
fi
|
||||
myconf="${myconf} $(use_with openvz)"
|
||||
myconf="${myconf} $(use_with lxc)"
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myconf="${myconf} --with-vbox=/usr/lib/virtualbox-ose/"
|
||||
else
|
||||
myconf="${myconf} $(use_with virtualbox vbox)"
|
||||
fi
|
||||
myconf="${myconf} $(use_with uml)"
|
||||
myconf="${myconf} $(use_with qemu)"
|
||||
myconf="${myconf} $(use_with qemu yajl)" # Use QMP over HMP
|
||||
myconf="${myconf} $(use_with phyp)"
|
||||
myconf="${myconf} --with-esx"
|
||||
myconf="${myconf} --with-vmware"
|
||||
|
||||
## additional host drivers
|
||||
myconf="${myconf} $(use_with virt-network network)"
|
||||
myconf="${myconf} --with-storage-fs"
|
||||
myconf="${myconf} $(use_with lvm storage-lvm)"
|
||||
myconf="${myconf} $(use_with iscsi storage-iscsi)"
|
||||
myconf="${myconf} $(use_with parted storage-disk)"
|
||||
myconf="${myconf} $(use_with lvm storage-mpath)"
|
||||
myconf="${myconf} $(use_with rbd storage-rbd)"
|
||||
myconf="${myconf} $(use_with numa numactl)"
|
||||
myconf="${myconf} $(use_with numa numad)"
|
||||
myconf="${myconf} $(use_with selinux)"
|
||||
|
||||
# udev for device support details
|
||||
myconf="${myconf} $(use_with udev)"
|
||||
|
||||
# linux capability support so we don't need privileged accounts
|
||||
myconf="${myconf} $(use_with caps capng)"
|
||||
|
||||
## auth stuff
|
||||
myconf="${myconf} $(use_with policykit polkit)"
|
||||
myconf="${myconf} $(use_with sasl)"
|
||||
|
||||
# network bits
|
||||
myconf="${myconf} $(use_with macvtap)"
|
||||
myconf="${myconf} $(use_with pcap libpcap)"
|
||||
myconf="${myconf} $(use_with vepa virtualport)"
|
||||
myconf="${myconf} $(use_with firewalld)"
|
||||
|
||||
## other
|
||||
myconf="${myconf} $(use_enable nls)"
|
||||
myconf="${myconf} $(use_with python)"
|
||||
|
||||
# user privilege bits fir qemu/kvm
|
||||
if use caps; then
|
||||
myconf="${myconf} --with-qemu-user=qemu"
|
||||
myconf="${myconf} --with-qemu-group=qemu"
|
||||
else
|
||||
myconf="${myconf} --with-qemu-user=root"
|
||||
myconf="${myconf} --with-qemu-group=root"
|
||||
fi
|
||||
|
||||
# audit support
|
||||
myconf="${myconf} $(use_with audit)"
|
||||
|
||||
## stuff we don't yet support
|
||||
myconf="${myconf} --without-netcf"
|
||||
|
||||
# we use udev over hal
|
||||
myconf="${myconf} --without-hal"
|
||||
|
||||
# locking support
|
||||
myconf="${myconf} --without-sanlock"
|
||||
|
||||
# this is a nasty trick to work around the problem in bug
|
||||
# #275073. The reason why we don't solve this properly is that
|
||||
# it'll require us to rebuild autotools (and we don't really want
|
||||
# to do that right now). The proper solution has been sent
|
||||
# upstream and should hopefully land in 0.7.7, in the mean time,
|
||||
# mime the same functionality with this.
|
||||
case ${CHOST} in
|
||||
*cygwin* | *mingw* )
|
||||
;;
|
||||
*)
|
||||
ac_cv_prog_WINDRES=no
|
||||
;;
|
||||
esac
|
||||
|
||||
econf \
|
||||
${myconf} \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--with-remote \
|
||||
--localstatedir=/var
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Restore gnulib's config.sub and config.guess
|
||||
# bug #377279
|
||||
(cd .gnulib && git reset --hard > /dev/null)
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Explicitly allow parallel build of tests
|
||||
export VIR_TEST_DEBUG=1
|
||||
HOME="${T}" emake check || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install \
|
||||
DESTDIR="${D}" \
|
||||
HTML_DIR=/usr/share/doc/${PF}/html \
|
||||
DOCS_DIR=/usr/share/doc/${PF}/python \
|
||||
EXAMPLE_DIR=/usr/share/doc/${PF}/python/examples \
|
||||
|| die "emake install failed"
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r4" libvirtd || die
|
||||
|
||||
keepdir /var/lib/libvirt/images
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# we only ever want to generate this once
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# We really don't want to use or support old PolicyKit cause it
|
||||
# screws with the new polkit integration
|
||||
if has_version sys-auth/policykit; then
|
||||
rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
|
||||
fi
|
||||
|
||||
# Only sysctl files ending in .conf work
|
||||
mv "${D}"/etc/sysctl.d/libvirtd "${D}"/etc/sysctl.d/libvirtd.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use python && python_mod_optimize libvirt.py
|
||||
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# support for dropped privileges
|
||||
if use qemu; then
|
||||
fperms 0750 "${EROOT}/var/lib/libvirt/qemu"
|
||||
fperms 0750 "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if use caps && use qemu; then
|
||||
fowners -R qemu:qemu "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R qemu:qemu "${EROOT}/var/cache/libvirt/qemu"
|
||||
elif use qemu; then
|
||||
fowners -R root:root "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R root:root "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if ! use policykit; then
|
||||
elog "To allow normal users to connect to libvirtd you must change the"
|
||||
elog "unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
elog
|
||||
elog "For the basic networking support (bridged and routed networks)"
|
||||
elog "you don't need any extra software. For more complex network modes"
|
||||
elog "including but not limited to NATed network, you can enable the"
|
||||
elog "'virt-network' USE flag."
|
||||
elog
|
||||
if has_version net-dns/dnsmasq; then
|
||||
ewarn "If you have a DNS server setup on your machine, you will have"
|
||||
ewarn "to configure /etc/dnsmasq.conf to enable the following settings: "
|
||||
ewarn " bind-interfaces"
|
||||
ewarn " interface or except-interface"
|
||||
ewarn
|
||||
ewarn "Otherwise you might have issues with your existing DNS server."
|
||||
fi
|
||||
|
||||
if use caps && use qemu; then
|
||||
elog "libvirt will now start qemu/kvm VMs with non-root privileges."
|
||||
elog "Ensure any resources your VMs use are accessible by qemu:qemu"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use python && python_mod_cleanup libvirt.py
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
exec /usr/bin/qemu-system-x86_64 -machine accel=kvm "$@"
|
@ -0,0 +1,474 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.2.2-r4.ebuild,v 1.1 2013/02/25 04:08:48 cardoe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PN="qemu-kvm"
|
||||
MY_P=${MY_PN}-1.2.0
|
||||
|
||||
PYTHON_DEPEND="2:2.4"
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python \
|
||||
user udev fcaps
|
||||
BACKPORTS=7c9a3a87
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="mirror://sourceforge/kvm/${MY_PN}/${MY_P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||
HOMEPAGE="http://www.linux-kvm.org"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="+aio alsa bluetooth brltty +caps +curl debug doc fdt +jpeg kernel_linux \
|
||||
kernel_FreeBSD mixemu ncurses opengl +png pulseaudio python rbd sasl +seccomp \
|
||||
sdl selinux smartcard spice static static-softmmu static-user systemtap tci \
|
||||
+threads tls usbredir +uuid vde +vhost-net virtfs +vnc xattr xen xfs"
|
||||
|
||||
COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips
|
||||
mipsel or32 ppc ppc64 sh4 sh4eb sparc sparc64 s390x unicore32"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 mips64 mips64el ppcemb xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb ppc64abi32 sparc32plus"
|
||||
|
||||
# Setup the default SoftMMU targets, while using the loops
|
||||
# below to setup the other targets.
|
||||
REQUIRED_USE="|| ("
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS}; do
|
||||
IUSE="${IUSE} qemu_softmmu_targets_${target}"
|
||||
REQUIRED_USE="${REQUIRED_USE} qemu_softmmu_targets_${target}"
|
||||
done
|
||||
REQUIRED_USE="${REQUIRED_USE} )"
|
||||
|
||||
for target in ${IUSE_USER_TARGETS}; do
|
||||
IUSE="${IUSE} qemu_user_targets_${target}"
|
||||
done
|
||||
|
||||
# Block USE flag configurations known to not work
|
||||
REQUIRED_USE="${REQUIRED_USE}
|
||||
static? ( static-softmmu static-user )
|
||||
static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl )
|
||||
virtfs? ( xattr )"
|
||||
|
||||
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
|
||||
LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
|
||||
sys-apps/pciutils[static-libs(+)]
|
||||
sys-libs/zlib[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.2.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-1.0.1[static-libs(+)] )
|
||||
spice? ( >=app-emulation/spice-0.9.0[static-libs(+)] )
|
||||
tls? ( net-libs/gnutls[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(+)] )"
|
||||
RDEPEND="!static-softmmu? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||
!app-emulation/kqemu
|
||||
qemu_softmmu_targets_i386? (
|
||||
sys-firmware/ipxe
|
||||
~sys-firmware/seabios-1.7.1
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
qemu_softmmu_targets_x86_64? (
|
||||
sys-firmware/ipxe
|
||||
~sys-firmware/seabios-1.7.1
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
brltty? ( app-accessibility/brltty )
|
||||
opengl? ( virtual/opengl )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
python? ( =dev-lang/python-2*[ncurses] )
|
||||
sdl? ( media-libs/libsdl[X] )
|
||||
selinux? ( sec-policy/selinux-qemu )
|
||||
smartcard? ( dev-libs/nss )
|
||||
spice? ( >=app-emulation/spice-protocol-0.12.2 )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
usbredir? ( ~sys-apps/usbredir-0.4.4 )
|
||||
virtfs? ( sys-libs/libcap )
|
||||
xen? ( app-emulation/xen-tools )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-text/texi2html )
|
||||
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
|
||||
static-softmmu? ( ${LIB_DEPEND} )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
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"
|
||||
|
||||
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"
|
||||
|
||||
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() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
enewgroup kvm 78
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Alter target makefiles to accept CFLAGS set via flag-o
|
||||
sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \
|
||||
Makefile Makefile.target || die
|
||||
|
||||
python_convert_shebangs -r 2 "${S}/scripts/kvm/kvm_stat"
|
||||
python_convert_shebangs -r 2 "${S}/scripts/kvm/vmxcap"
|
||||
|
||||
epatch "${FILESDIR}"/qemu-1.2.0-cflags.patch
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
# Fix ld and objcopy being called directly
|
||||
tc-export 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 conf_opts audio_opts
|
||||
local static_flag="static-${buildtype}"
|
||||
|
||||
conf_opts="--prefix=/usr"
|
||||
conf_opts+=" --sysconfdir=/etc"
|
||||
conf_opts+=" --docdir=/usr/share/doc/${PF}/html"
|
||||
conf_opts+=" --disable-bsd-user"
|
||||
conf_opts+=" --disable-guest-agent"
|
||||
conf_opts+=" --disable-libiscsi"
|
||||
conf_opts+=" --disable-strip"
|
||||
conf_opts+=" --disable-werror"
|
||||
conf_opts+=" --python=python2"
|
||||
|
||||
# audio options
|
||||
audio_opts="oss"
|
||||
use alsa && audio_opts="alsa,${audio_opts}"
|
||||
use sdl && audio_opts="sdl,${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa,${audio_opts}"
|
||||
|
||||
if [[ ${buildtype} == "user" ]]; then
|
||||
conf_opts+=" --enable-linux-user"
|
||||
conf_opts+=" --disable-system"
|
||||
conf_opts+=" --target-list=${user_targets}"
|
||||
conf_opts+=" --disable-bluez"
|
||||
conf_opts+=" --disable-sdl"
|
||||
fi
|
||||
|
||||
if [[ ${buildtype} == "softmmu" ]]; then
|
||||
conf_opts+=" --disable-linux-user"
|
||||
conf_opts+=" --enable-system"
|
||||
conf_opts+=" --target-list=${softmmu_targets}"
|
||||
conf_opts+=" $(use_enable bluetooth bluez)"
|
||||
conf_opts+=" $(use_enable sdl)"
|
||||
conf_opts+=" $(use_enable aio linux-aio)"
|
||||
conf_opts+=" $(use_enable brltty brlapi)"
|
||||
conf_opts+=" $(use_enable caps cap-ng)"
|
||||
conf_opts+=" $(use_enable curl)"
|
||||
conf_opts+=" $(use_enable fdt)"
|
||||
conf_opts+=" $(use_enable jpeg vnc-jpeg)"
|
||||
conf_opts+=" $(use_enable kernel_linux kvm)"
|
||||
conf_opts+=" $(use_enable kernel_linux nptl)"
|
||||
conf_opts+=" $(use_enable ncurses curses)"
|
||||
conf_opts+=" $(use_enable opengl)"
|
||||
conf_opts+=" $(use_enable png vnc-png)"
|
||||
conf_opts+=" $(use_enable rbd)"
|
||||
conf_opts+=" $(use_enable sasl vnc-sasl)"
|
||||
conf_opts+=" $(use_enable seccomp)"
|
||||
conf_opts+=" $(use_enable smartcard smartcard)"
|
||||
conf_opts+=" $(use_enable smartcard smartcard-nss)"
|
||||
conf_opts+=" $(use_enable spice)"
|
||||
conf_opts+=" $(use_enable tls vnc-tls)"
|
||||
conf_opts+=" $(use_enable usbredir usb-redir)"
|
||||
conf_opts+=" $(use_enable uuid)"
|
||||
conf_opts+=" $(use_enable vde)"
|
||||
conf_opts+=" $(use_enable vhost-net)"
|
||||
conf_opts+=" $(use_enable virtfs)"
|
||||
conf_opts+=" $(use_enable vnc)"
|
||||
conf_opts+=" $(use_enable xattr attr)"
|
||||
conf_opts+=" $(use_enable xen)"
|
||||
conf_opts+=" $(use_enable xen xen-pci-passthrough)"
|
||||
conf_opts+=" $(use_enable xfs xfsctl)"
|
||||
use mixemu && conf_opts+=" --enable-mixemu"
|
||||
conf_opts+=" --audio-drv-list=${audio_opts}"
|
||||
fi
|
||||
|
||||
conf_opts+=" $(use_enable debug debug-info)"
|
||||
conf_opts+=" $(use_enable debug debug-tcg)"
|
||||
conf_opts+=" $(use_enable doc docs)"
|
||||
conf_opts+=" $(use_enable tci tcg-interpreter)"
|
||||
|
||||
# Add support for SystemTAP
|
||||
use systemtap && conf_opts="${conf_opts} --enable-trace-backend=dtrace"
|
||||
|
||||
# Add support for static builds
|
||||
use ${static_flag} && conf_opts="${conf_opts} --static --disable-pie"
|
||||
|
||||
# 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} && gcc-specs-pie; then
|
||||
conf_opts="${conf_opts} --enable-pie"
|
||||
fi
|
||||
|
||||
einfo "./configure ${conf_opts}"
|
||||
cd ${builddir}
|
||||
../configure \
|
||||
--cc="$(tc-getCC)" \
|
||||
--host-cc="$(tc-getBUILD_CC)" \
|
||||
${conf_opts} \
|
||||
|| die "configure failed"
|
||||
|
||||
# FreeBSD's kernel does not support QEMU assigning/grabbing
|
||||
# host USB devices yet
|
||||
use kernel_FreeBSD && \
|
||||
sed -E -e "s|^(HOST_USB=)bsd|\1stub|" -i "${S}"/config-host.mak
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
softmmu_targets=
|
||||
user_targets=
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
use "qemu_softmmu_targets_${target}" && \
|
||||
softmmu_targets="${softmmu_targets},${target}-softmmu"
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
use "qemu_user_targets_${target}" && \
|
||||
user_targets="${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_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 kernel_linux; then
|
||||
udev_dorules "${FILESDIR}"/65-kvm.rules
|
||||
fi
|
||||
|
||||
if use qemu_softmmu_targets_x86_64 ; then
|
||||
dosym /usr/bin/qemu-system-x86_64 /usr/bin/qemu-kvm
|
||||
ewarn "The deprecated '/usr/bin/kvm' symlink is no longer installed"
|
||||
ewarn "You should use '/usr/bin/qemu-kvm', you may need to edit"
|
||||
ewarn "your libvirt configs or other wrappers for ${PN}"
|
||||
elif use x86 || use amd64; then
|
||||
elog "You disabled QEMU_SOFTMMU_TARGETS=x86_64, this disables install"
|
||||
elog "of the /usr/bin/qemu-kvm symlink."
|
||||
fi
|
||||
|
||||
use python && dobin "${S}/scripts/kvm/kvm_stat"
|
||||
use python && dobin "${S}/scripts/kvm/vmxcap"
|
||||
fi
|
||||
|
||||
# Install config file example for qemu-bridge-helper
|
||||
insinto "/etc/qemu"
|
||||
doins "${FILESDIR}/bridge.conf"
|
||||
|
||||
cd "${S}"
|
||||
dodoc Changelog MAINTAINERS TODO pci-ids.txt
|
||||
newdoc pc-bios/README README.pc-bios
|
||||
|
||||
# Avoid collision with app-emulation/libcacard
|
||||
use smartcard && mv "${ED}/usr/bin/vscclient" "${ED}/usr/bin/qemu-vscclient"
|
||||
|
||||
# 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/808610de.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
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if qemu_support_kvm; then
|
||||
elog "If you don't have kvm compiled into the kernel, make sure you have"
|
||||
elog "the kernel module loaded before running kvm. The easiest way to"
|
||||
elog "ensure that the kernel module is loaded is to load it on boot."
|
||||
elog "For AMD CPUs the module is called 'kvm-amd'"
|
||||
elog "For Intel CPUs the module is called 'kvm-intel'"
|
||||
elog "Please review /etc/conf.d/modules for how to load these"
|
||||
elog
|
||||
elog "Make sure your user is in the 'kvm' group"
|
||||
elog "Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
|
||||
elog
|
||||
fi
|
||||
|
||||
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
|
||||
use virtfs && fcaps cap_chown cap_dac_override cap_fowner cap_fsetid \
|
||||
cap_setgid cap_mknod cap_setuid /usr/libexec/virtfs-proxy-helper
|
||||
|
||||
elog "The ssl USE flag was renamed to tls, so adjust your USE flags."
|
||||
elog "The nss USE flag was renamed to smartcard, so adjust your USE flags."
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST orage-4.8.3.tar.bz2 2438461 SHA256 9a5805c8a70de0cae67ae1a6282463bbd059d6a4d080f93ffb13f92aaacdbf2e SHA512 5a7aea002bdbf9fef3e32e85dcb94315a1b13494689ae4add277ca053067d3192a7eb43538654148de75fc03e884df1de2d8f7a2593cadbdc687252f6941789f WHIRLPOOL fb93f244a482afaf2d163845dec43c0fdd07a20be61ff0af273a58f974bebd1ccf45941327a9c1d0570f690f48fe76ae665dada953046dcacc16be38979d7f9c
|
||||
DIST orage-4.8.4.tar.bz2 2516021 SHA256 b19df727da9da48b979e238ac7113c803976de80bd1e2dadf6d84b864956dfd5 SHA512 a3dc10f16d9a002a95de0fa993b69a86dac174207f4ed1fbcf90030146a57b3a124e66e18a21b6fdd77673cb78ecadc9a618a1f755d8d9e4bf8aafa12926b38f WHIRLPOOL c019e6203ff079be4760002c24c978412f260221966c7a76eabe31c15d23ab069d30d58341d3fc6796d02e4507d197a0a4e2cbd71eebfe181aac249782cddc68
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/orage/orage-4.8.4.ebuild,v 1.1 2013/02/24 23:12:23 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit multilib xfconf
|
||||
|
||||
DESCRIPTION="A time managing application (and panel plug-in) for the Xfce desktop environment"
|
||||
HOMEPAGE="http://www.xfce.org/projects/"
|
||||
SRC_URI="mirror://xfce/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="berkdb dbus debug libnotify +xfce_plugins_clock"
|
||||
|
||||
RDEPEND=">=dev-libs/libical-0.48:=
|
||||
dev-libs/popt:=
|
||||
>=x11-libs/gtk+-2.10:2
|
||||
berkdb? ( >=sys-libs/db-4 )
|
||||
dbus? ( >=dev-libs/dbus-glib-0.100 )
|
||||
libnotify? ( >=x11-libs/libnotify-0.7:= )
|
||||
xfce_plugins_clock? ( >=xfce-base/xfce4-panel-4.10 )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/intltool
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
XFCONF=(
|
||||
--libexecdir="${EPREFIX}"/usr/$(get_libdir)
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF}/html
|
||||
$(use_enable xfce_plugins_clock libxfce4panel)
|
||||
$(use_enable dbus)
|
||||
$(use_enable libnotify)
|
||||
$(use_with berkdb bdb4)
|
||||
$(xfconf_use_debug)
|
||||
)
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README TODO )
|
||||
|
||||
# PM doesn't let directory to be replaced by a symlink, see src_install()
|
||||
rm -rf "${EROOT}"/usr/share/${PN}/doc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
xfconf_src_install \
|
||||
docdir="${EPREFIX}"/usr/share/doc/${PF}/html \
|
||||
imagesdir="${EPREFIX}"/usr/share/doc/${PF}/html/images
|
||||
|
||||
# Create compability symlink for retarded path hardcoding in src/{mainbox,parameters}.c
|
||||
dosym /usr/share/doc/${PF}/html /usr/share/${PN}/doc/C
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST multitail-5.2.10.tgz 165812 SHA256 947577050ea907da11b2a86d4716a3309559a33327b2e1342a02b24a38a15c57 SHA512 7c3bd022b89328687b0e2cd96344ef7376e3af993993d26f0936919e3c8fd2145ea2bcc234b6e38335f2373938673d5fb80c3f8d92f4c5478f118c68256fffa2 WHIRLPOOL d2cc0c29797b9b1b8cf444516a28b701ae1f036f81e9bf0ef9b14808ba37828a8666c8c885b8f894f2d3abe6b3f39ba5e23296b41f69bfd25114e91b9d49efac
|
||||
DIST multitail-5.2.11.tgz 163769 SHA256 2f0fe12b974adb82b24c8fde98b8ed582535c758493ac8200c1a46449359c2e5 SHA512 ed4fe1aab1cff1b4cb80551d166e53982490208b7830b78bc733a75c4d2afd3b7fa547ad811147fd9e6450431e6477fe0c8c7f8797730a87b35add63b097548b WHIRLPOOL 4ee6a4a69f67ce01b453b85146ec589f31ec8ddb9b89ae81d944d0800041278f378d03d744c4d45c2976d6da1fae1b47da3a4918ab06053e2bce6414a19f6dcb
|
||||
DIST multitail-5.2.12.tgz 163735 SHA256 681d87cd49e11aab1d82ad7818ee639c88a3d305db8accf0859977beda6c493c SHA512 d2ce9c119b619857c22dde098f3013fe8d9c8a410f1f6cc56e97cc2bf3fc19eddeff1485019be16587791f44b0b680431087c9e9be66ecc1c999ea0507b6b99c WHIRLPOOL 73ed263561b066f871aa2193a408f5c22f99261fbf08f7c83f020fc1e2799f67884dd5519cd8adcea07d45ae7a4a98b9d49402f6d14ab54ac9bf78c403c54039
|
||||
DIST multitail-5.2.9.tgz 165013 SHA256 b90c65e061d4fe5a8c36dd478d3e618eba42ae4abb5570dde063e9d66e9397f3 SHA512 0d643e499f04f9497cc3a9e82de10fe0f6d6f7f69eb3e200c409c0b7815548516a2aba77912d3961db689673b78afc46f78b062029522c3836d4732231d8b7be WHIRLPOOL 385add81418a7d9b1dd3b5db27334dffcb75931934908600a9c723afec79bec63ff3f8a577def59972c457683542ddb60ee4449e43cadfb3b05713b05c6a5a10
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/multitail/multitail-5.2.12.ebuild,v 1.1 2013/02/25 13:52:29 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Tail with multiple windows"
|
||||
HOMEPAGE="http://www.vanheusden.com/multitail/index.html"
|
||||
SRC_URI="http://www.vanheusden.com/multitail/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux"
|
||||
IUSE="debug doc examples"
|
||||
|
||||
DEPEND="sys-libs/ncurses"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/5.2.2-as-needed.patch
|
||||
|
||||
use x86-interix && epatch "${FILESDIR}"/${PN}-5.2.6-interix.patch
|
||||
|
||||
sed -e '/gcc/d' -i Makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
use debug && append-flags "-D_DEBUG"
|
||||
use prefix && sed "s:DESTDIR=/:DESTDIR=${EROOT}:g" -i Makefile
|
||||
}
|
||||
|
||||
src_install () {
|
||||
dobin multitail
|
||||
|
||||
insinto /etc
|
||||
doins multitail.conf
|
||||
|
||||
dodoc Changes readme.txt thanks.txt
|
||||
doman multitail.1
|
||||
|
||||
use doc && dohtml manual.html
|
||||
|
||||
docinto examples
|
||||
use examples && dodoc colors-example.{pl,sh} convert-{geoip,simple}.pl
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST hyperdex-0.4.0.tar.gz 1057524 SHA256 3ab0ffff461a39406e0ee4b16cfec9f05f06046356d4801ace4d86daad1253dc SHA512 760d2d1ebb4486d2550847bc2d2365166dee6af7f2d3406395956de1ef881fbba68504a119001a84ee48ade70282dbad39481004f84833677a0bc32e02741ee7 WHIRLPOOL 553544bf25b68a2029945da59ba185fca66e5f2ab776d8f01971ccb9bf6a9562de250ec92ece21543a6086f73ac4cd664539bdb63d6e870b8ef2736ca693ec7c
|
||||
DIST hyperdex-1.0.rc1.tar.gz 1107306 SHA256 7e694297c11cc479df971c961c551c3f0d641624eb2c0faba65e0e8a03f99f32 SHA512 e5fb201ccdc5a5dc1e6a5c042ed8f7ed5687034e9ee378ff2f4c851a95e145d0ff18fcf56c51efd06b54f97df159d088cc291c3f27ea36bfb4a84b7f66a006ed WHIRLPOOL 015ddc43256528c0b15822aef3ab24ee0edce3d1c387af0d06742e09dceb866418692607c235a987d12c7f1d39b96e0c686ad7beeb090e3e6c8e3687e952cc8a
|
||||
DIST hyperdex-1.0.rc2.tar.gz 1139183 SHA256 faf2364046116aecd19ed196c39c096a9d39a55fcece0b47e47e25788e8b91f7 SHA512 5925b5279d9430a8a919f527d8309bfb96157388db4e5a4a70f713dd9925249c97da1cdb91df98c1b2b9d9782f28273b873907ce2dbf4690f2ba01d0bbddc714 WHIRLPOOL 10442db0609f07ab89535963658de5c5aa0ceed5d2a4535c74cc00b4389f8b9ca5e14de52f4f9425b2d6e603ea5ea7620f1cc007db144e618bbeec9dfa38302b
|
||||
DIST hyperdex-1.0.rc3.tar.gz 1153979 SHA256 ee9b158fdd4fb7eff254cdce559f946d083919272056e6c346960be4bc3a878a SHA512 ce242ae1139fd64df1891a425b0193491325da300e83d6814413bc914cad6764215539cabe28690b143941074394d15ef19776af89976482d714565ad06906f1 WHIRLPOOL 581681343f3ddd8aa0626eccd29d44c8616ca0518d6c055e48111b0edba93f183d58a7f9adc36f9c4689ca368dd0278d2e6b748b1be619a1945988f0283955e6
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/hyperdex/hyperdex-1.0_rc3.ebuild,v 1.1 2013/02/25 05:48:39 patrick Exp $
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
inherit eutils python
|
||||
|
||||
DESCRIPTION="A searchable distributed Key-Value Store"
|
||||
|
||||
MY_P="${P/_/.}"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${MY_P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="+python"
|
||||
# need to add coverage and java useflags too
|
||||
|
||||
DEPEND="dev-cpp/glog
|
||||
dev-libs/cityhash
|
||||
dev-libs/libpo6
|
||||
dev-libs/libe
|
||||
dev-libs/busybee
|
||||
dev-libs/popt
|
||||
dev-libs/replicant"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --disable-static \
|
||||
$(use_enable python python-bindings)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "Failed to install"
|
||||
newinitd "${FILESDIR}/hyperdex.initd" hyperdex || die "Failed to install init script"
|
||||
newconfd "${FILESDIR}/hyperdex.confd" hyperdex || die "Failed to install config file"
|
||||
find ${D} -name '*.la' -exec rm {} \; # bad buildsystem! bad!
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
# HG changeset patch
|
||||
# Parent cbf7b2d2851314077b9c1ecd6ec95ce51453daf8
|
||||
diff -r cbf7b2d28513 -r 0350861eeabf ide/launcher/unix/netbeans
|
||||
--- a/ide/launcher/unix/netbeans Tue Nov 09 13:44:15 2010 +0100
|
||||
+++ b/ide/launcher/unix/netbeans Tue Nov 09 14:21:18 2010 +0100
|
||||
@@ -169,6 +169,20 @@
|
||||
then
|
||||
sh=/bin/bash
|
||||
fi
|
||||
+ keychain=`which keychain`
|
||||
+ if [ -n "$keychain" ]; then
|
||||
+ $keychain -q
|
||||
+ . $HOME/.keychain/$HOSTNAME-sh
|
||||
+ if [ -e $userdir/keychain-keys.txt ]; then
|
||||
+ for key in `cat $userdir/keychain-keys.txt`; do
|
||||
+ SSH_ASKPASS=`which x11-ssh-askpass`
|
||||
+ export SSH_ASKPASS
|
||||
+ if [ -n "$key" ]; then
|
||||
+ keychain $key
|
||||
+ fi
|
||||
+ done
|
||||
+ fi
|
||||
+ fi
|
||||
if [ "${founduserdir}" = "yes" ]; then
|
||||
exec $sh "$nbexec" "$@"
|
||||
else
|
@ -1 +1 @@
|
||||
DIST jimi1_0.zip 3880977 SHA256 06c193de5d78f2597191963c34cf306a960f7144759337264c1c60a3b3b8a0c4
|
||||
DIST jimi1_0.zip 3880977 SHA256 06c193de5d78f2597191963c34cf306a960f7144759337264c1c60a3b3b8a0c4 SHA512 28ae3b3044910fca80dbdf23fee5f0d050df64ef48a09c41a836f3ff78365258c747f69a958579abda68d6d6f1c6b6a3ea5e960d36f2199afdb06258a25173d5 WHIRLPOOL c9ff66c4a15eb39c30e70c47bd7c8694024e34ebba09a7a440b927f5e3da0498f4ae2b8c6ddd96e3fe18933b93cacbb9c01f63b672caef45b601e4cf0bcec4fa
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST busybee-0.1.0.tar.gz 328831 SHA256 7837c9f66cba77be904cb7ab9da5d35e6acf2cfb23bac20b9c5d17d4b5201398 SHA512 0844f21c0e73f7a9843b71a7f05869b179f19b79c046909205357a95a1865d02079d8c9b3517cf32a6e1c187c91552d68b245cb23ab91782345d6a9172dd123c WHIRLPOOL af631df9047088ab59bb6176727947265514434c7287f5eaaac326d318cbedbbce3eefa9841bd0f38080267486cc91032e11e129279b72beb3e044b2773f3919
|
||||
DIST busybee-0.2.1.tar.gz 354939 SHA256 bf54c42803feb4947e40f21a3f88d34dec9174f5b265732235704e9a7d29e5d0 SHA512 45fac4bc21ee007782b76545f4ea4c9eb7ed6e5eee7d80419fadbbce88b36966a59a50001f1a6ce0b03d966976cd51a825f14573b52670bf94b5d07c8238318d WHIRLPOOL c3ae80781aac6b130b87c510ba523288f88f35b3796946140ef522a030e84d1e40650427e30ff2340edf7c6a46cf9fc61f302612db274e0942b516af2c5b4bc9
|
||||
DIST busybee-0.2.2.tar.gz 354681 SHA256 3c89db9e8d1c40d993a25a46e4714c1185e455370fa113ef6dbb2dcccbe35323 SHA512 f22055eccdf14317721c83280cbf024ba3d5bd3d0106ef0c4da2c1035af63c6301f94579cdd72a61047f8fbe8167c80c4d3e2fb583b579076f7072e0461325c7 WHIRLPOOL 5035a2c37d0dcab033bb49fb511669278b862353a8cd46ad18f44e5167ffbbe0469d70db623505e89d2399a31845c28b82738c7ea575f719f6f3ca96ea8aef96
|
||||
DIST busybee-0.2.3.tar.gz 356800 SHA256 f556f414d3d67b9a32ba7afe355471116b1167b1a3c6ba5e7b98ff47f2bd9dfe SHA512 46427f57e03b1aa51d85211074006a8e6536e2d77df33e52d465d123e00f072f96341bd25dbfa9f8521057f3b876e277e1885789f40ae83c439df36ba38e8e38 WHIRLPOOL 609cceaac85584f372a7f90158b0e2ed75233f315a72cdc1d2678afbb39f83365a03a14bba0bb79520277d6fbfd61955e7cc1eb743c6e31678a532692480fa14
|
||||
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/busybee/busybee-0.2.3.ebuild,v 1.1 2013/02/25 05:42:38 patrick Exp $
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="A messaging abstraction on top of TCP sockets used in HyperDex"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/libpo6
|
||||
dev-libs/libe"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,2 +1,3 @@
|
||||
DIST libe-0.2.7.tar.gz 369243 SHA256 8487d71da2ffca47f2cb96ff1b69e7ed3e7fe2591da0f79708129bf18a567307 SHA512 24c4e832cc070fd0e5d7b27ea21094e056516afe67b99b6492d427f0bb2977b169cec8c1d06b897d46db14005e3cffdb83e56e7fa0c2a078324e4b961a25e84e WHIRLPOOL 1751444bac4658ac80cc75e8c41028ec04dce5b55654512948e724b4450dc698da2253e2088b98bad06838321931b5240bdd1ba4a7f44711c0bb36e9cb68f2dc
|
||||
DIST libe-0.3.0.tar.gz 380895 SHA256 a5bc37f9cf3367df6c198f91f914f7b09e4f156d63b9d4665dfe680ec38aa4e9 SHA512 ebf6b379bfd28c3e12f25794746ad214b849e7b0bc36361623d9810d2af1c846238750ed543ed1c82b2caace1a20fefa01011049de28e1fb41c1bf473ed5d934 WHIRLPOOL db8bf09e73cd1df63ff2064d905b542b78b748bb223ae3886f43e8981fedb5f39c18129d10bca42ba2338a6cd023172bb68fb4141b5db45695a68a3162273153
|
||||
DIST libe-0.3.1.tar.gz 378945 SHA256 a10f9ee69a86094b83ed65c86243ab2e32bf134bffbafb9d6a8a2e152d6d914b SHA512 b132cbb1efd460dfee3f8ac7a519dfa9f7f478fd09c31a1e8777c68d1a7241ac4159231e7342b93d81c9527feaf25495d9b3f35cd9a3fd68635a81ccf375665c WHIRLPOOL 05d82ec3240e74f16ed823e7a6019a10aeddaad1edb08066887771f23210707148b2602ff03cde57b28991d6d25b41af358480d1211a123d53582393c156b977
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libe/libe-0.3.1.ebuild,v 1.1 2013/02/25 05:40:49 patrick Exp $
|
||||
EAPI=4
|
||||
|
||||
inherit eutils
|
||||
|
||||
# bit messy at the moment, next release should fix it I hope
|
||||
RESTRICT="test"
|
||||
|
||||
DESCRIPTION="Hyperdex libe support library"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/libpo6"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/_strtoui64/strtoul/' e/convert.h || die
|
||||
sed -i -e 's/timer.h/time.h/' e/profiler.h || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST libpo6-0.2.3.tar.gz 110849 SHA256 f3cfe664515643a36e7abe96fcba9a111c5e5a9544fc649da58328c395ca08fb SHA512 cc02a3a84ba4978d7694dcc557f019c7f271afd7819c9739a49958e97393e641d1623bdf08a2d9cefb14db2509d9f85bf1dd6db29d25ea297dcf2c6db8040583 WHIRLPOOL bc3567c51b1393c4e5ecf489854fc1329c8298c795dc94278fff5c700bdc7f72cc8869a2d857724d49e7bebbea0d0c086ede905ea8d116dc07fd4f97f0b03e06
|
||||
DIST libpo6-0.3.0.tar.gz 106688 SHA256 bdcb2bf212d9f53e3973a61846f9e60abab40e7bedf841fa66af624e379e5ae5 SHA512 3676ca92c20414031e91ac0eaa16f1048fc62df87517e848b8252e3b432c780b389576866a11b753d1126909f4589aa4677cf5c1306282cf950dbd9462f30d82 WHIRLPOOL d90024b281c0bff42132ecdeb593a2bbfc7e448464776214279033a90571b1f4de546b97a36214b87506eac2b54c40684182f51065aed460d811f4a0d5dcfea6
|
||||
DIST libpo6-0.3.1.tar.gz 107909 SHA256 71c8f9b2c58b2ba3d86cdc2d781aca9239d97da302a8c1c12eaa56ebb5973fa2 SHA512 1e0e3da3ecf06598f856ddf5b801026addb006125a0844cbc23c61a6320f7ea5c03e975787d6b89594dbe441891c671a5c2d1b86bc3fd9317e5313c40b6dcf3b WHIRLPOOL e2a9faa4f4f53b084ee3afb2013c1b048f4430266ee1fb2af907c4df03555d04d995d92d56acac15c79409a0e7c58d778707b781a60107fd3e251d461d09b47d
|
||||
|
@ -0,0 +1,17 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpo6/libpo6-0.3.1.ebuild,v 1.1 2013/02/25 05:38:20 patrick Exp $
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Hyperdex libpo6 support library"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
@ -1,2 +1,3 @@
|
||||
DIST replicant-0.1.0.tar.gz 391607 SHA256 e3a1bfd88161092acc842894014e9b88da8301e89cf85eb873e0a4104b4e72ae SHA512 eb95885ffdd60850004f440cbd058cdf593f91bf3931cdf8307b034c06408e977741584b60921f2b9557aaab0a623144fc39c6ad553d5c7074c39a45bf1386c1 WHIRLPOOL c8681fd36c22bfd76efa9fb4f9060ff6ad83f490cda76a82c53915df3d2c256ab4dcd783bffc88f729e03502bed488dd5911390e648169c96e5326a94e8c7fa8
|
||||
DIST replicant-0.1.1.tar.gz 389235 SHA256 c24301a9a4ab618204cfe87c6a960bfb2d2cfe8f3b6b1c8d48a12c1b4b76c106 SHA512 0e4388c0e2ea7253740f3a547132e5a4ab1f9cef4c28f7f19f65c97faa2b9247e68ad9291f28a3277cd98db87e9eca313730e8bfa46a03281ebe4976b6006ddf WHIRLPOOL 2c0ebab9f7a2f2db6fec250efa07dcf18020caafba5116544e3e4b067f393fa15fbad4ac9507807d4163cd2073e724599ca1eb09c602a8b3da72a3bfab08c348
|
||||
DIST replicant-0.1.2.tar.gz 390308 SHA256 2812e3792b417c387b8ddd56d50db1e6b56a1ccbca2ce29b1a46560a17a7c0e3 SHA512 07a3d6a396f42eb0c8eb294788eb6cfe9bdeecc2d67ce8f5d783d2d5c699c62ac7204d6c35990265330651a957aa20a0c52e696c904c79a3bc59bea3cfa88454 WHIRLPOOL 62fc02b48aaeac54aa53f1384437a23b09cbb9e30688ebd88fa316c63349984a4069b323674b992bca0c9652c86d6ca9f55e951ea5c44c58b67328a75f2967c2
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/replicant/replicant-0.1.2.ebuild,v 1.1 2013/02/25 05:43:34 patrick Exp $
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Hyperdex replicant support library"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/libpo6-0.2
|
||||
>=dev-libs/libe-0.2
|
||||
>=dev-libs/busybee-0.2
|
||||
dev-libs/leveldb
|
||||
dev-cpp/glog"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,2 +1,3 @@
|
||||
DIST PyGithub-1.10.0.tar.gz 1490230 SHA256 5675c8770c1f64eb4bab2226ee4e48c19243fb8d15706c0d8a27b0616d973d67 SHA512 3982558f2c6481dc983dc6019bde5115838056ced14a2f4f85cfc8964b3cefb4093b995e4a9e6d143e4d3992760c9850c38ba8855410452204b73a90ad6649a2 WHIRLPOOL 45551778a47fd4c7ad72360a02a32635e42ce7a62627daed3dff7c0133de71da8c4614b2bcb14a5a59fa307646e0d5ce39dddb0713208efedca13de3927629c5
|
||||
DIST PyGithub-1.11.1.tar.gz 1526269 SHA256 03d7570b8e41435f565a6829ab1469dfc6ee4da0ea588a1c0c5e20bc5fba76e4 SHA512 cd2a80bd9bfbf18811a514f01369a205007ce865204acc2734ef5600cb046efd609ff19cc64f0dcc04e579606796aba12f81ed0402432c8fbf54a34a0f537e84 WHIRLPOOL 0532f4ed9944066cf63556763df6b17bace86acc6ca328b5dd0c1dbcb0a9115746987067e54cc8da8214560c2b630f0532ada01c01a989a9479dac0e8de4200a
|
||||
DIST PyGithub-1.12.1.tar.gz 1538999 SHA256 626ad6af6c14f54546a7062e04bad699c0e4dc5addf8fdec28dbcf1d9c6aa4d1 SHA512 d90ec329ab271a9ba9cc5ab7cd488f0f36cb32cba3e8f0f1a07601d377baf130016e73bdd5558c6c9b0768a3911f3f5c0048c7f661c9f11bdadbfe90d20018a4 WHIRLPOOL 587155adcaa87c30817ea19fc411dbc43676778fc5430ce3bf07e23caf847ff7d866491d733e165e835ff6a2b305d6f037a8fad353d1c0b36af05b22271aa1d1
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/PyGithub/PyGithub-1.12.1.ebuild,v 1.1 2013/02/25 04:23:59 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2} )
|
||||
# TODO(floppym): Investigate test failures with python-3.3
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python library to access the Github API v3"
|
||||
HOMEPAGE="http://vincent-jacques.net/PyGithub"
|
||||
# Use github since pypi is missing test data
|
||||
SRC_URI="https://github.com/jacquev6/PyGithub/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/testtools/testtools-0.9.24-r1.ebuild,v 1.1 2013/02/24 21:04:16 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_0} )
|
||||
|
||||
inherit distutils-r1 versionator
|
||||
|
||||
SERIES="$(get_version_component_range 1-2)"
|
||||
|
||||
DESCRIPTION="Extensions to the Python unittest library"
|
||||
HOMEPAGE="https://launchpad.net/testtools http://pypi.python.org/pypi/testtools"
|
||||
SRC_URI="http://launchpad.net/${PN}/${SERIES}/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile
|
||||
|
||||
if [[ ! -e "${BUILD_DIR}"/lib/testtools/_compat2x.py ]]; then
|
||||
die "_compat2x.py removed upstream; fix src_compile"
|
||||
fi
|
||||
|
||||
# _compat2x.py is expected to have syntax incompatible with python 3.
|
||||
# This breaks compileall. Replace with "raise SyntaxError".
|
||||
# https://bugs.launchpad.net/testtools/+bug/941958
|
||||
if [[ ${EPYTHON} == python3* ]]; then
|
||||
echo "raise SyntaxError" > "${BUILD_DIR}"/lib/testtools/_compat2x.py
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# XXX: tests are non-fatal currently...
|
||||
# https://bugs.launchpad.net/testtools/+bug/1132542
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
# dev-python/subunit imports some objects from testtools.tests.helpers, so
|
||||
# tests need to be installed.
|
@ -1 +1,2 @@
|
||||
DIST camping-2.1.467.gem 375296 SHA256 4ba1a8afa32bb60ed18640eeca1ecb16997020fd885384ab4b45ed58d4a24c18 SHA512 77171e69d05746586fb25aa9e212f56196650f45ebc9d191f73795f532a5299e6950a876759b7c4fd23a3938ca0e1173dc14ea46c96430fb5188f9eb15b1f34b WHIRLPOOL a10277a4167fbdff236a9ab835e054714048773f410824c0dea514fa09deb29dcef328ba85744bbc42d6e35739f824338cb048e68dcdbc6269d2c271817b2297
|
||||
DIST camping-2.1.531.gem 375808 SHA256 3adad3310148a21c0c93064fb25072be925e73ecefc15a5837fe97df0b5815c0 SHA512 352fb9679cf56960186158f0f9deb4c956e4ca98f7dcfd7f98918a395b8fbc5de9b774700f6c9adf18d40e5b3ad261de9bc784910d119141e051f4a5886bb31b WHIRLPOOL 17c96d16b745e8cee679bc21319ad7d2c9be00c5b500c56af52e5a6448f7f82598364cde5554c0858ef46db3b4caf05ba9f8cb8eed011ff43b5385d95edf11e7
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/camping/camping-2.1.531.ebuild,v 1.1 2013/02/25 06:58:28 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A small web framework modeled after Ruby on Rails."
|
||||
HOMEPAGE="http://wiki.github.com/camping/camping"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/rack-test )"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/mab
|
||||
>=dev-ruby/rack-1.0"
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -S testrb test/app_*.rb || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST mdds_0.6.1.tar.bz2 128115 SHA256 4381b38db6ee807090c6f352d62575ea8ce9768701ad95f01afbcda497e69960 SHA512 9b53ddfe5330f276a3e3d9febf6e6749957915f2997cd81059f060221f2dcb6ba53576f9b3b01d10289143e98a0f80bcee29654bebc3c96ddf9b0a32c411dfd2 WHIRLPOOL 51b60a028b1f75f9167903aa0395876e7a8c7c96d21d619aca280ac485197b387dca55f55c61c98f7203b16ad1989c6d2c4eab8f8eb113cbec8af929ddafbb63
|
||||
DIST mdds_0.7.0.tar.bz2 137114 SHA256 092b8ab9cdd4738f46f3a34fb6ecf44a81049910e545eabe031bd0e1b7261c88 SHA512 de971443715cb70b4951473f713e78ad9f8d2518e24f0e38c67361a4802230ea3d7281597d8aa1e104da2dd2ad064686254b469847141761025c54a2fe89bc2a WHIRLPOOL 304e07067d4fd3da1ec4ec11f7de80a845e6814c68669376b9d3e09a886b16d84745438c20bc016318d51944d6a4003b22809c7c4d44aab900a09bae2b06efbb
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/mdds/mdds-0.7.0.ebuild,v 1.1 2013/02/25 13:37:44 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit base
|
||||
|
||||
DESCRIPTION="A collection of multi-dimensional data structure and indexing algorithm"
|
||||
HOMEPAGE="http://code.google.com/p/multidimalgorithm/"
|
||||
SRC_URI="http://multidimalgorithm.googlecode.com/files/${P/-/_}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/boost"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${P/-/_}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-hash-container=boost \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}"
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
@ -1,2 +1,2 @@
|
||||
DIST pkg-config-0.27.tar.gz 1912566 SHA256 79a6b43ee6633c9e6cc03eb1706370bb7a8450659845b782411f969eaba656a4 SHA512 5ac68fb66804f56e9daf760a8f6e91da194f78895208d3ca25a4b7b5ace97d9cf8441f2aea79a0eaf7a2a518761764ab7722f3c0878d85265a9412c8b0ef6a1f WHIRLPOOL bcf1362afc97a7680132debb9fb687976acf3109867a1eb95dcd0011dbec77734646a35013436522c8d4d64ddef53c9973f1bc085ddacd098253488aa376de9a
|
||||
DIST pkgconfig-openbsd-20120710.tar.xz 10224 SHA256 8f51b74ee82d5db36f4ea0fb0c49d520cdae522388d3b8a3a747642a03bb0de5 SHA512 1674eee55930fadd8708b4422020b7374833cc7bf2da73fcdef6a2d91f1456b28ab3e8eaf02354eb334f36b043060e8dd1d0b665a173e029a46f1edcef319b52 WHIRLPOOL 0c0b2a50c39b6e8038840242800fe8177f4f187f3c3e5a2c2766eeacdafecdcca3f1973c7f97524c59347ea215b08968c736f1d43b8b35d5faac3f2fde3c4108
|
||||
DIST pkg-config-0.28.tar.gz 1931203 SHA256 6b6eb31c6ec4421174578652c7e141fdaae2dabad1021f420d8713206ac1f845 SHA512 6eafa5ca77c5d44cd15f48457a5e96fcea2555b66d8e35ada5ab59864a0aa03d441e15f54ab9c6343693867b3b490f392c75b7d9312f024c9b7ec6a0194d8320 WHIRLPOOL db4ddb4ce61724e629931c5ffccb4d7a551b4dc0f4efed5a966822307e4b5a786adee5705dd80ec0a9aa32cb1af9ad9615e307360e131fc34688207216161486
|
||||
DIST pkgconfig-openbsd-20130225.tar.xz 10140 SHA256 14e680a81d7214e80d4462f22049d0ff25a0cc130696c53ae9885cf0ea985847 SHA512 bf39abacc82bff8d17a128e7fc61106868f52c2e0b1b8ad1ae06848d3a8e9c369dfae7232c016e6c97e2747df88027ff95039247312f49ed03d1bd5d1fa1762c WHIRLPOOL e08a7d5f280a4d8a51beba2b3981862cac0db565810d7a1e48201b51a2884d924ff1d1ae222f2bf18c9ac4f051eabb4fe169df0cd6adc2ed28ad03445599af4a
|
||||
|
@ -1 +1 @@
|
||||
DIST doom1.wad.bz2 1689021 RMD160 c92ac81b8836e08054988ceb95883a94e0988ee7 SHA1 b8f7ae489ab4228b51357034ef775a62b4539f33 SHA256 77009084330d2d14540ffd78b05deef4cb5cb4058cb50cf17316fede43d4dcae
|
||||
DIST doom1.wad.bz2 1689021 SHA256 77009084330d2d14540ffd78b05deef4cb5cb4058cb50cf17316fede43d4dcae
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST lsdldoom-1.4.4.4.tar.gz 916884 RMD160 92438a234b4642f320364308737e20f232d7da82 SHA1 a97919a0a3bac2c4f7e097752a793088879f6280 SHA256 6c29560a3a87b351f81717bd79c2cff124df0e68b807a7a365af15317a47d83c
|
||||
DIST lsdldoom-1.5.tar.gz 1227060 RMD160 31f847a302ded5ca38713c0b36287861d2297bb9 SHA1 7000f4c1e22efd0654b4a05b4da4980914421de4 SHA256 2e780775a1f31e3ee30e3d02b7f6b35409ec986fbfec07139b19ab48bdcf3ed8
|
||||
DIST lsdldoom-1.4.4.4.tar.gz 916884 SHA256 6c29560a3a87b351f81717bd79c2cff124df0e68b807a7a365af15317a47d83c
|
||||
DIST lsdldoom-1.5.tar.gz 1227060 SHA256 2e780775a1f31e3ee30e3d02b7f6b35409ec986fbfec07139b19ab48bdcf3ed8
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST prboom-2.5.0.tar.gz 1049505 RMD160 cc695ca0ceb9f9b9ca2ace7267a064799c61ffba SHA1 f17dc6ed4e72d07b85429177b00b8709ea36f5a0 SHA256 226c1c470f8cc983327536404f405a1d026cf0a5188c694a1243cc8630014bae
|
||||
DIST prboom.png 4254 RMD160 a673654eab9d87d34537e3d42c9274245be9e45f SHA1 c8e6a60b76ae93c44c5508ce5cb1308831c474a7 SHA256 ed79c4712b57b0c5e8ef975412e22d6936fa4b62657707e8f1cda63302008542
|
||||
DIST prboom-2.5.0.tar.gz 1049505 SHA256 226c1c470f8cc983327536404f405a1d026cf0a5188c694a1243cc8630014bae
|
||||
DIST prboom.png 4254 SHA256 ed79c4712b57b0c5e8ef975412e22d6936fa4b62657707e8f1cda63302008542
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST libjpeg-turbo-1.2.1.tar.gz 1755264 SHA256 cb3323f054a02cedad193bd0ca418d46934447f995d19e678ea64f78e4903770 SHA512 1ea3d2cfcc24ebe83b669417b86c59563781e74ef5358bf44fc380d4379bd200965aed7390cbfd269cac9f6abd21b3bcb156cb7f3deb5d0e9bfe0a07347d45f6 WHIRLPOOL 70e19e40c218e6ed9583ea5903a130db2fb18491c1c08da8a8989d6fcdf19bf846737ea1660d45107c03ee0a2b7406cefd5ee22533a839c49c2526acc4578d10
|
||||
DIST libjpeg-turbo-1.2.90.tar.gz 1348523 SHA256 e42f3bdacaced1cbc3313ea33e0ec1f6e7247b9a15ca8faa532803f0b55756da SHA512 41e91d5583f5a75a691d2a9219d500054ca08c2a0f71b4adfa8708d9b20d4164b29fa42fedc7b723f584fc5a3589686f47015af5fa459460dda835d7f2ae1379 WHIRLPOOL dbce365a3de54ad4ea0a81ecb8e8b96c5599b9b22530f1a6fc7f7e000c224ceefed2204a4f81ae8414cc62acfca73c65e2124f316ab03805704d389f70af0827
|
||||
DIST libjpeg8_8d-1.debian.tar.gz 13676 SHA256 70ec6689b0ad85739802cf3ebbdcc12ea01e21edd8f931c614b25b44cf199057 SHA512 7def4f13524f0af3b9adf35a370027a18f43b9a635f56a17d5bb7883370db8b18b8a12737d0f0cb4b0287ccf8fb474eb5f754de6b398ffe7d522c54e5bf68040 WHIRLPOOL 94526c31d401eb14c9bf0f7115e13a27886ad58863e25d6653eba2b2f5ef260ec272368d2b9d9934bd75b1e5b5f1afc97230e540248efc24d6e85e5680399d27
|
||||
|
@ -0,0 +1,118 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libjpeg-turbo/libjpeg-turbo-1.2.90.ebuild,v 1.1 2013/02/24 20:39:10 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
JPEG_ABI=8
|
||||
|
||||
if [[ ${PV} == *_p20* ]]; then
|
||||
SRC_URI="mirror://gentoo/${P}.tar.xz"
|
||||
inherit autotools
|
||||
elif [[ ${PV} != "9999" ]]; then
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
fi
|
||||
|
||||
inherit eutils java-pkg-opt-2 libtool toolchain-funcs
|
||||
|
||||
DESCRIPTION="MMX, SSE, and SSE2 SIMD accelerated JPEG library"
|
||||
HOMEPAGE="http://libjpeg-turbo.virtualgl.org/ http://sourceforge.net/projects/libjpeg-turbo/"
|
||||
SRC_URI="${SRC_URI}
|
||||
mirror://debian/pool/main/libj/libjpeg${JPEG_ABI}/libjpeg${JPEG_ABI}_${JPEG_ABI}d-1.debian.tar.gz"
|
||||
|
||||
LICENSE="BSD IJG"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||
IUSE="java static-libs"
|
||||
|
||||
ASM_DEPEND="|| ( dev-lang/nasm dev-lang/yasm )"
|
||||
COMMON_DEPEND="!media-libs/jpeg:0"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
java? ( >=virtual/jre-1.5 )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
amd64? ( ${ASM_DEPEND} )
|
||||
x86? ( ${ASM_DEPEND} )
|
||||
amd64-fbsd? ( ${ASM_DEPEND} )
|
||||
x86-fbsd? ( ${ASM_DEPEND} )
|
||||
amd64-linux? ( ${ASM_DEPEND} )
|
||||
x86-linux? ( ${ASM_DEPEND} )
|
||||
x64-macos? ( ${ASM_DEPEND} )
|
||||
java? ( >=virtual/jdk-1.5 )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.2.0-x32.patch #420239
|
||||
|
||||
if [[ -x ./configure ]]; then
|
||||
elibtoolize
|
||||
else
|
||||
eautoreconf
|
||||
fi
|
||||
|
||||
epunt_cxx #424689
|
||||
|
||||
java-pkg-opt-2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use java; then
|
||||
export JAVACFLAGS="$(java-pkg_javac-args)"
|
||||
export JNI_CFLAGS="$(java-pkg_get-jni-cflags)"
|
||||
fi
|
||||
local myconf=()
|
||||
[[ ${ABI} == "x32" ]] && myconf+=( --without-simd ) #420239
|
||||
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
--with-jpeg${JPEG_ABI} \
|
||||
$(use_with java) \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local _java_makeopts
|
||||
use java && _java_makeopts="-j1"
|
||||
emake ${_java_makeopts}
|
||||
|
||||
ebegin "Building exifautotran and jpegexiforient extra tools"
|
||||
pushd ../debian/extra >/dev/null
|
||||
emake CC="$(tc-getCC)" CFLAGS="${LDFLAGS} ${CFLAGS}"
|
||||
popd >/dev/null
|
||||
eend $?
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
exampledir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
install
|
||||
|
||||
prune_libtool_files
|
||||
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins -r doc/html/*
|
||||
|
||||
if use java; then
|
||||
insinto /usr/share/doc/${PF}/html/java
|
||||
doins -r java/doc/*
|
||||
newdoc java/README README.java
|
||||
|
||||
rm -rf "${ED}"usr/classes
|
||||
java-pkg_dojar java/turbojpeg.jar
|
||||
fi
|
||||
|
||||
ebegin "Installing exifautotran and jpegexiforient extra tools"
|
||||
pushd ../debian/extra >/dev/null
|
||||
newdoc ../changelog changelog.debian
|
||||
|
||||
emake \
|
||||
DESTDIR="${D}" prefix="${EPREFIX}"/usr \
|
||||
INSTALL="install -m755" INSTALLDIR="install -d -m755" \
|
||||
install
|
||||
popd >/dev/null
|
||||
eend $?
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST amSynth-1.2.0.tar.gz 616311 RMD160 b24b493e1532f3b1ad574856cfaadf8418e32900 SHA1 3e92417f6898f24a0996fef45827937fbf28e9ef SHA256 5fff8dc65bd5550bbf408e3df1123c68e31517bbb7441cbe0b964ab271948b1c
|
||||
DIST amSynth-1.2.2.tar.gz 611764 RMD160 70b044ca848e503929b9cebbf671b23f70053214 SHA1 3435c05be4a836666e7bf16ac44fee6def218c5d SHA256 049adb4ae35325f1f0c2c487d6dc435735c7950f6829e2d0e97f969786e5a7c0
|
||||
DIST amSynth-1.2.3.tar.gz 622565 RMD160 1959b97b732b647bcf0b4b0b22d9c6ab83861a7e SHA1 b4a716535289cf9394677757ea223d47f977b953 SHA256 c5bbb62dcbfe2470d1c31f65e88794a9230978bc962786794303f5b6c29a6f85
|
||||
DIST amSynth-1.2.3.tar.gz 622565 SHA256 c5bbb62dcbfe2470d1c31f65e88794a9230978bc962786794303f5b6c29a6f85 SHA512 fc429a6d69752812618dfade1b05b38895cc163f58f04e68d841bebf710dde03cff5953acad2ff7983c240d1b966c9d1dcf767b47a636873bdd4b96bd2ed7e6d WHIRLPOOL c7848ecd8b5ab9a2a55fdc717d6c47c5a54076144b805a79a75ce5ac9a3fea7b5cc92dfe5f8ab978d0bd3d4cb8674c35a111a3d0ec063b435b592e3e5293a9a9
|
||||
DIST amSynth-1.3.2.tar.gz 635901 SHA256 3ad50c20d690865ea0fdef6745cd04a9f758e9ae654ad874902d3da896e0fa75 SHA512 c5f312fd1fa5335ccd2c1e7a81a7c0f9094faabec633fe654f04650e5604bb6d05f1348f6ce3c305e840692e2012ac9501ca83f5e5018a0218d9c35a99678e80 WHIRLPOOL 3b93486378a140ce7feb0789cc46a74375920ae717d38910e0b75011e4f1c827749f795ce38b7408d72adb4abfab090a104fc23f001977c68576bde05e1fa260
|
||||
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/amsynth/amsynth-1.2.0.ebuild,v 1.12 2012/05/05 08:05:35 mgorny Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit autotools eutils
|
||||
|
||||
MY_P=${P/_rc/-rc}
|
||||
MY_P=${MY_P/amsynth/amSynth}
|
||||
|
||||
DESCRIPTION="Virtual analogue synthesizer."
|
||||
HOMEPAGE="http://amsynthe.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/amsynthe/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
IUSE="alsa debug jack oss sndfile"
|
||||
|
||||
RDEPEND="dev-cpp/gtkmm:2.4
|
||||
sndfile? ( >=media-libs/libsndfile-1.0 )
|
||||
alsa? ( >=media-libs/alsa-lib-0.9 media-sound/alsa-utils )
|
||||
jack? ( media-sound/jack-audio-connection-kit )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-asneeded.patch
|
||||
epatch "${FILESDIR}"/${P}-cflags.patch
|
||||
epatch "${FILESDIR}"/${P}-debug.patch
|
||||
epatch "${FILESDIR}"/${P}+gcc-4.3.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with oss) \
|
||||
$(use_with alsa) \
|
||||
$(use_with jack) \
|
||||
$(use_with sndfile) \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc AUTHORS README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "amSynth has been installed normally. If you would like to use"
|
||||
elog "the virtual keyboard option, then do:"
|
||||
elog "# emerge vkeybd"
|
||||
elog "and make sure you emerged amSynth with alsa support (USE=alsa)"
|
||||
elog
|
||||
}
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/amsynth/amsynth-1.2.2.ebuild,v 1.4 2012/05/05 08:05:35 mgorny Exp $
|
||||
|
||||
EAPI=2
|
||||
MY_P=${P/ams/amS}
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="Virtual analogue synthesizer."
|
||||
HOMEPAGE="http://amsynthe.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/amsynthe/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="alsa debug jack oss sndfile"
|
||||
|
||||
RDEPEND="dev-cpp/gtkmm:2.4
|
||||
sndfile? ( >=media-libs/libsndfile-1 )
|
||||
alsa? ( media-libs/alsa-lib
|
||||
media-sound/alsa-utils )
|
||||
jack? ( media-sound/jack-audio-connection-kit )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-asneeded.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with oss) \
|
||||
$(use_with alsa) \
|
||||
$(use_with jack) \
|
||||
$(use_with sndfile) \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc AUTHORS README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "amSynth has been installed normally. If you would like to use"
|
||||
elog "the virtual keyboard option, then do:"
|
||||
elog "# emerge vkeybd"
|
||||
elog "and make sure you emerged amSynth with alsa support (USE=alsa)"
|
||||
elog
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue