X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=make.sh;h=375f72d3aaed0e0178b20518c435d8af44b93bc2;hb=7f69895cb57bc6a41cdcb5b3725dd8f2bd21643f;hp=db40b563e85cc48c106d6c6d29b8f87e25a92aa5;hpb=c8ab87f16b30bbc86d6beedb73e512f8ec4d7d1b;p=ipfire-2.x.git diff --git a/make.sh b/make.sh index db40b563e8..375f72d3aa 100755 --- a/make.sh +++ b/make.sh @@ -25,8 +25,8 @@ NAME="IPFire" # Software name SNAME="ipfire" # Short name VERSION="2.17" # Version number -CORE="90" # Core Level (Filename) -PAKFIRE_CORE="89" # Core Level (PAKFIRE) +CORE="94" # Core Level (Filename) +PAKFIRE_CORE="93" # Core Level (PAKFIRE) GIT_BRANCH=`git rev-parse --abbrev-ref HEAD` # Git Branch SLOGAN="www.ipfire.org" # Software slogan CONFIG_ROOT=/var/ipfire # Configuration rootdir @@ -36,7 +36,7 @@ BUILD_IMAGES=1 # Flash and Xen Downloader KVER=`grep --max-count=1 VER lfs/linux | awk '{ print $3 }'` GIT_TAG=$(git tag | tail -1) # Git Tag GIT_LASTCOMMIT=$(git log | head -n1 | cut -d" " -f2 |head -c8) # Last commit -TOOLCHAINVER=8 +TOOLCHAINVER=10 # New architecture variables BUILD_ARCH="$(uname -m)" @@ -86,21 +86,6 @@ if [ -z $EDITOR ]; then [ -z $EDITOR ] && exiterror "You should have installed an editor." fi -# Prepare string for /etc/system-release. -SYSTEM_RELEASE="${NAME} ${VERSION} (${MACHINE})" -if [ "$(git status -s | wc -l)" == "0" ]; then - GIT_STATUS="" -else - GIT_STATUS="-dirty" -fi -case "$GIT_BRANCH" in - core*|beta?|rc?) - SYSTEM_RELEASE="${SYSTEM_RELEASE} - $GIT_BRANCH$GIT_STATUS" - ;; - *) - SYSTEM_RELEASE="${SYSTEM_RELEASE} - Development Build: $GIT_BRANCH/$GIT_LASTCOMMIT$GIT_STATUS" - ;; -esac prepareenv() { ############################################################################ @@ -236,15 +221,36 @@ prepareenv() { # Run LFS static binary creation scripts one by one export CCACHE_DIR=$BASEDIR/ccache export CCACHE_COMPRESS=1 - export CCACHE_COMPILERCHECK="none" + export CCACHE_COMPILERCHECK="string:toolchain-${TOOLCHAINVER}:${TARGET_ARCH}" # Remove pre-install list of installed files in case user erase some files before rebuild rm -f $BASEDIR/build/usr/src/lsalr 2>/dev/null + + # Prepare string for /etc/system-release. + SYSTEM_RELEASE="${NAME} ${VERSION} (${MACHINE})" + if [ "$(git status -s | wc -l)" == "0" ]; then + GIT_STATUS="" + else + GIT_STATUS="-dirty" + fi + case "$GIT_BRANCH" in + core*|beta?|rc?) + SYSTEM_RELEASE="${SYSTEM_RELEASE} - $GIT_BRANCH$GIT_STATUS" + ;; + *) + SYSTEM_RELEASE="${SYSTEM_RELEASE} - Development Build: $GIT_BRANCH/$GIT_LASTCOMMIT$GIT_STATUS" + ;; + esac } buildtoolchain() { local error=false case "${TARGET_ARCH}:${BUILD_ARCH}" in + # x86_64 + x86_64:x86_64) + # This is working. + ;; + # x86 i586:i586|i586:i686|i586:x86_64) # These are working. @@ -385,7 +391,7 @@ buildipfire() { ipfiremake backup ipfiremake pkg-config ipfiremake libusb - ipfiremake libusbx + ipfiremake libusb-compat ipfiremake libpcap ipfiremake ppp ipfiremake pptp @@ -405,9 +411,24 @@ buildipfire() { ipfiremake freetype ipfiremake grub ipfiremake libmnl + ipfiremake libnfnetlink + ipfiremake libnetfilter_queue + ipfiremake libnetfilter_conntrack + ipfiremake libnetfilter_cthelper + ipfiremake libnetfilter_cttimeout ipfiremake iptables case "${TARGET_ARCH}" in + x86_64) + ipfiremake linux KCFG="" + ipfiremake backports KCFG="" + ipfiremake cryptodev KCFG="" + ipfiremake e1000e KCFG="" +# ipfiremake igb KCFG="" + ipfiremake ixgbe KCFG="" + ipfiremake xtables-addons KCFG="" + ipfiremake linux-initrd KCFG="" + ;; i586) # x86-pae (Native and new XEN) kernel build ipfiremake linux KCFG="-pae" @@ -476,7 +497,9 @@ buildipfire() { ipfiremake curl ipfiremake tcl ipfiremake sqlite + ipfiremake libffi ipfiremake python + ipfiremake ca-certificates ipfiremake fireinfo ipfiremake libnet ipfiremake libnl @@ -507,7 +530,8 @@ buildipfire() { ipfiremake openldap ipfiremake apache2 ipfiremake php - ipfiremake apache2 PASS=C + ipfiremake web-user-interface + ipfiremake flag-icons ipfiremake jquery ipfiremake arping ipfiremake beep @@ -578,7 +602,6 @@ buildipfire() { ipfiremake python-mechanize ipfiremake python-feedparser ipfiremake python-rssdler - ipfiremake libffi ipfiremake glib ipfiremake GeoIP ipfiremake fwhits @@ -626,6 +649,7 @@ buildipfire() { ipfiremake screen ipfiremake smartmontools ipfiremake htop + ipfiremake chkconfig ipfiremake postfix ipfiremake fetchmail ipfiremake cyrus-imapd @@ -633,6 +657,7 @@ buildipfire() { ipfiremake clamav ipfiremake spamassassin ipfiremake amavisd + ipfiremake dma ipfiremake alsa ipfiremake mpfire ipfiremake guardian @@ -647,6 +672,7 @@ buildipfire() { ipfiremake libshout ipfiremake xvid ipfiremake libmpeg2 + ipfiremake libarchive ipfiremake cmake ipfiremake gnump3d ipfiremake rsync @@ -701,6 +727,11 @@ buildipfire() { ipfiremake mpd ipfiremake libmpdclient ipfiremake mpc + ipfiremake perl-Net-SMTP-SSL + ipfiremake perl-MIME-Base64 + ipfiremake perl-Authen-SASL + ipfiremake perl-MIME-Lite + ipfiremake perl-Email-Date-Format ipfiremake git ipfiremake squidclamav ipfiremake vnstat @@ -978,7 +1009,7 @@ build) cd $BASEDIR tools/checknewlog.pl - tools/checkwronginitlinks + tools/checkrootfiles cd $PWD beautify build_end