summaryrefslogtreecommitdiff
path: root/sys-auth/poldi/poldi-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/poldi/poldi-9999.ebuild')
-rw-r--r--sys-auth/poldi/poldi-9999.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/sys-auth/poldi/poldi-9999.ebuild b/sys-auth/poldi/poldi-9999.ebuild
new file mode 100644
index 0000000..ac70c6b
--- /dev/null
+++ b/sys-auth/poldi/poldi-9999.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit pam eutils git-2 autotools autotools-utils
+
+DESCRIPTION="Poldi is a PAM module implementing authentication via OpenPGP smartcards."
+HOMEPAGE="http://www.gnupg.org/"
+EGIT_REPO_URI="git://git.gnupg.org/poldi.git"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="usb"
+
+DEPEND="dev-libs/libgcrypt:0
+ virtual/pam
+ >=dev-libs/libgpg-error-0.7
+ usb? ( virtual/libusb:0 )"
+
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS ChangeLog INSTALL NEWS README THANKS )
+
+AUTOTOOLS_AUTORECONF=1
+
+PATCHES=( "${FILESDIR}/poldi-9999_fix_maintainer_mode.diff" )
+
+src_configure() {
+ local myeconfargs=(
+ --with-pam-module-directory=/lib64/security
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ default
+ insinto /etc/poldi
+ doins "${FILESDIR}"/poldi.conf.example
+}