Sync with portage [Thu Feb 23 20:53:25 MSK 2017].

This commit is contained in:
root 2017-02-23 20:53:25 +03:00
parent 80940a28ec
commit b35fad3304
5142 changed files with 8591 additions and 9025 deletions

View file

@ -1,4 +1,4 @@
DIST eclean-kernel-0.4.1.tar.bz2 9540 SHA256 be877b4a9686abb665077e32e22dee7ad85bb5514f3db5ac6e179d3d3bc92dbb SHA512 8274c299221a1472b9408a8f3bbe547daba1c6377594ac0f5a6c5874a35235977b8b956232952d4b14296d11ebe2bd91c547ddd4de42dc2ed5f7f13970c8f15f WHIRLPOOL 49990795ae8061423985c8a96e213062124a1f5258872a26ad259835d1bf4aff44d3a621cdde74161fa801673c4e1995e69b466b77e6dcbad0130b19e65eadfe
DIST eclean-kernel-0.4.2.tar.bz2 9666 SHA256 42df20f9117707e48973a362b262093c1de239b27190e75b60576de0ef9e82d4 SHA512 6a69cfd54ee72a13a3a1a6ca460d73377170ef7731d3598b7cb1fc6263c95cd64dfbe0f260d1a8739d7c032e431523493a1fc8032bd92d1a537e672eb7436dec WHIRLPOOL a78c52c74ec071984634dae64ab42bde0660e90d8d418b205fe4ed0f01f6386c1529c5b8da35b5982a8b9c75338877e8031fd5a27dfa032f2e54df9c4e21fa55
DIST eclean-kernel-0.4.tar.bz2 9408 SHA256 be9d85fcb0c0cd4c70b3e3e7793bcacf9673faf9069356ef0af9661c050cf928 SHA512 f7f4a1a910594bb28bf37792c87a7ee96daecea006376cf98d0eeeb4d4c3c2a59e46fd986a5c7d34d0a54520bef58b225a498f926d4858d5ba2a4d3941ed3f36 WHIRLPOOL 3f8a168562082a12de34d5cca1e8fda2a5730607678bea55ff5c68f96399e3500681efccfe16201017f510ef916376b9da2495b39913ae5183f81ed8fae97b57
DIST eclean-kernel-1.99.1.tar.bz2 75358 SHA256 89ba5572a279a8d67dd6bc6a84c8cea288f9c9d432e6f7f897dd0b92cebfd989 SHA512 489af53ed1df8d265fdbcdfdf0364a660c216624d4617d7fbd59177cd5f79632fb5bf59140c2b01dfecd7b289a667a67087e5bd700d90bfa373b30ff14b0c738 WHIRLPOOL c2ec894847eaefb20b616c0a808405fb939c457256263b623c279340af0938dafe80ea859150bb1d9a6c3bc5a1d8842fffdd20d35ffe4dbde2be45f99ffbc66f
DIST eclean-kernel-1.99.3.tar.bz2 75550 SHA256 30d2985ff77e010b6f72bcac27ff172c08806408805df03e9e37326a0d159222 SHA512 5f6b5efafdb398de0d407461c8660ce4a7b4f040655fa9575cc317f401bcfdbf3a68c4dd74baa82979433962aa07186e725f322d6f7a0713c13fd634d32f332c WHIRLPOOL df35f47111ee74a97bbd507b947fece9c656113b8f33fc129d598c3613c4478f8512c96ff45576991212988429b4c6fbed801e40ea141967ea29ca1f2cf22a84

View file

@ -1,2 +1 @@
DIST skyldav-0.5.tar.gz 105274 SHA256 308b7a15b920a33c2c381aeb607db5bece9560e0a85e3e65c2df0d153413f4cc SHA512 24b9e3805574a2498b1e250cde790d6263f6f751546ad906303099bad5e722430568b1081764843a3c52f38730e8f26132f32058bea33c18f19673ac9147c323 WHIRLPOOL 77e77c25eaf3d0d3add4e1b03366c75dd1acdf8152d2987af61418a4793b1b0873cd0088e2bfd00c9864316e3b6e068c4bc96bc064cfec706a1b1b0c318d3aa1
DIST skyldav-0.6.tar.gz 105783 SHA256 a8820960a5296c23974dc59acf021c387678f392b295b4de70d134147753cca5 SHA512 3dcc6be287bfc7115cc360df97677fa12db5974d4917e476f37ad72097a6c2f224c3f57f84430591760c231ff02f277b908002a0b2bad250e971571f663d51c1 WHIRLPOOL 9cc38dc603ef46b12b6f14af2e58e20b44497afa47410d929187ecbc8ace15cd500d35fc7f35c68abd6d9587a6c83d355e32956455b120ab33b7bbd0800fe97c
DIST skyldav-0.7.tar.gz 244444 SHA256 e238706fd923cc3da685b27ef6d89bd49200d56102eba11dc279a47b93840a6d SHA512 008988ca7ab24ea8b77377e7a639ddc0a26149eab41af1d429cf8f870320617feda01ec2c9403493a3bb0bd5cd0c8cad94701bcb6c28993f2d9739e1a1b36c0b WHIRLPOOL b8612e3d835b0ef086f17fc430b671fdded6f5e7d53a0340638a95db59d2c0d79496c56962bdbbf9371f9a5389ec70751e2aee460244af462f618d46d6a2574d

View file

@ -1,29 +0,0 @@
diff -urN skyldav-0.5.orig/examples/etc/skyldav.conf skyldav-0.5/examples/etc/skyldav.conf
--- skyldav-0.5.orig/examples/etc/skyldav.conf 2015-02-15 20:32:57.000000000 +0100
+++ skyldav-0.5/examples/etc/skyldav.conf 2016-02-01 11:29:19.449054900 +0100
@@ -19,14 +19,23 @@
# Directories that shall not be scanned (including subdirectories)
# EXCLUDE_PATH = /var/noscan, /opt/noscan
+#
+# Exclude various portage directories for performance reasons
+EXCLUDE_PATH = /usr/portage, /var/cache/edb, /var/db/pkg, /var/tmp/portage, /var/tmp/binpkgs, /var/log/portage
# File systems that are local, virus scan results may be cached.
# LOCAL_FS = ext3, ext4, iso9660, tmpfs, vfat
-LOCAL_FS = ext3, ext4, iso9660, tmpfs, vfat
+LOCAL_FS = ext2, ext3, ext4, xfs, zfs, btrfs, reiserfs, vfat, ntfs, iso9660, tmpfs
# File systems that shall not be marked for virus scan.
# NOMARK_FS = proc, sysfs
-NOMARK_FS = proc, sysfs, cifs
+#
+# Do not exclude devtmpfs and configs, as userspace could write malware onto them.
+# CIFS is also known to cause problems due to a background daemon, so we exclude it here
+# (https://github.com/xypron/skyldav/commit/63b01b912d3eed80f3db92aec8647770546f5c1c).
+# Note that FUSE file systems are automatically excluded from scanning
+# (https://github.com/xypron/skyldav/issues/3).
+NOMARK_FS = proc, sysfs, devpts, debugfs, securityfs, cgroup, rpc_pipefs, mqueue, autofs, cifs
# Mounts that shall not be marked for virus scan.
# NOMARK_MNT = /mnt/noscan

View file

@ -1,11 +0,0 @@
diff -urN skyldav-0.5.orig/Makefile.am skyldav-0.5/Makefile.am
--- skyldav-0.5.orig/Makefile.am 2015-02-15 20:32:57.000000000 +0100
+++ skyldav-0.5/Makefile.am 2016-01-21 14:11:14.883632470 +0100
@@ -9,7 +9,6 @@
rm -rf doc/doxygen
install-data-local: \
- install-skyldav-examples \
install-skyldav-conf \
install-skyldavnotify-desktop

View file

@ -1,22 +0,0 @@
diff -urN skyldav-0.5.orig/src/skyldav/Messaging.cc skyldav-0.5/src/skyldav/Messaging.cc
--- skyldav-0.5.orig/src/skyldav/Messaging.cc 2015-02-15 20:32:57.000000000 +0100
+++ skyldav-0.5/src/skyldav/Messaging.cc 2016-01-21 14:17:12.492010594 +0100
@@ -118,15 +118,17 @@
break;
case INFORMATION:
type = "I";
- syslog(LOG_NOTICE, "%s", message.c_str());
+ syslog(LOG_INFO, "%s", message.c_str());
std::cout << message << std::endl;
break;
case DEBUG:
type = "D";
+ syslog(LOG_DEBUG, "%s", message.c_str());
std::cout << message << std::endl;
return;
default:
type = " ";
+ syslog(LOG_NOTICE, "%s", message.c_str());
std::cout << message << std::endl;
break;
}

View file

@ -1,11 +0,0 @@
diff -urN skyldav-0.6.orig/Makefile.am skyldav-0.6/Makefile.am
--- skyldav-0.6.orig/Makefile.am 2016-04-13 00:55:28.000000000 +0200
+++ skyldav-0.6/Makefile.am 2016-04-22 10:19:55.730771296 +0200
@@ -9,7 +9,6 @@
rm -rf doc/doxygen
install-data-local: \
- install-skyldav-examples \
install-skyldav-conf \
install-skyldavnotify-desktop

View file

@ -1,6 +1,6 @@
diff -urN skyldav-0.6.orig/examples/etc/skyldav.conf skyldav-0.6/examples/etc/skyldav.conf
--- skyldav-0.6.orig/examples/etc/skyldav.conf 2016-04-13 00:55:28.000000000 +0200
+++ skyldav-0.6/examples/etc/skyldav.conf 2016-04-22 10:18:56.631146410 +0200
diff -urN skyldav-0.7.orig/examples/etc/skyldav.conf skyldav-0.7/examples/etc/skyldav.conf
--- skyldav-0.7.orig/examples/etc/skyldav.conf 2016-06-12 18:39:51.000000000 +0200
+++ skyldav-0.7/examples/etc/skyldav.conf 2017-02-21 15:12:06.875945224 +0100
@@ -22,6 +22,9 @@
# Directories that shall not be scanned (including subdirectories)

View file

@ -0,0 +1,11 @@
diff -urN skyldav-0.7.orig/Makefile.am skyldav-0.7/Makefile.am
--- skyldav-0.7.orig/Makefile.am 2016-06-12 18:39:51.000000000 +0200
+++ skyldav-0.7/Makefile.am 2017-02-21 15:11:35.709518793 +0100
@@ -9,7 +9,6 @@
rm -rf doc/doxygen
install-data-local: \
- install-skyldav-examples \
install-skyldav-conf \
install-skyldavnotify-desktop

View file

@ -1,109 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit flag-o-matic linux-info linux-mod autotools-utils readme.gentoo-r1 systemd
DESCRIPTION="Skyld AV: on-access scanning daemon for ClamAV using fanotify"
HOMEPAGE="http://xypron.github.io/skyldav/"
## github release tarball
MY_PV=${PV/_rc/rc}
MY_P="${PN}-${MY_PV}"
SRC_URI="https://github.com/xypron/skyldav/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
## selfmade tarball
#MY_PVR=${PVR/_rc/rc}
#MY_P="${PN}-${MY_PVR}"
#SRC_URI="http://dev.gentoo.org/~wschlich/src/${CATEGORY}/${PN}/${MY_P}.tar.gz"
## github commit tarball
#MY_GIT_COMMIT="49bdb5e710b5a77c38ceb87da6015afb7009f1f9"
#MY_P="xypron-${PN}-${MY_GIT_COMMIT:0:7}"
#SRC_URI="https://github.com/xypron/${PN}/tarball/${MY_GIT_COMMIT} -> ${PF}.tar.gz"
S="${WORKDIR}/${MY_P}"
KEYWORDS="~amd64 ~x86"
SLOT="0"
LICENSE="Apache-2.0"
IUSE="libnotify systemd"
RDEPEND=">=app-antivirus/clamav-0.97.8
sys-apps/util-linux
sys-libs/libcap
libnotify? (
media-libs/libcanberra[gtk]
x11-libs/libnotify
x11-libs/gtk+:2
)"
DEPEND="${RDEPEND}
sys-devel/autoconf-archive"
## autotools-utils.eclass settings
AUTOTOOLS_AUTORECONF="1"
AUTOTOOLS_IN_SOURCE_BUILD="1"
DOCS=( AUTHORS NEWS README )
PATCHES=(
"${FILESDIR}/${P}-syslog.patch"
"${FILESDIR}/${P}-examples.patch"
"${FILESDIR}/${P}-conf-r1.patch"
)
pkg_setup() {
linux-info_pkg_setup
kernel_is ge 3 8 0 || die "Linux 3.8.0 or newer recommended"
CONFIG_CHECK="FANOTIFY FANOTIFY_ACCESS_PERMISSIONS"
check_extra_config
## define contents for README.gentoo
if use systemd; then
DOC_CONTENTS='Skyld AV provides a systemd service.'$'\n'
DOC_CONTENTS+='Please edit the systemd service config file to match your needs:'$'\n'
DOC_CONTENTS+='/etc/systemd/system/skyldav.service.d/00gentoo.conf'$'\n'
DOC_CONTENTS+='# systemctl daemon-reload'$'\n'
DOC_CONTENTS+='# systemctl restart skyldav.service'$'\n'
DOC_CONTENTS+='Example for enabling the Skyld AV service:'$'\n'
DOC_CONTENTS+='# systemctl enable skyldav.service'$'\n'
else
DOC_CONTENTS='Skyld AV provides an init script for OpenRC.'$'\n'
DOC_CONTENTS+='Please edit the init script config file to match your needs:'$'\n'
DOC_CONTENTS+='/etc/conf.d/skyldav'$'\n'
DOC_CONTENTS+='Example for enabling the Skyld AV init script:'$'\n'
DOC_CONTENTS+='# rc-update add skyldav default'$'\n'
fi
}
src_configure() {
local myeconfargs=(
$(use_with libnotify notification)
)
autotools-utils_src_configure
}
src_install() {
autotools-utils_src_install
## install systemd service or OpenRC init scripts
if use systemd; then
systemd_newunit "${FILESDIR}/skyldav.service-r1" skyldav.service
systemd_install_serviced "${FILESDIR}"/skyldav.service.conf
systemd_newtmpfilesd "${FILESDIR}"/skyldav.tmpfilesd skyldav.conf
else
newinitd "${FILESDIR}/${PN}.initd" ${PN}
newconfd "${FILESDIR}/${PN}.confd" ${PN}
fi
## create README.gentoo from ${DOC_CONTENTS}
DISABLE_AUTOFORMATTING=1 readme.gentoo_create_doc
}
pkg_postinst() {
## workaround for /usr/lib/tmpfiles.d/skyldav.conf
## not getting processed until the next reboot
if use systemd; then
install -d -m 0755 -o root -g root /run/skyldav
fi
}

View file

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -47,8 +47,8 @@ AUTOTOOLS_AUTORECONF="1"
AUTOTOOLS_IN_SOURCE_BUILD="1"
DOCS=( AUTHORS NEWS README )
PATCHES=(
"${FILESDIR}/${P}-examples.patch"
"${FILESDIR}/${P}-conf.patch"
"${FILESDIR}/${PN}-examples.patch"
"${FILESDIR}/${PN}-conf.patch"
)
pkg_setup() {

View file

@ -0,0 +1,64 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit user
DESCRIPTION="a client for signing certificates with an ACME-server"
HOMEPAGE="https://github.com/lukas2511/dehydrated"
SRC_URI="https://github.com/lukas2511/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="virtual/cron"
RDEPEND="
${DEPEND}
app-shells/bash
"
src_configure() {
default
sed -i 's,^#CONFIG_D=.*,CONFIG_D="/etc/dehydrated/config.d",' docs/examples/config || die "could not set config"
}
src_install() {
dobin "${PN}"
insinto "/etc/${PN}"
doins docs/examples/{config,domains.txt,hook.sh}
dodoc docs/*.md
insinto /etc/"${PN}"/config.d
doins "${FILESDIR}"/00_gentoo.sh
insinto "/etc/cron.d"
newins "${FILESDIR}"/cron "${PN}"
dodir /etc/"${PN}"/config.d
keepdir /etc/"${PN}"/config.d
default
}
pkg_preinst() {
enewgroup "${PN}"
enewuser "${PN}" -1 -1 /var/lib/"${PN}" "${PN}"
}
pkg_postinst() {
if [[ "${REPLACING_VERSIONS}" =~ (0\.3\.1|0\.4\.0) ]]; then
ewarn ""
ewarn "The new default BASEDIR is now '/var/lib/dehydrated'"
ewarn "Please consider migrating your data with a command like"
ewarn ""
ewarn " 'mv -v /etc/dehydrated/{accounts,archive,certs,lock} /var/lib/dehydrated'"
ewarn ""
ewarn "and make sure BASEDIR is set to '/var/lib/dehydrated'"
ewarn ""
fi
einfo "See /etc/dehydrated/config for configuration."
einfo "After finishing setup you should enable the cronjob in /etc/cron.d/dehydrated."
}

View file

@ -0,0 +1,2 @@
# base config required for gentoo defaults
BASEDIR="/var/lib/dehydrated"

View file

@ -0,0 +1,2 @@
# dehydrated cron job
#0 2 * * * dehydrated /usr/bin/dehydrated --cron

View file

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -12,7 +12,7 @@ SRC_URI="https://github.com/cernekee/${PN}/archive/v${PV}.tar.gz"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
KEYWORDS="amd64 arm ~arm64 ppc64 x86"
IUSE="gtk"
RDEPEND="

View file

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ppc ppc64 sparc x86"
KEYWORDS="alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86"
IUSE=""
RDEPEND="dev-lang/perl

View file

@ -1,691 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="ncurses,readline"
PLOCALES="bg de_DE fr_FR hu it tr zh_CN"
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
user udev fcaps readme.gentoo-r1 pax-utils l10n
if [[ ${PV} = *9999* ]]; then
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
inherit git-2
SRC_URI=""
else
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2"
KEYWORDS="amd64 ~arm64 ~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 bzip2 +caps +curl debug +fdt glusterfs \
gnutls gtk gtk2 infiniband iscsi +jpeg \
kernel_linux kernel_FreeBSD lzo ncurses nfs nls numa opengl +pin-upstream-blobs
+png pulseaudio python \
rbd sasl +seccomp sdl sdl2 selinux smartcard snappy spice ssh static static-softmmu
static-user systemtap tci test +threads usb usbredir vde +vhost-net \
virgl virtfs +vnc vte 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
x86_64"
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 moxie ppcemb tricore unicore32 xtensa xtensaeb"
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb mipsn32 mipsn32el ppc64abi32 ppc64le sparc32plus tilegx"
use_softmmu_targets=$(printf ' qemu_softmmu_targets_%s' ${IUSE_SOFTMMU_TARGETS})
use_user_targets=$(printf ' qemu_user_targets_%s' ${IUSE_USER_TARGETS})
IUSE+=" ${use_softmmu_targets} ${use_user_targets}"
# Allow no targets to be built so that people can get a tools-only build.
# Block USE flag configurations known to not work.
REQUIRED_USE="${PYTHON_REQUIRED_USE}
gtk2? ( gtk )
qemu_softmmu_targets_arm? ( fdt )
qemu_softmmu_targets_microblaze? ( fdt )
qemu_softmmu_targets_ppc? ( fdt )
qemu_softmmu_targets_ppc64? ( fdt )
sdl2? ( sdl )
static? ( static-softmmu static-user )
static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl !gtk !gtk2 )
virtfs? ( xattr )
vte? ( gtk )"
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
#
# The attr lib isn't always linked in (although the USE flag is always
# respected). This is because qemu supports using the C library's API
# when available rather than always using the extranl library.
#
# Older versions of gnutls are supported, but it's simpler to just require
# the latest versions. This is also why we require nettle.
#
# TODO: Split out tools deps into another var. e.g. bzip2 is only used by
# system binaries and tools, not user binaries.
COMMON_LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
sys-libs/zlib[static-libs(+)]
bzip2? ( app-arch/bzip2[static-libs(+)] )
xattr? ( sys-apps/attr[static-libs(+)] )"
SOFTMMU_LIB_DEPEND="${COMMON_LIB_DEPEND}
>=x11-libs/pixman-0.28.0[static-libs(+)]
accessibility? ( app-accessibility/brltty[static-libs(+)] )
aio? ( dev-libs/libaio[static-libs(+)] )
alsa? ( >=media-libs/alsa-lib-1.0.13 )
bluetooth? ( net-wireless/bluez )
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(+)] )
gnutls? (
dev-libs/nettle:=[static-libs(+)]
>=net-libs/gnutls-3.0:=[static-libs(+)]
)
gtk? (
gtk2? (
x11-libs/gtk+:2
vte? ( x11-libs/vte:0 )
)
!gtk2? (
x11-libs/gtk+:3
vte? ( x11-libs/vte:2.91 )
)
)
infiniband? ( sys-fabric/librdmacm:=[static-libs(+)] )
iscsi? ( net-libs/libiscsi )
jpeg? ( virtual/jpeg:0=[static-libs(+)] )
lzo? ( dev-libs/lzo:2[static-libs(+)] )
ncurses? ( sys-libs/ncurses:0=[static-libs(+)] )
nfs? ( >=net-fs/libnfs-1.9.3[static-libs(+)] )
numa? ( sys-process/numactl[static-libs(+)] )
opengl? (
virtual/opengl
media-libs/libepoxy[static-libs(+)]
media-libs/mesa[static-libs(+)]
media-libs/mesa[egl,gbm]
)
png? ( media-libs/libpng:0=[static-libs(+)] )
pulseaudio? ( media-sound/pulseaudio )
rbd? ( sys-cluster/ceph[static-libs(+)] )
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
sdl? (
!sdl2? (
media-libs/libsdl[X]
>=media-libs/libsdl-1.2.11[static-libs(+)]
)
sdl2? (
media-libs/libsdl2[X]
media-libs/libsdl2[static-libs(+)]
)
)
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
smartcard? ( >=app-emulation/libcacard-2.5.0[static-libs(+)] )
snappy? ( app-arch/snappy[static-libs(+)] )
spice? (
>=app-emulation/spice-protocol-0.12.3
>=app-emulation/spice-0.12.0[static-libs(+)]
)
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
usb? ( >=virtual/libusb-1-r2[static-libs(+)] )
usbredir? ( >=sys-apps/usbredir-0.6[static-libs(+)] )
vde? ( net-misc/vde[static-libs(+)] )
virgl? ( media-libs/virglrenderer[static-libs(+)] )
virtfs? ( sys-libs/libcap )
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
USER_LIB_DEPEND="${COMMON_LIB_DEPEND}"
X86_FIRMWARE_DEPEND="
>=sys-firmware/ipxe-1.0.0_p20130624
pin-upstream-blobs? (
~sys-firmware/seabios-1.10.1
~sys-firmware/sgabios-0.1_pre8
~sys-firmware/vgabios-0.7a
)
!pin-upstream-blobs? (
sys-firmware/seabios
sys-firmware/sgabios
sys-firmware/vgabios
)"
CDEPEND="
!static-softmmu? ( $(printf "%s? ( ${SOFTMMU_LIB_DEPEND//\[static-libs(+)]} ) " ${use_softmmu_targets}) )
!static-user? ( $(printf "%s? ( ${USER_LIB_DEPEND//\[static-libs(+)]} ) " ${use_user_targets}) )
qemu_softmmu_targets_i386? ( ${X86_FIRMWARE_DEPEND} )
qemu_softmmu_targets_x86_64? ( ${X86_FIRMWARE_DEPEND} )
python? ( ${PYTHON_DEPS} )
systemtap? ( dev-util/systemtap )
xen? ( app-emulation/xen-tools:= )"
DEPEND="${CDEPEND}
dev-lang/perl
=dev-lang/python-2*
sys-apps/texinfo
virtual/pkgconfig
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
gtk? ( nls? ( sys-devel/gettext ) )
static-softmmu? ( $(printf "%s? ( ${SOFTMMU_LIB_DEPEND} ) " ${use_softmmu_targets}) )
static-user? ( $(printf "%s? ( ${USER_LIB_DEPEND} ) " ${use_user_targets}) )
test? (
dev-libs/glib[utils]
sys-devel/bc
)"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-qemu )
"
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
usr/share/qemu/u-boot.e500
"
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.\n\n
For brand new installs, the default permissions on /dev/kvm might not let you
access it. You can tell udev to reset ownership/perms:\n
udevadm trigger -c add /dev/kvm"
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
if grep -qs '/usr/bin/qemu-kvm' "${EROOT}"/etc/libvirt/qemu/*.xml; then
eerror "The kvm/qemu-kvm wrappers no longer exist, but your libvirt"
eerror "instances are still pointing to it. Please update your"
eerror "configs in /etc/libvirt/qemu/ to use the -enable-kvm flag"
eerror "and the right system binary (e.g. qemu-system-x86_64)."
die "update your virt configs to not use qemu-kvm"
fi
}
pkg_setup() {
enewgroup kvm 78
}
# Sanity check to make sure target lists are kept up-to-date.
check_targets() {
local var=$1 mak=$2
local detected sorted
pushd "${S}"/default-configs >/dev/null || die
# Force C locale until glibc is updated. #564936
detected=$(echo $(printf '%s\n' *-${mak}.mak | sed "s:-${mak}.mak::" | LC_COLLATE=C sort -u))
sorted=$(echo $(printf '%s\n' ${!var} | LC_COLLATE=C sort -u))
if [[ ${sorted} != "${detected}" ]] ; then
eerror "The ebuild needs to be kept in sync."
eerror "${var}: ${sorted}"
eerror "$(printf '%-*s' ${#var} configure): ${detected}"
die "sync ${var} to the list of targets"
fi
popd >/dev/null
}
handle_locales() {
# Make sure locale list is kept up-to-date.
local detected sorted
detected=$(echo $(cd po && printf '%s\n' *.po | grep -v messages.po | sed 's:.po$::' | sort -u))
sorted=$(echo $(printf '%s\n' ${PLOCALES} | sort -u))
if [[ ${sorted} != "${detected}" ]] ; then
eerror "The ebuild needs to be kept in sync."
eerror "PLOCALES: ${sorted}"
eerror " po/*.po: ${detected}"
die "sync PLOCALES"
fi
# Deal with selective install of locales.
if use nls ; then
# Delete locales the user does not want. #577814
rm_loc() { rm po/$1.po || die; }
l10n_for_each_disabled_locale_do rm_loc
else
# Cheap hack to disable gettext .mo generation.
rm -f po/*.po
fi
}
src_prepare() {
check_targets IUSE_SOFTMMU_TARGETS softmmu
check_targets IUSE_USER_TARGETS linux-user
# 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}"/${PN}-2.5.0-cflags.patch
epatch "${FILESDIR}"/${PN}-2.5.0-sysmacros.patch
epatch "${FILESDIR}"/${PN}-2.7.0-CVE-2016-8669-1.patch #597108
epatch "${FILESDIR}"/${PN}-2.8.0-CVE-2016-9908.patch #601826
epatch "${FILESDIR}"/${PN}-2.8.0-CVE-2016-9912.patch #602630
epatch "${FILESDIR}"/${PN}-2.8.0-CVE-2016-10028.patch #603444
epatch "${FILESDIR}"/${PN}-2.8.0-CVE-2016-10155.patch #606720
epatch "${FILESDIR}"/${PN}-2.8.0-CVE-2017-2615.patch #608034
epatch "${FILESDIR}"/${PN}-2.8.0-CVE-2017-5525-1.patch #606264
epatch "${FILESDIR}"/${PN}-2.8.0-CVE-2017-5525-2.patch
epatch "${FILESDIR}"/${PN}-2.8.0-CVE-2017-5552.patch #606722
epatch "${FILESDIR}"/${PN}-2.8.0-CVE-2017-5578.patch #607000
epatch "${FILESDIR}"/${PN}-2.8.0-CVE-2017-5579.patch #607100
epatch "${FILESDIR}"/${PN}-2.8.0-CVE-2017-5667.patch #607766
epatch "${FILESDIR}"/${PN}-2.8.0-CVE-2017-5856.patch #608036
epatch "${FILESDIR}"/${PN}-2.8.0-CVE-2017-5857.patch #608038
epatch "${FILESDIR}"/${PN}-2.8.0-CVE-2017-5898.patch #608520
epatch "${FILESDIR}"/${PN}-2.8.0-CVE-2017-5931.patch #608728
# Fix ld and objcopy being called directly
tc-export AR LD OBJCOPY
# Verbose builds
MAKEOPTS+=" V=1"
epatch_user
# Run after we've applied all patches.
handle_locales
}
##
# 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="${S}/${buildtype}-build"
local static_flag="static-${buildtype}"
mkdir "${builddir}"
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
# We support gnutls/nettle for crypto operations. It is possible
# to use gcrypt when gnutls/nettle are disabled (but not when they
# are enabled), but it's not really worth the hassle. Disable it
# all the time to avoid automatically detecting it. #568856
--disable-gcrypt
--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)
$(use_enable xattr attr)
)
# Disable options not used by user targets as the default configure
# options will autoprobe and try to link in a bunch of unused junk.
conf_softmmu() {
if [[ ${buildtype} == "user" ]] ; then
echo "--disable-${2:-$1}"
else
use_enable "$@"
fi
}
conf_opts+=(
$(conf_softmmu accessibility brlapi)
$(conf_softmmu aio linux-aio)
$(conf_softmmu bzip2)
$(conf_softmmu bluetooth bluez)
$(conf_softmmu caps cap-ng)
$(conf_softmmu curl)
$(conf_softmmu fdt)
$(conf_softmmu glusterfs)
$(conf_softmmu gnutls)
$(conf_softmmu gnutls nettle)
$(conf_softmmu gtk)
$(conf_softmmu infiniband rdma)
$(conf_softmmu iscsi libiscsi)
$(conf_softmmu jpeg vnc-jpeg)
$(conf_softmmu kernel_linux kvm)
$(conf_softmmu lzo)
$(conf_softmmu ncurses curses)
$(conf_softmmu nfs libnfs)
$(conf_softmmu numa)
$(conf_softmmu opengl)
$(conf_softmmu png vnc-png)
$(conf_softmmu rbd)
$(conf_softmmu sasl vnc-sasl)
$(conf_softmmu sdl)
$(conf_softmmu seccomp)
$(conf_softmmu smartcard)
$(conf_softmmu snappy)
$(conf_softmmu spice)
$(conf_softmmu ssh libssh2)
$(conf_softmmu usb libusb)
$(conf_softmmu usbredir usb-redir)
$(conf_softmmu vde)
$(conf_softmmu vhost-net)
$(conf_softmmu virgl virglrenderer)
$(conf_softmmu virtfs)
$(conf_softmmu vnc)
$(conf_softmmu vte)
$(conf_softmmu xen)
$(conf_softmmu xen xen-pci-passthrough)
$(conf_softmmu xfs xfsctl)
)
case ${buildtype} in
user)
conf_opts+=(
--enable-linux-user
--disable-system
--disable-blobs
--disable-tools
)
;;
softmmu)
# 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}"
conf_opts+=(
--disable-linux-user
--enable-system
--with-system-pixman
--audio-drv-list="${audio_opts}"
)
use gtk && conf_opts+=( --with-gtkabi=$(usex gtk2 2.0 3.0) )
use sdl && conf_opts+=( --with-sdlabi=$(usex sdl2 2.0 1.2) )
;;
tools)
conf_opts+=(
--disable-linux-user
--disable-system
--disable-blobs
$(use_enable bzip2)
)
static_flag="static"
;;
esac
local targets="${buildtype}_targets"
[[ -n ${targets} ]] && conf_opts+=( --target-list="${!targets}" )
# 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
echo "../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_setup
softmmu_targets= softmmu_bins=()
user_targets= user_bins=()
for target in ${IUSE_SOFTMMU_TARGETS} ; do
if use "qemu_softmmu_targets_${target}"; then
softmmu_targets+=",${target}-softmmu"
softmmu_bins+=( "qemu-system-${target}" )
fi
done
for target in ${IUSE_USER_TARGETS} ; do
if use "qemu_user_targets_${target}"; then
user_targets+=",${target}-linux-user"
user_bins+=( "qemu-${target}" )
fi
done
softmmu_targets=${softmmu_targets#,}
user_targets=${user_targets#,}
[[ -n ${softmmu_targets} ]] && qemu_src_configure "softmmu"
[[ -n ${user_targets} ]] && qemu_src_configure "user"
[[ -z ${softmmu_targets}${user_targets} ]] && qemu_src_configure "tools"
}
src_compile() {
if [[ -n ${user_targets} ]]; then
cd "${S}/user-build"
default
fi
if [[ -n ${softmmu_targets} ]]; then
cd "${S}/softmmu-build"
default
fi
if [[ -z ${softmmu_targets}${user_targets} ]]; then
cd "${S}/tools-build"
default
fi
}
src_test() {
if [[ -n ${softmmu_targets} ]]; then
cd "${S}/softmmu-build"
pax-mark m */qemu-system-* #515550
emake -j1 check
emake -j1 check-report.html
fi
}
qemu_python_install() {
python_domodule "${S}/scripts/qmp/qmp.py"
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
# This might not exist if the test failed. #512010
[[ -e check-report.html ]] && dohtml check-report.html
if use kernel_linux; then
udev_dorules "${FILESDIR}"/65-kvm.rules
fi
if use python; then
python_foreach_impl qemu_python_install
fi
fi
if [[ -z ${softmmu_targets}${user_targets} ]]; then
cd "${S}/tools-build"
emake DESTDIR="${ED}" install
fi
# Disable mprotect on the qemu binaries as they use JITs to be fast #459348
pushd "${ED}"/usr/bin >/dev/null
pax-mark m "${softmmu_bins[@]}" "${user_bins[@]}"
popd >/dev/null
# 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/" || die
cd "${S}"
dodoc Changelog MAINTAINERS docs/specs/pci-ids.txt
newdoc pc-bios/README README.pc-bios
dodoc docs/qmp-*.txt
if [[ -n ${softmmu_targets} ]]; then
# 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
fi
qemu_support_kvm && readme.gentoo_create_doc
}
pkg_postinst() {
if qemu_support_kvm; then
readme.gentoo_print_elog
fi
if [[ -n ${softmmu_targets} ]] && use kernel_linux; then
udev_reload
fi
fcaps cap_net_admin /usr/libexec/qemu-bridge-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)"
}

View file

@ -1 +1,2 @@
DIST runc-1.0.0_rc2.tar.gz 550449 SHA256 638742c48426b9a3281aeb619e27513d972de228bdbd43b478baea99c186d491 SHA512 83a3d45efbb86d3d583b96062202b9e60121d250af2c0dd37d07fda574b642aa6f05e29cac6644ad3d624647400db694082e280383e41ca9f31dc0a33b87ed76 WHIRLPOOL 990a45739689db80bbeed43b0fd3a4ce4d0563ea833361b9112e750782313f19e638c4bfbd455f5dd1882d64c724dcf0213701322029c2c9f98f624863c744f3
DIST runc-1.0.0_rc2_p20170222.tar.gz 576999 SHA256 1ee6491b9c14e0ce9e0546ed92e3eb4bdc60cf4b5e58b6de0455dbe3b03145cb SHA512 fe293057f55eee4f3821004af730ad57f512d610d7cf3693b26e69ffa068c8c28da5426b9f4988627c0803ecd1d46b6e427db8f1703649f5861859d61cd24bbd WHIRLPOOL 561c09ffc7d3e0f1dd73f3711adb85b74d5fea265181cdd1535a83d23a164c1e4cb884053c0b46c968b0b582feeb2ccc9eb99e3e086b1fcbcce0813f4444172c

View file

@ -0,0 +1,57 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
EGO_PN="github.com/opencontainers/${PN}"
if [[ ${PV} == *9999 ]]; then
inherit golang-vcs
else
MY_PV="${PV/_/-}"
EGIT_COMMIT="bd2f9c52cd3b766d993924ae6eba72b82998f3bd"
RUNC_COMMIT="bd2f9c" # Change this when you update the ebuild
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~ppc64"
inherit golang-vcs-snapshot
fi
DESCRIPTION="runc container cli tools"
HOMEPAGE="http://runc.io"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="apparmor hardened +seccomp"
RDEPEND="
apparmor? ( sys-libs/libapparmor )
seccomp? ( sys-libs/libseccomp )
"
S=${WORKDIR}/${P}/src/${EGO_PN}
src_compile() {
# Taken from app-emulation/docker-1.7.0-r1
export CGO_CFLAGS="-I${ROOT}/usr/include"
export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
-L${ROOT}/usr/$(get_libdir)"
# Setup GOPATH so things build
rm -rf .gopath
mkdir -p .gopath/src/"$(dirname "${GITHUB_URI}")"
ln -sf ../../../.. .gopath/src/"${GITHUB_URI}"
export GOPATH="${PWD}/.gopath:${PWD}/vendor"
# build up optional flags
local options=(
$(usex apparmor 'apparmor')
$(usex seccomp 'seccomp')
)
emake BUILDTAGS="${options[*]}" \
COMMIT="${RUNC_COMMIT}"
}
src_install() {
dobin runc
}

View file

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -54,7 +54,7 @@ DEPEND="${RDEPEND}
dev-lang/perl
dev-util/intltool"
DOCS=( README NEWS )
DOCS=( README.md NEWS.md )
src_prepare() {
distutils-r1_src_prepare

View file

@ -7,4 +7,4 @@ DIST xen-4.8.0.tar.gz 22499917 SHA256 1e15c713ab7ba3bfda8b4a285ed973529364fd1100
DIST xen-gentoo-patches-9.tar.xz 27456 SHA256 67c410d12ef4628a8c0a931e5868b425f2eb4b2f0e307304a75384cbe509734b SHA512 9a797be9dd2392c34b3f6561c2274e116b4f5b114f4520dbbd0b51818c774479ceabb45aa916f93c1a2bc49787f4ca6e6c83bc743baa6bdeef91d77276b20f36 WHIRLPOOL c41cde532726bb55acd05d558b35d575b229d2ee64eba7438f7b196df313f0e44154148c1e47bf6e8c810667b3b237bcfa410371b4bb6f097b981f6b2637ead3
DIST xen-ovmf-patches-2.tar.xz 4344 SHA256 495d61d718440057f8b0b54fb57061450dd764c6e87fe5f8bda1785bcddba770 SHA512 0bdc83029a01b613f5c1ca029bd45aebe211c332f09db91a0cc7d6b6f85a81dbbfdc20c62f0d20e973ee41b155a6551a4fad518cb792e1d508bf070e23d6a1d3 WHIRLPOOL 8346d68fa5d2a8e8a5c007b55e2b85cf48df045cc8c4818f09c756d28a52dd856671f37b4a53478e9b96ca9d2eca0c67fd15f009a94d1d2dfed8e83e596d9633
DIST xen-security-patches-21.tar.xz 6888 SHA256 76e43fb4c41a606cb1a5e56045dedff0ed3c94b535d89a736664965ee4a44699 SHA512 eb889d90630b6a7c4b9785bf8c2db1d83c7878cec3aa125601b38f75f70a965e52aa5003024feec40d35ee940975dfd766eeb806cdcff717991876d50ce0839b WHIRLPOOL 9039cc7410fbb0e36e1ab74d597c7b1075f92e43b9d22bcb198c0594a0802fca50f86a9fa4343cea83a68eacd6acb6fa0ef73fbd20c19a27f5e92c3f32711af8
DIST xen-security-patches-22.tar.xz 7600 SHA256 2620473184148d1c05aa2317beac487bb7d56065b3a78b7c863f3cd290458519 SHA512 6bd2d0a355b03f6f36331814c00d65ab4547c9ac978b8c5317cb042e11a6eeb7ac588032259c8d9ef9be83939add95bb58d8e8b7f1b8d68dc4627c6808db5eb6 WHIRLPOOL c4f6edafb7e101b9a7e2b42a7626409926628a1f73df15c3357422f52ad3da201aba1b0b09e6203f42e9990902cf47455eb5c16f7b35cdd4dca4bcdbf0a9fb39
DIST xen-security-patches-23.tar.xz 8280 SHA256 caab81e99c4ec7128119141cb344ce60137c019ffc546ec76c25a7e505063f08 SHA512 921730acde0c6f9a4e62fc22805e76f9c2fe5459dd126a2bda2e9cbe615f52ccbcc0241021cf128b2e8dd870ba5fba8b193005142db01ecf55612b276ca8866b WHIRLPOOL 0634d8b97897de8878190537a727afbc0fdf7dd197d34f1bf443073fe5af2aacf3d93b36cd407ec21561871fa9eb0efc6615c34fae1368e7d7a1deef96c31e6b

View file

@ -19,9 +19,9 @@ if [[ $PV == *9999 ]]; then
EGIT_REPO_URI="git://xenbits.xen.org/${REPO}"
S="${WORKDIR}/${REPO}"
else
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
KEYWORDS="amd64 ~arm ~arm64 x86"
UPSTREAM_VER=0
SECURITY_VER=22
SECURITY_VER=23
# xen-tools's gentoo patches tarball
GENTOO_VER=9
# xen-tools's gentoo patches version which apply to this specific ebuild

View file

@ -21,7 +21,7 @@ if [[ $PV == *9999 ]]; then
else
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
UPSTREAM_VER=
SECURITY_VER=22
SECURITY_VER=23
# xen-tools's gentoo patches tarball
GENTOO_VER=9
# xen-tools's gentoo patches version which apply to this specific ebuild

View file

@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="debug nethack pam selinux multiuser"
CDEPEND="

View file

@ -1,2 +1 @@
DIST obexftp-0.23.tar.bz2 402552 SHA256 44a74ff288d38c0f75354d6bc2efe7d6dec10112eaff2e7b10e292b0d2105b36 SHA512 026a2a641fa46dc41ff131b78e87c2aa5fce126d36aa2d8b1783c7fe134a786bbf9908f660018fe459e5d729c36303f5efb2f5b2af64001a2344dce8c322e513 WHIRLPOOL d8386862c25c420ffae7089bb33b517406a6a4eecac52ad6376f3d2c5b034549e8cf86651b4ad3231b21822049b02d01863dae8776b957eb8d538c426ba4431f
DIST obexftp-0.24-Source.tar.gz 88154 SHA256 b907965608bf0e60c69bc45f074ce1a2ffeb809b4502a7082c6d95e3c73dfe6b SHA512 785449665f5e9269d7bfd15f379bd8fbad321780292e56341e2089d6894255b7301fc23bb27a80e4e6f6317a130b658dedd307b7ece0fd31ef8f1a109c6f21b9 WHIRLPOOL 9f6fd5df3fbc8fa161ecff091b02932ac73e60d6a6eb1e15a32d9b871e6668fd86d0c4d6027f13c724cc1e7a8b40e1e02f8c0c32f0ac43076193e2048ba751df

View file

@ -1,104 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
PYTHON_COMPAT=( python2_7 )
GENTOO_DEPEND_ON_PERL=no
inherit distutils-r1 eutils perl-module flag-o-matic autotools
DESCRIPTION="File transfer over OBEX for mobile phones"
HOMEPAGE="http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp"
SRC_URI="mirror://sourceforge/openobex/${P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 hppa ppc ~sparc x86"
IUSE="bluetooth debug perl python ruby tcl"
RDEPEND="dev-libs/openobex
bluetooth? ( net-wireless/bluez )
perl? ( dev-lang/perl:= )
ruby? ( dev-lang/ruby:1.9 )
tcl? ( dev-lang/tcl:0= )
"
DEPEND="${RDEPEND}
virtual/pkgconfig
"
src_prepare() {
epatch "${FILESDIR}"/${P}-fixruby.patch \
"${FILESDIR}"/${P}-gentoo.patch \
"${FILESDIR}"/${P}-fix-ruby19.patch
# Python bindings are built/installed manually.
sed -e "/MAYBE_PYTHON_ = python/d" -i swig/Makefile.am || die "sed failed"
eautoreconf
}
src_configure() {
if use debug ; then
strip-flags
append-flags "-g -DOBEXFTP_DEBUG=5"
fi
local MYRUBY
use ruby && MYRUBY="RUBY=/usr/bin/ruby19"
econf \
$(use_enable bluetooth) \
$(use_enable perl) \
$(use_enable python) \
$(use_enable tcl) \
$(use_enable ruby) \
${MYRUBY}
}
src_compile() {
default
if use python; then
pushd swig/python/
distutils-r1_src_compile
popd
fi
}
src_install() {
# -j1 because "make -fMakefile.ruby install" fails
# upstream added -j1 to that command so it should be removed
# from here in the next version bump
emake -j1 DESTDIR="${D}" INSTALLDIRS=vendor install
if use python; then
pushd swig/python/
distutils-r1_src_install
popd
fi
dodoc AUTHORS ChangeLog NEWS README* THANKS TODO
dohtml doc/*.html
# Install examples
insinto /usr/share/doc/${PF}/examples
doins examples/*.c
use perl && doins examples/*.pl
use python && doins examples/*.py
use ruby && doins examples/*.rb
use tcl && doins examples/*.tcl
if use perl ; then
perl_delete_localpod
perl_delete_packlist
fi
}
pkg_postinst() {
use python && distutils-r1_pkg_postinst
}
pkg_postrm() {
use python && distutils-r1_pkg_postrm
}

View file

@ -23,7 +23,7 @@ RDEPEND="
net-wireless/bluez
perl? ( dev-lang/perl:= )
python? ( ${PYTHON_DEPS} )
ruby? ( || ( dev-lang/ruby:2.1 dev-lang/ruby:2.0 ) )
ruby? ( dev-lang/ruby:2.1 )
tcl? ( dev-lang/tcl:0= )
"
DEPEND="

View file

@ -15,7 +15,7 @@ if [[ ${PV} == 9999 ]]; then
S="${WORKDIR}/${P}/repoman"
else
SRC_URI="https://dev.gentoo.org/~dolsen/releases/${PN}/${P}.tar.bz2"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
DESCRIPTION="Repoman is a Quality Assurance tool for Gentoo ebuilds"

View file

@ -12,7 +12,7 @@ SRC_URI="https://github.com/2ion/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
KEYWORDS="amd64"
IUSE="luajit"
COMMON_DEPEND=">=media-video/mpv-0.14.0[cli]"

View file

@ -1 +1,2 @@
DIST mdocml-1.13.4.tar.gz 370428 SHA256 0a55c1addb188071d6f784599303656b8465e98ec6b2f4f264e12fb96d79e0ef SHA512 1d671651ca1bb81d0de86e34de8b95a3bde5b335bda03d1b83b601e26eed167af6ef8bac6f9935603e57514f2734cd8f979ed556c76db629dd5c685892d71ec2 WHIRLPOOL cba6d6e34d59a772ef6339b91ec57d7f9b0f6b7345567445eedd230d5c7f05971b70789fe4d338e226e863c47ca9f32667ff5ff03eaa8db97add1b1346523194
DIST mdocml-1.14.1.tar.gz 549302 SHA256 356954f141ec6f5635e938c826f2e16e4619bb361c64d84a31f6775d030a615b SHA512 90f00297d162faa404fe4e530f95422c210b8d23a0be5a115c2c8c17255d366e224444901842affb06ed8aaf8febd3e5c79966ff713fa7daf00e8c48b7a857c6 WHIRLPOOL 28f67bd250d8fe7730bb6906b4dd9fc67362e36af23c2fd43d2109f0db2eb227db023b12b946d0a71e198b3f199665b21e935a016f577c4f35fa0b732e9918d3

View file

@ -0,0 +1,67 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
MY_PN="mdocml"
MY_P="${MY_PN}-${PV}"
inherit multilib toolchain-funcs
DESCRIPTION="Suite of tools compiling mdoc and man"
HOMEPAGE="http://mdocml.bsd.lv/"
SRC_URI="http://mdocml.bsd.lv/snapshots/${MY_P}.tar.gz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="sqlite static"
LIB_DEPEND="sys-libs/zlib[static-libs(+)]
sqlite? ( dev-db/sqlite:3[static-libs(+)] )"
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
DEPEND="${RDEPEND}
static? ( ${LIB_DEPEND} )"
S="${WORKDIR}/${MY_P}"
src_prepare() {
default
# The db-install change is to support parallel installs.
sed -i \
-e '/ar rs/s:ar:$(AR):' \
-e '/^db-install:/s:$: base-install:' \
Makefile || die
cat <<EOF > "configure.local"
PREFIX="${EPREFIX}/usr"
BINDIR="${EPREFIX}/usr/bin"
SBINDIR="${EPREFIX}/usr/sbin"
LIBDIR="${EPREFIX}/usr/$(get_libdir)"
MANDIR="${EPREFIX}/usr/share/man"
INCLUDEDIR="${EPREFIX}/usr/include/mandoc"
EXAMPLEDIR="${EPREFIX}/usr/share/examples/mandoc"
MANPATH_DEFAULT="${EPREFIX}/usr/man:${EPREFIX}/usr/share/man:${EPREFIX}/usr/local/man:${EPREFIX}/usr/local/share/man"
BINM_MAN=mman
BINM_SOELIM=msoelim
BINM_APROPOS=mapropos
BINM_WHATIS=mwhatis
BINM_MAKEWHATIS=mmakewhatis
MANM_MAN=mandoc_man
MANM_MDOC=mandoc_mdoc
MANM_ROFF=mandoc_roff
MANM_EQN=mandoc_eqn
MANM_TBL=mandoc_tbl
HAVE_SQLITE3="$(usex sqlite 1 0)"
CFLAGS="${CFLAGS} ${CPPFLAGS}"
LDFLAGS="${LDFLAGS} $(usex static -static '')"
AR="$(tc-getAR)"
CC="$(tc-getCC)"
# The STATIC variable is only used by man.cgi.
STATIC=
EOF
}

View file

@ -18,9 +18,7 @@ EGIT_BRANCH="develop"
LICENSE="ZLIB"
SLOT="0"
if ! [[ ${PV} == 9999* ]]; then
KEYWORDS="~amd64 ~arm ~x86"
else
KEYWORDS=""
KEYWORDS="~amd64 arm ~x86"
fi
IUSE=""

View file

@ -18,9 +18,7 @@ EGIT_BRANCH="develop"
LICENSE="ZLIB"
SLOT="0"
if ! [[ ${PV} == 9999* ]]; then
KEYWORDS="~amd64 ~arm ~x86"
else
KEYWORDS=""
KEYWORDS="~amd64 arm ~x86"
fi
IUSE=""

View file

@ -18,9 +18,7 @@ EGIT_BRANCH="develop"
LICENSE="ZLIB"
SLOT="0"
if ! [[ ${PV} == 9999* ]]; then
KEYWORDS="~amd64 ~x86"
else
KEYWORDS=""
KEYWORDS="~amd64 arm ~x86"
fi
IUSE=""

View file

@ -18,9 +18,7 @@ EGIT_BRANCH="develop"
LICENSE="ZLIB"
SLOT="0"
if ! [[ ${PV} == 9999* ]]; then
KEYWORDS="~amd64 ~arm ~x86"
else
KEYWORDS=""
KEYWORDS="~amd64 arm ~x86"
fi
IUSE=""

View file

@ -18,9 +18,7 @@ EGIT_BRANCH="develop"
LICENSE="ZLIB"
SLOT="0"
if ! [[ ${PV} == 9999* ]]; then
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
else
KEYWORDS=""
KEYWORDS="~amd64 arm ~x86 ~amd64-linux ~x86-linux"
fi
IUSE=""

View file

@ -18,9 +18,7 @@ EGIT_BRANCH="develop"
LICENSE="ZLIB"
SLOT="0"
if ! [[ ${PV} == 9999* ]]; then
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
else
KEYWORDS=""
KEYWORDS="~amd64 arm ~x86 ~amd64-linux ~x86-linux"
fi
IUSE="+magic sqlite synctex test"

View file

@ -12,7 +12,7 @@ SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="gflags static-libs test unwind"
RDEPEND="

View file

@ -11,7 +11,7 @@ HOMEPAGE="http://www.mono-project.com"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~x86-solaris"
SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.gz"
IUSE="cairo"

View file

@ -1,3 +1,4 @@
DIST tiled-0.17.2.tar.gz 4854767 SHA256 a9c5d68ccc00d89df8611df6c1c37aa8796fffcff968f3993f6d78686678c4b9 SHA512 c5c9cfe50f32adf4c146e8d9a08393b173d59aafee3df747bfb7a0137fe9580dcbf07518d6972491393f9f24289d628c4352a7359acbd06d500cd3ad0200fa42 WHIRLPOOL db45e8b2f5f743126db19d546ad9a8c0bca7e71ec9e2f54f447fcb228ab13cfb3e6d0d2f52482650b29608c31f774669427e1c6b6e3656fee529825ab0c1d533
DIST tiled-0.18.0.tar.gz 6403889 SHA256 f3ef157e9446d7b0ec50ab8399644d52e03065e7860354f632bbbb318fe35933 SHA512 dec480c2c2fb39180ebbc241b75f864ebebf52fcbc1cd8ae114fdca57f696096d5659ba572089f8f40339bc0c92fa6cdb36774773b808cc187d790542f6b16be WHIRLPOOL 3b31250bf69f69264f3688715290123c7ef76d0a5621d14621929a7b524e501576a26bac9988a292a8dd3cbe0a6231744728bceaf84272cad31c995cc5a9e156
DIST tiled-0.18.1.tar.gz 6407937 SHA256 7fcd31a6f1307e51e3e72666ada43b85e2afaa95559d48f511c39494c30d2e73 SHA512 d7918ad81f6563910d10260f50d37a6d01df649cc653a657ed24a59e4f1b0b0b10df30fed40c9c082cec0548b41b7b04662aefc6b08b721fc04a291bee7df062 WHIRLPOOL c36f5a41b1962fd0615a0989beef7dae6cb58af7d881b703527caebfca12e9c966f6fdb3231a7f2f19ed298d06ad076957ba1f63db6b029b342abe0248ffaf47
DIST tiled-0.18.2.tar.gz 6409369 SHA256 575e110dd4904f785222d9a298f63eddf5c5b0b8f1450cb684ef3a9ae91292cd SHA512 6cb6844541fc4e52e05e8d12974af395161fbe0c03dddd9be362b6df7a88620ddf13c3a96f8cdb175662d3ae13f162137cf74b6b4c2664ca7dd753e3cb48cd26 WHIRLPOOL 2945156eb99f88d65fa276e1d9a52724e09c996b35fa2bf1d198a41f5785cd52da3d090c268ac4a445dbf94cac12b66ab515b0786ff8bcd9798176220cc937bf

View file

@ -0,0 +1,69 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit fdo-mime gnome2-utils multilib python-single-r1 qmake-utils
DESCRIPTION="A general purpose tile map editor"
HOMEPAGE="http://www.mapeditor.org/"
SRC_URI="https://github.com/bjorn/tiled/archive/v${PV}/${P}.tar.gz"
LICENSE="BSD BSD-2 GPL-2+"
SLOT="0"
KEYWORDS="~amd64"
IUSE="examples python"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="
>=dev-qt/qtcore-5.6:5
>=dev-qt/qtgui-5.6:5
>=dev-qt/qtnetwork-5.6:5
>=dev-qt/qtopengl-5.6:5
>=dev-qt/qtwidgets-5.6:5
sys-libs/zlib
python? ( ${PYTHON_DEPS} )
"
DEPEND="${RDEPEND}
dev-qt/linguist-tools:5
"
DOCS=( AUTHORS COPYING NEWS.md README.md )
pkg_setup() {
use python && python-single-r1_pkg_setup
}
src_configure() {
eqmake5 LIBDIR="/usr/$(get_libdir)" PREFIX="/usr" DISABLE_PYTHON_PLUGIN="$(usex !python)"
}
src_install() {
emake INSTALL_ROOT="${D}" install
einstalldocs
if use examples ; then
docompress -x /usr/share/doc/${PF}/examples
dodoc -r examples
fi
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
}
pkg_postrm() {
gnome2_icon_cache_update
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
}

View file

@ -32,7 +32,7 @@ RDEPEND="dev-haskell/aeson:=[profile?]
executable? ( dev-haskell/pretty-show:=[profile?] )
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.18.1.3
>=dev-haskell/cabal-1.24.2.0
test? ( dev-haskell/diff
dev-haskell/hunit
dev-haskell/random

View file

@ -19,7 +19,7 @@ LICENSE="PHP-3.01
unicode? ( BSD-2 LGPL-2.1 )"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
# We can build the following SAPIs in the given order
SAPIS="embed cli cgi fpm apache2 phpdbg"

View file

@ -29,7 +29,7 @@ SRC_URI="https://github.com/zeroc-ice/ice/archive/v${PV}.tar.gz -> ${P}.tar.gz
doc? ( http://download.zeroc.com/Ice/$(get_version_component_range 1-2)/${P}.pdf )"
LICENSE="GPL-2"
SLOT="0/36"
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="doc examples libressl +ncurses mono php python ruby test debug"
RDEPEND=">=dev-libs/expat-2.0.1

View file

@ -18,9 +18,7 @@ EGIT_BRANCH="develop"
LICENSE="ZLIB"
SLOT="3"
if ! [[ ${PV} == 9999* ]]; then
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
else
KEYWORDS=""
KEYWORDS="~amd64 arm ~x86 ~amd64-linux ~x86-linux"
fi
IUSE="libnotify static-libs test"

View file

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -12,7 +12,7 @@ SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd"
IUSE="ssl"
RDEPEND="ssl? ( net-libs/gnutls )"

View file

@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -7,8 +7,8 @@ EAPI=5
inherit eutils multilib-minimal toolchain-funcs flag-o-matic
DESCRIPTION="Asynchronous input/output library that uses the kernels native interface"
HOMEPAGE="https://git.fedorahosted.org/cgit/libaio.git/ http://lse.sourceforge.net/io/aio.html"
SRC_URI="https://fedorahosted.org/releases/${PN:0:1}/${PN:1:1}/${PN}/${P}.tar.gz"
HOMEPAGE="http://lse.sourceforge.net/io/aio.html"
SRC_URI="mirror://debian/pool/main/liba/${PN}/${PN}_${PV}.orig.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"

View file

@ -11,7 +11,7 @@ SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz"
LICENSE="BSD BSD-2 BSD-4 ISC"
SLOT="0"
KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
IUSE="static-libs"
DEPEND=">=sys-kernel/linux-headers-3.17"

View file

@ -12,7 +12,7 @@ SRC_URI="http://files.libburnia-project.org/releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ppc ppc64 ~sparc ~x86"
IUSE="cdio debug static-libs track-src-odirect"
RDEPEND="cdio? ( >=dev-libs/libcdio-0.83 )"

View file

@ -13,7 +13,7 @@ SRC_URI="http://dist.schmorp.de/libev/${P}.tar.gz
LICENSE="|| ( BSD GPL-2 )"
SLOT="0"
KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="elibc_glibc static-libs"
# Bug #283558

View file

@ -12,7 +12,7 @@ SRC_URI="http://files.libburnia-project.org/releases/${P}.tar.gz"
LICENSE="GPL-2 GPL-3"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ~ppc ~ppc64 ~x86"
KEYWORDS="alpha amd64 arm ~arm64 hppa ppc ppc64 ~x86"
IUSE="acl cdio debug external-filters external-filters-setuid frontend-optional
launch-frontend launch-frontend-setuid libedit readline static-libs xattr zlib"

View file

@ -12,7 +12,7 @@ SRC_URI="http://files.libburnia-project.org/releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ppc ppc64 ~sparc ~x86"
IUSE="acl debug static-libs verbose-debug xattr zlib"
RDEPEND="acl? ( virtual/acl )

View file

@ -11,7 +11,7 @@ IUSE="ssl"
LICENSE="BSD-2"
SLOT="2"
KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
RDEPEND="ssl? ( dev-libs/openssl )"
DEPEND="${RDEPEND}"
DOCS="AUTHORS README doc/BOOST doc/design-concepts.txt"

View file

@ -0,0 +1,33 @@
--- libutf8proc-1.3.1-2/test/iterate.c
+++ libutf8proc-1.3.1-2/test/iterate.c
@@ -13,11 +13,17 @@ static void testbytes(unsigned char *buf, int len, utf8proc_ssize_t retval, int
utf8proc_int32_t out[16];
utf8proc_ssize_t ret;
+ /* Make a copy to ensure that memory is left uninitialized after "len"
+ * bytes. This way, Valgrind can detect overreads.
+ */
+ unsigned char tmp[16];
+ memcpy(tmp, buf, len);
+
tests++;
- if ((ret = utf8proc_iterate(buf, len, out)) != retval) {
+ if ((ret = utf8proc_iterate(tmp, len, out)) != retval) {
fprintf(stderr, "Failed (%d):", line);
for (int i = 0; i < len ; i++) {
- fprintf(stderr, " 0x%02x", buf[i]);
+ fprintf(stderr, " 0x%02x", tmp[i]);
}
fprintf(stderr, " -> %zd\n", ret);
error++;
--- libutf8proc-1.3.1-2/src/utf8proc.c
+++ libutf8proc-1.3.1-2/src/utf8proc.c
@@ -128,7 +128,7 @@ UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_iterate(
if ((uc - 0xc2) > (0xf4-0xc2)) return UTF8PROC_ERROR_INVALIDUTF8;
if (uc < 0xe0) { // 2-byte sequence
// Must have valid continuation character
- if (!utf_cont(*str)) return UTF8PROC_ERROR_INVALIDUTF8;
+ if (str >= end || !utf_cont(*str)) return UTF8PROC_ERROR_INVALIDUTF8;
*dst = ((uc & 0x1f)<<6) | (*str & 0x3f);
return 2;
}

View file

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -20,4 +20,6 @@ IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}"/${PN}-1.3.1_p2-overrun.patch )
S="${WORKDIR}/${P/_p/-}"

View file

@ -1,2 +1 @@
DIST openobex-1.5.tar.gz 400876 SHA256 e602047570799a47ecb028420bda8f2cef41310e5a99d084de10aa9422935e65 SHA512 a9b8a49a1146c4aa69eb2e1ccc56a2c7ad7e70762c51f66f2009c6711699dd16ffe2efd47ac372f5a4ce947e3ef8ffd646206d75e55899294b43c062e23faa25 WHIRLPOOL ea0453f54ae1e81504ea3308de1b2a169b11f148678b769357b723209f545090d04610dd2fcc4f22b48b2c207f4bcbd1475636694d2d2d310fc3ca9300a58c7b
DIST openobex-1.7.1-Source.tar.gz 131091 SHA256 3b264665d90901ea4ff720332ffb9b6d1d8f67187463d3a3279caddc7205ea57 SHA512 df38b363bd4c6eb6c0181fc7858fb03ac2bdfa85d8496faaa514d5cc4473b33c883956d4e1c94c3fefa5e44e5eed35a8dfcab889ce6ca8c29694f2b18334754e WHIRLPOOL 26728f0bd9186d69bff408372db40f62dc1230772ebaea70892e91095d043526adf71d97b6fe2c9736256214cc969ead91df9f1c22247a6a137e9ec950ada57d

View file

@ -1,43 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils autotools
DESCRIPTION="An implementation of the OBEX protocol used for transferring data to mobile devices"
HOMEPAGE="https://sourceforge.net/projects/openobex/"
SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.gz"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 arm hppa ppc ppc64 sparc x86"
IUSE="bluetooth debug irda syslog usb"
RDEPEND="bluetooth? ( net-wireless/bluez )
usb? ( virtual/libusb:0 )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
epatch "${FILESDIR}"/${P}-use-flags.patch
sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
eautoreconf
}
src_configure() {
econf \
--enable-apps \
$(use_enable irda) \
$(use_enable bluetooth) \
$(use_enable usb) \
$(use_enable debug) \
$(use_enable debug dump) \
$(use_enable syslog)
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
dodoc README AUTHORS NEWS ChangeLog
}

View file

@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}-Source.tar.gz"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0/2"
KEYWORDS="amd64 ~arm hppa ppc ppc64 sparc x86"
KEYWORDS="amd64 arm hppa ppc ppc64 sparc x86"
IUSE="bluetooth irda usb"
RDEPEND="bluetooth? ( net-wireless/bluez:= )

1
dev-ml/alcotest/Manifest Normal file
View file

@ -0,0 +1 @@
DIST alcotest-0.7.2.tar.gz 24781 SHA256 75eac2c9b9c1f9e07d8c4de43ba8e852bd59ef1d7d322cd9c036a075335ef472 SHA512 3448c7d82c200f0cf2ac97f7f49060c350c0719124b24079b5babb48b1d3e0b0508ada0b273e1963dc07dc4cc072b0a589096c39b8b6d8a4adf7e011418dd4a3 WHIRLPOOL d1345d9c3481663fa29d99cf8483bc2e11251a088bd589472eb83f8483b7b3db6130098560de7cb3d00f0741c68c0d0060ae0b602a8f2af51950c0199b0ee612

View file

@ -0,0 +1,44 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
DESCRIPTION="A lightweight and colourful test framework"
HOMEPAGE="https://github.com/mirage/alcotest/"
SRC_URI="https://github.com/mirage/alcotest/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="test"
RDEPEND="
dev-lang/ocaml:=[ocamlopt]
dev-ml/fmt:=
dev-ml/astring:=
dev-ml/cmdliner:=
dev-ml/result:=
"
DEPEND="${RDEPEND}
dev-ml/opam
dev-ml/topkg
dev-ml/ocamlbuild
dev-ml/findlib"
src_compile() {
ocaml pkg/pkg.ml build --tests $(usex test true false) || die
}
src_test() {
ocaml pkg/pkg.ml test || die
}
src_install() {
opam-installer -i \
--prefix="${ED}/usr" \
--libdir="${D}/$(ocamlc -where)" \
--docdir="${ED}/usr/share/doc/${PF}" \
${PN}.install || die
dodoc CHANGES.md README.md
}

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ml@gentoo.org</email>
<name>Gentoo ML Project</name>
</maintainer>
</pkgmetadata>

1
dev-ml/astring/Manifest Normal file
View file

@ -0,0 +1 @@
DIST astring-0.8.3.tbz 38710 SHA256 206646340d86ffcca900d0a3fbded2140c0efc4b74a84f84dc92667a07e3b247 SHA512 c7230e47b7ef14e6040fb18284a3d5aa8da1428b721cf91a7f17104cfb853be24b9c2aaa0b118bf3e050158aa8748311435417c6cf9014d260fb4379e4ead3e1 WHIRLPOOL 433897bd4e1d3e58424fbc7e7914a89164aab22ec7c2a77befd449ba2e557fbdbe495995485621afcdee69291f43a12d382a9ab26622812cb9b80d082bf7f5c9

View file

@ -0,0 +1,34 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
DESCRIPTION="Alternative String module for OCaml"
HOMEPAGE="http://erratique.ch/software/astring https://github.com/dbuenzli/astring"
SRC_URI="http://erratique.ch/software/astring/releases/${P}.tbz"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="dev-lang/ocaml:=[ocamlopt]"
DEPEND="${RDEPEND}
dev-ml/opam
dev-ml/topkg
dev-ml/ocamlbuild
dev-ml/findlib"
src_compile() {
ocaml pkg/pkg.ml build || die
}
src_install() {
opam-installer -i \
--prefix="${ED}/usr" \
--libdir="${D}/$(ocamlc -where)" \
--docdir="${ED}/usr/share/doc/${PF}" \
${PN}.install || die
dodoc CHANGES.md README.md
}

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ml@gentoo.org</email>
<name>Gentoo ML Project</name>
</maintainer>
</pkgmetadata>

View file

@ -12,7 +12,7 @@ SRC_URI="https://github.com/mjambon/cppo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0/${PV}"
LICENSE="BSD"
KEYWORDS="amd64 x86"
KEYWORDS="amd64 ppc x86"
IUSE="examples"

View file

@ -1,2 +1 @@
DIST extlib-1.6.1.tar.gz 72780 SHA256 88d4b3638cb4da4e04d81ba157e7235e744373c5784cf4b906570d07b890aeca SHA512 9473f474bee99248bdc5e3c56741a191a8f0b89dbf750a4d9e92692b7871c997c584a2dc7e57f55b36b5ddcaf7a11d45b490b117ac15806e35813b82b696f541 WHIRLPOOL 0dc27bad6223de1a1d75684f9caba8708e6c6a80f046c4604fe4bd9da5f860b17be180e3a8d0cdc817e1d99fd6c9feec62a2696b5d78e5706e89ea02460d2d40
DIST extlib-1.7.1.tar.gz 85397 SHA256 872a492be08bb99ddac7512ec190625718359458b79cfc710f40d5a967f628eb SHA512 42ea1be22a57ab31e5857df0c4c0f98a07e1b5958b34181cd5ab7c83ded112c208315d22cd3dd178d53e75ca109a70cb47ae479e95be8c47ea2087b1a158dc4d WHIRLPOOL 70be2855559fdf217ffb392ad47a2b0d3ec22467a5fcfe48158b85b64f64051cf43c8ae585949ccacdc7f6e257b26523fd91942bffd5c4b28a73a5c4566145fc

View file

@ -1,42 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit findlib eutils
DESCRIPTION="Standard library extensions for O'Caml"
HOMEPAGE="https://code.google.com/p/ocaml-extlib/"
SRC_URI="https://ocaml-extlib.googlecode.com/files/${P}.tar.gz"
LICENSE="LGPL-2.1"
DEPEND="
>=dev-lang/ocaml-3.10.2:=[ocamlopt?]
dev-ml/camlp4:=
"
RDEPEND="${DEPEND}"
SLOT="0/${PV}"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc +ocamlopt"
src_compile() {
emake -j1 all
if use ocamlopt; then
emake opt
fi
if use doc; then
emake doc
fi
}
src_install () {
findlib_src_install
# install documentation
dodoc README.txt
if use doc; then
dohtml doc/*
fi
}

View file

@ -16,7 +16,7 @@ DEPEND="
"
RDEPEND="${DEPEND}"
SLOT="0/${PV}"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc +ocamlopt"
S="${WORKDIR}/ocaml-${P}"

1
dev-ml/fmt/Manifest Normal file
View file

@ -0,0 +1 @@
DIST fmt-0.8.0.tbz 14965 SHA256 fd221052a9d2c9be0a8f32d14b2cb35d72ec6f7cd828244759392adbec8ac79b SHA512 5287ff80343ab7f2b33e87b48ff4301e1152b54da1f1de6d8ac235f909cd83e8c9219fd46dbbe239aa6736b406c884141b3ab7578d6a3b2ff289d7756a09ec44 WHIRLPOOL 06eac9e3c3f97f196d2727bd07bf06ccbe4761b77c51fa25bab90575b40db612caf58f4b7685905f67a0ad36c82aa241c2db215c85e574930d1c19e2a6ee5176

View file

@ -0,0 +1,44 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit findlib
DESCRIPTION="Combinators to devise OCaml Format pretty-printing functions"
HOMEPAGE="http://erratique.ch/software/fmt https://github.com/dbuenzli/fmt"
SRC_URI="http://erratique.ch/software/fmt/releases/${P}.tbz"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="dev-ml/result:=[ocamlopt]
dev-lang/ocaml:=[ocamlopt]
dev-ml/cmdliner:=[ocamlopt]"
DEPEND="${RDEPEND}
dev-ml/opam
dev-ml/topkg
dev-ml/ocamlbuild
dev-ml/findlib"
src_compile() {
ocaml pkg/pkg.ml build || die
}
src_test() {
ocamlbuild -use-ocamlfind test/tests.otarget || die
./test.native || die
./test.byte || die
}
src_install() {
opam-installer -i \
--prefix="${ED}/usr" \
--libdir="${D}/$(ocamlc -where)" \
--docdir="${ED}/usr/share/doc/${PF}" \
${PN}.install || die
dodoc CHANGES.md README.md
}

8
dev-ml/fmt/metadata.xml Normal file
View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ml@gentoo.org</email>
<name>Gentoo ML Project</name>
</maintainer>
</pkgmetadata>

View file

@ -11,7 +11,7 @@ HOMEPAGE="https://github.com/LexiFi/gen_js_api"
SRC_URI="https://github.com/LexiFi/gen_js_api/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""

1
dev-ml/logs/Manifest Normal file
View file

@ -0,0 +1 @@
DIST logs-0.6.2.tbz 18558 SHA256 a320ef34eda51694be23f2a383d83f9ae6a8430fd0ef8cec1fa8c58be5b10bce SHA512 a669e373652bac6789626ad1d58e414c6d156c646bf0706c9d55b04151850113d45a5c28077707514d1a27d46fcc0f90b39b8652ce7a3980f79675e9874db8b4 WHIRLPOOL 0bccd2561d7a454018d67b651083cf82d9f866f40dc39f04f28219e3aea0fb0db43b0e7bb45ae00932e709ef600fdce56a1dc14935ca70d97ba94445f5a7a129

View file

@ -0,0 +1,55 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit findlib
DESCRIPTION="Logging infrastructure for OCaml"
HOMEPAGE="http://erratique.ch/software/logs https://github.com/dbuenzli/logs"
SRC_URI="http://erratique.ch/software/logs/releases/${P}.tbz"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="javascript fmt cli lwt test"
RDEPEND="
dev-ml/result:=[ocamlopt]
dev-lang/ocaml:=[ocamlopt]
javascript? ( dev-ml/js_of_ocaml:= )
fmt? ( dev-ml/fmt:= )
cli? ( dev-ml/cmdliner:=[ocamlopt] )
lwt? ( dev-ml/lwt:= )
"
DEPEND="${RDEPEND}
dev-ml/opam
dev-ml/topkg
dev-ml/ocamlbuild
dev-ml/findlib
test? ( dev-ml/mtime )
"
src_compile() {
ocaml pkg/pkg.ml build \
--with-js_of_ocaml $(usex javascript true false) \
--with-fmt $(usex fmt true false) \
--with-cmdliner $(usex cli true false) \
--with-lwt $(usex fmt true false) \
--tests $(usex test true false) \
|| die
}
src_test() {
ocaml pkg/pkg.ml test || die
}
src_install() {
opam-installer -i \
--prefix="${ED}/usr" \
--libdir="${D}/$(ocamlc -where)" \
--docdir="${ED}/usr/share/doc/${PF}" \
${PN}.install || die
dodoc CHANGES.md README.md
}

13
dev-ml/logs/metadata.xml Normal file
View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ml@gentoo.org</email>
<name>Gentoo ML Project</name>
</maintainer>
<use>
<flag name="cli">Enables the Logs_cli library that provides command line support for controlling Logs.</flag>
<flag name="fmt">Enables the Logs_fmt reporter.</flag>
<flag name="lwt">Enables the Logs_lwt library that provides Lwt logging functions.</flag>
</use>
</pkgmetadata>

1
dev-ml/mtime/Manifest Normal file
View file

@ -0,0 +1 @@
DIST mtime-0.8.4.tbz 11705 SHA256 b0a1eb1fb2d30e413ab24f5261e099881cadbac5af440f53f2544e3a9846b5a9 SHA512 fc08df2abc3500d18db3c4bb9a67336b902483da24056fac2c9f0b4c93ac8860c29a59b47c1ade62f6f5b51ac32c7d16e31d5c9f8cb51900accf73ddeaf6d307 WHIRLPOOL 543168a929e4eaf158cd05420f9139664a4289c5ae1e69bf9081f842d97b08182c99dc3ac82b242afca4067f69b1efc53fb11c116056162871f59b988be2a8d5

View file

@ -0,0 +1,13 @@
Index: mtime-0.8.4/myocamlbuild.ml
===================================================================
--- mtime-0.8.4.orig/myocamlbuild.ml
+++ mtime-0.8.4/myocamlbuild.ml
@@ -34,7 +34,7 @@ let () =
flag ["library"; "ocaml"; "byte"; "record_mtime_os_stubs"]
(S ([A "-dllib"; A "-lmtime_stubs"] @ system_support_lib));
flag ["library"; "ocaml"; (* byte and native *) "record_mtime_os_stubs"]
- (S ([A "-cclib"; A "-lmtime_stubs"] @ system_support_lib));
+ (S ([A "-cclib"; A "-Lsrc-os"; A "-cclib"; A "-lmtime_stubs"] @ system_support_lib));
ocaml_lib ~tag_name:"use_mtime_os" ~dir:"src-os" "src-os/mtime";
flag ["link"; "ocaml"; "use_mtime_os"] (S [A "-ccopt"; A "-Lsrc-os"]);

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ml@gentoo.org</email>
<name>Gentoo ML Project</name>
</maintainer>
</pkgmetadata>

View file

@ -0,0 +1,49 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit eutils
DESCRIPTION="OCaml module to access monotonic wall-clock time"
HOMEPAGE="http://erratique.ch/software/mtime https://github.com/dbuenzli/mtime"
SRC_URI="http://erratique.ch/software/mtime/releases/${P}.tbz"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="javascript test"
RDEPEND="dev-lang/ocaml:=[ocamlopt]
javascript? ( dev-ml/js_of_ocaml:= )
"
DEPEND="${RDEPEND}
dev-ml/opam
dev-ml/topkg
dev-ml/ocamlbuild
dev-ml/findlib"
src_prepare() {
epatch "${FILESDIR}/firstinstall.patch"
}
src_compile() {
ocaml pkg/pkg.ml build \
--with-js_of_ocaml $(usex javascript true false) \
--tests $(usex test true false) \
|| die
}
src_test() {
ocaml pkg/pkg.ml test || die
}
src_install() {
opam-installer -i \
--prefix="${ED}/usr" \
--libdir="${D}/$(ocamlc -where)" \
--docdir="${ED}/usr/share/doc/${PF}" \
${PN}.install || die
dodoc CHANGES.md README.md
}

View file

@ -0,0 +1 @@
DIST ocaml-conduit-0.14.5.tar.gz 38471 SHA256 00aba333c05866bb712f7890c6f9fd457b85cf592d28adc6636413032683f86f SHA512 c2de6518588e3555cd40dfc6c1ce6d809dc570ddb6a07fb8ccce1797469e9c28ea1a633d4a1b360bf15cdb95e6231ecb0be8bd44e4654baa5268f09519096b52 WHIRLPOOL 5e052d7b9d34d76662496739a6934bf64c1930ca64b2160aa8cbefe0237bd0bb3438a187c3dd05d841b7b475325afcb32bb6fb20e0b61b885c16f4b0b3259aea

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ml@gentoo.org</email>
<name>Gentoo ML Project</name>
</maintainer>
</pkgmetadata>

View file

@ -0,0 +1,46 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit findlib
DESCRIPTION="Dereference URIs into communication channels for Async or Lwt"
HOMEPAGE="https://github.com/mirage/ocaml-conduit"
SRC_URI="https://github.com/mirage/ocaml-conduit/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""
DEPEND="
dev-lang/ocaml:=
dev-ml/sexplib:=
dev-ml/stringext:=
dev-ml/ocaml-uri:=
dev-ml/logs:=
dev-ml/ocaml-cstruct:=
dev-ml/ocaml-ipaddr:=
dev-ml/lwt:=
dev-ml/async:=
dev-ml/ocaml-dns:=
dev-ml/ocaml-ssl:=
"
RDEPEND="${DEPEND}"
DEPEND="${DEPEND}
dev-ml/findlib
dev-ml/ocamlbuild
dev-ml/ppx_driver
dev-ml/ppx_optcomp
dev-ml/ppx_sexp_conv
"
DOCS=( TODO.md README.md CHANGES )
src_install() {
findlib_src_preinst
default
}

View file

@ -0,0 +1 @@
DIST ocaml-magic-mime-1.0.0.tar.gz 53937 SHA256 a9ae72476e7b8dbd70462a10b289cb29ea8a2b1b0e6e31c8faa9e5447a51e159 SHA512 e6a050e0adc465d174083b101b66805e3261b0498cd20d19bd4d2da52859d6c792f8e13e1c787d54f81e1ff65048f4fb3c38367f1a60c8e5c94367f5f685dc8e WHIRLPOOL be87b1b7d0f5426360f4c565933ab7eae572a71f045dbaeff6c2ee8fb7a02e8e0a3e6c3a9843cdedde02d9c78e5f2b973b9bb5768fbc267a4852277984a9e440

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ml@gentoo.org</email>
<name>Gentoo ML Project</name>
</maintainer>
</pkgmetadata>

View file

@ -0,0 +1,18 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit oasis
DESCRIPTION="Convert file extensions to MIME types"
HOMEPAGE="https://github.com/mirage/ocaml-magic-mime"
SRC_URI="https://github.com/mirage/ocaml-magic-mime/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"

View file

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -13,7 +13,7 @@ HOMEPAGE="https://forge.ocamlcore.org/projects/ocaml-uint/"
SRC_URI="https://forge.ocamlcore.org/frs/download.php/1516/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""

View file

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -11,7 +11,7 @@ HOMEPAGE="https://github.com/rgrinberg/onanomsg"
SRC_URI="https://github.com/rgrinberg/onanomsg/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="WTFPL-2"
SLOT="0"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="+lwt +ocamlopt test"

View file

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -9,7 +9,7 @@ inherit eutils
DESCRIPTION="A source-based package manager for OCaml"
HOMEPAGE="http://opam.ocaml.org/"
LICENSE="LGPL-3-with-linking-exception"
SLOT="0"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""

View file

@ -1,45 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
inherit eutils multilib
DESCRIPTION="Minimal Xml parser and printer for OCaml"
HOMEPAGE="http://tech.motion-twin.com/xmllight.html"
SRC_URI="http://tech.motion-twin.com/zip/${P}.zip"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc"
DEPEND="app-arch/unzip
dev-lang/ocaml
doc? ( dev-ml/ocaml-doc )"
RDEPEND="dev-lang/ocaml"
S="${WORKDIR}/${PN}"
src_prepare() {
EPATCH_FORCE=yes EPATCH_SUFFIX=dpatch EPATCH_SOURCE="${FILESDIR}" \
epatch
}
src_compile() {
emake -j1
if use doc;then
emake doc
fi
}
src_install() {
dodir /usr/$(get_libdir)/ocaml
emake INSTALLDIR="${D}"/usr/$(get_libdir)/ocaml install
dodoc README
if use doc; then
emake doc
dohtml doc/*
fi
}

View file

@ -1,51 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils multilib
DESCRIPTION="Minimal Xml parser and printer for OCaml"
HOMEPAGE="http://tech.motion-twin.com/xmllight.html"
SRC_URI="http://tech.motion-twin.com/zip/${P}.zip"
LICENSE="LGPL-2.1"
SLOT="0/${PV}"
KEYWORDS="amd64 x86"
IUSE="doc"
RDEPEND="dev-lang/ocaml:="
DEPEND="app-arch/unzip
${RDEPEND}"
S="${WORKDIR}/${PN}"
src_prepare() {
EPATCH_FORCE=yes EPATCH_SUFFIX=dpatch EPATCH_SOURCE="${FILESDIR}" \
epatch
}
src_compile() {
emake -j1
if use doc;then
emake doc
fi
}
src_install() {
dodir /usr/$(get_libdir)/ocaml/${PN}
emake INSTALLDIR="${D}"/usr/$(get_libdir)/ocaml/${PN} install
cat > "${D}"/usr/$(get_libdir)/ocaml/${PN}/META << EOF
name="${PN}"
version="${PV}"
description="${DESCRIPTION}"
requires=""
archive(byte) = "xml-light.cma"
EOF
dodoc README
if use doc; then
emake doc
dohtml doc/*
fi
}

View file

@ -1,4 +1,4 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -12,7 +12,7 @@ SRC_URI="https://forge.ocamlcore.org/frs/download.php/1574/${P}.tgz"
LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="~amd64"
KEYWORDS="~amd64 ~x86"
IUSE="doc mpir +ocamlopt"
RDEPEND="

View file

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="Execute code after a scope finished compilation"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~x86 ~ppc-aix ~x86-fbsd ~x64-macos"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~x86 ~ppc-aix ~x86-fbsd ~x64-macos"
IUSE="test"
RDEPEND="

View file

@ -0,0 +1,49 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=DJZORT
DIST_VERSION=4.4001
DIST_EXAMPLES=("eg/*")
inherit perl-module
DESCRIPTION="A client for the Bugzilla web services API."
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
dev-perl/DateTime-Format-ISO8601
dev-perl/DateTime-Format-Strptime
dev-perl/DateTime-TimeZone
virtual/perl-Encode
virtual/perl-File-Spec
dev-perl/HTTP-CookieJar
virtual/perl-HTTP-Tiny
dev-perl/URI
dev-perl/XML-Parser
dev-perl/XML-Writer
virtual/perl-parent
"
DEPEND="${RDEPEND}
>=dev-perl/Module-Build-0.280.0
virtual/perl-ExtUtils-MakeMaker
test? (
dev-perl/Clone
virtual/perl-Data-Dumper
dev-perl/DateTime
dev-perl/IO-Socket-SSL
dev-perl/Test-RequiresInternet
virtual/perl-Test-Simple
dev-perl/Text-Password-Pronounceable
)
"
src_test() {
has network ${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}} && export TEST_AUTHOR=1
perl_rm_files t/author-* t/release-*
perl-module_src_test
}

View file

@ -1,2 +1,3 @@
DIST BZ-Client-1.072.tar.gz 32692 SHA256 4f39e7739af68df67231719865e579b08d0bf1befebee69aad8015b229388f1a SHA512 d26c7e03d62013e5b308e33920e350ddaf5f93cc7a2939f1a6cee6746fa8e25138fad31454c0f0b8c1f4834ec939226b98d472891c0c1f22120e18a751755898 WHIRLPOOL 3415f6ad89d477c7c2fc2291428ee8144d57ee705af749c79f9b257054ccaca4510a53e79fd30f494f056891852f2c3cd098e14a393617ea2ff9f77833652a48
DIST BZ-Client-4.4.tar.gz 64706 SHA256 74d821f512ef50fc1e943b8b4170ed0f496a41e49b93960f7793cb5d23b8835b SHA512 b3967179ba9f8139cb1921ffa1b154fdc0fced8a80425db4780eb940499bf62fd669da32673ee176ed65fbe47d168548fa267813cb42264cb9207a3c807e3ed8 WHIRLPOOL eb4d1c195897e891feecd8014e017ebe520ff1584ed3dcfa436822c85a281a208766f05916d01db1134f6d500f9793aed4e54bdce11b166f5d10526ab03d9911
DIST BZ-Client-4.4001.tar.gz 79167 SHA256 c8bc81eefdc48f029cdcc3a18d3ad268de7e43f8a4d1cb3e120ec5669ecfde9b SHA512 36eb0f50e0d3a88a4ef49c3fe277bf12dc86dfbd5ad0cfe869ca68962c4c8bc1601a7ac16c817488c9700f92932a8e900a3ae9641b21042a08dcf939f4e367aa WHIRLPOOL a47697fda011d53bc6a0471067165417ed9e02a061fc03f3d1cb6a3107de18dbf5e203e4eb7839405a7f7613d72f58f182b6b34f57f3e8f49f2cb90694706809

View file

@ -31,5 +31,6 @@
<remote-id type="cpan-module">BZ::Client::XMLRPC::boolean</remote-id>
<remote-id type="cpan-module">BZ::Client::XMLRPC::double</remote-id>
<remote-id type="cpan-module">BZ::Client::XMLRPC::int</remote-id>
<remote-id type="github">djzort/BZ-Client</remote-id>
</upstream>
</pkgmetadata>

View file

@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="Verify requirements in a CPAN::Meta object"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="test"
# CPAN::Meta::Prereqs -> perl-CPAN-Meta

View file

@ -12,7 +12,7 @@ DESCRIPTION="A date and time object"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~x86 ~ppc-aix ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~x86 ~ppc-aix ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
IUSE="test"
CONFLICTS="

View file

@ -1,4 +1,4 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="Meatier versions of caller"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm hppa ppc x86 ~x86-fbsd"
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ppc x86 ~x86-fbsd"
IUSE=""
DEPEND="dev-perl/PadWalker"

View file

@ -1,4 +1,4 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="Alias lexical variables"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm hppa ppc x86 ~x86-fbsd"
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ppc x86 ~x86-fbsd"
IUSE=""
DEPEND=">=dev-perl/Devel-Caller-2.03"

View file

@ -12,7 +12,7 @@ DESCRIPTION="An object representing a stack trace"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
IUSE="test"
RDEPEND="

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