From owner-freebsd-current Thu Jun 6 22:49:37 2002 Delivered-To: freebsd-current@freebsd.org Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by hub.freebsd.org (Postfix) with ESMTP id 82C3637B408; Thu, 6 Jun 2002 22:49:31 -0700 (PDT) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.3/8.12.3) with ESMTP id g575nVRs019997; Thu, 6 Jun 2002 22:49:31 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.12.3/8.12.3/Submit) id g575nVl8019996; Thu, 6 Jun 2002 22:49:31 -0700 (PDT) Date: Thu, 6 Jun 2002 22:49:31 -0700 From: Steve Kargl To: Gregory Neil Shapiro Cc: freebsd-current@FreeBSD.ORG Subject: Re: someone broke sendmail or install Message-ID: <20020606224931.B19711@troutmask.apl.washington.edu> References: <20020606214947.A19343@troutmask.apl.washington.edu> <15616.18197.377203.13176@horsey.gshapiro.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <15616.18197.377203.13176@horsey.gshapiro.net>; from gshapiro@FreeBSD.ORG on Thu, Jun 06, 2002 at 10:39:33PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 06, 2002 at 10:39:33PM -0700, Gregory Neil Shapiro wrote: > sgk> install -C -o root -g wheel -m 755 -d /usr/share/sendmail/cf > > Did you override $INSTALL in /etc/make.conf? > INSTALL is set to "install -C" in /etc/make.conf as documented in make.conf(5) and share/examples/etc/defaults/make.conf. > sgk> It seems ru@freebsd.org forgot to place an entry > sgk> in src/UPDATING that he purposely broke world. > > I'm curious what Makefile's are supposed to use if not ${INSTALL}. Well, I personally believe that if install's -d option is mutually exclusive of -bCcpSs, then install should reset things instead of issue an error. --- xinstall.c.orig Thu Jun 6 22:45:29 2002 +++ xinstall.c Thu Jun 6 22:46:39 2002 @@ -173,8 +173,11 @@ argv += optind; /* some options make no sense when creating directories */ - if ((safecopy || docompare || dostrip) && dodir) - usage(); + if (dodir) { + safecopy = 0; + docompare = 0; + dostrip = 0; + } /* must have at least two arguments, except when creating directories */ if (argc < 2 && !dodir) -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message