From d42f5c19920efc244b65fa269e20b2b127836d39 Mon Sep 17 00:00:00 2001 From: wangmy Date: Thu, 14 Apr 2022 10:32:27 +0800 Subject: pam-plugin-ldapdb: upgrade 1.3 -> 1.3.1 0001-include-stdexcept-for-std-invalid_argument.patch removed since it's included in 1.3.1 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- ...nclude-stdexcept-for-std-invalid_argument.patch | 25 ---------------------- .../pam/pam-plugin-ldapdb_1.3.1.bb | 22 +++++++++++++++++++ .../recipes-extended/pam/pam-plugin-ldapdb_1.3.bb | 24 --------------------- 3 files changed, 22 insertions(+), 49 deletions(-) delete mode 100644 meta-oe/recipes-extended/pam/pam-plugin-ldapdb/0001-include-stdexcept-for-std-invalid_argument.patch create mode 100644 meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.1.bb delete mode 100644 meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.bb diff --git a/meta-oe/recipes-extended/pam/pam-plugin-ldapdb/0001-include-stdexcept-for-std-invalid_argument.patch b/meta-oe/recipes-extended/pam/pam-plugin-ldapdb/0001-include-stdexcept-for-std-invalid_argument.patch deleted file mode 100644 index 0a93411533..0000000000 --- a/meta-oe/recipes-extended/pam/pam-plugin-ldapdb/0001-include-stdexcept-for-std-invalid_argument.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 3e97c9004f4ec58ca3696ee6298f91e6eeb76e04 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Mon, 23 Dec 2019 14:46:25 -0800 -Subject: [PATCH] include for std::invalid_argument - -Upstream-Status: Submitted [https://github.com/rmbreak/pam_ldapdb/pull/11] -Signed-off-by: Khem Raj ---- - pam_ldapdb.cpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/pam_ldapdb.cpp b/pam_ldapdb.cpp -index 9baf1e6..be5d85c 100644 ---- a/pam_ldapdb.cpp -+++ b/pam_ldapdb.cpp -@@ -1,5 +1,6 @@ - #include - #include -+#include - #include - #include - #include --- -2.24.1 - diff --git a/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.1.bb b/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.1.bb new file mode 100644 index 0000000000..d5137f80af --- /dev/null +++ b/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.1.bb @@ -0,0 +1,22 @@ +SUMMARY = "PAM searchless LDAP authentication module" +HOMEPAGE = "https://github.com/rmbreak/pam_ldapdb" +BUGTRACKER = "https://github.com/rmbreak/pam_ldapdb/issues" +SECTION = "libs" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=41ab94182d94be9bb35e2a8b933f1e7d" + +DEPENDS = "libpam openldap" + +inherit features_check +REQUIRED_DISTRO_FEATURES = "pam" + +SRCREV = "3e026863cad1fd45c760ee1bc93ef4f0606cc852" +SRC_URI = "git://github.com/rmbreak/pam_ldapdb;branch=master;protocol=https" + +S = "${WORKDIR}/git" + +do_install () { + oe_runmake install DESTDIR=${D} PAMDIR=${base_libdir}/security +} + +FILES:${PN} += "${base_libdir}/security/pam_ldapdb.so" diff --git a/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.bb b/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.bb deleted file mode 100644 index 6985590068..0000000000 --- a/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.bb +++ /dev/null @@ -1,24 +0,0 @@ -SUMMARY = "PAM searchless LDAP authentication module" -HOMEPAGE = "https://github.com/rmbreak/pam_ldapdb" -BUGTRACKER = "https://github.com/rmbreak/pam_ldapdb/issues" -SECTION = "libs" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=41ab94182d94be9bb35e2a8b933f1e7d" - -DEPENDS = "libpam openldap" - -inherit features_check -REQUIRED_DISTRO_FEATURES = "pam" - -SRCREV = "84d7b260f1ae6857ae36e014c9a5968e8aa1cbe8" -SRC_URI = "git://github.com/rmbreak/pam_ldapdb;branch=master;protocol=https \ - file://0001-include-stdexcept-for-std-invalid_argument.patch \ -" - -S = "${WORKDIR}/git" - -do_install () { - oe_runmake install DESTDIR=${D} PAMDIR=${base_libdir}/security -} - -FILES:${PN} += "${base_libdir}/security/pam_ldapdb.so" -- cgit v1.2.3-54-g00ecf