3791 Commits

Author SHA1 Message Date
espie
f2c8a35b64 tweak time handling a bit, introduce a "real" vs "perceived" time in stats
for people like me who do ^Z a lot.
2013-09-14 14:58:12 +00:00
espie
12be45691d remove remains of nfs wait_timeout. 2013-09-14 09:42:11 +00:00
espie
59801ba696 next step in chrooting, mostly refactor
- provide a chroot_user definition during prop finalize
- let shellclass be depend on the object built
- have all shells store prop and have access to it
- move the chrooted code into default core shell
- tweak running so that quoting/building commands happen everywhere
- change Config to recognize -B as a chroot override.

Tested thru distant chroot, local and distant !chroot
local chroot still not working, probably missing something stupid
2013-09-11 10:44:13 +00:00
espie
ea5aa15ea6 document chroot properties 2013-09-10 17:52:11 +00:00
espie
66d4d051d1 make it possible to run distant hosts in a chroot 2013-09-09 14:59:53 +00:00
espie
b09a05b63a common code 2013-09-08 19:30:12 +00:00
espie
3ee5353b60 explain about sudo to the Core runner. 2013-09-08 11:10:58 +00:00
espie
e4abcadef0 even with Time::Hires, always log ts in the engine without decimals,
makes for crappy logs otherwise...
2013-09-06 17:11:01 +00:00
espie
df79447c1c quick fix for dpb -x... dirty, refactor needed 2013-09-06 15:58:09 +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
espie
fc9e210a0f pretty unlikely, but the Limiter measurements may straddle a ^Z/fg, so
it's better to adjust the timings there as well.
2013-09-03 09:34:23 +00:00
espie
9eae21b57a error out if we can't open log files (got a weird permission error linked
to a half-baked file-system).
2013-09-03 08:53:49 +00:00
rpe
bd05b78d69 zap two outdated MASTER_SITE_ISC mirrors
ok sthen@ ajacoutot@
2013-08-28 20:43:11 +00:00
rpe
92ddc6887d - remove non-working master sites
- replace e.pypi.python.org with g.pypi.python.org

ok sthen@
2013-08-28 17:27:47 +00:00
espie
1ecc61b2c8 so new_path relies on the pkgname being there, but the engine proper doesn't.
confuses the hell out of some people (hi naddy!) as dpb restarts will notice
built packages regardless of the path.

make things more symetric by doing the check each time we go through tobuild.

I have some misgivings about this, since this is potentially expensive...
2013-08-28 12:00:39 +00:00
espie
b3962116eb some features are not tested often enough.
fix "stop-host".
problem noticed by Florian Obser
2013-08-28 11:55:06 +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
zhuk
9e153dd5cd Fix the case when default FLAVOR contains stuff from PSEUDO_FLAVORS only. 2013-08-23 01:26:18 +00:00
zhuk
e9314bd769 Oops, don't print errors from ls. 2013-08-23 00:43:20 +00:00
zhuk
7adae54162 Pick up .port.mk-only directories in check_port_hier(), too. 2013-08-22 23:30:23 +00:00
zhuk
9ff4094f8d Add missing checks descriptions. 2013-08-22 22:38:32 +00:00
zhuk
66ceb1b95d Enable "set -u" by default. Joint work with rpe@, thanks! 2013-08-22 22:37:17 +00:00
zhuk
b919d70533 This var should be local. 2013-08-22 21:16:04 +00:00
zhuk
3168250cbd More triggering for lib/* prefixes in WANTLIB. 2013-08-22 21:06:00 +00:00
zhuk
b6ff75bbe4 Stupid typo that broke pkgpath detection. 2013-08-22 20:56:14 +00:00
zhuk
a228a81003 Fix "core" handling. It should be ignored in "update" mode (-U).
Noticed by rpe@
2013-08-22 20:43:10 +00:00
zhuk
ec67acf316 Small polish:
* Add a few documentation bits.
   * Use ((++var)) instead of ((var++)), this way no need to append "|| true".
   * Shuffle some functions in alphabetical order.
2013-08-22 20:33:16 +00:00
zhuk
d806b7115a General usability improvements:
* Allow to run tree check (-A) from any directory.
   * Notify about ports root directory only on tree check.
   * Ignore more stuff for tree check, makes easier to run:
       portcheck -Ap /usr/ports/openbsd-wip
   * Use ignore list in has_subdirs_only(), too.
2013-08-22 17:44:22 +00:00
zhuk
1d96eb3030 Add Python-specific checks:
* Each .py file (except examples, documentation and such) should have
    corresponding .pyc.
  * Each .pyc and .pyo should have corresponding .py file.
2013-08-22 16:43:04 +00:00
zhuk
bfcc0145f3 Add variables sometimes referenced in port docs to SUBST_CMD invocation. 2013-08-22 14:08:12 +00:00
zhuk
ed2d5ace90 Do not complain that gettext does not depend on gettext. 2013-08-22 13:56:16 +00:00
zhuk
608d325f5c Unbreak check_pkg_dir() call in check_port_hier() again. 2013-08-22 13:29:07 +00:00
zhuk
c88dd41a8c Do not print an extension of hypothesized app name. 2013-08-22 13:23:54 +00:00
zhuk
adb59db6f0 Add a check that BUILD_DEPENDS and MODULES are not used in subpackaging
manner. Inspired by mail/courier-authlib.
2013-08-22 13:20:17 +00:00
zhuk
a7ee13cc0a Stability fixes: do not abort if read from co-process failed, and declare
local variables before calling "eval" with them.
2013-08-22 12:53:49 +00:00
zhuk
866e8d92a8 Do not complain for missing gettext dependency when translation files are
found and current FLAVOR contains "static". After discussion with naddy@
about archivers/gtar.
2013-08-22 11:31:43 +00:00
zhuk
9be0992edb Fix another err() call. 2013-08-22 10:43:15 +00:00
zhuk
610852140b Found a way to invoke make(1) in co-processes: just redirect stdin to
/dev/null, and it'll die gracefully. Allows to get rid of some ugly nested
shells and finally give check_pkg_dir() ability to use SUBST_CMD in port
parent directories.
2013-08-22 10:41:20 +00:00
zhuk
ec8b06456e Assorted bugfixes:
* Allow entering pure-subdirs directories, like databases/mdbtools.
   * Add missing debugging statements.
   * Do not complain about FULLPKGNAME in @comment'ed lines.
   * Do not fail to check pkg/ when in check_port_hier() (to be improved,
     currently this means no checking for SUBST_VARS there).
   * Add missing ${portref} in err calls.
2013-08-22 09:44:17 +00:00
zhuk
d3ad7330da More theme files to ignore, those were found in XFCE icon theme. 2013-08-22 01:01:11 +00:00
zhuk
bde39bfbf8 Play nicer with different icon themes. They could have different structure,
but at least they all have more depth than any port installing icons under
share/icons/ by error.
2013-08-22 00:56:00 +00:00
zhuk
8eec0881c1 Do not match plist items containing ${FULLPKGNAME} only, those are not
harmful and often used in ports with custom PREFIX.
2013-08-22 00:30:17 +00:00
zhuk
eeaa6c07ee Improve reporting of problems with lib/qt* and lib/kde* in WANTLIB. 2013-08-21 23:46:00 +00:00
landry
36038db8e8 Reserver uid/gid 723 for user/group _barman, will be used by
databases/barman when i'll polish the README/PLIST.
2013-08-21 21:57:05 +00:00
landry
f934d289ed reserve uid/gid 722 for _salt-master/_salt 2013-08-21 21:54:45 +00:00