summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcharIes17 <charles17@arcor.de>2017-07-17 09:36:09 +0200
committerDavid Seifert <soap@gentoo.org>2017-07-30 17:13:07 +0200
commit3e7da11f260f36acddc64b074d2eef63bb1a14b6 (patch)
tree0576faf6f6ac114ef3a3116ea4c7e1d49fe6c43b /x11-misc/pcmanfm/pcmanfm-1.2.5.ebuild
parentsci-libs/indilib: Drop old (diff)
downloadgentoo-3e7da11f260f36acddc64b074d2eef63bb1a14b6.tar.gz
gentoo-3e7da11f260f36acddc64b074d2eef63bb1a14b6.tar.bz2
gentoo-3e7da11f260f36acddc64b074d2eef63bb1a14b6.zip
x11-misc/pcmanfm: Add patch for CVE-2017-8934
Bug: https://bugs.gentoo.org/show_bug.cgi?id=618622 Bug: https://bugs.gentoo.org/show_bug.cgi?id=624938 Package-Manager: Portage-2.3.6, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/5118
Diffstat (limited to 'x11-misc/pcmanfm/pcmanfm-1.2.5.ebuild')
-rw-r--r--x11-misc/pcmanfm/pcmanfm-1.2.5.ebuild24
1 files changed, 14 insertions, 10 deletions
diff --git a/x11-misc/pcmanfm/pcmanfm-1.2.5.ebuild b/x11-misc/pcmanfm/pcmanfm-1.2.5.ebuild
index 232e40452c57..165284c0435a 100644
--- a/x11-misc/pcmanfm/pcmanfm-1.2.5.ebuild
+++ b/x11-misc/pcmanfm/pcmanfm-1.2.5.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
+EAPI=6
+
PLOCALES="ar be bg bn ca cs da de el en_GB es et eu fa fi fo fr gl he hr hu id
is it ja kk km ko lg lt lv ms nl pa pl pt pt_BR ro ru si sk sl sr sr@latin sv
te th tr tt_RU ug uk vi zh_CN zh_TW"
@@ -13,7 +14,7 @@ MY_PV="${PV/_/}"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="Fast lightweight tabbed filemanager"
-HOMEPAGE="http://pcmanfm.sourceforge.net/"
+HOMEPAGE="https://wiki.lxde.org/en/PCManFM"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
LICENSE="GPL-2"
@@ -36,23 +37,26 @@ DEPEND="${RDEPEND}
S="${WORKDIR}"/${MY_P}
-DOCS=( AUTHORS )
-
-DOC_CONTENTS="PCmanFM can optionally support the menu://applications/
- location. You should install lxde-base/lxmenu-data for that functionality."
+PATCHES=( "${FILESDIR}"/${PN}-1.2.5-CVE-2017-8934.patch )
src_prepare() {
- export LINGUAS="${LINGUAS:-${PLOCALE_BACKUP}}"
- l10n_get_locales > "${S}"/po/LINGUAS
default
+
+ export LINGUAS="${LINGUAS:-${PLOCALE_BACKUP}}"
+ l10n_get_locales > po/LINGUAS || die
}
src_configure() {
- econf --sysconfdir=/etc $(use_enable debug)
+ econf \
+ --sysconfdir="${EPREFIX}"/etc \
+ $(use_enable debug)
}
src_install() {
default
+
+ local DOC_CONTENTS="PCmanFM can optionally support the menu://applications/
+ location. You should install lxde-base/lxmenu-data for that functionality."
readme.gentoo_create_doc
}