MILTER_SPF="smf-spf-2.0.2"
MOC="moc-2.4.4"
KMOD="kmod-8"
+MMM_MODE="mmm-mode-purcell-2012-09-21"
MPC="mpc-0.9"
MPFR="mpfr-3.1.0"
MSMTP="msmtp-1.4.29"
PATCH_PACKAGE="patch-2.6.1"
PCIUTILS="pciutils-3.1.10"
MENU_CACHE="menu-cache-0.3.3"
-LIBFM="libfm-1.0"
-PCMANFM="pcmanfm-1.0.1"
+LIBFM="libfm-1.1.0"
+PCMANFM="pcmanfm-1.1.0"
PCRE="pcre-8.31"
PERL="perl-5.14.2"
PERL_MOD_PDL="PDL-2.4.9"
# accept the default configuration.
perl Makefile.PL -n ${CONFIGURE_OPTS}
else
+ if [ ! -f ${LFS_TMP}/${PACKAGE}/configure ]; then
+ if [ -f ${LFS_TMP}/${PACKAGE}/configure.in -o \
+ -f ${LFS_TMP}/${PACKAGE}/configure.ac ]; then
+ # Try to automatically generate missing configure script.
+ autoreconf -vi
+ fi
+ fi
+
# Standard configure script
${LFS_TMP}/${PACKAGE}/configure ${CONFIGURE_OPTS}
fi
source ../functions/main
+update-desktop-database
+
if [ -n "${REGUSER}" ]; then
- hv_useradd -g users -G audio,video,cdrom,usb,shutdown,halusers \
- -s /bin/bash -m ${REGUSER}
+ hv_useradd -g users -s /bin/bash -m ${REGUSER}
+
+ # Add user to these supplementary groups:
+ usermod -a -G audio,video,cdrom,usb,shutdown ${REGUSER}
fi
if [ "x${INST_TYPE}" = "xserver" -o "x${INST_TYPE}" = "xltsp-server" ]; then
# Apache
#########################################
READ_VALID="no"
-
+
while [ "${READ_VALID}" = "no" ]; do
echo "Do you want to generate SSL self-signed"
echo -n "certificate for Apache? (y/n): "
read USE_SSL
-
+
if [ "${USE_SSL}" = "y" -o "${USE_SSL}" = "n" ]; then
READ_VALID="yes"
else
echo "Error, answer y or n"
fi
done
-
+
if [ "${USE_SSL}" = "y" ]; then
/etc/apache/generate-ssl-certs
fi
-
+
#########################################
# imap
#########################################
READ_VALID="no"
-
+
while [ "${READ_VALID}" = "no" ]; do
echo "Do you want to generate SSL self-signed"
echo -n "certificate for IMAP server? (y/n): "
read USE_SSL
-
+
if [ "${USE_SSL}" = "y" -o "${USE_SSL}" = "n" ]; then
READ_VALID="yes"
else
echo "Error, answer y or n"
fi
done
-
+
if [ "${USE_SSL}" = "y" ]; then
/etc/mail/imap-ssl-certs
fi
-
fi
exit $?