Bug 212419 - [patch] Mk/Scripts/qa.sh: disable some checks for linux ports
Summary: [patch] Mk/Scripts/qa.sh: disable some checks for linux ports
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
URL:
Keywords: patch
Depends on:
Blocks: 212381
  Show dependency treegraph
 
Reported: 2016-09-06 16:09 UTC by Tijl Coosemans
Modified: 2016-09-08 14:32 UTC (History)
1 user (show)

See Also:


Attachments
patch (957 bytes, patch)
2016-09-06 16:09 UTC, Tijl Coosemans
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tijl Coosemans freebsd_committer 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 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