summaryrefslogtreecommitdiff
path: root/network/hostapd/hostapd.SlackBuild
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2014-07-31 23:31:14 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-07-31 23:31:14 +0700
commit3f06205ba5e9b9b78c7fc1e66f9492a586cece1b (patch)
treecaf5ff436277d74664d8aab007648fb5838a8789 /network/hostapd/hostapd.SlackBuild
parent7737fc439cff5831e6cd669268550cd828881484 (diff)
downloadslackbuilds-3f06205ba5e9b9b78c7fc1e66f9492a586cece1b.tar.gz
network/hostapd: Improve handling on config file.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/hostapd/hostapd.SlackBuild')
-rw-r--r--network/hostapd/hostapd.SlackBuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/network/hostapd/hostapd.SlackBuild b/network/hostapd/hostapd.SlackBuild
index 3b57431f40..10e9745198 100644
--- a/network/hostapd/hostapd.SlackBuild
+++ b/network/hostapd/hostapd.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=hostapd
VERSION=${VERSION:-2.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -72,8 +72,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -p0 < $CWD/hostapd-defconfig.diff
-cat defconfig > .config
+cat $CWD/hostapd.defconfig > .config
CFLAGS+="$SLKCFLAGS" make