#!/bin/sh # First argument of this script is the package name # Reading system configuration informations, functions and package versions. source ../sysinfos source ../functions source ../packages-list # Applying patches (if any) apply_patches ${1} && cd ${LFS_TMP}/${1} && make -j ${MAKEJOBS} REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux && make install && # Creating /etc/hosts.allow cat > /etc/hosts.allow << "EOF" && ALL : LOCAL 192.168.0.0/255.255.255.0 : RFC931 EOF # Creating /etc/hosts.deny cat > /etc/hosts.deny << "EOF" ALL: ALL: RFC931 EOF # Return last error exit $?