diff options
author | Ctibor Brančík <ctibor@brancik.cz> | 2016-11-09 20:36:42 +0100 |
---|---|---|
committer | Ctibor Brančík <ctibor@brancik.cz> | 2016-11-09 20:36:42 +0100 |
commit | 61f68d95ddf333ee2ffc6bc166bf36140cda9898 (patch) | |
tree | 2e3471ef6f56544c35c12c7fa50ce5c1a439f6a4 /sys-auth/poldi/poldi-9999.ebuild | |
parent | 2ad57184c5398137386b09c1f38d85d8b8e9ca26 (diff) | |
download | brancik-overlay-61f68d95ddf333ee2ffc6bc166bf36140cda9898.tar.gz brancik-overlay-61f68d95ddf333ee2ffc6bc166bf36140cda9898.tar.bz2 |
Update sys-auth/poldi to live ebuild
Diffstat (limited to 'sys-auth/poldi/poldi-9999.ebuild')
-rw-r--r-- | sys-auth/poldi/poldi-9999.ebuild | 42 |
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 +} |