[SM-Commit] GIT changes to master grimoire by David Brown (7a54bf14b7237133cb0b654820dfc2843f739421)

David Brown scm at mail.sourcemage.org
Tue Oct 31 01:55:30 EST 2006


GIT changes to master grimoire by David Brown <dmlb2000 at gmail.com>:

 mail/exim/HISTORY |    3 ---
 mail/exim/INSTALL |   14 +++++++-------
 2 files changed, 7 insertions(+), 10 deletions(-)

New commits:
commit 7a54bf14b7237133cb0b654820dfc2843f739421
Author: David Brown <dmlb2000 at gmail.com>
Commit: David Brown <dmlb2000 at gmail.com>

    Revert "Fix the symlink madness"
    
    before this commit:
    root at dmlb2000:~# which sendmail
    /usr/sbin/sendmail
    root at dmlb2000:~# ls -l /usr/sbin/sendmail
    lrwxrwxrwx 1 root root 4 Oct 30 22:37 /usr/sbin/sendmail -> exim
    root at dmlb2000:~#
    
    after this commit:
    root at dmlb2000:~# which sendmail
    which: no sendmail in (/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/games:/usr/local/games:/usr/bin/X11:/root/bin)
    root at dmlb2000:~# ls -l /usr/sbin/sendmail
    lrwxrwxrwx 1 root root 13 Oct 30 22:42 /usr/sbin/sendmail -> usr/sbin/exim
    root at dmlb2000:~#
    
    if symlinks point to a relative path they use the directory they are in to find the file after your commit it was looking for a /usr/sbin/usr/sbin/exim file not the file you were thinking, your commit would have worked if you used absolute file paths (ie `ln -sf /usr/sbin/exim /usr/lib/sendmail)
    
    This reverts commit a7df4d07a92ddc60db69eb6cd592a47c17b7f76c.

diff --git a/mail/exim/HISTORY b/mail/exim/HISTORY
index 4c90419..90dca50 100644
--- a/mail/exim/HISTORY
+++ b/mail/exim/HISTORY
@@ -11,9 +11,6 @@
 	  it (Bug #10158).
 	  Removed config_queries (moved to CONFIGURE) (Bug #10158)
 	  Added missing check and dependency for postgresql (Bug #10158)
-	* INSTALL: Not sure what symlink magic was being played here, but the exim
-	  binary most certainly isn't in INSTALL_ROOT/, it's in
-	  INSTALL_ROOT/usr/sbin. Fixed the links appropriately.
 
 2006-03-12 Karsten Behrmann <BearPerson at sourcemage.org>
 	* DETAILS: (automated) Add KEYWORDS
diff --git a/mail/exim/INSTALL b/mail/exim/INSTALL
index e90366a..7a654b3 100755
--- a/mail/exim/INSTALL
+++ b/mail/exim/INSTALL
@@ -14,13 +14,13 @@ message "Look @ /usr/doc/exim/doc for co
 cp -v src/convert*.src doc/  &&
 
 pushd  $INSTALL_ROOT/                            &&
-ln     -sf  usr/sbin/exim   usr/lib/sendmail     &&
-ln     -sf  usr/sbin/exim   usr/sbin/sendmail    &&
-ln     -sf  usr/sbin/exim   usr/sbin/mailq       &&
-ln     -sf  usr/sbin/exim   usr/sbin/rsmtp       &&
-ln     -sf  usr/sbin/exim   usr/sbin/rmail       &&
-ln     -sf  usr/sbin/exim   usr/sbin/runq        &&
-ln     -sf  usr/sbin/exim   usr/sbin/newaliases  &&
+ln     -sf  ../sbin/exim   usr/lib/sendmail     &&
+ln     -sf  exim   usr/sbin/sendmail    &&
+ln     -sf  exim   usr/sbin/mailq       &&
+ln     -sf  exim   usr/sbin/rsmtp       &&
+ln     -sf  exim   usr/sbin/rmail       &&
+ln     -sf  exim   usr/sbin/runq        &&
+ln     -sf  exim   usr/sbin/newaliases  &&
 popd                                             &&
 
 if  install_config_file  src/configure.default         \



More information about the SM-Commit mailing list