commit cddc599096cabf6886629a99b009123418af9c67 Author: Till Biedermann <tillb@crux.nu> Date: Sun May 11 00:16:36 2008 +0200 madwifi: FS#272 diff --git a/madwifi/.footprint b/madwifi/.footprint index 1a37072..97889e1 100644 --- a/madwifi/.footprint +++ b/madwifi/.footprint @@ -2,20 +2,20 @@ drwxr-xr-x root/root lib/ drwxr-xr-x root/root lib/modules/ drwxr-xr-x root/root lib/modules/<kernel-version>/ drwxr-xr-x root/root lib/modules/<kernel-version>/net/ --rwxr-xr-x root/root lib/modules/<kernel-version>/net/ath_hal.ko --rwxr-xr-x root/root lib/modules/<kernel-version>/net/ath_pci.ko --rwxr-xr-x root/root lib/modules/<kernel-version>/net/ath_rate_amrr.ko +-rw-r--r-- root/root lib/modules/<kernel-version>/net/ath_hal.ko +-rw-r--r-- root/root lib/modules/<kernel-version>/net/ath_pci.ko +-rw-r--r-- root/root lib/modules/<kernel-version>/net/ath_rate_amrr.ko -rw-r--r-- root/root lib/modules/<kernel-version>/net/ath_rate_minstrel.ko --rwxr-xr-x root/root lib/modules/<kernel-version>/net/ath_rate_onoe.ko --rwxr-xr-x root/root lib/modules/<kernel-version>/net/ath_rate_sample.ko --rwxr-xr-x root/root lib/modules/<kernel-version>/net/wlan.ko --rwxr-xr-x root/root lib/modules/<kernel-version>/net/wlan_acl.ko --rwxr-xr-x root/root lib/modules/<kernel-version>/net/wlan_ccmp.ko --rwxr-xr-x root/root lib/modules/<kernel-version>/net/wlan_scan_ap.ko --rwxr-xr-x root/root lib/modules/<kernel-version>/net/wlan_scan_sta.ko --rwxr-xr-x root/root lib/modules/<kernel-version>/net/wlan_tkip.ko --rwxr-xr-x root/root lib/modules/<kernel-version>/net/wlan_wep.ko --rwxr-xr-x root/root lib/modules/<kernel-version>/net/wlan_xauth.ko +-rw-r--r-- root/root lib/modules/<kernel-version>/net/ath_rate_onoe.ko +-rw-r--r-- root/root lib/modules/<kernel-version>/net/ath_rate_sample.ko +-rw-r--r-- root/root lib/modules/<kernel-version>/net/wlan.ko +-rw-r--r-- root/root lib/modules/<kernel-version>/net/wlan_acl.ko +-rw-r--r-- root/root lib/modules/<kernel-version>/net/wlan_ccmp.ko +-rw-r--r-- root/root lib/modules/<kernel-version>/net/wlan_scan_ap.ko +-rw-r--r-- root/root lib/modules/<kernel-version>/net/wlan_scan_sta.ko +-rw-r--r-- root/root lib/modules/<kernel-version>/net/wlan_tkip.ko +-rw-r--r-- root/root lib/modules/<kernel-version>/net/wlan_wep.ko +-rw-r--r-- root/root lib/modules/<kernel-version>/net/wlan_xauth.ko drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/80211debug diff --git a/madwifi/Pkgfile b/madwifi/Pkgfile index d5b3f33..de8e4bf 100644 --- a/madwifi/Pkgfile +++ b/madwifi/Pkgfile @@ -9,6 +9,7 @@ release=1 source=(http://dl.sf.net/$name/$name-$version.tar.bz2) build(){ - cd $name* && make KERNELPATH=/usr/src/linux-$(uname -r) - make DESTDIR=$PKG BINDIR=/usr/bin MANDIR=/usr/man install + cd $name* && make KERNELPATH=/lib/modules/$(uname -r)/build + make DESTDIR=$PKG BINDIR=/usr/bin MANDIR=/usr/man install + find $PKG/lib/modules/ -type f | xargs chmod 0644 } diff --git a/madwifi/README b/madwifi/README index 97bea1b..20ddd14 100644 --- a/madwifi/README +++ b/madwifi/README @@ -1,18 +1,18 @@ PRE-INSTALL - Kernel sources must exist in /usr/src/linux[-version] + Kernel sources must exist in /lib/modules/[version]/build POST-INSTALL - Run depmod -a, edit /etc/modprobe.conf and /etc/rc.d/net. The module - name is ath_hal or ath_pci, depending on your card. The wireless - ifdevice name is ath0. Something like this should work: + Run depmod -a, edit /etc/modprobe.conf and /etc/rc.d/net. The module + name is ath_hal or ath_pci, depending on your card. The wireless + ifdevice name is ath0. Something like this should work: - /etc/modprobe.conf: - alias ath0 ath_pci + /etc/modprobe.conf: + alias ath0 ath_pci - /etc/rc.d/net: - iwconfig ath0 essid myid - iwconfig ath0 key mykey - dhcpcd ath0 + /etc/rc.d/net: + iwconfig ath0 essid myid + iwconfig ath0 key mykey + dhcpcd ath0