354 Commits

Author SHA1 Message Date
zhuk
a5f6f0b203 Improve SHARED_LIBS handling a bit:
- Give better warning in case of unusual SHARED_LIBS line;
 - Don't warn at all if shared libs bumping wasn't requested;
 - Handle (rare) SHARED_LIBS-foo case, see x11/qt5 for a legitimate case.
2015-01-07 20:46:35 +00:00
espie
0c44a25b22 regorg code, no actual change 2014-12-25 15:14:14 +00:00
espie
384c043324 display something while waiting for STARTUP to finish 2014-12-22 09:05:24 +00:00
zhuk
254efb2ffc Stop warning about lib/qt[34]/ prefix in WANTLIB.
Qt3 and Qt4 don't clash in library names; and Qt4 won't clash with Qt5
either.

Inspired by a talk with bradp@ long time ago.
2014-11-13 15:35:50 +00:00
bcallah
c1482b7120 Change "Found out" to "Discovered" for more natural English.
clarifications from sthen@
ok espie@
2014-11-03 19:50:01 +00:00
zhuk
4efe72d480 Sometimes you need a pause for a month or two to find one-liner for the
problem you thought is too complex.

Allow simple "-subpkg" to be used instead of ugly ",-subpkg" for portbump.
2014-09-30 16:56:21 +00:00
naddy
ce2be36268 Add the remaining pieces to allow fake as non-root.
Not enabled as a general default yet.

Committing for espie@
2014-08-14 17:04:12 +00:00
zhuk
3328f8e8bb Sync usage after addition of -m flag.
ok jca@ and kirby@
2014-08-12 07:59:34 +00:00
zhuk
209a154c40 Properly ignore default.kde* files, they live under share/icons/ directly. 2014-08-12 01:44:08 +00:00
zhuk
70ecb19bad Fix make(1) calls when SKIPDIR framework is in use. 2014-08-12 00:37:44 +00:00
zhuk
29e6450c9e Make perl code in check_hardcoded() return non-zero on failure.
More standard and error-prone style.
2014-08-12 00:30:35 +00:00
zhuk
8c6767683f Get rid of "|| error=true" where it's not needed. 2014-08-10 20:46:04 +00:00
zhuk
149ee8c0bf Add support for SKIPDIR, STARTDIR and STARTAFTER environment variables,
like bsd.port.subdir.mk does. Allows to continue a long "portcheck -A"
session.
2014-08-10 20:41:54 +00:00
zhuk
cb0d60b618 Add check for WANTLIBs hidden by RUN_DEPENDS. This WILL eventually break
bulk build, and I know at least two people (ajacoutot@ and me) that were
already bitten by this problem.

This somewhat increase check time, unfortunately, but not too much.

Test for this feature to follow after full unlock.
2014-08-10 20:39:03 +00:00
espie
6d9d41a321 new flag -i, to ignore owner/group errors 2014-08-10 08:55:30 +00:00
zhuk
11980a23e7 The sort(1) is more clever than me. 2014-07-25 12:03:44 +00:00
zhuk
473d7c6106 Print understandable error in case we didn't find where to place new
REVISION mark instead of cryptic Perl warnings.
2014-07-25 12:03:14 +00:00
zhuk
be50614909 Expand list of "trigger" variables in portbump. Fixes running portbump
under x11/gnome as seen by ajacoutot@.
2014-07-25 11:40:53 +00:00
zhuk
01c9f57f33 Missing function name between "&&" and arguments.
okay sthen@ since portcheck doesn't affect actual release
2014-07-23 22:12:41 +00:00
zhuk
0a5cf3f39d Fix FULLPKGNAME handling, it should be subpackage-dependent.
okay sthen@ since portcheck doesn't affect actual release
2014-07-23 22:11:20 +00:00
ajacoutot
b09337f520 No more BSD.local.dist.
reported by richard at aaazen dot com
2014-07-19 07:04:42 +00:00
zhuk
1eb8b10145 Introduce portbump(1): one more tool in a Real Porter's collection.
Now, in conjuction with sqlports package, you can bump a bunch of ports
in a few minutes (including time for manual verification).

Idea supported and input given at different time by sthen@, afresh1@,
espie@, ajacoutot@ and others.

Tests to follow.
2014-07-12 19:34:08 +00:00
espie
1fea0013e2 ignore timestamp differences 2014-07-10 10:31:02 +00:00
zhuk
e799c83cc1 Catch situations with both stdc++ in WANTLIB and gcc4 in MODULES, and give
clues what could be wrong. Inspired by recent switch of KDE4 to GCC 4.8.
2014-07-10 09:57:13 +00:00
espie
6fdf593e02 much simpler reorder packages fix 2014-07-09 11:39:24 +00:00
espie
5ce51d54dd add glue necessary for check-lib-depends to scan out-of-order packages
problem noticed by Giovanni Bechis
2014-07-09 11:26:11 +00:00
zhuk
d3f87bf722 Add a special case for .xpm files, those should go under share/pixmaps/
usually.

Initiated after discussion with kirby@ about games/vegastrike/data in WIP.
2014-07-08 09:48:07 +00:00
bluhm
8de915b166 The script outdated-perl-ports did not parse the epoch number. Fix
the regex to get additional outdated perl ports.
OK espie@
2014-07-07 20:01:39 +00:00
zhuk
c36d514395 Check for leading articles in COMMENT lines.
Suggested by sebastia@.
2014-05-19 00:57:54 +00:00
kirby
e4425c4dd1 compileall.py should be run with ${MODPY_BIN}
okay zhuk@
2014-05-09 20:34:36 +00:00
zhuk
8a07bcfaf1 GLib2 XML schemas mean not only run-time dependency, but devel/dconf in
MODULES, ever.

A few ports are missing devel/dconf in MODULES, to be fixed in a few
minutes.

prodding from ajacoutot@
2014-05-08 17:07:46 +00:00
zhuk
2c410bd0a2 Make it more clear that devel/gettext is preferred as member of MODULES
rather than RUN_DEPENDS.
2014-05-08 15:41:55 +00:00
zhuk
dc8ca3d444 kirby@ pointed out that GLib schema presence should result in devel/dconf,
not devel/glib2. Adjust checks accordingly.
2014-05-08 15:39:49 +00:00
zhuk
cd9770b946 Check for hardcoded paths in Makefiles, too.
Inspired by a not-yet-committed sumbmission on ports@ (hint! hint!).
2014-05-08 07:02:33 +00:00
zhuk
9470fce250 Add GLib2 XML schema @exec/@unexec-delete hooks checks, similar to MIME
packages handling.

Suggested by kirby@
2014-05-07 22:27:06 +00:00
zhuk
c413c83618 Tweak IFS handling in portcheck(1), based on input from Andres Perera for
another tool.
2014-05-07 21:57:00 +00:00
zhuk
045720ca67 Check that man and info pages doesn't go under /usr/local/share/{man,info}.
As usual, inspired by a port review on ports@.
2014-05-06 11:00:55 +00:00
espie
2cf36ad340 make HISTORY_ONLY work again... I managed to break it twice :) 2014-04-28 12:51:41 +00:00
zhuk
16e5bd473c Check for extra PERMIT_* lines: not critical but shrinks port Makefiles. 2014-04-27 17:57:14 +00:00
zhuk
9319072f33 Fix hardcoded paths detection using perl. Reminded by jasper@, thanks!
Tests updates to follow.
2014-04-19 17:20:37 +00:00
afresh1
03fb3296fa Lexical $_ fixes in package tools
okay espie@
2014-03-24 15:18:17 +00:00
espie
5a5389697a zap $_ usage 2014-03-21 11:01:43 +00:00
espie
aeb62cfe9c my $_ 2014-03-18 20:39:45 +00:00
espie
a384b0d3a8 my tracer used lexical $_ 2014-03-17 10:49:19 +00:00
espie
bf709a9acc tweak waiting-for-lock mechanism: explicitly keep track of order,
and have each job relinquishing lock wake up the next one.

To cater for external dpbs, also try to wake up next job if we don't own the
lock.
2014-03-15 09:51:27 +00:00
espie
c8571e2c0f restore BUILD_ONCE optimization for full ports builds 2014-03-09 19:47:35 +00:00
zhuk
934244224a Warn about empty lines in PLIST/PFRAG files. Idea supported by jasper@. 2014-02-09 19:26:25 +00:00
zhuk
59eeb06308 Rever previous, it actually makes portcheck do not trigger for problematic
/var paths at all. A better fix will come later, let's go for low hanging
fruits now.
2014-02-09 18:11:13 +00:00
zhuk
47f5103e9f Do not warn about hardcoded /var/log/*. 2014-02-09 17:24:48 +00:00
zhuk
c95c81bf60 Fix checks for duplicated assignments. Noted while watching at
portcheck -A output for audio/soundtouch.
2014-02-09 16:09:55 +00:00