parent
1c88e8348c
commit
691995118e
@ -1,3 +1,2 @@
|
||||
DIST gnupg-1.4.15.tar.bz2 3654415 SHA256 b6bb40a8f96dc1227b69f8e3b35f0bc4c8276923147f6069cae2f6307c62795d SHA512 fe789e120dfc38be35c1eed1c9b105a83debaed59696085a356812df2b57ceb0ed6b94c491e5db23e31a7f5efaa4d5a17d6a54197bb347d74df3cc54dd8d4aed WHIRLPOOL 3b65e61344bf53aa329bff6092f3912fb6c2db11b14da03c9d7f3f1140c12cb82f7b7ed8c50477cf3ff23799cd393c682fb014c095d53d2bb91fbf5606acab87
|
||||
DIST gnupg-1.4.16.tar.bz2 3656752 SHA256 7b3b748e6aaa338092a0b26b1730cd9355765b55e3684f58dd70f9a1b00f4a2f SHA512 62bccf22211c25cf2ffbf9d35b8f47211e3a71fd92828705d12b23e7d658c9c65c6d845eb5e887e0d855d90a49a5033ecf9de4e22a63e7d3fc052eb1ed33dff4 WHIRLPOOL 7b84449fe7e49e7009d30cdfb8e4b7e1067e3d4bddf94cfa9fca6b3fcfccaa4cd1bd86c3e08507a7f9f1080feb3057b7db1ddcbbaabf42a4fc84d0c36bc91d70
|
||||
DIST gnupg-2.0.22.tar.bz2 4277117 SHA256 437d0ab259854359fc48aa8795af80cff4975e559c111c92c03d0bc91408e251 SHA512 de534b2f4b8d3c320e97519fe0834bc403c96c6dbb2e24fc24eb68f4ff80374360ef66d83ddc3d6fa096c5199d3782abc5d06b866203378cba130b42802cc855 WHIRLPOOL c45e7b2560ae31f013f732863db99f6e23d0de83d03371fe592192c2b5f800503f7a1e273c59e4c99f3aa0401e8cfb2bdbf1c5029534f642305e768009f15fef
|
||||
|
@ -1,124 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-1.4.15.ebuild,v 1.11 2014/01/18 09:23:09 vapier Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
ECCVER="0.2.0"
|
||||
ECCVER_GNUPG="1.4.9"
|
||||
ECC_PATCH="${PN}-${ECCVER_GNUPG}-ecc${ECCVER}.diff"
|
||||
MY_P=${P/_/}
|
||||
|
||||
DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement"
|
||||
HOMEPAGE="http://www.gnupg.org/"
|
||||
SRC_URI="mirror://gnupg/gnupg/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="bzip2 curl ldap mta nls readline selinux smartcard static usb zlib linguas_ru"
|
||||
|
||||
COMMON_DEPEND="
|
||||
ldap? ( net-nds/openldap )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
zlib? ( sys-libs/zlib )
|
||||
curl? ( net-misc/curl )
|
||||
mta? ( virtual/mta )
|
||||
readline? ( sys-libs/readline )
|
||||
smartcard? ( =virtual/libusb-0* )
|
||||
usb? ( =virtual/libusb-0* )"
|
||||
|
||||
RDEPEND="!static? ( ${COMMON_DEPEND} )
|
||||
selinux? ( sec-policy/selinux-gpg )
|
||||
nls? ( virtual/libintl )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-lang/perl
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
# Install RU man page in right location
|
||||
sed -e "/^man_MANS =/s/ gpg\.ru\.1//" -i doc/Makefile.in || die "sed doc/Makefile.in failed"
|
||||
|
||||
# bug#469388
|
||||
sed -i -e 's/--batch --dearmor/--homedir . --batch --dearmor/' checks/Makefile.in
|
||||
|
||||
# Fix PIC definitions
|
||||
sed -i -e 's:PIC:__PIC__:' mpi/i386/mpih-{add,sub}1.S intl/relocatable.c \
|
||||
|| die "sed PIC failed"
|
||||
sed -i -e 's:if PIC:ifdef __PIC__:' mpi/sparc32v8/mpih-mul{1,2}.S || \
|
||||
die "sed PIC failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Certain sparc32 machines seem to have trouble building correctly with
|
||||
# -mcpu enabled. While this is not a gnupg problem, it is a temporary
|
||||
# fix until the gcc problem can be tracked down.
|
||||
if [ "${ARCH}" == "sparc" ] && [ "${PROFILE_ARCH}" == "sparc" ]; then
|
||||
filter-flags -mcpu=supersparc -mcpu=v8 -mcpu=v7
|
||||
fi
|
||||
|
||||
# 'USE=static' support was requested in #29299
|
||||
use static && append-ldflags -static
|
||||
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
$(use_enable ldap) \
|
||||
$(use_enable mta mailto) \
|
||||
--enable-hkp \
|
||||
--enable-finger \
|
||||
$(use_with !zlib included-zlib) \
|
||||
$(use_with curl libcurl /usr) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable smartcard card-support) \
|
||||
$(use_enable selinux selinux-support) \
|
||||
--without-capabilities \
|
||||
$(use_with readline) \
|
||||
$(use_with usb libusb /usr) \
|
||||
--enable-static-rnd=linux \
|
||||
--libexecdir="${EPREFIX}/usr/libexec" \
|
||||
--enable-noexecstack \
|
||||
CC_FOR_BUILD=$(tc-getBUILD_CC) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# keep the documentation in /usr/share/doc/...
|
||||
rm -rf "${ED}usr/share/gnupg/FAQ" "${ED}usr/share/gnupg/faq.html" || die
|
||||
|
||||
dodoc AUTHORS BUGS ChangeLog NEWS PROJECTS README THANKS \
|
||||
TODO VERSION doc/{FAQ,HACKING,DETAILS,OpenPGP}
|
||||
|
||||
exeinto /usr/libexec/gnupg
|
||||
doexe tools/make-dns-cert
|
||||
|
||||
# install RU documentation in right location
|
||||
if use linguas_ru; then
|
||||
cp doc/gpg.ru.1 "${T}/gpg.1" || die
|
||||
doman -i18n=ru "${T}/gpg.1"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "If you are using a non-Linux system, or a kernel older than 2.6.9,"
|
||||
ewarn "you MUST make the gpg binary setuid."
|
||||
echo
|
||||
# if use !bindist && use ecc; then
|
||||
# ewarn
|
||||
# ewarn "The elliptical curves patch is experimental"
|
||||
# ewarn "Further info available at http://alumnes.eps.udl.es/%7Ed4372211/index.en.html"
|
||||
# fi
|
||||
elog
|
||||
elog "See http://www.gentoo.org/doc/en/gnupg-user.xml for documentation on gnupg"
|
||||
elog
|
||||
elog "If you wish to view images emerge:"
|
||||
elog "media-gfx/xloadimage, media-gfx/xli or any other viewer"
|
||||
elog "Remember to use photo-viewer option in configuration file to activate the right viewer"
|
||||
}
|
@ -0,0 +1,179 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/docker/docker-0.8.1.ebuild,v 1.1 2014/02/21 15:56:26 gregkh Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Docker complements LXC with a high-level API which operates at the process level."
|
||||
HOMEPAGE="http://www.docker.io/"
|
||||
|
||||
GITHUB_URI="github.com/dotcloud/docker"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="git://${GITHUB_URI}.git"
|
||||
inherit git-2
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://${GITHUB_URI}/archive/v${PV}.zip -> ${P}.zip"
|
||||
DOCKER_GITCOMMIT="a1598d1"
|
||||
KEYWORDS="~amd64"
|
||||
[ "$DOCKER_GITCOMMIT" ] || die "DOCKER_GITCOMMIT must be added manually for each bump!"
|
||||
fi
|
||||
|
||||
inherit bash-completion-r1 linux-info systemd udev user
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="aufs btrfs +device-mapper doc vim-syntax zsh-completion"
|
||||
|
||||
# TODO work with upstream to allow us to build without lvm2 installed if we have -device-mapper
|
||||
CDEPEND="
|
||||
>=dev-db/sqlite-3.7.9:3
|
||||
sys-fs/lvm2[thin]
|
||||
"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
>=dev-lang/go-1.2
|
||||
>=sys-fs/btrfs-progs-0.20
|
||||
dev-vcs/git
|
||||
dev-vcs/mercurial
|
||||
doc? (
|
||||
dev-python/sphinx
|
||||
dev-python/sphinxcontrib-httpdomain
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
!app-emulation/docker-bin
|
||||
>=sys-apps/iproute2-3.5
|
||||
>=net-firewall/iptables-1.4
|
||||
>=app-emulation/lxc-0.8
|
||||
>=dev-vcs/git-1.7
|
||||
>=app-arch/xz-utils-4.9
|
||||
aufs? (
|
||||
|| (
|
||||
sys-fs/aufs3
|
||||
sys-kernel/aufs-sources
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
pkg_setup() {
|
||||
CONFIG_CHECK+="
|
||||
~BRIDGE
|
||||
~IP_NF_TARGET_MASQUERADE
|
||||
~MEMCG_SWAP
|
||||
~NETFILTER_XT_MATCH_ADDRTYPE
|
||||
~NETFILTER_XT_MATCH_CONNTRACK
|
||||
~NF_NAT
|
||||
~NF_NAT_NEEDED
|
||||
"
|
||||
ERROR_MEMCG_SWAP="CONFIG_MEMCG_SWAP: is required if you wish to limit swap usage of containers"
|
||||
|
||||
if use aufs; then
|
||||
CONFIG_CHECK+="
|
||||
~AUFS_FS
|
||||
"
|
||||
ERROR_AUFS_FS="CONFIG_AUFS_FS: is required to be set if and only if aufs-sources are used"
|
||||
fi
|
||||
|
||||
if use btrfs; then
|
||||
CONFIG_CHECK+="
|
||||
~BTRFS_FS
|
||||
"
|
||||
fi
|
||||
|
||||
if use device-mapper; then
|
||||
CONFIG_CHECK+="
|
||||
~BLK_DEV_DM
|
||||
~DM_THIN_PROVISIONING
|
||||
~EXT4_FS
|
||||
"
|
||||
fi
|
||||
|
||||
check_extra_config
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# if we treat them right, Docker's build scripts will set up a
|
||||
# reasonable GOAPTH for us
|
||||
export AUTO_GOPATH=1
|
||||
|
||||
# setup CFLAGS and LDFLAGS for separate build target
|
||||
# see https://github.com/tianon/docker-overlay/pull/10
|
||||
export CGO_CFLAGS="-I${ROOT}/usr/include"
|
||||
export CGO_LDFLAGS="-L${ROOT}/usr/lib"
|
||||
|
||||
# if we're building from a zip, we need the GITCOMMIT value
|
||||
[ "$DOCKER_GITCOMMIT" ] && export DOCKER_GITCOMMIT
|
||||
|
||||
if gcc-specs-pie; then
|
||||
sed -i 's/export LDFLAGS_STATIC="/export LDFLAGS_STATIC="-extldflags=-fno-PIC /' hack/make/dynbinary || die
|
||||
grep -q '-extldflags=-fno-PIC' hack/make/dynbinary || die 'sed failed'
|
||||
fi
|
||||
|
||||
# time to build!
|
||||
./hack/make.sh dynbinary || die
|
||||
|
||||
if use doc; then
|
||||
emake -C docs docs man || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
VERSION=$(cat VERSION)
|
||||
newbin bundles/$VERSION/dynbinary/docker-$VERSION docker
|
||||
exeinto /usr/libexec/docker
|
||||
newexe bundles/$VERSION/dynbinary/dockerinit-$VERSION dockerinit
|
||||
|
||||
newinitd contrib/init/openrc/docker.initd docker
|
||||
newconfd contrib/init/openrc/docker.confd docker
|
||||
|
||||
systemd_dounit contrib/init/systemd/docker.service
|
||||
|
||||
udev_dorules contrib/udev/*.rules
|
||||
|
||||
dodoc AUTHORS CONTRIBUTING.md CHANGELOG.md NOTICE README.md
|
||||
if use doc; then
|
||||
dohtml -r docs/_build/html/*
|
||||
doman docs/_build/man/*
|
||||
fi
|
||||
|
||||
dobashcomp contrib/completion/bash/*
|
||||
|
||||
if use zsh-completion; then
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins contrib/completion/zsh/*
|
||||
fi
|
||||
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles
|
||||
doins -r contrib/syntax/vim/ftdetect
|
||||
doins -r contrib/syntax/vim/syntax
|
||||
fi
|
||||
|
||||
insinto /usr/share/${P}/contrib
|
||||
doins contrib/README
|
||||
cp -R "${S}/contrib"/* "${D}/usr/share/${P}/contrib/"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
udev_reload
|
||||
|
||||
elog ""
|
||||
elog "To use docker, the docker daemon must be running as root. To automatically"
|
||||
elog "start the docker daemon at boot, add docker to the default runlevel:"
|
||||
elog " rc-update add docker default"
|
||||
elog "Similarly for systemd:"
|
||||
elog " systemctl enable docker.service"
|
||||
elog ""
|
||||
|
||||
# create docker group if the code checking for it in /etc/group exists
|
||||
enewgroup docker
|
||||
|
||||
elog "To use docker as a non-root user, add yourself to the docker group."
|
||||
elog ""
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 8625fe9..20fdd42 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -80,6 +80,8 @@ AS_IF([test "x${have_zinnia}" = "xyes" ],[
|
||||
AM_CONDITIONAL(WITH_ZINNIA,[false])
|
||||
])
|
||||
|
||||
+AC_SEARCH_LIBS([atan2],[m])
|
||||
+
|
||||
# check ibus
|
||||
PKG_CHECK_MODULES(IBUS, [
|
||||
ibus-1.0 >= 1.3
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-handwrite/ibus-handwrite-2.1.4-r1.ebuild,v 1.1 2014/02/21 16:10:46 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
inherit eutils python-single-r1 autotools-utils multilib
|
||||
|
||||
DESCRIPTION="hand write recognition/input using ibus IM engine"
|
||||
HOMEPAGE="http://code.google.com/p/ibus-handwrite/"
|
||||
SRC_URI="http://ibus-handwrite.googlecode.com/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nls +zinnia"
|
||||
|
||||
RDEPEND="zinnia? ( app-i18n/zinnia app-i18n/zinnia-tomoe )
|
||||
>=app-i18n/ibus-1.3.0
|
||||
>=x11-libs/gtk+-2.10
|
||||
x11-libs/gtkglext"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README )
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-link.patch #bug #501954
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable nls)
|
||||
$(use_enable zinnia)
|
||||
$(use_with zinnia zinnia-tomoe "${EPREFIX}"/usr/$(get_libdir)/zinnia/model/tomoe)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/icc-14.0.1.106.ebuild,v 1.1 2014/02/21 15:56:03 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
INTEL_DPN=parallel_studio_xe
|
||||
INTEL_DID=3644
|
||||
INTEL_DPV=2013_sp1_update1
|
||||
INTEL_SUBDIR=composerxe
|
||||
INTEL_SINGLE_ARCH=false
|
||||
|
||||
inherit intel-sdp
|
||||
|
||||
DESCRIPTION="Intel C/C++ Compiler"
|
||||
HOMEPAGE="http://software.intel.com/en-us/articles/intel-composer-xe/"
|
||||
|
||||
IUSE="eclipse linguas_ja"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
DEPEND="
|
||||
!dev-lang/ifc[linguas_ja]
|
||||
eclipse? ( dev-util/eclipse-sdk )"
|
||||
RDEPEND="${DEPEND}
|
||||
~dev-libs/intel-common-${PV}[compiler]"
|
||||
|
||||
INTEL_BIN_RPMS="compilerproc compilerproc-devel"
|
||||
INTEL_DAT_RPMS="compilerproc-common"
|
||||
|
||||
CHECKREQS_DISK_BUILD=325M
|
||||
|
||||
src_install() {
|
||||
if ! use linguas_ja; then
|
||||
find "${S}" -type d -name ja_JP -exec rm -rf '{}' + || die
|
||||
fi
|
||||
intel-sdp_src_install
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/idb/idb-14.0.1.106.ebuild,v 1.1 2014/02/21 16:37:29 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
INTEL_DPN=parallel_studio_xe
|
||||
INTEL_DID=3644
|
||||
INTEL_DPV=2013_sp1_update1
|
||||
INTEL_SUBDIR=composerxe
|
||||
INTEL_SINGLE_ARCH=false
|
||||
|
||||
inherit intel-sdp
|
||||
|
||||
_INTEL_PV1=14
|
||||
|
||||
DESCRIPTION="Intel C/C++/FORTRAN debugger"
|
||||
HOMEPAGE="http://software.intel.com/en-us/articles/intel-composer-xe/"
|
||||
|
||||
IUSE="eclipse"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
DEPEND=">=dev-libs/intel-common-13.1[compiler]"
|
||||
RDEPEND="${DEPEND}
|
||||
virtual/jre
|
||||
eclipse? ( dev-util/eclipse-sdk )"
|
||||
|
||||
INTEL_BIN_RPMS="idb"
|
||||
INTEL_DAT_RPMS="idb-common idbcdt"
|
||||
|
||||
CHECKREQS_DISK_BUILD=475M
|
||||
|
||||
pkg_setup() {
|
||||
_INTEL_PV1=13 intel-sdp_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed \
|
||||
-e "/^INSTALLDIR/s:=.*:=${INTEL_SDP_EDIR}:g" \
|
||||
-i ${INTEL_SDP_DIR}/bin/intel*/idb || die
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ifc-14.0.1.106.ebuild,v 1.1 2014/02/21 15:38:56 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
INTEL_DPN=parallel_studio_xe
|
||||
INTEL_DID=3644
|
||||
INTEL_DPV=2013_sp1_update1
|
||||
INTEL_SUBDIR=composerxe
|
||||
INTEL_SINGLE_ARCH=false
|
||||
|
||||
inherit intel-sdp
|
||||
|
||||
DESCRIPTION="Intel FORTRAN Compiler"
|
||||
HOMEPAGE="http://software.intel.com/en-us/articles/intel-composer-xe/"
|
||||
|
||||
IUSE="linguas_ja"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
DEPEND="!dev-lang/ifc[linguas_jp]"
|
||||
RDEPEND="${DEPEND}
|
||||
~dev-libs/intel-common-${PV}[compiler]"
|
||||
|
||||
INTEL_BIN_RPMS="compilerprof compilerprof-devel"
|
||||
INTEL_DAT_RPMS="compilerprof-common"
|
||||
|
||||
CHECKREQS_DISK_BUILD=375M
|
||||
|
||||
src_install() {
|
||||
if ! use linguas_ja; then
|
||||
find "${S}" -type d -name ja_JP -exec rm -rf '{}' + || die
|
||||
fi
|
||||
intel-sdp_src_install
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/intel-common/intel-common-14.0.1.106.ebuild,v 1.1 2014/02/21 15:29:42 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
INTEL_DPN=parallel_studio_xe
|
||||
INTEL_DID=3644
|
||||
INTEL_DPV=2013_sp1_update1
|
||||
INTEL_SUBDIR=composerxe
|
||||
INTEL_SINGLE_ARCH=false
|
||||
|
||||
inherit intel-sdp
|
||||
|
||||
DESCRIPTION="Common libraries and utilities needed for Intel compilers and libraries"
|
||||
HOMEPAGE="http://software.intel.com/en-us/articles/intel-compilers/"
|
||||
|
||||
IUSE="+compiler"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
CHECKREQS_DISK_BUILD=375M
|
||||
|
||||
pkg_setup() {
|
||||
einfo ${INTEL_SDP_EDIR}
|
||||
INTEL_BIN_RPMS="openmp openmp-devel"
|
||||
INTEL_DAT_RPMS="compilerpro-common"
|
||||
if use compiler; then
|
||||
INTEL_BIN_RPMS+=" compilerpro-devel sourcechecker-devel"
|
||||
INTEL_DAT_RPMS+=" compilerpro-vars sourcechecker-common"
|
||||
fi
|
||||
intel-sdp_pkg_setup
|
||||
}
|
||||
|
||||
src_install() {
|
||||
intel-sdp_src_install
|
||||
local path rootpath ldpath arch fenv=35intelsdp
|
||||
cat > ${fenv} <<-EOF
|
||||
NLSPATH=${INTEL_SDP_EDIR}/lib/locale/en_US/%N
|
||||
INTEL_LICENSE_FILE="${INTEL_SDP_EDIR}"/licenses:"${EPREFIX}/opt/intel/license"
|
||||
EOF
|
||||
for arch in ${INTEL_ARCH}; do
|
||||
path=${path}:${INTEL_SDP_EDIR}/bin/${arch}:${INTEL_SDP_EDIR}/mpirt/bin/${arch}
|
||||
rootpath=${rootpath}:${INTEL_SDP_EDIR}/bin/${arch}:${INTEL_SDP_EDIR}/mpirt/bin/${arch}
|
||||
ldpath=${ldpath}:${INTEL_SDP_EDIR}/compiler/lib/${arch}:${INTEL_SDP_EDIR}/mpirt/lib/${arch}
|
||||
done
|
||||
cat >> ${fenv} <<-EOF
|
||||
PATH=${path#:}
|
||||
ROOTPATH=${rootpath#:}
|
||||
LDPATH=${ldpath#:}
|
||||
EOF
|
||||
|
||||
doenvd ${fenv}
|
||||
|
||||
cat >> "${T}"/40-${PN} <<- EOF
|
||||
SEARCH_DIRS_MASK="${INTEL_SDP_EDIR}"
|
||||
EOF
|
||||
insinto /etc/revdep-rebuild/
|
||||
doins "${T}"/40-${PN}
|
||||
}
|
@ -1,5 +1,4 @@
|
||||
DIST openssl-0.9.8y.tar.gz 3785001 SHA256 bbecf13495e612936e3a9860c29c0701413564b7a964bf771a3575eaa867cee3 SHA512 cdc05067343d6b06a0d0278e90abcea9bf58439c98279ce0ce22673bf6f4a6597babcb276635c3b15cf04ec76cf53320236f5b6bbc46544a61280825f5b7b3cc WHIRLPOOL c8c9cb00f303c2d95a1d2000c74bb146fb069da9471093bf7a2c00db2a5955c2d63908b3314eb9cd12ea1e80c3bac143d3774bc27515f2ab03c5ef4d88b61612
|
||||
DIST openssl-1.0.0j.tar.gz 4047852 SHA256 626fb8fcb3eb7e966edbe71553ff993d137f6e8a87b05051a3695e621098b8af SHA512 9796c75b4d5de57928708f5f0a8ca01aff5b4974b60006454657ed54c34998bc54d747af03860d319db7e7a57b0cd3c267758ffaac31be2be045c977d5fc33d4 WHIRLPOOL 239f051930d9562e7266edd69cf3a1060d381a95228fd17813dd2dbf469c2cf066786b277c2fd56973b830a6b43f28934f5f15d3b6dfac8f37a6e6a65fcae455
|
||||
DIST openssl-1.0.1e.tar.gz 4459777 SHA256 f74f15e8c8ff11aa3d5bb5f276d202ec18d7246e95f961db76054199c69c1ae3 SHA512 c76857e439431b2ef6f2aa123997e53f82b9c3c964d4d765d7cc6c0c20b37a21adf578f9b759b2b65ae3925454c432a01b7de0cd320ece7181dc292e00d3244e WHIRLPOOL e85cca98d9525935977bab00a1309682c0571973a1472cdd75ea1c96a1b12d8b86d1b51a501bc24a6fdbf3257b047a569b5d24d6164a903af689b01d46a7e428
|
||||
DIST openssl-1.0.1f.tar.gz 4509212 SHA256 6cc2a80b17d64de6b7bac985745fdaba971d54ffd7d38d3556f998d7c0c9cb5a SHA512 8a50892ce0c32707486e248b273631c38e9743371f28f96b635a9e61dac31919e5cf00690d0926c1f425c718cb56c4fe18a87c6e679e0543ad453e42f7a811ef WHIRLPOOL 4489061d7348a53ed23fd01fbaf36b701c5a17968a4811cf0289aa8604752b1e3b3f4ed53ac629db3948d58fab1d9e0efdae5f6cde39a78828dd8b220fdb3900
|
||||
DIST openssl-c_rehash.sh.1.7 4167 SHA256 4999ee79892f52bd6a4a7baba9fac62262454d573bbffd72685d3aae9e48cee0 SHA512 55e8c2e827750a4f375cb83c86bfe2d166c01ffa5d7e9b16657b72b38b747c8985dd2c98f854c911dfbbee2ff3e92aff39fdf089d979b2e3534b7685ee8b80da WHIRLPOOL c88f06a3b8651f76b6289552cccceb64e13f6697c5f0ce3ff114c781ce1c218912b8ee308af9d087cd76a9600fdacda1953175bff07d7d3eb21b0c0b7f4f1ce1
|
||||
|
@ -1,35 +0,0 @@
|
||||
https://bugs.gentoo.org/463444
|
||||
|
||||
From 9ab3ce124616cb12bd39c6aa1e1bde0f46969b29 Mon Sep 17 00:00:00 2001
|
||||
From: Andy Polyakov <appro@openssl.org>
|
||||
Date: Mon, 18 Mar 2013 19:29:41 +0100
|
||||
Subject: [PATCH] e_aes_cbc_hmac_sha1.c: fix rare bad record mac on AES-NI
|
||||
plaforms.
|
||||
|
||||
PR: 3002
|
||||
(cherry picked from commit 5c60046553716fcf160718f59160493194f212dc)
|
||||
---
|
||||
crypto/evp/e_aes_cbc_hmac_sha1.c | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/crypto/evp/e_aes_cbc_hmac_sha1.c b/crypto/evp/e_aes_cbc_hmac_sha1.c
|
||||
index 483e04b..fb2c884 100644
|
||||
--- a/crypto/evp/e_aes_cbc_hmac_sha1.c
|
||||
+++ b/crypto/evp/e_aes_cbc_hmac_sha1.c
|
||||
@@ -328,10 +328,11 @@ static int aesni_cbc_hmac_sha1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
|
||||
|
||||
if (res!=SHA_CBLOCK) continue;
|
||||
|
||||
- mask = 0-((inp_len+8-j)>>(sizeof(j)*8-1));
|
||||
+ /* j is not incremented yet */
|
||||
+ mask = 0-((inp_len+7-j)>>(sizeof(j)*8-1));
|
||||
data->u[SHA_LBLOCK-1] |= bitlen&mask;
|
||||
sha1_block_data_order(&key->md,data,1);
|
||||
- mask &= 0-((j-inp_len-73)>>(sizeof(j)*8-1));
|
||||
+ mask &= 0-((j-inp_len-72)>>(sizeof(j)*8-1));
|
||||
pmac->u[0] |= key->md.h0 & mask;
|
||||
pmac->u[1] |= key->md.h1 & mask;
|
||||
pmac->u[2] |= key->md.h2 & mask;
|
||||
--
|
||||
1.8.2.1
|
||||
|
@ -1,375 +0,0 @@
|
||||
https://bugs.gentoo.org/483820
|
||||
|
||||
Submitted By: Martin Ward <macros_the_black at ntlworld dot com>
|
||||
Date: 2013-06-18
|
||||
Initial Package Version: 1.0.1e
|
||||
Upstream Status: Unknown
|
||||
Origin: self, based on fedora
|
||||
Description: Fixes install with perl-5.18.
|
||||
|
||||
--- openssl-1.0.1e.orig/doc/apps/cms.pod
|
||||
+++ openssl-1.0.1e/doc/apps/cms.pod
|
||||
@@ -450,28 +450,28 @@
|
||||
|
||||
=over 4
|
||||
|
||||
-=item 0
|
||||
+=item C<0>
|
||||
|
||||
the operation was completely successfully.
|
||||
|
||||
-=item 1
|
||||
+=item C<1>
|
||||
|
||||
an error occurred parsing the command options.
|
||||
|
||||
-=item 2
|
||||
+=item C<2>
|
||||
|
||||
one of the input files could not be read.
|
||||
|
||||
-=item 3
|
||||
+=item C<3>
|
||||
|
||||
an error occurred creating the CMS file or when reading the MIME
|
||||
message.
|
||||
|
||||
-=item 4
|
||||
+=item C<4>
|
||||
|
||||
an error occurred decrypting or verifying the message.
|
||||
|
||||
-=item 5
|
||||
+=item C<5>
|
||||
|
||||
the message was verified correctly but an error occurred writing out
|
||||
the signers certificates.
|
||||
--- openssl-1.0.1e.orig/doc/apps/smime.pod
|
||||
+++ openssl-1.0.1e/doc/apps/smime.pod
|
||||
@@ -308,28 +308,28 @@
|
||||
|
||||
=over 4
|
||||
|
||||
-=item 0
|
||||
+=item C<0>
|
||||
|
||||
the operation was completely successfully.
|
||||
|
||||
-=item 1
|
||||
+=item C<1>
|
||||
|
||||
an error occurred parsing the command options.
|
||||
|
||||
-=item 2
|
||||
+=item C<2>
|
||||
|
||||
one of the input files could not be read.
|
||||
|
||||
-=item 3
|
||||
+=item C<3>
|
||||
|
||||
an error occurred creating the PKCS#7 file or when reading the MIME
|
||||
message.
|
||||
|
||||
-=item 4
|
||||
+=item C<4>
|
||||
|
||||
an error occurred decrypting or verifying the message.
|
||||
|
||||
-=item 5
|
||||
+=item C<5>
|
||||
|
||||
the message was verified correctly but an error occurred writing out
|
||||
the signers certificates.
|
||||
--- openssl-1.0.1e.orig/doc/crypto/X509_STORE_CTX_get_error.pod
|
||||
+++ openssl-1.0.1e/doc/crypto/X509_STORE_CTX_get_error.pod
|
||||
@@ -278,6 +278,8 @@
|
||||
an application specific error. This will never be returned unless explicitly
|
||||
set by an application.
|
||||
|
||||
+=back
|
||||
+
|
||||
=head1 NOTES
|
||||
|
||||
The above functions should be used instead of directly referencing the fields
|
||||
--- openssl-1.0.1e.orig/doc/ssl/SSL_accept.pod
|
||||
+++ openssl-1.0.1e/doc/ssl/SSL_accept.pod
|
||||
@@ -44,12 +44,12 @@
|
||||
|
||||
=over 4
|
||||
|
||||
-=item 1
|
||||
+=item C<1>
|
||||
|
||||
The TLS/SSL handshake was successfully completed, a TLS/SSL connection has been
|
||||
established.
|
||||
|
||||
-=item 0
|
||||
+=item C<0>
|
||||
|
||||
The TLS/SSL handshake was not successful but was shut down controlled and
|
||||
by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the
|
||||
--- openssl-1.0.1e.orig/doc/ssl/SSL_clear.pod
|
||||
+++ openssl-1.0.1e/doc/ssl/SSL_clear.pod
|
||||
@@ -56,12 +56,12 @@
|
||||
|
||||
=over 4
|
||||
|
||||
-=item 0
|
||||
+=item C<0>
|
||||
|
||||
The SSL_clear() operation could not be performed. Check the error stack to
|
||||
find out the reason.
|
||||
|
||||
-=item 1
|
||||
+=item C<1>
|
||||
|
||||
The SSL_clear() operation was successful.
|
||||
|
||||
--- openssl-1.0.1e.orig/doc/ssl/SSL_COMP_add_compression_method.pod
|
||||
+++ openssl-1.0.1e/doc/ssl/SSL_COMP_add_compression_method.pod
|
||||
@@ -53,11 +53,11 @@
|
||||
|
||||
=over 4
|
||||
|
||||
-=item 0
|
||||
+=item C<0>
|
||||
|
||||
The operation succeeded.
|
||||
|
||||
-=item 1
|
||||
+=item C<1>
|
||||
|
||||
The operation failed. Check the error queue to find out the reason.
|
||||
|
||||
--- openssl-1.0.1e.orig/doc/ssl/SSL_connect.pod
|
||||
+++ openssl-1.0.1e/doc/ssl/SSL_connect.pod
|
||||
@@ -41,12 +41,12 @@
|
||||
|
||||
=over 4
|
||||
|
||||
-=item 1
|
||||
+=item C<1>
|
||||
|
||||
The TLS/SSL handshake was successfully completed, a TLS/SSL connection has been
|
||||
established.
|
||||
|
||||
-=item 0
|
||||
+=item C<0>
|
||||
|
||||
The TLS/SSL handshake was not successful but was shut down controlled and
|
||||
by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the
|
||||
--- openssl-1.0.1e.orig/doc/ssl/SSL_CTX_add_session.pod
|
||||
+++ openssl-1.0.1e/doc/ssl/SSL_CTX_add_session.pod
|
||||
@@ -52,13 +52,13 @@
|
||||
|
||||
=over 4
|
||||
|
||||
-=item 0
|
||||
+=item C<0>
|
||||
|
||||
The operation failed. In case of the add operation, it was tried to add
|
||||
the same (identical) session twice. In case of the remove operation, the
|
||||
session was not found in the cache.
|
||||
|
||||
-=item 1
|
||||
+=item C<1>
|
||||
|
||||
The operation succeeded.
|
||||
|
||||
--- openssl-1.0.1e.orig/doc/ssl/SSL_CTX_load_verify_locations.pod
|
||||
+++ openssl-1.0.1e/doc/ssl/SSL_CTX_load_verify_locations.pod
|
||||
@@ -100,13 +100,13 @@
|
||||
|
||||
=over 4
|
||||
|
||||
-=item 0
|
||||
+=item C<0>
|
||||
|
||||
The operation failed because B<CAfile> and B<CApath> are NULL or the
|
||||
processing at one of the locations specified failed. Check the error
|
||||
stack to find out the reason.
|
||||
|
||||
-=item 1
|
||||
+=item C<1>
|
||||
|
||||
The operation succeeded.
|
||||
|
||||
--- openssl-1.0.1e.orig/doc/ssl/SSL_CTX_set_client_CA_list.pod
|
||||
+++ openssl-1.0.1e/doc/ssl/SSL_CTX_set_client_CA_list.pod
|
||||
@@ -66,11 +66,11 @@
|
||||
|
||||
=over 4
|
||||
|
||||
-=item 1
|
||||
+=item C<1>
|
||||
|
||||
The operation succeeded.
|
||||
|
||||
-=item 0
|
||||
+=item C<0>
|
||||
|
||||
A failure while manipulating the STACK_OF(X509_NAME) object occurred or
|
||||
the X509_NAME could not be extracted from B<cacert>. Check the error stack
|
||||
--- openssl-1.0.1e.orig/doc/ssl/SSL_CTX_set_session_id_context.pod
|
||||
+++ openssl-1.0.1e/doc/ssl/SSL_CTX_set_session_id_context.pod
|
||||
@@ -64,13 +64,13 @@
|
||||
|
||||
=over 4
|
||||
|
||||
-=item 0
|
||||
+=item C<0>
|
||||
|
||||
The length B<sid_ctx_len> of the session id context B<sid_ctx> exceeded
|
||||
the maximum allowed length of B<SSL_MAX_SSL_SESSION_ID_LENGTH>. The error
|
||||
is logged to the error stack.
|
||||
|
||||
-=item 1
|
||||
+=item C<1>
|
||||
|
||||
The operation succeeded.
|
||||
|
||||
--- openssl-1.0.1e.orig/doc/ssl/SSL_CTX_set_ssl_version.pod
|
||||
+++ openssl-1.0.1e/doc/ssl/SSL_CTX_set_ssl_version.pod
|
||||
@@ -42,11 +42,11 @@
|
||||
|
||||
=over 4
|
||||
|
||||
-=item 0
|
||||
+=item C<0>
|
||||
|
||||
The new choice failed, check the error stack to find out the reason.
|
||||
|
||||
-=item 1
|
||||
+=item C<1>
|
||||
|
||||
The operation succeeded.
|
||||
|
||||
--- openssl-1.0.1e.orig/doc/ssl/SSL_CTX_use_psk_identity_hint.pod
|
||||
+++ openssl-1.0.1e/doc/ssl/SSL_CTX_use_psk_identity_hint.pod
|
||||
@@ -81,6 +81,8 @@
|
||||
|
||||
Return values from the server callback are interpreted as follows:
|
||||
|
||||
+=over
|
||||
+
|
||||
=item > 0
|
||||
|
||||
PSK identity was found and the server callback has provided the PSK
|
||||
@@ -94,9 +96,11 @@
|
||||
connection will fail with decryption_error before it will be finished
|
||||
completely.
|
||||
|
||||
-=item 0
|
||||
+=item C<0>
|
||||
|
||||
PSK identity was not found. An "unknown_psk_identity" alert message
|
||||
will be sent and the connection setup fails.
|
||||
|
||||
+=back
|
||||
+
|
||||
=cut
|
||||
--- openssl-1.0.1e.orig/doc/ssl/SSL_do_handshake.pod
|
||||
+++ openssl-1.0.1e/doc/ssl/SSL_do_handshake.pod
|
||||
@@ -45,12 +45,12 @@
|
||||
|
||||
=over 4
|
||||
|
||||
-=item 1
|
||||
+=item C<1>
|
||||
|
||||
The TLS/SSL handshake was successfully completed, a TLS/SSL connection has been
|
||||
established.
|
||||
|
||||
-=item 0
|
||||
+=item C<0>
|
||||
|
||||
The TLS/SSL handshake was not successful but was shut down controlled and
|
||||
by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the
|
||||
--- openssl-1.0.1e.orig/doc/ssl/SSL_read.pod
|
||||
+++ openssl-1.0.1e/doc/ssl/SSL_read.pod
|
||||
@@ -86,7 +86,7 @@
|
||||
The read operation was successful; the return value is the number of
|
||||
bytes actually read from the TLS/SSL connection.
|
||||
|
||||
-=item 0
|
||||
+=item C<0>
|
||||
|
||||
The read operation was not successful. The reason may either be a clean
|
||||
shutdown due to a "close notify" alert sent by the peer (in which case
|
||||
--- openssl-1.0.1e.orig/doc/ssl/SSL_session_reused.pod
|
||||
+++ openssl-1.0.1e/doc/ssl/SSL_session_reused.pod
|
||||
@@ -27,11 +27,11 @@
|
||||
|
||||
=over 4
|
||||
|
||||
-=item 0
|
||||
+=item C<0>
|
||||
|
||||
A new session was negotiated.
|
||||
|
||||
-=item 1
|
||||
+=item C<1>
|
||||
|
||||
A session was reused.
|
||||
|
||||
--- openssl-1.0.1e.orig/doc/ssl/SSL_set_fd.pod
|
||||
+++ openssl-1.0.1e/doc/ssl/SSL_set_fd.pod
|
||||
@@ -35,11 +35,11 @@
|
||||
|
||||
=over 4
|
||||
|
||||
-=item 0
|
||||
+=item C<0>
|
||||
|
||||
The operation failed. Check the error stack to find out why.
|
||||
|
||||
-=item 1
|
||||
+=item C<1>
|
||||
|
||||
The operation succeeded.
|
||||
|
||||
--- openssl-1.0.1e.orig/doc/ssl/SSL_set_session.pod
|
||||
+++ openssl-1.0.1e/doc/ssl/SSL_set_session.pod
|
||||
@@ -37,11 +37,11 @@
|
||||
|
||||
=over 4
|
||||
|
||||
-=item 0
|
||||
+=item C<0>
|
||||
|
||||
The operation failed; check the error stack to find out the reason.
|
||||
|
||||
-=item 1
|
||||
+=item C<1>
|
||||
|
||||
The operation succeeded.
|
||||
|
||||
--- openssl-1.0.1e.orig/doc/ssl/SSL_shutdown.pod
|
||||
+++ openssl-1.0.1e/doc/ssl/SSL_shutdown.pod
|
||||
@@ -92,12 +92,12 @@
|
||||
|
||||
=over 4
|
||||
|
||||
-=item 1
|
||||
+=item C<1>
|
||||
|
||||
The shutdown was successfully completed. The "close notify" alert was sent
|
||||
and the peer's "close notify" alert was received.
|
||||
|
||||
-=item 0
|
||||
+=item C<0>
|
||||
|
||||
The shutdown is not yet finished. Call SSL_shutdown() for a second time,
|
||||
if a bidirectional shutdown shall be performed.
|
||||
--- openssl-1.0.1e.orig/doc/ssl/SSL_write.pod
|
||||
+++ openssl-1.0.1e/doc/ssl/SSL_write.pod
|
||||
@@ -79,7 +79,7 @@
|
||||
The write operation was successful, the return value is the number of
|
||||
bytes actually written to the TLS/SSL connection.
|
||||
|
||||
-=item 0
|
||||
+=item C<0>
|
||||
|
||||
The write operation was not successful. Probably the underlying connection
|
||||
was closed. Call SSL_get_error() with the return value B<ret> to find out,
|
@ -1,28 +0,0 @@
|
||||
https://chromium-review.googlesource.com/181001
|
||||
|
||||
From 8a1956f3eac8b164f8c741ff1a259008bab3bac1 Mon Sep 17 00:00:00 2001
|
||||
From: "Dr. Stephen Henson" <steve@openssl.org>
|
||||
Date: Wed, 11 Dec 2013 14:45:12 +0000
|
||||
Subject: [PATCH] Don't use rdrand engine as default unless explicitly
|
||||
requested. (cherry picked from commit
|
||||
16898401bd47a153fbf799127ff57fdcfcbd324f)
|
||||
|
||||
---
|
||||
crypto/engine/eng_rdrand.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/crypto/engine/eng_rdrand.c b/crypto/engine/eng_rdrand.c
|
||||
index a9ba5ae..4e9e91d 100644
|
||||
--- a/crypto/engine/eng_rdrand.c
|
||||
+++ b/crypto/engine/eng_rdrand.c
|
||||
@@ -104,6 +104,7 @@ static int bind_helper(ENGINE *e)
|
||||
{
|
||||
if (!ENGINE_set_id(e, engine_e_rdrand_id) ||
|
||||
!ENGINE_set_name(e, engine_e_rdrand_name) ||
|
||||
+ !ENGINE_set_flags(e, ENGINE_FLAGS_NO_REGISTER_ALL) ||
|
||||
!ENGINE_set_init_function(e, rdrand_init) ||
|
||||
!ENGINE_set_RAND(e, &rdrand_meth) )
|
||||
return 0;
|
||||
--
|
||||
1.8.4.3
|
||||
|
@ -1,34 +0,0 @@
|
||||
https://bugs.gentoo.org/494816
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=1045363
|
||||
http://rt.openssl.org/Ticket/Display.html?id=3200&user=guest&pass=guest
|
||||
|
||||
From ca989269a2876bae79393bd54c3e72d49975fc75 Mon Sep 17 00:00:00 2001
|
||||
From: "Dr. Stephen Henson" <steve@openssl.org>
|
||||
Date: Thu, 19 Dec 2013 14:37:39 +0000
|
||||
Subject: [PATCH] Use version in SSL_METHOD not SSL structure.
|
||||
|
||||
When deciding whether to use TLS 1.2 PRF and record hash algorithms
|
||||
use the version number in the corresponding SSL_METHOD structure
|
||||
instead of the SSL structure. The SSL structure version is sometimes
|
||||
inaccurate. Note: OpenSSL 1.0.2 and later effectively do this already.
|
||||
(CVE-2013-6449)
|
||||
---
|
||||
ssl/s3_lib.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c
|
||||
index bf832bb..c4ef273 100644
|
||||
--- a/ssl/s3_lib.c
|
||||
+++ b/ssl/s3_lib.c
|
||||
@@ -4286,7 +4286,7 @@ need to go to SSL_ST_ACCEPT.
|
||||
long ssl_get_algorithm2(SSL *s)
|
||||
{
|
||||
long alg2 = s->s3->tmp.new_cipher->algorithm2;
|
||||
- if (TLS1_get_version(s) >= TLS1_2_VERSION &&
|
||||
+ if (s->method->version == TLS1_2_VERSION &&
|
||||
alg2 == (SSL_HANDSHAKE_MAC_DEFAULT|TLS1_PRF))
|
||||
return SSL_HANDSHAKE_MAC_SHA256 | TLS1_PRF_SHA256;
|
||||
return alg2;
|
||||
--
|
||||
1.8.4.3
|
||||
|
@ -1,237 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-1.0.1e-r1.ebuild,v 1.17 2014/01/16 17:37:37 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib
|
||||
|
||||
REV="1.7"
|
||||
DESCRIPTION="full-strength general purpose cryptography library (including SSL and TLS)"
|
||||
HOMEPAGE="http://www.openssl.org/"
|
||||
SRC_URI="mirror://openssl/source/${P}.tar.gz
|
||||
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/${PN}/${PN}-c_rehash.sh?rev=${REV} -> ${PN}-c_rehash.sh.${REV}"
|
||||
|
||||
LICENSE="openssl"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc -ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
|
||||
IUSE="bindist gmp kerberos rfc3779 sse2 static-libs test +tls-heartbeat vanilla zlib"
|
||||
|
||||
# Have the sub-libs in RDEPEND with [static-libs] since, logically,
|
||||
# our libssl.a depends on libz.a/etc... at runtime.
|
||||
LIB_DEPEND="gmp? ( dev-libs/gmp[static-libs(+)] )
|
||||
zlib? ( sys-libs/zlib[static-libs(+)] )
|
||||
kerberos? ( app-crypt/mit-krb5 )"
|
||||
# The blocks are temporary just to make sure people upgrade to a
|
||||
# version that lack runtime version checking. We'll drop them in
|
||||
# the future.
|
||||
RDEPEND="static-libs? ( ${LIB_DEPEND} )
|
||||
!static-libs? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||
!<net-misc/openssh-5.9_p1-r4
|
||||
!<net-libs/neon-0.29.6-r1"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/diffutils
|
||||
>=dev-lang/perl-5
|
||||
test? ( sys-devel/bc )"
|
||||
PDEPEND="app-misc/ca-certificates"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.gz
|
||||
SSL_CNF_DIR="/etc/ssl"
|
||||
sed \
|
||||
-e "/^DIR=/s:=.*:=${EPREFIX}${SSL_CNF_DIR}:" \
|
||||
-e "s:SSL_CMD=/usr:SSL_CMD=${EPREFIX}/usr:" \
|
||||
"${DISTDIR}"/${PN}-c_rehash.sh.${REV} \
|
||||
> "${WORKDIR}"/c_rehash || die #416717
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Make sure we only ever touch Makefile.org and avoid patching a file
|
||||
# that gets blown away anyways by the Configure script in src_configure
|
||||
rm -f Makefile
|
||||
|
||||
if ! use vanilla ; then
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0a-ldflags.patch #327421
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0d-windres.patch #373743
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0h-pkg-config.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1-parallel-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1-x32.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1e-ipv6.patch
|
||||
epatch "${FILESDIR}"/${P}-bad-mac-aes-ni.patch #463444
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1e-perl-5.18.patch #483820
|
||||
epatch_user #332661
|
||||
fi
|
||||
|
||||
# disable fips in the build
|
||||
# make sure the man pages are suffixed #302165
|
||||
# don't bother building man pages if they're disabled
|
||||
sed -i \
|
||||
-e '/DIRS/s: fips : :g' \
|
||||
-e '/^MANSUFFIX/s:=.*:=ssl:' \
|
||||
-e '/^MAKEDEPPROG/s:=.*:=$(CC):' \
|
||||
-e $(has noman FEATURES \
|
||||
&& echo '/^install:/s:install_docs::' \
|
||||
|| echo '/^MANDIR=/s:=.*:='${EPREFIX}'/usr/share/man:') \
|
||||
Makefile.org \
|
||||
|| die
|
||||
# show the actual commands in the log
|
||||
sed -i '/^SET_X/s:=.*:=set -x:' Makefile.shared
|
||||
|
||||
# allow openssl to be cross-compiled
|
||||
cp "${FILESDIR}"/gentoo.config-1.0.1 gentoo.config || die
|
||||
chmod a+rx gentoo.config
|
||||
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags $(test-flags-CC -Wa,--noexecstack)
|
||||
|
||||
sed -i '1s,^:$,#!'${EPREFIX}'/usr/bin/perl,' Configure #141906
|
||||
# The config script does stupid stuff to prompt the user. Kill it.
|
||||
sed -i '/stty -icanon min 0 time 50; read waste/d' config || die
|
||||
./config --test-sanity || die "I AM NOT SANE"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
unset APPS #197996
|
||||
unset SCRIPTS #312551
|
||||
unset CROSS_COMPILE #311473
|
||||
|
||||
tc-export CC AR RANLIB RC
|
||||
|
||||
# Clean out patent-or-otherwise-encumbered code
|
||||
# Camellia: Royalty Free http://en.wikipedia.org/wiki/Camellia_(cipher)
|
||||
# IDEA: Expired http://en.wikipedia.org/wiki/International_Data_Encryption_Algorithm
|
||||
# EC: ????????? ??/??/2015 http://en.wikipedia.org/wiki/Elliptic_Curve_Cryptography
|
||||
# MDC2: Expired http://en.wikipedia.org/wiki/MDC-2
|
||||
# RC5: 5,724,428 03/03/2015 http://en.wikipedia.org/wiki/RC5
|
||||
|
||||
use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; }
|
||||
echoit() { echo "$@" ; "$@" ; }
|
||||
|
||||
local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal")
|
||||
|
||||
# See if our toolchain supports __uint128_t. If so, it's 64bit
|
||||
# friendly and can use the nicely optimized code paths. #460790
|
||||
local ec_nistp_64_gcc_128
|
||||
if ! use bindist ; then
|
||||
echo "__uint128_t i;" > "${T}"/128.c
|
||||
if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then
|
||||
ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128"
|
||||
fi
|
||||
fi
|
||||
|
||||
local sslout=$(./gentoo.config)
|
||||
einfo "Use configuration ${sslout:-(openssl knows best)}"
|
||||
local config="Configure"
|
||||
[[ -z ${sslout} ]] && config="config"
|
||||
echoit \
|
||||
./${config} \
|
||||
${sslout} \
|
||||
$(use sse2 || echo "no-sse2") \
|
||||
enable-camellia \
|
||||
$(use_ssl !bindist ec) \
|
||||
${ec_nistp_64_gcc_128} \
|
||||
enable-idea \
|
||||
enable-mdc2 \
|
||||
$(use_ssl !bindist rc5) \
|
||||
enable-tlsext \
|
||||
$(use_ssl gmp gmp -lgmp) \
|
||||
$(use_ssl kerberos krb5 --with-krb5-flavor=${krb5}) \
|
||||
$(use_ssl rfc3779) \
|
||||
$(use_ssl tls-heartbeat heartbeats) \
|
||||
$(use_ssl zlib) \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--openssldir="${EPREFIX}"${SSL_CNF_DIR} \
|
||||
--libdir=$(get_libdir) \
|
||||
shared threads \
|
||||
|| die
|
||||
|
||||
# Clean out hardcoded flags that openssl uses
|
||||
local CFLAG=$(grep ^CFLAG= Makefile | LC_ALL=C sed \
|
||||
-e 's:^CFLAG=::' \
|
||||
-e 's:-fomit-frame-pointer ::g' \
|
||||
-e 's:-O[0-9] ::g' \
|
||||
-e 's:-march=[-a-z0-9]* ::g' \
|
||||
-e 's:-mcpu=[-a-z0-9]* ::g' \
|
||||
-e 's:-m[a-z0-9]* ::g' \
|
||||
)
|
||||
sed -i \
|
||||
-e "/^CFLAG/s|=.*|=${CFLAG} ${CFLAGS}|" \
|
||||
-e "/^SHARED_LDFLAGS=/s|$| ${LDFLAGS}|" \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# depend is needed to use $confopts; it also doesn't matter
|
||||
# that it's -j1 as the code itself serializes subdirs
|
||||
emake -j1 depend
|
||||
emake all
|
||||
# rehash is needed to prep the certs/ dir; do this
|
||||
# separately to avoid parallel build issues.
|
||||
emake rehash
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_PREFIX="${D}" install
|
||||
dobin "${WORKDIR}"/c_rehash #333117
|
||||
dodoc CHANGES* FAQ NEWS README doc/*.txt doc/c-indentation.el
|
||||
dohtml -r doc/*
|
||||
use rfc3779 && dodoc engines/ccgost/README.gost
|
||||
|
||||
# This is crappy in that the static archives are still built even
|
||||
# when USE=static-libs. But this is due to a failing in the openssl
|
||||
# build system: the static archives are built as PIC all the time.
|
||||
# Only way around this would be to manually configure+compile openssl
|
||||
# twice; once with shared lib support enabled and once without.
|
||||
use static-libs || rm -f "${ED}"/usr/lib*/lib*.a
|
||||
|
||||
# create the certs directory
|
||||
dodir ${SSL_CNF_DIR}/certs
|
||||
cp -RP certs/* "${ED}"${SSL_CNF_DIR}/certs/ || die
|
||||
rm -r "${ED}"${SSL_CNF_DIR}/certs/{demo,expired}
|
||||
|
||||
# Namespace openssl programs to prevent conflicts with other man pages
|
||||
cd "${ED}"/usr/share/man
|
||||
local m d s
|
||||
for m in $(find . -type f | xargs grep -L '#include') ; do
|
||||
d=${m%/*} ; d=${d#./} ; m=${m##*/}
|
||||
[[ ${m} == openssl.1* ]] && continue
|
||||
[[ -n $(find -L ${d} -type l) ]] && die "erp, broken links already!"
|
||||
mv ${d}/{,ssl-}${m}
|
||||
# fix up references to renamed man pages
|
||||
sed -i '/^[.]SH "SEE ALSO"/,/^[.]/s:\([^(, ]*(1)\):ssl-\1:g' ${d}/ssl-${m}
|
||||
ln -s ssl-${m} ${d}/openssl-${m}
|
||||
# locate any symlinks that point to this man page ... we assume
|
||||
# that any broken links are due to the above renaming
|
||||
for s in $(find -L ${d} -type l) ; do
|
||||
s=${s##*/}
|
||||
rm -f ${d}/${s}
|
||||
ln -s ssl-${m} ${d}/ssl-${s}
|
||||
ln -s ssl-${s} ${d}/openssl-${s}
|
||||
done
|
||||
done
|
||||
[[ -n $(find -L ${d} -type l) ]] && die "broken manpage links found :("
|
||||
|
||||
dodir /etc/sandbox.d #254521
|
||||
echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl
|
||||
|
||||
diropts -m0700
|
||||
keepdir ${SSL_CNF_DIR}/private
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
has_version ${CATEGORY}/${PN}:0.9.8 && return 0
|
||||
preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ebegin "Running 'c_rehash ${EROOT%/}${SSL_CNF_DIR}/certs/' to rebuild hashes #333069"
|
||||
c_rehash "${EROOT%/}${SSL_CNF_DIR}/certs" >/dev/null
|
||||
eend $?
|
||||
|
||||
has_version ${CATEGORY}/${PN}:0.9.8 && return 0
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8
|
||||
}
|
@ -1,239 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-1.0.1e-r2.ebuild,v 1.1 2013/10/23 16:10:35 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib
|
||||
|
||||
REV="1.7"
|
||||
DESCRIPTION="full-strength general purpose cryptography library (including SSL and TLS)"
|
||||
HOMEPAGE="http://www.openssl.org/"
|
||||
SRC_URI="mirror://openssl/source/${P}.tar.gz
|
||||
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/${PN}/${PN}-c_rehash.sh?rev=${REV} -> ${PN}-c_rehash.sh.${REV}"
|
||||
|
||||
LICENSE="openssl"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
|
||||
IUSE="bindist gmp kerberos rfc3779 sse2 static-libs test +tls-heartbeat vanilla zlib"
|
||||
|
||||
# Have the sub-libs in RDEPEND with [static-libs] since, logically,
|
||||
# our libssl.a depends on libz.a/etc... at runtime.
|
||||
LIB_DEPEND="gmp? ( dev-libs/gmp[static-libs(+)] )
|
||||
zlib? ( sys-libs/zlib[static-libs(+)] )
|
||||
kerberos? ( app-crypt/mit-krb5 )"
|
||||
# The blocks are temporary just to make sure people upgrade to a
|
||||
# version that lack runtime version checking. We'll drop them in
|
||||
# the future.
|
||||
RDEPEND="static-libs? ( ${LIB_DEPEND} )
|
||||
!static-libs? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||
!<net-misc/openssh-5.9_p1-r4
|
||||
!<net-libs/neon-0.29.6-r1"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/diffutils
|
||||
>=dev-lang/perl-5
|
||||
test? ( sys-devel/bc )"
|
||||
PDEPEND="app-misc/ca-certificates"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.gz
|
||||
SSL_CNF_DIR="/etc/ssl"
|
||||
sed \
|
||||
-e "/^DIR=/s:=.*:=${EPREFIX}${SSL_CNF_DIR}:" \
|
||||
-e "s:SSL_CMD=/usr:SSL_CMD=${EPREFIX}/usr:" \
|
||||
"${DISTDIR}"/${PN}-c_rehash.sh.${REV} \
|
||||
> "${WORKDIR}"/c_rehash || die #416717
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Make sure we only ever touch Makefile.org and avoid patching a file
|
||||
# that gets blown away anyways by the Configure script in src_configure
|
||||
rm -f Makefile
|
||||
|
||||
if ! use vanilla ; then
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0a-ldflags.patch #327421
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0d-windres.patch #373743
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0h-pkg-config.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1-parallel-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1-x32.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1e-ipv6.patch
|
||||
epatch "${FILESDIR}"/${P}-bad-mac-aes-ni.patch #463444
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1e-perl-5.18.patch #483820
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1e-s_client-verify.patch #472584
|
||||
epatch_user #332661
|
||||
fi
|
||||
|
||||
# disable fips in the build
|
||||
# make sure the man pages are suffixed #302165
|
||||
# don't bother building man pages if they're disabled
|
||||
sed -i \
|
||||
-e '/DIRS/s: fips : :g' \
|
||||
-e '/^MANSUFFIX/s:=.*:=ssl:' \
|
||||
-e '/^MAKEDEPPROG/s:=.*:=$(CC):' \
|
||||
-e $(has noman FEATURES \
|
||||
&& echo '/^install:/s:install_docs::' \
|
||||
|| echo '/^MANDIR=/s:=.*:='${EPREFIX}'/usr/share/man:') \
|
||||
Makefile.org \
|
||||
|| die
|
||||
# show the actual commands in the log
|
||||
sed -i '/^SET_X/s:=.*:=set -x:' Makefile.shared
|
||||
|
||||
# allow openssl to be cross-compiled
|
||||
cp "${FILESDIR}"/gentoo.config-1.0.1 gentoo.config || die
|
||||
chmod a+rx gentoo.config
|
||||
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags $(test-flags-CC -Wa,--noexecstack)
|
||||
|
||||
sed -i '1s,^:$,#!'${EPREFIX}'/usr/bin/perl,' Configure #141906
|
||||
# The config script does stupid stuff to prompt the user. Kill it.
|
||||
sed -i '/stty -icanon min 0 time 50; read waste/d' config || die
|
||||
./config --test-sanity || die "I AM NOT SANE"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
unset APPS #197996
|
||||
unset SCRIPTS #312551
|
||||
unset CROSS_COMPILE #311473
|
||||
|
||||
tc-export CC AR RANLIB RC
|
||||
|
||||
# Clean out patent-or-otherwise-encumbered code
|
||||
# Camellia: Royalty Free http://en.wikipedia.org/wiki/Camellia_(cipher)
|
||||
# IDEA: Expired http://en.wikipedia.org/wiki/International_Data_Encryption_Algorithm
|
||||
# EC: ????????? ??/??/2015 http://en.wikipedia.org/wiki/Elliptic_Curve_Cryptography
|
||||
# MDC2: Expired http://en.wikipedia.org/wiki/MDC-2
|
||||
# RC5: 5,724,428 03/03/2015 http://en.wikipedia.org/wiki/RC5
|
||||
|
||||
use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; }
|
||||
echoit() { echo "$@" ; "$@" ; }
|
||||
|
||||
local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal")
|
||||
|
||||
# See if our toolchain supports __uint128_t. If so, it's 64bit
|
||||
# friendly and can use the nicely optimized code paths. #460790
|
||||
local ec_nistp_64_gcc_128
|
||||
# Disable it for now though #469976
|
||||
#if ! use bindist ; then
|
||||
# echo "__uint128_t i;" > "${T}"/128.c
|
||||
# if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then
|
||||
# ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128"
|
||||
# fi
|
||||
#fi
|
||||
|
||||
local sslout=$(./gentoo.config)
|
||||
einfo "Use configuration ${sslout:-(openssl knows best)}"
|
||||
local config="Configure"
|
||||
[[ -z ${sslout} ]] && config="config"
|
||||
echoit \
|
||||
./${config} \
|
||||
${sslout} \
|
||||
$(use sse2 || echo "no-sse2") \
|
||||
enable-camellia \
|
||||
$(use_ssl !bindist ec) \
|
||||
${ec_nistp_64_gcc_128} \
|
||||
enable-idea \
|
||||
enable-mdc2 \
|
||||
$(use_ssl !bindist rc5) \
|
||||
enable-tlsext \
|
||||
$(use_ssl gmp gmp -lgmp) \
|
||||
$(use_ssl kerberos krb5 --with-krb5-flavor=${krb5}) \
|
||||
$(use_ssl rfc3779) \
|
||||
$(use_ssl tls-heartbeat heartbeats) \
|
||||
$(use_ssl zlib) \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--openssldir="${EPREFIX}"${SSL_CNF_DIR} \
|
||||
--libdir=$(get_libdir) \
|
||||
shared threads \
|
||||
|| die
|
||||
|
||||
# Clean out hardcoded flags that openssl uses
|
||||
local CFLAG=$(grep ^CFLAG= Makefile | LC_ALL=C sed \
|
||||
-e 's:^CFLAG=::' \
|
||||
-e 's:-fomit-frame-pointer ::g' \
|
||||
-e 's:-O[0-9] ::g' \
|
||||
-e 's:-march=[-a-z0-9]* ::g' \
|
||||
-e 's:-mcpu=[-a-z0-9]* ::g' \
|
||||
-e 's:-m[a-z0-9]* ::g' \
|
||||
)
|
||||
sed -i \
|
||||
-e "/^CFLAG/s|=.*|=${CFLAG} ${CFLAGS}|" \
|
||||
-e "/^SHARED_LDFLAGS=/s|$| ${LDFLAGS}|" \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# depend is needed to use $confopts; it also doesn't matter
|
||||
# that it's -j1 as the code itself serializes subdirs
|
||||
emake -j1 depend
|
||||
emake all
|
||||
# rehash is needed to prep the certs/ dir; do this
|
||||
# separately to avoid parallel build issues.
|
||||
emake rehash
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_PREFIX="${D}" install
|
||||
dobin "${WORKDIR}"/c_rehash #333117
|
||||
dodoc CHANGES* FAQ NEWS README doc/*.txt doc/c-indentation.el
|
||||
dohtml -r doc/*
|
||||
use rfc3779 && dodoc engines/ccgost/README.gost
|
||||
|
||||
# This is crappy in that the static archives are still built even
|
||||
# when USE=static-libs. But this is due to a failing in the openssl
|
||||
# build system: the static archives are built as PIC all the time.
|
||||
# Only way around this would be to manually configure+compile openssl
|
||||
# twice; once with shared lib support enabled and once without.
|
||||
use static-libs || rm -f "${ED}"/usr/lib*/lib*.a
|
||||
|
||||
# create the certs directory
|
||||
dodir ${SSL_CNF_DIR}/certs
|
||||
cp -RP certs/* "${ED}"${SSL_CNF_DIR}/certs/ || die
|
||||
rm -r "${ED}"${SSL_CNF_DIR}/certs/{demo,expired}
|
||||
|
||||
# Namespace openssl programs to prevent conflicts with other man pages
|
||||
cd "${ED}"/usr/share/man
|
||||
local m d s
|
||||
for m in $(find . -type f | xargs grep -L '#include') ; do
|
||||
d=${m%/*} ; d=${d#./} ; m=${m##*/}
|
||||
[[ ${m} == openssl.1* ]] && continue
|
||||
[[ -n $(find -L ${d} -type l) ]] && die "erp, broken links already!"
|
||||
mv ${d}/{,ssl-}${m}
|
||||
# fix up references to renamed man pages
|
||||
sed -i '/^[.]SH "SEE ALSO"/,/^[.]/s:\([^(, ]*(1)\):ssl-\1:g' ${d}/ssl-${m}
|
||||
ln -s ssl-${m} ${d}/openssl-${m}
|
||||
# locate any symlinks that point to this man page ... we assume
|
||||
# that any broken links are due to the above renaming
|
||||
for s in $(find -L ${d} -type l) ; do
|
||||
s=${s##*/}
|
||||
rm -f ${d}/${s}
|
||||
ln -s ssl-${m} ${d}/ssl-${s}
|
||||
ln -s ssl-${s} ${d}/openssl-${s}
|
||||
done
|
||||
done
|
||||
[[ -n $(find -L ${d} -type l) ]] && die "broken manpage links found :("
|
||||
|
||||
dodir /etc/sandbox.d #254521
|
||||
echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl
|
||||
|
||||
diropts -m0700
|
||||
keepdir ${SSL_CNF_DIR}/private
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
has_version ${CATEGORY}/${PN}:0.9.8 && return 0
|
||||
preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ebegin "Running 'c_rehash ${EROOT%/}${SSL_CNF_DIR}/certs/' to rebuild hashes #333069"
|
||||
c_rehash "${EROOT%/}${SSL_CNF_DIR}/certs" >/dev/null
|
||||
eend $?
|
||||
|
||||
has_version ${CATEGORY}/${PN}:0.9.8 && return 0
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8
|
||||
}
|
@ -1,241 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-1.0.1e-r3.ebuild,v 1.1 2013/12/20 19:26:59 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib
|
||||
|
||||
REV="1.7"
|
||||
DESCRIPTION="full-strength general purpose cryptography library (including SSL and TLS)"
|
||||
HOMEPAGE="http://www.openssl.org/"
|
||||
SRC_URI="mirror://openssl/source/${P}.tar.gz
|
||||
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/${PN}/${PN}-c_rehash.sh?rev=${REV} -> ${PN}-c_rehash.sh.${REV}"
|
||||
|
||||
LICENSE="openssl"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
|
||||
IUSE="bindist gmp kerberos rfc3779 sse2 static-libs test +tls-heartbeat vanilla zlib"
|
||||
|
||||
# Have the sub-libs in RDEPEND with [static-libs] since, logically,
|
||||
# our libssl.a depends on libz.a/etc... at runtime.
|
||||
LIB_DEPEND="gmp? ( dev-libs/gmp[static-libs(+)] )
|
||||
zlib? ( sys-libs/zlib[static-libs(+)] )
|
||||
kerberos? ( app-crypt/mit-krb5 )"
|
||||
# The blocks are temporary just to make sure people upgrade to a
|
||||
# version that lack runtime version checking. We'll drop them in
|
||||
# the future.
|
||||
RDEPEND="static-libs? ( ${LIB_DEPEND} )
|
||||
!static-libs? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||
!<net-misc/openssh-5.9_p1-r4
|
||||
!<net-libs/neon-0.29.6-r1"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/diffutils
|
||||
>=dev-lang/perl-5
|
||||
test? ( sys-devel/bc )"
|
||||
PDEPEND="app-misc/ca-certificates"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.gz
|
||||
SSL_CNF_DIR="/etc/ssl"
|
||||
sed \
|
||||
-e "/^DIR=/s:=.*:=${EPREFIX}${SSL_CNF_DIR}:" \
|
||||
-e "s:SSL_CMD=/usr:SSL_CMD=${EPREFIX}/usr:" \
|
||||
"${DISTDIR}"/${PN}-c_rehash.sh.${REV} \
|
||||
> "${WORKDIR}"/c_rehash || die #416717
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Make sure we only ever touch Makefile.org and avoid patching a file
|
||||
# that gets blown away anyways by the Configure script in src_configure
|
||||
rm -f Makefile
|
||||
|
||||
if ! use vanilla ; then
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0a-ldflags.patch #327421
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0d-windres.patch #373743
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0h-pkg-config.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1-parallel-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1-x32.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1e-ipv6.patch
|
||||
epatch "${FILESDIR}"/${P}-bad-mac-aes-ni.patch #463444
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1e-perl-5.18.patch #483820
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1e-s_client-verify.patch #472584
|
||||
epatch "${FILESDIR}"/${P}-tls-ver-crash.patch #494816
|
||||
epatch "${FILESDIR}"/${P}-rdrand-explicit.patch
|
||||
epatch_user #332661
|
||||
fi
|
||||
|
||||
# disable fips in the build
|
||||
# make sure the man pages are suffixed #302165
|
||||
# don't bother building man pages if they're disabled
|
||||
sed -i \
|
||||
-e '/DIRS/s: fips : :g' \
|
||||
-e '/^MANSUFFIX/s:=.*:=ssl:' \
|
||||
-e '/^MAKEDEPPROG/s:=.*:=$(CC):' \
|
||||
-e $(has noman FEATURES \
|
||||
&& echo '/^install:/s:install_docs::' \
|
||||
|| echo '/^MANDIR=/s:=.*:='${EPREFIX}'/usr/share/man:') \
|
||||
Makefile.org \
|
||||
|| die
|
||||
# show the actual commands in the log
|
||||
sed -i '/^SET_X/s:=.*:=set -x:' Makefile.shared
|
||||
|
||||
# allow openssl to be cross-compiled
|
||||
cp "${FILESDIR}"/gentoo.config-1.0.1 gentoo.config || die
|
||||
chmod a+rx gentoo.config
|
||||
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags $(test-flags-CC -Wa,--noexecstack)
|
||||
|
||||
sed -i '1s,^:$,#!'${EPREFIX}'/usr/bin/perl,' Configure #141906
|
||||
# The config script does stupid stuff to prompt the user. Kill it.
|
||||
sed -i '/stty -icanon min 0 time 50; read waste/d' config || die
|
||||
./config --test-sanity || die "I AM NOT SANE"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
unset APPS #197996
|
||||
unset SCRIPTS #312551
|
||||
unset CROSS_COMPILE #311473
|
||||
|
||||
tc-export CC AR RANLIB RC
|
||||
|
||||
# Clean out patent-or-otherwise-encumbered code
|
||||
# Camellia: Royalty Free http://en.wikipedia.org/wiki/Camellia_(cipher)
|
||||
# IDEA: Expired http://en.wikipedia.org/wiki/International_Data_Encryption_Algorithm
|
||||
# EC: ????????? ??/??/2015 http://en.wikipedia.org/wiki/Elliptic_Curve_Cryptography
|
||||
# MDC2: Expired http://en.wikipedia.org/wiki/MDC-2
|
||||
# RC5: 5,724,428 03/03/2015 http://en.wikipedia.org/wiki/RC5
|
||||
|
||||
use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; }
|
||||
echoit() { echo "$@" ; "$@" ; }
|
||||
|
||||
local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal")
|
||||
|
||||
# See if our toolchain supports __uint128_t. If so, it's 64bit
|
||||
# friendly and can use the nicely optimized code paths. #460790
|
||||
local ec_nistp_64_gcc_128
|
||||
# Disable it for now though #469976
|
||||
#if ! use bindist ; then
|
||||
# echo "__uint128_t i;" > "${T}"/128.c
|
||||
# if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then
|
||||
# ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128"
|
||||
# fi
|
||||
#fi
|
||||
|
||||
local sslout=$(./gentoo.config)
|
||||
einfo "Use configuration ${sslout:-(openssl knows best)}"
|
||||
local config="Configure"
|
||||
[[ -z ${sslout} ]] && config="config"
|
||||
echoit \
|
||||
./${config} \
|
||||
${sslout} \
|
||||
$(use sse2 || echo "no-sse2") \
|
||||
enable-camellia \
|
||||
$(use_ssl !bindist ec) \
|
||||
${ec_nistp_64_gcc_128} \
|
||||
enable-idea \
|
||||
enable-mdc2 \
|
||||
$(use_ssl !bindist rc5) \
|
||||
enable-tlsext \
|
||||
$(use_ssl gmp gmp -lgmp) \
|
||||
$(use_ssl kerberos krb5 --with-krb5-flavor=${krb5}) \
|
||||
$(use_ssl rfc3779) \
|
||||
$(use_ssl tls-heartbeat heartbeats) \
|
||||
$(use_ssl zlib) \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--openssldir="${EPREFIX}"${SSL_CNF_DIR} \
|
||||
--libdir=$(get_libdir) \
|
||||
shared threads \
|
||||
|| die
|
||||
|
||||
# Clean out hardcoded flags that openssl uses
|
||||
local CFLAG=$(grep ^CFLAG= Makefile | LC_ALL=C sed \
|
||||
-e 's:^CFLAG=::' \
|
||||
-e 's:-fomit-frame-pointer ::g' \
|
||||
-e 's:-O[0-9] ::g' \
|
||||
-e 's:-march=[-a-z0-9]* ::g' \
|
||||
-e 's:-mcpu=[-a-z0-9]* ::g' \
|
||||
-e 's:-m[a-z0-9]* ::g' \
|
||||
)
|
||||
sed -i \
|
||||
-e "/^CFLAG/s|=.*|=${CFLAG} ${CFLAGS}|" \
|
||||
-e "/^SHARED_LDFLAGS=/s|$| ${LDFLAGS}|" \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# depend is needed to use $confopts; it also doesn't matter
|
||||
# that it's -j1 as the code itself serializes subdirs
|
||||
emake -j1 depend
|
||||
emake all
|
||||
# rehash is needed to prep the certs/ dir; do this
|
||||
# separately to avoid parallel build issues.
|
||||
emake rehash
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_PREFIX="${D}" install
|
||||
dobin "${WORKDIR}"/c_rehash #333117
|
||||
dodoc CHANGES* FAQ NEWS README doc/*.txt doc/c-indentation.el
|
||||
dohtml -r doc/*
|
||||
use rfc3779 && dodoc engines/ccgost/README.gost
|
||||
|
||||
# This is crappy in that the static archives are still built even
|
||||
# when USE=static-libs. But this is due to a failing in the openssl
|
||||
# build system: the static archives are built as PIC all the time.
|
||||
# Only way around this would be to manually configure+compile openssl
|
||||
# twice; once with shared lib support enabled and once without.
|
||||
use static-libs || rm -f "${ED}"/usr/lib*/lib*.a
|
||||
|
||||
# create the certs directory
|
||||
dodir ${SSL_CNF_DIR}/certs
|
||||
cp -RP certs/* "${ED}"${SSL_CNF_DIR}/certs/ || die
|
||||
rm -r "${ED}"${SSL_CNF_DIR}/certs/{demo,expired}
|
||||
|
||||
# Namespace openssl programs to prevent conflicts with other man pages
|
||||
cd "${ED}"/usr/share/man
|
||||
local m d s
|
||||
for m in $(find . -type f | xargs grep -L '#include') ; do
|
||||
d=${m%/*} ; d=${d#./} ; m=${m##*/}
|
||||
[[ ${m} == openssl.1* ]] && continue
|
||||
[[ -n $(find -L ${d} -type l) ]] && die "erp, broken links already!"
|
||||
mv ${d}/{,ssl-}${m}
|
||||
# fix up references to renamed man pages
|
||||
sed -i '/^[.]SH "SEE ALSO"/,/^[.]/s:\([^(, ]*(1)\):ssl-\1:g' ${d}/ssl-${m}
|
||||
ln -s ssl-${m} ${d}/openssl-${m}
|
||||
# locate any symlinks that point to this man page ... we assume
|
||||
# that any broken links are due to the above renaming
|
||||
for s in $(find -L ${d} -type l) ; do
|
||||
s=${s##*/}
|
||||
rm -f ${d}/${s}
|
||||
ln -s ssl-${m} ${d}/ssl-${s}
|
||||
ln -s ssl-${s} ${d}/openssl-${s}
|
||||
done
|
||||
done
|
||||
[[ -n $(find -L ${d} -type l) ]] && die "broken manpage links found :("
|
||||
|
||||
dodir /etc/sandbox.d #254521
|
||||
echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl
|
||||
|
||||
diropts -m0700
|
||||
keepdir ${SSL_CNF_DIR}/private
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
has_version ${CATEGORY}/${PN}:0.9.8 && return 0
|
||||
preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ebegin "Running 'c_rehash ${EROOT%/}${SSL_CNF_DIR}/certs/' to rebuild hashes #333069"
|
||||
c_rehash "${EROOT%/}${SSL_CNF_DIR}/certs" >/dev/null
|
||||
eend $?
|
||||
|
||||
has_version ${CATEGORY}/${PN}:0.9.8 && return 0
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8
|
||||
}
|
@ -1,221 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-1.0.1e.ebuild,v 1.4 2013/11/26 07:27:00 polynomial-c Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib
|
||||
|
||||
REV="1.7"
|
||||
DESCRIPTION="full-strength general purpose cryptography library (including SSL v2/v3 and TLS v1)"
|
||||
HOMEPAGE="http://www.openssl.org/"
|
||||
SRC_URI="mirror://openssl/source/${P}.tar.gz
|
||||
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/${PN}/${PN}-c_rehash.sh?rev=${REV} -> ${PN}-c_rehash.sh.${REV}"
|
||||
|
||||
LICENSE="openssl"
|
||||
SLOT="0"
|
||||
KEYWORDS="ppc64"
|
||||
IUSE="bindist gmp kerberos rfc3779 sse2 static-libs test vanilla zlib"
|
||||
|
||||
# Have the sub-libs in RDEPEND with [static-libs] since, logically,
|
||||
# our libssl.a depends on libz.a/etc... at runtime.
|
||||
LIB_DEPEND="gmp? ( dev-libs/gmp[static-libs(+)] )
|
||||
zlib? ( sys-libs/zlib[static-libs(+)] )
|
||||
kerberos? ( app-crypt/mit-krb5 )"
|
||||
# The blocks are temporary just to make sure people upgrade to a
|
||||
# version that lack runtime version checking. We'll drop them in
|
||||
# the future.
|
||||
RDEPEND="static-libs? ( ${LIB_DEPEND} )
|
||||
!static-libs? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||
!<net-misc/openssh-5.9_p1-r4
|
||||
!<net-libs/neon-0.29.6-r1"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/diffutils
|
||||
>=dev-lang/perl-5
|
||||
test? ( sys-devel/bc )"
|
||||
PDEPEND="app-misc/ca-certificates"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.gz
|
||||
SSL_CNF_DIR="/etc/ssl"
|
||||
sed \
|
||||
-e "/^DIR=/s:=.*:=${EPREFIX}${SSL_CNF_DIR}:" \
|
||||
-e "s:SSL_CMD=/usr:SSL_CMD=${EPREFIX}/usr:" \
|
||||
"${DISTDIR}"/${PN}-c_rehash.sh.${REV} \
|
||||
> "${WORKDIR}"/c_rehash || die #416717
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Make sure we only ever touch Makefile.org and avoid patching a file
|
||||
# that gets blown away anyways by the Configure script in src_configure
|
||||
rm -f Makefile
|
||||
|
||||
if ! use vanilla ; then
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0a-ldflags.patch #327421
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0d-windres.patch #373743
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0h-pkg-config.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1-parallel-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1-x32.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1e-ipv6.patch
|
||||
epatch_user #332661
|
||||
fi
|
||||
|
||||
# disable fips in the build
|
||||
# make sure the man pages are suffixed #302165
|
||||
# don't bother building man pages if they're disabled
|
||||
sed -i \
|
||||
-e '/DIRS/s: fips : :g' \
|
||||
-e '/^MANSUFFIX/s:=.*:=ssl:' \
|
||||
-e '/^MAKEDEPPROG/s:=.*:=$(CC):' \
|
||||
-e $(has noman FEATURES \
|
||||
&& echo '/^install:/s:install_docs::' \
|
||||
|| echo '/^MANDIR=/s:=.*:='${EPREFIX}'/usr/share/man:') \
|
||||
Makefile.org \
|
||||
|| die
|
||||
# show the actual commands in the log
|
||||
sed -i '/^SET_X/s:=.*:=set -x:' Makefile.shared
|
||||
|
||||
# allow openssl to be cross-compiled
|
||||
cp "${FILESDIR}"/gentoo.config-1.0.1 gentoo.config || die
|
||||
chmod a+rx gentoo.config
|
||||
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags $(test-flags-CC -Wa,--noexecstack)
|
||||
|
||||
sed -i '1s,^:$,#!'${EPREFIX}'/usr/bin/perl,' Configure #141906
|
||||
./config --test-sanity || die "I AM NOT SANE"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
unset APPS #197996
|
||||
unset SCRIPTS #312551
|
||||
unset CROSS_COMPILE #311473
|
||||
|
||||
tc-export CC AR RANLIB RC
|
||||
|
||||
# Clean out patent-or-otherwise-encumbered code
|
||||
# Camellia: Royalty Free http://en.wikipedia.org/wiki/Camellia_(cipher)
|
||||
# IDEA: Expired http://en.wikipedia.org/wiki/International_Data_Encryption_Algorithm
|
||||
# EC: ????????? ??/??/2015 http://en.wikipedia.org/wiki/Elliptic_Curve_Cryptography
|
||||
# MDC2: Expired http://en.wikipedia.org/wiki/MDC-2
|
||||
# RC5: 5,724,428 03/03/2015 http://en.wikipedia.org/wiki/RC5
|
||||
|
||||
use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; }
|
||||
echoit() { echo "$@" ; "$@" ; }
|
||||
|
||||
local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal")
|
||||
|
||||
local sslout=$(./gentoo.config)
|
||||
einfo "Use configuration ${sslout:-(openssl knows best)}"
|
||||
local config="Configure"
|
||||
[[ -z ${sslout} ]] && config="config"
|
||||
echoit \
|
||||
./${config} \
|
||||
${sslout} \
|
||||
$(use sse2 || echo "no-sse2") \
|
||||
enable-camellia \
|
||||
$(use_ssl !bindist ec) \
|
||||
enable-idea \
|
||||
enable-mdc2 \
|
||||
$(use_ssl !bindist rc5) \
|
||||
enable-tlsext \
|
||||
$(use_ssl gmp gmp -lgmp) \
|
||||
$(use_ssl kerberos krb5 --with-krb5-flavor=${krb5}) \
|
||||
$(use_ssl rfc3779) \
|
||||
$(use_ssl zlib) \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--openssldir="${EPREFIX}"${SSL_CNF_DIR} \
|
||||
--libdir=$(get_libdir) \
|
||||
shared threads \
|
||||
|| die
|
||||
|
||||
# Clean out hardcoded flags that openssl uses
|
||||
local CFLAG=$(grep ^CFLAG= Makefile | LC_ALL=C sed \
|
||||
-e 's:^CFLAG=::' \
|
||||
-e 's:-fomit-frame-pointer ::g' \
|
||||
-e 's:-O[0-9] ::g' \
|
||||
-e 's:-march=[-a-z0-9]* ::g' \
|
||||
-e 's:-mcpu=[-a-z0-9]* ::g' \
|
||||
-e 's:-m[a-z0-9]* ::g' \
|
||||
)
|
||||
sed -i \
|
||||
-e "/^CFLAG/s|=.*|=${CFLAG} ${CFLAGS}|" \
|
||||
-e "/^SHARED_LDFLAGS=/s|$| ${LDFLAGS}|" \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# depend is needed to use $confopts; it also doesn't matter
|
||||
# that it's -j1 as the code itself serializes subdirs
|
||||
emake -j1 depend
|
||||
emake all
|
||||
# rehash is needed to prep the certs/ dir; do this
|
||||
# separately to avoid parallel build issues.
|
||||
emake rehash
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_PREFIX="${D}" install
|
||||
dobin "${WORKDIR}"/c_rehash #333117
|
||||
dodoc CHANGES* FAQ NEWS README doc/*.txt doc/c-indentation.el
|
||||
dohtml -r doc/*
|
||||
use rfc3779 && dodoc engines/ccgost/README.gost
|
||||
|
||||
# This is crappy in that the static archives are still built even
|
||||
# when USE=static-libs. But this is due to a failing in the openssl
|
||||
# build system: the static archives are built as PIC all the time.
|
||||
# Only way around this would be to manually configure+compile openssl
|
||||
# twice; once with shared lib support enabled and once without.
|
||||
use static-libs || rm -f "${ED}"/usr/lib*/lib*.a
|
||||
|
||||
# create the certs directory
|
||||
dodir ${SSL_CNF_DIR}/certs
|
||||
cp -RP certs/* "${ED}"${SSL_CNF_DIR}/certs/ || die
|
||||
rm -r "${ED}"${SSL_CNF_DIR}/certs/{demo,expired}
|
||||
|
||||
# Namespace openssl programs to prevent conflicts with other man pages
|
||||
cd "${ED}"/usr/share/man
|
||||
local m d s
|
||||
for m in $(find . -type f | xargs grep -L '#include') ; do
|
||||
d=${m%/*} ; d=${d#./} ; m=${m##*/}
|
||||
[[ ${m} == openssl.1* ]] && continue
|
||||
[[ -n $(find -L ${d} -type l) ]] && die "erp, broken links already!"
|
||||
mv ${d}/{,ssl-}${m}
|
||||
# fix up references to renamed man pages
|
||||
sed -i '/^[.]SH "SEE ALSO"/,/^[.]/s:\([^(, ]*(1)\):ssl-\1:g' ${d}/ssl-${m}
|
||||
ln -s ssl-${m} ${d}/openssl-${m}
|
||||
# locate any symlinks that point to this man page ... we assume
|
||||
# that any broken links are due to the above renaming
|
||||
for s in $(find -L ${d} -type l) ; do
|
||||
s=${s##*/}
|
||||
rm -f ${d}/${s}
|
||||
ln -s ssl-${m} ${d}/ssl-${s}
|
||||
ln -s ssl-${s} ${d}/openssl-${s}
|
||||
done
|
||||
done
|
||||
[[ -n $(find -L ${d} -type l) ]] && die "broken manpage links found :("
|
||||
|
||||
dodir /etc/sandbox.d #254521
|
||||
echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl
|
||||
|
||||
diropts -m0700
|
||||
keepdir ${SSL_CNF_DIR}/private
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
has_version ${CATEGORY}/${PN}:0.9.8 && return 0
|
||||
preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ebegin "Running 'c_rehash ${EROOT%/}${SSL_CNF_DIR}/certs/' to rebuild hashes #333069"
|
||||
c_rehash "${EROOT%/}${SSL_CNF_DIR}/certs" >/dev/null
|
||||
eend $?
|
||||
|
||||
has_version ${CATEGORY}/${PN}:0.9.8 && return 0
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Data-OptList/Data-OptList-0.107.0.ebuild,v 1.15 2014/02/01 23:50:41 vapier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=RJBS
|
||||
MODULE_VERSION=0.107
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="parse and validate simple name/value option pairs"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-perl/Sub-Install
|
||||
dev-perl/Params-Util"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-perl/Test-Pod
|
||||
dev-perl/Test-Pod-Coverage )"
|
||||
|
||||
SRC_TEST=do
|
@ -1,3 +1,2 @@
|
||||
DIST Data-OptList-0.107.tar.gz 13735 SHA256 28f691f680663d2773f8ee84d5f0766ef222cb2669bccc0a55c9c819e05e5a64 SHA512 06d0ca9b2f6142ea4c0de8c6f858bd96fb3964490e50f1caa677e2d53e144a4ce6c89097ad99d390ea86436923a449df8a38bd9064b0b91290b836f084d765f2 WHIRLPOOL 2cc090fc6b269a78d41c957d808c1cb18e4522b468862070b65f6f3d6ada0449e8038702d310c82ce6ae8bec0162e7c316a8b22dab44a07e883a114346edb59a
|
||||
DIST Data-OptList-0.108.tar.gz 16201 SHA256 b4c7542803a644aff7c52abc50cdae1806cbc24fb7a8f98c38a518adaddaf28e SHA512 a0ce39073a870d71c750d17dca1edbae0fbd79bf30880c832240cd912bfef0b824dc3178e1f9482a750d3a3f223fcc7945c881e650734d61d2d2107126166561 WHIRLPOOL 2239ac431cc12da8b96ecf7f7037dc34d9009050e021e4e99cbefff92f1fbb6d24ec82800be7c1360484cca988a879dbe9d29bb3c2a03fd556dd70528f532282
|
||||
DIST Data-OptList-0.109.tar.gz 16110 SHA256 1cd7c781c4c102810e4e0c878da3746fe8df46b49d01c4d6c034dfab45cd84c8 SHA512 dee6e8e01fcb7004d8be991b5f162fba0184cc48c9f8ebcaec074e760f478ca3af2c3bc5d47bcbf922dedbff433957ae7543091d1969cbed51dcfde1ce0a53c9 WHIRLPOOL 0febcae0a5674c5144228ab94584a3798d6ed65d5c80ed968cfce47a7c1652a7808f777dfe52010fc93e4f09f49a5990c18ca4bda0443c2f55f1f938ae4b0bee
|
||||
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/DateTime-TimeZone/DateTime-TimeZone-1.460.0.ebuild,v 1.8 2012/09/09 16:36:31 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=DROLSKY
|
||||
MODULE_VERSION=1.46
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Time zone object base class and factory"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-perl/Class-Load
|
||||
>=dev-perl/Params-Validate-0.72
|
||||
>=dev-perl/Class-Singleton-1.03"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.31
|
||||
test? ( >=virtual/perl-Test-Simple-0.92 )"
|
||||
|
||||
SRC_TEST="do"
|
@ -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-perl/DateTime-TimeZone/DateTime-TimeZone-1.560.0.ebuild,v 1.12 2013/04/16 20:36:33 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=DROLSKY
|
||||
MODULE_VERSION=1.56
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Time zone object base class and factory"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/Class-Load
|
||||
>=dev-perl/Params-Validate-0.720.0
|
||||
>=dev-perl/Class-Singleton-1.30.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.310.0
|
||||
test? (
|
||||
>=virtual/perl-Test-Simple-0.920.0
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/DateTime-TimeZone/DateTime-TimeZone-1.580.0.ebuild,v 1.13 2014/02/02 00:07:32 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=DROLSKY
|
||||
MODULE_VERSION=1.58
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Time zone object base class and factory"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/Class-Load
|
||||
>=dev-perl/Params-Validate-0.720.0
|
||||
>=dev-perl/Class-Singleton-1.30.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.310.0
|
||||
test? (
|
||||
>=virtual/perl-Test-Simple-0.920.0
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,4 +1 @@
|
||||
DIST DateTime-TimeZone-1.46.tar.gz 384097 SHA256 dc5789385f5845554d7039c9241abbea3bd72f10b19c4618e60986a19cb25571 SHA512 345516411e0a35c69c4c5ad325da3e79c04ab5ca077e5e4a2e5d881577ae2cad45ebdcaa8a04eb2272fb816f2adeadd9aa84158ac440288e8bfb01ce52b7bc52 WHIRLPOOL ce934cda44d04b32bb5908564d0c024e05ae75de136945ba59d735bc63c93c2c672cf0d90e519e9694a5fc7f32042e510847ac43c933265a67a1490f0d4dfd31
|
||||
DIST DateTime-TimeZone-1.56.tar.gz 833599 SHA256 dbe0e06d804f7eaa0c54d9cdd1f6320716b6a76ceaabef6cd69005eeb72bb17a SHA512 c8122d2ab1fd269fc0cc610eea4172664c7617edc22a02ef97ee571bb6f36034e7de0d45ac0fc56338c147a2010278b5aa06cc57174f8f4120ed3a4559e85af9 WHIRLPOOL 257bfb4c6a6eea75d4f5c35f397108d3bbe155750db65c35a125fd01411db39a1c6b0fbd892474c47d8eec19a13e808b56bcf002e31835b15af14bc903a3bba5
|
||||
DIST DateTime-TimeZone-1.58.tar.gz 852884 SHA256 82c3e94140908af96aca2f46c0334631b1739f8a444b64260814a6974bc44367 SHA512 31921bdee627ff09ecc8ce8ae4cba4c71ddec22b85808279cdc34723725c19d1ae5654a0eff4e54a4db9b73325fbbcf0e55fe5828e3665c44ed9e0ee793a11ad WHIRLPOOL 38e97a2aca151a2d074113a0cb0ce57969c2e6c06e05fb66f1cbddf22dd1a765a612ce0815f9f30623b924ebe3b0c6fe1a0eb02a22a329b1efe6cab1f8de009f
|
||||
DIST DateTime-TimeZone-1.60.tar.gz 865213 SHA256 888e3e038159216f78b3f19fff6c37aea1943470fa42f18a21fa924e0df083d6 SHA512 aee3498f07c24a4ebf7728dbecc77a0fb8cbb422596e0d73faec60acb32a0400dc239e2f00782e20c74c7e8ff92541b00f0fe26758a2e74721cf177af753f309 WHIRLPOOL 14df06999928f20f2348255f8b342e2de62bfa00188e4b103d8dd8ec44857a47bc5dfc1497e8082e44e58c652d0fef6e056f2f34501c71280388b3a6a892ccf9
|
||||
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/cython-0.20.1.ebuild,v 1.1 2014/02/21 14:12:23 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
|
||||
|
||||
inherit distutils-r1 flag-o-matic toolchain-funcs
|
||||
|
||||
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"
|
||||
|
||||
RDEPEND=""
|
||||
_DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/numpy[$(python_gen_usedep python{2_6,2_7,3_2,3_3})] )"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV%_*}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-backport-test-fix.patch
|
||||
)
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} == python2* ]]; then
|
||||
local CFLAGS="${CFLAGS}"
|
||||
local CXXFLAGS="${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 && unset XDG_CONFIG_HOME && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
tc-export CC
|
||||
"${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
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
diff --git a/Cython/Debugger/Tests/TestLibCython.py b/Cython/Debugger/Tests/TestLibCython.py
|
||||
index 142c665..2f91096 100644
|
||||
--- a/Cython/Debugger/Tests/TestLibCython.py
|
||||
+++ b/Cython/Debugger/Tests/TestLibCython.py
|
||||
@@ -124,6 +123,7 @@ def setUp(self):
|
||||
workdir=self.tempdir,
|
||||
# we clean up everything (not only compiled files)
|
||||
cleanup_workdir=False,
|
||||
+ tags=runtests.parse_tags(codefile),
|
||||
**opts
|
||||
)
|
||||
|
||||
|
@ -0,0 +1,221 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-1.2.0.ebuild,v 1.1 2014/02/21 12:07:48 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
PYTHON_REQ_USE='readline,sqlite'
|
||||
|
||||
inherit distutils-r1 elisp-common eutils virtualx
|
||||
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
DESCRIPTION="Advanced interactive shell for Python"
|
||||
HOMEPAGE="http://ipython.org/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/rel-${PV}/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="doc emacs examples matplotlib mongodb notebook nbconvert octave
|
||||
qt4 +smp test wxwidgets"
|
||||
|
||||
PY2_USEDEP=$(python_gen_usedep 'python2*')
|
||||
|
||||
gen_python_deps() {
|
||||
local flag
|
||||
for flag in $(python_gen_useflags '*'); do
|
||||
echo "${flag}? ( ${1}[${flag}(-)] )"
|
||||
done
|
||||
}
|
||||
|
||||
CDEPEND="
|
||||
dev-python/decorator[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/simplegeneric[${PYTHON_USEDEP}]
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]
|
||||
virtual/python-argparse[${PYTHON_USEDEP}]
|
||||
emacs? ( app-emacs/python-mode virtual/emacs )
|
||||
matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )
|
||||
mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
|
||||
octave? ( dev-python/oct2py[${PY2_USEDEP}] )
|
||||
smp? ( dev-python/pyzmq[${PYTHON_USEDEP}] )
|
||||
wxwidgets? ( dev-python/wxpython[${PY2_USEDEP}] )"
|
||||
RDEPEND="${CDEPEND}
|
||||
notebook? (
|
||||
>=www-servers/tornado-2.1[${PY2_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/pyzmq[${PYTHON_USEDEP}]
|
||||
dev-libs/mathjax
|
||||
$(gen_python_deps dev-python/jinja)
|
||||
)
|
||||
nbconvert? (
|
||||
app-text/pandoc
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
$(gen_python_deps dev-python/jinja)
|
||||
)
|
||||
qt4? ( || ( dev-python/PyQt4[${PYTHON_USEDEP}] dev-python/pyside[${PYTHON_USEDEP}] )
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/pyzmq[${PYTHON_USEDEP}] )"
|
||||
DEPEND="${CDEPEND}
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
PY2_REQUSE="|| ( $(python_gen_useflags python2* ) )"
|
||||
REQUIRED_USE="
|
||||
mongodb? ( ${PY2_REQUSE} )
|
||||
notebook? ( ${PY2_REQUSE} )
|
||||
octave? ( ${PY2_REQUSE} )
|
||||
wxwidgets? ( ${PY2_REQUSE} )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.0.0-setuptools.patch
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# fix for gentoo python scripts
|
||||
sed -i \
|
||||
-e "/ipython_cmd/s/ipython3/ipython/g" \
|
||||
IPython/terminal/console/tests/test_console.py \
|
||||
IPython/lib/irunner.py \
|
||||
IPython/testing/tools.py || die
|
||||
|
||||
sed -i \
|
||||
-e "s/find_scripts(True, suffix='3')/find_scripts(True)/" \
|
||||
setup.py || die
|
||||
|
||||
# fix gentoo installation directory for documentation
|
||||
sed -i \
|
||||
-e "/docdirbase = pjoin/s/ipython/${PF}/" \
|
||||
-e "/pjoin(docdirbase,'manual')/s/manual/html/" \
|
||||
setupbase.py || die "sed failed"
|
||||
|
||||
if ! use doc; then
|
||||
sed -i \
|
||||
-e "/(pjoin(docdirbase, 'extensions'), igridhelpfiles),/d" \
|
||||
-e 's/ + manual_files//' \
|
||||
setupbase.py || die
|
||||
fi
|
||||
|
||||
if ! use examples; then
|
||||
sed -i \
|
||||
-e 's/+ example_files//' \
|
||||
setupbase.py || die
|
||||
fi
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use emacs && elisp-compile docs/emacs/ipython.el
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# virtualx has trouble with parallel runs.
|
||||
local DISTUTILS_NO_PARALLEL_BUILD=1
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# https://github.com/ipython/ipython/issues/2083
|
||||
unset PYTHONWARNINGS
|
||||
|
||||
# ipython skips mongodb tests only if it's not running.
|
||||
# since we want the widest test range, and don't want it to fiddle
|
||||
# with user-running mongodb, we always run it if it's available.
|
||||
|
||||
local DB_IP=127.0.0.1
|
||||
local DB_PORT=-1 # disable
|
||||
|
||||
pushd "${BUILD_DIR}"/../IPython/scripts/ > /dev/null
|
||||
|
||||
if has_version dev-db/mongodb; then
|
||||
# please keep in sync with dev-python/pymongo
|
||||
|
||||
local dbpath=${TMPDIR}/mongo.db
|
||||
local logpath=${TMPDIR}/mongod.log
|
||||
|
||||
# prefer starting with non-default one
|
||||
DB_PORT=27018
|
||||
|
||||
mkdir -p "${dbpath}" || die
|
||||
while true; do
|
||||
ebegin "Trying to start mongod on port ${DB_PORT}"
|
||||
|
||||
LC_ALL=C \
|
||||
mongod --dbpath "${dbpath}" --smallfiles --nojournal \
|
||||
--bind_ip ${DB_IP} --port ${DB_PORT} \
|
||||
--unixSocketPrefix "${TMPDIR}" \
|
||||
--logpath "${logpath}" --fork \
|
||||
&& sleep 2
|
||||
|
||||
# Now we need to check if the server actually started...
|
||||
if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then
|
||||
# yay!
|
||||
eend 0
|
||||
break
|
||||
elif grep -q 'Address already in use' "${logpath}"; then
|
||||
# ay, someone took our port!
|
||||
eend 1
|
||||
: $(( DB_PORT += 1 ))
|
||||
continue
|
||||
else
|
||||
eend 1
|
||||
ewarn "Unable to start mongod for tests."
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# No support for DB_IP and DB_PORT.
|
||||
# https://github.com/ipython/ipython/pull/2910
|
||||
sed -i -e "s:Connection(:&host='${DB_IP}', port=${DB_PORT}:" \
|
||||
"${BUILD_DIR}"/lib/IPython/parallel/tests/test_mongodb.py \
|
||||
|| die "Unable to sed mongod port into tests"
|
||||
|
||||
local fail
|
||||
run_tests() {
|
||||
# Initialize ~/.ipython directory.
|
||||
"${EPYTHON}" ipython </dev/null >/dev/null || fail=1
|
||||
# Run tests (-v for more verbosity).
|
||||
PYTHONPATH=${PYTHONPATH}:. "${EPYTHON}" iptest -v || fail=1
|
||||
}
|
||||
|
||||
VIRTUALX_COMMAND=run_tests virtualmake
|
||||
|
||||
[[ ${DB_PORT} != -1 ]] && mongod --dbpath "${dbpath}" --shutdown
|
||||
[[ ${fail} ]] && die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
ln -snf "${EPREFIX}"/usr/share/mathjax \
|
||||
"${D}$(python_get_sitedir)"/IPython/html/static/mathjax || die
|
||||
|
||||
# Create ipythonX.Y symlinks.
|
||||
# TODO:
|
||||
# 1. do we want them for pypy?
|
||||
# 2. handle it in the eclass instead (use _python_ln_rel).
|
||||
if [[ ${EPYTHON} == python* ]]; then
|
||||
dosym ../lib/python-exec/${EPYTHON}/ipython \
|
||||
/usr/bin/ipython${EPYTHON#python}
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
if use emacs; then
|
||||
cd docs/emacs || die
|
||||
elisp-install ${PN} ${PN}.el*
|
||||
elisp-site-file-install "${FILESDIR}"/62ipython-gentoo.el
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST numexpr-2.2.2.tar.gz 75680 SHA256 47d3435785f59a72dc06a1c0257b83f0f656d4974e804c30a6ef8c0de293d9ee SHA512 bf04d16cfab7f71cc1bc0ab736fa4222ec24321292ca1bfe0b01b0cdf4a683fcdc297faff1abafd9f18ce7b6c07364fff855c51a5aa9a310b6664616f817a004 WHIRLPOOL 01c20554288c9fef70b488c749f6ab9a1dab834dc8e5eeb2d87c70f73e0a0ae3b48d51571bd951a2e524483b51cf9bd91da8cd72ab25edee10d1497ba8e50245
|
||||
DIST numexpr-2.3.1.tar.gz 74876 SHA256 4dd39c835f061ae145d1a1df5ca6962a1d097caa8b39176ae395d077bcbac967 SHA512 67e59ac158144b8f2a049289bc04f4c734f071040dcb6c79916eb29b8f635551cdafe117a409af6270bc0e53e105e281b5adf1bf98cdc94f9eb739f7be17641a WHIRLPOOL e8cbb24f9901a34240a41c30185e0557216781f010bb68e76b0130eb0532623ca4b2c089b347470762a379574cdd5d67ae22b113c959284a3eab274ce0b0bd25
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/numexpr/numexpr-2.3.1.ebuild,v 1.3 2014/02/21 16:04:39 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Fast numerical array expression evaluator for Python and NumPy"
|
||||
HOMEPAGE="http://code.google.com/p/numexpr/ http://pypi.python.org/pypi/numexpr"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="mkl"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/numpy-1.7.1[${PYTHON_USEDEP}]
|
||||
mkl? ( sci-libs/mkl )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
DOCS=( ANNOUNCE.rst AUTHORS.txt README.rst RELEASE_NOTES.rst )
|
||||
|
||||
python_prepare_all() {
|
||||
# TODO: mkl can be used but it fails for me
|
||||
# only works with mkl in tree. newer mkl will use pkgconfig
|
||||
if use mkl; then
|
||||
local ext
|
||||
use amd64 && ext=_lp64
|
||||
cat <<- EOF > "${S}"/site.cfg
|
||||
[mkl]
|
||||
library_dirs = ${MKLROOT}/lib/em64t
|
||||
include_dirs = ${MKLROOT}/include
|
||||
mkl_libs = mkl_solver${ext}, mkl_intel${ext}, \
|
||||
mkl_intel_thread, mkl_core, iomp5
|
||||
EOF
|
||||
fi
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd "${BUILD_DIR}"/lib* || die
|
||||
"${PYTHON}" -c "import numexpr; numexpr.test()" || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST pandas-0.12.0.tar.gz 3155059 SHA256 be9b4c3611801b366873531bc87a87dd16b19e7d78fa84c21898cd007931c86d SHA512 da5dbd6109f7c96b762fcdf695ed50da8059ca78f645b0dec9a741ed89638ba43f8b336d339d3d4c250585ddfddff240b40bb25e99ab642eed825c649f2fd59e WHIRLPOOL 19cb14eff3b397d80d2c33d55c980b1db1793c087048be9cc13718e50f6034aa3f15fe27866cc13f778fa71cf3c91147449865b9597087622fa9cf24e71d527d
|
||||
DIST pandas-0.13.0.tar.gz 3604253 SHA256 5bb3f7a5f24fe8280e84e5407dc129364e7825cbe366b79676bd5f37a9b2bf0e SHA512 c5e2673f9a3b1e28d038bf3e5911445c8e77f4669eb5df5849062b41c96f93b6f09fa87421ae7382ba50f53c9ac0cf9564bbff5b300f097bf929fca366a500a6 WHIRLPOOL 91257ed915f7ead4d68e0ebf360f326e4e32e8de51c79c315902f297e3c05bd3a525861e6f575419c6c6eb141ecbb0228e6886c02be49a565324b319b0a65fd0
|
||||
DIST pandas-0.13.1.tar.gz 6096890 SHA256 6813746caa796550969ed98069f16627f070f6d8d60686cfb3fa0e66c2e0312b SHA512 a5fc36141f1b9269ce69ea35f8308abea3e6a77e54fe5df3d3614f1b9ea79f1c4b1c07da1b78d5d26f7ccf238a7c569a978caaa411217c290f7a1870e878e1f2 WHIRLPOOL a091570987c55190fe3650443392b4858938e7a77145a25859f2f9e479d1701876fa06a75610ef2771543cf8574ae992793c9377b6a246cab371edbd16a5eb40
|
||||
|
@ -0,0 +1,35 @@
|
||||
From a2c99fd78e0e924555b1fc86dd628073132ebccf Mon Sep 17 00:00:00 2001
|
||||
From: jreback <jeff@reback.net>
|
||||
Date: Tue, 18 Feb 2014 11:51:27 -0500
|
||||
Subject: [PATCH] TST: disable odd test_data/test_fred tests failing, maybe a
|
||||
data revision?
|
||||
|
||||
---
|
||||
pandas/io/tests/test_data.py | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/pandas/io/tests/test_data.py b/pandas/io/tests/test_data.py
|
||||
index a044b38..641687a 100644
|
||||
--- a/pandas/io/tests/test_data.py
|
||||
+++ b/pandas/io/tests/test_data.py
|
||||
@@ -418,6 +418,8 @@ def test_fred_nan(self):
|
||||
|
||||
@network
|
||||
def test_fred_parts(self):
|
||||
+ raise nose.SkipTest('buggy as of 2/18/14; maybe a data revision?')
|
||||
+
|
||||
start = datetime(2010, 1, 1)
|
||||
end = datetime(2013, 1, 27)
|
||||
df = web.get_data_fred("CPIAUCSL", start, end)
|
||||
@@ -444,6 +446,8 @@ def test_invalid_series(self):
|
||||
|
||||
@network
|
||||
def test_fred_multi(self):
|
||||
+ raise nose.SkipTest('buggy as of 2/18/14; maybe a data revision?')
|
||||
+
|
||||
names = ['CPIAUCSL', 'CPALTT01USQ661S', 'CPILFESL']
|
||||
start = datetime(2010, 1, 1)
|
||||
end = datetime(2013, 1, 27)
|
||||
--
|
||||
1.8.5.1
|
||||
|
@ -0,0 +1,122 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/pandas-0.13.1.ebuild,v 1.1 2014/02/21 12:04:19 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
DESCRIPTION="Powerful data structures for data analysis and statistics"
|
||||
HOMEPAGE="http://pandas.sourceforge.net/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc examples excel html test R"
|
||||
|
||||
REQUIRED_USE="
|
||||
excel? ( !python_targets_python3_2 )
|
||||
doc? ( !python_targets_python3_2 )
|
||||
R? ( !python_targets_python3_2 )
|
||||
"
|
||||
|
||||
CDEPEND="
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]"
|
||||
DEPEND="${CDEPEND}
|
||||
doc? (
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
dev-python/ipython[${PYTHON_USEDEP}]
|
||||
dev-python/html5lib[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
>=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}]
|
||||
dev-python/pytables[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/rpy[$(python_gen_usedep 'python2_7')]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
|
||||
dev-python/xlrd[$(python_gen_usedep 'python2*')]
|
||||
dev-python/xlwt[$(python_gen_usedep 'python2*')]
|
||||
sci-libs/scikits_timeseries[$(python_gen_usedep 'python2*')]
|
||||
x11-misc/xclip
|
||||
)
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
# dev-python/statsmodels invokes a circular dep
|
||||
# hence rm from doc? ( ), again
|
||||
RDEPEND="${CDEPEND}
|
||||
dev-python/numexpr[${PYTHON_USEDEP}]
|
||||
dev-python/bottleneck[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/pytables[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
excel? (
|
||||
>=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}]
|
||||
dev-python/xlrd[$(python_gen_usedep 'python2*')]
|
||||
dev-python/xlwt[$(python_gen_usedep 'python2*')]
|
||||
)
|
||||
html? (
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
|| (
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/html5lib[${PYTHON_USEDEP}] )
|
||||
)
|
||||
R? ( dev-python/rpy[$(python_gen_usedep 'python2_7')] )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-backport-test-fix.patch
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
if use doc; then
|
||||
# Prevent un-needed download during build
|
||||
sed -e 's:^intersphinx_mapping:#intersphinx_mapping:' \
|
||||
-e "s:^ 'statsmodels:# 'statsmodels:" \
|
||||
-e "s:^ 'python:# 'python:" \
|
||||
-e "s:^}:#}:" \
|
||||
-i doc/source/conf.py || die
|
||||
fi
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
# To build docs the need be located in $BUILD_DIR,
|
||||
# else PYTHONPATH points to unusable modules.
|
||||
if use doc; then
|
||||
cd "${BUILD_DIR}"/lib || die
|
||||
cp -ar "${S}"/doc . && cd doc || die
|
||||
LANG=C PYTHONPATH=. "${EPYTHON}" make.py html || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# test can't survive py2.6, alternately patch to skip under unittest2
|
||||
if [[ ${EPYTHON} == "python2.6" ]]; then
|
||||
rm $(find "${BUILD_DIR}" -name test_array.py) || die
|
||||
fi
|
||||
cd "${BUILD_DIR}"/lib || die
|
||||
PYTHONPATH=. MPLCONFIGDIR=. HOME=. \
|
||||
VIRTUALX_COMMAND="nosetests --verbosity=3 pandas" \
|
||||
virtualmake || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
dohtml -r "${BUILD_DIR}"/lib/doc/build/html/*
|
||||
einfo "An initial build of docs is absent of references to statsmodels"
|
||||
einfo "due to circular dependency. To have them included, emerge"
|
||||
einfo "statsmodels next and re-emerge pandas with USE doc"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
# example python modules not to be compressed
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r "${S}"/examples
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST tables-3.0.0.tar.gz 6191726 SHA256 53532a59c8f03c3c5ef3c73c04f5bfd8384d6a3d508683cb87fc17af4c71dfe1 SHA512 3486393e2bcf9b4a45787dae030a5399fbda90aba9d49cb6bd681a6fd4ed3d3fa84033f63c600e83e26cffb0f961025cf6e3479d3cf7e96877bc333ef12fad12 WHIRLPOOL 2376eaf0cc08cf3910c2449f2df6881d81a8bca8aaf0e10a41f54327665171b2985a91ceb9ac1e8e077c259ed882644ee7ab69ba6cfc924dd6e5e60fd4d062d1
|
||||
DIST tables-3.1.0.tar.gz 6705769 SHA256 92bd5052c61fef3d55505dcb1162150ea5e274b76c4e41633e8f78a9ad5f4dc1 SHA512 ffd7ae629352a2659ed6d66cac9f89441b5fb09efc2e78a57c24bcd1d1a2ffeddbf830553f1131faaee72168413c3397fe07be49094ae4a0cf404f71ac2b5b77 WHIRLPOOL 96c19b547eabe88e88b8df09000a8ab105f046187553d8be3f21dd357fcedfcf0d12eefa339ac7b49cd54b1591cccef35ce5fd5ff9bb1fb073d0496fd73bb728
|
||||
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pytables/pytables-3.1.0.ebuild,v 1.1 2014/02/21 14:12:56 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
MY_PN=tables
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Hierarchical datasets for Python"
|
||||
HOMEPAGE="http://www.pytables.org/"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
LICENSE="BSD"
|
||||
IUSE="doc contrib examples"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
sci-libs/hdf5:=
|
||||
>=dev-python/numpy-1.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/numexpr[${PYTHON_USEDEP}]
|
||||
dev-libs/lzo:2
|
||||
app-arch/bzip2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/cython[${PYTHON_USEDEP}]"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DOCS=( ANNOUNCE.txt RELEASE_NOTES.txt THANKS )
|
||||
|
||||
python_prepare_all() {
|
||||
export HDF5_DIR="${EPREFIX}"/usr
|
||||
sed -i -e "s:/usr:${EPREFIX}/usr:g" setup.py || die
|
||||
rm -rf internal-complibs || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd "${BUILD_DIR}"/lib* || die
|
||||
${EPYTHON} tables/tests/test_all.py || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
HTML_DOCS=( doc/html/. )
|
||||
DOCS+=( doc/scripts )
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
fi
|
||||
|
||||
if use contrib; then
|
||||
insinto /usr/share/${PF}
|
||||
doins -r contrib
|
||||
fi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST http-0.5.0.gem 20992 SHA256 0d45a571564a5fa79600095e29535976903a1d65628d4e41b2f344a07b0781ef SHA512 aca100010ed0629636f49ddddf9617f014a6eba6628c8be9ccb281653a8e7932c6c5509746df2ee039f42d4526944f68a33767017d11ee6397dd935cd9b4d9d6 WHIRLPOOL 856345f78226f3fd51d888a97e589b27d5b1e5ee7d2510ac5ba728b8a19e36f4bb5169b5c8c59b5c4a5750e7c8d745554fc4525a4b567256254cb5828bd6b080
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/http/http-0.5.0.ebuild,v 1.1 2014/02/21 17:07:22 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="An easy-to-use client library for making requests from Ruby."
|
||||
HOMEPAGE="https://github.com/tarcieri/http"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/coverall/I s:^:#:' spec/spec_helper.rb || die
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST http_parser.rb-0.6.0.gem 177664 SHA256 f11d0aec50ef26a7d1f991e627ac88acdb5979282aeba7a5c3be6ce0636ed196 SHA512 51c29bfc85de8cedb4e98fec84c955252556abaa4d0848fbc38b232879ffc946c72acf38440e8e9f1e31a8b734a68d43a96924af5f48ac4f1a054153ec913a08 WHIRLPOOL b3352eff85212f24fb3b283c44c448159e310235930671f7a732f9d41f4b3c111a390e0cd4b1d5a5cce41de88952f8c176bc761801de92b7877e46543e99cc72
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/http_parser_rb/http_parser_rb-0.6.0.ebuild,v 1.1 2014/02/21 15:17:24 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_NAME="http_parser.rb"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Simple callback-based HTTP request/response parser"
|
||||
HOMEPAGE="http://github.com/tmm1/http_parser.rb"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext/ruby_http_parser extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake -Cext/ruby_http_parser V=1
|
||||
cp ext/ruby_http_parser/ruby_http_parser.so lib/ || die
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/shoulda/shoulda-3.5.0-r1.ebuild,v 1.1 2014/02/21 10:40:29 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Making tests easy on the fingers and eyes"
|
||||
HOMEPAGE="http://thoughtbot.com/projects/shoulda"
|
||||
SRC_URI="https://github.com/thoughtbot/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
# This now more or less a meta-gem and it only contains features for
|
||||
# integration tests using Appraisals, which we don't currently package.
|
||||
RESTRICT=test
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/shoulda-context-1.0.1
|
||||
>=dev-ruby/shoulda-matchers-1.4.1"
|
@ -1,6 +1,2 @@
|
||||
DIST git-cola-1.8.2.tar.gz 397346 SHA256 386b29cd70b3c6a14b23790567d2e93168e1eeaaec5d85be37e4f5ce4fd9a977 SHA512 5136749a12d262dd28db4058efd3892a437e5dea18d4fe888248fd7a3891409091e7d36565536fa7d4538354a01f11f8a02e0fd31c2c86ea7159f4e6004b75cc WHIRLPOOL 861af22ba39d6e5a3899fe569c6cfa3651daab6d4d57a4daf07acad133cd2cc1a375da403a94deb943d3a5ddee4e364d5a50b3f7996dbb3310495b57c67a7369
|
||||
DIST git-cola-1.8.3.tar.gz 404234 SHA256 21b0aaec3d6b1e0edbe3a6bd3f085078ffe15feb812cc0ce87eec023d35705ff SHA512 e9a44036fe947c0125f7e135b19bf1726f99431ca7b190acf3aa992181bea374d2c0999f592d0ae41b4d0db9ba1847e60dbb01e8bd8e0de0aca8aebcd3bd98d9 WHIRLPOOL 69fe66ce951503f04942d746faa677cb2b9b634e804819d5c7a9b2565ffef4dbb7c803491ef567e8e4822a6cfa961d982e3c82293e283155548291a38b50d9c8
|
||||
DIST git-cola-1.8.5.tar.gz 416920 SHA256 fcefb0e82b8c59b5d063f55edc58d2a1210c4ebab76bef71f01caf91d30b2005 SHA512 5a5042dd00fbf9d342429823e5f89ff413a60dabfb5f2d46cfd203f65b2ec4e8d7cbba8c5f940a3e83b5474a1b050bdbbe3f75ad682535536cb65480b729fbd2 WHIRLPOOL 20530e7f6564a1d6a6c138a0684fd544fa74aa12d5cc87316850b18f602543bd34032a6c8d3333a61a647583c6dcfc5cb44de296bfba32ada0c58314e22f5482
|
||||
DIST git-cola-1.9.1.tar.gz 426723 SHA256 6745e9a4890da734a102ea0c06cdd73ab15bce48f357ade9e7cb8c9f78f87371 SHA512 9baad8ea1f8ecafd66d95873c02e408fcfc13237f3d1f104888866cc7c089b96f180c682e4bf98841b1ef6fbc1936809d7bb8ab7edf9464a6d6e37c56a881b75 WHIRLPOOL b8d490ce64784d71413a588b99b2d4b552e9cd5ce3e3c98af25782b57e6920cd44861f75f4fbb47ad75d8f0aa74a04de2b5909a3a01e7c7627c794a29f698086
|
||||
DIST git-cola-1.9.3.tar.gz 424299 SHA256 cdfa27bf46bcb53e566cc1eebb205ddd287b7c42b37fc8245895e6bdf2ac1497 SHA512 050d1d814d70790135ad732197e24afd8caf01f7c99cb2adbe825a99c38033ee6125bae9a6e1d59f5678a85f18f133901f59bb1c06ccf48546c2b4cecff2bf0a WHIRLPOOL 0e65cdea8c6eef91f8a919be2f72327291299777c5c5fa96efb185af3895d3736dcfe626c058b72cf368c078b074cc0b7b73c30a53af44cfbd77d367700b35aa
|
||||
DIST git-cola-1.9.4.tar.gz 434458 SHA256 c7f065bf5557ceba424ee26e5af94d01b37537ef426fffe581efe33526733525 SHA512 aabf1887da1aee2b1ae2c004c8ab29317796c4e21bda7b9937fdf3ad8aa6721e8833b56f143e4cda72bcd631ede3f176592335862e456f69729494332b33264b WHIRLPOOL 2ee639402b2bdab9bc49b11d0bf29696e3607e9218662af72fd6aeafd73da37955ce5dc40ddb03f9664fd15c3ec213681a2ab58b6451ac121a8abaafbb4bc32d
|
||||
|
@ -1,90 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-cola/git-cola-1.8.3.ebuild,v 1.1 2013/06/22 11:07:01 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
DISTUTILS_SINGLE_IMPL=true
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="The highly caffeinated git GUI"
|
||||
HOMEPAGE="http://git-cola.github.com/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/jsonpickle[${PYTHON_USEDEP}]
|
||||
dev-python/pyinotify[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt4[${PYTHON_USEDEP}]
|
||||
dev-vcs/git"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/asciidoc
|
||||
app-text/xmlto
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
sys-devel/gettext
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
# tests currently broken due to unfinished translation framework
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/1.3.8-disable-tests.patch
|
||||
"${FILESDIR}"/1.8.1-system-ssh-askpass.patch
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# don't install docs into wrong location
|
||||
sed -i \
|
||||
-e '/doc/d' \
|
||||
setup.py || die "sed failed"
|
||||
|
||||
sed -i \
|
||||
-e "s|'doc', 'git-cola'|'doc', '${PF}', 'html'|" \
|
||||
cola/resources.py || die "sed failed"
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
cd share/doc/${PN}/
|
||||
if use doc ; then
|
||||
emake all
|
||||
else
|
||||
sed \
|
||||
-e '/^install:/s:install-html::g' \
|
||||
-i Makefile || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
cd share/doc/${PN}/
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
prefix="${EPREFIX}/usr" \
|
||||
install
|
||||
|
||||
if ! use doc ; then
|
||||
HTML_DOCS=( "${FILESDIR}"/index.html )
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH="${S}:${S}/build/lib:${PYTHONPATH}" LC_ALL="C" nosetests \
|
||||
--verbose --with-doctest --with-id --exclude=jsonpickle --exclude=json \
|
||||
|| die "running nosetests failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please make sure you have either a SSH key management installed and activated or"
|
||||
elog "installed a SSH askpass app like net-misc/x11-ssh-askpass."
|
||||
elog "Otherwise ${PN} may hang when pushing/pulling from remote git repositories via SSH. "
|
||||
}
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-cola/git-cola-1.8.5.ebuild,v 1.2 2013/10/12 02:35:47 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
DISTUTILS_SINGLE_IMPL=true
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="The highly caffeinated git GUI"
|
||||
HOMEPAGE="http://git-cola.github.com/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/jsonpickle[${PYTHON_USEDEP}]
|
||||
dev-python/pyinotify[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt4[${PYTHON_USEDEP}]
|
||||
dev-vcs/git"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/asciidoc
|
||||
app-text/xmlto
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
sys-devel/gettext
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/1.3.8-disable-tests.patch
|
||||
"${FILESDIR}"/1.8.1-system-ssh-askpass.patch
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# unfinished translate framework
|
||||
rm test/test_cola_i18n.py || die
|
||||
# don't install docs into wrong location
|
||||
sed -i \
|
||||
-e '/doc/d' \
|
||||
setup.py || die "sed failed"
|
||||
|
||||
sed -i \
|
||||
-e "s|'doc', 'git-cola'|'doc', '${PF}', 'html'|" \
|
||||
cola/resources.py || die "sed failed"
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
cd share/doc/${PN}/
|
||||
if use doc ; then
|
||||
emake all
|
||||
else
|
||||
sed \
|
||||
-e '/^install:/s:install-html::g' \
|
||||
-i Makefile || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
cd share/doc/${PN}/ || die
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
prefix="${EPREFIX}/usr" \
|
||||
install
|
||||
|
||||
if use doc ; then
|
||||
HTML_DOCS=( share/doc/${PN}/_build/html/. )
|
||||
else
|
||||
HTML_DOCS=( "${FILESDIR}"/index.html )
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH="${S}:${S}/build/lib:${PYTHONPATH}" LC_ALL="C" nosetests \
|
||||
--verbose --with-doctest --with-id --exclude=jsonpickle --exclude=json \
|
||||
|| die "running nosetests failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please make sure you have either a SSH key management installed and activated or"
|
||||
elog "installed a SSH askpass app like net-misc/x11-ssh-askpass."
|
||||
elog "Otherwise ${PN} may hang when pushing/pulling from remote git repositories via SSH. "
|
||||
}
|
@ -1,102 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-cola/git-cola-1.9.1.ebuild,v 1.2 2014/01/19 19:04:32 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
DISTUTILS_SINGLE_IMPL=true
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="The highly caffeinated git GUI"
|
||||
HOMEPAGE="http://git-cola.github.com/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/jsonpickle[${PYTHON_USEDEP}]
|
||||
dev-python/pyinotify[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt4[${PYTHON_USEDEP}]
|
||||
dev-vcs/git"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/asciidoc
|
||||
app-text/xmlto
|
||||
sys-devel/gettext
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
sys-apps/net-tools
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PV}-disable-tests.patch
|
||||
"${FILESDIR}"/${P}-system-ssh-askpass.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
if use test && [[ -z "$(hostname -d)" ]] ; then
|
||||
die "Test will fail if no domain is set"
|
||||
fi
|
||||
}
|
||||
python_prepare_all() {
|
||||
rm share/git-cola/bin/*askpass* || die
|
||||
|
||||
# unfinished translate framework
|
||||
rm test/test_cola_i18n.py || die
|
||||
|
||||
# don't install docs into wrong location
|
||||
sed -i \
|
||||
-e '/doc/d' \
|
||||
setup.py || die "sed failed"
|
||||
|
||||
sed -i \
|
||||
-e "s|'doc', 'git-cola'|'doc', '${PF}', 'html'|" \
|
||||
cola/resources.py || die "sed failed"
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
cd share/doc/${PN}/
|
||||
if use doc ; then
|
||||
emake all
|
||||
else
|
||||
sed \
|
||||
-e '/^install:/s:install-html::g' \
|
||||
-i Makefile || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
cd share/doc/${PN}/ || die
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
prefix="${EPREFIX}/usr" \
|
||||
install
|
||||
|
||||
if use doc ; then
|
||||
HTML_DOCS=( share/doc/${PN}/_build/html/. )
|
||||
else
|
||||
HTML_DOCS=( "${FILESDIR}"/index.html )
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH="${S}:${S}/build/lib:${PYTHONPATH}" LC_ALL="C" nosetests \
|
||||
--verbose --with-doctest --with-id --exclude=jsonpickle --exclude=json \
|
||||
|| die "running nosetests failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please make sure you have either a SSH key management installed and activated or"
|
||||
elog "installed a SSH askpass app like net-misc/x11-ssh-askpass."
|
||||
elog "Otherwise ${PN} may hang when pushing/pulling from remote git repositories via SSH. "
|
||||
}
|
@ -1,104 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-cola/git-cola-1.9.3-r1.ebuild,v 1.1 2014/01/29 11:55:12 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
DISTUTILS_SINGLE_IMPL=true
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="The highly caffeinated git GUI"
|
||||
HOMEPAGE="http://git-cola.github.com/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/jsonpickle[${PYTHON_USEDEP}]
|
||||
dev-python/pyinotify[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt4[${PYTHON_USEDEP}]
|
||||
dev-vcs/git"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/asciidoc
|
||||
app-text/xmlto
|
||||
sys-devel/gettext
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
sys-apps/net-tools
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-disable-tests.patch
|
||||
"${FILESDIR}"/${PN}-1.9.1-system-ssh-askpass.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
if use test && [[ -z "$(hostname -d)" ]] ; then
|
||||
die "Test will fail if no domain is set"
|
||||
fi
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
rm share/git-cola/bin/*askpass* || die
|
||||
|
||||
# unfinished translate framework
|
||||
rm test/i18n_test.py || die
|
||||
|
||||
# don't install docs into wrong location
|
||||
sed -i \
|
||||
-e '/doc/d' \
|
||||
setup.py || die "sed failed"
|
||||
|
||||
sed -i \
|
||||
-e "s|'doc', 'git-cola'|'doc', '${PF}'|" \
|
||||
cola/resources.py || die "sed failed"
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
cd share/doc/${PN}/
|
||||
if use doc ; then
|
||||
emake all
|
||||
else
|
||||
sed \
|
||||
-e '/^install:/s:install-html::g' \
|
||||
-i Makefile || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
cd share/doc/${PN}/ || die
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
prefix="${EPREFIX}/usr" \
|
||||
install
|
||||
|
||||
if use doc ; then
|
||||
HTML_DOCS=( share/doc/${PN}/_build/html/. )
|
||||
else
|
||||
HTML_DOCS=( "${FILESDIR}"/index.html )
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
docompress /usr/share/doc/${PF}/git-cola.txt
|
||||
}
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH="${S}:${S}/build/lib:${PYTHONPATH}" LC_ALL="C" nosetests \
|
||||
--verbose --with-doctest --with-id --exclude=jsonpickle --exclude=json \
|
||||
|| die "running nosetests failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please make sure you have either a SSH key management installed and activated or"
|
||||
elog "installed a SSH askpass app like net-misc/x11-ssh-askpass."
|
||||
elog "Otherwise ${PN} may hang when pushing/pulling from remote git repositories via SSH. "
|
||||
}
|
@ -1,103 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-cola/git-cola-1.9.3.ebuild,v 1.2 2014/01/19 19:04:32 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
DISTUTILS_SINGLE_IMPL=true
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="The highly caffeinated git GUI"
|
||||
HOMEPAGE="http://git-cola.github.com/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/jsonpickle[${PYTHON_USEDEP}]
|
||||
dev-python/pyinotify[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt4[${PYTHON_USEDEP}]
|
||||
dev-vcs/git"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/asciidoc
|
||||
app-text/xmlto
|
||||
sys-devel/gettext
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
sys-apps/net-tools
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-disable-tests.patch
|
||||
"${FILESDIR}"/${PN}-1.9.1-system-ssh-askpass.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
if use test && [[ -z "$(hostname -d)" ]] ; then
|
||||
die "Test will fail if no domain is set"
|
||||
fi
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
rm share/git-cola/bin/*askpass* || die
|
||||
|
||||
# unfinished translate framework
|
||||
rm test/i18n_test.py || die
|
||||
|
||||
# don't install docs into wrong location
|
||||
sed -i \
|
||||
-e '/doc/d' \
|
||||
setup.py || die "sed failed"
|
||||
|
||||
sed -i \
|
||||
-e "s|'doc', 'git-cola'|'doc', '${PF}', 'html'|" \
|
||||
cola/resources.py || die "sed failed"
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
cd share/doc/${PN}/
|
||||
if use doc ; then
|
||||
emake all
|
||||
else
|
||||
sed \
|
||||
-e '/^install:/s:install-html::g' \
|
||||
-i Makefile || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
cd share/doc/${PN}/ || die
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
prefix="${EPREFIX}/usr" \
|
||||
install
|
||||
|
||||
if use doc ; then
|
||||
HTML_DOCS=( share/doc/${PN}/_build/html/. )
|
||||
else
|
||||
HTML_DOCS=( "${FILESDIR}"/index.html )
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH="${S}:${S}/build/lib:${PYTHONPATH}" LC_ALL="C" nosetests \
|
||||
--verbose --with-doctest --with-id --exclude=jsonpickle --exclude=json \
|
||||
|| die "running nosetests failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please make sure you have either a SSH key management installed and activated or"
|
||||
elog "installed a SSH askpass app like net-misc/x11-ssh-askpass."
|
||||
elog "Otherwise ${PN} may hang when pushing/pulling from remote git repositories via SSH. "
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/dovecot_deleted_to_trash/dovecot_deleted_to_trash-0.5-r1.ebuild,v 1.1 2014/02/21 09:04:06 civil Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit toolchain-funcs base
|
||||
|
||||
DESCRIPTION="Deleted to trash IMAP plugin for Dovecot"
|
||||
HOMEPAGE="https://github.com/lexbrugman/dovecot_deleted_to_trash"
|
||||
SRC_URI="http://rion-overlay.googlecode.com/files/dovecot_deleted_to_trash-0.5.tar.bz2"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
|
||||
IUSE=""
|
||||
RDEPEND="=net-mail/dovecot-2.2*
|
||||
!!<net-mail/dovecot-2.2.0
|
||||
!!<=mail-filter/dovecot_deleted_to_trash-0.3
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/fix_names_and_destdir.patch )
|
||||
|
||||
#S="${WORKDIR}"
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
base_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
base_src_install
|
||||
|
||||
insinto /etc/dovecot/conf.d
|
||||
doins "${FILESDIR}"/29-delete-to-trash.conf
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST fotoxx-13.11.1.tar.gz 2473330 SHA256 494577fe849d636c2addd46f317b9226fd00a2b5f61a87672be068a2b7bcb5fe SHA512 c880f5f1a67f12ab081820d4a897912e20985dbad0096d2f4ef1f37d0b2b626dd66c69a593e57b31432a67f79eadd4ea8022dcde01bec865f71ecbfec456caa2 WHIRLPOOL 76017d414a8524c4e0208e5b10f5fd86e9761b0ebe998e8b923735d764e0ca75a584c6fc7aac8940ca3e1bb7065bdedfcb3fa7f3736f3457e4ce8345b224685d
|
||||
DIST fotoxx-13.12.tar.gz 2570613 SHA256 65d2a5062c5dcc20aef6af322f2ff425176b6e697eaabe368cceafa42de6e86b SHA512 5fdf87d0d872bd547bc7cc3cc4038e27213d409ae9c327d8167738541fdbcfbad76f63c42dac41acc43643d8ee738f6b2b93b41b342d19e03ceb0ca1c8b8dd89 WHIRLPOOL ba33130fae5e8bd92df3b67b0a89af8c379971b30b5ec0b70ecefb23e346c896dbe7bf4af0a7e3a4daa54f75a2bc0459d23ee9cccbdab511c652292498d28ac8
|
||||
DIST fotoxx-14.02.2.tar.gz 2715089 SHA256 60b6d9e8a5f19bc92b53d585cb36795d951c7a6d2d0bd1bd30ae3ca0465ed767 SHA512 944b1c5fca1b2ff0ce4de31b40d778e1aecddca29d15933b569eb6939c114882b8ec504efb604857c02b48c1a38563c7e250634534efd1d13e6a755286b1c995 WHIRLPOOL d9d452b9b04d75748707de5a90605950e8781250b70af3d86aa87cbe36d72084372e5b39a784941801f9542d764c1f71558964bee82f0908d776b2798273d08e
|
||||
|
@ -0,0 +1,44 @@
|
||||
diff -r -U1 fotoxx-13.08.1.orig/Makefile fotoxx-13.08.1/Makefile
|
||||
--- fotoxx-13.08.1.orig/Makefile 2013-08-13 15:53:00.000000000 +0700
|
||||
+++ fotoxx-13.08.1/Makefile 2013-08-16 04:37:03.009099149 +0700
|
||||
@@ -5,4 +5,4 @@
|
||||
# defaults for parameters that may be pre-defined
|
||||
-CXXFLAGS ?= -O2 -Wall -ggdb
|
||||
-LDFLAGS ?= -rdynamic
|
||||
+CXXFLAGS += -Wall -Wno-deprecated-declarations
|
||||
+LDFLAGS += -rdynamic
|
||||
PREFIX ?= /usr
|
||||
@@ -15,3 +15,3 @@
|
||||
LOCALESDIR = $(SHAREDIR)/locales
|
||||
-DOCDIR = $(PREFIX)/share/doc/fotoxx
|
||||
+DOCDIR = $(PREFIX)/share/doc/$(PF)
|
||||
MANDIR = $(PREFIX)/share/man/man1
|
||||
@@ -19,4 +19,4 @@
|
||||
|
||||
-CFLAGS = $(CXXFLAGS) -c `pkg-config --cflags gtk+-3.0`
|
||||
-LIBS = `pkg-config --libs gtk+-3.0`
|
||||
+CFLAGS = $(CXXFLAGS) -c -DPF=\"$(PF)\" `pkg-config --cflags gtk+-3.0`
|
||||
+LIBS = `pkg-config --libs gtk+-3.0` -lpthread
|
||||
|
||||
@@ -78,3 +78,2 @@
|
||||
rm -f $(DESTDIR)$(MANDIR)/fotoxx.1.gz
|
||||
- xdg-desktop-menu uninstall $(DESTDIR)$(MENUFILE)
|
||||
rm -f $(DESTDIR)$(MENUFILE)
|
||||
@@ -97,5 +96,2 @@
|
||||
rm -f fotoxx.1.gz
|
||||
- # menu (desktop) file
|
||||
- cp -f desktop $(DESTDIR)$(MENUFILE)
|
||||
- xdg-desktop-menu install --novendor $(DESTDIR)$(MENUFILE)
|
||||
|
||||
@@ -106,3 +102,2 @@
|
||||
rm -f $(DESTDIR)$(MANDIR)/fotoxx.1.gz
|
||||
- xdg-desktop-menu uninstall $(DESTDIR)$(MENUFILE)
|
||||
rm -f $(DESTDIR)$(MENUFILE)
|
||||
diff -r -U1 fotoxx-13.08.1.orig/zfuncs.cc fotoxx-13.08.1/zfuncs.cc
|
||||
--- fotoxx-13.08.1.orig/zfuncs.cc 2013-08-13 15:53:00.000000000 +0700
|
||||
+++ fotoxx-13.08.1/zfuncs.cc 2013-08-16 04:31:58.882119673 +0700
|
||||
@@ -3947,3 +3947,3 @@
|
||||
strncatv(zlocalesdir,199,work,"/share/",zappname,"/locales",null); // /prefix/share/appname/locales
|
||||
- strncatv(zdocdir,199,work,"/share/doc/",zappname,null); // /prefix/share/doc/appname
|
||||
+ strncatv(zdocdir,199,work,"/share/doc/",PF,null); // /prefix/share/doc/$(PF)
|
||||
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/fotoxx/fotoxx-14.02.2.ebuild,v 1.1 2014/02/21 15:28:32 grozin Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils toolchain-funcs fdo-mime
|
||||
|
||||
DESCRIPTION="Program for improving image files made with a digital camera"
|
||||
HOMEPAGE="http://www.kornelix.com/fotoxx.html"
|
||||
SRC_URI="http://www.kornelix.com/uploads/1/3/0/3/13035936/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
x11-libs/gtk+:3
|
||||
media-libs/libpng
|
||||
media-libs/tiff
|
||||
media-libs/lcms:2"
|
||||
RDEPEND="${DEPEND}
|
||||
media-libs/exiftool
|
||||
media-gfx/ufraw[gtk]
|
||||
media-gfx/dcraw
|
||||
x11-misc/xdg-utils"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PF}.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CXX
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# For the Help menu items to work, *.html must be in /usr/share/doc/${PF},
|
||||
# and README, changelog, translations, edit-menus, KB-shortcuts must not be compressed
|
||||
emake DESTDIR="${D}" install
|
||||
newmenu desktop ${PN}.desktop
|
||||
rm -f "${D}"/usr/share/doc/${PF}/*.man
|
||||
docompress -x /usr/share/doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_mime_database_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
@ -1,5 +1 @@
|
||||
DIST shotwell-0.13.1.tar.xz 1497664 SHA256 e548c3274410e0696ffcd051eabd38ca2a507031f36b7203c1e68966815fa735 SHA512 947d1b430ae346925e035870d33c6de51e12c7d1a7a9611826ee8ad6c8175eb1f7a67a7a31ae7ac60477f32611c3aa4fd8551a2528165549663df900f16dfbae WHIRLPOOL ca2b08c0c6c2c4c2a119a1ca0026e70ed362b76c692724094f7ebbfaf9cd9351e013e4f3502a72c57780d8ad62d3d3c66361bdccb5ccc913bc508d91df128235
|
||||
DIST shotwell-0.14.0.tar.xz 1523280 SHA256 0529a41bf9fce01d9f1a6d96e9c4b184c6f26de8356b20abd2b9e19e1f4062b5 SHA512 ec1c082a9de3e898fa14c23dffdb248f34cf2bf27556730891ad3274ca0efec84617b334b3d16dc1edaa05df257a61df0f592ea55d9f34dfb15e36ae8f18b320 WHIRLPOOL 08551c47a3924f135bfdfda7a27f3e10972f09acf4bf19e6c9349b05ae4734c6e87eb1ff85055f85c31ecd608e9f17062eaba3fd58a8c2d14121869944af43db
|
||||
DIST shotwell-0.14.1.tar.xz 1624784 SHA256 045c4833e23374b649e735661cedbbff8368624b6719547013db2c21c8402fef SHA512 cefc5130b7fd5bd2b7d7889c5ebba01e9a447e885ece8353e42cd4cd515c068722d2460a2cdf31a94824605091c06042e086986aff8fe2dd0b589ad2a2dce20b WHIRLPOOL b900737e101e6e85b2ab8ecb40162e9bdd5878642350bb634c5fcb3d72c4599463b4514523405bd210d9d73a619f0ea1e1afbed3bff225837979a82c9863dc99
|
||||
DIST shotwell-0.15.0.tar.xz 1676992 SHA256 ece985360c6b5b4fc090b513bc844f0f17754b236b86cf559f36a2d8a5298a1d SHA512 50f6faff46ec3b64ee200c8c9ea5944d7fcb48da554f745ab2a1205390abfc423562b381e6bac7cc30ab8e09dc69c22167fc1c8ac0438d482cfb24512f8e1ace WHIRLPOOL 9571e7b067e6f603a974b12ec12c566fe69ed56cabbd94d8cc3c02473bea38aa0d5eaae46e0020afef297c7f8c445f4e88b0d235d72c73a769e41e9162498272
|
||||
DIST shotwell-0.15.1.tar.xz 1676428 SHA256 eb48a0398774f172feaa4461146cc81a99540147bd8751c1e2091b21d4c20b8b SHA512 e660e6afe49e8fe51e4021899b8a56bc81a2e606769f4a7720146220cea1007960574dd6f1890d0decb9da79ed4d9b29b6f70ad7b2be0169d44689324fcc647a WHIRLPOOL 749b4e9505fcd6ad196d4a60873e1a80cf40c6b770f99d9df6303a63231fa407d86efed7710d8f42afc3fc131b5804b696f58a6c582a1b9194ebe8ef822efaaa
|
||||
|
@ -1,94 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/shotwell/shotwell-0.13.1-r2.ebuild,v 1.5 2013/10/04 22:12:48 tetromino Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
GCONF_DEBUG="no"
|
||||
VALA_MIN_API_VERSION="0.18"
|
||||
VALA_MAX_API_VERSION="0.20"
|
||||
|
||||
inherit eutils gnome2 multilib toolchain-funcs vala versionator
|
||||
|
||||
MY_PV=$(get_version_component_range 1-2)
|
||||
DESCRIPTION="Open source photo manager for GNOME"
|
||||
HOMEPAGE="http://yorba.org/shotwell/"
|
||||
SRC_URI="http://www.yorba.org/download/${PN}/stable/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
LANGS="ar ast bg bn ca cs da de el en_GB es et eu fi fr gl he hi hr hu ia id it ja kk
|
||||
ko lt lv mk nb nl pa pl pt pt_BR ro ru sk sl sr sv ta te ta_IN te_IN th tr uk vi zh_CN zh_TW"
|
||||
|
||||
for x in ${LANGS}; do
|
||||
IUSE+="linguas_${x} "
|
||||
done
|
||||
|
||||
RDEPEND="
|
||||
>=dev-db/sqlite-3.5.9:3
|
||||
>=dev-libs/dbus-glib-0.80
|
||||
>=dev-libs/glib-2.30.0:2
|
||||
>=dev-libs/json-glib-0.7.6
|
||||
>=dev-libs/libgee-0.5.0:0
|
||||
>=dev-libs/libunique-3.0.0:3
|
||||
>=dev-libs/libxml2-2.6.32:2
|
||||
gnome-base/dconf
|
||||
>=media-libs/gexiv2-0.3.92
|
||||
media-libs/gst-plugins-base:1.0
|
||||
media-libs/gst-plugins-good:1.0
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libexif-0.6.16
|
||||
>=media-libs/libgphoto2-2.4.2:=
|
||||
>=media-libs/libraw-0.14.0:=
|
||||
>=net-libs/libsoup-2.26.0:2.4
|
||||
net-libs/rest:0.7
|
||||
net-libs/webkit-gtk:3
|
||||
virtual/udev[gudev]
|
||||
x11-libs/gtk+:3"
|
||||
DEPEND="${RDEPEND}
|
||||
$(vala_depend)
|
||||
sys-devel/m4"
|
||||
|
||||
DOCS=( AUTHORS MAINTAINERS NEWS README THANKS )
|
||||
|
||||
# This probably comes from libraries that
|
||||
# shotwell-video-thumbnailer links to.
|
||||
# Nothing we can do at the moment. #435048
|
||||
QA_FLAGS_IGNORED="/usr/bin/${PN}-video-thumbnailer"
|
||||
|
||||
pkg_setup() {
|
||||
tc-export CC
|
||||
G2CONF="${G2CONF}
|
||||
--disable-schemas-compile
|
||||
--disable-desktop-update
|
||||
--disable-icon-update
|
||||
--lib=$(get_libdir)"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
vala_src_prepare
|
||||
sed \
|
||||
-e 's|CFLAGS :|CFLAGS +|g' \
|
||||
-i plugins/Makefile.plugin.mk || die
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-ldflags.patch \
|
||||
"${FILESDIR}"/${P}-gst-1.0.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local valaver="$(vala_best_api_version)"
|
||||
emake VALAC="$(type -p valac-${valaver})"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
for x in ${LANGS}; do
|
||||
if ! has ${x} ${LINGUAS}; then
|
||||
find "${D}"/usr/share/locale/${x} -type f -exec rm {} \;
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/shotwell/shotwell-0.14.0-r1.ebuild,v 1.4 2013/10/04 22:12:48 tetromino Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
GCONF_DEBUG="no"
|
||||
VALA_MIN_API_VERSION="0.18"
|
||||
VALA_MAX_API_VERSION="0.20"
|
||||
|
||||
inherit eutils gnome2 multilib toolchain-funcs vala versionator
|
||||
|
||||
MY_PV=$(get_version_component_range 1-2)
|
||||
DESCRIPTION="Open source photo manager for GNOME"
|
||||
HOMEPAGE="http://yorba.org/shotwell/"
|
||||
SRC_URI="http://www.yorba.org/download/${PN}/stable/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
LANGS="ar ast bg bn ca cs da de el en_GB es et eu fi fr gl he hi hr hu ia id it ja kk
|
||||
ko lt lv mk nb nl pa pl pt pt_BR ro ru sk sl sr sv ta te ta_IN te_IN th tr uk vi zh_CN zh_TW"
|
||||
|
||||
for x in ${LANGS}; do
|
||||
IUSE+="linguas_${x} "
|
||||
done
|
||||
|
||||
RDEPEND="
|
||||
>=dev-db/sqlite-3.5.9:3
|
||||
>=dev-libs/dbus-glib-0.80
|
||||
>=dev-libs/glib-2.30.0:2
|
||||
>=dev-libs/json-glib-0.7.6
|
||||
>=dev-libs/libgee-0.5.0:0
|
||||
>=dev-libs/libxml2-2.6.32:2
|
||||
gnome-base/dconf
|
||||
>=media-libs/gexiv2-0.4.90
|
||||
media-libs/gst-plugins-base:1.0
|
||||
media-libs/gst-plugins-good:1.0
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libexif-0.6.16
|
||||
>=media-libs/libgphoto2-2.4.2:=
|
||||
>=media-libs/libraw-0.14.0:=
|
||||
>=net-libs/libsoup-2.26.0:2.4
|
||||
net-libs/rest:0.7
|
||||
net-libs/webkit-gtk:3
|
||||
virtual/udev[gudev]
|
||||
x11-libs/gtk+:3"
|
||||
DEPEND="${RDEPEND}
|
||||
$(vala_depend)
|
||||
sys-devel/m4"
|
||||
|
||||
DOCS=( AUTHORS MAINTAINERS NEWS README THANKS )
|
||||
|
||||
# This probably comes from libraries that
|
||||
# shotwell-video-thumbnailer links to.
|
||||
# Nothing we can do at the moment. #435048
|
||||
QA_FLAGS_IGNORED="/usr/bin/${PN}-video-thumbnailer"
|
||||
|
||||
pkg_setup() {
|
||||
tc-export CC
|
||||
G2CONF="${G2CONF}
|
||||
--disable-schemas-compile
|
||||
--disable-desktop-update
|
||||
--disable-icon-update
|
||||
--prefix=/usr
|
||||
--lib=$(get_libdir)"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
vala_src_prepare
|
||||
sed \
|
||||
-e 's|CFLAGS :|CFLAGS +|g' \
|
||||
-i plugins/Makefile.plugin.mk || die
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-0.13.1-ldflags.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
${G2CONF} \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local valaver="$(vala_best_api_version)"
|
||||
emake VALAC="$(type -p valac-${valaver})"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
for x in ${LANGS}; do
|
||||
if ! has ${x} ${LINGUAS}; then
|
||||
find "${D}"/usr/share/locale/${x} -type f -exec rm {} \;
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,100 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/shotwell/shotwell-0.14.1.ebuild,v 1.8 2013/12/08 20:01:41 pacho Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
GCONF_DEBUG="no"
|
||||
VALA_MIN_API_VERSION="0.18"
|
||||
VALA_MAX_API_VERSION="0.20"
|
||||
|
||||
inherit eutils gnome2 multilib toolchain-funcs vala versionator
|
||||
|
||||
MY_PV=$(get_version_component_range 1-2)
|
||||
DESCRIPTION="Open source photo manager for GNOME"
|
||||
HOMEPAGE="http://yorba.org/shotwell/"
|
||||
SRC_URI="http://www.yorba.org/download/${PN}/stable/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86"
|
||||
IUSE=""
|
||||
|
||||
LANGS="af ar as ast bg bn ca cs da de el en_GB es et eu fi fr gl gu he hi hr hu ia id it ja kk kn
|
||||
ko lt lv mk ml mr nb nl pa pl pt pt_BR ro ru sk sl sr sv ta te th tr uk vi zh_CN zh_TW"
|
||||
|
||||
for x in ${LANGS}; do
|
||||
IUSE+="linguas_${x} "
|
||||
done
|
||||
|
||||
RDEPEND="
|
||||
>=dev-db/sqlite-3.5.9:3
|
||||
>=dev-libs/dbus-glib-0.80
|
||||
>=dev-libs/glib-2.30.0:2
|
||||
>=dev-libs/json-glib-0.7.6
|
||||
>=dev-libs/libgee-0.5.0:0
|
||||
>=dev-libs/libxml2-2.6.32:2
|
||||
gnome-base/dconf
|
||||
>=media-libs/gexiv2-0.4.90
|
||||
media-libs/gst-plugins-base:1.0
|
||||
media-libs/gst-plugins-good:1.0
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libexif-0.6.16:=
|
||||
>=media-libs/libgphoto2-2.4.2:=
|
||||
>=media-libs/libraw-0.14.0:=
|
||||
>=net-libs/libsoup-2.26.0:2.4
|
||||
net-libs/rest:0.7
|
||||
net-libs/webkit-gtk:3
|
||||
virtual/udev[gudev]
|
||||
x11-libs/gtk+:3"
|
||||
DEPEND="${RDEPEND}
|
||||
$(vala_depend)
|
||||
sys-devel/m4"
|
||||
|
||||
DOCS=( AUTHORS MAINTAINERS NEWS README THANKS )
|
||||
|
||||
# This probably comes from libraries that
|
||||
# shotwell-video-thumbnailer links to.
|
||||
# Nothing we can do at the moment. #435048
|
||||
QA_FLAGS_IGNORED="/usr/bin/${PN}-video-thumbnailer"
|
||||
|
||||
pkg_setup() {
|
||||
tc-export CC
|
||||
G2CONF="${G2CONF}
|
||||
--disable-schemas-compile
|
||||
--disable-desktop-update
|
||||
--disable-icon-update
|
||||
--prefix=/usr
|
||||
--lib=$(get_libdir)"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
vala_src_prepare
|
||||
sed \
|
||||
-e 's|CFLAGS :|CFLAGS +|g' \
|
||||
-i plugins/Makefile.plugin.mk || die
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-0.13.1-ldflags.patch \
|
||||
"${FILESDIR}"/${P}-libraw.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
${G2CONF} \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local valaver="$(vala_best_api_version)"
|
||||
emake VALAC="$(type -p valac-${valaver})"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
for x in ${LANGS}; do
|
||||
if ! has ${x} ${LINGUAS}; then
|
||||
find "${D}"/usr/share/locale/${x} -type f -exec rm {} \;
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,107 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/shotwell/shotwell-0.15.0.ebuild,v 1.3 2013/11/20 11:24:36 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
GCONF_DEBUG="no"
|
||||
VALA_MIN_API_VERSION="0.20"
|
||||
VALA_MAX_API_VERSION="0.22"
|
||||
|
||||
inherit eutils gnome2 multilib toolchain-funcs vala versionator
|
||||
|
||||
MY_PV=$(get_version_component_range 1-2)
|
||||
DESCRIPTION="Open source photo manager for GNOME"
|
||||
HOMEPAGE="http://yorba.org/shotwell/"
|
||||
SRC_URI="http://www.yorba.org/download/${PN}/stable/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
CORE_SUPPORTED_LANGUAGES="
|
||||
ia hi te fr de it es pl et sv sk lv pt bg bn nl da zh_CN
|
||||
el ru pa hu en_GB uk ja fi zh_TW cs nb id th sl hr ar ast ro sr lt gl tr ca ko kk pt_BR
|
||||
eu he mk ta vi or km af as gu kn ml mr af_ZA bn_IN id_ID ky nn_NO ta_IN te_IN "
|
||||
|
||||
EXTRAS_SUPPORTED_LANGUAGES="
|
||||
fr de it es pl et sv sk lv pt bg bn nl da zh_CN el ru pa hu en_GB uk
|
||||
ja fi zh_TW cs nb id th sl hr ar ast ro sr lt gl tr ca ko kk pt_BR eu he mk te ta eo or hi
|
||||
as kn ml mr bn_IN gu id_ID nn_NO vi"
|
||||
|
||||
for x in ${CORE_SUPPORTED_LANGUAGES} ${EXTRAS_SUPPORTED_LANGUAGES}; do
|
||||
IUSE+="linguas_${x} "
|
||||
done
|
||||
|
||||
RDEPEND="
|
||||
>=dev-db/sqlite-3.5.9:3
|
||||
>=dev-libs/dbus-glib-0.80
|
||||
>=dev-libs/glib-2.30.0:2
|
||||
>=dev-libs/json-glib-0.7.6
|
||||
>=dev-libs/libgee-0.8.5:0.8
|
||||
>=dev-libs/libxml2-2.6.32:2
|
||||
>=dev-util/desktop-file-utils-0.13
|
||||
gnome-base/dconf
|
||||
>=media-libs/gexiv2-0.4.90
|
||||
media-libs/gst-plugins-base:1.0
|
||||
media-libs/gst-plugins-good:1.0
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libexif-0.6.16:=
|
||||
>=media-libs/libgphoto2-2.4.2:=
|
||||
>=media-libs/libraw-0.13.2:=
|
||||
>=net-libs/libsoup-2.26.0:2.4
|
||||
>=net-libs/rest-0.7:0.7
|
||||
>=net-libs/webkit-gtk-1.4:3
|
||||
>=virtual/udev-145[gudev]
|
||||
>=x11-libs/gtk+-3.6.0:3"
|
||||
DEPEND="${RDEPEND}
|
||||
$(vala_depend)
|
||||
>=sys-devel/m4-1.4.13"
|
||||
|
||||
DOCS=( AUTHORS MAINTAINERS NEWS README THANKS )
|
||||
|
||||
# This probably comes from libraries that
|
||||
# shotwell-video-thumbnailer links to.
|
||||
# Nothing we can do at the moment. #435048
|
||||
QA_FLAGS_IGNORED="/usr/libexec/${PN}/${PN}-video-thumbnailer"
|
||||
|
||||
pkg_setup() {
|
||||
tc-export CC
|
||||
G2CONF="${G2CONF}
|
||||
--disable-schemas-compile
|
||||
--disable-desktop-update
|
||||
--disable-icon-update
|
||||
--prefix=/usr
|
||||
--lib=$(get_libdir)"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
vala_src_prepare
|
||||
sed \
|
||||
-e 's|CFLAGS :|CFLAGS +|g' \
|
||||
-i plugins/Makefile.plugin.mk || die
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-0.13.1-ldflags.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
${G2CONF} \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local valaver="$(vala_best_api_version)"
|
||||
emake VALAC="$(type -p valac-${valaver})"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
for x in ${LANGS}; do
|
||||
if ! has ${x} ${LINGUAS}; then
|
||||
find "${D}"/usr/share/locale/${x} -type f -exec rm {} \;
|
||||
fi
|
||||
done
|
||||
}
|
@ -1 +1 @@
|
||||
Fri, 21 Feb 2014 10:07:04 +0000
|
||||
Fri, 21 Feb 2014 17:37:03 +0000
|
||||
|
@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201402-20">
|
||||
<title>KVIrc: Multiple vulnerabilities</title>
|
||||
<synopsis>Multiple vulnerabilities have been found in KVIrc, the worst of
|
||||
which allows remote attackers to execute arbitrary code.
|
||||
</synopsis>
|
||||
<product type="ebuild">kvirc</product>
|
||||
<announced>February 21, 2014</announced>
|
||||
<revised>February 21, 2014: 1</revised>
|
||||
<bug>326149</bug>
|
||||
<bug>330111</bug>
|
||||
<access>remote</access>
|
||||
<affected>
|
||||
<package name="net-irc/kvirc" auto="yes" arch="*">
|
||||
<unaffected range="ge">4.1_pre4693</unaffected>
|
||||
<vulnerable range="lt">4.1_pre4693</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>KVIrc is a free portable IRC client based on Qt.</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>Multiple vulnerabilities have been discovered in KVIrc. Please review
|
||||
the CVE identifiers referenced below for details.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="high">
|
||||
<p>A remote attacker could possibly execute arbitrary code with the
|
||||
privileges of the process, cause a Denial of
|
||||
Service condition, or overwrite arbitrary files.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All KVIrc users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=net-irc/kvirc-4.1_pre4693"
|
||||
</code>
|
||||
|
||||
<p>NOTE: This is a legacy GLSA. Updates for all affected architectures are
|
||||
available since July 29, 2010. It is likely that your system is already
|
||||
no longer affected by this issue.
|
||||
</p>
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-2451">CVE-2010-2451</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-2452">CVE-2010-2452</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-2785">CVE-2010-2785</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Fri, 07 Oct 2011 23:37:28 +0000">craig</metadata>
|
||||
<metadata tag="submitter" timestamp="Fri, 21 Feb 2014 15:14:41 +0000">
|
||||
pinkbyte
|
||||
</metadata>
|
||||
</glsa>
|
@ -0,0 +1,80 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201402-21">
|
||||
<title>libTIFF: Multiple vulnerabilities</title>
|
||||
<synopsis>Multiple vulnerabilities have been found in libTIFF, allowing
|
||||
remote attackers to execute arbitrary code or cause Denial of Service.
|
||||
</synopsis>
|
||||
<product type="ebuild">tiff</product>
|
||||
<announced>February 21, 2014</announced>
|
||||
<revised>February 21, 2014: 1</revised>
|
||||
<bug>440154</bug>
|
||||
<bug>440944</bug>
|
||||
<bug>468334</bug>
|
||||
<bug>480466</bug>
|
||||
<bug>486590</bug>
|
||||
<access>remote</access>
|
||||
<affected>
|
||||
<package name="media-libs/tiff" auto="yes" arch="*">
|
||||
<unaffected range="ge">4.0.3-r6</unaffected>
|
||||
<unaffected range="rge">3.9.7-r1</unaffected>
|
||||
<vulnerable range="lt">4.0.3-r6</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>libTIFF provides support for reading and manipulating TIFF (Tagged Image
|
||||
File Format) images.
|
||||
</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>Multiple vulnerabilities have been discovered in libTIFF. Please review
|
||||
the CVE identifiers referenced below for details.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="normal">
|
||||
<p>A remote attacker could entice a user to open a specially crafted TIFF
|
||||
file with an application making use of libTIFF, possibly resulting in
|
||||
execution of arbitrary code with the privileges of the user running the
|
||||
application or a Denial of Service condition.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All libTIFF 4.* users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=media-libs/tiff-4.0.3-r6"
|
||||
</code>
|
||||
|
||||
<p>All libTIFF 3.* users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=media-libs/tiff-3.9.7-r1:3"
|
||||
</code>
|
||||
|
||||
<p>Packages which depend on this library may need to be recompiled. Tools
|
||||
such as revdep-rebuild may assist in identifying these packages.
|
||||
</p>
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4447">CVE-2012-4447</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4564">CVE-2012-4564</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-1960">CVE-2013-1960</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-1961">CVE-2013-1961</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-4231">CVE-2013-4231</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-4232">CVE-2013-4232</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-4244">CVE-2013-4244</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Mon, 02 Sep 2013 10:35:33 +0000">
|
||||
pinkbyte
|
||||
</metadata>
|
||||
<metadata tag="submitter" timestamp="Fri, 21 Feb 2014 15:18:04 +0000">
|
||||
pinkbyte
|
||||
</metadata>
|
||||
</glsa>
|
@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201402-23">
|
||||
<title>libXfont: Multiple vulnerabilities</title>
|
||||
<synopsis>Multiple vulnerabilities have been found in libXfont, the worst of
|
||||
which allow for local privilege escalation.
|
||||
</synopsis>
|
||||
<product type="ebuild">libxfont</product>
|
||||
<announced>February 21, 2014</announced>
|
||||
<revised>February 21, 2014: 1</revised>
|
||||
<bug>378797</bug>
|
||||
<bug>497416</bug>
|
||||
<access>local</access>
|
||||
<affected>
|
||||
<package name="x11-libs/libXfont" auto="yes" arch="*">
|
||||
<unaffected range="ge">1.4.7 </unaffected>
|
||||
<vulnerable range="lt">1.4.7 </vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>libXfont is an X11 font rasterisation library.</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>Multiple vulnerabilities have been discovered in libXfont. Please review
|
||||
the CVE identifiers referenced below for details.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="high">
|
||||
<p>A local attacker could use a specially crafted file to gain privileges
|
||||
or cause a Denial of Service condition.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All libXfont users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=x11-libs/libXfont-1.4.7 "
|
||||
</code>
|
||||
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-2895">CVE-2011-2895</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-6462">CVE-2013-6462</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Fri, 07 Oct 2011 23:37:46 +0000">
|
||||
underling
|
||||
</metadata>
|
||||
<metadata tag="submitter" timestamp="Fri, 21 Feb 2014 15:29:10 +0000">Zlogene</metadata>
|
||||
</glsa>
|
@ -0,0 +1,88 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201402-24">
|
||||
<title>GnuPG, Libgcrypt: Multiple vulnerabilities</title>
|
||||
<synopsis>Multiple vulnerabilities have been discovered in GnuPG and
|
||||
Libgcrypt, which may result in execution of arbitrary code, Denial of
|
||||
Service, or the disclosure of private keys.
|
||||
</synopsis>
|
||||
<product type="ebuild">gnupg libgcrypt</product>
|
||||
<announced>February 21, 2014</announced>
|
||||
<revised>February 21, 2014: 1</revised>
|
||||
<bug>449546</bug>
|
||||
<bug>478184</bug>
|
||||
<bug>484836</bug>
|
||||
<bug>487230</bug>
|
||||
<bug>494658</bug>
|
||||
<access>local, remote</access>
|
||||
<affected>
|
||||
<package name="app-crypt/gnupg" auto="yes" arch="*">
|
||||
<unaffected range="ge">2.0.22</unaffected>
|
||||
<unaffected range="rge">1.4.16</unaffected>
|
||||
<vulnerable range="lt">2.0.22</vulnerable>
|
||||
</package>
|
||||
<package name="dev-libs/libgcrypt" auto="yes" arch="*">
|
||||
<unaffected range="ge">1.5.3</unaffected>
|
||||
<vulnerable range="lt">1.5.3</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>The GNU Privacy Guard, GnuPG, is a free replacement for the PGP suite of
|
||||
cryptographic software. Libgcrypt is a cryptographic library based on
|
||||
GnuPG.
|
||||
</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>Multiple vulnerabilities have been discovered in GnuPG and Libgcrypt.
|
||||
Please review the CVE identifiers referenced below for details.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="normal">
|
||||
<p>An unauthenticated remote attacker may be able to execute arbitrary code
|
||||
with the privileges of the user running GnuPG, cause a Denial of Service
|
||||
condition, or bypass security restrictions. Additionally, a side-channel
|
||||
attack may allow a local attacker to recover a private key, please review
|
||||
“Flush+Reload: a High Resolution, Low Noise, L3 Cache Side-Channel
|
||||
Attack” in the References section for further details.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All GnuPG 2.0 users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=app-crypt/gnupg-2.0.22"
|
||||
</code>
|
||||
|
||||
<p>All GnuPG 1.4 users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=app-crypt/gnupg-1.4.16"
|
||||
</code>
|
||||
|
||||
<p>All Libgcrypt users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=dev-libs/libgcrypt-1.5.3"
|
||||
</code>
|
||||
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-6085">CVE-2012-6085</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-4242">CVE-2013-4242</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-4351">CVE-2013-4351</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-4402">CVE-2013-4402</uri>
|
||||
<uri link="http://eprint.iacr.org/2013/448">Flush+Reload: a High
|
||||
Resolution, Low Noise, L3 Cache Side-Channel Attack
|
||||
</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Tue, 15 Jan 2013 21:37:26 +0000">ackle</metadata>
|
||||
<metadata tag="submitter" timestamp="Fri, 21 Feb 2014 15:33:59 +0000">ackle</metadata>
|
||||
</glsa>
|
@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201402-25">
|
||||
<title>OpenSSL: Denial of Service</title>
|
||||
<synopsis>A vulnerability in OpenSSL's handling of TLS handshakes could
|
||||
result in a Denial of Service condition.
|
||||
</synopsis>
|
||||
<product type="ebuild">openssl</product>
|
||||
<announced>February 21, 2014</announced>
|
||||
<revised>February 21, 2014: 1</revised>
|
||||
<bug>497838</bug>
|
||||
<access>remote</access>
|
||||
<affected>
|
||||
<package name="dev-libs/openssl" auto="yes" arch="*">
|
||||
<unaffected range="ge">1.0.1f</unaffected>
|
||||
<unaffected range="lt">1.0.1</unaffected>
|
||||
<vulnerable range="lt">1.0.1f</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>OpenSSL is an Open Source toolkit implementing the Secure Sockets Layer
|
||||
(SSL v2/v3) and Transport Layer Security (TLS v1) as well as a general
|
||||
purpose cryptography library.
|
||||
</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>A flaw in the ssl3_take_mac function can result in a NULL pointer
|
||||
dereference.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="normal">
|
||||
<p>A remote attacker could send a specially crafted TLS handshake,
|
||||
resulting in a Denial of Service condition.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All OpenSSL 1.0.1 users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=dev-libs/openssl-1.0.1f"
|
||||
</code>
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-4353">CVE-2013-4353</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Tue, 28 Jan 2014 06:18:59 +0000">
|
||||
BlueKnight
|
||||
</metadata>
|
||||
<metadata tag="submitter" timestamp="Fri, 21 Feb 2014 15:36:48 +0000">
|
||||
BlueKnight
|
||||
</metadata>
|
||||
</glsa>
|
@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201402-26">
|
||||
<title>libssh: Arbitrary code execution</title>
|
||||
<synopsis>Multiple vulnerabilities have been found in libssh, allowing
|
||||
attackers to execute arbitrary code or cause Denial of Service.
|
||||
</synopsis>
|
||||
<product type="ebuild">libssh</product>
|
||||
<announced>February 21, 2014</announced>
|
||||
<revised>February 21, 2014: 1</revised>
|
||||
<bug>444147</bug>
|
||||
<access>remote</access>
|
||||
<affected>
|
||||
<package name="net-libs/libssh" auto="yes" arch="*">
|
||||
<unaffected range="ge">0.5.3</unaffected>
|
||||
<vulnerable range="lt">0.5.3</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>libssh is a C library providing SSHv2 and SSHv1.</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>Multiple buffer overflow, double free, and integer overflow
|
||||
vulnerabilities have been discovered in libssh.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="normal">
|
||||
<p>A remote attacker could possibly execute arbitrary code with the
|
||||
privileges of the process or cause a Denial of Service condition.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All libssh users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=net-libs/libssh-0.5.3"
|
||||
</code>
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4559">CVE-2012-4559</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4560">CVE-2012-4560</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4561">CVE-2012-4561</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4562">CVE-2012-4562</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-6063">CVE-2012-6063</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Mon, 03 Dec 2012 11:55:23 +0000">ackle</metadata>
|
||||
<metadata tag="submitter" timestamp="Fri, 21 Feb 2014 15:44:25 +0000">ackle</metadata>
|
||||
</glsa>
|
@ -1 +1 @@
|
||||
Fri, 21 Feb 2014 10:07:04 +0000
|
||||
Fri, 21 Feb 2014 17:37:03 +0000
|
||||
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=configure install postinst prepare
|
||||
DEPEND=ldap? ( net-nds/openldap ) bzip2? ( app-arch/bzip2 ) zlib? ( sys-libs/zlib ) curl? ( net-misc/curl ) mta? ( virtual/mta ) readline? ( sys-libs/readline ) smartcard? ( =virtual/libusb-0* ) usb? ( =virtual/libusb-0* ) dev-lang/perl nls? ( sys-devel/gettext )
|
||||
DESCRIPTION=The GNU Privacy Guard, a GPL pgp replacement
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.gnupg.org/
|
||||
IUSE=bzip2 curl ldap mta nls readline selinux smartcard static usb zlib linguas_ru
|
||||
KEYWORDS=alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=!static? ( ldap? ( net-nds/openldap ) bzip2? ( app-arch/bzip2 ) zlib? ( sys-libs/zlib ) curl? ( net-misc/curl ) mta? ( virtual/mta ) readline? ( sys-libs/readline ) smartcard? ( =virtual/libusb-0* ) usb? ( =virtual/libusb-0* ) ) selinux? ( sec-policy/selinux-gpg ) nls? ( virtual/libintl )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://gnupg/gnupg/gnupg-1.4.15.tar.bz2
|
||||
_eclasses_=eutils 40081e8c7e7f7c4f9db349a1d6d52925 flag-o-matic 9a539029fe1d390c1828ff633baf26b5 multilib fac675dcccf94392371a6abee62d909f toolchain-funcs 48b38a216afb92db6314d6c3187abea3
|
||||
_md5_=49bbdcf8da724231578132119de5b7e2
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile install postinst setup
|
||||
DEPEND=>=dev-db/sqlite-3.7.9:3 sys-fs/lvm2[thin] >=dev-lang/go-1.2 >=sys-fs/btrfs-progs-0.20 dev-vcs/git dev-vcs/mercurial doc? ( dev-python/sphinx dev-python/sphinxcontrib-httpdomain ) virtual/pkgconfig virtual/pkgconfig
|
||||
DESCRIPTION=Docker complements LXC with a high-level API which operates at the process level.
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.docker.io/
|
||||
IUSE=aufs btrfs +device-mapper doc vim-syntax zsh-completion
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=>=dev-db/sqlite-3.7.9:3 sys-fs/lvm2[thin] !app-emulation/docker-bin >=sys-apps/iproute2-3.5 >=net-firewall/iptables-1.4 >=app-emulation/lxc-0.8 >=dev-vcs/git-1.7 >=app-arch/xz-utils-4.9 aufs? ( || ( sys-fs/aufs3 sys-kernel/aufs-sources ) )
|
||||
RESTRICT=strip
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/dotcloud/docker/archive/v0.8.1.zip -> docker-0.8.1.zip
|
||||
_eclasses_=bash-completion-r1 db412e427e3317ffd3e15f17df269c5e eutils 40081e8c7e7f7c4f9db349a1d6d52925 linux-info a9cbd6bbe2b28166e403321882f3c73c multilib fac675dcccf94392371a6abee62d909f systemd 9f063b2cc19c5e8030911372aa246c4e toolchain-funcs 48b38a216afb92db6314d6c3187abea3 udev a9a8d051efb42bfe884c1db82ce161de user d0a4d0735a6c0183d707ca919bd72f28 versionator a8a3963967d6140be9a14b08bb8f047f
|
||||
_md5_=ce9001dffe6840abbea0067206cfcf14
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup test
|
||||
DEPEND=zinnia? ( app-i18n/zinnia app-i18n/zinnia-tomoe ) >=app-i18n/ibus-1.3.0 >=x11-libs/gtk+-2.10 x11-libs/gtkglext virtual/pkgconfig
|
||||
DESCRIPTION=hand write recognition/input using ibus IM engine
|
||||
EAPI=5
|
||||
HOMEPAGE=http://code.google.com/p/ibus-handwrite/
|
||||
IUSE=nls +zinnia python_targets_python2_6 python_targets_python2_7 python_single_target_python2_6 python_single_target_python2_7
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=zinnia? ( app-i18n/zinnia app-i18n/zinnia-tomoe ) >=app-i18n/ibus-1.3.0 >=x11-libs/gtk+-2.10 x11-libs/gtkglext
|
||||
REQUIRED_USE=python_single_target_python2_6? ( python_targets_python2_6 ) python_single_target_python2_7? ( python_targets_python2_7 ) ^^ ( python_single_target_python2_6 python_single_target_python2_7 )
|
||||
SLOT=0
|
||||
SRC_URI=http://ibus-handwrite.googlecode.com/files/ibus-handwrite-2.1.4.tar.bz2
|
||||
_eclasses_=autotools b0a4d5334d34abe7b6829eb87cf3c544 autotools-utils 559ed17194292ec42d68145dcca2fa32 eutils 40081e8c7e7f7c4f9db349a1d6d52925 libtool b9b3340e3a19510f0d9f05cfccbf209f multilib fac675dcccf94392371a6abee62d909f multiprocessing c2d96fb38f2596209e98fceda58ba1ed python-single-r1 82a55861314bbcedaf1e08ed4dd651b3 python-utils-r1 ceb3e4c3ba203e28bb02eeb182d88acf toolchain-funcs 48b38a216afb92db6314d6c3187abea3
|
||||
_md5_=11e69c2f9e9079697c79e8a93cb03110
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=install postinst postrm pretend setup unpack
|
||||
DEPEND=!dev-lang/ifc[linguas_ja] eclipse? ( dev-util/eclipse-sdk ) app-arch/rpm2targz
|
||||
DESCRIPTION=Intel C/C++ Compiler
|
||||
EAPI=5
|
||||
HOMEPAGE=http://software.intel.com/en-us/articles/intel-composer-xe/
|
||||
IUSE=eclipse linguas_ja examples multilib
|
||||
KEYWORDS=-* ~amd64 ~x86 ~amd64-linux ~x86-linux
|
||||
LICENSE=Intel-SDP
|
||||
RDEPEND=!dev-lang/ifc[linguas_ja] eclipse? ( dev-util/eclipse-sdk ) ~dev-libs/intel-common-14.0.1.106[compiler]
|
||||
RESTRICT=mirror
|
||||
SLOT=0
|
||||
SRC_URI=http://registrationcenter-download.intel.com/irc_nas/3644/parallel_studio_xe_2013_sp1_update1.tgz
|
||||
_eclasses_=check-reqs 0efdf29c9002a1995388968bf54e9d3d eutils 40081e8c7e7f7c4f9db349a1d6d52925 intel-sdp 6728df2965e4480fc74090c8eccf3f71 multilib fac675dcccf94392371a6abee62d909f toolchain-funcs 48b38a216afb92db6314d6c3187abea3 versionator a8a3963967d6140be9a14b08bb8f047f
|
||||
_md5_=1bc04251f81a07167329a2f3f8f68e39
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue