summaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
authorDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>2009-12-22 23:44:19 +0100
committerDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>2009-12-22 23:44:19 +0100
commitb9bfa7a51d47774f52e4a50eb7c7ff9f290a229f (patch)
treec485b088ee4986eb06cdaeb4689a80eb5f8c89c5 /bashrc
parentAdd the make.conf snippet included by the tinderbox. (diff)
downloadflameeyes-tinderbox-b9bfa7a51d47774f52e4a50eb7c7ff9f290a229f.tar.gz
flameeyes-tinderbox-b9bfa7a51d47774f52e4a50eb7c7ff9f290a229f.tar.bz2
flameeyes-tinderbox-b9bfa7a51d47774f52e4a50eb7c7ff9f290a229f.zip
Split the misplaced documentation and perl site-dir install logs.
This is going to get useful when the log analysis support will be added so that they can check directly against known bug summaries and blockers.
Diffstat (limited to 'bashrc')
-rwxr-xr-xbashrc19
1 files changed, 13 insertions, 6 deletions
diff --git a/bashrc b/bashrc
index ade5785..788309d 100755
--- a/bashrc
+++ b/bashrc
@@ -66,12 +66,17 @@ post_src_install() {
\( -name '._*' -fprintf "${T}"/tinderbox-osx-forkfile.log "%P\n" \) , \
\( -perm /6000 -fprintf "${T}"/tinderbox-setXid-binaries.log "%#m %u:%g %P\n" \) , \
\( \( -path "${D}"usr/man/\* -or -path "${D}"usr/info/\* -or \
- -path "${D}"usr/X11R6/\* -or -path "${D}"usr/doc/\* -or \
- -path "${D}"usr/locale/\* -or -path "${D}"usr/lib/perl5/site_perl/\* -or \
- -path "${D}"usr/local/\* \
- \) -fprintf "${T}"/tinderbox-invalid-directory.log "/%P\n" \) , \
- \( -path "${D}"usr/share/doc/\* -type d -prune -not \( -name "${PF}" -or -name 'KDE4' -or -name 'HTML' \) \
- -fprintf "${T}"/tinderbox-invalid-directory.log "/%P\n" \) , \
+ -path "${D}"usr/X11R6/\* -or \
+ -path "${D}"usr/locale/\* -or \
+ -path "${D}"usr/local/\* \
+ \) -fprintf "${T}"/tinderbox-invalid-directory.log "/%P\n" \) , \
+ \( -path "${D}"usr/lib/perl5/site_perl/\* \
+ -fprintf "${T}"/tinderbox-site-perl.log "/%P\n" \) , \
+ \( -path "${D}"usr/doc/\* -or \
+ \( -path "${D}"usr/share/doc/\* -type d \
+ -prune -not \( -name "${PF}" -or -name 'KDE4' -or -name 'HTML' \) \
+ \) \
+ -fprintf "${T}"/tinderbox-misplaced-doc.log "/%P\n" \) , \
\( -path "${D}"usr/share/locale/\* -name '*.mo' \
-fprintf "${T}"/tinderbox-locales.log "/%P\n" \) , \
\( \( -path "${D}"/usr/lib\*/python\*/site-packages/\* -or \
@@ -90,6 +95,8 @@ post_src_install() {
tinderbox_if_file Warning tinderbox-share-elfs.log "ELF files in /usr/share"
tinderbox_if_file Warning tinderbox-elfs-bincheck.log "ELF files in a binchecks-restricted package"
tinderbox_if_file Warning tinderbox-pointless-la.log "Pointless libtool .la files found"
+ tinderbox_if_file Warning tinderbox-site-perl.log "Perl files installed in site_dir"
+ tinderbox_if_file Warning tinderbox-misplaced-doc.log "Misplaced documentation"
tinderbox_if_file Notice tinderbox-scanelf-insecure.log "Insecure functions used"
tinderbox_if_file Notice tinderbox-setXid-binaries.log "setXid files found"