NAME="IPFire" # Software name
SNAME="ipfire" # Short name
-VERSION="2.13" # Version number
-CORE="64" # Core Level (Filename)
-PAKFIRE_CORE="63" # Core Level (PAKFIRE)
+VERSION="2.13rc1" # Version number
+CORE="65" # Core Level (Filename)
+PAKFIRE_CORE="65" # 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
MACHINE=`uname -m`
GIT_TAG=$(git tag | tail -1) # Git Tag
GIT_LASTCOMMIT=$(git log | head -n1 | cut -d" " -f2 |head -c8) # Last commit
-TOOLCHAINVER=5
+TOOLCHAINVER=6
BUILDMACHINE=$MACHINE
if [ "$MACHINE" = "x86_64" ]; then
lfsmake1 ccache PASS=1
lfsmake1 binutils PASS=1
lfsmake1 gcc PASS=1
- lfsmake1 linux2 TOOLS=1 HEADERS=1
+ lfsmake1 linux TOOLS=1 KCFG="-headers"
lfsmake1 glibc
lfsmake1 cleanup-toolchain PASS=1
lfsmake1 binutils PASS=2
LOGFILE="$BASEDIR/log/_build.base.log"
export LOGFILE
lfsmake2 stage2
- lfsmake2 linux2 HEADERS=1
+ lfsmake2 linux KCFG="-headers"
lfsmake2 man-pages
lfsmake2 glibc
lfsmake2 tzdata
ipfiremake linux KCFG="-pae"
ipfiremake kvm-kmod KCFG="-pae"
ipfiremake v4l-dvb KCFG="-pae"
- ipfiremake alsa KCFG="-pae" KMOD=1
ipfiremake mISDN KCFG="-pae"
ipfiremake cryptodev KCFG="-pae"
ipfiremake compat-wireless KCFG="-pae"
ipfiremake linux KCFG=""
ipfiremake kvm-kmod KCFG=""
ipfiremake v4l-dvb KCFG=""
- ipfiremake alsa KCFG="" KMOD=1
ipfiremake mISDN KCFG=""
ipfiremake cryptodev KCFG=""
ipfiremake compat-wireless KCFG=""
ipfiremake mtools
ipfiremake initscripts
ipfiremake whatmask
+ ipfiremake libmnl
ipfiremake iptables
+ ipfiremake conntrack-tools
ipfiremake libupnp
ipfiremake ipaddr
ipfiremake iputils
ipfiremake ghostscript
ipfiremake foomatic
ipfiremake hplip
+ ipfiremake cifs-utils
ipfiremake samba
ipfiremake sudo
ipfiremake mc
ipfiremake gpgme
ipfiremake pygpgme
ipfiremake pakfire3
+ ipfiremake stress
+ ipfiremake libstatgrab
+ ipfiremake sarg
+ ipfiremake fstrim
echo Build on $HOSTNAME > $BASEDIR/build/var/ipfire/firebuild
cat /proc/version >> $BASEDIR/build/var/ipfire/firebuild
echo >> $BASEDIR/build/var/ipfire/firebuild
echo >> $BASEDIR/build/var/ipfire/firebuild
cat /proc/cpuinfo >> $BASEDIR/build/var/ipfire/firebuild
echo $PAKFIRE_CORE > $BASEDIR/build/opt/pakfire/db/core/mine
+ if [ "$(git status -s | wc -l)" == "0" ]; then
+ GIT_STATUS=""
+ else
+ GIT_STATUS="-dirty"
+ fi
case "$GIT_BRANCH" in
- core*)
- echo "$NAME $VERSION ($MACHINE) - $GIT_BRANCH" > $BASEDIR/build/etc/system-release
+ core*|beta?|rc?)
+ echo "$NAME $VERSION ($MACHINE) - $GIT_BRANCH$GIT_STATUS" > $BASEDIR/build/etc/system-release
;;
*)
- echo "$NAME $VERSION ($MACHINE) - Development Build: $GIT_BRANCH/$GIT_LASTCOMMIT" > $BASEDIR/build/etc/system-release
+ echo "$NAME $VERSION ($MACHINE) - Development Build: $GIT_BRANCH/$GIT_LASTCOMMIT$GIT_STATUS" > $BASEDIR/build/etc/system-release
;;
esac
}