summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/pam
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2024-12-05 20:58:31 +0800
committerKhem Raj <raj.khem@gmail.com>2024-12-05 06:41:32 -0800
commit447753c0fab16f666b1e4d4f0ef7718fad2f3c30 (patch)
treedd5edb97c189bc5369fbe420a2d7caffdf34cc94 /meta-oe/recipes-extended/pam
parent907a061e9b1d67fb5227494f051f3af6ebe05966 (diff)
downloadmeta-openembedded-447753c0fab16f666b1e4d4f0ef7718fad2f3c30.tar.gz
pam-radius: add recipe
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 <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/pam')
-rw-r--r--meta-oe/recipes-extended/pam/pam-radius_3.0.0.bb30
1 files changed, 30 insertions, 0 deletions
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 0000000000..50a540e460
--- /dev/null
+++ b/meta-oe/recipes-extended/pam/pam-radius_3.0.0.bb
@@ -0,0 +1,30 @@
1SUMMARY = "PAM module for RADIUS authentication"
2DESCRIPTION = "This allows any PAM-capable machine to become a RADIUS client for \
3authentication and accounting requests. You will need a RADIUS server to perform \
4the actual authentication."
5HOMEPAGE = "http://freeradius.org/pam_radius_auth/"
6
7LICENSE = "GPL-2.0-only"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=cbbd794e2a0a289b9dfcc9f513d1996e"
9
10SRC_URI = "git://github.com/FreeRADIUS/pam_radius.git;protocol=https;branch=master"
11SRCREV="b6442c3e0147f1019990520483fa3a30e4ccf059"
12
13S = "${WORKDIR}/git"
14
15DEPENDS = "libpam"
16
17inherit autotools-brokensep features_check
18REQUIRED_DISTRO_FEATURES = "pam"
19
20EXTRA_OECONF = "--disable-developer"
21
22do_install() {
23 install -d ${D}${sysconfdir}
24 install -m 644 ${S}/pam_radius_auth.conf ${D}${sysconfdir}
25 install -d ${D}${base_libdir}/security
26 install -m 644 ${S}/pam_radius_auth.so ${D}${base_libdir}/security
27}
28
29FILES:${PN} += "${base_libdir}/security/*.so"
30FILES:${PN}-dbg += "${base_libdir}/security/.debug"