Commit Graph

2628 Commits

Author SHA1 Message Date
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
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
steven
011438b584 handle -prefer-pic and -prefer-non-pic options in compile mode.
shorten second getopt configuration line a bit.
2007-11-05 12:15:35 +00:00
steven
520b2657e2 also use -R flags when linking libraries, and add them into dependency_libs. 2007-11-05 11:27:34 +00:00
steven
3b08865b7c rework comments a bit 2007-11-03 13:40:08 +00:00
steven
8638149d6e handle current,revision,age stuff a bit better, and make sure it all gets
written in the .la file
2007-11-03 10:15:41 +00:00
steven
b5e8a26a13 drop -L flags containing .libs directories from installed .la file 2007-11-03 09:20:34 +00:00
steven
df477a7ef0 - library names don't have to start with 'lib'
- use libname.lax directory for extraction
- eliminate duplicates from dependency_libs
2007-11-03 08:47:46 +00:00
steven
2cd6019414 oops, keep -f test before creating a symlink 2007-11-01 17:21:25 +00:00
pvalchev
8f6b54a45b update 2007-11-01 16:09:44 +00:00
steven
cc9a22211a remove symlinks before creating them.
add --config output, only one variable for now which some port uses.
2007-11-01 10:39:33 +00:00
steven
3a7ffa8c6f - use .lai extension for better compatibility with gnu
- write .lai file at build time, and only install .la for shared libraries
- create symlink to .la file from the .libs directory
2007-10-31 21:49:08 +00:00
steven
802692b22c put the final libdir correctly in .la file from the start.
this also simplifies reworking of dependency_libs upon installation.
2007-10-31 17:32:55 +00:00
sturm
6438da2ade back out, this breaks PLIST_DB 2007-10-29 21:50:40 +00:00
sturm
09b5470166 unbreak, the regular expression never matched and $' was empty there
ok espie@
2007-10-29 20:00:53 +00:00
jasper
815941c4e5 keep an ftp:// server in top of MASTER_SITES_GNOME, so peek-ftp works 2007-10-29 19:23:45 +00:00
steven
c4dfa87bce - read and ignore -thread-safe option
- ignore multiple arguments for -version-info, just take the first
2007-10-29 18:47:19 +00:00
steven
ffcdf90dd5 resolve symlinks during installation 2007-10-29 15:56:56 +00:00
steven
fbad1b3d27 don't escape special characters which are surrounded by quotes. 2007-10-29 11:49:52 +00:00
jasper
8cfcd20c6f put a fast gnome mirror on top 2007-10-28 21:19:29 +00:00
steven
51efcbbcc7 libtool replacement
work in progress, do not use this yet.

input from and "commit it" espie@
2007-10-28 14:34:09 +00:00
espie
123ce53c44 Fix ldd command line.
Problem found out by mbalmer@, funnily enough, on the vax, which doesn't
HAVE shared libraries.
2007-10-27 22:15:28 +00:00
sturm
103af15928 reflect reality 2007-10-25 12:21:36 +00:00
naddy
44899eea9b * fix check for CVS keywords
* extend check to all CVS keywords, suggested by kurt@

ok kurt@
2007-10-01 20:39:23 +00:00
steven
19811ccb50 protect FLAVOR with :Q when passed to the shell, since it may contain
whitespace.
2007-09-30 15:07:40 +00:00
kurt
853bf4e006 - don't use PATCHORIG for patch files in a port's patches dir since that
confuses 'make patch'. improvement and ok naddy@
2007-09-28 17:11:10 +00:00
steven
bad04c5480 pass FLAVOR to update-plist.
ok espie@
2007-09-21 08:04:06 +00:00
steven
9cb9ca7c2e use :Q for BROKEN
ok sturm@
2007-09-21 06:58:21 +00:00
bernd
52ee7660c0 Add user for openpoppassd. 2007-09-21 05:55:49 +00:00
steven
058e805f0d remove broken/outdated mirrors from MASTER_SITE_APACHE and add a few new ones 2007-09-20 12:26:24 +00:00
jasper
a8dac01c16 add _ejabberd user and group 2007-09-17 21:12:50 +00:00
ajacoutot
7d98e61532 - remove quotes where uneeded (BROKEN, PERMIT_*) to avoid confusion
- add a blank line between PERMIT_* and WANTLIB ; those variables are
unrelated and it burns my eyes each time I see them glued

"maniac!" espie@
2007-09-17 09:44:42 +00:00
naddy
1715498931 quote shell meta characters when generating readmes; ok espie@ 2007-09-16 21:38:34 +00:00
steven
6eecbb1f12 add man3f and cat3f directories for fortran man pages 2007-09-05 15:17:56 +00:00
merdely
ff94b9cdfd +_nginx
ok steven@
2007-09-04 21:59:39 +00:00
espie
7a9f1afb15 add message that shows we exited a directory after an error, stops log there
during rebuilds.
2007-08-25 07:56:04 +00:00
pvalchev
809908acae what shipped w/ 4.2 2007-08-25 04:39:28 +00:00
pvalchev
1e949a7e07 4.2 2007-08-25 04:38:57 +00:00
pvalchev
80b4634e69 new (much bigger) list 2007-08-16 16:14:49 +00:00
pvalchev
d42d90ff15 sync 2007-08-16 16:14:20 +00:00
pvalchev
aa1d7000d0 shrink slightly more 2007-08-15 23:44:44 +00:00
pvalchev
5c8a6b4155 shrink 2007-08-06 20:34:45 +00:00
pvalchev
9059f9fde8 cut 2007-08-06 20:34:15 +00:00
pvalchev
61575d678a some pkg name changes 2007-08-03 19:35:19 +00:00
espie
fb338f26c3 make mirror-maker sturdier:
- pass an argument for the file into which we want to save the result, to
avoid getting it polluted with error messages (defaults to /dev/stdout for
debug).
- create the makefile fragment as a temp file and only copy it when complete.
- copy it in one chunk, so that one can read a partial mirror-maker file
and have it be usable.

This does allow for people to start a make mirror-maker in one shell, and
start fetching stuff right away, before mirror-maker is finished.

This also produces usable mirror-maker Makefiles even if the ports tree
contains bogus entries.
2007-07-28 12:58:34 +00:00
ckuethe
df3312f4cc add _imapproxy user and use it, rather than "nobody"
ok naddy
2007-07-24 19:38:01 +00:00
robert
7293071552 +_bacula 2007-07-20 11:05:57 +00:00
jasper
d64c4e7007 add _smsd for comms/smstools 2007-07-18 11:00:05 +00:00
espie
a52a0f1494 make sure ARCH gets defined also for individual port.
Noticed by Stuart Henderson
2007-07-09 13:32:56 +00:00
espie
43c841c254 avoid recomputing ARCH all the time. 2007-07-08 17:57:56 +00:00
simon
641ac136d2 let MODAPACHE_FINAL point to the correct location
noticed by & ok steven@
2007-06-30 15:27:29 +00:00
espie
6b63a93022 FTP_KEEPALIVE support 2007-06-30 14:48:20 +00:00
espie
33473a3fbb better, make it fetch file under DISTDIR 2007-06-30 14:48:04 +00:00
espie
b96d64afbf debug target for mirror-maker: allows one to check quickly whether a given port
generates correct mirror-maker fragments.
2007-06-30 14:43:49 +00:00
espie
3c826c4a33 rework the way subdirs are skipped so that they're skipped a the right
location.
Allows stuff like make ... STARTDIR=x11/openmotif SKIPDIR=x11/openmotif
to work.
2007-06-30 14:31:00 +00:00
espie
07262849b8 add support for FTP_KEEPALIVE.
You need a somewhat current ftp(1) for this to work !!!
2007-06-29 10:24:23 +00:00
espie
9eb5a6bae5 tweak getpkgpath to display a diagnostic, but not exit 1, in case of
error.

Do the real erroring out through a fatal error in pkgpath.mk (and set
PKGPATH to something less confusing than an empty variable). This
solves PR 5510 for real.
2007-06-28 21:05:47 +00:00
steven
a2aed3333d skip quotes around COMMENT
ok espie
2007-06-27 07:15:32 +00:00
steven
eb5a2e2d25 log results of regression tests into a file.
ok simon@
2007-06-23 09:39:18 +00:00
simon
ac9f495cdd set MODAPACHE_ENABLE and MODAPACHE_MODULE conditional
for apache modules with mixed interal/external names

ok espie@
2007-06-22 19:07:33 +00:00
ajacoutot
e6e9840691 - set SHARED_ONLY
ok simon@ espie@
2007-06-21 07:37:58 +00:00
simon
8055ea218d adjust the comment according to changed subst_vars
ok espie@
2007-06-21 06:11:11 +00:00
espie
7d0d0ae02a don't substitute MODAPACHE_NAME, this is often too short and causes
too much trouble
2007-06-20 14:43:17 +00:00
espie
5e5ec2f584 fix name of installed file 2007-06-20 13:55:41 +00:00
espie
b869babbd8 glue to simplify installation/updates of apache modules 2007-06-20 12:23:17 +00:00
jakemsr
28e134ba9c pass $PORTSDIR to ${PORTSDIR}/infrastructure/package/check-lib-depends
"Sure" espie@
2007-06-18 23:04:02 +00:00
espie
fbe90f8fc0 explain more about MAINTAINER values 2007-06-18 15:21:10 +00:00
espie
2bab7b794b start recording rpaths in .saved_libs, not really used yet. 2007-06-16 20:15:33 +00:00
espie
ce4da48631 I still need to handle `ignore', not all packages have been updated. 2007-06-16 12:14:53 +00:00
espie
343aff0c83 tweak FETCH_PACKAGES: do not fetch all multi-packages to satisfy a
dependency, but only the ones actually required.
If we end up needing to rebuild them from source, then change back
to _internal-package-only, so that we benefit from the whole build
and get all packages again.
2007-06-16 09:57:03 +00:00
jasper
4c0d2908a1 add _sdpd user/group
suggested by uwe@
2007-06-07 13:10:34 +00:00
aanriot
909fa52ba1 add _dansguardian:_dansguardian for incoming www/dansguardian . 2007-06-07 12:56:33 +00:00
steven
ed7d3d26ab update GNU mirror list
from Jim Razmus <jim at bonetruck.org>
2007-06-05 18:06:46 +00:00
espie
b257e4d40f put all phony targets inside a variable, so I can check quickly that those
targets do still exist.
2007-06-04 12:15:09 +00:00
espie
479b2ddcdc since we no longer have to tsort the output of _print-package-args,
we can compute it first, and only start pkg_create if it didn't error
out.

This gets rid of the very verbose and confusing error messages
pkg_create meets when the ports tree cannot solve some dependencies.
2007-06-03 22:30:25 +00:00
espie
7f62033c1e zap duplicate lines 2007-06-03 22:25:01 +00:00
espie
1196a0d7f3 reorganize to avoid repeating lists of targets:
classify stuff that is used in bsd.port.subdir.mk, name them in pkgpath.mk,
and use them as .PHONY targets in both bsd.port.mk and bsd.port.subdir.mk.
2007-06-03 12:51:59 +00:00
espie
d2fbe0a110 ouch, look for the actual location, not the package name, so that
we use built packages as much as possible (this is much faster than
regenerating packing-lists on the fly).
2007-06-03 11:57:36 +00:00
espie
b4a526a3bb tell make-plist about .saved-libs 2007-06-03 11:06:41 +00:00
espie
8aed1af7f0 Let lock save the BUILD_PKGPATH.
Do port-lib-depends-check in two steps: first generate a list of
binary: lib1,lib2,lib3
in WRKINST/.saved_libs
then run check-lib-depends on it.

Speeds up tweaks to WANTLIB quite a lot, as we do not rescan every
binary all the time...
2007-06-03 11:03:06 +00:00
espie
009f44b53a allows saving/retrieving dump of objdump runs. 2007-06-03 11:01:10 +00:00
espie
1cc1790f05 add an option which simply dumps the stuff out. 2007-06-03 10:32:23 +00:00
espie
27af9a55a3 assorted cleaning-up:
- no longer any needed to put haslib and needlib together, since we
create it independently.
- replace the tests for opt_f by a distinct Recorder object, that either
keeps all binary names, or just some (bonus: this should allow us to
store the information the other way around).
- remove extra $db parameter which no longer servers any purpose.

Comment a few data structure.
2007-06-03 09:21:50 +00:00
espie
f10eb23d0b finish killing old stuff, you should have updated by now. 2007-06-02 12:23:28 +00:00
espie
0c6983c419 allow locking command to take extra parameters, store them inside the lock
file (as a comment)
2007-06-02 12:03:56 +00:00
espie
9a70356e28 use new ProgressMeter interface 2007-06-01 15:01:50 +00:00
espie
4fb932ea5d finish renaming check-newlib-depends -> check-lib-depends 2007-06-01 13:15:21 +00:00
alek
46127e0b2e introduce new master site -- MASTER_SITE_RUBYFORGE; ok jcs@, jasper@ 2007-06-01 10:57:48 +00:00
espie
3eae0fe94a kill REQ script support, flag INSTALL/DEINSTALL as warnings.
Remove obsolete _PKG_PREREQ cruft.
2007-05-31 10:52:16 +00:00
ajacoutot
f4d359465a - revove dead CPAN mirrors and add some working ones
- also remove the duke.edu X11 mirror

from Jim Razmus
2007-05-30 23:16:25 +00:00
aanriot
38f0545b32 add a trailing backslash.
ok naddy@
2007-05-29 17:36:32 +00:00
naddy
a522c9bc3e remove dead mirror sunsite.org.uk; from Jim Razmus 2007-05-29 16:57:00 +00:00
ajacoutot
2ac0379c60 - remove soon to be out-of-service servers and add a few Gnome mirrors
from Jim Razmus <jim at bonetruck dot org>
2007-05-29 14:40:42 +00:00
espie
1a7def9f37 use the same rules to represent comments in describe that are used to
build packages.
2007-05-27 11:53:39 +00:00
jasper
8d825db2fb remove useless master site
from Jim Razmus <jim at bonetruck.org>
2007-05-27 09:13:56 +00:00
naddy
96b2f8b41c add pl_PL.ISO_8859-2 (Polish) NLS directory; required for upcoming tcsh update 2007-05-27 00:24:24 +00:00
espie
f790ffb4c9 better quoting 2007-05-26 20:20:38 +00:00
espie
f693d15fb3 use the new features of pkg_create. A few packages may no longer build
without a packagename bump, or because they have too long comments.

steven@ and I cleaned up most of them.

As a result, there's no longer any WRKPKG directory with their temporary
files.

We also use the `sort -u' feature of pkg_create for dependencies, so that
the command lines to pkg_create get simpler, which will allow for easier
error-checking later on.
2007-05-25 13:07:41 +00:00
espie
3e81f47fb3 synch with pkg_add src/ changes 2007-05-23 10:34:15 +00:00
espie
9fd3895989 fix infinite recursion for p5-version like we already did for modbuild
proper... nothing new under the sun.
2007-05-22 20:57:25 +00:00
espie
9d2f3b66db old `check-lib-depends' has been dead for ages. Prepare for renaming. 2007-05-22 10:39:05 +00:00
espie
8eb23915f4 we don't bother building hardlinks either 2007-05-21 21:43:50 +00:00
espie
170d57a28f oops again: make sure we create the correct files. 2007-05-21 21:38:01 +00:00
espie
3876bf00e9 zap debug line 2007-05-21 21:24:56 +00:00
espie
49aaeb4f95 use the new code to ALSO report libraries recorded in WANTLIB (and used)
that are actually not reachable.

Reword the print-out slightly, I think it looks nicer ;-)
2007-05-21 21:23:45 +00:00
espie
e0e45027b6 oops 2007-05-21 21:02:14 +00:00
espie
3b31079021 unify reporting of lib issues 2007-05-21 20:52:33 +00:00
espie
023cfd6b44 Create error objects based on library stuff. 2007-05-21 20:39:27 +00:00
espie
ed3de34f07 separate usage of variables. 2007-05-21 20:20:50 +00:00
espie
440c45949a $o->method() becomes $o->method 2007-05-21 20:14:28 +00:00
espie
ee3c5a28f4 slightly clearer code: retrieve files through a FileSource, that abstracts
all details of archive extraction (or not).
2007-05-21 14:41:38 +00:00
espie
f438993d53 cut the main routine into scanning binaries/checking libraries. 2007-05-21 14:15:31 +00:00
steven
f1aafbc927 add clean=plist to clean a port's registered plists.
fine with bernd@, ok espie@
2007-05-21 11:18:10 +00:00
espie
b61771ff87 generalize info files to zap auxiliary junk. Allows for manpages to change
without obvious negative consequences.
2007-05-20 17:27:51 +00:00
jasper
925e847361 sync the packetstorm list with reality
from Jim Razmus <jim@bonetruck.org>
2007-05-18 20:26:32 +00:00
ckuethe
3c2be6022b update to darkstat 3.0.619.
ok rui
2007-05-14 21:42:47 +00:00
pvalchev
133a1b014c 4.1; beck 2007-05-14 16:16:17 +00:00
espie
c43a2cc6c2 use new-style plist visitors. 2007-05-13 08:03:47 +00:00
espie
2b5101e32f use newest PkgSpec interface 2007-05-12 14:56:21 +00:00
espie
c8985ffe5e strip quotes 2007-05-12 14:02:08 +00:00
sturm
7c066d7098 fix the recursive case for FETCH_PACKAGES by appending the PACKAGE_COOKIE
to _TRIED_FETCHING, this broke in 1.774

ok bernd, espie
2007-05-01 17:17:54 +00:00
espie
77b04141fd pedantic fix: typo without actual consequences. 2007-04-30 12:44:46 +00:00
espie
7fdd640bc8 put down the ualberta mirror for apache, not reliable for me... 2007-04-28 10:31:11 +00:00
espie
e55de40a3f handle exact matches on STARTDIR.
allows `partial' STARTDIR, such as make describe STARTDIR=x11/kde
to work as expected.
2007-04-28 10:19:41 +00:00
ajacoutot
3f3ea4d7f5 Add the _gnugk user. 2007-04-27 21:12:25 +00:00
ckuethe
cb609921c5 add a daemon user for lighttpd, from brad.
ok kili@
2007-04-24 05:09:41 +00:00
jasper
86cde9b492 zap some dead master sites for gnome.
"sure" espie@
2007-04-19 19:00:51 +00:00
espie
2e20da7e2c make it work with >2 directories in PORTSDIR_PATH.
From Mikolaj Kujars
2007-04-17 15:22:46 +00:00
espie
a5d3f1822b shave a bit of time (roughly 5%) by noticing that package lists are
now more or less `unique', so we can avoid processing them more
than once.
2007-04-16 15:09:03 +00:00
espie
4d3e4bb38e shrink memory used by building only one single list per set of pkgnames.
Also use a simple `seen' cache for files only used by one package, since
they cannot participate in actual conflicts.

Shrinks memory for 250M to 190M, with no negative speed effects.
2007-04-16 14:36:25 +00:00
aanriot
662b3c8355 add _nepenthes uid/gid for net/nepenthes.
from Rui Reis.
2007-04-15 11:56:26 +00:00
espie
8b9618e252 minor indent clean-up.
use auto-vivification to shorten code a bit.
pull out complicated code into its own function.
marginally faster than old version... some size decrease to do later...
2007-04-10 21:36:26 +00:00
espie
e4dcfe629b avoid Makemaker going interactive, okay naddy@ 2007-04-08 16:16:06 +00:00
espie
e9ebd9d4e4 avoid recursing ad nauseam on symlinks. 2007-04-08 15:22:49 +00:00
espie
44415f04fb abort early if packing-list was not read correctly. 2007-04-08 12:36:04 +00:00
espie
7c076f597b port-lib-depends-check should ignore errors, because it's much less useful
that way.
2007-04-08 11:26:39 +00:00
espie
04b97b2f22 STARTDIR functionality: allows one to skip directly to a given directory
and start from there.
2007-04-07 09:55:13 +00:00
espie
97e872a96d sha256 by default 2007-04-05 18:32:26 +00:00
espie
3a1268d790 finish the infrastructure changes needed for correct mirroring:
- use cksum -c, be careful about directories in fetch-all.
- also create links for the base64 version of the links.
2007-04-03 15:37:38 +00:00
espie
064be6c9e4 revert order of tests, if CHECK_LIB_DEPENDS is active, do not register plist
until we're satisfied.
2007-04-03 13:32:45 +00:00
espie
23c2d177a9 allow people to run check-lib-depends automatically, grabbing the files
from WRKINST and the packing-list from the just built package.
Reuse the register_plist pattern.
2007-04-03 10:14:14 +00:00
espie
2ad9b6ee63 error out in case something is not found, remove debug message. 2007-04-03 10:13:27 +00:00
espie
31721c0772 don't restrict -B to the case the packing-list comes from stdin. 2007-04-03 10:05:50 +00:00
espie
1cca659066 configure may not exist. found oud by steven@ 2007-04-02 10:43:39 +00:00
espie
f020e9e32b new target: port-lib-depends-check, can verify libraries directly from the
fake area, without needing to build bogus packages first.
2007-03-31 15:36:43 +00:00
espie
8016e70458 new mode: can work with packing-list on stdin, and a fake directory as -B
argument.
2007-03-31 15:26:45 +00:00
espie
5bc25e411a display warnings if autoconf version differs. 2007-03-30 13:55:07 +00:00
espie
949afb38a5 like xenocara: REORDER_DEPENDENCIES has been tested enough, silence it
by default.
2007-03-30 13:44:50 +00:00
espie
c6897dc077 CHECKSUM_FILE never changes -> can be used directly 2007-03-30 13:41:44 +00:00
espie
c11b8cf59b make sha256 stuff linked as well. 2007-03-30 08:59:07 +00:00
espie
634644d8e4 tweak the way mirror-maker emits stuff, so that the Makefile contains lines
suitable for cksum -c.
2007-03-28 15:45:03 +00:00
espie
fb9fcd5fbc use cksum -c so we can get `magic' base64/hex matching. 2007-03-28 13:21:43 +00:00
espie
bc0a71b1bb remove stupid hack that makes _print-packagename display README on
subdirs. Confuse the hell out of broken dependencies, and is not
even needed.

fix typo.
2007-03-19 21:32:35 +00:00
espie
23eb9fed1b reserve _kdesud 2007-03-18 17:12:16 +00:00
naddy
2c2c250df3 makesum: don't try to create distinfo if there are no distfiles; ok espie@ 2007-03-15 18:11:54 +00:00
pvalchev
3a58459afd latest 2007-03-08 22:55:17 +00:00
pvalchev
39aa16e13b tweak 2007-03-04 18:00:56 +00:00
pvalchev
c46042755b shrink 2007-03-04 08:02:23 +00:00
robert
bb78d67894 add mozilla-firefox 2007-02-26 14:27:39 +00:00
naddy
4d683b20c2 use cksum -a $CIPHER instead of $CIPHER here, too; ok espie@ 2007-02-19 20:14:50 +00:00
bernd
5183642076 Introduce -p option. This allows us to scan the ports tree for conflicts
without the need to have the packages around.

It's really easy now to check if a new package conflicts with other stuff
in the ports-tree:

$ find-all-conflicts -p /usr/ports newpkg.tgz

help & ok espie@
2007-02-19 19:50:50 +00:00
pvalchev
5214917679 vax plist 2007-02-18 07:08:52 +00:00
pvalchev
2f6ccd5571 update to what i use now.. 2007-02-17 02:29:46 +00:00
espie
b5a3fca2a6 use _CKSUMFILES in clean=dist, and recurse if we notice there are
SUPDISTFILES, so we get them as well.

This misbehavior noticed by Mikolaj Kucharski.

(the intention is obviously to regrab everything to verify whether
anything changed, and that includes SUPDISTFILES)
2007-02-16 19:08:54 +00:00
espie
3b1db2b2c1 use cksum -a $$cipher instead of $$cipher to compute crypto hashes.
Only functional change:
Add sha256 at the end of the list of supported ciphers, so that new
makesums will add the new cipher.

The rest is business as usual.
2007-02-11 11:44:17 +00:00
bernd
41bd832cdc Add missing parameter for a parse_original_plist() call in grab_all_lists(). 2007-02-07 11:24:23 +00:00
espie
2c0953c14e minor tidbit: define FULLPKGPATH based on FULLPKGPATH${SUBPACKAGE} in
the multi-packages case, as should be.

introduce _ALLPKGPATHS, and use it in show-required-by, so that
show-required-by works for multi-packages.

problem noticed by bernd@
2007-02-06 20:04:01 +00:00
espie
d0d6d56f7e allow extract-dependencies to use several seeds, which is necessary
for multi-packages ports (databases/sqlite3 == databases/sqlite3,-main).
2007-02-06 20:01:06 +00:00
espie
50ea26a11c rely on new make feature, avoid old work-around (need a current make to
work)
2007-02-03 17:09:39 +00:00
espie
fa6fc8a2f7 sometimes (not very often), config.h.in files live in any directory 2007-02-03 17:08:59 +00:00
espie
7b1ed78b46 pass -a to diff always, as it will often get confused with unicode/iso-latin
stuff.
2007-02-03 17:08:13 +00:00
steven
2e28343314 remove broken and add new sourceforge mirrors
from Jim Razmus <jim at bonetruck.org>
2007-01-18 11:21:15 +00:00
jasper
1616b919e5 zap trailing whitespace in the output 2007-01-17 19:44:19 +00:00
jasper
35713408c8 zap archive.progeny.com, it's refusing connections for some time now.
"go ahead" mbalmer@ and "nuke it!" ckuethe@
2007-01-16 20:00:42 +00:00