diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-02-12 03:16:24 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-02-12 03:16:24 +0000 |
commit | 13f990ce8ea899c2723375d0ffb6764bf2c051da (patch) | |
tree | 4edbeec6f832afed077033b0d1848835c34a4584 /sys-apps/net-tools | |
parent | Initial import. Stripped out of media-sound/xmms. (diff) | |
download | historical-13f990ce8ea899c2723375d0ffb6764bf2c051da.tar.gz historical-13f990ce8ea899c2723375d0ffb6764bf2c051da.tar.bz2 historical-13f990ce8ea899c2723375d0ffb6764bf2c051da.zip |
old
Diffstat (limited to 'sys-apps/net-tools')
-rw-r--r-- | sys-apps/net-tools/files/1.60-Makefile.patch | 67 | ||||
-rw-r--r-- | sys-apps/net-tools/files/1.60-appletalk.patch | 99 | ||||
-rw-r--r-- | sys-apps/net-tools/files/1.60-numeric-ports.patch | 56 | ||||
-rw-r--r-- | sys-apps/net-tools/files/1.60-wide.patch | 136 | ||||
-rw-r--r-- | sys-apps/net-tools/files/digest-net-tools-1.60-r10 | 2 | ||||
-rw-r--r-- | sys-apps/net-tools/net-tools-1.60-r10.ebuild | 118 |
6 files changed, 0 insertions, 478 deletions
diff --git a/sys-apps/net-tools/files/1.60-Makefile.patch b/sys-apps/net-tools/files/1.60-Makefile.patch deleted file mode 100644 index 586f54eb009d..000000000000 --- a/sys-apps/net-tools/files/1.60-Makefile.patch +++ /dev/null @@ -1,67 +0,0 @@ -Let's clean up the Makefile ... we want to: - - make sure COPTS is clean for clobbering with user $CFLAGS - - make sure LOPTS is clean for clobbering with user $LDFLAGS - - remove all references to config.h since we generate it for the - user and we really do NOT want the interactive configure running - - make sure libdir depends on version.h to fix parallel builds - ---- Makefile.orig 2005-01-10 13:11:00.369702792 -0500 -+++ Makefile 2005-01-10 13:15:36.542718112 -0500 -@@ -88,7 +88,7 @@ - - # Compiler and Linker Options - # You may need to uncomment and edit these if you are using libc5 and IPv6. --COPTS = -D_GNU_SOURCE -O2 -Wall -g # -I/usr/inet6/include -+COPTS = - ifeq ($(origin LOPTS), undefined) - LOPTS = - endif -@@ -113,7 +113,7 @@ - - NET_LIB = $(NET_LIB_PATH)/lib$(NET_LIB_NAME).a - --CFLAGS = $(COPTS) -I. -idirafter ./include/ -I$(NET_LIB_PATH) -+CFLAGS = $(COPTS) -I. -idirafter ./include/ -I$(NET_LIB_PATH) -D_GNU_SOURCE -Wall - LDFLAGS = $(LOPTS) -L$(NET_LIB_PATH) - - SUBDIRS = man/ $(NET_LIB_PATH)/ -@@ -127,12 +127,12 @@ - - MDEFINES = COPTS='$(COPTS)' LOPTS='$(LOPTS)' TOPDIR='$(TOPDIR)' - --%.o: %.c config.h version.h intl.h net-features.h $< -+%.o: %.c version.h intl.h net-features.h $< - $(CC) $(CFLAGS) -c $< - --all: config.h version.h subdirs $(PROGS) -+all: version.h subdirs $(PROGS) - --config: cleanconfig config.h -+config: cleanconfig - - install: all savebin installbin installdata - -@@ -159,14 +159,6 @@ - @tar -cvz -f ../net-tools-$(RELEASE).tar.gz -C .. net-tools - - --config.h: config.in Makefile -- @echo "Configuring the Linux net-tools (NET-3 Base Utilities)..." ; echo -- @if [ config.status -nt config.in ]; \ -- then ./configure.sh config.status; \ -- else ./configure.sh config.in; \ -- fi -- -- - version.h: Makefile - @echo "#define RELEASE \"net-tools $(RELEASE)\"" >version.h - -@@ -175,7 +167,7 @@ - - i18n.h: i18ndir - --libdir: -+libdir: version.h - @$(MAKE) -C $(NET_LIB_PATH) $(MDEFINES) - - i18ndir: diff --git a/sys-apps/net-tools/files/1.60-appletalk.patch b/sys-apps/net-tools/files/1.60-appletalk.patch deleted file mode 100644 index a7ec3f92ed54..000000000000 --- a/sys-apps/net-tools/files/1.60-appletalk.patch +++ /dev/null @@ -1,99 +0,0 @@ -Ripped from debian's patchset - ---- net-tools-1.60.orig/lib/ddp_gr.c -+++ net-tools-1.60/lib/ddp_gr.c -@@ -1,3 +1,20 @@ -+/* -+ * lib/ddp_gr.c Prinbting of DDP (AppleTalk) routing table -+ * used by the NET-LIB. -+ * -+ * NET-LIB -+ * -+ * Version: $Id: 1.60-appletalk.patch,v 1.1 2005/01/07 03:40:06 vapier Exp $ -+ * -+ * Author: Ajax <ajax@firest0rm.org> -+ * -+ * Modification: -+ * 2002-06-02 integrated into main source by Bernd Eckenfels -+ * -+ */ -+ -+/* TODO: name lookups (/etc/atalk.names? NBP?) */ -+ - #include "config.h" - - #if HAVE_AFATALK -@@ -16,9 +33,61 @@ - #include "pathnames.h" - #include "intl.h" - -+/* stolen from inet_gr.c */ -+#define flags_decode(i,o) do { \ -+ o[0] = '\0'; \ -+ if (i & RTF_UP) strcat(o, "U"); \ -+ if (i & RTF_GATEWAY) strcat(o, "G"); \ -+ if (i & RTF_REJECT) strcat(o, "!"); \ -+ if (i & RTF_HOST) strcat(o, "H"); \ -+ if (i & RTF_REINSTATE) strcat(o, "R"); \ -+ if (i & RTF_DYNAMIC) strcat(o, "D"); \ -+ if (i & RTF_MODIFIED) strcat(o, "M"); \ -+ if (i & RTF_DEFAULT) strcat(o, "d"); \ -+ if (i & RTF_ALLONLINK) strcat(o, "a"); \ -+ if (i & RTF_ADDRCONF) strcat(o, "c"); \ -+ if (i & RTF_NONEXTHOP) strcat(o, "o"); \ -+ if (i & RTF_EXPIRES) strcat(o, "e"); \ -+ if (i & RTF_CACHE) strcat(o, "c"); \ -+ if (i & RTF_FLOW) strcat(o, "f"); \ -+ if (i & RTF_POLICY) strcat(o, "p"); \ -+ if (i & RTF_LOCAL) strcat(o, "l"); \ -+ if (i & RTF_MTU) strcat(o, "u"); \ -+ if (i & RTF_WINDOW) strcat(o, "w"); \ -+ if (i & RTF_IRTT) strcat(o, "i"); \ -+ if (i & RTF_NOTCACHED) strcat(o, "n"); \ -+ } while (0) -+ - int DDP_rprint(int options) - { -- fprintf(stderr, _("Routing table for `ddp' not yet supported.\n")); -- return (1); -+ FILE *fp; -+ char *dest, *gw, *dev, *flags; -+ char oflags[32]; -+ char *hdr = "Destination Gateway Device Flags"; -+ -+ fp = fopen(_PATH_PROCNET_ATALK_ROUTE, "r"); -+ -+ if (!fp) { -+ perror("Error opening " _PATH_PROCNET_ATALK_ROUTE); -+ fprintf(stderr, "DDP (AppleTalk) not configured on this system.\n"); -+ return 1; -+ } -+ -+ fscanf(fp, "%as %as %as %as\n", &dest, &gw, &flags, &dev); -+ free(dest); free(gw); free(dev); free(flags); -+ -+ printf("%s\n", hdr); -+ -+ while (fscanf(fp, "%as %as %as %as\n", &dest, &gw, &flags, &dev) == 4) { -+ int iflags = atoi(flags); -+ flags_decode(iflags, oflags); -+ printf("%-16s%-16s%-16s%-s\n", dest, gw, dev, oflags); -+ free(dest); free(gw); free(dev); free(flags); -+ } -+ -+ fclose(fp); -+ -+ return 0; -+ - } - #endif ---- net-tools-1.60.orig/lib/pathnames.h -+++ net-tools-1.60/lib/pathnames.h -@@ -45,6 +44,7 @@ - #define _PATH_PROCNET_X25 "/proc/net/x25" - #define _PATH_PROCNET_X25_ROUTE "/proc/net/x25_routes" - #define _PATH_PROCNET_DEV_MCAST "/proc/net/dev_mcast" -+#define _PATH_PROCNET_ATALK_ROUTE "/proc/net/atalk_route" - - /* pathname for the netlink device */ - #define _PATH_DEV_ROUTE "/dev/route" diff --git a/sys-apps/net-tools/files/1.60-numeric-ports.patch b/sys-apps/net-tools/files/1.60-numeric-ports.patch deleted file mode 100644 index c8fbc2567393..000000000000 --- a/sys-apps/net-tools/files/1.60-numeric-ports.patch +++ /dev/null @@ -1,56 +0,0 @@ -Mads Martin Joergensen writes: -According to the manual the option "--numeric-ports" should not -affect host resolution, but it does. All connected hosts are displayed -with numeric values instead of their FQDN. - -http://bugs.gentoo.org/show_bug.cgi?id=76756 - ---- net-tools-1.60/netstat.c -+++ net-tools-1.60/netstat.c -@@ -850,8 +850,8 @@ - txq = 0L; - } - safe_strncpy(local_addr, ap->sprint((struct sockaddr *) &localaddr, -- flag_not), sizeof(local_addr)); -+ flag_not & FLAG_NUM_HOST), sizeof(local_addr)); -- safe_strncpy(rem_addr, ap->sprint((struct sockaddr *) &remaddr, flag_not), -+ safe_strncpy(rem_addr, ap->sprint((struct sockaddr *) &remaddr, flag_not & FLAG_NUM_HOST), - sizeof(rem_addr)); - if (flag_all || (flag_lst && !rem_port) || (!flag_lst && rem_port)) { - snprintf(buffer, sizeof(buffer), "%s", -@@ -1004,7 +1004,7 @@ - if (flag_all || (notnull(remaddr) && !flag_lst) || (!notnull(remaddr) && flag_lst)) - { - safe_strncpy(local_addr, ap->sprint((struct sockaddr *) &localaddr, -- flag_not), sizeof(local_addr)); -+ flag_not & FLAG_NUM_HOST), sizeof(local_addr)); - snprintf(buffer, sizeof(buffer), "%s", - get_sname(htons(local_port), "udp", - flag_not & FLAG_NUM_PORT)); -@@ -1016,7 +1016,7 @@ - snprintf(buffer, sizeof(buffer), "%s", - get_sname(htons(rem_port), "udp", flag_not & FLAG_NUM_PORT)); - safe_strncpy(rem_addr, ap->sprint((struct sockaddr *) &remaddr, -- flag_not), sizeof(rem_addr)); -+ flag_not & FLAG_NUM_HOST), sizeof(rem_addr)); - if ((strlen(rem_addr) + strlen(buffer)) > 22) - rem_addr[22 - strlen(buffer)] = '\0'; - strcat(rem_addr, ":"); -@@ -1126,7 +1126,7 @@ - get_sname(htons(local_port), "raw", - flag_not & FLAG_NUM_PORT)); - safe_strncpy(local_addr, ap->sprint((struct sockaddr *) &localaddr, -- flag_not), sizeof(local_addr)); -+ flag_not & FLAG_NUM_HOST), sizeof(local_addr)); - if ((strlen(local_addr) + strlen(buffer)) > 22) - local_addr[22 - strlen(buffer)] = '\0'; - strcat(local_addr, ":"); -@@ -1135,7 +1135,7 @@ - snprintf(buffer, sizeof(buffer), "%s", - get_sname(htons(rem_port), "raw", flag_not & FLAG_NUM_PORT)); - safe_strncpy(rem_addr, ap->sprint((struct sockaddr *) &remaddr, -- flag_not), sizeof(rem_addr)); -+ flag_not & FLAG_NUM_HOST), sizeof(rem_addr)); - if ((strlen(rem_addr) + strlen(buffer)) > 22) - rem_addr[22 - strlen(buffer)] = '\0'; - strcat(rem_addr, ":"); diff --git a/sys-apps/net-tools/files/1.60-wide.patch b/sys-apps/net-tools/files/1.60-wide.patch deleted file mode 100644 index 13b2557ff8a1..000000000000 --- a/sys-apps/net-tools/files/1.60-wide.patch +++ /dev/null @@ -1,136 +0,0 @@ -comabug@gmail.com writes: - -net-tools' netstat should have a -W flag like FreeBSD. -There is currently no way to get the full hostname from netstat -for local/remote hostnames. - -http://bugs.gentoo.org/show_bug.cgi?id=53731 - -diff -ru net-tools-1.60.orig/man/en_US/netstat.8 net-tools-1.60/man/en_US/netstat.8 ---- net-tools-1.60.orig/man/en_US/netstat.8 2001-01-07 13:43:57.000000000 +0100 -+++ net-tools-1.60/man/en_US/netstat.8 2004-06-12 19:30:55.566822928 +0200 -@@ -24,6 +24,7 @@ - .RB [ \-\-all | \-a ] - .RB [ \-\-numeric | \-n ] - .RB [ \-\-numeric-hosts ] [ \-\-numeric-ports ] [ \-\-numeric-ports ] -+.RB [ \-\-wide | \-W] - .RB [ \-\-symbolic | \-N ] - .RB [ \-\-extend | \-e [ \-\-extend | \-e] ] - .RB [ \-\-timers | \-o ] -@@ -55,6 +56,7 @@ - .RB { \-\-groups | \-g } - .RB [ \-\-numeric | \-n ] - .RB [ \-\-numeric-hosts ] [ \-\-numeric-ports ] [ \-\-numeric-ports ] -+.RB [ \-\-wide | \-W] - .RB [ \-\-continuous | \-c] - .P - .B netstat -@@ -124,6 +126,8 @@ - .SS "\-\-numeric-users" - shows numerical user IDs but does not affect the resolution of host or - port names. -+.SS "\-\-wide , \-W" -+Don't truncate host names. - - .SS "\-\-protocol=\fIfamily \fR, \fB\-A" - Specifies the address families (perhaps better described as low level -diff -ru net-tools-1.60.orig/netstat.c net-tools-1.60/netstat.c ---- net-tools-1.60.orig/netstat.c 2001-04-15 16:41:17.000000000 +0200 -+++ net-tools-1.60/netstat.c 2004-06-12 19:50:23.459276288 +0200 -@@ -149,6 +149,7 @@ - int flag_prg = 0; - int flag_arg = 0; - int flag_ver = 0; -+int flag_wid = 0; - - FILE *procinfo; - -@@ -772,7 +773,7 @@ - get_sname(htons(local_port), "tcp", - flag_not & FLAG_NUM_PORT)); - -- if ((strlen(local_addr) + strlen(buffer)) > 22) -+ if (!flag_wid && ((strlen(local_addr) + strlen(buffer)) > 22)) - local_addr[22 - strlen(buffer)] = '\0'; - - strcat(local_addr, ":"); -@@ -780,7 +781,7 @@ - snprintf(buffer, sizeof(buffer), "%s", - get_sname(htons(rem_port), "tcp", flag_not & FLAG_NUM_PORT)); - -- if ((strlen(rem_addr) + strlen(buffer)) > 22) -+ if (!flag_wid && ((strlen(rem_addr) + strlen(buffer)) > 22)) - rem_addr[22 - strlen(buffer)] = '\0'; - - strcat(rem_addr, ":"); -@@ -922,7 +923,7 @@ - snprintf(buffer, sizeof(buffer), "%s", - get_sname(htons(local_port), "udp", - flag_not & FLAG_NUM_PORT)); -- if ((strlen(local_addr) + strlen(buffer)) > 22) -+ if (!flag_wid && ((strlen(local_addr) + strlen(buffer)) > 22)) - local_addr[22 - strlen(buffer)] = '\0'; - strcat(local_addr, ":"); - strcat(local_addr, buffer); -@@ -931,7 +932,7 @@ - get_sname(htons(rem_port), "udp", flag_not & FLAG_NUM_PORT)); - safe_strncpy(rem_addr, ap->sprint((struct sockaddr *) &remaddr, - flag_not & FLAG_NUM_HOST), sizeof(rem_addr)); -- if ((strlen(rem_addr) + strlen(buffer)) > 22) -+ if (!flag_wid && ((strlen(rem_addr) + strlen(buffer)) > 22)) - rem_addr[22 - strlen(buffer)] = '\0'; - strcat(rem_addr, ":"); - strcat(rem_addr, buffer); -@@ -1041,7 +1042,7 @@ - flag_not & FLAG_NUM_PORT)); - safe_strncpy(local_addr, ap->sprint((struct sockaddr *) &localaddr, - flag_not & FLAG_NUM_HOST), sizeof(local_addr)); -- if ((strlen(local_addr) + strlen(buffer)) > 22) -+ if (!flag_wid && ((strlen(local_addr) + strlen(buffer)) > 22)) - local_addr[22 - strlen(buffer)] = '\0'; - strcat(local_addr, ":"); - strcat(local_addr, buffer); -@@ -1050,7 +1051,7 @@ - get_sname(htons(rem_port), "raw", flag_not & FLAG_NUM_PORT)); - safe_strncpy(rem_addr, ap->sprint((struct sockaddr *) &remaddr, - flag_not & FLAG_NUM_HOST), sizeof(rem_addr)); -- if ((strlen(rem_addr) + strlen(buffer)) > 22) -+ if (!flag_wid && ((strlen(rem_addr) + strlen(buffer)) > 22)) - rem_addr[22 - strlen(buffer)] = '\0'; - strcat(rem_addr, ":"); - strcat(rem_addr, buffer); -@@ -1492,6 +1493,7 @@ - fprintf(stderr, _(" --numeric-hosts don't resolve host names\n")); - fprintf(stderr, _(" --numeric-ports don't resolve port names\n")); - fprintf(stderr, _(" --numeric-users don't resolve user names\n")); -+ fprintf(stderr, _(" -W, --wide don't truncate host names\n")); - fprintf(stderr, _(" -N, --symbolic resolve hardware names\n")); - fprintf(stderr, _(" -e, --extend display other/more information\n")); - fprintf(stderr, _(" -p, --programs display PID/Program name for sockets\n")); -@@ -1541,6 +1543,7 @@ - {"numeric-hosts", 0, 0, '!'}, - {"numeric-ports", 0, 0, '@'}, - {"numeric-users", 0, 0, '#'}, -+ {"wide", 0, 0, 'W'}, - {"symbolic", 0, 0, 'N'}, - {"cache", 0, 0, 'C'}, - {"fib", 0, 0, 'F'}, -@@ -1556,7 +1559,7 @@ - getroute_init(); /* Set up AF routing support */ - - afname[0] = '\0'; -- while ((i = getopt_long(argc, argv, "MCFA:acdegphinNorstuVv?wxl", longopts, &lop)) != EOF) -+ while ((i = getopt_long(argc, argv, "MCFA:acdegphinWNorstuVv?wxl", longopts, &lop)) != EOF) - switch (i) { - case -1: - break; -@@ -1612,6 +1615,9 @@ - case '#': - flag_not |= FLAG_NUM_USER; - break; -+ case 'W': -+ flag_wid++; -+ break; - case 'N': - flag_not |= FLAG_SYM; - break; diff --git a/sys-apps/net-tools/files/digest-net-tools-1.60-r10 b/sys-apps/net-tools/files/digest-net-tools-1.60-r10 deleted file mode 100644 index 0a4ac9ee6c4e..000000000000 --- a/sys-apps/net-tools/files/digest-net-tools-1.60-r10 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 888774accab40217dde927e21979c165 net-tools-1.60.tar.bz2 198520 -MD5 d733ef8b0bad3dbd0cf98e14b45fe1a6 net-tools-1.60-gentoo-extra-1.tar.bz2 10370 diff --git a/sys-apps/net-tools/net-tools-1.60-r10.ebuild b/sys-apps/net-tools/net-tools-1.60-r10.ebuild deleted file mode 100644 index bc80f4a1a1b1..000000000000 --- a/sys-apps/net-tools/net-tools-1.60-r10.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/net-tools/net-tools-1.60-r10.ebuild,v 1.2 2005/01/10 18:30:53 vapier Exp $ - -inherit flag-o-matic toolchain-funcs eutils - -DESCRIPTION="Standard Linux networking tools" -HOMEPAGE="http://sites.inka.de/lina/linux/NetTools/" -SRC_URI="http://www.tazenda.demon.co.uk/phil/net-tools/${P}.tar.bz2 - mirror://gentoo/${P}-gentoo-extra-1.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="nls build static uclibc" - -RDEPEND="" -DEPEND="nls? ( sys-devel/gettext ) - >=sys-apps/sed-4" - -src_unpack() { - PATCHDIR=${WORKDIR}/${P}-gentoo - - unpack ${A} - cd ${S} - - # Compile fix for 2.6 kernels - epatch ${FILESDIR}/net-tools-1.60-2.6-compilefix.patch - epatch ${FILESDIR}/${PV}-gcc34.patch #48167 - epatch ${FILESDIR}/net-tools-1.60-cleanup-list-handling.patch - - # Stack smashing attack in if_readlist_proc() from ifconfig - bug #58633 - epatch ${FILESDIR}/net-tools-1.60-get_name.patch - - # some redhat patches - epatch ${PATCHDIR}/net-tools-1.54-ipvs.patch - epatch ${PATCHDIR}/net-tools-1.57-bug22040.patch - epatch ${PATCHDIR}/net-tools-1.60-manydevs.patch - epatch ${PATCHDIR}/net-tools-1.60-miiioctl.patch - epatch ${PATCHDIR}/net-tools-1.60-virtualname.patch - epatch ${PATCHDIR}/net-tools-1.60-cycle.patch - - # GCC-3.3 Compile Fix - epatch ${PATCHDIR}/${P}-multiline-string.patch - - # Misc patches, see headers of patches for more info - epatch ${FILESDIR}/${PV}-man.patch #29677 - epatch ${FILESDIR}/${PV}-numeric-ports.patch #76756 - epatch ${FILESDIR}/${PV}-appletalk.patch #debian - epatch ${FILESDIR}/${PV}-wide.patch #53731 - - cp ${PATCHDIR}/net-tools-1.60-config.h config.h - cp ${PATCHDIR}/net-tools-1.60-config.make config.make - - if use static ; then - append-flags -static - append-ldflags -static - fi - - epatch "${FILESDIR}"/${PV}-Makefile.patch - sed -i \ - -e "/^COPTS =/s:=:=${CFLAGS}:" \ - -e "/^LOPTS =/s:=:=${LDFLAGS}:" \ - Makefile || die "sed FLAGS Makefile failed" - sed -i \ - -e "s:/usr/man:/usr/share/man:" \ - man/Makefile || die "sed man/Makefile failed" - - if ! use uclibc ; then - cp -f ${PATCHDIR}/ether-wake.c ${S} - cp -f ${PATCHDIR}/ether-wake.8 ${S}/man/en_US - fi - - if ! use nls ; then - sed -i -e 's:\(#define I18N\) 1:\1 0:' config.h \ - || die "sed config.h failed" - sed -i -e 's:I18N=1:I18N=0:' config.make \ - || die "sed config.make failed" - fi -} - -src_compile() { - tc-export CC - emake libdir || die "emake libdir failed" - emake || die "emake failed" - - if use nls ; then - emake i18ndir || die "emake i18ndir failed" - fi - - if ! use uclibc ; then - $(tc-getCC) ${CFLAGS} -o ether-wake ether-wake.c || die "ether-wake failed to build" - fi -} - -src_install() { - make BASEDIR="${D}" install || die "make install failed" - - if ! use uclibc ; then - dosbin ether-wake || die "dosbin failed" - fi - mv ${D}/bin/* ${D}/sbin || die "mv failed" - mv ${D}/sbin/{hostname,domainname,netstat,dnsdomainname,ypdomainname,nisdomainname} ${D}/bin \ - || die "mv failed" - use uclibc && rm -f ${D}/bin/{yp,nis}domainname - dodir /usr/bin - dosym /bin/hostname /usr/bin/hostname - - if ! use build - then - dodoc README README.ipv6 TODO - else - #only install /bin/hostname - rm -rf ${D}/usr ${D}/sbin - rm -f ${D}/bin/{domainname,netstat,dnsdomainname} - rm -f ${D}/bin/{ypdomainname,nisdomainname} - fi -} |