sthen
0a21cddca6
let port-lib-depends-check work with an alternative PORTSDIR;
...
debugged with Brad, better fix after a suggestion from espie@
ok espie@
2010-08-31 19:30:43 +00:00
steven
eb0e2272cc
adjust portslogger path
2010-08-30 19:03:23 +00:00
steven
a0c67c389d
move portslogger to bin/
...
ok naddy@
if you have build scripts that use portslogger, adapt the path
2010-08-30 19:02:33 +00:00
millert
d2a8e4a3ff
We no longer link nawk to awk. OK sthen@ naddy@ jasper@
2010-08-26 21:03:00 +00:00
steven
a91d9da90d
libtool has been moved to bin
2010-08-26 19:59:50 +00:00
jasper
c055be22f3
- strip leading 'lib' when we write the library name to the shared_libs.log
...
file.
ok steven@
2010-08-26 17:48:27 +00:00
sthen
818e8a1dfd
- drop some sites which no longer mirror cpan
...
- add some new sites to replace the above
- switch some sites over to using http - notably, the first
site on the list is now http, which is a big win on networks with
broken ftp (note that peek-ftp skips http mirrors, so this doesn't
cause any problem there).
okay ajacoutot@
2010-08-25 10:16:48 +00:00
naddy
807d4ad3da
fix overquoting: we want to exit with 1, not a "exit 1" command not found error
2010-08-24 15:07:54 +00:00
jasper
4d22c29220
- be explicit about the hosts file
...
agreed by landry and jakemsr
2010-08-23 19:08:08 +00:00
espie
3e43c2d160
move LOCKDIR default to pkgpath.mk since it's shared with Makefile.
...
fix one missed dolock.
Thanks naddy@
2010-08-20 23:11:07 +00:00
espie
551aa46116
zap old option, fix usage and man for common stuff
2010-08-20 17:03:36 +00:00
espie
7c72485b5b
document check-lib-depends
2010-08-20 15:50:56 +00:00
espie
04cb4e82a5
move a large part of check-lib-depends into separate modules
2010-08-20 15:29:41 +00:00
espie
9b38b584e9
better namespace for make-plist internals, prepare to cut up check-lib-depends
2010-08-20 15:22:21 +00:00
espie
c61100c7e6
typo
2010-08-20 15:16:07 +00:00
espie
77858d70dc
and libtool
2010-08-20 15:09:54 +00:00
espie
36b298174d
kill a few things which have now MOVED
2010-08-20 15:07:22 +00:00
espie
34fb20b43d
use scripts from bin
2010-08-20 15:02:24 +00:00
espie
0e23b453cb
and getpkgpath as well
2010-08-20 15:01:12 +00:00
espie
4699391cb5
rename/modernize
2010-08-20 14:59:41 +00:00
espie
8aa8957de5
use scripts from their new locations
2010-08-20 14:53:18 +00:00
espie
22a16e663e
add shell scripts too
2010-08-20 14:50:36 +00:00
espie
0f5a54733f
+extract-dependencies
2010-08-20 14:44:56 +00:00
espie
f14352730d
and dolock
2010-08-20 14:40:31 +00:00
espie
b1ddddbdfb
add & document pkg_subst
2010-08-20 14:38:31 +00:00
espie
4a8d784a7d
merge back jasper's commit
2010-08-20 14:23:02 +00:00
espie
a91e066d52
document register-plist
2010-08-20 14:22:00 +00:00
espie
cc115f2ce5
finish renaming check-conflicts, add (c), document check-conflicts
2010-08-20 14:09:59 +00:00
espie
8409f0fef7
copy some stuff to the new organization, rename find-all-conflicts to
...
check-conflicts for consistency
2010-08-20 13:50:11 +00:00
espie
8fd332a665
cp dpb in there.
...
(old build/dpb will die eventually, but do the rename now)
2010-08-20 13:42:29 +00:00
espie
4c6d1b431f
move stuff here from infra/build
2010-08-20 13:40:13 +00:00
jasper
8057b45281
- spello
2010-08-19 13:54:43 +00:00
naddy
6b541e86ae
4.8 CD package lists
2010-08-17 19:31:55 +00:00
espie
9a190cd45e
much longer explanation of what is wrong now that it's on by default.
2010-08-07 19:49:10 +00:00
espie
0583896947
turn on PLIST_DB by default, as discussed with landry/aja/sthen
2010-08-07 19:41:21 +00:00
espie
d8f5381f62
in case plists differ, try a bit more to unify "noise".
...
unconfuse the chromium case naddy encountered...
(also a bit of refactor to simplify testing)
2010-08-06 10:15:17 +00:00
sthen
d808580e91
- move Horde distribution sites list across to horde.port.mk, no point
...
cluttering network.conf.template now they're in one place
- add an http variant at the head of the list
2010-07-30 21:24:39 +00:00
espie
33f5e8c2c7
pkglocatedb is a pkgpath like others. make sure it's there, even though
...
it's in arch's plists.
fix absolute path handling (yeah, I'm stupid)
2010-07-26 12:34:43 +00:00
espie
43c7b1a093
use new make feature :QL for safer quoting.
...
helps getting past shell quoting errors, so that the infrastructure
will report actual trouble (is also simpler than :S/<...>/ for pkgspecs).
REQUIRES CURRENT MAKE TO WORK!!!
2010-07-24 10:35:38 +00:00
ajacoutot
66223a71e6
Add _AUTOMAKE_SPEC for automake 1.10.
2010-07-22 19:14:09 +00:00
steven
715dacfb85
pass COMPILER_VERSION in MAKE_ENV instead of USE_GCC3.
...
this removes the last instance of USE_GCC3 in ports.
from brad
2010-07-21 17:11:48 +00:00
steven
952b3ac19a
drop USE_GCC4. we don't use this and the module checks COMPILER_VERSION.
...
from/discussed with brad
2010-07-21 16:45:21 +00:00
steven
26f69c2f4b
use COMPILER_VERSION instead of USE_GCC3
...
from brad
2010-07-21 16:42:52 +00:00
edd
4fb3f3f3f0
should be a space before an equals on the MAINTAINER example comment.
...
OK merdely@, sthen@
2010-07-21 12:27:41 +00:00
sthen
2f6937f1c0
tweak, suggested by merdely@
2010-07-21 00:18:54 +00:00
sthen
02e6c92476
add a few notes and update some obsolete parameters, ok phessler@ ajacoutot@
2010-07-20 16:27:29 +00:00
espie
dd4cfea122
do a bit more magic: in case of a fatal change, don't write the new
...
packing-list "as if", but transform back the non-fatal pieces into what
was in the old packing-list, in order to minimize noise in the diff.
2010-07-19 17:40:17 +00:00
naddy
a2c9a774ff
Remove redundant variables OPSYS and OPSYS_VER.
...
OPSYS was always "OpenBSD", the ports tree doesn't cover other
operating systems.
OPSYS_VER was the same as OSREV.
ok espie@
2010-07-18 18:49:01 +00:00
steven
ba3f871673
new WANTLIB,LIB_DEPENDS
2010-07-18 11:10:44 +00:00
sthen
1399170cc0
add sqlports to the list used for partial arm builds
2010-07-17 08:52:26 +00:00
espie
ef624f5fa0
prevent landry from foobaring dpb3
2010-07-14 14:34:34 +00:00
espie
1b93bf40e7
if we didn't fill info, don't even retry
2010-07-14 14:18:59 +00:00
espie
5449b11d06
instead of forgetting @depend and @wantlib, force them to go upwards,
...
version-wise.
okay sthen@
2010-07-14 09:58:48 +00:00
espie
29bd0287a9
synch with new infrastructure, might be the reason for recent trouble ?
...
I don't know... works for me.
2010-07-13 21:12:41 +00:00
espie
7ff9f33df5
remove outdated comment
...
use progress->for_list
2010-07-12 20:19:40 +00:00
ajacoutot
d695243767
Also add the main ctan.org.
2010-07-12 10:35:12 +00:00
espie
0af1c9e7da
fix fix
2010-07-10 15:21:15 +00:00
espie
11d3fea7e4
some recursive scenarios would break, let _ARCH_OK be undefined, catch it
...
later.
2010-07-10 15:17:40 +00:00
espie
25c3ed92c3
always define _ARCH_OK${SUBPACKAGE} (to 0 by default), so
...
that bsd.port.mk can rightfully complain about wrong subpackages.
2010-07-10 13:29:48 +00:00
espie
188c8ed5f5
new support for REVISION/EPOCH
2010-07-10 09:11:10 +00:00
espie
d170ea5206
logic of ONLY_FOR_ARCHS was slightly broken: always define individual
...
PACKAGE_COOKIE, so that print-plist-contents keeps working.
Only the packaging part (e.g., PACKAGE_COOKIES) should be affected.
Alter PKGNAMES while we're there, as it's only used for debugging, and
it's better that way.
(fixes pkgmklocatedb)
2010-07-09 13:11:59 +00:00
espie
d9dd312bbf
synch with src
2010-07-08 20:48:39 +00:00
pea
211435835b
Add uid/gid 653 for _pgbouncer (databases/pgbouncer)
2010-07-08 16:11:55 +00:00
espie
cb5a10072f
off-by-1 in splice.
...
more intuitive: copy the list except for dropped elements
2010-07-06 14:50:53 +00:00
espie
d24243d7ec
debug complains
2010-07-06 14:29:15 +00:00
espie
62995c89d4
make ONLY_FOR_ARCHS and NOT_FOR_ARCHS subpackage-dependent
2010-07-06 12:38:26 +00:00
espie
da03d678c9
print-plist-contents | grablibs appears often enough: combine them as
...
print-plist-libs
2010-07-06 12:09:55 +00:00
espie
45a2880841
allow libspecs to come from current ports internal dependencies (even if
...
they're not installed yet)
2010-07-06 12:02:35 +00:00
espie
e946b4c62d
explicitly document that the .spec files are just there to force reevaluation
...
of cookie during development
2010-07-06 11:50:57 +00:00
espie
8ea8f2a482
don't bother computing pkgname if all we want is the plist from the pkgpath
2010-07-06 11:27:38 +00:00
espie
3a7ee8c966
SUBST_CMD is not subpackage dependent, so don't.
2010-07-05 09:00:28 +00:00
espie
d6f6f17460
some libs may be only static libs. we find them correctly, but passing these
...
as -W makes no sense.
2010-07-05 08:58:09 +00:00
espie
63e9ac2f46
tweak the way LIB_DEPENDS and WANTLIB interact.
...
More precisely:
- for "older" libspec in LIB_DEPENDS, only compare them against
the libs from the LIB_DEPENDS.
- check LIB_DEPENDS against all libspecs for the package (both from WANTLIB
and LIB_DEPENDS) to turn them into LIB_DEPENDS.
- create a full list of installed libs and of 'inter-package' libraries to
solve all WANTLIB in one go.
This is actually faster than the old code, but a bit more complicated.
2010-07-04 17:26:14 +00:00
espie
f8a41e2fb7
slightly cleaner logic structure for building packages.
...
In particular, create a tmp package until we're certain it is okay
(thanks to register-plist). -> remove race condition in dpb3, which
assumes a package existing is enough for it to proceed.
2010-07-04 08:45:02 +00:00
naddy
c721edfc8c
don't set ac_cv_header_stdbool_h=yes; gnulib's stdbool tests disagree for
...
gcc2.95
2010-07-02 17:36:58 +00:00
espie
92d44aef56
convert to newer interface. MAKE SURE you have -current pkg_add to run register_plist !
2010-06-30 11:11:19 +00:00
steven
b26ff5b05d
put this in else block
2010-06-28 19:17:27 +00:00
espie
8e755d35c1
output stuff closer to what's needed for Makefiles...
2010-06-28 11:24:01 +00:00
steven
31dadc00df
store full path to another .la file that we find during processing
...
of a -l argument as well.
fixes build of productivity/qhacc
2010-06-27 14:29:54 +00:00
espie
6bcd8a2e0b
clean-up by using new State methods.
...
also cut up the objdump handling into shorter segments
2010-06-26 10:24:34 +00:00
steven
9fdcfd5f6a
basic dependency drop if library isn't found (only when linking a library)
...
makes security/pcsc-lite build
2010-06-25 21:39:35 +00:00
steven
530859e74d
Library->find wants to know where it is called from (LaFile or Program)
2010-06-25 20:59:33 +00:00
steven
f99ed6df6d
put string into a variable here
2010-06-25 20:29:11 +00:00
steven
5351dc846b
always search for the library file when walking the final lib list;
...
also delete the fullpath if no library file is found.
maybe slightly less efficient but should be safer
2010-06-25 20:03:54 +00:00
espie
da98ef0e09
work-around: if we don't get a shortname, tell the user something is a bit
...
too wrong, and return instead of building bogus things.
(I don't see how this ends up in haystack, though).
as noticed by sthen@ on tomcat/v6
2010-06-25 12:02:18 +00:00
espie
957d837c10
get bin files to participate, as noticed by sthen
2010-06-25 10:37:03 +00:00
steven
fb4e10a8f7
no need to add to deplibs recursively here
2010-06-25 05:21:35 +00:00
landry
b8ca591f4b
Reserve uid/gid for upcoming port of collectd
2010-06-23 17:57:20 +00:00
espie
2cb670bc2b
more compact Extra:
2010-06-23 15:02:45 +00:00
espie
155c5966d5
woah, who builds vax ?
2010-06-21 09:16:01 +00:00
espie
5942d883af
less confusing
2010-06-20 08:22:40 +00:00
espie
132a204bdb
activate locks by default, in /tmp/portslock
...
from a strong suggestion by ajacoutot@, after discussion with various
people.
2010-06-20 07:48:20 +00:00
espie
1708ae5032
also note WHICH libraries we did not find and warn about them,
...
so that one can clean up SHARED_LIBS eventually...
2010-06-20 07:36:38 +00:00
steven
bbdbbc1578
when linking executables, add non standard library paths with -rpath
...
to do this we collect the libdirs we encounter when resolving .la files
problem noticed by landry@ when trying to build kazehakase
2010-06-19 09:41:07 +00:00
espie
f05f4e3b87
use for_list
2010-06-18 09:08:57 +00:00
espie
b82438604a
switch to new infrastructure
2010-06-17 10:30:39 +00:00
william
eb2f81bc10
Remove the WRKDIR_LINKNAME symlink at 'make clean' if present
...
help and ok espie@
2010-06-17 03:31:33 +00:00
espie
5d22cfc900
zap old stuff (can't work, since -m is used for something else now)
2010-06-16 12:22:20 +00:00
espie
9f9494f124
well, this can be clueful
2010-06-16 12:09:22 +00:00
espie
c189d9333b
handle more errors
2010-06-16 12:08:42 +00:00
espie
c1fa9429b1
remove PKG_CMD, set up PKG_ADD/PKG_CREATE/PKG_DELETE/PKG_INFO
2010-06-16 12:06:46 +00:00
kili
e0fb41c023
Move `-q' flag for pkg_info(8) from PKG_QUERY back to the two places
...
where it's really needed. Fixes ${_UPDATE_COOKIE${_S}} (i.e. make
update).
"oh oops. yep. Fuck." espie@ :-)
2010-06-15 11:42:21 +00:00
espie
a0b6c058b1
display fullpkgpath if we know it.
2010-06-14 12:29:39 +00:00
espie
bcaeea964d
fix directory creation so that PLIST_DB can be a path, as should be.
2010-06-14 12:02:43 +00:00
espie
c347a26fa6
reorg pkg* thru _PKG*, so that we can add a PROGRESS_METER user settings
...
(defaults to yes, as for ftp).
2010-06-14 12:01:19 +00:00
espie
d26ccc25a2
simplify check-lib-depends run
2010-06-14 11:49:03 +00:00
espie
3473eccf4e
simplify option handling for src/dest.
...
- if a src file is given, we don't need -B.
- use -B for base directories, select to save libraries based on -O.
2010-06-14 11:36:40 +00:00
espie
aea40feb34
oopsie, as noticed by landry
2010-06-13 22:02:43 +00:00
steven
8eb73a1f63
ltprog should not eat .la file arguments.
...
quick workaround, need to sanitize this later
this makes graphics/gegl work
2010-06-12 16:35:15 +00:00
steven
d5f1dfe7fa
don't try to be too smart and just install the .la file always
2010-06-12 13:58:27 +00:00
espie
7f36d90ded
Naming classes the same as functions can yield surprising results,
...
as noticed by Daniel Dickman
2010-06-11 23:49:22 +00:00
espie
bcc28ff989
run diff directly, as discussed with jasper et al
2010-06-11 11:20:48 +00:00
espie
93b11bb381
reuse new code from base
2010-06-11 11:20:27 +00:00
espie
443b24f0da
rename for clarity
2010-06-11 10:09:37 +00:00
espie
bdc6afed31
use new infra for progressmeters. Add caches to compute conflicts more
...
efficiently.
2010-06-10 23:08:14 +00:00
espie
a6da4b131a
switch to new interface
2010-06-09 13:59:37 +00:00
espie
3d9e53cb59
common pattern
2010-06-09 12:01:08 +00:00
espie
260767b282
missed one
2010-06-09 11:34:13 +00:00
espie
d6f0acee04
switch to new style usage
2010-06-09 11:33:12 +00:00
espie
826406b45a
switch to $state->usage
2010-06-09 11:30:51 +00:00
sthen
7f0576867c
switch MASTER_SITE_OPENBSD (distfiles backup) to using http, ok espie@
2010-06-08 14:29:39 +00:00
sthen
247c86b658
add 651 for net/mirmon
2010-06-08 00:04:34 +00:00
espie
b4623aff1d
reorg a bit to always pass logger to init_cores, and always print out
...
directory signatures
2010-06-07 15:27:52 +00:00
espie
4661a5b3fc
slightly longer sentences, for english-impaired people
2010-06-07 15:13:52 +00:00
espie
90ca9c763d
BREAK the tree in a very obvious way for people who did not remove
...
/usr/bin/f77 and /usr/bin/g77
2010-06-05 16:38:47 +00:00
espie
ab58ca5421
tweaks: create one single cache.
...
sort options in usage.
be paranoid about changes.
2010-06-05 07:59:05 +00:00
landry
3bcd1abe0f
Add -o/-g options to set owner/group on target file like install(1) does,
...
so that we can get rid of several ${SUBST_CMD} -c + chown constructs in
the tree. For example:
${SUBST_CMD} -c src dest
chown username:groupname dest
becomes:
${SUBST_CMD} -o username -g groupname -c src dest
comments & ok espie@
2010-06-05 07:48:00 +00:00
sthen
16fafaf750
drop a port and a flavour which were removed
2010-06-04 09:07:46 +00:00
sthen
43649a11d4
reserve 650 for net/aircontrol
2010-06-03 23:28:38 +00:00
sthen
165889adf6
fix a wrong path
2010-06-02 13:01:25 +00:00
espie
b8ed6bfd18
sometimes, files take a moment to show up on NFS, avoid spurious errors
...
by re-checking and removing locks when the file shows up. (sigh...)
2010-05-31 14:49:54 +00:00
espie
e6e3083ecd
if IGNORE'd ports are used as dependencies, write the IGNORE message in an
...
_IGNORE_COOKIE file.
React accordingly in dependency handling, namely fault the port that tries
to use IGNORE'd stuff.
2010-05-28 12:34:22 +00:00
espie
a7f09f8eca
our mkdir -p is thread-safe, so use it (tested for a few months)
2010-05-28 10:42:09 +00:00
espie
5bdc8e686d
amd64 and sparc64 have switched
2010-05-28 10:09:58 +00:00
sthen
407a7ddd8b
remove some deleted ports, and add a few smallish other ones that
...
might be useful on arm systems.
2010-05-25 20:55:31 +00:00
espie
00ee958882
prepare old compiler too
2010-05-25 10:10:43 +00:00
espie
28eb674094
f77 no longer lives in source
2010-05-25 00:27:06 +00:00
espie
d932c34a34
also count libf2c as a build depends: it's needed for a working g77
...
compiler, but some ports end up building libraries that do not depend on it
2010-05-23 09:40:19 +00:00
espie
bfb7e8e53c
fix
2010-05-23 09:28:19 +00:00
espie
7dd09beb4d
only warn for empty patches, instead of erroring out.
...
Simplify the task of testing patches that remove patches.
Don't forget to cvs rm though !
2010-05-23 09:22:50 +00:00
espie
a2c438edf9
prepare the move
2010-05-23 08:59:36 +00:00
espie
8dcbdcc0c8
report pkgname that didn't build. This should help track down the
...
todo=<nothing> errors the other frogs are seeing.
2010-05-22 08:43:18 +00:00
espie
fcbad9512f
save dump in a file instead of stdout
2010-05-22 08:42:21 +00:00
sthen
b9aae5e004
Reformat usage line to fit 80 columns. ok espie@
2010-05-18 15:56:52 +00:00
espie
5f9bf53f3f
classify machines per compiler arch. May occasionally be useful if you're
...
looking for something like this.
some help from miod@ for hw that's been forgotten by every human. ;-)
2010-05-16 10:33:32 +00:00
espie
4559bb871a
no "manual install" in there
2010-05-10 13:02:35 +00:00
espie
e00097ed08
also prevent SUBDIRLIST from escaping, as noticed by kili@
2010-05-09 21:41:40 +00:00
espie
5bd10c1f4f
document a few more things
2010-05-09 10:47:34 +00:00
espie
bda6819579
avoid FETCH_PACKAGES
2010-05-09 10:01:46 +00:00
espie
56e02d3495
make sure all hosts have the same set of .la files
2010-05-06 15:50:13 +00:00
espie
78ead5f50e
if depends is :patch, install dependencies from patch...
2010-05-04 10:10:25 +00:00
sthen
4ddc5c567a
Drop two headers from the cache for autoconf, they are deprecated in X.
...
ac_cv_header_X11_extensions_xf86dga_h
ac_cv_header_X11_extensions_xf86vmstr_h
2010-05-04 09:51:06 +00:00
espie
56177f75ea
whitespace
2010-05-04 09:45:41 +00:00
espie
609e100ea7
stupid, finally get this right...
2010-05-04 09:41:46 +00:00
espie
75a6136acc
make use of the recent pkg_add changes (required), much simpler resolve-lib !
...
(tested thru a full bulk, obviously)
2010-05-02 20:54:25 +00:00
espie
303bd978e6
pattern I use a lot: start right after a given dir.
...
Easy to do.
2010-05-01 10:27:56 +00:00
sthen
8ea4590c08
reserve uid/gid for nfcapd of net/nfdump; nfsen will want it
2010-04-30 11:49:55 +00:00
ajacoutot
abb447d0ba
Move ftp.acc.umu.se to the top of MASTER_SITE_GNOME, it is the most
...
reliable.
2010-04-26 18:03:37 +00:00
steven
c2c0e34851
be silent when mode=execute
...
this fixes net/xchat
2010-04-26 17:49:00 +00:00
espie
30a6a1384b
make sure $orphans object has a valid cwd, this time fixes jasper@ (and aja@)
...
bug for good.
2010-04-26 12:00:57 +00:00
espie
0be9a5b447
whitespace
2010-04-26 08:32:53 +00:00
espie
0483d2cc45
skip depends the same way the ports tree does
2010-04-26 08:31:39 +00:00
espie
e2459e6367
fix typo (and blanks)
2010-04-26 07:10:08 +00:00
ajacoutot
056a331311
Override MAKE in CONFIGURE_ENV when USE_GMAKE is set to Yes. Some ports
...
seem to need this more and more and it makes sense anyway.
tested in a bulk by jasper@, ok espie@
2010-04-24 09:54:42 +00:00
naddy
d657c5f032
do not claim that we have libXp; it will go away soon
2010-04-23 19:50:05 +00:00
espie
f17ad575cb
I should clean up old code more regularly
2010-04-23 17:18:21 +00:00
espie
ceb57e299d
handle orphans correctly, as noticed by jasper.
2010-04-20 21:54:40 +00:00
espie
3f48860b4c
fix and recommit, my bad.
2010-04-20 21:00:35 +00:00
landry
9a3be8dc0f
Revert to r1.991, this temporarly broke the portstree..
...
agreed by kili@ and sthen@
2010-04-20 19:58:09 +00:00
espie
09ed1dcb61
use _MAKE and _MAKESYS, simpler to read
2010-04-20 10:15:09 +00:00
espie
8565ca1737
provide a _MAKE internal that does the cd ${.CURDIR} && exec,
...
use it to avoid the obj/ problem in /usr/ports.
provide a _MAKESYS internal for bsd.port.mk with SYSTRACE too
2010-04-20 10:03:36 +00:00
espie
5b287b6cbf
make sure SUBDIR doesn't escape into individual ports directory.
2010-04-20 10:02:39 +00:00
espie
8beda10cb7
fix logic, so that BROKEN-arch shows in the correct places
...
when MULTI_PACKAGES is set.
2010-04-17 10:16:11 +00:00
espie
51b217c20a
forgot vax
2010-04-17 09:49:52 +00:00
espie
c6fe95a9cb
bugfix: strip LIB_DEPENDS of all BASE_PKGPATH
...
bugfix: use -U when pkg_add -r to update dependencies as well
feature: add next stage in ports build to info saved in the lock when
things fail.
2010-04-15 09:59:07 +00:00
espie
ca22d54fd7
remove the .tgz work-around now that I've fixed the pkg_add problem.
...
WARNING: you need a current pkg_add if you don't want your dpb to hang !!!
2010-04-12 13:43:05 +00:00
espie
65e0213983
move the 'grabbing sublist' code to a Grabber object, that we'll be able to
...
use later on from the engine.
2010-04-12 13:30:11 +00:00
espie
6d10bb1b49
add a list of ALL_ARCHS so that I can dump BROKEN-<arch> in dump-vars.
2010-04-12 13:08:20 +00:00
espie
f20c2d877a
avoid self-reference in BUILD/LIB_DEPENDS.
2010-04-12 11:57:59 +00:00
espie
2ebaf586e0
#@# W!E typo
2010-04-11 15:02:03 +00:00
espie
f98ad9cb1f
hooks to rebuild info when we grab errors back
2010-04-10 11:21:24 +00:00
espie
4153bd531c
fix startup
2010-04-08 18:40:42 +00:00
alek
31256fa4de
set @info marker for files created with makeinfo using german locale; ok espie@, jasper@ and ajacoutot@
2010-04-08 15:33:17 +00:00
espie
3580d81d19
add update support, with rather violent options for now
2010-04-06 10:10:03 +00:00
espie
c29be08e36
adds an extra "depends" stage which runs pkg_add once, before prepare
...
checks the deps.
Solves the "avahi rebuilds with full shit" in some build orders that
naddy@ reported.
2010-04-06 09:39:51 +00:00
espie
9d998e4011
repair -j
2010-04-06 09:38:44 +00:00
espie
39f6cafc40
fix buglet
2010-04-05 14:03:26 +00:00
espie
03931ebeb5
USE_GROFF framework for the mandoc switch
2010-04-05 14:02:50 +00:00
espie
c52b023249
don't know how this broke, but make it work again (and more sturdy against
...
multiple commas)
noticed by aja
2010-04-05 13:59:03 +00:00
jcs
cbef83a626
rubyforge mirror at mmmultiworks has been gone for a while
2010-04-03 04:28:45 +00:00
sthen
8608e954e8
s/!=/ne/, fixes things when you specify the arch in the hosts file
...
ok espie@
2010-03-27 12:39:49 +00:00
pvalchev
d8c5a45109
pkglocatedb is now compressed, deal with that (for p file generation)
2010-03-24 22:41:25 +00:00
pvalchev
f42e7b4b15
4.7 p files
2010-03-24 22:39:56 +00:00
landry
6031e2e321
Reserve uid/gid 648 for user/group _sympa, needed by upcoming
...
mail/sympa port.
2010-03-24 21:51:32 +00:00
espie
9e48710b68
use a default watched that works,
...
redirect the init job (move that up to ::Task to reuse it)
default sf to 1 to avoid warnings
2010-03-23 09:57:45 +00:00
bernd
07518a3928
Correct spelling of sturm@'s name.
2010-03-22 20:58:58 +00:00
schwarze
99c03c9944
zap trailing white space
2010-03-22 20:30:43 +00:00
espie
abbf59d6e3
typo, noticed by Andreas Kähäri <ak@ebi.ac.uk>
2010-03-22 20:19:12 +00:00
espie
6f38966be3
this is outdated by several years, don't use this
2010-03-22 12:58:54 +00:00
espie
a2352610a4
forgot to commit that one
2010-03-22 12:55:07 +00:00
espie
ffd0e242f5
document sizefile
2010-03-22 12:53:58 +00:00
espie
65646f4cf7
watched for init jobs, in case they take long enough...
2010-03-21 20:09:42 +00:00
espie
c8394fba61
if terminal can clear to eol, use it.
2010-03-21 19:44:02 +00:00
espie
273cfbc702
make sure hosts have props, this fixes builds without hosts file
2010-03-21 19:43:38 +00:00
espie
a07ce53b70
use :Q to avoid any problem
2010-03-21 17:12:10 +00:00
espie
0a363398c3
ouch, pass TERM only if it's defined. Add TERMCAP while there. And do the same
...
thing to http_proxy/ftp_proxy, please...
2010-03-21 17:00:46 +00:00
ajacoutot
c4c7ece3ba
Add a new APM_ARCHS variable.
...
comments from espie@ naddy@ jasper@
"looks good" jasper@
2010-03-21 11:34:38 +00:00
espie
cd50be5feb
move to newer style -D for pkg_add.
2010-03-20 19:14:49 +00:00
espie
ae1f947e6d
pass TERM to pkg_add so that Term::Cap will be able to use more capabilities
2010-03-20 19:14:06 +00:00
espie
feec1c7f7a
introduce BROKEN-arch
2010-03-20 19:11:51 +00:00
espie
6b8c2c3025
typo
2010-03-20 18:30:04 +00:00
espie
74539029e0
changes that I worked on after lock.
...
- avoid logging incomplete builds.
- put stuff in more sane directories
- avoid exiting early
- create unique machine objects and use them
- allow for a script at init/auto ncpu determination
- global build size in /tmp for a given host.
- better terminal handling.
2010-03-20 18:29:18 +00:00
espie
44ae75fc67
handle modern dependencies.
2010-03-20 18:04:28 +00:00
ajacoutot
f0c18abbc3
Add missing _ups group.
2010-03-20 17:09:34 +00:00
espie
a4dad31c19
older code: use new methods code
2010-03-20 17:06:16 +00:00
espie
6a74e2e1de
don't look at symlinks. if they point inside fake, then we get the file
...
anyways. if they point outside of it, they don't make sense until
installed, and we got the file anyways...
2010-03-20 17:05:44 +00:00
espie
40399089e7
actual timeouts
2010-03-05 09:05:46 +00:00
espie
198d43e5ad
forgot the manpage
2010-03-05 09:05:30 +00:00
espie
a3ca1adf1f
simpler fix: do the \n printing always for glitching terminals
2010-03-05 07:50:15 +00:00
espie
228149426e
support for more stats in dpb, basically harmless
2010-03-05 07:49:29 +00:00
espie
a14f2a2255
fix newline handling. thanks naddy@ for the hint
2010-03-04 20:48:12 +00:00
espie
609847a7d3
slightly more evolved: run du twice,to get build size vs. fake size.
...
Yep, I should be able to use this information later on.
2010-03-04 14:23:01 +00:00
espie
6ccdda1670
log signature errors
...
move the logs/locks yet again: those are dpb logs, so they belong in
logs dir (note the s). Use one single option (-L) to move both.
remove old -t mode, use -t/-T for ssh/display timeouts
Change the "mem" option to "parse size file", dependent on show-size.
2010-03-04 13:56:09 +00:00
espie
ff14b4c7c3
pass host names around for comparison messages
2010-03-04 13:51:48 +00:00
espie
6fdf400298
add computation of workdir size on -s (assumes a patch to bsd.port.mk
...
that's not yet there)
2010-03-02 18:20:45 +00:00
espie
d2abbd61aa
better control logic.
...
prepare to du port dir.
2010-03-02 02:33:15 +00:00
espie
9a2f0331f4
set random behavior after we parse the option, so this is actually more
...
random... problem noticed by naddy@
2010-03-01 18:11:11 +00:00
espie
a8e8acea0d
fix for non-terminal
2010-03-01 18:01:11 +00:00
espie
61b975e3b2
tweak logic of run slightly, so that we actually check stuff in finalize,
...
as should be. This also simplifies infinite jobs slightly, since we build
the tasks we want directly
2010-03-01 17:59:49 +00:00
espie
a58639ad7a
if make clean isn't enough, do it again with sudo, but log it.
...
(also, bug in notime, really don't take into account what we shouldn't)
2010-03-01 17:57:25 +00:00
espie
53d76dd037
less flickering: compute what to display, and do it at once
2010-02-28 11:49:45 +00:00
espie
f71d67db02
don't stop at the first error, report all
2010-02-27 10:05:42 +00:00
espie
0118b624ce
let myprint work with -x
2010-02-27 09:53:44 +00:00
espie
d17585f86b
activate library signature code. now we check that machines DO match
2010-02-27 09:53:09 +00:00
espie
c8942d3783
fix watch: if we use the offset too soon, it changes all the time, and we
...
never notice
2010-02-27 09:28:47 +00:00
espie
abbba7caf8
oops, fetch should not be accounted in the log either.
2010-02-27 08:30:44 +00:00
espie
81cdf2d3a4
do something sensible if run without any options
2010-02-27 08:30:01 +00:00
espie
a090480935
TRY_BROKEN, idea from FreeBSD (by popular demand, jasper + phessler)
2010-02-26 19:20:24 +00:00
espie
7a81866fd7
warn about FULLPKGNAME without FULLPKGPATH, as it is a bit difficult to spot
...
in complicated ports
2010-02-26 19:05:23 +00:00
espie
a435ac28e6
a few improvemennts:
...
- give more responsibility to tasks, so that they can time themselves without
any higher level support
- record errors the opposite way, so that more recent errors show up first
- better terminal display: use fullwidth, clamp to terminal height
- less logsize fuzz, always trim preparation stages
- dpb's pid - dependent ssh socket names, so that 2 dpb can talk to the same machine.
- pid display for dpb itself, and ssh masters.
2010-02-26 12:14:57 +00:00
espie
a0aa57c2e3
being clueless shouldn't fork-bomb.
...
featuring tedu@ as crash-test dummy ;-)
2010-02-26 12:11:55 +00:00
espie
61d822e8d5
work-in-progress: new distributed ports builder.
...
will replace old dpb once we're satisfied it works.
some features:
- no more waiting, starts building right away, the dependencies discovery
process is just another job,
- monitor display that makes it easy to know when jobs get stuck, or machines
get down.
- loads of logs,
- locks that stay around in case of error, and that you can remove when
the error has been fixed (dpb picks it up),
- smart choice of which package to build,
- can take into account previous build times,
- builds on machines of differing speed, offloading "lighter" jobs to slower
boxes.
(again, ports is still locked for most people)
2010-02-24 11:33:31 +00:00
espie
8461975175
band-aid for out-of-date, as noticed by various people
...
(there are probably nicer ways to do this now)
2010-02-16 20:50:32 +00:00
espie
9e0b3d6c97
don't iterate on IGNORE, this breaks java's jrl message
2010-02-13 21:11:35 +00:00
espie
f7f5b4ff0a
some important improvements to bsd.port.mk
...
- simplify IGNORE handling, always define it, even when NO_IGNORE is set,
and only use it for the targets it's meant to influence.
- make it possible to multiply-IGNORE a port, so stuff that's BROKEN and
NOT_FOR_ARCH will show up as both.
- DESCRIBE_TARGETs can die, since we no longer need special IGNORE dance
for them.
- add an IGNORE_IS_FATAL tweak, so that ignored ports can actually error out.
- reorg dump-vars to choose what to show, including new IGNORE, and COMES_WITH.
- name an explicit prepare step, which does check build dependencies and
install them (useful for build timing purposes)
- move the do-fetch test out, so that we can add pre-extract and do-extract
there eventually.
2010-02-12 12:00:19 +00:00
jasper
7b605490f2
- add the plist i've used to build the first packages
...
ok naddy@
2010-02-08 12:57:02 +00:00
jasper
1777a47c53
- sync a with reality.
...
ok naddy@
2010-02-05 14:46:26 +00:00
jasper
923a684afc
- mention mips64el where applicable
...
ok espie@ ajacoutot@
2010-02-05 13:06:03 +00:00
espie
2a6cec5724
duplicate RUN_DEPENDS, it should be indexed only.
2010-01-28 10:09:06 +00:00
espie
19d16675e1
fix check-lib-depends since SharedLibs changed slightly (quick fix
...
adaptation for now).
As noticed by kili@
2010-01-26 21:22:57 +00:00