Commit Graph

1362 Commits

Author SHA1 Message Date
pvalchev
ca3b94d064 add tiny things 2005-03-12 04:18:22 +00:00
pvalchev
b16d9789c3 er, should not have removed this 2005-03-11 22:36:24 +00:00
espie
fd12478f2d move targets around so they get handled gracefully in BROKEN case. 2005-03-09 15:40:37 +00:00
espie
78d9a2035a Finally rephrase what's going on. 2005-03-09 15:21:07 +00:00
espie
1621329450 trace dependencies. 2005-03-07 11:15:33 +00:00
espie
ebf45d12c9 let check-newlib-depends diagnose simple missing LIB_DEPENDS.
(will diagnose complicated WANTLIB by walking the dependency path
and checking that the library is indeed reachable soon).
2005-03-06 12:05:11 +00:00
espie
8542abc56d inform newlib-depends-check about the repository location
(needs RECENT newlib-depends-check).
2005-03-06 12:03:58 +00:00
espie
7394586952 start looking closer at library origin: report system libs differently.
(dependency walk and caching not finished yet).
2005-03-05 11:36:26 +00:00
sturm
041ba74bae fix cleanup code
noticed by pval@
2005-03-03 21:08:03 +00:00
jakob
aada117edb add _flowd for pending net/flowd 2005-03-03 07:04:03 +00:00
espie
60aaac2918 libs found inside package itself can be marked as used directly.
Reporting these as `Extra' is obviously a bug...
2005-03-02 20:45:37 +00:00
pvalchev
7d1be9c589 not needed anymore 2005-03-01 17:36:11 +00:00
espie
b66eb54e50 don't cache termcap shit, unbreak bash. 2005-03-01 00:03:20 +00:00
espie
4e8bcfc35e oops, Wantlib needs special treatment, removes bogus warnings. 2005-02-26 13:21:58 +00:00
pvalchev
5b72450bce close quote; janjaap@stack.nl 2005-02-25 23:08:16 +00:00
espie
0b49fb825d add quite a few settings. Went through a full ports build... 2005-02-24 11:38:36 +00:00
espie
124935d487 switch to gcc 3.3.5 2005-02-20 01:22:52 +00:00
espie
280a05428f framework to save configuration caches, for auditing and updating of
config.site.
2005-02-07 12:22:28 +00:00
brad
7f5084b430 for amd64 2005-02-06 04:58:45 +00:00
espie
00f97d0a5e emit PLIST when a shared fragment is seen.
Fix long-standing buglet reported by various people, I just needed to
sit down long enough to reproduce the issue...
2005-02-05 11:40:31 +00:00
espie
6d2313be65 flag for a.out 2005-01-31 10:12:24 +00:00
espie
19e4c12467 support a.out by calling ldd with a format that passes as objdump output. 2005-01-31 10:09:42 +00:00
espie
a6de3cd707 remove source-based lib-depends-check. We always check the package now. 2005-01-31 09:58:22 +00:00
espie
36eae15c85 switch to package checking for newlib-depends.
let force update force depends as well.
2005-01-31 09:52:53 +00:00
espie
ce81b410e6 do not look at simple modules. 2005-01-31 09:51:32 +00:00
sturm
b0bb1cbbbb - remove lockfiles when a host dies or dpb is killed (the ports don't do
it in these cases)
- remove an unused variable
- clean up warning messages
2005-01-30 12:37:32 +00:00
sturm
182d8ff4d8 tear down the ssh master session only after killing all node sessions
this solves the problem of ports being marked "built" after the node
building it was lost
2005-01-30 10:07:36 +00:00
mbalmer
08040b9348 Enter uid/gid for print/cups. 2005-01-16 13:19:33 +00:00
espie
3edf27f16d pkg_add -f -> pkg_add -F prior to killing the old option. 2005-01-13 11:54:55 +00:00
jakob
f5d448568c add _dspam for mail/dspam 2005-01-11 16:02:27 +00:00
sturm
89b57603d8 some automake bits
ok espie@
2005-01-11 07:14:36 +00:00
brad
62a14d75b6 simplify OpenBSD case by using arch(1) and sed to grab
the machine architecture. We now output amd64 instead
of x86_64 as it should be.

With input from millert@, drahn@ and kettenis@
2005-01-10 07:25:38 +00:00
mbalmer
85b377a1c7 Added uid/gid 539 for security/clamav.
ok alek@
2005-01-09 17:12:03 +00:00
espie
8e15a36e97 fix a stupid bug where some expr don't match, use extended expressions
to simplify things.
2005-01-08 00:05:16 +00:00
espie
22ca2cf370 switch to right directory before checking. 2005-01-06 19:30:34 +00:00
espie
4c869b16b9 let fetch check the size of the retrieved file, if this is recorded in
distinfo.

This allows ftp to skip files which return 404 error files and other
such nonsense...

(note that if you want to really grab a file with the wrong size, you
can just say CHECKSUM_FILE=/dev/null)


with input from by xsa, sturm, ian..
2005-01-04 20:44:45 +00:00
couderc
65e3096063 MODULES is prefered to CONFIGURE_SCRIPT, undo last changes, asked by espie@ 2005-01-02 23:33:09 +00:00
couderc
0b2a9ae196 add pmk config style support. 2005-01-02 20:54:02 +00:00
pvalchev
0eecd57502 add zaurus 2005-01-02 20:47:21 +00:00
espie
edaa7db625 forgot to commit: we have proper get*_r functions. 2004-12-31 12:47:25 +00:00
jsg
7bbf31fb24 Move voxel from the top to the bottom of the list of sourceforge
mirrors as it takes too long to mirror things.
2004-12-31 00:56:39 +00:00
naddy
63a801eb39 use double quotes to permit expansion of shell variable in message 2004-12-29 14:30:53 +00:00
espie
3393c1c5be let @sysctl tag long.
problem noticed by sturm@
2004-12-27 00:00:27 +00:00
sturm
6e890a965a in parse_dependency_file() make sure, we really read port specs and
not some gibberish like error messages or so
2004-12-26 07:48:46 +00:00
espie
bd19cd4c90 kill very old stuff 2004-12-22 14:09:37 +00:00
espie
b8fb5135f6 forgot clean=force, reminded by msf. 2004-12-21 20:56:54 +00:00
espie
af5c4c5437 verify the spelling of clean options. 2004-12-19 12:20:12 +00:00
espie
059ae7b0b6 make sure libraries contained in a package are not reported as missing... 2004-12-11 14:35:05 +00:00
espie
13d53957be minimal wantlib checker. 2004-12-11 14:27:57 +00:00
kurt
1ca9d5c443 make update-patches deal with spaces in paths (ok espie@ sturm@) 2004-12-02 19:50:17 +00:00
espie
7933d3b132 must run objdump through sudo as well... 2004-11-28 11:44:00 +00:00
espie
8ea77ff002 kill code that is no longer used. 2004-11-27 14:07:19 +00:00
espie
a60ebd295b still need to look in the default package for multi-package cases.
use -K that we now have...
2004-11-27 12:36:14 +00:00
sturm
44bbe01a92 set maximum length of command line arguments to 128k in order to reduce
systrace warnings
2004-11-27 12:01:16 +00:00
sturm
7c92ca48c2 deny writing empty filenames on the spot 2004-11-27 11:59:25 +00:00
espie
a9268b2f4a switch to using @wantlib and @depends, say byebye to libdepends and newdepends.
(this will break your machine if you don't have reasonably current pkg_add)
2004-11-27 09:59:35 +00:00
pvalchev
bcfc0034d3 sync, let qt3 get pulled as dependency 2004-11-24 00:05:08 +00:00
espie
2113d6fce1 strip /usr/local/lib path 2004-11-23 11:54:55 +00:00
espie
8710bf432e report on libraries that don't get used as well. 2004-11-23 11:17:59 +00:00
espie
a56c20faa7 use SharedLibs look-up to find libraries we don't know about. 2004-11-23 11:13:20 +00:00
espie
48aa65b693 ready-to-go switch to @wantlib/@depend 2004-11-21 15:59:25 +00:00
sturm
95b2d10495 restrict link() and symlink() 2004-11-21 11:38:04 +00:00
espie
45ac58f0f3 newlib-depends-check recurses as well 2004-11-21 11:28:31 +00:00
espie
01ac39ce91 newlib-depends-check that takes the semantics-to-be into account. 2004-11-21 11:26:22 +00:00
espie
15f18a36d5 typo 2004-11-21 11:18:37 +00:00
espie
646a985497 allow for LIB_DEPENDS or WANTLIB to not be defined 2004-11-21 11:17:47 +00:00
espie
dd6c1654d5 fix stupid typo.
introduce WANTLIB.
2004-11-21 11:06:38 +00:00
espie
5982ed59bb new support routine _print-package-args, that prints new-style package
dependencies.
_syslib_resolve_fragment that can resolve system libs.
2004-11-21 10:43:48 +00:00
espie
b8dfc30a1a don't report false positives for libraries with similar names 2004-11-21 10:39:24 +00:00
sturm
ec0870206a use TRUEPREFIX locally
sort SYSTRACE_SUBST_VARS while here
2004-11-19 22:12:28 +00:00
espie
723c37630f can't depend on WRKDIR unconditionally, throws update off when
UPDATE_COOKIES_DIR is set.
2004-11-17 11:09:44 +00:00
mbalmer
bce2473cd5 Added uid/gid _vilter for mail/smtp-vilter.
ok naddy@, alek@
2004-11-17 10:45:25 +00:00
espie
3979adeb86 add missing stuff around update so that BULK works for it too. 2004-11-17 10:38:37 +00:00
espie
65134e9f73 only pass FULLPKGPATH, PERMIT_PACKAGE_CDROM, PERMIT_PACKAGE_FTP to
pkg_create, and quote the later properly...
2004-11-16 02:08:59 +00:00
espie
1b8f6e0f0c Pass PERMIT_PACKAGE_CDROM, PERMIT_PACKAGE_FTP, FULLPKGPATH as parameters
to pkg_create... This should allow the automatic generation of ExtraInfo
without needing to do it manually.
2004-11-15 16:31:28 +00:00
espie
e39dc1ae33 mark update as .PHONY target, necessary with UPDATE_COOKIES_DIR ;-) 2004-11-15 13:53:43 +00:00
espie
147d3cf94a industrial-strength updates:
- separate UPDATE_COOKIES_DIR, unless set to empty.
Makes for easier management.
- FORCE_UPDATE variable, that makes certain packages are updated when
a dependency is run, and that forces the replacement of packages that are
already there.  Still uses the update cookie, so that this update occurs
just once unless you wipe out yur UPDATE_COOKIES_DIR (which justifies putting
update cookies in a separate directory).
2004-11-15 13:52:03 +00:00
espie
54a74ef157 use pkg_info -q -e instead of pkg dependencies check now that it does
what it should.

Use the exact same rules for checking LIB_DEPENDS that will later be used
to build the package itself, e.g., add the pkg dependency check.
2004-11-15 11:49:05 +00:00
espie
b6797baf63 don't try to register anything that isn't at least a FileObject...
Found out by alek@
2004-11-14 19:42:04 +00:00
sturm
78074d531a add _maradns 2004-11-14 11:59:31 +00:00
sturm
7a4d2974e7 sparc64.p -> localhost 2004-11-14 11:56:07 +00:00
sturm
0148b33be9 improved SMP handling
- automatically detect number of cpus per host
- differentiate between hosts and nodes
  => each cpu is its own node
  => ports are build on nodes now
  => multiple host entries are no longer necessary for smp machines
2004-11-14 11:46:15 +00:00
sturm
9dca1f7475 a little cleanup in preparation for improved SMP handling
print() -> warn() where useful
2004-11-14 11:25:53 +00:00
espie
f4978ac9af synch with changes 2004-11-13 11:49:48 +00:00
espie
e7dd701872 synch with packing-list changes 2004-11-13 11:49:03 +00:00
espie
8af46cc105 fix cwd issues.
try harder to resolve links
2004-11-13 11:25:31 +00:00
alek
0caade6762 User and group _xcept are now created automagically.
looks good pvalchev@
2004-11-13 01:52:25 +00:00
espie
5dc2fdab3a tell all big analyzers they can forget about the packing-list. 2004-11-11 15:38:02 +00:00
espie
d9536a7ac4 rename _UPDATE_COOKIE to always be defined (wilfried) and to have a name
changing when the FULLPKGNAME changes.
2004-11-10 23:40:42 +00:00
espie
f2ae2fd4b7 allows it to recurse. 2004-11-10 10:23:42 +00:00
espie
eb3edb001b Add a simple update target, that relies on pkg_info -e pkgpath to know
if there is something to update...
2004-11-10 10:16:41 +00:00
espie
1c062c3c2e allows for updates 2004-11-10 10:15:42 +00:00
pvalchev
0a88d9c9c2 amd64.ports is now SMP 2004-11-07 18:32:01 +00:00
espie
e94445485e provide a simple locking command in perl. 2004-11-07 10:09:35 +00:00
pvalchev
68c791bb78 add mips64 to LP64_ARCHS 2004-10-26 06:16:53 +00:00
jolan
1ae09c843d sync sourceforge mirrors with the list on their site, omitting two out of
sync mirrors
2004-10-24 18:21:09 +00:00
sturm
bc39f7be50 new option -c for "clean builds", i.e. remove all installed packages
before building a new one; don't use this when building multiple packages
on one host
2004-10-24 14:16:38 +00:00
espie
8c4d857d3d allow us to specialize DEPENDS_TARGET depending on whether this is
a LIB/RUN/BUILD/REGRESS_DEPENDS.
2004-10-23 10:02:51 +00:00
espie
97804eddfe switch FAKE's test from == "yes" to != "no" 2004-10-23 09:58:13 +00:00
espie
0d09be0752 shared fragment in need of recording.
found by wilfried@
2004-10-23 06:51:54 +00:00
espie
63f4447086 avoid more get*_r functions until we decide upon an API... 2004-10-21 20:47:38 +00:00
robert
cba5c3b7b6 Missing support for a module should be a fatal error. So don't continue
the build if you miss a module.

ok espie@
2004-10-18 15:17:17 +00:00
espie
b5445b3596 forgot to copy @newgroup and @newuser items over.
noticed by nikolay.
2004-10-17 09:20:06 +00:00
espie
4ddb942744 getservbyname_r doesn't work/ doesn't have a prototype/ will vanish soon
from libc.

Make sure we don't pick it up in the interim.
2004-10-13 17:23:38 +00:00
jolan
c20baa5bed +_nostromo 2004-10-13 06:29:22 +00:00
espie
1bbdaa1cbd UNMESSAGE 2004-10-11 10:32:04 +00:00
sturm
8511b00703 add TRUEPREFIX to SYSTRACE_SUBST_VARS 2004-10-08 19:58:30 +00:00
espie
b71495c6f2 use base classes more 2004-10-05 20:40:11 +00:00
espie
3b550a0182 config.site support 2004-10-03 09:51:21 +00:00
espie
dfe26ec92e prime autoconf scripts with useful stuff.
okay naddy@
2004-10-03 09:50:44 +00:00
jolan
df8ad03ef6 scanlogd is auto now 2004-09-28 01:57:51 +00:00
sturm
82dfd19593 add 'patch' to handled targets 2004-09-26 09:59:14 +00:00
naddy
1db4c1063b Changes for symon 2.65 - 2.67:
- removed netiso depends
- _symon uid 535, 525 never made it into ports/infrastructure/db/user.list
- ntp clockadjusts no longer trigger extra measurements
- daemon parts ported to freebsd/netbsd/linux

From: Willem Dijkstra <wpd@xs4all.nl>
2004-09-21 16:44:04 +00:00
espie
e4b643ad88 don't create patches for Oops.rej 2004-09-21 09:27:15 +00:00
sturm
ea2b00d80a $OpenBSD$ 2004-09-20 20:17:33 +00:00
sturm
1f2b8ae4df - use sh on localhost* and don't check_host() on these
=> you have an SMP machine, use localhost0, localhost1, ...
- for remote sessions, use ssh multiplexing, this speeds up a dpb
  restart by about 1/4 - 1/3
- new option '-s', which starts building in cwd
  => use 'dpb -s' instead of 'make package'
  => mostly useful for SMP machines or if you have your cluster powered
     on all the time
- '-b' now forces creation of the dependency file, if it doesn't exist,
  it is created automatically
- check signals on returning ssh sessions to notice which ones really
  succeeded and which ones where killed
2004-09-20 18:57:53 +00:00
pvalchev
be6617f5f7 change CDROM_SITE to default to empty; ok espie 2004-09-19 09:00:15 +00:00
espie
784afb2649 kill old check-libs script, after checking the new one handles a.out
just fine.

Kill old subst that's not used anymore as well.
2004-09-18 13:48:43 +00:00
espie
0046b33eec Strip spaces from CFLAGS everywhere.
Pass off -a to pkg_add if used to solve dependencies.
2004-09-18 13:45:23 +00:00
espie
292285c3fe clone new-style conflicts too 2004-09-18 11:03:45 +00:00
espie
fb42eebbe1 new check libs that should work with a.out, and uses the current framework
for accessing plists.
okay naddy@
2004-09-18 08:12:11 +00:00
espie
b14b123e17 WRKCONF?=${WRKBUILD} 2004-09-15 18:58:49 +00:00
espie
613aa9a6c4 remove all SED_PLIST work, since pkg_create handles it now.
defines appropriate PKG_ARG arguments instead.
Move message to -M ${MESSAGE}.
2004-09-15 18:57:31 +00:00
pvalchev
def59b4c36 update list of arches for 3.6 2004-09-15 18:57:16 +00:00
pvalchev
c862b93395 ignore "index.txt" file found in ftp directories 2004-09-15 18:53:24 +00:00
pvalchev
2a5411ff4c had to get changed 2004-09-15 18:47:47 +00:00
espie
d67be4b0b9 remove trailing spaces from CFLAGS/CXXFLAGS, to please autoconf... 2004-09-14 23:07:20 +00:00
espie
907ba20320 explicitly forbid flavors starting with [0-9]. 2004-09-14 23:06:02 +00:00
espie
eb04306537 handle -> check_common_dirs
use visit
accurate list of existing directories with Mtree.
build better results.
2004-09-14 22:31:48 +00:00
espie
67877397d3 visit in the base system. 2004-09-14 22:30:36 +00:00
espie
91d926e81f - lots of comments
- Mtree module, shared with check-common-dirs
- update list of `known' directories to match actual OpenBSD, so
that stuff outside of /usr/local will work.
- drop dead if destdir does not exist (e.g., fake got a problem)
- if a file is found in a fragment, and as a comment in the original
file, then that was a limitation of the old make-plist: don't look at
the comment.
- copy modes for @sample
- do fragments for multi-packages too.
- pass existing files around for more accurate @exec tests.
- don't copy install-info/mkdir if files/dir have been found.
- register dirrm dir as dir/, but using original object, so that it will
need to be found once to be accounted for.
- don't register extra as `files', otherwise we end up with bogus
${SYSCONFDIR}/file entries.
- classify directories and files in a unified way.
- more thorough tests for info files, more names, look at two lines context.
- ibid dir file.
- ibid subinfo.
- provide a way to erase a directory that only holds one file.
- use for .packlist, perllocal.pod.
- use perl Config to look for those in the right location.
- don't look at file dates, we always use fake.
- special case /etc/X11/app-defaults becomes /usr/local/lib/X11/app-defaults
- use plist state info to avoid extraneous mode/owner/group entries.
- sort comments that are not accounted for.
- warn about .orig files.
- man pages for linux.
- don't backsubst SYSCONFDIR except at start of line.
- handle @comment @dir like @comment @dirrm.
- respect fragment locations
- put %%SHARED%% at top by default.
- handle recursive fragments correctly (simpler code, needs pkg_add support)
- mark genuine fragments, and don't try to write empty ones, assuming
the chosen flavor doesn't hold the required information.
2004-09-14 22:24:39 +00:00
espie
438553ff5e check lib dependencies on binary packages. 2004-09-14 22:22:17 +00:00
pvalchev
5b5b01e1ba grow slightly 2004-09-02 16:58:02 +00:00
pvalchev
7930bb72d2 more tweak 2004-08-24 22:35:13 +00:00
pvalchev
15a2294e9f more tweaks, can grow this 2004-08-24 21:40:30 +00:00
sturm
1f1c3ee467 wrong order when redirecting STDOUT/STDERR
ok pval
2004-08-24 20:30:07 +00:00
pvalchev
2104c574bf no longer interactive at pkg_add * 2004-08-24 19:17:32 +00:00
sturm
0c0f93c97d raise default timeout to 1 minute
requested by pval@
2004-08-23 20:46:42 +00:00
sturm
91eb345927 improve reliability:
- don't invoke intermediate shells on exec(), allowing to actually kill children
- when we are going down, only kill remaining children, not the whole pgrp
- don't use a SIGCHLD handler, but call waitpid explicitly at the right places
- exit(1) in case of an error

others:
- a little cleanup
- new option -t <timeout>

ok pval@
2004-08-23 19:54:11 +00:00
pvalchev
dcd774811e grow 2004-08-23 07:12:34 +00:00
pvalchev
1eb61e6684 expand 2004-08-23 06:46:21 +00:00
pvalchev
fb1323e187 adjust 2004-08-17 21:03:44 +00:00
pvalchev
c508632507 sync 2004-08-14 01:15:50 +00:00
pvalchev
8c30f51213 shrink by a lot 2004-08-14 00:23:35 +00:00
pvalchev
b06c4bcaef ignore files generated by check-plist 2004-08-14 00:23:00 +00:00
pvalchev
74efe665a3 sync 2004-08-13 23:48:48 +00:00
brad
2545045f21 Side-effect of BULK=Yes: WRKDIR gets wiped out before the depend cookie
is written.

So, we simply recreate WRKDIR manually.
This is a kluge, but it should do the trick.

From espie@

ok pvalchev@ espie@
2004-08-13 23:28:40 +00:00
pvalchev
7fade6547c bash2->bash; naddy 2004-08-13 21:00:29 +00:00
espie
2d48535d1e don't output pkgname if no problem to output.
okay pvalchev@
2004-08-13 07:45:22 +00:00
espie
9560823362 set _MASTER_LOCK in the correct location.
fix postgresql locking *for good*.
okay pvalchev@
2004-08-12 19:02:45 +00:00
espie
b2fffcb71e script to check that all common dirs are properly tagged in every package
that should tag them (e.g., any package without a parent `dependency'
should have the dir marked).

okay pvalchev@
2004-08-12 18:58:34 +00:00
espie
a8174b7541 obvious mistake, FULLPKGPATH for recursive clean, duh!
problem found by brad@
2004-08-11 22:42:47 +00:00
espie
fdb200935c fix postgresql lock issue: in recursive locking, don't relock the same
port.

okay pvalchev@
2004-08-11 22:25:23 +00:00
brad
e12fe83b57 mips stuff 2004-08-11 20:45:38 +00:00
espie
e99d16b029 Use original item to build new one: so we can clone things we do not yet
detect, like @mandir and @fontdir.

more precise logic for changes: do not check for orig files and die if
nothing changed.
2004-08-11 09:40:17 +00:00
espie
7413f2d2da better diagnostic logic:
first output all PLISTs in a tmp dir, then compare with
original set, and report all differences.
Then check that original can be moved to orig, and do the move.
That way, make plist on a set of unchanged lists will be silent,
and can be used irregardless of the presence of P*.orig files.
2004-08-10 21:01:01 +00:00
pvalchev
aa821a5387 sparc cluster too 2004-08-10 20:57:03 +00:00
sturm
02a925a3c7 Distributed Package Build is a helper script to permit several hosts
working together in doing a bulk package build.

ok pvalchev@, espie@
2004-08-10 20:54:38 +00:00
xsa
a3237a6832 prepare for new-style MODULES. ok sturm@. 2004-08-10 20:39:37 +00:00
espie
9ab9eeaa46 prefer pkg_create -B 2004-08-10 13:48:21 +00:00
espie
a6ddcef28f register sample dirs. 2004-08-10 08:45:21 +00:00
xsa
9d761fa2f0 prepare for new-style MODULES; ok dons@. 2004-08-10 08:14:34 +00:00
xsa
70c60882e0 prepare for new-style MODULES; ok couderc@. 2004-08-09 19:54:20 +00:00
espie
9503cf0454 more accurate info test. 2004-08-09 12:48:56 +00:00
espie
0b2cdd25b2 next -> return 2004-08-09 12:41:03 +00:00
espie
2cce78f090 next->return 2004-08-09 12:35:45 +00:00
espie
2d2f5986a9 convenience functions so that main isn't that big.
Mark comments that have been accounted for, and show the remaining ones.
2004-08-09 10:24:26 +00:00
espie
ed01c25be0 lock distfile as distfile.dist, since some ports have FULLPKGPATH=DISTFILE. 2004-08-08 23:14:03 +00:00
espie
bf445f78df do local uid/gid changes so that tempfiles will get removed correctly. 2004-08-08 18:09:04 +00:00
espie
10083d7dfb run update-plist as root, to catch all files.
pass OWNER/GROUP around and setuid/gid to them before writing
files to keep ownership.
2004-08-08 16:43:15 +00:00
espie
505d40ba33 reset lastfile before register, so that exec/unexec at start of PLIST
don't get register with the last file.
Add tag_marker `lastfile' placeholder to catch exec/unexec at start
and reproduce them faithfully.
2004-08-08 14:13:41 +00:00
espie
685bd09404 use File::Spec to resolve link. Add missing '/' when needed. 2004-08-07 07:47:38 +00:00
espie
413404d080 tag updating-plist case for logging. 2004-08-06 11:31:22 +00:00
espie
bc4dd33fdd shared lib markers, ditch DYNLIBDIR. 2004-08-06 10:24:19 +00:00
espie
b138d92476 more stringent checks on dynamic library name.
Distinguish between library and plugin.
Saner check for DYNLIBDIR.
2004-08-06 09:37:15 +00:00
espie
e60d9a7833 use clone() to copy objects when either we can, avoiding truncation problems
if inheritance is used.
Fixes @extra dir/  copying.
2004-08-05 23:51:44 +00:00
espie
0e976d1198 almost completely new make-plist.
The new version uses the pkg_* infrastructure to read existing plists
and produced new plists.
Lots and lots of improvements:
- copy most stuff over from original lists correctly. For instance,
attach @exec/@unexec/@sample to other files and copy them in the right
location.
- generic post-treatment of @commnent, using stringize(), so that most
things can be commented out and will stay commented out.
- parse all packing-lists using relevant PREFIXes. Grab PFRAG.xx if %xx%
is seen.
- walk through all of fake, and distpatch files according to PREFIXes
if nothing else works.
- identifies man, libraries, info, handling symlink correctly.
2004-08-05 23:43:45 +00:00
espie
364cdb1dee Add perl documentation directories. 2004-08-04 16:26:42 +00:00
espie
879b5113b9 tag error messages with PKGPATH, as they get hard to decipher
when walking the tree.
2004-08-03 21:18:24 +00:00
espie
dbdb2eb38e Move SHARED_ONLY default definition down so that it can be inherited
from Makefile.inc/MODULES.
2004-08-03 19:30:25 +00:00
espie
30369d755e pass TRUEPREFIX around, don't pass LDCONFIG. 2004-08-03 16:18:51 +00:00
espie
5318b3b20e MODULES=www/php4/pear
okay maintainer(s)
2004-08-03 12:54:39 +00:00
xsa
7937d3ebe8 prepare for MODULES= www/zope 2004-08-03 12:08:10 +00:00
espie
6ff36eddfe if SHARED_ONLY=Yes, don't bother moving libraries to a PFRAG.shared. 2004-08-03 11:17:11 +00:00
espie
0245da577b pass SHARED_ONLY to update-plist 2004-08-03 11:16:30 +00:00
espie
65ecb32a85 file == file.orig -> rm file.orig 2004-08-03 10:51:47 +00:00
xsa
c9544845f2 + _zope for www/zope 2004-08-03 10:17:50 +00:00
espie
a2e191d19b recognition of manpages based on the names 2004-08-03 10:16:58 +00:00
espie
4c68b1d0da Prepare for MODULES=x11/qt* 2004-08-03 09:18:38 +00:00
espie
faa7c7b381 prepare iconv for MODULES=converters/libiconv 2004-08-03 09:13:29 +00:00
espie
814118f71b prepare gettext for MODULES=devel/gettext. 2004-08-03 09:10:01 +00:00
espie
fd75f4db4c Introduce SHARED_ONLY variable, as a more specific semantic way
to say port works only with shared libraries.

Mostly useful for `update-plist' which will recurse differently if
LIB_DEPENDS are only BUILD_DEPENDS or if they becomes RUN_DEPENDS.
okay pvalchev@
2004-08-03 08:04:02 +00:00
espie
d9fd9934ee Allow full path for modules, like this:
MODULES=devel/gettext
so that:
- stubs in infrastructure/ are no longer needed.
- PORTSDIR_PATH is taken into account.

This will look for ${PORTSDIR}/devel/gettext/gettext.port.mk

okay naddy@
2004-08-02 21:59:53 +00:00
espie
daf412deff Always define NO_SHARED_LIBS. 2004-08-02 13:01:52 +00:00
espie
75994eff47 store PKGPATH instead of self name in dependencies. pkg_add handles
recursion itself, so it does not need the self name.

Packages created require -current pkg_* tools to work !
2004-08-02 12:10:17 +00:00
pvalchev
e790f55998 more up-to-date 2004-07-24 21:19:31 +00:00
espie
befcaa1be4 tag cache entries with b(uild), r(un), a(ll).
Fixes a rare logic error, where recursive build depends would not trigger
all depends because an existing build depends was taken instead.
2004-07-24 13:53:12 +00:00
pvalchev
a5dec0ab27 sync 2004-07-23 23:07:33 +00:00
espie
454617f823 @dir directory -> directory/ 2004-07-22 22:24:51 +00:00
espie
83b79dec6d clean=depends is naturally recursive, make a little dance so that it
goes to _internal-clean for itself.

found out by brad@
2004-07-21 14:45:33 +00:00