From 59df5a4b2dd2696f34c074d11b15ed18cc6bea65 Mon Sep 17 00:00:00 2001 From: Kevin Tian Date: Wed, 7 Jul 2010 15:17:12 +0800 Subject: pam: upgrade to 1.1.1 [Patches] KEEP _disable_crossbinary.patch_ [Recipe] fix SRC_URI and EXTRA_OECONF indention Signed-off-by: Kevin Tian --- meta/packages/pam/files/disable_crossbinary.patch | 34 ---------------------- .../pam/pam-1.1.1/disable_crossbinary.patch | 34 ++++++++++++++++++++++ meta/packages/pam/pam_1.0.2.bb | 28 ------------------ meta/packages/pam/pam_1.1.1.bb | 28 ++++++++++++++++++ 4 files changed, 62 insertions(+), 62 deletions(-) delete mode 100644 meta/packages/pam/files/disable_crossbinary.patch create mode 100644 meta/packages/pam/pam-1.1.1/disable_crossbinary.patch delete mode 100644 meta/packages/pam/pam_1.0.2.bb create mode 100644 meta/packages/pam/pam_1.1.1.bb diff --git a/meta/packages/pam/files/disable_crossbinary.patch b/meta/packages/pam/files/disable_crossbinary.patch deleted file mode 100644 index 43359b08f..000000000 --- a/meta/packages/pam/files/disable_crossbinary.patch +++ /dev/null @@ -1,34 +0,0 @@ -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/packages/pam/pam-1.1.1/disable_crossbinary.patch b/meta/packages/pam/pam-1.1.1/disable_crossbinary.patch new file mode 100644 index 000000000..43359b08f --- /dev/null +++ b/meta/packages/pam/pam-1.1.1/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/packages/pam/pam_1.0.2.bb b/meta/packages/pam/pam_1.0.2.bb deleted file mode 100644 index 9ae941606..000000000 --- a/meta/packages/pam/pam_1.0.2.bb +++ /dev/null @@ -1,28 +0,0 @@ -DESCRIPTION = "Linux-PAM (Pluggable Authentication Modules for Linux), Basically, it is a flexible mechanism for authenticating users" -HOMEPAGE = "http://www.kernel.org/pub/linux/libs/pam/" -BUGTRACKER = "http://sourceforge.net/projects/pam/support" -# PAM allows dual licensed under GPL and BSD -LICENSE = "GPLv2+ | BSD" -PR = "r8" - -SRC_URI = "http://www.kernel.org/pub/linux/libs/pam/library/Linux-PAM-1.0.2.tar.bz2 \ - file://disable_crossbinary.patch" - -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 gettext - -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*" diff --git a/meta/packages/pam/pam_1.1.1.bb b/meta/packages/pam/pam_1.1.1.bb new file mode 100644 index 000000000..12a95267e --- /dev/null +++ b/meta/packages/pam/pam_1.1.1.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "Linux-PAM (Pluggable Authentication Modules for Linux), Basically, it is a flexible mechanism for authenticating users" +HOMEPAGE = "http://www.kernel.org/pub/linux/libs/pam/" +BUGTRACKER = "http://sourceforge.net/projects/pam/support" +# PAM allows dual licensed under GPL and BSD +LICENSE = "GPLv2+ | BSD" +PR = "r0" + +SRC_URI = "http://www.kernel.org/pub/linux/libs/pam/library/Linux-PAM-${PV}.tar.bz2 \ + file://disable_crossbinary.patch" + +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 gettext + +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