diff options
Diffstat (limited to 'autodeps/openbsd.prov')
-rw-r--r-- | autodeps/openbsd.prov | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/autodeps/openbsd.prov b/autodeps/openbsd.prov new file mode 100644 index 000000000..1e7b06eb3 --- /dev/null +++ b/autodeps/openbsd.prov @@ -0,0 +1,9 @@ +#!/bin/sh +# ---------------------------------------------------------- +# find-provides for OpenBSD-2.5 +# ---------------------------------------------------------- +filelist=$(grep "\\.so" | grep -v "^/lib/ld.so" | xargs file -L 2>/dev/null | grep "OpenBSD.*shared" | cut -d: -f1) + +for f in $filelist; do + echo ${f##*/} +done | sort -u |