parent
882c752749
commit
5b687a29f5
@ -1,12 +1,9 @@
|
||||
AUX docker-containerd.patch 855 SHA256 70b2d4238212735c248dfbaf1b555c29c480ab616fc2ebc73bc7a950c16d9edd SHA512 c45bdda0bb22d7a2e3bc07382ffc34527960d716e5929920583bff41789143a859dd8afede8c9c54ce2a7e4976fbc32b7c73ac4638fab5755aaef39b59e40257 WHIRLPOOL 367fea2ab20035a99c06ce2fb158784d24227ebb2a038eabea5cbecfde35a55dce6e8bf909811eed2da73b63bf977216e7c1255eedd67aed4285acd3197debc8
|
||||
DIST docker-1.11.0.tar.gz 10637394 SHA256 088869b9a19ae17656e068aa6d3d473866e8133365427c601c671da1b2189057 SHA512 ecb7f531a5632fd6274e3eec59a5194c61d0788ab9f3864845cbc248232c2f14671a26c34abab8c5ca85ce6106ae72ea3ae4e5d133ad1efb126069ae82a2dba0 WHIRLPOOL 20b0ef1642d2fea2ae186a17786d95f138fb7df92daa104f00c481488f82eadd5e8f27a0a8e926d68f495fd62bc132d83817a0831f84b3786474a9408d87878f
|
||||
DIST docker-1.12.0_rc2-23859.patch 62625 SHA256 8f424c54df8e387286ac5fc36cf0c0e7b2de72d698ed157197a76050e4f6fbfc SHA512 d86f1741ea88d27039fcbce95f243d5720bbc2fcc5e0ff715345ad674543b553d449a73be09fc5d75664ee5b67cd5e9b67419b027c54258ee7b35f9c2bfdeca5 WHIRLPOOL a34a10108f5e62764c21e138130c57962c3de172fd00235af0d2baa5be482f15913c56426133564f59d8660538f287d787f08750408795aa68040e4e697e4aa0
|
||||
DIST docker-1.12.0_rc2.tar.gz 12332409 SHA256 085d79554c5da49d16de04aa06640be45f37535bccbdbf8190790114327a53a4 SHA512 d5b24ee990010e7c1101e238910db29b9aa718396659f2dc0862a626efe98364b0a22489409d131163f6273327b430aa0c5926b371baf47c02b2049ad47537a3 WHIRLPOOL 970de3a3b00aa9bcfff11e4801a16f6979ab459cbc8e66d9dd9a414090d34deffa3e475ced9f4b22d5afe4a10350e6fb96c9b9f4cfb3164fff1db3273da627f1
|
||||
DIST docker-1.12.0_rc3.tar.gz 12359008 SHA256 3f030c4f084ed518efeb00f21f3fdfb25252dd9c153b1d42da953e59bb41c582 SHA512 438f0f6fa65f7354d3059558427aadcc86139f3c062e30407f249ba8cfcfb307f083cea1a872637dfb4c68481a11cc22580e50ca6eb51d98370665c9fdc42f65 WHIRLPOOL 30914ea9fee3759bb1229329ebc7da35d3ba39abf311abb1f90e12e45899d01954d7903579b253d3cc609ac269ceaf681e58d08e87b31232836322ab3dcc65c1
|
||||
EBUILD docker-1.11.0.ebuild 7528 SHA256 ac1d3b622c56a4f024272ff06c5f7ea45b46ec23743dac1eef74d517feebbcd2 SHA512 2865d7617b5cfd8684813080e473dc0bf6e9422dcc8c4d1ea1f9ea971cf3a43a834cd6f7973fb150f651b6fa02d884f72309e178db74e9175b4878fa27d76dfe WHIRLPOOL e515f1c8eb887e572184ad3c1b382b7e355f889d38858badbf6c338e11e3793bb5bee05e9e0bbeeea8456ce3a32e533b271ed04e4a00d30646c17168ce15df1c
|
||||
EBUILD docker-1.12.0_rc2-r2.ebuild 7714 SHA256 35ebd27202cf4ac96ce60a34077ad1c5043b8180c5ba86f97754a8d160595396 SHA512 639c5077f1415eeeb9810c44103ded7a3c9d48b214e7399e029c03bd956e0949e8331d343a417e1431d8bf1d3bc4af28c5d1f0b60675d33c57e65ee1c9289543 WHIRLPOOL aa71307ef6586f4b8d112bb056f582c60de232762a1ec96b52be29d05dde4cf8f5bf9156ad73a6dd4415ae8f8e05fd3ed1760f8ba76106c697693e929bb38008
|
||||
EBUILD docker-1.12.0_rc3.ebuild 7567 SHA256 736361e5dd4007169a02635d9b824008d1149e99f08fd968cb9089d1df6ba8c6 SHA512 3a10838502ea0fc15f38f0f92c7b64e2dbf84be7b142db8e97c03f510734ea9efff5c00d3d756cab9076a09fb4a52b7b3b4f7d23dbae68ce58d830af76208ac3 WHIRLPOOL b9b342c685f9102991758ba2bfdf52e4f8073c00ce5f58693b6b949e8b5d122df18532dda97b195932211101ee5883fb99316242bf2c1c08bffa42b38587c9a6
|
||||
EBUILD docker-9999.ebuild 7560 SHA256 4cc20917133dc434b7b9eaa33371e24940843a2a1ac3a0db08c5f878d5134a18 SHA512 03b3e33dc5c98a31286fa95f1131ba5147a1db417b3a367896defed13dc815b7e636f522677338ba6d98dcc461117ba52b45a774ca59667bcff140646e9aeab7 WHIRLPOOL 83551b61883b99b419bc896e100dcbe993a8810d56701dc83d4ea75bd667bbe996285cf38eeaf23acce8f9d400ef7525da6f0f3dbd7613cbea6889904e71430e
|
||||
MISC ChangeLog 9615 SHA256 80225abfbec5f7d3cabeff10acd585565642b2cb59afb4ca7619cfa1e954f857 SHA512 2d05460bc62d35ebf1cff8c16c3501ee4ae0f985aa4f0b0d4edbb7f1036fcbbdff9d4448b1d4fac263e1e70093a38cd803d4d95f0fd22b8dd6d3728e2e4098d6 WHIRLPOOL 0940d3f2f1d81ca869d9e7852ac3682cfcde7f55360fe6e1389ba775b417f2b49795626cae74ef6d9626edba36d6bc80efd0c33a53951d7432d2202d0fe94cf5
|
||||
MISC ChangeLog 9766 SHA256 86d82e9d644a5631eb414f572ffff4e756540399b154db88a036849b54260acb SHA512 22df35388f6b3f898c9aff0edc728c376135cefd90575f07fcf5a5e4189525af8f63f0d83b4a470cdc7a266a8e1dedbd6db5a112b9ec83543e4f94a6b1b32324 WHIRLPOOL a214a50cde471224b808dfb1e30cc8edae3581093cddbd5d024a79b7a346edebcbdf9a1f3378740a5d8fb46eb95ac110d5a32571e5c745b3975dc5246ee2f9db
|
||||
MISC ChangeLog-2015 9435 SHA256 36770420e0a23ee8b09a9028adc801e536c3735e355134a7d3c8185642453d44 SHA512 dde3d12dae10732a3822e0c84909285afcf325df948c61bae83852157b14d75e10151577eb3eef9af6ee94e8c292e7faac54e82565bceaf858702cd1e81c72aa WHIRLPOOL 5a3b5916981d5ec1d653b26a2789303301c103d1013d4c28fe11f926b88f200c40d1f59ac8ad750e4c55a70806b1f9c5da028e8966972c84a7ccca7820f9a294
|
||||
MISC metadata.xml 1617 SHA256 2a832d1b25b5300f3083d7a90ed76abdce6ce62a6d80d02e9315325b4be3a669 SHA512 c4c59c45e01abe4bc7b4384b8ab2b1f838a6cb23346d1231f6a3cf7a4ef21820aecc13123845179bb49c40ea242e9ae36f030a830b337eb76be13a60fbb3d54b WHIRLPOOL 6acf624c81fd83fab1e8a5840d75076b637ef6df8fd67832975824a9063518230d0091db86b9ee3a2cf3678a809f48c6b30796b851e2dd316bf9f572b07c9259
|
||||
|
@ -1,275 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGO_PN="github.com/docker/docker"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Docker cannot be fetched via "go get", thanks to autogenerated code
|
||||
EGIT_REPO_URI="https://${EGO_PN}.git"
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/${P}/src/${EGO_PN}"
|
||||
inherit git-r3
|
||||
else
|
||||
MY_PV="${PV/_/-}"
|
||||
DOCKER_GITCOMMIT="906eacd"
|
||||
EGIT_COMMIT="v${MY_PV}"
|
||||
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
|
||||
https://dev.gentoo.org/~williamh/dist/${P}-23859.patch"
|
||||
KEYWORDS="~amd64"
|
||||
[ "$DOCKER_GITCOMMIT" ] || die "DOCKER_GITCOMMIT must be added manually for each bump!"
|
||||
inherit golang-vcs-snapshot
|
||||
fi
|
||||
inherit bash-completion-r1 golang-base linux-info systemd udev user
|
||||
|
||||
DESCRIPTION="The core functions you need to create Docker images and run Docker containers"
|
||||
HOMEPAGE="https://dockerproject.org"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="apparmor aufs btrfs +device-mapper experimental overlay seccomp"
|
||||
|
||||
# https://github.com/docker/docker/blob/master/hack/PACKAGERS.md#build-dependencies
|
||||
CDEPEND="
|
||||
>=dev-db/sqlite-3.7.9:3
|
||||
device-mapper? (
|
||||
>=sys-fs/lvm2-2.02.89[thin]
|
||||
)
|
||||
seccomp? ( >=sys-libs/libseccomp-2.2.1 )
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
|
||||
dev-go/go-md2man
|
||||
|
||||
btrfs? (
|
||||
>=sys-fs/btrfs-progs-3.8
|
||||
)
|
||||
"
|
||||
|
||||
# https://github.com/docker/docker/blob/master/hack/PACKAGERS.md#runtime-dependencies
|
||||
# https://github.com/docker/docker/blob/master/hack/PACKAGERS.md#optional-dependencies
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
|
||||
!app-emulation/docker-bin
|
||||
>=net-firewall/iptables-1.4
|
||||
sys-process/procps
|
||||
>=dev-vcs/git-1.7
|
||||
>=app-arch/xz-utils-4.9
|
||||
|
||||
>app-emulation/containerd-0.2.2
|
||||
app-emulation/runc[apparmor?,seccomp?]
|
||||
"
|
||||
|
||||
RESTRICT="installsources strip"
|
||||
|
||||
S="${WORKDIR}/${P}/src/${EGO_PN}"
|
||||
|
||||
# see "contrib/check-config.sh" from upstream's sources
|
||||
CONFIG_CHECK="
|
||||
~NAMESPACES ~NET_NS ~PID_NS ~IPC_NS ~UTS_NS
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~CGROUPS ~CGROUP_CPUACCT ~CGROUP_DEVICE ~CGROUP_FREEZER ~CGROUP_SCHED ~CPUSETS ~MEMCG
|
||||
~KEYS ~MACVLAN ~VETH ~BRIDGE ~BRIDGE_NETFILTER
|
||||
~NF_NAT_IPV4 ~IP_NF_FILTER ~IP_NF_TARGET_MASQUERADE
|
||||
~IP_VS
|
||||
~NETFILTER_XT_MATCH_ADDRTYPE ~NETFILTER_XT_MATCH_CONNTRACK
|
||||
~NF_NAT ~NF_NAT_NEEDED
|
||||
|
||||
~POSIX_MQUEUE
|
||||
|
||||
~MEMCG_KMEM ~MEMCG_SWAP ~MEMCG_SWAP_ENABLED
|
||||
|
||||
~BLK_CGROUP ~IOSCHED_CFQ
|
||||
~CGROUP_PERF
|
||||
~CGROUP_HUGETLB
|
||||
~NET_CLS_CGROUP
|
||||
~CFS_BANDWIDTH ~FAIR_GROUP_SCHED ~RT_GROUP_SCHED
|
||||
~XFRM_ALGO ~XFRM_USER
|
||||
"
|
||||
|
||||
ERROR_KEYS="CONFIG_KEYS: is mandatory"
|
||||
ERROR_MEMCG_KMEM="CONFIG_MEMCG_KMEM: is optional"
|
||||
ERROR_MEMCG_SWAP="CONFIG_MEMCG_SWAP: is required if you wish to limit swap usage of containers"
|
||||
ERROR_RESOURCE_COUNTERS="CONFIG_RESOURCE_COUNTERS: is optional for container statistics gathering"
|
||||
|
||||
ERROR_BLK_CGROUP="CONFIG_BLK_CGROUP: is optional for container statistics gathering"
|
||||
ERROR_IOSCHED_CFQ="CONFIG_IOSCHED_CFQ: is optional for container statistics gathering"
|
||||
ERROR_CGROUP_PERF="CONFIG_CGROUP_PERF: is optional for container statistics gathering"
|
||||
ERROR_CFS_BANDWIDTH="CONFIG_CFS_BANDWIDTH: is optional for container statistics gathering"
|
||||
ERROR_XFRM_ALGO="CONFIG_XFRM_ALGO: is optional for secure networks"
|
||||
ERROR_XFRM_USER="CONFIG_XFRM_USER: is optional for secure networks"
|
||||
|
||||
pkg_setup() {
|
||||
if kernel_is lt 3 10; then
|
||||
ewarn ""
|
||||
ewarn "Using Docker with kernels older than 3.10 is unstable and unsupported."
|
||||
ewarn " - http://docs.docker.com/installation/binaries/#check-kernel-dependencies"
|
||||
fi
|
||||
|
||||
# for where these kernel versions come from, see:
|
||||
# https://www.google.com/search?q=945b2b2d259d1a4364a2799e80e8ff32f8c6ee6f+site%3Akernel.org%2Fpub%2Flinux%2Fkernel+file%3AChangeLog*
|
||||
if ! {
|
||||
kernel_is ge 3 16 \
|
||||
|| { kernel_is 3 15 && kernel_is ge 3 15 5; } \
|
||||
|| { kernel_is 3 14 && kernel_is ge 3 14 12; } \
|
||||
|| { kernel_is 3 12 && kernel_is ge 3 12 25; }
|
||||
}; then
|
||||
ewarn ""
|
||||
ewarn "There is a serious Docker-related kernel panic that has been fixed in 3.16+"
|
||||
ewarn " (and was backported to 3.15.5+, 3.14.12+, and 3.12.25+)"
|
||||
ewarn ""
|
||||
ewarn "See also https://github.com/docker/docker/issues/2960"
|
||||
fi
|
||||
|
||||
if kernel_is le 3 18; then
|
||||
CONFIG_CHECK+="
|
||||
~RESOURCE_COUNTERS
|
||||
"
|
||||
fi
|
||||
|
||||
if kernel_is le 3 13; then
|
||||
CONFIG_CHECK+="
|
||||
~NETPRIO_CGROUP
|
||||
"
|
||||
else
|
||||
CONFIG_CHECK+="
|
||||
~CGROUP_NET_PRIO
|
||||
"
|
||||
fi
|
||||
|
||||
if use aufs; then
|
||||
CONFIG_CHECK+="
|
||||
~AUFS_FS
|
||||
~EXT4_FS_POSIX_ACL ~EXT4_FS_SECURITY
|
||||
"
|
||||
ERROR_AUFS_FS="CONFIG_AUFS_FS: is required to be set if and only if aufs-sources are used instead of aufs4/aufs3"
|
||||
fi
|
||||
|
||||
if use btrfs; then
|
||||
CONFIG_CHECK+="
|
||||
~BTRFS_FS
|
||||
"
|
||||
fi
|
||||
|
||||
if use device-mapper; then
|
||||
CONFIG_CHECK+="
|
||||
~BLK_DEV_DM ~DM_THIN_PROVISIONING ~EXT4_FS ~EXT4_FS_POSIX_ACL ~EXT4_FS_SECURITY
|
||||
"
|
||||
fi
|
||||
|
||||
if use overlay; then
|
||||
CONFIG_CHECK+="
|
||||
~OVERLAY_FS ~EXT4_FS_SECURITY ~EXT4_FS_POSIX_ACL
|
||||
"
|
||||
fi
|
||||
|
||||
linux-info_pkg_setup
|
||||
|
||||
# create docker group for the code checking for it in /etc/group
|
||||
enewgroup docker
|
||||
}
|
||||
|
||||
PATCHES=(
|
||||
# https://github.com/docker/docker/pull/23859
|
||||
"${DISTDIR}"/${P}-23859.patch
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
export GOPATH="${WORKDIR}/${P}:${PWD}/vendor"
|
||||
|
||||
# setup CFLAGS and LDFLAGS for separate build target
|
||||
# see https://github.com/tianon/docker-overlay/pull/10
|
||||
export CGO_CFLAGS="-I${ROOT}/usr/include"
|
||||
export CGO_LDFLAGS="-L${ROOT}/usr/$(get_libdir)"
|
||||
|
||||
# if we're building from a zip, we need the GITCOMMIT value
|
||||
[ "$DOCKER_GITCOMMIT" ] && export DOCKER_GITCOMMIT
|
||||
|
||||
if gcc-specs-pie; then
|
||||
sed -i "s/EXTLDFLAGS_STATIC='/&-fno-PIC /" hack/make.sh || die
|
||||
grep -q -- '-fno-PIC' hack/make.sh || die 'hardened sed failed'
|
||||
|
||||
sed "s/LDFLAGS_STATIC_DOCKER='/&-extldflags -fno-PIC /" \
|
||||
-i hack/make/dynbinary || die
|
||||
grep -q -- '-fno-PIC' hack/make/dynbinary || die 'hardened sed failed'
|
||||
fi
|
||||
|
||||
# let's set up some optional features :)
|
||||
export DOCKER_BUILDTAGS=''
|
||||
for gd in aufs btrfs device-mapper overlay; do
|
||||
if ! use $gd; then
|
||||
DOCKER_BUILDTAGS+=" exclude_graphdriver_${gd//-/}"
|
||||
fi
|
||||
done
|
||||
|
||||
for tag in apparmor seccomp; do
|
||||
if use $tag; then
|
||||
DOCKER_BUILDTAGS+=" $tag"
|
||||
fi
|
||||
done
|
||||
|
||||
# https://github.com/docker/docker/pull/13338
|
||||
if use experimental; then
|
||||
export DOCKER_EXPERIMENTAL=1
|
||||
else
|
||||
unset DOCKER_EXPERIMENTAL
|
||||
fi
|
||||
|
||||
# time to build!
|
||||
./hack/make.sh dynbinary || die 'dynbinary failed'
|
||||
|
||||
# build the man pages too
|
||||
./man/md2man-all.sh || die "unable to generate man pages"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
VERSION="$(cat VERSION)"
|
||||
newbin "bundles/$VERSION/dynbinary-client/docker-$VERSION" docker
|
||||
newbin "bundles/$VERSION/dynbinary-daemon/dockerd-$VERSION" dockerd
|
||||
dosym containerd /usr/bin/docker-containerd
|
||||
dosym containerd-shim /usr/bin/docker-containerd-shim
|
||||
dosym runc /usr/bin/docker-runc
|
||||
|
||||
newinitd contrib/init/openrc/docker.initd docker
|
||||
newconfd contrib/init/openrc/docker.confd docker
|
||||
|
||||
systemd_dounit contrib/init/systemd/docker.{service,socket}
|
||||
|
||||
udev_dorules contrib/udev/*.rules
|
||||
|
||||
dodoc AUTHORS CONTRIBUTING.md CHANGELOG.md NOTICE README.md
|
||||
dodoc -r docs/*
|
||||
doman man/man*/*
|
||||
|
||||
dobashcomp contrib/completion/bash/*
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins contrib/completion/zsh/*
|
||||
|
||||
insinto /usr/share/vim/vimfiles
|
||||
doins -r contrib/syntax/vim/ftdetect
|
||||
doins -r contrib/syntax/vim/syntax
|
||||
|
||||
# note: intentionally not using "doins" so that we preserve +x bits
|
||||
mkdir -p "${D}/usr/share/${PN}/contrib"
|
||||
cp -R contrib/* "${D}/usr/share/${PN}/contrib"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
udev_reload
|
||||
|
||||
elog
|
||||
elog "To use Docker, the Docker daemon must be running as root. To automatically"
|
||||
elog "start the Docker daemon at boot, add Docker to the default runlevel:"
|
||||
elog " rc-update add docker default"
|
||||
elog "Similarly for systemd:"
|
||||
elog " systemctl enable docker.service"
|
||||
elog
|
||||
elog "To use Docker as a non-root user, add yourself to the 'docker' group:"
|
||||
elog " usermod -aG docker youruser"
|
||||
elog
|
||||
}
|
@ -1,148 +0,0 @@
|
||||
diff --git a/examples/apparmor/Makefile.am b/examples/apparmor/Makefile.am
|
||||
index 7a20e16..c3c67b6 100644
|
||||
--- a/examples/apparmor/Makefile.am
|
||||
+++ b/examples/apparmor/Makefile.am
|
||||
@@ -19,13 +19,13 @@ EXTRA_DIST= \
|
||||
TEMPLATE.lxc \
|
||||
libvirt-qemu \
|
||||
libvirt-lxc \
|
||||
- usr.lib.libvirt.virt-aa-helper \
|
||||
+ usr.libexec.virt-aa-helper \
|
||||
usr.sbin.libvirtd
|
||||
|
||||
if WITH_APPARMOR_PROFILES
|
||||
apparmordir = $(sysconfdir)/apparmor.d/
|
||||
apparmor_DATA = \
|
||||
- usr.lib.libvirt.virt-aa-helper \
|
||||
+ usr.libexec.virt-aa-helper \
|
||||
usr.sbin.libvirtd \
|
||||
$(NULL)
|
||||
|
||||
diff --git a/examples/apparmor/usr.lib.libvirt.virt-aa-helper b/examples/apparmor/usr.lib.libvirt.virt-aa-helper
|
||||
deleted file mode 100644
|
||||
index b34fb35..0000000
|
||||
--- a/examples/apparmor/usr.lib.libvirt.virt-aa-helper
|
||||
+++ /dev/null
|
||||
@@ -1,48 +0,0 @@
|
||||
-# Last Modified: Mon Apr 5 15:10:27 2010
|
||||
-#include <tunables/global>
|
||||
-
|
||||
-profile virt-aa-helper /usr/{lib,lib64}/libvirt/virt-aa-helper {
|
||||
- #include <abstractions/base>
|
||||
-
|
||||
- # needed for searching directories
|
||||
- capability dac_override,
|
||||
- capability dac_read_search,
|
||||
-
|
||||
- # needed for when disk is on a network filesystem
|
||||
- network inet,
|
||||
-
|
||||
- deny @{PROC}/[0-9]*/mounts r,
|
||||
- @{PROC}/[0-9]*/net/psched r,
|
||||
- owner @{PROC}/[0-9]*/status r,
|
||||
- @{PROC}/filesystems r,
|
||||
-
|
||||
- # for hostdev
|
||||
- /sys/devices/ r,
|
||||
- /sys/devices/** r,
|
||||
-
|
||||
- /usr/{lib,lib64}/libvirt/virt-aa-helper mr,
|
||||
- /sbin/apparmor_parser Ux,
|
||||
-
|
||||
- /etc/apparmor.d/libvirt/* r,
|
||||
- /etc/apparmor.d/libvirt/libvirt-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]* rw,
|
||||
-
|
||||
- # for backingstore -- allow access to non-hidden files in @{HOME} as well
|
||||
- # as storage pools
|
||||
- audit deny @{HOME}/.* mrwkl,
|
||||
- audit deny @{HOME}/.*/ rw,
|
||||
- audit deny @{HOME}/.*/** mrwkl,
|
||||
- audit deny @{HOME}/bin/ rw,
|
||||
- audit deny @{HOME}/bin/** mrwkl,
|
||||
- @{HOME}/ r,
|
||||
- @{HOME}/** r,
|
||||
- /var/lib/libvirt/images/ r,
|
||||
- /var/lib/libvirt/images/** r,
|
||||
- /{media,mnt,opt,srv}/** r,
|
||||
-
|
||||
- /**.img r,
|
||||
- /**.qcow{,2} r,
|
||||
- /**.qed r,
|
||||
- /**.vmdk r,
|
||||
- /**.[iI][sS][oO] r,
|
||||
- /**/disk{,.*} r,
|
||||
-}
|
||||
diff --git a/examples/apparmor/usr.libexec.virt-aa-helper b/examples/apparmor/usr.libexec.virt-aa-helper
|
||||
new file mode 100644
|
||||
index 0000000..b34fb35
|
||||
--- /dev/null
|
||||
+++ b/examples/apparmor/usr.libexec.virt-aa-helper
|
||||
@@ -0,0 +1,48 @@
|
||||
+# Last Modified: Mon Apr 5 15:10:27 2010
|
||||
+#include <tunables/global>
|
||||
+
|
||||
+profile virt-aa-helper /usr/libexec/virt-aa-helper {
|
||||
+ #include <abstractions/base>
|
||||
+
|
||||
+ # needed for searching directories
|
||||
+ capability dac_override,
|
||||
+ capability dac_read_search,
|
||||
+
|
||||
+ # needed for when disk is on a network filesystem
|
||||
+ network inet,
|
||||
+
|
||||
+ deny @{PROC}/[0-9]*/mounts r,
|
||||
+ @{PROC}/[0-9]*/net/psched r,
|
||||
+ owner @{PROC}/[0-9]*/status r,
|
||||
+ @{PROC}/filesystems r,
|
||||
+
|
||||
+ # for hostdev
|
||||
+ /sys/devices/ r,
|
||||
+ /sys/devices/** r,
|
||||
+
|
||||
+ /usr/libexec/virt-aa-helper mr,
|
||||
+ /sbin/apparmor_parser Ux,
|
||||
+
|
||||
+ /etc/apparmor.d/libvirt/* r,
|
||||
+ /etc/apparmor.d/libvirt/libvirt-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]* rw,
|
||||
+
|
||||
+ # for backingstore -- allow access to non-hidden files in @{HOME} as well
|
||||
+ # as storage pools
|
||||
+ audit deny @{HOME}/.* mrwkl,
|
||||
+ audit deny @{HOME}/.*/ rw,
|
||||
+ audit deny @{HOME}/.*/** mrwkl,
|
||||
+ audit deny @{HOME}/bin/ rw,
|
||||
+ audit deny @{HOME}/bin/** mrwkl,
|
||||
+ @{HOME}/ r,
|
||||
+ @{HOME}/** r,
|
||||
+ /var/lib/libvirt/images/ r,
|
||||
+ /var/lib/libvirt/images/** r,
|
||||
+ /{media,mnt,opt,srv}/** r,
|
||||
+
|
||||
+ /**.img r,
|
||||
+ /**.qcow{,2} r,
|
||||
+ /**.qed r,
|
||||
+ /**.vmdk r,
|
||||
+ /**.[iI][sS][oO] r,
|
||||
+ /**/disk{,.*} r,
|
||||
+}
|
||||
diff --git a/examples/apparmor/usr.sbin.libvirtd b/examples/apparmor/usr.sbin.libvirtd
|
||||
index 5d606e6..ab2f1a9 100644
|
||||
--- a/examples/apparmor/usr.sbin.libvirtd
|
||||
+++ b/examples/apparmor/usr.sbin.libvirtd
|
||||
@@ -58,8 +58,10 @@
|
||||
audit deny /sys/kernel/security/apparmor/.* rwxl,
|
||||
/sys/kernel/security/apparmor/profiles r,
|
||||
/usr/{lib,lib64}/libvirt/* PUxr,
|
||||
- /usr/{lib,lib64}/libvirt/libvirt_parthelper ix,
|
||||
- /usr/{lib,lib64}/libvirt/libvirt_iohelper ix,
|
||||
+ /usr/libexec/virt-aa-helper PUxr,
|
||||
+ /usr/libexec/libvirt_lxc PUxr,
|
||||
+ /usr/libexec/libvirt_parthelper ix,
|
||||
+ /usr/libexec/libvirt_iohelper ix,
|
||||
/etc/libvirt/hooks/** rmix,
|
||||
/etc/xen/scripts/** rmix,
|
||||
|
||||
--
|
||||
2.3.6
|
||||
|
@ -1,112 +0,0 @@
|
||||
From 69372a32025ac16578ad277c6356e89713a3f9f4 Mon Sep 17 00:00:00 2001
|
||||
From: Matthias Maier <tamiko@kyomu.43-1.org>
|
||||
Date: Mon, 3 Nov 2014 00:51:35 +0100
|
||||
Subject: [PATCH] Do not use /etc/sysconf
|
||||
|
||||
---
|
||||
daemon/Makefile.am | 4 +---
|
||||
daemon/libvirtd.service.in | 3 +--
|
||||
src/Makefile.am | 3 ---
|
||||
src/locking/virtlockd.service.in | 3 +--
|
||||
tools/Makefile.am | 2 +-
|
||||
tools/libvirt-guests.service.in | 2 +-
|
||||
6 files changed, 5 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/daemon/Makefile.am b/daemon/Makefile.am
|
||||
index b95a79d..1e98422 100644
|
||||
--- a/daemon/Makefile.am
|
||||
+++ b/daemon/Makefile.am
|
||||
@@ -328,9 +328,7 @@ uninstall-logrotate:
|
||||
rmdir $(DESTDIR)$(sysconfdir)/logrotate.d || :
|
||||
|
||||
install-sysconfig:
|
||||
- $(MKDIR_P) $(DESTDIR)$(sysconfdir)/sysconfig
|
||||
- $(INSTALL_DATA) $(srcdir)/libvirtd.sysconf \
|
||||
- $(DESTDIR)$(sysconfdir)/sysconfig/libvirtd
|
||||
+
|
||||
uninstall-sysconfig:
|
||||
rm -f $(DESTDIR)$(sysconfdir)/sysconfig/libvirtd
|
||||
rmdir $(DESTDIR)$(sysconfdir)/sysconfig || :
|
||||
diff --git a/daemon/libvirtd.service.in b/daemon/libvirtd.service.in
|
||||
index 1759ac8..cd337a1 100644
|
||||
--- a/daemon/libvirtd.service.in
|
||||
+++ b/daemon/libvirtd.service.in
|
||||
@@ -10,8 +10,7 @@ Documentation=http://libvirt.org
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
-EnvironmentFile=-/etc/sysconfig/libvirtd
|
||||
-ExecStart=@sbindir@/libvirtd $LIBVIRTD_ARGS
|
||||
+ExecStart=@sbindir@/libvirtd
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
Restart=on-failure
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index e65177f..18bbbb4 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -2269,9 +2269,6 @@ EXTRA_DIST += locking/virtlockd.sysconf \
|
||||
locking/test_libvirt_lockd.aug.in
|
||||
|
||||
install-sysconfig:
|
||||
- $(MKDIR_P) $(DESTDIR)$(sysconfdir)/sysconfig
|
||||
- $(INSTALL_DATA) $(srcdir)/locking/virtlockd.sysconf \
|
||||
- $(DESTDIR)$(sysconfdir)/sysconfig/virtlockd
|
||||
|
||||
uninstall-sysconfig:
|
||||
rm -f $(DESTDIR)$(sysconfdir)/sysconfig/virtlockd
|
||||
diff --git a/src/locking/virtlockd.service.in b/src/locking/virtlockd.service.in
|
||||
index 57089b0..ace0c83 100644
|
||||
--- a/src/locking/virtlockd.service.in
|
||||
+++ b/src/locking/virtlockd.service.in
|
||||
@@ -5,8 +5,7 @@ Documentation=man:virtlockd(8)
|
||||
Documentation=http://libvirt.org
|
||||
|
||||
[Service]
|
||||
-EnvironmentFile=-/etc/sysconfig/virtlockd
|
||||
-ExecStart=@sbindir@/virtlockd $VIRTLOCKD_ARGS
|
||||
+ExecStart=@sbindir@/virtlockd
|
||||
ExecReload=/bin/kill -USR1 $MAINPID
|
||||
# Loosing the locks is a really bad thing that will
|
||||
# cause the machine to be fenced (rebooted), so make
|
||||
diff --git a/tools/Makefile.am b/tools/Makefile.am
|
||||
index 93d642d..2da0e97 100644
|
||||
--- a/tools/Makefile.am
|
||||
+++ b/tools/Makefile.am
|
||||
@@ -259,7 +259,7 @@ uninstall-local: uninstall-init uninstall-systemd
|
||||
install-sysconfig:
|
||||
$(MKDIR_P) $(DESTDIR)$(sysconfdir)/sysconfig
|
||||
$(INSTALL_DATA) $(srcdir)/libvirt-guests.sysconf \
|
||||
- $(DESTDIR)$(sysconfdir)/sysconfig/libvirt-guests
|
||||
+ $(DESTDIR)$(sysconfdir)/libvirt/libvirt-guests.conf
|
||||
|
||||
uninstall-sysconfig:
|
||||
rm -f $(DESTDIR)$(sysconfdir)/sysconfig/libvirt-guests
|
||||
diff --git a/tools/libvirt-guests.service.in b/tools/libvirt-guests.service.in
|
||||
index cc04b6d..9be514b 100644
|
||||
--- a/tools/libvirt-guests.service.in
|
||||
+++ b/tools/libvirt-guests.service.in
|
||||
@@ -5,7 +5,7 @@ Documentation=man:libvirtd(8)
|
||||
Documentation=http://libvirt.org
|
||||
|
||||
[Service]
|
||||
-EnvironmentFile=-/etc/sysconfig/libvirt-guests
|
||||
+EnvironmentFile=-/etc/libvirt/libvirt-guests.conf
|
||||
# Hack just call traditional service until we factor
|
||||
# out the code
|
||||
ExecStart=@libexecdir@/libvirt-guests.sh start
|
||||
--- a/tools/libvirt-guests.sysconf
|
||||
+++ b/tools/libvirt-guests.sysconf
|
||||
@@ -1,3 +1,10 @@
|
||||
+#
|
||||
+# Warning: This configuration file is only sourced by the systemd
|
||||
+# libvirt-guests.service unit. The coresponding openrc facility is in
|
||||
+# /etc/init.d/libvirtd and /etc/conf.d/libvirtd
|
||||
+#
|
||||
+
|
||||
+
|
||||
# URIs to check for running guests
|
||||
# example: URIS='default xen:/// vbox+tcp://host/system lxc:///'
|
||||
#URIS=default
|
||||
--
|
||||
2.0.4
|
@ -1,386 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils user autotools-utils linux-info systemd readme.gentoo
|
||||
|
||||
BACKPORTS="20160709" # CVE-2015-5313 CVE-2016-5008
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
SLOT="0"
|
||||
else
|
||||
# Versions with 4 numbers are stable updates:
|
||||
if [[ ${PV} =~ ^[0-9]+(\.[0-9]+){3} ]]; then
|
||||
SRC_URI="http://libvirt.org/sources/stable_updates/${P}.tar.gz"
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/${P}.tar.gz"
|
||||
fi
|
||||
SRC_URI+=" ${BACKPORTS:+
|
||||
https://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz
|
||||
https://dev.gentoo.org/~tamiko/distfiles/${P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="amd64 x86"
|
||||
SLOT="0/${PV}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
IUSE="apparmor audit avahi +caps firewalld fuse glusterfs iscsi +libvirtd lvm \
|
||||
lxc +macvtap nfs nls numa openvz parted pcap phyp policykit +qemu rbd sasl \
|
||||
selinux systemd +udev uml +vepa virtualbox virt-network wireshark-plugins \
|
||||
xen"
|
||||
|
||||
REQUIRED_USE="
|
||||
firewalld? ( virt-network )
|
||||
libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
qemu? ( libvirtd )
|
||||
uml? ( libvirtd )
|
||||
vepa? ( macvtap )
|
||||
virt-network? ( libvirtd )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )"
|
||||
|
||||
# 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="
|
||||
app-misc/scrub
|
||||
dev-libs/libgcrypt:0
|
||||
dev-libs/libnl:3
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
>=net-analyzer/netcat6-1.0-r2
|
||||
>=net-libs/gnutls-1.0.25:0=
|
||||
net-libs/libssh2
|
||||
>=net-misc/curl-7.18.0
|
||||
sys-apps/dmidecode
|
||||
>=sys-apps/util-linux-2.17
|
||||
sys-devel/gettext
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/readline:=
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
audit? ( sys-process/audit )
|
||||
avahi? ( >=net-dns/avahi-0.6[dbus] )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
firewalld? ( net-firewall/firewalld )
|
||||
fuse? ( >=sys-fs/fuse-2.8.6 )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.1 )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
|
||||
lxc? ( !systemd? ( sys-power/pm-utils ) )
|
||||
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
|
||||
!systemd? ( sys-power/pm-utils )
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
systemd? ( sys-apps/systemd )
|
||||
virt-network? (
|
||||
net-dns/dnsmasq[script]
|
||||
net-firewall/ebtables
|
||||
>=net-firewall/iptables-1.4.10[ipv6]
|
||||
net-misc/radvd
|
||||
sys-apps/iproute2[-minimal]
|
||||
)
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
wireshark-plugins? ( net-analyzer/wireshark:= )
|
||||
xen? (
|
||||
app-emulation/xen
|
||||
app-emulation/xen-tools:=
|
||||
)
|
||||
udev? (
|
||||
virtual/udev
|
||||
>=x11-libs/libpciaccess-0.10.9
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/xhtml1
|
||||
dev-lang/perl
|
||||
dev-libs/libxslt
|
||||
dev-perl/XML-XPath
|
||||
virtual/pkgconfig"
|
||||
|
||||
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
|
||||
|
||||
# Check kernel configuration:
|
||||
CONFIG_CHECK=""
|
||||
use fuse && CONFIG_CHECK+="
|
||||
~FUSE_FS"
|
||||
|
||||
use lvm && CONFIG_CHECK+="
|
||||
~BLK_DEV_DM
|
||||
~DM_MULTIPATH
|
||||
~DM_SNAPSHOT"
|
||||
|
||||
use lxc && CONFIG_CHECK+="
|
||||
~BLK_CGROUP
|
||||
~CGROUP_CPUACCT
|
||||
~CGROUP_DEVICE
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_NET_PRIO
|
||||
~CGROUP_PERF
|
||||
~CGROUPS
|
||||
~CGROUP_SCHED
|
||||
~CPUSETS
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~IPC_NS
|
||||
~MACVLAN
|
||||
~NAMESPACES
|
||||
~NET_CLS_CGROUP
|
||||
~NET_NS
|
||||
~PID_NS
|
||||
~POSIX_MQUEUE
|
||||
~SECURITYFS
|
||||
~USER_NS
|
||||
~UTS_NS
|
||||
~VETH
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS"
|
||||
# Handle specific kernel versions for different features
|
||||
kernel_is lt 3 6 && CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR"
|
||||
kernel_is lt 3 6 && CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR"
|
||||
if $(kernel_is ge 3 6); then
|
||||
CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP "
|
||||
if $(kernel_is lt 4 5); then
|
||||
CONFIG_CHECK+=" ~MEMCG_KMEM "
|
||||
fi
|
||||
fi
|
||||
|
||||
use macvtap && CONFIG_CHECK+="
|
||||
~MACVTAP"
|
||||
|
||||
use virt-network && CONFIG_CHECK+="
|
||||
~BRIDGE_EBT_MARK_T
|
||||
~BRIDGE_NF_EBTABLES
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_CONNMARK
|
||||
~NETFILTER_XT_MARK
|
||||
~NETFILTER_XT_TARGET_CHECKSUM"
|
||||
# Bandwidth Limiting Support
|
||||
use virt-network && CONFIG_CHECK+="
|
||||
~BRIDGE_EBT_T_NAT
|
||||
~NET_ACT_POLICE
|
||||
~NET_CLS_FW
|
||||
~NET_CLS_U32
|
||||
~NET_SCH_HTB
|
||||
~NET_SCH_INGRESS
|
||||
~NET_SCH_SFQ"
|
||||
|
||||
ERROR_USER_NS="Optional depending on LXC configuration."
|
||||
|
||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
touch "${S}/.mailmap"
|
||||
|
||||
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}"/${PN}-1.2.9-do_not_use_sysconf.patch \
|
||||
"${FILESDIR}"/${PN}-1.2.16-fix_paths_in_libvirt-guests_sh.patch \
|
||||
"${FILESDIR}"/${PN}-1.2.17-fix_paths_for_apparmor.patch \
|
||||
"${FILESDIR}"/${P}-avoid_deprecated_pc_file.patch
|
||||
|
||||
[[ -n ${BACKPORTS} ]] &&
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" \
|
||||
EPATCH_SOURCE="${WORKDIR}/patches" epatch
|
||||
|
||||
epatch_user
|
||||
|
||||
# Tweak the init script:
|
||||
cp "${FILESDIR}/libvirtd.init-r15" "${S}/libvirtd.init" || die
|
||||
sed -e "s/USE_FLAG_FIREWALLD/$(usex firewalld 'need firewalld' '')/" \
|
||||
-e "s/USE_FLAG_AVAHI/$(usex avahi avahi-daemon '')/" \
|
||||
-e "s/USE_FLAG_ISCSI/$(usex iscsi iscsid '')/" \
|
||||
-e "s/USE_FLAG_RBD/$(usex rbd ceph '')/" \
|
||||
-i "${S}/libvirtd.init" || die "sed failed"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=true
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_with apparmor)
|
||||
$(use_with apparmor apparmor-profiles)
|
||||
$(use_with audit)
|
||||
$(use_with avahi)
|
||||
$(use_with caps capng)
|
||||
$(use_with firewalld)
|
||||
$(use_with fuse)
|
||||
$(use_with glusterfs)
|
||||
$(use_with glusterfs storage-gluster)
|
||||
$(use_with iscsi storage-iscsi)
|
||||
$(use_with libvirtd)
|
||||
$(use_with lvm storage-lvm)
|
||||
$(use_with lvm storage-mpath)
|
||||
$(use_with lxc)
|
||||
$(use_with macvtap)
|
||||
$(use_enable nls)
|
||||
$(use_with numa numactl)
|
||||
$(use_with numa numad)
|
||||
$(use_with openvz)
|
||||
$(use_with parted storage-disk)
|
||||
$(use_with pcap libpcap)
|
||||
$(use_with phyp)
|
||||
$(use_with policykit polkit)
|
||||
$(use_with qemu)
|
||||
$(use_with qemu yajl)
|
||||
$(use_with rbd storage-rbd)
|
||||
$(use_with sasl)
|
||||
$(use_with selinux)
|
||||
$(use_with systemd systemd-daemon)
|
||||
$(usex systemd --with-init-script=systemd '')
|
||||
$(use_with udev)
|
||||
$(use_with uml)
|
||||
$(use_with vepa virtualport)
|
||||
$(use_with virt-network network)
|
||||
$(use_with wireshark-plugins wireshark-dissector)
|
||||
$(use_with xen)
|
||||
$(use_with xen xen-inotify)
|
||||
$(usex xen --with-libxl '')
|
||||
|
||||
--without-hal
|
||||
--without-netcf
|
||||
--without-sanlock
|
||||
--without-xenapi
|
||||
--with-esx
|
||||
--with-qemu-group=$(usex caps qemu root)
|
||||
--with-qemu-user=$(usex caps qemu root)
|
||||
--with-remote
|
||||
--with-storage-fs
|
||||
--with-vmware
|
||||
|
||||
--disable-static
|
||||
--disable-werror
|
||||
|
||||
--with-html-subdir=${PF}/html
|
||||
--localstatedir=/var
|
||||
)
|
||||
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myeconfargs+=( --with-vbox=/usr/lib/virtualbox-ose/ )
|
||||
else
|
||||
myeconfargs+=( $(use_with virtualbox vbox) )
|
||||
fi
|
||||
|
||||
autotools-utils_src_configure
|
||||
|
||||
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() {
|
||||
autotools-utils_src_compile install \
|
||||
DESTDIR="${D}" \
|
||||
SYSTEMD_UNIT_DIR="$(systemd_get_unitdir)"
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
# Remove bogus, empty directories. They are either not used, or
|
||||
# libvirtd is able to create them on demand
|
||||
rm -rf "${D}"/etc/sysconfig
|
||||
rm -rf "${D}"/var/cache
|
||||
rm -rf "${D}"/var/run
|
||||
rm -rf "${D}"/var/log
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
use systemd && systemd_install_serviced \
|
||||
"${FILESDIR}"/libvirtd.service.conf libvirtd.service
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd || die
|
||||
newinitd "${FILESDIR}/libvirt-guests.init-r1" libvirt-guests || die
|
||||
newinitd "${FILESDIR}/virtlockd.init-r1" virtlockd || die
|
||||
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests || die
|
||||
|
||||
DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r1")
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
if [[ -n ${REPLACING_VERSIONS} ]] && ! version_is_at_least 1.2.18-r2 ${REPLACING_VERSIONS} ]]; then
|
||||
FORCE_PRINT_ELOG=true
|
||||
fi
|
||||
|
||||
DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r1")
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
From bf5ac531a030bce9e798ab66bc53e84a65ca8fdb Mon Sep 17 00:00:00 2001
|
||||
From: Michael Cronenworth <mike@cchtml.com>
|
||||
Date: Thu, 16 Jun 2016 00:21:13 -0500
|
||||
Subject: [PATCH] secur32: Provide a static declaration for
|
||||
gnutls_cipher_get_block_size.
|
||||
|
||||
Instead of providing an extern provide a static declaration. The
|
||||
function return type changed from signed to unsigned in GnuTLS 3.5.
|
||||
|
||||
Signed-off-by: Michael Cronenworth <mike@cchtml.com>
|
||||
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
||||
---
|
||||
dlls/secur32/schannel_gnutls.c | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
diff --git a/dlls/secur32/schannel_gnutls.c b/dlls/secur32/schannel_gnutls.c
|
||||
index b10b629..bcadd47 100644
|
||||
--- a/dlls/secur32/schannel_gnutls.c
|
||||
+++ b/dlls/secur32/schannel_gnutls.c
|
||||
@@ -42,7 +42,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(secur32);
|
||||
WINE_DECLARE_DEBUG_CHANNEL(winediag);
|
||||
|
||||
/* Not present in gnutls version < 2.9.10. */
|
||||
-extern int gnutls_cipher_get_block_size(gnutls_cipher_algorithm_t algorithm);
|
||||
+static int (*pgnutls_cipher_get_block_size)(gnutls_cipher_algorithm_t algorithm);
|
||||
|
||||
static void *libgnutls_handle;
|
||||
#define MAKE_FUNCPTR(f) static typeof(f) * p##f
|
||||
@@ -52,7 +52,6 @@ MAKE_FUNCPTR(gnutls_certificate_allocate_credentials);
|
||||
MAKE_FUNCPTR(gnutls_certificate_free_credentials);
|
||||
MAKE_FUNCPTR(gnutls_certificate_get_peers);
|
||||
MAKE_FUNCPTR(gnutls_cipher_get);
|
||||
-MAKE_FUNCPTR(gnutls_cipher_get_block_size);
|
||||
MAKE_FUNCPTR(gnutls_cipher_get_key_size);
|
||||
MAKE_FUNCPTR(gnutls_credentials_set);
|
||||
MAKE_FUNCPTR(gnutls_deinit);
|
||||
--
|
||||
2.1.4
|
||||
|
@ -0,0 +1,520 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"
|
||||
PLOCALE_BACKUP="en"
|
||||
|
||||
inherit autotools eutils fdo-mime flag-o-matic gnome2-utils l10n multilib multilib-minimal pax-utils toolchain-funcs virtualx versionator
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://source.winehq.org/git/wine.git http://source.winehq.org/git/wine.git"
|
||||
EGIT_BRANCH="master"
|
||||
inherit git-r3
|
||||
SRC_URI=""
|
||||
#KEYWORDS=""
|
||||
else
|
||||
MAJOR_V=$(get_version_component_range 1-2)
|
||||
SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}/${P}.tar.bz2"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
GV="2.40"
|
||||
MV="4.5.6"
|
||||
STAGING_GV="2.40"
|
||||
STAGING_MV="4.5.6"
|
||||
[[ ${MAJOR_V} == "1.8" ]] && SUFFIX="-unofficial"
|
||||
STAGING_P="wine-staging-${PV}"
|
||||
STAGING_DIR="${WORKDIR}/${STAGING_P}${SUFFIX}"
|
||||
WINE_GENTOO="wine-gentoo-2015.03.07"
|
||||
GST_P="wine-1.8-gstreamer-1.0"
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix"
|
||||
HOMEPAGE="http://www.winehq.org/"
|
||||
SRC_URI="${SRC_URI}
|
||||
!staging? (
|
||||
gecko? (
|
||||
abi_x86_32? ( https://dl.winehq.org/wine/wine-gecko/${GV}/wine_gecko-${GV}-x86.msi )
|
||||
abi_x86_64? ( https://dl.winehq.org/wine/wine-gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
|
||||
)
|
||||
mono? ( https://dl.winehq.org/wine/wine-mono/${MV}/wine-mono-${MV}.msi )
|
||||
)
|
||||
staging? (
|
||||
gecko? (
|
||||
abi_x86_32? ( https://dl.winehq.org/wine/wine-gecko/${STAGING_GV}/wine_gecko-${STAGING_GV}-x86.msi )
|
||||
abi_x86_64? ( https://dl.winehq.org/wine/wine-gecko/${STAGING_GV}/wine_gecko-${STAGING_GV}-x86_64.msi )
|
||||
)
|
||||
mono? ( https://dl.winehq.org/wine/wine-mono/${STAGING_MV}/wine-mono-${STAGING_MV}.msi )
|
||||
)
|
||||
https://dev.gentoo.org/~np-hardass/distfiles/${PN}/${GST_P}.patch.bz2
|
||||
https://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
STAGING_EGIT_REPO_URI="git://github.com/wine-compholio/wine-staging.git"
|
||||
else
|
||||
SRC_URI="${SRC_URI}
|
||||
staging? ( https://github.com/wine-compholio/wine-staging/archive/v${PV}${SUFFIX}.tar.gz -> ${STAGING_P}.tar.gz )"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="+abi_x86_32 +abi_x86_64 +alsa capi cups custom-cflags dos elibc_glibc +fontconfig +gecko gphoto2 gsm gstreamer +jpeg kernel_FreeBSD +lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss +perl pcap pipelight +png prelink pulseaudio +realtime +run-exes s3tc samba scanner selinux +ssl staging test +threads +truetype +udisks v4l vaapi +X +xcomposite xinerama +xml"
|
||||
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
||||
X? ( truetype )
|
||||
elibc_glibc? ( threads )
|
||||
mono? ( abi_x86_32 )
|
||||
osmesa? ( opengl )
|
||||
pipelight? ( staging )
|
||||
s3tc? ( staging )
|
||||
test? ( abi_x86_32 )
|
||||
vaapi? ( staging )" # osmesa-opengl #286560 # X-truetype #551124
|
||||
|
||||
# FIXME: the test suite is unsuitable for us; many tests require net access
|
||||
# or fail due to Xvfb's opengl limitations.
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
X? (
|
||||
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
|
||||
capi? ( net-libs/libcapi[${MULTILIB_USEDEP}] )
|
||||
cups? ( net-print/cups:=[${MULTILIB_USEDEP}] )
|
||||
fontconfig? ( media-libs/fontconfig:=[${MULTILIB_USEDEP}] )
|
||||
gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] )
|
||||
gsm? ( media-sound/gsm:=[${MULTILIB_USEDEP}] )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||
media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] )
|
||||
lcms? ( media-libs/lcms:2=[${MULTILIB_USEDEP}] )
|
||||
ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0[${MULTILIB_USEDEP}] )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2:0=[${MULTILIB_USEDEP}] )
|
||||
netapi? ( net-fs/samba[netapi(+),${MULTILIB_USEDEP}] )
|
||||
nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] )
|
||||
odbc? ( dev-db/unixODBC:=[${MULTILIB_USEDEP}] )
|
||||
openal? ( media-libs/openal:=[${MULTILIB_USEDEP}] )
|
||||
opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
|
||||
opengl? (
|
||||
virtual/glu[${MULTILIB_USEDEP}]
|
||||
virtual/opengl[${MULTILIB_USEDEP}]
|
||||
)
|
||||
osmesa? ( media-libs/mesa[osmesa,${MULTILIB_USEDEP}] )
|
||||
pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] )
|
||||
png? ( media-libs/libpng:0=[${MULTILIB_USEDEP}] )
|
||||
pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] )
|
||||
scanner? ( media-gfx/sane-backends:=[${MULTILIB_USEDEP}] )
|
||||
ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] )
|
||||
staging? ( sys-apps/attr[${MULTILIB_USEDEP}] )
|
||||
truetype? ( >=media-libs/freetype-2.0.0[${MULTILIB_USEDEP}] )
|
||||
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||
vaapi? ( x11-libs/libva[X,${MULTILIB_USEDEP}] )
|
||||
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
|
||||
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )
|
||||
xml? (
|
||||
dev-libs/libxml2[${MULTILIB_USEDEP}]
|
||||
dev-libs/libxslt[${MULTILIB_USEDEP}]
|
||||
)
|
||||
abi_x86_32? (
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-baselibs-20140508-r14
|
||||
!app-emulation/emul-linux-x86-db[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-db-20140508-r3
|
||||
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-medialibs-20140508-r6
|
||||
!app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-opengl-20140508-r1
|
||||
!app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-sdl-20140508-r1
|
||||
!app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-soundlibs-20140508
|
||||
!app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-xlibs-20140508
|
||||
)"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
dos? ( >=games-emulation/dosbox-0.74_p20160629 )
|
||||
perl? (
|
||||
dev-lang/perl
|
||||
dev-perl/XML-Simple
|
||||
)
|
||||
pulseaudio? (
|
||||
realtime? ( sys-auth/rtkit )
|
||||
)
|
||||
s3tc? ( >=media-libs/libtxc_dxtn-1.0.1-r1[${MULTILIB_USEDEP}] )
|
||||
samba? ( >=net-fs/samba-3.0.25[winbind] )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
udisks? ( sys-fs/udisks:2 )"
|
||||
|
||||
# tools/make_requests requires perl
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
sys-devel/flex
|
||||
>=sys-kernel/linux-headers-2.6
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
X? (
|
||||
x11-proto/inputproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
)
|
||||
prelink? ( sys-devel/prelink )
|
||||
staging? (
|
||||
dev-lang/perl
|
||||
dev-perl/XML-Simple
|
||||
)
|
||||
xinerama? ( x11-proto/xineramaproto )"
|
||||
|
||||
# These use a non-standard "Wine" category, which is provided by
|
||||
# /etc/xdg/applications-merged/wine.menu
|
||||
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
|
||||
usr/share/applications/wine-notepad.desktop
|
||||
usr/share/applications/wine-uninstaller.desktop
|
||||
usr/share/applications/wine-winecfg.desktop"
|
||||
|
||||
wine_compiler_check() {
|
||||
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||
|
||||
# GCC-specific bugs
|
||||
if tc-is-gcc; then
|
||||
# bug #549768
|
||||
if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) -le 2 ]]; then
|
||||
ebegin "Checking for gcc-5 ms_abi compiler bug"
|
||||
$(tc-getCC) -O2 "${FILESDIR}"/pr66838.c -o "${T}"/pr66838 || die
|
||||
# Run in subshell to prevent "Aborted" message
|
||||
( "${T}"/pr66838 || false ) >/dev/null 2>&1
|
||||
eend $?
|
||||
if [[ $? -ne 0 ]] ; then
|
||||
eerror "64-bit wine cannot be built with gcc-5.1 or initial patchset of 5.2.0"
|
||||
eerror "due to compiler bugs; please re-emerge the latest gcc-5.2.x ebuild,"
|
||||
eerror "or use gcc-config to select a different compiler version."
|
||||
eerror "See https://bugs.gentoo.org/549768"
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
# bug #574044
|
||||
if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) = 3 ]]; then
|
||||
ebegin "Checking for gcc-5-3 stack realignment compiler bug"
|
||||
# Compile in subshell to prevent "Aborted" message
|
||||
( $(tc-getCC) -O2 -mincoming-stack-boundary=3 "${FILESDIR}"/pr69140.c -o "${T}"/pr69140 || false ) >/dev/null 2>&1
|
||||
eend $?
|
||||
if [[ $? -ne 0 ]] ; then
|
||||
eerror "Wine cannot be built with this version of gcc-5.3"
|
||||
eerror "due to compiler bugs; please re-emerge the latest gcc-5.3.x ebuild,"
|
||||
eerror "or use gcc-config to select a different compiler version."
|
||||
eerror "See https://bugs.gentoo.org/574044"
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
# Ensure compiler support
|
||||
if use abi_x86_64; then
|
||||
ebegin "Checking for 64-bit compiler with builtin_ms_va_list support"
|
||||
# Compile in subshell to prevent "Aborted" message
|
||||
( $(tc-getCC) -O2 "${FILESDIR}"/builtin_ms_va_list.c -o "${T}"/builtin_ms_va_list >/dev/null 2>&1)
|
||||
eend $?
|
||||
if [[ $? -ne 0 ]]; then
|
||||
eerror "This version of $(tc-getCC) does not support builtin_ms_va_list, can't enable 64-bit wine"
|
||||
eerror
|
||||
eerror "You need gcc-4.4+ or clang 3.8+ to build 64-bit wine"
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
wine_build_environment_check() {
|
||||
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||
|
||||
if use abi_x86_32 && use opencl && [[ x$(eselect opencl show 2> /dev/null) = "xintel" ]]; then
|
||||
eerror "You cannot build wine with USE=opencl because intel-ocl-sdk is 64-bit only."
|
||||
eerror "See https://bugs.gentoo.org/487864 for more details."
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
wine_compiler_check || die
|
||||
wine_build_environment_check || die
|
||||
|
||||
# Verify OSS support
|
||||
if use oss && ! use kernel_FreeBSD; then
|
||||
local oss_vers=$(best_version media-sound/oss)
|
||||
if [[ -z ${oss_vers} ]] || ! version_is_at_least "4" ${oss_vers}; then
|
||||
eerror "You cannot build wine with USE=oss without having support from a"
|
||||
eerror "FreeBSD kernel or >=media-sound/oss-4 (only available through external repos)"
|
||||
eerror
|
||||
die
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
wine_build_environment_check || die
|
||||
if use staging; then
|
||||
GV=${STAGING_GV}
|
||||
MV=${STAGING_MV}
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
git-r3_src_unpack
|
||||
if use staging; then
|
||||
local WINE_COMMIT=${EGIT_VERSION}
|
||||
|
||||
EGIT_REPO_URI=${STAGING_EGIT_REPO_URI}
|
||||
unset ${PN}_LIVE_{REPO,BRANCH,COMMIT} EGIT_COMMIT;
|
||||
|
||||
EGIT_CHECKOUT_DIR=${STAGING_DIR} git-r3_src_unpack
|
||||
|
||||
local STAGING_COMMIT=$("${STAGING_DIR}/patches/patchinstall.sh" --upstream-commit) || die
|
||||
|
||||
if [[ "${WINE_COMMIT}" != "${STAGING_COMMIT}" ]]; then
|
||||
einfo "The current Staging patchset is not guaranteed to apply on this WINE commit."
|
||||
einfo "If src_prepare fails, try emerging with the env var EGIT_COMMIT."
|
||||
einfo "Example: EGIT_COMMIT=${STAGING_COMMIT} emerge -1 wine"
|
||||
fi
|
||||
fi
|
||||
else
|
||||
unpack ${P}.tar.bz2
|
||||
use staging && unpack "${STAGING_P}.tar.gz"
|
||||
fi
|
||||
|
||||
unpack "${WINE_GENTOO}.tar.bz2"
|
||||
unpack "${GST_P}.patch.bz2"
|
||||
|
||||
l10n_find_plocales_changes "${S}/po" "" ".po"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local md5="$(md5sum server/protocol.def)"
|
||||
local PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.5.26-winegcc.patch #260726
|
||||
"${FILESDIR}"/${PN}-1.9.5-multilib-portage.patch #395615
|
||||
"${FILESDIR}"/${PN}-1.7.12-osmesa-check.patch #429386
|
||||
"${FILESDIR}"/${PN}-1.6-memset-O3.patch #480508
|
||||
"${FILESDIR}"/${PN}-sysmacros.patch #580046
|
||||
"${FILESDIR}"/${PN}-1.8-gnutls-3.5-compat.patch #587028
|
||||
"${WORKDIR}/${GST_P}.patch"
|
||||
)
|
||||
if use staging; then
|
||||
ewarn "Applying the Wine-Staging patchset. Any bug reports to the"
|
||||
ewarn "Wine bugzilla should explicitly state that staging was used."
|
||||
|
||||
local STAGING_EXCLUDE=""
|
||||
use pipelight || STAGING_EXCLUDE="${STAGING_EXCLUDE} -W Pipelight"
|
||||
|
||||
# Launch wine-staging patcher in a subshell, using epatch as a backend, and gitapply.sh as a backend for binary patches
|
||||
ebegin "Running Wine-Staging patch installer"
|
||||
(
|
||||
set -- DESTDIR="${S}" --backend=epatch --no-autoconf --all ${STAGING_EXCLUDE}
|
||||
cd "${STAGING_DIR}/patches"
|
||||
source "${STAGING_DIR}/patches/patchinstall.sh"
|
||||
)
|
||||
eend $?
|
||||
|
||||
# To differentiate unofficial staging releases
|
||||
if [[ ! -z ${SUFFIX} ]]; then
|
||||
sed -i "s/(Staging)/(Staging [Unofficial])/" libs/wine/Makefile.in || die
|
||||
fi
|
||||
fi
|
||||
|
||||
default
|
||||
eautoreconf
|
||||
|
||||
# Modification of the server protocol requires regenerating the server requests
|
||||
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
||||
einfo "server/protocol.def was patched; running tools/make_requests"
|
||||
tools/make_requests || die #432348
|
||||
fi
|
||||
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||
if ! use run-exes; then
|
||||
sed -i '/^MimeType/d' loader/wine.desktop || die #117785
|
||||
fi
|
||||
|
||||
# hi-res default icon, #472990, http://bugs.winehq.org/show_bug.cgi?id=24652
|
||||
cp "${WORKDIR}"/${WINE_GENTOO}/icons/oic_winlogo.ico dlls/user32/resources/ || die
|
||||
|
||||
l10n_get_locales > po/LINGUAS # otherwise wine doesn't respect LINGUAS
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export LDCONFIG=/bin/true
|
||||
use custom-cflags || strip-flags
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=(
|
||||
--sysconfdir=/etc/wine
|
||||
$(use_with alsa)
|
||||
$(use_with capi)
|
||||
$(use_with lcms cms)
|
||||
$(use_with cups)
|
||||
$(use_with ncurses curses)
|
||||
$(use_with udisks dbus)
|
||||
$(use_with fontconfig)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_enable gecko mshtml)
|
||||
$(use_with gphoto2 gphoto)
|
||||
$(use_with gsm)
|
||||
$(use_with gstreamer)
|
||||
--without-hal
|
||||
$(use_with jpeg)
|
||||
$(use_with ldap)
|
||||
$(use_enable mono mscoree)
|
||||
$(use_with mp3 mpg123)
|
||||
$(use_with netapi)
|
||||
$(use_with nls gettext)
|
||||
$(use_with openal)
|
||||
$(use_with opencl)
|
||||
$(use_with opengl)
|
||||
$(use_with osmesa)
|
||||
$(use_with oss)
|
||||
$(use_with pcap)
|
||||
$(use_with png)
|
||||
$(use_with pulseaudio pulse)
|
||||
$(use_with threads pthread)
|
||||
$(use_with scanner sane)
|
||||
$(use_enable test tests)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with v4l)
|
||||
$(use_with X x)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
$(use_with xml)
|
||||
$(use_with xml xslt)
|
||||
)
|
||||
|
||||
use staging && myconf+=(
|
||||
--with-xattr
|
||||
$(use_with vaapi va)
|
||||
)
|
||||
|
||||
local PKG_CONFIG AR RANLIB
|
||||
# Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038
|
||||
# set AR and RANLIB to make QA scripts happy; #483342
|
||||
tc-export PKG_CONFIG AR RANLIB
|
||||
|
||||
if use amd64; then
|
||||
if [[ ${ABI} == amd64 ]]; then
|
||||
myconf+=( --enable-win64 )
|
||||
else
|
||||
myconf+=( --disable-win64 )
|
||||
fi
|
||||
|
||||
# Note: using --with-wine64 results in problems with multilib.eclass
|
||||
# CC/LD hackery. We're using separate tools instead.
|
||||
fi
|
||||
|
||||
ECONF_SOURCE=${S} \
|
||||
econf "${myconf[@]}"
|
||||
emake depend
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
# FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
|
||||
if [[ ${ABI} == x86 ]]; then
|
||||
if [[ $(id -u) == 0 ]]; then
|
||||
ewarn "Skipping tests since they cannot be run under the root user."
|
||||
ewarn "To run the test ${PN} suite, add userpriv to FEATURES in make.conf"
|
||||
return
|
||||
fi
|
||||
|
||||
WINEPREFIX="${T}/.wine-${ABI}" \
|
||||
Xemake test
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
local DOCS=( ANNOUNCE AUTHORS README )
|
||||
local l
|
||||
add_locale_docs() {
|
||||
local locale_doc="documentation/README.$1"
|
||||
[[ ! -e ${locale_doc} ]] || DOCS+=( ${locale_doc} )
|
||||
}
|
||||
l10n_for_each_locale_do add_locale_docs
|
||||
|
||||
einstalldocs
|
||||
prune_libtool_files --all
|
||||
|
||||
emake -C "../${WINE_GENTOO}" install DESTDIR="${D}" EPREFIX="${EPREFIX}"
|
||||
if use gecko ; then
|
||||
insinto /usr/share/wine/gecko
|
||||
use abi_x86_32 && doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
|
||||
use abi_x86_64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
|
||||
fi
|
||||
if use mono ; then
|
||||
insinto /usr/share/wine/mono
|
||||
doins "${DISTDIR}"/wine-mono-${MV}.msi
|
||||
fi
|
||||
if ! use perl ; then # winedump calls function_grep.pl, and winemaker is a perl script
|
||||
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
|
||||
fi
|
||||
|
||||
# Remove wineconsole if neither backend is installed #551124
|
||||
if ! use X && ! use ncurses; then
|
||||
rm "${D}"/usr/{bin/,man/man1/}wineconsole* || die
|
||||
use abi_x86_32 && rm "${D}"/usr/lib32/wine/{,fakedlls/}wineconsole.exe* || die
|
||||
use abi_x86_64 && rm "${D}"/usr/lib64/wine/{,fakedlls/}wineconsole.exe* || die
|
||||
fi
|
||||
|
||||
use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
|
||||
use abi_x86_64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
|
||||
|
||||
if use abi_x86_64 && ! use abi_x86_32; then
|
||||
dosym /usr/bin/wine{64,} # 404331
|
||||
dosym /usr/bin/wine{64,}-preloader
|
||||
fi
|
||||
|
||||
# respect LINGUAS when installing man pages, #469418
|
||||
for l in de fr pl; do
|
||||
use linguas_${l} || rm -r "${D}"usr/share/man/${l}*
|
||||
done
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
if ! use gecko; then
|
||||
ewarn "Without Wine Gecko, wine prefixes will not have a default"
|
||||
ewarn "implementation of iexplore. Many older windows applications"
|
||||
ewarn "rely upon the existence of an iexplore implementation, so"
|
||||
ewarn "you will likely need to install an external one, like via winetricks"
|
||||
fi
|
||||
if ! use mono; then
|
||||
ewarn "Without Wine Mono, wine prefixes will not have a default"
|
||||
ewarn "implementation of .NET. Many windows applications rely upon"
|
||||
ewarn "the existence of a .NET implementation, so you will likely need"
|
||||
ewarn "to install an external one, like via winetricks"
|
||||
fi
|
||||
|
||||
if use gstreamer; then
|
||||
ewarn "This package uses a Gentoo specific patchset to provide"
|
||||
ewarn "GStreamer 1.0 support. Any bugs related to GStreamer should"
|
||||
ewarn "be filed at Gentoo's bugzilla, not upstream's."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
DIST winetricks-20160425.tar.gz 170817 SHA256 0ddd2d896ab3803057f0eeec3afd6fd2f1b8ebb21e4ec0647c66e3cad0da1d0e SHA512 20279a49088ae8f30447d940432c026933b02438f0872fd736b1015ce70150c9300273eaa2000e42389e1dcdc9807f52ee8ddfe2d0a1a0bf9bb2e62acbda19b9 WHIRLPOOL 7d8b9e0dcb1e4532678790aeb77c6b14147f60eef1560efe05b75b14e87eb85954c810920be2a058fd5f18451fb419f706f8ff92bf8cc952c58b360f59785ca6
|
||||
DIST winetricks-20160709.tar.gz 173713 SHA256 c21a7bb4c312eeea27325d82160fee5e6961387fd396540d78d57a590df1ebe5 SHA512 8624cb8c1152f637fb46f66035059e6832e5d083e2df6737d8e6ec5a5981dc2650e1160ad3de04ab120e971a2f9a7df906f10fe95951db258217f6f0774d5b84 WHIRLPOOL 305b64049670d01fd8f3544b38033df10e11d49e2033c65688d9eddeda305f51cdfa5aeded05bda3a4239105ad03f071aa785eac200f61da2581c406db3c43d6
|
||||
DIST winetricks-gentoo-2012.11.24.tar.bz2 6398 SHA256 dded8c294cc5c2e71e4a5d1531ab165178cf3d2d1d890d0656368c2e499bfeb9 SHA512 59c93b73f3a7b2d11aefcde2ff66659ff1de21ad4b5f232f4b60572f3a48b15a6c49f369b1696862bf1b33fde190bf5598945e9536fb41ddec42d8def4d2be2a WHIRLPOOL 268da9e06712a678fbbcfff8eac1fca364b5e46f0a9c48a591eb88f03260b1a55f203eb2908bfe1f0a534b77c866127ff6f7049b0e43fe8abeaaa26fe55de75b
|
||||
EBUILD winetricks-20160425.ebuild 1839 SHA256 fef53db19752c8f1dcaec2cb7c355e90613d3034341169279c8226fe2ae1edde SHA512 4a80e24e53f36a55b9d043ad6565a214cb9873e0bbd51ae224f347c9e7d6216fe0e44c7357806e9c50a993e1c8e7ffdb745f1411a021fa6d17347ec330a5f663 WHIRLPOOL 3f4b1f2560497ccd9e3c05fc2d7582ed90a113ceac641905e82a052ec7ebd8bca458d0682ec2ab74a78a719029d0beb010703fafa1efad6dd73a718dcd05acc4
|
||||
EBUILD winetricks-20160709.ebuild 1839 SHA256 fef53db19752c8f1dcaec2cb7c355e90613d3034341169279c8226fe2ae1edde SHA512 4a80e24e53f36a55b9d043ad6565a214cb9873e0bbd51ae224f347c9e7d6216fe0e44c7357806e9c50a993e1c8e7ffdb745f1411a021fa6d17347ec330a5f663 WHIRLPOOL 3f4b1f2560497ccd9e3c05fc2d7582ed90a113ceac641905e82a052ec7ebd8bca458d0682ec2ab74a78a719029d0beb010703fafa1efad6dd73a718dcd05acc4
|
||||
EBUILD winetricks-99999999.ebuild 1837 SHA256 ba0d14e70546f96eb7a71fc59ab2e16c98c2cc68df5dee5d5e30cbc60e638201 SHA512 36e734e2abb4c6b58e77faffe2f632fd31a5abaa79b5e444010ac98f19e309af4b07a715a1d05a2a1956b0e176338abb5074e829dd790ab52e9adef0a8edd9bd WHIRLPOOL 3857d478eca1f07f54bba5df7ab8695a6fb8d65c6f5e7112eb786c6b7d2ac6f290d07aa7cac3ac25d95f50861db5d71bdcb200efb3697a7e6e60dc553cb42055
|
||||
MISC ChangeLog 4668 SHA256 d36bce0b45fbd7f73066d64c305f1d079fa4b7e7af4a85413dfe079f8a4921b3 SHA512 6eb54a4bd88dc5807747e11eb58390a120d8b41fd132c0e6212fb5cd4f9f41715e4ed73373c6298b85eb23766897952103037554830896265e1431e23b678cf4 WHIRLPOOL 524a10654d7a7ece50db3b2e1038839e09f998fb844a210f206771b131f62e8b7f52c38b8776ed7406725a70abdcc64d73f9a50afd3ec3734086c7f171842b63
|
||||
MISC ChangeLog 5088 SHA256 e546c9b74f2c533405882276e298c3685533a6c1ac2c0b01966108ad9579f56c SHA512 fa4878485dc93197919110f5e8c6b6458dc7e1cd0c9861819830b1d49deb1c1165ebab1b0d749a2cdd86aa07a980e70de08f3b6889fda22ef1de12f1fb2bb6fe WHIRLPOOL 5f4c7207f43c8655784591ce165a13f6680e47a8a715766b5e5b2af06ed3312d336268675530c7f3b8b769d22066948bd842a915d6d9e82386f66c49de0a2ac2
|
||||
MISC ChangeLog-2015 7705 SHA256 85e49ccc477724b50d0a6463ba21ec5b5c9b9c98f30c10f60b6a6df9bb76b898 SHA512 4a68dfe95bf60ab83873af11025c9d66e2a1801b5f7b58bd96baf0a0ff44144b2a77c8b0edca49d2384bd5fb4ebc982d7a8db61430acd346925abca57f0149e9 WHIRLPOOL 0799bf2386eb0c9754d79d61eb590bdfb3526253d8a0078c08d86cda8c61169ce88c4081f7ccc7a79b28c4f724c78176c1129cf56fb37472c3c7c7b7d0e5d126
|
||||
MISC metadata.xml 847 SHA256 ced2745519dee924ca19fe79e5610d99d323dc24b45ecbf74d7453c96f9490d8 SHA512 54a9b20cf84169fdad35f89857cf5bd7d17906a53c760079f789653f89d5dece00fb8bfd8014d1603159cfd72fe0b9d93b1e28c0c788b522c642f224d7d22f10 WHIRLPOOL a8a5571d8e8ef8d39e81690656256e14baf1e81419ff37603dd92bf04122612e0a9f1e1124d48b9d0e630e76012ed7084ca2cb763444349e2be208c29abc22de
|
||||
|
@ -1,6 +1,6 @@
|
||||
DIST gnome-vfsmm-2.26.0.tar.bz2 628670 SHA256 d6a89fc82238bbfd6d3f7e44bcaee73dc197be98635be482a2d2df38ec0446d3 SHA512 82e538c06615af83e9e455b0db601e37ee5396cac9b44884879383f3671876cca62bf534f4338177d1a62ab59e834d197302533dcc77f3c09b5433da9c660af8 WHIRLPOOL 896eb76e426d5635e70f15df63851c5fc4127f9e549f42697fd82c8cde37c2b4a32cc5c7cf3439a08497421f824f0087ca438c8e366e908f43dee683f13289cf
|
||||
EBUILD gnome-vfsmm-2.26.0-r1.ebuild 1230 SHA256 594ebb07d72814f066c17732c190efd6580b015da216da1713ab65df7c109b4d SHA512 3ac8803687a59044740566fb1f76ef9c4642dc466bb834ee25afbdc4bcef5eff75a95781890f2bce2752bc16bd5c0cb9b737d200017b0b338ea281bd2bf2c1d9 WHIRLPOOL 3e122a4e43ecc3897ecc86343b88c303eb5dccb795a7f8b878971f8ad5818db5ba0a7c04a9abee8c003020155e67952b0e5540d4c5587593e1b7f23251b2c2e9
|
||||
EBUILD gnome-vfsmm-2.26.0.ebuild 1185 SHA256 80c5e2da19ee9831d5408aae167635a733d5748adc772fcb730803df34446bd3 SHA512 9cb6d678a61b87c01bd3cacd50a9fd234734c7ca70869ba3bb5c26921c1dfc62bf18d198d6e6dc72d5401d023d3ea3ad32a1ef0a257cfd1ec18845f7f124bc1c WHIRLPOOL ab45d3616681b2ab99cc0e0001c53bd9d0820e9c8253e3b45d4a5fa06a32e2d50c420eede9c769112148fe4cd3d0951ea4503a388750d06d8e3c310cbae68ad4
|
||||
MISC ChangeLog 3507 SHA256 8a2bb0d01f4e5da78ae4f2abfd0218511589ff10d31992b1435e15fc0800e59d SHA512 5a144cf924e1ccc91206e491bd323e7980e88a89737527dd1775343a6abe4f88a2009330cc6074a8ba3d0ed13d38f62851c5a84b786b920d4d251399399df4df WHIRLPOOL aa1cfa1a2b7011878b602a7f2c06321931603f419f1e8e0f9dc1d0aeb993c85e374934ad1a9f2c4e8af7ff7a90dd4a2e3752268cb9b8e5713d9f0e59e9b2e236
|
||||
MISC ChangeLog 3685 SHA256 06e8ba99957c1c07b1ecf8f08aea9d54b00ab3ba5060ac84bd75c3405add7946 SHA512 8b56c37170d79c5f2583e4ecd43fcc0cca9634b114ac7159f98972dd9e3a05fe9c83fa1fb08e7e770dbee2fb67f7340a02c235bd0cd35853e7974b98ecd22899 WHIRLPOOL b6fc771e47fbe13c93b6ca3e3ca2b3727995be766d06f63dd2b9acd2d2ffc735b9bd8910dccd8e7ed422af07b7faf524f88cf7e175b72637fe99b020a0ae5117
|
||||
MISC ChangeLog-2015 8733 SHA256 e95cecde5a9ebe241846f60d077cf32628402d391a4ab04e929092bfa023e468 SHA512 f62fdc8a4a5ff4dfcb77182eebaf93c1f59239b29d57d1fbf2983607f92f24abef3308f08cfe15baa0d684c3920237b0f118d0ca3b05f746b34b52cb6d2df132 WHIRLPOOL 81ae095fb039104e6baafd5862d5a38dcc9bed70e7146bf05514347eb83d64ba1fa2f9627ab42768cc365a9c7ec81d678c6549af82fe9ca313aec9729ca31a11
|
||||
MISC metadata.xml 253 SHA256 8f92439176f4cd2ba6a060c523c6b29ab210cd9aab7903b6db6eecc6654b1e21 SHA512 8d59f413993268ca783f7407b676900bb2d964754bf705d4175e2bafbe058a52af74f3928e4bd84d292518f8cf13fab7051486ab7cdc61d02fae6e0188d44442 WHIRLPOOL d5d853bd8a39a54c45728e16a1aa295e014e0a3a105a01ec6b3c93a4f53d7b7055644708301751b7f5be68543056d3f0bd611d5ce0be442eb5d06f5e032fe154
|
||||
|
@ -1,6 +1,6 @@
|
||||
DIST libglademm-2.6.7.tar.bz2 326385 SHA256 38543c15acf727434341cc08c2b003d24f36abc22380937707fc2c5c687a2bc3 SHA512 d7042d0549df9322d3202d5c0733d65b153a8ff451bb9e401b9d93a915ec4c2c086428e4febcbae2ecec5936955b7afbc59beff93d492f23b7b8e2b19fe806b0 WHIRLPOOL a25ae3601df4ba201f1b5aeeca9f5527cd804d9481ef7795f651096419833d8a3cbab53d731ac2464ed20b85110d3003011a7fb2ea87e227ad75d301f5317df9
|
||||
EBUILD libglademm-2.6.7-r1.ebuild 1796 SHA256 6dcfe179f829691e893db1ba2d19f188f0e2a3d678768c2d98a219fc4f3f9ffb SHA512 cd2e3b3e0714507baef815a59ada9a256a1e8a59b5b70654ab322008eb022d8b361874dd86d6973609f1b165028cf5ad7b63886cd84b46d13c6377170205e8b9 WHIRLPOOL 7912bca4844a6f46cf607764815b432e027bf44bd8d9903fa826fa41c09e50efd87a10fb8aaae878e7eff34f241911f968088a2a7a35d13ef57c9f442bb12ff1
|
||||
EBUILD libglademm-2.6.7-r2.ebuild 1680 SHA256 6fc7fabfdd0978d705b03058148db2ba26931afac80bd8cb6046cf59e3da2d39 SHA512 c550a734a535ce2250d65b242bf22dde48ec61c90dda986d21da16455f436ebd206ee247e5a1587d39878bb65f670e994ecc69286f5f1f2b58128cd11c261c3a WHIRLPOOL f4b9fe3b76272cebfcb01b8efeb7248b7bbc27eba9e679e7816479b42b233edcdab6d85e31a95d0f6274926d743c6bc8a0b32e48153d009e70f4b2b49b5433dd
|
||||
MISC ChangeLog 3683 SHA256 cfc6cf5f56d7a0e7c049e5313edf8eccf7e447e63a81226ffefefb612f93af93 SHA512 e94073d8cf0be3b6364cccab1d2607551ae3de1893b8194f41eb25302b305fab2e641f0bf9b8e2c8a1c3514381a212ded5118341f9e427cfb3538b1971bf6411 WHIRLPOOL 03d3be3e37b6d4998662305c2b5ea9525150193f380acc89e8915ac2d5e8a6613c4d9e27d6d3b8d45aaff0f17cc0f4742f2224ae411120430721be5256720d09
|
||||
MISC ChangeLog 3859 SHA256 fc3b2f44ea05f1bdaea1913ed2db0883b8436a5deeab041996aa7ead27e86b78 SHA512 b704a1878d1bc290a11320583f9103453e43b1e9441be6726c2b300fa58efc26a45bbfe518019e2cdd0ec2a026dd2b3863cb647b21d8604d903be8aa895608cd WHIRLPOOL f626d6da76bab1737c27a9a2a7b3f73ec2f8bd9daa3b5d3f45a5b760953b15b293f116f7df54fa2582ddf9ae791c3286e3c0c1c1332c7140efe80fbd2b805f48
|
||||
MISC ChangeLog-2015 13402 SHA256 d9e292c23a48671b4db2a4038ebf0a2b464cdda666d66ca2748402ea9117f37b SHA512 ea67b766094049ce93d58a43b2909aa7d764b2702f74d79e2af6c55b50e30b012804955c294bafde6636a157a5df1a693e69d5b0e7c1fe895edf3b0114c431c6 WHIRLPOOL da0e12e2694ccd515f412b355ccd5ea53f9633f520c25d6458d23c6088679d28a3e13a2182e846f17833d580fef8bed55f969cb3503059a601c2171361a6f0ec
|
||||
MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92
|
||||
|
@ -1,6 +1,6 @@
|
||||
DIST libgnomemm-2.30.0.tar.bz2 364011 SHA256 2a01f068ff73a1985d050e75f899fec34ac13622e2ead43523a4e2b0875042cf SHA512 9d4cf332ad511600504e95a64decb3dcecc14943ebb7d928c2b1fff82b2d99727754fd0252802c700092e8efad0e14ab9aacaf9af63c6bb1f9e25334f667317f WHIRLPOOL 9a8efdd58b4455a884a5073d22748e53fe0177e8636dc4793aa268b9aa47740f5918bd50d3749d044fde99b1ad0345fa83fcf83a26e518be7174dbfa6b0fefda
|
||||
EBUILD libgnomemm-2.30.0-r1.ebuild 551 SHA256 6dc97b379fd8d7b522b8394af2ff399d177002669544613d8544fd9643368627 SHA512 473f5b1d2b14bf9b64d74cecb5b57ac175f53b5d3b2fd27b38197578a9aa06eff84ac9d4a8b6c3db7dc9b104792677e1bfb7d7d22f7355835e38075624052434 WHIRLPOOL baeb6aea9a6ae15d3e3d8d6815101c7c308be24a32c1dce7097e60dd4f57cdc21256c6b3e85731c1016eb6c8f62adfb8c0308daf8dd3e0272a75c0ca2cc32fd0
|
||||
EBUILD libgnomemm-2.30.0.ebuild 507 SHA256 d171e208602fe9ce2e5b7cb60fc2c1416da84bab913f32833becd8dc8f50b807 SHA512 6d127b0ea02d8f42c166f93646ebce455392e43fec57bfbcf0f364ebacf5c3a94c7278e5a92efb9febafda0ddbab8b19e40dc7b3cd1e48adb24f8ce79faf55d2 WHIRLPOOL 8332f3e11f4a47c69acc53d1fa30198e329a76a722d09b07c709ee7351acc62d4c1dcc3e62aa4bbfba66b3fe46f585b7b35f8625a190bec82052ad04007e12ad
|
||||
MISC ChangeLog 3495 SHA256 38193adb42f08a66cbb42a59c3f6c0ea9181dda14394c11ae0cf5a66d24f7ab9 SHA512 d366dc80ce3b32f78127915dd5ae9e72cdc053189588576d84dd4041ca5a91af74d9707d9a0d28963253b211acb712e7663eb7765b811b3de64f6a03cde61e1c WHIRLPOOL 4484e8ea0c2ccd416c85b12cc65e90b6d7946e77dfd59196bcfbbb0967f29ee3af394d4cb2a7dddfe157d00de11a2101df2fc39518d54991508a7a6592fe6ab2
|
||||
MISC ChangeLog 3672 SHA256 db2e7892720301c9b5c81aa53830d9d3e204ccd64b6ff2663c34d65da5d594a0 SHA512 bfe288c2a21007dd69757615239eba35fd8fbd98c443b016da83d9a855ecccc02b749fb5b6ad4fc4b2f499e076e114c85c9624ef1274e182273b8ec62b7cd043 WHIRLPOOL c667efd59834d95ec0f49e80a35727cdca6bd84d4e02b14fa8bf3bbaecc36343b96845371add92d0903d68b6b5c76eb92e0648d0122c2425925ff6c5e30a9803
|
||||
MISC ChangeLog-2015 12574 SHA256 12285ab3762e903d2d61ad98d88c47039a08364c4ff093ce49e97ee52e412c9b SHA512 68049464c463feb6cc9603ff77769929b86c015e5d98565a28ee137190075632e38461b9e7ce8505d48a6f6eea8677224d06b85c5b792ca7c1ecd6539192ecdf WHIRLPOOL da0a95f75a75836f95b532365068c7e7c394d5b9cf131148dc98853745fd9257310d981f26675a7047dc76e0ae3f19fb8734d8abff0d1f95d31be641fb3b3892
|
||||
MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92
|
||||
|
@ -1,6 +1,6 @@
|
||||
DIST libgnomeuimm-2.28.0.tar.bz2 382428 SHA256 6cb46494913f1e5e34b94a0f5b9ff8ef238bb71e3b08d0ef0ab7f4a7c88211d3 SHA512 f02ee119bff2d42bd7fc61719988de45e497c7a5cc151a438ad3601c2bf55d6ecfeb001b22032a47f15dc6f7eb4cf4c5412c3246969a24ff0579a9b89d5dab15 WHIRLPOOL a41b02886f17ed79c36c090a212ac19504e5c9be803d6666cc7babe8726bc7050a11576a0ce65b8e4de25354ad948b46047562257b24e3cdd9660bd230145da2
|
||||
EBUILD libgnomeuimm-2.28.0-r1.ebuild 609 SHA256 ca1dd166aa3a2b7e75c27651e729e144620d5f3ba0d10576f938e8e0996136a3 SHA512 65fbf070e9c63d83b58e36ab92709c27dbf55bb5702770cb76f93ca5c71b36bba4deaa5f4330db3e46339e5e8056992176b128d25566d233f85eea3e2198719c WHIRLPOOL 9f8b724547f6664581ab1a56ba11b9f25fcc37e4697f7451a044f0d9b60543b65391f360d28a30cfc087b4dda050295ce843c99481b548b2d9354819e9db19c8
|
||||
EBUILD libgnomeuimm-2.28.0-r2.ebuild 684 SHA256 a24d1540082b25c7dca345779054519e4674b88d061c3a4662c179ed0d43313e SHA512 edf277e0f4bae0bc72d886c383010cbdb3bf72ae7b2f51aeee7a1897d0fcc4fd9968a38018370d47752a954cf766029f3b102a8f6926d5f2effc4c9c44d99d79 WHIRLPOOL 11010e77fa384eaaf75da265a8c2c9bedace9a5c1662665dfcf09e0ddd94eaa3fa5005a24cd3702302e3bef4a68d89bc9dc7d7774b82409600b00f17dbcdd691
|
||||
MISC ChangeLog 3523 SHA256 b122b6a0bf8e54ff9041b7b32d5afb40dff1cb3364106ba6feeaeed5d9deff61 SHA512 5c7bfb8fc33d7a3b4a75b1e2bb08466fe61a5108e7421c6b2d3d3beebbff225a62c052621a940eb25887dd3516231ea4a4518d454b109663abd3db8c856dc2e9 WHIRLPOOL a40e6ac913bece45220b162db7220cf9bc1894094cc122e4f6d5784480675222c7aef5f17a9c7de6412c4d9b874e808a8b3d117e5907474c6a2959a11c4a1751
|
||||
MISC ChangeLog 3702 SHA256 e64c4b44599aa7df612c37b09a68dafec5fc191abd98fd8511ca93db23b172eb SHA512 af928f939cf36d989fd448337ad72eff913526458134f02840033de49a813726f8901eba01b6bf2fecdea08e8baf163437e634c00643090d8854effd77518a44 WHIRLPOOL fc269ac46ef632f126e8eee8c71d152acb50873a1e30b818867025ec98b1ae62402c25655028254cd59f3bf63692ec335942f3f8041b4387949e40e377889752
|
||||
MISC ChangeLog-2015 12030 SHA256 c63d346b6c6cb4d32c4be9320ee1697642e7c8e5d613806980f406259fc00a80 SHA512 aa61cf5bece0e8a0a48000f388e2be5da0e2e9948191d2edd78a446fe9402fba307781c7a5e6fccce6998d53d21379ddee3cb66740c52ad56e87ce8159d5de73 WHIRLPOOL 35c8f744a4d818d050cea9d7fa180f2598b67ce2b25b48607a366c3bed61219cf9e153233488fc9155fa3330367d24aa44f33c9cbdcba60d49164a96087e3796
|
||||
MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92
|
||||
|
@ -1,5 +1,5 @@
|
||||
AUX 0.1.0_p20150103-0001-Fix-unittests.patch 2489 SHA256 a757defc3a1e96c60336049a9b39a2ff303aefbec5df31e432fecc50749364b7 SHA512 6310a5bf2cfd590d4194b4129d9ac9401e307cec32741e06be3dbe36a7c5d4019e3d4ce96d5693e37196e347496886c959a15c5ded4a3d14b9d3f904b4b61bd2 WHIRLPOOL 9310e4210a0d3773e101244804324f00069d4dd6e1427cb0b4ace5259e18946127968b273b1761f4e0970c8163ff0778a856de810cb093d6aa35f9792a505561
|
||||
DIST hamcrest-0.1.0_p20150103.tar.gz 160516 SHA256 4d218370ab4f557636dc4867f5996637e1cfdbc6e5b6d0703591c9be1b8a0860 SHA512 d7ed0db598f15e5a2724c31d35a2e34ca55ff37d715c1e8a4b35fd438567f1ae2c4d266dee7215690e8508f77f625a551b7ecbef06582a9ffddb9d14d895fab8 WHIRLPOOL 4a8af0847ed2586e8038a62c178afcf69e48ae258c5d430824e28315c2beefa7abf9a68bff03959c4793e2738a6aeec7318133c11784e217bb3d6464705a91bf
|
||||
EBUILD hamcrest-0.1.0_p20150103.ebuild 831 SHA256 b76765e82cd3066e79fdd4c4f2fd3c4d753b9f1c4126c2469c96232154f5b2c9 SHA512 0fff78f17700f298c6d5b7334ed6d27717c240e2b9292e0de3f00d91f5103e2bc8078cf67b1282e771d796adbb416a230359ab6cad3540efef835749ad99f3ea WHIRLPOOL e182b56d047b0a1c042a7b0f48fbbde0f6593151c260d11233e9e8f8d65dae151d4c838f92759ba191bdffc7abc362c61cdce4710c09bba914744a9479d5c5b9
|
||||
MISC ChangeLog 1138 SHA256 85d366db57e7eadb74d6fa0ef2b2519a1a4a552b8002a087f218411496320186 SHA512 fc6199e39438ad39d4f9b4915bbffc2203d63f761bf12b5b7903854744e8946b9bc0d5a63ff31e4babf846f075c45177685fbc91fea936b46c6210037b1ed356 WHIRLPOOL 4bd7a867893289ff44750c486cc897b243e25b2e67208452e3333ef1da50f51e50bcaa356233794821ef2dd7a7dcd1484476444a32c991351811b39f7e8f77f7
|
||||
MISC ChangeLog 1662 SHA256 2046707c3c5c854c3a3d5fd3e76945b7aa4c41f3b74fac215077e7d338d273bd SHA512 5fed5e6e649c2c72d9ec4c419f95dff222987e18d549afe17a8b57815e5292cb04713210e786e0a223fb67e609dfbbd63df181d8ced45666409e2971438d2c3e WHIRLPOOL 1bf6bfaa0684fe85ffd6ea8e18fc9caffa26c82b83de0102da1e64111cdc4562c01a14281a9ad49b7dfd477a73874565452a9f1b51a9b0072b85354bb7b2ca93
|
||||
MISC metadata.xml 254 SHA256 bc1d425de600b5d90ae322e8659e50210e4c49d7ab71d0ebdbd69730d6dfb17b SHA512 b3850bc7c75c11c1cd29ad3560299a281a67d1c39cfb052c1964422209446da77036d4072ad192a2bd9c793aab2f0878426ff9a3ac723ea18553a0564271225d WHIRLPOOL 89252b8745957620577f96407c844d2abced35e09af62196c3af1ebabf831581737b21c9e61b038e625f9670214ee52f3fa3bcdf9dbd49f915b00181af2ff382
|
||||
|
@ -1,6 +1,6 @@
|
||||
AUX auto_gem.rb 159 SHA256 fe1efe24cd0ba36c55449e9623cd0be394980f37d12468624dad7ffdef72f4dc SHA512 e42e790013d20335ca5319803518102593408d077f22c95dcb08969c69d3a81e49e47cd002715bf760bfcd9a29304002354d8add42fd2415fb10a0a2a323d64c WHIRLPOOL 55931d6c7fa64cd95bb477a9239d058ec6c772e27712d4379372b4d2517dcaa5c15dcde63255065d80ddbd68476abe85ed0507cbfc4fda564c5cee5bd748e82b
|
||||
DIST rubinius-3.43.tar.bz2 13013106 SHA256 2c573257518774e464036515cc7283bc934a41566599afe94612c605844481ad SHA512 80ca70f1aeea2f48e9f4bbd9dc646e0fdabf266cde879fd6acb46bcc38140a2738fddf7d63fa72c386f0411046f457af02deb1162b249c7942bdc0e4a8138023 WHIRLPOOL 63f53a69a16772cfaa560cb5c8ed21dafe5b2eae221948be56f34b4a4755f878f3f9ff5ae7d181479770c1e9ca9c9be48a521d5e9465d1dc15c0641aca803d34
|
||||
EBUILD rubinius-3.43.ebuild 2291 SHA256 7bd3b9e9857106b44a54c9ea7c21d272a66825f3d46e07a5154c7cb6268bf106 SHA512 6fc12ca5374a328f52349e41d02d9c6a29cdf8baa25b9b00e28af718aeefa81bcf2bc0e318ad265d2dcdb3bd47c0a47319eab264a2ec5cddee8e5e62f007e3d9 WHIRLPOOL b6d0830b817b70f007520d99fb74b167f6b93cb4d7d90be4200c7315674c2d1057d29026c45f0998a85e114487f1c951ecf94dadae23aba79e97536627682a59
|
||||
MISC ChangeLog 2603 SHA256 077530e1eab5b3514e60051764d24210c52621b7b21899ac68a500c88d29ab53 SHA512 3255f1c22cffb9816babcce94dd0e50d46200f908381fbdc8ba6110d4dd978c50df4d58eea507638ce2d76b821f66161557b3c5224ab89d5059ddd5addb513db WHIRLPOOL a55d15fef3ddabac86bcd5f6868c781ad7e31081982437c71a79456a033896096d390d30002ca4c99a96e68baaf8140651bd7868f12a55b3098cf127e40a6b28
|
||||
MISC ChangeLog 2914 SHA256 5c15be2a748b00930eabbe472dbbd7d060e2ac7f5db99b10c3edfc54a986c06c SHA512 0e8237d8155191524218e18448c30f5489b04e29a16a4a383aeea24a51cd9f7e5ae1555230a4e6430d7281bb43101bc1c7df06e7e3fe458a262acb5b7d9a7c7a WHIRLPOOL 2ad17569ac8f559f178ba3d2919410e3475f3b634c4c595bb489dc3b4d622f3647abd8b647823456340c32cfc493941fea26e78210885c77f1b2cdcb1fe9a214
|
||||
MISC ChangeLog-2015 3104 SHA256 339d971cd8929e867b506d60d35a103514e5f4a966d8460299fe705d42a3e03b SHA512 4de7c68f4c7c920413bc08bf62f76889463e943e9a2fea28dde6272959605c658dff008deffa765bf958c70e4b188d8ba994bcd946fab6a632edb3b04668a556 WHIRLPOOL dfcaafcaefeb947b266ea7e1b3c935451cd21e8f28407109ebb2293c4c3de33e4daab0032abf75f1da7b3cb77a2510d8dc2a64c35ebc2c026be46c41ba9115f5
|
||||
MISC metadata.xml 396 SHA256 41833f2acc0273831bff801d52593481c90be41f371e202e9945fbe5ae5b845d SHA512 06c9d83bb3c68390daa769bd5052fd086f39f7f6ce0cfb2e733f18bf88650efecdf9679a237578aed9f419f5a9538d9f67bec9ef8118c4ad42600a3945ad241f WHIRLPOOL 927fc1c26d31126a269a310b77762450287d7dfe8d80c2aca995197f0e97e9cc8c547e16b487a8d3cd10a110baae6efe70aa71bed273f6d18a0cbda04c81fb9e
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue