-#!/bin/sh
-
-LFS_STAGE=stage5
-
-export LFS_PKG_DIR="$(dirname $(pwd))/packages/${LFS_STAGE}"
-export LFS_LOG_DIR=/var/log/hvlinux-install/${LFS_STAGE}
-export LFS_LOG_FILE=${LFS_LOG_DIR}/install.log
-export LFS_TMP=/tmp
+#!/bin/bash
# Reading system configuration informations, functions and package versions.
-source ../sysinfos
+source ../config/sysinfos
source ../functions
-source ../packages-list
+hvtrap_setup
+source ../config/packages-list
source /etc/profile
if [ "x${USER}" != "xroot" ]; then
ipkg_cust ${MILTER_GREYLIST} cis-milter-greylist
fi
-# fcron needs sendmail installed.
-ipkg_cust ${FCRON} cis-fcron
-ipkg_cust ${GETDATE} cis-getdate
-
if [ "x${INST_TYPE}" = "xserver" -o "x${INST_TYPE}" = "xltsp-server" ]; then
ipkg_cust ${CLAMAV} cis-clamav
PERL_MOD_IO_COMPRESS_ZLIB="IO-Compress-Zlib-2.024"
PERL_MOD_COMPRESS_RAW_ZLIB="Compress-Raw-Zlib-2.024"
- ipkg_cust ${SPAMASSASSIN} cis-spamassassin
+ ipkg -m pm ${SPAMASSASSIN}
ipkg_cust ${UW_IMAP} cis-uw-imap
# Apache
ipkg_cust ${PHP} cis-php
ipkg_cust ${SQUIRRELMAIL} cis-squirrelmail
- ipkg_cust ${MAILMAN} cis-mailman
ipkg_ac ${FETCHMAIL} "--with-ssl"
ipkg_ac ${MUTT} "--enable-imap --with-ssl"