[csw-devel] SF.net SVN: gar:[12475] csw/mgar/gar/v2/lib/python/checkpkg.py

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sun Jan 9 22:34:59 CET 2011


Revision: 12475
          http://gar.svn.sourceforge.net/gar/?rev=12475&view=rev
Author:   wahwah
Date:     2011-01-09 21:34:59 +0000 (Sun, 09 Jan 2011)

Log Message:
-----------
checkpkg: Additional disallowed paths

Notably, /usr/local which has lately cropped up on pkgsubmissions a lot.

Modified Paths:
--------------
    csw/mgar/gar/v2/lib/python/checkpkg.py

Modified: csw/mgar/gar/v2/lib/python/checkpkg.py
===================================================================
--- csw/mgar/gar/v2/lib/python/checkpkg.py	2011-01-09 21:28:05 UTC (rev 12474)
+++ csw/mgar/gar/v2/lib/python/checkpkg.py	2011-01-09 21:34:59 UTC (rev 12475)
@@ -23,8 +23,11 @@
 DESCRIPTION_RE = r"^([\S]+) - (.*)$"
 BAD_CONTENT_REGEXES = (
     # Slightly obfuscating these by using concatenation of strings.
+    r'/export' r'/home',
     r'/export' r'/medusa',
     r'/opt' r'/build',
+    r'/usr' r'/local',
+    r'/usr' r'/share',
 )
 
 INSTALL_CONTENTS_AVG_LINE_LENGTH = 102.09710677919261


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list