summaryrefslogtreecommitdiff
path: root/repo/util
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-04-04 12:10:43 +0100
committerdavidovski <david@davidovski.xyz>2022-04-04 12:10:43 +0100
commit92790a96688344c9f6fd6dadbaad73c1f88804a0 (patch)
treed6a1357a110475d8f6e39040aeae02920696e827 /repo/util
parentd093bc7b86a8ef1f149ac413d3d40d3cb728ad21 (diff)
fixed network manager
Diffstat (limited to 'repo/util')
-rw-r--r--repo/util/graphviz.xibuild60
-rw-r--r--repo/util/wpa_supplicant.xibuild54
2 files changed, 95 insertions, 19 deletions
diff --git a/repo/util/graphviz.xibuild b/repo/util/graphviz.xibuild
new file mode 100644
index 0000000..1a701b2
--- /dev/null
+++ b/repo/util/graphviz.xibuild
@@ -0,0 +1,60 @@
+#!/bin/sh
+
+MAKEDEPS="make flex swig m4 libtool libxaw bison lua tcl autoconf automake bash"
+DEPS="cairo expat glib libx11 musl pango zlib"
+
+PKG_VER=2.50.0
+SOURCE=https://gitlab.com/graphviz/graphviz/-/archive/$PKG_VER/graphviz-$PKG_VER.tar.gz
+DESC="Graph Visualization Tools"
+
+
+prepare () {
+ ./autogen.sh NOCONFIG
+}
+
+build () {
+ CONFIG_SHELL=/bin/bash \
+ LIBPOSTFIX=/ \
+ LUA=lua \
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --disable-silent-rules \
+ --disable-static \
+ --disable-dependency-tracking \
+ --enable-ltdl \
+ --enable-sharp=no \
+ --enable-go=no \
+ --enable-guile=no \
+ --enable-java=no \
+ --enable-lua=yes \
+ --enable-ocaml=no \
+ --enable-perl=no \
+ --enable-php=no \
+ --enable-python=yes \
+ --enable-r=no \
+ --enable-ruby=no \
+ --enable-tcl=no \
+ --with-x \
+ --with-rsvg=yes \
+ --with-pangocairo=yes \
+ --with-gdk-pixbuf=yes \
+ --with-libgd=no \
+ --with-ipsepcola=yes
+
+ sed -i -e '/HAVE_SINCOS/d' config.h
+
+ make
+
+}
+
+package () {
+ make -j1 DESTDIR="$PKG_DEST" \
+ pkgconfigdir=/usr/lib/pkgconfig \
+ install
+
+ mkdir -p "$PKG_DEST"/usr/share/doc
+ mv "$PKG_DEST"/usr/share/graphviz/doc \
+ "$PKG_DEST"/usr/share/doc/graphviz
+
+}
diff --git a/repo/util/wpa_supplicant.xibuild b/repo/util/wpa_supplicant.xibuild
index 1b5184a..a1fb282 100644
--- a/repo/util/wpa_supplicant.xibuild
+++ b/repo/util/wpa_supplicant.xibuild
@@ -1,6 +1,6 @@
#!/bin/sh
-MAKEDEPS="make libxml2"
+MAKEDEPS="make libxml2 pcsc-lite"
DEPS="libnl openssl readline dbus"
PKG_VER=2.10
@@ -17,34 +17,50 @@ wpa_supplicant.initd
prepare () {
cat > wpa_supplicant/.config << "EOF"
-CONFIG_BACKEND=file
-CONFIG_CTRL_IFACE=y
-CONFIG_DEBUG_FILE=y
-CONFIG_DEBUG_SYSLOG=y
-CONFIG_DEBUG_SYSLOG_FACILITY=LOG_DAEMON
-CONFIG_DRIVER_NL80211=y
CONFIG_DRIVER_WEXT=y
+CONFIG_DRIVER_NL80211=y
+CONFIG_LIBNL32=y
CONFIG_DRIVER_WIRED=y
-CONFIG_EAP_GTC=y
-CONFIG_EAP_LEAP=y
+CONFIG_IEEE8021X_EAPOL=y
CONFIG_EAP_MD5=y
CONFIG_EAP_MSCHAPV2=y
-CONFIG_EAP_OTP=y
-CONFIG_EAP_PEAP=y
CONFIG_EAP_TLS=y
+CONFIG_EAP_PEAP=y
CONFIG_EAP_TTLS=y
-CONFIG_IEEE8021X_EAPOL=y
-CONFIG_IPV6=y
-CONFIG_LIBNL32=y
-CONFIG_PEERKEY=y
+CONFIG_EAP_FAST=y
+CONFIG_EAP_GTC=y
+CONFIG_EAP_OTP=y
+CONFIG_EAP_SIM=y
+CONFIG_EAP_PSK=y
+CONFIG_EAP_PWD=y
+CONFIG_EAP_PAX=y
+CONFIG_EAP_LEAP=y
+CONFIG_EAP_AKA=y
+CONFIG_EAP_AKA_PRIME=y
+CONFIG_WPS=y
CONFIG_PKCS12=y
-CONFIG_READLINE=y
CONFIG_SMARTCARD=y
-CONFIG_WPS=y
-CFLAGS += -I/usr/include/libnl3
-CONFIG_CTRL_IFACE_DBUS=y
+CONFIG_PCSC=y
+CONFIG_HT_OVERRIDES=y
+CONFIG_VHT_OVERRIDES=y
+CONFIG_IPV6=y
+CONFIG_CTRL_IFACE=y
+CONFIG_WPA_CLI_EDIT=y
+CONFIG_SAE=y
+CONFIG_BACKEND=file
+CONFIG_IEEE80211W=y
+CONFIG_TLS=openssl
+CONFIG_TLSV11=y
+CONFIG_TLSV12=y
CONFIG_CTRL_IFACE_DBUS_NEW=y
CONFIG_CTRL_IFACE_DBUS_INTRO=y
+CONFIG_DELAYED_MIC_ERROR_REPORT=y
+CONFIG_AP=y
+CONFIG_P2P=y
+CONFIG_AUTOSCAN_PERIODIC=y
+CONFIG_IBSS_RSN=y
+CONFIG_BGSCAN_SIMPLE=y
+
EOF
}