notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

non port: Mk/Scripts/qa.sh

Number of commits found: 158 (showing only 58 on this page)

«  1 | 2 

Thursday, 8 Sep 2016
14:12 mat search for other commits by this committer
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
Original commitRevision:421553 
Monday, 29 Aug 2016
15:23 mat search for other commits by this committer
Add a stage-qa check to check for the existence of SONAME in .so's.

If a port provides .so.X files, they have to have a SONAME for them to
work correctly.

While there, incorporate a reverse soname checks in proxydeps.
A port that needs a .so.X from another port which does not have a
SONAME.

Reviewed by:	bapt
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D7454
Original commitRevision:421068 
Friday, 26 Aug 2016
12:43 mat search for other commits by this committer
Use LIB_DEPENDS when appropriate in KDE components.

Lots of KDE components are providing libraries, and they were,
strangely, written as BUILD_ or RUN_DEPENDS, with a full path to the
library.  Change this so that if a component is needed at both build,
and, run-time, then it gets a LIB_DEPENDS.

Reviewed by:	rakuco, tcberner
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D7625
Original commitRevision:420914 
Friday, 5 Aug 2016
18:29 mat search for other commits by this committer
Tell people to add USES=gettext-runtime, not USES=gettext.

This is done after the port has been built, so it is already building,
so it does not need to be added a BUILD_DEPENDS on gettext-tools.

Discussed with:	dumbbell
Sponsored by:	Absolight
Original commitRevision:419700 
Thursday, 30 Jun 2016
09:59 mat search for other commits by this committer
Only warn about symlinks that exist in the stage directory, or that
exist nowhere.

Sponsored by:	Absolight
Original commitRevision:417821 
Tuesday, 28 Jun 2016
07:58 amdmi3 search for other commits by this committer
- Fix typo: "you need USES=nssl" -> "you need USES=ssl"

Approved by:	mat
Differential Revision:	D6997
Original commitRevision:417699 
Monday, 27 Jun 2016
13:26 mat search for other commits by this committer
Catch up two instances of USE_OPENSSL.

Sponsored by:	Absolight
Original commitRevision:417658 
11:31 mat search for other commits by this committer
Replace bsd.openssl.mk with USES=ssl

Add a qa hint about needing, or not, USES=ssl.

Fix ports doing silly things, like including bsd.openssl.mk directly.

PR:		210322
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6866
Original commitRevision:417651 
Thursday, 23 Jun 2016
11:31 mat search for other commits by this committer
Extend the symlink checks to warn on absolute targets.

Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6930
Original commitRevision:417364 
Thursday, 16 Jun 2016
14:32 mat search for other commits by this committer
Add USE_OPENSSL to the proxy libs thing.

Sponsored by:	Absolight
Original commitRevision:416970 
Saturday, 28 May 2016
17:16 amdmi3 search for other commits by this committer
Fix sed command in proxydeps_suggest_uses qa.sh check

It led to incorrect "you need USE_XORG+" suggestion

Submitted by:	amdmi3
Approved by:	portmgr (bapt)
Differential Revision:	D6618
Original commitRevision:416052 
Wednesday, 25 May 2016
11:59 mat search for other commits by this committer
A new stage-qa test has been added, it reports all shared libraries
dependencies that are not part of the port list of dependencies.  It help
finds what is called proxy dependencies.

A is needed by B, and B is needed by C.  If C also needs A, then it needs to
be registered, and this check will tell you to do so.

Right now, it is only reporting the problems, but if you add
PROXYDEPS_FATAL=yes to your environment, it will give an error and will force
you to fix the dependencies.

PR:		195203
Submitted by:	yuri rawbw com (earlier version)
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6531
Original commitRevision:415827 
Friday, 20 May 2016
19:01 mat search for other commits by this committer
Ease debugging of Mk/Scripts scripts.

Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6474
Original commitRevision:415573 
Monday, 9 May 2016
10:12 mat search for other commits by this committer
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
Original commitRevision:414832 
Thursday, 21 Jan 2016
16:18 swills search for other commits by this committer
exclude all gem stuff from path check
Original commitRevision:406868 
Monday, 18 Jan 2016
16:16 mat search for other commits by this committer
Be consistent and always enclose shell variables inside braces.

Sponsored by:	Absolight
Original commitRevision:406594 
16:16 mat search for other commits by this committer
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
Original commitRevision:406593 
Friday, 25 Dec 2015
23:22 antoine search for other commits by this committer
Do not advise to strip object files, it can be harmful

Reported by:	koobs
With hat:	portmgr
Original commitRevision:404488 
Monday, 19 Oct 2015
16:59 bdrewery search for other commits by this committer
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
Original commitRevision:399699 
Thursday, 8 Oct 2015
14:12 amdmi3 search for other commits by this committer
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
Original commitRevision:398827 
Monday, 10 Aug 2015
17:06 antoine search for other commits by this committer
Make baselibs QA check non recursive and activate it again

Reviewed by:	bapt
Differential Revision:	https://reviews.freebsd.org/D3352
Original commitRevision:393878 
Sunday, 9 Aug 2015
11:41 bapt search for other commits by this committer
Disable baselibs check until it is made saner (aka non recursive)
Original commitRevision:393778 
10:10 antoine search for other commits by this committer
Fix a typo that made baselibs QA check run twice on some files

With hat:	portmgr
Original commitRevision:393773 
Sunday, 19 Jul 2015
22:19 bapt search for other commits by this committer
Fix path of libedit
Original commitRevision:392541 
22:07 bapt search for other commits by this committer
Add a QA check on some base libraries (for now only libedit and libarchive)
Original commitRevision:392538 
Tuesday, 14 Jul 2015
20:36 amdmi3 search for other commits by this committer
- Add /usr/sbin/dtrace to the list of allowed shebangs

Submitted by:	amdmi3
Approved by:	portmgr (bapt)
Differential Revision:	D3070
Original commitRevision:392087 
Thursday, 4 Jun 2015
11:37 amdmi3 search for other commits by this committer
- 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)
Original commitRevision:388526 
Wednesday, 20 May 2015
19:47 amdmi3 search for other commits by this committer
- 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)
Original commitRevision:386884 
Thursday, 30 Apr 2015
02:44 bdrewery search for other commits by this committer
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
Original commitRevision:385021 
Monday, 20 Apr 2015
19:06 tijl search for other commits by this committer
- 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)
Original commitRevision:384380 
Monday, 23 Mar 2015
20:41 feld search for other commits by this committer
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
Original commitRevision:382038 
Tuesday, 23 Dec 2014
00:27 mat search for other commits by this committer
Don't output a warning if PERL_ARCH does not exist.

With hat:	portmgr
Sponsored by:	Absolight
Original commitRevision:375297 
Wednesday, 17 Dec 2014
13:21 mat search for other commits by this committer
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
Original commitRevision:374847 
Friday, 3 Oct 2014
18:47 bdrewery search for other commits by this committer
- Allow LINUXBASE for shebangs.

PR:		193878
Submitted by:	Jan Beich <jbeich@vfemail.net>
With hat:	portmgr
Original commitRevision:369928 
Monday, 15 Sep 2014
18:23 tijl search for other commits by this committer
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)
Original commitRevision:368281 
Saturday, 30 Aug 2014
08:55 antoine search for other commits by this committer
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
Original commitRevision:366597 
Monday, 25 Aug 2014
22:10 antoine search for other commits by this committer
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
Original commitRevision:366159 
Sunday, 17 Aug 2014
17:48 antoine search for other commits by this committer
Advise trying INSTALL_TARGET=install-strip before ${STRIP_CMD}

Phabric:	D477
Reviewed by:	bdrewery
With hat:	portmgr
Original commitRevision:365214 
Tuesday, 17 Jun 2014
14:33 rene search for other commits by this committer
Mk/Scripts/qa.sh: add /bin/tcsh as a valid shebang.

Phabric:	D231
Approved by:	portmgr (antoine)
Original commitRevision:358122 
Friday, 9 May 2014
22:29 bdrewery search for other commits by this committer
- 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
Original commitRevision:353532 
Tuesday, 6 May 2014
11:57 tijl search for other commits by this committer
Let stage-qa detect .la libraries and warn that a port needs USES=libtool.

PR:		ports/189255
Approved by:	portmgr (antoine)
Original commitRevision:353084 
Monday, 21 Apr 2014
20:17 antoine search for other commits by this committer
- Do not advise to strip non FreeBSD binaries [1]
- Shorten messages

Requested and tested by:	xmj [1]
With hat:	portmgr
Original commitRevision:351707 
Saturday, 12 Apr 2014
20:49 antoine search for other commits by this committer
Do not advise to strip ELF relocatables, usually it is harmful

With hat:	portmgr
Original commitRevision:351133 
20:48 antoine search for other commits by this committer
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
Original commitRevision:351132 
Friday, 11 Apr 2014
14:15 bdrewery search for other commits by this committer
- 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
Original commitRevision:350959 
Tuesday, 8 Apr 2014
16:50 antoine search for other commits by this committer
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
Original commitRevision:350634 
Thursday, 3 Apr 2014
14:09 bdrewery search for other commits by this committer
- 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
Original commitRevision:350013 
13:00 bdrewery search for other commits by this committer
- 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
Original commitRevision:350006 
Tuesday, 28 Jan 2014
22:19 antoine search for other commits by this committer
- 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
Original commitRevision:341664 
Thursday, 9 Jan 2014
18:43 antoine search for other commits by this committer
Fix paths check from qa.sh
IFS is set to newline so dirs was not correctly splitted

Approved by:	portmgr (bapt)
Original commitRevision:339268 
Friday, 6 Dec 2013
23:12 bapt search for other commits by this committer
/usr/bin/nawk and /bin/csh are valid shebangs
Original commitRevision:335787 
Saturday, 23 Nov 2013
12:23 mandree search for other commits by this committer
- 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)
Original commitRevision:334663 
Thursday, 31 Oct 2013
19:07 mandree search for other commits by this committer
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).

* The compress-man target uses ECHO_MSG, not ECHO_CMD, to print its
  build step.

Additions:

* The plist parser now understands @unexec rmdir ... || ... lines,
  including those with redirections, so that there are no false
  positives for directories stripped with @unexec rmdir (usually
  happens on stuff installed outside $PREFIX, as in /var).

* The system's root and var mtrees are now also expanded to avoid
  false @dirrm positives if a port installs directories under /var
  and has to create parents in the stagedir that are present in a fully
  installed system (i. e. in the real $PREFIX).

* Given that pkg_create is deemed beyond repair with respect to deleting
  files outside prefix, generate @unexec rmdir statements for such
  directories, rather than @dirrmtry, to sidestep the problem.

Speedups:

* the orphan check now generates sorted lists of staged files,
  and plisted/mtree files, and compares them with comm(1).
  This saves us the overhead of running one grep process per file
  and up to two per directory, and defers the actual list
  processing to a shell utility.  Complexity has not changed,
  but overhead per item has.

* the orphan check now uses one file for directories and one file for
  files mentioned in pkg-plist, so we need not decorate them with "dir "
  and parse them out any longer.

* qa.sh's shebang scanner only looks at the first line of a file,
  sed is told to exit from the 2nd line.

Other Changes:

* Split the makeplist/check-orphans logic out of bsd.stage.mk,
  it is too unwieldy to maintain in make-escaped shell syntax,
  and permits shell tracing with "SH=sh -x" (including quotes!)

* Unify the functions "makeplist" and "check-orphans" in one
  script.  The only difference is that makeplist assumes an empty
  pkg-plist, whereas check-orphans parses it.

* overhaul the mtree extractor, avoiding awk.

Reviewed by:	bapt
Approved by:	portmgr (bapt)
Original commitRevision:332275 
Sunday, 20 Oct 2013
18:12 ak search for other commits by this committer
- Add check for suid files and directories

Approved by:	portmgr (bapt)
Original commitRevision:331046 
Saturday, 19 Oct 2013
00:17 bapt search for other commits by this committer
Recommand to use STRIP_CMD to strip binaries given that it will respect the
WITH_DEBUG option
Original commitRevision:330810 
Friday, 11 Oct 2013
02:52 bdrewery search for other commits by this committer
- 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
Original commitRevision:330052 
Thursday, 10 Oct 2013
17:09 antoine search for other commits by this committer
Add two QA tests for staged ports:
- check for desktop files handling MIME types
- check for share MIME-Info database

Approved by:	portmgr (bapt)
Original commitRevision:330020 
Wednesday, 9 Oct 2013
15:11 bapt search for other commits by this committer
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.
Original commitRevision:329902 

Number of commits found: 158 (showing only 58 on this page)

«  1 | 2