parent
76208f02e4
commit
cc6e3bc9fb
@ -1 +1,2 @@
|
||||
DIST collectd-5.1.0.tar.bz2 1305538 SHA256 521d4be7df5bc1124b7b9ea88227e95839a5f7c1b704a5bde0f60f058ec6eecb SHA512 c107bdad66d90d6e299ba0da68cc0726e3b0541efd7d672687713f5a414765d2afbd66a8c834da36dafe201dc0ec97caf80844d5f0354503fa67fcbfe0d43725 WHIRLPOOL 3de7d344d622ac20cb63fc0ce78e5d18c7d57d52e76ea09a47fc58bc339cf1108baa521e142a3d386f56dbf7a83311f2f93489241f2061da90900617f1715e8c
|
||||
DIST collectd-5.1.1.tar.bz2 1331678 SHA256 0eeb8e45c83ba13fa00bd4f6875528e8a13769ba218205785d40b861489bf1fd SHA512 5d5f30ddb9ded3b48b64efdc1a4dbbbfe1601c16fc2450a7d1a1786493b12e01da66f23eca4d59853326b3c598b2fa9475f036e78e0d9e50b3f5ddd3a37c3c9b WHIRLPOOL 6a7256f1dc526bd0b6cb4c4845d511257c2c61c0de9c17ecff6751ad89698eb4127fe1cba4919920772bacd2a3c6966201ea162e61caf8e9f4e5baeaa0fb20e2
|
||||
|
@ -0,0 +1,351 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/collectd/collectd-5.1.1.ebuild,v 1.1 2012/11/19 19:30:06 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils base linux-info perl-app autotools multilib user
|
||||
|
||||
DESCRIPTION="A small daemon which collects system performance statistics - with a near-infinite number of plugins"
|
||||
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 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="ipvs apple_sensors tape zfs_arc modbus amqp genericjmx lpar redis threshold write_redis v5upgrade"
|
||||
|
||||
# Plugins that have been (compile) tested and can be enabled via COLLECTD_PLUGINS
|
||||
COLLECTD_TESTED_PLUGINS="apache apcups ascent battery bind conntrack contextswitch
|
||||
cpu cpufreq curl curl_json curl_xml dbi df disk dns email entropy ethstat exec filecount fscache gmond
|
||||
hddtemp interface ipmi iptables irq java libvirt load madwifi mbmon md memcachec
|
||||
memcached memory multimeter mysql netlink network nfs nginx ntpd numa nut olsrd
|
||||
onewire openvpn perl ping postgresql powerdns processes protocols python
|
||||
rrdcached sensors serial snmp swap table tail tcpconns teamspeak2 ted thermal
|
||||
tokyotyrant uptime users varnish vmem vserver wireless csv exec logfile network
|
||||
notify_desktop notify_email oracle perl python routeros rrdcached rrdtool syslog unixsock
|
||||
write_graphite write_http write_mongodb match_empty_counter match_hashed match_regex match_timediff
|
||||
match_value target_notification target_replace target_scale target_set uuid"
|
||||
|
||||
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
|
||||
sys-devel/libtool
|
||||
perl? ( dev-lang/perl[ithreads] ( || ( sys-devel/libperl[ithreads] >=sys-devel/libperl-5.10 ) ) )
|
||||
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] ( || ( sys-devel/libperl[ithreads] >=sys-devel/libperl-5.10 ) ) )
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
# The perl bindings
|
||||
myconf+=" $(use_with perl perl-bindings)"
|
||||
|
||||
# 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 {} +
|
||||
rm "${D}/usr/$(get_libdir)"/collectd/*.a
|
||||
|
||||
# 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}
|
||||
|
||||
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"
|
||||
|
||||
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
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 5267123..a7e0d0c 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -1,6 +1,4 @@
|
||||
-ACLOCAL_AMFLAGS = -I libltdl/m4
|
||||
-
|
||||
-SUBDIRS = libltdl src bindings .
|
||||
+SUBDIRS = src bindings .
|
||||
|
||||
INCLUDES = $(LTDLINCL)
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index eff8d61..a22a561 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -7,7 +7,6 @@ AC_CONFIG_AUX_DIR([libltdl/config])
|
||||
m4_ifdef([LT_PACKAGE_VERSION],
|
||||
# libtool >= 2.2
|
||||
[
|
||||
- LT_CONFIG_LTDL_DIR([libltdl])
|
||||
LT_INIT([dlopen])
|
||||
LTDL_INIT([convenience])
|
||||
AC_DEFINE(LIBTOOL_VERSION, 2, [Define to used libtool version.])
|
||||
@@ -19,7 +18,6 @@ m4_ifdef([LT_PACKAGE_VERSION],
|
||||
AC_SUBST(LTDLINCL)
|
||||
AC_SUBST(LIBLTDL)
|
||||
AC_LIBTOOL_DLOPEN
|
||||
- AC_CONFIG_SUBDIRS(libltdl)
|
||||
AC_DEFINE(LIBTOOL_VERSION, 1, [Define to used libtool version.])
|
||||
]
|
||||
)
|
@ -1,6 +1,6 @@
|
||||
DIST myspell-sv-2.6-hyph.oxt 44382 SHA256 cd7cc138f736c97a5580d46223d39893279bcc6dc6d01527f397caebe57fdd47 SHA512 0f71809d2d401bb917037bb50a2fa88ffe825cac081cb14e9378ffeebc447144b733a9d4fd99cc5bc1f1a37835cc880210512ccc79341a4ba8c6cb5dcc38fc40 WHIRLPOOL fd245716f11566cce3de29267c97feada5a7c440d4a85b62e6b8b924de80c3de14a2213deb166e5792fb99588f0b7815c155b02cd7f927ff7c46c4396005fab9
|
||||
DIST myspell-sv-2.6-thes.oxt 306542 SHA256 58de0797f5dca60b7dd5e2355c381eb4ced72aff7a726861a2512ebc2e97ad55 SHA512 e637dc92bfc9bc86ccf10710fac1b036a99b0abc2888d30ea7dbdaca1c3cbec57fd7a184648d922b120a26f7c151b7cc043f783fb35b7e121ae22458f0a72103 WHIRLPOOL 9a17cb528cd5b2bc201a93429e83cfaf6f83acd8afa430ca2a7446e224684c877edcbc743af9c9a7f75a4342bb9fe3a15479ceabae3401b1218fa8b7b5723149
|
||||
DIST myspell-sv-2.11-hyph.oxt 44382 SHA256 cd7cc138f736c97a5580d46223d39893279bcc6dc6d01527f397caebe57fdd47 SHA512 0f71809d2d401bb917037bb50a2fa88ffe825cac081cb14e9378ffeebc447144b733a9d4fd99cc5bc1f1a37835cc880210512ccc79341a4ba8c6cb5dcc38fc40 WHIRLPOOL fd245716f11566cce3de29267c97feada5a7c440d4a85b62e6b8b924de80c3de14a2213deb166e5792fb99588f0b7815c155b02cd7f927ff7c46c4396005fab9
|
||||
DIST myspell-sv-2.11-thes.oxt 306542 SHA256 58de0797f5dca60b7dd5e2355c381eb4ced72aff7a726861a2512ebc2e97ad55 SHA512 e637dc92bfc9bc86ccf10710fac1b036a99b0abc2888d30ea7dbdaca1c3cbec57fd7a184648d922b120a26f7c151b7cc043f783fb35b7e121ae22458f0a72103 WHIRLPOOL 9a17cb528cd5b2bc201a93429e83cfaf6f83acd8afa430ca2a7446e224684c877edcbc743af9c9a7f75a4342bb9fe3a15479ceabae3401b1218fa8b7b5723149
|
||||
DIST myspell-sv-2.9-hyph.oxt 44382 SHA256 cd7cc138f736c97a5580d46223d39893279bcc6dc6d01527f397caebe57fdd47 SHA512 0f71809d2d401bb917037bb50a2fa88ffe825cac081cb14e9378ffeebc447144b733a9d4fd99cc5bc1f1a37835cc880210512ccc79341a4ba8c6cb5dcc38fc40 WHIRLPOOL fd245716f11566cce3de29267c97feada5a7c440d4a85b62e6b8b924de80c3de14a2213deb166e5792fb99588f0b7815c155b02cd7f927ff7c46c4396005fab9
|
||||
DIST myspell-sv-2.9-thes.oxt 306542 SHA256 58de0797f5dca60b7dd5e2355c381eb4ced72aff7a726861a2512ebc2e97ad55 SHA512 e637dc92bfc9bc86ccf10710fac1b036a99b0abc2888d30ea7dbdaca1c3cbec57fd7a184648d922b120a26f7c151b7cc043f783fb35b7e121ae22458f0a72103 WHIRLPOOL 9a17cb528cd5b2bc201a93429e83cfaf6f83acd8afa430ca2a7446e224684c877edcbc743af9c9a7f75a4342bb9fe3a15479ceabae3401b1218fa8b7b5723149
|
||||
DIST ooo_swedish_dict_2.6.oxt 1166259 SHA256 4e487581e32cdbdade122fc823d0f63c3956d79868586f1c3a6d65c27ebc52af SHA512 57e8c728547064775b42f7c4237e07632831bb5aaa9a9e8d21e6e750bc8814de3a147cdcb63da901ee41e980ab81300384be8a88f370769b9162bf8a7971e0c0 WHIRLPOOL 2da90311d25cb49ea8ba177f705b4ccdb53651b4da1b19456d124e9c847ae45d76c1fab502b4025fbc80a89293af07480854a526a539700232287351be5a6198
|
||||
DIST ooo_swedish_dict_2.11.oxt 1258868 SHA256 db34223ad26beb57c7cf6c4e4312605a3a0c6ebf8c09e21e8b8014ae2e111816 SHA512 7d101cd1cb64d02157d9a43da28a8d6429bbdf66c345fc71e3f3c5512198f2088b4a14270a96387c5c0cd68c8c77c28c1500098302c6e21db29cfe0cffc76f96 WHIRLPOOL 4c9c90a06b13137f883db7ed88f08876533c2ec8b154920af264fe1c4facfad62ad6f7ac32a5d9a4183e0ac428d56c412d172ecc08e77ceb25051a4f89d436e5
|
||||
DIST ooo_swedish_dict_2.9.oxt 1235448 SHA256 33a2f4134ac64a6c7135b213ad29a9f1abe57a1bbc57d9df6d2d818aca0c8c0a SHA512 7bef9a828fc5b6c7dfea78e3512a33ba95f9dabc3951acce9a9043f3691faaf659bf8a281e77f5c0b1989eab1cbce0a60b600ade7fb3dd5e9ea6452cc2f0fdd4 WHIRLPOOL 0ada56afbd183c906b0cf115b01d5bf8875374ceddfb29c53c4864820be0c97f19b8f50e77d8c474369e500460f5e7db0f7986af6d589c94e3b32a8efbb32d6d
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST nut-17.12.tar.gz 1274051 SHA256 b2fbaa92cbb0351efc4b9a679c6fddb31ba56dd87c798fafecff12d21bb7d669 SHA512 eeefb7c0f0da918475ea1ef3a569f758d026fd6037579087b3e16d08d1fd026bff74466eca256e88de66676f5f782354fedb39f6546f13cca1fec4aff3782bcc WHIRLPOOL a0132c69591e14f137168efdd751cedaf832b42292ff0dec6d836eeccdc45dd43f07fb812df73bdcb58f54e9490be0fc16e14ddd76f270f7f3afd72db2166653
|
||||
DIST nut-17.7.tar.gz 1315707 SHA256 b41a9bf1687d6a7ce4a17b1afea19b0976a6828ec423c5b48ce648b80dbb5a5a SHA512 9f89d64a3b2a41835e845d272d57a905446e14626902106b2a88e1954748d4b7b33d7b2d0ea54e6d91cb6108667b9e187b57d5d9bc87eca1c9c799547d4d36de WHIRLPOOL 03ebba9de669cbddcd8ede868f70d416e7e6399b5156127745468c87256131f4fc653b5e36ea0e86eb8bb2fc0f5abbc043862e82ad42514803994e36adbe9878
|
||||
DIST nut-18.0.tar.gz 1301699 SHA256 3bba7386686e36735465aa2f95d73c28d808717fed80d3618ac9bb6baeb3cb4d SHA512 19d8bba3b9484bb59119c0aa89184b81b2c482e90e9d3738ef0bfb4dfeabe2a81d94d00838ea3243d2b29e855db0b4129ed7ceeb46304d57d9e73677c5304f48 WHIRLPOOL bfe91c9a64feab1793a00756af556138f1836e3b233f5047cb2c79d8bbe04d9bb96459aacabdf8d85134b0b11c3fcb0adf0f7f8b1e91ab58aa4c2ef1ec76e40d
|
||||
DIST nut-18.4.tar.gz 1336493 SHA256 b6cc5382ddbedd788ecdb9745111e3f8c606bfbf7d5fe2f7b9298e9bd77c903a SHA512 9b548322b3a4cee5acc522a11f3e2ecfe0fbd3f6be726979f16fcb236ebafae85f25f472d4bed43b6734ecd8b964c093adaac487d6621da00c96c9e94a0b966d WHIRLPOOL 8ddcd9cb0145800ccb6beb5504977c16f2cc956035e846fc4714a9eeffbdbe54c57afce0504eae5866fe039047cbc01591f19f01cb6329b1d13c124a8480e8a1
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/nut/nut-18.4.ebuild,v 1.1 2012/11/19 12:28:47 jer Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Record what you eat and analyze your nutrient levels"
|
||||
HOMEPAGE="http://nut.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-17.12-makefile.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" OPT="${CFLAGS}" FOODDIR=\\\"/usr/share/nut\\\"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/nut
|
||||
doins raw.data/*
|
||||
dobin nut
|
||||
doman nut.1
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST unfoo-1.0.6.sh 3083 SHA256 d74bf03d39378d6b5071af83f955fc48c2208d93410f45f1882c77061d952bfa SHA512 184b72909bed3f3c7a1f9768f4146b8cbc88f1cdfeb17576a88c114e73ae13e5e712cff51c1a40076b37541d16d9df9573667ec9a0b25abb84fb8f588cabe9e0 WHIRLPOOL eb4ef194245930caa766f177ff23867614fe23c43afdf556f9f41790a02db74121fb272ab842469aed10ac7fec9c632bbb7f5e2b0d318e0316d7f5037b0767b5
|
||||
DIST unfoo-1.0.7.tar.gz 31808 SHA256 0c0c1692c66a78ef673a5b1b5248184923782e375184a1d532330501e512f6ff SHA512 113126ead9a704c3efcd7f93ab2aa61536e6b5981e3a9f72d17d2e75f1f88d33b05976f6cf54b3ec4257b3f5e5f49b645643c2223e1f10cd499dcd272c4cb1f0 WHIRLPOOL 492536b29c2e0986e2fb1071cde7485807ba63456f3b3d9bb8426abf700347323a0d6d9ad013164895a7f88b90c858853f03e7229e394be4179a3fb3b3048242
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/unfoo/unfoo-1.0.7.ebuild,v 1.2 2012/11/19 12:48:16 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="A simple bash driven frontend to simplify decompression of files"
|
||||
HOMEPAGE="http://obsoleet.org/code/unfoo"
|
||||
SRC_URI="https://github.com/vitaminmoo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="+minimal test"
|
||||
|
||||
COMMON_DEPS="
|
||||
|| (
|
||||
app-arch/bzip2
|
||||
app-arch/lbzip2[symlink]
|
||||
app-arch/pbzip2[symlink] )
|
||||
|| (
|
||||
app-arch/gzip
|
||||
app-arch/pigz[symlink] )
|
||||
app-arch/p7zip
|
||||
|| (
|
||||
app-arch/rar
|
||||
app-arch/unrar-gpl
|
||||
app-arch/unrar )
|
||||
app-arch/unace
|
||||
app-arch/unzip
|
||||
app-arch/xz-utils"
|
||||
RDEPEND="!minimal? ( ${COMMON_DEPS} )"
|
||||
DEPEND="test? ( ${COMMON_DEPS} )"
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dodoc README*
|
||||
dobin ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
echo
|
||||
elog "unfoo can handle far more than just .tar*, but it requires some"
|
||||
elog "optional packages to do so. For a list, either consult the source"
|
||||
elog "(less /usr/bin/unfoo), or see http://obsoleet.org/code/unfoo"
|
||||
elog "To get full support please use USE=-minimal"
|
||||
elif [[ ${REPLACING_VERSIONS} < 1.0.7 ]]; then
|
||||
elog "To get full support please use USE=-minimal"
|
||||
fi
|
||||
}
|
@ -0,0 +1,150 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-3.1_p17.ebuild,v 1.24 2012/11/19 22:26:11 vapier Exp $
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-3.1-patches/
|
||||
PLEVEL=${PV##*_p}
|
||||
MY_PV=${PV/_p*}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
READLINE_VER=5.1
|
||||
READLINE_PLEVEL=1
|
||||
|
||||
DESCRIPTION="The standard GNU Bourne again shell"
|
||||
HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
|
||||
# Hit the GNU mirrors before hitting Chet's site
|
||||
# printf 'mirror://gnu/bash/bash-%s-patches/bash%s-%03d\n' \
|
||||
# ${MY_PV} ${MY_PV/\.} ${i}
|
||||
SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz
|
||||
ftp://ftp.cwru.edu/pub/bash/${MY_P}.tar.gz
|
||||
$(for ((i=1; i<=PLEVEL; i++)); do
|
||||
printf 'ftp://ftp.cwru.edu/pub/bash/bash-%s-patches/bash%s-%03d\n' \
|
||||
${MY_PV} ${MY_PV/\.} ${i}
|
||||
done)
|
||||
$(for ((i=1; i<=READLINE_PLEVEL; i++)); do
|
||||
printf 'ftp://ftp.cwru.edu/pub/bash/readline-%s-patches/readline%s-%03d\n' \
|
||||
${READLINE_VER} ${READLINE_VER/\.} ${i}
|
||||
printf 'mirror://gnu/bash/readline-%s-patches/readline%s-%03d\n' \
|
||||
${READLINE_VER} ${READLINE_VER/\.} ${i}
|
||||
done)"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="afs bashlogger nls vanilla"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.gz
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${PN}-3.1-gentoo.patch
|
||||
|
||||
# Include official patches
|
||||
local i
|
||||
for ((i=1; i<=PLEVEL; i++)); do
|
||||
epatch "${DISTDIR}"/${PN}${MY_PV/\.}-$(printf '%03d' ${i})
|
||||
done
|
||||
cd lib/readline
|
||||
for ((i=1; i<=READLINE_PLEVEL; i++)); do
|
||||
epatch "${DISTDIR}"/readline${READLINE_VER/\.}-$(printf '%03d' ${i})
|
||||
done
|
||||
cd ../..
|
||||
|
||||
if ! use vanilla ; then
|
||||
# Fall back to /etc/inputrc
|
||||
epatch "${FILESDIR}"/${PN}-3.0-etc-inputrc.patch
|
||||
# Add more ulimit options (from Fedora)
|
||||
epatch "${FILESDIR}"/${MY_P}-ulimit.patch
|
||||
# Fix a memleak in read_builtin (from Fedora)
|
||||
epatch "${FILESDIR}"/${PN}-3.0-read-memleak.patch
|
||||
# Don't barf on handled signals in scripts
|
||||
epatch "${FILESDIR}"/${PN}-3.0-trap-fg-signals.patch
|
||||
# Fix -/bin/bash login shell #118257
|
||||
epatch "${FILESDIR}"/bash-3.1-fix-dash-login-shell.patch
|
||||
# Fix /dev/fd test with FEATURES=userpriv #131875
|
||||
epatch "${FILESDIR}"/bash-3.1-dev-fd-test-as-user.patch
|
||||
# Log bash commands to syslog #91327
|
||||
if use bashlogger ; then
|
||||
echo
|
||||
ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs."
|
||||
ewarn "This will log ALL output you enter into the shell, you have been warned."
|
||||
ebeep
|
||||
epause
|
||||
epatch "${FILESDIR}"/${PN}-3.1-bash-logger.patch
|
||||
fi
|
||||
fi
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-3.0-configs.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
filter-flags -malign-double
|
||||
|
||||
local myconf=
|
||||
|
||||
# Always use the buildin readline, else if we update readline
|
||||
# bash gets borked as readline is usually not binary compadible
|
||||
# between minor versions.
|
||||
#myconf="${myconf} $(use_with !readline installed-readline)"
|
||||
myconf="${myconf} --without-installed-readline"
|
||||
|
||||
# Don't even think about building this statically without
|
||||
# reading Bug 7714 first. If you still build it statically,
|
||||
# don't come crying to use with bugs ;).
|
||||
#use static && export LDFLAGS="${LDFLAGS} -static"
|
||||
use nls || myconf="${myconf} --disable-nls"
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses
|
||||
myconf="${myconf} --with-curses"
|
||||
|
||||
econf \
|
||||
$(use_with afs) \
|
||||
--disable-profiling \
|
||||
--without-gnu-malloc \
|
||||
${myconf} || die
|
||||
emake -j1 || die "make failed" # see bug 102426
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstall || die
|
||||
|
||||
dodir /bin
|
||||
mv "${D}"/usr/bin/bash "${D}"/bin/
|
||||
[[ ${USERLAND} != "BSD" ]] && dosym bash /bin/sh
|
||||
dosym bash /bin/rbash
|
||||
|
||||
insinto /etc/bash
|
||||
doins "${FILESDIR}"/{bashrc,bash_logout}
|
||||
insinto /etc/skel
|
||||
for f in bash{_logout,_profile,rc} ; do
|
||||
newins "${FILESDIR}"/dot-${f} .${f}
|
||||
done
|
||||
|
||||
sed -i -e "s:#${USERLAND}#@::" "${D}"/etc/skel/.bashrc "${D}"/etc/bash/bashrc
|
||||
sed -i -e '/#@/d' "${D}"/etc/skel/.bashrc "${D}"/etc/bash/bashrc
|
||||
|
||||
doman doc/*.1
|
||||
dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
|
||||
dosym bash.info.gz /usr/share/info/bashref.info.gz
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -e ${ROOT}/etc/bashrc ]] && [[ ! -d ${ROOT}/etc/bash ]] ; then
|
||||
mkdir -p "${ROOT}"/etc/bash
|
||||
mv -f "${ROOT}"/etc/bashrc "${ROOT}"/etc/bash/
|
||||
fi
|
||||
|
||||
# our bash_logout is just a place holder so dont
|
||||
# force users to go through etc-update all the time
|
||||
if [[ -e ${ROOT}/etc/bash/bash_logout ]] ; then
|
||||
rm -f "${D}"/etc/bash/bash_logout
|
||||
fi
|
||||
}
|
@ -0,0 +1,187 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-3.2_p51.ebuild,v 1.5 2012/11/19 22:26:11 vapier Exp $
|
||||
|
||||
EAPI=1
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/
|
||||
PLEVEL=${PV##*_p}
|
||||
MY_PV=${PV/_p*}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
READLINE_VER=5.2
|
||||
READLINE_PLEVEL=0 # both readline patches are also released as bash patches
|
||||
|
||||
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
|
||||
ftp://ftp.cwru.edu/pub/bash/${MY_P}.tar.gz
|
||||
$(for ((i=1; i<=PLEVEL; i++)); do
|
||||
printf 'ftp://ftp.cwru.edu/pub/bash/bash-%s-patches/bash%s-%03d\n' \
|
||||
${MY_PV} ${MY_PV/\.} ${i}
|
||||
printf 'mirror://gnu/bash/bash-%s-patches/bash%s-%03d\n' \
|
||||
${MY_PV} ${MY_PV/\.} ${i}
|
||||
done)
|
||||
$(for ((i=1; i<=READLINE_PLEVEL; i++)); do
|
||||
printf 'ftp://ftp.cwru.edu/pub/bash/readline-%s-patches/readline%s-%03d\n' \
|
||||
${READLINE_VER} ${READLINE_VER/\.} ${i}
|
||||
printf 'mirror://gnu/bash/readline-%s-patches/readline%s-%03d\n' \
|
||||
${READLINE_VER} ${READLINE_VER/\.} ${i}
|
||||
done)"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="afs bashlogger +net nls plugins vanilla"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${DEPEND}
|
||||
!<sys-apps/portage-2.1.5
|
||||
!<sys-apps/paludis-0.26.0_alpha5"
|
||||
|
||||
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
|
||||
cd "${S}"
|
||||
|
||||
# Include official patches
|
||||
local i
|
||||
for ((i=1; i<=PLEVEL; i++)); do
|
||||
epatch "${DISTDIR}"/${PN}${MY_PV/\.}-$(printf '%03d' ${i})
|
||||
done
|
||||
cd lib/readline
|
||||
for ((i=1; i<=READLINE_PLEVEL; i++)); do
|
||||
epatch "${DISTDIR}"/readline${READLINE_VER/\.}-$(printf '%03d' ${i})
|
||||
done
|
||||
cd ../..
|
||||
|
||||
if ! use vanilla ; then
|
||||
epatch "${FILESDIR}"/autoconf-mktime-2.59.patch #220040
|
||||
epatch "${FILESDIR}"/${PN}-3.1-gentoo.patch
|
||||
epatch "${FILESDIR}"/${PN}-3.2-loadables.patch
|
||||
epatch "${FILESDIR}"/${PN}-3.2-protos.patch
|
||||
epatch "${FILESDIR}"/${PN}-3.2-session-leader.patch #231775
|
||||
epatch "${FILESDIR}"/${PN}-3.2-parallel-build.patch #189671
|
||||
epatch "${FILESDIR}"/${PN}-3.2-ldflags-for-build.patch #211947
|
||||
|
||||
# Fix process substitution on BSD.
|
||||
epatch "${FILESDIR}"/${PN}-3.2-process-subst.patch
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-3.2-ulimit.patch
|
||||
# Don't barf on handled signals in scripts
|
||||
epatch "${FILESDIR}"/${PN}-3.0-trap-fg-signals.patch
|
||||
epatch "${FILESDIR}"/${PN}-3.2-dev-fd-test-as-user.patch #131875
|
||||
# Log bash commands to syslog #91327
|
||||
if use bashlogger ; then
|
||||
echo
|
||||
ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs."
|
||||
ewarn "This will log ALL output you enter into the shell, you have been warned."
|
||||
ebeep
|
||||
epause
|
||||
epatch "${FILESDIR}"/${PN}-3.1-bash-logger.patch
|
||||
fi
|
||||
fi
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-3.0-configs.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=
|
||||
|
||||
# Always use the buildin readline, else if we update readline
|
||||
# bash gets borked as readline is usually not binary compadible
|
||||
# between minor versions.
|
||||
#myconf="${myconf} $(use_with !readline installed-readline)"
|
||||
myconf="${myconf} --without-installed-readline"
|
||||
|
||||
# Don't even think about building this statically without
|
||||
# reading Bug 7714 first. If you still build it statically,
|
||||
# don't come crying to use with bugs ;).
|
||||
#use static && export LDFLAGS="${LDFLAGS} -static"
|
||||
use nls || myconf="${myconf} --disable-nls"
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses
|
||||
myconf="${myconf} --with-curses"
|
||||
|
||||
# Default path is to use /usr/local/..... regardless. This little
|
||||
# magic will set the default path to /usr/..... and keep us from
|
||||
# worrying about the rest of the path getting out of sync with the
|
||||
# ebuild code.
|
||||
eval $(echo export $(ac_default_prefix=/usr; eval echo $(grep DEBUGGER_START_FILE= configure)))
|
||||
|
||||
use plugins && append-ldflags -Wl,-rpath,/usr/$(get_libdir)/bash
|
||||
econf \
|
||||
$(use_with afs) \
|
||||
$(use_enable net net-redirections) \
|
||||
--disable-profiling \
|
||||
--without-gnu-malloc \
|
||||
${myconf} || die
|
||||
emake || die "make failed"
|
||||
|
||||
if use plugins ; then
|
||||
emake -C examples/loadables all others || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
|
||||
dodir /bin
|
||||
mv "${D}"/usr/bin/bash "${D}"/bin/ || die
|
||||
dosym bash /bin/rbash
|
||||
|
||||
insinto /etc/bash
|
||||
doins "${FILESDIR}"/{bashrc,bash_logout}
|
||||
insinto /etc/skel
|
||||
for f in bash{_logout,_profile,rc} ; do
|
||||
newins "${FILESDIR}"/dot-${f} .${f}
|
||||
done
|
||||
|
||||
sed -i -e "s:#${USERLAND}#@::" "${D}"/etc/skel/.bashrc "${D}"/etc/bash/bashrc
|
||||
sed -i -e '/#@/d' "${D}"/etc/skel/.bashrc "${D}"/etc/bash/bashrc
|
||||
|
||||
if use plugins ; then
|
||||
exeinto /usr/$(get_libdir)/bash
|
||||
doexe $(echo examples/loadables/*.o | sed 's:\.o::g') || die
|
||||
fi
|
||||
|
||||
doman doc/*.1
|
||||
dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
|
||||
dosym bash.info /usr/share/info/bashref.info
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -e ${ROOT}/etc/bashrc ]] && [[ ! -d ${ROOT}/etc/bash ]] ; then
|
||||
mkdir -p "${ROOT}"/etc/bash
|
||||
mv -f "${ROOT}"/etc/bashrc "${ROOT}"/etc/bash/
|
||||
fi
|
||||
|
||||
if [[ -L ${ROOT}/bin/sh ]]; then
|
||||
# rewrite the symlink to ensure that its mtime changes. having /bin/sh
|
||||
# missing even temporarily causes a fatal error with paludis.
|
||||
local target=$(readlink "${ROOT}"/bin/sh)
|
||||
local tmp=$(emktemp "${ROOT}"/bin)
|
||||
ln -sf "${target}" "${tmp}"
|
||||
mv -f "${tmp}" "${ROOT}"/bin/sh
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# If /bin/sh does not exist, provide it
|
||||
if [[ ! -e ${ROOT}/bin/sh ]]; then
|
||||
ln -sf bash "${ROOT}"/bin/sh
|
||||
fi
|
||||
}
|
@ -0,0 +1,181 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.0_p38.ebuild,v 1.5 2012/11/19 22:26:11 vapier Exp $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/
|
||||
PLEVEL=${PV##*_p}
|
||||
MY_PV=${PV/_p*}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
[[ ${PV} != *_p* ]] && PLEVEL=0
|
||||
READLINE_VER=6.0
|
||||
READLINE_PLEVEL=0 # both readline patches are also released as bash patches
|
||||
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)
|
||||
$(patches ${READLINE_PLEVEL} readline ${READLINE_VER})"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="afs bashlogger mem-scramble +net nls plugins vanilla"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${DEPEND}
|
||||
!<sys-apps/portage-2.1.5
|
||||
!<sys-apps/paludis-0.26.0_alpha5"
|
||||
|
||||
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
|
||||
cd "${S}"
|
||||
|
||||
# Include official patches
|
||||
[[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
|
||||
cd lib/readline
|
||||
[[ ${READLINE_PLEVEL} -gt 0 ]] && epatch $(patches -s ${READLINE_PLEVEL} readline ${READLINE_VER})
|
||||
cd ../..
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-4.0-configure.patch #304901
|
||||
epatch "${FILESDIR}"/${PN}-4.x-deferred-heredocs.patch
|
||||
|
||||
if ! use vanilla ; then
|
||||
sed -i '1i#define NEED_FPURGE_DECL' execute_cmd.c # needs fpurge() decl
|
||||
epatch "${FILESDIR}"/${PN}-3.2-parallel-build.patch #189671
|
||||
epatch "${FILESDIR}"/${PN}-4.0-ldflags-for-build.patch #211947
|
||||
epatch "${FILESDIR}"/${PN}-4.0-negative-return.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.0-parallel-build.patch #267613
|
||||
# Log bash commands to syslog #91327
|
||||
if use bashlogger ; then
|
||||
ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs."
|
||||
ewarn "This will log ALL output you enter into the shell, you have been warned."
|
||||
ebeep
|
||||
epause
|
||||
epatch "${FILESDIR}"/${PN}-3.1-bash-logger.patch
|
||||
fi
|
||||
sed -i '/\.o: .*shell\.h/s:$: pathnames.h:' Makefile.in #267613
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=
|
||||
|
||||
# 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
|
||||
|
||||
# Always use the buildin readline, else if we update readline
|
||||
# bash gets borked as readline is usually not binary compadible
|
||||
# between minor versions.
|
||||
#myconf="${myconf} $(use_with !readline installed-readline)"
|
||||
myconf="${myconf} --without-installed-readline"
|
||||
|
||||
# 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="${myconf} --disable-nls"
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses
|
||||
myconf="${myconf} --with-curses"
|
||||
|
||||
use plugins && append-ldflags -Wl,-rpath,/usr/$(get_libdir)/bash
|
||||
econf \
|
||||
$(use_with afs) \
|
||||
$(use_enable net net-redirections) \
|
||||
--disable-profiling \
|
||||
$(use_enable mem-scramble) \
|
||||
$(use_with mem-scramble bash-malloc) \
|
||||
${myconf} || die
|
||||
emake || die "make failed"
|
||||
|
||||
if use plugins ; then
|
||||
emake -C examples/loadables all others || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
|
||||
dodir /bin
|
||||
mv "${D}"/usr/bin/bash "${D}"/bin/ || die
|
||||
dosym bash /bin/rbash
|
||||
|
||||
insinto /etc/bash
|
||||
doins "${FILESDIR}"/{bashrc,bash_logout}
|
||||
insinto /etc/skel
|
||||
for f in bash{_logout,_profile,rc} ; do
|
||||
newins "${FILESDIR}"/dot-${f} .${f}
|
||||
done
|
||||
|
||||
sed -i -e "s:#${USERLAND}#@::" "${D}"/etc/skel/.bashrc "${D}"/etc/bash/bashrc
|
||||
sed -i -e '/#@/d' "${D}"/etc/skel/.bashrc "${D}"/etc/bash/bashrc
|
||||
|
||||
if use plugins ; then
|
||||
exeinto /usr/$(get_libdir)/bash
|
||||
doexe $(echo examples/loadables/*.o | sed 's:\.o::g') || die
|
||||
fi
|
||||
|
||||
doman doc/*.1
|
||||
dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
|
||||
dosym bash.info /usr/share/info/bashref.info
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -e ${ROOT}/etc/bashrc ]] && [[ ! -d ${ROOT}/etc/bash ]] ; then
|
||||
mkdir -p "${ROOT}"/etc/bash
|
||||
mv -f "${ROOT}"/etc/bashrc "${ROOT}"/etc/bash/
|
||||
fi
|
||||
|
||||
if [[ -L ${ROOT}/bin/sh ]]; then
|
||||
# rewrite the symlink to ensure that its mtime changes. having /bin/sh
|
||||
# missing even temporarily causes a fatal error with paludis.
|
||||
local target=$(readlink "${ROOT}"/bin/sh)
|
||||
local tmp=$(emktemp "${ROOT}"/bin)
|
||||
ln -sf "${target}" "${tmp}"
|
||||
mv -f "${tmp}" "${ROOT}"/bin/sh
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# If /bin/sh does not exist, provide it
|
||||
if [[ ! -e ${ROOT}/bin/sh ]]; then
|
||||
ln -sf bash "${ROOT}"/bin/sh
|
||||
fi
|
||||
}
|
@ -0,0 +1,190 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.1_p11.ebuild,v 1.5 2012/11/19 22:26:11 vapier Exp $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/
|
||||
PLEVEL=${PV##*_p}
|
||||
MY_PV=${PV/_p*}
|
||||
MY_PV=${MY_PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
[[ ${PV} != *_p* ]] && PLEVEL=0
|
||||
READLINE_VER=6.1
|
||||
READLINE_PLEVEL=0 # both readline patches are also released as bash patches
|
||||
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)
|
||||
$(patches ${READLINE_PLEVEL} readline ${READLINE_VER})"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="afs bashlogger examples mem-scramble +net nls plugins vanilla"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${DEPEND}
|
||||
!<sys-apps/portage-2.1.6.7_p1
|
||||
!<sys-apps/paludis-0.26.0_alpha5"
|
||||
|
||||
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
|
||||
if use bashlogger ; then
|
||||
ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs."
|
||||
ewarn "This will log ALL output you enter into the shell, you have been warned."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.gz
|
||||
cd "${S}"
|
||||
|
||||
# Include official patches
|
||||
[[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
|
||||
cd lib/readline
|
||||
[[ ${READLINE_PLEVEL} -gt 0 ]] && epatch $(patches -s ${READLINE_PLEVEL} readline ${READLINE_VER})
|
||||
cd ../..
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-4.1-fbsd-eaccess.patch #303411
|
||||
|
||||
if ! use vanilla ; then
|
||||
sed -i '1i#define NEED_FPURGE_DECL' execute_cmd.c # needs fpurge() decl
|
||||
epatch "${FILESDIR}"/${PN}-4.1-parallel-build.patch
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=
|
||||
|
||||
# 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 \
|
||||
$(use bashlogger && echo -DSYSLOG_HISTORY)
|
||||
|
||||
# Always use the buildin readline, else if we update readline
|
||||
# bash gets borked as readline is usually not binary compadible
|
||||
# between minor versions.
|
||||
#myconf="${myconf} $(use_with !readline installed-readline)"
|
||||
myconf="${myconf} --without-installed-readline"
|
||||
|
||||
# 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="${myconf} --disable-nls"
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses
|
||||
myconf="${myconf} --with-curses"
|
||||
|
||||
myconf="${myconf} --without-lispdir" #335896
|
||||
|
||||
use plugins && append-ldflags -Wl,-rpath,/usr/$(get_libdir)/bash
|
||||
econf \
|
||||
$(use_with afs) \
|
||||
$(use_enable net net-redirections) \
|
||||
--disable-profiling \
|
||||
$(use_enable mem-scramble) \
|
||||
$(use_with mem-scramble bash-malloc) \
|
||||
${myconf} || die
|
||||
emake || die "make failed"
|
||||
|
||||
if use plugins ; then
|
||||
emake -C examples/loadables all others || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
|
||||
dodir /bin
|
||||
mv "${D}"/usr/bin/bash "${D}"/bin/ || die
|
||||
dosym bash /bin/rbash
|
||||
|
||||
insinto /etc/bash
|
||||
doins "${FILESDIR}"/{bashrc,bash_logout}
|
||||
insinto /etc/skel
|
||||
for f in bash{_logout,_profile,rc} ; do
|
||||
newins "${FILESDIR}"/dot-${f} .${f}
|
||||
done
|
||||
|
||||
sed -i -e "s:#${USERLAND}#@::" "${D}"/etc/skel/.bashrc "${D}"/etc/bash/bashrc
|
||||
sed -i -e '/#@/d' "${D}"/etc/skel/.bashrc "${D}"/etc/bash/bashrc
|
||||
|
||||
if use plugins ; then
|
||||
exeinto /usr/$(get_libdir)/bash
|
||||
doexe $(echo examples/loadables/*.o | sed 's:\.o::g') || die
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
for d in examples/{functions,misc,scripts,scripts.noah,scripts.v2} ; do
|
||||
exeinto /usr/share/doc/${PF}/${d}
|
||||
insinto /usr/share/doc/${PF}/${d}
|
||||
for f in ${d}/* ; do
|
||||
if [[ ${f##*/} != PERMISSION ]] && [[ ${f##*/} != *README ]] ; then
|
||||
doexe ${f}
|
||||
else
|
||||
doins ${f}
|
||||
fi
|
||||
done
|
||||
done
|
||||
fi
|
||||
|
||||
doman doc/*.1
|
||||
dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
|
||||
dosym bash.info /usr/share/info/bashref.info
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -e ${ROOT}/etc/bashrc ]] && [[ ! -d ${ROOT}/etc/bash ]] ; then
|
||||
mkdir -p "${ROOT}"/etc/bash
|
||||
mv -f "${ROOT}"/etc/bashrc "${ROOT}"/etc/bash/
|
||||
fi
|
||||
|
||||
if [[ -L ${ROOT}/bin/sh ]]; then
|
||||
# rewrite the symlink to ensure that its mtime changes. having /bin/sh
|
||||
# missing even temporarily causes a fatal error with paludis.
|
||||
local target=$(readlink "${ROOT}"/bin/sh)
|
||||
local tmp=$(emktemp "${ROOT}"/bin)
|
||||
ln -sf "${target}" "${tmp}"
|
||||
mv -f "${tmp}" "${ROOT}"/bin/sh
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# If /bin/sh does not exist, provide it
|
||||
if [[ ! -e ${ROOT}/bin/sh ]]; then
|
||||
ln -sf bash "${ROOT}"/bin/sh
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST curl-1.3.5.tar.gz 47734 SHA256 351fce6db46b14949de615b181d654712158bdcf9603601e1a90c9d786a6d67c SHA512 5949f833a1a772073dfc926a5124f809229e29136cd1c70eb324e85819af249ca607849616791059bf60ef5e507ff4e37e08c34b7951f503a80fae4b77716f08 WHIRLPOOL fd2cda51b8d6eec0783620cec93dc7391c39be69517e541e2a49523ceb4bf8d5473b53bdc9bacec28f5420523d851205c29c53d7c3272d371902c0c715889206
|
||||
DIST curl-1.3.7.tar.gz 51278 SHA256 f1410ca81fffff241678d287588b201285c6c9637d6db5d90af6952bc639cd44 SHA512 2d0aed3bffefebfca6af06a266abff626a335b17b8e804559dc4944aaf0cde1556a32c6be353bbe2945c65014f7f3b0db437831bef5e0e0c08d51e327e249556 WHIRLPOOL cb46b6139469ef7f4e5e749ebd4986f05dd9b5354c1654d3f130d4940203c5b47d527689630ceea8f50ea128f0198964bb4ee3260b303c5f41f2ef9b9551b7b4
|
||||
DIST curl-1.3.8.tar.gz 47704 SHA256 9087c936bfcdb865bad3166baa3f12bf37acf076fa76010e3b5f82a1d485446e SHA512 00012fc9b0a80b0d306f688bfb9cfbde8aa72045e6a139c0d8a0cdd7832b5e86ab06c6ea95803665f4bb8ec4e9af3dbc6e405f100985c2cfbaead8527ba7a382 WHIRLPOOL 2e4b8717836fe6c501d60866bb6f555625fc51e001039d08743d92bce082f469ee13591619d2aa0a6f3a2f3a37c35b66dce6798dbc98fcd4419ee474188210c7
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/curl/curl-1.3.8.ebuild,v 1.1 2012/11/19 11:51:49 gienah Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Haskell binding to libcurl"
|
||||
HOMEPAGE="http://hackage.haskell.org/package/curl"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/ghc-6.10.4:=
|
||||
net-misc/curl"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.6"
|
@ -1 +1,2 @@
|
||||
DIST SHA-1.5.0.0.tar.gz 2714032 SHA256 9361cf9dffb8640e435b7b61bc4922c7bdf4c26d96bb42de423ede4a570b5f8b SHA512 7899133f0a86807ef7760ffd55e3e43bdc8abd8493f6e9b3fbde76a74a792d6a27e19577258625b3043a03b60b532171d6ed1929081330107ed7250e67555689 WHIRLPOOL 312c037add03fef9ab60f5311d111c82f6b9fc5d438d04466b949e8974688d69880b98987b126f8e7b155d3798910c24607952dae5a988803c830ee99e91a443
|
||||
DIST SHA-1.6.0.tar.gz 2714319 SHA256 f37fc02aec825f341847c0e28207c35288af7ddbd87324c825d923307314bd44 SHA512 65fb3b9f6ac2d5806edb53499e290bc1f78aa25354e421723203a5e0099e242d77cc3741f975e81e35daac68b94b429746c33381909c7cb2bcf4cf1e6be553f5 WHIRLPOOL 549924408f71be607ddd3f39f22aa94c72f1aa564a6792036513e3779f87fc44e074ef6a489d3482c0fc3cdbf667f53c46ee5647bb99a6052644f7af7df90b50
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/sha/sha-1.6.0.ebuild,v 1.1 2012/11/19 12:20:13 gienah Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.9999
|
||||
|
||||
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
MY_PN="SHA"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Implementations of the SHA suite of message digest functions"
|
||||
HOMEPAGE="http://hackage.haskell.org/package/SHA"
|
||||
SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-haskell/binary:=[profile?]
|
||||
>=dev-lang/ghc-6.10.4:="
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.6"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
@ -1,2 +1,3 @@
|
||||
DIST Stream-0.2.6.tar.gz 4885 SHA256 ce2b94a81a91497d024177654521d219aaab4462a381eb70c8199fefbb52edde SHA512 fabbfbceeaac4347e3af02391cf90cf8e1875576f925c1e70f3117c51b597f7f7ab241597e6eb781c39708fd8ec396660a5d42d13905f78695e45432679e25b3 WHIRLPOOL 5ed3d21e8852e778e6db79e4913b64f9a6382ba778c13c4cc3aa33199e6aca6eeee37016f88474d756107ffb48f02a35728e00818aa15bec28af1bdf64ee1124
|
||||
DIST Stream-0.4.6.1.tar.gz 6126 SHA256 97d2820308caccbcc49f2345f3f00464dd3537702002be58c1596dd0b228e0a7 SHA512 ae2037dacbd81680fd3832ecd0f4d6b53b35cf5d83a6123b669662ae480063e6368c9510ffa422cc6f4aec90a359c0b0e9f1e7b96b37959099cd5357d0ded938 WHIRLPOOL c4cb1ae3fe99a3e00aec869a4550192778181fd17410e82eec98a316c06ffeafd032413102d2330c66fb0b9fce0ba6492db527f8667642e2728113f3d79b51c4
|
||||
DIST Stream-0.4.6.tar.gz 5875 SHA256 eb735016e0ad4547240e80546a8cbae4b92863cbdfea068c68bd37545b63f25e SHA512 290173c36e2ec89beca4d8aa9dc8547492439772663d7936abb97c997d785f88e1a6b20b18f8fac16705a7438f3dab09736042b88a796545126d8589569cd1a7 WHIRLPOOL 83a4e506a54cd564b467d4bc094b943132172f36f1884667858eb25a4ab1bb9019291260a9fc54cad6fafd14878dd536212aa6bc69a5b6455748e86d195359ed
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/stream/stream-0.4.6.1.ebuild,v 1.1 2012/11/19 12:12:40 gienah Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
MY_PN="Stream"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A library for manipulating infinite lists."
|
||||
HOMEPAGE="http://hackage.haskell.org/package/Stream"
|
||||
SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-haskell/lazysmallcheck-0.3:=[profile?]
|
||||
>=dev-haskell/quickcheck-2.0:=[profile?]
|
||||
>=dev-lang/ghc-6.10.4:="
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-0"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
@ -1 +1,2 @@
|
||||
DIST xml-types-0.3.3.tar.gz 3606 SHA256 963d3a195e3407b151692173422d3ec09a7e143fd08ed35503cc6a5cff836c4b SHA512 482f11053161eedd3c27a0c4eb428bb392864b6b043ea591664e2befc35ac9311fadb491d91786385560507c91b673be828d6b988be469123db84035d666fcef WHIRLPOOL 818700759676a9eb3377a68f89451cd0b1bccf08fc089553e630aea246f74ec386d5ec945c054cedd50fbdbbaf76c0ddbbcc89c6de23367b3736d30350e91eba
|
||||
DIST xml-types-0.3.tar.gz 3659 SHA256 c7531a5bc1009a1dc2e39f07d3a615a2fdfbfd3fdadca9995e47b162903e1d34 SHA512 5251b7856e28625d18b43985c2eec1b0994117c1e9a790f78f676983421dcdb382a421a16efcf0ae7110dc957beadb7118771bd95d457997bcf93ca905830c7d WHIRLPOOL f2a0f0a997baa4d52f1af9c4154921bb59a930f3908e7e9c97a780ebf6ff156720864a57c3d0145373a33adebb68ee69b350431876b7c0826aa7d6ab06c0578d
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/xml-types/xml-types-0.3.3.ebuild,v 1.1 2012/11/19 12:07:20 gienah Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Basic types for representing XML"
|
||||
HOMEPAGE="https://john-millikin.com/software/haskell-xml/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-haskell/text:=[profile?]
|
||||
>=dev-lang/ghc-6.10.4:="
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.6"
|
@ -1,3 +1,5 @@
|
||||
DIST libevent-2.0.19-stable.tar.gz 842961 SHA256 1591fb411a67876a514a33df54b85417b31e01800284bcc6894fc410c3eaea21 SHA512 c3b4c95b7d120d656f422b041b6b03de250c8f38f1251c34378c424f7babf572584d7761a09eca7028d88522cb664d9cd24563396eab0bde790b08194e2be705 WHIRLPOOL e61a10f831082b082d8c3533481be755a53214609fd5ee138931e11f2640c903de1d203035fe8ca3b0cd909ca701170d1b88cb5186f3239162b5b04c58c9d336
|
||||
DIST libevent-2.0.20-stable.tar.gz 845446 SHA256 10698a0e6abb3ca00b1c9e8cfddc66933bcc4c9c78b5600a7064c4c3ef9c6a24 SHA512 e5527b8cbb6e88e6049dc28bd7c74f133f7decc849f54b3a099033448369d24a756d81b9829a12078711a5f378bd93ac61f975990a41006e36b6cb4d222a9775 WHIRLPOOL d3e4399413ca48f22460a7ca9b9289b0947b57bec0295ca0d9a1cfe99d78d50308f0e8695f654b47c882343da9573ed9fa136472df385b1e25cd0e0114b3416d
|
||||
DIST libevent-2.0.21-stable.tar.gz 850772 SHA256 22a530a8a5ba1cb9c080cba033206b17dacd21437762155c6d30ee6469f574f5 SHA512 fbcdd12af9313ecc0f2988eb46ef03906b1c3aff96871a165eb8eae2cb650b1a3bb420dccf3a6bc3cdc192436d8dfc2ce67a7cc7d9e586f27be1fa52dd62dfa1 WHIRLPOOL e1d2571235770251b8a2d3f1565238909df307d7de2bb86eefeca136c76eba5f645cea951ec58fdc4f2e6bcd70b74d128ddf7df5aec4ee164fb2c6c52136989e
|
||||
DIST libevent-2.1.1-alpha.tar.gz 901846 SHA256 26ce17d91938fda67a98811d5c1360a6063b26fd3474e2b7b585c4db0e5d3eae SHA512 ef7b91888ad91fafa801016aad309d07ae296dc455386072071939d60aa73ae3b2837f60bf52fed4ece69ff6aafc3fa4c818a5b111f2a639096af03f4010209b WHIRLPOOL 6e9a208c38f958d1fbde97068fceedc86ef12c99a2ca7eb76988590624b8f4500068ea59098c15801dc99402702140e6fffe29b95af311afa96b739bafafdd62
|
||||
DIST libevent-2.1.2-alpha.tar.gz 910871 SHA256 039023e2ed00cbf222e33092d3be9ca34f3817b8513c751ae29d0265af9e4945 SHA512 1879d2a208c6e4e5d2fdf9b199e0929cc57b528856f1215163b6b410da5af5982a361efd262c9f3ff29ddf5239249609855e4837994371e66806ac6b51920e84 WHIRLPOOL b909cb61c5a25c93bb8f0a35594730bea357d34f3db892e319ec8a1c8906b8bdaf0477c8b151b50fcf82c3c8a7dbb6bf9ed45a11f39b0d0d4d38e9ed0c57fe86
|
||||
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2012 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.2 2012/11/19 21:12:52 jer Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
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 ~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}
|
||||
|
||||
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() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
dodoc README ChangeLog
|
||||
if ! use static-libs; then
|
||||
rm -f "${D}"/usr/lib*/libevent*.la
|
||||
fi
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/libevent-2.1.2.ebuild,v 1.2 2012/11/19 21:12:52 jer Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils libtool
|
||||
|
||||
MY_P="${P}-alpha"
|
||||
|
||||
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 ~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}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
DOCS="README ChangeLog*"
|
||||
|
||||
src_install() {
|
||||
default
|
||||
if ! use static-libs; then
|
||||
rm -f "${D}"/usr/lib*/libevent*.la
|
||||
fi
|
||||
}
|
@ -0,0 +1,109 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.9.2-r1.ebuild,v 1.1 2012/11/20 01:46:46 blueness Exp $
|
||||
|
||||
EAPI=3
|
||||
WANT_AUTOCONF="2.1"
|
||||
|
||||
inherit autotools eutils multilib toolchain-funcs versionator
|
||||
|
||||
MIN_PV="$(get_version_component_range 2)"
|
||||
|
||||
DESCRIPTION="Netscape Portable Runtime"
|
||||
HOMEPAGE="http://www.mozilla.org/projects/nspr/"
|
||||
SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug"
|
||||
|
||||
src_prepare() {
|
||||
mkdir build inst
|
||||
epatch "${FILESDIR}"/${PN}-4.8-config.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.6.1-config-1.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.6.1-lang.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.7.0-prtime.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.7.1-solaris.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.7.4-solaris.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.8.3-aix-gcc.patch
|
||||
# Patch needs updating
|
||||
#epatch "${FILESDIR}"/${PN}-4.8.3-aix-soname.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.8.4-darwin-install_name.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.8.9-link-flags.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.9.1-x32_v0.2.patch
|
||||
|
||||
# We must run eautoconf to regenerate configure
|
||||
cd "${S}"/mozilla/nsprpub
|
||||
eautoconf
|
||||
|
||||
# make sure it won't find Perl out of Prefix
|
||||
sed -i -e "s/perl5//g" "${S}"/mozilla/nsprpub/configure || die
|
||||
|
||||
# Respect LDFLAGS
|
||||
sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \
|
||||
"${S}"/mozilla/nsprpub/config/rules.mk || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cd "${S}"/build
|
||||
|
||||
echo > "${T}"/test.c
|
||||
$(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o
|
||||
case $(file "${T}"/test.o) in
|
||||
*32-bit*x86-64*|*64-bit*|*ppc64*|*x86_64*) myconf="${myconf} --enable-64bit";;
|
||||
*32-bit*|*ppc*|*i386*) ;;
|
||||
*) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";;
|
||||
esac
|
||||
myconf="${myconf} --libdir=${EPREFIX}/usr/$(get_libdir)"
|
||||
|
||||
LC_ALL="C" ECONF_SOURCE="../mozilla/nsprpub" econf \
|
||||
$(use_enable debug) \
|
||||
$(use_enable !debug optimize) \
|
||||
${myconf} || die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/build
|
||||
if tc-is-cross-compiler; then
|
||||
emake CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" \
|
||||
AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \
|
||||
-C config nsinstall || die "failed to build"
|
||||
mv config/{,native-}nsinstall
|
||||
sed -s 's#/nsinstall$#/native-nsinstall#' -i config/autoconf.mk
|
||||
rm config/nsinstall.o
|
||||
fi
|
||||
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
|
||||
AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" || die "failed to build"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
# Their build system is royally confusing, as usual
|
||||
MINOR_VERSION=${MIN_PV} # Used for .so version
|
||||
cd "${S}"/build
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
cd "${ED}"/usr/$(get_libdir)
|
||||
for file in *.a; do
|
||||
einfo "removing static libraries as upstream has requested!"
|
||||
rm -f ${file} || die "failed to remove static libraries."
|
||||
done
|
||||
|
||||
local n=
|
||||
# aix-soname.patch does this already
|
||||
[[ ${CHOST} == *-aix* ]] ||
|
||||
for file in *$(get_libname); do
|
||||
n=${file%$(get_libname)}$(get_libname ${MINOR_VERSION})
|
||||
mv ${file} ${n} || die "failed to mv files around"
|
||||
ln -s ${n} ${file} || die "failed to symlink files."
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${n}" ${n} || die
|
||||
fi
|
||||
done
|
||||
|
||||
# install nspr-config
|
||||
dobin "${S}"/build/config/nspr-config || die "failed to install nspr-config"
|
||||
|
||||
# Remove stupid files in /usr/bin
|
||||
rm -f "${ED}"/usr/bin/prerr.properties || die "failed to cleanup unneeded files"
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST Net-Whois-IP-1.10.tar.gz 25379 SHA256 f6fcf44ebc3ad683cfa711e80f3eddfc41a9473d9963d095c43e40d5c79862ad SHA512 0dd44a9329c30578163938cd75c1a660fbf2e03ae17adeeaf1b2d92b44af7ddd3ef53263a7e5702b7e591df27636c3445c72ec2b6cc48def4df15363e3bfe6a0 WHIRLPOOL 274fdb552e9386387cda7a02c4773fa619e3d008676a57e37db7ad6ec106453093d4c89537d06013dc03a80ede83db87c6c08ca993e4b5774d25ee1c2a310e55
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-Whois-IP/Net-Whois-IP-1.100.0.ebuild,v 1.1 2012/11/19 18:37:39 zerochaos Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_VERSION=${PV%0.0}
|
||||
MODULE_AUTHOR=BSCHMITZ
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl extension for looking up the whois information for ip addresses"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND=""
|
||||
|
||||
SRC_TEST="online"
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>perl</herd>
|
||||
<maintainer>
|
||||
<email>zerochaos@gentoo.org</email>
|
||||
<name>Rick Farina</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST oauthlib-0.1.3.tar.gz 24684 SHA256 6066c9c0ab07953f98870bc97d29f6defd066b6c215de74b9976666f3f6c3d40 SHA512 08153dfbad31616e6ee88d748c50626fcf62d72148c623a6589ab3124e9d2108fe37cf283db7f2116dd163fc45d8d4fa244a462a2fd9f13671a92eec42f08fb7 WHIRLPOOL d8e698de73626921f127895950d526bcb15749d5caed3405883fb6790d73732ea25fce24bf4b51da918866ceda484f2db64e2da2be74b4830f0a4fae4115bb56
|
||||
DIST oauthlib-0.3.0.tar.gz 43581 SHA256 8c62a18370b87fda3299bad4d4af2949e1bcb2d65519887ffcdcbcd00dfa9bf0 SHA512 7f69cc80cbaa9161e7b562bef475ea912373a0a1c2a84ee7d19d724db6e0f9d0f38cc9cf95672efcbf9e9200f7b4650a75ab8205fe004e6cdebf65fbddef7771 WHIRLPOOL 37e6e892fc451ad28ae650a6da89109c17495ca7a2453b4fddc99fd5773fb19d1f16f0889f181e7de17032156a5fe3c56751c50b8bc380287b330c0278ede7c9
|
||||
DIST oauthlib-0.3.3.tar.gz 44788 SHA256 4088ee61a499b27f4ac331938cf687dc30a3e7fe1a8acee1c4411850bbf319e9 SHA512 a33fd37c531ca95c3b5556248d0ad57c83187766f6a4f99ebb21f22ac325ef046f8e753253e05667892fa6ee90a719568fbf5d627450b37b6e1d00cbe321e9fc WHIRLPOOL c2a35961f0df34b6cfbf032189e6d47daed7a95fb6e1d852864d71a68ecb904a6adc1b05ec9391b540a1713a2e58a3fd3555437da3f0f9b452d4908d224a6892
|
||||
DIST oauthlib-0.3.4.tar.gz 54799 SHA256 7f3a2bc708c9667aa9e5071bde10bcaa1c07218b4f0c777383a98478ef47bdd3 SHA512 8cefd8120df5e1bc97de057c9771882d56afc0cfe2bf0025452c8f25a43723935b34edd108c5de3a54acb141577ee57e294d4621ef83a0bbf981788b7f89eaca WHIRLPOOL 92abbf92e68ca1f9b593d062f61bd18f9c16ac1796b1eee3257bf3620e607191e984d4760195a9671dc8fe3924df4acdbc1673456e84c4731a91ac14f67add53
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -31,7 +31,7 @@
|
||||
author_email='idan@gazit.me',
|
||||
url='https://github.com/idan/oauthlib',
|
||||
license=fread('LICENSE'),
|
||||
- packages=find_packages(exclude=('docs')),
|
||||
+ packages=find_packages(exclude=('docs','tests','tests.*')),
|
||||
test_suite='nose.collector',
|
||||
tests_require=tests_require,
|
||||
extras_require={'test': tests_require, 'rsa': rsa_require},
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pycrypto/pycrypto-2.6-r1.ebuild,v 1.1 2012/11/19 20:24:53 floppym Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="*"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-*"
|
||||
DISTUTILS_SRC_TEST="setup.py"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Python Cryptography Toolkit"
|
||||
HOMEPAGE="http://www.dlitz.net/software/pycrypto/ http://pypi.python.org/pypi/pycrypto"
|
||||
SRC_URI="http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/${P}.tar.gz"
|
||||
|
||||
LICENSE="PSF-2 public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="doc +gmp"
|
||||
|
||||
RDEPEND="gmp? ( dev-libs/gmp )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/docutils >=dev-python/epydoc-3 )"
|
||||
|
||||
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
|
||||
|
||||
DOCS="ACKS ChangeLog README TODO"
|
||||
PYTHON_MODNAME="Crypto"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with gmp) \
|
||||
--without-mpir
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
|
||||
if use doc; then
|
||||
einfo "Generation of documentation"
|
||||
rst2html.py Doc/pycrypt.rst > Doc/index.html
|
||||
PYTHONPATH="$(ls -d build-$(PYTHON --ABI -f)/lib.*)" epydoc --config=Doc/epydoc-config --exclude-introspect="^Crypto\.(Random\.OSRNG\.nt|Util\.winrandom)$" || die "Generation of documentation failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
dohtml Doc/apidoc/* Doc/index.html
|
||||
fi
|
||||
}
|
@ -1 +1 @@
|
||||
DIST python-poppler-qt4-0.16.2.tar.gz 13513 SHA256 a37cf5f946633cf1d513d9f3c96d40fbc7e069f8d0ffe191e09196fb774efca5 SHA512 7a3c3556d089a721a7f2b542a2bec19171252aa96f27612de3d13c25b0bed0fdeab25b4b6041cbd29558ee79104f86394f3de0a7a57f7d323936721a3bc0c0d3 WHIRLPOOL 3c1c83701e04b0829c3998e5e561bb120c560c705fd7bcf37cc7248a67239863465dc112836f018501fd84c416fbb9c82ed6a463b400be4bfb265423d5335cbf
|
||||
DIST python-poppler-qt4-0.16.3.tar.gz 15345 SHA256 52232383b273038027a881db7e46879b73cccf690d393f677e7496e19cfb59aa SHA512 b0324a029e2245fdaf913fc9073c88b3d1c0043421fcc55ce0d4523497f26362c7a734a2d88b1fed86221f5abced15a4e1374c0db8b02c418d33c272ba91bb7c WHIRLPOOL 071f12db5e90f5877a12505659a99c89e1f59ee3142dc06883e4de08598fae729cbe0b011668665968e05c902ef25d3549608a4216da0f59e9030c880b059605
|
||||
|
@ -1,383 +0,0 @@
|
||||
--- poppler-qt4.sip
|
||||
+++ poppler-qt4.sip
|
||||
@@ -9,6 +9,8 @@
|
||||
POPPLER_V0_12_1
|
||||
POPPLER_V0_14_0
|
||||
POPPLER_V0_16_0
|
||||
+ POPPLER_V0_18_0
|
||||
+ POPPLER_V0_20_0
|
||||
}
|
||||
|
||||
%Include types.sip
|
||||
--- poppler-annotation.sip
|
||||
+++ poppler-annotation.sip
|
||||
@@ -45,6 +45,7 @@
|
||||
void setFlags( int flags );
|
||||
QRectF boundary() const;
|
||||
void setBoundary( const QRectF &boundary );
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
struct Style {
|
||||
// appearance properties
|
||||
QColor color; // black
|
||||
@@ -92,12 +93,18 @@
|
||||
|
||||
// QLinkedList< Poppler::Annotation::Revision >& revisions();
|
||||
const QLinkedList< Poppler::Annotation::Revision >& revisions() const;
|
||||
+%End
|
||||
virtual SubType subType() const = 0;
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
virtual void store( QDomNode & parentNode, QDomDocument & document ) const;
|
||||
+%End
|
||||
virtual ~Annotation();
|
||||
|
||||
private:
|
||||
Annotation(const Poppler::Annotation&);
|
||||
+%If(POPPLER_V0_20_0 -)
|
||||
+ virtual void store( QDomNode & parentNode, QDomDocument & document ) const;
|
||||
+%End
|
||||
|
||||
%ConvertToSubClassCode
|
||||
switch (sipCpp->subType()) {
|
||||
@@ -151,17 +158,23 @@
|
||||
%End
|
||||
|
||||
public:
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
TextAnnotation();
|
||||
TextAnnotation( const QDomNode &node );
|
||||
+%End
|
||||
virtual ~TextAnnotation();
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
virtual void store( QDomNode &parentNode, QDomDocument &document ) const;
|
||||
+%End
|
||||
virtual SubType subType() const;
|
||||
|
||||
enum TextType { Linked, InPlace };
|
||||
enum InplaceIntent { Unknown, Callout, TypeWriter };
|
||||
|
||||
TextType textType() const;
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
void setTextType( TextType type );
|
||||
+%End
|
||||
|
||||
QString textIcon() const;
|
||||
void setTextIcon( const QString &icon );
|
||||
@@ -176,12 +189,20 @@
|
||||
void setInplaceText( const QString &text );
|
||||
|
||||
QPointF calloutPoint( int id ) const;
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
void setCalloutPoint( int id, const QPointF &point );
|
||||
+%End
|
||||
|
||||
InplaceIntent inplaceIntent() const;
|
||||
void setInplaceIntent( InplaceIntent intent );
|
||||
|
||||
private:
|
||||
+%If(POPPLER_V0_20_0 -)
|
||||
+ TextAnnotation();
|
||||
+ TextAnnotation( const QDomNode &node );
|
||||
+ virtual void store( QDomNode &parentNode, QDomDocument &document ) const;
|
||||
+ void setTextType( TextType type );
|
||||
+%End
|
||||
TextAnnotation(const Poppler::TextAnnotation&);
|
||||
|
||||
}; // class TextAnnotation
|
||||
@@ -194,10 +215,14 @@
|
||||
%End
|
||||
|
||||
public:
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
LineAnnotation();
|
||||
LineAnnotation( const QDomNode &node );
|
||||
+%End
|
||||
virtual ~LineAnnotation();
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
virtual void store( QDomNode &parentNode, QDomDocument &document ) const;
|
||||
+%End
|
||||
virtual SubType subType() const;
|
||||
|
||||
enum TermStyle { Square, Circle, Diamond, OpenArrow, ClosedArrow, None,
|
||||
@@ -232,6 +257,11 @@
|
||||
void setLineIntent( LineIntent intent );
|
||||
|
||||
private:
|
||||
+%If(POPPLER_V0_20_0 -)
|
||||
+ LineAnnotation();
|
||||
+ LineAnnotation( const QDomNode &node );
|
||||
+ virtual void store( QDomNode &parentNode, QDomDocument &document ) const;
|
||||
+%End
|
||||
LineAnnotation(const Poppler::LineAnnotation&);
|
||||
|
||||
}; // class LineAnnotation
|
||||
@@ -244,10 +274,14 @@
|
||||
%End
|
||||
|
||||
public:
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
GeomAnnotation();
|
||||
GeomAnnotation( const QDomNode &node );
|
||||
+%End
|
||||
virtual ~GeomAnnotation();
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
virtual void store( QDomNode &parentNode, QDomDocument &document ) const;
|
||||
+%End
|
||||
virtual SubType subType() const;
|
||||
|
||||
enum GeomType { InscribedSquare, InscribedCircle };
|
||||
@@ -258,10 +292,17 @@
|
||||
QColor geomInnerColor() const;
|
||||
void setGeomInnerColor( const QColor &color );
|
||||
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
int geomPointWidth() const;
|
||||
void setGeomPointWidth( int width );
|
||||
+%End
|
||||
|
||||
private:
|
||||
+%If(POPPLER_V0_20_0 -)
|
||||
+ GeomAnnotation();
|
||||
+ GeomAnnotation( const QDomNode &node );
|
||||
+ virtual void store( QDomNode &parentNode, QDomDocument &document ) const;
|
||||
+%End
|
||||
GeomAnnotation(const Poppler::GeomAnnotation&);
|
||||
|
||||
}; // class GeomAnnotation
|
||||
@@ -274,10 +315,14 @@
|
||||
%End
|
||||
|
||||
public:
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
HighlightAnnotation();
|
||||
HighlightAnnotation( const QDomNode &node );
|
||||
+%End
|
||||
virtual ~HighlightAnnotation();
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
virtual void store( QDomNode &parentNode, QDomDocument &document ) const;
|
||||
+%End
|
||||
virtual SubType subType() const;
|
||||
enum HighlightType {
|
||||
Highlight,
|
||||
@@ -341,6 +386,11 @@
|
||||
void setHighlightQuads( const QList< Poppler::HighlightAnnotation::Quad > &quads );
|
||||
|
||||
private:
|
||||
+%If(POPPLER_V0_20_0 -)
|
||||
+ HighlightAnnotation();
|
||||
+ HighlightAnnotation( const QDomNode &node );
|
||||
+ virtual void store( QDomNode &parentNode, QDomDocument &document ) const;
|
||||
+%End
|
||||
HighlightAnnotation(const Poppler::HighlightAnnotation&);
|
||||
|
||||
}; // class HighlightAnnotation
|
||||
@@ -353,13 +403,25 @@
|
||||
%End
|
||||
|
||||
public:
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
StampAnnotation();
|
||||
StampAnnotation( const QDomNode &node );
|
||||
+%End
|
||||
virtual ~StampAnnotation();
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
virtual void store( QDomNode &parentNode, QDomDocument &document ) const;
|
||||
+%End
|
||||
virtual SubType subType() const;
|
||||
QString stampIconName() const;
|
||||
void setStampIconName( const QString &name );
|
||||
+
|
||||
+private:
|
||||
+%If(POPPLER_V0_20_0 -)
|
||||
+ StampAnnotation();
|
||||
+ StampAnnotation( const QDomNode &node );
|
||||
+ virtual void store( QDomNode &parentNode, QDomDocument &document ) const;
|
||||
+%End
|
||||
+
|
||||
}; // class StampAnnotation
|
||||
|
||||
|
||||
@@ -370,15 +432,24 @@
|
||||
%End
|
||||
|
||||
public:
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
InkAnnotation();
|
||||
InkAnnotation( const QDomNode &node );
|
||||
+%End
|
||||
virtual ~InkAnnotation();
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
virtual void store( QDomNode &parentNode, QDomDocument &document ) const;
|
||||
+%End
|
||||
virtual SubType subType() const;
|
||||
QList< QLinkedList<QPointF> > inkPaths() const;
|
||||
void setInkPaths( const QList< QLinkedList<QPointF> > &paths );
|
||||
|
||||
private:
|
||||
+%If(POPPLER_V0_20_0 -)
|
||||
+ InkAnnotation();
|
||||
+ InkAnnotation( const QDomNode &node );
|
||||
+ virtual void store( QDomNode &parentNode, QDomDocument &document ) const;
|
||||
+%End
|
||||
InkAnnotation(const Poppler::InkAnnotation&);
|
||||
|
||||
}; // class InkAnnotation
|
||||
@@ -391,15 +462,24 @@
|
||||
%End
|
||||
|
||||
public:
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
LinkAnnotation();
|
||||
LinkAnnotation( const QDomNode &node );
|
||||
+%End
|
||||
virtual ~LinkAnnotation();
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
virtual void store( QDomNode &parentNode, QDomDocument &document ) const;
|
||||
+%End
|
||||
virtual SubType subType() const;
|
||||
|
||||
enum HighlightMode { None, Invert, Outline, Push };
|
||||
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
Poppler::Link* linkDestionation() const;
|
||||
+%End
|
||||
+%If(POPPLER_V0_20_0 -)
|
||||
+ Poppler::Link* linkDestination() const;
|
||||
+%End
|
||||
void setLinkDestination( Poppler::Link *link );
|
||||
|
||||
HighlightMode linkHighlightMode() const;
|
||||
@@ -409,6 +489,11 @@
|
||||
void setLinkRegionPoint( int id, const QPointF &point );
|
||||
|
||||
private:
|
||||
+%If(POPPLER_V0_20_0 -)
|
||||
+ LinkAnnotation();
|
||||
+ LinkAnnotation( const QDomNode &node );
|
||||
+ virtual void store( QDomNode &parentNode, QDomDocument &document ) const;
|
||||
+%End
|
||||
LinkAnnotation(const Poppler::LinkAnnotation&);
|
||||
|
||||
}; // class LinkAnnotation
|
||||
@@ -421,16 +506,25 @@
|
||||
%End
|
||||
|
||||
public:
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
CaretAnnotation();
|
||||
CaretAnnotation( const QDomNode &node );
|
||||
+%End
|
||||
virtual ~CaretAnnotation();
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
virtual void store( QDomNode &parentNode, QDomDocument &document ) const;
|
||||
+%End
|
||||
virtual SubType subType() const;
|
||||
enum CaretSymbol { None, P };
|
||||
CaretSymbol caretSymbol() const;
|
||||
void setCaretSymbol( CaretSymbol symbol );
|
||||
|
||||
private:
|
||||
+%If(POPPLER_V0_20_0 -)
|
||||
+ CaretAnnotation();
|
||||
+ CaretAnnotation( const QDomNode &node );
|
||||
+ virtual void store( QDomNode &parentNode, QDomDocument &document ) const;
|
||||
+%End
|
||||
CaretAnnotation(const Poppler::CaretAnnotation&);
|
||||
|
||||
}; // class CaretAnnotation
|
||||
@@ -443,10 +537,14 @@
|
||||
%End
|
||||
|
||||
public:
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
FileAttachmentAnnotation();
|
||||
FileAttachmentAnnotation( const QDomNode &node );
|
||||
+%End
|
||||
virtual ~FileAttachmentAnnotation();
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
virtual void store( QDomNode &parentNode, QDomDocument &document ) const;
|
||||
+%End
|
||||
virtual SubType subType() const;
|
||||
QString fileIconName() const;
|
||||
void setFileIconName( const QString &icon );
|
||||
@@ -454,6 +552,11 @@
|
||||
void setEmbeddedFile( Poppler::EmbeddedFile *ef );
|
||||
|
||||
private:
|
||||
+%If(POPPLER_V0_20_0 -)
|
||||
+ FileAttachmentAnnotation();
|
||||
+ FileAttachmentAnnotation( const QDomNode &node );
|
||||
+ virtual void store( QDomNode &parentNode, QDomDocument &document ) const;
|
||||
+%End
|
||||
FileAttachmentAnnotation(const Poppler::FileAttachmentAnnotation&);
|
||||
|
||||
}; // class FileAttachmentAnnotation
|
||||
@@ -466,10 +569,14 @@
|
||||
%End
|
||||
|
||||
public:
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
SoundAnnotation();
|
||||
SoundAnnotation( const QDomNode &node );
|
||||
+%End
|
||||
virtual ~SoundAnnotation();
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
virtual void store( QDomNode &parentNode, QDomDocument &document ) const;
|
||||
+%End
|
||||
virtual SubType subType() const;
|
||||
QString soundIconName() const;
|
||||
void setSoundIconName( const QString &icon );
|
||||
@@ -477,6 +584,11 @@
|
||||
void setSound( Poppler::SoundObject *ef );
|
||||
|
||||
private:
|
||||
+%If(POPPLER_V0_20_0 -)
|
||||
+ SoundAnnotation();
|
||||
+ SoundAnnotation( const QDomNode &node );
|
||||
+ virtual void store( QDomNode &parentNode, QDomDocument &document ) const;
|
||||
+%End
|
||||
SoundAnnotation(const Poppler::SoundAnnotation&);
|
||||
|
||||
}; // class SoundAnnotation
|
||||
@@ -489,10 +601,14 @@
|
||||
%End
|
||||
|
||||
public:
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
MovieAnnotation();
|
||||
MovieAnnotation( const QDomNode &node );
|
||||
+%End
|
||||
virtual ~MovieAnnotation();
|
||||
+%If(- POPPLER_V0_18_0)
|
||||
virtual void store( QDomNode &parentNode, QDomDocument &document ) const;
|
||||
+%End
|
||||
virtual SubType subType() const;
|
||||
|
||||
Poppler::MovieObject* movie() const;
|
||||
@@ -501,6 +617,11 @@
|
||||
void setMovieTitle( const QString &title );
|
||||
|
||||
private:
|
||||
+%If(POPPLER_V0_20_0 -)
|
||||
+ MovieAnnotation();
|
||||
+ MovieAnnotation( const QDomNode &node );
|
||||
+ virtual void store( QDomNode &parentNode, QDomDocument &document ) const;
|
||||
+%End
|
||||
MovieAnnotation(const Poppler::MovieAnnotation&);
|
||||
|
||||
}; // class MovieAnnotation
|
||||
--- setup.py
|
||||
+++ setup.py
|
||||
@@ -131,8 +131,12 @@
|
||||
tag = 'POPPLER_V0_12_1'
|
||||
elif ver < (0, 16, 0):
|
||||
tag = 'POPPLER_V0_14_0'
|
||||
+ elif ver < (0, 18, 0):
|
||||
+ tag = 'POPPLER_V0_16_0'
|
||||
+ elif ver < (0, 20, 0):
|
||||
+ tag = 'POPPLER_V0_18_0'
|
||||
else:
|
||||
- tag = 'POPPLER_V0_16_0'
|
||||
+ tag = 'POPPLER_V0_20_0'
|
||||
|
||||
cmd = [sip_bin]
|
||||
if hasattr(self, 'sip_opts'):
|
@ -0,0 +1 @@
|
||||
DIST 7kaa-data-2.13.tar.bz2 37107989 SHA256 b02052502b382dd78fdabaef0b378c0a3e85d91fe21fb067d47d1ebfe02d4294 SHA512 4aab4e7a75c5824e3312444f2b8135c92d6bfe5a280e7e39a8b2e76871c7bd21dea2342f72d54326360e91c370449ab61c422179e16bb7c623260e006494bdbc WHIRLPOOL 043fe879b567546dcf146d8f5a0a2538397b7cecf21bba66e4190995b56bf4281f482066bdee410448b48b49fcf59f2a094edf5863ce35ed8b92912e3a04e243
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>pinkbyte@gentoo.org</email>
|
||||
<name>Sergey Popov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-strategy/seven-kingdoms-data/seven-kingdoms-data-2.13.ebuild,v 1.1 2012/11/19 14:39:43 pinkbyte Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit games
|
||||
|
||||
MY_PN="7kaa"
|
||||
|
||||
DESCRIPTION="Seven Kingdoms: Ancient Adversaries game data files"
|
||||
HOMEPAGE="http://7kfans.com/"
|
||||
SRC_URI="mirror://sourceforge/skfans/${MY_PN}-data-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}"
|
||||
|
||||
src_install() {
|
||||
# Install readme and remove unneeded files
|
||||
newdoc README-GameData README
|
||||
rm README-GameData COPYING || die 'rm failed'
|
||||
|
||||
# Install game data
|
||||
insinto "${GAMES_DATADIR}/${MY_PN}"
|
||||
doins -r *
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog 'This tarball does not contain music files for Seven Kingodoms, as said on 7kfans.com:'
|
||||
elog '"The music is the work of Bjorn Lynne Copyright (c) 1997, and is not provided under the GPL.'
|
||||
elog 'It may be freely downloaded and used with Seven Kingdoms, but not modified or repurposed into derivative works."'
|
||||
elog
|
||||
games_pkg_postinst
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
DIST 7kaa-source-2.14.3.tar.bz2 1181479 SHA256 9d3ba6e4d72495cf83eec922714f818c68974e9ad62e934608676d93a4b48aef SHA512 68ac040f8c9a717337a68e066ea54ce5448df04ecae7721e3b5f94a35871ab973a609e851b44cc73d212ff487e4eca4a2e1980eab7fd0ca92ad08c481ec808cc WHIRLPOOL f01a0bc3c7524d6532bdc4167c7ce3babe15b0092d0721a0b5d5793cb93c473ae2fe8e2f2adb663847f0060ebe27d2568928e72ce4f5bd9e3d0ad0a3b4803fd9
|
||||
DIST 7kaa.png 559 SHA256 354f64479b55df2021ca67366abb4724218ca3676fde9e735bfb2218bc1559f4 SHA512 0ec1ba67107a7823943704879efaf12297c5441c43b54f49684550927b10dc40c657fe93eb7c4cc85208d08194f179c9602fd8df6545776f3e1b4481803b16e6 WHIRLPOOL cb896939453d8ed6fc425931bb1f5b74c62aeea67e71e4645fe79fc69fb13fae89d4959651fd95dcbb416c378b4ef44873dc6ebdabc1f2bb1fed3753332209da
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>pinkbyte@gentoo.org</email>
|
||||
<name>Sergey Popov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-strategy/seven-kingdoms/seven-kingdoms-2.14.3.ebuild,v 1.1 2012/11/19 14:41:50 pinkbyte Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
inherit autotools-utils games
|
||||
|
||||
MY_PN="7kaa"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Seven Kingdoms: Ancient Adversaries"
|
||||
HOMEPAGE="http://7kfans.com/"
|
||||
SRC_URI="mirror://sourceforge/skfans/${MY_PN}-source-${PV}.tar.bz2
|
||||
http://dev.gentoo.org/~pinkbyte/distfiles/${MY_PN}.png"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="media-libs/libsdl
|
||||
media-libs/sdl-net
|
||||
media-libs/openal"
|
||||
RDEPEND="${DEPEND}"
|
||||
PDEPEND="games-strategy/seven-kingdoms-data"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DOCS=( README )
|
||||
|
||||
src_configure() {
|
||||
# In current state debugging works only on Windows :-/
|
||||
egamesconf \
|
||||
--disable-debug \
|
||||
--without-directx \
|
||||
--without-wine \
|
||||
--program-suffix=".bin" \
|
||||
--datadir="${GAMES_DATADIR}/${MY_PN}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
|
||||
doicon "${DISTDIR}/${MY_PN}.png"
|
||||
games_make_wrapper "${MY_PN}" "${GAMES_BINDIR}/${MY_PN}.bin" "${GAMES_DATADIR}/${MY_PN}"
|
||||
make_desktop_entry "${MY_PN}" "Seven Kingdoms: Ancient Adversaries" "${MY_PN}" "Game;StrategyGame"
|
||||
|
||||
prepgamesdirs
|
||||
}
|
@ -0,0 +1,134 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r2.ebuild,v 1.1 2012/11/19 11:33:23 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib prefix versionator
|
||||
|
||||
MY_PV="$(get_version_component_range 1-2)"
|
||||
MY_DATE="April2012"
|
||||
|
||||
DESCRIPTION="NVIDIA's C graphics compiler toolkit"
|
||||
HOMEPAGE="http://developer.nvidia.com/object/cg_toolkit.html"
|
||||
X86_URI="http://developer.download.nvidia.com/cg/Cg_${MY_PV}/Cg-${MY_PV}_${MY_DATE}_x86.tgz"
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
http://developer.download.nvidia.com/cg/Cg_${MY_PV}/Cg-${MY_PV}_${MY_DATE}_x86_64.tgz
|
||||
multilib? ( ${X86_URI} )
|
||||
)
|
||||
x86? ( ${X86_URI} )"
|
||||
|
||||
LICENSE="NVIDIA"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc examples multilib"
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/freeglut
|
||||
multilib? ( amd64? ( app-emulation/emul-linux-x86-xlibs ) )
|
||||
x86? ( virtual/libstdc++:3.3 )"
|
||||
DEPEND=""
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
DEST=/opt/${PN}
|
||||
|
||||
QA_PREBUILT="${DEST}/*"
|
||||
|
||||
src_unpack() {
|
||||
local i
|
||||
if use multilib && use amd64; then
|
||||
mkdir {32,64}bit || die
|
||||
for i in $A; do
|
||||
if [[ "$i" =~ .*x86_64.* ]]; then
|
||||
pushd 64bit > /dev/null
|
||||
unpack "$i"
|
||||
popd > /dev/null
|
||||
else
|
||||
pushd 32bit > /dev/null
|
||||
unpack "$i"
|
||||
popd > /dev/null
|
||||
fi
|
||||
done
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
install_pkgconfig() {
|
||||
# Two args: .pc file + abi
|
||||
local suffix
|
||||
use amd64 && use multilib && [[ $2 == x86 ]] && suffix="-32"
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
sed \
|
||||
-e "s:GENTOO_LIBDIR:$(ABI=$2 get_libdir):g" \
|
||||
-e "s:DESCRIPTION:${DESCRIPTION}:g" \
|
||||
-e "s:VERSION:${PV}:g" \
|
||||
-e "s|HOMEPAGE|${HOMEPAGE}|g" \
|
||||
-e "s:SUFFIX:${suffix}:g" \
|
||||
"${FILESDIR}/${1}.in" > "${T}/${1/.pc/${suffix}.pc}" || die
|
||||
eprefixify "${T}/${1/.pc/${suffix}.pc}"
|
||||
doins "${T}/${1/.pc/${suffix}.pc}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local ldpath
|
||||
into ${DEST}
|
||||
if use multilib && use amd64; then
|
||||
cd 64bit
|
||||
fi
|
||||
|
||||
dobin usr/bin/{cgc,cgfxcat,cginfo}
|
||||
|
||||
if use x86; then
|
||||
dolib usr/lib/*
|
||||
ldpath="${EPREFIX}${DEST}/$(get_libdir)"
|
||||
install_pkgconfig nvidia-cg-toolkit.pc x86
|
||||
install_pkgconfig nvidia-cg-toolkit-gl.pc x86
|
||||
elif use amd64; then
|
||||
dolib usr/lib64/*
|
||||
ldpath="${EPREFIX}${DEST}/$(get_libdir)"
|
||||
install_pkgconfig nvidia-cg-toolkit.pc amd64
|
||||
install_pkgconfig nvidia-cg-toolkit-gl.pc amd64
|
||||
if use multilib; then
|
||||
ldpath+=":${EPREFIX}${DEST}/lib32"
|
||||
pushd ../32bit > /dev/null
|
||||
ABI="x86" dolib usr/lib/*
|
||||
popd > /dev/null
|
||||
install_pkgconfig nvidia-cg-toolkit.pc x86
|
||||
install_pkgconfig nvidia-cg-toolkit-gl.pc x86
|
||||
fi
|
||||
fi
|
||||
|
||||
sed \
|
||||
-e "s|ELDPATH|${ldpath}|g" \
|
||||
"${FILESDIR}"/80cgc-opt-2 > "${T}"/80cgc-opt || die
|
||||
eprefixify "${T}"/80cgc-opt
|
||||
doenvd "${T}"/80cgc-opt
|
||||
|
||||
insinto ${DEST}/include
|
||||
doins -r usr/include/Cg
|
||||
|
||||
insinto ${DEST}
|
||||
dodoc usr/local/Cg/README
|
||||
if use doc; then
|
||||
dodoc usr/local/Cg/docs/*.{txt,pdf}
|
||||
dohtml -r usr/local/Cg/docs/html/*
|
||||
fi
|
||||
if use examples; then
|
||||
insinto /usr/share/${PN}
|
||||
doins -r usr/local/Cg/examples
|
||||
fi
|
||||
find usr/local/Cg/{docs,examples,README} -delete
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${REPLACING_VERSIONS} < 2.1.0016 ]]; then
|
||||
einfo "Starting with ${CATEGORY}/${PN}-2.1.0016, ${PN} is installed in"
|
||||
einfo "${DEST}. Packages might have to add something like:"
|
||||
einfo " append-cppflags -I${DEST}/include"
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST glfw-2.6.tar.bz2 886843 SHA256 1b86ca8c5678fbf6999a0bfbe50de121f8aec9c07bf2383306819caebe3edfca SHA512 4161b6f447c245f982f779da9ca790a91f4bebbffbe4ea024220d856311ebf8d5755ce4481b8667bcb964ea58ce689019ee09c004f69f81df53ee834e6792163 WHIRLPOOL 24ada131512368a7e3f696b2accd3b1ee0df0948eb977df2de3ba932d7c1378d951b2aa9d48d7e8d4c1497c0ee5a8617e79904952ac6d7ca547af69ec4117dcd
|
||||
DIST glfw-2.7.7.tar.bz2 927805 SHA256 422e755979524a1da28e4addcae723b7132998ca15e89be41bf34964d9360aa2 SHA512 1b51b9d88c8eed9da8084421949b561a4779410a6369ffdf482c2d8a166bab8c58bbb087ef6f32180d3fe9430988549be5c183b338dd0e1191b2c4b4a7b55379 WHIRLPOOL 646d38fd3ea88e8aa19dcbfa8f8b933adc530ea946cd51c3e03971ed6cdb294dadf5020a876ba298c378896179a4a7ba0129b858fc7f1273a574fe1c2c388a77
|
||||
|
@ -0,0 +1,31 @@
|
||||
--- lib/x11/Makefile.x11.in
|
||||
+++ lib/x11/Makefile.x11.in
|
||||
@@ -8,7 +8,7 @@
|
||||
##########################################################################
|
||||
# Default: Build GLFW static library
|
||||
##########################################################################
|
||||
-all: libglfw.a libglfw.so
|
||||
+all: libglfw.a libglfw.so.2.7.7
|
||||
|
||||
|
||||
##########################################################################
|
||||
@@ -112,7 +112,7 @@
|
||||
##########################################################################
|
||||
# Rule for building shared library
|
||||
##########################################################################
|
||||
-libglfw.so: $(SHARED_OBJS)
|
||||
+libglfw.so.2.7.7: $(SHARED_OBJS)
|
||||
$(CC) $(SOFLAGS) -o $@ $(SHARED_OBJS) $(LFLAGS) $(LIBS)
|
||||
|
||||
|
||||
--- compile.sh
|
||||
+++ compile.sh
|
||||
@@ -88,7 +88,7 @@
|
||||
case "x`uname 2> /dev/null`" in
|
||||
xLinux)
|
||||
GLFW_LIB_CFLAGS="$GLFW_LIB_CFLAGS -D_GLFW_USE_LINUX_JOYSTICKS"
|
||||
- SOFLAGS="-shared -Wl,-soname,libglfw.so"
|
||||
+ SOFLAGS="-shared -Wl,-soname,libglfw.so.2.7.7"
|
||||
echo "Linux" 1>&6
|
||||
;;
|
||||
xDarwin)
|
@ -0,0 +1,37 @@
|
||||
support libsuffix, fix version
|
||||
|
||||
--- lib/x11/Makefile.x11.in
|
||||
+++ lib/x11/Makefile.x11.in
|
||||
@@ -3,6 +3,7 @@
|
||||
# Installation prefix (default to /usr/local)
|
||||
##########################################################################
|
||||
PREFIX ?= /usr/local
|
||||
+LIBDIR ?= lib
|
||||
|
||||
|
||||
##########################################################################
|
||||
@@ -99,7 +100,7 @@
|
||||
# Rule for building libglfw.pc
|
||||
##########################################################################
|
||||
libglfw.pc: libglfw.pc.in
|
||||
- $(SED) -e 's,\@PREFIX\@,$(PREFIX),' libglfw.pc.in > libglfw.pc
|
||||
+ $(SED) -e 's,\@PREFIX\@,$(PREFIX),' -e 's,\@LIBDIR@,$(LIBDIR),' libglfw.pc.in > libglfw.pc
|
||||
|
||||
|
||||
##########################################################################
|
||||
--- compile.sh
|
||||
+++ compile.sh
|
||||
@@ -734,11 +734,11 @@
|
||||
prefix=@PREFIX@
|
||||
exec_prefix=\${prefix}
|
||||
includedir=\${prefix}/include
|
||||
-libdir=\${exec_prefix}/lib
|
||||
+libdir=\${exec_prefix}/@LIBDIR@
|
||||
|
||||
Name: GLFW
|
||||
Description: A portable framework for OpenGL development
|
||||
-Version: 2.7.4
|
||||
+Version: 2.7.7
|
||||
URL: http://www.glfw.org/
|
||||
Requires.private: gl x11 $PKG_LIBS
|
||||
Libs: -L\${libdir} -lglfw $LFLAGS_THREAD $LFLAGS_CLOCK
|
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/glfw-2.7.7.ebuild,v 1.1 2012/11/19 20:48:37 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="The Portable OpenGL FrameWork"
|
||||
HOMEPAGE="http://glfw.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
DEPEND="x11-libs/libX11
|
||||
x11-libs/libXrandr
|
||||
virtual/glu
|
||||
virtual/opengl"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "s:\"docs/:\"/usr/share/doc/${PF}/pdf/:" \
|
||||
readme.html \
|
||||
|| die "sed failed"
|
||||
|
||||
epatch "${FILESDIR}"/${P}-{dyn,pkgconfig}.patch
|
||||
|
||||
# respect ldflags
|
||||
sed -i \
|
||||
-e "s/\$(LFLAGS)/\$(LDFLAGS) \$(LFLAGS)/" \
|
||||
{lib/x11,examples}/Makefile.x11.in || die "sed Makefile.x11.in failed"
|
||||
|
||||
# respect cflags in linking command
|
||||
# build system is messing up CFLAGS variable, so sed is the easy way to go
|
||||
sed -i \
|
||||
-e "/^libglfw.so/{n;s/\$(CC)/\$(CC) ${CFLAGS}/;}" \
|
||||
lib/x11/Makefile.x11.in \
|
||||
|| die "sed Makefile.x11.in failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
sh ./compile.sh
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -C lib/x11 AR=$(tc-getAR) CC=$(tc-getCC) PREFIX=/usr LIBDIR=$(get_libdir) -f Makefile.x11 all libglfw.pc
|
||||
use examples && emake -C examples CC=$(tc-getCC) -f Makefile.x11 all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib.a lib/x11/libglfw.a
|
||||
dolib.so lib/x11/libglfw.so.2.7.7
|
||||
dosym libglfw.so.2.7.7 /usr/$(get_libdir)/libglfw.so
|
||||
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins lib/x11/libglfw.pc
|
||||
doheader -r include/GL
|
||||
dohtml -r readme.html
|
||||
insinto /usr/share/doc/${PF}/pdf
|
||||
doins docs/*.pdf
|
||||
dodoc docs/readme.txt
|
||||
|
||||
if use examples; then
|
||||
local f
|
||||
local MY_EXAMPLES="boing gears listmodes mipmaps
|
||||
mtbench mthello particles pong3d splitview
|
||||
triangle wave"
|
||||
local MY_PICS="mipmaps.tga pong3d_field.tga pong3d_instr.tga
|
||||
pong3d_menu.tga pong3d_title.tga
|
||||
pong3d_winner1.tga pong3d_winner2.tga"
|
||||
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
|
||||
doins examples/Makefile.x11
|
||||
for f in $MY_EXAMPLES; do
|
||||
doins examples/${f}.c
|
||||
done
|
||||
for f in $MY_PICS; do
|
||||
doins examples/${f}
|
||||
done
|
||||
|
||||
insopts -m0755
|
||||
for f in $MY_EXAMPLES; do
|
||||
doins examples/${f}
|
||||
done
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST mediastreamer-2.7.3.tar.gz 758146 SHA256 c3cbea285f1e85259b2ac06d3f1730b4258e280011598b91f5b90b8432bf1dc0 SHA512 f9ebfa12b1c760b5c24b5496466d92148a170ee2d522d9085db3fb72cc93f8e3e71ba1ae14f57d94a33b752450555c7d3ebf59267447203861247a8685e18259 WHIRLPOOL c1528bcca27c979ac29d6ccb6e32eac53ddd9e69d3f034056ad579d5ff6cd295c9224db6b841d6aa708e2c60251b192e85d6843342c14f8ead75d9f137c8d818
|
||||
DIST mediastreamer-2.8.2.tar.gz 882966 SHA256 a62ebb008913db6e03e27bd1ec30bb560ae4219da5255c0e91853b5e894a4f33 SHA512 2041d9fbba0f831aea6bdd3259b21742a37cfdbdf473b0bc4f20bd730371395ddf2866804ae496e9864adf5fcd0d24e03193d5d8feadd54e6ff0b3adda01ff60 WHIRLPOOL cecd47766dff3df76271b3209f7f967a00165861283c34633361a07bf8a416e63d5c5c6dd364a1558f1f865803eaf4a1888bd3bcf42cb0e159b12107045b61ab
|
||||
|
@ -0,0 +1,17 @@
|
||||
--- mediastreamer-2.8.2/configure.ac.orig 2012-06-01 16:31:34.000000000 +0400
|
||||
+++ mediastreamer-2.8.2/configure.ac 2012-06-01 16:36:08.586809086 +0400
|
||||
@@ -191,13 +191,13 @@
|
||||
if test "$mingw_found" != "yes" ; then
|
||||
dnl gettext macro does not work properly under mingw. And we want to use the one provided by GTK.
|
||||
AM_GNU_GETTEXT([external])
|
||||
- AM_GNU_GETTEXT_VERSION([0.18])
|
||||
LIBS="$LIBS $LIBINTL"
|
||||
else
|
||||
AC_DEFINE(ENABLE_NLS,1,[Tells whether localisation is possible])
|
||||
AC_DEFINE(HAVE_GETTEXT,1,[Tells wheter localisation is possible])
|
||||
LIBS="$LIBS -lintl"
|
||||
fi
|
||||
+AM_GNU_GETTEXT_VERSION([0.18])
|
||||
|
||||
AM_CONDITIONAL(BUILD_MACOSX, test x$macosx_found = xyes)
|
||||
AM_CONDITIONAL(BUILD_IOS, test x$ios_found = xyes)
|
@ -0,0 +1,30 @@
|
||||
--- configure.ac.orig 2012-02-22 20:29:04.000000000 +0400
|
||||
+++ configure.ac 2012-05-15 16:13:02.979041146 +0400
|
||||
@@ -624,6 +624,16 @@
|
||||
AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${package_prefix}/share" ,[path of data])
|
||||
AC_SUBST(PACKAGE_DATA_DIR)
|
||||
|
||||
+AC_ARG_ENABLE(v4l,
|
||||
+ [ --disable-v4l Disable usage of v4l],
|
||||
+ [case "${enableval}" in
|
||||
+ yes) v4l=yes ;;
|
||||
+ no) v4l=no ;;
|
||||
+ *) AC_MSG_ERROR(bad value ${enableval} for --disable-v4l) ;;
|
||||
+ esac],[v4l=yes])
|
||||
+
|
||||
+if test "$v4l" = "yes" ; then
|
||||
+
|
||||
dnl check for video4linux headers
|
||||
AC_CHECK_HEADERS(linux/videodev.h linux/videodev2.h)
|
||||
if test "${ac_cv_header_linux_videodev_h}" = "yes" ; then
|
||||
@@ -690,6 +700,10 @@
|
||||
esac],[tests=yes])
|
||||
AM_CONDITIONAL(ENABLE_TESTS, test x$tests = xyes)
|
||||
|
||||
+fi
|
||||
+
|
||||
+AM_CONDITIONAL(BUILD_V4L, test x$found_v4l = xyes )
|
||||
+
|
||||
|
||||
dnl ##################################################
|
||||
dnl # Check for doxygen
|
@ -0,0 +1,135 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/mediastreamer/mediastreamer-2.8.2.ebuild,v 1.1 2012/11/19 21:28:03 mgorny Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils multilib
|
||||
|
||||
DESCRIPTION="Mediastreaming library for telephony application"
|
||||
HOMEPAGE="http://www.linphone.org/"
|
||||
SRC_URI="mirror://nongnu/linphone/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
# Many cameras will not work or will crash an application if mediastreamer2 is
|
||||
# not built with v4l2 support (taken from configure.ac)
|
||||
# TODO: run-time test for ipv6: does it really need ortp[ipv6] ?
|
||||
IUSE="+alsa amr bindist coreaudio debug doc examples g726 g729 gsm ilbc
|
||||
ipv6 oss portaudio pulseaudio sdl silk +speex static-libs theora v4l
|
||||
video x264 X"
|
||||
|
||||
REQUIRED_USE="|| ( oss alsa portaudio coreaudio pulseaudio )
|
||||
video? ( || ( sdl X ) )
|
||||
theora? ( video )
|
||||
X? ( video )
|
||||
v4l? ( video )"
|
||||
|
||||
RDEPEND=">=net-libs/ortp-0.17[ipv6?]
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
g726? ( >=media-libs/spandsp-0.0.6_pre1 )
|
||||
gsm? ( media-sound/gsm )
|
||||
portaudio? ( media-libs/portaudio )
|
||||
pulseaudio? ( >=media-sound/pulseaudio-0.9.21 )
|
||||
speex? ( >=media-libs/speex-1.2_beta3 )
|
||||
video? (
|
||||
virtual/ffmpeg
|
||||
v4l? ( media-libs/libv4l
|
||||
sys-kernel/linux-headers )
|
||||
theora? ( media-libs/libtheora )
|
||||
sdl? ( media-libs/libsdl[video,X] )
|
||||
X? ( x11-libs/libX11
|
||||
x11-libs/libXv ) )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
x11-proto/videoproto
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
PDEPEND="amr? ( !bindist? ( media-plugins/mediastreamer-amr ) )
|
||||
g729? ( !bindist? ( media-plugins/mediastreamer-bcg729 ) )
|
||||
ilbc? ( media-plugins/mediastreamer-ilbc )
|
||||
video? ( x264? ( media-plugins/mediastreamer-x264 ) )
|
||||
silk? ( !bindist? ( media-plugins/mediastreamer-silk ) )"
|
||||
|
||||
src_prepare() {
|
||||
# respect user's CFLAGS
|
||||
sed -i -e "s:-O2::;s: -g::" configure.ac || die "patching configure.ac failed"
|
||||
|
||||
# change default paths
|
||||
sed -i -e "s:\(\${prefix}/\)lib:\1$(get_libdir):" \
|
||||
-e "s:\(prefix/share\):\1/${PN}:" configure.ac \
|
||||
|| die "patching configure.ac failed"
|
||||
|
||||
# fix html doc installation dir
|
||||
sed -i -e "s:\$(pkgdocdir):\$(docdir):" help/Makefile.am \
|
||||
|| die "patching help/Makefile.am failed"
|
||||
sed -i -e "s:\(doc_htmldir=\).*:\1\$(htmldir):" help/Makefile.am \
|
||||
|| die "patching help/Makefile.am failed"
|
||||
|
||||
epatch "${FILESDIR}/${P}-v4l-automagic.patch" \
|
||||
"${FILESDIR}/${P}-autopoint.patch"
|
||||
|
||||
# linux/videodev.h dropped in 2.6.38
|
||||
sed -i -e 's:linux/videodev.h ::' configure.ac || die
|
||||
|
||||
# don't build examples in tests/
|
||||
sed -i -e "/SUBDIRS/s/ tests//" Makefile.in || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--htmldir="${EPREFIX}"/usr/share/doc/${PF}/html
|
||||
--datadir="${EPREFIX}"/usr/share/${PN}
|
||||
# arts is deprecated
|
||||
--disable-artsc
|
||||
# don't want -Werror
|
||||
--disable-strict
|
||||
--disable-libv4l1
|
||||
# don't use bundled libs
|
||||
--enable-external-ortp
|
||||
$(use_enable alsa)
|
||||
$(use_enable pulseaudio)
|
||||
$(use_enable coreaudio macsnd)
|
||||
$(use_enable debug)
|
||||
$(use_enable g726 spandsp )
|
||||
$(use_enable gsm)
|
||||
$(use_enable ipv6)
|
||||
$(use_enable oss)
|
||||
$(use_enable portaudio)
|
||||
$(use_enable speex)
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable theora)
|
||||
$(use_enable video)
|
||||
$(use_enable v4l)
|
||||
$(use_enable v4l libv4l2)
|
||||
$(use_enable sdl)
|
||||
$(use_enable X x11)
|
||||
$(use_enable X xv)
|
||||
|
||||
$(use doc || echo ac_cv_path_DOXYGEN=false)
|
||||
)
|
||||
|
||||
# Mac OS X Audio Queue is an audio recording facility, available on
|
||||
# 10.5 (Leopard, Darwin9) and onward
|
||||
if use coreaudio && [[ ${CHOST} == *-darwin* && ${CHOST##*-darwin} -ge 9 ]]
|
||||
then
|
||||
myeconfargs+=( --enable-macaqsnd )
|
||||
else
|
||||
myeconfargs+=( --disable-macaqsnd )
|
||||
fi
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins tests/*.c
|
||||
fi
|
||||
}
|
@ -1 +1 @@
|
||||
DIST msamr-0.0.1.tar.gz 293324 RMD160 e6c5a0f52615dac99d3d2ddda630217a1f4cfb74 SHA1 415f42d4e9a9b17a12dc4ec74c9f65872ac0f871 SHA256 f23f940b4f58286ca427edfea4afeaa24653176f081a20bf36c85d245fd78fdf
|
||||
DIST msamr-0.0.1.tar.gz 293324 SHA256 f23f940b4f58286ca427edfea4afeaa24653176f081a20bf36c85d245fd78fdf SHA512 c25d25503eb23e93970d5be3a1317863cb20b0077b2ebf711dbd130e25d83debc4ea7e54eb236342c7073c54fa5002328fba5aafcbc2d495ac7588d639d6b1ab WHIRLPOOL 24ceb4138fcb73391d8b0304929ea5c477c50508fcedc4a2080e2d74463bbcfee3bcfe161c09dff6fb660a83c1145ba8f524a62ce172a4a069f2d695bd924f64
|
||||
|
@ -0,0 +1,13 @@
|
||||
--- msamr-0.0.1/src/msamr.c.orig 2012-06-01 21:12:47.000000000 +0400
|
||||
+++ msamr-0.0.1/src/msamr.c 2012-06-01 21:12:59.884661902 +0400
|
||||
@@ -21,8 +21,8 @@
|
||||
|
||||
#include <mediastreamer2/msfilter.h>
|
||||
|
||||
-#include <interf_dec.h>
|
||||
-#include <interf_enc.h>
|
||||
+#include <opencore-amrnb/interf_dec.h>
|
||||
+#include <opencore-amrnb/interf_enc.h>
|
||||
|
||||
/*
|
||||
Class A total speech
|
@ -0,0 +1 @@
|
||||
DIST bcg729-1.0.0.tar.gz 416311 SHA256 6f80f9820f081fbd8b3f97b7bdc9c584bd54ba4558fa714130f8a53b154509ac SHA512 68a6ee07ad830d58ff3b6638a6c9218640ca78c4ea78d5038d9bf94a25d9a2f7c7844f11a3196bba72f9f640666fed13c96f8c0e496a79c7ee78b3cf0f8c9c85 WHIRLPOOL 6a32fa3f1e710336dcc5939fb1d7bef9f4f9de6e9f105156c292ef0b3e2280f3017fd2f5b828bd1b7f33b019714ceb2da35b8d092b4cb8a12f755253f240188e
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/mediastreamer-bcg729/mediastreamer-bcg729-1.0.0.ebuild,v 1.1 2012/11/19 21:29:17 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_P="bcg729-${PV}"
|
||||
|
||||
DESCRIPTION="Backported G729 implementation for Linphone"
|
||||
HOMEPAGE="http://www.linphone.org"
|
||||
SRC_URI="mirror://nongnu/linphone/plugins/sources/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=media-libs/mediastreamer-2.0.0
|
||||
>=net-libs/ortp-0.16.0"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure(){
|
||||
# strict = -Werror
|
||||
econf \
|
||||
--disable-static \
|
||||
--disable-strict
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>voip</herd>
|
||||
<maintainer>
|
||||
<email>volkmar@gentoo.org</email>
|
||||
<name>Mounir Lamouri</name>
|
||||
<description>Assign to herd and CC me</description>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,2 @@
|
||||
DIST SILK_SDK_SRC_v1.0.8.zip 65910872 SHA256 424536084ac2d5c105e22f8048d19103dd83cb54bc32187377f5341d17e1b838 SHA512 2d56552052ec8180de9bbbce2f89d76df63c1bf6a8ac936dacab104d39526c16b9ccac33e5602f3a757bb12057c2e6da6f955ae370b05b93ff1427632c3a9489 WHIRLPOOL a301ba53e3fd1d56bc45d75709eb1b13edcacb7b68811862f2bbb7eba561242594feff6ac13f460593eb97917ecf63d947997316561a74d0d879e7823caccbea
|
||||
DIST mssilk-0.0.1.tar.gz 57674 SHA256 58f89360a06e5b8414c2a1389b2e0d801ea1548041d7791ca16c1fc3f136e1b0 SHA512 78325c0cf28bf035212583c76aa92f1291442e3f4fbe4c354056ad2b20ff72ba8d7149250431906942352c4deec7912567f512775d5a1dfe07b6b2bd44b5552e WHIRLPOOL da0d9ef8f0d0d83c8a29e981346c876e19f207dbc5f662d53e81dfd2d92c158294008625a9a261e153e33fd50a4bbf4af0d3d58da5a2e66f2871539d01da14bb
|
@ -0,0 +1,42 @@
|
||||
--- mssilk.orig/sdk/Makefile.am 2012-02-16 13:22:51.000000000 +0400
|
||||
+++ mssilk/sdk/Makefile.am 2012-05-15 20:35:37.374526548 +0400
|
||||
@@ -2,28 +2,14 @@
|
||||
silk_extracted_directory = SILK_SDK_SRC_v$(silk_version)
|
||||
silk_src_dir = $(silk_extracted_directory)/SILK_SDK_SRC_$(SILK_FLAVOUR)_v$(silk_version)
|
||||
|
||||
-silk_zip = $(silk_extracted_directory).zip
|
||||
-silk_url = http://developer.skype.com/silk/$(silk_zip)
|
||||
-
|
||||
-downloaded_files = $(silk_zip)
|
||||
-checkmarks = $(downloaded_files:%=%.check)
|
||||
-BUILT_SOURCES = $(downloaded_files) $(checkmarks) $(silk_extracted_directory) $(silk_src_dir) $(silk_extracted_directory)
|
||||
+BUILT_SOURCES = $(silk_extracted_directory) $(silk_src_dir) $(silk_extracted_directory)
|
||||
|
||||
checksum_dir = $(srcdir)/known_checksums
|
||||
checksum_files = $(addprefix $(checksum_dir)/, $(downloaded_files:%=%.md5))
|
||||
EXTRA_DIST = $(checksum_files)
|
||||
|
||||
-$(srcdir)/$(silk_zip):
|
||||
- $(WGET) $(silk_url) -O $(srcdir)/${silk_zip}
|
||||
-
|
||||
-
|
||||
-# for check, go to $(srcdir) or ./, depending on where file is
|
||||
-$(checkmarks): %.check: %
|
||||
- cd $(<D); $(MD5SUM) -c $(checksum_dir)/$(<F).md5
|
||||
- touch $@
|
||||
-
|
||||
-$(silk_extracted_directory): $(checkmarks)
|
||||
- $(UNZIP) $(srcdir)/$(silk_zip) $(silk_src_dir)/*
|
||||
+$(silk_extracted_directory):
|
||||
+ ln -s ../../$(silk_extracted_directory)
|
||||
|
||||
$(silk_src_dir): $(silk_extracted_directory)
|
||||
cp $(srcdir)/patch_pic.diff $(silk_src_dir)
|
||||
@@ -41,6 +27,6 @@
|
||||
cd $(silk_src_dir) && $(MAKE) $(AM_MAKEFLAGS) clean
|
||||
|
||||
install-data-local: $(silk_src_dir)
|
||||
- cp $(silk_src_dir)/libSKP_SILK_SDK.a $(prefix)/lib
|
||||
+ echo "stub: nothing to install"
|
||||
|
||||
DISTCLEANFILES = $(BUILT_SOURCES)
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/mediastreamer-silk/mediastreamer-silk-0.0.1.ebuild,v 1.1 2012/11/19 21:30:49 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN="mssilk"
|
||||
SDK_FILE="SILK_SDK_SRC_v1.0.8.zip" # please update silk version on bumps!
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="SILK (skype codec) implementation for Linphone"
|
||||
HOMEPAGE="http://www.linphone.org"
|
||||
SRC_URI="mirror://nongnu/linphone/plugins/sources/${MY_PN}-${PV}.tar.gz
|
||||
http://developer.skype.com/silk/${SDK_FILE}"
|
||||
|
||||
LICENSE="GPL-3 as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="bindist"
|
||||
|
||||
RDEPEND=">=media-libs/mediastreamer-2.0.0"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}"
|
||||
|
||||
RESTRICT="mirror" # silk license forbids distribution
|
||||
|
||||
pkg_setup() {
|
||||
if use bindist; then
|
||||
die "This package can't be redistributable due to SILK license."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-sdk.patch"
|
||||
eautoreconf
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>voip</herd>
|
||||
<maintainer>
|
||||
<email>volkmar@gentoo.org</email>
|
||||
<name>Mounir Lamouri</name>
|
||||
<description>Assign to herd and CC me</description>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST msx264-1.4.1.tar.gz 291662 RMD160 b68536b88b3ada79fcd66071b356f9a2d2fd0c62 SHA1 1651fc7278e2c26f22d80ad1c551bba6c8e488ca SHA256 3427168e0936d1d46b58e2e3da606e51ba463b1e6d6586e9ff6c2d1f2a539b75
|
||||
DIST msx264-1.4.1.tar.gz 291662 SHA256 3427168e0936d1d46b58e2e3da606e51ba463b1e6d6586e9ff6c2d1f2a539b75 SHA512 3d73fcea259af5d8c4cb9637538bdc40e0ea197a36eada5184390bda9277b43dfec8b2412edc44bbac2500664d7c007182b0b06f4a702bb22aecc54484fc115f WHIRLPOOL bab948086fb2febfedb89d2b3431e6ad23e2d114a6e1f387ab0739a25a2de8ba790eede1ba95fbe1dfd11d5abd88dea78795065737d97987ebda61f80ceb90e8
|
||||
DIST msx264-1.4.2.tar.gz 298631 SHA256 a84418465e0cc7185f66e14b04ac0e0c2e5ee7ee68fb201d0d697eb866b192b5 SHA512 06416957dcfd5e33418d19c941005a0deb1c18b47cfa8354b0b89f8434d47d649ca3d629bac3e2094ff5b6adc7118f5adc9d32411dd6ec12a8f3a6e96c2e356c WHIRLPOOL c08484438029379d22cdf564a817f8ab135a4e28410633bd2f194f1125eadb3f653068462933e2c47b03a1aece7f88ec42df8e68408a4cf037cfd1e0467a7d9c
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/mediastreamer-x264/mediastreamer-x264-1.4.2.ebuild,v 1.1 2012/11/19 20:50:10 mgorny Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_P="msx264-${PV}"
|
||||
|
||||
DESCRIPTION="mediastreamer plugin: add H264 support"
|
||||
HOMEPAGE="http://www.linphone.org/"
|
||||
SRC_URI="mirror://nongnu/linphone/plugins/sources/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=media-libs/mediastreamer-2.7.0[video]
|
||||
>=media-libs/x264-0.0.20100118
|
||||
virtual/ffmpeg"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_configure() {
|
||||
# strict: don't want -Werror
|
||||
econf \
|
||||
--disable-strict
|
||||
}
|
@ -1,4 +1 @@
|
||||
DIST guvcview-src-1.5.1.tar.gz 491950 SHA256 e127830108262a4e466c5b9159f78f2481fffe37f02a4d31245fa1471d37ca0e SHA512 f4cfcb6cd393738387855760fb5b0ac564726b18345abbac4e4fa6f6eade1a319ded3fd2a16c7aed199c3fa7d1114a5521282b86c459b533c447bb28c159352f WHIRLPOOL 1ec9f6b75c43109c5217f1a0604c0d969b46ec5a19206f8de8440a61a1329d07db783bc269b8ade5bd8895f76af827feff3e1aa4a4ae442d47304d37805ff739
|
||||
DIST guvcview-src-1.5.3.tar.gz 508813 SHA256 c484f22f415b9695c4f8a88d00fb64adc8b241664b6ddc5d06a789c99cb4c044 SHA512 8a640de99703c1d419180de05be02716a63a2e0436033dd14fd38f53aaa430319c36a9b823308cebe2e009d287c44b2a9d07941515a6830a2153ef1f17fe0896 WHIRLPOOL 4e2e059b3e528b6d06dabdd937ee92f57970e6b715c2b24b25cb6a14ddbb584e6c01701b86dbdda2541344142af7871d2954b75dabd2e5b0203eb6ec2c1d60b9
|
||||
DIST guvcview-src-1.6.0.tar.gz 478962 SHA256 357847da780dc2fc4962ca80ce439fcfb6941aa8f2b9e34907f352e469ee25a1 SHA512 cfd091db3f391efca2ae0266d197ed3ac7f69d8c4f96971aebe9b10f6463cc801bd9de65a5446c7f81c329d638674880d06782e34c4f5b1433eb5a5e8b9df793 WHIRLPOOL 5c4f9230f12544ec38bf08224f11fe9b08e13238d79e19c9c0d422fb0738973fe20ab6d627831e06a19c205188540bdae076be5f72d1720962ad41e441fd74d9
|
||||
DIST guvcview-src-1.6.1.tar.gz 480184 SHA256 b11abb8e5778ebd47adb8486d7762b9494b033f4e8be5b523c16a96a8fc80acb SHA512 dee99d6240dd963353d1519b3f40f5bf19f20cf5013b9d51c45cfae9166f2b1b21e816cbcc0a8a8e441e778edbd1544eca794cda51242b0c1ef52862de6b8acd WHIRLPOOL 30fc07389cbb1661220a863b645be4760fd0138de62443eb123ffb9f79b58b186f5e7c595cb4b0f07accdb512da3706b8e987bb3144ae059f8dc975710a84545
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- guvcview-src-1.5.3/src/picture.c
|
||||
+++ guvcview-src-1.5.3/src/picture.c
|
||||
@@ -22,6 +22,7 @@
|
||||
#include "picture.h"
|
||||
#include "huffman.h"
|
||||
#include "jpgenc.h"
|
||||
+#include <unistd.h>
|
||||
#include <glib.h>
|
||||
#include <glib/gprintf.h>
|
||||
#include <png.h>
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/guvcview/guvcview-1.5.1.ebuild,v 1.7 2012/08/02 06:53:13 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
MY_P=${PN}-src-${PV}
|
||||
DESCRIPTION="GTK+ UVC Viewer"
|
||||
HOMEPAGE="http://guvcview.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="pulseaudio"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.10:2
|
||||
virtual/ffmpeg
|
||||
>=media-libs/libsdl-1.2.10
|
||||
>=media-libs/libpng-1.4
|
||||
media-libs/libv4l
|
||||
>=media-libs/portaudio-19_pre
|
||||
sys-fs/udev
|
||||
x11-libs/gtk+:3
|
||||
pulseaudio? ( >=media-sound/pulseaudio-0.9.15 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/^guvcviewdocdir/,/^$/d' Makefile.am || die
|
||||
epatch "${FILESDIR}/${P}-loops.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-debian-menu \
|
||||
$(use_enable pulseaudio pulse)
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/guvcview/guvcview-1.5.3.ebuild,v 1.3 2012/05/16 09:23:50 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
MY_P=${PN}-src-${PV}
|
||||
DESCRIPTION="GTK+ UVC Viewer"
|
||||
HOMEPAGE="http://guvcview.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="pulseaudio"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.10:2
|
||||
virtual/ffmpeg
|
||||
>=media-libs/libsdl-1.2.10
|
||||
>=media-libs/libpng-1.4
|
||||
media-libs/libv4l
|
||||
>=media-libs/portaudio-19_pre
|
||||
sys-fs/udev
|
||||
x11-libs/gtk+:3
|
||||
pulseaudio? ( >=media-sound/pulseaudio-0.9.15 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/^guvcviewdocdir/,/^$/d' Makefile.am || die
|
||||
epatch "${FILESDIR}"/${P}-header.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-debian-menu \
|
||||
$(use_enable pulseaudio pulse)
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/guvcview/guvcview-1.6.0.ebuild,v 1.1 2012/07/15 07:31:17 hasufell Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
MY_P=${PN}-src-${PV}
|
||||
DESCRIPTION="GTK+ UVC Viewer"
|
||||
HOMEPAGE="http://guvcview.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="pulseaudio"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.10:2
|
||||
virtual/ffmpeg
|
||||
>=media-libs/libsdl-1.2.10
|
||||
>=media-libs/libpng-1.4
|
||||
media-libs/libv4l
|
||||
>=media-libs/portaudio-19_pre
|
||||
sys-fs/udev
|
||||
x11-libs/gtk+:3
|
||||
pulseaudio? ( >=media-sound/pulseaudio-0.9.15 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/^docdir/,/^$/d' Makefile.am || die
|
||||
epatch "${FILESDIR}"/${PN}-1.5.3-header.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-silent-rules \
|
||||
--disable-debian-menu \
|
||||
$(use_enable pulseaudio pulse)
|
||||
}
|
@ -1 +1 @@
|
||||
Mon, 19 Nov 2012 10:36:52 +0000
|
||||
Tue, 20 Nov 2012 05:06:50 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon, 19 Nov 2012 10:36:52 +0000
|
||||
Tue, 20 Nov 2012 05:06:51 +0000
|
||||
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare setup test unpack
|
||||
DEPEND=dev-libs/libgcrypt sys-devel/libtool perl? ( dev-lang/perl[ithreads] ( || ( sys-devel/libperl[ithreads] >=sys-devel/libperl-5.10 ) ) ) 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] ( || ( sys-devel/libperl[ithreads] >=sys-devel/libperl-5.10 ) ) ) 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 ) ) virtual/pkgconfig kernel_linux? ( collectd_plugins_vserver? ( sys-kernel/vserver-sources ) ) dev-lang/perl[-build] || ( >=sys-devel/automake-1.11.1:1.11 >=sys-devel/automake-1.12:1.12 ) >=sys-devel/autoconf-2.68 sys-devel/libtool
|
||||
DESCRIPTION=A small daemon which collects system performance statistics - with a near-infinite number of plugins
|
||||
EAPI=4
|
||||
HOMEPAGE=http://collectd.org
|
||||
IUSE=contrib debug kernel_linux kernel_FreeBSD kernel_Darwin perl static-libs collectd_plugins_apache collectd_plugins_apcups collectd_plugins_ascent collectd_plugins_battery collectd_plugins_bind collectd_plugins_conntrack collectd_plugins_contextswitch collectd_plugins_cpu collectd_plugins_cpufreq collectd_plugins_curl collectd_plugins_curl_json collectd_plugins_curl_xml collectd_plugins_dbi collectd_plugins_df collectd_plugins_disk collectd_plugins_dns collectd_plugins_email collectd_plugins_entropy collectd_plugins_ethstat collectd_plugins_exec collectd_plugins_filecount collectd_plugins_fscache collectd_plugins_gmond collectd_plugins_hddtemp collectd_plugins_interface collectd_plugins_ipmi collectd_plugins_iptables collectd_plugins_irq collectd_plugins_java collectd_plugins_libvirt collectd_plugins_load collectd_plugins_madwifi collectd_plugins_mbmon collectd_plugins_md collectd_plugins_memcachec collectd_plugins_memcached collectd_plugins_memory collectd_plugins_multimeter collectd_plugins_mysql collectd_plugins_netlink collectd_plugins_network collectd_plugins_nfs collectd_plugins_nginx collectd_plugins_ntpd collectd_plugins_numa collectd_plugins_nut collectd_plugins_olsrd collectd_plugins_onewire collectd_plugins_openvpn collectd_plugins_perl collectd_plugins_ping collectd_plugins_postgresql collectd_plugins_powerdns collectd_plugins_processes collectd_plugins_protocols collectd_plugins_python collectd_plugins_rrdcached collectd_plugins_sensors collectd_plugins_serial collectd_plugins_snmp collectd_plugins_swap collectd_plugins_table collectd_plugins_tail collectd_plugins_tcpconns collectd_plugins_teamspeak2 collectd_plugins_ted collectd_plugins_thermal collectd_plugins_tokyotyrant collectd_plugins_uptime collectd_plugins_users collectd_plugins_varnish collectd_plugins_vmem collectd_plugins_vserver collectd_plugins_wireless collectd_plugins_csv collectd_plugins_exec collectd_plugins_logfile collectd_plugins_network collectd_plugins_notify_desktop collectd_plugins_notify_email collectd_plugins_oracle collectd_plugins_perl collectd_plugins_python collectd_plugins_routeros collectd_plugins_rrdcached collectd_plugins_rrdtool collectd_plugins_syslog collectd_plugins_unixsock collectd_plugins_write_graphite collectd_plugins_write_http collectd_plugins_write_mongodb collectd_plugins_match_empty_counter collectd_plugins_match_hashed collectd_plugins_match_regex collectd_plugins_match_timediff collectd_plugins_match_value collectd_plugins_target_notification collectd_plugins_target_replace collectd_plugins_target_scale collectd_plugins_target_set collectd_plugins_uuid
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=dev-libs/libgcrypt sys-devel/libtool perl? ( dev-lang/perl[ithreads] ( || ( sys-devel/libperl[ithreads] >=sys-devel/libperl-5.10 ) ) ) 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] ( || ( sys-devel/libperl[ithreads] >=sys-devel/libperl-5.10 ) ) ) 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 ) ) collectd_plugins_syslog? ( virtual/logger ) dev-lang/perl[-build]
|
||||
SLOT=0
|
||||
SRC_URI=http://collectd.org/files/collectd-5.1.1.tar.bz2
|
||||
_eclasses_=autotools f4bee52a728da1f76470f4b8d246c50f base ec46b36a6f6fd1d0b505a33e0b74e413 eutils d40dc948067bd3db1c8ebf7d51897313 libtool 2b273eea1976cfaed3449345d94331ac linux-info f01ffb28843e2de3ea571f80f07e5078 multilib 9aa8a023e062fca0ba79362d9d0cc488 multiprocessing a2130e6fc4aa4c6a24b265ca0cbcc2b6 perl-app 20b0a51a72b6d2c8ac53ccab1605737f perl-module 825d3d7654c88c5c4dec7400d3612578 toolchain-funcs 134429b842a6c67254bfd76a8753e4d4 user d0a4d0735a6c0183d707ca919bd72f28 versionator 6601b4c5b3f019a993db59a50e1854e4
|
||||
_md5_=c70993cea658e8aa238a838975b88ff9
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue