From: Felix Fietkau Date: Fri, 15 Dec 2017 13:45:44 +0000 (+0100) Subject: authsae: remove package X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=8061c62f5d598fcbc7e08a8cc8728be55d236eab;p=openwrt%2Fstaging%2Fblocktrron.git authsae: remove package It is no longer actively maintained and does not work well in many configurations. Fully replaced by wpad-mesh Signed-off-by: Felix Fietkau --- diff --git a/package/network/services/authsae/Makefile b/package/network/services/authsae/Makefile deleted file mode 100644 index fd0e82ffd8..0000000000 --- a/package/network/services/authsae/Makefile +++ /dev/null @@ -1,46 +0,0 @@ - -# Copyright (C) 2007-2013 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=authsae -PKG_RELEASE:=1 - -PKG_SOURCE_PROTO:=git -PKG_SOURCE_URL:=https://github.com/cozybit/authsae.git -PKG_SOURCE_DATE:=2014-06-09 -PKG_SOURCE_VERSION:=8531ab158910a525d4bcbb3ad02c08342f6987f2 -PKG_MIRROR_HASH:=a8fbed9eada17c552c70d834ee8f7c1e0987df59839bc113b3ec000500696715 - -PKG_BUILD_PARALLEL:=1 -CMAKE_INSTALL:=1 - -CMAKE_OPTIONS += -DSYSCONF_INSTALL_DIR=/etc - -PKG_MAINTAINER:=Felix Fietkau -PKG_LICENSE:=BSD-4-Clause - -include $(INCLUDE_DIR)/package.mk -include $(INCLUDE_DIR)/cmake.mk - -define Package/authsae - SECTION:=net - CATEGORY:=Network - TITLE:=80211s mesh security - DEPENDS:=+libopenssl +libconfig +libnl-tiny +@OPENSSL_WITH_EC -endef - -TARGET_CFLAGS += -D_GNU_SOURCE - -define Package/authsae/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin - $(INSTALL_DIR) $(1)/lib/wifi - $(INSTALL_DATA) ./files/lib/wifi/authsae.sh $(1)/lib/wifi/ -endef - -$(eval $(call BuildPackage,authsae)) diff --git a/package/network/services/authsae/files/lib/wifi/authsae.sh b/package/network/services/authsae/files/lib/wifi/authsae.sh deleted file mode 100644 index 75be48e473..0000000000 --- a/package/network/services/authsae/files/lib/wifi/authsae.sh +++ /dev/null @@ -1,65 +0,0 @@ -authsae_start_interface() { - local mcast_rate - local mesh_htmode - local mesh_band - local authsae_conf_file="/var/run/authsae-$ifname.cfg" - local ret=1 - - json_get_vars mcast_rate mesh_id - set_default mcast_rate "12000" - - case "$htmode" in - HT20|HT40+|HT40-) mesh_htmode="$htmode";; - *) mesh_htmode="none";; - esac - - case "$hwmode" in - *g*) mesh_band=11g;; - *a*) mesh_band=11a;; - esac - - if [ "$mcast_rate" -gt 1000 ]; then - # authsae only allows integers as rates and not things like 5.5 - mcval=$(($mcast_rate / 1000)) - else - # compat: to still support mbit/s rates - mcval="$mcast_rate" - fi - - cat > "$authsae_conf_file" </dev/null 2>/dev/null & - authsae_pid="$!" - ret="$?" - - echo $authsae_pid > /var/run/authsae-$ifname.pid - wireless_add_process "$authsae_pid" "/usr/bin/meshd-nl80211" 1 - - [ "$ret" != 0 ] && wireless_setup_vif_failed AUTHSAE_FAILED - return $ret -} diff --git a/package/network/services/authsae/patches/100-musl_fix.patch b/package/network/services/authsae/patches/100-musl_fix.patch deleted file mode 100644 index 19d2d9b72f..0000000000 --- a/package/network/services/authsae/patches/100-musl_fix.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/linux/mon.c -+++ b/linux/mon.c -@@ -44,7 +44,6 @@ - #include - #include - #include --#include - #include - #include - #include ---- a/linux/meshd.c -+++ b/linux/meshd.c -@@ -44,7 +44,6 @@ - #include - #include - #include --#include - #include - #include - #include