-#!/bin/sh
+#!/bin/bash
-LFS_STAGE="stage2"
USE_LFS_PATCHES=1
USE_BLFS_PATCHES=1
USE_CLFS_PATCHES=1
USE_HV_PATCHES=1
# Reading system configuration informations, functions and package versions.
-source ../sysinfos
+source ../config/sysinfos
source ../functions
-source ../functions-update
-source ../packages-list
+source ../functions-fpkg
+source ../config/packages-list
update_packages_init
lpkg 0 ${EGLIBC}
lpkg 0 ${GMP}
lpkg 0 ${MPFR}
+lpkg 0 ${MPC}
lpkg 0 ${PPL}
lpkg 0 ${CLOOG_PPL}
lpkg 0 ${BINUTILS}
lpkg 0 ${GCC}
+# These packages were already downloaded for stage1:
+lpkg 1 ${NANO}
+
# These packages were already downloaded for stage1:
lpkg 1 ${ZLIB}
lpkg 1 ${SED}
lpkg 1 ${XZ_UTILS}
# These packages are only for stage2
-fpkg ${PERL} http://ftp.funet.fi/pub/CPAN/src
+fpkg -e tar.gz ${PERL} http://www.cpan.org/src/5.0
fpkg ${MANPAGES} http://www.kernel.org/pub/linux/docs/manpages
fpkg ${PKG_CONFIG} http://pkgconfig.freedesktop.org/releases
fpkg ${IANA} http://www.sethwklein.net/projects/iana-etc/downloads
fpkg ${SYSKLOGD} http://www.infodrom.org/projects/sysklogd/download
fpkg ${UDEV_CONFIG} http://www.linuxfromscratch.org/lfs/downloads/development
fpkg ${GRUB} ftp://alpha.gnu.org/gnu/grub
+fpkg ${DHCP} ftp://ftp.isc.org/isc/dhcp/dhcp-3.0-history
exit $?