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 | db4c27e | 2022-08-05 08:10:29 -0500 | [diff] [blame] | 46 | CVE_CHECK_IGNORE = "\ |
| 47 | CVE-2002-0318 \ |
| 48 | CVE-2011-4966 \ |
| 49 | " |
| 50 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 51 | PARALLEL_MAKE = "" |
| 52 | |
| 53 | S = "${WORKDIR}/git" |
| 54 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 55 | LDFLAGS:append:powerpc = " -latomic" |
| 56 | LDFLAGS:append:mipsarch = " -latomic" |
| 57 | LDFLAGS:append:armv5 = " -latomic" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 58 | |
| 59 | EXTRA_OECONF = " --enable-strict-dependencies \ |
| 60 | --with-docdir=${docdir}/freeradius-${PV} \ |
| 61 | --with-openssl-includes=${STAGING_INCDIR} \ |
| 62 | --with-openssl-libraries=${STAGING_LIBDIR} \ |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 63 | --with-raddbdir=${raddbdir} \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 64 | --without-rlm_ippool \ |
| 65 | --without-rlm_cache_memcached \ |
| 66 | --without-rlm_counter \ |
| 67 | --without-rlm_couchbase \ |
| 68 | --without-rlm_dbm \ |
| 69 | --without-rlm_eap_tnc \ |
| 70 | --without-rlm_eap_ikev2 \ |
| 71 | --without-rlm_opendirectory \ |
| 72 | --without-rlm_redis \ |
| 73 | --without-rlm_rediswho \ |
| 74 | --without-rlm_sql_db2 \ |
| 75 | --without-rlm_sql_firebird \ |
| 76 | --without-rlm_sql_freetds \ |
| 77 | --without-rlm_sql_iodbc \ |
| 78 | --without-rlm_sql_oracle \ |
| 79 | --without-rlm_sql_sybase \ |
| 80 | --without-rlm_sql_mongo \ |
| 81 | --without-rlm_sqlhpwippool \ |
| 82 | --without-rlm_securid \ |
| 83 | --without-rlm_unbound \ |
| 84 | --without-rlm_python \ |
| 85 | ac_cv_path_PERL=${bindir}/perl \ |
| 86 | ax_cv_cc_builtin_choose_expr=no \ |
| 87 | ax_cv_cc_builtin_types_compatible_p=no \ |
| 88 | ax_cv_cc_builtin_bswap64=no \ |
| 89 | ax_cv_cc_bounded_attribute=no \ |
| 90 | " |
| 91 | |
| 92 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \ |
| 93 | pcre libcap \ |
| 94 | openssl rlm-eap-fast rlm-eap-pwd \ |
| 95 | " |
| 96 | |
| 97 | PACKAGECONFIG[krb5] = "--with-rlm_krb5,--without-rlm_krb5,krb5" |
| 98 | PACKAGECONFIG[pam] = "--with-rlm_pam,--without-rlm_pam,libpam" |
| 99 | PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap" |
| 100 | PACKAGECONFIG[ldap] = "--with-rlm_ldap,--without-rlm_ldap,openldap" |
| 101 | PACKAGECONFIG[mysql] = "--with-rlm_sql_mysql,--without-rlm_sql_mysql,mysql5" |
| 102 | PACKAGECONFIG[sqlite] = "--with-rlm_sql_sqlite,--without-rlm_sql_sqlite,sqlite3" |
| 103 | PACKAGECONFIG[unixodbc] = "--with-rlm_sql_unixodbc,--without-rlm_sql_unixodbc,unixodbc" |
| 104 | PACKAGECONFIG[postgresql] = "--with-rlm_sql_postgresql,--without-rlm_sql_postgresql,postgresql" |
| 105 | PACKAGECONFIG[pcre] = "--with-pcre,--without-pcre,libpcre" |
| 106 | PACKAGECONFIG[perl] = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl --with-rlm_perl,--without-rlm_perl,perl-native perl,perl" |
| 107 | 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" |
| 108 | PACKAGECONFIG[rest] = "--with-rlm_rest,--without-rlm_rest,curl json-c" |
| 109 | PACKAGECONFIG[ruby] = "--with-rlm_ruby,--without-rlm_ruby,ruby" |
| 110 | PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl" |
| 111 | PACKAGECONFIG[rlm-eap-fast] = "--with-rlm_eap_fast, --without-rlm_eap_fast" |
| 112 | PACKAGECONFIG[rlm-eap-pwd] = "--with-rlm_eap_pwd, --without-rlm_eap_pwd" |
| 113 | |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 114 | inherit useradd autotools-brokensep update-rc.d systemd multilib_script multilib_header |
| 115 | |
| 116 | MULTILIB_SCRIPTS = "${PN}:${sbindir}/checkrad" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 117 | |
| 118 | # This is not a cpan or python based package, but it needs some definitions |
| 119 | # from cpan-base and python3-dir bbclasses for building rlm_perl and rlm_python |
| 120 | # correctly. |
| 121 | inherit cpan-base python3-dir |
| 122 | |
| 123 | # The modules subdirs also need to be processed by autoreconf. Use autogen.sh |
| 124 | # in order to handle the subdirs correctly. |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame] | 125 | do_configure() { |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 126 | ./autogen.sh |
| 127 | |
| 128 | # the configure of rlm_perl needs this to get correct |
| 129 | # mod_cflags and mod_ldflags |
| 130 | if ${@bb.utils.contains('PACKAGECONFIG', 'perl', 'true', 'false', d)}; then |
| 131 | export PERL5LIB="${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}" |
| 132 | fi |
| 133 | |
| 134 | oe_runconf |
| 135 | |
| 136 | # we don't need dhcpclient |
| 137 | sed -i -e 's/dhcpclient.mk//' ${S}/src/modules/proto_dhcp/all.mk |
| 138 | } |
| 139 | |
| 140 | INITSCRIPT_NAME = "radiusd" |
| 141 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 142 | SYSTEMD_SERVICE:${PN} = "radiusd.service" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 143 | |
| 144 | USERADD_PACKAGES = "${PN}" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 145 | 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] | 146 | |
| 147 | do_install() { |
| 148 | rm -rf ${D} |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame] | 149 | install -d ${D}/${sysconfdir}/logrotate.d |
| 150 | install -d ${D}/${sysconfdir}/pam.d |
| 151 | install -d ${D}/${localstatedir}/lib/radiusd |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 152 | |
| 153 | export LD_LIBRARY_PATH=${D}/${libdir} |
| 154 | oe_runmake install R=${D} INSTALLSTRIP="" |
| 155 | |
| 156 | # remove unsupported config files |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 157 | rm -f ${D}/${raddbdir}/experimental.conf |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 158 | |
| 159 | # remove scripts that required Perl(DBI) |
| 160 | rm -rf ${D}/${bindir}/radsqlrelay |
| 161 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 162 | rm -f ${D}/${sbindir}/rc.radiusd |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 163 | rm -rf ${D}/${localstatedir}/run/ |
| 164 | rm -rf ${D}/${localstatedir}/log/ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 165 | |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 166 | chown -R radiusd:radiusd ${D}/${raddbdir} |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 167 | chown -R radiusd:radiusd ${D}/${localstatedir}/lib/radiusd |
| 168 | |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame] | 169 | # For sysvinit |
| 170 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then |
| 171 | install -d ${D}${sysconfdir}/init.d |
| 172 | install -d ${D}${sysconfdir}/default/volatiles |
| 173 | install -m 0755 ${WORKDIR}/freeradius ${D}/etc/init.d/radiusd |
| 174 | install -m 0644 ${WORKDIR}/volatiles.58_radiusd ${D}${sysconfdir}/default/volatiles/58_radiusd |
| 175 | fi |
| 176 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 177 | # For systemd |
| 178 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
| 179 | install -d ${D}${systemd_unitdir}/system |
| 180 | install -m 0644 ${WORKDIR}/radiusd.service ${D}${systemd_unitdir}/system |
| 181 | sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \ |
| 182 | -e 's,@SBINDIR@,${sbindir},g' \ |
| 183 | -e 's,@STATEDIR@,${localstatedir},g' \ |
| 184 | -e 's,@SYSCONFDIR@,${sysconfdir},g' \ |
| 185 | ${D}${systemd_unitdir}/system/radiusd.service |
| 186 | |
| 187 | install -d ${D}${sysconfdir}/tmpfiles.d/ |
| 188 | install -m 0644 ${WORKDIR}/radiusd-volatiles.conf ${D}${sysconfdir}/tmpfiles.d/radiusd.conf |
| 189 | fi |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame] | 190 | |
| 191 | oe_multilib_header freeradius/autoconf.h |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 192 | oe_multilib_header freeradius/missing.h |
| 193 | oe_multilib_header freeradius/radpaths.h |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 194 | } |
| 195 | |
| 196 | # This is only needed when we install/update on a running target. |
| 197 | # |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 198 | pkg_postinst:${PN} () { |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 199 | if [ -z "$D" ]; then |
| 200 | if command -v systemd-tmpfiles >/dev/null; then |
| 201 | # create /var/log/radius, /var/run/radiusd |
| 202 | systemd-tmpfiles --create ${sysconfdir}/tmpfiles.d/radiusd.conf |
| 203 | elif [ -e ${sysconfdir}/init.d/populate-volatile.sh ]; then |
| 204 | ${sysconfdir}/init.d/populate-volatile.sh update |
| 205 | fi |
| 206 | |
| 207 | # Fix ownership for /etc/raddb/*, /var/lib/radiusd |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 208 | chown -R radiusd:radiusd ${raddbdir} |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 209 | chown -R radiusd:radiusd ${localstatedir}/lib/radiusd |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 210 | |
| 211 | # for radiusd.service with multilib |
| 212 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
| 213 | install -d ${sysconfdir}/sysconfig |
| 214 | echo "MLPREFIX=${MLPREFIX}" > ${sysconfdir}/sysconfig/radiusd |
| 215 | fi |
| 216 | else |
| 217 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
| 218 | install -d $D${sysconfdir}/sysconfig |
| 219 | echo "MLPREFIX=${MLPREFIX}" > $D${sysconfdir}/sysconfig/radiusd |
| 220 | fi |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 221 | fi |
| 222 | } |
| 223 | |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 224 | pkg_postrm:${PN} () { |
| 225 | # only try to remove ${sysconfdir}/sysconfig/radiusd for systemd |
| 226 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'false', 'true', d)}; then |
| 227 | exit 0 |
| 228 | fi |
| 229 | |
| 230 | if [ -d ${sysconfdir}/raddb ]; then |
| 231 | exit 0 |
| 232 | fi |
| 233 | for variant in ${MULTILIB_GLOBAL_VARIANTS}; do |
| 234 | if [ -d ${sysconfdir}/${variant}-raddb ]; then |
| 235 | exit 0 |
| 236 | fi |
| 237 | done |
| 238 | |
| 239 | rm -f ${sysconfdir}/sysconfig/radiusd |
| 240 | rmdir --ignore-fail-on-non-empty ${sysconfdir}/sysconfig |
| 241 | } |
| 242 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 243 | # We really need the symlink :( |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 244 | INSANE_SKIP:${PN} = "dev-so" |
| 245 | INSANE_SKIP:${PN}-krb5 = "dev-so" |
| 246 | INSANE_SKIP:${PN}-ldap = "dev-so" |
| 247 | INSANE_SKIP:${PN}-mysql = "dev-so" |
| 248 | INSANE_SKIP:${PN}-perl = "dev-so" |
| 249 | INSANE_SKIP:${PN}-postgresql = "dev-so" |
| 250 | INSANE_SKIP:${PN}-python = "dev-so" |
| 251 | INSANE_SKIP:${PN}-unixodbc = "dev-so" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 252 | |
| 253 | PACKAGES =+ "${PN}-utils ${PN}-ldap ${PN}-krb5 ${PN}-perl \ |
| 254 | ${PN}-python ${PN}-mysql ${PN}-postgresql ${PN}-unixodbc" |
| 255 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 256 | FILES:${PN}-utils = "${bindir}/*" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 257 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 258 | FILES:${PN}-ldap = "${libdir}/rlm_ldap.so* \ |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 259 | ${raddbdir}/mods-available/ldap \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 260 | " |
| 261 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 262 | FILES:${PN}-krb5 = "${libdir}/rlm_krb5.so* \ |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 263 | ${raddbdir}/mods-available/krb5 \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 264 | " |
| 265 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 266 | FILES:${PN}-perl = "${libdir}/rlm_perl.so* \ |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 267 | ${raddbdir}/mods-config/perl \ |
| 268 | ${raddbdir}/mods-available/perl \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 269 | " |
| 270 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 271 | FILES:${PN}-python = "${libdir}/rlm_python3.so* \ |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 272 | ${raddbdir}/mods-config/python3 \ |
| 273 | ${raddbdir}/mods-available/python3 \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 274 | " |
| 275 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 276 | FILES:${PN}-mysql = "${libdir}/rlm_sql_mysql.so* \ |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 277 | ${raddbdir}/mods-config/sql/*/mysql \ |
| 278 | ${raddbdir}/mods-available/sql \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 279 | " |
| 280 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 281 | FILES:${PN}-postgresql = "${libdir}/rlm_sql_postgresql.so* \ |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 282 | ${raddbdir}/mods-config/sql/*/postgresql \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 283 | " |
| 284 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 285 | FILES:${PN}-unixodbc = "${libdir}/rlm_sql_unixodbc.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 | FILES:${PN} =+ "${libdir}/rlm_*.so* ${libdir}/proto_*so*" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 288 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 289 | RDEPENDS:${PN} += "perl" |
| 290 | RDEPENDS:${PN}-utils = "${PN} perl" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 291 | |
| 292 | CLEANBROKEN = "1" |