Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-freebsd/freebsd-pam-modules/files/, sys-freebsd/freebsd-pam-modules/, ...
Date: Fri, 11 Oct 2019 15:16:58
Message-Id: 1570806999.2f7df9d2425779f3bc610b796585887de8b3aa16.mgorny@gentoo
1 commit: 2f7df9d2425779f3bc610b796585887de8b3aa16
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 11 15:14:14 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 11 15:16:39 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f7df9d2
7
8 sys-freebsd/freebsd-pam-modules: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/683284
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 profiles/package.mask | 1 -
14 sys-freebsd/freebsd-pam-modules/Manifest | 1 -
15 sys-freebsd/freebsd-pam-modules/files/README.pamd | 61 ----------------------
16 .../freebsd-pam-modules-11.1.ebuild | 45 ----------------
17 sys-freebsd/freebsd-pam-modules/metadata.xml | 8 ---
18 5 files changed, 116 deletions(-)
19
20 diff --git a/profiles/package.mask b/profiles/package.mask
21 index a0601770af5..61b07b1d259 100644
22 --- a/profiles/package.mask
23 +++ b/profiles/package.mask
24 @@ -753,7 +753,6 @@ sys-freebsd/freebsd-cddl
25 sys-freebsd/freebsd-lib
26 sys-freebsd/freebsd-libexec
27 sys-freebsd/freebsd-mk-defs
28 -sys-freebsd/freebsd-pam-modules
29
30 # Lars Wendler <polynomial-c@g.o> (2019-09-04)
31 # Unofficial build. Superseded by official 2.49.5 release.
32
33 diff --git a/sys-freebsd/freebsd-pam-modules/Manifest b/sys-freebsd/freebsd-pam-modules/Manifest
34 deleted file mode 100644
35 index f3dcd89d595..00000000000
36 --- a/sys-freebsd/freebsd-pam-modules/Manifest
37 +++ /dev/null
38 @@ -1 +0,0 @@
39 -DIST freebsd-src-11.1.tar.xz 147661560 BLAKE2B a9e6ba9d0e12c8b56ac58575d5f02931edbb6a3545d9dccae78810d2d0470a29b29dd7f724b03b8afafbca23717a71346e4cfbd3530e0f40118a23609c3f414e SHA512 b97707ec7a601ca6bcb682c45f6d94a38484301ac24630d7285eff6f88b027ce6900c93fc62f8ce36e0cf32c91f73a9d1c999db397b7f8782fd74a8551a03aca
40
41 diff --git a/sys-freebsd/freebsd-pam-modules/files/README.pamd b/sys-freebsd/freebsd-pam-modules/files/README.pamd
42 deleted file mode 100644
43 index 51d703973be..00000000000
44 --- a/sys-freebsd/freebsd-pam-modules/files/README.pamd
45 +++ /dev/null
46 @@ -1,61 +0,0 @@
47 -/etc/pam.d
48 -
49 -This directory contains configuration files for the Pluggable
50 -Authentication Modules (PAM) library.
51 -
52 -Each file details the module chain for a single service, and must be
53 -named after that service. If no configuration file is found for a
54 -particular service, the /etc/pam.d/other is used instead. If that
55 -file does not exist, /etc/pam.conf is searched for entries matching
56 -the specified service or, failing that, the "other" service.
57 -
58 -See the pam(8) manual page for an explanation of the workings of the
59 -PAM library and descriptions of the various files and modules. Below
60 -is a summary of the format for the pam.conf and /etc/pam.d/* files.
61 -
62 -Configuration lines take the following form:
63 -
64 -module-type control-flag module-path arguments
65 -
66 -Comments are introduced with a hash mark ('#'). Blank lines and lines
67 -consisting entirely of comments are ignored.
68 -
69 -The meanings of the different fields are as follows:
70 -
71 - module-type:
72 - auth: prompt for a password to authenticate that the user is
73 - who they say they are, and set any credentials.
74 - account: non-authentication based authorization, based on time,
75 - resources, etc.
76 - session: housekeeping before and/or after login.
77 - password: update authentication tokens.
78 -
79 - control-flag: How libpam handles success or failure of the module.
80 - required: success is required; on failure all remaining
81 - modules are run, but the request will be denied.
82 - requisite: success is required, and on failure no remaining
83 - modules are run.
84 - sufficient: success is sufficient, and if no previous required
85 - module failed, no remaining modules are run.
86 - binding: success is sufficient; on failure all remaining
87 - modules are run, but the request will be denied.
88 - optional: ignored unless the other modules return PAM_IGNORE.
89 -
90 - arguments: Module-specific options, plus some generic ones:
91 - debug: syslog debug info.
92 - no_warn: return no warning messages to the application.
93 - Remove this to feed back to the user the
94 - reason(s) they are being rejected.
95 - use_first_pass: try authentication using password from the
96 - preceding auth module.
97 - try_first_pass: first try authentication using password from
98 - the preceding auth module, and if that fails
99 - prompt for a new password.
100 - use_mapped_pass: convert cleartext password to a crypto key.
101 - expose_account: allow printing more info about the user when
102 - prompting.
103 -
104 -Note that having a "sufficient" module as the last entry for a
105 -particular service and module type may result in surprising behaviour.
106 -To get the intended semantics, add a "required" entry listing the
107 -pam_deny module at the end of the chain.
108
109 diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-11.1.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-11.1.ebuild
110 deleted file mode 100644
111 index 058bd4a6a81..00000000000
112 --- a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-11.1.ebuild
113 +++ /dev/null
114 @@ -1,45 +0,0 @@
115 -# Copyright 1999-2018 Gentoo Foundation
116 -# Distributed under the terms of the GNU General Public License v2
117 -
118 -EAPI=5
119 -
120 -inherit bsdmk freebsd multilib pam
121 -
122 -DESCRIPTION="FreeBSD's PAM authentication modules"
123 -SLOT="0"
124 -
125 -IUSE="kerberos nis"
126 -
127 -if [[ ${PV} != *9999* ]]; then
128 - KEYWORDS="~amd64-fbsd ~x86-fbsd"
129 -fi
130 -
131 -EXTRACTONLY="lib/"
132 -
133 -RDEPEND=">=sys-auth/openpam-20050201-r1
134 - kerberos? ( dev-libs/openssl:0=
135 - virtual/krb5 )"
136 -DEPEND="${RDEPEND}
137 - =sys-freebsd/freebsd-mk-defs-${RV}*
138 - =sys-freebsd/freebsd-sources-${RV}*"
139 -
140 -S=${WORKDIR}/lib/libpam/modules
141 -
142 -pkg_setup() {
143 - # Avoid installing pam_ssh as that has its own ebuild.
144 - mymakeopts="${mymakeopts} WITHOUT_OPENSSH= "
145 - use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS= "
146 - use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= "
147 -}
148 -
149 -src_prepare() {
150 - for module in pam_deny pam_passwdqc pam_permit pam_krb5; do
151 - sed -i -e "s:${module}::" "${S}"/modules.inc || die
152 - done
153 -}
154 -
155 -src_install() {
156 - freebsd_src_install "LIBDIR=/$(get_libdir)/security"
157 -
158 - dodoc "${FILESDIR}/README.pamd"
159 -}
160
161 diff --git a/sys-freebsd/freebsd-pam-modules/metadata.xml b/sys-freebsd/freebsd-pam-modules/metadata.xml
162 deleted file mode 100644
163 index a00f3aeb1f8..00000000000
164 --- a/sys-freebsd/freebsd-pam-modules/metadata.xml
165 +++ /dev/null
166 @@ -1,8 +0,0 @@
167 -<?xml version="1.0" encoding="UTF-8"?>
168 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
169 -<pkgmetadata>
170 -<maintainer type="project">
171 - <email>bsd@g.o</email>
172 - <name>BSD Project</name>
173 -</maintainer>
174 -</pkgmetadata>