summaryrefslogtreecommitdiff
path: root/package/aircrack-ng
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-10-20 07:58:13 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-10-22 22:31:26 +0200
commit26e2aca4359bc7cff080c8446a67b838a5026d15 (patch)
tree404eafc8d39d46286fc41118e9d511f873b6ce8d /package/aircrack-ng
parent75114af47a5f090b59b80d511472493b93c2e2c6 (diff)
ssl: rework ssl support
Use libressl as default, where SSL is required. Allow to choose openssl. Disable SSL where not strictly required to build.
Diffstat (limited to 'package/aircrack-ng')
-rw-r--r--package/aircrack-ng/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/package/aircrack-ng/Makefile b/package/aircrack-ng/Makefile
index a0bf5a984..119f75e86 100644
--- a/package/aircrack-ng/Makefile
+++ b/package/aircrack-ng/Makefile
@@ -9,13 +9,22 @@ PKG_RELEASE:= 2
PKG_HASH:= b136b549b7d2a2751c21793100075ea43b28de9af4c1969508bb95bcc92224ad
PKG_DESCR:= set of tools for auditing wireless networks
PKG_SECTION:= net/wifi
-PKG_DEPENDS:= libpthread libopenssl libpcap
-PKG_BUILDDEP:= openssl libpcap
+PKG_DEPENDS:= libpthread libpcap
+PKG_BUILDDEP:= libpcap
PKG_URL:= http://www.aircrack-ng.org/
PKG_SITES:= http://download.aircrack-ng.org/
# do not build parallel, otherwise libosdep.a may not be ready when compiling airtun-ng
PKG_NOPARALLEL:= 1
+PKG_CHOICES_AIRCRACK_NG:= WITHOUT_SSL WITH_LIBRESSL WITH_OPENSSL
+PKGCD_WITHOUT_SSL:= use no ssl
+PKGCD_WITH_LIBRESSL:= use libressl for crypto
+PKGCB_WITH_LIBRESSL:= libressl
+PKGCS_WITH_LIBRESSL:= libressl ca-certificates
+PKGCD_WITH_OPENSSL:= use openssl for crypto
+PKGCB_WITH_OPENSSL:= openssl
+PKGCS_WITH_OPENSSL:= libopenssl ca-certificates
+
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
include $(ADK_TOPDIR)/mk/package.mk