The RADIUS authentication PAM module allows any PAM-capable machine to
become a RADIUS client for authentication and accounting requests.

Signed-off-by: Yi Zhao <[email protected]>
---
 .../recipes-extended/pam/pam-radius_3.0.0.bb  | 30 +++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 meta-oe/recipes-extended/pam/pam-radius_3.0.0.bb

diff --git a/meta-oe/recipes-extended/pam/pam-radius_3.0.0.bb 
b/meta-oe/recipes-extended/pam/pam-radius_3.0.0.bb
new file mode 100644
index 000000000..50a540e46
--- /dev/null
+++ b/meta-oe/recipes-extended/pam/pam-radius_3.0.0.bb
@@ -0,0 +1,30 @@
+SUMMARY = "PAM module for RADIUS authentication"
+DESCRIPTION = "This allows any PAM-capable machine to become a RADIUS client 
for \
+authentication and accounting requests. You will need a RADIUS server to 
perform \
+the actual authentication."
+HOMEPAGE = "http://freeradius.org/pam_radius_auth/";
+
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=cbbd794e2a0a289b9dfcc9f513d1996e"
+
+SRC_URI = 
"git://github.com/FreeRADIUS/pam_radius.git;protocol=https;branch=master"
+SRCREV="b6442c3e0147f1019990520483fa3a30e4ccf059"
+
+S = "${WORKDIR}/git"
+
+DEPENDS = "libpam"
+
+inherit autotools-brokensep features_check
+REQUIRED_DISTRO_FEATURES = "pam"
+
+EXTRA_OECONF = "--disable-developer"
+
+do_install() {
+    install -d ${D}${sysconfdir}
+    install -m 644 ${S}/pam_radius_auth.conf ${D}${sysconfdir}
+    install -d ${D}${base_libdir}/security
+    install -m 644 ${S}/pam_radius_auth.so ${D}${base_libdir}/security
+}
+
+FILES:${PN} += "${base_libdir}/security/*.so"
+FILES:${PN}-dbg += "${base_libdir}/security/.debug"
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#114205): 
https://lists.openembedded.org/g/openembedded-devel/message/114205
Mute This Topic: https://lists.openembedded.org/mt/109938129/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to