Commit Graph

2425 Commits

Author SHA1 Message Date
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
sthen
95c1f274c1 Permit native-mincore, at least some GNU m4 programs and clisp hit this.
ok sturm@ ajacoutot@
2010-01-14 17:23:28 +00:00
sthen
513324e8fc Add databases/pkglocatedb to plists (located at the top of the lists,
as suggested by naddy@).
2010-01-09 02:48:04 +00:00
espie
87a403339e adapt to new api 2010-01-02 12:54:22 +00:00
ajacoutot
680c1968eb s/contains/may contain/
"if it pleases you ;)" espie@
2009-12-08 18:15:50 +00:00
ajacoutot
fbd6734ea6 Listing a mirror twice does not make it more reliable (ftp.no.gnome.org).
Also remove planetmirror as it does not fail on non existent file but
rather make you download an error file.
2009-11-24 16:50:43 +00:00
sthen
107514a066 remove a spurious \ 2009-11-24 09:28:14 +00:00
giovanni
51c279856e Add a user for mail/sqlgrey 2009-11-16 10:40:35 +00:00
steven
218487feca spacing 2009-11-15 22:05:36 +00:00
steven
d343c92dff look for .la file associated with -lfoo argument in the cwd too
seems to fix a handful of ports
2009-11-15 21:51:59 +00:00
sthen
499eb178c6 reserve ids for forthcoming munin port. 2009-11-13 10:59:05 +00:00
msf
4bfb5fd557 reserve an id for forthcoming rabbitmq port 2009-11-11 07:47:36 +00:00
pea
f8aa70271c Add _mon 2009-11-10 14:37:48 +00:00
espie
27a3d543cb a few tweaks I should have committed long ago.
- better at handling progress meter incomplete lines and sanitizing them
before output
- less greedy about maintaining a context, let post-error messages stuff
end up in the default.log, instead of seeing huge swaths of entering directory
after errors.
- -s silent option, for use when we see the output but don't need to duplicate
it.

After work with NicM, portslogger is useable with tmux. From within tmux,
just run something like:
tmux pipe-pane 'perl /usr/ports/infrastructure/build/portslogger -s /usr/ports/log'

to log all ports building activity...
2009-11-08 09:24:11 +00:00
jasper
8371b7611b sync with reality after hw upgrade 2009-11-01 19:11:03 +00:00
sthen
5e332fabdc add pure-ftpd. reminded by Brad, thanks. 2009-10-27 23:45:58 +00:00
edd
9eb849305a add ziproxy user and group in preparation for import of net/ziproxy.
OK sthen@
2009-10-27 16:42:29 +00:00
ajacoutot
85381c8edb Teach make plist about PIE executables so that it doesn't handle them
like shared libraries.

"conceptually ok" kurt@
"looks good, go ahead" espie@
2009-10-27 15:48:52 +00:00
pvalchev
c93a58fb78 update for 4.6 (account for SHA256 being there too) 2009-10-26 20:17:15 +00:00
msf
13e84f67fd add MASTER_SITE_GEMCUTTER as github no longer hosts gem files
ok bernd@
2009-10-25 10:59:47 +00:00
jasper
a296057f8c - add a -d flag to show the directory in which the outdated port resides
original diff by giovanni@, reworked by me to not alter default output
ok giovanni@ sthen@
2009-10-22 08:44:44 +00:00
steven
685bd523ac cleanup unused variable 2009-10-18 08:32:19 +00:00
steven
16d0c32f3c separate lists of static and shared libraries
this makes xenocara build.
2009-10-17 14:40:22 +00:00
steven
84737a0d1c clean up a bit, and save some time 2009-10-15 15:20:34 +00:00
pirofti
a081f17a6d Add more ports to the plist file for landisk snapshots.
Okay sthen@.
2009-10-15 14:34:01 +00:00
steven
de328a6e74 better regex 2009-10-15 13:48:11 +00:00
steven
3628fb6ff2 try to cope with people passing /path/libfoo.so.X.Y instead of -lfoo
if a static library has been found, don't search for it again.
2009-10-15 13:46:23 +00:00
steven
3197dd1add no need for fiddling with deplibs again here 2009-10-15 11:26:08 +00:00
steven
90acfab4e5 revert some of the previous; we need this to deal with convenience libs 2009-10-15 11:16:10 +00:00
phessler
3c719e581d allow us to run make update-patches when WRKDIST has spaces in it.
OK espie@
2009-10-15 10:48:05 +00:00
steven
d514f1eb1d remove unneeded extract_archive function 2009-10-15 09:39:45 +00:00
steven
7b6089698d cleanup; this seems to work better 2009-10-14 22:03:16 +00:00
steven
1adbca4d86 shut up if not in debug mode 2009-10-14 18:22:03 +00:00
steven
24132ef048 use find method here as well, as the object data might not have been filled 2009-10-14 16:03:02 +00:00
steven
869d85c921 make guess_implicit_mode work again 2009-10-14 14:28:22 +00:00
steven
dd74eb33f1 register directory where static lib can be found
add missing newline
2009-10-14 14:14:21 +00:00
steven
cb183eb8c6 run find unconditionally 2009-10-14 14:05:33 +00:00
steven
fa7822ef2f sigh, install programs do not always take options 2009-10-14 13:42:41 +00:00
steven
191ff969ee allow USE_LIBTOOL to be set to 'gnu'; 'gnu' and 'yes' do the same for now.
ok espie
2009-10-14 13:01:03 +00:00
steven
faaa9351fc if (defined $a) instead of (if $a) for the -release option, as it may be 0 2009-10-14 12:28:44 +00:00
steven
38fc564f05 move some library finding code out of the parser
store the .la file path in the library object for later use
fix a bug where we lost some of the command line arguments
this makes more stuff build again and improves static linking
2009-10-14 11:31:50 +00:00
steven
e6877d2f2a read architecture from the perl configuration 2009-10-14 09:06:17 +00:00
steven
d319580241 some small fixes after previous changes 2009-10-13 23:26:41 +00:00
steven
1499055d06 move find_la subroutine into LaFile package 2009-10-13 21:19:15 +00:00
steven
cfe5f8d02a make substitution code a bit shorter 2009-10-13 20:56:45 +00:00
steven
ec6069f4f3 - write SHARED_LIBS_LOG file
- fix stringize to return 0 instead of empty string if the value is 0
2009-10-13 18:22:57 +00:00
steven
fddecfb227 start at putting library info into an object 2009-10-13 17:11:21 +00:00
landry
fb2acb23e7 Change WRKOBJDIR (again...) to default to ${PORTSDIR}/pobj instead of obj,
it confuses make mirror-maker (among others..)
req'd by espie@, agreed by several@ in budapest.
2009-10-13 14:39:23 +00:00
steven
553d8c3311 this should work better 2009-10-13 14:23:12 +00:00
steven
1029d10105 restrict scope of a few variables; initialize them in link mode only 2009-10-13 13:55:12 +00:00
steven
5f959feb9a move all the parsing subroutines from main into a parser class
much more moving around is needed
2009-10-13 13:30:31 +00:00
sthen
62a16058a5 +astmanproxy 2009-10-13 11:12:52 +00:00
steven
028808fd21 remove another argument here 2009-10-12 19:02:14 +00:00
steven
4c6fbb3538 remove argument when not necessary 2009-10-12 18:31:37 +00:00
steven
fdbf9000c1 move a few lines and add missing argument 2009-10-12 18:14:55 +00:00
sthen
030b4088f5 add a few ports, drop some which don't exist any more 2009-10-12 12:40:17 +00:00
steven
f2f622fbaf more generic way to deal with multiple-argument commands
(compiler, linker, install program, etc)
2009-10-12 09:58:22 +00:00
steven
866707f683 avoid undef as reference 2009-10-11 20:50:33 +00:00
steven
16fa453f51 sigh, don't use glob here 2009-10-11 18:58:59 +00:00
steven
5e4c5f1c28 oops 2009-10-11 18:40:03 +00:00
steven
699cd8382e move some info related to executable into the object 2009-10-11 14:21:56 +00:00
ajacoutot
bee3737fdc add _polkituser (for policyKit, not it does not work yet) 2009-10-10 15:08:12 +00:00
steven
ee45027ef6 allow to link executables statically as well 2009-10-10 09:50:11 +00:00
steven
965b3c75bd when linking a program, take into account -static flag (not yet supported) 2009-10-09 22:24:56 +00:00
steven
fc74e89c10 be a bit smarter about executable wrapper creation by remembering linking
with a .la file which refers to a shared library
this should prevent wrapper files getting installed;
fixes dbus and wml ports, hope it does not break others :)
2009-10-09 21:23:42 +00:00
matthieu
da8ac4907e Update for new BSD.x11.dist which is rooted at '/'. ok espie@ 2009-10-01 19:38:40 +00:00
sthen
617af14735 tmux moved from ports to base, remove it from the arm plist. 2009-09-30 07:52:12 +00:00
sthen
c7d3d285a4 Replace lzma with xz. ok naddy@ 2009-09-11 07:53:45 +00:00
jolan
90f4fa4634 reserve uid/gid for prosody 2009-09-06 18:37:15 +00:00
steven
f31c359143 zap trailing whitespace 2009-08-30 08:40:52 +00:00
kili
55a89f933c Remove broken mirror. 2009-08-26 11:53:20 +00:00
sthen
9ddbfccba5 fix ucr.ac.cr CPAN url 2009-08-25 17:13:55 +00:00
sthen
fcc8908676 Change MASTER_SITES_SOURCEFORGE so fetching distfiles uses their
geolocation. problem with my diff found + fixed by martynas@.
ok ajacoutot@ jasper@
2009-08-24 13:41:57 +00:00
sthen
086a0298a0 Adjust the regex which matches file(1) output so that set[ug]id files
can be detected as being binaries for update-plist. ok espie@
2009-08-14 22:41:13 +00:00
simon
456bb1cca4 Finally add CONFIGURE_STYLE=modinst. This adds p5-Module-Install to
BUILD_DEPENDS, and --skipdeps to CONFIGURE_ARGS.  Additionally it nukes
existing ${WRKSRC}/inc/Module/*Install* files in pre-configure to force
regeneration of bundled and often outdated Module::Install versions.

feedback/testing by msf@, jim@ and landry@
2009-08-12 22:36:48 +00:00
jasper
3bd2392a6b - add _memcached/_memcached 2009-08-07 10:45:35 +00:00
martynas
1ffe7c1642 reserve user ids for _mt-daapd, _solid-pop3d & _ettercap. 2009-08-06 23:38:48 +00:00
espie
5552fa34d2 maintainer usability: some targets are usually not invoked recursively,
but they can (sometimes) be useful: add DANGEROUS knob to prevent running
them accidentally, but allow people to run makesum/update-plist/update-patches
recursively.
2009-07-26 12:14:05 +00:00
naddy
eb54af552b 4.6 CD package lists 2009-07-22 20:10:19 +00:00
espie
ef63e25ff6 small mirror-maker tweaks:
- there's no need for :: on pure dependencies, : works just fine for
accumulating (and :: is not 100% standard on all systems)
- append directly to _FETCH_MAKEFILE_NAMES. This avoids an untidy blank space
2009-07-15 23:44:36 +00:00
espie
3ea520053a when using peek-ftp, I often start with make show=DISTFILES, so save myself
the trouble.
2009-07-13 12:21:44 +00:00
jasper
3d9fe266f1 - add a hosts file for mips64, as there are two sgi's now 2009-06-30 17:27:52 +00:00
sthen
667449de37 add group for nbaudit 2009-06-19 10:15:11 +00:00
sthen
9cd02211f8 security/nbaudit uses "nobody"; reserve a uid to fix this 2009-06-19 10:12:36 +00:00
simon
e47a3e8294 let Module::Build tests behave like ExtUtils::MakeMaker ones
ok landry@, sthen@
2009-06-18 13:41:28 +00:00
landry
27251dbdc9 systrace isn't too happy when WRKOBJDIR contains a symlink, which can
happen often (/usr/ports NFS mounted & /usr/ports/obj a symlink to a
local dir, /usr/ports as a symlink to /home/wherever..)
Use readlink -fn only if USE_SYSTRACE is set so less things are run when
bsd.port.mk is included. Should make everyone happy.

Issue reported by and original fix ajacoutot@, sounds reasonable to espie@
2009-06-17 13:42:49 +00:00
jolan
cc03ea5492 reserve a space for upcoming openfire port 2009-06-15 23:45:50 +00:00
kili
a7b1d60056 +_dnsmasq 2009-06-14 17:04:16 +00:00
sthen
df3fbaad7d set RECURSIVE_FETCH_LIST to No by default. ok sturm, ajacoutot, espie. 2009-06-12 17:26:51 +00:00
landry
861925b221 Provide saner defaults for WRKOBJDIR, using ${PORTSDIR}/obj. No more w-*
dirs forgotten all around. One can still unset it in /etc/mk.conf to get
back to the older behaviour, or still override it with /usr/obj/ports or
/usr/wobj or whatever. At least, now it can be a separate partition.
Most of us were already overriding this value, OpenBSD is all about sane
& simple default settings.
${PORTSDIR}/obj suggestion from jakemsr@.
Discussed at length with several, 'Works for me' krw@ ok todd@ wcmaier@.
2009-06-12 13:39:30 +00:00
espie
3cb8b96f11 don't export brutally everything from bsd.own.mk into each port's Makefile,
but select some variables instead.

checked by naddy@ on a bulk-build.

(apart from making stuff less easy to break, it also means Makefiles stop
inheriting a WIDE set of .PHONY targets, which is a good thing)
2009-06-09 17:46:58 +00:00
sthen
dfcac48e8c simplify, remove dead variable, handle ports without distfiles,
support FETCH_CMD (defaulting to ftp, as before). from Mikolaj Kucharski,
been in my tree for ages and works ok - ftp.ca maintainer timeout ;)
2009-06-04 15:15:48 +00:00
sthen
68fc639cee make a suggestion about using .include to pull this file into
../db/network.conf and just add your own overrides; saves trouble
when a new mirror is added.

ok jim@ benoit@ pea@
2009-06-04 14:43:40 +00:00
ajacoutot
37b2e54575 Add required users for net/avahi. 2009-06-03 16:46:48 +00:00
sthen
670e919314 reserve 628 for kamailio. 2009-05-26 16:19:06 +00:00
ajacoutot
70fdb8ee0c Add _zarafa user. 2009-05-19 15:20:08 +00:00
simon
f9808159d2 allow ports to set REGRESS_IS_INTERACTIVE=X11 in order to get rid of
redundant makefile parts found at many places in the tree

DISPLAY and XAUTHORITY variables/checks to be nuked soon from many ports

ok ajacoutot@, sthen@, jasper@
2009-05-16 22:18:50 +00:00
sturm
3e2c7f0404 add some code to help find circular dependencies 2009-05-09 07:36:17 +00:00
sthen
035db71d1e pound should be uid 626, even... 625 was reserved for varnish. 2009-05-07 12:37:10 +00:00
sthen
020024a323 unbreak conflicting userid and bump PKGNAME, no cookie for me, I forgot
to commit the user.list update in my tree :(

found by Rolf Sommerhalder.
2009-05-07 12:16:34 +00:00
pvalchev
7ae647f8ae 4.5 2009-05-07 00:10:44 +00:00
fgsch
fb402541c1 add _varnish. 2009-05-06 21:34:28 +00:00
martynas
fb518f37e5 make "doesn't seem to exist on this system" and "Size matches for"
implicit;  since they filled the whole screen making important stuff
unnoticable.  ok espie@, sthen@
2009-05-05 20:58:38 +00:00
jolan
ae7cacbcab +_noip 2009-04-30 23:25:31 +00:00
espie
60e8adb5b1 flattening signatures mean they won't be compared, but they still end up
in the recorded plist, consuming space for nothing. So also remove them
from the plist.

while there, $o->method() becomes $o->method
2009-04-26 08:45:09 +00:00
espie
3286c9fba0 remove trailing dot 2009-04-24 08:53:33 +00:00
jasper
426d642c27 - add _zabbix/_zabbix 2009-04-22 21:25:15 +00:00
espie
7112ac8117 add support for MATCHDIR: will only recurse into dirs that match the
pattern...
2009-04-11 14:56:31 +00:00
espie
b466c39b7a minor tweaks:
- totally forbid overriding do-fetch
- slightly better diagnostics in a few cases
2009-04-11 14:55:31 +00:00
naddy
6c08a3cb68 Quote filenames when handing them off to a shell.
This fixes errors like "sh: syntax error: `(' unexpected" in make-plist.
ok espie@, jasper@
2009-04-09 14:48:45 +00:00
jcs
87c2eb048a add MASTER_SITE_GITHUB for gems
ok bernd@
2009-04-02 15:04:19 +00:00
sthen
c2f2c6fa1e reserve 622 for ngrep 2009-03-30 21:17:30 +00:00
fgsch
82bee3bd7e add pypi master site. discussed and ok with martynas. 2009-03-21 22:25:48 +00:00
martynas
4c51498968 follow the naming scheme. it should be MASTER_SITE_MYSQL
"correct." fgs@
2009-03-19 22:51:01 +00:00
ajacoutot
21e51b9ca9 - add old behaviour back where MODGNU_AUTOMAKE_DEPENDS is always set even
when not using CONFIGURE_STYLE=automake
this fixes ports depending on a specific version of automake while e.g
using the gnu CONFIGURE_STYLE

ok espie@
2009-03-14 10:46:56 +00:00
espie
5bcba4cec0 fix automake dependencies to read like automake->=1.4,<1.5 instead
of automake-1.4.*
2009-03-09 23:07:33 +00:00
fgsch
2f5705e5ad reserve user for couchdb 2009-03-09 02:18:22 +00:00
pvalchev
c2f64a386c 4.5 2009-03-06 23:19:38 +00:00
todd
4a4f50f2fe _adsuck user 2009-03-06 20:22:39 +00:00
steven
5793039c06 accept multiple forms of --version-info, adding default values where none
are specified (gnu behavior). this fixes math/kst
2009-02-16 22:04:28 +00:00
steven
238f39a692 deal with multiple linker options passed via one -Wl flag
fixes gnome/dasher
2009-02-16 21:22:56 +00:00
steven
14807835af rework logic around library linking, adding so called convenience libraries.
fixes build of a few ports, and doesn't seem to break anything else.
2009-02-16 20:02:42 +00:00
sthen
425944e209 add MASTER_SITES_SAVANNAH and switch ports over to using it.
ok jasper, landry
2009-02-16 15:28:57 +00:00
simon
e8be3e6c8d add user for ircd-ratbox 2009-02-09 09:42:08 +00:00
sthen
3069a7f086 add scrotwm, dmenu, and a few other things that might be useful on zaurus. 2009-02-03 23:15:01 +00:00
jasper
dcd264a214 - bring the packetstorm mirror list in sync with the published list on
the website
- zap trailing whitespace

from Jim Razmus, thanks
2009-02-03 22:17:36 +00:00
espie
32b14d0e1a reserve group/user for ajaxterm 2009-02-03 10:47:20 +00:00
jasper
7b8aff3857 - add a whole bunch of master sites for mysql as MASTER_SITES_MYSQL
ok ajacoutot@
2009-02-02 15:54:19 +00:00
martynas
a55b62ec62 add _tinyproxy. ok sthen@, merdely@, sturm@ 2009-02-02 12:21:57 +00:00
bernd
68a8f96c5b add _ircd-hybrid user 2009-01-29 23:25:45 +00:00
sthen
019d0d7d88 add user/group for net/iftop 2009-01-27 01:03:16 +00:00
espie
db7f3a147c say exactly WHAT was skipped, instead of giving the pattern 2009-01-24 11:32:43 +00:00
sthen
7229df5429 s/libao,-esd/libao/, ok pvalchev 2009-01-12 19:12:23 +00:00
sthen
46a5bf5290 add a few packages, mostly by request, to the regular arm builds 2009-01-11 13:23:51 +00:00
sthen
2421c402c0 fix WindowMaker master site, from Tamas Tevesz. 2009-01-07 11:11:14 +00:00
ajacoutot
126913162c - fix some unquoted shell expansions
this fixes an old bug where package creation would fail if one has some
particular file under PKGPATH because it would give pkg_create the wrong
args

from Wim Lewis on ports@, thank you!
"looks right" sthen@, "sounds reasonable" landry@, ok jasper@ espie@
2009-01-05 12:43:49 +00:00
espie
8c9d39a306 cheat a bit when registering comments... 2008-12-30 13:28:20 +00:00
sturm
964ced26a0 get rid of warnings in yp environments by explicitly denying binding
to 0.0.0.0:0 with eaccess

from Ingo Schwarze <schwarze at usta.de>
2008-12-27 19:27:14 +00:00
espie
3a751a74cc have to forego copying directories in the haystack case as well
as noticed by ajacoutot@
2008-12-27 12:44:02 +00:00
steven
2b94a5c112 add archive.apache.org which also has older versions 2008-12-27 11:00:51 +00:00
espie
7959381d53 do more subtle things with \n, since makeinfo can format the tag line in about
any way that makes sense for it.
2008-12-27 09:16:43 +00:00
sthen
2587c97392 my last commit here broke packaging of some ports.
fix from form@, thanks and sorry!
2008-12-24 10:08:02 +00:00
sthen
d23d34d6db create /etc/firmware in the fake root. No objection from espie@ 2008-12-23 21:26:56 +00:00
jasper
07484c630a - add _openct:_openct for upcoming openct update 2008-12-23 19:08:24 +00:00
pea
924e9aafab Add _rancid (sysutils/rancid) 2008-12-16 21:12:26 +00:00
steven
b141d06793 parse linkargs after constructing object lists 2008-11-23 09:53:56 +00:00
steven
ae388464a0 small tweak 2008-11-23 08:47:05 +00:00
steven
fe4a14cc4a somewhat simpler 2008-11-22 10:04:19 +00:00
steven
7f7ea8f9cb move code a little bit 2008-11-22 09:58:03 +00:00
sthen
5caeaa3c03 unbreak check-all for sha256; diff and prodding from
Mikolaj Kucharski, sorry for the delay and thanks!
2008-11-20 14:06:56 +00:00
steven
1dcee94da4 move library linking to LaFile class 2008-11-19 21:11:17 +00:00
sthen
7ce22cda43 add security/ipguard 2008-11-18 22:32:38 +00:00
steven
2f6600d62f some trivial cleanup 2008-11-18 22:31:11 +00:00
steven
705208ac57 separate linking of executables into its own class 2008-11-18 22:16:44 +00:00
pea
d34eaba94c Add _icecast 2008-11-18 21:24:11 +00:00
espie
65e7dd9971 somewhat better error indications after some user feedback ;) 2008-11-18 11:45:41 +00:00
sthen
fe4d2fc3fd add _squeezecenter:610 2008-11-17 12:32:23 +00:00
sthen
fe512b89ac We already warn about some arch-dependent files found in the
PLIST; add a few more architectures to this check, notably amd64
(including x86-64 and x86_64 often found in autoconf-based software).
Arch with short names less common as a primary ports developer
platform are deliberately not included to avoid bogus warnings.

ok espie@
2008-11-17 11:20:44 +00:00
steven
0d384fb780 - use exec during installation as well
- cleaner way to filter -s out of install options
2008-11-16 21:58:17 +00:00
steven
da62d86b3c make the compiler program a list; fixes a few ports 2008-11-14 22:50:58 +00:00
steven
ca2029501c use reference instead of hash 2008-11-11 11:00:29 +00:00
steven
a6d6aed06a separate compile code into its own method 2008-11-11 10:46:14 +00:00
steven
176cb58ff7 don't use the shell, except for install mode (needs more tweaking)
use references in a few more places
check whether reference is defined before attempting to use it
2008-11-11 09:54:51 +00:00
steven
5538e2a4ec change logic deciding whether to add a version; should fix a few ports 2008-11-10 15:52:30 +00:00
steven
f973bf3a82 only use reverse_zap_duplicates_ref and get rid of the array version
ok espie
2008-11-10 15:01:54 +00:00
sthen
7ca677bed1 remove sh from no_shared_archs, ok steven@ 2008-11-10 08:46:21 +00:00
steven
f2bea3b294 reintroduce (incomplete) support for --config, needed by some ports 2008-11-09 12:37:35 +00:00
steven
11da5ccdac more use of references
go for it espie@
2008-11-09 12:29:54 +00:00
steven
68831eca93 - use reference in process_deplibs and a few other places
- avoid split/join ' ' dance
- prettier debug output

ok espie@
2008-11-09 10:30:54 +00:00
espie
15242ec79f oops2, committed stuff that's not ready yet along 2008-11-08 09:43:43 +00:00
espie
10a17a5002 oops 2008-11-08 09:41:25 +00:00
espie
e2c1942470 finish switching parse_linkargs and resolve_la to lists,
stop the join ' ', split /\s+/ dance.

use debug(&) to avoid computing debug messages when not needed.
(and cleanup some old variables that no longer exist)

okay steven@
2008-11-07 20:22:39 +00:00
ajacoutot
dfa1ad0c4f - add sparc-1 and sparc-2 to the dpb host list
ok pvalchev@
2008-11-05 16:51:09 +00:00
espie
7408363065 tweak a few things:
- cache more stuff to avoid calling internal_resolve_la
- add a tracing facility
- start cleaning up more stuff.

okay steven@
2008-11-03 21:11:58 +00:00
espie
e1023039c9 perl extra stuff that's arch dependent and version dependent, should not
appear in diagnostics.
2008-11-01 14:49:51 +00:00
espie
c17c566a6b Exec class to run things.
LaLoFile class to read/write la and lo files.
2008-11-01 13:06:16 +00:00
espie
131635f281 simplify parse_file a bit, okay steven@ 2008-10-31 10:28:05 +00:00
steven
bac6de4a16 add support for -export-symbols-regex, seems to work 2008-10-30 23:53:28 +00:00
espie
f9c152cd42 okay, directories are not 100% yet... 2008-10-30 22:34:06 +00:00
steven
4cfa4bc828 support -export-symbols 2008-10-30 22:22:34 +00:00
espie
08ed051132 fix the reversesubst bug. In retrospect, it's obvious...
add a few print's for large ports where you wait forever...
2008-10-30 22:00:58 +00:00
steven
cdef84d3bb same search path debug info for find_la 2008-10-30 19:13:11 +00:00
steven
bfe5af2eef in find_lib, setup search path before starting search instead of modifying
some of the paths as we go; print search path in debug mode
rename a few variables for clarity
remove a spurious print statement

looks good to bernd
2008-10-30 19:02:19 +00:00
steven
e9fc27ce46 deal with multiple -rpath arguments; add the paths correctly to the run-time
path when linking an executable.

looks good to bernd@
2008-10-30 18:15:06 +00:00
espie
8635ef162c if item does not exist, don't check whether it's a shell. 2008-10-30 17:52:56 +00:00
espie
cdc0b08d42 shorter message 2008-10-30 16:35:31 +00:00
espie
3f7613a275 don't annotate stuff with @owner root unless there are mode thingies around. 2008-10-30 16:19:23 +00:00
espie
cc5ae1ec74 write out simpler packing list filenames all the time 2008-10-30 16:02:14 +00:00
espie
c7a54bd5f9 move stuff around 2008-10-30 15:54:23 +00:00
espie
fe2c0626b1 okay, just make sure the short name is / terminated, so we back-subst as much as we can in comments as well. 2008-10-30 15:38:09 +00:00
espie
75b4e00b20 use stringize to keep comments as they are... 2008-10-30 15:35:51 +00:00
espie
8ba18ac256 restore newauth stuff to working status 2008-10-30 15:28:29 +00:00
steven
1440297f2c revert part of r1.35 which reversed deplibs, seems to cause very long loops 2008-10-30 15:03:07 +00:00
espie
2e6362364c slight refactor. might be able to move @exec to end of directories when
needed eventually...
2008-10-30 13:49:11 +00:00
espie
ea071e4e85 try to put comments more or less where they belong 2008-10-30 13:39:22 +00:00
espie
33f7e414f7 start doing sensible stuff with sampledir 2008-10-30 13:10:59 +00:00
espie
23f6056807 fuzzy matching for @exec stuff 2008-10-30 12:55:21 +00:00
espie
1dbe68ce21 clean-up some more 2008-10-30 12:21:30 +00:00
espie
53167b4f73 standardized error messages 2008-10-30 11:44:43 +00:00
espie
4ffd43c84c copy things later: first pass just finds existing things in the plist,
then we try to register extra shit to the `nearest' item, and then we
populate the new plist.

also integrate shell marker fix from okan@ (forgot about that)
2008-10-30 11:12:25 +00:00
espie
3cba2503ae comment no longer applies. Yeah!
okay chantal goya@
2008-10-30 10:51:14 +00:00
espie
dbf937cb2d rearrange things so that stuff to copy over can be dealt with after we know
what's still around.
2008-10-30 10:50:36 +00:00
steven
2105813ddd don't add -pthread flag over and over again 2008-10-30 10:46:53 +00:00
steven
c2b79288a8 support -export-dynamic
from jakemsr@ long ago
2008-10-30 10:39:38 +00:00
steven
6a3d7e330e zap some rather useless features
bernd agrees
2008-10-29 23:13:22 +00:00
steven
cbf11d3bf6 convert some more lines to use the debug function 2008-10-29 23:09:07 +00:00
bernd
03982df912 foo.la files which have libdir set are going to be installed and should
end up in dependency_libs. ok steven
2008-10-29 16:16:49 +00:00
steven
8563b27b22 build static library if -rpath is not set
only fill in libdir if -rpath is set
2008-10-29 16:10:53 +00:00
espie
7e9919aaf4 make things obvious: if your pkg_add is not up-to-date, this doesn't work. 2008-10-29 15:42:41 +00:00
steven
0d31269c32 error out if we cannot find a library file in the library hash
restrict addition of a flag to library link mode
2008-10-29 15:28:22 +00:00
steven
4ba440c926 use a subroutine for printing debug info
print some more debug info while here
2008-10-29 12:13:01 +00:00
espie
adb07d8b6f this can happen, and it's perfectly sensible in fact 2008-10-29 11:26:02 +00:00
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