[Lunar-commits] <moonbase-core> Merge branch 'ifconfig_obsolete'
Stefan Wold
ratler at lunar-linux.org
Fri Jan 4 12:24:59 CET 2013
commit 80be6bc871310575c0d74bdba9e7028143ef3869
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Fri, 04 Jan 2013 03:24:59 -0800
URL: https://github.com/lunar-linux/moonbase-core/commit/80be6bc871310575c0d74bdba9e7028143ef3869
Merge branch 'ifconfig_obsolete'
---
net/inetutils/BUILD | +23/-10
net/inetutils/CONFLICTS | +0/-3
net/inetutils/DEPENDS | +1/-1
net/inetutils/DETAILS | +2/-3
net/iputils/BUILD | +24/-0
net/iputils/DEPENDS | +4/-0
net/iputils/DETAILS | +27/-0
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
net/traceroute/BUILD | +6/-0
net/traceroute/DETAILS | +15/-0
16 files changed
--- a/net/inetutils/BUILD
+++ b/net/inetutils/BUILD
@@ -1,15 +1,28 @@
(
- # To prevent compilation error: undefined reference to `tgetent'
- export LIBS+=" -lncurses" &&
-
- OPTS+=" --disable-servers \
- --disable-ifconfig \
- --disable-tftp \
- --disable-logger \
- --disable-ftp \
- --disable-whois \
- --disable-rpath" &&
+ OPTS+=" --without-wrap \
+ --disable-servers \
+ --disable-ifconfig \
+ --disable-tftp \
+ --disable-tftpd \
+ --disable-logger \
+ --disable-ftp \
+ --disable-whois \
+ --disable-rpath \
+ --disable-rexec \
+ --disable-rexecd \
+ --disable-ping \
+ --disable-ping6 \
+ --disable-inetd \
+ --disable-syslogd \
+ --disable-traceroute \
+ --disable-uucpd \
+ --enable-talk \
+ --enable-hostname \
+ --enable-rsh \
+ --enable-ftp \
+ --enable-telnet \
+ --enable-rcp" &&
# Fixes an incompatibility with glibc-2.16
sedit '/gets is a/d' lib/stdio.in.h &&
--- a/net/inetutils/CONFLICTS
+++ b/net/inetutils/CONFLICTS
@@ -1,4 +1 @@
-conflicts netkit-base
-conflicts iputils
conflicts netkit-telnet
-conflicts traceroute
--- a/net/inetutils/DEPENDS
+++ b/net/inetutils/DEPENDS
@@ -1,5 +1,5 @@
depends ncurses
-
+depends readline
optional_depends "Linux-PAM" \
"--with-pam" \
"--without-pam" \
--- a/net/inetutils/DETAILS
+++ b/net/inetutils/DETAILS
@@ -5,16 +5,15 @@
SOURCE_VFY=sha1:86b7eb11cfdaefb1d4e9bfc10620beaf8f09bc90
WEB_SITE=http://www.gnu.org/software/inetutils
ENTERED=20080429
- UPDATED=20120113
+ UPDATED=20130104
SHORT="A collection of common network programs"
cat << EOF
A collection of common network programs such as:
-ping
-ping6
rsh
rcp
talk
telnet
+hostname
and some other ...
EOF
--- /dev/null
+++ b/net/iputils/BUILD
@@ -0,0 +1,24 @@
+(
+
+ # manpages is manually created and packed by lunar devs
+ tar xvf $SOURCE_CACHE/$SOURCE2 --strip-components=1 &&
+
+ # Set $CFLAGS
+ sedit "s;^CCOPTOPT=;CCOPTOPT=$CFLAGS;" Makefile &&
+ cat Makefile &&
+
+ make &&
+ prepare_install &&
+
+ install -dm755 /usr/{sbin,bin} &&
+ install -m755 clockdiff arping rdisc tracepath tracepath6 traceroute6 rarpd tftpd /usr/sbin/ &&
+ install -m4711 ping ping6 /usr/bin/ &&
+ install -dm755 /usr/share/man/man8 &&
+ install -m644 doc/{clockdiff,arping,rdisc,tracepath,traceroute6,rarpd,ping,tftpd}.8 /usr/share/man/man8/ &&
+
+ ln -sf ping.8.gz /usr/share/man/man8/ping6.8.gz &&
+ ln -sf tracepath.8.gz /usr/share/man/man8/tracepath6.8.gz &&
+
+ gather_docs doc/*.html
+
+) > $C_FIFO 2>&1
--- /dev/null
+++ b/net/iputils/DEPENDS
@@ -0,0 +1,4 @@
+depends libcap
+depends openssl
+depends sysfsutils
+optional_depends "docbook-utils" "" "" "to install the man pages"
--- /dev/null
+++ b/net/iputils/DETAILS
@@ -0,0 +1,27 @@
+ MODULE=iputils
+ VERSION=s20121221
+ SOURCE=$MODULE-$VERSION.tar.bz2
+ SOURCE2=$MODULE-s20121221-manpages.tar.bz2
+ SOURCE_URL=http://www.skbuff.net/iputils
+ SOURCE2_URL=$PATCH_URL
+ WEB_SITE=http://www.skbuff.net/iputils/
+ SOURCE_VFY=sha1:4d56d8c75d6a5d58f052e4056e975f01ebab9ba9
+ SOURCE2_VFY=sha1:e2ccc9bb6bd8dc02b2c5949cc5f1cb4f98a8e564
+ ENTERED=20021106
+ UPDATED=20130104
+ SHORT="Essential utilities for IP networks"
+PSAFE=no
+
+cat << EOF
+arping
+clockdiff
+ipg
+ping
+ping6
+rarpd
+rdisc
+tftpd
+tracepath
+tracepath6
+traceroute6
+EOF
--- 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 $*
--- /dev/null
+++ b/net/traceroute/BUILD
@@ -0,0 +1,6 @@
+(
+
+ sedit "s:/usr/local:/usr:" Make.rules &&
+ default_build
+
+) > $C_FIFO 2>&1
--- /dev/null
+++ b/net/traceroute/DETAILS
@@ -0,0 +1,15 @@
+ MODULE=traceroute
+ VERSION=2.0.18
+ SOURCE=$MODULE-$VERSION.tar.gz
+ SOURCE_URL=$SFORGE_URL/$MODULE
+ SOURCE_VFY=sha1:6bdccfd12f93b89aea53728b3c365db5a4362b6d
+ WEB_SITE=ftp://ftp.ee.lbl.gov
+ ENTERED=20010922
+ UPDATED=20120728
+ SHORT="traces the route Internet packets travel"
+
+cat << EOF
+Traceroute is a system administrator's utility to trace the route ip
+packets, from the current system, take in getting to the destination
+system.
+EOF
More information about the Lunar-commits
mailing list