Commit Graph

1829 Commits

Author SHA1 Message Date
espie
b257e4d40f put all phony targets inside a variable, so I can check quickly that those
targets do still exist.
2007-06-04 12:15:09 +00:00
espie
479b2ddcdc since we no longer have to tsort the output of _print-package-args,
we can compute it first, and only start pkg_create if it didn't error
out.

This gets rid of the very verbose and confusing error messages
pkg_create meets when the ports tree cannot solve some dependencies.
2007-06-03 22:30:25 +00:00
espie
7f62033c1e zap duplicate lines 2007-06-03 22:25:01 +00:00
espie
1196a0d7f3 reorganize to avoid repeating lists of targets:
classify stuff that is used in bsd.port.subdir.mk, name them in pkgpath.mk,
and use them as .PHONY targets in both bsd.port.mk and bsd.port.subdir.mk.
2007-06-03 12:51:59 +00:00
espie
d2fbe0a110 ouch, look for the actual location, not the package name, so that
we use built packages as much as possible (this is much faster than
regenerating packing-lists on the fly).
2007-06-03 11:57:36 +00:00
espie
b4a526a3bb tell make-plist about .saved-libs 2007-06-03 11:06:41 +00:00
espie
8aed1af7f0 Let lock save the BUILD_PKGPATH.
Do port-lib-depends-check in two steps: first generate a list of
binary: lib1,lib2,lib3
in WRKINST/.saved_libs
then run check-lib-depends on it.

Speeds up tweaks to WANTLIB quite a lot, as we do not rescan every
binary all the time...
2007-06-03 11:03:06 +00:00
espie
009f44b53a allows saving/retrieving dump of objdump runs. 2007-06-03 11:01:10 +00:00
espie
1cc1790f05 add an option which simply dumps the stuff out. 2007-06-03 10:32:23 +00:00
espie
27af9a55a3 assorted cleaning-up:
- no longer any needed to put haslib and needlib together, since we
create it independently.
- replace the tests for opt_f by a distinct Recorder object, that either
keeps all binary names, or just some (bonus: this should allow us to
store the information the other way around).
- remove extra $db parameter which no longer servers any purpose.

Comment a few data structure.
2007-06-03 09:21:50 +00:00
espie
f10eb23d0b finish killing old stuff, you should have updated by now. 2007-06-02 12:23:28 +00:00
espie
0c6983c419 allow locking command to take extra parameters, store them inside the lock
file (as a comment)
2007-06-02 12:03:56 +00:00
espie
9a70356e28 use new ProgressMeter interface 2007-06-01 15:01:50 +00:00
espie
4fb932ea5d finish renaming check-newlib-depends -> check-lib-depends 2007-06-01 13:15:21 +00:00
alek
46127e0b2e introduce new master site -- MASTER_SITE_RUBYFORGE; ok jcs@, jasper@ 2007-06-01 10:57:48 +00:00
espie
3eae0fe94a kill REQ script support, flag INSTALL/DEINSTALL as warnings.
Remove obsolete _PKG_PREREQ cruft.
2007-05-31 10:52:16 +00:00
ajacoutot
f4d359465a - revove dead CPAN mirrors and add some working ones
- also remove the duke.edu X11 mirror

from Jim Razmus
2007-05-30 23:16:25 +00:00
aanriot
38f0545b32 add a trailing backslash.
ok naddy@
2007-05-29 17:36:32 +00:00
naddy
a522c9bc3e remove dead mirror sunsite.org.uk; from Jim Razmus 2007-05-29 16:57:00 +00:00
ajacoutot
2ac0379c60 - remove soon to be out-of-service servers and add a few Gnome mirrors
from Jim Razmus <jim at bonetruck dot org>
2007-05-29 14:40:42 +00:00
espie
1a7def9f37 use the same rules to represent comments in describe that are used to
build packages.
2007-05-27 11:53:39 +00:00
jasper
8d825db2fb remove useless master site
from Jim Razmus <jim at bonetruck.org>
2007-05-27 09:13:56 +00:00
naddy
96b2f8b41c add pl_PL.ISO_8859-2 (Polish) NLS directory; required for upcoming tcsh update 2007-05-27 00:24:24 +00:00
espie
f790ffb4c9 better quoting 2007-05-26 20:20:38 +00:00
espie
f693d15fb3 use the new features of pkg_create. A few packages may no longer build
without a packagename bump, or because they have too long comments.

steven@ and I cleaned up most of them.

As a result, there's no longer any WRKPKG directory with their temporary
files.

We also use the `sort -u' feature of pkg_create for dependencies, so that
the command lines to pkg_create get simpler, which will allow for easier
error-checking later on.
2007-05-25 13:07:41 +00:00
espie
3e81f47fb3 synch with pkg_add src/ changes 2007-05-23 10:34:15 +00:00
espie
9fd3895989 fix infinite recursion for p5-version like we already did for modbuild
proper... nothing new under the sun.
2007-05-22 20:57:25 +00:00
espie
9d2f3b66db old `check-lib-depends' has been dead for ages. Prepare for renaming. 2007-05-22 10:39:05 +00:00
espie
8eb23915f4 we don't bother building hardlinks either 2007-05-21 21:43:50 +00:00
espie
170d57a28f oops again: make sure we create the correct files. 2007-05-21 21:38:01 +00:00
espie
3876bf00e9 zap debug line 2007-05-21 21:24:56 +00:00
espie
49aaeb4f95 use the new code to ALSO report libraries recorded in WANTLIB (and used)
that are actually not reachable.

Reword the print-out slightly, I think it looks nicer ;-)
2007-05-21 21:23:45 +00:00
espie
e0e45027b6 oops 2007-05-21 21:02:14 +00:00
espie
3b31079021 unify reporting of lib issues 2007-05-21 20:52:33 +00:00
espie
023cfd6b44 Create error objects based on library stuff. 2007-05-21 20:39:27 +00:00
espie
ed3de34f07 separate usage of variables. 2007-05-21 20:20:50 +00:00
espie
440c45949a $o->method() becomes $o->method 2007-05-21 20:14:28 +00:00
espie
ee3c5a28f4 slightly clearer code: retrieve files through a FileSource, that abstracts
all details of archive extraction (or not).
2007-05-21 14:41:38 +00:00
espie
f438993d53 cut the main routine into scanning binaries/checking libraries. 2007-05-21 14:15:31 +00:00
steven
f1aafbc927 add clean=plist to clean a port's registered plists.
fine with bernd@, ok espie@
2007-05-21 11:18:10 +00:00
espie
b61771ff87 generalize info files to zap auxiliary junk. Allows for manpages to change
without obvious negative consequences.
2007-05-20 17:27:51 +00:00
jasper
925e847361 sync the packetstorm list with reality
from Jim Razmus <jim@bonetruck.org>
2007-05-18 20:26:32 +00:00
ckuethe
3c2be6022b update to darkstat 3.0.619.
ok rui
2007-05-14 21:42:47 +00:00
pvalchev
133a1b014c 4.1; beck 2007-05-14 16:16:17 +00:00
espie
c43a2cc6c2 use new-style plist visitors. 2007-05-13 08:03:47 +00:00
espie
2b5101e32f use newest PkgSpec interface 2007-05-12 14:56:21 +00:00
espie
c8985ffe5e strip quotes 2007-05-12 14:02:08 +00:00
sturm
7c066d7098 fix the recursive case for FETCH_PACKAGES by appending the PACKAGE_COOKIE
to _TRIED_FETCHING, this broke in 1.774

ok bernd, espie
2007-05-01 17:17:54 +00:00
espie
77b04141fd pedantic fix: typo without actual consequences. 2007-04-30 12:44:46 +00:00
espie
7fdd640bc8 put down the ualberta mirror for apache, not reliable for me... 2007-04-28 10:31:11 +00:00
espie
e55de40a3f handle exact matches on STARTDIR.
allows `partial' STARTDIR, such as make describe STARTDIR=x11/kde
to work as expected.
2007-04-28 10:19:41 +00:00
ajacoutot
3f3ea4d7f5 Add the _gnugk user. 2007-04-27 21:12:25 +00:00
ckuethe
cb609921c5 add a daemon user for lighttpd, from brad.
ok kili@
2007-04-24 05:09:41 +00:00
jasper
86cde9b492 zap some dead master sites for gnome.
"sure" espie@
2007-04-19 19:00:51 +00:00
espie
2e20da7e2c make it work with >2 directories in PORTSDIR_PATH.
From Mikolaj Kujars
2007-04-17 15:22:46 +00:00
espie
a5d3f1822b shave a bit of time (roughly 5%) by noticing that package lists are
now more or less `unique', so we can avoid processing them more
than once.
2007-04-16 15:09:03 +00:00
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