Moved updbooster cache files to a larger partition

Added changes to the first core update to avoid full root partitions


git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1113 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
maniacikarus
2007-12-02 10:15:52 +00:00
parent fc57727d27
commit 381f2e7111
7 changed files with 21 additions and 9 deletions

View File

@@ -50,5 +50,12 @@
AuthUserFile /var/ipfire/auth/users
Require user dial admin
</Directory>
Alias /updatecache/ /var/updatecache/
<Directory /var/updatecache>
Options ExecCGI
AllowOverride None
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
</VirtualHost>

View File

@@ -2,3 +2,6 @@ var/ipfire/langs
srv/web/ipfire/cgi-bin/qos.cgi
srv/web/ipfire/cgi-bin/pakfire.cgi
opt/pakfire/lib/functions.sh
srv/web/ipfire/cgi-bin/updatexlrator.cgi
usr/sbin/updxlrator
var/ipfire/updatexlrator/bin/download

View File

@@ -2,5 +2,7 @@
. /opt/pakfire/lib/functions.sh
extract_files
mv /srv/web/ipfire/html/updatecache /var/
/etc/init.d/squid restart
reload_all

View File

@@ -10,8 +10,8 @@
use strict;
my $logfile="/var/log/updatexlrator/download.log";
my $debug = 0;
my $updcachedir="/srv/web/ipfire/html/updatecache";
my $debug = 1;
my $updcachedir="/var/updatecache";
my $updfile='';
my @metadata=();

View File

@@ -14,7 +14,7 @@ use IO::Socket;
$|=1;
my $swroot="/var/ipfire";
my $updcachedir="/srv/web/ipfire/html/updatecache";
my $updcachedir="/var/updatecache";
my %netsettings=();
my %xlratorsettings=();
my $http_port="81";

View File

@@ -145,7 +145,7 @@
* libwww-perl-5.803
* libxml2-2.6.26
* libxslt-1.1.17
* linux-2.6.16.56
* linux-2.6.16.57
* linux-atm-2.4.1
* linux-libc-headers-2.6.12.0
* linuxigd-0.95
@@ -183,7 +183,7 @@
* nfs-utils-1.1.1
* nmap-4.03
* noip_updater_v1.6
* ntfs-3g-1.1030
* ntfs-3g-1.1104
* ntp-4.2.2
* ocaml-3.09.2
* oinkmaster-2.0
@@ -213,7 +213,7 @@
* rrdtool-1.2.15
* rsync-2.6.9
* rtorrent-0.7.6
* samba-3.0.26a
* samba-3.0.27a
* screen-4.0.3
* sdparm-1.01
* sed-4.1.5

View File

@@ -48,7 +48,7 @@ my $filedate='';
my $lastaccess='';
my $lastcheck='';
my $repository = "/srv/web/ipfire/html/updatecache";
my $repository = "/var/updatecache";
my $hintcolour = '#FFFFCC';
my $sfNoSource='0';
@@ -77,7 +77,7 @@ $xlratorsettings{'ACTION'} = '';
$xlratorsettings{'ENABLE_LOG'} = 'off';
$xlratorsettings{'CHILDREN'} = '5';
$xlratorsettings{'PASSIVE_MODE'} = 'off';
$xlratorsettings{'MAX_DISK_USAGE'} = '75';
$xlratorsettings{'MAX_DISK_USAGE'} = '95';
$xlratorsettings{'LOW_DOWNLOAD_PRIORITY'} = 'off';
$xlratorsettings{'ENABLE_AUTOCHECK'} = 'off';
$xlratorsettings{'FULL_AUTOSYNC'} = 'off';