parent
a9088da9e8
commit
b0c5c0de80
@ -1,5 +1,6 @@
|
||||
DIST monit-5.12.2.tar.gz 1192066 SHA256 8ab0296d1aa2351b1573481592d7b5e06de1edd49dff1b5552839605a450914c SHA512 086f9af2c6d155c5375e7de5641025707f34577d4f2a4a76d1a104361b5d5793a4f04313cafb5d6884a01aba59f1bbb405b37294ba133d9a93c05e484e5933ff WHIRLPOOL 3d25ab0dc3cfe0e2c881f35e48b64355fe12ce1d3357450d2b1d2aba7344acbe55c031e4fd6b49f7c523b674ff650cbad5bbc91853ec15dd10e64f164504ea70
|
||||
DIST monit-5.13.tar.gz 1193463 SHA256 9abae036f3be93a19c6b476ecd106b29d4da755bbc05f0a323e882eab6b2c5a9 SHA512 257fc9d5ece7b39973107adef51b437941c944909efa03949f53067a0811ab8929ea57e98cbf06a22dd6d69aaa0aadd65a22788165819ede8316dcd1894ad546 WHIRLPOOL 7556bd2299b4f930525877543c74c9a30f4a719e7abfb7e5b596ba070dc5c9a6aefaf129891e7ba1f5d1643bc8edbbfd9b35513b38c1bfec143f33e34b667420
|
||||
DIST monit-5.14.tar.gz 1200131 SHA256 d0424c3ee8ed43d670ba039184a972ac9f3ad6f45b0806ec17c23820996256c6 SHA512 6491434e15fab6f92e29b9f490418332a7700d110c0bd825d65e1aadd68ea082a1d9a7e2b570075b35d6cdb64ae207567bdeb2580e6e5407ba277cc6d1693c78 WHIRLPOOL 8e7ba198f6048d8de06082a269a9f7fa8fbbcd95e14174010bdf54935db53f840d00744e35f4260e9de5d8d9a6ea47aa7c4b037998b035775bbbe212057d75e7
|
||||
DIST monit-5.8.1.tar.gz 1212491 SHA256 a25e4b79257ac29ebaf46605dccb7ed693c8e001669c0ccc8feb22e7d4c870e5 SHA512 0cf8b46ea5a5ab42beac4aab649d4fa324b03e02aaceee6a86968849db46b129cd8f20e314c855653620a0bd4b4aa105e2c812a386ddd2be3196ff956f1e7e11 WHIRLPOOL 8134017da3c1f0dc2675df9cb2d7ecd0905765a92a248701a4de2b9ba449a548ae28cf661019e882a1992c027095360f14d1b2378c924623937c85b691c6056c
|
||||
DIST monit-5.8.tar.gz 1237958 SHA256 0c00573ebc0156c534a5952f392c2a7bedde194f8261c05497322055938847f5 SHA512 61f2cb4a6b2da8617adfd16ace4d9b246957385109fee9a3312272ac271003cd89a12872ac3a07b0148ad7bdbe544e447745033d2a9fab19908ef19b7a106dda WHIRLPOOL 0eb1f5b778264d7881281f7139037fa07c225a5c7ece7cae2149460036a58c008e16a3d883e1876a2dc08f092900e05d164e37714ec5fc19960d4127e13c6eeb
|
||||
DIST monit-5.9.tar.gz 1161683 SHA256 274044485170b7498de29e7876cd86488378f50d69df4303a14930ba1f5e4a11 SHA512 915d548d5a4e043b346ec32d9fd3131d7eafd8ed1167e4fca3d4918df9ff87a166dbb2b3398d59a8510c7190c43fe26043568742a27828257140683bea349c83 WHIRLPOOL d5bde04202b066665feeef7bca5e0ec23c18c0bf5a6940ac30b8bfc8cc01056a802b3beae8e0caac861770e167b7b48254fe08fbb9294554e25102bec620f508
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/monit-5.14.ebuild,v 1.1 2015/06/14 12:24:42 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
inherit pam systemd
|
||||
|
||||
DESCRIPTION="a utility for monitoring and managing daemons or similar programs running on a Unix system"
|
||||
HOMEPAGE="http://mmonit.com/monit/"
|
||||
SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
|
||||
IUSE="pam ssl"
|
||||
|
||||
RDEPEND="ssl? ( dev-libs/openssl )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/flex
|
||||
sys-devel/bison
|
||||
pam? ( virtual/pam )"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die "sed failed in Makefile.in"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with ssl) $(use_with pam)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dodoc README*
|
||||
dohtml -r doc/*
|
||||
|
||||
insinto /etc; insopts -m600; doins monitrc
|
||||
newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
|
||||
use pam && newpamd "${FILESDIR}"/${PN}.pamd ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Sample configurations are available at:"
|
||||
elog "http://mmonit.com/monit/documentation/"
|
||||
}
|
@ -0,0 +1,465 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.2.16.ebuild,v 1.1 2015/06/14 15:39:58 tamiko Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLIZE=yes
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
inherit eutils user autotools linux-info systemd readme.gentoo
|
||||
|
||||
BACKPORTS=""
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
SLOT="0"
|
||||
else
|
||||
# Versions with 4 numbers are stable updates:
|
||||
if [[ ${PV} =~ ^[0-9]+(\.[0-9]+){3} ]]; then
|
||||
SRC_URI="http://libvirt.org/sources/stable_updates/${MY_P}.tar.gz"
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz"
|
||||
fi
|
||||
SRC_URI+=" ${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz
|
||||
http://dev.gentoo.org/~tamiko/distfiles/${P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0/${PV}"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
# TODO: Reenable IUSE wireshark-plugins
|
||||
IUSE="audit avahi +caps firewalld fuse glusterfs iscsi +libvirtd lvm lxc \
|
||||
+macvtap nfs nls numa openvz parted pcap phyp policykit +qemu rbd sasl \
|
||||
selinux +udev uml +vepa virtualbox virt-network wireshark-plugins 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 )"
|
||||
|
||||
# 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:0
|
||||
>=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 )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.1 )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
lxc? ( !systemd? ( sys-power/pm-utils ) )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? (
|
||||
>sys-process/numactl-2.0.2
|
||||
sys-process/numad
|
||||
)
|
||||
openvz? ( sys-kernel/openvz-sources:* )
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
qemu? (
|
||||
>=app-emulation/qemu-0.13.0
|
||||
dev-libs/yajl
|
||||
!systemd? ( sys-power/pm-utils )
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
systemd? ( sys-apps/systemd )
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
wireshark-plugins? ( net-analyzer/wireshark:= )
|
||||
xen? ( app-emulation/xen-tools app-emulation/xen )
|
||||
udev? ( virtual/udev >=x11-libs/libpciaccess-0.10.9 )
|
||||
virt-network? ( net-dns/dnsmasq[script]
|
||||
>=net-firewall/iptables-1.4.10[ipv6]
|
||||
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 ) )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
app-text/xhtml1
|
||||
dev-lang/perl
|
||||
dev-perl/XML-XPath
|
||||
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
|
||||
~CGROUP_NET_PRIO
|
||||
~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
|
||||
"
|
||||
|
||||
BWLMT_CONFIG_CHECK="
|
||||
~BRIDGE_EBT_T_NAT
|
||||
~NET_SCH_HTB
|
||||
~NET_SCH_SFQ
|
||||
~NET_SCH_INGRESS
|
||||
~NET_CLS_FW
|
||||
~NET_CLS_U32
|
||||
~NET_ACT_POLICE
|
||||
"
|
||||
|
||||
MACVTAP_CONFIG_CHECK=" ~MACVTAP"
|
||||
|
||||
LVM_CONFIG_CHECK=" ~BLK_DEV_DM ~DM_SNAPSHOT ~DM_MULTIPATH"
|
||||
|
||||
ERROR_USER_NS="Optional depending on LXC configuration."
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup qemu 77
|
||||
enewuser qemu 77 -1 -1 qemu kvm
|
||||
|
||||
# Some people used the masked ebuild which was not adding the qemu
|
||||
# user to the kvm group originally. This results in VMs failing to
|
||||
# start for some users. bug #430808
|
||||
egetent group kvm | grep -q qemu
|
||||
if [[ $? -ne 0 ]]; then
|
||||
gpasswd -a qemu kvm
|
||||
fi
|
||||
|
||||
# Handle specific kernel versions for different features
|
||||
kernel_is lt 3 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}"
|
||||
# Bandwidth Limiting Support
|
||||
use virt-network && CONFIG_CHECK+="${BWLMT_CONFIG_CHECK}"
|
||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
touch "${S}/.mailmap"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# git checkouts require bootstrapping to create the configure script.
|
||||
# Additionally the submodules must be cloned to the right locations
|
||||
# bug #377279
|
||||
./bootstrap || die "bootstrap failed"
|
||||
(
|
||||
git submodule status | sed 's/^[ +-]//;s/ .*//'
|
||||
git hash-object bootstrap.conf
|
||||
) >.git-module-status
|
||||
fi
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.2.9-do_not_use_sysconf.patch
|
||||
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" \
|
||||
EPATCH_SOURCE="${WORKDIR}/patches" epatch
|
||||
|
||||
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-r14" "${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+=" $(use_with libvirtd)"
|
||||
|
||||
## enable/disable the daemon using avahi to find VMs
|
||||
myconf+=" $(use_with avahi)"
|
||||
|
||||
## hypervisors on the local host
|
||||
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+=" $(use_with openvz)"
|
||||
myconf+=" $(use_with lxc)"
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myconf+=" --with-vbox=/usr/lib/virtualbox-ose/"
|
||||
else
|
||||
myconf+=" $(use_with virtualbox vbox)"
|
||||
fi
|
||||
myconf+=" $(use_with uml)"
|
||||
myconf+=" $(use_with qemu)"
|
||||
myconf+=" $(use_with qemu yajl)" # Use QMP over HMP
|
||||
myconf+=" $(use_with phyp)"
|
||||
myconf+=" --with-esx"
|
||||
myconf+=" --with-vmware"
|
||||
|
||||
## additional host drivers
|
||||
myconf+=" $(use_with virt-network network)"
|
||||
myconf+=" --with-storage-fs"
|
||||
myconf+=" $(use_with lvm storage-lvm)"
|
||||
myconf+=" $(use_with iscsi storage-iscsi)"
|
||||
myconf+=" $(use_with parted storage-disk)"
|
||||
mycond+=" $(use_with glusterfs)"
|
||||
mycond+=" $(use_with glusterfs storage-gluster)"
|
||||
myconf+=" $(use_with lvm storage-mpath)"
|
||||
myconf+=" $(use_with rbd storage-rbd)"
|
||||
myconf+=" $(use_with numa numactl)"
|
||||
myconf+=" $(use_with numa numad)"
|
||||
myconf+=" $(use_with selinux)"
|
||||
myconf+=" $(use_with fuse)"
|
||||
|
||||
# udev for device support details
|
||||
myconf+=" $(use_with udev)"
|
||||
myconf+=" --without-hal"
|
||||
|
||||
# linux capability support so we don't need privileged accounts
|
||||
myconf+=" $(use_with caps capng)"
|
||||
|
||||
## auth stuff
|
||||
myconf+=" $(use_with policykit polkit)"
|
||||
myconf+=" $(use_with sasl)"
|
||||
|
||||
# network bits
|
||||
myconf+=" $(use_with macvtap)"
|
||||
myconf+=" $(use_with pcap libpcap)"
|
||||
myconf+=" $(use_with vepa virtualport)"
|
||||
myconf+=" $(use_with firewalld)"
|
||||
|
||||
## other
|
||||
myconf+=" $(use_enable nls)"
|
||||
|
||||
# user privilege bits fir qemu/kvm
|
||||
if use caps; then
|
||||
myconf+=" --with-qemu-user=qemu"
|
||||
myconf+=" --with-qemu-group=qemu"
|
||||
else
|
||||
myconf+=" --with-qemu-user=root"
|
||||
myconf+=" --with-qemu-group=root"
|
||||
fi
|
||||
|
||||
# audit support
|
||||
myconf+=" $(use_with audit)"
|
||||
|
||||
# wireshark dissector
|
||||
myconf+=" $(use_with wireshark-plugins wireshark-dissector)"
|
||||
|
||||
## stuff we don't yet support
|
||||
myconf+=" --without-netcf"
|
||||
|
||||
# locking support
|
||||
myconf+=" --without-sanlock"
|
||||
|
||||
# systemd unit files
|
||||
myconf+=" $(use_with systemd systemd-daemon)"
|
||||
use systemd && 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 \
|
||||
--disable-werror \
|
||||
--with-remote \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--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
|
||||
|
||||
# Remove bogus, empty directories. They are either not used, or
|
||||
# libvirtd is able to create them on demand
|
||||
rm -rf "${D}"/etc/sysconf
|
||||
rm -rf "${D}"/var/cache
|
||||
rm -rf "${D}"/var/run
|
||||
rm -rf "${D}"/var/log
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
use systemd && systemd_install_serviced \
|
||||
"${FILESDIR}"/libvirtd.service.conf libvirtd.service
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r4" libvirtd || die
|
||||
newinitd "${FILESDIR}/virtlockd.init-r1" virtlockd || die
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
if [[ -n "${REPLACING_VERSIONS}" ]]; then
|
||||
elog ""
|
||||
elog "The systemd service-file configuration under /etc/sysconfig has"
|
||||
elog "been removed. Please use"
|
||||
elog " /etc/systemd/system/libvirtd.service.d/00gentoo.conf"
|
||||
elog "to control the '--listen' parameter for libvirtd. The configuration"
|
||||
elog "for the libvirt-guests.service is now found under"
|
||||
elog " /etc/libvirt/libvirt-guests.conf"
|
||||
elog "The openrc configuration has not been changed. Thus no action is"
|
||||
elog "required for the openrc service manager."
|
||||
elog ""
|
||||
fi
|
||||
}
|
@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/jabref-2.10-r1.ebuild,v 1.1 2014/03/15 13:24:48 nicolasbock Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2 java-utils-2
|
||||
|
||||
MY_PV="${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="Java GUI for managing BibTeX and other bibliographies"
|
||||
HOMEPAGE="http://jabref.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/JabRef-${MY_PV}-src.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/antlr:3
|
||||
dev-java/fontbox:1.7
|
||||
dev-java/jempbox:1.7
|
||||
dev-java/log4j:0
|
||||
dev-java/spin:0
|
||||
dev-java/microba:0
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.6
|
||||
${COMMON_DEP}"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.6
|
||||
${COMMON_DEP}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
java_prepare() {
|
||||
# Remove bundled dependencies.
|
||||
rm lib/antlr*.jar || die
|
||||
rm lib/fontbox*.jar || die
|
||||
rm lib/jempbox*.jar || die
|
||||
rm lib/spin.jar || die
|
||||
rm lib/microba.jar || die
|
||||
|
||||
# Remove unjarlib target (do this only once we have removed all
|
||||
# bundled dependencies in lib).
|
||||
#sed -i -e 's:depends="build, unjarlib":depends="build":' build.xml
|
||||
|
||||
# Fix license file copy operation for microba bundled lib.
|
||||
sed -i -e 's:^.*microba-license.*::' build.xml
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local EXTERNAL_JARS="antlr-3,fontbox-1.7,jempbox-1.7,log4j,spin,microba"
|
||||
local CLASSPATH="$(java-pkg_getjars --with-dependencies ${EXTERNAL_JARS})"
|
||||
eant \
|
||||
-Dgentoo.classpath=${CLASSPATH} \
|
||||
jars \
|
||||
$(usex doc docs "")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar build/lib/JabRef-${MY_PV}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc build/docs/API
|
||||
dodoc src/txt/README
|
||||
|
||||
java-pkg_dolauncher ${PN} --main net.sf.jabref.JabRef
|
||||
newicon src/images/JabRef-icon-48.png JabRef-icon.png
|
||||
make_desktop_entry ${PN} JabRef JabRef-icon Office
|
||||
}
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/jabref-2.10.ebuild,v 1.1 2014/03/12 13:21:44 nicolasbock Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2 java-utils-2
|
||||
|
||||
MY_PV="${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="Java GUI for managing BibTeX and other bibliographies"
|
||||
HOMEPAGE="http://jabref.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/JabRef-${MY_PV}-src.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/antlr:3
|
||||
dev-java/fontbox:1.7
|
||||
dev-java/jempbox:1.7
|
||||
dev-java/log4j:0
|
||||
dev-java/spin:0
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.6
|
||||
${COMMON_DEP}"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.6
|
||||
${COMMON_DEP}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
java_prepare() {
|
||||
# Remove bundled dependencies.
|
||||
rm lib/antlr*.jar || die
|
||||
rm lib/fontbox*.jar || die
|
||||
rm lib/jempbox*.jar || die
|
||||
rm lib/spin.jar || die
|
||||
|
||||
# Remove unjarlib target (do this only once we have removed all
|
||||
# bundled dependencies in lib).
|
||||
#sed -i -e 's:depends="build, unjarlib":depends="build":' build.xml
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local EXTERNAL_JARS="antlr-3,fontbox-1.7,jempbox-1.7,spin"
|
||||
local CLASSPATH="$(java-pkg_getjars --with-dependencies ${EXTERNAL_JARS})"
|
||||
eant \
|
||||
-Dgentoo.classpath=${CLASSPATH} \
|
||||
jars \
|
||||
$(usex doc docs "")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar build/lib/JabRef-${MY_PV}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc build/docs/API
|
||||
dodoc src/txt/README
|
||||
|
||||
java-pkg_dolauncher ${PN} --main net.sf.jabref.JabRef
|
||||
newicon src/images/JabRef-icon-48.png JabRef-icon.png
|
||||
make_desktop_entry ${PN} JabRef JabRef-icon Office
|
||||
}
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/jabref-2.10_beta2.ebuild,v 1.1 2014/01/28 16:51:03 nicolasbock Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2 java-utils-2
|
||||
|
||||
MY_PV="${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="Java GUI for managing BibTeX and other bibliographies"
|
||||
HOMEPAGE="http://jabref.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/JabRef-${MY_PV}-src.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/antlr:3
|
||||
dev-java/fontbox:1.7
|
||||
dev-java/jempbox:1.7
|
||||
dev-java/log4j:0
|
||||
dev-java/spin:0
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.6
|
||||
${COMMON_DEP}"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.6
|
||||
${COMMON_DEP}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
java_prepare() {
|
||||
# Remove bundled dependencies.
|
||||
rm lib/antlr*.jar || die
|
||||
rm lib/fontbox*.jar || die
|
||||
rm lib/jempbox*.jar || die
|
||||
rm lib/spin.jar || die
|
||||
|
||||
# Remove unjarlib target (do this only once we have removed all
|
||||
# bundled dependencies in lib).
|
||||
#sed -i -e 's:depends="build, unjarlib":depends="build":' build.xml
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local EXTERNAL_JARS="antlr-3,fontbox-1.7,jempbox-1.7,spin"
|
||||
local CLASSPATH="$(java-pkg_getjars --with-dependencies ${EXTERNAL_JARS})"
|
||||
eant \
|
||||
-Dgentoo.classpath=${CLASSPATH} \
|
||||
jars \
|
||||
$(usex doc docs "")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar build/lib/JabRef-${MY_PV}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc build/docs/API
|
||||
dodoc src/txt/README
|
||||
|
||||
java-pkg_dolauncher ${PN} --main net.sf.jabref.JabRef
|
||||
newicon src/images/JabRef-icon-48.png JabRef-icon.png
|
||||
make_desktop_entry ${PN} JabRef JabRef-icon Office
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/jabref-2.10_beta3.ebuild,v 1.1 2014/02/19 04:10:12 nicolasbock Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2 java-utils-2
|
||||
|
||||
MY_PV="${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="Java GUI for managing BibTeX and other bibliographies"
|
||||
HOMEPAGE="http://jabref.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/JabRef-${MY_PV}-src.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/antlr:3
|
||||
dev-java/fontbox:1.7
|
||||
dev-java/jempbox:1.7
|
||||
dev-java/log4j:0
|
||||
dev-java/spin:0
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.6
|
||||
${COMMON_DEP}"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.6
|
||||
${COMMON_DEP}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
java_prepare() {
|
||||
# Remove bundled dependencies.
|
||||
rm lib/antlr*.jar || die
|
||||
rm lib/fontbox*.jar || die
|
||||
rm lib/jempbox*.jar || die
|
||||
rm lib/spin.jar || die
|
||||
|
||||
# Remove unjarlib target (do this only once we have removed all
|
||||
# bundled dependencies in lib).
|
||||
#sed -i -e 's:depends="build, unjarlib":depends="build":' build.xml
|
||||
|
||||
# Fix incorrect version information.
|
||||
sed -i -e 's:2.10b2:2.10b3:' build.xml
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local EXTERNAL_JARS="antlr-3,fontbox-1.7,jempbox-1.7,spin"
|
||||
local CLASSPATH="$(java-pkg_getjars --with-dependencies ${EXTERNAL_JARS})"
|
||||
eant \
|
||||
-Dgentoo.classpath=${CLASSPATH} \
|
||||
jars \
|
||||
$(usex doc docs "")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar build/lib/JabRef-${MY_PV}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc build/docs/API
|
||||
dodoc src/txt/README
|
||||
|
||||
java-pkg_dolauncher ${PN} --main net.sf.jabref.JabRef
|
||||
newicon src/images/JabRef-icon-48.png JabRef-icon.png
|
||||
make_desktop_entry ${PN} JabRef JabRef-icon Office
|
||||
}
|
@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/jabref-2.6.ebuild,v 1.7 2014/02/19 17:26:28 nicolasbock Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc"
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
MY_PV="${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="GUI frontend for BibTeX, written in Java"
|
||||
HOMEPAGE="http://jabref.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/JabRef-${MY_PV}-src.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="mysql"
|
||||
|
||||
CDEPEND="dev-java/spin:0
|
||||
|| ( >=dev-java/glazedlists-1.7.0-r1:0 >=dev-java/glazedlists-1.7.0:0[java5] )
|
||||
>=dev-java/antlr-2.7.3:0[java]
|
||||
>=dev-java/jgoodies-forms-1.1.0:0
|
||||
dev-java/jgoodies-looks:2.0
|
||||
>=dev-java/microba-0.4.3:0
|
||||
dev-java/jempbox:0
|
||||
dev-java/pdfbox:0
|
||||
dev-java/commons-logging:0
|
||||
dev-java/jpf:1.5
|
||||
dev-java/jpfcodegen:0
|
||||
mysql? ( dev-java/jdbc-mysql:0 )"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
${CDEPEND}"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
java_prepare() {
|
||||
# moves jarbundler definition to where it's needed (not by us)
|
||||
# don't call unjarlib, don't want to absorb deps
|
||||
# failonerror in jpfcodegen
|
||||
epatch "${FILESDIR}/${PN}-2.4-build.xml.patch"
|
||||
|
||||
# bug #268252
|
||||
java-ant_xml-rewrite -f build.xml -d -e javac -a encoding -v UTF-8
|
||||
|
||||
mkdir libs || die
|
||||
mv lib/antlr-3.0b5.jar libs/ || die
|
||||
|
||||
rm -v lib/*.jar lib/plugin/*.jar \
|
||||
src/java/net/sf/jabref/plugin/core/generated/*.java || die
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
|
||||
src_compile() {
|
||||
java-pkg_filter-compiler jikes
|
||||
|
||||
local gcp=$(java-pkg_getjars --with-dependencies antlr,spin,glazedlists,jgoodies-looks-2.0,jgoodies-forms,microba,jempbox,pdfbox,commons-logging,jpf-1.5,jpfcodegen)
|
||||
gcp="${gcp}:libs/antlr-3.0b5.jar"
|
||||
eant -Dgentoo.classpath="${gcp}" jars \
|
||||
$(use_doc -Dbuild.javadocs=build/docs/api javadocs)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar build/lib/JabRef-${MY_PV}.jar
|
||||
java-pkg_dojar libs/antlr-3.0b5.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc build/docs/api
|
||||
dodoc src/txt/README
|
||||
|
||||
java-pkg_dolauncher ${PN} \
|
||||
--main net.sf.jabref.JabRef
|
||||
|
||||
dodir /usr/share/${PN}/lib/plugins
|
||||
keepdir /usr/share/${PN}/lib/plugins
|
||||
|
||||
java-pkg_register-optional-dependency jdbc-mysql
|
||||
|
||||
newicon src/images/JabRef-icon-48.png JabRef-icon.png || die
|
||||
make_desktop_entry ${PN} JabRef JabRef-icon Office
|
||||
echo "MimeType=text/x-bibtex" >> "${D}/usr/share/applications/${PN}-${PN}.desktop"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Users need to set their user java vm to one of the 1.6 slot for the search"
|
||||
elog "feature to work."
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/jabref-2.9.2.ebuild,v 1.3 2014/01/28 16:47:27 nicolasbock Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
#EANT_DOC_TARGET=javadocs
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Java GUI for managing BibTeX and other bibliographies"
|
||||
HOMEPAGE="http://jabref.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/JabRef-${PV}-src.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
# Removed doc USE flag, since the API documentation build system in this
|
||||
# version is broken (see bug #497030). Reported the problem to upstream [1].
|
||||
#
|
||||
# [1] http://sourceforge.net/p/jabref/bugs/1203/
|
||||
|
||||
EANT_BUILD_TARGET="jars"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6"
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar build/lib/JabRef-${PV}.jar
|
||||
#use doc && java-pkg_dojavadoc build/docs/API
|
||||
#dodoc src/txt/README
|
||||
java-pkg_dolauncher ${PN} --main net.sf.jabref.JabRef
|
||||
newicon src/images/JabRef-icon-48.png JabRef-icon.png
|
||||
make_desktop_entry ${PN} JabRef JabRef-icon Office
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST pgxnclient-1.2.1.tar.gz 87275 SHA256 8e3022bc960aa5d5fc7d4c564786087693a1a99f15e025ad920fc0aa378e1d67 SHA512 3fa864b1ebb5dedaf75515b5efe4c453f02acff558f7b82d2648da62e58c93e050049a7688171a69593784d9963bb62f4ad3674d526284554dbeb4f4a4ea1dbf WHIRLPOOL f0e5df1e841a8da59a0fed16643e30120c188813c69307e2db6055c25d4298368a56c89f08dd54edbb6c6dbc1a8676a462fc9fe1b7982c8334d2c6af040d0d99
|
||||
DIST pgxnclient-1.2.tar.gz 86436 SHA256 ad3768d1ed83ea3af8a3ad9abf11fd164dbdeb355371819bce072dc581f43c42 SHA512 d677f8d5346caf4de5d7e0d4e4031b8bdd932e343af7fc33e8895ebe51b1e9e6a11d7300d9e98ddc10242854f7d39c0a4196f41938e42f0b0e5158454e386deb WHIRLPOOL fcb76ce45b4898a56f2ee99317874b1cbecafc67d37d1edabc55c9f6bea644d757ac1ab396fc5f3d0a8d98040e2f70211d3a712a8219c1ba2da23c4fa22b41fa
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/pgxnclient/pgxnclient-1.2.1.ebuild,v 1.1 2015/06/14 15:30:05 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="PostgreSQL Extension Network Client"
|
||||
HOMEPAGE="http://pgxnclient.projects.postgresql.org/ http://pypi.python.org/pypi/${PN}"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-db/postgresql-9.1[server]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
# suite written onlt for py2
|
||||
pushd ${PN} > /dev/null
|
||||
if ! python_is_python3; then
|
||||
PYTHONPATH=../ "${PYTHON}" -m unittest discover || die "tests failed"
|
||||
fi
|
||||
popd > dev/null
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/cglib/cglib-2.0.2-r2.ebuild,v 1.20 2014/08/10 20:09:21 slyfox Exp $
|
||||
|
||||
EAPI=2
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="A powerful, high performance and quality Code Generation Library"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.jar"
|
||||
HOMEPAGE="http://cglib.sourceforge.net"
|
||||
LICENSE="Apache-1.1"
|
||||
SLOT="2"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
COMMON_DEP="=dev-java/asm-1.4.3*
|
||||
=dev-java/aspectwerkz-2*
|
||||
dev-java/ant-core"
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${COMMON_DEP}"
|
||||
# test? ( dev-java/junit:0 )
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
app-arch/unzip
|
||||
${COMMON_DEP}"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
java_prepare() {
|
||||
# needed for ecj-3.5
|
||||
java-ant_rewrite-bootclasspath auto
|
||||
|
||||
epatch "${FILESDIR}/${P}-asm-1.4.3.patch"
|
||||
|
||||
cd "${S}/lib"
|
||||
rm -v *.jar || die
|
||||
java-pkg_jar-from asm-1.4
|
||||
java-pkg_jar-from aspectwerkz-2
|
||||
java-pkg_jar-from ant-core ant.jar
|
||||
}
|
||||
|
||||
#Investigate why this fails
|
||||
EANT_FILTER_COMPILER="ecj-3.3"
|
||||
EANT_TEST_JUNIT_INTO="lib"
|
||||
|
||||
# Fail and would need aspectwekrz-1.0
|
||||
RESTRICT="test"
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar dist/${P}.jar
|
||||
java-pkg_newjar dist/${PN}-full-${PV}.jar ${PN}-full.jar
|
||||
|
||||
dodoc NOTICE README || die
|
||||
use doc && java-pkg_dojavadoc docs
|
||||
use source && java-pkg_dosrc src/proxy/net
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/cglib/cglib-2.1.3.ebuild,v 1.20 2014/08/10 20:09:21 slyfox Exp $
|
||||
|
||||
EAPI=2
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
MY_PV=${PV/1./1_}
|
||||
DESCRIPTION="cglib is a powerful, high performance and quality Code Generation Library"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${MY_PV}.jar"
|
||||
HOMEPAGE="http://cglib.sourceforge.net"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="2.1"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
COMMON_DEP="dev-java/asm:1.5
|
||||
dev-java/aspectwerkz:2
|
||||
dev-java/ant-core"
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
app-arch/unzip
|
||||
dev-java/jarjar
|
||||
${COMMON_DEP}"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
java_prepare() {
|
||||
# needed for ecj-3.5
|
||||
java-ant_rewrite-bootclasspath auto
|
||||
|
||||
cd "${S}/lib"
|
||||
rm -v *.jar || die
|
||||
java-pkg_jar-from asm-1.5
|
||||
java-pkg_jar-from aspectwerkz-2
|
||||
java-pkg_jar-from ant-core ant.jar
|
||||
}
|
||||
|
||||
EANT_FILTER_COMPILER="ecj-3.3"
|
||||
EANT_ANT_TASKS="jarjar-1"
|
||||
|
||||
# Does not work against our current version of aspectwerkz
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=183997
|
||||
RESTRICT="test"
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar dist/${PN}-${MY_PV}.jar
|
||||
java-pkg_newjar dist/${PN}-nodep-${MY_PV}.jar ${PN}-nodep.jar
|
||||
|
||||
dodoc NOTICE README || die
|
||||
use doc && java-pkg_dojavadoc docs/
|
||||
use source && java-pkg_dosrc src/proxy/net
|
||||
}
|
@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/cglib/cglib-2.2.3.ebuild,v 1.3 2014/08/10 20:09:21 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
JAVA_PKG_IUSE="test doc examples source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="cglib is a powerful, high performance and quality Code Generation Library"
|
||||
HOMEPAGE="http://cglib.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}.${PV}.zip"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="2.2"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
|
||||
|
||||
COMMON_DEP="dev-java/asm:3
|
||||
>=dev-java/ant-core-1.7.0:0"
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
app-arch/unzip
|
||||
test? ( dev-java/junit:0 )
|
||||
${COMMON_DEP}"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
EANT_GENTOO_CLASSPATH="asm-3,ant-core"
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_TEST_JUNIT_INTO="lib"
|
||||
EANT_TEST_EXTRA_ARGS="-DdebugLocation=${T}/debug"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
unzip -q ${PN}-src-${PV}.jar || die
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-build.patch
|
||||
|
||||
# fix line endings otherwise patch fails
|
||||
edos2unix src/test/net/sf/cglib/CodeGenTestCase.java
|
||||
# mem leak tests fail on ppc #284316
|
||||
# assuming gc() guarantees to free all memory is wrong, so don't make them fail
|
||||
epatch "${FILESDIR}/${PN}-2.2-no-leak-test.patch"
|
||||
|
||||
cp "${FILESDIR}"/words.txt src/test/net/sf/cglib/util/ || die
|
||||
|
||||
find . -name '*.jar' -delete
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar dist/${P}.jar
|
||||
dodoc NOTICE README
|
||||
|
||||
use doc && java-pkg_dojavadoc docs
|
||||
use source && java-pkg_dosrc src/proxy/net
|
||||
use examples && java-pkg_doexamples --subdir samples src/proxy/samples
|
||||
}
|
@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/cglib/cglib-2.2.ebuild,v 1.7 2014/08/10 20:09:21 slyfox Exp $
|
||||
|
||||
EAPI="2"
|
||||
JAVA_PKG_IUSE="test doc examples source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="cglib is a powerful, high performance and quality Code Generation Library"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.jar"
|
||||
HOMEPAGE="http://cglib.sourceforge.net"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="2.2"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
|
||||
COMMON_DEP="dev-java/asm:3
|
||||
>=dev-java/ant-core-1.7.0"
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
app-arch/unzip
|
||||
test? ( dev-java/junit )
|
||||
${COMMON_DEP}"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-build.patch"
|
||||
# mem leak tests fail on ppc #284316
|
||||
# assuming gc() guarantees to free all memory is wrong, so don't make them fail
|
||||
epatch "${FILESDIR}/${P}-no-leak-test.patch"
|
||||
|
||||
cp "${FILESDIR}/words.txt" "${S}/src/test/net/sf/cglib/util/"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
cd "${S}/lib"
|
||||
rm -v *.jar || die
|
||||
java-pkg_jar-from asm-3 asm.jar
|
||||
java-pkg_jar-from asm-3 asm-util.jar
|
||||
java-pkg_jar-from asm-3 asm-commons.jar
|
||||
java-pkg_jar-from ant-core ant.jar
|
||||
}
|
||||
|
||||
EANT_TEST_JUNIT_INTO="lib"
|
||||
EANT_TEST_EXTRA_ARGS="-DdebugLocation=${T}/debug"
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar dist/${P}.jar ${PN}.jar
|
||||
|
||||
dodoc NOTICE README || die
|
||||
use doc && java-pkg_dojavadoc docs
|
||||
use source && java-pkg_dosrc src/proxy/net
|
||||
use examples && java-pkg_doexamples --subdir samples src/proxy/samples
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-digester/commons-digester-3.2.ebuild,v 1.4 2015/04/11 21:05:13 monsieurp Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
# See bug #480758.
|
||||
RESTRICT="test"
|
||||
JAVA_PKG_IUSE="doc examples source" # test
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
MY_P="${PN}3-${PV}-src"
|
||||
|
||||
DESCRIPTION="Reads XML configuration files to provide initialization of various Java objects within the system"
|
||||
HOMEPAGE="http://commons.apache.org/digester/"
|
||||
SRC_URI="mirror://apache/commons/digester/source/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.2"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
dev-java/commons-beanutils:1.7
|
||||
>=dev-java/commons-logging-1.0.2:0
|
||||
dev-java/cglib:2.2"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
${RDEPEND}"
|
||||
# test? (
|
||||
# dev-java/junit:4
|
||||
# dev-java/ant-junit
|
||||
# )
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_GENTOO_CLASSPATH="commons-beanutils-1.7,commons-logging,cglib-2.2"
|
||||
EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${PN}-2.1-build.xml build.xml || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg_jar-from --build-only junit-4
|
||||
|
||||
ANT_TASKS="ant-junit" eant \
|
||||
-Djunit.jar="$(java-pkg_getjar --build-only junit-4 junit.jar)" test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar target/${PN}.jar
|
||||
|
||||
dodoc RELEASE-NOTES.txt
|
||||
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src/main/java/org
|
||||
use examples && java-pkg_doexamples src/examples
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST jdk-1_5_0-doc-r1.zip 46191338 SHA256 accb7b36442ac5bed7a3091abedf4e29ba06e23b541f4faa1d0632a3d02053cc
|
||||
DIST jdk-6u30-apidocs.zip 59086542 SHA256 92739c56e02fa6e7ac8d60a1f59a0ef4a59ac99ab2979d3cdc495bfecf1a50ab SHA512 5139b1a65765f258f21c629a0cfbf07aed0c12b3eb08d4615b049e825abd90c5b3385af99dba3a4ac6e0a94a5ffaa32ee648fb3e7ac1815ec6b74fe0d8e9f0ee WHIRLPOOL 941236c68b189f9cd23f0e904cc01da9f87cc39967c84cddf4c20a04fa2872eb99af147a21bb770320cad28b2cd86205402a141f7217d5301fa9a6ea41c3a136
|
||||
DIST jdk-7u80-docs-all.zip 61168809 SHA256 0494bd49bc9cb3cbe3203120ae8b2c8e0aeb1579cb15c0fbd3cd780d19aa200a SHA512 c673c00e55c9a19938c42512cb9c6ae65de9803a1307d11a2043903d87cc36d9ed1f5a1e287040d8570e430cfe55f496354c1242fe6e242f1245f8271394ea1a WHIRLPOOL ad18886c401ec42735665081a0dd5ba3dc7678de0171f3aa8151c2e4ce3392e467be65c602f393da38373e589fa9800ed1afd3601d2cef4e48b06e57f491698e
|
||||
DIST jdk-8u45-docs-all.zip 92214205 SHA256 bc83053e6730779a97077cf1246e7c57e46600294357ab37675555c1c6a11cbc SHA512 b4f15bab3b7d28f78e19c72bf8266d3f53b43b8b413903a03bcd141af5adcbd3031053d532c886288048e5b887f7d712d4dc422eb5e9395d7c8fc85adcda119f WHIRLPOOL 879de168fe76531345059f5e2be9efa99105181ef928823f6b6448c60094afbab44c920034aa26c0cc81edefc4bfc01985ec68ba29403feba30cd58ec4beb18c
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.5.0-r1.ebuild,v 1.12 2010/05/13 20:28:33 nelchael Exp $
|
||||
|
||||
SRC_URI="jdk-1_5_0-doc-${PR}.zip"
|
||||
DESCRIPTION="Sun's documentation bundle (including API) for Java SE"
|
||||
HOMEPAGE="http://java.sun.com/j2se/1.5.0/"
|
||||
LICENSE="sun-j2sl"
|
||||
SLOT="1.5.0"
|
||||
KEYWORDS="amd64 ia64 ppc ppc64 x86"
|
||||
IUSE=""
|
||||
DEPEND=">=app-arch/unzip-5.50-r1"
|
||||
RDEPEND=""
|
||||
RESTRICT="fetch"
|
||||
|
||||
DOWNLOAD_URL="https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jdk-1.5.0-doc-oth-JPR@CDS-CDS_Developer"
|
||||
|
||||
S="${WORKDIR}/docs"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download jdk-1_5_0-doc.zip from"
|
||||
einfo "${DOWNLOAD_URL}"
|
||||
einfo "(select English and agree to the license) and place it in ${DISTDIR} named as"
|
||||
einfo "${SRC_URI}. Notice the ${PR}. Because Sun changes the doc zip file"
|
||||
einfo "without changing the filename, we have to resort to renaming to keep"
|
||||
einfo "the md5sum verification working existing and new downloads."
|
||||
einfo ""
|
||||
einfo "If emerge fails because of a md5sum error it is possible that Sun"
|
||||
einfo "has again changed the upstream release, try downloading the file"
|
||||
einfo "again or a newer revision if available. Otherwise report this to"
|
||||
einfo "http://bugs.gentoo.org/67266 and we will make a new revision."
|
||||
}
|
||||
|
||||
src_install(){
|
||||
insinto /usr/share/doc/${P}/html
|
||||
doins index.html
|
||||
|
||||
local dirs="api guide images relnotes tooldocs"
|
||||
for i in $dirs ; do
|
||||
doins -r $i
|
||||
done
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST commons-jcs-dist-2.0-beta-1-src.tar.gz 825048 SHA256 2ff60facc31b52625f1f2d8907380947508790bd864e2fea03625dee0c36ffa5 SHA512 56d68807de6d47debc893584a738bc797c2a150503ae460dc1444e9434b438926f6ad9fe8c1292250f6a0b2936210084cbd512083b5a8cc4f20e692b759a314f WHIRLPOOL e5e67465a7c318ec73de3ffacc566cce48304a3379885dd814f0c32f362c1d2e24abf2935e090056df0bd8db0fa85cb36553203e5eb6e837e23e888ca6cd137f
|
||||
DIST jcs-1.2.7.9.tar.bz2 570289 SHA256 9963cfb34fd813167b52907f21c2c5123f8a78b2d4fe2d21802967fb097735cf SHA512 3ea9a753d95815fcd81266e4ce83046b2eac22d52ab166929cbc082d2b5aa7e184a74adf87dcd77a2f19c4658d15deb364a439f515d4a1ba5d20c021f230abbc WHIRLPOOL 43e0a7853843e7c32799213043270b86e36e34756c3ce991a12d919a03f3bd806405b2734a938b236fa27d0e8e2b3bf2a2bd159235c6b9a70a5ce8f83fb1acb6
|
||||
DIST jcs-1.3-src.tar.gz 608600 SHA256 cb5534698e77e04715e634ed748941e3c24ecc0be6b8db1731a131848a51f611 SHA512 edaf63c83393c9e48711aa3b76545cafb2297909a4f7470a1396f3a1d3f7a5c78321ce29a8d0097be8b0600e587757fd1d45b5e5feb31e658ec6b4f3af950be6 WHIRLPOOL 34e698826ffd14b2b0fe488b5dcbac02fc43abb969eca207e98bef45b448c767e567f489682419a4e8566439026bef721bf57fc564cb6570ba692a36a4358da3
|
||||
|
@ -0,0 +1,306 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
|
||||
<!-- ====================================================================== -->
|
||||
<!-- -->
|
||||
<!-- Any modifications will be overwritten. -->
|
||||
<!-- -->
|
||||
<!-- Generated by Maven Ant Plugin on 6/14/15 12:02 AM -->
|
||||
<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
|
||||
<!-- -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<project name="commons-jcs-core-from-maven" default="package" basedir=".">
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Build environment properties -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<property file="${user.home}/.m2/maven.properties"/>
|
||||
<property file="maven-build.properties"/>
|
||||
|
||||
<property name="maven.build.finalName" value="commons-jcs-core-2.0-beta-1"/>
|
||||
<property name="maven.build.dir" value="target"/>
|
||||
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
|
||||
<property name="maven.build.srcDir.0" value="src/main/java"/>
|
||||
<property name="maven.build.resourceDir.0" value="src/main/resources"/>
|
||||
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
|
||||
<property name="maven.build.testDir.0" value="src/test/java"/>
|
||||
<property name="maven.build.testResourceDir.0" value="src/test/test-conf"/>
|
||||
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
|
||||
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
|
||||
|
||||
<property name="maven.repo.local" value="${user.home}/.m2/repository"/>
|
||||
<property name="maven.settings.offline" value="false"/>
|
||||
<property name="maven.settings.interactiveMode" value="true"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Defining classpaths -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<path id="build.classpath">
|
||||
<pathelement location="${maven.repo.local}/commons-logging/commons-logging/1.2/commons-logging-1.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-dbcp/commons-dbcp/1.4/commons-dbcp-1.4.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-pool/commons-pool/1.6/commons-pool-1.6.jar"/>
|
||||
<pathelement location="${maven.repo.local}/hsqldb/hsqldb/1.8.0.10/hsqldb-1.8.0.10.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/velocity/velocity-tools/2.0/velocity-tools-2.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-digester/commons-digester/1.8/commons-digester-1.8.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-chain/commons-chain/1.1/commons-chain-1.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-collections/commons-collections/3.2/commons-collections-3.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-validator/commons-validator/1.3.1/commons-validator-1.3.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/dom4j/dom4j/1.1/dom4j-1.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/oro/oro/2.0.8/oro-2.0.8.jar"/>
|
||||
<pathelement location="${maven.repo.local}/sslext/sslext/1.2-0/sslext-1.2-0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/struts/struts-core/1.3.8/struts-core-1.3.8.jar"/>
|
||||
<pathelement location="${maven.repo.local}/antlr/antlr/2.7.2/antlr-2.7.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/struts/struts-taglib/1.3.8/struts-taglib-1.3.8.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/struts/struts-tiles/1.3.8/struts-tiles-1.3.8.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/velocity/velocity/1.6.2/velocity-1.6.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-lang/commons-lang/2.4/commons-lang-2.4.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-codec/commons-codec/1.2/commons-codec-1.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar"/>
|
||||
</path>
|
||||
<path id="build.test.classpath">
|
||||
<pathelement location="${maven.repo.local}/commons-logging/commons-logging/1.2/commons-logging-1.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-dbcp/commons-dbcp/1.4/commons-dbcp-1.4.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-pool/commons-pool/1.6/commons-pool-1.6.jar"/>
|
||||
<pathelement location="${maven.repo.local}/hsqldb/hsqldb/1.8.0.10/hsqldb-1.8.0.10.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/commons/commons-collections4/4.0/commons-collections4-4.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/junit/junit/4.11/junit-4.11.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar"/>
|
||||
<pathelement location="${maven.repo.local}/log4j/log4j/1.2.17/log4j-1.2.17.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/velocity/velocity-tools/2.0/velocity-tools-2.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-digester/commons-digester/1.8/commons-digester-1.8.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-chain/commons-chain/1.1/commons-chain-1.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-collections/commons-collections/3.2/commons-collections-3.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-validator/commons-validator/1.3.1/commons-validator-1.3.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/dom4j/dom4j/1.1/dom4j-1.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/oro/oro/2.0.8/oro-2.0.8.jar"/>
|
||||
<pathelement location="${maven.repo.local}/sslext/sslext/1.2-0/sslext-1.2-0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/struts/struts-core/1.3.8/struts-core-1.3.8.jar"/>
|
||||
<pathelement location="${maven.repo.local}/antlr/antlr/2.7.2/antlr-2.7.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/struts/struts-taglib/1.3.8/struts-taglib-1.3.8.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/struts/struts-tiles/1.3.8/struts-tiles-1.3.8.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/velocity/velocity/1.6.2/velocity-1.6.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-lang/commons-lang/2.4/commons-lang-2.4.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-codec/commons-codec/1.2/commons-codec-1.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar"/>
|
||||
</path>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Cleaning up target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile" description="Compile the code">
|
||||
<mkdir dir="${maven.build.outputDir}"/>
|
||||
<javac destdir="${maven.build.outputDir}"
|
||||
encoding="UTF-8"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.6"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.6">
|
||||
<src>
|
||||
<pathelement location="${maven.build.srcDir.0}"/>
|
||||
</src>
|
||||
<classpath refid="build.classpath"/>
|
||||
</javac>
|
||||
<mkdir dir="${maven.build.outputDir}//var/tmp/portage/dev-java/jcs-2.0/work/commons-jcs-dist-2.0-beta-1-src/commons-jcs-core/target/classes"/>
|
||||
<copy todir="${maven.build.outputDir}//var/tmp/portage/dev-java/jcs-2.0/work/commons-jcs-dist-2.0-beta-1-src/commons-jcs-core/target/classes">
|
||||
<fileset dir="${maven.build.resourceDir.0}"/>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Test-compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile-tests"
|
||||
description="Compile the test code"
|
||||
unless="maven.test.skip">
|
||||
<mkdir dir="${maven.build.testOutputDir}"/>
|
||||
<javac destdir="${maven.build.testOutputDir}"
|
||||
encoding="UTF-8"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.6"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.6">
|
||||
<src>
|
||||
<pathelement location="${maven.build.testDir.0}"/>
|
||||
</src>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
<copy todir="${maven.build.testOutputDir}">
|
||||
<fileset dir="${maven.build.testResourceDir.0}">
|
||||
<include name="**/*.properties"/>
|
||||
<include name="**/*.ccf"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Run all tests -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test"
|
||||
depends="compile-tests, junit-missing"
|
||||
unless="junit.skipped"
|
||||
description="Run the test cases">
|
||||
<mkdir dir="${maven.test.reports}"/>
|
||||
<junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
|
||||
<sysproperty key="basedir" value="."/>
|
||||
<formatter type="xml"/>
|
||||
<formatter type="plain" usefile="false"/>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
<pathelement location="${maven.build.testOutputDir}"/>
|
||||
</classpath>
|
||||
<batchtest todir="${maven.test.reports}" unless="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/*UnitTest.java"/>
|
||||
<exclude name="**/BlockDiskElementDescriptorUnitTest.java"/>
|
||||
<exclude name="**/HSQLDiskCacheConcurrentUnitTest.java"/>
|
||||
<exclude name="**/HSQLDiskCacheUnitTest.java"/>
|
||||
<exclude name="**/IndexedDiskCacheOptimizationUnitTest.java"/>
|
||||
<exclude name="**/TestTCPLateralUnitTest.java"/>
|
||||
<exclude name="**/UDPDiscoveryUnitTest.java"/>
|
||||
<exclude name="**/UDPDiscoverySenderUnitTest.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
<batchtest todir="${maven.test.reports}" if="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/${test}.java"/>
|
||||
<exclude name="**/BlockDiskElementDescriptorUnitTest.java"/>
|
||||
<exclude name="**/HSQLDiskCacheConcurrentUnitTest.java"/>
|
||||
<exclude name="**/HSQLDiskCacheUnitTest.java"/>
|
||||
<exclude name="**/IndexedDiskCacheOptimizationUnitTest.java"/>
|
||||
<exclude name="**/TestTCPLateralUnitTest.java"/>
|
||||
<exclude name="**/UDPDiscoveryUnitTest.java"/>
|
||||
<exclude name="**/UDPDiscoverySenderUnitTest.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-present">
|
||||
<available classname="junit.framework.Test" property="junit.present" classpathref="build.test.classpath"/>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-status"
|
||||
depends="test-junit-present">
|
||||
<condition property="junit.missing">
|
||||
<and>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<isfalse value="${maven.test.skip}"/>
|
||||
</and>
|
||||
</condition>
|
||||
<condition property="junit.skipped">
|
||||
<or>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<istrue value="${maven.test.skip}"/>
|
||||
</or>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="junit-missing"
|
||||
depends="test-junit-status"
|
||||
if="junit.missing">
|
||||
<echo>=================================== WARNING ===================================</echo>
|
||||
<echo> JUnit is not present in the test classpath or your $ANT_HOME/lib directory. Tests not executed.</echo>
|
||||
<echo>===============================================================================</echo>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Javadoc target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||
<javadoc sourcepath="${maven.build.srcDir.0}"
|
||||
packagenames="*"
|
||||
destdir="${maven.reporting.outputDirectory}/apidocs"
|
||||
access="protected"
|
||||
old="false"
|
||||
verbose="false"
|
||||
encoding="UTF-8"
|
||||
version="true"
|
||||
use="true"
|
||||
author="true"
|
||||
splitindex="false"
|
||||
nodeprecated="false"
|
||||
nodeprecatedlist="false"
|
||||
notree="false"
|
||||
noindex="false"
|
||||
nohelp="false"
|
||||
nonavbar="false"
|
||||
serialwarn="false"
|
||||
charset="ISO-8859-1"
|
||||
docencoding="UTF-8"
|
||||
source="1.6"
|
||||
linksource="true"
|
||||
breakiterator="false">
|
||||
<link href="http://docs.oracle.com/javase/6/docs/api/"/>
|
||||
<link href="http://docs.oracle.com/javaee/6/api/"/>
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Package target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="package" depends="compile" description="Package the application">
|
||||
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
basedir="${maven.build.outputDir}"
|
||||
excludes="**/package.html">
|
||||
<manifest>
|
||||
<attribute name="Main-Class" value="Main"/>
|
||||
</manifest>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- A dummy target for the package named after the type it creates -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Download dependencies target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test-offline">
|
||||
<condition property="maven.mode.offline">
|
||||
<equals arg1="${maven.settings.offline}" arg2="true"/>
|
||||
</condition>
|
||||
</target>
|
||||
</project>
|
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jcs/jcs-2.0.ebuild,v 1.1 2015/06/14 14:38:41 monsieurp Exp $
|
||||
|
||||
EAPI=5
|
||||
JAVA_PKG_IUSE="test doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_P="commons-${PN}-dist-${PV}-beta-1-src"
|
||||
JCS_CORE="commons-${PN}-core"
|
||||
|
||||
DESCRIPTION="JCS is a distributed caching system written in Java for server-side Java applications"
|
||||
HOMEPAGE="http://commons.apache.org/jcs/"
|
||||
SRC_URI="http://apache.mirrors.ovh.net/ftp.apache.org/dist/commons/${PN}/source/commons-${PN}-dist-${PV}-beta-1-src.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="2.0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="admin"
|
||||
|
||||
CDEPEND="dev-java/jisp:2.5
|
||||
dev-db/hsqldb:0
|
||||
dev-java/xmlrpc:0
|
||||
dev-java/commons-lang:0
|
||||
dev-java/commons-dbcp:0
|
||||
dev-java/commons-pool:0
|
||||
dev-java/commons-logging:0
|
||||
dev-java/commons-httpclient:3
|
||||
java-virtuals/servlet-api:3.0"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
${CDEPEND}"
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
test? ( dev-java/ant-junit:0 )
|
||||
${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_GENTOO_CLASSPATH="
|
||||
xmlrpc
|
||||
hsqldb
|
||||
jisp-2.5
|
||||
commons-lang
|
||||
commons-pool
|
||||
commons-dbcp
|
||||
commons-logging
|
||||
commons-httpclient-3
|
||||
servlet-api-3.0
|
||||
"
|
||||
|
||||
EANT_BUILD_XML="${JCS_CORE}/build.xml"
|
||||
EANT_BUILD_TARGET="package"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}/${P}-build.xml" ${JCS_CORE}/build.xml
|
||||
|
||||
# Disable the velocity-tools dep.
|
||||
rm -v \
|
||||
${JCS_CORE}/src/main/java/org/apache/commons/jcs/admin/servlet/JCSAdminServlet.java
|
||||
|
||||
if use test; then
|
||||
# Make use of commons-collections4 not yet packaged in Gentoo
|
||||
rm -v \
|
||||
"${JCS_CORE}"/src/test/java/org/apache/commons/jcs/utils/struct/JCSvsCommonsLRUMapPerformanceTest.java \
|
||||
"${JCS_CORE}"/src/test/java/org/apache/commons/jcs/utils/struct/LRUMapPerformanceTest.java
|
||||
|
||||
# Fails for some reason.
|
||||
rm -v \
|
||||
"${JCS_CORE}"/src/test/java/org/apache/commons/jcs/auxiliary/disk/AbstractDiskCacheUnitTest.java \
|
||||
"${JCS_CORE}"/src/test/java/org/apache/commons/jcs/auxiliary/disk/LRUMapJCSUnitTest.java \
|
||||
"${JCS_CORE}"/src/test/java/org/apache/commons/jcs/engine/logging/CacheEventLoggerDebugLoggerUnitTest.java \
|
||||
"${JCS_CORE}"/src/test/java/org/apache/commons/jcs/utils/struct/DoubleLinkedListUnitTest.java
|
||||
fi
|
||||
}
|
||||
|
||||
EANT_TEST_TARGET="test"
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local target="${JCS_CORE}"/target
|
||||
java-pkg_newjar "${target}"/"${JCS_CORE}-${PV}"-beta-1.jar "${JCS_CORE}".jar
|
||||
|
||||
if use doc; then
|
||||
java-pkg_dojavadoc "${target}"/site/apidocs
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
java-pkg_dosrc "${JCS_CORE}"/src
|
||||
fi
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST jmock-1.1.0-src.zip 579355 SHA256 3f9fbfe322e2e09878a9418c86c9f440bf135ea09487e117d151f12cfc93050e SHA512 7728f23bdfb78b2989400e48d90c42aa72d8c95f678597cf8e234109d9df2c4abc36ebbf4edbe16167b38891ef624d14cc6aae9b7be33a31b41b4caaae157dd8 WHIRLPOOL 875d4988bd0a2d3dadf98c2e95d33f08eb37c35ae647d93d8a426a0d88c27983b039168b10e8bdb1d7f0dda7424d97b3fb5448a76490eca7d8d464036bfc9e7b
|
||||
DIST jmock-1.2.0-jars.zip 153318 SHA256 c98e8dd0e5ebb590578baf4eb095b0c69084cd448269cac6c7dd52075ced5b36 SHA512 7b854c462e04642444f8994875d496655986a094b113f888c8dd5f07149c41c4e97e23f8f0cf75822b4e8281ffb90054ac44024cacd3f6e55ef0659e463f0cc5 WHIRLPOOL b2563df867f481706a9a7ebf4b5535321bcb295c42233575fb657908c232cda8416d3e1a5c78b67d41a311efdb0760ad5984278ae9cc02ea81868184767cc88a
|
||||
DIST jmock-2.5.1-jars.zip 758019 SHA256 e5f8d704d732a4e0d2a7788d966e6c8cfc722707bf278b6c0618f9d46eae6e7a SHA512 97032dd3f7f2b8e4e310e04722af0f444a60b0908ca45111b0ad1578f92ddac411c9d66f6eb696f45134c8baced86c10194b5ebbd8974090a585e95583dd2a9c WHIRLPOOL 1e50a9da3f8a16f4f706f2631f2a9aee89a89067c1a365284c116e6bdd7a4e5c4ac9a828317e13e49d097ad59bb7cd4f7d49cf99ed47055a17b2faa418300f94
|
||||
DIST jmock-2.6.1-jars.zip 1249841 SHA256 e49a0f7628c6368e46de1c48dfd8aed084f03661d87cf3a78025fdec367021fb SHA512 7cd1d2e89dceb31c68ad3f702ad937b5de6ec77cc37e94be7aa53db2fc61d11aa40ec5aab225a3eeeba5064ad8384f10413ac05a9df97102c8e63f4209ea149e WHIRLPOOL e67be30e6718b998a34a52cdaa59ba7afc19969b5fe08529ea056867c0b8b3fad2628eb04b8b0b778bd215d29fe4aa962b0021afbb64835eac845f76c4b5987d
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue