public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-auth/pam_pkcs11/, profiles/
@ 2017-10-04 19:56 Alon Bar-Lev
  0 siblings, 0 replies; only message in thread
From: Alon Bar-Lev @ 2017-10-04 19:56 UTC (permalink / raw
  To: gentoo-commits

commit:     3c1d288a042d30a80a57fb07f88ec1800b42e97e
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  4 19:55:31 2017 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Wed Oct  4 19:55:31 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c1d288a

sys-auth/pam_pkcs11: treeclean

Gentoo-Bug: 628908

 profiles/package.mask                       |   5 --
 sys-auth/pam_pkcs11/Manifest                |   1 -
 sys-auth/pam_pkcs11/metadata.xml            |  26 -------
 sys-auth/pam_pkcs11/pam_pkcs11-0.6.9.ebuild | 109 ----------------------------
 4 files changed, 141 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index b8536ac81ec..1a33489c31d 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -192,11 +192,6 @@ x11-apps/python-whiteboard
 # time being.
 >=dev-java/javatoolkit-0.6.0
 
-# Alon Bar-Lev <alonbl@gentoo.org> (08 Sep 2017)
-# Upstream no longer maintain (Bug#628908).
-# Removal in 30 days.
-sys-auth/pam_pkcs11
-
 # Austin English <wizardedit@gentoo.org> (05 Sep 2017)
 # Download has been broken for nearly a year, no alternative found
 # Bug: https://bugs.gentoo.org/599390

diff --git a/sys-auth/pam_pkcs11/Manifest b/sys-auth/pam_pkcs11/Manifest
deleted file mode 100644
index 33305cb70bf..00000000000
--- a/sys-auth/pam_pkcs11/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pam_pkcs11-0.6.9.tar.gz 1358280 SHA256 b27e8ba40ffc5b847abf95d2e636ed58640f068398a233f27e211363c20eba91 SHA512 954c37b9aa93d007ca3c0c49790bf6840d3b902b5dacda485c9020f4362db4a5a41670ad95f672757f3a7e60fe430765023f1a57e9a79260c052c45854d5ba51 WHIRLPOOL fcca466565978701e128396f69de6ce1e9b8a3c0771865a71e22f0e23c1641c1ffe7d6e36435bbf93b11fb4e34ecab71e580685e1d481f7df0bfd5b5b52c37b6

diff --git a/sys-auth/pam_pkcs11/metadata.xml b/sys-auth/pam_pkcs11/metadata.xml
deleted file mode 100644
index caa5b87c36b..00000000000
--- a/sys-auth/pam_pkcs11/metadata.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-  <maintainer type="project">
-    <email>crypto@gentoo.org</email>
-    <name>Crypto</name>
-  </maintainer>
-  <maintainer type="project">
-    <email>pam-bugs@gentoo.org</email>
-    <name>Pluggable Authentication Method maintenance</name>
-  </maintainer>
-  <use>
-    <flag name="pcsc-lite">
-      Build the card_eventmanager binary used to detect card removal and lock the sessions. This
-      needs <pkg>sys-apps/pcsc-lite</pkg>.
-    </flag>
-    <flag name="nss">
-      Use Mozilla NSS (<pkg>dev-libs/nss</pkg>) as provider for PKCS#11 access, rather than using
-      OpenSSL with a custom implementation of the PKC#11 protocol.
-    </flag>
-  </use>
-  <upstream>
-    <remote-id type="sourceforge">opensc</remote-id>
-    <remote-id type="github">opensc/pam_pkcs11</remote-id>
-  </upstream>
-</pkgmetadata>

diff --git a/sys-auth/pam_pkcs11/pam_pkcs11-0.6.9.ebuild b/sys-auth/pam_pkcs11/pam_pkcs11-0.6.9.ebuild
deleted file mode 100644
index 5c6e07f3f37..00000000000
--- a/sys-auth/pam_pkcs11/pam_pkcs11-0.6.9.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit ltprune pam
-
-DESCRIPTION="PKCS#11 PAM library"
-HOMEPAGE="https://github.com/opensc/pam_pkcs11/wiki"
-SRC_URI="mirror://sourceforge/opensc/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="curl doc ldap nss +pcsc-lite"
-
-RDEPEND="sys-libs/pam
-	curl? ( net-misc/curl )
-	ldap? ( net-nds/openldap )
-	nss? (
-		dev-libs/nss
-		curl? ( || ( net-misc/curl[-ssl] net-misc/curl[ssl,curl_ssl_nss] ) )
-	)
-	!nss? (
-		dev-libs/openssl:=
-		curl? ( || ( net-misc/curl[-ssl] net-misc/curl[ssl,-curl_ssl_nss] ) )
-	)
-	pcsc-lite? ( sys-apps/pcsc-lite )"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig
-	doc? ( dev-libs/libxslt )"
-
-DOCS=(
-	AUTHORS ChangeLog NEWS README TODO
-)
-
-src_prepare() {
-	default
-	# Fix the example files to be somewhat decent, and usable as
-	# default configuration
-	sed -i \
-		-e '/try_first_pass/s:false:true:' \
-		-e '/debug =/s:true:false:' \
-		-e 's:\(/usr\|\${exec_prefix}\)/lib/:/usr/'$(get_libdir)/':g' \
-		etc/pam_pkcs11.conf.example.in \
-		etc/pkcs11_eventmgr.conf.example || die "sed failed"
-}
-
-src_configure() {
-	econf \
-		$(use_with curl) \
-		$(use_with doc docbook) \
-		$(use_with pcsc-lite pcsclite) \
-		$(use_with ldap) \
-		$(use_with nss)
-}
-
-src_install() {
-	emake DESTDIR="${ED}" pamdir="$(getpam_mod_dir)" install
-	einstalldocs
-	prune_libtool_files --modules
-
-	dodoc doc/README.*
-	use doc && dodoc doc/api/*
-
-	# Provide some basic configuration
-	keepdir /etc/pam_pkcs11{,/{cacerts,crl}}
-
-	insinto /etc/pam_pkcs11
-	newins etc/pam_pkcs11.conf.example pam_pkcs11.conf
-	newins etc/pkcs11_eventmgr.conf.example pkcs11_eventmgr.conf
-}
-
-pkg_config() {
-	local dir
-	for dir in "${EROOT}"etc/${PN}/{cacerts,crl}; do
-		pushd "${dir}" > /dev/null
-		ebegin "Creating hash links in '${dir}'"
-		"${EROOT}usr/bin/pkcs11_make_hash_link" || die
-		eend $?
-		popd > /dev/null
-	done
-}
-
-pkg_postinst() {
-	elog "For ${PN} to work you need a PKCS#11 provider, such as one of:"
-	elog "  - dev-libs/opensc"
-	elog "  - dev-libs/opencryptoki"
-	elog ""
-	elog "You probably want to configure the '${EROOT}etc/${PN}/${PN}.conf' file with"
-	elog "the settings for your pkcs11 provider."
-	elog ""
-	elog "You might also want to set up '${EROOT}etc/${PN}/pkcs11_eventmgr.conf' with"
-	elog "the settings for the event manager, and start it up at user login."
-}
-
-# TODO list!
-#
-# - we need to find a way allow the user to choose whether to start the
-#   event manager at _all_ the logins, and if that's the case, lock all
-#   kind of sessions (terminal _and_ X);
-# - upstream should probably migrate the configuration of the event
-#   manager on a per-user basis, since it makes little sense to be _all_
-#   system-level configuration;
-# - we should probably provide some better config support that ensures
-#   the configuration to be valid, as well as creating the symlinks;
-# - we should probably add support for nss;
-# - we should move the configuration in /etc/security as for the rest
-#   of PAM-related configuration.


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-10-04 19:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-04 19:56 [gentoo-commits] repo/gentoo:master commit in: sys-auth/pam_pkcs11/, profiles/ Alon Bar-Lev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox