Subject: pkg/22911: Fix install target for security/pgpdump
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <jonathan@perkin.org.uk>
List: netbsd-bugs
Date: 09/23/2003 11:44:24
>Number:         22911
>Category:       pkg
>Synopsis:       Fix install target for security/pgpdump
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 23 11:45: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:
Default install in $PATH may not be sufficient to install correctly.
Use pkgsrc defined version.
>How-To-Repeat:
===> Installing for pgpdump-0.18
install -c -m 555 pgpdump /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/pgpdump.diff

Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/security/pgpdump/distinfo,v
retrieving revision 1.9
diff -u -r1.9 distinfo
--- distinfo	2003/05/20 16:40:13	1.9
+++ distinfo	2003/09/23 11:39:00
@@ -2,3 +2,4 @@
 
 SHA1 (pgpdump-0.18.tar.gz) = cbeb2d4d0e94483d0afd382fd1b6fc9f14ec5596
 Size (pgpdump-0.18.tar.gz) = 50957 bytes
+SHA1 (patch-aa) = be198b28e075505b728be8e22c8559c99e6d6f8e
--- /dev/null	Tue Sep 23 12:39:07 2003
+++ patches/patch-aa	Tue Sep 23 12:33:54 2003
@@ -1,0 +1,12 @@
+$NetBSD$
+
+--- Makefile.in.orig	Tue Sep 23 12:32:40 2003
++++ Makefile.in	Tue Sep 23 12:33:26 2003
+@@ -35,5 +35,5 @@
+ 	$(RM) $(OBJS) $(PROG) $(CNF) $(MKF)
+ 
+ install: all
+-	$(INSTALL) 555 $(PROG) $(bindir)
+-	$(INSTALL) 444 $(MAN) $(mandir)
++	$(BSD_INSTALL_PROGRAM) $(PROG) $(bindir)/$(PROG)
++	$(BSD_INSTALL_MAN) $(MAN) $(mandir)/$(MAN)
>Release-Note:
>Audit-Trail:
>Unformatted: