>SP> Now I'll try to write namcap module to check this...
I suggest change namcap valid directory list to:
--- directoryname.py.org 2007-07-24 07:55:32.000000000 +0400
+++ directoryname.py 2007-09-06 13:51:06.000000000 +0400
@@ -27,7 +27,7 @@
def prereq(self):
return "tar"
def analyze(self, pkginfo, tar):
- valid_paths = ['etc/', 'usr/bin/', 'usr/sbin/', 'usr/lib',
'usr/include/', 'usr/man/', 'usr/share/', 'opt/', '.PKGINFO', '.INSTALL',
'.FILELIST', '._install', 'usr/X11R6/bin/', 'usr/X11R6/include/',
'usr/X11R6/lib/', 'usr/X11R6/man/', 'usr/X11R6/share/', 'lib', 'sbin/']
+ valid_paths = ['etc/', 'usr/bin/', 'usr/sbin/', 'usr/lib',
'usr/include/', 'usr/man/', 'usr/share/', 'opt/', '.PKGINFO', '.INSTALL',
'.FILELIST', '._install', 'lib/', 'bin/', 'sbin/', 'srv/', 'var/lib/',
'var/opt/']
ret = [[],[],[]]
for i in tar.getnames():
# Replace multiple /'s at the end of a string with a
single /
_______________________________________________
arch mailing list
[email protected]
http://archlinux.org/mailman/listinfo/arch