OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.2 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../openvpn/openvpn.conf
  5. # Copyright (C) 2007 - 2013 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This program is free software; you can redistribute it and/or modify
  10. # it under the terms of the GNU General Public License as published by
  11. # the Free Software Foundation; version 2 of the License. A copy of the
  12. # GNU General Public License can be found in the file COPYING.
  13. # --- SDE-COPYRIGHT-NOTE-END ---
  14. # allow passwords to be read from a file
  15. var_append confopt ' ' "--enable-password-save"
  16. # where openvpn should search for plugins
  17. var_append CFLAGS ' ' "-DPLUGIN_LIBDIR${plugin_libdir}"
  18. # iproute2 support
  19. if pkginstalled iproute2; then
  20. var_append confopt ' ' "--enable-iproute2"
  21. var_append configprefix ' ' "IPROUTE=$( pkgprefix -r bindir iproute2 )"
  22. fi
  23. if ! pkginstalled lzo ; then
  24. var_append confopt ' ' "--disable-lzo"
  25. echo_warning "LZO Compression Support disabled! (lzo package not installed)"
  26. fi
  27. # pam authentication plugin
  28. if ! pkginstalled -f pam; then
  29. var_append extraconfopt ' ' "--disable-plugin-auth-pam"
  30. fi