From 72fbdee71498b14f80c66a532e6e313d35c9765a Mon Sep 17 00:00:00 2001 From: Ctibor Date: Thu, 5 Nov 2015 20:21:56 +0100 Subject: Add sys-auth/poldi from dev/yngwin.git --- sys-auth/poldi/Manifest | 1 + sys-auth/poldi/files/poldi.conf.example | 10 ++++++++++ sys-auth/poldi/metadata.xml | 17 +++++++++++++++++ sys-auth/poldi/poldi-0.4.1.ebuild | 33 +++++++++++++++++++++++++++++++++ 4 files changed, 61 insertions(+) create mode 100644 sys-auth/poldi/Manifest create mode 100644 sys-auth/poldi/files/poldi.conf.example create mode 100644 sys-auth/poldi/metadata.xml create mode 100644 sys-auth/poldi/poldi-0.4.1.ebuild (limited to 'sys-auth') diff --git a/sys-auth/poldi/Manifest b/sys-auth/poldi/Manifest new file mode 100644 index 0000000..3882027 --- /dev/null +++ b/sys-auth/poldi/Manifest @@ -0,0 +1 @@ +DIST poldi-0.4.1.tar.bz2 351972 SHA256 fe692857c33c5f443eb3bce663fecf553a5600f0c6c0ffacecea02c351c2f749 SHA512 0ef276ee1d480416ebab33d590acecf958e707523afd3cee67c019620515a47c825ed42d8ec6427468aa9218f6db9c670f67ea521a8c3fb32d100593814bf51c WHIRLPOOL a3e5639366a1a8b2cc1514d23d64bce3ceabbb9fa13718d37d92842825a0c44a5f1dcafc20939f0c2281d87c66516265cdfeef5691ce3983729ff83508737967 diff --git a/sys-auth/poldi/files/poldi.conf.example b/sys-auth/poldi/files/poldi.conf.example new file mode 100644 index 0000000..ca8ec5c --- /dev/null +++ b/sys-auth/poldi/files/poldi.conf.example @@ -0,0 +1,10 @@ +#See `info poldi` + +#ctapi-driver +#pcsc-driver +#reader-port +#disable-ccid +#disable-opensc +#debug-ccid-driver +#fake-wait-for-card +#logfile diff --git a/sys-auth/poldi/metadata.xml b/sys-auth/poldi/metadata.xml new file mode 100644 index 0000000..791dc2a --- /dev/null +++ b/sys-auth/poldi/metadata.xml @@ -0,0 +1,17 @@ + + + + + ctibor@brancik.cz + Ctibor Brančík + + + Libpam-poldi allows you to use a GnuPG smartcard to log in your GNU/Linux system. + + + + Björn Schießle + + http://www.schiessle.org/howto/poldi.html + + diff --git a/sys-auth/poldi/poldi-0.4.1.ebuild b/sys-auth/poldi/poldi-0.4.1.ebuild new file mode 100644 index 0000000..e971f75 --- /dev/null +++ b/sys-auth/poldi/poldi-0.4.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +inherit pam + +DESCRIPTION="PAM module implementing authentication via OpenPGP smartcards" +HOMEPAGE="http://www.gnupg.org/" +SRC_URI="ftp://ftp.gnupg.org/gcrypt/alpha/poldi/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="usb" + +DEPEND="dev-libs/libgcrypt + virtual/pam + >=dev-libs/libgpg-error-0.7 + usb? ( >=dev-libs/libusb-0.1.10a )" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/*.diff +} + +src_install() { + default + dopammod "${S}"/src/pam/pam_poldi.so + dodoc AUTHORS ChangeLog INSTALL NEWS README THANKS + dodir /etc/poldi + cp "${FILESDIR}"/poldi.conf.example "${D}"/etc/poldi +} -- cgit v1.2.3