diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2001-04-18 21:37:32 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2001-04-18 21:37:32 +0000 |
commit | 01a9f79f0a3692d8148990805beabc8593d3596d (patch) | |
tree | 99d1ef5788fc9e55b6948a7d4951ac4a315f63bf /mail/exim-old/files/patch-aa | |
parent | 8c307777eaf81af4195ae428b3ebbeba734fc5af (diff) |
Notes
Diffstat (limited to 'mail/exim-old/files/patch-aa')
-rw-r--r-- | mail/exim-old/files/patch-aa | 105 |
1 files changed, 0 insertions, 105 deletions
diff --git a/mail/exim-old/files/patch-aa b/mail/exim-old/files/patch-aa deleted file mode 100644 index 8d43ae95028e..000000000000 --- a/mail/exim-old/files/patch-aa +++ /dev/null @@ -1,105 +0,0 @@ -This patch makes four changes to the exim_install script: - -1) Changes the test used to determine whether a file should be installed - to cope with files which we "touch" to zero bytes for packaging - purposes. - -2) Causes an exim.sh startup script to be installed in the BSD-style - ${PREFIX}/etc/rc.d - -3) Causes the configure file to be installed as a sample only. The - administrator needs to rename this file to "activate" exim. - -4) Changes the invocation of make-info to be less prone to fail on - silly errors. XXX Check that this is still necessary from time - to time. - ---- scripts/exim_install.orig Mon Aug 2 17:43:03 1999 -+++ scripts/exim_install Tue Aug 3 14:31:20 1999 -@@ -142,9 +142,9 @@ - from=../util/ - fi - -- if [ ! -s ${from}${name} ]; then -+ if [ ! -r ${from}${name} ]; then - echo $com "" -- echo $com "*** `pwd`/${from}${name} does not exist or is empty" -+ echo $com "*** `pwd`/${from}${name} does not exist" - echo $com "*** Have you built Exim successfully?" - echo $com "*** Exim installation ${ver}failed ***" - exit 1 -@@ -195,25 +195,40 @@ - fi - done - -+# Install exim.sh startup script in FreeBSD's ${PREFIX}/etc/rc.d so that -+# exim will start up on boot once sendmail is disabled and -+# ${PREFIX}/etc/exim/configure is in place. - -+echo $com "" - --# If there is no configuration file, install the default. -+if [ -f ${PREFIX}/etc/rc.d/exim.sh ]; then -+ echo $com "${PREFIX}/etc/rc.d/exim.sh exists, not overwritten" -+else -+ echo $com "Installing exim.sh startup script in ${PREFIX}/etc/rc.d" -+ ${real} mkdir -p ${PREFIX}/etc/rc.d -+ echo ${CP} -p exim.sh ${PREFIX}/etc/rc.d/ -+ ${real} ${CP} -p exim.sh ${PREFIX}/etc/rc.d/ -+ if [ $? -ne 0 ]; then -+ echo $com "" -+ echo $com "**** Exim installation ${ver}failed ****" -+ exit 1 -+ fi -+fi -+ -+# 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 sample configuration file -+ ${real} mkdir -p ${CONFIGURE_FILE%/*} -+ echo ${CP} ../src/configure.default ${CONFIGURE_FILE}.sample -+ ${real} ${CP} ../src/configure.default ${CONFIGURE_FILE}.sample - 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. -@@ -235,19 +250,21 @@ - echo $com Info installation directory is ${INFO_DIRECTORY} - echo $com "" - -- makeinfo --no-split --output exim_overview.info ../doc/oview.texinfo -+ makeinfo --no-validate --no-split --output exim_overview.info \ -+ ../doc/oview.texinfo - echo ${CP} exim_overview.info ${INFO_DIRECTORY} - ${real} ${CP} exim_overview.info ${INFO_DIRECTORY} - install-info --section="Exim" \ - --entry "* Overview: (exim_overview). Overview of the Exim system" \ - ${INFO_DIRECTORY}/exim_overview.info ${INFO_DIRECTORY}/dir -- makeinfo --no-split --output exim.info ../doc/spec.texinfo -+ makeinfo --no-validate --no-split --output exim.info ../doc/spec.texinfo - echo ${CP} exim.info ${INFO_DIRECTORY} - ${real} ${CP} exim.info ${INFO_DIRECTORY} - install-info --section="Exim" \ - --entry "* User guide: (exim). Exim manual" \ - ${INFO_DIRECTORY}/exim.info ${INFO_DIRECTORY}/dir -- makeinfo --no-split --output exim_filter.info ../doc/filter.texinfo -+ makeinfo --no-validate --no-split --output exim_filter.info \ -+ ../doc/filter.texinfo - echo ${CP} exim_filter.info ${INFO_DIRECTORY} - ${real} ${CP} exim_filter.info ${INFO_DIRECTORY} - install-info --section="Exim" \ |