# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/strongswan/strongswan.conf # Copyright (C) 2004 - 2023 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- pkginstalled openssl && var_append confopt ' ' '--enable-openssl' pkginstalled wolfssl && var_append confopt ' ' '--enable-wolfssl' var_append confopt ' ' '--enable-eap-sim --enable-eap-sim-file \ --enable-eap-aka \ --enable-eap-aka-3gpp2 \ --enable-eap-simaka-pseudonym \ --enable-eap-simaka-reauth \ --enable-eap-identity \ --enable-eap-md5 \ --enable-eap-tls' # checking if we can enable CRL fetching using LDAP if pkginstalled openldap; then pkgprefix -t openldap var_append confopt ' ' --enable-ldap var_append GCC_WRAPPER_INSERT ' ' "-I$(pkgprefix includedir openldap)" var_append GCC_WRAPPER_INSERT ' ' "-L$(pkgprefix libdir openldap)" fi