Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 129602 Details for
Bug 143535
net-misc/moblock (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
script to extract lists/mirrors from p2g conf
hack-p2g-conf.sh (text/plain), 653 bytes, created by
Daniel Santos
on 2007-08-30 07:40:40 UTC
(
hide
)
Description:
script to extract lists/mirrors from p2g conf
Filename:
MIME Type:
Creator:
Daniel Santos
Created:
2007-08-30 07:40:40 UTC
Size:
653 bytes
patch
obsolete
>#!/bin/bash > >filter() { > # First remove the things we know we don't want before filtering for what > # we do to make sure we get rid of any other crap. > > egrep -v '<(Enabled|Type|LastUpdate|FailedUpdate|List|/List|Lists|/Lists)>' \ > | egrep '<(Url|Description)>' \ > | perl -pe ' > s/^\s+<Url>//; > s/^\s+<Description>//; > s/<\/Url>\s+/\t/; > s/<\/Description>//; > ' \ > | sort -u >} > >main () { > echo 'BLOCKLISTSERVERS="' > filter < $1 \ > | perl -pe 's/^(.+)\/.+/\t$1/' \ > | sort -u > echo '"' > echo > > filter < $1 \ > | perl -pe 's/^.+\/(.+?)\.\w+\t(.+)/$1\t$2/' \ > | sort -u \ > | perl -pe 's/(.+)\t(.+)/# $2\nBLOCKLISTS+="$1 "\n/' >} > >main "$@"
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 143535
:
94168
|
102477
|
123081
|
129597
|
129601
|
129602
|
129660
|
129824
|
135230
|
140004
|
143160
|
162794
|
187672
|
202755
|
202771
|
202826
|
203869