parent
bd8112b110
commit
8f78320a96
@ -1 +1,2 @@
|
||||
DIST collectd-5.4.1.tar.bz2 1521907 SHA256 75452129f271cb0aad28e57f12a49070618bbb7b6a9d64cf869e8766fa2f66e0 SHA512 96289f52d3d1da55c862ae9ee2f57972682d7eab87387e97efa41fb5197599e097abd71aed2fe014e26af37c9ae98471e06dd181c725849976242642ce5c9492 WHIRLPOOL 2ed85b9d6d00c4e7dc6af236b637e282f17c6c0b20c1ba3da9c12ea85c5fdea1add2e29165874c7e9620852e422282d489436a4e245b161902f8926185edec16
|
||||
DIST collectd-5.5.0.tar.bz2 1824495 SHA256 847684cf5c10de1dc34145078af3fcf6e0d168ba98c14f1343b1062a4b569e88 SHA512 d2c2840f681c10345e02ad8df0f7c581dcb45bee276589fcd96b3dadd281a79ebb3b9a34a186242ef41285dde7fc505432376138ff4f72c4f60f1b840e640017 WHIRLPOOL 6223ca363984ab3777ca89e2cd5011f059b6ca7f5c66c5e7325d3155ce38ef2829caced3ad27e4d5016c5fdba59bb21b9b47d840ea0c4d164c3674b6ee5062ac
|
||||
|
@ -0,0 +1,399 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
GENTOO_DEPEND_ON_PERL="no"
|
||||
JAVA_PKG_OPT_USE="collectd_plugins_java"
|
||||
# XXX: 5.4.1-r0 stated 2* but it builds fine against 3.4
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit autotools eutils fcaps java-pkg-opt-2 linux-info multilib perl-app python-single-r1 systemd user
|
||||
|
||||
DESCRIPTION="Collects system statistics and provides mechanisms to store the values"
|
||||
|
||||
HOMEPAGE="http://collectd.org"
|
||||
SRC_URI="${HOMEPAGE}/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="contrib debug kernel_linux kernel_FreeBSD kernel_Darwin perl selinux static-libs"
|
||||
|
||||
# The plugin lists have to follow here since they extend IUSE
|
||||
|
||||
# Plugins that to my knowledge cannot be supported (eg. dependencies not in gentoo)
|
||||
COLLECTD_IMPOSSIBLE_PLUGINS="aquaero mic netapp pinba sigrok write_kafka xmms"
|
||||
|
||||
# Plugins that still need some work
|
||||
COLLECTD_UNTESTED_PLUGINS="amqp apple_sensors genericjmx ipvs lpar modbus tape"
|
||||
|
||||
# Plugins that have been (compile) tested and can be enabled via COLLECTD_PLUGINS
|
||||
COLLECTD_TESTED_PLUGINS="aggregation apache apcups ascent battery bind ceph
|
||||
cgroups conntrack contextswitch cpu cpufreq csv curl curl_json curl_xml dbi df
|
||||
disk dns drbd email entropy ethstat exec fhcount filecount fscache gmond
|
||||
hddtemp interface ipc ipmi iptables irq java load log_logstash logfile lvm
|
||||
madwifi match_empty_counter match_hashed match_regex match_timediff match_value
|
||||
mbmon md memcachec memcached memory multimeter mysql netlink network nfs nginx
|
||||
notify_desktop notify_email ntpd numa nut olsrd onewire openldap openvpn oracle
|
||||
perl ping postgresql powerdns processes protocols python redis routeros
|
||||
rrdcached rrdtool sensors serial smart snmp statsd swap syslog table tail
|
||||
target_notification target_replace target_scale target_set tcpconns teamspeak2
|
||||
ted thermal threshold tokyotyrant turbostat unixsock uptime users uuid varnish
|
||||
virt vmem vserver wireless write_graphite write_http write_log write_mongodb
|
||||
write_redis write_sensu write_tsdb zfs_arc zookeeper"
|
||||
|
||||
COLLECTD_DISABLED_PLUGINS="${COLLECTD_IMPOSSIBLE_PLUGINS} ${COLLECTD_UNTESTED_PLUGINS}"
|
||||
|
||||
COLLECTD_ALL_PLUGINS=${COLLECTD_TESTED_PLUGINS}
|
||||
|
||||
for plugin in ${COLLECTD_ALL_PLUGINS}; do
|
||||
IUSE="${IUSE} collectd_plugins_${plugin}"
|
||||
done
|
||||
unset plugin
|
||||
|
||||
# Now come the dependencies.
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-libs/libgcrypt:0
|
||||
sys-devel/libtool
|
||||
perl? ( dev-lang/perl:=[ithreads] )
|
||||
collectd_plugins_apache? ( net-misc/curl )
|
||||
collectd_plugins_ascent? ( net-misc/curl dev-libs/libxml2 )
|
||||
collectd_plugins_bind? ( dev-libs/libxml2:= )
|
||||
collectd_plugins_ceph? ( dev-libs/yajl:= )
|
||||
collectd_plugins_curl? ( net-misc/curl )
|
||||
collectd_plugins_curl_json? ( net-misc/curl dev-libs/yajl:= )
|
||||
collectd_plugins_curl_xml? ( net-misc/curl dev-libs/libxml2:= )
|
||||
collectd_plugins_dbi? ( dev-db/libdbi:= )
|
||||
collectd_plugins_dns? ( net-libs/libpcap:= )
|
||||
collectd_plugins_gmond? ( sys-cluster/ganglia )
|
||||
collectd_plugins_ipmi? ( >=sys-libs/openipmi-2.0.16-r1 )
|
||||
collectd_plugins_iptables? ( >=net-firewall/iptables-1.4.13 )
|
||||
collectd_plugins_log_logstash? ( dev-libs/yajl:= )
|
||||
collectd_plugins_lvm? ( sys-fs/lvm2 )
|
||||
collectd_plugins_memcachec? ( dev-libs/libmemcached:= )
|
||||
collectd_plugins_mysql? ( >=virtual/mysql-5.0 )
|
||||
collectd_plugins_netlink? ( net-libs/libmnl:= )
|
||||
collectd_plugins_nginx? ( net-misc/curl )
|
||||
collectd_plugins_notify_desktop? ( x11-libs/libnotify:= )
|
||||
collectd_plugins_notify_email? ( net-libs/libesmtp dev-libs/openssl:0= )
|
||||
collectd_plugins_nut? ( sys-power/nut )
|
||||
collectd_plugins_onewire? ( sys-fs/owfs )
|
||||
collectd_plugins_oracle? ( dev-db/oracle-instantclient-basic )
|
||||
collectd_plugins_openldap? ( net-nds/openldap )
|
||||
collectd_plugins_perl? ( dev-lang/perl:=[ithreads] )
|
||||
collectd_plugins_ping? ( net-libs/liboping:= )
|
||||
collectd_plugins_postgresql? ( dev-db/postgresql:= )
|
||||
collectd_plugins_python? ( ${PYTHON_DEPS} )
|
||||
collectd_plugins_redis? ( dev-libs/hiredis:= )
|
||||
collectd_plugins_routeros? ( net-libs/librouteros:= )
|
||||
collectd_plugins_rrdcached? ( net-analyzer/rrdtool )
|
||||
collectd_plugins_rrdtool? ( net-analyzer/rrdtool )
|
||||
collectd_plugins_sensors? ( sys-apps/lm_sensors )
|
||||
collectd_plugins_smart? ( dev-libs/libatasmart:= )
|
||||
collectd_plugins_snmp? ( net-analyzer/net-snmp )
|
||||
collectd_plugins_tokyotyrant? ( net-misc/tokyotyrant )
|
||||
collectd_plugins_varnish? ( www-servers/varnish )
|
||||
collectd_plugins_virt? ( app-emulation/libvirt dev-libs/libxml2 )
|
||||
collectd_plugins_write_http? ( net-misc/curl )
|
||||
collectd_plugins_write_mongodb? ( dev-libs/mongo-c-driver:= )
|
||||
collectd_plugins_write_redis? ( dev-libs/hiredis:= )
|
||||
|
||||
kernel_FreeBSD? (
|
||||
collectd_plugins_disk? ( sys-libs/libstatgrab:= )
|
||||
collectd_plugins_interface? ( sys-libs/libstatgrab:= )
|
||||
collectd_plugins_load? ( sys-libs/libstatgrab:= )
|
||||
collectd_plugins_memory? ( sys-libs/libstatgrab:= )
|
||||
collectd_plugins_swap? ( sys-libs/libstatgrab:= )
|
||||
collectd_plugins_users? ( sys-libs/libstatgrab:= )
|
||||
)"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
collectd_plugins_java? ( >=virtual/jdk-1.6 )
|
||||
kernel_linux? (
|
||||
collectd_plugins_vserver? ( sys-kernel/vserver-sources )
|
||||
)"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
collectd_plugins_java? ( >=virtual/jre-1.6 )
|
||||
collectd_plugins_syslog? ( virtual/logger )
|
||||
selinux? ( sec-policy/selinux-collectd )"
|
||||
|
||||
REQUIRED_USE="
|
||||
collectd_plugins_python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-5.4.1"-{libocci,lt}.patch
|
||||
"${FILESDIR}/${PN}-4.10.3"-werror.patch
|
||||
)
|
||||
|
||||
# @FUNCTION: collectd_plugin_kernel_linux
|
||||
# @DESCRIPTION:
|
||||
# USAGE: <plug-in name> <kernel_options> <severity>
|
||||
# kernel_options is a list of kernel configurations options; the check tests whether at least
|
||||
# one of them is enabled. If no, depending on the third argument an elog, ewarn, or eerror message
|
||||
# is emitted.
|
||||
collectd_plugin_kernel_linux() {
|
||||
local multi_opt opt
|
||||
if has ${1} ${COLLECTD_ALL_PLUGINS}; then
|
||||
if use collectd_plugins_${1}; then
|
||||
for opt in ${2}; do
|
||||
if linux_chkconfig_present ${opt}; then return 0; fi
|
||||
done
|
||||
multi_opt=${2//\ /\ or\ }
|
||||
case ${3} in
|
||||
(info)
|
||||
elog "The ${1} plug-in can use kernel features that are disabled now; enable ${multi_opt} in your kernel"
|
||||
;;
|
||||
(warn)
|
||||
ewarn "The ${1} plug-in uses kernel features that are disabled now; enable ${multi_opt} in your kernel"
|
||||
;;
|
||||
(error)
|
||||
eerror "The ${1} plug-in needs kernel features that are disabled now; enable ${multi_opt} in your kernel"
|
||||
;;
|
||||
(*)
|
||||
die "function collectd_plugin_kernel_linux called with invalid third argument"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
collectd_linux_kernel_checks() {
|
||||
linux-info_pkg_setup
|
||||
|
||||
# battery.c:/proc/pmu/battery_%i
|
||||
# battery.c:/proc/acpi/battery
|
||||
collectd_plugin_kernel_linux battery ACPI_BATTERY warn
|
||||
|
||||
# cgroups.c:/sys/fs/cgroup/
|
||||
collectd_plugin_kernel_linux cgroups CONFIG_CGROUPS warn
|
||||
|
||||
# cpufreq.c:/sys/devices/system/cpu/cpu%d/cpufreq/
|
||||
collectd_plugin_kernel_linux cpufreq SYSFS warn
|
||||
collectd_plugin_kernel_linux cpufreq CPU_FREQ_STAT warn
|
||||
|
||||
# nfs.c:/proc/net/rpc/nfs
|
||||
# nfs.c:/proc/net/rpc/nfsd
|
||||
collectd_plugin_kernel_linux nfs NFS_COMMON warn
|
||||
|
||||
# serial.c:/proc/tty/driver/serial
|
||||
# serial.c:/proc/tty/driver/ttyS
|
||||
collectd_plugin_kernel_linux serial SERIAL_CORE warn
|
||||
|
||||
# swap.c:/proc/meminfo
|
||||
collectd_plugin_kernel_linux swap SWAP warn
|
||||
|
||||
# thermal.c:/proc/acpi/thermal_zone
|
||||
# thermal.c:/sys/class/thermal
|
||||
collectd_plugin_kernel_linux thermal "PROC_FS SYSFS" warn
|
||||
collectd_plugin_kernel_linux thermal ACPI_THERMAL warn
|
||||
|
||||
# vmem.c:/proc/vmstat
|
||||
collectd_plugin_kernel_linux vmem VM_EVENT_COUNTERS warn
|
||||
|
||||
# uuid.c:/sys/hypervisor/uuid
|
||||
collectd_plugin_kernel_linux uuid SYSFS info
|
||||
|
||||
# wireless.c:/proc/net/wireless
|
||||
collectd_plugin_kernel_linux wireless "MAC80211 IEEE80211" warn
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use kernel_linux; then
|
||||
if linux_config_exists; then
|
||||
einfo "Checking your linux kernel configuration:"
|
||||
collectd_linux_kernel_checks
|
||||
else
|
||||
elog "Cannot find a linux kernel configuration. Continuing anyway."
|
||||
fi
|
||||
fi
|
||||
|
||||
java-pkg-opt-2_pkg_setup
|
||||
use collectd_plugins_python && python-single-r1_pkg_setup
|
||||
|
||||
enewgroup collectd
|
||||
enewuser collectd -1 -1 /var/lib/collectd collectd
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
epatch_user
|
||||
|
||||
# There's some strange prefix handling in the default config file, resulting in
|
||||
# paths like "/usr/var/..."
|
||||
sed -i -e "s:@prefix@/var:/var:g" src/collectd.conf.in || die
|
||||
|
||||
sed -i -e "s:/etc/collectd/collectd.conf:/etc/collectd.conf:g" contrib/collectd.service || die
|
||||
|
||||
# fix installdirs for perl, bug 444360
|
||||
sed -i -e 's/INSTALL_BASE=$(DESTDIR)$(prefix) //' bindings/Makefile.am || die
|
||||
|
||||
if use collectd_plugins_java; then
|
||||
# Set javac -source and -target flags according to (R)DEPEND.
|
||||
sed -i -e "s/\$(JAVAC)/\0 $(java-pkg_javac-args)/g" bindings/java/Makefile.am || die
|
||||
fi
|
||||
|
||||
rm -r libltdl || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Now come the lists of os-dependent plugins. Any plugin that is not listed anywhere here
|
||||
# should work independent of the operating system.
|
||||
|
||||
local linux_plugins="barometer battery cpu cpufreq disk drbd entropy
|
||||
ethstat interface iptables ipvs irq ipc load memory md netlink nfs
|
||||
numa processes serial swap tcpconns thermal turbostat users vmem
|
||||
vserver wireless zfs_arc"
|
||||
|
||||
local libstatgrab_plugins="cpu disk interface load memory swap users"
|
||||
local bsd_plugins="cpu tcpconns ${libstatgrab_plugins} zfs_arc"
|
||||
|
||||
local darwin_plugins="apple_sensors battery cpu disk interface memory processes tcpconns"
|
||||
|
||||
local osdependent_plugins="${linux_plugins} ${bsd_plugins} ${darwin_plugins}"
|
||||
local myos_plugins=""
|
||||
if use kernel_linux; then
|
||||
einfo "Enabling Linux plugins."
|
||||
myos_plugins=${linux_plugins}
|
||||
elif use kernel_FreeBSD; then
|
||||
einfo "Enabling FreeBSD plugins."
|
||||
myos_plugins=${bsd_plugins}
|
||||
elif use kernel_Darwin; then
|
||||
einfo "Enabling Darwin plugins."
|
||||
myos_plugins=${darwin_plugins}
|
||||
fi
|
||||
|
||||
# Do we debug?
|
||||
local myconf="$(use_enable debug)"
|
||||
|
||||
local plugin
|
||||
|
||||
# Disable what needs to be disabled.
|
||||
for plugin in ${COLLECTD_DISABLED_PLUGINS}; do
|
||||
myconf+=" --disable-${plugin}"
|
||||
done
|
||||
|
||||
# Set enable/disable for each single plugin.
|
||||
for plugin in ${COLLECTD_ALL_PLUGINS}; do
|
||||
if has ${plugin} ${osdependent_plugins}; then
|
||||
# plugin is os-dependent ...
|
||||
if has ${plugin} ${myos_plugins}; then
|
||||
# ... and available in this os
|
||||
myconf+=" $(use_enable collectd_plugins_${plugin} ${plugin})"
|
||||
else
|
||||
# ... and NOT available in this os
|
||||
if use collectd_plugins_${plugin}; then
|
||||
ewarn "You try to enable the ${plugin} plugin, but it is not available for this"
|
||||
ewarn "kernel. Disabling it automatically."
|
||||
fi
|
||||
myconf+=" --disable-${plugin}"
|
||||
fi
|
||||
elif [[ "${plugin}" = "collectd_plugins_perl" ]]; then
|
||||
if use collectd_plugins_perl && ! use perl; then
|
||||
ewarn "Perl plugin disabled as perl bindings disabled by -perl use flag"
|
||||
myconf+= --disable-perl
|
||||
else
|
||||
myconf+=" $(use_enable collectd_plugins_${plugin} ${plugin})"
|
||||
fi
|
||||
else
|
||||
myconf+=" $(use_enable collectd_plugins_${plugin} ${plugin})"
|
||||
fi
|
||||
done
|
||||
|
||||
# JAVA_HOME is set by eclasses.
|
||||
if use collectd_plugins_java; then
|
||||
myconf+=" --with-java"
|
||||
fi
|
||||
|
||||
# Need libiptc ONLY for iptables. If we try to use it otherwise bug 340109 happens.
|
||||
# lots of libs are only needed for plugins, if they are disabled, also disable the lib
|
||||
use collectd_plugins_iptables || myconf+=" --with-libiptc=no"
|
||||
use collectd_plugins_openldap || myconf+=" --with-libldap=no"
|
||||
use collectd_plugins_redis || use collectd_plugins_write_redis || myconf+=" --with-libhiredis=no"
|
||||
use collectd_plugins_smart || myconf+=" --with-libatasmart=no"
|
||||
use collectd_plugins_virt || myconf+=" --with-libvirt=no"
|
||||
|
||||
if use perl; then
|
||||
myconf+=" --with-perl-bindings=INSTALLDIRS=vendor"
|
||||
else
|
||||
myconf+=" --without-perl-bindings"
|
||||
fi
|
||||
|
||||
# No need for v5upgrade
|
||||
myconf+=" --disable-target_v5upgrade"
|
||||
|
||||
# Finally, run econf.
|
||||
KERNEL_DIR="${KERNEL_DIR}" econf --config-cache --without-included-ltdl $(use_enable static-libs static) --localstatedir=/var ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
perl_delete_localpod
|
||||
|
||||
find "${D}/usr/" -name "*.la" -exec rm -f {} + || die
|
||||
|
||||
use collectd_plugins_java && java-pkg_regjar "${ED}"/usr/share/${PN}/java/*.jar
|
||||
|
||||
fowners root:collectd /etc/collectd.conf
|
||||
fperms u=rw,g=r,o= /etc/collectd.conf
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO
|
||||
|
||||
if use contrib ; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r contrib
|
||||
fi
|
||||
|
||||
keepdir /var/lib/${PN}
|
||||
fowners collectd:collectd /var/lib/${PN}
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
systemd_dounit "contrib/${PN}.service"
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/logrotate" collectd
|
||||
|
||||
sed -i -e 's:^.*PIDFile "/var/run/collectd.pid":PIDFile "/var/run/collectd/collectd.pid":' "${D}"/etc/collectd.conf || die
|
||||
sed -i -e 's:^# SocketFile "/var/run/collectd-unixsock":# SocketFile "/var/run/collectd/collectd-unixsock":' "${D}"/etc/collectd.conf || die
|
||||
sed -i -e 's:^.*LoadPlugin perl$:# The new, correct way to load the perl plugin -- \n# <LoadPlugin perl>\n# Globals true\n# </LoadPlugin>:' "${D}"/etc/collectd.conf || die
|
||||
sed -i -e 's:^.*LoadPlugin python$:# The new, correct way to load the python plugin -- \n# <LoadPlugin python>\n# Globals true\n# </LoadPlugin>:' "${D}"/etc/collectd.conf || die
|
||||
}
|
||||
|
||||
collectd_rdeps() {
|
||||
if (use collectd_plugins_${1} && ! has_version "${2}"); then
|
||||
elog "The ${1} plug-in needs ${2} to be installed locally or remotely to work."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use collectd_plugins_ping && fcaps cap_net_raw usr/sbin/collectd
|
||||
|
||||
collectd_rdeps apcups sys-power/apcupsd
|
||||
collectd_rdeps hddtemp app-admin/hddtemp
|
||||
collectd_rdeps mbmon sys-apps/xmbmon
|
||||
collectd_rdeps memcached ">=net-misc/memcached-1.2.2-r2"
|
||||
collectd_rdeps ntpd net-misc/ntp
|
||||
collectd_rdeps openvpn ">=net-misc/openvpn-2.0.9"
|
||||
collectd_rdeps write_mongodb "dev-db/mongodb"
|
||||
|
||||
echo
|
||||
elog "collectd is now started as unprivileged user by default."
|
||||
elog "You may want to revisit the configuration."
|
||||
elog
|
||||
|
||||
if use collectd_plugins_email; then
|
||||
ewarn "The email plug-in is deprecated. To submit statistics please use the unixsock plugin."
|
||||
fi
|
||||
if use contrib; then
|
||||
elog "The scripts in /usr/share/doc/${PF}/collection3 for generating graphs need dev-perl/HTML-Parser,"
|
||||
elog "dev-perl/config-general, dev-perl/regexp-common, and net-analyzer/rrdtool[perl] to be installed."
|
||||
fi
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
--- a/startproc.c
|
||||
+++ b/startproc.c
|
||||
@@ -25,7 +25,6 @@
|
||||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
#include <sys/ioctl.h>
|
||||
-#include <argz.h>
|
||||
#include <grp.h>
|
||||
|
||||
#define USAGE "Usage:\n"\
|
@ -1,3 +1,3 @@
|
||||
DIST sysstat-11.0.2.tar.xz 291256 SHA256 acd87fdfbe7c796480f14fc26119d8f785d26827d74a0f5bced6c492a91f1b96 SHA512 4bb5f2ee14346d83c59bd4da36ae8fc6c13197eabb808b1b5db84b593f07d8b366b1f6329abed8d43e2a8497a89de0f89a398b741d4ca23b4a3a95973b5f0f54 WHIRLPOOL 98daee288e22f803f19bbe423eb999f527e8997f2ffd3fe1fe784363260365ee833dd33b755f44d6bfcc685f70b47cb8fd70fdd9a3fa679829c1e608bd65f8e2
|
||||
DIST sysstat-11.0.8.tar.xz 294828 SHA256 d073b0e95820254a3fbf53ae3fb27db91d5b11778875034cd39c4d56d8e23695 SHA512 bae205b90d3b908de14d568a7872cca1fe0b2a6e423b74d4f837ebd9f9892abc742f8dc746dde559763c982cf0fd73fafc9ad116ea827ff1189c92488fc8696e WHIRLPOOL 375c3e9af3634c151605f89f1debea3148e2d890f9c43cf4dcb834977c093d2622832c0f0773ef05330f6d9dacb3abfd74acc10ae56251b812a7c6c528007232
|
||||
DIST sysstat-11.1.8.tar.xz 323512 SHA256 9c7eb478e6a3e6f3f19ef7e00438318e9f8e87a6608a242502a0828b6a41704a SHA512 4427f6e1a17cee2b56e624ab6c615d421e8a2a78b23dd6907a97f8946c20eefd2c181afe02652ad387a94d53d1d7203c6aee4d36d34424c9b2b03ee8b53366ce WHIRLPOOL 87c10b46f758efdee4e8dfedbc945a496e2f644de80632dd13fe7d99d81eca42d58a28946e138adcd4a8f9cdf22a1e1db14af548ebc4e55ad6a6eb2695bb7d65
|
||||
DIST sysstat-11.2.0.tar.xz 322660 SHA256 9806b9a662568796d3fb93ecd01ecea10d815e668337a646494953bff4bc4155 SHA512 0759d2df158b909a2f2f87cee9966041acb50093dbbd364bff9471b87143b31cd6bd83d085346a5a3e985b7b3cb29bcb1145739ac0b57804afcc5577c8f8c35f WHIRLPOOL 35b34f6f4e77a70a544d636e5dca4642cf1ec76dc16709ed0daab2c1b0741ba7d7e80f3290c47fbc16d25f89217b765c059bdea4677f26aad1406c7e4b6ae000
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST eselect-java-0.1.0.tar.bz2 14486 SHA256 7dcd2c9d7aa6d693d0b0d558859bdc88c53997d92562a1bf5335de708d19c817 SHA512 4ee13349a9b34cfb007a04423f6961c984ad02135cb1141e504662682dcc35d22f9332b04bad13ec9d538212fe2230407598eed633d5a5edd0633081ec2fa6ae WHIRLPOOL ec94c878f8fab9272b679c25b0ffc553f5fa25dd62dc1a447397befa9a749be3124fc994c34ccc2014e981d088e9cca76beef74356283dee79ec370ea18009c7
|
||||
DIST eselect-java-0.1.0.tar.gz 72265 SHA256 035b0c2cb9837b8b3b906cf9d72ec9ebf6e0db3d5e296c2b1c640d0e4a4071f2 SHA512 f8099f394303466ce652f099c16581668544cb4c0ab3c7c8af4b56230c6bdd692e72610be5f522227e874650481554f3b7815da2a4e8d090c31478d399c04e95 WHIRLPOOL 4f2b4432fe46023163b8e8421a505422b6f50599b67892f1b7abfb7b46393aab0590f1ecd69526839392703fed80fb099b8f3e273a34b99da39045c7b8a9cb77
|
||||
DIST eselect-java-0.2.0.tar.bz2 13353 SHA256 a860fdf1d5d0560e206fee3912eb768492115bcb430cb9eba031d0cbf90499bf SHA512 376c72317461c743dd91f8576cff7b1279b8f1672aa878c492ec3ed0da5f3c8d25cbb5fd4d9120109a01466dadbd049fb75d642187c850676d939925bcb55fdd WHIRLPOOL c45da204c312c1277f532756363932aeb057261728f1264cbcc01da6feb7568673aff880fa611c471b60a878434eacda592e3743022130c78247b047dbf848be
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="A set of eselect modules for Java"
|
||||
HOMEPAGE="https://www.gentoo.org/proj/en/java/"
|
||||
SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
!app-eselect/eselect-ecj
|
||||
!app-eselect/eselect-maven
|
||||
!<dev-java/java-config-2.2
|
||||
app-admin/eselect"
|
||||
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local REMOVED=0
|
||||
|
||||
rm -v "${EROOT}"usr/lib*/nsbrowser/plugins/javaplugin.so 2>/dev/null && REMOVED=1
|
||||
rm -v "${EROOT}"etc/java-config-2/current-icedtea-web-vm 2>/dev/null && REMOVED=1
|
||||
|
||||
if [[ "${REMOVED}" = 1 ]]; then
|
||||
elog "The eselect java-nsplugin module has been removed and your configuration"
|
||||
elog "has been cleaned up. From now on, you may only install either Oracle or"
|
||||
elog "IcedTea's plugin but not both. Note you can use IcedTea's plugin with an"
|
||||
elog "Oracle VM. See the README installed with icedtea-web for more details."
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST icedtea-web-1.5.1.tar.gz 1616344 SHA256 03f16356fa84564f1ae32286e0a090a464c87ec123b40602dcea925757900195 SHA512 ef47eecbbb52fcb44ec9585db4c4428025201b04968dfcfc26061160d80b29ee649752f21ffe891cfa5c6bf775d0bc1dbb7dbd9a79794e052bb8b865fa94d039 WHIRLPOOL 955b5cc565fa62d2f5eb85a3253751cd284a4cb926619afe60920123878281a77f348a7c26cdafea2c6d4cd760fe4d399041b665b86ff1bbaf441e25f9f18379
|
||||
DIST icedtea-web-1.6.1.tar.gz 1776222 SHA256 a9b46ab6c9dc303c89651143596bc5abea29242b9bdcabdd2dab7c606592c920 SHA512 dae39818f74a098289acd0736d27c2e68b10b603a3fb0a180cf4b6444345cbe71ab1ba77dfb198f053f9567bb18aa96de09049c3b595b3d292d142a7ae7d3ef9 WHIRLPOOL 96826d17daee16dfa99f6439678cc509c94556955839b7e8bc43c1993ee04740f35b0547d56649bb9f7a625b5b2515be9d173b642ccb15cb1dead83a03586a6e
|
||||
|
@ -0,0 +1,56 @@
|
||||
Browser plugin
|
||||
--------------
|
||||
|
||||
The IcedTea browser plugin (NPPlugin) is now made immediately
|
||||
available to supporting browsers without the need for eselect. Note
|
||||
that Chromium-based browsers no longer support NPAPI-based plugins
|
||||
since the code was removed in September 2015. The list of supporting
|
||||
browsers is shrinking but still includes Firefox as of version 46.
|
||||
|
||||
JVM selection
|
||||
-------------
|
||||
|
||||
By default, IcedTea's browser plugin and Web Start uses the JVM
|
||||
selected via eselect or the GENTOO_VM environment variable. Note that
|
||||
this doesn't have to be an IcedTea JVM. An Oracle JVM will also
|
||||
work. The choice can be overridden using the itweb-settings
|
||||
program. Simply blank out the field to restore the default behaviour.
|
||||
|
||||
Coexistence with Oracle's plugin
|
||||
--------------------------------
|
||||
|
||||
The IcedTea browser plugin can no longer be installed alongside
|
||||
Oracle's plugin. This used to be possible thanks to eselect
|
||||
java-nsplugin but this was removed in an effort to simplify things. No
|
||||
one is likely to need both, especially with plugins being all but
|
||||
outlawed these days. To avoid any blockers, simply enable the nsplugin
|
||||
USE flag on icedtea-web or the Oracle packages, but not both.
|
||||
|
||||
If you're wondering why we don't just leave plugin selection to the
|
||||
browser, it's because Firefox (and probably others) only allows you to
|
||||
disable all the Java plugins together, not individually.
|
||||
|
||||
Coexistence with Oracle's Web Start
|
||||
-----------------------------------
|
||||
|
||||
/usr/bin/javaws, the executable used to launch JNLP files from a
|
||||
browser, will always use IcedTea's implementation over Oracle's when
|
||||
icedtea-web is installed, regardless of which JVM has been
|
||||
selected. This is primarily for consistency with the browser
|
||||
plugin. If you want to use Oracle's implementation then simply
|
||||
uninstall icedtea-web.
|
||||
|
||||
32-bit plugin on 64-bit systems
|
||||
-------------------------------
|
||||
|
||||
This is no longer supported as the 64-bit plugin can launch a 32-bit
|
||||
JVM. Other reasons for running a 32-bit browser on a 64-bit system
|
||||
have long passed.
|
||||
|
||||
32-bit JVM on 64-bit systems
|
||||
----------------------------
|
||||
|
||||
The emul-linux-x86-java package was removed in 2015 with the migration
|
||||
to full multilib. icedtea-bin now provides this feature via the
|
||||
multilib USE flag. Once installed, using the 32-bit variant is simply
|
||||
a case of selecting that VM as described above.
|
@ -0,0 +1,11 @@
|
||||
--- Makefile.am.orig 2015-09-11 14:02:04.245280051 +0100
|
||||
+++ Makefile.am 2016-01-01 14:00:49.857225492 +0000
|
||||
@@ -652,7 +652,7 @@
|
||||
|
||||
stamps/netx-docs.stamp:
|
||||
if ENABLE_DOCS
|
||||
- $(SYSTEM_JDK_DIR)/bin/javadoc $(JAVADOC_MEM_OPTS) $( _OPTS) \
|
||||
+ $(SYSTEM_JDK_DIR)/bin/javadoc $(JAVADOC_MEM_OPTS) $(JAVADOC_OPTS) \
|
||||
-d ${abs_top_builddir}/docs/netx -sourcepath $(NETX_SRCDIR) \
|
||||
-doctitle 'IcedTea-Web: NetX API Specification' \
|
||||
-windowtitle 'IcedTea-Web: NetX ' \
|
@ -0,0 +1,79 @@
|
||||
--- launcher/launchers.in.orig 2015-09-11 14:02:04.252280131 +0100
|
||||
+++ launcher/launchers.in 2015-12-18 23:06:35.721135526 +0000
|
||||
@@ -7,7 +7,7 @@
|
||||
BINARY_LOCATION=@BIN_LOCATION@
|
||||
SPLASH_LOCATION=@JAVAWS_SPLASH_LOCATION@
|
||||
PROGRAM_NAME=@PROGRAM_NAME@
|
||||
-CP=@JRE@/lib/rt.jar:@JRE@/lib/jfxrt.jar
|
||||
+CP=$(java-config -r)
|
||||
|
||||
CONFIG_HOME=$XDG_CONFIG_HOME
|
||||
if [ "x$CONFIG_HOME" = "x" ] ; then
|
||||
--- plugin/icedteanp/IcedTeaNPPlugin.cc.orig 2015-09-11 14:02:04.219279754 +0100
|
||||
+++ plugin/icedteanp/IcedTeaNPPlugin.cc 2015-12-19 22:35:23.479775591 +0000
|
||||
@@ -137,8 +137,7 @@
|
||||
static DIR *data_directory_descriptor;
|
||||
|
||||
// Fully-qualified appletviewer default executable and rt.jar
|
||||
-static const char* appletviewer_default_executable = ICEDTEA_WEB_JRE "/bin/java";
|
||||
-static const char* appletviewer_default_rtjar = ICEDTEA_WEB_JRE "/lib/rt.jar";
|
||||
+static const char* appletviewer_default_executable = ICEDTEA_WEB_JAVA;
|
||||
//javaws name and binary
|
||||
static const char* javaws_bin_property = "-Dicedtea-web.bin.location=" JAVAWS_BIN;
|
||||
static const char* javaws_name_property = "-Dicedtea-web.bin.name=" JAVAWS_NAME;
|
||||
@@ -298,7 +297,15 @@
|
||||
PLUGIN_ERROR("Your custom jre (/lib/rt.jar check) %s is not valid. Please fix %s in your %s. In attempt to run using default one. \n", custom_jre.c_str(), custom_jre_key.c_str(), default_file_ITW_deploy_props_name.c_str());
|
||||
}
|
||||
}
|
||||
- return appletviewer_default_rtjar;
|
||||
+ gchar *stdout;
|
||||
+ if (g_spawn_command_line_sync("java-config -r", &stdout, NULL, NULL, NULL)) {
|
||||
+ std::string result = g_strchomp(stdout);
|
||||
+ g_free(stdout);
|
||||
+ return result;
|
||||
+ } else {
|
||||
+ PLUGIN_ERROR("Failed to query jre bootclasspath with java-config.\n");
|
||||
+ return "";
|
||||
+ }
|
||||
}
|
||||
|
||||
static void cleanUpDir(){
|
||||
--- plugin/icedteanp/IcedTeaParseProperties.cc.orig 2015-09-11 14:02:04.220279765 +0100
|
||||
+++ plugin/icedteanp/IcedTeaParseProperties.cc 2015-12-19 23:06:05.095409132 +0000
|
||||
@@ -151,7 +151,15 @@
|
||||
}
|
||||
|
||||
string default_java_properties_file(){
|
||||
- return ICEDTEA_WEB_JRE "/lib/"+default_file_ITW_deploy_props_name;
|
||||
+ gchar *stdout;
|
||||
+ if (g_spawn_command_line_sync("java-config -o", &stdout, NULL, NULL, NULL)) {
|
||||
+ string result = g_strchomp(stdout);
|
||||
+ g_free(stdout);
|
||||
+ return result+"/lib/"+default_file_ITW_deploy_props_name;
|
||||
+ } else {
|
||||
+ PLUGIN_ERROR("Failed to query jre location with java-config.\n");
|
||||
+ return "";
|
||||
+ }
|
||||
}
|
||||
|
||||
|
||||
@@ -224,7 +232,7 @@
|
||||
dest = custom_jre_file;
|
||||
return true;
|
||||
}
|
||||
- } else {
|
||||
+ } else if (!default_java_file.empty()) {
|
||||
if(IcedTeaPluginUtilities::file_exists(default_java_file)) {
|
||||
dest = default_java_file;
|
||||
return true;
|
||||
--- Makefile.am.orig 2015-09-11 14:02:04.245280051 +0100
|
||||
+++ Makefile.am 2015-12-19 22:37:35.460518630 +0000
|
||||
@@ -353,7 +353,7 @@
|
||||
-DPLUGIN_VERSION="\"$(PLUGIN_VERSION)\"" \
|
||||
-DPACKAGE_URL="\"$(PACKAGE_URL)\"" \
|
||||
-DMOZILLA_VERSION_COLLAPSED="$(MOZILLA_VERSION_COLLAPSED)" \
|
||||
- -DICEDTEA_WEB_JRE="\"$(SYSTEM_JRE_DIR)\"" \
|
||||
+ -DICEDTEA_WEB_JAVA="\"$(JAVA)\"" \
|
||||
-DPLUGIN_BOOTCLASSPATH=$(PLUGIN_BOOTCLASSPATH) \
|
||||
$(GLIB_CFLAGS) \
|
||||
$(MOZILLA_CFLAGS) \
|
@ -0,0 +1,49 @@
|
||||
--- html-gen.sh.orig 2015-09-11 14:02:04.250280108 +0100
|
||||
+++ html-gen.sh 2016-01-01 14:13:46.693307166 +0000
|
||||
@@ -67,13 +67,18 @@
|
||||
if [ -z "$CHANGESETS" ] || [ "$CHANGESETS" -lt 0 ]; then CHANGESETS=10; fi
|
||||
|
||||
NEWS_ITEMS=2
|
||||
-REPO_URL="$(hg paths default | sed -r 's/.*icedtea.classpath.org\/(.*)/\1/')"
|
||||
+
|
||||
+if [ -d .hg ]; then
|
||||
+ REPO_URL="$(hg paths default | sed -r 's/.*icedtea.classpath.org\/(.*)/\1/')"
|
||||
+else
|
||||
+ unset REPO_URL
|
||||
+fi
|
||||
|
||||
start_time="$(date +%s.%N)"
|
||||
|
||||
cd html-gen
|
||||
|
||||
-print_debug "Generating HTML content for javaws -about for $REPO_URL. $CHANGESETS changesets, $NEWS_ITEMS news items"
|
||||
+print_debug "Generating HTML content for javaws -about${REPO_URL:+ for }$REPO_URL. $CHANGESETS changesets, $NEWS_ITEMS news items"
|
||||
print_debug "Starting sed substitutions"
|
||||
for FILE in NEWS AUTHORS COPYING ChangeLog
|
||||
do
|
||||
@@ -99,7 +104,9 @@
|
||||
sed -i '5i <br><img src="jamIcon.jpg" alt="Jam Icon" width="87" height="84"><br><br>' AUTHORS.html
|
||||
echo "</center>" >> AUTHORS.html
|
||||
|
||||
-REVS=(`hg log -l"$CHANGESETS" | grep 'changeset:' | cut -d: -f3 | tr '\n' ' '`)
|
||||
+if [ -n "${REPO_URL}" ]; then
|
||||
+ REVS=(`hg log -l"$CHANGESETS" | grep 'changeset:' | cut -d: -f3 | tr '\n' ' '`)
|
||||
+fi
|
||||
|
||||
print_debug "Done. Starting formatting (bolding, mailto and hyperlink creation)"
|
||||
|
||||
@@ -132,9 +139,11 @@
|
||||
if [[ "$LINE" =~ $date_regex* ]] # Matches line starting with eg 2013-07-01
|
||||
then
|
||||
html_space="\ \ "
|
||||
- REV="${REVS["$COUNTER"]}"
|
||||
- # Turn the date into a hyperlink for the revision this changelog entry describes
|
||||
- LINE=$(echo "$LINE" | sed -r "s|($date_regex)($html_space.*$html_space.*)|<a href=http://icedtea.classpath.org/$REPO_URL/rev/$REV>\1</a>\2|")
|
||||
+ if [ -n "${REPO_URL}" ]; then
|
||||
+ REV="${REVS["$COUNTER"]}"
|
||||
+ # Turn the date into a hyperlink for the revision this changelog entry describes
|
||||
+ LINE=$(echo "$LINE" | sed -r "s|($date_regex)($html_space.*$html_space.*)|<a href=http://icedtea.classpath.org/$REPO_URL/rev/$REV>\1</a>\2|")
|
||||
+ fi
|
||||
COUNTER="$(( COUNTER + 1 ))"
|
||||
fi
|
||||
if [ "$COUNTER" -gt "$CHANGESETS" ] # Cut to ten changesets
|
@ -0,0 +1,20 @@
|
||||
--- Makefile.am.orig 2015-09-11 14:02:04.245280051 +0100
|
||||
+++ Makefile.am 2015-12-18 21:37:43.328862431 +0000
|
||||
@@ -344,7 +344,7 @@
|
||||
$(PLUGIN_DIR)/%.o: $(PLUGIN_SRCDIR)/%.cc
|
||||
mkdir -p $(PLUGIN_DIR) && \
|
||||
cd $(PLUGIN_DIR) && \
|
||||
- $(CXX) $(CXXFLAGS) \
|
||||
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) \
|
||||
$(DEFS) $(VERSION_DEFS) \
|
||||
-DJDK_UPDATE_VERSION="\"$(JDK_UPDATE_VERSION)\"" \
|
||||
-DPLUGIN_NAME="\"IcedTea-Web Plugin\"" \
|
||||
@@ -362,7 +362,7 @@
|
||||
|
||||
$(PLUGIN_DIR)/$(BUILT_PLUGIN_LIBRARY): $(addprefix $(PLUGIN_DIR)/,$(PLUGIN_OBJECTS))
|
||||
cd $(PLUGIN_DIR) && \
|
||||
- $(CXX) $(CXXFLAGS) \
|
||||
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) \
|
||||
$(PLUGIN_OBJECTS) \
|
||||
$(GLIB_LIBS) \
|
||||
$(MOZILLA_LIBS) \
|
@ -0,0 +1,83 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
README_GENTOO_SUFFIX="-r1"
|
||||
|
||||
inherit autotools eutils multilib readme.gentoo-r1 java-pkg-2
|
||||
|
||||
DESCRIPTION="FOSS Java browser plugin and Web Start implementation"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.gz"
|
||||
LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE="doc javascript +nsplugin tagsoup test"
|
||||
RESTRICT="test"
|
||||
|
||||
CDEPEND="javascript? ( dev-java/rhino:1.6 )
|
||||
nsplugin? ( >=dev-libs/glib-2.16 )
|
||||
tagsoup? ( dev-java/tagsoup:0 )"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
app-arch/zip
|
||||
>=virtual/jdk-1.7
|
||||
virtual/pkgconfig
|
||||
nsplugin? ( net-misc/npapi-sdk )
|
||||
test? ( >=dev-java/junit-4.8:4 )"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
>=app-eselect/eselect-java-0.2.0
|
||||
>=virtual/jre-1.7
|
||||
nsplugin? (
|
||||
!dev-java/oracle-jdk-bin[nsplugin]
|
||||
!dev-java/oracle-jre-bin[nsplugin]
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
# http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2779
|
||||
# http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2780
|
||||
epatch "${FILESDIR}"/${PN}-1.6-{javadoc,no-hg,launchers,respect-ldflags}.patch
|
||||
|
||||
if java-pkg_is-vm-version-ge "1.8" ; then
|
||||
sed -i 's/JAVADOC_OPTS=/\0-Xdoclint:none /g' Makefile.am || die
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local tagsoup
|
||||
use tagsoup && tagsoup="$(java-pkg_getjars tagsoup)"
|
||||
|
||||
local config=(
|
||||
# Rename javaws to itweb-javaws as eselect java-vm manages
|
||||
# javaws to prevent a clash with Oracle's implementation.
|
||||
--program-transform-name='s/^javaws$/itweb-javaws/'
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins
|
||||
--with-java="${EPREFIX}"/usr/bin/java
|
||||
--with-jdk-home="${JAVA_HOME}"
|
||||
$(use_enable doc docs)
|
||||
$(use_enable nsplugin plugin)
|
||||
$(use_with javascript rhino)
|
||||
$(use_with tagsoup tagsoup "${tagsoup}")
|
||||
)
|
||||
|
||||
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
|
||||
econf "${config[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -0,0 +1,358 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils java-vm-2 prefix versionator
|
||||
|
||||
# This URIs need to be updated when bumping!
|
||||
JDK_URI="http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html"
|
||||
JCE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html"
|
||||
|
||||
# This is a list of archs supported by this update.
|
||||
# Currently arm comes and goes.
|
||||
AT_AVAILABLE=( amd64 x86 x64-solaris sparc64-solaris x64-macos )
|
||||
|
||||
# Sometimes some or all of the demos are missing, this is to not have to rewrite half
|
||||
# the ebuild when it happens.
|
||||
DEMOS_AVAILABLE=( amd64 x86 x64-solaris sparc64-solaris x64-macos )
|
||||
|
||||
if [[ "$(get_version_component_range 4)" == 0 ]] ; then
|
||||
S_PV="$(get_version_component_range 1-3)"
|
||||
else
|
||||
MY_PV_EXT="u$(get_version_component_range 4)"
|
||||
S_PV="$(get_version_component_range 1-4)"
|
||||
fi
|
||||
|
||||
MY_PV="$(get_version_component_range 2)${MY_PV_EXT}"
|
||||
|
||||
AT_amd64="jdk-${MY_PV}-linux-x64.tar.gz"
|
||||
AT_arm="jdk-${MY_PV}-linux-arm32-vfp-hflt.tar.gz"
|
||||
AT_arm64="jdk-${MY_PV}-linux-arm64-vfp-hflt.tar.gz"
|
||||
AT_x86="jdk-${MY_PV}-linux-i586.tar.gz"
|
||||
AT_x64_solaris="jdk-${MY_PV}-solaris-x64.tar.gz"
|
||||
AT_sparc64_solaris="${AT_sparc_solaris} jdk-${MY_PV}-solaris-sparcv9.tar.gz"
|
||||
AT_x64_macos="jdk-${MY_PV}-macosx-x64.dmg"
|
||||
|
||||
DEMOS_amd64="jdk-${MY_PV}-linux-x64-demos.tar.gz"
|
||||
DEMOS_arm="jdk-${MY_PV}-linux-arm32-vfp-hflt-demos.tar.gz"
|
||||
DEMOS_arm64="jdk-${MY_PV}-linux-arm64-vfp-hflt-demos.tar.gz"
|
||||
DEMOS_x86="jdk-${MY_PV}-linux-i586-demos.tar.gz"
|
||||
DEMOS_x64_solaris="jdk-${MY_PV}-solaris-x64-demos.tar.gz"
|
||||
DEMOS_sparc64_solaris="jdk-${MY_PV}-solaris-sparcv9-demos.tar.gz"
|
||||
DEMOS_x64_macos="jdk-${MY_PV}-macosx-x86_64-demos.zip"
|
||||
|
||||
JCE_DIR="UnlimitedJCEPolicyJDK8"
|
||||
JCE_FILE="jce_policy-8.zip"
|
||||
|
||||
DESCRIPTION="Oracle's Java SE Development Kit"
|
||||
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
|
||||
for d in "${AT_AVAILABLE[@]}"; do
|
||||
SRC_URI+=" ${d}? ( $(eval "echo \${$(echo AT_${d/-/_})}")"
|
||||
if has ${d} "${DEMOS_AVAILABLE[@]}"; then
|
||||
SRC_URI+=" examples? ( $(eval "echo \${$(echo DEMOS_${d/-/_})}") )"
|
||||
fi
|
||||
SRC_URI+=" )"
|
||||
done
|
||||
unset d
|
||||
SRC_URI+=" jce? ( ${JCE_FILE} )"
|
||||
|
||||
LICENSE="Oracle-BCLA-JavaSE examples? ( BSD )"
|
||||
SLOT="1.8"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc64-solaris ~x64-solaris"
|
||||
IUSE="alsa cups derby doc examples +fontconfig headless-awt javafx jce nsplugin pax_kernel selinux source"
|
||||
REQUIRED_USE="javafx? ( alsa fontconfig )"
|
||||
|
||||
RESTRICT="fetch preserve-libs strip"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
# NOTES:
|
||||
#
|
||||
# * cups is dlopened.
|
||||
#
|
||||
# * libpng is also dlopened but only by libsplashscreen, which isn't
|
||||
# important, so we can exclude that.
|
||||
#
|
||||
# * We still need to work out the exact AWT and JavaFX dependencies
|
||||
# under MacOS. It doesn't appear to use many, if any, of the
|
||||
# dependencies below.
|
||||
#
|
||||
RDEPEND="!x64-macos? (
|
||||
!headless-awt? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrender
|
||||
)
|
||||
javafx? (
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2:2
|
||||
dev-libs/libxslt
|
||||
media-libs/freetype:2
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libX11
|
||||
x11-libs/libXtst
|
||||
x11-libs/libXxf86vm
|
||||
x11-libs/pango
|
||||
virtual/opengl
|
||||
)
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups )
|
||||
doc? ( dev-java/java-sdk-docs:${SLOT} )
|
||||
fontconfig? ( media-libs/fontconfig:1.0 )
|
||||
!prefix? ( sys-libs/glibc:* )
|
||||
selinux? ( sec-policy/selinux-java )"
|
||||
|
||||
# A PaX header isn't created by scanelf so depend on paxctl to avoid
|
||||
# fallback marking. See bug #427642.
|
||||
DEPEND="app-arch/zip
|
||||
jce? ( app-arch/unzip )
|
||||
examples? ( x64-macos? ( app-arch/unzip ) )
|
||||
pax_kernel? ( sys-apps/paxctl )"
|
||||
|
||||
S="${WORKDIR}/jdk"
|
||||
|
||||
check_tarballs_available() {
|
||||
local uri=$1; shift
|
||||
local dl= unavailable=
|
||||
for dl in "${@}" ; do
|
||||
[[ ! -f "${DISTDIR}/${dl}" ]] && unavailable+=" ${dl}"
|
||||
done
|
||||
|
||||
if [[ -n "${unavailable}" ]] ; then
|
||||
if [[ -z ${_check_tarballs_available_once} ]] ; then
|
||||
einfo
|
||||
einfo "Oracle requires you to download the needed files manually after"
|
||||
einfo "accepting their license through a javascript capable web browser."
|
||||
einfo
|
||||
_check_tarballs_available_once=1
|
||||
fi
|
||||
einfo "Download the following files:"
|
||||
for dl in ${unavailable}; do
|
||||
einfo " ${dl}"
|
||||
done
|
||||
einfo "at '${uri}'"
|
||||
einfo "and move them to '${DISTDIR}'"
|
||||
einfo
|
||||
einfo "If the above mentioned urls do not point to the correct version anymore,"
|
||||
einfo "please download the files from Oracle's java download archive:"
|
||||
einfo
|
||||
einfo " http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html#jdk-${MY_PV}-oth-JPR"
|
||||
einfo
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_nofetch() {
|
||||
local distfiles=( $(eval "echo \${$(echo AT_${ARCH/-/_})}") )
|
||||
if use examples && has ${ARCH} "${DEMOS_AVAILABLE[@]}"; then
|
||||
distfiles+=( $(eval "echo \${$(echo DEMOS_${ARCH/-/_})}") )
|
||||
fi
|
||||
check_tarballs_available "${JDK_URI}" "${distfiles[@]}"
|
||||
|
||||
use jce && check_tarballs_available "${JCE_URI}" "${JCE_FILE}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if use x64-macos ; then
|
||||
pushd "${T}" > /dev/null
|
||||
mkdir dmgmount
|
||||
hdiutil attach "${DISTDIR}"/jdk-${MY_PV}-macosx-x64.dmg \
|
||||
-mountpoint "${T}"/dmgmount
|
||||
local update=$(get_version_component_range 4)
|
||||
[[ ${#update} == 1 ]] && update="0${update}"
|
||||
xar -xf dmgmount/JDK\ $(get_version_component_range 2)\ Update\ ${update}.pkg
|
||||
hdiutil detach "${T}"/dmgmount
|
||||
zcat jdk1${MY_PV%u*}0${update}.pkg/Payload | cpio -idv
|
||||
mv Contents/Home "${WORKDIR}"/jdk${MY_PV}
|
||||
popd > /dev/null
|
||||
else
|
||||
default
|
||||
fi
|
||||
|
||||
# Upstream is changing their versioning scheme every release around 1.8.0.*;
|
||||
# to stop having to change it over and over again, just wildcard match and
|
||||
# live a happy life instead of trying to get this new jdk1.8.0_05 to work.
|
||||
mv "${WORKDIR}"/jdk* "${S}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use jce ; then
|
||||
mv "${WORKDIR}"/${JCE_DIR} jre/lib/security/ || die
|
||||
fi
|
||||
|
||||
if [[ -n ${JAVA_PKG_STRICT} ]] ; then
|
||||
# Mark this binary early to run it now.
|
||||
pax-mark Cm ./bin/javap
|
||||
|
||||
eqawarn "Ensure that this only calls trackJavaUsage(). If not, see bug #559936."
|
||||
eqawarn
|
||||
eqawarn "$(./bin/javap -J-Duser.home=${T} -c sun.misc.PostVMInitHook || die)"
|
||||
fi
|
||||
|
||||
# Remove the hook that calls Oracle's evil usage tracker. Not just
|
||||
# because it's evil but because it breaks the sandbox during builds
|
||||
# and we can't find any other feasible way to disable it or make it
|
||||
# write somewhere else. See bug #559936 for details.
|
||||
zip -d jre/lib/rt.jar sun/misc/PostVMInitHook.class || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/opt/${P}"
|
||||
local ddest="${ED}${dest#/}"
|
||||
|
||||
# Create files used as storage for system preferences.
|
||||
mkdir jre/.systemPrefs || die
|
||||
touch jre/.systemPrefs/.system.lock || die
|
||||
touch jre/.systemPrefs/.systemRootModFile || die
|
||||
|
||||
if ! use alsa ; then
|
||||
rm -vf jre/lib/*/libjsoundalsa.* || die
|
||||
fi
|
||||
|
||||
if use headless-awt ; then
|
||||
rm -vf {,jre/}lib/*/lib*{[jx]awt,splashscreen}* \
|
||||
{,jre/}bin/{javaws,policytool} \
|
||||
bin/appletviewer || die
|
||||
fi
|
||||
|
||||
if ! use javafx ; then
|
||||
rm -vf jre/lib/*/lib*{decora,fx,glass,prism}* \
|
||||
jre/lib/*/libgstreamer-lite.* {,jre/}lib/{,ext/}*fx* \
|
||||
bin/*javafx* bin/javapackager || die
|
||||
fi
|
||||
|
||||
if ! use nsplugin ; then
|
||||
rm -vf jre/lib/*/libnpjp2.* || die
|
||||
else
|
||||
local nsplugin=$(echo jre/lib/*/libnpjp2.*)
|
||||
fi
|
||||
|
||||
# Even though plugins linked against multiple ffmpeg versions are
|
||||
# provided, they generally lag behind what Gentoo has available.
|
||||
rm -vf jre/lib/*/libavplugin* || die
|
||||
|
||||
dodoc COPYRIGHT
|
||||
dodir "${dest}"
|
||||
cp -pPR bin include jre lib man "${ddest}" || die
|
||||
|
||||
if use derby ; then
|
||||
cp -pPR db "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use examples && has ${ARCH} "${DEMOS_AVAILABLE[@]}" ; then
|
||||
cp -pPR demo sample "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use jce ; then
|
||||
dodir "${dest}"/jre/lib/security/strong-jce
|
||||
mv "${ddest}"/jre/lib/security/US_export_policy.jar \
|
||||
"${ddest}"/jre/lib/security/strong-jce || die
|
||||
mv "${ddest}"/jre/lib/security/local_policy.jar \
|
||||
"${ddest}"/jre/lib/security/strong-jce || die
|
||||
dosym "${dest}"/jre/lib/security/${JCE_DIR}/US_export_policy.jar \
|
||||
"${dest}"/jre/lib/security/US_export_policy.jar
|
||||
dosym "${dest}"/jre/lib/security/${JCE_DIR}/local_policy.jar \
|
||||
"${dest}"/jre/lib/security/local_policy.jar
|
||||
fi
|
||||
|
||||
if use nsplugin ; then
|
||||
local nsplugin_link=${nsplugin##*/}
|
||||
nsplugin_link=${nsplugin_link/./-${PN}-${SLOT}.}
|
||||
dosym "${dest}/${nsplugin}" "/usr/$(get_libdir)/nsbrowser/plugins/${nsplugin_link}"
|
||||
fi
|
||||
|
||||
if use source ; then
|
||||
cp -v src.zip "${ddest}" || die
|
||||
|
||||
if use javafx ; then
|
||||
cp -v javafx-src.zip "${ddest}" || die
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -d jre/lib/desktop ]] ; then
|
||||
# Install desktop file for the Java Control Panel.
|
||||
# Using ${PN}-${SLOT} to prevent file collision with jre and or
|
||||
# other slots. make_desktop_entry can't be used as ${P} would
|
||||
# end up in filename.
|
||||
newicon jre/lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \
|
||||
sun-jcontrol-${PN}-${SLOT}.png || die
|
||||
sed -e "s#Name=.*#Name=Java Control Panel for Oracle JDK ${SLOT}#" \
|
||||
-e "s#Exec=.*#Exec=/opt/${P}/jre/bin/jcontrol#" \
|
||||
-e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}#" \
|
||||
-e "s#Application;##" \
|
||||
-e "/Encoding/d" \
|
||||
jre/lib/desktop/applications/sun_java.desktop \
|
||||
> "${T}"/jcontrol-${PN}-${SLOT}.desktop || die
|
||||
domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop
|
||||
fi
|
||||
|
||||
# Prune all fontconfig files so libfontconfig will be used and only install
|
||||
# a Gentoo specific one if fontconfig is disabled.
|
||||
# http://docs.oracle.com/javase/8/docs/technotes/guides/intl/fontconfig.html
|
||||
rm "${ddest}"/jre/lib/fontconfig.*
|
||||
if ! use fontconfig ; then
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die
|
||||
eprefixify "${T}"/fontconfig.properties
|
||||
insinto "${dest}"/jre/lib/
|
||||
doins "${T}"/fontconfig.properties
|
||||
fi
|
||||
|
||||
# This needs to be done before CDS - #215225
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
# see bug #207282
|
||||
einfo "Creating the Class Data Sharing archives"
|
||||
case ${ARCH} in
|
||||
arm|ia64)
|
||||
${ddest}/bin/java -client -Xshare:dump || die
|
||||
;;
|
||||
x86)
|
||||
${ddest}/bin/java -client -Xshare:dump || die
|
||||
# limit heap size for large memory on x86 #467518
|
||||
# this is a workaround and shouldn't be needed.
|
||||
${ddest}/bin/java -server -Xms64m -Xmx64m -Xshare:dump || die
|
||||
;;
|
||||
*)
|
||||
${ddest}/bin/java -server -Xshare:dump || die
|
||||
;;
|
||||
esac
|
||||
|
||||
# Remove empty dirs we might have copied.
|
||||
find "${D}" -type d -empty -exec rmdir -v {} + || die
|
||||
|
||||
if use x64-macos ; then
|
||||
# Fix miscellaneous install_name issues.
|
||||
pushd "${ddest}"/jre/lib > /dev/null || die
|
||||
local lib needed nlib npath
|
||||
for lib in \
|
||||
decora_sse glass jfx{media,webkit} \
|
||||
javafx_{font,font_t2k,iio} prism_{common,es2,sw} \
|
||||
; do
|
||||
lib=lib${lib}.dylib
|
||||
einfo "Fixing self-reference of ${lib}"
|
||||
install_name_tool \
|
||||
-id "${EPREFIX}${dest}/jre/lib/${lib}" \
|
||||
"${lib}"
|
||||
done
|
||||
popd > /dev/null
|
||||
|
||||
# This is still jdk1{5,6}, even on Java 8, so don't change it
|
||||
# until you know different.
|
||||
for nlib in jdk1{5,6} ; do
|
||||
install_name_tool -change \
|
||||
/usr/lib/libgcc_s_ppc64.1.dylib \
|
||||
$($(tc-getCC) -print-file-name=libgcc_s_ppc64.1.dylib) \
|
||||
"${ddest}"/lib/visualvm/profiler/lib/deployed/${nlib}/mac/libprofilerinterface.jnilib
|
||||
install_name_tool -id \
|
||||
"${EPREFIX}${dest}"/lib/visualvm/profiler/lib/deployed/${nlib}/mac/libprofilerinterface.jnilib \
|
||||
"${ddest}"/lib/visualvm/profiler/lib/deployed/${nlib}/mac/libprofilerinterface.jnilib
|
||||
done
|
||||
fi
|
||||
|
||||
set_java_env
|
||||
java-vm_revdep-mask
|
||||
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
|
||||
}
|
@ -0,0 +1,239 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils java-vm-2 prefix versionator
|
||||
|
||||
# This URIs need updating when bumping!
|
||||
JRE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html"
|
||||
JCE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html"
|
||||
|
||||
if [[ "$(get_version_component_range 4)" == 0 ]] ; then
|
||||
S_PV="$(get_version_component_range 1-3)"
|
||||
else
|
||||
MY_PV_EXT="u$(get_version_component_range 4)"
|
||||
S_PV="$(get_version_component_range 1-4)"
|
||||
fi
|
||||
|
||||
MY_PV="$(get_version_component_range 2)${MY_PV_EXT}"
|
||||
|
||||
AT_amd64="jre-${MY_PV}-linux-x64.tar.gz"
|
||||
AT_x86="jre-${MY_PV}-linux-i586.tar.gz"
|
||||
|
||||
JCE_DIR="UnlimitedJCEPolicyJDK8"
|
||||
JCE_FILE="jce_policy-8.zip"
|
||||
|
||||
DESCRIPTION="Oracle's Java SE Runtime Environment"
|
||||
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
|
||||
SRC_URI="
|
||||
amd64? ( ${AT_amd64} )
|
||||
x86? ( ${AT_x86} )
|
||||
jce? ( ${JCE_FILE} )"
|
||||
|
||||
LICENSE="Oracle-BCLA-JavaSE"
|
||||
SLOT="1.8"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="alsa cups +fontconfig headless-awt javafx jce nsplugin pax_kernel selinux"
|
||||
|
||||
RESTRICT="fetch preserve-libs strip"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
# NOTES:
|
||||
#
|
||||
# * cups is dlopened.
|
||||
#
|
||||
# * libpng is also dlopened but only by libsplashscreen, which isn't
|
||||
# important, so we can exclude that.
|
||||
#
|
||||
# * We still need to work out the exact AWT and JavaFX dependencies
|
||||
# under MacOS. It doesn't appear to use many, if any, of the
|
||||
# dependencies below.
|
||||
#
|
||||
RDEPEND="!x64-macos? (
|
||||
!headless-awt? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrender
|
||||
)
|
||||
javafx? (
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2:2
|
||||
dev-libs/libxslt
|
||||
media-libs/freetype:2
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libX11
|
||||
x11-libs/libXtst
|
||||
x11-libs/libXxf86vm
|
||||
x11-libs/pango
|
||||
virtual/opengl
|
||||
)
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups )
|
||||
fontconfig? ( media-libs/fontconfig:1.0 )
|
||||
!prefix? ( sys-libs/glibc:* )
|
||||
selinux? ( sec-policy/selinux-java )"
|
||||
|
||||
# A PaX header isn't created by scanelf so depend on paxctl to avoid
|
||||
# fallback marking. See bug #427642.
|
||||
DEPEND="app-arch/zip
|
||||
jce? ( app-arch/unzip )
|
||||
pax_kernel? ( sys-apps/paxctl )"
|
||||
|
||||
S="${WORKDIR}/jre"
|
||||
|
||||
pkg_nofetch() {
|
||||
local AT_ARCH="AT_${ARCH}"
|
||||
local AT="${!AT_ARCH}"
|
||||
|
||||
einfo "Please download '${AT}' from:"
|
||||
einfo "'${JRE_URI}'"
|
||||
einfo "and move it to '${DISTDIR}'"
|
||||
|
||||
if use jce; then
|
||||
einfo "Also download '${JCE_FILE}' from:"
|
||||
einfo "'${JCE_URI}'"
|
||||
einfo "and move it to '${DISTDIR}'"
|
||||
fi
|
||||
|
||||
einfo
|
||||
einfo "If the above mentioned urls do not point to the correct version anymore,"
|
||||
einfo "please download the files from Oracle's java download archive:"
|
||||
einfo
|
||||
einfo " http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html#jre-${MY_PV}-oth-JPR"
|
||||
einfo
|
||||
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
# Upstream is changing their versioning scheme every release around 1.8.0.*;
|
||||
# to stop having to change it over and over again, just wildcard match and
|
||||
# live a happy life instead of trying to get this new jre1.8.0_05 to work.
|
||||
mv "${WORKDIR}"/jre* "${S}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use jce ; then
|
||||
mv "${WORKDIR}"/${JCE_DIR} lib/security/ || die
|
||||
fi
|
||||
|
||||
# Remove the hook that calls Oracle's evil usage tracker. Not just
|
||||
# because it's evil but because it breaks the sandbox during builds
|
||||
# and we can't find any other feasible way to disable it or make it
|
||||
# write somewhere else. See bug #559936 for details.
|
||||
zip -d lib/rt.jar sun/misc/PostVMInitHook.class || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/opt/${P}"
|
||||
local ddest="${ED}${dest#/}"
|
||||
|
||||
# Create files used as storage for system preferences.
|
||||
mkdir .systemPrefs || die
|
||||
touch .systemPrefs/.system.lock || die
|
||||
touch .systemPrefs/.systemRootModFile || die
|
||||
|
||||
if ! use alsa ; then
|
||||
rm -vf lib/*/libjsoundalsa.* || die
|
||||
fi
|
||||
|
||||
if use headless-awt ; then
|
||||
rm -vf lib/*/lib*{[jx]awt,splashscreen}* \
|
||||
bin/{javaws,policytool} || die
|
||||
fi
|
||||
|
||||
if ! use javafx ; then
|
||||
rm -vf lib/*/lib*{decora,fx,glass,prism}* \
|
||||
lib/*/libgstreamer-lite.* lib/{,ext/}*fx* || die
|
||||
fi
|
||||
|
||||
if ! use nsplugin ; then
|
||||
rm -vf lib/*/libnpjp2.* || die
|
||||
else
|
||||
local nsplugin=$(echo lib/*/libnpjp2.*)
|
||||
fi
|
||||
|
||||
# Even though plugins linked against multiple ffmpeg versions are
|
||||
# provided, they generally lag behind what Gentoo has available.
|
||||
rm -vf lib/*/libavplugin* || die
|
||||
|
||||
dodoc COPYRIGHT
|
||||
dodir "${dest}"
|
||||
cp -pPR bin lib man "${ddest}" || die
|
||||
|
||||
if use jce ; then
|
||||
dodir ${dest}/lib/security/strong-jce
|
||||
mv "${ddest}"/lib/security/US_export_policy.jar \
|
||||
"${ddest}"/lib/security/strong-jce || die
|
||||
mv "${ddest}"/lib/security/local_policy.jar \
|
||||
"${ddest}"/lib/security/strong-jce || die
|
||||
dosym "${dest}"/lib/security/${JCE_DIR}/US_export_policy.jar \
|
||||
"${dest}"/lib/security/US_export_policy.jar
|
||||
dosym "${dest}"/lib/security/${JCE_DIR}/local_policy.jar \
|
||||
"${dest}"/lib/security/local_policy.jar
|
||||
fi
|
||||
|
||||
if use nsplugin ; then
|
||||
local nsplugin_link=${nsplugin##*/}
|
||||
nsplugin_link=${nsplugin_link/./-${PN}-${SLOT}.}
|
||||
dosym "${dest}/${nsplugin}" "/usr/$(get_libdir)/nsbrowser/plugins/${nsplugin_link}"
|
||||
fi
|
||||
|
||||
# Install desktop file for the Java Control Panel.
|
||||
# Using ${PN}-${SLOT} to prevent file collision with jre and or other slots.
|
||||
# make_desktop_entry can't be used as ${P} would end up in filename.
|
||||
newicon lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \
|
||||
sun-jcontrol-${PN}-${SLOT}.png || die
|
||||
sed -e "s#Name=.*#Name=Java Control Panel for Oracle JRE ${SLOT}#" \
|
||||
-e "s#Exec=.*#Exec=/opt/${P}/bin/jcontrol#" \
|
||||
-e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}#" \
|
||||
-e "s#Application;##" \
|
||||
-e "/Encoding/d" \
|
||||
lib/desktop/applications/sun_java.desktop > \
|
||||
"${T}"/jcontrol-${PN}-${SLOT}.desktop || die
|
||||
domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop
|
||||
|
||||
# Prune all fontconfig files so libfontconfig will be used and only install
|
||||
# a Gentoo specific one if fontconfig is disabled.
|
||||
# http://docs.oracle.com/javase/8/docs/technotes/guides/intl/fontconfig.html
|
||||
rm "${ddest}"/lib/fontconfig.* || die
|
||||
if ! use fontconfig ; then
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die
|
||||
eprefixify "${T}"/fontconfig.properties
|
||||
insinto "${dest}"/lib/
|
||||
doins "${T}"/fontconfig.properties
|
||||
fi
|
||||
|
||||
# This needs to be done before CDS - #215225
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
# see bug #207282
|
||||
einfo "Creating the Class Data Sharing archives"
|
||||
case ${ARCH} in
|
||||
arm|ia64)
|
||||
${ddest}/bin/java -client -Xshare:dump || die
|
||||
;;
|
||||
x86)
|
||||
${ddest}/bin/java -client -Xshare:dump || die
|
||||
# limit heap size for large memory on x86 #467518
|
||||
# this is a workaround and shouldn't be needed.
|
||||
${ddest}/bin/java -server -Xms64m -Xmx64m -Xshare:dump || die
|
||||
;;
|
||||
*)
|
||||
${ddest}/bin/java -server -Xshare:dump || die
|
||||
;;
|
||||
esac
|
||||
|
||||
# Remove empty dirs we might have copied.
|
||||
find "${D}" -type d -empty -exec rmdir -v {} + || die
|
||||
|
||||
set_java_env
|
||||
java-vm_revdep-mask
|
||||
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
|
||||
}
|
@ -0,0 +1,102 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils bash-completion-r1
|
||||
|
||||
MY_P="rust-${PV}"
|
||||
|
||||
DESCRIPTION="Systems programming language from Mozilla"
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
SRC_URI="amd64? ( http://static.rust-lang.org/dist/${MY_P}-x86_64-unknown-linux-gnu.tar.gz )
|
||||
x86? ( http://static.rust-lang.org/dist/${MY_P}-i686-unknown-linux-gnu.tar.gz )"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
|
||||
SLOT="stable"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND=">=app-eselect/eselect-rust-0.3_pre20150425
|
||||
!dev-lang/rust:0
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/${P}/bin/rustc-bin-${PV}
|
||||
opt/${P}/bin/rustdoc-bin-${PV}
|
||||
opt/${P}/lib/*.so
|
||||
opt/${P}/lib/rustlib/*/lib/*.so
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
local postfix
|
||||
use amd64 && postfix=x86_64-unknown-linux-gnu
|
||||
use x86 && postfix=i686-unknown-linux-gnu
|
||||
mv "${WORKDIR}/${MY_P}-${postfix}" "${S}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local std=$(grep 'std' ./components)
|
||||
local components="rustc,${std}"
|
||||
use doc && components="${components},rust-docs"
|
||||
./install.sh \
|
||||
--components="${components}" \
|
||||
--disable-verify \
|
||||
--prefix="${D}/opt/${P}" \
|
||||
--mandir="${D}/usr/share/${P}/man" \
|
||||
--disable-ldconfig \
|
||||
|| die
|
||||
|
||||
local rustc=rustc-bin-${PV}
|
||||
local rustdoc=rustdoc-bin-${PV}
|
||||
local rustgdb=rust-gdb-bin-${PV}
|
||||
|
||||
mv "${D}/opt/${P}/bin/rustc" "${D}/opt/${P}/bin/${rustc}" || die
|
||||
mv "${D}/opt/${P}/bin/rustdoc" "${D}/opt/${P}/bin/${rustdoc}" || die
|
||||
mv "${D}/opt/${P}/bin/rust-gdb" "${D}/opt/${P}/bin/${rustgdb}" || die
|
||||
|
||||
dosym "/opt/${P}/bin/${rustc}" "/usr/bin/${rustc}"
|
||||
dosym "/opt/${P}/bin/${rustdoc}" "/usr/bin/${rustdoc}"
|
||||
dosym "/opt/${P}/bin/${rustgdb}" "/usr/bin/${rustgdb}"
|
||||
|
||||
cat <<-EOF > "${T}"/50${P}
|
||||
LDPATH="/opt/${P}/lib"
|
||||
MANPATH="/usr/share/${P}/man"
|
||||
EOF
|
||||
doenvd "${T}"/50${P}
|
||||
|
||||
cat <<-EOF > "${T}/provider-${P}"
|
||||
/usr/bin/rustdoc
|
||||
/usr/bin/rust-gdb
|
||||
EOF
|
||||
dodir /etc/env.d/rust
|
||||
insinto /etc/env.d/rust
|
||||
doins "${T}/provider-${P}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect rust update --if-unset
|
||||
|
||||
elog "Rust installs a helper script for calling GDB now,"
|
||||
elog "for your convenience it is installed under /usr/bin/rust-gdb-bin-${PV},"
|
||||
|
||||
if has_version app-editors/emacs || has_version app-editors/emacs-vcs; then
|
||||
elog "install app-emacs/rust-mode to get emacs support for rust."
|
||||
fi
|
||||
|
||||
if has_version app-editors/gvim || has_version app-editors/vim; then
|
||||
elog "install app-vim/rust-mode to get vim support for rust."
|
||||
fi
|
||||
|
||||
if has_version 'app-shells/zsh'; then
|
||||
elog "install app-shells/rust-zshcomp to get zsh completion for rust."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rust unset --if-invalid
|
||||
}
|
@ -0,0 +1,133 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils multilib python-any-r1
|
||||
|
||||
MY_P="rustc-${PV}"
|
||||
|
||||
DESCRIPTION="Systems programming language from Mozilla"
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
|
||||
SRC_URI="http://static.rust-lang.org/dist/${MY_P}-src.tar.gz
|
||||
amd64? ( http://static.rust-lang.org/stage0-snapshots/rust-stage0-2015-08-11-1af31d4-linux-x86_64-7df8ba9dec63ec77b857066109d4b6250f3d222f.tar.bz2 )
|
||||
x86? ( http://static.rust-lang.org/stage0-snapshots/rust-stage0-2015-08-11-1af31d4-linux-i386-e2553bf399cd134a08ef3511a0a6ab0d7a667216.tar.bz2 )
|
||||
"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
|
||||
SLOT="stable"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="clang debug doc libcxx system-llvm"
|
||||
REQUIRED_USE="libcxx? ( clang )"
|
||||
|
||||
CDEPEND=">=app-eselect/eselect-rust-0.3_pre20150425
|
||||
libcxx? ( sys-libs/libcxx )
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
>=dev-lang/perl-5.0
|
||||
clang? ( sys-devel/clang )
|
||||
system-llvm? ( >=sys-devel/llvm-3.6.0[multitarget(-)]
|
||||
<sys-devel/llvm-3.7.0[multitarget(-)] )
|
||||
"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_unpack() {
|
||||
unpack "${MY_P}-src.tar.gz" || die
|
||||
mkdir "${MY_P}/dl" || die
|
||||
cp "${DISTDIR}/rust-stage0"* "${MY_P}/dl/" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local postfix="gentoo-${SLOT}"
|
||||
sed -i -e "s/CFG_FILENAME_EXTRA=.*/CFG_FILENAME_EXTRA=${postfix}/" mk/main.mk || die
|
||||
find mk -name '*.mk' -exec \
|
||||
sed -i -e "s/-Werror / /g" {} \; || die
|
||||
epatch "${FILESDIR}/${PN}-1.1.0-install.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export CFG_DISABLE_LDCONFIG="notempty"
|
||||
|
||||
"${ECONF_SOURCE:-.}"/configure \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)/${P}" \
|
||||
--mandir="${EPREFIX}/usr/share/${P}/man" \
|
||||
--release-channel=${SLOT} \
|
||||
--disable-manage-submodules \
|
||||
$(use_enable clang) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable debug llvm-assertions) \
|
||||
$(use_enable !debug optimize) \
|
||||
$(use_enable !debug optimize-cxx) \
|
||||
$(use_enable !debug optimize-llvm) \
|
||||
$(use_enable !debug optimize-tests) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable libcxx libcpp) \
|
||||
$(usex system-llvm "--llvm-root=${EPREFIX}/usr" " ") \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake VERBOSE=1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
unset SUDO_USER
|
||||
|
||||
default
|
||||
|
||||
mv "${D}/usr/bin/rustc" "${D}/usr/bin/rustc-${PV}" || die
|
||||
mv "${D}/usr/bin/rustdoc" "${D}/usr/bin/rustdoc-${PV}" || die
|
||||
mv "${D}/usr/bin/rust-gdb" "${D}/usr/bin/rust-gdb-${PV}" || die
|
||||
|
||||
dodoc COPYRIGHT LICENSE-APACHE LICENSE-MIT
|
||||
|
||||
dodir "/usr/share/doc/rust-${PV}/"
|
||||
mv "${D}/usr/share/doc/rust"/* "${D}/usr/share/doc/rust-${PV}/" || die
|
||||
rmdir "${D}/usr/share/doc/rust/" || die
|
||||
|
||||
cat <<-EOF > "${T}"/50${P}
|
||||
LDPATH="/usr/$(get_libdir)/${P}"
|
||||
MANPATH="/usr/share/${P}/man"
|
||||
EOF
|
||||
doenvd "${T}"/50${P}
|
||||
|
||||
cat <<-EOF > "${T}/provider-${P}"
|
||||
/usr/bin/rustdoc
|
||||
/usr/bin/rust-gdb
|
||||
EOF
|
||||
dodir /etc/env.d/rust
|
||||
insinto /etc/env.d/rust
|
||||
doins "${T}/provider-${P}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect rust update --if-unset
|
||||
|
||||
elog "Rust installs a helper script for calling GDB now,"
|
||||
elog "for your convenience it is installed under /usr/bin/rust-gdb-${PV}."
|
||||
|
||||
if has_version app-editors/emacs || has_version app-editors/emacs-vcs; then
|
||||
elog "install app-emacs/rust-mode to get emacs support for rust."
|
||||
fi
|
||||
|
||||
if has_version app-editors/gvim || has_version app-editors/vim; then
|
||||
elog "install app-vim/rust-mode to get vim support for rust."
|
||||
fi
|
||||
|
||||
if has_version 'app-shells/zsh'; then
|
||||
elog "install app-shells/rust-zshcomp to get zsh completion for rust."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rust unset --if-invalid
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=DROLSKY
|
||||
DIST_VERSION=1.62
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Parse and Format DateTimes using Strptime"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x64-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Carp
|
||||
>=dev-perl/DateTime-1
|
||||
>=dev-perl/DateTime-Locale-0.450.0
|
||||
>=dev-perl/DateTime-TimeZone-0.790.0
|
||||
virtual/perl-Exporter
|
||||
>=dev-perl/Package-DeprecationManager-0.150.0
|
||||
>=dev-perl/Params-Validate-1.200.0
|
||||
dev-perl/Try-Tiny
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
virtual/perl-File-Spec
|
||||
>=virtual/perl-Test-Simple-0.960.0
|
||||
dev-perl/Test-Fatal
|
||||
dev-perl/Test-Warnings
|
||||
)
|
||||
"
|
@ -1,2 +1,3 @@
|
||||
DIST DateTime-Format-Strptime-1.54.tar.gz 26578 SHA256 00bb61b12472fb1a637ec55bbd8878db05b3aac89a67b7991b281e32896db9de SHA512 1fae82873388d1f618e037691b6466479d34be6a6d63ac52e4d34b9d73f8d62107a46de7c3622081920144bcffe850d41329cfbd4d3ca974dc3802d6a647b864 WHIRLPOOL 9b7ecaaf1708cb741391abe634c225cf96f28004c23d28252021a7aa1cb0d6d79b97a7e7c56d7d9e8ed615ed752758a3b1a42550ab833ec4baa6129ba375c900
|
||||
DIST DateTime-Format-Strptime-1.56.tar.gz 36863 SHA256 2ff69d0f5a0359aab04e7276db5bee3be10040da24fbf09de1d904e7ead78b28 SHA512 cdc14515c3a5f46c93572a6a7e3b5824d668609de778c908c271950600be1c9f8a48e15265478d3fed85062b8fbca9215f0f405880225a957a45aed9a7c92e08 WHIRLPOOL 0aa4286c172a638b04da6b1b2771332bedf94c367d6c569b94411b39fd68516a70dad23bd4f426a4ff7a32201376f13c0c52d8be959f0a42193555f9e2008753
|
||||
DIST DateTime-Format-Strptime-1.62.tar.gz 42268 SHA256 a03478bb832e20854f61a9aea05caf31c2c936cab759eb0b1f854ded4f0c8ae7 SHA512 beefc1aca04c21943b709d1b766b76e01209ba98173f930ea03fb6fffbda045eeacb7e52d0b8e4a4bc2f9d1b34b9d86006ceec0736a12d1487b51ca1e5c51e90 WHIRLPOOL 0366531e0d19b77988569db621c7259e479944dc7b0569edfbb9ba868bf24e60ab8ac2ea60c891f9eff6d61a0a3fa37a30269e79348d6674bfe879178479feef
|
||||
|
@ -1 +1,2 @@
|
||||
DIST Package-DeprecationManager-0.13.tar.gz 10961 SHA256 d1e12143c9a6e9d4f101e43142622ab4894087d42937621e2c7430defbc07b3a SHA512 393841bc8a6a96dfc3ce9e2787d532f0e5ba45ef07a8d95be4450ad399b0ae3c4929f8abf07892194fca85c7de75c118a5b611a816b565a7945e34ebca36c4a8 WHIRLPOOL c6f5958b41333fd37006f94a727b4ae0adf65b4e3f43af738395e419bb9e789c2cf331d99025b8e69da4397cff54d922cf71df1460f4bcd1f40587434a181daf
|
||||
DIST Package-DeprecationManager-0.15.tar.gz 23626 SHA256 65c871f00849ba6a3369b3e4a5f206504e51bfb8eb2d2631fe2e18483fc29d61 SHA512 644aae95e7124f91dab9ab71e20679a310df869dc970ee3b180d8274657226d9ad91c79d56222f6b30ad026e92f4d86609b8933ce3fc1298247da15f4a5c542b WHIRLPOOL 0ef1e18212c6a85b5c13aafdba78a01a77f25705fe2830add4d13fc4d47acae516e08099d9b06fe8e32072079b04583e5be9e966a9d9b9b0f0e3f3e3c1a05f0e
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=DROLSKY
|
||||
DIST_VERSION=0.15
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Manage deprecation warnings for your distribution"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x86-freebsd ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Carp
|
||||
>=virtual/perl-Scalar-List-Utils-1.330.0
|
||||
dev-perl/Package-Stash
|
||||
dev-perl/Params-Util
|
||||
dev-perl/Sub-Install
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
virtual/perl-Exporter
|
||||
virtual/perl-File-Spec
|
||||
dev-perl/Test-Fatal
|
||||
>=virtual/perl-Test-Simple-0.960.0
|
||||
dev-perl/Test-Warnings
|
||||
)
|
||||
"
|
@ -1,2 +1,3 @@
|
||||
DIST Params-Validate-1.07.tar.gz 100822 SHA256 c1df34746723480336b5357a5007afa219ed2c8330d462c6c854f6ac3a17bf96 SHA512 fc49cdba84a1d9cc3d526fd86328bf724adbfee7c161c4bcc2dac84b6a9a4369f50f216be23606e3bef46ba58aa476be38f93075a068941245ca4ab6393d75d6 WHIRLPOOL 64b488969d36cb81ed10fbff7e7a1d4d4af71ce56a347a05f74b598cf854bf316bda5ead1ce14c31d3a0cfa1b87a0517ba796c593632c466bef4dbe55d49f34c
|
||||
DIST Params-Validate-1.08.tar.gz 103728 SHA256 d04096fcf402e6b9637d2b74d37f8007ba63dab4b289ded0b4d2f455fe828118 SHA512 30bbd698d9c559a47194782ae4da740c4418775d6a21fc98cf755e3c0d1615a58fb79f43f7935a22cb2eb6e2f744440f296bca17485add480b6c3191493c5dc0 WHIRLPOOL c76c9ad82fe4b5a1cf55505a8b45040aee2e86875537ecece4686041e1484b6893dceabbbe3bfc5b6c16fab0714f1a8d4b02307c5c3f4e2ca664c370c7187a0a
|
||||
DIST Params-Validate-1.21.tar.gz 123943 SHA256 c4b78e7ce75c4fd49e9460d31ce6a3920e25ec72669762356c6cc5ea43e18175 SHA512 62acacad164133f897f51bde92633b4445e95555edb2395bb6fd8bfc786b7c0c6dd9b0592d998d7458ebf928701f1b02b9a0a0aa192b26436fb29258bb90fe5c WHIRLPOOL bfe0dfef15e4efc867885244c72840660bb07e02313e4730b45106fae093e2b93cc109ea49b8f7ad1938d9f1c5a0d90331829e851bbc570232f5375dc3173e63
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=DROLSKY
|
||||
DIST_VERSION=1.21
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Flexible system for validation of method/function call parameters"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Carp
|
||||
virtual/perl-Exporter
|
||||
dev-perl/Module-Implementation
|
||||
>=virtual/perl-Scalar-List-Utils-1.110.0
|
||||
virtual/perl-XSLoader
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-perl/Module-Build-0.280.0
|
||||
test? (
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-File-Temp
|
||||
dev-perl/Test-Fatal
|
||||
>=virtual/perl-Test-Simple-0.960.0
|
||||
dev-perl/Test-Requires
|
||||
)
|
||||
"
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1 versionator
|
||||
|
||||
DESCRIPTION="Python bindings for libgit2"
|
||||
HOMEPAGE="https://github.com/libgit2/pygit2 https://pypi.python.org/pypi/pygit2"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2-with-linking-exception"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
=dev-libs/libgit2-$(get_version_component_range 1-2)*
|
||||
>=dev-python/cffi-1.0:=[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST python-caja-1.8.0.tar.xz 250752 SHA256 bb872b99a4722af048990ffcd631e466dac808043bc02f7385e20845cf8b6d50 SHA512 571ee1016fb6d1d9a1e6f72da9b6959bad2734c24f5b2b2ab6af477eeb7c931c36758b09f8a0dea536f6d8ec5366747855d58764f36f2e6778c4a30b4fdebcd4 WHIRLPOOL 621a964a892d749d3619fea85f4f91ec7de2dc00ecc46b28202035b4f948133a669d4e10163a0c2fb0f35ea6261a6834ef3f7c0a9f3f6db9d3e2592a92a9906e
|
||||
DIST python-caja-1.8.1.tar.xz 250224 SHA256 01e67e78e86c9a6c72412825b8d0d67804bcd5042d5583c1f0ca2de2e0c828dc SHA512 5be0e1d284303b6b2559c1cc5f24d6567026b394955b80e36c69899d4a97589a6bdb830b5d719de782882028901a4df68942d0e99640d168197d19cd25414f12 WHIRLPOOL 0847bfeb6ba9e87b6af38e620de0e2ac3da73027c24a3f939d7bd57629dcdbe2c915323ab44f63faeffe121538a663a72891c3d47e3d1d8c8ea073b523a2648c
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit gnome2 python-single-r1 versionator
|
||||
|
||||
MATE_BRANCH="$(get_version_component_range 1-2)"
|
||||
|
||||
SRC_URI="http://pub.mate-desktop.org/releases/${MATE_BRANCH}/${P}.tar.xz"
|
||||
DESCRIPTION="Python bindings for the Caja file manager"
|
||||
HOMEPAGE="http://www.mate-desktop.org"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
>=mate-base/caja-1.8:0[introspection]
|
||||
x11-libs/gtk+:2
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig:*
|
||||
doc? (
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
)"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
# Keep the directory for systemwide extensions.
|
||||
keepdir /usr/share/python-caja/extensions/
|
||||
|
||||
# The HTML documentation generation is broken and commented out by upstream.
|
||||
#
|
||||
#if use doc ; then
|
||||
# insinto /usr/share/gtk-doc/html/nautilus-python # for dev-util/devhelp
|
||||
# doins -r docs/html/*
|
||||
#fi
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST exifr-1.2.2.gem 230400 SHA256 bbb0f97db4fd686894eafd0335d171f2da868ee680dbb213743ed68cf18e0508 SHA512 91f1aeb19064ca5462335046d335e7e346fe87adb8a86d09a6a4affeba835f875c8a92bf64eefa840c1fd753a9f2f1ce871eedce605274885968d8e9227325e8 WHIRLPOOL 86579dd394501724cef33b17acafa88f4fd45fd0da3998fd8088b5f5d0af6c5bb9854ca1fbda232b48d1d317dcc36b1310cee11a830976cfb4f523dca8c03000
|
||||
DIST exifr-1.2.3.1.gem 225280 SHA256 c64196c00b88b8176c5c4ee2f37cebb9fcd3a9986052bb46357723b9a29633c5 SHA512 b74e27e51b65138af03d879171a9d968dee6606a609627bc4c956be4f514fa9e5f16c437cbbd0c796615246776db1f631c5c5a110c48431ae7abe3725a573982 WHIRLPOOL 52fdab70c366f31e13073f558155f294bbea25b8f439fefa998fb449002e7acd4eef65e7af1e7094c5d832210db78fe823f860dfc019e6b95fdf0c408ae5bf0b
|
||||
DIST exifr-1.2.4.gem 225792 SHA256 8f624b88dc4919d19d708ac4dde9b25b1c80aac311a0bf6627e58683cfd4939e SHA512 b34d92a295ed74ee43d970a07e18f7d65b87ffd350fdbcc1e69c7f2156c7f52c3bfcbbad850552265c02fed06c2ae6d268e9bd8f1295345af07dfa8b55de45f0 WHIRLPOOL 90c1a78d2804972d2791ef35e6135f1739f057650d633d84466d2e8a8a99749da97d803b67635fa473db4c4a6dec881f7f8eb8b3aadcdfbbe02aa81a09415ba9
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST httpclient-2.6.0.1.tgz 305847 SHA256 213f55639b85edf47fb32f865b59085a76d77c87355e9e13e747250f8da0f6e9 SHA512 bcb71a7b6be7d132df63c5434cb2d4be46fa9b5c585b68a8a8269e46acecde6403098555e219354c60fc193016651c1bda53bffd9d509a517a3104c9a4e04efe WHIRLPOOL 4ded5d0b5f93c3b58df1e1c2233ae3a6219d797c0fb193d4995a2863fda76bad10ef0429f79a01c9b3c7c9ae27e20879b81db34239ff901a502baea9d6436785
|
||||
DIST httpclient-2.7.0.1.tgz 456279 SHA256 734b885ab5310ff2da7a2f90c14f899f3884b1194db1dcb7da46d9277d8222e0 SHA512 f7be24dd59427578b665702cb5b33916caf4cc3d8eeca52e11f91e27f0e676b52056485dcf72284fed4f2db2eac3ed6654afb87f6f8a4580c1b8a59bf3ce2ee4 WHIRLPOOL 6025e4041df5bf78eb1574c5e11c7a49c809ad4aee74d08b1b35318cfc7d4481054de8be0a3efb68fb6273899c3a730e3541f96c3a70c93a740f256e58359752
|
||||
DIST httpclient-2.7.1.tgz 457036 SHA256 d176c5177745d60434a05c3d85497f9a56c725aa6f9ee98ac14349f9ffe05cfc SHA512 960770fe351a82e4008ca706bc0f1c7ba255b67dcbcc2984b1f76b78bdb9236b799dbd81c98d706a6a3755677b8d11fe7d7dd5b3af6afaaf901d70d999a09ea2 WHIRLPOOL d6c70683f702c2b749d56ff011beb24e8b4d77acab6f587986e44ecd6a3c6ac73059b4080715b97b750d773c1c13bf4abcb91a0748087e233b0509b2592daa1d
|
||||
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="-Ilib test"
|
||||
RUBY_FAKEGEM_TASK_DOC="doc"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="httpclient.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="'httpclient' gives something like the functionality of libwww-perl (LWP) in Ruby"
|
||||
HOMEPAGE="https://github.com/nahi/httpclient"
|
||||
SRC_URI="https://github.com/nahi/httpclient/archive/v${PV}.tar.gz -> ${P}.tgz"
|
||||
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!dev-ruby/http-access2"
|
||||
|
||||
ruby_add_rdepend "virtual/ruby-ssl"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/rdoc )"
|
||||
ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/http-cookie )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm Gemfile || die
|
||||
sed -i -e '/[bB]undler/s:^:#:' Rakefile || die
|
||||
|
||||
# Fix documentation task
|
||||
sed -i -e 's/README.txt/README.md/' Rakefile || die
|
||||
|
||||
# Remove mandatory CI reports since we don't need this for testing.
|
||||
sed -i -e '/reporter/s:^:#:' Rakefile || die
|
||||
|
||||
# Remove mandatory simplecov dependency
|
||||
sed -i -e '/[Ss]imple[Cc]ov/ s:^:#:' test/helper.rb || die
|
||||
|
||||
# Comment out test requiring network access that makes assumptions
|
||||
# about the environment, bug 395155
|
||||
sed -i -e '/test_async_error/,/^ end/ s:^:#:' test/test_httpclient.rb || die
|
||||
|
||||
# Skip tests using rack-ntlm which is not packaged. Weirdly these
|
||||
# only fail on jruby.
|
||||
rm test/test_auth.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:test:. -e 'gem "test-unit"; Dir["test/test_*.rb"].each{|f| require f}' || die
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST rack-cache-1.2.gem 261632 SHA256 02bfed05f8b3266db804f2fa445801636ca2c6d211a3137ec796f88af5756e1c SHA512 510e0b98af47170b9030578feadf534132ae473b093df3f1fce6022fb97883b4c56dee441dd06df50e0ea06c4f0a1d00e11bf63f165e29d1e451f28ee8c17177 WHIRLPOOL f8ec4a460bf1bc89dad9dc6b666f6dfa3e8409434a3380d357c945f29da63bec609285c118ed28ce209f207ee3aaa56dd4ba5f3992286f762c2d33f4572b61f8
|
||||
DIST rack-cache-1.3.0.tar.gz 258225 SHA256 356f849e285fa2cf00c1d6823aa2202d14add67815b07b70048242f7c61c6df8 SHA512 d7028456b7059b775a75f35ae2f7a4a00bfe908ebc7e7f57b2f659f9690ac40085d3dc89acd0b1e540cf309e218a276504650a50f092557b7ef871a66aa6bfbf WHIRLPOOL 8e456b7eff61913cd75c2f1a20c55ff6f1430ca28384b6d743c976df7677b3334e6c83628c1fc9fb7d11b268b71c5c8e653ad8b0c59430a691071c37a657e916
|
||||
DIST rack-cache-1.5.1.tar.gz 258817 SHA256 77afa21e3d2c97224795b740d4a67b23e2fbb15515b774b897993343265545f5 SHA512 e7d2804d2e4f48f8333ee9689251f760290eb15c692a55dd1bfdcfcbecc677afbf6db949c8ca9bc79e7248c58ca5f6f89bc13ab912c34f33e119befcdde902f8 WHIRLPOOL e3808050537411af5f210b7201da8f3b2b4d499a20e9a161ef29c88edba80348919629b23b929d9361982c4c328dcdae25eba3c616cbbab0ef626da6bfa0d590
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
||||
|
||||
# no documentation is generable, it needs hanna, which is broken
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="none"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGES README TODO"
|
||||
|
||||
inherit versionator ruby-fakegem
|
||||
|
||||
DESCRIPTION="A drop-in component to enable HTTP caching for Rack-based applications that produce freshness info"
|
||||
HOMEPAGE="http://tomayko.com/src/rack-cache/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "dev-ruby/rack"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/bacon )"
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -S bacon -q -I.:lib:test test/*_test.rb || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST unf-0.1.3.gem 120320 SHA256 550bc894b05a85a769f0668ca162f83fddace095aa9b8c80c1e83ddb7b4558b8 SHA512 eac742e51bb32305c73c9cc5cd5c8b4ca1b6b83f2d17df134728befe2f8b9e043b3a01de35cee9cd86ea328142a02cc375d54311b551c7747c2661a0e7a6af16 WHIRLPOOL a4c921657787f37d23ad659df18153e689d9d2cd7eb2f6d54b77b1e7897196351460f2aba7c16e7b7cf93ae8bf92cc425fa1e824b4ff592bcce3d066e4384f29
|
||||
DIST unf-0.1.4.gem 120320 SHA256 4999517a531f2a955750f8831941891f6158498ec9b6cb1c81ce89388e63022e SHA512 a4784afa8b852497f758d1b6cdcf095eb9e5397a36c97b1f22b53cf8077cfedbf83fdcda36f359acf59ba61f1ab8b706ddd31d097afbc98a40d2dbd0f934292b WHIRLPOOL 10528155b0377d171a040ddf47f48fc65e9fa38ab83bdc37a39f5c18c72b70414bcd109e9866996dbe82f3a35de208d0a488ce20bc9a8c959433bf52ffaacc30
|
||||
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="none"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A wrapper library to bring Unicode Normalization Form support to Ruby/JRuby"
|
||||
HOMEPAGE="https://github.com/knu/ruby-unf"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/unf_ext"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/test-unit-2.5.1-r1
|
||||
dev-ruby/shoulda
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/bundler/,/end/ d' test/helper.rb || die
|
||||
|
||||
# Remove development dependencies; also remove platform as we don't
|
||||
# care about it as it is, they only use it to avoid the unf_ext dep
|
||||
# that we tackle on our own; finally remove git ls-files usage.
|
||||
sed -i -e '/dependency.*\(shoulda\|bundler\|jeweler\|rcov\)/d' \
|
||||
-e '/platform/d' \
|
||||
-e '/git ls/d' \
|
||||
${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
ruby-ng_testrb-2 test/test_*.rb
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST checkbashisms-2.0.0.2 21258 SHA256 4da61b7f08b55609e80c648d215f0201aa9b5f1df53aab6252129537a7f7a0ee SHA512 cd9376f4c34773aba79f81b8bb129d912844102e91e363480b9983092efd36c4827e0447242aecfcdb3cfd4cc50e19e105cc645368e8c9735f49c8e381964dd4 WHIRLPOOL 94adf80badc7b484119df3723968965057ddfc365b59e52a7444e4476396f3c82d72aa43f049a397f5e762948dad0f4e3b679a547682401a469c7b8b587a9db5
|
||||
DIST devscripts_2.15.10.tar.xz 679536 SHA256 8659779f03563aea6187f744b083cea2dfe637da2bb12ff52e38dd2e6f3762f9 SHA512 700e7734876325af6d8ae1d9b833b3f5cd8fee00cd1de63cab8da5eb643357c204e9a5f626cc1923d80a376850adbc931f51c46aebd1a2ad95ce4a13c7323657 WHIRLPOOL 0f62462308b7741ad7459eff12867988667b7a43e9a35b8845c5e8d0c741c623c2a6ff0c22509b7319399cb7d91bb3c4023c143678e0f7cb11d7c4380f9cf59c
|
||||
DIST devscripts_2.15.9.tar.xz 627784 SHA256 409c7527ea91dda844688707b365485a9f5cc2e733e93f996fb597c64c78589d SHA512 24ed788730a1df4250706261fe89b836dac63b955060943797f29c02b3a3833b346b4524dbe1fd0a9a0999382577cd4e6f85b0710a91f75755a770fa03c62538 WHIRLPOOL 6feab0f3c6db74fe6b54f02033a0f4d1b33f0774cfeb0cb28f7fa8ce4e9d4867e4d33fa22b1cf34f0e8e4dce7eeaa01809521d5a2a31d84dc8cd7bf85dc8b702
|
||||
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Perl script to check for commonly used bash features not defined by POSIX"
|
||||
# "checkbaskisms" is not a typo, it's the actual upstream SF project name.
|
||||
HOMEPAGE="http://sourceforge.net/projects/checkbaskisms/"
|
||||
SRC_URI="mirror://sourceforge/checkbaskisms/${PV}/${PN} -> ${P}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
virtual/perl-Getopt-Long
|
||||
!<dev-util/rpmdevtools-8.3-r1"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_unpack() {
|
||||
cp "${DISTDIR}"/${P} ${PN}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-export.patch #458392
|
||||
epatch "${FILESDIR}"/${P}-kill.patch #458392
|
||||
epatch "${FILESDIR}"/${P}-version.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Perl script to check for commonly used bash features not defined by POSIX"
|
||||
# "checkbaskisms" is not a typo, it's the actual upstream SF project name.
|
||||
HOMEPAGE="http://sourceforge.net/projects/checkbaskisms/"
|
||||
SRC_URI="mirror://sourceforge/checkbaskisms/${PV}/${PN} -> ${P}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
virtual/perl-Getopt-Long
|
||||
!<dev-util/rpmdevtools-8.3-r1"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
newbin "${DISTDIR}"/${P} ${PN}
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
MY_PN="devscripts"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Perl script to check for commonly used bash features not defined by POSIX"
|
||||
HOMEPAGE="https://packages.debian.org/devscripts https://anonscm.debian.org/cgit/collab-maint/devscripts.git"
|
||||
SRC_URI="mirror://debian/pool/main/d/${MY_PN}/${MY_P/-/_}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
virtual/perl-Getopt-Long
|
||||
!<dev-util/rpmdevtools-8.3-r1"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/scripts"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.15.9-printf-b.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.15.9-command-vV.patch
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
newbin ${PN}.pl ${PN}
|
||||
doman ${PN}.1
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
`export foor=bar` is valid in POSIX
|
||||
|
||||
https://sourceforge.net/p/checkbaskisms/checkbashisms/9/
|
||||
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#export
|
||||
https://bugs.gentoo.org/458392
|
||||
|
||||
--- a/checkbashisms
|
||||
+++ b/checkbashisms
|
||||
@@ -512,7 +512,6 @@
|
||||
$LEADIN . qr'disown\s' => q<disown>,
|
||||
$LEADIN . qr'enable\s' => q<enable>,
|
||||
$LEADIN . qr'export\s+-[^p]' => q<export only takes -p as an option>,
|
||||
- $LEADIN . qr'export\s+.+=' => q<export foo=bar should be foo=bar; export foo>,
|
||||
$LEADIN . qr'mapfile\s' => q<mapfile>,
|
||||
$LEADIN . qr'readarray\s' => q<readarray>,
|
||||
$LEADIN . qr'readonly\s+-[af]' => q<readonly -[af]>,
|
@ -1,20 +0,0 @@
|
||||
`kill -HUP` is valid in POSIX
|
||||
|
||||
we could extend the check to look for valid signal names, but that seems like
|
||||
it's not worth the effort (when the # of signals is >30). if the code uses a
|
||||
wrong signal name, then it'll hit a runtime error regardless of shell.
|
||||
|
||||
https://sourceforge.net/p/checkbaskisms/checkbashisms/5/
|
||||
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/kill.html
|
||||
https://bugs.gentoo.org/458392
|
||||
|
||||
--- a/checkbashisms
|
||||
+++ b/checkbashisms
|
||||
@@ -496,7 +496,6 @@
|
||||
qr'\&>' => q<should be \>word 2\>&1>,
|
||||
qr'(<\&|>\&)\s*((-|\d+)[^\s;|)}`&\\\\]|[^-\d\s]+(?<!\$)(?!\d))' =>
|
||||
q<should be \>word 2\>&1>,
|
||||
- $LEADIN . qr'kill\s+-[^sl]\w*' => q<kill -[0-9] or -[A-Z]>,
|
||||
$LEADIN . qr'trap\s+["\']?.*["\']?\s+.*[1-9]' => q<trap with signal numbers>,
|
||||
$LEADIN . qr'trap\s+["\']?.*["\']?\s+.*ERR' => q<trap ERR>,
|
||||
qr'\[\[(?!:)' => q<alternative test command ([[ foo ]] should be [ foo ])>,
|
@ -1,13 +0,0 @@
|
||||
https://sourceforge.net/p/checkbaskisms/checkbashisms/1/
|
||||
|
||||
--- a/checkbashisms
|
||||
+++ b/checkbashisms
|
||||
@@ -30,7 +30,7 @@
|
||||
EOF
|
||||
|
||||
my $version = <<"EOF";
|
||||
-This is $progname version 2.0.0.1
|
||||
+This is $progname version 2.0.0.2
|
||||
(C) Copyright 1998-2003 Richard Braakman, Josip Rodin and Julian Gilbey
|
||||
Additional programming by Mark Hobley
|
||||
EOF
|
@ -0,0 +1 @@
|
||||
DIST mednaffe-0.8.zip 311381 SHA256 ad56e7a856c7b516a47ac45031e5e8bc4f4ce7106422c8676af7477e94003702 SHA512 54747318da956616af2fedba5d9760629d0064140b4aa2bd652208c4fda8cb24dec60d869d6999aaa371d837adcaf0c6761f843277c999c33d98cfdd07bf3776 WHIRLPOOL 80940181c9a2c36012f87a8c0cf7ce234801096db7dff7aedc7c7f13253b6bd3b8c350129cc5010c225452b5a0f355607f4dac7cade22f0fa64ffc20138e27e9
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit autotools flag-o-matic gnome2-utils games
|
||||
|
||||
DESCRIPTION="A front-end (GUI) for mednafen emulator"
|
||||
HOMEPAGE="https://github.com/AmatCoder/mednaffe"
|
||||
SRC_URI="https://github.com/AmatCoder/mednaffe/archive/v$PV.zip -> ${P}.zip"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
x11-libs/gtk+:3
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="x11-libs/gtk+:3
|
||||
games-emulation/mednafen[debugger]"
|
||||
|
||||
src_prepare() {
|
||||
append-cflags -Wl,-export-dynamic
|
||||
sed -i -e '/^CFLAGS=/d' configure.ac || die
|
||||
sed -i -e 's:$(datadir):/usr/share:' share/Makefile.am || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
egamesconf --enable-gtk3
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>games</herd>
|
||||
<upstream>
|
||||
<remote-id type="github">AmatCoder/mednaffe</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,15 @@
|
||||
diff -ur a/typespeed-0.6.5/src/typespeed.h b/typespeed-0.6.5/src/typespeed.h
|
||||
--- a/typespeed-0.6.5/src/typespeed.h 2008-08-13 15:36:51.000000000 +0100
|
||||
+++ b/typespeed-0.6.5/src/typespeed.h 2016-01-01 10:41:54.919998820 +0100
|
||||
@@ -27,10 +27,10 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
+#include <time.h>
|
||||
|
||||
#ifdef WIN32
|
||||
#include <dirent.h>
|
||||
- #include <time.h>
|
||||
|
||||
#ifndef MAXHOSTNAMELEN
|
||||
#define MAXHOSTNAMELEN 256
|
@ -1,2 +1 @@
|
||||
DIST eiciel-0.9.10.tar.bz2 647578 SHA256 27adf2b0c777836401d8a5e6195c30e4cadef893fdc2a2bd64356bde309ed688 SHA512 7801753edfb07b566f4979067c91031dcb8f3010a7cc96e12b05847706d81e10eb6c5e6df224c98cf9d2ad8cb5d9b7848dd610e1c6c3c8a2331c1d4ca3cc61fe WHIRLPOOL 2bd1935268b3a42fbfc788387263812d73ad06e4fd291f79117821c3b5fb9a5b24b7aa405e4df6e0d6fb5bfebfcaf12713a27924bbdc94bd6e72a78b0e9bc66e
|
||||
DIST eiciel-0.9.11.tar.bz2 680384 SHA256 13f9025e449d1b7f3a21fdb9454e8ba03849cb03d6390943c00a21dc3a0aebf2 SHA512 914b8b888e502a31f6c70bcc7d391ea8b79dde07e13b9a6ebb3b52a20b793fafd7a7a7f8ff7177c0150a223a74cae1b06fca0a274bc27545bb89223b4b8fd2aa WHIRLPOOL 140dfdb1c6e9308a5eced321775a0e337b78fa3798535f86be9f4dbade5c690c5fce9109d00f762439c4b893a6f19f48a3097f0cee7db8d6b3b8ee4a20f6cd01
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="An instrument editor for gig files"
|
||||
HOMEPAGE="http://www.linuxsampler.org/"
|
||||
SRC_URI="http://download.linuxsampler.org/packages/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-cpp/gtkmm:2.4
|
||||
>=media-libs/libgig-3.3.0
|
||||
>=media-libs/libsndfile-1.0.2
|
||||
>=media-sound/linuxsampler-0.5.1"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
>=dev-util/intltool-0.35.0
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
# Fix linking, bug #540674
|
||||
sed -i -e 's/@LIBS@/@LIBS@ -lsigc-2.0/g' src/gigedit/Makefile.in
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cxxflags -std=c++11
|
||||
econf --disable-static
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# fails with parallel jobs
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files --modules
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST nvidia-settings-340.58.tar.bz2 1549850 SHA256 21cd29fea50e62766d1985c84f6d6de8efa911e32abcbff8e7ccf0e43ebe25c0 SHA512 4c581a940c99fac28564ab6154f47cae496ebfda6339b7f10c5decf8fea52b6c12e5b63dfcf78f8365909e49539560a50338edb17117881b6a03c196bd51836c WHIRLPOOL b486032339c4f8c4767239e3a4b001667bceb2c3ef5f3e94f08d1c54c60a958e1c76456415769ce9ff0503b6eb3d903aa89599a0234e08447c33671c598e66c8
|
||||
DIST nvidia-settings-355.11.tar.bz2 1570699 SHA256 999ebc9e12ca1a6b6195d439f08aac0b9420f8117e42cac62dccd2872dabb74b SHA512 7565e3d809c5f27ec9ca092a6369cf89ca7571e0cb1b1285c50192cc1cc763e95316d9c71d06ed2333077b97946318e825c6d672f48549b58bd41faa673fb49c WHIRLPOOL 700a0c70fe63d4379d4ccb9dc7aa4350fbdc8b0c67d0a2d13c117d06b81fdf3fc7f1a690f9293b20f03a1876494d63ad5d4ec2536573f726d23cdbfa49c36c4e
|
||||
DIST nvidia-settings-358.16.tar.bz2 1571104 SHA256 8cd78df738a824e282771755ae9a41d5b194b15f9df96b9fd23fcf3005967d35 SHA512 0438aa2599e98f68a04c9f663f4ef9b05092df512fbca40ad0fe17e25ca4d940d02cc55e9fd44a2551950a2a30782d1e48553c4bebd071bfff280869a6dde556 WHIRLPOOL 60b7e9abba3163ac877a3a9d944cf72352e28d2fd1a3af0996d3b7d40ef48be7f057c1063f9ca61c693cbf1bff57be61704f13d941220bf74a8049954f87154d
|
||||
|
@ -0,0 +1,81 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="NVIDIA Linux X11 Settings Utility"
|
||||
HOMEPAGE="http://www.nvidia.com/"
|
||||
SRC_URI="ftp://download.nvidia.com/XFree86/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||
IUSE="examples gtk3"
|
||||
|
||||
COMMON_DEPEND="
|
||||
x11-libs/gtk+:2
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXxf86vm
|
||||
x11-libs/gdk-pixbuf[X]
|
||||
media-libs/mesa
|
||||
x11-libs/pango[X]
|
||||
x11-libs/libXv
|
||||
x11-libs/libXrandr
|
||||
dev-libs/glib:2
|
||||
dev-libs/jansson
|
||||
x11-libs/cairo
|
||||
>=x11-libs/libvdpau-1.0"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
x11-drivers/nvidia-drivers:0/358"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
x11-proto/xproto"
|
||||
|
||||
src_compile() {
|
||||
einfo "Building libXNVCtrl..."
|
||||
emake -C src/ \
|
||||
CC="$(tc-getCC)" \
|
||||
AR="$(tc-getAR)" \
|
||||
RANLIB="$(tc-getRANLIB)" \
|
||||
build-xnvctrl
|
||||
|
||||
einfo "Building nvidia-settings..."
|
||||
emake -C src/ \
|
||||
CC="$(tc-getCC)" \
|
||||
LD="$(tc-getLD)" \
|
||||
STRIP_CMD="$(type -P true)" \
|
||||
NV_VERBOSE=1 \
|
||||
NV_USE_BUNDLED_LIBJANSSON=0 \
|
||||
NVML_AVAILABLE=0 \
|
||||
GTK3_AVAILABLE=$(usex gtk3 1 0)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C src/ DESTDIR="${D}" PREFIX=/usr NV_USE_BUNDLED_LIBJANSSON=0 GTK3_AVAILABLE=$(usex gtk3 1 0) install
|
||||
|
||||
insinto /usr/$(get_libdir)
|
||||
doins src/libXNVCtrl/libXNVCtrl.a
|
||||
|
||||
insinto /usr/include/NVCtrl
|
||||
doins src/libXNVCtrl/*.h
|
||||
|
||||
# doicon doc/${PN}.png # Installed through nvidia-drivers
|
||||
make_desktop_entry ${PN} "NVIDIA X Server Settings" ${PN} Settings
|
||||
|
||||
# bug 412569 - Installed through nvidia-drivers
|
||||
# rm -rf "${D}"/usr/share/man
|
||||
|
||||
dodoc doc/*.txt
|
||||
|
||||
if use examples; then
|
||||
docinto examples/
|
||||
dodoc samples/*.c
|
||||
dodoc samples/README
|
||||
fi
|
||||
}
|
@ -1 +1 @@
|
||||
Fri, 01 Jan 2016 20:43:46 +0000
|
||||
Sat, 02 Jan 2016 10:43:46 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri, 01 Jan 2016 20:43:46 +0000
|
||||
Sat, 02 Jan 2016 10:43:47 +0000
|
||||
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install postinst preinst prepare setup test unpack
|
||||
DEPEND=dev-libs/libgcrypt:0 sys-devel/libtool perl? ( dev-lang/perl:=[ithreads] ) collectd_plugins_apache? ( net-misc/curl ) collectd_plugins_ascent? ( net-misc/curl dev-libs/libxml2 ) collectd_plugins_bind? ( dev-libs/libxml2:= ) collectd_plugins_ceph? ( dev-libs/yajl:= ) collectd_plugins_curl? ( net-misc/curl ) collectd_plugins_curl_json? ( net-misc/curl dev-libs/yajl:= ) collectd_plugins_curl_xml? ( net-misc/curl dev-libs/libxml2:= ) collectd_plugins_dbi? ( dev-db/libdbi:= ) collectd_plugins_dns? ( net-libs/libpcap:= ) collectd_plugins_gmond? ( sys-cluster/ganglia ) collectd_plugins_ipmi? ( >=sys-libs/openipmi-2.0.16-r1 ) collectd_plugins_iptables? ( >=net-firewall/iptables-1.4.13 ) collectd_plugins_log_logstash? ( dev-libs/yajl:= ) collectd_plugins_lvm? ( sys-fs/lvm2 ) collectd_plugins_memcachec? ( dev-libs/libmemcached:= ) collectd_plugins_mysql? ( >=virtual/mysql-5.0 ) collectd_plugins_netlink? ( net-libs/libmnl:= ) collectd_plugins_nginx? ( net-misc/curl ) collectd_plugins_notify_desktop? ( x11-libs/libnotify:= ) collectd_plugins_notify_email? ( net-libs/libesmtp dev-libs/openssl:0= ) collectd_plugins_nut? ( sys-power/nut ) collectd_plugins_onewire? ( sys-fs/owfs ) collectd_plugins_oracle? ( dev-db/oracle-instantclient-basic ) collectd_plugins_openldap? ( net-nds/openldap ) collectd_plugins_perl? ( dev-lang/perl:=[ithreads] ) collectd_plugins_ping? ( net-libs/liboping:= ) collectd_plugins_postgresql? ( dev-db/postgresql:= ) collectd_plugins_python? ( >=dev-lang/python-2.7.5-r2:2.7 >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_jython2_7(-),python_single_target_python2_7(+)] ) collectd_plugins_redis? ( dev-libs/hiredis:= ) collectd_plugins_routeros? ( net-libs/librouteros:= ) collectd_plugins_rrdcached? ( net-analyzer/rrdtool ) collectd_plugins_rrdtool? ( net-analyzer/rrdtool ) collectd_plugins_sensors? ( sys-apps/lm_sensors ) collectd_plugins_smart? ( dev-libs/libatasmart:= ) collectd_plugins_snmp? ( net-analyzer/net-snmp ) collectd_plugins_tokyotyrant? ( net-misc/tokyotyrant ) collectd_plugins_varnish? ( www-servers/varnish ) collectd_plugins_virt? ( app-emulation/libvirt dev-libs/libxml2 ) collectd_plugins_write_http? ( net-misc/curl ) collectd_plugins_write_mongodb? ( dev-libs/mongo-c-driver:= ) collectd_plugins_write_redis? ( dev-libs/hiredis:= ) kernel_FreeBSD? ( collectd_plugins_disk? ( sys-libs/libstatgrab:= ) collectd_plugins_interface? ( sys-libs/libstatgrab:= ) collectd_plugins_load? ( sys-libs/libstatgrab:= ) collectd_plugins_memory? ( sys-libs/libstatgrab:= ) collectd_plugins_swap? ( sys-libs/libstatgrab:= ) collectd_plugins_users? ( sys-libs/libstatgrab:= ) ) virtual/pkgconfig collectd_plugins_java? ( >=virtual/jdk-1.6 ) kernel_linux? ( collectd_plugins_vserver? ( sys-kernel/vserver-sources ) ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 filecaps? ( sys-libs/libcap ) collectd_plugins_java? ( >=dev-java/java-config-2.2.0 ) virtual/pkgconfig
|
||||
DESCRIPTION=Collects system statistics and provides mechanisms to store the values
|
||||
EAPI=5
|
||||
HOMEPAGE=http://collectd.org
|
||||
IUSE=contrib debug kernel_linux kernel_FreeBSD kernel_Darwin perl selinux static-libs collectd_plugins_aggregation collectd_plugins_apache collectd_plugins_apcups collectd_plugins_ascent collectd_plugins_battery collectd_plugins_bind collectd_plugins_ceph collectd_plugins_cgroups collectd_plugins_conntrack collectd_plugins_contextswitch collectd_plugins_cpu collectd_plugins_cpufreq collectd_plugins_csv collectd_plugins_curl collectd_plugins_curl_json collectd_plugins_curl_xml collectd_plugins_dbi collectd_plugins_df collectd_plugins_disk collectd_plugins_dns collectd_plugins_drbd collectd_plugins_email collectd_plugins_entropy collectd_plugins_ethstat collectd_plugins_exec collectd_plugins_fhcount collectd_plugins_filecount collectd_plugins_fscache collectd_plugins_gmond collectd_plugins_hddtemp collectd_plugins_interface collectd_plugins_ipc collectd_plugins_ipmi collectd_plugins_iptables collectd_plugins_irq collectd_plugins_java collectd_plugins_load collectd_plugins_log_logstash collectd_plugins_logfile collectd_plugins_lvm collectd_plugins_madwifi collectd_plugins_match_empty_counter collectd_plugins_match_hashed collectd_plugins_match_regex collectd_plugins_match_timediff collectd_plugins_match_value collectd_plugins_mbmon collectd_plugins_md collectd_plugins_memcachec collectd_plugins_memcached collectd_plugins_memory collectd_plugins_multimeter collectd_plugins_mysql collectd_plugins_netlink collectd_plugins_network collectd_plugins_nfs collectd_plugins_nginx collectd_plugins_notify_desktop collectd_plugins_notify_email collectd_plugins_ntpd collectd_plugins_numa collectd_plugins_nut collectd_plugins_olsrd collectd_plugins_onewire collectd_plugins_openldap collectd_plugins_openvpn collectd_plugins_oracle collectd_plugins_perl collectd_plugins_ping collectd_plugins_postgresql collectd_plugins_powerdns collectd_plugins_processes collectd_plugins_protocols collectd_plugins_python collectd_plugins_redis collectd_plugins_routeros collectd_plugins_rrdcached collectd_plugins_rrdtool collectd_plugins_sensors collectd_plugins_serial collectd_plugins_smart collectd_plugins_snmp collectd_plugins_statsd collectd_plugins_swap collectd_plugins_syslog collectd_plugins_table collectd_plugins_tail collectd_plugins_target_notification collectd_plugins_target_replace collectd_plugins_target_scale collectd_plugins_target_set collectd_plugins_tcpconns collectd_plugins_teamspeak2 collectd_plugins_ted collectd_plugins_thermal collectd_plugins_threshold collectd_plugins_tokyotyrant collectd_plugins_turbostat collectd_plugins_unixsock collectd_plugins_uptime collectd_plugins_users collectd_plugins_uuid collectd_plugins_varnish collectd_plugins_virt collectd_plugins_vmem collectd_plugins_vserver collectd_plugins_wireless collectd_plugins_write_graphite collectd_plugins_write_http collectd_plugins_write_log collectd_plugins_write_mongodb collectd_plugins_write_redis collectd_plugins_write_sensu collectd_plugins_write_tsdb collectd_plugins_zfs_arc collectd_plugins_zookeeper +filecaps elibc_FreeBSD collectd_plugins_java python_targets_python2_7
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=dev-libs/libgcrypt:0 sys-devel/libtool perl? ( dev-lang/perl:=[ithreads] ) collectd_plugins_apache? ( net-misc/curl ) collectd_plugins_ascent? ( net-misc/curl dev-libs/libxml2 ) collectd_plugins_bind? ( dev-libs/libxml2:= ) collectd_plugins_ceph? ( dev-libs/yajl:= ) collectd_plugins_curl? ( net-misc/curl ) collectd_plugins_curl_json? ( net-misc/curl dev-libs/yajl:= ) collectd_plugins_curl_xml? ( net-misc/curl dev-libs/libxml2:= ) collectd_plugins_dbi? ( dev-db/libdbi:= ) collectd_plugins_dns? ( net-libs/libpcap:= ) collectd_plugins_gmond? ( sys-cluster/ganglia ) collectd_plugins_ipmi? ( >=sys-libs/openipmi-2.0.16-r1 ) collectd_plugins_iptables? ( >=net-firewall/iptables-1.4.13 ) collectd_plugins_log_logstash? ( dev-libs/yajl:= ) collectd_plugins_lvm? ( sys-fs/lvm2 ) collectd_plugins_memcachec? ( dev-libs/libmemcached:= ) collectd_plugins_mysql? ( >=virtual/mysql-5.0 ) collectd_plugins_netlink? ( net-libs/libmnl:= ) collectd_plugins_nginx? ( net-misc/curl ) collectd_plugins_notify_desktop? ( x11-libs/libnotify:= ) collectd_plugins_notify_email? ( net-libs/libesmtp dev-libs/openssl:0= ) collectd_plugins_nut? ( sys-power/nut ) collectd_plugins_onewire? ( sys-fs/owfs ) collectd_plugins_oracle? ( dev-db/oracle-instantclient-basic ) collectd_plugins_openldap? ( net-nds/openldap ) collectd_plugins_perl? ( dev-lang/perl:=[ithreads] ) collectd_plugins_ping? ( net-libs/liboping:= ) collectd_plugins_postgresql? ( dev-db/postgresql:= ) collectd_plugins_python? ( >=dev-lang/python-2.7.5-r2:2.7 >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_jython2_7(-),python_single_target_python2_7(+)] ) collectd_plugins_redis? ( dev-libs/hiredis:= ) collectd_plugins_routeros? ( net-libs/librouteros:= ) collectd_plugins_rrdcached? ( net-analyzer/rrdtool ) collectd_plugins_rrdtool? ( net-analyzer/rrdtool ) collectd_plugins_sensors? ( sys-apps/lm_sensors ) collectd_plugins_smart? ( dev-libs/libatasmart:= ) collectd_plugins_snmp? ( net-analyzer/net-snmp ) collectd_plugins_tokyotyrant? ( net-misc/tokyotyrant ) collectd_plugins_varnish? ( www-servers/varnish ) collectd_plugins_virt? ( app-emulation/libvirt dev-libs/libxml2 ) collectd_plugins_write_http? ( net-misc/curl ) collectd_plugins_write_mongodb? ( dev-libs/mongo-c-driver:= ) collectd_plugins_write_redis? ( dev-libs/hiredis:= ) kernel_FreeBSD? ( collectd_plugins_disk? ( sys-libs/libstatgrab:= ) collectd_plugins_interface? ( sys-libs/libstatgrab:= ) collectd_plugins_load? ( sys-libs/libstatgrab:= ) collectd_plugins_memory? ( sys-libs/libstatgrab:= ) collectd_plugins_swap? ( sys-libs/libstatgrab:= ) collectd_plugins_users? ( sys-libs/libstatgrab:= ) ) collectd_plugins_java? ( >=virtual/jre-1.6 ) collectd_plugins_syslog? ( virtual/logger ) selinux? ( sec-policy/selinux-collectd ) collectd_plugins_java? ( >=dev-java/java-config-2.2.0 )
|
||||
REQUIRED_USE=collectd_plugins_python? ( python_targets_python2_7 )
|
||||
SLOT=0
|
||||
SRC_URI=http://collectd.org/files/collectd-5.5.0.tar.bz2
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils d9bd2ddd85a58e470b49ca997e255a4c fcaps 6a1091a98b1dde01cc26ab3252da1a9b java-pkg-opt-2 40db73f27fc6458ec2105812a4f261c7 java-utils-2 5f1bd1f8baff3ee957cb72c75c3949f2 libtool b75230758539a7da029e24afdb693960 linux-info 8f92e5ac1a1da684c5450b1b21a1f56a multilib 3972ca401cf7dbb430df9995f5d8d580 multiprocessing e32940a7b2a9992ad217eccddb84d548 perl-app 11f61997f1d4923276dd72a750617c7d perl-functions 15aff0b9cba2282790142295ceb6be0c perl-module b2108b3c85ac7a6a6a9b035b54f6813c python-single-r1 2ebea8fbab356d63110245129a67a6dd python-utils-r1 30887c5e8630bbf27b5cf0fd74564323 systemd 3165c885f3c71ffae7a867d931fb0e07 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 unpacker 1d149d9bda7723e740cfd28118f27813 user 906f3c8eb3a2350a4f1191a89baa3e46 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=3c33aa1abd99e9bd95c7c728a050ea03
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=postinst prepare
|
||||
DEPEND=!<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=A set of eselect modules for Java
|
||||
EAPI=5
|
||||
HOMEPAGE=https://www.gentoo.org/proj/en/java/
|
||||
KEYWORDS=~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=!app-eselect/eselect-ecj !app-eselect/eselect-maven !<dev-java/java-config-2.2 app-admin/eselect
|
||||
SLOT=0
|
||||
SRC_URI=https://gitweb.gentoo.org/proj/eselect-java.git/snapshot/eselect-java-0.2.0.tar.bz2
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c libtool b75230758539a7da029e24afdb693960 multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=aa48caa25251e41bb9cc474c6538c17d
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install postinst preinst prepare setup
|
||||
DEPEND=javascript? ( dev-java/rhino:1.6 ) nsplugin? ( >=dev-libs/glib-2.16 ) tagsoup? ( dev-java/tagsoup:0 ) app-arch/zip >=virtual/jdk-1.7 virtual/pkgconfig nsplugin? ( net-misc/npapi-sdk ) test? ( >=dev-java/junit-4.8:4 ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 >=dev-java/java-config-2.2.0
|
||||
DESCRIPTION=FOSS Java browser plugin and Web Start implementation
|
||||
EAPI=5
|
||||
HOMEPAGE=http://icedtea.classpath.org
|
||||
IUSE=doc javascript +nsplugin tagsoup test elibc_FreeBSD
|
||||
KEYWORDS=~amd64 ~arm ~ppc ~ppc64 ~x86
|
||||
LICENSE=GPL-2 GPL-2-with-linking-exception LGPL-2
|
||||
RDEPEND=javascript? ( dev-java/rhino:1.6 ) nsplugin? ( >=dev-libs/glib-2.16 ) tagsoup? ( dev-java/tagsoup:0 ) >=app-eselect/eselect-java-0.2.0 >=virtual/jre-1.7 nsplugin? ( !dev-java/oracle-jdk-bin[nsplugin] !dev-java/oracle-jre-bin[nsplugin] ) >=dev-java/java-config-2.2.0
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=http://icedtea.classpath.org/download/source/icedtea-web-1.6.1.tar.gz
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils d9bd2ddd85a58e470b49ca997e255a4c java-pkg-2 b02dc1e46b3648e467b5fbdf7857cf28 java-utils-2 5f1bd1f8baff3ee957cb72c75c3949f2 libtool b75230758539a7da029e24afdb693960 multilib 3972ca401cf7dbb430df9995f5d8d580 readme.gentoo-r1 5aa4a25954645ec5a58dde64a5d65a60 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=2e3f6c2a62b79eab9b55dadfad4fb790
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue