bump(app-eselect/eselect-pinentry): sync with upstream

This commit is contained in:
David Michael 2018-05-14 14:26:31 -04:00
parent db98cd9b81
commit 7c6f33d9f7
11 changed files with 39 additions and 351 deletions

View File

@ -1,113 +0,0 @@
# ChangeLog for app-eselect/eselect-pinentry
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-pinentry/ChangeLog,v 1.1 2015/03/31 16:54:08 ulm Exp $
31 Mar 2015; Ulrich Müller <ulm@gentoo.org> +eselect-pinentry-0.3.ebuild,
+eselect-pinentry-0.4.ebuild, +files/eselect-pinentry-0.3,
+files/pinentry.eselect-0.4, +metadata.xml:
Move package from app-admin to app-eselect category.
20 Jan 2014; Mike Frysinger <vapier@gentoo.org> eselect-pinentry-0.4.ebuild:
Add arm64 love.
05 Dec 2013; Michael Haubenwallner <haubi@gentoo.org>
eselect-pinentry-0.4.ebuild:
add ~ppc-aix keyword
07 Jul 2013; Agostino Sarubbo <ago@gentoo.org> eselect-pinentry-0.4.ebuild:
Stable for x86, wrt bug #470286
30 Jun 2013; Agostino Sarubbo <ago@gentoo.org> eselect-pinentry-0.4.ebuild:
Stable for s390, wrt bug #470286
29 Jun 2013; Agostino Sarubbo <ago@gentoo.org> eselect-pinentry-0.4.ebuild:
Stable for ppc64, wrt bug #470286
29 Jun 2013; Agostino Sarubbo <ago@gentoo.org> eselect-pinentry-0.4.ebuild:
Stable for ppc, wrt bug #470286
29 Jun 2013; Agostino Sarubbo <ago@gentoo.org> eselect-pinentry-0.4.ebuild:
Stable for sparc, wrt bug #470286
26 Jun 2013; Agostino Sarubbo <ago@gentoo.org> eselect-pinentry-0.4.ebuild:
Stable for ia64, wrt bug #470286
26 Jun 2013; Agostino Sarubbo <ago@gentoo.org> eselect-pinentry-0.4.ebuild:
Stable for alpha, wrt bug #470286
09 Jun 2013; Agostino Sarubbo <ago@gentoo.org> eselect-pinentry-0.4.ebuild:
Stable for sh, wrt bug #470286
09 Jun 2013; Markus Meier <maekke@gentoo.org> eselect-pinentry-0.4.ebuild:
arm stable, bug #470286
04 Jun 2013; Chema Alonso <nimiux@gentoo.org> eselect-pinentry-0.4.ebuild:
Stable for amd64 wrt bug #470286
03 Jun 2013; Jeroen Roovers <jer@gentoo.org> eselect-pinentry-0.4.ebuild:
Stable for HPPA (bug #470286).
19 Feb 2013; Zac Medico <zmedico@gentoo.org> eselect-pinentry-0.4.ebuild:
Add ~arm-linux keyword.
*eselect-pinentry-0.4 (14 Jan 2013)
14 Jan 2013; Samuli Suominen <ssuominen@gentoo.org>
+files/pinentry.eselect-0.4, +eselect-pinentry-0.4.ebuild:
Version bump to use shared code from eselect-lib-bin-symlink by mgorny.
28 Nov 2012; Tim Harder <radhermit@gentoo.org> metadata.xml:
Add to crypto herd.
25 Nov 2012; Sven Wegener <swegener@gentoo.org> metadata.xml:
Move to maintainer-needed.
14 Sep 2012; Samuli Suominen <ssuominen@gentoo.org> metadata.xml:
Copy metadata.xml from app-crypt/pinentry since you can't maintain one
without another.
09 Sep 2012; Raúl Porcel <armin76@gentoo.org> eselect-pinentry-0.3.ebuild:
alpha/ia64/s390/sh/sparc stable wrt #421593
17 Aug 2012; Anthony G. Basile <blueness@gentoo.org>
eselect-pinentry-0.3.ebuild:
Stable ppc ppc64, bug #421593
03 Jul 2012; Jeroen Roovers <jer@gentoo.org> eselect-pinentry-0.3.ebuild:
Stable for HPPA (bug #421593).
25 Jun 2012; Markus Meier <maekke@gentoo.org> eselect-pinentry-0.3.ebuild:
arm stable, bug #421593
19 Jun 2012; Agostino Sarubbo <ago@gentoo.org> eselect-pinentry-0.3.ebuild:
Stable for amd64, wrt bug #421593
17 Jun 2012; Jeff Horelick <jdhore@gentoo.org> eselect-pinentry-0.3.ebuild:
marked x86 per bug 421593
17 Jun 2012; Samuli Suominen <ssuominen@gentoo.org>
-eselect-pinentry-0.1.ebuild, -eselect-pinentry-0.2.ebuild,
-files/eselect-pinentry-0.1, -files/eselect-pinentry-0.2:
old
09 May 2012; Alexis Ballier <aballier@gentoo.org>
eselect-pinentry-0.3.ebuild:
keyword ~amd64-fbsd
*eselect-pinentry-0.3 (21 Oct 2010)
21 Oct 2010; Samuli Suominen <ssuominen@gentoo.org>
+files/eselect-pinentry-0.3, +eselect-pinentry-0.3.ebuild:
Use EROOT instead of ROOT for prefix support.
*eselect-pinentry-0.2 (30 Sep 2010)
30 Sep 2010; Samuli Suominen <ssuominen@gentoo.org>
+files/eselect-pinentry-0.2, +eselect-pinentry-0.2.ebuild:
If no targets are found, remove the symlink and exit.
*eselect-pinentry-0.1 (30 Sep 2010)
30 Sep 2010; Samuli Suominen <ssuominen@gentoo.org>
+files/eselect-pinentry-0.1, +eselect-pinentry-0.1.ebuild:
Initial commit wrt #338691 by Michał Górny.

View File

@ -1,23 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
AUX eselect-pinentry-0.3 3465 SHA256 854367bc7bc9a377315a406632a30b25a22ffa9b7543042578fd522f270ce425 SHA512 757429cec97ab91781a3cc10ee1ded2718963cbc92dc14752b46aaac2054c7db2ff2861b966f132efe8b4fa4fe7d4561833bbbbedb961e067aacfdf47932ba27 WHIRLPOOL ea99694d0a5483614f60221c61fcb9e6170e14cf6069e3d48b751c9622fb6872827df572790ca7a5a06f5e20040d790377d05aba7740554816a6d16876883fd8
AUX pinentry.eselect-0.4 441 SHA256 d61a081051de1c72d5aa5376b78a78e9e39c0cfa439e825e6002fa9905492800 SHA512 dc681dc0cbd9e98218463a1cd53a9bf246827596e3c092061e0069373badb0e966f5e91107fd3bc5cbe4e58b688fdd5d67f4f2bf9fdb50c51bcb94a235b98aa3 WHIRLPOOL 4b31b3eb2b810b775f560ed1344579ebef1dd2c91754b9667a6ab4e786d857dbc8fb0479ef2c446337e021586e8bda825aa606ab92f631829b4b6d86a18fdb12
EBUILD eselect-pinentry-0.3.ebuild 795 SHA256 1b892149ce8d8ec1eada91dd1c4427b295383a023051efabbbd3790ed95c3be5 SHA512 0b849904560e8dcc57801a43362d3fac26560be8303a211ffb9607fd52c15bedf49c7a280508ea341819ceeb325c66a0114953be667d54bb48f091bada3d9022 WHIRLPOOL 31ff9c0fa44e683cc00b79afa36df440a825be51edffe34c28bada2c54907916c069e34e58278e276a5f8e33918526a37a0c1557e722b77a090060e51afa6493
EBUILD eselect-pinentry-0.4.ebuild 832 SHA256 e56f46050870b0f35b95f37fd52ca5fa2e25f4d6c373ec1feb1ddd9a3a92b965 SHA512 36781fc29610e37c38d13594f80f511d83abd02d79f9e596c15d2f0769a34f482d729ad9fd2ed776ecbb8ac0e5d7abf38b037b6d9eda8d7b79b20d788196e3b3 WHIRLPOOL d96c766b2e2459d7bd60b68c02ccff49b2b5a373b2e9183f1a6be6f8658d3b93e92da9c3827f09234478a56af7575ee1402e4564240a6c19fed66739f0017eb5
MISC ChangeLog 4163 SHA256 898445704533f36e6f95a8ac2c57b48701ad4b81bb9ac41c53573315f32a6fd4 SHA512 a992480db11f459ad096573b6abd0b59fbf13846370f1e5c4b32ec4de7bebd62e6674411b812f45244ad91f71d29264ef0e6bc905e841e592ab72c268472c93b WHIRLPOOL 14bd06552c6baa75b69f0fad59234f19644b7eba39ef7c4bc3b5def8cd0233a53d0f446bb018d4c024e915712239a411cfde41a2459a57eaa3fa3ecf4490c580
MISC metadata.xml 159 SHA256 fabd15e2740a2a68e0bda738d0cd4300b133ff11239802afe7e60aa3862c9c03 SHA512 96a1f7f082adc57e52a1a32666e1206e68f8ff03c728fdb7666ff98c255905977491fc4dfc37bc8bdf5da0eb50cdc408adec357bbd75bd980bc90659cc157194 WHIRLPOOL 82fca1c4b75b090abdb0a4233c8e49fc43535ca6e470f725c1872653ea922b6693e9646bc3ee1fd6f1293ebedad661642cec13b2817fb5315268300f7675a751
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQGcBAEBCAAGBQJVGtEzAAoJEJQzkH1pP7W4A34L/3twrSuUQlPlIFLCYSq488Oi
jhqtw4vIib42XKoxzUm0+1QI2XvQaTSOZSLq+KhI9lmrcY0TSbQmHxfPK0/XIBZl
2Ki6gkXSWTENUnqFP9pvw17mhhJq9gePqAbnIsrw85S7CHKdktseMT66X9HP8Wsc
uSlrwRyQQvmpZ/VoJ448SLtsV+TGSTh6t1a0wI3Ap2B8btJ2o5ZymXkbmMUDM+ES
OdesCkRQnMUWmSotQ0a4tX0l7tCYq2sl70TQheZtYgtDFhf7eScJvJx25ca6kxbU
PLL7GeGZFTwnJW1Om+7gYcHXDUTv4VBlPqN79tgWj9wIHEg4VIu743nzFD8FeU20
ZdkTkRIuYnIZwmtMGTEdd88vbvPBelr53MuZ7Oda/MscHQLoxeHhI/TemaWi0/0o
fID9oZzhwDKrdkns2YeCAWliD339ioLkamgG2K+dtikgQPryF1nK9Fjc/SW4zB+p
UPjYaHjY2VDivxgzBUGwC4lvnnFxD2tUOqU2F8POIQ==
=JJaf
-----END PGP SIGNATURE-----

View File

@ -1,21 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-pinentry/eselect-pinentry-0.3.ebuild,v 1.1 2015/03/31 16:54:08 ulm Exp $
DESCRIPTION="Manage /usr/bin/pinentry symlink"
HOMEPAGE="http://www.gentoo.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND="app-admin/eselect
!<app-crypt/pinentry-0.8.0-r1"
DEPEND="${RDEPEND}"
src_install() {
insinto /usr/share/eselect/modules
newins "${FILESDIR}"/${P} pinentry.eselect || die
}

View File

@ -1,23 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-pinentry/eselect-pinentry-0.4.ebuild,v 1.1 2015/03/31 16:54:08 ulm Exp $
EAPI=5
DESCRIPTION="Manage /usr/bin/pinentry symlink"
HOMEPAGE="http://www.gentoo.org/proj/en/eselect/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND=">=app-eselect/eselect-lib-bin-symlink-0.1.1"
S=${FILESDIR}
src_install() {
insinto /usr/share/eselect/modules
newins pinentry.eselect-${PV} pinentry.eselect
}

View File

@ -0,0 +1,23 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Manage /usr/bin/pinentry symlink"
HOMEPAGE="https://www.gentoo.org/proj/en/eselect/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND=">=app-eselect/eselect-lib-bin-symlink-0.1.1"
S="${FILESDIR}"
src_install() {
default
insinto /usr/share/eselect/modules
newins pinentry.eselect-${PV} pinentry.eselect
}

View File

@ -1,147 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id: eselect-pinentry-0.3,v 1.1 2015/03/31 16:54:08 ulm Exp $
# Based on eselect-sh by Michał Górny
DESCRIPTION="Manage /usr/bin/pinentry symlink"
MAINTAINER="ssuominen@gentoo.org"
VERSION="0.2"
## Functions ##
# find a list of pinentry symlink targets, best first
find_targets() {
local t
for t in \
pinentry-qt \
pinentry-gtk-2 \
pinentry-qt4 \
pinentry-curses \
; do
if [[ -x ${EROOT}/usr/bin/${t} ]]; then
echo ${t}
fi
done
}
# set the pinentry symlink
set_symlinks() {
local target="${1}" targets
[[ ! -L ${EROOT}/usr/bin/pinentry && -e ${EROOT}/usr/bin/pinentry ]] && \
die -q "/usr/bin/pinentry is not a symlink!"
if is_number "${target}" && [[ ${target} -ge 1 ]]; then
targets=( $(find_targets) )
# If no targets are found, remove the symlink and exit
if [[ -L ${EROOT}/usr/bin/pinentry && -z ${targets} ]]; then
rm -f "${EROOT}"/usr/bin/pinentry
return
fi
target=${targets[target-1]}
fi
if [[ -x ${EROOT}/usr/bin/${target} ]]; then
local tmpf="${EROOT}"/usr/bin/pinentry.new
# we could use 'ln -f' to directly replace the symlink
# but 'mv' is an atomic operation so it should be more fault-proof
ln -s "${target}" "${tmpf}" || \
die -q "Unable to create temporary symlink"
if ! mv "${tmpf}" "${EROOT}"/usr/bin/pinentry; then
rm -f "${tmpf}" # cleanup
die -q "Unable to replace /usr/bin/pinentry symlink with ${target}"
fi
else
die -q "Target '${target}' doesn't appear to be valid!"
fi
}
### show action ###
describe_show() {
echo "Show the current pinentry implementation"
}
do_show() {
[[ -z ${@} ]] || die -q "Too many parameters"
write_list_start "Current pinentry implementation:"
if [[ -L ${EROOT}/usr/bin/pinentry ]]; then
write_kv_list_entry "$(basename $(readlink ${EROOT}/usr/bin/pinentry))" ""
elif [[ -e ${EROOT}/usr/bin/pinentry ]]; then
write_kv_list_entry "(not a symlink)" ""
else
write_kv_list_entry "(unset)" ""
fi
}
### list action ###
describe_list() {
echo "List available pinentry implementations"
}
do_list() {
[[ -z ${@} ]] || die -q "Too many parameters"
local i targets
targets=( $(find_targets) )
if [[ -n ${targets[@]} ]]; then
for (( i = 0; i < ${#targets[@]}; i++ )) ; do
[[ ${targets[${i}]} == $(basename $(readlink ${EROOT}/usr/bin/pinentry)) ]] && \
targets[${i}]="${targets[${i}]} $(highlight '*')"
done
write_list_start "Available pinentry implementations:"
write_numbered_list "${targets[@]}"
else
write_kv_list_entry "(none found)" ""
fi
}
### set action ###
describe_set() {
echo "Set a new pinentry implementation"
}
describe_set_options() {
echo "target : Target name or number (from 'list' action)"
}
describe_set_parameters() {
echo "<target>"
}
do_set() {
if [[ -z ${1} ]]; then
die -q "Not enough parameters"
elif [[ -n ${2} ]]; then
die -q "Too many parameters"
else
set_symlinks "${1}"
fi
}
### update action ###
describe_update() {
echo "Automatically update the pinentry implementation"
}
describe_update_options() {
echo "ifunset : Do not override existing implementation"
}
do_update() {
[[ -z ${1} || ( -z ${2} && ( ${1} == ifunset || ${1} == '--if-unset' ) ) ]] || \
die -q "Usage error"
[[ ( ${1} == ifunset || ${1} == '--if-unset' ) && -L ${EROOT}/usr/bin/pinentry && -x ${EROOT}/usr/bin/pinentry ]] && \
return
set_symlinks 1
}

View File

@ -1,13 +1,12 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id: pinentry.eselect-0.4,v 1.1 2015/03/31 16:54:08 ulm Exp $
DESCRIPTION="Manage /usr/bin/pinentry implementation"
MAINTAINER="ssuominen@gentoo.org"
VERSION="0.4"
VERSION="0.7"
SYMLINK_PATH=/usr/bin/pinentry
SYMLINK_TARGETS=( pinentry-qt pinentry-gtk-2 pinentry-qt4 pinentry-curses )
SYMLINK_TARGETS=( pinentry-gnome3 pinentry-qt pinentry-gtk-2 pinentry-qt4 pinentry-curses pinentry-tty )
SYMLINK_DESCRIPTION='pinentry binary'
inherit bin-symlink

View File

@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>crypto</herd>
<maintainer type="project">
<email>crypto@gentoo.org</email>
<name>Crypto</name>
</maintainer>
</pkgmetadata>

View File

@ -1,10 +0,0 @@
DEFINED_PHASES=install
DEPEND=app-admin/eselect !<app-crypt/pinentry-0.8.0-r1
DESCRIPTION=Manage /usr/bin/pinentry symlink
EAPI=0
HOMEPAGE=http://www.gentoo.org/
KEYWORDS=alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=GPL-2
RDEPEND=app-admin/eselect !<app-crypt/pinentry-0.8.0-r1
SLOT=0
_md5_=8135a374b3093dc38e44ba21a3aa0057

View File

@ -1,9 +0,0 @@
DEFINED_PHASES=install
DESCRIPTION=Manage /usr/bin/pinentry symlink
EAPI=5
HOMEPAGE=http://www.gentoo.org/proj/en/eselect/
KEYWORDS=alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=GPL-2
RDEPEND=>=app-eselect/eselect-lib-bin-symlink-0.1.1
SLOT=0
_md5_=177761a73977a00de40a2fef0921af26

View File

@ -0,0 +1,9 @@
DEFINED_PHASES=install
DESCRIPTION=Manage /usr/bin/pinentry symlink
EAPI=6
HOMEPAGE=https://www.gentoo.org/proj/en/eselect/
KEYWORDS=alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=GPL-2
RDEPEND=>=app-eselect/eselect-lib-bin-symlink-0.1.1
SLOT=0
_md5_=fea360a9b16e6142796364621987ada9