Lines Matching +full:python3 +full:- +full:sqlite3
3 Servers (NAS boxes) to perform authentication for dial-up users. There are \
6 be centralized, and minimizes the amount of re-configuration which has to be \
9 SUMMARY = "High-performance and highly configurable RADIUS server"
12 LICENSE = "GPL-2.0-only & LGPL-2.0-or-later"
14 DEPENDS = "openssl-native openssl libidn libtool libpcap libtalloc"
16 SRC_URI = "git://github.com/FreeRADIUS/freeradius-server.git;branch=v3.2.x;lfs=0;;protocol=https \
20 file://radiusd-volatiles.conf \
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-acinclude.m4-to-include-required-macros.patch \
46 CVE_STATUS[CVE-2002-0318] = "fixed-version: The CPE in the NVD database doesn't reflect correctly t…
47 CVE_STATUS[CVE-2011-4966] = "fixed-version: The CPE in the NVD database doesn't reflect correctly t…
53 LDFLAGS:append:powerpc = " -latomic"
54 LDFLAGS:append:mipsarch = " -latomic"
55 LDFLAGS:append:armv5 = " -latomic"
57 EXTRA_OECONF = " --enable-strict-dependencies \
58 --with-docdir=${docdir}/freeradius-${PV} \
59 --with-openssl-includes=${STAGING_INCDIR} \
60 --with-openssl-libraries=${STAGING_LIBDIR} \
61 --with-raddbdir=${raddbdir} \
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_cache_redis \
73 --without-rlm_sql_db2 \
74 --without-rlm_sql_firebird \
75 --without-rlm_sql_freetds \
76 --without-rlm_sql_iodbc \
77 --without-rlm_sql_oracle \
78 --without-rlm_sql_sybase \
79 --without-rlm_sql_mongo \
80 --without-rlm_sqlhpwippool \
81 --without-rlm_securid \
82 --without-rlm_unbound \
83 --without-rlm_python \
93 openssl rlm-eap-fast rlm-eap-pwd \
96 PACKAGECONFIG[krb5] = "--with-rlm_krb5,--without-rlm_krb5,krb5"
97 PACKAGECONFIG[pam] = "--with-rlm_pam,--without-rlm_pam,libpam"
98 PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap"
99 PACKAGECONFIG[ldap] = "--with-rlm_ldap,--without-rlm_ldap,openldap"
100 PACKAGECONFIG[mysql] = "--with-rlm_sql_mysql,--without-rlm_sql_mysql,mysql5"
101 PACKAGECONFIG[sqlite] = "--with-rlm_sql_sqlite,--without-rlm_sql_sqlite,sqlite3"
102 PACKAGECONFIG[unixodbc] = "--with-rlm_sql_unixodbc,--without-rlm_sql_unixodbc,unixodbc"
103 PACKAGECONFIG[postgresql] = "--with-rlm_sql_postgresql,--without-rlm_sql_postgresql,postgresql"
104 PACKAGECONFIG[pcre] = "--with-pcre,--without-pcre,libpcre"
105 PACKAGECONFIG[perl] = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl --with-rlm_perl,--with…
106 …python3] = "--with-rlm_python3 --with-rlm-python3-bin=${STAGING_BINDIR_NATIVE}/python3-native/pyth…
107 PACKAGECONFIG[rest] = "--with-rlm_rest,--without-rlm_rest --without-rlm_json,curl json-c"
108 PACKAGECONFIG[ruby] = "--with-rlm_ruby,--without-rlm_ruby,ruby"
109 PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl"
110 PACKAGECONFIG[rlm-eap-fast] = "--with-rlm_eap_fast, --without-rlm_eap_fast"
111 PACKAGECONFIG[rlm-eap-pwd] = "--with-rlm_eap_pwd, --without-rlm_eap_pwd"
113 inherit useradd autotools-brokensep update-rc.d systemd multilib_script multilib_header
118 # from cpan-base and python3-dir bbclasses for building rlm_perl and rlm_python
120 inherit cpan-base python3-dir
136 sed -i -e 's/dhcpclient.mk//' ${S}/src/modules/proto_dhcp/all.mk
144 USERADD_PARAM:${PN} = "--system --no-create-home --shell /bin/false --user-group radiusd"
147 rm -rf ${D}
148 install -d ${D}/${sysconfdir}/logrotate.d
149 install -d ${D}/${sysconfdir}/pam.d
150 install -d ${D}/${localstatedir}/lib/radiusd
156 rm -f ${D}/${raddbdir}/experimental.conf
159 rm -rf ${D}/${bindir}/radsqlrelay
161 rm -f ${D}/${sbindir}/rc.radiusd
162 rm -rf ${D}/${localstatedir}/run/
163 rm -rf ${D}/${localstatedir}/log/
165 chown -R radiusd:radiusd ${D}/${raddbdir}
166 chown -R radiusd:radiusd ${D}/${localstatedir}/lib/radiusd
170 install -d ${D}${sysconfdir}/init.d
171 install -d ${D}${sysconfdir}/default/volatiles
172 install -m 0755 ${UNPACKDIR}/freeradius ${D}/etc/init.d/radiusd
173 … install -m 0644 ${UNPACKDIR}/volatiles.58_radiusd ${D}${sysconfdir}/default/volatiles/58_radiusd
178 install -d ${D}${systemd_unitdir}/system
179 install -m 0644 ${UNPACKDIR}/radiusd.service ${D}${systemd_unitdir}/system
180 sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \
181 -e 's,@SBINDIR@,${sbindir},g' \
182 -e 's,@STATEDIR@,${localstatedir},g' \
183 -e 's,@SYSCONFDIR@,${sysconfdir},g' \
186 install -d ${D}${sysconfdir}/tmpfiles.d/
187 … install -m 0644 ${UNPACKDIR}/radiusd-volatiles.conf ${D}${sysconfdir}/tmpfiles.d/radiusd.conf
198 if [ -z "$D" ]; then
199 if command -v systemd-tmpfiles >/dev/null; then
201 systemd-tmpfiles --create ${sysconfdir}/tmpfiles.d/radiusd.conf
202 elif [ -e ${sysconfdir}/init.d/populate-volatile.sh ]; then
203 ${sysconfdir}/init.d/populate-volatile.sh update
207 chown -R radiusd:radiusd ${raddbdir}
208 chown -R radiusd:radiusd ${localstatedir}/lib/radiusd
212 install -d ${sysconfdir}/sysconfig
217 install -d $D${sysconfdir}/sysconfig
229 if [ -d ${sysconfdir}/raddb ]; then
233 if [ -d ${sysconfdir}/${variant}-raddb ]; then
238 rm -f ${sysconfdir}/sysconfig/radiusd
239 rmdir --ignore-fail-on-non-empty ${sysconfdir}/sysconfig
243 INSANE_SKIP:${PN} = "dev-so"
244 INSANE_SKIP:${PN}-krb5 = "dev-so"
245 INSANE_SKIP:${PN}-ldap = "dev-so"
246 INSANE_SKIP:${PN}-mysql = "dev-so"
247 INSANE_SKIP:${PN}-perl = "dev-so"
248 INSANE_SKIP:${PN}-postgresql = "dev-so"
249 INSANE_SKIP:${PN}-python = "dev-so"
250 INSANE_SKIP:${PN}-unixodbc = "dev-so"
252 PACKAGES =+ "${PN}-utils ${PN}-ldap ${PN}-krb5 ${PN}-perl \
253 ${PN}-python ${PN}-mysql ${PN}-postgresql ${PN}-unixodbc"
255 FILES:${PN}-utils = "${bindir}/*"
257 FILES:${PN}-ldap = "${libdir}/rlm_ldap.so* \
258 ${raddbdir}/mods-available/ldap \
261 FILES:${PN}-krb5 = "${libdir}/rlm_krb5.so* \
262 ${raddbdir}/mods-available/krb5 \
265 FILES:${PN}-perl = "${libdir}/rlm_perl.so* \
266 ${raddbdir}/mods-config/perl \
267 ${raddbdir}/mods-available/perl \
270 FILES:${PN}-python = "${libdir}/rlm_python3.so* \
271 ${raddbdir}/mods-config/python3 \
272 ${raddbdir}/mods-available/python3 \
275 FILES:${PN}-mysql = "${libdir}/rlm_sql_mysql.so* \
276 ${raddbdir}/mods-config/sql/*/mysql \
277 ${raddbdir}/mods-available/sql \
280 FILES:${PN}-postgresql = "${libdir}/rlm_sql_postgresql.so* \
281 ${raddbdir}/mods-config/sql/*/postgresql \
284 FILES:${PN}-unixodbc = "${libdir}/rlm_sql_unixodbc.so*"
289 RDEPENDS:${PN}-utils = "${PN} perl"
290 RDEPENDS:${PN}-krb5 = "${PN}"
291 RDEPENDS:${PN}-ldap = "${PN}"
292 RDEPENDS:${PN}-mysql = "${PN}"
293 RDEPENDS:${PN}-perl = "${PN}"
294 RDEPENDS:${PN}-postgresql = "${PN}"
295 RDEPENDS:${PN}-python = "${PN}"
296 RDEPENDS:${PN}-unixodbc = "${PN}"