Commit Graph

1068 Commits

Author SHA1 Message Date
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
espie
d30077a340 too long a name will wrap to the next line. 2004-07-21 11:00:38 +00:00
espie
174132efe7 add routines for genuine recognition of info files and libraries.
As a result, this recognition must happen when we know the files
exist, e.g., at find time.

Adjust the auto-migration of shared objects to PFRAG.shared so that
it doesn't migrate subpackage files to the main package.

Simplify info handling slightly by just writing @info thingy.info.

XXX note that some info files will have to be patched to have proper
category/direntry tags.

okay naddy@
2004-07-20 19:01:22 +00:00
espie
29272c577e since _solve-package-depends no longer recurses, it does not need a
cache file.
2004-07-20 14:23:32 +00:00
espie
e25db78f6a teach make-plist about @dir: converts @dirrm to @dir in the correct location.
Also warns about @extra/@extraunexec not getting copied over (we should
copy them at the end of the correct PLIST).
2004-07-18 22:47:44 +00:00
espie
5bf197bb2f REORDER_DEPENDENCY missing a silent @. 2004-07-18 22:45:14 +00:00
espie
0e89359ef4 Lock infrastructure for the ports tree.
If LOCK_CMD, UNLOCK_CMD and LOCK_DIR are defined, those are used to
perform `big-lock' style locking on top-level targets, such as
extract, patch, build.

The internals of the ports tree do not use any finer grained locking.
Those top-level targets now redirect to _internal-targets, without
any behavioral change.

Any dependency computation will recurse to another directory, and
invoke a top-level target, thus triggering the locking of the dependency.

All locking is done using FULLPKGNAME, except for fetch with uses
the DISTFILES names for independent files.

If no locking is desired, the top-level targets simply redirect to
the _internal-targets. The cost is close to zero: make just needs to
handle an extra ~20 phony targets.

Much testing and approval by brad@, naddy@, pval@, fries@ and other
people. Thanks to niklas@ for some useful discussion.
2004-07-18 22:44:36 +00:00
sturm
dc5b8a71ae FETCH_DEPENDS is long gone 2004-07-15 22:08:00 +00:00
espie
571e0e10d7 move everything to _fetch-makefile, so that __FETCH_ALL can put all
file names where it should.
noticed by jolan@, okay sturm@
2004-07-12 08:45:32 +00:00
espie
2df6d8519a byebye IGNOREFILES
Okay naddy@
2004-07-11 20:44:33 +00:00
xsa
bc178c872f sunsite.auc.dk changed to sunsite.dk years ago; now that auc.dk becomes
aau.dk, the auc.dk will probably not persist much longer. Also, sunsite.dk
is the official name (for now).

>From: Michael Knudsen <e at molioner.dk>
2004-07-05 16:13:47 +00:00
sturm
27566ce032 permit moving of shared objects and shared libraries from PLIST
to PFRAG.shared automatically
2004-07-03 17:50:52 +00:00
pvalchev
4598902e99 better patch, no need for ldconfig(1) on plugins; ok espie mjc 2004-06-29 20:26:08 +00:00
mjc
e7dbd0e457 put shared objects with no version into PFRAG.shared
OK pvalchev@ better regex suggested by espie@
2004-06-29 01:28:26 +00:00
msf
754a71e108 perl modbuild should install the perl manpages into man/man3p and not
man/man3
2004-06-23 03:20:17 +00:00
sturm
4597750316 add _SYSTRACE_COOKIE to _ALL_COOKIES
ok espie@
2004-06-22 20:05:46 +00:00
espie
ee63e907a9 missing dependency 2004-06-22 16:09:05 +00:00
sturm
0e1d71c25e gdiff die, die, die
from Jared Yanovich
2004-06-20 19:11:08 +00:00
brad
350f1c87d9 sync with CVS as of today, adds luna88k and removes pegasos. 2004-06-15 04:06:26 +00:00
sturm
47cb6d0543 back out CFLAGS-honour-diff
MakeMaker might add important stuff to CCFLAGS, which we override
2004-06-08 20:28:19 +00:00
espie
f19cb223c7 move the automake inter-dependencies to another file.
checked by naddy@ on a full build.
idea okay'ed by naddy and pvalchev.
2004-06-06 11:49:08 +00:00
sturm
7057f0c410 honour CFLAGS in perl ports 2004-06-02 09:20:43 +00:00
brad
c8477e0e5f hppa has shared libs now 2004-06-01 21:43:09 +00:00
jolan
e0768dec11 sort lp64_archs alphabetically, remove hppa from no_shared_archs 2004-06-01 21:06:29 +00:00
sturm
e622e85755 be more robust as people might install packages they no longer have
port directories for, e.g. mystuff/foo
2004-05-31 14:39:40 +00:00
sturm
67a6ca5fda honour TMPDIR and PKG_TMPDIR in systrace policies
prodded by jolan@
2004-05-31 12:27:07 +00:00
jakob
043b234ca3 _jabberd 2004-05-29 13:08:54 +00:00
msf
975e0f0aac infrastructure bits for p5-Module-Build
ok espie@ sturm@ pvalchev@
2004-05-26 11:20:26 +00:00
xsa
9e7d448439 sync MASTER_SITE_AFTERSTEP, remove broken sites, add a new one; 2004-05-25 10:31:08 +00:00
dhartmei
1f479b8766 milter-spamd is a sendmail milter plugin that passes mails through
SpamAssassin's spamd, rejecting mails inline that are considered
spam. ok sturm@
2004-05-24 07:35:47 +00:00
xsa
1bda42bb1c new MASTER_SITE_R5CONTRIB and sync _XCONTRIB sites;
ok pval@ sturm@.
2004-05-18 08:38:28 +00:00
pvalchev
d570761068 provide LP64_ARCHS, a list of 64-bit architectures (to be used for
NOT_FOR_ARCHS and such); ok naddy
2004-05-16 23:14:44 +00:00
grange
f7ae4fc70a _cnupm user for net/cnupm
ok pval@
2004-05-13 06:52:12 +00:00
sturm
44e3d691c8 remove WRKDIR, it is read-only
suggested by Aleksander Piotrowski <aleksander.piotrowski at nic.com.pl>
ok espie@
2004-05-08 12:13:52 +00:00
espie
77490d49eb Run autoheader unless explicitly asked not to.
Did a full ports build before that, hoping I did not miss any.
2004-05-05 11:17:22 +00:00
sturm
4c3be953ba allow for additional port specific systrace policies, needed to make
jdk-linux and netscape build with systrace

ok espie and others
2004-05-01 14:27:07 +00:00
sturm
5a70af0a5f according to Niels, execve needs "true then permit" in order for emulation
changes to work correctly. This allows fixes for emulation issues with
some linux-compat ports (jdk, netscape).
2004-05-01 14:23:27 +00:00
robert
ca9b819469 Add the _vscan user/group (used by mail/amavisd-new); ok jolan@ 2004-04-30 21:32:56 +00:00
sturm
1f4d6d2e3b permit closefrom() 2004-04-24 07:17:44 +00:00
espie
d9a7718501 move -e '//d' around so that it's more readable...
... and add the missing one that was noticed by jolan@ !
2004-04-19 18:57:54 +00:00
naddy
af329a3caf mention build/outdated-perl-ports; from Robert Nagy/Sam Smith 2004-04-11 20:55:10 +00:00
xsa
d55ad4e2e1 - add $OpenBSD$ Id string
- minor cosmetics
2004-04-11 17:03:56 +00:00
naddy
8b4d126f44 Script to check for availability of newer upstream releases for perl ports.
From: Sam Smith <S@mSmith.net>
2004-04-11 16:43:48 +00:00
pvalchev
4ea1459995 sync 2004-04-09 05:23:21 +00:00
espie
c35cfd38ae silence echo in recursive work, so that tsort no longer sees confusing
===> directory entries.
2004-04-07 13:06:33 +00:00
pvalchev
dd34ca187b sync 2004-03-25 09:15:47 +00:00
pvalchev
121d790b27 sync 2004-03-23 22:09:46 +00:00
pvalchev
0b36034a57 and vax 2004-03-15 07:26:00 +00:00
pvalchev
7957455c9c sync 2004-03-15 07:24:38 +00:00
pvalchev
842ba5c57e some of the plists 2004-03-14 22:42:57 +00:00
espie
9c6f8a3cc2 replace with a new script that works faster. 2004-03-04 17:48:29 +00:00
brad
e3df2e484a AUTOCONF_NEW has been removed from all ports so remove this
knob.

ok naddy@
2004-03-03 01:17:39 +00:00
espie
100e4a7134 make autoheader a switch that's not systematically run...
thanks to mutant versions of autoconf-2.13.
2004-02-25 22:23:20 +00:00
espie
c48fae4abc do a search and touch to prevent dratted automake Makefiles from rebuilding
anything after configure.

Side-effect: config.h.in is not rebuilt automatically at build time, we
invoke autoheader explicitly.

Change approved by naddy@ and brad@, for robustness, there may a few kinks
to fix...
2004-02-25 21:50:26 +00:00
espie
abe9b75176 slight clean-up. Result tested by pvalchev@ 2004-02-25 00:08:30 +00:00
marcm
52c519feda Ok, actually commit the changes to user.list this time. 2004-02-21 06:16:58 +00:00
pvalchev
51eeba8675 new script to generate package index/description pages for a certain release.
written by Michael Coulter <mjc@bitz.ca>
2004-02-20 23:47:54 +00:00
pvalchev
ef5e3966f3 remove old and very inefficient script for generating packages index/description pages 2004-02-20 23:46:08 +00:00
sturm
41c4207a82 add PKG_ARCH 2004-02-18 20:05:14 +00:00
jakob
765d22c660 add user for security/stunnel 2004-02-16 12:04:29 +00:00
brad
1884bf6660 sync with CVS as of today, now includes entries for AMD64 and CATS. 2004-02-16 10:01:12 +00:00
espie
86e868c57c also check libs with paths. 2004-02-12 14:04:43 +00:00
espie
8f7a456913 kill info dir asap. 2004-02-12 13:55:45 +00:00
espie
9b7e268a59 fix path 2004-02-10 20:37:45 +00:00
espie
d229227ddf always define DIST_SUBDIR, simplifies logic. 2004-02-07 22:36:13 +00:00
espie
2b162efb9b move up pkgpath.mk, so that PKGPATH is available.
Use it to define per-PKGPATH user-settings: BULK, WRKOBJDIR, ...
2004-02-07 22:34:02 +00:00
espie
7a0db8de9e always define WRKOBJDIR, FAKEOBJDIR (simpler logic).
change tests to !empty instead of defined.
Move BULK_TARGETS up with other user settings.
2004-02-07 22:18:49 +00:00
espie
ec41a84509 .if .if
.else                   .elif
.  if            -->    .else
.  else                 .endif
.  endif
.endif
2004-02-07 22:14:21 +00:00
espie
ec7a491459 let show be a list of variables 2004-02-07 22:02:40 +00:00
brad
f52e305c05 take USE_GCC3 into consideration.
ok espie@
2004-02-02 10:39:49 +00:00
espie
c688c5c73b nits 2004-02-01 23:43:26 +00:00
espie
1c19b2641b better elf libs checker.
okay pvalchev@
2004-02-01 23:07:30 +00:00
sturm
8cae9bc0af permit fswrite to empty filename, syscalls are supposed to fail on this 2004-01-31 11:40:39 +00:00
espie
32f593bbc3 use -L if necessary. 2004-01-28 22:15:21 +00:00
espie
22a42aec05 slight semantic change in CDROM_SITE. 2004-01-28 22:13:40 +00:00
sturm
50b3ab6c55 remove "-f" from calls to pkg_delete, fixes "make uninstall"
ok espie@
2004-01-28 20:16:14 +00:00
sturm
403f6f070b permit osigaltstack 2004-01-24 13:02:11 +00:00
espie
2715832200 tag packages with @arch 2004-01-22 21:28:49 +00:00
sturm
90c7e8a75e make flavor PFRAGs SUBPACKAGE aware as described in bsd.port.mk(5)
from Kurt Miller <truk at optonline.net>
tested by naddy@, ok espie@
2004-01-20 17:42:12 +00:00
sturm
449fce82f8 more 2004-01-18 11:12:24 +00:00
sturm
ad0e479a5b allow for port specific additional systrace filter rules in
${.CURDIR}/systrace.filter

ok espie@
2004-01-18 07:52:49 +00:00
sturm
77310a5629 don't log permitted bind() and connect()
permit connect() to /dev/log
2004-01-15 22:41:37 +00:00
sturm
b326e8c555 permit msync() and setreuid() 2004-01-14 19:54:09 +00:00
sturm
a47e8f6e71 let systrace log to stderr 2004-01-11 15:04:01 +00:00
espie
2d9e402c19 reorder the bottom part of bsd.port.mk so that all variable tweaks are
done before any target is evaluated.  This makes sure a whole series
of bugs can't happen.

Tests and comments by naddy@ and sturm@
2004-01-11 00:49:01 +00:00
dhartmei
ad9e816cd5 update to 0.9, drop privileges to user _milter-regex.
note: local socket changed to /var/spool/milter-regex/spool, adjust
sendmail.cf/.mc accordingly when updating:

-`S=unix:/var/spool/milter-regex, T=S:30s;R:2m'
+`S=unix:/var/spool/milter-regex/sock, T=S:30s;R:2m'
2004-01-07 14:57:34 +00:00
espie
14e1f01e2c use .elif 2004-01-06 16:27:11 +00:00
espie
9a130269f5 move variables that only users can tweak, or that are constants, to
the front of bsd.port.mk.

This allows Makefile.inc and modules to use them more easily, and also
cleans up things slightly.

Also kill .include ${PORTSDIR}/../Makefile.inc (???)
2004-01-06 15:02:57 +00:00
sturm
0afcb3ce68 use WRKDIR instead of WRKOBJDIR for systrace, as the latter is not defined
unconditionally

found by Michael Coulter <mjc at bitz dot ca>
2004-01-04 09:07:19 +00:00
jolan
4144c08861 no need for ${PORTSDIR}/{cdrom,ftp}-packages anymore
ok pval sturm
2004-01-04 08:01:10 +00:00
pvalchev
31bb0ac730 no more cdrom-packages/ftp-packages 2004-01-04 07:53:48 +00:00
espie
494fac294a Report files and directories installed in WRKINST outside of PREFIX,
usually a good indication the fake process is screwing up.
Okay naddy@
2003-12-26 00:26:01 +00:00
espie
ef26554b07 Use somewhat dirty trick.
Repairs mirror-maker for multiple MASTER_SITES.
Noticed by naddy@
2003-12-24 00:08:48 +00:00
espie
841eb86247 two
if cmd; then ;; else cmd2; fi  -> if ! cmd; then cmd2; fi
I missed
2003-12-16 19:05:23 +00:00
sturm
d15dcf1e2c +_tomcat 2003-12-15 22:33:57 +00:00