| $shareline[0]
+ | $shareline[2]
+ |
+
+END
+;
+ if ($shareline[1] eq 'enabled') {
+ print <
+END
+;
+ } elsif ($shareline[1] eq 'disabled') {
+ print <
+END
+;
+ }
+ print <
+ |
+ |
+END
+;
+ }
+ print <Legende: Freigabe bearbeiten | Freigabe loeschen
+
+END
+;
+
+&Header::closebox();
+
+&Header::closebigbox();
+&Header::closepage();
+
+############################################################################################################################
+############################################################################################################################
+
+sub isrunning
+{
+ my $cmd = $_[0];
+ my $status = " | $Lang::tr{'stopped'} | ";
+ my $pid = '';
+ my $testcmd = '';
+ my $exename;
+
+ $cmd =~ /(^[a-z]+)/;
+ $exename = $1;
+
+ if (open(FILE, "/var/run/${cmd}.pid"))
+ {
+ $pid = ; chomp $pid;
+ close FILE;
+ if (open(FILE, "/proc/${pid}/status"))
+ {
+ while ()
+ {
+ if (/^Name:\W+(.*)/) {
+ $testcmd = $1; }
+ }
+ close FILE;
+ if ($testcmd =~ /$exename/)
+ {
+ $status = "$Lang::tr{'running'} | ";
+ }
+ }
+ }
+
+ return $status;
+}
+
diff --git a/html/html/redirect.cgi b/html/html/redirect.cgi
index 0be18ed2b..6c78e3171 100644
--- a/html/html/redirect.cgi
+++ b/html/html/redirect.cgi
@@ -42,54 +42,37 @@ print <
ACCESS MESSAGE
+
+
+
+
+ |
+ | |
+ $msgtext1
+
+ |
END
;
-if (($filtersettings{'ENABLE_JPEG'} eq 'on') && (-e "/home/httpd/html/images/urlfilter/logo_ipfire.gif"))
+if (!($category eq ""))
{
-print <
-END
-;
-} else {
-print <
-
+ print <
+
+ $category
+
END
;
}
-
print <
-
-
- |
-
- INFO: $category
-
- |
-
-
-
-
-
- |
-
- $msgtext1
-
- |
-
-
- |
-
- $msgtext2
-
-
+ |
+
+ $msgtext2
+
+
END
;
@@ -112,29 +95,16 @@ END
print < $msgtext3
- |
-
-
-
-
|
- |
+ |
Web Filtering by
- IPFire and
-
- SquidGuard
-
- |
-
+ IPFire
+
-
-
-
-
diff --git a/lfs/clamav b/lfs/clamav
index 3eb67fe50..e1379d20a 100644
--- a/lfs/clamav
+++ b/lfs/clamav
@@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = clamav
-PAK_VER = ipfire-beta1
+PAK_VER = 1
###############################################################################
# Top-level Rules
diff --git a/lfs/configroot b/lfs/configroot
index 8c9628280..818c7eaa3 100644
--- a/lfs/configroot
+++ b/lfs/configroot
@@ -86,7 +86,7 @@ $(TARGET) :
cp $(DIR_SRC)/config/cfgroot/nfs-server $(CONFIG_ROOT)/nfs/nfs-server
cp $(DIR_SRC)/config/cfgroot/p2protocols $(CONFIG_ROOT)/outgoing/p2protocols
cp $(DIR_SRC)/config/cfgroot/proxy-acl $(CONFIG_ROOT)/proxy/acl-1.4
- cp $(DIR_SRC)/config/qos/makeqosscripts.pl $(CONFIG_ROOT)/qos/bin/makeqosscripts.pl
+ cp $(DIR_SRC)/config/qos/* $(CONFIG_ROOT)/qos/bin/
cp $(DIR_SRC)/config/cfgroot/ssh-settings $(CONFIG_ROOT)/remote/settings
cp $(DIR_SRC)/config/cfgroot/xtaccess-config $(CONFIG_ROOT)/xtaccess/config
cp $(DIR_SRC)/config/cfgroot/time-settings $(CONFIG_ROOT)/time/settings
diff --git a/lfs/grub b/lfs/grub
index d0800523e..50f415133 100644
--- a/lfs/grub
+++ b/lfs/grub
@@ -139,6 +139,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
done
install -m 0755 $(DIR_SRC)/src/install+setup/install/grubbatch /boot/grub
+ /usr/sbin/grub-set-default 0
@rm -rf $(DIR_APP)
@$(POSTBUILD)
diff --git a/lfs/libogg b/lfs/libogg
index e88a0d1c0..d4b9ad4f8 100644
--- a/lfs/libogg
+++ b/lfs/libogg
@@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = libogg
-PAK_VER = ipfire-beta1
+PAK_VER = 1
###############################################################################
# Top-level Rules
diff --git a/lfs/libvorbis b/lfs/libvorbis
index a98011b54..82165f3e7 100644
--- a/lfs/libvorbis
+++ b/lfs/libvorbis
@@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = libvorbis
-PAK_VER = ipfire-beta1
+PAK_VER = 1
###############################################################################
# Top-level Rules
diff --git a/lfs/xampp b/lfs/xampp
index 6ed5b7fa2..2e98283e7 100644
--- a/lfs/xampp
+++ b/lfs/xampp
@@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE)
DIR_APP = /opt/lampp
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = xampp
-PAK_VER = ipfire-beta1
+PAK_VER = 1
###############################################################################
# Top-level Rules
diff --git a/lfs/xvid b/lfs/xvid
index b7dbba9ff..1e03b30d2 100644
--- a/lfs/xvid
+++ b/lfs/xvid
@@ -33,8 +33,8 @@ DL_FILE = $(THISAPP).tar.bz2
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
-PROG = postfix
-PAK_VER = ipfire-beta1
+PROG = xvid
+PAK_VER = 1
###############################################################################
# Top-level Rules
diff --git a/make.sh b/make.sh
index b46686942..e2cf36b9b 100644
--- a/make.sh
+++ b/make.sh
@@ -867,7 +867,7 @@ buildpackages() {
fi
done
cd $BASEDIR/packages; ls -w1 *.ipfire | awk -F ".ipfire" '{ print $1 }' > $BASEDIR/packages/packages_list.txt
- echo "###EOF###" >> $BASEDIR/packages/packages_list.txt
+ echo -n "###EOF###" >> $BASEDIR/packages/packages_list.txt
cd $PWD
diff --git a/src/ROOTFILES.i386 b/src/ROOTFILES.i386
index 81dd37726..d183ffd36 100644
--- a/src/ROOTFILES.i386
+++ b/src/ROOTFILES.i386
@@ -1268,6 +1268,7 @@ boot/grub/grubbatch
boot/grub/ipfire.xpm.gz
boot/grub/scsigrub.conf
boot/grub/message
+boot/grub/default
#usr/bin/mbchk
usr/sbin/grub
usr/sbin/grub-install
diff --git a/src/pakfire/lib/check_pak.sh b/src/pakfire/lib/check_pak.sh
index 2339d6a20..3f5c0830b 100644
--- a/src/pakfire/lib/check_pak.sh
+++ b/src/pakfire/lib/check_pak.sh
@@ -52,11 +52,10 @@ do
vers=${vers%%_*}
vers=${vers%% *}
ipfver=${zeile#*_*}
- # Testen ob aktuelle Verson schon installiert ist
- # Erst alte Paket Vorschläge löschen
/bin/rm -f $DB_DIR/${name}
- /bin/echo "VER=${vers}" > $DB_DIR/${name}
- /bin/echo "IPFVER=${ipfver}" >> $DB_DIR/${name}
+ /bin/echo -e VER=\"${vers}\" > $DB_DIR/${name}
+ /bin/echo -e IPFVER=\"${ipfver}\" >> $DB_DIR/${name}
+ cat $DB_DIR/${name} | tr -d "\015" > $DB_DIR/${name}
done
# Löschen der Hilfslisten
| | |