3579 Commits

Author SHA1 Message Date
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
zhuk
2a8f669697 Try to detect misspelled variables in majority of packaging files. The logic
is simple: after running pkg_subst(1) there should be no ${[A-Z]+} strings.

idea from kirby@
2013-08-21 21:53:29 +00:00
zhuk
ac8c535fc4 Zap unused variable. 2013-08-21 21:08:43 +00:00
zhuk
6bf8756c5e Fix OpenBSD RCS tag handling, including escaping the tag in the code where
appropriate - or CVS will happily convert:

  fgrep '$OpenBSD$'

to:

  fgrep '$OpenBSD: ...$'

Also, add a check that FULLPKGNAME does not happen in PLIST/PFRAG except for
share/doc/pkg-readmes/* items.
2013-08-21 21:02:16 +00:00
zhuk
2b6b09c48f Add checks whether we have Qt* or kdecore* in WANTLIB but no x11/qt* or
x11/kde* in MODULES. Inspired by audio/mumble port on ports@.
2013-08-21 19:49:32 +00:00
zhuk
4a75a7feb6 Add portcheck(1), the port bugs detection utility.
Generic idea to split checks from portimport(1) came from sthen@.

Input from ajacoutot@, jmc@, rpe@, sthen@, Andreas Perera and Juan
Francisco Cantero Hurtado.

"put it in" ajacoutot@
2013-08-21 17:00:24 +00:00
ajacoutot
cc1015ee6b The _cups group will soon be used by print/hplip,-libs, 2013-08-21 12:36:15 +00:00
naddy
a203ab3f3c very boring 5.4 CD packages 2013-08-15 15:09:18 +00:00
bluhm
18a3d36899 Fix the ports build with systrace as the time_t diff has replaced
getdirentries(2) with getdents(2).
OK gsoares@ dcoppa@
2013-08-14 07:31:34 +00:00
naddy
04da26bdd8 ftp.gnu.org is available over https 2013-08-09 20:20:29 +00:00
naddy
b164eddd96 remove last mentions of GCC2_ARCHS variable 2013-08-09 11:02:28 +00:00
naddy
f1d7acc394 vax now uses gcc3.
Retain GCC2_ARCHS until all references to it have been removed.
2013-08-07 11:11:52 +00:00
espie
2fee4e8d8d show values when mismatch 2013-08-07 09:21:09 +00:00