srv/web/ipfire/cgi-bin/updatexlrator.cgi
srv/web/ipfire/cgi-bin/vpnmain.cgi
usr/bin/watch
+usr/local/bin/backupiso
usr/local/bin/makegraphs
usr/local/bin/readhash
usr/local/bin/scanhd
etc/avahi/services/sftp-ssh.service
etc/avahi/services/smb.service
etc/avahi/services/ssh.service
-etc/dbus-1/system.d/avahi-dbus.conf
+#etc/dbus-1/system.d/avahi-dbus.conf
etc/rc.d/init.d/avahi
usr/bin/avahi-browse
usr/bin/avahi-browse-domains
#usr/lib/libavahi-gobject.so
usr/lib/libavahi-gobject.so.0
usr/lib/libavahi-gobject.so.0.0.4
-usr/lib/pkgconfig/avahi-client.pc
-usr/lib/pkgconfig/avahi-core.pc
-usr/lib/pkgconfig/avahi-glib.pc
-usr/lib/pkgconfig/avahi-gobject.pc
+#usr/lib/pkgconfig/avahi-client.pc
+#usr/lib/pkgconfig/avahi-core.pc
+#usr/lib/pkgconfig/avahi-glib.pc
+#usr/lib/pkgconfig/avahi-gobject.pc
usr/lib/python2.7/site-packages/avahi
usr/lib/python2.7/site-packages/avahi/ServiceTypeDatabase.py
usr/sbin/avahi-autoipd
#usr/share/man/man8/avahi-daemon.8
#usr/share/man/man8/avahi-dnsconfd.8
#usr/share/man/man8/avahi-dnsconfd.action.8
-usr/var/run
etc/init.d/avahi
-usr/include/libdaemon
-usr/include/libdaemon/daemon.h
-usr/include/libdaemon/dexec.h
-usr/include/libdaemon/dfork.h
-usr/include/libdaemon/dlog.h
-usr/include/libdaemon/dnonblock.h
-usr/include/libdaemon/dpid.h
-usr/include/libdaemon/dsignal.h
+#usr/include/libdaemon
+#usr/include/libdaemon/daemon.h
+#usr/include/libdaemon/dexec.h
+#usr/include/libdaemon/dfork.h
+#usr/include/libdaemon/dlog.h
+#usr/include/libdaemon/dnonblock.h
+#usr/include/libdaemon/dpid.h
+#usr/include/libdaemon/dsignal.h
#usr/lib/libdaemon.a
#usr/lib/libdaemon.la
#usr/lib/libdaemon.so
usr/lib/libdaemon.so.0
usr/lib/libdaemon.so.0.5.0
-usr/lib/pkgconfig/libdaemon.pc
+#usr/lib/pkgconfig/libdaemon.pc
#usr/share/doc/libdaemon
#usr/share/doc/libdaemon/README.html
#usr/share/doc/libdaemon/style.css
###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2005-2010 IPFire Team #
+# Copyright (C) 2005-2013 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
<td align='left'>
<input type='radio' name='BACKUPLOGS' value='include'/> $Lang::tr{'include logfiles'}<br/>
<input type='radio' name='BACKUPLOGS' value='exclude' checked='checked'/> $Lang::tr{'exclude logfiles'}<br/>
- <input type='radio' name='BACKUPLOGS' value='iso' /> $Lang::tr{'generate iso'}
+END
+;
+my $MACHINE=`uname -m`;
+if ( ! ( $MACHINE =~ "arm" )) {
+ print" <input type='radio' name='BACKUPLOGS' value='iso' /> $Lang::tr{'generate iso'}<br/>"
+}
+print <<END
</td>
</tr>
<tr><td align='center' colspan='2'>
###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2012 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2013 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
if ($proxysettings{'NO_PROXY_LOCAL'} eq 'on')
{
- print FILE "#Prevent internal proxy access to Green\n";
- print FILE "http_access deny IPFire_green_servers !IPFire_green_network\n\n";
+ print FILE "#Prevent internal proxy access to Green except IPFire itself\n";
+ print FILE "http_access deny IPFire_green_servers !IPFire_ips !IPFire_green_network\n\n";
}
if ($proxysettings{'NO_PROXY_LOCAL_BLUE'} eq 'on')
{
- print FILE "#Prevent internal proxy access from Blue\n";
+ print FILE "#Prevent internal proxy access from Blue except IPFire itself\n";
print FILE "http_access allow IPFire_blue_network IPFire_blue_servers\n";
- print FILE "http_access deny IPFire_blue_network IPFire_servers\n\n";
+ print FILE "http_access deny IPFire_blue_network !IPFire_ips IPFire_servers\n\n";
}
print FILE <<END
NAME="IPFire" # Software name
SNAME="ipfire" # Short name
-VERSION="2.13rc2" # Version number
-CORE="65" # Core Level (Filename)
-PAKFIRE_CORE="65" # Core Level (PAKFIRE)
+VERSION="2.13" # Version number
+CORE="66" # Core Level (Filename)
+PAKFIRE_CORE="66" # Core Level (PAKFIRE)
GIT_BRANCH=`git status | head -n1 | cut -d" " -f4` # Git Branch
SLOGAN="www.ipfire.org" # Software slogan
CONFIG_ROOT=/var/ipfire # Configuration rootdir
ipfiremake sarg
ipfiremake fstrim
ipfiremake check_mk_agent
+ ipfiremake libdaemon
+ ipfiremake avahi
+ ipfiremake nginx
echo Build on $HOSTNAME > $BASEDIR/build/var/ipfire/firebuild
cat /proc/version >> $BASEDIR/build/var/ipfire/firebuild
echo >> $BASEDIR/build/var/ipfire/firebuild
ctr[TR_CANCEL], NULL);
} else {
rc = 1;
- fstype = EXT3;
+ fstype = EXT4;
}
if (rc == 2)
goto EXIT;
fclose(flog);
newtFinished();
- if (unattended) {
- // Remove Setup autorun after boot
- if (system("rm -f /harddisk/etc/rc.d/rcsysinit.d/S75firstsetup"))
- printf("Unable to disable setup autorun.\n");
- }
-
if (system("/bin/umount /harddisk/proc"))
printf("Unable to umount /harddisk/proc.\n");
} else {
#!/bin/sh
-COREVER=`cat /opt/pakfire/db/core/mine`
+COREVER=$(cat /opt/pakfire/db/core/mine)
# FIXME: edit this lines before release
-URL=http://download.ipfire.org/releases/ipfire-2.x/2.11-core$COREVER/
-ISO=ipfire-2.11.i586-full-core$COREVER.iso
+URL="http://download.ipfire.org/releases/ipfire-2.x/2.13-core$COREVER/"
+ISO="ipfire-2.13.i586-full-core$COREVER.iso"
-if [ -z "$1" ]; then
+if [ -z $1 ]; then
echo usage: $0 backup-file
exit
fi
mkdir -p /var/tmp/backupiso
cd /var/tmp/backupiso
-echo "Fetching ${URL}${ISO}"
-wget --quiet -c ${URL}${ISO}
-echo "Fetching ${URL}md5sums.txt"
+if [ ! -e ${ISO} ]
+then
+ echo "Fetching ${URL}${ISO}"
+ wget --quiet -c ${URL}${ISO}
+fi
+
+echo "Fetching ${URL}${ISO}.md5"
wget --quiet -O ${ISO}.md5 ${URL}${ISO}.md5
echo "Checking md5 of ${ISO}"
md5sum --status -c ${ISO}.md5
-RETVAR="$?"
-if [ $RETVAR -eq 0 -o $RETVAR -eq 24 ]
- then
- echo "md5 is OK"
- else
- echo "md5 mismatch"
- echo "Fetching again ${URL}${ISO}"
- wget --quiet -O ${ISO} ${URL}${ISO}
+if [ $? -eq 0 -o $? -eq 24 ]
+then
+ echo "md5 is OK"
+else
+ echo "md5 mismatch"
+ echo "Fetching again ${URL}${ISO}"
+ wget --quiet -O ${ISO} ${URL}${ISO}
+ echo "Checking again md5 of ${ISO}"
+ md5sum --status -c ${ISO}.md5
+ if [ $? -eq 0 -o $? -eq 24 ]
+ then
+ echo "md5 is OK"
+ else
+ echo "md5 mismatch"
+ echo "aborting backup because md5 mismatch"
+ exit 1
+ fi
fi
+rm ${ISO}.md5
echo "Remastering iso"
mkdir -p backupiso.tmp.${TS}
echo "Running mkisofs"
mkisofs -J -r -V "ipfire backup ${TS}" \
-b boot/isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table \
- -c boot/isolinux/boot.catalog backupiso.${TS} > `basename ${ISO} .iso`-${TS}.iso
+ -c boot/isolinux/boot.catalog backupiso.${TS} > $(basename ${ISO} .iso)-${TS}.iso
echo "Cleaning up"
rm -rf backupiso.${TS}
# For the assigned value we only accept a limited number of characters - none
# of which are shell metachars
-VARCHARS='A-Za-z0-9=/,.:_@#+-'
+VARCHARS='A-Za-z0-9=/,.:%_@#+-'
VARVAL="[${VARCHARS}]*"
sed -ne "s/\(${VARNAME}\)=\(${VARVAL}\)$/\1=\2/p" $1