summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2007-11-10 17:38:24 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2007-11-10 17:38:24 +0000
commit1be23b3639ee49f1614364cffd03eddb36e98f29 (patch)
tree5f54388767cccae0872f9842abf19577b3cb3f19 /sys-auth
parentsparc stable wrt #192678, thanks to Alex Maclean for testing (diff)
downloadgentoo-2-1be23b3639ee49f1614364cffd03eddb36e98f29.tar.gz
gentoo-2-1be23b3639ee49f1614364cffd03eddb36e98f29.tar.bz2
gentoo-2-1be23b3639ee49f1614364cffd03eddb36e98f29.zip
Cleanups
(Portage version: 2.1.3.19)
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/pam_p11/ChangeLog6
-rw-r--r--sys-auth/pam_p11/files/pam_p11-0.1.3-qa.patch11
-rw-r--r--sys-auth/pam_p11/pam_p11-0.1.3.ebuild14
3 files changed, 26 insertions, 5 deletions
diff --git a/sys-auth/pam_p11/ChangeLog b/sys-auth/pam_p11/ChangeLog
index 559db0051896..851180c0ad84 100644
--- a/sys-auth/pam_p11/ChangeLog
+++ b/sys-auth/pam_p11/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-auth/pam_p11
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_p11/ChangeLog,v 1.10 2007/08/29 18:53:49 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_p11/ChangeLog,v 1.11 2007/11/10 17:38:23 alonbl Exp $
+
+ 10 Nov 2007; Alon Bar-Lev <alonbl@gentoo.org>
+ +files/pam_p11-0.1.3-qa.patch, pam_p11-0.1.3.ebuild:
+ Cleanups
29 Aug 2007; Christian Heim <phreak@gentoo.org> metadata.xml:
Removing kaiowas from metadata due to his retirement (see #61930 for
diff --git a/sys-auth/pam_p11/files/pam_p11-0.1.3-qa.patch b/sys-auth/pam_p11/files/pam_p11-0.1.3-qa.patch
new file mode 100644
index 000000000000..12eb62fca861
--- /dev/null
+++ b/sys-auth/pam_p11/files/pam_p11-0.1.3-qa.patch
@@ -0,0 +1,11 @@
+diff -urNp pam_p11-0.1.3.org/src/test.c pam_p11-0.1.3/src/test.c
+--- pam_p11-0.1.3.org/src/test.c 2005-12-26 22:44:06.000000000 +0200
++++ pam_p11-0.1.3/src/test.c 2007-11-10 19:35:10.000000000 +0200
+@@ -3,6 +3,7 @@
+
+ #include <security/pam_appl.h>
+ #include <security/pam_misc.h>
++#include <security/pam_modules.h>
+
+ int main(int argc, char **argv)
+ {
diff --git a/sys-auth/pam_p11/pam_p11-0.1.3.ebuild b/sys-auth/pam_p11/pam_p11-0.1.3.ebuild
index f92547813ae6..bcda56dde44b 100644
--- a/sys-auth/pam_p11/pam_p11-0.1.3.ebuild
+++ b/sys-auth/pam_p11/pam_p11-0.1.3.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_p11/pam_p11-0.1.3.ebuild,v 1.2 2007/07/26 19:22:53 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_p11/pam_p11-0.1.3.ebuild,v 1.3 2007/11/10 17:38:23 alonbl Exp $
-inherit pam
+inherit pam eutils
DESCRIPTION="pam_p11 is a pam package for using cryptographic tokens as authentication"
HOMEPAGE="http://www.opensc-project.org/pam_p11/"
@@ -19,9 +19,15 @@ RDEPEND="${DEPEND}"
MAKEOPTS="${MAKEOPTS} -j1"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-qa.patch"
+}
+
src_install() {
- dopammod ${S}/src/.libs/pam_p11_opensc.so
- dopammod ${S}/src/.libs/pam_p11_openssh.so
+ dopammod src/.libs/pam_p11_opensc.so
+ dopammod src/.libs/pam_p11_openssh.so
dohtml doc/*.html doc/*.css
}