summaryrefslogtreecommitdiff
path: root/sys-auth
diff options
context:
space:
mode:
authorCtibor <ctibor.brancik@seznam.cz>2015-11-05 20:21:56 +0100
committerCtibor <ctibor.brancik@seznam.cz>2015-11-05 20:21:56 +0100
commit72fbdee71498b14f80c66a532e6e313d35c9765a (patch)
tree8eea6bff88d70e798727d32aa4f3d26e71e3dbe4 /sys-auth
parent0de054c03889f78a5046a30a04509b05d25b4fb6 (diff)
downloadbrancik-overlay-72fbdee71498b14f80c66a532e6e313d35c9765a.tar.gz
brancik-overlay-72fbdee71498b14f80c66a532e6e313d35c9765a.tar.bz2
Add sys-auth/poldi from dev/yngwin.git
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/poldi/Manifest1
-rw-r--r--sys-auth/poldi/files/poldi.conf.example10
-rw-r--r--sys-auth/poldi/metadata.xml17
-rw-r--r--sys-auth/poldi/poldi-0.4.1.ebuild33
4 files changed, 61 insertions, 0 deletions
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 <driver name>
+#pcsc-driver <driver name>
+#reader-port <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 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>ctibor@brancik.cz</email>
+ <name>Ctibor Brančík</name>
+ </maintainer>
+ <longdescription>
+ Libpam-poldi allows you to use a GnuPG smartcard to log in your GNU/Linux system.
+ </longdescription>
+ <upstream>
+ <maintainer status="active">
+ <name>Björn Schießle</name>
+ </maintainer>
+ <doc lang="en">http://www.schiessle.org/howto/poldi.html</doc>
+ </upstream>
+</pkgmetadata>
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
+}