Subject: pkg/22852: Use adequate install(1) in archivers/nomarch
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <jonathan@perkin.org.uk>
List: netbsd-bugs
Date: 09/19/2003 11:58:37
>Number:         22852
>Category:       pkg
>Synopsis:       Use adequate install(1) in archivers/nomarch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 19 11:59:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Perkin
>Release:        N/A
>Organization:
British Broadcasting Corporation
>Environment:
SunOS build1 5.9 Generic_112233-01 sun4u sparc SUNW,UltraSPARC-IIi-cEngine
>Description:
Best not to use the system default install(1), especially on Solaris...
>How-To-Repeat:
===> Installing for nomarch-1.3
/bin/sh ./mkinstalldirs /home/jonp/bulk/pkg/bin /home/jonp/bulk/pkg/man/man1
install -c -m 755 nomarch /home/jonp/bulk/pkg/bin
install: The -c, -f, -n options each require a directory following!
*** Error code 2
>Fix:
http://www.perkin.org.uk/projects/netbsd/nomarch.diff

Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/archivers/nomarch/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- distinfo    2002/12/13 18:38:08     1.1.1.1
+++ distinfo    2003/09/19 11:56:41
@@ -2,4 +2,4 @@
 
 SHA1 (nomarch-1.3.tar.gz) = 5f17dc8b8cbd843fd75ddaeb3d975714b5235b58
 Size (nomarch-1.3.tar.gz) = 22491 bytes
-SHA1 (patch-aa) = 3b8d2246089be7cec5d13cb4b61066c191b052b5
+SHA1 (patch-aa) = b674a96886f7cd0131f3577c68c5ee0fafc4f84e
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/archivers/nomarch/patches/patch-aa,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-aa
--- patches/patch-aa    2002/12/13 18:38:08     1.1.1.1
+++ patches/patch-aa    2003/09/19 11:56:41
@@ -18,8 +18,8 @@
  install: nomarch installdirs
 -      install -m 755 nomarch $(BINDIR)
 -      install -m 644 nomarch.1 $(MANDIR)
-+      install -c -m 755 nomarch $(BINDIR)
-+      install -c -m 644 nomarch.1 $(MANDIR)
++      $(INSTALL) -c -m 755 nomarch $(BINDIR)
++      $(INSTALL) -c -m 644 nomarch.1 $(MANDIR)
  
  uninstall:
        $(RM) $(BINDIR)/nomarch $(MANDIR)/nomarch.1
>Release-Note:
>Audit-Trail:
>Unformatted: