Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 4208 Details for
Bug 7994
Patch to net-tools to allow mii-tool to activate/deactive interfaces based on media
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Modified ebuild to incorporate patches and init script
net-tools-1.60-r4.ebuild (text/plain), 2.03 KB, created by
Pat Double
on 2002-09-26 07:44:29 UTC
(
hide
)
Description:
Modified ebuild to incorporate patches and init script
Filename:
MIME Type:
Creator:
Pat Double
Created:
2002-09-26 07:44:29 UTC
Size:
2.03 KB
patch
obsolete
># Copyright 1999-2002 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License, v2 or later ># $Header: /home/cvsroot/gentoo-x86/sys-apps/net-tools/net-tools-1.60-r4.ebuild,v 1.6 2002/09/14 15:51:25 bjb Exp $ > >S=${WORKDIR}/${P} >DESCRIPTION="standard Linux network tools" >SRC_URI="http://www.tazenda.demon.co.uk/phil/net-tools/${P}.tar.bz2" >HOMEPAGE="http://sites.inka.de/lina/linux/NetTools/" >KEYWORDS="x86 ppc sparc sparc64 alpha" >SLOT="0" >LICENSE="GPL-2" > >DEPEND="virtual/glibc > nls? ( sys-devel/gettext )" > >src_unpack() { > unpack ${A} > cat ${FILESDIR}/net-tools-1.60-mii-tool-activate.patch | patch -d ${S} -p1 > cd ${S} > cp ${FILESDIR}/config.h . > cp ${FILESDIR}/config.make . > cp Makefile Makefile.orig > sed -e "s/-O2 -Wall -g/${CFLAGS}/" Makefile.orig > Makefile > cd man > cp Makefile Makefile.orig > sed -e "s:/usr/man:/usr/share/man:" Makefile.orig > Makefile > > if [ -z "`use nls`" ] > then > cd ${S} > mv config.h config.h.orig > sed 's:\(#define I18N\) 1:\1 0:' config.h.orig > config.h > > mv config.make config.make.orig > sed 's:I18N=1:I18N=0:' config.make.orig > config.make > fi > >} > >src_compile() { > # Changing "emake" to "make" closes half of bug #820; configure is run from *inside* > # the Makefile, sometimes breaking parallel makes (if ./configure doesn't finish first) > > make || die > > if [ "`use nls`" ] > then > cd po > make || die > fi >} > >src_install() { > make BASEDIR=${D} install || die > mv ${D}/bin/* ${D}/sbin > for i in hostname domainname netstat dnsdomainname ypdomainname nisdomainname > do > mv ${D}/sbin/${i} ${D}/bin > done > dodir /usr/bin > dosym /bin/hostname /usr/bin/hostname > if [ -z "`use bootcd`" ] && [ -z "`use build`" ] > then > dodoc COPYING README README.ipv6 TODO > else > #only install /bin/hostname > rm -rf ${D}/usr > rm -rf ${D}/sbin > rm -f ${D}/bin/{domainname,netstat,dnsdomainname} > rm -f ${D}/bin/{ypdomainname,nisdomainname} > fi > > exeinto /etc/init.d ; newexe ${FILESDIR}/netlinkactivate-init.d netlinkactivate > insinto /etc/conf.d > newins ${FILESDIR}/netlinkactivate-conf.d netlinkactivate >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7994
:
3957
|
4205
|
4206
|
4207
| 4208 |
4476
|
6581