Package list debian-goodies / 877775b
Imported Debian version 0.34 Javier Fernandez-Sanguino 9 years ago
2 changed file(s) with 13 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
3838 import pwd
3939 import sys
4040 import string
41 import subprocess
4142
4243 if os.getuid() != 0:
4344 sys.stderr.write('This program must be run as root\n')
8081 print "(%d distinct programs)" % len(programs)
8182
8283 packages = {}
83 #dpkgQuery = 'dpkg-query --search ' + ' '.join(programs.keys())
8484 diverted = None
85 dpkgQuery = 'dpkg --search ' + ' '.join(programs.keys())
86 for line in os.popen(dpkgQuery).readlines():
85 dpkgQuery = ["dpkg", "--search"] + programs.keys()
86 dpkgProc = subprocess.Popen(dpkgQuery, stdout=subprocess.PIPE)
87 for line in dpkgProc.stdout.readlines():
8788 if line.startswith('local diversion'):
8889 continue
8990
0 debian-goodies (0.34) unstable; urgency=high
1
2 * Fix security bug that enables users to generate files in the
3 filesystem with shell metacharacters and have the checkrestart
4 script run external code (as root, since the script will only
5 run as admin) (Closes: 440411)
6
7 -- Javier Fernandez-Sanguino Pen~a <jfs@debian.org> Sun, 02 Sep 2007 23:07:30 +0200
8
09 debian-goodies (0.33) unstable; urgency=low
110
211 * Added description of demany in debian/control