Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/pam_ssh/
Date: Sun, 23 Jun 2019 10:56:08
Message-Id: 1561287362.33126f3276dedc125a063f392ebc702ce6b8e2ba.zlogene@gentoo
1 commit: 33126f3276dedc125a063f392ebc702ce6b8e2ba
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 23 10:55:50 2019 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 23 10:56:02 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33126f32
7
8 sys-auth/pam_ssh: Drop old
9
10 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
11 Package-Manager: Portage-2.3.66, Repoman-2.3.11
12
13 sys-auth/pam_ssh/Manifest | 3 --
14 sys-auth/pam_ssh/pam_ssh-1.98.ebuild | 45 ------------------------
15 sys-auth/pam_ssh/pam_ssh-2.1.ebuild | 60 --------------------------------
16 sys-auth/pam_ssh/pam_ssh-2.2.ebuild | 67 ------------------------------------
17 4 files changed, 175 deletions(-)
18
19 diff --git a/sys-auth/pam_ssh/Manifest b/sys-auth/pam_ssh/Manifest
20 index 36a20f3eb30..6bfa6ad8418 100644
21 --- a/sys-auth/pam_ssh/Manifest
22 +++ b/sys-auth/pam_ssh/Manifest
23 @@ -1,4 +1 @@
24 -DIST pam_ssh-1.98.tar.bz2 292989 BLAKE2B 08744c6649aa58c7221e5ec07e0c6aefa8d045cf30df01b941962d29f3abdae902b0fbad37923e3ff05536e422a1062732a6998e4b58d978d369df3d866ec1aa SHA512 bf6da4ced0619549d56516c6b24e899664e0948da7a0cc04ff1b536d06cc8c26242c83eb36ed835668c824b777e270aa293162ac77e3c479311386e6e5da39ff
25 -DIST pam_ssh-2.1.tar.xz 361000 BLAKE2B f22836af20b41ae7254f816c33793bb3a128b604ec36a20b207610deebf61f4d5dd070fd6f5093c6f7b6eb9e14f85cd81ddbbed7e97ee581124e5335722d036b SHA512 8252b15efffa5687f740963f7a3c3479b73f99eca26a17155f915a10b9a71362a2778449adf10f01c174cc8545961ce3ea64459338a7c995c242b209529fd640
26 -DIST pam_ssh-2.2.tar.xz 382244 BLAKE2B b3e6122530244add64400a6c4ea9811eb6feb0309b11d9ad17d800c3ced555f5459a8dc55ec58b0649017bcce9fb12417d4ba52ab2acd3acdf5e4a0cfe956e57 SHA512 b3caeb6065b2ac925cfd1a12107902f8474badfa1770d6499508d00bf41b54497fa17080f84af9dde0b6b7692d4bd58d33d94257c3106dac7eee79ebcf3b4692
27 DIST pam_ssh-2.3.tar.xz 380396 BLAKE2B e228e30c6f353f631c0a1c41e82e31e7a8c573b04ab1cad4038a245b500666b42c0efa9f686d28f2386688596de761085afb1318b94fef5541f8c0ffc1e18b25 SHA512 e3ddcf851ffd8f6fb831e2dee7269c1b89283ae2f8f6aa3487bf7b1bc71d26ac9bcbd2a01c5a67a983b980bbb5151e991402940f4752741286d057843c817895
28
29 diff --git a/sys-auth/pam_ssh/pam_ssh-1.98.ebuild b/sys-auth/pam_ssh/pam_ssh-1.98.ebuild
30 deleted file mode 100644
31 index 3f8800d3f5c..00000000000
32 --- a/sys-auth/pam_ssh/pam_ssh-1.98.ebuild
33 +++ /dev/null
34 @@ -1,45 +0,0 @@
35 -# Copyright 1999-2018 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=5
39 -inherit pam eutils flag-o-matic readme.gentoo
40 -
41 -DESCRIPTION="Uses ssh-agent to provide single sign-on"
42 -HOMEPAGE="http://pam-ssh.sourceforge.net/"
43 -SRC_URI="mirror://sourceforge/pam-ssh/${P}.tar.bz2"
44 -
45 -LICENSE="BSD-2 BSD ISC"
46 -SLOT="0"
47 -KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
48 -IUSE=""
49 -
50 -# Doesn't work on OpenPAM; looks for OpenSSH at build time (bug
51 -# #282993) and won't work with other implementations either
52 -RDEPEND="
53 - sys-libs/pam
54 - net-misc/openssh
55 -"
56 -DEPEND="${RDEPEND}
57 - sys-devel/libtool
58 -"
59 -
60 -DOC_CONTENTS="
61 - You can enable pam_ssh for system authentication by enabling
62 - the pam_ssh USE flag on sys-auth/pambase.
63 -"
64 -
65 -src_configure() {
66 - # hide all the otherwise-exported symbols that may clash with
67 - # other software loading the PAM modules (see bug #274924 as an
68 - # example).
69 - append-ldflags -Wl,--version-script="${FILESDIR}"/pam_symbols.ver
70 -
71 - econf \
72 - "--with-pam-dir=$(getpam_mod_dir)"
73 -}
74 -
75 -src_install() {
76 - default
77 - prune_libtool_files --modules
78 - readme.gentoo_create_doc
79 -}
80
81 diff --git a/sys-auth/pam_ssh/pam_ssh-2.1.ebuild b/sys-auth/pam_ssh/pam_ssh-2.1.ebuild
82 deleted file mode 100644
83 index fc7b3e0e8a1..00000000000
84 --- a/sys-auth/pam_ssh/pam_ssh-2.1.ebuild
85 +++ /dev/null
86 @@ -1,60 +0,0 @@
87 -# Copyright 1999-2017 Gentoo Foundation
88 -# Distributed under the terms of the GNU General Public License v2
89 -
90 -EAPI="5"
91 -
92 -inherit pam eutils flag-o-matic readme.gentoo
93 -
94 -DESCRIPTION="Uses ssh-agent to provide single sign-on"
95 -HOMEPAGE="http://pam-ssh.sourceforge.net/"
96 -SRC_URI="mirror://sourceforge/pam-ssh/${P}.tar.xz"
97 -
98 -LICENSE="BSD-2 BSD ISC"
99 -SLOT="0"
100 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
101 -IUSE=""
102 -
103 -# Only supports OpenSSH via `ssh-agent` #282993
104 -DEPEND="virtual/pam
105 - dev-libs/openssl:0="
106 -RDEPEND="${DEPEND}
107 - net-misc/openssh"
108 -
109 -DOC_CONTENTS="
110 - You can enable pam_ssh for system authentication by enabling
111 - the pam_ssh USE flag on sys-auth/pambase.
112 -"
113 -
114 -src_prepare() {
115 - epatch "${FILESDIR}"/${P}-dot-ssh-check.patch #503424#c5
116 -}
117 -
118 -src_configure() {
119 - # hide all the otherwise-exported symbols that may clash with
120 - # other software loading the PAM modules (see bug #274924 as an
121 - # example).
122 - append-ldflags -Wl,--version-script="${FILESDIR}"/pam_symbols.ver
123 -
124 - # Set the cache var so the configure script doesn't go probing hardcoded
125 - # file system paths and picking up the wrong thing.
126 - export ac_cv_openssldir=''
127 -
128 - # Avoid cross-compiling funkiness and requiring openssh at build time.
129 - export PATH_SSH_AGENT="${EPREFIX}/usr/bin/ssh-agent"
130 -
131 - econf \
132 - "--with-pam-dir=$(getpam_mod_dir)"
133 -}
134 -
135 -src_install() {
136 - default
137 - prune_libtool_files --modules
138 - readme.gentoo_create_doc
139 -}
140 -
141 -pkg_preinst() {
142 - if has_version "<${CATEGORY}/${PN}-2.0" ; then #554150
143 - ewarn "Upstream pam_ssh has changed where ssh keys live. Only keys in your"
144 - ewarn "~/.ssh/login-keys.d/ will be accepted for authentication."
145 - fi
146 -}
147
148 diff --git a/sys-auth/pam_ssh/pam_ssh-2.2.ebuild b/sys-auth/pam_ssh/pam_ssh-2.2.ebuild
149 deleted file mode 100644
150 index 8c54ab76bfa..00000000000
151 --- a/sys-auth/pam_ssh/pam_ssh-2.2.ebuild
152 +++ /dev/null
153 @@ -1,67 +0,0 @@
154 -# Copyright 1999-2019 Gentoo Authors
155 -# Distributed under the terms of the GNU General Public License v2
156 -
157 -EAPI=7
158 -
159 -inherit pam flag-o-matic readme.gentoo-r1
160 -
161 -DESCRIPTION="Uses ssh-agent to provide single sign-on"
162 -HOMEPAGE="http://pam-ssh.sourceforge.net/"
163 -SRC_URI="mirror://sourceforge/pam-ssh/${P}.tar.xz"
164 -
165 -LICENSE="BSD-2 BSD ISC"
166 -SLOT="0"
167 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
168 -IUSE=""
169 -
170 -# Only supports OpenSSH via `ssh-agent` #282993
171 -DEPEND="virtual/pam
172 - dev-libs/openssl:0="
173 -RDEPEND="${DEPEND}
174 - net-misc/openssh"
175 -
176 -PATCHES=(
177 - # 503424#c5
178 - "${FILESDIR}"/${PN}-2.1-dot-ssh-check.patch
179 -)
180 -
181 -src_configure() {
182 - # hide all the otherwise-exported symbols that may clash with
183 - # other software loading the PAM modules (see bug #274924 as an
184 - # example).
185 - append-ldflags -Wl,--version-script="${FILESDIR}"/pam_symbols.ver
186 -
187 - # Set the cache var so the configure script doesn't go probing hardcoded
188 - # file system paths and picking up the wrong thing.
189 - export ac_cv_openssldir=''
190 -
191 - # Avoid cross-compiling funkiness and requiring openssh at build time.
192 - export PATH_SSH_AGENT="${EPREFIX}/usr/bin/ssh-agent"
193 -
194 - econf \
195 - "--with-pam-dir=$(getpam_mod_dir)"
196 -}
197 -
198 -src_install() {
199 - default
200 -
201 - # pam_ssh only builds plugins
202 - find "${D}" -name '*.la' -delete || die
203 -
204 - local DOC_CONTENTS="
205 - You can enable pam_ssh for system authentication by enabling
206 - the pam_ssh USE flag on sys-auth/pambase.
207 - "
208 - readme.gentoo_create_doc
209 -}
210 -
211 -pkg_preinst() {
212 - if [[ ${REPLACING_VERSIONS} == 1.* ]]; then #554150
213 - ewarn "Upstream pam_ssh has changed where ssh keys live. Only keys in your"
214 - ewarn "~/.ssh/login-keys.d/ will be accepted for authentication."
215 - fi
216 -}
217 -
218 -pkg_postinst() {
219 - readme.gentoo_print_elog
220 -}