From 123b59e6fcf465d1ccc983ed2f1a89a9082c6c51 Mon Sep 17 00:00:00 2001 From: "Murat D. Kadirov" Date: Tue, 11 May 2010 22:54:58 +0200 Subject: network/netkit-filesystem: Added to 12.1 repository --- network/netkit-filesystem/README | 6 +++ .../netkit-filesystem/netkit-filesystem.SlackBuild | 48 ++++++++++++++++++++++ network/netkit-filesystem/netkit-filesystem.info | 8 ++++ network/netkit-filesystem/slack-desc | 21 ++++++++++ 4 files changed, 83 insertions(+) create mode 100644 network/netkit-filesystem/README create mode 100644 network/netkit-filesystem/netkit-filesystem.SlackBuild create mode 100644 network/netkit-filesystem/netkit-filesystem.info create mode 100644 network/netkit-filesystem/slack-desc (limited to 'network') diff --git a/network/netkit-filesystem/README b/network/netkit-filesystem/README new file mode 100644 index 0000000000..a3382455f1 --- /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 0000000000..d95dff8565 --- /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 +# 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 0000000000..0b09002fca --- /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 0000000000..64a755ce9e --- /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: +: + -- cgit v1.2.3