Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 2002 15:39:44 +0200 (CEST)
From:      Dan Lukes <dan@obluda.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/40340: [PATCH] share/sendmail/Makefile doesn't honor the $COPY
Message-ID:  <200207081339.g68Ddivo086224@kolej.mff.cuni.cz>

next in thread | raw e-mail | index | archive | help

>Number:         40340
>Category:       bin
>Synopsis:       [PATCH] share/sendmail/Makefile doesn't honor the $COPY
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 08 06:40:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dan Lukes
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
Obludarium
>Environment:
src/share/sendmail/Makefile,v 1.1.2.4 2001/06/04 18:24:05 
src/etc/defaults/make.conf,v 1.97.2.68 2002/07/02 05:07:23


>Description:
	The defaults/make.conf contain following:
# Compare before install
#INSTALL=install -C

	Uncommenting it broke those Makefiles that use ${INSTALL} -d to
create directories - for example share/sendmail/Makefile 

	The COPY=-C should be suggested in make.conf instead.

	sendmail's Makefile doesn't honor the COPY value, so we should
correct it also.
		
>How-To-Repeat:
	N/A
>Fix:
*** etc/defaults/make.conf.ORIG	Sun Jul  7 10:21:10 2002
--- etc/defaults/make.conf	Mon Jul  8 15:33:54 2002
***************
*** 75,81 ****
  #COPTFLAGS= -O -pipe
  #
  # Compare before install
! #INSTALL=install -C
  #
  # To enable installing suidperl with the setuid bit turned on
  #ENABLE_SUIDPERL=	true
--- 75,81 ----
  #COPTFLAGS= -O -pipe
  #
  # Compare before install
! #COPY=-C
  #
  # To enable installing suidperl with the setuid bit turned on
  #ENABLE_SUIDPERL=	true
*** share/sendmail/Makefile.ORIG	Tue Jun  5 09:49:22 2001
--- share/sendmail/Makefile	Mon Jul  8 15:19:52 2002
***************
*** 26,32 ****
  	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 755 -d ${DDIR}/${dir}
  .endfor
  .for file in ${CFFILES}
! 	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${SENDMAIL_DIR}/${file} ${DDIR}/${file}
  .endfor
  
  symlinks::
--- 26,32 ----
  	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 755 -d ${DDIR}/${dir}
  .endfor
  .for file in ${CFFILES}
! 	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${SENDMAIL_DIR}/${file} ${DDIR}/${file}
  .endfor
  
  symlinks::


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207081339.g68Ddivo086224>