Commit graph

8891 commits

Author SHA1 Message Date
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
fhajny
601476abdb Add description for the eai option 2015-09-07 09:51:53 +00:00
sevan
27160fa215 Commence deprecation of logic related to detecting the presence of X11 on the
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-05 21:25:30 +00:00
jperkin
e278916c18 Default to pkgsrc openssl from OSX Lion / 10.7 onwards, where the native
openssl is marked as deprecated.  This causes failures in pkg_install now
that WARNS works correctly (-Werror,-Wdeprecated-declarations).
2015-09-01 11:12:30 +00:00
wiz
b10b081e2e Remove descriptions for removed options. 2015-08-28 07:47:48 +00:00
jperkin
ccc53d4613 Document memcached and sphinx options. 2015-08-20 12:26:46 +00:00
jperkin
f648dfa7c3 Introduce support for checking Mach-O dynamic libraries.
This works in a similar way to the ELF checks, but uses otool(1) to list the
library name and its dependencies, and the checks fail if there are WRKDIR
references or if the -install_name of the library does not match $PREFIX, as
well as ensuring that any libraries from pkgsrc are correctly registered as
full dependencies.

Removes support for the user to set USE_CHECK_SHLIBS_ELF, but there were no
reasonable reasons for doing so in the past anyway, and it may be masking
issues in platform files we should fix.
2015-08-17 17:35:23 +00:00
jperkin
6652f12ad9 Fix check-shlibs regular expression to match .dylib/.sl the same as .so 2015-08-17 16:39:13 +00:00
ryoon
38bdec5e72 Set openjdk8 as default on NetBSD 5 or later.
openjdk7 is no longer updated and it is vulnerable.
2015-08-12 01:06:45 +00:00
ryoon
618d723ff4 Anonymous ftp service of ftp.mozilla.org is no longer provided. 2015-08-11 23:41:41 +00:00
khorben
8ce191e1e1 Add support for building with fortify
This is pretty much the same change as with SSP, and completes it with
support for fortify (like USE_FORT in NetBSD's base system). Like SSP, this
is disabled by default for the moment. Like in NetBSD's base system,
enabling fortify explicitly also enables SSP by default - but SSP can still
be disabled explicitly in this situation.

All four combinations tested on NetBSD/amd64.
2015-08-10 21:44:34 +00:00
jperkin
9bf217a5cb Fix typo in local variable name. 2015-08-10 15:11:47 +00:00
dholland
78c137ddf2 Construct rc.d scripts in a subdirectory of WRKDIR (.rc.d/) instead of
right in it, to avoid name conflicts. PR 39271.
2015-08-10 05:41:10 +00:00
markd
e68252f20e Add lppl-1.0 license. 2015-08-02 02:12:33 +00:00
khorben
f8c9df2a2f More efficient check if SSP is enabled
With this change, the check if the current architecture is supported is
only performed if SSP is enabled in the first place. This should not
change the current behavior; tested on NetBSD/amd64.

Suggested by wiz@
2015-07-27 23:37:38 +00:00
khorben
ae79ea7d78 Add support for compiling with stack-smashing protection
This is enabled with PKGSRC_USE_SSP in mk.conf(5), as documented there.
Most NetBSD platforms are supported (when compiling with gcc).

After consensus on tech-pkg@.
2015-07-26 22:13:17 +00:00
sevan
2e45b2e256 Introduce $LOWER_VARIANT_VERSION, this is used to store version info for variant
Operating Systems.
For SmartOS, store the result from running uname -v & trimming the joyent_
prefix.
For OmniOS, store the result from processing /etc/release with awk(1)


Reviewed by joerg@ bsiegert@
2015-07-25 15:11:09 +00:00
dholland
25dd16d4fe Remove old custom www/links options. From PR 50072. 2015-07-20 23:06:36 +00:00
wiedi
6bd4b3b644 Detect arm-linux-gnueabihf correctly 2015-07-18 15:08:43 +00:00
wiz
23690511f0 zpl -> zpl-2.0, add zpl-2.1 2015-07-17 06:45:22 +00:00
ryoon
a12c1aca05 Add gcc5 support. 2015-07-16 12:09:04 +00:00
rodent
37cc4aac9e Add https://download.gnome.org/ to MASTER_SITES_GNOME. 2015-07-12 20:29:58 +00:00
ryoon
2ed142506d Sort. Move ODSN mirror. 2015-07-11 07:05:39 +00:00
rodent
9581e66cf1 Enabling handling of pypi packages. No opposing comments received in
private mail nor on tech-pkg@ since the posting. Will begin the slow
transition of packages to use this feature as they're updated.
2015-07-06 05:03:33 +00:00
joerg
11d2712a27 Remove USE_X11BASE and X11PREFIX. 2015-07-04 16:18:28 +00:00
joerg
5846252bb2 Add one more variable that controls PREFIX. 2015-07-04 15:46:18 +00:00
ryoon
eef963f5da Fix QNX bootstrap.
From Jan Danielsson.
2015-07-04 07:15:22 +00:00
tron
fc671b3ed5 Don't use "/bin/ksh" as wrapper shell under Mac OS X Mavericks. It was
previously excluded for a good reason.
2015-07-01 17:47:14 +00:00
ryoon
43f9e507bc Remove mozilla-enigmail option. 2015-07-01 13:03:11 +00:00
rodent
8fca1d2848 Add support for Python Package Index (pypi) master site handling.
This is commented for now in bsd.fetch.mk pending 48 hours of feedback on
tech-pkg@.
2015-07-01 00:55:34 +00:00
rodent
65254ed423 pkglint didn't like my proposed format for this file.
Reverting to convention.
2015-07-01 00:45:35 +00:00
rodent
dba05b1b20 Add MASTER_SITE_PYPI, which is going to be used in pypi.mk in a bit.
This entire file needs:
	1) collation;
	2) the EOL escapes removed and turned into proper lists;

Otherwise, it's a bit painful to read.
2015-06-30 23:11:18 +00:00
ryoon
7110bb1f60 Rename MASTER_SITE_SOURCEFORGE_JP to MASTER_SITE_OSDN.
sourceforge.jp is renamed to osdn.jp.
However its mirror sites are not ready for osdn.jp.
2015-06-29 11:06:46 +00:00
adam
d223dd19c2 Always use current system version SDK avoiding future SDKs, because this makes unuable binaries; use ksh as wrapper script on newer systems as well 2015-06-26 13:51:57 +00:00
jperkin
0b50d6bf86 Don't use the platform /usr/bin/pkg-config. As per PR#49982 it causes
problems that are fixed by using the pkgsrc version, and no platform
other than Cygwin tries to use a native version.

Consensus is that due to the limited impact and clear benefit this is
ok to go in during the freeze despite being an infrastructure change.
2015-06-19 15:22:44 +00:00