blob: 32373129bea1467ed97dfbeeffbf57c3fab1366e [file] [edit]
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"
DEPENDS = "libpam"
inherit autotools-brokensep features_check
REQUIRED_DISTRO_FEATURES = "pam"
# The shipped Makefile errors out ("You must run './configure' before 'make'")
# when Make.inc/src/config.h are missing, so the "make clean" run by
# autotools_preconfigure fails before configure has run. Skip that clean.
CLEANBROKEN = "1"
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"