Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
net-tools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
net-tools
Commits
fbc11bb9
Commit
fbc11bb9
authored
Feb 15, 2016
by
Mike Frysinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arp/rarp: add a config knob to control them
parent
2cc98e16
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
Makefile
Makefile
+8
-3
config.in
config.in
+1
-0
man/Makefile
man/Makefile
+3
-0
No files found.
Makefile
View file @
fbc11bb9
...
...
@@ -33,9 +33,12 @@ SBINDIR ?= /sbin
NET_LIB_PATH
=
lib
NET_LIB_NAME
=
net-tools
PROGS
:=
ifconfig
hostname
arp netstat route rarp
slattach plipconfig nameif
PROGS
:=
ifconfig
hostname
netstat route
slattach plipconfig nameif
-include
config.make
ifeq
($(HAVE_ARP_TOOLS),1)
PROGS
+=
arp rarp
endif
ifeq
($(HAVE_IP_TOOLS),1)
PROGS
+=
iptunnel ipmaddr
endif
...
...
@@ -201,15 +204,17 @@ installbin:
@
echo
install
-m
0755
-d
${BASEDIR}${SBINDIR}
install
-m
0755
-d
${BASEDIR}${BINDIR}
install
-m
0755 arp
${BASEDIR}${SBINDIR}
install
-m
0755
hostname
${BASEDIR}${BINDIR}
install
-m
0755 ifconfig
${BASEDIR}${BINDIR}
install
-m
0755 nameif
${BASEDIR}${SBINDIR}
install
-m
0755 netstat
${BASEDIR}${BINDIR}
install
-m
0755 plipconfig
$(BASEDIR)${SBINDIR}
install
-m
0755 rarp
${BASEDIR}${SBINDIR}
install
-m
0755 route
${BASEDIR}${BINDIR}
install
-m
0755 slattach
$(BASEDIR)${SBINDIR}
ifeq
($(HAVE_ARP_TOOLS),1)
install
-m
0755 arp
${BASEDIR}${SBINDIR}
install
-m
0755 rarp
${BASEDIR}${SBINDIR}
endif
ifeq
($(HAVE_IP_TOOLS),1)
install
-m
0755 ipmaddr
$(BASEDIR)${SBINDIR}
install
-m
0755 iptunnel
$(BASEDIR)${SBINDIR}
...
...
config.in
View file @
fbc11bb9
...
...
@@ -90,6 +90,7 @@ bool 'InfiniBand hardware support' HAVE_HWIB y
* Other Features.
*
bool 'IP Masquerading support' HAVE_FW_MASQUERADE y
bool 'Build arp and rarp' HAVE_ARP_TOOLS y
bool 'Build iptunnel and ipmaddr' HAVE_IP_TOOLS y
bool 'Build mii-tool' HAVE_MII y
bool 'SELinux support' HAVE_SELINUX n
man/Makefile
View file @
fbc11bb9
...
...
@@ -40,6 +40,9 @@ LANGS = en_US
endif
IGNORE_CMDS
=
""
ifneq
($(HAVE_ARP_TOOLS),1)
IGNORE_CMDS
+=
|arp.?|rarp.?
endif
ifneq
($(HAVE_IP_TOOLS),1)
IGNORE_CMDS
+=
|ipmaddr.?|iptunnel.?
endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment