summaryrefslogtreecommitdiff
path: root/autodeps/freebsd.prov
blob: cf00d4f14b4beedc51143284ab9ee318db664c1c (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
# ----------------------------------------------------------
#	find-provides for FreeBSD-2.2.x
# ----------------------------------------------------------
filelist=$(grep "\\.so" | grep -v "^/lib/ld.so" | xargs file -L 2>/dev/null | grep "FreeBSD.*shared" | cut -d: -f1)

for f in $filelist; do
        echo ${f##*/}
done | sort -u