[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipcop-svn
Subject:    [Ipcop-svn] SF.net SVN: ipcop:[5278] ipcop/trunk/lfs/check_files
From:       gespinasse () users ! sourceforge ! net
Date:       2010-12-25 8:51:54
Message-ID: E1PWPr0-0001ZV-Tg () sfp-svn-6 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 5278
          http://ipcop.svn.sourceforge.net/ipcop/?rev=5278&view=rev
Author:   gespinasse
Date:     2010-12-25 08:51:54 +0000 (Sat, 25 Dec 2010)

Log Message:
-----------
Cleaner way to pass the path where we check binaries

Modified Paths:
--------------
    ipcop/trunk/lfs/check_files

Modified: ipcop/trunk/lfs/check_files
===================================================================
--- ipcop/trunk/lfs/check_files	2010-12-25 07:23:40 UTC (rev 5277)
+++ ipcop/trunk/lfs/check_files	2010-12-25 08:51:54 UTC (rev 5278)
@@ -37,6 +37,9 @@
 
 ALLFILES  := ${NAME}-${VERSION}-all-files-list.${MACHINE}.txt
 
+# where we find ELF exec code to check
+EXEC_PATH  := /{bin,sbin} /lib/{,iptables,udev} /usr/{bin,lib,libexec,local,sbin} \
/etc/Conexant +
 ###############################################################################
 # Top-level Rules
 ###############################################################################
@@ -66,20 +69,16 @@
 	done
 
 	# TEXTEREL
-	cd / && find /{bin,sbin} /lib/{,iptables,udev} /usr/{bin,lib,libexec,local,sbin} \
                /etc \
-		-type f -exec scanelf -qRt {} \; > /usr/src/log_${MACHINE}/textrel.log
+	cd / && find ${EXEC_PATH} -type f -exec scanelf -qRt {} \; > \
/usr/src/log_${MACHINE}/textrel.log  
 	# RPATH (I consider log good enought to my understanding)
-	cd / && find /{bin,sbin} /lib/{,iptables,udev} /usr/{bin,lib,libexec,local,sbin} \
                /etc \
-		-type f -exec scanelf -qRr {} \; > /usr/src/log_${MACHINE}/rpath.log
+	cd / && find ${EXEC_PATH} -type f -exec scanelf -qRr {} \; > \
/usr/src/log_${MACHINE}/rpath.log  
 	# executable stack	http://www.gentoo.org/proj/en/hardened/gnu-stack.xml
-	cd / && find /{bin,sbin} /lib/{,iptables,udev} /usr/{bin,lib,libexec,local,sbin} \
                /etc \
-		-type f -exec scanelf -qRe {} \; > /usr/src/log_${MACHINE}/executable-stack.log
+	cd / && find ${EXEC_PATH} -type f -exec scanelf -qRe {} \; > \
/usr/src/log_${MACHINE}/executable-stack.log  
-	# temporary libusb check
-	cd / && find /{bin,sbin} /lib/{,iptables,udev} /usr/{bin,lib,libexec,local,sbin} \
                /etc \
-		-type f -exec scanelf -qRn {} \; | grep libusb > \
/usr/src/log_${MACHINE}/libusb.log +	# temporary libusb check for libusb-1.0 \
migration +	cd / && find ${EXEC_PATH} -type f -exec scanelf -qRn {} \; | grep libusb \
> /usr/src/log_${MACHINE}/libusb.log  
 	# find warning and count them
 	cd /usr/src/log_${MACHINE} && grep ': warning:' 0[1-4]*/* \
>/usr/src/log_${MACHINE}/warning_all.log @@ -87,7 +86,6 @@
 		for f in $$(ls 0[1-4]*/*); do \
 			[ -f $$f ] && echo -ne "$$f :\t";grep ': warning:' $$f | wc -l; \
 		done >/usr/src/log_${MACHINE}/warning_per_package_count.log
-	# remove lucky 0 warnings
+	# remove lucky 0 warnings from the list
 	sed -i '/\t0$$/d' /usr/src/log_${MACHINE}/warning_per_package_count.log
 
-	# may include other check later


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

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic