1 |
commit: 4a900c6f6e5725f95f73aa7d402afa17062046f5 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 25 10:51:32 2021 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 25 10:51:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a900c6f |
7 |
|
8 |
sys-libs/pam: Drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
12 |
|
13 |
sys-libs/pam/Manifest | 2 - |
14 |
sys-libs/pam/pam-1.5.1-r1.ebuild | 136 --------------------------------------- |
15 |
sys-libs/pam/pam-1.5.2.ebuild | 130 ------------------------------------- |
16 |
3 files changed, 268 deletions(-) |
17 |
|
18 |
diff --git a/sys-libs/pam/Manifest b/sys-libs/pam/Manifest |
19 |
index 4071d1f82cc8..f96fe0d87fd3 100644 |
20 |
--- a/sys-libs/pam/Manifest |
21 |
+++ b/sys-libs/pam/Manifest |
22 |
@@ -1,5 +1,3 @@ |
23 |
-DIST Linux-PAM-1.5.1-docs.tar.xz 441632 BLAKE2B 1b3ad1b5167936b8c38977b5328ee11c7d280eb905a0f444e555d24f9d5332583f7e0ce0a758242292ff1244bc082b73d661935647e583e2ebcd8d5058df413e SHA512 95f0b0225e96386f06f5f869203163a201af3ac5c1a4fa8bd30779b9f55290e1a5b63fa49e2efafa1a51476bad1acf258b1f37f56a4bdc3935f9fe5928cbc1f7 |
24 |
-DIST Linux-PAM-1.5.1.tar.xz 972964 BLAKE2B a1714569587a383fa8211b23765c66b08b18dc2808c1521a904171dc2886cced56e9afa27408e8a9d5eec6226b31390dc8f14434071370f4e1147c77ce8b36ac SHA512 1db091fc43b934dde220f1b85f35937fbaa0a3feec699b2e597e2cdf0c3ce11c17d36d2286d479c9eed24e8ca3ca6233214e4dff256db47249e358c01d424837 |
25 |
DIST Linux-PAM-1.5.2-docs.tar.xz 443276 BLAKE2B eb0376022bd17d472cfbb7d757acd9a7743d68929ac604bc7fbc27e87b35f0424e9459afff8110ee094c6914cef6e6f483e6eeb2fc2ec24909477ec53f600fa2 SHA512 69bbb52b3855a1ff3066ffe3ae1890440516311260ddfb20a7a7ea7beeb42484ea085080e3206f23933edf4a695a13f2317e33dffcab2b29f6e9e210d493e1f0 |
26 |
DIST Linux-PAM-1.5.2.tar.xz 988784 BLAKE2B a835034cd239bc9377419c13dda45276e8e64a33fcf714a1957ff41112fbb6dce0be8e9773afc82458a04d54bf146a0c26117d7170521fecdc0c98184cef5f4f SHA512 fa16350c132d3e5fb82b60d991768fb596582639841b8ece645c684705467305ccf1302a0147ec222ab78c01b2c9114c5496dc1ca565d2b56bf315f29a815144 |
27 |
DIST pam-1.5.1_p20210622.tar.gz 783068 BLAKE2B c8f13c2ccef73ad367d4fac9a7d1d0d3f3d0e4f1c8eea877d2ab467411cf17cc32c6c9c89e98d94090481d7d7746723175031ba8713a8fb0c3e1976e2854e58b SHA512 5b7a84b9de2d0b0c39cb33e9b8d24aeedca670b998536d74dc497eb7af31cb1f3157f196a01712c4ae273634b51ddad2062f207534b35b1d1a1e790816c8dc1b |
28 |
|
29 |
diff --git a/sys-libs/pam/pam-1.5.1-r1.ebuild b/sys-libs/pam/pam-1.5.1-r1.ebuild |
30 |
deleted file mode 100644 |
31 |
index 61fbf74ec472..000000000000 |
32 |
--- a/sys-libs/pam/pam-1.5.1-r1.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,136 +0,0 @@ |
35 |
-# Copyright 1999-2021 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=7 |
39 |
- |
40 |
-MY_P="Linux-${PN^^}-${PV}" |
41 |
- |
42 |
-# Avoid QA warnings |
43 |
-# Can reconsider w/ EAPI 8 and IDEPEND, bug #810979 |
44 |
-TMPFILES_OPTIONAL=1 |
45 |
- |
46 |
-inherit autotools db-use fcaps toolchain-funcs usr-ldscript multilib-minimal |
47 |
- |
48 |
-DESCRIPTION="Linux-PAM (Pluggable Authentication Modules)" |
49 |
-HOMEPAGE="https://github.com/linux-pam/linux-pam" |
50 |
- |
51 |
-SRC_URI="https://github.com/linux-pam/linux-pam/releases/download/v${PV}/${MY_P}.tar.xz |
52 |
- https://github.com/linux-pam/linux-pam/releases/download/v${PV}/${MY_P}-docs.tar.xz" |
53 |
- |
54 |
-LICENSE="|| ( BSD GPL-2 )" |
55 |
-SLOT="0" |
56 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" |
57 |
-IUSE="audit berkdb debug nis selinux" |
58 |
- |
59 |
-BDEPEND=" |
60 |
- dev-libs/libxslt |
61 |
- sys-devel/flex |
62 |
- sys-devel/gettext |
63 |
- virtual/pkgconfig |
64 |
- virtual/yacc |
65 |
-" |
66 |
- |
67 |
-DEPEND=" |
68 |
- virtual/libcrypt:=[${MULTILIB_USEDEP}] |
69 |
- >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] |
70 |
- audit? ( >=sys-process/audit-2.2.2[${MULTILIB_USEDEP}] ) |
71 |
- berkdb? ( >=sys-libs/db-4.8.30-r1:=[${MULTILIB_USEDEP}] ) |
72 |
- selinux? ( >=sys-libs/libselinux-2.2.2-r4[${MULTILIB_USEDEP}] ) |
73 |
- nis? ( net-libs/libnsl:=[${MULTILIB_USEDEP}] |
74 |
- >=net-libs/libtirpc-0.2.4-r2:=[${MULTILIB_USEDEP}] )" |
75 |
- |
76 |
-RDEPEND="${DEPEND}" |
77 |
- |
78 |
-PDEPEND=">=sys-auth/pambase-20200616" |
79 |
- |
80 |
-S="${WORKDIR}/${MY_P}" |
81 |
- |
82 |
-src_prepare() { |
83 |
- default |
84 |
- touch ChangeLog || die |
85 |
- eautoreconf |
86 |
-} |
87 |
- |
88 |
-multilib_src_configure() { |
89 |
- # Do not let user's BROWSER setting mess us up. #549684 |
90 |
- unset BROWSER |
91 |
- |
92 |
- # Disable automatic detection of libxcrypt; we _don't_ want the |
93 |
- # user to link libxcrypt in by default, since we won't track the |
94 |
- # dependency and allow to break PAM this way. |
95 |
- |
96 |
- export ac_cv_header_xcrypt_h=no |
97 |
- |
98 |
- local myconf=( |
99 |
- CC_FOR_BUILD="$(tc-getBUILD_CC)" |
100 |
- --with-db-uniquename=-$(db_findver sys-libs/db) |
101 |
- --with-xml-catalog=/etc/xml/catalog |
102 |
- --enable-securedir=/$(get_libdir)/security |
103 |
- --includedir=/usr/include/security |
104 |
- --libdir=/usr/$(get_libdir) |
105 |
- --enable-pie |
106 |
- --enable-unix |
107 |
- --disable-prelude |
108 |
- --disable-doc |
109 |
- --disable-regenerate-docu |
110 |
- --disable-static |
111 |
- --disable-Werror |
112 |
- $(use_enable audit) |
113 |
- $(use_enable berkdb db) |
114 |
- $(use_enable debug) |
115 |
- $(use_enable nis) |
116 |
- $(use_enable selinux) |
117 |
- --enable-isadir='.' #464016 |
118 |
- ) |
119 |
- ECONF_SOURCE="${S}" econf "${myconf[@]}" |
120 |
-} |
121 |
- |
122 |
-multilib_src_compile() { |
123 |
- emake sepermitlockdir="/run/sepermit" |
124 |
-} |
125 |
- |
126 |
-multilib_src_install() { |
127 |
- emake DESTDIR="${D}" install \ |
128 |
- sepermitlockdir="/run/sepermit" |
129 |
- |
130 |
- gen_usr_ldscript -a pam pam_misc pamc |
131 |
-} |
132 |
- |
133 |
-multilib_src_install_all() { |
134 |
- find "${ED}" -type f -name '*.la' -delete || die |
135 |
- |
136 |
- # tmpfiles.eclass is impossible to use because |
137 |
- # there is the pam -> tmpfiles -> systemd -> pam dependency loop |
138 |
- |
139 |
- dodir /usr/lib/tmpfiles.d |
140 |
- |
141 |
- cat ->> "${D}"/usr/lib/tmpfiles.d/${CATEGORY}-${PN}.conf <<-_EOF_ |
142 |
- d /run/faillock 0755 root root |
143 |
- _EOF_ |
144 |
- use selinux && cat ->> "${D}"/usr/lib/tmpfiles.d/${CATEGORY}-${PN}-selinux.conf <<-_EOF_ |
145 |
- d /run/sepermit 0755 root root |
146 |
- _EOF_ |
147 |
- |
148 |
- local page |
149 |
- |
150 |
- for page in doc/man/*.{3,5,8} modules/*/*.{5,8} ; do |
151 |
- doman ${page} |
152 |
- done |
153 |
-} |
154 |
- |
155 |
-pkg_postinst() { |
156 |
- ewarn "Some software with pre-loaded PAM libraries might experience" |
157 |
- ewarn "warnings or failures related to missing symbols and/or versions" |
158 |
- ewarn "after any update. While unfortunate this is a limit of the" |
159 |
- ewarn "implementation of PAM and the software, and it requires you to" |
160 |
- ewarn "restart the software manually after the update." |
161 |
- ewarn "" |
162 |
- ewarn "You can get a list of such software running a command like" |
163 |
- ewarn " lsof / | egrep -i 'del.*libpam\\.so'" |
164 |
- ewarn "" |
165 |
- ewarn "Alternatively, simply reboot your system." |
166 |
- |
167 |
- # The pam_unix module needs to check the password of the user which requires |
168 |
- # read access to /etc/shadow only. |
169 |
- fcaps cap_dac_override sbin/unix_chkpwd |
170 |
-} |
171 |
|
172 |
diff --git a/sys-libs/pam/pam-1.5.2.ebuild b/sys-libs/pam/pam-1.5.2.ebuild |
173 |
deleted file mode 100644 |
174 |
index 12fb3126d89c..000000000000 |
175 |
--- a/sys-libs/pam/pam-1.5.2.ebuild |
176 |
+++ /dev/null |
177 |
@@ -1,130 +0,0 @@ |
178 |
-# Copyright 1999-2021 Gentoo Authors |
179 |
-# Distributed under the terms of the GNU General Public License v2 |
180 |
- |
181 |
-EAPI=7 |
182 |
- |
183 |
-MY_P="Linux-${PN^^}-${PV}" |
184 |
- |
185 |
-# Avoid QA warnings |
186 |
-# Can reconsider w/ EAPI 8 and IDEPEND, bug #810979 |
187 |
-TMPFILES_OPTIONAL=1 |
188 |
- |
189 |
-inherit autotools db-use fcaps toolchain-funcs usr-ldscript multilib-minimal |
190 |
- |
191 |
-DESCRIPTION="Linux-PAM (Pluggable Authentication Modules)" |
192 |
-HOMEPAGE="https://github.com/linux-pam/linux-pam" |
193 |
- |
194 |
-SRC_URI="https://github.com/linux-pam/linux-pam/releases/download/v${PV}/${MY_P}.tar.xz |
195 |
- https://github.com/linux-pam/linux-pam/releases/download/v${PV}/${MY_P}-docs.tar.xz" |
196 |
- |
197 |
-LICENSE="|| ( BSD GPL-2 )" |
198 |
-SLOT="0" |
199 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
200 |
-IUSE="audit berkdb debug nis selinux" |
201 |
- |
202 |
-BDEPEND=" |
203 |
- dev-libs/libxslt |
204 |
- sys-devel/flex |
205 |
- sys-devel/gettext |
206 |
- virtual/pkgconfig |
207 |
- virtual/yacc |
208 |
-" |
209 |
- |
210 |
-DEPEND=" |
211 |
- virtual/libcrypt:=[${MULTILIB_USEDEP}] |
212 |
- >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] |
213 |
- audit? ( >=sys-process/audit-2.2.2[${MULTILIB_USEDEP}] ) |
214 |
- berkdb? ( >=sys-libs/db-4.8.30-r1:=[${MULTILIB_USEDEP}] ) |
215 |
- selinux? ( >=sys-libs/libselinux-2.2.2-r4[${MULTILIB_USEDEP}] ) |
216 |
- nis? ( net-libs/libnsl:=[${MULTILIB_USEDEP}] |
217 |
- >=net-libs/libtirpc-0.2.4-r2:=[${MULTILIB_USEDEP}] )" |
218 |
- |
219 |
-RDEPEND="${DEPEND}" |
220 |
- |
221 |
-PDEPEND=">=sys-auth/pambase-20200616" |
222 |
- |
223 |
-S="${WORKDIR}/${MY_P}" |
224 |
- |
225 |
-src_prepare() { |
226 |
- default |
227 |
- touch ChangeLog || die |
228 |
- eautoreconf |
229 |
-} |
230 |
- |
231 |
-multilib_src_configure() { |
232 |
- # Do not let user's BROWSER setting mess us up. #549684 |
233 |
- unset BROWSER |
234 |
- |
235 |
- local myconf=( |
236 |
- CC_FOR_BUILD="$(tc-getBUILD_CC)" |
237 |
- --with-db-uniquename=-$(db_findver sys-libs/db) |
238 |
- --with-xml-catalog=/etc/xml/catalog |
239 |
- --enable-securedir=/$(get_libdir)/security |
240 |
- --includedir=/usr/include/security |
241 |
- --libdir=/usr/$(get_libdir) |
242 |
- --enable-pie |
243 |
- --enable-unix |
244 |
- --disable-prelude |
245 |
- --disable-doc |
246 |
- --disable-regenerate-docu |
247 |
- --disable-static |
248 |
- --disable-Werror |
249 |
- $(use_enable audit) |
250 |
- $(use_enable berkdb db) |
251 |
- $(use_enable debug) |
252 |
- $(use_enable nis) |
253 |
- $(use_enable selinux) |
254 |
- --enable-isadir='.' #464016 |
255 |
- ) |
256 |
- ECONF_SOURCE="${S}" econf "${myconf[@]}" |
257 |
-} |
258 |
- |
259 |
-multilib_src_compile() { |
260 |
- emake sepermitlockdir="/run/sepermit" |
261 |
-} |
262 |
- |
263 |
-multilib_src_install() { |
264 |
- emake DESTDIR="${D}" install \ |
265 |
- sepermitlockdir="/run/sepermit" |
266 |
- |
267 |
- gen_usr_ldscript -a pam pam_misc pamc |
268 |
-} |
269 |
- |
270 |
-multilib_src_install_all() { |
271 |
- find "${ED}" -type f -name '*.la' -delete || die |
272 |
- |
273 |
- # tmpfiles.eclass is impossible to use because |
274 |
- # there is the pam -> tmpfiles -> systemd -> pam dependency loop |
275 |
- |
276 |
- dodir /usr/lib/tmpfiles.d |
277 |
- |
278 |
- cat ->> "${D}"/usr/lib/tmpfiles.d/${CATEGORY}-${PN}.conf <<-_EOF_ |
279 |
- d /run/faillock 0755 root root |
280 |
- _EOF_ |
281 |
- use selinux && cat ->> "${D}"/usr/lib/tmpfiles.d/${CATEGORY}-${PN}-selinux.conf <<-_EOF_ |
282 |
- d /run/sepermit 0755 root root |
283 |
- _EOF_ |
284 |
- |
285 |
- local page |
286 |
- |
287 |
- for page in doc/man/*.{3,5,8} modules/*/*.{5,8} ; do |
288 |
- doman ${page} |
289 |
- done |
290 |
-} |
291 |
- |
292 |
-pkg_postinst() { |
293 |
- ewarn "Some software with pre-loaded PAM libraries might experience" |
294 |
- ewarn "warnings or failures related to missing symbols and/or versions" |
295 |
- ewarn "after any update. While unfortunate this is a limit of the" |
296 |
- ewarn "implementation of PAM and the software, and it requires you to" |
297 |
- ewarn "restart the software manually after the update." |
298 |
- ewarn "" |
299 |
- ewarn "You can get a list of such software running a command like" |
300 |
- ewarn " lsof / | egrep -i 'del.*libpam\\.so'" |
301 |
- ewarn "" |
302 |
- ewarn "Alternatively, simply reboot your system." |
303 |
- |
304 |
- # The pam_unix module needs to check the password of the user which requires |
305 |
- # read access to /etc/shadow only. |
306 |
- fcaps cap_dac_override sbin/unix_chkpwd |
307 |
-} |