]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Zwischencommit für LFS.
authorms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sun, 1 Oct 2006 19:57:04 +0000 (19:57 +0000)
committerms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sun, 1 Oct 2006 19:57:04 +0000 (19:57 +0000)
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@301 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

doc/ChangeLog
lfs/binutils
lfs/bison
lfs/man
lfs/mod_perl [new file with mode: 0644]
lfs/vim
make.sh
tools/make-functions

index e51662f077710378e6f8a17811dc36dba2ecda0f..8b2127e37b46dcc7ab005ba66e4a801074f23d3b 100644 (file)
@@ -1,4 +1,59 @@
 ------------------------------------------------------------------------
+r300 | ms | 2006-10-01 17:04:23 +0200 (Sun, 01 Oct 2006) | 2 lines
+
+Naechster Schritt im LFS.
+
+------------------------------------------------------------------------
+r299 | ms | 2006-10-01 12:51:18 +0200 (Sun, 01 Oct 2006) | 3 lines
+
+Zwischencommit beim Umzug auf LFS 6.2.
+
+
+------------------------------------------------------------------------
+r298 | ms | 2006-10-01 00:07:28 +0200 (Sun, 01 Oct 2006) | 2 lines
+
+Make.sh gesplittet und maechtig ueberarbeitet.
+
+------------------------------------------------------------------------
+r297 | ms | 2006-09-30 18:33:03 +0200 (Sat, 30 Sep 2006) | 4 lines
+
+Habe IPFire auf LFS 6.2 gebracht.
+Das hier ist der erste Teil.
+Nur Toolchain bisher.
+
+------------------------------------------------------------------------
+r296 | delaco | 2006-09-29 16:42:04 +0200 (Fri, 29 Sep 2006) | 1 line
+
+Fix fuer die packages_list.txt...
+------------------------------------------------------------------------
+r295 | delaco | 2006-09-23 19:37:59 +0200 (Sat, 23 Sep 2006) | 3 lines
+
+Fixes fuer den Buildprozess. (applejuice, mysql)
+Quality of Service: TOS-Regeln und TOS-Matches hinzugefuegt, Graphen uebersichtlicher angeordnet.
+
+------------------------------------------------------------------------
+r294 | delaco | 2006-09-23 01:12:12 +0200 (Sat, 23 Sep 2006) | 1 line
+
+WebCyrAdm - Dateien verschoben und nicht in Paket geaendert. Sorry.
+------------------------------------------------------------------------
+r293 | delaco | 2006-09-23 01:05:21 +0200 (Sat, 23 Sep 2006) | 7 lines
+
+MONSTER-REVISION!
+  * Alte und ueberfluessige Pakete entfernt.
+  * Proxy-Pfade gefixt.
+  * MySQL in ISO gepackt.
+  * Apache2-Konfigurations-Fix.
+  * XAMPP entfernt. STILL EXPERIMENTAL
+  * make.sh aufgeraeumt.
+------------------------------------------------------------------------
+r292 | ms | 2006-09-21 23:25:43 +0200 (Thu, 21 Sep 2006) | 1 line
+
+stunnel und edonkeyclc geloescht, da wir es nicht nutzen
+------------------------------------------------------------------------
+r291 | ms | 2006-09-21 21:47:20 +0200 (Thu, 21 Sep 2006) | 1 line
+
+Nicht alle Versionen von Subversion koennen den vollen Befehlsumfang :(
+------------------------------------------------------------------------
 r290 | delaco | 2006-09-21 20:48:19 +0200 (Thu, 21 Sep 2006) | 5 lines
 
 Make.sh:
index 58c4f050628190ad4731bd7202494989c5c3ffe3..0024e5ef7353aa3e7afe9c9c5dfff3d8eee6a7b8 100644 (file)
@@ -44,7 +44,7 @@ else
 ifeq "$(PASS)" "1"
   TARGET = $(DIR_INFO)/$(THISAPP)-tools1
   EXTRA_CONFIG = --prefix=/tools --disable-nls
-  EXTRA_MAKE = LDFLAGS="-all-static"
+  EXTRA_MAKE = #LDFLAGS="-all-static"
   EXTRA_INSTALL = 
 else
   TARGET = $(DIR_INFO)/$(THISAPP)-tools2
@@ -94,9 +94,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @rm -rf $(DIR_APP) $(DIR_SRC)/binutils-build && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
        @mkdir $(DIR_SRC)/binutils-build
        cd $(DIR_SRC)/binutils-build && $(DIR_APP)/configure $(EXTRA_CONFIG)
-       cd $(DIR_SRC)/binutils-build && make $(MAKETUNING) $(EXTRA_MAKE)
+       cd $(DIR_SRC)/binutils-build && make  $(EXTRA_MAKE) #$(MAKETUNING)
        cd $(DIR_SRC)/binutils-build && make $(EXTRA_INSTALL) install
-ifeq "$(ROOT) ""
+ifeq "$(ROOT)" ""
        cd $(DIR_APP)/binutils-build && cp -v ../$(THISAPP)/include/libiberty.h /usr/include
 else
 ifeq "$(PASS)" "1"
index 412dc9ff08e0d2b6909589b10092f060b7a2d312..993dd0ae5812db7ac9a2a9dbb8cc215b5db6da48 100644 (file)
--- a/lfs/bison
+++ b/lfs/bison
@@ -29,7 +29,7 @@ include Config
 VER        = 2.2
 
 THISAPP    = bison-$(VER)
-DL_FILE    = $(THISAPP).tar.gz
+DL_FILE    = $(THISAPP).tar.bz2
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
@@ -40,9 +40,9 @@ TARGET     = $(DIR_INFO)/$(THISAPP)
 
 objects =$(DL_FILE)
 
-$(DL_FILE)                       = $(DL_FROM)/$(DL_FILE)
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5                   = 278515c1195194cad633bf40c892f512
+$(DL_FILE)_MD5 = e345a5d021db850f06ce49eba78af027
 
 install : $(TARGET)
 
@@ -71,7 +71,7 @@ $(subst %,%_MD5,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls
        # Disable NLS
        #cd $(DIR_APP) && echo '#define YYENABLE_NLS 1' >> config.h
diff --git a/lfs/man b/lfs/man
index 81244a7e82e5840259a9b4f107ba9ab02e4d862f..2515a836bf3752fd170f2c402279994dceaa7506 100644 (file)
--- a/lfs/man
+++ b/lfs/man
@@ -40,9 +40,9 @@ TARGET     = $(DIR_INFO)/$(THISAPP)
 
 objects = $(DL_FILE)
 
-$(DL_FILE)                  = $(DL_FROM)/$(DL_FILE)
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5                  = 037d5644f8ef9ea0ef22b271bae0297d
+$(DL_FILE)_MD5 = 30814a47f209f43b152659ba51fc7937
 
 install : $(TARGET)
 
diff --git a/lfs/mod_perl b/lfs/mod_perl
new file mode 100644 (file)
index 0000000..fdfea9f
--- /dev/null
@@ -0,0 +1,79 @@
+###############################################################################
+# 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>                        #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER        = 2.0.2
+
+THISAPP    = mod_perl-$(VER)
+DL_FILE    = $(THISAPP).tar.gz
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = ad0a509fd34e3b8452887d80a1d45dea
+
+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) && perl Makefile.PL PREFIX=/usr MP_APXS=/usr/sbin/apxs
+       cd $(DIR_APP) && make
+       cd $(DIR_APP) && make install
+       @rm -rf $(DIR_APP)
+       @$(POSTBUILD)
diff --git a/lfs/vim b/lfs/vim
index 1859221ea18bdb04c17c95b1fd43d600b5f06cfc..260d5246d38dfac1d1cecbf0bf01da202ee36555 100644 (file)
--- a/lfs/vim
+++ b/lfs/vim
@@ -42,7 +42,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 821fda8f14d674346b87e3ef9cb96389
+$(DL_FILE)_MD5 = 4ca69757678272f718b1041c810d82d8
 
 install : $(TARGET)
 
diff --git a/make.sh b/make.sh
index 165679eaf14fafc8bbdad92e61e236eba8c35f22..4a97264ac156ecaf898daedf0582b0ff1d2c7beb 100644 (file)
--- a/make.sh
+++ b/make.sh
@@ -177,11 +177,10 @@ prepareenv() {
 
     # Make all sources and proc available under lfs build
     mount --bind /dev            $BASEDIR/build/dev
-    mount --bind /proc           $BASEDIR/build/proc
-    mount  -vt   devpts devpts   $BASEDIR/build/dev/pts
-    mount  -vt   tmpfs  shm      $BASEDIR/build/dev/shm
-    mount  -vt   proc   proc     $BASEDIR/build/proc
-    mount  -vt   sysfs  sysfs    $BASEDIR/build/sys
+    mount  -t   devpts devpts    $BASEDIR/build/dev/pts
+    mount  -t   tmpfs  shm       $BASEDIR/build/dev/shm
+    mount  -t   proc   proc      $BASEDIR/build/proc
+    mount  -t   sysfs  sysfs     $BASEDIR/build/sys
     mount --bind $BASEDIR/cache  $BASEDIR/build/usr/src/cache
     mount --bind $BASEDIR/ccache $BASEDIR/build/usr/src/ccache
     mount --bind $BASEDIR/config $BASEDIR/build/usr/src/config
index 7550c898b14554b65f26c94b1f4b5b081ae57810..147d76b6fbd5b3b210637e43c0c334a31b04d538 100644 (file)
@@ -182,7 +182,7 @@ if [ 'x86_64' = $MACHINE -o 'i686' = $MACHINE -o 'i586' = $MACHINE ]; then
        MACHINE=i586
        BUILDTARGET=i586-pc-linux-gnu
        CFLAGS="-O2 -march=i586 -pipe -fomit-frame-pointer"
-       CXX2FLAGS="-O2 -march=i586 -pipe -fomit-frame-pointer"
+       CXXFLAGS="-O2 -march=i586 -pipe -fomit-frame-pointer"
        C2FLAGS="-O2 -march=i586 -mtune=i586 -pipe -fomit-frame-pointer"
        CXX2FLAGS="-O2 -march=i586 -mtune=i586 -pipe -fomit-frame-pointer"
 else
@@ -192,7 +192,10 @@ fi
 
 # Define immediately
 stdumount() {
+       umount $BASEDIR/build/sys                       2>/dev/null;
+       umount $BASEDIR/build/dev/shm           2>/dev/null;
        umount $BASEDIR/build/dev/pts           2>/dev/null;
+       umount $BASEDIR/build/dev                       2>/dev/null;
        umount $BASEDIR/build/proc                      2>/dev/null;
        umount $BASEDIR/build/install/mnt               2>/dev/null;
        umount $BASEDIR/build/usr/src/cache     2>/dev/null;