summaryrefslogtreecommitdiff
path: root/system/unhide/unhide.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/unhide/unhide.SlackBuild')
-rw-r--r--system/unhide/unhide.SlackBuild16
1 files changed, 6 insertions, 10 deletions
diff --git a/system/unhide/unhide.SlackBuild b/system/unhide/unhide.SlackBuild
index ca5080caad..513f6105d4 100644
--- a/system/unhide/unhide.SlackBuild
+++ b/system/unhide/unhide.SlackBuild
@@ -19,7 +19,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=unhide
-VERSION=20110113
+VERSION=20121229
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,18 +62,14 @@ chown -R root:root .
chmod -R u+w,go+r-w,a-s .
# gcc --static unhide.c -o unhide #### This is an obsolete version.
-gcc $SLKCFLAGS --static unhide-tcp.c -o unhide-tcp
-gcc $SLKCFLAGS -Wall --static -pthread unhide-linux26.c -o unhide-linux26
+gcc $SLKCFLAGS -Wall --static -pthread unhide-linux*.c unhide-output.c -o unhide-linux
+gcc $SLKCFLAGS -Wall --static unhide_rb.c -o unhide_rb
+gcc $SLKCFLAGS -Wall --static unhide-tcp.c unhide-tcp-fast.c unhide-output.c -o unhide-tcp
+ln -s unhide-linux unhide
# We put the binaries and documents in their right places
mkdir -p $PKG/usr/sbin
-install -m0700 unhide-tcp unhide-linux26 $PKG/usr/sbin
-
-# We make a symlink so any call to "unhide" reaches "unhide-linux26". This is the
-# solution accepted by many distributions.
-cd $PKG/usr/sbin
- ln -s unhide-linux26 unhide
-cd -
+install -m 0700 unhide-tcp unhide-linux unhide unhide_rb $PKG/usr/sbin
# Copy man pages
mkdir -p $PKG/usr/man/{,es/,fr/}man8