#!/bin/bash

#############################################################################
# Script : source.download
# Purpose: Download additional patches and sources to build the components
#          for a port (non Intel) Slackware installer.
# Author : Stuart Winter <stuart@armedslack.org>
# Date...: 20-Aug-2005
#############################################################################

# initrd diff for busybox from Slack390
# Mark says that Pat's busybox diff 'differs' from the actual busybox that is
# included with the installer.  I'll take his word for it :)
wget -c ftp://distro.ibiblio.org/pub/linux/distributions/slack390/slack390-current/source/rootdisks/busybox/initrd.diff

# Debian's elvis-tiny diff.  This version is the same as that included within the
# Slackware installer.
# The Slackware installer sources contain a Debian diff but it's an older version than this
# I usually trust Debian diffs so I'm continuing that here:
wget -c http://ftp.debian.org/debian/pool/main/e/elvis-tiny/elvis-tiny_1.4-18.diff.gz

# Debian's fileutils source and diff:
# again, a more recent release than in Slackware - just because the version 3 in slackware
# does not build with gcc 3.4 and it doesn't seem pertinent to fix it:
wget -c http://ftp.debian.org/debian/pool/main/f/fileutils/fileutils_4.1.orig.tar.gz
wget -c http://ftp.debian.org/debian/pool/main/f/fileutils/fileutils_4.1-10.diff.gz

# Debian's patches for shellutils - a newer version than in the Slackware installer
# http://packages.debian.org/oldstable/base/shellutils
wget -c http://ftp.debian.org/debian/pool/main/s/shellutils/shellutils_2.0.11.orig.tar.gz
wget -c http://ftp.debian.org/debian/pool/main/s/shellutils/shellutils_2.0.11-11.diff.gz

# Debian's patches for textutils:
wget -c http://ftp.debian.org/debian/pool/main/t/textutils/textutils_2.0.orig.tar.gz
wget -c http://ftp.debian.org/debian/pool/main/t/textutils/textutils_2.0-12.diff.gz

# busybox:
# wget -c http://www.busybox.net/downloads/busybox-1.2.1.tar.bz2
wget -c http://ftp.debian.org/debian/pool/main/b/busybox/busybox_1.1.3.orig.tar.gz
wget -c http://ftp.debian.org/debian/pool/main/b/busybox/busybox_1.1.3-3.diff.gz

