diff options
| author | Nicolas Dechesne <n-dechesne@ti.com> | 2009-11-20 17:47:18 +0000 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-20 17:49:17 +0000 |
| commit | c7edcc03169bc9b8a40afe645b3bca9956eb3682 (patch) | |
| tree | 5921ad464dc9e108006e46dcfe30cee818235f70 /meta | |
| parent | 6d80967bcfedcb3852fbf3acaf6eb259ab3e108f (diff) | |
| download | poky-c7edcc03169bc9b8a40afe645b3bca9956eb3682.tar.gz | |
sato: move pam from meta-moblin to meta
pam recipe is required to build a sato image, and it was moved in the
meta-moblin collection by mistake, and sato build was broken.
pam is a dependency of policykit which is a dependency of networkmanager.
Signed-off-by: Nicolas Dechesne <n-dechesne@ti.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/packages/pam/files/disable_crossbinary.patch | 34 | ||||
| -rw-r--r-- | meta/packages/pam/pam_1.0.2.bb | 24 |
2 files changed, 58 insertions, 0 deletions
diff --git a/meta/packages/pam/files/disable_crossbinary.patch b/meta/packages/pam/files/disable_crossbinary.patch new file mode 100644 index 0000000000..43359b08fe --- /dev/null +++ b/meta/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/packages/pam/pam_1.0.2.bb b/meta/packages/pam/pam_1.0.2.bb new file mode 100644 index 0000000000..4ef9511c95 --- /dev/null +++ b/meta/packages/pam/pam_1.0.2.bb | |||
| @@ -0,0 +1,24 @@ | |||
| 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_stage pkgconfig | ||
| 16 | |||
| 17 | FILES_${PN}-dbg += "${base_libdir}/security/.debug" | ||
| 18 | FILES_${PN}-dbg += "${base_libdir}/security/pam_filter/.debug" | ||
| 19 | FILES_${PN} += "${base_libdir}/security/*.so" | ||
| 20 | FILES_${PN} += "${base_libdir}/security/pam_filter/upperLOWER" | ||
| 21 | FILES_${PN} += "${base_libdir}/security/*.so" | ||
| 22 | FILES_${PN}-dev += "${base_libdir}/security/*.la" | ||
| 23 | FILES_${PN}-dev += "${base_libdir}/*.la" | ||
| 24 | FILES_${PN} += "${base_libdir}/*.so*" | ||
