[Lunar-commits] <moonbase-core> net-tools: Obsolete, moving to other/net
Stefan Wold
ratler at lunar-linux.org
Wed Jan 2 19:49:37 CET 2013
commit 816d1be7b732101a5eee69639350b5d2ea2995ab
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Wed, 02 Jan 2013 10:49:37 -0800
URL: https://github.com/lunar-linux/moonbase-core/commit/816d1be7b732101a5eee69639350b5d2ea2995ab
net-tools: Obsolete, moving to other/net
---
net/net-tools/BUILD | +0/-32
net/net-tools/CONFIGURE | +0/-21
net/net-tools/DEPENDS | +0/-4
net/net-tools/DETAILS | +0/-53
net/net-tools/POST_INSTALL | +0/-10
net/net-tools/ifdown | +0/-5
net/net-tools/ifup | +0/-5
7 files changed, 130 deletions(-)
--- a/net/net-tools/BUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-(
-
- patch_it $SOURCE2 1 &&
- patch_it $SOURCE3 0 &&
- patch_it $SOURCE4 1 &&
- patch_it $SOURCE5 1 &&
- sedit "s/-O2/$CFLAGS/" Makefile &&
- sedit "s/LOPTS = /LOPTS = $LDFLAGS -s/" Makefile &&
-
- # Do not add debug data to protect against hacking
- # and stop chkrootkit from reporting false positive
- sedit "s/-g//" Makefile &&
-
- if [ -f $CONFIG_CACHE/net-tools.config.h ]; then
- cp $CONFIG_CACHE/net-tools.config.h config.h
- else
- if [ "$(get_module_config AUTOCONF)" == "y" ]; then
- NET_TOOLS_AUTOCONF=1 ./configure.sh config.in
- else
- ./configure.sh config.in
- fi &&
- cp config.h $CONFIG_CACHE/net-tools.config.h
- fi &&
-
- make &&
- prepare_install &&
-
- make BASEDIR=/ install &&
- install -m 755 $SCRIPT_DIRECTORY/ifup /sbin &&
- install -m 755 $SCRIPT_DIRECTORY/ifdown /sbin
-
-) > $C_FIFO 2>&1
--- a/net/net-tools/CONFIGURE
+++ /dev/null
@@ -1,21 +0,0 @@
-if ! grep -q CONFIGURED $MODULE_CONFIG; then
-
- if [ -f $CONFIG_CACHE/net-tools.config.h ]; then
- if query "Reconfigure net-tools?" n; then
- rm -f $CONFIG_CACHE/net-tools.config.h
- if query "Auto configure net-tools?" y; then
- echo 'AUTOCONF="y"' >> $MODULE_CONFIG
- fi
- fi
- else
- if query "Auto configure net-tools?" y; then
- echo 'AUTOCONF="y"' >> $MODULE_CONFIG
- fi
- fi
-
- if query "Do you want to configure your network?" n; then
- echo 'RUN_LNET="y"' >> $MODULE_CONFIG
- fi
-
- echo 'CONFIGURED="y"' >> $MODULE_CONFIG
-fi
--- a/net/net-tools/DEPENDS
+++ /dev/null
@@ -1,4 +0,0 @@
-#for boot-strapping purposes:
-depends coreutils
-
-optional_depends "gettext" "" "" "for i18n internationalization support"
--- a/net/net-tools/DETAILS
+++ /dev/null
@@ -1,53 +0,0 @@
- MODULE=net-tools
- VERSION=1.60
- SOURCE=$MODULE-$VERSION.tar.bz2
- SOURCE2=$MODULE-$VERSION-gcc-3.3-fix1.patch.bz2
- SOURCE3=gcc34_net-tools_lunar.patch
- SOURCE4=$MODULE-autoconf.patch.gz
- SOURCE5=$MODULE-$VERSION-fixes.patch.gz
- SOURCE_URL[0]=http://www.tazenda.demon.co.uk/phil/net-tools/
- SOURCE2_URL[0]=$PATCH_URL
- SOURCE3_URL=$PATCH_URL
- SOURCE4_URL=$PATCH_URL
- SOURCE5_URL=$PATCH_URL
- SOURCE_VFY=sha1:944fb70641505d5d1139dba3aeb81ba124574b83
- SOURCE2_VFY=sha1:44ee3a0c517a4e67d8d746cd05683bd9f10836b7
- SOURCE3_VFY=sha1:b23cc7946f2b4e8cfac1adfa6a1ea29e11ba18fa
- SOURCE4_VFY=sha1:cdd26d5729491a5a12a45b657e6ca4f85cbda7a5
- SOURCE5_VFY=sha1:61336ad568a415385f24788b30039f746977d28c
- WEB_SITE=http://www.tazenda.demon.co.uk/phil/net-tools
- MAINTAINER=kc8apf at kc8apf.net
- ENTERED=20010922
- UPDATED=20080303
- SHORT="net-tools contains essential tools for networking."
-PSAFE=no
-LUNAR_RESTART_SERVICES=off
-cat << EOF
-The Net-tools package contains the arp, hostname, ifconfig, netstat,
-plipconfig rarp, route, and slattach programs.
-
-arp is used to manipulate the kernel's ARP cache, usually to add or
-delete an entry, or to dump the ARP cache.
-
-hostname, with its symlinks domainname, dnsdomainname, nisdomainname,
-ypdomainname, and nodename, is used to set or show the system's hostname
-(or other, depending on the symlink used).
-
-The ifconfig command is the general command used to configure network
-interfaces.
-
-netstat is a multi-purpose tool used to print the network connections,
-routing tables, interface statistics, masquerade connections, and
-multicast memberships.
-
-plipconfig is used to fine-tune the PLIP device parameters, hopefully
-making it faster.
-
-rarp, akin to the arp program, manipulates the system's RARP table.
-
-route is the general utility which is used to manipulate the IP routing
-table.
-
-slattach attaches a network interface to a serial line, i.e.. puts a
-normal terminal line into one of several "network" modes.
-EOF
--- a/net/net-tools/POST_INSTALL
+++ /dev/null
@@ -1,10 +0,0 @@
-# This is going to make the migration to lunar-init way easier
-
-mkdir -p /etc/config.d/{network,bonding}
-mkdir -p /var/run
-
-if [ "$(get_module_config RUN_LNET)" == "y" ]; then
- unset_module_config RUN_LNET
- /usr/sbin/lnet || true
-fi
-
--- a/net/net-tools/ifdown
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-INTERFACE="$1"
-shift
-ifconfig $INTERFACE down $*
--- a/net/net-tools/ifup
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-INTERFACE="$1"
-shift
-ifconfig $INTERFACE up $*
More information about the Lunar-commits
mailing list