#!/bin/csh # # One Step modified for essentials only # GNU-Darwin auto-installer # 0.0.1a6 # proclus (GPL) # Thu Aug 29 09:47:46 PDT 2002 # # To install the base distribution execute the following command as root # # curl http://gnu-darwin.sourceforge.net/gdEssentials | csh # # The GNU-Darwin base distribution requires either OSX.1 or Darwin-1.4.1, # and 1gig of disk space. # # Darwin users may have to find a way to install curl on their computers. # essential_binaries: curl -o wget http://us.dl.sourceforge.net/sourceforge/gnu-darwin/direct_download/packages/wget chmod 755 wget cp wget /usr/bin rehash cd /usr/sbin/ wget http://gnu-darwin.sourceforge.net/packages/pkg_add -O pkg_add chmod 755 pkg_add rehash cd /usr/lib # sorry for this kludge ;( wget http://gnu-darwin.sourceforge.net/libtcl8.3.dylib more_binaries: cd ~;mkdir -p basefiles cd basefiles/ wget http://gnu-darwin.sourceforge.net/packages/killall -O killall cp killall /usr/bin/killall chmod 755 /usr/bin/killall # install the package manager # pkg_installer: cp -f /usr/bin/tar /tmp wget http://gnu-darwin.sourceforge.net/packages/tar -O tar cp -f tar /usr/bin chmod 755 /usr/bin/tar wget http://gnu-darwin.sourceforge.net/packages/ppc/All/g-d-package-install-2a.8.tgz -O g-d-package-install-2a.8.tgz mkdir -p /var/db/pkg/gettext-0.10.35 echo ______________________________________________________________________ echo echo Installing and testing package manager. echo echo If there is an error message at this step, then it is still safe echo to exit by hitting control-c, and rerun the installer. If you echo get an mtree or makeinfo error message, it is safe to ignore it. echo ______________________________________________________________________ /usr/sbin/pkg_add -f g-d-package-install-2a.8.tgz /usr/sbin/pkg_add -f http://gnu-darwin.sourceforge.net/packages/ppc/Latest/g-d-package-install.tgz http://gnu-darwin.sourceforge.net/packages/ppc/All/dlcompat-20010831.tgz http://gnu-darwin.sourceforge.net/packages/ppc/All/wget-1.6_2.tgz cp -f /tmp/tar /usr/bin echo Tests done! rehash exit