summaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /wpa_supplicant/Pkgfile
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
Diffstat (limited to 'wpa_supplicant/Pkgfile')
-rw-r--r--wpa_supplicant/Pkgfile48
1 files changed, 48 insertions, 0 deletions
diff --git a/wpa_supplicant/Pkgfile b/wpa_supplicant/Pkgfile
new file mode 100644
index 000000000..6722e182f
--- /dev/null
+++ b/wpa_supplicant/Pkgfile
@@ -0,0 +1,48 @@
+# Description: Utilitaire permettant la négociation WPA pour les réseaux sans fils
+# URL: http://hostap.epitest.fi/wpa_supplicant
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: libnl, dbus, openssl
+# Run on: libnl,dbus,openssl
+
+name=wpa_supplicant
+version=0.7.3
+release=1
+madwifi_ver=0.9.4
+source=(http://hostap.epitest.fi/releases/$name-$version.tar.gz \
+ config
+ dbus-service-file-args.patch
+ dbus-null-error.patch
+ WEP232.patch
+ bss-changed-prop-notify.patch)
+
+build() {
+ cd $name-$version
+ patch -p1 < $SRC/bss-changed-prop-notify.patch
+ patch -p1 < $SRC/dbus-service-file-args.patch
+ patch -p1 < $SRC/dbus-null-error.patch
+ patch -p1 < $SRC/WEP232.patch
+
+ cd $name
+ perl -pi -e '$_ = "# $_" if /^\s*network\s*=\s*{/ .. /^\s*}/' wpa_supplicant.conf
+ cp $SRC/config .config
+
+ make
+ make eapol_test
+
+ mkdir -p $PKG/usr/sbin
+ mkdir -p $PKG/etc/dbus-1/system.d/
+ mkdir -p $PKG/usr/share/dbus-1/system-services/
+
+ cp wpa_supplicant $PKG/usr/sbin
+ cp wpa_cli $PKG/usr/sbin
+ cp wpa_passphrase $PKG/usr/sbin
+ cp wpa_supplicant.conf $PKG/etc
+ cp eapol_test $PKG/usr/sbin
+ install -m 0644 dbus/dbus-wpa_supplicant.conf $PKG/etc/dbus-1/system.d/wpa_supplicant.conf
+ install -m 0644 dbus/fi.epitest.hostap.WPASupplicant.service $PKG/usr/share/dbus-1/system-services
+ install -m 0644 dbus/fi.w1.wpa_supplicant1.service $PKG/usr/share/dbus-1/system-services
+ mkdir -p $PKG/usr/share/man/man{5,8}
+ cp doc/docbook/*.8 $PKG/usr/share/man/man8
+ cp doc/docbook/*.5 $PKG/usr/share/man/man5
+}