Subject: pkg/22906: Fix install target for sysutils/cpogm
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <jonathan@perkin.org.uk>
List: netbsd-bugs
Date: 09/23/2003 09:09:37
>Number:         22906
>Category:       pkg
>Synopsis:       Fix install target for sysutils/cpogm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 23 09:10: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:
install(1) fixes.
>How-To-Repeat:
===> Installing for cpogm-1.0
man/man8: 
	permissions (02755, 0755, modified)
install -c -m 755 cpogm /home/jonp/bulk/pkg/sbin/cpogm
install: The -c, -f, -n options each require a directory following!
*** Error code 2
>Fix:
http://www.perkin.org.uk/projects/netbsd/cpogm.diff

Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/cpogm/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo	2001/04/19 11:29:00	1.2
+++ distinfo	2003/09/23 09:06:39
@@ -2,3 +2,4 @@
 
 SHA1 (cpogm-1.0.tar.gz) = 676cc5d6220c29c9a7832500a86b133c474e395a
 Size (cpogm-1.0.tar.gz) = 981 bytes
+SHA1 (patch-aa) = b1c1f6ad6014fcde828c4d27e60e11c1477c4ce0
--- /dev/null	Tue Sep 23 10:06:26 2003
+++ patches/patch-aa	Tue Sep 23 10:04:46 2003
@@ -1,0 +1,13 @@
+--- Makefile.orig	Sun Sep 12 16:23:32 1999
++++ Makefile	Tue Sep 23 10:04:24 2003
+@@ -18,8 +18,8 @@
+ 	chmod a+rx $@
+ 
+ install: ${CMD}
+-	install -c -m 755 ${CMD} ${PREFIX}/${BIN}/${CMD}
+-	install -c -m 444 ${CMD}.man ${PREFIX}/man/man${MAN}/${CMD}.${MAN}
++	${BSD_INSTALL_SCRIPT} ${CMD} ${PREFIX}/${BIN}/${CMD}
++	${BSD_INSTALL_MAN} ${CMD}.man ${PREFIX}/man/man${MAN}/${CMD}.${MAN}
+ 
+ clean:
+ 	rm -f ${CMD}
>Release-Note:
>Audit-Trail:
>Unformatted: