pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/tct Prevent paths to the build directories fr...
details: https://anonhg.NetBSD.org/pkgsrc/rev/dc3a70b8621a
branches: trunk
changeset: 495719:dc3a70b8621a
user: kristerw <kristerw%pkgsrc.org@localhost>
date: Sun Jun 19 01:03:04 2005 +0000
description:
Prevent paths to the build directories from being included in the package.
Bump PKGREVISION.
diffstat:
security/tct/Makefile | 6 ++++--
security/tct/distinfo | 4 ++--
security/tct/patches/patch-ao | 37 +++++++++++++++++++++++++++++++------
3 files changed, 37 insertions(+), 10 deletions(-)
diffs (83 lines):
diff -r 3bd9bbb64958 -r dc3a70b8621a security/tct/Makefile
--- a/security/tct/Makefile Sun Jun 19 00:45:45 2005 +0000
+++ b/security/tct/Makefile Sun Jun 19 01:03:04 2005 +0000
@@ -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+= 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 -r 3bd9bbb64958 -r dc3a70b8621a security/tct/distinfo
--- a/security/tct/distinfo Sun Jun 19 00:45:45 2005 +0000
+++ b/security/tct/distinfo Sun Jun 19 01:03:04 2005 +0000
@@ -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-al) = 189e95ec0a632d118a5db3102696b9fa0222006d
SHA1 (patch-am) = 2a45fcdfb88c0340e46419bcd76eef7c7202a9f9
SHA1 (patch-an) = c8b8df8ac2950ae171e09531a08457f834484854
-SHA1 (patch-ao) = bf62338ffbe1a773c23b69e56f2126bf67b70a0a
+SHA1 (patch-ao) = 243091eb5dc20955f82b4707947ee7f09a5a3c20
diff -r 3bd9bbb64958 -r dc3a70b8621a security/tct/patches/patch-ao
--- a/security/tct/patches/patch-ao Sun Jun 19 00:45:45 2005 +0000
+++ b/security/tct/patches/patch-ao Sun Jun 19 01:03:04 2005 +0000
@@ -1,10 +1,35 @@
-$NetBSD: patch-ao,v 1.1 2002/01/05 16:20:55 agc Exp $
-
-Use root's home directory for TCT_HOME
+$NetBSD: patch-ao,v 1.2 2005/06/19 01:03:04 kristerw Exp $
---- 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) {
Home |
Main Index |
Thread Index |
Old Index