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.

38 lines
1.3 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 - 2014 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. # Needed because otherwise Makefile wants to run aclocal-1.14..
  15. hook_add preconf 9 'autoreconf -ivf'
  16. # allow passwords to be read from a file
  17. var_append confopt ' ' "--enable-password-save"
  18. # where openvpn should search for plugins
  19. var_append CFLAGS ' ' "-DPLUGIN_LIBDIR${plugin_libdir}"
  20. # iproute2 support
  21. if pkginstalled iproute2; then
  22. var_append confopt ' ' "--enable-iproute2"
  23. var_append configprefix ' ' "IPROUTE=$( pkgprefix -r bindir iproute2 )"
  24. fi
  25. if ! pkginstalled lzo ; then
  26. var_append confopt ' ' "--disable-lzo"
  27. echo_warning "LZO Compression Support disabled! (lzo package not installed)"
  28. fi
  29. # pam authentication plugin
  30. if ! pkginstalled -f pam; then
  31. var_append extraconfopt ' ' "--disable-plugin-auth-pam"
  32. fi