summaryrefslogtreecommitdiffstats
path: root/meta-moblin/packages/pam
diff options
context:
space:
mode:
Diffstat (limited to 'meta-moblin/packages/pam')
-rw-r--r--meta-moblin/packages/pam/files/disable_crossbinary.patch34
-rw-r--r--meta-moblin/packages/pam/pam_1.0.2.bb29
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 @@
1padout should be compiled using the native compiler but isn't.
2Disable this piece of documentation for now.
3
4RP
5
6Index: 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 @@
1HOMEPAGE = "http://www.kernel.org/pub/linux/libs/pam/"
2PR = "r7"
3
4SRC_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
7EXTRA_OECONF = "--with-db-uniquename=_pam \
8 --includedir=${includedir}/security \
9 --libdir=/lib"
10DEPENDS = "bison flex"
11CFLAGS_append = " -fPIC "
12
13S = "${WORKDIR}/Linux-PAM-${PV}"
14
15inherit autotools pkgconfig
16
17
18do_stage() {
19 autotools_stage_all
20}
21
22FILES_${PN}-dbg += "${base_libdir}/security/.debug"
23FILES_${PN}-dbg += "${base_libdir}/security/pam_filter/.debug"
24FILES_${PN} += "${base_libdir}/security/*.so"
25FILES_${PN} += "${base_libdir}/security/pam_filter/upperLOWER"
26FILES_${PN} += "${base_libdir}/security/*.so"
27FILES_${PN}-dev += "${base_libdir}/security/*.la"
28FILES_${PN}-dev += "${base_libdir}/*.la"
29FILES_${PN} += "${base_libdir}/*.so*"