diff options
Diffstat (limited to 'meta-moblin/packages/pam')
-rw-r--r-- | meta-moblin/packages/pam/files/disable_crossbinary.patch | 34 | ||||
-rw-r--r-- | meta-moblin/packages/pam/pam_1.0.2.bb | 29 |
2 files changed, 63 insertions, 0 deletions
diff --git a/meta-moblin/packages/pam/files/disable_crossbinary.patch b/meta-moblin/packages/pam/files/disable_crossbinary.patch new file mode 100644 index 0000000000..43359b08fe --- /dev/null +++ b/meta-moblin/packages/pam/files/disable_crossbinary.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | padout should be compiled using the native compiler but isn't. | ||
2 | Disable this piece of documentation for now. | ||
3 | |||
4 | RP | ||
5 | |||
6 | Index: Linux-PAM-1.0.2/doc/specs/Makefile.am | ||
7 | =================================================================== | ||
8 | --- Linux-PAM-1.0.2.orig/doc/specs/Makefile.am 2008-11-04 21:06:23.000000000 +0000 | ||
9 | +++ Linux-PAM-1.0.2/doc/specs/Makefile.am 2008-11-04 21:07:06.000000000 +0000 | ||
10 | @@ -2,21 +2,8 @@ | ||
11 | # Copyright (c) 2005, 2006 Thorsten Kukuk <kukuk@suse.de> | ||
12 | # | ||
13 | |||
14 | -CLEANFILES = draft-morgan-pam-current.txt *~ | ||
15 | +CLEANFILES = *~ | ||
16 | |||
17 | -EXTRA_DIST = draft-morgan-pam.raw std-agent-id.raw rfc86.0.txt | ||
18 | +EXTRA_DIST = std-agent-id.raw rfc86.0.txt | ||
19 | |||
20 | -draft-morgan-pam-current.txt: padout draft-morgan-pam.raw | ||
21 | - ./padout < $(srcdir)/draft-morgan-pam.raw > draft-morgan-pam-current.txt | ||
22 | - | ||
23 | -AM_YFLAGS = -d | ||
24 | - | ||
25 | -BUILT_SOURCES = parse_y.h | ||
26 | - | ||
27 | -noinst_PROGRAMS = padout | ||
28 | - | ||
29 | -padout_SOURCES = parse_l.l parse_y.y | ||
30 | - | ||
31 | -padout_LDADD = @LEXLIB@ | ||
32 | - | ||
33 | -doc_DATA = draft-morgan-pam-current.txt rfc86.0.txt | ||
34 | +doc_DATA = rfc86.0.txt | ||
diff --git a/meta-moblin/packages/pam/pam_1.0.2.bb b/meta-moblin/packages/pam/pam_1.0.2.bb new file mode 100644 index 0000000000..2a91414d7e --- /dev/null +++ b/meta-moblin/packages/pam/pam_1.0.2.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | HOMEPAGE = "http://www.kernel.org/pub/linux/libs/pam/" | ||
2 | PR = "r7" | ||
3 | |||
4 | SRC_URI = "http://www.kernel.org/pub/linux/libs/pam/library/Linux-PAM-1.0.2.tar.bz2 \ | ||
5 | file://disable_crossbinary.patch;patch=1 " | ||
6 | |||
7 | EXTRA_OECONF = "--with-db-uniquename=_pam \ | ||
8 | --includedir=${includedir}/security \ | ||
9 | --libdir=/lib" | ||
10 | DEPENDS = "bison flex" | ||
11 | CFLAGS_append = " -fPIC " | ||
12 | |||
13 | S = "${WORKDIR}/Linux-PAM-${PV}" | ||
14 | |||
15 | inherit autotools pkgconfig | ||
16 | |||
17 | |||
18 | do_stage() { | ||
19 | autotools_stage_all | ||
20 | } | ||
21 | |||
22 | FILES_${PN}-dbg += "${base_libdir}/security/.debug" | ||
23 | FILES_${PN}-dbg += "${base_libdir}/security/pam_filter/.debug" | ||
24 | FILES_${PN} += "${base_libdir}/security/*.so" | ||
25 | FILES_${PN} += "${base_libdir}/security/pam_filter/upperLOWER" | ||
26 | FILES_${PN} += "${base_libdir}/security/*.so" | ||
27 | FILES_${PN}-dev += "${base_libdir}/security/*.la" | ||
28 | FILES_${PN}-dev += "${base_libdir}/*.la" | ||
29 | FILES_${PN} += "${base_libdir}/*.so*" | ||