mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
Update the plist checking to look for a subset of files and weed out some
false positives.
This commit is contained in:
parent
cb066d84cd
commit
4e40e823b4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128582
@ -156,6 +156,8 @@ else
|
||||
./root/*
|
||||
./var/*
|
||||
./tmp/*
|
||||
./etc/make.conf.bak
|
||||
./etc/make.conf
|
||||
EOF
|
||||
mtree -X /tmp/mtree.exclude -xcn -k uid,gid,mode -p / > /tmp/mtree
|
||||
cd $dir
|
||||
@ -173,9 +175,12 @@ EOF
|
||||
grep ' missing$' /tmp/list3 > /tmp/list5
|
||||
grep -vE ' (extra|missing)$' /tmp/list3 > /tmp/list6
|
||||
if [ "x${PLISTCHECK}" != "x" ]; then
|
||||
if grep -qE 'usr/(local|X11R6)/(bin|sbin|share/doc|share/locale/|lib/lib)' /tmp/list4; then
|
||||
if grep -qE 'usr/(local|X11R6)/(bin/|include/|man/|sbin/|share/|share/|lib/|libdata/|libexec/)' /tmp/list4; then
|
||||
echo "1" > /tmp/status
|
||||
fi
|
||||
if [ -s /tmp/list5 ]; then
|
||||
echo "1" > /tmp/status
|
||||
fi
|
||||
fi
|
||||
echo "================================================================"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user