parent
e9e51783df
commit
937f1ec6af
@ -1,4 +1,2 @@
|
||||
DIST collectd-5.2.2.tar.bz2 1466248 SHA256 7b8906d1c8866155b31820ef108be92abcee7fcd278d386bf0d449e704ba4696 SHA512 a85b15ed824b8a0b273ad77c51c118c270a14abb15abc0a948ed2f19374bac4ff3912faf7addce2a2ee6db971ff9da07ad3baa1c2aabd29ea2caee696a911b16 WHIRLPOOL 455e4b1caf94779794b9999e73070b04bc282d45aaec819dd8e8a57f0bcc0baa875e9f6846dc4c1fbef5979d1e607d72d273646c15b7fa8586245eedcec08b55
|
||||
DIST collectd-5.3.0.tar.bz2 1501308 SHA256 5b04150f3c79f90f1a610ed22a2287ef5d8a07dcc2d0fa7a6a650edd9dc1ea01 SHA512 7d6175bb7c23839f331a8549aa74abe875acbf752b2618125a383106b692f6f5e358db11746fc4ec03a2a7418ec56a7aa1becc1b65fa8a056e0c620025d8ff97 WHIRLPOOL f6b84fe3502be198d875c23fc971d9a7fecbe2e1e280d16159bca76dcb646a8fa5cc9400724e4fff5a00f7d37cd4a7a92bbf79d0be16d6d726965333b49ffd3c
|
||||
DIST collectd-5.4.0.tar.bz2 1506520 SHA256 90973894a1f10775d409fe23ce7bc4d89c1b7c6f4d9918b305d160605871923e SHA512 10de94d082e6bf2e0a8e2f0b179868c0f25b223c61cb8a5fda641d01f90d6332062459410d54d74a4d666f7149bb429976e9542dabeda988ed6772df9001b222 WHIRLPOOL 19db89217dfaf38fd358a60a64155e01bd68d4c8ca4fad13b97667eb3e4e4d8dbe4e9cae8568e970d8d6fe5e8dde960b06159b3026d1a554fad7a455f973ff0a
|
||||
DIST collectd-5.4.1.tar.bz2 1521907 SHA256 75452129f271cb0aad28e57f12a49070618bbb7b6a9d64cf869e8766fa2f66e0 SHA512 96289f52d3d1da55c862ae9ee2f57972682d7eab87387e97efa41fb5197599e097abd71aed2fe014e26af37c9ae98471e06dd181c725849976242642ce5c9492 WHIRLPOOL 2ed85b9d6d00c4e7dc6af236b637e282f17c6c0b20c1ba3da9c12ea85c5fdea1add2e29165874c7e9620852e422282d489436a4e245b161902f8926185edec16
|
||||
|
@ -1,367 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/collectd/collectd-5.2.2.ebuild,v 1.5 2014/10/09 19:44:34 dilfridge Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
GENTOO_DEPEND_ON_PERL="no"
|
||||
|
||||
inherit autotools base eutils linux-info multilib perl-app systemd user
|
||||
|
||||
DESCRIPTION="A a daemon which collects system statistic 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="netapp pinba xmms"
|
||||
|
||||
# Plugins that still need some work
|
||||
COLLECTD_UNTESTED_PLUGINS="amqp apple_sensors genericjmx ipvs lpar modbus redis
|
||||
tape v5upgrade write_redis zfs_arc"
|
||||
|
||||
# Plugins that have been (compile) tested and can be enabled via COLLECTD_PLUGINS
|
||||
COLLECTD_TESTED_PLUGINS="aggregation apache apcups ascent battery bind conntrack
|
||||
contextswitch cpu cpufreq csv curl curl_json curl_xml dbi df disk dns email
|
||||
entropy ethstat exec filecount fscache gmond hddtemp interface ipmi iptables
|
||||
irq java libvirt load logfile madwifi match_empty_counter match_hashed
|
||||
match_regex match_timediff match_value mbmon md memcachec memcached memory
|
||||
multimeter mysql netlink network network nfs nginx notify_desktop notify_email
|
||||
ntpd numa nut olsrd onewire openvpn oracle perl perl ping postgresql powerdns
|
||||
processes protocols python python routeros rrdcached rrdcached rrdtool sensors
|
||||
serial snmp swap syslog table tail target_notification target_replace
|
||||
target_scale target_set tcpconns teamspeak2 ted thermal threshold tokyotyrant
|
||||
unixsock uptime users uuid varnish vmem vserver wireless write_graphite
|
||||
write_http write_mongodb"
|
||||
|
||||
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] )
|
||||
selinux? ( sec-policy/selinux-collectd )
|
||||
collectd_plugins_apache? ( net-misc/curl )
|
||||
collectd_plugins_ascent? ( net-misc/curl dev-libs/libxml2 )
|
||||
collectd_plugins_bind? ( dev-libs/libxml2 )
|
||||
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_java? ( virtual/jre dev-java/java-config-wrapper )
|
||||
collectd_plugins_libvirt? ( app-emulation/libvirt dev-libs/libxml2 )
|
||||
collectd_plugins_memcachec? ( dev-libs/libmemcached )
|
||||
collectd_plugins_mysql? ( >=virtual/mysql-5.0 )
|
||||
collectd_plugins_netlink? ( >=sys-apps/iproute2-3.3.0 )
|
||||
collectd_plugins_nginx? ( net-misc/curl )
|
||||
collectd_plugins_notify_desktop? ( x11-libs/libnotify )
|
||||
collectd_plugins_notify_email? ( >=net-libs/libesmtp-1.0.4 dev-libs/openssl )
|
||||
collectd_plugins_nut? ( sys-power/nut )
|
||||
collectd_plugins_onewire? ( sys-fs/owfs )
|
||||
collectd_plugins_oracle? ( >=dev-db/oracle-instantclient-basic-11.2.0.1.0 )
|
||||
collectd_plugins_perl? ( dev-lang/perl[ithreads] )
|
||||
collectd_plugins_ping? ( net-libs/liboping )
|
||||
collectd_plugins_postgresql? ( >=dev-db/postgresql-base-8.2 )
|
||||
collectd_plugins_python? ( =dev-lang/python-2* )
|
||||
collectd_plugins_routeros? ( net-libs/librouteros )
|
||||
collectd_plugins_rrdcached? ( >=net-analyzer/rrdtool-1.4 )
|
||||
collectd_plugins_rrdtool? ( >=net-analyzer/rrdtool-1.2.27 )
|
||||
collectd_plugins_sensors? ( sys-apps/lm_sensors )
|
||||
collectd_plugins_snmp? ( net-analyzer/net-snmp )
|
||||
collectd_plugins_tokyotyrant? ( net-misc/tokyotyrant )
|
||||
collectd_plugins_varnish? ( www-servers/varnish )
|
||||
collectd_plugins_write_http? ( net-misc/curl )
|
||||
collectd_plugins_write_mongodb? ( dev-libs/mongo-c-driver )
|
||||
|
||||
kernel_FreeBSD? (
|
||||
collectd_plugins_disk? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_interface? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_load? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_memory? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_swap? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_users? ( >=sys-libs/libstatgrab-0.16 )
|
||||
)"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
kernel_linux? (
|
||||
collectd_plugins_vserver? ( sys-kernel/vserver-sources )
|
||||
)"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
collectd_plugins_syslog? ( virtual/logger )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.10.2"-{libocci,nohal}.patch
|
||||
"${FILESDIR}/${PN}-4.10.3"-werror.patch
|
||||
"${FILESDIR}/${PN}-5.1.0"-libperl.patch
|
||||
"${FILESDIR}/${PN}-5.1.1"-lt.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
|
||||
|
||||
# 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
|
||||
|
||||
enewgroup collectd
|
||||
enewuser collectd -1 -1 /var/lib/collectd collectd
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
|
||||
# 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
|
||||
|
||||
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="battery cpu cpufreq disk entropy ethstat interface iptables ipvs irq load
|
||||
memory md netlink nfs numa processes serial swap tcpconns thermal users vmem vserver
|
||||
wireless"
|
||||
|
||||
local libstatgrab_plugins="cpu disk interface load memory swap users"
|
||||
local bsd_plugins="cpu tcpconns ${libstatgrab_plugins}"
|
||||
|
||||
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
|
||||
|
||||
# Need JAVA_HOME for java.
|
||||
if use collectd_plugins_java; then
|
||||
myconf+=" --with-java=$(java-config -g JAVA_HOME)"
|
||||
fi
|
||||
|
||||
# Need libiptc ONLY for iptables. If we try to use it otherwise bug 340109 happens.
|
||||
if ! use collectd_plugins_iptables; then
|
||||
myconf+=" --with-libiptc=no"
|
||||
fi
|
||||
|
||||
if use perl; then
|
||||
myconf+=" --with-perl-bindings=INSTALLDIRS=vendor"
|
||||
else
|
||||
myconf+=" --without-perl-bindings"
|
||||
fi
|
||||
|
||||
# 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 || die
|
||||
|
||||
fixlocalpod
|
||||
|
||||
find "${D}/usr/" -name "*.la" -exec rm -f {} +
|
||||
|
||||
# use collectd_plugins_ping && setcap cap_net_raw+ep ${D}/usr/sbin/collectd
|
||||
# we cannot do this yet
|
||||
|
||||
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() {
|
||||
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 recheck 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
|
||||
}
|
@ -1,370 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/collectd/collectd-5.3.0.ebuild,v 1.5 2014/10/09 19:44:34 dilfridge Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
GENTOO_DEPEND_ON_PERL="no"
|
||||
|
||||
inherit autotools base eutils linux-info multilib perl-app systemd user
|
||||
|
||||
DESCRIPTION="A a daemon which collects system statistic 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="netapp pinba xmms"
|
||||
|
||||
# Plugins that still need some work
|
||||
COLLECTD_UNTESTED_PLUGINS="amqp apple_sensors genericjmx ipvs lpar modbus redis
|
||||
tape write_redis zfs_arc"
|
||||
|
||||
# Plugins that have been (compile) tested and can be enabled via COLLECTD_PLUGINS
|
||||
COLLECTD_TESTED_PLUGINS="aggregation apache apcups ascent battery bind conntrack
|
||||
contextswitch cpu cpufreq csv curl curl_json curl_xml dbi df disk dns email
|
||||
entropy ethstat exec filecount fscache gmond hddtemp interface ipmi iptables
|
||||
irq java libvirt load logfile madwifi match_empty_counter match_hashed
|
||||
match_regex match_timediff match_value mbmon md memcachec memcached memory
|
||||
multimeter mysql netlink network network nfs nginx notify_desktop notify_email
|
||||
ntpd numa nut olsrd onewire openvpn oracle perl perl ping postgresql powerdns
|
||||
processes protocols python python routeros rrdcached rrdcached rrdtool sensors
|
||||
serial snmp swap syslog table tail target_notification target_replace
|
||||
target_scale target_set tcpconns teamspeak2 ted thermal threshold tokyotyrant
|
||||
unixsock uptime users uuid varnish vmem vserver wireless write_graphite
|
||||
write_http write_mongodb"
|
||||
|
||||
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] )
|
||||
selinux? ( sec-policy/selinux-collectd )
|
||||
collectd_plugins_apache? ( net-misc/curl )
|
||||
collectd_plugins_ascent? ( net-misc/curl dev-libs/libxml2 )
|
||||
collectd_plugins_bind? ( dev-libs/libxml2 )
|
||||
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_java? ( virtual/jre dev-java/java-config-wrapper )
|
||||
collectd_plugins_libvirt? ( app-emulation/libvirt dev-libs/libxml2 )
|
||||
collectd_plugins_memcachec? ( dev-libs/libmemcached )
|
||||
collectd_plugins_mysql? ( >=virtual/mysql-5.0 )
|
||||
collectd_plugins_netlink? ( >=sys-apps/iproute2-3.3.0 )
|
||||
collectd_plugins_nginx? ( net-misc/curl )
|
||||
collectd_plugins_notify_desktop? ( x11-libs/libnotify )
|
||||
collectd_plugins_notify_email? ( >=net-libs/libesmtp-1.0.4 dev-libs/openssl )
|
||||
collectd_plugins_nut? ( sys-power/nut )
|
||||
collectd_plugins_onewire? ( sys-fs/owfs )
|
||||
collectd_plugins_oracle? ( >=dev-db/oracle-instantclient-basic-11.2.0.1.0 )
|
||||
collectd_plugins_perl? ( dev-lang/perl[ithreads] )
|
||||
collectd_plugins_ping? ( net-libs/liboping )
|
||||
collectd_plugins_postgresql? ( >=dev-db/postgresql-base-8.2 )
|
||||
collectd_plugins_python? ( =dev-lang/python-2* )
|
||||
collectd_plugins_routeros? ( net-libs/librouteros )
|
||||
collectd_plugins_rrdcached? ( >=net-analyzer/rrdtool-1.4 )
|
||||
collectd_plugins_rrdtool? ( >=net-analyzer/rrdtool-1.2.27 )
|
||||
collectd_plugins_sensors? ( sys-apps/lm_sensors )
|
||||
collectd_plugins_snmp? ( net-analyzer/net-snmp )
|
||||
collectd_plugins_tokyotyrant? ( net-misc/tokyotyrant )
|
||||
collectd_plugins_varnish? ( www-servers/varnish )
|
||||
collectd_plugins_write_http? ( net-misc/curl )
|
||||
collectd_plugins_write_mongodb? ( dev-libs/mongo-c-driver )
|
||||
|
||||
kernel_FreeBSD? (
|
||||
collectd_plugins_disk? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_interface? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_load? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_memory? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_swap? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_users? ( >=sys-libs/libstatgrab-0.16 )
|
||||
)"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
kernel_linux? (
|
||||
collectd_plugins_vserver? ( sys-kernel/vserver-sources )
|
||||
)"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
collectd_plugins_syslog? ( virtual/logger )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.10.2"-{libocci,nohal}.patch
|
||||
"${FILESDIR}/${PN}-4.10.3"-werror.patch
|
||||
"${FILESDIR}/${PN}-5.1.0"-libperl.patch
|
||||
"${FILESDIR}/${PN}-5.1.1"-lt.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
|
||||
|
||||
# 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
|
||||
|
||||
enewgroup collectd
|
||||
enewuser collectd -1 -1 /var/lib/collectd collectd
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
|
||||
# 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
|
||||
|
||||
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="battery cpu cpufreq disk entropy ethstat interface iptables ipvs irq load
|
||||
memory md netlink nfs numa processes serial swap tcpconns thermal users vmem vserver
|
||||
wireless"
|
||||
|
||||
local libstatgrab_plugins="cpu disk interface load memory swap users"
|
||||
local bsd_plugins="cpu tcpconns ${libstatgrab_plugins}"
|
||||
|
||||
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
|
||||
|
||||
# Need JAVA_HOME for java.
|
||||
if use collectd_plugins_java; then
|
||||
myconf+=" --with-java=$(java-config -g JAVA_HOME)"
|
||||
fi
|
||||
|
||||
# Need libiptc ONLY for iptables. If we try to use it otherwise bug 340109 happens.
|
||||
if ! use collectd_plugins_iptables; then
|
||||
myconf+=" --with-libiptc=no"
|
||||
fi
|
||||
|
||||
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 || die
|
||||
|
||||
fixlocalpod
|
||||
|
||||
find "${D}/usr/" -name "*.la" -exec rm -f {} +
|
||||
|
||||
# use collectd_plugins_ping && setcap cap_net_raw+ep ${D}/usr/sbin/collectd
|
||||
# we cannot do this yet
|
||||
|
||||
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() {
|
||||
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 recheck 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
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST fb2edit-0.0.8.tar.bz2 222684 SHA256 f6f6fe21fb8651f8aaff12bfd923257dab17e64a47557669a2ad93ce22c8ed89 SHA512 05b79c5c7965af410fda335fc6fe2612f541c8bae6241c115affdd33b9375bba5710e689933f1745dbf2c132896a843e532bf62c079f0d646f97bedd0e81a572 WHIRLPOOL 993558bdab1a66295c5189e1c05886caa3e590a9779be876ad6d6f46b11958ff53e2e3db50c018ee63c20e9b2108308c03eb5b5a83f54badf93d99f16b94d1e0
|
||||
DIST fb2edit-0.0.9.tar.gz 242568 SHA256 6d64fe1597911170d6d6d59d4b36d406a9389a37c2ef5c68051176bf6f45f181 SHA512 a51eb9e7c7f70d55dc1eb06f4f7e03a031ce229570ee9620f6299cac6c2b435c8bcd702def7a50783055c066227d77b5c235f2bba231b328831b4666cc0f61b9 WHIRLPOOL 2f4ab29352318211c36fe1bfd739d69633f31ec0ce0c0a2edf4dac7965896074900f8c5b840943d900a5ff12d6cc3a819a19f7ea77201465446f17dcc9aba8cb
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/fb2edit/fb2edit-0.0.9.ebuild,v 1.1 2014/10/19 11:50:04 pinkbyte Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="a WYSIWYG FictionBook (fb2) editor"
|
||||
HOMEPAGE="http://fb2edit.lintest.ru/"
|
||||
SRC_URI="https://github.com/lintest/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="dev-libs/libxml2
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtwebkit:4
|
||||
dev-qt/qtxmlpatterns:4"
|
||||
RDEPEND="${DEPEND}
|
||||
x11-themes/hicolor-icon-theme"
|
||||
|
||||
DOCS=( AUTHORS README )
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-fix-compiler-warnings.patch" )
|
||||
|
||||
src_prepare() {
|
||||
# drop -g from CFLAGS
|
||||
sed -i -e '/^add_definitions(-W/s/-g//' CMakeLists.txt || die 'sed failed'
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
@ -0,0 +1,101 @@
|
||||
commit 5a378858e83e95f88ffec5e14ae1fd8157101ed0
|
||||
Author: Kandrashin Denis <mail@lintest.ru>
|
||||
Date: Fri Jul 18 23:03:05 2014 +0400
|
||||
|
||||
Remove compiler warning
|
||||
|
||||
diff --git a/source/fb2main.cpp b/source/fb2main.cpp
|
||||
index 50c5a80..504ccd8 100644
|
||||
--- a/source/fb2main.cpp
|
||||
+++ b/source/fb2main.cpp
|
||||
@@ -27,6 +27,7 @@ FbMainWindow::FbMainWindow(const QString &filename, ViewMode mode)
|
||||
, isSwitched(false)
|
||||
, isUntitled(true)
|
||||
{
|
||||
+ Q_UNUSED(mode);
|
||||
connect(qApp, SIGNAL(logMessage(QtMsgType, QString)), SLOT(logMessage(QtMsgType, QString)));
|
||||
|
||||
setUnifiedTitleAndToolBarOnMac(true);
|
||||
@@ -50,16 +51,22 @@ FbMainWindow::FbMainWindow(const QString &filename, ViewMode mode)
|
||||
|
||||
void FbMainWindow::warning(int row, int col, const QString &msg)
|
||||
{
|
||||
+ Q_UNUSED(row);
|
||||
+ Q_UNUSED(col);
|
||||
logMessage(QtWarningMsg, msg.simplified());
|
||||
}
|
||||
|
||||
void FbMainWindow::error(int row, int col, const QString &msg)
|
||||
{
|
||||
+ Q_UNUSED(row);
|
||||
+ Q_UNUSED(col);
|
||||
logMessage(QtCriticalMsg, msg.simplified());
|
||||
}
|
||||
|
||||
void FbMainWindow::fatal(int row, int col, const QString &msg)
|
||||
{
|
||||
+ Q_UNUSED(row);
|
||||
+ Q_UNUSED(col);
|
||||
logMessage(QtFatalMsg, msg.simplified());
|
||||
}
|
||||
|
||||
@@ -164,6 +171,7 @@ void FbMainWindow::createActions()
|
||||
FbTextEdit *text = mainDock->text();
|
||||
FbHeadEdit *head = mainDock->head();
|
||||
FbCodeEdit *code = mainDock->code();
|
||||
+ Q_UNUSED(head)
|
||||
|
||||
menu = menuBar()->addMenu(tr("&File"));
|
||||
tool = addToolBar(tr("File"));
|
||||
diff --git a/source/fb2text.cpp b/source/fb2text.cpp
|
||||
index 0ea146f..aa2d276 100644
|
||||
--- a/source/fb2text.cpp
|
||||
+++ b/source/fb2text.cpp
|
||||
@@ -37,14 +37,14 @@ FbTextAction::FbTextAction(const QIcon &icon, const QString &text, QWebPage::Web
|
||||
{
|
||||
}
|
||||
|
||||
-QAction * FbTextAction::action(QWebPage::WebAction action)
|
||||
+QAction * FbTextAction::action()
|
||||
{
|
||||
return m_parent->pageAction(m_action);
|
||||
}
|
||||
|
||||
void FbTextAction::updateAction()
|
||||
{
|
||||
- if (QAction * act = action(m_action)) {
|
||||
+ if (QAction * act = action()) {
|
||||
if (isCheckable()) setChecked(act->isChecked());
|
||||
setEnabled(act->isEnabled());
|
||||
}
|
||||
@@ -52,7 +52,7 @@ void FbTextAction::updateAction()
|
||||
|
||||
void FbTextAction::connectAction()
|
||||
{
|
||||
- if (QAction * act = action(m_action)) {
|
||||
+ if (QAction * act = action()) {
|
||||
connect(this, SIGNAL(triggered(bool)), act, SIGNAL(triggered(bool)));
|
||||
connect(act, SIGNAL(changed()), this, SLOT(updateAction()));
|
||||
if (isCheckable()) setChecked(act->isChecked());
|
||||
@@ -65,7 +65,7 @@ void FbTextAction::connectAction()
|
||||
|
||||
void FbTextAction::disconnectAction()
|
||||
{
|
||||
- QAction * act = action(m_action);
|
||||
+ QAction * act = action();
|
||||
disconnect(act, 0, this, 0);
|
||||
disconnect(this, 0, act, 0);
|
||||
}
|
||||
diff --git a/source/fb2text.hpp b/source/fb2text.hpp
|
||||
index c1d1cb4..41f8a6c 100644
|
||||
--- a/source/fb2text.hpp
|
||||
+++ b/source/fb2text.hpp
|
||||
@@ -169,7 +169,7 @@ private slots:
|
||||
void updateAction();
|
||||
|
||||
private:
|
||||
- QAction * action(QWebPage::WebAction action);
|
||||
+ QAction * action();
|
||||
|
||||
private:
|
||||
QWebPage::WebAction m_action;
|
@ -1,4 +1 @@
|
||||
DIST Padre-0.92.tar.gz 1821353 SHA256 f9d0804ec940453b96edca6760d0ac18e930572766fc1db3259bd86d30e9d541 SHA512 225ca3049c54a09cc3f67dc7aedeacfb1cb709f347e6718abbff72874657fa9e2923b5d098da382309a1c796bb81b4a4193330d1dc3314733490acf9f2b8f659 WHIRLPOOL e43f0d29378a26ca89ad3ea47cd4ef767f705409a93677545be1fe1bfb6b54509c4edc33ee36d6cf1ea5f8687e3f51573d69d37166724a37ea903cb0a9bae0c9
|
||||
DIST Padre-0.94.tar.gz 1871534 SHA256 a01a9f7dc44c5eafdcc9cf872af0ee1fdd51fe27b586f0f383bed882e8bac6fd SHA512 03caa9f1656c71e7a7ca3ca3279aa6d588bada69eed9a3cbd3deeec0d24ac86d2a22cfdfae0dc697479debbb9e91dac7833fdb6de5ccfbbb9d881ef0431fe760 WHIRLPOOL 3ed85fff5a52480d13a93f05a6ff613a2b7ae9dcd98b223d6dd063936d20d7af67f92d51d54e7adb1847e8e7c15ab98cf34efc3997433b3e1059ea3a0d579033
|
||||
DIST Padre-0.96.tar.gz 1919132 SHA256 ce727f17792ef25f4bffc9dc2dc8fd71357bbabad407320c77700889272b856b SHA512 78695804c719ca1bf44d5ef8bb2fef8d24c0378cbe296a645ae1f693a55b4212b25238fd2500ea98adc1f4d92d4a02024b170d1bf4dcbe65a0d889b23eb74dce WHIRLPOOL f623c0e45833e3b7870d81d5df15ed8899f4e02b33a81f539fca3b5dc544a55f9b1508eb3fe6abc9275796aba35c8743d779f4229517628ec7a2d0562d17f8ab
|
||||
DIST Padre-0.98.tar.gz 1968814 SHA256 847aa43a0f30ec7cc99a812e38f447f7c49959e62ce39614f9fba1d2d5694f87 SHA512 4f810a0447bc03751dd50ada08acacb3ad617c03dd628f11272750da5e0f9fd39951838161046ad1b17185b87b9bb0f10780adaffa4bdcec0928c181587afdaf WHIRLPOOL 98ec79b1b24096523e1f7da5dad5ebf7f7631f77974994f8d59f53dbff6937efecca5942c22fc7393581f18b423c9aef91ebdbd35bd0fd3a7e8f59270d034379
|
||||
|
@ -1,108 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/padre/padre-0.920.0.ebuild,v 1.1 2011/12/02 19:42:55 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=Padre
|
||||
MODULE_AUTHOR=PLAVEN
|
||||
MODULE_VERSION=0.92
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl Application Development and Refactoring Environment"
|
||||
HOMEPAGE="http://padre.perlide.org/"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# Test Deps
|
||||
TDEPEND="
|
||||
>=dev-perl/Test-MockObject-1.09
|
||||
>=dev-perl/Test-Script-1.07
|
||||
>=dev-perl/Test-Exception-0.27
|
||||
>=dev-perl/Test-NoWarnings-0.084
|
||||
>=virtual/perl-Test-Simple-0.88
|
||||
"
|
||||
|
||||
# Depend on perl-5.10.1 but it only needs
|
||||
# a modern EU::MM
|
||||
# >=virtual/perl-Pod-Perldoc-3.15
|
||||
RDEPEND="
|
||||
>=dev-lang/perl-5.10.1
|
||||
>=dev-perl/Algorithm-Diff-1.190.0
|
||||
>=dev-perl/Capture-Tiny-0.06
|
||||
>=dev-perl/Class-Adapter-1.05
|
||||
>=dev-perl/Class-Inspector-1.22
|
||||
>=dev-perl/Class-XSAccessor-1.05
|
||||
>=dev-perl/DBD-SQLite-1.27
|
||||
>=dev-perl/DBI-1.58
|
||||
>=dev-perl/Devel-Dumpvar-0.04
|
||||
>=dev-perl/Debug-Client-0.11
|
||||
>=dev-perl/Devel-Refactor-0.05
|
||||
>=dev-perl/File-Copy-Recursive-0.37
|
||||
>=dev-perl/File-Find-Rule-0.30
|
||||
>=dev-perl/File-HomeDir-0.91
|
||||
>=virtual/perl-File-Path-2.08
|
||||
>=dev-perl/File-Remove-1.40
|
||||
>=dev-perl/File-ShareDir-1.00
|
||||
dev-perl/File-Slurp
|
||||
>=virtual/perl-File-Spec-3.27.01
|
||||
>=virtual/perl-File-Temp-0.20
|
||||
>=dev-perl/File-Which-1.08
|
||||
dev-perl/File-pushd
|
||||
>=dev-perl/Format-Human-Bytes-0.06
|
||||
virtual/perl-Getopt-Long
|
||||
>=dev-perl/HTML-Parser-3.58
|
||||
>=dev-perl/IO-stringy-2.110
|
||||
virtual/perl-IO
|
||||
>=dev-perl/IO-String-1.08
|
||||
>=dev-perl/IPC-Run-0.83
|
||||
>=dev-perl/JSON-XS-2.2.9
|
||||
>=virtual/perl-Scalar-List-Utils-1.18
|
||||
>=dev-perl/libwww-perl-5.815
|
||||
>=dev-perl/List-MoreUtils-0.22
|
||||
>=dev-perl/Locale-Msgfmt-0.15
|
||||
>=dev-perl/Module-Manifest-0.07
|
||||
>=dev-perl/ORLite-1.48
|
||||
>=dev-perl/ORLite-Migrate-1.80.0
|
||||
>=dev-perl/PAR-0.989
|
||||
>=dev-perl/Params-Util-0.33
|
||||
>=dev-perl/Parse-ErrorString-Perl-0.14
|
||||
>=dev-perl/Parse-ExuberantCTags-1.00
|
||||
>=dev-perl/Pod-Abstract-0.16
|
||||
>=dev-perl/Pod-POM-0.17
|
||||
>=virtual/perl-Pod-Simple-3.07
|
||||
>=dev-perl/PPI-1.205
|
||||
>=dev-perl/PPIx-EditorTools-0.130.0
|
||||
>=dev-perl/PPIx-Regexp-0.011
|
||||
dev-perl/Probe-Perl
|
||||
>=dev-perl/Sort-Versions-1.500.0
|
||||
>=virtual/perl-Storable-2.16
|
||||
>=dev-perl/Template-Tiny-0.11
|
||||
>=virtual/perl-Text-Balanced-0.80
|
||||
>=dev-perl/Text-Diff-1.410.0
|
||||
>=dev-perl/Text-FindIndent-0.10
|
||||
>=dev-perl/Text-Patch-1.800.0
|
||||
>=virtual/perl-threads-1.71
|
||||
>=virtual/perl-threads-shared-1.33
|
||||
>=virtual/perl-Time-HiRes-1.97.18
|
||||
>=dev-perl/URI-0
|
||||
>=dev-perl/wxperl-0.990.100
|
||||
>=dev-perl/Wx-Perl-ProcessStream-0.28
|
||||
>=dev-perl/Wx-Scintilla-0.340.0
|
||||
>=dev-perl/YAML-Tiny-1.32
|
||||
>=virtual/perl-version-0.79
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
# test? (
|
||||
# ${TDEPEND}
|
||||
# )
|
||||
#"
|
||||
|
||||
#SRC_TEST=do
|
||||
|
||||
src_configure() {
|
||||
unset DISPLAY
|
||||
perl-module_src_configure
|
||||
}
|
@ -1,107 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/padre/padre-0.940.0.ebuild,v 1.2 2012/01/26 11:32:10 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=Padre
|
||||
MODULE_AUTHOR=PLAVEN
|
||||
MODULE_VERSION=0.94
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl Application Development and Refactoring Environment"
|
||||
HOMEPAGE="http://padre.perlide.org/"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# Test Deps
|
||||
TDEPEND="
|
||||
>=dev-perl/Test-MockObject-1.09
|
||||
>=dev-perl/Test-Script-1.07
|
||||
>=dev-perl/Test-Exception-0.27
|
||||
>=dev-perl/Test-NoWarnings-0.084
|
||||
>=virtual/perl-Test-Simple-0.88
|
||||
"
|
||||
|
||||
# Depend on perl-5.10.1 but it only needs
|
||||
# a modern EU::MM
|
||||
# >=virtual/perl-Pod-Perldoc-3.15
|
||||
RDEPEND="
|
||||
>=dev-lang/perl-5.10.1
|
||||
>=dev-perl/Algorithm-Diff-1.190.0
|
||||
>=dev-perl/Capture-Tiny-0.06
|
||||
>=dev-perl/Class-Adapter-1.05
|
||||
>=dev-perl/Class-Inspector-1.22
|
||||
>=dev-perl/Class-XSAccessor-1.130.0
|
||||
>=dev-perl/DBD-SQLite-1.350.0
|
||||
>=dev-perl/DBI-1.58
|
||||
>=dev-perl/Devel-Dumpvar-0.04
|
||||
>=dev-perl/Debug-Client-0.160.0
|
||||
>=dev-perl/Devel-Refactor-0.05
|
||||
>=dev-perl/File-Copy-Recursive-0.37
|
||||
>=dev-perl/File-Find-Rule-0.30
|
||||
>=dev-perl/File-HomeDir-0.91
|
||||
>=virtual/perl-File-Path-2.08
|
||||
>=dev-perl/File-Remove-1.40
|
||||
>=dev-perl/File-ShareDir-1.00
|
||||
>=virtual/perl-File-Spec-3.27.01
|
||||
>=virtual/perl-File-Temp-0.20
|
||||
>=dev-perl/File-Which-1.08
|
||||
dev-perl/File-pushd
|
||||
>=dev-perl/Format-Human-Bytes-0.06
|
||||
virtual/perl-Getopt-Long
|
||||
>=dev-perl/HTML-Parser-3.58
|
||||
>=dev-perl/IO-stringy-2.110
|
||||
virtual/perl-IO
|
||||
>=dev-perl/IO-String-1.08
|
||||
>=dev-perl/IPC-Run-0.83
|
||||
>=dev-perl/JSON-XS-2.2.9
|
||||
>=virtual/perl-Scalar-List-Utils-1.18
|
||||
>=dev-perl/libwww-perl-5.815
|
||||
>=dev-perl/List-MoreUtils-0.22
|
||||
>=dev-perl/Locale-Msgfmt-0.15
|
||||
>=dev-perl/Module-Manifest-0.07
|
||||
>=dev-perl/ORLite-1.510.0
|
||||
>=dev-perl/ORLite-Migrate-1.80.0
|
||||
>=dev-perl/PAR-0.989
|
||||
>=dev-perl/Params-Util-0.33
|
||||
>=dev-perl/Parse-ErrorString-Perl-0.14
|
||||
>=dev-perl/Parse-ExuberantCTags-1.00
|
||||
>=dev-perl/Pod-Abstract-0.16
|
||||
>=dev-perl/Pod-POM-0.17
|
||||
>=virtual/perl-Pod-Simple-3.07
|
||||
>=dev-perl/PPI-1.205
|
||||
>=dev-perl/PPIx-EditorTools-0.130.0
|
||||
>=dev-perl/PPIx-Regexp-0.011
|
||||
dev-perl/Probe-Perl
|
||||
>=dev-perl/Sort-Versions-1.500.0
|
||||
>=virtual/perl-Storable-2.16
|
||||
>=dev-perl/Template-Tiny-0.11
|
||||
>=virtual/perl-Text-Balanced-0.80
|
||||
>=dev-perl/Text-Diff-1.410.0
|
||||
>=dev-perl/Text-FindIndent-0.10
|
||||
>=dev-perl/Text-Patch-1.800.0
|
||||
>=virtual/perl-threads-1.71
|
||||
>=virtual/perl-threads-shared-1.33
|
||||
>=virtual/perl-Time-HiRes-1.97.18
|
||||
>=dev-perl/URI-0
|
||||
>=dev-perl/wxperl-0.990.100
|
||||
>=dev-perl/Wx-Perl-ProcessStream-0.28
|
||||
>=dev-perl/Wx-Scintilla-0.340.0
|
||||
>=dev-perl/YAML-Tiny-1.32
|
||||
>=virtual/perl-version-0.79
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
# test? (
|
||||
# ${TDEPEND}
|
||||
# )
|
||||
#"
|
||||
|
||||
#SRC_TEST=do
|
||||
|
||||
src_configure() {
|
||||
unset DISPLAY
|
||||
perl-module_src_configure
|
||||
}
|
@ -1,107 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/padre/padre-0.960.0.ebuild,v 1.1 2012/04/25 16:01:19 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=Padre
|
||||
MODULE_AUTHOR=PLAVEN
|
||||
MODULE_VERSION=0.96
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl Application Development and Refactoring Environment"
|
||||
HOMEPAGE="http://padre.perlide.org/"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# Test Deps
|
||||
TDEPEND="
|
||||
>=dev-perl/Test-MockObject-1.09
|
||||
>=dev-perl/Test-Script-1.07
|
||||
>=dev-perl/Test-Exception-0.27
|
||||
>=dev-perl/Test-NoWarnings-0.084
|
||||
>=virtual/perl-Test-Simple-0.88
|
||||
>=dev-perl/Test-Warn-0.240.0
|
||||
"
|
||||
|
||||
# Depend on perl-5.10.1 but it only needs
|
||||
# a modern EU::MM
|
||||
# >=virtual/perl-Pod-Perldoc-3.15
|
||||
RDEPEND="
|
||||
>=dev-lang/perl-5.10.1
|
||||
>=dev-perl/Algorithm-Diff-1.190.0
|
||||
>=dev-perl/Capture-Tiny-0.06
|
||||
>=dev-perl/Class-Adapter-1.05
|
||||
>=dev-perl/Class-Inspector-1.22
|
||||
>=dev-perl/Class-XSAccessor-1.130.0
|
||||
>=dev-perl/DBD-SQLite-1.350.0
|
||||
>=dev-perl/DBI-1.58
|
||||
>=dev-perl/Devel-Dumpvar-0.04
|
||||
>=dev-perl/Debug-Client-0.200.0
|
||||
>=dev-perl/Devel-Refactor-0.05
|
||||
>=dev-perl/File-Copy-Recursive-0.37
|
||||
>=dev-perl/File-Find-Rule-0.30
|
||||
>=dev-perl/File-HomeDir-0.91
|
||||
>=virtual/perl-File-Path-2.08
|
||||
>=dev-perl/File-Remove-1.40
|
||||
>=dev-perl/File-ShareDir-1.00
|
||||
>=virtual/perl-File-Spec-3.27.01
|
||||
>=virtual/perl-File-Temp-0.20
|
||||
>=dev-perl/File-Which-1.08
|
||||
dev-perl/File-pushd
|
||||
virtual/perl-Getopt-Long
|
||||
>=dev-perl/HTML-Parser-3.58
|
||||
>=dev-perl/IO-stringy-2.110
|
||||
virtual/perl-IO
|
||||
>=dev-perl/IO-String-1.08
|
||||
>=dev-perl/IPC-Run-0.83
|
||||
>=dev-perl/JSON-XS-2.2.9
|
||||
>=virtual/perl-Scalar-List-Utils-1.18
|
||||
>=dev-perl/libwww-perl-5.815
|
||||
>=dev-perl/List-MoreUtils-0.22
|
||||
>=dev-perl/Locale-Msgfmt-0.15
|
||||
>=dev-perl/Module-Manifest-0.07
|
||||
>=dev-perl/ORLite-1.960.0
|
||||
>=dev-perl/ORLite-Migrate-1.100.0
|
||||
>=dev-perl/PAR-0.989
|
||||
>=dev-perl/Params-Util-0.33
|
||||
>=dev-perl/Parse-ErrorString-Perl-0.14
|
||||
>=dev-perl/Parse-ExuberantCTags-1.00
|
||||
>=dev-perl/Pod-Abstract-0.16
|
||||
>=dev-perl/Pod-POM-0.17
|
||||
>=virtual/perl-Pod-Simple-3.07
|
||||
>=dev-perl/PPI-1.205
|
||||
>=dev-perl/PPIx-EditorTools-0.130.0
|
||||
>=dev-perl/PPIx-Regexp-0.011
|
||||
dev-perl/Probe-Perl
|
||||
>=dev-perl/Sort-Versions-1.500.0
|
||||
>=virtual/perl-Storable-2.16
|
||||
>=dev-perl/Template-Tiny-0.11
|
||||
>=virtual/perl-Text-Balanced-0.80
|
||||
>=dev-perl/Text-Diff-1.410.0
|
||||
>=dev-perl/Text-FindIndent-0.10
|
||||
>=dev-perl/Text-Patch-1.800.0
|
||||
>=virtual/perl-threads-1.71
|
||||
>=virtual/perl-threads-shared-1.33
|
||||
>=virtual/perl-Time-HiRes-1.97.18
|
||||
>=dev-perl/URI-0
|
||||
>=dev-perl/wxperl-0.990.100
|
||||
>=dev-perl/Wx-Perl-ProcessStream-0.28
|
||||
>=dev-perl/Wx-Scintilla-0.340.0
|
||||
>=dev-perl/YAML-Tiny-1.32
|
||||
>=virtual/perl-version-0.79
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
# test? (
|
||||
# ${TDEPEND}
|
||||
# )
|
||||
#"
|
||||
|
||||
#SRC_TEST=do
|
||||
|
||||
src_configure() {
|
||||
unset DISPLAY
|
||||
perl-module_src_configure
|
||||
}
|
@ -0,0 +1,87 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virt-manager/virt-manager-1.1.0.ebuild,v 1.1 2014/10/19 16:19:15 thev00d00 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
|
||||
inherit gnome2 distutils-r1
|
||||
|
||||
DESCRIPTION="A graphical tool for administering virtual machines"
|
||||
HOMEPAGE="http://virt-manager.org"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
EGIT_REPO_URI="git://git.fedorahosted.org/virt-manager.git"
|
||||
else
|
||||
SRC_URI="http://virt-manager.org/download/sources/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="gnome-keyring gtk policykit sasl"
|
||||
|
||||
RDEPEND="!app-emulation/virtinst
|
||||
|| (
|
||||
dev-python/libvirt-python[${PYTHON_USEDEP}]
|
||||
>=app-emulation/libvirt-0.7.0[python(-),${PYTHON_USEDEP}]
|
||||
)
|
||||
>=app-emulation/libvirt-glib-0.0.9[introspection,python,${PYTHON_USEDEP}]
|
||||
${PYTHON_DEPS}
|
||||
dev-libs/libxml2[python,${PYTHON_USEDEP}]
|
||||
dev-python/ipaddr[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
dev-python/urlgrabber[${PYTHON_USEDEP}]
|
||||
sys-libs/libosinfo[introspection]
|
||||
gtk? (
|
||||
x11-libs/gtk+:3[introspection]
|
||||
gnome-base/dconf
|
||||
>=net-libs/gtk-vnc-0.3.8[gtk3,introspection]
|
||||
net-misc/spice-gtk[gtk3,introspection,python,sasl?,${PYTHON_USEDEP}]
|
||||
x11-libs/vte:2.90[introspection]
|
||||
gnome-keyring? ( dev-python/gnome-keyring-python )
|
||||
policykit? ( sys-auth/polkit[introspection] )
|
||||
x11-themes/gnome-icon-theme
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
dev-util/intltool"
|
||||
|
||||
DOCS=( README NEWS )
|
||||
|
||||
distutils-r1_python_compile() {
|
||||
local defgraphics=
|
||||
|
||||
esetup.py configure \
|
||||
--qemu-user=qemu \
|
||||
--default-graphics=spice
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
python_fix_shebang \
|
||||
"${ED}"/usr/share/virt-manager/virt-{clone,convert,image,install,manager}
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if use gtk; then
|
||||
gnome2_pkg_preinst
|
||||
|
||||
cd "${ED}"
|
||||
export GNOME2_ECLASS_ICONS=$(find 'usr/share/virt-manager/icons' -maxdepth 1 -mindepth 1 -type d 2> /dev/null)
|
||||
else
|
||||
rm -rf "${ED}/usr/share/virt-manager/virtManager"
|
||||
rm -f "${ED}/usr/share/virt-manager/virt-manager"
|
||||
rm -rf "${ED}/usr/share/virt-manager/ui/"
|
||||
rm -rf "${ED}/usr/share/virt-manager/icons/"
|
||||
rm -rf "${ED}/usr/share/man/man1/virt-manager.1*"
|
||||
rm -rf "${ED}/usr/share/icons/"
|
||||
rm -rf "${ED}/usr/share/applications/virt-manager.desktop"
|
||||
rm -rf "${ED}/usr/bin/virt-manager"
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST lynis-1.3.0.tar.gz 119797 SHA256 fe265965eb1ce8fac352e0bddea1d5ec6508c319bf88a5f63c2edecf2af6de54 SHA512 a2cf40fbc245e9ed89740026374f3b61110cc1e0282899284699a2271cb4996f30d0a91562d3e2eaf5eb165ab89d0860127ceeb5767aec1d5538b879657a76a8 WHIRLPOOL c19aaaf2f9ccd8141a86b1eeecf129ab83006b50ed428eb1801b58811b441f3c5cfea37d1333cf58fd372b3f40026735bdc2e44ace3de399a27e2e0dd8300fa3
|
||||
DIST lynis-1.6.2.tar.gz 166513 SHA256 fdaaabd9e2d159af7677b8012a1ac6e0230e357918707732d7ca9d8b1156c135 SHA512 4b390027a7e1428411947696ccff20e31de623b10fd2eaef4293eefa58fd669da0900e2e13d1341ee8f374a234cd9e969d716112ff311ae0448c638cccf005c0 WHIRLPOOL bbe54fea50434ce721262cd008ac9dac5a50276b9636f7882cc0cf9ea381880e7865106fece016eba05b8f3d5aed5fe69a6391bfa6b1dfcb70ce837797ddd210
|
||||
DIST lynis-1.6.3.tar.gz 169854 SHA256 581ed4e53092d18996f49b522054b279a80e126d844dafa6ff979dd79f0b31cc SHA512 bb6211968576e2e1747e025c8772030db38fd66ec7c55c2a031c495efd7ac10d017f5fcb315ef1d3dcadb56521ea5a198c4aeb07dfad1adec0ab0e34dd4219d4 WHIRLPOOL 47a04414bdd075de51537d8670d284bda88c46e93398a1d8fc3a30768df3bd289756400fe6ece5b548b6013b9be0e5aca9ae00fa39331231e883ea1a671b3d82
|
||||
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/lynis/lynis-1.6.3.ebuild,v 1.1 2014/10/19 09:16:23 idl0r Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils bash-completion-r1
|
||||
|
||||
DESCRIPTION="Security and system auditing tool"
|
||||
HOMEPAGE="http://cisofy.com/lynis/"
|
||||
SRC_URI="http://cisofy.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="app-shells/bash"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
# Bug 507438
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doman lynis.8
|
||||
dodoc CHANGELOG FAQ README dev/TODO
|
||||
|
||||
# Remove the old one during the next stabilize progress
|
||||
exeinto /etc/cron.daily
|
||||
newexe "${FILESDIR}"/lynis.cron-new lynis
|
||||
|
||||
dobashcomp extras/bash_completion.d/lynis
|
||||
|
||||
# stricter default perms - bug 507436
|
||||
diropts -m0700
|
||||
insopts -m0600
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins -r db/ include/ plugins/
|
||||
|
||||
dosbin lynis
|
||||
|
||||
insinto /etc/${PN}
|
||||
doins default.prf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo
|
||||
einfo "A cron script has been installed to ${ROOT}etc/cron.daily/lynis."
|
||||
einfo
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/pax-utils/pax-utils-0.9.1.ebuild,v 1.1 2014/10/19 17:13:37 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils toolchain-funcs unpacker
|
||||
|
||||
DESCRIPTION="ELF related utils for ELF 32/64 binaries that can check files for security relevant properties"
|
||||
HOMEPAGE="http://hardened.gentoo.org/pax-utils.xml"
|
||||
SRC_URI="mirror://gentoo/pax-utils-${PV}.tar.xz
|
||||
http://dev.gentoo.org/~solar/pax/pax-utils-${PV}.tar.xz
|
||||
http://dev.gentoo.org/~vapier/dist/pax-utils-${PV}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="caps python"
|
||||
|
||||
RDEPEND="caps? ( sys-libs/libcap )
|
||||
python? ( dev-python/pyelftools )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils"
|
||||
|
||||
_emake() {
|
||||
emake \
|
||||
USE_CAP=$(usex caps) \
|
||||
USE_PYTHON=$(usex python) \
|
||||
"$@"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Avoid slow configure+gnulib+make if on an up-to-date Linux system
|
||||
if use prefix || ! use kernel_linux || \
|
||||
has_version '<sys-libs/glibc-2.10'
|
||||
then
|
||||
econf $(use_with caps) $(use_with python)
|
||||
else
|
||||
tc-export CC
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
_emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
_emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
_emake DESTDIR="${ED}" PKGDOCDIR='$(DOCDIR)'/${PF} install
|
||||
}
|
@ -0,0 +1,143 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-2.05b_p13.ebuild,v 1.1 2014/10/19 20:31:56 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-2.05b-patches/
|
||||
PLEVEL=${PV##*_p}
|
||||
MY_PV=${PV/_p*}
|
||||
MY_PV=${MY_PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
[[ ${PV} != *_p* ]] && PLEVEL=0
|
||||
patches() {
|
||||
local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
|
||||
[[ ${plevel} -eq 0 ]] && return 1
|
||||
eval set -- {1..${plevel}}
|
||||
set -- $(printf "${pn}${pv/\.}-%03d " "$@")
|
||||
if [[ ${opt} == -s ]] ; then
|
||||
echo "${@/#/${DISTDIR}/}"
|
||||
else
|
||||
local u
|
||||
for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
|
||||
printf "${u}/${pn}-${pv}-patches/%s " "$@"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="The standard GNU Bourne again shell"
|
||||
HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
|
||||
SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="${MY_PV}"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="afs +net nls +readline"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2
|
||||
readline? ( >=sys-libs/readline-6.2 )
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
if is-flag -malign-double ; then #7332
|
||||
eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
|
||||
eerror "as it breaks LFS (struct stat64) on x86."
|
||||
die "remove -malign-double from your CFLAGS mr ricer"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Include official patches
|
||||
[[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
|
||||
|
||||
# Clean out local libs so we know we use system ones
|
||||
rm -rf lib/{readline,termcap}/*
|
||||
touch lib/{readline,termcap}/Makefile.in # for config.status
|
||||
sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-2.05b-destdir.patch
|
||||
epatch "${FILESDIR}"/autoconf-mktime-2.53.patch #220040
|
||||
epatch "${FILESDIR}"/${PN}-2.05b-protos.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.05b-empty-herestring.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.05b-rbash.patch #26854
|
||||
epatch "${FILESDIR}"/${PN}-2.05b-parallel-build.patch #41002
|
||||
epatch "${FILESDIR}"/${PN}-2.05b-jobs.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.05b-fix-job-warning.patch
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# Force pgrp synchronization
|
||||
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=81653
|
||||
export bash_cv_pgrp_pipe=yes
|
||||
|
||||
# For descriptions of these, see config-top.h
|
||||
# bashrc/#26952 bash_logout/#90488 ssh/#24762
|
||||
append-cppflags \
|
||||
-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
|
||||
-DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
|
||||
-DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
|
||||
-DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
|
||||
-DNON_INTERACTIVE_LOGIN_SHELLS \
|
||||
-DSSH_SOURCE_BASHRC
|
||||
|
||||
# Don't even think about building this statically without
|
||||
# reading Bug 7714 first. If you still build it statically,
|
||||
# don't come crying to us with bugs ;).
|
||||
#use static && export LDFLAGS="${LDFLAGS} -static"
|
||||
use nls || myconf+=( --disable-nls )
|
||||
|
||||
# Historically, we always used the builtin readline, but since
|
||||
# our handling of SONAME upgrades has gotten much more stable
|
||||
# in the PM (and the readline ebuild itself preserves the old
|
||||
# libs during upgrades), linking against the system copy should
|
||||
# be safe.
|
||||
# Exact cached version here doesn't really matter as long as it
|
||||
# is at least what's in the DEPEND up above.
|
||||
export ac_cv_rl_version=6.2
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses. For the most part, ncurses
|
||||
# is here because readline needs it. But bash itself calls
|
||||
# ncurses in one or two small places :(.
|
||||
|
||||
tc-export AR #444070
|
||||
econf \
|
||||
--with-installed-readline=. \
|
||||
--with-curses \
|
||||
$(use_with afs) \
|
||||
$(use_enable net net-redirections) \
|
||||
--disable-profiling \
|
||||
--without-gnu-malloc \
|
||||
$(use_enable readline) \
|
||||
$(use_enable readline history) \
|
||||
$(use_enable readline bang-history) \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
into /
|
||||
newbin bash bash-${SLOT}
|
||||
|
||||
newman doc/bash.1 bash-${SLOT}.1
|
||||
newman doc/builtins.1 builtins-${SLOT}.1
|
||||
|
||||
insinto /usr/share/info
|
||||
newins doc/bashref.info bash-${SLOT}.info
|
||||
dosym bash-${SLOT}.info /usr/share/info/bashref-${SLOT}.info
|
||||
|
||||
dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
|
||||
}
|
@ -0,0 +1,151 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-3.0_p22.ebuild,v 1.2 2014/10/20 05:02:36 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-3.0-patches/
|
||||
PLEVEL=${PV##*_p}
|
||||
MY_PV=${PV/_p*}
|
||||
MY_PV=${MY_PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
[[ ${PV} != *_p* ]] && PLEVEL=0
|
||||
patches() {
|
||||
local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
|
||||
[[ ${plevel} -eq 0 ]] && return 1
|
||||
eval set -- {1..${plevel}}
|
||||
set -- $(printf "${pn}${pv/\.}-%03d " "$@")
|
||||
if [[ ${opt} == -s ]] ; then
|
||||
echo "${@/#/${DISTDIR}/}"
|
||||
else
|
||||
local u
|
||||
for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
|
||||
printf "${u}/${pn}-${pv}-patches/%s " "$@"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="The standard GNU Bourne again shell"
|
||||
HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
|
||||
SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="${MY_PV}"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="afs +net nls +readline"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2
|
||||
readline? ( >=sys-libs/readline-6.2 )
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
if is-flag -malign-double ; then #7332
|
||||
eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
|
||||
eerror "as it breaks LFS (struct stat64) on x86."
|
||||
die "remove -malign-double from your CFLAGS mr ricer"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Include official patches
|
||||
[[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
|
||||
|
||||
# Clean out local libs so we know we use system ones
|
||||
rm -rf lib/{readline,termcap}/*
|
||||
touch lib/{readline,termcap}/Makefile.in # for config.status
|
||||
sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
|
||||
|
||||
epatch "${FILESDIR}"/autoconf-mktime-2.53.patch #220040
|
||||
epatch "${FILESDIR}"/${PN}-3.0-protos.patch
|
||||
epatch "${FILESDIR}"/${PN}-3.0-rbash.patch #26854
|
||||
epatch "${FILESDIR}"/${PN}-2.05b-parallel-build.patch #41002
|
||||
epatch "${FILESDIR}"/${PN}-3.0-darwin-conn.patch #79124
|
||||
# read patch headers for more info ... many ripped from Fedora/Debian[17]/SuSe/upstream
|
||||
for i in afs crash jobs manpage pwd ulimit histtimeformat \
|
||||
locale multibyteifs subshell \
|
||||
volatile-command
|
||||
do
|
||||
epatch "${FILESDIR}"/${PN}-3.0-${i}.patch
|
||||
done
|
||||
epatch "${FILESDIR}"/${PN}-3.0-read-builtin-pipe.patch #87093
|
||||
epatch "${FILESDIR}"/${PN}-3.0-trap-fg-signals.patch
|
||||
epatch "${FILESDIR}"/${PN}-3.0-pgrp-pipe-fix.patch #92349
|
||||
epatch "${FILESDIR}"/${PN}-3.0-strnlen.patch
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# Force pgrp synchronization
|
||||
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=81653
|
||||
export bash_cv_pgrp_pipe=yes
|
||||
|
||||
# For descriptions of these, see config-top.h
|
||||
# bashrc/#26952 bash_logout/#90488 ssh/#24762
|
||||
append-cppflags \
|
||||
-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
|
||||
-DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
|
||||
-DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
|
||||
-DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
|
||||
-DNON_INTERACTIVE_LOGIN_SHELLS \
|
||||
-DSSH_SOURCE_BASHRC
|
||||
|
||||
# Don't even think about building this statically without
|
||||
# reading Bug 7714 first. If you still build it statically,
|
||||
# don't come crying to us with bugs ;).
|
||||
#use static && export LDFLAGS="${LDFLAGS} -static"
|
||||
use nls || myconf+=( --disable-nls )
|
||||
|
||||
# Historically, we always used the builtin readline, but since
|
||||
# our handling of SONAME upgrades has gotten much more stable
|
||||
# in the PM (and the readline ebuild itself preserves the old
|
||||
# libs during upgrades), linking against the system copy should
|
||||
# be safe.
|
||||
# Exact cached version here doesn't really matter as long as it
|
||||
# is at least what's in the DEPEND up above.
|
||||
export ac_cv_rl_version=6.2
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses. For the most part, ncurses
|
||||
# is here because readline needs it. But bash itself calls
|
||||
# ncurses in one or two small places :(.
|
||||
|
||||
tc-export AR #444070
|
||||
econf \
|
||||
--with-installed-readline=. \
|
||||
--with-curses \
|
||||
$(use_with afs) \
|
||||
$(use_enable net net-redirections) \
|
||||
--disable-profiling \
|
||||
--without-gnu-malloc \
|
||||
$(use_enable readline) \
|
||||
$(use_enable readline history) \
|
||||
$(use_enable readline bang-history) \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
into /
|
||||
newbin bash bash-${SLOT}
|
||||
|
||||
newman doc/bash.1 bash-${SLOT}.1
|
||||
newman doc/builtins.1 builtins-${SLOT}.1
|
||||
|
||||
insinto /usr/share/info
|
||||
newins doc/bashref.info bash-${SLOT}.info
|
||||
dosym bash-${SLOT}.info /usr/share/info/bashref-${SLOT}.info
|
||||
|
||||
dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
support DESTDIR install
|
||||
|
||||
--- bash-2.05b/Makefile.in
|
||||
+++ bash-2.05b/Makefile.in
|
||||
@@ -20,16 +20,16 @@
|
||||
all: .made
|
||||
|
||||
# Include some boilerplate Gnu makefile definitions.
|
||||
-prefix = @prefix@
|
||||
+prefix = $(DESTDIR)@prefix@
|
||||
|
||||
-exec_prefix = @exec_prefix@
|
||||
-bindir = @bindir@
|
||||
-libdir = @libdir@
|
||||
-infodir = @infodir@
|
||||
-includedir = @includedir@
|
||||
+exec_prefix = $(DESTDIR)@exec_prefix@
|
||||
+bindir = $(DESTDIR)@bindir@
|
||||
+libdir = $(DESTDIR)@libdir@
|
||||
+infodir = $(DESTDIR)@infodir@
|
||||
+includedir = $(DESTDIR)@includedir@
|
||||
datadir = @datadir@
|
||||
|
||||
-mandir = @mandir@
|
||||
+mandir = $(DESTDIR)@mandir@
|
||||
manpfx = man
|
||||
|
||||
man1ext = .1
|
@ -0,0 +1,25 @@
|
||||
###################################################################
|
||||
# Added by Tavis Ormandy <taviso@gentoo.org> 01/05/2003
|
||||
# Reproduce with
|
||||
#
|
||||
# $ xargs <<< ${EMTPY_VARIABLE}
|
||||
# Segmentation fault.
|
||||
#
|
||||
# note: bash will still give you a "\n" with this patch, but this is
|
||||
# standard behaviour, if you need proof:
|
||||
#
|
||||
# $ wc -l <<< ""
|
||||
###############################
|
||||
|
||||
--- bash-2.05b/redir.c
|
||||
+++ bash-2.05b/redir.c
|
||||
@@ -263,7 +263,7 @@
|
||||
int herelen, n, e;
|
||||
|
||||
herestr = expand_string_to_string (redirectee->word, 0);
|
||||
- herelen = strlen (herestr);
|
||||
+ herelen = (herestr == NULL) ? 0 : strlen (herestr);
|
||||
|
||||
n = write (fd, herestr, herelen);
|
||||
if (n == herelen)
|
||||
{
|
@ -0,0 +1,14 @@
|
||||
fix obvious error:
|
||||
common.c:247:5: warning: format '%s' expects a matching 'char *' argument [-Wformat=]
|
||||
|
||||
--- a/builtins/common.c
|
||||
+++ b/builtins/common.c
|
||||
@@ -244,7 +244,7 @@
|
||||
char *s;
|
||||
{
|
||||
if (s)
|
||||
- builtin_error ("%s: no job control");
|
||||
+ builtin_error ("%s: no job control", s);
|
||||
else
|
||||
builtin_error ("no job control");
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
Fix using bash with post-20040808 glibc ebuilds (from fedora)
|
||||
|
||||
--- bash-2.05b/jobs.c
|
||||
+++ bash-2.05b/jobs.c
|
||||
@@ -2423,6 +2423,7 @@
|
||||
PROCESS *child;
|
||||
pid_t pid;
|
||||
int call_set_current, last_stopped_job, job, children_exited, waitpid_flags;
|
||||
+ static int wcontinued_not_supported = 0;
|
||||
|
||||
call_set_current = children_exited = 0;
|
||||
last_stopped_job = NO_JOB;
|
||||
@@ -2436,7 +2437,15 @@
|
||||
: 0;
|
||||
if (sigchld || block == 0)
|
||||
waitpid_flags |= WNOHANG;
|
||||
+ retry:
|
||||
+ if (wcontinued_not_supported)
|
||||
+ waitpid_flags &= ~WCONTINUED;
|
||||
pid = WAITPID (-1, &status, waitpid_flags);
|
||||
+ if (pid == -1 && errno == EINVAL)
|
||||
+ {
|
||||
+ wcontinued_not_supported = 1;
|
||||
+ goto retry;
|
||||
+ }
|
||||
|
||||
/* The check for WNOHANG is to make sure we decrement sigchld only
|
||||
if it was non-zero before we called waitpid. */
|
@ -0,0 +1,15 @@
|
||||
Fix parallel make
|
||||
|
||||
http://bugs.gentoo.org/41002
|
||||
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -604,7 +604,7 @@
|
||||
|
||||
config.h: stamp-h
|
||||
|
||||
-stamp-h: config.status $(srcdir)/config.h.in $(srcdir)/config-top.h $(srcdir)/config-bot.h
|
||||
+stamp-h: version.h config.status $(srcdir)/config.h.in $(srcdir)/config-top.h $(srcdir)/config-bot.h
|
||||
CONFIG_FILES= CONFIG_HEADERS=config.h $(SHELL) ./config.status
|
||||
|
||||
config.status: $(srcdir)/configure
|
@ -0,0 +1,25 @@
|
||||
move prototypes around so they show up when needed
|
||||
|
||||
--- a/externs.h
|
||||
+++ b/externs.h
|
||||
@@ -327,6 +327,9 @@
|
||||
#undef xstrchr
|
||||
extern char *xstrchr __P((const char *, int));
|
||||
|
||||
+/* declarations for functions defined in lib/sh/zcatfd.c */
|
||||
+extern int zcatfd __P((int, int, char *));
|
||||
+
|
||||
/* declarations for functions defined in lib/sh/zread.c */
|
||||
extern ssize_t zread __P((int, char *, size_t));
|
||||
extern ssize_t zreadintr __P((int, char *, size_t));
|
||||
--- a/jobs.h
|
||||
+++ b/jobs.h
|
||||
@@ -175,6 +175,8 @@
|
||||
extern void ignore_tty_job_signals __P((void));
|
||||
extern void default_tty_job_signals __P((void));
|
||||
|
||||
+extern void close_pgrp_pipe __P((void));
|
||||
+
|
||||
#if defined (JOB_CONTROL)
|
||||
extern int job_control;
|
||||
#endif
|
@ -0,0 +1,27 @@
|
||||
Fix broken rbash functionality when used as a login shell via /etc/passwd
|
||||
|
||||
http://bugs.gentoo.org/26854
|
||||
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=170298
|
||||
|
||||
Backported from bash-3.1
|
||||
|
||||
--- bash-2.05b/shell.c
|
||||
+++ bash-2.05b/shell.c
|
||||
@@ -1065,6 +1099,8 @@
|
||||
if (restricted)
|
||||
return 1;
|
||||
temp = base_pathname (name);
|
||||
+ if (*temp == '-')
|
||||
+ temp++;
|
||||
return (STREQ (temp, RESTRICTED_SHELL_NAME));
|
||||
}
|
||||
|
||||
@@ -1082,6 +1118,8 @@
|
||||
char *temp;
|
||||
|
||||
temp = base_pathname (name);
|
||||
+ if (*temp == '-')
|
||||
+ temp++;
|
||||
if (restricted || (STREQ (temp, RESTRICTED_SHELL_NAME)))
|
||||
{
|
||||
set_var_read_only ("PATH");
|
@ -0,0 +1,20 @@
|
||||
Ripped from Fedora
|
||||
|
||||
- Fixed AFS support for output redirection, so that the correct errors
|
||||
are reported for other filesystems (bug #155373).
|
||||
|
||||
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=155373
|
||||
|
||||
--- bash-3.0/redir.c.afs 2005-04-20 09:16:15.000000000 +0100
|
||||
+++ bash-3.0/redir.c 2005-04-20 09:16:58.000000000 +0100
|
||||
@@ -596,7 +596,9 @@
|
||||
fd = open (filename, flags, mode);
|
||||
#if defined (AFS)
|
||||
if ((fd < 0) && (errno == EACCES))
|
||||
- fd = open (filename, flags & ~O_CREAT, mode);
|
||||
+ if ((fd = open (filename, flags & ~O_CREAT, mode)) < 0)
|
||||
+ /* Restore previous errno. */
|
||||
+ errno = EACCES;
|
||||
#endif /* AFS */
|
||||
}
|
||||
|
@ -0,0 +1,46 @@
|
||||
> Machine Type: i686-pc-linux-gnu
|
||||
>
|
||||
> Bash Version: 3.0
|
||||
> Patch Level: 0
|
||||
> Release Status: release
|
||||
>
|
||||
> Description:
|
||||
> GNU bash, version 3.00.0(1)-release (i686-pc-linux-gnu)
|
||||
> (and
|
||||
> GNU bash, version 2.05b.0(1)-release (i386-redhat-linux-gnu)
|
||||
>
|
||||
> dumps a core because of a null pointer "in make_bare_word
|
||||
> at make_cmd.c:90" (see gdb output below)
|
||||
|
||||
Thanks for the report. Here's a quick fix:
|
||||
|
||||
*** arrayfunc.c~ Sat Nov 6 15:08:29 2004
|
||||
--- arrayfunc.c Mon Jan 31 11:56:21 2005
|
||||
***************
|
||||
*** 709,713 ****
|
||||
return ((char *)NULL);
|
||||
}
|
||||
! else if (var == 0)
|
||||
return ((char *)NULL);
|
||||
else if (array_p (var) == 0)
|
||||
--- 709,713 ----
|
||||
return ((char *)NULL);
|
||||
}
|
||||
! else if (var == 0 || value_cell (var) == 0)
|
||||
return ((char *)NULL);
|
||||
else if (array_p (var) == 0)
|
||||
|
||||
|
||||
Chet
|
||||
|
||||
--
|
||||
``The lyf so short, the craft so long to lerne.'' - Chaucer
|
||||
( ``Discere est Dolere'' -- chet )
|
||||
Live...Laugh...Love
|
||||
Chet Ramey, ITS, CWRU chet@po.cwru.edu http://tiswww.tis.cwru.edu/~chet/
|
||||
|
||||
|
||||
_______________________________________________
|
||||
Bug-bash mailing list
|
||||
Bug-bash@gnu.org
|
||||
http://lists.gnu.org/mailman/listinfo/bug-bash
|
@ -0,0 +1,20 @@
|
||||
Sune Foldager writes:
|
||||
On Darwin (Mac OS X), bash incorrectly assumed that it has been called over a
|
||||
network connection (such as ssh, rsh etc.), when stdin stems from the pipe()
|
||||
system call. This is because bash's heuristic code for determining if it's
|
||||
been started over a net connection is incorrect on Darwin kernels.
|
||||
|
||||
http://bugs.gentoo.org/79124
|
||||
|
||||
--- a/lib/sh/netconn.c
|
||||
+++ b/lib/sh/netconn.c
|
||||
@@ -53,7 +53,8 @@
|
||||
l = sizeof(sa);
|
||||
rv = getpeername(fd, &sa, &l);
|
||||
/* Solaris 2.5 getpeername() returns EINVAL if the fd is not a socket. */
|
||||
- return ((rv < 0 && (errno == ENOTSOCK || errno == EINVAL)) ? 0 : 1);
|
||||
+ /* Darwin 7.7.0 getpeername() returns ENOTCONN if the fd was created with pipe(). */
|
||||
+ return ((rv < 0 && (errno == ENOTSOCK || errno == ENOTCONN || errno == EINVAL)) ? 0 : 1);
|
||||
#else /* !HAVE_GETPEERNAME || SVR4_2 || __BEOS__ */
|
||||
# if defined (SVR4) || defined (SVR4_2)
|
||||
/* Sockets on SVR4 and SVR4.2 are character special (streams) devices. */
|
@ -0,0 +1,56 @@
|
||||
Ripped from Debian
|
||||
|
||||
http://lists.gnu.org/archive/html/bug-bash/2004-08/msg00008.html
|
||||
|
||||
From: Enrique Perez-Terron <enrio@online.no>
|
||||
To: bug-bash@gnu.org
|
||||
Subject: When using HISTTIMEFORMAT, the date and the command are run
|
||||
together.
|
||||
Date: Sun, 01 Aug 2004 18:36:45 +0200
|
||||
|
||||
Configuration Information [Automatically generated, do not change]:
|
||||
Machine: i586
|
||||
OS: linux-gnu
|
||||
Compiler: gcc
|
||||
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i586'
|
||||
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i586-pc-linux-gnu'
|
||||
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/local/share/locale'
|
||||
-DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib
|
||||
-g -O2
|
||||
uname output: Linux arabia.home.lan 2.6.6-1.435.2.3 #1 Thu Jul 1
|
||||
09:11:28 EDT 2004 i586 i586 i386 GNU/Linux
|
||||
Machine Type: i586-pc-linux-gnu
|
||||
|
||||
# DP: Add space separating the time and the command in the
|
||||
# DP: output from the history builtin command.
|
||||
|
||||
Bash Version: 3.0
|
||||
Patch Level: 0
|
||||
Release Status: release
|
||||
|
||||
Description:
|
||||
There is no space separating the time and the command in the
|
||||
output from the history builtin command.
|
||||
|
||||
Repeat-By:
|
||||
$ export HISTTIMEFORMAT=_A_format_string_
|
||||
$ history 3
|
||||
997 _A_format_string_echo $BASH_VERSION
|
||||
998 _A_format_string_export HISTTIMEFORMAT=_A_format_string_
|
||||
999 _A_format_string_history 3
|
||||
|
||||
Fix:
|
||||
--- ./builtins/history.def.orig 2003-12-20 00:02:09.000000000 +0100
|
||||
+++ ./builtins/history.def 2004-08-01 18:18:02.652720102 +0200
|
||||
@@ -287,9 +287,10 @@
|
||||
QUIT;
|
||||
|
||||
timestr = (histtimefmt && *histtimefmt) ? histtime (hlist[i], histtimefmt) : (char *)NULL;
|
||||
- printf ("%5d%c %s%s\n", i + history_base,
|
||||
+ printf ("%5d%c %s%s%s\n", i + history_base,
|
||||
histdata(i) ? '*' : ' ',
|
||||
((timestr && *timestr) ? timestr : ""),
|
||||
+ ((timestr && *timestr) ? " " : ""),
|
||||
histline(i));
|
||||
i++;
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
Ripped from Fedora
|
||||
|
||||
* Wed Sep 8 2004 Tim Waugh <twaugh@redhat.com> 3.0-13
|
||||
- Check for EINVAL from waitpid() and avoid WCONTINUED in that case.
|
||||
- Fixed jobs4 test.
|
||||
|
||||
From: Tim Waugh
|
||||
Subject: [patch] bash-3.0: avoid WCONTINUED if invalid
|
||||
Date: Wed, 8 Sep 2004 16:52:38 +0100
|
||||
User-agent: Mutt/1.4.1i
|
||||
|
||||
Hi,
|
||||
|
||||
GNU libc defines WCONTINUED, but (at least on Linux 2.4.x kernels)
|
||||
waitpid() returns -1 with errno set to EINVAL if WCONTINUED is
|
||||
supplied in options.
|
||||
|
||||
Here is a patch to retry without WCONTINUED set in that case.
|
||||
|
||||
Tim.
|
||||
|
||||
--- bash-3.0/tests/jobs4.sub
|
||||
+++ bash-3.0/tests/jobs4.sub
|
||||
@@ -18,5 +18,5 @@
|
||||
|
||||
wait
|
||||
|
||||
-cat &
|
||||
+sleep 100 &
|
||||
kill -1 %% && echo i killed it || echo could not kill it
|
||||
--- bash-3.0/jobs.c
|
||||
+++ bash-3.0/jobs.c
|
||||
@@ -2475,6 +2475,7 @@
|
||||
PROCESS *child;
|
||||
pid_t pid;
|
||||
int call_set_current, last_stopped_job, job, children_exited, waitpid_flags;
|
||||
+ static int wcontinued_not_supported = 0;
|
||||
|
||||
call_set_current = children_exited = 0;
|
||||
last_stopped_job = NO_JOB;
|
||||
@@ -2488,7 +2489,15 @@
|
||||
: 0;
|
||||
if (sigchld || block == 0)
|
||||
waitpid_flags |= WNOHANG;
|
||||
+ retry:
|
||||
+ if (wcontinued_not_supported)
|
||||
+ waitpid_flags &= ~WCONTINUED;
|
||||
pid = WAITPID (-1, &status, waitpid_flags);
|
||||
+ if (pid == -1 && errno == EINVAL)
|
||||
+ {
|
||||
+ wcontinued_not_supported = 1;
|
||||
+ goto retry;
|
||||
+ }
|
||||
|
||||
/* The check for WNOHANG is to make sure we decrement sigchld only
|
||||
if it was non-zero before we called waitpid. */
|
@ -0,0 +1,112 @@
|
||||
Ripped from SuSe
|
||||
|
||||
http://lists.gnu.org/archive/html/bug-bash/2004-08/msg00005.html
|
||||
|
||||
From: schwab@suse.de
|
||||
To: bug-bash@gnu.org
|
||||
Subject: HISTTIMEFORMAT doesn't track locale changes
|
||||
Date: Sun, 1 Aug 2004 11:14:00 +0200 (CEST)
|
||||
|
||||
Configuration Information [Automatically generated, do not change]:
|
||||
Machine: ia64
|
||||
OS: linux-gnu
|
||||
Compiler: gcc
|
||||
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='ia64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='ia64-unknown-linux-gnu' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I../bash-3.0 -I../bash-3.0/include -I../bash-3.0/lib -O2 -g
|
||||
uname output: Linux sykes 2.6.5-22-default #1 SMP Fri Jul 2 13:43:23 UTC 2004 ia64 ia64 ia64 GNU/Linux
|
||||
Machine Type: ia64-unknown-linux-gnu
|
||||
|
||||
Bash Version: 3.0
|
||||
Patch Level: 0
|
||||
Release Status: release
|
||||
|
||||
Description:
|
||||
Bash doesn't use the current locale when formatting HISTTIMEFORMAT.
|
||||
|
||||
Repeat-By:
|
||||
sykes:/tmp/bash/Build/:[0]$ locale
|
||||
LANG=de_DE.UTF-8
|
||||
LC_CTYPE="de_DE.UTF-8"
|
||||
LC_NUMERIC=POSIX
|
||||
LC_TIME=POSIX
|
||||
LC_COLLATE=POSIX
|
||||
LC_MONETARY="de_DE.UTF-8"
|
||||
LC_MESSAGES=en_US.UTF-8
|
||||
LC_PAPER="de_DE.UTF-8"
|
||||
LC_NAME="de_DE.UTF-8"
|
||||
LC_ADDRESS="de_DE.UTF-8"
|
||||
LC_TELEPHONE="de_DE.UTF-8"
|
||||
LC_MEASUREMENT="de_DE.UTF-8"
|
||||
LC_IDENTIFICATION="de_DE.UTF-8"
|
||||
LC_ALL=
|
||||
sykes:/tmp/bash/Build/:[0]$ history 1
|
||||
1502 history 1
|
||||
sykes:/tmp/bash/Build/:[0]$ HISTTIMEFORMAT=%c
|
||||
sykes:/tmp/bash/Build/:[0]$ history 1
|
||||
1504 Sun Aug 1 10:56:59 2004history 1
|
||||
sykes:/tmp/bash/Build/:[0]$ export LC_TIME=$LANG
|
||||
sykes:/tmp/bash/Build/:[0]$ history 1
|
||||
1506 Sun Aug 1 10:57:24 2004history 1
|
||||
|
||||
--- bash-3.0/locale.c
|
||||
+++ bash-3.0/locale.c
|
||||
@@ -71,9 +71,10 @@ set_default_locale ()
|
||||
textdomain (PACKAGE);
|
||||
}
|
||||
|
||||
-/* Set default values for LC_CTYPE, LC_COLLATE, LC_MESSAGES and LC_NUMERIC
|
||||
- if they are not specified in the environment, but LC_ALL is. This
|
||||
- should be called from main() after parsing the environment. */
|
||||
+/* Set default values for LC_CTYPE, LC_COLLATE, LC_MESSAGES, LC_NUMERIC
|
||||
+ and LC_TIME if they are not specified in the environment, but LC_ALL
|
||||
+ is. This should be called from main() after parsing the
|
||||
+ environment. */
|
||||
void
|
||||
set_default_locale_vars ()
|
||||
{
|
||||
@@ -109,6 +110,12 @@ set_default_locale_vars ()
|
||||
setlocale (LC_NUMERIC, lc_all);
|
||||
# endif /* LC_NUMERIC */
|
||||
|
||||
+# if defined (LC_TIME)
|
||||
+ val = get_string_value ("LC_TIME");
|
||||
+ if (val == 0 && lc_all && *lc_all)
|
||||
+ setlocale (LC_TIME, lc_all);
|
||||
+# endif /* LC_TIME */
|
||||
+
|
||||
#endif /* HAVE_SETLOCALE */
|
||||
|
||||
val = get_string_value ("TEXTDOMAIN");
|
||||
@@ -213,6 +220,13 @@ set_locale_var (var, value)
|
||||
return (setlocale (LC_NUMERIC, get_locale_var ("LC_NUMERIC")) != 0);
|
||||
# endif /* LC_NUMERIC */
|
||||
}
|
||||
+ else if (var[3] == 'T' && var[4] == 'I') /* LC_TIME */
|
||||
+ {
|
||||
+# if defined (LC_TIME)
|
||||
+ if (lc_all == 0 || *lc_all == '\0')
|
||||
+ return (setlocale (LC_TIME, get_locale_var ("LC_TIME")) != 0);
|
||||
+# endif /* LC_TIME */
|
||||
+ }
|
||||
#endif /* HAVE_SETLOCALE */
|
||||
|
||||
return (0);
|
||||
@@ -285,6 +299,9 @@ reset_locale_vars ()
|
||||
# if defined (LC_NUMERIC)
|
||||
setlocale (LC_NUMERIC, get_locale_var ("LC_NUMERIC"));
|
||||
# endif
|
||||
+# if defined (LC_TIME)
|
||||
+ setlocale (LC_TIME, get_locale_var ("LC_TIME"));
|
||||
+# endif
|
||||
|
||||
locale_setblanks ();
|
||||
|
||||
--- bash-3.0/variables.c
|
||||
+++ bash-3.0/variables.c
|
||||
@@ -3646,6 +3646,7 @@ static struct name_and_function special_
|
||||
{ "LC_CTYPE", sv_locale },
|
||||
{ "LC_MESSAGES", sv_locale },
|
||||
{ "LC_NUMERIC", sv_locale },
|
||||
+ { "LC_TIME", sv_locale },
|
||||
|
||||
{ "MAIL", sv_mail },
|
||||
{ "MAILCHECK", sv_mail },
|
@ -0,0 +1,15 @@
|
||||
Ripped from Fedora
|
||||
|
||||
fix obvious display bug
|
||||
|
||||
--- bash-3.0/doc/bash.1
|
||||
+++ bash-3.0/doc/bash.1
|
||||
@@ -3929,7 +3929,7 @@
|
||||
.B SIGHUP
|
||||
to all jobs when an interactive login shell exits.
|
||||
.PP
|
||||
-If \Bbash\fP is waiting for a command to complete and receives a signal
|
||||
+If \fBbash\fP is waiting for a command to complete and receives a signal
|
||||
for which a trap has been set, the trap will not be executed until
|
||||
the command completes.
|
||||
When \fBbash\fP is waiting for an asynchronous command via the \fBwait\fP
|
@ -0,0 +1,281 @@
|
||||
From: Tim Waugh <twaugh@redhat.com>
|
||||
To: bug-bash@gnu.org
|
||||
Subject: [patch] multibyte IFS values
|
||||
Date: Tue, 24 Aug 2004 13:34:59 +0100
|
||||
|
||||
Hi,
|
||||
|
||||
Here is a patch to address these problems:
|
||||
|
||||
http://lists.gnu.org/archive/html/bug-bash/2004-07/msg00294.html
|
||||
http://lists.gnu.org/archive/html/bug-bash/2004-07/msg00296.html
|
||||
|
||||
It works well for me at least.
|
||||
|
||||
Tim.
|
||||
|
||||
--- bash-3.0/subst.c.multibyteifs 2004-08-20 15:22:48.366497771 +0100
|
||||
+++ bash-3.0/subst.c 2004-08-20 18:13:30.833624616 +0100
|
||||
@@ -124,7 +124,12 @@
|
||||
SHELL_VAR *ifs_var;
|
||||
char *ifs_value;
|
||||
unsigned char ifs_cmap[UCHAR_MAX + 1];
|
||||
+#if defined (HANDLE_MULTIBYTE)
|
||||
+unsigned char ifs_firstc[MB_LEN_MAX];
|
||||
+size_t ifs_firstc_len;
|
||||
+#else
|
||||
unsigned char ifs_firstc;
|
||||
+#endif
|
||||
|
||||
/* Extern functions and variables from different files. */
|
||||
extern int last_command_exit_value, last_command_exit_signal;
|
||||
@@ -862,8 +867,14 @@
|
||||
char *charlist;
|
||||
{
|
||||
register int i = *sindex;
|
||||
+ size_t slen;
|
||||
+#if defined (HANDLE_MULTIBYTE)
|
||||
+ size_t clen;
|
||||
+ wchar_t *wcharlist = NULL;
|
||||
+#endif
|
||||
int c;
|
||||
char *temp;
|
||||
+ DECLARE_MBSTATE;
|
||||
|
||||
if (charlist[0] == '\'' && charlist[1] == '\0')
|
||||
{
|
||||
@@ -872,18 +883,65 @@
|
||||
return temp;
|
||||
}
|
||||
|
||||
- for (i = *sindex; c = string[i]; i++)
|
||||
+ slen = strlen (string + *sindex) + *sindex;
|
||||
+ i = *sindex;
|
||||
+#if defined (HANDLE_MULTIBYTE)
|
||||
+ clen = strlen (charlist);
|
||||
+#endif
|
||||
+ while ((c = string[i]))
|
||||
{
|
||||
+#if defined (HANDLE_MULTIBYTE)
|
||||
+ size_t mblength;
|
||||
+#endif
|
||||
+
|
||||
if (c == CTLESC)
|
||||
{
|
||||
- i++;
|
||||
+ i += 2;
|
||||
continue;
|
||||
}
|
||||
|
||||
+#if defined (HANDLE_MULTIBYTE)
|
||||
+ mblength = mblen (string + i, slen - i);
|
||||
+ if (mblength > 1)
|
||||
+ {
|
||||
+ wchar_t wc;
|
||||
+ size_t mblength = mbtowc (&wc, string + i, slen - i);
|
||||
+ if (MB_INVALIDCH (mblength))
|
||||
+ {
|
||||
+ if (MEMBER (c, charlist))
|
||||
+ break;
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ if (!wcharlist)
|
||||
+ {
|
||||
+ size_t len = mbstowcs (wcharlist, charlist, 0);
|
||||
+ if (len == -1)
|
||||
+ len = 0;
|
||||
+ wcharlist = xmalloc (sizeof (wchar_t) * (len + 1));
|
||||
+ mbstowcs (wcharlist, charlist, 1 + len);
|
||||
+ }
|
||||
+
|
||||
+ if (wcschr (wcharlist, wc))
|
||||
+ {
|
||||
+ break;
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ else
|
||||
+#endif
|
||||
+
|
||||
if (MEMBER (c, charlist))
|
||||
break;
|
||||
+
|
||||
+ ADVANCE_CHAR (string, slen, i);
|
||||
}
|
||||
|
||||
+#if defined (HANDLE_MULTIBYTE)
|
||||
+ if (wcharlist)
|
||||
+ free (wcharlist);
|
||||
+#endif
|
||||
+
|
||||
temp = substring (string, *sindex, i);
|
||||
*sindex = i;
|
||||
|
||||
@@ -1456,11 +1514,36 @@
|
||||
d2 = 0;
|
||||
if (delims)
|
||||
{
|
||||
- d2 = (char *)xmalloc (strlen (delims) + 1);
|
||||
- for (i = ts = 0; delims[i]; i++)
|
||||
+ size_t slength = strlen (delims);
|
||||
+#if defined (HANDLE_MULTIBYTE)
|
||||
+ size_t mblength = 1;
|
||||
+ DECLARE_MBSTATE;
|
||||
+#endif
|
||||
+
|
||||
+ d2 = (char *)xmalloc (slength + 1);
|
||||
+ i = ts = 0;
|
||||
+ while (delims[i])
|
||||
{
|
||||
+#if defined (HANDLE_MULTIBYTE)
|
||||
+ mbstate_t state_bak = state;
|
||||
+ mblength = mbrlen (delims + i, slength, &state);
|
||||
+
|
||||
+ if (MB_INVALIDCH (mblength))
|
||||
+ state = state_bak;
|
||||
+ else if (mblength != 1)
|
||||
+ {
|
||||
+ memcpy (d2 + ts, delims + i, mblength);
|
||||
+ ts += mblength;
|
||||
+ i += mblength;
|
||||
+ slength -= mblength;
|
||||
+ continue;
|
||||
+ }
|
||||
+#endif
|
||||
+
|
||||
if (whitespace(delims[i]) == 0)
|
||||
d2[ts++] = delims[i];
|
||||
+ i++;
|
||||
+ slength--;
|
||||
}
|
||||
d2[ts] = '\0';
|
||||
}
|
||||
@@ -1654,10 +1737,19 @@
|
||||
string_list_dollar_star (list)
|
||||
WORD_LIST *list;
|
||||
{
|
||||
+#if defined (HANDLE_MULTIBYTE)
|
||||
+ char sep[MB_CUR_MAX + 1];
|
||||
+#else
|
||||
char sep[2];
|
||||
+#endif
|
||||
|
||||
+#if defined (HANDLE_MULTIBYTE)
|
||||
+ memcpy (sep, ifs_firstc, ifs_firstc_len);
|
||||
+ sep[ifs_firstc_len] = '\0';
|
||||
+#else
|
||||
sep[0] = ifs_firstc;
|
||||
sep[1] = '\0';
|
||||
+#endif
|
||||
|
||||
return (string_list_internal (list, sep));
|
||||
}
|
||||
@@ -1676,14 +1768,41 @@
|
||||
WORD_LIST *list;
|
||||
int quoted;
|
||||
{
|
||||
- char *ifs, sep[2];
|
||||
+ char *ifs;
|
||||
+#if defined (HANDLE_MULTIBYTE)
|
||||
+ char sep[MB_CUR_MAX + 1];
|
||||
+#else
|
||||
+ char sep[2];
|
||||
+#endif
|
||||
WORD_LIST *tlist;
|
||||
|
||||
/* XXX this could just be ifs = ifs_value; */
|
||||
ifs = ifs_var ? value_cell (ifs_var) : (char *)0;
|
||||
|
||||
+#if defined (HANDLE_MULTIBYTE)
|
||||
+ if (ifs && *ifs)
|
||||
+ {
|
||||
+ size_t mblength = mblen (ifs, strnlen (ifs, MB_CUR_MAX));
|
||||
+ if (MB_INVALIDCH (mblength))
|
||||
+ {
|
||||
+ sep[0] = *ifs;
|
||||
+ sep[1] = '\0';
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ memcpy (sep, ifs, mblength);
|
||||
+ sep[mblength] = '\0';
|
||||
+ }
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ sep[0] = ' ';
|
||||
+ sep[1] = '\0';
|
||||
+ }
|
||||
+#else
|
||||
sep[0] = (ifs == 0 || *ifs == 0) ? ' ' : *ifs;
|
||||
sep[1] = '\0';
|
||||
+#endif
|
||||
|
||||
tlist = ((quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES)) || (ifs && *ifs == 0))
|
||||
? quote_list (list)
|
||||
@@ -1732,6 +1851,7 @@
|
||||
WORD_DESC *t;
|
||||
char *current_word, *s;
|
||||
int sindex, sh_style_split, whitesep;
|
||||
+ size_t slen = 0;
|
||||
|
||||
if (!string || !*string)
|
||||
return ((WORD_LIST *)NULL);
|
||||
@@ -1805,7 +1925,12 @@
|
||||
|
||||
/* Move past the current separator character. */
|
||||
if (string[sindex])
|
||||
- sindex++;
|
||||
+ {
|
||||
+ DECLARE_MBSTATE;
|
||||
+ if (!slen)
|
||||
+ slen = strlen (string);
|
||||
+ ADVANCE_CHAR (string, slen, sindex);
|
||||
+ }
|
||||
|
||||
/* Now skip sequences of space, tab, or newline characters if they are
|
||||
in the list of separators. */
|
||||
@@ -6796,7 +6921,27 @@
|
||||
ifs_cmap[uc] = 1;
|
||||
}
|
||||
|
||||
+#if defined (HANDLE_MULTIBYTE)
|
||||
+ if (!ifs_value)
|
||||
+ {
|
||||
+ ifs_firstc[0] = '\0';
|
||||
+ ifs_firstc_len = 1;
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ size_t ifs_len = strnlen (ifs_value, MB_CUR_MAX);
|
||||
+ ifs_firstc_len = mblen (ifs_value, ifs_len);
|
||||
+ if (MB_INVALIDCH (ifs_firstc_len))
|
||||
+ {
|
||||
+ ifs_firstc[0] = '\0';
|
||||
+ ifs_firstc_len = 1;
|
||||
+ }
|
||||
+ else
|
||||
+ memcpy (ifs_firstc, ifs_value, ifs_firstc_len);
|
||||
+ }
|
||||
+#else
|
||||
ifs_firstc = ifs_value ? *ifs_value : 0;
|
||||
+#endif
|
||||
}
|
||||
|
||||
char *
|
||||
--- bash-3.0/subst.h.multibyteifs 2004-08-20 15:51:08.301074583 +0100
|
||||
+++ bash-3.0/subst.h 2004-08-20 15:51:39.070206473 +0100
|
||||
@@ -231,7 +231,12 @@
|
||||
extern SHELL_VAR *ifs_var;
|
||||
extern char *ifs_value;
|
||||
extern unsigned char ifs_cmap[];
|
||||
+#if defined (HANDLE_MULTIBYTE)
|
||||
+extern unsigned char ifs_firstc[];
|
||||
+extern size_t ifs_firstc_len;
|
||||
+#else
|
||||
extern unsigned char ifs_firstc;
|
||||
+#endif
|
||||
|
||||
/* Evaluates to 1 if C is a character in $IFS. */
|
||||
#define isifs(c) (ifs_cmap[(unsigned char)(c)] != 0)
|
@ -0,0 +1,20 @@
|
||||
Fix an error when using pipes and PGRP_PIPE is enabled.
|
||||
( exec 3>&1; : `echo >&3` )
|
||||
bash: 3: Bad file descriptor
|
||||
|
||||
http://bugs.gentoo.org/92349
|
||||
|
||||
Patch from upstream
|
||||
|
||||
*** jobs.c Wed Sep 8 11:08:16 2004
|
||||
--- jobs.c Thu Jun 30 17:21:26 2005
|
||||
***************
|
||||
*** 3456,3459 ****
|
||||
--- 3901,3907 ----
|
||||
stop_making_children ();
|
||||
start_pipeline ();
|
||||
+ #if defined (PGRP_PIPE)
|
||||
+ pipe_close (pgrp_pipe);
|
||||
+ #endif
|
||||
delete_all_jobs (0);
|
||||
set_job_control (0);
|
@ -0,0 +1,68 @@
|
||||
move prototypes around so they show up when needed
|
||||
|
||||
--- a/externs.h
|
||||
+++ b/externs.h
|
||||
@@ -327,6 +327,9 @@
|
||||
#undef xstrchr
|
||||
extern char *xstrchr __P((const char *, int));
|
||||
|
||||
+/* declarations for functions defined in lib/sh/zcatfd.c */
|
||||
+extern int zcatfd __P((int, int, char *));
|
||||
+
|
||||
/* declarations for functions defined in lib/sh/zread.c */
|
||||
extern ssize_t zread __P((int, char *, size_t));
|
||||
extern ssize_t zreadintr __P((int, char *, size_t));
|
||||
--- a/jobs.h
|
||||
+++ b/jobs.h
|
||||
@@ -175,6 +175,8 @@
|
||||
extern void ignore_tty_job_signals __P((void));
|
||||
extern void default_tty_job_signals __P((void));
|
||||
|
||||
+extern void close_pgrp_pipe __P((void));
|
||||
+
|
||||
#if defined (JOB_CONTROL)
|
||||
extern int job_control;
|
||||
#endif
|
||||
--- a/general.c
|
||||
+++ b/general.c
|
||||
@@ -39,6 +39,8 @@
|
||||
#include "bashintl.h"
|
||||
|
||||
#include "shell.h"
|
||||
+#include "test.h"
|
||||
+
|
||||
#include <tilde/tilde.h>
|
||||
|
||||
#if !defined (errno)
|
||||
--- a/builtins/evalfile.c
|
||||
+++ b/builtins/evalfile.c
|
||||
@@ -39,6 +39,7 @@
|
||||
#include "../flags.h"
|
||||
#include "../input.h"
|
||||
#include "../execute_cmd.h"
|
||||
+#include "../trap.h"
|
||||
|
||||
#if defined (HISTORY)
|
||||
# include "../bashhist.h"
|
||||
--- a/lib/glob/strmatch.c
|
||||
+++ b/lib/glob/strmatch.c
|
||||
@@ -25,9 +25,6 @@
|
||||
#include "strmatch.h"
|
||||
|
||||
extern int xstrmatch __P((char *, char *, int));
|
||||
-#if defined (HAVE_MULTIBYTE)
|
||||
-extern int internal_wstrmatch __P((wchar_t *, wchar_t *, int));
|
||||
-#endif
|
||||
|
||||
int
|
||||
strmatch (pattern, string, flags)
|
||||
--- a/lib/glob/strmatch.h
|
||||
+++ b/lib/glob/strmatch.h
|
||||
@@ -57,6 +57,7 @@
|
||||
|
||||
#if HANDLE_MULTIBYTE
|
||||
extern int wcsmatch __P((wchar_t *, wchar_t *, int));
|
||||
+extern int internal_wstrmatch __P((wchar_t *, wchar_t *, int));
|
||||
#endif
|
||||
|
||||
#endif /* _STRMATCH_H */
|
@ -0,0 +1,16 @@
|
||||
Ripped from Fedora
|
||||
|
||||
* Tue Mar 15 2005 Tim Waugh <twaugh@redhat.com> 3.0-30
|
||||
- Fix PS1 expansion crash when PWD is unset (bg #151116).
|
||||
|
||||
--- bash-3.0/parse.y.pwd 2005-03-15 14:22:36.000000000 +0000
|
||||
+++ bash-3.0/parse.y 2005-03-15 14:22:37.000000000 +0000
|
||||
@@ -4103,7 +4103,7 @@
|
||||
#define ROOT_PATH(x) ((x)[0] == '/' && (x)[1] == 0)
|
||||
#define DOUBLE_SLASH_ROOT(x) ((x)[0] == '/' && (x)[1] == '/' && (x)[2] == 0)
|
||||
/* Abbreviate \W as ~ if $PWD == $HOME */
|
||||
- if (c == 'W' && (((t = get_string_value ("HOME")) == 0) || STREQ (t, temp) == 0))
|
||||
+ if (c == 'W' && (((t = get_string_value ("HOME")) == 0) || STREQ (t, t_string) == 0))
|
||||
{
|
||||
if (ROOT_PATH (t_string) == 0 && DOUBLE_SLASH_ROOT (t_string) == 0)
|
||||
{
|
@ -0,0 +1,18 @@
|
||||
Fix broken rbash functionality when used as a login shell via /etc/passwd
|
||||
|
||||
http://bugs.gentoo.org/26854
|
||||
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=170298
|
||||
|
||||
Backported from bash-3.1
|
||||
|
||||
--- bash-3.0/shell.c
|
||||
+++ bash-3.0/shell.c
|
||||
@@ -1089,6 +1099,8 @@
|
||||
if (restricted)
|
||||
return 1;
|
||||
temp = base_pathname (name);
|
||||
+ if (*temp == '-')
|
||||
+ temp++;
|
||||
return (STREQ (temp, RESTRICTED_SHELL_NAME));
|
||||
}
|
||||
|
@ -0,0 +1,20 @@
|
||||
Description:
|
||||
When using 'read -u 3' or the like, and the pipe-buf already contains
|
||||
more than one line, the first line is returned, and bytes up to the next
|
||||
multiple of 128 are skipped.
|
||||
|
||||
http://lists.gnu.org/archive/html/bug-bash/2005-03/msg00168.html
|
||||
http://lists.gnu.org/archive/html/bug-bash/2005-03/msg00173.html
|
||||
http://bugs.gentoo.org/show_bug.cgi?id=87093
|
||||
|
||||
--- builtins/read.def
|
||||
+++ builtins/read.def
|
||||
@@ -276,7 +276,7 @@
|
||||
input_is_tty = isatty (fd);
|
||||
if (input_is_tty == 0)
|
||||
#ifndef __CYGWIN__
|
||||
- input_is_pipe = (lseek (0, 0L, SEEK_CUR) < 0) && (errno == ESPIPE);
|
||||
+ input_is_pipe = (lseek (fd, 0L, SEEK_CUR) < 0) && (errno == ESPIPE);
|
||||
#else
|
||||
input_is_pipe = 1;
|
||||
#endif
|
@ -0,0 +1,26 @@
|
||||
> Hmm, a better patch for this seems to be:
|
||||
|
||||
I installed this patch a while back:
|
||||
|
||||
*** ../bash-3.0-patched/lib/readline/display.c Wed Sep 8 11:07:51 2004
|
||||
--- lib/readline/display.c Fri Nov 12 13:31:42 2004
|
||||
***************
|
||||
*** 336,340 ****
|
||||
|
||||
local_prompt = local_prompt_prefix = (char *)0;
|
||||
! prompt_last_invisible = prompt_visible_length = 0;
|
||||
|
||||
if (prompt == 0 || *prompt == 0)
|
||||
--- 341,346 ----
|
||||
|
||||
local_prompt = local_prompt_prefix = (char *)0;
|
||||
! prompt_last_invisible = prompt_invis_chars_first_line = 0;
|
||||
! prompt_visible_length = prompt_physical_chars = 0;
|
||||
|
||||
if (prompt == 0 || *prompt == 0)
|
||||
|
||||
--
|
||||
``The lyf so short, the craft so long to lerne.'' - Chaucer
|
||||
( ``Discere est Dolere'' -- chet )
|
||||
Live...Laugh...Love
|
||||
Chet Ramey, ITS, CWRU chet@po.cwru.edu http://tiswww.tis.cwru.edu/~chet/
|
@ -0,0 +1,175 @@
|
||||
Add strnlen function for non-glibc systems, as one of Fedora's patches requires it.
|
||||
|
||||
--- bash-3.0/configure.in
|
||||
+++ bash-3.0/configure.in
|
||||
@@ -613,6 +613,9 @@
|
||||
AC_LIBOBJ(vprint)
|
||||
fi
|
||||
|
||||
+AC_CHECK_FUNCS([strnlen])
|
||||
+AC_LIBOBJ(strnlen)
|
||||
+
|
||||
dnl signal stuff
|
||||
AC_TYPE_SIGNAL
|
||||
|
||||
--- /dev/null
|
||||
+++ bash-3.0/lib/sh/strnlen.c
|
||||
@@ -0,0 +1,27 @@
|
||||
+/*
|
||||
+ Copyright (C) 2005 Gentoo Foundation
|
||||
+
|
||||
+ This program is free software; you can redistribute it and/or
|
||||
+ modify it under the terms of the GNU General Public License
|
||||
+ as published by the Free Software Foundation; either version 2
|
||||
+ of the License, or (at your option) any later version.
|
||||
+
|
||||
+ This program is distributed in the hope that it will be useful,
|
||||
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
+ GNU General Public License for more details.
|
||||
+
|
||||
+ You should have received a copy of the GNU General Public License
|
||||
+ along with this program; if not, write to the Free Software
|
||||
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, US
|
||||
+*/
|
||||
+
|
||||
+#include <stdlib.h>
|
||||
+
|
||||
+size_t strnlen(const char *s, size_t n)
|
||||
+{
|
||||
+ int i;
|
||||
+ for (i=0; s[i] && i<n; i++)
|
||||
+ /* noop */ ;
|
||||
+ return i;
|
||||
+}
|
||||
--- bash-3.0/configure
|
||||
+++ bash-3.0/configure
|
||||
@@ -10696,9 +10696,127 @@ _ACEOF
|
||||
fi
|
||||
|
||||
if test "$ac_cv_func_vprintf" = no && test "$ac_cv_func__doprnt" = "yes"; then
|
||||
- LIBOBJS="$LIBOBJS vprint.$ac_objext"
|
||||
+ case $LIBOBJS in
|
||||
+ "vprint.$ac_objext" | \
|
||||
+ *" vprint.$ac_objext" | \
|
||||
+ "vprint.$ac_objext "* | \
|
||||
+ *" vprint.$ac_objext "* ) ;;
|
||||
+ *) LIBOBJS="$LIBOBJS vprint.$ac_objext" ;;
|
||||
+esac
|
||||
+
|
||||
fi
|
||||
|
||||
+
|
||||
+for ac_func in strnlen
|
||||
+do
|
||||
+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
||||
+echo "$as_me:$LINENO: checking for $ac_func" >&5
|
||||
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
||||
+if eval "test \"\${$as_ac_var+set}\" = set"; then
|
||||
+ echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
+else
|
||||
+ cat >conftest.$ac_ext <<_ACEOF
|
||||
+/* confdefs.h. */
|
||||
+_ACEOF
|
||||
+cat confdefs.h >>conftest.$ac_ext
|
||||
+cat >>conftest.$ac_ext <<_ACEOF
|
||||
+/* end confdefs.h. */
|
||||
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
||||
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
||||
+#define $ac_func innocuous_$ac_func
|
||||
+
|
||||
+/* System header to define __stub macros and hopefully few prototypes,
|
||||
+ which can conflict with char $ac_func (); below.
|
||||
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
||||
+ <limits.h> exists even on freestanding compilers. */
|
||||
+
|
||||
+#ifdef __STDC__
|
||||
+# include <limits.h>
|
||||
+#else
|
||||
+# include <assert.h>
|
||||
+#endif
|
||||
+
|
||||
+#undef $ac_func
|
||||
+
|
||||
+/* Override any gcc2 internal prototype to avoid an error. */
|
||||
+#ifdef __cplusplus
|
||||
+extern "C"
|
||||
+{
|
||||
+#endif
|
||||
+/* We use char because int might match the return type of a gcc2
|
||||
+ builtin and then its argument prototype would still apply. */
|
||||
+char $ac_func ();
|
||||
+/* The GNU C library defines this for functions which it implements
|
||||
+ to always fail with ENOSYS. Some functions are actually named
|
||||
+ something starting with __ and the normal name is an alias. */
|
||||
+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
||||
+choke me
|
||||
+#else
|
||||
+char (*f) () = $ac_func;
|
||||
+#endif
|
||||
+#ifdef __cplusplus
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
+int
|
||||
+main ()
|
||||
+{
|
||||
+return f != $ac_func;
|
||||
+ ;
|
||||
+ return 0;
|
||||
+}
|
||||
+_ACEOF
|
||||
+rm -f conftest.$ac_objext conftest$ac_exeext
|
||||
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
||||
+ (eval $ac_link) 2>conftest.er1
|
||||
+ ac_status=$?
|
||||
+ grep -v '^ *+' conftest.er1 >conftest.err
|
||||
+ rm -f conftest.er1
|
||||
+ cat conftest.err >&5
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); } &&
|
||||
+ { ac_try='test -z "$ac_c_werror_flag"
|
||||
+ || test ! -s conftest.err'
|
||||
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
+ (eval $ac_try) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; } &&
|
||||
+ { ac_try='test -s conftest$ac_exeext'
|
||||
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
+ (eval $ac_try) 2>&5
|
||||
+ ac_status=$?
|
||||
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
+ (exit $ac_status); }; }; then
|
||||
+ eval "$as_ac_var=yes"
|
||||
+else
|
||||
+ echo "$as_me: failed program was:" >&5
|
||||
+sed 's/^/| /' conftest.$ac_ext >&5
|
||||
+
|
||||
+eval "$as_ac_var=no"
|
||||
+fi
|
||||
+rm -f conftest.err conftest.$ac_objext \
|
||||
+ conftest$ac_exeext conftest.$ac_ext
|
||||
+fi
|
||||
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
||||
+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
||||
+if test `eval echo '${'$as_ac_var'}'` = yes; then
|
||||
+ cat >>confdefs.h <<_ACEOF
|
||||
+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
||||
+_ACEOF
|
||||
+
|
||||
+fi
|
||||
+done
|
||||
+
|
||||
+case $LIBOBJS in
|
||||
+ "strnlen.$ac_objext" | \
|
||||
+ *" strnlen.$ac_objext" | \
|
||||
+ "strnlen.$ac_objext "* | \
|
||||
+ *" strnlen.$ac_objext "* ) ;;
|
||||
+ *) LIBOBJS="$LIBOBJS strnlen.$ac_objext" ;;
|
||||
+esac
|
||||
+
|
||||
+
|
||||
echo "$as_me:$LINENO: checking return type of signal handlers" >&5
|
||||
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
|
||||
if test "${ac_cv_type_signal+set}" = set; then
|
@ -0,0 +1,39 @@
|
||||
Ripped from Fedora which took this from upstream
|
||||
|
||||
* Tue Nov 22 2005 Tim Waugh <twaugh@redhat.com> 3.0-37
|
||||
- Applied patch from upstream to fix parsing problem (bug #146638).
|
||||
|
||||
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=146638
|
||||
|
||||
--- bash-3.0/parse.y.subshell 2005-11-22 13:19:11.000000000 +0000
|
||||
+++ bash-3.0/parse.y 2005-11-22 13:19:24.000000000 +0000
|
||||
@@ -2055,14 +2055,6 @@
|
||||
if (uc)
|
||||
shell_input_line_index++;
|
||||
|
||||
- if MBTEST(uc == '\\' && remove_quoted_newline && shell_input_line[shell_input_line_index] == '\n')
|
||||
- {
|
||||
- if (SHOULD_PROMPT ())
|
||||
- prompt_again ();
|
||||
- line_number++;
|
||||
- goto restart_read;
|
||||
- }
|
||||
-
|
||||
#if defined (ALIAS) || defined (DPAREN_ARITHMETIC)
|
||||
/* If UC is NULL, we have reached the end of the current input string. If
|
||||
pushed_string_list is non-empty, it's time to pop to the previous string
|
||||
@@ -2078,6 +2070,14 @@
|
||||
}
|
||||
#endif /* ALIAS || DPAREN_ARITHMETIC */
|
||||
|
||||
+ if MBTEST(uc == '\\' && remove_quoted_newline && shell_input_line[shell_input_line_index] == '\n')
|
||||
+ {
|
||||
+ if (SHOULD_PROMPT ())
|
||||
+ prompt_again ();
|
||||
+ line_number++;
|
||||
+ goto restart_read;
|
||||
+ }
|
||||
+
|
||||
if (!uc && shell_input_line_terminator == EOF)
|
||||
return ((shell_input_line_index != 0) ? '\n' : EOF);
|
||||
|
@ -0,0 +1,186 @@
|
||||
Ripped from Fedora
|
||||
|
||||
--- bash-3.0/builtins/ulimit.def
|
||||
+++ bash-3.0/builtins/ulimit.def
|
||||
@@ -34,15 +34,20 @@
|
||||
-a all current limits are reported
|
||||
-c the maximum size of core files created
|
||||
-d the maximum size of a process's data segment
|
||||
+ -e the maximum scheduling priority (`nice')
|
||||
-f the maximum size of files created by the shell
|
||||
+ -i the maximum number of pending signals
|
||||
-l the maximum size a process may lock into memory
|
||||
-m the maximum resident set size
|
||||
-n the maximum number of open file descriptors
|
||||
-p the pipe buffer size
|
||||
+ -q the maximum number of bytes in POSIX message queues
|
||||
+ -r the maximum rt priority
|
||||
-s the maximum stack size
|
||||
-t the maximum amount of cpu time in seconds
|
||||
-u the maximum number of user processes
|
||||
-v the size of virtual memory
|
||||
+ -x the maximum number of file locks
|
||||
|
||||
If LIMIT is given, it is the new value of the specified resource;
|
||||
the special LIMIT values `soft', `hard', and `unlimited' stand for
|
||||
@@ -199,7 +204,13 @@
|
||||
#ifdef RLIMIT_DATA
|
||||
{ 'd', RLIMIT_DATA, 1024, "data seg size", "kbytes" },
|
||||
#endif
|
||||
+#ifdef RLIMIT_NICE
|
||||
+ { 'e', RLIMIT_NICE, 1, "max nice", (char *)NULL},
|
||||
+#endif /* RLIMIT_NICE */
|
||||
{ 'f', RLIMIT_FILESIZE, 1024, "file size", "blocks" },
|
||||
+#ifdef RLIMIT_SIGPENDING
|
||||
+ { 'i', RLIMIT_SIGPENDING, 1, "pending signals", (char *)NULL},
|
||||
+#endif
|
||||
#ifdef RLIMIT_MEMLOCK
|
||||
{ 'l', RLIMIT_MEMLOCK, 1024, "max locked memory", "kbytes" },
|
||||
#endif
|
||||
@@ -208,6 +219,12 @@
|
||||
#endif /* RLIMIT_RSS */
|
||||
{ 'n', RLIMIT_OPENFILES, 1, "open files", (char *)NULL},
|
||||
{ 'p', RLIMIT_PIPESIZE, 512, "pipe size", "512 bytes" },
|
||||
+#ifdef RLIMIT_MSGQUEUE
|
||||
+ { 'q', RLIMIT_MSGQUEUE, 1, "POSIX message queues", "bytes" },
|
||||
+#endif
|
||||
+#ifdef RLIMIT_RTPRIO
|
||||
+ { 'r', RLIMIT_RTPRIO, 1, "max rt priority", (char *)NULL},
|
||||
+#endif /* RLIMIT_RTPRIO */
|
||||
#ifdef RLIMIT_STACK
|
||||
{ 's', RLIMIT_STACK, 1024, "stack size", "kbytes" },
|
||||
#endif
|
||||
@@ -221,6 +238,9 @@
|
||||
#ifdef RLIMIT_SWAP
|
||||
{ 'w', RLIMIT_SWAP, 1024, "swap size", "kbytes" },
|
||||
#endif
|
||||
+#ifdef RLIMIT_LOCKS
|
||||
+ { 'x', RLIMIT_LOCKS, 1, "file locks", (char *)NULL},
|
||||
+#endif
|
||||
{ -1, -1, -1, (char *)NULL, (char *)NULL }
|
||||
};
|
||||
#define NCMDS (sizeof(limits) / sizeof(limits[0]))
|
||||
@@ -647,11 +667,11 @@
|
||||
|
||||
for (i = 0; limits[i].option > 0; i++)
|
||||
{
|
||||
- if (get_limit (i, &softlim, &hardlim) < 0)
|
||||
+ if (get_limit (i, &softlim, &hardlim) == 0)
|
||||
+ printone (i, (mode & LIMIT_SOFT) ? softlim : hardlim, 1);
|
||||
+ else if (errno != EINVAL)
|
||||
builtin_error ("%s: cannot get limit: %s", limits[i].description,
|
||||
strerror (errno));
|
||||
- else
|
||||
- printone (i, (mode & LIMIT_SOFT) ? softlim : hardlim, 1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -670,7 +690,7 @@
|
||||
else
|
||||
sprintf (unitstr, "(-%c) ", limits[limind].option);
|
||||
|
||||
- printf ("%-18s %16s", limits[limind].description, unitstr);
|
||||
+ printf ("%-20s %16s", limits[limind].description, unitstr);
|
||||
}
|
||||
if (curlim == RLIM_INFINITY)
|
||||
puts ("unlimited");
|
||||
--- bash-3.0/doc/bashref.texi
|
||||
+++ bash-3.0/doc/bashref.texi
|
||||
@@ -3793,7 +3793,7 @@
|
||||
@item ulimit
|
||||
@btindex ulimit
|
||||
@example
|
||||
-ulimit [-acdflmnpstuvSH] [@var{limit}]
|
||||
+ulimit [-acdeflmnpqrstuvxSH] [@var{limit}]
|
||||
@end example
|
||||
@code{ulimit} provides control over the resources available to processes
|
||||
started by the shell, on systems that allow such control. If an
|
||||
@@ -3814,9 +3814,15 @@
|
||||
@item -d
|
||||
The maximum size of a process's data segment.
|
||||
|
||||
+@item -e
|
||||
+The maximum scheduling priority.
|
||||
+
|
||||
@item -f
|
||||
The maximum size of files created by the shell.
|
||||
|
||||
+@item -i
|
||||
+The maximum number of pending signals.
|
||||
+
|
||||
@item -l
|
||||
The maximum size that may be locked into memory.
|
||||
|
||||
@@ -3829,6 +3835,12 @@
|
||||
@item -p
|
||||
The pipe buffer size.
|
||||
|
||||
+@item -q
|
||||
+The maximum number of bytes in POSIX message queues.
|
||||
+
|
||||
+@item -r
|
||||
+The maximum RT priority.
|
||||
+
|
||||
@item -s
|
||||
The maximum stack size.
|
||||
|
||||
@@ -3841,6 +3853,9 @@
|
||||
@item -v
|
||||
The maximum amount of virtual memory available to the process.
|
||||
|
||||
+@item -x
|
||||
+The maximum amount of file locks.
|
||||
+
|
||||
@end table
|
||||
|
||||
If @var{limit} is given, it is the new value of the specified resource;
|
||||
--- bash-3.0/doc/bash.1
|
||||
+++ bash-3.0/doc/bash.1
|
||||
@@ -8362,7 +8362,7 @@
|
||||
returns true if any of the arguments are found, false if
|
||||
none are found.
|
||||
.TP
|
||||
-\fBulimit\fP [\fB\-SHacdflmnpstuv\fP [\fIlimit\fP]]
|
||||
+\fBulimit\fP [\fB\-SHacdefilmnpqrstuvx\fP [\fIlimit\fP]]
|
||||
Provides control over the resources available to the shell and to
|
||||
processes started by it, on systems that allow such control.
|
||||
The \fB\-H\fP and \fB\-S\fP options specify that the hard or soft limit is
|
||||
@@ -8398,9 +8398,15 @@
|
||||
.B \-d
|
||||
The maximum size of a process's data segment
|
||||
.TP
|
||||
+.B \-e
|
||||
+The maximum scheduling priority (`nice')
|
||||
+.TP
|
||||
.B \-f
|
||||
The maximum size of files created by the shell
|
||||
.TP
|
||||
+.B \-i
|
||||
+The maximum number of pending signals
|
||||
+.TP
|
||||
.B \-l
|
||||
The maximum size that may be locked into memory
|
||||
.TP
|
||||
@@ -8414,6 +8420,12 @@
|
||||
.B \-p
|
||||
The pipe size in 512-byte blocks (this may not be set)
|
||||
.TP
|
||||
+.B \-q
|
||||
+The maximum number of bytes in POSIX message queues
|
||||
+.TP
|
||||
+.B \-r
|
||||
+The maximum rt priority
|
||||
+.TP
|
||||
.B \-s
|
||||
The maximum stack size
|
||||
.TP
|
||||
@@ -8425,6 +8437,9 @@
|
||||
.TP
|
||||
.B \-v
|
||||
The maximum amount of virtual memory available to the shell
|
||||
+.TP
|
||||
+.B \-x
|
||||
+The maximum number of file locks
|
||||
.PD
|
||||
.PP
|
||||
If
|
@ -0,0 +1,16 @@
|
||||
Ripped from Debian
|
||||
|
||||
# DP: current_command must be declared volatile to prevent assignments from
|
||||
# being optimized away as dead code. In reality, the use of setjmp/longjmp
|
||||
# makes it not dead code at all.
|
||||
|
||||
--- eval.old 2003-12-18 23:44:15.000000000 -0500
|
||||
+++ eval.c 2005-10-03 01:59:31.000000000 -0400
|
||||
@@ -63,7 +63,7 @@
|
||||
reader_loop ()
|
||||
{
|
||||
int our_indirection_level;
|
||||
- COMMAND *current_command = (COMMAND *)NULL;
|
||||
+ COMMAND * volatile current_command = (COMMAND *)NULL;
|
||||
|
||||
USE_VAR(current_command);
|
@ -1,55 +0,0 @@
|
||||
Collection of fixes from mandrake
|
||||
|
||||
--- bash-3.1/doc/builtins.1
|
||||
+++ bash-3.1/doc/builtins.1
|
||||
@@ -8,8 +8,5 @@
|
||||
let, local, logout, popd, printf, pushd, pwd, read, readonly, return, set,
|
||||
shift, shopt, source, suspend, test, times, trap, type, typeset,
|
||||
ulimit, umask, unalias, unset, wait \- bash built-in commands, see \fBbash\fR(1)
|
||||
-.SH BASH BUILTIN COMMANDS
|
||||
-.nr zZ 1
|
||||
-.so bash.1
|
||||
.SH SEE ALSO
|
||||
bash(1), sh(1)
|
||||
--- bash-3.1/Makefile.in
|
||||
+++ bash-3.1/Makefile.in
|
||||
@@ -658,7 +658,7 @@
|
||||
|
||||
config.h: stamp-h
|
||||
|
||||
-stamp-h: config.status $(srcdir)/config.h.in $(srcdir)/config-top.h $(srcdir)/config-bot.h
|
||||
+stamp-h: version.h config.status $(srcdir)/config.h.in $(srcdir)/config-top.h $(srcdir)/config-bot.h
|
||||
CONFIG_FILES= CONFIG_HEADERS=config.h $(SHELL) ./config.status
|
||||
|
||||
config.status: $(srcdir)/configure
|
||||
@@ -666,7 +666,7 @@
|
||||
|
||||
# comment out for distribution
|
||||
$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4 $(srcdir)/config.h.in
|
||||
- cd $(srcdir) && autoconf
|
||||
+ cd $(srcdir)
|
||||
|
||||
# for chet
|
||||
reconfig: force
|
||||
--- bash-3.1/parse.y
|
||||
+++ bash-3.1/parse.y
|
||||
@@ -389,7 +389,9 @@
|
||||
}
|
||||
;
|
||||
|
||||
-word_list: WORD
|
||||
+word_list:
|
||||
+ { $$ = (WORD_LIST *)NULL; }
|
||||
+ | WORD
|
||||
{ $$ = make_word_list ($1, (WORD_LIST *)NULL); }
|
||||
| word_list WORD
|
||||
{ $$ = make_word_list ($2, $1); }
|
||||
@@ -1186,7 +1186,7 @@
|
||||
|
||||
#if defined (READLINE)
|
||||
char *current_readline_prompt = (char *)NULL;
|
||||
-char *current_readline_line = (char *)NULL;
|
||||
+unsigned char *current_readline_line = (unsigned char *)NULL;
|
||||
int current_readline_line_index = 0;
|
||||
|
||||
static int
|
@ -0,0 +1,67 @@
|
||||
move prototypes around so they show up when needed
|
||||
|
||||
--- a/jobs.h
|
||||
+++ b/jobs.h
|
||||
@@ -182,6 +182,7 @@
|
||||
|
||||
extern int count_all_jobs __P((void));
|
||||
|
||||
+extern void close_pgrp_pipe __P((void));
|
||||
extern void terminate_current_pipeline __P((void));
|
||||
extern void terminate_stopped_jobs __P((void));
|
||||
extern void hangup_all_jobs __P((void));
|
||||
--- a/lib/glob/strmatch.c
|
||||
+++ b/lib/glob/strmatch.c
|
||||
@@ -25,9 +25,6 @@
|
||||
#include "strmatch.h"
|
||||
|
||||
extern int xstrmatch __P((char *, char *, int));
|
||||
-#if defined (HAVE_MULTIBYTE)
|
||||
-extern int internal_wstrmatch __P((wchar_t *, wchar_t *, int));
|
||||
-#endif
|
||||
|
||||
int
|
||||
strmatch (pattern, string, flags)
|
||||
--- a/lib/glob/strmatch.h
|
||||
+++ b/lib/glob/strmatch.h
|
||||
@@ -57,6 +57,7 @@
|
||||
|
||||
#if HANDLE_MULTIBYTE
|
||||
extern int wcsmatch __P((wchar_t *, wchar_t *, int));
|
||||
+extern int internal_wstrmatch __P((wchar_t *, wchar_t *, int));
|
||||
#endif
|
||||
|
||||
#endif /* _STRMATCH_H */
|
||||
--- a/builtins/echo.def
|
||||
+++ b/builtins/echo.def
|
||||
@@ -31,6 +31,8 @@
|
||||
#include <stdio.h>
|
||||
#include "../shell.h"
|
||||
|
||||
+#include "common.h"
|
||||
+
|
||||
$BUILTIN echo
|
||||
$FUNCTION echo_builtin
|
||||
$DEPENDS_ON V9_ECHO
|
||||
--- a/lib/sh/winsize.c
|
||||
+++ b/lib/sh/winsize.c
|
||||
@@ -55,6 +55,7 @@
|
||||
#if defined (READLINE)
|
||||
extern void rl_set_screen_size __P((int, int));
|
||||
#endif
|
||||
+extern void sh_set_lines_and_columns __P((int, int));
|
||||
|
||||
void
|
||||
get_new_window_size (from_sig, rp, cp)
|
||||
--- a/support/bashversion.c
|
||||
+++ b/support/bashversion.c
|
||||
@@ -47,6 +47,9 @@
|
||||
extern char *dist_version;
|
||||
extern int patch_level;
|
||||
|
||||
+extern char *shell_version_string __P((void));
|
||||
+extern void show_shell_version __P((int));
|
||||
+
|
||||
char *shell_name = "bash";
|
||||
char *progname;
|
||||
|
@ -1,16 +0,0 @@
|
||||
http://bugs.gentoo.org/189671
|
||||
http://lists.gnu.org/archive/html/bug-bash/2007-08/msg00081.html
|
||||
|
||||
--- bash-3.2/Makefile.in
|
||||
+++ bash-3.2/Makefile.in
|
||||
@@ -584,7 +584,9 @@
|
||||
@( { test "${RL_LIBDIR}" = "${libdir}" && exit 0; } || \
|
||||
cd ${RL_LIBDIR} && $(MAKE) $(MFLAGS) libreadline.a) || exit 1
|
||||
|
||||
-$(HISTORY_LIBRARY): config.h $(HISTORY_SOURCE)
|
||||
+# prevent parallel build race conditions in the lib/readline/ subdir
|
||||
+# by depending on libreadline.a when applicable
|
||||
+$(HISTORY_LIBRARY): config.h $(HISTORY_SOURCE) $(READLINE_DEP)
|
||||
@echo making $@ in ${HIST_LIBDIR}
|
||||
@( { test "${HIST_LIBDIR}" = "${libdir}" && exit 0; } || \
|
||||
cd ${HIST_LIBDIR} && $(MAKE) $(MFLAGS) libhistory.a) || exit 1
|
@ -1,9 +1,10 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/grutatxt/grutatxt-2.0.16.ebuild,v 1.7 2012/08/20 01:33:56 ottxor Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/grutatxt/grutatxt-2.0.16-r1.ebuild,v 1.1 2014/10/19 20:08:39 dilfridge Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
GENTOO_DEPEND_ON_PERL_SUBSLOT=yes
|
||||
inherit perl-app
|
||||
|
||||
MY_PN="Grutatxt"
|
@ -1,2 +1 @@
|
||||
DIST po4a_0.42.orig.tar.gz 2003357 SHA256 8d1825abbaf49b38f3c85c928c5a9cf22081264fa784031631206f65d9cf91e2 SHA512 7cf7e839ea3b7c1b2f66e0c66119d68a15f1562e6c3e103de14b1834999302407aa4426e8643af2d1706baa66a04ba0cdd0f93e29123201cf3b84d5eadaa936b WHIRLPOOL 7359801882b3d433cefe6b95eb344b0eb335197f63144e5a2647af2b6345ebd3f8f13533ec0940da9a28bb130a29dcfd6b9934c5c48c7c7c91b873d743934dbd
|
||||
DIST po4a_0.45.orig.tar.gz 2208959 SHA256 f5f47db85b48893d87d921152c96082233975bd0e0a9ee14f58c07d7dff81678 SHA512 e67334b7a45d3c23b7226077e01e12b3c4f1202531596f02851b6a9e7249b2b8a0c37f37ebbaf591753f041a4c6ce42c062b4822e91ac75884dcd0994c27323f WHIRLPOOL 404bb45412fff4cec13304490e5f74ee4a4573d3c755491816cfe501c3e83dbdb58ae3c799516fe21c692c9de6fbc2dd5a261c8039eca2e2777365b27ac358cd
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/po4a/po4a-0.42.ebuild,v 1.12 2013/02/24 17:46:45 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit perl-app
|
||||
|
||||
DESCRIPTION="Tools for helping translation of documentation"
|
||||
HOMEPAGE="http://po4a.alioth.debian.org"
|
||||
SRC_URI="mirror://debian/pool/main/p/po4a/${PN}_${PV}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ppc ppc64 s390 sh sparc x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-perl/SGMLSpm
|
||||
>=sys-devel/gettext-0.13
|
||||
app-text/openjade
|
||||
dev-libs/libxslt
|
||||
dev-perl/Locale-gettext
|
||||
dev-perl/TermReadKey
|
||||
dev-perl/Text-WrapI18N"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-Module-Build-0.380.0
|
||||
app-text/docbook-xsl-stylesheets
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
test? ( app-text/docbook-sgml-dtd
|
||||
app-text/docbook-sgml-utils
|
||||
virtual/tex-base )"
|
||||
|
||||
SRC_TEST="do"
|
||||
PATCHES=( "${FILESDIR}"/0.41-po4a-build.patch )
|
@ -1,2 +1,3 @@
|
||||
DIST cfengine-syntax-20050105.tar.bz2 3584 SHA256 40bad3fee676dd514b35440717985157bc32e09e2718e87284c5879fc3d4caf8 SHA512 02af14388b5df38db0b42d8c1fb48f0e6f53b08954d4d05ad29397da5dbf423549e86cb1b97868cf807e66d0cc28affe0f3f831110625652d7366ee352db87ff WHIRLPOOL 7e42edaa972e4979b68231f5d61ba50da9a94d42039890902737f67140d69b773393f8744ce64ee5ddd8f8b917e9b22810781ee85bb118efb1d211830dd7de29
|
||||
DIST cfengine-syntax-20140713.tar.bz2 3692 SHA256 51f0c01c020440e91d54e5040963c4fed84c1512d7be6c8faa46c6b07a298bc1 SHA512 0f9ba2f293c0695efe588218db16c04100085a95ecb89b476ca0e52b07bd63f0ad6169aa7d2ac1d3ff1927444f78cdcec49f1aca8f2e517f167f36df98a48177 WHIRLPOOL 302b6173a825479f9551116676e7b5f0a306a6b80aa3cdbf7d873f4233160494f79e138b04eac882eb20b6edf272e1bd4e4bb7751a5dc32765fcd3a23e1633c9
|
||||
DIST cfengine-syntax-20141019.tar.bz2 7611 SHA256 1ffe84c5b7e0de85d4aa965bd0574c58deb5bc7df6d6150866266332f559644d SHA512 c8987073b9cc9b1494b0d3cb8737a5b99f62c1b99f5b1e84ce1903e37a924ec9b3e2487cb3b72c75dfba40528809289efdaf3641bf6c059a668c6bf073bcb83e WHIRLPOOL 217bee66a0680b67fb95f8cc6a3fabd9c59862bd61c1fe1e1169f758d7d30d1e269451455490bc4bcd20768be89cdda7435a1742c5c3b0c53329a3b2da0a269f
|
||||
|
@ -0,0 +1,15 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/cfengine-syntax/cfengine-syntax-20141019.ebuild,v 1.1 2014/10/19 23:06:30 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: Cfengine 3 configuration files syntax"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=2904 https://github.com/neilhwatson/vim_cf3"
|
||||
LICENSE="GPL-3+"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
|
||||
VIM_PLUGIN_HELPTEXT=\
|
||||
"This plugin provides syntax highlighting for Cfengine configuration
|
||||
files. Detection is by filename (/var/cfengine/inputs/)."
|
@ -0,0 +1,115 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-10.0.14-r1.ebuild,v 1.1 2014/10/19 20:31:51 grknight Exp $
|
||||
|
||||
EAPI="5"
|
||||
MY_EXTRAS_VER="20141019-1948Z"
|
||||
|
||||
inherit toolchain-funcs mysql-multilib
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
# Official test instructions:
|
||||
# USE='-cluster embedded extraengine perl ssl static-libs community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mariadb-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
multilib_src_test() {
|
||||
|
||||
if ! multilib_is_native_abi ; then
|
||||
einfo "Server tests not available on non-native abi".
|
||||
return 0;
|
||||
fi
|
||||
|
||||
local TESTDIR="${BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if ! use "minimal" ; then
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
# Enable parallel testing, auto will try to detect number of cores
|
||||
# You may set this by hand.
|
||||
# The default maximum is 8 unless MTR_MAX_PARALLEL is increased
|
||||
export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
|
||||
|
||||
# create directories because mysqladmin might right out of order
|
||||
mkdir -p "${T}"/var-tests{,/log}
|
||||
|
||||
# These are failing in MariaDB 10.0 for now and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.information_schema, binlog.binlog_statement_insert_delayed,
|
||||
# main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql,
|
||||
# funcs_1.is_columns_mysql
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test, main.mysql_client_test_nonblock
|
||||
# main.mysql_client_test_comp:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
|
||||
for t in main.mysql_client_test main.mysql_client_test_nonblock \
|
||||
main.mysql_client_test_comp \
|
||||
binlog.binlog_statement_insert_delayed main.information_schema \
|
||||
main.mysqld--help \
|
||||
funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do
|
||||
mysql-multilib_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}"
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${T}/var-tests"
|
||||
|
||||
retstatus_tests=$?
|
||||
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
popd
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
|
||||
else
|
||||
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -0,0 +1,140 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.6.21-r1.ebuild,v 1.1 2014/10/19 20:27:12 grknight Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
MY_EXTRAS_VER="20141019-1948Z"
|
||||
MY_PV="${PV//_alpha_pre/-m}"
|
||||
MY_PV="${MY_PV//_/-}"
|
||||
|
||||
inherit toolchain-funcs mysql-multilib
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
# Please do not add a naive src_unpack to this ebuild
|
||||
# If you want to add a single patch, copy the ebuild to an overlay
|
||||
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||
|
||||
# Official test instructions:
|
||||
# USE='-cluster embedded extraengine perl ssl static-libs community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mysql-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
multilib_src_test() {
|
||||
|
||||
if ! multilib_is_native_abi ; then
|
||||
einfo "Server tests not available on non-native abi".
|
||||
return 0;
|
||||
fi
|
||||
|
||||
local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if ! use "minimal" ; then
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
# Enable parallel testing, auto will try to detect number of cores
|
||||
# You may set this by hand.
|
||||
# The default maximum is 8 unless MTR_MAX_PARALLEL is increased
|
||||
export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
|
||||
|
||||
# create directories because mysqladmin might right out of order
|
||||
mkdir -p "${T}"/var-tests{,/log}
|
||||
|
||||
# create symlink for the tests to find mysql_tzinfo_to_sql
|
||||
ln -s "${CMAKE_BUILD_DIR}/sql/mysql_tzinfo_to_sql" "${S}/sql/"
|
||||
|
||||
# These are failing in MySQL 5.5/5.6 for now and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.information_schema, binlog.binlog_statement_insert_delayed,
|
||||
# funcs_1.is_triggers funcs_1.is_tables_mysql,
|
||||
# funcs_1.is_columns_mysql, binlog.binlog_mysqlbinlog_filter,
|
||||
# perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt,
|
||||
# mysqld--help-notwin, funcs_1.is_triggers, funcs_1.is_tables_mysql, funcs_1.is_columns_mysql
|
||||
# perfschema.binlog_edge_stmt, perfschema.binlog_edge_mix, binlog.binlog_mysqlbinlog_filter
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# rpl.rpl_plugin_load
|
||||
# fails due to included file not listed in expected result
|
||||
# appears to be poor planning
|
||||
for t in \
|
||||
binlog.binlog_mysqlbinlog_filter \
|
||||
binlog.binlog_statement_insert_delayed \
|
||||
funcs_1.is_columns_mysql \
|
||||
funcs_1.is_tables_mysql \
|
||||
funcs_1.is_triggers \
|
||||
main.information_schema \
|
||||
main.mysql_client_test \
|
||||
main.mysqld--help-notwinfuncs_1.is_triggers \
|
||||
perfschema.binlog_edge_mix \
|
||||
perfschema.binlog_edge_stmt \
|
||||
rpl.rpl_plugin_load \
|
||||
; do
|
||||
mysql-multilib_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}"
|
||||
|
||||
# Set file limits higher so tests run
|
||||
ulimit -n 3000
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${T}/var-tests" \
|
||||
--suite-timeout=5000
|
||||
retstatus_tests=$?
|
||||
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
popd
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
|
||||
else
|
||||
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST percona-toolkit-2.2.6.tar.gz 1453461 SHA256 24cd6924080ef235b770b3d6ab7f0ec4a023ceee1a9c7a50f983fdc6fc2787c8 SHA512 3e28aa1473a4db4874e9fa27f49cff9cc26be9a0ad8850b3c1f339cb1f4933d9173739cbeddcfef482a8e18d4256463f31207461908eab61b1152ca309aecc2a WHIRLPOOL 2a5b8d39f3e729753ddd403d1da68f0c62e504f997e75ed5aaf69858677ef6035ef8ad3a7d4770b2d7b32690750098e5e55daa248c5fe96aab09665fe24eed9f
|
||||
DIST percona-toolkit-2.2.11.tar.gz 1389718 SHA256 848a8a57bf04dc1b2cc2ab555dd594a2c708b76656042ff38b1a91b8ccb1df4b SHA512 d5e34fce1b6b69dfc1a8ecd7bcbe84e586e950976553f4fd30afb887a850770c08990216e41fc194bdd0a5642034905ee2d69c2f8b3781503c9b4aab47017cdb WHIRLPOOL 79e02087c97b86e6e282215cf73c89d7d6842978a1d40d3b9e2a484437e6939a9957c7028feb8690ffc8b915c26627c943204f230f4cb09749bb3e22ec4189ff
|
||||
DIST percona-toolkit-2.2.7.tar.gz 1451687 SHA256 49ed1fa6d46b8211ba82355ec3c9dd0614c3b29fd31993123f2041e85a38891e SHA512 d3d7c4162de08c381810b815600effc683d1b79a8df2ccacd16e2b333924b6634c135f08387784c88867c90ce4ee1b334eae6d7f974e9587008da30b7206c5d3 WHIRLPOOL b6d02d5bc0aafbd8fdabc48efb4fa8e0d04634d31185c2c12c2c2776e36e80f138f7bcd1a6fcd2c079ca0cd25c56e79a6aea0e1615dfc7ad26a553c60716674d
|
||||
|
@ -1,216 +0,0 @@
|
||||
diff --git a/bin/pt-archiver b/bin/pt-archiver
|
||||
index 73aa429..e9edddd 100755
|
||||
--- a/bin/pt-archiver
|
||||
+++ b/bin/pt-archiver
|
||||
@@ -7482,7 +7482,6 @@ Show version and exit.
|
||||
|
||||
=item --[no]version-check
|
||||
|
||||
-default: yes
|
||||
|
||||
Check for the latest version of Percona Toolkit, MySQL, and other programs.
|
||||
|
||||
diff --git a/bin/pt-config-diff b/bin/pt-config-diff
|
||||
index bc16421..e0bb3a2 100755
|
||||
--- a/bin/pt-config-diff
|
||||
+++ b/bin/pt-config-diff
|
||||
@@ -5580,7 +5580,6 @@ Show version and exit.
|
||||
|
||||
=item --[no]version-check
|
||||
|
||||
-default: yes
|
||||
|
||||
Check for the latest version of Percona Toolkit, MySQL, and other programs.
|
||||
|
||||
diff --git a/bin/pt-deadlock-logger b/bin/pt-deadlock-logger
|
||||
index e7ae5cc..fe21fcc 100755
|
||||
--- a/bin/pt-deadlock-logger
|
||||
+++ b/bin/pt-deadlock-logger
|
||||
@@ -5349,7 +5349,6 @@ Show version and exit.
|
||||
|
||||
=item --[no]version-check
|
||||
|
||||
-default: yes
|
||||
|
||||
Check for the latest version of Percona Toolkit, MySQL, and other programs.
|
||||
|
||||
diff --git a/bin/pt-diskstats b/bin/pt-diskstats
|
||||
index 96daf17..bc3ebe7 100755
|
||||
--- a/bin/pt-diskstats
|
||||
+++ b/bin/pt-diskstats
|
||||
@@ -5485,7 +5485,6 @@ Show version and exit.
|
||||
|
||||
=item --[no]version-check
|
||||
|
||||
-default: yes
|
||||
|
||||
Check for the latest version of Percona Toolkit, MySQL, and other programs.
|
||||
|
||||
diff --git a/bin/pt-duplicate-key-checker b/bin/pt-duplicate-key-checker
|
||||
index 6b2ac8a..fb404f3 100755
|
||||
--- a/bin/pt-duplicate-key-checker
|
||||
+++ b/bin/pt-duplicate-key-checker
|
||||
@@ -5450,7 +5450,6 @@ Show version and exit.
|
||||
|
||||
=item --[no]version-check
|
||||
|
||||
-default: yes
|
||||
|
||||
Check for the latest version of Percona Toolkit, MySQL, and other programs.
|
||||
|
||||
diff --git a/bin/pt-find b/bin/pt-find
|
||||
index a397d37..b19780f 100755
|
||||
--- a/bin/pt-find
|
||||
+++ b/bin/pt-find
|
||||
@@ -4457,7 +4457,6 @@ Show version and exit.
|
||||
|
||||
=item --[no]version-check
|
||||
|
||||
-default: yes
|
||||
|
||||
Check for the latest version of Percona Toolkit, MySQL, and other programs.
|
||||
|
||||
diff --git a/bin/pt-fk-error-logger b/bin/pt-fk-error-logger
|
||||
index 06d3cae..2fc700d 100755
|
||||
--- a/bin/pt-fk-error-logger
|
||||
+++ b/bin/pt-fk-error-logger
|
||||
@@ -4352,7 +4352,6 @@ Show version and exit.
|
||||
|
||||
=item --[no]version-check
|
||||
|
||||
-default: yes
|
||||
|
||||
Check for the latest version of Percona Toolkit, MySQL, and other programs.
|
||||
|
||||
diff --git a/bin/pt-heartbeat b/bin/pt-heartbeat
|
||||
index 6f4e5f9..71eb22b 100755
|
||||
--- a/bin/pt-heartbeat
|
||||
+++ b/bin/pt-heartbeat
|
||||
@@ -6036,7 +6036,6 @@ Show version and exit.
|
||||
|
||||
=item --[no]version-check
|
||||
|
||||
-default: yes
|
||||
|
||||
Check for the latest version of Percona Toolkit, MySQL, and other programs.
|
||||
|
||||
diff --git a/bin/pt-index-usage b/bin/pt-index-usage
|
||||
index 2aabfb2..06b736f 100755
|
||||
--- a/bin/pt-index-usage
|
||||
+++ b/bin/pt-index-usage
|
||||
@@ -7365,7 +7365,6 @@ Show version and exit.
|
||||
|
||||
=item --[no]version-check
|
||||
|
||||
-default: yes
|
||||
|
||||
Check for the latest version of Percona Toolkit, MySQL, and other programs.
|
||||
|
||||
diff --git a/bin/pt-kill b/bin/pt-kill
|
||||
index eb82a47..c0ff2c4 100755
|
||||
--- a/bin/pt-kill
|
||||
+++ b/bin/pt-kill
|
||||
@@ -7643,7 +7643,6 @@ Show version and exit.
|
||||
|
||||
=item --[no]version-check
|
||||
|
||||
-default: yes
|
||||
|
||||
Check for the latest version of Percona Toolkit, MySQL, and other programs.
|
||||
|
||||
diff --git a/bin/pt-online-schema-change b/bin/pt-online-schema-change
|
||||
index 4a6dade..b2d21dd 100755
|
||||
--- a/bin/pt-online-schema-change
|
||||
+++ b/bin/pt-online-schema-change
|
||||
@@ -11315,7 +11315,6 @@ Show version and exit.
|
||||
|
||||
=item --[no]version-check
|
||||
|
||||
-default: yes
|
||||
|
||||
Check for the latest version of Percona Toolkit, MySQL, and other programs.
|
||||
|
||||
diff --git a/bin/pt-query-digest b/bin/pt-query-digest
|
||||
index dda7196..4b2ba8e 100755
|
||||
--- a/bin/pt-query-digest
|
||||
+++ b/bin/pt-query-digest
|
||||
@@ -16285,7 +16285,6 @@ Show version and exit.
|
||||
|
||||
=item --[no]version-check
|
||||
|
||||
-default: yes
|
||||
|
||||
Check for the latest version of Percona Toolkit, MySQL, and other programs.
|
||||
|
||||
diff --git a/bin/pt-slave-delay b/bin/pt-slave-delay
|
||||
index 35f7baf..a702c62 100755
|
||||
--- a/bin/pt-slave-delay
|
||||
+++ b/bin/pt-slave-delay
|
||||
@@ -4715,7 +4715,6 @@ Show version and exit.
|
||||
|
||||
=item --[no]version-check
|
||||
|
||||
-default: yes
|
||||
|
||||
Check for the latest version of Percona Toolkit, MySQL, and other programs.
|
||||
|
||||
diff --git a/bin/pt-slave-restart b/bin/pt-slave-restart
|
||||
index fd0887e..feda0aa 100755
|
||||
--- a/bin/pt-slave-restart
|
||||
+++ b/bin/pt-slave-restart
|
||||
@@ -5655,7 +5655,6 @@ Show version and exit.
|
||||
|
||||
=item --[no]version-check
|
||||
|
||||
-default: yes
|
||||
|
||||
Check for the latest version of Percona Toolkit, MySQL, and other programs.
|
||||
|
||||
diff --git a/bin/pt-table-checksum b/bin/pt-table-checksum
|
||||
index 590ba87..f6653ec 100755
|
||||
--- a/bin/pt-table-checksum
|
||||
+++ b/bin/pt-table-checksum
|
||||
@@ -12331,7 +12331,6 @@ Show version and exit.
|
||||
|
||||
=item --[no]version-check
|
||||
|
||||
-default: yes
|
||||
|
||||
Check for the latest version of Percona Toolkit, MySQL, and other programs.
|
||||
|
||||
diff --git a/bin/pt-table-sync b/bin/pt-table-sync
|
||||
index 5eb3d8c..7d29957 100755
|
||||
--- a/bin/pt-table-sync
|
||||
+++ b/bin/pt-table-sync
|
||||
@@ -12518,7 +12518,6 @@ Show version and exit.
|
||||
|
||||
=item --[no]version-check
|
||||
|
||||
-default: yes
|
||||
|
||||
Check for the latest version of Percona Toolkit, MySQL, and other programs.
|
||||
|
||||
diff --git a/bin/pt-upgrade b/bin/pt-upgrade
|
||||
index c22a09b..e088e40 100755
|
||||
--- a/bin/pt-upgrade
|
||||
+++ b/bin/pt-upgrade
|
||||
@@ -11020,7 +11020,6 @@ Show version and exit.
|
||||
|
||||
=item --[no]version-check
|
||||
|
||||
-default: yes
|
||||
|
||||
Check for the latest version of Percona Toolkit, MySQL, and other programs.
|
||||
|
||||
diff --git a/bin/pt-variable-advisor b/bin/pt-variable-advisor
|
||||
index 981788d..8fc9d08 100755
|
||||
--- a/bin/pt-variable-advisor
|
||||
+++ b/bin/pt-variable-advisor
|
||||
@@ -5985,7 +5985,6 @@ Show version and exit.
|
||||
|
||||
=item --[no]version-check
|
||||
|
||||
-default: yes
|
||||
|
||||
Check for the latest version of Percona Toolkit, MySQL, and other programs.
|
||||
|
@ -1,6 +1,6 @@
|
||||
DIST percona-xtrabackup-2.0.8-x86_32.tar.gz 49705813 SHA256 f7568081dd96f0acecbdb3ca4db43dcbc9f7ff3e966276fb09b24fc63241be73 SHA512 cc5f66e22eb9b924f18f758f7bf2f70f6a101aea13ea515905ae7fdcb0ad6689a4749adb6f3896b0322f975ddb679f9842ba9f5e46d89bb1e0bf0ed79640a755 WHIRLPOOL 378c0596f085f25f51442a3c9ec8c8e6a759b5bf26f2aeca7628e72fc9fcaa1bb5638df203ff7719e8e24298ba85026677faad4a6f50b738cf8ef1867f50819e
|
||||
DIST percona-xtrabackup-2.0.8-x86_64.tar.gz 50735377 SHA256 fe09d969361a7a29c7313441b63436f87e27a47b990f683d35f210f4880d2f2d SHA512 63b6f5018e2d8015080a74e21d1d77dc176c883225f588e202b8d1ebb9486ca2cbcd16fec3facae45e13c345da64e3ec8bba55aefb1df18d16f89b94832f6e2c WHIRLPOOL 19406999345303f9b4e5b7ec3896f2e85fcad1aa711ad7a35f11e5927b79ee727dc0aae7909f8c3e71069502873dd8fac3a23e4218772c5196d6ad73cd187adc
|
||||
DIST percona-xtrabackup-2.1.9-x86_32.tar.gz 48553967 SHA256 5cff7d0b8ca81a15f4084cf733c3e4ffb1856fbf9306628a493dfc4fa13ca62b SHA512 1095fd84cb8361d8afecf713572ccb7fa792a204474951951bb6e5f526ce3b62ce835020f1ca40cd20290fe4db5b0039bfdcc97d2970f7422fd31293cee0ebd6 WHIRLPOOL 13919d1d7d7b0c80168446d24450b6d41764b09fbed136b0cd1d9493a0392150dddae72cca01262403cbfe0c848efd579acbf509c40715abee2289ea2d00ebc7
|
||||
DIST percona-xtrabackup-2.1.9-x86_64.tar.gz 49557534 SHA256 a4821d324bcd6e40db9f8288d8f681efb1ce53e9fd4797e8a862a599d7b6c570 SHA512 93b13414d67d23af1cacbd58033001cec4e7e097d231cd8e665814cfea5e9414e25a98d29738ef0dde72218c7aeb4cd0cb112bcc68f6a70fcc247dc91a80f486 WHIRLPOOL ea9d696da8c4aa30fa73f052f4004b7451ae310c2654ecf5767f82a87d403c9727a7a9260a2ad3cb7d003916366fa041d9a0d69cd669fe98f7d7f867c313a2fb
|
||||
DIST percona-xtrabackup-2.2.3-4982-Linux-i686.tar.gz 23872530 SHA256 435586fe3078dc363e0628ee5354ce0837ca282ee4f4a51b9e8417729392e027 SHA512 ee8f1bb18e80e7fe053c73279acc94fbc03856f9593a6daeca398f24a6dc5e4f1af3e30d37101f6bfaef9c45a42ee59dd311739aea5605e5704b5c207eaad67e WHIRLPOOL 2562ac17f851c92ff9a5303b2823bd21aa5148162282a0904945239cdd8bc1b1428d3e3882da8726cccec429db2c4c033536b8d323177c74750c63dd4911e17f
|
||||
DIST percona-xtrabackup-2.2.3-4982-Linux-x86_64.tar.gz 24266588 SHA256 00c7efb4c2b8a14bd635eae9ae2b8310db11bab7cc34c051bae85d7f7af9919b SHA512 9a2f52ff2b167523714970d71279a9f929e126dcb7257f238e4c41a546e14c9088c4d1839e30714500e5c781d8b41ccf43750d253422a1e4d8b16ec8efbf08fb WHIRLPOOL 9e3e3d57920dd1d895c15d4cb2cece69f276ec07cc57fb09c89bd0d511ba9958bb55397adad15f0026e4535322034eb8bf38983f86342e2a56e33794d652eba2
|
||||
DIST percona-xtrabackup-2.2.5-5027-Linux-i686.tar.gz 24942813 SHA256 b904bb8d7bc48b48aaadf1af8a21df9987198f36c23c576e2a2090c9e06eb55a SHA512 16ca7739e43b65f22ac5ab9cc9e0e701d4b0ecbe179ebac70719902000a36cb37de87446b9a2830813fe2714ffdfa7bccb938961951c01804d8e2ec98f6d7c10 WHIRLPOOL 3d565e29ddaf9f21d3c0e85d49f2ba8379ab1c07961561853abdc197bbf3c4c7aa067e9e0da3d5de96569b41834282e2954a02e4d8169ed0030606c3f4169e6c
|
||||
DIST percona-xtrabackup-2.2.5-5027-Linux-x86_64.tar.gz 25313698 SHA256 90b5ca03e872581e95aa3e24972212940417d3c64879b28bc37a848f89bba7e9 SHA512 54576cecd24797730ab0b262558424e2716135de88ccc80dfb7716adfcf404fdb2ac2ceec99b436eb1e31392fffdf5eba122e15070cc0f10906aaf5617bada85 WHIRLPOOL 655143c2a75db8a38b9f97a657c3c199bf1054552a5b638ff8c27d3ad76b1d67b1504628077577664711010c8085b3185a754507c0f330e5603e94ebccbf25d2
|
||||
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/xtrabackup-bin/xtrabackup-bin-2.0.8.ebuild,v 1.2 2014/02/21 21:10:43 idl0r Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PN="percona-${PN/-bin}"
|
||||
MY_PVR="${PV}-587"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
MY_PF="${MY_PN}-${MY_PVR}"
|
||||
|
||||
DESCRIPTION="MySQL hot backup software that performs non-blocking backups for
|
||||
InnoDB and XtraDB databases"
|
||||
HOMEPAGE="http://www.percona.com/software/percona-xtrabackup"
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
http://www.percona.com/redir/downloads/XtraBackup/XtraBackup-${PV}/binary/Linux/x86_64/${MY_PF}.tar.gz -> ${MY_P}-x86_64.tar.gz
|
||||
)
|
||||
x86? (
|
||||
http://www.percona.com/redir/downloads/XtraBackup/XtraBackup-${PV}/binary/Linux/i686/${MY_PF}.tar.gz -> ${MY_P}-x86_32.tar.gz
|
||||
)
|
||||
"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-libs/libaio"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_install() {
|
||||
for bin in xtrabackup xtrabackup_55 xbstream xtrabackup_51 innobackupex; do
|
||||
dobin bin/${bin}
|
||||
done
|
||||
dosym /usr/bin/innobackupex /usr/bin/innobackupex-1.5.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "xtrabackup 2.0.x is for MySQL/MariaDB 5.1 and 5.5 only"
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/xtrabackup-bin/xtrabackup-bin-2.2.5.ebuild,v 1.1 2014/10/19 09:57:03 idl0r Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PN="percona-${PN/-bin}"
|
||||
MY_PVR="${PV}-5027"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
MY_PF="${MY_PN}-${MY_PVR}"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="MySQL hot backup software that performs non-blocking backups for
|
||||
InnoDB and XtraDB databases"
|
||||
HOMEPAGE="http://www.percona.com/software/percona-xtrabackup"
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
http://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PV}/binary/tarball/${MY_PF}-Linux-x86_64.tar.gz
|
||||
)
|
||||
x86? (
|
||||
http://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PV}/binary/tarball/${MY_PF}-Linux-i686.tar.gz
|
||||
)"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-libs/libaio
|
||||
|| ( dev-libs/libgcrypt:0/11 dev-libs/libgcrypt:11/11 )
|
||||
dev-libs/libgpg-error
|
||||
dev-perl/DBD-mysql
|
||||
sys-libs/zlib"
|
||||
|
||||
if use amd64; then
|
||||
S="${WORKDIR}/${MY_P}-Linux-x86_64"
|
||||
elif use x86; then
|
||||
S="${WORKDIR}/${MY_P}-Linux-i686"
|
||||
fi
|
||||
|
||||
src_prepare() {
|
||||
# bug 501904 - CVE-2014-2029
|
||||
epatch "${FILESDIR}/${PN}-2.1.7-no-versioncheck.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for bin in innobackupex xbcrypt xbstream xtrabackup; do
|
||||
dobin bin/${bin}
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "xtrabackup 2.2.x is for MySQL/MariaDB 5.6 only"
|
||||
}
|
@ -0,0 +1,201 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-1.7.6.ebuild,v 1.1 2014/10/19 18:09:49 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils toolchain-funcs
|
||||
|
||||
# Map Gentoo IUSE expand vars to DirectFB drivers
|
||||
# echo `sed -n '/Possible gfxdrivers are:/,/^$/{/Possible/d;s:\[ *::;s:\].*::;s:,::g;p}' configure.in`
|
||||
I_TO_D_intel="i810,i830"
|
||||
I_TO_D_mga="matrox"
|
||||
I_TO_D_r128="ati128"
|
||||
I_TO_D_s3="unichrome"
|
||||
I_TO_D_sis="sis315"
|
||||
I_TO_D_via="cle266"
|
||||
# cyber5k davinci ep9x omap pxa3xx sh772x savage pvr2d
|
||||
IUSE_VIDEO_CARDS=" intel mach64 mga neomagic nsc nvidia r128 radeon s3 sis tdfx via vmware"
|
||||
IUV=${IUSE_VIDEO_CARDS// / video_cards_}
|
||||
# echo `sed -n '/Possible inputdrivers are:/,/^$/{/\(Possible\|^input\)/d;s:\[ *::;s:\].*::;s:,::g;p}' configure.in`
|
||||
I_TO_D_elo2300="elo-input"
|
||||
I_TO_D_evdev="linuxinput"
|
||||
I_TO_D_mouse="ps2mouse,serialmouse"
|
||||
# dbox2remote dreamboxremote gunze h3600_ts penmount sonypijogdial ucb1x00 wm97xx zytronic
|
||||
IUSE_INPUT_DEVICES=" dynapro elo2300 evdev joystick keyboard lirc mouse mutouch tslib"
|
||||
IUD=${IUSE_INPUT_DEVICES// / input_devices_}
|
||||
|
||||
DESCRIPTION="Thin library on top of the Linux framebuffer devices"
|
||||
HOMEPAGE="http://www.directfb.org/"
|
||||
SRC_URI="http://directfb.org/downloads/Core/${PN}-${PV:0:3}/${P}.tar.gz
|
||||
http://directfb.org/downloads/Old/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 -mips ~ppc ~ppc64 ~sh -sparc ~x86"
|
||||
IUSE="alsa bmp cddb debug divine drmkms +dynload doc egl fbcon fusiondale fusionsound gif gles2 gstreamer imlib2 input_hub jpeg jpeg2k mad mmx mng mpeg2 mpeg3 multicore opengl oss png pnm sawman sdl sse static-libs svg swfdec tiff timidity tremor truetype v4l vdpau vorbis webp X xine zlib ${IUV} ${IUD}"
|
||||
REQUIRED_USE="gles2? ( opengl )"
|
||||
|
||||
# ffmpeg useflag broken
|
||||
# ffmpeg? ( virtual/ffmpeg )
|
||||
# $(use_enable ffmpeg) \
|
||||
RDEPEND="
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cddb? ( media-libs/libcddb )
|
||||
drmkms? ( x11-libs/libdrm[libkms] )
|
||||
gif? ( media-libs/giflib )
|
||||
gstreamer? ( media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 )
|
||||
imlib2? ( media-libs/imlib2 )
|
||||
jpeg? ( virtual/jpeg )
|
||||
jpeg2k? ( media-libs/jasper[jpeg] )
|
||||
mad? ( media-libs/libmad )
|
||||
mng? ( media-libs/libmng )
|
||||
mpeg3? ( media-libs/libmpeg3 )
|
||||
opengl? ( media-libs/mesa[gbm,egl?,gles2?] x11-libs/libdrm )
|
||||
png? ( media-libs/libpng:0 )
|
||||
sdl? ( media-libs/libsdl )
|
||||
svg? ( x11-libs/libsvg-cairo )
|
||||
swfdec? ( media-libs/swfdec )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
timidity? (
|
||||
media-libs/libtimidity
|
||||
media-sound/timidity++
|
||||
)
|
||||
tremor? ( media-libs/tremor )
|
||||
truetype? ( >=media-libs/freetype-2.0.1 )
|
||||
vdpau? ( x11-proto/xproto x11-libs/libX11 x11-libs/libXext x11-libs/libvdpau )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
webp? ( media-libs/libwebp )
|
||||
X? ( x11-libs/libXext x11-libs/libX11 )
|
||||
xine? ( media-libs/xine-lib[vdpau?] )
|
||||
zlib? ( sys-libs/zlib ) "
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xextproto x11-proto/xproto )"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-1.7.5-flags.patch \
|
||||
"${FILESDIR}"/${PN}-1.6.3-pkgconfig.patch \
|
||||
"${FILESDIR}"/${PN}-1.7.1-build.patch \
|
||||
"${FILESDIR}"/${PN}-1.6.3-setregion.patch \
|
||||
"${FILESDIR}"/${PN}-1.6.3-atomic-fix-compiler-error-when-building-for-thumb2.patch
|
||||
sed -i \
|
||||
-e '/#define RASPBERRY_PI/d' \
|
||||
systems/egl/egl_system.c || die #497124
|
||||
|
||||
mv configure.{in,ac} || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
driver_list() {
|
||||
local pfx=$1
|
||||
local dev devs map
|
||||
shift
|
||||
for dev in "$@" ; do
|
||||
use ${pfx}_${dev} || continue
|
||||
map="I_TO_D_${dev}"
|
||||
devs=${devs:+${devs},}${!map:-${dev}}
|
||||
done
|
||||
echo ${devs:-none}
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myaudio="wave"
|
||||
use alsa && myaudio+=",alsa"
|
||||
use oss && myaudio+=",oss"
|
||||
|
||||
local sdlconf="--disable-sdl"
|
||||
if use sdl ; then
|
||||
# since SDL can link against DirectFB and trigger a
|
||||
# dependency loop, only link against SDL if it isn't
|
||||
# broken #61592
|
||||
echo 'int main(){}' > sdl-test.c
|
||||
$(tc-getCC) sdl-test.c -lSDL 2>/dev/null \
|
||||
&& sdlconf="--enable-sdl" \
|
||||
|| ewarn "Disabling SDL since libSDL.so is broken"
|
||||
fi
|
||||
|
||||
# fix --with-gfxdrivers= logic, because opengl, vdpau and gles2 are no video_cards
|
||||
local gfxdrivers="$(driver_list video_cards ${IUSE_VIDEO_CARDS})"
|
||||
use opengl && gfxdrivers="${gfxdrivers},gl"
|
||||
use vdpau && gfxdrivers="${gfxdrivers},vdpau"
|
||||
use gles2 && gfxdrivers="${gfxdrivers},gles2"
|
||||
gfxdrivers="$(echo ${gfxdrivers} | sed 's/none,//')"
|
||||
|
||||
# fix --with-inputdrivers= logic, don't know where to put "input_hub"
|
||||
local inputdrivers="$(driver_list input_devices ${IUSE_INPUT_DEVICES})"
|
||||
use input_hub && inputdrivers="${inputdrivers},input_hub"
|
||||
inputdrivers="$(echo ${inputdrivers} | sed 's/none,//')"
|
||||
|
||||
# The xine-vdpau flag requires a custom patch to xine-lib which we don't carry:
|
||||
# http://git.directfb.org/?p=extras/DirectFB-extra.git;a=blob;f=interfaces/IDirectFBVideoProvider/xine-lib-1.2-vdpau-hooks.patch;hb=HEAD
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable X x11) \
|
||||
$(use_enable divine) \
|
||||
$(use_enable sawman) \
|
||||
$(use_enable fusiondale) \
|
||||
$(use_enable fusionsound) \
|
||||
$(use_enable fbcon fbdev) \
|
||||
$(use_enable mmx) \
|
||||
$(use_enable sse) \
|
||||
$(use_enable egl) \
|
||||
$(use_enable egl idirectfbgl-egl) \
|
||||
$(use_enable jpeg) \
|
||||
$(use_enable png) \
|
||||
$(use_enable mng) \
|
||||
$(use_enable gstreamer) \
|
||||
$(use_enable gif) \
|
||||
$(use_enable tiff) \
|
||||
$(use_enable imlib2) \
|
||||
$(use_enable pnm) \
|
||||
$(use_enable svg) \
|
||||
$(use_enable mpeg2) \
|
||||
$(use_enable mpeg3 libmpeg3) \
|
||||
--disable-flash \
|
||||
$(use_enable xine) \
|
||||
--disable-xine-vdpau \
|
||||
--disable-ffmpeg \
|
||||
$(use_enable bmp) \
|
||||
$(use_enable jpeg2k jpeg2000) \
|
||||
--disable-openquicktime \
|
||||
--disable-avifile \
|
||||
$(use_enable truetype freetype) \
|
||||
$(use_enable webp) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable zlib) \
|
||||
--disable-video4linux \
|
||||
$(use_enable v4l video4linux2) \
|
||||
$(use_enable vdpau x11vdpau) \
|
||||
$(use_enable multicore) \
|
||||
$(use_enable dynload) \
|
||||
$(use_enable opengl mesa) \
|
||||
$(use_enable drmkms) \
|
||||
--with-fs-drivers="${myaudio}" \
|
||||
$(use_with timidity) \
|
||||
--with-wave \
|
||||
$(use_with vorbis) \
|
||||
$(use_with tremor) \
|
||||
$(use_with mad) \
|
||||
$(use_with cddb cdda) \
|
||||
--with-playlist \
|
||||
${sdlconf} \
|
||||
--with-gfxdrivers="${gfxdrivers}" \
|
||||
--with-inputdrivers="${inputdrivers}" \
|
||||
--disable-vnc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc fb.modes
|
||||
use doc && dohtml -r docs/html/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "Each DirectFB update breaks DirectFB related applications."
|
||||
ewarn "Please run \"revdep-rebuild\" which can be"
|
||||
ewarn "found by emerging the package 'gentoolkit'."
|
||||
ewarn
|
||||
ewarn "If you have an ALPS touchpad, then you might get your mouse"
|
||||
ewarn "unexpectedly set in absolute mode in all DirectFB applications."
|
||||
ewarn "This can be fixed by removing linuxinput from INPUT_DEVICES."
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST libev-4.15.tar.gz 513919 SHA256 b2dd43a073556f5350cbed05b6ef444dcc4b563f4e0b1009d7bf448261606feb SHA512 bb3ab98d92e565bf2273d71c9004b84ad3b305c4e883482392fe6c701949344731bb4e391ac77578f71d9a80f0ec4b6afc2ae5449d4093cdcbee26d7dc17929d WHIRLPOOL 9f3c44e4978c5d387bd6478bc3ce41894f875eef00eb2328dc47ab90683e3003662d6ac5c5406c8592ad3dc690d7768dcfb83d6916b6851d4988a53c20d72b51
|
||||
DIST libev-4.18.tar.gz 517265 SHA256 38300812f870150d44db4fd073658db7eaceb4125f5c51cf395ee4409453fe4f SHA512 b2eb423012a134b1689603ef62b5fa576f9fd1484ac8825d1e478d1da58ce6503970de07eebfad9dcc77ee60cd4fd17152e103345ac1934c04ed2eee249bd227 WHIRLPOOL 9eab082d74555dae199a220895ce9e82dc8ee47ef6939b1ed6294a6a109cb831c309d7df8ed8e95ef3b5025c639eae60d517da81e3363d20e3b829d2d8c69c1b
|
||||
DIST libev-4.19.tar.gz 524429 SHA256 88fc5f89ca96ceca14c16c10e7be3e921dae65e84932d680c2fd6a40173edccb SHA512 0d1c8707ba0b665b4570a1dc4125d1fd9b0a25f8cad6552cb1fe8a7ea90920b14c15ad3a32806ddcd7efe68bb397dab973b3ee609dac5015c0d76959d850aaf1 WHIRLPOOL d0047ef29b45401f246318ed90c568570c584fe6492498cb12f3ef61e79da5f95acf325b75200b363b7c64fc85a54cc2d3a15d9727c94b8bdcc663cc740ddbe5
|
||||
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/libevent-2.0.21.ebuild,v 1.17 2014/01/18 04:51:21 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils libtool
|
||||
|
||||
MY_P="${P}-stable"
|
||||
|
||||
DESCRIPTION="A library to execute a function when a specific event occurs on a file descriptor"
|
||||
HOMEPAGE="http://libevent.org/"
|
||||
SRC_URI="mirror://github/${PN}/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="+ssl static-libs test"
|
||||
|
||||
DEPEND="ssl? ( dev-libs/openssl )"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
!<=dev-libs/9libs-1.0
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DOCS=( README ChangeLog )
|
||||
|
||||
src_prepare() {
|
||||
elibtoolize
|
||||
|
||||
# don't waste time building tests/samples
|
||||
sed -i \
|
||||
-e 's|^\(SUBDIRS =.*\)sample test\(.*\)$|\1\2|' \
|
||||
Makefile.in || die "sed Makefile.in failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable ssl openssl)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# The test suite doesn't quite work (see bug #406801 for the latest
|
||||
# installment in a riveting series of reports).
|
||||
:
|
||||
# emake -C test check | tee "${T}"/tests
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST lua-zlib-0.2.tgz 8116 SHA256 af0b049232eb27f402e5fa00269158eb7f04d24e38e710676d06df38617dc8ad SHA512 81de8ea7b75e163a677f7e95e4d9b73286c6eeb7953f037d64c70342c2bdabca4e01fa18921b80a6d080717d8bf8c0e53694c7b6856dec8bb8cb70d855291f84 WHIRLPOOL 4dc54806d739652d3e489344942132a5f37a7b42e3bcab2d47390a0bbd78bcd4325843ba7c6daae2048203330417f0c3cbe880f5081c688554d34890b6638308
|
||||
DIST lua-zlib-0.3.tgz 11220 SHA256 c7d687e9fddc0a094cb47587e50bebf9fd632bf72f74b61b2dcf1a37dd8c4b3a SHA512 99711166637d394c806dd16b86a3588ff84eb9180d2da05725ff6d4e86458d1ded7a5fbb303284fa442fd0925bc94fe34772057e0190c1a3e00cbb853865941d WHIRLPOOL 6735aad7e34ca1b19548e2c130c02807e269329f3296664a5bf18577e678304b5a20040358966eed6b9c3a94756df5e82ffa878df956982effd3d1e447b1b643
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lua/lua-zlib/lua-zlib-0.3.ebuild,v 1.1 2014/10/19 17:15:32 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Lua bindings to zlib"
|
||||
HOMEPAGE="http://github.com/brimworks/lua-zlib"
|
||||
SRC_URI="https://github.com/brimworks/${PN}/tarball/v${PV} -> ${P}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/lua
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mv *-${PN}-* "${S}"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
MYCMAKEARGS="-DINSTALL_CMOD='$(pkg-config --variable INSTALL_CMOD lua)'"
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Algorithm-C3/Algorithm-C3-0.80.0.ebuild,v 1.1 2011/08/27 16:20:17 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=FLORA
|
||||
MODULE_VERSION=0.08
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A module for merging hierarchies using the C3 algorithm"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-Module-Build
|
||||
test? ( dev-perl/Test-Pod
|
||||
dev-perl/Test-Pod-Coverage )"
|
||||
|
||||
SRC_TEST=do
|
@ -1,2 +1 @@
|
||||
DIST Algorithm-C3-0.08.tar.gz 11738 SHA256 5509ca048b0cde2476555465fef673ca95f3c8ef566aa32b296f473e4c96cc04 SHA512 feaf8b49ff9382eb0415536a1b384b690b33956705ebc3889c0f27dbae77eaec8e0179c1d103ed2ec53158de26c7e33ac7e6dfc920c64415f16baa360ab7b9b2 WHIRLPOOL 568e7ecfb0d44b8dc92c0016bfd3ae80f3480c6957a7c7fc16fdad1acc3384398bf2d2a0a703d4a60a7199ca5bfc580c634db9a4195710ee505b039a6e68faef
|
||||
DIST Algorithm-C3-0.09.tar.gz 12430 SHA256 0fe9b5f806c8679dd70fe8eeeaaa570d70a34d449f844759b16e805bbf7322a0 SHA512 f3c0ecd703217158fae481c54e9d38860f51dc411b9238a01da5fa13c5d84f5e5ee5a41d683b2c05ae1322ce909ed40e0b4127d72a456c88e1081276c9aac5ee WHIRLPOOL ac63d6744b9fbab31aa4d9ff5d427cfe81898a348b5478078d2ff5b66b3abc7a1fcfb459cb01a1e7197a7c709485af7dd67a7183dfaa5f2e5b25881d1fa3a42d
|
||||
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/App-Nopaste/App-Nopaste-0.900.0.ebuild,v 1.2 2013/01/15 22:10:31 maekke Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=SARTAK
|
||||
MODULE_VERSION=0.90
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Easy access to any pastebin"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="+pastebin clipboard github"
|
||||
|
||||
DEPEND="
|
||||
dev-perl/Class-Load
|
||||
dev-perl/Getopt-Long-Descriptive
|
||||
dev-perl/JSON
|
||||
dev-perl/WWW-Mechanize
|
||||
virtual/perl-Module-Pluggable
|
||||
dev-perl/URI
|
||||
pastebin? (
|
||||
dev-perl/WWW-Pastebin-PastebinCom-Create
|
||||
)
|
||||
clipboard? (
|
||||
dev-perl/Clipboard
|
||||
)
|
||||
github? (
|
||||
dev-vcs/git[perl]
|
||||
)
|
||||
"
|
||||
# github? (
|
||||
# || (
|
||||
# dev-vcs/git[perl]
|
||||
# dev-perl/Config-GitLike
|
||||
# )
|
||||
# )
|
||||
RDEPEND="${DEPEND}"
|
||||
SRC_TEST="do"
|
@ -1,3 +1,2 @@
|
||||
DIST App-Nopaste-0.90.tar.gz 40971 SHA256 1ba55edb03eff8f7a07866bcff420840f7f747140eec5de9177a095b79a81371 SHA512 3770847bbc8c0a207ec6f9849ce9eb2e0c6a72dc848643d6842579cb25c2d27489e0f1c8f79a9498f16dccc60be6e07e008bed2398552b551967e4bfbf243514 WHIRLPOOL b0ab3c6634bf0fa5af06d9ebb8cd642a101c8692f6ff87a30dfd6120bfc784ed26380d1bbe24fbcd39b86b2baa44ae00568d49f0a65b9f071e59e25e2bc9073c
|
||||
DIST App-Nopaste-0.91.tar.gz 43018 SHA256 7556801d9b00508fcd6e07d362a1dd648cd4d08921c3f16ac8b13340e1f781d5 SHA512 b1ca6510fdc182866f6dd50381e62d4d400078dac665a56da038c86d5302c6538ff616c7a39ee738f7f02d26cff9c461bb99ff3b0121310c1ec51e29ae658025 WHIRLPOOL 12bfb40490a7632a31b41546d412d4390b5ef04d8f12d015154dc6634c6c8077698784f1c0c6e163f2c08552feadcee14b626598078c14b0f463a51783ba5d4c
|
||||
DIST App-Nopaste-0.92.tar.gz 42911 SHA256 8a7d8b19662c96679a7844685d9833cd16a75c47683d8a68908b56a2cc2da211 SHA512 fb1be8d5e94bbd4d3a0c6b21be5b9bb39d12e7c081c7c2184be440033f3e9e1d1fa8a053e1478b8d8b333ec893ccc5f0359c6d93bbc3d3dc21fe03865123484c WHIRLPOOL effed52632f2e46c0c05a8b6dc0dfbebc571cb9a3431f0fd9c5593674cfdce69c20eccc05b722b8b577d02846447e0f3a312f6c5dedc43ed607bcb9302533566
|
||||
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/B-Hooks-Parser/B-Hooks-Parser-0.110.0.ebuild,v 1.1 2012/06/24 15:48:57 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=ZEFRAM
|
||||
MODULE_VERSION=0.11
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Interface to perls parser variables"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-perl/B-Hooks-OP-Check"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-perl/extutils-depends-0.302
|
||||
test? ( dev-perl/Test-Exception
|
||||
dev-perl/B-Hooks-EndOfScope )"
|
||||
SRC_TEST=do
|
@ -1,2 +1 @@
|
||||
DIST B-Hooks-Parser-0.11.tar.gz 71116 SHA256 48320553c9f1615c08a5e093c7bfcab85a6fde2e77b65ee288e194b4e5ba7e71 SHA512 715567c444034943e8ed0c8ac139f0c82cb8c9098601d11c10ca2350454715656a940082411118902425d565061d1934a2bad21101c74d15a4d577bfe901c0c2 WHIRLPOOL d75b3ebc3efffb2437adea83e11e067e3baabaed9feb03f2f4df7d5f68846d9cd7bfdabb65f50fd3a80eeaa1d306ed9b3c74fa4eb21c8d19700f25f989255dc1
|
||||
DIST B-Hooks-Parser-0.12.tar.gz 72662 SHA256 cddbc1e664975ef1e35b5f9361ff993d9005507201463f9e5561a056ffbadb25 SHA512 d6c6cbe521362ec9b5efd7d4b920f26bd35a8d37073d2f803d9e0a6d1965b712ea4ba5d2cc8f4d8195fd3f71c7a247202055295395df733c997eb0c3d290a7e5 WHIRLPOOL 9c38e6b29193de7f1748130e3e25d24168beab0b43da3bdfe64355925fd11c21ece983f313d594a60c7e634b00da6ce68b163116662a88aa952cb66b7c71c415
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/CPAN-Meta-Check/CPAN-Meta-Check-0.9.0-r1.ebuild,v 1.1 2014/10/19 21:31:19 zlogene Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=LEONT
|
||||
MODULE_VERSION=0.009
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION='Verify requirements in a CPAN::Meta object'
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
# CPAN::Meta::Prereqs -> perl-CPAN-Meta
|
||||
RDEPEND="
|
||||
>=virtual/perl-CPAN-Meta-2.132.830
|
||||
>=virtual/perl-CPAN-Meta-Requirements-2.121.0
|
||||
>=virtual/perl-Exporter-5.570.0
|
||||
virtual/perl-Module-Metadata
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.300.0
|
||||
test? (
|
||||
virtual/perl-File-Spec
|
||||
dev-perl/Test-Deep
|
||||
dev-perl/Test-Differences
|
||||
>=virtual/perl-Test-Simple-0.880.0
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST="do"
|
@ -1 +1,2 @@
|
||||
DIST CPAN-Meta-Check-0.004.tar.gz 11746 SHA256 fa38cf1a37d31fe08d53be7626ddf3024bda8178ab5ac32ad4815cc0dc5b9e31 SHA512 651905e815ac4f004a9fc7fda678d265d2b629bc11fe2ad234c0c85531de505bea13f7f64f455ef3790860870599b5365d6a40ad1d0ecf714c90c1cdc78c9a97 WHIRLPOOL 101bcf217cebb6d31f05fa04e0c57bbf8845619053fc606e2669f97243972b24709638e27b7982285404a87574fd8d5b7d53bf6f82c515e746133ab873445ab6
|
||||
DIST CPAN-Meta-Check-0.009.tar.gz 12355 SHA256 eb2d43afd1da276e4acdebd24937f5171d0aaca8d19a5ef0c3e834b8792b7361 SHA512 affbc654c4548d028ce84179947bd43f367e7078e415071e2f3a34354f1f379b994ce289c828a0e3c51295cabfeb4cd8fa3087b903396b6bb203ddabae0361c5 WHIRLPOOL e643675021ccb8faa2269cac8d30ee44ef77d6727f9feba01a51e09244417673cef13de2c0b332460a6fc426b52448315f8d3129bfd73a3f78823164fe08bfef
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Config-IniFiles/Config-IniFiles-2.760.0.ebuild,v 1.5 2012/10/21 18:18:36 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=SHLOMIF
|
||||
MODULE_VERSION=2.76
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A module for reading .ini-style configuration files"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/IO-stringy
|
||||
dev-perl/List-MoreUtils
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-Module-Build-0.36
|
||||
test? (
|
||||
dev-perl/Test-Pod
|
||||
dev-perl/Test-Pod-Coverage
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,4 +1,3 @@
|
||||
DIST Config-IniFiles-2.76.tar.gz 63108 SHA256 339c26d48b945a9510ac6437759f42b1f5ba5cd192cd288337dc42e54226c029 SHA512 9ecd611cc866d44f95546c765145d0ed16fae5a90e2c9a5da486546e571519b914219e698d9e9d2ddd07d7dc354c3a70c8e7d676564097f868fa0763d518e11f WHIRLPOOL c143c4163940820b1a01a262f53bb2d7e7783ba1c580c9a8a006d737872e9bac67d510ddb73fa2fc48531b60e5cc16d28e8ca8483c9431a4ad046f17ed3f0325
|
||||
DIST Config-IniFiles-2.78.tar.gz 63280 SHA256 ed1477900306f145495ba8603cdcff9900396d31c92439945833840d6f923af2 SHA512 b6376d0bed99c4113acf13df995e8cd87e7f8ae2a44b6e92b47f9b78fee19ff94813ce9da58d717e65b46cde22c53a27cfbb5c9680a9ad9f2f2fe4f5486597fc WHIRLPOOL 2bcb0c7b14e616f9250d40100df74cbc3e7324b57f65f7194bff855f0b37d299850d85c53a2a04617ff8a8dc1cd4ab5c151931faf2fd184c868fbb6466bdbbef
|
||||
DIST Config-IniFiles-2.82.tar.gz 64192 SHA256 fd116a7104ce2f477b182dc3a57a191a3a1f65c42cd9c2dabab65e11dce88ee1 SHA512 6594b28fc4f3c662dc56ad787c8b4408b5a5a7b615fc6706942b9845520d55da6b1e4911e24ae3cffccdb733557f8efa6674845620c9e63d31b9dbdffbdd27a7 WHIRLPOOL 40edb556d925a1c2e04e7c35f9e8d7875a12e7341a71d830a1e2f0ecf6b1e267ae35d029736f8cfc1caa7a643296636941989bf018bb4f10c54b3593b03e1669
|
||||
DIST Config-IniFiles-2.83.tar.gz 72950 SHA256 11578b7ddb1b86148ef5e5091155b7c420f157837d5b9fb486c659829186827d SHA512 9494400423512613da4b35c9f263cac2dae54ab145074fd5788279e9bc4fbcf6cdc7aa40de0ace7743d5db0ea96fb04e6f637f5c97948bcb32624720498f3e3b WHIRLPOOL 0df6eaf38cd71563eee746153e84a5ec67bf43a8789bb703ebd154ec81e21c19805b9755e59aa65a13178c8f9cc14a8a5852ba3af2ee2a435034c6af5e60cd1a
|
||||
|
@ -1,18 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Crypt-DES/Crypt-DES-2.50.0.ebuild,v 1.3 2012/09/01 11:25:24 grobian Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=DPARIS
|
||||
MODULE_VERSION=2.05
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Crypt::DES module for perl"
|
||||
|
||||
LICENSE="DES"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
export OPTIMIZE="${CFLAGS}"
|
@ -1,2 +1 @@
|
||||
DIST Crypt-DES-2.05.tar.gz 15369 SHA256 b7be9e4113eea37554a33c4d738a9226662c3ee53a5f0f281e1b1974569822f0 SHA512 006b7299351389ab3ca71f082cb4f12e33aad45e1c06e5394ffef618ddc0d28d14431abd90c23be6e2a86cd2ca34ae70fb6b72dd613d17421b5427e13e405532 WHIRLPOOL 8d84d2446a4cab02e8755b6d545e21a8abdead91332150ead158d4c12b7967e10a6c8b8862641971e8f328c2add750bc23c1bdef68cf15307dfe3d5b583751a2
|
||||
DIST Crypt-DES-2.07.tar.gz 16720 SHA256 2db1ebb5837b4cb20051c0ee5b733b4453e3137df0a92306034c867621edd7e7 SHA512 95d40280850290fb2f9b2f26be2f47f2241e0aeeb842bd02c56d667062d65b3b65b9a87c045cbee50604f95f8a0d0b033c92334520de19022decaf77f77c7678 WHIRLPOOL 7d1df75cd14632f2346ff3563ca43a7809fd03927a293f6ddb9b9db84803d5687cb48424ae7c39ffbdec6fcd42be7a0c589029a6528c9716da98239a7c0b86f1
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Cwd-Guard/Cwd-Guard-0.40.0.ebuild,v 1.1 2014/10/19 19:40:46 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=KAZEBURO
|
||||
MODULE_VERSION=0.04
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Temporary changing working directory (chdir)"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
# Cwd -> perl-File-Spec
|
||||
RDEPEND="
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-Exporter
|
||||
virtual/perl-if
|
||||
virtual/perl-parent
|
||||
"
|
||||
# CPAN::Meta::Prereqs -> perl-CPAN-Meta
|
||||
DEPEND="
|
||||
virtual/perl-CPAN-Meta
|
||||
>=virtual/perl-Module-Build-0.380.0
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
SRC_TEST="do"
|
@ -0,0 +1 @@
|
||||
DIST Cwd-Guard-0.04.tar.gz 9883 SHA256 1532cc4c453e4b3e5c195bc75c9b01974fa14304e54929850888641f2c28331c SHA512 7402203a51b1be99e91e9dfd1cf0e3577e5ba16afe8d808ab594bcff1603665399dc48fe867d40d9849cccbacfda0572fab09e8ef81934a251bb44625eade6f9 WHIRLPOOL 992d49d08b4cd14da70f0094f86f0f91837b1348f9e98e9a93a8129fd67f8fe2f59a7da3b678234c29beda3c7661177da512d7d1b38642df21c9d369bb61fc9f
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>perl</herd>
|
||||
</pkgmetadata>
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Data-ICal/Data-ICal-0.190.0.ebuild,v 1.1 2012/12/08 12:35:48 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=TSIBLEY
|
||||
MODULE_VERSION=0.19
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Generates iCalendar (RFC 2445) calendar files"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-perl/Class-Accessor
|
||||
dev-perl/class-returnvalue
|
||||
dev-perl/Text-vFile-asData"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-perl/Test-Pod
|
||||
dev-perl/Test-Pod-Coverage
|
||||
dev-perl/Test-Warn
|
||||
dev-perl/Test-NoWarnings
|
||||
dev-perl/Test-LongString
|
||||
)"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
src_prepare() {
|
||||
sed -i "/^auto_install();/d" "${S}"/Makefile.PL || die
|
||||
perl-module_src_prepare
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST Data-ICal-0.19.tar.gz 117278 SHA256 9c421aa73277f99fce793c59910e2d5c3c54a5dd1f4efaa15044060c405c24c3 SHA512 aeba161d49f7d8bdbbb1dcabd13166699752506d669a7c29233a1aea47461fda48795a2e51e005d75b939ea4ab5f2e60fe9f5d06c66386af0946a42c6afc3579 WHIRLPOOL 18e9e6946851005dbd7a8aa9960b0b553a92169cc50c464d688fd1b71ec1197691be54546bbc4f1f3e46d360d842a3ccc7cd4e11b1e7e481898491c43a661684
|
||||
DIST Data-ICal-0.21.tar.gz 117530 SHA256 93c2b0b0800b52e753073094675338aa476183ea9b759872b11e44dd43c9b45d SHA512 d3c8295c043f3c39b6ff50f74031bf4949702dba3bb1013b06f98f7637f1334511ce6286c620f40133b9196bfd08dd940a31df622d05593c2a4a19cd778521b2 WHIRLPOOL ab7449a894223caa445a0d1bb91a4afdcb1b4ca3b543666cee2e7047ebed607dd0c3477b1f42d92669e41f78942ec0c13bcfd501964187711cf935985fade340
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Devel-CheckCompiler/Devel-CheckCompiler-0.50.0.ebuild,v 1.1 2014/10/19 19:38:04 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=SYOHEX
|
||||
MODULE_VERSION=0.05
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Check the compiler's availability"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Exporter
|
||||
virtual/perl-ExtUtils-CBuilder
|
||||
virtual/perl-File-Temp
|
||||
virtual/perl-parent
|
||||
"
|
||||
# CPAN::Meta::Prereqs -> perl-CPAN-Meta
|
||||
DEPEND="
|
||||
virtual/perl-CPAN-Meta
|
||||
>=virtual/perl-Module-Build-0.380.0
|
||||
>=virtual/perl-Test-Simple-0.980.0
|
||||
dev-perl/Test-Requires
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
SRC_TEST="do"
|
@ -0,0 +1 @@
|
||||
DIST Devel-CheckCompiler-0.05.tar.gz 11384 SHA256 a4fe9b3daf37f472c9529582b5ba1f1082606e7ebf197432ad22971117523257 SHA512 5bf40abc7df914a9bbd5b185a40d597272f2f8fb0a94f95b1790ed247a529af8c31bc8ddfcae75ceab4d504ad8faf86ed63eefbc5081a208bcccf0902464d73e WHIRLPOOL a10fdc749ced11cd72ac6088849fcdfb06999d91988f7e4be4b5e526c0f74288e00e56a54ab630fe7dd0df134838d5fec7d1eed5bc020169afd54ca7699083d2
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>perl</herd>
|
||||
</pkgmetadata>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue