Commit graph

5825 commits

Author SHA1 Message Date
Rene Ladan
9089de1bb1 Automatically generate @dir entries for package list if :debug is used.
Tested with a modified sysutils/biosfont in which the :debug option was added,
a file was installed into ${KERN_DEBUGDIR}/${KMODDIR} and that file was added
to pkg-plist.

PR:		216879 (inspired by)
Submitted by:	Sergey Kozlov (kozlov.sergey.404@gmail.com)
2017-02-13 21:48:12 +00:00
Rene Ladan
7741cace34 Fix check-plist of USES=kmod
No longer depend on (KERN_)DEBUGDIR being non-empty to decide whether to
create the empty KERN_DEBUGDIR/KMODDIR directory, instead use a new
argument 'debug' to indicate this.

Add KERN_DEBUGDIR to PLIST_SUB and MAKE_ENV so that the including ports
can use them.

Ports using kmod:debug do need to add @dir entries to their pkg-plist for
now to prevent 'make check-plist' errors, for example for default KMODDDIR:

@dir /%%KERN_DEBUGDIR%%/%%KMODDIR%%
@dir /%%KERN_DEBUGDIR%%/boot
@dir /%%KERN_DEBUGDIR%%

It would indeed be nice to automate this.

PR:		216879
Submitted by:	Sergey Kozlov (kozlov.sergey.404@gmail.com)
2017-02-12 21:53:47 +00:00
Rene Ladan
82e22f59ea Reset maintainers of Mk/bsd.sdl.mk and Mk/bsd.wx.mk, their commit bits
were taken in for safekeeping.
2017-02-12 20:39:55 +00:00
Rene Ladan
972838631c Reset maintainer for Uses/ada.mk and Uses/alias.mk 2017-02-12 19:58:46 +00:00
Koop Mast
50a34a0774 Now that all supported FreeBSD versions support libmap.conf files installed
from ports, remove the symlink dance with libGL/libEGL/libgles and the
nvidia-driver ports.

* Revert libGL/libEGL/libglesv2 ports to normal.
* Rename the conflicting libraries from the nvidia-driver ports with a
  -NVIDIA prefix and install a libmap.conf file to map to these versions.
* Remove the special case from Mk/Scripts/qa.sh for libGL and libEGL.
* Sadly the symlink dance between nvidia-driver and xorg-server for glx.so
  need to stay, due to xorg-server opening that file with dlopen(3).

Approved by:	portmgr@ (mat@ (prio version))
Differential Revision:	https://reviews.freebsd.org/D7848
2017-02-11 16:43:11 +00:00
Matthew Rezny
3f87b5cb51 Xorg-servers update to 1.18.4 with driver updates and revision bumps.
Update xf86-video-ati to 7.8.0
Update xf86-video-intel to 2.99.917.20170103
Update xf86-input-synaptics to 1.9.0
Update xf86-input-evdev to 2.10.5
Update xf86-video-r128 to 6.10.2
Update xf86-video-rendition to 4.2.6
New port: xf86-video-geode

PR:		214591,216269,214687,214593,214715,216276,216277,216278,216287,
		216288,216292,216298,214560,216299,216300,216301,216302
Approved by:	swills (mentor, portmgr)
Differential Revision:	https://reviews.freebsd.org/D9436
2017-02-11 14:17:58 +00:00
Mathieu Arnold
ac5a807ae0 Make USES=php behaves a bit more nicely with PHP 7.0 and 7.1 for ports
where USE_PHP includes modules that are 5.6 only (like mysql).

Sponsored by:	Absolight
2017-02-07 12:27:02 +00:00
Tijl Coosemans
6d324c1f70 - Remove inclusion of bsd.default-versions.mk from ftp/curl/Makefile so
bsd.default-versions.mk can rely on ARCH being defined.
- In bsd.port.mk move inclusion of bsd.default-versions.mk from the
  pre-makefile section to the options section so the variables can be used
  earlier.  Also put the bit of code sitting between the options section and
  the pre-makefile section into the options section.
- Remove last few cases where ports set WITH_OPENSSL_PORT.  This variable is
  handled in bsd.default-versions.mk and some ports were setting it after
  including bsd.port.options.mk.  After FreeBSD 9 EoL all but a few ports,
  and then only when setting non-default options, work without setting that
  variable.

PR:		215996
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2017-02-05 21:20:24 +00:00
Gerald Pfeifer
f18a6f4385 Use USE_GCC=6+ as example for the "+" flavor of USE_GCC instead of
USE_GCC=4.9+.  Among others, this adds an example for the new, single
digit GCC versions.
2017-02-01 19:45:32 +00:00
Christian Weisgerber
56b5d33805 Update MASTER_SITE_OPENBSD: OpenBSD mirrors prefer HTTP now and
HTTPS is strongly encouraged.  Replace a woefully outdated list of
all OpenBSD mirrors (there are 60+ now) with a reasonable selection.
2017-02-01 16:16:11 +00:00
Tijl Coosemans
d0d15cc5cd Enable i386 support to Linux CentOS 7 ports.
PR:		216646
2017-01-31 20:32:46 +00:00
Tijl Coosemans
6140d3c6aa - Autodetect the installed linux_base port and use LINUX_DEFAULT only as
a last resort.
- Construct a list of DISTFILES for every architecture (amd64, i386).
  Select one list for regular make and all lists for make makesum so linux
  ports can have one combined distinfo file.
- Set DIST_SUBDIR?=centos so there's only one copy of common distfiles.
- Use MASTER_SITES and DISTFILES groups so make fetch is a bit smarter.
- Regenerate all distinfo files.
- For linux_base-c6 (just like linux_base-c7 already does) turn bin, lib,
  lib64 and sbin into symbolic links to the same directory under usr.
  This fixes the problem where some programs/libraries exist under / on
  FreeBSD and /usr on Linux or vice versa and then depending on the order
  of search paths Linux programs may run/load FreeBSD programs/libraries
  and fail.
- Turn usr/share/icons into a symbolic link to LOCALBASE/share/icons so
  Linux programs can find desktop theme icons.  This eliminates the need
  for x11-themes/linux*-hicolor-icon-theme.
- Rename pkg-plist.x86_64 to pkg-plist.amd64.
- Regenerate all pkg-plist files.
- Add @preexec to linux_base pkg-plist that moves existing files in bin,
  lib, lib64, sbin and icons to the new destination before the directories
  are turned into symbolic links.
- Remove several empty directories from linux_base ports.
- Sweep over all linux ports: use consistent style, remove old CONFLICTS,
  remove unused pkg-descr files, add NLS option,...
- Remove old linux arts, esound and openssl-compat ports.
2017-01-31 16:54:21 +00:00
Mathieu Arnold
de636b9df7 This is actually only for Module::Build, not the ::Tiny version.
Pointy hat:	mat
Sponsored by:	Absolight
2017-01-31 16:25:48 +00:00
Mathieu Arnold
a345c5cf11 Tell Module::Build to use LOCALBASE/bin/perl and not
LOCALBASE/bin/perl5.xx.y.

Add a QA check to test for it.

Sponsored by:	Absolight
2017-01-31 16:21:22 +00:00
Mathieu Arnold
4645dcd3e0 Indent perl5.mk's .if/.for properly.
Done with:	Tools/scripts/indent_make_if.pl
Sponsored by:	Absolight
2017-01-31 16:21:18 +00:00
Gerald Pfeifer
0992d93e8d Remove 4.6 as a valid option for USE_GCC and GCC_DEFAULT; it has not
been used in the Ports Collection for quarters and hardly would make
sense (or even work) as default GCC version.
2017-01-28 22:59:53 +00:00
Mathieu Arnold
ce82850852 Remove some code added in r858[1], still don't know what it was supposed to
be doing at the time.

When fetching, the code was looking for a distfile in either its
DIST_SUBDIR or the main DISTDIR, which was ok.  Until a port
(devel/cargo) moves one of its distfile
(cargo-nightly-x86_64-unknown-freebsd.tar.gz) into a subdirectory.
do-fetch would see the distfile in DISTDIR and say, ok, it's there, and
checksum would not see it in its subdirectory and fail.

1: phabricator's blame mode is really, really, great to unroll history.

PR:		216442
Submitted by:	mat
Reported by:	Bob Willcox, dhw (on ports)
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D9318
2017-01-28 10:52:20 +00:00
Sunpoet Po-Chuan Hsieh
a6c0b36a3c Fix PLIST
- Bump PORTREVISION for package change

PR:		216498
Submitted by:	marino
MFH:		2017Q1
2017-01-27 14:07:05 +00:00
Tobias C. Berner
0af3f5648f Update KDE Frameworks to 5.30.0
* Changelog: https://www.kde.org/announcements/kde-frameworks-5.30.0.php
* New framework: x11/kf5-kwayland

PR:		216345
Exp-run by:	antoine
Reviewed by:	rakuco
Approved by:	rakuco (mentor)
Differential Revision:	https://reviews.freebsd.org/D9271
2017-01-26 18:19:47 +00:00
Sunpoet Po-Chuan Hsieh
3b527e4755 Fix memcache_DEPENDS
MFH:		2017Q1
2017-01-25 18:42:26 +00:00
Sunpoet Po-Chuan Hsieh
ddc8546317 Update comment: add gcc 6, perl 5.24 and php 7.1 2017-01-25 18:06:14 +00:00
Baptiste Daroussin
81da7d3fdd Add wayland as a valid category (for virtual category usage for now)
Approved by:	portmgr (implicit)
2017-01-24 23:42:53 +00:00
Torsten Zuehlsdorff
fcf2c626ed Add support for PHP 7.1
Reviewed by: ale, pi, martin@waschbuesch.de, franco@opnsense.org
Approved by: ale
2017-01-24 11:31:30 +00:00
Sunpoet Po-Chuan Hsieh
3dea99e482 Update default GEM_NAME
Change default GEM_NAME from ${PORTNAME}-${PORTVERSION} to ${DISTNAME} to avoid
unnecessary GEM_NAME setting in ports Makefile

Differential Revision:	https://reviews.FreeBSD.org/D9250
PR:		216267
Exp-run by:	antoine
2017-01-21 17:29:23 +00:00
Ben Woods
ba7d7f643d Add devel/linux-c6-libsoup 2017-01-19 16:24:13 +00:00
Tijl Coosemans
c2712d2471 Update Linux CentOS 7 ports to 7.3.1611. While 7.2 had semi-official i386
packages there are no such packages for 7.3 yet so i386 support has been
marked IGNORE for now.

Change DIST_SUBDIR to just "centos" so distfiles that remain the same
between major versions don't have to be redownloaded.

Remove fmake hacks from linux.mk.

Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
2017-01-19 15:44:53 +00:00
Mathieu Arnold
adcd75b823 Provide a port/perl module mapping utility.
Sometime, Perl ports names do not map to the modules they provide
easily, and it makes it impossible to check for the existence of those
modules in Perl core.

Sponsored by:	Absolight
2017-01-19 15:06:38 +00:00
Mathieu Arnold
4c7d66584a Improve the error message when conflicting OPTIONS_RADIO or
OPTIONS_SINGLE are defined.

PR:		216150
Submitted by:	stb lassitu de
Sponsored by:	Absolight
2017-01-19 14:07:26 +00:00
Tijl Coosemans
20e910adb2 Wrap .export in .ifdef .PARSEDIR to support fmake for now. FreeBSD 9 users
will still hit the error/warning that was added in r431746, but that's
clearer than the obscure error they see now.

Approved by:	portmgr (antoine)
2017-01-19 12:42:34 +00:00
Tijl Coosemans
02f27a83b4 The output of tools like awk, date, sort, tr,... depends on the current
locale set by the user.  Add LANG=C and LC_ALL=C at the beginning of
bsd.port.mk and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables.  LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well.  The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.

Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).

PR:		215882
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2017-01-18 13:20:31 +00:00
Dmitry Marakasov
2357d7357b - Refuse (overridable) to build ports on unsupported system version
Unfortunately, it's not uncommon for FreeBSD users to not update
their systems timely and thus end up using unsupported FreeBSD
release. These users continue to update ports tree as usual and
expect it to work, either unaware of the release EoL, or not clearly
understanding the consequences, which results in unexpected build
failures, bogus bug reports, attempts to bring back removed legacy
support bits and general discontent.

This change introduces system version check which makes ports refuse
to build anything on unsupported system. This makes users aware of
EoL of their system and makes it clear that no port is guaranteed to
build.

The error message tells how to override the check (by defining
ALLOW_UNSUPPORTED_SYSTEM, in which case it's turned into a simple
warning), additionally stressing that this configurartion is not
supported.

Currently outdated are OSVERSION < 1003000 (pre 10.3-RELEASE) and
1100000 <= OSVERSION < 1100122 (from 11-CURRENT'2013 to 11.0-PRERELEASE)

I expect these to be kept up to date with base system lifetimes,
be updated BEFORE removing any support for outdated release from
the tree and also serve as a reference of which OSVERSION checks
may be removed.

Approved by:	portmgr (swills, mat)
Differential Revision:	D9210
2017-01-17 15:49:16 +00:00
Jan Beich
6f94eef63a www/firefox: update to 51.0 (rc1)
More candidates are likely to come before the official announcement (aka
the rush hour) scheduled on 2017-01-24. This one intended to pick up upstream
security fixes earlier while looking for downstream regressions.

Changes:	https://www.mozilla.org/firefox/51.0/releasenotes/
Security:	e60169c4-aa86-46b0-8ae2-0d81f683df09
MFH:		2017Q1 (piling up)
2017-01-17 12:44:42 +00:00
Mathieu Arnold
49152b839d Implement EXTRA_PATCH_TREE.
PR:		215726
Reported by:	julian
2017-01-16 16:47:05 +00:00
Mathieu Arnold
1cc9fcd1c7 Extract do-patch into a separate script.
PR:		215761
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D9029
2017-01-16 16:47:00 +00:00
Olivier Duchateau
e09269fa0d Add new mirror, it avoids to change value of MASTER_SITES in LXQt related ports 2017-01-15 12:02:29 +00:00
Rene Ladan
3e94f22069 mount_fusefs is in base since 10.0-RELEASE 2017-01-15 09:52:47 +00:00
Bernard Spil
d55e80bedd Mk/Uses/mysql.mk: Remove EoL-ed MySQL 5.1
- MySQL 5.1 ports were removed with r401211
2017-01-15 09:32:56 +00:00
Sunpoet Po-Chuan Hsieh
e12246835c Add shared LZO description 2017-01-12 20:02:08 +00:00
Tijl Coosemans
de7862cf5e Allow ARCH to be undefined to accommodate ftp/curl/Makefile.
Reported by:	Peter Blok <pblok@bsd4all.org>
2017-01-12 12:18:50 +00:00
Tijl Coosemans
83579f491e Make 64 bit Linux packages the default on amd64. 2017-01-12 10:44:45 +00:00
Mark Felder
f5a7bbe20b Welcome Percona 5.7 ports to the tree
- client and server version 5.7.16-10
- pam-for-mysql: compatible with newer MySQL API (MySQL 5.7+)

Thanks to all who have worked on Percona, MariaDB, and MySQL ports. Your
tireless efforts have been instrumental in making this port happen.

Differential Revision:	https://reviews.freebsd.org/D8785
2017-01-10 18:54:32 +00:00
Adam Weinberger
891684f6f2 Add https://gnupg.org to the head of the GNUPG list, and move
artfiles.org way down, because it is pathologically slow.
2017-01-10 02:52:51 +00:00
Steve Wills
c8bbe678a6 Switch default Ruby version from 2.2 to 2.3
PR:		215013
2017-01-09 19:23:19 +00:00
Adam Weinberger
6326dd983c Change the description of WANT_OPENLDAP_SASL to make it clear that
that variable is for end-users in make.conf, not for port Makefiles.

See CHANGES 20040717.
2017-01-08 21:20:57 +00:00
Sunpoet Po-Chuan Hsieh
e730d999d3 Add more PLIST_SUB to Mk/Uses/python.mk
- Add PYTHON_PYOEXTENSION and PYTHON_SUFFIX
- Add PYTHON2 and PYTHON3
- Respect PYTHON_VERSION
- Rename PYOEXTENSION to PYTHON_PYOEXTENSION

This change would help:
- Build databases/postgresql*-plpython with Python 3
  (It has PLIST issue since bsd.python.mk to Uses/python.mk transition)
- Simplify Makefile

PR:		205807
Differential Revision:	https://reviews.FreeBSD.org/D4758
Exp-run by:	antoine
2017-01-07 21:42:28 +00:00
Nikolai Lifanov
c93ab7fefa add databases/mysql80-server and databases/mysql80-client
This is a development snapshot of upcoming MySQL 8.0.

PR:		215738
Submitted by:	Mahdi Mokhtari <mokhi64@gmail.com>
Reviewed by:	matthew, feld
Approved by:	matthew (mentor), feld
Differential Revision:	https://reviews.freebsd.org/D9031
2017-01-07 20:34:46 +00:00
Jan Beich
24bce6e056 textproc/hunspell: update to 1.6.0
- Restore DIST_SUBDIR from r305651
- Adjust license for "or later" clause
- Restore GPLv2+/LGPL21+ license files removed upstream as
  GPLv3+/LGPL3+ only affects Hunspell 2.0 (not currently built)
- Unbreak |make makepatch|

Changes:	https://github.com/hunspell/hunspell/releases/tag/v1.6.0
PR:		215714
Submitted by:	sunpoet (based on)
Exp-run by:	antoine
MFH:		2017Q1
Differential Revision:	https://reviews.freebsd.org/D8887
2017-01-07 14:43:11 +00:00
Antoine Brodin
6f9a97676e Revert r398829: do not change OPTIONS when DEVELOPER=yes
Having a TEST option is usually a bad idea

With hat:	portmgr
2017-01-07 09:01:02 +00:00
Antoine Brodin
61673cd572 Do not auto accept the "NONE" license as we can't distribute packages or sources
With hat:	portmgr
2017-01-07 07:55:39 +00:00
Baptiste Daroussin
fd21a74589 Add a new USES_XORG=xfont2 2017-01-07 00:46:25 +00:00