Commit Graph

1006 Commits

Author SHA1 Message Date
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
espie
c138118a37 MODULES=gnu can be used to access MODGNU_AUTOCONF_DEPENDS without entering
into CONFIGURE_STYLE issues.
ok naddy, pval
2003-02-27 19:27:00 +00:00
espie
363b0b2dc9 Handle libdepend and newdepend 2003-02-26 15:45:44 +00:00
espie
668fd891b9 Copyright, miod. 2003-02-25 11:38:16 +00:00
espie
1e5e59ced2 add my copyright, noticed by miod. 2003-02-25 11:36:55 +00:00
pvalchev
f04b5f0a34 missed "of of"; David Krause 2003-02-24 07:01:25 +00:00
pvalchev
28fcededb7 agains->against; David Krause 2003-02-24 06:49:33 +00:00
rohee
ba7ea3f211 Some disappeared, some were renamed...
Ok espie@, naddy@
2003-02-23 16:46:25 +00:00
rohee
a8e10018cc crl.dec.com does not contain anything anymore, remove from MASTER_SITE_XCONTRIB
ok espie@
2003-02-23 13:45:51 +00:00
espie
a63ca19a8c Display something useful when a package location has been specified wrong. 2003-02-16 15:16:17 +00:00
espie
86550e7114 no longer a need to pass AUTOCONF/AUTOHEADER through MAKE_FLAGS/FAKE_FLAGS
found out by naddy@, should unbreak erlang.
2003-02-15 19:59:35 +00:00
espie
3c8bf6ed4f make autoconf/automake dependencies visible through
MODGNU_AUTOCONF_DEPENDS/MODGNU_AUTOMAKE_DEPENDS
2003-02-15 16:38:48 +00:00
espie
7de32aba9d switch to metaauto framework: the autoconf ports are now not quite usable,
and need the metaauto wrappers to work.

The metaauto wrapper does not run depend on any autoconf version, to allow
partial installations.

Tested and approved by naddy@
2003-02-15 14:06:58 +00:00
espie
39a4a543c0 make kde module visible 2003-02-08 12:38:16 +00:00
brad
770d499273 fix lib-depends-check on ELF systems to deal with libraries of the form
libN-X.Y.so.A.B
--
From: Lurene Grenier <lurene@daemonkitty.net>
2003-02-06 03:45:15 +00:00
margarida
ecd941932f missing slash 2003-01-23 00:39:21 +00:00
margarida
af87ab2936 Update MASTER_SITE_PACKETSTORM 2003-01-23 00:32:15 +00:00
espie
7014ba7264 Make WRKOBJDIR be a basis for WRKDIR when defined.
Do not create a symlink from CURDIR.

Based on a suggestion of Hakan, tested and approved by various ports
people.
2003-01-14 18:18:23 +00:00
espie
24f60aca49 Quote flavors, pass multi_packages as well. 2003-01-06 20:18:23 +00:00
espie
778d367e08 Use PLIST and PFRAG, makes updating simpler in some cases. 2003-01-06 20:16:21 +00:00
espie
b1320b3d67 Pass more arguments to update-plist 2003-01-06 20:15:39 +00:00
espie
f9088537c3 Handle @comment @dirrm 2002-12-23 16:07:51 +00:00
pvalchev
e1d349d3ed kill trailing whitespace 2002-12-12 07:29:02 +00:00
espie
6d742f2c0b revert 2002-12-08 11:04:47 +00:00
brad
3a8ee30d3c be more flexible with the gmake version we will accept. 2002-12-08 04:17:39 +00:00
espie
c43f93f261 strip only numbers at the end, and do a better job at removing spaces. 2002-12-03 13:56:44 +00:00
espie
c612390ed0 Kill at most two series of numbers from dependencies, so that
LIB_DEPENDS=glib-2.0.0.0 will work
2002-12-03 13:38:16 +00:00
espie
6fb2f71ce6 dot is regexp magic 2002-11-28 19:20:37 +00:00
margarida
9cfd3298aa Update to reality. From: Kyle Hargraves <ekstases@earthlink.net>
brad@ ok
2002-11-27 16:56:00 +00:00
margarida
f3ec82d732 Remove non-existant MASTER_SITE_OPENBSD entries.
brad@ naddy@ ok
2002-11-26 19:57:05 +00:00
margarida
bdb416540c Fix MASTER_SITE_GNOME due to new layout.
Remove non-compatible entries, add new ones.

brad@ ok
2002-11-24 22:27:51 +00:00
naddy
f107824102 First cut at OCaml module.
From: Nikolay Sturm <sturm@sec.informatik.tu-darmstadt.de>
2002-11-13 21:42:15 +00:00
pvalchev
482756a7b6 Add gcc3 module. OK espie naddy
MODGCC3_ARCHES should be set to use this, as addition to MODULES=gcc3
MODGCC3_LANGS accepts C++ (C default) and adds proper dependencies, etc
(more languages can be added later on eventually.)

Those will start getting splattered around the tree as time goes now
that the support is there (sparc64 & alpha can make use)
2002-11-12 03:50:56 +00:00
naddy
a152719172 Rename DUDS to SKIPDIR for consistency with the base system; ok espie@ 2002-10-24 23:14:40 +00:00
naddy
dc7b8f8a72 typo; from Han Boetes <han@mijncomputer.nl> 2002-10-10 21:14:11 +00:00
naddy
a653eafeac Protect against meta-characters in library names (e.g. "libestdc++").
Mostly from pvalchev@
2002-10-01 12:16:38 +00:00
pvalchev
c1d611e8c7 Add ftp.usa.openbsd.org to the backup OpenBSD sites list; ok lebel naddy 2002-09-26 20:37:50 +00:00
marcm
3e5f8486e3 Fix some MASTER_SITE_GNOME sites.
ok lebel@ nino@
2002-09-23 04:22:50 +00:00
jsyn
d58eadb0d6 sync MASTER_SITE_PACKETSTORM mirrors; okay pvalchev@ 2002-09-18 21:02:43 +00:00
espie
b7349f6e16 fix typo. sigh. this code is not used that much. 2002-09-11 19:35:21 +00:00
brad
c4ba57cd1c fix refetch target when DIST_SUBDIR is defined. FULLDISTDIR -> DISTDIR
--
Problem pointed out by: Nick Nauwelaerts <nick@wanadoo.be>
Ok'd by: espie@
2002-08-30 15:06:06 +00:00
avsm
97d7fd758e remove an unnecessary check for NetBSD
ok espie@
2002-08-29 18:35:40 +00:00
avsm
23747accfd oops 2002-08-17 01:43:24 +00:00
avsm
e21a309fd8 add MASTER_SITE_HORDE, ok naddy/pval 2002-08-17 01:40:15 +00:00
avsm
2094a84e19 some gnome sites were missing a trailing / 2002-08-09 00:17:39 +00:00
avsm
0d2fe0ad1c PSEUDO_FLAVORS support
from/ok espie
2002-08-07 15:48:19 +00:00
nino
ed3d68550b Update MASTER_SITE_GNOME. 2002-07-25 08:38:55 +00:00
nino
d1662486a2 Make sure we're in PATCHDIR when we verify the patches. Otherwise we'll
print out incorrect information if no patches are found in WRKDIST.

Ok espie@
2002-07-24 11:54:21 +00:00
naddy
fbd45f8d70 sync Austrian sunsite mirrors with reality 2002-07-22 22:44:24 +00:00
pvalchev
6acee16b30 Kill NEED_VERSION, since people are now told to keep their ports
tree / release in sync, and strictly managing it generates a lot
of useless effort.

Note that the support for NEED_VERSION is now gone, however ports
will get that line stripped from their Makefile as time progresses
with updates, gradually; there is no emergent need for it.

ok espie and others
2002-07-06 09:24:06 +00:00
naddy
389e0accfb sync MASTER_SITE_PERL_CPAN with FreeBSD 2002-07-02 21:58:21 +00:00
mpech
c356e917ba /var/X11/... -> /etc/X11/... From form@.
lebel@, naddy@, pval@ ok
2002-06-27 12:47:23 +00:00
jsyn
44164e8d1c update MASTER_SITE_PACKETSTORM mirrors 2002-06-09 05:08:37 +00:00
naddy
a3c0510d0b update MASTER_SITE_TEX_CTAN: one Server removed, two paths updated
from Nikolay Sturm <sturm@sec.informatik.tu-darmstadt.de>
2002-05-25 11:57:04 +00:00
naddy
42c6ccbf06 kill MASTER_SITE_SUBDIR here as well 2002-05-25 11:43:33 +00:00
mpech
7273a819d5 Add -V and -m to FETCH_CMD. Idea from form@.
espie@ ok
2002-05-20 05:18:18 +00:00
millert
48e962fab3 'perl -p' does not seem to behave as I expected; use -n instead.
Fixes a problem with the perl shar filter noticed by pval@
2002-05-19 18:51:21 +00:00
espie
3aada711bb zap fetch progress bar. 2002-05-18 18:37:47 +00:00
brad
397d541683 remove FTP URL for eu.dl.sourceforge.net since it has not been accepting logins for 2 days now and fix FTP URL for us.dl.sourceforge.net 2002-05-16 16:31:05 +00:00
brad
dc38ca3c8c replace bad sourceforge FTP URLs with HTTP URLs. 2002-05-15 19:27:10 +00:00
espie
5d9ca1a5bf say goodbye to MASTER_SITE_SUBDIR 2002-05-15 18:23:21 +00:00
espie
71e27850dc zap %SUBDIR% 2002-05-15 18:20:43 +00:00
jsyn
19477b9090 update MASTER_SITE_PACKETSTORM mirrors; okay espie@ 2002-05-13 07:45:45 +00:00
espie
386b666f7c Add WWW: ${HOMEPAGE} at end of DESCR if not integrated already.
Mark MASTER_SITES_SUBDIR obsolete.

Promote a construct taken from NetBSD indeed.
2002-05-13 00:43:42 +00:00
brad
0ad85eb5dc remove RCN's HTTP mirror from MASTER_SITE_SOURCEWARE 2002-05-12 21:19:31 +00:00
millert
1cb6674558 Replace _SED_FIX_SHAR with _PERL_FIX_SHAR which can deal with shar
archives that don't start with "#!/bin/sh"; espie@ OK
2002-05-08 18:31:49 +00:00
brad
0c5f6803c4 sync MASTER_SITE_SOURCEFORGE mirrors 2002-05-08 02:32:57 +00:00
espie
727512ae3c Run check of symlinks post-fake as root too. 2002-05-07 12:25:54 +00:00
brad
f2c137a527 typo; Pointed out by: Srebrenko Sehic <haver@insecure.dk> 2002-05-01 11:50:52 +00:00
brad
538c8e3d67 sync various changes from FreeBSD's bsd.sites.mk 2002-04-28 20:26:05 +00:00
espie
cc277cf81d teach portslogger to put patch/configure/build depends with the correct
package.
2002-04-24 21:35:33 +00:00
espie
92531f47ed let build of dependencies that are not 'install' or 'package' happen
inside a subdirectory of the working directory, instead of elsewhere.
Allows packages BULK=Yes to work correctly, and increase reproducibility
of builds.

tested by naddy@ through several incarnations.

Ports that use patch/configure/build dependencies must be adjusted for this.
Pleasingly enough, the adjusted version is often simpler.

The change uses an internal _MASTER variable to recall the list of ports
built during dependencies, for less confusion.
2002-04-24 21:29:26 +00:00
espie
4fecaeb271 move stuff around, so that functions are at beginning of file.
No other significant change.
2002-04-20 19:07:25 +00:00
espie
9acaeefab9 double typo. Let ftp-packages and cdrom-packages be normal BULK_TARGETS. 2002-04-17 16:53:13 +00:00
espie
5c6c013651 kill bulk-packages. Use `make package BULK=Yes' instead.
The main advantage is that workdirs are cleaned up as soon
as package is built (or installed), not later.
2002-04-17 15:58:48 +00:00
espie
2b7c75e086 Move perl manpages where they belong, from section 3 to section 3p.
NOTE THAT /usr/local/man/man3p MUST EXIST FOR THIS TO WORK.
UPDATE /etc/mtree/BSD.local.dist AND RUN IT ACCORDINGLY !!!
2002-04-16 19:25:01 +00:00
espie
83d65ba969 Add variable P5SITE/P5ARCH, this will make future plists more compact. 2002-04-16 17:35:21 +00:00
espie
b2e829be6d register comments. Allows to remove a file from a plist by @comment'ing it,
and having make update-plist keep that.
2002-04-15 06:38:23 +00:00
espie
375850a04e Allow for DIST_SUBDIR to be empty 2002-04-10 08:44:57 +00:00
espie
8033007ddd Add PROTECT_MOUNT_POINTS, to help package builders spot ports that write
outside of the fake area.
2002-04-09 23:55:11 +00:00
espie
6eefe19bd3 fix indentation 2002-04-09 22:52:24 +00:00
espie
74c923f4c6 USE_LIBTOOL, USE_GMAKE, USE_X11 should really be Yes/No variables. 2002-04-09 13:52:58 +00:00
brad
1e1180910d remove first 2 dist sites for MASTER_SITE_KDE. 2002-04-07 03:21:34 +00:00
wilfried
4988adddf4 missing / after %SUBDIR%, ok espie@ 2002-04-04 11:27:28 +00:00
espie
9ad648bfbe Let make update-plist look at dependent packages (LIB_DEPENDS and
RUN_DEPENDS) to create a more accurate list of @dirrm.

Minor negative side-effect: up-to-date dependent packages must be present
for this to work. Not a problem, since this is only used by maintainers.

This improves the quality of generated plists for large packages with lots
of dependencies by a large amount (e.g., kde)

reviewed by pval@
2002-04-03 15:00:30 +00:00
miod
5bdee43e97 Update libtool patches so that libtool recognizes vax as a static libs-only
architecture.
ok espie@
2002-04-03 14:44:14 +00:00
espie
ddaac90cab Add a target to check that makewhatis will build correct index entries. 2002-04-02 15:55:55 +00:00
espie
6d8b4f799b Kill files/md5 magic 2002-03-21 21:28:29 +00:00
espie
2224ca5690 Register dirrm collisions as well. 2002-03-19 22:20:50 +00:00
jsyn
8fdaaa2d7e update MASTER_SITE_PACKETSTORM mirror list; ok naddy@ 2002-03-18 20:04:07 +00:00
espie
25c3970285 oops, bad exec in a combined command 2002-03-18 03:18:24 +00:00
espie
1c8f153f2e Tsk, tsk. 2002-03-18 02:00:00 +00:00
espie
8f76f3fa33 can't set both motif and lesstif flavors at once. 2002-03-18 01:55:40 +00:00
espie
b6d50a2151 Handle ERRORS+='Fatal:...' as well 2002-03-18 01:52:46 +00:00
couderc
69ab7a3aea Include ruby module 2002-03-17 22:34:16 +00:00
espie
b39f70427a move gnu dreck (autoconf, automake...) to gnu.port.mk 2002-03-16 01:09:23 +00:00
espie
6ac449705e disable automake unless explicitly asked for it.
Just did a package build without any apparent ill effect.
2002-03-16 00:54:37 +00:00
espie
4c2a3c3cf5 Add ${WRKDIR}/bin directory. 2002-03-15 13:29:13 +00:00
espie
9775511ef0 Add rules to create a list of homepage links for all ports. 2002-03-13 13:51:59 +00:00
naddy
4d75cc72eb skip @libdepend 2002-03-11 22:00:37 +00:00
brad
25908a510d mention tcsh 2002-03-10 06:02:16 +00:00
espie
1454c1191c link qt3 in. 2002-03-04 16:15:41 +00:00
espie
e0db562001 create package dependency list in a separate file.
This solves some nasty merged output problems and unconfuse redirection
issues.
2002-03-04 15:33:16 +00:00
espie
f801d53cd6 do not consider static libraries if dynamic libraries are around.
This is not the linker's way of working, but this is the way dependencies
must be handled to find about update issues.

naddy@ agrees, nobody else gives a fuck.
2002-03-04 13:39:34 +00:00
brad
ba5772bc40 copy config.sub too 2002-03-03 01:23:23 +00:00
brad
29cf0ceab4 - sync config.guess
- add a copy of config.sub in a central location
2002-03-02 23:59:38 +00:00
espie
633db19d5e Trip ports that mistakenly try to write into $HOME. 2002-03-02 13:38:25 +00:00
naddy
53bcf007ee fix REGRESS_IS_INTERACTIVE logic; ok espie@ 2002-03-01 00:49:03 +00:00
espie
5430bb6c97 don't redirect build output to /dev/null, redirect it to stderr instead,
so that building packages in the background to solve dependencies won't
break the plist it's building, but show up clearly still...
2002-02-27 00:25:35 +00:00
jsyn
d38406cce9 add MASTER_SITE_PACKETSTORM as a mirror source; ok naddy@ 2002-01-24 06:45:22 +00:00
brad
888ee53f31 - add et_EE
- ru_SU -> ru_RU
--
Ok'd by: heko@
2002-01-18 16:48:19 +00:00
espie
007b0bcbc1 Recognize the `No new line at end of file' dif issue 2002-01-03 10:37:43 +00:00
espie
effd838b50 hooks for switching to autoconf-2.52. 2001-12-31 09:38:54 +00:00
naddy
80abcb4c2f strip leading path components from lib specs; ok espie@ 2001-12-31 01:59:39 +00:00
miod
9bc837b28e Repair mvme88k entry in NO_SHARED_ARCHS line. MACHINE_ARCH should be listed
there, not MACHINE....
2001-12-23 02:17:02 +00:00
brad
5bb9f47eb0 for the addsum target, check to see if files/md5 exists before trying to
move it that way we do not get an error message from mv if it does not
already exist.
--
Ok'd by: espie@
2001-12-15 18:10:36 +00:00
naddy
07838e78bd Fix the HTML markup produced by "make readmes" in /usr/ports.
Submitted by:	Nick Nauwelaerts <nick@wanadoo.be>
PR:		2233
2001-12-13 15:40:27 +00:00
brad
5fb81461eb update ftp.windowmaker.org URL
--
From: Nikolay Sturm <Nikolay.Sturm@desy.de>
2001-11-23 12:44:12 +00:00
naddy
b83c7c9e9f match the comment for the describe target with the actual code; ok espie@ 2001-11-22 16:02:26 +00:00
brad
b50da9a4e6 update MASTER_SITE_SOURCEFORGE, project FTP sites have gone away.
--
From: op21@squish.org
2001-11-21 02:42:09 +00:00
espie
47692f4664 Use perl lib depends checker, that parses the full gamut of libspecs. 2001-11-17 10:39:19 +00:00
espie
980f49d11e handles subcategories in package-links. Close PR 1731 2001-11-15 02:07:05 +00:00
espie
6221dfd2c5 typo 2001-11-13 12:52:22 +00:00
brad
5010589d79 bring in fixes made over the last 3 months from FreeBSD's bsd.sites.mk 2001-11-13 04:10:16 +00:00
espie
863226a22f Basic new lib dependency code for package.
LIB_DEPENDS are no longer part of ALWAYS_DEPEND for the new-depends code,
but use their own code.

The code does scan the list of libraries for dependent packages, and insert
corresponding @libdepend lines into the resulting package. There are a few
important consequences:

- no libdepend lines are inserted if only a static library is found. So
RUN_DEPENDS are now needed to supplement LIB_DEPENDS if a package requires
another package for something that isn't a library.
- dependency checking for installed stuff can go one step further, since
we have the major/minor number of the libraries used for the build.
At the moment, pkg resolve dependencies does nothing smart with the
inserted libdepends, but it will (soon). In fact, for most libdepends, if
the major/minor scheme are correct, no check on the installed pkgspec ought
to be necessary... which is why the `default pkgspec to check' is pkg-* for
libraries.
- resolving recursive run dependencies need to go one step further: a
RUN_DEPENDS pkg may have some LIB_DEPENDS, and the RUN_DEPENDS pkg will be
needed to explicitly write the required information into the resulting
package... Hence the necessity of being able to tune the list of libraries
to ask the uninstalled package (and to make sure the uninstalled package
is built).

This is only preliminary work. Currently, this doesn't yield any real
benefits to the old approach, as a few semantic details need to be
sharpened out. Also, there are now quite a few old targets that are a
complete mess and will need to be cleaned up/removed entirely.

Thanks to naddy@ for testing various preliminary versions of this patch
and helping me iron bugs out.
2001-11-12 14:32:52 +00:00
espie
ea79980b4c Replace the lib dependency check with a more mechanical check, that
no longer relies on ldconfig, but rather on the path stored inside
LIB_DEPENDS. Introduce a lib_resolve_fragment that can be used to
resolve the libraries from a given list (e.g., listlibs).

To be used in the next patch.

Note that this check is currently more or less equivalent to the old
check, apart from the fact that:
- libs can't trust packages,
- lib-depends always resort to non-shared libraries, even on shared
architectures, if the shared check doesn't work.
2001-11-12 14:24:06 +00:00
espie
fb319b058a add top-level directory `mystuff' to be used by porters for stuff they
haven't committed yet. The nice part is that dependencies get transparently
resolved to mystuff/dir if they aren't found in dir.
2001-11-12 14:19:17 +00:00
espie
f5975b9f08 Move the `check and change directory' part to flavor_fragment, as it's
invariably duplicated right after otherwise.

This makes the code cleaner, and makes sure the check happens all the time.
2001-11-12 14:14:46 +00:00
pvalchev
a9a3d26241 get a proper list of system libraries to exclude, and report real missing
ones from LIB_DEPENDS for lib-depends-check on ELF. ok espie
2001-11-12 01:27:26 +00:00
heko
0e36dadb66 o Instead of copying the "virtual memory exhausted" warning for each
individual port, introduce a new variable for bsd.port.mk, VMEM_WARNING.
By setting this variable to `Yes', the user is given a warning about the
virtual memory requirements just before the pre-build stage.
o Also give some examples for different shells for what to do about
it, and mention login.conf(5). bash, for example, has a confusing
-v flag to ulimit.
o Document this in bsd.port.mk.5
espie@ ok
2001-11-11 13:57:32 +00:00
espie
1254a2ffa7 transform files/md5 into distinfo magically.
I would credit FreeBSD or NetBSD for the idea if I could remember which
one came up with it first. :)
2001-11-11 12:59:50 +00:00
espie
a0b04e366e Groan. Even after I refreshed my memory with perlvar(1), I still managed
to typo my way through.
2001-11-11 12:57:25 +00:00
espie
56b6822e2f close PR2115 2001-11-11 12:38:57 +00:00
espie
c66b6461e8 Zap idiot subshell 2001-11-01 12:26:16 +00:00
brad
75f2c36138 bad idea. 2001-10-31 19:36:12 +00:00
wilfried
225675419f libtool 1.3.0 patches, ok brad@ 2001-10-31 11:58:04 +00:00
brad
e9ff76abb4 remove whitespace 2001-10-31 01:33:33 +00:00
espie
1ee295c375 Recursive module support. 2001-10-29 12:51:59 +00:00
brad
94ce66e55a Add gtk module. 2001-10-28 21:41:47 +00:00
espie
d67e77748f defaulted variable in *-depends target, currently unused: way to know
that dependency defaulted to default pattern.
2001-10-28 12:34:57 +00:00
espie
dc1a706952 Move NEED_VERSION check later. Allows for NEED_VERSION to be a list.
Useful for modules support: now specific modules can require later
versions of bsd.port.mk.

Of course, ports using modules may need an update to 1.486 to use
this feature.
2001-10-28 12:31:35 +00:00
brad
53837aa927 For consistency, use :L variable modifier with ELF_TOOLCHAIN check. 2001-10-28 04:59:26 +00:00
brad
1f0d57ad12 libtool 1.3.3 patches. 2001-10-28 04:18:09 +00:00