diff options
author | Eric Hameleers <alien@slackware.com> | 2006-11-07 23:21:39 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2006-11-07 23:21:39 +0000 |
commit | d3ef0116b5eed0648efc3430436d9dd9fffc4eaf (patch) | |
tree | f4a4f456c25b74b3bcba1e2fceefcc9501a9d358 /ifplugd | |
parent | 76d33871364ea0897d886c6c5652e020e6f5bfbd (diff) | |
download | asb-d3ef0116b5eed0648efc3430436d9dd9fffc4eaf.tar.gz asb-d3ef0116b5eed0648efc3430436d9dd9fffc4eaf.tar.xz |
Updated for Slackware 11.0
Diffstat (limited to 'ifplugd')
-rwxr-xr-x | ifplugd/build/ifplugd.SlackBuild | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/ifplugd/build/ifplugd.SlackBuild b/ifplugd/build/ifplugd.SlackBuild index d388eb0d..f3847fe2 100755 --- a/ifplugd/build/ifplugd.SlackBuild +++ b/ifplugd/build/ifplugd.SlackBuild @@ -1,5 +1,6 @@ #!/bin/sh -# Copyright (c) 2006 Eric Hameleers <alien@sox.homeip.net> +# $Id$ +# Copyright (c) 2005,2006 Eric Hameleers <alien@slackware.com> # Distributed under the terms of the GNU General Public License, Version 2 # ------------------------------------------------------------------------------ # @@ -14,6 +15,9 @@ # * Initial build # 0.28-1: 07/oct/2005 by Eric Hameleers # * Update. +# 0.28-2: 07/nov/2006 by Eric Hameleers +# * Rebuilt for Slackware 11.0. Patched interface.c to compile when +# kernel-headers-2.6.x is installed. # # ------------------------------------------------------------------------------ # @@ -35,7 +39,7 @@ fi PRGNAM=ifplugd VERSION=0.28 ARCH=i486 -BUILD=1 +BUILD=2 PKG=$TMP/package-$PRGNAM @@ -67,12 +71,14 @@ tar xzvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION patch -p1 < $CWD/${PRGNAM}.action.patch patch -p0 < $CWD/${PRGNAM}.interface.patch -chown -R root.root . +chown -R root:root . ./configure --with-initdir=/etc/rc.d \ - --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - | tee $CWD/config.log -make | tee $CWD/make.log + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + 2>&1 | tee $CWD/config.log +make 2>&1 | tee $CWD/make.log installwatch -o $CWD/install.log make DESTDIR=$PKG install mv $PKG/etc/rc.d/ifplugd $PKG/etc/rc.d/rc.ifplugd.new @@ -80,9 +86,6 @@ chmod -x $PKG/etc/rc.d/rc.ifplugd.new # --- POST-INSTALL SCRIPT --- -# -# -# --- Fabricate the 'doinst.sh' script: ------ mkdir -p $PKG/install @@ -130,8 +133,7 @@ gzip -9f $PKG/usr/man/*/* # --- OWNERSHIP, RIGHTS --- -chown -R root.root $PKG -chown root.bin $PKG/usr/{bin,sbin}/* +chown -R root:root $PKG chmod -R o-w $PKG |