Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 93276 Details for
Bug 20748
wondershaper / wshaper (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Fixed wondershaper-1.1a.ebuild
wondershaper-1.1a.ebuild (text/plain), 1.56 KB, created by
Michael Cargile
on 2006-08-02 09:45:39 UTC
(
hide
)
Description:
Fixed wondershaper-1.1a.ebuild
Filename:
MIME Type:
Creator:
Michael Cargile
Created:
2006-08-02 09:45:39 UTC
Size:
1.56 KB
patch
obsolete
>inherit eutils > >SKEL="${FILESDIR}/rc.skel-1.1a" >PATCH="${FILESDIR}/wondershaper-1.1a-gentoo.patch" >DESCRIPTION="wondershaper is a QoS script" >HOMEPAGE="http://lartc.org/wondershaper" >SRC_URI="http://lartc.org/wondershaper/wondershaper-1.1a.tar.gz" >LICENSE="GPL-1" >SLOT="0" >KEYWORDS="x86 ~amd64" >DEPEND="sys-apps/iproute2" > > >src_unpack() { > unpack ${A} > epatch ${PATCH} >} > >src_compile() { > tail -n+2 wshaper \ > | awk '/^# Now remove/{firstPartOver=1}{if (! firstPartOver) print $0}' \ > >> wondershaper.config > > for i in wshaper*; do > SCRIPT=${i/wshaper/wondershaper} > cp ${SKEL} ${SCRIPT} > awk '/^if \[/{firstPartOver=1}{if (firstPartOver) print $0}' ${i} \ > | awk ' {addOR=nextAddOR; > nextAddOR=0} > /tc.*add/ {addOR=1} > /\\$/ {nextAddOR=addOR;addOR=0} > {printf("%s",$0); > if (addOR) print " || return 1" > else printf "\n"}' \ > | sed 's/exit/return 0/' >> ${SCRIPT} > echo "}" >> ${SCRIPT} > done >} > >src_install() { > exeinto /etc/init.d/ > doexe wondershaper wondershaper.htb > insinto /etc/conf.d/ > newins wondershaper.config wondershaper > dohard /etc/conf.d/wondershaper /etc/conf.d/wondershaper.htb > dodoc ChangeLog README TODO COPYING VERSION >} >
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 20748
:
11757
|
11758
|
11759
| 93276