diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2021-07-20 21:01:25 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2021-07-20 21:03:16 +0200 |
commit | 3e69e4a0b5aa5b9e40103e1751cb7f3f875222ad (patch) | |
tree | eb712018b572b69d37ffe59faa16e7598e51e21a /sys-auth | |
parent | sys-auth/google-authenticator-wrappers: migrate to GLEP 81 (diff) | |
download | gentoo-3e69e4a0b5aa5b9e40103e1751cb7f3f875222ad.tar.gz gentoo-3e69e4a0b5aa5b9e40103e1751cb7f3f875222ad.tar.bz2 gentoo-3e69e4a0b5aa5b9e40103e1751cb7f3f875222ad.zip |
sys-auth/google-authenticator-wrappers: drop old version
Closes: https://bugs.gentoo.org/781488
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/google-authenticator-wrappers/google-authenticator-wrappers-3.ebuild | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/sys-auth/google-authenticator-wrappers/google-authenticator-wrappers-3.ebuild b/sys-auth/google-authenticator-wrappers/google-authenticator-wrappers-3.ebuild deleted file mode 100644 index 0c4516dc36a1..000000000000 --- a/sys-auth/google-authenticator-wrappers/google-authenticator-wrappers-3.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake user - -DESCRIPTION="Set of scripts to manage google-auth setup on Gentoo Infra" -HOMEPAGE="https://github.com/mgorny/google-authenticator-wrappers" -SRC_URI="https://github.com/mgorny/google-authenticator-wrappers/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="sys-auth/google-authenticator" - -pkg_pretend() { - if [[ ${MERGE_TYPE} != buildonly ]]; then - local v - for v in ${REPLACING_VERSIONS}; do - if ver_test "${v}" -lt 3; then - ewarn "google-authenticator-wrappers v3 switches the secret store mechanism" - ewarn "from user-owned files to /var/lib/gauth. To migrate secrets, move" - ewarn "and chown, e.g.:" - ewarn - ewarn " mv /home/myuser/.google_authenticator /var/lib/gauth/myuser" - ewarn " chown gauth /var/lib/gauth/myuser" - ewarn - ewarn "If you do not migrate or reset secrets, second step authentication" - ewarn "will be disabled after the upgrade." - break - fi - done - fi -} - -src_configure() { - local mycmakeargs=( - -DGAUTH_USERNAME=gauth - ) - - cmake_src_configure -} - -pkg_preinst() { - enewgroup gauth - enewuser gauth -1 -1 -1 gauth - fowners gauth:gauth /var/lib/gauth /usr/bin/gauthctl /usr/bin/gauth-test - fperms ug+s /usr/bin/gauthctl /usr/bin/gauth-test -} |