Bug 13369 - sendmail won't build w/o sendmail installed
Summary: sendmail won't build w/o sendmail installed
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: sendmail
Version: 6.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Florian La Roche
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-07-03 20:00 UTC by Seth Vidal
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2000-07-03 20:00:33 UTC
Embargoed:


Attachments (Terms of Use)

Description Seth Vidal 2000-07-03 20:00:32 UTC
Sendmail won't build unless sendmail is already installed.

its just a bug in the spec file - that calls makemap w/o an explicit path.

apply this patch:
--- sendmail.spec~	Thu Feb 17 17:50:13 2000
+++ sendmail.spec	Mon Jul  3 15:56:58 2000
@@ -185,11 +185,11 @@
   do
     touch $RPM_BUILD_ROOT/etc/mail/${map}
     chmod 0644 $RPM_BUILD_ROOT/etc/mail/${map}
-    makemap hash $RPM_BUILD_ROOT/etc/mail/${map}.db <
$RPM_BUILD_ROOT/etc/mail/${map}
+   $RPM_BUILD_ROOT/usr/sbin/makemap hash
$RPM_BUILD_ROOT/etc/mail/${map}.db < $RPM_BUILD_ROOT/etc/mail/${map}
     chmod 0644 $RPM_BUILD_ROOT/etc/mail/${map}.db
   done
 install -m644 %{SOURCE3} $RPM_BUILD_ROOT/etc/aliases
-makemap hash $RPM_BUILD_ROOT/etc/aliases.db < %{SOURCE3}
+$RPM_BUILD_ROOT/usr/sbin/makemap hash $RPM_BUILD_ROOT/etc/aliases.db <
%{SOURCE3}
 
 install -m644 %SOURCE4 $RPM_BUILD_ROOT/etc/sysconfig/sendmail
 install -m755 %SOURCE1 $RPM_BUILD_ROOT/etc/rc.d/init.d/sendmail


That should fix it.


Note You need to log in before you can comment on or make changes to this bug.