1 |
commit: d64b7f684e7510fe995613f894b2e3c09853d91b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 1 14:53:56 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 1 15:09:43 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d64b7f68 |
7 |
|
8 |
sys-auth/openpam: Bump to EAPI=6 |
9 |
|
10 |
.../files/openpam-20130907-module-dir.patch | 4 +- |
11 |
sys-auth/openpam/openpam-20140912-r2.ebuild | 48 ++++++++++++++++++++++ |
12 |
2 files changed, 50 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/sys-auth/openpam/files/openpam-20130907-module-dir.patch b/sys-auth/openpam/files/openpam-20130907-module-dir.patch |
15 |
index 01afadbbfb8..28c4414f912 100644 |
16 |
--- a/sys-auth/openpam/files/openpam-20130907-module-dir.patch |
17 |
+++ b/sys-auth/openpam/files/openpam-20130907-module-dir.patch |
18 |
@@ -1,7 +1,7 @@ |
19 |
diff --git a/openpam-20130907/lib/libpam/openpam_constants.c b/openpam-20130907/lib/libpam/openpam_constants.c |
20 |
index 1cdd810..f66e469 100644 |
21 |
---- a/openpam-20130907/lib/libpam/openpam_constants.c |
22 |
-+++ b/openpam-20130907/lib/libpam/openpam_constants.c |
23 |
+--- a/lib/libpam/openpam_constants.c |
24 |
++++ b/lib/libpam/openpam_constants.c |
25 |
@@ -135,8 +135,8 @@ const char *openpam_policy_path[] = { |
26 |
}; |
27 |
|
28 |
|
29 |
diff --git a/sys-auth/openpam/openpam-20140912-r2.ebuild b/sys-auth/openpam/openpam-20140912-r2.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..50de35c46fe |
32 |
--- /dev/null |
33 |
+++ b/sys-auth/openpam/openpam-20140912-r2.ebuild |
34 |
@@ -0,0 +1,48 @@ |
35 |
+# Copyright 1999-2018 Gentoo Foundation |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=6 |
39 |
+ |
40 |
+inherit autotools multilib-minimal |
41 |
+ |
42 |
+DESCRIPTION="Open source PAM library" |
43 |
+HOMEPAGE="http://www.openpam.org/" |
44 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="BSD" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64-fbsd ~x86-fbsd" |
49 |
+IUSE="" |
50 |
+ |
51 |
+RDEPEND="!sys-libs/pam" |
52 |
+DEPEND=" |
53 |
+ sys-devel/make |
54 |
+ dev-lang/perl" |
55 |
+ |
56 |
+PDEPEND=" |
57 |
+ sys-auth/pambase" |
58 |
+ |
59 |
+PATCHES=( |
60 |
+ "${FILESDIR}/${PN}-20130907-gentoo.patch" |
61 |
+ "${FILESDIR}/${PN}-20130907-nbsd.patch" |
62 |
+ "${FILESDIR}/${PN}-20130907-module-dir.patch" |
63 |
+) |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ sed -i -e 's:-Werror::' "${S}/configure.ac" |
67 |
+ default |
68 |
+ eautoreconf |
69 |
+} |
70 |
+ |
71 |
+multilib_src_configure() { |
72 |
+ local myconf=( |
73 |
+ --with-modules-dir=/$(get_libdir)/security |
74 |
+ ) |
75 |
+ ECONF_SOURCE=${S} \ |
76 |
+ econf "${myconf[@]}" |
77 |
+} |
78 |
+ |
79 |
+multilib_src_install_all() { |
80 |
+ dodoc CREDITS HISTORY RELNOTES README |
81 |
+ find "${D}" -name '*.la' -delete || die |
82 |
+} |