#!/bin/sh mount -o loop lfs.image /mnt/ cd /mnt/sources ./getmd5 http://ftp.gnu.org/gnu/bc/bc-1.06.tar.gz d44b5dddebd8a7a7309aea6c36fda117 ./getmd5 http://www.openssl.org/source/openssl-0.9.8b.tar.gz 12cedbeb6813a0d7919dbf1f82134b86 wget http://www.linuxfromscratch.org/patches/blfs/svn/openssl-0.9.8b-fix_manpages-1.patch ./getmd5 http://ftp.gnu.org/gnu/wget/wget-1.10.2.tar.gz 795fefbb7099f93e2d346b026785c4b8 echo nameserver 192.168.1.2 > /etc/resolv.conf lfsetup cd sources/ #chapter 3 /usr/sbin/useradd -D -s/bin/bash mkdir /etc/skel chmod 700 /etc/skel/ cat > /etc/profile << "EOF" if [ $EUID -eq 0 ] ; then unset HISTFILE fi export PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin export HISTSIZE=1000 export HISTIGNORE="&:[bf]g:exit" export PS1="[\u@\h \w]\\$ " for script in /etc/profile.d/*.sh ; do if [ -r $script ] ; then . $script fi done EOF install --directory --mode=0755 --owner=root --group=root /etc/profile.d cat > /etc/profile.d/dircolors.sh << "EOF" # Setup for /bin/ls to support color, the alias is in /etc/bashrc. if [ -f "/etc/dircolors" ] ; then eval $(dircolors -b /etc/dircolors) if [ -f "$HOME/.dircolors" ] ; then eval $(dircolors -b $HOME/.dircolors) fi fi alias ls='ls --color=auto' EOF cat > /etc/profile.d/extrapaths.sh << "EOF" if [ -d /usr/local/lib/pkgconfig ] ; then PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig fi for directory in $(find /opt/*/lib/pkgconfig -type d 2>/dev/null); do PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$directory done for directory in $(find /opt/*/bin -type d 2>/dev/null); do PATH=$PATH:$directory done if [ -d ~/bin ]; then PATH=~/bin:$PATH fi export PATH export PKG_CONFIG_PATH EOF cat > /etc/profile.d/readline.sh << "EOF" # Setup the INPUTRC environment variable. if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ] ; then INPUTRC=/etc/inputrc fi export INPUTRC EOF cat > /etc/profile.d/tinker-term.sh << "EOF" # This will tinker with the value of TERM in order to convince certain # apps that we can, indeed, display color in their window. if [ -n "$COLORTERM" ]; then export TERM=xterm-color fi if [ "$TERM" = "xterm" ]; then export TERM=xterm-color fi EOF cat > /etc/profile.d/umask.sh << "EOF" if [ "$(id -gn)" = "$(id -un)" -a $EUID -gt 99 ] ; then umask 007 else umask 022 fi EOF cat > /etc/profile.d/X.sh << "EOF" if [ -d /usr/X11R6/bin ]; then export PATH=$PATH:/usr/X11R6/bin fi if [ -d /usr/X11R6/lib/pkgconfig ] ; then export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/X11R6/lib/pkgconfig fi EOF cat > /etc/profile.d/i18n.sh << "EOF" # Set up i18n variables export LC_ALL=en_US.ISO-8859-1 export LANG=en_US.ISO-8859-1 export G_FILENAME_ENCODING=@locale EOF cat > /etc/bashrc << "EOF" # Make sure that the terminal is set up properly for each shell if [ -f /etc/profile.d/tinker-term.sh ]; then source /etc/profile.d/tinker-term.sh fi # System wide environment variables and startup programs should go into # /etc/profile. Personal environment variables and startup programs # should go into ~/.bash_profile. Personal aliases and functions should # go into ~/.bashrc # Provides a colored /bin/ls command. Used in conjunction with code in # /etc/profile. alias ls='ls --color=auto' alias su='su -' # Provides prompt for non-login shells, specifically shells started # in the X environment. export PS1="[\u@\h \w]\\$ " EOF cat > /etc/skel/.bash_profile << "EOF" if [ -f "$HOME/.bashrc" ] ; then source $HOME/.bashrc fi EOF chmod 600 /etc/skel/.bash_profile cp /etc/skel/.bash_profile /root cat > /etc/skel/.bashrc << "EOF" if [ -f "/etc/bashrc" ] ; then source /etc/bashrc fi EOF chmod 600 /etc/skel/.bashrc . /etc/skel/.bashrc cp /etc/skel/.bashrc /root dircolors -p > /etc/dircolors cat > /etc/issue << "EOF" Linux From Scratch 6.2 on \n using kernel \r EOF cat > /etc/shells << "EOF" # Begin /etc/shells /bin/sh /bin/bash # End /etc/shells EOF tar -xjf blfs-bootscripts-20060624.tar.bz2 cd blfs-bootscripts-20060624 make install-random cd .. cat > /usr/sbin/compressdoc << "EOF" #!/bin/bash # VERSION: 20060311.0028 # # Compress (with bzip2 or gzip) all man pages in a hierarchy and # update symlinks - By Marc Heerdink # # Modified to be able to gzip or bzip2 files as an option and to deal # with all symlinks properly by Mark Hymers # # Modified 20030930 by Yann E. Morin # to accept compression/decompression, to correctly handle hard-links, # to allow for changing hard-links into soft- ones, to specify the # compression level, to parse the man.conf for all occurrences of MANPATH, # to allow for a backup, to allow to keep the newest version of a page. # # Modified 20040330 by Tushar Teredesai to replace $0 by the name of the # script. # (Note: It is assumed that the script is in the user's PATH) # # Modified 20050112 by Randy McMurchy to shorten line lengths and # correct grammar errors. # # Modified 20060128 by Alexander E. Patrakov for compatibility with Man-DB. # # Modified 20060311 by Archaic to use Man-DB manpath utility which is a # replacement for man --path from Man. # # TODO: # - choose a default compress method to be based on the available # tool : gzip or bzip2; # - offer an option to automagically choose the best compression # methed on a per page basis (eg. check which of # gzip/bzip2/whatever is the most effective, page per page); # - when a MANPATH env var exists, use this instead of /etc/man_db.conf # (useful for users to (de)compress their man pages; # - offer an option to restore a previous backup; # - add other compression engines (compress, zip, etc?). Needed? # Funny enough, this function prints some help. function help () { if [ -n "$1" ]; then echo "Unknown option : $1" fi ( echo "Usage: $MY_NAME [options] [dirs]" && \ cat << EOT Where comp_method is one of : --gzip, --gz, -g --bzip2, --bz2, -b Compress using gzip or bzip2. --decompress, -d Decompress the man pages. --backup Specify a .tar backup shall be done for all directories. In case a backup already exists, it is saved as .tar.old prior to making the new backup. If a .tar.old backup exists, it is removed prior to saving the backup. In backup mode, no other action is performed. And where options are : -1 to -9, --fast, --best The compression level, as accepted by gzip and bzip2. When not specified, uses the default compression level for the given method (-6 for gzip, and -9 for bzip2). Not used when in backup or decompress modes. --force, -F Force (re-)compression, even if the previous one was the same method. Useful when changing the compression ratio. By default, a page will not be re-compressed if it ends with the same suffix as the method adds (.bz2 for bzip2, .gz for gzip). --soft, -S Change hard-links into soft-links. Use with _caution_ as the first encountered file will be used as a reference. Not used when in backup mode. --hard, -H Change soft-links into hard-links. Not used when in backup mode. --conf=dir, --conf dir Specify the location of man_db.conf. Defaults to /etc. --verbose, -v Verbose mode, print the name of the directory being processed. Double the flag to turn it even more verbose, and to print the name of the file being processed. --fake, -f Fakes it. Print the actual parameters compressdoc will use. dirs A list of space-separated _absolute_ pathnames to the man directories. When empty, and only then, use manpath to parse ${MAN_CONF}/man_db.conf for all valid occurrences of MANDATORY_MANPATH. Note about compression: There has been a discussion on blfs-support about compression ratios of both gzip and bzip2 on man pages, taking into account the hosting fs, the architecture, etc... On the overall, the conclusion was that gzip was much more efficient on 'small' files, and bzip2 on 'big' files, small and big being very dependent on the content of the files. See the original post from Mickael A. Peters, titled "Bootable Utility CD", dated 20030409.1816(+0200), and subsequent posts: http://linuxfromscratch.org/pipermail/blfs-support/2003-April/038817.html On my system (x86, ext3), man pages were 35564KB before compression. gzip -9 compressed them down to 20372KB (57.28%), bzip2 -9 got down to 19812KB (55.71%). That is a 1.57% gain in space. YMMV. What was not taken into consideration was the decompression speed. But does it make sense to? You gain fast access with uncompressed man pages, or you gain space at the expense of a slight overhead in time. Well, my P4-2.5GHz does not even let me notice this... :-) EOT ) | less } # This function checks that the man page is unique amongst bzip2'd, # gzip'd and uncompressed versions. # $1 the directory in which the file resides # $2 the file name for the man page # Returns 0 (true) if the file is the latest and must be taken care of, # and 1 (false) if the file is not the latest (and has therefore been # deleted). function check_unique () { # NB. When there are hard-links to this file, these are # _not_ deleted. In fact, if there are hard-links, they # all have the same date/time, thus making them ready # for deletion later on. # Build the list of all man pages with the same name DIR=$1 BASENAME=`basename "${2}" .bz2` BASENAME=`basename "${BASENAME}" .gz` GZ_FILE="$BASENAME".gz BZ_FILE="$BASENAME".bz2 # Look for, and keep, the most recent one LATEST=`(cd "$DIR"; ls -1rt "${BASENAME}" "${GZ_FILE}" "${BZ_FILE}" \ 2>/dev/null | tail -n 1)` for i in "${BASENAME}" "${GZ_FILE}" "${BZ_FILE}"; do [ "$LATEST" != "$i" ] && rm -f "$DIR"/"$i" done # In case the specified file was the latest, return 0 [ "$LATEST" = "$2" ] && return 0 # If the file was not the latest, return 1 return 1 } # Name of the script MY_NAME=`basename $0` # OK, parse the command-line for arguments, and initialize to some # sensible state, that is: don't change links state, parse # /etc/man_db.conf, be most silent, search man_db.conf in /etc, and don't # force (re-)compression. COMP_METHOD= COMP_SUF= COMP_LVL= FORCE_OPT= LN_OPT= MAN_DIR= VERBOSE_LVL=0 BACKUP=no FAKE=no MAN_CONF=/etc while [ -n "$1" ]; do case $1 in --gzip|--gz|-g) COMP_SUF=.gz COMP_METHOD=$1 shift ;; --bzip2|--bz2|-b) COMP_SUF=.bz2 COMP_METHOD=$1 shift ;; --decompress|-d) COMP_SUF= COMP_LVL= COMP_METHOD=$1 shift ;; -[1-9]|--fast|--best) COMP_LVL=$1 shift ;; --force|-F) FORCE_OPT=-F shift ;; --soft|-S) LN_OPT=-S shift ;; --hard|-H) LN_OPT=-H shift ;; --conf=*) MAN_CONF=`echo $1 | cut -d '=' -f2-` shift ;; --conf) MAN_CONF="$2" shift 2 ;; --verbose|-v) let VERBOSE_LVL++ shift ;; --backup) BACKUP=yes shift ;; --fake|-f) FAKE=yes shift ;; --help|-h) help exit 0 ;; /*) MAN_DIR="${MAN_DIR} ${1}" shift ;; -*) help $1 exit 1 ;; *) echo "\"$1\" is not an absolute path name" exit 1 ;; esac done # Redirections case $VERBOSE_LVL in 0) # O, be silent DEST_FD0=/dev/null DEST_FD1=/dev/null VERBOSE_OPT= ;; 1) # 1, be a bit verbose DEST_FD0=/dev/stdout DEST_FD1=/dev/null VERBOSE_OPT=-v ;; *) # 2 and above, be most verbose DEST_FD0=/dev/stdout DEST_FD1=/dev/stdout VERBOSE_OPT="-v -v" ;; esac # Note: on my machine, 'man --path' gives /usr/share/man twice, once # with a trailing '/', once without. if [ -z "$MAN_DIR" ]; then MAN_DIR=`manpath -C "$MAN_CONF"/man_db.conf \ | sed 's/:/\\n/g' \ | while read foo; do dirname "$foo"/.; done \ | sort -u \ | while read bar; do echo -n "$bar "; done` fi # If no MANDATORY_MANPATH in ${MAN_CONF}/man_db.conf, abort as well if [ -z "$MAN_DIR" ]; then echo "No directory specified, and no directory found with \`manpath'" exit 1 fi # Fake? if [ "$FAKE" != "no" ]; then echo "Actual parameters used:" echo -n "Compression.......: " case $COMP_METHOD in --bzip2|--bz2|-b) echo -n "bzip2";; --gzip|__gz|-g) echo -n "gzip";; --decompress|-d) echo -n "decompressing";; *) echo -n "unknown";; esac echo " ($COMP_METHOD)" echo "Compression level.: $COMP_LVL" echo "Compression suffix: $COMP_SUF" echo -n "Force compression.: " [ "foo$FORCE_OPT" = "foo-F" ] && echo "yes" || echo "no" echo "man_db.conf is....: ${MAN_CONF}/man_db.conf" echo -n "Hard-links........: " [ "foo$LN_OPT" = "foo-S" ] && echo "convert to soft-links" || echo "leave as is" echo -n "Soft-links........: " [ "foo$LN_OPT" = "foo-H" ] && echo "convert to hard-links" || echo "leave as is" echo "Backup............: $BACKUP" echo "Faking (yes!).....: $FAKE" echo "Directories.......: $MAN_DIR" echo "Verbosity level...: $VERBOSE_LVL" exit 0 fi # If no method was specified, print help if [ -z "${COMP_METHOD}" -a "${BACKUP}" = "no" ]; then help exit 1 fi # In backup mode, do the backup solely if [ "$BACKUP" = "yes" ]; then for DIR in $MAN_DIR; do cd "${DIR}/.." DIR_NAME=`basename "${DIR}"` echo "Backing up $DIR..." > $DEST_FD0 [ -f "${DIR_NAME}.tar.old" ] && rm -f "${DIR_NAME}.tar.old" [ -f "${DIR_NAME}.tar" ] && mv "${DIR_NAME}.tar" "${DIR_NAME}.tar.old" tar -cvf "${DIR_NAME}.tar" "${DIR_NAME}" > $DEST_FD1 done exit 0 fi # I know MAN_DIR has only absolute path names # I need to take into account the localized man, so I'm going recursive for DIR in $MAN_DIR; do MEM_DIR=`pwd` cd "$DIR" for FILE in *; do # Fixes the case were the directory is empty if [ "foo$FILE" = "foo*" ]; then continue; fi # Fixes the case when hard-links see their compression scheme change # (from not compressed to compressed, or from bz2 to gz, or from gz # to bz2) # Also fixes the case when multiple version of the page are present, # which are either compressed or not. if [ ! -L "$FILE" -a ! -e "$FILE" ]; then continue; fi # Do not compress whatis files if [ "$FILE" = "whatis" ]; then continue; fi if [ -d "$FILE" ]; then cd "${MEM_DIR}" # Go back to where we ran "$0", # in case "$0"=="./compressdoc" ... # We are going recursive to that directory echo "-> Entering ${DIR}/${FILE}..." > $DEST_FD0 # I need not pass --conf, as I specify the directory to work on # But I need exit in case of error "$MY_NAME" ${COMP_METHOD} ${COMP_LVL} ${LN_OPT} ${VERBOSE_OPT} \ ${FORCE_OPT} "${DIR}/${FILE}" || exit 1 echo "<- Leaving ${DIR}/${FILE}." > $DEST_FD1 cd "$DIR" # Needed for the next iteration of the loop else # !dir if ! check_unique "$DIR" "$FILE"; then continue; fi # Check if the file is already compressed with the specified method BASE_FILE=`basename "$FILE" .gz` BASE_FILE=`basename "$BASE_FILE" .bz2` if [ "${FILE}" = "${BASE_FILE}${COMP_SUF}" \ -a "foo${FORCE_OPT}" = "foo" ]; then continue; fi # If we have a symlink if [ -h "$FILE" ]; then case "$FILE" in *.bz2) EXT=bz2 ;; *.gz) EXT=gz ;; *) EXT=none ;; esac if [ ! "$EXT" = "none" ]; then LINK=`ls -l "$FILE" | cut -d ">" -f2 \ | tr -d " " | sed s/\.$EXT$//` NEWNAME=`echo "$FILE" | sed s/\.$EXT$//` mv "$FILE" "$NEWNAME" FILE="$NEWNAME" else LINK=`ls -l "$FILE" | cut -d ">" -f2 | tr -d " "` fi if [ "$LN_OPT" = "-H" ]; then # Change this soft-link into a hard- one rm -f "$FILE" && ln "${LINK}$COMP_SUF" "${FILE}$COMP_SUF" chmod --reference "${LINK}$COMP_SUF" "${FILE}$COMP_SUF" else # Keep this soft-link a soft- one. rm -f "$FILE" && ln -s "${LINK}$COMP_SUF" "${FILE}$COMP_SUF" fi echo "Relinked $FILE" > $DEST_FD1 # else if we have a plain file elif [ -f "$FILE" ]; then # Take care of hard-links: build the list of files hard-linked # to the one we are {de,}compressing. # NB. This is not optimum has the file will eventually be # compressed as many times it has hard-links. But for now, # that's the safe way. inode=`ls -li "$FILE" | awk '{print $1}'` HLINKS=`find . \! -name "$FILE" -inum $inode` if [ -n "$HLINKS" ]; then # We have hard-links! Remove them now. for i in $HLINKS; do rm -f "$i"; done fi # Now take care of the file that has no hard-link # We do decompress first to re-compress with the selected # compression ratio later on... case "$FILE" in *.bz2) bunzip2 $FILE FILE=`basename "$FILE" .bz2` ;; *.gz) gunzip $FILE FILE=`basename "$FILE" .gz` ;; esac # Compress the file with the given compression ratio, if needed case $COMP_SUF in *bz2) bzip2 ${COMP_LVL} "$FILE" && chmod 644 "${FILE}${COMP_SUF}" echo "Compressed $FILE" > $DEST_FD1 ;; *gz) gzip ${COMP_LVL} "$FILE" && chmod 644 "${FILE}${COMP_SUF}" echo "Compressed $FILE" > $DEST_FD1 ;; *) echo "Uncompressed $FILE" > $DEST_FD1 ;; esac # If the file had hard-links, recreate those (either hard or soft) if [ -n "$HLINKS" ]; then for i in $HLINKS; do NEWFILE=`echo "$i" | sed s/\.gz$// | sed s/\.bz2$//` if [ "$LN_OPT" = "-S" ]; then # Make this hard-link a soft- one ln -s "${FILE}$COMP_SUF" "${NEWFILE}$COMP_SUF" else # Keep the hard-link a hard- one ln "${FILE}$COMP_SUF" "${NEWFILE}$COMP_SUF" fi # Really work only for hard-links. Harmless for soft-links chmod 644 "${NEWFILE}$COMP_SUF" done fi else # There is a problem when we get neither a symlink nor a plain # file. Obviously, we shall never ever come here... :-( echo -n "Whaooo... \"${DIR}/${FILE}\" is neither a symlink " echo "nor a plain file. Please check:" ls -l "${DIR}/${FILE}" exit 1 fi fi done # for FILE done # for DIR EOF chmod 755 /usr/sbin/compressdoc # the order of installation follows an attempt to satisfy broadly-required prerequisites first #bc tar -xzf bc-1.06.tar.gz cd bc-1.06 sed -i '/PROTO.*readline/d' bc/scan.l && sed -i '/flex -I8/s/8//' configure && sed -i '/stdlib/a #include ' lib/number.c && sed -i 's/program.*save/static &/' bc/load.c (./configure --prefix=/usr --with-readline && make) 2>&1 | tee -a ../bc.out (echo "quit" | ./bc/bc -l Test/checklib.b) 2>&1 | tee -a ../bc.out (make install) 2>&1 | tee -a ../bc.out cd .. grep bc.out -ie '^make.*error' || rm -rf bc-1.06 #OpenSSL tar -xzf openssl-0.9.8b.tar.gz cd openssl-0.9.8b sed -i -e 's/mcpu/march/' config (patch -Np1 -i ../openssl-0.9.8b-fix_manpages-1.patch) 2>&1 | tee -a ../openssl.out (./config --openssldir=/etc/ssl --prefix=/usr shared && make MANDIR=/usr/share/man) 2>&1 | tee -a ../openssl.out (make test) 2>&1 | tee -a ../openssl.out (make MANDIR=/usr/share/man install) 2>&1 | tee -a ../openssl.out cp -r certs /etc/ssl && install -d -m755 /usr/share/doc/openssl-0.9.8b && cp -r doc/{HOWTO,README,*.{txt,html,gif}} /usr/share/doc/openssl-0.9.8b cd .. grep openssl.out -ie '^make.*error' || rm -rf openssl-0.9.8b #wget tar -xzf wget-1.10.2.tar.gz cd wget-1.10.2 (./configure --prefix=/usr --sysconfdir=/etc && make && make install) 2>&1 | tee -a ../wget.out cd .. grep wget.out -ie '^make.*error' || rm -rf wget-1.10.2 #ed ./getmd5 http://ftp.gnu.org/pub/gnu/ed/ed-0.2.tar.gz ddd57463774cae9b50e70cd51221281b wget http://www.linuxfromscratch.org/patches/blfs/svn/ed-0.2-mkstemp-1.patch tar -xzf ed-0.2.tar.gz cd ed-0.2 (patch -Np1 -i ../ed-0.2-mkstemp-1.patch) 2>&1 | tee -a ../ed.out (./configure --prefix=/usr --exec-prefix="" && make && make check) 2>&1 | tee -a ../ed.out (make install) 2>&1 | tee -a ../ed.out cd .. grep ed.out -ie '^make.*error' || rm -rf ed-0.2 #which ./getmd5 http://www.xs4all.nl/~carlo17/which/which-2.16.tar.gz 830b83af48347a9a3520f561e47cbc9b tar -xzf which-2.16.tar.gz cd which-2.16 (./configure --prefix=/usr && make) 2>&1 | tee -a ../which.out (make install) 2>&1 | tee -a ../which.out cd .. grep which.out -ie '^make.*error' || rm -rf which-2.16 #unzip ./getmd5 http://www.mirrorservice.org/sites/ftp.info-zip.org/pub/infozip/src/unzip552.tar.gz 9d23919999d6eac9217d1f41472034a9 tar -xzf unzip552.tar.gz cd unzip-5.52/ (make -f unix/Makefile LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux) 2>&1 | tee -a ../unzip.out (LD_LIBRARY_PATH=$PWD make check) 2>&1 | tee -a ../unzip.out (make prefix=/usr install) 2>&1 | tee -a ../unzip.out cd .. grep unzip.out -ie '^make.*error' || rm -rf unzip-5.52 #zip ./getmd5 http://anduin.linuxfromscratch.org/sources/BLFS/svn/z/zip231.tar.gz 6bfc076664416251d7624ab3538d1cb9 tar -xzf zip231.tar.gz cd zip-2.31/ sed -i -e 's@$(INSTALL) man/zip.1@$(INSTALL_PROGRAM) man/zip.1@' unix/Makefile (make prefix=/usr -f unix/Makefile generic_gcc && make prefix=/usr -f unix/Makefile install) 2>&1 | tee -a ../zip.out cd .. grep zip.out -ie '^make.*error' || rm -rf zip-2.31/ #libpng ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.12.tar.bz2 2287cfaad53a714acdf6eb75a7c1d15f tar -xjf libpng-1.2.12.tar.bz2 cd libpng-1.2.12 (./configure --prefix=/usr && make && make check) 2>&1 | tee -a ../libpng.out (make install) 2>&1 | tee -a ../libpng.out install -m755 -d /usr/share/doc/libpng-1.2.12 && install -m644 README libpng.txt /usr/share/doc/libpng-1.2.12 cd .. grep libpng.out -ie '^make.*error' || rm -rf libpng-1.2.12 #PCRE ./getmd5 ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-6.6.tar.bz2 61067f730c46cf6bdd0f8efe3f4f51b6 tar -xjf pcre-6.6.tar.bz2 cd pcre-6.6 (./configure --prefix=/usr --enable-utf8 && make && make runtest) 2>&1 | tee -a ../pcre.out (make install) 2>&1 | tee -a ../pcre.out install -m755 -d /usr/share/doc/pcre-6.6/html && install -m644 doc/html/* /usr/share/doc/pcre-6.6/html && install -m644 doc/{Tech.Notes,*.txt} /usr/share/doc/pcre-6.6 mv /usr/lib/libpcre.so.* /lib/ && ln -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so cd .. grep pcre.out -ie '^make.*error' || rm -rf pcre-6.6 #S-Lang ./getmd5 http://gd.tuwien.ac.at/editors/davis/slang/v2.0/slang-2.0.6.tar.bz2 efb055000636f312d5c3de56f3c70d12 tar -xjf slang-2.0.6.tar.bz2 cd slang-2.0.6 (./configure --prefix=/usr --sysconfdir=/etc && make && make elf && make runtests) 2>&1 | tee -a ../slang.out (make install-elf) 2>&1 | tee -a ../slang.out chmod 755 /usr/lib/libslang.so.2.0.6 cd .. grep slang.out -ie '^make.*error' || rm -rf slang-2.0.6 #links ./getmd5 http://links.twibright.com/download/links-2.1pre21.tar.bz2 7687e2c32e337e11c6e9d8cd8c5202c9 tar -xjf links-2.1pre21.tar.bz2 cd links-2.1pre21 (./configure --prefix=/usr && make CFLAGS="-O2 -Wno-sign-compare -Wno-pointer-sign") 2>&1 | tee -a ../links.out (make install) 2>&1 | tee -a ../links.out cd .. grep links.out -ie '^make.*error' || rm -rf links-2.1pre21 #GDBM ./getmd5 http://ftp.gnu.org/gnu/gdbm/gdbm-1.8.3.tar.gz 1d1b1d5c0245b1c00aff92da751e9aa1 tar -xzf gdbm-1.8.3.tar.gz cd gdbm-1.8.3 (./configure --prefix=/usr && make && make BINOWN=root BINGRP=root install && make BINOWN=root BINGRP=root install-compat) 2>&1 | tee -a ../gdbm.out cd .. grep gdbm.out -ie '^make.*error' || rm -rf gdbm-1.8.3 #Python ./getmd5 http://www.python.org/ftp/python/2.4.3/Python-2.4.3.tar.bz2 141c683447d5e76be1d2bd4829574f02 wget http://www.linuxfromscratch.org/patches/blfs/svn/Python-2.4.3-gdbm-1.patch tar -xjf Python-2.4.3.tar.bz2 cd Python-2.4.3 (patch -Np1 -i ../Python-2.4.3-gdbm-1.patch) 2>&1 | tee -a ../Python.out (./configure --prefix=/usr --enable-shared && make && make test) 2>&1 | tee -a ../Python.out (make install) 2>&1 | tee -a ../Python.out cd .. grep Python.out -ie '^make.*error' || rm -rf Python-2.4.3 #libxml2 ./getmd5 http://ftp.gnome.org/pub/gnome/sources/libxml2/2.6/libxml2-2.6.26.tar.gz 2d8d3805041edab967368b497642f981 tar -xzf libxml2-2.6.26.tar.gz cd libxml2-2.6.26 (./configure --prefix=/usr && make && make check) 2>&1 | tee -a ../libxml2.out (make install) 2>&1 | tee -a ../libxml2.out cd .. grep libxml2.out -ie '^make.*error' rm -rf libxml2-2.6.26 #expat ./getmd5 http://umn.dl.sourceforge.net/sourceforge/expat/expat-2.0.0.tar.gz d945df7f1c0868c5c73cf66ba9596f3f tar -xzf expat-2.0.0.tar.gz cd expat-2.0.0 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../expat.out install -m755 -d /usr/share/doc/expat-2.0.0 install -m644 doc/*.{html,png,css} /usr/share/doc/expat-2.0.0 cd .. grep expat.out -ie '^make.*error' || rm -rf expat-2.0.0 #Perl Modules wget http://cpan.org/authors/id/P/PM/PMQS/Compress-Zlib-1.41.tar.gz tar -xzf Compress-Zlib-1.41.tar.gz cd Compress-Zlib-1.41 sed -i -e "s|BUILD_ZLIB = True|BUILD_ZLIB = False|" -e "s|INCLUDE = ./zlib-src|INCLUDE = /usr/include|" -e "s|LIB = ./zlib-src|LIB = /usr/lib|" config.in (perl Makefile.PL && make && make test && make install) 2>&1 | tee -a ../perlmods.out cd .. grep perlmods.out -ie '^make.*error' || rm -rf Compress-Zlib-1.41 wget http://cpan.org/authors/id/D/DM/DMEGG/SGMLSpm-1.03ii.tar.gz tar -xzf SGMLSpm-1.03ii.tar.gz cd SGMLSpm sed -i -e "s@/usr/local/bin@/usr/bin@" -e "s@/usr/local/lib/perl5@/usr/lib/perl5/site_perl/5.8.8@" -e "s@/usr/local/lib/www/docs@/usr/share/doc/perl5@" Makefile (make install && install -m755 -d /usr/share/doc/perl5 && make install_html && rm -f /usr/share/doc/perl5/SGMLSpm/sample.pl && install -m644 DOC/sample.pl /usr/share/doc/perl5/SGMLSpm) 2>&1 | tee -a ../perlmods.out cd .. grep perlmods.out -ie '^make.*error' || rm -rf SGMLSpm wget http://cpan.org/authors/id/M/MS/MSERGEANT/XML-Parser-2.34.tar.gz tar -xzf XML-Parser-2.34.tar.gz cd XML-Parser-2.34 (perl Makefile.PL && make && make test && make install) 2>&1 | tee -a ../perlmods.out cd .. grep perlmods.out -ie '^make.*error' || rm -rf XML-Parser-2.34 #SGML Common ./getmd5 http://gd.tuwien.ac.at/hci/kde/devel/docbook/SOURCES/sgml-common-0.6.3.tgz 103c9828f24820df86e55e7862e28974 wget http://www.linuxfromscratch.org/patches/blfs/svn/sgml-common-0.6.3-manpage-1.patch tar -xzf sgml-common-0.6.3.tgz cd sgml-common-0.6.3 (patch -Np1 -i ../sgml-common-0.6.3-manpage-1.patch && autoreconf -f -i) 2>&1 | tee -a ../sgml-common.out (./configure --prefix=/usr --sysconfdir=/etc && make && make install && install-catalog --add /etc/sgml/sgml-ent.cat /usr/share/sgml/sgml-iso-entities-8879.1986/catalog && install-catalog --add /etc/sgml/sgml-docbook.cat /etc/sgml/sgml-ent.cat) 2>&1 | tee -a ../sgml-common.out cd .. grep sgml-common.out -ie '^make.*error' || rm -rf sgml-common-0.6.3 #DocBook SGML DTD-3.1 mkdir dbsgmldtd cd dbsgmldtd ../getmd5 http://www.docbook.org/sgml/3.1/docbk31.zip 432749c0c806dbae81c8bcb70da3b5d3 unzip docbk31.zip mv docbk31.zip .. sed -i -e '/ISO 8879/d' -e 's|DTDDECL "-//OASIS//DTD DocBook V3.1//EN"|SGMLDECL|g' docbook.cat install -d -m755 /usr/share/sgml/docbook/sgml-dtd-3.1 chown -R root:root . install docbook.cat /usr/share/sgml/docbook/sgml-dtd-3.1/catalog cp -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-3.1 (install-catalog --add /etc/sgml/sgml-docbook-dtd-3.1.cat /usr/share/sgml/docbook/sgml-dtd-3.1/catalog && install-catalog --add /etc/sgml/sgml-docbook-dtd-3.1.cat /etc/sgml/sgml-docbook.cat) 2>&1 | tee -a ../db-sgml-dtd-3.1.out cat >> /usr/share/sgml/docbook/sgml-dtd-3.1/catalog << "EOF" -- Begin Single Major Version catalog changes -- PUBLIC "-//Davenport//DTD DocBook V3.0//EN" "docbook.dtd" -- End Single Major Version catalog changes -- EOF cd .. rm -rf dbsgmldtd #DocBook SGML DTD-4.4 mkdir dbsgmldtd cd dbsgmldtd ../getmd5 http://www.docbook.org/sgml/4.4/docbook-4.4.zip f89e1bd0b2c7a361e3f1f739e16b5d0d unzip docbook-4.4.zip mv docbook-4.4.zip .. sed -i -e '/ISO 8879/d' -e '/gml/d' docbook.cat install -d /usr/share/sgml/docbook/sgml-dtd-4.4 chown -R root:root . install docbook.cat /usr/share/sgml/docbook/sgml-dtd-4.4/catalog cp -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-4.4 (install-catalog --add /etc/sgml/sgml-docbook-dtd-4.4.cat /usr/share/sgml/docbook/sgml-dtd-4.4/catalog && install-catalog --add /etc/sgml/sgml-docbook-dtd-4.4.cat /etc/sgml/sgml-docbook.cat) 2>&1 | tee -a ../db-sgml-dtd-4.4.out cat >> /usr/share/sgml/docbook/sgml-dtd-4.4/catalog << "EOF" -- Begin Single Major Version catalog changes -- PUBLIC "-//OASIS//DTD DocBook V4.3//EN" "docbook.dtd" PUBLIC "-//OASIS//DTD DocBook V4.2//EN" "docbook.dtd" PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "docbook.dtd" PUBLIC "-//OASIS//DTD DocBook V4.0//EN" "docbook.dtd" -- End Single Major Version catalog changes -- EOF cd .. rm -rf dbsgmldtd #OpenSp ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/openjade/OpenSP-1.5.2.tar.gz 670b223c5d12cee40c9137be86b6c39b tar -xzf OpenSP-1.5.2.tar.gz cd OpenSP-1.5.2 sed -i 's:32,:253,:' lib/Syntax.cxx sed -i 's:LITLEN 240 :LITLEN 8092:' unicode/{gensyntax.pl,unicode.syn} (./configure --prefix=/usr --disable-static --disable-doc-build --enable-default-catalog=/etc/sgml/catalog --enable-http --enable-default-search-path=/usr/share/sgml && make pkgdatadir=/usr/share/sgml/OpenSP-1.5.2 && make check) 2>&1 | tee -a ../opensp.out (make pkgdatadir=/usr/share/sgml/OpenSP-1.5.2 install) 2>&1 | tee -a ../opensp.out ln -sf onsgmls /usr/bin/nsgmls ln -sf osgmlnorm /usr/bin/sgmlnorm ln -sf ospam /usr/bin/spam ln -sf ospcat /usr/bin/spcat ln -sf ospent /usr/bin/spent ln -sf osx /usr/bin/sx ln -sf osx /usr/bin/sgml2xml ln -sf libosp.so /usr/lib/libsp.so cd .. grep opensp.out -ie '^make.*error' rm -rf OpenSP-1.5.2 #OpenJade ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/openjade/openjade-1.3.2.tar.gz 7df692e3186109cc00db6825b777201e tar -xzf openjade-1.3.2.tar.gz cd openjade-1.3.2 (./configure --prefix=/usr --enable-http --disable-static --enable-default-catalog=/etc/sgml/catalog --enable-default-search-path=/usr/share/sgml --datadir=/usr/share/sgml/openjade-1.3.2 && make && make install && make install-man) 2>&1 | tee -a ../openjade.out ln -sf openjade /usr/bin/jade ln -sf libogrove.so /usr/lib/libgrove.so ln -sf libospgrove.so /usr/lib/libspgrove.so ln -sf libostyle.so /usr/lib/libstyle.so install -m644 dsssl/catalog /usr/share/sgml/openjade-1.3.2/ install -m644 dsssl/*.{dtd,dsl,sgm} /usr/share/sgml/openjade-1.3.2 (install-catalog --add /etc/sgml/openjade-1.3.2.cat /usr/share/sgml/openjade-1.3.2/catalog && install-catalog --add /etc/sgml/sgml-docbook.cat /etc/sgml/openjade-1.3.2.cat) 2>&1 | tee -a ../openjade.out echo "SYSTEM \"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd\" \"/usr/share/xml/docbook/xml-dtd-4.4/docbookx.dtd\"" >> /usr/share/sgml/openjade-1.3.2/catalog cd .. grep openjade.out -ie '^make.*error' || rm -rf openjade-1.3.2 #DocBook DSSSL Stylesheets ./getmd5 http://umn.dl.sourceforge.net/sourceforge/docbook/docbook-dsssl-1.79.tar.bz2 bc192d23266b9a664ca0aba4a7794c7c ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/docbook/docbook-dsssl-doc-1.79.tar.bz2 9a7b809a21ab7d2749bb328334c380f2 tar -xjf docbook-dsssl-1.79.tar.bz2 tar -xjf docbook-dsssl-doc-1.79.tar.bz2 cd docbook-dsssl-1.79 install -m755 bin/collateindex.pl /usr/bin install -m644 bin/collateindex.pl.1 /usr/share/man/man1 install -d -m755 /usr/share/sgml/docbook/dsssl-stylesheets-1.79 cp -R * /usr/share/sgml/docbook/dsssl-stylesheets-1.79 (install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat /usr/share/sgml/docbook/dsssl-stylesheets-1.79/catalog && install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat /usr/share/sgml/docbook/dsssl-stylesheets-1.79/common/catalog && install-catalog --add /etc/sgml/sgml-docbook.cat /etc/sgml/dsssl-docbook-stylesheets.cat) 2>&1 | tee -a ../db-dsssl-ss.out cd /usr/share/sgml/docbook/dsssl-stylesheets-1.79/doc/testdata (openjade -t rtf -d jtest.dsl jtest.sgm) 2>&1 | tee -a /sources/db-dsssl-ss.out (onsgmls -sv test.sgm) 2>&1 | tee -a /sources/db-dsssl-ss.out (openjade -t rtf -d /usr/share/sgml/docbook/dsssl-stylesheets-1.79/print/docbook.dsl test.sgm) 2>&1 | tee -a /sources/db-dsssl-ss.out (openjade -t sgml -d /usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/docbook.dsl test.sgm) 2>&1 | tee -a /sources/db-dsssl-ss.out cd /sources rm -rf docbook-dsssl-1.79 #DocBook-utils ./getmd5 http://sources-redhat.mirrors.redwire.net/docbook-tools/new-trials/SOURCES/docbook-utils-0.6.14.tar.gz 6b41b18c365c01f225bc417cf632d81c tar -xzf docbook-utils-0.6.14.tar.gz cd docbook-utils-0.6.14 sed -i 's:/html::' doc/HTML/Makefile.in (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../db-utils.out for doctype in html ps dvi man pdf rtf tex texi txt; do ln -s docbook2$doctype /usr/bin/db2$doctype done cd .. grep db-utils.out -ie '^make.*error' || rm -rf docbook-utils-0.6.14 #DocBook XML DTD-4.4 mkdir dbxml cd dbxml ../getmd5 http://www.docbook.org/xml/4.4/docbook-xml-4.4.zip cbb04e9a700955d88c50962ef22c1634 unzip docbook-xml-4.4.zip mv docbook-xml-4.4.zip .. install -d -m755 /usr/share/xml/docbook/xml-dtd-4.4 install -d -m755 /etc/xml chown -R root:root . cp -af docbook.cat *.dtd ent/ *.mod /usr/share/xml/docbook/xml-dtd-4.4 if [ ! -e /etc/xml/docbook ]; then xmlcatalog --noout --create /etc/xml/docbook fi xmlcatalog --noout --add "public" "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" /etc/xml/docbook xmlcatalog --noout --add "public" "-//OASIS//DTD DocBook XML CALS Table Model V4.4//EN" "file:///usr/share/xml/docbook/xml-dtd-4.4/calstblx.dtd" /etc/xml/docbook xmlcatalog --noout --add "public" "-//OASIS//DTD XML Exchange Table Model 19990315//EN" "file:///usr/share/xml/docbook/xml-dtd-4.4/soextblx.dtd" /etc/xml/docbook xmlcatalog --noout --add "public" "-//OASIS//ELEMENTS DocBook XML Information Pool V4.4//EN" "file:///usr/share/xml/docbook/xml-dtd-4.4/dbpoolx.mod" /etc/xml/docbook xmlcatalog --noout --add "public" "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.4//EN" "file:///usr/share/xml/docbook/xml-dtd-4.4/dbhierx.mod" /etc/xml/docbook xmlcatalog --noout --add "public" "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.4//EN" "file:///usr/share/xml/docbook/xml-dtd-4.4/htmltblx.mod" /etc/xml/docbook xmlcatalog --noout --add "public" "-//OASIS//ENTITIES DocBook XML Notations V4.4//EN" "file:///usr/share/xml/docbook/xml-dtd-4.4/dbnotnx.mod" /etc/xml/docbook xmlcatalog --noout --add "public" "-//OASIS//ENTITIES DocBook XML Character Entities V4.4//EN" "file:///usr/share/xml/docbook/xml-dtd-4.4/dbcentx.mod" /etc/xml/docbook xmlcatalog --noout --add "public" "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.4//EN" "file:///usr/share/xml/docbook/xml-dtd-4.4/dbgenent.mod" /etc/xml/docbook xmlcatalog --noout --add "rewriteSystem" "http://www.oasis-open.org/docbook/xml/4.4" "file:///usr/share/xml/docbook/xml-dtd-4.4" /etc/xml/docbook xmlcatalog --noout --add "rewriteURI" "http://www.oasis-open.org/docbook/xml/4.4" "file:///usr/share/xml/docbook/xml-dtd-4.4" /etc/xml/docbook if [ ! -e /etc/xml/catalog ]; then xmlcatalog --noout --create /etc/xml/catalog fi xmlcatalog --noout --add "delegatePublic" "-//OASIS//ENTITIES DocBook XML" "file:///etc/xml/docbook" /etc/xml/catalog xmlcatalog --noout --add "delegatePublic" "-//OASIS//DTD DocBook XML" "file:///etc/xml/docbook" /etc/xml/catalog xmlcatalog --noout --add "delegateSystem" "http://www.oasis-open.org/docbook/" "file:///etc/xml/docbook" /etc/xml/catalog xmlcatalog --noout --add "delegateURI" "http://www.oasis-open.org/docbook/" "file:///etc/xml/docbook" /etc/xml/catalog for DTDVERSION in 4.1.2 4.2 4.3; do xmlcatalog --noout --add "public" "-//OASIS//DTD DocBook XML V$DTDVERSION//EN" "http://www.oasis-open.org/docbook/xml/$DTDVERSION/docbookx.dtd" /etc/xml/docbook xmlcatalog --noout --add "rewriteSystem" "http://www.oasis-open.org/docbook/xml/$DTDVERSION" "file:///usr/share/xml/docbook/xml-dtd-4.4" /etc/xml/docbook xmlcatalog --noout --add "rewriteURI" "http://www.oasis-open.org/docbook/xml/$DTDVERSION" "file:///usr/share/xml/docbook/xml-dtd-4.4" /etc/xml/docbook xmlcatalog --noout --add "delegateSystem" "http://www.oasis-open.org/docbook/xml/$DTDVERSION/" "file:///etc/xml/docbook" /etc/xml/catalog xmlcatalog --noout --add "delegateURI" "http://www.oasis-open.org/docbook/xml/$DTDVERSION/" "file:///etc/xml/docbook" /etc/xml/catalog done cd .. rm -rf dbxml #DocBook XSL Stylesheets ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.69.1.tar.bz2 6ebd29a67f2dcc3f2220f475ee6f6552 wget http://superb-east.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-doc-1.69.1.tar.bz2 tar -xjf docbook-xsl-1.69.1.tar.bz2 tar -xjf docbook-xsl-doc-1.69.1.tar.bz2 cd docbook-xsl-1.69.1 install -m755 -d /usr/share/xml/docbook/xsl-stylesheets-1.69.1 cp -R VERSION common eclipse extensions fo html htmlhelp images javahelp lib manpages params profiling slides template website xhtml /usr/share/xml/docbook/xsl-stylesheets-1.69.1 install -m755 -d /usr/share/doc/docbook-xsl-1.69.1 cp -R doc/* /usr/share/doc/docbook-xsl-1.69.1 if [ ! -d /etc/xml ]; then install -m755 -d /etc/xml fi if [ ! -f /etc/xml/catalog ]; then xmlcatalog --noout --create /etc/xml/catalog fi xmlcatalog --noout --add "rewriteSystem" "http://docbook.sourceforge.net/release/xsl/1.69.1" "/usr/share/xml/docbook/xsl-stylesheets-1.69.1" /etc/xml/catalog xmlcatalog --noout --add "rewriteURI" "http://docbook.sourceforge.net/release/xsl/1.69.1" "/usr/share/xml/docbook/xsl-stylesheets-1.69.1" /etc/xml/catalog xmlcatalog --noout --add "rewriteSystem" "http://docbook.sourceforge.net/release/xsl/current" "/usr/share/xml/docbook/xsl-stylesheets-1.69.1" /etc/xml/catalog xmlcatalog --noout --add "rewriteURI" "http://docbook.sourceforge.net/release/xsl/current" "/usr/share/xml/docbook/xsl-stylesheets-1.69.1" /etc/xml/catalog cd .. rm -rf docbook-xsl-1.69.1 #tetex ./getmd5 http://www.tug.org/ftp/tex-archive/systems/unix/teTeX/3.0/distrib/tetex-src-3.0.tar.gz 944a4641e79e61043fdaf8f38ecbb4b3 ./getmd5 http://www.tug.org/ftp/tex-archive/systems/unix/teTeX/3.0/distrib/tetex-texmf-3.0.tar.gz ed9d30d9162d16ac8d5065cde6e0f6fa ./getmd5 http://www.tug.org/ftp/tex-archive/systems/unix/teTeX/3.0/distrib/tetex-texmfsrc-3.0.tar.gz 66c32a11964a49982ba2a32d3bbfe7f5 ./getmd5 http://anduin.linuxfromscratch.org/sources/BLFS/svn/t/tetex-cm-super.tar.bz2 d7c89fcb35f625b02853a0881a4ec760 tar -xzf tetex-src-3.0.tar.gz cd tetex-src-3.0 install -d -m755 /usr/share/texmf gzip -dc ../tetex-texmf-3.0.tar.gz | (umask 0; cd /usr/share/texmf; tar -xf -) gzip -dc ../tetex-texmfsrc-3.0.tar.gz | (umask 0; cd /usr/share/texmf; tar -xf -) (./configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --without-texinfo --with-x=no --with-system-ncurses --with-system-zlib --disable-a4 && make all && make check) 2>&1 | tee -a ../tetex.out (make install && texconfig-sys dvips paper letter && texconfig-sys font rw) 2>&1 | tee -a ../tetex.out tar -xf ../tetex-cm-super.tar.bz2 FONTDIR=$(kpsewhich --expand-var '$TEXMFMAIN') mkdir -p $FONTDIR/fonts/afm/public/cm-super $FONTDIR/fonts/type1/public/cm-super $FONTDIR/fonts/enc/dvips/cm-super $FONTDIR/fonts/map/dvips/cm-super cp cm-super/pfb/*.pfb $FONTDIR/fonts/type1/public/cm-super/ gunzip cm-super/afm/* cp cm-super/afm/*.afm $FONTDIR/fonts/afm/public/cm-super/ cp cm-super/dvips/*.enc $FONTDIR/fonts/enc/dvips/cm-super/ cp cm-super/dvips/*.map $FONTDIR/fonts/map/dvips/cm-super/ cat >> $FONTDIR/web2c/updmap.cfg << "EOF" MixedMap cm-super-t1.map MixedMap cm-super-t2a.map MixedMap cm-super-t2b.map MixedMap cm-super-t2c.map MixedMap cm-super-ts1.map MixedMap cm-super-x2.map EOF (mktexlsr && updmap-sys) 2>&1 | tee -a ../tetex.out unset FONTDIR cd .. grep tetex.out -ie '^make.*error' rm -rf tetex-src-3.0 #JadeTeX ./getmd5 http://umn.dl.sourceforge.net/sourceforge/jadetex/jadetex-3.13.tar.gz 634dfc172fbf66a6976e2c2c60e2d198 wget http://anduin.linuxfromscratch.org/sources/BLFS/svn/j/jadetex-3.13-demo.tar.bz2 tar -xzf jadetex-3.13.tar.gz tar -xjf jadetex-3.13-demo.tar.bz2 cd jadetex-3.13 sed -i.orig -e "s/original texmf.cnf/modified texmf.cnf/" -e "s/memory hog.../&\npool_size.context = 750000/" $(kpsewhich texmf.cnf) cat >> $(kpsewhich texmf.cnf) << "EOF" % The following 3 sections added for JadeTeX % latex settings main_memory.latex = 1100000 param_size.latex = 1500 stack_size.latex = 1500 hash_extra.latex = 15000 string_vacancies.latex = 45000 pool_free.latex = 47500 nest_size.latex = 500 save_size.latex = 5000 pool_size.latex = 500000 max_strings.latex = 55000 font_mem_size.latex= 400000 % jadetex settings main_memory.jadetex = 1500000 param_size.jadetex = 1500 stack_size.jadetex = 1500 hash_extra.jadetex = 50000 string_vacancies.jadetex = 45000 pool_free.jadetex = 47500 nest_size.jadetex = 500 save_size.jadetex = 5000 pool_size.jadetex = 500000 max_strings.jadetex = 55000 % pdfjadetex settings main_memory.pdfjadetex = 2500000 param_size.pdfjadetex = 1500 stack_size.pdfjadetex = 1500 hash_extra.pdfjadetex = 50000 string_vacancies.pdfjadetex = 45000 pool_free.pdfjadetex = 47500 nest_size.pdfjadetex = 500 save_size.pdfjadetex = 5000 pool_size.pdfjadetex = 500000 max_strings.pdfjadetex = 55000 EOF LATEX_FMT_DIR="$(kpsewhich -expand-var '$TEXMFSYSVAR')/web2c" mv $(kpsewhich latex.fmt) $(kpsewhich latex.fmt).orig mv $LATEX_FMT_DIR/latex.log $LATEX_FMT_DIR/latex.log.orig (fmtutil-sys --byfmt latex) 2>&1 | tee -a ../jadetex.out (make) 2>&1 | tee -a ../jadetex.out install -m755 -d $(kpsewhich -expand-var '$TEXMFLOCAL')/tex/jadetex/config install -m644 dsssl.def jadetex.ltx *.sty $(kpsewhich -expand-var '$TEXMFLOCAL')/tex/jadetex install -m644 {,pdf}jadetex.ini $(kpsewhich -expand-var '$TEXMFLOCAL')/tex/jadetex/config FMTUTIL_CNF="$(kpsewhich fmtutil.cnf)" mv $FMTUTIL_CNF $FMTUTIL_CNF.orig cat $FMTUTIL_CNF.orig - >> $FMTUTIL_CNF << "EOF" # JadeTeX formats: jadetex etex - "&latex" jadetex.ini pdfjadetex pdfetex - "&pdflatex" pdfjadetex.ini EOF mv $(kpsewhich -expand-var '$TEXMFMAIN')/ls-R $(kpsewhich -expand-var '$TEXMFMAIN')/ls-R.orig mv $(kpsewhich -expand-var '$TEXMFSYSVAR')/ls-R $(kpsewhich -expand-var '$TEXMFSYSVAR')/ls-R.orig (mktexlsr && fmtutil-sys --byfmt jadetex && fmtutil-sys --byfmt pdfjadetex && mktexlsr) 2>&1 | tee -a ../jadetex.out ln -sf etex /usr/bin/jadetex ln -sf pdfetex /usr/bin/pdfjadetex install -m644 -D index.html /usr/share/doc/jadetex-3.13/index.html install -m644 *.1 /usr/share/man/man1 (cd demo && openjade -t tex -d demo.dsl demo.sgm && jadetex demo.tex && pdfjadetex demo.tex && ls -lrt && cd ..) 2>&1 | tee -a ../jadetex.out cd .. grep jadetex.out -ie '^make.*error' || rm -rf jadetex-3.13 #pkg-config ./getmd5 http://pkgconfig.freedesktop.org/releases/pkg-config-0.20.tar.gz fb42402593e4198bc252ab248dd4158b tar -xzf pkg-config-0.20.tar.gz cd pkg-config-0.20 (./configure --prefix=/usr && make && make check) 2>&1 | tee -a ../pkg-config.out (make install) 2>&1 | tee -a ../pkg-config.out cd .. grep pkg-config.out -ie '^make.*error' || rm -rf pkg-config-0.20 #FreeType ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/freetype/freetype-2.1.10.tar.bz2 a4012e7d1f6400df44a16743b11b8423 wget http://superb-east.dl.sourceforge.net/sourceforge/freetype/freetype-doc-2.1.10.tar.bz2 tar -xjf freetype-2.1.10.tar.bz2 cd freetype-2.1.10 tar xf ../freetype-doc-2.1.10.tar.bz2 --strip-components=2 -C docs sed -i -r 's:.*(#.*BYTE.*) .*:\1:' include/freetype/config/ftoption.h (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../freetype.out install -m755 -d /usr/share/doc/freetype-2.1.10 cp -R docs/* /usr/share/doc/freetype-2.1.10 cd .. grep freetype.out -ie '^make.*error' || rm -rf freetype-2.1.10 #Fontconfig ./getmd5 http://fontconfig.org/release/fontconfig-2.3.2.tar.gz 7354f9f125ea78a8f2851cb9c31d4866 tar -xzf fontconfig-2.3.2.tar.gz cd fontconfig-2.3.2 (./configure --prefix=/usr --sysconfdir=/etc --without-add-fonts --with-docdir=/usr/share/doc/fontconfig-2.3.2 && make && make check) 2>&1 | tee -a ../fontconfig.out (make install) 2>&1 | tee -a ../fontconfig.out install -m644 doc/*.3 /usr/share/man/man3 install -m644 doc/*.5 /usr/share/man/man5 install -m755 -d /usr/share/doc/fontconfig-2.3.2/fontconfig-devel install -m644 doc/*.{html,pdf,txt} /usr/share/doc/fontconfig-2.3.2 install -m644 doc/fontconfig-devel/* /usr/share/doc/fontconfig-2.3.2/fontconfig-devel cd .. grep fontconfig.out -ie '^make.*error' || rm -rf fontconfig-2.3.2 #libdrm ./getmd5 http://dri.freedesktop.org/libdrm/libdrm-2.0.1.tar.gz 1f4d59a4c77756b364c6f4e5665f9c27 tar -xzf libdrm-2.0.1.tar.gz cd libdrm-2.0.1 (./configure --prefix=/usr/X11R6 && make && make install) 2>&1 | tee -a ../libdrm.out cd .. grep libdrm.out -ie '^make.*error' || rm -rf libdrm-2.0.1 #Xorg - 7.1 cat > xorg-compile << "EOF" #!/bin/bash -e if [ -f "$1" ]; then pl=$1 shift else pl=$(ls | grep -ve '.patch$') fi for package in $pl ; do packagedir=$(echo $package | sed 's/.tar.bz2//') tar -xf $package cd $packagedir for pf in `ls ../$packagedir*.patch 2>/dev/null`; do patch -Np1 -i $pf done ./configure $XORG_CONFIG if [ "$1" != "proto" ]; then make fi make install if [ "$1" = "lib" ]; then ldconfig fi cd .. rm -rf $packagedir mv $packagedir* .. done 2>&1 | tee -a ../xorg-compile.log EOF chmod 700 xorg-compile mkdir xc cd xc export XORG_PREFIX="/usr/X11R6" export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc --localstatedir=/var --datadir=$XORG_PREFIX/lib" echo /usr/X11R6/lib/ >> /etc/ld.so.conf #Xorg Protocol Headers ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/bigreqsproto-1.0.2.tar.bz2 95c29d9d10bf2868996c0c47a3b9a8dc ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/dmxproto-2.2.2.tar.bz2 d80acad88411e7944b9b085463d53302 ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/fontcacheproto-0.1.2.tar.bz2 60df6b625074a9790e28543dcea71651 ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/fontsproto-2.0.2.tar.bz2 c946f166107b016a21cc7a02e1132724 ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/glproto-1.4.7.tar.bz2 e4b1c5a323149d97f29434e5ace921c8 ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/inputproto-1.3.2.tar.bz2 e0b7df0fc69f0712aa7f2161faa94e1d ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/kbproto-1.0.2.tar.bz2 3ae193c317a3621966c3c53d83a254f4 ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/printproto-1.0.3.tar.bz2 0f4e7982c6d4ec3b2cf38502dd1293a3 ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/randrproto-1.1.2.tar.bz2 8e72173ad7aa8abe218e6e7fe0903842 ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/recordproto-1.13.2.tar.bz2 0ed4706564a34fc2aff724aa16d3ff00 ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/renderproto-0.9.2.tar.bz2 28fbe8a59ebd31f098b90ec64f3d133a ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/resourceproto-1.0.2.tar.bz2 b823b314e37eb19dae1f297951d2e933 ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/scrnsaverproto-1.1.0.tar.bz2 5d551850e6f4acdf49a13f4eb3a5bbfa ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/trapproto-3.4.3.tar.bz2 3b713239e5e6b269b31cb665563358df ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/videoproto-2.2.2.tar.bz2 44292d74a9a3c94b1ecb9d77a0da83e8 ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/xcmiscproto-1.1.2.tar.bz2 fde0b050901f024b19159cdacdcfbd20 ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/xextproto-7.0.2.tar.bz2 242388ab65dde3a3dd313eeee265e429 ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/xf86bigfontproto-1.1.2.tar.bz2 a318c1e86123832d7b0c95fc7d47ef35 ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/xf86dgaproto-2.0.2.tar.bz2 461aa291a23e8cf387b70f3efa71b05c ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/xf86driproto-2.0.3.tar.bz2 e4a282cfd708b8892fca4425fee9cd7b ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/xf86miscproto-0.9.2.tar.bz2 acae8edeb05a406f7f60bcbb218a8f1d ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/xf86rushproto-1.1.2.tar.bz2 b6a96ffdae084e27487a58314008b000 ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/xf86vidmodeproto-2.2.2.tar.bz2 f00844a63d6e76b69eb0eb5e41eed843 ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/xineramaproto-1.1.2.tar.bz2 1cc292c562962ad0ad3a253cae68c632 ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/xproto-7.0.5.tar.bz2 7ebf5b845817a867f2e4bdcabc33a257 ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/xproxymanagementprotocol-1.0.2.tar.bz2 d28007a50976204960fc1fc07b4ca093 ../xorg-compile proto #Xorg Utilities ../getmd5 http://xorg.freedesktop.org/releases/individual/util/xorg-cf-files-1.0.2.tar.bz2 5f62dd5545b782c74f6e4e70d0e6552c ../getmd5 http://xorg.freedesktop.org/releases/individual/util/imake-1.0.2.tar.bz2 02fea5a02ba2857c7d81820c8e8b8e6f ../getmd5 http://xorg.freedesktop.org/releases/individual/util/gccmakedep-1.0.2.tar.bz2 b533c0771dbbaf9b041ff35bb941d3a2 ../getmd5 http://xorg.freedesktop.org/releases/individual/util/lndir-1.0.1.tar.bz2 e274ea9f55dfd62afa0a7b1e1ab4ba96 ../getmd5 http://xorg.freedesktop.org/releases/individual/util/makedepend-1.0.0.tar.bz2 fa194caa4f059f5621ed2c5a51efb4d0 ../getmd5 http://xorg.freedesktop.org/releases/individual/util/util-macros-1.0.2.tar.bz2 8391f7eb3bf563f5314b0119e870727a tar -xjf xorg-cf-files-1.0.2.tar.bz2 cd xorg-cf-files-1.0.2 sed -i "s@/usr/X11R6@$XORG_PREFIX@" X11.tmpl (./configure $XORG_CONFIG --with-config-dir=$XORG_PREFIX/lib/X11/config && make install) 2>&1 | tee -a ../../xorg-compile.log cd .. rm -rf xorg-cf-files-1.0.2 mv xorg-cf-files-1.0.2.tar.bz2 .. tar -xjf imake-1.0.2.tar.bz2 cd imake-1.0.2 (./configure $XORG_CONFIG --with-config-dir=$XORG_PREFIX/lib/X11/config && make && make install) 2>&1 | tee -a ../../xorg-compile.log cd .. rm -rf imake-1.0.2 mv imake-1.0.2.tar.bz2 .. ../xorg-compile #Xorg Libraries ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/xtrans-1.0.0.tar.bz2 da1628280f945e8d48a4c2e80ee28873 ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXau-1.0.1.tar.bz2 8b233b9c645ab34d29da512c9a8f1f6e ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXdmcp-1.0.1.tar.bz2 43d660d47ed81a3d852bcc42524e62d4 ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libX11-1.0.1.tar.bz2 58f0537f21183e27149cf906a1b6bef9 ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXext-1.0.1.tar.bz2 d7f3f752d291865108689c889d160ea0 ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libICE-1.0.1.tar.bz2 34cc902e97eb52d0f99874d7f0e2796e ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libSM-1.0.1.tar.bz2 f15315b5ed2fde4dc6688ef004a34e8a ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXt-1.0.2.tar.bz2 f217b63e03a1ac9b155ee9a56ac47aea ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXmu-1.0.1.tar.bz2 93ff54222a564464bd1208b1947f2f21 ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXpm-3.5.5.tar.bz2 2b897e6a41dafa0716c197df308fbf0c ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXp-1.0.0.tar.bz2 0f4ac39108c1ae8c443cdfac259b58fa ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXrender-0.9.1.tar.bz2 220e15bb5e0ae23b6af99dd2e0b70a7f ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libfontenc-1.0.2.tar.bz2 40d7d3718492cacfb0e0e8b9e1a0e251 ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libxkbfile-1.0.3.tar.bz2 70f579c157f229a79e95f04eb0f583e0 ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXprintUtil-1.0.1.tar.bz2 22584f1aab1deba253949b562d1f0f45 ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXv-1.0.1.tar.bz2 148ef85597a152009109fb3b06680dde ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libdmx-1.0.2.tar.bz2 4d866967210d06098fc9f302ed4c79b1 ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libFS-1.0.0.tar.bz2 dfd5de47e232db0891410bec8ee6707b ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/liblbxutil-1.0.1.tar.bz2 b73cbd5bc3cd268722a624a5f1318fde ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXaw-1.0.2.tar.bz2 27dc85f84ac78eb619f72a0805a323f4 ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXcursor-1.1.6.tar.bz2 1ac683d0ff22f1b6b21cbe5ead1d7899 ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXfont-1.1.0.tar.bz2 d40f0da6cb2b3017ec0f5c44d5dc9821 ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXfontcache-1.0.2.tar.bz2 837d84166ae0dad5dc896f24206a92a5 ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXft-2.1.8.2.tar.bz2 03f27b29ec11c8f9436c63fde62367b9 ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXi-1.0.1.tar.bz2 0efe6758c98257edb009551eac53fcfb ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXinerama-1.0.1.tar.bz2 eae38dd6017dca95a756553995467aac ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libxkbui-1.0.2.tar.bz2 1143e456f7429e18e88f2eadb2f2b6b1 ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXprintAppUtil-1.0.1.tar.bz2 d2de510570aa6714681109b2ba178365 ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXrandr-1.1.1.tar.bz2 000374333b982ff13b30c2fc49ac41f8 ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXres-1.0.1.tar.bz2 0bd0bfbbc093871f2bf395e2f101d334 ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXScrnSaver-1.1.0.tar.bz2 a4d66a0ef8b306b34a63e12cd0f17bcf ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXTrap-1.0.0.tar.bz2 1e2d966b5b2b89910e418bb0f78e10de ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXtst-1.0.1.tar.bz2 0ba567531ff9ac1ff9da0653f8a161b3 ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXvMC-1.0.2.tar.bz2 a6cc02c3c7879d9e36d5de24a5471c78 ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXxf86dga-1.0.1.tar.bz2 5b0e752c71a23e9d1290cad44a7c7c75 ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXxf86misc-1.0.1.tar.bz2 7cee0df63903cef7f7a3fb68cdd99eef ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXxf86vm-1.0.1.tar.bz2 8de1ca6c55aaad7d8cae19b4f0b3da32 wget http://www.linuxfromscratch.org/patches/blfs/svn/libX11-1.0.1-setuid-1.patch wget http://www.linuxfromscratch.org/patches/blfs/svn/xtrans-1.0.0-setuid-1.patch ../xorg-compile xtrans-1.0.0.tar.bz2 lib ../xorg-compile libXau-1.0.1.tar.bz2 lib ../xorg-compile libXdmcp-1.0.1.tar.bz2 lib ../xorg-compile libX11-1.0.1.tar.bz2 lib ../xorg-compile libXext-1.0.1.tar.bz2 lib ../xorg-compile libICE-1.0.1.tar.bz2 lib ../xorg-compile libSM-1.0.1.tar.bz2 lib ../xorg-compile libXt-1.0.2.tar.bz2 lib ../xorg-compile libXmu-1.0.1.tar.bz2 lib ../xorg-compile libXpm-3.5.5.tar.bz2 lib ../xorg-compile libXp-1.0.0.tar.bz2 lib ../xorg-compile libXrender-0.9.1.tar.bz2 lib ../xorg-compile libfontenc-1.0.2.tar.bz2 lib ../xorg-compile libxkbfile-1.0.3.tar.bz2 lib ../xorg-compile libXprintUtil-1.0.1.tar.bz2 lib ../xorg-compile libXv-1.0.1.tar.bz2 lib ../xorg-compile libdmx-1.0.2.tar.bz2 lib ../xorg-compile libFS-1.0.0.tar.bz2 lib ../xorg-compile liblbxutil-1.0.1.tar.bz2 lib ../xorg-compile libXaw-1.0.2.tar.bz2 lib #due to a poor labeling of Xfixes as experimental, we omitted it - and libXcursor needs it ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/fixesproto-4.0.tar.bz2 8b298cc3424597f8138c7faf7763dce9 ../xorg-compile fixesproto-4.0.tar.bz2 proto ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXfixes-4.0.1.tar.bz2 c20eba4be3e8379fd774e999b65d3f90 ../xorg-compile libXfixes-4.0.1.tar.bz2 lib ../xorg-compile lib ln -s $XORG_PREFIX/lib/X11 /usr/lib/X11 ln -s $XORG_PREFIX/include/X11 /usr/include/X11 #Xbitmaps ../getmd5 http://xorg.freedesktop.org/releases/individual/data/xbitmaps-1.0.1.tar.bz2 b28a9840cde3c38d7c09716372fea257 ../xorg-compile proto #MesaLib cd .. ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/mesa3d/MesaLib-6.5.tar.bz2 61beda590bfc5b4a12e979d5f2d70d7a wget http://superb-east.dl.sourceforge.net/sourceforge/mesa3d/MesaDemos-6.5.tar.bz2 wget http://superb-east.dl.sourceforge.net/sourceforge/mesa3d/MesaGLUT-6.5.tar.bz2 tar -xjf MesaLib-6.5.tar.bz2 tar -xjf MesaDemos-6.5.tar.bz2 tar -xjf MesaGLUT-6.5.tar.bz2 cd Mesa-6.5 find . -type f -exec sed -i "s@/usr/X11R6@$XORG_PREFIX@g" {} \; sed -i 's@lib/modules@lib/X11/modules@' src/glx/x11/dri_glx.c sed -i 's@lib/modules@lib/X11/modules@' src/mesa/drivers/dri/Makefile.template (make linux-dri && bin/installmesa $XORG_PREFIX) 2>&1 | tee -a ../Mesa.out mkdir -p $XORG_PREFIX/lib/X11/modules/dri install -m755 lib/*dri* $XORG_PREFIX/lib/X11/modules/dri sed -i 's@-l$(GLUT_LIB)@@g' configs/default (cd progs/xdemos && make PROGS='glxinfo glxgears' && install -m755 glxinfo glxgears $XORG_PREFIX/bin) 2>&1 | tee -a ../Mesa.out ln -s $XORG_PREFIX/include/GL /usr/include cd .. grep Mesa.out -ie '^make.*error' #Xorg Applications cd xc ../getmd5 http://xorg.freedesktop.org/releases/individual/app/appres-1.0.0.tar.bz2 4e03ac5f315213d5c70d603fc92cb0a1 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/bdftopcf-1.0.0.tar.bz2 41f4ac6760ef5e671ba8d4baa7236f12 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/beforelight-1.0.1.tar.bz2 d41bc287039503ece2b91373ef92f7a8 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/bitmap-1.0.2.tar.bz2 78e8ab5c1830e2cdfbff7a952162a5a7 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/editres-1.0.1.tar.bz2 a9bbacc163767f79dfc08a8ebe05490b ../getmd5 http://xorg.freedesktop.org/releases/individual/app/fonttosfnt-1.0.1.tar.bz2 efe452ec264ee0fddbe9300873164dec ../getmd5 http://xorg.freedesktop.org/releases/individual/app/fslsfonts-1.0.1.tar.bz2 c7b2f8a938749d41dc86db6bd1e6a4ca ../getmd5 http://xorg.freedesktop.org/releases/individual/app/fstobdf-1.0.2.tar.bz2 99144743ab3cbb9cf37090fdc9e747db ../getmd5 http://xorg.freedesktop.org/releases/individual/app/iceauth-1.0.1.tar.bz2 50df9a5718b3cb6544a1c9f38b392b09 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/ico-1.0.1.tar.bz2 8c04178b7f78014567b6b8b2b7d7a10f ../getmd5 http://xorg.freedesktop.org/releases/individual/app/lbxproxy-1.0.1.tar.bz2 9d5045a5c76b1fe360221b967a5aa0e9 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/listres-1.0.1.tar.bz2 827a1ac5adf9aadd0c13b54a897e297b ../getmd5 http://xorg.freedesktop.org/releases/individual/app/mkcfm-1.0.1.tar.bz2 d5d560ea77541591d2a6656991286457 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/mkfontdir-1.0.2.tar.bz2 94da9dcd2447300e8fdada896d7ed433 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/mkfontscale-1.0.1.tar.bz2 1e74e68eb9e8e91c6b7b615d80dc5ee1 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/oclock-1.0.1.tar.bz2 91f49547f9ed3cd0137c8b7c3183e360 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/proxymngr-1.0.1.tar.bz2 aad44d0f65b97fd6d564b1d2ae510bb1 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/rgb-1.0.1.tar.bz2 255222b3ab3af671289a6b4844e9f393 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/rstart-1.0.2.tar.bz2 99aea04a27197056368a4431f30f9cdb ../getmd5 http://xorg.freedesktop.org/releases/individual/app/sessreg-1.0.0.tar.bz2 15c8032bbf5197e8fb5d071d9500a880 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/setxkbmap-1.0.2.tar.bz2 0316b2ab6fea88ed76d231c3b47544d8 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/showfont-1.0.1.tar.bz2 339b2faf1ca5114fda414338e15b6e21 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/smproxy-1.0.2.tar.bz2 31da204a0255ba8c6a65386e65dc1c90 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/twm-1.0.1.tar.bz2 b1a8abf4cd9d8d7269e6627c62ffee0f ../getmd5 http://xorg.freedesktop.org/releases/individual/app/viewres-1.0.1.tar.bz2 cdbed540daf7975b56000420c9aa5bf9 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/x11perf-1.4.1.tar.bz2 fd06c8b8e3572a0e14af65a49e0dd7d1 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xauth-1.0.1.tar.bz2 ed848ebba8d3a1ca727b80d6b89dc3c3 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xbiff-1.0.1.tar.bz2 404f5add4537d22dd109c33e518a5190 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xcalc-1.0.1.tar.bz2 07b948cf671fde88df1a59bfb0cab3b8 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xclipboard-1.0.1.tar.bz2 2c6ecedb10dc51adbb64c95f22fd99c2 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xclock-1.0.2.tar.bz2 6b930326f71993fb54b7203902b387cd ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xcmsdb-1.0.1.tar.bz2 8579d5f50ba7f0c4a5bf16b9670fea01 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xconsole-1.0.2.tar.bz2 8678ddd23573022d68dcd883ae239be8 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xcursorgen-1.0.1.tar.bz2 39e1e62f5bd92603b0230b8b948c2fc4 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xdbedizzy-1.0.1.tar.bz2 ea4b09e575caaf6996196c3cfd2532cd ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xditview-1.0.1.tar.bz2 e9a7192ef29453b8c810ddd556a463c0 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xdm-1.0.4.tar.bz2 aeed9697f27c0730a550a1ac7efdc189 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xdpyinfo-1.0.1.tar.bz2 84cc4798fe62c1d8c67c3f38e8158f70 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xdriinfo-1.0.1.tar.bz2 be3c5a9b242a57226b5bb5f22ec341ca ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xedit-1.0.2.tar.bz2 c56160e93c24ddf17e69891ed50deb72 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xev-1.0.1.tar.bz2 533a399580d6797faf1a7416fc2c653f ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xeyes-1.0.1.tar.bz2 033f14f7c4e30d1f4edbb22d5ef86883 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xf86dga-1.0.1.tar.bz2 0ee496f720bc98fee43108c88bb7f398 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xfd-1.0.1.tar.bz2 c72abd90f50ef459bc14b39ec9fcc7f8 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xfindproxy-1.0.1.tar.bz2 5df3a162429bdd6ce5aea3ca5f6365b8 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xfontsel-1.0.1.tar.bz2 f7b240af84fa8f68f5074b3f0ae479e5 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xfs-1.0.2.tar.bz2 6745fe95dd43863c60f6583500f0e115 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xfsinfo-1.0.1.tar.bz2 e98b18fbce1261de30b1de819d86f48a ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xfwp-1.0.1.tar.bz2 0dbde8b3867032b9e4a383d46dfd7e48 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xgamma-1.0.1.tar.bz2 45d8fa3c85d4bfda87251798fd605a45 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xgc-1.0.1.tar.bz2 72fc8dd68f585000c0a542eba0264571 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xhost-1.0.1.tar.bz2 5300c9aafa58878c8f6e85379d5c199c ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xinit-1.0.2.tar.bz2 d591fafe69b57969b0521c461073a01f ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xkbcomp-1.0.2.tar.bz2 8b22a5e6d780ec70bf98d31cdbd65658 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xkbevd-1.0.2.tar.bz2 68f2a143716c23b566f8509d9498f516 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xkbprint-1.0.1.tar.bz2 b98ae2d8b21c545b7b322d0b302efefa ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xkbutils-1.0.1.tar.bz2 84396a3dd75337caaae29d8fa5616fb1 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xkill-1.0.1.tar.bz2 f66d76abb0f75514ca32272e23cca757 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xload-1.0.1.tar.bz2 ba013813f9c21eb015559466f8d02a44 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xlogo-1.0.1.tar.bz2 4c5482552f38a7d42398a694cc9b2ee6 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xlsatoms-1.0.1.tar.bz2 69adcda848479acc3b82b3928812d191 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xlsclients-1.0.1.tar.bz2 44473b880d26bfbe8b3d4d72b183cba7 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xlsfonts-1.0.1.tar.bz2 ca9c6c88d0b83360b7b5092615fbf591 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xmag-1.0.1.tar.bz2 058d168d1c7c991b8d12158433ea5f63 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xman-1.0.2.tar.bz2 855f2dbfa2aff58b8b9cd6a1c1120fad ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xmessage-1.0.1.tar.bz2 b3674c3a00a089764d86aa94e257ccec ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xmodmap-1.0.1.tar.bz2 66b8f25e9152e20849638d93a550ff7f ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xmore-1.0.1.tar.bz2 d36e918dce779a9d207b7a266f4e87c8 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xphelloworld-1.0.1.tar.bz2 5c7fd1e35dd63089229e357c46e4f407 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xplsprinters-1.0.1.tar.bz2 c1558277f4a010473ff0744845c49537 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xpr-1.0.1.tar.bz2 01c0a14755fc91369e8c011c9f881d5d ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xprehashprinterlist-1.0.1.tar.bz2 99ee20a9af25375895f5d7ebc1004163 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xprop-1.0.1.tar.bz2 9f2cb01264bcaa0455d8b06be6215744 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xrandr-1.0.2.tar.bz2 7157156809c7f432ae401859b0465ffe ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xrdb-1.0.2.tar.bz2 de1fd8e2169e813e43f43ced5837b989 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xrefresh-1.0.2.tar.bz2 1228f890f86148e4e6ae22aa73118cbb ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xrx-1.0.1.tar.bz2 5f65e24f8a225e255beb2059e33d6b37 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xset-1.0.2.tar.bz2 1b781a0802c7b8fb9619a6665607b3f0 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xsetmode-1.0.0.tar.bz2 d074e79d380b031d2f60e4cd56538c93 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xsetpointer-1.0.0.tar.bz2 c94ea103e27e370e4e5030e50c5d5d69 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xsetroot-1.0.1.tar.bz2 fc7eeb7130bb54345671a9dbaab567ac ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xsm-1.0.1.tar.bz2 cce867ff7d0df9c0b9e682591779952c ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xstdcmap-1.0.1.tar.bz2 86ab558441edfb86f853639e4290a754 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xtrap-1.0.2.tar.bz2 97a62a011a11f03b46d72851aa298fa8 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xvidtune-1.0.1.tar.bz2 e0744594f4e5969b20df28d897781318 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xvinfo-1.0.1.tar.bz2 0a5bd8e43de6eb8ff5b5bc673204401d ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xwd-1.0.1.tar.bz2 911addfb7fa402217ddac63e5c1d97c7 ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xwininfo-1.0.2.tar.bz2 e5dbc8866a55958297f5f38205b6be1e ../getmd5 http://xorg.freedesktop.org/releases/individual/app/xwud-1.0.1.tar.bz2 6e3c5d0297d88e890b6f5df31f73dd60 wget http://www.linuxfromscratch.org/patches/blfs/svn/xdm-1.0.4-setuid-1.patch wget http://www.linuxfromscratch.org/patches/blfs/svn/xf86dga-1.0.1-setuid-1.patch wget http://www.linuxfromscratch.org/patches/blfs/svn/xinit-1.0.2-setuid-1.patch wget http://www.linuxfromscratch.org/patches/blfs/svn/xload-1.0.1-setuid-1.patch ../xorg-compile #Xorg Data ../getmd5 http://xorg.freedesktop.org/releases/individual/data/xcursor-themes-1.0.1.tar.bz2 014bad415e64c49994679cdb71a97e37 ../getmd5 http://xorg.freedesktop.org/releases/individual/data/xkbdata-1.0.1.tar.bz2 9bf179be9a195953dc5f4c15e23ab7f0 ../xorg-compile #Xorg Fonts ../getmd5 http://xorg.freedesktop.org/releases/individual/font/encodings-1.0.0.tar.bz2 c6d3fe9d5359349ceeab657f236c04d5 ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-util-1.0.1.tar.bz2 b81535f78fe05732931f02841e5ca37b ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-adobe-100dpi-1.0.0.tar.bz2 443acfe70e26716282f9068730fe92c4 ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-adobe-75dpi-1.0.0.tar.bz2 813b5d3723c84388a938ab6732e1329c ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-adobe-utopia-100dpi-1.0.1.tar.bz2 5d28a30efef966f8dbbaff9a6619f01a ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-adobe-utopia-75dpi-1.0.1.tar.bz2 dd912284e4750023f9682812532fa033 ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-adobe-utopia-type1-1.0.1.tar.bz2 aa7ff4bd20b961afda9c15d103b972a5 ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-alias-1.0.1.tar.bz2 c4776b6f0f2ecdb7670b6fe64b5d2a2d ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-arabic-misc-1.0.0.tar.bz2 81595016e2ff859716fc256ebb136ba6 ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-bh-100dpi-1.0.0.tar.bz2 e5592de74a5c04e3a2608800dd079197 ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-bh-75dpi-1.0.0.tar.bz2 6e51cd02f4ce32e1393e34ab17a9b211 ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-bh-lucidatypewriter-100dpi-1.0.0.tar.bz2 c44d3f730564da465993e9292a33c235 ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-bh-lucidatypewriter-75dpi-1.0.0.tar.bz2 fdd9be5b9db94ef363a33e39b7977e2b ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-bh-ttf-1.0.0.tar.bz2 ad43cf739b3d46ba1e7dc778a0608a52 ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-bh-type1-1.0.0.tar.bz2 46588b22678e440741d6220bc3945cbf ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-bitstream-100dpi-1.0.0.tar.bz2 173352ddec3d26e2b91df1edcf1ae85b ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-bitstream-75dpi-1.0.0.tar.bz2 beb476657d50d07d17eef7c325a5ed08 ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-bitstream-speedo-1.0.0.tar.bz2 1399dc18aeb9571b0951d9570ea1059d ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-bitstream-type1-1.0.0.tar.bz2 6610475e2e231242f8f2122a709c3695 ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-cronyx-cyrillic-1.0.0.tar.bz2 22b451e7230b8c003cfc496ee2d360cc ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-cursor-misc-1.0.0.tar.bz2 305fa22cdfefb8f80babd711051a534b ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-daewoo-misc-1.0.0.tar.bz2 61f9eab48c619af5494d3e384d8d7d79 ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-dec-misc-1.0.0.tar.bz2 284e554db1c64fb7580a06df01444a2b ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-ibm-type1-1.0.0.tar.bz2 8e8733051371e2b51123376b49f5d3ea ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-isas-misc-1.0.0.tar.bz2 ec709a96b64b497a5cb5658c93bd38dc ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-jis-misc-1.0.0.tar.bz2 61febb49a71065723a1fba17cbf23c67 ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-micro-misc-1.0.0.tar.bz2 8c8bffd7540f05caa0dbb4e6e1d6c58e ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-misc-cyrillic-1.0.0.tar.bz2 3596907d7a2a99c81d8de99bc4552b6a ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-misc-ethiopic-1.0.0.tar.bz2 0b271fc617087d77560bdca20c0cdbb0 ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-misc-meltho-1.0.0.tar.bz2 ccb212a7badf7aefdc9f9a92af428d32 ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-misc-misc-1.0.0.tar.bz2 2a57f6188c41d4bc1b88ca3d08ad011d ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-mutt-misc-1.0.0.tar.bz2 648b409b7eb78ad1cd5f6d7fac3eef88 ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-schumacher-misc-1.0.0.tar.bz2 f1c6063d2fadc57e696a0aab69afd6e0 ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-screen-cyrillic-1.0.0.tar.bz2 aea02d9dff03e0e1a3de85364367c0c6 ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-sony-misc-1.0.0.tar.bz2 0dfddd1a946e4497f009094c0ae1bdd5 ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-sun-misc-1.0.0.tar.bz2 e17d43a7c6c0d862cfba0908ff132ffa ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-winitzki-cyrillic-1.0.0.tar.bz2 b99b02aff36a88ca3379715423c60303 ../getmd5 http://xorg.freedesktop.org/releases/individual/font/font-xfree86-type1-1.0.0.tar.bz2 e66f36a6d68203cc4cf7b56ebbb192dd ../xorg-compile encodings-1.0.0.tar.bz2 ../xorg-compile font-util-1.0.1.tar.bz2 ../xorg-compile install -d -m755 /usr/share/fonts ln -sn $XORG_PREFIX/lib/X11/fonts/OTF /usr/share/fonts/X11-OTF ln -sn $XORG_PREFIX/lib/X11/fonts/TTF /usr/share/fonts/X11-TTF #Luit cd .. ./getmd5 http://xorg.freedesktop.org/releases/individual/app/luit-1.0.1.tar.bz2 fbe44e739590d3d73f711bfc8a0e33fd wget http://www.linuxfromscratch.org/patches/blfs/svn/luit-1.0.1-race-1.patch tar -xjf luit-1.0.1.tar.bz2 cd luit-1.0.1 sed -i "s@/usr/X11R6@$XORG_PREFIX@" parser.h (patch -Np1 -i ../luit-1.0.1-race-1.patch) 2>&1 | tee -a ../luit.out (./configure $XORG_CONFIG && make && make install) 2>&1 | tee -a ../luit.out cd .. grep luit.out -ie '^make.*error' || rm -rf luit-1.0.1 #Xorg-Server #due to a poor labeling of damage, composite and evie as experimental, we omitted them - and Xorg-Server needs them cd xc ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/compositeproto-0.3.1.tar.bz2 54f1fbd567f57093df054f8440a60a5e ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/damageproto-1.0.3.tar.bz2 b3eaee9850bb23020b9ac751626c7976 ../getmd5 http://xorg.freedesktop.org/releases/individual/proto/evieext-1.0.2.tar.bz2 2507b5d0f4b2848147fbddd155aa6cfe ../xorg-compile proto ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXcomposite-0.3.tar.bz2 135d4b02d63c59178922cea8765a24c1 ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXdamage-1.0.3.tar.bz2 ff05bcad724383515cdedfe44b386653 ../getmd5 http://xorg.freedesktop.org/releases/individual/lib/libXevie-1.0.1.tar.bz2 a8d6d20ad665aefda75f6543325af72c ../xorg-compile lib cd .. ./getmd5 http://xorg.freedesktop.org/releases/individual/xserver/xorg-server-1.1.0.tar.bz2 d070c58a598fb52c5cb86344725c4ad6 wget http://www.linuxfromscratch.org/patches/blfs/svn/xorg-server-1.1.0-setuid-2.patch tar -xjf xorg-server-1.1.0.tar.bz2 cd xorg-server-1.1.0 (patch -Np1 -i ../xorg-server-1.1.0-setuid-2.patch) 2>&1 | tee -a ../xorg-server.out sed -i 's@-I$(top_builddir)/include@-I$(top_builddir)/GL/mesa/main@8' GL/glx/Makefile.in sed -i 's@-I$(top_builddir)/include@-I$(top_builddir)/GL/mesa/glapi@7' GL/glx/Makefile.in (./configure $XORG_CONFIG --with-mesa-source='/sources/Mesa-6.5' --with-fontdir=$XORG_PREFIX/lib/X11/fonts --with-module-dir=$XORG_PREFIX/lib/X11/modules --with-dri-driver-path=$XORG_PREFIX/lib/X11/modules/dri --enable-install-setuid && make && make install) 2>&1 | tee -a ../xorg-server.out cd .. grep xorg-server.out -ie '^make.*error' || (rm -rf xorg-server-1.1.0 && rm -rf Mesa-6.5) #Xorg Drivers cd xc ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-acecad-1.1.0.tar.bz2 ce0b7bec500273ad935cbfa212b8ac8a ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-aiptek-1.0.1.tar.bz2 951b2b1a270f67d28e2e89fd2b9f15ae ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-calcomp-1.1.0.tar.bz2 af13f9de2af4e1d03b2da0c037fd718a ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-citron-2.2.0.tar.bz2 1fe53cd055a69650f3c2e02377ec728c ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-digitaledge-1.1.0.tar.bz2 53461c34cc0712aacab92b820b9fcb84 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-dmc-1.1.0.tar.bz2 e1bcbdefcb839173de79aeb3cd038b77 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-dynapro-1.1.0.tar.bz2 1683178d09dfc604dde9ea2aab950a28 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-elo2300-1.1.0.tar.bz2 43885769d6f741272dda162e82902b0d ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-elographics-1.1.0.tar.bz2 ecb2bf1f800d4f5f4c295f2a0e6b1de7 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-evdev-1.1.2.tar.bz2 2932a39f080bae68bbcdc11fc125d990 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-fpit-1.1.0.tar.bz2 a31066a2076d18619ceaea67f6d89698 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-hyperpen-1.1.0.tar.bz2 1dfccb75069e61e0c6f990b47eb58c40 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-jamstudio-1.1.0.tar.bz2 a32e36a24545791a3408cdc5563b6523 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-joystick-1.1.0.tar.bz2 e0025215542c7a11c5a7f9548631dbd7 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-keyboard-1.1.0.tar.bz2 38d5eec3f6d070112986f74a4d522541 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-magellan-1.1.0.tar.bz2 0d6a81aa864ac790d9a8b517ca7016ad ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-magictouch-1.0.0.5.tar.bz2 d23f2791cd634ef85b7cc5e9da8f8407 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-microtouch-1.1.0.tar.bz2 7b3cc0330d70e7e4e07914fcb325b331 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-mouse-1.1.0.tar.bz2 7004e6901eeb624759dfe271e88ecb0a ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-mutouch-1.1.0.tar.bz2 98ae915c67cabf0e6d40a425dbdbe10b ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-palmax-1.1.0.tar.bz2 0959dbf7972dfb95f56e4bd3f56447cf ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-penmount-1.1.0.tar.bz2 aa0552fb893fd29868d6adc7b7a5d61b ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-spaceorb-1.1.0.tar.bz2 294810ca9e93c4096458c6a0f2fb5679 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-summa-1.1.0.tar.bz2 b37a432fd87bb9f46d011622d6fce6b3 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-tek4957-1.1.0.tar.bz2 be8a4bd474ad6c85b93f66dd6fcfa6ee ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-ur98-1.1.0.tar.bz2 3cf8928411458baaa9e726e51772c550 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-vmmouse-12.4.0.tar.bz2 313e403e56702f6c38d1a5c830b60dc2 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-input-void-1.1.0.tar.bz2 ea72a92d43b95f413347df96d6a73933 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-apm-1.1.1.tar.bz2 ac7e05f0dfc7e02cac0bf17b9eb89b11 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-ark-0.6.0.tar.bz2 6921479baca8f7b156029489fd335854 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-ast-0.81.0.tar.bz2 04bc08907da13612dbc4918fe54e63e3 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-ati-6.6.0.tar.bz2 fbf04977d41239d55387122a4de6bd16 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-chips-1.1.1.tar.bz2 3182d43439ca4cbf08ff9aa76990bba3 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-cirrus-1.1.0.tar.bz2 66344e315def275605dafb314ce59851 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-cyrix-1.1.0.tar.bz2 02ed7d5215610a3463a0307b30bb5425 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-dummy-0.2.0.tar.bz2 22b7cc20a33443cbd218bd2521850cfe ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-fbdev-0.3.0.tar.bz2 2472494502317c2582b90ccf64da5044 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-glint-1.1.1.tar.bz2 2cf49f701024a145bd25aff9da11d479 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-i128-1.2.0.tar.bz2 96931eb44f4b2abe283856e08cbd64ef ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-i740-1.1.0.tar.bz2 57302e225060a7286ae1a970c87a589b ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-i810-1.6.0.tar.bz2 0d3db819b9617a576927fd1aebe5ab81 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-imstt-1.1.0.tar.bz2 94853ca217238ed1f568a10cbeebe057 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-mga-1.4.1.tar.bz2 ba373233a7d13084d14046a17b02e248 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-neomagic-1.1.1.tar.bz2 7a3d3d6e60b9686d955c45d9ebbd5c1b ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-newport-0.2.0.tar.bz2 8afe984fde96bb7890711ef40a27e62f ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-nsc-2.8.1.tar.bz2 5e4cb211a02ed89e0672273f9cc8bf39 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-nv-1.1.1.tar.bz2 029366b6252340efe11d340fbf60afb8 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-rendition-4.1.0.tar.bz2 6864a3348f66bac9533b35ee2110c6e2 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-s3-0.4.1.tar.bz2 dfe47d46af2b53e43b38e2b8c730dad1 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-s3virge-1.9.1.tar.bz2 a91c73285ef67ee7cd9e2da28acb6cc4 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-savage-2.1.1.tar.bz2 6e2c7da49d311f3e9fbf12e5ba527222 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-siliconmotion-1.4.1.tar.bz2 5f160ab051b16b51cd511829bc8b8cc9 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-sis-0.9.1.tar.bz2 ada663e2c0ba297b052175675027d700 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-sisusb-0.8.1.tar.bz2 cbd669507e4aa35e468905f09b546333 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-tdfx-1.2.1.tar.bz2 7513cf373d4ddbbf93651d9ae29ac7f3 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-tga-1.1.0.tar.bz2 9eda4d4490706b2dd8f4ecdbaf779856 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-trident-1.2.1.tar.bz2 0723f8bcb2aa32c30f808e9da01fc0a0 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-tseng-1.1.0.tar.bz2 03d5ffb2fcc1cb325f3d67489dd78e59 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-v4l-0.1.1.tar.bz2 69339c38eba2cebc357d67e7a755d734 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-vesa-1.2.0.tar.bz2 e9ab966ef1e4ea863f5d3bf2573a2bac ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-vga-4.1.0.tar.bz2 b93e5fe9757db779a75cd3ce97b9613d ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-via-0.2.1.tar.bz2 7c92846dcf363204f7530fa0fa621e43 ../getmd5 http://xorg.freedesktop.org/releases/individual/driver/xf86-video-voodoo-1.1.0.tar.bz2 798c9bf902eff5ea70f047e7e056317b export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc --localstatedir=/var --datadir=$XORG_PREFIX/lib --with-xorg-module-dir=$XORG_PREFIX/lib/X11/modules" ../xorg-compile cd .. rmdir xc export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc --localstatedir=/var --datadir=$XORG_PREFIX/lib" #synaptics touchpad driver - not in BLFS-090406 wget http://web.telia.com/~u89404340/touchpad/files/synaptics-0.14.6.tar.bz2 tar -xjf synaptics-0.14.6.tar.bz2 cd synaptics-0.14.6 (make) 2>&1 | tee -a ../synaptics.out (make install) 2>&1 | tee -a ../synaptics.out cd .. grep synaptics.out -ie '^make.*error' || rm -rf synaptics-0.14.6 #xterm ./getmd5 ftp://invisible-island.net/xterm/xterm-218.tgz fdab983caae1266db713822d49628c72 tar -xzf xterm-218.tgz cd xterm-218 (./configure $XORG_CONFIG --enable-luit --with-wide-chars && make && make install && make install-ti) 2>&1 | tee -a ../xterm.out cat >> $XORG_PREFIX/lib/X11/app-defaults/XTerm << "EOF" *VT100*locale: true *VT100*faceName: Monospace *VT100*faceSize: 10 EOF cd .. grep xterm.out -ie '^make.*error' || rm -rf xterm-218 #libjpeg ./getmd5 http://www.ijg.org/files/jpegsrc.v6b.tar.gz dbd5f3b47ed13132f04c685d608a7547 tar -xzf jpegsrc.v6b.tar.gz cd jpeg-6b (./configure --prefix=/usr --enable-static --enable-shared && make && make test) 2>&1 | tee -a ../jpeg.out (make install) 2>&1 | tee -a ../jpeg.out cd .. grep jpeg.out -ie '^make.*error' || rm -rf jpeg-6b #LibTiff ./getmd5 http://libtiff.maptools.org/dl/tiff-3.8.2.tar.gz fbb6f446ea4ed18955e2714934e5b698 tar -xzf tiff-3.8.2.tar.gz cd tiff-3.8.2 (./configure --prefix=/usr && make && make check) 2>&1 | tee -a ../tiff.out (make install) 2>&1 | tee -a ../tiff.out cd .. grep tiff.out -ie '^make.*error' || rm -rf tiff-3.8.2 #giflib ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/libungif/giflib-4.1.4.tar.bz2 827d338961482a986f39c7f114531636 tar -xjf giflib-4.1.4.tar.bz2 cd giflib-4.1.4 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../giflib.out install -m755 -d /usr/share/doc/giflib-4.1.4/html install -m644 doc/*.{png,html} /usr/share/doc/giflib-4.1.4/html install -m644 doc/*.txt /usr/share/doc/giflib-4.1.4 cd .. grep giflib.out -ie '^make.*error' || rm -rf giflib-4.1.4 #Tcl ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/tcl/tcl8.4.13-src.tar.gz c6b655ad5db095ee73227113220c0523 tar -xzf tcl8.4.13-src.tar.gz cd tcl8.4.13 (cd unix && ./configure --prefix=/usr --enable-threads && make && make test) 2>&1 | tee -a ../tcl.out (cd unix && make install && make install-private-headers) 2>&1 | tee -a ../tcl.out ln -sf tclsh8.4 /usr/bin/tclsh cd .. grep tcl.out -ie '^make.*error' || rm -rf tcl8.4.13 #Tk ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/tcl/tk8.4.13-src.tar.gz 0a16d4d9398e43cbb85784c85fb807a4 tar -xzf tk8.4.13-src.tar.gz cd tk8.4.13 (cd unix && ./configure --prefix=/usr --enable-threads && make && make install && make install-private-headers) 2>&1 | tee -a ../tk.out ln -sf wish8.4 /usr/bin/wish cd .. grep tk.out -ie '^make.*error' || rm -rf tk8.4.13 #Expect - md5sum in BLFS-090406 was incorrect ./getmd5 http://expect.nist.gov/old/expect-5.43.0.tar.gz 43e1dc0e0bc9492cf2e1a6f59f276bc3 wget http://www.linuxfromscratch.org/patches/blfs/svn/expect-5.43.0-spawn-2.patch tar -xzf expect-5.43.0.tar.gz cd expect-5.43 (patch -Np1 -i ../expect-5.43.0-spawn-2.patch) 2>&1 | tee -a ../expect.out (./configure --prefix=/usr --with-tcl=/usr/lib --with-tclinclude=/usr/include --enable-shared && make && make install) 2>&1 | tee -a ../expect.out ln -sf ../libexpect5.43.a /usr/lib/expect5.43 cd .. grep expect.out -ie '^make.*error' || rm -rf expect-5.43 #DejaGnu ./getmd5 http://freshmeat.net/redir/dejagnu/12564/url_tgz/dejagnu-1.4.4.tar.gz 053f18fd5d00873de365413cab17a666 tar -xzf dejagnu-1.4.4.tar.gz cd dejagnu-1.4.4 (./configure --prefix=/usr && make && make install && make install-doc) 2>&1 | tee -a ../dejagnu.out cd .. grep dejagnu.out -ie '^make.*error' || rm -rf dejagnu-1.4.4 #GCC-3 - needed for WindowMaker ./getmd5 http://ftp.gnu.org/gnu/gcc/gcc-3.3.6/gcc-3.3.6.tar.bz2 6936616a967da5a0b46f1e7424a06414 wget http://www.linuxfromscratch.org/patches/blfs/svn/gcc-3.3.6-no_fixincludes-1.patch wget http://www.linuxfromscratch.org/patches/blfs/svn/gcc-3.3.6-linkonce-1.patch tar -xjf gcc-3.3.6.tar.bz2 cd gcc-3.3.6 (patch -Np1 -i ../gcc-3.3.6-no_fixincludes-1.patch && patch -Np1 -i ../gcc-3.3.6-linkonce-1.patch) 2>&1 | tee -a ../gcc-3.out mkdir ../gcc-build cd ../gcc-build (../gcc-3.3.6/configure --prefix=/opt/gcc-3.3.6 --enable-shared --enable-languages=c,c++ --enable-threads=posix && make bootstrap) 2>&1 | tee -a ../gcc-3.out (make -k check) 2>&1 | tee -a ../gcc-3.out (make install) 2>&1 | tee -a ../gcc-3.out mv /opt/gcc-3.3.6/lib/libstdc++.so.5* /usr/lib ln -sf /usr/lib/libstdc++.so.5.0.7 /opt/gcc-3.3.6/lib ln -sf libstdc++.so.5.0.7 /opt/gcc-3.3.6/lib/libstdc++.so.5 chown -R root:root /opt/gcc-3.3.6/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include cd .. grep gcc-3.out -ie '^make.*error' rm -rf gcc-build rm -rf gcc-3.3.6 #WindowMaker - not in BLFS-090406 wget http://windowmaker.info/pub/source/release/WindowMaker-0.92.0.tar.bz2 wget http://windowmaker.info/pub/source/release/WindowMaker-extra-0.1.tar.gz tar -xjf WindowMaker-0.92.0.tar.bz2 cd WindowMaker-0.92.0 (./configure --prefix=/usr --sysconfdir=/etc --enable-xinerama CC=/opt/gcc-3.3.6/bin/gcc) 2>&1 | tee -a ../WindowMaker.out (make) 2>&1 | tee -a ../WindowMaker.out (make install) 2>&1 | tee -a ../WindowMaker.out cd .. grep WindowMaker.out -ie '^make.*error' || rm -rf WindowMaker-0.92.0 tar -xzf WindowMaker-extra-0.1.tar.gz cd WindowMaker-extra-0.1 (./configure --prefix=/usr --sysconfdir=/etc && make install) 2>&1 | tee -a ../WindowMaker.out cd .. grep WindowMaker.out -ie '^make.*error' || rm -rf WindowMaker-extra-0.1 ldconfig #you obviously cannot configure Xorg from chroot mode, so the following must be done after installation and boot of the image cd ~ Xorg -configure X -config ~/xorg.conf.new install -m755 -D ~/xorg.conf.new /etc/X11/xorg.conf #but this you can do mkdir $XORG_PREFIX/lib/X11/twm mkdir /etc/X11 ln -st /etc/X11 $XORG_PREFIX/lib/X11/{app-defaults,twm,xkb,fs,lbxproxy,proxymngr} $XORG_PREFIX/lib/X11/{rstart,xdm,xinit,xserver,xsm} cat >> /etc/sysconfig/createfiles << "EOF" /tmp/.ICE-unix dir 1777 root root EOF cat > ~/.Xdefaults << "EOF" #ifdef COLOR *customization: -color #endif emacs*Background: DarkSlateGray emacs*Foreground: Wheat emacs*pointerColor: Orchid emacs*cursorColor: Orchid emacs*bitmapIcon: on emacs*font: fixed emacs.geometry: 80x25 Seyon.modems: /dev/modem xterm*background: Black xterm*foreground: Wheat xterm*cursorColor: Orchid xterm*reverseVideo: false xterm*scrollBar: true xterm*reverseWrap: true xterm*font: fixed xterm*fullCursor: true xterm*scrollTtyOutput: off xterm*scrollKey: on xterm*VT100.Translations: #override\n\ Prior : scroll-back(1,page)\n\ Next : scroll-forw(1,page) xterm*titleBar: false xterm_color*background: Black xterm_color*foreground: Wheat xterm_color*cursorColor: Orchid xterm_color*reverseVideo: false xterm_color*scrollBar: true xterm_color*saveLines: 5000 xterm_color*reverseWrap: true xterm_color*font: fixed xterm_color.geometry: 80x25+20+20 xterm_color*fullCursor: true xterm_color*scrollTtyOutput: off xterm_color*scrollKey: on xterm_color*VT100.Translations: #override\n\ Prior : scroll-back(1,page)\n\ Next : scroll-forw(1,page) xterm_color*titleBar: false EOF cp ~/.Xdefaults /etc/skel chmod 600 /etc/skel/.Xdefaults #this is for later too startx #do this after you start wmaker the first time mkdir ~/GNUstep/Applications ln -s /usr/share/WPrefs ~/GNUstep/Applications/WPrefs.app cp -a ~/GNUstep /etc/skel #libxslt ./getmd5 http://ftp.gnome.org/pub/gnome/sources/libxslt/1.1/libxslt-1.1.17.tar.gz fde6a7a93c0eb14cba628692fa3a1000 tar -xzf libxslt-1.1.17.tar.gz cd libxslt-1.1.17 (./configure --prefix=/usr && make && make check) 2>&1 | tee -a ../libxslt.out (make install) 2>&1 | tee -a ../libxslt.out cd .. grep libxslt.out -ie '^make.*error' rm -rf libxslt-1.1.17 #ScrollKeeper ./getmd5 http://ftp.gnome.org/pub/gnome/sources/scrollkeeper/0.3/scrollkeeper-0.3.14.tar.bz2 b175e582a6cec3e50a9de73a5bb7455a tar -xjf scrollkeeper-0.3.14.tar.bz2 cd scrollkeeper-0.3.14 (./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static --with-omfdirs=/usr/share/omf && make && make install) 2>&1 | tee -a ../scrollkeeper.out cd .. grep scrollkeeper.out -ie '^make.*error' || rm -rf scrollkeeper-0.3.14 #GTK-Doc ./getmd5 http://ftp.gnome.org/pub/gnome/sources/gtk-doc/1.6/gtk-doc-1.6.tar.bz2 09c7a89efff2e0bbaba02a12bff58dfd tar -xjf gtk-doc-1.6.tar.bz2 cd gtk-doc-1.6 (./configure --prefix=/usr --localstatedir=/var/lib && make && make install) 2>&1 | tee -a ../gtk-doc.out cd .. grep gtk-doc.out -ie '^make.*error' || rm -rf gtk-doc-1.6 #Glib-2 ./getmd5 http://ftp.gnome.org/pub/gnome/sources/glib/2.10/glib-2.10.3.tar.bz2 87206e721c12d185d17dd9ecd7e30369 tar -xjf glib-2.10.3.tar.bz2 cd glib-2.10.3 (./configure --prefix=/usr --enable-gtk-doc && make && make check) 2>&1 | tee -a ../glib-2.out (make install) 2>&1 | tee -a ../glib-2.out cd .. grep glib-2.out -ie '^make.*error' || rm -rf glib-2.10.3 #ATK ./getmd5 http://ftp.gnome.org/pub/gnome/sources/atk/1.11/atk-1.11.4.tar.bz2 2f7132e46a62a2586545bca40eeeef39 tar -xjf atk-1.11.4.tar.bz2 cd atk-1.11.4 (./configure --prefix=/usr --enable-gtk-doc && make && make install) 2>&1 | tee -a ../atk.out cd .. grep atk.out -ie '^make.*error' || rm -rf atk-1.11.4 #cairo ./getmd5 http://cairographics.org/releases/cairo-1.0.4.tar.gz 9002b0e69b3f94831a22d3f2a7735ce2 tar -xzf cairo-1.0.4.tar.gz cd cairo-1.0.4 sed -i -e 's/type == GLITZ/color.fourcc == GLITZ/' -e 's/FORMAT_TYPE_COLOR/FOURCC_RGB/' src/cairo-glitz-surface.c (./configure --prefix=/usr --enable-gtk-doc && make && make check) 2>&1 | tee -a ../cairo.out (make install) 2>&1 | tee -a ../cairo.out cd .. grep cairo.out -ie '^make.*error' rm -rf cairo-1.0.4 #Pango ./getmd5 http://ftp.gnome.org/pub/gnome/sources/pango/1.12/pango-1.12.3.tar.bz2 c8178e11a895166d86990bb2c38d831b tar -xjf pango-1.12.3.tar.bz2 cd pango-1.12.3 (./configure --prefix=/usr --sysconfdir=/etc --enable-gtk-doc && make && make check) 2>&1 | tee -a ../pango.out (make install) 2>&1 | tee -a ../pango.out cd .. grep pango.out -ie '^make.*error' rm -rf pango-1.12.3 #GTK+2 ./getmd5 http://ftp.gnome.org/pub/gnome/sources/gtk+/2.8/gtk+-2.8.20.tar.bz2 74e7ca98194f1fadfe906e66d763d05d tar -xjf gtk+-2.8.20.tar.bz2 cd gtk+-2.8.20 (./configure --prefix=/usr --sysconfdir=/etc --enable-gtk-doc && make && make check) 2>&1 | tee -a ../gtk+-2.out (make -k check) 2>&1 | tee -a ../gtk+-2.out (make install) 2>&1 | tee -a ../gtk+-2.out install -m755 -d /usr/share/doc/gtk+-2.8.20/{faq,tutorial} cp -R docs/faq/html/* /usr/share/doc/gtk+-2.8.20/faq cp -R docs/tutorial/html/* /usr/share/doc/gtk+-2.8.20/tutorial cd .. grep gtk+-2.out -ie '^make.*error' rm -rf gtk+-2.8.20 #little cms ./getmd5 http://www.littlecms.com/lcms-1.15.tar.gz 76c921973fdea4f880944a024197f924 tar -xzf lcms-1.15.tar.gz cd lcms-1.15 (./configure --prefix=/usr && make && make check) 2>&1 | tee -a ../lcms.out (make install) 2>&1 | tee -a ../lcms.out install -m755 -d /usr/share/doc/lcms-1.15 install -m644 README.1ST doc/* /usr/share/doc/lcms-1.15 cd .. grep lcms.out -ie '^make.*error' || rm -rf lcms-1.15 #libmng ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/libmng/libmng-1.0.9.tar.gz ff1205ef70855a75c098ea09690413c6 tar -xzf libmng-1.0.9.tar.gz cd libmng-1.0.9 cp makefiles/makefile.linux Makefile (make && make prefix=/usr install) 2>&1 | tee -a ../libmng.out install -m644 doc/man/*.3 /usr/share/man/man3 install -m644 doc/man/*.5 /usr/share/man/man5 install -m755 -d /usr/share/doc/libmng-1.0.9 install -m644 doc/*.{png,txt} /usr/share/doc/libmng-1.0.9 cd .. grep libmng.out -ie '^make.*error' rm -rf libmng-1.0.9 #Qt ./getmd5 http://ftp.silug.org/mirrors/ftp.trolltech.com/qt/source/qt-x11-free-3.3.6.tar.bz2 dc1384c03ac08af21f6fefab32d982cf tar -xjf qt-x11-free-3.3.6.tar.bz2 cd qt-x11-free-3.3.6 sed -i -e 's:$(QTDIR)/include:&/qt:' -e 's:$(QTDIR)/lib:&/qt:' mkspecs/linux*/qmake.conf bash export PATH=$PWD/bin:$PATH export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH (./configure -prefix /usr -docdir /usr/share/doc/qt -headerdir /usr/include/qt -plugindir /usr/lib/qt/plugins -datadir /usr/share/qt -translationdir /usr/share/qt/translations -sysconfdir /etc/qt -qt-gif -system-zlib -system-libpng -system-libjpeg -system-libmng -plugin-imgfmt-png -plugin-imgfmt-jpeg -plugin-imgfmt-mng -no-exceptions -thread -tablet) 2>&1 | tee -a ../qt.out find -type f -name Makefile | xargs sed -i "s@-Wl,-rpath,/usr/lib@@g" (make) 2>&1 | tee -a ../qt.out exit (make install) 2>&1 | tee -a ../qt.out ln -sf libqt-mt.so /usr/lib/libqt.so cp -r doc/man /usr/share cp -r examples /usr/share/doc/qt cd .. grep qt.out -ie '^make.*error' || rm -rf qt-x11-free-3.3.6 #GLib-1 ./getmd5 http://gd.tuwien.ac.at/graphics/gimp/gtk/v1.2/glib-1.2.10.tar.gz 6fe30dad87c77b91b632def29dd69ef9 wget http://www.linuxfromscratch.org/patches/blfs/svn/glib-1.2.10-gcc34-1.patch tar -xzf glib-1.2.10.tar.gz cd glib-1.2.10 (patch -Np1 -i ../glib-1.2.10-gcc34-1.patch) 2>&1 | tee -a ../glib-1.out (./configure --prefix=/usr && make && make check) 2>&1 | tee -a ../glib-1.out (make install) 2>&1 | tee -a ../glib-1.out chmod 755 /usr/lib/libgmodule-1.2.so.0.0.10 cd .. grep glib-1.out -ie '^make.*error' || rm -rf glib-1.2.10 #GTK+1 ./getmd5 http://gd.tuwien.ac.at/graphics/gimp/gtk/v1.2/gtk+-1.2.10.tar.gz 4d5cb2fc7fb7830e4af9747a36bfce20 tar -xzf gtk+-1.2.10.tar.gz cd gtk+-1.2.10 (./configure --prefix=/usr --sysconfdir=/etc && make && make install) 2>&1 | tee -a ../gtk+-1.out install -m755 -d /usr/share/doc/gtk+-1.2.10/{html,text} install -m644 docs/html/* /usr/share/doc/gtk+-1.2.10/html install -m644 docs/text/* /usr/share/doc/gtk+-1.2.10/text cd .. grep gtk+-1.out -ie '^make.*error' || rm -rf gtk+-1.2.10 #ESP Ghostscript ./getmd5 http://ftp.easysw.com/pub/ghostscript/8.15.2/espgs-8.15.2-source.tar.bz2 66180d4c0aa44c4c51ea58e13b08f2ae ./getmd5 http://anduin.linuxfromscratch.org/sources/BLFS/svn/g/ghostscript-fonts-std-8.11.tar.gz 6865682b095f8c4500c54b285ff05ef6 ./getmd5 http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz 33457d3f37de7ef03d2eea05a9e6aa4f tar -xjf espgs-8.15.2-source.tar.bz2 cd espgs-8.15.2 sed -i "s/bbox.dev$/x11.dev/" Makefile.in (./configure --prefix=/usr --enable-threads --without-omni && make && make install) 2>&1 | tee -a ../espgs.out install -d /usr/share/doc/espgs-8.15.2 ln -s ../../ghostscript/8.15/doc /usr/share/doc/espgs-8.15.2 for INSTFILE in `ls doc`; do if [ ! -f /usr/share/doc/espgs-8.15.2/$INSTFILE ]; then install -m644 doc/$INSTFILE /usr/share/doc/espgs-8.15.2/ fi done (make CFLAGS_SO='-fPIC $(ACDEFS)' so && make soinstall) 2>&1 | tee -a ../espgs.out install -d -m755 /usr/include/ps install -m644 src/*.h /usr/include/ps ln -s ps /usr/include/ghostscript tar -xf ../ghostscript-fonts-std-8.11.tar.gz -C /usr/share/ghostscript tar -xf ../gnu-gs-fonts-other-6.0.tar.gz -C /usr/share/ghostscript chown root:root /usr/share/ghostscript/fonts/* cd .. grep espgs.out -ie '^make.*error' || rm -rf espgs-8.15.2 #JDK wget http://192.18.108.205/ECom/EComTicketServlet/BEGIN04854C3B784551A64AB9ECEBA24FB08F/-2147483648/1674237123/1/753626/753374/1674237123/2ts+/westCoastFSEND/jdk-1.5.0_08-oth-JPR/jdk-1.5.0_08-oth-JPR:4/jdk-1_5_0_08-linux-i586.bin -O jdk-1_5_0_08-linux-i586.bin ./getmd5 http://www.java.net/download/tiger/tiger_u7/jdk-1_5_0_07-fcs-src-b03-jrl-03_may_2006.jar a111ed35f21a2f71422ade4c931249e6 ./getmd5 http://www.java.net/download/tiger/tiger_u7/jdk-1_5_0_07-fcs-bin-b03-03_may_2006.jar 8e4de82c323fcf42a04e1eb667941052 ./getmd5 http://www.java.net/download/tiger/tiger_u7/jdk-1_5_0_07-mozilla_headers-b03-unix-03_may_2006.jar ac3d0196f437260c2bdc30326af3fc94 wget http://anduin.linuxfromscratch.org/sources/BLFS/svn/j/jdk-1.5.0_07-gcc4-1.patch wget http://anduin.linuxfromscratch.org/sources/BLFS/svn/j/jdk-1.5.0_07-motif_fixes-1.patch wget http://anduin.linuxfromscratch.org/sources/BLFS/svn/j/jdk-1.5.0_07-nptl-1.patch wget http://anduin.linuxfromscratch.org/sources/BLFS/svn/j/jdk-1.5.0_07-remove_broken_demo-1.patch wget http://anduin.linuxfromscratch.org/sources/BLFS/svn/j/jdk-1.5.0_07-remove_debug_image-1.patch wget http://anduin.linuxfromscratch.org/sources/BLFS/svn/j/jdk-1.5.0_07-remove_fixed_paths-1.patch wget http://anduin.linuxfromscratch.org/sources/BLFS/svn/j/jdk-1.5.0_07-static_cxx-1.patch wget http://192.18.108.139/ECom/EComTicketServlet/BEGIN9FAE8710772BC809C98975A2C3F96CC1/-2147483648/1674248331/1/531806/531794/1674248331/2ts+/westCoastFSEND/jdk-1.5.0-doc-oth-JPR/jdk-1.5.0-doc-oth-JPR:1/jdk-1_5_0-doc.zip -O jdk-1_5_0-doc.zip cp jdk-1_5_0_08-linux-i586.bin jdk-mod.bin sed -i "s:^PATH=.*::" jdk-mod.bin chmod +x jdk-mod.bin ./jdk-mod.bin cd jdk1.5.0_08 install -d /opt/jdk/jdk-precompiled-1.5.0_08 mv * /opt/jdk/jdk-precompiled-1.5.0_08 chown -R root:root /opt/jdk/jdk-precompiled-1.5.0_08 ln -sf motif21/libmawt.so /opt/jdk/jdk-precompiled-1.5.0_08/jre/lib/i386/ cd .. ln -nsf jdk-precompiled-1.5.0_08 /opt/jdk/jdk cat > /etc/profile.d/jdk.sh << "EOF" # Begin /etc/profile.d/jdk.sh # Set JAVA_HOME directory JAVA_HOME=/opt/jdk/jdk export JAVA_HOME # Adjust PATH export PATH=$PATH:${JAVA_HOME}/bin # Auto Java Classpath Updating # Create symlinks to this directory for auto classpath setting AUTO_CLASSPATH_DIR=/usr/lib/classpath if [ -z ${CLASSPATH} ]; then CLASSPATH=.:${AUTO_CLASSPATH_DIR} else CLASSPATH="${CLASSPATH}:.:${AUTO_CLASSPATH_DIR}" fi # Check for empty AUTO_CLASSPATH_DIR ls ${AUTO_CLASSPATH_DIR}/*.jar &> /dev/null && for i in ${AUTO_CLASSPATH_DIR}/*.jar do CLASSPATH=${CLASSPATH}:"${i}" done export CLASSPATH # End /etc/profile.d/jdk.sh EOF #remember to ln -s $JAVA_HOME/jre/plugin/i?86/ns7/ browser-plugin-directory cd /usr/share/doc mkdir jdk-1_5_0 cd jdk-1_5_0 unzip /sources/jdk-1_5_0-doc.zip cd /sources rm -rf jdk1.5.0_08/ rm jdk-mod.bin . /etc/profile.d/jdk.sh #emacs ./getmd5 http://ftp.gnu.org/pub/gnu/emacs/emacs-21.4a.tar.gz 8f9d97cbd126121bd5d97e5e31168a87 tar -xzf emacs-21.4a.tar.gz cd emacs-21.4 (./configure --prefix=/usr --libexecdir=/usr/lib && make bootstrap && make install) 2>&1 | tee -a ../emacs.out cd .. grep emacs.out -ie '^make.*error' || rm -rf emacs-21.4 #Guile ./getmd5 http://ftp.gnu.org/pub/gnu/guile/guile-1.6.7.tar.gz c2ff2a2231f0cbb2e838dd8701a587c5 wget http://www.linuxfromscratch.org/patches/blfs/svn/guile-1.6.7-gcc4-1.patch wget http://www.linuxfromscratch.org/patches/blfs/svn/guile-1.6.7-slib-1.patch tar -xzf guile-1.6.7.tar.gz cd guile-1.6.7 (patch -Np1 -i ../guile-1.6.7-gcc4-1.patch && patch -Np1 -i ../guile-1.6.7-slib-1.patch) 2>&1 | tee -a ../guile.out (./configure --prefix=/usr --with-threads && make) 2>&1 | tee -a ../guile.out (for DIRNAME in goops r5rs ref tutorial ; do make -k -C doc/$DIRNAME pdf ps html ; done && makeinfo --plaintext -o doc/goops/goops.txt doc/goops/goops.texi && makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi && makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi && makeinfo --plaintext -o doc/tutorial/guile-tut.txt doc/tutorial/guile-tut.texi) 2>&1 | tee -a ../guile.out (make check) 2>&1 | tee -a ../guile.out (make install) 2>&1 | tee -a ../guile.out find examples -name "Makefile*" -exec rm {} \; install -m755 -d /usr/share/doc/guile-1.6.7 cp -R examples /usr/share/doc/guile-1.6.7 for DIRNAME in goops r5rs ref tutorial ; do install -m755 -d /usr/share/doc/guile-1.6.7/$DIRNAME/html install -m644 doc/$DIRNAME/*.{pdf,ps,dvi,txt} /usr/share/doc/guile-1.6.7/$DIRNAME if [ -d doc/$DIRNAME/$DIRNAME.html ]; then install -m644 doc/$DIRNAME/$DIRNAME.html/* /usr/share/doc/guile-1.6.7/$DIRNAME/html fi done install -m644 doc/goops/hierarchy.{eps,png} /usr/share/doc/guile-1.6.7/goops install -m644 doc/ref/guile.html/* /usr/share/doc/guile-1.6.7/ref/html install -m644 doc/tutorial/guile-tut.html/* /usr/share/doc/guile-1.6.7/tutorial/html cd .. grep guile.out -ie '^make.*error' rm -rf guile-1.6.7 find /usr/share/doc/guile-1.6.7/ -name '*.dvi' -exec rm {} \; find /usr/share/doc/guile-1.6.7/ -name '*.pdf' -exec rm {} \; find /usr/share/doc/guile-1.6.7/ -name '*.ps' -exec rm {} \; #SWIG - not in BLFS-090406 wget http://superb-east.dl.sourceforge.net/sourceforge/swig/swig-1.3.29.tar.gz tar -xzf swig-1.3.29.tar.gz cd swig-1.3.29 (./configure) 2>&1 | tee -a ../swig.out (make && make -k check) 2>&1 | tee -a ../swig.out (make install) 2>&1 | tee -a ../swig.out cd .. grep swig.out -ie '^make.*error' rm -rf swig-1.3.29 #Graphviz ./getmd5 http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-2.8.tar.gz ca921b4a9bcd86da4a1092bb17a57d83 tar -xzf graphviz-2.8.tar.gz cd graphviz-2.8 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../graphviz.out ln -s /usr/share/graphviz/doc /usr/share/doc/graphviz-2.8 cd .. grep graphviz.out -ie '^make.*error' || rm -rf graphviz-2.8 #Doxygen ./getmd5 http://ftp.stack.nl/pub/users/dimitri/doxygen-1.4.6.src.tar.gz ebf11130bec7987e9b69b1e0301d151a tar -xzf doxygen-1.4.6.src.tar.gz cd doxygen-1.4.6 #this fix allows doxywizard to find qt include files sed -i.orig -e 's%\(\.\./\.\./src\)%\1 /usr/include/qt%' addon/doxywizard/doxywizard.pro.in export QTDIR=/usr rm src/unistd.h (./configure --prefix /usr --docdir /usr/share/doc --with-doxywizard) 2>&1 | tee -a ../doxygen.out (make && make install && make install_docs) 2>&1 | tee -a ../doxygen.out cd .. grep doxygen.out -ie '^make.*error' || rm -rf doxygen-1.4.6 #iptables ./getmd5 http://www.netfilter.org/projects/iptables/files/iptables-1.3.5.tar.bz2 00fb916fa8040ca992a5ace56d905ea5 tar -xjf iptables-1.3.5.tar.bz2 cd iptables-1.3.5 (make PREFIX=/usr LIBDIR=/lib BINDIR=/sbin && make PREFIX=/usr LIBDIR=/lib BINDIR=/sbin install) 2>&1 | tee -a ../iptables.out cd .. grep iptables.out -ie '^make.*error' || rm -rf iptables-1.3.5 #libusb ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/libusb/libusb-0.1.12.tar.gz caf182cbc7565dac0fd72155919672e6 tar -xzf libusb-0.1.12.tar.gz cd libusb-0.1.12 (./configure --prefix=/usr --disable-build-docs && make && make -k check) 2>&1 | tee -a ../libusb.out (make install) 2>&1 | tee -a ../libusb.out cat > /etc/udev/rules.d/23-usb.rules << "EOF" # Set group ownership for raw USB devices SUBSYSTEM=="usb_device", GROUP="usb" EOF cd .. grep libusb.out -ie '^make.*error' rm -rf libusb-0.1.12 #CURL ./getmd5 http://curl.haxx.se/download/curl-7.15.3.tar.bz2 d71b2ee8febfde2c7dc30a43638ec0d9 tar -xjf curl-7.15.3.tar.bz2 cd curl-7.15.3 (./configure --prefix=/usr && make && make check) 2>&1 | tee -a ../curl.out (make install) 2>&1 | tee -a ../curl.out find docs -name "Makefile*" -o -name "*.1" -o -name "*.3" | xargs rm install -d -m755 /usr/share/doc/curl-7.15.3 cp -R docs/* /usr/share/doc/curl-7.15.3 cd .. grep curl.out -ie '^make.*error' || rm -rf curl-7.15.3 #GnuPG ./getmd5 http://public.ftp.planetmirror.com/pub/gnupg/gnupg-1.4.3.tar.bz2 d237d8fe1c4afa379f56dbda0e0b40e4 tar -xjf gnupg-1.4.3.tar.bz2 cd gnupg-1.4.3 (./configure --prefix=/usr --libexecdir=/usr/lib && make && make -C doc html && makeinfo --plaintext -o doc/gpg.txt doc/gpg.texi && makeinfo --plaintext -o doc/gpgv.txt doc/gpgv.texi && make check) 2>&1 | tee -a ../gnupg.out (make install) 2>&1 | tee -a ../gnupg.out chmod 4755 /usr/bin/gpg install -m755 -d /usr/share/doc/gnupg-1.4.3 mv /usr/share/gnupg/{FAQ,faq.html} /usr/share/doc/gnupg-1.4.3 install -m644 doc/{highlights-1.4.txt,OpenPGP,samplekeys.asc,DETAILS,*.texi} /usr/share/doc/gnupg-1.4.3 cp -R doc/gpg{,v}.html /usr/share/doc/gnupg-1.4.3 cd .. grep gnupg.out -ie '^make.*error' || rm -rf gnupg-1.4.3 #Stunnel ./getmd5 http://www.stunnel.org/download/stunnel/src/stunnel-4.15.tar.gz 2c00153ad099a5f9c5609e8d1dbbe470 tar -xzf stunnel-4.15.tar.gz cd stunnel-4.15 groupadd -g 51 stunnel useradd -c "Stunnel Daemon" -d /var/lib/stunnel -g stunnel -s /bin/false -u 51 stunnel install -m 1770 -o stunnel -g stunnel -d /var/lib/stunnel/run sed -i -e 's|nogroup|stunnel|' -e 's|$(prefix)/var/lib|$(localstatedir)|' tools/Makefile.in sed -i 's|doc/stunnel|&-$(VERSION)|' {,doc/,tools/}Makefile.in (./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib --disable-libwrap && make && make install) 2>&1 | tee -a ../stunnel.out #note: you must recreate the /etc/stunnel/stunnel.pem file before using stunnel cat >/etc/stunnel/stunnel.conf << "EOF" && # File: /etc/stunnel/stunnel.conf pid = /run/stunnel.pid chroot = /var/lib/stunnel client = no setuid = stunnel setgid = stunnel EOF chmod 644 /etc/stunnel/stunnel.conf cd .. grep stunnel.out -ie '^make.*error' || rm -rf stunnel-4.15 #NSS ./getmd5 http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_11_RTM/src/nss-3.11.tar.gz 9be73bd73e361e5e36edf77f456fa20a wget http://www.linuxfromscratch.org/patches/blfs/svn/nss-3.11-fedora_fixes-1.patch tar -xzf nss-3.11.tar.gz cd nss-3.11 bash export WORKINGDIR=$PWD export BUILD_OPT=1 (patch -Np1 -i ../nss-3.11-fedora_fixes-1.patch) 2>&1 | tee -a ../nss.out #note change in path here and below left out of BLFS-090406 (cd mozilla/security/nss && make nss_build_all) 2>&1 | tee -a ../nss.out export NSS_LINUXDIR=$(basename `ls -d $WORKINGDIR/mozilla/dist/Linux*`) bash export DOMSUF=local export PATH=$PATH:$WORKINGDIR/mozilla/dist/$NSS_LINUXDIR/bin export TEST_RESULTSDIR=$WORKINGDIR/mozilla/tests_results/security (cd mozilla/security/nss/tests && sed -i 's/gmake/make/' common/init.sh && ./all.sh && grep Passed $TEST_RESULTSDIR/$(hostname).1/results.html | wc -l) 2>&1 | tee -a ../nss.out exit #here as well cd mozilla install -m755 nsprpub/$NSS_LINUXDIR/config/nspr-config security/nss/cmd/config/nss-config /usr/bin install -m755 -d /usr/lib/pkgconfig install -m644 nsprpub/lib/pkgconfig/nspr.pc security/nss/lib/pkgconfig/nss.pc /usr/lib/pkgconfig cd dist install -m755 $NSS_LINUXDIR/lib/*.so /usr/lib install -m644 $NSS_LINUXDIR/lib/{*.chk,libcrmf.a} /usr/lib install -m755 -d /usr/include/{nss,nspr} install -m644 {public,private}/nss/* /usr/include/nss cp -RL $NSS_LINUXDIR/include/* /usr/include/nspr chmod 644 /usr/include/nspr/prvrsion.h exit cd .. grep nss.out -ie '^make.*error' || rm -rf nss-3.11 #tcsh ./getmd5 http://gd.tuwien.ac.at/utils/shells/tcsh/tcsh-6.14.00.tar.gz 353d1bb7d2741bf8de602c7b6f0efd79 wget http://www.linuxfromscratch.org/patches/blfs/svn/tcsh-6.14.00-colorls_compat-1.patch tar -xzf tcsh-6.14.00.tar.gz cd tcsh-6.14.00 (patch -Np1 -i ../tcsh-6.14.00-colorls_compat-1.patch) 2>&1 | tee -a ../tcsh.out (./configure --prefix=/usr --bindir=/bin && make && sh ./tcsh.man2html && make install && make install.man) 2>&1 | tee -a ../tcsh.out ln -sf tcsh /bin/csh ln -sf tcsh.1 /usr/man/man1/csh.1 install -m755 -d /usr/share/doc/tcsh-6.14.00/html install -m644 tcsh.html/* /usr/share/doc/tcsh-6.14.00/html install -m644 FAQ /usr/share/doc/tcsh-6.14.00 cat >> /etc/shells << "EOF" /bin/tcsh /bin/csh EOF cd .. grep tcsh.out -ie '^make.*error' rm -rf tcsh-6.14.00 #libIDL ./getmd5 http://ftp.gnome.org/pub/gnome/sources/libIDL/0.8/libIDL-0.8.7.tar.bz2 53a3874beb42ddfd9a5030047a0db740 tar -xjf libIDL-0.8.7.tar.bz2 cd libIDL-0.8.7 (./configure --prefix=/usr && make && make html && (makeinfo --plaintext libIDL2.texi >libIDL2.txt) && make install) 2>&1 | tee -a ../libIDL.out install -m755 -d /usr/share/doc/libIDL-0.8.7/html install -m644 libIDL2.txt README /usr/share/doc/libIDL-0.8.7 install -m644 libIDL2.html/* /usr/share/doc/libIDL-0.8.7/html cd .. grep libIDL.out -ie '^make.*error' || rm -rf libIDL-0.8.7 #SeaMonkey ./getmd5 http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/1.0.1/seamonkey-1.0.1.source.tar.bz2 6921464b5251cafd529c04c2b9f98d5f wget http://www.linuxfromscratch.org/patches/blfs/svn/seamonkey-1.0.1-system_nss-1.patch ./getmd5 http://www.mozilla-enigmail.org/downloads/src/enigmail-0.94.0.tar.gz d326c302c1d2d68217fffcaa01ca7632 tar -xjf seamonkey-1.0.1.source.tar.bz2 cd mozilla cat > .mozconfig << "EOF" mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../seamonkey-build ac_add_options --enable-application=suite ac_add_options --prefix=/usr ac_add_options --with-system-zlib ac_add_options --with-system-png ac_add_options --with-system-jpeg ac_add_options --enable-system-cairo ac_add_options --enable-canvas ac_add_options --enable-strip ac_add_options --disable-tests ac_add_options --disable-installer ac_add_options --disable-accessibility ac_add_options --enable-svg ac_add_options --enable-ldap ac_add_options --enable-calendar ac_add_options --with-system-nspr ac_add_options --with-system-nss ac_add_options --enable-xinerama EOF (patch -Np1 -i ../seamonkey-1.0.1-system_nss-1.patch) 2>&1 | tee -a ../seamonkey.out (make -f client.mk build) 2>&1 | tee -a ../seamonkey.out tar -xf ../enigmail-0.94.0.tar.gz -C mailnews/extensions (pushd mailnews/extensions/enigmail && ./makemake -r && popd && make -C ../seamonkey-build/mailnews/extensions/enigmail && make -C ../seamonkey-build/mailnews/extensions/enigmail xpi) 2>&1 | tee -a ../seamonkey.out (make -f client.mk install) 2>&1 | tee -a ../seamonkey.out install -m644 ../seamonkey-build/dist/public/ldap-private/* /usr/include/seamonkey-1.0.1/ldap install -m755 -d /usr/lib/seamonkey-1.0.1/defaults/isp/US install -m644 mailnews/base/ispdata/movemail.rdf /usr/lib/seamonkey-1.0.1/defaults/isp ln -s ../movemail.rdf /usr/lib/seamonkey-1.0.1/defaults/isp/US ln -sf nss.pc /usr/lib/pkgconfig/seamonkey-nss.pc ln -sf nspr.pc /usr/lib/pkgconfig/seamonkey-nspr.pc install -m755 -d /usr/lib/seamonkey-1.0.1/xpi_store install -m644 ../seamonkey-build/dist/bin/enigmail-0.94.0-*.xpi /usr/lib/seamonkey-1.0.1/xpi_store (make -C ../seamonkey-build/mailnews/extensions/enigmail install) 2>&1 | tee -a ../seamonkey.out ln -sf seamonkey /usr/bin/netscape ln -s $JAVA_HOME/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/seamonkey-1.0.1/plugins cd .. grep seamonkey.out -ie '^make.*error' || (rm -rf mozilla && rm -rf seamonkey-build) #should run this once as root to complete /usr file population #symfontconfig - not in BLFS-090406 wget http://hutchinson.belmont.ma.us/tth/symfontconfig.tar.gz tar -xzf symfontconfig.tar.gz cd symfontconfig cp symbol8859.* /usr/X11R6/lib/X11/fonts/Type1/ ln -s /usr/X11R6/lib/X11/fonts/Type1 /usr/share/fonts/X11-Type1 fc-cache cd .. rm -rf symfontconfig #Popt ./getmd5 http://rpm.net.in/mirror/rpm-4.4.x/popt-1.10.4.tar.gz dd22a6873b43d00f75e1c1b7dcfd1ff7 tar -xzf popt-1.10.4.tar.gz cd popt-1.10.4 sed -i -e "/*origOptString ==/c 0)" popt.c (autoreconf -f -i && ./configure --prefix=/usr && make && doxygen && make check) 2>&1 | tee -a ../popt.out (make install) 2>&1 | tee -a ../popt.out install -m755 -d /usr/share/doc/popt-1.10.4 install -m644 doxygen/html/* /usr/share/doc/popt-1.10.4 cd .. grep popt.out -ie '^make.*error' || rm -rf popt-1.10.4 #libxml ./getmd5 http://ftp.gnome.org/pub/gnome/sources/libxml/1.8/libxml-1.8.17.tar.bz2 c7d1b9b1cbfcfbbc56c92f424c37d32c tar -xjf libxml-1.8.17.tar.bz2 cd libxml-1.8.17 (./configure --prefix=/usr --enable-gtk-doc && make && make check) 2>&1 | tee -a ../libxml.out (make install) 2>&1 | tee -a ../libxml.out cd .. grep libxml.out -ie '^make.*error' || rm -rf libxml-1.8.17 #libgtkhtml ./getmd5 http://ftp.gnome.org/pub/gnome/sources/libgtkhtml/2.11/libgtkhtml-2.11.0.tar.bz2 ae7fbfda3b5d118c17f089f4de64b5ef tar -xjf libgtkhtml-2.11.0.tar.bz2 cd libgtkhtml-2.11.0 (./configure --prefix=/usr --disable-accessibility && make && make install) 2>&1 | tee -a ../libgtkhtml.out cd .. grep libgtkhtml.out -ie '^make.*error' || rm -rf libgtkhtml-2.11.0 #GMP ./getmd5 http://ftp.gnu.org/gnu/gmp/gmp-4.2.tar.bz2 aa4a4534e8870ab8ba3c093239057cca tar -xjf gmp-4.2.tar.bz2 cd gmp-4.2 (./configure --prefix=/usr --enable-cxx --enable-mpbsd && make && make -C doc html && texi2html -o doc/gmp_nochunks.html doc/gmp.texi && makeinfo --plaintext -o doc/gmp.txt doc/gmp.texi && make check) 2>&1 | tee -a ../gmp.out awk '/tests passed/{total+=$2} ; END{print total}' ../gmp.out (make install) 2>&1 | tee -a ../gmp.out install -m755 -d /usr/share/doc/gmp-4.2/html install -m644 doc/gmp.html/* /usr/share/doc/gmp-4.2/html install -m644 doc/{isa_abi_headache,configuration} doc/*.{html,txt} /usr/share/doc/gmp-4.2 cd .. grep gmp.out -ie '^make.*error' || rm -rf gmp-4.2 #libcroco ./getmd5 http://ftp.gnome.org/pub/gnome/sources/libcroco/0.6/libcroco-0.6.1.tar.bz2 b0975bd01eb11964f1b3f254f267a43d tar -xjf libcroco-0.6.1.tar.bz2 cd libcroco-0.6.1 (./configure --prefix=/usr && make && LD_LIBRARY_PATH=$(pwd)/src/.libs make test) 2>&1 | tee -a ../libcroco.out (make install) 2>&1 | tee -a ../libcroco.out install -m755 -d /usr/share/doc/libcroco-0.6.1/examples install -m644 README docs/usage.txt /usr/share/doc/libcroco-0.6.1 install -m644 docs/examples/*.c /usr/share/doc/libcroco-0.6.1/examples cd .. grep libcroco.out -ie '^make.*error' || rm -rf libcroco-0.6.1 #libgsf ./getmd5 http://ftp.gnome.org/pub/gnome/sources/libgsf/1.14/libgsf-1.14.1.tar.bz2 00de00b99382d0b7e034e0fffd8951d4 tar -xjf libgsf-1.14.1.tar.bz2 cd libgsf-1.14.1 (./configure --prefix=/usr --enable-gtk-doc && make && make check) 2>&1 | tee -a ../libgsf.out (make install) 2>&1 | tee -a ../libgsf.out cd .. grep libgsf.out -ie '^make.*error' || rm -rf libgsf-1.14.1 #libglade ./getmd5 http://ftp.gnome.org/pub/gnome/sources/libglade/2.6/libglade-2.6.0.tar.bz2 81d7b2b64871ce23a5fae1e5da0b1f6e tar -xjf libglade-2.6.0.tar.bz2 cd libglade-2.6.0 (./configure --prefix=/usr --enable-gtk-doc && make && make check) 2>&1 | tee -a ../libglade.out (make install) 2>&1 | tee -a ../libglade.out cd .. grep libglade.out -ie '^make.*error' || rm -rf libglade-2.6.0 #libESMTP ./getmd5 http://www.stafford.uklinux.net/libesmtp/libesmtp-1.0.4.tar.bz2 8b4e8a794adc46268f0c6a0b3fb79486 tar -xjf libesmtp-1.0.4.tar.bz2 cd libesmtp-1.0.4 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../libesmtp.out cd .. grep libesmtp.out -ie '^make.*error' || rm -rf libesmtp-1.0.4 #Aspell ./getmd5 http://ftp.gnu.org/gnu/aspell/aspell-0.60.4.tar.gz 4f1737e726d66476b9c7388831305510 tar -xzf aspell-0.60.4.tar.gz cd aspell-0.60.4 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../aspell.out install -m755 -d /usr/share/doc/aspell-0.60.4/aspell{,-dev}.html install -m644 manual/aspell.html/* /usr/share/doc/aspell-0.60.4/aspell.html install -m644 manual/aspell-dev.html/* /usr/share/doc/aspell-0.60.4/aspell-dev.html install -m 755 scripts/ispell /usr/bin/ install -m 755 scripts/spell /usr/bin/ cd .. grep aspell.out -ie '^make.*error' || rm -rf aspell-0.60.4 wget ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-6.0-0.tar.bz2 tar -xjf aspell6-en-6.0-0.tar.bz2 cd aspell6-en-6.0-0 (./configure && make && make install) 2>&1 | tee -a ../aspell6-en.out cd .. grep aspell6-en.out -ie '^make.*error' || rm -rf aspell6-en-6.0-0 #SLIB ./getmd5 http://swiss.csail.mit.edu/ftpdir/scm/slib3a3.tar.gz eec6e9193c3c86254f7176dd8a833c4c wget http://www.linuxfromscratch.org/patches/blfs/svn/slib-3a3-blfs_install-2.patch tar -xzf slib3a3.tar.gz cd slib (patch -Np1 -i ../slib-3a3-blfs_install-2.patch) 2>&1 | tee -a ../slib.out (make && make htmldocs && make prefix=/usr/ install) 2>&1 | tee -a ../slib.out ln -s ../slib /usr/share/guile/1.6 (make prefix=/usr/ catalogs) 2>&1 | tee -a ../slib.out mv /usr/share/guile/1.6/slibcat /usr/share/guile ln -s ../slibcat /usr/share/guile/1.6 (make prefix=/usr/ installinfo) 2>&1 | tee -a ../slib.out cd .. grep slib.out -ie '^make.*error' || rm -rf slib #G-Wrap ./getmd5 http://www.gnucash.org/pub/g-wrap/source/g-wrap-1.3.4.tar.gz bf29b8b563cc27d9f7fd90a6243653aa tar -xzf g-wrap-1.3.4.tar.gz cd g-wrap-1.3.4 (./configure --prefix=/usr && make && cd doc && texi2html g-wrap.texi && cd .. && make check) 2>&1 | tee -a ../g-wrap.out (make install) 2>&1 | tee -a ../g-wrap.out install -m755 -d /usr/share/doc/g-wrap-1.3.4 install -m644 doc/g-wrap.html /usr/share/doc/g-wrap-1.3.4 cd .. grep g-wrap.out -ie '^make.*error' || rm -rf g-wrap-1.3.4 #LZO ./getmd5 http://www.oberhumer.com/opensource/lzo/download/lzo-2.02.tar.gz 6760e5819f4238328709bf93bf10071c tar -xzf lzo-2.02.tar.gz cd lzo-2.02 (./configure --prefix=/usr --enable-shared && make && make check && make test) 2>&1 | tee -a ../lzo.out (make install) 2>&1 | tee -a ../lzo.out install -m755 -d /usr/share/doc/lzo-2.02 install -m644 doc/* /usr/share/doc/lzo-2.02 cd .. grep lzo.out -ie '^make.*error' || rm -rf lzo-2.02 #GMime ./getmd5 http://spruce.sourceforge.net/gmime/sources/v2.2/gmime-2.2.2.tar.gz e9b07d187270dee4c30b1fe8392f396b tar -xzf gmime-2.2.2.tar.gz cd gmime-2.2.2 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../gmime.out install -m755 -d /usr/share/doc/gmime-2.2.2/{tutorial,examples,tests} install -m644 README /usr/share/doc/gmime-2.2.2 install -m644 examples/{README,{basic,imap}-example.c} /usr/share/doc/gmime-2.2.2/examples install -m755 examples/{basic,imap}-example /usr/share/doc/gmime-2.2.2/examples install -m644 tests/test-{best,html,iconv,mbox,mime,parser}.c tests/test{-{partial,pgp{,mime},streams}.c,?.eml} /usr/share/doc/gmime-2.2.2/tests install -m755 tests/test-{best,html,iconv,mbox,mime,parser} tests/test-{partial,pgp{,mime},streams} /usr/share/doc/gmime-2.2.2/tests cp -R docs/tutorial/html/* /usr/share/doc/gmime-2.2.2/tutorial cd .. grep gmime.out -ie '^make.*error' || rm -rf gmime-2.2.2 #Libart ./getmd5 http://ftp.gnome.org/pub/gnome/sources/libart_lgpl/2.3/libart_lgpl-2.3.17.tar.bz2 dfca42529393c8a8f59dc4dc10675a46 tar -xjf libart_lgpl-2.3.17.tar.bz2 cd libart_lgpl-2.3.17 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../libart.out cd .. grep libart.out -ie '^make.*error' || rm -rf libart_lgpl-2.3.17 #librsvg ./getmd5 http://ftp.gnome.org/pub/gnome/sources/librsvg/2.14/librsvg-2.14.4.tar.bz2 945617bb094975d7353a3852302297c1 tar -xjf librsvg-2.14.4.tar.bz2 cd librsvg-2.14.4 (./configure --prefix=/usr --sysconfdir=/etc && make && make install) 2>&1 | tee -a ../librsvg.out cd .. grep librsvg.out -ie '^make.*error' || rm -rf librsvg-2.14.4 #Imlib ./getmd5 http://ftp.gnome.org/pub/gnome/sources/imlib/1.9/imlib-1.9.15.tar.bz2 7db987e6c52e4daf70d7d0f471238eae tar -xjf imlib-1.9.15.tar.bz2 cd imlib-1.9.15 (./configure --prefix=/usr --sysconfdir=/etc/imlib && make && make install) 2>&1 | tee -a ../imlib.out install -m755 -d /usr/share/doc/imlib-1.9.15 install -m644 doc/{index.html,*.gif} /usr/share/doc/imlib-1.9.15 cd .. grep imlib.out -ie '^make.*error' || rm -rf imlib-1.9.15 #GPM ./getmd5 ftp://arcana.linux.it/pub/gpm/gpm-1.20.1.tar.bz2 2c63e827d755527950d9d13fe3d87692 wget http://www.linuxfromscratch.org/patches/blfs/svn/gpm-1.20.1-segfault-1.patch wget http://www.linuxfromscratch.org/patches/blfs/svn/gpm-1.20.1-silent-1.patch tar -xjf gpm-1.20.1.tar.bz2 cd gpm-1.20.1 (patch -Np1 -i ../gpm-1.20.1-segfault-1.patch && patch -Np1 -i ../gpm-1.20.1-silent-1.patch) 2>&1 | tee -a ../gpm.out (./configure --prefix=/usr --sysconfdir=/etc && LDFLAGS="-lm" make && make install) 2>&1 | tee -a ../gpm.out cp conf/gpm-root.conf /etc ldconfig cd .. grep gpm.out -ie '^make.*error' rm -rf gpm-1.20.1 cd blfs-bootscripts-20060624 make install-gpm cd .. cat > /etc/sysconfig/mouse << "EOF" # Begin /etc/sysconfig/mouse MDEVICE="/dev/psaux" PROTOCOL="ps2" GPMOPTS="" # End /etc/sysconfig/mouse EOF #AAlib ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/aa-project/aalib-1.4rc5.tar.gz 9801095c42bba12edebd1902bcf0a990 tar -xzf aalib-1.4rc5.tar.gz cd aalib-1.4.0 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../aalib.out cd .. grep aalib.out -ie '^make.*error' || rm -rf aalib-1.4.0 #Imlib2 ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/enlightenment/imlib2-1.2.2.tar.gz 07b2a7745ddd3c7c4480b50cb916174c tar -xzf imlib2-1.2.2.tar.gz cd imlib2-1.2.2 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../imlib2.out install -m755 -d /usr/share/doc/imlib2-1.2.2 install -m644 doc/{*.gif,index.html} /usr/share/doc/imlib2-1.2.2 cd .. grep imlib2.out -ie '^make.*error' || rm -rf imlib2-1.2.2 #libexif ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/libexif/libexif-0.6.13.tar.bz2 1b1e2b495c5aa20c08725f30545a110b tar -xjf libexif-0.6.13.tar.bz2 cd libexif-0.6.13 sed -i 's/^install-data-local/@HAVE_DOXYGEN_TRUE@&/' doc/Makefile.in (./configure --prefix=/usr --with-doc-dir=/usr/share/doc/libexif-0.6.13 && make && make check) 2>&1 | tee -a ../libexif.out (make install) 2>&1 | tee -a ../libexif.out cd .. grep libexif.out -ie '^make.*error' || rm -rf libexif-0.6.13 #Poppler ./getmd5 http://poppler.freedesktop.org/poppler-0.4.5.tar.gz 2bb1c75aa3f9c42f0ba48b5492e6d32c tar -xzf poppler-0.4.5.tar.gz cd poppler-0.4.5 (./configure --prefix=/usr --sysconfdir=/etc --enable-opi --enable-zlib && make && make install) 2>&1 | tee -a ../poppler.out install -m644 -D README /usr/share/doc/poppler-0.4.5/README cd .. grep poppler.out -ie '^make.*error' || rm -rf poppler-0.4.5 #ALSA Library ./getmd5 http://gd.tuwien.ac.at/opsys/linux/alsa/lib/alsa-lib-1.0.11.tar.bz2 ef7ae78a0ef08cbeacb295f2518886ab tar -xjf alsa-lib-1.0.11.tar.bz2 cd alsa-lib-1.0.11 (./configure --enable-static && make && make install) 2>&1 | tee -a ../alsa-lib.out install -m644 -D doc/asoundrc.txt /usr/share/doc/alsa-lib-1.0.11/asoundrc.txt (make doc) 2>&1 | tee -a ../alsa-lib.out install -d -m755 /usr/share/alsa/doc/html install -m644 doc/doxygen/html/* /usr/share/alsa/doc/html cd .. grep alsa-lib.out -ie '^make.*error' || rm -rf alsa-lib-1.0.11 #ALSA Plugins ./getmd5 http://gd.tuwien.ac.at/opsys/linux/alsa/plugins/alsa-plugins-1.0.11.tar.bz2 4ca9ebb9f59b6d9bd85c904134a78305 tar -xjf alsa-plugins-1.0.11.tar.bz2 cd alsa-plugins-1.0.11 (./configure && make && make install) 2>&1 | tee -a ../alsa-plugins.out install -m755 -d /usr/share/doc/alsa-plugins-1.0.11 install -m644 doc/{README*,*.txt} /usr/share/doc/alsa-plugins-1.0.11 cd .. grep alsa-plugins.out -ie '^make.*error' || rm -rf alsa-plugins-1.0.11 #ALSA Utilities ./getmd5 http://gd.tuwien.ac.at/opsys/linux/alsa/utils/alsa-utils-1.0.11.tar.bz2 ba9b8010120701d0f6daf061d392cfa2 tar -xjf alsa-utils-1.0.11.tar.bz2 cd alsa-utils-1.0.11 (./configure && make && make install) 2>&1 | tee -a ../alsa-utils.out cd .. grep alsa-utils.out -ie '^make.*error' || rm -rf alsa-utils-1.0.11 cd blfs-bootscripts-20060624 make install-alsa cd .. touch /etc/asound.state #sound card module must be loaded for this to work - maybe do this later alsactl store cat > /etc/udev/rules.d/15-alsa.rules << "EOF" # Give the audio group ownership of sound devices SUBSYSTEM=="sound", GROUP="audio" SUBSYSTEM=="snd", GROUP="audio" # ALSA Devices # When a sound device is detected, restore the volume settings KERNEL=="controlC[0-9]*", ACTION=="add", RUN+="/usr/sbin/alsactl restore %n" KERNEL="hw[CD0-9]*", NAME="snd/%k" KERNEL="pcm[CD0-9cp]*", NAME="snd/%k" KERNEL="midiC[D0-9]*", NAME="snd/%k" KERNEL="timer", NAME="snd/%k" KERNEL="seq", NAME="snd/%k" EOF chmod 644 /etc/udev/rules.d/15-alsa.rules #ALSA Tools ./getmd5 http://gd.tuwien.ac.at/opsys/linux/alsa/tools/alsa-tools-1.0.11.tar.bz2 a2840af7f1624d46257b6a53aea43eb7 tar -xjf alsa-tools-1.0.11.tar.bz2 cd alsa-tools-1.0.11 for alsadir in `ls`; do (cd $alsadir && ./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../alsa-tools.out done cd .. grep alsa-tools.out -ie '^make.*error' || rm -rf alsa-tools-1.0.11 #ALSA Firmware ./getmd5 http://gd.tuwien.ac.at/opsys/linux/alsa/firmware/alsa-firmware-1.0.11.tar.bz2 bd573f4dac7f4786a20bb4427229acef tar -xjf alsa-firmware-1.0.11.tar.bz2 cd alsa-firmware-1.0.11 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../alsa-firmware.out cd .. grep alsa-firmware.out -ie '^make.*error' || rm -rf alsa-firmware-1.0.11 #ALSA OSS ./getmd5 http://gd.tuwien.ac.at/opsys/linux/alsa/oss-lib/alsa-oss-1.0.11.tar.bz2 3106c2d59a329263867fa3dd44133dda tar -xjf alsa-oss-1.0.11.tar.bz2 cd alsa-oss-1.0.11 (./configure && make && make install) 2>&1 | tee -a ../alsa-oss.out cd .. grep alsa-oss.out -ie '^make.*error' || rm -rf alsa-oss-1.0.11 #IJS - not in BLFS-090406 ./getmd5 http://www.linuxprinting.org/ijs/download/ijs-0.35.tar.bz2 896fdcb7a01c586ba6eb81398ea3f6e9 tar -xjf ijs-0.35.tar.bz2 cd ijs-0.35 (./configure && make && make install) 2>&1 | tee -a ../ijs.out cd .. grep ijs.out -ie '^make.*error' || rm -rf ijs-0.35 #Gimp-Print ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/gimp-print/gimp-print-4.2.7.tar.gz 766be49f44a6a682d857e5aefec414d4 tar -xzf gimp-print-4.2.7.tar.gz cd gimp-print-4.2.7 (./configure --prefix=/usr --with-testpattern --enable-test --with-translated-ppds=no) 2>&1 | tee -a ../gimp-print.out (make && make check) 2>&1 | tee -a ../gimp-print.out (make install) 2>&1 | tee -a ../gimp-print.out cd .. grep gimp-print.out -ie '^make.*error' rm -rf gimp-print-4.2.7 #Gimp ./getmd5 http://ftp.gwdg.de/pub/misc/grafik/gimp/gimp/v2.2/gimp-2.2.12.tar.bz2 6a1906db60166a88317f2df5f195a57d ./getmd5 ftp://ftp.gimp.org/pub/gimp/help/gimp-help-2-0.10.tar.gz 22a1e10c314c5547fe8721c4f6f0b30a tar -xjf gimp-2.2.12.tar.bz2 cd gimp-2.2.12 (./configure --prefix=/usr --sysconfdir=/etc --datadir=/usr/share --enable-gtk-doc && make && make check) 2>&1 | tee -a ../gimp.out (make install) 2>&1 | tee -a ../gimp.out install -m755 -d /usr/share/doc/gimp-2.2.12 install -m644 docs/{Wilber*,keybindings.txt,quick_reference.ps} /usr/share/doc/gimp-2.2.12 cd .. tar -xzf gimp-help-2-0.10.tar.gz cd gimp-help-2-0.10 (./configure --enable-network && make && make install) 2>&1 | tee -a ../gimp-help.out cd .. grep gimp-help.out -ie '^make.*error' || rm -rf gimp-help-2-0.10 grep gimp.out -ie '^make.*error' || rm -rf gimp-2.2.12 #Librep ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/librep/librep-0.17.tar.gz ad4ad851ff9f82a5d61024cd96bc2998 tar -xzf librep-0.17.tar.gz cd librep-0.17 (./configure --prefix=/usr --libexecdir=/usr/lib && make && make install) 2>&1 | tee -a ../librep.out cd .. grep librep.out -ie '^make.*error' || rm -rf librep-0.17 #Rep-gtk ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/rep-gtk/rep-gtk-0.18.tar.gz 220b0d728656472c068e40823f0a3b22 wget http://www.linuxfromscratch.org/patches/blfs/svn/rep-gtk-0.18-gtk2.4-1.patch tar -xzf rep-gtk-0.18.tar.gz cd rep-gtk-0.18 (patch -Np1 -i ../rep-gtk-0.18-gtk2.4-1.patch) 2>&1 | tee -a ../rep-gtk.out (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../rep-gtk.out cd .. grep rep-gtk.out -ie '^make.*error' || rm -rf rep-gtk-0.18 #LPRng ./getmd5 http://www.lprng.com/DISTRIB/LPRng/LPRng-3.8.28.tgz 1b3a0abd291b260eab6087ac0e61ed84 tar -xzf LPRng-3.8.28.tgz cd LPRng-3.8.28 #--disable-werror required with gcc 4 (./configure --prefix=/usr --libexecdir=/usr/lib/lprng --sysconfdir=/etc --enable-shared --disable-werror && make && make install) 2>&1 | tee -a ../LPRng.out install -d -m755 /usr/share/doc/lprng-3.8.28 cp -R DOCS/* PrintingCookbook /usr/share/doc/lprng-3.8.28 cd .. grep LPRng.out -ie '^make.*error' || rm -rf LPRng-3.8.28 cd blfs-bootscripts-20060624 make install-lprng cd .. rm /etc/rc.d/init.d/lpd sed -i.lfs 's/#REJECT NOT SERVER/REJECT NOT SERVER/' /etc/lpd/lpd.perms rm /etc/printcap #libgphoto2 - not in BLFS-090406 wget http://superb-east.dl.sourceforge.net/sourceforge/gphoto/libgphoto2-2.2.1.tar.bz2 wget http://superb-east.dl.sourceforge.net/sourceforge/gphoto/api-docs-2003-03-25-html.tar.gz tar -xjf libgphoto2-2.2.1.tar.bz2 cd libgphoto2-2.2.1 #this patch fixes two bad includes sed -i.orig -e's%gphoto2/%%' packaging/generic/print-camera-list.c (./configure) 2>&1 | tee -a ../libgphoto2.out (make && make install) 2>&1 | tee -a ../libgphoto2.out cd .. grep libgphoto2.out -ie '^make.*error' || rm -rf libgphoto2-2.2.1 cd /usr/local/share/doc mkdir libgphoto2-2.2.1 cd libgphoto2-2.2.1 tar -xzf /sources/api-docs-2003-03-25-html.tar.gz cd /sources #gphoto2 - not in BLFS-090406 wget http://superb-east.dl.sourceforge.net/sourceforge/gphoto/gphoto2-2.2.0.tar.bz2 wget http://superb-east.dl.sourceforge.net/sourceforge/gphoto/gphoto2-manual-html-2.1.1dev4.tar.gz tar -xjf gphoto2-2.2.0.tar.bz2 cd gphoto2-2.2.0 (./configure) 2>&1 | tee -a ../gphoto2.out (make && make install) 2>&1 | tee -a ../gphoto2.out cd .. grep gphoto2.out -ie '^make.*error' || rm -rf gphoto2-2.2.0 cd /usr/local/share/doc/ mkdir gphoto2 cd gphoto2/ tar -xzf /sources/gphoto2-manual-html-2.1.1dev4.tar.gz cd /sources #SANE ./getmd5 http://alioth.debian.org/download.php/1347/sane-backends-1.0.17.tar.gz b51c10da8a81a04e1bae88c9e6556df2 tar -xzf sane-backends-1.0.17.tar.gz cd sane-backends-1.0.17 (./configure --prefix=/usr --sysconfdir=/etc && make && make install) 2>&1 | tee -a ../sane-backends.out cd .. grep sane-backends.out -ie '^make.*error' || rm -rf sane-backends-1.0.17 #ldconfig required so XSane finds SANE ldconfig #XSane ./getmd5 http://gd.tuwien.ac.at/hci/sane/xsane/xsane-0.97.tar.gz 3d1f889d88c3462594febd53be58c561 tar -xzf xsane-0.97.tar.gz cd xsane-0.97 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../xsane.out ln -s /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/ cd .. grep xsane.out -ie '^make.*error' || rm -rf xsane-0.97 #NetPBM - not in BLFS-090406 wget http://superb-east.dl.sourceforge.net/sourceforge/netpbm/netpbm-10.26.31.tgz tar -xzf netpbm-10.26.31.tgz cd netpbm-10.26.31 #note that configure and installnetpbm cannot be run with ()... - they are interactive #took all defaults on ./configure and ./installnetpbm ./configure (make && make package pkgdir=/tmp/netpbm) 2>&1 | tee -a ../netpbm.out ./installnetpbm cd .. grep netpbm.out -ie '^make.*error' || rm -rf netpbm-10.26.31 rm -rf /tmp/netpbm/ #Transfig - not in BLFS-090406 wget http://xfig.org/software/xfig/3.2.4/transfig.3.2.4.tar.gz tar -xzf transfig.3.2.4.tar.gz cd transfig.3.2.4 (cd fig2dev/ && patch -i ../../krk.transfig.3.2.4-fig2dev-Imakefile.patch && patch -i ../../krk.transfig.3.2.4-fig2dev-stdarg.patch) 2>&1 | tee -a ../transfig.out (cd fig2dev/dev/ && patch -i ../../../krk.transfig.3.2.4-fig2dev-gensvg.patch) 2>&1 | tee -a ../transfig.out (xmkmf && make Makefiles && make && make install && make install.man) 2>&1 | tee -a ../transfig.out cd .. grep transfig.out -ie '^make.*error' || rm -rf transfig.3.2.4 #Xfig - not in BLFS-090406 wget http://xfig.org/software/xfig/3.2.4/xfig.3.2.4.full.tar.gz tar -xzf xfig.3.2.4.full.tar.gz cd xfig.3.2.4 #xfig will not compile under gcc 4 sed -i.orig -e 's%^XCOMM CC = /opt/SUNWspro/bin/cc$%CC = /opt/gcc-3.3.6/bin/gcc%' Imakefile (patch -i ../krk.xfig.3.2.4-Imakefile.patch && patch -i ../krk.xfig.3.2.4-SimpleMenu.patch) 2>&1 | tee -a ../xfig.out (xmkmf && make && make install.all && make install.man) 2>&1 | tee -a ../xfig.out cd .. grep xfig.out -ie '^make.*error' || rm -rf xfig.3.2.4 #ImageMagick wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.2.9-5.tar.bz2 tar -xjf ImageMagick-6.2.9-5.tar.bz2 cd ImageMagick-6.2.9 (./configure --prefix=/usr --with-modules --with-gslib=/usr/lib && make && make check) 2>&1 | tee -a ../ImageMagick.out #the Perl checks all fail because of un-noted module requirements (make install) 2>&1 | tee -a ../ImageMagick.out cd .. grep ImageMagick.out -ie '^make.*error' rm -rf ImageMagick-6.2.9 #Hd2u ./getmd5 http://www.megaloman.com/~hany/_data/hd2u/hd2u-1.0.0.tgz 21249099fbb04b98e30e35d6a89061dd tar -xzf hd2u-1.0.0.tgz cd hd2u-1.0.0 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../hd2u.out cd .. grep hd2u.out -ie '^make.*error' || rm -rf hd2u-1.0.0 #XScreenSaver ./getmd5 http://www.jwz.org/xscreensaver/xscreensaver-4.24.tar.gz 174b6a7cebd892c1a6c2d56bf5ac5af6 tar -xzf xscreensaver-4.24.tar.gz cd xscreensaver-4.24 (./configure --prefix=/usr --libexecdir=/usr/lib --enable-locking && make && make install) 2>&1 | tee -a ../xscreensaver.out cd .. grep xscreensaver.out -ie '^make.*error' || rm -rf xscreensaver-4.24 cat > ~/.xinitrc << "EOF" # Begin .xinitrc file xclock -strftime "%a, %b %e - %l:%M %P" -g 148x32+0-0 -digital -update 1 & xscreensaver -nosplash & wmaker EOF #if you set wmaker up to save its state, comment out the xclock line after the first time cp ~/.xinitrc /etc/skel chmod 600 /etc/skel/.xinitrc #unixODBC ./getmd5 http://www.unixodbc.org/unixODBC-2.2.11.tar.gz 9ae806396844e38244cf65ad26ba0f23 tar -xzf unixODBC-2.2.11.tar.gz cd unixODBC-2.2.11 sed -i "s/void yyerror/#define YY_FLUSH_BUFFER\n\n&/" sqp/lex.l (./configure --prefix=/usr --sysconfdir=/etc/unixodbc --enable-ltdllib --enable-fdb && make && make install) 2>&1 | tee -a ../unixODBC.out find doc -name "Makefile*" -exec rm {} \; chmod 644 doc/{lst,ProgrammerManual/Tutorial}/* install -m755 -d /usr/share/doc/unixODBC-2.2.11 cp -R doc/* /usr/share/doc/unixODBC-2.2.11 cd .. grep unixODBC.out -ie '^make.*error' || rm -rf unixODBC-2.2.11 #rman ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/polyglotman/rman-3.2.tar.gz 6d1d67641c6d042595a96a62340d3cc6 tar -xzf rman-3.2.tar.gz cd rman-3.2 sed -i -e "s@/opt/local@$XORG_PREFIX@" -e "s@/usr/local@$XORG_PREFIX@" Makefile (make && make install) 2>&1 | tee -a ../rman.out cd .. grep rman.out -ie '^make.*error' || rm -rf rman-3.2 #fcron ./getmd5 http://fcron.free.fr/archives/fcron-3.0.1.src.tar.gz 8e5dcb3a646c11294294895954ef0a48 tar -xzf fcron-3.0.1.src.tar.gz cd fcron-3.0.1 cat >> /etc/syslog.conf << "EOF" # Begin fcron addition to /etc/syslog.conf cron.* -/var/log/cron.log # End fcron addition EOF groupadd -g 22 fcron useradd -d /dev/null -c "Fcron User" -g fcron -s /bin/false -u 22 fcron (./configure --without-sendmail --with-boot-install=no --with-editor=/usr/bin/jpico && make && make install) 2>&1 | tee -a ../fcron.out cd .. grep fcron.out -ie '^make.*error' || rm -rf fcron-3.0.1 #Hdparm ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/hdparm/hdparm-6.6.tar.gz ecea69f775396e4ab6112dcf9066239f tar -xzf hdparm-6.6.tar.gz cd hdparm-6.6 (make && make install) 2>&1 | tee -a ../hdparm.out cd .. grep hdparm.out -ie '^make.*error' || rm -rf hdparm-6.6 #PCI Utilities ./getmd5 http://www.kernel.org/pub/software/utils/pciutils/pciutils-2.2.3.tar.bz2 86cc20eaa0360587497a8105d33e57fc tar -xjf pciutils-2.2.3.tar.bz2 cd pciutils-2.2.3 sed -i 's/null ;/null 2>\&1 ;/' update-pciids.sh (make PREFIX=/usr && make PREFIX=/usr install) 2>&1 | tee -a ../pciutils.out install -m 755 -d /usr/include/pci install -m 644 lib/libpci.a /usr/lib install -m 644 lib/*.h /usr/include/pci cd .. grep pciutils.out -ie '^make.*error' || rm -rf pciutils-2.2.3 update-pciids #usbutils ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/linux-usb/usbutils-0.72.tar.gz ee345fe605ffcfce843dae4aed81122b tar -xzf usbutils-0.72.tar.gz cd usbutils-0.72 sed -i 's|DEST=|&/usr/share/|' update-usbids.sh (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../usbutils.out install -m755 update-usbids.sh /usr/sbin/update-usbids cd .. grep usbutils.out -ie '^make.*error' || rm -rf usbutils-0.72 update-usbids #cpio ./getmd5 http://ftp.gnu.org/pub/gnu/cpio/cpio-2.6.tar.gz 76b4145f33df088a5bade3bf4373d17d wget http://www.linuxfromscratch.org/patches/blfs/svn/cpio-2.6-security_fixes-1.patch tar -xzf cpio-2.6.tar.gz cd cpio-2.6 sed -i "s/invalid_arg/argmatch_invalid/" src/mt.c (patch -Np1 -i ../cpio-2.6-security_fixes-1.patch) 2>&1 | tee -a ../cpio.out (./configure CPIO_MT_PROG=mt --prefix=/usr --bindir=/bin --libexecdir=/tmp --with-rmt=/usr/sbin/rmt && (echo "#define HAVE_SETLOCALE 1" >> config.h) && (echo "#define HAVE_LSTAT 1" >> config.h) && make && texi2html -o doc/cpio.html doc/cpio.texi && sed -i 's/static const char/const char/' tests/genfile.c && make check) 2>&1 | tee -a ../cpio.out (make install) 2>&1 | tee -a ../cpio.out install -m755 -d /usr/share/doc/cpio-2.6 install -m644 doc/cpio.html /usr/share/doc/cpio-2.6 cd .. grep cpio.out -ie '^make.*error' || rm -rf cpio-2.6 #rpm2cpio - not in BLFS-090406 cat > /usr/bin/rpm2cpio <<'EOF' #!/usr/bin/perl # Copyright (C) 1997,1998,1999, Roger Espel Llima # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and any associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # SOFTWARE'S COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE # (whew, that's done!) # why does the world need another rpm2cpio? because the existing one # won't build unless you have half a ton of things that aren't really # required for it, since it uses the same library used to extract RPM's. # in particular, it won't build on the HPsUX box i'm on. # sw 2002-Mar-6 Don't slurp the whole file # add a path if desired $gzip = "gzip"; sub printhelp { print "use: rpm2cpio [file.rpm] > file.cpio\n"; exit 0; } if ($#ARGV == -1) { printhelp if -t STDIN; $f = "STDIN"; } elsif ($#ARGV == 0) { open(F, "< $ARGV[0]") or die "Can't read file $ARGV[0]\n"; $f = 'F'; } else { printhelp; } printhelp if -t STDOUT; # gobble the file up ##undef $/; ##$|=1; ##$rpm = <$f>; ##close ($f); read $f,$rpm,96; ($magic, $major, $minor, $crap) = unpack("NCC C90", $rpm); die "Not an RPM\n" if $magic != 0xedabeedb; die "Not a version 3 or 4 RPM\n" if $major != 3 && $major != 4; ##$rpm = substr($rpm, 96); while (!eof($f)) { $pos = tell($f); read $f,$rpm,16; $smagic = unpack("n", $rpm); last if $smagic eq 0x1f8b; # Turns out that every header except the start of the gzip one is # padded to an 8 bytes boundary. if ($pos & 0x7) { $pos += 7; $pos &= ~0x7; # Round to 8 byte boundary seek $f, $pos, 0; read $f,$rpm,16; } ($magic, $crap, $sections, $bytes) = unpack("N4", $rpm); die "Error: header not recognized\n" if $magic != 0x8eade801; # for header $pos += 16; $pos += 16 * $sections; $pos += $bytes; seek $f, $pos, 0; } if (eof($f)) { die "bogus RPM\n"; } open(ZCAT, "|gzip -cd") || die "can't pipe to gzip\n"; print STDERR "CPIO archive found!\n"; print ZCAT $rpm; while (read($f, ($_=''), 16384) > 0) { print ZCAT; } close ZCAT; EOF chmod 755 /usr/bin/rpm2cpio cat > /usr/bin/rpminstall << "EOF" #!/bin/sh TMPFILE=rpmtmp.cpio rpm2cpio $1 > /tmp/$TMPFILE pushd / cpio -t -i < /tmp/$TMPFILE cpio -d -i < /tmp/$TMPFILE popd rm -rf /tmp/$TMPFILE EOF chmod 755 /usr/bin/rpminstall #Sysstat ./getmd5 http://perso.wanadoo.fr/sebastien.godard/sysstat-6.0.2.tar.bz2 99ed143d7e753f0b2220baa115859b44 tar -xjf sysstat-6.0.2.tar.bz2 cd sysstat-6.0.2 #interactive - accepted all defaults after /usr for first question make config (make && make install) 2>&1 | tee -a ../sysstat.out install -m644 sysstat.sysconfig /etc/sysconfig/sysstat cd .. grep sysstat.out -ie '^make.*error' || rm -rf sysstat-6.0.2 #Apache Ant ./getmd5 http://archive.apache.org/dist/ant/source/apache-ant-1.6.5-src.tar.bz2 80a7ad191c40b7d8c82533524b282b6b wget http://www.linuxfromscratch.org/patches/blfs/svn/apache-ant-1.6.5-blfs_install-1.patch wget http://superb-east.dl.sourceforge.net/sourceforge/junit/junit4.1.zip tar -xjf apache-ant-1.6.5-src.tar.bz2 unzip ../junit4.1.zip mv junit4.1/junit-4.1.jar apache-ant-1.6.5/lib/ rm -rf junit4.1 cd apache-ant-1.6.5 (patch -Np1 -i ../apache-ant-1.6.5-blfs_install-1.patch) 2>&1 | tee -a ../apache-ant.out (./build.sh -Ddist.dir=/opt/ant-1.6.5 dist) 2>&1 | tee -a ../apache-ant.out ln -sf /etc/ant /opt/ant-1.6.5/etc ln -sf ant-1.6.5 /opt/ant cat >> /etc/profile << "EOF" export PATH=$PATH:/opt/ant/bin export ANT_HOME=/opt/ant EOF cd .. grep apache-ant.out -ie '^make.*error' || rm -rf apache-ant-1.6.5 #NASM ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/nasm/nasm-0.98.39.tar.bz2 2032ad44c7359f7a9a166a40a633e772 wget http://www.linuxfromscratch.org/patches/blfs/svn/nasm-0.98.39-security_fix-1.patch tar -xjf nasm-0.98.39.tar.bz2 cd nasm-0.98.39 (patch -Np1 -i ../nasm-0.98.39-security_fix-1.patch) 2>&1 | tee -a ../nasm.out (./configure --prefix=/usr && make && make -C rdoff/doc && make -C rdoff/doc html) 2>&1 | tee -a ../nasm.out (make install && make install_rdf) 2>&1 | tee -a ../nasm.out install -m644 rdoff/doc/rdoff.info /usr/share/info install -m755 -d /usr/share/doc/nasm/html install -m644 rdoff/doc/v1-v2.txt /usr/share/doc/nasm cp -R rdoff/doc/rdoff /usr/share/doc/nasm/html cd .. grep nasm.out -ie '^make.*error' || rm -rf nasm-0.98.39 #PyXML ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/pyxml/PyXML-0.8.4.tar.gz 1f7655050cebbb664db976405fdba209 tar -xzf PyXML-0.8.4.tar.gz cd PyXML-0.8.4 (python setup.py build && python setup.py install) 2>&1 | tee -a ../PyXML.out install -m644 doc/man/xmlproc_*.1 /usr/share/man/man1 install -m755 -d /usr/share/doc/PyXML-0.8.4 cp -R doc demo test /usr/share/doc/PyXML-0.8.4 install -m644 README* /usr/share/doc/PyXML-0.8.4 cd .. grep PyXML.out -ie '^make.*error' || rm -rf PyXML-0.8.4 #GDB - not in BLFS-090406 wget http://ftp.gnu.org/gnu/gdb/gdb-6.5.tar.bz2 tar -xjf gdb-6.5.tar.bz2 cd gdb-6.5 (./configure && make && make install) 2>&1 | tee -a ../gdb.out cd .. grep gdb.out -ie '^make.*error' || rm -rf gdb-6.5 #LessTif ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/lesstif/lesstif-0.94.4.tar.bz2 3096ca456c0bc299d895974d307c82d8 wget http://www.linuxfromscratch.org/patches/blfs/svn/lesstif-0.94.4-testsuite_fix-1.patch tar -xjf lesstif-0.94.4.tar.bz2 cd lesstif-0.94.4 (patch -Np1 -i ../lesstif-0.94.4-testsuite_fix-1.patch) 2>&1 | tee -a ../lesstif.out (./configure --prefix=/usr --disable-debug --enable-production --with-xdnd && make rootdir=/usr/share/doc/lesstif-0.94.4 && make rootdir=/usr/share/doc/lesstif-0.94.4 install) 2>&1 | tee -a ../lesstif.out mv /usr/X11R6/lib/X11/mwm /etc/X11 ln -s ../../../../etc/X11/mwm /usr/X11R6/lib/X11 ldconfig #the tests require an operating X environment, so we will skip them for now #cd test #(./configure && make) 2>&1 | tee -a ../../lesstif.out #cd Xm #(./testall *) 2>&1 | tee -a ../../../lesstif.out #cd ../.. cd .. grep lesstif.out -ie '^make.*error' || rm -rf lesstif-0.94.4 #DDD - not in NLFS-090406 wget http://ftp.gnu.org/pub/gnu/ddd/ddd-3.3.11.tar.gz tar -xzf ddd-3.3.11.tar.gz cd ddd-3.3.11 (./configure --enable-builtin-manual && make) 2>&1 | tee -a ../ddd.out #check requires display #(make check) 2>&1 | tee -a ../ddd.out (make install) 2>&1 | tee -a ../ddd.out cd .. grep ddd.out -ie '^make.*error' || rm -rf ddd-3.3.11 #strace - not in NLFS-090406 wget http://superb-east.dl.sourceforge.net/sourceforge/strace/strace-4.5.14.tar.bz2 tar -xjf strace-4.5.14.tar.bz2 cd strace-4.5.14 (./configure && make && make install) 2>&1 | tee -a ../strace.out cd .. grep strace.out -ie '^make.*error' || rm -rf strace-4.5.14 #Libpcap ./getmd5 http://www.tcpdump.org/release/libpcap-0.9.4.tar.gz 79025766e8027df154cb1f32de8a7974 tar -xzf libpcap-0.9.4.tar.gz cd libpcap-0.9.4 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../libpcap.out install -m755 -d /usr/share/doc/libpcap-0.9.4 install -m644 doc/*html /usr/share/doc/libpcap-0.9.4 cd .. grep libpcap.out -ie '^make.*error' || rm -rf libpcap-0.9.4 #PPP ./getmd5 http://samba.org/ftp/ppp/ppp-2.4.4.tar.gz 183800762e266132218b204dfb428d29 tar -xzf ppp-2.4.4.tar.gz cd ppp-2.4.4 (./configure --prefix=/usr && make && make install && make install-etcppp) 2>&1 | tee -a ../ppp.out cd .. grep ppp.out -ie '^make.*error' || rm -rf ppp-2.4.4 #Dhcpcd ./getmd5 http://ftp.osuosl.org/pub/gentoo/distfiles/dhcpcd-2.0.5.tar.bz2 e2e5cd9b8824c7b1d37a7c441b83515f tar -xjf dhcpcd-2.0.5.tar.bz2 cd dhcpcd-2.0.5 (./configure --prefix="" --sysconfdir=/var/lib --mandir=/usr/share/man && make && make install) 2>&1 | tee -a ../dhcpcd.out cd .. grep dhcpcd.out -ie '^make.*error' || rm -rf dhcpcd-2.0.5 cd blfs-bootscripts-20060624 make install-service-dhcpcd cd .. #libogg ./getmd5 http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz eaf7dc6ebbff30975de7527a80831585 tar -xzf libogg-1.1.3.tar.gz cd libogg-1.1.3 (./configure --prefix=/usr && make && make check) 2>&1 | tee -a ../libogg.out (make install) 2>&1 | tee -a ../libogg.out cd .. grep libogg.out -ie '^make.*error' || rm -rf libogg-1.1.3 #Speex ./getmd5 http://downloads.us.xiph.org/releases/speex/speex-1.0.5.tar.gz 01d6a2de0a88a861304bf517615dea79 tar -xzf speex-1.0.5.tar.gz cd speex-1.0.5 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../speex.out cd .. grep speex.out -ie '^make.*error' || rm -rf speex-1.0.5 #libvorbis ./getmd5 http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz 37847626b8e1b53ae79a34714c7b3211 tar -xzf libvorbis-1.1.2.tar.gz cd libvorbis-1.1.2 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../libvorbis.out install -m644 doc/Vorbis* /usr/share/doc/libvorbis-1.1.2 cd .. grep libvorbis.out -ie '^make.*error' || rm -rf libvorbis-1.1.2 #WvStreams ./getmd5 http://open.nit.ca/download/wvstreams-4.2.2.tar.gz 103230cb9926cb8f3f4d8dc8584f3b9c tar -xzf wvstreams-4.2.2.tar.gz #looks for $QTDIR/include/qt3 instead of qt cd /usr/include ln -s qt qt3 cd wvstreams-4.2.2 sed -i -e "s/8_3/8_4/" -e "s/8\.3/8.4/" configure{,.ac} include/wvautoconf.h.in bindings/rules.mk #had to CTRL-C out of make test after SSL errors... (./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var && make && make doxygen && make test) 2>&1 | tee -a ../wvstreams.out (make install) 2>&1 | tee -a ../wvstreams.out #too many docs for BLFS instructions to work cp -a Docs/doxy-html/ /usr/share/doc/wvstreams-4.2.2/ cd .. grep wvstreams.out -ie '^make.*error' || rm -rf wvstreams-4.2.2 #GNet ./getmd5 http://anduin.linuxfromscratch.org/sources/BLFS/svn/g/gnet-2.0.7.tar.gz 3a7a40411775688fe4c42141ab007048 tar -xzf gnet-2.0.7.tar.gz cd gnet-2.0.7 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../gnet.out cd .. grep gnet.out -ie '^make.*error' || rm -rf gnet-2.0.7 #libsoup ./getmd5 http://ftp.gnome.org/pub/gnome/sources/libsoup/2.2/libsoup-2.2.96.tar.bz2 2704961ca2b9597819f21b40d4a0e0aa tar -xjf libsoup-2.2.96.tar.bz2 cd libsoup-2.2.96 (./configure --prefix=/usr --enable-gtk-doc && make && make install) 2>&1 | tee -a ../libsoup.out cd .. grep libsoup.out -ie '^make.*error' || rm -rf libsoup-2.2.96 #Net-tools ./getmd5 http://www.tazenda.demon.co.uk/phil/net-tools/net-tools-1.60.tar.bz2 888774accab40217dde927e21979c165 wget http://www.linuxfromscratch.org/patches/blfs/svn/net-tools-1.60-gcc34-3.patch wget http://www.linuxfromscratch.org/patches/blfs/svn/net-tools-1.60-kernel_headers-2.patch wget http://www.linuxfromscratch.org/patches/blfs/svn/net-tools-1.60-mii_ioctl-1.patch tar -xjf net-tools-1.60.tar.bz2 cd net-tools-1.60 (patch -Np1 -i ../net-tools-1.60-gcc34-3.patch && patch -Np1 -i ../net-tools-1.60-kernel_headers-2.patch && patch -Np1 -i ../net-tools-1.60-mii_ioctl-1.patch) 2>&1 | tee -a ../net-tools.out #interactive config - answered y to all except DecNet - for that you need libdnet which is not part of BLFS-090406 make config (make && make update) 2>&1 | tee -a ../net-tools.out cd .. grep net-tools.out -ie '^make.*error' || rm -rf net-tools-1.60 #OpenSSH ./getmd5 http://sunsite.ualberta.ca/pub/OpenBSD/OpenSSH/portable/openssh-4.3p2.tar.gz 7e9880ac20a9b9db0d3fea30a9ff3d46 tar -xzf openssh-4.3p2.tar.gz cd openssh-4.3p2 install -m700 -d /var/lib/sshd chown root:sys /var/lib/sshd groupadd -g 50 sshd useradd -c 'sshd PrivSep' -d /var/lib/sshd -g sshd -s /bin/false -u 50 sshd sed -i "s/lkrb5 -ldes/lkrb5/" configure (./configure --prefix=/usr --sysconfdir=/etc/ssh --libexecdir=/usr/lib/openssh --with-md5-passwords --with-privsep-path=/var/lib/sshd && make && make -k tests) 2>&1 | tee -a ../openssh.out (make install) 2>&1 | tee -a ../openssh.out install -m755 -d /usr/share/doc/openssh-4.3p2 install -m644 INSTALL LICENCE OVERVIEW README* WARNING.RNG /usr/share/doc/openssh-4.3p2 cd .. grep openssh.out -ie '^make.*error' rm -rf openssh-4.3p2 cd blfs-bootscripts-20060624 make install-sshd cd .. #ssh likes specific permissions chmod 600 /etc/ssh/* #CVS ./getmd5 http://ftp.gnu.org/non-gnu/cvs/source/stable/1.11.22/cvs-1.11.22.tar.bz2 f24043a640509aff1aa28871dd345762 wget http://www.linuxfromscratch.org/patches/blfs/svn/cvs-1.11.22-zlib-1.patch tar -xjf cvs-1.11.22.tar.bz2 cd cvs-1.11.22 (patch -Np1 -i ../cvs-1.11.22-zlib-1.patch) 2>&1 | tee -a ../cvs.out sed -e 's/rsh};/ssh};/' -e 's/g=rw,o=r$/g=r,o=r/' -i src/sanity.sh (./configure --prefix=/usr --with-editor=/usr/bin/jpico --with-rsh=ssh && make && make -C doc html && make check) 2>&1 | tee -a ../cvs.out (make install) 2>&1 | tee -a ../cvs.out install -m755 -d /usr/share/doc/cvs-1.11.22 install -m644 FAQ README /usr/share/doc/cvs-1.11.22 install -m755 -d /usr/share/doc/cvs-1.11.22/html/cvs{,client} install -m644 doc/cvs.html/* /usr/share/doc/cvs-1.11.22/html/cvs install -m644 doc/cvsclient.html/* /usr/share/doc/cvs-1.11.22/html/cvsclient cd .. grep cvs.out -ie '^make.*error' rm -rf cvs-1.11.22 #NTP ./getmd5 http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2.2p3.tar.gz 45cee6d1ebf8fe46e412fd818b8e7b74 tar -xzf ntp-4.2.2p3.tar.gz cd ntp-4.2.2p3 (./configure --prefix=/usr --bindir=/usr/sbin --sysconfdir=/etc && make && make check) 2>&1 | tee -a ../ntp.out (make install) 2>&1 | tee -a ../ntp.out install -m755 -d /usr/share/doc/ntp-4.2.0a cp -R html /usr/share/doc/ntp-4.2.0a/ cat > /etc/ntp.conf << "EOF" # Africa server tock.nml.csir.co.za # Asia server 0.asia.pool.ntp.org # Australia server 0.oceania.pool.ntp.org # Europe server 0.europe.pool.ntp.org # North America server 0.north-america.pool.ntp.org # South America server 2.south-america.pool.ntp.org driftfile /var/cache/ntp.drift EOF cd .. grep ntp.out -ie '^make.*error' || rm -rf ntp-4.2.2p3 cd blfs-bootscripts-20060624 make install-ntp cd .. ln -sf ../init.d/setclock /etc/rc.d/rc0.d/K46setclock ln -sf ../init.d/setclock /etc/rc.d/rc6.d/K46setclock #remove ntpd -gqx from init script - causes problems with ntpd daemon sed -i.lfs '/ntpd -gqx/d' /etc/rc.d/init.d/ntp #script looks for it in /usr/sbin, but install put it in /usr/bin even though we told it otherwise mv /usr/bin/ntpd /usr/sbin/ #Subversion ./getmd5 http://subversion.tigris.org/tarballs/subversion-1.3.1.tar.bz2 07b95963968ae345541ca99d0e7bf082 tar -xjf subversion-1.3.1.tar.bz2 cd subversion-1.3.1 (./configure --prefix=/usr --without-berkeley-db --with-installbuilddir=/usr/lib/apr-0 --enable-javahl --with-swig --with-ssl && make) 2>&1 | tee -a ../subversion.out (make javahl && make swig-pl && make swig-py) 2>&1 | tee -a ../subversion.out (make check) 2>&1 | tee -a ../subversion.out #this requires --with-junit and BLFS didn't tell us - and it takes a LONG time to run, so this one's for next time... #(make check-javahl) 2>&1 | tee -a ../subversion.out (make check-swig-pl) 2>&1 | tee -a ../subversion.out (make check-swig-py) 2>&1 | tee -a ../subversion.out (make install) 2>&1 | tee -a ../subversion.out rm doc/{Makefile,doxygen.conf} find doc -type d -exec chmod 755 {} \; find doc -type f -exec chmod 644 {} \; install -m755 -d /usr/share/doc/subversion-1.3.1 cp -R doc/* /usr/share/doc/subversion-1.3.1 (make install-javahl && make install-swig-pl && make install-swig-py) 2>&1 | tee -a ../subversion.out echo /usr/lib/svn-python > /usr/lib/python2.4/site-packages/subversion.pth cd .. grep subversion.out -ie '^make.*error' rm -rf subversion-1.3.1 #Wireless Tools ./getmd5 http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.28.tar.gz 599c94497f9c9073c7b052d3dcb7cd16 tar -xzf wireless_tools.28.tar.gz cd wireless_tools.28 (make && make PREFIX=/usr install) 2>&1 | tee -a ../wireless_tools.out cd .. grep wireless_tools.out -ie '^make.*error' || rm -rf wireless_tools.28 #Traceroute ./getmd5 http://gd.tuwien.ac.at/platform/sun/packages/solaris/freeware/SOURCES/traceroute-1.4a12.tar.gz 964d599ef696efccdeebe7721cd4828d tar -xzf traceroute-1.4a12.tar.gz cd traceroute-1.4a12 sed -i -e 's/-o bin/-o root/' Makefile.in (./configure --prefix=/usr && make && make install && make install-man) 2>&1 | tee -a ../traceroute.out chmod 0755 /usr/sbin/traceroute cd .. grep traceroute.out -ie '^make.*error' || rm -rf traceroute-1.4a12 #Nmap ./getmd5 http://download.insecure.org/nmap/dist/nmap-4.03.tar.bz2 d2b841e97d81d0fac20d18cbeddfa54a tar -xjf nmap-4.03.tar.bz2 cd nmap-4.03 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../nmap.out cd .. grep nmap.out -ie '^make.*error' || rm -rf nmap-4.03 #Whois ./getmd5 http://anduin.linuxfromscratch.org/sources/BLFS/svn/w/whois_4.7.13.tar.gz 2de4c4088e152a28ff7b326ade538196 tar -xzf whois_4.7.13.tar.gz cd whois-4.7.13 (make && make prefix=/usr install) 2>&1 | tee -a ../whois.out cd .. grep whois.out -ie '^make.*error' || rm -rf whois-4.7.13 #BIND Utilities ./getmd5 http://gd.tuwien.ac.at/infosys/servers/isc/bind9/9.3.2/bind-9.3.2.tar.gz 55e709501a7780233c36e25ccd15ece2 tar -xzf bind-9.3.2.tar.gz cd bind-9.3.2 (./configure --prefix=/usr && make -C lib/dns && make -C lib/isc && make -C lib/bind9 && make -C lib/isccfg && make -C lib/lwres && make -C bin/dig && make -C bin/dig install) 2>&1 | tee -a ../bind-util.out cd .. grep bind-util.out -ie '^make.*error' || rm -rf bind-9.3.2 #Ethereal ./getmd5 http://www.ethereal.com/distribution/ethereal-0.99.0.tar.bz2 f9905b9d347acdc05af664a7553f7f76 wget http://www.ethereal.com/distribution/docs/eug_html_chunked.zip mv eug_html_chunked.zip ethereal_eug_html_chunked.zip tar -xjf ethereal-0.99.0.tar.bz2 cd ethereal-0.99.0 (./configure --prefix=/usr --sysconfdir=/etc --enable-threads --with-ssl && make && make install) 2>&1 | tee -a ../ethereal.out install -m644 FAQ README{,.linux} doc/README.* doc/*.{pod,txt} /usr/share/ethereal install -m644 -D ethereal.desktop /usr/share/applications/ethereal.desktop install -m644 -D image/elogo3d48x48.png /usr/share/pixmaps/ethereal.png install -m755 -d /usr/share/pixmaps/ethereal install -m644 image/*.{png,ico,xpm,bmp} /usr/share/pixmaps/ethereal cd .. grep ethereal.out -ie '^make.*error' || rm -rf ethereal-0.99.0 cd /usr/share/doc mkdir ethereal cd ethereal unzip /sources/ethereal_eug_html_chunked.zip cd /sources #startup-notification ./getmd5 http://www.freedesktop.org/software/startup-notification/releases/startup-notification-0.8.tar.gz 9bba52ffe8c096cfeeaf7a1dcd9b943d tar -xzf startup-notification-0.8.tar.gz cd startup-notification-0.8 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../startup-notification.out install -m644 -D doc/startup-notification.txt /usr/share/doc/startup-notification-0.8/startup-notification.txt cd .. grep startup-notification.out -ie '^make.*error' || rm -rf startup-notification-0.8 #libwnck ./getmd5 http://ftp.gnome.org/pub/gnome/sources/libwnck/2.14/libwnck-2.14.3.tar.bz2 5796c0c26c5dfbad6d4fdf77858feae6 tar -xjf libwnck-2.14.3.tar.bz2 cd libwnck-2.14.3 (./configure --prefix=/usr --enable-gtk-doc && make && make install) 2>&1 | tee -a ../libwnck.out cd .. grep libwnck.out -ie '^make.*error' || rm -rf libwnck-2.14.3 #shared-mime-info ./getmd5 http://freedesktop.org/~hadess/shared-mime-info-0.17.tar.gz f1014ad243b5245279c0abe1b95d9e38 tar -xzf shared-mime-info-0.17.tar.gz cd shared-mime-info-0.17 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../shared-mime-info.out echo 'export XDG_DATA_DIRS=/usr/share' >> /etc/profile cd .. grep shared-mime-info.out -ie '^make.*error' || rm -rf shared-mime-info-0.17 #hicolor-icon-theme ./getmd5 http://icon-theme.freedesktop.org/releases/hicolor-icon-theme-0.9.tar.gz 1d0821cb80d394eac30bd8cec5b0b60c tar -xzf hicolor-icon-theme-0.9.tar.gz cd hicolor-icon-theme-0.9 (./configure --prefix=/usr && make install) 2>&1 | tee -a ../hicolor-icon-theme.out cd .. grep hicolor-icon-theme.out -ie '^make.*error' || rm -rf hicolor-icon-theme-0.9 #libxklavier ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/gswitchit/libxklavier-2.2.tar.gz a9c2e53ea96ed138b588df5a9b9addaf tar -xzf libxklavier-2.2.tar.gz cd libxklavier-2.2 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../libxklavier.out cd .. grep libxklavier.out -ie '^make.*error' || rm -rf libxklavier-2.2 #OpenOffice #due to disk space limitations we will install a pre-compiled binary, but download the sources for the future... #the binary comes from #http://download.openoffice.org/2.0.3/contribute.html?product=OpenOffice.org&os=linuxintel&lang=en&version=2.0.3 ./getmd5 ftp://ftp.ussg.iu.edu/pub/openoffice/stable/2.0.3/OOo_2.0.3_src.tar.gz f68832ff3458664ae2b741ec67d30104 wget http://www.linuxfromscratch.org/patches/blfs/svn/OOo_2.0.3-xauth-1.patch wget http://www.linuxfromscratch.org/patches/blfs/svn/OOo_2.0.3-no_pam-1.patch wget http://www.linuxfromscratch.org/patches/blfs/svn/OOo_2.0.3-system_mozilla_fixes-1.patch tar -xzf OOo_2.0.3_LinuxIntel_install.tar.gz cd OOC680_m7_native_packed-1_en-US.9044/RPMS for file in *.rpm ; do (rpminstall $file) 2>&1 | tee -a ../../OOo.out done cd ../.. rm -rf OOC680_m7_native_packed-1_en-US.9044 cat >> /etc/profile << "EOF" export PATH=$PATH:/opt/openoffice.org2.0/program EOF #SDL ./getmd5 http://www.libsdl.org/release/SDL-1.2.11.tar.gz 418b42956b7cd103bfab1b9077ccc149 tar -xzf SDL-1.2.11.tar.gz cd SDL-1.2.11 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../SDL.out install -m755 -d /usr/share/doc/SDL-1.2.11/html install -m644 docs/html/*.html /usr/share/doc/SDL-1.2.11/html #we'll not run the tests since we are in a remote chroot and X is not available to us #(cd test && ./configure && make) 2>&1 | tee -a ../SDL.out #cd test #for f in checkkeys graywin loopwave test* threadwin ; do if [ -x $f ]; then (./$f) 2>&1 | tee -a ../../SDL.out ; fi ; done #cd .. cd .. grep SDL.out -ie '^make.*error' || rm -rf SDL-1.2.11 #Libao ./getmd5 http://downloads.xiph.org/releases/ao/libao-0.8.6.tar.gz 12e136a4c0995068ff134997c84421ed tar -xzf libao-0.8.6.tar.gz cd libao-0.8.6 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../libao.out cd .. grep libao.out -ie '^make.*error' || rm -rf libao-0.8.6 #LibMPEG3 ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/heroines/libmpeg3-1.6-src.tar.bz2 08ad35f5a88a59eb2b85ed7d912257e0 wget http://www.linuxfromscratch.org/patches/blfs/svn/libmpeg3-1.6-blfs_install-1.patch tar -xjf libmpeg3-1.6-src.tar.bz2 cd libmpeg3-1.6 (patch -Np1 -i ../libmpeg3-1.6-blfs_install-1.patch) 2>&1 | tee -a ../libmpeg3.out (./configure && make && make install) 2>&1 | tee -a ../libmpeg3.out cd .. grep libmpeg3.out -ie '^make.*error' || rm -rf libmpeg3-1.6 #libmad ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/mad/libmad-0.15.1b.tar.gz 1be543bc30c56fb6bea1d7bf6a64e66c tar -xzf libmad-0.15.1b.tar.gz cd libmad-0.15.1b (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../libmad.out cat > /usr/lib/pkgconfig/mad.pc << "EOF" prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: mad Description: MPEG audio decoder Requires: Version: 0.15.1b Libs: -L${libdir} -lmad Cflags: -I${includedir} EOF cd .. grep libmad.out -ie '^make.*error' || rm -rf libmad-0.15.1b #LAME ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/lame/lame-3.96.1.tar.gz e1206c46a5e276feca11a7149e2fc6ac tar -xzf lame-3.96.1.tar.gz cd lame-3.96.1 (./configure --prefix=/usr --enable-mp3rtp --enable-mp3x && make && make test) 2>&1 | tee -a ../lame.out (make install) 2>&1 | tee -a ../lame.out cd .. grep lame.out -ie '^make.*error' || rm -rf lame-3.96.1 #libdv ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/libdv/libdv-0.104.tar.gz f6b08efce7472daa20685e6e8431f542 tar -xzf libdv-0.104.tar.gz cd libdv-0.104 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../libdv.out install -m755 -d /usr/share/doc/libdv-0.104 install -m644 README* /usr/share/doc/libdv-0.104 cd .. grep libdv.out -ie '^make.*error' || rm -rf libdv-0.104 #libquicktime ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/libquicktime/libquicktime-0.9.9.tar.gz 4ac23264f22a22ff013722aa9d188190 tar -xzf libquicktime-0.9.9.tar.gz cd libquicktime-0.9.9 (./configure --prefix=/usr && make && doxygen && make install) 2>&1 | tee -a ../libquicktime.out install -m755 -d /usr/share/doc/libquicktime-0.9.9/api install -m644 README doc/{*.html,mainpage.incl} /usr/share/doc/libquicktime-0.9.9 install -m644 doc/html/* /usr/share/doc/libquicktime-0.9.9/api cd .. grep libquicktime.out -ie '^make.*error' || rm -rf libquicktime-0.9.9 #libFAME ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/fame/libfame-0.9.1.tar.gz 880085761e17a3b4fc41f4f6f198fd3b wget http://www.linuxfromscratch.org/patches/blfs/svn/libfame-0.9.1-gcc34-1.patch tar -xzf libfame-0.9.1.tar.gz cd libfame-0.9.1 (patch -Np1 -i ../libfame-0.9.1-gcc34-1.patch) 2>&1 | tee -a ../libfame.out sed -i 's/$CC --version/$CC -dumpversion/' configure (./configure --prefix=/usr --enable-sse && make && make install) 2>&1 | tee -a ../libfame.out cd .. grep libfame.out -ie '^make.*error' || rm -rf libfame-0.9.1 #Id3lib ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/id3lib/id3lib-3.8.3.tar.gz 19f27ddd2dda4b2d26a559a4f0f402a7 wget http://www.linuxfromscratch.org/patches/blfs/svn/id3lib-3.8.3-test_suite-1.patch tar -xzf id3lib-3.8.3.tar.gz cd id3lib-3.8.3 (patch -Np1 -i ../id3lib-3.8.3-test_suite-1.patch) 2>&1 | tee -a ../id3lib.out (./configure --prefix=/usr && make && make check) 2>&1 | tee -a ../id3lib.out (make install) 2>&1 | tee -a ../id3lib.out install -m755 -d /usr/share/doc/id3lib-3.8.3 install -m644 doc/*.{gif,jpg,png,ico,css,txt,php,html} /usr/share/doc/id3lib-3.8.3 cd .. grep id3lib.out -ie '^make.*error' || rm -rf id3lib-3.8.3 #FLAC ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/flac/flac-1.1.2.tar.gz 2bfc127cdda02834d0491ab531a20960 wget http://www.linuxfromscratch.org/patches/blfs/svn/flac-1.1.2-xmms_plugin_fix-1.patch tar -xzf flac-1.1.2.tar.gz cd flac-1.1.2 (patch -Np1 -i ../flac-1.1.2-xmms_plugin_fix-1.patch) 2>&1 | tee -a ../flac.out (LIBS=-lm ./configure --prefix=/usr --enable-sse && make) 2>&1 | tee -a ../flac.out #don't do this next time unless you have something else to do for a LONG time... almost 2 hours on an Athlon 1800+. (make check) 2>&1 | tee -a ../flac.out (make install) 2>&1 | tee -a ../flac.out cd .. grep flac.out -ie '^make.*error' rm -rf flac-1.1.2 #libdvdcss ./getmd5 http://www.videolan.org/pub/libdvdcss/1.2.9/libdvdcss-1.2.9.tar.bz2 553383d898826c285afb2ee453b07868 tar -xjf libdvdcss-1.2.9.tar.bz2 cd libdvdcss-1.2.9 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../libdvdcss.out install -m755 -d /usr/share/doc/libdvdcss-1.2.9/html install -m644 doc/html/* /usr/share/doc/libdvdcss-1.2.9/html cd .. grep libdvdcss.out -ie '^make.*error' || rm -rf libdvdcss-1.2.9 #Libdvdread ./getmd5 http://www.dtek.chalmers.se/groups/dvd/dist/libdvdread-0.9.6.tar.gz 329401b84ad0b00aaccaad58f2fc393c tar -xzf libdvdread-0.9.6.tar.gz cd libdvdread-0.9.6 (./configure --prefix=/usr --with-libdvdcss && make && make install) 2>&1 | tee -a ../libdvdread.out cd .. grep libdvdread.out -ie '^make.*error' || rm -rf libdvdread-0.9.6 #Liba52 ./getmd5 http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz caa9f5bc44232dc8aeea773fea56be80 tar -xzf a52dec-0.7.4.tar.gz cd a52dec-0.7.4 (./configure --prefix=/usr --enable-shared && make && make check) 2>&1 | tee -a ../a52dec.out (make install) 2>&1 | tee -a ../a52dec.out install -m644 -D doc/liba52.txt /usr/share/doc/liba52-0.7.4/liba52.txt cd .. grep a52dec.out -ie '^make.*error' || rm -rf a52dec-0.7.4 #XviD ./getmd5 http://downloads.xvid.org/downloads/xvidcore-1.1.0.tar.bz2 359eebc5fb496a2bf7b15010059e7897 tar -xjf xvidcore-1.1.0.tar.bz2 cd xvidcore-1.1.0 (cd build/generic && ./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../xvidcore.out cd build/generic chmod 755 /usr/lib/libxvidcore.so.4.1 ln -sf libxvidcore.so.4.1 /usr/lib/libxvidcore.so.4 ln -sf libxvidcore.so.4 /usr/lib/libxvidcore.so install -m755 -d /usr/share/doc/xvidcore-1.1.0/examples install -m644 ../../doc/* /usr/share/doc/xvidcore-1.1.0 install -m644 ../../examples/* /usr/share/doc/xvidcore-1.1.0/examples cd /sources grep xvidcore.out -ie '^make.*error' || rm -rf xvidcore-1.1.0 #Libmikmod ./getmd5 http://mikmod.raphnet.net/files/libmikmod-3.1.11.tar.gz 705106da305e8de191549f1e7393185c wget http://mikmod.raphnet.net/files/libmikmod-3.1.11-a.diff tar -xzf libmikmod-3.1.11.tar.gz cd libmikmod-3.1.11 (patch -Np1 -i ../libmikmod-3.1.11-a.diff) 2>&1 | tee -a ../libmikmod.out sed -i -e "s/VERSION=10/VERSION=11/" -e "s/sys_asoundlib/alsa_asoundlib/" -e "s/snd_cards/snd_card_load/g" -e "s|sys/asoundlib.h|alsa/asoundlib.h|g" -e "s/^LIBOBJS/#LIBOBJS/" configure.in (autoconf && ./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../libmikmod.out chmod 755 /usr/lib/libmikmod.so.2.0.4 install -m644 -D docs/mikmod.html /usr/share/doc/libmikmod-3.1.11/mikmod.html cd .. grep libmikmod.out -ie '^make.*error' || rm -rf libmikmod-3.1.11 #libmusicbrainz ./getmd5 http://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-2.1.2.tar.gz 88d35af903665fecbdee77eb6d5e6cdd tar -xzf libmusicbrainz-2.1.2.tar.gz cd libmusicbrainz-2.1.2 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../libmusicbrainz.out install -m644 -D docs/mb_howto.txt /usr/share/doc/libmusicbrainz-2.1.2/mb_howto.txt cd .. grep libmusicbrainz.out -ie '^make.*error' || rm -rf libmusicbrainz-2.1.2 #libmpeg2 ./getmd5 http://libmpeg2.sourceforge.net/files/mpeg2dec-0.4.0b.tar.gz 52d10ea80595ec83d8557ba7ac6dc8e6 tar -xzf mpeg2dec-0.4.0b.tar.gz cd mpeg2dec-0.4.0 (./configure --prefix=/usr --enable-shared && make && make check) 2>&1 | tee -a ../mpeg2dec.out (make install) 2>&1 | tee -a ../mpeg2dec.out install -m755 -d /usr/share/doc/mpeg2dec-0.4.0b install -m644 README doc/libmpeg2.txt /usr/share/doc/mpeg2dec-0.4.0b install -m755 doc/sample? /usr/share/doc/mpeg2dec-0.4.0b cd .. grep mpeg2dec.out -ie '^make.*error' || rm -rf mpeg2dec-0.4.0 #Vorbis Tools ./getmd5 http://downloads.xiph.org/releases/vorbis/vorbis-tools-1.1.1.tar.gz 47845fd76f5f2354a3619c4097575487 tar -xzf vorbis-tools-1.1.1.tar.gz cd vorbis-tools-1.1.1 (./configure --prefix=/usr --enable-vcut && make && make install) 2>&1 | tee -a ../vorbis-tools.out cd .. grep vorbis-tools.out -ie '^make.*error' || rm -rf vorbis-tools-1.1.1 #CDParanoia ./getmd5 http://www.xiph.org/paranoia/download/cdparanoia-III-alpha9.8.src.tgz 7218e778b5970a86c958e597f952f193 tar -xzf cdparanoia-III-alpha9.8.src.tgz cd cdparanoia-III-alpha9.8 sed -i '/default:/a break;' interface/utils.h (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../cdparanoia.out chmod 755 /usr/lib/libcdda_*.so.0.9.8 cd .. grep cdparanoia.out -ie '^make.*error' || rm -rf cdparanoia-III-alpha9.8 #FreeTTS ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/freetts/freetts-1.2.1-src.zip f3e3ceae5b8cb5e175b50931f2e350e8 ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/freetts/freetts-1.2.1-tst.zip 8e461701ee94b3942cc37783f6de4128 unzip -q freetts-1.2.1-src.zip -x META-INF/* unzip -q freetts-1.2.1-tst.zip -x {META-INF/*,freetts-1.2.1/{acknowledgments.txt,license.terms}} cd freetts-1.2.1 cd lib #interactive... sh jsapi.sh cd .. #regression.sh not found... (ant && ant junit && sh regression.sh) 2>&1 | tee -a ../freetts.out install -m755 -d /opt/freetts-1.2.1/{lib,docs/{audio,images}} install -m644 lib/*.jar /opt/freetts-1.2.1/lib install -m644 *.txt RELEASE_NOTES license.terms docs/*.{pdf,html,txt,sx{w,d}} /opt/freetts-1.2.1/docs install -m644 docs/audio/* /opt/freetts-1.2.1/docs/audio install -m644 docs/images/* /opt/freetts-1.2.1/docs/images cp -R javadoc /opt/freetts-1.2.1 ln -s freetts-1.2.1 /opt/freetts cp -R bin /opt/freetts-1.2.1 install -m644 speech.properties /opt/jdk/jdk/jre/lib cp -R tools /opt/freetts-1.2.1 cp -R mbrola /opt/freetts-1.2.1 cp -R demo /opt/freetts-1.2.1 cd .. rm -rf freetts-1.2.1 #LIVE555 Streaming Media - not in BLFS-090406 wget http://www.live555.com/liveMedia/public/live.2006.09.18.tar.gz tar -xzf live.2006.09.18.tar.gz cd live (./genMakefiles linux && make) 2>&1 | tee -a ../live.out cd .. grep live.out -ie '^make.*error' || mv live /usr/local #MPlayer ./getmd5 http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.0pre7try2.tar.bz2 aaca4fd327176c1afb463f0f047ef6f4 wget http://www.linuxfromscratch.org/patches/blfs/svn/MPlayer-1.0pre7try2-gcc4-1.patch wget http://www.linuxfromscratch.org/patches/blfs/svn/MPlayer-1.0pre7try2-round_function_fix-1.patch wget http://www.linuxfromscratch.org/patches/blfs/svn/MPlayer-1.0pre7try2-x264_fixes-1.patch wget http://www.linuxfromscratch.org/patches/blfs/svn/MPlayer-1.0pre7try2-jack_fixes-1.patch wget http://www.linuxfromscratch.org/patches/blfs/svn/MPlayer-1.0pre7try2-kernel_2.6-1.patch wget http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20060611.tar.bz2 ./getmd5 http://www.mplayerhq.hu/MPlayer/Skin/Blue-1.6.tar.bz2 6c0ba3226ed39980b3bf7740bef4a39a ./getmd5 http://www1.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2 1ecd31d17b51f16332b1fcc7da36b312 tar -xjf MPlayer-1.0pre7try2.tar.bz2 cd MPlayer-1.0pre7try2 install -d -m755 /usr/lib/mplayer/codecs tar -xf ../all-20060611.tar.bz2 -C /usr/lib/mplayer/codecs --strip-components=1 chown -R root:root /usr/lib/mplayer/codecs install -d -m755 /usr/share/mplayer/Skin tar -xf ../Blue-1.6.tar.bz2 -C /usr/share/mplayer/Skin chown -R root:root /usr/share/mplayer/Skin/Blue chmod 755 /usr/share/mplayer/Skin/Blue{,/icons} ln -sf Blue /usr/share/mplayer/Skin/default sed -i 's/getline/vobsub_&/' vobsub.c (patch -Np1 -i ../MPlayer-1.0pre7try2-kernel_2.6-1.patch && patch -Np1 -i ../MPlayer-1.0pre7try2-gcc4-1.patch && patch -Np1 -i ../MPlayer-1.0pre7try2-round_function_fix-1.patch && patch -Np1 -i ../MPlayer-1.0pre7try2-jack_fixes-1.patch && patch -Np1 -i ../MPlayer-1.0pre7try2-x264_fixes-1.patch) 2>&1 | tee -a ../MPlayer.out #configure needs --with-livelibdir regardless of what mplayer told us (./configure --prefix=/usr --confdir=/etc/mplayer --enable-largefiles --enable-live --with-codecsdir=/usr/lib/mplayer/codecs --enable-gui --enable-menu --enable-shared-pp --disable-fastmemcpy --with-livelibdir=/usr/local/live/) 2>&1 | tee -a ../MPlayer.out (make && make install) 2>&1 | tee -a ../MPlayer.out install -m755 -d /usr/share/doc/mplayer-1.0pre7try2 cp -R DOCS/* /usr/share/doc/mplayer-1.0pre7try2 ln -s libdha.so.1.0 /usr/lib/libdha.so install -m644 etc/*.conf /etc/mplayer echo "dev.rtc.max-user-freq=1024" >> /etc/sysctl.conf echo "modprobe rtc" >> /etc/rc.d/init.d/configure tar -xf ../font-arial-iso-8859-1.tar.bz2 -C /usr/share/mplayer/font chown -R root:root /usr/share/mplayer/font cd /usr/share/mplayer/font ln -sf font-arial-iso-8859-1/font-arial-14-iso-8859-1/* . cd /sources grep MPlayer.out -ie '^make.*error' || rm -rf MPlayer-1.0pre7try2 #FFmpeg ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/ffmpeg/ffmpeg-0.4.9-pre1.tar.gz ea5587e3c66d50b1503b82ac4179c303 wget http://www.linuxfromscratch.org/patches/blfs/svn/ffmpeg-0.4.9-pre1-gcc4-1.patch wget http://www.linuxfromscratch.org/patches/blfs/svn/ffmpeg-0.4.9-pre1-amr_fixes-1.patch tar -xzf ffmpeg-0.4.9-pre1.tar.gz cd ffmpeg-0.4.9-pre1 (patch -Np1 -i ../ffmpeg-0.4.9-pre1-gcc4-1.patch && patch -Np1 -i ../ffmpeg-0.4.9-pre1-amr_fixes-1.patch) 2>&1 | tee -a ../ffmpeg.out sed -i "s/static uint64/const uint64/" libavcodec/liba52/resample_mmx.c (./configure --prefix=/usr --enable-shared --enable-pthreads --disable-ffplay --enable-mp3lame --enable-vorbis --enable-a52 --enable-shared-pp --enable-gpl && make && make install) 2>&1 | tee -a ../ffmpeg.out install -m755 -d /usr/share/doc/ffmpeg-0.4.9-pre1 install -m644 doc/*.html /usr/share/doc/ffmpeg-0.4.9-pre1 cd .. grep ffmpeg.out -ie '^make.*error' || rm -rf ffmpeg-0.4.9-pre1 #Avifile ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/avifile/avifile-0.7-0.7.45.tar.bz2 7da94802f120d1b69e04a13170dcd21d ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/avifile/binaries-011002.tgz 4db4edeeceefb9353b15b047207fa6d3 tar -xjf avifile-0.7-0.7.45.tar.bz2 cd avifile-0.7-0.7.45 install -d -m755 /usr/lib/avifile-0.7/win32 tar -xf ../binaries-011002.tgz -C /usr/lib/avifile-0.7 #xvid will not be used because we are in a chroot environment and X is not available (?) (./configure --prefix=/usr --with-win32-path=/usr/lib/avifile-0.7/win32 && make && make install) 2>&1 | tee -a ../avifile.out cd .. grep avifile.out -ie '^make.*error' || rm -rf avifile-0.7-0.7.45 #MMX Jpeg - not in BLFS-090406 wget http://superb-east.dl.sourceforge.net/sourceforge/mjpeg/jpeg-mmx-0.1.6.tar.gz tar -xzf jpeg-mmx-0.1.6.tar.gz cd jpeg-mmx (./configure && make && make test) 2>&1 | tee -a ../jpeg-mmx.out cd .. grep jpeg-mmx.out -ie '^make.*error' #MJPEG Tools - not in BLFS-090406 wget http://superb-east.dl.sourceforge.net/sourceforge/mjpeg/mjpegtools-1.8.0.tar.gz tar -xzf mjpegtools-1.8.0.tar.gz cd mjpegtools-1.8.0 #libquicktime 0.9.9 changes interface #see http://www.mail-archive.com/mjpeg-users@lists.sourceforge.net/msg06907.html sed -i.orig -e 's/fileno(((quicktime_t \*)lav_file->qt_fd)->stream)/lqt_fileno((quicktime_t \*)lav_file->qt_fd)/' lavtools/lav_io.c (./configure --with-jpeg-mmx=/sources/jpeg-mmx --enable-large-file) 2>&1 | tee -a ../mjpegtools.out (make && make install) 2>&1 | tee -a ../mjpegtools.out cd .. ldconfig grep mjpegtools.out -ie '^make.*error' || (rm -rf mjpegtools-1.8.0 && rm -rf jpeg-mmx) #Transcode ./getmd5 http://anduin.linuxfromscratch.org/sources/BLFS/svn/t/transcode-1.0.2.tar.gz e353c0ab7e927a8672528e05a9ae960b tar -xzf transcode-1.0.2.tar.gz cd transcode-1.0.2 #can't get it to use postproc or lzo - even though it is looking in the right places for them, it errors #gcc 3 doesn't help here (./configure --prefix=/usr --enable-netstream --enable-v4l --enable-freetype2 --enable-avifile --enable-ogg --enable-vorbis --enable-libdv --enable-libquicktime --enable-a52 --enable-libmpeg3 --enable-libxml2 --enable-mjpegtools --enable-sdl --enable-gtk --enable-libfame --enable-oss --enable-imagemagick) 2>&1 | tee -a ../transcode.out (make && make install) 2>&1 | tee -a ../transcode.out cd .. grep transcode.out -ie '^make.*error' || rm -rf transcode-1.0.2 #Cdrtools ./getmd5 http://gd.tuwien.ac.at/utils/schilling/cdrtools/cdrtools-2.01.tar.bz2 d44a81460e97ae02931c31188fe8d3fd wget http://www.linuxfromscratch.org/patches/blfs/svn/cdrtools-2.01-mkisofs_iconv-1.patch wget http://www.linuxfromscratch.org/patches/blfs/svn/cdrtools-2.01-ascii-2.patch tar -xjf cdrtools-2.01.tar.bz2 cd cdrtools-2.01 (patch -Np1 -i ../cdrtools-2.01-mkisofs_iconv-1.patch && patch -Np1 -i ../cdrtools-2.01-ascii-2.patch) 2>&1 | tee -a ../cdrtools.out (make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root && make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install) 2>&1 | tee -a ../cdrtools.out install -m755 -d /usr/share/doc/cdrtools-2.01 install -m644 README* ABOUT doc/*.ps /usr/share/doc/cdrtools-2.01 cd .. grep cdrtools.out -ie '^make.*error' || rm -rf cdrtools-2.01 #Cdrdao ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/cdrdao/cdrdao-1.2.1.tar.bz2 f93f3e68ec5b53ec1a776df73a1def60 tar -xjf cdrdao-1.2.1.tar.bz2 cd cdrdao-1.2.1 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../cdrdao.out install -m755 -d /usr/share/doc/cdrdao-1.2.1 install -m644 README* /usr/share/doc/cdrdao-1.2.1 cd .. grep cdrdao.out -ie '^make.*error' || rm -rf cdrdao-1.2.1 #UDFtools ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/linux-udf/udftools-1.0.0b3.tar.gz 2f491ddd63f31040797236fe18db9e60 wget http://w1.894.telia.com/~u89404340/patches/packet/udftools-1.0.0b3.patch.bz2 tar -xzf udftools-1.0.0b3.tar.gz cd udftools-1.0.0b3 (bzcat ../udftools-1.0.0b3.patch.bz2 | patch -Np1) 2>&1 | tee -a ../udftools.out sed -i -e 's/(char\*)spm +=/spm = (char\*)spm +/' wrudf/wrudf.c (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../udftools.out cd .. grep udftools.out -ie '^make.*error' || rm -rf udftools-1.0.0b3 #dvd+rw-tools ./getmd5 http://fy.chalmers.se/~appro/linux/DVD+RW/tools/dvd+rw-tools-6.1.tar.gz d6bad594e55a2e0d7cf76ce452fce399 tar -xzf dvd+rw-tools-6.1.tar.gz cd dvd+rw-tools-6.1 (make all rpl8 btcflash && make prefix=/usr install) 2>&1 | tee -a ../dvd+rw-tools.out install -m644 -D index.html /usr/share/doc/dvd+rw-tools-6.1/index.html cd .. grep dvd+rw-tools.out -ie '^make.*error' || rm -rf dvd+rw-tools-6.1 #PSUtils ./getmd5 http://gd.tuwien.ac.at/publishing/tex/tex-utils/psutils/psutils-p17.tar.gz b161522f3bd1507655326afa7db4a0ad tar -xzf psutils-p17.tar.gz cd psutils sed 's@/usr/local@/usr@g' Makefile.unix > Makefile (make && make install) 2>&1 | tee -a ../psutils.out cd .. grep psutils.out -ie '^make.*error' rm -rf psutils #a2ps ./getmd5 http://ftp.gnu.org/gnu/a2ps/a2ps-4.13b.tar.gz 0c8e0c31b08c14f7a7198ce967eb3281 tar -xzf a2ps-4.13b.tar.gz cd a2ps-4.13 sed -i "s|emacs||" contrib/Makefile.in sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh sed -i "s|/usr/local/share|/usr/share|" configure sed -i "s|char \*malloc ();|/* & */|" lib/path-concat.c (./configure --prefix=/usr --sysconfdir=/etc/a2ps --localstatedir=/var --enable-shared --with-medium=letter && make && make check) 2>&1 | tee -a ../a2ps.out (make install) 2>&1 | tee -a ../a2ps.out cd .. grep a2ps.out -ie '^make.*error' rm -rf a2ps-4.13 #Enscript ./getmd5 http://fresh.t-systems-sfr.com/unix/src/misc/enscript-1.6.4.tar.gz b5174b59e4a050fb462af5dbf28ebba3 wget http://www.linuxfromscratch.org/patches/blfs/svn/enscript-1.6.4-security_fixes-1.patch tar -xzf enscript-1.6.4.tar.gz cd enscript-1.6.4 (patch -Np1 -i ../enscript-1.6.4-security_fixes-1.patch) 2>&1 | tee -a ../enscript.out (./configure --prefix=/usr --sysconfdir=/etc/enscript --localstatedir=/var --with-media=Letter && make && cd docs && texi2html enscript.texi && cd .. && make check) 2>&1 | tee -a ../enscript.out (make install) 2>&1 | tee -a ../enscript.out install -m755 -d /usr/share/doc/enscript-1.6.4 install -m644 README* *.txt docs/FAQ.html /usr/share/doc/enscript-1.6.4 install -m644 docs/*.html /usr/share/doc/enscript-1.6.4 cd .. grep enscript.out -ie '^make.*error' || rm -rf enscript-1.6.4 #GSview ./getmd5 http://gd.tuwien.ac.at/publishing/ghostscript/ghostgum/gsview-4.7.tar.gz ce6288cc8597d6b918498d6d02654bb7 wget http://www.linuxfromscratch.org/patches/blfs/svn/gsview-4.7-pstotext-1.patch tar -xzf gsview-4.7.tar.gz cd gsview-4.7 #gsview is not equipped for 5 digit version numbers sed -i.orig -e 's/919/91999/' src/gvcver.h sed 's|GSVIEW_ROOT=/usr/local|GSVIEW_ROOT=/usr|' srcunx/unx.mak > Makefile (patch -Np1 -i ../gsview-4.7-pstotext-1.patch) 2>&1 | tee -a ../gsview.out (make && make install) 2>&1 | tee -a ../gsview.out cd .. grep gsview.out -ie '^make.*error' || rm -rf gsview-4.7 #Xpdf ./getmd5 http://gd.tuwien.ac.at/publishing/xpdf/xpdf-3.01.tar.gz e004c69c7dddef165d768b1362b44268 wget ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.01pl2.patch tar -xzf xpdf-3.01.tar.gz cd xpdf-3.01 (patch -Np1 -i ../xpdf-3.01pl2.patch) 2>&1 | tee -a ../xpdf.out (./configure --prefix=/usr --sysconfdir=/etc --with-freetype2-includes=/usr/include/freetype2 --enable-opi --enable-multithreaded --enable-wordlist && make && make install) 2>&1 | tee -a ../xpdf.out cd .. grep xpdf.out -ie '^make.*error' || rm -rf xpdf-3.01 #paps ./getmd5 http://superb-east.dl.sourceforge.net/sourceforge/paps/paps-0.6.6.tar.gz cc0975e70fe1e704e16f2fb08c71cee2 tar -xzf paps-0.6.6.tar.gz cd paps-0.6.6 (./configure --prefix=/usr && make && make install) 2>&1 | tee -a ../paps.out cd .. grep paps.out -ie '^make.*error' || rm -rf paps-0.6.6 #and now for a few more that are not in BLFS-090406: #bladeenc wget http://bladeenc.mp3.no/source/bladeenc-0.94.2-src-stable.tar.gz tar -xzf bladeenc-0.94.2-src-stable.tar.gz cd bladeenc-0.94.2 (./configure && make && make install) 2>&1 | tee -a ../bladeenc.out cd .. grep bladeenc.out -ie '^make.*error' || rm -rf bladeenc-0.94.2 #dosfstools wget http://fresh.t-systems-sfr.com/linux/src/dosfstools-2.11.src.tar.gz tar -xzf dosfstools-2.11.src.tar.gz cd dosfstools-2.11/ (make && make install) 2>&1 | tee -a ../dosfstools.out cd .. grep dosfstools.out -ie '^make.*error' || rm -rf dosfstools-2.11/ #dvdauthor wget http://superb-east.dl.sourceforge.net/sourceforge/dvdauthor/dvdauthor-0.6.11.tar.gz tar -xzf dvdauthor-0.6.11.tar.gz cd dvdauthor-0.6.11 (./configure && make && make install) 2>&1 | tee -a ../dvdauthor.out cd .. grep dvdauthor.out -ie '^make.*error' || rm -rf dvdauthor-0.6.11 #endeavour wget http://wolfpack.twu.net/users/wolfpack/endeavour-2.7.1.tar.bz2 tar -xjf endeavour-2.7.1.tar.bz2 cd endeavour-2.7.1 (cd endeavour2/ && patch -i ../../krk.endeavour-2.7.1-noexec.patch) 2>&1 | tee -a ../endeavour.out (./configure Linux --prefix=/usr/local -v) 2>&1 | tee -a ../endeavour.out (make all && make install) 2>&1 | tee -a ../endeavour.out cd .. grep endeavour.out -ie '^make.*error' || rm -rf endeavour-2.7.1 #netcat wget http://osdn.dl.sourceforge.net/sourceforge/netcat/netcat-0.7.1.tar.bz2 tar -xjf netcat-0.7.1.tar.bz2 cd netcat-0.7.1 (./configure) 2>&1 | tee -a ../netcat.out (make && make install) 2>&1 | tee -a ../netcat.out cd .. grep netcat.out -ie '^make.*error' || rm -rf netcat-0.7.1 #sox wget http://superb-east.dl.sourceforge.net/sourceforge/sox/sox-12.18.2.tar.gz tar -xzf sox-12.18.2.tar.gz cd sox-12.18.2 (./configure && make && cd src/ && ./tests.sh && ./testall.sh) 2>&1 | tee -a ../sox.out (make install) 2>&1 | tee -a ../sox.out cd .. grep sox.out -ie '^make.*error' || rm -rf sox-12.18.2 #SoundStudio wget http://superb-east.dl.sourceforge.net/sourceforge/studio/SoundStudio-1.0.6.tar.gz tar -xzf SoundStudio-1.0.6.tar.gz cd SoundStudio #defaulted all inputs except first: /usr/local/SoundStudio (./build config) 2>&1 | tee -a ../SoundStudio.out (./build install) 2>&1 | tee -a ../SoundStudio.out #install of studio script failed for some reason... cp studio /usr/local/bin/ cd .. grep SoundStudio.out -ie '^make.*error' || rm -rf SoundStudio #vlock wget http://freshmeat.net/redir/vlock/16351/url_tgz/vlock-1.3.tar.gz tar -xzf vlock-1.3.tar.gz cd vlock-1.3 sed -i.orig -e 's/-DUSE_PAM/-DSHADOW_PWD/' -e 's%LDFLAGS =.*$%LDFLAGS = /usr/lib/libcrypt.so%' Makefile (make) 2>&1 | tee -a ../vlock.out install -m 4755 vlock /usr/local/bin/ cd .. grep vlock.out -ie '^make.*error' || rm -rf vlock-1.3 #xosview wget http://superb-east.dl.sourceforge.net/sourceforge/xosview/xosview-1.8.2.tar.gz tar -xzf xosview-1.8.2.tar.gz cd xosview-1.8.2 (./configure && make && make install) 2>&1 | tee -a ../xosview.out cd .. grep xosview.out -ie '^make.*error' || rm -rf xosview-1.8.2 #PVM wget http://www.netlib.org/pvm3/pvm3.4.5.tgz cd /usr/local tar -xzf /sources/pvm3.4.5.tgz cd pvm3 export PVM_ROOT=/usr/local/pvm3 echo 'export PVM_ROOT=/usr/local/pvm3' >> /etc/profile echo 'export PVM_RSH=/usr/bin/ssh' >> /etc/profile export CC=/opt/gcc-3.3.6/bin/gcc (make) 2>&1 | tee -a /sources/pvm.out cd /sources grep pvm.out -ie '^make.*error' unset CC #MPICH wget http://www-unix.mcs.anl.gov/mpi/mpich2/downloads/mpich2-1.0.4p1.tar.gz tar -xzf mpich2-1.0.4p1.tar.gz cd mpich2-1.0.4p1 (./configure --enable-cxx --enable-sharedlibs=gcc) 2>&1 | tee -a ../mpich2.out (make && make install) 2>&1 | tee -a ../mpich2.out cd .. grep mpich2.out -ie '^make.*error' rm -rf mpich2-1.0.4p1 #pit mkdir pit cd pit wget http://www.rwc.uc.edu/koehler/Makefile wget http://www.rwc.uc.edu/koehler/pit.c (make) 2>&1 | tee -a ../pit.out cp pit /usr/local/bin cd .. grep pit.out -ie '^make.*error' || (tar -czf pit.tgz pit/ && rm -rf pit) ldconfig compressdoc -g mandb -c rm /etc/resolv.conf rm /etc/hosts exit #when building anything in the future, you may need export XORG_PREFIX="/usr/X11R6" export QTDIR=/usr