sys-freebsd/freebsd-pam-modules: Remove last-rited pkg

Closes: https://bugs.gentoo.org/683284
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2019-10-11 17:16:39 +02:00
parent 803eb8f62a
commit 2f7df9d242
5 changed files with 0 additions and 116 deletions
-1
View File
@@ -753,7 +753,6 @@ sys-freebsd/freebsd-cddl
sys-freebsd/freebsd-lib
sys-freebsd/freebsd-libexec
sys-freebsd/freebsd-mk-defs
sys-freebsd/freebsd-pam-modules
# Lars Wendler <polynomial-c@gentoo.org> (2019-09-04)
# Unofficial build. Superseded by official 2.49.5 release.
-1
View File
@@ -1 +0,0 @@
DIST freebsd-src-11.1.tar.xz 147661560 BLAKE2B a9e6ba9d0e12c8b56ac58575d5f02931edbb6a3545d9dccae78810d2d0470a29b29dd7f724b03b8afafbca23717a71346e4cfbd3530e0f40118a23609c3f414e SHA512 b97707ec7a601ca6bcb682c45f6d94a38484301ac24630d7285eff6f88b027ce6900c93fc62f8ce36e0cf32c91f73a9d1c999db397b7f8782fd74a8551a03aca
@@ -1,61 +0,0 @@
/etc/pam.d
This directory contains configuration files for the Pluggable
Authentication Modules (PAM) library.
Each file details the module chain for a single service, and must be
named after that service. If no configuration file is found for a
particular service, the /etc/pam.d/other is used instead. If that
file does not exist, /etc/pam.conf is searched for entries matching
the specified service or, failing that, the "other" service.
See the pam(8) manual page for an explanation of the workings of the
PAM library and descriptions of the various files and modules. Below
is a summary of the format for the pam.conf and /etc/pam.d/* files.
Configuration lines take the following form:
module-type control-flag module-path arguments
Comments are introduced with a hash mark ('#'). Blank lines and lines
consisting entirely of comments are ignored.
The meanings of the different fields are as follows:
module-type:
auth: prompt for a password to authenticate that the user is
who they say they are, and set any credentials.
account: non-authentication based authorization, based on time,
resources, etc.
session: housekeeping before and/or after login.
password: update authentication tokens.
control-flag: How libpam handles success or failure of the module.
required: success is required; on failure all remaining
modules are run, but the request will be denied.
requisite: success is required, and on failure no remaining
modules are run.
sufficient: success is sufficient, and if no previous required
module failed, no remaining modules are run.
binding: success is sufficient; on failure all remaining
modules are run, but the request will be denied.
optional: ignored unless the other modules return PAM_IGNORE.
arguments: Module-specific options, plus some generic ones:
debug: syslog debug info.
no_warn: return no warning messages to the application.
Remove this to feed back to the user the
reason(s) they are being rejected.
use_first_pass: try authentication using password from the
preceding auth module.
try_first_pass: first try authentication using password from
the preceding auth module, and if that fails
prompt for a new password.
use_mapped_pass: convert cleartext password to a crypto key.
expose_account: allow printing more info about the user when
prompting.
Note that having a "sufficient" module as the last entry for a
particular service and module type may result in surprising behaviour.
To get the intended semantics, add a "required" entry listing the
pam_deny module at the end of the chain.
@@ -1,45 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit bsdmk freebsd multilib pam
DESCRIPTION="FreeBSD's PAM authentication modules"
SLOT="0"
IUSE="kerberos nis"
if [[ ${PV} != *9999* ]]; then
KEYWORDS="~amd64-fbsd ~x86-fbsd"
fi
EXTRACTONLY="lib/"
RDEPEND=">=sys-auth/openpam-20050201-r1
kerberos? ( dev-libs/openssl:0=
virtual/krb5 )"
DEPEND="${RDEPEND}
=sys-freebsd/freebsd-mk-defs-${RV}*
=sys-freebsd/freebsd-sources-${RV}*"
S=${WORKDIR}/lib/libpam/modules
pkg_setup() {
# Avoid installing pam_ssh as that has its own ebuild.
mymakeopts="${mymakeopts} WITHOUT_OPENSSH= "
use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS= "
use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= "
}
src_prepare() {
for module in pam_deny pam_passwdqc pam_permit pam_krb5; do
sed -i -e "s:${module}::" "${S}"/modules.inc || die
done
}
src_install() {
freebsd_src_install "LIBDIR=/$(get_libdir)/security"
dodoc "${FILESDIR}/README.pamd"
}
@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>bsd@gentoo.org</email>
<name>BSD Project</name>
</maintainer>
</pkgmetadata>