Commit Graph

2205 Commits

Author SHA1 Message Date
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
sturm
1cc933bba1 check build depends (currently duplicates most of check_run_deps())
ok bernd
2007-01-16 18:15:53 +00:00
espie
a7cedd9db7 add the ability to cleanly delimit embedded plist info.
will help unconfuse lib-depends-check and make-plist wrt error messages.
2007-01-15 13:43:52 +00:00
espie
f7229e2ff8 make expr less greedy 2007-01-12 21:53:31 +00:00
mbalmer
81648b584d Add the _tabled user. 2007-01-12 14:01:08 +00:00
bernd
64d1a3eb01 It's possible that the package version we get from the ports tree is
different than expected. Teach handle_dependency() how to cope with that.

Debugged with msf@ some time ago. Fix tested by msf@, sturm@ and steven@.

This also fixes the following error some people have seen:

"Can't use an undefined value as a HASH reference at
/usr/ports/infrastructure/package/check-newlib-depends line 234."

"go for it" espie@
2007-01-11 18:45:18 +00:00
jasper
dfa7b8ee47 add _gonzui
ok bernd@
2007-01-11 15:20:22 +00:00
steven
33dc528822 sync packetstorm mirrors with their official mirror list.
from Jim Razmus <jim at bonetruck.org>
2007-01-10 23:19:19 +00:00
steven
683f71c7c5 remove unused MASTER_SITE_SOURCEWARE.
from Jim Razmus <jim at bonetruck.org>
2007-01-10 23:06:41 +00:00
espie
6c505bfc6f cache mtrees read from dependencies so that we don't parse the same
dependency twice across MULTI_PACKAGES.
2007-01-10 01:41:29 +00:00
espie
98c444198b yet more special-casing: do backsubst for libnames correctly, so that
update plist correctly registers existing ones, otherwise shared libraries
with some weird names will always pop back to the main PLIST.
2007-01-09 19:40:49 +00:00
msf
0aa5a677c5 add missing entry for _puppet 2007-01-09 12:40:32 +00:00
espie
084dbff69a for shared libraries, only apply var_backsubst on the library name, leave
the version alone.
2007-01-08 18:33:37 +00:00
robert
5ddcbee4c6 add a list of sh packages i use for building; ok pvalchev@ 2007-01-04 13:34:06 +00:00
bernd
c5e1d48b7a Fix typo. This unbreaks 'make update'. 2007-01-04 11:34:14 +00:00
espie
9f019509e8 prefer subpackage-dependent version of variables for substitutions.
this lets the correct PREFIX be substituted in packages, among other things.

Problem discovered in php5-extensions
2006-12-31 13:12:35 +00:00
ajacoutot
39aa7e7766 Add _hiawatha (www/hiawatha) 2006-12-31 10:34:26 +00:00
jakob
fff5ab39a3 wrong uid/gid; noted by antoine 2006-12-29 13:37:24 +00:00
jakob
cd342c4462 add _mrtg user 2006-12-29 13:08:14 +00:00
espie
8b31dd60d8 use a simple perl script to compute initial pkgpaths... Cwd can replace
pwd -P, and we select the longest prefix from PORTSDIR_PATH.

This lets mystuff-like dirs get stripped from PKGPATH correctly, as long
as PORTSDIR_PATH is set correctly.
2006-12-26 15:00:24 +00:00
espie
6a1241ecdc don't insist on matching subpackage names, anything goes... 2006-12-19 10:03:22 +00:00
espie
1ef1f2940b let check-newlib-depends use the new targets 2006-12-18 12:53:09 +00:00
espie
5efd6b68e4 duplicate the print-plist targets, add a version -with-depends, which is
slower, but shows dependency lines as well...

Also fix target evaluation to work like it does elsewhere
2006-12-18 12:52:34 +00:00
robert
1ba388a915 add _openvpn 2006-12-16 11:58:21 +00:00