Changeset View
Changeset View
Standalone View
Standalone View
head/Mk/Scripts/qa.sh
Show First 20 Lines • Show All 998 Lines • ▼ Show 20 Lines | if [ -f "${message}" ]; then | ||||
warn "See https://www.freebsd.org/doc/en/books/porters-handbook/pkg-files.html#porting-message" | warn "See https://www.freebsd.org/doc/en/books/porters-handbook/pkg-files.html#porting-message" | ||||
fi | fi | ||||
fi | fi | ||||
done | done | ||||
return 0 | return 0 | ||||
} | } | ||||
reinplace() | |||||
{ | |||||
if [ -f ${REWARNFILE} ]; then | |||||
warn "Possible REINPLACE_CMD issues" | |||||
cat ${REWARNFILE} | |||||
fi | |||||
} | |||||
checks="shebang symlinks paths stripped desktopfileutils sharedmimeinfo" | checks="shebang symlinks paths stripped desktopfileutils sharedmimeinfo" | ||||
checks="$checks suidfiles libtool libperl prefixvar baselibs terminfo" | checks="$checks suidfiles libtool libperl prefixvar baselibs terminfo" | ||||
checks="$checks proxydeps sonames perlcore no_arch gemdeps gemfiledeps flavors" | checks="$checks proxydeps sonames perlcore no_arch gemdeps gemfiledeps flavors" | ||||
checks="$checks license depends_blacklist pkgmessage" | checks="$checks license depends_blacklist pkgmessage reinplace" | ||||
ret=0 | ret=0 | ||||
cd ${STAGEDIR} || exit 1 | cd ${STAGEDIR} || exit 1 | ||||
for check in ${checks}; do | for check in ${checks}; do | ||||
${check} || ret=1 | ${check} || ret=1 | ||||
done | done | ||||
exit ${ret} | exit ${ret} |