#!/bin/bash
-USE_LFS_PATCHES=1
-USE_BLFS_PATCHES=1
-USE_HV_PATCHES=1
-
source ../functions/main
update_packages_init ${*}
-# These packages were already downloaded for stage2
-lpkg 2 ${PYTHON}
+# These packages were already downloaded for stage2:
+lpkg 2 ${SHADOW}
# These packages are only for stage3
fpkg -m gnu ${WHICH}
+fpkg -e "tar.gz" ${BASHCOMPLETION} "http://www.caliban.org/files/bash"
fpkg -s "software/utils/pciutils" ${PCIUTILS} ${KERNEL_URL}
fpkg -m sf -e "tar.bz2" ${LIBUSB}
fpkg -m sf -e "tar.bz2" -s "libusb" ${LIBUSB_COMPAT}
-fpkg ${USBUTILS} "http://ftp.de.debian.org/debian/pool/main/u/usbutils"
-fpkg -s "linux/utils/fs/reiserfs" ${REISERFSPROGS} ${KERNEL_URL}
+fpkg -e "tar.xz" -s "linux/utils/usb/usbutils" ${USBUTILS} ${KERNEL_URL}
+fpkg -e "tar.xz" -s "software/network/rfkill" ${RFKILL} ${KERNEL_URL}
+fpkg ${REISERFSPROGS} "ftp://anduin.linuxfromscratch.org/BLFS/svn/r"
fpkg -e "tar.gz" ${POPT} "http://rpm5.org/files/popt"
-fpkg -s "linux/libs/pam/library" ${PAM} ${KERNEL_URL}
+fpkg -m sf ${LIBTIRPC}
+fpkg ${PAM} "https://fedorahosted.org/releases/l/i/linux-pam"
fpkg -e "tar.gz" -f "${FCRON}.src" ${FCRON} "http://fcron.free.fr/archives"
fpkg -e "tar.gz" ${OPENSSL} "ftp://ftp.openssl.org/source"
-fpkg ${OPENSSL_ROOT_CERTS} "http://anduin.linuxfromscratch.org/files/BLFS"
fpkg -e "tar.gz" ${OPENSSH} "ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable"
-fpkg ${LYNX} "http://lynx.isc.org/current"
+fpkg ${LYNX} "ftp://lynx.isc.org/current"
fpkg -m sf ${EXPAT}
fpkg -m apa ${APR}
fpkg -m apa -s apr ${APR_UTIL}
fpkg -e "tar.gz" ${NEON} "http://www.webdav.org/neon"
fpkg -m sf -s "tcl" ${TCL}
-fpkg -e "tar.gz" ${SQLITE} "http://www.sqlite.org"
+fpkg -e "tar.gz" ${SQLITE} "http://www.sqlite.org/2014"
fpkg ${SUBVERSION} "http://mirror.csclub.uwaterloo.ca/apache/subversion"
fpkg -e "tar.gz" ${SUDO} "http://www.sudo.ws/sudo/dist"
-fpkg -m sf -e "tar.bz2" ${STRACE}
+fpkg -m sf -e "tar.xz" ${STRACE}
fpkg -m sf ${PCRE}
+fpkg -m sf ${HTOP}
fpkg -m gnu ${WGET}
fpkg -e "tar.gz" ${TCPWRAPPERS} "ftp://ftp.porcupine.org/pub/security"
-fpkg -e "tar.gz" ${PORTMAP} "http://neil.brown.name/portmap"
-fpkg -s "linux/utils/nfs" ${NFS_UTILS} ${KERNEL_URL}
-fpkg -e "tar.gz" ${XINETD} "http://www.xinetd.org"
+fpkg -m sf ${RPCBIND}
+fpkg -m sf -s "nfs" ${NFS_UTILS}
+fpkg -m hv -e "tar.gz" ${XINETD}
fpkg -m sf ${DDCLIENT}
fpkg -e "tar.gz" ${LIBPCAP} ${TCPDUMP_URL}
fpkg -e "tar.gz" ${TCPDUMP} ${TCPDUMP_URL}
fpkg ${NMAP} "http://download.insecure.org/nmap/dist"
-fpkg -e "tar.gz" -s "$(get_pkg_ver ${BIND})" ${BIND} \
- "http://gd.tuwien.ac.at/infosys/servers/isc/bind9"
+fpkg -e "tar.gz" -v 0 ${BIND} "ftp://ftp.isc.org/isc/bind9"
fpkg ${IPTABLES} "http://www.netfilter.org/projects/iptables/files"
fpkg ${CURL} "http://curl.haxx.se/download"
fpkg -e "tar.gz" ${RSYNC} "http://samba.org/ftp/rsync/src"
fpkg -m hv ${GETDATE}
+
+fpkg -e "tar.gz" ${LIBARCHIVE} "http://www.libarchive.org/downloads"
+fpkg -e "tar.gz" -s "v" -v 2 ${CMAKE} "http://www.cmake.org/files"
+
fpkg -e "tar.gz" ${MYSQL} \
"http://anduin.linuxfromscratch.org/sources/BLFS/svn/m"
fpkg -f "zip$(get_pkg_ver ${ZIP} | sed 's!\.!!g')" -s "infozip" \
-e "tar.gz" ${UNZIP} ${SOURCEFORGE_URL}
fpkg -f "unrarsrc-$(get_pkg_ver ${UNRAR})" -e "tar.gz" ${UNRAR} \
"http://www.rarlab.com/rar"
+fpkg -m sf -s "p7zip" -f "${P7ZIP}_src_all" ${P7ZIP}
+fpkg -e "tar.gz" ${PBZIP2} "http://compression.ca/pbzip2"
fpkg -m gnu ${CPIO}
+fpkg -m gnu ${SCREEN}
fpkg -m gnu ${PARTED}
-fpkg -m gnu ${BC}
fpkg -m sf ${FUSE}
-fpkg ${DOSFSTOOLS} "http://www.daniel-baumann.ch/software/dosfstools"
-fpkg -e "tar.gz" ${GIT} "http://git-core.googlecode.com/files"
-fpkg -e "tar.gz" "git-manpages-$(get_pkg_ver ${GIT})" \
- "http://git-core.googlecode.com/files"
+fpkg -e "tar.gz" ${DOSFSTOOLS} "http://fossies.org/linux/misc"
+
+fpkg -e "tar.xz" -s "software/scm/git" ${GIT} ${KERNEL_URL}
+fpkg -e "tar.gz" -s "software/scm/git" \
+ "git-manpages-$(get_pkg_ver ${GIT})" ${KERNEL_URL}
+
+fpkg -e "tar.gz" ${DIALOG} "ftp://ftp.us.debian.org/debian/pool/main/d/dialog"
# Perl modules
fpkg -m sf -s "pdl" ${PERL_MOD_PDL}
# Utilities
fpkg -m hv ${ACK}
-fpkg -m hv -e "tar.gz" ${COLORDIFF}
+fpkg -e "tar.gz" ${COLORDIFF} "http://colordiff.sourceforge.net"
fpkg -e "tar.gz" ${INTLTOOL} "http://launchpad.net/intltool/trunk/$(get_pkg_ver ${INTLTOOL})/+download"
fpkg -m hv ${SGML_SPM}
fpkg -m sf -s "docbook" ${DOCBOOK_DSSSL}
fpkg -e "tar.gz" ${DOCBOOK_UTILS} \
- "http://sources-redhat.mirrors.redwire.net/docbook-tools/new-trials/SOURCES"
+ "ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES"
fpkg -e "tar.gz" ${LIBXML2} "http://xmlsoft.org/sources"
fpkg -e "tar.gz" ${LIBXSLT} "http://xmlsoft.org/sources"
fpkg -m hv ${DOCBOOK_XML}
fpkg -m sf ${XMLTOMAN}
fpkg ${XMLTO} "https://fedorahosted.org/releases/x/m/xmlto"
-fpkg -f "jpegsrc.v$(get_pkg_ver ${LIBJPEG})" -e "tar.gz" ${LIBJPEG} \
- "http://www.ijg.org/files"
-fpkg -e "tgz" ${LIBOPENJPEG} "http://openjpeg.googlecode.com/files"
+fpkg -m sf -e "tar.gz" ${LIBJPEG}
+fpkg -m sf -e "tar.gz" ${LIBOPENJPEG}
fpkg -m sf ${LIBPNG}
fpkg -m gnome ${LIBART}
fpkg -m fd -o "icon-theme" ${HICOLOR_ICON_THEME}
fpkg -e "tar.gz" ${TIFF} "http://download.osgeo.org/libtiff"
fpkg -m sf ${GIFLIB}
-fpkg -m sf ${LCMS}
-
+fpkg -m sf -s "lcms" ${LCMS}
+fpkg -m sf -s "lcms" ${LCMS2}
fpkg -m sf ${LIBMNG}
fpkg -m sf ${FREETYPE}
fpkg -m gnu ${LIBTASN1}
fpkg -m gnu ${LIBUNISTRING}
fpkg ${BDWGC} "http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source"
-fpkg -m gnu ${GUILE}
+fpkg -m gnu ${GUILE2}
fpkg -s "libgpg-error" ${LIBGPG_ERROR} ${GNUPG_URL}
fpkg -s "libgcrypt" ${LIBGCRYPT} ${GNUPG_URL}
fpkg -e "tar.gz" ${NETTLE} "http://www.lysator.liu.se/~nisse/archive"
-fpkg -s "gnutls" ${GNUTLS} ${GNUPG_URL}
+fpkg -e "tar.xz" -s "gnutls/v" -v 2 ${GNUTLS} ${GNUPG_URL}
fpkg -e "tar.gz" ${SASL2} "ftp://ftp.andrew.cmu.edu/pub/cyrus-mail"
fpkg -e "tgz" ${OPENLDAP} \
fpkg -e "tar.gz" -f "sendmail.$(get_pkg_ver ${SENDMAIL})" ${SENDMAIL} \
"ftp://ftp.sendmail.org/pub/sendmail"
else
- fpkg -m hv ${SSMTP}
+ fpkg -m sf -e "tar.bz2" ${MSMTP}
fi
-fpkg -s "gnupg" ${GNUPG} "ftp://ftp.gnupg.org/gcrypt"
+fpkg -m gnu ${PTH}
+fpkg -s "libassuan" ${LIBASSUAN} ${GNUPG_URL}
+fpkg -s "libksba" ${LIBKSBA} ${GNUPG_URL}
+fpkg -s "gnupg" ${GNUPG} ${GNUPG_URL}
fpkg -m sf ${MUTT}
+fpkg -e "tar.gz" ${YASM} "http://www.tortall.net/projects/yasm/releases"
+
# Audio
if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; then
if [ "x${SOUND_CARD}" = "xyes" ]; then
- fpkg ${NASM} "http://www.nasm.us/pub/nasm/releasebuilds/$(get_pkg_ver \
- ${NASM})"
+ fpkg -v 0 ${NASM} "http://www.nasm.us/pub/nasm/releasebuilds"
fpkg ${ALSA_LIB} "ftp://ftp.alsa-project.org/pub/lib"
fpkg ${ALSA_UTILS} "ftp://ftp.alsa-project.org/pub/utils"
fpkg -e "tgz" ${LADSPA} "http://www.ladspa.org/download"
fpkg -e "tar.gz" ${LIBOGG} "http://downloads.xiph.org/releases/ogg"
- fpkg ${LIBVORBIS} "http://downloads.xiph.org/releases/vorbis"
- fpkg -m sf ${FLAC}
+ fpkg -e "tar.gz" ${LIBVORBIS} \
+ "http://downloads.xiph.org/releases/vorbis"
+ fpkg -e "zip" ${VORBISGAIN} "http://sjeng.org/ftp/vorbis"
+ fpkg -e "tar.xz" ${FLAC} "http://downloads.xiph.org/releases/flac"
fpkg -e "tar.gz" ${LIBSNDFILE} "http://www.mega-nerd.com/libsndfile/files"
fpkg -e "tar.gz" ${LIBSAMPLERATE} "http://www.mega-nerd.com/SRC"
fpkg ${LIBFAAD2} "http://downloads.sourceforge.net/faac"
fpkg ${LIBTHEORA} "http://downloads.xiph.org/releases/theora"
fpkg ${XVIDCORE} "http://downloads.xvid.org/downloads"
+ fpkg -f "${LIBX264}-stable" ${LIBX264} \
+ "ftp://ftp.videolan.org/pub/videolan/x264/snapshots"
fpkg -e "tar.gz" ${AUDIOFILE} "http://www.68k.org/~michael/audiofile"
- fpkg -e "tar.gz" -f "pa_stable_v19_20071207" ${PORTAUDIO} \
- "http://www.portaudio.com/archives"
+ fpkg -e "tgz" ${PORTAUDIO} "http://www.portaudio.com/archives"
fpkg -e "tar.gz" ${VAMP} "http://code.soundsoftware.ac.uk/attachments/download/224"
fpkg -e "tar.gz" ${FFTW} "http://www.fftw.org"