parent
067bf782a2
commit
57ab8a6ddd
@ -1,3 +1,3 @@
|
||||
DIST ansible-1.2.1.tar.gz 777619 SHA256 5b46639fea3576233c8f235468a8b19f0b180fc0ddd6ede3014bc570362c5e66 SHA512 4efe9583f91e36bb07787d272b6a5e79d1cd37e17d1d1bdbcf99c54736838642cba051601e95b38b957deb9d7ec92c11b84da6fa4984bdeeee3b951b6df94ac3 WHIRLPOOL ad63ac251b0ed3f2ba48feb742271498f698b956cfc6be129080d0e33b086180a41d5c99f45423eebeab1a3a191048d6ee8d71311e81871368e2235a25a73705
|
||||
DIST ansible-1.2.3.tar.gz 778715 SHA256 232e90a6c3d2146c10dcab1e374124994935a15f9cf6e892c9730cc89cc70e53 SHA512 82a8a7ceb3a40d52f205901ac6c93e35cea313db6db6253170bc9c1dd0e7af650242fb8f052a8bef01f0913238db1195ec5b2865cebb135498cba2b1c3acbc20 WHIRLPOOL 3ed6394637e165869c233ba8cf6bdbe5a59101e05268b0dec7ce8f663ecc83e8720546ac3e06c7d8acaa6c431c842cefd49c0d4df0c70bb79dea9c075a18df8f
|
||||
DIST ansible-1.3.3.tar.gz 869148 SHA256 72eed601930616aa8953514c96fd371e2cae4c5bd4611a5215eac054d62c8382 SHA512 400b207c58df1e3fc4c490b0db3bfb978ec38045a52e5c280dbaba6134826674c05e0924c63fb458104969d873c1405e9dc1fd13b65eff6495a3a90e4419728c WHIRLPOOL 57e949c3d5e4d5dbacf4463cb895d373e916c67bb2c993cf1e094a841a2428add4833c56683e3b4fd829461017748c7cb4af107bae34827fc1668a8b1ee8bea1
|
||||
DIST ansible-1.3.4.tar.gz 869278 SHA256 127ff0c68c7997f26ad9840fe6049567ada1ce76ed99f1ca24ed3a58171049b5 SHA512 c802b9abbf20029e01e368af48dc90968c0f2a08e2580fda97c6600431cf5d22c09d04ad6a33a745a8b25d413a0a4ce708eef075602210f27dccfa4a9e396e40 WHIRLPOOL e8de8d20fd485a35123a46b648f0b93eaa65eb5b3d1e0e8fb522c2bd1ebf21830b2f5f2ddb28d0fb66597a43babe4cb232984909412876bc96cb9522e3e30a3f
|
||||
|
@ -0,0 +1,459 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/amanda/amanda-3.3.3-r1.ebuild,v 1.1 2013/11/23 09:08:55 pacho Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils perl-module user systemd
|
||||
|
||||
DESCRIPTION="The Advanced Maryland Automatic Network Disk Archiver"
|
||||
HOMEPAGE="http://www.amanda.org/"
|
||||
SRC_URI="mirror://sourceforge/amanda/${P}.tar.gz"
|
||||
LICENSE="HPND BSD BSD-2 GPL-2+ GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
RDEPEND="sys-libs/readline
|
||||
virtual/awk
|
||||
app-arch/tar
|
||||
>=dev-lang/perl-5.6
|
||||
app-arch/dump
|
||||
net-misc/openssh
|
||||
>=dev-libs/glib-2.26.0
|
||||
nls? ( virtual/libintl )
|
||||
s3? ( >=net-misc/curl-7.10.0 )
|
||||
!s3? ( curl? ( >=net-misc/curl-7.10.0 ) )
|
||||
samba? ( net-fs/samba )
|
||||
kerberos? ( app-crypt/mit-krb5 )
|
||||
xfs? ( sys-fs/xfsdump )
|
||||
readline? ( sys-libs/readline )
|
||||
!systemd? ( virtual/inetd )
|
||||
!minimal? (
|
||||
virtual/mailx
|
||||
app-arch/mt-st
|
||||
sys-block/mtx
|
||||
gnuplot? ( sci-visualization/gnuplot )
|
||||
app-crypt/aespipe
|
||||
app-crypt/gnupg
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
>=app-text/docbook-xsl-stylesheets-1.72.0
|
||||
app-text/docbook-xml-dtd
|
||||
dev-libs/libxslt
|
||||
"
|
||||
|
||||
IUSE="curl gnuplot ipv6 kerberos minimal nls readline s3 samba systemd xfs"
|
||||
|
||||
MYFILESDIR="${T}/files"
|
||||
ENVDIR="/etc/env.d"
|
||||
ENVDFILE="97amanda"
|
||||
TMPENVFILE="${T}/${ENVDFILE}"
|
||||
|
||||
# This is a complete list of Amanda settings that the ebuild takes from the
|
||||
# build environment. This allows users to alter the behavior of the package as
|
||||
# upstream intended, but keeping with Gentoo style. We store a copy of them in
|
||||
# /etc/env.d/97amanda during the install, so that they are preserved for future
|
||||
# installed. This variable name must not start with AMANDA_, as we do not want
|
||||
# it captured into the env file.
|
||||
ENV_SETTINGS_AMANDA="
|
||||
AMANDA_GROUP_GID AMANDA_GROUP_NAME
|
||||
AMANDA_USER_NAME AMANDA_USER_UID AMANDA_USER_SH AMANDA_USER_HOMEDIR AMANDA_USER_GROUPS
|
||||
AMANDA_SERVER AMANDA_SERVER_TAPE AMANDA_SERVER_INDEX
|
||||
AMANDA_TAR_LISTDIR AMANDA_TAR
|
||||
AMANDA_PORTS_UDP AMANDA_PORTS_TCP AMANDA_PORTS_BOTH AMANDA_PORTS
|
||||
AMANDA_CONFIG_NAME AMANDA_TMPDIR"
|
||||
|
||||
amanda_variable_setup() {
|
||||
|
||||
# Setting vars
|
||||
local currentamanda
|
||||
|
||||
# Grab the current settings
|
||||
currentamanda="$(set | egrep "^AMANDA_" | grep -v '^AMANDA_ENV_SETTINGS' | xargs)"
|
||||
|
||||
# First we set the defaults
|
||||
[ -z "${AMANDA_GROUP_GID}" ] && AMANDA_GROUP_GID=87
|
||||
[ -z "${AMANDA_GROUP_NAME}" ] && AMANDA_GROUP_NAME=amanda
|
||||
[ -z "${AMANDA_USER_NAME}" ] && AMANDA_USER_NAME=amanda
|
||||
[ -z "${AMANDA_USER_UID}" ] && AMANDA_USER_UID=87
|
||||
[ -z "${AMANDA_USER_SH}" ] && AMANDA_USER_SH=/bin/bash
|
||||
[ -z "${AMANDA_USER_HOMEDIR}" ] && AMANDA_USER_HOMEDIR=/var/spool/amanda
|
||||
[ -z "${AMANDA_USER_GROUPS}" ] && AMANDA_USER_GROUPS="${AMANDA_GROUP_NAME}"
|
||||
|
||||
# This installs Amanda, with the server. However, it could be a client,
|
||||
# just specify an alternate server name in AMANDA_SERVER.
|
||||
[ -z "${AMANDA_SERVER}" ] && AMANDA_SERVER="${HOSTNAME}"
|
||||
[ -z "${AMANDA_SERVER_TAPE}" ] && AMANDA_SERVER_TAPE="${AMANDA_SERVER}"
|
||||
[ -z "${AMANDA_SERVER_INDEX}" ] && AMANDA_SERVER_INDEX="${AMANDA_SERVER}"
|
||||
[ -z "${AMANDA_TAR_LISTDIR}" ] && AMANDA_TAR_LISTDIR=${AMANDA_USER_HOMEDIR}/tar-lists
|
||||
[ -z "${AMANDA_CONFIG_NAME}" ] && AMANDA_CONFIG_NAME=DailySet1
|
||||
[ -z "${AMANDA_TMPDIR}" ] && AMANDA_TMPDIR=/var/tmp/amanda
|
||||
[ -z "${AMANDA_DBGDIR}" ] && AMANDA_DBGDIR="$AMANDA_TMPDIR"
|
||||
# These are left empty by default
|
||||
[ -z "${AMANDA_PORTS_UDP}" ] && AMANDA_PORTS_UDP=
|
||||
[ -z "${AMANDA_PORTS_TCP}" ] && AMANDA_PORTS_TCP=
|
||||
[ -z "${AMANDA_PORTS_BOTH}" ] && AMANDA_PORTS_BOTH=
|
||||
[ -z "${AMANDA_PORTS}" ] && AMANDA_PORTS=
|
||||
|
||||
# What tar to use
|
||||
[ -z "${AMANDA_TAR}" ] && AMANDA_TAR=/bin/tar
|
||||
|
||||
# Now pull in the old stuff
|
||||
if [ -f "${ROOT}${ENVDIR}/${ENVDFILE}" ]; then
|
||||
# We don't just source it as we don't want everything in there.
|
||||
eval $(egrep "^AMANDA_" "${ROOT}${ENVDIR}/${ENVDFILE}" | grep -v '^AMANDA_ENV_SETTINGS')
|
||||
fi
|
||||
|
||||
# Re-apply the new settings if any
|
||||
[ -n "${currentamanda}" ] && eval `echo "${currentamanda}"`
|
||||
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
amanda_variable_setup
|
||||
|
||||
# If USE=minimal, give out a warning, if AMANDA_SERVER is not set to
|
||||
# another host than HOSTNAME.
|
||||
if use minimal && [ "${AMANDA_SERVER}" = "${HOSTNAME}" ] ; then
|
||||
elog "You are installing a client-only version of Amanda."
|
||||
elog "You should set the variable \$AMANDA_SERVER to point at your"
|
||||
elog "Amanda-tape-server, otherwise you will have to specify its name"
|
||||
elog "when using amrecover on the client."
|
||||
elog "For example: Use something like"
|
||||
elog "AMANDA_SERVER=\"myserver\" emerge amanda"
|
||||
elog
|
||||
fi
|
||||
|
||||
enewgroup "${AMANDA_GROUP_NAME}" "${AMANDA_GROUP_GID}"
|
||||
enewuser "${AMANDA_USER_NAME}" "${AMANDA_USER_UID}" "${AMANDA_USER_SH}" "${AMANDA_USER_HOMEDIR}" "${AMANDA_USER_GROUPS}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# we do not want the perl src_unpack
|
||||
base_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
|
||||
# gentoo bug #331111
|
||||
sed -i '/^check-local: check-perl$/d' "${S}"/config/automake/scripts.am
|
||||
sed -i '/^check-local:/s,syntax-check,,g' "${S}"/perl/Makefile.am
|
||||
|
||||
# bug with glibc-2.16.0
|
||||
sed -i -e '/gets is a security/d' "${S}"/gnulib/stdio.in.h
|
||||
|
||||
eautoreconf
|
||||
|
||||
# places for us to work in
|
||||
mkdir -p "${MYFILESDIR}"
|
||||
# Now we store the settings we just created
|
||||
set | egrep "^AMANDA_" | grep -v '^AMANDA_ENV_SETTINGS' > "${TMPENVFILE}"
|
||||
|
||||
# Prepare our custom files
|
||||
einfo "Building custom configuration files"
|
||||
local i # our iterator
|
||||
local sedexpr # var for sed expr
|
||||
sedexpr=''
|
||||
for i in ${ENV_SETTINGS_AMANDA} ; do
|
||||
local val
|
||||
eval "val=\"\${${i}}\""
|
||||
sedexpr="${sedexpr}s|__${i}__|${val}|g;"
|
||||
done
|
||||
|
||||
# now apply the sed expr
|
||||
for i in "${FILESDIR}"/amanda-* ; do
|
||||
sed -re "${sedexpr}" <"${i}" >"${MYFILESDIR}/`basename ${i}`"
|
||||
done
|
||||
|
||||
(
|
||||
cat "${MYFILESDIR}"/amanda-amandahosts-client-2.5.1_p3-r1
|
||||
use minimal || cat "${MYFILESDIR}"/amanda-amandahosts-server-2.5.1_p3-r1
|
||||
) > "${T}"/amandahosts
|
||||
|
||||
if ! use minimal; then
|
||||
sed -i -e 's:^\(my $amandahomedir\)=.*:\1 = $localstatedir;:' \
|
||||
server-src/am{addclient,serverconfig}.pl || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# fix bug #36316
|
||||
addpredict /var/cache/samba/gencache.tdb
|
||||
# fix bug #376169
|
||||
addpredict /run/blkid
|
||||
addpredict /etc/blkid.tab
|
||||
|
||||
[ ! -f "${TMPENVFILE}" ] && die "Variable setting file (${TMPENVFILE}) should exist!"
|
||||
source "${TMPENVFILE}"
|
||||
local myconf
|
||||
|
||||
einfo "Using ${AMANDA_SERVER_TAPE} for tape server."
|
||||
myconf="${myconf} --with-tape-server=${AMANDA_SERVER_TAPE}"
|
||||
einfo "Using ${AMANDA_SERVER_INDEX} for index server."
|
||||
myconf="${myconf} --with-index-server=${AMANDA_SERVER_INDEX}"
|
||||
einfo "Using ${AMANDA_USER_NAME} for amanda user."
|
||||
myconf="${myconf} --with-user=${AMANDA_USER_NAME}"
|
||||
einfo "Using ${AMANDA_GROUP_NAME} for amanda group."
|
||||
myconf="${myconf} --with-group=${AMANDA_GROUP_NAME}"
|
||||
einfo "Using ${AMANDA_TAR} as Tar implementation."
|
||||
myconf="${myconf} --with-gnutar=${AMANDA_TAR}"
|
||||
einfo "Using ${AMANDA_TAR_LISTDIR} as tar listdir."
|
||||
myconf="${myconf} --with-gnutar-listdir=${AMANDA_TAR_LISTDIR}"
|
||||
einfo "Using ${AMANDA_CONFIG_NAME} as default config name."
|
||||
myconf="${myconf} --with-config=${AMANDA_CONFIG_NAME}"
|
||||
einfo "Using ${AMANDA_TMPDIR} as Amanda temporary directory."
|
||||
myconf="${myconf} --with-tmpdir=${AMANDA_TMPDIR}"
|
||||
|
||||
if [ -n "${AMANDA_PORTS_UDP}" ] && [ -n "${AMANDA_PORTS_TCP}" ] && [ -z "${AMANDA_PORTS_BOTH}" ] ; then
|
||||
eerror "If you want _both_ UDP and TCP ports, please use only the"
|
||||
eerror "AMANDA_PORTS environment variable for identical ports, or set"
|
||||
eerror "AMANDA_PORTS_BOTH."
|
||||
die "Bad port setup!"
|
||||
fi
|
||||
if [ -n "${AMANDA_PORTS_UDP}" ]; then
|
||||
einfo "Using UDP ports ${AMANDA_PORTS_UDP/,/-}"
|
||||
myconf="${myconf} --with-udpportrange=${AMANDA_PORTS_UDP}"
|
||||
fi
|
||||
if [ -n "${AMANDA_PORTS_TCP}" ]; then
|
||||
einfo "Using TCP ports ${AMANDA_PORTS_TCP/,/-}"
|
||||
myconf="${myconf} --with-tcpportrange=${AMANDA_PORTS_TCP}"
|
||||
fi
|
||||
if [ -n "${AMANDA_PORTS}" ]; then
|
||||
einfo "Using ports ${AMANDA_PORTS/,/-}"
|
||||
myconf="${myconf} --with-portrange=${AMANDA_PORTS}"
|
||||
fi
|
||||
|
||||
# Extras
|
||||
# Speed option
|
||||
myconf="${myconf} --with-buffered-dump"
|
||||
# "debugging" in the configuration is NOT debug in the conventional sense.
|
||||
# It is actually just useful output in the application, and should remain
|
||||
# enabled. There are some cases of breakage with MTX tape changers as of
|
||||
# 2.5.1p2 that it exposes when turned off as well.
|
||||
myconf="${myconf} --with-debugging"
|
||||
# Where to put our files
|
||||
myconf="${myconf} --localstatedir=${AMANDA_USER_HOMEDIR}"
|
||||
|
||||
# Samba support
|
||||
myconf="${myconf} `use_with samba smbclient /usr/bin/smbclient`"
|
||||
|
||||
# Support for BSD, SSH, BSDUDP, BSDTCP security methods all compiled in by
|
||||
# default
|
||||
myconf="${myconf} --with-bsd-security"
|
||||
myconf="${myconf} --with-ssh-security"
|
||||
myconf="${myconf} --with-bsdudp-security"
|
||||
myconf="${myconf} --with-bsdtcp-security"
|
||||
|
||||
# kerberos-security mechanism version 5
|
||||
myconf="${myconf} `use_with kerberos krb5-security`"
|
||||
|
||||
# Amazon S3 support
|
||||
myconf="${myconf} `use_enable s3 s3-device`"
|
||||
|
||||
# libcurl is required for S3 but otherwise optional
|
||||
if ! use s3; then
|
||||
myconf="${myconf} $(use_with curl libcurl)"
|
||||
fi
|
||||
|
||||
# Client only, as requested in bug #127725
|
||||
if use minimal ; then
|
||||
myconf="${myconf} --without-server"
|
||||
else
|
||||
# amplot
|
||||
myconf="${myconf} $(use_with gnuplot)"
|
||||
fi
|
||||
|
||||
# IPv6 fun.
|
||||
myconf="${myconf} `use_with ipv6`"
|
||||
# This is to prevent the IPv6-is-working test
|
||||
# As the test fails on binpkg build hosts with no IPv6.
|
||||
use ipv6 && export amanda_cv_working_ipv6=yes
|
||||
|
||||
# I18N
|
||||
myconf="${myconf} `use_enable nls`"
|
||||
|
||||
# Bug #296634: Perl location
|
||||
perlinfo
|
||||
myconf="${myconf} --with-amperldir=${VENDOR_LIB}"
|
||||
|
||||
# Bug 296633: --disable-syntax-checks
|
||||
# Some tests are not safe for production systems
|
||||
myconf="${myconf} --disable-syntax-checks"
|
||||
|
||||
# build manpages
|
||||
myconf="${myconf} --enable-manpage-build"
|
||||
|
||||
econf \
|
||||
$(use_with readline) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Again, do not want the perl-module src_compile
|
||||
base_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
[ ! -f "${TMPENVFILE}" ] && die "Variable setting file (${TMPENVFILE}) should exist!"
|
||||
source ${TMPENVFILE}
|
||||
|
||||
einfo "Doing stock install"
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
# Build the envdir file
|
||||
# Don't forget this..
|
||||
einfo "Building environment file"
|
||||
(
|
||||
echo "# These settings are what was present in the environment when this"
|
||||
echo "# Amanda was compiled. Changing anything below this comment will"
|
||||
echo "# have no effect on your application, but it merely exists to"
|
||||
echo "# preserve them for your next emerge of Amanda"
|
||||
cat "${TMPENVFILE}" | sed "s,=\$,='',g"
|
||||
) >> "${MYFILESDIR}/${ENVDFILE}"
|
||||
|
||||
# Env.d
|
||||
einfo "Installing environment config file"
|
||||
doenvd "${MYFILESDIR}/${ENVDFILE}"
|
||||
|
||||
# Lock down next section (up until docs).
|
||||
insopts -m0640
|
||||
# Installing Amanda Xinetd Services Definition
|
||||
einfo "Installing xinetd service file"
|
||||
insinto /etc/xinetd.d
|
||||
if use minimal ; then
|
||||
newins "${MYFILESDIR}"/amanda-xinetd-2.6.1_p1-client amanda
|
||||
else
|
||||
newins "${MYFILESDIR}"/amanda-xinetd-2.6.1_p1-server amanda
|
||||
fi
|
||||
|
||||
if ! use minimal; then
|
||||
einfo "Installing Sample Daily Cron Job for Amanda"
|
||||
insinto /etc/cron.daily
|
||||
newins "${MYFILESDIR}/amanda-cron" amanda
|
||||
fi
|
||||
|
||||
einfo "Installing systemd service and socket files for Amanda"
|
||||
systemd_dounit "${FILESDIR}"/amanda.socket || die
|
||||
systemd_newunit "${FILESDIR}"/amanda.service-r1 'amanda@.service' || die
|
||||
|
||||
insinto /etc/amanda
|
||||
einfo "Installing .amandahosts File for ${AMANDA_USER_NAME} user"
|
||||
doins "${T}/amandahosts"
|
||||
fperms 600 /etc/amanda/amandahosts
|
||||
|
||||
dosym /etc/amanda/amandahosts "${AMANDA_USER_HOMEDIR}/.amandahosts"
|
||||
insinto "${AMANDA_USER_HOMEDIR}"
|
||||
einfo "Installing .profile for ${AMANDA_USER_NAME} user"
|
||||
newins "${MYFILESDIR}/amanda-profile" .profile
|
||||
|
||||
insinto /etc/amanda
|
||||
doins "${S}/example/amanda-client.conf"
|
||||
if ! use minimal ; then
|
||||
insinto "/etc/amanda/${AMANDA_CONFIG_NAME}"
|
||||
doins "${S}/example/amanda.conf"
|
||||
doins "${S}/example/disklist"
|
||||
keepdir "${AMANDA_USER_HOMEDIR}/${AMANDA_CONFIG_NAME}/index"
|
||||
fi
|
||||
|
||||
keepdir "${AMANDA_TAR_LISTDIR}"
|
||||
keepdir "${AMANDA_USER_HOMEDIR}/amanda"
|
||||
keepdir "${AMANDA_TMPDIR}/dumps"
|
||||
# Just make sure it exists for XFS to work...
|
||||
use xfs && keepdir /var/xfsdump/inventory
|
||||
|
||||
local i
|
||||
for i in "${AMANDA_USER_HOMEDIR}" "${AMANDA_TAR_LISTDIR}" \
|
||||
"${AMANDA_TMPDIR}" /etc/amanda; do
|
||||
einfo "Securing directory (${i})"
|
||||
fowners -R ${AMANDA_USER_NAME}:${AMANDA_GROUP_NAME} ${i}
|
||||
done
|
||||
# Do NOT use -R
|
||||
fperms 0700 \
|
||||
"${AMANDA_USER_HOMEDIR}" "${AMANDA_TAR_LISTDIR}" \
|
||||
"${AMANDA_TMPDIR}" "${AMANDA_TMPDIR}/dumps" \
|
||||
"${AMANDA_USER_HOMEDIR}/amanda" \
|
||||
"${AMANDA_USER_HOMEDIR}/${AMANDA_CONFIG_NAME}" \
|
||||
/etc/amanda /etc/amanda/${AMANDA_CONFIG_NAME}
|
||||
|
||||
einfo "Setting setuid permissions"
|
||||
amanda_permissions_fix "${D}"
|
||||
|
||||
# Relax permissions again
|
||||
insopts -m0644
|
||||
|
||||
# docs
|
||||
einfo "Installing documentation"
|
||||
dodoc AUTHORS ChangeLog DEVELOPING NEWS README ReleaseNotes UPGRADING
|
||||
# our inetd sample
|
||||
einfo "Installing standard inetd sample"
|
||||
newdoc "${MYFILESDIR}/amanda-inetd.amanda.sample-2.6.0_p2-r2" amanda-inetd.amanda.sample
|
||||
# Amanda example configs
|
||||
einfo "Installing example configurations"
|
||||
rm "${D}"/usr/share/amanda/{COPYRIGHT,ChangeLog,NEWS,ReleaseNotes}
|
||||
mv "${D}/usr/share/amanda/example" "${D}/usr/share/doc/${PF}/"
|
||||
docinto example1
|
||||
newdoc "${FILESDIR}/example_amanda.conf" amanda.conf
|
||||
newdoc "${FILESDIR}/example_disklist-2.5.1_p3-r1" disklist
|
||||
newdoc "${FILESDIR}/example_global.conf" global.conf
|
||||
|
||||
einfo "Cleaning up dud .la files"
|
||||
perlinfo
|
||||
find "${D}"/"${VENDOR_LIB}" -name '*.la' -print0 |xargs -0 rm -f
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
[ ! -f "${TMPENVFILE}" -a "$MERGE_TYPE" == "binary" ] && \
|
||||
TMPENVFILE="${ROOT}${ENVDIR}/${ENVDFILE}"
|
||||
[ ! -f "${TMPENVFILE}" ] && die "Variable setting file (${TMPENVFILE}) should exist!"
|
||||
source "${TMPENVFILE}"
|
||||
|
||||
# Migration of amandates from /etc to $localstatedir/amanda
|
||||
if [ -f "${ROOT}/etc/amandates" -a \
|
||||
! -f "${ROOT}/${AMANDA_USER_HOMEDIR}/amanda/amandates" ]; then
|
||||
einfo "Migrating amandates from /etc/ to ${AMANDA_USER_HOMEDIR}/amanda"
|
||||
einfo "A backup is also placed at /etc/amandates.orig"
|
||||
cp -dp "${ROOT}/etc/amandates" "${ROOT}/etc/amandates.orig"
|
||||
mkdir -p "${ROOT}/${AMANDA_USER_HOMEDIR}/amanda/"
|
||||
cp -dp "${ROOT}/etc/amandates" "${ROOT}/${AMANDA_USER_HOMEDIR}/amanda/amandates"
|
||||
fi
|
||||
if [ -f "${ROOT}/etc/amandates" ]; then
|
||||
einfo "If you have migrated safely, please delete /etc/amandates"
|
||||
fi
|
||||
|
||||
einfo "Checking setuid permissions"
|
||||
amanda_permissions_fix "${ROOT}"
|
||||
|
||||
elog "You should configure Amanda in /etc/amanda now."
|
||||
elog
|
||||
elog "If you use xinetd, Don't forget to check /etc/xinetd.d/amanda"
|
||||
elog "and restart xinetd afterwards!"
|
||||
elog
|
||||
elog "Otherwise, please look at /usr/share/doc/${PF}/inetd.amanda.sample"
|
||||
elog "as an example of how to configure your inetd."
|
||||
elog
|
||||
elog "NOTICE: If you need raw access to partitions you need to add the"
|
||||
elog "amanda user to the 'disk' group."
|
||||
elog
|
||||
elog "NOTICE: If you have a tape changer, you need to add the amanda user"
|
||||
elog "to the 'tape' group."
|
||||
elog
|
||||
elog "If you use localhost in your disklist your restores may break."
|
||||
elog "You should replace it with the actual hostname!"
|
||||
elog "Please also see the syntax changes to amandahosts."
|
||||
}
|
||||
|
||||
# We have had reports of amanda file permissions getting screwed up.
|
||||
# Losing setuid, becoming too lax etc.
|
||||
# ONLY root and users in the amanda group should be able to run these binaries!
|
||||
amanda_permissions_fix() {
|
||||
local root="$1"
|
||||
[ -z "${root}" ] && die "Failed to pass root argument to amanda_permissions_fix!"
|
||||
local le="/usr/libexec/amanda"
|
||||
for i in /usr/sbin/amcheck "${le}"/calcsize "${le}"/killpgrp \
|
||||
"${le}"/rundump "${le}"/runtar "${le}"/dumper \
|
||||
"${le}"/planner ; do
|
||||
chown root:${AMANDA_GROUP_NAME} "${root}"/${i}
|
||||
chmod u=srwx,g=rx,o= "${root}"/${i}
|
||||
done
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Amanda Backup System
|
||||
After=local-fs.target
|
||||
|
||||
[Service]
|
||||
User=amanda
|
||||
Group=amanda
|
||||
ExecStart=/usr/libexec/amanda/amandad -auth=bsdtcp amdump amindexd amidxtaped
|
||||
StandardInput=socket
|
||||
StandardOutput=socket
|
@ -1,3 +1,4 @@
|
||||
DIST cdrtools-3.00.tar.bz2 1978563 SHA256 7f9cb64820055573b880f77b2f16662a512518336ba95ab49228a1617973423d SHA512 93887afd6c244814b7f6a623f0ac5b551934626163065a6f32aefe82aa7438450fd7a42737ef3cdaad3f18841c066d25e72e37891531dd0be5be328692712cec WHIRLPOOL a02750131e4ec55df10387a01dab3881afee669cd8b8ea65eaed4fdd82e6bd11040c6d79fc64ccc9377e787f5903ec92ea3ae81db1945554b65a8636737cc931
|
||||
DIST cdrtools-3.01a17.tar.bz2 2061522 SHA256 3d613965b213ad83e4be0ba2535e784901839ea4d11a20a2beb6765f0eb76dfa SHA512 34a0579c536028b030cf828441ad55a705472646bc3a1ae962aad234fbe0b12c2bcb670511487c17086f5ba7643d1b8ae42a4a86bfe2940dc94f9744377daa8b WHIRLPOOL b718d559e0b36a576a42a38f84b3917891450d0bbab47b084eb1e906a396cf28ce47b79fd16565d4e0697311ee0c3d5abdd95b52ba2d7ae4e9f32d9b26bc26e1
|
||||
DIST cdrtools-3.01a18.tar.bz2 2059197 SHA256 7e9ad9e00679bb0c0456455243eb41614a5a3395eebded9371a0c843dd3494d6 SHA512 d9d7e427b9860b387a4b50c5120e564a275ed377cd933836ed68713e004fb5573bfa06640cba62a1c38e6fef2ba34d4384fe2644d64077b05338e005116c07ee WHIRLPOOL fc8dce50b17d176a1c90ad182c8ff49ab1a1cb2e0fc916938d7d3a99b4b4d2b683e7d49278be72596dba98bc2a4b8b4072cb929dee36af60b966d639bd945799
|
||||
DIST cdrtools-3.01a19.tar.bz2 2065394 SHA256 9680547e0be8efa82d2ef542af47b5c0f465bc23fd5d8af27cb0328e4e5ba35e SHA512 88c1b23ce436bb2265bc64bb31b42904d48946ead2bda07a284371f2637e58b837a15dc6731d5f43f33cf9f9edbec7cf386b2b98a9ea4ccb71a3412f78e28981 WHIRLPOOL 5dc9a990cfc19e0148de8fd718ee0e017dd9f25d5ba8996d3b5ed740344abd8d6d8ec0b2ad7b4aebe16b2edefda67e5de1bc6ce5c3679e170f02ad8c263808ef
|
||||
|
@ -0,0 +1,156 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha19.ebuild,v 1.1 2013/11/23 13:01:30 billie Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit fcaps multilib eutils toolchain-funcs flag-o-matic
|
||||
|
||||
MY_P="${P/_alpha/a}"
|
||||
|
||||
DESCRIPTION="A set of tools for CD/DVD reading and recording, including cdrecord"
|
||||
HOMEPAGE="http://cdrecord.berlios.de/private/cdrecord.html"
|
||||
SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha/')/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="acl nls unicode"
|
||||
|
||||
RDEPEND="acl? ( virtual/acl )
|
||||
nls? ( virtual/libintl )
|
||||
!app-cdr/cdrkit"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( >=sys-devel/gettext-0.18.1.1 )"
|
||||
|
||||
S=${WORKDIR}/${P/_alpha[0-9][0-9]}
|
||||
|
||||
FILECAPS=(
|
||||
cap_sys_resource,cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_ipc_lock,cap_sys_rawio+ep usr/bin/cdrecord --
|
||||
cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_sys_rawio+ep usr/bin/cdda2wav --
|
||||
cap_dac_override,cap_sys_admin,cap_net_bind_service,cap_sys_rawio+ep usr/bin/readcd
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# Remove profiled make files.
|
||||
rm -f $(find ./ -name '*_p.mk') || die "rm profiled"
|
||||
|
||||
# Adjusting hardcoded paths.
|
||||
sed -i -e "s|opt/schily|usr|" \
|
||||
$(find ./ -type f -name \*.[0-9ch] -exec grep -l 'opt/schily' '{}' '+') \
|
||||
|| die "sed opt/schily"
|
||||
|
||||
sed -i -e "s|\(^INSDIR=\t\tshare/doc/\)|\1${PF}/|" \
|
||||
$(find ./ -type f -exec grep -l '^INSDIR.\+doc' '{}' '+') \
|
||||
|| die "sed doc"
|
||||
|
||||
# Respect libdir.
|
||||
sed -i -e "s|\(^INSDIR=\t\t\)lib|\1$(get_libdir)|" \
|
||||
$(find ./ -type f -exec grep -l '^INSDIR.\+lib\(/siconv\)\?$' '{}' '+') \
|
||||
|| die "sed multilib"
|
||||
|
||||
# Do not install static libraries.
|
||||
sed -i -e "s|include\t\t.*rules.lib||" \
|
||||
$(find ./ -type f -exec grep -l '^include.\+rules\.lib' '{}' '+') \
|
||||
|| die "sed rules"
|
||||
|
||||
# Respect CC/CXX variables.
|
||||
cd "${S}"/RULES
|
||||
local tcCC=$(tc-getCC)
|
||||
local tcCXX=$(tc-getCXX)
|
||||
sed -i -e "/cc-config.sh/s|\$(C_ARCH:%64=%) \$(CCOM_DEF)|${tcCC} ${tcCC}|" \
|
||||
rules1.top || die "sed rules1.top"
|
||||
sed -i -e "/^CC_COM_DEF=/s|gcc|${tcCC}|" \
|
||||
-e "/^CC++_COM_DEF=/s|g++|${tcCXX}|" \
|
||||
-e "/COPTOPT=/s|-O||" \
|
||||
-e 's|$(GCCOPTOPT)||' \
|
||||
cc-gcc.rul || die "sed cc-gcc.rul"
|
||||
sed -i -e "s|^#\(CONFFLAGS +=\).*|\1\t-cc=${tcCC}|" \
|
||||
rules.cnf || die "sed rules.cnf"
|
||||
|
||||
# Create additional symlinks needed for some archs (armv4l already created)
|
||||
local t
|
||||
for t in armv4tl armv5tel armv7l s390x; do
|
||||
ln -s i586-linux-cc.rul ${t}-linux-cc.rul || die
|
||||
ln -s i586-linux-gcc.rul ${t}-linux-gcc.rul || die
|
||||
done
|
||||
|
||||
# Schily make setup.
|
||||
cd "${S}"/DEFAULTS
|
||||
local os="linux"
|
||||
[[ ${CHOST} == *-darwin* ]] && os="mac-os10"
|
||||
|
||||
sed -i \
|
||||
-e "s|^\(DEFLINKMODE=\).*|\1\tdynamic|" \
|
||||
-e "s|^\(LINUX_INCL_PATH=\).*|\1|" \
|
||||
-e "s|^\(LDPATH=\).*|\1\t\t-L/usr/lib|" \
|
||||
-e "s|^\(RUNPATH=\).*|\1|" \
|
||||
-e "s|^\(INS_BASE=\).*|\1\t${ED}/usr|" \
|
||||
-e "s|^\(INS_RBASE=\).*|\1\t${ED}|" \
|
||||
-e "s|^\(DEFINSGRP=\).*|\1\troot|" \
|
||||
Defaults.${os} || die "sed Schily make setup"
|
||||
}
|
||||
|
||||
# skip obsolete configure script
|
||||
src_configure() { : ; }
|
||||
|
||||
src_compile() {
|
||||
if use unicode; then
|
||||
local flags="$(test-flags -finput-charset=ISO-8859-1 -fexec-charset=UTF-8)"
|
||||
if [[ -n ${flags} ]]; then
|
||||
append-flags ${flags}
|
||||
else
|
||||
ewarn "Your compiler does not support the options required to build"
|
||||
ewarn "cdrtools with unicode in USE. unicode flag will be ignored."
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! use filecaps; then
|
||||
CFLAGS="${CFLAGS} -DNO_LINUX_CAPS"
|
||||
fi
|
||||
|
||||
if ! use acl; then
|
||||
CFLAGS="${CFLAGS} -DNO_ACL"
|
||||
fi
|
||||
|
||||
# If not built with -j1, "sometimes" cdda2wav will not be built.
|
||||
emake -j1 CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" C++OPTX="${CXXFLAGS}" \
|
||||
LDOPTX="${LDFLAGS}" GMAKE_NOWARN="true"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# If not built with -j1, "sometimes" manpages are not installed.
|
||||
emake -j1 CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" C++OPTX="${CXXFLAGS}" \
|
||||
LDOPTX="${LDFLAGS}" GMAKE_NOWARN="true" install
|
||||
|
||||
# These symlinks are for compat with cdrkit.
|
||||
dosym schily /usr/include/scsilib
|
||||
dosym ../scg /usr/include/schily/scg
|
||||
|
||||
dodoc ABOUT Changelog* CONTRIBUTING PORTING README.linux-shm READMEs/README.linux
|
||||
|
||||
cd "${S}"/cdda2wav
|
||||
docinto cdda2wav
|
||||
dodoc Changelog FAQ Frontends HOWTOUSE NEEDED README THANKS TODO
|
||||
|
||||
cd "${S}"/mkisofs
|
||||
docinto mkisofs
|
||||
dodoc ChangeLog* TODO
|
||||
|
||||
# Remove man pages related to the build system
|
||||
rm -rvf "${ED}"/usr/share/man/man5
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fcaps_pkg_postinst
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
einfo
|
||||
einfo "Darwin/OS X use the following device names:"
|
||||
einfo
|
||||
einfo "CD burners: (probably) ./cdrecord dev=IOCompactDiscServices"
|
||||
einfo
|
||||
einfo "DVD burners: (probably) ./cdrecord dev=IODVDServices"
|
||||
einfo
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST Leo-4.10-final.zip 5467948 SHA256 3c27d28e8127094aee9a9dba3d4b5093275e5f35af1b2d3ea1e8b76e5a9f7c7b SHA512 6011b154ff63afa093c7a96b82ac6673875fd45b4f14a1347daf7cd3922f356bf397e39742fa44ad96b4c96bb08c4ecdf1e9930367cf4a5bc3619850fcffa8e5 WHIRLPOOL b9b9e15b9c104bbef257dee2b27ef86f683baff5aae95b2b1f513ecfb1eb7acd5e746220c67ec076f91287259aa4e551352cfeae9618b9e63dc7d2773b9c1049
|
||||
DIST Leo-4.11-final.zip 7282503 SHA256 eb1fd0e07533db4886fd7962a7d7431244b75239fd161395859e20a7e0f6ba62 SHA512 01bd8e433d25d16d3a824fb917da1f974a3a06fa19f25c0686031e03af62bad281fc10a62ac95ef463b0cc0acdb8c566f25b434a28dd12469cc489f4fc60e526 WHIRLPOOL 64c2d229c2a2ad6887739ee94de98c89f09d5fb1f2246fc446b4bb52496d52e412bcdf258fbbe12b85ed17372c2bd4272c246da65234114087fee02d27c7ac2b
|
||||
DIST Leo-4.8-final.zip 7278776 SHA256 50610e78c92f89e3deafb886f1aebbae127af314a9be4e1266a0e1cc76f979e0 SHA512 be48ec2d0de0aa62ea20bfa7be6887995ae1d51c8223157058023c33cf3a59b99576c25af869f2c91a41b35329850a0d264c20c6ed9c4453aab0ec86a45fd0e7 WHIRLPOOL c49db02115f5fde6ded2b4ef549223ebaec2760275c9d2bfd361978c8f69b77214686ecd3577eb837df07b79a2f603dad67b6c27b5334c13be3027e028ce1d1f
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/leo/leo-4.11.ebuild,v 1.1 2013/11/22 08:17:41 patrick Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
PYTHON_USE_WITH="tk"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-pypy-* *-jython"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
MY_P="Leo-${PV}-final"
|
||||
|
||||
DESCRIPTION="Leo: Literate Editor with Outlines"
|
||||
HOMEPAGE="http://leo.sourceforge.net/ http://pypi.python.org/pypi/leo"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-text/silvercity
|
||||
dev-python/PyQt4[X]"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
dohtml -r leo/doc/html/* || die "dohtml failed"
|
||||
}
|
@ -1,12 +1,12 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-cpplibs/emul-linux-x86-cpplibs-20131008.ebuild,v 1.1 2013/10/08 20:56:21 pacho Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-cpplibs/emul-linux-x86-cpplibs-20131008.ebuild,v 1.2 2013/11/22 19:28:52 pacho Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit emul-linux-x86
|
||||
|
||||
LICENSE="Boost-1.0 LGPL-2.1"
|
||||
KEYWORDS="-* ~amd64"
|
||||
KEYWORDS="-* amd64"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="~app-emulation/emul-linux-x86-baselibs-${PV}"
|
||||
|
@ -1,12 +1,12 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-db/emul-linux-x86-db-20131008.ebuild,v 1.1 2013/10/08 20:57:18 pacho Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-db/emul-linux-x86-db-20131008.ebuild,v 1.2 2013/11/22 19:29:19 pacho Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit emul-linux-x86
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
KEYWORDS="-* ~amd64"
|
||||
KEYWORDS="-* amd64"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="~app-emulation/emul-linux-x86-baselibs-${PV}"
|
||||
|
@ -1,12 +1,12 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-jna/emul-linux-x86-jna-20131008.ebuild,v 1.1 2013/10/08 21:02:12 pacho Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-jna/emul-linux-x86-jna-20131008.ebuild,v 1.2 2013/11/22 19:31:50 pacho Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit emul-linux-x86
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
KEYWORDS="-* ~amd64"
|
||||
KEYWORDS="-* amd64"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="~app-emulation/emul-linux-x86-baselibs-${PV}"
|
||||
|
@ -0,0 +1,113 @@
|
||||
diff --git a/vmmon-only/linux/driver.c b/vmmon-only/linux/driver.c
|
||||
index b21dd44..960c2aa 100644
|
||||
--- a/vmmon-only/linux/driver.c
|
||||
+++ b/vmmon-only/linux/driver.c
|
||||
@@ -178,7 +178,22 @@ static struct vm_operations_struct vmuser_mops = {
|
||||
#endif
|
||||
};
|
||||
|
||||
-static struct file_operations vmuser_fops;
|
||||
+static struct file_operations vmuser_fops = {
|
||||
+ .owner = THIS_MODULE,
|
||||
+ .poll = LinuxDriverPoll,
|
||||
+#ifdef HAVE_UNLOCKED_IOCTL
|
||||
+ .unlocked_ioctl = LinuxDriver_UnlockedIoctl,
|
||||
+#else
|
||||
+ .ioctl = LinuxDriver_Ioctl,
|
||||
+#endif
|
||||
+#ifdef HAVE_COMPAT_IOCTL
|
||||
+ .compat_ioctl = LinuxDriver_UnlockedIoctl,
|
||||
+#endif
|
||||
+ .open = LinuxDriver_Open,
|
||||
+ .release = LinuxDriver_Close,
|
||||
+ .mmap = LinuxDriverMmap
|
||||
+};
|
||||
+
|
||||
static struct timer_list tscTimer;
|
||||
|
||||
/*
|
||||
@@ -357,27 +372,6 @@ init_module(void)
|
||||
spin_lock_init(&linuxState.pollListLock);
|
||||
#endif
|
||||
|
||||
- /*
|
||||
- * Initialize the file_operations structure. Because this code is always
|
||||
- * compiled as a module, this is fine to do it here and not in a static
|
||||
- * initializer.
|
||||
- */
|
||||
-
|
||||
- memset(&vmuser_fops, 0, sizeof vmuser_fops);
|
||||
- vmuser_fops.owner = THIS_MODULE;
|
||||
- vmuser_fops.poll = LinuxDriverPoll;
|
||||
-#ifdef HAVE_UNLOCKED_IOCTL
|
||||
- vmuser_fops.unlocked_ioctl = LinuxDriver_UnlockedIoctl;
|
||||
-#else
|
||||
- vmuser_fops.ioctl = LinuxDriver_Ioctl;
|
||||
-#endif
|
||||
-#ifdef HAVE_COMPAT_IOCTL
|
||||
- vmuser_fops.compat_ioctl = LinuxDriver_UnlockedIoctl;
|
||||
-#endif
|
||||
- vmuser_fops.open = LinuxDriver_Open;
|
||||
- vmuser_fops.release = LinuxDriver_Close;
|
||||
- vmuser_fops.mmap = LinuxDriverMmap;
|
||||
-
|
||||
#ifdef VMX86_DEVEL
|
||||
devel_init_module();
|
||||
linuxState.minor = 0;
|
||||
diff --git a/vmnet-only/driver.c b/vmnet-only/driver.c
|
||||
index b12b982..40bd4cf 100644
|
||||
--- a/vmnet-only/driver.c
|
||||
+++ b/vmnet-only/driver.c
|
||||
@@ -165,7 +165,22 @@ static long VNetFileOpUnlockedIoctl(struct file * filp,
|
||||
unsigned int iocmd, unsigned long ioarg);
|
||||
#endif
|
||||
|
||||
-static struct file_operations vnetFileOps;
|
||||
+static struct file_operations vnetFileOps = {
|
||||
+ .owner = THIS_MODULE,
|
||||
+ .read = VNetFileOpRead,
|
||||
+ .write = VNetFileOpWrite,
|
||||
+ .poll = VNetFileOpPoll,
|
||||
+#ifdef HAVE_UNLOCKED_IOCTL
|
||||
+ .unlocked_ioctl = VNetFileOpUnlockedIoctl,
|
||||
+#else
|
||||
+ .ioctl = VNetFileOpIoctl,
|
||||
+#endif
|
||||
+#ifdef HAVE_COMPAT_IOCTL
|
||||
+ .compat_ioctl = VNetFileOpUnlockedIoctl,
|
||||
+#endif
|
||||
+ .open = VNetFileOpOpen,
|
||||
+ .release = VNetFileOpClose
|
||||
+};
|
||||
|
||||
/*
|
||||
* Utility functions
|
||||
@@ -476,28 +491,6 @@ init_module(void)
|
||||
goto err_proto;
|
||||
}
|
||||
|
||||
- /*
|
||||
- * Initialize the file_operations structure. Because this code is always
|
||||
- * compiled as a module, this is fine to do it here and not in a static
|
||||
- * initializer.
|
||||
- */
|
||||
-
|
||||
- memset(&vnetFileOps, 0, sizeof vnetFileOps);
|
||||
- vnetFileOps.owner = THIS_MODULE;
|
||||
- vnetFileOps.read = VNetFileOpRead;
|
||||
- vnetFileOps.write = VNetFileOpWrite;
|
||||
- vnetFileOps.poll = VNetFileOpPoll;
|
||||
-#ifdef HAVE_UNLOCKED_IOCTL
|
||||
- vnetFileOps.unlocked_ioctl = VNetFileOpUnlockedIoctl;
|
||||
-#else
|
||||
- vnetFileOps.ioctl = VNetFileOpIoctl;
|
||||
-#endif
|
||||
-#ifdef HAVE_COMPAT_IOCTL
|
||||
- vnetFileOps.compat_ioctl = VNetFileOpUnlockedIoctl;
|
||||
-#endif
|
||||
- vnetFileOps.open = VNetFileOpOpen;
|
||||
- vnetFileOps.release = VNetFileOpClose;
|
||||
-
|
||||
retval = register_chrdev(VNET_MAJOR_NUMBER, "vmnet", &vnetFileOps);
|
||||
if (retval) {
|
||||
LOG(0, (KERN_NOTICE "/dev/vmnet: could not register major device %d\n",
|
@ -0,0 +1,56 @@
|
||||
nested VMX: VMLANUCH/VMRESUME emulation must check permission first thing
|
||||
|
||||
Otherwise uninitialized data may be used, leading to crashes.
|
||||
|
||||
This is XSA-75.
|
||||
|
||||
Reported-and-tested-by: Jeff Zimmerman <Jeff_Zimmerman@McAfee.com>
|
||||
Signed-off-by: Jan Beulich <jbeulich@suse.com>
|
||||
Reviewed-and-tested-by: Andrew Cooper <andrew.cooper3@citrix.com>
|
||||
|
||||
--- a/xen/arch/x86/hvm/vmx/vvmx.c
|
||||
+++ b/xen/arch/x86/hvm/vmx/vvmx.c
|
||||
@@ -1509,15 +1509,10 @@ static void clear_vvmcs_launched(struct
|
||||
}
|
||||
}
|
||||
|
||||
-int nvmx_vmresume(struct vcpu *v, struct cpu_user_regs *regs)
|
||||
+static int nvmx_vmresume(struct vcpu *v, struct cpu_user_regs *regs)
|
||||
{
|
||||
struct nestedvmx *nvmx = &vcpu_2_nvmx(v);
|
||||
struct nestedvcpu *nvcpu = &vcpu_nestedhvm(v);
|
||||
- int rc;
|
||||
-
|
||||
- rc = vmx_inst_check_privilege(regs, 0);
|
||||
- if ( rc != X86EMUL_OKAY )
|
||||
- return rc;
|
||||
|
||||
/* check VMCS is valid and IO BITMAP is set */
|
||||
if ( (nvcpu->nv_vvmcxaddr != VMCX_EADDR) &&
|
||||
@@ -1536,6 +1531,10 @@ int nvmx_handle_vmresume(struct cpu_user
|
||||
struct vcpu *v = current;
|
||||
struct nestedvcpu *nvcpu = &vcpu_nestedhvm(v);
|
||||
struct nestedvmx *nvmx = &vcpu_2_nvmx(v);
|
||||
+ int rc = vmx_inst_check_privilege(regs, 0);
|
||||
+
|
||||
+ if ( rc != X86EMUL_OKAY )
|
||||
+ return rc;
|
||||
|
||||
if ( vcpu_nestedhvm(v).nv_vvmcxaddr == VMCX_EADDR )
|
||||
{
|
||||
@@ -1555,10 +1554,13 @@ int nvmx_handle_vmresume(struct cpu_user
|
||||
int nvmx_handle_vmlaunch(struct cpu_user_regs *regs)
|
||||
{
|
||||
bool_t launched;
|
||||
- int rc;
|
||||
struct vcpu *v = current;
|
||||
struct nestedvcpu *nvcpu = &vcpu_nestedhvm(v);
|
||||
struct nestedvmx *nvmx = &vcpu_2_nvmx(v);
|
||||
+ int rc = vmx_inst_check_privilege(regs, 0);
|
||||
+
|
||||
+ if ( rc != X86EMUL_OKAY )
|
||||
+ return rc;
|
||||
|
||||
if ( vcpu_nestedhvm(v).nv_vvmcxaddr == VMCX_EADDR )
|
||||
{
|
||||
|
@ -0,0 +1,23 @@
|
||||
http://seclists.org/oss-sec/2013/q4/att-322/xsa78.patch
|
||||
VT-d: fix TLB flushing in dma_pte_clear_one()
|
||||
|
||||
The third parameter of __intel_iommu_iotlb_flush() is to indicate
|
||||
whether the to be flushed entry was a present one. A few lines before,
|
||||
we bailed if !dma_pte_present(*pte), so there's no need to check the
|
||||
flag here again - we can simply always pass TRUE here.
|
||||
|
||||
This is XSA-78.
|
||||
|
||||
Suggested-by: Cheng Yueqiang <yqcheng.2008@phdis.smu.edu.sg>
|
||||
Signed-off-by: Jan Beulich <jbeulich@suse.com>
|
||||
|
||||
--- a/xen/drivers/passthrough/vtd/iommu.c
|
||||
+++ b/xen/drivers/passthrough/vtd/iommu.c
|
||||
@@ -646,7 +646,7 @@ static void dma_pte_clear_one(struct dom
|
||||
iommu_flush_cache_entry(pte, sizeof(struct dma_pte));
|
||||
|
||||
if ( !this_cpu(iommu_dont_flush_iotlb) )
|
||||
- __intel_iommu_iotlb_flush(domain, addr >> PAGE_SHIFT_4K , 0, 1);
|
||||
+ __intel_iommu_iotlb_flush(domain, addr >> PAGE_SHIFT_4K, 1, 1);
|
||||
|
||||
unmap_vtd_domain_page(page);
|
@ -1,135 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.3.0-r1.ebuild,v 1.1 2013/10/02 17:22:28 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
REPO="xen-unstable.hg"
|
||||
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
|
||||
S="${WORKDIR}/${REPO}"
|
||||
live_eclass="mercurial"
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz"
|
||||
fi
|
||||
|
||||
inherit mount-boot flag-o-matic python-any-r1 toolchain-funcs eutils ${live_eclass}
|
||||
|
||||
DESCRIPTION="The Xen virtual machine monitor"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="custom-cflags debug efi flask pae xsm"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
efi? ( >=sys-devel/binutils-2.22[multitarget] )
|
||||
!efi? ( >=sys-devel/binutils-2.22[-multitarget] )"
|
||||
RDEPEND=""
|
||||
PDEPEND="~app-emulation/xen-tools-${PV}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="boot/xen-syms-${PV}"
|
||||
|
||||
REQUIRED_USE="flask? ( xsm )"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]]; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use flask ; then
|
||||
export "XSM_ENABLE=y"
|
||||
export "FLASK_ENABLE=y"
|
||||
elif use xsm ; then
|
||||
export "XSM_ENABLE=y"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Drop .config and fix gcc-4.6
|
||||
epatch "${FILESDIR}"/${PN/-pvgrub/}-4.3-fix_dotconfig-gcc.patch
|
||||
|
||||
if use efi; then
|
||||
epatch "${FILESDIR}"/${PN}-4.2-efi.patch
|
||||
export EFI_VENDOR="gentoo"
|
||||
export EFI_MOUNTPOINT="boot"
|
||||
fi
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
# try and remove all the default custom-cflags
|
||||
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} \; || die "failed to re-set custom-cflags"
|
||||
fi
|
||||
|
||||
# not strictly necessary to fix this
|
||||
sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to re-set setup.py"
|
||||
|
||||
#Security patches
|
||||
epatch "${FILESDIR}"/${PN}-CVE-2013-1442-XSA-62.patch \
|
||||
"${FILESDIR}"/${PN}-CVE-2013-4355-XSA-63.patch \
|
||||
"${FILESDIR}"/${PN}-CVE-2013-4356-XSA-64.patch \
|
||||
"${FILESDIR}"/${PN}-CVE-2013-4361-XSA-66.patch
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
use pae && myopt="${myopt} pae=y"
|
||||
|
||||
if use custom-cflags; then
|
||||
filter-flags -fPIE -fstack-protector
|
||||
replace-flags -O3 -O2
|
||||
else
|
||||
unset CFLAGS
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Send raw LDFLAGS so that --as-needed works
|
||||
emake CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
use pae && myopt="${myopt} pae=y"
|
||||
|
||||
# The 'make install' doesn't 'mkdir -p' the subdirs
|
||||
if use efi; then
|
||||
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
|
||||
fi
|
||||
|
||||
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the unoffical wiki page:"
|
||||
elog " http://www.gentoo.org/doc/en/xen-guide.xml"
|
||||
elog " http://en.gentoo-wiki.com/wiki/Xen/"
|
||||
|
||||
use pae && ewarn "This is a PAE build of Xen. It will *only* boot PAE kernels!"
|
||||
use efi && einfo "The efi executable is installed in boot/efi/gentoo"
|
||||
}
|
@ -1,131 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.3.0.ebuild,v 1.2 2013/07/28 09:13:36 jcallen Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
REPO="xen-unstable.hg"
|
||||
EHG_REPO_URI="http://xenbits.xensource.com/${REPO}"
|
||||
S="${WORKDIR}/${REPO}"
|
||||
live_eclass="mercurial"
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz"
|
||||
fi
|
||||
|
||||
inherit mount-boot flag-o-matic python-any-r1 toolchain-funcs eutils ${live_eclass}
|
||||
|
||||
DESCRIPTION="The Xen virtual machine monitor"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="custom-cflags debug efi flask pae xsm"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
efi? ( >=sys-devel/binutils-2.22[multitarget] )
|
||||
!efi? ( >=sys-devel/binutils-2.22[-multitarget] )"
|
||||
RDEPEND=""
|
||||
PDEPEND="~app-emulation/xen-tools-${PV}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="boot/xen-syms-${PV}"
|
||||
|
||||
REQUIRED_USE="flask? ( xsm )"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]]; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use flask ; then
|
||||
export "XSM_ENABLE=y"
|
||||
export "FLASK_ENABLE=y"
|
||||
elif use xsm ; then
|
||||
export "XSM_ENABLE=y"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Drop .config and fix gcc-4.6
|
||||
epatch "${FILESDIR}"/${PN/-pvgrub/}-4.3-fix_dotconfig-gcc.patch
|
||||
|
||||
if use efi; then
|
||||
epatch "${FILESDIR}"/${PN}-4.2-efi.patch
|
||||
export EFI_VENDOR="gentoo"
|
||||
export EFI_MOUNTPOINT="boot"
|
||||
fi
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
# try and remove all the default custom-cflags
|
||||
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} \; || die "failed to re-set custom-cflags"
|
||||
fi
|
||||
|
||||
# not strictly necessary to fix this
|
||||
sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to re-set setup.py"
|
||||
|
||||
#Security patches
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
use pae && myopt="${myopt} pae=y"
|
||||
|
||||
if use custom-cflags; then
|
||||
filter-flags -fPIE -fstack-protector
|
||||
replace-flags -O3 -O2
|
||||
else
|
||||
unset CFLAGS
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Send raw LDFLAGS so that --as-needed works
|
||||
emake CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
use pae && myopt="${myopt} pae=y"
|
||||
|
||||
# The 'make install' doesn't 'mkdir -p' the subdirs
|
||||
if use efi; then
|
||||
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
|
||||
fi
|
||||
|
||||
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the unoffical wiki page:"
|
||||
elog " http://www.gentoo.org/doc/en/xen-guide.xml"
|
||||
elog " http://en.gentoo-wiki.com/wiki/Xen/"
|
||||
|
||||
use pae && ewarn "This is a PAE build of Xen. It will *only* boot PAE kernels!"
|
||||
use efi && einfo "The efi executable is installed in boot/efi/gentoo"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST screenfetch-2.7.7.zip 41420 SHA256 c50322375929c78b13afc5fd4e62259087db3988283109ddcf60e98194f3adc8 SHA512 b783c05fc385d176e8d4e06c647c86ceef0ec465ddaa7ceab4116dc844e6a3a4cb10a706aef62ed4c0e1893942be4761dc1962e99d45b528742372415bd17b10 WHIRLPOOL ab863a39d5610ca86302cdbedbb83c4a4da6909093c0a6b7e43d92c1a5f1bf86a34f2ce316ab6168fa6097d478b4838160758a8ce0de9c0404ed538461f868c3
|
||||
DIST screenfetch-2.9.0.zip 44898 SHA256 c7bf20ee9173fbe44a67bde905bdb42fab21fd44236228b968a8b281a9200193 SHA512 bd1504064a8dbe308eb09582fb840a28a6fbfbb08287b25ef11e57850b900e14c315679996050c4ac7c1a721d62a511b49a366a48e7cbcc6e85cd51c95fae8df WHIRLPOOL 82e5917faefa5e825d3078ab727c17e9dd9205eb0c1303724e0179e34fe26d1ba6fdcad05e8291762fc184cf1cc014aceefbefeba0cba19e17bd018de5373428
|
||||
DIST screenfetch-3.0.5.tar.gz 43444 SHA256 2fbc11103e6a37da92e13167886a3dc13b6d7ea50fad1f483a8241c9c31d0739 SHA512 1edb711ada8314de4b20f8743d0cc4d1be62288ef369f03d9086c44da4aa0ebe0740cc044cebff81c6db3286540a7d25c236a9afad1c9acfac5b120a60abc987 WHIRLPOOL 39968157f1c8d5ffc6af08c6eaabb3df51f04c82635dfed1b111aae83edd0d65b6a05e78fd43bdae36f48929caf9ac153eef3d78eed84e623bd864d465432223
|
||||
DIST screenfetch-3.2.2.tar.gz 46668 SHA256 6f30cc06b1f19cbeffc211afdf4c754c1e77b5e35965240ea77b032bb2e32bd4 SHA512 f8ddfcebe69919c9163c2377de8dfb28f15c9dd59c43d73245591b2ba6c41123c6c8130b673d87e6068850fca3b277f93bbb626e228266ea0c87be5856e823da WHIRLPOOL 7514eafaa7fb1df51a8beb5720f771217b32b902ca4e4433cfbe0f058dc11ccd82529b7622a1686878ad2e983063cfeaed0c9302b47f335a1dc4e5cb628568e4
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/screenfetch/screenfetch-3.2.2.ebuild,v 1.1 2013/11/23 13:22:07 hwoarang Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN="${PN/f/F}"
|
||||
DESCRIPTION="A Bash Screenshot Information Tool"
|
||||
HOMEPAGE="https://github.com/KittyKatt/screenFetch"
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="https://github.com/KittyKatt/screenFetch"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/KittyKatt/${MY_PN}/archive/v${PV}.tar.gz -> \
|
||||
${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="media-gfx/scrot
|
||||
x11-apps/xdpyinfo"
|
||||
|
||||
src_install() {
|
||||
newbin ${PN}-dev ${PN}
|
||||
dodoc CHANGELOG README.mkdn TODO
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST tracker-0.16.2.tar.xz 5984656 SHA256 033394636835628e01eb90efb55883fd88ec581910915b5948081f8f41df7409 SHA512 e43b219aa42a48f123d58dcbc4e4f54fa3e75ea17726337a7b380dfd048c4301a5ec12ad672c7a84f611206771b471337d9bb33c5bffa70c9b0d3303e3829dd4 WHIRLPOOL bd13451ebac1520a94ad22d3de0961c7c7795280f76efc4a26ae883c0dad49462fc1a7f3e207c514f2d302d6b0b511d85d3a02b6bc501cd5a80434a8649c9abf
|
||||
DIST tracker-0.16.3.tar.xz 5995068 SHA256 c5299cbfb2b33f62f06afeb2ebca5b7095b77438fc6c8db6a24dc2ef649537ba SHA512 621cc79b705ba1d6ccf3a3206e41049bd3b9f066f1e1f090b0d046014ec5d652267d3536da5bd5f3a66ce0ed484f8432043e7b053c6665687b4cf1ae76e04325 WHIRLPOOL 67950e435901105ea97f82b99219362d596908e3c1143caf195323322def9814996a388ac7ee12fadeec3ee7f04255575b9cf0fdf6c246fd3f8d11f46af51c7a
|
||||
DIST tracker-0.16.4.tar.xz 5745592 SHA256 9c2f50839c2b8b352ab9a022597ef985c1900e6286c0c3bcb7a64da39dbb3580 SHA512 82cc63f5a89e70e5d7d3c306005c9119b7f52a244cc453b789f19f56ec4858fd4c02421e07ab392dc1198b3352e99022986dfff043f9b4757e59723c038ffda0 WHIRLPOOL 07ec3cb39f619b930fba194c8cb5843786d9b0afa0d759498f72b35305ad06e1b9aba53fee64dad73186d74b7207c80ffa892adc9b5b350a108d882eaead9d9a
|
||||
|
@ -1 +1,2 @@
|
||||
DIST push-1.5.tar.gz 1971 SHA256 7c9068a619bcc49e3e13f819e23e1c05464729df0529753557f23f65e922fdad SHA512 77f4afd1a8226b0b4104008fcea2a61e5c9a7930b08266e069c387c806ef86e8d5641d70ece6dfd02557c956fc916134551d10777e5730973657d767370f8a26 WHIRLPOOL e1d71d7d9369bf23fe9046a34f7c9cd4f7ff79b4db3e13a9cef089113e31f7db2ecb6ff13e899e1db7726359b68260776723f73201d3db0472d267b8db7515b2
|
||||
DIST push-1.6.tar.gz 1955 SHA256 713dea172ede55971ff82da932782503c2aa6703eba73c1ac317ec4c8eb22e80 SHA512 4623f51249138bacb7251fb5d5d1ae8dd070de7ce628e42b6eed90a4b6ffd36d28eb58b116f5b1833bc1affa8db539da9b94d104ffe03c6bd1e294b56c393c86 WHIRLPOOL 787f65542e92fd10c411969d03ec17b45a90b35e9c8e17b9fb3e732fb1d97813f04c3a03cc329a469a5bea2a194f879f4c600e2e534dd8c778f7f712d4c171b1
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/push/push-1.5-r1.ebuild,v 1.1 2013/11/22 15:05:27 axs Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit vcs-snapshot
|
||||
|
||||
DESCRIPTION="A POSIX shell function to treat a variable like an array, quoting args."
|
||||
HOMEPAGE="https://github.com/vaeth/push/"
|
||||
SRC_URI="http://github.com/vaeth/${PN}/tarball/${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
insinto /usr/bin
|
||||
doins push.sh
|
||||
dodoc README
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/push/push-1.6.ebuild,v 1.1 2013/11/23 03:10:03 axs Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit vcs-snapshot
|
||||
|
||||
DESCRIPTION="A POSIX shell function to treat a variable like an array, quoting args."
|
||||
HOMEPAGE="https://github.com/vaeth/push/"
|
||||
SRC_URI="http://github.com/vaeth/${PN}/tarball/${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
insinto /usr/bin
|
||||
doins push.sh
|
||||
dodoc README
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>shell-tools</herd>
|
||||
<herd>shell-tools</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>shell-tools</herd>
|
||||
<herd>shell-tools</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST simgear-2.10.0.tar.bz2 879537 SHA256 582c0d547a58f7dbe841a0ba9eba5a894aae2b65f14ef06361e196b12022615d SHA512 4f994f699b8e06c432e51fcd9b7e15b8d143f6e244b14a6271fab02efd70199fd396aab42ed5fcf05c2c7c8d29bdd0f61f15486a48ea09a13b4924941eb20b56 WHIRLPOOL 4f7e41ca7fc5fd5a0c4428c156defaae495c93c319b14df555ae7e24dd33f6160ed652569155c099d31f0f58b53b02b3437d6522c610e8f88ba4f0ce487c5d17
|
||||
DIST simgear-2.12.0.tar.bz2 961978 SHA256 8e90c4b2f72f6459c6f5125bcd1f16b5d4604af1ff404ab436a966349d32f46a SHA512 698c2f875abf918013340f99e485170ff6c8d8b75e159f257f2c028986d2fb91d49121aec332fb04de3d7f8fd4d0cbcc961c708dd02f67d771d1ec54baeed9ab WHIRLPOOL 0ce1e44888fc2c236d811b949b0cad7c5f5e7ced3ac6500b78bfa308458ef2c6231e1901da3cc62c2617bccbc4baa5f72e278e34b743b436233e49c82991178f
|
||||
DIST simgear-2.8.0.tar.bz2 766340 SHA256 24758b0d59ba6d03659398c19145d92c2179174040f42739fc2f9c03c0bf90f7 SHA512 ead06fd394b10a7ae3c98422cc469b3c97450162f6994c40c7cb4818f88e0d25cf0b5dc9c39a10e2b9c0fd849dd322451df93e4febcbacf2fc23fe1860917064 WHIRLPOOL 77b0f59478c4c89a3ea02c48a97312b91df8ab9410cdc75bdbd516c2497f2e9941caf689c3115b2ccfb3419ef2cbdad7b2025d59fd1318b112b8a09bf6d5cd34
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-games/simgear/simgear-2.12.0.ebuild,v 1.1 2013/11/23 02:18:37 reavertm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils cmake-utils
|
||||
|
||||
DESCRIPTION="Development library for simulation games"
|
||||
HOMEPAGE="http://www.simgear.org/"
|
||||
SRC_URI="http://mirrors.ibiblio.org/pub/mirrors/simgear/ftp/Source/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
SLOT="0"
|
||||
IUSE="debug jpeg subversion test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-libs/expat
|
||||
>=dev-games/openscenegraph-3.0.1
|
||||
media-libs/openal
|
||||
sys-libs/zlib
|
||||
virtual/opengl
|
||||
jpeg? ( virtual/jpeg )
|
||||
subversion? (
|
||||
dev-libs/apr
|
||||
dev-vcs/subversion
|
||||
)
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-libs/boost-1.44
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
DOCS=(AUTHORS ChangeLog NEWS README Thanks)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_RTI=OFF
|
||||
-DENABLE_SOUND=ON
|
||||
-DSIMGEAR_HEADLESS=OFF
|
||||
-DSIMGEAR_SHARED=ON
|
||||
-DSYSTEM_EXPAT=ON
|
||||
$(cmake-utils_use jpeg JPEG_FACTORY)
|
||||
$(cmake-utils_use_enable subversion LIBSVN)
|
||||
$(cmake-utils_use_enable test TESTS)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,10 +1,14 @@
|
||||
DIST ruby-1.8.7-p374.tar.bz2 4250351 SHA256 b4e34703137f7bfb8761c4ea474f7438d6ccf440b3d35f39cc5e4d4e239c07e3 SHA512 c6859aec9a796c71bb30c18236bd5548826655b08312181376b8dae4a006575f711065f15a002329c5e62c1e1ee44bb86723138abb3b658c8958920f13a5adea WHIRLPOOL 391ffdb5b3a8c2d4b6c250b2b742bfef94fecfcc9755a823c9b55ddb0edadf8a5067603801b1eebce33423beaafc43ec291ea199b1cfd55c8018949b7162539b
|
||||
DIST ruby-1.9.3-p448.tar.bz2 10052488 SHA256 a7372230357bfff8e4525fb8019046da521561fe66b02c25d8efc10c9877bc91 SHA512 d973cf712a0002bf2eba5d19bf2191195ceecf56339026babba53b7b0cacbd8264b8236be92bdb8e7e7fb26e2b8693f8c7c2aa098065ca172c56a602c5771461 WHIRLPOOL 8ee50c811aac11c9b1b7e64bcd8c90af94b9cc84082bb4303fd001943b1b0b2ff26ff431d52fb3e1b996bcb68ca670f426c771902c3541b4a62cd60ae272e387
|
||||
DIST ruby-1.9.3-p484.tar.bz2 10041514 SHA256 0fdc6e860d0023ba7b94c7a0cf1f7d32908b65b526246de9dfd5bb39d0d7922b SHA512 2c3ef8b6022027d444bd709b1a5db96a7a692e2e3aa895df4fceae101f9689a31f02583703bb0483d80659bbd4555fbb4b9b57ceb2351508fab8cd10ff28f14d WHIRLPOOL 1b1174e012bff8d047db2da654dcf535486bfd1593b8e2f6fc888603c8ed6b41bd72625ff4eeaaa645ae01a81f7edbf62f0345b61eeda02d73743572af3f6b85
|
||||
DIST ruby-2.0.0-p247.tar.bz2 10804581 SHA256 08e3d4b85b8a1118a8e81261f59dd8b4ddcfd70b6ae554e0ec5ceb99c3185e8a SHA512 9bd793d0df8f0704fb1521a937c09ecc89b777851312793f0b3391df11dec8239808585697b932c4a94665fa29c7781503166dbd109f269811788c4c648f285f WHIRLPOOL 59eb0a5d71125b63226435d825f5793fd9ff7f065851b902ee45f974fdaf5f5498d12b07d8e20e668a1e4636dbc8f34d025f8713bd98e3c565327484e484a863
|
||||
DIST ruby-2.0.0-p353.tar.bz2 10730412 SHA256 3de4e4d9aff4682fa4f8ed2b70bd0d746fae17452fc3d3a8e8f505ead9105ad9 SHA512 52aa64c5991e61cc49c2062672554353bc88ab563da93a1d1591257153c2f6d8de02417a33d7a585eb0102f1079a993e46671fb6c97c62eac8615de567b575f2 WHIRLPOOL 8d3b616838290095ab389d32caa48941e9146676730975f2868d42cf43dd5f6ff6a26bb6ca1499a164a5c743e4f5c3ad122c1bed18556d85da98b821d66caf89
|
||||
DIST ruby-patches-1.8.7_p374-r1.tar.bz2 1751 SHA256 aac510388694255db850d7773d75e37b0d6ceefcb36786c61870f318d831be42 SHA512 21b3b6c8c91337414d68a30faf1f800854fa627c3b7078a42920b55a4c9c8af25997657ad5165a98096b14816f422bc88b0bbbb7735eeda6d5782c87ae9ff9cf WHIRLPOOL 8418d37166ddcb45c31c95cbddf957153d1c601ed33e6d23aa1fc9dd4328f3daa9a8b0fbb16720b2cab7f6ca0cf1c81cde99929339a53830e1168779645fe5c7
|
||||
DIST ruby-patches-1.8.7_p374.tar.bz2 1751 SHA256 aac510388694255db850d7773d75e37b0d6ceefcb36786c61870f318d831be42 SHA512 21b3b6c8c91337414d68a30faf1f800854fa627c3b7078a42920b55a4c9c8af25997657ad5165a98096b14816f422bc88b0bbbb7735eeda6d5782c87ae9ff9cf WHIRLPOOL 8418d37166ddcb45c31c95cbddf957153d1c601ed33e6d23aa1fc9dd4328f3daa9a8b0fbb16720b2cab7f6ca0cf1c81cde99929339a53830e1168779645fe5c7
|
||||
DIST ruby-patches-1.9.3_p448-r1.tar.bz2 2154 SHA256 c1c40f2b1f186a05774fd15c3566d722a5ab1af5b93a7c73f2d3c247d604fd73 SHA512 fdb07393439dfcc97e5d4ecd12059ef69983b23588079e1292cec1c93544524a67265e4f61f75d20ac540ee9f9ace730a584462f94bea4919124a3264e6f0ae1 WHIRLPOOL 422b7bfcbdb564fd89ae9536c15d78442ad5597c7728f84f2523a751a862807a92a77779cfdd42fcdd20569726f401e391e33c1666b0455432ddff228ea674fc
|
||||
DIST ruby-patches-1.9.3_p448.tar.bz2 2154 SHA256 c1c40f2b1f186a05774fd15c3566d722a5ab1af5b93a7c73f2d3c247d604fd73 SHA512 fdb07393439dfcc97e5d4ecd12059ef69983b23588079e1292cec1c93544524a67265e4f61f75d20ac540ee9f9ace730a584462f94bea4919124a3264e6f0ae1 WHIRLPOOL 422b7bfcbdb564fd89ae9536c15d78442ad5597c7728f84f2523a751a862807a92a77779cfdd42fcdd20569726f401e391e33c1666b0455432ddff228ea674fc
|
||||
DIST ruby-patches-1.9.3_p484.tar.bz2 2154 SHA256 c1c40f2b1f186a05774fd15c3566d722a5ab1af5b93a7c73f2d3c247d604fd73 SHA512 fdb07393439dfcc97e5d4ecd12059ef69983b23588079e1292cec1c93544524a67265e4f61f75d20ac540ee9f9ace730a584462f94bea4919124a3264e6f0ae1 WHIRLPOOL 422b7bfcbdb564fd89ae9536c15d78442ad5597c7728f84f2523a751a862807a92a77779cfdd42fcdd20569726f401e391e33c1666b0455432ddff228ea674fc
|
||||
DIST ruby-patches-2.0.0_p247-r1.tar.bz2 1929 SHA256 4feee409319dbcac7525fb9c1c76c36888a62ee0623c117ae532bf765845f0f9 SHA512 95cf20e26e43a1515843d74c558e3344ae33b7383362c1742a115c1b3e6d09e1ed947df8ab7fee6275e96c920bd0ef880647da70165ddccd40d0995ff43aae64 WHIRLPOOL 869055dd0e14af0dc285a11d95a891ab4686e1d16960d46728ddf680eee58d42570f64d058b88d30805b732b082c354a36dac5a816a7ce5f3034d1b22237aa5a
|
||||
DIST ruby-patches-2.0.0_p247-r2.tar.bz2 1929 SHA256 4feee409319dbcac7525fb9c1c76c36888a62ee0623c117ae532bf765845f0f9 SHA512 95cf20e26e43a1515843d74c558e3344ae33b7383362c1742a115c1b3e6d09e1ed947df8ab7fee6275e96c920bd0ef880647da70165ddccd40d0995ff43aae64 WHIRLPOOL 869055dd0e14af0dc285a11d95a891ab4686e1d16960d46728ddf680eee58d42570f64d058b88d30805b732b082c354a36dac5a816a7ce5f3034d1b22237aa5a
|
||||
DIST ruby-patches-2.0.0_p247.tar.bz2 1929 SHA256 4feee409319dbcac7525fb9c1c76c36888a62ee0623c117ae532bf765845f0f9 SHA512 95cf20e26e43a1515843d74c558e3344ae33b7383362c1742a115c1b3e6d09e1ed947df8ab7fee6275e96c920bd0ef880647da70165ddccd40d0995ff43aae64 WHIRLPOOL 869055dd0e14af0dc285a11d95a891ab4686e1d16960d46728ddf680eee58d42570f64d058b88d30805b732b082c354a36dac5a816a7ce5f3034d1b22237aa5a
|
||||
DIST ruby-patches-2.0.0_p353.tar.bz2 1929 SHA256 4feee409319dbcac7525fb9c1c76c36888a62ee0623c117ae532bf765845f0f9 SHA512 95cf20e26e43a1515843d74c558e3344ae33b7383362c1742a115c1b3e6d09e1ed947df8ab7fee6275e96c920bd0ef880647da70165ddccd40d0995ff43aae64 WHIRLPOOL 869055dd0e14af0dc285a11d95a891ab4686e1d16960d46728ddf680eee58d42570f64d058b88d30805b732b082c354a36dac5a816a7ce5f3034d1b22237aa5a
|
||||
|
@ -0,0 +1,216 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.9.3_p484.ebuild,v 1.1 2013/11/22 19:22:39 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
#PATCHSET=1
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib versionator
|
||||
|
||||
RUBYPL=$(get_version_component_range 4)
|
||||
|
||||
MY_P="${PN}-$(get_version_component_range 1-3)-${RUBYPL:-0}"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT=$(get_version_component_range 1-2)
|
||||
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
|
||||
# 1.9.3 still uses 1.9.1
|
||||
RUBYVERSION=1.9.1
|
||||
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
if [[ ${PVR} == ${PV} ]]; then
|
||||
PATCHSET="${PV}-r0.${PATCHSET}"
|
||||
else
|
||||
PATCHSET="${PVR}.${PATCHSET}"
|
||||
fi
|
||||
else
|
||||
PATCHSET="${PVR}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An object-oriented scripting language"
|
||||
HOMEPAGE="http://www.ruby-lang.org/"
|
||||
SRC_URI="mirror://ruby/1.9/${MY_P}.tar.bz2
|
||||
http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( Ruby-BSD BSD-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl tk xemacs ncurses +readline +yaml" #libedit
|
||||
|
||||
# libedit support is removed everywhere because of this upstream bug:
|
||||
# http://redmine.ruby-lang.org/issues/show/3698
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
ssl? ( dev-libs/openssl )
|
||||
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||
tk? ( dev-lang/tk[threads] )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
readline? ( sys-libs/readline )
|
||||
yaml? ( dev-libs/libyaml )
|
||||
virtual/libffi
|
||||
sys-libs/zlib
|
||||
>=app-admin/eselect-ruby-20100402
|
||||
!<dev-ruby/rdoc-3.9.4
|
||||
!<dev-ruby/rubygems-1.8.10-r1"
|
||||
# libedit? ( dev-libs/libedit )
|
||||
# !libedit? ( readline? ( sys-libs/readline ) )
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
PDEPEND="
|
||||
>=dev-ruby/rubygems-1.8.10-r1[ruby_targets_ruby19]
|
||||
rdoc? ( >=dev-ruby/rdoc-3.9.4[ruby_targets_ruby19] )
|
||||
xemacs? ( app-xemacs/ruby-modes )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
|
||||
epatch "${WORKDIR}/patches"
|
||||
|
||||
einfo "Unbundling gems..."
|
||||
cd "$S"
|
||||
rm -r \
|
||||
{bin,lib}/rake lib/rake.rb man/rake.1 \
|
||||
ext/json \
|
||||
bin/gem || die "removal failed"
|
||||
|
||||
# Fix a hardcoded lib path in configure script
|
||||
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
|
||||
configure.in || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=
|
||||
|
||||
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||
filter-flags -fomit-frame-pointer
|
||||
# In many places aliasing rules are broken; play it safe
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
# SuperH needs this
|
||||
use sh && append-flags -mieee
|
||||
|
||||
# Socks support via dante
|
||||
if use socks5 ; then
|
||||
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||
# set and socks library is present, so need to unset
|
||||
# SOCKS_SERVER in that case.
|
||||
unset SOCKS_SERVER
|
||||
fi
|
||||
|
||||
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||
fi
|
||||
|
||||
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||
|
||||
# if use libedit; then
|
||||
# einfo "Using libedit to provide readline extension"
|
||||
# myconf="${myconf} --enable-libedit --with-readline"
|
||||
# elif use readline; then
|
||||
# einfo "Using readline to provide readline extension"
|
||||
# myconf="${myconf} --with-readline"
|
||||
# else
|
||||
# myconf="${myconf} --without-readline"
|
||||
# fi
|
||||
myconf="${myconf} $(use_with readline)"
|
||||
|
||||
INSTALL="${EPREFIX}/usr/bin/install -c" econf \
|
||||
--program-suffix=${MY_SUFFIX} \
|
||||
--with-soname=ruby${MY_SUFFIX} \
|
||||
--enable-shared \
|
||||
--enable-pthread \
|
||||
$(use_enable socks5 socks) \
|
||||
$(use_enable doc install-doc) \
|
||||
--enable-ipv6 \
|
||||
$(use_enable debug) \
|
||||
$(use_with berkdb dbm) \
|
||||
$(use_with gdbm) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tk) \
|
||||
$(use_with ncurses curses) \
|
||||
$(use_with yaml psych) \
|
||||
${myconf} \
|
||||
--enable-option-checking=no \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 V=1 test || die "make test failed"
|
||||
|
||||
elog "Ruby's make test has been run. Ruby also ships with a make check"
|
||||
elog "that cannot be run until after ruby has been installed."
|
||||
elog
|
||||
if use rubytests; then
|
||||
elog "You have enabled rubytests, so they will be installed to"
|
||||
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
|
||||
elog "than root, and you must place them into a writeable directory."
|
||||
elog "Then call: "
|
||||
elog
|
||||
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
|
||||
else
|
||||
elog "Enable the rubytests USE flag to install the make check tests"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Ruby is involved in the install process, we don't want interference here.
|
||||
unset RUBYOPT
|
||||
|
||||
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||
|
||||
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||
for d in $(find "${S}/ext" -type d) ; do
|
||||
RUBYLIB="${RUBYLIB}:$d"
|
||||
done
|
||||
export LD_LIBRARY_PATH RUBYLIB
|
||||
|
||||
emake V=1 DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
# Remove installed rubygems copy
|
||||
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
|
||||
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
|
||||
rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
|
||||
if use doc; then
|
||||
make DESTDIR="${D}" install-doc || die "make install-doc failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r sample
|
||||
fi
|
||||
|
||||
dodoc ChangeLog NEWS doc/NEWS* README* ToDo || die
|
||||
|
||||
if use rubytests; then
|
||||
pushd test
|
||||
insinto /usr/share/${PN}-${SLOT}/test
|
||||
doins -r .
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
|
||||
eselect ruby set ruby${MY_SUFFIX}
|
||||
fi
|
||||
|
||||
elog
|
||||
elog "To switch between available Ruby profiles, execute as root:"
|
||||
elog "\teselect ruby set ruby(18|19|...)"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ruby cleanup
|
||||
}
|
@ -0,0 +1,225 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-2.0.0_p353.ebuild,v 1.1 2013/11/22 19:22:39 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
#PATCHSET=1
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib versionator
|
||||
|
||||
RUBYPL=$(get_version_component_range 4)
|
||||
|
||||
MY_P="${PN}-$(get_version_component_range 1-3)-${RUBYPL:-0}"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT=$(get_version_component_range 1-2)
|
||||
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
|
||||
RUBYVERSION=2.0.0
|
||||
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
if [[ ${PVR} == ${PV} ]]; then
|
||||
PATCHSET="${PV}-r0.${PATCHSET}"
|
||||
else
|
||||
PATCHSET="${PVR}.${PATCHSET}"
|
||||
fi
|
||||
else
|
||||
PATCHSET="${PVR}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An object-oriented scripting language"
|
||||
HOMEPAGE="http://www.ruby-lang.org/"
|
||||
SRC_URI="mirror://ruby/2.0/${MY_P}.tar.bz2
|
||||
http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( Ruby-BSD BSD-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl tk xemacs ncurses +readline"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
ssl? ( dev-libs/openssl )
|
||||
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||
tk? ( dev-lang/tk[threads] )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
readline? ( sys-libs/readline )
|
||||
dev-libs/libyaml
|
||||
virtual/libffi
|
||||
sys-libs/zlib
|
||||
>=app-admin/eselect-ruby-20100402
|
||||
!<dev-ruby/rdoc-3.9.4
|
||||
!<dev-ruby/rubygems-1.8.10-r1"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
PDEPEND="
|
||||
>=dev-ruby/rubygems-2.0.2[ruby_targets_ruby20]
|
||||
>=dev-ruby/json-1.7.7[ruby_targets_ruby20]
|
||||
>=dev-ruby/rake-0.9.6[ruby_targets_ruby20]
|
||||
rdoc? ( >=dev-ruby/rdoc-4.0.0[ruby_targets_ruby20] )
|
||||
xemacs? ( app-xemacs/ruby-modes )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
|
||||
epatch "${WORKDIR}/patches"
|
||||
|
||||
# We can no longer unbundle all of rake because rubygems now depends
|
||||
# on this. We leave the actual rake code around to bootstrap
|
||||
# rubygems, but remove the bits that would cause a file collision.
|
||||
einfo "Unbundling gems..."
|
||||
cd "$S"
|
||||
rm -r \
|
||||
{bin,lib}/rake lib/rake.rb man/rake.1 \
|
||||
bin/gem || die "removal failed"
|
||||
|
||||
# Fix a hardcoded lib path in configure script
|
||||
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
|
||||
configure.in || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=
|
||||
|
||||
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||
filter-flags -fomit-frame-pointer
|
||||
# In many places aliasing rules are broken; play it safe
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
# SuperH needs this
|
||||
use sh && append-flags -mieee
|
||||
|
||||
# Socks support via dante
|
||||
if use socks5 ; then
|
||||
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||
# set and socks library is present, so need to unset
|
||||
# SOCKS_SERVER in that case.
|
||||
unset SOCKS_SERVER
|
||||
fi
|
||||
|
||||
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||
fi
|
||||
|
||||
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||
|
||||
# if use libedit; then
|
||||
# einfo "Using libedit to provide readline extension"
|
||||
# myconf="${myconf} --enable-libedit --with-readline"
|
||||
# elif use readline; then
|
||||
# einfo "Using readline to provide readline extension"
|
||||
# myconf="${myconf} --with-readline"
|
||||
# else
|
||||
# myconf="${myconf} --without-readline"
|
||||
# fi
|
||||
myconf="${myconf} $(use_with readline)"
|
||||
|
||||
INSTALL="${EPREFIX}/usr/bin/install -c" econf \
|
||||
--program-suffix=${MY_SUFFIX} \
|
||||
--with-soname=ruby${MY_SUFFIX} \
|
||||
--enable-shared \
|
||||
--enable-pthread \
|
||||
--enable-psych \
|
||||
--disable-rpath \
|
||||
$(use_enable socks5 socks) \
|
||||
$(use_enable doc install-doc) \
|
||||
--enable-ipv6 \
|
||||
$(use_enable debug) \
|
||||
$(use_with berkdb dbm) \
|
||||
$(use_with gdbm) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tk) \
|
||||
$(use_with ncurses curses) \
|
||||
${myconf} \
|
||||
--enable-option-checking=no \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 V=1 test || die "make test failed"
|
||||
|
||||
elog "Ruby's make test has been run. Ruby also ships with a make check"
|
||||
elog "that cannot be run until after ruby has been installed."
|
||||
elog
|
||||
if use rubytests; then
|
||||
elog "You have enabled rubytests, so they will be installed to"
|
||||
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
|
||||
elog "than root, and you must place them into a writeable directory."
|
||||
elog "Then call: "
|
||||
elog
|
||||
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
|
||||
else
|
||||
elog "Enable the rubytests USE flag to install the make check tests"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Remove the remaining bundled gems. We do this late in the process
|
||||
# since they are used during the build to e.g. create the
|
||||
# documentation.
|
||||
rm -rf ext/json || die
|
||||
|
||||
# Ruby is involved in the install process, we don't want interference here.
|
||||
unset RUBYOPT
|
||||
|
||||
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||
|
||||
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||
for d in $(find "${S}/ext" -type d) ; do
|
||||
RUBYLIB="${RUBYLIB}:$d"
|
||||
done
|
||||
export LD_LIBRARY_PATH RUBYLIB
|
||||
|
||||
emake V=1 DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
# Remove installed rubygems copy
|
||||
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
|
||||
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
|
||||
rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
|
||||
if use doc; then
|
||||
make DESTDIR="${D}" install-doc || die "make install-doc failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r sample
|
||||
fi
|
||||
|
||||
dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
|
||||
"/usr/$(get_libdir)/libruby$(get_libname ${PV%.*})"
|
||||
dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
|
||||
"/usr/$(get_libdir)/libruby$(get_libname ${PV%_*})"
|
||||
|
||||
dodoc ChangeLog NEWS doc/NEWS* README* || die
|
||||
|
||||
if use rubytests; then
|
||||
pushd test
|
||||
insinto /usr/share/${PN}-${SLOT}/test
|
||||
doins -r .
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
|
||||
eselect ruby set ruby${MY_SUFFIX}
|
||||
fi
|
||||
|
||||
elog
|
||||
elog "To switch between available Ruby profiles, execute as root:"
|
||||
elog "\teselect ruby set ruby(18|19|...)"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ruby cleanup
|
||||
}
|
@ -1,12 +1,14 @@
|
||||
DIST pl-6.2.6.tar.gz 14407455 SHA256 9412f0753a61c30dbcf1afac01fe7c9168002854709e00e09c21f959e1232146 SHA512 0bd8b057241c284e5530965236ac79895153f7ff4b42d72dea67f4c1296f0319c0ed7db363bb17a099686c1742ade4ad06d8f916637ff70f84e2c00d6c122b52 WHIRLPOOL ac5b0ba0fbfab919ebfd00cc01977e82973c23522f6a601416b4fdcfdddb1f902ab87016058aaa1d62533dea512b8f931f440433814e8cb3e0f8b66f7139204e
|
||||
DIST pl-6.4.0.tar.gz 14621704 SHA256 7b0ed29da3004010f826e0023b3dae95c975468dceb6592b3d4d13be007c5cba SHA512 23453cac29b174dc507338d3b9792511812b8a1efa5b8a52af6206e946ce6f68c1dcf57037600c00cf056d5e40d50cbb9ae5ca7a89bdf431d3c0f8d5a87c344b WHIRLPOOL 2ec583e8e65fb88b58d7ce0cbc46f58a29e7a7e135e5f97bd5cddfca20b86c002966a24a6e4169ec22954a6508e02a022a1a920a6fc6b0b927f2fb432083cb8f
|
||||
DIST pl-6.4.1.tar.gz 14616444 SHA256 48439529784a855ce9246419b51ebe5388acc28d1483a947c6a0397c3dc7f8eb SHA512 1a306cad1be7161eaf8317ce60e1da3cb6dd3a62adb98b4091a00d437c816992c4fe495c357e653ec470fcbc976a4846e684e107b785c018f225fa2b45b3fc80 WHIRLPOOL 3b72dcefaf9a70fd2fd41a95fe8f9f8ae0ffb1f4768eb6d8ec5a50c5f9664a368dfed9ed965e14a76c74d69a77864284ca453483c100851ef612abc9bc3cdee9
|
||||
DIST pl-6.5.0.tar.gz 14717696 SHA256 a0fef33ba1ca38b1e31af5fc3fe827ce0c2c2b68be0573cea423db01045a6f08 SHA512 8947f20c848f7d14a645c6cca281c45bb978ffcdf6d101ef1b26a001df30ae4ec142ca2225e774d23fd5d941bf4d7db0e85f0f40876f258c55c17890625f666e WHIRLPOOL dbe2ebf92b025b2e274bc04bfa6b9a5873bf2fe1e0a98c0c5d5ef1910cc607ee035c51c2a67b56550fcd611e912d87ed95cc5cb8e10a0bf8447154eebd169382
|
||||
DIST pl-6.5.1.tar.gz 14732161 SHA256 d65294b9d9cf668445bac079be387662972ff9843e8fad8f90cdad914fe963e7 SHA512 679c1bf18c24a624ecf6999b7b14265c9ec7f2335213704124c38b198640b9f38dbbf66fb637753b93c085f6d183f41239604f38c5e6657cd10f69281defb2fa WHIRLPOOL ec43469a69ae26248a87e46aac4da51f709eb558f0adc01be67a538d3c44099f2fed74f08f660b98c090d913ea88c581aac6cd08a44ce46d05f7f61823728803
|
||||
DIST pl-6.5.2.tar.gz 14819871 SHA256 b660366fd3527a40aef03bad2dcf3e68c59f865e8948492a5f2e7c11633e6631 SHA512 2d5a4001208ec7a681c467cd3177aa4efea17e31dd8a3ff900d7108e1175757708f6867ba81a614945023f372f05c6e81399ef9910322642c426fcbf47e09b12 WHIRLPOOL 213b04e9c041fb5725e11edef8c31993d6726e43061f02c63187ed1564c97ea0cb5e2e0a2aa058f6570ac1107d4b2643c30948784d8e180aa6a2e391bae66e7d
|
||||
DIST pl-6.5.3.tar.gz 14842161 SHA256 1a959724ff170a8f4d10a531d7d298187b6b9658c0c36c764d7ad1a085f9c5ee SHA512 31778c0d550a4f4a8cb46c81a31ed74ca62b6a08aa1495e81697b9d23ed3a5a4ca009d265417bf928cecba8cd9156da902a96fd20396666459bc429f327b7197 WHIRLPOOL b592372d92facbbd6a8d6df45acda44a2c5a514d799563836e645d82fa97034ac3978c6511d13d58d764b8316938a2848f1a692fa82b578ba40cc763889b51e2
|
||||
DIST pl-6.6.0.tar.gz 14764935 SHA256 b85ac27a8afeb29640fe2b98c088e5f9c753adacb20114f8c10ba4835b26f9cd SHA512 8fcd30b0666b57d322789466464840817f4be602163b71ef8538c89c2fc5946e323c5f68cc421d29365f92b17d059e840c1eb7dba4fa178638986473cf9816ac WHIRLPOOL 2f8b55e190e43f5d0051c76ae8ed9be1df28372b10dd0accd0668fe08eff14874edb673251b567edbadbeddd4062bd28618078569a7b5fcf2136b9c09848656d
|
||||
DIST pl-7.1.0.tar.gz 14914726 SHA256 ad0f57e96fad225cff7856b6d190a330dd849699f1aedff1f09f704cb0f24a24 SHA512 577f19c72202eda44af94f9e979e08ffc18dde2480c099688a31096c4cfac6547d078930093d9b00af93782a035d29eee13da9ffb86037e70386af5e79d37644 WHIRLPOOL 23c566029fbb26a817f220eef2a7586362b4ae1f453a26676733d86618b8fa1f5bfa339e598a7b2babb475d31d82bc0ba57388ec673ab5721cefa2a9bd4470b6
|
||||
DIST swi-prolog-6.2.6-gentoo-patchset-1.tar.gz 2978 SHA256 eeadd8b3a518aa1378cadc8bb58ff906a84a07b286f460cb0863ac57606d5a36 SHA512 5dbcc2969bbb6def055ae3dceb4bf1a78a862963dc40d34c2028a88021bb4b3eb1426cd042ff723414eee9d1ebe1083b381176720e6948ed49c107b5da7b3d01 WHIRLPOOL 6ec46782ffa2973a8fb3660dfdad7dd98d7e1bdd033a34132cb503dd6e3c9d0d09b551d03e42db09b0d83714fe988582bb18f674366863c7c85999df90aef63c
|
||||
DIST swi-prolog-6.4.0-gentoo-patchset-0.tar.gz 1596 SHA256 7d6d3b52fd054a5d7a593aff408a350a5e1405ccd0e69075dbc5d9f663baaf9b SHA512 6c8ee954f8ba80cb931be08af768fbd05635bd93d765b73ecbaa6ddc37e2290965459f43a385b8246850b64276f2a79249bd389cb390d2637c993934d6c47f2f WHIRLPOOL 9d1e958e30005f3c596140b3e663e917ac4ff5d442b65293f5027c72e5d07f4e71285c64cc8e4a7c1859f335ee0f73cf0af7b5b4c0faacc88cb250d8c323b276
|
||||
DIST swi-prolog-6.4.1-gentoo-patchset-0.tar.gz 1593 SHA256 c57b19f6d6f31855db9f6c5c14edb7a20b30ed4b9cfde805bf95182c7dda6565 SHA512 7be7f1bd3a10bb6a436b3f679210aa48de5774c728a4f12de69983458200095b5fe377aa30429566ec5e91c4ea172cc3d4bdfb6486731ed47d045dfa40afacfc WHIRLPOOL e3a135438947eedb71070d3df903c65aefd94c1c1b724f94df396ed0b1e354882c83e6a938816ba64df45b639b00a8cff9c591405f44a472eea4578ab95f232d
|
||||
DIST swi-prolog-6.5.0-gentoo-patchset-0.tar.gz 1592 SHA256 0333b0fede63463a257854d2fc12778590235dfecaab38df2ae20c3fc5e2ffaf SHA512 c45870d8ec9c85a9231101f73cc0d7f8905cb162fc99f23b8d9662261ff423cab70e05aeb1d6573b5385ac79a2af5dbb68b34ae4cfac232197acde75ff2c5789 WHIRLPOOL 6dfd3da61aa7a006110578876389fccde3c22041142ce4a60fa4cfb2f31b024b414b5915bed3beb979b659a4171b4c8690c5a7590047d02e1bb1513e4003faea
|
||||
DIST swi-prolog-6.5.1-gentoo-patchset-0.tar.gz 1588 SHA256 80d5d03c9f98e7b0b102bd8b213fc70108bde5d8adf47d793e5a8f6b360ac145 SHA512 341f7abef1b6cff6eaacb612249534d2acc8e50d60a0d79a1ad1e9c28a3b2d5bb1c51de3c769e5d542c1b371384548e3a4bb3f681fd5a10e6e9e29f7f9f56159 WHIRLPOOL 34cf03c2b4d2030ee5ff25bb60c5c9de10e9c864304d058d5ed80065618f7b332d292782f36e50aff8dd4239be49d288ff4aef5d84f958b8f9ff6099bc62f4f3
|
||||
DIST swi-prolog-6.5.2-gentoo-patchset-0.tar.gz 1587 SHA256 0057b7dadd29a07df81fc4eb205c2224bcb2846cf190bcf608abae0b22e23233 SHA512 47a98d85fcbec99000a3298ed6861b7560d0d9ef187950073b86fed6311d0fd11c889065309df6b4d2679d004e9f74dfcbefc14d287125fb8b436e222581134b WHIRLPOOL d1b6e6d92f25008389fde71723bc09f13fab566cf55933b878bb7038f0bffc62515f0fa3c9a796af48714983fec6ce68beb1f703a74df14250a8ccb68b67823f
|
||||
DIST swi-prolog-6.5.3-gentoo-patchset-0.tar.gz 1602 SHA256 e8fdfa7789c037b8ef293d19cc900251dc71eca33db6add2e140f6791a6cd837 SHA512 bf59cc8488e2d46da971ea78a4ae9e383da04c6b79925d73ac5f69f3ed53beaa869d9f78a853f31768461020de1a959bb39c5b0f0a2569683cffb737f9f615de WHIRLPOOL 90bb6ccb21f7f1390b7c28493150840e8cc0fce1d3c31b5c3a56aade8b8bb828783cb5daf9677b78fb33962f478e1d24cffbee93704544dd7e087bb0d36f9784
|
||||
DIST swi-prolog-6.6.0-gentoo-patchset-0.tar.gz 1588 SHA256 4931ffc29db2ac2a528bd8f7e9a94d1cc125810e85d4b0b7ed39c3b50406f967 SHA512 192c112ea965dd4625b42137d5ec5abeb71ffccea33bd814b782175f9d6d185fbcd55636a6e2300e933e1b2c5d9d156bfd5231aac5bbddbce7dc366e362436fe WHIRLPOOL 39b0063bf3e4e50d5ad80617809c5534edb27c5c900e966366fc7f058c7fcdf44e070dae10f3f8a9d5cd4cd4cb64d90ab0f40a5c6c16d95a2465d86d33185ee5
|
||||
DIST swi-prolog-7.1.0-gentoo-patchset-0.tar.gz 1582 SHA256 e6341740a8728a4db171f15c5a392d935d70c39a50ac1c2e40503e92b0ea2756 SHA512 95209a76e62b5ab6e727940995935fb7401caa48c23cd2621a581045689823e6b20ed396fa08e0a0425debb7a29b5733ee9807add4199a5de9979f178f6e13d8 WHIRLPOOL 4070671edac313ee1b8a6edf0b1a9c9fe824ed3193f7332b2f3b91f768c45f0703a135a9ae38579fd1c1ad88db2546e24685e60b096d1af6f1625b00f9e25c77
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-6.5.1.ebuild,v 1.1 2013/08/13 07:58:42 keri Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-6.5.3.ebuild,v 1.1 2013/11/22 17:00:43 keri Exp $
|
||||
|
||||
EAPI=4
|
||||
|
@ -0,0 +1,125 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-6.6.0.ebuild,v 1.1 2013/11/22 17:13:01 keri Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils flag-o-matic java-pkg-opt-2 multilib
|
||||
|
||||
PATCHSET_VER="0"
|
||||
|
||||
DESCRIPTION="free, small, and standard compliant Prolog compiler"
|
||||
HOMEPAGE="http://www.swi-prolog.org/"
|
||||
SRC_URI="http://www.swi-prolog.org/download/stable/src/pl-${PV}.tar.gz
|
||||
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="archive debug doc +gmp hardened java minimal odbc +readline ssl static-libs test zlib X"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
archive? ( app-arch/libarchive )
|
||||
zlib? ( sys-libs/zlib )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
readline? ( sys-libs/readline )
|
||||
gmp? ( dev-libs/gmp )
|
||||
ssl? ( dev-libs/openssl )
|
||||
java? ( >=virtual/jdk-1.4 )
|
||||
X? (
|
||||
virtual/jpeg
|
||||
x11-libs/libX11
|
||||
x11-libs/libXft
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xproto )
|
||||
java? ( test? ( =dev-java/junit-3.8* ) )"
|
||||
|
||||
S="${WORKDIR}/pl-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE=yes
|
||||
EPATCH_SUFFIX=patch
|
||||
epatch "${WORKDIR}"/${PV}
|
||||
|
||||
# OSX/Intel ld doesn't like an archive without table of contents
|
||||
sed -i -e 's/-cru/-scru/' packages/nlp/libstemmer_c/Makefile.pl || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
use ppc && append-flags -mno-altivec
|
||||
use hardened && append-flags -fno-unit-at-a-time
|
||||
use debug && append-flags -DO_DEBUG
|
||||
|
||||
# ARCH is used in the configure script to figure out host and target
|
||||
# specific stuff
|
||||
export ARCH=${CHOST}
|
||||
|
||||
export CC_FOR_BUILD=$(tc-getBUILD_CC)
|
||||
|
||||
cd "${S}"/src
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
$(use_enable gmp) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable static-libs static) \
|
||||
--enable-shared \
|
||||
--enable-custom-flags COFLAGS="${CFLAGS}"
|
||||
|
||||
if ! use minimal ; then
|
||||
local jpltestconf
|
||||
if use java && use test ; then
|
||||
jpltestconf="--with-junit=$(java-config --classpath junit)"
|
||||
fi
|
||||
|
||||
cd "${S}/packages"
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
$(use_with archive) \
|
||||
$(use_with java jpl) \
|
||||
${jpltestconf} \
|
||||
$(use_with odbc) \
|
||||
$(use_with ssl) \
|
||||
$(use_with X xpce) \
|
||||
$(use_with zlib) \
|
||||
COFLAGS='"${CFLAGS}"'
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/src
|
||||
emake
|
||||
|
||||
if ! use minimal ; then
|
||||
cd "${S}/packages"
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/src"
|
||||
emake check
|
||||
|
||||
if ! use minimal ; then
|
||||
cd "${S}/packages"
|
||||
emake check
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C src DESTDIR="${D}" install
|
||||
|
||||
if ! use minimal ; then
|
||||
emake -C packages DESTDIR="${D}" install
|
||||
if use doc ; then
|
||||
emake -C packages DESTDIR="${D}" html-install
|
||||
fi
|
||||
fi
|
||||
|
||||
dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-6.5.0.ebuild,v 1.1 2013/07/30 14:49:36 keri Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-7.1.0.ebuild,v 1.1 2013/11/22 17:27:52 keri Exp $
|
||||
|
||||
EAPI=4
|
||||
|
@ -0,0 +1 @@
|
||||
DIST cliff-tablib-1.1.tar.gz 80508 SHA256 4a8ed81f6678e76d0e0497f2708d0fe5d2b83ec442a03f982aaa711a08c74139 SHA512 26beea20ca1ba5c96276ce974c24bab572c6efebfe44ef45bd3ee6197593a34bf29843676a4e37fe400272f3ff59f703d60ff1abda22a1ca28c2434c0f224aac WHIRLPOOL e4aabd11f43d21f47ae281dcdfad4f0c40a85cf4e51e3e344e4ba7bb3f99148f89e285e3ad4a6f8cbab854539803d0ed11b2e943da18b57fbbc81c366f58e54f
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/cliff-tablib/cliff-tablib-1.1.ebuild,v 1.1 2013/11/23 09:59:18 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Formatter extensions of JSON, YAML, and HTML output in programs created by the cliff framework"
|
||||
HOMEPAGE="https://github.com/dreamhost/cliff-tablib"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="dev-python/tablib[${PYTHON_USEDEP}]
|
||||
dev-python/cliff[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_install_all() {
|
||||
# Use IUSE examples for installing the demoapp
|
||||
use examples && local EXAMPLES=( demoapp/. )
|
||||
use doc && local HTML_DOCS=( docs/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>openstack</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/cython-0.19.2.ebuild,v 1.1 2013/11/22 07:50:32 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
MY_PN="Cython"
|
||||
MY_P="${MY_PN}-${PV/_/}"
|
||||
|
||||
DESCRIPTION="A Python to C compiler"
|
||||
HOMEPAGE="http://www.cython.org/ http://pypi.python.org/pypi/Cython"
|
||||
SRC_URI="http://www.cython.org/release/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris ~x64-solaris"
|
||||
IUSE="doc test"
|
||||
|
||||
# Note: update numpy dep when it is fixed for py3.3.
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx )
|
||||
test? (
|
||||
>=dev-python/numpy-1.6.1-r1[$(python_gen_usedep 'python2*' 'python3_[12]' )]
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV%_*}"
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} == python2* ]]; then
|
||||
local CFLAGS CXXFLAGS
|
||||
append-flags -fno-strict-aliasing
|
||||
fi
|
||||
|
||||
# Python gets confused when it is in sys.path before build.
|
||||
local PYTHONPATH
|
||||
export PYTHONPATH
|
||||
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \
|
||||
|| die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( CHANGES.rst README.txt ToDo.txt USAGE.txt )
|
||||
use doc && local HTML_DOCS=( docs/build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST flask-restless-0.10.0.tar.gz 495229 SHA256 ce4d2a018a15f31b24235dad5ae9be554094d818cf95c5654293f63b03baa9d5 SHA512 b6910a44b265a429ddaeca071376f1ab0f78cba7951ef6d5f2ace1a48403624229e0fb64e75c9ea7fa4173cbf0b143aa61801ff36e190cea986ea81781259a85 WHIRLPOOL 426e823fa5eef30b74a6f2692a0d5182ada47fd8892db915e852fded072b8fe333707c0eb470cc775be710f4b9f166bbd481c0188585ae5d32d270da1bda0408
|
||||
DIST flask-restless-0.10.1.tar.gz 495409 SHA256 6a7af6c121638cdeb4b8a5f32f188f367a40f096b804ab404b39a81ba6c1a337 SHA512 eb7fec4a6e13674d0d850fb717965f4156b6e5f4a71f804e9fd0f18bdaf1e51092f13875c865a26322df1393798d40ae23b15e75272aaa8cb9726ac91b0b90c2 WHIRLPOOL ad63d0df907205a828badc58fb3e3eb16ea46aea5dfb4fc48b7e1efcc2d42792d79db083eab1d9fdb6e3fb3bad09b76a697e6815502902e592f5a70e956f479a
|
||||
DIST flask-restless-0.11.0.tar.gz 500173 SHA256 2f2825d71ed3cdb3d266e525b1a927a1cd49d77c61022222e05a69aa5820ff55 SHA512 8e5f6789c90e81f012bbd27eec06ae83735000d5c8ef8199e3ea34c03d94f31ffc628dbb929ae3fa925427a3c8cf988ed885f83c7fb479accb50ffcd1e79f3b8 WHIRLPOOL 86fd6d7615b4a304f19f03f0728d51a5b64fe152ccc4ff29a7f3418787a7ec013246ce8e44f6f140a566dece2afe0009993ab063c4ed49b899433734eb1baeeb
|
||||
DIST flask-restless-0.12.0.tar.gz 502639 SHA256 440e20d97fc75b51339c653f3b741de7fda092ea41d5c3b2c7aea40387fb42e6 SHA512 576ecc36f6eb79c9f27ee146f755de0e0abac8ec46556b4ddc7a4e4dc9b410d31a9998512666c14edf4f4fe7e0d31d29cea28629d3c0a8174ba544aa47d86543 WHIRLPOOL bc205d6ab32210da64549321a8a550029406d62e8be92526c22acf07020b027d05b244c3756f00ce7e187d916ed267bf1cab5d5306bc3cd230e1711ea1b158e3
|
||||
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-restless/flask-restless-0.12.0.ebuild,v 1.1 2013/11/22 07:13:59 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Flask extension for easy ReSTful API generation"
|
||||
HOMEPAGE="http://packages.python.org/Flask-Restless/"
|
||||
SRC_URI="https://github.com/jfinkels/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( AGPL-3 BSD )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="doc examples test"
|
||||
|
||||
RDEPEND=">=dev-python/flask-0.7[${PYTHON_USEDEP}]
|
||||
dev-python/flask-sqlalchemy[${PYTHON_USEDEP}]
|
||||
dev-python/sqlalchemy[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil:0[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( virtual/python-unittest2[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}] )
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinxcontrib-httpdomain-1.1.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinxcontrib-issuetracker-0.11[${PYTHON_USEDEP}]
|
||||
dev-python/flask-themes[${PYTHON_USEDEP}] )"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/docbuild.patch )
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
if ! "${PYTHON}" -c "import flask_restless"; then
|
||||
eerror "flask-restless is not installed. Building of the docs"
|
||||
eerror "requires flask-restless to already be installed."
|
||||
eerror "Firstly emerge without USE=doc, then re-emerge with USE=doc"
|
||||
eerror ""
|
||||
die
|
||||
fi
|
||||
# Changes connect to read issues @ github
|
||||
rm -f docs/changelog.rst
|
||||
einfo "Generating html docs for ${PN}"
|
||||
PYTHONPATH=${PYTHONPATH}"${S}"/docs emake -C docs html \
|
||||
|| die "Generating html docs for ${PN} failed"
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests tests/test_*.py || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST irc-8.5.1.zip 112916 SHA256 ff29edb5c51bbf6583f60f677e846b3eb651374c2f6b39800e4b4947c989b8db SHA512 02f09b4c7dc4036ececc2aff97f761ddbc950dfebae298e95381d706f3b8be65704ad0a64ea9b581b5ce48f2a060beeb8b6ac5179a29844fe8e821502fc0d4a9 WHIRLPOOL e24d1a8155dd79e840aceb085f0a6d6fd0c0cafb356c64604c01555d4a6189e8e8dbc4824f74d58c45731615d24fe1606987b70dacf40375354134d200373d13
|
||||
DIST irc-8.5.3.zip 113424 SHA256 80454990b8b6ce2c8747cc92be817e1fe3eb2963b4659a70850d765b3a42773e SHA512 33f75d1784a267afd250d1164e43556bf1af37eb3846fdcb9e536ce008687487d2d46228219da3e9cd1e817f37c1d93e1aebf9a8627f798af04134161999c71f WHIRLPOOL cf6c23d7e458ec47ea95f18c1af6a756dfb26c3844cbb8d2d507bf4b98f7572da50a729d27ff21d9377ad3bfbea84438e641de9abeb65d17db8de92eecbf7059
|
||||
DIST irc-8.5.4.zip 113715 SHA256 92eaa2287240e770ba5fd34327aa69612cf27caba9f51e3116d5951b438f470e SHA512 2b5905e9d20025a11f665810da2cfea9d73b7d2274e7593b523871760727a8021cb9d041594ed16df2eb7e8c094d284f36056ffce9ae64e01b5d0f2dde0b1e7a WHIRLPOOL 16b31ca81398c18e4d3ae6aef2bc83994a06b30b1c55531a551664160969e419900feae1c3de10e541fec34ac5cade8b0c4a0fece32f6ed76df95b19e6b709f1
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/irc/irc-8.5.4.ebuild,v 1.1 2013/11/22 07:58:01 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="IRC client framework written in Python."
|
||||
HOMEPAGE="https://bitbucket.org/jaraco/irc http://pypi.python.org/pypi/irc"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples test"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}] )"
|
||||
|
||||
RDEPEND="!>=dev-python/python-irclib-3.2.2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/irc-8.5.1-setup_requires.patch"
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# Don't rely on hgtools for version
|
||||
sed -e "s/use_hg_version=True/version=\"${PV}\"/" -i setup.py || die
|
||||
sed -e "/^tag_/d" -i setup.cfg || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test irc/tests || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( scripts/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST mozprocess-0.10.tar.gz 17714 SHA256 1537ae82a90003bd077d1ec8ddcc8ebd61d1e4b5eb1398ff901b3d938b7f7845 SHA512 f84eaff7642d18c114932fd6a77db7ff30e3a172a7da78cd736c66f8d65efa24b29178fb4882a5904bec73713e2fde69189b8652bc6e18bf9f38f673397233f5 WHIRLPOOL ae97d50be3d9c22dc731cbdc140510191b6fec860768c3a735be768250616f622bcb4bb3600425b8c8d04e304851dd22044e3f4ae1829a60049ea2abcc338cca
|
||||
DIST mozprocess-0.11.tar.gz 17712 SHA256 16e0e0a4f18172e9905c776501dcecc73a4d0e67ee04ab99a3746eef554f7808 SHA512 542c16c76fba44da0335fd6d31e8bdcf94fdf14ebf69d392d2d13ec6190aa27002382884cbd22f1c5e30999d34a2b1cf0203246efa885d5c56ea06eb370c819e WHIRLPOOL 452de6c538b4e03211af281339187a3d3de0fffc680fe212cf069a95a4030be817d3da20ad52c74a5fea1cd5c1262bbde3b332eb4078c42c43504d50d0c8438d
|
||||
DIST mozprocess-0.13.tar.gz 17753 SHA256 56718f040283efd356fa78aadc693e6c73c9627e1ebede68f24b380b87280a49 SHA512 b09cbc919abdc9f37a428d540c8e8220b9d48b014bb1eec6b1926050b04783c20fb08629787a3a59d2cb9f4aeb65660c3b9fd79c877b487fc366eaed2f2285dc WHIRLPOOL 06779396aeb33669afa57054fd5b81a510717656804fcb0156e1c9194922174fec570297b7816813d081c6bcf0bef8df9a9519e4d923ad814b6ffc60b0c5e18f
|
||||
DIST mozprocess-0.9.tar.gz 17615 SHA256 36759bfa45c4930c4fee7b9d832ce41e150ed7a287ea39c20bc8cdcdb30bcc6d SHA512 544599013aaa5ae540b0ca58c0ef8262bc7993909748c3e575d3078fca4615bca8d25d12c1bde0519bcd4fc2980a96e878d304f4b055302d52b807745d395b03 WHIRLPOOL 0735d9fb4abe2cc4b65be94c83a63fcfa3d00cfe8da7d90ddd59fad83a005c0cd6e28447742a3a881ff6969084b765a1faab89d48da74f9be92939fe57e63600
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/mozprocess/mozprocess-0.13.ebuild,v 1.1 2013/11/22 06:59:19 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Mozilla-authored process handling"
|
||||
HOMEPAGE="http://github.com/mozautomation/mozmill http://pypi.python.org/pypi/mozprocess"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/mozinfo[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/mozprofile/mozprofile-0.17.ebuild,v 1.1 2013/11/22 07:04:35 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Handling of Mozilla XUL app profiles"
|
||||
HOMEPAGE="http://github.com/mozautomation/mozmill http://pypi.python.org/pypi/mozprofile"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/manifestdestiny[${PYTHON_USEDEP}]
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/mozrunner/mozrunner-5.27.ebuild,v 1.1 2013/11/22 08:02:47 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Reliable start/stop/configuration of Mozilla Applications (Firefox, Thunderbird, etc.)"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/mozrunner"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=">=dev-python/mozinfo-0.3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/mozprofile-0.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/mozprocess-0.10[${PYTHON_USEDEP}]
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
dev-python/mozfile[${PYTHON_USEDEP}]"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e 's/\(moz.*\) ==/\1 >=/' -i setup.py
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
--- netlib-0.9.2/test/test_tcp.py
|
||||
+++ netlib-0.9.2/test/test_tcp.py
|
||||
@@ -149,11 +149,11 @@
|
||||
request_client_cert = True,
|
||||
v3_only = False
|
||||
)
|
||||
- def test_clientcert(self):
|
||||
- c = tcp.TCPClient("127.0.0.1", self.port)
|
||||
- c.connect()
|
||||
- c.convert_to_ssl(cert=tutils.test_data.path("data/clientcert/client.pem"))
|
||||
- assert c.rfile.readline().strip() == "1"
|
||||
+ #def test_clientcert(self):
|
||||
+ # c = tcp.TCPClient("127.0.0.1", self.port)
|
||||
+ # c.connect()
|
||||
+ # c.convert_to_ssl(cert=tutils.test_data.path("data/clientcert/client.pem"))
|
||||
+ # assert c.rfile.readline().strip() == "1"
|
||||
|
||||
def test_clientcert_err(self):
|
||||
c = tcp.TCPClient("127.0.0.1", self.port)
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-neutronclient/python-neutronclient-2.3.0-r3.ebuild,v 1.1 2013/11/23 10:07:21 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A client for the OpenStack Quantum API"
|
||||
HOMEPAGE="https://launchpad.net/neutron"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/hacking-0.5.6[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/cliff-tablib-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/mox-0.5.3[${PYTHON_USEDEP}]
|
||||
dev-python/subunit[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.17[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.32[${PYTHON_USEDEP}] )"
|
||||
RDEPEND="virtual/python-argparse[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.5.21[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/cliff-1.4[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
>=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/simplejson-2.0.9[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-0.9.6[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
testr init
|
||||
testr run || die "tests failed under python2.7"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
#stupid stupid
|
||||
local SITEDIR="${D%/}$(python_get_sitedir)" || die
|
||||
cd "${SITEDIR}" || die
|
||||
local egg=( python_neutronclient*.egg-info )
|
||||
#[[ -f ${egg[0]} ]] || die "python_quantumclient*.egg-info not found"
|
||||
ln -s "${egg[0]}" "${egg[0]/neutron/quantum}" || die
|
||||
ln -s neutronclient quantumclient || die
|
||||
ln -s neutron quantumclient/quantum || die
|
||||
}
|
@ -1,8 +1,2 @@
|
||||
DIST pytools-11.tar.gz 49995 SHA256 0ed356f87fa93adf12c8ead3017ac42aa88971572a2658947ed3a42dc2f0f47a SHA512 8501cda6eb91f66c9d84aba9745972ab618e74e4778221058937a24bae54d018fe6d83e8b6c3ff8be46471fcdbb0988dcc00ccbe1f43071a91da640f8928f5bd WHIRLPOOL c00f3f70d5ec01a17d0db581327a207aa7bd18a206c8e45172e2e829162112529fab01ff15dd958d60f8ebc0eb8351a20814764f0c9f83dc73399d645dc919b1
|
||||
DIST pytools-2012.1.tar.gz 44076 SHA256 4738e5c8b3b5e3f03a392f12abb157053e3134fd777752eea334c496bf485136 SHA512 f62d8e7313dcd33c9f7d5551c60da7bc2b573e0e593428d83cc307b24265604cea3b11cb050464776659cb7543081d3737e2072f8dfad96a0b3154571841dae2 WHIRLPOOL 77a4d83dfb92d5286324744a13e0922365e3ce3c30e29cdbf1b3106f295ddd91bb032c95cde9446d19b81683bfd4d1841efc182c111ed7f2c9e03bcfed8a9738
|
||||
DIST pytools-2013.1.tar.gz 45575 SHA256 4457b881baec65166360d4b3ae6851d55b3464ec369ed30ce2a42e53d5e5ed1b SHA512 d59f7cb3435a15a0716166277f42f1d858e9a576fba4d5be1658851f7957532ab530a41215624f17f8d14f22dd86525398f519e274a8e0c27b50bba54043209d WHIRLPOOL 2e66df7a604a8b3fb9377e1f419fd83c8eb51abd1f0dea26d2ddae198d8862156dff5d029bd1078907636c9a7bf73bd4b2272e4589c7afa5ba5e41f74edb0cad
|
||||
DIST pytools-2013.2.tar.gz 45387 SHA256 545767386dc93a67ebb0db5bcd9a3fe24abd980e0b939f98f76765191e9980e7 SHA512 7c2651c63b6624d57965175eb3f07ac5de5c92a153357e39a116b981598a2bbeb8d7d9ea472c29c99903ebc3e19593b750145e5e7b33b2de1b2eb770f57a57b9 WHIRLPOOL 86caaee423224b4d325c8c79a051644092d5534828c348089be9fc54e5e24d8d49988db7581b6e3d39edb7ce3195c4692866b12c081537a960ed9e2ca7e5eceb
|
||||
DIST pytools-2013.5.3.tar.gz 42135 SHA256 165099211f11809360e7b9f2065442c77cba77d5f1cb21056abdc3568bf0428a SHA512 5b5a4a36ed0dfecdb962e9d9ff11305a4d3e5d83cc50212f7a6d97eaaa5a61385f7d6ef555d8accba06473793e34188a33aafc04f376be0175a8ccf857c1c4bc WHIRLPOOL e955c23dc885a0f661c29cbaead55c265a805a180e90e811e6ebdf32d1cd4671d4c412ada483c4a8e751b7f8fd8b67bd80791e9306966dd706362f4e3a200dac
|
||||
DIST pytools-2013.5.5.tar.gz 42425 SHA256 862ed5cc936ffa6ea5071f417e9d2be4f1fa4236b06da26caddfb4f186d44969 SHA512 b5f00bc7586692f700dd5c5419ac5ac6462f9dcfaf865e2b017d7be3b1af9c352927d93acaf8b16d3c59b35a9a6225b70f960ceadd899485c76d58b64e6ca207 WHIRLPOOL fcbfa43d4768c7f8e3a69a606e75547af1ea4158d1c008082cd552a89f63418cf124f46379272188a24fe653ecdad715802a12fb6dfd202967f83704766f68a7
|
||||
DIST pytools-2013.5.6.tar.gz 42765 SHA256 e15dc874f9d8b3f13cf6297e509eaffe722c459cd92a39858813b8dba55bc77e SHA512 47c049360e4b9c11ffbb2225a1ac0882fc491b016638c3d8841280d7ffa4d9fab0fa1f187f42dc1f88ed837e11a866c334805a329f478b0db02b6db3a2746aac WHIRLPOOL 40ac4e6f6378bbfc16b4fcbee36c870c122c968581842d2dc3d44a2fdeeb57ed026ff308cde6f2a17a8ed5f02de4b8f74007ef5bcef02c75f8ebb28c0c68ea53
|
||||
DIST pytools-2013.5.tar.gz 43567 SHA256 5e7e47475bf55fc47d65a7001454511d2c7a279494de50968b8e6688b47ebe9e SHA512 cbdee343f814ced92bdbc6180821cd59ecf074d9bda1cba602fa1f2907de8b31d09eff644b8311559bd48952b67332149ca57ed65ac8bbe9179f7412130e9d7f WHIRLPOOL 54ec654b4cc696781668937040670729428770687021631bdd530b3e438eb2718458a9fac14faad5d811ac1a9c51e209de381cef79161921ff0a6c09ec6de2a0
|
||||
DIST pytools-2013.5.7.tar.gz 43251 SHA256 00165825fd5792a1929d2a8ef1c1fca9f14607262b4efdb1c936536e7f0020ee SHA512 e6ba59dc5b419ae69ecd8a46497dd943ecd23aba669100721467799aed7ff2fa8f13beacb41b8cbf7e73efecfeb0fe3dab4b4a2094664e1bbefeadb722309fab WHIRLPOOL 9a0ecee7eef6de89ae66f3854bc569434f58e3d10b79ff49dec38f0564239f5fc743a9a29e7fd6f1133b298e4672ed084b5772552f4a2a2c8980b11efefc667a
|
||||
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pytools/pytools-11.ebuild,v 1.3 2011/01/01 21:08:52 arfrever Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="A collection of tools missing from the Python standard library"
|
||||
HOMEPAGE="http://mathema.tician.de/software/pytools"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
RDEPEND=""
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pytools/pytools-2012.1.ebuild,v 1.4 2013/09/05 18:46:05 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A collection of tools missing from the Python standard library"
|
||||
HOMEPAGE="http://mathema.tician.de/software/pytools"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
RDEPEND=""
|
||||
|
||||
python_test() {
|
||||
py.test || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pytools/pytools-2013.1.ebuild,v 1.2 2013/09/05 18:46:05 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A collection of tools missing from the Python standard library"
|
||||
HOMEPAGE="http://mathema.tician.de/software/pytools"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
RDEPEND=""
|
||||
|
||||
python_test() {
|
||||
py.test || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pytools/pytools-2013.2.ebuild,v 1.2 2013/09/05 18:46:05 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A collection of tools missing from the Python standard library"
|
||||
HOMEPAGE="http://mathema.tician.de/software/pytools"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
RDEPEND=""
|
||||
|
||||
python_test() {
|
||||
py.test || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pytools/pytools-2013.5.3.ebuild,v 1.3 2013/09/05 18:46:05 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A collection of tools missing from the Python standard library"
|
||||
HOMEPAGE="http://mathema.tician.de/software/pytools"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
>=dev-python/setuptools-0.7.2[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/decorator[${PYTHON_USEDEP}] )"
|
||||
RDEPEND=""
|
||||
|
||||
python_test() {
|
||||
py.test || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pytools/pytools-2013.5.5.ebuild,v 1.3 2013/09/05 18:46:05 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A collection of tools missing from the Python standard library"
|
||||
HOMEPAGE="http://mathema.tician.de/software/pytools"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
>=dev-python/setuptools-0.7.2[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/decorator[${PYTHON_USEDEP}] )"
|
||||
RDEPEND=""
|
||||
|
||||
python_test() {
|
||||
py.test || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST Scrapy-0.14.4.tar.gz 726253 SHA256 8de12ac37136524ad2fb0d83db10736b03b1d445b6d4c492c053bec78f3d42e6 SHA512 de7f5b320186e84f68c849e97337efc0c52f62e48686b7bc9c79c60a3b65e6acd04776f25fcab931c9d74de9741e9c85e261e360c8e1334559cf4dcbc34574a3 WHIRLPOOL 3270dfd542de903dc54ab0c51dfdf82c035726e8ce5efb3cb193fe6f9772e7cd08be5c7b04a473f90ed4579ad50cd05a893195d1d05af88b1e648137213fa695
|
||||
DIST Scrapy-0.16.4.tar.gz 679384 SHA256 cc70a8a803c5c086956f42aeda49f9780980c89078438afe606c63e39cf19c46 SHA512 9212c6da0debb97ffa59f965da1d5eb3396c1dd6fcef9fc790d3ae2737e1a6f75f00dd488983b0ffbbad5bcc87b16593cb3524b60bc71a7e0431eb6e3076e7ca WHIRLPOOL bc64bb42e2b51ebbd0c2eb8bcae9c7695aead180f8ac615f0d21798380ad2ac1552179369d2df5c3fd8ad7b9b514cd2643625226094bb18ec4b897f572454741
|
||||
DIST scrapy-0.17.0.tar.gz 881738 SHA256 fa4c827ba005bd2e90387f4c68056e7e64397b09ef3ac608ca43abee21268387 SHA512 119b88f5ccd96ee626c6b5ef6a75bafd2e41337ec59f0df10f31318671e9534751c11409262af8e1ab02d33b0e48d0b371eb78cab88279865d001fae8756ada8 WHIRLPOOL 1ac38c09476ab643ae6af7976b5cb9797df5f3f0be9197fc8ad754159dc8b6b9be70a0f9a2ece4d4dc350f3051d6871ab505973692aea5a9733547aadd474623
|
||||
DIST scrapy-0.18.0.tar.gz 940372 SHA256 4c1fa8c3190cae8ed2bd55e928dbeef7f09f4a349913f29bd1caf14fce67b1ca SHA512 229b3f90ea46dece2ca11159e11713ab2fd2bd9c29303e59c26273c1ba9f8da1aaeb981b7b0c2d949f147b7a8d9e9cb75eebf5391de76ef4e4fc5422ed49d4f6 WHIRLPOOL fc66f2571885b2c19aadb1b19dc6ddd8917ceeea779f82595ec233f1f74fac77462e038d9d21b4849c2a12460f9e30d61e91d464e61011285e046afdc64b6c93
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue