292 Commits

Author SHA1 Message Date
zhuk
1b513eef98 soundserver_idl and vcard are often written wrong in WANTLIB; add checks
for them, too.
2014-01-13 11:47:31 +00:00
zhuk
0d3109f115 Add checks for hardcoded /usr/local and /var in MESSAGE, DESCR, README and
UNMESSAGE files.
2014-01-11 16:42:01 +00:00
espie
a99c5726b2 bye bye COMMENT, you've been dead for 8 years 2014-01-07 14:30:12 +00:00
espie
06ad0f0baa move to @signer 2014-01-04 00:10:18 +00:00
zhuk
df36fdc9b1 Handle "?=" as well as "=" when searching for duplicated assignments. 2013-12-30 12:29:25 +00:00
zhuk
12b19d3aa2 Catch Samba libraries not written as lib/samba/ as well as Qt and others. 2013-12-29 16:59:06 +00:00
zhuk
4263b12592 Unbreak detection of extra files in ports directory.
The portcheck starts to really need having regression tests.
2013-12-29 07:07:25 +00:00
zhuk
15c78efc69 Try to catch some obvious errors like:
RUN_DEPENDS =
...
RUN_DEPENDS =

This won't catch such problems if they are spread in different files, but
should be helpful anyway now: idea from my recent typo in x11/kde4/runtime.
2013-12-28 22:29:50 +00:00
espie
0a8e199101 future keyword, shouldn't be registered 2013-12-26 22:33:35 +00:00
zhuk
37a4b2b2f9 Warn about SHARED_LIBS inside .if statements: those could hide some
problems, and make some other automated checks ineffective. And we
try to have are ports more declarative than imperative, anyway.

The idea was supported by espie@ a while ago.
2013-12-21 11:47:20 +00:00
zhuk
4f3e41b9d0 Catch duplicated REVISION marks. Idea born after looking at result of
cvs update devel/boost in my local tree.
2013-12-21 08:59:30 +00:00
zhuk
1d58015f11 Now that we have portcheck(1), start relying on it instead of doing
the checks and pkgpath detection ourself in portimport(1).

Sitting on this diff since september, reminded by kirby@.

Tested in the wild by importing many ports, mostly KDE4-related.

Input and okay sthen@

(now committing the right file instead of ports/bin/portcheck)
2013-12-11 16:11:09 +00:00
zhuk
1769aeb25d Oops, committed to portcheck instead of portimport. This reverts
the accidental changes that need some discussion.
2013-12-11 16:07:44 +00:00
zhuk
dab8a6b9ba Fix spurious "coprocess already exists" by adding some "wait" calls.
From Bitrig via Martin Natano.
2013-12-11 15:54:03 +00:00
zhuk
8dff51f298 Zap extra word in message.
From Bitrig via Martin Natano.
2013-12-11 15:53:07 +00:00
zhuk
12e075e9da Now that we have portcheck(1), start relying on it instead of doing
the checks and pkgpath detection ourself in portimport(1).

Sitting on this diff since september, reminded by kirby@.

Tested in the wild by importing many ports, mostly KDE4-related.

Input and okay sthen@
2013-12-11 13:55:34 +00:00
zhuk
ed6a8d0bf3 Catch missing multimedia/phonon in modules. Actual for upcoming KDE4 apps
outside of KDE SC.
2013-12-10 19:08:49 +00:00
zhuk
fce9ca5853 Oops, extra colon sneaked in previous commit. 2013-11-28 15:48:29 +00:00
zhuk
74577504a0 Some missing ${portref} in err() calls. Found while checking new KDE ports. 2013-11-28 13:38:01 +00:00
zhuk
7774a27c62 Remove check for files/directories named "core", they are not a problem
anymore.

Pointed out by sthen@.
2013-11-12 11:24:21 +00:00
naddy
9b97317187 spelling; ok zhuk@ 2013-11-10 14:56:41 +00:00
naddy
394ea9b42a fix the check for long lines, simplify; ok zhuk@ 2013-11-09 23:27:30 +00:00
ajacoutot
5a2b6c9606 SECURITY files are gone.
ok zhuk@
2013-11-07 08:18:16 +00:00
zhuk
3b4d47508a Add checks for maximum line length in some port files. Feel free to correct
actual numbers if needed.

Suggested by bcallah@ on ports@.
2013-11-01 10:43:40 +00:00
zhuk
bcc21ce9ca Add a check that we do not end up with WANTLIB in arch-independent package. 2013-10-25 23:32:08 +00:00
zhuk
d9db98e386 Improve handling of icon themes:
- Make sure there is @unexec-delete rm -f %D/share/icons/foo/icon-theme.cache
    for every icon theme index file; e.g., remove caches altogether with the
    theme itself. Also, make sure that such line preceeds all of the icon theme
    files there.
  - Stop checking if the @exec/@unexec-delete line for theme is already listed:
    we already take number of them into account, and those checks involve
    calling the fgrep(1).
2013-10-19 20:06:14 +00:00
espie
dad88b1382 restore tracing, unintentional removal 2013-10-18 07:48:09 +00:00
espie
b2de3fa518 simplify. The limiter does a good enough job of throttling the display,
so we can try to report every time, independently of the clock job.
2013-10-18 07:45:41 +00:00
espie
0c704ca843 handle window resizes correctly 2013-10-15 16:07:21 +00:00
espie
d69b05f945 add color support to dpb-replay, normalize options 2013-10-14 19:09:04 +00:00
espie
8877767529 - use separated Heuristics::Size object
- choose size/nosize in Config.
- use affinity or affinitystub
- move locker creation to State, so we can init cores right away.
- as core init has run, we can call DPB::Core->reap (event loop) while
processing size and build stats, so that the startup script may start
slightly earlier.
- setup more options in Config for Reporter to use.
- scaffolding in SubEngine/Build to be able to use affinity info right away
2013-10-13 18:31:50 +00:00
zhuk
a3b03a2014 Disable/improve some Python-related checks, after discussion with fgsch@
a long time ago. Namely, do not warn about .pyc/.pyo without .py, it's
perfectly legal.
2013-10-13 16:54:24 +00:00
zhuk
a87fa44b81 Add checks for some files having newline and EOF in MESSAGE, DESCR and such. 2013-10-13 16:47:18 +00:00
espie
6012cf8ec5 option -e for extra conflicts 2013-10-12 10:17:13 +00:00
espie
f4bfcdb01d trying to figure out the spinning... 2013-10-11 10:26:44 +00:00
espie
722d74cc49 this should work around the spinning loop in fetch.
I still don't understand how it happens, since the queue
ought to be empty ?
2013-10-09 06:21:38 +00:00
espie
28006064d8 fix -F mode... subengine not yet ready to be split,
and we DON'T want an extra build job.
2013-10-06 15:49:22 +00:00
espie
0f33e01c84 special-case single core/single job: create a clone so that we start
building stuff in parallel with LISTING, and fold back LISTING at end.
2013-10-06 14:03:07 +00:00
espie
b46cee4c56 update my copyright to 2013 2013-10-06 13:33:24 +00:00
espie
381a5bce08 fast replay of term log. 2013-10-02 09:09:22 +00:00
espie
4a5c4d7329 clean-up code a bit, move state into its own file 2013-10-02 09:00:34 +00:00
espie
e804dca486 use a "shell" to run getvars, so that we can run it again LATER. 2013-09-18 15:30:40 +00:00
rpe
948c582f3c fix too-short format string for temp file
ok sthen@ ajacoutot@
2013-09-15 09:17:25 +00:00
espie
63daf24a0e reorganize code, so the periodic sleeper task no longer knows
its sleeping interval, but rather asks it from the reporter.

Give limiter customer access to timing information. Eventually,
the reporter could possibly shrink/enlarge the display timeout
automatically.
2013-09-03 09:44:05 +00:00
zhuk
e7d0aee1d9 Catch more files with wrong permissions. 2013-08-27 07:52:15 +00:00
zhuk
a6f6e5da7e Silence a few more false positives when checking actual plist. 2013-08-24 16:15:56 +00:00
zhuk
60d7b0d9b6 Add support for specifying multiple port directories in check-conflicts -p. 2013-08-24 16:06:12 +00:00
zhuk
e057b8022f Use default value of PORTSDIR_PATH when determining root ports directory.
Allows to omit -p option when running inside non-standard dir mentioned in
PORTSDIR_PATH in /etc/mk.conf.
2013-08-24 15:44:59 +00:00
zhuk
d2aa769f71 Check correctly for the presence of SUBDIR-Makefile, and only in update mode. 2013-08-23 08:39:51 +00:00
zhuk
fbdd754494 Handle short reads more gracefully. Allows portcheck to go through
base/xenocara/share/pciids.
2013-08-23 07:45:07 +00:00