Commit Graph

2540 Commits

Author SHA1 Message Date
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