summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorNicolas Dechesne <n-dechesne@ti.com>2009-11-20 17:47:18 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-20 17:47:18 +0000
commit2163649b4eb57d8f2aa4ceb931464fd4233ec508 (patch)
tree486d81b5d745badd86a4b2e26ec98ad131f9a6ea /meta/packages
parent5892090c1c5846c8fc384c2070ee24edde5a4340 (diff)
downloadopenembedded-core-2163649b4eb57d8f2aa4ceb931464fd4233ec508.tar.gz
openembedded-core-2163649b4eb57d8f2aa4ceb931464fd4233ec508.tar.bz2
openembedded-core-2163649b4eb57d8f2aa4ceb931464fd4233ec508.tar.xz
openembedded-core-2163649b4eb57d8f2aa4ceb931464fd4233ec508.zip
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/packages')
-rw-r--r--meta/packages/pam/files/disable_crossbinary.patch34
-rw-r--r--meta/packages/pam/pam_1.0.2.bb24
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 000000000..43359b08f
--- /dev/null
+++ b/meta/packages/pam/files/disable_crossbinary.patch
@@ -0,0 +1,34 @@
+padout should be compiled using the native compiler but isn't.
+Disable this piece of documentation for now.
+
+RP
+
+Index: Linux-PAM-1.0.2/doc/specs/Makefile.am
+===================================================================
+--- Linux-PAM-1.0.2.orig/doc/specs/Makefile.am 2008-11-04 21:06:23.000000000 +0000
++++ Linux-PAM-1.0.2/doc/specs/Makefile.am 2008-11-04 21:07:06.000000000 +0000
+@@ -2,21 +2,8 @@
+ # Copyright (c) 2005, 2006 Thorsten Kukuk <kukuk@suse.de>
+ #
+
+-CLEANFILES = draft-morgan-pam-current.txt *~
++CLEANFILES = *~
+
+-EXTRA_DIST = draft-morgan-pam.raw std-agent-id.raw rfc86.0.txt
++EXTRA_DIST = std-agent-id.raw rfc86.0.txt
+
+-draft-morgan-pam-current.txt: padout draft-morgan-pam.raw
+- ./padout < $(srcdir)/draft-morgan-pam.raw > draft-morgan-pam-current.txt
+-
+-AM_YFLAGS = -d
+-
+-BUILT_SOURCES = parse_y.h
+-
+-noinst_PROGRAMS = padout
+-
+-padout_SOURCES = parse_l.l parse_y.y
+-
+-padout_LDADD = @LEXLIB@
+-
+-doc_DATA = draft-morgan-pam-current.txt rfc86.0.txt
++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 000000000..4ef9511c9
--- /dev/null
+++ b/meta/packages/pam/pam_1.0.2.bb
@@ -0,0 +1,24 @@
+HOMEPAGE = "http://www.kernel.org/pub/linux/libs/pam/"
+PR = "r7"
+
+SRC_URI = "http://www.kernel.org/pub/linux/libs/pam/library/Linux-PAM-1.0.2.tar.bz2 \
+ file://disable_crossbinary.patch;patch=1 "
+
+EXTRA_OECONF = "--with-db-uniquename=_pam \
+ --includedir=${includedir}/security \
+ --libdir=/lib"
+DEPENDS = "bison flex"
+CFLAGS_append = " -fPIC "
+
+S = "${WORKDIR}/Linux-PAM-${PV}"
+
+inherit autotools_stage pkgconfig
+
+FILES_${PN}-dbg += "${base_libdir}/security/.debug"
+FILES_${PN}-dbg += "${base_libdir}/security/pam_filter/.debug"
+FILES_${PN} += "${base_libdir}/security/*.so"
+FILES_${PN} += "${base_libdir}/security/pam_filter/upperLOWER"
+FILES_${PN} += "${base_libdir}/security/*.so"
+FILES_${PN}-dev += "${base_libdir}/security/*.la"
+FILES_${PN}-dev += "${base_libdir}/*.la"
+FILES_${PN} += "${base_libdir}/*.so*"