diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2024-12-05 20:58:31 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-12-05 06:41:32 -0800 |
| commit | 447753c0fab16f666b1e4d4f0ef7718fad2f3c30 (patch) | |
| tree | dd5edb97c189bc5369fbe420a2d7caffdf34cc94 /meta-oe/recipes-extended | |
| parent | 907a061e9b1d67fb5227494f051f3af6ebe05966 (diff) | |
| download | meta-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')
| -rw-r--r-- | meta-oe/recipes-extended/pam/pam-radius_3.0.0.bb | 30 |
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 @@ | |||
| 1 | SUMMARY = "PAM module for RADIUS authentication" | ||
| 2 | DESCRIPTION = "This allows any PAM-capable machine to become a RADIUS client for \ | ||
| 3 | authentication and accounting requests. You will need a RADIUS server to perform \ | ||
| 4 | the actual authentication." | ||
| 5 | HOMEPAGE = "http://freeradius.org/pam_radius_auth/" | ||
| 6 | |||
| 7 | LICENSE = "GPL-2.0-only" | ||
| 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=cbbd794e2a0a289b9dfcc9f513d1996e" | ||
| 9 | |||
| 10 | SRC_URI = "git://github.com/FreeRADIUS/pam_radius.git;protocol=https;branch=master" | ||
| 11 | SRCREV="b6442c3e0147f1019990520483fa3a30e4ccf059" | ||
| 12 | |||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | |||
| 15 | DEPENDS = "libpam" | ||
| 16 | |||
| 17 | inherit autotools-brokensep features_check | ||
| 18 | REQUIRED_DISTRO_FEATURES = "pam" | ||
| 19 | |||
| 20 | EXTRA_OECONF = "--disable-developer" | ||
| 21 | |||
| 22 | do_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 | |||
| 29 | FILES:${PN} += "${base_libdir}/security/*.so" | ||
| 30 | FILES:${PN}-dbg += "${base_libdir}/security/.debug" | ||
