reverted clamav because of gcc problem
fixed outgoingfw error with ppp connections
added recent fixes to core 2
fixed ppp script timeout no more killing up and down scripts
remove empty lines from the package files because of stty error
git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1127
ea5c0bd1-69bd-2848-81d8-
4f18e57aeed8
38 files changed:
my $configfile = "/var/ipfire/outgoing/rules";
my $p2pfile = "/var/ipfire/outgoing/p2protocols";
my $configfile = "/var/ipfire/outgoing/rules";
my $p2pfile = "/var/ipfire/outgoing/p2protocols";
-&General::readhash("${General::swroot}/ethernet/settings", \%netsettings);
-
### Values that have to be initialized
$outfwsettings{'ACTION'} = '';
$outfwsettings{'VALID'} = 'yes';
### Values that have to be initialized
$outfwsettings{'ACTION'} = '';
$outfwsettings{'VALID'} = 'yes';
&General::readhash("${General::swroot}/outgoing/settings", \%outfwsettings);
&General::readhash("${General::swroot}/ethernet/settings", \%netsettings);
&General::readhash("${General::swroot}/outgoing/settings", \%outfwsettings);
&General::readhash("${General::swroot}/ethernet/settings", \%netsettings);
+$netsettings{'RED_DEV'}=`cat /var/ipfire/red/iface`;
+
open( FILE, "< $configfile" ) or die "Unable to read $configfile";
@configs = <FILE>;
close FILE;
open( FILE, "< $configfile" ) or die "Unable to read $configfile";
@configs = <FILE>;
close FILE;
srv/web/ipfire/cgi-bin/pakfire.cgi
srv/web/ipfire/cgi-bin/ids.cgi
srv/web/ipfire/cgi-bin/index.cgi
srv/web/ipfire/cgi-bin/pakfire.cgi
srv/web/ipfire/cgi-bin/ids.cgi
srv/web/ipfire/cgi-bin/index.cgi
+srv/web/ipfire/html/redirect.cgi
var/ipfire/qos/bin/makeqosscripts.pl
var/ipfire/qos/bin/makeqosscripts.pl
+var/ipfire/outgoing/bin/outgoingfw.pl
. /opt/pakfire/lib/functions.sh
mv /etc/sysconfig/rc.local /etc/sysconfig/rc.local.old
extract_files
. /opt/pakfire/lib/functions.sh
mv /etc/sysconfig/rc.local /etc/sysconfig/rc.local.old
extract_files
+if [ -e "/var/ipfire/qos/enable" ]; then
+ /usr/local/bin/qosctrl stop
+ /usr/local/bin/qosctrl generate
+ /usr/local/bin/qosctrl start
+fi
+/usr/local/bin/outgoingfwctrl
* cpio-2.6
* cups-1.2.12
* cups-1.3.4
* cpio-2.6
* cups-1.2.12
* cups-1.3.4
* curl-7.15.3
* cyrus-imapd-2.2.12
* cyrus-sasl-2.1.21
* curl-7.15.3
* cyrus-imapd-2.2.12
* cyrus-sasl-2.1.21
<td colspan='3' height='60%' valign="bottom" align="right">
<font face="verdana,arial,sans serif" color="#656565" size="1">Web Filtering by
</font>
<td colspan='3' height='60%' valign="bottom" align="right">
<font face="verdana,arial,sans serif" color="#656565" size="1">Web Filtering by
</font>
- <a href="http://www.ipfire.eu" target="_blank"><b>
+ <a href="http://www.ipfire.org" target="_blank"><b>
<font face="verdana,arial,sans serif" color="#656565" size="1">IPFire</b></a>
</font>
<font face="verdana,arial,sans serif" color="#656565" size="1">IPFire</b></a>
</font>
THISAPP = clamav-$(VER)
DL_FILE = $(THISAPP).tar.gz
THISAPP = clamav-$(VER)
DL_FILE = $(THISAPP).tar.gz
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = clamav
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = clamav
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = e500651858a9187a87025c8a5c23969c
+$(DL_FILE)_MD5 = 2a7265d17cfa80c32858978f16a3f47b
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
touch /etc/asound.state
ln -svf ../init.d/alsa /etc/rc.d/rc3.d/S65alsa
ln -svf ../init.d/alsa /etc/rc.d/rc0.d/K35alsa
touch /etc/asound.state
ln -svf ../init.d/alsa /etc/rc.d/rc3.d/S65alsa
ln -svf ../init.d/alsa /etc/rc.d/rc0.d/K35alsa
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
rm -rf /etc/rc.d/rc*.d/*alsa
rm -rf /etc/rc.d/rc*.d/*alsa
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
sleep 60 && /etc/init.d/applejuice start &
sleep 60 && /etc/init.d/applejuice start &
ln -svf ../init.d/applejuice /etc/rc.d/rc0.d/K05applejuice
ln -svf ../init.d/applejuice /etc/rc.d/rc3.d/S98applejuice
ln -svf ../init.d/applejuice /etc/rc.d/rc6.d/K05applejuice
ln -svf ../init.d/applejuice /etc/rc.d/rc0.d/K05applejuice
ln -svf ../init.d/applejuice /etc/rc.d/rc3.d/S98applejuice
ln -svf ../init.d/applejuice /etc/rc.d/rc6.d/K05applejuice
-
-/etc/init.d/apache reload
+/etc/init.d/apache reload
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
/etc/init.d/applejuice stop
/etc/init.d/applejuice stop
rm -rf /etc/rc.d/rc*.d/*applejuice
rm -rf /etc/rc.d/rc*.d/*applejuice
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
/usr/local/bin/clamavctrl enable
/usr/local/bin/clamavctrl enable
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
/usr/local/bin/clamavctrl disable
/usr/local/bin/clamavctrl disable
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
start_service --delay 300 --background ${NAME}
start_service --delay 300 --background ${NAME}
ln -svf ../init.d/cups /etc/rc.d/rc0.d/K00cups
ln -svf ../init.d/cups /etc/rc.d/rc3.d/S25cups
ln -svf ../init.d/cups /etc/rc.d/rc6.d/K00cups
ln -svf ../init.d/cups /etc/rc.d/rc0.d/K00cups
ln -svf ../init.d/cups /etc/rc.d/rc3.d/S25cups
ln -svf ../init.d/cups /etc/rc.d/rc6.d/K00cups
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
rm -rf /etc/rc.d/rc*.d/*cups
rm -rf /etc/rc.d/rc*.d/*cups
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
extract_files
restore_backup ${NAME}
extract_files
restore_backup ${NAME}
ln -sf ../init.d/cyrus-imapd /etc/rc.d/rc0.d/K23cyrus-imapd
ln -sf ../init.d/cyrus-imapd /etc/rc.d/rc3.d/S37cyrus-imapd
ln -sf ../init.d/cyrus-imapd /etc/rc.d/rc6.d/K23cyrus-imapd
ln -sf ../init.d/cyrus-imapd /etc/rc.d/rc0.d/K23cyrus-imapd
ln -sf ../init.d/cyrus-imapd /etc/rc.d/rc3.d/S37cyrus-imapd
ln -sf ../init.d/cyrus-imapd /etc/rc.d/rc6.d/K23cyrus-imapd
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
rm -rfv /etc/rc.d/rc*.d/*cyrus-imapd
rm -rfv /etc/rc.d/rc*.d/*cyrus-imapd
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
ln -sf ../init.d/cyrus-sasl /etc/rc.d/rc0.d/K49cyrus-sasl
ln -sf ../init.d/cyrus-sasl /etc/rc.d/rc3.d/S24cyrus-sasl
ln -sf ../init.d/cyrus-sasl /etc/rc.d/rc6.d/K49cyrus-sasl
ln -sf ../init.d/cyrus-sasl /etc/rc.d/rc0.d/K49cyrus-sasl
ln -sf ../init.d/cyrus-sasl /etc/rc.d/rc3.d/S24cyrus-sasl
ln -sf ../init.d/cyrus-sasl /etc/rc.d/rc6.d/K49cyrus-sasl
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
rm -rvf /etc/rc.d/rc*.d/*cyrus-sasl
rm -rvf /etc/rc.d/rc*.d/*cyrus-sasl
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
extract_files
restore_backup ${NAME}
extract_files
restore_backup ${NAME}
start_service --background ${NAME}
start_service --background ${NAME}
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
stop_service ${NAME}
make_backup ${NAME}
stop_service ${NAME}
make_backup ${NAME}
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
ln -svf ../init.d/gnump3d /etc/rc.d/rc0.d/K00gnump3d
ln -svf ../init.d/gnump3d /etc/rc.d/rc3.d/S99gnump3d
ln -svf ../init.d/gnump3d /etc/rc.d/rc6.d/K00gnump3d
ln -svf ../init.d/gnump3d /etc/rc.d/rc0.d/K00gnump3d
ln -svf ../init.d/gnump3d /etc/rc.d/rc3.d/S99gnump3d
ln -svf ../init.d/gnump3d /etc/rc.d/rc6.d/K00gnump3d
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
rm -rf /etc/rc.d/rc*.d/*gnump3d
rm -rf /etc/rc.d/rc*.d/*gnump3d
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
start_service --delay 90 --background ${NAME}
start_service --delay 90 --background ${NAME}
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
/etc/init.d/ipfireseeder stop
/etc/init.d/ipfireseeder stop
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
ln -svf ../init.d/mldonkey /etc/rc.d/rc0.d/K05mldonkey
ln -svf ../init.d/mldonkey /etc/rc.d/rc3.d/S98mldonkey
ln -svf ../init.d/mldonkey /etc/rc.d/rc6.d/K05mldonkey
ln -svf ../init.d/mldonkey /etc/rc.d/rc0.d/K05mldonkey
ln -svf ../init.d/mldonkey /etc/rc.d/rc3.d/S98mldonkey
ln -svf ../init.d/mldonkey /etc/rc.d/rc6.d/K05mldonkey
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
/etc/init.d/mldonkey stop
/etc/init.d/mldonkey stop
rm -rf /etc/rc.d/rc*.d/*mldonkey
rm -rf /etc/rc.d/rc*.d/*mldonkey
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
ln -svf /etc/init.d/mpd /etc/rc.d/rc3.d/S65mpd
ln -svf /etc/init.d/mpd /etc/rc.d/rc0.d/K35mpd
ln -svf /etc/init.d/mpd /etc/rc.d/rc6.d/K35mpd
ln -svf /var/ipfire/mpfire/mpd.conf /etc/mpd.conf
ln -svf /etc/init.d/mpd /etc/rc.d/rc3.d/S65mpd
ln -svf /etc/init.d/mpd /etc/rc.d/rc0.d/K35mpd
ln -svf /etc/init.d/mpd /etc/rc.d/rc6.d/K35mpd
ln -svf /var/ipfire/mpfire/mpd.conf /etc/mpd.conf
touch /var/log/mpd.error.log
touch /var/log/mpd.log
touch /var/log/mpd.error.log
touch /var/log/mpd.log
start_service --delay 60 --background ${NAME}
start_service --delay 60 --background ${NAME}
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
stop_service ${NAME}
make_backup ${NAME}
stop_service ${NAME}
make_backup ${NAME}
rm -f /etc/rc.d/rc*.d/*mpd /var/log/mpd.error.log /var/log/mpd.log /etc/mpd.conf
rm -f /etc/rc.d/rc*.d/*mpd /var/log/mpd.error.log /var/log/mpd.log /etc/mpd.conf
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
ln -svf ../init.d/mysql /etc/rc.d/rc0.d/K26mysql
ln -svf ../init.d/mysql /etc/rc.d/rc3.d/S34mysql
ln -svf ../init.d/mysql /etc/rc.d/rc6.d/K26mysql
ln -svf ../init.d/mysql /etc/rc.d/rc0.d/K26mysql
ln -svf ../init.d/mysql /etc/rc.d/rc3.d/S34mysql
ln -svf ../init.d/mysql /etc/rc.d/rc6.d/K26mysql
while [ "$COUNTER" -lt "10" ]; do
[ -e "/var/run/mysql/mysql.sock" ] && break
echo "MySQL server is still not running. Waiting 5 seconds."
sleep 5
COUNTER=$(($COUNTER + 1))
done
while [ "$COUNTER" -lt "10" ]; do
[ -e "/var/run/mysql/mysql.sock" ] && break
echo "MySQL server is still not running. Waiting 5 seconds."
sleep 5
COUNTER=$(($COUNTER + 1))
done
[ -e "/var/run/mysql/mysql.sock" ] || (echo "MySQL still noch running... Exiting."; \
exit 1)
[ -e "/var/run/mysql/mysql.sock" ] || (echo "MySQL still noch running... Exiting."; \
exit 1)
mysqladmin -u root --password='' password 'mysqlfire'
mysqladmin -u root --password='' password 'mysqlfire'
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
rm -rvf /etc/rc.d/rc*.d/*mysql
rm -rvf /etc/rc.d/rc*.d/*mysql
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
mysql < /srv/web/openmailadmin/mail.dump
mysql < /srv/web/openmailadmin/mail.dump
/etc/init.d/apache reload
/etc/init.d/apache reload
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
# Set postfix's hostname
postconf -e "myhostname=$(hostname -f)"
# Set postfix's hostname
postconf -e "myhostname=$(hostname -f)"
/etc/init.d/postfix start
/etc/init.d/postfix start
ln -sf ../init.d/postfix /etc/rc.d/rc0.d/K25postfix
ln -sf ../init.d/postfix /etc/rc.d/rc3.d/S35postfix
ln -sf ../init.d/postfix /etc/rc.d/rc6.d/K25postfix
ln -sf ../init.d/postfix /etc/rc.d/rc0.d/K25postfix
ln -sf ../init.d/postfix /etc/rc.d/rc3.d/S35postfix
ln -sf ../init.d/postfix /etc/rc.d/rc6.d/K25postfix
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
rm -rfv /etc/rc.d/rc*.d/*postfix
rm -rfv /etc/rc.d/rc*.d/*postfix
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
extract_files
restore_backup ${NAME}
extract_files
restore_backup ${NAME}
/usr/local/bin/sambactrl smbstart
/usr/local/bin/sambactrl smbstart
############################################################################
#
. /opt/pakfire/lib/functions.sh
############################################################################
#
. /opt/pakfire/lib/functions.sh
/usr/local/bin/sambactrl smbstop
make_backup ${NAME}
/usr/local/bin/sambactrl smbstop
make_backup ${NAME}