Bug 212419

Summary: [patch] Mk/Scripts/qa.sh: disable some checks for linux ports
Product: Ports & Packages Reporter: Tijl Coosemans <tijl>
Component: Ports FrameworkAssignee: Port Management Team <portmgr>
Status: Closed FIXED    
Severity: Affects Only Me CC: ports-bugs
Priority: --- Keywords: patch
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 212381    
Attachments:
Description Flags
patch none

Description Tijl Coosemans freebsd_committer freebsd_triage 2016-09-06 16:09:04 UTC
Created attachment 174420 [details]
patch

Some improvements for Linux ports:
- shebang check: skip scripts in LINUXBASE.  Things like /bin/bash are valid in a Linux context.  Also, these scripts usually only work with a Linux shell so it doesn't make sense to try to make them work from a FreeBSD shell.
- prefixvar check: allow LINUXBASE/var.
- proxydeps check: only test FreeBSD ELF files because ldd(1) doesn't work with other ELF files.
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-09-08 14:13:00 UTC
A commit references this bug:

Author: mat
Date: Thu Sep  8 14:12:41 UTC 2016
New revision: 421553
URL: https://svnweb.freebsd.org/changeset/ports/421553

Log:
  Disable some checks for linux ports.

  - shebang check: skip scripts in LINUXBASE.  Things like /bin/bash are
    valid in a Linux context.  Also, these scripts usually only work with
    a Linux shell so it doesn't make sense to try to make them work from a
    FreeBSD shell.
  - prefixvar check: allow LINUXBASE/var.
  - proxydeps check: only test FreeBSD ELF files because ldd(1) doesn't
    work with other ELF files.

  PR:		212419
  Submitted by:	tijl
  Sponsored by:	Absolight

Changes:
  head/Mk/Scripts/qa.sh