Commit graph

8925 commits

Author SHA1 Message Date
leot
aff1d75674 Fix a typo in a comment. 2015-11-08 03:21:46 +00:00
sevan
a34c13abf3 MACHINE_ARCH for Bitrig/amd64 is now set to x86_64
Ammend if statement
2015-11-07 23:46:28 +00:00
sevan
93d320158c With OpenBSD/amd64 & Bitrig/amd64 switched to using MACHINE_ARCH=x86_64,
amd64 no longer needs to be accounted for specifically.
Remove redundant references.


Reviewed by wiz@
2015-11-07 20:00:19 +00:00
sevan
4de02a05c5 Add the necessary logic for setting Bitrig/amd64 to Bitrig/x86_64.
Switch to using arch(1) to populate $LOWER_ARCH on Bitrig

Reviewed by wiz@
2015-11-07 19:53:49 +00:00
sevan
266cff67cd Add the necessary logic for setting OpenBSD/amd64 to OpenBSD/x86_64.
Reviewed by wiz@
2015-11-07 13:35:44 +00:00
he
d5b3e2619b Make sure the pbulk user is created with /bin/sh as shell,
at least on NetBSD.  Trying to build with /bin/csh as login
shell leads to a rather cryptic "Illegal variable name" error
message for all bulk-built packages.
2015-10-29 22:12:04 +00:00
jperkin
f67ff360ae Perform signing at the staged package stage rather than only during the
copy to the target pkgfile.  Ensures consistency at all stages, means we
can support verifying the signature at install time, and also fixes signed
packages with recent pbulk changes which now invoke 'stage-package-create'
rather than 'package'.
2015-10-29 20:09:28 +00:00
leot
10aea8fb82 Add plotutils option. 2015-10-28 20:06:51 +00:00
wiz
44d87b77e4 Describe cerf option. 2015-10-28 19:02:54 +00:00
jnemeth
05d786d6c8 add asterisk-config option 2015-10-27 08:50:45 +00:00
jperkin
f0a45a9e36 GCC on SunOS supports a non-standard -mimpure-text argument which clang
does not have, so remove it unconditionally in the latter case.  Fixes
various packages.
2015-10-26 09:33:16 +00:00
wiz
1ab1ae5d04 Describe a vlc option. 2015-10-25 10:56:47 +00:00
wiz
7c35ba72d8 Describe two options. From Rin Okuyama in PR 50363. 2015-10-25 10:14:27 +00:00
joerg
35841dc13b Unhook further PG 8.4 and 9.0 redirection. 2015-10-24 21:21:26 +00:00
joerg
b7008c73ea Drop EOLed PostgreSQL 8.4 and 9.0 from the supported list of PG
versions.
2015-10-24 21:18:12 +00:00
tnn
351c726fe7 Don't encode the github tag into the distfile name if we are packaging
a github release and the release version happens to look like a tag.
(a date like 20150714 could be misinterpreted as a git "short SHA")
2015-10-19 14:24:26 +00:00
sevan
5481fd2fed Add the mapping for amd64 to its GNU architecture name x86_64.
Needed for switching OpenBSD/amd64 & Bitrig/amd64 to x86_64.

Reviewed by wiz@
2015-10-17 01:50:46 +00:00
wiz
d15f48992a Switch from x11/Xaw3d to newer x11/libXaw3d.
Adapt some packages so they build with that.
Bump their PKGREVISIONs.
2015-10-14 20:17:24 +00:00
agc
f8e65d3863 Now that it looks like SHA1 is getting closer to its end of life, add
the SHA512 digest to the mix of digests we keep for each distfile.

All part of providing stronger digests for pkgsrc, as discussed on
tech-pkg recently, with unanimous agreement.  There will be further
changes in this area in the near future, as we transit away from
reliance on SHA1 and RMD160.

New distinfo files will gain a SHA512 digest entry.  Existing
verification of distinfo files will just use the SHA1 and RMD160
digests which exist right now.
2015-10-12 18:23:48 +00:00
jperkin
9b32afd280 Support compressed manual pages with 3am and 3f suffixes. 2015-10-12 09:08:22 +00:00
ryoon
955e585ec0 Update MASTER_SITE_OSDN server names. 2015-10-10 15:17:17 +00:00
jperkin
4b29fd757a Append to PKG_FAIL_REASON rather than setting it so we don't overwrite other
potentially more useful failure messages.
2015-10-10 13:13:45 +00:00
jperkin
2385012594 Set PKG_FAIL_REASON with a useful failure message if we cannot find an SDK. 2015-10-10 13:12:50 +00:00
he
076c67fb2c Correction to the previous: we must use ${GREP} -E, there's no ${EGREP} here. 2015-10-09 17:27:09 +00:00
he
d734d0f99c Extend the pattern matching the -v output from pcc. 2015-10-08 21:09:53 +00:00
richard
a182cf16d2 accidental ommission of a suppressed line 2015-10-08 18:16:31 +00:00
richard
b8ac1f30b0 Quick workaround for groff tools issue per joerg@
Still needs, as many tools, TLC to simplify tools.*.mk as well as adding
a builtin check.
2015-10-08 17:17:23 +00:00
jperkin
8c5fa136b6 OSX El Capitan has an interesting file system bug which allows a deep
directory hierarchy to be created but not removed.  This is triggered by
the GNU getcwd-path-max.m4 configure test used in lots of GNU software,
and causes the builds to fail in pbulk as 'make clean' cannot complete.

For now we provide a cached result for the test to avoid running it,
using a 'no' value as the test is for a specific glibc bug.

This bug has been brought to Apple's attention by the NixOS developers,
raised as https://openradar.appspot.com/radar?id=6160634819379200.  For
now we mark only 10.11.0 (15.0.0) as having the bug - it remains to be
seen whether Apple will fix it in the upcoming .1 release.
2015-10-08 11:36:00 +00:00
jperkin
a2a6924a60 Support .3am (lang/gawk) and .3f (math/udunits) cat/man page suffixes, fixing
builds with PKGMANDIR=share/man for those packages.

Put the regexes into variables to make it easier to add more in the future.
2015-10-07 09:56:14 +00:00
jperkin
348b937c46 Re-order the way _OPSYS_INCLUDE_DIRS is calculated, and only perform checks for
the SDK path if we need to.

This avoids issues on Yosemite and Xcode 7, which drops support for the 10.10
SDK.  Trying to determine the SDK path fails, but the failure is not cached in
the xcrun database, so each call to a compiler tool is unecessarily delayed (by
around 3 seconds on my build hosts).

For users still on Yosemite who have upgraded to Xcode 7, the solution is to
install the Command Line Tools so that /usr/include is populated and used.
2015-10-05 17:06:22 +00:00
bsiegert
f0d23e414a Add a list of options to generated README.html files. Patch from
Daniel Loffgren on tech-pkg, slightly modified by me to use dl tags.
2015-10-03 13:17:57 +00:00
richard
4ae0f0183f define TOOLS_PLATFORM.ld in tools.SunOS.mk 2015-09-25 01:57:56 +00:00
tnn
3994ae0d89 describe xatracker option (will be used by MesaLib-11.0.1) 2015-09-24 22:59:11 +00:00
dsainty
004b23284b Alter the behaviour of the "fetch" executable to accept zero download sites
as an acceptable input.

Fixes Pkgsrc for users that set PKG_RESUME_TRANSFERS=yes in their mk.conf if
installing a package that has an interactive fetch stage, after
mk/fetch/fetch.mk revision 1.66.

Tested for all combinations of:

+ PKG_RESUME_TRANSFERS=yes/no; and
+ interactive fetch=yes/no; and
+ distfile=downloaded/not downloaded

... with no signs of misbehaviour.

The specific case that was broken, and this change fixes, is:

+ PKG_RESUME_TRANSFERS=yes; and
+ interactive fetch=yes; and
+ distfile=downloaded

This change was designed with the following considerations:

1. Given it's a freeze, keep it simple.

2. The change in behaviour allows 'fetch' to succeed where it would previously
   fail fatally, so it's unlikely to affect any (intentional) existing
   behaviour in Pkgsrc.

3. The behaviour of 'fetch' with zero sites is essentially the same as a
   fetch where all the possible download sites fail, I.e. Pkgsrc already
   expects to handle such behaviour.

ok gdt@
2015-09-19 11:45:56 +00:00
joerg
cfc3e94d33 Reorder and fix logic snafu. 2015-09-14 08:27:13 +00:00
joerg
7612f47233 Introduce IGNORE_INTERACTIVE_FETCH to allow trying to fetch files from
the override site, even for INTERACTIVE_STATE=stage or FETCH_MESSAGE.
Ignore all backup sites as they won't have the distfile anyway, the
fetch wouldn't be interactive in first place otherwise.
2015-09-13 15:03:57 +00:00
leot
9891cbb6a8 Add vera-ttf-license as DEFAULT_ACCEPTABLE_LICENSES.
The vera-ttf-license is neither approved by OSI nor FSF but it is mostly in line
with Free Software principles. It is also accepted by the DFSG.

Discussed on tech-pkg@:

 http://mail-index.netbsd.org/tech-pkg/2015/09/10/msg015570.html
2015-09-13 11:22:22 +00:00
tnn
815a232339 describe llvm option 2015-09-12 16:56:21 +00:00
leot
2e87702d6d Delete liferea-* options (no longer used by www/liferea, since liferea>=1.6.0). 2015-09-11 15:41:31 +00:00
jperkin
0d3f90c1e9 Ensure the dependency is satisfied by gcc48 rather than potentially pulling
in the gcc48-libs package which isn't supported at this time.
2015-09-11 15:23:21 +00:00
jperkin
46bed0257b Pull in gcc48 as a full dependency. We don't yet have the fine-grained
approach of gcc.mk to only pull in when required, but this fixes a lot of
packages which previously failed check-shlibs.
2015-09-10 19:52:57 +00:00
jperkin
d81e076eb6 _OPSYS_LIB_DIRS entries must be space-separated, not colon. 2015-09-10 19:49:58 +00:00
joerg
d047710b53 Make the post-fetch hook a bit more useful by also handing down the URL
the file was obtained from. This makes it easier to skip any local
mirrors.
2015-09-08 12:37:56 +00:00
jperkin
8a8b2cd412 Ensure OBJECT_FMT is set to ELF on Linux rather than relying on the NetBSD
MAHCINE_ARCH settings in bsd.own.mk.  Fixes at least Sevan's arm64 host.
2015-09-08 12:07:55 +00:00
jperkin
e5e50a0024 Remove NetBSD 0.x and 1.x settings, these have long since been unsupported. 2015-09-08 11:36:34 +00:00
joerg
0cf087a0ae Add a hook for running an action after a successful fetch.
This is intended for keeping distfile archives synchronised between
different machines without requiring NFS mounts or the like.
2015-09-08 11:13:12 +00:00
gdt
553cac4a33 Remove warning about 'make replace' being experimental.
Lots of people have been using make replace for many years, at least
since 2006.  It hasn't been experimental for most of those years, and
there have been no reports of "data loss".
2015-09-07 19:23:47 +00:00
jperkin
1a8008f9b5 Support .so.* files if they exist and are explicitly listed in the
PLIST instead of just .so files.  Fixes a number of packages on Darwin.
2015-09-07 15:30:25 +00:00
jperkin
7af5418044 Disable the strip flag for install(1) by default on Darwin. When called
without arguments, strip(1) will attempt to strip all symbols by default,
and when it is unable to do this will fail with a non-zero exit status.

Passing '-u -r' to strip(1) would in theory resolve the issue, but there
is no simple of way of doing this due to the way strip is called by the
native install program through XCode.  We would need to build a patched
bsdinstall for Darwin, so for now we just disable stripping on install,
as many packages have had to do individually up until now.
2015-09-07 11:48:35 +00:00
jperkin
74fa23ab2a Switch to globbing for package symlinks to delete. This provides significant
performance improvements on at least OSX and SunOS, where each file is stat'd
rather than just the links we are looking for, especially with large package
directories over NFS.
2015-09-07 11:02:28 +00:00