app-admin/qtpass: bump for critical security vulnerability
authorJason A. Donenfeld <zx2c4@gentoo.org>
Thu, 4 Jan 2018 20:54:06 +0000 (21:54 +0100)
committerJason A. Donenfeld <zx2c4@gentoo.org>
Thu, 4 Jan 2018 20:54:45 +0000 (21:54 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

app-admin/qtpass/Manifest
app-admin/qtpass/qtpass-1.2.1.ebuild [moved from app-admin/qtpass/qtpass-1.1.6.ebuild with 76% similarity]
app-admin/qtpass/qtpass-9999.ebuild [deleted file]

index 682876977ccf05a59c2718d52ca2410da7082120..397410986fb21e5567b1dfd65e0f71661466be5e 100644 (file)
@@ -1 +1 @@
-DIST qtpass-1.1.6.tar.gz 325329 BLAKE2B 091cc00bc276f637a5d7f954a715a6e3687e1b369f1fd572f90c956c721524159a82d4283b025980f9b31132e07236706bd79fbbb830adccd3167a979bca48cc SHA512 64d712a33df97b04ab1a9d5472aa7fa567e38e31ff7ba297e567d087a3f32b1c59097b339cdd4f568efc2bce16b93f2d2316e94d2605b6abac299d7cf7d0c3df
+DIST qtpass-1.2.1.tar.gz 361147 BLAKE2B f46ce4362d4d3e0c0b0a425e5a40cf013181b899d5b1a2efc03cc5c4a3eca2d3ce1cdca78fdb95e8fecae23ffe56c01dbe65c9d07e2fff48934e995a710aac40 SHA512 3621a46aab5db5a41e80aea10bc6baf662510bcb249a1f56d33492aa66c824d9f018164f2d6a70256a7b3d59a9b73c4c8459b5d3fbe19886a607f8f0dc7410c1
similarity index 76%
rename from app-admin/qtpass/qtpass-1.1.6.ebuild
rename to app-admin/qtpass/qtpass-1.2.1.ebuild
index 67195457fc95e23078fa637005bd0855325b7d85..dc949c150fc4fe698cb6986f777a442aa3436e18 100644 (file)
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 MY_P="QtPass-${PV}"
 
-inherit qmake-utils
+inherit qmake-utils desktop
 
 DESCRIPTION="multi-platform GUI for pass, the standard unix password manager"
 HOMEPAGE="https://qtpass.org/"
@@ -27,6 +27,12 @@ RDEPEND="app-admin/pass
 DEPEND="${RDEPEND}
        dev-qt/linguist-tools:5"
 
+src_prepare() {
+       default
+
+       sed -i 's/SUBDIRS += src tests main/SUBDIRS += src main/' "${S}"/qtpass.pro || die
+       sed -i '/main\.depends = tests/d' "${S}"/qtpass.pro || die
+}
 src_configure() {
        eqmake5 PREFIX="${D}"/usr
 }
diff --git a/app-admin/qtpass/qtpass-9999.ebuild b/app-admin/qtpass/qtpass-9999.ebuild
deleted file mode 100644 (file)
index 8da3eb4..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit qmake-utils git-r3
-
-DESCRIPTION="multi-platform GUI for pass, the standard unix password manager"
-HOMEPAGE="https://qtpass.org/"
-EGIT_REPO_URI="https://github.com/IJHack/${PN}.git"
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS=""
-IUSE=""
-DOCS=( FAQ.md README.md CONTRIBUTING.md )
-
-RDEPEND="dev-qt/qtcore:5
-       dev-qt/qtgui:5[xcb]
-       dev-qt/qtwidgets:5
-       dev-qt/qtnetwork:5
-       app-admin/pass
-       net-misc/x11-ssh-askpass"
-DEPEND="${RDEPEND}
-       dev-qt/linguist-tools:5
-"
-
-src_configure() {
-       eqmake5 PREFIX="${D}"/usr
-}
-
-src_install() {
-       default
-
-       doman ${PN}.1
-
-       insinto /usr/share/applications
-       doins "${PN}.desktop"
-
-       newicon artwork/icon.svg "${PN}-icon.svg"
-}