aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurat D. Kadirov <banderols@gmail.com>2010-05-11 22:54:58 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:54:58 +0200
commit123b59e6fcf465d1ccc983ed2f1a89a9082c6c51 (patch)
treedd57867bb85b2adfb8ff48562a16527dddfb8952
parentd51793028130915a682c988caedaa86ae143d41a (diff)
network/netkit-filesystem: Added to 12.1 repository
-rw-r--r--network/netkit-filesystem/README6
-rw-r--r--network/netkit-filesystem/netkit-filesystem.SlackBuild48
-rw-r--r--network/netkit-filesystem/netkit-filesystem.info8
-rw-r--r--network/netkit-filesystem/slack-desc21
4 files changed, 83 insertions, 0 deletions
diff --git a/network/netkit-filesystem/README b/network/netkit-filesystem/README
new file mode 100644
index 0000000000000..a3382455f18e7
--- /dev/null
+++ b/network/netkit-filesystem/README
@@ -0,0 +1,6 @@
+This slackbuild packages the Netkit filesystem (part of NetKit available
+from SlackBuild.org).
+
+This filesystem contains an installed Debian Linux distribution, including
+several general-purpose and network-dedicated packages which are made
+available inside Netkit virtual machines.
diff --git a/network/netkit-filesystem/netkit-filesystem.SlackBuild b/network/netkit-filesystem/netkit-filesystem.SlackBuild
new file mode 100644
index 0000000000000..d95dff8565cff
--- /dev/null
+++ b/network/netkit-filesystem/netkit-filesystem.SlackBuild
@@ -0,0 +1,48 @@
+#!/bin/sh
+
+# Slackware build script for netkit-filesystem
+
+# Written by Murat D. Kadirov <banderols@gmail.com>
+# This script is just a binary repackaging.
+
+PRGNAM=netkit-filesystem
+PRGNAM_proj=netkit
+PRGNAM_fs=fs
+VERSION=F4.0
+ARCH=i386
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG/opt/$PRGNAM_proj $OUTPUT
+cd $TMP
+rm -rf $PRGNAM_proj/$PRGNAM_fs
+tar -xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM_proj/$PRGNAM_fs
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+cd ..
+mv $PRGNAM_fs $PKG/opt/$PRGNAM_proj
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cd $PKG/opt/$PRGNAM_proj/$PRGNAM_fs
+mv CHANGES README $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/network/netkit-filesystem/netkit-filesystem.info b/network/netkit-filesystem/netkit-filesystem.info
new file mode 100644
index 0000000000000..0b09002fca824
--- /dev/null
+++ b/network/netkit-filesystem/netkit-filesystem.info
@@ -0,0 +1,8 @@
+PRGNAM="netkit-filesystem"
+VERSION="F4.0"
+HOMEPAGE="http://www.netkit.org"
+DOWNLOAD="http://www.netkit.org/download/netkit-filesystem/netkit-filesystem-F4.0.tar.bz2"
+MD5SUM="7154cc9d4b2f6ae393628eb50577e42c"
+MAINTAINER="Murat D. Kadirov"
+EMAIL="banderols@gmail.com"
+APPROVED="David Somero"
diff --git a/network/netkit-filesystem/slack-desc b/network/netkit-filesystem/slack-desc
new file mode 100644
index 0000000000000..64a755ce9efbb
--- /dev/null
+++ b/network/netkit-filesystem/slack-desc
@@ -0,0 +1,21 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|' on
+# the right side marks the last column you can put a character in. You must make
+# exactly 11 lines for the formatting to be correct. It's also customary to
+# leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------|
+netkit-filesystem: netkit-filesystem (Netkit filesystem version F4.0)
+netkit-filesystem:
+netkit-filesystem: Netkit is a self-contained environment that makes it easy and
+netkit-filesystem: costless to emulate complex network configurations on a single
+netkit-filesystem: host machine.
+netkit-filesystem:
+netkit-filesystem:
+netkit-filesystem:
+netkit-filesystem:
+netkit-filesystem:
+netkit-filesystem:
+:
+