]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Merge branch 'master' into perl-threads
authorArne Fitzenreiter <arne_f@ipfire.org>
Tue, 18 Jan 2011 21:06:24 +0000 (22:06 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 18 Jan 2011 21:06:24 +0000 (22:06 +0100)
23 files changed:
config/rootfiles/core/44/filelists/files
config/rootfiles/core/45/exclude [new file with mode: 0644]
config/rootfiles/core/45/filelists/files [new file with mode: 0644]
config/rootfiles/core/45/filelists/fireinfo [new symlink]
config/rootfiles/core/45/meta [new file with mode: 0644]
config/rootfiles/core/45/update.sh [new file with mode: 0644]
config/rootfiles/packages/ipfireseeder
doc/language_issues.es
doc/language_issues.fr
doc/language_missings
html/cgi-bin/fireinfo.cgi
html/cgi-bin/proxy.cgi
langs/de/cgi-bin/de.pl
langs/en/cgi-bin/en.pl
lfs/fireinfo
lfs/hostapd
lfs/installer
lfs/ipfireseeder
lfs/streamripper
src/install+setup/install/downloadsource.sh
src/paks/linux-xen/install.sh
src/patches/fireinfo-invalid-id.patch [new file with mode: 0644]
src/scripts/backupiso

index 48c38e2f501fd534238f9ee044bffc72c116dc1b..09580590652d4a5b961966bdf01a640af6ac16bb 100644 (file)
@@ -41,6 +41,7 @@ var/ipfire/langs/es.pl
 var/ipfire/menu.d/10-system.menu
 usr/local/bin/fireinfoctrl
 var/ipfire/qos/bin/makeqosscripts.pl
+usr/local/bin/backupiso
 usr/local/bin/timectrl
 usr/local/bin/rebuild-initrd
 usr/local/bin/scanhd
diff --git a/config/rootfiles/core/45/exclude b/config/rootfiles/core/45/exclude
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/config/rootfiles/core/45/filelists/files b/config/rootfiles/core/45/filelists/files
new file mode 100644 (file)
index 0000000..d3c27e8
--- /dev/null
@@ -0,0 +1,3 @@
+etc/system-release
+etc/issue
+srv/web/ipfire/cgi-bin/proxy.cgi
diff --git a/config/rootfiles/core/45/filelists/fireinfo b/config/rootfiles/core/45/filelists/fireinfo
new file mode 120000 (symlink)
index 0000000..c461155
--- /dev/null
@@ -0,0 +1 @@
+../../../common/fireinfo
\ No newline at end of file
diff --git a/config/rootfiles/core/45/meta b/config/rootfiles/core/45/meta
new file mode 100644 (file)
index 0000000..d547fa8
--- /dev/null
@@ -0,0 +1 @@
+DEPS=""
diff --git a/config/rootfiles/core/45/update.sh b/config/rootfiles/core/45/update.sh
new file mode 100644 (file)
index 0000000..40d08d4
--- /dev/null
@@ -0,0 +1,49 @@
+#!/bin/bash
+############################################################################
+#                                                                          #
+# This file is part of the IPFire Firewall.                                #
+#                                                                          #
+# IPFire 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 3 of the License, or        #
+# (at your option) any later version.                                      #
+#                                                                          #
+# IPFire 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 IPFire; if not, write to the Free Software                    #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA #
+#                                                                          #
+# Copyright (C) 2010 IPFire-Team <info@ipfire.org>.                        #
+#                                                                          #
+############################################################################
+#
+. /opt/pakfire/lib/functions.sh
+/usr/local/bin/backupctrl exclude >/dev/null 2>&1
+
+#
+#Stop services
+
+#
+#Extract files
+extract_files
+
+#
+#Start services
+
+#
+#Update Language cache
+#perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"
+
+#Rebuild module dep's
+#depmod 2.6.32.28-ipfire
+#depmod 2.6.32.28-ipfire-pae
+#depmod 2.6.32.28-ipfire-xen
+
+#
+#Finish
+#Don't report the exitcode last command
+exit 0
index e31f42c581835f516e3480b3863bb61b11bb9bb6..56480dba0101cfe27a8652a6459189f24a2ad44c 100644 (file)
@@ -1,5 +1,5 @@
 etc/rc.d/init.d/ipfireseeder
 #var/ipfire/seeder
-var/ipfire/seeder/ipfire-2.7.i586-full-core43.iso.torrent
+var/ipfire/seeder/ipfire-2.9.i586-full-core44.iso.torrent
 #var/log/seeder
 var/log/seeder/info
index a91996dd24f231f9743551f46fd7919bc77d02bc..00f1f8f18db27d2cb8f9c56f41f06afc6fe16857 100644 (file)
@@ -507,6 +507,10 @@ WARNING: untranslated string: fireinfo pakfire version
 WARNING: untranslated string: fireinfo please enable
 WARNING: untranslated string: fireinfo settings
 WARNING: untranslated string: fireinfo system version
+WARNING: untranslated string: fireinfo why descr1
+WARNING: untranslated string: fireinfo why descr2
+WARNING: untranslated string: fireinfo why enable
+WARNING: untranslated string: fireinfo why read more
 WARNING: untranslated string: fireinfo your profile id
 WARNING: untranslated string: new
 WARNING: untranslated string: outgoing firewall add ip group
index 8107ab9b6fc63c2c4503d710065a2524d518795c..e491a0fce32ea0323ab9035e98c70011c89d06d4 100644 (file)
@@ -509,6 +509,10 @@ WARNING: untranslated string: fireinfo pakfire version
 WARNING: untranslated string: fireinfo please enable
 WARNING: untranslated string: fireinfo settings
 WARNING: untranslated string: fireinfo system version
+WARNING: untranslated string: fireinfo why descr1
+WARNING: untranslated string: fireinfo why descr2
+WARNING: untranslated string: fireinfo why enable
+WARNING: untranslated string: fireinfo why read more
 WARNING: untranslated string: fireinfo your profile id
 WARNING: untranslated string: new
 WARNING: untranslated string: ntp common settings
index e72d7d66393b82764a02bb7b0bc9020bc4fc4600..d0ba138976c8c868fef1727cf7353c0af645097b 100644 (file)
 < fireinfo please enable
 < fireinfo settings
 < fireinfo system version
+< fireinfo why descr1
+< fireinfo why descr2
+< fireinfo why enable
+< fireinfo why read more
 < fireinfo your profile id
 < ntp common settings
 < ntp sync
 < fireinfo please enable
 < fireinfo settings
 < fireinfo system version
+< fireinfo why descr1
+< fireinfo why descr2
+< fireinfo why enable
+< fireinfo why read more
 < fireinfo your profile id
 < outgoing firewall add ip group
 < outgoing firewall add mac group
index 31f899f8274b6c618780657d3037f9485e89bd0b..1be0ebe3388a9d260666c154bb6485814408fd4c 100644 (file)
@@ -2,7 +2,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2011  IPFire Team  <info@ipfire.org>                          #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -61,13 +61,13 @@ if ("$fireinfosettings{'ACTION'}" eq "trigger") {
 &Header::openpage('Fireinfo', 1, '');
 
 if ($fireinfosettings{'ENABLE_FIREINFO'} ne "on") {
-       &Header::openbox("100%", "left", "Why should I enable fireinfo?");
+       &Header::openbox("100%", "left", "$Lang::tr{'fireinfo why enable'}");
 
        print <<END;
 <font color="$Header::colourred">
        <p>
-               It is very important for the development of IPFire that you enable this
-               service. <a href="http://fireinfo.ipfire.org" target="_blank">Read more about the reasons.</a>
+               $Lang::tr{'fireinfo why descr1'}
+               $Lang::tr{'fireinfo why descr2'}<a href="http://fireinfo.ipfire.org" target="_blank">$Lang::tr{'fireinfo why read more'}</a>
        </p>
 </font>
 END
index 2525b6e2f60c241aaad619168f2b4059e34499db..f732c5b68c96add3abd9b0b2d9cadc7c2fa969f9 100644 (file)
@@ -82,7 +82,6 @@ my @templist=();
 my $cachemem=0;
 my $proxy1='';
 my $proxy2='';
-my $replybodymaxsize=0;
 my $browser_regexp='';
 my $needhup = 0;
 my $errormessage='';
@@ -3870,19 +3869,18 @@ END
 request_body_max_size $proxysettings{'MAX_OUTGOING_SIZE'} KB
 END
        ;
-       $replybodymaxsize = 1024 * $proxysettings{'MAX_INCOMING_SIZE'};
        if ($proxysettings{'MAX_INCOMING_SIZE'} > 0) {
-               if (!-z $acl_src_unrestricted_ip) { print FILE "reply_body_max_size 0 deny IPFire_unrestricted_ips\n"; }
-               if (!-z $acl_src_unrestricted_mac) { print FILE "reply_body_max_size 0 deny IPFire_unrestricted_mac\n"; }
+               if (!-z $acl_src_unrestricted_ip) { print FILE "reply_body_max_size none IPFire_unrestricted_ips\n"; }
+               if (!-z $acl_src_unrestricted_mac) { print FILE "reply_body_max_size none IPFire_unrestricted_mac\n"; }
                if ($proxysettings{'AUTH_METHOD'} eq 'ncsa')
                {
-                       if (!-z $extgrp) { print FILE "reply_body_max_size 0 deny for_extended_users\n"; }
+                       if (!-z $extgrp) { print FILE "reply_body_max_size none for_extended_users\n"; }
                }
        }
        
-       if ( $replybodymaxsize != '0' )
+       if ( $proxysettings{'MAX_INCOMING_SIZE'} != '0' )
        {
-               print FILE "reply_body_max_size $replybodymaxsize deny all\n\n";
+               print FILE "reply_body_max_size $proxysettings{'MAX_INCOMING_SIZE'} KB all\n\n";
        }
 
        print FILE "visible_hostname";
index bbf9d303f35ee9127a5080686861d9d6c4170fd8..b4db1feee23336fac3fe5109718c62fc412489de 100644 (file)
 'fireinfo please enable' => 'Bitte schalten Sie den Fireinfo-Dienst ein.',
 'fireinfo settings' => 'Fireinfo-Einstellungen',
 'fireinfo system version' => 'Systemversionen',
+'fireinfo why descr1' => 'Es ist sehr wichtig für die Entwicklung von IPFire, das dieser Dienst',
+'fireinfo why descr2' => 'eingeschaltet ist. ',
+'fireinfo why enable' => 'Warum sollte man Fireinfo einschalten?',
+'fireinfo why read more' => 'Mehr über die Gründe.',
 'fireinfo your profile id' => 'Profil-ID',
 'firewall' => 'Firewall',
 'firewall graphs' => 'Firewall Diagramme',
index ad16ec2bd359855243718d4c6b43a01654c0ce33..a1d687d05fd25aa3401110f0c9d419de88f61f73 100644 (file)
 'fireinfo please enable' => 'Please enable the fireinfo service.',
 'fireinfo settings' => 'Fireinfo settings',
 'fireinfo system version' => 'System versions',
+'fireinfo why descr1' => 'It is very important for the development of IPFire that you enable this',
+'fireinfo why descr2' => 'service. ',
+'fireinfo why enable' => 'Why should I enable fireinfo?',
+'fireinfo why read more' => 'Read more about the reasons.',
 'fireinfo your profile id' => 'Your profile ID',
 'firewall' => 'Firewall',
 'firewall graphs' => 'Firewall Graphs',
index abc9d848dd4ffee5489c8679563018775dd1e5b0..97b5a87056ba33301eae841166be42cb2c0b98da 100644 (file)
@@ -70,6 +70,10 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       # Fix for braindead board vendors.
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/fireinfo-invalid-id.patch
+
        cd $(DIR_APP) && python setup.py build
        cd $(DIR_APP) && python setup.py install
 
index 57d511a394d68213bb9aaf8c1c4b0ff8da4756a9..0ca035c4aade9d9ab7e54f921287347c79277d3f 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2008  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2010  IPFire Team  <info@ipfire.org>                          #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = hostapd
-PAK_VER    = 20
+PAK_VER    = 21
 
 DEPS       = ""
 
index 553d59901c9dfd30758610c92303cb90fe4cecbd..76619630de10e80682e3864852412b056514e269 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2011  IPFire Team  <info@ipfire.org>                          #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -63,7 +63,7 @@ $(TARGET) :
        cd $(DIR_APP)/install && install -v -m 0755 install probenic.sh \
                probehw.sh downloadsource.sh mountsource.sh mountdest.sh /install/initrd/bin
        #Patch ISO Name for download ...
-       sed -i -e "s|ipfire.iso|$(SNAME)-$(VERSION).$(MACHINE)-full-core$(CORE).iso|g" \
+       sed -i -e "s|ipfire.iso|download.ipfire.org/releases/ipfire-2.x/$(VERSION)-core$(CORE)/$(SNAME)-$(VERSION).$(MACHINE)-full-core$(CORE).iso|g" \
                                /install/initrd/bin/downloadsource.sh
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
index 37ba3d1e6a1902b2158d4e3a68b8fd53f7f31e74..8e7525744009f59f4054ec85d653b280839758fe 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2009  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2011  IPFire Team  <info@ipfire.org>                          #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -27,13 +27,13 @@ include Config
 VER        = 1.00
 
 THISAPP    = ipfireseeder-$(VER)
-DL_FILE    = ipfire-2.7.i586-full-core43.iso.torrent
+DL_FILE    = ipfire-2.9.i586-full-core44.iso.torrent
 
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = ipfireseeder
-PAK_VER    = 18
+PAK_VER    = 20
 
 DEPS       = "rtorrent"
 
@@ -45,7 +45,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 0a8d7e52332c12d29847b0a7ab263bc3
+$(DL_FILE)_MD5 = 70365fee7ca86b2e059eda81ed804b49
 
 install : $(TARGET)
 
index ed8452dcbfc6c044d002b7d8d8d813de41eed9e2..9ef65af0b26455cc92a2372b27e996137a9d15fa 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2010  IPFire Team  <info@ipfire.org>                          #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -34,7 +34,7 @@ TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = streamripper
 PAK_VER    = 1
 
-DEPS       = "glib libmad libogg libvorbis"
+DEPS       = "glib libmad libogg libvorbis faad2"
 
 ###############################################################################
 # Top-level Rules
index fad2609d59db40a6b9ce03bdcdad5b0f2b415e89..5c6360dca16bfc540354bc70dd1818bc96593968 100644 (file)
@@ -19,7 +19,9 @@
 #                                                                             #
 ###############################################################################
 
-IPFireISO=download.ipfire.org/iso/ipfire.iso
+#lfs change the url while build!
+IPFireISO=ipfire.iso
+#
 
 #Get user defined download from boot cmdline
 grep "netinstall=" /proc/cmdline > /dev/null && CMDLINE=1
index f0be27313564481dda045131d3fb8ddd7a84acb9..80234d0cffdfc378d78744e155b41685229fada0 100644 (file)
@@ -62,7 +62,7 @@ uname -r | grep "ipfire-xen";
 if [ ${?} = 0 ]; then
        #Xen Kernel is active
        #Set grub default entry to this kernel
-       sed -i -e "s|^default saved|default $ENTRY|g" /boot/grub/grub.conf
+       sed -i -e "s|^default .*|default $ENTRY|g" /boot/grub/grub.conf
        #Remove ramdisk of normal kernel (not enough space)
        rm -f /boot/ipfirerd-$KVER.img
 else
diff --git a/src/patches/fireinfo-invalid-id.patch b/src/patches/fireinfo-invalid-id.patch
new file mode 100644 (file)
index 0000000..669deb6
--- /dev/null
@@ -0,0 +1,18 @@
+commit ac68f90a0229083d755e7e2e8980822405ac2da8
+Author: Michael Tremer <michael.tremer@ipfire.org>
+Date:   Tue Jan 18 19:11:06 2011 +0100
+
+    Add invalid ID: 00020003-0004-0005-0006-000700080009.
+
+diff --git a/fireinfo/system.py b/fireinfo/system.py
+index 135c29b..690eae2 100644
+--- a/fireinfo/system.py
++++ b/fireinfo/system.py
+@@ -41,6 +41,7 @@ INVALID_ID_STRINGS = (
+       "N/A", "n/a",
+       "12345", "54321", "202020",
+       "Chassis", "chassis",
++      "00020003-0004-0005-0006-000700080009",
+ )
+ class Singleton(type):
index 72e6a0b4b32ad7499e1f1f0ba3410cb1857b1f49..426c1e45fb9c7be66eefa2b65594bdfb2c87ecc1 100644 (file)
@@ -2,7 +2,7 @@
 
 COREVER=`cat /opt/pakfire/db/core/mine`
 # FIXME: edit this lines before release
-URL=http://download.ipfire.org/iso/
+URL=http://download.ipfire.org/releases/ipfire-2.x/2.9-core$COREVER/
 ISO=ipfire-2.9.i586-full-core$COREVER.iso
 
 if [ -z "$1" ]; then