Commit graph

73 commits

Author SHA1 Message Date
Gerald Pfeifer
d39ad836d1 Update lang/gcc and hence the default version of GCC in the Ports
Collection (requested by USE_GCC=yes and various USES=compiler
invocations) from GCC 4.9.4 to GCC 5.4.

files/patch-arm-support and files/patch-gcc_system.h have become
obsolete.  New patches files/patch-arm-unwind-cxx-support and
files/patch-libc++ help support arm targets and new libc++ in base.

ONLY_FOR_ARCHS now also includes arm.

A new option GRAPHITE_DESC, off by default for now, adds support for
Graphite loop optimizations.

Finally, conflicts with other lang/gcc* ports are adjusted suitably.

In terms of changes for users, this upgrade brings the following:

The default mode for C is now -std=gnu11 instead of -std=gnu89.
New warning options -Wc90-c99-compat and -Wc99-c11-compat may
prove useful on that front.

The C++ front end now has full C++14 language support including
C++14 variable templates, C++14 aggregates with non-static data
member initializers, C++14 extended constexpr, and more.
The Standard C++ Library (libstdc++) has full C++11 support and
experimental full C++14 support.  It uses a new ABI by default.

There have been significant improvements to inter-procedural optimizations
and link-time optimization such as One Definition Rule based merging of C++
types as well as register allocation.

OpenMP 4.0 specification offloading features are now supported by the C,
C++, and Fortran compilers.  Cilk Plus, an extension to the C and C++
languages to support data and task parallelism, has been added as well.

New warning options -Wswitch-bool, -Wlogical-not-parentheses,
-Wbool-compare and -Wsizeof-array-argument may prove useful as
may new preprocessor directives __has_include, __has_include_next,
and __has_attribute.

GCC can now be built as a shared library for embedding in other processes
(such as interpreters), suitable for Just-In-Time compilation to machine
code.  This provides a C API and a C++ wrapper API.

Many code generation improvements for AArch64, ARM, support for
AVX-512{BW,DQ,VL,IFMA,VBMI} and Intel MPX on x86-64, and generally
improvements on many targets.

The Local Register Allocator (LRA) now contains a rematerialization
subpass and is able to reuse the PIC hard register on x86/x86-64 to
improve performance of position independent code.

https://gcc.gnu.org/gcc-5/changes.html has a more extensive set of
changes and https://gcc.gnu.org/gcc-5/porting_to.html has a solid
overview of issue you may encountering porting to this new version.

PR:             216707, 218125
Tested by:      antoine (-exp runs)
Supported by:   jbeich, tcberner, and others
2017-04-01 15:03:21 +00:00
Sunpoet Po-Chuan Hsieh
24510a1055 Update comment: add samba 4.6 2017-03-27 19:12:03 +00:00
Antoine Brodin
8fb879105d Switch default version of samba from 4.3 to 4.4
With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D10131
2017-03-25 23:37:05 +00:00
Antoine Brodin
7cfe69b584 - Add USES=samba to handle dependency on samba
Valid ARGS:  build, env, lib, run (default: build,run)
- Add SAMBA_DEFAULT to bsd.default-versions.mk (default: 4.3)
- Remove obsolete samba36 ports
- Modify samba4x ports to install libsmbclient
- Convert the ports tree to USES=samba

Reviewed by:	mat
Differential Revision:	https://reviews.freebsd.org/D8919
2017-03-21 21:59:31 +00:00
Jose Alonso Cardenas Marquez
9f14548a75 - Freepascal update to 3.0.2
- Lazarus BUMP PORTREVISION
- Connect www/fpc-googleapi and devel/fpc-fcl-pdf
2017-02-26 17:38:04 +00:00
Nikolai Lifanov
1f9f34c365 add databases/mysqlwsrep56-server
- MySQL version enabled for Galera Replication

PR:		214807
Submitted by:	Philip Stoev <philip.stoev@galeracluster.com>
Reviewed by:	matthew, mat, mmokhi
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D9427
2017-02-22 17:31:39 +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
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
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
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
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
Steve Wills
c8bbe678a6 Switch default Ruby version from 2.2 to 2.3
PR:		215013
2017-01-09 19:23:19 +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
Rene Ladan
5b8a302787 Drop support for Perl 5.18 (infrastructure part) 2016-12-31 16:50:58 +00:00
Rene Ladan
166f200fa2 Drop support for Linux Fedora 10 (infrastructure part)
Submitted by:	rene
Reviewed by:	bapt
Differential Revision:	https://reviews.freebsd.org/D8653
2016-12-31 16:47:04 +00:00
Steve Wills
39230bebc6 Add Ruby 2.4.0
While here, remove local patches that are no longer needed and simplify
post-patch target.
2016-12-26 19:00:05 +00:00
Sunpoet Po-Chuan Hsieh
20f93ce0b1 - Add python 3.6
- Remove ruby 2.0
- Add tcl/tk 8.7
2016-12-26 16:43:18 +00:00
Gerald Pfeifer
64bbcf8b75 Long awaited, finally update the default version of GCC in the Ports
Collection as well as the lang/gcc port from GCC 4.8.5 to GCC 4.9.4!

See http://gcc.gnu.org/gcc-4.9/changes.html for an extensive list of
changes and http://gcc.gnu.org/gcc-4.9/porting_to.html for information
on how to port to that new version (if necessary).

files/java-patch-hier required adjustments, gcc/files/patch-arm-libcpp
is not needed any longer (merged upstream), and we're also loosing the
local Stack Protector patches/backports.

PR:		196712
Tested by:	antoine (-exp runs)
Supported by:	antoine, kwm, and others
2016-11-20 09:15:19 +00:00
Sunpoet Po-Chuan Hsieh
8d679fe180 - Fix typo 2016-11-05 23:32:10 +00:00
Mathieu Arnold
a388101485 Change the default Perl version to 5.24.
We have been stuck with Perl 5.20 for too long.  Now that the main
problem, mod_perl2, has been updated to work with Perl 5.22+, we can go
and live with a modern Perl.

PR:		213810
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-11-03 14:34:13 +00:00
Mark Felder
fc6bdea051 Introduce USES=varnish
You can now set the default version of Varnish with DEFAULT_VERSIONS to
build Varnish and its modules against your desired Varnish release
train.

The default version of Varnish throughout the ports tree will remain as
www/varnish4 until at least 2017Q1 when it will be changed in HEAD to be
www/varnish5. This should allow plenty of time for migration and for
stabilization of the changes in Varnish 5.x.

Submitted by:	vanilla
2016-10-26 14:15:38 +00:00
Mathieu Arnold
ac9ecef30e Add a warning for people who set foo_DEFAULT in their make.conf or environment.
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D8060
2016-10-24 14:53:26 +00:00
Rene Ladan
014608af5c Unregister PHP 5.5, it expired on 2016-10-20
Submitted by:	rene
Reviewed by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D8305
2016-10-21 07:16:25 +00:00
Antoine Brodin
7fca73cfef Change the default version of python3 from 3.4 to 3.5
Thanks to Ruslan Makhmatkhanov for doing all the fixes

PR:		204519
With hat:	portmgr
2016-10-14 19:50:00 +00:00
Rene Ladan
ad03af29f7 Unregister databases/postgresql91 and mention postgresql96 as a valid version.
Submitted by:	myself
Reviewed by:	mat
Differential Revision:	https://reviews.freebsd.org/D8123
2016-10-03 18:15:45 +00:00
Tijl Coosemans
82a87de90c - Replace Mk/bsd.linux-apps.mk and Mk/bsd.linux-rpm.mk with
Mk/Uses/linux.mk.
- Replace USE_LINUX=yes with USES+=linux and USE_LINUX=(.*) with
  USES+=linux:\1 in all ports.
- Replace USE_LINUX_APPS with USE_LINUX in all ports.
- Use INSTALL_SCRIPT instead of INSTALL_PROGRAM to install scripts in some
  ports.
- When USE_LINUX_RPM is defined, simplify the way DISTFILES and EXTRACT_ONLY
  are defined.
- Remove BRANDELF_DIRS and BRANDELF_FILES handling.  In the very rare cases
  that it is still necessary ports can run ${BRANDELF} from post-patch.
- Remove AUTOMATIC_PLIST handling.  Only one port used it.
- Fix Linux MASTER_SITES.
- Replace OVERRIDE_LINUX_BASE_PORT and OVERRIDE_LINUX_NONBASE_PORTS with
  default versions framework.
- bsd.port.mk:
  - Move Linux related bits to Uses/linux.mk, except USE_LINUX_PREFIX.
  - Put USE_LINUX_PREFIX handling after USES processing.
  - Define DOCSDIR, DATADIR, etc. after handling USE_LINUX_PREFIX so it can
    give these variables a different default value.
  - When a package needs to run Linux ldconfig check before installation if
    Linux support is enabled.
- emulators/linux_base-*:
  - Use USES=linux and remove duplication.
  - Remove files/lp.  FreeBSD or CUPS lp(1) should work.
  - Remove files/yp.conf.  No longer seems to be used.
  - Remove pkg-deinstall and move pkg-install into pkg-plist.
  - Update pkg-descr and pkg-message.
  - Fix handling of ldconfig cache in pkg-plist.
- devel/fb-adb: Use a Linux shell to run a Linux script but patch the script
  to use FreeBSD mkdir so mkdir -p $path creates $path and not
  /compat/linux/$path.

PR:		211645
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-09-05 19:23:42 +00:00
Matthew Seaman
7e35b9708a Delete the now expired postgresql90 ports. Upstream support for
postgresql-9.0.x was declared EoL in September 2015.

Summary:
Remove 9.0 from the list of postgresql versions available in ports

Disconnect postgresql90 ports from the build

Remove postgresql90-pgtcl port

Remove postgresql90-client port

Move the master postgreslXY-plperl makefile to postgresql95-plperl/Makefile.

Adjust include lines in other postgresqlXY-plperl ports

Delete postgresql90-plperl

Move the master postgreslXY-plpython/{Makefile,pkg-descr} to
postgresl95-plpython/{Makefile,pkg-descr}

Adjust all other postgresqlXY-plpython/Makefile to include the new master

Remove postgresql90-server

Reviewers: jgh, girgen, #portmgr, O5 Ports Framework, bapt, crees

Reviewed By: #portmgr, O5 Ports Framework, bapt, crees

Subscribers: mat

Differential Revision: https://reviews.freebsd.org/D6898
2016-07-01 17:45:51 +00:00
Mathieu Arnold
fd95fdbe01 Make it possible to have bsd.default-versions.mk included before any
other bsd.*.mk file.

Restore the way ftp/curl was working before.

With hat:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6921
2016-06-23 10:19:02 +00:00
Mathieu Arnold
7616d8da41 Typo.
Reported by:	Vladimir Krstulja
Sponsored by:	Absolight
2016-06-17 12:43:41 +00:00
Mathieu Arnold
5ae7bbe487 Fix warning messages.
Sponsored by:	Absolight
2016-06-16 22:35:23 +00:00
Mathieu Arnold
769a9f1570 Add DEFAULT_VERSIONS=ssl=XXX
Move the openssl detection routine to bsd.default-version.mk.
Add warnings telling people to not use WITH_OPENSSL_PORT or
WITH_OPENSSL_BASE.

To ease maintainability, change the way the different ssl libraries
version numbers are checked.

PR:		210149
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	The FreeBSD Foundation, Absolight
Differential Revision:	https://reviews.freebsd.org/D6577
2016-06-16 13:22:58 +00:00
Mathieu Arnold
f53c726ca7 Fix WITH_BDB_VER support, and switch to DEFAULT_VERSIONS.
PR:		209183
Reported by:	peter
Sponsored by:	Absolight
2016-05-02 13:16:52 +00:00
Mathieu Arnold
9097255acf Try to be more helpful to our users, and keep all the possible versions
close to their default value in Mk/bsd.default-versions.mk.

Sponsored by:	Absolight
2016-04-14 13:34:25 +00:00
Steve Wills
8a7e555998 Switch default Ruby version from 2.1 to 2.2
PR:		206852
2016-04-04 22:20:42 +00:00
Tijl Coosemans
77760fcb63 Make print/ghostscript9-agpl-base the default Ghostscript port. Upstream
changed the license to the AGPL 3 in version 9.07 so print/ghostscript9-base
is stuck at 9.06 which is almost 4 years old now.

Fix the logic in Uses/ghostscript.mk so "agpl" is treated as a real version
on its own instead of as a variant of other versions.

Fix print/ghostscript9-agpl-base to install eps2write.

Update math/asymptote to 2.37 to support newer Ghostscript.

PR:		208159
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-03-24 15:47:50 +00:00
John Marino
f01cba6e50 FPC ecosystem: Upgrade version 2.6.4 => 3.0.0
This is the first major release of FreePascal in nearly four years.
There are a ton of new features, way more to list here. see:
http://wiki.freepascal.org/FPC_New_Features_3.0

Several new unit ports were added, some were contracted.  Most of
those were absorbed into the main FPC packages, but two units are
no longer supported: sndfile and matroshka.

All 99 remaining ports (including Lazarus ports) were build tested
on FreeBSD i386 and amd64 Release 10.2
2015-12-05 23:29:36 +00:00
Bryan Drewery
84cb5553e9 Rework change in r399791 for default perl to not execute it on 'make clean'
if perl is not installed.

With hat:	portmgr
2015-10-20 20:26:59 +00:00
Bryan Drewery
ef91c74363 Avoid redundantly looking up perl version when looking up dependencies or in sub-makes.
With hat:	portmgr
2015-10-19 20:53:15 +00:00
Mathieu Arnold
afae652a2a Make it so that the default Perl is always called perl5.
- Move Perl's man1 files along with its man3 files.
- Move where Perl installs its modules man1 pages.
- Convert the ports installing man1 pages.
- Make different Perl versions installable at the same time.
  Though you should note that only the default version can be used to
  install Perl modules, and the non default Perl versions cannot use the
  modules installed via ports if they contain .so as they are installed
  in a version specific directory.

Reviewed by:	bapt (the Mk bits)
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3542
2015-09-14 12:19:48 +00:00
Hiroki Sato
df9e65d9e9 Remove minor version numbers.
Suggested by:	mat
2015-07-23 01:44:51 +00:00
Hiroki Sato
dfe81c557d Allow support of minor version number in GHOSTSCRIPT_DEFAULT since
there are two packages for Ghostscript 9.x, 9.06 and 9.16.
2015-07-20 21:07:08 +00:00
Koop Mast
68f883edfc Convert code in bsd.port.mk for USE_GHOSTSCRIPT* to USES=ghostscript.
Add GHOSTSCRIPT_DEFAULT to bsd.default-versions.mk for easy version selection.
Arguments supported: <empty>, build, run, nox11 and agpl

PR:		201201 (exp-run)
Approved by:	portmgr (mat@)
Exp run by:	antione@ (previous patch)
Differential Revision:	https://reviews.freebsd.org/D2938
2015-07-16 20:53:28 +00:00
Mathieu Arnold
1ce0b86d8f Change the default Perl to 5.20.
PR:		200134
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2015-05-13 10:20:18 +00:00
Steve Wills
ebabceb005 - Switch default version of Ruby to 2.0
PR:		196632
2015-03-01 03:04:40 +00:00
Alex Dupre
d859043302 Switch default PHP version to 5.6.x.
- Update PHP 5.4 to 5.4.38 release
- Update PHP 5.5 to 5.5.22 release
- Update PHP 5.6 to 5.6.6 release

PR:		195604
Approved by:	portmgr
2015-02-20 13:56:11 +00:00
Alex Dupre
96a0c9b12b Switch default MySQL version to 5.6.
PR:		195604
Approved by:	portmgr
2015-02-04 13:45:13 +00:00
Gerald Pfeifer
75339eed28 Move LANG_GCC_IS from bsd.gcc.mk to bsd.default-versions.mk and use
this and GCC_DEFAULT instead of hard-coding the version of GCC used
by lang/gcc in Uses/fortran.mk.

Approved by:	portmgr (antoine)
2015-01-26 00:03:46 +00:00
Dmitry Sivachenko
3a18883882 Switch default python3 version from 3.3 to 3.4.
Bump PORTREVISIONs for the affected ports.

Exp-run by:	antoine
2015-01-10 23:15:27 +00:00