pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/42976 ("install-sh" makes still required "-c" option)



The following reply was made to PR pkg/42976; it has been noted by GNATS.

From: Tim Zingelman <zingelman%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: pkg-manager%netbsd.org@localhost, solaris-pkg-people%netbsd.org@localhost, 
        pkgsrc-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
tron%netbsd.org@localhost, 
        tron%zhadum.org.uk@localhost
Subject: Re: pkg/42976 ("install-sh" makes still required "-c" option)
Date: Tue, 24 Aug 2010 11:50:36 -0500

 On Tue, Mar 16, 2010 at 2:22 AM,  <tron%netbsd.org@localhost> wrote:
 > Synopsis: "install-sh" makes still required "-c" option
 >
 > Responsible-Changed-From-To: solaris-pkg-people->pkg-manager
 > Responsible-Changed-By: tron%NetBSD.org@localhost
 > Responsible-Changed-When: Tue, 16 Mar 2010 07:22:40 +0000
 > Responsible-Changed-Why:
 > The "install-sh" package is used by multiple platforms, not only
 > by Solaris.
 
 Here's a patch... If I hear no concerns I'll commit it.  copy (vs. mv)
 seems to be default on every install I looked at (NetBSD 5.0.1,
 FreeBSD >= 6.4, Linux, Solaris 10) and this just brings install_sh in
 line with all the others...
 
 RCS file: /usr/cvs/pkgsrc/sysutils/install-sh/Makefile,v
 retrieving revision 1.7
 diff -w -u -b -r1.7 Makefile
 --- Makefile    9 Apr 2009 00:48:16 -0000       1.7
 +++ Makefile    24 Aug 2010 16:29:38 -0000
 @@ -1,6 +1,6 @@
 -# $NetBSD: Makefile,v 1.6 2009/04/08 22:43:25 joerg Exp $
 +# $NetBSD: Makefile,v 1.7 2009/04/09 00:48:16 joerg Exp $
 
 -DISTNAME=      install-sh-20070712
 +DISTNAME=      install-sh-20100824
  CATEGORIES=    sysutils
  MASTER_SITES=  # empty
  DISTFILES=     # empty
 Index: files/install-sh.in
 ===================================================================
 RCS file: /usr/cvs/pkgsrc/sysutils/install-sh/files/install-sh.in,v
 retrieving revision 1.4
 diff -w -u -b -r1.4 install-sh.in
 --- files/install-sh.in 12 Jul 2007 18:32:50 -0000      1.4
 +++ files/install-sh.in 24 Aug 2010 16:28:33 -0000
 @@ -44,7 +44,7 @@
  rmprog="${RMPROG-rm}"
  mkdirprog="${MKDIRPROG-mkdir}"
 
 -instcmd="$mvprog"
 +instcmd="$cpprog"
  pathcompchmodcmd="$chmodprog @DEFAULT_INSTALL_MODE@"
  chmodcmd="$chmodprog @DEFAULT_INSTALL_MODE@"
  chowncmd=""
 
 Thanks,
  - Tim
 
 p.s. this fixes install of scmgit-base on solaris and others that use
 install_sh too.
 


Home | Main Index | Thread Index | Old Index