parent
94c4b3577b
commit
16ffba91b4
@ -1 +1,2 @@
|
||||
DIST collectd-5.5.2.tar.bz2 1800476 SHA256 017f3a4062187e594d8ab6af685655fb82a8a942dc574668e68242bdb8ba820f SHA512 9d311db4f3677b95e3a47c03af01bdf1127957f6fccb6c601455632d0ea3b39e3f4cd9a6f8f510083e208714bbb0da2e04aaa574a90b0ad6fe984506675475b3 WHIRLPOOL 98ed4fb29eec0ae660d3e1651380a3f17f7bf7f22e687633c4a44974bc84e49cf8de11fd6fea349bfe24809ac3c29a407459a1203b72bcf741e1587c6c0b1773
|
||||
DIST collectd-5.6.0.tar.bz2 1818470 SHA256 f0ffbbd91fac3682bd324a74b9b4c9eabe781394b303b5cfd457c4cfbe748623 SHA512 5eecd7fe1619850b29e7853e0ab8f9eb7688d0fdf5687cf04930c75a94181c53d7dc0601a1dfa02417bdeb63cccf09b87acd7129e7f155b8d11147ec46982ed8 WHIRLPOOL 690e50f16318e9df39eac62010f8b0a57059356deeedd72505cc4a980876261a198edac095317f97b03913167dcfc49bf9f3b46986bbc3653628856e3a005111
|
||||
|
@ -0,0 +1,493 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
JAVA_PKG_OPT_USE="collectd_plugins_java"
|
||||
|
||||
inherit autotools fcaps flag-o-matic java-pkg-opt-2 linux-info multilib perl-functions python-single-r1 systemd user
|
||||
|
||||
DESCRIPTION="Collects system statistics and provides mechanisms to store the values"
|
||||
|
||||
HOMEPAGE="https://collectd.org/"
|
||||
SRC_URI="${HOMEPAGE}/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="contrib debug java kernel_Darwin kernel_FreeBSD kernel_linux perl selinux static-libs udev xfs"
|
||||
|
||||
# The plugin lists have to follow here since they extend IUSE
|
||||
|
||||
# Plugins that don't build (e.g. dependencies not in Gentoo)
|
||||
# apple_sensors: Requires libIOKit
|
||||
# aquaero: Requires aerotools-ng/libaquaero5
|
||||
# barometer: Requires libi2c (i2c_smbus_read_i2c_block_data)
|
||||
# grpc: Requires libgrpc
|
||||
# lpar: Requires libperfstat (AIX only)
|
||||
# mic: Requires Intel Many Integrated Core Architecture API
|
||||
# (part of Intel's Xeon Phi software)
|
||||
# netapp: Requires libnetapp (http://communities.netapp.com/docs/DOC-1110)
|
||||
# pf: Requires BSD packet filter
|
||||
# pinba: Requires MySQL Pinba engine (http://pinba.org/)
|
||||
# tape: Requires libkstat (Solaris only)
|
||||
# write_mongodb: https://github.com/collectd/collectd/issues/492
|
||||
# write_riemann: Requires riemann-c-client
|
||||
# xmms: Requires libxmms (v1)
|
||||
# zone: Solaris only...
|
||||
COLLECTD_IMPOSSIBLE_PLUGINS="apple_sensors aquaero barometer grpc lpar mic
|
||||
netapp pf pinba tape write_kafka write_mongodb write_riemann xmms
|
||||
zone"
|
||||
|
||||
# Plugins that have been (compile) tested and can be enabled via COLLECTD_PLUGINS
|
||||
COLLECTD_TESTED_PLUGINS="aggregation amqp apache apcups ascent battery bind
|
||||
ceph cgroups chrony conntrack contextswitch cpu cpufreq cpusleep
|
||||
csv curl curl_json curl_xml dbi df disk dns drbd email entropy
|
||||
ethstat exec fhcount filecount fscache gmond gps hddtemp interface
|
||||
ipc ipmi iptables ipvs irq java lua load logfile log_logstash lvm
|
||||
madwifi match_empty_counter match_hashed match_regex match_timediff
|
||||
match_value mbmon md memcachec memcached memory modbus mqtt
|
||||
multimeter mysql netlink network network nfs nginx notify_desktop
|
||||
notify_email notify_nagios ntpd numa nut olsrd onewire openldap
|
||||
openvpn oracle perl ping postgresql powerdns processes protocols
|
||||
python python redis routeros rrdcached rrdtool sensors serial
|
||||
sigrok smart snmp statsd swap syslog table tail tail_csv
|
||||
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_kafka write_log write_redis write_sensu write_tsdb
|
||||
xencpu zfs_arc zookeeper"
|
||||
|
||||
COLLECTD_DISABLED_PLUGINS="${COLLECTD_IMPOSSIBLE_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:=
|
||||
dev-libs/libltdl:0=
|
||||
perl? ( dev-lang/perl:=[ithreads] )
|
||||
udev? ( virtual/udev )
|
||||
xfs? ( sys-fs/xfsprogs )
|
||||
collectd_plugins_amqp? ( net-libs/rabbitmq-c )
|
||||
collectd_plugins_apache? ( net-misc/curl:0= )
|
||||
collectd_plugins_ascent? ( net-misc/curl:0= dev-libs/libxml2:2= )
|
||||
collectd_plugins_bind? ( dev-libs/libxml2:2= )
|
||||
collectd_plugins_ceph? ( dev-libs/yajl:= )
|
||||
collectd_plugins_curl? ( net-misc/curl:0= )
|
||||
collectd_plugins_curl_json? ( net-misc/curl:0= dev-libs/yajl:= )
|
||||
collectd_plugins_curl_xml? ( net-misc/curl:0= dev-libs/libxml2:2= )
|
||||
collectd_plugins_dbi? ( dev-db/libdbi )
|
||||
collectd_plugins_dns? ( net-libs/libpcap )
|
||||
collectd_plugins_gmond? ( sys-cluster/ganglia )
|
||||
collectd_plugins_gps? ( sci-geosciences/gpsd )
|
||||
collectd_plugins_ipmi? ( >=sys-libs/openipmi-2.0.16-r1 )
|
||||
collectd_plugins_iptables? ( >=net-firewall/iptables-1.4.13:0= )
|
||||
collectd_plugins_log_logstash? ( dev-libs/yajl:= )
|
||||
collectd_plugins_lua? ( dev-lang/lua:0= )
|
||||
collectd_plugins_lvm? ( sys-fs/lvm2 )
|
||||
collectd_plugins_memcachec? ( dev-libs/libmemcached )
|
||||
collectd_plugins_modbus? ( dev-libs/libmodbus )
|
||||
collectd_plugins_mqtt? ( app-misc/mosquitto )
|
||||
collectd_plugins_mysql? ( >=virtual/mysql-5.0 )
|
||||
collectd_plugins_netlink? ( net-libs/libmnl )
|
||||
collectd_plugins_nginx? ( net-misc/curl:0= )
|
||||
collectd_plugins_notify_desktop? ( x11-libs/libnotify )
|
||||
collectd_plugins_notify_email? ( net-libs/libesmtp )
|
||||
collectd_plugins_nut? ( >=sys-power/nut-2.7.2-r2 )
|
||||
collectd_plugins_openldap? ( net-nds/openldap )
|
||||
collectd_plugins_onewire? ( >=sys-fs/owfs-3.1:= )
|
||||
collectd_plugins_oracle? ( dev-db/oracle-instantclient-basic )
|
||||
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_sigrok? ( <sci-libs/libsigrok-0.4 )
|
||||
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:2= )
|
||||
collectd_plugins_write_http? ( net-misc/curl:0= )
|
||||
collectd_plugins_write_kafka? ( >=dev-libs/librdkafka-0.9.0.99:= )
|
||||
collectd_plugins_write_redis? ( dev-libs/hiredis:= )
|
||||
collectd_plugins_xencpu? ( app-emulation/xen-tools )
|
||||
|
||||
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:= )
|
||||
)"
|
||||
|
||||
# Enforcing <=sys-kernel/linux-headers-4.4 due to #577846
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
collectd_plugins_iptables? ( <=sys-kernel/linux-headers-4.4 )
|
||||
collectd_plugins_java? ( >=virtual/jdk-1.6 )
|
||||
virtual/pkgconfig"
|
||||
|
||||
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} )
|
||||
collectd_plugins_smart? ( udev )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-5.6.0-gentoo.patch
|
||||
"${FILESDIR}"/${PN}-5.6.0-issue-1896.patch
|
||||
"${FILESDIR}"/${PN}-5.6.0-fix-apache-plugin.patch
|
||||
)
|
||||
|
||||
# @FUNCTION: collectd_plugin_kernel_linux
|
||||
# @DESCRIPTION:
|
||||
# USAGE: <plugin 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} plugin can use kernel features that are disabled now; enable ${multi_opt} in your kernel"
|
||||
;;
|
||||
(warn)
|
||||
ewarn "The ${1} plugin uses kernel features that are disabled now; enable ${multi_opt} in your kernel"
|
||||
;;
|
||||
(error)
|
||||
eerror "The ${1} plugin 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() {
|
||||
if ! linux_chkconfig_present PROC_FS; then
|
||||
ewarn "/proc file system support is disabled, many plugins will not be able to read any statistics from your system unless you enable PROC_FS in your kernel"
|
||||
fi
|
||||
|
||||
if ! linux_chkconfig_present SYSFS; then
|
||||
ewarn "/sys file system support is disabled, many plugins will not be able to read any statistics from your system unless you enable SYSFS in your kernel"
|
||||
fi
|
||||
|
||||
# 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 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
|
||||
|
||||
# drbd.c: /proc/drbd
|
||||
collectd_plugin_kernel_linux drbd BLK_DEV_DRBD warn
|
||||
|
||||
# conntrack.c: /proc/sys/net/netfilter/*
|
||||
collectd_plugin_kernel_linux conntrack NETFILTER warn
|
||||
|
||||
# fscache.c: /proc/fs/fscache/stats
|
||||
collectd_plugin_kernel_linux fscache FSCACHE 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 ACPI_THERMAL warn
|
||||
|
||||
# turbostat.c: /dev/cpu/%d/msr
|
||||
collectd_plugin_kernel_linux turbostat X86_MSR warn
|
||||
|
||||
# vmem.c: /proc/vmstat
|
||||
collectd_plugin_kernel_linux vmem VM_EVENT_COUNTERS warn
|
||||
|
||||
# vserver.c: /proc/virtual
|
||||
collectd_plugin_kernel_linux vserver VSERVER warn
|
||||
|
||||
# uuid.c: /sys/hypervisor/uuid
|
||||
collectd_plugin_kernel_linux uuid SYSFS info
|
||||
|
||||
# wireless.c: /proc/net/wireless
|
||||
collectd_plugin_kernel_linux wireless "WIRELESS MAC80211 IEEE80211" warn
|
||||
|
||||
# zfs_arc.c: /proc/spl/kstat/zfs/arcstats
|
||||
collectd_plugin_kernel_linux zfs_arc "SPL ZFS" warn
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use kernel_linux; then
|
||||
linux-info_pkg_setup
|
||||
|
||||
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
|
||||
|
||||
if use collectd_plugins_java; then
|
||||
java-pkg-opt-2_pkg_setup
|
||||
fi
|
||||
|
||||
use collectd_plugins_python && python-single-r1_pkg_setup
|
||||
|
||||
enewgroup collectd
|
||||
enewuser collectd -1 -1 /var/lib/collectd collectd
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# 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
|
||||
|
||||
# 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
|
||||
|
||||
ebegin "Removing bundled libltdl"
|
||||
rm -rf libltdl || die
|
||||
eend 0
|
||||
|
||||
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
|
||||
wireless zfc_arc"
|
||||
|
||||
local need_libstatgrab=0
|
||||
local libstatgrab_plugins="cpu disk interface load memory swap users"
|
||||
local bsd_plugins="cpu tcpconns ${libstatgrab_plugins} zfc_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
|
||||
|
||||
local myconf="--disable-werror"
|
||||
|
||||
# Do we debug?
|
||||
myconf+=" $(use_enable debug)"
|
||||
|
||||
# udev support?
|
||||
# Required for smart plugin via REQUIRED_USE; Optional for disk plugin
|
||||
if use udev; then
|
||||
myconf+=" --with-libudev"
|
||||
else
|
||||
myconf+=" --without-libudev"
|
||||
fi
|
||||
|
||||
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})"
|
||||
# ... must we link against libstatgrab? Bug #541518
|
||||
if use kernel_FreeBSD && has ${plugin} ${libstatgrab_plugins}; then
|
||||
einfo "We must link against libstatgrab due to plugin \"${plugin}\" ..."
|
||||
need_libstatgrab=1
|
||||
fi
|
||||
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
|
||||
|
||||
if [ "${need_libstatgrab}" -eq 1 ]; then
|
||||
myconf+=" --with-libstatgrab"
|
||||
else
|
||||
myconf+=" --without-libstatgrab"
|
||||
fi
|
||||
|
||||
# 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_gps || myconf+=" --with-libgps=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"
|
||||
|
||||
# Python
|
||||
if use collectd_plugins_python; then
|
||||
myconf+=" --with-libpython=yes"
|
||||
export PYTHON_CONFIG=$(python_get_PYTHON_CONFIG)
|
||||
else
|
||||
myconf+=" --with-libpython=no"
|
||||
fi
|
||||
|
||||
# XFS support
|
||||
myconf+=" $(use_enable xfs)"
|
||||
|
||||
# Finally, run econf.
|
||||
KERNEL_DIR="${KERNEL_DIR}" econf --config-cache \
|
||||
$(use_enable static-libs static) \
|
||||
--localstatedir=/var ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D%/}" install
|
||||
|
||||
perl_delete_localpod
|
||||
|
||||
find "${ED}"usr/ -name "*.la" -delete || die
|
||||
|
||||
if use collectd_plugins_java; then
|
||||
java-pkg_regjar "${ED}"usr/share/${PN}/java/*.jar
|
||||
fi
|
||||
|
||||
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-r1" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd-r1" ${PN}
|
||||
systemd_newunit "contrib/systemd.${PN}.service" ${PN}.service
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
sed -i -e 's:^.*PIDFile "/var/run/collectd.pid":PIDFile "/run/collectd/collectd.pid":' "${ED}"etc/collectd.conf || die
|
||||
sed -i -e 's:^# SocketFile "/var/run/collectd-unixsock":# SocketFile "/run/collectd/collectd.socket":' "${ED}"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>:' "${ED}"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>:' "${ED}"etc/collectd.conf || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local caps=()
|
||||
use collectd_plugins_ping && caps+=('cap_net_raw')
|
||||
use collectd_plugins_iptables && caps+=('cap_net_admin')
|
||||
use collectd_plugins_filecount && caps+=('cap_dac_read_search')
|
||||
|
||||
if [ ${#caps[@]} -gt 0 ]; then
|
||||
local caps_str=$(IFS=","; echo "${caps[*]}")
|
||||
fcaps ${caps_str} usr/sbin/collectd
|
||||
elog "Capabilities for ${EROOT}usr/sbin/collectd set to:"
|
||||
elog " ${caps_str}+ep"
|
||||
elog
|
||||
fi
|
||||
|
||||
elog "Note: Collectd is only the collector."
|
||||
elog " You need to install 'data' sources (applications) locally or"
|
||||
elog " remotely on your own."
|
||||
|
||||
elog
|
||||
elog "Collectd is configured to run 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,26 @@
|
||||
From 60ec28dd104bdeef4c5ed6882fb2b663ca9da2eb Mon Sep 17 00:00:00 2001
|
||||
From: Florian Forster <octo@collectd.org>
|
||||
Date: Sun, 11 Sep 2016 20:31:31 +0200
|
||||
Subject: [PATCH] apache plugin: End statements with semi-colons.
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
If only I knew why this wasn't considered a syntax error …
|
||||
---
|
||||
src/apache.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/apache.c b/src/apache.c
|
||||
index c515e3c..5b6914c 100644
|
||||
--- a/src/apache.c
|
||||
+++ b/src/apache.c
|
||||
@@ -250,7 +250,7 @@ static int config_add (oconfig_item_t *ci)
|
||||
ssnprintf (callback_name, sizeof (callback_name),
|
||||
"apache/%s/%s",
|
||||
(st->host != NULL) ? st->host : hostname_g,
|
||||
- (st->name != NULL) ? st->name : "default"),
|
||||
+ (st->name != NULL) ? st->name : "default");
|
||||
|
||||
status = plugin_register_complex_read (/* group = */ NULL,
|
||||
/* name = */ callback_name,
|
@ -0,0 +1,153 @@
|
||||
From 8fe20883e248572690798e4dd1423511aa2f4e5d Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Deutschmann <whissi@gentoo.org>
|
||||
Date: Thu, 22 Sep 2016 00:53:58 +0200
|
||||
Subject: [PATCH 1/3] Remove bundled libltdl
|
||||
|
||||
---
|
||||
Makefile.am | 6 ------
|
||||
configure.ac | 8 ++++----
|
||||
2 files changed, 4 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 03bdd39..ad04a3c 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -1,11 +1,5 @@
|
||||
-ACLOCAL_AMFLAGS = -I libltdl/m4
|
||||
-
|
||||
SUBDIRS =
|
||||
|
||||
-if BUILD_INCLUDED_LTDL
|
||||
-SUBDIRS += libltdl
|
||||
-endif
|
||||
-
|
||||
SUBDIRS += proto src bindings .
|
||||
|
||||
AM_CPPFLAGS = $(LTDLINCL)
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 9a6da11..68e15e0 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -3,7 +3,6 @@ AC_PREREQ([2.60])
|
||||
AC_INIT([collectd],[m4_esyscmd(./version-gen.sh)])
|
||||
AC_CONFIG_SRCDIR(src/target_set.c)
|
||||
AC_CONFIG_HEADERS(src/config.h)
|
||||
-AC_CONFIG_AUX_DIR([libltdl/config])
|
||||
|
||||
dnl older automake's default of ARFLAGS=cru is noisy on newer binutils;
|
||||
dnl we don't really need the 'u' even in older toolchains. Then there is
|
||||
@@ -13,7 +12,6 @@ m4_divert_text([DEFAULTS], [: "${ARFLAGS=cr} ${AR_FLAGS=cr}"])
|
||||
m4_ifdef([LT_PACKAGE_VERSION],
|
||||
# libtool >= 2.2
|
||||
[
|
||||
- LT_CONFIG_LTDL_DIR([libltdl])
|
||||
LT_INIT([dlopen])
|
||||
LTDL_INIT([convenience])
|
||||
AC_DEFINE(LIBTOOL_VERSION, 2, [Define to used libtool version.])
|
||||
@@ -25,12 +23,14 @@ m4_ifdef([LT_PACKAGE_VERSION],
|
||||
AC_SUBST(LTDLINCL)
|
||||
AC_SUBST(LIBLTDL)
|
||||
AC_LIBTOOL_DLOPEN
|
||||
- AC_CONFIG_SUBDIRS(libltdl)
|
||||
AC_DEFINE(LIBTOOL_VERSION, 1, [Define to used libtool version.])
|
||||
]
|
||||
)
|
||||
|
||||
-AM_CONDITIONAL([BUILD_INCLUDED_LTDL], [test "x$LTDLDEPS" != "x"])
|
||||
+if test "x$LTDLDEPS" != "x"
|
||||
+then
|
||||
+ AC_MSG_ERROR(["system's libltdl is too old! Should never happen. Please file a bug at https://bugs.gentoo.org"])
|
||||
+fi
|
||||
|
||||
AM_INIT_AUTOMAKE([subdir-objects tar-pax dist-bzip2 no-dist-gzip foreign])
|
||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||
--
|
||||
2.10.0
|
||||
|
||||
|
||||
From 0b00f519ce183b8ceaab5cf8e56f574ecd2cb7c4 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Deutschmann <whissi@gentoo.org>
|
||||
Date: Thu, 22 Sep 2016 00:54:08 +0200
|
||||
Subject: [PATCH 2/3] Remove libhal dependency
|
||||
|
||||
X-Gentoo-Bug: 353839
|
||||
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=353839
|
||||
---
|
||||
configure.ac | 24 ------------------------
|
||||
1 file changed, 24 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 68e15e0..1700c44 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1663,30 +1663,6 @@ AM_CONDITIONAL(BUILD_WITH_LIBRESOLV, test "x$with_libresolv" = "xyes")
|
||||
|
||||
dnl Check for HAL (hardware abstraction library)
|
||||
with_libhal="no"
|
||||
-PKG_CHECK_MODULES([HAL], [hal],
|
||||
- [
|
||||
- SAVE_LIBS="$LIBS"
|
||||
- LIBS="$HAL_LIBS $LIBS"
|
||||
- AC_CHECK_LIB([hal], [libhal_device_property_exists],
|
||||
- [
|
||||
- SAVE_CPPFLAGS="$CPPFLAGS"
|
||||
- CPPFLAGS="$HAL_CFLAGS $CPPFLAGS"
|
||||
- AC_CHECK_HEADERS([libhal.h],
|
||||
- [
|
||||
- with_libhal="yes"
|
||||
- BUILD_WITH_LIBHAL_CFLAGS="$HAL_CFLAGS"
|
||||
- BUILD_WITH_LIBHAL_LIBS="$HAL_LIBS"
|
||||
- ])
|
||||
- CPPFLAGS="$SAVE_CPPFLAGS"
|
||||
- ],
|
||||
- [ : ]
|
||||
- )
|
||||
- LIBS="$SAVE_LIBS"
|
||||
- ],
|
||||
- [ : ]
|
||||
-)
|
||||
-AC_SUBST(BUILD_WITH_LIBHAL_CFLAGS)
|
||||
-AC_SUBST(BUILD_WITH_LIBHAL_LIBS)
|
||||
|
||||
|
||||
SAVE_LIBS="$LIBS"
|
||||
--
|
||||
2.10.0
|
||||
|
||||
|
||||
From 380c61888bed5856319fa32816d8f2f4c88ee7bc Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Deutschmann <whissi@gentoo.org>
|
||||
Date: Thu, 22 Sep 2016 00:54:19 +0200
|
||||
Subject: [PATCH 3/3] Link Oracle plug-in against libocci
|
||||
|
||||
Author: Aurelien Minet
|
||||
X-Gentoo-Bug: 347607
|
||||
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=347607
|
||||
---
|
||||
configure.ac | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 1700c44..83909a0 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -3587,14 +3587,14 @@ AC_ARG_WITH(oracle, [AS_HELP_STRING([--with-oracle@<:@=ORACLE_HOME@:>@], [Path t
|
||||
])
|
||||
if test "x$ORACLE_HOME" != "x"
|
||||
then
|
||||
- with_oracle_cppflags="-I$ORACLE_HOME/rdbms/public"
|
||||
+ with_oracle_cppflags="-I$ORACLE_HOME/rdbms/public -locci"
|
||||
|
||||
if test -e "$ORACLE_HOME/lib/ldflags"
|
||||
then
|
||||
with_oracle_libs=`cat "$ORACLE_HOME/lib/ldflags"`
|
||||
fi
|
||||
#with_oracle_libs="-L$ORACLE_HOME/lib $with_oracle_libs -lclntsh"
|
||||
- with_oracle_libs="-L$ORACLE_HOME/lib -lclntsh"
|
||||
+ with_oracle_libs="-L$ORACLE_HOME/lib -lclntsh -locci"
|
||||
fi
|
||||
if test "x$with_oracle" = "xyes"
|
||||
then
|
||||
--
|
||||
2.10.0
|
||||
|
@ -0,0 +1,76 @@
|
||||
From ba52f94929822b1968f05cfbb37985af2e0b83a4 Mon Sep 17 00:00:00 2001
|
||||
From: Florian Forster <octo@collectd.org>
|
||||
Date: Tue, 13 Sep 2016 10:44:46 +0200
|
||||
Subject: [PATCH] curl_json plugin: Skip unexpected non-map values.
|
||||
|
||||
Assume, for example, the config `Key "*/foo"`. This config expects JSON
|
||||
in the form:
|
||||
|
||||
{
|
||||
"bar": {
|
||||
"foo": 1337
|
||||
}
|
||||
}
|
||||
|
||||
If the available JSON is instead:
|
||||
|
||||
{
|
||||
"error_code": 0,
|
||||
"bar": {
|
||||
"foo": 1337
|
||||
}
|
||||
}
|
||||
|
||||
the code will take a look at the zero associated with "error_code" and
|
||||
determine that a map (with key "foo") is expected instead. Previously
|
||||
the code would continue, eventually calling `cj_get_type()` which
|
||||
expects that `key->type` is a valid pointer, resulting in a segmentation
|
||||
fault.
|
||||
|
||||
This patch does three things to ensure that this segmentation fault does
|
||||
not happen again:
|
||||
|
||||
1. `cj_get_type()` checks its argument to make sure it is valid before
|
||||
dereferencing any pointers.
|
||||
2. In case a non-map is found when a map is expected, the code will
|
||||
return instead of limping on.
|
||||
3. After calling `cj_cb_inc_array_index()`, which may update the key,
|
||||
make sure that it actually did and that key is valid now.
|
||||
|
||||
Fixes: #1896
|
||||
---
|
||||
src/curl_json.c | 10 ++++++++--
|
||||
1 file changed, 8 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/curl_json.c b/src/curl_json.c
|
||||
index 4188f37..a547ddc 100644
|
||||
--- a/src/curl_json.c
|
||||
+++ b/src/curl_json.c
|
||||
@@ -143,6 +143,9 @@ static int cj_get_type (cj_key_t *key)
|
||||
{
|
||||
const data_set_t *ds;
|
||||
|
||||
+ if ((key == NULL) || !CJ_IS_KEY (key))
|
||||
+ return -EINVAL;
|
||||
+
|
||||
ds = plugin_get_ds (key->type);
|
||||
if (ds == NULL)
|
||||
{
|
||||
@@ -226,12 +229,15 @@ static int cj_cb_number (void *ctx,
|
||||
buffer[sizeof (buffer) - 1] = 0;
|
||||
|
||||
if ((key == NULL) || !CJ_IS_KEY (key)) {
|
||||
- if (key != NULL && !db->state[db->depth].in_array/*can be inhomogeneous*/)
|
||||
+ if (key != NULL && !db->state[db->depth].in_array/*can be inhomogeneous*/) {
|
||||
NOTICE ("curl_json plugin: Found \"%s\", but the configuration expects"
|
||||
" a map.", buffer);
|
||||
+ return (CJ_CB_CONTINUE);
|
||||
+ }
|
||||
+
|
||||
cj_cb_inc_array_index (ctx, /* update_key = */ 1);
|
||||
key = db->state[db->depth].key;
|
||||
- if (key == NULL) {
|
||||
+ if ((key == NULL) || !CJ_IS_KEY (key)) {
|
||||
return (CJ_CB_CONTINUE);
|
||||
}
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
LDPATH=/var/lib/lib
|
||||
PATH=/var/lib/bin
|
||||
MANPATH=/var/lib/share/man
|
@ -1,5 +1,4 @@
|
||||
DIST sudo-1.8.15.tar.gz 2660128 SHA256 4316381708324da8b6cb151f655c1a11855207c7c02244d8ffdea5104d7cc308 SHA512 f2bff92104ddc4cbea8c788da446043cbfe02c977cedf18d46b1c82e98d7227432cb5a61233e7a06af84e3637f906edd5e02bb88c03a2ce4a16df410469a5dab WHIRLPOOL 3da64eda51f22d7fc0ea76f0693e9960d511b7c762b5d6237318d17436fd64b58ae90caa9bf4e125ebee70b83eac7cba2c7451fb62fafd8ee3d133c4ae2037b9
|
||||
DIST sudo-1.8.16.tar.gz 2707358 SHA256 2d83826fc5125bf073acc203dbda1cf2abeee017090ccc9dddb0431a53d5064d SHA512 7cf5399eb65c4b39071213c27c34d35ed2ea9c4578f19f6e8d3777179914fa30a2848c042e9f85e90e3b5d056322b9eb6c79e2d3b9b210a795e9921a1b00200b WHIRLPOOL 747bff26e93475441aab6bb6ff8e51114f8155277d570cbdb28909b7e63a49fcdcf5d65f186a2ec067f1100cac3c0a2e6f3a7611f78d83794f41d6884a8c6fc9
|
||||
DIST sudo-1.8.17.tar.gz 2786216 SHA256 62b12c4fa9a3ad4f20f6e7576bc6405b2ec8d76222ea44a1c94830c68cccec8c SHA512 475d8357f2b6b0542f886db544465ff386311893babccb7b6603dac0deb82a9a6c50e82a3d7bee2713de79556e0ec326240fd8766deadbe05569a92a790e62d5 WHIRLPOOL dc81953d266a9fad674bd25688a59013f89aeecd7c61e75f9d246f8671b703542820bc8318bb584c8a1b9ec78af16498f3e0f253e0a83c90e6055fde6f9bc0d1
|
||||
DIST sudo-1.8.17p1.tar.gz 2786618 SHA256 c690d707fb561b3ecdf6a6de5563bc0b769388eff201c851edbace408bb155cc SHA512 e9facd2d5578d4effb516931322b5f4f9578baa779cba281d36a3d0995b1fd9d085d6b141544b3dc698569fa294163bbad9f779166a05a0f18f4ad81a630b954 WHIRLPOOL 7b89fa9f05bbe72929073d83433f21b5a783047118ae7d434cb08cb536d5e47a641c59f5b4c7310c73d7dc994331974e4f209700e83139c2847f68e7dba014b2
|
||||
DIST sudo-1.8.18rc4.tar.gz 2822746 SHA256 c0c0f3015dc3aafe758eabda9977d6fc1762ada5e0efdb25a5be75d92d27c773 SHA512 fc6fc44e89f5886d76a7e61b75830f628c6f4c09f1fc1e57ca60a6a96ac6e0c5d7acdf66543477b34daca83aeb53ef60d94be8b09fe500a62f0ec4755183d36e WHIRLPOOL c54a3f07f1a7e6c186b38317f8317f8ceeb9ef7674fba3c3ff69ad66cfbce4437ab8379657a07ddc306725d596bb96face8cca12ad96a30ac87342acde2eb519
|
||||
DIST sudo-1.8.18.tar.gz 2820103 SHA256 8519e99e97fa51ac50fca2030e76f9aa5195f543ae2d15107753f4e4c4e3be13 SHA512 d461d54d7bfac3fc00642801773c27fe7d8514a76d79bda7142cbf51415d5bcedd661a207705814737c39267320ca82722706dfa9d2c02fdbf12642bd8461132 WHIRLPOOL 360039762fc32fc8d1c19a606ca35edb76e93fc4320eb4154e2468e9b0a9df7ca55576f19e92666281a6852c201b76e517c6d7ee5e676c7aa8890dc89c92187f
|
||||
|
@ -1,200 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils pam multilib libtool
|
||||
|
||||
MY_P=${P/_/}
|
||||
MY_P=${MY_P/beta/b}
|
||||
|
||||
uri_prefix=
|
||||
case ${P} in
|
||||
*_beta*|*_rc*) uri_prefix=beta/ ;;
|
||||
esac
|
||||
|
||||
DESCRIPTION="Allows users or groups to run commands as other users"
|
||||
HOMEPAGE="http://www.sudo.ws/"
|
||||
SRC_URI="http://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
|
||||
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz"
|
||||
|
||||
# Basic license is ISC-style as-is, some files are released under
|
||||
# 3-clause BSD license
|
||||
LICENSE="ISC BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~sparc-solaris"
|
||||
IUSE="ldap nls pam offensive selinux skey +sendmail"
|
||||
|
||||
DEPEND="pam? ( virtual/pam )
|
||||
skey? ( >=sys-auth/skey-1.1.5-r1 )
|
||||
ldap? (
|
||||
>=net-nds/openldap-2.1.30-r1
|
||||
dev-libs/cyrus-sasl
|
||||
)
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}
|
||||
selinux? ( sec-policy/selinux-sudo )
|
||||
ldap? ( dev-lang/perl )
|
||||
pam? ( sys-auth/pambase )
|
||||
>=app-misc/editor-wrapper-3
|
||||
virtual/editor
|
||||
sendmail? ( virtual/mta )"
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/bison"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
REQUIRED_USE="pam? ( !skey ) skey? ( !pam )"
|
||||
|
||||
MAKEOPTS+=" SAMPLES="
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
set_rootpath() {
|
||||
# FIXME: secure_path is a compile time setting. using ROOTPATH
|
||||
# is not perfect, env-update may invalidate this, but until it
|
||||
# is available as a sudoers setting this will have to do.
|
||||
einfo "Setting secure_path ..."
|
||||
|
||||
# first extract the default ROOTPATH from build env
|
||||
ROOTPATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env; echo "${ROOTPATH}")
|
||||
if [[ -z ${ROOTPATH} ]] ; then
|
||||
ewarn " Failed to find ROOTPATH, please report this"
|
||||
fi
|
||||
|
||||
# then remove duplicate path entries
|
||||
cleanpath() {
|
||||
local newpath thisp IFS=:
|
||||
for thisp in $1 ; do
|
||||
if [[ :${newpath}: != *:${thisp}:* ]] ; then
|
||||
newpath+=:$thisp
|
||||
else
|
||||
einfo " Duplicate entry ${thisp} removed..."
|
||||
fi
|
||||
done
|
||||
ROOTPATH=${newpath#:}
|
||||
}
|
||||
cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${ROOTPATH:+:${ROOTPATH}}
|
||||
|
||||
# finally, strip gcc paths #136027
|
||||
rmpath() {
|
||||
local e newpath thisp IFS=:
|
||||
for thisp in ${ROOTPATH} ; do
|
||||
for e ; do [[ $thisp == $e ]] && continue 2 ; done
|
||||
newpath+=:$thisp
|
||||
done
|
||||
ROOTPATH=${newpath#:}
|
||||
}
|
||||
rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*'
|
||||
|
||||
einfo "... done"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local ROOTPATH
|
||||
set_rootpath
|
||||
|
||||
# audit: somebody got to explain me how I can test this before I
|
||||
# enable it.. - Diego
|
||||
# plugindir: autoconf code is crappy and does not delay evaluation
|
||||
# until `make` time, so we have to use a full path here rather than
|
||||
# basing off other values.
|
||||
econf \
|
||||
--enable-zlib=system \
|
||||
--with-secure-path="${ROOTPATH}" \
|
||||
--with-editor="${EPREFIX}"/usr/libexec/editor \
|
||||
--with-env-editor \
|
||||
$(use_with offensive insults) \
|
||||
$(use_with offensive all-insults) \
|
||||
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo) \
|
||||
$(use_with ldap) \
|
||||
$(use_enable nls) \
|
||||
$(use_with pam) \
|
||||
$(use_with skey) \
|
||||
$(use_with selinux) \
|
||||
$(use_with sendmail) \
|
||||
--without-opie \
|
||||
--without-linux-audit \
|
||||
--with-rundir="${EPREFIX}"/var/run/sudo \
|
||||
--with-vardir="${EPREFIX}"/var/db/sudo \
|
||||
--with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use ldap ; then
|
||||
dodoc README.LDAP
|
||||
dosbin plugins/sudoers/sudoers2ldif
|
||||
|
||||
cat <<-EOF > "${T}"/ldap.conf.sudo
|
||||
# See ldap.conf(5) and README.LDAP for details
|
||||
# This file should only be readable by root
|
||||
|
||||
# supported directives: host, port, ssl, ldap_version
|
||||
# uri, binddn, bindpw, sudoers_base, sudoers_debug
|
||||
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key}
|
||||
EOF
|
||||
|
||||
insinto /etc
|
||||
doins "${T}"/ldap.conf.sudo
|
||||
fperms 0440 /etc/ldap.conf.sudo
|
||||
|
||||
insinto /etc/openldap/schema
|
||||
newins doc/schema.OpenLDAP sudo.schema
|
||||
fi
|
||||
|
||||
pamd_mimic system-auth sudo auth account session
|
||||
|
||||
keepdir /var/db/sudo
|
||||
fperms 0700 /var/db/sudo
|
||||
|
||||
# Don't install into /var/run as that is a tmpfs most of the time
|
||||
# (bug #504854)
|
||||
rm -rf "${D}"/var/run
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use ldap ; then
|
||||
ewarn
|
||||
ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration."
|
||||
ewarn
|
||||
if grep -qs '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf ; then
|
||||
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly"
|
||||
ewarn "configured in /etc/nsswitch.conf."
|
||||
ewarn
|
||||
ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:"
|
||||
ewarn " sudoers: ldap files"
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
if use prefix ; then
|
||||
ewarn
|
||||
ewarn "To use sudo, you need to change file ownership and permissions"
|
||||
ewarn "with root privileges, as follows:"
|
||||
ewarn
|
||||
ewarn " # chown root:root ${EPREFIX}/usr/bin/sudo"
|
||||
ewarn " # chown root:root ${EPREFIX}/usr/lib/sudo/sudoers.so"
|
||||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers"
|
||||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers.d"
|
||||
ewarn " # chown root:root ${EPREFIX}/var/db/sudo"
|
||||
ewarn " # chmod 4111 ${EPREFIX}/usr/bin/sudo"
|
||||
ewarn
|
||||
fi
|
||||
|
||||
elog "To use the -A (askpass) option, you need to install a compatible"
|
||||
elog "password program from the following list. Starred packages will"
|
||||
elog "automatically register for the use with sudo (but will not force"
|
||||
elog "the -A option):"
|
||||
elog ""
|
||||
elog " [*] net-misc/ssh-askpass-fullscreen"
|
||||
elog " net-misc/x11-ssh-askpass"
|
||||
elog ""
|
||||
elog "You can override the choice by setting the SUDO_ASKPASS environmnent"
|
||||
elog "variable to the program you want to use."
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST burncenter-3.2.1.tar.gz 15630 SHA256 87d784db99c3e9eb4d3e5b5612d81116e035a348680f22263c0db65fe10ba20a SHA512 61c5c8f520acba1138bb039127439e7919e9d8dc77e39bb547e0fb6d25b595cfd23cca77b0040293ced494d13f02a1cf12fb3be97ae1ed7b73b7b22fd1ed2cce WHIRLPOOL 9dd968ae85af99879471a5fd8a19248e66f193c635843a6c42af961cd807a87281df6ab83dfd1f81397c3c30199c19e00824deebd6c0096f572d73f8f6f40f7f
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
DESCRIPTION="A Perl module and a collection of easy-to-use text based interfaces to the UNIX CD burning tools"
|
||||
HOMEPAGE="http://alx14.free.fr/burncenter/"
|
||||
SRC_URI="http://alx14.free.fr/burncenter/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ppc x86"
|
||||
IUSE="vorbis"
|
||||
|
||||
DEPEND="dev-lang/perl"
|
||||
RDEPEND="${DEPEND}
|
||||
virtual/cdrtools
|
||||
media-sound/mpg123
|
||||
vorbis? (
|
||||
>=media-sound/vorbis-tools-1.0_rc2
|
||||
>=media-sound/oggtst-0.0 )"
|
||||
|
||||
src_compile() {
|
||||
# Nothing to do.
|
||||
true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local modulePath=$(perl -V:installprivlib | perl -p -e "s/^.*?='(.*?)';/\$1/")
|
||||
dobin burncenter
|
||||
dobin bcbatch
|
||||
insinto ${modulePath}
|
||||
doins Burncenter.pm
|
||||
|
||||
dodoc DEVELOP-FRONTENDS README TODO
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<longdescription>
|
||||
Burncenter is a very easy-to-use text-based interface to cd-burning tools
|
||||
under UNIX (cdrecord, cdda2wav, mkisofs). Burncenter 3.x is a Perl module
|
||||
(Burncenter.pm) and a collection of frontends for this module.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST vboxgtk-0.8.2.tar.gz 43717 SHA256 317d7b55cc0c98bf3c1fe294a8fc62668709ae14f12b3bf3b32d5fa33451fe95 SHA512 7326bf3892ec6f7d81614982b1a08ba4bf25ed3c10d327f9f56cad1f1493faf784e2d5324177e3abaea9de29eb5daec49c878b6152b4b3c0301ae640142d8aee WHIRLPOOL b465a9ccf2c582b685fa80cdfc16906768c2ac83c25399959a4a737fa13f0a24711651c5bde8ee980bcfee556dc8c539b167299e8f7e9b2637c35659b544cfd6
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PLOCALES="cs gl"
|
||||
inherit gnome2-utils l10n distutils-r1
|
||||
|
||||
DESCRIPTION="GTK frontend for VirtualBox"
|
||||
HOMEPAGE="https://code.google.com/p/vboxgtk/"
|
||||
SRC_URI="https://vboxgtk.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
|| ( >=app-emulation/virtualbox-4.2.0[-headless,python,sdk]
|
||||
>=app-emulation/virtualbox-bin-4.2.0[python] )
|
||||
dev-python/pygobject:3
|
||||
x11-libs/gtk+:3[introspection]"
|
||||
DEPEND="dev-util/intltool
|
||||
sys-devel/gettext"
|
||||
|
||||
DOCS=( AUTHORS README )
|
||||
|
||||
python_prepare_all() {
|
||||
rm_locale() { rm -r po/"${1}".po || die "LINGUAS removal failed" ;}
|
||||
l10n_for_each_disabled_locale_do rm_locale
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST mpv-bash-completion-0.17.tar.gz 15033 SHA256 a4c3be027ec52fef684a545a43c05f32cf512da93ae4a569d273e6e182b90ab1 SHA512 851a9f2b5e54f176fc7519a5fceace2b3281bef4062a48e108f17b83ccbd53e7b7545969be9cbccd3f093ba9ee65bd6736650f1b4d88997808a8b1df40d769eb WHIRLPOOL ba077f686d2e9ba4e819cf30f17cdca5b98b321e6c39b72a3bd7c1f5269da3d20abe7f610838a51b941fdba8c6636fc3eaae81f07fcd08f8f61f6262d2d0fab5
|
||||
DIST mpv-bash-completion-3.3.5.tar.gz 18485 SHA256 45239a4ed4370236c25e611296b992da34f6e7d65f69440f0a09096472c0a2af SHA512 8d1c0726984c9ef783f964da9434dc7f984407a3c2cbfc80b379f79875a199fcc1c80465371fbce6a966e608acac1be295e5adcd51414e87ddfb82e227337d98 WHIRLPOOL 09fb0de9c3944f8ff2af83bf7653732a7b6d8d27e8ff994e6962be85c9e27330d8e72612cbf08540da2f051a869fc3c731f8d79961704c9c33b0169f0a0617a4
|
||||
DIST mpv-bash-completion-3.3.6.tar.gz 18683 SHA256 81928813f380d2841f56e94471c2c66f2c11c0d39ca5f2c20fbbfb7a7cb47ca5 SHA512 70de2955c8c9f386cf3d7ea0c5f52e4fcf1ce70325556c889a4d07295e591fd557ea60e16906f00ca03c56927853ac8eda6f5e69cbd2b43069ced4c0a06d1008 WHIRLPOOL 9f6347d8fccef5c6adbcd0fb8d87791ecbf090f7cb13219e0565c2bdfe86ea8cd43bc2dc5038257bc0d55ffa4b37a1896dc4b24edb938d22427e496403ad822c
|
||||
|
@ -0,0 +1 @@
|
||||
DIST csscomplete-1.0.zip 18057 SHA256 e8a0b0356a986654d3d1acef11da99dd91f01c80f49ccd6f15b78a0c31735a55 SHA512 63b8b9a31d09ba6ce8195b524df5785cf5da73db7b487b68bba291fcfb62af0ea8e595f1aed73d657b8343775bacca056185dae9fc22d0dbcad1596653f94a81 WHIRLPOOL 7e3c19a05e0fbcc7e82be2b0cd44e71b7fc573468f54c701e49889cee2cb9101091aaeaf9481f1ce409a592dfd56185a84871ed62b26b63dca848be4cdbda3e9
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: CSS 3 omni complete function"
|
||||
HOMEPAGE="https://github.com/othree/csscomplete.vim"
|
||||
SRC_URI="https://github.com/othree/${PN}.vim/archive/${PV}.zip -> ${P}.zip"
|
||||
LICENSE="vim.org"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}/${PN}.vim-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm -v config.mk || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:;
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>vim@gentoo.org</email>
|
||||
<name>Gentoo Vim Project</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>monsieurp@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/itchyny/lightline.vim/"
|
||||
else
|
||||
SRC_URI="https://github.com/itchyny/${PN}.vim/archive/master.zip -> ${P}.zip"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="vim plugin: A light and configurable statusline/tabline"
|
||||
HOMEPAGE="https://github.com/itchyny/lightline.vim/"
|
||||
LICENSE="vim.org"
|
||||
VIM_PLUGIN_HELPFILES="${PN}"
|
||||
|
||||
src_compile() { :; }
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>vim@gentoo.org</email>
|
||||
<name>Gentoo Vim Project</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>monsieurp@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST libgringotts-1.2.1.tar.bz2 167013 SHA256 3757be9a2bb12aac91d90e80e65a955fca12a926284788be2f5118cb854dd277 SHA512 b38ce74a77be8e70d8d8a5f78b308bb6233db0be7875046163c0c3a385250e8b8675b87f5078e1ac1ea13447cf55b7ee016d719437ec230952d1d3e5d620650a WHIRLPOOL 159e08d5d71972d8dc143a3ef5baa9d7ff2c0d807743b2d74d3a6138bef07a98da8ff75ffbccd0e27f697ceb1570de307742e2c10cc6f606d020071216f4dfaf
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
DESCRIPTION="Needed by Gringotts"
|
||||
HOMEPAGE="http://packages.debian.org/sid/libgringotts2"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/libmcrypt-2.4.21
|
||||
>=app-crypt/mhash-0.8.13
|
||||
app-arch/bzip2
|
||||
sys-apps/coreutils
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" libgringottsdocdir="/usr/share/doc/${PF}" \
|
||||
install || die "emake install failed."
|
||||
rm -f "${D}"/usr/share/doc/${PF}/{COPYING,*.htm}
|
||||
dohtml -r docs/*.htm
|
||||
prepalldocs
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnome@gentoo.org</email>
|
||||
<name>Gentoo GNOME Desktop</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST libxr-1.0.tar.bz2 326812 SHA256 be3133346e6e616706f4c91523e62e9093e8af59b40376671b95ae0f117e1ad2 SHA512 672ab5653c4bb59afce366b8822967c0b5802b55fa8bb681fe2786650540e22ab269ce5ca60efb9cede589c3b25475978b98501f5bc555cd2e580f8ae0f9ced2 WHIRLPOOL c3ca38195ef22e52dcf4d498e7c8866c9983bc871598143386f852f4278f305341bfddff020f3ea2a9c08063426d164a38b798bef9fcad728fb14efa3989bc33
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Cross-platform XML-RPC client/server library written in C"
|
||||
HOMEPAGE="http://oss.zonio.net/libxr.htm"
|
||||
SRC_URI="http://oss.zonio.net/releases/libxr/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="libressl"
|
||||
# IUSE="json"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.12
|
||||
>=dev-libs/libxml2-2.6.20
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )"
|
||||
# json? ( >=dev-libs/json-c-0.3 )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/re2c
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf --without-json
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Cross-platform XML-RPC client/server library written in C"
|
||||
HOMEPAGE="http://oss.zonio.net/libxr.htm"
|
||||
SRC_URI="http://oss.zonio.net/releases/libxr/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="libressl"
|
||||
# IUSE="json"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.12
|
||||
>=dev-libs/libxml2-2.6.20
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )"
|
||||
# json? ( >=dev-libs/json-c-0.3 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
dev-util/re2c"
|
||||
|
||||
src_configure() {
|
||||
econf --without-json
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="$D" install
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
|
||||
DISTUTILS_IN_SOURCE_BUILD=1 # setup.py applies 2to3 to tests
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="PyICU"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Python bindings for dev-libs/icu"
|
||||
HOMEPAGE="https://github.com/ovalhub/pyicu"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/icu
|
||||
"
|
||||
# epydoc supports only python2*
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/epydoc[$(python_gen_usedep 'python2*')] )"
|
||||
REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DOCS=(CHANGES CREDITS README.md)
|
||||
|
||||
# we need an exact version match for epydoc to work on a binary module
|
||||
pkg_setup() {
|
||||
use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
mkdir -p doc/html || die
|
||||
epydoc --html --verbose -o doc/html \
|
||||
--url="${HOMEPAGE}" --name="${MY_P}" \
|
||||
icu.py || die "Making the docs failed!"
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
local HTML_DOCS=( doc/html/. )
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
commit ead421b85eeb750cbf7988657015296ed6789bcf
|
||||
Author: Hodorgasm <nsane457@gmail.com>
|
||||
Date: Mon Sep 19 20:27:51 2016 -0400
|
||||
|
||||
Fix "stdlib.h: No such file or directory" errors in GCC-6
|
||||
|
||||
Including '-isystem /usr/include' breaks building with GCC-6.
|
||||
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129
|
||||
|
||||
diff --git a/image_geometry/CMakeLists.txt b/image_geometry/CMakeLists.txt
|
||||
index 3c9cb30..e7c9eea 100644
|
||||
--- a/image_geometry/CMakeLists.txt
|
||||
+++ b/image_geometry/CMakeLists.txt
|
||||
@@ -12,7 +12,7 @@ catkin_package(CATKIN_DEPENDS sensor_msgs
|
||||
|
||||
catkin_python_setup()
|
||||
|
||||
-include_directories(SYSTEM ${catkin_INCLUDE_DIRS}
|
||||
+include_directories(${catkin_INCLUDE_DIRS}
|
||||
${OpenCV_INCLUDE_DIRS}
|
||||
)
|
||||
include_directories(include)
|
@ -1,4 +1,3 @@
|
||||
DIST sanitize-2.1.0.gem 20992 SHA256 c3be075f5b38a1b02404be5778b181e50fba9ab253bac851cb217d9a71375b77 SHA512 29a26e37342a75af2bc7795578edf2c5064263c58d38dfc36e18f1e111271616c026f7d808a05d63185c12f0e52384db84d62bdb796bf1b21d7e902ef0c1d096 WHIRLPOOL f07c3f7c3550b1e47e3189838a8c1c30c7cd856f237dde167516f25e86520fffe7357f87efd4f2fcf03230650fa55da0ff2d7870746c72c9897318f6dc935cc6
|
||||
DIST sanitize-4.0.1.tar.gz 1345784 SHA256 b867c3a85ad6d7c9537e2b99e227f7821625f0afa00c41a0428a55ef0ebaf582 SHA512 57ba4455e5bdb25e305d41aa371a5faa555bf01ed8cb41b159ca4bf07fbaa77451c75d27121aa151e2965a9d41323a288a05dc4b28fa5bf3b43c35f71997d0ea WHIRLPOOL af49a5dad74df73806f858f13ec95c502bdce668280a68dcc951c107dafc1e3fccbe9223bfbb160e66d010c060cc396870b37fa35d0daf4fd8e47cbe90894cb5
|
||||
DIST sanitize-4.1.0.tar.gz 1346494 SHA256 3a6f51eb7786637f21ecf80d107892a646e17bce849d6880ea760d09e4045481 SHA512 4e608ca8dd88a2c1bde6323fc5c32d32505db9fdacf9b3ddb562a9a709b759fbdf12fb657f639f27d188b8f15af1765abdfba224b4bb15a244c3c506d95a75ab WHIRLPOOL 95c1d4991ecdfa2cf691689142ada9ce88726c1312782ce9c1cdabd26fe445823cb5f88bab906751e830c355329326609eba48a371389fef3b46d10047ede84c
|
||||
DIST sanitize-4.2.0.tar.gz 1346791 SHA256 a2803fe2ec2cb817b235c1554218690d2450bbc653d0beafb9032a5df36bc592 SHA512 3a3d1041cb363a636b7aa2ad57a049565b64430b05bb8742d6aaaf81e3a79f14fb357caf8f14393e344b7315dfeefc7be217c53f8fbee04b3691f27f56e1108f WHIRLPOOL 4bd65c67533c1472520a65f96670f1c5766ceaf3f21bce829ae7e453d89eba0ca4c0c894fce6c825648178f90d641125d33bbe04b92062556d2a7d12e5cd6f26
|
||||
DIST sanitize-4.3.0.tar.gz 1346950 SHA256 f0d2bd4055474b90e9e263fe57f3a0b68000777650dab31dd78c7014d40afd9c SHA512 76ae6c9eb62ee6fff527f67d5e592406f1e6568c1dcbf528ac33cedae1b326ca4b9ba844a34f5ef271d8564c413e4467c5ea880c6cbbf3d41bc965853a40b299 WHIRLPOOL 30b369c3db4805438921c49b501c4bb49306048dad3aa68f6dfa0fdf219c8861326c054732326e27cdc09134ec54aa6888266f64d418a8638ad7ab3520c5115f
|
||||
|
@ -1,33 +0,0 @@
|
||||
# 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_RECIPE_DOC="none"
|
||||
RUBY_FAKEGEM_EXTRADOC="HISTORY.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Sanitize is a whitelist-based HTML sanitizer"
|
||||
HOMEPAGE="https://github.com/rgrove/sanitize"
|
||||
SRC_URI="https://github.com/rgrove/sanitize/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/crass-1.0.2 =dev-ruby/crass-1.0*
|
||||
>=dev-ruby/nokogiri-1.4.4
|
||||
>=dev-ruby/nokogumbo-1.4.1 =dev-ruby/nokogumbo-1.4*"
|
||||
ruby_add_bdepend "test? ( dev-ruby/minitest )"
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib test/test_sanitize.rb || die
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
libguile/vm-i-system.c: workaround ice ssa corruption while compiling with option -g -O
|
||||
|
||||
While compiling with option -g -O, there was a ssa corruption:
|
||||
..
|
||||
Unable to coalesce ssa_names 48 and 3476 which are marked as MUST COALESCE.
|
||||
sp_48(ab) and sp_3476(ab)
|
||||
guile-2.0.11/libguile/vm-engine.c: In function 'vm_debug_engine':
|
||||
guile-2.0.11/libguile/vm.c:673:19: internal compiler error: SSA corruption
|
||||
#define VM_NAME vm_debug_engine
|
||||
^
|
||||
guile-2.0.11/libguile/vm-engine.c:39:1: note: in expansion of macro 'VM_NAME'
|
||||
VM_NAME (SCM vm, SCM program, SCM *argv, int nargs)
|
||||
^
|
||||
Please submit a full bug report,
|
||||
with preprocessed source if appropriate.
|
||||
See <http://gcc.gnu.org/bugs.html> for instructions.
|
||||
...
|
||||
|
||||
Tweak libguile/vm-i-system.c to add boundary value check to workaround it.
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
|
||||
Fixes Buildroot autobuilder failures on AArch64.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
---
|
||||
libguile/vm-i-system.c | 20 ++++++++++++++++----
|
||||
1 file changed, 16 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/libguile/vm-i-system.c b/libguile/vm-i-system.c
|
||||
--- a/libguile/vm-i-system.c
|
||||
+++ b/libguile/vm-i-system.c
|
||||
@@ -625,10 +625,22 @@ VM_DEFINE_INSTRUCTION (47, bind_optionals_shuffle, "bind-optionals/shuffle", 6,
|
||||
/* now shuffle up, from walk to ntotal */
|
||||
{
|
||||
scm_t_ptrdiff nshuf = sp - walk + 1, i;
|
||||
- sp = (fp - 1) + ntotal + nshuf;
|
||||
- CHECK_OVERFLOW ();
|
||||
- for (i = 0; i < nshuf; i++)
|
||||
- sp[-i] = walk[nshuf-i-1];
|
||||
+ /* check the value of nshuf to workaround ice ssa corruption */
|
||||
+ /* while compiling with -O -g */
|
||||
+ if (nshuf > 0)
|
||||
+ {
|
||||
+ sp = (fp - 1) + ntotal + nshuf;
|
||||
+ CHECK_OVERFLOW ();
|
||||
+ for (i = 0; i < nshuf; i++)
|
||||
+ sp[-i] = walk[nshuf-i-1];
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ sp = (fp - 1) + ntotal + nshuf;
|
||||
+ CHECK_OVERFLOW ();
|
||||
+ for (i = 0; i < nshuf; i++)
|
||||
+ sp[-i] = walk[nshuf-i-1];
|
||||
+ }
|
||||
}
|
||||
/* and fill optionals & keyword args with SCM_UNDEFINED */
|
||||
while (walk <= (fp - 1) + ntotal)
|
||||
--
|
||||
1.9.1
|
||||
|
@ -0,0 +1,97 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
# Using a binary ebuild until a source ebuild is doable.
|
||||
# This was previously blocked by two major bugs upstream:
|
||||
# A lack of documented build instructions - https://www.jfrog.com/jira/browse/RTFACT-8960
|
||||
# A lack of source releases - https://www.jfrog.com/jira/browse/RTFACT-8961
|
||||
# Upstream now releases source and instructions (yay!), but most of artifactory's
|
||||
# dependencies are not in portage yet.
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit user
|
||||
|
||||
MY_P="${P/-bin}"
|
||||
MY_PN="${PN/-bin}"
|
||||
MY_PV="${PV/-bin}"
|
||||
|
||||
DESCRIPTION="The world's most advanced repository manager for maven"
|
||||
HOMEPAGE="http://www.jfrog.org/products.php"
|
||||
SRC_URI="https://bintray.com/artifact/download/jfrog/artifactory/jfrog-artifactory-oss-${MY_PV}.zip -> ${MY_P}.zip"
|
||||
|
||||
LICENSE="AGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="ssl"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.8"
|
||||
DEPEND=">=virtual/jdk-1.8
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-oss-${MY_PV}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup artifactory
|
||||
enewuser artifactory -1 /bin/sh -1 artifactory
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if use ssl ; then
|
||||
cp "${FILESDIR}/artifactory.xml" tomcat/conf/Catalina/localhost/artifactory.xml || die
|
||||
cp "${FILESDIR}/server.xml" tomcat/conf/server.xml || die
|
||||
fi
|
||||
|
||||
# Reverse https://www.jfrog.com/jira/browse/RTFACT-7123
|
||||
sed -i -e "s%artifactory.repo.global.disabled=true%artifactory.repo.global.disabled=false%g;" \
|
||||
etc/artifactory.system.properties || die
|
||||
|
||||
# See FIXME in src_install(), this can probably go away,
|
||||
# but catalina.sh may need to be fixed for that:
|
||||
sed -i -e "s%/etc/opt/jfrog/artifactory/default%/etc/conf.d/${MY_PN}%g;" \
|
||||
misc/service/setenv.sh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local ARTIFACTORY_HOME="/opt/artifactory"
|
||||
local TOMCAT_HOME="${ARTIFACTORY_HOME}/tomcat"
|
||||
|
||||
insinto ${ARTIFACTORY_HOME}
|
||||
doins -r etc logs misc tomcat webapps
|
||||
|
||||
dodir /etc/opt/jfrog
|
||||
dosym ${ARTIFACTORY_HOME}/etc /etc/opt/jfrog/artifactory
|
||||
|
||||
dosym ${ARTIFACTORY_HOME}/logs /var/log/artifactory
|
||||
|
||||
exeinto ${ARTIFACTORY_HOME}/bin
|
||||
doexe bin/*
|
||||
|
||||
# FIXME: this is called by catalina.sh (it echoes the variables before starting
|
||||
# artifactory, as well as makes sure log dir, etc. exists). Those directories
|
||||
# could probably be moved to the ebuild and the script removed from catalina.sh
|
||||
# without consequence (and quieter starts). Would need to check if CATALINA_*
|
||||
# variables are actually used anywhere (from reading code don't appear to be
|
||||
# actually needed)
|
||||
exeinto ${TOMCAT_HOME}/bin
|
||||
doexe misc/service/setenv.sh
|
||||
doexe tomcat/bin/*
|
||||
|
||||
keepdir ${ARTIFACTORY_HOME}/backup
|
||||
keepdir ${ARTIFACTORY_HOME}/data
|
||||
keepdir ${ARTIFACTORY_HOME}/run
|
||||
keepdir ${ARTIFACTORY_HOME}/work
|
||||
keepdir ${TOMCAT_HOME}/logs/catalina
|
||||
keepdir ${TOMCAT_HOME}/temp
|
||||
keepdir ${TOMCAT_HOME}/work
|
||||
keepdir /var/opt/jfrog/artifactory/run
|
||||
|
||||
newconfd "${FILESDIR}/confd" ${MY_PN}
|
||||
newinitd "${FILESDIR}/initd" ${MY_PN}
|
||||
|
||||
fowners -R artifactory:artifactory ${ARTIFACTORY_HOME}
|
||||
fperms -R u+w ${TOMCAT_HOME}/work
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST kdev-php-5.0.tar.xz 683188 SHA256 885edfdb7a0ed3ea05d6e32971f706460e25717c5d3c0671de43d6ac65485adf SHA512 92dbe74793ee0454473c20ced999c942a53f587d19f93b81bcd33c4e307ccfe824ce0135662689088a898b32ee8f4439d84f72826fbde3f1a7ac0794cf917bc0 WHIRLPOOL da5da6bbfffba52cc86b88a30790a29a7b4085e1b6a116251b5f1c3c6222aab8203aa0643000da8e0ed04884f3adb6f32b3ec1d4a051b65bb0c9444c64d4ca5f
|
||||
DIST kdev-php-5.0.1.tar.xz 675928 SHA256 3939502e34663938ffdc5eaf99fd8fdedec29c769bb04150f57da0811026315a SHA512 8f7a2961da18b4914fbb55857b3a967c624e05ba2887c7de06bee0f2269545bdffd15b19eb8261186268aa623f03290928853d532c90e8a324ff139d4f0c8690 WHIRLPOOL d89590672982803ce8cdc4ca44b03476dc6ffa8997f2ba33c5774e3575c259f3a8723f4ba23c720a406dbfda008d4e222fd675db1deba4624ca6bfc79c0d3a9f
|
||||
DIST kdevelop-php-1.7.2.tar.xz 658060 SHA256 75de9a5afe32ecaa35eb14e1ae04dd9c6d3e9abf87274ca4537fbdc3b296a369 SHA512 419ac3865c15ba30997e08f655d4ba61877ff15b6f3c0261a52a74e7d158e7a82a638326d2ccae1a435b846f40f76723807ff318ea3242651fb8fee263cdf5e1 WHIRLPOOL bad67fdbff98c2d47dd3034f56abafbb7ff8d1fb17aec3e7004177a50f1f131808b56d80f3c89bb234613ab71badcf2fdd4e67420a3902eda33f2f94489ca2f0
|
||||
DIST kdevelop-php-1.7.3.tar.bz2 691363 SHA256 6b3583560dc9c339d74c51d9774a3ff342e260b285c8d9bd8f7f89f47a7dbf69 SHA512 aa052f546e84ff002cbe899ce9b892935ddb88d959ed2ea695c020c59de6f9a706106bcf5fac11dbfb9a015199286f8d729affe1e0d40842867971c99143cd41 WHIRLPOOL be6ce21cbd0f91a110192194cf0892c5ce3c3cf5c847a1a42e4790e2274043d5ed5e6f3f332cac8ef4f340284f031b838ac415629bb187501a00e2abe2b3ec83
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST kdev-python-1.7.2.tar.xz 3668764 SHA256 949254984bd489cd5597d4c4986057c43b60febde329f6f9d1b42228aef9444d SHA512 d49a65786516d6709808126c3ec1ea90ccce8f3a7fbdfd39082e6327d3186089fe9d64380587023f0d4d9eea2304f76d8ff510b52cb29169918596652508bae4 WHIRLPOOL 7a01d9afa3151b3139fde5a0609d4eec2be330afe0e7bd241c22658007108ec78be9fbcaf37b8d55bde34b1b354d5043e2b6e79ed52b194ab40744c196ed5124
|
||||
DIST kdev-python-1.7.3.tar.bz2 4361300 SHA256 45b6418d4a96914472e04edec485fd25d04151f544cd1a2c96a63e3cd294f6b2 SHA512 f1f8bc33c60514daff2ed591c660a8ec97ecfc6ce7a28ad586fda5f93559e9b7842b3407340373389b8ccaad8350e49334e176df4a0c3e014aae42cf7259f417 WHIRLPOOL a2151b9e78aa15307ed764d7ba3fe2d4b77e4c13db1492537a5e2dd7023f646d0c3b43dd2f95505259c11bdc23cd03945c40ebdf7c12ba4009c2b518d2d50404
|
||||
DIST kdev-python-5.0.tar.xz 1055064 SHA256 cae88d12dda8759d20af2d4265b9f76d979d164305a22bb4d4f4bae9b9a1629a SHA512 34d2f0371cc2958425a9fc1861782a64bb2ab1eb0c293bc2a7d15eb1c9197eac78a3c0a22649c19bbaab1efcbd7c76d20bb61c192119db85c47dac17d00ace99 WHIRLPOOL b47d972f5f4a49abca93bf44a5f0206f4dae82922ad4def716c923029f585c92520a41181b35fa5dc16506e8e44099fa5319e64a2f1d2967c40f90f68401ee11
|
||||
DIST kdev-python-5.0.1.tar.xz 1062028 SHA256 6adddfbf29eb89041ca392b59af388b799828df61932c992abe76b93f3d44985 SHA512 2772e280d43406f6bb1cbdbfa2e58e7df85d7f57a9c9ae112c2a48638179755fbc34b3ae5c4c570446b48a6737d49e08353a4d70bf63f62837983e403999646c WHIRLPOOL b8075954fa89a5c5f75b1d367b9b44ed4a686f522267e1909a9f633736cbb4783e3c0d8e78f301c03662d194e871ad954edbb009d2d63737eb5847c503511433
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST kdevelop-4.7.2.tar.xz 4441896 SHA256 5801a38a9abfebead18b74c0a0f5a6d68118b297c96ef1e2f75c8bfae3463b19 SHA512 f05643f185a02ce9f07b5e48b0cf61de5e0e2ed892b4fbe4edf749319c37466a2e904c7b64604cdff3b1c5c20e384ea23e7fdd1e30ed15642fd70f5e172e570a WHIRLPOOL 2caf928f84e22aacfa2691fc7a2752f84a38cdfccc4b3c176c04c0f81445a25548f7723ee57da293a921f7934789386bce7e4c50751cd4d61da2d15c39490695
|
||||
DIST kdevelop-4.7.3.tar.bz2 4826588 SHA256 9db388d1c8274da7d168c13db612c7e94ece7815757b945b0aa0371620a06b35 SHA512 e6d410bda001cfaed7c15383497992d6aad0a878c4c6f786c154dc9de581139baf05e592a8355481dd25c7f8d3b52b3a9516187e1e85c1f229ba32bc7cc57636 WHIRLPOOL 521b58b688344884ed178b9f7eaa87f11c0eb7e631a83c33ba4b6b23ae49ca866da667e2e2d726ad17ea3bf311b66a2f2695627d50c4dbbed8074bb338270790
|
||||
DIST kdevelop-5.0.tar.xz 4969604 SHA256 5e034b8670f4ba13ccb2948c28efa0b54df346e85b648078698cca8974ea811c SHA512 dc16785593ed11dcd6ff96a0fddd4f639abbcaaa3c139d703a1af267c8e0f75c45b866b9542c10c79eb4351e811edcc5e466a5ce7acbdecac60f4c28747e66b6 WHIRLPOOL e0e3f66b79b302d30fc006714a3d10b01bdd8d098e87aa3dc5f4e5556ce2214d9d5b1bee9fc189a12fab71e590134bdb9fc4e683c0c0263f7fbee899f7470f8d
|
||||
DIST kdevelop-5.0.1.tar.xz 4995176 SHA256 f8ef3bbd31d1f05627a554e0092b16faba3e332dd21f4e83db20f3789cea3465 SHA512 c83785c20cf4555abebcb4da7e64d6162eb5bdbe8e370de1a1129a06d8d68fef863c97140d6f6333b297fed71578c84d308d0f53d44545e7abbb982898dd7b0b WHIRLPOOL e622fb48a3d1e3ff74b234f3bd364ffcfdb0cf7190ecb107c56289fcf5bc7d733bae4b5349bb23ec55ad7a54fc8e1611c0e033f97b7bf29f20fa9cf096f78ef4
|
||||
|
@ -1,47 +0,0 @@
|
||||
From: Milian Wolff <mail@milianw.de>
|
||||
Date: Mon, 22 Aug 2016 10:47:26 +0000
|
||||
Subject: Fix compile
|
||||
X-Git-Url: http://quickgit.kde.org/?p=kdevelop.git&a=commitdiff&h=f4b5b7538be64328cf8462ee438caaac6c0907aa
|
||||
---
|
||||
Fix compile
|
||||
|
||||
BUG: 367659
|
||||
---
|
||||
|
||||
|
||||
--- a/languages/cpp/cppduchain/cppducontext.cpp
|
||||
+++ b/languages/cpp/cppduchain/cppducontext.cpp
|
||||
@@ -39,7 +39,8 @@
|
||||
REGISTER_DUCHAIN_ITEM_WITH_DATA(CppNormalDUContext, DUContextData);
|
||||
|
||||
template<>
|
||||
-QWidget* CppDUContext<TopDUContext>::createNavigationWidget( Declaration* decl, TopDUContext* topContext, const QString& htmlPrefix, const QString& htmlSuffix ) const {
|
||||
+QWidget* CppDUContext<TopDUContext>::createNavigationWidget(Declaration* decl, TopDUContext* topContext, const QString& htmlPrefix, const QString& htmlSuffix,
|
||||
+ AbstractNavigationWidget::DisplayHints /*hints*/) const {
|
||||
if( decl == 0 ) {
|
||||
Path path( url().str() );
|
||||
IncludeItem i;
|
||||
@@ -55,7 +56,8 @@
|
||||
}
|
||||
|
||||
template<>
|
||||
-QWidget* CppDUContext<DUContext>::createNavigationWidget(Declaration* decl, TopDUContext* topContext, const QString& htmlPrefix, const QString& htmlSuffix) const {
|
||||
+QWidget* CppDUContext<DUContext>::createNavigationWidget(Declaration* decl, TopDUContext* topContext, const QString& htmlPrefix, const QString& htmlSuffix,
|
||||
+ AbstractNavigationWidget::DisplayHints /*hints*/) const {
|
||||
if( decl == 0 ) {
|
||||
if( owner() )
|
||||
return new NavigationWidget( DeclarationPointer(owner()), TopDUContextPointer(topContext ? topContext : this->topContext()), htmlPrefix, htmlSuffix );
|
||||
|
||||
--- a/languages/cpp/cppduchain/cppducontext.h
|
||||
+++ b/languages/cpp/cppduchain/cppducontext.h
|
||||
@@ -652,7 +652,8 @@
|
||||
return instantiateDeclarationAndContext( surroundingContext, source, this, info, 0, 0 );
|
||||
}
|
||||
|
||||
- virtual QWidget* createNavigationWidget(Declaration* decl, TopDUContext* topContext, const QString& htmlPrefix, const QString& htmlSuffix) const override;
|
||||
+ virtual QWidget* createNavigationWidget(Declaration* decl, TopDUContext* topContext, const QString& htmlPrefix, const QString& htmlSuffix,
|
||||
+ KDevelop::AbstractNavigationWidget::DisplayHints hints = KDevelop::AbstractNavigationWidget::NoHints) const override;
|
||||
|
||||
enum {
|
||||
Identity = BaseContext::Identity + 50
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST kdevplatform-1.7.2.tar.xz 1929976 SHA256 0afcde7a746adb83b00f2bd6b02efb4022adbd61b6ba4325fb63b71902f1f4e4 SHA512 b95a1837b61d6c63cdd5183194ea70301bb32720df8c5317ba891a91c24c1e174aa69d10131024701bfe710f4848ac50059bc4513cf334d39415d37f4a445d66 WHIRLPOOL 4656a52becd50e9d827010e798941465731872b014400529fde4c45410d7f77d063c7fed237f94991742af997e845145772dbb199df74ae9777d41c2bdc21693
|
||||
DIST kdevplatform-1.7.3.tar.bz2 2417125 SHA256 195134bde11672de38838f4b341ed28c58042374ca12beedacca9d30e6ab4a2b SHA512 a23712bc70a7b084541a0bb441e19ba30bf408e4046403367cfce98cf7cb60b1aa89d6fce466e5512f1d3ea93353dc0dc5b57b0953bb85e7319a4a14d5403be9 WHIRLPOOL b0deafac4013aaad4ab80ae87c5dabd033a522e935ba1569659cb8dd4e7f06b8e75910ffecc3b27c7ffe0687cfc2ba65a2d707e8fd5b96ad603d4a4b011f2864
|
||||
DIST kdevplatform-5.0.tar.xz 1997376 SHA256 4085b355ab8d599d902afbc11027e1aefb22afe30d63ed54ea5fe02f24edfd10 SHA512 9c05e713457685a26da7217fff977ad68d6a2442fe156315799547f5fdb619968559ac56f8b0fc05b064f61543d307e7d50324ce644b562e7e79519583b77e3d WHIRLPOOL f4e148a9e1408d8bb428abc79f9af6431e24d24734e41e0bb962b1796e7596a945a9ee8db225102690976197eaab0f743b35c646921915bfdaaab213d2032ecd
|
||||
DIST kdevplatform-5.0.1.tar.xz 1995684 SHA256 c28cb7629556961d240536b5efc6e3c1c2e4387988cbae0ded0b61ddf0f0ae1f SHA512 04e71c83893e2012444013d15c2438af1a66989b980205834f60cf2f3261d269b92c0043e62fa1c7f18275f2143674f0cd58c83afdadea609f20dc52ec607f59 WHIRLPOOL a186f2b13b9023cb33cd15f0e191b71b02ef0ef249c86201d979aa8bee18765f981fd89258635ad0c36a19c79c7f1684664a4ed8e72b9e7ad1b5fddb7f08426d
|
||||
|
@ -1,2 +0,0 @@
|
||||
DIST nsis-2.51-64bit.patch.gz 9376 SHA256 8b82fc9a35c7072fafa416ea4d0a8842c69d343500b7ca4bfe207d7b396c0643 SHA512 3be1a1a6422da219e8abfe5eb177ea818d86dfe6d5cb04a0be3dd80f31866cd95b67b765c6d5976355f363c411b4c88f30fd4eace67addb0f27dfe1a73ba45ac WHIRLPOOL bb1dc183bbef6596409b7765b721811526c2acb61bcc67c25bbccc1922ad45d365d1daea6c7474f3c98fb63c69bf3d54808a6abe0c71702cbfd178bb7bfea11f
|
||||
DIST nsis-2.51-src.tar.bz2 1540555 SHA256 43d4c9209847e35eb6e2c7cd5a7586e1445374c056c2c7899e40a080e17a1be7 SHA512 3019040d84b1afdf398327bbd55cc2ae66336deea200b6506f1d474359056713fbcf51e8a06f32fece81313da35376cd3916341f2cabfa12cefa92f91ecf6f08 WHIRLPOOL 1fad4225791d30ed9f89082aa1ce6eb85e96279c85c6f91859e2cb36b67c2cfaf09ceada57fca41e25489dc5087c3efadb2a10582fdcba73614557356a3474b0
|
@ -1,39 +0,0 @@
|
||||
From 00a8296688a04ff9414fcaa42429a8bb531cc85b Mon Sep 17 00:00:00 2001
|
||||
From: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
Date: Sun, 12 Jun 2016 03:46:40 +0300
|
||||
Subject: [PATCH 1/2] build: minor fixups for recent scons and gcc
|
||||
|
||||
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
---
|
||||
SCons/Config/gnu | 2 +-
|
||||
Source/util.h | 1 +
|
||||
2 files changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/SCons/Config/gnu b/SCons/Config/gnu
|
||||
index 051b425..462105e 100755
|
||||
--- a/SCons/Config/gnu
|
||||
+++ b/SCons/Config/gnu
|
||||
@@ -31,7 +31,7 @@ defenv['ALIGN_FLAG'] = '-Wl,--file-alignment,512'
|
||||
defenv['CPP_REQUIRES_STDLIB'] = 1
|
||||
defenv['SUBSYS_CON'] = '-Wl,--subsystem,console'
|
||||
defenv['MSVCRT_FLAG'] = ''
|
||||
-defenv['STDCALL'] = '__attribute__((__stdcall__))'
|
||||
+defenv['STDCALL'] = '"__attribute__((__stdcall__))"'
|
||||
|
||||
### defines
|
||||
|
||||
diff --git a/Source/util.h b/Source/util.h
|
||||
index 8a55302..07de256 100755
|
||||
--- a/Source/util.h
|
||||
+++ b/Source/util.h
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "ResourceEditor.h"
|
||||
|
||||
#ifndef _WIN32
|
||||
+# include <unistd.h>
|
||||
# include <iconv.h>
|
||||
# include <stdio.h>
|
||||
#endif
|
||||
--
|
||||
2.7.3
|
||||
|
@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<longdescription>
|
||||
NSIS (Nullsoft Scriptable Install System) is a professional open source
|
||||
system to create Windows installers. It is designed to be as small and
|
||||
flexible as possible and is therefore very suitable for Internet distribution.
|
||||
|
||||
NSIS is script-based and allows you to create the logic to handle even the
|
||||
most complex installation tasks. Many plug-ins and scripts are already
|
||||
available: you can create web installers, communicate with Windows and other
|
||||
software components, install or update shared components and more.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="config-log">Enable the logging facility (useful in debugging installers)</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">nsis</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,111 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
mingw32_variants=$(echo {,i{6,5,4,3}86-{,pc-,w32-,w64-}}mingw32)
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Nullsoft Scriptable Install System"
|
||||
HOMEPAGE="http://nsis.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2
|
||||
mirror://gentoo/nsis-2.51-64bit.patch.gz"
|
||||
|
||||
LICENSE="ZLIB BZIP2 CPL-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="bzip2 config-log doc zlib"
|
||||
RESTRICT="strip"
|
||||
|
||||
# NSIS Menu uses wxwindows but it's all broken, so disable for now
|
||||
# wxwindows? ( x11-libs/wxGTK )
|
||||
RDEPEND="bzip2? ( app-arch/bzip2 )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/scons-0.98"
|
||||
|
||||
S="${WORKDIR}"/${P}-src
|
||||
|
||||
mingw_CTARGET() {
|
||||
local i
|
||||
for i in ${mingw32_variants} ; do
|
||||
type -P ${i}-g++ > /dev/null && echo ${i} && return
|
||||
done
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
[[ -n $(mingw_CTARGET) ]] && return 0
|
||||
|
||||
eerror "Before you could emerge nsis, you need to install mingw with C++ support"
|
||||
eerror "Run the following commands:"
|
||||
eerror " emerge crossdev"
|
||||
eerror " USE='cxx' crossdev --stable --libc '[latest]' -t i686-w64-mingw32"
|
||||
die "mingw is needed"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-build.patch"
|
||||
epatch "${WORKDIR}/${P}-64bit.patch"
|
||||
|
||||
# a dirty but effective way of killing generated docs
|
||||
use doc || echo > Docs/src/SConscript
|
||||
}
|
||||
|
||||
get_additional_options() {
|
||||
echo \
|
||||
PREFIX=/usr \
|
||||
PREFIX_CONF=/etc \
|
||||
PREFIX_DOC=/usr/share/doc/${PF} \
|
||||
PREFIX_DEST=\"${D}\" \
|
||||
VERSION=${PV} \
|
||||
DEBUG=no \
|
||||
STRIP=no
|
||||
echo \
|
||||
SKIPSTUBS=\"$(use zlib || echo zlib) $(use bzip2 || echo bzip2)\" \
|
||||
SKIPUTILS=\"NSIS Menu\"
|
||||
use config-log && echo NSIS_CONFIG_LOG=yes
|
||||
|
||||
local tcpfx=$($(mingw_CTARGET)-gcc -print-file-name=libshell32.a)
|
||||
tcpfx=${tcpfx%/lib/libshell32.a}
|
||||
echo \
|
||||
PREFIX_PLUGINAPI_INC=${tcpfx}/include \
|
||||
PREFIX_PLUGINAPI_LIB=${tcpfx}/lib
|
||||
echo CROSS_W32=$(mingw_CTARGET)-
|
||||
}
|
||||
|
||||
do_scons() {
|
||||
local cmd=$1
|
||||
eval set -- $(get_additional_options)
|
||||
echo scons $(get_additional_options) ${cmd}
|
||||
scons "$@" ${cmd}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
do_scons || die "scons failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
do_scons install || die "scons failed"
|
||||
use doc || rm -rf "${D}"/usr/share/doc/${PF}/{Docs,Examples}
|
||||
|
||||
fperms -R go-w,a-x,a+X /usr/share/${PN}/ /usr/share/doc/${PF}/ /etc/nsisconf.nsh
|
||||
|
||||
env -uRESTRICT prepstrip "${D}/usr/bin"
|
||||
src_strip_win32
|
||||
}
|
||||
|
||||
src_strip_win32() {
|
||||
# need to strip win32 binaries ourselves ... should fold this
|
||||
# back in to prepstrip at some point
|
||||
local STRIP_PROG=$(mingw_CTARGET)-strip
|
||||
local STRIP_FLAGS="--strip-unneeded"
|
||||
|
||||
echo
|
||||
echo "strip: ${STRIP_PROG} ${STRIP_FLAGS}"
|
||||
local FILE
|
||||
for FILE in $(find "${D}" -iregex '.*\.\(dll\|exe\|a\)$') ; do
|
||||
echo " /${FILE#${D}}"
|
||||
${STRIP_PROG} ${STRIP_FLAGS} "${FILE}"
|
||||
done
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="Educational car crash simulator"
|
||||
HOMEPAGE="http://www.stolk.org/crashtest/"
|
||||
SRC_URI="http://www.stolk.org/crashtest/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-games/ode
|
||||
media-libs/alsa-lib
|
||||
media-libs/freeglut
|
||||
x11-libs/fltk:1[opengl]
|
||||
virtual/opengl
|
||||
virtual/glu"
|
||||
DEPEND="${RDEPEND}
|
||||
>=media-libs/plib-1.8.4"
|
||||
|
||||
S=${WORKDIR}/${P}/src-${PN}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}"-gentoo.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e "s:@GENTOO_DATADIR@:/usr/share/${PN}:" \
|
||||
-e "s:@GENTOO_BINDIR@:/usr/bin:" \
|
||||
Makefile ${PN}.cxx || die
|
||||
append-cppflags -DHAVE_ISNANF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
make_desktop_entry ${PN} Crashtest
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
WANT_AUTOMAKE="1.10"
|
||||
inherit autotools eutils gnome2-utils
|
||||
|
||||
DESCRIPTION="model-airplane flight simulation program"
|
||||
HOMEPAGE="https://sourceforge.net/projects/crrcsim/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="portaudio"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/libsdl[X,sound,joystick,opengl,video]
|
||||
media-libs/plib
|
||||
sci-mathematics/cgal
|
||||
portaudio? ( media-libs/portaudio )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-buildsystem.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if has_version "sci-mathematics/cgal[gmp(+)]" ; then
|
||||
eapply "${FILESDIR}"/${PN}-cgal_gmp.patch
|
||||
fi
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--datadir="/usr/share" \
|
||||
--datarootdir="${EPREFIX%/}/usr/share" \
|
||||
--docdir="${EPREFIX%/}/usr/share/doc/${PF}" \
|
||||
$(use_with portaudio)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS HISTORY NEWS README
|
||||
doicon -s 32 packages/icons/${PN}.png
|
||||
make_desktop_entry ${PN}
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST gnome-web-photo-0.10.6.tar.xz 210176 SHA256 1353fc1abe9fcd38b3e09c6282e43aeb0c306201a4df9e25d4834407ba2cbe7f SHA512 8cdfe4e5b4b0eada66af7b5aa77791597197fa4829a7e8ea02b4204c1f7dfd8b9bd270719c27ed73c9119250c2b2d54dbad6d65250660f4e52c8c49d946df672 WHIRLPOOL ddc989f19b8a84626729389fc4f7010780b200db1f78c078bddab8d6c9791151f33d67be99e1ad5e2676d98678dc11538a37cc05ed71d36ad240c01a06f4e978
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="yes"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="A tool to generate images and thumbnails from HTML files"
|
||||
HOMEPAGE="https://git.gnome.org/browse/gnome-web-photo/"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.14:2
|
||||
>=x11-libs/gtk+-2.99.3:3
|
||||
>=net-libs/webkit-gtk-1.1.23:3
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=dev-util/intltool-0.40.6
|
||||
sys-devel/gettext"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS ChangeLog HACKING NEWS README TODO"
|
||||
G2CONF="${G2CONF} --with-gtk=3.0"
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>hwoarang@gentoo.org</email>
|
||||
<name>Markos Chandras</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>gnome@gentoo.org</email>
|
||||
<name>Gentoo GNOME Desktop</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST kwallet-pam-5.5.5.tar.xz 16280 SHA256 19c153a0593232767b370a1310f16d13673caba13842571bb7cb01535ba89336 SHA512 7daf595c110df7277a609590bb48da8a038c8516ed3bd6a6f55cdb73df850ef6989f248e5ed7b7128abd5fda0b358b4d695043c974d49451a0037b8a3280c92a WHIRLPOOL 7601debd5eed6baf4bddf98fff424280999e95bc30000663254b391e673df7b191f112689d3914d9dfec3f0bf3142fbe88b8d30b159563be659c9cc91a65ea49
|
@ -1,31 +0,0 @@
|
||||
From: Michael Pyne <mpyne@kde.org>
|
||||
Date: Mon, 28 Dec 2015 01:33:23 +0000
|
||||
Subject: Check sockaddr_un buffer size before strcpy()ing into it.
|
||||
X-Git-Url: http://quickgit.kde.org/?p=kwallet-pam.git&a=commitdiff&h=9543cc4058b24e4e5bfe8d324de309ca7050058b
|
||||
---
|
||||
Check sockaddr_un buffer size before strcpy()ing into it.
|
||||
|
||||
Coverity strikes again, and notes in CID 1335116 that copying the socket name
|
||||
into a fixed-size buffer here could overflow the buffer. I don't see any reason
|
||||
it would be wrong in all cases, so best to double-check.
|
||||
|
||||
REVIEW:126539
|
||||
---
|
||||
|
||||
|
||||
--- a/pam_kwallet.c
|
||||
+++ b/pam_kwallet.c
|
||||
@@ -422,6 +422,12 @@
|
||||
|
||||
struct sockaddr_un local;
|
||||
local.sun_family = AF_UNIX;
|
||||
+
|
||||
+ if ((size_t)len > sizeof(local.sun_path)) {
|
||||
+ pam_syslog(pamh, LOG_ERR, "%s: socket path %s too long to open",
|
||||
+ logPrefix, fullSocket);
|
||||
+ return;
|
||||
+ }
|
||||
strcpy(local.sun_path, fullSocket);
|
||||
unlink(local.sun_path);//Just in case it exists from a previous login
|
||||
|
||||
|
@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PN="kwallet-pam"
|
||||
inherit cmake-utils multilib
|
||||
|
||||
DESCRIPTION="KWallet PAM module to not enter password again"
|
||||
HOMEPAGE="https://www.kde.org/"
|
||||
SRC_URI="mirror://kde/stable/plasma/${PV}/${MY_PN}-${PV}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="4"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-libs/libgcrypt:0=
|
||||
virtual/pam
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
net-misc/socat
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-5.5.4-coverity.patch" )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_INSTALL_LIBDIR="/$(get_libdir)"
|
||||
-DKWALLET4=1
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
check_dm() {
|
||||
if [[ -e "${ROOT}${2}" ]] && \
|
||||
grep -Eq "auth\s+optional\s+pam_kwallet.so" "${ROOT}${2}" && \
|
||||
grep -Eq "session\s+optional\s+pam_kwallet.so" "${ROOT}${2}" ; then
|
||||
elog " ${1} - ${2} ...GOOD"
|
||||
else
|
||||
ewarn " ${1} - ${2} ...BAD"
|
||||
fi
|
||||
}
|
||||
elog
|
||||
elog "This package enables auto-unlocking of kde-apps/kwalletd:4."
|
||||
elog "List of things to make it work:"
|
||||
elog "1. Use standard blowfish encryption instead of GPG"
|
||||
elog "2. Use same password for login and kwallet"
|
||||
elog "3. A display manager with support for PAM"
|
||||
elog "4.a Have the following lines in the display manager's pam.d file:"
|
||||
elog " -auth optional pam_kwallet.so kdehome=.kde4"
|
||||
elog " -session optional pam_kwallet.so"
|
||||
elog "4.b Checking installed DMs..."
|
||||
has_version "x11-misc/sddm" && check_dm "SDDM" "/etc/pam.d/sddm"
|
||||
has_version "x11-misc/lightdm" && check_dm "LightDM" "/etc/pam.d/lightdm"
|
||||
has_version "kde-base/kdm" && check_dm "KDM" "/etc/pam.d/kde"
|
||||
elog
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>kde@gentoo.org</email>
|
||||
<name>Gentoo KDE Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,3 +1,4 @@
|
||||
DIST kdeconnect-kde-0.8.tar.xz 141916 SHA256 c33611c076a327a67f9974ffa5662f2c093dda6ad14024e434027f9f19d9a0ab SHA512 7c7c460648960dde501596c85282eddd4d9add3b1be291b6d22a75f316cce6cdee0015d81b275eaa7c66758dcf16fa21da1be9b79f12b68c76bad343eef7250e WHIRLPOOL 0d302b4c6005100db9bc44ca590ee330bc6f432af02bfd1d2f27b367f38b6d4993828a3726c2bf3acaafcaa00c1724a9592ee8a652152f6b811923c351d3f499
|
||||
DIST kdeconnect-kde-0.9g.tar.xz 183632 SHA256 4033754057bbc993b1d4350959afbe1d17a4f1e56dd60c6df6abca5a321ee1b8 SHA512 39c857d139563806d0805409dce3f2bec3d776d23b3228ff72f3878717eed4558990e1b0b4055728b7643956e73994329960caea9e348dccfb6645a7b0f68445 WHIRLPOOL 9c41faff4f6b171af9e74a867c7b665b82e29d28a743cb4aef3ce44beb5463c09567a82be89fe3472748b99608444790b79725248b4c24b9d7cd677930061452
|
||||
DIST kdeconnect-kde-1.0.1.tar.xz 218652 SHA256 553bcc338b62e00fc9f98152e6dfe21d95f5e7eb6109a4e5b5900274a7b4e102 SHA512 965abf99b6c0a6a345209d8bbf0a4ae2117228280516e8b36615ae52d5a66822b6371dca84208d7f03d183ecb0829b497a60d0ab330eb29528c73d4c5639ce87 WHIRLPOOL 03578830833f6b95f4df41da4f78aaf9dec2206bacff64af49e1642064661d527f22ff9e3a198f678d23d28cf3f2d2ef5bb50f593ac293de693229367e27ad13
|
||||
DIST kdeconnect-kde-1.0.tar.xz 217672 SHA256 207faf0bb8174d15cc0b04ef5eeacb86db21dd941a645dbf3f6c2ac301c7a85d SHA512 29d9501c35a2b081d9be2dfff6d12ea0fcffe9a14162636ee778d7eb717de575221dde058334649614e65757853e521b85fa1f459e564e096a4407ff698696a9 WHIRLPOOL faf37cad7ff06643c72fadaa0df48d207ec474908abd4dfe66fd53724bec319fbc918fcec64d59d869408503ae3e2fc93be3dbc4b961c6e0f1a90ea308729670
|
||||
|
@ -0,0 +1,81 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
KDE_TEST="true"
|
||||
KMNAME="${PN}-kde"
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="Adds communication between KDE and your smartphone"
|
||||
HOMEPAGE="https://www.kde.org/ https://community.kde.org/KDEConnect"
|
||||
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${KMNAME}-${PV}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="app +telepathy wayland"
|
||||
|
||||
DEPEND="
|
||||
$(add_frameworks_dep kcmutils)
|
||||
$(add_frameworks_dep kconfig)
|
||||
$(add_frameworks_dep kconfigwidgets)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep kdbusaddons)
|
||||
$(add_frameworks_dep ki18n)
|
||||
$(add_frameworks_dep kiconthemes)
|
||||
$(add_frameworks_dep kio)
|
||||
$(add_frameworks_dep knotifications)
|
||||
$(add_frameworks_dep kservice)
|
||||
$(add_frameworks_dep kwidgetsaddons)
|
||||
$(add_qt_dep qtdbus)
|
||||
$(add_qt_dep qtdeclarative)
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtnetwork)
|
||||
$(add_qt_dep qtwidgets)
|
||||
$(add_qt_dep qtx11extras)
|
||||
>=app-crypt/qca-2.1.0:2[qt5,openssl]
|
||||
x11-libs/libfakekey
|
||||
x11-libs/libX11
|
||||
x11-libs/libXtst
|
||||
app? ( $(add_frameworks_dep kdeclarative) )
|
||||
telepathy? ( >=net-libs/telepathy-qt-0.9.7[qt5] )
|
||||
wayland? ( $(add_frameworks_dep kwayland '' 5.5.5) )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
$(add_plasma_dep plasma-workspace)
|
||||
wayland? ( $(add_plasma_dep kwin) )
|
||||
!kde-misc/kdeconnect:4
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
sed \
|
||||
-e 's#${LIBEXEC_INSTALL_DIR}#@KDE_INSTALL_FULL_LIBEXECDIR@#' \
|
||||
-i daemon/kdeconnectd.desktop.cmake || die
|
||||
|
||||
kde5_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DEXPERIMENTALAPP_ENABLED=$(usex app)
|
||||
$(cmake-utils_use_find_package telepathy TelepathyQt5)
|
||||
$(cmake-utils_use_find_package telepathy TelepathyQt5Service)
|
||||
$(cmake-utils_use_find_package wayland KF5Wayland)
|
||||
)
|
||||
|
||||
kde5_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst(){
|
||||
kde5_pkg_postinst
|
||||
|
||||
elog
|
||||
elog "Optional dependency:"
|
||||
elog "net-fs/sshfs (for 'remote filesystem browser' plugin)"
|
||||
elog
|
||||
elog "The Android .apk file is available via"
|
||||
elog "https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp"
|
||||
elog
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue