<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: Adding radius client with PAM</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Adding-radius-client-with-PAM/m-p/1879018#M224421</link>
    <description>&lt;P&gt;Thanks &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206761"&gt;@Chavira&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Solution:&lt;/P&gt;&lt;P&gt;To add pam_radius_auth.so to the image follow these steps:&lt;/P&gt;&lt;P&gt;In you custom layer add the recipe recipes-security/pam-radius-auth.bb&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# meta-custom/recipes-security/pam-radius-auth/pam-radius-auth.bb

DESCRIPTION = "PAM RADIUS authentication module"
HOMEPAGE = "https://github.com/FreeRADIUS/pam_radius"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

SRC_URI = "https://github.com/FreeRADIUS/pam_radius/archive/refs/tags/release_2_0_0.tar.gz"

SRC_URI[sha256sum] = "798dc358e7a143163e103bd38c4101645b2e93d82aa0ec63d32c0cb929d9c65c"

S = "${WORKDIR}/pam_radius-release_2_0_0"

# Specify any dependencies required for building
DEPENDS = "libpam openssl"

do_configure() {
    if [ -e ${S}/autogen.sh ]; then
        ${S}/autogen.sh
    fi
    if [ ! -e ${S}/configure ]; then
        autoreconf -vif
    fi
    ${S}/configure --prefix=${prefix} --host=x86
}

do_compile() {
    oe_runmake
}

do_install() {
    install -d ${D}${base_libdir}/security
    install -m 0755 pam_radius_auth.so ${D}${base_libdir}/security/
}


FILES_${PN} = "${base_libdir}/security/pam_radius_auth.so"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add the recipe to your image&amp;nbsp; in conf/local.conf.&lt;/P&gt;&lt;P&gt;IMAGE_INSTALL:append = " pam-radius-auth"&lt;/P&gt;&lt;P&gt;This will add pam_radius_auth.so in:&lt;/P&gt;&lt;P&gt;/lib/security/pam_radius_auth.so&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 31 May 2024 14:07:51 GMT</pubDate>
    <dc:creator>Iribe18</dc:creator>
    <dc:date>2024-05-31T14:07:51Z</dc:date>
    <item>
      <title>Adding radius client with PAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-radius-client-with-PAM/m-p/1864397#M223631</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I add&amp;nbsp;pam_radius_auth&amp;nbsp;module with&amp;nbsp; &lt;A href="https://github.com/Freescale/fsl-community-bsp-platform/tree/rocko&amp;nbsp;" target="_self"&gt;Yocto rocko&lt;/A&gt;&amp;nbsp;?&lt;/P&gt;&lt;P&gt;In my local.conf I added:&lt;/P&gt;&lt;P&gt;DISTRO_FEATURES_append = " pam"&lt;/P&gt;&lt;P&gt;IMAGE_INSTALL += " \&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;freeradius \&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;freeradius-utils \&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;cracklib \&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;pam-plugin-cracklib \&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;But I still can't find a recipe to add&amp;nbsp;&lt;SPAN&gt;pam_radius_auth.so in my image.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 11:36:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-radius-client-with-PAM/m-p/1864397#M223631</guid>
      <dc:creator>Iribe18</dc:creator>
      <dc:date>2024-05-13T11:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adding radius client with PAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-radius-client-with-PAM/m-p/1864695#M223659</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/233462"&gt;@Iribe18&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;Please check the documentation above:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-1616" target="_blank"&gt;Freescale Yocto Project main page&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-100203" target="_blank"&gt;BSP porting guide: from a I.mx6q reference Board to a Custom board (in Yocto project)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-95333" target="_blank"&gt;Task #10 - How to create a custom layer&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://wiki.yoctoproject.org/wiki/PAM_Integration" target="_blank"&gt;https://wiki.yoctoproject.org/wiki/PAM_Integration&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Chavira&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 18:33:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-radius-client-with-PAM/m-p/1864695#M223659</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2024-05-13T18:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Adding radius client with PAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-radius-client-with-PAM/m-p/1879018#M224421</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206761"&gt;@Chavira&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Solution:&lt;/P&gt;&lt;P&gt;To add pam_radius_auth.so to the image follow these steps:&lt;/P&gt;&lt;P&gt;In you custom layer add the recipe recipes-security/pam-radius-auth.bb&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# meta-custom/recipes-security/pam-radius-auth/pam-radius-auth.bb

DESCRIPTION = "PAM RADIUS authentication module"
HOMEPAGE = "https://github.com/FreeRADIUS/pam_radius"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

SRC_URI = "https://github.com/FreeRADIUS/pam_radius/archive/refs/tags/release_2_0_0.tar.gz"

SRC_URI[sha256sum] = "798dc358e7a143163e103bd38c4101645b2e93d82aa0ec63d32c0cb929d9c65c"

S = "${WORKDIR}/pam_radius-release_2_0_0"

# Specify any dependencies required for building
DEPENDS = "libpam openssl"

do_configure() {
    if [ -e ${S}/autogen.sh ]; then
        ${S}/autogen.sh
    fi
    if [ ! -e ${S}/configure ]; then
        autoreconf -vif
    fi
    ${S}/configure --prefix=${prefix} --host=x86
}

do_compile() {
    oe_runmake
}

do_install() {
    install -d ${D}${base_libdir}/security
    install -m 0755 pam_radius_auth.so ${D}${base_libdir}/security/
}


FILES_${PN} = "${base_libdir}/security/pam_radius_auth.so"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add the recipe to your image&amp;nbsp; in conf/local.conf.&lt;/P&gt;&lt;P&gt;IMAGE_INSTALL:append = " pam-radius-auth"&lt;/P&gt;&lt;P&gt;This will add pam_radius_auth.so in:&lt;/P&gt;&lt;P&gt;/lib/security/pam_radius_auth.so&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 14:07:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-radius-client-with-PAM/m-p/1879018#M224421</guid>
      <dc:creator>Iribe18</dc:creator>
      <dc:date>2024-05-31T14:07:51Z</dc:date>
    </item>
  </channel>
</rss>

