NAME="IPFire" # Software name
SNAME="ipfire" # Short name
VERSION="3.0-prealpha1" # Version number
-TOOLCHAINVERSION="${VERSION}-10" # Toolchain
+TOOLCHAINVERSION="${VERSION}-18" # Toolchain
SLOGAN="Lechery" # Software slogan
# Include funtions
STAGE_ORDER=01
STAGE=toolchain
- LOGFILE="$BASEDIR/log_${MACHINE}/_build.${STAGE_ORDER}-toolchain.log"
+ LOGFILE="$BASEDIR/log_${TARGET}/_build.${STAGE_ORDER}-toolchain.log"
export LOGFILE
build_spy stage ${STAGE}
+ # We can't skip packages in toolchain stage
+ SAVE_SKIP_PACKAGE_LIST=$SKIP_PACKAGE_LIST
+ SKIP_PACKAGE_LIST=
+
toolchain_make stage1
# make distcc first so that CCACHE_PREFIX works immediately
- [ -z "$DISTCC_HOSTS" ] || toolchain_make distcc
+ toolchain_make distcc
toolchain_make ccache
- toolchain_make gmp
- toolchain_make mpfr
- toolchain_make linux
toolchain_make binutils PASS=1
toolchain_make gcc PASS=1
+ toolchain_make linux-headers
toolchain_make glibc
toolchain_make adjust-toolchain
toolchain_make test-toolchain PASS=1
- toolchain_make binutils PASS=2
+ toolchain_make zlib
toolchain_make gcc PASS=2
+ toolchain_make binutils PASS=2
toolchain_make test-toolchain PASS=2
toolchain_make ncurses
toolchain_make bash
toolchain_make bc
toolchain_make util-linux-ng
toolchain_make strip
- export PATH=$ORG_PATH
+ export PATH=$ORG_PATH SKIP_PACKAGE_LIST=$SAVE_SKIP_PACKAGE_LIST
}
################################################################################
STAGE_ORDER=02
STAGE=base
- LOGFILE="$BASEDIR/log_${MACHINE}/_build.${STAGE_ORDER}-base.log"
+ LOGFILE="$BASEDIR/log_${TARGET}/_build.${STAGE_ORDER}-base.log"
export LOGFILE
build_spy stage ${STAGE}
ipfire_make stage2
ipfire_make scripts
- ipfire_make gmp
- ipfire_make mpfr
- ipfire_make linux
+ ipfire_make linux-headers
ipfire_make man-pages
ipfire_make glibc
ipfire_make adjust-toolchain
ipfire_make test-toolchain
+ ipfire_make zlib
ipfire_make binutils
ipfire_make gcc
ipfire_make berkeley
ipfire_make ncurses
ipfire_make procps
ipfire_make libtool
- ipfire_make zlib
ipfire_make perl
ipfire_make readline
ipfire_make gettext
ipfire_make make
ipfire_make libidn
+ ipfire_make pkg-config
ipfire_make attr
ipfire_make libcap2
ipfire_make paxctl
ipfire_make bash
ipfire_make bzip2
ipfire_make diffutils
+ ipfire_make eventlog
ipfire_make file
ipfire_make findutils
ipfire_make flex
+ ipfire_make gmp
ipfire_make grub
ipfire_make gawk
+ ipfire_make glib2
ipfire_make grep
ipfire_make groff
ipfire_make gzip
ipfire_make less
ipfire_make man-db
ipfire_make module-init-tools
+ ipfire_make mpfr
ipfire_make patch
ipfire_make psmisc
ipfire_make shadow
- ipfire_make sysklogd
+ ipfire_make syslog-ng
ipfire_make sysvinit
ipfire_make tar
ipfire_make texinfo
STAGE_ORDER=03
STAGE=ipfire
- LOGFILE="$BASEDIR/log_${MACHINE}/_build.${STAGE_ORDER}-ipfire.log"
+ LOGFILE="$BASEDIR/log_${TARGET}/_build.${STAGE_ORDER}-ipfire.log"
export LOGFILE
build_spy stage ${STAGE}
ipfire_make stage3
ipfire_make lzma
- ipfire_make linux
+ ipfire_make linux
ipfire_make aufs
### Building some general stuff
# STAGE 1
- ipfire_make pkg-config
+ ipfire_make libdaemon
+ ipfire_make pcre
ipfire_make expat
- ipfire_make glib
ipfire_make dbus
ipfire_make dbus-glib
ipfire_make openssl
- ipfire_make perl ### We are building the modules here.
+ ipfire_make perl-xml-parser
+ ipfire_make intltool
ipfire_make python
ipfire_make python-dbus
ipfire_make python-urlgrabber
- ipfire_make python-iconv
ipfire_make python-IPy
ipfire_make libxml2
ipfire_make libxslt
- ipfire_make pcre
ipfire_make popt
ipfire_make libusb
+ ipfire_make libusb-compat # Can be removed if usbutils supports libusb-1.0
ipfire_make bc
ipfire_make mingetty
ipfire_make vlan
ipfire_make bind
ipfire_make whois
+ ipfire_make avahi
### Building some general stuff
# STAGE 2
+ ipfire_make pth
+ ipfire_make libassuan
+ ipfire_make libgpg-error
+ ipfire_make libgcrypt
+ ipfire_make libksba
ipfire_make cracklib
ipfire_make pam PASS=1
- ipfire_make shadow
+ ipfire_make shadow-pam
ipfire_make pam PASS=2
ipfire_make slang
ipfire_make newt
ipfire_make nss_ldap
ipfire_make sqlite
ipfire_make curl
- ipfire_make gnupg
+ ipfire_make pinentry
+ ipfire_make gnupg2
ipfire_make sudo
ipfire_make libjpeg
ipfire_make libpng
ipfire_make hdparm
ipfire_make smartmontools
ipfire_make lm-sensors
+ ipfire_make parted
ipfire_make hal
ipfire_make hal-info
ipfire_make ez-ipupdate
ipfire_make noip
ipfire_make lighttpd
+ ipfire_make webinterface
ipfire_make collectd
ipfire_make logrotate
#ipfire_make logwatch
ipfire_make cpio
ipfire_make cdrtools
- ipfire_make parted
ipfire_make python-parted
ipfire_make memtest86+
#ipfire_make pakfire
-
+ ipfire_make quagga
+
ipfire_make pyfire
-
+
### -------------------------------------------------------------------------
### Tools that maybe not needed
#
STAGE_ORDER=04
STAGE=misc
- LOGFILE="$BASEDIR/log_${MACHINE}/_build.${STAGE_ORDER}-misc.log"
+ LOGFILE="$BASEDIR/log_${TARGET}/_build.${STAGE_ORDER}-misc.log"
export LOGFILE
build_spy stage ${STAGE}
ipfire_make stage4
- #ipfire_make miniupnpd
+ ipfire_make miniupnpd
### Console tools
#
#ipfire_make traceroute
#ipfire_make nmap
#ipfire_make rsync
- #ipfire_make tcpdump
+ ipfire_make tcpdump
ipfire_make htop
ipfire_make nano
ipfire_make squid
### Debugging
#
+ ipfire_make pax-utils
+ ipfire_make paxtest
ipfire_make gdb
ipfire_make strace
+ ipfire_make pychecker
}
################################################################################
STAGE_ORDER=05
STAGE=installer
- LOGFILE="$BASEDIR/log_${MACHINE}/_build.${STAGE_ORDER}-installer.log"
+ LOGFILE="$BASEDIR/log_${TARGET}/_build.${STAGE_ORDER}-installer.log"
export LOGFILE
build_spy stage ${STAGE}
STAGE_ORDER=06
STAGE=packages
- LOGFILE="$BASEDIR/log_${MACHINE}/_build.${STAGE_ORDER}-packages.log"
+ LOGFILE="$BASEDIR/log_${TARGET}/_build.${STAGE_ORDER}-packages.log"
export LOGFILE
build_spy stage ${STAGE}
# Generate ChangeLog
git_log
+ # Generate packages list
+ echo -n "Generating packages list"
+ software_list > $BASEDIR/doc/packages-list.txt
+ beautify message DONE
+
if [ ${EMB} -eq 0 ]; then
ipfire_make initramfs
ipfire_make images