parent
e81db37912
commit
ae0d52becd
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=System Logger Daemon
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/metalog
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Alias=syslog.service
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/metalog-3-r1.ebuild,v 1.1 2013/09/21 15:27:39 pacho Exp $
|
||||
|
||||
EAPI="3"
|
||||
inherit eutils systemd
|
||||
|
||||
DESCRIPTION="A highly configurable replacement for syslogd/klogd"
|
||||
HOMEPAGE="http://metalog.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="unicode"
|
||||
|
||||
RDEPEND=">=dev-libs/libpcre-3.4"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
app-arch/xz-utils"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.9-metalog-conf.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with unicode)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
dodoc AUTHORS ChangeLog README NEWS metalog.conf
|
||||
|
||||
into /
|
||||
dosbin "${FILESDIR}"/consolelog.sh || die
|
||||
|
||||
newinitd "${FILESDIR}"/metalog.initd metalog
|
||||
newconfd "${FILESDIR}"/metalog.confd metalog
|
||||
systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -d "${ROOT}"/etc/metalog ]] && [[ ! -e "${ROOT}"/etc/metalog.conf ]] ; then
|
||||
mv -f "${ROOT}"/etc/metalog/metalog.conf "${ROOT}"/etc/metalog.conf
|
||||
rmdir "${ROOT}"/etc/metalog
|
||||
export MOVED_METALOG_CONF=true
|
||||
else
|
||||
export MOVED_METALOG_CONF=false
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ${MOVED_METALOG_CONF} ; then
|
||||
ewarn "The default metalog.conf file has been moved"
|
||||
ewarn "from /etc/metalog/metalog.conf to just"
|
||||
ewarn "/etc/metalog.conf. If you had a standard"
|
||||
ewarn "setup, the file has been moved for you."
|
||||
fi
|
||||
}
|
@ -0,0 +1,111 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/hashcat-bin/hashcat-bin-0.46.ebuild,v 1.1 2013/09/20 23:17:12 zerochaos Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_P="hashcat-${PV}"
|
||||
|
||||
inherit eutils pax-utils
|
||||
DESCRIPTION="An multi-threaded multihash cracker"
|
||||
HOMEPAGE="http://hashcat.net/hashcat/"
|
||||
|
||||
SRC_URI="http://hashcat.net/files/${MY_P}.7z"
|
||||
|
||||
#license applies to this version per http://hashcat.net/forum/thread-1348.html
|
||||
LICENSE="hashcat"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~amd64-linux ~x64-macos ~x86 ~x86-linux"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/p7zip"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
RESTRICT="strip"
|
||||
QA_PREBUILT="opt/${PN}/hashcat-cli*.bin
|
||||
opt/${PN}/hashcat-cli64.app"
|
||||
|
||||
has_xop() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __XOP__ 1"
|
||||
}
|
||||
|
||||
has_avx() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __AVX__ 1"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc docs/*
|
||||
rm -r *.exe docs || die
|
||||
use x86 || { rm hashcat-cli32.bin || die; }
|
||||
use amd64 || { rm hashcat-cli64.bin || die; }
|
||||
use x64-macos || { rm hashcat-cli64.app || die; }
|
||||
has_avx || { rm hashcat-cliAVX.bin || die; }
|
||||
has_xop || { rm hashcat-cliXOP.bin || die; }
|
||||
|
||||
#I assume this is needed but I didn't check
|
||||
pax-mark m hashcat-cli*.bin
|
||||
|
||||
insinto /opt/${PN}
|
||||
doins -r "${S}"/*
|
||||
|
||||
dodir /opt/bin
|
||||
if [ -f "${ED}"/opt/${PN}/hashcat-cli32.bin ]
|
||||
then
|
||||
fperms +x /opt/${PN}/hashcat-cli32.bin
|
||||
cat <<-EOF > "${ED}"/opt/bin/hashcat-cli32.bin
|
||||
#! /bin/sh
|
||||
cd "${EPREFIX}"/opt/${PN}
|
||||
echo "Warning: hashcat-cli32.bin is running from ${EPREFIX}/opt/${PN} so be careful of relative paths."
|
||||
exec ./hashcat-cli32.bin \$@
|
||||
EOF
|
||||
fperms +x /opt/bin/hashcat-cli32.bin
|
||||
fi
|
||||
if [ -f "${ED}"/opt/${PN}/hashcat-cli64.bin ]
|
||||
then
|
||||
fperms +x /opt/${PN}/hashcat-cli64.bin
|
||||
cat <<-EOF > "${ED}"/opt/bin/hashcat-cli64.bin
|
||||
#! /bin/sh
|
||||
cd "${EPREFIX}"/opt/${PN}
|
||||
echo "Warning: hashcat-cli64.bin is running from ${EPREFIX}/opt/${PN} so be careful of relative paths."
|
||||
exec ./hashcat-cli64.bin \$@
|
||||
EOF
|
||||
fperms +x /opt/bin/hashcat-cli64.bin
|
||||
fi
|
||||
if [ -f "${ED}"/opt/${PN}/hashcat-cliAVX.bin ]
|
||||
then
|
||||
fperms +x /opt/${PN}/hashcat-cliAVX.bin
|
||||
cat <<-EOF > "${ED}"/opt/bin/hashcat-cliAVX.bin
|
||||
#! /bin/sh
|
||||
cd "${EPREFIX}"/opt/${PN}
|
||||
echo "Warning: hashcat-cliAVX.bin is running from ${EPREFIX}/opt/${PN} so be careful of relative paths."
|
||||
exec ./hashcat-cliAVX.bin \$@
|
||||
EOF
|
||||
fperms +x /opt/bin/hashcat-cliAVX.bin
|
||||
fi
|
||||
if [ -f "${ED}"/opt/${PN}/hashcat-cliXOP.bin ]
|
||||
then
|
||||
fperms +x /opt/${PN}/hashcat-cliXOP.bin
|
||||
cat <<-EOF > "${ED}"/opt/bin/hashcat-cliXOP.bin
|
||||
#! /bin/sh
|
||||
cd "${EPREFIX}"/opt/${PN}
|
||||
echo "Warning: hashcat-cliXOP.bin is running from ${EPREFIX}/opt/${PN} so be careful of relative paths."
|
||||
exec ./hashcat-cliXOP.bin \$@
|
||||
EOF
|
||||
fperms +x /opt/bin/hashcat-cliXOP.bin
|
||||
fi
|
||||
if [ -f "${ED}"/opt/${PN}/hashcat-cli64.app ]
|
||||
then
|
||||
fperms +x /opt/${PN}/hashcat-cli64.app
|
||||
cat <<-EOF > "${ED}"/opt/bin/hashcat-cli64.app
|
||||
#! /bin/sh
|
||||
cd "${EPREFIX}"/opt/${PN}
|
||||
echo "Warning: hashcat-cli64.app is running from ${EPREFIX}/opt/${PN} so be careful of relative paths."
|
||||
exec ./hashcat-cli64.app \$@
|
||||
EOF
|
||||
fperms +x /opt/bin/hashcat-cli64.app
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST libvirt-1.1.2-a61ad1bc.tar.xz 8512 SHA256 beaf201d3aea6617e727ea9e3d1ae6400fde9a215d7eb5609bfcfbf7e2858355 SHA512 c28c1cc4de829719c482e8daefe6880561ff61fdda0d82af71f32b016518cd2657b859a9f304d2aa61c3c8ac28894601c7680c15ea712c76cd47db898c34c7a6 WHIRLPOOL 79745d1b4ca66d4568730c86b11f889d7e478758fe45365855ffc5f36b38306c24ebbe24ae0f4bdf1f00e276d4b035033ffa6be3e6451ce0352cbeb2e4422620
|
||||
DIST libvirt-1.1.2-e89bdf01.tar.xz 1776 SHA256 ff85291f594221a6fbf8ad39d577bdec776f4c22081c7904c4463f8bed50ce5b SHA512 357b03c7e1b4a4b3e0a862d92fd81b800c58cd702c4c88228397ef06b1125f1b565b28821a3a62d93a01338ad70987509836d677051718c1174dc82078ae6855 WHIRLPOOL e3e8dec57def09e9f1aed29571befcb73095ec0b61730361556e745a5732f1744d58e448db768aef82bd6033cd40471f7c7c7a2432623f6e3ee921fca1e2f571
|
||||
DIST libvirt-1.1.2.tar.gz 26069691 SHA256 16648af54d3e162f5cc5445d970ec29a0bd55b1dbcb568a05533c4c2f25965e3 SHA512 9244640221393abe3c4e48a5a5b87838af4f20ae0664949a5c116aa1dd4568818c41b52077274ade907310fd22a627bde69df1cd53c6c398d10f98f83c217b2c WHIRLPOOL 7fcf575016f26a3570fafe9fc22edc0bd35d01dfeb93a3c90d5c90770677cd07bafb3057de0857961f082c174bd42fd9a88ecb049c42a7388557ab7f51737c86
|
||||
|
@ -0,0 +1,432 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.1.2-r2.ebuild,v 1.1 2013/09/20 21:29:06 cardoe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
BACKPORTS=a61ad1bc
|
||||
AUTOTOOLIZE=yes
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit eutils python-single-r1 user autotools linux-info systemd readme.gentoo
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
|
||||
AUTOTOOLIZE=yes
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
|
||||
ftp://libvirt.org/libvirt/${MY_P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="audit avahi +caps firewalld fuse iscsi +libvirtd lvm lxc +macvtap nfs \
|
||||
nls numa openvz parted pcap phyp policykit python +qemu rbd sasl \
|
||||
selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc \
|
||||
systemd"
|
||||
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
qemu? ( libvirtd )
|
||||
uml? ( libvirtd )
|
||||
vepa? ( macvtap )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )
|
||||
virt-network? ( libvirtd )
|
||||
firewalld? ( virt-network )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
||||
# package will use 3 by default. Since we don't have slot pinning in an API,
|
||||
# we must go with the most recent
|
||||
RDEPEND="sys-libs/readline
|
||||
sys-libs/ncurses
|
||||
>=net-misc/curl-7.18.0
|
||||
dev-libs/libgcrypt
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
dev-libs/libnl:3
|
||||
>=net-libs/gnutls-1.0.25
|
||||
net-libs/libssh2
|
||||
sys-apps/dmidecode
|
||||
>=sys-apps/util-linux-2.17
|
||||
sys-devel/gettext
|
||||
>=net-analyzer/netcat6-1.0-r2
|
||||
app-misc/scrub
|
||||
audit? ( sys-process/audit )
|
||||
avahi? ( >=net-dns/avahi-0.6[dbus] )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
fuse? ( >=sys-fs/fuse-2.8.6 )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
lxc? ( sys-power/pm-utils )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? (
|
||||
>sys-process/numactl-2.0.2
|
||||
sys-process/numad
|
||||
)
|
||||
openvz? ( sys-kernel/openvz-sources )
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
qemu? (
|
||||
>=app-emulation/qemu-0.13.0
|
||||
dev-libs/yajl
|
||||
sys-power/pm-utils
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
xen? ( app-emulation/xen-tools app-emulation/xen )
|
||||
udev? ( virtual/udev >=x11-libs/libpciaccess-0.10.9 )
|
||||
virt-network? ( net-dns/dnsmasq
|
||||
>=net-firewall/iptables-1.4.10
|
||||
net-misc/radvd
|
||||
net-firewall/ebtables
|
||||
sys-apps/iproute2[-minimal]
|
||||
firewalld? ( net-firewall/firewalld )
|
||||
)
|
||||
elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
|
||||
# one? ( dev-libs/xmlrpc-c )
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
app-text/xhtml1
|
||||
dev-lang/perl
|
||||
dev-libs/libxslt"
|
||||
|
||||
DOC_CONTENTS="For the basic networking support (bridged and routed networks)
|
||||
you don't need any extra software. For more complex network modes
|
||||
including but not limited to NATed network, you can enable the
|
||||
'virt-network' USE flag.\n\n
|
||||
If you are using dnsmasq on your system, you will have
|
||||
to configure /etc/dnsmasq.conf to enable the following settings:\n\n
|
||||
bind-interfaces\n
|
||||
interface or except-interface\n\n
|
||||
Otherwise you might have issues with your existing DNS server."
|
||||
|
||||
LXC_CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_DEVICE
|
||||
~CGROUP_CPUACCT
|
||||
~CGROUP_SCHED
|
||||
~CGROUP_PERF
|
||||
~BLK_CGROUP
|
||||
~NET_CLS_CGROUP
|
||||
~NETPRIO_CGROUP
|
||||
~CPUSETS
|
||||
~RESOURCE_COUNTERS
|
||||
~NAMESPACES
|
||||
~UTS_NS
|
||||
~IPC_NS
|
||||
~PID_NS
|
||||
~NET_NS
|
||||
~USER_NS
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~VETH
|
||||
~MACVLAN
|
||||
~POSIX_MQUEUE
|
||||
~SECURITYFS
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS
|
||||
"
|
||||
|
||||
VIRTNET_CONFIG_CHECK="
|
||||
~BRIDGE_NF_EBTABLES
|
||||
~BRIDGE_EBT_MARK_T
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_TARGET_CHECKSUM
|
||||
~NETFILTER_XT_CONNMARK
|
||||
~NETFILTER_XT_MARK
|
||||
"
|
||||
|
||||
MACVTAP_CONFIG_CHECK=" ~MACVTAP"
|
||||
|
||||
LVM_CONFIG_CHECK=" ~BLK_DEV_DM ~DM_SNAPSHOT ~DM_MULTIPATH"
|
||||
|
||||
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
|
||||
|
||||
python-single-r1_pkg_setup
|
||||
|
||||
# Handle specific kernel versions for different features
|
||||
kernel_is lt 3 6 && LXC_CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR"
|
||||
kernel_is ge 3 6 && LXC_CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP ~MEMCG_KMEM"
|
||||
|
||||
CONFIG_CHECK=""
|
||||
use fuse && CONFIG_CHECK+=" ~FUSE_FS"
|
||||
use lvm && CONFIG_CHECK+="${LVM_CONFIG_CHECK}"
|
||||
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
|
||||
use macvtap && CONFIG_CHECK+="${MACVTAP_CONFIG_CHECK}"
|
||||
use virt-network && CONFIG_CHECK+="${VIRTNET_CONFIG_CHECK}"
|
||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
touch "${S}/.mailmap"
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
|
||||
# git checkouts require bootstrapping to create the configure script.
|
||||
# Additionally the submodules must be cloned to the right locations
|
||||
# bug #377279
|
||||
./bootstrap || die "bootstrap failed"
|
||||
(
|
||||
git submodule status | sed 's/^[ +-]//;s/ .*//'
|
||||
git hash-object bootstrap.conf
|
||||
) >.git-module-status
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
|
||||
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
|
||||
|
||||
# Tweak the init script
|
||||
local avahi_init=
|
||||
local iscsi_init=
|
||||
local rbd_init=
|
||||
local firewalld_init=
|
||||
cp "${FILESDIR}/libvirtd.init-r12" "${S}/libvirtd.init"
|
||||
use avahi && avahi_init='avahi-daemon'
|
||||
use iscsi && iscsi_init='iscsid'
|
||||
use rbd && rbd_init='ceph'
|
||||
use firewalld && firewalld_init='need firewalld'
|
||||
|
||||
sed -e "s/USE_FLAG_FIREWALLD/${firewalld_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_AVAHI/${avahi_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_ISCSI/${iscsi_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_RBD/${rbd_init}/" -i "${S}/libvirtd.init"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
## enable/disable daemon, otherwise client only utils
|
||||
myconf="${myconf} $(use_with libvirtd)"
|
||||
|
||||
## enable/disable the daemon using avahi to find VMs
|
||||
myconf="${myconf} $(use_with avahi)"
|
||||
|
||||
## hypervisors on the local host
|
||||
myconf="${myconf} $(use_with xen) $(use_with xen xen-inotify)"
|
||||
myconf+=" --without-xenapi"
|
||||
if use xen && has_version ">=app-emulation/xen-tools-4.2.0"; then
|
||||
myconf+=" --with-libxl"
|
||||
else
|
||||
myconf+=" --without-libxl"
|
||||
fi
|
||||
myconf="${myconf} $(use_with openvz)"
|
||||
myconf="${myconf} $(use_with lxc)"
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myconf="${myconf} --with-vbox=/usr/lib/virtualbox-ose/"
|
||||
else
|
||||
myconf="${myconf} $(use_with virtualbox vbox)"
|
||||
fi
|
||||
myconf="${myconf} $(use_with uml)"
|
||||
myconf="${myconf} $(use_with qemu)"
|
||||
myconf="${myconf} $(use_with qemu yajl)" # Use QMP over HMP
|
||||
myconf="${myconf} $(use_with phyp)"
|
||||
myconf="${myconf} --with-esx"
|
||||
myconf="${myconf} --with-vmware"
|
||||
|
||||
## additional host drivers
|
||||
myconf="${myconf} $(use_with virt-network network)"
|
||||
myconf="${myconf} --with-storage-fs"
|
||||
myconf="${myconf} $(use_with lvm storage-lvm)"
|
||||
myconf="${myconf} $(use_with iscsi storage-iscsi)"
|
||||
myconf="${myconf} $(use_with parted storage-disk)"
|
||||
myconf="${myconf} $(use_with lvm storage-mpath)"
|
||||
myconf="${myconf} $(use_with rbd storage-rbd)"
|
||||
myconf="${myconf} $(use_with numa numactl)"
|
||||
myconf="${myconf} $(use_with numa numad)"
|
||||
myconf="${myconf} $(use_with selinux)"
|
||||
myconf="${myconf} $(use_with fuse)"
|
||||
|
||||
# udev for device support details
|
||||
myconf="${myconf} $(use_with udev)"
|
||||
|
||||
# linux capability support so we don't need privileged accounts
|
||||
myconf="${myconf} $(use_with caps capng)"
|
||||
|
||||
## auth stuff
|
||||
myconf="${myconf} $(use_with policykit polkit)"
|
||||
myconf="${myconf} $(use_with sasl)"
|
||||
|
||||
# network bits
|
||||
myconf="${myconf} $(use_with macvtap)"
|
||||
myconf="${myconf} $(use_with pcap libpcap)"
|
||||
myconf="${myconf} $(use_with vepa virtualport)"
|
||||
myconf="${myconf} $(use_with firewalld)"
|
||||
|
||||
## other
|
||||
myconf="${myconf} $(use_enable nls)"
|
||||
myconf="${myconf} $(use_with python)"
|
||||
|
||||
# user privilege bits fir qemu/kvm
|
||||
if use caps; then
|
||||
myconf="${myconf} --with-qemu-user=qemu"
|
||||
myconf="${myconf} --with-qemu-group=qemu"
|
||||
else
|
||||
myconf="${myconf} --with-qemu-user=root"
|
||||
myconf="${myconf} --with-qemu-group=root"
|
||||
fi
|
||||
|
||||
# audit support
|
||||
myconf="${myconf} $(use_with audit)"
|
||||
|
||||
## stuff we don't yet support
|
||||
myconf="${myconf} --without-netcf"
|
||||
|
||||
# we use udev over hal
|
||||
myconf="${myconf} --without-hal"
|
||||
|
||||
# locking support
|
||||
myconf="${myconf} --without-sanlock"
|
||||
|
||||
# systemd unit files
|
||||
use systemd && myconf="${myconf} --with-init-script=systemd"
|
||||
|
||||
# this is a nasty trick to work around the problem in bug
|
||||
# #275073. The reason why we don't solve this properly is that
|
||||
# it'll require us to rebuild autotools (and we don't really want
|
||||
# to do that right now). The proper solution has been sent
|
||||
# upstream and should hopefully land in 0.7.7, in the mean time,
|
||||
# mime the same functionality with this.
|
||||
case ${CHOST} in
|
||||
*cygwin* | *mingw* )
|
||||
;;
|
||||
*)
|
||||
ac_cv_prog_WINDRES=no
|
||||
;;
|
||||
esac
|
||||
|
||||
econf \
|
||||
${myconf} \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--with-remote \
|
||||
--localstatedir=/var
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Restore gnulib's config.sub and config.guess
|
||||
# bug #377279
|
||||
(cd .gnulib && git reset --hard > /dev/null)
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Explicitly allow parallel build of tests
|
||||
export VIR_TEST_DEBUG=1
|
||||
HOME="${T}" emake check || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install \
|
||||
DESTDIR="${D}" \
|
||||
HTML_DIR=/usr/share/doc/${PF}/html \
|
||||
DOCS_DIR=/usr/share/doc/${PF} \
|
||||
EXAMPLE_DIR=/usr/share/doc/${PF}/examples \
|
||||
SYSTEMD_UNIT_DIR="$(systemd_get_unitdir)" \
|
||||
|| die "emake install failed"
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r4" libvirtd || die
|
||||
|
||||
keepdir /var/lib/libvirt/images
|
||||
|
||||
use python && python_optimize
|
||||
|
||||
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
|
||||
|
||||
# We really don't want to use or support old PolicyKit cause it
|
||||
# screws with the new polkit integration
|
||||
if has_version sys-auth/policykit; then
|
||||
rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
|
||||
fi
|
||||
|
||||
# Only sysctl files ending in .conf work
|
||||
dodir /etc/sysctl.d
|
||||
mv "${D}"/usr/lib/sysctl.d/libvirtd.conf "${D}"/etc/sysctl.d/libvirtd.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# support for dropped privileges
|
||||
if use qemu; then
|
||||
fperms 0750 "${EROOT}/var/lib/libvirt/qemu"
|
||||
fperms 0750 "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if use caps && use qemu; then
|
||||
fowners -R qemu:qemu "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R qemu:qemu "${EROOT}/var/cache/libvirt/qemu"
|
||||
elif use qemu; then
|
||||
fowners -R root:root "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R root:root "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if ! use policykit; then
|
||||
elog "To allow normal users to connect to libvirtd you must change the"
|
||||
elog "unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if use caps && use qemu; then
|
||||
elog "libvirt will now start qemu/kvm VMs with non-root privileges."
|
||||
elog "Ensure any resources your VMs use are accessible by qemu:qemu"
|
||||
fi
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpacpi-bat/tpacpi-bat-1.0.ebuild,v 1.2 2013/01/11 22:39:50 ottxor Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpacpi-bat/tpacpi-bat-1.0-r1.ebuild,v 1.1 2013/09/21 00:49:05 ottxor Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.59.ebuild,v 1.1 2013/09/20 20:04:25 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="http://byobu.co"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/newt[${PYTHON_USEDEP}]
|
||||
screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
|
||||
docompress -x /usr/share/doc/${PN}
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST calibre-1.2.0.tar.xz 29652528 SHA256 d27fdbe981620aa63f5c70909c63a3a7b747ced1da2ee7065879f07b8a75ca40 SHA512 11f6550ae9cce8bb4fbe47d2c715376d2ae3e3651e21016409f131db8abae0c7bf7c8c5d1d30ee25d1726ddf44089b13f9b404468700a6f74c40c0ba9fa513bd WHIRLPOOL 3b10a4f52ca8e976ddc3c240a3d5ece937603572a2d70d73afe6599bb99adad7f08d3402320e00e2532bed85b3c06acb734b12ff6c626278f4934f56aa7c5528
|
||||
DIST calibre-1.3.0.tar.xz 29738972 SHA256 eca13b9f43bbf115c88584e3cf7c028f9290e99ea25a31f6cb79f3d0dd4f1a15 SHA512 26686f7fa26f4199b0189fb55ba2c4de0a7c329d25f822dfbf7e5288b8e4b22eae2ae9ca7241865bef09d676040b62c64e3dad670fdba70b9569dc805a7dabeb WHIRLPOOL 8dda48eff7e385a68353bfabe737188fb03f1fb2d17cecf86b172eb56c50cd4f2f0c87892fd8cd1601a88bd334c0ae83369fae72831a84411318d3b3bf1b3af4
|
||||
DIST calibre-1.4.0.tar.xz 29768868 SHA256 7ef87afd02a0c826f3d443f1f80fd77374c89eeb85a3fc6f39ab1cbebdec5f43 SHA512 5ff93e195ae63fe32934ce475e9eccacb7903f57dc31cb13790b4160a5e5e9ab6b77ee7b08920766aa5d8059eb2c202791d493ed57067ecfaa60aaae05870b73 WHIRLPOOL c3e200d8c0db2f6f79f1579d3385f3ba870b249b58b3d0af81d18cf33594bd96013381e9fa1700468eb758584d2871272955804cc22847c4a14d87f15d0f805c
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST command-t-1.3.1.tar.bz2 24190 SHA256 920dd603fa940ee43277a9a36b3c7c69cadf17b19bb82a8faa34cc9b2cd33faa SHA512 05dc813e814564ac260ebef63ac781b6c3c9f88c94bea35f3a088cfefc26fed21b0fccc323df12684e69a0f876b9bcd3d76dcf52fb328f55d22bcada8b188b6c WHIRLPOOL acec78802f54949b6b3761d516b74b601852d73f3add4ce92c7095149707b18fef97d40137bf87e0d9399e8f5f3d77e8eaf6a5e2152fc403d05981bcc227e8d4
|
||||
DIST command-t-1.4.tar.bz2 26328 SHA256 9068775e016a56b1a77d9352002e891a4f44ffa24f7a7d35e97a321ed7b5723a SHA512 5adb7a68de085f3cec20ff96f1259a1741ca1df92f334c1987dd822d35a3ccca7624d089bfdd8742350e95cff1c1bf438be5444a8fcb227789e26aae1f9e41ea WHIRLPOOL c3868498f8cdd59fd47d466e5bcbd574361dfdc9a682d616c431e0215578e5fdc482e3129625e5133e9e8bdd59840d2c12b8535bd57d0348b0e88821537017d5
|
||||
DIST command-t-1.5.tar.bz2 27494 SHA256 ddffdc1fadd0128523ac564645de544bcb9428ee4ad1236985d045ecd35866bb SHA512 d7ff149a4ba62e7dbc121db48a11e0de4f44788e677c56e9045ad48144f931ce8801d8ed83fbd69baf78b2afa61445f5f0e54c581c1451cdae4bbaaed2758bf5 WHIRLPOOL f2b22d690a72eb0c020563b1706c577bb43e62ce7163730d7155d0e0430e2e8a502a4c6cc43ce9b17de671da17bfc0068dfa80110738f957512b86791490e264
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/command-t/command-t-1.5.ebuild,v 1.1 2013/09/20 16:08:37 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
USE_RUBY="ruby18 ruby19 ruby20"
|
||||
|
||||
inherit vim-plugin ruby-ng
|
||||
|
||||
DESCRIPTION="vim plugin: fast file navigation for vim"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=3025
|
||||
https://wincent.com/products/command-t"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
||||
|
||||
RDEPEND="|| ( app-editors/vim[ruby] app-editors/gvim[ruby] )"
|
||||
|
||||
each_ruby_configure() {
|
||||
cd ruby/${PN}
|
||||
${RUBY} extconf.rb || die "extconf.rb failed"
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
cd ruby/${PN}
|
||||
emake V=1
|
||||
rm *.o *.c *.h *.log extconf.rb depend Makefile || die
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
local sitelibdir=$(ruby_rbconfig_value "sitelibdir")
|
||||
insinto ${sitelibdir}/${PN}
|
||||
doins -r ruby/${PN}/*
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
rm -r ruby || die
|
||||
vim-plugin_src_install
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-init-scripts/mysql-init-scripts-2.0_pre1-r5.ebuild,v 1.1 2013/09/19 08:46:40 mgorny Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-init-scripts/mysql-init-scripts-2.0_pre1-r6.ebuild,v 1.1 2013/09/21 14:43:59 pacho Exp $
|
||||
|
||||
inherit systemd
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- a/src/test/java/jnr/ffi/ObjectReferenceManagerTest.java
|
||||
+++ b/src/test/java/jnr/ffi/ObjectReferenceManagerTest.java
|
||||
@@ -35,7 +35,7 @@
|
||||
Pointer ptr = referenceManager.add(bar);
|
||||
Pointer ptr2 = referenceManager.add(bar2);
|
||||
assertNotSame(ptr, ptr2);
|
||||
- assertNotEquals(ptr, ptr2);
|
||||
+ assertTrue(!ptr.equals(ptr2));
|
||||
assertSame(bar, referenceManager.get(ptr));
|
||||
assertSame(bar2, referenceManager.get(ptr2));
|
||||
}
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jnr-ffi/jnr-ffi-1.0.6.ebuild,v 1.1 2013/09/21 12:25:53 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 vcs-snapshot
|
||||
|
||||
DESCRIPTION="An abstracted interface to invoking native functions from java"
|
||||
HOMEPAGE="https://github.com/jnr/jnr-ffi"
|
||||
SRC_URI="https://github.com/jnr/${PN}/tarball/${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 LGPL-3 )"
|
||||
SLOT="1"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/jffi:1.2
|
||||
dev-java/jnr-x86asm:1.0
|
||||
dev-java/asm:4"
|
||||
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.5"
|
||||
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.5
|
||||
test? (
|
||||
dev-java/ant-junit:0
|
||||
>=dev-java/junit-4.8:4
|
||||
)"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die
|
||||
|
||||
epatch "${FILESDIR}"/${P}-junit48.patch
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
JAVA_ANT_CLASSPATH_TAGS="${JAVA_ANT_CLASSPATH_TAGS} javadoc"
|
||||
JAVA_ANT_ENCODING="UTF-8"
|
||||
|
||||
EANT_GENTOO_CLASSPATH="asm-4,jffi-1.2,jnr-x86asm-1.0"
|
||||
EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}"
|
||||
|
||||
EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4"
|
||||
|
||||
src_test() {
|
||||
# Fails, upstream pom has ignore test failures enabled.
|
||||
rm -v src/test/java/jnr/ffi/StringArrayTest.java || die
|
||||
|
||||
# build native test library
|
||||
emake BUILD_DIR=build -f libtest/GNUmakefile
|
||||
|
||||
_JAVA_OPTIONS="-Djnr.ffi.library.path=build" \
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar target/${PN}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src/main/java/*
|
||||
}
|
@ -0,0 +1,250 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/scala/scala-2.10.2-r1.ebuild,v 1.1 2013/09/20 23:17:14 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc examples source"
|
||||
WANT_ANT_TASKS="ant-nodeps"
|
||||
EANT_TEST_TARGET="test.suite"
|
||||
|
||||
inherit eutils check-reqs java-pkg-2 java-ant-2 versionator
|
||||
|
||||
MY_P="${PN}-sources-${PV}"
|
||||
|
||||
# creating the binary:
|
||||
# JAVA_PKG_FORCE_VM="$available-1.6" USE="doc examples source" ebuild scala-*.ebuild compile
|
||||
# cd $WORDKIR
|
||||
# fix dist/latest link.
|
||||
# tar -cjf $DISTDIR/scala-$PN-gentoo-binary.tar.bz2 ${MY_P}/dists ${MY_P}/docs/TODO
|
||||
|
||||
# in the pullJarFiles function in tools/binary-repo-lib.sh it executes find commands
|
||||
# to search for .desired.sha1 files, which contain sha1 hashes that are appended
|
||||
# to ${BURI} along with the subdirectory and filename to form the list of jar files
|
||||
# listed in SRC_URI.
|
||||
|
||||
BURI="http://repo.typesafe.com/typesafe/scala-sha-bootstrap/org/scala-lang/bootstrap"
|
||||
|
||||
declare -a JURI=(${BURI}/8bdac1cdd60b73ff7e12fd2b556355fa10343e2d/lib/scala-library-src.jar \
|
||||
${BURI}/ddd7d5398733c4fbbb8355c049e258d47af636cf/lib/forkjoin.jar \
|
||||
${BURI}/d48cb950ceded82a5e0ffae8ef2c68d0923ed00c/lib/msil.jar \
|
||||
${BURI}/d229f4c91ea8ab1a81559b5803efd9b0b1632f0b/lib/scala-reflect-src.jar \
|
||||
${BURI}/3fc1e35ca8c991fc3488548f7a276bd9053c179d/lib/ant/ant-dotnet-1.0.jar \
|
||||
${BURI}/2c61d6e9a912b3253194d5d6d3e1db7e2545ac4b/lib/ant/vizant.jar \
|
||||
${BURI}/7b456ca6b93900f96e58cc8371f03d90a9c1c8d1/lib/ant/ant.jar \
|
||||
${BURI}/943cd5c8802b2a3a64a010efb86ec19bac142e40/lib/ant/ant-contrib.jar \
|
||||
${BURI}/7e50e3e227d834695f1e0bf018a7326e06ee4c86/lib/ant/maven-ant-tasks-2.1.1.jar \
|
||||
${BURI}/cfa3ee21f76cd5c115bd3bc070a3b401587bafb5/lib/scala-compiler-src.jar \
|
||||
${BURI}/1e0e39fae15b42e85998740511ec5a3830e26243/lib/scala-library.jar \
|
||||
${BURI}/8acc87f222210b4a5eb2675477602fc1759e7684/lib/fjbg.jar \
|
||||
${BURI}/288f47dbe1002653e030fd25ca500b9ffe1ebd64/lib/scala-reflect.jar \
|
||||
${BURI}/a5261e70728c1847639e2b47d953441d0b217bcb/lib/jline.jar \
|
||||
${BURI}/d54b99f215d4d42b3f0b3489fbb1081270700992/lib/scala-compiler.jar \
|
||||
${BURI}/02fe2ed93766323a13f22c7a7e2ecdcd84259b6c/test/files/lib/annotations.jar \
|
||||
${BURI}/b1ec8a095cec4902b3609d74d274c04365c59c04/test/files/lib/genericNest.jar \
|
||||
${BURI}/981392dbd1f727b152cd1c908c5fce60ad9d07f7/test/files/lib/enums.jar \
|
||||
${BURI}/cd33e0a0ea249eb42363a2f8ba531186345ff68c/test/files/lib/nest.jar \
|
||||
${BURI}/be8454d5e7751b063ade201c225dcedefd252775/test/files/lib/methvsfield.jar \
|
||||
${BURI}/b6f4dbb29f0c2ec1eba682414f60d52fea84f703/test/files/lib/scalacheck.jar \
|
||||
${BURI}/e737b123d31eede5594ceda07caafed1673ec472/test/files/codelib/code.jar \
|
||||
${BURI}/1b11ac773055c1e942c6b5eb4aabdf02292a7194/test/files/speclib/instrumented.jar \
|
||||
${BURI}/a1883f4304d5aa65e1f6ee6aad5900c62dd81079/tools/push.jar)
|
||||
|
||||
DESCRIPTION="The Scala Programming Language"
|
||||
HOMEPAGE="http://www.scala-lang.org/"
|
||||
SRC_URI="!binary?
|
||||
( https://github.com/scala/scala/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
${JURI[@]}
|
||||
http://dev.gentoo.org/~gienah/snapshots/${P}-maven-deps.tar.gz
|
||||
)
|
||||
binary? ( http://dev.gentoo.org/~tomwij/files/dist/${P}-gentoo-binary.tar.bz2 )"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-macos"
|
||||
|
||||
IUSE="binary emacs"
|
||||
|
||||
COMMON_DEP="dev-java/ant-core:0
|
||||
dev-java/bndlib:0
|
||||
dev-java/hawtjni-runtime:0
|
||||
dev-java/junit:4"
|
||||
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.7.0
|
||||
<virtual/jdk-1.8.0
|
||||
java-virtuals/jdk-with-com-sun:0
|
||||
!binary? (
|
||||
dev-java/ant-contrib:0
|
||||
)
|
||||
app-arch/xz-utils:0"
|
||||
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.7
|
||||
!dev-java/scala-bin:0"
|
||||
|
||||
PDEPEND="emacs? ( app-emacs/scala-mode:0 )"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
CHECKREQS_MEMORY="1532M"
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-2_pkg_setup
|
||||
|
||||
if ! use binary; then
|
||||
debug-print "Checking for sufficient physical RAM"
|
||||
|
||||
ewarn "This package can fail to build with memory allocation errors in some cases."
|
||||
ewarn "If you are unable to build from sources, please try USE=binary"
|
||||
ewarn "for this package. See bug #181390 for more information."
|
||||
|
||||
check-reqs_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if use binary ; then
|
||||
mkdir -p "${S}" || die
|
||||
cd "${S}" || die
|
||||
fi
|
||||
|
||||
# Unpack tar files only.
|
||||
for f in ${A} ; do
|
||||
[[ ${f} == *".tar."* ]] && unpack ${f}
|
||||
done
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
java-pkg_getjars ant-core,bndlib,hawtjni-runtime,junit-4
|
||||
|
||||
if ! use binary; then
|
||||
local j
|
||||
for j in "${JURI[@]}"
|
||||
do
|
||||
cp -p "${DISTDIR}/${j##*/}" "${S}/${j#${BURI}/*/}" || die
|
||||
done
|
||||
# gentoo patch (by gienah) to stop it calling git log in the build
|
||||
epatch "${FILESDIR}/${PN}-2.10.2-no-git.patch"
|
||||
if has_version ">=virtual/jdk-1.7.0"; then
|
||||
# This patch bumped to 2.10.2: http://pkgs.fedoraproject.org/cgit/scala.git/tree/scala-2.10.0-java7.patch
|
||||
epatch "${FILESDIR}/${PN}-2.10.2-jdk-1.7-swing.patch"
|
||||
fi
|
||||
# https://issues.scala-lang.org/browse/SI-7455
|
||||
epatch "${FILESDIR}/${PN}-2.10.2-jdk-1.7-swing-SI-7455.patch"
|
||||
# Note: to bump scala, some things to try are:
|
||||
# 1. update all the sha1s in JURI
|
||||
# 2. comment out applying the maven-deps patch and all the stuff here up to and including the sed of build.xml
|
||||
# 3. try emerge scala, it will likely download more stuff in src_compile to ${WORDIR}/.m2
|
||||
# 4. tar up the stuff in ${WORDIR}/.m2 and change the ${P}-maven-deps.tar.gz in SRC_URI to point to it.
|
||||
# 5. uncomment the maven-deps patch apply and all the stuff up to and including the sed of build.xml
|
||||
# 6. the hash in ${P}-no-git.patch should be updated by searching for hash matching the scala release
|
||||
# tag, so that the source code hyper-links in the scala documentation will point to the correct version of
|
||||
# the source code.
|
||||
# Bug 482192
|
||||
epatch "${FILESDIR}/${PN}-2.10.2-maven-deps.patch"
|
||||
# we have $(java-config -p bndlib) in portage, but not bnd.
|
||||
local bnd_classpath=""
|
||||
for i in $(find "${WORKDIR}/.m2/repository/biz/aQute/bnd" -type f -name *.jar -print)
|
||||
do
|
||||
if [ -z "${bnd_classpath}" ]
|
||||
then
|
||||
bnd_classpath="${i}"
|
||||
else
|
||||
bnd_classpath="${bnd_classpath}:${i}"
|
||||
fi
|
||||
done
|
||||
bnd_classpath="${bnd_classpath}:$(java-config -p bndlib)"
|
||||
|
||||
# pax runner appears to only be used in the tests
|
||||
local paxrunner_classpath=""
|
||||
for i in $(find "${WORKDIR}/.m2/repository/org/ops4j/" -type f -name *.jar -print)
|
||||
do
|
||||
if [ -z "${paxrunner_classpath}" ]
|
||||
then
|
||||
paxrunner_classpath="${i}"
|
||||
else
|
||||
paxrunner_classpath="${paxrunner_classpath}:${i}"
|
||||
fi
|
||||
done
|
||||
paxrunner_classpath="${paxrunner_classpath}:$(java-config -p junit-4)"
|
||||
|
||||
# DiffUtils does not appear to be in portage. It is placed in ${partest.extras.classpath} and
|
||||
# copied to ${build-pack.dir}/lib in ${PN}-2.10.2-maven-deps.patch.
|
||||
local diffutils_classpath=""
|
||||
for i in $(find "${WORKDIR}/.m2/repository/com/googlecode/java-diff-utils" -type f -name *.jar -print)
|
||||
do
|
||||
if [ -z "${diffutils_classpath}" ]
|
||||
then
|
||||
diffutils_classpath="${i}"
|
||||
else
|
||||
diffutils_classpath="${diffutils_classpath}:${i}"
|
||||
fi
|
||||
done
|
||||
|
||||
sed -e "s@BNDLIB_CLASSPATH@${bnd_classpath}@" \
|
||||
-e "s@PAX_RUNNER_CLASSPATH@${paxrunner_classpath}@" \
|
||||
-e "s@DIFFUTILS_CLASSPATH@${diffutils_classpath}@" \
|
||||
-i "${S}/build.xml" \
|
||||
|| die "could not sed classpaths in build.xml"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if ! use binary; then
|
||||
#unset ANT_OPTS as this is set in the build.xml
|
||||
#sets -X type variables which might come back to bite me
|
||||
unset ANT_OPTS
|
||||
|
||||
# reported in bugzilla that multiple launches use less resources
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=282023
|
||||
eant all.clean
|
||||
eant -Djavac.args="-encoding UTF-8" -Djava6.home=${JAVA_HOME} \
|
||||
-Duser.home="${WORKDIR}" build-opt
|
||||
eant dist.done
|
||||
else
|
||||
einfo "Skipping compilation, USE=binary is set."
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd dists/latest || die
|
||||
|
||||
local SCALADIR="/usr/share/${PN}/"
|
||||
|
||||
exeinto "${SCALADIR}/bin"
|
||||
doexe $(find bin/ -type f ! -iname '*.bat')
|
||||
|
||||
#sources are .scala so no use for java-pkg_dosrc
|
||||
if use source; then
|
||||
dodir "${SCALADIR}/src"
|
||||
insinto "${SCALADIR}/src"
|
||||
doins src/*-src.jar
|
||||
fi
|
||||
|
||||
java-pkg_dojar lib/*.jar
|
||||
|
||||
doman man/man1/*.1
|
||||
|
||||
#docs and examples are not contained in the binary tgz anymore
|
||||
if ! use binary; then
|
||||
local docdir="doc/${PN}-devel-docs"
|
||||
dodoc doc/README ../../docs/TODO
|
||||
if use doc; then
|
||||
java-pkg_dojavadoc "${docdir}/api"
|
||||
dohtml -r "${docdir}/tools"
|
||||
fi
|
||||
|
||||
use examples && java-pkg_doexamples "${docdir}/examples"
|
||||
fi
|
||||
|
||||
dodir /usr/bin
|
||||
for b in $(find bin/ -type f ! -iname '*.bat'); do
|
||||
local _name=$(basename "${b}")
|
||||
dosym "/usr/share/${PN}/bin/${_name}" "/usr/bin/${_name}"
|
||||
done
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST django-ldapdb-0.1.0_p20120424.tar.bz2 12627 SHA256 ff98287da2b564cea7d02b8757b60b1f2366da09a7d5abf736098d249795047a SHA512 48b0319812e1731971d1d0ac0991e049b7e614a3c1d7e86fcbb47707b0c0317bd6a6f8ff414850d57175fb1c8c095521bfd20feaf4c5aa38b0af395471f3e92d WHIRLPOOL ddb31df8f5771e19e5e0a43ed8839eeafac7ac24f012ab7a92d9b30a89556d525ad2d79c2a428308a9ce616e4057dde15257acec32eba0ad20d4cb0ae5f49503
|
||||
DIST django-ldapdb-0.1.0_p20130712.tar.gz 14003 SHA256 c2378a2307cdb5304181afc4ab2e5ad46783235c34ba5c3e65c21f302884dfaa SHA512 0b2d045260e5b2d322db11d54e69c8770d12aa680e1a885e0a8485fe6ba55d18df84fc51a001c1a6c07c256bc11d2861ae2881af4437b1f75c32714d7c7a116d WHIRLPOOL 379d10a363ee370552df7170e7c1921d31f2b54ce89ea54527b9bec34c8346b534604e710254e316bdf3cf03a16e22dc2b498a8221c9512dd86fc49cc9d4735d
|
||||
DIST django-ldapdb-0.1.0_p20130921.tar.gz 16858 SHA256 48d8c08510a4a9d135c78fa85162c32b74702d2a1a6dcdfd25ab69ba5ee8402b SHA512 1cffa04ef9f99f513b39a4c3d23e79a1495ce9120f72f12a8b4736b7713eb1ce1bf9e95e86c19340043e2b29db16d9a3fb4644351625d72de3c2fb5a61297f83 WHIRLPOOL 00148639e7b8ffcc7fdb41ba653ac5b611d5bc1541c936ccbe3c6a3b7eecc049374a70f6bc4215e293ad36b4928eaee1491af75ec215175dc1b7b67e38e6365f
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-ldapdb/django-ldapdb-0.1.0_p20130921.ebuild,v 1.1 2013/09/21 08:56:18 tampakrap Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An LDAP database backend for Django"
|
||||
HOMEPAGE="https://github.com/jlaine/django-ldapdb"
|
||||
SRC_URI="http://dev.gentoo.org/~tampakrap/tarballs/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples test"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/python-ldap[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/mockldap[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST mockldap-0.1.1.tar.gz 19898 SHA256 491becfe6b8c67ad47884afce610cf08f96c49f61e89e2c899b48e4d82183953 SHA512 28804e21dcc3c23e9057a2bbf6cc1867367589b0e21194a633168b67f6b7a32d7629a83c4ad2d7542c5ee30da69aa670a3c319e29eff5643da032b0e9cc17709 WHIRLPOOL 9e8b0c1568b814dd18604ffa9f250a4c465c0ac0526b18c12e235d93aa7553b2c5db1555436dd481d2b2476ad9fb98ac3a4d966d39b241c3994d02d2047c456d
|
||||
DIST mockldap-0.1.2.tar.gz 20036 SHA256 ac5fbf9f9ef6c3031e654e9ffaca4ee04999d0b8249b0ddc7a045a1fbbabeb5d SHA512 3b16807a5605b62f600194baeefeaba7d4a1e351889b44987f9bb57a2013f1dc93d8b10aec26fc5edbe3eecad65612029041e8b902689bbb5fea7968038c308f WHIRLPOOL ff4ee46e4cf5610fdbf006aab5186db5f3b996f9430520f1a8f5fe40097b953476ad4bf045e66e2e1a83b83b4c5b76f4e6091ad216d18f8a3f7adcbb80cf8236
|
||||
DIST mockldap-0.1.tar.gz 11530 SHA256 666d0fec93d94187a0fdea2d48f691c28d2841d631402039c373b32a53a35cf0 SHA512 295ff3c0c298b03978276c54315b1ae755bb82d79f96379df9521bca7f96c216fc2885c8c351887b61803d5022370f946af4a4c1dce9876fb52a1b8aae0ec980 WHIRLPOOL 78050fa67c612b4899fa351d9e95b6402160a28cb9c0d60f7a82cffb36780edcbca28d529f0334cfcb2aa5aaeefa7adcee8b336afb4f97a474df1c4e6f95d219
|
||||
DIST mockldap-0.1.4.tar.gz 20736 SHA256 2f6fa74f6d805945a2f3b49d2e579b0083f89969e5d72069cea394eb9c0295be SHA512 d698623576ff24c27bec634fcf439116d277715e6a787d54a0186a3f08ad18c63fcabf09c12a63118c6565f527da846f64fe9f61e7e397ca6c1472ccff200663 WHIRLPOOL 4aa830cfef4a21d4a4b9ac86379814ad346c284179109b8623a883dbf2bf957f5ea738f102fc0ce0b266e3dd5ffb4515a0dbbec56b527d1d9fbfd6a9e539bf1f
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/mockldap/mockldap-0.1.2.ebuild,v 1.1 2013/09/19 15:52:04 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A simple mock implementation of python-ldap"
|
||||
HOMEPAGE="https://bitbucket.org/psagers/mockldap/ https://pypi.python.org/pypi/mockldap"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="dev-python/funcparserlib[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/python-ldap[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/passlib[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
pkg_postinst() {
|
||||
if ! has_version dev-python/passlib; then
|
||||
elog "Please install dev-python/passlib for hashed password support."
|
||||
fi
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/mockldap/mockldap-0.1.ebuild,v 1.1 2013/09/08 10:11:10 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A simple mock implementation of python-ldap"
|
||||
HOMEPAGE="https://bitbucket.org/psagers/mockldap/ https://pypi.python.org/pypi/mockldap"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/funcparserlib[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/python-ldap[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/passlib[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! has_version dev-python/passlib; then
|
||||
elog "Please install dev-python/passlib for hashed password support."
|
||||
fi
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<maintainer>
|
||||
<email>ercpe@gentoo.org</email>
|
||||
<name>Johann Schmitz</name>
|
||||
</maintainer>
|
||||
<herd>python</herd>
|
||||
<maintainer>
|
||||
<email>ercpe@gentoo.org</email>
|
||||
<name>Johann Schmitz</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1 +1,2 @@
|
||||
DIST patchutils-0.3.2.tar.bz2 160193 SHA256 fdeb1a571b42faeafbc6bcd999717efca256601a1aa2b4b2f34ec93b6977ae21 SHA512 217354f69f1afbe5e5de64a7901eb0c82823696567226ebc2e077167ccfe6dfb85969f3961c631701fc38bc4635c4caf7fb0920eaa85e0ea2cc3a88d844bc1e3 WHIRLPOOL 3b67cfc1284c3e7c24d5cc201a52c9df14a6cb8a7d5fe79bd7d0a1e8d8d32cc018c28e9d7fac67e95d37973eb678ade82614e55108b8fb92cf48c8022eb2c561
|
||||
DIST patchutils-0.3.3.tar.xz 156328 SHA256 91f4e8451b2efcac5d40c966e42c175803450f0de94c926bfecc12c90070ad3c SHA512 4ec085078e9ae2e878dc10fbfea5974d9772716aef5d8e130a0023ceaa26640bccfaf1022c8153923b38230b36c8d4dddf4aaa674076c733bb1277895b63a268 WHIRLPOOL b4db67f2682e3bd4a37abacaa56477f7bfe79210469243c572ebd870e0e19cb54e51d6be79b737210e9de685d09470ce2d2db0452fe4b8f26f72f06a9cb6b3f8
|
||||
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/patchutils/patchutils-0.3.3.ebuild,v 1.1 2013/09/20 19:11:48 robbat2 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="A collection of tools that operate on patch files"
|
||||
HOMEPAGE="http://cyberelk.net/tim/patchutils/"
|
||||
SRC_URI="http://cyberelk.net/tim/data/patchutils/stable/${P}.tar.xz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
# The testsuite makes use of gendiff(1) that comes from rpm, thus if
|
||||
# the user wants to run tests, it should install that too.
|
||||
DEPEND="test? ( app-arch/rpm )"
|
@ -1,2 +1,2 @@
|
||||
DIST opensmtpd-201308201232p1.tar.gz 780516 SHA256 419fb0f2109ce4c155919cac163b8ac3b50578d19b723caf946a76199b636dea SHA512 b9dc4884a9d930df2cbf4dc05880a12efb720c805383b97052dbdbee7a80be3c753f007123ac5ff08ff18f84675c43b497dd999144b6ccaeeb25395a418e5d68 WHIRLPOOL 4fa5d7288ab74530b959559d17eb8395b88c70bae7827df9249145a0c9d4a72d44f6cb8b77b9a612f0aed027335367765ff58aaa09ef5c12700063f940cedbff
|
||||
DIST opensmtpd-201309201537p1.tar.gz 787578 SHA256 af803c9233c89b1d4473a610dcb9bd83860ab7ef8f5be19462c52c11e5d1fd3d SHA512 c9cb7a9efe609f82ca416d40b66444a5e38c851bcd7286d6ea79d8bcd2ee4c295b49368e0e73bd4d5b8c08b6ceb31617157c9445b733399b495894de1848f9e7 WHIRLPOOL 92af9f1abc924750ce9b4ce7682b2c390d9f985439c19b8615d63d732fa685fb972676ac54b9165f2c4d81a84dd711ca1d04ee9ba93bb4d9756cd09a392644f8
|
||||
DIST opensmtpd-5.3.3p1.tar.gz 343733 SHA256 34f0e208e6fdde5c5c25bb11f468436c4d6148a8b640c32117869cad140b823c SHA512 8ea72773dca4f907d2b8285fc7abcd5c4c19ceb50b547cc4a217ec296a222f8134bfc4bc7707439b0c5d58b5354f92ebed65966179d7598c4793cad4370b087b WHIRLPOOL 1df185264da3edae4a1a1a56251af2a7e81dd1b4deabaf8d68f043beb16ca22488f775ff656dc8b84c3a3d024c0e4e67240f0c248edfb85bb2835290a28f12fe
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.3.3.201308201232_p1.ebuild,v 1.2 2013/08/30 19:06:18 pacho Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.3.3.201309201537_p1.ebuild,v 1.1 2013/09/20 19:22:00 zx2c4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,89 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.3.3_p1.ebuild,v 1.1 2013/06/05 16:59:27 zx2c4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib user flag-o-matic eutils pam toolchain-funcs autotools versionator
|
||||
|
||||
DESCRIPTION="Lightweight but featured SMTP daemon from OpenBSD"
|
||||
HOMEPAGE="http://www.opensmtpd.org/"
|
||||
MY_DP="${P}"
|
||||
MY_P="${P}"
|
||||
if [ $(get_last_version_component_index) -eq 4 ]; then
|
||||
MY_DP="${PN}-$(get_version_component_range 4-)"
|
||||
MY_P="${PN}-${PV/.$(get_version_component_range 4)}"
|
||||
fi
|
||||
SRC_URI="http://www.opensmtpd.org/archives/${MY_DP/_}.tar.gz"
|
||||
|
||||
LICENSE="ISC BSD BSD-1 BSD-2 BSD-4"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="pam sqlite +mta"
|
||||
|
||||
DEPEND="dev-libs/openssl
|
||||
sys-libs/zlib
|
||||
pam? ( virtual/pam )
|
||||
sys-libs/db
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
dev-libs/libevent
|
||||
!mail-mta/courier
|
||||
!mail-mta/esmtp
|
||||
!mail-mta/exim
|
||||
!mail-mta/mini-qmail
|
||||
!mail-mta/msmtp[mta]
|
||||
!mail-mta/netqmail
|
||||
!mail-mta/nullmailer
|
||||
!mail-mta/postfix
|
||||
!mail-mta/qmail-ldap
|
||||
!mail-mta/sendmail
|
||||
!mail-mta/ssmtp[mta]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P/_}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/build-warnings.patch
|
||||
epatch_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR
|
||||
AR="$(which "$AR")" econf \
|
||||
--with-privsep-user=smtpd \
|
||||
--with-filter-user=smtpf \
|
||||
--with-queue-user=smtpq \
|
||||
--with-privsep-path=/var/empty \
|
||||
--with-sock-dir=/var/run \
|
||||
--sysconfdir=/etc/opensmtpd \
|
||||
$(use_with sqlite experimental-sqlite) \
|
||||
$(use_with pam)
|
||||
#--with-lookup-user=smtpl will be available in the release after some point
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
newinitd "${FILESDIR}"/smtpd.initd smtpd
|
||||
use pam && newpamd "${FILESDIR}"/smtpd.pam smtpd
|
||||
if use mta ; then
|
||||
dodir /usr/sbin
|
||||
dosym /usr/sbin/smtpctl /usr/sbin/sendmail
|
||||
dosym /usr/sbin/smtpctl /usr/bin/sendmail
|
||||
dosym /usr/sbin/smtpctl /usr/$(get_libdir)/sendmail
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
enewgroup smtpd 25
|
||||
enewuser smtpd 25 -1 /var/empty smtpd
|
||||
enewgroup smtpf 251
|
||||
enewuser smtpf 251 -1 /var/empty smtpf
|
||||
enewgroup smtpq 252
|
||||
enewuser smtpq 252 -1 /var/empty smtpq
|
||||
|
||||
# For release after some point:
|
||||
#enewgroup smtpl 253
|
||||
#enewuser smtpl 253 -1 /var/empty smtpl
|
||||
}
|
@ -1,6 +1,8 @@
|
||||
DIST gmic_1.5.5.1.tar.gz 1689227 SHA256 3079b203f524bdf1736994abbd03d66d586d6fd2f0c0af98ad3ffe563fbd9613 SHA512 532e9f21692aa36872dbb2c9ca798ccac187b5fda02ca9d36f01ef28bfc104e43dec312afa448779282da52b1766ca0c3c645ccf962a938d55c53d72f366a8f4 WHIRLPOOL 18f8fbd6aff67dcbfa58fce59ac1ebf3856113084a238aa52fc03f24f16d1d4acd5e6d97c32813576094c48b4008fa616cd7be87ebd2c2eb11e7f89ea54b508e
|
||||
DIST gmic_1.5.5.2.tar.gz 1683717 SHA256 4e1ff3dcd7dc79dcc7f8ac92cae49951854aea283751a83e90b9510de972382d SHA512 a0f2175aef8d93fa56bbc923793d59c716399231afedf391fcb1a9525ac2397ccb6ce1a542928f5c08d12ebd06af26ac5aec17fe7ae0d4c04e215bfac4ca586e WHIRLPOOL d59d4ab55b904ade2da5ab9ffb29329894cd3d8c009d5ed9f039b989f737502085e352f3a315cf1f287c60004a054e58955b2a189235497f70d25d48c48a2851
|
||||
DIST gmic_1.5.6.1.tar.gz 2137616 SHA256 8399a97f4479a379d8e7fda6a0a73bde0ac120f781111b9ed8a2e28e5a3ed22f SHA512 3c3af5e071dc53c6f6971c494ceaec0d08a34ffc9595dea8c03c56be7ce6eb9dc4c0a91c49b93b01fc112192703aa0f53b2a859b855c4d5ab1f57ca22a45e0eb WHIRLPOOL 8071751c1e318e7aeac28a98c9a89e15008d5799422445cd9ca5e95c1ad9cbbd8ce1d703518a3f9ede5ed00d7deb5cf078a36d15122e4bf01d84069e20ab5321
|
||||
DIST gmic_1.5.7.1.tar.gz 2174947 SHA256 bc55fe0309c08fd4b4d97c37704db77965316c818c169ac573b8b12a5a44d42f SHA512 945e688fca9116cc53dafda63f7ec26bc0dd8c57e8fa9ae380f16c2b14086a2c1925327d71713d1e8249948d95b4f455b6bf217c1f1fa9c4ee8596cb81dcba62 WHIRLPOOL 088541176c84c6e6b4d25bc61ea68a87cd75ea60c9e2bd2a0d9080f32861bf1a014028d4a69bb1cc1d4e13ad84c8d1fd9757fefd4d302f7e7bcb60db1cf11616
|
||||
DIST gmic_reference-1.5.5.1.pdf.xz 15343940 SHA256 c8649d36b87c24743f3afb0f0b0cb03699d65b7eac86d5ee1c33e36ebb76e1e2 SHA512 becec9f9d7ba8b716eda85aab49c9d091cdbbf7e643911639b21a15e9c9b10e450316094a3c5f52b407c73ca31c4675a25dc318360716cbca7ac593d686b44dc WHIRLPOOL ecf048a48d18eb4f4f736621e0e6f08f98e4c9513ab27e4e323b889a40c694c4830312e8add94aa8de640de6b129b5d6158beff61f695cee59abff1130bd3a2b
|
||||
DIST gmic_reference-1.5.5.2.pdf.xz 15384132 SHA256 d0fd745ec708ccd4c63e817a9de20833bfa64c5d3365356bc680a2be05814e80 SHA512 eaeebef81d7df2ed98d52a0519161edba570ae1002d1cf9601f4dc672aef51a42a18a3d7c9b6a8c0872e16574d82586f9d080dad7ad68c151cd9ae3087156c1e WHIRLPOOL eb97ab3508d57313d257fe90f9dde0649b4787664ac17cde3e5fc354b2bf53eb1bcd5bd3c6cb79c92f69d80a4fa0b0a2a703f83fd3e4773844a243b0eaa146f4
|
||||
DIST gmic_reference-1.5.6.1.pdf.xz 15629240 SHA256 e5fbaf82a68f19fd5914c26fb3eb8fe4888b94508c2893658adc132d72289221 SHA512 45eee7d021ff071edadb89c355dd1a7906bf9dc2166a8401509b61059b6e1005a07ed087a8cc260959d7e204cbacc014064aa3bf9a5db7bf1fdc3812e18764c7 WHIRLPOOL 9ba89f40a1746b45be13659aa1dd4580607e4f9467841897e584a860715e1b033fecfc11a13d4886f4698b569b68bed268706f80b668cb4534e286b77837b03c
|
||||
DIST gmic_reference-1.5.7.1.pdf.xz 15847624 SHA256 b2fb780b70c29ca5ea1fca553a20878eaf57b97d4533a3d2de0f6659a3a7c9b4 SHA512 6028dab9f63a667137a35783b48f2b11d93e0259eaf55a18db1add071e793f88865f8170d1f03fcb0bcdffd44015cb21dc799fd4be95b037baaae1ef4813c835 WHIRLPOOL 05368539c8037331237c0abc5d1bf704d3f44d27ea25fd6975f2c9b8b006c4dff3510adabeb4fafbebcb5e78d9e02f866bb3564e62e8a4bc5aeb13782ef3726d
|
||||
|
@ -0,0 +1,124 @@
|
||||
--- gmic-1.5.7.1/src/Makefile
|
||||
+++ gmic-1.5.7.1/src/Makefile
|
||||
@@ -80,7 +80,7 @@
|
||||
|
||||
# Flags that are mandatory to compile 'gmic'.
|
||||
MANDATORY_CFLAGS += -Dgmic_build -I$(USR)/include
|
||||
-MANDATORY_LDFLAGS += -L$(USR)/lib
|
||||
+MANDATORY_LDFLAGS +=
|
||||
ifeq ($(IS_GCC),yes)
|
||||
MANDATORY_CFLAGS += -Wall -W
|
||||
MANDATORY_LDFLAGS += -lm
|
||||
@@ -88,15 +88,7 @@
|
||||
MANDATORY_CFLAGS+=$(IS_BETA_CFLAGS)
|
||||
|
||||
# Flags to enable debugging.
|
||||
-DEBUG_CFLAGS = -Dcimg_use_vt100 -Dcimg_verbosity=3 -g
|
||||
-
|
||||
-# Flags to enable optimizations.
|
||||
-ifeq ($(IS_GCC),yes)
|
||||
-OPT_CFLAGS = -O3 -mtune=generic # -fno-tree-pre # -ffast-math
|
||||
-endif
|
||||
-ifeq ($(CC),icc)
|
||||
-OPT_CFLAGS = -O3 -ipo -no-prec-div -override-limits
|
||||
-endif
|
||||
+DEBUG_CFLAGS = -Dcimg_use_vt100 -Dcimg_verbosity=3
|
||||
|
||||
# Flags to enable parallel processing.
|
||||
ifneq ($(OSTYPE),Darwin)
|
||||
@@ -110,14 +102,14 @@
|
||||
# (keep /usr/ dirname here since X11 is located in /usr/ on Mac too).
|
||||
# This requires the presence of the X11 include and library files.
|
||||
# (package 'libx11-dev' on Debian).
|
||||
-X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" -I/usr/X11R6/include #-Dcimg_use_xrandr
|
||||
-X11_LDFLAGS = -L/usr/X11R6/lib -lX11 -lpthread #-lXrandr
|
||||
+X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" #-Dcimg_use_xrandr
|
||||
+X11_LDFLAGS = -lX11 -lpthread #-lXrandr
|
||||
|
||||
# Flags to enable fast display, using XShm.
|
||||
# This requires the presence of the X11 extension include and library files.
|
||||
# (package 'libx11-dev' on Debian).
|
||||
XSHM_CFLAGS = -Dcimg_use_xshm
|
||||
-XSHM_LDFLAGS = -L$(USR)/X11R6/lib -lXext
|
||||
+XSHM_LDFLAGS = -lXext
|
||||
|
||||
# Flags to enable image display, using GDI32.
|
||||
# This requires the presence of the GDI32 include and library files.
|
||||
@@ -152,7 +144,7 @@
|
||||
# This requires the presence of the FFMPEG include and library files.
|
||||
# (packages 'libavcodec-dev', 'libavutil-dev', 'libavformat-dev' and 'libswscale-dev' on Debian).
|
||||
FFMPEG_CFLAGS = -Dcimg_use_ffmpeg -D__STDC_CONSTANT_MACROS -I$(USR)/include/libavcodec -I$(USR)/include/libavformat -I$(USR)/include/libswscale -I$(USR)/include/ffmpeg
|
||||
-FFMPEG_LDFLAGS = -lavcodec -lavformat -lswscale
|
||||
+FFMPEG_LDFLAGS = -lavcodec -lavformat -lavutil -lswscale
|
||||
|
||||
# Flags to enable native support for compressed .cimgz files, using the Zlib library.
|
||||
# This requires the presence of the Zlib include and library files.
|
||||
@@ -163,14 +155,8 @@
|
||||
# Flags to enable native support of webcams, using the OpenCV library.
|
||||
# This requires the presence of the OpenCV include and library files.
|
||||
# (package 'libcv3-2-dev' on Debian).
|
||||
-ifeq ($(OS),Darwin)
|
||||
OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include -I$(USR)/include/opencv
|
||||
OPENCV_LDFLAGS = `pkg-config opencv --libs` #-> Use this for OpenCV 2.2.0 !
|
||||
-else
|
||||
-OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include -I$(USR)/include/opencv
|
||||
-# OPENCV_LDFLAGS = -lcv -lhighgui
|
||||
-OPENCV_LDFLAGS = -lopencv_core -lopencv_highgui #-> Use this for OpenCV >= 2.2.0 !
|
||||
-endif
|
||||
|
||||
# Flags to enable native support of most classical image file formats, using the GraphicsMagick++ library.
|
||||
# This requires the presence of the GraphicsMagick++ include and library files.
|
||||
@@ -299,10 +285,10 @@
|
||||
endif
|
||||
|
||||
gimp:
|
||||
- $(MAKE) "CFLAGS=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_GIMP_LDFLAGS) $(OPT_LDFLAGS)" "STRIP_EXE=1" gmic_gimp
|
||||
+ $(MAKE) "CFLAGS+=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_GIMP_LDFLAGS) $(OPT_LDFLAGS)" gmic_gimp
|
||||
|
||||
lib:
|
||||
- $(MAKE) "CFLAGS=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_LIB_LDFLAGS) $(OPT_LDFLAGS)" gmic_lib
|
||||
+ $(MAKE) "CFLAGS+=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_LIB_LDFLAGS) $(OPT_LDFLAGS)" gmic_lib
|
||||
|
||||
zart: lib
|
||||
ifneq ($(OS),Darwin)
|
||||
@@ -322,10 +308,10 @@
|
||||
$(MAKE) "CFLAGS+=$(MINIMAL_UNIX_CFLAGS)" "LDFLAGS+=$(MINIMAL_UNIX_LDFLAGS)" gmic_minimal
|
||||
|
||||
linux:
|
||||
- $(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_UNIX_LDFLAGS)" "STRIP_EXE=1" gmic_gmic
|
||||
+ $(MAKE) "CFLAGS+=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_UNIX_LDFLAGS)" gmic_gmic
|
||||
|
||||
custom:
|
||||
- $(MAKE) "CFLAGS=$(CUST_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(CUST_UNIX_LDFLAGS)" "STRIP_EXE=1" gmic_gmic
|
||||
+ $(MAKE) "CFLAGS+=$(CUST_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(CUST_UNIX_LDFLAGS)" gmic_gmic
|
||||
|
||||
solaris:
|
||||
$(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_UNIX_LDFLAGS) -R$(USR)/X11R6/lib -lrt -lnsl -lsocket" "STRIP_EXE=1" gmic_gmic
|
||||
@@ -343,10 +329,9 @@
|
||||
gmic_lib.o: gmic.cpp gmic_def.h
|
||||
$(CC) -o gmic_lib.o -c gmic.cpp -fPIC $(CFLAGS) -Dgmic_float_only
|
||||
gmic_lib: gmic_lib.o
|
||||
- ar rcs libgmic.a gmic_lib.o
|
||||
+ $(AR) rcs libgmic.a gmic_lib.o
|
||||
ifneq ($(OS),Darwin)
|
||||
$(CC) -shared -Wl,-soname,libgmic.so.1 -o libgmic.so gmic_lib.o $(LDFLAGS)
|
||||
- $(CC) -o gmic_use_lib gmic_use_lib.cpp -L. -lgmic $(FFTW_LDFLAGS)
|
||||
else
|
||||
$(CC) -shared -o libgmic.so gmic_lib.o $(LDFLAGS)
|
||||
endif
|
||||
@@ -355,7 +340,6 @@
|
||||
$(CC) -o gmic_gimp.o -c gmic.cpp $(CFLAGS) -Dgmic_gimp -Dgmic_float_only
|
||||
gmic_gimp : gmic_gimp.o gmic_gimp.cpp
|
||||
$(CC) -o gmic_gimp gmic_gimp.cpp gmic_gimp.o `gimptool-2.0$(EXE) --cflags` $(CFLAGS) `gimptool-2.0$(EXE) --libs` $(LDFLAGS)
|
||||
- strip gmic_gimp$(EXE)
|
||||
|
||||
gmic_minimal: gmic.cpp
|
||||
$(CC) -o gmic gmic.cpp $(CFLAGS) -Dgmic_float_only -Dgmic_main $(LDFLAGS)
|
||||
@@ -380,7 +364,6 @@
|
||||
$(CC) -o gmic_double.o -c gmic.cpp $(CFLAGS) -Dgmic_split_compilation -Dgmic_double
|
||||
gmic_gmic: gmic_bool.o gmic_uchar.o gmic_char.o gmic_ushort.o gmic_short.o gmic_uint.o gmic_int.o gmic_float.o gmic_double.o gmic_def.h
|
||||
$(CC) -o gmic gmic_bool.o gmic_uchar.o gmic_char.o gmic_ushort.o gmic_short.o gmic_uint.o gmic_int.o gmic_float.o gmic_double.o $(LDFLAGS)
|
||||
- strip gmic$(EXE)
|
||||
|
||||
def:
|
||||
@echo "#ifndef gmic_gimp" > gmic_def.h
|
@ -0,0 +1,77 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/gmic-1.5.7.1.ebuild,v 1.2 2013/09/21 15:45:53 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs bash-completion-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="GREYC's Magic Image Converter"
|
||||
HOMEPAGE="http://gmic.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz
|
||||
doc? ( http://dev.gentoo.org/~radhermit/dist/gmic_reference-${PV}.pdf.xz )"
|
||||
|
||||
LICENSE="CeCILL-2 FDL-1.3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc ffmpeg fftw graphicsmagick jpeg opencv openexr png tiff X zlib"
|
||||
|
||||
RDEPEND="
|
||||
ffmpeg? ( virtual/ffmpeg )
|
||||
fftw? ( sci-libs/fftw:3.0[threads] )
|
||||
graphicsmagick? ( media-gfx/graphicsmagick )
|
||||
jpeg? ( virtual/jpeg )
|
||||
opencv? ( >=media-libs/opencv-2.3.1a-r1 )
|
||||
openexr? (
|
||||
media-libs/ilmbase
|
||||
media-libs/openexr
|
||||
)
|
||||
png? ( media-libs/libpng )
|
||||
tiff? ( media-libs/tiff )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
)
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-arch/xz-utils )"
|
||||
|
||||
S=${WORKDIR}/${P}/src
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.5.7.1-makefile.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.5.2.2-ffmpeg.patch
|
||||
|
||||
for i in ffmpeg fftw jpeg opencv png tiff zlib ; do
|
||||
use $i || { sed -i -r "s/^(${i}_(C|LD)FLAGS =).*/\1/I" Makefile || die ; }
|
||||
done
|
||||
|
||||
use graphicsmagick || { sed -i -r "s/^(MAGICK_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
|
||||
use openexr || { sed -i -r "s/^(EXR_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
|
||||
|
||||
if ! use X ; then
|
||||
sed -i -r "s/^((X11|XSHM)_(C|LD)FLAGS =).*/\1/" Makefile || die
|
||||
|
||||
# Disable display capabilities when X support is disabled
|
||||
append-cppflags -Dcimg_display=0
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)" CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS} ${CPPFLAGS}" custom lib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin gmic
|
||||
newlib.so libgmic.so libgmic.so.1
|
||||
|
||||
insinto /usr/include
|
||||
doins gmic.h
|
||||
|
||||
doman ../man/gmic.1.gz
|
||||
dodoc ../README
|
||||
|
||||
use doc && dodoc "${WORKDIR}"/gmic_reference-${PV}.pdf
|
||||
|
||||
newbashcomp gmic_bashcompletion.sh ${PN}
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST gmic_1.5.5.1.tar.gz 1689227 SHA256 3079b203f524bdf1736994abbd03d66d586d6fd2f0c0af98ad3ffe563fbd9613 SHA512 532e9f21692aa36872dbb2c9ca798ccac187b5fda02ca9d36f01ef28bfc104e43dec312afa448779282da52b1766ca0c3c645ccf962a938d55c53d72f366a8f4 WHIRLPOOL 18f8fbd6aff67dcbfa58fce59ac1ebf3856113084a238aa52fc03f24f16d1d4acd5e6d97c32813576094c48b4008fa616cd7be87ebd2c2eb11e7f89ea54b508e
|
||||
DIST gmic_1.5.5.2.tar.gz 1683717 SHA256 4e1ff3dcd7dc79dcc7f8ac92cae49951854aea283751a83e90b9510de972382d SHA512 a0f2175aef8d93fa56bbc923793d59c716399231afedf391fcb1a9525ac2397ccb6ce1a542928f5c08d12ebd06af26ac5aec17fe7ae0d4c04e215bfac4ca586e WHIRLPOOL d59d4ab55b904ade2da5ab9ffb29329894cd3d8c009d5ed9f039b989f737502085e352f3a315cf1f287c60004a054e58955b2a189235497f70d25d48c48a2851
|
||||
DIST gmic_1.5.6.1.tar.gz 2137616 SHA256 8399a97f4479a379d8e7fda6a0a73bde0ac120f781111b9ed8a2e28e5a3ed22f SHA512 3c3af5e071dc53c6f6971c494ceaec0d08a34ffc9595dea8c03c56be7ce6eb9dc4c0a91c49b93b01fc112192703aa0f53b2a859b855c4d5ab1f57ca22a45e0eb WHIRLPOOL 8071751c1e318e7aeac28a98c9a89e15008d5799422445cd9ca5e95c1ad9cbbd8ce1d703518a3f9ede5ed00d7deb5cf078a36d15122e4bf01d84069e20ab5321
|
||||
DIST gmic_1.5.7.1.tar.gz 2174947 SHA256 bc55fe0309c08fd4b4d97c37704db77965316c818c169ac573b8b12a5a44d42f SHA512 945e688fca9116cc53dafda63f7ec26bc0dd8c57e8fa9ae380f16c2b14086a2c1925327d71713d1e8249948d95b4f455b6bf217c1f1fa9c4ee8596cb81dcba62 WHIRLPOOL 088541176c84c6e6b4d25bc61ea68a87cd75ea60c9e2bd2a0d9080f32861bf1a014028d4a69bb1cc1d4e13ad84c8d1fd9757fefd4d302f7e7bcb60db1cf11616
|
||||
|
@ -0,0 +1,124 @@
|
||||
--- gmic-1.5.7.1/src/Makefile
|
||||
+++ gmic-1.5.7.1/src/Makefile
|
||||
@@ -80,7 +80,7 @@
|
||||
|
||||
# Flags that are mandatory to compile 'gmic'.
|
||||
MANDATORY_CFLAGS += -Dgmic_build -I$(USR)/include
|
||||
-MANDATORY_LDFLAGS += -L$(USR)/lib
|
||||
+MANDATORY_LDFLAGS +=
|
||||
ifeq ($(IS_GCC),yes)
|
||||
MANDATORY_CFLAGS += -Wall -W
|
||||
MANDATORY_LDFLAGS += -lm
|
||||
@@ -88,15 +88,7 @@
|
||||
MANDATORY_CFLAGS+=$(IS_BETA_CFLAGS)
|
||||
|
||||
# Flags to enable debugging.
|
||||
-DEBUG_CFLAGS = -Dcimg_use_vt100 -Dcimg_verbosity=3 -g
|
||||
-
|
||||
-# Flags to enable optimizations.
|
||||
-ifeq ($(IS_GCC),yes)
|
||||
-OPT_CFLAGS = -O3 -mtune=generic # -fno-tree-pre # -ffast-math
|
||||
-endif
|
||||
-ifeq ($(CC),icc)
|
||||
-OPT_CFLAGS = -O3 -ipo -no-prec-div -override-limits
|
||||
-endif
|
||||
+DEBUG_CFLAGS = -Dcimg_use_vt100 -Dcimg_verbosity=3
|
||||
|
||||
# Flags to enable parallel processing.
|
||||
ifneq ($(OSTYPE),Darwin)
|
||||
@@ -110,14 +102,14 @@
|
||||
# (keep /usr/ dirname here since X11 is located in /usr/ on Mac too).
|
||||
# This requires the presence of the X11 include and library files.
|
||||
# (package 'libx11-dev' on Debian).
|
||||
-X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" -I/usr/X11R6/include #-Dcimg_use_xrandr
|
||||
-X11_LDFLAGS = -L/usr/X11R6/lib -lX11 -lpthread #-lXrandr
|
||||
+X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" #-Dcimg_use_xrandr
|
||||
+X11_LDFLAGS = -lX11 -lpthread #-lXrandr
|
||||
|
||||
# Flags to enable fast display, using XShm.
|
||||
# This requires the presence of the X11 extension include and library files.
|
||||
# (package 'libx11-dev' on Debian).
|
||||
XSHM_CFLAGS = -Dcimg_use_xshm
|
||||
-XSHM_LDFLAGS = -L$(USR)/X11R6/lib -lXext
|
||||
+XSHM_LDFLAGS = -lXext
|
||||
|
||||
# Flags to enable image display, using GDI32.
|
||||
# This requires the presence of the GDI32 include and library files.
|
||||
@@ -152,7 +144,7 @@
|
||||
# This requires the presence of the FFMPEG include and library files.
|
||||
# (packages 'libavcodec-dev', 'libavutil-dev', 'libavformat-dev' and 'libswscale-dev' on Debian).
|
||||
FFMPEG_CFLAGS = -Dcimg_use_ffmpeg -D__STDC_CONSTANT_MACROS -I$(USR)/include/libavcodec -I$(USR)/include/libavformat -I$(USR)/include/libswscale -I$(USR)/include/ffmpeg
|
||||
-FFMPEG_LDFLAGS = -lavcodec -lavformat -lswscale
|
||||
+FFMPEG_LDFLAGS = -lavcodec -lavformat -lavutil -lswscale
|
||||
|
||||
# Flags to enable native support for compressed .cimgz files, using the Zlib library.
|
||||
# This requires the presence of the Zlib include and library files.
|
||||
@@ -163,14 +155,8 @@
|
||||
# Flags to enable native support of webcams, using the OpenCV library.
|
||||
# This requires the presence of the OpenCV include and library files.
|
||||
# (package 'libcv3-2-dev' on Debian).
|
||||
-ifeq ($(OS),Darwin)
|
||||
OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include -I$(USR)/include/opencv
|
||||
OPENCV_LDFLAGS = `pkg-config opencv --libs` #-> Use this for OpenCV 2.2.0 !
|
||||
-else
|
||||
-OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include -I$(USR)/include/opencv
|
||||
-# OPENCV_LDFLAGS = -lcv -lhighgui
|
||||
-OPENCV_LDFLAGS = -lopencv_core -lopencv_highgui #-> Use this for OpenCV >= 2.2.0 !
|
||||
-endif
|
||||
|
||||
# Flags to enable native support of most classical image file formats, using the GraphicsMagick++ library.
|
||||
# This requires the presence of the GraphicsMagick++ include and library files.
|
||||
@@ -299,10 +285,10 @@
|
||||
endif
|
||||
|
||||
gimp:
|
||||
- $(MAKE) "CFLAGS=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_GIMP_LDFLAGS) $(OPT_LDFLAGS)" "STRIP_EXE=1" gmic_gimp
|
||||
+ $(MAKE) "CFLAGS+=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_GIMP_LDFLAGS) $(OPT_LDFLAGS)" gmic_gimp
|
||||
|
||||
lib:
|
||||
- $(MAKE) "CFLAGS=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_LIB_LDFLAGS) $(OPT_LDFLAGS)" gmic_lib
|
||||
+ $(MAKE) "CFLAGS+=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_LIB_LDFLAGS) $(OPT_LDFLAGS)" gmic_lib
|
||||
|
||||
zart: lib
|
||||
ifneq ($(OS),Darwin)
|
||||
@@ -322,10 +308,10 @@
|
||||
$(MAKE) "CFLAGS+=$(MINIMAL_UNIX_CFLAGS)" "LDFLAGS+=$(MINIMAL_UNIX_LDFLAGS)" gmic_minimal
|
||||
|
||||
linux:
|
||||
- $(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_UNIX_LDFLAGS)" "STRIP_EXE=1" gmic_gmic
|
||||
+ $(MAKE) "CFLAGS+=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_UNIX_LDFLAGS)" gmic_gmic
|
||||
|
||||
custom:
|
||||
- $(MAKE) "CFLAGS=$(CUST_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(CUST_UNIX_LDFLAGS)" "STRIP_EXE=1" gmic_gmic
|
||||
+ $(MAKE) "CFLAGS+=$(CUST_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(CUST_UNIX_LDFLAGS)" gmic_gmic
|
||||
|
||||
solaris:
|
||||
$(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_UNIX_LDFLAGS) -R$(USR)/X11R6/lib -lrt -lnsl -lsocket" "STRIP_EXE=1" gmic_gmic
|
||||
@@ -343,10 +329,9 @@
|
||||
gmic_lib.o: gmic.cpp gmic_def.h
|
||||
$(CC) -o gmic_lib.o -c gmic.cpp -fPIC $(CFLAGS) -Dgmic_float_only
|
||||
gmic_lib: gmic_lib.o
|
||||
- ar rcs libgmic.a gmic_lib.o
|
||||
+ $(AR) rcs libgmic.a gmic_lib.o
|
||||
ifneq ($(OS),Darwin)
|
||||
$(CC) -shared -Wl,-soname,libgmic.so.1 -o libgmic.so gmic_lib.o $(LDFLAGS)
|
||||
- $(CC) -o gmic_use_lib gmic_use_lib.cpp -L. -lgmic $(FFTW_LDFLAGS)
|
||||
else
|
||||
$(CC) -shared -o libgmic.so gmic_lib.o $(LDFLAGS)
|
||||
endif
|
||||
@@ -355,7 +340,6 @@
|
||||
$(CC) -o gmic_gimp.o -c gmic.cpp $(CFLAGS) -Dgmic_gimp -Dgmic_float_only
|
||||
gmic_gimp : gmic_gimp.o gmic_gimp.cpp
|
||||
$(CC) -o gmic_gimp gmic_gimp.cpp gmic_gimp.o `gimptool-2.0$(EXE) --cflags` $(CFLAGS) `gimptool-2.0$(EXE) --libs` $(LDFLAGS)
|
||||
- strip gmic_gimp$(EXE)
|
||||
|
||||
gmic_minimal: gmic.cpp
|
||||
$(CC) -o gmic gmic.cpp $(CFLAGS) -Dgmic_float_only -Dgmic_main $(LDFLAGS)
|
||||
@@ -380,7 +364,6 @@
|
||||
$(CC) -o gmic_double.o -c gmic.cpp $(CFLAGS) -Dgmic_split_compilation -Dgmic_double
|
||||
gmic_gmic: gmic_bool.o gmic_uchar.o gmic_char.o gmic_ushort.o gmic_short.o gmic_uint.o gmic_int.o gmic_float.o gmic_double.o gmic_def.h
|
||||
$(CC) -o gmic gmic_bool.o gmic_uchar.o gmic_char.o gmic_ushort.o gmic_short.o gmic_uint.o gmic_int.o gmic_float.o gmic_double.o $(LDFLAGS)
|
||||
- strip gmic$(EXE)
|
||||
|
||||
def:
|
||||
@echo "#ifndef gmic_gimp" > gmic_def.h
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-gmic/gimp-gmic-1.5.7.1.ebuild,v 1.2 2013/09/21 15:50:16 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="G'MIC GIMP plugin"
|
||||
HOMEPAGE="http://gmic.sourceforge.net/gimp.shtml"
|
||||
SRC_URI="mirror://sourceforge/gmic/gmic_${PV}.tar.gz"
|
||||
|
||||
LICENSE="CeCILL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=media-gfx/gimp-2.4.0
|
||||
media-libs/libpng:0=
|
||||
sci-libs/fftw:3.0[threads]
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/gmic-${PV}/src
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/gmic-1.5.7.1-makefile.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" gimp
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins
|
||||
doexe gmic_gimp
|
||||
dodoc ../README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The G'MIC plugin is accessible from the menu:"
|
||||
elog "Filters -> G'MIC"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST pianobar-2012.12.01.tar.bz2 50383 SHA256 a3909f796e7cef21b19d98282f332ecbcf9b2c60a2af22a0a2ce01e9c4d9f515 SHA512 4d0996009f1fe8d4493f892593b545e3a6ab460aea5629ae80d4ba2c6dd43431be35cf16ead71e0b2b4ef4b5ba3bd4bf76d4f3b53e6ec97aa3cc1d5f3429d2d8 WHIRLPOOL b1fc67d56cd8dd4701198ac2491077d3e53afc56bfa316c791a5e14b74d162c1961fd8852cbaa1b383e1cee0332334ce8f33906083e728f995c05d50cfb21294
|
||||
DIST pianobar-2013.05.19.tar.bz2 50942 SHA256 cf88e82663d2b0aa4d73e761506eac4f3e7bc789b57d92377acd994d785e1046 SHA512 4dc9ab26a2f936a479703d7c7551d71a77043b144683db65356e03e9ae1cdd5150e59cc4d3d076031d4a9e9163ccd567feac1dcb07dc16ea2b0d32131afd12b7 WHIRLPOOL 6ebd3d0bb399ff81ccf0ba51c83449960efe582191c14e2c84013394b63b8b965c7b6b2463d34c8578aaaec9dc4d9b8c714b474013a79ee6bfe878a89312a817
|
||||
DIST pianobar-2013.09.15.tar.bz2 52553 SHA256 3f8cf25ef054acf46e519d02453a6e214cfa09661b3adc03da99ace1c6f10066 SHA512 f158ae0f75326d97157f987128bba615aaa30c313270b4474bf70e00da198ea53d3a5ac70bfe890ce75cf5f0a42cedc948ee57e9d46806a9da3e830bbe5d7754 WHIRLPOOL 0fee59b3f1eb819fffbd30c61a5faf4a85ede44f3852115539cb0408c2b16739d190c5efde1fead422f23153ab04b2f57a9ebdf229736a5a7147a0f36977f820
|
||||
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/pianobar/pianobar-2013.09.15.ebuild,v 1.1 2013/09/20 20:31:59 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit toolchain-funcs flag-o-matic multilib
|
||||
|
||||
DESCRIPTION="A console-based replacement for Pandora's flash player"
|
||||
HOMEPAGE="http://6xq.net/projects/pianobar/"
|
||||
SRC_URI="http://6xq.net/projects/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+aac mp3 static-libs"
|
||||
|
||||
RDEPEND="media-libs/libao
|
||||
net-libs/gnutls
|
||||
dev-libs/libgcrypt
|
||||
dev-libs/json-c
|
||||
aac? ( media-libs/faad2 )
|
||||
mp3? ( media-libs/libmad )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
REQUIRED_USE="|| ( aac mp3 )"
|
||||
|
||||
src_prepare() {
|
||||
sed -e '/@echo /d' \
|
||||
-e 's/@${CC}/${CC}/' \
|
||||
-i Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf="DYNLINK=1"
|
||||
! use aac && myconf+=" DISABLE_FAAD=1"
|
||||
! use mp3 && myconf+=" DISABLE_MAD=1"
|
||||
|
||||
append-cflags -std=c99
|
||||
tc-export CC
|
||||
emake ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX=/usr LIBDIR=/usr/$(get_libdir) DYNLINK=1 install
|
||||
dodoc ChangeLog README
|
||||
|
||||
use static-libs || rm -f "${D}"/usr/lib*/*.a
|
||||
|
||||
docinto contrib
|
||||
dodoc -r contrib/{config-example,*.sh,eventcmd-examples}
|
||||
docompress -x /usr/share/doc/${PF}/contrib
|
||||
}
|
@ -1,2 +1,4 @@
|
||||
DIST TeamSpeak3-Client-linux_amd64-3.0.11.1.run 32207661 SHA256 4e2787c883d90186ffb89f079575abaf1fa0b722bbe4637a3397d30cdf207d26 SHA512 7d283d82f3cdb8dd2eba8bb94bf3d1c2c7307fc98151a09ba488478a5086329a332ebd02eb27d008b432ce36be85cead8dc3871b8ebe5b93a88d9b49ca7639a3 WHIRLPOOL 7b76c7705e924c59b3c79ff3b3a2ba2e3d9231f03abccde4701f79fd531153b9f05b0962bde9143afa49abc2b707be81a35bd0252e1c4787a8c4b0db48231f32
|
||||
DIST TeamSpeak3-Client-linux_amd64-3.0.12.run 33185713 SHA256 6171e405108400ffa826c10971e5294e5263bba7fb69a02da70c7c5805d75b20 SHA512 87f49843302e36dc97b5993b3034aeda9974f457a18cc26874cf515ebcda3f21a7dfc89ab453e8647088f4cb611c1021293c25d302c1acb660b205c5f8b343f8 WHIRLPOOL b49bb2463d23858173a2e36bad99b16cd4a24510570c3ba2af5c7ad2d527a1a2b6a5a8044c875094169e28b88ee1d4868b6aab7aa9ee48cf7c5064a6af0010c3
|
||||
DIST TeamSpeak3-Client-linux_x86-3.0.11.1.run 32889578 SHA256 836fb8ba75ab5eaf4967e0582b38198c70e1c80d0d1e8509e95a631432b081f4 SHA512 ac8e0229365dd1081a88119a325ae0efd64100a32936420e84541b4448c30f107c53110bb2795958c9e25b752e9bb495330ad016432815d2616bc07079847fa5 WHIRLPOOL 4a35e3115f8ea3d10253b96267b79a2832fb8fbaba2729ec0e10d97d0a6d184d52db2b86f71804d9cd1632f141e0d19fdc8aabbe0c6ddf8ff0ea14516dfd511e
|
||||
DIST TeamSpeak3-Client-linux_x86-3.0.12.run 33928579 SHA256 e2ce96c8465ef6e8330b818e68732dfd1c9b40b45299c86cffe33701c3f86514 SHA512 edc0f621b9f556058690aed72015cefe3df204c17ce87ab9b18f01098e5f906d625bf5ebbaadc21af5c23e66e8f4e65291082b4e9d975509953331656372c7b5 WHIRLPOOL a497c0505041761141a5b12130752be24a7e3c896fb42683b32b72999030ba2c72723eb20237b362b7df312b5f01cdf1cf896d770a24b8f41d8e522a412af3e6
|
||||
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-client-bin/teamspeak-client-bin-3.0.12.ebuild,v 1.1 2013/09/21 11:53:37 tomwij Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils unpacker
|
||||
|
||||
DESCRIPTION="TeamSpeak Client - Voice Communication Software"
|
||||
HOMEPAGE="http://www.teamspeak.com/"
|
||||
LICENSE="teamspeak3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
RESTRICT="fetch mirror strip"
|
||||
|
||||
SRC_URI="amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/TeamSpeak3-Client-linux_amd64-${PV/_/-}.run )
|
||||
x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/TeamSpeak3-Client-linux_x86-${PV/_/-}.run )"
|
||||
|
||||
RDEPEND="dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4[accessibility,xinerama]
|
||||
dev-qt/qtsql:4
|
||||
sys-libs/glibc
|
||||
sys-libs/zlib"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
pkg_nofetch() {
|
||||
if use amd64 ; then
|
||||
einfo "Please download TeamSpeak3-Client-linux_amd64-${PV/_/-}.run"
|
||||
elif use x86 ; then
|
||||
einfo "Please download TeamSpeak3-Client-linux_x86-${PV/_/-}.run"
|
||||
fi
|
||||
einfo "from ${HOMEPAGE}?page=downloads and place this"
|
||||
einfo "file in ${DISTDIR}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Remove the qt-libraries as they just cause trouble with the system's Qt, see bug #328807.
|
||||
rm libQt* || die "Couldn't remove bundled Qt libraries."
|
||||
|
||||
# Rename the tsclient to its shorter version, required by the teamspeak3 script we install.
|
||||
mv ts3client_linux_* ts3client || die "Couldn't rename ts3client to its shorter version."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/teamspeak3-client
|
||||
insinto /opt/teamspeak3-client
|
||||
doins -r *
|
||||
|
||||
fperms +x /opt/teamspeak3-client/ts3client
|
||||
|
||||
exeinto /usr/bin
|
||||
doexe "${FILESDIR}/teamspeak3"
|
||||
|
||||
make_desktop_entry teamspeak3 TeamSpeak3 \
|
||||
"/opt/teamspeak3-client/pluginsdk/docs/client_html/images/logo.png" \
|
||||
Network
|
||||
}
|
@ -1,2 +1,4 @@
|
||||
DIST teamspeak3-server_linux-amd64-3.0.8.tar.gz 7156063 SHA256 f40bd7976a6fb084868f57bf10e5d954265a732914f45b396aedda530fd9c0c8 SHA512 0b2545e972db570a38b5fe601bbfbdf0cd153f5bc816c6df542bd47f831654f199fb173c95da2ff28855bf0559f9b2e3b054dc22ddf323c44551ba54c7cd46a2 WHIRLPOOL a5f0bd034856ee96dcccff43b0ca98725b35f0accfef9e3215afe6a99dfc50b64a4b6edc86175c54216a288ccefaba596d9182be4a8662eca8c55f64484313c0
|
||||
DIST teamspeak3-server_linux-amd64-3.0.9.tar.gz 4739964 SHA256 3559624ce21142a90c21c8a8e789d420b6043cc97698713a070cddccd8918b08 SHA512 c0b5ba34d28a740ef1a8b458f2203c3f145f117b9d1e38d571c15335fc56a52311bacc320bcd1d9fbec899d5c32548cf3579765ebefa2fddc0287aafb8b5cbcc WHIRLPOOL e8c2605917635211202bb3c3e5a9d714622fb0ea909558cb77fd8e32fd0e22296b4f3fd7119b7cf9b07fb06f06dcd75b3e9f17e9da0f9edc6f3ca365440d7603
|
||||
DIST teamspeak3-server_linux-x86-3.0.8.tar.gz 7313865 SHA256 986334b2ed7e3174948f8ed746bfb2c09c69c30c5dc793a9d8b88bac74dbc6e2 SHA512 adf3e86b8869b45e9476479afa7d21d053bdb2f5bb95edca3a62ad487e31991978c652bb6be949414a7638d282c08025114776e4dda875b1bfef52974036646e WHIRLPOOL 2aa8c9f19abd3d755978d1e5d8139d2e84b7c3c82a3d6d8d7100329ce79c8c16d87e8106e06282cc692a471b392a54ff7c83c112639f1aa13ecfa12d5e1a0323
|
||||
DIST teamspeak3-server_linux-x86-3.0.9.tar.gz 5090445 SHA256 e12d3449f0a63422136bf859e50f9d3d3a9a78bab2b1b6914fc67b62e3a27d6f SHA512 6eddf9d4f6c24475211281d2f7875db6c96f27ce3bcd161f85cae848300cd0fb25a04d3aea12e06e3f9a13c8d2f7819f0d25920c23e4cdb12ad28de8f548790c WHIRLPOOL 86291985191fe539e7066f9fd771dc00b35dfa1e61e3748de9092d02743e34b9f4b03ddc2eae7ddf0d74d20808a4960b5cdee385f8386e9acc5f0de9092e9a21
|
||||
|
@ -0,0 +1,87 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.9.ebuild,v 1.1 2013/09/21 11:53:32 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils systemd user
|
||||
|
||||
DESCRIPTION="TeamSpeak Server - Voice Communication Software"
|
||||
HOMEPAGE="http://www.teamspeak.com/"
|
||||
LICENSE="teamspeak3 GPL-2"
|
||||
|
||||
SLOT="0"
|
||||
IUSE="doc pdf tsdns"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RESTRICT="installsources fetch mirror strip"
|
||||
|
||||
SRC_URI="amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/teamspeak3-server_linux-amd64-${PV}.tar.gz )
|
||||
x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/teamspeak3-server_linux-x86-${PV}.tar.gz )"
|
||||
|
||||
S="${WORKDIR}/teamspeak3-server_linux-${ARCH}"
|
||||
|
||||
pkg_nofetch() {
|
||||
if use amd64 ; then
|
||||
einfo "Please download teamspeak3-server_linux-amd64-${PV}.tar.gz"
|
||||
elif use x86 ; then
|
||||
einfo "Please download teamspeak3-server_linux-x86-${PV}.tar.gz"
|
||||
fi
|
||||
einfo "from ${HOMEPAGE}?page=downloads and place this"
|
||||
einfo "file in ${DISTDIR}"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewuser teamspeak3
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Install TeamSpeak 3 server into /opt/teamspeak3-server.
|
||||
local opt_dir="/opt/teamspeak3-server"
|
||||
into ${opt_dir}
|
||||
insinto ${opt_dir}
|
||||
|
||||
# Install binary, wrapper, shell files and libraries.
|
||||
newsbin ts3server_linux_${ARCH} ts3server-bin
|
||||
|
||||
exeinto /usr/sbin
|
||||
doexe "${FILESDIR}"/ts3server
|
||||
|
||||
exeinto ${opt_dir}
|
||||
doexe *.sh
|
||||
doins *.so
|
||||
# 'libmysqlclient.so.15' is hard-coded into the ts3-server binary :(
|
||||
dosym "${ROOT}"/usr/$(get_libdir)/mysql/libmysqlclient.so ${opt_dir}/libmysqlclient.so.15
|
||||
doins -r sql
|
||||
|
||||
# Install documentation and tsdns.
|
||||
dodoc -r CHANGELOG doc/*.txt
|
||||
use doc && dodoc -r serverquerydocs
|
||||
use pdf && dodoc doc/*.pdf
|
||||
|
||||
if use tsdns; then
|
||||
newsbin tsdns/tsdnsserver_linux_${ARCH} tsdnsserver
|
||||
|
||||
newdoc tsdns/README README.tsdns
|
||||
newdoc tsdns/USAGE USAGE.tsdns
|
||||
dodoc tsdns/tsdns_settings.ini.sample
|
||||
fi
|
||||
|
||||
# Install the runtime FS layout.
|
||||
insinto /etc/teamspeak3-server
|
||||
doins "${FILESDIR}"/server.conf
|
||||
doins "${FILESDIR}"/ts3db_mysql.ini
|
||||
keepdir /{etc,var/{lib,log,run}}/teamspeak3-server
|
||||
|
||||
# Install the init script and systemd unit.
|
||||
newinitd "${FILESDIR}"/${PN}-3.0.7.2.rc teamspeak3-server
|
||||
systemd_dounit "${FILESDIR}"/systemd/teamspeak3.service
|
||||
systemd_dotmpfilesd "${FILESDIR}"/systemd/teamspeak3.conf
|
||||
|
||||
# Fix up permissions.
|
||||
fowners teamspeak3 /{etc,var/{lib,log,run}}/teamspeak3-server
|
||||
fowners teamspeak3 ${opt_dir}
|
||||
|
||||
fperms 700 /{etc,var/{lib,log,run}}/teamspeak3-server
|
||||
fperms 755 ${opt_dir}
|
||||
}
|
@ -1 +1 @@
|
||||
Fri, 20 Sep 2013 10:06:58 +0000
|
||||
Sat, 21 Sep 2013 16:06:57 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri, 20 Sep 2013 10:06:58 +0000
|
||||
Sat, 21 Sep 2013 16:06:57 +0000
|
||||
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=configure install postinst preinst prepare
|
||||
DEPEND=>=dev-libs/libpcre-3.4 virtual/pkgconfig app-arch/xz-utils virtual/pkgconfig
|
||||
DESCRIPTION=A highly configurable replacement for syslogd/klogd
|
||||
EAPI=3
|
||||
HOMEPAGE=http://metalog.sourceforge.net/
|
||||
IUSE=unicode
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=dev-libs/libpcre-3.4
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/metalog/metalog-3.tar.xz
|
||||
_eclasses_=eutils 4878e7f88afc0ba0866ac112190b0fd4 multilib 892e597faee02a5b94eb02ab512e7622 systemd e80fe2d5b43ec0f0160c6e8ef931fa4c toolchain-funcs 7ffd28a8c7eea27218865352bfd3ab2f user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=fed99e64f6b635f61de9480c14c99d76
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=install
|
||||
DEPEND=app-arch/p7zip
|
||||
DESCRIPTION=An multi-threaded multihash cracker
|
||||
EAPI=4
|
||||
HOMEPAGE=http://hashcat.net/hashcat/
|
||||
KEYWORDS=-* ~amd64 ~amd64-linux ~x64-macos ~x86 ~x86-linux
|
||||
LICENSE=hashcat
|
||||
RESTRICT=strip
|
||||
SLOT=0
|
||||
SRC_URI=http://hashcat.net/files/hashcat-0.46.7z
|
||||
_eclasses_=eutils 4878e7f88afc0ba0866ac112190b0fd4 multilib 892e597faee02a5b94eb02ab512e7622 pax-utils 2424f959506320f5196de8f79fa05297 toolchain-funcs 7ffd28a8c7eea27218865352bfd3ab2f user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=89e8f7fc19fe09083f908751c265fa93
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=configure install postinst preinst prepare setup test
|
||||
DEPEND=sys-libs/readline sys-libs/ncurses >=net-misc/curl-7.18.0 dev-libs/libgcrypt >=dev-libs/libxml2-2.7.6 dev-libs/libnl:3 >=net-libs/gnutls-1.0.25 net-libs/libssh2 sys-apps/dmidecode >=sys-apps/util-linux-2.17 sys-devel/gettext >=net-analyzer/netcat6-1.0-r2 app-misc/scrub audit? ( sys-process/audit ) avahi? ( >=net-dns/avahi-0.6[dbus] ) caps? ( sys-libs/libcap-ng ) fuse? ( >=sys-fs/fuse-2.8.6 ) iscsi? ( sys-block/open-iscsi ) lxc? ( sys-power/pm-utils ) lvm? ( >=sys-fs/lvm2-2.02.48-r2 ) nfs? ( net-fs/nfs-utils ) numa? ( >sys-process/numactl-2.0.2 sys-process/numad ) openvz? ( sys-kernel/openvz-sources ) parted? ( >=sys-block/parted-1.8[device-mapper] sys-fs/lvm2 ) pcap? ( >=net-libs/libpcap-1.0.0 ) policykit? ( >=sys-auth/polkit-0.9 ) python? ( python_single_target_python2_6? ( dev-lang/python:2.6 ) python_single_target_python2_7? ( dev-lang/python:2.7 ) dev-python/python-exec:=[python_targets_python2_6(-)?,python_targets_python2_7(-)?,python_single_target_python2_6(+)?,python_single_target_python2_7(+)?] ) qemu? ( >=app-emulation/qemu-0.13.0 dev-libs/yajl sys-power/pm-utils ) rbd? ( sys-cluster/ceph ) sasl? ( dev-libs/cyrus-sasl ) selinux? ( >=sys-libs/libselinux-2.0.85 ) virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) ) xen? ( app-emulation/xen-tools app-emulation/xen ) udev? ( virtual/udev >=x11-libs/libpciaccess-0.10.9 ) virt-network? ( net-dns/dnsmasq >=net-firewall/iptables-1.4.10 net-misc/radvd net-firewall/ebtables sys-apps/iproute2[-minimal] firewalld? ( net-firewall/firewalld ) ) elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) ) virtual/pkgconfig app-text/xhtml1 dev-lang/perl dev-libs/libxslt || ( >=sys-devel/automake-1.12:1.12 >=sys-devel/automake-1.13:1.13 ) >=sys-devel/autoconf-2.68 sys-devel/libtool virtual/pkgconfig
|
||||
DESCRIPTION=C toolkit to manipulate virtual machines
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.libvirt.org/
|
||||
IUSE=audit avahi +caps firewalld fuse iscsi +libvirtd lvm lxc +macvtap nfs nls numa openvz parted pcap phyp policykit python +qemu rbd sasl selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc systemd python_targets_python2_6 python_targets_python2_7 python_single_target_python2_6 python_single_target_python2_7
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=LGPL-2.1
|
||||
RDEPEND=sys-libs/readline sys-libs/ncurses >=net-misc/curl-7.18.0 dev-libs/libgcrypt >=dev-libs/libxml2-2.7.6 dev-libs/libnl:3 >=net-libs/gnutls-1.0.25 net-libs/libssh2 sys-apps/dmidecode >=sys-apps/util-linux-2.17 sys-devel/gettext >=net-analyzer/netcat6-1.0-r2 app-misc/scrub audit? ( sys-process/audit ) avahi? ( >=net-dns/avahi-0.6[dbus] ) caps? ( sys-libs/libcap-ng ) fuse? ( >=sys-fs/fuse-2.8.6 ) iscsi? ( sys-block/open-iscsi ) lxc? ( sys-power/pm-utils ) lvm? ( >=sys-fs/lvm2-2.02.48-r2 ) nfs? ( net-fs/nfs-utils ) numa? ( >sys-process/numactl-2.0.2 sys-process/numad ) openvz? ( sys-kernel/openvz-sources ) parted? ( >=sys-block/parted-1.8[device-mapper] sys-fs/lvm2 ) pcap? ( >=net-libs/libpcap-1.0.0 ) policykit? ( >=sys-auth/polkit-0.9 ) python? ( python_single_target_python2_6? ( dev-lang/python:2.6 ) python_single_target_python2_7? ( dev-lang/python:2.7 ) dev-python/python-exec:=[python_targets_python2_6(-)?,python_targets_python2_7(-)?,python_single_target_python2_6(+)?,python_single_target_python2_7(+)?] ) qemu? ( >=app-emulation/qemu-0.13.0 dev-libs/yajl sys-power/pm-utils ) rbd? ( sys-cluster/ceph ) sasl? ( dev-libs/cyrus-sasl ) selinux? ( >=sys-libs/libselinux-2.0.85 ) virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) ) xen? ( app-emulation/xen-tools app-emulation/xen ) udev? ( virtual/udev >=x11-libs/libpciaccess-0.10.9 ) virt-network? ( net-dns/dnsmasq >=net-firewall/iptables-1.4.10 net-misc/radvd net-firewall/ebtables sys-apps/iproute2[-minimal] firewalld? ( net-firewall/firewalld ) ) elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )
|
||||
REQUIRED_USE=libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) ) lxc? ( caps libvirtd ) openvz? ( libvirtd ) qemu? ( libvirtd ) uml? ( libvirtd ) vepa? ( macvtap ) virtualbox? ( libvirtd ) xen? ( libvirtd ) virt-network? ( libvirtd ) firewalld? ( virt-network ) python? ( python_single_target_python2_6? ( python_targets_python2_6 ) python_single_target_python2_7? ( python_targets_python2_7 ) ^^ ( python_single_target_python2_6 python_single_target_python2_7 ) )
|
||||
SLOT=0
|
||||
SRC_URI=http://libvirt.org/sources/libvirt-1.1.2.tar.gz ftp://libvirt.org/libvirt/libvirt-1.1.2.tar.gz http://dev.gentoo.org/~cardoe/distfiles/libvirt-1.1.2-a61ad1bc.tar.xz
|
||||
_eclasses_=autotools 16761a2f972abd686713e5967ff3c754 eutils 4878e7f88afc0ba0866ac112190b0fd4 libtool b1c8688e60f9580bcb9bb46e08737eb1 linux-info dd8fdcccc30f117673b4cba4ed4f74a7 multilib 892e597faee02a5b94eb02ab512e7622 multiprocessing a2130e6fc4aa4c6a24b265ca0cbcc2b6 python-single-r1 2ca20eea86d11878e6bcd127a81af868 python-utils-r1 a4940acdd0a5ebdc58aaedd38de4983a readme.gentoo 2466b2f6a77a9600954c6b99ebca6e02 systemd e80fe2d5b43ec0f0160c6e8ef931fa4c toolchain-funcs 7ffd28a8c7eea27218865352bfd3ab2f user d0a4d0735a6c0183d707ca919bd72f28 versionator 6601b4c5b3f019a993db59a50e1854e4
|
||||
_md5_=a53ba8531623a8b8d3924f932993639e
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=install prepare setup
|
||||
DESCRIPTION=A set of profiles for the GNU Screen console window manager (app-misc/screen)
|
||||
EAPI=5
|
||||
HOMEPAGE=http://byobu.co
|
||||
IUSE=screen python_targets_python2_6 python_targets_python2_7 python_single_target_python2_6 python_single_target_python2_7
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=python_single_target_python2_6? ( dev-lang/python:2.6 ) python_single_target_python2_7? ( dev-lang/python:2.7 ) dev-python/python-exec:=[python_targets_python2_6(-)?,python_targets_python2_7(-)?,python_single_target_python2_6(+)?,python_single_target_python2_7(+)?] dev-libs/newt[python_targets_python2_6(-)?,python_targets_python2_7(-)?,python_single_target_python2_6(+)?,python_single_target_python2_7(+)?] screen? ( app-misc/screen ) !screen? ( app-misc/tmux )
|
||||
REQUIRED_USE=python_single_target_python2_6? ( python_targets_python2_6 ) python_single_target_python2_7? ( python_targets_python2_7 ) ^^ ( python_single_target_python2_6 python_single_target_python2_7 )
|
||||
SLOT=0
|
||||
SRC_URI=http://launchpad.net/byobu/trunk/5.59/+download/byobu_5.59.orig.tar.gz
|
||||
_eclasses_=eutils 4878e7f88afc0ba0866ac112190b0fd4 multilib 892e597faee02a5b94eb02ab512e7622 python-single-r1 2ca20eea86d11878e6bcd127a81af868 python-utils-r1 a4940acdd0a5ebdc58aaedd38de4983a toolchain-funcs 7ffd28a8c7eea27218865352bfd3ab2f user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=f34792e7d3daf5251317ae9997c304c3
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue