Commit Graph

1723 Commits

Author SHA1 Message Date
espie
4d3e4bb38e shrink memory used by building only one single list per set of pkgnames.
Also use a simple `seen' cache for files only used by one package, since
they cannot participate in actual conflicts.

Shrinks memory for 250M to 190M, with no negative speed effects.
2007-04-16 14:36:25 +00:00
aanriot
662b3c8355 add _nepenthes uid/gid for net/nepenthes.
from Rui Reis.
2007-04-15 11:56:26 +00:00
espie
8b9618e252 minor indent clean-up.
use auto-vivification to shorten code a bit.
pull out complicated code into its own function.
marginally faster than old version... some size decrease to do later...
2007-04-10 21:36:26 +00:00
espie
e4dcfe629b avoid Makemaker going interactive, okay naddy@ 2007-04-08 16:16:06 +00:00
espie
e9ebd9d4e4 avoid recursing ad nauseam on symlinks. 2007-04-08 15:22:49 +00:00
espie
44415f04fb abort early if packing-list was not read correctly. 2007-04-08 12:36:04 +00:00
espie
7c076f597b port-lib-depends-check should ignore errors, because it's much less useful
that way.
2007-04-08 11:26:39 +00:00
espie
04b97b2f22 STARTDIR functionality: allows one to skip directly to a given directory
and start from there.
2007-04-07 09:55:13 +00:00
espie
97e872a96d sha256 by default 2007-04-05 18:32:26 +00:00
espie
3a1268d790 finish the infrastructure changes needed for correct mirroring:
- use cksum -c, be careful about directories in fetch-all.
- also create links for the base64 version of the links.
2007-04-03 15:37:38 +00:00
espie
064be6c9e4 revert order of tests, if CHECK_LIB_DEPENDS is active, do not register plist
until we're satisfied.
2007-04-03 13:32:45 +00:00
espie
23c2d177a9 allow people to run check-lib-depends automatically, grabbing the files
from WRKINST and the packing-list from the just built package.
Reuse the register_plist pattern.
2007-04-03 10:14:14 +00:00
espie
2ad9b6ee63 error out in case something is not found, remove debug message. 2007-04-03 10:13:27 +00:00
espie
31721c0772 don't restrict -B to the case the packing-list comes from stdin. 2007-04-03 10:05:50 +00:00
espie
1cca659066 configure may not exist. found oud by steven@ 2007-04-02 10:43:39 +00:00
espie
f020e9e32b new target: port-lib-depends-check, can verify libraries directly from the
fake area, without needing to build bogus packages first.
2007-03-31 15:36:43 +00:00
espie
8016e70458 new mode: can work with packing-list on stdin, and a fake directory as -B
argument.
2007-03-31 15:26:45 +00:00
espie
5bc25e411a display warnings if autoconf version differs. 2007-03-30 13:55:07 +00:00
espie
949afb38a5 like xenocara: REORDER_DEPENDENCIES has been tested enough, silence it
by default.
2007-03-30 13:44:50 +00:00
espie
c6897dc077 CHECKSUM_FILE never changes -> can be used directly 2007-03-30 13:41:44 +00:00
espie
c11b8cf59b make sha256 stuff linked as well. 2007-03-30 08:59:07 +00:00
espie
634644d8e4 tweak the way mirror-maker emits stuff, so that the Makefile contains lines
suitable for cksum -c.
2007-03-28 15:45:03 +00:00
espie
fb9fcd5fbc use cksum -c so we can get `magic' base64/hex matching. 2007-03-28 13:21:43 +00:00
espie
bc0a71b1bb remove stupid hack that makes _print-packagename display README on
subdirs. Confuse the hell out of broken dependencies, and is not
even needed.

fix typo.
2007-03-19 21:32:35 +00:00
espie
23eb9fed1b reserve _kdesud 2007-03-18 17:12:16 +00:00
naddy
2c2c250df3 makesum: don't try to create distinfo if there are no distfiles; ok espie@ 2007-03-15 18:11:54 +00:00
pvalchev
3a58459afd latest 2007-03-08 22:55:17 +00:00
pvalchev
39aa16e13b tweak 2007-03-04 18:00:56 +00:00
pvalchev
c46042755b shrink 2007-03-04 08:02:23 +00:00
robert
bb78d67894 add mozilla-firefox 2007-02-26 14:27:39 +00:00
naddy
4d683b20c2 use cksum -a $CIPHER instead of $CIPHER here, too; ok espie@ 2007-02-19 20:14:50 +00:00
bernd
5183642076 Introduce -p option. This allows us to scan the ports tree for conflicts
without the need to have the packages around.

It's really easy now to check if a new package conflicts with other stuff
in the ports-tree:

$ find-all-conflicts -p /usr/ports newpkg.tgz

help & ok espie@
2007-02-19 19:50:50 +00:00
pvalchev
5214917679 vax plist 2007-02-18 07:08:52 +00:00
pvalchev
2f6ccd5571 update to what i use now.. 2007-02-17 02:29:46 +00:00
espie
b5a3fca2a6 use _CKSUMFILES in clean=dist, and recurse if we notice there are
SUPDISTFILES, so we get them as well.

This misbehavior noticed by Mikolaj Kucharski.

(the intention is obviously to regrab everything to verify whether
anything changed, and that includes SUPDISTFILES)
2007-02-16 19:08:54 +00:00
espie
3b1db2b2c1 use cksum -a $$cipher instead of $$cipher to compute crypto hashes.
Only functional change:
Add sha256 at the end of the list of supported ciphers, so that new
makesums will add the new cipher.

The rest is business as usual.
2007-02-11 11:44:17 +00:00
bernd
41bd832cdc Add missing parameter for a parse_original_plist() call in grab_all_lists(). 2007-02-07 11:24:23 +00:00
espie
2c0953c14e minor tidbit: define FULLPKGPATH based on FULLPKGPATH${SUBPACKAGE} in
the multi-packages case, as should be.

introduce _ALLPKGPATHS, and use it in show-required-by, so that
show-required-by works for multi-packages.

problem noticed by bernd@
2007-02-06 20:04:01 +00:00
espie
d0d6d56f7e allow extract-dependencies to use several seeds, which is necessary
for multi-packages ports (databases/sqlite3 == databases/sqlite3,-main).
2007-02-06 20:01:06 +00:00
espie
50ea26a11c rely on new make feature, avoid old work-around (need a current make to
work)
2007-02-03 17:09:39 +00:00
espie
fa6fc8a2f7 sometimes (not very often), config.h.in files live in any directory 2007-02-03 17:08:59 +00:00
espie
7b1ed78b46 pass -a to diff always, as it will often get confused with unicode/iso-latin
stuff.
2007-02-03 17:08:13 +00:00
steven
2e28343314 remove broken and add new sourceforge mirrors
from Jim Razmus <jim at bonetruck.org>
2007-01-18 11:21:15 +00:00
jasper
1616b919e5 zap trailing whitespace in the output 2007-01-17 19:44:19 +00:00
jasper
35713408c8 zap archive.progeny.com, it's refusing connections for some time now.
"go ahead" mbalmer@ and "nuke it!" ckuethe@
2007-01-16 20:00:42 +00:00
sturm
1cc933bba1 check build depends (currently duplicates most of check_run_deps())
ok bernd
2007-01-16 18:15:53 +00:00
espie
a7cedd9db7 add the ability to cleanly delimit embedded plist info.
will help unconfuse lib-depends-check and make-plist wrt error messages.
2007-01-15 13:43:52 +00:00
espie
f7229e2ff8 make expr less greedy 2007-01-12 21:53:31 +00:00
mbalmer
81648b584d Add the _tabled user. 2007-01-12 14:01:08 +00:00
bernd
64d1a3eb01 It's possible that the package version we get from the ports tree is
different than expected. Teach handle_dependency() how to cope with that.

Debugged with msf@ some time ago. Fix tested by msf@, sturm@ and steven@.

This also fixes the following error some people have seen:

"Can't use an undefined value as a HASH reference at
/usr/ports/infrastructure/package/check-newlib-depends line 234."

"go for it" espie@
2007-01-11 18:45:18 +00:00