summaryrefslogtreecommitdiff
path: root/repo/util/net-tools.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
committerdavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
commit739c65c54cb0e957df5e9b76f93fb02554e5cac3 (patch)
tree09ddfa0a342f3ea9de136cb50abdd79821bf1b53 /repo/util/net-tools.xibuild
parent4c585ad54388285500fd18a6aaa516894e0f2c16 (diff)
moved everything to new file formatting
Diffstat (limited to 'repo/util/net-tools.xibuild')
-rw-r--r--repo/util/net-tools.xibuild78
1 files changed, 0 insertions, 78 deletions
diff --git a/repo/util/net-tools.xibuild b/repo/util/net-tools.xibuild
deleted file mode 100644
index 0b1d792..0000000
--- a/repo/util/net-tools.xibuild
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/bin/sh
-
-MAKEDEPS="make utmps "
-DEPS="pam libcap readline ncurses libxcrypt iana-etc net-tools"
-
-PKG_VER=2.10
-SOURCE=https://github.com/ecki/net-tools
-ADDITIONAL="
-"
-
-DESC="Linux networking base tools"
-
-prepare () {
- sed -i lib/inet_sr.c \
- -e "/#include <sys\/param.h>/a #include <asm\/param.h>"
- sed -i netstat.c \
- -e "/#include <sys\/param.h>/a #include <asm\/param.h>"
-
- sed -i slattach.c \
- -e "/#include <limits.h>/a #include <termios.h>"
-
-
- cat > config.make <<EOF
-# I18N=0
-HAVE_AFUNIX=1
-HAVE_AFINET=1
-HAVE_AFINET6=1
-# HAVE_AFIPX=0
-# HAVE_AFATALK=0
-# HAVE_AFAX25=0
-HAVE_AFNETROM=1
-# HAVE_AFROSE=0
-# HAVE_AFX25=0
-# HAVE_AFECONET=0
-# HAVE_AFDECnet=0
-# HAVE_AFASH=0
-# HAVE_AFBLUETOOTH=0
-HAVE_HWETHER=1
-# HAVE_HWARC=0
-HAVE_HWSLIP=1
-HAVE_HWPPP=1
-HAVE_HWTUNNEL=1
-# HAVE_HWSTRIP=0
-# HAVE_HWTR=0
-# HAVE_HWAX25=0
-# HAVE_HWROSE=0
-HAVE_HWNETROM=1
-# HAVE_HWX25=0
-# HAVE_HWFR=0
-# HAVE_HWSIT=0
-# HAVE_HWFDDI=0
-# HAVE_HWHIPPI=0
-# HAVE_HWASH=0
-# HAVE_HWHDLCLAPB=0
-# HAVE_HWIRDA=0
-# HAVE_HWEC=0
-# HAVE_HWEUI64=0
-# HAVE_HWIB=0
-HAVE_FW_MASQUERADE=1
-HAVE_ARP_TOOLS=1
-HAVE_HOSTNAME_TOOLS=1
-HAVE_HOSTNAME_SYMLINKS=1
-HAVE_IP_TOOLS=1
-HAVE_MII=1
-HAVE_PLIP_TOOLS=1
-HAVE_SERIAL_TOOLS=1
-EOF
- sed -n -e 's/^\(HAVE.*\)=\(.*\)/#define \1 \2/p' config.make > config.h
-
-}
-
-build () {
- yes "" | make
-}
-
-package () {
- make DESTDIR=$PKG_DEST install
-}