From 4514c7600fccadf64720905e3512b7343ec6939b Mon Sep 17 00:00:00 2001 From: jbj Date: Fri, 6 Nov 1998 19:55:55 +0000 Subject: solaris: don't attempt static link. (Tim Mooney) fix: timeCheck in rpm.c should be unsigned long. (Tim Mooney) osf: prov searches only shared libraries. (Tim Mooney) solaris: set PATH in prov/req scripts. (Tim Mooney) fix: ignore modes on symlinks. (Tim Mooney) CVS patchset: 2517 CVS date: 1998/11/06 19:55:55 --- autodeps/osf.prov | 4 ++-- autodeps/solaris.prov | 3 +++ autodeps/solaris.req | 3 +++ 3 files changed, 8 insertions(+), 2 deletions(-) (limited to 'autodeps') diff --git a/autodeps/osf.prov b/autodeps/osf.prov index 9e1b51b42..45a213a9d 100644 --- a/autodeps/osf.prov +++ b/autodeps/osf.prov @@ -1,7 +1,7 @@ #! /usr/bin/ksh # Original Author: Tim Mooney (mooney@plains.nodak.edu) -# $Id: osf.prov,v 1.2 1998/05/29 16:34:27 mooney Exp $ +# $Id: osf.prov,v 1.2 1998/05/29 16:34:27 mooney Exp mooney $ # # This file is distributed under the terms of the GNU Public License # @@ -58,7 +58,7 @@ PATH=/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin export PATH -for f in `cat -` +for f in `cat - | xargs file | egrep 'COFF.*shared library' | cut -d: -f1` do odump -D $f 2>/dev/null | awk ' diff --git a/autodeps/solaris.prov b/autodeps/solaris.prov index d42b7c4fc..6e0fe9f1a 100644 --- a/autodeps/solaris.prov +++ b/autodeps/solaris.prov @@ -3,6 +3,9 @@ # This script reads filenames from STDIN and outputs any relevant provides # information that needs to be included in the package. +PATH=/usr/bin:/usr/ccs/bin:/usr/sbin:/sbin +export PATH + filelist=`grep "lib.*\\.so" | xargs /usr/ucb/file -L 2>/dev/null |\ grep "ELF.*dynamic lib" | cut -d: -f1 | sort -u` for I in $filelist; do diff --git a/autodeps/solaris.req b/autodeps/solaris.req index 6f8974f61..9393e2e59 100644 --- a/autodeps/solaris.req +++ b/autodeps/solaris.req @@ -2,6 +2,9 @@ # note this works for both a.out and ELF executables +PATH=/usr/bin:/usr/ccs/bin:/usr/sbin:/sbin +export PATH + ulimit -c 0 filelist=`sed "s/['\"]/\\\&/g"` -- cgit v1.2.3