Commit graph

4000 commits

Author SHA1 Message Date
wiz
381cf35088 Remove some non-mirroring gnu mirrors, and fix paths in some others. 2005-02-23 15:39:02 +00:00
wiz
4eb392220d Remove some non-mirroring sunsite and xcontrib mirrors. 2005-02-23 15:30:57 +00:00
agc
2a8668bdf4 Pass "makedistinfo" down as one of the inherited targets. 2005-02-22 21:02:15 +00:00
agc
e96ce79e2e As seen on tech-pkg - allow multiple digest algorithms to be used to
ensure the integrity of distfiles and dist patches.  For now, the
default algorithms are SHA1 and RMD160, set as a whitespace-separated
list in the DIGEST_ALGORITHMS definition.  The DIGEST_ALGORITHM
definition is deprecated.

Patchfiles will still use simply SHA1, since we are trying to detect a
binary "has this file changed", rather than proect against tampering.
In short, if someone can modify the patch file, they can modify the
distinfo file holding its digest information. This value is set in the
new PATCH_DIGEST_ALGORITHM definition.

Triggered by the breaking of SHA1, as reported in

	http://www.schneier.com/blog/archives/2005/02/sha1_broken.html
2005-02-22 21:01:10 +00:00
veego
8b44024dc5 Change the files to be used for PLIST_SRC from
PLIST.common
 PLIST.${OPSYS}
 PLIST
 PLIST.common_end
to
 PLIST.common
 PLIST.${OPSYS}
 PLIST.${MACHINE_ARCH:C/i[3-6]86/i386/g}
 PLIST.${OPSYS}-${MACHINE_ARCH:C/i[3-6]86/i386/g}
 PLIST
 PLIST.common_end

Which makes it possible to remove duplicated code in some packages.
This doesn't change anything, because all affected packages define PLIST_SRC,
so this code would never be used for them.
And most of them will be fixed with the next commit.

ToDO: ${MACHINE_ARCH:C/i[3-6]86/i386/g} looks wrong and should be changed,
but thats what we allready use for MESSAGE_SRC.
2005-02-21 20:12:01 +00:00
grant
384e38172b fix bug introduced in 1.1569: use ${GREP} instead of 'grep' and not
all grep(1)s support grepping for empty string. `${GREP} .' instead.
2005-02-20 06:02:06 +00:00
grant
d84e86c700 update the PLIST handling for AIX, shared libraries have the .so
extension when the runtime linker is used. from garbled@.
2005-02-19 04:25:31 +00:00
grant
fab0a1b153 add wrappers to transform arguments for AIX's ld(1), notably, if we
are dynamically linking, the -brtl flag must be passed to the linker
so that the runtime linker is used.

tested on AIX 4.3 and 5.1 by garbled@.
2005-02-19 04:19:59 +00:00
grant
0fe4c2184a define GNU_ARCH for rs6000 and set OBJECT_FMT correctly for AIX. 2005-02-19 01:28:14 +00:00
reed
a839411efa If /bin/id exists, then use it for ID else use /usr/bin/id.
Mandrake Linux 10.1 as used by A L Meyers has /bin/id.
This should fix his PR #pkg/29430 and #29431.
2005-02-17 20:03:26 +00:00
seb
8ead146eeb Revert previous. This breaks databases/postgresql74-lib for me on NetBSD
current.
2005-02-17 12:15:44 +00:00
grant
581576f963 add bits for AIX to correctly set MACHINE_ARCH and OS_VERSION, so that
MACHINE_GNU_PLATFORM is set to something sane. tested with AIX 4.3.3
and 5.1.
2005-02-17 07:11:59 +00:00
grant
892028f6a6 drop -fexceptions which icc doesn't understand. 2005-02-16 23:58:29 +00:00
seb
61b849b1a3 Add ${BUILDLINK_VARS} to WRAPPER_VARS.
Since the bsd.wrapper.mk framework was introduced, hence the removal
of BUILDLINK_VARS handling from bsd.buildlink3.mk, none of the variables
listed in BUILDLINK_VARS were "cached" in any way.
2005-02-16 23:08:16 +00:00
grant
8910a7722d Always link against the Intel provided C++ runtime library. 2005-02-16 11:24:44 +00:00
agc
b10fb63e34 Fix an anomaly noted by Steve Bellovin in
<20050215182853.AC52D3C03B8@berkshire.machshav.com>

The check for a vulnerable package at package fetch time is producing
incorrect results when csh-style alternates are used in the
pkg-vulnerabilities specification of the vulnerable package - disable
the incorrect speed-up that was there previously, at the expense of
some machine cycles at build time.
2005-02-16 11:01:03 +00:00
grant
94c992087d properly detect icc 8.1, which needs a different argument to
statically link the Intel provided libraries.
2005-02-16 10:59:03 +00:00
grant
733a152138 override the GNU configure test for __attribute__. the test commonly
uses a nested function, which icc does not support.
2005-02-16 10:48:40 +00:00
grant
16000086e3 note that xlc support is on Darwin. 2005-02-16 08:41:20 +00:00
grant
9a2655736f whitespace fixes 2005-02-16 08:03:44 +00:00
tv
568d0bf7bd Some older ${FIND}s do not have an implicit "-print"; make sure to specify
it explicitly (as with other ${FIND} usage here).
2005-02-15 16:21:41 +00:00
grant
ffa50e5ca6 it's 2005, not 2004. 2005-02-15 09:42:23 +00:00
grant
9fd9fe5331 add support for icc, the Intel C++ Compiler (Linux).
icc is a high performance compiler suite for Linux/i386 and ia64, and
is free for non-commercial use. see:

	http://www.intel.com/software/products/compilers/clin/

for more information.

tested with icc version 8.0 and 8.1 on Slackware 10/i386.
2005-02-15 07:43:43 +00:00
jlam
e9eb68750b The libtool wrapper should always do the compiler wrapper transformations,
so move the setting for _WRAP_ARG_PP.LIBTOOL out of conditional areas of
bsd.wrapper.mk and set it globally in bsd.buildlink3.mk with the rest of
the libtool wrapper variables.
2005-02-15 03:18:50 +00:00
jlam
993d395028 Add some more debugging annotations for the work log to note split args
and skipped args.
2005-02-14 21:43:11 +00:00
jlam
9a48aa99f1 Move some Darwin-specific code from arg-pp-main into arg-pp-darwin-gcc. 2005-02-14 21:33:36 +00:00
jlam
a4719cbfa5 Teach the libtool wrapper about the same types of transformations that
the compiler wrapper already knows to do.  This should protect
"-install_name ..." from wrapper transformations within the libtool
wrapper on Darwin and fixes PR pkg/29215.

Software that properly use libtool don't pass an explicit "-install_name
..." because libtool always generates its own such argument when
building the (Darwin) shared library.  However, not every piece of
software, including the ones like lang/tcl that pkgsrc converted to
use libtool, will use libtool in the documented fashion.  Longer term,
those packages should be fixed properly, but we will still need the
libtool wrapper to avoid transforming arguments that the compiler
wrapper itself doesn't transform, e.g. for MIPSpro and -LANG:*.
2005-02-14 21:33:08 +00:00
tv
7573aa3be5 Fix typo in previous (should have ended the line with &&). 2005-02-14 16:31:41 +00:00
tv
ded6da1cc5 Remove "test ... -ef ...", which is unportable. Currently this is causing
syntax errors (and unchanged example files to be left behind) on Interix;
it probably causes a problem on others.

(This test appears to work around a case where two files were exactly the
same by inode, and have the script *not* delete the file in that case.
I'm not exactly sure why that is desirable at all.)
2005-02-14 16:30:35 +00:00
reed
d96e3ad00d chown on AIX is at /usr/bin/chown.
Thanks to Roland, Hubert, and Noud for the PR.
This will close PR #28208.
2005-02-13 04:33:24 +00:00
rillig
b791494593 Corrected a misspelling of a variable. I used $rebooted in a shell code,
which had better been $$rebooted (Makefile quoting). Approved by jlam.
2005-02-13 03:49:12 +00:00
rillig
0fff1d5ac8 Don't use the -nt operator for ${TEST}. It is not defined in POSIX, and
not provided by the Solaris 9 /bin/sh. Use the find(1) -newer expression
instead, as it expresses exactly what we want, compared to the "ls -t"
hack.
2005-02-12 00:27:41 +00:00
tv
239f7cd34f Whitespace formatting nits. 2005-02-11 17:00:07 +00:00
tv
79ba5ea33a Consolidate PLIST_SRC default generation and the plethora of failsafe
error checks into labelled blocks toward the top of the file.

While here, remove the historic (now completely empty; it was replaced by
PKG_FAIL_REASON some time ago) uptodate-pkgtools target and the references
to it.
2005-02-11 16:57:45 +00:00
tv
614ff30790 Visual cleanup from tv-derecurse:
Consolidate many MAKE_ENVs and SCRIPTS_ENVs into a common block.
(CONFIGURE_ENVs to be done later.)

Introduce new variable ALL_ENV which is automatically included into all
of MAKE_ENV, SCRIPTS_ENV, and CONFIGURE_ENV; this allows much cleaner
addition of the common CC/CXX/CFLAGS/etc. variables needed by all of these.
2005-02-11 16:36:49 +00:00
tv
4c2cccef33 Migrate the big block of USE_PERL5 and PERL5_REQD logic to bsd.pkg.use.mk. 2005-02-11 16:15:53 +00:00
tv
4b3f94acc8 Migrate several USE_* logic blocks, previously sprinkled liberally
throughout bsd.pkg.mk, to labelled blocks in bsd.pkg.use.mk.
2005-02-11 16:11:36 +00:00
tv
c0a3d0489f Cleanup from tv-derecurse:
There's no need to check for a do-tools target; nothing should override it.
Vertically consolidate the dependency.
2005-02-11 15:59:41 +00:00
tv
5655fbe984 Merge down some more visual cleanup from tv-derecurse to reduce divergence.
Part of this, introduce bsd.pkg.use.mk, where the Special Logic invoked
by various pkgsrc-wide USE_* variables will be migrated/consolidated.
2005-02-11 15:55:13 +00:00
grant
3f3afebafb on Linux, we need more than just /proc in the sandbox. :) 2005-02-10 03:20:00 +00:00
grant
8d3845ae65 add planetmirror to MASTER_SITE_PERL_CPAN for Australia. 2005-02-10 02:56:03 +00:00
tv
98dbee99d5 Fix Interix user/group failsafe so that it works on PKG_USERS with \\ in them. 2005-02-09 23:56:10 +00:00
gavan
b93161d47c Replace _IGNORE_USE_GNU_TOOLS with finer-grained exclusion.
This solves the problem of building GNU tools that explicitly or
implicitly depend on other GNU tools. This problem has presented a
bootstrap issue on platforms with few GNU tools, especially where
USE_PKGSRC_GCC is used.

Based on a patch posted by sketch on tech-pkg in December 2003.
2005-02-09 22:10:19 +00:00
tv
f861bb40ef Split out wget's options into an options.mk.
Migrate WET_USE_SSL to PKG_OPTIONS.wget=ssl (on by default, as previously).
2005-02-09 17:51:47 +00:00
tv
7e17264955 "replace" should depend on ${_PKGSRC_BUILD_TARGETS}, just like "install". 2005-02-09 16:03:47 +00:00
abs
1dafbf13a4 default SUSE_PREFER to 9.1 on NetBSD-2.0 and later 2005-02-09 15:53:50 +00:00
jlam
bccaba8d4b Instantly deprecate USE_PAM from pkgsrc as its value is being set from
within NetBSD-current's bsd.own.mk, which conflicts with its usage in
pkgsrc.  The package that use USE_PAM have been converted to use the
bsd.options.mk framework.  This should fix PR pkg/29257.
2005-02-07 11:35:41 +00:00
jlam
d270a2b2ea The lists of ghostscript version patterns should match all ghostscript
versions (minus any PKGREVISIONs) less than or equal to the latest
version of each ghostscript available in pkgsrc (minus any PKGREVISIONs).
For example, if the print/ghostscript-esp is at 7.10, then the list of
patterns for ghostscript-esp should match all versions <=7.10, which is

	[0-6].* 7.[0-9]* 7.10
2005-02-07 07:18:40 +00:00
dan
690664a68f pg80 is now in databases, not wip 2005-02-07 04:12:49 +00:00
dan
3d6fb6d7cf don't recognise pg80 as pg74 also 2005-02-07 04:07:13 +00:00