summaryrefslogtreecommitdiffstats
path: root/abs/core/wpa_supplicant/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-30 23:34:33 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-30 23:34:33 (GMT)
commitee24082e49f00f0ec0d4b9720aca389dfb253cba (patch)
treea309a6cab39ea37df9a1b86b98a53adc5371a626 /abs/core/wpa_supplicant/PKGBUILD
parentdaa84bda32c03535b1c5d809bc83e5fef1c0c287 (diff)
downloadlinhes_pkgbuild-ee24082e49f00f0ec0d4b9720aca389dfb253cba.zip
linhes_pkgbuild-ee24082e49f00f0ec0d4b9720aca389dfb253cba.tar.gz
linhes_pkgbuild-ee24082e49f00f0ec0d4b9720aca389dfb253cba.tar.bz2
wpa_supplicant: upgrade
Diffstat (limited to 'abs/core/wpa_supplicant/PKGBUILD')
-rw-r--r--abs/core/wpa_supplicant/PKGBUILD35
1 files changed, 18 insertions, 17 deletions
diff --git a/abs/core/wpa_supplicant/PKGBUILD b/abs/core/wpa_supplicant/PKGBUILD
index 0e709fb..9a22a1b 100644
--- a/abs/core/wpa_supplicant/PKGBUILD
+++ b/abs/core/wpa_supplicant/PKGBUILD
@@ -1,41 +1,42 @@
-# $Id: PKGBUILD 75193 2010-04-01 02:03:01Z pierre $
-# Maintainer: Thomas Baechler <thomas@archlinux.org>
+# $Id: PKGBUILD 90602 2010-09-13 18:07:52Z thomas $
+# Maintainer: Thomas Bächler <thomas@archlinux.org>
pkgname=wpa_supplicant
-pkgver=0.6.10
-pkgrel=2
+pkgver=0.7.3
+pkgrel=1
pkgdesc="A utility providing key negotiation for WPA wireless networks"
+url="http://hostap.epitest.fi/wpa_supplicant"
arch=('i686' 'x86_64')
depends=('openssl' 'dbus-core>=1.2.4' 'readline>=6.0' 'libnl')
optdepends=('wpa_supplicant_gui: wpa_gui program')
license=('GPL')
groups=('base')
backup=('etc/wpa_supplicant.conf')
-url="http://hostap.epitest.fi/wpa_supplicant"
source=(http://hostap.epitest.fi/releases/wpa_supplicant-$pkgver.tar.gz
config)
-md5sums=('8985b1030d753e5f74f8acfc34e591bb'
- '6577abc7060ed2d45dba14bf8934e850')
+sha256sums=('d0cd50caa85346ccc376dcda5ed3c258eef19a93b3cade39d25760118ad59443'
+ '6a0837f18e5ff179ccd6954f7952dfc2e6aa69f353194ee4cb29c1ed2ef68c5d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}/${pkgname}"
- cp ${srcdir}/config ./.config
+ cp "${srcdir}/config" ./.config
sed -i 's@/usr/local@$(PREFIX)@g' Makefile
- make || return 1
+ make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}/${pkgname}"
- make PREFIX=/usr DESTDIR="${pkgdir}" install || return 1
+ make PREFIX=/usr DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/etc"
- install -m644 wpa_supplicant.conf "${pkgdir}/etc/wpa_supplicant.conf" || return 1
- install -d -m755 ${pkgdir}/usr/share/man/man{5,8} || return 1
- install -m644 doc/docbook/wpa_supplicant.conf.5 "${pkgdir}/usr/share/man/man5/" || return 1
- install -m644 doc/docbook/{wpa_background,wpa_cli,wpa_passphrase,wpa_supplicant}.8 "${pkgdir}/usr/share/man/man8/" || return 1
+ install -m644 wpa_supplicant.conf "${pkgdir}/etc/wpa_supplicant.conf"
+ install -d -m755 "${pkgdir}/usr/share/man/man"{5,8}
+ install -m644 doc/docbook/*.5 "${pkgdir}/usr/share/man/man5/"
+ install -m644 doc/docbook/*.8 "${pkgdir}/usr/share/man/man8/"
+ rm -f "${pkgdir}/usr/share/man/man8/wpa_"{priv,gui}.8
install -m755 -d "${pkgdir}/usr/share/dbus-1/system-services"
- install -m644 dbus-wpa_supplicant.service "${pkgdir}/usr/share/dbus-1/system-services/fi.epitest.hostap.WPASupplicant.service" || return 1
- sed -e 's/sbin/usr\/sbin/' -i "${pkgdir}/usr/share/dbus-1/system-services/fi.epitest.hostap.WPASupplicant.service" || return 1
+ install -m644 dbus/{fi.epitest.hostap.WPASupplicant.service,fi.w1.wpa_supplicant1.service} "${pkgdir}/usr/share/dbus-1/system-services/"
+ sed -e 's/sbin/usr\/sbin/' -i "${pkgdir}/usr/share/dbus-1/system-services/"*.service
install -m755 -d "${pkgdir}/etc/dbus-1/system.d"
- install -m644 dbus-wpa_supplicant.conf "${pkgdir}/etc/dbus-1/system.d/fi.epitest.hostap.WPASupplicant.conf" || return 1
+ install -m644 dbus/dbus-wpa_supplicant.conf "${pkgdir}/etc/dbus-1/system.d/wpa_supplicant.conf"
}