Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | DESCRIPTION = "FreeRADIUS is an Internet authentication daemon, which implements the RADIUS \ |
| 2 | protocol, as defined in RFC 2865 (and others). It allows Network Access \ |
| 3 | Servers (NAS boxes) to perform authentication for dial-up users. There are \ |
| 4 | also RADIUS clients available for Web servers, firewalls, Unix logins, and \ |
| 5 | more. Using RADIUS allows authentication and authorization for a network to \ |
| 6 | be centralized, and minimizes the amount of re-configuration which has to be \ |
| 7 | done when adding or deleting new users." |
| 8 | |
| 9 | SUMMARY = "High-performance and highly configurable RADIUS server" |
| 10 | HOMEPAGE = "http://www.freeradius.org/" |
| 11 | SECTION = "System/Servers" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 12 | LICENSE = "GPL-2.0-only & LGPL-2.0-or-later" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 13 | LIC_FILES_CHKSUM = "file://LICENSE;md5=eb723b61539feef013de476e68b5c50a" |
| 14 | DEPENDS = "openssl-native openssl libidn libtool libpcap libtalloc" |
| 15 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 16 | SRC_URI = "git://github.com/FreeRADIUS/freeradius-server.git;branch=v3.0.x;lfs=0;;protocol=https \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 17 | file://freeradius \ |
| 18 | file://volatiles.58_radiusd \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 19 | file://radiusd.service \ |
| 20 | file://radiusd-volatiles.conf \ |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame] | 21 | file://0001-Add-autogen.sh.patch \ |
| 22 | file://0002-Enable-and-change-user-and-group-of-freeradius-serve.patch \ |
| 23 | file://0003-configure.ac-allow-cross-compilation.patch \ |
| 24 | file://0004-Fix-libtool-detection.patch \ |
| 25 | file://0005-configure.ac-add-option-for-libcap.patch \ |
| 26 | file://0006-Avoid-searching-host-dirs.patch \ |
| 27 | file://0007-rlm_python-add-PY_INC_DIR-in-search-dir.patch \ |
| 28 | file://0008-libtool-do-not-use-jlibtool.patch \ |
| 29 | file://0009-Fix-quoting-for-BUILD_WITH.patch \ |
| 30 | file://0010-fix-error-for-expansion-of-macro-in-thread.h.patch \ |
| 31 | file://0011-rlm_mschap-Use-includedir-instead-of-hardcoding-usr-.patch \ |
| 32 | file://0012-raddb-certs-Makefile-fix-the-existed-certificate-err.patch \ |
| 33 | file://0013-raddb-certs-Makefile-fix-the-occasional-verification.patch \ |
| 34 | file://0014-Workaround-error-with-autoconf-2.7.patch \ |
| 35 | file://0015-bootstrap-check-commands-of-openssl-exist.patch \ |
| 36 | file://0016-version.c-don-t-print-build-flags.patch \ |
| 37 | file://0017-add-python.m4-for-detecting-python-3.10.patch \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 38 | " |
| 39 | |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame] | 40 | raddbdir = "${sysconfdir}/${MLPREFIX}raddb" |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 41 | |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame] | 42 | SRCREV = "d956f683d37ea40e7977cc5907361f3e6988a439" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 43 | |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 44 | UPSTREAM_CHECK_GITTAGREGEX = "release_(?P<pver>\d+(\_\d+)+)" |
| 45 | |
Patrick Williams | 2a25492 | 2023-08-11 09:48:11 -0500 | [diff] [blame] | 46 | CVE_STATUS[CVE-2002-0318] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." |
| 47 | CVE_STATUS[CVE-2011-4966] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." |
Patrick Williams | db4c27e | 2022-08-05 08:10:29 -0500 | [diff] [blame] | 48 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 49 | PARALLEL_MAKE = "" |
| 50 | |
| 51 | S = "${WORKDIR}/git" |
| 52 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 53 | LDFLAGS:append:powerpc = " -latomic" |
| 54 | LDFLAGS:append:mipsarch = " -latomic" |
| 55 | LDFLAGS:append:armv5 = " -latomic" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 56 | |
| 57 | EXTRA_OECONF = " --enable-strict-dependencies \ |
| 58 | --with-docdir=${docdir}/freeradius-${PV} \ |
| 59 | --with-openssl-includes=${STAGING_INCDIR} \ |
| 60 | --with-openssl-libraries=${STAGING_LIBDIR} \ |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 61 | --with-raddbdir=${raddbdir} \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 62 | --without-rlm_ippool \ |
| 63 | --without-rlm_cache_memcached \ |
| 64 | --without-rlm_counter \ |
| 65 | --without-rlm_couchbase \ |
| 66 | --without-rlm_dbm \ |
| 67 | --without-rlm_eap_tnc \ |
| 68 | --without-rlm_eap_ikev2 \ |
| 69 | --without-rlm_opendirectory \ |
| 70 | --without-rlm_redis \ |
| 71 | --without-rlm_rediswho \ |
| 72 | --without-rlm_sql_db2 \ |
| 73 | --without-rlm_sql_firebird \ |
| 74 | --without-rlm_sql_freetds \ |
| 75 | --without-rlm_sql_iodbc \ |
| 76 | --without-rlm_sql_oracle \ |
| 77 | --without-rlm_sql_sybase \ |
| 78 | --without-rlm_sql_mongo \ |
| 79 | --without-rlm_sqlhpwippool \ |
| 80 | --without-rlm_securid \ |
| 81 | --without-rlm_unbound \ |
| 82 | --without-rlm_python \ |
| 83 | ac_cv_path_PERL=${bindir}/perl \ |
| 84 | ax_cv_cc_builtin_choose_expr=no \ |
| 85 | ax_cv_cc_builtin_types_compatible_p=no \ |
| 86 | ax_cv_cc_builtin_bswap64=no \ |
| 87 | ax_cv_cc_bounded_attribute=no \ |
| 88 | " |
| 89 | |
| 90 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \ |
| 91 | pcre libcap \ |
| 92 | openssl rlm-eap-fast rlm-eap-pwd \ |
| 93 | " |
| 94 | |
| 95 | PACKAGECONFIG[krb5] = "--with-rlm_krb5,--without-rlm_krb5,krb5" |
| 96 | PACKAGECONFIG[pam] = "--with-rlm_pam,--without-rlm_pam,libpam" |
| 97 | PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap" |
| 98 | PACKAGECONFIG[ldap] = "--with-rlm_ldap,--without-rlm_ldap,openldap" |
| 99 | PACKAGECONFIG[mysql] = "--with-rlm_sql_mysql,--without-rlm_sql_mysql,mysql5" |
| 100 | PACKAGECONFIG[sqlite] = "--with-rlm_sql_sqlite,--without-rlm_sql_sqlite,sqlite3" |
| 101 | PACKAGECONFIG[unixodbc] = "--with-rlm_sql_unixodbc,--without-rlm_sql_unixodbc,unixodbc" |
| 102 | PACKAGECONFIG[postgresql] = "--with-rlm_sql_postgresql,--without-rlm_sql_postgresql,postgresql" |
| 103 | PACKAGECONFIG[pcre] = "--with-pcre,--without-pcre,libpcre" |
| 104 | PACKAGECONFIG[perl] = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl --with-rlm_perl,--without-rlm_perl,perl-native perl,perl" |
| 105 | PACKAGECONFIG[python3] = "--with-rlm_python3 --with-rlm-python3-bin=${STAGING_BINDIR_NATIVE}/python3-native/python3 --with-rlm-python3-include-dir=${STAGING_INCDIR}/${PYTHON_DIR},--without-rlm_python3,python3-native python3" |
| 106 | PACKAGECONFIG[rest] = "--with-rlm_rest,--without-rlm_rest,curl json-c" |
| 107 | PACKAGECONFIG[ruby] = "--with-rlm_ruby,--without-rlm_ruby,ruby" |
| 108 | PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl" |
| 109 | PACKAGECONFIG[rlm-eap-fast] = "--with-rlm_eap_fast, --without-rlm_eap_fast" |
| 110 | PACKAGECONFIG[rlm-eap-pwd] = "--with-rlm_eap_pwd, --without-rlm_eap_pwd" |
| 111 | |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 112 | inherit useradd autotools-brokensep update-rc.d systemd multilib_script multilib_header |
| 113 | |
| 114 | MULTILIB_SCRIPTS = "${PN}:${sbindir}/checkrad" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 115 | |
| 116 | # This is not a cpan or python based package, but it needs some definitions |
| 117 | # from cpan-base and python3-dir bbclasses for building rlm_perl and rlm_python |
| 118 | # correctly. |
| 119 | inherit cpan-base python3-dir |
| 120 | |
| 121 | # The modules subdirs also need to be processed by autoreconf. Use autogen.sh |
| 122 | # in order to handle the subdirs correctly. |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame] | 123 | do_configure() { |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 124 | ./autogen.sh |
| 125 | |
| 126 | # the configure of rlm_perl needs this to get correct |
| 127 | # mod_cflags and mod_ldflags |
| 128 | if ${@bb.utils.contains('PACKAGECONFIG', 'perl', 'true', 'false', d)}; then |
| 129 | export PERL5LIB="${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}" |
| 130 | fi |
| 131 | |
| 132 | oe_runconf |
| 133 | |
| 134 | # we don't need dhcpclient |
| 135 | sed -i -e 's/dhcpclient.mk//' ${S}/src/modules/proto_dhcp/all.mk |
| 136 | } |
| 137 | |
| 138 | INITSCRIPT_NAME = "radiusd" |
| 139 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 140 | SYSTEMD_SERVICE:${PN} = "radiusd.service" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 141 | |
| 142 | USERADD_PACKAGES = "${PN}" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 143 | USERADD_PARAM:${PN} = "--system --no-create-home --shell /bin/false --user-group radiusd" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 144 | |
| 145 | do_install() { |
| 146 | rm -rf ${D} |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame] | 147 | install -d ${D}/${sysconfdir}/logrotate.d |
| 148 | install -d ${D}/${sysconfdir}/pam.d |
| 149 | install -d ${D}/${localstatedir}/lib/radiusd |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 150 | |
| 151 | export LD_LIBRARY_PATH=${D}/${libdir} |
| 152 | oe_runmake install R=${D} INSTALLSTRIP="" |
| 153 | |
| 154 | # remove unsupported config files |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 155 | rm -f ${D}/${raddbdir}/experimental.conf |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 156 | |
| 157 | # remove scripts that required Perl(DBI) |
| 158 | rm -rf ${D}/${bindir}/radsqlrelay |
| 159 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 160 | rm -f ${D}/${sbindir}/rc.radiusd |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 161 | rm -rf ${D}/${localstatedir}/run/ |
| 162 | rm -rf ${D}/${localstatedir}/log/ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 163 | |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 164 | chown -R radiusd:radiusd ${D}/${raddbdir} |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 165 | chown -R radiusd:radiusd ${D}/${localstatedir}/lib/radiusd |
| 166 | |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame] | 167 | # For sysvinit |
| 168 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then |
| 169 | install -d ${D}${sysconfdir}/init.d |
| 170 | install -d ${D}${sysconfdir}/default/volatiles |
| 171 | install -m 0755 ${WORKDIR}/freeradius ${D}/etc/init.d/radiusd |
| 172 | install -m 0644 ${WORKDIR}/volatiles.58_radiusd ${D}${sysconfdir}/default/volatiles/58_radiusd |
| 173 | fi |
| 174 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 175 | # For systemd |
| 176 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
| 177 | install -d ${D}${systemd_unitdir}/system |
| 178 | install -m 0644 ${WORKDIR}/radiusd.service ${D}${systemd_unitdir}/system |
| 179 | sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \ |
| 180 | -e 's,@SBINDIR@,${sbindir},g' \ |
| 181 | -e 's,@STATEDIR@,${localstatedir},g' \ |
| 182 | -e 's,@SYSCONFDIR@,${sysconfdir},g' \ |
| 183 | ${D}${systemd_unitdir}/system/radiusd.service |
| 184 | |
| 185 | install -d ${D}${sysconfdir}/tmpfiles.d/ |
| 186 | install -m 0644 ${WORKDIR}/radiusd-volatiles.conf ${D}${sysconfdir}/tmpfiles.d/radiusd.conf |
| 187 | fi |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame] | 188 | |
| 189 | oe_multilib_header freeradius/autoconf.h |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 190 | oe_multilib_header freeradius/missing.h |
| 191 | oe_multilib_header freeradius/radpaths.h |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 192 | } |
| 193 | |
| 194 | # This is only needed when we install/update on a running target. |
| 195 | # |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 196 | pkg_postinst:${PN} () { |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 197 | if [ -z "$D" ]; then |
| 198 | if command -v systemd-tmpfiles >/dev/null; then |
| 199 | # create /var/log/radius, /var/run/radiusd |
| 200 | systemd-tmpfiles --create ${sysconfdir}/tmpfiles.d/radiusd.conf |
| 201 | elif [ -e ${sysconfdir}/init.d/populate-volatile.sh ]; then |
| 202 | ${sysconfdir}/init.d/populate-volatile.sh update |
| 203 | fi |
| 204 | |
| 205 | # Fix ownership for /etc/raddb/*, /var/lib/radiusd |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 206 | chown -R radiusd:radiusd ${raddbdir} |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 207 | chown -R radiusd:radiusd ${localstatedir}/lib/radiusd |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 208 | |
| 209 | # for radiusd.service with multilib |
| 210 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
| 211 | install -d ${sysconfdir}/sysconfig |
| 212 | echo "MLPREFIX=${MLPREFIX}" > ${sysconfdir}/sysconfig/radiusd |
| 213 | fi |
| 214 | else |
| 215 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
| 216 | install -d $D${sysconfdir}/sysconfig |
| 217 | echo "MLPREFIX=${MLPREFIX}" > $D${sysconfdir}/sysconfig/radiusd |
| 218 | fi |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 219 | fi |
| 220 | } |
| 221 | |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 222 | pkg_postrm:${PN} () { |
| 223 | # only try to remove ${sysconfdir}/sysconfig/radiusd for systemd |
| 224 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'false', 'true', d)}; then |
| 225 | exit 0 |
| 226 | fi |
| 227 | |
| 228 | if [ -d ${sysconfdir}/raddb ]; then |
| 229 | exit 0 |
| 230 | fi |
| 231 | for variant in ${MULTILIB_GLOBAL_VARIANTS}; do |
| 232 | if [ -d ${sysconfdir}/${variant}-raddb ]; then |
| 233 | exit 0 |
| 234 | fi |
| 235 | done |
| 236 | |
| 237 | rm -f ${sysconfdir}/sysconfig/radiusd |
| 238 | rmdir --ignore-fail-on-non-empty ${sysconfdir}/sysconfig |
| 239 | } |
| 240 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 241 | # We really need the symlink :( |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 242 | INSANE_SKIP:${PN} = "dev-so" |
| 243 | INSANE_SKIP:${PN}-krb5 = "dev-so" |
| 244 | INSANE_SKIP:${PN}-ldap = "dev-so" |
| 245 | INSANE_SKIP:${PN}-mysql = "dev-so" |
| 246 | INSANE_SKIP:${PN}-perl = "dev-so" |
| 247 | INSANE_SKIP:${PN}-postgresql = "dev-so" |
| 248 | INSANE_SKIP:${PN}-python = "dev-so" |
| 249 | INSANE_SKIP:${PN}-unixodbc = "dev-so" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 250 | |
| 251 | PACKAGES =+ "${PN}-utils ${PN}-ldap ${PN}-krb5 ${PN}-perl \ |
| 252 | ${PN}-python ${PN}-mysql ${PN}-postgresql ${PN}-unixodbc" |
| 253 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 254 | FILES:${PN}-utils = "${bindir}/*" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 255 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 256 | FILES:${PN}-ldap = "${libdir}/rlm_ldap.so* \ |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 257 | ${raddbdir}/mods-available/ldap \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 258 | " |
| 259 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 260 | FILES:${PN}-krb5 = "${libdir}/rlm_krb5.so* \ |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 261 | ${raddbdir}/mods-available/krb5 \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 262 | " |
| 263 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 264 | FILES:${PN}-perl = "${libdir}/rlm_perl.so* \ |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 265 | ${raddbdir}/mods-config/perl \ |
| 266 | ${raddbdir}/mods-available/perl \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 267 | " |
| 268 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 269 | FILES:${PN}-python = "${libdir}/rlm_python3.so* \ |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 270 | ${raddbdir}/mods-config/python3 \ |
| 271 | ${raddbdir}/mods-available/python3 \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 272 | " |
| 273 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 274 | FILES:${PN}-mysql = "${libdir}/rlm_sql_mysql.so* \ |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 275 | ${raddbdir}/mods-config/sql/*/mysql \ |
| 276 | ${raddbdir}/mods-available/sql \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 277 | " |
| 278 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 279 | FILES:${PN}-postgresql = "${libdir}/rlm_sql_postgresql.so* \ |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 280 | ${raddbdir}/mods-config/sql/*/postgresql \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 281 | " |
| 282 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 283 | FILES:${PN}-unixodbc = "${libdir}/rlm_sql_unixodbc.so*" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 284 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 285 | FILES:${PN} =+ "${libdir}/rlm_*.so* ${libdir}/proto_*so*" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 286 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 287 | RDEPENDS:${PN} += "perl" |
| 288 | RDEPENDS:${PN}-utils = "${PN} perl" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 289 | |
| 290 | CLEANBROKEN = "1" |