Commit Graph

2100 Commits

Author SHA1 Message Date
steven
02481d9d12 revert a fix from bernd, it breaks other stuff
build deplibs the reverse way, seems to improve the ordering a bit
2008-10-29 10:09:33 +00:00
espie
24f7bfbb3e use lstat so it always return something even if the link points nowhere
(we don't care about the destination owner anyways)
2008-10-29 00:22:56 +00:00
bernd
70853d5e36 Fix globbing to find libraries. ok steven 2008-10-28 17:16:31 +00:00
bernd
c884da49b1 Unbreak dependency_libs generation for .la files. ok steven 2008-10-28 17:15:00 +00:00
espie
b2162c8751 do a much better job at handling owners and groups 2008-10-28 14:32:08 +00:00
ajacoutot
3b893bbd83 - revert; USE_GCC* does not belong to the gcc* MODULES usage and
the man page has always been wrong about it

requested by and ok steven@
2008-10-28 13:29:05 +00:00
espie
ecccb89c45 do a visitor to copy basic annotations (to be rearranged at some point) 2008-10-28 13:29:01 +00:00
espie
00018f7d81 people with complex multi-packages are going to love this: try to figure
out where to put new stuff based on existing directories.
2008-10-28 13:01:05 +00:00
espie
1181a04df0 oops again 2008-10-28 12:32:39 +00:00
espie
d7052d3837 refactor code a bit 2008-10-28 12:28:50 +00:00
ajacoutot
c78568ec50 - reverse logic so that gcc3/4 is actually used when USE_GCC* is set
- set USE_GCC* to Yes by default when using a gcc* MODULE which makes
much more sense

discussed with and ok robert@
2008-10-28 12:26:39 +00:00
espie
57273c051a oops. 2008-10-28 12:07:23 +00:00
espie
86fc36109c instead of the old mess, create a haystack hash with every full file name,
so that we can match directly against the file system.
Also keep a list for each element, which allows us to multi-match when
needed... For instance fvwm2 is now happy with this.
2008-10-28 11:59:12 +00:00
bernd
f2d591ad64 Print a warning if a lib isn't found in %libs so we don't try to use
an uninitialized variable.

steven agrees
2008-10-28 11:31:48 +00:00
bernd
61891ab14d parse_file now caches the file contents in %file_cache so we don't
have to to IO on the same files again and again.

don't skip any .la files in resolve_la yet to not break the order
(fixes misc/amanda)

added some debugging prints

ok steven
2008-10-28 11:16:27 +00:00
steven
401035aa94 find -lfoo libraries also inside ./.libs directory 2008-10-28 10:01:13 +00:00
steven
bec920d5eb try to use pic objects if no non-pic objects can be found
throw some warnings
2008-10-28 10:00:22 +00:00
steven
0dba86f80d use -whole-archive linker flag when linking a shared library with static
libraries
2008-10-28 09:58:55 +00:00
espie
07bd3b52fe small tweaks 2008-10-27 21:00:11 +00:00
bernd
65dd5daf1a unbreak 2008-10-27 16:53:13 +00:00
espie
d369ce8e34 endfake no more 2008-10-27 13:25:35 +00:00
espie
c31a347ab1 zap the end_fake for now, it's confusing issues... 2008-10-27 12:18:40 +00:00
espie
08790e6f9b DYNLIBDIR died ages ago 2008-10-27 11:28:12 +00:00
espie
81f915855f zap very old code that was used to remove @exec mkdir and @exec install-info 2008-10-27 11:19:57 +00:00
espie
a223161d21 turn the stuff we read from the FS into actual objects 2008-10-27 11:12:01 +00:00
steven
826ea4d32c support -objectlist option; makes devel/cln build 2008-10-27 10:34:18 +00:00
espie
4374ceee96 move parts of make-plist into a separate module to try to clean up the
mess a bit...
2008-10-27 10:33:46 +00:00
steven
af0ac41778 slightly more readable
use same comment as gnu .la file
2008-10-27 09:36:42 +00:00
espie
646dba29d0 useless comment ;) 2008-10-26 16:24:22 +00:00
espie
1c7c0e6f80 zap local $_ 2008-10-26 16:02:06 +00:00
steven
e0416b8ada sort subs 2008-10-26 09:52:10 +00:00
steven
9fbc3582ca slight code reorg, somewhat more readable 2008-10-26 09:44:22 +00:00
bernd
5f93c223a6 Add SUBPACKAGE to _ALL_VARIABLES. ok espie@ 2008-10-25 15:06:26 +00:00
sturm
2342cf4f65 BIN_PACKAGES is obsolete
from  Mikolaj Kucharski
2008-10-24 16:34:19 +00:00
steven
f259217b48 abort if neither a .la file nor a real library can be found 2008-10-20 21:00:30 +00:00
steven
728795eed1 don't try to strip .la files on installation
use same libtool version as in ports tree
2008-10-20 20:20:09 +00:00
steven
002ab91cdb -n is an alias for --dry-run 2008-10-20 20:16:05 +00:00
sthen
cf3436b778 replace 3 broken horde mirrors with working ones, and adjust a directory
path for another. ok mbalmer@
2008-10-17 21:57:22 +00:00
pvalchev
7fa431eebd bring up to speed for 4.4 2008-10-16 23:35:50 +00:00
sthen
212e34c30e update CPAN mirror for .uk, from Jim Razmus - thanks! 2008-10-15 14:53:00 +00:00
steven
211fecd1ec sort libraries by version number only instead of alphanumerically by filename
prevents libfoo.so.10.0 < libfoo.so.9.0

pointed out and similar diff by bluhm@ before ports lock
2008-10-10 20:32:28 +00:00
jasper
1e6ef91b32 - rename net/powerdns user to _powerdns to avoid confusion with net/pdnsd 2008-10-07 21:01:51 +00:00
espie
0965b5a651 make register-plist aware of the new digest infrastructure.
make it not notice a switch from md5 to sha256.
2008-10-06 09:37:02 +00:00
jasper
1d1b675756 - add _pdnsd:_pdnsd for powerdns 2008-10-02 18:41:44 +00:00
espie
fb5fbd2ffc new perl can't read from unopened dir (autovivified handle) 2008-10-02 18:06:37 +00:00
simon
f06c5645e2 remove dependencies to ports now coming with perl 2008-09-29 22:55:46 +00:00
espie
79bdb256c9 add a possible convenience link to the WRKDIR
*solely* as a facility for people working on the ports tree.
not to be used for anything at all in the ports tree itself !!!
since it's not protected against any kind of race.
2008-09-19 13:00:30 +00:00
sturm
fc0b736093 remove some machines 2008-09-17 20:19:24 +00:00
ajacoutot
13ef0005f6 - add ^TRUEPREFIX to the generic SUBST_VARS
"go ahead" espie@
2008-09-17 13:42:10 +00:00
ajacoutot
c5e70d5785 - add _cherokee user and group (www/cherokee) 2008-09-05 11:21:17 +00:00
pvalchev
dee9e9ac60 4.4 pkgs 2008-08-25 17:20:49 +00:00
ajacoutot
1349ebbeef - GPL version number must be appended in the license marker
"oui, oui" espie@
2008-08-23 15:28:00 +00:00
ajacoutot
b1f9addd44 - add the _gkrellmd user and group (sysutils/gkrellm/gkrellm) 2008-08-21 07:24:19 +00:00
pvalchev
624ba74731 p list for 4.4 2008-08-20 22:20:42 +00:00
ajacoutot
5ff0f34242 - revert previous, requested by pvalchev@ who is coming up with a larger
diff (no-one likes cvs conflicts...)
2008-08-20 16:16:53 +00:00
simon
bd1e06cf76 Redirect regression output so we get the actual exit code instead of the
last one in the pipe to make sure failed regression tests don't bake a
cookie when REGRESS_LOG is set (default).
Also redirect stderr to regress log and introduce REGRESS_STATUS_IGNORE
variable so post-regress targets like found in cpan.port.mk can do the
actual failure detection.

Problem noticed by bluhm@, latching of exit code suggested by steven@

Testing, feedback and ok on earlier version by bluhm@, 'go for it' espie@
2008-08-20 10:33:50 +00:00
ajacoutot
aa91ec9df8 - remove mergemaster from the list of subdirs
(mergemaster has COMES_WITH=4.4)

"sure" espie@
2008-08-20 09:12:10 +00:00
espie
9442611200 add clean=build: incentive to use SEPARATE_BUILD, as this allows you to not clean up the source, but only phases from configure up... 2008-08-20 08:56:53 +00:00
espie
409b0bc6fb NOT_FOR_ARCHS as dump-vars, to allow sqlports to perform better 2008-08-19 23:49:32 +00:00
espie
2021a1dcbf move links to the new place, so bob's mirror will run again 2008-07-29 18:00:19 +00:00
espie
7d70a8b03f typo 2008-07-29 17:54:52 +00:00
espie
7c4a60e481 we have too many old distfiles -> too many links.
instead of storing links directly as
sha1/digest
allow them to be in
by_digest/sha1/di/digest

so the number of links will not grow that fast
2008-07-29 11:25:44 +00:00
sthen
0a5f610984 add _ladvd for net/ladvd 2008-07-27 21:30:05 +00:00
espie
4649ae2bfa new update-or-install target needs to have dependent subpackages built as
well.

Incidentally, this is also an issue with update: in some cases, the update
target wouldn't work (specifically, when dependencies had changed).
Fix it as well.

There might be a need to revisit the DEPENDS_TARGET stuff later, this is
a bit of a kludge...
2008-07-26 12:23:43 +00:00
espie
6a61504833 INSTALL/DEINSTALL obsolete for multi-packages as well 2008-07-26 11:22:59 +00:00
espie
a44d1d9c1e _FMN is a terrible acronym 2008-07-26 11:16:04 +00:00
espie
e38014bf41 INSTALL/DEINSTALL are completely obsolete now (been deprecated for over
a year)
2008-07-26 11:14:07 +00:00
espie
d4209be428 new "convenience target": update-or-install (all)
Basically, make update without the tests that prevent it from running when
stuff is not installed yet.
2008-07-26 10:59:20 +00:00
ian
e07ec26b33 += _hudson 2008-07-25 00:07:59 +00:00
jdixon
1a342080c5 add _haproxy user/group for net/haproxy
ok merdely@
2008-07-17 04:36:13 +00:00
steven
43c75fb850 add _argus user/group 2008-07-04 17:19:08 +00:00
sturm
28942b6f0b honour ftp_ and http_proxy for FETCH_PACKAGES
ok espie
2008-07-03 17:36:47 +00:00
espie
5b18fe959e ... works much better if I commit pkgpath.mk as well... 2008-07-03 17:00:38 +00:00
espie
8e680d768f make full-*-depends targets invocable at the subdir level, as requested
by ajacoutot@
2008-07-03 15:43:22 +00:00
espie
5757a044de don't try to resolve links for binaries, it actually makes little sense.
suggestion from mike erdely and others.
2008-06-18 12:11:01 +00:00
sthen
8df342ec22 Update to the actual file I use for package snapshot builds for
the arm machines (armish and zaurus). If you need something else
that doesn't pull in a silly dependency, please mail me.

ok pvalchev
2008-06-12 21:09:28 +00:00
bernd
960b2df8de Only annotate OpenBSD binaries with @bin.
ok espie@
2008-06-12 09:06:52 +00:00
espie
553bc2d94c pkg_subst without file args acts as a filter 2008-06-09 12:01:39 +00:00
espie
db2d9f0cab detect executables in a crude way and tag them. 2008-06-06 15:03:30 +00:00
fgsch
13bf7688dd fix fetching files from MASTER_SITE[0-9]. found earlier by me during
a full port-lib-depends-check and later reported on ports
by Tim Donahue (tdonahue at vonsystems dot com). espie@ ok.
2008-06-06 01:17:13 +00:00
fgsch
0ae2ac563d ignore ports marked as such on port-lib-depends-check. rearrange targets
while im here. espie@ ok.
2008-06-05 08:14:00 +00:00
bernd
a77f939718 Permit native-clock_gettime.
ok sturm@, kurt@
2008-06-04 21:07:24 +00:00
sthen
2a56f2131a add _havp user/group for www/havp 2008-06-04 10:57:41 +00:00
fgsch
537c203d29 allow port-lib-depends-check to be recursive; espie@ ok. 2008-05-23 16:53:28 +00:00
espie
8edebb7ece fix bug introduced during rewrite: do not try to backsubst stuff inside the
library version number.
2008-05-21 10:07:14 +00:00
jakob
5b2dd647e4 add _unbound user/group for net/unbound 2008-05-20 19:34:37 +00:00
espie
95097113a0 add a bit of glue so that mirror-maker will be able to use the same locks
as the rest of the tree
2008-05-18 11:22:14 +00:00
espie
64d146b5bf remove intermediate targets we're no longer needing 2008-05-18 10:05:21 +00:00
espie
b6f6bdaee7 compute a set of missing files to show a better message for FETCH_MANUALLY
(got annoyed at java each time I had to figure out WHICH file got updated
and I had to fetch out of... the ten of them)
2008-05-18 09:58:09 +00:00
espie
59ea16ab14 no reason for fetch-all not to be a recursive target 2008-05-17 11:02:22 +00:00
espie
904173a350 typo: -i -> -q 2008-05-16 17:06:54 +00:00
espie
ea8499cbef improve on clean-old: basically use make show=MAKESUMFILES to figure out
which files are needed.

Also, do some tricky find in mystuff to try to figure out which files are
actually needed for local work.
2008-05-15 10:12:28 +00:00
espie
eac6cf7b3c simplify computation of MAKESUMFILES: start with what's already been done,
and just append to it.
2008-05-15 10:09:29 +00:00
espie
456b53e76f hide ALLFILES and REALLY_ALLFILES, they have confusing names anyways 2008-05-15 09:57:03 +00:00
espie
377f320ea8 clean-up fetch/fetch-all framework 2008-05-15 09:51:17 +00:00
espie
7e5366d9fb no reason not to allow install-all as a subdir target, so...
allow it!
2008-05-13 14:52:44 +00:00
deanna
2b77239a61 Add X11BASE to SUBST_VARS
ok espie@
2008-05-12 14:45:48 +00:00
espie
6c2917a593 stylistic changes 2008-05-11 19:50:55 +00:00
espie
25bde73a04 forgot one 2008-05-11 19:50:42 +00:00
espie
63905f17d2 zap indirectors that are no longer needed 2008-05-11 19:44:12 +00:00
espie
5e19e9e080 slightly simpler hook loops: use :U just once, since it applies to
every word. Also use :T to select the final word of the PKGPATH, so
that hooks work seamlessly for `non-core' modules, thus removing the
need for most modules to be core.
2008-05-11 19:36:12 +00:00
espie
4a25b37ecc clean-up pre-install hook. 2008-05-11 12:05:51 +00:00
espie
5caea536bd put back a default definition of FAKE_FLAGS, for style, since this did not
break anything.
2008-05-11 11:19:19 +00:00
espie
321669c708 conform to other hook naming. 2008-05-11 11:12:09 +00:00
espie
b9752adc83 sanity check: one CATEGORY should match the PKGPATH.
Surprisingly, this catches about 20 ports with their pants down.
2008-05-08 22:35:51 +00:00
ajacoutot
690b31ffc5 - add ^LOCALBASE to SUBST_VARS; now that SUBST_CMD is here, this will
become handy

ok espie@
2008-05-06 19:20:16 +00:00
espie
252db942d7 copy rights and owner, based on jasper's remarks 2008-05-06 16:13:15 +00:00
espie
7ede32a06c use a trap to remove the tmp file, thus helping making sure it does not
stay around
2008-05-04 12:58:03 +00:00
espie
58b1418be0 make the lock on distfile more useful. In case we got stuck in the
SIMPLE_LOCK for a while, this means something else is fetching
the same distfile, so first check whether our target actually exists
before we try to fetch it all over again.
2008-05-04 12:53:14 +00:00
steven
276ab95894 say it's experimental. avoid it for regular ports building for now... 2008-05-01 22:02:32 +00:00
pvalchev
794b1d3215 4.3 updates 2008-05-01 00:54:54 +00:00
steven
3c2d87c958 update packetstorm mirror list
from Jim Razmus (jim at bonetruck.org)
2008-04-26 11:50:09 +00:00
espie
67dd5e9ae5 handle fedora + redhat.
based on Mikolaj Kucharski <mikolaj@kucharski.name> patch.
2008-04-22 21:36:06 +00:00
wcmaier
732f0939de Add _ntlmaps user/group for www/ntlmaps.
ok merdely
2008-04-16 17:33:16 +00:00
espie
d795e04cf6 if I want to make the path part of the regexp, I need to use ? to make
sure it matches correctly...
2008-04-13 09:46:19 +00:00
espie
9106e40ed0 ignore details of new @comment VARS:, to be used for better make-plist. 2008-04-12 13:09:58 +00:00
espie
2c22929416 extend VAR_SUBST syntax slightly: a supplementary ^ at the beginning of
the variable subst means the subst shouldn't occur anywhere, but only at
beginning of name... useful for backsubst of SYSCONFDIR, since etc is so
frequent. Extended to other variables such as PREFIX.

tweak make-plist to use OpenBSD::Subst.

*this means this only works with current, but you've had a week to update...*
2008-04-12 13:04:21 +00:00
espie
3a17c26da8 add support for SUBST_CMD 2008-04-07 11:12:42 +00:00
espie
ade8f6f21e scaffold for CMD_SUBST 2008-04-07 11:10:16 +00:00
pvalchev
ce69f8a036 'sh' now has shared libs; from brad 2008-03-29 01:58:33 +00:00
espie
d4f049fe76 zap keep-alive scaffolds, it's on all the time now. 2008-03-24 18:05:54 +00:00
pvalchev
b39cde2e27 4.3 2008-03-20 22:04:26 +00:00
pvalchev
9823fa545a 4.3 sync 2008-03-05 17:59:57 +00:00
pvalchev
81a563caf5 4.3 2008-03-05 17:52:25 +00:00
pvalchev
e4eb6640d3 4.3 sync 2008-02-27 19:05:23 +00:00
pvalchev
22bcbfb884 sync 2008-02-27 19:05:08 +00:00
pvalchev
8f3aedbb9c update 2008-02-27 06:19:44 +00:00
espie
b00d668f47 ... and shellquote is now counterproductive... noticed by the same. 2008-02-20 07:04:25 +00:00
espie
c846346eda use exec(@list), avoid quoting issue.
thanks to  Johan Kiviniemi and Antti Harri
2008-02-19 11:02:53 +00:00
jakemsr
41e50b340e escape special characters in arguments before splitting arguments on
spaces.

ok steven@
2008-02-17 02:01:42 +00:00
merdely
3687d4b37e Fix _bacula-sd uid. Bump package names.
Pointed out by sthen@
"reads fine" jasper@
2008-02-16 21:22:41 +00:00
okan
6101ab777c - nmap,no_x11 -> nmap
- python 2.4 -> 2.5
- texlive replaced teTeX, noticed by sthen@

ok pvalchev@
2008-02-08 22:24:24 +00:00
bernd
1f61bf124d Add _iodine. 2008-02-06 21:43:57 +00:00
simon
6692106c6c ease sending cpan reports by adding the default recipient address
requested by & ok okan@
2008-01-29 21:00:27 +00:00
simon
c2eff19a79 run cpanreport with perl 2008-01-28 00:03:01 +00:00
simon
bf1bcd25c5 let `make regress' write test reports
to use it set CPAN_REPORT=Yes, CPAN_REPORT_FROM to your email address
and CPAN_REPORT_DB to a directory (like PLIST_DB)

initially by steven@
feedback from steven@, msf@, rui@, espie@, merdely@, okan@

ok msf@
2008-01-27 23:28:25 +00:00
ajacoutot
a30f21640e - add _kqemu group 2008-01-20 15:12:31 +00:00
espie
10fa94b01a insist on mkdir -p... now that FAKE_FLAGS is `fixed' this works.
Tested thru a full bulk-build
2008-01-18 20:58:15 +00:00
espie
d662afd778 insists on a space around the = sign (yes, there are good reasons for
that, it helps make finding the assignment sign in weird cases, and it's
also more readable for a human).

Reflect reality somewhat (ditch NO_DEPENDS and NO_PKG_REGISTER)
2008-01-13 16:43:57 +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
ajacoutot
707dea5ac7 - add _heartbeat user/group 2007-11-21 18:44:34 +00:00
steven
00e2cb6285 - store more info in .la files, simplifies the resolver
- process -R flags
- try to use the right -l flag
- skip prefer-pic/non-pic for now
- various tweaks
2007-11-16 15:37:20 +00:00
steven
2ff99c7644 don't create symlinks to static libraries 2007-11-09 15:20:57 +00:00
steven
fd610b14e1 install libraries with mode 644 if possible. 2007-11-05 12:45:34 +00:00