Description: Accomodate source for installing exim as exim4. Author: Andreas Metzler Origin: vendor Forwarded: not-needed Last-Update: 2013-09-28 --- exim4-4.82~rc1.orig/OS/Makefile-Linux +++ exim4-4.82~rc1/OS/Makefile-Linux @@ -28,9 +28,9 @@ XLFLAGS=-L$(X11)/lib X11_LD_LIB=$(X11)/lib EXIWHAT_PS_ARG=ax -EXIWHAT_EGREP_ARG='/exim( |$$)' +EXIWHAT_EGREP_ARG='/exim4( |$$)' EXIWHAT_MULTIKILL_CMD=killall -EXIWHAT_MULTIKILL_ARG=exim +EXIWHAT_MULTIKILL_ARG=exim4 EXIWHAT_KILL_SIGNAL=-USR1 # End --- exim4-4.82~rc1.orig/src/exicyclog.src +++ exim4-4.82~rc1/src/exicyclog.src @@ -144,7 +144,7 @@ done st=' ' exim_path=`grep "^[$st]*exim_path" $config | sed "s/.*=[$st]*//"` -if test "$exim_path" = ""; then exim_path=BIN_DIRECTORY/exim; fi +if test "$exim_path" = ""; then exim_path=BIN_DIRECTORY/exim4; fi spool_directory=`$exim_path -C $config -bP spool_directory | sed 's/.*=[ ]*//'` --- exim4-4.82~rc1.orig/src/exim_checkaccess.src +++ exim4-4.82~rc1/src/exim_checkaccess.src @@ -52,7 +52,7 @@ done # a tab to keep the tab in one place. exim_path=`perl -ne 'chop;if (/^\s*exim_path\s*=\s*(.*)/){print "$1\n";last;}' $config` -if test "$exim_path" = ""; then exim_path=BIN_DIRECTORY/exim; fi +if test "$exim_path" = ""; then exim_path=BIN_DIRECTORY/exim4; fi ######################################################################### --- exim4-4.82~rc1.orig/src/eximon.src +++ exim4-4.82~rc1/src/eximon.src @@ -72,7 +72,7 @@ config=${EXIMON_EXIM_CONFIG-$config} st=' ' EXIM_PATH=`grep "^[$st]*exim_path" $config | sed "s/.*=[$st]*//"` -if test "$EXIM_PATH" = ""; then EXIM_PATH=BIN_DIRECTORY/exim; fi +if test "$EXIM_PATH" = ""; then EXIM_PATH=BIN_DIRECTORY/exim4; fi SPOOL_DIRECTORY=`$EXIM_PATH -C $config -bP spool_directory | sed 's/.*=[ ]*//'` LOG_FILE_PATH=`$EXIM_PATH -C $config -bP log_file_path | sed 's/.*=[ ]*//'` --- exim4-4.82~rc1.orig/src/exinext.src +++ exim4-4.82~rc1/src/exinext.src @@ -90,7 +90,7 @@ if [ "$exim_path" = "" ]; then exim_path=`grep "^[$st]*exim_path" $config | sed "s/.*=[$st]*//"` fi -if test "$exim_path" = ""; then exim_path=BIN_DIRECTORY/exim; fi +if test "$exim_path" = ""; then exim_path=BIN_DIRECTORY/exim4; fi spool_directory=`$exim_path $eximmacdef -C $config -bP spool_directory | sed 's/.*=[ ]*//'` qualify_domain=`$exim_path $eximmacdef -C $config -bP qualify_domain | sed 's/.*=[ ]*//'` @@ -171,7 +171,7 @@ perl - $exim_path "$eximmacdef" $argone # Run exim_dumpdb to get out the retry data and pick off what we want - open(DATA, "${exim}_dumpdb $spool retry |") || + open(DATA, "/usr/sbin/exim_dumpdb $spool retry |") || die "can't run exim_dumpdb"; while () --- exim4-4.82~rc1.orig/src/exiqgrep.src +++ exim4-4.82~rc1/src/exiqgrep.src @@ -21,7 +21,7 @@ use strict; use Getopt::Std; # Have this variable point to your exim binary. -my $exim = 'BIN_DIRECTORY/exim'; +my $exim = 'BIN_DIRECTORY/exim4'; my $eargs = '-bpu'; my %id; my %opt; --- exim4-4.82~rc1.orig/src/exiwhat.src +++ exim4-4.82~rc1/src/exiwhat.src @@ -88,7 +88,7 @@ fi st=' ' exim_path=`grep "^[$st]*exim_path" $config | sed "s/.*=[$st]*//"` -if test "$exim_path" = ""; then exim_path=BIN_DIRECTORY/exim; fi +if test "$exim_path" = ""; then exim_path=BIN_DIRECTORY/exim4; fi spool_directory=`$exim_path -C $config -bP spool_directory | sed "s/.*=[ ]*//"` process_log_path=`$exim_path -C $config -bP process_log_path | sed "s/.*=[ ]*//"` --- exim4-4.82~rc1.orig/src/globals.c +++ exim4-4.82~rc1/src/globals.c @@ -633,7 +633,7 @@ int errors_sender_rc = EXIT_FA gid_t exim_gid = EXIM_GID; BOOL exim_gid_set = TRUE; /* This gid is always set */ -uschar *exim_path = US BIN_DIRECTORY "/exim" +uschar *exim_path = US BIN_DIRECTORY "/exim4" "\0<---------------Space to patch exim_path->"; uid_t exim_uid = EXIM_UID; BOOL exim_uid_set = TRUE; /* This uid is always set */