Commit Graph

1248 Commits

Author SHA1 Message Date
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
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
sturm
22b88ab1e5 new MASTER_SITE_APACHE 2003-12-15 21:18:41 +00:00
espie
318b72ffb1 Check for duplicates in mirror-maker entries, build Makefiles that won't
heap tons of warnings with gnu-make (and that will be slightly smaller as well).
2003-12-15 17:56:40 +00:00
david
376e947e23 +_quagga 2003-12-11 19:05:38 +00:00
espie
c3a877ce10 Kill the recursive part of package dependencies recording, since the
new pkg_add deals computes recursive dependencies on the fly.

okay naddy@
2003-12-11 08:55:24 +00:00
millert
8aa47fb2ef Don't prepend DESTDIR to paths when installing, perl > 5.8.0 deals
with DESTDIR automatically.  Note that you will need to update to
perl 5.8.2 in order to build perl modules as packages now.
OK pvalchev@
2003-12-03 03:47:07 +00:00
sturm
acfab03a8c +compat_43_ogetpagesize and compat_43_olseek to allow systrace'd build
of archivers/rar on i386
+setgroups
2003-11-27 20:01:49 +00:00
espie
fed09d5bcc zap some packing-lists sanity check. These are now donw by pkg_create
in a more precise and faster way.
2003-11-22 12:03:44 +00:00
sturm
4a5015409c adapt to new pkg tools without breaking compatibility to old ones
noted by Andreas Kahari, ok espie@
2003-11-05 17:35:45 +00:00
kevlo
03ccfcbace +_mail 2003-11-03 06:14:07 +00:00
brad
231f90d5d2 add pegasos 2003-10-31 06:13:22 +00:00
espie
26d8ad2a8b shrink by using the new perl modules.
no longer test for @dirrm collisions, those don't matter with the new
tools.

tested by nikolay.
2003-10-23 17:49:02 +00:00
pvalchev
71a69fd1d6 add missing /var/games; ok espie nikolay 2003-10-16 15:38:50 +00:00
sturm
7d49a4123d - _mixmaster 2003-09-29 20:23:41 +00:00
espie
e039496e40 Allows out-of-date to proceed even if some port is broken. 2003-09-28 10:59:42 +00:00
espie
6817307ee5 set PACKAGING in RUN_DEPENDS, to avoid picking up bogus subpackages
dependencies.

Tests by sturm@, noticed by pval@
2003-09-28 10:57:01 +00:00
pvalchev
5c01db2c33 change references to db/essentials and fix a typo in the process 2003-09-23 01:40:26 +00:00
pvalchev
577a7d34de delete; i386-only list superceded with data under infrastructure/plist/ 2003-09-23 01:32:12 +00:00
pvalchev
8b89515985 lists of subdirs for packages for the CD for all architectures, ala-essentials 2003-09-23 01:31:01 +00:00
pvalchev
13fc8444b0 sync to my lists, this is probably going to close to what 3.4 will have 2003-09-06 05:11:11 +00:00
espie
1f284fbe34 Synch with new target names.
okay pvalchev@
2003-09-03 21:43:59 +00:00
naddy
65d11563a5 * force uninstall in reinstall
* fix typo in clean=install handling

discussed with sturm@
2003-08-28 23:42:44 +00:00
naddy
56823d7f5d prevent leak of custom IFS value from shell fragment; ok sturm@ 2003-08-28 21:50:12 +00:00
sturm
5c1459beb1 don't try to fetch distfiles of ports marked FETCH_MANUALLY
ok naddy@
2003-08-28 16:19:00 +00:00
sturm
a9836ab377 +getpeername
ok naddy@
2003-08-24 20:38:25 +00:00
espie
31df7d5d6e Add FAKEOBJDIR support 2003-08-21 20:22:45 +00:00
espie
39171fc37f update .PHONY list to match reality. 2003-08-15 00:35:10 +00:00
espie
417fb59480 PORTSDIR_PATH ?= ${PORTSDIR}:${PORTSDIR}/mystuff support. 2003-08-15 00:05:41 +00:00
espie
6f7ee487d8 Use -S${WRKINST} for pkg_create.
YOU MUST HAVE A CURRENT pkg_create FOR THIS TO WORK !!!
2003-08-15 00:04:45 +00:00
naddy
d1e3b2b512 Fix a typo that caused ports marked with FETCH_MANUALLY always to be skipped
for BATCH=Yes.  Reported by Kurt Miller <truk@optonline.net>.
2003-08-14 15:29:20 +00:00
espie
79dfad4929 missed two readme, thanks Nick. 2003-08-13 19:41:01 +00:00
espie
08fa6014ce advisory license-check: warns if a package is apparently built from bad
sources.  Will returns some false positives.
2003-08-11 20:10:41 +00:00
espie
5018e3388c make sure the site selector has an entry for each :<digit>, ensuring
incorrect entries will be spotted.
2003-08-11 20:07:59 +00:00
sturm
9dca62c74b Unconditionally use do-extract and create that target in case it doesn't
exist with the old, regular EXTRACT_CASES stuff. This allows for systrace
protected extracts.

espie@ ok
2003-08-11 18:42:07 +00:00
pvalchev
af2cc467d1 remove unzels with bad licenses that cannot go to the CD 2003-08-09 20:22:36 +00:00
pvalchev
6eb4275ce4 update 2003-08-09 17:48:21 +00:00
espie
c75167d854 Fix INDEX building. Trickery that allows ECHO_MSG='echo 1>&2' to work again. 2003-08-08 23:56:13 +00:00
espie
7e71f84147 kill .USE, use common shell code instead. 2003-08-04 15:05:24 +00:00
espie
c07bda5739 oops, make sure SKIPPED is set immediately, otherwise it won't show. 2003-08-04 14:54:29 +00:00
jolan
fbade6d0d1 swap unc.dl.sourceforge.net with umn.dl.sourceforge.net. when unc hasnt
been sending out junk, the downloads have been slow and unreliable.
2003-08-04 14:48:38 +00:00
espie
4fb6f7fb2a smart recursion over clean depends. 2003-08-04 14:45:31 +00:00
espie
63adb1a923 let *-dir-depends recurse globally, with one single file. 2003-08-04 14:37:48 +00:00
espie
b8e4c98450 move _depfile_fragment to pkgpath.mk so that it can be reused more widely.
Fix the logic so that the file is only removed where it is set.
Add some checks to *-dir-depends for more `global situations'.
2003-08-04 14:37:10 +00:00
espie
df3c9aa7ce zap old targets and add new ones. 2003-08-04 14:16:53 +00:00
espie
acc638c113 Use trap to remove _DEPENDS_FILE, so that it does not stay around.
Since all the code is now in one chunk, put it into _depfile_fragment.
2003-08-04 14:00:46 +00:00
espie
1ee70309ea oops 2003-08-04 13:31:26 +00:00
espie
0f9ceae51e kill old readme (useless distinction).
Let make clean=readmes work.
2003-08-04 13:25:36 +00:00
espie
314595c041 nicer out-of-date script, use the embedded subdir information to find
the correct package spec, and ask the corresponding package to show its
information.
2003-08-02 11:17:37 +00:00
espie
cba1263649 synch with new ports tree 2003-08-02 10:53:52 +00:00
espie
89a58c808d Fix SKIPDIR handling.
Make various variables not public.
Remove PORTSDIR definition, it's alredy in /usr/share/mk.
2003-08-02 09:58:11 +00:00
espie
9a700ec7a5 put _flavor_fragment into a separate file, that's included from both
bsd.port.mk and bsd.port.subdir.mk. Make sure flavors are properly
separated.

Change the way bsd.port.subdir.mk works, slightly: always set full directories.
- SKIPDIR with full paths will work.
- all dirs are displayed as full package specs.

Generate complete html files.
2003-08-02 09:53:27 +00:00
espie
2baedf3e1e minor fixes to readme 2003-08-01 09:07:06 +00:00
espie
a46196fdcf if cmd; then : else -> if ! cmd; then
suggested by naddy@
2003-08-01 09:02:42 +00:00
espie
9035370921 show libraries BEFORE testing that we already recursed in that dir.
Problem found by marc_m@.
2003-08-01 08:29:43 +00:00
espie
ff6ba5bcaa too eager in unsetting FLAVOR, problem found by jolan@ 2003-08-01 08:20:43 +00:00
espie
3e6da56495 get thru _clean to handle clean, since it's set in stone.
Add work if only depends is set.
problem found by naddy@
2003-08-01 08:07:30 +00:00
espie
be5adfc375 pull a few more targets out of user-visible space.
Sprinkle a few more cd ${.CURDIR} && exec
move distclean into convenience targets area.
2003-07-30 19:59:48 +00:00
espie
8d30a050aa redo the list of phony targets, in alphabetical order 2003-07-30 19:51:11 +00:00
espie
39307efa3b clean-up and speed-up dependency generation.
thanks to nikolay, naddy, and others for comments.
2003-07-30 19:31:31 +00:00
jolan
f2d129335f update-patches depends on GNU diff, for now. Error out and say where to
install it from if it doesn't exist on the system.

"looks cool" espie@
2003-07-30 11:10:34 +00:00
espie
d9883c9976 quote pkg to protect wildcards against shell (e.g., bzip2-*).
It didn't use to happen, but I just had bzip2-* matching against
bzip2-1.0.2.html
2003-07-30 10:40:43 +00:00
espie
d426e175d7 restore install 2003-07-29 22:27:09 +00:00
sturm
706f3c88e2 python module for all standard python ports
from Xavier Santolaria <xavier@santolaria.net>
2003-07-28 17:48:13 +00:00
sturm
16ce58292a this makes our build infrastructure systrace aware
original idea from jsyn@, discussed and first tests at c2k3

Warning!
- this commit is different from all patches sent around, please remove
  them before updating
- due to a few bugs in systrace this is currently not ready for the casual
  porter and several ports will fail to build, you've been warned

The idea of this patch is to help a porter when developing a new port.
With systrace the configure, build and fake stages are not allowed to
open network connections or write outside some well defined directories.
This way misbehaving programs will be noticed due to logfile entries in
/var/log/messages and the port can be fixed. There is generally no need
for endusers to use this, as the checksum ensures that ports in the
future will behave the same as they did when porting. :)

To activate systrace'd port building, set USE_SYSTRACE=Yes (e.g. in
/etc/mk.conf)

tested by some people, ok espie@
2003-07-28 17:17:04 +00:00
espie
7eff30b5be FETCH_MANUALLY
okay naddy
2003-07-25 12:46:26 +00:00
jolan
03feeb8ee3 +_ffproxy 2003-07-25 04:59:54 +00:00
pvalchev
0f13a36266 patch -b is now -z 2003-07-25 02:17:51 +00:00
brad
b77b6dc723 remove dead site. 2003-07-24 14:48:07 +00:00
naddy
c516389304 protect smart recursion in clean-depends against port names that are
substrings of others; ok espie@
2003-07-24 12:50:38 +00:00
espie
250e5fea9d smart recursion in clean-depends: use an extra temp file to avoid cleaning
up the same spec twice.
2003-07-23 22:24:24 +00:00
avsm
0b19487932 ghc module for ports that use the Haskell language 2003-07-23 18:27:09 +00:00
espie
d766877485 say goodbye to DEPENDS, MISC_DEPENDS, FETCH_DEPENDS. Okay naddy@ 2003-07-23 09:58:33 +00:00
espie
0cd1e35343 switch to emacs Makefile mode, at the request of Han Boetes.
Kill extra ending spaces.
2003-07-18 19:02:13 +00:00
espie
4f65d45f7b more non-existing hooks. 2003-07-18 18:54:09 +00:00
espie
f53f21e957 simplify the creation of links in the package repository.
ok naddy@, pval@
2003-07-18 18:34:26 +00:00
espie
bb5f00f090 kill lots of if !target.
Kill targets that don't apply to ports.
2003-07-18 18:18:15 +00:00
naddy
66353942fb Introduce zope module and make zope-* ports use it.
From: Xavier Santolaria <xavier@santolaria.net>
2003-07-17 15:11:38 +00:00
espie
1aa18b2c75 buglet fix 2003-07-16 22:07:40 +00:00
espie
08a54a2657 remove RESTRICTED, CATn, MANn, MANPREFIX, CATPREFIX, NOCLEANDEPENDS.
MANCOMPRESSED, NOMANCOMPRESS.
2003-07-16 21:22:15 +00:00
naddy
d276537e74 RESTRICTED is obsolete 2003-07-16 19:31:25 +00:00
jolan
43f21093a4 +dovecot 2003-07-14 23:49:32 +00:00
espie
93157b81b3 zap motif comments 2003-07-14 14:08:57 +00:00
espie
e395afc3c0 zap stuff documented elsewhere. 2003-07-14 14:02:18 +00:00
espie
fbf7277e7b kill tweaks that make no sense:
NO_DESCRIBE, NO_PACKAGE, FETCH_BEFORE_ARGS, FETCH_AFTER_ARGS, NO_WARNINGS
(is this used ?), VARNAME, FORCE_PACKAGE.
Make CKSUMFILES invisible from users.

Make sure repackage and reinstall go through normal clean targets.
Kill pre-clean, pre-distclean, pre-repackage.
Don't allow customization of distclean.
2003-07-14 13:33:04 +00:00
espie
c1ca969495 zap show VARNAME= usage. 2003-07-12 12:51:19 +00:00
espie
c0618f0f68 zap stuff that's now properly documented 2003-07-12 12:50:06 +00:00
pvalchev
31b771de82 use '|' rather than ',' for sed substitution delimiter since the comma
clashed with multiple names into MAINTAINER (separated with comma), now
that it is part of SUBST_VARS.  '|' should be safer wrt all other
variables there; ok espie
2003-07-11 16:46:20 +00:00
espie
a29618cde1 PROBLEMS->_PROBLEMS, this shouldn't be user-visible. 2003-07-09 11:16:21 +00:00
espie
c1e3a7277c say goodbye to obsolete comments and stuff documented in bsd.port.mk(5) 2003-07-08 22:01:23 +00:00
pvalchev
5e156c4b68 Include maintainer name in the description, this way it can be easily
checked by pkg_info(1), etc.; ok espie
2003-07-08 21:51:26 +00:00
espie
794cf63444 add_info needs a valid filehandle. 2003-07-02 09:04:08 +00:00
espie
7e85ac2f7b kludge to make it work with qt3-mt...
better form would be to ask bsd.port.mk for actual PLIST names.
2003-07-01 14:47:53 +00:00
pvalchev
50169cacce - add NOT_FOR_ARCHS
- add the whole regress family settings
- general cleanup on things no longer applicable
2003-07-01 04:36:33 +00:00
espie
af5c0b27a7 Sort info files into the right plist. 2003-06-30 12:07:56 +00:00
espie
6caef06ee4 do not record comments twice. 2003-06-30 11:53:37 +00:00
espie
297d9e1225 Extra code for annotations: instead of stashing each element into one plist,
record all plists concerned.

This lets update-plist deal with packages with duplicated files.
2003-06-30 11:49:41 +00:00
espie
c4aafd4e74 Protect filehandle from being created twice. 2003-06-30 11:31:22 +00:00
espie
472d214ba5 Multi-packages may have extra blanks at start. Disallow... 2003-06-30 11:29:16 +00:00
sturm
1448268198 be more specific wrt/ fixed uids/gids 2003-06-23 19:20:58 +00:00
sturm
a01b82e1b5 New user- and groupname schema for ports. All users and groups created
by ports have to have a leading '_' and a fixed id. They have also to
be added to db/user.list.

user.db and createuser are not used and are superfluous now.
2003-06-22 09:59:35 +00:00
espie
9ed39dcf96 ensure $out{$plist}, $out{$pshared} are defined when needed. 2003-06-16 22:42:54 +00:00
avsm
541ad6c988 correct comment: it should be copied to ../db/network.conf 2003-06-15 21:10:45 +00:00
espie
bfc9aa6dfa Improvements to make-plist, try to take multi-packages into account.
Doesn't handle yet the case where several plists want the same files...
2003-06-15 13:31:37 +00:00
naddy
4929401c92 replace dead North American KDE mirror 2003-06-13 12:56:31 +00:00
marc
ed61ec8840 un-typo my address 2003-06-12 22:30:28 +00:00
marc
e0832cfc14 license for license-check (public domain) 2003-06-12 22:13:41 +00:00
pvalchev
a14540af80 put in the public domain. ok author "Ryan Walker" <walkerr@ssimicro.com> 2003-06-12 22:11:23 +00:00
pvalchev
235993d268 remove license terms 3 & 4 for espie 2003-06-12 22:04:37 +00:00
avsm
f243823792 point to www/php4/core instead of www/php4/pear 2003-05-23 20:09:01 +00:00
sturm
9c77c97ed3 As "run-depends" is not recursive, only the first layer of pure RUN_DEPENDS
packages got created. By setting DEPENDS_TARGET=install, all layers of
pure RUN_DEPENDS are installed directly.

OK espie@, naddy@
2003-05-18 23:11:21 +00:00
avsm
892581ee98 correct a gnu mirror 2003-05-13 10:52:11 +00:00
sturm
5d346b70df Switch two regexps to strip trailing dots earlier from library specs.
This fixes dependency checks of specifications like bar.1.1.::foo/bar
which is now dealt with the same as bar.1.1::foo/bar
2003-04-18 20:27:59 +00:00
avsm
14bbc3ca8e typo in Horde MASTER_SITES 2003-04-14 13:15:28 +00:00
espie
4e35f82f32 do not duplicate gnu in CONFIGURE_STYLE if it's already there.
Useful when one wants a specific CONFIGURE_STYLE order and thus specifies
gnu explicitly, e.g., CONFIGURE_STYLE=autoconf gnu imake
2003-04-06 14:34:36 +00:00
avsm
3990f2d5fb add support for PHP pear modules 2003-04-03 10:29:35 +00:00
pvalchev
17c64f0933 update to reality 2003-03-31 03:53:23 +00:00
david
7d586cefbb spelling and double word fixes
ok pvalchev@
2003-03-28 22:25:00 +00:00
pvalchev
335ed61933 update MASTER_SITES_SOURCEFORGE; from rich cannings 2003-03-27 07:51:42 +00:00
pvalchev
f8d727a614 Update to 3.3 i386 seed list (this hadn't been touched since 2.9) 2003-03-25 04:10:39 +00:00
jsyn
2872a68348 add several missing trailing slashes, update PACKETSTORM mirror list,
reorganize slightly; ok pvalchev@
2003-03-12 18:04:37 +00:00
pvalchev
8a0d0886ea Stop advising users to ignore wrong checksums, instead suggesting from the
distfiles/ directories on the OpenBSD FTP servers where a good copy is
normally carried.  From Peter Hessler, ok espie lebel
2003-03-02 17:54:27 +00:00