diff options
author | Ctibor <ctibor.brancik@seznam.cz> | 2015-11-06 00:15:20 +0100 |
---|---|---|
committer | Ctibor <ctibor.brancik@seznam.cz> | 2015-11-06 00:15:20 +0100 |
commit | 79d8e632bdd44d480acd1a7ad57af492efa5e964 (patch) | |
tree | dd6281351f8d984bb0cb8e3dd3d44d5628e5b49a /sys-auth | |
parent | c53c06e27375b6dc342b2356dd9e4ed96e62e617 (diff) | |
download | brancik-overlay-79d8e632bdd44d480acd1a7ad57af492efa5e964.tar.gz brancik-overlay-79d8e632bdd44d480acd1a7ad57af492efa5e964.tar.bz2 |
Prevent sandbox access violations.
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/poldi/poldi-0.4.1.ebuild | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/sys-auth/poldi/poldi-0.4.1.ebuild b/sys-auth/poldi/poldi-0.4.1.ebuild index 41bc8f7..cb96cc5 100644 --- a/sys-auth/poldi/poldi-0.4.1.ebuild +++ b/sys-auth/poldi/poldi-0.4.1.ebuild @@ -4,38 +4,39 @@ EAPI=5 -inherit pam +inherit pam autotools DESCRIPTION="Poldi is a 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="~x86" +KEYWORDS="~x86 ~amd64" IUSE="usb" + DEPEND="dev-libs/libgcrypt virtual/pam >=dev-libs/libgpg-error-0.7 usb? ( virtual/libusb:0 )" -RDEPEND=${DEPEND} +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS ChangeLog INSTALL NEWS README THANKS ) src_prepare() { epatch "${FILESDIR}/01-debian-specific-0.4.1.diff" epatch "${FILESDIR}/02-ldflags-0.4.1.diff" epatch "${FILESDIR}/03-fix-auth-localdb.diff" + eautoreconf } -src_compile() { - econf || die "econf failed" - emake || die "emake failed" +src_configure() { + econf --with-pam-module-directory=$(getpam_mod_dir) } src_install() { - einstall || die "einstall failed" - dopammod ${S}/src/pam/pam_poldi.so - #ChangeLog and INSTALL are not usefull - dodoc AUTHORS COPYING NEWS README THANKS - dodir /etc/poldi - cp ${FILESDIR}/poldi.conf.example ${D}/etc/poldi + default + insinto /etc/poldi + doins "${FILESDIR}"/poldi.conf.example } |