Revision: 5902 http://ipcop.svn.sourceforge.net/ipcop/?rev=5902&view=rev Author: owes Date: 2011-10-06 17:56:48 +0000 (Thu, 06 Oct 2011) Log Message: ----------- Looks like ldd does not change all library symlinks, for example /usr/lib/libbind9.so still points to libbind9.so.60.0.4. So better to include all symlinks into our update package and not rely on ldd.
Modified Paths: -------------- ipcop/trunk/tools/comp_md5.pl Modified: ipcop/trunk/tools/comp_md5.pl =================================================================== --- ipcop/trunk/tools/comp_md5.pl 2011-10-06 06:52:30 UTC (rev 5901) +++ ipcop/trunk/tools/comp_md5.pl 2011-10-06 17:56:48 UTC (rev 5902) @@ -152,13 +152,14 @@ next; } - if (($file =~ /^\/lib\/.*/) || ($file =~ /^\/usr\/lib\/.*/)) { - my $mode = (lstat("${BASEDIR}/build_${MACHINE}/ipcop/$file"))[2]; - if (S_ISLNK($mode)) { - print OUTLIST "SYMLINK $file\n"; - next; - } - } + # Better to include symlinks in update as ldd does not update all +# if (($file =~ /^\/lib\/.*/) || ($file =~ /^\/usr\/lib\/.*/)) { +# my $mode = (lstat("${BASEDIR}/build_${MACHINE}/ipcop/$file"))[2]; +# if (S_ISLNK($mode)) { +# print OUTLIST "SYMLINK $file\n"; +# next; +# } +# } # Hello, major hack. Find the package that causes the difference. my $file_in_rootfile = substr($file, 1); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn