This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, core37 has been updated
via fcaac741a528a9d7996ed93ba1da8befda721f6d (commit)
via c2b08c797435bea89ae259dd16ebea0507c17a63 (commit)
via 461f6df8a5eb5135f1494be959deef2d1931d345 (commit)
via 781adc6748ba064737717c88b2cc1374cd1128ce (commit)
via 65e8619acc66087a71b2ba11ee6babf1b2f59d5c (commit)
via f60723b6a1adc1aa59fa50b73edc18ec474be6b6 (commit)
via 0d4e628e81a9a04f537ad70bbd7d5caeb0f421f4 (commit)
from 7e576fa244388aef1199d481ab7557502fb8be53 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fcaac741a528a9d7996ed93ba1da8befda721f6d
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date: Sun Mar 28 16:13:42 2010 +0200
Add qos changes to core37.
commit c2b08c797435bea89ae259dd16ebea0507c17a63
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date: Sun Mar 28 16:13:15 2010 +0200
Fix update booster permissions.
commit 461f6df8a5eb5135f1494be959deef2d1931d345
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date: Sun Mar 28 16:11:48 2010 +0200
Fix permission change of existing directories at core updates.
-----------------------------------------------------------------------
Summary of changes:
config/rootfiles/core/37/filelists/files | 2 +
config/rootfiles/core/37/update.sh | 4 +
html/cgi-bin/qos.cgi | 92 +++++++++++++++---------------
html/cgi-bin/wlanap.cgi | 4 +-
langs/de/cgi-bin/de.pl | 6 ++
langs/en/cgi-bin/en.pl | 7 ++
langs/fr/cgi-bin/fr.pl | 7 ++
src/pakfire/lib/functions.sh | 2 +-
8 files changed, 75 insertions(+), 49 deletions(-)
mode change 100755 => 100644 html/cgi-bin/wlanap.cgi
Difference in files:
diff --git a/config/rootfiles/core/37/filelists/files b/config/rootfiles/core/37/filelists/files
index 0946902..951fc81 100644
--- a/config/rootfiles/core/37/filelists/files
+++ b/config/rootfiles/core/37/filelists/files
@@ -15,9 +15,11 @@ srv/web/ipfire/cgi-bin/urlfilter.cgi
srv/web/ipfire/cgi-bin/outgoingfw.cgi
srv/web/ipfire/cgi-bin/remote.cgi
srv/web/ipfire/cgi-bin/media.cgi
+srv/web/ipfire/cgi-bin/qos.cgi
srv/web/ipfire/cgi-bin/hardwaregraphs.cgi
usr/local/bin/sshctrl
var/ipfire/langs/de.pl
var/ipfire/langs/en.pl
var/ipfire/langs/fr.pl
opt/pakfire/lib/functions.pl
+opt/pakfire/lib/functions.sh
diff --git a/config/rootfiles/core/37/update.sh b/config/rootfiles/core/37/update.sh
index 038187c..67cd0c0 100644
--- a/config/rootfiles/core/37/update.sh
+++ b/config/rootfiles/core/37/update.sh
@@ -48,6 +48,10 @@ ln -sf ../init.d/cyrus-sasl /etc/rc.d/rc6.d/K49cyrus-sasl
perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"
#
+#Fix permissions of update booster
+chown -R nobody:nobody /var/ipfire/updatexlrator
+
+#
#Run depmod to rebuld module informations
depmod 2.6.27.42-ipfire
depmod 2.6.27.42-ipfire-xen
diff --git a/html/cgi-bin/qos.cgi b/html/cgi-bin/qos.cgi
index 49031d0..1beb9e3 100644
--- a/html/cgi-bin/qos.cgi
+++ b/html/cgi-bin/qos.cgi
@@ -148,10 +148,10 @@ END
;
close FILE;
} else {
- $qossettings{'ACTION'} = 'Parentklasse hinzufuegen';
+ $qossettings{'ACTION'} = $Lang::tr{'parentclass add'};
}
}
-elsif ($qossettings{'DOCLASS'} eq 'Bearbeiten')
+elsif ($qossettings{'DOCLASS'} eq $Lang::tr{'edit'})
{
open( FILE, "< $classfile" ) or die "Unable to read $classfile";
@classes = <FILE>;
@@ -180,7 +180,7 @@ elsif ($qossettings{'DOCLASS'} eq 'Bearbeiten')
&Header::closepage();
exit
}
-elsif ($qossettings{'DOCLASS'} eq 'Loeschen')
+elsif ($qossettings{'DOCLASS'} eq $Lang::tr{'delete'})
{
open( FILE, "< $classfile" ) or die "Unable to read $classfile";
@tmp = <FILE>;
@@ -226,9 +226,9 @@ END
;
close FILE;
} else {
- $qossettings{'ACTION'} = 'Unterklasse hinzufuegen';
+ $qossettings{'ACTION'} = $Lang::tr{'qos add subclass'};
}
-} elsif ($qossettings{'DOSCLASS'} eq 'Loeschen')
+} elsif ($qossettings{'DOSCLASS'} eq $Lang::tr{'delete'})
{
open( FILE, "< $subclassfile" ) or die "Unable to read $classfile";
@tmp = <FILE>;
@@ -254,13 +254,13 @@ if ($qossettings{'DOLEVEL7'} eq $Lang::tr{'save'})
if ( $qossettings{'QIP'} ne '' ) {
unless ( &General::validip($qossettings{'QIP'}) ) {
$qossettings{'VALID'} = 'no';
- $message = "Die Quell-IP-Adresse ist ungueltig.";
+ $message = $Lang::tr{'The source IP address is invalid.'};
}
}
if ( $qossettings{'DIP'} ne '' ) {
unless ( &General::validip($qossettings{'DIP'}) ) {
$qossettings{'VALID'} = 'no';
- $message = "Die Ziel-IP-Adresse ist ungueltig.";
+ $message = $Lang::tr{'The destination IP address is invalid.'};
}
}
if ($qossettings{'CLASS'} >= 100 && $qossettings{'CLASS'} < 121) {
@@ -280,9 +280,9 @@ END
;
close FILE;
} else {
- $qossettings{'ACTION'} = 'Level7-Regel hinzufuegen';
+ $qossettings{'ACTION'} = $Lang::tr{'Add Level7 rule'};
}
-} elsif ($qossettings{'DOLEVEL7'} eq 'Loeschen')
+} elsif ($qossettings{'DOLEVEL7'} eq $Lang::tr{'delete'})
{
open( FILE, "< $level7file" ) or die "Unable to read $level7file";
@l7rules = <FILE>;
@@ -292,7 +292,7 @@ END
{
@l7ruleline = split( /\;/, $l7ruleentry );
if ( ($l7ruleline[0] eq $qossettings{'CLASS'}) && ($l7ruleline[2] eq $qossettings{'L7PROT'}))
- {$message = "Level7-Regel ($qossettings{'CLASS'} - $qossettings{'L7PROT'}) wurde geloescht.";}
+ {$message = "$Lang::tr{'Level7 Rule'} ($qossettings{'CLASS'} - $qossettings{'L7PROT'}) $Lang::tr{'was deleted'}.";}
else
{ open( FILE, ">> $level7file" ) or die "Unable to read $level7file";
print FILE $l7ruleentry;
@@ -300,7 +300,7 @@ END
}
}
open( FILE, "< $level7file" ) or system("touch $level7file");close FILE;
- } elsif ($qossettings{'DOLEVEL7'} eq 'Bearbeiten')
+ } elsif ($qossettings{'DOLEVEL7'} eq $Lang::tr{'edit'})
{
open( FILE, "< $level7file" ) or die "Unable to read $level7file";
@l7rules = <FILE>;
@@ -329,13 +329,13 @@ if ($qossettings{'DOPORT'} eq $Lang::tr{'save'})
if ( $qossettings{'QIP'} ne '' ) {
unless ( &General::validip($qossettings{'QIP'}) ) {
$qossettings{'VALID'} = 'no';
- $message = "Die Quell-IP-Adresse ist ungueltig.";
+ $message = "$Lang::tr{'The source IP address is invalid.'}";
}
}
if ( $qossettings{'DIP'} ne '' ) {
unless ( &General::validip($qossettings{'DIP'}) ) {
$qossettings{'VALID'} = 'no';
- $message = "Die Ziel-IP-Adresse ist ungueltig.";
+ $message = "$Lang::tr{'The destination IP address is invalid.'}";
}
}
if ($qossettings{'CLASS'} >= 100 && $qossettings{'CLASS'} < 121) {
@@ -355,9 +355,9 @@ END
;
close FILE;
} else {
- $qossettings{'ACTION'} = 'Port-Regel hinzufuegen';
+ $qossettings{'ACTION'} = $Lang::tr{'Add Port Rule'};
}
-} elsif ($qossettings{'DOPORT'} eq 'Loeschen')
+} elsif ($qossettings{'DOPORT'} eq $Lang::tr{'delete'})
{
open( FILE, "< $portfile" ) or die "Unable to read $portfile";
@portrules = <FILE>;
@@ -373,7 +373,7 @@ END
}
close FILE;
$message = "$Lang::tr{'Port Rule'} ($qossettings{'CLASS'} - $qossettings{'PPROT'}) $Lang::tr{'was deleted'}.";
-} elsif ($qossettings{'DOPORT'} eq 'Bearbeiten')
+} elsif ($qossettings{'DOPORT'} eq $Lang::tr{'edit'})
{
open( FILE, "< $portfile" ) or die "Unable to read $portfile";
@portrules = <FILE>;
@@ -431,7 +431,7 @@ elsif ($qossettings{'DOTOS'} eq 'Loeschen')
}
close FILE;
$message = "$Lang::tr{'TOS Rule'} ($qossettings{'CLASS'} - $qossettings{'TOS'}) $Lang::tr{'was deleted'}.";
-} elsif ($qossettings{'DOTOS'} eq 'Bearbeiten')
+} elsif ($qossettings{'DOTOS'} eq $Lang::tr{'edit'})
{
open( FILE, "< $tosfile" ) or die "Unable to read $tosfile";
@tosrules = <FILE>;
@@ -459,7 +459,7 @@ elsif ($qossettings{'DOTOS'} eq 'Loeschen')
############################################################################################################################
############################################################################################################################
-if ($qossettings{'ACTION'} eq 'Start')
+if ($qossettings{'ACTION'} eq $Lang::tr{'start'})
{
$qossettings{'ENABLED'} = 'on';
&General::writehash("${General::swroot}/qos/settings", \%qossettings);
@@ -468,7 +468,7 @@ if ($qossettings{'ACTION'} eq 'Start')
system("/usr/local/bin/qosctrl start >/dev/null 2>&1");
system("logger -t ipfire 'QoS started'");
}
-elsif ($qossettings{'ACTION'} eq 'Stop')
+elsif ($qossettings{'ACTION'} eq $Lang::tr{'stop'})
{
system("/usr/local/bin/qosctrl stop >/dev/null 2>&1");
unlink "/var/ipfire/qos/bin/qos.sh";
@@ -477,7 +477,7 @@ elsif ($qossettings{'ACTION'} eq 'Stop')
$qossettings{'ENABLED'} = 'off';
&General::writehash("${General::swroot}/qos/settings", \%qossettings);
}
-elsif ($qossettings{'ACTION'} eq 'Neustart')
+elsif ($qossettings{'ACTION'} eq $Lang::tr{'restart'})
{
if ($qossettings{'ENABLED'} eq 'on'){
system("/usr/local/bin/qosctrl stop >/dev/null 2>&1");
@@ -590,7 +590,7 @@ END
system("/usr/local/bin/qosctrl start >/dev/null 2>&1");
system("logger -t ipfire 'QoS started'");
}
-elsif ($qossettings{'ACTION'} eq "$Lang::tr{'status'}" )
+elsif ($qossettings{'ACTION'} eq $Lang::tr{'status'} )
{
&Header::openbox('100%', 'left', 'QoS Status');
if ($qossettings{'ENABLED'} eq 'on'){
@@ -604,30 +604,30 @@ elsif ($qossettings{'ACTION'} eq "$Lang::tr{'status'}" )
&Header::closepage();
exit
}
-elsif ($qossettings{'ACTION'} eq "$Lang::tr{'parentclass add'}" )
+elsif ($qossettings{'ACTION'} eq $Lang::tr{'parentclass add'} )
{
&parentclass();
&Header::closebigbox();
&Header::closepage();
exit
}
-elsif ($qossettings{'ACTION'} eq 'Unterklasse hinzufuegen')
+elsif ($qossettings{'ACTION'} eq $Lang::tr{'qos add subclass'})
{
&subclass();
&Header::closebigbox();
&Header::closepage();
exit
}
-elsif ($qossettings{'ACTION'} eq 'Regel hinzufuegen')
+elsif ($qossettings{'ACTION'} eq $Lang::tr{'Add Rule'})
{
&Header::openbox('100%', 'center', $Lang::tr{'Add Rule'});
print <<END
<table>
<tr><td align='center'>$Lang::tr{'Choose Rule'}
<tr><td align='center'>
- <input type="button" onClick="swapVisibility('l7rule')" value='Level7-Regel' />
- <input type="button" onClick="swapVisibility('portrule')" value='Port-Regel' />
- <input type="button" onClick="swapVisibility('tosrule')" value='TOS-Regel' />
+ <input type="button" onClick="swapVisibility('l7rule')" value='$Lang::tr{'Level7 Rule'}' />
+ <input type="button" onClick="swapVisibility('portrule')" value='$Lang::tr{'Port Rule'}' />
+ <input type="button" onClick="swapVisibility('tosrule')" value='$Lang::tr{'TOS rule'}' />
</table>
END
;
@@ -716,8 +716,8 @@ END
<tr><td width='50%' align='left'><b>Quality of Service:</b>
<td width='50%' align='center' bgcolor='$statuscolor'><font color='white'>$status</font>
<tr><td width='100%' align='center' colspan='2'>
- <input type='submit' name='ACTION' value="Start" />
- <input type='submit' name='ACTION' value="Stop" />
+ <input type='submit' name='ACTION' value="$Lang::tr{'start'}" />
+ <input type='submit' name='ACTION' value="$Lang::tr{'stop'}" />
<input type='submit' name='ACTION' value="$Lang::tr{'restart'}" /></table></form>
END
;
@@ -1184,7 +1184,7 @@ sub showclasses {
@classline = split( /\;/, $classentry );
if ( $classline[0] eq $qossettings{'DEV'} )
{
- &Header::openbox('100%', 'center', "Klasse: $classline[1]");
+ &Header::openbox('100%', 'center', "$Lang::tr{'Class'}: $classline[1]");
print <<END
<table border='0' width='100%' cellspacing='0'>
<tr><td bgcolor='$color{'color20'}' width='10%' align='center'><b>$Lang::tr{'interface'}</b>
@@ -1208,22 +1208,22 @@ sub showclasses {
<table border='0'><tr>
<td><form method='post' action='$ENV{'SCRIPT_NAME'}'>
<input type='hidden' name='CLASS' value='$classline[1]' />
- <input type='hidden' name='ACTION' value='Unterklasse hinzufuegen' />
+ <input type='hidden' name='ACTION' value='$Lang::tr{'qos add subclass'}' />
<input type='image' alt='$Lang::tr{'add subclass'}' src='/images/addblue.gif' />
</form>
<td><form method='post' action='$ENV{'SCRIPT_NAME'}'>
<input type='hidden' name='CLASS' value='$classline[1]' />
- <input type='hidden' name='ACTION' value='Regel hinzufuegen' />
+ <input type='hidden' name='ACTION' value='$Lang::tr{'Add Rule'}' />
<input type='image' alt='$Lang::tr{'Add Rule'}' src='/images/addgreen.gif' />
</form>
<td><form method='post' action='$ENV{'SCRIPT_NAME'}'>
<input type='hidden' name='CLASS' value='$classline[1]' />
- <input type='hidden' name='DOCLASS' value='Bearbeiten' />
+ <input type='hidden' name='DOCLASS' value='$Lang::tr{'edit'}' />
<input type='image' alt='$Lang::tr{'edit'}' src='/images/edit.gif' />
</form>
<td><form method='post' action='$ENV{'SCRIPT_NAME'}'>
<input type='hidden' name='CLASS' value='$classline[1]' />
- <input type='hidden' name='DOCLASS' value='Loeschen' />
+ <input type='hidden' name='DOCLASS' value='$Lang::tr{'delete'}' />
<input type='image' alt='$Lang::tr{'delete'}' src='/images/delete.gif' />
</form>
</table>
@@ -1248,14 +1248,14 @@ END
<td><form method='post' action='$ENV{'SCRIPT_NAME'}'>
<input type='hidden' name='CLASS' value='$l7ruleline[0]' />
<input type='hidden' name='L7PROT' value='$l7ruleline[2]' />
- <input type='hidden' name='DOLEVEL7' value='Bearbeiten' />
- <input type='image' alt='Bearbeiten' src='/images/edit.gif' />
+ <input type='hidden' name='DOLEVEL7' value='$Lang::tr{'edit'}' />
+ <input type='image' alt='$Lang::tr{'edit'}' src='/images/edit.gif' />
</form>
<td><form method='post' action='$ENV{'SCRIPT_NAME'}'>
<input type='hidden' name='CLASS' value='$l7ruleline[0]' />
<input type='hidden' name='L7PROT' value='$l7ruleline[2]' />
- <input type='hidden' name='DOLEVEL7' value='Loeschen' />
- <input type='image' alt='Loeschen' src='/images/delete.gif' />
+ <input type='hidden' name='DOLEVEL7' value='$Lang::tr{'delete'}' />
+ <input type='image' alt='$Lang::tr{'delete'}' src='/images/delete.gif' />
</form>
</table>
END
@@ -1313,7 +1313,7 @@ END
<input type='hidden' name='QPORT' value='$portruleline[4]' />
<input type='hidden' name='DIP' value='$portruleline[5]' />
<input type='hidden' name='DPORT' value='$portruleline[6]' />
- <input type='hidden' name='DOPORT' value='Bearbeiten' />
+ <input type='hidden' name='DOPORT' value='$Lang::tr{'edit'}' />
<input type='image' alt='$Lang::tr{'edit'}' src='/images/edit.gif' />
</form>
<td><form method='post' action='$ENV{'SCRIPT_NAME'}'>
@@ -1323,7 +1323,7 @@ END
<input type='hidden' name='QPORT' value='$portruleline[4]' />
<input type='hidden' name='DIP' value='$portruleline[5]' />
<input type='hidden' name='DPORT' value='$portruleline[6]' />
- <input type='hidden' name='DOPORT' value='Loeschen' />
+ <input type='hidden' name='DOPORT' value='$Lang::tr{'delete'}' />
<input type='image' alt='$Lang::tr{'delete'}' src='/images/delete.gif' />
</form>
</table>
@@ -1371,14 +1371,14 @@ END
<input type='hidden' name='CLASS' value='$tosruleline[0]' />
<input type='hidden' name='DEV' value='$tosruleline[1]' />
<input type='hidden' name='TOS' value='$tosruleline[2]' />
- <input type='hidden' name='DOTOS' value='Bearbeiten' />
+ <input type='hidden' name='DOTOS' value='$Lang::tr{'edit'}' />
<input type='image' alt='$Lang::tr{'edit'}' src='/images/edit.gif' />
</form>
<td><form method='post' action='$ENV{'SCRIPT_NAME'}'>
<input type='hidden' name='CLASS' value='$tosruleline[0]' />
<input type='hidden' name='DEV' value='$tosruleline[1]' />
<input type='hidden' name='TOS' value='$tosruleline[2]' />
- <input type='hidden' name='DOTOS' value='Loeschen' />
+ <input type='hidden' name='DOTOS' value='$Lang::tr{'delete'}' />
<input type='image' alt='$Lang::tr{'delete'}' src='/images/delete.gif' />
</form>
</table>
@@ -1406,17 +1406,17 @@ END
<table border='0'><tr>
<td><form method='post' action='$ENV{'SCRIPT_NAME'}'>
<input type='hidden' name='CLASS' value='$subclassline[2]' />
- <input type='hidden' name='ACTION' value='Regel hinzufuegen' />
+ <input type='hidden' name='ACTION' value='$Lang::tr{'Add Rule'}' />
<input type='image' alt='$Lang::tr{'Add Rule'}' src='/images/addgreen.gif' />
</form>
<td><form method='post' action='$ENV{'SCRIPT_NAME'}'>
<input type='hidden' name='CLASS' value='$subclassline[2]' />
- <input type='hidden' name='DOSCLASS' value='Bearbeiten' />
+ <input type='hidden' name='DOSCLASS' value='$Lang::tr{'edit'}' />
<input type='image' alt='$Lang::tr{'edit'}' src='/images/edit.gif' />
</form>
<td><form method='post' action='$ENV{'SCRIPT_NAME'}'>
<input type='hidden' name='CLASS' value='$subclassline[2]' />
- <input type='hidden' name='DOSCLASS' value='Loeschen' />
+ <input type='hidden' name='DOSCLASS' value='$Lang::tr{'delete'}' />
<input type='image' alt='$Lang::tr{'delete'}' src='/images/delete.gif' />
</form>
</table>
@@ -1496,7 +1496,7 @@ sub validclass {
} elsif ( $qossettings{'DEVICE'} eq $qossettings{'IMQ_DEV'} ) {
if ($qossettings{'CLASS'} lt 200 || $qossettings{'CLASS'} ge 221) {
$qossettings{'VALID'} = 'no';
- $message = "Die Klassennummer passt nicht zum angegebenen Interface.";
+ $message = "$Lang::tr{'The class number does not match the specified interface.'}";
}
}
open( FILE, "< $classfile" ) or die "Unable to read $classfile";
diff --git a/html/cgi-bin/wlanap.cgi b/html/cgi-bin/wlanap.cgi
old mode 100755
new mode 100644
index a0b7de4..5bbb0d1
--- a/html/cgi-bin/wlanap.cgi
+++ b/html/cgi-bin/wlanap.cgi
@@ -343,8 +343,8 @@ print <<END
<table width='95%' cellspacing='0'>
<tr><td bgcolor='$color{'color20'}' colspan='4' align='left'><strong>$Lang::tr{'wlanap wlan settings'}</strong>
<tr><td width='25%' class='base'>SSID: </td><td class='base' colspan='3'><input type='text' name='SSID' size='40' value='$wlanapsettings{'SSID'}' /></td></tr>
-<tr><td width='25%' class='base'>SSID Broadcast: </td><td class='base' colspan='3'>on <input type='radio' name='HIDESSID' value='on' $checked{'HIDESSID'}{'on'} /> |
- <input type='radio' name='HIDESSID' value='off' $checked{'HIDESSID'}{'off'} /> off</td></tr>
+<!--SSID Broadcast: on => HIDESSID: off -->
+<tr><td width='25%' class='base'>SSID Broadcast: </td><td class='base' colspan='3'>on <input type='radio' name='HIDESSID' value='off' $checked{'HIDESSID'}{'off'} /> | <input type='radio' name='HIDESSID' value='on' $checked{'HIDESSID'}{'on'} /> off</td></tr>
<tr><td width='25%' class='base'>HW Mode: </td><td class='base' colspan='3'>
<select name='HW_MODE'>
<option value='a' $selected{'HW_MODE'}{'a'}>802.11a</option>
diff --git a/langs/de/cgi-bin/de.pl b/langs/de/cgi-bin/de.pl
index e18fdfb..138dfde 100644
--- a/langs/de/cgi-bin/de.pl
+++ b/langs/de/cgi-bin/de.pl
@@ -44,6 +44,12 @@
'Pages' => 'Seiten',
'Ping' => 'Ping ',
'Port Rule' => 'Port-Regel',
+'The source IP address is invalid.' => 'Die Quell-IP-Adresse ist ungültig.',
+'The destination IP address is invalid.' => 'Die Ziel-IP-Adresse ist ungültig.',
+'Add Level7 rule' => 'Level7-Regel hinzufügen',
+'Level7 rule' => 'Level7-Regel',
+'TOS rule' => 'TOS-Regel',
+'The class number does not match the specified interface.' => 'Die Klassennummer passt nicht zum angegebenen Interface.',
'QoS not enabled' => 'QoS ist nicht aktiviert!',
'Queuelenght' => 'Warteschlangenlänge',
'Remote IP' => 'Entfernte IP / Hostname (DynDNS)',
diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl
index 0bc5033..4908097 100644
--- a/langs/en/cgi-bin/en.pl
+++ b/langs/en/cgi-bin/en.pl
@@ -47,6 +47,13 @@
'repeat' => 'Repeat',
'shuffle' => 'Shuffle',
'Port Rule' => 'Port-Rule',
+'qos add subclass' => 'Add subclass',
+'The source IP address is invalid.' => 'The source IP address is invalid.',
+'The destination IP address is invalid.' => 'The destination IP address is invalid.',
+'Add Level7 rule' => 'Add Level7 rule',
+'Level7 rule' => 'Level7 rule',
+'TOS rule' => 'TOS rule',
+'The class number does not match the specified interface.' => 'The class number does not match the specified interface.',
'QoS not enabled' => 'QoS is not enabled!',
'Queuelenght' => 'Queuelenght',
'Remote IP' => 'Remote IP / Hostname (DynDNS):',
diff --git a/langs/fr/cgi-bin/fr.pl b/langs/fr/cgi-bin/fr.pl
index 0bc5033..4908097 100644
--- a/langs/fr/cgi-bin/fr.pl
+++ b/langs/fr/cgi-bin/fr.pl
@@ -47,6 +47,13 @@
'repeat' => 'Repeat',
'shuffle' => 'Shuffle',
'Port Rule' => 'Port-Rule',
+'qos add subclass' => 'Add subclass',
+'The source IP address is invalid.' => 'The source IP address is invalid.',
+'The destination IP address is invalid.' => 'The destination IP address is invalid.',
+'Add Level7 rule' => 'Add Level7 rule',
+'Level7 rule' => 'Level7 rule',
+'TOS rule' => 'TOS rule',
+'The class number does not match the specified interface.' => 'The class number does not match the specified interface.',
'QoS not enabled' => 'QoS is not enabled!',
'Queuelenght' => 'Queuelenght',
'Remote IP' => 'Remote IP / Hostname (DynDNS):',
diff --git a/src/pakfire/lib/functions.sh b/src/pakfire/lib/functions.sh
index 1cc4d81..e4e3d5b 100644
--- a/src/pakfire/lib/functions.sh
+++ b/src/pakfire/lib/functions.sh
@@ -24,7 +24,7 @@
extract_files() {
echo "Extracting files..."
- tar xvf /opt/pakfire/tmp/files --preserve --numeric-owner -C /
+ tar xvf /opt/pakfire/tmp/files --no-overwrite-dir --preserve --numeric-owner -C /
echo "...Finished."
}
hooks/post-receive
--
IPFire 2.x development tree