From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2B596138A1A for ; Fri, 13 Feb 2015 14:14:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7A57E089C; Fri, 13 Feb 2015 14:14:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 672F4E089C for ; Fri, 13 Feb 2015 14:14:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 28050340809 for ; Fri, 13 Feb 2015 14:14:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DBD3A11ABD for ; Fri, 13 Feb 2015 14:14:37 +0000 (UTC) From: "Ben de Groot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ben de Groot" Message-ID: <1423836842.63e1890e45b4c5039b850ad478632068ba522f36.yngwin@gentoo> Subject: [gentoo-commits] dev/yngwin:master commit in: sys-auth/poldi/ X-VCS-Repository: dev/yngwin X-VCS-Files: sys-auth/poldi/poldi-0.4.1.ebuild X-VCS-Directories: sys-auth/poldi/ X-VCS-Committer: yngwin X-VCS-Committer-Name: Ben de Groot X-VCS-Revision: 63e1890e45b4c5039b850ad478632068ba522f36 X-VCS-Branch: master Date: Fri, 13 Feb 2015 14:14:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 31a1de0d-18bf-42d8-89be-dd304ec83c2d X-Archives-Hash: 0719c23b48a7c51a0146b0bd52da6f3c commit: 63e1890e45b4c5039b850ad478632068ba522f36 Author: Ben de Groot gentoo org> AuthorDate: Fri Feb 13 14:14:02 2015 +0000 Commit: Ben de Groot gentoo org> CommitDate: Fri Feb 13 14:14:02 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=dev/yngwin.git;a=commit;h=63e1890e sys-auth/poldi: improve ebuild with grknight's changes --- sys-auth/poldi/poldi-0.4.1.ebuild | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/sys-auth/poldi/poldi-0.4.1.ebuild b/sys-auth/poldi/poldi-0.4.1.ebuild index e971f75..2c4b45a 100644 --- a/sys-auth/poldi/poldi-0.4.1.ebuild +++ b/sys-auth/poldi/poldi-0.4.1.ebuild @@ -3,7 +3,7 @@ # $Header: $ EAPI=5 -inherit pam +inherit autotools pam DESCRIPTION="PAM module implementing authentication via OpenPGP smartcards" HOMEPAGE="http://www.gnupg.org/" @@ -20,14 +20,19 @@ DEPEND="dev-libs/libgcrypt usb? ( >=dev-libs/libusb-0.1.10a )" RDEPEND="${DEPEND}" +DOCS=( AUTHORS ChangeLog INSTALL NEWS README THANKS ) + src_prepare() { epatch "${FILESDIR}"/*.diff + eautoreconf +} + +src_configure() { + econf --with-pam-module-directory=$(getpam_mod_dir) } 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 + insinto /etc/poldi + doins "${FILESDIR}"/poldi.conf.example }