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

List:       ipcop-svn
Subject:    [Ipcop-svn] SF.net SVN: ipcop: [1343] ipcop/trunk
From:       gespinasse () users ! sourceforge ! net
Date:       2008-04-30 15:15:32
Message-ID: E1JrE1s-0001a1-48 () sc8-pr-svn4 ! sourceforge ! net
[Download RAW message or body]

Revision: 1343
          http://ipcop.svn.sourceforge.net/ipcop/?rev=1343&view=rev
Author:   gespinasse
Date:     2008-04-30 08:15:31 -0700 (Wed, 30 Apr 2008)

Log Message:
-----------
Add the prerequisites to execute gcc and binutils tests

Modified Paths:
--------------
    ipcop/trunk/make.sh

Added Paths:
-----------
    ipcop/trunk/lfs/dejagnu
    ipcop/trunk/lfs/expect
    ipcop/trunk/lfs/tcl

Added: ipcop/trunk/lfs/dejagnu
===================================================================
--- ipcop/trunk/lfs/dejagnu	                        (rev 0)
+++ ipcop/trunk/lfs/dejagnu	2008-04-30 15:15:31 UTC (rev 1343)
@@ -0,0 +1,91 @@
+###############################################################################
+# This file is part of the IPCop Firewall.                                    #
+#                                                                             #
+# IPCop is free software; you can redistribute it and/or modify               #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation; either version 2 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# IPCop is distributed in the hope that it will be useful,                    #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with IPCop; if not, write to the Free Software                        #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA    #
+#                                                                             #
+# Makefiles are based on LFSMake, which is                                    #
+# Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com>                        #
+#                                                                             #
+# Modifications by:                                                           #
+# ??-12-2003 Mark Wormgoor < mark@wormgoor.com>                               #
+#          - Modified Makefile for IPCop build                                #
+#                                                                             #
+# $Id: texinfo 1300 2008-04-18 15:18:38Z chepati $
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+PKG_NAME   = dejagnu
+VER        = 1.4.4
+HOST_ARCH  = all
+OTHER_SRC  = yes
+
+THISAPP    = $(PKG_NAME)-$(VER)
+DL_FILE    = $(THISAPP).tar.gz
+DL_FROM    = $(URL_GNU)/$(PKG_NAME)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE)				= $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5				= 053f18fd5d00873de365413cab17a666
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+	@$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+	@$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+	@$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+	@$(PREBUILD)
+	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+	cd $(DIR_APP) && ./configure --prefix=/$(TOOLS_DIR)
+	cd $(DIR_APP) && make -j 1 install
+	# make check fail!
+	# cd $(DIR_APP) && make check &> $(DIR_INFO)/$(THISAPP)-$(STAGE_ORDER)_check.log
+
+	@rm -rf $(DIR_APP)
+	@$(POSTBUILD)

Added: ipcop/trunk/lfs/expect
===================================================================
--- ipcop/trunk/lfs/expect	                        (rev 0)
+++ ipcop/trunk/lfs/expect	2008-04-30 15:15:31 UTC (rev 1343)
@@ -0,0 +1,102 @@
+###############################################################################
+# This file is part of the IPCop Firewall.                                    #
+#                                                                             #
+# IPCop is free software; you can redistribute it and/or modify               #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation; either version 2 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# IPCop is distributed in the hope that it will be useful,                    #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with IPCop; if not, write to the Free Software                        #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA    #
+#                                                                             #
+# Makefiles are based on LFSMake, which is                                    #
+# Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com>                        #
+#                                                                             #
+# Modifications by:                                                           #
+# ??-12-2003 Mark Wormgoor < mark@wormgoor.com>                               #
+#          - Modified Makefile for IPCop build                                #
+#                                                                             #
+# $Id: texinfo 1300 2008-04-18 15:18:38Z chepati $
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+PKG_NAME   = expect
+VER        = 5.43.0
+HOST_ARCH  = all
+OTHER_SRC  = yes
+
+THISAPP    = $(PKG_NAME)-$(VER)
+DL_FILE    = $(THISAPP).tar.gz
+DL_FROM    = http://expect.nist.gov/old
+DIR_APP    = $(DIR_SRC)/$(PKG_NAME)-5.43
+TARGET     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
+
+PATCH1     = expect-5.43.0-spawn-2.patch
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects =	$(DL_FILE) \
+		$(PATCH1)
+
+$(DL_FILE)				= $(DL_FROM)/$(DL_FILE)
+$(PATCH1)				= $(URL_LFS)/$(PKG_NAME)/$(PATCH1)
+
+$(DL_FILE)_MD5				= 43e1dc0e0bc9492cf2e1a6f59f276bc3
+$(PATCH1)_MD5				= 7706e1e8238c72eed8dc905d6f3b6aa9
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+	@$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+	@$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+	@$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+	@$(PREBUILD)
+	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+	cd $(DIR_APP) && patch -Np1 -i $(DIR_DL)/$(PATCH1)
+
+	cd $(DIR_APP) && cp configure{,.bak}
+	cd $(DIR_APP) && sed 's:/usr/local/bin:/bin:' configure.bak > configure
+	cd $(DIR_APP) && ./configure	--prefix=/$(TOOLS_DIR) \
+					--with-tcl=/$(TOOLS_DIR)/lib \
+					--with-tclinclude=/$(TOOLS_DIR)/include \
+					--with-x=no
+	cd $(DIR_APP) && make
+	# cd $(DIR_APP) && make test &> $(DIR_INFO)/$(THISAPP)-$(STAGE_ORDER)_check.log
+	cd $(DIR_APP) && make SCRIPTS="" install
+
+	@rm -rf $(DIR_APP)
+	@$(POSTBUILD)

Added: ipcop/trunk/lfs/tcl
===================================================================
--- ipcop/trunk/lfs/tcl	                        (rev 0)
+++ ipcop/trunk/lfs/tcl	2008-04-30 15:15:31 UTC (rev 1343)
@@ -0,0 +1,95 @@
+###############################################################################
+# This file is part of the IPCop Firewall.                                    #
+#                                                                             #
+# IPCop is free software; you can redistribute it and/or modify               #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation; either version 2 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# IPCop is distributed in the hope that it will be useful,                    #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with IPCop; if not, write to the Free Software                        #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA    #
+#                                                                             #
+# Makefiles are based on LFSMake, which is                                    #
+# Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com>                        #
+#                                                                             #
+# Modifications by:                                                           #
+# ??-12-2003 Mark Wormgoor < mark@wormgoor.com>                               #
+#          - Modified Makefile for IPCop build                                #
+#                                                                             #
+# $Id: texinfo 1300 2008-04-18 15:18:38Z chepati $
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+PKG_NAME   = tcl
+VER        = 8.4.19
+HOST_ARCH  = all
+OTHER_SRC  = yes
+
+THISAPP    = $(PKG_NAME)$(VER)
+DL_FILE    = $(THISAPP)-src.tar.gz
+DL_FROM    = $(URL_SFNET)/$(PKG_NAME)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE)				= $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5				= ade2c033a7b545ee108f3fdfeb629fcf
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+	@$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+	@$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+	@$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+	@$(PREBUILD)
+	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+ifeq "$(STAGE)" "toolchain"
+	cd $(DIR_APP)/unix && ./configure --prefix=/$(TOOLS_DIR)
+	cd $(DIR_APP)/unix && make -j $(PARALLELISM)
+	# cd $(DIR_APP)/unix && TZ=UTC make test &> \
$(DIR_INFO)/$(THISAPP)-$(STAGE_ORDER)_check.log +	cd $(DIR_APP)/unix && make install
+	cd $(DIR_APP)/unix && make install-private-headers
+	ln -sv tclsh8.4 /$(TOOLS_DIR)/bin/tclsh
+endif
+
+	@rm -rf $(DIR_APP)
+	@$(POSTBUILD)

Modified: ipcop/trunk/make.sh
===================================================================
--- ipcop/trunk/make.sh	2008-04-30 15:11:22 UTC (rev 1342)
+++ ipcop/trunk/make.sh	2008-04-30 15:15:31 UTC (rev 1343)
@@ -470,7 +470,8 @@
 		local PKG_TIME_END=`date +%s`
 		beautify result PENDING $[ ${PKG_TIME_END} - ${PKG_TIME_START} ] ${1} ${PKG_VER} \
${STAGE_ORDER} ${STAGE}  echo -ne "\\033[11D" 2> /dev/null
-		sleep 0.01
+		# on restart, this allow 10 lfs scripts ALREADY done per second
+		sleep 0.1
 	done
 
 	# Show the cursor
@@ -1585,6 +1586,9 @@
 	toolchain_make linux-headers
 	toolchain_make glibc
 	toolchain_make adjust-toolchain
+	toolchain_make tcl
+	toolchain_make expect
+	toolchain_make dejagnu
 	toolchain_make gcc						PASS=2
 	toolchain_make binutils						PASS=2
 	toolchain_make ncurses


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

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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