1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/mail/exim-old/files/patch-scripts::exim_install
Sheldon Hearn d52469e050 * Break eximon into its own port. The goal is to allow administrators
to install and use Exim from the packages without having to install
  XFree86.

* Remove a stale SEDLIST entry for BINOWN handling.

* Use LOCALBASE instead of PREFIX when referring to already installed
  software.

* Use more strict pattern matching in SEDLIST.

Folks who want eximon (the Exim monitor) must now either build exim
or one of its slave ports with WITH_EXIMON defined or install the
standalone exim-monitor package.
2001-08-27 13:23:52 +00:00

38 lines
1.3 KiB
Plaintext

*) Causes the configure file to be installed as a sample only. The
administrator needs to rename this file to "activate" exim.
--- scripts/exim_install.orig Mon Aug 2 17:43:03 1999
+++ scripts/exim_install Tue Aug 3 14:31:20 1999
@@ -199,25 +199,20 @@
fi
done
-
-
-# If there is no configuration file, install the default.
+# Install only a sample configuration, which encourages the admin to look
+# at it, since Exim won't run without a configure file.
echo $com ""
-if [ ! -f ${CONFIGURE_FILE} ]; then
- echo $com Installing default configuration in ${CONFIGURE_FILE}
- echo $com because there is no existing configuration file.
- echo ${CP} ../src/configure.default ${CONFIGURE_FILE}
- ${real} ${CP} ../src/configure.default ${CONFIGURE_FILE}
+ echo $com Installing default configuration file in ${CONFIGURE_FILE%/*}/configure.default
+ ${real} mkdir -p ${CONFIGURE_FILE%/*}
+ echo ${CP} ../src/configure.default ${CONFIGURE_FILE%/*}
+ ${real} ${CP} ../src/configure.default ${CONFIGURE_FILE%/*}
if [ $? -ne 0 ]; then
echo $com ""
echo $com "*** Exim installation ${ver}failed ***"
exit 1
fi
-else
- echo $com Configuration file ${CONFIGURE_FILE} already exists
-fi
# Install info files if the directory is defined and the Texinfo
# source documentation is present.