parent
6e13d9c846
commit
73b03b0063
@ -1,3 +1,4 @@
|
||||
DIST p7zip_15.09_src_all.tar.bz2 4048481 SHA256 8783acf747e210e00150f7311cc06c4cd8ecf7b0c27b4adf2194284cc49b4d6f SHA512 4f020b13632ef7a85aa8a98586b59bef2dde3c1cbebdbd17e01f1d09b2e13a56ecfe82546d7efc677c45df67456a71cfdb67826b53ebea4c0fb4878f20c2f6dd WHIRLPOOL 71d1cdb9b3b1208197b2c056670d057b00e9a5f80cf08b5914b5d25f2f6756d4cb53e5a000ec76b7b879f82302fca6d012a2cd397e8aa95ae4fc21fd620eb1ab
|
||||
DIST p7zip_15.14_src_all.tar.bz2 4147609 SHA256 b9b77450e98859454d39002f55ddc95a0705041ebc0a9bb49733ce2d9a7292d8 SHA512 3053647cbcb3b8efd7f41b6bc122e984b999d31720f9b22387c52ccfe8a71d73899b1fb3a269854fd43bc1ca656c7d53457aca1cb5e2c90a2d0fb8f084bdebc5 WHIRLPOOL 52a397e4ea15cdd4c68156a0c32d449be78469d5704e0d4bb644a813b583422b3d7b0741284974ca22d9ea99a303dfadeccc23d74a77cac0c9b51153bd61e24b
|
||||
DIST p7zip_9.20.1_src_all.tar.bz2 3835235 SHA256 49557e7ffca08100f9fc687f4dfc5aea703ca207640c76d9dee7b66f03cb4782 SHA512 7bb8a276aaefc4a83364e45633c48527de44c6b1205344f3356db570582f30f81d82a94938c99a7ad193587b584cc1c03219c28249de40018bdaee6c3b2a022a WHIRLPOOL cb20f37d3f796931a9b330728aa7148afe98bbf8a49bb91bfd80e4667c16416206b23bf34298e9ec37825e8b43f92a5710f0cea1f974296d5c17aa2c7b0931f3
|
||||
DIST p7zip_9.38.1_src_all.tar.bz2 3917925 SHA256 fd5019109c9a1bf34ad3257d37a6853eae8151ff50345f0a3ffba7d8c5fdb995 SHA512 f524ffae54e0d9563a509cc4b243e830d882a925e682eb2e15e2d19cb72c947fddecd72c8507d6c1538b997b240b0827046fc2fb4f5e3f7d49840257c92b9c04 WHIRLPOOL 6bad1cde056ab1e8db4079c0e649665fbc7e6b9a565261188bd0acaec6c583d8bd9425cb26d39315408d0180ba0be0069a77b704633cf05ec855220cb31f1c24
|
||||
|
@ -0,0 +1,158 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
inherit eutils multilib toolchain-funcs wxwidgets
|
||||
|
||||
DESCRIPTION="Port of 7-Zip archiver for Unix"
|
||||
HOMEPAGE="http://p7zip.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_src_all.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1 rar? ( unRAR )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="doc kde rar +pch static wxwidgets abi_x86_x32"
|
||||
|
||||
REQUIRED_USE="kde? ( wxwidgets )"
|
||||
|
||||
RDEPEND="
|
||||
kde? ( x11-libs/wxGTK:${WX_GTK_VER}[X] kde-base/kdelibs )
|
||||
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )"
|
||||
DEPEND="${RDEPEND}
|
||||
amd64? ( dev-lang/yasm )
|
||||
abi_x86_x32? ( >=dev-lang/yasm-1.2.0-r1 )
|
||||
x86? ( dev-lang/nasm )"
|
||||
|
||||
S=${WORKDIR}/${PN}_${PV}
|
||||
|
||||
src_prepare() {
|
||||
if ! use pch; then
|
||||
sed "s:PRE_COMPILED_HEADER=StdAfx.h.gch:PRE_COMPILED_HEADER=:g" -i makefile.* || die
|
||||
fi
|
||||
|
||||
sed \
|
||||
-e 's:-m32 ::g' \
|
||||
-e 's:-m64 ::g' \
|
||||
-e 's:-pipe::g' \
|
||||
-e "/^CXX=/s:g++:$(tc-getCXX):" \
|
||||
-e "/^CC=/s:gcc:$(tc-getCC):" \
|
||||
-e '/ALLFLAGS/s:-s ::' \
|
||||
-e "/OPTFLAGS=/s:=.*:=${CXXFLAGS}:" \
|
||||
-i makefile* || die
|
||||
|
||||
# remove non-free RAR codec
|
||||
if use rar; then
|
||||
ewarn "Enabling nonfree RAR decompressor"
|
||||
else
|
||||
sed \
|
||||
-e '/Rar/d' \
|
||||
-e '/RAR/d' \
|
||||
-i makefile* CPP/7zip/Bundles/Format7zFree/makefile || die
|
||||
rm -rf CPP/7zip/Compress/Rar || die
|
||||
fi
|
||||
|
||||
if use abi_x86_x32; then
|
||||
sed -i -e "/^ASM=/s:amd64:x32:" makefile* || die
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use amd64; then
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use x86; then
|
||||
cp -f makefile.linux_x86_asm_gcc_4.X makefile.machine || die
|
||||
elif [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# Mac OS X needs this special makefile, because it has a non-GNU linker
|
||||
[[ ${CHOST} == *64-* ]] \
|
||||
&& cp -f makefile.macosx_64bits makefile.machine \
|
||||
|| cp -f makefile.macosx_32bits makefile.machine
|
||||
# bundles have extension .bundle but don't die because USE=-rar
|
||||
# removes the Rar directory
|
||||
sed -i -e '/strcpy(name/s/\.so/.bundle/' \
|
||||
CPP/Windows/DLL.cpp || die
|
||||
sed -i -e '/^PROG=/s/\.so/.bundle/' \
|
||||
CPP/7zip/Bundles/Format7zFree/makefile \
|
||||
$(use rar && echo CPP/7zip/Compress/Rar/makefile) || die
|
||||
elif use x86-fbsd; then
|
||||
# FreeBSD needs this special makefile, because it hasn't -ldl
|
||||
sed -e 's/-lc_r/-pthread/' makefile.freebsd > makefile.machine
|
||||
fi
|
||||
|
||||
if use static; then
|
||||
sed -i -e '/^LOCAL_LIBS=/s/LOCAL_LIBS=/&-static /' makefile.machine || die
|
||||
fi
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
need-wxwidgets unicode
|
||||
einfo "Preparing dependency list"
|
||||
emake depend
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake all3
|
||||
if use kde || use wxwidgets; then
|
||||
emake -- 7zG
|
||||
# emake -- 7zFM
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test test_7z test_7zr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# this wrappers can not be symlinks, p7zip should be called with full path
|
||||
make_wrapper 7zr "/usr/$(get_libdir)/${PN}/7zr"
|
||||
make_wrapper 7za "/usr/$(get_libdir)/${PN}/7za"
|
||||
make_wrapper 7z "/usr/$(get_libdir)/${PN}/7z"
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
make_wrapper 7zG "/usr/$(get_libdir)/${PN}/7zG"
|
||||
# make_wrapper 7zFM "/usr/$(get_libdir)/${PN}/7zFM"
|
||||
|
||||
# make_desktop_entry 7zFM "${PN} FM" ${PN} "GTK;Utility;Archiving;Compression"
|
||||
|
||||
dobin GUI/p7zipForFilemanager
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
# doexe bin/7z{G,FM}
|
||||
doexe bin/7zG
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r GUI/{Lang,help}
|
||||
|
||||
insinto /usr/share/icons/hicolor/16x16/apps/
|
||||
newins GUI/p7zip_16_ok.png p7zip.png
|
||||
|
||||
if use kde; then
|
||||
rm GUI/kde4/p7zip_compress.desktop || die
|
||||
insinto /usr/share/kde4/services/ServiceMenus
|
||||
doins GUI/kde4/*.desktop
|
||||
dodir /usr/share/kservices5/ServiceMenus
|
||||
for item in "${D}"/usr/share/kde4/services/ServiceMenus/*.desktop; do
|
||||
item="$(basename ${item})"
|
||||
dosym "/usr/share/kde4/services/ServiceMenus/${item}" "/usr/share/kservices5/ServiceMenus/${item}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
dobin contrib/gzip-like_CLI_wrapper_for_7z/p7zip
|
||||
doman contrib/gzip-like_CLI_wrapper_for_7z/man1/p7zip.1
|
||||
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe bin/7z bin/7za bin/7zr bin/7zCon.sfx
|
||||
doexe bin/*$(get_modname)
|
||||
if use rar; then
|
||||
exeinto /usr/$(get_libdir)/${PN}/Codecs/
|
||||
doexe bin/Codecs/*$(get_modname)
|
||||
fi
|
||||
|
||||
doman man1/7z.1 man1/7za.1 man1/7zr.1
|
||||
dodoc ChangeLog README TODO
|
||||
|
||||
if use doc; then
|
||||
dodoc DOC/*.txt
|
||||
dohtml -r DOC/MANUAL/*
|
||||
fi
|
||||
}
|
@ -0,0 +1,385 @@
|
||||
# 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=""
|
||||
|
||||
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
|
||||
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 ge 3 6 && CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP ~MEMCG_KMEM"
|
||||
|
||||
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.3.0-do_not_use_sysconf.patch \
|
||||
"${FILESDIR}"/${PN}-1.2.16-fix_paths_in_libvirt-guests_sh.patch \
|
||||
"${FILESDIR}"/${PN}-1.3.1-fix_paths_for_apparmor.patch \
|
||||
"${FILESDIR}"/${PN}-1.2.21-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-r16" "${S}/libvirtd.init" || die
|
||||
sed -e "s/USE_FLAG_FIREWALLD/$(usex firewalld 'need firewalld' '')/" \
|
||||
-e "s/USE_FLAG_AVAHI/$(usex avahi 'use avahi-daemon' '')/" \
|
||||
-e "s/USE_FLAG_ISCSI/$(usex iscsi 'use iscsid' '')/" \
|
||||
-e "s/USE_FLAG_RBD/$(usex rbd 'use 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
|
||||
|
||||
# Workaround: Sometimes this subdirectory is missing and leads to a
|
||||
# build failure.
|
||||
mkdir -p "${BUILD_DIR}"/docs/internals
|
||||
}
|
||||
|
||||
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
|
||||
newinitd "${FILESDIR}/virtlogd.init-r1" virtlogd || 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
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST libvirt-python-1.2.21.tar.gz 171250 SHA256 7ffb49fcb64ac06188fc626c853c99361e5965766ab020f8ea66f8fbcfc29684 SHA512 7e2481ffa26105ddde703bd6eafe74240b69990b2f2ce0042f20f7fceb1d326fb8a66bf26042bfe63a12cf3202d7c19b14b6d766dd42fb66af212393d7aaf332 WHIRLPOOL 18dd5bc0d565b6846c40960cf258d7fb3714054be15fe54507e2846c5a7c2cd81e9b209c8e70cbfd5319d5a06f00c2c5322995058637af87d1676276f8675b2e
|
||||
DIST libvirt-python-1.3.0.tar.gz 171195 SHA256 097d41bc52c300e50c5b04836e078bae5653fe222db92a9a10839f3e6b3afc7c SHA512 b207aa9aef63e7d1a8377b2f8a0fa8dc05893bd744672c2b41f4dafa2516cbddd2868f37b0caf72b125fccbbf56542fcf1b94b452c406757f30d8f02d6ee26b4 WHIRLPOOL 1bde1fd130e0760bfa8f62c2f85e4ded991fc0eadcaf10b38bbbcf754eaa7b3a0ccb72f304f65457115419e4d3d904d07172e33bd68d581a29e4fb8d0703b45a
|
||||
DIST libvirt-python-1.3.1.tar.gz 171221 SHA256 7143b922a9bd66a5e199b13316fa4266cbffc23db01c99bce37216a1eb9118f7 SHA512 f980d6aec1c83422d01c8ff02915357f4903f8c2a8ea9538da35e7313f6d491ebb4646e642097269a6be2996da879e7594c5e166cf2cc0bd96745eace7ce7567 WHIRLPOOL 3fe0ecba5f618eab1059c5e4ac4ef8789ed6684f36aee336f2e366198805560706c41d67ddceb328a0ad66867145a103aa15665b646b7bc5a5b058b02755ce11
|
||||
DIST libvirt-python-1.3.2.tar.gz 171673 SHA256 6d35ae9e7801573393b9c92471f39e6700d479f10b641df81d041b469f160bf8 SHA512 cd5a6f7e1a98fc87df137aa015b139dd78974a838fef7b3703ce1d0feb41babd6f1c20ef116675646a4be1052901431298382dbb7c6d0b11497cfe801296334e WHIRLPOOL 2fd73458aa19ac0067c264f0b9f42a7ae1313d72a77977b690691b3867dd717f28e67d2862556ada0d0c0fbfb70444eb5a5d28fd38b19402c0fbbcc713af157a
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
AUTOTOOLIZE=yes
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
inherit eutils distutils-r1
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://libvirt.org/libvirt-python.git"
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
RDEPEND="app-emulation/libvirt:=[-python(-)]"
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/python/${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
RDEPEND="app-emulation/libvirt:0/${PV}"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="libvirt Python bindings"
|
||||
HOMEPAGE="http://www.libvirt.org"
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
# testsuite is currently not included in upstream tarball
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST patchbundle-sepolgen-1.2.1-r1.tar.gz 762 SHA256 f6c83b003df65cd2a11c689cb8a1f37e519bb706de17383fa0d9ff79e80adc11 SHA512 1eb83c118b4c6611c868213b802358c32e6863f2fc68cfed92d32f9e119de1ee9d128c3994bb1b71da1e36f1925d2fb71523498afb63cc3b5d2dd7c9290ebb8d WHIRLPOOL 37dd39a4ef28d8df3d6f2c031df556997ff836d8aa9962d69417dae2dc1ca82bd0d12d21df774231ce28b9f1ec2ecdfff710c452e69ee5de6dc0322b0b24f458
|
||||
DIST sepolgen-1.2.1.tar.gz 366214 SHA256 438c246bdc6b3cf1b12116831f4c601aaae6e93decb007dddab212a3c88781b0 SHA512 ec71126eaf6ecb18d989821753c04f3325de2188bafe161deff5733ebb95c3589e06198666f0502169cfa7d3a2b8ec509ff62098dc11b66b4f0883e1d8703a6e WHIRLPOOL efdbbb9771f68921a5fd3824267c7716ca48ab1f40395aea5c27ac4f7f3b8bf71f718da5ada40eed6c1b2de5341f3d5f10c7ad6086b5ac017d4898136ded6fe0
|
||||
DIST sepolgen-1.2.2.tar.gz 366343 SHA256 bebda8eeb2d386d26823d724ea320508a02b50828d44aff47c3f907cf54c2324 SHA512 83d56c31a87da8e271d6f436878a61f21c508ed8e26fa71f57ef109f432b10e310520c45bdb027f89a1edae12568d827ce3159bd8b6b9cf07c572b9a7225acee WHIRLPOOL 449f540caf2aa653bf2b2638ef310d2b710503744e1387119a66d3039253f537ea7ba987b0e5887e004f76485b1ae2e4a84c192a2e0e3423c9c8e61d8bb0198b
|
||||
DIST sepolgen-1.2.3.tar.gz 367644 SHA256 3ee1745257fa55301070219c77978c7c9eeb9aa595ce0b6b29c3baa4687d5cf0 SHA512 5fe023f983dc0fe1855da24835cb9bb466ac6c44d07fa939416740ca64968c039be2febff79b2a4c593e54c5ae81448dd06020e9160e4f84eea95d8c0d2b910f WHIRLPOOL 65c663a3398f1ae64e8bf233828701481ac2ee68fa75f2271596628c7dcc80c1193166cfb950f8faa86988c0b309cfbb59f15f38131a9f1f2680b754518bba11
|
||||
|
@ -0,0 +1,83 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit python-r1 eutils
|
||||
|
||||
MY_P="${P//_/-}"
|
||||
MY_RELEASEDATE="20160223"
|
||||
|
||||
DESCRIPTION="SELinux policy generation library"
|
||||
HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git"
|
||||
S="${WORKDIR}/${MY_P}/${PN}"
|
||||
else
|
||||
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=sys-libs/libselinux-2.4[python]
|
||||
app-admin/setools[python(+)]
|
||||
${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999 ]] ; then
|
||||
# If needed for live ebuilds please use /etc/portage/patches
|
||||
epatch "${FILESDIR}/0030-default-path-for-tests-also-needed-bug-467264.patch"
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if has_version sec-policy/selinux-base-policy; then
|
||||
invoke_sepolgen_test() {
|
||||
emake test
|
||||
}
|
||||
python_foreach_impl invoke_sepolgen_test
|
||||
else
|
||||
ewarn "Sepolgen requires sec-policy/selinux-base-policy to run tests."
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
emake DESTDIR="${D}" PYTHONLIBDIR="$(python_get_sitedir)" install
|
||||
python_optimize
|
||||
}
|
||||
python_foreach_impl installation
|
||||
|
||||
# Create sepolgen.conf with different devel location definition
|
||||
if [[ -f /etc/selinux/config ]];
|
||||
then
|
||||
local selinuxtype=$(awk -F'=' '/^SELINUXTYPE/ {print $2}' /etc/selinux/config);
|
||||
mkdir -p "${D}"/etc/selinux || die "Failed to create selinux directory";
|
||||
echo "SELINUX_DEVEL_PATH=/usr/share/selinux/${selinuxtype}/include:/usr/share/selinux/${selinuxtype}" > "${D}"/etc/selinux/sepolgen.conf;
|
||||
else
|
||||
local selinuxtype="${POLICY_TYPES%% *}";
|
||||
if [[ -n "${selinuxtype}" ]];
|
||||
then
|
||||
echo "SELINUX_DEVEL_PATH=/usr/share/selinux/${selinuxtype}/include:/usr/share/selinux/${selinuxtype}" > "${D}"/etc/selinux/sepolgen.conf;
|
||||
else
|
||||
echo "SELINUX_DEVEL_PATH=/usr/share/selinux/strict/include:/usr/share/selinux/strict" > "${D}"/etc/selinux/sepolgen.conf;
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST logging-2.0.0.gem 81408 SHA256 6be3aaa3566738a12f2c3aa6bcaa8b3348cf3a97688c9fb23f5cb08d11c2454d SHA512 cddd1a8fb083662c60ac06adfd3a1ddb3db19bd249ddddee7580a16c15f3c2886abb367113affd43c7dcb7fd9358fd334f812815a4fdf55b674ba086792d482e WHIRLPOOL 5f6c2586a2824a534d91d93103fed4487b447787c56f0d56ffe507d1bb199c84f1a75f18ed3bb828f2d022bf36997738a6cc219e3a1253f648dd7bf5f8b88020
|
||||
DIST logging-2.1.0.gem 83456 SHA256 34a0c16415a587c434e1f0d7ac5de9805d33de6e2636d5edc5c0765a7603f3a9 SHA512 e8aad48ef24f8f70fad2aa4d78c25cb675b8c65ea883e14f6e2697af79111de38bced389d2f20d5699bc722274268ddac835c34f89884ea0aee86571a7ca1b55 WHIRLPOOL b397dd205edcf8765aa27b276bd923bf0e1db78e7979f388778e44fc185e6fb53ea021de89a53bd7a9528207647173b305ef8234ca29b2de745311219aa37e46
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="doc"
|
||||
RAKE_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="History.txt README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Flexible logging library based on the design of Java's log4j library"
|
||||
HOMEPAGE="http://rubygems.org/gems/logging"
|
||||
|
||||
LICENSE="MIT"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/little-plugger-1.1.3 >=dev-ruby/multi_json-1.10"
|
||||
|
||||
ruby_add_bdepend "dev-ruby/bones test? ( dev-ruby/flexmock )"
|
@ -0,0 +1,111 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
|
||||
inherit ruby-ng prefix
|
||||
|
||||
DESCRIPTION="Centralized Ruby extension management system"
|
||||
HOMEPAGE="https://rubygems.org/"
|
||||
LICENSE="|| ( Ruby MIT )"
|
||||
|
||||
SRC_URI="https://rubygems.org/rubygems/${P}.tgz"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0"
|
||||
IUSE="server test"
|
||||
|
||||
PDEPEND="server? ( >=dev-ruby/builder-2.1 )"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/minitest-4:0
|
||||
dev-ruby/rdoc
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
|
||||
mkdir -p lib/rubygems/defaults || die
|
||||
cp "${FILESDIR}/gentoo-defaults.rb" lib/rubygems/defaults/operating_system.rb || die
|
||||
|
||||
eprefixify lib/rubygems/defaults/operating_system.rb
|
||||
|
||||
# Disable broken tests when changing default values:
|
||||
sed -i -e '/test_default_path/,/^ end/ s:^:#:' test/rubygems/test_gem.rb || die
|
||||
|
||||
# Skip tests for default gems that all fail
|
||||
sed -i -e '/test_default_gems_use_full_paths/,/^ end/ s:^:#:' test/rubygems/test_gem.rb || die
|
||||
sed -i -e '/test_execute_ignore_default_gem_verbose/,/^ end/ s:^:#:' test/rubygems/test_gem_commands_cleanup_command.rb || die
|
||||
sed -i -e '/test_execute_default_gem/,/^ end/ s:^:#:' test/rubygems/test_gem_commands_contents_command.rb test/rubygems/test_gem_commands_pristine_command.rb || die
|
||||
sed -i -e '/test_execute_default_details/,/^ end/ s:^:#:' test/rubygems/test_gem_commands_query_command.rb || die
|
||||
sed -i -e '/test_execute_all/,/^ end/ s:^:#:' test/rubygems/test_gem_commands_uninstall_command.rb || die
|
||||
sed -i -e '/\(test_default_gem\|test_check_executable_overwrite\|test_require_works_after_cleanup\)/,/^ end/ s:^:#:' \
|
||||
test/rubygems/test_{gem_installer,require}.rb || die
|
||||
sed -i -e '/test_\(load_default_gem\|default_spec_stub\)/,/^ end/ s:^:#:' test/rubygems/test_gem_specification.rb || die
|
||||
sed -i -e '/test_uninstall_default_gem/,/^ end/ s:^:#:' test/rubygems/test_gem_uninstaller.rb || die
|
||||
rm -f test/rubygems/test_gem_indexer.rb || die
|
||||
|
||||
# Avoid tests playing tricks with ruby engine that don't seem to
|
||||
# work for us.
|
||||
rm test/rubygems/test_gem_request_set_gem_dependency_api.rb || die
|
||||
|
||||
# Avoid test requiring network access
|
||||
sed -i -e '/test_download_to_cache/askip "requires network access"' test/rubygems/test_gem_remote_fetcher.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
# Not really a build but...
|
||||
sed -i -e 's:#!.*:#!'"${RUBY}"':' bin/gem
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# Unset RUBYOPT to avoid interferences, bug #158455 et. al.
|
||||
#unset RUBYOPT
|
||||
|
||||
if [[ "${EUID}" -ne "0" ]]; then
|
||||
RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" ${RUBY} -I.:lib:test \
|
||||
-e 'Dir["test/**/test_*.rb"].each { |tu| require tu }' || die "tests failed"
|
||||
else
|
||||
ewarn "The userpriv feature must be enabled to run tests, bug 408951."
|
||||
eerror "Testsuite will not be run."
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
# Unset RUBYOPT to avoid interferences, bug #158455 et. al.
|
||||
unset RUBYOPT
|
||||
export RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}"
|
||||
|
||||
pushd lib &>/dev/null
|
||||
doruby -r *
|
||||
popd &>/dev/null
|
||||
|
||||
local sld=$(ruby_rbconfig_value 'sitelibdir')
|
||||
insinto "${sld#${EPREFIX}}" # bug #320813
|
||||
newins "${FILESDIR}/auto_gem.rb.ruby19" auto_gem.rb || die
|
||||
|
||||
newbin bin/gem $(basename ${RUBY} | sed -e 's:ruby:gem:') || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
dodoc History.txt README.rdoc
|
||||
|
||||
if use server; then
|
||||
newinitd "${FILESDIR}/init.d-gem_server2" gem_server || die "newinitd failed"
|
||||
newconfd "${FILESDIR}/conf.d-gem_server" gem_server || die "newconfd failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${ROOT}"usr/bin/gem) ]] ; then
|
||||
eselect ruby set $(eselect --brief --colour=no ruby show | head -n1)
|
||||
fi
|
||||
|
||||
ewarn
|
||||
ewarn "To switch between available Ruby profiles, execute as root:"
|
||||
ewarn "\teselect ruby set ruby(20|21|...)"
|
||||
ewarn
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST scummvm-tools-1.7.0.tar.bz2 956801 SHA256 b4005c3d68e4c5bda4fa9e31f3998fc5b45b7c9381890ed3d5f0b57f77a62589 SHA512 6a04307912327cb91fb4e1689b67ce621c3e28cbd5460c20974384907d21cb266e9d00b74a6991813366d2c34f966d79dc12e71750d083c82b89a2ec654b04b1 WHIRLPOOL 2034eb3817b5e11b0ba626f2b2b88a2e29a973e538f7a43cafffa0247792c4292821dfa20decd18842155938a65cb74af35b18dbf5d0da61b2d4c18e1b1dc2fc
|
||||
DIST scummvm-tools-1.8.0.tar.xz 864048 SHA256 2c14050cee3fb8e178cb9ff16a4412ab584001757b4824c75b24240eb2d98bdd SHA512 eed0aa0cceef59c42aabe94fe382a4494085c479d310cb624131746a1cbacc37d4a43603a5321167eb5fd4d9d8235fc794bdca5a3417fc4d224213e5409347ed WHIRLPOOL a16fd22cda96b1c633a5c0b70cbfc9393ece6ac4da8f52393e2041cafe2091fb1b57f006ec507f320f69a172c3e522faed521047379ba2c154541070173a348a
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- scummvm-tools-1.7.0.orig/Makefile.common
|
||||
+++ scummvm-tools-1.7.0/Makefile.common
|
||||
@@ -312,7 +312,7 @@
|
||||
install: $(TARGETS)
|
||||
$(INSTALL) -p -m 0755 -d $(DESTDIR)$(BINDIR)
|
||||
$(INSTALL) -p -m 0755 -d $(DESTDIR)$(DATADIR)/scummvm-tools
|
||||
- for i in $^ ; do $(INSTALL) -p -m 0755 $$i $(DESTDIR)$(BINDIR) ; done
|
||||
+ for i in $^ ; do $(INSTALL) -p -m 0755 $$i $(DESTDIR)$(BINDIR)/$(EXEPREFIX)$$i ; done
|
||||
$(INSTALL) -m 0755 -d $(DESTDIR)$(DATADIR)/scummvm-tools
|
||||
$(INSTALL) -p -m 0644 $(srcdir)/gui/media/*.* $(DESTDIR)$(DATADIR)/scummvm-tools
|
||||
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
WX_GTK_VER=3.0
|
||||
inherit wxwidgets eutils flag-o-matic games
|
||||
|
||||
DESCRIPTION="utilities for the SCUMM game engine"
|
||||
HOMEPAGE="http://scummvm.sourceforge.net/"
|
||||
SRC_URI="http://scummvm.org/frs/scummvm-tools/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
IUSE="flac iconv mad png vorbis"
|
||||
RESTRICT="test" # some tests require external files
|
||||
|
||||
RDEPEND="png? ( media-libs/libpng:0 )
|
||||
mad? ( media-libs/libmad )
|
||||
flac? ( media-libs/flac )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
iconv? ( virtual/libiconv media-libs/freetype:2 )
|
||||
sys-libs/zlib
|
||||
>=dev-libs/boost-1.32
|
||||
x11-libs/wxGTK:${WX_GTK_VER}"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
need-wxwidgets unicode
|
||||
rm -rf *.bat dists/win32
|
||||
sed -ri -e '/^(CC|CXX)\b/d' Makefile || die
|
||||
epatch "${FILESDIR}/${P}-binprefix.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Not an autoconf script
|
||||
./configure \
|
||||
--enable-verbose-build \
|
||||
--mandir=/usr/share/man \
|
||||
--prefix="${GAMES_PREFIX}" \
|
||||
--libdir="${GAMES_PREFIX}/lib" \
|
||||
--datadir="${GAMES_DATADIR}" \
|
||||
--disable-tremor \
|
||||
$(use_enable flac) \
|
||||
$(use_enable iconv) \
|
||||
$(use_enable iconv freetype) \
|
||||
$(use_enable mad) \
|
||||
$(use_enable png) \
|
||||
$(use_enable vorbis) || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
EXEPREFIX="${PN}-" default
|
||||
prepgamesdirs
|
||||
}
|
@ -1,162 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
MOZ_ESR="0"
|
||||
MOZ_LIGHTNING_VER="4.0.2"
|
||||
|
||||
# Can be updated using scripts/get_langs.sh from mozilla overlay
|
||||
MOZ_LANGS=(ar ast be bg bn-BD br ca cs cy da de el en en-GB en-US es-AR
|
||||
es-ES et eu fi fr fy-NL ga-IE gd gl he hr hsb hu hy-AM id is it ja ko lt
|
||||
nb-NO nl nn-NO pa-IN pl pt-BR pt-PT rm ro ru si sk sl sq sr sv-SE ta-LK tr
|
||||
uk vi zh-CN zh-TW )
|
||||
|
||||
# Convert the ebuild version to the upstream mozilla version, used by
|
||||
MOZ_PN="${PN/-bin}"
|
||||
MOZ_PV="${PV/_beta/b}"
|
||||
MOZ_PV="${MOZ_PV/_rc/rc}"
|
||||
|
||||
if [[ ${MOZ_ESR} == 1 ]]; then
|
||||
# ESR releases have slightly version numbers
|
||||
MOZ_PV="${MOZ_PV}esr"
|
||||
fi
|
||||
|
||||
MOZ_P="${MOZ_PN}-${MOZ_PV}"
|
||||
|
||||
MOZ_HTTP_URI="http://archive.mozilla.org/pub/mozilla.org/${MOZ_PN}/releases/"
|
||||
|
||||
inherit eutils multilib pax-utils fdo-mime gnome2-utils mozlinguas nsplugins
|
||||
|
||||
DESCRIPTION="Thunderbird Mail Client"
|
||||
SRC_URI="${SRC_URI}
|
||||
amd64? ( ${MOZ_HTTP_URI}/${MOZ_PV}/linux-x86_64/en-US/${MOZ_P}.tar.bz2 -> ${PN}_x86_64-${PV}.tar.bz2 )
|
||||
x86? ( ${MOZ_HTTP_URI}/${MOZ_PV}/linux-i686/en-US/${MOZ_P}.tar.bz2 -> ${PN}_i686-${PV}.tar.bz2 )
|
||||
${MOZ_HTTP_URI/${MOZ_PN}/calendar/lightning}/${MOZ_LIGHTNING_VER}/linux/lightning.xpi -> lightning-${MOZ_LIGHTNING_VER}.xpi
|
||||
"
|
||||
HOMEPAGE="http://www.mozilla.com/thunderbird"
|
||||
RESTRICT="strip mirror"
|
||||
|
||||
KEYWORDS="-* amd64 x86"
|
||||
SLOT="0"
|
||||
LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
|
||||
IUSE="+crashreporter selinux"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
RDEPEND="virtual/freedesktop-icon-theme
|
||||
dev-libs/atk
|
||||
>=sys-apps/dbus-0.60
|
||||
>=dev-libs/dbus-glib-0.72
|
||||
>=dev-libs/glib-2.26:2
|
||||
>=media-libs/alsa-lib-1.0.16
|
||||
media-libs/fontconfig
|
||||
>=media-libs/freetype-2.4.10:2
|
||||
>=x11-libs/cairo-1.10[X]
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-2.18:2
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
>=x11-libs/pango-1.22.0
|
||||
crashreporter? ( net-misc/curl )
|
||||
selinux? ( sec-policy/selinux-thunderbird )
|
||||
"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/${MOZ_PN}/*.so
|
||||
opt/${MOZ_PN}/${MOZ_PN}
|
||||
opt/${MOZ_PN}/${PN}
|
||||
opt/${MOZ_PN}/crashreporter
|
||||
opt/${MOZ_PN}/plugin-container
|
||||
opt/${MOZ_PN}/mozilla-xremote-client
|
||||
opt/${MOZ_PN}/updater
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MOZ_PN}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
# Unpack language packs
|
||||
mozlinguas_src_unpack
|
||||
xpi_unpack lightning-${MOZ_LIGHTNING_VER}.xpi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
declare MOZILLA_FIVE_HOME="/opt/${MOZ_PN}"
|
||||
|
||||
local size sizes icon_path icon name
|
||||
sizes="16 22 24 32 48 256"
|
||||
icon_path="${S}/chrome/icons/default"
|
||||
icon="${PN}-icon"
|
||||
name="Thunderbird"
|
||||
|
||||
# Install icons and .desktop for menu entry
|
||||
for size in ${sizes}; do
|
||||
insinto "/usr/share/icons/hicolor/${size}x${size}/apps"
|
||||
newins "${icon_path}/default${size}.png" "${icon}.png"
|
||||
done
|
||||
# Install a 48x48 icon into /usr/share/pixmaps for legacy DEs
|
||||
newicon "${S}"/chrome/icons/default/default48.png "${icon}.png"
|
||||
domenu "${FILESDIR}"/icon/${PN}.desktop
|
||||
|
||||
# Install thunderbird in /opt
|
||||
dodir ${MOZILLA_FIVE_HOME%/*}
|
||||
mv "${S}" "${D}"${MOZILLA_FIVE_HOME}
|
||||
cd "${WORKDIR}" || die # PWD no longer exists so move to somewhere that does
|
||||
|
||||
# Install language packs
|
||||
MOZEXTENSION_TARGET="distribution/bundles" \
|
||||
mozlinguas_src_install
|
||||
|
||||
# Install language packs for calendar
|
||||
mozlinguas_xpistage_langpacks \
|
||||
"${ED%/}/${MOZILLA_FIVE_HOME%/}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}" \
|
||||
"${WORKDIR}"/lightning-${MOZ_LIGHTNING_VER} lightning calendar
|
||||
|
||||
# Create /usr/bin/thunderbird-bin
|
||||
dodir /usr/bin/
|
||||
cat <<EOF >"${D}"/usr/bin/${PN}
|
||||
#!/bin/sh
|
||||
unset LD_PRELOAD
|
||||
LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}"
|
||||
exec ${MOZILLA_FIVE_HOME}/thunderbird "\$@"
|
||||
EOF
|
||||
fperms 0755 /usr/bin/${PN}
|
||||
|
||||
# revdep-rebuild entry
|
||||
insinto /etc/revdep-rebuild
|
||||
doins "${FILESDIR}"/10${PN}
|
||||
|
||||
# Enable very specific settings for thunderbird-3
|
||||
cp "${FILESDIR}"/thunderbird-gentoo-default-prefs.js \
|
||||
"${D}/${MOZILLA_FIVE_HOME}/defaults/pref/all-gentoo.js" || \
|
||||
die "failed to cp thunderbird-gentoo-default-prefs.js"
|
||||
|
||||
# Plugins dir
|
||||
share_plugins_dir
|
||||
|
||||
pax-mark mr "${ED}"/${MOZILLA_FIVE_HOME}/{thunderbird-bin,thunderbird,plugin-container}
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
|
||||
elog "If calendar fails to show up in extensions, or if you need to force it"
|
||||
elog "to be reloaded in your profile (ie: after re-emerging ${PN}"
|
||||
elog "to enable or disable locales via LINGUAS), please open config editor"
|
||||
elog "and set extensions.lastAppVersion to 38.0.0 to force a reload. If this"
|
||||
elog "fails to show the calendar extension after restarting with above change"
|
||||
elog "please file a bug report."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,378 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
WANT_AUTOCONF="2.1"
|
||||
MOZ_ESR=""
|
||||
MOZ_LIGHTNING_VER="4.0.7"
|
||||
MOZ_LIGHTNING_GDATA_VER="1.9"
|
||||
|
||||
# This list can be updated using scripts/get_langs.sh from the mozilla overlay
|
||||
MOZ_LANGS=(ar ast be bg bn-BD br ca cs cy da de el en en-GB en-US es-AR
|
||||
es-ES et eu fi fr fy-NL ga-IE gd gl he hr hsb hu hy-AM id is it ja ko lt
|
||||
nb-NO nl nn-NO pa-IN pl pt-BR pt-PT rm ro ru si sk sl sq sr sv-SE ta-LK tr
|
||||
uk vi zh-CN zh-TW )
|
||||
|
||||
# Convert the ebuild version to the upstream mozilla version, used by mozlinguas
|
||||
MOZ_PV="${PV/_beta/b}"
|
||||
# ESR releases have slightly version numbers
|
||||
if [[ ${MOZ_ESR} == 1 ]]; then
|
||||
MOZ_PV="${MOZ_PV}esr"
|
||||
fi
|
||||
MOZ_P="${PN}-${MOZ_PV}"
|
||||
|
||||
# Enigmail version
|
||||
EMVER="1.8.2"
|
||||
|
||||
# Patches
|
||||
PATCH="thunderbird-38.0-patches-0.1"
|
||||
PATCHFF="firefox-38.0-patches-05"
|
||||
|
||||
MOZ_HTTP_URI="http://ftp.mozilla.org/pub/${PN}/releases"
|
||||
|
||||
MOZCONFIG_OPTIONAL_JIT="enabled"
|
||||
inherit flag-o-matic toolchain-funcs mozconfig-v6.38 makeedit multilib autotools pax-utils check-reqs nsplugins mozlinguas
|
||||
|
||||
DESCRIPTION="Thunderbird Mail Client"
|
||||
HOMEPAGE="http://www.mozilla.com/en-US/thunderbird/"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
SLOT="0"
|
||||
LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
|
||||
IUSE="bindist crypt hardened ldap lightning +minimal mozdom selinux"
|
||||
RESTRICT="!bindist? ( bindist )"
|
||||
|
||||
# URI for upstream lightning package (when it is available)
|
||||
#${MOZ_HTTP_URI/${PN}/calendar/lightning}/${MOZ_LIGHTNING_VER}/linux/lightning.xpi -> lightning-${MOZ_LIGHTNING_VER}.xpi
|
||||
PATCH_URIS=( https://dev.gentoo.org/~{anarchy,axs,polynomial-c}/mozilla/patchsets/{${PATCH},${PATCHFF}}.tar.xz )
|
||||
SRC_URI="${SRC_URI}
|
||||
${MOZ_HTTP_URI}/${MOZ_PV}/source/${MOZ_P}.source.tar.bz2
|
||||
https://dev.gentoo.org/~axs/distfiles/lightning-${MOZ_LIGHTNING_VER}.tar.xz
|
||||
lightning? ( https://dev.gentoo.org/~axs/distfiles/gdata-provider-${MOZ_LIGHTNING_GDATA_VER}.tar.xz )
|
||||
crypt? ( http://www.enigmail.net/download/source/enigmail-${EMVER}.tar.gz )
|
||||
${PATCH_URIS[@]}"
|
||||
|
||||
ASM_DEPEND=">=dev-lang/yasm-1.1"
|
||||
|
||||
CDEPEND="
|
||||
>=dev-libs/nss-3.21
|
||||
>=dev-libs/nspr-4.10.10
|
||||
!x11-plugins/enigmail
|
||||
crypt? ( || (
|
||||
( >=app-crypt/gnupg-2.0
|
||||
|| (
|
||||
app-crypt/pinentry[gtk]
|
||||
app-crypt/pinentry[qt4]
|
||||
)
|
||||
)
|
||||
=app-crypt/gnupg-1.4*
|
||||
) )"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
amd64? ( ${ASM_DEPEND}
|
||||
virtual/opengl )
|
||||
x86? ( ${ASM_DEPEND}
|
||||
virtual/opengl )"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-thunderbird )
|
||||
"
|
||||
|
||||
if [[ ${PV} =~ beta ]]; then
|
||||
S="${WORKDIR}/comm-beta"
|
||||
else
|
||||
S="${WORKDIR}/comm-esr${PV%%.*}"
|
||||
fi
|
||||
|
||||
BUILD_OBJ_DIR="${S}/tbird"
|
||||
|
||||
pkg_setup() {
|
||||
moz_pkgsetup
|
||||
|
||||
export MOZILLA_DIR="${S}/mozilla"
|
||||
|
||||
if ! use bindist ; then
|
||||
elog "You are enabling official branding. You may not redistribute this build"
|
||||
elog "to any users on your network or the internet. Doing so puts yourself into"
|
||||
elog "a legal problem with Mozilla Foundation"
|
||||
elog "You can disable it by emerging ${PN} _with_ the bindist USE-flag"
|
||||
elog
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
# Ensure we have enough disk space to compile
|
||||
CHECKREQS_DISK_BUILD="4G"
|
||||
check-reqs_pkg_setup
|
||||
|
||||
if use jit && [[ -n ${PROFILE_IS_HARDENED} ]]; then
|
||||
ewarn "You are emerging this package on a hardened profile with USE=jit enabled."
|
||||
ewarn "This is horribly insecure as it disables all PAGEEXEC restrictions."
|
||||
ewarn "Please ensure you know what you are doing. If you don't, please consider"
|
||||
ewarn "emerging the package with USE=-jit"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
# Unpack language packs
|
||||
mozlinguas_src_unpack
|
||||
|
||||
# this version of lightning is a .tar.xz, no xpi needed
|
||||
#xpi_unpack lightning-${MOZ_LIGHTNING_VER}.xpi
|
||||
|
||||
# this version of gdata-provider is a .tar.xz , no xpi needed
|
||||
#use lightning && xpi_unpack gdata-provider-${MOZ_LIGHTNING_GDATA_VER}.xpi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Apply our Thunderbird patchset
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}/thunderbird"
|
||||
|
||||
# Apply our patchset from firefox to thunderbird as well
|
||||
pushd "${S}"/mozilla &>/dev/null || die
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_EXCLUDE="8010_bug114311-freetype26.patch
|
||||
8011_bug1194520-freetype261_until_moz43.patch" \
|
||||
epatch "${WORKDIR}/firefox"
|
||||
popd &>/dev/null || die
|
||||
|
||||
# Ensure that are plugins dir is enabled as default
|
||||
sed -i -e "s:/usr/lib/mozilla/plugins:/usr/lib/nsbrowser/plugins:" \
|
||||
"${S}"/mozilla/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path for 32bit!"
|
||||
sed -i -e "s:/usr/lib64/mozilla/plugins:/usr/lib64/nsbrowser/plugins:" \
|
||||
"${S}"/mozilla/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path for 64bit!"
|
||||
|
||||
# Don't exit with error when some libs are missing which we have in
|
||||
# system.
|
||||
sed '/^MOZ_PKG_FATAL_WARNINGS/s@= 1@= 0@' \
|
||||
-i "${S}"/mail/installer/Makefile.in || die
|
||||
|
||||
# Don't error out when there's no files to be removed:
|
||||
sed 's@\(xargs rm\)$@\1 -f@' \
|
||||
-i "${S}"/mozilla/toolkit/mozapps/installer/packager.mk || die
|
||||
|
||||
# Shell scripts sometimes contain DOS line endings; bug 391889
|
||||
grep -rlZ --include="*.sh" $'\r$' . |
|
||||
while read -r -d $'\0' file ; do
|
||||
einfo edos2unix "${file}"
|
||||
edos2unix "${file}"
|
||||
done
|
||||
|
||||
# Allow user to apply any additional patches without modifing ebuild
|
||||
epatch_user
|
||||
|
||||
# Confirm the version of lightning being grabbed for langpacks is the same
|
||||
# as that used in thunderbird
|
||||
local THIS_MOZ_LIGHTNING_VER=$(python "${S}"/calendar/lightning/build/makeversion.py ${PV})
|
||||
if [[ ${MOZ_LIGHTNING_VER} != ${THIS_MOZ_LIGHTNING_VER} ]]; then
|
||||
eqawarn "The version of lightning used for localization differs from the version"
|
||||
eqawarn "in thunderbird. Please update MOZ_LIGHTNING_VER in the ebuild from ${MOZ_LIGHTNING_VER}"
|
||||
eqawarn "to ${THIS_MOZ_LIGHTNING_VER}"
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
# Ensure we run eautoreconf in mozilla to regenerate configure
|
||||
cd "${S}"/mozilla || die
|
||||
eautoconf
|
||||
cd "${S}"/mozilla/js/src || die
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
|
||||
MEXTENSIONS="default"
|
||||
|
||||
####################################
|
||||
#
|
||||
# mozconfig, CFLAGS and CXXFLAGS setup
|
||||
#
|
||||
####################################
|
||||
|
||||
mozconfig_init
|
||||
mozconfig_config
|
||||
|
||||
# We want rpath support to prevent unneeded hacks on different libc variants
|
||||
append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}"
|
||||
|
||||
# It doesn't compile on alpha without this LDFLAGS
|
||||
use alpha && append-ldflags "-Wl,--no-relax"
|
||||
|
||||
# Add full relro support for hardened
|
||||
use hardened && append-ldflags "-Wl,-z,relro,-z,now"
|
||||
|
||||
mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
|
||||
mozconfig_annotate '' --disable-mailnews
|
||||
mozconfig_annotate '' --enable-calendar
|
||||
|
||||
# Other tb-specific settings
|
||||
mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}
|
||||
mozconfig_annotate '' --with-user-appdir=.thunderbird
|
||||
|
||||
mozconfig_use_enable ldap
|
||||
|
||||
mozlinguas_mozconfig
|
||||
|
||||
# Bug #72667
|
||||
if use mozdom; then
|
||||
MEXTENSIONS="${MEXTENSIONS},inspector"
|
||||
fi
|
||||
|
||||
# Use an objdir to keep things organized.
|
||||
echo "mk_add_options MOZ_OBJDIR=${BUILD_OBJ_DIR}" >> "${S}"/.mozconfig
|
||||
|
||||
# Finalize and report settings
|
||||
mozconfig_final
|
||||
|
||||
####################################
|
||||
#
|
||||
# Configure and build
|
||||
#
|
||||
####################################
|
||||
|
||||
# Disable no-print-directory
|
||||
MAKEOPTS=${MAKEOPTS/--no-print-directory/}
|
||||
|
||||
if [[ $(gcc-major-version) -lt 4 ]]; then
|
||||
append-cxxflags -fno-stack-protector
|
||||
fi
|
||||
|
||||
if use crypt; then
|
||||
pushd "${WORKDIR}"/enigmail &>/dev/null ||die
|
||||
econf
|
||||
popd &>/dev/null ||die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
mkdir -p "${BUILD_OBJ_DIR}" && cd "${BUILD_OBJ_DIR}" || die
|
||||
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
|
||||
MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX%/}/bin/bash}" \
|
||||
emake -f "${S}"/client.mk
|
||||
|
||||
# Only build enigmail extension if crypt enabled.
|
||||
if use crypt ; then
|
||||
einfo "Building enigmail"
|
||||
pushd "${WORKDIR}"/enigmail &>/dev/null || die
|
||||
emake -j1
|
||||
emake -j1 xpi
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
|
||||
DICTPATH="\"${EPREFIX}/usr/share/myspell\""
|
||||
|
||||
declare emid
|
||||
cd "${BUILD_OBJ_DIR}" || die
|
||||
|
||||
# Copy our preference before omnijar is created.
|
||||
cp "${FILESDIR}"/thunderbird-gentoo-default-prefs-1.js-1 \
|
||||
"${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \
|
||||
|| die
|
||||
|
||||
# Set default path to search for dictionaries.
|
||||
echo "pref(\"spellchecker.dictionary_path\", ${DICTPATH});" \
|
||||
>> "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \
|
||||
|| die
|
||||
|
||||
# Pax mark xpcshell for hardened support, only used for startupcache creation.
|
||||
pax-mark m "${BUILD_OBJ_DIR}"/dist/bin/xpcshell
|
||||
|
||||
MOZ_MAKE_FLAGS="${MAKEOPTS}" \
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
# Install language packs
|
||||
mozlinguas_src_install
|
||||
|
||||
if ! use bindist; then
|
||||
newicon "${S}"/other-licenses/branding/thunderbird/content/icon48.png thunderbird-icon.png
|
||||
domenu "${FILESDIR}"/icon/${PN}.desktop
|
||||
else
|
||||
newicon "${S}"/mail/branding/aurora/content/icon48.png thunderbird-icon-unbranded.png
|
||||
newmenu "${FILESDIR}"/icon/${PN}-unbranded.desktop \
|
||||
${PN}.desktop
|
||||
|
||||
sed -i -e "s:Mozilla\ Thunderbird:EarlyBird:g" \
|
||||
"${ED}"/usr/share/applications/${PN}.desktop
|
||||
fi
|
||||
|
||||
local emid
|
||||
# stage extra locales for lightning and install over existing
|
||||
mozlinguas_xpistage_langpacks "${BUILD_OBJ_DIR}"/dist/xpi-stage/lightning \
|
||||
"${WORKDIR}"/lightning-${MOZ_LIGHTNING_VER} lightning calendar
|
||||
|
||||
emid='{e2fda1a4-762b-4020-b5ad-a41df1933103}'
|
||||
mkdir -p "${T}/${emid}" || die
|
||||
cp -RLp -t "${T}/${emid}" "${BUILD_OBJ_DIR}"/dist/xpi-stage/lightning/* || die
|
||||
insinto ${MOZILLA_FIVE_HOME}/distribution/extensions
|
||||
doins -r "${T}/${emid}"
|
||||
|
||||
if use lightning; then
|
||||
# move lightning out of distribution/extensions and into extensions for app-global install
|
||||
mv "${ED}"/${MOZILLA_FIVE_HOME}/{distribution,}/extensions/${emid} || die
|
||||
|
||||
# stage extra locales for gdata-provider and install app-global
|
||||
mozlinguas_xpistage_langpacks "${BUILD_OBJ_DIR}"/dist/xpi-stage/gdata-provider \
|
||||
"${WORKDIR}"/gdata-provider-${MOZ_LIGHTNING_GDATA_VER}
|
||||
emid='{a62ef8ec-5fdc-40c2-873c-223b8a6925cc}'
|
||||
mkdir -p "${T}/${emid}" || die
|
||||
cp -RLp -t "${T}/${emid}" "${BUILD_OBJ_DIR}"/dist/xpi-stage/gdata-provider/* || die
|
||||
insinto ${MOZILLA_FIVE_HOME}/extensions
|
||||
doins -r "${T}/${emid}"
|
||||
fi
|
||||
|
||||
if use crypt ; then
|
||||
local enigmail_xpipath="${WORKDIR}/enigmail/build"
|
||||
cd "${T}" || die
|
||||
unzip "${enigmail_xpipath}"/enigmail*.xpi install.rdf || die
|
||||
emid=$(sed -n '/<em:id>/!d; s/.*\({.*}\).*/\1/; p; q' install.rdf)
|
||||
|
||||
dodir ${MOZILLA_FIVE_HOME}/extensions/${emid} || die
|
||||
cd "${ED}"${MOZILLA_FIVE_HOME}/extensions/${emid} || die
|
||||
unzip "${enigmail_xpipath}"/enigmail*.xpi || die
|
||||
fi
|
||||
|
||||
# Required in order for jit to work on hardened, for mozilla-31 and above
|
||||
use jit && pax-mark pm "${ED}"${MOZILLA_FIVE_HOME}/{thunderbird,thunderbird-bin}
|
||||
|
||||
# Plugin-container needs to be pax-marked for hardened to ensure plugins such as flash
|
||||
# continue to work as expected.
|
||||
pax-mark m "${ED}"${MOZILLA_FIVE_HOME}/plugin-container
|
||||
|
||||
if use minimal; then
|
||||
rm -r "${ED}"/usr/include "${ED}"${MOZILLA_FIVE_HOME}/{idl,include,lib,sdk} || \
|
||||
die "Failed to remove sdk and headers"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use crypt; then
|
||||
local peimpl=$(eselect --brief --colour=no pinentry show)
|
||||
case "${peimpl}" in
|
||||
*gtk*|*qt*) ;;
|
||||
*) ewarn "The pinentry front-end currently selected is not one supported by thunderbird."
|
||||
ewarn "You may be prompted for your password in an inaccessible shell!!"
|
||||
ewarn "Please use 'eselect pinentry' to select either the gtk or qt front-end"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
elog
|
||||
elog "If you experience problems with plugins please issue the"
|
||||
elog "following command : rm \${HOME}/.thunderbird/*/extensions.sqlite ,"
|
||||
elog "then restart thunderbird"
|
||||
if ! use lightning; then
|
||||
elog
|
||||
elog "If calendar fails to show up in extensions please open config editor"
|
||||
elog "and set extensions.lastAppVersion to 38.0.0 to force a reload. If this"
|
||||
elog "fails to show the calendar extension after restarting with above change"
|
||||
elog "please file a bug report."
|
||||
fi
|
||||
}
|
@ -0,0 +1,347 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic multilib multilib-minimal toolchain-funcs
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
: ${EGIT_REPO_URI:="git://git.libav.org/libav.git"}
|
||||
if [[ ${PV%9999} != "" ]] ; then
|
||||
: ${EGIT_BRANCH:="release/${PV%.9999}"}
|
||||
fi
|
||||
inherit git-r3
|
||||
fi
|
||||
|
||||
DESCRIPTION="Complete solution to record, convert and stream audio and video"
|
||||
HOMEPAGE="https://libav.org/"
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
SRC_URI=""
|
||||
elif [[ ${PV%_p*} != ${PV} ]] ; then # Gentoo snapshot
|
||||
SRC_URI="https://dev.gentoo.org/~lu_zero/libav/${P}.tar.xz"
|
||||
else # Official release
|
||||
SRC_URI="https://libav.org/releases/${P}.tar.xz"
|
||||
fi
|
||||
# 9999 does not have fate-*.tar.xz
|
||||
[[ ${PV%9999} != "" ]] && SRC_URI+=" test? ( https://dev.gentoo.org/~lu_zero/libav/fate-${PV%%.*}.tar.xz )"
|
||||
|
||||
LICENSE="LGPL-2.1 gpl? ( GPL-3 )"
|
||||
SLOT="0/11"
|
||||
[[ ${PV} == *9999 ]] || \
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="aac alsa amr bs2b +bzip2 cdio cpudetection custom-cflags debug doc +encode faac fdk
|
||||
frei0r fontconfig +gpl gsm +hardcoded-tables ieee1394 jack jpeg2k libressl mp3
|
||||
+network openssl opus oss pic pulseaudio rtmp schroedinger sdl speex ssl
|
||||
static-libs test theora threads tools truetype twolame v4l vaapi vdpau vorbis vpx X
|
||||
wavpack webp x264 x265 xvid +zlib"
|
||||
|
||||
# String for CPU features in the useflag[:configure_option] form
|
||||
# if :configure_option isn't set, it will use 'useflag' as configure option
|
||||
CPU_FEATURES="altivec armv5te armv6 armv6t2 armvfp:vfp neon"
|
||||
X86_CPU_FEATURES="3dnow:amd3dnow 3dnowext:amd3dnowext mmx mmxext sse sse2 sse3 ssse3 sse4_1:sse4 sse4_2:sse42 avx xop fma3 fma4 avx2"
|
||||
for i in ${X86_CPU_FEATURES} ; do
|
||||
CPU_FEATURES+=" cpu_flags_x86_${i%:*}:${i#*:}"
|
||||
done
|
||||
for i in ${CPU_FEATURES} ; do
|
||||
IUSE+=" ${i%:*}"
|
||||
done
|
||||
|
||||
RDEPEND="
|
||||
!media-video/ffmpeg:0
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
|
||||
amr? ( >=media-libs/opencore-amr-0.1.3-r1[${MULTILIB_USEDEP}] )
|
||||
bs2b? ( >=media-libs/libbs2b-3.1.0-r1[${MULTILIB_USEDEP}] )
|
||||
bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
|
||||
cdio? ( >=dev-libs/libcdio-paranoia-0.90_p1-r1[${MULTILIB_USEDEP}] )
|
||||
encode? (
|
||||
aac? ( >=media-libs/vo-aacenc-0.1.3[${MULTILIB_USEDEP}] )
|
||||
amr? ( >=media-libs/vo-amrwbenc-0.1.2-r1[${MULTILIB_USEDEP}] )
|
||||
faac? ( >=media-libs/faac-1.28-r3[${MULTILIB_USEDEP}] )
|
||||
mp3? ( >=media-sound/lame-3.99.5-r1[${MULTILIB_USEDEP}] )
|
||||
theora? (
|
||||
>=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}]
|
||||
>=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
twolame? ( >=media-sound/twolame-0.3.13-r1[${MULTILIB_USEDEP}] )
|
||||
vorbis? (
|
||||
>=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}]
|
||||
>=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )
|
||||
wavpack? ( >=media-sound/wavpack-4.60.1-r1[${MULTILIB_USEDEP}] )
|
||||
x264? ( >=media-libs/x264-0.0.20130506:=[${MULTILIB_USEDEP}] )
|
||||
x265? ( >=media-libs/x265-1.2:=[${MULTILIB_USEDEP}] )
|
||||
xvid? ( >=media-libs/xvid-1.3.2-r1[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
fdk? ( >=media-libs/fdk-aac-0.1.2[${MULTILIB_USEDEP}] )
|
||||
frei0r? ( media-plugins/frei0r-plugins )
|
||||
gsm? ( >=media-sound/gsm-1.0.13-r1[${MULTILIB_USEDEP}] )
|
||||
ieee1394? (
|
||||
>=media-libs/libdc1394-2.2.1[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/libraw1394-2.1.0-r1[${MULTILIB_USEDEP}]
|
||||
)
|
||||
jack? ( >=media-sound/jack-audio-connection-kit-0.121.3-r1[${MULTILIB_USEDEP}] )
|
||||
jpeg2k? ( >=media-libs/openjpeg-1.5.0:0[${MULTILIB_USEDEP}] )
|
||||
opus? ( >=media-libs/opus-1.0.2-r2[${MULTILIB_USEDEP}] )
|
||||
pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
|
||||
rtmp? ( >=media-video/rtmpdump-2.4_p20131018[${MULTILIB_USEDEP}] )
|
||||
ssl? (
|
||||
openssl? (
|
||||
!libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
|
||||
libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
!openssl? ( >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
sdl? ( >=media-libs/libsdl-1.2.15-r4[sound,video,${MULTILIB_USEDEP}] )
|
||||
schroedinger? ( >=media-libs/schroedinger-1.0.11-r1[${MULTILIB_USEDEP}] )
|
||||
speex? ( >=media-libs/speex-1.2_rc1-r1[${MULTILIB_USEDEP}] )
|
||||
truetype? ( >=media-libs/freetype-2.5.0.1:2[${MULTILIB_USEDEP}] )
|
||||
fontconfig? ( >=media-libs/fontconfig-2.10[${MULTILIB_USEDEP}] )
|
||||
vaapi? ( >=x11-libs/libva-1.2.1-r1[${MULTILIB_USEDEP}] )
|
||||
vdpau? ( >=x11-libs/libvdpau-0.7[${MULTILIB_USEDEP}] )
|
||||
vpx? ( >=media-libs/libvpx-1.2.0_pre20130625[${MULTILIB_USEDEP}] )
|
||||
X? (
|
||||
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
|
||||
)
|
||||
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/make-3.81
|
||||
doc? ( app-text/texi2html )
|
||||
ieee1394? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
cpu_flags_x86_mmx? ( dev-lang/yasm )
|
||||
rtmp? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
schroedinger? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
ssl? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
test? ( sys-devel/bc )
|
||||
truetype? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
fontconfig? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
v4l? ( sys-kernel/linux-headers )
|
||||
"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20140508-r3
|
||||
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
|
||||
|
||||
# faac can't be binary distributed
|
||||
# openssl support marked as nonfree
|
||||
# faac and aac are concurent implementations
|
||||
# amr and aac require at least lgpl3
|
||||
# x264 requires gpl2
|
||||
REQUIRED_USE="
|
||||
rtmp? ( network )
|
||||
amr? ( gpl ) aac? ( gpl ) x264? ( gpl ) X? ( gpl ) cdio? ( gpl ) x265? ( gpl )
|
||||
test? ( encode zlib )
|
||||
fontconfig? ( truetype )
|
||||
"
|
||||
RESTRICT="faac? ( bindist ) fdk? ( bindist ) openssl? ( bindist )"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/libavutil/avconfig.h
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
[[ ${PV} == *9999 ]] && git-r3_src_unpack
|
||||
# 9999 does not have fate-*.tar.xz
|
||||
[[ ${PV%9999} != "" ]] && default_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
|
||||
epatch "${FILESDIR}"/libav-11.3-libvpx-1.5.0.patch #565696
|
||||
|
||||
# if we have snapshot then we need to hardcode the version
|
||||
if [[ ${PV%_p*} != ${PV} ]]; then
|
||||
sed -i -e "s/UNKNOWN/DATE-${PV#*_pre}/" "${S}/version.sh" || die
|
||||
fi
|
||||
|
||||
TOOLS=( aviocat graph2dot ismindex pktdumper qt-faststart trasher )
|
||||
use zlib && TOOLS+=( cws2fws )
|
||||
|
||||
MAKEOPTS+=" V=1"
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=( ${EXTRA_LIBAV_CONF} )
|
||||
local uses i
|
||||
|
||||
# 9999 does not have fate-*.tar.xz
|
||||
[[ ${PV%9999} != "" ]] && use test && myconf+=( --samples="${WORKDIR}/fate" )
|
||||
|
||||
myconf+=(
|
||||
$(use_enable gpl)
|
||||
$(use_enable gpl version3)
|
||||
# It is a security concern and removed in the next version
|
||||
--disable-protocol=concat
|
||||
)
|
||||
|
||||
# enabled by default
|
||||
uses="debug doc network zlib"
|
||||
for i in ${uses}; do
|
||||
use ${i} || myconf+=( --disable-${i} )
|
||||
done
|
||||
use bzip2 || myconf+=( --disable-bzlib )
|
||||
use sdl || myconf+=( --disable-avplay )
|
||||
|
||||
if use ssl; then
|
||||
use openssl && myconf+=( --enable-openssl --enable-nonfree ) \
|
||||
|| myconf+=( --enable-gnutls )
|
||||
fi
|
||||
|
||||
use custom-cflags && myconf+=( --disable-optimizations )
|
||||
use cpudetection && myconf+=( --enable-runtime-cpudetect )
|
||||
|
||||
use vdpau || myconf+=( --disable-vdpau )
|
||||
|
||||
use vaapi && myconf+=( --enable-vaapi )
|
||||
|
||||
# Encoders
|
||||
if use encode; then
|
||||
use faac && myconf+=( --enable-nonfree )
|
||||
use mp3 && myconf+=( --enable-libmp3lame )
|
||||
use amr && myconf+=( --enable-libvo-amrwbenc )
|
||||
use aac && myconf+=( --enable-libvo-aacenc )
|
||||
uses="faac theora twolame vorbis wavpack webp x264 x265 xvid"
|
||||
for i in ${uses}; do
|
||||
use ${i} && myconf+=( --enable-lib${i} )
|
||||
done
|
||||
else
|
||||
myconf+=( --disable-encoders )
|
||||
fi
|
||||
|
||||
# libavdevice options
|
||||
use cdio && myconf+=( --enable-libcdio )
|
||||
use ieee1394 && myconf+=( --enable-libdc1394 )
|
||||
use pulseaudio && myconf+=( --enable-libpulse )
|
||||
|
||||
# Indevs
|
||||
# v4l1 is gone since linux-headers-2.6.38
|
||||
myconf+=( --disable-indev=v4l )
|
||||
use v4l || myconf+=( --disable-indev=v4l2 )
|
||||
for i in alsa oss jack; do
|
||||
use ${i} || myconf+=( --disable-indev=${i} )
|
||||
done
|
||||
use X && myconf+=( --enable-x11grab )
|
||||
# Outdevs
|
||||
for i in alsa oss ; do
|
||||
use ${i} || myconf+=( --disable-outdev=${i} )
|
||||
done
|
||||
# libavfilter options
|
||||
use bs2b && myconf+=( --enable-libbs2b )
|
||||
multilib_is_native_abi && use frei0r && myconf+=( --enable-frei0r )
|
||||
use truetype && myconf+=( --enable-libfreetype )
|
||||
use fontconfig && myconf+=( --enable-libfontconfig )
|
||||
|
||||
# Threads; we only support pthread for now
|
||||
use threads && myconf+=( --enable-pthreads )
|
||||
|
||||
# Decoders
|
||||
use amr && myconf+=( --enable-libopencore-amrwb --enable-libopencore-amrnb )
|
||||
use fdk && myconf+=( --enable-nonfree --enable-libfdk-aac )
|
||||
uses="gsm opus rtmp schroedinger speex vpx"
|
||||
for i in ${uses}; do
|
||||
use ${i} && myconf+=( --enable-lib${i} )
|
||||
done
|
||||
use jpeg2k && myconf+=( --enable-libopenjpeg )
|
||||
|
||||
# CPU features
|
||||
for i in ${CPU_FEATURES}; do
|
||||
use ${i%:*} || myconf+=( --disable-${i#*:} )
|
||||
done
|
||||
|
||||
# pass the right -mfpu as extra
|
||||
use neon && append-cflags -mfpu=neon
|
||||
|
||||
# disable mmx accelerated code if PIC is required
|
||||
# as the provided asm decidedly is not PIC for x86.
|
||||
if use pic && [[ ${ABI} == x86 ]]; then
|
||||
myconf+=( --disable-mmx --disable-mmxext )
|
||||
fi
|
||||
|
||||
# Option to force building pic
|
||||
use pic && myconf+=( --enable-pic )
|
||||
|
||||
# cross compile support
|
||||
if tc-is-cross-compiler ; then
|
||||
myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
|
||||
case ${CHOST} in
|
||||
*freebsd*)
|
||||
myconf+=( --target-os=freebsd )
|
||||
;;
|
||||
mingw32*)
|
||||
myconf+=( --target-os=mingw32 )
|
||||
;;
|
||||
*linux*)
|
||||
myconf+=( --target-os=linux )
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Misc stuff
|
||||
use hardcoded-tables && myconf+=( --enable-hardcoded-tables )
|
||||
|
||||
# Specific workarounds for too-few-registers arch...
|
||||
if [[ ${ABI} == x86 ]]; then
|
||||
local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
|
||||
filter-flags -fforce-addr -momit-leaf-frame-pointer
|
||||
append-flags -fomit-frame-pointer
|
||||
is-flag -O? || append-flags -O2
|
||||
if use debug; then
|
||||
# no need to warn about debug if not using debug flag
|
||||
ewarn ""
|
||||
ewarn "Debug information will be almost useless as the frame pointer is omitted."
|
||||
ewarn "This makes debugging harder, so crashes that has no fixed behavior are"
|
||||
ewarn "difficult to fix. Please have that in mind."
|
||||
ewarn ""
|
||||
fi
|
||||
fi
|
||||
|
||||
set -- "${S}"/configure \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--shlibdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--mandir="${EPREFIX}"/usr/share/man \
|
||||
--enable-shared \
|
||||
--cc="$(tc-getCC)" \
|
||||
--ar="$(tc-getAR)" \
|
||||
--optflags="${CFLAGS}" \
|
||||
--extra-cflags="${CFLAGS}" \
|
||||
$(use_enable static-libs static) \
|
||||
"${myconf[@]}"
|
||||
echo "${@}"
|
||||
"${@}" || die
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake
|
||||
|
||||
if use tools; then
|
||||
tc-export CC
|
||||
|
||||
emake ${TOOLS[@]/#/tools/}
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install install-man
|
||||
use doc && dodoc doc/*.html
|
||||
|
||||
if use tools; then
|
||||
dobin ${TOOLS[@]/#/tools/}
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
dodoc Changelog README.md INSTALL
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
local _libs="$(for i in lib*/;do echo -n "${BUILD_DIR}/${i%/}:";done)"
|
||||
einfo "LD_LIBRARY_PATH is set to \"${_libs}\""
|
||||
LD_LIBRARY_PATH="${_libs}" emake -k -j1 fate
|
||||
}
|
@ -1 +1 @@
|
||||
Sun, 13 Mar 2016 19:38:51 +0000
|
||||
Mon, 14 Mar 2016 08:08:51 +0000
|
||||
|
@ -1 +1 @@
|
||||
Sun, 13 Mar 2016 19:38:51 +0000
|
||||
Mon, 14 Mar 2016 08:08:51 +0000
|
||||
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile install prepare test
|
||||
DEPEND=kde? ( x11-libs/wxGTK:3.0[X] kde-base/kdelibs ) wxwidgets? ( x11-libs/wxGTK:3.0[X] ) amd64? ( dev-lang/yasm ) abi_x86_x32? ( >=dev-lang/yasm-1.2.0-r1 ) x86? ( dev-lang/nasm )
|
||||
DESCRIPTION=Port of 7-Zip archiver for Unix
|
||||
EAPI=5
|
||||
HOMEPAGE=http://p7zip.sourceforge.net/
|
||||
IUSE=doc kde rar +pch static wxwidgets abi_x86_x32
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris
|
||||
LICENSE=LGPL-2.1 rar? ( unRAR )
|
||||
RDEPEND=kde? ( x11-libs/wxGTK:3.0[X] kde-base/kdelibs ) wxwidgets? ( x11-libs/wxGTK:3.0[X] )
|
||||
REQUIRED_USE=kde? ( wxwidgets )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/p7zip/p7zip_15.14_src_all.tar.bz2
|
||||
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e flag-o-matic d270fa247153df66074f795fa42dba3e multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 wxwidgets cf6a488b00cd81e258206bc14b4167d9
|
||||
_md5_=268c65811a7e3d177eff6c787d795a29
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install postinst preinst prepare setup test
|
||||
DEPEND=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 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 ) app-text/xhtml1 dev-lang/perl dev-libs/libxslt dev-perl/XML-XPath virtual/pkgconfig virtual/pkgconfig
|
||||
DESCRIPTION=C toolkit to manipulate virtual machines
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.libvirt.org/
|
||||
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
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=LGPL-2.1
|
||||
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 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 )
|
||||
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 )
|
||||
SLOT=0/1.3.2
|
||||
SRC_URI=http://libvirt.org/sources/libvirt-1.3.2.tar.gz
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c autotools-utils 419811142edf3516b0d0cf1a254d93cb eutils 9d81603248f2ba3ec59124320d123e5e libtool b75230758539a7da029e24afdb693960 linux-info fd1e29abbb02cbc49f1a14299846e9c4 multilib 3972ca401cf7dbb430df9995f5d8d580 readme.gentoo df3fc8fdaf5a519e7d48c83e7592c95f systemd 3165c885f3c71ffae7a867d931fb0e07 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 user 906f3c8eb3a2350a4f1191a89baa3e46 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=c7036c35583ed49d39984bfb3e272617
|
@ -1,12 +1,13 @@
|
||||
DEFINED_PHASES=compile install postinst postrm test
|
||||
DEFINED_PHASES=compile install postinst postrm prepare test
|
||||
DESCRIPTION=XSL Stylesheets for Docbook
|
||||
EAPI=5
|
||||
HOMEPAGE=http://wiki.docbook.org/DocBookXslStylesheets
|
||||
IUSE=ruby
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=BSD
|
||||
RDEPEND=>=app-text/build-docbook-catalog-1.1 ruby? ( || ( dev-lang/ruby:2.0 dev-lang/ruby:2.1 dev-lang/ruby:2.2 ) )
|
||||
RDEPEND=>=app-text/build-docbook-catalog-1.1 ruby? ( || ( dev-lang/ruby:2.0 dev-lang/ruby:2.1 dev-lang/ruby:2.2 dev-lang/ruby:2.3 ) virtual/rubygems )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/docbook/docbook-xsl-1.79.1.tar.bz2
|
||||
_md5_=3c0f0e405ffdad52a048d40a51bbbf23
|
||||
_eclasses_=ruby-single c49250968781888465d5a8597376297f ruby-utils 2f896785ed65442d7e84ab5f5eef3bd3
|
||||
_md5_=7150b211086f8bc54a96eb1a8b851bcc
|
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=app-emulation/libvirt:0/1.3.2 virtual/pkgconfig test? ( dev-python/lxml[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] dev-python/nose[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)]
|
||||
DESCRIPTION=libvirt Python bindings
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.libvirt.org
|
||||
IUSE=test python_targets_python2_7 python_targets_python3_3 python_targets_python3_4
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=LGPL-2
|
||||
RDEPEND=app-emulation/libvirt:0/1.3.2 python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=http://libvirt.org/sources/python/libvirt-python-1.3.2.tar.gz
|
||||
_eclasses_=distutils-r1 4e8ac1ba76ddacd8f7c0289aa586a34c eutils 9d81603248f2ba3ec59124320d123e5e multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 0f6937650a475d673baa5d0c8c0b37b3 python-utils-r1 2e6826f6a93ad2acf904eecf5b5fb6d2 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=42bb13a23da097efe3ec195427c005f5
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile install prepare test
|
||||
DEPEND=>=sys-libs/libselinux-2.4[python] app-admin/setools[python(+)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)]
|
||||
DESCRIPTION=SELinux policy generation library
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/SELinuxProject/selinux/wiki
|
||||
IUSE=python_targets_python2_7 python_targets_python3_3 python_targets_python3_4
|
||||
KEYWORDS=~amd64 ~arm ~arm64 ~mips ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=sys-libs/libselinux-2.4[python] app-admin/setools[python(+)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)]
|
||||
SLOT=0
|
||||
SRC_URI=https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223/sepolgen-1.2.3.tar.gz
|
||||
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 python-r1 0f6937650a475d673baa5d0c8c0b37b3 python-utils-r1 2e6826f6a93ad2acf904eecf5b5fb6d2 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=147c171920bfcdefe1f8730040c649b0
|
@ -1,11 +1,11 @@
|
||||
DEFINED_PHASES=compile install prepare test unpack
|
||||
DEPEND=>=sys-libs/libselinux-2.0[python] app-admin/setools[python(+)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] >=dev-vcs/git-1.8.2.1
|
||||
DEPEND=>=sys-libs/libselinux-2.4[python] app-admin/setools[python(+)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] >=dev-vcs/git-1.8.2.1
|
||||
DESCRIPTION=SELinux policy generation library
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/SELinuxProject/selinux/wiki
|
||||
IUSE=python_targets_python2_7 python_targets_python3_3 python_targets_python3_4
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=sys-libs/libselinux-2.0[python] app-admin/setools[python(+)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)]
|
||||
RDEPEND=>=sys-libs/libselinux-2.4[python] app-admin/setools[python(+)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)]
|
||||
SLOT=0
|
||||
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e git-r3 ef66dfc3db09f327af21cf32f140fb2b multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 python-r1 0f6937650a475d673baa5d0c8c0b37b3 python-utils-r1 2e6826f6a93ad2acf904eecf5b5fb6d2 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=678280c1d99ddae56671447a2f26ec2d
|
||||
_md5_=147c171920bfcdefe1f8730040c649b0
|
||||
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup test unpack
|
||||
DEPEND=test? ( ruby_targets_ruby20? ( >=dev-ruby/little-plugger-1.1.3[ruby_targets_ruby20] >=dev-ruby/multi_json-1.10[ruby_targets_ruby20] ) ruby_targets_ruby21? ( >=dev-ruby/little-plugger-1.1.3[ruby_targets_ruby21] >=dev-ruby/multi_json-1.10[ruby_targets_ruby21] ) ) ruby_targets_ruby20? ( dev-ruby/bones[ruby_targets_ruby20] test? ( dev-ruby/flexmock[ruby_targets_ruby20] ) ) ruby_targets_ruby21? ( dev-ruby/bones[ruby_targets_ruby21] test? ( dev-ruby/flexmock[ruby_targets_ruby21] ) ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ruby_targets_ruby21? ( dev-lang/ruby:2.1 ) ruby_targets_ruby20? ( doc? ( dev-ruby/rake[ruby_targets_ruby20] ) ) ruby_targets_ruby21? ( doc? ( dev-ruby/rake[ruby_targets_ruby21] ) ) ruby_targets_ruby20? ( test? ( dev-ruby/rake[ruby_targets_ruby20] ) ) ruby_targets_ruby21? ( test? ( dev-ruby/rake[ruby_targets_ruby21] ) ) ruby_targets_ruby20? ( virtual/rubygems[ruby_targets_ruby20] ) ruby_targets_ruby21? ( virtual/rubygems[ruby_targets_ruby21] ) test? ( ruby_targets_ruby20? ( virtual/rubygems[ruby_targets_ruby20] ) ruby_targets_ruby21? ( virtual/rubygems[ruby_targets_ruby21] ) )
|
||||
DESCRIPTION=Flexible logging library based on the design of Java's log4j library
|
||||
EAPI=5
|
||||
HOMEPAGE=http://rubygems.org/gems/logging
|
||||
IUSE=test elibc_FreeBSD ruby_targets_ruby20 ruby_targets_ruby21 doc test test
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=MIT
|
||||
RDEPEND=ruby_targets_ruby20? ( >=dev-ruby/little-plugger-1.1.3[ruby_targets_ruby20] >=dev-ruby/multi_json-1.10[ruby_targets_ruby20] ) ruby_targets_ruby21? ( >=dev-ruby/little-plugger-1.1.3[ruby_targets_ruby21] >=dev-ruby/multi_json-1.10[ruby_targets_ruby21] ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ruby_targets_ruby21? ( dev-lang/ruby:2.1 ) ruby_targets_ruby20? ( virtual/rubygems[ruby_targets_ruby20] ) ruby_targets_ruby21? ( virtual/rubygems[ruby_targets_ruby21] )
|
||||
REQUIRED_USE=|| ( ruby_targets_ruby20 ruby_targets_ruby21 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://rubygems/logging-2.1.0.gem
|
||||
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e java-utils-2 4f0e83a2c108b9f3d74ecebf32e2f483 multilib 3972ca401cf7dbb430df9995f5d8d580 ruby-fakegem 836f858624840907bbb6ae6f2c881cb7 ruby-ng 3b6431b487e69b5070a45ea20d1c4c6c ruby-utils 2f896785ed65442d7e84ab5f5eef3bd3 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=1f1a7f44cb60558b356569d650e44204
|
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare setup test unpack
|
||||
DEPEND=ruby_targets_ruby20? ( test? ( >=dev-ruby/minitest-4:0[ruby_targets_ruby20] dev-ruby/rdoc[ruby_targets_ruby20] ) ) ruby_targets_ruby21? ( test? ( >=dev-ruby/minitest-4:0[ruby_targets_ruby21] dev-ruby/rdoc[ruby_targets_ruby21] ) ) ruby_targets_ruby22? ( test? ( >=dev-ruby/minitest-4:0[ruby_targets_ruby22] dev-ruby/rdoc[ruby_targets_ruby22] ) ) ruby_targets_ruby23? ( test? ( >=dev-ruby/minitest-4:0[ruby_targets_ruby23] dev-ruby/rdoc[ruby_targets_ruby23] ) ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ruby_targets_ruby21? ( dev-lang/ruby:2.1 ) ruby_targets_ruby22? ( dev-lang/ruby:2.2 ) ruby_targets_ruby23? ( dev-lang/ruby:2.3 )
|
||||
DESCRIPTION=Centralized Ruby extension management system
|
||||
EAPI=5
|
||||
HOMEPAGE=https://rubygems.org/
|
||||
IUSE=server test elibc_FreeBSD ruby_targets_ruby20 ruby_targets_ruby21 ruby_targets_ruby22 ruby_targets_ruby23
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=|| ( Ruby MIT )
|
||||
PDEPEND=server? ( >=dev-ruby/builder-2.1 )
|
||||
RDEPEND=ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ruby_targets_ruby21? ( dev-lang/ruby:2.1 ) ruby_targets_ruby22? ( dev-lang/ruby:2.2 ) ruby_targets_ruby23? ( dev-lang/ruby:2.3 )
|
||||
REQUIRED_USE=|| ( ruby_targets_ruby20 ruby_targets_ruby21 ruby_targets_ruby22 ruby_targets_ruby23 )
|
||||
SLOT=0
|
||||
SRC_URI=https://rubygems.org/rubygems/rubygems-2.6.2.tgz
|
||||
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e java-utils-2 4f0e83a2c108b9f3d74ecebf32e2f483 multilib 3972ca401cf7dbb430df9995f5d8d580 prefix e7f2b9c6e57342e5d25eac22fce23062 ruby-ng 3b6431b487e69b5070a45ea20d1c4c6c ruby-utils 2f896785ed65442d7e84ab5f5eef3bd3 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=99c56cc28468ebb0b29d87faabb684c1
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack
|
||||
DEPEND=png? ( media-libs/libpng:0 ) mad? ( media-libs/libmad ) flac? ( media-libs/flac ) vorbis? ( media-libs/libvorbis ) iconv? ( virtual/libiconv media-libs/freetype:2 ) sys-libs/zlib >=dev-libs/boost-1.32 x11-libs/wxGTK:3.0 app-arch/xz-utils virtual/pkgconfig
|
||||
DESCRIPTION=utilities for the SCUMM game engine
|
||||
EAPI=5
|
||||
HOMEPAGE=http://scummvm.sourceforge.net/
|
||||
IUSE=flac iconv mad png vorbis
|
||||
KEYWORDS=~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd
|
||||
LICENSE=GPL-2+
|
||||
RDEPEND=png? ( media-libs/libpng:0 ) mad? ( media-libs/libmad ) flac? ( media-libs/flac ) vorbis? ( media-libs/libvorbis ) iconv? ( virtual/libiconv media-libs/freetype:2 ) sys-libs/zlib >=dev-libs/boost-1.32 x11-libs/wxGTK:3.0 games-misc/games-envd
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=http://scummvm.org/frs/scummvm-tools/1.8.0/scummvm-tools-1.8.0.tar.xz
|
||||
_eclasses_=base 3fe4f8980633fd7bc69e9887209ba2fe eutils 9d81603248f2ba3ec59124320d123e5e flag-o-matic d270fa247153df66074f795fa42dba3e games 2cf0d67d765e6358b435ccda30c13ad8 multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 user 906f3c8eb3a2350a4f1191a89baa3e46 wxwidgets cf6a488b00cd81e258206bc14b4167d9
|
||||
_md5_=0cfe692525fdb93679fda72d27c4a250
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare pretend setup test
|
||||
DEPEND=sys-devel/gettext python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] virtual/pkgconfig
|
||||
DESCRIPTION=A program used to manage a netfilter firewall
|
||||
EAPI=6
|
||||
HOMEPAGE=https://launchpad.net/ufw
|
||||
IUSE=examples ipv6 python_targets_python2_7 python_targets_python3_3 python_targets_python3_4
|
||||
KEYWORDS=~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=>=net-firewall/iptables-1.4[ipv6?] !<kde-misc/kcm-ufw-0.4.2 !<net-firewall/ufw-frontends-0.3.2 python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=https://launchpad.net/ufw/0.35/0.35/+download/ufw-0.35.tar.gz
|
||||
_eclasses_=bash-completion-r1 acf715fa09463f043fbfdc1640f3fb85 distutils-r1 4e8ac1ba76ddacd8f7c0289aa586a34c eutils 9d81603248f2ba3ec59124320d123e5e linux-info fd1e29abbb02cbc49f1a14299846e9c4 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 0f6937650a475d673baa5d0c8c0b37b3 python-utils-r1 2e6826f6a93ad2acf904eecf5b5fb6d2 systemd 3165c885f3c71ffae7a867d931fb0e07 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=24a369f1f9e05adc01a79af83134602b
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=sys-libs/ncurses:0= >=dev-libs/glib-2.6.0 ssl? ( !libressl? ( dev-libs/openssl:= ) libressl? ( dev-libs/libressl:= ) ) perl? ( dev-lang/perl ) socks5? ( >=net-proxy/dante-1.1.18 ) virtual/pkgconfig !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 dev-lang/perl:=
|
||||
DESCRIPTION=A modular textUI IRC client with IPv6 support
|
||||
EAPI=6
|
||||
HOMEPAGE=http://irssi.org/
|
||||
IUSE=ipv6 +perl selinux ssl socks5 +proxy libressl
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=sys-libs/ncurses:0= >=dev-libs/glib-2.6.0 ssl? ( !libressl? ( dev-libs/openssl:= ) libressl? ( dev-libs/libressl:= ) ) perl? ( dev-lang/perl ) socks5? ( >=net-proxy/dante-1.1.18 ) selinux? ( sec-policy/selinux-irc ) perl? ( !net-im/silc-client ) dev-lang/perl:=
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/irssi/irssi/releases/download/0.8.18/irssi-0.8.18.tar.xz
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils 9d81603248f2ba3ec59124320d123e5e flag-o-matic d270fa247153df66074f795fa42dba3e libtool b75230758539a7da029e24afdb693960 multilib 3972ca401cf7dbb430df9995f5d8d580 multiprocessing e32940a7b2a9992ad217eccddb84d548 perl-functions 15aff0b9cba2282790142295ceb6be0c perl-module b2108b3c85ac7a6a6a9b035b54f6813c toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=54b31e787d642841909cf13da7989333
|
@ -1,11 +1,11 @@
|
||||
DEFINED_PHASES=compile configure install prepare test unpack
|
||||
DEPEND=sys-libs/ncurses >=dev-libs/glib-2.6.0 ssl? ( !libressl? ( dev-libs/openssl:= ) libressl? ( dev-libs/libressl:= ) ) perl? ( dev-lang/perl ) socks5? ( >=net-proxy/dante-1.1.18 ) virtual/pkgconfig >=sys-devel/autoconf-2.58 dev-lang/perl || ( www-client/lynx www-client/elinks ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 dev-lang/perl:=[-build(-)] >=dev-vcs/git-1.8.2.1
|
||||
DEPEND=sys-libs/ncurses:0= >=dev-libs/glib-2.6.0 ssl? ( !libressl? ( dev-libs/openssl:= ) libressl? ( dev-libs/libressl:= ) ) perl? ( dev-lang/perl ) socks5? ( >=net-proxy/dante-1.1.18 ) virtual/pkgconfig dev-lang/perl || ( www-client/lynx www-client/elinks ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 dev-lang/perl:= >=dev-vcs/git-1.8.2.1
|
||||
DESCRIPTION=A modular textUI IRC client with IPv6 support
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
HOMEPAGE=http://irssi.org/
|
||||
IUSE=ipv6 +perl selinux ssl socks5 +proxy libressl
|
||||
IUSE=+perl selinux ssl socks5 +proxy libressl
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=sys-libs/ncurses >=dev-libs/glib-2.6.0 ssl? ( !libressl? ( dev-libs/openssl:= ) libressl? ( dev-libs/libressl:= ) ) perl? ( dev-lang/perl ) socks5? ( >=net-proxy/dante-1.1.18 ) selinux? ( sec-policy/selinux-irc ) perl? ( !net-im/silc-client ) dev-lang/perl:=[-build(-)]
|
||||
RDEPEND=sys-libs/ncurses:0= >=dev-libs/glib-2.6.0 ssl? ( !libressl? ( dev-libs/openssl:= ) libressl? ( dev-libs/libressl:= ) ) perl? ( dev-lang/perl ) socks5? ( >=net-proxy/dante-1.1.18 ) selinux? ( sec-policy/selinux-irc ) perl? ( !net-im/silc-client ) dev-lang/perl:=
|
||||
SLOT=0
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils 9d81603248f2ba3ec59124320d123e5e git-r3 ef66dfc3db09f327af21cf32f140fb2b libtool b75230758539a7da029e24afdb693960 multilib 3972ca401cf7dbb430df9995f5d8d580 multiprocessing e32940a7b2a9992ad217eccddb84d548 perl-functions 15aff0b9cba2282790142295ceb6be0c perl-module b2108b3c85ac7a6a6a9b035b54f6813c toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 unpacker 1d149d9bda7723e740cfd28118f27813
|
||||
_md5_=dfbab43734c9f1aa1448cc5c3ec22a62
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils 9d81603248f2ba3ec59124320d123e5e git-r3 ef66dfc3db09f327af21cf32f140fb2b libtool b75230758539a7da029e24afdb693960 multilib 3972ca401cf7dbb430df9995f5d8d580 multiprocessing e32940a7b2a9992ad217eccddb84d548 perl-functions 15aff0b9cba2282790142295ceb6be0c perl-module b2108b3c85ac7a6a6a9b035b54f6813c toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=34da408350d9aed21d41586b4a34d286
|
||||
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile install postinst prepare
|
||||
DEPEND=>=sys-libs/libsepol-2.5 >=sys-libs/libsemanage-2.5 sys-devel/flex sys-devel/bison
|
||||
DESCRIPTION=SELinux policy compiler
|
||||
EAPI=5
|
||||
HOMEPAGE=http://userspace.selinuxproject.org
|
||||
IUSE=debug
|
||||
KEYWORDS=~amd64 ~arm ~arm64 ~mips ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=sys-libs/libsemanage-2.5
|
||||
SLOT=0
|
||||
SRC_URI=https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223/checkpolicy-2.5.tar.gz
|
||||
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=1e10fcd89b7a5eb73e9e54abcdfb194d
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile install postinst prepare unpack
|
||||
DEPEND=>=sys-libs/libselinux-2.5:=[python] >=sys-libs/glibc-2.4 >=sys-libs/libcap-1.10-r10:= >=sys-libs/libsemanage-2.5:=[python] sys-libs/libcap-ng:= >=sys-libs/libsepol-2.5:= sys-devel/gettext dev-python/ipy[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] dbus? ( sys-apps/dbus dev-libs/dbus-glib:= ) audit? ( >=sys-process/audit-1.5.1 ) pam? ( sys-libs/pam:= ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml] ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3[xml] ) python_targets_python3_4? ( dev-lang/python:3.4[xml] ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)]
|
||||
DESCRIPTION=SELinux core utilities
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/SELinuxProject/selinux/wiki
|
||||
IUSE=audit pam dbus python_targets_python2_7 python_targets_python3_3 python_targets_python3_4
|
||||
KEYWORDS=~amd64 ~arm ~arm64 ~mips ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=sys-libs/libselinux-2.5:=[python] >=sys-libs/glibc-2.4 >=sys-libs/libcap-1.10-r10:= >=sys-libs/libsemanage-2.5:=[python] sys-libs/libcap-ng:= >=sys-libs/libsepol-2.5:= sys-devel/gettext dev-python/ipy[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] dbus? ( sys-apps/dbus dev-libs/dbus-glib:= ) audit? ( >=sys-process/audit-1.5.1 ) pam? ( sys-libs/pam:= ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml] ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3[xml] ) python_targets_python3_4? ( dev-lang/python:3.4[xml] ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] dev-python/sepolgen app-misc/pax-utils !<sys-apps/openrc-0.14
|
||||
SLOT=0
|
||||
SRC_URI=https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223/policycoreutils-2.5.tar.gz https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-1.34.tar.bz2
|
||||
_eclasses_=bash-completion-r1 acf715fa09463f043fbfdc1640f3fb85 eutils 9d81603248f2ba3ec59124320d123e5e multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 python-r1 0f6937650a475d673baa5d0c8c0b37b3 python-utils-r1 2e6826f6a93ad2acf904eecf5b5fb6d2 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=ddfecd944696afebff355becbe57a4c1
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=prepare
|
||||
DEPEND=app-text/xmlto >=sys-libs/libsepol-2.5
|
||||
DESCRIPTION=SELinux Common Intermediate Language (CIL) Compiler
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/SELinuxProject/selinux/wiki
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=sys-libs/libsepol-2.5
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223/secilc-2.5.tar.gz
|
||||
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=3a929b108e27e322109a1f688f7b9c6d
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare
|
||||
DEPEND=virtual/pam
|
||||
DESCRIPTION=PAM Module for two step verification via mobile platform
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/google/google-authenticator
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=virtual/pam
|
||||
SLOT=0
|
||||
SRC_URI=mirror://gentoo/google-authenticator-1.01_pre20160307231538.tar.xz
|
||||
_eclasses_=multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=f7a2df8b0dee77374b825f2ca03d40bd
|
@ -0,0 +1,10 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare unpack
|
||||
DEPEND=virtual/pam >=dev-vcs/git-1.8.2.1 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=PAM Module for two step verification via mobile platform
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/google/google-authenticator
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=virtual/pam
|
||||
SLOT=0
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils 9d81603248f2ba3ec59124320d123e5e git-r3 ef66dfc3db09f327af21cf32f140fb2b libtool b75230758539a7da029e24afdb693960 multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=f7a2df8b0dee77374b825f2ca03d40bd
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare test
|
||||
DEPEND=>=sys-libs/libsepol-2.5[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libpcre-8.33-r1[static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) ruby? ( ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ruby_targets_ruby21? ( dev-lang/ruby:2.1 ) ruby_targets_ruby22? ( dev-lang/ruby:2.2 ) ruby_targets_ruby23? ( dev-lang/ruby:2.3 ) ) virtual/pkgconfig python? ( >=dev-lang/swig-2.0.9 )
|
||||
DESCRIPTION=SELinux userland library
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/SELinuxProject/selinux/wiki
|
||||
IUSE=python ruby static-libs ruby_targets_ruby20 ruby_targets_ruby21 ruby_targets_ruby22 ruby_targets_ruby23 python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_python3_5 abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=~amd64 ~arm ~arm64 ~mips ~x86
|
||||
LICENSE=public-domain
|
||||
RDEPEND=>=sys-libs/libsepol-2.5[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libpcre-8.33-r1[static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) ruby? ( ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ruby_targets_ruby21? ( dev-lang/ruby:2.1 ) ruby_targets_ruby22? ( dev-lang/ruby:2.2 ) ruby_targets_ruby23? ( dev-lang/ruby:2.3 ) )
|
||||
SLOT=0
|
||||
SRC_URI=https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223/libselinux-2.5.tar.gz
|
||||
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 python-r1 0f6937650a475d673baa5d0c8c0b37b3 python-utils-r1 2e6826f6a93ad2acf904eecf5b5fb6d2 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=2de38997baa10f732e0e75fbbfbc68e1
|
@ -1,11 +1,11 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare test unpack
|
||||
DEPEND=>=sys-libs/libsepol-9999[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libpcre-8.33-r1[static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) ruby? ( ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ) virtual/pkgconfig python? ( >=dev-lang/swig-2.0.9 ) >=dev-vcs/git-1.8.2.1
|
||||
DEPEND=>=sys-libs/libsepol-9999[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libpcre-8.33-r1[static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) ruby? ( ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ruby_targets_ruby21? ( dev-lang/ruby:2.1 ) ruby_targets_ruby22? ( dev-lang/ruby:2.2 ) ruby_targets_ruby23? ( dev-lang/ruby:2.3 ) ) virtual/pkgconfig python? ( >=dev-lang/swig-2.0.9 ) >=dev-vcs/git-1.8.2.1
|
||||
DESCRIPTION=SELinux userland library
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/SELinuxProject/selinux/wiki
|
||||
IUSE=python ruby static-libs ruby_targets_ruby19 ruby_targets_ruby20 python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_python3_5 abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
IUSE=python ruby static-libs ruby_targets_ruby20 ruby_targets_ruby21 ruby_targets_ruby22 ruby_targets_ruby23 python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_python3_5 abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
LICENSE=public-domain
|
||||
RDEPEND=>=sys-libs/libsepol-9999[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libpcre-8.33-r1[static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) ruby? ( ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) )
|
||||
RDEPEND=>=sys-libs/libsepol-9999[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libpcre-8.33-r1[static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) ruby? ( ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ruby_targets_ruby21? ( dev-lang/ruby:2.1 ) ruby_targets_ruby22? ( dev-lang/ruby:2.2 ) ruby_targets_ruby23? ( dev-lang/ruby:2.3 ) )
|
||||
SLOT=0
|
||||
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e git-r3 ef66dfc3db09f327af21cf32f140fb2b multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 python-r1 0f6937650a475d673baa5d0c8c0b37b3 python-utils-r1 2e6826f6a93ad2acf904eecf5b5fb6d2 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=7e746db2384b0d060960124e595fa482
|
||||
_md5_=bf6af9ff0e993d243f1d76a258c9730d
|
||||
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare test
|
||||
DEPEND=>=sys-libs/libsepol-2.5[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=sys-libs/libselinux-2.5[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=sys-process/audit-2.2.2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/ustr-1.0.4-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] sys-devel/bison sys-devel/flex python? ( >=dev-lang/swig-2.0.4-r1 virtual/pkgconfig python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] )
|
||||
DESCRIPTION=SELinux kernel and policy management library
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/SELinuxProject/selinux/wiki
|
||||
IUSE=python python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=~amd64 ~arm ~arm64 ~mips ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=sys-libs/libsepol-2.5[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=sys-libs/libselinux-2.5[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=sys-process/audit-2.2.2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/ustr-1.0.4-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223/libsemanage-2.5.tar.gz
|
||||
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 python-r1 0f6937650a475d673baa5d0c8c0b37b3 python-utils-r1 2e6826f6a93ad2acf904eecf5b5fb6d2 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=789be942ea1b240acd27cae94b1218de
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DESCRIPTION=SELinux binary policy representation library
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/SELinuxProject/selinux/wiki
|
||||
IUSE=abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=~amd64 ~arm ~arm64 ~mips ~x86
|
||||
LICENSE=GPL-2
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223/libsepol-2.5.tar.gz
|
||||
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 3972ca401cf7dbb430df9995f5d8d580 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=1cdb457793712369e26195974eb48fc0
|
@ -1 +1 @@
|
||||
Sun, 13 Mar 2016 19:38:51 +0000
|
||||
Mon, 14 Mar 2016 08:08:51 +0000
|
||||
|
@ -1 +1 @@
|
||||
Sun Mar 13 19:38:01 UTC 2016
|
||||
Mon Mar 14 08:08:01 UTC 2016
|
||||
|
@ -1 +1 @@
|
||||
Sun, 13 Mar 2016 20:00:01 +0000
|
||||
Mon, 14 Mar 2016 08:30:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1457897701 Sun 13 Mar 2016 07:35:01 PM UTC
|
||||
1457942701 Mon 14 Mar 2016 08:05:01 AM UTC
|
||||
|
@ -1 +1,2 @@
|
||||
DIST ufw-0.34_pre805.tar.gz 335875 SHA256 a78693da04720f9f7eb463447b940eed18c3e2c20d3de336ebf9bf821dfdac2f SHA512 b8bba3bb8c423070d6434d1df7274423edf3a356415f54c6448fa0ff2d13a4b2ac21c4bb627cba01d6955b04f793eeaf2fc535c6221e7de48f11bef745035263 WHIRLPOOL 5e5238925d928e883c9869b3b72a7a04ad18352ebbcb5fead9b14c7bb5225f1bbae613d9117ceb5e9d435e1ca1f1d0d033bbdf673896990eda5efcb7a7d04829
|
||||
DIST ufw-0.35.tar.gz 375310 SHA256 662f865bc83bf8aa1a40a6fe578bc2ce796ff60a1be2c1103def7db1b91f8509 SHA512 b36c82559910634505648f717d19eb5a0cb1ce739a804359087e74c966869d0375c4ed5811954b32d2b5b51866f6ae1bec62a4a464f226b2eecc56b096f303fc WHIRLPOOL 789b163bf9cc3b27f231024f33a68d3637ca26cf71f202b438abbf16a2725485ba787b811a040d03d4f99fb8c510f8f9a25154e03d2387d3fb0f03a7c4624de7
|
||||
|
@ -0,0 +1,17 @@
|
||||
--- a/shell-completion/bash
|
||||
+++ b/shell-completion/bash
|
||||
@@ -52,7 +52,6 @@
|
||||
echo "numbered verbose"
|
||||
}
|
||||
|
||||
-have ufw &&
|
||||
_ufw()
|
||||
{
|
||||
cur=${COMP_WORDS[COMP_CWORD]}
|
||||
@@ -83,5 +82,5 @@
|
||||
fi
|
||||
}
|
||||
|
||||
-[ "$have" ] && complete -F _ufw ufw
|
||||
+complete -F _ufw ufw
|
||||
|
@ -0,0 +1,179 @@
|
||||
diff -Naur ufw-0.31.orig/doc/ufw-framework.8 ufw-0.31/doc/ufw-framework.8
|
||||
--- ufw-0.31.orig/doc/ufw-framework.8 2012-03-10 00:07:11.000000000 +0100
|
||||
+++ ufw-0.31/doc/ufw-framework.8 2012-03-12 16:55:50.680992962 +0100
|
||||
@@ -18,7 +18,7 @@
|
||||
parameters and configuration of IPv6. The framework consists of the following
|
||||
files:
|
||||
.TP
|
||||
-#STATE_PREFIX#/ufw\-init
|
||||
+#SHARE_DIR#/ufw\-init
|
||||
initialization script
|
||||
.TP
|
||||
#CONFIG_PREFIX#/ufw/before[6].rules
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
.SH "BOOT INITIALIZATION"
|
||||
.PP
|
||||
-\fBufw\fR is started on boot with #STATE_PREFIX#/ufw\-init. This script is a
|
||||
+\fBufw\fR is started on boot with #SHARE_DIR#/ufw\-init. This script is a
|
||||
standard SysV style initscript used by the \fBufw\fR command and should not be
|
||||
modified. It supports the following arguments:
|
||||
.TP
|
||||
diff -Naur ufw-0.31.orig/README ufw-0.31/README
|
||||
--- ufw-0.31.orig/README 2012-03-10 00:07:11.000000000 +0100
|
||||
+++ ufw-0.31/README 2012-03-12 16:55:50.681993089 +0100
|
||||
@@ -58,7 +58,7 @@
|
||||
on your needs, this can be as simple as adding the following to a startup
|
||||
script (eg rc.local for systems that use it):
|
||||
|
||||
-# /lib/ufw/ufw-init start
|
||||
+# /usr/share/ufw/ufw-init start
|
||||
|
||||
For systems that use SysV initscripts, an example script is provided in
|
||||
doc/initscript.example. See doc/upstart.example for an Upstart example. Consult
|
||||
@@ -72,9 +72,9 @@
|
||||
/etc/defaults/ufw high level configuration
|
||||
/etc/ufw/before[6].rules rules evaluated before UI added rules
|
||||
/etc/ufw/after[6].rules rules evaluated after UI added rules
|
||||
-/lib/ufw/user[6].rules UI added rules (not to be modified)
|
||||
+/etc/ufw/user/user[6].rules UI added rules (not to be modified)
|
||||
/etc/ufw/sysctl.conf kernel network tunables
|
||||
-/lib/ufw/ufw-init start script
|
||||
+/usr/share/ufw/ufw-init start script
|
||||
|
||||
|
||||
Usage
|
||||
@@ -149,7 +149,7 @@
|
||||
that the primary chains don't move around other non-ufw rules and chains. To
|
||||
completely flush the built-in chains with this configuration, you can use:
|
||||
|
||||
-# /lib/ufw/ufw-init flush-all
|
||||
+# /usr/share/ufw/ufw-init flush-all
|
||||
|
||||
Alternately, ufw may also take full control of the firewall by setting
|
||||
MANAGE_BUILTINS=yes in /etc/defaults/ufw. This will flush all the built-in
|
||||
@@ -247,7 +247,7 @@
|
||||
|
||||
Remote Management
|
||||
-----------------
|
||||
-On /lib/ufw/ufw-init start and 'ufw enable' the chains are flushed, so
|
||||
+On /usr/share/ufw/ufw-init start and 'ufw enable' the chains are flushed, so
|
||||
ssh may drop. This is needed so ufw is in a consistent state. Once the ufw is
|
||||
'enabled' it will insert rules into the existing chains, and therefore not
|
||||
flush the chains (but will when modifying a rule or changing the default
|
||||
@@ -290,7 +290,7 @@
|
||||
|
||||
Distributions
|
||||
-------------
|
||||
-While it certainly ok to use /lib/ufw/ufw-init as the initscript for
|
||||
+While it certainly ok to use /usr/share/ufw/ufw-init as the initscript for
|
||||
ufw, this script is meant to be used by ufw itself, and therefore not
|
||||
particularly user friendly. See doc/initscript.example for a simple
|
||||
implementation that can be adapted to your distribution.
|
||||
diff -Naur ufw-0.31.orig/setup.py ufw-0.31/setup.py
|
||||
--- ufw-0.31.orig/setup.py 2012-03-10 00:07:11.000000000 +0100
|
||||
+++ ufw-0.31/setup.py 2012-03-12 16:55:50.682993216 +0100
|
||||
@@ -54,7 +54,8 @@
|
||||
return
|
||||
|
||||
real_confdir = os.path.join('/etc')
|
||||
- real_statedir = os.path.join('/lib', 'ufw')
|
||||
+ # real_statedir = os.path.join('/lib', 'ufw')
|
||||
+ real_statedir = os.path.join('/etc', 'ufw', 'user')
|
||||
real_prefix = self.prefix
|
||||
if self.home != None:
|
||||
real_confdir = self.home + real_confdir
|
||||
@@ -116,7 +117,7 @@
|
||||
self.copy_file('doc/ufw.8', manpage)
|
||||
self.copy_file('doc/ufw-framework.8', manpage_f)
|
||||
|
||||
- # Install state files and helper scripts
|
||||
+ # Install state files
|
||||
statedir = real_statedir
|
||||
if self.root != None:
|
||||
statedir = self.root + real_statedir
|
||||
@@ -127,8 +128,14 @@
|
||||
self.copy_file('conf/user.rules', user_rules)
|
||||
self.copy_file('conf/user6.rules', user6_rules)
|
||||
|
||||
- init_helper = os.path.join(statedir, 'ufw-init')
|
||||
- init_helper_functions = os.path.join(statedir, 'ufw-init-functions')
|
||||
+ # Install helper scripts
|
||||
+ sharedir = real_sharedir
|
||||
+ if self.root != None:
|
||||
+ sharedir = self.root + real_sharedir
|
||||
+ self.mkpath(sharedir)
|
||||
+
|
||||
+ init_helper = os.path.join(sharedir, 'ufw-init')
|
||||
+ init_helper_functions = os.path.join(sharedir, 'ufw-init-functions')
|
||||
self.copy_file('src/ufw-init', init_helper)
|
||||
self.copy_file('src/ufw-init-functions', init_helper_functions)
|
||||
|
||||
@@ -199,13 +206,18 @@
|
||||
|
||||
subprocess.call(["sed",
|
||||
"-i",
|
||||
+ "s%#SHARE_DIR#%" + real_sharedir + "%g",
|
||||
+ f])
|
||||
+
|
||||
+ subprocess.call(["sed",
|
||||
+ "-i",
|
||||
"s%#VERSION#%" + ufw_version + "%g",
|
||||
f])
|
||||
|
||||
# Install pristine copies of rules files
|
||||
- sharedir = real_sharedir
|
||||
- if self.root != None:
|
||||
- sharedir = self.root + real_sharedir
|
||||
+ #sharedir = real_sharedir
|
||||
+ #if self.root != None:
|
||||
+ # sharedir = self.root + real_sharedir
|
||||
rulesdir = os.path.join(sharedir, 'iptables')
|
||||
self.mkpath(rulesdir)
|
||||
for file in [ before_rules, after_rules, \
|
||||
diff -Naur ufw-0.31.orig/src/backend_iptables.py ufw-0.31/src/backend_iptables.py
|
||||
--- ufw-0.31.orig/src/backend_iptables.py 2012-03-10 00:07:11.000000000 +0100
|
||||
+++ ufw-0.31/src/backend_iptables.py 2012-03-12 16:58:36.879115890 +0100
|
||||
@@ -38,6 +38,7 @@
|
||||
files = {}
|
||||
config_dir = _findpath(ufw.common.config_dir, datadir)
|
||||
state_dir = _findpath(ufw.common.state_dir, datadir)
|
||||
+ share_dir = _findpath(ufw.common.share_dir, datadir)
|
||||
|
||||
files['rules'] = os.path.join(config_dir, 'ufw/user.rules')
|
||||
files['before_rules'] = os.ppath.join(config_dir, 'ufw/before.rules')
|
||||
@@ -45,7 +46,7 @@
|
||||
files['rules6'] = os.path.join(state_dir, 'user6.rules')
|
||||
files['before6_rules'] = os.path.join(config_dir, 'ufw/before6.rules')
|
||||
files['after6_rules'] = os.path.join(config_dir, 'ufw/after6.rules')
|
||||
- files['init'] = os.path.join(_findpath(state_dir, rootdir), 'ufw-init')
|
||||
+ files['init'] = os.path.join(_findpath(share_dir, rootdir), 'ufw-init')
|
||||
|
||||
ufw.backend.UFWBackend.__init__(self, "iptables", dryrun, files)
|
||||
|
||||
diff -Naur ufw-0.31.orig/src/ufw-init ufw-0.31/src/ufw-init
|
||||
--- ufw-0.31.orig/src/ufw-init 2012-03-10 00:07:11.000000000 +0100
|
||||
+++ ufw-0.31/src/ufw-init 2012-03-12 16:55:50.687993851 +0100
|
||||
@@ -18,10 +18,10 @@
|
||||
#
|
||||
set -e
|
||||
|
||||
-if [ -s "${rootdir}#STATE_PREFIX#/ufw-init-functions" ]; then
|
||||
- . "${rootdir}#STATE_PREFIX#/ufw-init-functions"
|
||||
+if [ -s "${rootdir}#SHARE_DIR#/ufw-init-functions" ]; then
|
||||
+ . "${rootdir}#SHARE_DIR#/ufw-init-functions"
|
||||
else
|
||||
- echo "Could not find ${rootdir}#STATE_PREFIX#/ufw-init-functions (aborting)"
|
||||
+ echo "Could not find ${rootdir}#SHARE_DIR#/ufw-init-functions (aborting)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
flush_builtins || exit "$?"
|
||||
;;
|
||||
*)
|
||||
- echo "Usage: #STATE_PREFIX#/ufw-init {start|stop|restart|force-reload|force-stop|flush-all|status}"
|
||||
+ echo "Usage: #SHARE_DIR#/ufw-init {start|stop|restart|force-reload|force-stop|flush-all|status}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
@ -0,0 +1,186 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
inherit bash-completion-r1 eutils linux-info distutils-r1 systemd
|
||||
|
||||
DESCRIPTION="A program used to manage a netfilter firewall"
|
||||
HOMEPAGE="https://launchpad.net/ufw"
|
||||
SRC_URI="https://launchpad.net/ufw/${PV}/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="examples ipv6"
|
||||
|
||||
DEPEND="sys-devel/gettext"
|
||||
RDEPEND=">=net-firewall/iptables-1.4[ipv6?]
|
||||
!<kde-misc/kcm-ufw-0.4.2
|
||||
!<net-firewall/ufw-frontends-0.3.2
|
||||
"
|
||||
|
||||
# tests fail; upstream bug: https://bugs.launchpad.net/ufw/+bug/815982
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=(
|
||||
# Remove unnecessary build time dependency on net-firewall/iptables.
|
||||
"${FILESDIR}"/${PN}-0.33-dont-check-iptables.patch
|
||||
# Move files away from /lib/ufw.
|
||||
"${FILESDIR}"/${PN}-0.35-move-path.patch
|
||||
# Remove shebang modification.
|
||||
"${FILESDIR}"/${PN}-0.34_pre805-shebang.patch
|
||||
# Fix bash completions, bug #526300
|
||||
"${FILESDIR}"/${P}-bash-completion.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
local CONFIG_CHECK="~PROC_FS
|
||||
~NETFILTER_XT_MATCH_COMMENT ~NETFILTER_XT_MATCH_HL
|
||||
~NETFILTER_XT_MATCH_LIMIT ~NETFILTER_XT_MATCH_MULTIPORT
|
||||
~NETFILTER_XT_MATCH_RECENT ~NETFILTER_XT_MATCH_STATE"
|
||||
|
||||
if kernel_is -ge 2 6 39; then
|
||||
CONFIG_CHECK+=" ~NETFILTER_XT_MATCH_ADDRTYPE"
|
||||
else
|
||||
CONFIG_CHECK+=" ~IP_NF_MATCH_ADDRTYPE"
|
||||
fi
|
||||
|
||||
# https://bugs.launchpad.net/ufw/+bug/1076050
|
||||
if kernel_is -ge 3 4; then
|
||||
CONFIG_CHECK+=" ~NETFILTER_XT_TARGET_LOG"
|
||||
else
|
||||
CONFIG_CHECK+=" ~IP_NF_TARGET_LOG"
|
||||
use ipv6 && CONFIG_CHECK+=" ~IP6_NF_TARGET_LOG"
|
||||
fi
|
||||
|
||||
CONFIG_CHECK+=" ~IP_NF_TARGET_REJECT"
|
||||
use ipv6 && CONFIG_CHECK+=" ~IP6_NF_TARGET_REJECT"
|
||||
|
||||
check_extra_config
|
||||
|
||||
# Check for default, useful optional features.
|
||||
if ! linux_config_exists; then
|
||||
ewarn "Cannot determine configuration of your kernel."
|
||||
return
|
||||
fi
|
||||
|
||||
local nf_nat_ftp_ok="yes"
|
||||
local nf_conntrack_ftp_ok="yes"
|
||||
local nf_conntrack_netbios_ns_ok="yes"
|
||||
|
||||
linux_chkconfig_present \
|
||||
NF_NAT_FTP || nf_nat_ftp_ok="no"
|
||||
linux_chkconfig_present \
|
||||
NF_CONNTRACK_FTP || nf_conntrack_ftp_ok="no"
|
||||
linux_chkconfig_present \
|
||||
NF_CONNTRACK_NETBIOS_NS || nf_conntrack_netbios_ns_ok="no"
|
||||
|
||||
# This is better than an essay for each unset option...
|
||||
if [[ ${nf_nat_ftp_ok} = no ]] || [[ ${nf_conntrack_ftp_ok} = no ]] \
|
||||
|| [[ ${nf_conntrack_netbios_ns_ok} = no ]]
|
||||
then
|
||||
echo
|
||||
local mod_msg="Kernel options listed below are not set. They are not"
|
||||
mod_msg+=" mandatory, but they are often useful."
|
||||
mod_msg+=" If you don't need some of them, please remove relevant"
|
||||
mod_msg+=" module name(s) from IPT_MODULES in"
|
||||
mod_msg+=" '${EROOT}etc/default/ufw' before (re)starting ufw."
|
||||
mod_msg+=" Otherwise ufw may fail to start!"
|
||||
ewarn "${mod_msg}"
|
||||
if [[ ${nf_nat_ftp_ok} = no ]]; then
|
||||
ewarn "NF_NAT_FTP: for better support for active mode FTP."
|
||||
fi
|
||||
if [[ ${nf_conntrack_ftp_ok} = no ]]; then
|
||||
ewarn "NF_CONNTRACK_FTP: for better support for active mode FTP."
|
||||
fi
|
||||
if [[ ${nf_conntrack_netbios_ns_ok} = no ]]; then
|
||||
ewarn "NF_CONNTRACK_NETBIOS_NS: for better Samba support."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
# Set as enabled by default. User can enable or disable
|
||||
# the service by adding or removing it to/from a runlevel.
|
||||
sed -i 's/^ENABLED=no/ENABLED=yes/' conf/ufw.conf \
|
||||
|| die "sed failed (ufw.conf)"
|
||||
|
||||
sed -i "s/^IPV6=yes/IPV6=$(usex ipv6)/" conf/ufw.defaults || die
|
||||
|
||||
# If LINGUAS is set install selected translations only.
|
||||
if [[ -n ${LINGUAS+set} ]]; then
|
||||
_EMPTY_LOCALE_LIST="yes"
|
||||
pushd locales/po > /dev/null || die
|
||||
|
||||
local lang
|
||||
for lang in *.po; do
|
||||
if ! has "${lang%.po}" ${LINGUAS}; then
|
||||
rm "${lang}" || die
|
||||
else
|
||||
_EMPTY_LOCALE_LIST="no"
|
||||
fi
|
||||
done
|
||||
|
||||
popd > /dev/null || die
|
||||
else
|
||||
_EMPTY_LOCALE_LIST="no"
|
||||
fi
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newconfd "${FILESDIR}"/ufw.confd ufw
|
||||
newinitd "${FILESDIR}"/ufw-2.initd ufw
|
||||
systemd_dounit "${FILESDIR}/ufw.service"
|
||||
|
||||
exeinto /usr/share/${PN}
|
||||
doexe tests/check-requirements
|
||||
|
||||
# users normally would want it
|
||||
insinto /usr/share/doc/${PF}/logging/syslog-ng
|
||||
doins "${FILESDIR}"/syslog-ng/*
|
||||
|
||||
insinto /usr/share/doc/${PF}/logging/rsyslog
|
||||
doins "${FILESDIR}"/rsyslog/*
|
||||
doins doc/rsyslog.example
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/*
|
||||
fi
|
||||
newbashcomp shell-completion/bash ${PN}
|
||||
|
||||
[[ $_EMPTY_LOCALE_LIST != yes ]] && domo locales/mo/*.mo
|
||||
|
||||
distutils-r1_python_install_all
|
||||
python_replicate_script "${D}usr/sbin/ufw"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
echo
|
||||
elog "To enable ufw, add it to boot sequence and activate it:"
|
||||
elog "-- # rc-update add ufw boot"
|
||||
elog "-- # /etc/init.d/ufw start"
|
||||
echo
|
||||
elog "If you want to keep ufw logs in a separate file, take a look at"
|
||||
elog "/usr/share/doc/${PF}/logging."
|
||||
fi
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] \
|
||||
|| [[ ${REPLACING_VERSIONS} < 0.34 ]];
|
||||
then
|
||||
echo
|
||||
elog "/usr/share/ufw/check-requirements script is installed."
|
||||
elog "It is useful for debugging problems with ufw. However one"
|
||||
elog "should keep in mind that the script assumes IPv6 is enabled"
|
||||
elog "on kernel and net-firewall/iptables, and fails when it's not."
|
||||
fi
|
||||
echo
|
||||
ewarn "Note: once enabled, ufw blocks also incoming SSH connections by"
|
||||
ewarn "default. See README, Remote Management section for more information."
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST irssi-0.8.17.tar.bz2 1102196 SHA256 3c9600cad2edf58f1d012febc1a0ba844274df6e331c01a9e935467705166807 SHA512 e3d9b130c46e6977400f5a75374cf3e32d5a6e6907b2fd4c920463b5413575708b094c9fa38151997a120ce581de26092424296510ca93b3eee7b0844be45953 WHIRLPOOL 497e1c4f8a84932f84cdf05bdcc8493f27edfd2070f07c760fa91fc1a967958e3bb48b0cc2d9b22640670d770ffb6dc8035e8bd636a0f966cd675d1636907ee3
|
||||
DIST irssi-0.8.18.tar.xz 1004856 SHA256 c0a177f749757c2d171ebe49ab0f0dd9cf9374dea81ab01904d0549bcb057840 SHA512 9b1abd7777b89a89cb1bf562193919398d765757639efca5ad12b38feaad96b98e2b0bbeb665ac0994c4f2ff9abbff7a7a8bee0daab2b0ea0beb73f82edc30e0 WHIRLPOOL 40bb726cef07fdad749fd8ae2474ff993ab6c8b275cf4f3a537e997333fdb4f798db50c751956818f4190e2f313b78f66508631d6995ecab76f7c93be01f5abd
|
||||
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit autotools eutils flag-o-matic perl-module toolchain-funcs
|
||||
|
||||
# Keep for _rc compability
|
||||
MY_P="${P/_/-}"
|
||||
|
||||
DESCRIPTION="A modular textUI IRC client with IPv6 support"
|
||||
HOMEPAGE="http://irssi.org/"
|
||||
SRC_URI="https://github.com/irssi/irssi/releases/download/${PV/_/-}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="ipv6 +perl selinux ssl socks5 +proxy libressl"
|
||||
|
||||
CDEPEND="sys-libs/ncurses:0=
|
||||
>=dev-libs/glib-2.6.0
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
perl? ( dev-lang/perl )
|
||||
socks5? ( >=net-proxy/dante-1.1.18 )"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-irc )
|
||||
perl? ( !net-im/silc-client )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
pushd m4 > /dev/null || die
|
||||
eapply "${FILESDIR}/${PN}-0.8.15-tinfo.patch"
|
||||
popd > /dev/null || die
|
||||
eapply_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-ncurses="${EPREFIX}"/usr \
|
||||
--with-perl-lib=vendor \
|
||||
--enable-static \
|
||||
--enable-true-color \
|
||||
$(use_with proxy) \
|
||||
$(use_with perl) \
|
||||
$(use_with socks5 socks) \
|
||||
$(use_enable ssl) \
|
||||
$(use_enable ipv6)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
use perl && perl_delete_localpod
|
||||
|
||||
prune_libtool_files --modules
|
||||
|
||||
dodoc AUTHORS ChangeLog README.md TODO NEWS
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST checkpolicy-2.2.tar.gz 64458 SHA256 9ff6698f4d4cb59c9c916e348187d533ada4107f90c253ef7304905934e9adf8 SHA512 a6f70e1b6581673af515d7d192237e2d47c0e07bb589c64b92f90f3a450ef8c312eabc2384479faed8bb909b98c15b676cea77e7dcb5304a51314601e93bef59 WHIRLPOOL 18c13139e8b75bb5bd45a9ddbf0c17c07fa86da66e792ece4a1d1204d211766fec27f6fce7db248957e7d2b2847c91b4c9d0ef45cf64e106aee52bc29be7992c
|
||||
DIST checkpolicy-2.3.tar.gz 64970 SHA256 90632d11afecb66997971d4c5c5d70dfb02d3969ec610ee2918ba6df99c8207b SHA512 9b10cee8ec9d555c810712131eec0e7e1bf900e4675804b8f57b04988543ba784f4bf76030f196868cef91a1c4ec370f77da12ef9e79362bf7a1cc38c7cafcff WHIRLPOOL 49ca9fa1695bedf141d397ca679ba769b748dc39ec7d462718f6b90af9c31c1da64d1ff67b3b4e426f758a9d305dc9e19d755e1127bfcd5e492dccf09ac75d09
|
||||
DIST checkpolicy-2.4.tar.gz 65238 SHA256 9bbdac28a88de4c405c769730863f3adcd266adbfa45881a5de67e3a4895bcd4 SHA512 8c5c22d9510305e7f518d1a5818f5b36895210f48835d8d24a43b2d34e79881cebcc8cd588bb663c0613a4f878db125c22a4b4df3d0f63b8fb8f88350abc61cc WHIRLPOOL b717428b4411e526cc47ed2be88d7e7e4d48153404b90d50e510fd0cc10cc0452661d0b6b0cc200bb09ae1cc040ae59aae68a8c748611db3ca4cd262f8e8f932
|
||||
DIST checkpolicy-2.5.tar.gz 69857 SHA256 33af9f3eb19135a7e6536ecd3fbb9686323000016cd51eb88346346ed7546001 SHA512 cbbb57fabc26951e7a61fc867720f34d8c9ccf259744e86c1fa8d5e8099d90dee7c8e69dd001c4f3224562c3e0aff36051b0d227ac102790f94a104ca90163ad WHIRLPOOL f4339877514da938c995a33558317f3d8b9110127c36e3f6c3e916ccff73c84dcc3f4e2e944c571962d1594d02cb6236ecaf616f12d1de52fca7e1b859980d72
|
||||
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit toolchain-funcs eutils
|
||||
|
||||
MY_P="${P//_/-}"
|
||||
MY_RELEASEDATE="20160223"
|
||||
|
||||
SEPOL_VER="${PV}"
|
||||
SEMNG_VER="${PV}"
|
||||
|
||||
DESCRIPTION="SELinux policy compiler"
|
||||
HOMEPAGE="http://userspace.selinuxproject.org"
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git"
|
||||
S="${WORKDIR}/${MY_P}/${PN}"
|
||||
else
|
||||
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND=">=sys-libs/libsepol-${SEPOL_VER}
|
||||
>=sys-libs/libsemanage-${SEMNG_VER}
|
||||
sys-devel/flex
|
||||
sys-devel/bison"
|
||||
|
||||
RDEPEND=">=sys-libs/libsemanage-${SEMNG_VER}"
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" YACC="bison -y" LIBDIR="\$(PREFIX)/$(get_libdir)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if use debug; then
|
||||
dobin "${S}/test/dismod"
|
||||
dobin "${S}/test/dispol"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "This checkpolicy can compile version `checkpolicy -V |cut -f 1 -d ' '` policy."
|
||||
}
|
@ -0,0 +1,187 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit multilib python-r1 toolchain-funcs eutils bash-completion-r1
|
||||
|
||||
MY_P="${P//_/-}"
|
||||
|
||||
MY_RELEASEDATE="20160223"
|
||||
EXTRAS_VER="1.34"
|
||||
SEMNG_VER="${PV}"
|
||||
SELNX_VER="${PV}"
|
||||
SEPOL_VER="${PV}"
|
||||
|
||||
IUSE="audit pam dbus"
|
||||
|
||||
DESCRIPTION="SELinux core utilities"
|
||||
HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git"
|
||||
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
|
||||
S1="${WORKDIR}/${MY_P}/${PN}"
|
||||
S2="${WORKDIR}/policycoreutils-extra"
|
||||
S="${S1}"
|
||||
else
|
||||
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz
|
||||
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
|
||||
S1="${WORKDIR}/${MY_P}"
|
||||
S2="${WORKDIR}/policycoreutils-extra"
|
||||
S="${S1}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python]
|
||||
>=sys-libs/glibc-2.4
|
||||
>=sys-libs/libcap-1.10-r10:=
|
||||
>=sys-libs/libsemanage-${SEMNG_VER}:=[python]
|
||||
sys-libs/libcap-ng:=
|
||||
>=sys-libs/libsepol-${SEPOL_VER}:=
|
||||
sys-devel/gettext
|
||||
dev-python/ipy[${PYTHON_USEDEP}]
|
||||
dbus? (
|
||||
sys-apps/dbus
|
||||
dev-libs/dbus-glib:=
|
||||
)
|
||||
audit? ( >=sys-process/audit-1.5.1 )
|
||||
pam? ( sys-libs/pam:= )
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
### libcgroup -> seunshare
|
||||
### dbus -> restorecond
|
||||
|
||||
# pax-utils for scanelf used by rlpkg
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/sepolgen
|
||||
app-misc/pax-utils
|
||||
!<sys-apps/openrc-0.14"
|
||||
|
||||
src_unpack() {
|
||||
# Override default one because we need the SRC_URI ones even in case of 9999 ebuilds
|
||||
default
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
git-r3_src_unpack
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
S="${S1}"
|
||||
cd "${S}" || die "Failed to switch to ${S}"
|
||||
if [[ ${PV} != 9999 ]] ; then
|
||||
# If needed for live ebuilds please use /etc/portage/patches
|
||||
epatch "${FILESDIR}/0010-remove-sesandbox-support.patch"
|
||||
epatch "${FILESDIR}/0020-disable-autodetection-of-pam-and-audit.patch"
|
||||
epatch "${FILESDIR}/0030-make-inotify-check-use-flag-triggered.patch"
|
||||
epatch "${FILESDIR}/0070-remove-symlink-attempt-fails-with-gentoo-sandbox-approach.patch"
|
||||
epatch "${FILESDIR}/0110-build-mcstrans-bug-472912.patch"
|
||||
epatch "${FILESDIR}/0120-build-failure-for-mcscolor-for-CONTEXT__CONTAINS.patch"
|
||||
fi
|
||||
|
||||
# rlpkg is more useful than fixfiles
|
||||
sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
|
||||
|| die "fixfiles sed 1 failed"
|
||||
sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
|
||||
|| die "fixfiles sed 2 failed"
|
||||
|
||||
epatch_user
|
||||
|
||||
sed -i 's/-Werror//g' "${S1}"/*/Makefile || die "Failed to remove Werror"
|
||||
|
||||
python_copy_sources
|
||||
# Our extra code is outside the regular directory, so set it to the extra
|
||||
# directory. We really should optimize this as it is ugly, but the extra
|
||||
# code is needed for Gentoo at the same time that policycoreutils is present
|
||||
# (so we cannot use an additional package for now).
|
||||
S="${S2}"
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
building() {
|
||||
emake -C "${BUILD_DIR}" \
|
||||
AUDIT_LOG_PRIVS="y" \
|
||||
AUDITH="$(usex audit)" \
|
||||
PAMH="$(usex pam)" \
|
||||
INOTIFYH="$(usex dbus)" \
|
||||
SESANDBOX="n" \
|
||||
CC="$(tc-getCC)" \
|
||||
PYLIBVER="${EPYTHON}" \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)"
|
||||
}
|
||||
S="${S1}" # Regular policycoreutils
|
||||
python_foreach_impl building
|
||||
S="${S2}" # Extra set
|
||||
python_foreach_impl building
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Python scripts are present in many places. There are no extension modules.
|
||||
installation-policycoreutils() {
|
||||
einfo "Installing policycoreutils"
|
||||
emake -C "${BUILD_DIR}" DESTDIR="${D}" \
|
||||
AUDITH="$(usex audit)" \
|
||||
PAMH="$(usex pam)" \
|
||||
INOTIFYH="$(usex dbus)" \
|
||||
SESANDBOX="n" \
|
||||
AUDIT_LOG_PRIV="y" \
|
||||
PYLIBVER="${EPYTHON}" \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" \
|
||||
install
|
||||
python_optimize
|
||||
}
|
||||
|
||||
installation-extras() {
|
||||
einfo "Installing policycoreutils-extra"
|
||||
emake -C "${BUILD_DIR}" DESTDIR="${D}" INOTIFYH="$(usex dbus)" SHLIBDIR="${D}$(get_libdir)/rc" install
|
||||
python_optimize
|
||||
}
|
||||
|
||||
S="${S1}" # policycoreutils
|
||||
python_foreach_impl installation-policycoreutils
|
||||
S="${S2}" # extras
|
||||
python_foreach_impl installation-extras
|
||||
S="${S1}" # back for later
|
||||
|
||||
# remove redhat-style init script
|
||||
rm -fR "${D}/etc/rc.d" || die
|
||||
|
||||
# compatibility symlinks
|
||||
dosym /sbin/setfiles /usr/sbin/setfiles
|
||||
bashcomp_alias setsebool getsebool
|
||||
|
||||
# location for policy definitions
|
||||
dodir /var/lib/selinux
|
||||
keepdir /var/lib/selinux
|
||||
|
||||
# Set version-specific scripts
|
||||
for pyscript in audit2allow sepolgen-ifgen sepolicy chcat; do
|
||||
python_replicate_script "${ED}/usr/bin/${pyscript}"
|
||||
done
|
||||
for pyscript in semanage rlpkg; do
|
||||
python_replicate_script "${ED}/usr/sbin/${pyscript}"
|
||||
done
|
||||
|
||||
dodir /usr/share/doc/${PF}/mcstrans/examples
|
||||
cp -dR "${S1}"/mcstrans/share/examples/* "${D}/usr/share/doc/${PF}/mcstrans/examples" || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# The selinux_gentoo init script is no longer needed with recent OpenRC
|
||||
elog "The selinux_gentoo init script has been removed in this version as it is not required after OpenRC 0.13."
|
||||
|
||||
for POLICY_TYPE in ${POLICY_TYPES} ; do
|
||||
# There have been some changes to the policy store, rebuilding now.
|
||||
# https://marc.info/?l=selinux&m=143757277819717&w=2
|
||||
einfo "Rebuilding store ${POLICY_TYPE} (without re-loading)."
|
||||
semodule -s "${POLICY_TYPE}" -n -B || die "Failed to rebuild policy store ${POLICY_TYPE}"
|
||||
done
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST secilc-2.5.tar.gz 174642 SHA256 4303d911c06ee5c207e00f778ca786c1a6efa2554a562f5d014dbc0d2f4cc4a4 SHA512 7f7b6fb72bee7018f7a591e6a7d8f58a81ed0e1ec914e0792ccd57a550756a5e21c6359e35ad2fe29225a0bd352637d01288721de3b95a9a175bb3ab052620b9 WHIRLPOOL e674039433041f527a1346ad64887254fa4d7f37f3125b08edcf1e16e23f1d40e1b1151cf6e10d4875d849c43a6b39af0069185303f23b5f331b39c1433deb0e
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit toolchain-funcs eutils
|
||||
|
||||
MY_P="${P//_/-}"
|
||||
MY_RELEASEDATE="20160223"
|
||||
|
||||
SEPOL_VER="${PV}"
|
||||
|
||||
DESCRIPTION="SELinux Common Intermediate Language (CIL) Compiler"
|
||||
HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git"
|
||||
S="${WORKDIR}/${MY_P}/${PN}"
|
||||
else
|
||||
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
app-text/xmlto
|
||||
>=sys-libs/libsepol-${SEPOL_VER}
|
||||
"
|
||||
RDEPEND="
|
||||
>=sys-libs/libsepol-${SEPOL_VER}
|
||||
"
|
||||
|
||||
# tests are not meant to be run outside of the
|
||||
# full SELinux userland repo
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST google-authenticator-1.01_pre20160307231538.tar.xz 255316 SHA256 41bdc47278903bc33e87c8b4da6f9fe5b526a2f780790d4f83bb67634f3f53b0 SHA512 cee3898b7afec54079968ff0690f076b78512b0b2c982ef5bedb2d6c5850b103c80191caa4b172069a83eb4d15ea4fce5b3f5eefdb36aa0426d985ba29736108 WHIRLPOOL 90e6439c632ccf4c791d988304b2e1cb7753f03ec03678b7f83946bdefc2bf1ca6d81538c484bc73561060fc7a7d80518845e13c49f6b5d943233e0123b2a1c8
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit multilib
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://github.com/google/${PN}.git"
|
||||
inherit git-r3 autotools
|
||||
S="${WORKDIR}/${P}/libpam"
|
||||
else
|
||||
MY_P=${P%_pre*}
|
||||
SRC_URI="mirror://gentoo/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="PAM Module for two step verification via mobile platform"
|
||||
HOMEPAGE="https://github.com/google/google-authenticator"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="virtual/pam"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
# Avoid building demos/tests all the time.
|
||||
sed -i '/^noinst_PROGRAMS/s:^noinst:check:' configure.ac || die
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# We might want to use getpam_mod_dir from pam eclass,
|
||||
# but the build already appends "/security" for us.
|
||||
econf \
|
||||
--docdir="\$(datarootdir)/doc/${PF}" \
|
||||
--htmldir='$(docdir)/html' \
|
||||
--libdir="/$(get_libdir)"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
local stamp=$(date --date="$(git log -n1 --pretty=format:%ci master)" -u "+%Y%m%d%H%M%S")
|
||||
emake dist
|
||||
|
||||
local otar=$(echo ${PN}-*.tar.gz)
|
||||
local ntar="${otar%.tar.gz}_pre${stamp}.tar.xz"
|
||||
zcat "${otar}" | xz > "${ntar}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
# Punt the pam module libtool archive.
|
||||
find "${ED}" -name '*.la' -delete
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
elog "For further information see"
|
||||
elog "https://wiki.gentoo.org/wiki/Google_Authenticator"
|
||||
elog ""
|
||||
elog "If you want support for QR-Codes, install media-gfx/qrencode."
|
||||
fi
|
||||
}
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit multilib
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://github.com/google/${PN}.git"
|
||||
inherit git-r3 autotools
|
||||
S="${WORKDIR}/${P}/libpam"
|
||||
else
|
||||
MY_P=${P%_pre*}
|
||||
SRC_URI="mirror://gentoo/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="PAM Module for two step verification via mobile platform"
|
||||
HOMEPAGE="https://github.com/google/google-authenticator"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="virtual/pam"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
# Avoid building demos/tests all the time.
|
||||
sed -i '/^noinst_PROGRAMS/s:^noinst:check:' configure.ac || die
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# We might want to use getpam_mod_dir from pam eclass,
|
||||
# but the build already appends "/security" for us.
|
||||
econf \
|
||||
--docdir="\$(datarootdir)/doc/${PF}" \
|
||||
--htmldir='$(docdir)/html' \
|
||||
--libdir="/$(get_libdir)"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
local stamp=$(date --date="$(git log -n1 --pretty=format:%ci master)" -u "+%Y%m%d%H%M%S")
|
||||
emake dist
|
||||
|
||||
local otar=$(echo ${PN}-*.tar.gz)
|
||||
local ntar="${otar%.tar.gz}_pre${stamp}.tar.xz"
|
||||
zcat "${otar}" | xz > "${ntar}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
# Punt the pam module libtool archive.
|
||||
find "${ED}" -name '*.la' -delete
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
elog "For further information see"
|
||||
elog "https://wiki.gentoo.org/wiki/Google_Authenticator"
|
||||
elog ""
|
||||
elog "If you want support for QR-Codes, install media-gfx/qrencode."
|
||||
fi
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>vapier@gentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">google/google-authenticator</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,5 +1,6 @@
|
||||
DIST libselinux-2.2.2.tar.gz 171013 SHA256 30ab363416806da907b86b97f1d31c252473e3200358bb1570f563c8312b5a3e SHA512 1270cba11ec0795a2cea3706ac5547655d0e65dcd2141932000526f3d0c781b6ae114051b2bb53950b8ef207a318335329280b9fc9fd81796e8e4a27cf6ae841 WHIRLPOOL a444e44225ced35b126bbd2e8924aaf5c9f4da7abb9663d20a32b97babe750245c22d75e2238de0958b73295cf582b8aec39e23312886b96417120c600ed37dc
|
||||
DIST libselinux-2.3.tar.gz 171254 SHA256 0b1e0b43ecd84a812713d09564019b08e7c205d89072b5cbcd07b052cd8e77b2 SHA512 8cfcd20ab0b43ffbb32389e0498b21e43cde643dcdf471a2354f1ca557f11641d250871ed5e71b9dde4c5f47ac1048746fe514f8f6cfad668fa179ed5136e802 WHIRLPOOL e975a391559aca3f8b251d2aa484cf8e344d09caa43ff56dd929e75a0ad195cf8d9a88b950679f589f4deb74aea0d22be4e7ad00b11eacc080288df0b5ac7ccb
|
||||
DIST libselinux-2.4.tar.gz 165931 SHA256 46043091f4c5ba4f43e8d3715f30d665a2d571c9126c1f03945c9ea4ed380f7b SHA512 f7c7ceabcc6ca7bb5cb24fd04b8ea4771af7e509a11ce601fb50d52bd14b291ab6136b7f5193912d02b61b132a2fdd1666f229478598d0b20b99bdea0f5e69d6 WHIRLPOOL d1499818fc885c3bd07785d41466b4ea4bcf56fafe8cbc9bd1a517fe0d2d528b10911fa6df08756ca63aebc411fd69c7f01283685c8a858a81301e203dfd3ec2
|
||||
DIST libselinux-2.5.tar.gz 189019 SHA256 94c9e97706280bedcc288f784f67f2b9d3d6136c192b2c9f812115edba58514f SHA512 1c6718aa6fa05c8635427cd6f5a89ce47fb6bb9bd2fec417293122826695d1ebb0e0b86e83711abb5c4fe71c67dce6f2e18745592833d1711f0ab2d01246b8c7 WHIRLPOOL 96192b856d32a82b9b4413137085e69ad52cbf2e0d274603a90d904e9a318a80c83f337aef26f54c685a689972432955f0f9de67949e0bb4f844611df22d3589
|
||||
DIST patchbundle-libselinux-2.2.2-r5.tar.gz 2304 SHA256 ad77f499c05ec3b5707cb9db518a891dd9c84ccb77db07e686c87e5799e1802c SHA512 a01db39a7aade27b0127dd0e2f3185587ff4d913b7b1be7beac36dc2d3e1007de5e6bae8a11bc84567385420fff064ba54892d8e113c8fd54ad3c598dde7648d WHIRLPOOL 5886d9de6fcf073d54ca5e0eac3f8b4754c44382e7044debb223f94ecc81ea0e26b7638037eef17eb6f8ce4cc5046a4bb9f93b9b7767480908ee5b2ced0413ac
|
||||
DIST patchbundle-libselinux-4.tar.gz 2631 SHA256 91bf43c84ce3d3178c8d21fdcf97380a635fa2465d1611fe4e0e3838a586c78c SHA512 bd2f9762f095e3dbc67e77ee04968cb8e87d460fdf10feff91cb1ce6027e19a660bb57617887e44608d39720e8f95500c451c4b284d58c0a756a04b08fa305c2 WHIRLPOOL 07a6a69d33c46c443907aae2ae4f3646a0360565e28d0a50cbcf81f8b5d8c259812d3e086841fc21c2a8104ce9863fc6c9c1d32e28ea08ebc7baf2d45af3509f
|
||||
|
@ -0,0 +1,69 @@
|
||||
https://bugs.gentoo.org/500674
|
||||
|
||||
random fixes:
|
||||
- make sure PCRE_CFLAGS get used
|
||||
- use PCRE_LIBS via pkg-config
|
||||
- move LDFLAGS to before objects, not after
|
||||
- do not hardcode -L$(LIBDIR) (let the toolchain handle it)
|
||||
- do not hardcode -I$(INCLUDEDIR) (let the toolchain handle it)
|
||||
|
||||
diff -uNr libselinux-2.5.orig/src/Makefile libselinux-2.5/src/Makefile
|
||||
--- libselinux-2.5.orig/src/Makefile 2016-03-13 19:27:07.091000000 +0100
|
||||
+++ libselinux-2.5/src/Makefile 2016-03-13 19:27:16.495000000 +0100
|
||||
@@ -73,7 +73,7 @@
|
||||
-fipa-pure-const -Wno-suggest-attribute=pure -Wno-suggest-attribute=const \
|
||||
-Werror -Wno-aggregate-return -Wno-redundant-decls
|
||||
|
||||
-override CFLAGS += -I../include -I$(INCLUDEDIR) -D_GNU_SOURCE $(EMFLAGS)
|
||||
+override CFLAGS += -I../include $(PCRE_CFLAGS) -D_GNU_SOURCE $(EMFLAGS)
|
||||
|
||||
SWIG_CFLAGS += -Wno-error -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-parameter \
|
||||
-Wno-shadow -Wno-uninitialized -Wno-missing-prototypes -Wno-missing-declarations
|
||||
@@ -102,17 +102,17 @@
|
||||
$(CC) $(CFLAGS) $(SWIG_CFLAGS) $(RUBYINC) -fPIC -DSHARED -c -o $@ $<
|
||||
|
||||
$(SWIGSO): $(SWIGLOBJ)
|
||||
- $(CC) $(CFLAGS) -shared -o $@ $< -L. -lselinux $(LDFLAGS) -L$(LIBDIR)
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $< -L. -lselinux
|
||||
|
||||
$(SWIGRUBYSO): $(SWIGRUBYLOBJ)
|
||||
- $(CC) $(CFLAGS) -shared -o $@ $^ -L. -lselinux $(LDFLAGS) -L$(LIBDIR)
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -L. -lselinux
|
||||
|
||||
$(LIBA): $(OBJS)
|
||||
$(AR) rcs $@ $^
|
||||
$(RANLIB) $@
|
||||
|
||||
$(LIBSO): $(LOBJS)
|
||||
- $(CC) $(CFLAGS) -shared -o $@ $^ -lpcre -ldl $(LDFLAGS) -L$(LIBDIR) -Wl,-soname,$(LIBSO),-z,defs,-z,relro
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -ldl $(PCRE_LIBS) -Wl,-soname,$(LIBSO),-z,defs,-z,relro
|
||||
ln -sf $@ $(TARGET)
|
||||
|
||||
$(LIBPC): $(LIBPC).in ../VERSION
|
||||
@@ -125,7 +125,7 @@
|
||||
$(CC) $(filter-out -Werror, $(CFLAGS)) $(PYINC) -fPIC -DSHARED -c -o $@ $<
|
||||
|
||||
$(AUDIT2WHYSO): $(AUDIT2WHYLOBJ)
|
||||
- $(CC) $(CFLAGS) -shared -o $@ $^ -L. $(LDFLAGS) -lselinux $(LIBDIR)/libsepol.a -L$(LIBDIR)
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -L. -lselinux $(LIBDIR)/libsepol.a
|
||||
|
||||
%.o: %.c policy.h
|
||||
$(CC) $(CFLAGS) $(TLSFLAGS) -c -o $@ $<
|
||||
diff -uNr libselinux-2.5.orig/utils/Makefile libselinux-2.5/utils/Makefile
|
||||
--- libselinux-2.5.orig/utils/Makefile 2016-03-13 19:27:07.102000000 +0100
|
||||
+++ libselinux-2.5/utils/Makefile 2016-03-13 19:27:40.297000000 +0100
|
||||
@@ -24,11 +24,12 @@
|
||||
-fipa-pure-const -Wno-suggest-attribute=pure -Wno-suggest-attribute=const \
|
||||
-Werror -Wno-aggregate-return -Wno-redundant-decls
|
||||
override CFLAGS += -I../include -D_GNU_SOURCE $(EMFLAGS)
|
||||
-LDLIBS += -L../src -lselinux -L$(LIBDIR)
|
||||
+LDLIBS += -L../src -lselinux
|
||||
|
||||
TARGETS=$(patsubst %.c,%,$(wildcard *.c))
|
||||
|
||||
-sefcontext_compile: LDLIBS += -lpcre ../src/libselinux.a -lsepol
|
||||
+sefcontext_compile: CFLAGS += $(PCRE_FLAGS)
|
||||
+sefcontext_compile: LDLIBS += $(PCRE_LIBS) -lsepol ../src/libselinux.a
|
||||
|
||||
selinux_restorecon: LDLIBS += -lsepol
|
||||
|
@ -0,0 +1,147 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 python3_5 )
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
|
||||
# No, I am not calling ruby-ng
|
||||
inherit multilib python-r1 toolchain-funcs eutils multilib-minimal
|
||||
|
||||
MY_P="${P//_/-}"
|
||||
SEPOL_VER="${PV}"
|
||||
|
||||
DESCRIPTION="SELinux userland library"
|
||||
HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
|
||||
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
|
||||
|
||||
IUSE="python ruby static-libs ruby_targets_ruby20 ruby_targets_ruby21 ruby_targets_ruby22 ruby_targets_ruby23"
|
||||
|
||||
RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libpcre-8.33-r1[static-libs?,${MULTILIB_USEDEP}]
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
ruby? (
|
||||
ruby_targets_ruby20? ( dev-lang/ruby:2.0 )
|
||||
ruby_targets_ruby21? ( dev-lang/ruby:2.1 )
|
||||
ruby_targets_ruby22? ( dev-lang/ruby:2.2 )
|
||||
ruby_targets_ruby23? ( dev-lang/ruby:2.3 )
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
python? ( >=dev-lang/swig-2.0.9 )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/0005-use-ruby-include-with-rubylibver.patch"
|
||||
epatch "${FILESDIR}/0007-build-related-fixes-bug-500674-for-2.5.patch"
|
||||
|
||||
epatch_user
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
tc-export PKG_CONFIG RANLIB
|
||||
local PCRE_CFLAGS=$(${PKG_CONFIG} libpcre --cflags)
|
||||
local PCRE_LIBS=$(${PKG_CONFIG} libpcre --libs)
|
||||
export PCRE_{CFLAGS,LIBS}
|
||||
|
||||
emake \
|
||||
AR="$(tc-getAR)" \
|
||||
CC="$(tc-getCC)" \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" \
|
||||
SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
|
||||
LDFLAGS="-fPIC ${LDFLAGS} -pthread" \
|
||||
all
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
building() {
|
||||
python_export PYTHON_INCLUDEDIR PYTHON_LIBPATH
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
PYINC="-I${PYTHON_INCLUDEDIR}" \
|
||||
PYTHONLIBDIR="${PYTHON_LIBPATH}" \
|
||||
PYPREFIX="${EPYTHON##*/}" \
|
||||
LDFLAGS="-fPIC ${LDFLAGS} -lpthread" \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" \
|
||||
SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
|
||||
pywrap
|
||||
}
|
||||
python_foreach_impl building
|
||||
fi
|
||||
|
||||
if multilib_is_native_abi && use ruby; then
|
||||
building() {
|
||||
einfo "Calling rubywrap for ${1}"
|
||||
# Clean up .lo file to force rebuild
|
||||
rm -f src/selinuxswig_ruby_wrap.lo || die
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
RUBY=${1} \
|
||||
RUBYINSTALL=$(${1} -e 'print RbConfig::CONFIG["vendorarchdir"]') \
|
||||
LDFLAGS="-fPIC ${LDFLAGS} -lpthread" \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" \
|
||||
SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
|
||||
rubywrap
|
||||
}
|
||||
for RUBYTARGET in ${USE_RUBY}; do
|
||||
use ruby_targets_${RUBYTARGET} || continue
|
||||
|
||||
building ${RUBYTARGET}
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
installation() {
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" emake DESTDIR="${D}" install-pywrap
|
||||
python_optimize # bug 531638
|
||||
}
|
||||
python_foreach_impl installation
|
||||
fi
|
||||
|
||||
if multilib_is_native_abi && use ruby; then
|
||||
installation() {
|
||||
einfo "Calling install-rubywrap for ${1}"
|
||||
# Forcing (re)build here as otherwise the resulting SO file is used for all ruby versions
|
||||
rm src/selinuxswig_ruby_wrap.lo
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" emake DESTDIR="${D}" \
|
||||
RUBY=${1} \
|
||||
RUBYINSTALL="${D}/$(${1} -e 'print RbConfig::CONFIG["vendorarchdir"]')" \
|
||||
install-rubywrap
|
||||
}
|
||||
for RUBYTARGET in ${USE_RUBY}; do
|
||||
use ruby_targets_${RUBYTARGET} || continue
|
||||
|
||||
installation ${RUBYTARGET}
|
||||
done
|
||||
fi
|
||||
|
||||
use static-libs || rm "${D}"/usr/lib*/*.a || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Fix bug 473502
|
||||
for POLTYPE in ${POLICY_TYPES};
|
||||
do
|
||||
mkdir -p /etc/selinux/${POLTYPE}/contexts/files || die
|
||||
touch /etc/selinux/${POLTYPE}/contexts/files/file_contexts.local || die
|
||||
# Fix bug 516608
|
||||
for EXPRFILE in file_contexts file_contexts.homedirs file_contexts.local ; do
|
||||
if [[ -f ${EXPRFILE} ]]; then
|
||||
sefcontext_compile /etc/selinux/${POLTYPE}/contexts/files/${EXPRFILE} \
|
||||
|| die "Failed to recompile contexts"
|
||||
fi
|
||||
done
|
||||
done
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST libsemanage-2.2.tar.gz 138208 SHA256 11f60bfa0f1c6063cd9bd99ce0cb4acc9d6d9e9b8d7743d39e847bcd7803bd75 SHA512 09032b1b322fec7346164939ade118034812cb538ebc72121640d4ac5c89d2a66b59caa465027cfbebb590dee039a26d4345eafedf365d7f6ad0b5e90377d50f WHIRLPOOL 49170c5ee9ff57dcc4a15aa72386f37993f76436f0da25808c60dab2d03ba52932d0d4fa753c326900d83d2fae30f8bcf659251f17327783f2e2be3deb4842f4
|
||||
DIST libsemanage-2.3.tar.gz 138231 SHA256 03e09e35e611c286e446bef92b6023ef2623815996f5a53394bb02e49a312e4b SHA512 defe3bbdbe51abdaa13a39f693c33446d8a1a8509ac1eb25c7770da2df6487bcb0ca31259d02b4531d4c81db5e221e94e95bec97f6a1a155e1de2f65e6f0da34 WHIRLPOOL 943d4d300aa8ad49c411b10b41c0c3e751c46dbcbbe129bdd1d2e975e231c58391d6ecdee6b27699fff9f6e6facf5b48fc8d57c2ff68692694c7de430750fac9
|
||||
DIST libsemanage-2.4.tar.gz 151173 SHA256 1a4cace4ef16786531ec075c0e7b2f961e2fee5dc86c5f983a689058899a6484 SHA512 54f993253b22207b053daf4d34e72c65c72279866416089b6c0f047ef77bca3e307eac0ce6dfe40bd14e2e47e79841b358d5607501779f38d9b5f7c35f3b7729 WHIRLPOOL 7303c06515ed59b5756a87d08aff07671e51d26ce9fa452ca75643dd0ce4658571dc69d86434c943d691a4ab0d90cbdccdaa27e5aaec5fdf8057cf2d5d30631e
|
||||
DIST libsemanage-2.5.tar.gz 152884 SHA256 46e2f36254369b6e91d1eea0460c262b139361b055a3a67d3ceea2d8ef72e006 SHA512 cf644b77d8a24f76c630ece582df1b49a0c5f48f1c9f79b1caee0df10372008954406974472a072360dbe6de5ebc19b1b21bb247084d75b7186f61b32f33b8ec WHIRLPOOL 397b7fd2e9b2c00dbc2f58bdc023501dcd7ecf1212fef9ad7993b4763a041068416ef06552c0abf0beef8c69f4704933feca36951866c43d867181332971f6be
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue