Disabled build of core31-33 packages.

This commit is contained in:
Arne Fitzenreiter
2009-11-12 15:36:49 +01:00
parent 3317ed27de
commit cfa7a86346
25 changed files with 0 additions and 0 deletions

View File

@@ -1 +0,0 @@
etc/ipsec.conf

View File

@@ -1,10 +0,0 @@
srv/web/ipfire/cgi-bin/chpasswd.cgi
srv/web/ipfire/cgi-bin/urlfilter.cgi
etc/system-release
boot/grub/grub.conf
etc/ppp/ip-up
srv/web/ipfire/cgi-bin/mac.cgi
srv/web/ipfire/cgi-bin/dns.cgi
var/ipfire/langs/de.pl
var/ipfire/langs/en.pl
srv/web/ipfire/cgi-bin/backup.cgi

View File

@@ -1 +0,0 @@
../../../common/linux

View File

@@ -1 +0,0 @@
../../../common/linux-firmware

View File

@@ -1 +0,0 @@
../../../common/openswan

View File

@@ -1,2 +0,0 @@
usr/sbin/openvpn
srv/web/ipfire/cgi-bin/ovpnmain.cgi

View File

@@ -1,3 +0,0 @@
usr/sbin/smartctl
etc/rc.d/init.d/smartenabler
usr/local/bin/smartctrl

View File

@@ -1 +0,0 @@
DEPS=""

View File

@@ -1,151 +0,0 @@
#!/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) 2009 IPFire-Team <info@ipfire.org>. #
# #
############################################################################
#
. /opt/pakfire/lib/functions.sh
/usr/local/bin/backupctrl exclude >/dev/null 2>&1
#
KVER="2.6.27.31"
ROOT=`grep "root=" /boot/grub/grub.conf | cut -d"=" -f2 | cut -d" " -f1 | tail -n 1`
MOUNT=`grep "kernel" /boot/grub/grub.conf | tail -n 1`
# Nur den letzten Parameter verwenden
echo $MOUNT > /dev/null
MOUNT=$_
if [ ! $MOUNT == "rw" ]; then
MOUNT="ro"
fi
#
# check if we the backup file already exist
if [ -e /var/ipfire/backup/core-upgrade_$KVER.tar.bz2 ]; then
echo Moving backup to backup-old ...
mv -f /var/ipfire/backup/core-upgrade_$KVER.tar.bz2 \
/var/ipfire/backup/core-upgrade_$KVER-old.tar.bz2
fi
echo First we made a backup of all files that was inside of the
echo update archive. This may take a while ...
# Add some files that are not in the package to backup
echo lib/modules >> /opt/pakfire/tmp/ROOTFILES
echo boot >> /opt/pakfire/tmp/ROOTFILES
echo etc/sysconfig/lm_sensors >> /opt/pakfire/tmp/ROOTFILES
#
tar cjvf /var/ipfire/backup/core-upgrade_$KVER.tar.bz2 \
-C / -T /opt/pakfire/tmp/ROOTFILES --exclude='#*' > /dev/null 2>&1
echo
echo Update Kernel to $KVER ...
# Remove old kernel, configs, initrd, modules ...
#
rm -rf /boot/System.map-*
rm -rf /boot/config-*
rm -rf /boot/ipfirerd-*
rm -rf /boot/vmlinuz-*
# Don't remove old xen modules. Kernel may stored outside.
rm -rf /lib/modules/*-ipfire
#
# Backup grub.conf
#
cp -vf /boot/grub/grub.conf /boot/grub/grub.conf.org
#
# Unpack the updated files
#
echo
echo Unpack the updated files ...
#
tar xvf /opt/pakfire/tmp/files --preserve --numeric-owner -C / \
--no-overwrite-dir
#
# Modify grub.conf
#
echo
echo Update grub configuration ...
sed -i "s|ROOT|$ROOT|g" /boot/grub/grub.conf
sed -i "s|KVER|$KVER|g" /boot/grub/grub.conf
sed -i "s|MOUNT|$MOUNT|g" /boot/grub/grub.conf
if [ "$(grep "^serial" /boot/grub/grub.conf.org)" == "" ]; then
echo "grub use default console ..."
else
echo "grub use serial console ..."
sed -i -e "s|splashimage|#splashimage|g" /boot/grub/grub.conf
sed -i -e "s|#serial|serial|g" /boot/grub/grub.conf
sed -i -e "s|#terminal|terminal|g" /boot/grub/grub.conf
sed -i -e "s| panic=10 | console=ttyS0,38400n8 panic=10 |g" /boot/grub/grub.conf
fi
#
# Made emergency - initramdisk
#
echo
echo Create new Initramdisks ...
cp -f /etc/mkinitcpio.conf.org /etc/mkinitcpio.conf
sed -i "s| autodetect | |g" /etc/mkinitcpio.conf
mkinitcpio -k $KVER-ipfire -g /boot/ipfirerd-$KVER-emergency.img
cp -f /etc/mkinitcpio.conf.org /etc/mkinitcpio.conf
#
# Made initramdisk
#
if [ "${ROOT:0:7}" == "/dev/sd" ]; then
# Remove ide hook if root is on sda
sed -i "s| ide | |g" /etc/mkinitcpio.conf
else
if [ "${ROOT:0:7}" == "/dev/hd" ]; then
# Remove pata & sata hook if root is on hda
sed -i "s| pata | |g" /etc/mkinitcpio.conf
sed -i "s| sata | |g" /etc/mkinitcpio.conf
fi
fi
mkinitcpio -k $KVER-ipfire -g /boot/ipfirerd-$KVER.img
#
# ReInstall grub
#
grub-install --no-floppy ${ROOT::`expr length $ROOT`-1} --recheck
#
# Rebuild Language
#
perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"
#
# Add some entries to openvpn config
#
if [ -e "/var/ipfire/ovpn/server.conf" ]; then
grep -q "script-security" /var/ipfire/ovpn/server.conf \
|| echo "script-security 3 system" >> /var/ipfire/ovpn/server.conf
fi
if [ -e "/var/ipfire/ovpn/server.conf" ]; then
grep -q "ifconfig-pool-persist" /var/ipfire/ovpn/server.conf \
|| echo "ifconfig-pool-persist /var/ipfire/ovpn/ovpn-leases.db 3600" >> /var/ipfire/ovpn/server.conf
fi
chmod 644 /var/ipfire/ovpn/server.conf
chown nobody:nobody /var/ipfire/ovpn/server.conf
if [ ! -e "/var/ipfire/ovpn/ovpn-leases.db" ]; then
touch /var/ipfire/ovpn/ovpn-leases.db
chmod 600 /var/ipfire/ovpn/ovpn-leases.db
chown nobody:nobody /var/ipfire/ovpn/ovpn-leases.db
fi
#
# Delete old lm-sensor modullist...
#
rm -rf /etc/sysconfig/lm_sensors
#
# This core-update need a reboot
/usr/bin/logger -p syslog.emerg -t core-upgrade-31 "Upgrade finished. If you use a customized grub.cfg"
/usr/bin/logger -p syslog.emerg -t core-upgrade-31 "Check it before reboot !!!"
/usr/bin/logger -p syslog.emerg -t core-upgrade-31 " *** Please reboot... *** "

View File

@@ -1,4 +0,0 @@
srv/web/ipfire/html/proxy.pac
srv/web/ipfire/html/wpad.dat
var/log/squid/access.log
var/log/updatexlrator

View File

@@ -1 +0,0 @@
../../../common/Net_SSLeay

View File

@@ -1 +0,0 @@
../../../common/dnsmasq

View File

@@ -1,19 +0,0 @@
etc/system-release
bin/probenic.sh
etc/logrotate.conf
etc/rc.d/init.d/functions
etc/rc.d/init.d/checkfs
etc/rc.d/init.d/networking/red
opt/pakfire/lib/functions.pl
srv/web/ipfire/cgi-bin/ids.cgi
srv/web/ipfire/cgi-bin/mac.cgi
srv/web/ipfire/cgi-bin/pakfire.cgi
var/ipfire/langs/de.pl
var/ipfire/langs/en.pl
srv/web/ipfire/cgi-bin/index.cgi
usr/local/bin/makegraphs
usr/local/bin/setddns.pl
usr/local/share/GeoIP/GeoIP.dat
usr/sbin/openvpn
var/ipfire/outgoing/bin/outgoingfw.pl
srv/web/ipfire/cgi-bin/outgoingfw.cgi

View File

@@ -1 +0,0 @@
../../../common/hwdata

View File

@@ -1 +0,0 @@
../../../common/ntfs-3g

View File

@@ -1,6 +0,0 @@
lib/modules/2.6.27.31-ipfire/kernel/drivers/net/r8101.ko
lib/modules/2.6.27.31-ipfire/kernel/drivers/net/r8169.ko
lib/modules/2.6.27.31-ipfire/kernel/drivers/net/r8168.ko
lib/modules/2.6.27.31-ipfire-xen/kernel/drivers/net/r8101.ko
lib/modules/2.6.27.31-ipfire-xen/kernel/drivers/net/r8169.ko
lib/modules/2.6.27.31-ipfire-xen/kernel/drivers/net/r8168.ko

View File

@@ -1 +0,0 @@
../../../common/squid

View File

@@ -1 +0,0 @@
DEPS=""

View File

@@ -1,55 +0,0 @@
#!/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) 2009 IPFire-Team <info@ipfire.org>. #
# #
############################################################################
#
. /opt/pakfire/lib/functions.sh
/usr/local/bin/backupctrl exclude >/dev/null 2>&1
#
#Stop services
/etc/init.d/squid stop
/etc/init.d/dnsmasq stop
extract_files
#
#Start services
/etc/init.d/dnsmasq start
/etc/init.d/squid start
#
# Fix tmpfs Backup cronjob entry
grep -v "tmpfs backup" /var/spool/cron/root.orig > /var/tmp/root.tmp
echo "17 5 * * * /etc/init.d/tmpfs backup >/dev/null" >> /var/tmp/root.tmp
fcrontab /var/tmp/root.tmp
#Fix openvpn server permissions
if [ -e "/var/ipfire/ovpn/server.conf" ]; then
chmod 644 /var/ipfire/ovpn/server.conf
chown nobody:nobody /var/ipfire/ovpn/server.conf
fi
#Update Language cache
perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"
#Remove some non compat-wireless modules
rm -rf /lib/modules/2.6.27.31-ipfire/kernel/drivers/net/wireless/ath?k
rm -rf /lib/modules/2.6.27.31-ipfire/kernel/drivers/net/wireless/rtl818?.ko
rm -rf /lib/modules/2.6.27.31-ipfire-xen/kernel/drivers/net/wireless/ath?k
rm -rf /lib/modules/2.6.27.31-ipfire-xen/kernel/drivers/net/wireless/rtl818?.ko
#Rebuild module dep's
depmod -a
#Don't report the exitcode of depmod
exit 0

View File

@@ -1 +0,0 @@
../../../common/Net-Server

View File

@@ -1,3 +0,0 @@
etc/system-release
opt/pakfire/pakfire
opt/pakfire/lib/functions.pl

View File

@@ -1,2 +0,0 @@
var/ipfire/langs/de.pl
var/ipfire/langs/en.pl

View File

@@ -1 +0,0 @@
DEPS=""

View File

@@ -1,45 +0,0 @@
#!/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) 2009 IPFire-Team <info@ipfire.org>. #
# #
############################################################################
#
. /opt/pakfire/lib/functions.sh
/usr/local/bin/backupctrl exclude >/dev/null 2>&1
#
#Stop services
#
#Set vm.mmap_min_addr to block a kernel security hole
grep -v "vm.mmap_min_addr" /etc/sysctl.conf > /var/tmp/sysctl.conf.tmp
echo "vm.mmap_min_addr = 4096" >> /var/tmp/sysctl.conf.tmp
mv /var/tmp/sysctl.conf.tmp /etc/sysctl.conf
sysctl -w vm.mmap_min_addr="4096"
#
extract_files
#
#Start services
#
#Update Language cache
perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"
#Rebuild module dep's
depmod 2.6.27.31-ipfire
depmod 2.6.27.31-ipfire-xen
#Don't report the exitcode of depmod
exit 0