parent
c49c70c4a4
commit
de3ca5f001
@ -0,0 +1,87 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/conserver/conserver-8.1.18-r1.ebuild,v 1.1 2014/06/27 23:10:42 chutzpah Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit ssl-cert eutils pam autotools
|
||||
|
||||
DESCRIPTION="Serial Console Manager"
|
||||
HOMEPAGE="http://www.conserver.com/"
|
||||
SRC_URI="http://www.conserver.com/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="kerberos pam ssl tcpd debug"
|
||||
|
||||
DEPEND="ssl? ( >=dev-libs/openssl-0.9.6g )
|
||||
pam? ( virtual/pam )
|
||||
tcpd? ( sys-apps/tcp-wrappers )
|
||||
debug? ( dev-libs/dmalloc )
|
||||
kerberos? (
|
||||
virtual/krb5
|
||||
net-libs/libgssglue
|
||||
)"
|
||||
RDEPEND="${DEPEND}
|
||||
pam? ( >=sys-auth/pambase-20080219.1 )"
|
||||
|
||||
src_prepare() {
|
||||
# Apply patch to prevent package from stripping binaries
|
||||
epatch "${FILESDIR}"/${PN}-prestrip.patch
|
||||
|
||||
# Apply patch to use custom dmalloc macro
|
||||
epatch "${FILESDIR}"/${P}-dmalloc.patch
|
||||
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with pam) \
|
||||
$(use_with tcpd libwrap) \
|
||||
$(use_with debug dmalloc) \
|
||||
$(use_with kerberos gssapi) \
|
||||
--with-logfile=/var/log/conserver.log \
|
||||
--with-pidfile=/var/run/conserver.pid \
|
||||
--with-cffile=conserver/conserver.cf \
|
||||
--with-pwdfile=conserver/conserver.passwd \
|
||||
--with-master=localhost \
|
||||
--with-port=7782
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" exampledir="/usr/share/doc/${PF}/examples" install
|
||||
|
||||
## create data directory
|
||||
dodir /var/consoles
|
||||
fowners daemon:daemon /var/consoles
|
||||
fperms 700 /var/consoles
|
||||
|
||||
## add startup and sample config
|
||||
newinitd "${FILESDIR}"/conserver.initd-r1 conserver
|
||||
newconfd "${FILESDIR}"/conserver.confd conserver
|
||||
|
||||
dodir /etc/conserver
|
||||
fperms 700 /etc/conserver
|
||||
insinto /etc/conserver
|
||||
newins "${S}"/conserver.cf/conserver.cf conserver.cf.sample
|
||||
newins "${S}"/conserver.cf/conserver.passwd conserver.passwd.sample
|
||||
|
||||
## add docs
|
||||
dohtml conserver.html
|
||||
dodoc CHANGES FAQ PROTOCOL README TODO
|
||||
dodoc conserver/Sun-serial contrib/maketestcerts
|
||||
newdoc conserver.cf/conserver.cf conserver.cf.sample
|
||||
|
||||
# Add pam config
|
||||
newpamd "${FILESDIR}"/conserver.pam-pambase conserver
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Add certs if SSL use flag is enabled
|
||||
if use ssl && [ ! -f "${ROOT}"/etc/ssl/conserver/conserver.key ]; then
|
||||
install_cert /etc/ssl/conserver/conserver
|
||||
fi
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/conserver/files/conserver.initd-r1,v 1.1 2014/06/27 23:10:43 chutzpah Exp $
|
||||
|
||||
depend() {
|
||||
need clock
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
if [ ! -e /etc/conserver/conserver.cf ] ; then
|
||||
eerror "You need to create /etc/conserver/conserver.cf first."
|
||||
eerror "A sample is placed there to be renamed and ajusted."
|
||||
eerror "Read the man page or see /usr/share/doc/conserver-<version>/."
|
||||
return 1
|
||||
fi
|
||||
|
||||
if [ ! -e /etc/conserver/conserver.passwd ] ; then
|
||||
eerror "You need to create /etc/conserver/conserver.passwd first."
|
||||
eerror "A sample is placed there to be renamed and ajusted."
|
||||
eerror "Read the man page or see /usr/share/doc/conserver-<version>/."
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
start() {
|
||||
checkconfig || return 1
|
||||
ebegin "Starting conserver"
|
||||
start-stop-daemon --start --quiet --pidfile /var/run/conserver.pid --exec \
|
||||
/usr/sbin/conserver -- ${CONSERVER_OPTS} 1>/dev/null
|
||||
eend $? "Failed to start conserver"
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping conserver"
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/conserver.pid
|
||||
eend $? "Failed to stop conserver"
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-metasploit/eselect-metasploit-0.11.ebuild,v 1.1 2013/12/15 15:23:44 zerochaos Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="eselect module for metasploit"
|
||||
HOMEPAGE="http://www.pentoo.ch/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-admin/eselect
|
||||
!<net-analyzer/metasploit-4.6"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
#force to use the outdated bundled version of metasm
|
||||
doenvd "${FILESDIR}"/91metasploit
|
||||
|
||||
newinitd "${FILESDIR}"/msfrpcd.initd msfrpcd
|
||||
newconfd "${FILESDIR}"/msfrpcd.confd msfrpcd
|
||||
|
||||
insinto /usr/share/eselect/modules
|
||||
newins "${FILESDIR}/metasploit.eselect-${PV}" metasploit.eselect
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "To switch between installed slots, execute as root:"
|
||||
elog " # eselect metasploit set [slot number]"
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-metasploit/eselect-metasploit-0.12.ebuild,v 1.1 2014/04/25 05:17:48 zerochaos Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="eselect module for metasploit"
|
||||
HOMEPAGE="http://www.pentoo.ch/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-admin/eselect
|
||||
!<net-analyzer/metasploit-4.6"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
pkg_setup() {
|
||||
#please forgive me for what I have done, this is the only way to avoid
|
||||
#portage crying about collision with the symlink from the older version
|
||||
if [ -L "${EROOT}"/usr/bin/msfconsole ]; then
|
||||
unlink /usr/bin/msfconsole
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
#force to use the outdated bundled version of metasm
|
||||
doenvd "${FILESDIR}"/91metasploit
|
||||
|
||||
newinitd "${FILESDIR}"/msfrpcd.initd msfrpcd
|
||||
newconfd "${FILESDIR}"/msfrpcd.confd msfrpcd
|
||||
|
||||
insinto /usr/share/eselect/modules
|
||||
newins "${FILESDIR}/metasploit.eselect-${PV}" metasploit.eselect
|
||||
|
||||
newbin "${FILESDIR}"/msfconsole-${PV} msfconsole
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "To switch between installed slots, execute as root:"
|
||||
elog " # eselect metasploit set [slot number]"
|
||||
}
|
@ -1,204 +0,0 @@
|
||||
# -*-eselect-*- vim: ft=eselect
|
||||
# Copyright 2005-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2 or later
|
||||
# $
|
||||
|
||||
DESCRIPTION="Control which metaploit version is active"
|
||||
MAINTAINER="zerochaos@pentoo.ch"
|
||||
#SVN_DATE='$Date: 2013/12/15 15:23:44 $'
|
||||
#VERSION=$(svn_date_to_version "${SVN_DATE}")
|
||||
|
||||
###WARNING: don't even think of using this insanity for a reference (but it works,mostly)
|
||||
#base idea from kernel.eselect, get_libdir from php.eselect with --use-old from opencl.eselect
|
||||
#all modified randomly until it worked, entropy is wonderful
|
||||
###/WARNING
|
||||
|
||||
inherit multilib
|
||||
|
||||
get_libdir() {
|
||||
local dir
|
||||
if has lib64 $(list_libdirs); then
|
||||
echo lib64
|
||||
return
|
||||
fi
|
||||
echo lib
|
||||
}
|
||||
|
||||
MSFPATH="/usr/$(get_libdir)/metasploit"
|
||||
|
||||
# find a list of metasploit symlink targets and sort them
|
||||
find_targets() {
|
||||
local f
|
||||
for f in "${EROOT}${MSFPATH}"[[:digit:]]*; do
|
||||
[[ -d ${f} ]] && basename "${f}"
|
||||
done | LC_ALL=C sort
|
||||
}
|
||||
|
||||
# remove the metasploit symlink
|
||||
remove_symlink() {
|
||||
for i in $(qlist metasploit | grep $(canonicalise "${EROOT}${MSFPATH}")/msf)
|
||||
do
|
||||
unlink /usr/bin/$(echo ${i} | awk -F'/' '{print $5}')
|
||||
done
|
||||
if [ -L ${EROOT}${MSFPATH} ]; then
|
||||
unlink "${EROOT}${MSFPATH}" || die -q "failed to unlink ${EROOT}${MSFPATH}"
|
||||
elif [ -e ${EROOT}${MSFPATH} ]; then
|
||||
die -q "${EROOT}${MSFPATH} exists but is not a symlink"
|
||||
fi
|
||||
}
|
||||
|
||||
# set the metasploit symlink
|
||||
set_symlink() {
|
||||
local target=$1
|
||||
|
||||
if is_number "${target}"; then
|
||||
local targets=( $(find_targets) )
|
||||
target=${targets[target-1]}
|
||||
fi
|
||||
|
||||
if [[ -z ${target} ]]; then
|
||||
die -q "Target \"$1\" doesn't appear to be valid!"
|
||||
elif [[ -d ${EROOT}/usr/$(get_libdir)/${target} ]]; then
|
||||
ln -s "${target}" "${EROOT}${MSFPATH}"
|
||||
for i in $(qlist metasploit | grep /usr/$(get_libdir)/${target}/msf)
|
||||
do
|
||||
ln -s ${i} /usr/bin/$(echo ${i} | awk -F'/' '{print $5}')
|
||||
done
|
||||
elif [[ -d ${EROOT}${MSFPATH}${target} ]]; then
|
||||
ln -s "metasploit${target}" "${EROOT}${MSFPATH}"
|
||||
for i in $(qlist metasploit | grep /usr/$(get_libdir)/${target}/msf)
|
||||
do
|
||||
ln -s ${i} /usr/bin/$(echo ${i} | awk -F'/' '{print $5}')
|
||||
done
|
||||
else
|
||||
die -q "Target \"$1\" doesn't appear to be valid!"
|
||||
fi
|
||||
}
|
||||
|
||||
# wrapper to safely set the symlink
|
||||
set_symlink_safe() {
|
||||
if [[ -L ${EROOT}${MSFPATH} ]]; then
|
||||
# existing symlink
|
||||
remove_symlink || die -q "Couldn't remove existing symlink"
|
||||
set_symlink "$1" || die -q "Couldn't set a new symlink"
|
||||
env-update
|
||||
elif [[ -e ${EROOT}${MSFPATH} ]]; then
|
||||
# we have something strange
|
||||
die -q "${EROOT}${MSFPATH} exists but is not a symlink"
|
||||
else
|
||||
set_symlink "$1" || die -q "Couldn't set a new symlink"
|
||||
fi
|
||||
}
|
||||
|
||||
### show action ###
|
||||
|
||||
describe_show() {
|
||||
echo "Show the current metasploit symlink"
|
||||
}
|
||||
|
||||
do_show() {
|
||||
write_list_start "Current metasploit symlink:"
|
||||
if [[ -L ${EROOT}${MSFPATH} ]]; then
|
||||
local metasploit=$(canonicalise "${EROOT}${MSFPATH}")
|
||||
write_kv_list_entry "${metasploit%/}" ""
|
||||
else
|
||||
write_kv_list_entry "(unset)" ""
|
||||
fi
|
||||
}
|
||||
|
||||
### list action ###
|
||||
|
||||
describe_list() {
|
||||
echo "List available metasploit symlink targets"
|
||||
}
|
||||
|
||||
do_list() {
|
||||
local i targets=( $(find_targets) )
|
||||
|
||||
write_list_start "Available metasploit symlink targets:"
|
||||
for (( i = 0; i < ${#targets[@]}; i++ )); do
|
||||
[[ ${targets[i]} = \
|
||||
$(basename "$(canonicalise "${EROOT}${MSFPATH}")") ]] \
|
||||
&& targets[i]=$(highlight_marker "${targets[i]}")
|
||||
done
|
||||
write_numbered_list -m "(none found)" "${targets[@]}"
|
||||
}
|
||||
|
||||
### set action ###
|
||||
|
||||
describe_set() {
|
||||
echo "Set a new metasploit symlink target"
|
||||
}
|
||||
|
||||
describe_set_parameters() {
|
||||
echo "<target>"
|
||||
}
|
||||
|
||||
describe_set_options() {
|
||||
echo "<target> : Target name or number (from 'list' action)"
|
||||
echo "--use-old : If an implementation is already set, use that one instead"
|
||||
}
|
||||
|
||||
do_set() {
|
||||
local action="error"
|
||||
local current=$(basename "$(canonicalise "${EROOT}${MSFPATH}")")
|
||||
local available=( $(find_targets) )
|
||||
local new
|
||||
local opt
|
||||
|
||||
while [[ ${#@} -gt 0 ]] ; do
|
||||
opt=$1
|
||||
shift
|
||||
case ${opt} in
|
||||
--use-old)
|
||||
if [[ -n "${current}" ]] && has "${current}" "${available[@]}"; then
|
||||
action="old-implementation"
|
||||
fi
|
||||
;;
|
||||
metasploit*)
|
||||
if [[ "${action}" != "old-implementation" ]] ; then
|
||||
action="set-implementation"
|
||||
fi
|
||||
|
||||
if has ${opt} ${available[@]}; then
|
||||
new="${opt}"
|
||||
else
|
||||
echo "You need to emerge ${opt} before you try to eselect it"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
if [[ "${action}" != "old-implementation" ]] ; then
|
||||
action="set-implementation"
|
||||
fi
|
||||
|
||||
if is_number ${opt} ; then
|
||||
#targets=( $(get_implementations) )
|
||||
new=${available[opt - 1]}
|
||||
if [[ -z ${new} ]] ; then
|
||||
die -q "Unrecognized option: ${opt}"
|
||||
fi
|
||||
else
|
||||
die -q "Unrecognized option: ${opt}"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
case ${action} in
|
||||
old-implementation)
|
||||
set_symlink_safe ${current}
|
||||
return $?
|
||||
;;
|
||||
set-implementation)
|
||||
if [[ -n ${new} ]] ; then
|
||||
set_symlink_safe ${new}
|
||||
return $?
|
||||
else
|
||||
die -q "Please specify an implementation to set"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
die -q "Invalid usage of set action."
|
||||
;;
|
||||
esac
|
||||
}
|
@ -1,213 +0,0 @@
|
||||
# -*-eselect-*- vim: ft=eselect
|
||||
# Copyright 2005-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2 or later
|
||||
# $
|
||||
|
||||
DESCRIPTION="Control which metaploit version is active"
|
||||
MAINTAINER="zerochaos@pentoo.ch"
|
||||
|
||||
###WARNING: don't even think of using this insanity for a reference (but it works,mostly)
|
||||
#base idea from kernel.eselect, get_libdir from php.eselect with --use-old from opencl.eselect
|
||||
#all modified randomly until it worked, entropy is wonderful
|
||||
###/WARNING
|
||||
|
||||
inherit multilib
|
||||
|
||||
get_libdir() {
|
||||
local dir
|
||||
if has lib64 $(list_libdirs); then
|
||||
echo lib64
|
||||
return
|
||||
fi
|
||||
echo lib
|
||||
}
|
||||
|
||||
MSFPATH="/usr/$(get_libdir)/metasploit"
|
||||
|
||||
# find a list of metasploit symlink targets and sort them
|
||||
find_targets() {
|
||||
local f
|
||||
for f in "${EROOT}${MSFPATH}"[[:digit:]]*; do
|
||||
[[ -d ${f} ]] && basename "${f}"
|
||||
done | LC_ALL=C sort
|
||||
}
|
||||
|
||||
# remove the metasploit symlink
|
||||
remove_symlink() {
|
||||
for i in $(qlist metasploit | grep $(canonicalise "${EROOT}${MSFPATH}")/msf)
|
||||
do
|
||||
if [ -L /usr/bin/$(echo ${i} | awk -F'/' '{print $5}') ]; then
|
||||
unlink /usr/bin/$(echo ${i} | awk -F'/' '{print $5}') || die -q "failed to unlink ${i}"
|
||||
fi
|
||||
done
|
||||
if [ -L ${EROOT}${MSFPATH} ]; then
|
||||
unlink "${EROOT}${MSFPATH}" || die -q "failed to unlink ${EROOT}${MSFPATH}"
|
||||
elif [ -e ${EROOT}${MSFPATH} ]; then
|
||||
die -q "${EROOT}${MSFPATH} exists but is not a symlink"
|
||||
fi
|
||||
}
|
||||
|
||||
# set the metasploit symlink
|
||||
set_symlink() {
|
||||
local target=$1
|
||||
|
||||
if is_number "${target}"; then
|
||||
local targets=( $(find_targets) )
|
||||
target=${targets[target-1]}
|
||||
fi
|
||||
|
||||
if [[ -z ${target} ]]; then
|
||||
die -q "Target \"$1\" doesn't appear to be valid!"
|
||||
elif [[ -d ${EROOT}/usr/$(get_libdir)/${target} ]]; then
|
||||
ln -s "${target}" "${EROOT}${MSFPATH}"
|
||||
for i in $(qlist metasploit | grep /usr/$(get_libdir)/${target}/msf)
|
||||
do
|
||||
#msfconsole is a loader script now, so we leave it alone
|
||||
if [ "$(echo ${i} | awk -F'/' '{print $5}')" != "msfconsole" ]; then
|
||||
ln -s ${i} /usr/bin/$(echo ${i} | awk -F'/' '{print $5}')
|
||||
fi
|
||||
done
|
||||
#this elif looks like it is trying to support setting by slot only,
|
||||
#but that isn't supported by the rest of the script... fix or remove?
|
||||
elif [[ -d ${EROOT}${MSFPATH}${target} ]]; then
|
||||
ln -s "metasploit${target}" "${EROOT}${MSFPATH}"
|
||||
for i in $(qlist metasploit | grep /usr/$(get_libdir)/${target}/msf)
|
||||
do
|
||||
#msfconsole is a loader script now, so we leave it alone
|
||||
if [ "$(echo ${i} | awk -F'/' '{print $5}')" != "msfconsole" ]; then
|
||||
ln -s ${i} /usr/bin/$(echo ${i} | awk -F'/' '{print $5}')
|
||||
fi
|
||||
done
|
||||
else
|
||||
die -q "Target \"$1\" doesn't appear to be valid!"
|
||||
fi
|
||||
}
|
||||
|
||||
# wrapper to safely set the symlink
|
||||
set_symlink_safe() {
|
||||
if [[ -L ${EROOT}${MSFPATH} ]]; then
|
||||
# existing symlink
|
||||
remove_symlink || die -q "Couldn't remove existing symlink"
|
||||
set_symlink "$1" || die -q "Couldn't set a new symlink"
|
||||
#um, why is there an env-update here?
|
||||
env-update
|
||||
elif [[ -e ${EROOT}${MSFPATH} ]]; then
|
||||
# we have something strange
|
||||
die -q "${EROOT}${MSFPATH} exists but is not a symlink"
|
||||
else
|
||||
set_symlink "$1" || die -q "Couldn't set a new symlink"
|
||||
fi
|
||||
}
|
||||
|
||||
### show action ###
|
||||
|
||||
describe_show() {
|
||||
echo "Show the current metasploit symlink"
|
||||
}
|
||||
|
||||
do_show() {
|
||||
write_list_start "Current metasploit symlink:"
|
||||
if [[ -L ${EROOT}${MSFPATH} ]]; then
|
||||
local metasploit=$(canonicalise "${EROOT}${MSFPATH}")
|
||||
write_kv_list_entry "${metasploit%/}" ""
|
||||
else
|
||||
write_kv_list_entry "(unset)" ""
|
||||
fi
|
||||
}
|
||||
|
||||
### list action ###
|
||||
|
||||
describe_list() {
|
||||
echo "List available metasploit symlink targets"
|
||||
}
|
||||
|
||||
do_list() {
|
||||
local i targets=( $(find_targets) )
|
||||
|
||||
write_list_start "Available metasploit symlink targets:"
|
||||
for (( i = 0; i < ${#targets[@]}; i++ )); do
|
||||
[[ ${targets[i]} = \
|
||||
$(basename "$(canonicalise "${EROOT}${MSFPATH}")") ]] \
|
||||
&& targets[i]=$(highlight_marker "${targets[i]}")
|
||||
done
|
||||
write_numbered_list -m "(none found)" "${targets[@]}"
|
||||
}
|
||||
|
||||
### set action ###
|
||||
|
||||
describe_set() {
|
||||
echo "Set a new metasploit symlink target"
|
||||
}
|
||||
|
||||
describe_set_parameters() {
|
||||
echo "<target>"
|
||||
}
|
||||
|
||||
describe_set_options() {
|
||||
echo "<target> : Target name or number (from 'list' action)"
|
||||
echo "--use-old : If an implementation is already set, use that one instead"
|
||||
}
|
||||
|
||||
do_set() {
|
||||
local action="error"
|
||||
local current=$(basename "$(canonicalise "${EROOT}${MSFPATH}")")
|
||||
local available=( $(find_targets) )
|
||||
local new
|
||||
local opt
|
||||
|
||||
while [[ ${#@} -gt 0 ]] ; do
|
||||
opt=$1
|
||||
shift
|
||||
case ${opt} in
|
||||
--use-old)
|
||||
if [[ -n "${current}" ]] && has "${current}" "${available[@]}"; then
|
||||
action="old-implementation"
|
||||
fi
|
||||
;;
|
||||
metasploit*)
|
||||
if [[ "${action}" != "old-implementation" ]] ; then
|
||||
action="set-implementation"
|
||||
fi
|
||||
|
||||
if has ${opt} ${available[@]}; then
|
||||
new="${opt}"
|
||||
else
|
||||
echo "You need to emerge ${opt} before you try to eselect it"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
if [[ "${action}" != "old-implementation" ]] ; then
|
||||
action="set-implementation"
|
||||
fi
|
||||
|
||||
if is_number ${opt} ; then
|
||||
#targets=( $(get_implementations) )
|
||||
new=${available[opt - 1]}
|
||||
if [[ -z ${new} ]] ; then
|
||||
die -q "Unrecognized option: ${opt}"
|
||||
fi
|
||||
else
|
||||
die -q "Unrecognized option: ${opt}"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
case ${action} in
|
||||
old-implementation)
|
||||
set_symlink_safe ${current}
|
||||
return $?
|
||||
;;
|
||||
set-implementation)
|
||||
if [[ -n ${new} ]] ; then
|
||||
set_symlink_safe ${new}
|
||||
return $?
|
||||
else
|
||||
die -q "Please specify an implementation to set"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
die -q "Invalid usage of set action."
|
||||
;;
|
||||
esac
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
#todo:
|
||||
#add in optional auto starting/stopping of postgres
|
||||
|
||||
#normally msf makes this dir, however, this script runs first
|
||||
if [ ! -d ~/.msf4 ]; then
|
||||
mkdir ~/.msf4
|
||||
fi
|
||||
|
||||
#we cannot control if msfconsole exits normally so always start with cleanup
|
||||
if [ -f ~/.msf4/Gemfile ]; then
|
||||
rm ~/.msf4/Gemfile
|
||||
fi
|
||||
if [ -f ~/.msf4/Gemfile.lock ]; then
|
||||
rm ~/.msf4/Gemfile.lock
|
||||
fi
|
||||
|
||||
#fetch the latest Gemfile from the selected version of msf
|
||||
cp /usr/lib/metasploit/Gemfile ~/.msf4
|
||||
#load metasploit with the copied Gemfile
|
||||
BUNDLE_GEMFILE=~/.msf4/Gemfile exec /usr/lib/metasploit/msfconsole "$@"
|
||||
#profit
|
@ -1 +1,2 @@
|
||||
DIST duply_1.7.3.tgz 34684 SHA256 e0ae298b06125bb6665a3f4822828d36e9f56c93755b45e2240fd1643e7f05d3 SHA512 e71d4bd03828a47cb7b5af164d9f49c911a837c1a016efe8832a56f9ec9913a5237bee0c89cd4a1aece6db454873e8c39e70224ab4c725e7a5ce5eae73e556ff WHIRLPOOL 6881a80c62537ed77e877fbe9c6700aa16e4efe14d4d851c12c31411f2c332ef7d79f85a6815aafbc57e27e6a397d9fa54360e7783bd12435e961b1f4f211bde
|
||||
DIST duply_1.7.4.tgz 34887 SHA256 2bbcd6e55fcaa7ae2c416a6ce2d3ae0bc219dd05049d8708ff0e79a3349599e7 SHA512 82b722af95d48e231c6540254fe659fc2ed2cdee5ebde3b1f7b192feac0b88ae44c834dde34417324ae0113bf5f8d621602f9587d1356347d606892da7b46405 WHIRLPOOL 6fbe7e1524feb482b796b2db5d39d7276f291f7107ea26db735716f3cbfedd9613b450dd2f06907a54b156d82140584ece2e58a850bca82fe2a7831cac90cc8b
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/duply/duply-1.7.4.ebuild,v 1.1 2014/06/27 13:35:39 jlec Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit readme.gentoo
|
||||
|
||||
DESCRIPTION="A shell frontend for duplicity"
|
||||
HOMEPAGE="http://duply.net"
|
||||
SRC_URI="mirror://sourceforge/ftplicity/${PN}_${PV}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-text/txt2man"
|
||||
RDEPEND="app-backup/duplicity"
|
||||
|
||||
S=${WORKDIR}/${PN}_${PV}
|
||||
|
||||
DOC_CONTENTS="
|
||||
If you use ${PN} at the first time please have a
|
||||
look at the the usage help text \"${PN} usage\"
|
||||
for further information."
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
./${PN} txt2man > ${PN}.1
|
||||
doman ${PN}.1
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST emacs-24.3.91.tar.xz 39423508 SHA256 40cee18cecd3a54b6b14dd2d9d46bf3de625a1649c39fa8826be42ad47dd217a SHA512 e944755ed464d269b535125f154127215ece9413e369286fe9d572bd32d9ef6160627a19644a9d80593c30d58412c55bb0559d06a7332d9090cb5fea718e1395 WHIRLPOOL f6b31889faa64a359969a33d319461865183d2a40ca61bab3398f07b9a939ac9f6ac8c9f84277e13682032a3f3efdcaf64c6dedf482a05c6c382373e8a27e826
|
||||
DIST emacs-24.3.92.tar.xz 39639748 SHA256 e5ae5097cbe22100550365e1022c171834a4b2bbcd663cf0850a10793b34beb7 SHA512 de9e534f4a61d1f4ef6a80445ad73c9ef5860fa7bc10e3f45440b0163aa1eaf3b213410168513bd72f01aeed5c2c5929fb70486fdabee48d7f1248c3ed8878ce WHIRLPOOL db471267cad1658c451154c97782bb83f7995136b5864da5ea69b678af5249df24b2587e1d2f6ed183503c3882211a5d4abadd7150be465eb3db6c56002045fc
|
||||
DIST emacs-24.4.50_pre20140512.tar.xz 24025212 SHA256 6df0c15aa736de7836b0f6124cfd82bc9c6b730e9fa8e7a696b9c09d15f1c2a9 SHA512 5cf1c192948447a30f364ec0ded15a4e543e0315f7be29107ced7f399afdfc4d45faab5da9c3c06e9ccd17845bc8de3aa53d059fc4453337bbe2c8abb4a5dd9e WHIRLPOOL 2ac765473d09f14064875e7e6d7677492230c353cef2d3fcb2f53eb31e1a31ecac385932e079111a3bdf76acd5010a71e66dbe28059d1c13f46910124828f87f
|
||||
DIST emacs-24.4.50_pre20140531.tar.xz 24040952 SHA256 9697cedafa3259d472481b368dd04986ee35ca7923341da4d415c62e4f6e5983 SHA512 c48f7f0f737a126a82f20a2230bdc433959b2d9548fd1c9c993a6c6d26218e75dc10835f7b0b7d421a989fee7507683ab1efd356170d9c5eadcae484b5fda6e3 WHIRLPOOL 54e4ec7dd75af36594eb340d16e450a2786615035134aa159dc0c113f77a65813b125542d957193fe64f25b37e2289955ef2abf8e492b6775fbd314e22c4c059
|
||||
|
@ -0,0 +1,362 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.3.92.ebuild,v 1.1 2014/06/27 16:43:33 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib readme.gentoo
|
||||
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
EBZR_PROJECT="emacs"
|
||||
EBZR_BRANCH="emacs-24"
|
||||
EBZR_REPO_URI="bzr://bzr.savannah.gnu.org/emacs/${EBZR_BRANCH}/"
|
||||
# "Nosmart" is much faster for initial branching.
|
||||
EBZR_INITIAL_URI="nosmart+${EBZR_REPO_URI}"
|
||||
EBZR_UNPACK_DIR="${WORKDIR}/emacs"
|
||||
EBZR_WORKDIR_CHECKOUT="t" #434746
|
||||
inherit bzr
|
||||
S="${EBZR_UNPACK_DIR}"
|
||||
else
|
||||
SRC_URI="http://dev.gentoo.org/~ulm/distfiles/emacs-${PV}.tar.xz
|
||||
mirror://gnu-alpha/emacs/pretest/emacs-${PV}.tar.xz"
|
||||
# FULL_VERSION keeps the full version number, which is needed in
|
||||
# order to determine some path information correctly for copy/move
|
||||
# operations later on
|
||||
FULL_VERSION="${PV%%_*}"
|
||||
S="${WORKDIR}/emacs-${FULL_VERSION}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
||||
SLOT="24"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="acl alsa aqua athena dbus games gconf gfile gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm zlib"
|
||||
REQUIRED_USE="?? ( aqua X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
>=app-admin/eselect-emacs-1.16
|
||||
>=app-emacs/emacs-common-gentoo-1.4-r1[games?,X?]
|
||||
net-libs/liblockfile
|
||||
acl? ( virtual/acl )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
dbus? ( sys-apps/dbus )
|
||||
gfile? ( >=dev-libs/glib-2.28.6 )
|
||||
gnutls? ( net-libs/gnutls )
|
||||
gpm? ( sys-libs/gpm )
|
||||
hesiod? ( net-dns/hesiod )
|
||||
kerberos? ( virtual/krb5 )
|
||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
zlib? ( sys-libs/zlib )
|
||||
X? (
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
x11-misc/xbitmaps
|
||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
||||
gsettings? ( >=dev-libs/glib-2.28.6 )
|
||||
gif? ( media-libs/giflib )
|
||||
jpeg? ( virtual/jpeg:0= )
|
||||
png? ( >=media-libs/libpng-1.4:0= )
|
||||
svg? ( >=gnome-base/librsvg-2.0 )
|
||||
tiff? ( media-libs/tiff )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
imagemagick? ( >=media-gfx/imagemagick-6.6.2 )
|
||||
xft? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
x11-libs/libXft
|
||||
m17n-lib? (
|
||||
>=dev-libs/libotf-0.9.4
|
||||
>=dev-libs/m17n-lib-1.5.1
|
||||
)
|
||||
)
|
||||
gtk? (
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
!gtk3? ( x11-libs/gtk+:2 )
|
||||
)
|
||||
!gtk? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? ( athena? ( x11-libs/libXaw ) )
|
||||
)
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
gzip-el? ( app-arch/gzip )
|
||||
pax_kernel? (
|
||||
sys-apps/attr
|
||||
sys-apps/paxctl
|
||||
)"
|
||||
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
DEPEND="${DEPEND}
|
||||
sys-apps/texinfo"
|
||||
fi
|
||||
|
||||
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
|
||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
FULL_VERSION=$(sed -n 's/^AC_INIT(emacs,[ \t]*\([^ \t,)]*\).*/\1/p' \
|
||||
configure.ac)
|
||||
[[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version"
|
||||
einfo "Emacs branch: ${EBZR_BRANCH}"
|
||||
einfo "Revision: ${EBZR_REVISION:-${EBZR_REVNO}}"
|
||||
einfo "Emacs version number: ${FULL_VERSION}"
|
||||
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
|
||||
|| die "Upstream version number changed to ${FULL_VERSION}"
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
|
||||
# Fix filename reference in redirected man page
|
||||
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
|
||||
|| die "unable to sed ctags.1"
|
||||
|
||||
AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
strip-flags
|
||||
|
||||
if use sh; then
|
||||
replace-flags "-O[1-9]" -O0 #262359
|
||||
elif use ia64; then
|
||||
replace-flags "-O[2-9]" -O1 #325373
|
||||
else
|
||||
replace-flags "-O[3-9]" -O2
|
||||
fi
|
||||
|
||||
local myconf
|
||||
|
||||
if use alsa; then
|
||||
use sound || ewarn \
|
||||
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
|
||||
myconf+=" --with-sound=alsa"
|
||||
else
|
||||
myconf+=" --with-sound=$(usex sound oss)"
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
myconf+=" --with-x --without-ns"
|
||||
myconf+=" $(use_with gconf)"
|
||||
myconf+=" $(use_with gsettings)"
|
||||
myconf+=" $(use_with toolkit-scroll-bars)"
|
||||
myconf+=" $(use_with gif)"
|
||||
myconf+=" $(use_with jpeg)"
|
||||
myconf+=" $(use_with png)"
|
||||
myconf+=" $(use_with svg rsvg)"
|
||||
myconf+=" $(use_with tiff)"
|
||||
myconf+=" $(use_with xpm)"
|
||||
myconf+=" $(use_with imagemagick)"
|
||||
|
||||
if use xft; then
|
||||
myconf+=" --with-xft"
|
||||
myconf+=" $(use_with m17n-lib libotf)"
|
||||
myconf+=" $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf+=" --without-xft"
|
||||
myconf+=" --without-libotf --without-m17n-flt"
|
||||
use m17n-lib && ewarn \
|
||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||
fi
|
||||
|
||||
local f
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
|
||||
for f in motif Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"gtk\" is set."
|
||||
done
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf+=" --with-x-toolkit=motif"
|
||||
for f in Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"motif\" is set."
|
||||
done
|
||||
elif use athena || use Xaw3d; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf+=" --with-x-toolkit=no"
|
||||
fi
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Nextstep (Cocoa) support"
|
||||
myconf+=" --with-ns --disable-ns-self-contained"
|
||||
myconf+=" --without-x"
|
||||
else
|
||||
myconf+=" --without-x --without-ns"
|
||||
fi
|
||||
|
||||
# Save version information in the Emacs binary. It will be available
|
||||
# in variable "system-configuration-options".
|
||||
myconf+=" GENTOO_PACKAGE=${CATEGORY}/${PF}"
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
myconf+=" EBZR_BRANCH=${EBZR_BRANCH} EBZR_REVNO=${EBZR_REVNO}"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--program-suffix="-${EMACS_SUFFIX}" \
|
||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
||||
--localstatedir="${EPREFIX}"/var \
|
||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
||||
--with-gameuser="${GAMES_USER_DED:-games}" \
|
||||
--without-compress-install \
|
||||
--with-file-notification=$(usev gfile || usev inotify || echo no) \
|
||||
$(use_enable acl) \
|
||||
$(use_with dbus) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with gpm) \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with libxml2 xml2) \
|
||||
$(use_with selinux) \
|
||||
$(use_with wide-int) \
|
||||
$(use_with zlib) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
|
||||
emake
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" NO_BIN_LINK=t install
|
||||
|
||||
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} \
|
||||
|| die "moving emacs executable failed"
|
||||
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 \
|
||||
|| die "moving emacs man page failed"
|
||||
|
||||
# move info dir to avoid collisions with the dir file generated by portage
|
||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|
||||
|| die "moving info dir failed"
|
||||
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
||||
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
|
||||
|
||||
# avoid collision between slots, see bug #169033 e.g.
|
||||
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
|
||||
rm -rf "${ED}"/usr/share/{applications,icons}
|
||||
rm -rf "${ED}"/var
|
||||
|
||||
# remove unused <version>/site-lisp dir
|
||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
||||
|
||||
if use gzip-el; then
|
||||
# compress .el files when a corresponding .elc exists
|
||||
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
|
||||
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
|
||||
assert "gzip .el failed"
|
||||
fi
|
||||
|
||||
local cdir
|
||||
if use source; then
|
||||
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
||||
insinto "${cdir}"
|
||||
# This is not meant to install all the source -- just the
|
||||
# C source you might find via find-function
|
||||
doins src/*.{c,h,m}
|
||||
elif has installsources ${FEATURES}; then
|
||||
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
||||
fi
|
||||
|
||||
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF
|
||||
X
|
||||
;;; ${PN}-${SLOT} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
Y (setq find-function-C-source-directory
|
||||
Y "${EPREFIX}${cdir}")
|
||||
X (let ((path (getenv "INFOPATH"))
|
||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
||||
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
|
||||
X (and path
|
||||
X ;; move Emacs Info dir before anything else in /usr/share/info
|
||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
||||
X (setq q (cdr q)))
|
||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
||||
EOF
|
||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||
|
||||
dodoc README BUGS
|
||||
|
||||
if use aqua; then
|
||||
dodir /Applications/Gentoo
|
||||
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
|
||||
mv nextstep/Emacs.app \
|
||||
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
|
||||
fi
|
||||
|
||||
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
|
||||
through the Emacs eselect module, which also redirects man and info
|
||||
pages. Therefore, several Emacs versions can be installed at the
|
||||
same time. \"man emacs.eselect\" for details.
|
||||
\\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is
|
||||
strongly recommended that you use app-admin/emacs-updater to rebuild
|
||||
all byte-compiled elisp files of the installed Emacs packages."
|
||||
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
|
||||
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
|
||||
machine would satisfy basic Emacs requirements under X11.
|
||||
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
|
||||
for how to enable anti-aliased fonts."
|
||||
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
|
||||
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink
|
||||
it into /Applications by yourself."
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
||||
if [[ -f ${ED}${infodir}/dir.orig ]]; then
|
||||
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
|
||||
elif [[ -d "${ED}"${infodir} ]]; then
|
||||
# this should not happen in EAPI 4
|
||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
||||
rm -f "${ED}"${infodir}/dir{,.*}
|
||||
for f in "${ED}"${infodir}/*; do
|
||||
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
||||
install-info --info-dir="${ED}"${infodir} "${f}" \
|
||||
|| die "install-info failed"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
|
||||
local pvr
|
||||
for pvr in ${REPLACING_VERSIONS}; do
|
||||
[[ ${pvr%%[-_]*} = 24.[12] ]] && FORCE_PRINT_ELOG=1
|
||||
done
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if use livecd; then
|
||||
# force an update of the emacs symlink for the livecd/dvd,
|
||||
# because some microemacs packages set it with USE=livecd
|
||||
eselect emacs update
|
||||
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
|
||||
# refresh symlinks in case any installed files have changed
|
||||
eselect emacs set ${EMACS_SUFFIX}
|
||||
else
|
||||
eselect emacs update ifunset
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
@ -0,0 +1,153 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea-bin/icedtea-bin-6.1.13.3-r2.ebuild,v 1.1 2014/06/27 14:34:25 caster Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit java-vm-2 multilib prefix
|
||||
|
||||
dist="http://dev.gentoo.org/~caster/distfiles/"
|
||||
TARBALL_VERSION="${PV}"
|
||||
PLUGIN_VERSION="${PV}"
|
||||
|
||||
DESCRIPTION="A Gentoo-made binary build of the IcedTea JDK"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
SRC_URI="
|
||||
amd64? ( ${dist}/${PN}-core-${TARBALL_VERSION}-amd64.tar.bz2 )
|
||||
x86? ( ${dist}/${PN}-core-${TARBALL_VERSION}-x86.tar.bz2 )
|
||||
doc? ( ${dist}/${PN}-doc-${TARBALL_VERSION}.tar.bz2 )
|
||||
examples? (
|
||||
amd64? ( ${dist}/${PN}-examples-${TARBALL_VERSION}-amd64.tar.bz2 )
|
||||
x86? ( ${dist}/${PN}-examples-${TARBALL_VERSION}-x86.tar.bz2 )
|
||||
)
|
||||
nsplugin? (
|
||||
amd64? ( ${dist}/${PN}-nsplugin-${PLUGIN_VERSION}-amd64.tar.bz2 )
|
||||
x86? ( ${dist}/${PN}-nsplugin-${PLUGIN_VERSION}-x86.tar.bz2 )
|
||||
)
|
||||
source? ( ${dist}/${PN}-src-${TARBALL_VERSION}.tar.bz2 )"
|
||||
|
||||
LICENSE="GPL-2-with-linking-exception"
|
||||
SLOT="6"
|
||||
KEYWORDS="-* amd64 x86"
|
||||
|
||||
IUSE="+X +alsa cjk +cups doc examples nsplugin selinux source"
|
||||
REQUIRED_USE="nsplugin? ( X )"
|
||||
RESTRICT="strip"
|
||||
|
||||
# 423161
|
||||
QA_PREBUILT="opt/.*"
|
||||
|
||||
ALSA_COMMON_DEP="
|
||||
>=media-libs/alsa-lib-1.0.20"
|
||||
CUPS_COMMON_DEP="
|
||||
>=net-print/cups-1.4"
|
||||
X_COMMON_DEP="
|
||||
>=dev-libs/glib-2.32:2
|
||||
>=media-libs/freetype-2.4.9:2
|
||||
>=x11-libs/gtk+-2.24:2
|
||||
>=x11-libs/libX11-1.4
|
||||
>=x11-libs/libXext-1.3
|
||||
>=x11-libs/libXi-1.6
|
||||
>=x11-libs/libXtst-1.2"
|
||||
|
||||
COMMON_DEP="
|
||||
>=media-libs/giflib-4.1.6-r1
|
||||
>=media-libs/libpng-1.6:0=
|
||||
>=sys-devel/gcc-4.5.4
|
||||
>=sys-libs/glibc-2.15
|
||||
>=sys-libs/zlib-1.2.3-r1
|
||||
|| ( virtual/jpeg:62 media-libs/jpeg:62 )
|
||||
nsplugin? (
|
||||
>=dev-libs/atk-1.30.0
|
||||
>=dev-libs/nspr-4.8
|
||||
>=x11-libs/cairo-1.8.8
|
||||
>=x11-libs/pango-1.24.5
|
||||
|
||||
)
|
||||
selinux? ( sec-policy/selinux-java )"
|
||||
|
||||
RDEPEND="${COMMON_DEP}
|
||||
X? (
|
||||
${X_COMMON_DEP}
|
||||
media-fonts/dejavu
|
||||
cjk? (
|
||||
media-fonts/arphicfonts
|
||||
media-fonts/baekmuk-fonts
|
||||
media-fonts/lklug
|
||||
media-fonts/lohit-fonts
|
||||
media-fonts/sazanami
|
||||
)
|
||||
)
|
||||
alsa? ( ${ALSA_COMMON_DEP} )
|
||||
cups? ( ${CUPS_COMMON_DEP} )"
|
||||
|
||||
src_install() {
|
||||
local dest="/opt/${P}"
|
||||
local ddest="${ED}/${dest}"
|
||||
dodir "${dest}"
|
||||
|
||||
# Ensures HeadlessGraphicsEnvironment is used.
|
||||
if ! use X; then
|
||||
rm -r jre/lib/$(get_system_arch)/xawt || die
|
||||
fi
|
||||
|
||||
# doins can't handle symlinks.
|
||||
cp -pRP bin include jre lib man "${ddest}" || die
|
||||
|
||||
# Remove on next bump as the needed marks are already set by icedtea ebuild.
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
dodoc ../doc/{ASSEMBLY_EXCEPTION,THIRD_PARTY_README}
|
||||
|
||||
if use doc; then
|
||||
dohtml -r ../doc/html/*
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
cp -pRP share/{demo,sample} "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
cp src.zip "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use nsplugin; then
|
||||
cp -pPR ../icedtea-web-bin-${SLOT} "${ddest}"/.. || die
|
||||
install_mozilla_plugin "/opt/icedtea-web-bin-${SLOT}/$(get_libdir)/IcedTeaPlugin.so"
|
||||
docinto icedtea-web
|
||||
dodoc ../doc/icedtea-web/*
|
||||
fi
|
||||
|
||||
# Remove after next bump, handled by icedtea ebuild. Bug 390663
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties.src "${T}"/fontconfig.Gentoo.properties || die
|
||||
eprefixify "${T}"/fontconfig.Gentoo.properties
|
||||
insinto "${dest}"/jre/lib
|
||||
doins "${T}"/fontconfig.Gentoo.properties
|
||||
|
||||
set_java_env
|
||||
java-vm_revdep-mask "${dest}"
|
||||
java-vm_sandbox-predict /proc/self/coredump_filter
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<=dev-java/icedtea-bin-1.10.4:${SLOT}"; then
|
||||
# portage would preserve the symlink otherwise, related to bug #384397
|
||||
rm -f "${EROOT}/usr/lib/jvm/icedtea6-bin"
|
||||
elog "To unify the layout and simplify scripts, the identifier of Icedtea-bin-6*"
|
||||
elog "has changed from 'icedtea6-bin' to 'icedtea-bin-6' starting from version 6.1.10.4"
|
||||
elog "If you had icedtea6-bin as system VM, the change should be automatic, however"
|
||||
elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
|
||||
elog "and the same holds for any user VM settings. Sorry for the inconvenience."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Set as default VM if none exists
|
||||
java-vm-2_pkg_postinst
|
||||
|
||||
if use nsplugin && [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog "The icedtea-bin-${SLOT} browser plugin can be enabled using eselect java-nsplugin"
|
||||
elog "Note that the plugin works only in browsers based on xulrunner-1.9.1+"
|
||||
elog "such as Firefox 3.5+ and recent Chromium versions."
|
||||
fi
|
||||
}
|
@ -0,0 +1,149 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea-bin/icedtea-bin-6.1.13.3-r3.ebuild,v 1.1 2014/06/27 14:34:25 caster Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit java-vm-2 multilib prefix
|
||||
|
||||
dist="http://dev.gentoo.org/~caster/distfiles/"
|
||||
TARBALL_VERSION="${PV}"
|
||||
|
||||
DESCRIPTION="A Gentoo-made binary build of the IcedTea JDK"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
SRC_URI="
|
||||
amd64? ( ${dist}/${PN}-core-${TARBALL_VERSION}-amd64.tar.bz2 )
|
||||
x86? ( ${dist}/${PN}-core-${TARBALL_VERSION}-x86.tar.bz2 )
|
||||
doc? ( ${dist}/${PN}-doc-${TARBALL_VERSION}.tar.bz2 )
|
||||
examples? (
|
||||
amd64? ( ${dist}/${PN}-examples-${TARBALL_VERSION}-amd64.tar.bz2 )
|
||||
x86? ( ${dist}/${PN}-examples-${TARBALL_VERSION}-x86.tar.bz2 )
|
||||
)
|
||||
source? ( ${dist}/${PN}-src-${TARBALL_VERSION}.tar.bz2 )"
|
||||
|
||||
LICENSE="GPL-2-with-linking-exception"
|
||||
SLOT="6"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
|
||||
IUSE="+X +alsa cjk +cups doc examples nsplugin selinux source webstart"
|
||||
REQUIRED_USE="nsplugin? ( X )"
|
||||
RESTRICT="strip"
|
||||
|
||||
# 423161
|
||||
QA_PREBUILT="opt/.*"
|
||||
|
||||
ALSA_COMMON_DEP="
|
||||
>=media-libs/alsa-lib-1.0.20"
|
||||
CUPS_COMMON_DEP="
|
||||
>=net-print/cups-1.4"
|
||||
X_COMMON_DEP="
|
||||
>=dev-libs/glib-2.32:2
|
||||
>=media-libs/freetype-2.4.9:2
|
||||
>=x11-libs/gtk+-2.24:2
|
||||
>=x11-libs/libX11-1.4
|
||||
>=x11-libs/libXext-1.3
|
||||
>=x11-libs/libXi-1.6
|
||||
>=x11-libs/libXtst-1.2"
|
||||
|
||||
COMMON_DEP="
|
||||
>=media-libs/giflib-4.1.6-r1
|
||||
>=media-libs/libpng-1.6:0=
|
||||
>=sys-devel/gcc-4.5.4
|
||||
>=sys-libs/glibc-2.15
|
||||
>=sys-libs/zlib-1.2.3-r1
|
||||
|| ( virtual/jpeg:62 media-libs/jpeg:62 )
|
||||
selinux? ( sec-policy/selinux-java )"
|
||||
|
||||
RDEPEND="${COMMON_DEP}
|
||||
X? (
|
||||
${X_COMMON_DEP}
|
||||
media-fonts/dejavu
|
||||
cjk? (
|
||||
media-fonts/arphicfonts
|
||||
media-fonts/baekmuk-fonts
|
||||
media-fonts/lklug
|
||||
media-fonts/lohit-fonts
|
||||
media-fonts/sazanami
|
||||
)
|
||||
)
|
||||
alsa? ( ${ALSA_COMMON_DEP} )
|
||||
cups? ( ${CUPS_COMMON_DEP} )"
|
||||
|
||||
PDEPEND="webstart? ( dev-java/icedtea-web:0 )
|
||||
nsplugin? ( dev-java/icedtea-web:0[icedtea7] )"
|
||||
|
||||
src_install() {
|
||||
local dest="/opt/${P}"
|
||||
local ddest="${ED}/${dest}"
|
||||
dodir "${dest}"
|
||||
|
||||
# Ensures HeadlessGraphicsEnvironment is used.
|
||||
if ! use X; then
|
||||
rm -r jre/lib/$(get_system_arch)/xawt || die
|
||||
fi
|
||||
|
||||
# doins can't handle symlinks.
|
||||
cp -pRP bin include jre lib man "${ddest}" || die
|
||||
|
||||
# Remove on next bump as the needed marks are already set by icedtea ebuild.
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
dodoc ../doc/{ASSEMBLY_EXCEPTION,THIRD_PARTY_README}
|
||||
|
||||
if use doc; then
|
||||
dohtml -r ../doc/html/*
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
cp -pRP share/{demo,sample} "${ddest}" || die
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
cp src.zip "${ddest}" || die
|
||||
fi
|
||||
|
||||
# Remove after next bump, handled by icedtea ebuild. Bug 390663
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties.src "${T}"/fontconfig.Gentoo.properties || die
|
||||
eprefixify "${T}"/fontconfig.Gentoo.properties
|
||||
insinto "${dest}"/jre/lib
|
||||
doins "${T}"/fontconfig.Gentoo.properties
|
||||
|
||||
if use webstart || use nsplugin; then
|
||||
dosym /usr/$(get_libdir)/icedtea${SLOT}-web/bin/itweb-settings ${dest}/bin/itweb-settings
|
||||
dosym /usr/$(get_libdir)/icedtea${SLOT}-web/bin/itweb-settings ${dest}/jre/bin/itweb-settings
|
||||
fi
|
||||
if use webstart; then
|
||||
dosym /usr/$(get_libdir)/icedtea${SLOT}-web/bin/javaws ${dest}/bin/javaws
|
||||
dosym /usr/$(get_libdir)/icedtea${SLOT}-web/bin/javaws ${dest}/jre/bin/javaws
|
||||
fi
|
||||
|
||||
set_java_env
|
||||
java-vm_revdep-mask "${dest}"
|
||||
java-vm_sandbox-predict /proc/self/coredump_filter
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<=dev-java/icedtea-bin-1.10.4:${SLOT}"; then
|
||||
# portage would preserve the symlink otherwise, related to bug #384397
|
||||
rm -f "${EROOT}/usr/lib/jvm/icedtea6-bin"
|
||||
elog "To unify the layout and simplify scripts, the identifier of Icedtea-bin-6*"
|
||||
elog "has changed from 'icedtea6-bin' to 'icedtea-bin-6' starting from version 6.1.10.4"
|
||||
elog "If you had icedtea6-bin as system VM, the change should be automatic, however"
|
||||
elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
|
||||
elog "and the same holds for any user VM settings. Sorry for the inconvenience."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use nsplugin; then
|
||||
if [[ -n ${REPLACING_VERSIONS} ]] && ! version_is_at_least 6.1.13.3-r1 ${REPLACING_VERSIONS} ]]; then
|
||||
elog "The nsplugin for icedtea-bin is now provided by the icedtea-web package"
|
||||
elog "If you had icedtea-bin-6 nsplugin selected, you may see a related error below"
|
||||
elog "The switch should complete properly during the subsequent installation of icedtea-web"
|
||||
elog "Afterwards you may verify the output of 'eselect java-nsplugin list' and adjust accordingly'"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Set as default VM if none exists
|
||||
java-vm-2_pkg_postinst
|
||||
}
|
@ -0,0 +1,106 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea-web/icedtea-web-1.4.2-r1.ebuild,v 1.1 2014/06/27 14:39:37 caster Exp $
|
||||
# Build written by Andrew John Hughes (ahughes@redhat.com)
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit autotools eutils readme.gentoo java-pkg-2 java-vm-2
|
||||
|
||||
DESCRIPTION="FOSS Java browser plugin and Web Start implementation"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="doc +icedtea7 javascript +nsplugin test"
|
||||
|
||||
COMMON_DEP="
|
||||
icedtea7? ( || (
|
||||
dev-java/icedtea:7 dev-java/icedtea-bin:7
|
||||
) )
|
||||
!icedtea7? ( || (
|
||||
dev-java/icedtea:7 dev-java/icedtea-bin:7
|
||||
dev-java/icedtea:6 dev-java/icedtea-bin:6
|
||||
) )
|
||||
app-admin/eselect-java
|
||||
nsplugin? (
|
||||
>=dev-libs/glib-2.16
|
||||
)"
|
||||
RDEPEND="${COMMON_DEP}"
|
||||
# Need system junit 4.8+. Bug #389795
|
||||
DEPEND="${COMMON_DEP}
|
||||
virtual/pkgconfig
|
||||
javascript? ( dev-java/rhino:1.6 )
|
||||
nsplugin? ( net-misc/npapi-sdk )
|
||||
test? ( >=dev-java/junit-4.8:4 )"
|
||||
|
||||
# http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-December/011221.html
|
||||
pkg_setup() {
|
||||
JAVA_PKG_WANT_BUILD_VM="icedtea-7 icedtea-bin-7"
|
||||
if ! use icedtea7; then
|
||||
JAVA_PKG_WANT_BUILD_VM="${JAVA_PKG_WANT_BUILD_VM} icedtea-6 icedtea-bin-6"
|
||||
fi
|
||||
JAVA_PKG_WANT_SOURCE="1.6"
|
||||
JAVA_PKG_WANT_TARGET="1.6"
|
||||
|
||||
java-pkg-2_pkg_setup
|
||||
java-vm-2_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/0001-Fix-parallel-install.-BGO-440906.patch
|
||||
epatch "${FILESDIR}"/0002-Respect-LDFLAGS.patch # bug #356645
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local config=(
|
||||
# javaws is managed by eselect java-vm and symlinked to by icedtea so
|
||||
# move it out of the way and symlink itweb-settings back to bin
|
||||
--bindir="${EPREFIX}"/usr/libexec/${PN}
|
||||
--with-jdk-home="${JAVA_HOME}"
|
||||
$(use_enable doc docs)
|
||||
$(use_enable nsplugin plugin)
|
||||
$(use_with javascript rhino)
|
||||
)
|
||||
|
||||
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
|
||||
econf "${config[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use nsplugin; then
|
||||
install_mozilla_plugin "/usr/$(get_libdir)/IcedTeaPlugin.so"
|
||||
fi
|
||||
|
||||
mkdir -p "${ED}"/usr/bin || die
|
||||
dosym /usr/libexec/${PN}/itweb-settings /usr/bin/itweb-settings || die
|
||||
|
||||
# Should we patch system default lookup instead?
|
||||
mkdir -p "${ED}"/etc/.java/deployment/ || die
|
||||
echo "deployment.jre.dir=/etc/java-config-2/current-icedtea-web-vm" \
|
||||
> "${ED}"/etc/.java/deployment/deployment.properties || die
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
VMHANDLE="icedtea-web@${GENTOO_VM}" java-vm_check-nsplugin
|
||||
java_mozilla_clean_
|
||||
readme.gentoo_print_elog
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
# override the java-vm-2 eclass check for removing a system VM, as it
|
||||
# doesn't make sense here.
|
||||
:;
|
||||
}
|
@ -0,0 +1,177 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jython/jython-2.7_beta2.ebuild,v 1.1 2014/06/27 22:27:42 chutzpah Exp $
|
||||
|
||||
EAPI=5
|
||||
JAVA_PKG_IUSE="doc examples source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2 python-utils-r1 flag-o-matic
|
||||
|
||||
MY_PV=${PV/_beta/-b}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
DESCRIPTION="An implementation of Python written in Java"
|
||||
HOMEPAGE="http://www.jython.org"
|
||||
SRC_URI="http://search.maven.org/remotecontent?filepath=org/python/${PN}/${MY_PV}/${MY_P}-sources.jar"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="2.7"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="+readline test"
|
||||
REQUIRED_USE="test? ( readline )"
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/antlr:3
|
||||
dev-java/asm:4
|
||||
dev-java/commons-compress:0
|
||||
dev-java/guava:13
|
||||
>=dev-java/java-config-2.1.11-r3
|
||||
dev-java/jffi:1.2
|
||||
dev-java/jline:0
|
||||
dev-java/icu4j:52
|
||||
dev-java/jnr-constants:0
|
||||
dev-java/jnr-posix:2.1
|
||||
dev-java/stringtemplate:0
|
||||
dev-java/xerces:2
|
||||
java-virtuals/script-api:0
|
||||
java-virtuals/servlet-api:2.5
|
||||
readline? ( >=dev-java/libreadline-java-0.8.0:0 )"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.5"
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.5
|
||||
app-arch/unzip
|
||||
test? (
|
||||
dev-java/junit:4
|
||||
dev-java/ant-junit:0
|
||||
)"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
EANT_GENTOO_CLASSPATH="asm-4,commons-compress,guava-13,jffi-1.2,jline,jnr-constants"
|
||||
EANT_GENTOO_CLASSPATH+=",script-api,servlet-api-2.5,stringtemplate,xerces-2,icu4j-52"
|
||||
JAVA_ANT_CLASSPATH_TAGS+=" java"
|
||||
|
||||
EANT_BUILD_TARGET="developer-build"
|
||||
EANT_TEST_EXTRA_ARGS="-Dpython.home=dist"
|
||||
|
||||
# jdbc-informix and jdbc-oracle-bin (requires registration) aren't exposed.
|
||||
# Uncomment and add to COMMON_DEP if you want either of them
|
||||
#EANT_GENTOO_CLASSPATH+=",jdbc-informix" EANT_EXTRA_ARGS+=" -Dinformix.present"
|
||||
#EANT_GENTOO_CLASSPATH+=",jdbc-oracle-bin" EANT_EXTRA_ARGS+=" -Doracle.present"
|
||||
|
||||
java_prepare() {
|
||||
find \( -name '*.jar' -o -name '*.class' \
|
||||
-o -name '*.pyc' -o -name '*.exe' \) -delete
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-2.5.2-distutils_scripts_location.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.5.2-respect_PYTHONPATH.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.7_beta1-ant.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.7_beta1-dont-always-recompile-classes.patch
|
||||
|
||||
if ! use readline; then
|
||||
rm -v src/org/python/util/ReadlineConsole.java || die
|
||||
fi
|
||||
|
||||
# needed for launchertest
|
||||
chmod +x tests/shell/test-jython.sh || die
|
||||
|
||||
# apparently this can cause problems
|
||||
append-flags -fno-stack-protector
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use readline && EANT_GENTOO_CLASSPATH+=",libreadline-java"
|
||||
|
||||
EANT_GENTOO_CLASSPATH_EXTRA="$(java-pkg_getjars --with-dependencies antlr-3,jnr-posix-2.1)"
|
||||
EANT_GENTOO_CLASSPATH_EXTRA+=":$(java-pkg_getjars --build-only ant-core)"
|
||||
|
||||
sed -i -e "1 a\
|
||||
CLASSPATH=\"$(java-pkg_getjars "${EANT_GENTOO_CLASSPATH}"):${EANT_GENTOO_CLASSPATH_EXTRA}\"" \
|
||||
src/shell/jython || die
|
||||
|
||||
java-pkg-2_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local instdir=/usr/share/${PN}-${SLOT}
|
||||
|
||||
java-pkg_newjar dist/${PN}-dev.jar
|
||||
|
||||
java-pkg_register-optional-dependency jdbc-mysql
|
||||
java-pkg_register-optional-dependency jdbc-postgresql
|
||||
|
||||
insinto ${instdir}
|
||||
doins -r dist/{Lib,registry}
|
||||
|
||||
dodoc ACKNOWLEDGMENTS NEWS README.txt
|
||||
|
||||
use doc && java-pkg_dojavadoc dist/Doc/javadoc
|
||||
use source && java-pkg_dosrc src/*
|
||||
use examples && java-pkg_doexamples Demo/*
|
||||
|
||||
local java_args=(
|
||||
-Dpython.home="${EPREFIX}"/usr/share/${PN}-${SLOT}
|
||||
-Dpython.executable="${EPREFIX}"/usr/bin/jython${SLOT}
|
||||
-Dpython.cachedir="\${HOME}/.jythoncachedir"
|
||||
)
|
||||
|
||||
java-pkg_dolauncher jython${SLOT} \
|
||||
--main org.python.util.jython \
|
||||
--java_args "${java_args[*]}"
|
||||
|
||||
if use readline; then
|
||||
sed \
|
||||
-e "s/#\(python.console=org.python.util.ReadlineConsole\)/\1/" \
|
||||
-e "/#python.console.readlinelib=JavaReadline/a python.console.readlinelib=GnuReadline" \
|
||||
-i "${ED}"/usr/share/${PN}-${SLOT}/registry || die
|
||||
fi
|
||||
|
||||
# we need a wrapper to help python_optimize
|
||||
cat <<-EOF > "${T}"/jython
|
||||
exec java -cp "$(java-pkg_getjars "${EANT_GENTOO_CLASSPATH}"):${EANT_GENTOO_CLASSPATH_EXTRA}:dist/${PN}-dev.jar" \
|
||||
-Dpython.home="${ED}${instdir}" \
|
||||
-Dpython.cachedir="${T}/.jythoncachedir" \
|
||||
-Duser.home="${T}" \
|
||||
org.python.util.jython "\${@}"
|
||||
EOF
|
||||
chmod +x "${T}"/jython || die
|
||||
|
||||
python_export jython${SLOT} EPYTHON PYTHON_SITEDIR
|
||||
local PYTHON="${T}"/jython
|
||||
|
||||
# compile tests (everything else is compiled already)
|
||||
# we're keeping it quiet since jython reports errors verbosely
|
||||
# and some of the tests are supposed to trigger compile errors
|
||||
python_optimize "${ED}${instdir}"/Lib/test &>/dev/null
|
||||
|
||||
# for python-exec
|
||||
echo "EPYTHON='${EPYTHON}'" > epython.py
|
||||
python_domodule epython.py
|
||||
|
||||
# some of the class files end up with newer timestamps than the files they
|
||||
# were generated from, make sure this doesn't happen
|
||||
find "${ED}${instdir}"/Lib/ -name '*.class' | xargs touch
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! has_version dev-java/jython ; then
|
||||
elog
|
||||
elog "readline can be configured in the registry:"
|
||||
elog
|
||||
elog "python.console=org.python.util.ReadlineConsole"
|
||||
elog "python.console.readlinelib=GnuReadline"
|
||||
elog
|
||||
elog "Global registry: '${EROOT}usr/share/${PN}-${SLOT}/registry'"
|
||||
elog "User registry: '~/.jython'"
|
||||
elog "See http://www.jython.org/docs/registry.html for more information."
|
||||
elog
|
||||
fi
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/File-RsyncP/File-RsyncP-0.68.ebuild,v 1.11 2011/04/20 13:01:04 jlec Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
MODULE_AUTHOR=CBARRATT
|
||||
inherit perl-module toolchain-funcs
|
||||
|
||||
DESCRIPTION="An rsync perl module"
|
||||
HOMEPAGE="http://perlrsync.sourceforge.net/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ia64 ~ppc ~ppc64 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="net-misc/rsync"
|
||||
|
||||
MAKEOPTS="${MAKEOPTS} -j1"
|
||||
|
||||
src_prepare() {
|
||||
perl-module_src_prepare
|
||||
tc-export CC
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST File-RsyncP-0.68.tar.gz 160596 SHA256 55606502026d54d1ee2e2f117fcdb3e4ff37041d6d86286163519f670626b48b SHA512 610fdd7749d337fbca9cba42eb8942d9472e812b65e9b628e5955d5915c9288a072dfb27675b273ac2723614c32d8cee566a3efa629389096b4fc652eb7bf6bb WHIRLPOOL 64815f213d8e230228b1bb3b8d5a92e1e2c6348bf9075677227d6e45e618c517f801e5cbec5eb5a0ee378e0f5b0be69f0e5e8750c88a1a6f2682ae57479face6
|
||||
DIST File-RsyncP-0.70.tar.gz 160281 SHA256 d4f6127650393a65ed7d66d14b3a126827c99e8422c3cf205481a9f7ebce9994 SHA512 fdc04e2e9280be26578ff6bb7ca80f43408dd6709297ab138ca708f79282e6b9bc3433c35f0841c5dab42302403262c67b177cc4889b85a3c5417a295c047dc0 WHIRLPOOL ab3f0a1d4da81379c6fe24b7e38061ac80d0a74284954bfe0dcd947e88f0eac363db31041b6101fbab7f9634cf8ea7c1213707f2618124ed9f0e14b87737e981
|
||||
|
@ -1,18 +0,0 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/IO-AIO/IO-AIO-2.33.ebuild,v 1.2 2007/06/15 03:08:33 mcummings Exp $
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Asynchronous Input/Output"
|
||||
HOMEPAGE="http://search.cpan.org/search?query=IO-AIO&mode=dist"
|
||||
SRC_URI="mirror://cpan/authors/id/M/ML/MLEHMANN/${P}.tar.gz"
|
||||
|
||||
IUSE=""
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="amd64 ~ppc ~x86"
|
||||
|
||||
mydoc="Changes README"
|
||||
SRC_TEST="do"
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/IO-AIO/IO-AIO-3.3.1.ebuild,v 1.1 2009/11/13 02:50:17 robbat2 Exp $
|
||||
|
||||
inherit versionator
|
||||
MODULE_AUTHOR="MLEHMANN"
|
||||
MY_PV="$(get_major_version).$(delete_all_version_separators $(get_after_major_version))"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Asynchronous Input/Output"
|
||||
|
||||
IUSE=""
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
mydoc="Changes README"
|
||||
SRC_TEST="do"
|
||||
|
||||
DEPEND="dev-perl/common-sense"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/IO-AIO/IO-AIO-4.120.0.ebuild,v 1.2 2012/04/21 02:23:26 robbat2 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=MLEHMANN
|
||||
MODULE_VERSION=${PV%0.0}
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Asynchronous Input/Output"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-perl/common-sense"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/IO-AIO/IO-AIO-4.150.0.ebuild,v 1.1 2012/04/21 02:23:26 robbat2 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=MLEHMANN
|
||||
MODULE_VERSION=${PV%0.0}
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Asynchronous Input/Output"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-perl/common-sense"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,11 +1,11 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/IO-AIO/IO-AIO-3.710.0.ebuild,v 1.1 2011/08/30 13:36:53 tove Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/IO-AIO/IO-AIO-4.310.0.ebuild,v 1.1 2014/06/27 17:27:15 zlogene Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=MLEHMANN
|
||||
MODULE_VERSION=3.71
|
||||
MODULE_VERSION=4.31
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Asynchronous Input/Output"
|
@ -1,6 +1,2 @@
|
||||
DIST IO-AIO-2.33.tar.gz 68124 SHA256 aa513866389ca768822ec2866500ccc2c85a7ce4f49a816be90e40d28f604259 SHA512 86f7ba6d680e6c1c8e46b24f993c5e0f77ec76bfac8afc73464639e2837a05e3f8f00b3b75855c1c86fd579a4748afa1858e07e8bf33da48d726538dc2851e16 WHIRLPOOL 39bb6af592c1d2047cfebc02c818b2842c928ef80b155c100473ff2f0ac0f7ab5af68300501744d2012759e0ba2536f66923c37abb37414ffe941aed11c2090c
|
||||
DIST IO-AIO-3.31.tar.gz 98008 SHA256 330a65e6e4fee7444fc8a068b0c37aead44b1a2ad922440315f3a40546f40272 SHA512 6e88e62e0253f0fc63cbbd637a0c2908aa1c949595d6434f54d2130ae1a05af6f894bf20e01de8ade0a641590c8c37be710724f32b6620a5c4c42962fe79480a WHIRLPOOL e5830a463189a0cd4d19381dcfb85900826bc41bc14d40a0cdaad3a587dc17a53975564a7a400a789daf51701f595bb487814220cbec2d95aaf34b2cd5fb6721
|
||||
DIST IO-AIO-3.71.tar.gz 111141 SHA256 b294c083c7b874e6e38e15c3ca1328340f827b33d3a17c2047085ee69dcdf26a SHA512 7f0b9f199fb7b045f6f3d6821468a681bdccde64e7470bb8d248f55be707342a8890de743d0c82f364c452cca91d6c8e7107d8884efa69ee79e5038860543149 WHIRLPOOL 977446b12383505e0701d3e17975bf0b4fae8716a3388e77b214d3eef26a49cc9d364b24a948c56d8f2f5ca12df17387cf2fa3394bdded29664bc7100e54ad06
|
||||
DIST IO-AIO-4.12.tar.gz 134537 SHA256 07d2619c522e7cfe83caffa0f2b77de8567d1bb4c82cc9768d283bedbd604667 SHA512 57ecda3c704ccb80f12654870d97f170e6abbcae9c3e1a532a4bb10983bde002b37579e6f7ca351d5183b7a835b6c5ab9dd4b95fe1460279fb079872644c1c7d WHIRLPOOL dcf2fe39ad2ea7028c38df7f245139318b4ad71f0de4e66a60dae5c19b08b5bd022c8dab051233497ccb2ace5ba800e8d9609659224f5d82c38c94d368a1c08f
|
||||
DIST IO-AIO-4.15.tar.gz 140637 SHA256 01d6d560250facc1c64b921b4aaf3c3fe40954d37a2a034a43b10d03743b2dcc SHA512 bf81982aa4f812f00272db8824762b06fb02707d8fc2f6d2e1eb7e24af007a82158304f05e8e1f3e658898baebf62b03799a071ec10e261dbc8e24938e00581b WHIRLPOOL 7b0fbab2430983c8ec4abef904e291f112d60e3062d4a6452352546aa454e50e25d7d124cba4c54e30d7fa055f6b749800a9b750beeec947e984a6fe271a692c
|
||||
DIST IO-AIO-4.18.tar.gz 146624 SHA256 4ca046ddb78891a2d5204e2b3271e2de3fecb65f218da5c360b10e6814831986 SHA512 4fd924084791e91c20cb8ee2e868af0ee27727515e8fb6f56e195fa6167180b56cd2132469c79d465dba1ae5606dbec0efe4a7e6273998a531c21859263f2363 WHIRLPOOL d13afdae945e1f60303944a37d441c5579f95a816500c8042ed6e2ea89d359339ac2d8b8c90e6487bfbd813bec5ad5610a74021c22a6bb9293bd3cd578799e96
|
||||
DIST IO-AIO-4.31.tar.gz 149718 SHA256 b68582588e2c89035cad19c1b0ee84d331ee801f0b4fb521ec23aa1e1010a09e SHA512 f1e564595201ba46506d9aea4f8e54d8aae55b8b018ad8fddcd3eeba3b3a5f6814df21f5dee68a3a30cee7509de22a4440afcec73d6df15d20f44ef5e5496a27 WHIRLPOOL 6a265606d4609b67812382bbcf1f804ba1477634bdec198770245015ff854e3fd48b37967cc2c5563db85a4f316319dd23a93db08bdcb1d932013fd603942291
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/gnuplot-py/gnuplot-py-1.8-r1.ebuild,v 1.3 2014/06/27 15:12:20 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_SINGLE_IMPL=true
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="A python wrapper for Gnuplot"
|
||||
HOMEPAGE="http://gnuplot-py.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
sci-visualization/gnuplot"
|
||||
|
||||
DOCS=( ANNOUNCE.txt CREDITS.txt FAQ.txt NEWS.txt TODO.txt )
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
epatch "${FILESDIR}"/${PN}-1.7-mousesupport.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins -r doc/Gnuplot/*
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST plyr-1.0.2.tar.gz 13835 SHA256 d30d1e11e7376479ef523bfb4b19c5b7a441c8354dc23289f74c32fea55a9641 SHA512 b17ab6256c538bc01a5b147ca15346eb1359eb9c945d61ac6bcf370c81a55854736d500b19c258b8ea795d5faaad294ad34aa87b8edceb9e4064932cb8038de7 WHIRLPOOL ec1da2a4078198c8dd385ef38e54a8b9b39c2bf8718ad5f0e67c4e82c78b0a7cd01fffb49d0fa0bbabd4473b2e53e6f2ff909ee70dd421041a08ca44e71fc960
|
||||
DIST python-glyr-1.0.6.tar.gz 42952 SHA256 5bb41d3fb860ef02e560942e9f51d9bef167725cef03577af3667465005bacfd SHA512 c4b04b1379116048f78c3ce5f9d30c92fd0d7198bfda456891d3012d115b86a5970595d9b4bc1d43028e87c9d467c35a7d02c7f3a9f4670dae8a17c22d1ab58a WHIRLPOOL 182b43c2611e35455d152e0a7ef32c9da5530b819ae04bd8086e8e96f8e9c5ee661d940a42b31c56a063286074e1842e468c6d4c4a58513bf478ea2280892e8d
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/plyr/plyr-1.0.2.ebuild,v 1.1 2014/06/22 12:28:01 idella4 Exp $
|
||||
# Ebuild generated by g-pypi 0.3
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="A python wrapper for Glyr"
|
||||
HOMEPAGE="http://sahib.github.com/python-glyr/intro.html"
|
||||
SRC_URI="mirror://pypi/p/plyr/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
KEYWORDS="~amd64"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="media-libs/glyr"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_compile() {
|
||||
if ! python_is_python3; then
|
||||
local CFLAGS=${CFLAGS}
|
||||
append-cflags -fno-strict-aliasing
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
@ -1,2 +1,4 @@
|
||||
DIST Polygon-2.0.4.zip 73544 SHA256 a9a85d81cc9faabba398001b1e9d32444e98147ac6e31cbdc5ef512c4f7c43dd SHA512 1d1b6a6f601298fc2a05f2fa30ff7ed81feb3e3651f4579524a3f2bb6403ceb404ab7a41545fc742ee8be626d034fd32d5e3554fec56811b1631f8c5b8352dd5 WHIRLPOOL db6342be7594666af6d441b36c825e9c0e8aa333ad5b77c18ca64ac27367b897bd7bcae0ea83fcb748007f3331514d16acafe3101ea1404e04f530441d566d7e
|
||||
DIST Polygon-3.0.4a-src.zip 163024 SHA256 2ebef747544660a17a4aefc5a5a8429b6c64af8e0044130f98ed241b48e8fd9d SHA512 9dd743c9df139dc698a6c2f01615d32a62db63af473336f669be9510d8fd5e4676804238b630cc9540e07b73f96a67333f13e2c239e11d9a1f3a40ef28f92b03 WHIRLPOOL 5167cb0397f5da8b735fb6dcd54d385ef66c0010997e27c96fd509efe371e36731b7b00aff15a5f31c4b2948aff3f30a95d3d74bc8a2dc0ca2069c28d42e9360
|
||||
DIST Polygon2-2.0.6.zip 73551 SHA256 3e0e1a5125e892faa5964523de28c0349b573ed102547e12a1affc3fed2cac3b SHA512 d0827fe3299449842e201598b59e423bf3029302037ffb9329dae0045b2be1727eb33951dfd22f560476360836305526be58e55d9d4cff36f3d9a4b0262b7aed WHIRLPOOL 50b176f05ade1780e21f8280d884996f04df3894a8479b5d82b1410cc53961c0faedea1b20b431b0eeb2996619abf91392e4c9291856a63c8b080605f646c67b
|
||||
DIST Polygon3-3.0.6.zip 74357 SHA256 dea5b66870a9fd3031290f54f72d823c33bb8b8c21bec97c510d04df2608c637 SHA512 7e30f4c8c9b6fd6e62dcc43a9412bb19e1cb3bb14953c5ca59dab87502f4a18042bf95bdc22266f98b104d1b3acec846d18d794378302df3db1680aed53d7337 WHIRLPOOL e8b8019fab2cff621e7664d810d3a842b6a03b4918b1a59a8e441605307cc4e350d252c8b03d83efcd389e010a51a7ce2fc4c09b47b87d7cd2049e4049f4c5fd
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/polygon/polygon-2.0.6.ebuild,v 1.1 2014/06/27 14:30:04 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python package to handle polygonal shapes in 2D"
|
||||
HOMEPAGE="http://www.j-raedler.de/projects/polygon/"
|
||||
SRC_URI="mirror://bitbucket/jraedler/${PN}2/downloads/Polygon2-${PV}.zip"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}/Polygon2-${PV}
|
||||
|
||||
DOCS=( HISTORY doc/Polygon.txt )
|
||||
|
||||
src_test() {
|
||||
python_test() {
|
||||
PYTHONPATH="${BUILD_DIR}/lib" ${EPYTHON} test/Test.py || die
|
||||
}
|
||||
python_foreach_impl python_test
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/polygon/polygon-3.0.6.ebuild,v 1.1 2014/06/27 14:30:04 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python3_{2,3,4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python package to handle polygonal shapes in 2D"
|
||||
HOMEPAGE="http://www.j-raedler.de/projects/polygon"
|
||||
SRC_URI="mirror://bitbucket/jraedler/${PN}3/downloads/Polygon3-${PV}.zip"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="3"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}/Polygon3-${PV}
|
||||
|
||||
DOCS=( HISTORY doc/Polygon.txt )
|
||||
|
||||
src_test() {
|
||||
python_test() {
|
||||
PYTHONPATH="${BUILD_DIR}/lib" ${EPYTHON} test/Test.py || die
|
||||
}
|
||||
python_foreach_impl python_test
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
https://github.com/p-push/pycurl/commit/8644393bec56cd05c19d5dbe420ff741ba899d10
|
||||
diff --git a/tests/runwsgi.py b/tests/runwsgi.py
|
||||
index f419d7c..242ef1d 100644
|
||||
--- a/tests/runwsgi.py
|
||||
+++ b/tests/runwsgi.py
|
||||
@@ -11,6 +11,10 @@
|
||||
|
||||
class Server(bottle.WSGIRefServer):
|
||||
def run(self, handler): # pragma: no cover
|
||||
+ self.srv = self.make_server(handler)
|
||||
+ self.serve()
|
||||
+
|
||||
+ def make_server(self, handler):
|
||||
from wsgiref.simple_server import make_server, WSGIRequestHandler
|
||||
if self.quiet:
|
||||
base = self.options.get('handler_class', WSGIRequestHandler)
|
||||
@@ -18,7 +22,10 @@ class QuietHandler(base):
|
||||
def log_request(*args, **kw):
|
||||
pass
|
||||
self.options['handler_class'] = QuietHandler
|
||||
- self.srv = make_server(self.host, self.port, handler, **self.options)
|
||||
+ srv = make_server(self.host, self.port, handler, **self.options)
|
||||
+ return srv
|
||||
+
|
||||
+ def serve(self):
|
||||
if sys.version_info[0] == 2 and sys.version_info[1] < 6:
|
||||
# python 2.5 has no poll_interval
|
||||
# and thus no way to stop the server
|
||||
@@ -27,20 +34,21 @@ def log_request(*args, **kw):
|
||||
else:
|
||||
self.srv.serve_forever(poll_interval=0.1)
|
||||
|
||||
-class SslServer(bottle.CherryPyServer):
|
||||
- def run(self, handler):
|
||||
- import cherrypy.wsgiserver, cherrypy.wsgiserver.ssl_builtin
|
||||
- server = cherrypy.wsgiserver.CherryPyWSGIServer((self.host, self.port), handler)
|
||||
+# http://www.socouldanyone.com/2014/01/bottle-with-ssl.html
|
||||
+# https://github.com/mfm24/miscpython/blob/master/bottle_ssl.py
|
||||
+class SslServer(Server):
|
||||
+ def run(self, handler): # pragma: no cover
|
||||
+ self.srv = self.make_server(handler)
|
||||
+
|
||||
+ import ssl
|
||||
cert_dir = os.path.join(os.path.dirname(__file__), 'certs')
|
||||
- ssl_adapter = cherrypy.wsgiserver.ssl_builtin.BuiltinSSLAdapter(
|
||||
- os.path.join(cert_dir, 'server.crt'),
|
||||
- os.path.join(cert_dir, 'server.key'),
|
||||
- )
|
||||
- server.ssl_adapter = ssl_adapter
|
||||
- try:
|
||||
- server.start()
|
||||
- finally:
|
||||
- server.stop()
|
||||
+ self.srv.socket = ssl.wrap_socket(
|
||||
+ self.srv.socket,
|
||||
+ keyfile=os.path.join(cert_dir, 'server.key'),
|
||||
+ certfile=os.path.join(cert_dir, 'server.crt'),
|
||||
+ server_side=True)
|
||||
+
|
||||
+ self.serve()
|
||||
|
||||
def start_bottle_server(app, port, server, **kwargs):
|
||||
server_thread = ServerThread(app, port, server, kwargs)
|
||||
|
@ -0,0 +1 @@
|
||||
DIST psych-2.0.5.gem 124928 SHA256 4f8458fbf1628df11e973d62a1ca7d3817a3bb11214aadc984d8caf9c05ec55e SHA512 59d424e35dc700b349ee6d1304577dbe3b1acff20c98a553cc915ec0334aa2003ff623e1a5e61913d53522bac92000adbe0f65d97f1702a6c30d1deea52b48ff WHIRLPOOL af9629da97f06e2c2830c6a8132952b0cce583f6266120ff89a7655050680f7d8c55abda440555bd9b0e1e6086f54de623debbaa91e19349359a5adb949ee8c7
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/psych/psych-2.0.5.ebuild,v 1.2 2014/06/27 21:53:06 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
DESCRIPTION="A libyaml wrapper for Ruby"
|
||||
HOMEPAGE="https://github.com/tenderlove/psych"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND+=" dev-libs/libyaml"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/minitest )"
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext/${PN} extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake V=1 -Cext/${PN}
|
||||
cp ext/${PN}/${PN}$(get_modname) lib/ || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:test:test/${PN} test/${PN}/test_*.rb || die
|
||||
${RUBY} -Ilib:test:test/${PN} test/${PN}/nodes/*.rb || die
|
||||
${RUBY} -Ilib:test:test/${PN} test/${PN}/visitors/*.rb || die
|
||||
${RUBY} -Ilib:test:test/${PN} test/${PN}/json/*.rb || die
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sass/sass-3.3.9.ebuild,v 1.1 2014/06/28 05:39:01 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="rails init.rb VERSION VERSION_NAME"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="An extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more."
|
||||
HOMEPAGE="http://sass-lang.com/"
|
||||
LICENSE="MIT"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "doc? ( >=dev-ruby/yard-0.5.3 )"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/listen-1.3.1:1 !!<dev-ruby/haml-3.1 !!<dev-ruby/sass-3.2.19-r1"
|
||||
|
||||
# tests could use `less` if we had it
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm -rf vendor/listen || die
|
||||
|
||||
# Don't require maruku as markdown provider but let yard decide.
|
||||
sed -i -e '/maruku/d' .yardopts || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
# Test fails on jruby for us, upstream can't
|
||||
# reproduce. Avoiding it since it only affects debug
|
||||
# information in the CSS file.
|
||||
# https://github.com/nex3/sass/issues/563
|
||||
sed -i -e '24s/filename_fn//' test/sass/plugin_test.rb || die
|
||||
sed -i -e '/test_random/,/^ end/ s:^:#:' test/sass/functions_test.rb || die
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
RUBOCOP=false ${RUBY} -S rake test || die
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-arcade/thinktanks-demo/thinktanks-demo-1.1-r2.ebuild,v 1.1 2014/06/27 14:29:45 axs Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit unpacker games
|
||||
|
||||
DESCRIPTION="tank combat game with lighthearted, fast paced pandemonium"
|
||||
HOMEPAGE="http://www.garagegames.com/pg/product/view.php?id=12"
|
||||
SRC_URI="ftp://ggdev-1.homelan.com/thinktanks/ThinkTanksDemo_v${PV}.sh.bin"
|
||||
|
||||
LICENSE="THINKTANKS"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE=""
|
||||
RESTRICT="strip"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="|| (
|
||||
(
|
||||
media-libs/libsdl[video,joystick,abi_x86_32(-)]
|
||||
media-libs/libogg[abi_x86_32(-)]
|
||||
media-libs/libvorbis[abi_x86_32(-)]
|
||||
x11-libs/libX11[abi_x86_32(-)]
|
||||
x11-libs/libXext[abi_x86_32(-)]
|
||||
)
|
||||
amd64? (
|
||||
app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)]
|
||||
app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)]
|
||||
)
|
||||
)"
|
||||
|
||||
S=${WORKDIR}
|
||||
dir=${GAMES_PREFIX_OPT}/${PN}
|
||||
|
||||
QA_PREBUILT="${dir:1}/ThinkTanks.bin"
|
||||
|
||||
src_install() {
|
||||
dodir "${dir}" "${GAMES_BINDIR}"
|
||||
|
||||
tar -zxf ThinkTanks.tar.gz -C "${ED}/${dir}" || die "extracting ThinkTanks.tar.gz"
|
||||
|
||||
exeinto "${dir}"
|
||||
doexe bin/Linux/x86/thinktanksdemo
|
||||
dosym "${dir}"/thinktanksdemo "${GAMES_BINDIR}"/thinktanks-demo
|
||||
# Using system libraries
|
||||
rm -rf "${ED}/${dir}"/lib
|
||||
|
||||
insinto "${dir}"
|
||||
doins icon.xpm
|
||||
|
||||
dodoc ReadMe_Linux.txt
|
||||
|
||||
prepgamesdirs
|
||||
}
|
@ -0,0 +1,119 @@
|
||||
diff --git a/glade/playlist3.ui b/glade/playlist3.ui
|
||||
index fedb627..452f3ec 100644
|
||||
--- a/glade/playlist3.ui
|
||||
+++ b/glade/playlist3.ui
|
||||
@@ -436,16 +436,17 @@
|
||||
<child>
|
||||
<object class="GtkButton" id="button_previous">
|
||||
<property name="visible">True</property>
|
||||
+ <property name="use_action_appearance">False</property>
|
||||
<property name="related-action">MPDPrevious</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">False</property>
|
||||
<property name="relief">none</property>
|
||||
<property name="use_action_appearance">False</property>
|
||||
<child>
|
||||
- <object class="GtkImage" id="image10">
|
||||
+ <object class="GtkImage" id="button_previous_image">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-media-previous</property>
|
||||
- </object>
|
||||
+ </object>
|
||||
</child>
|
||||
</object>
|
||||
<packing>
|
||||
@@ -455,18 +456,18 @@
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
- <object class="GtkButton" id="top_button">
|
||||
+ <object class="GtkButton" id="stop_button">
|
||||
<property name="visible">True</property>
|
||||
+ <property name="use_action_appearance">False</property>
|
||||
<property name="related-action">MPDStop</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="relief">none</property>
|
||||
- <property name="use_action_appearance">False</property>
|
||||
<child>
|
||||
- <object class="GtkImage" id="stop_button_image">
|
||||
+ <object class="GtkImage" id="button_stop_image">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-media-stop</property>
|
||||
- </object>
|
||||
+ </object>
|
||||
</child>
|
||||
</object>
|
||||
<packing>
|
||||
@@ -478,15 +479,16 @@
|
||||
<child>
|
||||
<object class="GtkButton" id="play_button">
|
||||
<property name="visible">True</property>
|
||||
+ <property name="use_action_appearance">False</property>
|
||||
<property name="related-action">MPDPlayPause</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">False</property>
|
||||
<property name="relief">none</property>
|
||||
<child>
|
||||
- <object class="GtkImage" id="play_button_image">
|
||||
+ <object class="GtkImage" id="play_button_image">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-media-play</property>
|
||||
- </object>
|
||||
+ </object>
|
||||
</child>
|
||||
</object>
|
||||
<packing>
|
||||
@@ -498,13 +500,13 @@
|
||||
<child>
|
||||
<object class="GtkButton" id="next_button">
|
||||
<property name="visible">True</property>
|
||||
+ <property name="use_action_appearance">False</property>
|
||||
<property name="related-action">MPDNext</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">False</property>
|
||||
- <property name="use_action_appearance">False</property>
|
||||
<property name="relief">none</property>
|
||||
<child>
|
||||
- <object class="GtkImage" id="image11">
|
||||
+ <object class="GtkImage" id="next_button_image">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-media-next</property>
|
||||
</object>
|
||||
diff --git a/src/playlist3.c b/src/playlist3.c
|
||||
index 72b4ef7..3dac409 100644
|
||||
--- a/src/playlist3.c
|
||||
+++ b/src/playlist3.c
|
||||
@@ -1632,7 +1632,8 @@ static void playlist_status_changed(MpdObj * mi, ChangedStatusType what, void *u
|
||||
gtk_action_set_stock_id(GTK_ACTION(gtk_builder_get_object(pl3_xml, "MPDPlayPause")), "gtk-media-pause");
|
||||
gtk_image_set_from_stock(GTK_IMAGE
|
||||
(gtk_builder_get_object
|
||||
- (pl3_xml, "play_button_image")), "gtk-media-pause", GTK_ICON_SIZE_BUTTON);
|
||||
+ (pl3_xml, "play_button_image")), "gtk-media-pause",
|
||||
+ GTK_ICON_SIZE_MENU);
|
||||
|
||||
/**
|
||||
* Update window title
|
||||
@@ -1669,8 +1670,8 @@ static void playlist_status_changed(MpdObj * mi, ChangedStatusType what, void *u
|
||||
gtk_action_set_stock_id(GTK_ACTION(gtk_builder_get_object(pl3_xml, "MPDPlayPause")), "gtk-media-play");
|
||||
gtk_image_set_from_stock(GTK_IMAGE
|
||||
(gtk_builder_get_object
|
||||
- (pl3_xml, "play_button_image")), "gtk-media-play", GTK_ICON_SIZE_BUTTON);
|
||||
-
|
||||
+ (pl3_xml, "play_button_image")), "gtk-media-play",
|
||||
+ GTK_ICON_SIZE_MENU);
|
||||
/**
|
||||
* Set paused in Window string
|
||||
*/
|
||||
@@ -1704,8 +1705,8 @@ static void playlist_status_changed(MpdObj * mi, ChangedStatusType what, void *u
|
||||
|
||||
gtk_image_set_from_stock(GTK_IMAGE
|
||||
(gtk_builder_get_object
|
||||
- (pl3_xml, "play_button_image")), "gtk-media-play", GTK_ICON_SIZE_BUTTON);
|
||||
-
|
||||
+ (pl3_xml, "play_button_image")), "gtk-media-play",
|
||||
+ GTK_ICON_SIZE_MENU);
|
||||
if (gmpc_profiles_get_number_of_profiles(gmpc_profiles) > 1)
|
||||
{
|
||||
gchar *id = gmpc_profiles_get_current(gmpc_profiles);
|
||||
--
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/gmpc/gmpc-11.8.16-r1.ebuild,v 1.1 2014/06/27 16:16:01 angelos Exp $
|
||||
|
||||
EAPI=4
|
||||
VALA_MIN_API_VERSION=0.12
|
||||
|
||||
inherit autotools eutils gnome2-utils vala
|
||||
|
||||
DESCRIPTION="A GTK+2 client for the Music Player Daemon"
|
||||
HOMEPAGE="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client"
|
||||
SRC_URI="http://download.sarine.nl/Programs/gmpc/11.8/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="nls xspf +unique"
|
||||
|
||||
RDEPEND="dev-db/sqlite:3
|
||||
>=dev-libs/glib-2.16:2
|
||||
dev-libs/libxml2:2
|
||||
>=media-libs/libmpd-11.8
|
||||
net-libs/libsoup:2.4
|
||||
>=x11-libs/gtk+-2.18:2
|
||||
x11-libs/libX11
|
||||
x11-themes/hicolor-icon-theme
|
||||
unique? ( dev-libs/libunique:1 )
|
||||
xspf? ( >=media-libs/libxspf-1.2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
$(vala_depend)
|
||||
app-text/gnome-doc-utils
|
||||
>=dev-util/gob-2.0.17
|
||||
virtual/pkgconfig
|
||||
nls? ( dev-util/intltool
|
||||
sys-devel/gettext )"
|
||||
|
||||
DOCS=( AUTHORS README )
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-underlinking.patch \
|
||||
"${FILESDIR}"/${P}-icons.patch
|
||||
sed -i -e "s:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:" configure.ac || die
|
||||
eautoreconf
|
||||
vala_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
--disable-libspiff \
|
||||
--disable-appindicator \
|
||||
--enable-mmkeys \
|
||||
$(use_enable nls) \
|
||||
$(use_enable unique) \
|
||||
$(use_enable xspf libxspf)
|
||||
}
|
||||
|
||||
pkg_preinst() { gnome2_icon_savelist; }
|
||||
pkg_postinst() { gnome2_icon_cache_update; }
|
||||
pkg_postrm() { gnome2_icon_cache_update; }
|
@ -1 +1 @@
|
||||
DIST sonata-1.6.2.1.tar.bz2 314333 RMD160 4ca257c0c860804ae3e4cd343d953084b81ea471 SHA1 609452c1672ae01c44988a21f7cc94f0637bad82 SHA256 b0fe8ed37e197c2bd0d65441d43690490f2160e0630bc100d6a848950185b85b
|
||||
DIST sonata-1.6.2.1.tar.bz2 314333 SHA256 b0fe8ed37e197c2bd0d65441d43690490f2160e0630bc100d6a848950185b85b SHA512 8022b69380714e9c3c685c61d0f1e62be087fc2cbd77a55f32008edea53411f8493d416bd0a446ccb52b4b5603ba9f4a00b655af485d739932dc06af69345c27 WHIRLPOOL 78b427c0dd9e7376801c1ebcebf4ae8f6002605e37aab0370b7fe96d654917310b612457f66e9f880532f816992356fce7b8623ad82eb9bfe345fea7ab55bc36
|
||||
|
@ -0,0 +1,19 @@
|
||||
2014-06-08 Israel G. Lugo <israel.lugo@lugosys.com>
|
||||
|
||||
Compatibility fix for mpd 0.18.
|
||||
|
||||
* sonata/main.py (Base.update_status): Properly handle missing xfade
|
||||
property.
|
||||
|
||||
diff -durNp sonata-1.6.2.1/sonata/main.py sonata-1.6.2.1-mpd0.18/sonata/main.py
|
||||
--- sonata-1.6.2.1/sonata/main.py 2009-09-21 22:02:16.000000000 +0100
|
||||
+++ sonata-1.6.2.1-mpd0.18/sonata/main.py 2014-06-08 15:10:08.586659487 +0100
|
||||
@@ -989,7 +989,7 @@ class Base(object):
|
||||
self.repeatmenu.set_active(self.status['repeat'] == '1')
|
||||
if not self.last_random or self.last_random != self.status['random']:
|
||||
self.randommenu.set_active(self.status['random'] == '1')
|
||||
- if self.status['xfade'] == '0':
|
||||
+ if self.status.get('xfade', '0') == '0':
|
||||
self.config.xfade_enabled = False
|
||||
else:
|
||||
self.config.xfade_enabled = True
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/sonata/sonata-1.6.2.1-r1.ebuild,v 1.1 2014/06/27 16:43:23 angelos Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
DISTUTILS_SINGLE_IMPL=true
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="an elegant GTK+ music client for the Music Player Daemon (MPD)."
|
||||
HOMEPAGE="http://sonata.berlios.de/"
|
||||
SRC_URI="http://codingteam.net/project/${PN}/download/file/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="dbus lyrics taglib +trayicon"
|
||||
|
||||
RDEPEND=">=dev-python/pygtk-2.12
|
||||
|| ( x11-libs/gdk-pixbuf:2[jpeg] x11-libs/gtk+:2[jpeg] )
|
||||
>=dev-python/python-mpd-0.2.1
|
||||
dbus? ( dev-python/dbus-python )
|
||||
lyrics? ( dev-python/zsi )
|
||||
taglib? ( >=dev-python/tagpy-0.93 )
|
||||
trayicon? ( dev-python/egg-python )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS="CHANGELOG README TODO TRANSLATORS"
|
||||
PATCHES=( "${FILESDIR}"/${P}-mpd18-compat.patch )
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
rm -rf "${D}"/usr/share/sonata
|
||||
}
|
@ -0,0 +1,309 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/libav/libav-0.8.13.ebuild,v 1.1 2014/06/27 13:39:19 lu_zero Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
SCM="git-2"
|
||||
EGIT_REPO_URI="git://git.libav.org/libav.git"
|
||||
[[ ${PV%9999} != "" ]] && EGIT_BRANCH="release/${PV%.9999}"
|
||||
fi
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs ${SCM}
|
||||
|
||||
DESCRIPTION="Complete solution to record, convert and stream audio and video."
|
||||
HOMEPAGE="http://libav.org/"
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
SRC_URI=""
|
||||
elif [[ ${PV%_p*} != ${PV} ]] ; then # Gentoo snapshot
|
||||
SRC_URI="http://dev.gentoo.org/~lu_zero/libav/${P}.tar.xz"
|
||||
else # Official release
|
||||
SRC_URI="http://${PN}.org/releases/${P}.tar.xz"
|
||||
fi
|
||||
|
||||
SRC_URI+=" test? ( http://dev.gentoo.org/~lu_zero/libav/fate-0.8.2.tar.xz )"
|
||||
|
||||
LICENSE="LGPL-2.1 gpl? ( GPL-3 )"
|
||||
SLOT="0/0.8"
|
||||
[[ ${PV} == *9999 ]] || \
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE="+3dnow +3dnowext aac alsa altivec amr bindist +bzip2 cdio cpudetection
|
||||
custom-cflags debug dirac doc +encode faac truetype frei0r +gpl gsm
|
||||
+hardcoded-tables ieee1394 jack jpeg2k +mmx +mmxext mp3 +network openssl
|
||||
oss pic pulseaudio +qt-faststart rtmp schroedinger sdl speex ssl +ssse3
|
||||
static-libs test theora threads v4l vaapi vdpau vorbis vpx X x264 xvid
|
||||
+zlib"
|
||||
|
||||
CPU_FEATURES="3dnow:amd3dnow 3dnowext:amd3dnowext altivec avx mmx mmxext:mmx2
|
||||
neon ssse3 vis"
|
||||
|
||||
for i in ${CPU_FEATURES}; do
|
||||
IUSE+=" ${i%:*}"
|
||||
done
|
||||
|
||||
RDEPEND="
|
||||
!media-video/ffmpeg
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
amr? ( media-libs/opencore-amr )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdio? (
|
||||
|| (
|
||||
dev-libs/libcdio-paranoia
|
||||
<dev-libs/libcdio-0.90[-minimal]
|
||||
)
|
||||
)
|
||||
dirac? ( media-video/dirac )
|
||||
encode? (
|
||||
aac? ( media-libs/vo-aacenc )
|
||||
amr? ( media-libs/vo-amrwbenc )
|
||||
faac? ( media-libs/faac )
|
||||
mp3? ( >=media-sound/lame-3.98.3 )
|
||||
theora? ( >=media-libs/libtheora-1.1.1[encode] media-libs/libogg )
|
||||
vorbis? ( media-libs/libvorbis media-libs/libogg )
|
||||
x264? ( >=media-libs/x264-0.0.20111017:= )
|
||||
xvid? ( >=media-libs/xvid-1.1.0 )
|
||||
)
|
||||
truetype? ( media-libs/freetype:2 )
|
||||
frei0r? ( media-plugins/frei0r-plugins )
|
||||
gsm? ( >=media-sound/gsm-1.0.12-r1 )
|
||||
ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
jpeg2k? ( >=media-libs/openjpeg-1.3-r2:0 )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
rtmp? ( >=media-video/rtmpdump-2.2f )
|
||||
ssl? ( openssl? ( dev-libs/openssl )
|
||||
!openssl? ( net-libs/gnutls ) )
|
||||
sdl? ( >=media-libs/libsdl-1.2.13-r1[sound,video] )
|
||||
schroedinger? ( media-libs/schroedinger )
|
||||
speex? ( >=media-libs/speex-1.2_beta3 )
|
||||
vaapi? ( x11-libs/libva )
|
||||
vdpau? ( x11-libs/libvdpau )
|
||||
vpx? ( >=media-libs/libvpx-0.9.6 )
|
||||
X? ( x11-libs/libX11 x11-libs/libXext x11-libs/libXfixes )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/make-3.81
|
||||
dirac? ( virtual/pkgconfig )
|
||||
doc? ( app-text/texi2html )
|
||||
mmx? ( dev-lang/yasm )
|
||||
rtmp? ( virtual/pkgconfig )
|
||||
schroedinger? ( virtual/pkgconfig )
|
||||
truetype? ( virtual/pkgconfig )
|
||||
test? ( net-misc/wget )
|
||||
v4l? ( sys-kernel/linux-headers )
|
||||
"
|
||||
|
||||
# faac can't be binary distributed
|
||||
# openssl support marked as nonfree
|
||||
# faac and aac are concurent implementations
|
||||
# amr and aac require at least lgpl3
|
||||
# x264 requires gpl2
|
||||
REQUIRED_USE="bindist? ( !faac !openssl )
|
||||
rtmp? ( network )
|
||||
amr? ( gpl ) aac? ( gpl ) x264? ( gpl ) X? ( gpl ) cdio? ( gpl )
|
||||
test? ( encode )"
|
||||
|
||||
src_prepare() {
|
||||
# if we have snapshot then we need to hardcode the version
|
||||
if [[ ${PV%_p*} != ${PV} ]]; then
|
||||
sed -i -e "s/UNKNOWN/DATE-${PV#*_pre}/" "${S}/version.sh" || die
|
||||
fi
|
||||
epatch "${FILESDIR}/${PN}-0.8.5-support-libcdio-paranoia.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="${EXTRA_LIBAV_CONF}"
|
||||
local uses i
|
||||
|
||||
myconf+="
|
||||
$(use_enable gpl)
|
||||
$(use_enable gpl version3)
|
||||
--enable-avfilter
|
||||
"
|
||||
|
||||
# enabled by default
|
||||
uses="debug doc network zlib"
|
||||
for i in ${uses}; do
|
||||
use ${i} || myconf+=" --disable-${i}"
|
||||
done
|
||||
use bzip2 || myconf+=" --disable-bzlib"
|
||||
use sdl || myconf+=" --disable-avplay"
|
||||
|
||||
if use ssl; then
|
||||
use openssl && myconf+=" --enable-openssl --enable-nonfree" \
|
||||
|| myconf+=" --enable-gnutls"
|
||||
fi
|
||||
|
||||
use custom-cflags && myconf+=" --disable-optimizations"
|
||||
use cpudetection && myconf+=" --enable-runtime-cpudetect"
|
||||
|
||||
#for i in h264_vdpau mpeg1_vdpau mpeg_vdpau vc1_vdpau wmv3_vdpau; do
|
||||
# use video_cards_nvidia || myconf="${myconf} --disable-decoder=${i}"
|
||||
# use vdpau || myconf="${myconf} --disable-decoder=${i}"
|
||||
#done
|
||||
use vdpau || myconf+=" --disable-vdpau"
|
||||
|
||||
use vaapi && myconf+=" --enable-vaapi"
|
||||
|
||||
# Encoders
|
||||
if use encode; then
|
||||
use mp3 && myconf+=" --enable-libmp3lame"
|
||||
use amr && myconf+=" --enable-libvo-amrwbenc"
|
||||
use faac && myconf+=" --enable-libfaac --enable-nonfree"
|
||||
use aac && myconf+=" --enable-libvo-aacenc"
|
||||
uses="theora vorbis x264 xvid"
|
||||
for i in ${uses}; do
|
||||
use ${i} && myconf+=" --enable-lib${i}"
|
||||
done
|
||||
else
|
||||
myconf+=" --disable-encoders"
|
||||
fi
|
||||
|
||||
# libavdevice options
|
||||
use cdio && myconf+=" --enable-libcdio"
|
||||
use ieee1394 && myconf+=" --enable-libdc1394"
|
||||
use pulseaudio && myconf+=" --enable-libpulse"
|
||||
# Indevs
|
||||
# v4l1 is gone since linux-headers-2.6.38
|
||||
myconf+=" --disable-indev=v4l"
|
||||
use v4l || myconf+=" --disable-indev=v4l2"
|
||||
for i in alsa oss jack; do
|
||||
use ${i} || myconf+=" --disable-indev=${i}"
|
||||
done
|
||||
use X && myconf+=" --enable-x11grab"
|
||||
# Outdevs
|
||||
for i in alsa oss ; do
|
||||
use ${i} || myconf+=" --disable-outdev=${i}"
|
||||
done
|
||||
# libavfilter options
|
||||
use frei0r && myconf+=" --enable-frei0r"
|
||||
use truetype && myconf+=" --enable-libfreetype"
|
||||
|
||||
# Threads; we only support pthread for now but ffmpeg supports more
|
||||
use threads && myconf+=" --enable-pthreads"
|
||||
|
||||
# Decoders
|
||||
use amr && myconf+=" --enable-libopencore-amrwb --enable-libopencore-amrnb"
|
||||
uses="gsm dirac rtmp schroedinger speex vpx"
|
||||
for i in ${uses}; do
|
||||
use ${i} && myconf+=" --enable-lib${i}"
|
||||
done
|
||||
use jpeg2k && myconf+=" --enable-libopenjpeg"
|
||||
|
||||
# CPU features
|
||||
for i in ${CPU_FEATURES}; do
|
||||
use ${i%:*} || myconf+=" --disable-${i#*:}"
|
||||
done
|
||||
|
||||
# pass the right -mfpu as extra
|
||||
use neon && myconf+=" --extra-cflags=-mfpu=neon"
|
||||
|
||||
# disable mmx accelerated code if PIC is required
|
||||
# as the provided asm decidedly is not PIC for x86.
|
||||
if use pic && use x86 ; then
|
||||
myconf+=" --disable-mmx --disable-mmx2"
|
||||
fi
|
||||
|
||||
# Option to force building pic
|
||||
use pic && myconf+=" --enable-pic"
|
||||
|
||||
# Try to get cpu type based on CFLAGS.
|
||||
# Bug #172723
|
||||
# We need to do this so that features of that CPU will be better used
|
||||
# If they contain an unknown CPU it will not hurt since ffmpeg's configure
|
||||
# will just ignore it.
|
||||
for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
|
||||
[ "${i}" = "native" ] && i="host" # bug #273421
|
||||
[[ ${i} = *-sse3 ]] && i="${i%-sse3}" # bug 283968
|
||||
myconf+=" --cpu=${i}"
|
||||
break
|
||||
done
|
||||
|
||||
# cross compile support
|
||||
if tc-is-cross-compiler ; then
|
||||
myconf+=" --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-"
|
||||
case ${CHOST} in
|
||||
*freebsd*)
|
||||
myconf+=" --target-os=freebsd"
|
||||
;;
|
||||
mingw32*)
|
||||
myconf+=" --target-os=mingw32"
|
||||
;;
|
||||
*linux*)
|
||||
myconf+=" --target-os=linux"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Misc stuff
|
||||
use hardcoded-tables && myconf+=" --enable-hardcoded-tables"
|
||||
|
||||
# Specific workarounds for too-few-registers arch...
|
||||
if [[ $(tc-arch) == "x86" ]]; then
|
||||
filter-flags -fforce-addr -momit-leaf-frame-pointer
|
||||
append-flags -fomit-frame-pointer
|
||||
is-flag -O? || append-flags -O2
|
||||
if use debug; then
|
||||
# no need to warn about debug if not using debug flag
|
||||
ewarn ""
|
||||
ewarn "Debug information will be almost useless as the frame pointer is omitted."
|
||||
ewarn "This makes debugging harder, so crashes that has no fixed behavior are"
|
||||
ewarn "difficult to fix. Please have that in mind."
|
||||
ewarn ""
|
||||
fi
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
./configure \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--shlibdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--mandir="${EPREFIX}"/usr/share/man \
|
||||
--enable-shared \
|
||||
--cc="$(tc-getCC)" \
|
||||
--ar="$(tc-getAR)" \
|
||||
$(use_enable static-libs static) \
|
||||
${myconf} || die
|
||||
|
||||
MAKEOPTS+=" V=1"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use qt-faststart; then
|
||||
tc-export CC
|
||||
emake tools/qt-faststart
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install install-man
|
||||
|
||||
dodoc Changelog README INSTALL doc/*.txt
|
||||
use doc && dodoc doc/*.html
|
||||
|
||||
use qt-faststart && dobin tools/qt-faststart
|
||||
|
||||
for i in $(usex sdl avplay "") $(usex network avserver "") avprobe; do
|
||||
dosym ${i} /usr/bin/${i/av/ff}
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please note that the programs formerly known as ffplay, ffserver"
|
||||
elog "and ffprobe are now called avplay, avserver and avprobe."
|
||||
elog
|
||||
elog "ffmpeg had been replaced by the feature incompatible avconv thus"
|
||||
elog "the legacy ffmpeg is provided for compatibility with older scripts"
|
||||
elog "but will be removed in the next version"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
LD_LIBRARY_PATH="${S}/libavcore:${S}/libswscale:${S}/libavcodec:${S}/libavdevice:${S}/libavfilter:${S}/libavformat:${S}/libavutil" \
|
||||
emake fate SAMPLES="${WORKDIR}/fate"
|
||||
}
|
@ -0,0 +1,319 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/libav/libav-10.2.ebuild,v 1.1 2014/06/27 13:39:19 lu_zero Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
SCM="git-2"
|
||||
EGIT_REPO_URI="git://git.libav.org/libav.git"
|
||||
[[ ${PV%9999} != "" ]] && EGIT_BRANCH="release/${PV%.9999}"
|
||||
fi
|
||||
|
||||
inherit eutils flag-o-matic multilib multilib-minimal toolchain-funcs ${SCM}
|
||||
|
||||
DESCRIPTION="Complete solution to record, convert and stream audio and video."
|
||||
HOMEPAGE="http://libav.org/"
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
SRC_URI=""
|
||||
elif [[ ${PV%_p*} != ${PV} ]] ; then # Gentoo snapshot
|
||||
SRC_URI="http://dev.gentoo.org/~lu_zero/libav/${P}.tar.xz"
|
||||
else # Official release
|
||||
SRC_URI="http://${PN}.org/releases/${P}.tar.xz"
|
||||
fi
|
||||
|
||||
SRC_URI+=" test? ( http://dev.gentoo.org/~lu_zero/libav/fate-10.tar.xz )"
|
||||
|
||||
LICENSE="LGPL-2.1 gpl? ( GPL-3 )"
|
||||
SLOT="0/10"
|
||||
[[ ${PV} == *9999 ]] || KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64
|
||||
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos
|
||||
~x64-solaris ~x86-solaris"
|
||||
IUSE="aac alsa amr bindist +bzip2 cdio cpudetection custom-cflags debug doc
|
||||
+encode faac fdk frei0r +gpl gsm +hardcoded-tables ieee1394 jack jpeg2k mp3
|
||||
+network openssl opus oss pic pulseaudio rtmp schroedinger sdl speex ssl
|
||||
static-libs test theora threads tools truetype v4l vaapi vdpau vorbis vpx X
|
||||
wavpack webp x264 xvid +zlib"
|
||||
|
||||
# String for CPU features in the useflag[:configure_option] form
|
||||
# if :configure_option isn't set, it will use 'useflag' as configure option
|
||||
CPU_FEATURES="3dnow:amd3dnow 3dnowext:amd3dnowext altivec avx mmx mmxext neon ssse3 vis avx2"
|
||||
for i in ${CPU_FEATURES} ; do
|
||||
IUSE+=" ${i%:*}"
|
||||
done
|
||||
|
||||
RDEPEND="
|
||||
!media-video/ffmpeg:0
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
|
||||
amr? ( >=media-libs/opencore-amr-0.1.3-r1[${MULTILIB_USEDEP}] )
|
||||
bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
|
||||
cdio? (
|
||||
|| (
|
||||
>=dev-libs/libcdio-paranoia-0.90_p1-r1[${MULTILIB_USEDEP}]
|
||||
<dev-libs/libcdio-0.90[-minimal,${MULTILIB_USEDEP}]
|
||||
)
|
||||
)
|
||||
encode? (
|
||||
aac? ( >=media-libs/vo-aacenc-0.1.3[${MULTILIB_USEDEP}] )
|
||||
amr? ( >=media-libs/vo-amrwbenc-0.1.2-r1[${MULTILIB_USEDEP}] )
|
||||
faac? ( >=media-libs/faac-1.28-r3[${MULTILIB_USEDEP}] )
|
||||
fdk? ( >=media-libs/fdk-aac-0.1.2[${MULTILIB_USEDEP}] )
|
||||
mp3? ( >=media-sound/lame-3.99.5-r1[${MULTILIB_USEDEP}] )
|
||||
theora? (
|
||||
>=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}]
|
||||
>=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
vorbis? (
|
||||
>=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}]
|
||||
>=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )
|
||||
wavpack? ( >=media-sound/wavpack-4.60.1-r1[${MULTILIB_USEDEP}] )
|
||||
x264? ( >=media-libs/x264-0.0.20130506:=[${MULTILIB_USEDEP}] )
|
||||
xvid? ( >=media-libs/xvid-1.3.2-r1[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
frei0r? ( media-plugins/frei0r-plugins )
|
||||
gsm? ( >=media-sound/gsm-1.0.13-r1[${MULTILIB_USEDEP}] )
|
||||
ieee1394? (
|
||||
>=media-libs/libdc1394-2.2.1[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/libraw1394-2.1.0-r1[${MULTILIB_USEDEP}]
|
||||
)
|
||||
jack? ( >=media-sound/jack-audio-connection-kit-0.121.3-r1[${MULTILIB_USEDEP}] )
|
||||
jpeg2k? ( >=media-libs/openjpeg-1.5.0:0[${MULTILIB_USEDEP}] )
|
||||
opus? ( >=media-libs/opus-1.0.2-r2[${MULTILIB_USEDEP}] )
|
||||
pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
|
||||
rtmp? ( >=media-video/rtmpdump-2.4_p20131018[${MULTILIB_USEDEP}] )
|
||||
ssl? (
|
||||
openssl? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] )
|
||||
!openssl? ( >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
sdl? ( >=media-libs/libsdl-1.2.15-r4[sound,video,${MULTILIB_USEDEP}] )
|
||||
schroedinger? ( >=media-libs/schroedinger-1.0.11-r1[${MULTILIB_USEDEP}] )
|
||||
speex? ( >=media-libs/speex-1.2_rc1-r1[${MULTILIB_USEDEP}] )
|
||||
truetype? ( >=media-libs/freetype-2.5.0.1:2[${MULTILIB_USEDEP}] )
|
||||
vaapi? ( >=x11-libs/libva-1.2.1-r1[${MULTILIB_USEDEP}] )
|
||||
vdpau? ( >=x11-libs/libvdpau-0.7[${MULTILIB_USEDEP}] )
|
||||
vpx? ( >=media-libs/libvpx-1.2.0_pre20130625[${MULTILIB_USEDEP}] )
|
||||
X? (
|
||||
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
|
||||
)
|
||||
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/make-3.81
|
||||
doc? ( app-text/texi2html )
|
||||
ieee1394? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
mmx? ( dev-lang/yasm )
|
||||
rtmp? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
schroedinger? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
ssl? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
test? ( sys-devel/bc )
|
||||
truetype? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
v4l? ( sys-kernel/linux-headers )
|
||||
"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20140508-r3
|
||||
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
|
||||
|
||||
# faac can't be binary distributed
|
||||
# openssl support marked as nonfree
|
||||
# faac and aac are concurent implementations
|
||||
# amr and aac require at least lgpl3
|
||||
# x264 requires gpl2
|
||||
REQUIRED_USE="bindist? ( !faac !openssl !fdk )
|
||||
rtmp? ( network )
|
||||
amr? ( gpl ) aac? ( gpl ) x264? ( gpl ) X? ( gpl ) cdio? ( gpl )
|
||||
test? ( encode zlib )
|
||||
"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/libavutil/avconfig.h
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# if we have snapshot then we need to hardcode the version
|
||||
if [[ ${PV%_p*} != ${PV} ]]; then
|
||||
sed -i -e "s/UNKNOWN/DATE-${PV#*_pre}/" "${S}/version.sh" || die
|
||||
fi
|
||||
|
||||
TOOLS=( aviocat graph2dot ismindex pktdumper qt-faststart trasher )
|
||||
use zlib && TOOLS+=( cws2fws )
|
||||
|
||||
MAKEOPTS+=" V=1"
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=( ${EXTRA_LIBAV_CONF} )
|
||||
local uses i
|
||||
|
||||
myconf+=(
|
||||
$(use_enable gpl)
|
||||
$(use_enable gpl version3)
|
||||
--enable-avfilter
|
||||
)
|
||||
|
||||
# enabled by default
|
||||
uses="debug doc network zlib"
|
||||
for i in ${uses}; do
|
||||
use ${i} || myconf+=( --disable-${i} )
|
||||
done
|
||||
use bzip2 || myconf+=( --disable-bzlib )
|
||||
use sdl || myconf+=( --disable-avplay )
|
||||
|
||||
if use ssl; then
|
||||
use openssl && myconf+=( --enable-openssl --enable-nonfree ) \
|
||||
|| myconf+=( --enable-gnutls )
|
||||
fi
|
||||
|
||||
use custom-cflags && myconf+=( --disable-optimizations )
|
||||
use cpudetection && myconf+=( --enable-runtime-cpudetect )
|
||||
|
||||
use vdpau || myconf+=( --disable-vdpau )
|
||||
|
||||
use vaapi && myconf+=( --enable-vaapi )
|
||||
|
||||
# Encoders
|
||||
if use encode; then
|
||||
use faac && myconf+=( --enable-nonfree )
|
||||
use fdk && myconf+=( --enable-nonfree --enable-libfdk-aac )
|
||||
use mp3 && myconf+=( --enable-libmp3lame )
|
||||
use amr && myconf+=( --enable-libvo-amrwbenc )
|
||||
use aac && myconf+=( --enable-libvo-aacenc )
|
||||
uses="faac theora vorbis wavpack webp x264 xvid"
|
||||
for i in ${uses}; do
|
||||
use ${i} && myconf+=( --enable-lib${i} )
|
||||
done
|
||||
else
|
||||
myconf+=( --disable-encoders )
|
||||
fi
|
||||
|
||||
# libavdevice options
|
||||
use cdio && myconf+=( --enable-libcdio )
|
||||
use ieee1394 && myconf+=( --enable-libdc1394 )
|
||||
use pulseaudio && myconf+=( --enable-libpulse )
|
||||
|
||||
# Indevs
|
||||
# v4l1 is gone since linux-headers-2.6.38
|
||||
myconf+=( --disable-indev=v4l )
|
||||
use v4l || myconf+=( --disable-indev=v4l2 )
|
||||
for i in alsa oss jack; do
|
||||
use ${i} || myconf+=( --disable-indev=${i} )
|
||||
done
|
||||
use X && myconf+=( --enable-x11grab )
|
||||
# Outdevs
|
||||
for i in alsa oss ; do
|
||||
use ${i} || myconf+=( --disable-outdev=${i} )
|
||||
done
|
||||
# libavfilter options
|
||||
multilib_is_native_abi && use frei0r && myconf+=( --enable-frei0r )
|
||||
use truetype && myconf+=( --enable-libfreetype )
|
||||
|
||||
# Threads; we only support pthread for now
|
||||
use threads && myconf+=( --enable-pthreads )
|
||||
|
||||
# Decoders
|
||||
use amr && myconf+=( --enable-libopencore-amrwb --enable-libopencore-amrnb )
|
||||
uses="gsm opus rtmp schroedinger speex vpx"
|
||||
for i in ${uses}; do
|
||||
use ${i} && myconf+=( --enable-lib${i} )
|
||||
done
|
||||
use jpeg2k && myconf+=( --enable-libopenjpeg )
|
||||
|
||||
# CPU features
|
||||
for i in ${CPU_FEATURES}; do
|
||||
use ${i%:*} || myconf+=( --disable-${i#*:} )
|
||||
done
|
||||
|
||||
# pass the right -mfpu as extra
|
||||
use neon && myconf+=( --extra-cflags=-mfpu=neon )
|
||||
|
||||
# disable mmx accelerated code if PIC is required
|
||||
# as the provided asm decidedly is not PIC for x86.
|
||||
if use pic && [[ ${ABI} == x86 ]]; then
|
||||
myconf+=( --disable-mmx --disable-mmxext )
|
||||
fi
|
||||
|
||||
# Option to force building pic
|
||||
use pic && myconf+=( --enable-pic )
|
||||
|
||||
# cross compile support
|
||||
if tc-is-cross-compiler ; then
|
||||
myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
|
||||
case ${CHOST} in
|
||||
*freebsd*)
|
||||
myconf+=( --target-os=freebsd )
|
||||
;;
|
||||
mingw32*)
|
||||
myconf+=( --target-os=mingw32 )
|
||||
;;
|
||||
*linux*)
|
||||
myconf+=( --target-os=linux )
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Misc stuff
|
||||
use hardcoded-tables && myconf+=( --enable-hardcoded-tables )
|
||||
|
||||
# Specific workarounds for too-few-registers arch...
|
||||
if [[ ${ABI} == x86 ]]; then
|
||||
local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
|
||||
filter-flags -fforce-addr -momit-leaf-frame-pointer
|
||||
append-flags -fomit-frame-pointer
|
||||
is-flag -O? || append-flags -O2
|
||||
if use debug; then
|
||||
# no need to warn about debug if not using debug flag
|
||||
ewarn ""
|
||||
ewarn "Debug information will be almost useless as the frame pointer is omitted."
|
||||
ewarn "This makes debugging harder, so crashes that has no fixed behavior are"
|
||||
ewarn "difficult to fix. Please have that in mind."
|
||||
ewarn ""
|
||||
fi
|
||||
fi
|
||||
|
||||
"${S}"/configure \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--shlibdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--mandir="${EPREFIX}"/usr/share/man \
|
||||
--enable-shared \
|
||||
--cc="$(tc-getCC)" \
|
||||
--ar="$(tc-getAR)" \
|
||||
--optflags="${CFLAGS}" \
|
||||
--extra-cflags="${CFLAGS}" \
|
||||
$(use_enable static-libs static) \
|
||||
"${myconf[@]}" || die
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake
|
||||
|
||||
if use tools; then
|
||||
tc-export CC
|
||||
|
||||
emake ${TOOLS[@]/#/tools/}
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install install-man
|
||||
|
||||
if use tools; then
|
||||
dobin ${TOOLS[@]/#/tools/}
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
dodoc Changelog README INSTALL
|
||||
dodoc doc/*.txt
|
||||
use doc && dodoc doc/*.html
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
LD_LIBRARY_PATH="${BUILD_DIR}/libavcore:${BUILD_DIR}/libswscale:${BUILD_DIR}/libavcodec:${BUILD_DIR}/libavdevice:${BUILD_DIR}/libavfilter:${BUILD_DIR}/libavformat:${BUILD_DIR}/libavutil" \
|
||||
emake -j1 fate
|
||||
}
|
@ -0,0 +1,321 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/libav/libav-9.14.ebuild,v 1.1 2014/06/27 13:39:19 lu_zero Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
SCM="git-2"
|
||||
EGIT_REPO_URI="git://git.libav.org/libav.git"
|
||||
[[ ${PV%9999} != "" ]] && EGIT_BRANCH="release/${PV%.9999}"
|
||||
fi
|
||||
|
||||
inherit eutils flag-o-matic multilib multilib-minimal toolchain-funcs ${SCM}
|
||||
|
||||
DESCRIPTION="Complete solution to record, convert and stream audio and video."
|
||||
HOMEPAGE="http://libav.org/"
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
SRC_URI=""
|
||||
elif [[ ${PV%_p*} != ${PV} ]] ; then # Gentoo snapshot
|
||||
SRC_URI="http://dev.gentoo.org/~lu_zero/libav/${P}.tar.xz"
|
||||
else # Official release
|
||||
SRC_URI="http://${PN}.org/releases/${P}.tar.xz"
|
||||
fi
|
||||
|
||||
SRC_URI+=" test? ( http://dev.gentoo.org/~lu_zero/libav/fate-9.tar.xz )"
|
||||
|
||||
LICENSE="LGPL-2.1 gpl? ( GPL-3 )"
|
||||
SLOT="0/9"
|
||||
|
||||
# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
|
||||
[[ ${PV} == *9999 ]] || \
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE="aac alsa amr bindist +bzip2 cdio cpudetection custom-cflags debug doc
|
||||
+encode faac fdk frei0r +gpl gsm +hardcoded-tables ieee1394 jack jpeg2k mp3
|
||||
+network openssl opus oss pic pulseaudio rtmp schroedinger sdl speex ssl
|
||||
static-libs test theora threads tools truetype v4l vaapi vdpau vorbis vpx X
|
||||
x264 xvid +zlib"
|
||||
|
||||
# String for CPU features in the useflag[:configure_option] form
|
||||
# if :configure_option isn't set, it will use 'useflag' as configure option
|
||||
CPU_FEATURES="3dnow:amd3dnow 3dnowext:amd3dnowext altivec avx mmx mmxext neon ssse3 vis"
|
||||
for i in ${CPU_FEATURES} ; do
|
||||
IUSE+=" ${i%:*}"
|
||||
done
|
||||
|
||||
RDEPEND="
|
||||
!media-video/ffmpeg:0
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
|
||||
amr? ( >=media-libs/opencore-amr-0.1.3-r1[${MULTILIB_USEDEP}] )
|
||||
bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
|
||||
cdio? (
|
||||
|| (
|
||||
>=dev-libs/libcdio-paranoia-0.90_p1-r1[${MULTILIB_USEDEP}]
|
||||
<dev-libs/libcdio-0.90[-minimal,${MULTILIB_USEDEP}]
|
||||
)
|
||||
)
|
||||
encode? (
|
||||
aac? ( >=media-libs/vo-aacenc-0.1.3[${MULTILIB_USEDEP}] )
|
||||
amr? ( >=media-libs/vo-amrwbenc-0.1.2-r1[${MULTILIB_USEDEP}] )
|
||||
faac? ( >=media-libs/faac-1.28-r3[${MULTILIB_USEDEP}] )
|
||||
fdk? ( >=media-libs/fdk-aac-0.1.2[${MULTILIB_USEDEP}] )
|
||||
mp3? ( >=media-sound/lame-3.99.5-r1[${MULTILIB_USEDEP}] )
|
||||
theora? (
|
||||
>=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}]
|
||||
>=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
vorbis? (
|
||||
>=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}]
|
||||
>=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
x264? ( >=media-libs/x264-0.0.20130506:=[${MULTILIB_USEDEP}] )
|
||||
xvid? ( >=media-libs/xvid-1.3.2-r1[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
frei0r? ( media-plugins/frei0r-plugins )
|
||||
gsm? ( >=media-sound/gsm-1.0.13-r1[${MULTILIB_USEDEP}] )
|
||||
ieee1394? (
|
||||
>=media-libs/libdc1394-2.2.1[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/libraw1394-2.1.0-r1[${MULTILIB_USEDEP}]
|
||||
)
|
||||
jack? ( >=media-sound/jack-audio-connection-kit-0.121.3-r1[${MULTILIB_USEDEP}] )
|
||||
jpeg2k? ( >=media-libs/openjpeg-1.5.0:0[${MULTILIB_USEDEP}] )
|
||||
opus? ( >=media-libs/opus-1.0.2-r2[${MULTILIB_USEDEP}] )
|
||||
pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
|
||||
rtmp? ( >=media-video/rtmpdump-2.4_p20131018[${MULTILIB_USEDEP}] )
|
||||
ssl? (
|
||||
openssl? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] )
|
||||
!openssl? ( >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
sdl? ( >=media-libs/libsdl-1.2.15-r4[sound,video,${MULTILIB_USEDEP}] )
|
||||
schroedinger? ( >=media-libs/schroedinger-1.0.11-r1[${MULTILIB_USEDEP}] )
|
||||
speex? ( >=media-libs/speex-1.2_rc1-r1[${MULTILIB_USEDEP}] )
|
||||
truetype? ( >=media-libs/freetype-2.5.0.1:2[${MULTILIB_USEDEP}] )
|
||||
vaapi? ( >=x11-libs/libva-1.2.1-r1[${MULTILIB_USEDEP}] )
|
||||
vdpau? ( >=x11-libs/libvdpau-0.7[${MULTILIB_USEDEP}] )
|
||||
vpx? ( >=media-libs/libvpx-1.2.0_pre20130625[${MULTILIB_USEDEP}] )
|
||||
X? (
|
||||
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
|
||||
)
|
||||
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/make-3.81
|
||||
doc? ( app-text/texi2html )
|
||||
ieee1394? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
mmx? ( dev-lang/yasm )
|
||||
rtmp? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
schroedinger? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
ssl? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
test? ( sys-devel/bc )
|
||||
truetype? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
||||
v4l? ( sys-kernel/linux-headers )
|
||||
"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20140508-r3
|
||||
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
|
||||
|
||||
# faac can't be binary distributed
|
||||
# openssl support marked as nonfree
|
||||
# faac and aac are concurent implementations
|
||||
# amr and aac require at least lgpl3
|
||||
# x264 requires gpl2
|
||||
REQUIRED_USE="bindist? ( !faac !openssl !fdk )
|
||||
rtmp? ( network )
|
||||
amr? ( gpl ) aac? ( gpl ) x264? ( gpl ) X? ( gpl ) cdio? ( gpl )
|
||||
test? ( encode zlib )
|
||||
"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/libavutil/avconfig.h
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# if we have snapshot then we need to hardcode the version
|
||||
if [[ ${PV%_p*} != ${PV} ]]; then
|
||||
sed -i -e "s/UNKNOWN/DATE-${PV#*_pre}/" "${S}/version.sh" || die
|
||||
fi
|
||||
|
||||
TOOLS=( aviocat graph2dot ismindex pktdumper qt-faststart trasher )
|
||||
use zlib && TOOLS+=( cws2fws )
|
||||
|
||||
MAKEOPTS+=" V=1"
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=( ${EXTRA_LIBAV_CONF} )
|
||||
local uses i
|
||||
|
||||
myconf+=(
|
||||
$(use_enable gpl)
|
||||
$(use_enable gpl version3)
|
||||
--enable-avfilter
|
||||
)
|
||||
|
||||
# enabled by default
|
||||
uses="debug doc network zlib"
|
||||
for i in ${uses}; do
|
||||
use ${i} || myconf+=( --disable-${i} )
|
||||
done
|
||||
use bzip2 || myconf+=( --disable-bzlib )
|
||||
use sdl || myconf+=( --disable-avplay )
|
||||
|
||||
if use ssl; then
|
||||
use openssl && myconf+=( --enable-openssl --enable-nonfree ) \
|
||||
|| myconf+=( --enable-gnutls )
|
||||
fi
|
||||
|
||||
use custom-cflags && myconf+=( --disable-optimizations )
|
||||
use cpudetection && myconf+=( --enable-runtime-cpudetect )
|
||||
|
||||
use vdpau || myconf+=( --disable-vdpau )
|
||||
|
||||
use vaapi && myconf+=( --enable-vaapi )
|
||||
|
||||
# Encoders
|
||||
if use encode; then
|
||||
use faac && myconf+=( --enable-nonfree )
|
||||
use fdk && myconf+=( --enable-nonfree --enable-libfdk-aac )
|
||||
use mp3 && myconf+=( --enable-libmp3lame )
|
||||
use amr && myconf+=( --enable-libvo-amrwbenc )
|
||||
use aac && myconf+=( --enable-libvo-aacenc )
|
||||
uses="faac theora vorbis x264 xvid"
|
||||
for i in ${uses}; do
|
||||
use ${i} && myconf+=( --enable-lib${i} )
|
||||
done
|
||||
else
|
||||
myconf+=( --disable-encoders )
|
||||
fi
|
||||
|
||||
# libavdevice options
|
||||
use cdio && myconf+=( --enable-libcdio )
|
||||
use ieee1394 && myconf+=( --enable-libdc1394 )
|
||||
use pulseaudio && myconf+=( --enable-libpulse )
|
||||
|
||||
# Indevs
|
||||
# v4l1 is gone since linux-headers-2.6.38
|
||||
myconf+=( --disable-indev=v4l )
|
||||
use v4l || myconf+=( --disable-indev=v4l2 )
|
||||
for i in alsa oss jack; do
|
||||
use ${i} || myconf+=( --disable-indev=${i} )
|
||||
done
|
||||
use X && myconf+=( --enable-x11grab )
|
||||
# Outdevs
|
||||
for i in alsa oss ; do
|
||||
use ${i} || myconf+=( --disable-outdev=${i} )
|
||||
done
|
||||
# libavfilter options
|
||||
multilib_is_native_abi && use frei0r && myconf+=( --enable-frei0r )
|
||||
use truetype && myconf+=( --enable-libfreetype )
|
||||
|
||||
# Threads; we only support pthread for now
|
||||
use threads && myconf+=( --enable-pthreads )
|
||||
|
||||
# Decoders
|
||||
use amr && myconf+=( --enable-libopencore-amrwb --enable-libopencore-amrnb )
|
||||
uses="gsm opus rtmp schroedinger speex vpx"
|
||||
for i in ${uses}; do
|
||||
use ${i} && myconf+=( --enable-lib${i} )
|
||||
done
|
||||
use jpeg2k && myconf+=( --enable-libopenjpeg )
|
||||
|
||||
# CPU features
|
||||
for i in ${CPU_FEATURES}; do
|
||||
use ${i%:*} || myconf+=( --disable-${i#*:} )
|
||||
done
|
||||
|
||||
# pass the right -mfpu as extra
|
||||
use neon && myconf+=( --extra-cflags=-mfpu=neon )
|
||||
|
||||
# disable mmx accelerated code if PIC is required
|
||||
# as the provided asm decidedly is not PIC for x86.
|
||||
if use pic && [[ ${ABI} == x86 ]] ; then
|
||||
myconf+=( --disable-mmx --disable-mmxext )
|
||||
fi
|
||||
|
||||
# Option to force building pic
|
||||
use pic && myconf+=( --enable-pic )
|
||||
|
||||
# cross compile support
|
||||
if tc-is-cross-compiler ; then
|
||||
myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
|
||||
case ${CHOST} in
|
||||
*freebsd*)
|
||||
myconf+=( --target-os=freebsd )
|
||||
;;
|
||||
mingw32*)
|
||||
myconf+=( --target-os=mingw32 )
|
||||
;;
|
||||
*linux*)
|
||||
myconf+=( --target-os=linux )
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Misc stuff
|
||||
use hardcoded-tables && myconf+=( --enable-hardcoded-tables )
|
||||
|
||||
# Specific workarounds for too-few-registers arch...
|
||||
if [[ ${ABI} == x86 ]]; then
|
||||
local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
|
||||
filter-flags -fforce-addr -momit-leaf-frame-pointer
|
||||
append-flags -fomit-frame-pointer
|
||||
is-flag -O? || append-flags -O2
|
||||
if use debug; then
|
||||
# no need to warn about debug if not using debug flag
|
||||
ewarn ""
|
||||
ewarn "Debug information will be almost useless as the frame pointer is omitted."
|
||||
ewarn "This makes debugging harder, so crashes that has no fixed behavior are"
|
||||
ewarn "difficult to fix. Please have that in mind."
|
||||
ewarn ""
|
||||
fi
|
||||
fi
|
||||
|
||||
"${S}"/configure \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--shlibdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--mandir="${EPREFIX}"/usr/share/man \
|
||||
--enable-shared \
|
||||
--cc="$(tc-getCC)" \
|
||||
--ar="$(tc-getAR)" \
|
||||
--optflags="${CFLAGS}" \
|
||||
--extra-cflags="${CFLAGS}" \
|
||||
$(use_enable static-libs static) \
|
||||
"${myconf[@]}" || die
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake
|
||||
|
||||
if multilib_is_native_abi && use tools; then
|
||||
tc-export CC
|
||||
|
||||
emake ${TOOLS[@]/#/tools/}
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install install-man
|
||||
|
||||
use doc && dodoc doc/*.html
|
||||
|
||||
if multilib_is_native_abi && use tools; then
|
||||
dobin ${TOOLS[@]/#/tools/}
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
dodoc Changelog README INSTALL
|
||||
dodoc doc/*.txt
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
echo ${WORKDIR}/fate
|
||||
LD_LIBRARY_PATH="${BUILD_DIR}/libswscale:${BUILD_DIR}/libavcodec:${BUILD_DIR}/libavdevice:${BUILD_DIR}/libavfilter:${BUILD_DIR}/libavformat:${BUILD_DIR}/libavresample:${BUILD_DIR}/libavutil" \
|
||||
emake -j1 fate SAMPLES="${WORKDIR}/fate"
|
||||
}
|
@ -1 +1 @@
|
||||
Fri, 27 Jun 2014 11:37:07 +0000
|
||||
Sat, 28 Jun 2014 12:07:02 +0000
|
||||
|
@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201406-31">
|
||||
<title>Konqueror: Multiple vulnerabilities</title>
|
||||
<synopsis>Multiple vulnerabilities have been found in Konqueror, the worst of
|
||||
which may allow execution of arbitrary code.
|
||||
</synopsis>
|
||||
<product type="ebuild">konqueror</product>
|
||||
<announced>June 27, 2014</announced>
|
||||
<revised>June 27, 2014: 1</revised>
|
||||
<bug>438452</bug>
|
||||
<access>remote</access>
|
||||
<affected>
|
||||
<package name="kde-base/konqueror" auto="yes" arch="*">
|
||||
<unaffected range="ge">4.9.3-r1</unaffected>
|
||||
<vulnerable range="lt">4.9.3-r1</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>Konqueror is the KDE web browser and file manager.</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>Multiple vulnerabilities have been discovered in Konqueror. Please
|
||||
review the CVE identifiers referenced below for details.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="normal">
|
||||
<p>A remote attacker could entice a user to open a specially crafted web
|
||||
site using Konqueror, possibly resulting in the execution of arbitrary
|
||||
code with the privileges of the process or a Denial of Service condition
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All Konqueror users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=kde-base/konqueror-4.9.3-r1"
|
||||
</code>
|
||||
|
||||
<p>NOTE: This is a legacy GLSA. Updates for all affected architectures are
|
||||
available since November 11, 2012. It is likely that your system is
|
||||
already no longer affected by this issue.
|
||||
</p>
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4512">CVE-2012-4512</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4513">CVE-2012-4513</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4514">CVE-2012-4514</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4515">CVE-2012-4515</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Sat, 01 Dec 2012 14:03:35 +0000">ackle</metadata>
|
||||
<metadata tag="submitter" timestamp="Fri, 27 Jun 2014 14:04:10 +0000">ackle</metadata>
|
||||
</glsa>
|
@ -1 +1 @@
|
||||
Fri, 27 Jun 2014 11:37:07 +0000
|
||||
Sat, 28 Jun 2014 12:07:02 +0000
|
||||
|
@ -1,13 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare test
|
||||
DEPEND=alsa? ( >=media-libs/alsa-lib-1.0.27.2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.68 sys-devel/libtool
|
||||
DEPEND=alsa? ( >=media-libs/alsa-lib-1.0.27.2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?] ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.68 sys-devel/libtool
|
||||
DESCRIPTION=Flite text to speech engine
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.speech.cs.cmu.edu/flite/index.html
|
||||
IUSE=alsa oss static-libs abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32
|
||||
IUSE=alsa oss static-libs abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86
|
||||
LICENSE=BSD freetts public-domain regexp-UofT BSD-2
|
||||
RDEPEND=alsa? ( >=media-libs/alsa-lib-1.0.27.2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] )
|
||||
RDEPEND=alsa? ( >=media-libs/alsa-lib-1.0.27.2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?] )
|
||||
SLOT=0
|
||||
SRC_URI=http://www.speech.cs.cmu.edu/flite/packed/flite-1.4/flite-1.4-release.tar.bz2
|
||||
_eclasses_=autotools 5256b4f4c1798109f39f308f9f7eaf5f eutils 025442f2eecab39ad0b4e541b6e142af libtool 2964b38e7ad7f6998406386ad1c6dbcf multibuild 46527a4656956da3d58acff72c9b59b1 multilib fac675dcccf94392371a6abee62d909f multilib-build 02e68fc95064bb486c12ad2de16b8c82 multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing c2d96fb38f2596209e98fceda58ba1ed toolchain-funcs 48b38a216afb92db6314d6c3187abea3
|
||||
_eclasses_=autotools 5256b4f4c1798109f39f308f9f7eaf5f eutils 025442f2eecab39ad0b4e541b6e142af libtool 2964b38e7ad7f6998406386ad1c6dbcf multibuild 46527a4656956da3d58acff72c9b59b1 multilib fac675dcccf94392371a6abee62d909f multilib-build 1f69ae15c55529c2008cf6f8680d547c multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing c2d96fb38f2596209e98fceda58ba1ed toolchain-funcs 48b38a216afb92db6314d6c3187abea3
|
||||
_md5_=374e03df212b3d41d948286794f326eb
|
||||
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=configure install postinst prepare
|
||||
DEPEND=ssl? ( >=dev-libs/openssl-0.9.6g ) pam? ( virtual/pam ) tcpd? ( sys-apps/tcp-wrappers ) debug? ( dev-libs/dmalloc ) kerberos? ( virtual/krb5 net-libs/libgssglue ) ssl? ( dev-libs/openssl ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.68 sys-devel/libtool
|
||||
DESCRIPTION=Serial Console Manager
|
||||
EAPI=4
|
||||
HOMEPAGE=http://www.conserver.com/
|
||||
IUSE=kerberos pam ssl tcpd debug ssl
|
||||
KEYWORDS=~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86
|
||||
LICENSE=BSD GPL-2
|
||||
RDEPEND=ssl? ( >=dev-libs/openssl-0.9.6g ) pam? ( virtual/pam ) tcpd? ( sys-apps/tcp-wrappers ) debug? ( dev-libs/dmalloc ) kerberos? ( virtual/krb5 net-libs/libgssglue ) pam? ( >=sys-auth/pambase-20080219.1 )
|
||||
SLOT=0
|
||||
SRC_URI=http://www.conserver.com/conserver-8.1.18.tar.gz
|
||||
_eclasses_=autotools 5256b4f4c1798109f39f308f9f7eaf5f eutils 025442f2eecab39ad0b4e541b6e142af flag-o-matic 32bd61b45c2f57e468b4ee7311fec8f5 libtool 2964b38e7ad7f6998406386ad1c6dbcf multilib fac675dcccf94392371a6abee62d909f multiprocessing c2d96fb38f2596209e98fceda58ba1ed pam 5c1a9ef4892062f9ec25c8ef7c1f1e52 ssl-cert b53367370fde96e19beca78050a47c61 toolchain-funcs 48b38a216afb92db6314d6c3187abea3
|
||||
_md5_=68f87236220e9f76b138142aa2ebdcf0
|
@ -1,13 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-libs/libxml2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] sys-devel/libtool[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] iconv? ( virtual/libiconv[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.68 sys-devel/libtool
|
||||
DEPEND=dev-libs/libxml2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?] sys-devel/libtool[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?] iconv? ( virtual/libiconv[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?] ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.68 sys-devel/libtool
|
||||
DESCRIPTION=universal and secure framework to store config parameters in a hierarchical key-value pair mechanism
|
||||
EAPI=5
|
||||
HOMEPAGE=http://freedesktop.org/wiki/Software/Elektra
|
||||
IUSE=gcov iconv static-libs test abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32
|
||||
IUSE=gcov iconv static-libs test abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=BSD
|
||||
RDEPEND=dev-libs/libxml2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?]
|
||||
RDEPEND=dev-libs/libxml2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?]
|
||||
SLOT=0
|
||||
SRC_URI=ftp://ftp.markus-raab.org/elektra/elektra-0.7.1.tar.gz
|
||||
_eclasses_=autotools 5256b4f4c1798109f39f308f9f7eaf5f autotools-multilib 037c4046d25f29e78dd44dccabd5d66b autotools-utils fb74970befc9b65ceec689d2ccff3022 eutils 025442f2eecab39ad0b4e541b6e142af libtool 2964b38e7ad7f6998406386ad1c6dbcf multibuild 46527a4656956da3d58acff72c9b59b1 multilib fac675dcccf94392371a6abee62d909f multilib-build 02e68fc95064bb486c12ad2de16b8c82 multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing c2d96fb38f2596209e98fceda58ba1ed toolchain-funcs 48b38a216afb92db6314d6c3187abea3
|
||||
_eclasses_=autotools 5256b4f4c1798109f39f308f9f7eaf5f autotools-multilib 037c4046d25f29e78dd44dccabd5d66b autotools-utils fb74970befc9b65ceec689d2ccff3022 eutils 025442f2eecab39ad0b4e541b6e142af libtool 2964b38e7ad7f6998406386ad1c6dbcf multibuild 46527a4656956da3d58acff72c9b59b1 multilib fac675dcccf94392371a6abee62d909f multilib-build 1f69ae15c55529c2008cf6f8680d547c multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing c2d96fb38f2596209e98fceda58ba1ed toolchain-funcs 48b38a216afb92db6314d6c3187abea3
|
||||
_md5_=3aaca7ac2b5d8065c88886bbdf81c44f
|
||||
|
@ -1,14 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=>=dev-libs/libxml2-2.9.1-r4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] dbus? ( >=sys-apps/dbus-1.6.18-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] ) iconv? ( >=virtual/libiconv-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] ) yajl? ( <dev-libs/yajl-2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] >=dev-libs/yajl-1.0.11-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] ) sys-devel/libtool doc? ( app-doc/doxygen ) sys-devel/make >=dev-util/cmake-2.8.9 userland_GNU? ( >=sys-apps/findutils-4.4.0 )
|
||||
DEPEND=>=dev-libs/libxml2-2.9.1-r4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?] dbus? ( >=sys-apps/dbus-1.6.18-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?] ) iconv? ( >=virtual/libiconv-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?] ) yajl? ( <dev-libs/yajl-2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?] >=dev-libs/yajl-1.0.11-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?] ) sys-devel/libtool doc? ( app-doc/doxygen ) sys-devel/make >=dev-util/cmake-2.8.9 userland_GNU? ( >=sys-apps/findutils-4.4.0 )
|
||||
DESCRIPTION=universal and secure framework to store config parameters in a hierarchical key-value pair mechanism
|
||||
EAPI=5
|
||||
HOMEPAGE=http://freedesktop.org/wiki/Software/Elektra
|
||||
IUSE=dbus doc examples iconv inifile simpleini static-libs syslog tcl test xml yajl abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32
|
||||
IUSE=dbus doc examples iconv inifile simpleini static-libs syslog tcl test xml yajl abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=BSD
|
||||
RDEPEND=>=dev-libs/libxml2-2.9.1-r4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] dbus? ( >=sys-apps/dbus-1.6.18-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] ) iconv? ( >=virtual/libiconv-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] ) yajl? ( <dev-libs/yajl-2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] >=dev-libs/yajl-1.0.11-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] )
|
||||
RDEPEND=>=dev-libs/libxml2-2.9.1-r4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?] dbus? ( >=sys-apps/dbus-1.6.18-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?] ) iconv? ( >=virtual/libiconv-0-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?] ) yajl? ( <dev-libs/yajl-2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?] >=dev-libs/yajl-1.0.11-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?] )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=ftp://ftp.markus-raab.org/elektra/releases/elektra-0.8.3.tar.gz
|
||||
_eclasses_=cmake-multilib ca4c6ecda3062bf851d951987568fdae cmake-utils 412d9e2d2c6f85f46dad595e68570d21 eutils 025442f2eecab39ad0b4e541b6e142af flag-o-matic 32bd61b45c2f57e468b4ee7311fec8f5 multibuild 46527a4656956da3d58acff72c9b59b1 multilib fac675dcccf94392371a6abee62d909f multilib-build 02e68fc95064bb486c12ad2de16b8c82 multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing c2d96fb38f2596209e98fceda58ba1ed toolchain-funcs 48b38a216afb92db6314d6c3187abea3
|
||||
_eclasses_=cmake-multilib ca4c6ecda3062bf851d951987568fdae cmake-utils 412d9e2d2c6f85f46dad595e68570d21 eutils 025442f2eecab39ad0b4e541b6e142af flag-o-matic 32bd61b45c2f57e468b4ee7311fec8f5 multibuild 46527a4656956da3d58acff72c9b59b1 multilib fac675dcccf94392371a6abee62d909f multilib-build 1f69ae15c55529c2008cf6f8680d547c multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing c2d96fb38f2596209e98fceda58ba1ed toolchain-funcs 48b38a216afb92db6314d6c3187abea3
|
||||
_md5_=5bc5c1b06109c5b7e6c783dba0facfcf
|
||||
|
@ -1,10 +0,0 @@
|
||||
DEFINED_PHASES=install postinst
|
||||
DEPEND=app-admin/eselect !<net-analyzer/metasploit-4.6
|
||||
DESCRIPTION=eselect module for metasploit
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.pentoo.ch/
|
||||
KEYWORDS=~amd64 ~arm ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=app-admin/eselect !<net-analyzer/metasploit-4.6
|
||||
SLOT=0
|
||||
_md5_=315317e0bb17c114e54ddcf98025da9e
|
@ -1,10 +0,0 @@
|
||||
DEFINED_PHASES=install postinst setup
|
||||
DEPEND=app-admin/eselect !<net-analyzer/metasploit-4.6
|
||||
DESCRIPTION=eselect module for metasploit
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.pentoo.ch/
|
||||
KEYWORDS=~amd64 ~arm ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=app-admin/eselect !<net-analyzer/metasploit-4.6
|
||||
SLOT=0
|
||||
_md5_=5ed0f2e21cb60726b410dd25c7577376
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue