From 9e56b7367aa46683f099b0737b839cc02622a8f8 Mon Sep 17 00:00:00 2001 From: "Murat D. Kadirov" Date: Wed, 12 May 2010 17:43:56 +0200 Subject: [PATCH] network/netkit-kernel: Updated for version K2.6 --- network/netkit-kernel/README | 3 +-- .../netkit-kernel/netkit-kernel.SlackBuild | 26 ++++++++++++++++--- network/netkit-kernel/netkit-kernel.info | 8 +++--- network/netkit-kernel/slack-desc | 5 ++-- 4 files changed, 30 insertions(+), 12 deletions(-) diff --git a/network/netkit-kernel/README b/network/netkit-kernel/README index 4d7045f571..6ae38b9ccb 100644 --- a/network/netkit-kernel/README +++ b/network/netkit-kernel/README @@ -1,5 +1,4 @@ -This is the Netkit UML kernel K2.5 (part of NetKit available from -SlackBuild.org). +This script builds the Netkit UML kernel. Netkit virtual machines use the special file provided with this package as their own kernel. This file is a vanilla Linux kernel which has been diff --git a/network/netkit-kernel/netkit-kernel.SlackBuild b/network/netkit-kernel/netkit-kernel.SlackBuild index 530f68ba1e..9c82ba0f08 100644 --- a/network/netkit-kernel/netkit-kernel.SlackBuild +++ b/network/netkit-kernel/netkit-kernel.SlackBuild @@ -4,15 +4,33 @@ # Written by Murat D. Kadirov # This script is just a binary repackaging. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=netkit-kernel -PRGNAM_proj=netkit -PRGNAM_ker=kernel -VERSION=K2.5 +VERSION=K2.6 ARCH=i386 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PRGNAM_proj=netkit +PRGNAM_ker=kernel + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -24,7 +42,7 @@ rm -rf $PKG mkdir -p $TMP $PKG/opt/$PRGNAM_proj $OUTPUT cd $TMP rm -rf $PRGNAM_proj/$PRGNAM_ker -tar -xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar -xvf $CWD/$PRGNAM-$ARCH-$VERSION.tar.bz2 cd $PRGNAM_proj/$PRGNAM_ker chown -R root:root . find . \ diff --git a/network/netkit-kernel/netkit-kernel.info b/network/netkit-kernel/netkit-kernel.info index d623b7cb3b..c858794dfc 100644 --- a/network/netkit-kernel/netkit-kernel.info +++ b/network/netkit-kernel/netkit-kernel.info @@ -1,8 +1,8 @@ PRGNAM="netkit-kernel" -VERSION="K2.5" +VERSION="K2.6" HOMEPAGE="http://www.netkit.org" -DOWNLOAD="http://www.netkit.org/download/netkit-kernel/netkit-kernel-K2.5.tar.bz2" -MD5SUM="8a5a8043415b48f3310a0afff26d6bac" +DOWNLOAD="http://www.netkit.org/download/netkit-kernel/netkit-kernel-i386-K2.6.tar.bz2" +MD5SUM="e924fd721cc3685ba3e6d3b4fa3b0479" MAINTAINER="Murat D. Kadirov" EMAIL="banderols@gmail.com" -APPROVED="dsomero" +APPROVED="rworkman" diff --git a/network/netkit-kernel/slack-desc b/network/netkit-kernel/slack-desc index 23c4940de0..8142bf307a 100644 --- a/network/netkit-kernel/slack-desc +++ b/network/netkit-kernel/slack-desc @@ -6,7 +6,7 @@ # leave one space after the ':'. |-----handy-ruler------------------------------------------------| -netkit-kernel: netkit-kernel (Netkit UML kernel K2.5) +netkit-kernel: netkit-kernel (Netkit UML kernel) netkit-kernel: netkit-kernel: Netkit is a self-contained environment that makes it easy and netkit-kernel: costless to emulate complex network configurations on a single @@ -17,5 +17,6 @@ netkit-kernel: netkit-kernel: netkit-kernel: netkit-kernel: -: + +