From 70203a07239213d60165ba9b2d3e4386c99a510c Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 2 Dec 2008 14:30:31 +0000 Subject: Move pam, packagekit, monit and gnet to meta-moblin --- .../packages/pam/files/disable_crossbinary.patch | 34 ++++++++++++++++++++++ meta-moblin/packages/pam/pam_1.0.2.bb | 29 ++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 meta-moblin/packages/pam/files/disable_crossbinary.patch create mode 100644 meta-moblin/packages/pam/pam_1.0.2.bb (limited to 'meta-moblin/packages/pam') 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 000000000..43359b08f --- /dev/null +++ b/meta-moblin/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 + # + +-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-moblin/packages/pam/pam_1.0.2.bb b/meta-moblin/packages/pam/pam_1.0.2.bb new file mode 100644 index 000000000..2a91414d7 --- /dev/null +++ b/meta-moblin/packages/pam/pam_1.0.2.bb @@ -0,0 +1,29 @@ +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 pkgconfig + + +do_stage() { + autotools_stage_all +} + +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*" -- cgit v1.2.3