diff options
author | jbj <devnull@localhost> | 1998-11-06 19:55:55 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1998-11-06 19:55:55 +0000 |
commit | 4514c7600fccadf64720905e3512b7343ec6939b (patch) | |
tree | d65977e6fe400d3585dd5c25112146b55c3c13f3 /autodeps | |
parent | 45f063a167b2c4e217395efbd5d5ff18c65bacb4 (diff) | |
download | rpm-4514c7600fccadf64720905e3512b7343ec6939b.tar.gz |
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
Diffstat (limited to 'autodeps')
-rw-r--r-- | autodeps/osf.prov | 4 | ||||
-rw-r--r-- | autodeps/solaris.prov | 3 | ||||
-rw-r--r-- | autodeps/solaris.req | 3 |
3 files changed, 8 insertions, 2 deletions
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"` |