non port: Mk/Scripts/qa.sh |
SVNWeb
|
Number of commits found: 145 (showing only 45 on this page) |
Mon, 9 May 2016
|
[ 10:12 mat ]
Try to simplify how libperl.so is looked for.
PR: 209123
Submitted by: mat
Exp-run by: antoine
With hat: perl@
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D6107
|
Thu, 21 Jan 2016
|
[ 16:18 swills ]
exclude all gem stuff from path check
|
Mon, 18 Jan 2016
|
[ 16:16 mat ]
Be consistent and always enclose shell variables inside braces.
Sponsored by: Absolight
|
[ 16:16 mat ]
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 ]
Do not advise to strip object files, it can be harmful
Reported by: koobs
With hat: portmgr
|
Mon, 19 Oct 2015
|
[ 16:59 bdrewery ]
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 ] (Only the first 10 of 11 ports in this commit are shown above. )
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
USES=terminfo
- 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 ]
Make baselibs QA check non recursive and activate it again
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D3352
|
Sun, 9 Aug 2015
|
[ 11:41 bapt ]
Disable baselibs check until it is made saner (aka non recursive)
|
[ 10:10 antoine ]
Fix a typo that made baselibs QA check run twice on some files
With hat: portmgr
|
Sun, 19 Jul 2015
|
[ 22:19 bapt ]
Fix path of libedit
|
[ 22:07 bapt ]
Add a QA check on some base libraries (for now only libedit and libarchive)
|
Tue, 14 Jul 2015
|
[ 20:36 amdmi3 ]
- 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 ]
- 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 ]
- 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 ]
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 ] (Only the first 10 of 32 ports in this commit are shown above. )
- 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 ]
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: https://reviews.freebsd.org/D2121
Approved by: bdrewery
|
Tue, 23 Dec 2014
|
[ 00:27 mat ]
Don't output a warning if PERL_ARCH does not exist.
With hat: portmgr
Sponsored by: Absolight
|
Wed, 17 Dec 2014
|
[ 13:21 mat ] (Only the first 10 of 12 ports in this commit are shown above. )
Make Perl link all .so it builds with libperl.so.
It makes upgrading from one Perl major version to another way easier. For
binary package users, it means pkg upgrade will detect the libperl.so.x.yy
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
rebuilt.
PR: 195821
Differential Revision: https://reviews.freebsd.org/D1241
Submitted by: mat
Reviewed by: antoine, bdrewery
Exp-run by: antoine
With hat: perl
Sponsored by: Absolight
|
Fri, 3 Oct 2014
|
[ 18:47 bdrewery ]
- Allow LINUXBASE for shebangs.
PR: 193878
Submitted by: Jan Beich <jbeich@vfemail.net>
With hat: portmgr
|
Mon, 15 Sep 2014
|
[ 18:23 tijl ]
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 ]
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: https://reviews.freebsd.org/D684
Reviewed by: bapt, hrs
With hat: portmgr
|
Mon, 25 Aug 2014
|
[ 22:10 antoine ]
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
/usr/ports/www/claroline/work/stage
*** Error code 1
Differential Revision: https://reviews.freebsd.org/D685
Reviewed by: bdrewery
With hat: portmgr
|
Sun, 17 Aug 2014
|
[ 17:48 antoine ]
Advise trying INSTALL_TARGET=install-strip before ${STRIP_CMD}
Phabric: D477
Reviewed by: bdrewery
With hat: portmgr
|
Tue, 17 Jun 2014
|
[ 14:33 rene ]
Mk/Scripts/qa.sh: add /bin/tcsh as a valid shebang.
Phabric: D231
Approved by: portmgr (antoine)
|
Fri, 9 May 2014
|
[ 22:29 bdrewery ]
- 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 ]
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 ]
- 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 ]
Do not advise to strip ELF relocatables, usually it is harmful
With hat: portmgr
|
[ 20:48 antoine ]
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 ]
- 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 ]
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 ]
- 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 ]
- 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 ]
- 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 ]
Fix paths check from qa.sh
IFS is set to newline so dirs was not correctly splitted
Approved by: portmgr (bapt)
|
Fri, 6 Dec 2013
|
[ 23:12 bapt ]
/usr/bin/nawk and /bin/csh are valid shebangs
|
Sat, 23 Nov 2013
|
[ 12:23 mandree ]
- in qa.sh, properly work with filenames containing blank or tab,
by setting IFS to just LF
- in check-stagedir.sh, properly detect unset environmental variables,
and list them all
- in check-stagedir.sh, also list the full prefix as known, not just
its parents
PR: 184039
Approved by: portmgr (bapt)
|
Thu, 31 Oct 2013
|
[ 19:07 mandree ]
bsd.stage.mk: Fewer false positives, much faster, easier maintenance.
Bugfixes:
* @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
prefix.
* 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 )
|
Sun, 20 Oct 2013
|
[ 18:12 ak ]
- Add check for suid files and directories
Approved by: portmgr (bapt)
|
Sat, 19 Oct 2013
|
[ 00:17 bapt ]
Recommand to use STRIP_CMD to strip binaries given that it will respect the
WITH_DEBUG option
|
Fri, 11 Oct 2013
|
[ 02:52 bdrewery ]
- 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 ]
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 ]
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: 145 (showing only 45 on this page) |