From d4f201709a29612122255bc665c82ec87d511d04 Mon Sep 17 00:00:00 2001 From: snj Date: Fri, 6 Mar 2009 00:12:28 +0000 Subject: +PKG_DESTDIR_SUPPORT= user-destdir --- shells/scponly/Makefile | 4 +++- shells/scponly/distinfo | 4 ++-- shells/scponly/patches/patch-aa | 14 +++++++------- 3 files changed, 12 insertions(+), 10 deletions(-) (limited to 'shells') diff --git a/shells/scponly/Makefile b/shells/scponly/Makefile index a67cafabe85..3224d02775b 100644 --- a/shells/scponly/Makefile +++ b/shells/scponly/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2008/04/29 03:46:57 snj Exp $ +# $NetBSD: Makefile,v 1.13 2009/03/06 00:12:28 snj Exp $ DISTNAME= scponly-4.8 CATEGORIES= shells security @@ -11,6 +11,8 @@ COMMENT= Shell that only permits sftp GNU_CONFIGURE= yes +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= chgrp chmod chown echo id ln ls mkdir mv pwd rm rmdir CONFIGURE_ENV+= scponly_PROG_CHGRP=${TOOLS_CHGRP:Q} CONFIGURE_ENV+= PROG_CHMOD=${TOOLS_CHMOD:Q} diff --git a/shells/scponly/distinfo b/shells/scponly/distinfo index 7082d30a162..595899108ce 100644 --- a/shells/scponly/distinfo +++ b/shells/scponly/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.6 2008/04/29 03:46:57 snj Exp $ +$NetBSD: distinfo,v 1.7 2009/03/06 00:12:28 snj Exp $ SHA1 (scponly-4.8.tgz) = 154de34901ce22fd9d406f6e02cddc440c435afc RMD160 (scponly-4.8.tgz) = de6b58fcb8108d42a1576c69003e9136b9417869 Size (scponly-4.8.tgz) = 101687 bytes -SHA1 (patch-aa) = a09c070db3c46d776d57bf16354604b295f2f749 +SHA1 (patch-aa) = ea2c67fa7d872e88744606a513d73d6767b9a180 diff --git a/shells/scponly/patches/patch-aa b/shells/scponly/patches/patch-aa index 268e999bf25..75ec78b2f50 100644 --- a/shells/scponly/patches/patch-aa +++ b/shells/scponly/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.3 2005/12/05 03:04:28 snj Exp $ +$NetBSD: patch-aa,v 1.4 2009/03/06 00:12:28 snj Exp $ ---- Makefile.in.orig 2005-03-18 00:40:18.000000000 -0800 -+++ Makefile.in 2005-12-04 18:49:02.000000000 -0800 +--- Makefile.in.orig 2008-01-14 22:26:13.000000000 -0800 ++++ Makefile.in 2009-03-05 16:10:24.000000000 -0800 @@ -9,7 +9,7 @@ CFLAGS = @CFLAGS@ -I$(srcdir) -I. INSTALL = @INSTALL@ CC = @CC@ @@ -18,10 +18,10 @@ $NetBSD: patch-aa,v 1.3 2005/12/05 03:04:28 snj Exp $ - ${INSTALL} -o 0 -g 0 scponly ${DESTDIR}${bindir}/scponly - ${INSTALL} -o 0 -g 0 -m 0644 scponly.8 ${DESTDIR}${mandir}/man8/scponly.8 - ${INSTALL} -o 0 -g 0 -m 0644 debuglevel ${DESTDIR}${DEBUGFILE} -+ ${INSTALL} -d ${prefix}/share/examples/scponly -+ ${BSD_INSTALL_PROGRAM} scponly ${bindir}/scponly -+ ${BSD_INSTALL_DATA} scponly.8 ${mandir}/man8/scponly.8 -+ ${BSD_INSTALL_DATA} debuglevel ${prefix}/share/examples/scponly ++ ${INSTALL} -d ${DESTDIR}${prefix}/share/examples/scponly ++ ${BSD_INSTALL_PROGRAM} scponly ${DESTDIR}${bindir}/scponly ++ ${BSD_INSTALL_DATA} scponly.8 ${DESTDIR}${mandir}/man8/scponly.8 ++ ${BSD_INSTALL_DATA} debuglevel ${DESTDIR}${prefix}/share/examples/scponly if test "x${CHROOTED_NAME}" != "x"; then \ ${INSTALL} -d ${DESTDIR}${sbindir}; \ rm -f ${DESTDIR}${sbindir}/${CHROOTED_NAME}; \ -- cgit v1.2.3