mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
kde-apps/kdepimlibs: Remove vulnerable versions
Gentoo-bug: 596224 Package-Manager: portage-2.3.2
This commit is contained in:
@@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
CPPUNIT_REQUIRED="optional"
|
||||
EGIT_BRANCH="KDE/4.14"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="Common library for KDE PIM apps"
|
||||
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
|
||||
LICENSE="LGPL-2.1"
|
||||
IUSE="debug ldap prison"
|
||||
|
||||
# some akonadi tests timeout, that probaly needs more work as its ~700 tests
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
>=app-crypt/gpgme-1.1.6
|
||||
>=dev-libs/boost-1.35.0-r5:=
|
||||
dev-libs/libgpg-error
|
||||
>=dev-libs/libical-0.48-r2:=
|
||||
dev-libs/cyrus-sasl
|
||||
>=dev-libs/qjson-0.8.1
|
||||
kde-apps/akonadi:4
|
||||
media-libs/phonon[qt4]
|
||||
x11-misc/shared-mime-info
|
||||
prison? ( media-libs/prison:4 )
|
||||
ldap? ( net-nds/openldap )
|
||||
"
|
||||
# boost is not linked to, but headers which include it are installed
|
||||
# bug #418071
|
||||
RDEPEND="${DEPEND}
|
||||
!=kde-apps/kdepim-runtime-4.10*
|
||||
!=kde-apps/kdepim-runtime-4.11*
|
||||
!<kde-apps/kdepim-runtime-4.4.11.1-r2:4
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.9.1-boostincludes.patch"
|
||||
"${FILESDIR}/${PN}-CVE-2016-7966.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_build handbook doc)
|
||||
$(cmake-utils_use_find_package ldap)
|
||||
$(cmake-utils_use_find_package prison)
|
||||
)
|
||||
|
||||
kde4-base_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
kde4-base_src_install
|
||||
rm "${ED}"/usr/share/apps/cmake/modules/FindQtOAuth.cmake #Collides with net-im/choqok
|
||||
|
||||
# contains constants/defines only
|
||||
QA_DT_NEEDED="$(find "${ED}" -type f -name 'libakonadi-kabc.so.*' -printf '/%P\n')"
|
||||
}
|
||||
@@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
CPPUNIT_REQUIRED="optional"
|
||||
EGIT_BRANCH="KDE/4.14"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="Common library for KDE PIM apps"
|
||||
COMMIT_ID="a791b69599c3571ff2f4b1cc9033d8fb30f1bc33"
|
||||
SRC_URI="https://quickgit.kde.org/?p=kdepimlibs.git&a=snapshot&h=${COMMIT_ID}&fmt=tgz -> ${P}.tar.gz"
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
|
||||
LICENSE="LGPL-2.1"
|
||||
IUSE="debug ldap prison"
|
||||
|
||||
# some akonadi tests timeout, that probaly needs more work as its ~700 tests
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
>=app-crypt/gpgme-1.1.6
|
||||
>=dev-libs/boost-1.35.0-r5:=
|
||||
dev-libs/libgpg-error
|
||||
>=dev-libs/libical-0.48-r2:=
|
||||
dev-libs/cyrus-sasl
|
||||
>=dev-libs/qjson-0.8.1
|
||||
kde-apps/akonadi:4
|
||||
media-libs/phonon[qt4]
|
||||
x11-misc/shared-mime-info
|
||||
prison? ( media-libs/prison:4 )
|
||||
ldap? ( net-nds/openldap )
|
||||
"
|
||||
# boost is not linked to, but headers which include it are installed
|
||||
# bug #418071
|
||||
RDEPEND="${DEPEND}
|
||||
!<kde-apps/kdepim-runtime-4.4.11.1-r2:4
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.14.11-boostincludes.patch"
|
||||
"${FILESDIR}/${PN}-CVE-2016-7966.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_doc=$(usex handbook)
|
||||
$(cmake-utils_use_find_package ldap Ldap)
|
||||
$(cmake-utils_use_find_package prison Prison)
|
||||
)
|
||||
|
||||
kde4-base_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
kde4-base_src_install
|
||||
|
||||
# Collides with net-im/choqok
|
||||
rm "${ED}"usr/share/apps/cmake/modules/FindQtOAuth.cmake || die
|
||||
|
||||
# contains constants/defines only
|
||||
QA_DT_NEEDED="$(find "${ED}" -type f -name 'libakonadi-kabc.so.*' -printf '/%P\n')"
|
||||
}
|
||||
Reference in New Issue
Block a user