From: <ges...@us...> - 2008-08-06 08:37:03
|
Revision: 1648 http://ipcop.svn.sourceforge.net/ipcop/?rev=1648&view=rev Author: gespinasse Date: 2008-08-06 08:37:10 +0000 (Wed, 06 Aug 2008) Log Message: ----------- Time to resolve protocol name lineary depend of /etc/services file size See http://www.diy-linux.org/pipermail/diy-linux-dev/2006-January/000719.html or http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2004-07/0465.html Using STRIP=yes remove comments and is a big gain in size without STRIP=yes ls -l build*/ipcop/etc/{services,protocols} -rw-r--r-- 1 root root 25075 Aug 5 23:52 build_i486/ipcop/etc/protocols -rw-r--r-- 1 root root 768737 Aug 5 23:52 build_i486/ipcop/etc/services with STRIP=yes ls -l build*/ipcop/etc/{services,protocols} -rw-r--r-- 1 root root 2078 Aug 6 10:22 build_i486/ipcop/etc/protocols -rw-r--r-- 1 root root 192217 Aug 6 10:22 build_i486/ipcop/etc/services Modified Paths: -------------- ipcop/trunk/config/rootfiles/common/iana-etc ipcop/trunk/lfs/iana-etc Modified: ipcop/trunk/config/rootfiles/common/iana-etc =================================================================== --- ipcop/trunk/config/rootfiles/common/iana-etc 2008-08-06 08:20:40 UTC (rev 1647) +++ ipcop/trunk/config/rootfiles/common/iana-etc 2008-08-06 08:37:10 UTC (rev 1648) @@ -1,4 +1,2 @@ -## Iana-Etc-2.00 -## etc/protocols etc/services Modified: ipcop/trunk/lfs/iana-etc =================================================================== --- ipcop/trunk/lfs/iana-etc 2008-08-06 08:20:40 UTC (rev 1647) +++ ipcop/trunk/lfs/iana-etc 2008-08-06 08:37:10 UTC (rev 1648) @@ -82,7 +82,7 @@ @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && make + cd $(DIR_APP) && make STRIP=yes cd $(DIR_APP) && make install @rm -rf $(DIR_APP) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |