From 49b85886ec83ecdc310386e6d86c2b9afea39e9b Mon Sep 17 00:00:00 2001 From: jmmv Date: Wed, 23 Jul 2003 14:34:27 +0000 Subject: Fix installation permissions using the right install commands. Also avoid making some directories that are automatically created by mtree. Patch provided in PR pkg/22234 by Jonathan Perkin. --- security/skey/distinfo | 3 ++- security/skey/patches/patch-aa | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 security/skey/patches/patch-aa (limited to 'security/skey') diff --git a/security/skey/distinfo b/security/skey/distinfo index e28bd877a03..66fa89c2460 100644 --- a/security/skey/distinfo +++ b/security/skey/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2002/07/26 09:10:06 grant Exp $ +$NetBSD: distinfo,v 1.2 2003/07/23 14:34:27 jmmv Exp $ SHA1 (skey-1.1.5.tar.bz2) = d55fb286098900cdf3eb6b174a720a06c722312a Size (skey-1.1.5.tar.bz2) = 61911 bytes +SHA1 (patch-aa) = c4e5aa66177a2e8ab5598aaaeefcd2822acd0d03 diff --git a/security/skey/patches/patch-aa b/security/skey/patches/patch-aa new file mode 100644 index 00000000000..1685ca25adf --- /dev/null +++ b/security/skey/patches/patch-aa @@ -0,0 +1,34 @@ +$NetBSD: patch-aa,v 1.1 2003/07/23 14:34:29 jmmv Exp $ + +--- Makefile.in.orig Thu May 10 17:10:49 2001 ++++ Makefile.in Wed Jul 23 12:31:50 2003 +@@ -18,10 +18,10 @@ + AR=@AR@ + RANLIB=@RANLIB@ + INSTALL=@INSTALL@ +-INSTALL_PROGRAM=${INSTALL} -c -s -m 555 +-INSTALL_MAN=${INSTALL} -c -m 444 +-INSTALL_SCRIPT=${INSTALL} -c -m 555 +-INSTALL_DATA=${INSTALL} -c -m 444 ++INSTALL_PROGRAM=@INSTALL_PROGRAM@ ++INSTALL_MAN=@INSTALL_DATA@ ++INSTALL_SCRIPT=@INSTALL_SCRIPT@ ++INSTALL_DATA=@INSTALL_DATA@ + PERL=@PERL@ + SENDMAIL=@SENDMAIL@ + TOUCH=@TOUCH@ +@@ -88,14 +88,6 @@ + done + + install: ${TARGETS} +- $(INSTALL) -d $(DESTDIR)$(bindir) +- $(INSTALL) -d $(DESTDIR)$(libdir) +- $(INSTALL) -d $(DESTDIR)$(mandir) +- $(INSTALL) -d $(DESTDIR)$(etcdir) +- $(INSTALL) -d $(DESTDIR)$(mandir)/$(mansubdir)1 +- $(INSTALL) -d $(DESTDIR)$(mandir)/$(mansubdir)8 +- $(INSTALL) -d $(DESTDIR)$(includedir) +- $(INSTALL) -d $(DESTDIR)$(sysconfdir) + ${INSTALL_DATA} libskey.a $(DESTDIR)$(libdir) + ${INSTALL_DATA} ${HDRS} $(DESTDIR)$(includedir) + @for target in ${TARGETS}; do \ -- cgit v1.2.3