FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us

non port: head/Mk/Scripts/

Number of commits found: 44

Thu, 21 Jan 2016
[ 16:18 swills ] Original commit 
406868 Mk/Scripts/
exclude all gem stuff from path check
Mon, 18 Jan 2016
[ 16:16 mat ] Original commit 
406594 Mk/Scripts/
Be consistent and always enclose shell variables inside braces.

Sponsored by:	Absolight
[ 16:16 mat ] Original commit 
406593 Mk/Scripts/
Rework the logic of the libperl detection, making it a bit more simple,
and also a bit more verbose.

With hat:	perl
Sponsored by:	Absolight
Fri, 25 Dec 2015
[ 23:22 antoine ] Original commit 
404488 Mk/Scripts/
Do not advise to strip object files, it can be harmful

Reported by:	koobs
With hat:	portmgr
Mon, 19 Oct 2015
[ 16:59 bdrewery ] Original commit 
399699 Mk/Scripts/
Switch strip test to using readelf(1) instead of file(1) to identify symbols.

This has been slightly faster in my tests since readelf(1) will fail on the
file much quicker if it doesn't find the ELF headers.  This also more directly
finds the symbol table.

With hat:	portmgr
Thu, 8 Oct 2015
[ 14:12 amdmi3 ] Original commit 
398827 Keywords/terminfo.ucl
398827 Mk/Scripts/
398827 Mk/Uses/
398827 Mk/
398827 devel/ncurses/Makefile
398827 devel/ncurses/pkg-plist
398827 sysutils/jfbterm/Makefile
398827 sysutils/jfbterm/pkg-plist
398827 x11/rxvt-unicode/Makefile
398827 x11/rxvt-unicode/files/

(Only the first 10 of 11 ports in this commit are shown above. View all ports for this commit)
Add a way to cleanly handle terminfo.db file used by devel/ncurses

This database contains compiled terminfo entries and is merged from
a large part which comes with ncurses themselves and compiled
.terminfo files installed by other ports (currently only rxvt-unicode
and jfbterm)

- Now the database is always kept up to date, regardless of port
  installation order (both ncurses installed before .terminfo files
  and the other way around work as expected)
- All affected ports now support clean deinstallation and do not
  produce stage-qa errors
- Affected ports are simplified, as they now only need to define
- rxvt-unicode no longer pulls in ncurses: the dependency is not
  really needed for anything beside updating it's own database
- The patch contains Q/A test to check whether a port needs, or
  needs not USES=terminfo

Approved by:	portmgr (mat, bapt)
Differential Revision:	D3747
Mon, 10 Aug 2015
[ 17:06 antoine ] Original commit 
393878 Mk/Scripts/
Make baselibs QA check non recursive and activate it again

Reviewed by:	bapt
Differential Revision:
Sun, 9 Aug 2015
[ 11:41 bapt ] Original commit 
393778 Mk/Scripts/
Disable baselibs check until it is made saner (aka non recursive)
[ 10:10 antoine ] Original commit 
393773 Mk/Scripts/
Fix a typo that made baselibs QA check run twice on some files

With hat:	portmgr
Sun, 19 Jul 2015
[ 22:19 bapt ] Original commit 
392541 Mk/Scripts/
Fix path of libedit
[ 22:07 bapt ] Original commit 
392538 Mk/Scripts/
Add a QA check on some base libraries (for now only libedit and libarchive)
Tue, 14 Jul 2015
[ 20:36 amdmi3 ] Original commit 
392087 Mk/Scripts/
- Add /usr/sbin/dtrace to the list of allowed shebangs

Submitted by:	amdmi3
Approved by:	portmgr (bapt)
Differential Revision:	D3070
Thu, 4 Jun 2015
[ 11:37 amdmi3 ] Original commit 
388526 Mk/Scripts/
- Add blacklist of files which are not intended to be executed to shebang test
- Sort shebang list

Differential Revision:	D2670
Submitted by:	amdmi3
Approved by:	portmgr (bapt)
Wed, 20 May 2015
[ 19:47 amdmi3 ] Original commit 
386884 Mk/Scripts/
- Add ${PREFIX}/www to shebang check. We have many shebang problems which need
to be discovered and fixed in www category.

Differential Revision:	D2580
Approved by:	portmgr (bapt)
Thu, 30 Apr 2015
[ 02:44 bdrewery ] Original commit 
385021 Mk/Scripts/
Fix strip check to consider setuid binaries.

file(1) returns 'setuid' before the rest of the ELF output.

With hat:	portmgr
Sponsored by:	EMC / Isilon Storage Division
Mon, 20 Apr 2015
[ 19:06 tijl ] Original commit 
384380 Mk/Scripts/
384380 Mk/
384380 audio/ample/Makefile
384380 databases/monetdb/Makefile
384380 devel/global/Makefile
384380 dns/opendnssec/Makefile
384380 dns/opendnssec13/Makefile
384380 games/acm/Makefile
384380 games/acm/files/patch-dis-disgen-configure
384380 games/wolfpack/Makefile

(Only the first 10 of 32 ports in this commit are shown above. View all ports for this commit)
- Display a stage-qa warning when ports use PREFIX/var instead of /var
- Add --localstatedir=/var to _LATE_CONFIGURE_ARGS (like --mandir) but not
  when CONFIGURE_ARGS already sets it.  (GNU configure scripts set it to
  PREFIX/var when PREFIX != /usr.)
- Add --localstatedir="${PREFIX}/var" to CONFIGURE_ARGS in some ports so
  they aren't affected by this change (for now at least).  This commit is
  meant to ensure that new ports don't make the same mistake.

- games/acm: the configure script in this port is very old; instead of
  patching it more, just replace GNU_CONFIGURE with HAS_CONFIGURE.
- irc/charybdis: it already used /var but adding --localstatedir=/var
  changed the behaviour of the configure script; adjust the port to this.

PR:		199506
Exp-run by:	antoine
Approved by:	portmgr (antoine)
Mon, 23 Mar 2015
[ 20:41 feld ] Original commit 
382038 Mk/Scripts/
Speed up checking for stripped binaries

Skip ascii files. This significantly speeds up stage-qa on ports with a
considerable amount of text files being installed.

Differential Revision:
Approved by:	bdrewery
Tue, 23 Dec 2014
[ 00:27 mat ] Original commit 
375297 Mk/Scripts/
Don't output a warning if PERL_ARCH does not exist.

With hat:	portmgr
Sponsored by:	Absolight
Wed, 17 Dec 2014
[ 13:21 mat ] Original commit 
374847 CHANGES
374847 Mk/Scripts/
374847 Mk/Uses/
374847 lang/perl5.14/Makefile
374847 lang/perl5.14/files/patch-Makefile.SH
374847 lang/perl5.16/Makefile
374847 lang/perl5.16/files/patch-Makefile.SH
374847 lang/perl5.18/Makefile
374847 lang/perl5.18/files/patch-Makefile.SH

(Only the first 10 of 12 ports in this commit are shown above. View all ports for this commit)
Make Perl link all .so it builds with

It makes upgrading from one Perl major version to another way easier.  For
binary package users, it means pkg upgrade will detect the
change, and reinstall the affected packages.  For users using ports, it will
save rebuild time as it's easier to detect what ports really need to be

PR:		195821
Differential Revision:
Submitted by:	mat
Reviewed by:	antoine, bdrewery
Exp-run by:	antoine
With hat:	perl
Sponsored by:	Absolight
Fri, 3 Oct 2014
[ 18:47 bdrewery ] Original commit 
369928 Mk/Scripts/
- Allow LINUXBASE for shebangs.

PR:		193878
Submitted by:	Jan Beich <>
With hat:	portmgr
Mon, 15 Sep 2014
[ 18:23 tijl ] Original commit 
368281 Mk/Scripts/
368281 Mk/Uses/
Turn the installation of *.la files, without some form of USES=libtool in
the port Makefile, into a stage-qa error.  All ports that would trigger
this error have been converted.  Many thanks to all people involved in
this, especially Dmitry Marakasov (amdmi3) who handled most ports.

At this moment over 2200 ports have USES=libtool and over 20000 library
dependencies between packages have been removed.

This also marks the point where :keepla is no longer special.  It is now
only needed if a port uses *.la files at run-time.

QA-run by:	antoine
Approved by:	portmgr (antoine)
Sat, 30 Aug 2014
[ 08:55 antoine ] Original commit 
366597 Mk/Scripts/
Ignore references to stagedir in .fmt and .log files generated for tex formats
Those are harmless (records from which file they were generated from) and
removing them would require ugly hacks according to hrs@

PR:		ports/192933
Differential Revision:
Reviewed by:	bapt, hrs
With hat:	portmgr
Mon, 25 Aug 2014
[ 22:10 antoine ] Original commit 
366159 Mk/Scripts/
366159 Mk/
Check that the plist doesn't reference the stage dir during stage-qa

====> Running Q/A tests (stage-qa)
Error: '/usr/ports/www/claroline/work/.PLIST.mktmp' is referring to
*** Error code 1

Differential Revision:
Reviewed by:	bdrewery
With hat:	portmgr
Sun, 17 Aug 2014
[ 17:48 antoine ] Original commit 
365214 Mk/Scripts/
Advise trying INSTALL_TARGET=install-strip before ${STRIP_CMD}

Phabric:	D477
Reviewed by:	bdrewery
With hat:	portmgr
Tue, 17 Jun 2014
[ 14:33 rene ] Original commit 
358122 Mk/Scripts/
Mk/Scripts/ add /bin/tcsh as a valid shebang.

Phabric:	D231
Approved by:	portmgr (antoine)
Fri, 9 May 2014
[ 22:29 bdrewery ] Original commit 
353532 Mk/Scripts/
- Fix regression handling files with spaces from r350006.
  Separate file(1) and stat(1) output by a newline and read each line
  individually to avoid losing spaces.
- Use <<-EOF with heredocs to avoid bad indent
- Add some more comments
- Quote filenames in output so it is less unclear

Spotted by:	mandree
Reviewed by:	antoine
With hat:	portmgr
Tue, 6 May 2014
[ 11:57 tijl ] Original commit 
353084 Mk/Scripts/
353084 Mk/
Let stage-qa detect .la libraries and warn that a port needs USES=libtool.

PR:		ports/189255
Approved by:	portmgr (antoine)
Mon, 21 Apr 2014
[ 20:17 antoine ] Original commit 
351707 Mk/Scripts/
- Do not advise to strip non FreeBSD binaries [1]
- Shorten messages

Requested and tested by:	xmj [1]
With hat:	portmgr
Sat, 12 Apr 2014
[ 20:49 antoine ] Original commit 
351133 Mk/Scripts/
Do not advise to strip ELF relocatables, usually it is harmful

With hat:	portmgr
[ 20:48 antoine ] Original commit 
351132 Mk/Scripts/
Reduce the number of false positives reported by the shebang qa check
by looking only at files and symlinks in bin, sbin and libexec

Reviewed by:	bdrewery
With hat:	portmgr
Fri, 11 Apr 2014
[ 14:15 bdrewery ] Original commit 
350959 Mk/Scripts/
- Make shebang a warning for now, too many false-positives in files we
  do not care about.

  antoine@ is working on a better solution for this.

With hat:	portmgr
Tue, 8 Apr 2014
[ 16:50 antoine ] Original commit 
350634 Mk/Scripts/
Rewrite the sharedmimeinfo qa check so that it doesn't produce a false
positive on misc/shared-mime-info

With help from:	bdrewery
With hat:	portmgr
Thu, 3 Apr 2014
[ 14:09 bdrewery ] Original commit 
350013 Mk/Scripts/
- stage-qa: Fix absolute symlink check to look at target not fully resolved
  path. Now tested on both good and bad symlinks.

Reported by:	antoine
Pointyhat to:	bdrewery
With hat:	portmgr
[ 13:00 bdrewery ] Original commit 
350006 Mk/Scripts/
- Fix fatal checks not exiting with non-zero [1]
  This means that files referrencing stagedir or linked to stagedir will
  now be fatal errors as intended.
- Stop polluting global namespace with IFS changes
- Speedup find(1) -exec usage by execing far less
- Ignore known false-positive/harmless stagedir files in paths() [2]

Reported by:	eadler [1]
Discussed with:	antoine [2]
With hat:	portmgr
Tue, 28 Jan 2014
[ 22:19 antoine ] Original commit 
341664 Mk/Scripts/
341664 Mk/
- Do not check for ${WRKDIR} in staged files, there are lots of false
  positives as some .o files may embed the source path [1]
- Only check shebang of files with executable bit set

Requested by:	bapt [1]
With hat:	portmgr
Thu, 9 Jan 2014
[ 18:43 antoine ] Original commit 
339268 Mk/Scripts/
Fix paths check from
IFS is set to newline so dirs was not correctly splitted

Approved by:	portmgr (bapt)
Fri, 6 Dec 2013
[ 23:12 bapt ] Original commit 
335787 Mk/Scripts/
/usr/bin/nawk and /bin/csh are valid shebangs
Sat, 23 Nov 2013
[ 12:23 mandree ] Original commit 
334663 Mk/Scripts/
334663 Mk/Scripts/
- in, properly work with filenames containing blank or tab,
  by setting IFS to just LF

- in, properly detect unset environmental variables,
  and list them all

- in, also list the full prefix as known, not just
  its parents

PR:		184039
Approved by:	portmgr (bapt)
Thu, 31 Oct 2013
[ 19:07 mandree ] Original commit 
332275 Mk/Scripts/
332275 Mk/Scripts/
332275 Mk/ Fewer false positives, much faster, easier maintenance.


* @cmd in pkg-plist is now properly handled.
  - It was previously treated the same as though there was a directory
    following it, missing the prefix. (ordering matters in case...esac)

  - Due to the cwd=${PREFIX} inside the while read line loop, state
    tracking was broken and every new line assumed that cwd were the

* stage-qa no longer complains about unstripped binaries if debugging is
  active (WITH_DEBUG set && WITHOUT_DEBUG unset).
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Sun, 20 Oct 2013
[ 18:12 ak ] Original commit 
331046 Mk/Scripts/
- Add check for suid files and directories

Approved by:	portmgr (bapt)
Sat, 19 Oct 2013
[ 00:17 bapt ] Original commit 
330810 Mk/Scripts/
Recommand to use STRIP_CMD to strip binaries given that it will respect the
Fri, 11 Oct 2013
[ 02:52 bdrewery ] Original commit 
330052 Mk/Scripts/
- Fix desktopfileutils() and sharedmimeinfo() returning non-zero and causing
  failure on every port that does not use shared-mime-info or need it.

  Must return 0 at end of functions or it considers the last command ran as
  the return code.

Reported by:	eadler
With hat:	portmgr
Thu, 10 Oct 2013
[ 17:09 antoine ] Original commit 
330020 Mk/Scripts/
330020 Mk/
Add two QA tests for staged ports:
- check for desktop files handling MIME types
- check for share MIME-Info database

Approved by:	portmgr (bapt)
Wed, 9 Oct 2013
[ 15:11 bapt ] Original commit 
329902 Mk/Scripts
329902 Mk/Scripts/
329902 Mk/
329902 Mk/
First set of Q/A for staged ports.
A couple of Q/A tests are done if the DEVELOPER macros is set in make.conf
Right now the tests are:
- Check if the symlinks are properly created
- Check if the binaries are stripped (just warn)
- Check if the STAGEDIR or the WORKDIR are referenced in the final files
- Check if the ports provide script with bad shebangs.

Number of commits found: 44

User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
How big is it?
The latest upgrade!

Enter Keywords:

Latest Vulnerabilities
logstashApr 28
subversionApr 28
subversion18Apr 28
ntpApr 27
ntp-develApr 27
firefoxApr 26
firefox-esrApr 26
libxulApr 26
linux-firefoxApr 26
linux-seamonkeyApr 26
linux-thunderbirdApr 26
seamonkeyApr 26
thunderbirdApr 26
phpmyfaqApr 23
libtasn1Apr 21

16 vulnerabilities affecting 44 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Deleted ports
Sanity Test Failures

NEW Graphs (Javascript)

Calculated hourly:
Port count 25989
Broken 286
Deprecated 60
Ignore 552
Forbidden 0
Restricted 203
Vulnerable 54
Expired 26
Set to expire 47
Interactive 0
new 24 hours 4
new 48 hours9
new 7 days28
new fortnight50
new month142

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.