summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2015-10-29Make sure the pbulk user is created with /bin/sh as shell,he1-2/+2
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-29Perform signing at the staged package stage rather than only during thejperkin1-17/+19
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-28Add plotutils option.leot1-0/+1
2015-10-28Describe cerf option.wiz1-2/+3
2015-10-27add asterisk-config optionjnemeth1-0/+1
2015-10-26GCC on SunOS supports a non-standard -mimpure-text argument which clangjperkin1-1/+6
does not have, so remove it unconditionally in the latter case. Fixes various packages.
2015-10-25Describe a vlc option.wiz1-0/+1
2015-10-25Describe two options. From Rin Okuyama in PR 50363.wiz1-0/+2
2015-10-24Unhook further PG 8.4 and 9.0 redirection.joerg1-7/+1
2015-10-24Drop EOLed PostgreSQL 8.4 and 9.0 from the supported list of PGjoerg1-2/+2
versions.
2015-10-19Don't encode the github tag into the distfile name if we are packagingtnn1-2/+2
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-17Add the mapping for amd64 to its GNU architecture name x86_64.sevan1-1/+2
Needed for switching OpenBSD/amd64 & Bitrig/amd64 to x86_64. Reviewed by wiz@
2015-10-14Switch from x11/Xaw3d to newer x11/libXaw3d.wiz1-2/+2
Adapt some packages so they build with that. Bump their PKGREVISIONs.
2015-10-12Now that it looks like SHA1 is getting closer to its end of life, addagc1-2/+2
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-12Support compressed manual pages with 3am and 3f suffixes.jperkin1-2/+2
2015-10-10Update MASTER_SITE_OSDN server names.ryoon1-3/+3
2015-10-10Append to PKG_FAIL_REASON rather than setting it so we don't overwrite otherjperkin1-2/+2
potentially more useful failure messages.
2015-10-10Set PKG_FAIL_REASON with a useful failure message if we cannot find an SDK.jperkin1-5/+7
2015-10-09Correction to the previous: we must use ${GREP} -E, there's no ${EGREP} here.he1-2/+2
2015-10-08Extend the pattern matching the -v output from pcc.he1-2/+2
2015-10-08accidental ommission of a suppressed linerichard1-2/+1
2015-10-08Quick workaround for groff tools issue per joerg@richard1-8/+5
Still needs, as many tools, TLC to simplify tools.*.mk as well as adding a builtin check.
2015-10-08OSX El Capitan has an interesting file system bug which allows a deepjperkin1-1/+8
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-07Support .3am (lang/gawk) and .3f (math/udunits) cat/man page suffixes, fixingjperkin1-17/+12
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-05Re-order the way _OPSYS_INCLUDE_DIRS is calculated, and only perform checks forjperkin1-11/+15
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-03Add a list of options to generated README.html files. Patch frombsiegert4-10/+82
Daniel Loffgren on tech-pkg, slightly modified by me to use dl tags.
2015-09-25define TOOLS_PLATFORM.ld in tools.SunOS.mkrichard1-1/+6
2015-09-24describe xatracker option (will be used by MesaLib-11.0.1)tnn1-0/+1
2015-09-19Alter the behaviour of the "fetch" executable to accept zero download sitesdsainty1-4/+4
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-14Reorder and fix logic snafu.joerg1-3/+3
2015-09-13Introduce IGNORE_INTERACTIVE_FETCH to allow trying to fetch files fromjoerg2-3/+14
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-13Add vera-ttf-license as DEFAULT_ACCEPTABLE_LICENSES.leot1-1/+5
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-12describe llvm optiontnn1-0/+1
2015-09-11Delete liferea-* options (no longer used by www/liferea, since liferea>=1.6.0).leot1-2/+0
2015-09-11Ensure the dependency is satisfied by gcc48 rather than potentially pullingjperkin1-3/+2
in the gcc48-libs package which isn't supported at this time.
2015-09-10Pull in gcc48 as a full dependency. We don't yet have the fine-grainedjperkin1-1/+3
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_OPSYS_LIB_DIRS entries must be space-separated, not colon.jperkin1-2/+2
2015-09-08Make the post-fetch hook a bit more useful by also handing down the URLjoerg2-6/+8
the file was obtained from. This makes it easier to skip any local mirrors.
2015-09-08Ensure OBJECT_FMT is set to ELF on Linux rather than relying on the NetBSDjperkin1-1/+3
MAHCINE_ARCH settings in bsd.own.mk. Fixes at least Sevan's arm64 host.
2015-09-08Remove NetBSD 0.x and 1.x settings, these have long since been unsupported.jperkin4-35/+5
2015-09-08Add a hook for running an action after a successful fetch.joerg3-6/+21
This is intended for keeping distfile archives synchronised between different machines without requiring NFS mounts or the like.
2015-09-07Remove warning about 'make replace' being experimental.gdt1-2/+1
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-07Support .so.* files if they exist and are explicitly listed in thejperkin1-1/+5
PLIST instead of just .so files. Fixes a number of packages on Darwin.
2015-09-07Disable the strip flag for install(1) by default on Darwin. When calledjperkin1-2/+6
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-07Switch to globbing for package symlinks to delete. This provides significantjperkin1-3/+3
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-07Add description for the eai optionfhajny1-0/+1
2015-09-05Commence deprecation of logic related to detecting the presence of X11 on thesevan1-5/+6
host and whether to use native or pkgsrc components. With the use of builtin.mk in packages, these tests are superfluous and can prevent the builtin.mk detection mechanism from working correctly. Discovered on OpenBSD where X11_TYPE native was being used but the native MesaLib wasn't because a test to check the presence of xorgversin.def failed, forcing MesaLib to be added to $PREFER_PKGSRC. Change leading if statement to default to an empty $PREFER_PKGSRC with OpenBSD & Bitrig defaulting to this, remaining platforms should also be moved here after testing, this is in preperation for replacing the block with just the default value for $PREFER_PKGSRC. Put together with instruction from jperkin@ Reviewed by jperkin@ wiz@
2015-09-01Default to pkgsrc openssl from OSX Lion / 10.7 onwards, where the nativejperkin1-1/+4
openssl is marked as deprecated. This causes failures in pkg_install now that WARNS works correctly (-Werror,-Wdeprecated-declarations).
2015-08-28Remove descriptions for removed options.wiz1-4/+0
2015-08-20Document memcached and sphinx options.jperkin1-0/+2