From ca9627e70852f6b2e835660df870fe3ab405882d Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 1 Sep 2019 00:00:32 +0200 Subject: Initial import --- sys-auth/pam_x509/pam_x509-1.0.2-r2.ebuild | 46 ++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 sys-auth/pam_x509/pam_x509-1.0.2-r2.ebuild (limited to 'sys-auth/pam_x509/pam_x509-1.0.2-r2.ebuild') diff --git a/sys-auth/pam_x509/pam_x509-1.0.2-r2.ebuild b/sys-auth/pam_x509/pam_x509-1.0.2-r2.ebuild new file mode 100644 index 0000000..c9e1465 --- /dev/null +++ b/sys-auth/pam_x509/pam_x509-1.0.2-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_usb/pam_usb-0.3.2.ebuild,v 1.3 2005/09/16 11:16:21 agriffis Exp $ + +inherit eutils pam + +DESCRIPTION="PAM X509 password-less authentication module" +SRC_URI="http://dside.dyndns.org/files/darklin/darksoft/${P}.tar.bz2" +HOMEPAGE="http://pam-x509.sourceforge.net/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +DEPEND="dev-libs/openssl + sys-libs/pam + net-wireless/bluez-libs + net-wireless/bluez-utils + dev-libs/openobex + app-mobilephone/obexftp + sys-apps/hotplug-base + dev-lang/perl" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/pam_x509-ds-compile2.patch || die + perl -pi -e "s|BT=\w+|BT=yes|g" Makefile +} + +src_compile() { + emake || die "make failed" +} + +src_install() { + cd ${S} + + dodir /etc/hotplug.d /etc/pam.d /etc/pam_usb + + dodir /lib/security /etc/pam.d /var/spool/x509 /mnt/auth || die + install -c -m 755 pam_x509.so ${D}/lib/security || die + install -m 644 ${FILESDIR}/x509-auth ${D}/etc/pam.d || die + install -m 644 ${FILESDIR}/x509.config ${D}/etc || die + ln -s securetty ${D}/etc/x509.securetty || die +} -- cgit v1.2.3