Opened 11 years ago
Closed 11 years ago
#4720 closed defect (fixed)
Net-tools-CVS_20101030 ovewrites ifconfig and hostname installed in LFS
Reported by: | Armin K | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.5 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
Should be disabled or what.
Change History (7)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
wicd still uses it for mii-tool from what I've seen. That's why I installed it in the first place.
comment:3 by , 11 years ago
I took a look at the Makefile and almost everything is hard coded. We can suppress building ifconfig and hostname fairly easily, but the Makefile does:
install -m 0755 hostname ${BASEDIR}/bin install -m 0755 ifconfig ${BASEDIR}/sbin ln -fs hostname $(BASEDIR)/bin/dnsdomainname ln -fs hostname $(BASEDIR)/bin/ypdomainname ln -fs hostname $(BASEDIR)/bin/nisdomainname ln -fs hostname $(BASEDIR)/bin/domainname ifeq ($(HAVE_AFDECnet),1) ln -fs hostname $(BASEDIR)/bin/nodename endif
If all these are suppressed, then the installation of the man pages needs to be adjusted to not install everything. For mii-tool, it might just be easier to do:
gcc -o mii-tool -O2 -fno-strict-aliasing -I ./include -fno-strict-aliasing \ -D_GNU_SOURCE mii-tool.c cp -v mii-tool /sbin cp -v man/en_US/mii-tool.8 /usr/share/man/man8
comment:4 by , 11 years ago
Milestone: | 7.6 → 7.5 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:5 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | assigned → new |
comment:6 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:7 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Created a patch to avoid installing hostname, symbolic links to hostname, ifconfig, and their man pages.
Fixed at revision 12801.
Note:
See TracTickets
for help on using tickets.
We should probably just drop the package. The utils I use are ifconfig, route, and netstat. I can use ip for route and ss for netstat. ifconfig is a part of iproute2 (is that new), so I don't need any of the other tools.
Others may have a different opinion.