Commit graph

8834 commits

Author SHA1 Message Date
joerg
9ac8fcc75b Let's unconditionally depend on useradd on NetBSD. It has been in base
since 1.4 at least.
2015-05-26 10:08:37 +00:00
mef
7348ab3bc2 Add json (for net/lldpd for the moment). 2015-05-23 06:38:35 +00:00
sevan
392fe1c36f The path to SU is correct
type is a shell builtin on the bundled OpenBSD pdksh
Remove comment as instructed by comment.
Checks performed on OpenBSD 5.7-current
2015-05-21 17:15:48 +00:00
tsutsui
9dbfb4af6e ftp.dti.ad.jp is not working for several years.
Per debian-mirrors:
https://lists.debian.org/debian-mirrors/2014/07/msg00013.html
2015-05-16 20:02:21 +00:00
sevan
98f4407ec4 For 64bit little endian PowerPC hosts running Linux
Set the ABI to 64 bit
Define the suffix appended to the locations in the library search path

Reviewed by bsiegert@
2015-05-08 20:28:30 +00:00
wiz
2000d3d19c Add lppl-1.2, an older version of lppl-1.3c, and add it to default-allowed
like the 1.3c version.
2015-05-08 10:37:32 +00:00
joerg
81428e7010 Drop _LIBTOOL and _SHLIBTOOL and make LIBTOOL and SHLIBTOOL point to the
wrapped version by full path. This fixes some cases where the wrappers
have been bypassed. lang/lua52 triggered the investigation as it failed
to link against libreadline, which should have been translated to
libedit. Tested by jperkin and myself with full bulk builds.
2015-05-04 19:23:19 +00:00
mef
b7f0fcc7ec I believe this is correct -> ftp://ftp.kde.org to http://download.kde.org 2015-05-04 12:20:43 +00:00
joerg
e653c23aa8 PR 49877: Expand correct variable. From Greg Onufer. 2015-05-03 23:16:41 +00:00
spz
4d1aa92952 fix compat60 (and strip down a lot to a backward compatibility package
to NetBSD 6.1)
introduce compat61 (and compat61-x11 with it) as a backward compatibility
	package to NetBSD 7
add compat61* to mk/emulator/netbsd-compat.mk and emulators/Makefile

some sort of version for the binary compat packages might have been
useful, maybe abusing the DIST_SUBDIR? compat61 is likely to change
if/when NetBSD 6.2 is released
2015-05-03 15:01:11 +00:00
wiz
8ab127a536 Add the GUST Font Source License (GFSL) from
http://ctan.org/license/gfsl

Since this is basically the LaTeX Project Public License with one clause
removed, add it to the default acceptable licenses.
(lppl is fine with both OSI and FSF and already allowed.)
2015-05-02 13:21:37 +00:00
jperkin
1a2757e82f Introduce _USE_CWRAPPERS logic to ensure consistency, USE_CWRAPPERS could
differ between a package and user setting, resulting in incorrect WRAPPER_*
values being set from wrapper-defs.mk.
2015-04-29 14:23:23 +00:00
jperkin
7ef3ff730f Use a single egrep and regexp instead of iterating over the list of files to
check and calling grep on each of them.  Idea for using ":ts|" from Joerg.

Reduces the test runtime by around 50%, depending on platform and package.
2015-04-29 13:39:43 +00:00
jperkin
bb4c5026e6 Only check executable files for valid interpreters. By the time this check is
performed all installed files should have their correct mode set, and there are
no INSTALL scripts that currently change file modes under PREFIX after
installation (nor should they ever).

This change considerably speeds up the test.  For example in www/firefox-l10n
the time to run the test reduces from 181 seconds (135 seconds of system time)
down to 10 seconds (6 seconds system time) on my SmartOS build systems.
2015-04-29 13:05:28 +00:00
jperkin
c79e6c9aef Move cwrappers WRAPPER_DIR and WRAPPER_BINDIR to wrapper-defs.mk, it is
included by bsd.prefs.mk so we need to ensure consistency.
2015-04-28 21:15:01 +00:00
jperkin
614cc638cc Ensure the wrapper directories are created before WRAPPER_TARGETS. 2015-04-28 21:08:34 +00:00
jperkin
d040a0e7c5 Split cwrappers from legacy wrappers. We no longer generate the legacy
wrappers when USE_CWRAPPERS is enabled, saving a reasonable amount of
I/O during builds, mostly due to avoiding the transform/untransform sed
file generations.

WRAPPER_DIR and WRAPPER_BINDIR are used by various packages to override
or point to specific wrappers, and these now point to the cwrappers
directory when enabled, removing the need for CWRAPPERS_BIN_DIR
duplication and fixing packages which previously were using legacy
wrappers by accident.

A number of targets are now duplicated between bsd.wrapper.mk and
cwrappers.mk, the intention being that the legacy wrappers will be
deprecated once cwrappers is verified on all supported platforms.  If
that turns out to take longer than expected, we will probably want to
introduce a wrapper.mk to abstract them away before loading the
appropriate back-end.
2015-04-27 19:59:07 +00:00
jperkin
6c2c920fd0 Remove ECHO_WRAPPER_MSG and just use ECHO_BUILDLINK_MSG, which was set
to the same value anyway.  Also removes a comment from 2005 which was
possibly wrong at the time it was committed, given the same construct
has been used in bsd.buildlink3.mk unchanged since 2004.
2015-04-27 19:38:03 +00:00
tnn
a0c69e7229 correct MACHINE_ARCH and compiler flags for HP-UX 64-bit ABI 2015-04-27 10:33:49 +00:00
tnn
b01007a2ee revert rev. 1.7. Although it should be correct in theory it interacts
with the build of some packages in subtle ways, and needs more testing.
2015-04-26 07:59:58 +00:00
wiz
090d63ebea Improve xaw3d description. 2015-04-26 07:42:51 +00:00
mef
4d62ceed4a Rename options emacs-xaw3d to simply xaw3d. Ref:
http://mail-index.netbsd.org/pkgsrc-users/2015/04/24/msg021447.html
2015-04-26 05:54:29 +00:00
wiz
e427a26a70 Fix typo in comment. 2015-04-25 22:26:41 +00:00
tnn
771073a47d If we have -Wl,--whole-archive -lfoo -lbar -Wl,--no-whole-archive
surrounding a list of static libraries, we must preserve that order so the
effect of --whole-archive is as intended by the package.
cwrappers does this correctly but classic wrappers didn't.
2015-04-25 22:15:38 +00:00
wiz
e5bc6be59d Sort, and add a keyword. 2015-04-25 11:28:08 +00:00
wiz
3edd7dcf75 Finish move of lang/gcc to lang/gcc2.
Let me know if I broke something.
2015-04-25 10:33:29 +00:00
reinoud
a3e0d91d38 Remove esdl from the list of default acceptable licences.
My bad, should have looked more clearly at the name of the list... DUH!

Thanks Thomas :)
2015-04-25 10:18:42 +00:00
reinoud
253eff1406 Add esdl license 2015-04-24 18:53:00 +00:00
joerg
cd74494def Add a new ulimit modifier for cputime. Support raising limits for
package creation.

There are very few things in pkgsrc that needs more than one hour per
process on decently fast hardware, so setting that as (soft) limit for
bulk builds avoids the infinite loops seen in some other packages. There
are a few select exceptions, i.e. flightgear-data needs more than one
hour for pkg_create when using xz. This flag allows selectively giving
those places more time without wasting resources in the broken cases.
2015-04-21 17:01:55 +00:00
alnsn
2ca9b78150 Add cython option. 2015-04-20 19:54:50 +00:00
hiramatsu
d5748f49ad Add PRINT_PLIST_AWK code to put ${OCAML_SITELIB} into generated PLIST.
OK'ed by jaapb@ in private mail.
2015-04-20 02:36:05 +00:00
rodent
908c6610ac DEFAULT_ACCEPTABLE_LICENSES+=w3c 2015-04-19 22:18:19 +00:00
tnn
1706e60098 NOLOGIN needs to be /usr/bin/false here. Probably copy-pasto from OSF1.mk. 2015-04-19 12:02:15 +00:00
tnn
19daf0cc07 fix typo in comment 2015-04-19 09:21:33 +00:00
joerg
7049152f2f Specify safer WRKSRC for meta packages. As they don't extract files,
they won't create the subdirectory either. Since the SUBST targets try
to change to WRKSRC first, they fail. This is seen with meta packages
depending on Freetype2 when using X11_TYPE=native.
2015-04-19 01:37:55 +00:00
tnn
e9d8d4a3f7 fix comment about pkgtools/compat_headers 2015-04-18 22:56:19 +00:00
joerg
e7863e1a9d Until there is evidence to the contrary, provide _COMPILER_ABI_FLAG on
all platforms.
2015-04-18 19:53:59 +00:00
jperkin
47daaded56 Default to the native getopt when available. 2015-04-17 08:22:30 +00:00
jperkin
19d9cf3aa3 Stop defaulting to the builtin mit-krb5, it's an old copy which is
unlikely to be updated any time soon, and is preventing some Samba
Kerberos features from working correctly.
2015-04-17 08:21:01 +00:00
hiramatsu
b0ae152e30 Add cdb option description. 2015-04-17 02:23:42 +00:00
ryoon
af4ff71f1c Add mariadb55 support. 2015-04-16 20:24:15 +00:00
wiz
83ecb30be6 Add support for webp and xslt, needed for wip/skype4. 2015-04-12 12:21:29 +00:00
wiz
df64bca233 Describe secret option (hush!) 2015-04-08 05:31:00 +00:00
fhajny
45199e0811 Add lmdb option description 2015-04-07 08:59:05 +00:00
rodent
4e96f8ebfa Some updates:
* Test for /usr/sbin/chgrp (it's a link, but hey);
* Test for /usr/sbin/openssl as an alternative location. There is no entry
  in /usr/bin (at least in OpenBSD 5.6);
* /usr/bin/tbl doesn't exist in OpenBSD 5.6, so test for it before setting;
2015-04-05 00:22:44 +00:00
jperkin
77f65015b1 Append LIBABISUFFIX to the GCC library path. Fixes Linux and SunOS
multilib systems where it is the default, no change on other platforms.
2015-04-02 23:50:25 +00:00
jperkin
397ff2bff0 Don't include the main GCC libraries in linker paths when using
USE_PKGSRC_GCC_RUNTIME.  Fixes check-shlibs when using the GCC runtime
packages as previously the main libraries were being picked up instead
of the runtime ones we'd asked for.
2015-04-02 23:42:15 +00:00
jperkin
878760eddb Don't recompute _GCC_PREFIX and _GCC_SUBPREFIX in the general case. At
best this does nothing, and at worst it is actively harmful when using
multilib systems.  It's possible the mips case is broken too, but I do
not have any hardware to test that on, so for now leave the special mips
MABIFLAG handling intact.

Fixes multilib SunOS builds.
2015-04-02 23:21:01 +00:00
dsainty
0757ea0f74 As discussed on-list, remove www.ibiblio.org from MASTER_SITE_APACHE so that
its habit of returning HTTP 200 on files it doesn't have will not corrupt
resuming file downloads.

Also remove from MASTER_SITE_OPENOFFICE, for the same reason and also because
their openoffice mirror appears empty anyway.

There are no other instances of www.ibiblio.org in the mirror lists.
2015-03-26 07:54:51 +00:00
tnn
3bb3a3dc92 osl 3.0 should be default acceptable (it is both FSF and OSI approved) 2015-03-22 03:43:11 +00:00