diff options
author | kristerw <kristerw@pkgsrc.org> | 2005-06-19 01:03:04 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2005-06-19 01:03:04 +0000 |
commit | 627ac5f5c970cb27617f323414b134f7df89e3ed (patch) | |
tree | 17b10f12b85457a652a90d61203bb18d725c1a5c /security/tct | |
parent | ab4e122aeae07803ffc66073a22664233e0eb961 (diff) | |
download | pkgsrc-627ac5f5c970cb27617f323414b134f7df89e3ed.tar.gz |
Prevent paths to the build directories from being included in the package.
Bump PKGREVISION.
Diffstat (limited to 'security/tct')
-rw-r--r-- | security/tct/Makefile | 6 | ||||
-rw-r--r-- | security/tct/distinfo | 4 | ||||
-rw-r--r-- | security/tct/patches/patch-ao | 37 |
3 files changed, 37 insertions, 10 deletions
diff --git a/security/tct/Makefile b/security/tct/Makefile index d82851d82f4..fec9c83eb8a 100644 --- a/security/tct/Makefile +++ b/security/tct/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.15 2005/06/17 04:49:48 jlam Exp $ +# $NetBSD: Makefile,v 1.16 2005/06/19 01:03:04 kristerw Exp $ # DISTNAME= tct-1.09 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= security MASTER_SITES= http://www.porcupine.org/forensics/ @@ -16,6 +16,8 @@ REPLACE_PERL= bin/grave-robber bin/mactime bin/strip_tct_home REPLACE_PERL+= extras/bdf extras/ils2mac extras/realpath REPLACE_PERL+= lazarus/lazarus +MAKE_ENV+= PERL5="${PERL5}" + do-install: ${INSTALL_PROGRAM_DIR} ${PREFIX}/tct/bin cd ${WRKSRC}/bin && \ diff --git a/security/tct/distinfo b/security/tct/distinfo index 3f73370322b..899f48a0626 100644 --- a/security/tct/distinfo +++ b/security/tct/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2005/02/24 13:10:14 agc Exp $ +$NetBSD: distinfo,v 1.5 2005/06/19 01:03:04 kristerw Exp $ SHA1 (tct-1.09.tar.gz) = fffb6ae1f389cfdfad95a9a81f6eaba115c9dfc0 RMD160 (tct-1.09.tar.gz) = ee4ddc286a2564f9b1daaa41f35e3d0fe8d6ea71 @@ -17,4 +17,4 @@ SHA1 (patch-ak) = 4cb026ec6cc6252a3553d4c940683943a9cfd21f SHA1 (patch-al) = 189e95ec0a632d118a5db3102696b9fa0222006d SHA1 (patch-am) = 2a45fcdfb88c0340e46419bcd76eef7c7202a9f9 SHA1 (patch-an) = c8b8df8ac2950ae171e09531a08457f834484854 -SHA1 (patch-ao) = bf62338ffbe1a773c23b69e56f2126bf67b70a0a +SHA1 (patch-ao) = 243091eb5dc20955f82b4707947ee7f09a5a3c20 diff --git a/security/tct/patches/patch-ao b/security/tct/patches/patch-ao index 7b4cbef50ae..be0f679e120 100644 --- a/security/tct/patches/patch-ao +++ b/security/tct/patches/patch-ao @@ -1,10 +1,35 @@ -$NetBSD: patch-ao,v 1.1 2002/01/05 16:20:55 agc Exp $ +$NetBSD: patch-ao,v 1.2 2005/06/19 01:03:04 kristerw Exp $ -Use root's home directory for TCT_HOME - ---- reconfig 2002/01/05 15:38:05 1.1 -+++ reconfig 2002/01/05 15:38:36 -@@ -167,7 +167,7 @@ +--- reconfig.orig 2001-09-15 22:48:51.000000000 +0200 ++++ reconfig 2005-06-19 02:58:30.000000000 +0200 +@@ -52,25 +52,7 @@ + + # find perl5! + print "Ok, trying to find perl5 now... hang on a bit...\n"; +-for $dir (@all_dirs) { +- # first, find where it might be; oftentimes you'll see perl, +- # perl4, perl5, etc. in the same dir +- next if (! -d $dir); +- while (<$dir/perl5* $dir/perl*>) { +- if (-x $_) { +- $perl_version=`($_ -v 2> /dev/null) | +- awk '/This is perl, v.*5/ { print $NF }'`; +- if ($perl_version) { +- $PERL=$_; +- $pflag="1"; +- last; +- } +- } +- last if $pflag; +- } +- last if $pflag; +- } +- ++$PERL = $ENV{"PERL5"}; + die "\nCan't find perl5! Bailing out...\n" unless $PERL; + print "\nPerl5 is in $PERL\n"; + +@@ -167,7 +149,7 @@ die "Can't open $file for reading\n" unless open(FILE, $file); while (<FILE>) { if (/^\s*\$TCT_HOME\s*=/ && !$done) { |