[csw-devel] SF.net SVN: gar:[11218] csw/mgar/gar/v2/lib/python
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Sun Oct 10 22:35:20 CEST 2010
Revision: 11218
http://gar.svn.sourceforge.net/gar/?rev=11218&view=rev
Author: wahwah
Date: 2010-10-10 20:35:20 +0000 (Sun, 10 Oct 2010)
Log Message:
-----------
mGAR v2: checkpkg, Libraries under /opt/csw/share are not linkable.
Modified Paths:
--------------
csw/mgar/gar/v2/lib/python/sharedlib_utils.py
csw/mgar/gar/v2/lib/python/sharedlib_utils_test.py
Modified: csw/mgar/gar/v2/lib/python/sharedlib_utils.py
===================================================================
--- csw/mgar/gar/v2/lib/python/sharedlib_utils.py 2010-10-10 20:34:52 UTC (rev 11217)
+++ csw/mgar/gar/v2/lib/python/sharedlib_utils.py 2010-10-10 20:35:20 UTC (rev 11218)
@@ -26,6 +26,7 @@
blacklist = [
# If it has two lib components, it's a private lib.
re.compile(r"^opt/csw/.*lib.*lib.*"),
+ re.compile(r"^opt/csw/share.*lib.*"),
]
file_dir, file_basename = os.path.split(file_path)
if linkable_re.match(file_dir):
Modified: csw/mgar/gar/v2/lib/python/sharedlib_utils_test.py
===================================================================
--- csw/mgar/gar/v2/lib/python/sharedlib_utils_test.py 2010-10-10 20:34:52 UTC (rev 11217)
+++ csw/mgar/gar/v2/lib/python/sharedlib_utils_test.py 2010-10-10 20:35:20 UTC (rev 11218)
@@ -47,6 +47,11 @@
"opt/csw/lib/erlang/lib/megaco-3.6.0.1/priv/lib"
"/megaco_flex_scanner_drv_mt.so"))
+ def testIsLibraryLinkableInShared(self):
+ self.assertEqual(False, su.IsLibraryLinkable(
+ "opt/csw/share/Adobe/Reader8/Reader/sparcsolaris/lib"
+ "/libcrypto.so.0.9.6"))
+
def testMakePackageNameBySonameSimple(self):
soname = "libfoo.so.0"
expected = (
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