diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-09-01 23:05:26 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-09-01 23:05:26 +0000 |
commit | 39a5b78f8797ded2c50107a77794cd671dff707f (patch) | |
tree | 39f650e2e85c255908675444e0ce32d9639f251f /net/ris/files/patch-infparser.py | |
parent | Remove non staged ports without pending PR from net-im and net-mgmt (diff) |
Remove non staged ports without pending PR from net-p2p, net and news
Notes
Notes:
svn path=/head/; revision=366967
Diffstat (limited to 'net/ris/files/patch-infparser.py')
-rw-r--r-- | net/ris/files/patch-infparser.py | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/net/ris/files/patch-infparser.py b/net/ris/files/patch-infparser.py deleted file mode 100644 index 926bf33d58df..000000000000 --- a/net/ris/files/patch-infparser.py +++ /dev/null @@ -1,38 +0,0 @@ ---- infparser.py.orig 2010-01-07 20:00:17.171071673 +0300 -+++ infparser.py 2010-01-07 20:02:24.200743110 +0300 -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#! @PYTHON_CMD@ - # -*- Mode: Python; tab-width: 4 -*- - # - # Inf Driver parser -@@ -312,28 +312,6 @@ - print format_exc() - print '---- CUT HERE ----' - -- print 'Compiled %d drivers' % len(devlist) -- -- fd = open('devlist.cache', 'wb') -+ fd = open('@DEVLIST_CACHE@', 'wb') - dump(devlist, fd) - fd.close() -- print 'generated devlist.cache' -- -- fd = open('nics.txt', 'w') -- drvhash = {} -- for nic in devlist.items(): -- entry = nic[0].split('&') -- if len(entry) < 2: continue # just to be sure -- if not entry[0].startswith('PCI'): continue # skip usb -- vid = entry[0].split('VEN_').pop().lower() -- pid = entry[1].split('DEV_').pop().lower() -- key = (vid, pid) -- line = '%4s %4s %s %s\n' % (vid, pid, nic[1]['drv'], nic[1]['svc']) -- drvhash[key] = line -- -- drvlist = drvhash.values() -- drvlist.sort() -- fd.writelines(drvlist) -- fd.close() -- -- print 'generated nics.txt' |