pvalchev
ce69f8a036
'sh' now has shared libs; from brad
2008-03-29 01:58:33 +00:00
espie
bf85c6df5a
make it possible to lock/unlock manually a given directory.
...
This can be used to work on a port update while building other stuff
without risking the global build from interfering until the update is
finished.
2008-01-12 14:12:43 +00:00
espie
9ca2e064cf
do the same thing with REGRESS_FLAGS as FAKE_FLAGS
2008-01-04 18:38:51 +00:00
espie
17d70806a3
tweak FAKE_FLAGS semantics to saner defaults.
2008-01-04 17:48:33 +00:00
espie
e0c15c5448
scaffold for running make in parallel, to be documented soon.
2007-12-28 12:49:12 +00:00
espie
4cdccf971e
add a PKGDB_LOCK that can be used by pkg_add to -F nolock in src/ build
...
mode.
2007-12-28 12:46:03 +00:00
jolan
72e58f4c30
support .tbz2, ok espie@
2007-12-05 06:55:41 +00:00
merdely
32c84fc9c3
Create $PLIST_DB directory if defined.
...
Fix a spacing nit.
ok espie@
2007-12-01 14:44:47 +00:00
steven
19811ccb50
protect FLAVOR with :Q when passed to the shell, since it may contain
...
whitespace.
2007-09-30 15:07:40 +00:00
steven
bad04c5480
pass FLAVOR to update-plist.
...
ok espie@
2007-09-21 08:04:06 +00:00
steven
9cb9ca7c2e
use :Q for BROKEN
...
ok sturm@
2007-09-21 06:58:21 +00:00
naddy
1715498931
quote shell meta characters when generating readmes; ok espie@
2007-09-16 21:38:34 +00:00
espie
fb338f26c3
make mirror-maker sturdier:
...
- pass an argument for the file into which we want to save the result, to
avoid getting it polluted with error messages (defaults to /dev/stdout for
debug).
- create the makefile fragment as a temp file and only copy it when complete.
- copy it in one chunk, so that one can read a partial mirror-maker file
and have it be usable.
This does allow for people to start a make mirror-maker in one shell, and
start fetching stuff right away, before mirror-maker is finished.
This also produces usable mirror-maker Makefiles even if the ports tree
contains bogus entries.
2007-07-28 12:58:34 +00:00
espie
a52a0f1494
make sure ARCH gets defined also for individual port.
...
Noticed by Stuart Henderson
2007-07-09 13:32:56 +00:00
espie
43c841c254
avoid recomputing ARCH all the time.
2007-07-08 17:57:56 +00:00
espie
33473a3fbb
better, make it fetch file under DISTDIR
2007-06-30 14:48:04 +00:00
espie
b96d64afbf
debug target for mirror-maker: allows one to check quickly whether a given port
...
generates correct mirror-maker fragments.
2007-06-30 14:43:49 +00:00
espie
07262849b8
add support for FTP_KEEPALIVE.
...
You need a somewhat current ftp(1) for this to work !!!
2007-06-29 10:24:23 +00:00
steven
eb5a2e2d25
log results of regression tests into a file.
...
ok simon@
2007-06-23 09:39:18 +00:00
jakemsr
28e134ba9c
pass $PORTSDIR to ${PORTSDIR}/infrastructure/package/check-lib-depends
...
"Sure" espie@
2007-06-18 23:04:02 +00:00
espie
343aff0c83
tweak FETCH_PACKAGES: do not fetch all multi-packages to satisfy a
...
dependency, but only the ones actually required.
If we end up needing to rebuild them from source, then change back
to _internal-package-only, so that we benefit from the whole build
and get all packages again.
2007-06-16 09:57:03 +00:00
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
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
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
4fb932ea5d
finish renaming check-newlib-depends -> check-lib-depends
2007-06-01 13:15:21 +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
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
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
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
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
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
97e872a96d
sha256 by default
2007-04-05 18:32:26 +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
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
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
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
naddy
2c2c250df3
makesum: don't try to create distinfo if there are no distfiles; ok espie@
2007-03-15 18:11:54 +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
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
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
bernd
c5e1d48b7a
Fix typo. This unbreaks 'make update'.
2007-01-04 11:34:14 +00:00
espie
9f019509e8
prefer subpackage-dependent version of variables for substitutions.
...
this lets the correct PREFIX be substituted in packages, among other things.
Problem discovered in php5-extensions
2006-12-31 13:12:35 +00:00
espie
5efd6b68e4
duplicate the print-plist targets, add a version -with-depends, which is
...
slower, but shows dependency lines as well...
Also fix target evaluation to work like it does elsewhere
2006-12-18 12:52:34 +00:00