Commit graph

6057 commits

Author SHA1 Message Date
Tobias C. Berner
1afa5c8a42 Update KDE Frameworks to 5.29.0
Release notes: https://www.kde.org/announcements/kde-frameworks-5.29.0.php

New ports:
* textproc/kf5-syntax-highlighting (new in 5.28.0)
* graphics/kf5-prison (new in 5.29.0)

Fixes:
* kf5-kservice: Move applications.menu to kf5-applications.menu to stop conflicting with kdelibs4.
* Define conflicts in the kde4-l10n ports (debian does the same).
* kf5-kapidox: Fix with python3

Thanks to Matthew Rezny <matthew@reztek.cz> for looking at the conflicts in 214528,
and Dima Panov (fluffy@) for the python3 fix.

PR:     214528
Reviewed by:    rakuco, mat
Approved by:    rakuco (mentor)
Differential Revision:  https://reviews.freebsd.org/D8776
2016-12-19 15:56:24 +00:00
Tobias C. Berner
7b5da0fa70 Change the way the pkgconfig-file install path is set for Qt5 ports.
As noticed in x11-toolkits/qt5-charts we never corrected the way in which qmake
sets the pkgconfig path for Qt5-modules. Instead there was a sed-call on the
generated Makefiles in bsd.qt.mk in the target qt-pre-install.

This diff modifies devel/qmake5 to set QMAKE_PKGCONFIG_DESTDIR to
../libdata/pkgconfig from the default pkgconfig.

As we split Qt-base into multiple ports, simply patching devel/qmake5 is not
enough, as the other base-ports will use the file from inside the tarball.
Therefore add it as an extrapatch for the Qt-base ports.
As this affects the same file extrapatch-libtool in devel/qt5 touched, rename
this one and add a hunk to do this change too.

Note: qt4 ports are unaffected, as they never were converted to used the
qt-preinstall target, and still contain the sed-call in their Makefiles.

Reviewed by:    rakuco
Approved by:    rakuco (mentor)
Differential Revision:  https://reviews.freebsd.org/D8713
2016-12-19 11:12:32 +00:00
Jan Beich
0bbc3ebb94 multimedia/ffmpeg: expose SOXR dependency 2016-12-19 01:08:21 +00:00
Tobias C. Berner
62ede14c75 Get rid of QT_PREFIX in favour of PREFIX.
QT_PREFIX was a remnant of a bygone time.

Reviewed by:    rakuco
Approved by:    rakuco (mentor)
Differential Revision:  https://reviews.freebsd.org/D8825
2016-12-18 22:06:50 +00:00
Baptiste Daroussin
ddf28d222b Use dp_DISTINFO_FILE instead of DISTINFO_FILE 2016-12-18 21:43:24 +00:00
Jan Beich
5e847efe5f www/seamonkey: update to 2.46
- Compatible with FFmpeg 3.x
- Language packs are BROKEN until release announcement

Changes:	http://www.seamonkey-project.org/news
MFH:		2016Q4
Security:	4f00dac0-1e18-4481-95af-7aaad63fd303
Security:	2225c5b4-1e5a-44fc-9920-b3201c384a15
Security:	1bcfd963-e483-41b8-ab8e-bad5c3ce49c9
Security:	92d44f83-a7bf-41cf-91ee-3d1b8ecf579f
Security:	8065d37b-8e7c-4707-a608-1b0a2b8509c3
Security:	aa1aefe3-6e37-47db-bfda-343ef4acb1b5
Security:	2c57c47e-8bb3-4694-83c8-9fc3abad3964
Security:	18f39fb6-7400-4063-acaf-0806e92c094f
2016-12-16 10:57:33 +00:00
Jan Beich
13d07760cf Switch USES=compiler:gcc-c++11-lib to use base libc++ on 10.2+ systems
PR:		215192
Requested by:	dim
Exp-run by:	antoine
Approved by:	antoine
2016-12-16 05:08:09 +00:00
Mathieu Arnold
c7ce233cc9 Add a small target to help converting long strings of GH_* to GH_TUPLE.
Sponsored by:	Absolight
2016-12-13 14:57:04 +00:00
Rene Ladan
1e47d4549b If KERN_DEBUGDIR happens to be empty, the port would try to install
files twice to the same location leading to make(1) warnings.

Reported by:	marino
Pointy hat:	rene (r428333)
2016-12-12 20:53:11 +00:00
Olivier Duchateau
ebe1fd0a23 Several helpers CMake modules needed to build LXQt itself as well as other
components.

WWW: https://github.com/lxde/lxqt-build-tools

Obtained from:	LXQt devel repo
2016-12-12 17:45:01 +00:00
Rene Ladan
03b9b0f1f5 Uses/kmod.mk: add support for debug versions of kernel modules.
Submitted by:	glebius via private mail
2016-12-09 18:47:09 +00:00
Mathieu Arnold
6e9240dfb1 Report the binary with bad linking.
Sponsored by:	Absolight
2016-12-09 14:24:07 +00:00
Tijl Coosemans
e14e6e72bb Simplify USES=linux do-install and add support for architecture specific
distfiles.
2016-12-08 13:46:15 +00:00
Steve Wills
14dbe10ed5 lang/ruby21: fix setjmp clobbered variables
PR:		206108
Submitted by:	dim
2016-12-08 02:57:06 +00:00
Steve Wills
ab2bdcb18b lang/ruby23: fix setjmp clobbered variables
PR:		206111
Submitted by:	dim
2016-12-07 16:08:54 +00:00
Steve Wills
33ba518bad lang/ruby22: fix setjmp clobbered variables
PR:		206110
Submitted by:	dim
2016-12-07 12:47:30 +00:00
Mathieu Arnold
d7f189b504 It seems sometime, GH_SUBDIR is only medium rare, on the other hand,
GH_SUBDIR_DEFAULT always is fully baked.

Sponsored by:	Absolight
2016-12-05 15:32:36 +00:00
Jan Beich
70b03eae74 textproc/hunspell: update to 1.5.4
Changes:	https://github.com/hunspell/hunspell/blob/v1.5.4/ChangeLog
PR:		214837
Exp-run by:	antoine (for 1.5.3)
Approved by:	office (bapt)
2016-12-03 22:24:36 +00:00
Sunpoet Po-Chuan Hsieh
ae0db8070b - Skip soname check if ${STAGEDIR}${PREFIX}/lib directory does not exist
Differential Revision:	https://reviews.FreeBSD.org/D8697
Approved by:	mat (portmgr)
2016-12-03 21:30:08 +00:00
Steve Wills
7f220fd3ff Rename PKG_CMD to PKG_REGISTER
Submitted by:	bapt
Differential Revision:	https://reviews.freebsd.org/D8677
2016-12-01 21:29:04 +00:00
Christoph Moench-Tegeder
3e4e8900d7 update firefox 50.0.2, libxul and thunderbird 45.5.1
PR:		214978
Approved by:	jbeich (maintainer), rene (mentor, implicit)
MFH:		2016Q4
Security:	18f39fb6-7400-4063-acaf-0806e92c094f
2016-12-01 14:24:17 +00:00
Tobias C. Berner
6910ba38cc Stop exporting QT_BINDIR and QT_LIBDIR to PLIST_SUB.
As at the moment QT_BINDIR and QT_LIBDIR are 'bin' respectively 'lib' depending
on the Qt version these subs ended up at many wrong places in plists.

So only export it if QT_DIST is set.

PR:		210227
Reviewed by:	mat, rakuco
Approved by:	portmgr (mat), rakuco (mentor)
Differential Revision:	https://reviews.freebsd.org/D8378
2016-11-29 06:20:40 +00:00
Raphael Kubo da Costa
6da929d283 Uses/php.mk: Use EGREP instead of GREP when parsing config.h
Using ${GREP} was failing when grep was built with the WITHOUT_GNU_GREP_COMPAT
knob in src.conf. According to POSIX, | only works for alternation in extended
regular expressions (grep -E), although GNU grep disregards the difference.

The new syntax with ${EGREP} and no escaping of special characters works with
both BSD grep (without WITHOUT_GNU_GREP_COMPAT) as well as GNU grep.

Approved by:	mat
Differential Revision:	https://reviews.freebsd.org/D8663
2016-11-28 17:22:29 +00:00
David Naylor
4a9609d5d3 USES=mono: simplify EXTRACT_ONLY, fix nuget-extract [1]
- Instead of excluding the specific packages added to DISTFILES (but only for
   FreeBSD 9+), exclude all files with a '.nupkg' extension.
 - Move the nuget-extract command to be before post-extract, to allow the port's
   post-extract command to move packages around

audio/libgpod-sharp: add port for mono bindings for libgpod
 - audio/libgpod: [2]
   - USE_GNOME: add missing dependency
   - Remove mono files from pkg-plist (now in audio/libgpod-sharp)
   - Allow relevant variables to be overridden
   - Fix MONO options
   - Patch source to allow building with modern mono
   - Avoid post-install target for slave ports.

devel/monodevelop: update to 4.6.2.7
 - Update nuget package Fantomas to 2.4.0 (latest at time of monodevelop's
   release).
 - Downgrade nuget package FSharp.Compiler.CodeDom (per paket's specification)
 - LICENSE: Add license of LGPL21
 - LICENSE_FILE: Add license file from source
 - PORTSCOUT: Avoid checking alpha releases (aka x.y.0.z releases)

games/openra: simplify post-extract [3]
 - USES=mono:nuget allow overridding of NUGET_PACKAGEDIR
 - Set NUGET_PACKAGEDIR to correct location, fix patching accordingly

lang/fsharp: update to 4.6.2.7
 ChangeLog:
  - Fix #639: Problems with F# scripts on Mono
  - Fix FSharp.Compiler.Tools targets for .NET Core usage
  - Fix FSharp.Compiler.Tools package dependencies

lang/mono: update to 4.6.2.7
 Mono 4.6.2 is the 1st service release to the 4.6 series.
 Changes:
  - LICENSE: Add license of MIT
  - LICENSE_FILE: Add license file from source
  - PORTSCOUT: Avoid checking alpha releases (aka x.y.0.z releases)
 Bug fixes:
  - #44708 - "TrustFailure (The authentication or decryption has failed.) ...
            Invalid certificate received from server." with "Error code: 0x5"
            or "Error code: 0xffffffff800b010f" when attempting to access
            HTTPS servers on ports other than 443
  - #39832 - SIGSEGV when running roslyn

multimedia/banshee: bump port revision.
 - Update missing port dependencies
 - Convert to use option helpers
 - OPTIONS: Add APPLEDEV (missing dependency added)
 - LICENSE: Add MIT license
 - LICENSE_FILE: Add license file from source
 - PORTSCOUT: Skip alpha release (2.9.1)

x11-toolkits/gnome-sharp20: fix port dependencies
 - Add missing dependencies
 - Convert post-patch to shebangfix
 - LICENSE: add LGPL21 license
 - LICENSE_FILE: use license file from source
 - MKAE_JOBS_UNSAFE: remove, does appear to work

x11-toolkits/gtk-sharp20: update to 2.12.42.

PR:		214680 [2]
PR:		214681
Suggested by:	jbeich [1]
Submitted by:	jbeich [3]
Approved by:	avilla (maintainer; timeout) [2]
2016-11-27 17:00:08 +00:00
Tobias C. Berner
8acdf7170f Reintegrate textproc/clucene-qt5 into devel/qt5-help
As devel/qt5-help is the only consumer of textproc/clucene-qt5 and the latter
it is part of the same distfile we can simplify it, and get rid of clucene-qt5.

This was spotted by Marie Loise Nolden <nolden@kde.org> -- thanks :)

Reviewed by:	rakuco
Approved by:	rakuco (mentor)
Sponsored by:	https://reviews.freebsd.org/D8638
2016-11-25 20:28:53 +00:00
Tobias C. Berner
095ac1e918 Update the dependency code in bsd.qt.mk to the one from kde.mk
The dependency code from kde.mk can add LIB_DEPENDS if the sense-file is a
library. Import this into bsd.qt.mk

PR:		214744
Reviewed by:	rakuco, mat
Approved by:	mat (mentor), rakuco (mentor)
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D8602
2016-11-25 11:26:18 +00:00
Mathieu Arnold
91476b9329 Add an OPTIONS_EXCLUDE_opsys_osrel.
Sponsored by:	Absolight
2016-11-24 14:45:58 +00:00
Steve Wills
1f7ae1f6e2 update lang/ruby23 to 2.3.3 2016-11-22 12:23:04 +00:00
Sunpoet Po-Chuan Hsieh
aecd9ae416 - Add shared SYBASE description 2016-11-22 06:54:59 +00:00
Steve Wills
d017b2c54f update lang/ruby21 to 2.1.10 2016-11-22 00:10:41 +00:00
Tobias C. Berner
51c587e70b Insert missing space in component list.
Approved by:	rakuco (mentor)
2016-11-21 11:00:46 +00:00
Sunpoet Po-Chuan Hsieh
7a91b81800 - Add shared LZ4 and ZSTD descriptions 2016-11-20 23:53:26 +00:00
Steve Wills
430a5372f2 lang/ruby23: update to 2.3.2 2016-11-20 23:29:38 +00:00
Baptiste Daroussin
36bdc43c62 Use @postunexec instead of @unexec which is deprecated 2016-11-20 12:35:57 +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
Olivier Duchateau
21c0f89f2a Import some LXQt core components (required by forthcoming update
of x11/qterminal).

LXQt is the Qt port of and the upcoming version of LXDE, the Lightweight
Desktop Environment. It is the product of a merge between the LXDE-Qt and
Razor-qt projects.

This work is based on the LXQt testing repo [1]. Importing is not complete
due to missing pieces in KDE Frameworks (r426118).

I would like to thank contributor and tester, Jesper Schmitz Mouridsen.

[1] https://subversion.assembla.com/svn/lxqt/tags/0.11

Reviewed by:	antoine, rakuco
Obtained from:	LXQt repository
FC after:
Differential Revision:	https://reviews.freebsd.org/D5002
2016-11-19 14:19:07 +00:00
Steve Wills
ec21799df2 lang/ruby22: update to 2.2.6 2016-11-18 13:52:30 +00:00
Dmitry Marakasov
44c1dc73a2 Clean up dead sourceforge mirrors
Approved by:	portmgr blanket
2016-11-18 08:51:14 +00:00
Tobias C. Berner
59b2541df6 Set a PORTSCOUT limit for the PyQt5 ports.
Bind the portversion looked for by portscout to the Qt5 version of ports.

Approved by:	rakuco (mentor)
2016-11-14 21:21:17 +00:00
Tobias C. Berner
30a183cdd9 Importing KDE Frameworks into the ports tree (required for newer KDE Desktop and Applications)
KDE Frameworks is a collection of libraries and software frameworks by KDE
that serve as technological foundation for KDE Plasma 5 and KDE Applications
distributed under the GNU Lesser General Public License (LGPL) [1].

The work is based on what we have in the KDE testing repo [2].

This is the next big step in updating the KDE Desktop and its Applications
to anything less dusty.

With this change, `USES=kde:5` is now a valid option. Ports that need to depend
on KDE Framework can now set:
	USES=kde:5
	USE_KDE=<framework1> <framework2> ... <frameworkX>

For example: www/qupzilla-qt5 can depend on sysutils/kf5-kwallet via:
	KWALLET_USE=            KDE=wallet

I would like to thank Raphael and Adriaan for reviewing the ports in the testing
repo :)

[1] https://en.wikipedia.org/wiki/KDE_Frameworks
[2] http://src.mouf.net/area51/log/branches/plasma5

Reviewed by:	rakuco, mat, groot_kde.org
Approved by:	rakuco (maintainer)
Differential Revision:	https://reviews.freebsd.org/D8329
2016-11-14 16:12:56 +00:00
Tobias C. Berner
b899264b8b Udpate PyQt5 to 5.6.2
Update PyQt from 5.5.1 to 5.6.2 to match the Qt updates that have
already landed in the ports tree.

PR:		214355
Submitted by:	Adriaan de Groot <groot@kde.org>
Reviewed by:	rakuco, tcberner
Approved by:	rakuco (mentor)
Exp-Run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D8408
2016-11-13 20:19:11 +00:00
Antoine Brodin
89ba71e63f All supported versions of FreeBSD that install clang have version 3.4.1 or
newer,  so remove obsolete checks in compiler.mk and objc.mk

Reviewed by:	bapt
Differential Revision:	https://reviews.freebsd.org/D8496
2016-11-12 17:42:52 +00:00
Mathieu Arnold
f493e5126b Optimize COPYTREE_* macros.
The main problem slowing down those macros was that it was ending up
calling chmod(1) once for each file and directory.
It was doing this because it was running find(1) in the source tree and
needed to chmod in the target tree, so it had to append the full path to
the chmod(1) calls, which made it impossible to use -exec +.

Rewrite the -exec calls to call sh and cd into it before running
chmod(1) and do so on as many files as we can using the -exec + construct.

While there, optimize a bit more after figuring out that it is possible
to only use one find(1) to run two -exec for different options.

Also switch to using the more powerfull modern regular expressions
instead of the usual basic regular expressions by using find -E.  This
will allow the use of | which as no basic regular expressions equivalent
(as in, for example, "*.(html|txt)") as well as the + and ? keywords,
and back references.

About the speed gain, I did a few tests, using time's builtin from csh (table
with all the data available in the review), comparing the home baked versions
of COPYTREE_SHARE found in ports, it boils down to:

|  version   |   www/sit (~2k)  | www/mathjax (~30k) |
+------------+------------------+--------------------+
| home baked | 0.032u 0.104s    | 0.946u 7.446s      |
| current    | 0.281u 0.649s    | 5.446u 18.626s     |
| new        | 0.024u 0.081s    | 0.770u 7.012s      |

PR:		213614
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D8283
2016-11-09 12:14:47 +00:00
Sunpoet Po-Chuan Hsieh
8d679fe180 - Fix typo 2016-11-05 23:32:10 +00:00
Tijl Coosemans
250f223901 Add linux-c7-harfbuzz and linux-c7-graphite2, needed by linux-c7-pango.
PR:		214232
2016-11-05 13:25:50 +00:00
Tobias C. Berner
58ad1ffe6e Drop CONFLICTS_BUILD on Qt3
qt3 has been removed in july 2013 [1] -- a while has passed.
[1] https://svnweb.freebsd.org/ports?limit_changes=0&view=revision&revision=323748

Approved by:	rakuco (mentor)
2016-11-04 22:56:40 +00:00
Tijl Coosemans
866d0828c0 Add linux-c6-libelf, needed by linux-c6-dri. 2016-11-04 17:13:22 +00:00
Tijl Coosemans
9866fe4533 Remove linux-c6-libGLU and linux-c7-libGLU. They were used in combination
with nvidia-driver but linux-*-dri is now used instead.
2016-11-04 10:48:54 +00:00
Jan Beich
c77f6990ca www/firefox: unbreak build with DEBUG=on after r425099
Traceback (most recent call last):
  File "configure.py", line 94, in <module>
    sys.exit(main(sys.argv))
  File "configure.py", line 22, in main
    sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
  File "python/mozbuild/mozbuild/configure/__init__.py", line 241, in run
    self._value_for(option)
  File "python/mozbuild/mozbuild/configure/__init__.py", line 305, in _value_for
    return self._value_for_option(obj)
  File "python/mozbuild/mozbuild/util.py", line 924, in method_call
    cache[args] = self.func(instance, *args)
  File "python/mozbuild/mozbuild/configure/__init__.py", line 370, in _value_for_option
    % (e.arg, reason, e.old_arg, e.old_origin))
mozbuild.configure.options.InvalidOptionError: '--enable-debug-symbols' implied by '--enable-debug' conflicts with '--disable-debug-symbols' from the mozconfig
*** Fix above errors and then restart with\
               "gmake -f client.mk build"

MFH:		2016Q4 (blanket)
2016-11-04 00:29:00 +00:00
Tijl Coosemans
22758f2672 Remove NVIDIA option from Linux ports now that the nvidia-driver can be
installed later.
2016-11-03 21:47:46 +00:00
Mathieu Arnold
671b266f00 Fix depend on mod_php70.
PR:		214166
Reported by:	Vick Khera
Sponsored by:	Absolight
2016-11-03 14:49:07 +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
Steve Wills
97e3c7a495 Remove USE_LIBRUBY and DEPEND_LIBRUBY 2016-11-02 18:24:12 +00:00
Jan Beich
74e1bc62bd www/firefox: update to 50.0 (rc1)
More candidates are likely to come before the official announcement (aka
the rush hour) scheduled on 2016-11-15. This one intended to pick up upstream
security fixes earlier while looking for downstream regressions.

Changes:	https://www.mozilla.org/firefox/50.0/releasenotes/
Security:	d1853110-07f4-4645-895b-6fd462ad0589
MFH:		2016Q4 (piling up)
2016-11-02 01:42:30 +00:00
Antoine Brodin
428645d185 Fix directory creation when primary group is different from user name 2016-11-01 00:33:36 +00:00
Baptiste Daroussin
c82ba80333 Add an annotation to packages that are marked as deprecated and the one having
an expiration date

Approved by:	portmgr (bdrewery)
2016-10-31 22:52:27 +00:00
Bryan Drewery
e73c0c591a Fix package upgrade setting wrong ownership on a package's $HOME.
This happens when the UID/GID doesn't match the expected number from
UIDs/GIDs.

https://github.com/freebsd/pkg/issues/1485 has more details.

With hat:	portmgr
Discussed with:	bapt, mat
2016-10-31 22:37:21 +00:00
Bryan Drewery
5851a354c5 Don't truncate DEPENDS_ARGS here.
This code seems unused though since bsd.port.mk has its own handling
for clean-depends.

PR:		212273
With hat:	portmgr
2016-10-31 20:54:50 +00:00
David Naylor
93273fcdf5 lang/mono: update to 4.6.1.5.
USES=mono: add nuget argument
  The nuget argument adds support for nuget packages.  The nuget
  packages must be specified in the NUGET_DEPENDS variable.

devel/monodevelop: update to 6.1.1.15
 - Switch to github.  The other official source is quite a few versions
   behind.
 - Add missing dependencies (fsharp, ssl2, curl)
 - Add required nuget packages
 - Add required external repositories
 - Drop options.  Although ./configure offers these flags, there is no
   functional change (i.e. no-op)
 - All patches have been upstreamed (and the one we need is from
   upstream).

lang/fsharp: update to 4.0.1.15
 - convert to use the nuget argument.

 ChangeLog:
   - Fix null condition in Fsc task

lang/mono-devel: update to 4.6
 - switch to new test target (currently tests the port to be installed)

www/gecko-sharp20: depreciate: broken and no-upstream
 - Give 1 month for anyone to complain that this port is being removed.

x11-toolkits/gtk-sharp30: bump PORTREVISION
 - Add LICENSE information
 - Add missing dependencies (per stage-qa)

x11-toolkits/gtk-sharp20: update to 2.12.40.
 - Add LICENSE information
 - Add missing dependencies (per stage-qa)
 - Change download location per Mono's Gtk# website.

PR:		213484
PR:		213796
Reviewed by:	mat, romain
Differential Revision:	https://reviews.freebsd.org/D8339
2016-10-31 06:58:31 +00:00
Raphael Kubo da Costa
5674aa0d0b kde.mk: Further cosmetic cleanups
Remove some extra tabs/spaces, fix typos in comments and refer to the right
variables in the comments.
2016-10-29 12:02:01 +00:00
Raphael Kubo da Costa
d229b76bd3 kde.mk: Replace spaces with tabs 2016-10-29 11:58:16 +00:00
Mathieu Arnold
7c8e7b69a8 Add a Perl CORE QA check.
This will use Module::CoreList to tell you if a dependency you added can
be removed, or only conditionally added.

Approved by:	bapt
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D7832
2016-10-29 10:10:33 +00:00
Mathieu Arnold
d7df3c0f7d Fix file modes after extracting.
Some port's archives contains files modes that are a bit too restrictive
for some usage.  For example:
BUILD_DEPENDS=		${NONEXISTENT}:foo/bar:configure
When building as a regular user, dependencies are installed/built as
root, so if the archive contains files that have a mode of, say, 600,
they will not be readable by the port requesting the dependency.
This will also fix broken distribution files where directories don't
have the executable bit on.

OSVERSION 1100077 is after base r283997:

  Change directory permissions in pre-order.
  In this order, it won't try to recurse into a directory for which it
  doesn't have permission, before changing that permission.
  This follows an existing behavior in other BSDs, linux, OS X.

PR:		213574
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-10-29 09:30:14 +00:00
Tobias C. Berner
ea7ceba707 Update Qt to 5.6.2 [1,2]
Thanks to the upstream work of Marie Loise Nolden, we could get rid of a handful
of patches, as they have been properly upstreamed. The rest of the work is just
some minor plist changes.

I would like to thank Loise <nolden@kde.org> for the upstream work, and Adriaan
<groot@kde.org> for getting the update into shape.

[1] http://blog.qt.io/blog/2016/10/12/qt-5-6-2-released/
[2] http://wiki.qt.io/Qt_5.6.2_Change_Files

PR: 213530
Exp-run by: antoine
Submitted by: Adriaan de Groot <groot@kde.org>
Reviewed by: rakuco, mat, tcberner
Approved by: rakuco (mentor)
Differential Revision: https://reviews.freebsd.org/D8228
2016-10-28 13:43:14 +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
Joseph Mingrone
99484199c4 Include MASTER_SITE_CRAN in Mk/bsd.sites.mk
With this change, math/R, math/libRmath, and all cran ports can share one
list of sites.

Reviewed by:	mat
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D8328
2016-10-25 17:04:38 +00:00
Mathieu Arnold
73a69a6388 Do not force a lookup in LOCALBASE/lib for shared libraries.
ldd should work correctly if rpath is set, and this adds false
positives.

PR:		213547
Submitted by:	John Hein
Sponsored by:	Absolight
2016-10-25 11:44:19 +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
Mathieu Arnold
39dc010c76 Add SHEBANG_REGEX and SHEBANG_GLOB, similar as the DOS2UNIX ones.
Sponsored by:	Absolight
2016-10-24 14:16:23 +00:00
Mathieu Arnold
b7fb6d6f05 Allow more than one filename to be pathfixed.
PR:		213195
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D8093
2016-10-21 15:19:57 +00:00
Mathieu Arnold
6c199d0a12 It feels safe to assume that if using autoreconf, you want to patch Makefile.am.
PR:		213195
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D8093
2016-10-21 15:19:54 +00:00
Mathieu Arnold
2596517077 Add a few more paths to USES=pathfix.
PR:		213195
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D8093
2016-10-21 15:19:50 +00:00
Mathieu Arnold
eabbfd75e3 ${RM} already has -f.
PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-10-21 12:51:40 +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
Mathieu Arnold
e7064f0d41 Replace non breaking space \xa0 with a normal space.
Sponsored by:	Absolight
2016-10-20 13:19:39 +00:00
Tijl Coosemans
1675ff649c Add Linux CentOS 7 infrastructure ports.
Mk/Uses/linux.mk changes:
- Add support for architecture neutral (noarch) distfiles.
- Add support for 64-bit only ports: set IGNORE on i386 and don't install
  32-bit compat libraries on amd64.

Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
Differential Revision:	https://reviews.freebsd.org/D7886
2016-10-19 14:50:26 +00:00
Tobias C. Berner
1d16d53e19 Introduce new extensible virtual categories for KDE
A lot of KDE Ports share MASTERSITES, LICENSE and so one, as they are
released as a bundle upstream, however, there was not really a clean
way to share this information.

Using these new categories, we can simplify the Makefiles for the diverse
KDE ports.
At the moment we support the virtual category
	* kde-kde4
In the future, this will be extended to
	* kde-frameworks
	* kde-plasma
	* kde-applications

PR:						213406
Differential Revision:	https://reviews.freebsd.org/D7645
Exp-run by :			antoine
Reviewed by:			mat, rakuco
Approved by: 			portmgr (mat), rakuco (mentor)
2016-10-18 17:22:35 +00:00
Mathieu Arnold
1ce1ab6ba3 Make make clean be recursive again.
PR:		213188
Submitted by:	tijl
Exp-run by:	antoine
Sponsored by:	Absolight
2016-10-18 15:27:25 +00:00
Jan Beich
e67dc162af Adjust TEST_WRKSRC for USES=[cq]make:outsource
Approved by:	rakuco
Differential Revision:	https://reviews.freebsd.org/D8274
2016-10-18 11:20:01 +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
Dmitry Marakasov
4d4d500854 - Switch waf to verbose builds as well
Approved by:	portmgr (mat)
Differential Revision:	D8240
2016-10-13 16:26:09 +00:00
Mathieu Arnold
07231789ec Change the way opt_USE is parsed.
This makes it possible to have:
opt_USE=  ldconfig=${PREFIX}/lib/foo/bar

Before this, it would have ended up doing USE_LDCONFIG=/lib/foo/bar,
without ${PREFIX}.

Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D8169
2016-10-12 12:19:55 +00:00
Jan Beich
9981073266 gecko: back out r423631 for 10.x bustage
- DTRACE=on crashes building probes with libstdc++
- libc++ by default conflicts with libstdc++ from USE_GCC

PR:		213378
Reported by:	dhw, tz, pkg-fallout, Philip Homburg
2016-10-11 16:22:23 +00:00
Jan Beich
57f29e80f1 gecko: factor out explicit USE_GCC
Excluding toolchain bugs the following is equivalent

  # Not supported yet
  USES=		compiler:c++14-lib

vs.

  USES=		compiler:c++14-lang
  FAVORITE_COMPILER=	gcc
2016-10-10 02:58:43 +00:00
Mathieu Arnold
a226561b32 Remove obsolete entry.
Sponsored by:	Absolight
2016-10-04 11:46:52 +00:00
Tobias C. Berner
2ab4f3e77d Teach pathfix.mk about LIB_DESTINATION
Some cmake projects use LIB_DESTINATION/pkgconfig to install the pc-files.

For example:
* deskutils/libstreamanalyzer
* sysutils/polkit-qt{,5}
* x11-toolkits/attica

By adding this, we can convert these ports to use pathfix instead of an
uncessessary patch-foo or confusing sed call.

Reviewed by:	mat
Approved by:	portmgr (mat), mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D8141
2016-10-04 06:18:32 +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
Jan Beich
d3a72dd82f gecko: cleanup obsolete conditionals
- Remove unused MOZILLA_VER checks
- Drop unused GSTREAMER and LOGGING options
- Drop unsupported USE_MOZILLA=opus (--with-system-opus)
2016-10-02 14:29:29 +00:00
Jan Beich
ad325ac5fb www/seamonkey: update to 2.40
SeaMonkey now uses FFmpeg directly rather than via GStreamer for H.264
and MP3 playback as part of HTML5. Note, FFmpeg 3.x is unsupported[1].

Changes:	http://www.seamonkey-project.org/news#2016-03-14
PR:		210931
Submitted by:	net@arrishq.net (based on)
Security:	2c2d1c39-1396-459a-91f5-ca03ee7c64c6
MFH:		2016Q3

[1] SeaMonkey 2.40 is based on Firefox 43 codebase but Firefox 45
    is the earliest to have the fix. Backporting maybe tricky:
    https://bugzilla.mozilla.org/show_bug.cgi?id=1232268
2016-10-02 14:29:03 +00:00
Ashish SHUKLA
5b974a37af GNU Emacs updates
editors/emacs:
- Update to 25.1[1]
- Update CANNA patchset[2]
- Cleanup CONFLICTS_INSTALL list[1]
- Add LLDB option for lldb support (provided by 3rd party) to GUD[1]
- Add various other options, and re-order options[1]
- Incorporate games stuff in pkg-plist[1]
- Remove outdated diffs[1]

editors/emacs-nox11:
- Update to 25.1[3]
- Cleanup CONFLICTS_INSTALL list[3]

editors/emacs-devel:
- Update to git revision 25dca60d

Mk/bsd.emacs.mk:
- Update version numbers[4]

PR:		212807 [1], 212808 [3], 212809 [4]
Submitted by:	Joseph Mingrone <jrm@ftfl.ca> [1][3][4]
		TAKANO Yuji <takachan@running-dog.net> (private email) [2]
2016-10-02 05:07:22 +00:00
Tijl Coosemans
1ee4da6dd1 Let USES=localbase add -L${LOCALBASE}/lib to LIBS instead of LDFLAGS.
USES=localbase:ldflags can be used to set LDFLAGS.  Normally LDFLAGS
appears too early on the command line causing some ports to link with
their own libraries in LOCALBASE (if installed) instead of WRKSRC.

Also make use of _USES_POST so -L${LOCALBASE}/lib is added as late as
possible after anything a port Makefile might set.  Use _USES_POST
instead of .include in libedit.mk and libarchive.mk so things like
'USES=libedit localbase:ldflags' work correctly.

Fix some issues with LIBS in some ports.

Switch ports that don't support LIBS to localbase:ldflags.

PR:		212987
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-09-30 19:24:30 +00:00
Tobias C. Berner
375097a58a Teach pathfix about KDE_INSTALL_LIBDIR for pkgconfig files.
Reviewed by:	rakuco, mat
Approved by:	portmgr (mat), mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D8029
2016-09-30 17:45:19 +00:00
Antoine Brodin
ea16d28b49 - Update devel/doxygen to 1.8.12
- Adjust plist of ports depending on it

PR:		212869
2016-09-27 16:32:52 +00:00
Raphael Kubo da Costa
dbd37211c0 bsd.qt.mk: Use CONFIGURE_WRKSRC instead of WRKSRC in the .qmake.cache hack
WRKSRC is not what we want here: when USES=qmake:outsource is used (such as
in www/webkit-qt5), the build actually takes place in ${WRKDIR}/.build, so
we were creating .qmake.cache in the wrong location and passing the wrong
directory to the linker via -L. With CONFIGURE_WRKSRC, we get the right
value regardless of whether :outsource is used or not.

PR:		212859
Reviewed by:    tcberner
MFH:            2016Q3
2016-09-26 17:44:08 +00:00
Jan Beich
850998762e bsd.options.desc.mk: add common OPENCL option description
Differential Revision:	https://reviews.freebsd.org/D7958
2016-09-23 13:14:43 +00:00
Steve Wills
dcdbc2bab2 Remove support for RUBY_ELISPDIR 2016-09-19 16:46:34 +00:00
Raphael Kubo da Costa
3346021972 Update the Qt5 ports to 5.6.1.
This took longer than expected, but there are quite a few changes to the
existing ports and a few new ones.

General upstream changes:
- Starting with Qt 5.6.2, Qt will fail at configuration time if LibreSSL is
  being used. According to the discussion here:
  https://codereview.qt-project.org/#/c/154800/
  The Qt project is not opposed to LibreSSL, but does not want to mix
  support for it into the OpenSSL backend code, especially as they move
  towards supporting OpenSSL 1.1.
  People interested in LibreSSL support are welcome to submit a separate
  backend upstream, but are expected to maintain it. We (kde@) are not
  opposed to carrying some patches authored by others in the future, as long
  as they are not huge and destabilizing.
- When Qt detects the compiler supports C++11, it will pass -std=gnu++11 by
  default (this is an upstream change). You can add "CONFIG -= c++11" to
  your .pro. Qt 5.7 will require C++11.
- www/webkit-qt5: The QtWebKit module is deprecated upstream, and is shipped
  separately as a community release tarball. kde@ does not have an ETA for a
  qt5-webengine port, as it requires a huge effort (and number of patches)
  similar to maintaining www/chromium itself.
- x11-toolkits/qt5-declarative has been deprecated upstream. The last
  release is 5.5.1.

Relevant changes:
- devel/qmake5: The freebsd-clang mkspec has become the default mkspec on
  FreeBSD, replacing the outdated freebsd-g++ one that was moved to
  unsupported/ (it still works though).
- devel/qt5-qdoc: qdoc was moved to qttools upstream, but its data files are
  still in qtbase. The data files are now in the qt5-qdoc-data port.
- misc/qt5-doc: Clean up and stop requiring a compiler and fumbling with
  mkspecs. Instead of running the `configure' script, which requires a
  compiler and adjustments to the mkspecs files and also ends up building a
  new qmake binary, we now leverage USES=qmake to generate all the Makefiles
  from the top-level qt.pro. Getting this to work requires some tricks,
  though, and qt.conf.in has a longer explanation of what's being done.
  Switch to USES=gmake to be able to drop MAKE_JOBS_UNSAFE=yes.

New ports:
- comms/qt5-serialbus
- devel/qt5-qdoc-data
- x11-toolkits/qt5-quickcontrols2

Big thanks to Adriaan de Groot (groot@kde.org), tcberner@ and Loise Nolden
(nolden@kde.org) for the huge amount of work they put into this
patch. Loise in particular also sent quite a few changes upstream that were
essential for this update to work.

PR:		211916
2016-09-17 09:46:54 +00:00
Steve Wills
afc37b75c3 remove missed comment 2016-09-15 15:50:41 +00:00
Steve Wills
8831965089 Mk/bsd.ruby.mk: remove rdtool support
rdtool support has been disabled by default for 12 years and isn't needed
2016-09-15 15:49:25 +00:00
Olivier Duchateau
d8bef4ae0e perldude.de (one of Xfce mirrors sites) is not regularly synchronized
compared to others
2016-09-15 15:33:48 +00:00
Koop Mast
c8776db59d Add ncurses suggestion to qa.sh.
Approved by:	portmgr (mat@)
Differential Revision:	https://reviews.freebsd.org/D7885
2016-09-13 20:35:34 +00:00
Dmitry Marakasov
08b6e157a4 Add all Creative Commons licenses
Approved by:	portmgr (mat)
Differential Revision:	D7852
2016-09-13 12:24:51 +00:00
Dmitry Marakasov
30a00f2227 Most commonly used build systems support silent builds, when they
hide actual commands executed and only show short summary line (like
"CC foo.c"). CMake and ninja enable this by default, some autotools
using ports do as well. This is unacceptable because we need complete
build logs at any time, so we now switch to verbose build logs
unconditionally. Note that this change deliberately affects ALL
builds and not only package builds on cluster, because we need to
be sure that user experiencing failure can always provide informative
build log regardless of settings and without rerunning the build.

Change summary:

- Always do verbose builds for cmake, ninja and GNU configure (the
  latter includes check if --disable-silent-rules is actually supported
  by the configure script; there are isolated cases when it's not true)
- Remove CMAKE_VERBOSE, NINJA_VERBOSE and
  CONFIGURE_ARGS=--disable-silent-rules from all ports which set them
  for this is no longer needed
- Revert hacks for --disable-silent-rules support priorly committed
  to biology/ncbi-blast+ and net-p2p/mldonkey - no longer needed as well

Submitted by:	amdmi3
Reviewed by:	mat
Exp-run by:	antoine
Approved by:	portmgr (mat, antoine)
Differential Revision:	D7534
2016-09-09 19:42:46 +00:00
Baptiste Daroussin
69caa8edde Rework the cross build framework so that it uses the external toolchain
It allows to cross build everything wich is not expecting target dependencies
2016-09-08 21:34:48 +00:00
Dmitry Marakasov
2d6876e9b5 - Add developer warning about LICENSE not set by a port
Approved by:	portmgr (mat)
Differential Revision:	D7834
2016-09-08 16:13:55 +00:00
Mathieu Arnold
cd9e609ae0 Allow adding only a build or run-time dependency on USES=ssl.
PR:		202175
Reported by:	barnerd
Sponsored by:	Absolight
2016-09-08 14:13:01 +00:00
Mathieu Arnold
f999dd783a Provide a standard way to look up for executables and shared libraries.
PR:		211146
Submitted by:	yuri rawbw com
Sponsored by:	Absolight
2016-09-08 14:12:58 +00:00
Mathieu Arnold
400866262b Fix ncurses to not add /usr/lib to rpath.
There are three cases here:

1) USES=ncurses or USES=ncurses:base and devel/ncurses is not present:
   use base, no need to add rpath as there is only one libncurses.so
   present, in /usr/lib
2) USES=ncurses and devel/ncurses is present or USES=ncurses:port: use
   ports, and add rpath to LOCALBASE/lib so that the right one is picked
3) USES=ncurses:base and devel/ncurses is present fail (it would warrant
   using -rpath /usr/lib, but it error's out during the sanity stage)

PR:		211592
Reported by:	koobs (and many others)
Reviewed by:	bapt
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D7459
2016-09-08 14:12:55 +00:00
Mathieu Arnold
63598e1919 Disable some checks for linux ports.
- shebang check: skip scripts in LINUXBASE.  Things like /bin/bash are
  valid in a Linux context.  Also, these scripts usually only work with
  a Linux shell so it doesn't make sense to try to make them work from a
  FreeBSD shell.
- prefixvar check: allow LINUXBASE/var.
- proxydeps check: only test FreeBSD ELF files because ldd(1) doesn't
  work with other ELF files.

PR:		212419
Submitted by:	tijl
Sponsored by:	Absolight
2016-09-08 14:12:41 +00:00
Dmitry Marakasov
2629c47f2b Add support added for LICENSE=NONE, use it when the port doesn't
have cleanly defined licensing terms.  Note that without clean
license allowing you to use and distribute the code it would be be
illegal to do so in many jurisdictions, so for ports with NONE
license no distfiles or packages are distributed.

While here, fix trailing whitespace in CHANGES.

Approved by:	portmgr (bapt)
Differential Revision:	D7816
2016-09-08 13:15:06 +00:00
Jan Beich
083c168a48 gecko: drop poorly maintained GIO=off case after r376999
Glib IO is already used by Gtk internally, so there's little reason
to avoid it unless using non-Gtk builds which are no longer supported.

https://bugzilla.mozilla.org/show_bug.cgi?id=1286627
https://bugzilla.mozilla.org/show_bug.cgi?id=1287288

PR:		210220
Reported by:	Marco Beishuizen, Arrigo Marchiori
MFH:		2016Q3
2016-09-08 06:49:24 +00:00
Jan Beich
a6395dab99 www/firefox: update to 49.0 (rc2)
Bump PORTREVISION to account for slightly different behavior in other
gecko@ ports and to get a discrete regression window.

Changes:	https://www.mozilla.org/firefox/49.0/releasenotes/
PR:		211792
Submitted by:	Jochen Neumeister <joneum@bsdproject.de> (based on)
Security:	2c57c47e-8bb3-4694-83c8-9fc3abad3964
MFH:		2016Q3
2016-09-08 06:48:53 +00:00
Tijl Coosemans
aea21b3b36 - In Uses/linux.mk use the loop variable directly when appending to
*_DEPENDS.  Helper variables derived from the loop variable aren't
  expanded causing *_DEPENDS to be incorrect.
- Bump all ports with more than one value in USE_LINUX.

PR:		211645
Reported by:	jkim
2016-09-07 12:43:22 +00:00
Mathieu Arnold
22108b5cc6 Add redis to the USE_PHP list of possible modules.
PR:		210171
Submitted by:	mat
Sponsored by:	Absolight
2016-09-07 07:17:37 +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
Roman Bogorodskiy
d38b1c76dc ssl.mk: fix typo in comment
s/use/user/

Approved by:	mat
2016-09-05 15:21:06 +00:00
Palle Girgensohn
96150e27d7 Add PostgreSQL-9.6 RC1
Please read the entry from 20160905 in UPDATING:

daemon user has changed to `postgres'
ICU is default on
2016-09-05 11:15:29 +00:00
Antoine Brodin
40592f24b6 Improve CHEESESHOP subdir substitution, it didn't work well with
DISTVERSION containing non digits.

PR:		205762
With hat:	portmgr
2016-09-04 10:23:14 +00:00
Ed Maste
e3596a7959 Introduce READELF?= /usr/bin/readelf
In many cases where objdump is currently used, readelf is a better
choice. Introduce a variable for ports that wish to use it.

Reviewed by:	bapt
Approved by:	portmgr
Differential Revision:	https://reviews.freebsd.org/D7761
2016-09-02 15:54:20 +00:00
Mathieu Arnold
679f715601 Don't duplicate the list of options helpers.
People who come here can read the code, they will be able to understand
the variable definition.

Sponsored by:	Absolight
2016-08-31 13:28:05 +00:00
Mathieu Arnold
d14923d361 Add GH_SUBDIR to option helpers.
Submitted by:	lightside gmx com
Sponsored by:	Absolight
2016-08-31 12:50:36 +00:00
Mathieu Arnold
173b2225ad Introduce IGNORE_opsys/osrel/arch, similar to the BROKEN_* ones.
Sponsored by:	Absolight
2016-08-29 22:08:19 +00:00
Mathieu Arnold
ac80808e02 Add a stage-qa check to check for the existence of SONAME in .so's.
If a port provides .so.X files, they have to have a SONAME for them to
work correctly.

While there, incorporate a reverse soname checks in proxydeps.
A port that needs a .so.X from another port which does not have a
SONAME.

Reviewed by:	bapt
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D7454
2016-08-29 15:23:52 +00:00
David Naylor
f106023e89 Mk/Uses/cran.mk: fix WARNING in cran tests.
R warns if it detects .o or .so objects in the source directory, when
running tests.  Remove the offending files before running the test.

Take maintainership [1]

PR:		212134
Approved by:	wen [1]
2016-08-26 20:30:18 +00:00
Mathieu Arnold
64a3179722 Use LIB_DEPENDS when appropriate in KDE components.
Lots of KDE components are providing libraries, and they were,
strangely, written as BUILD_ or RUN_DEPENDS, with a full path to the
library.  Change this so that if a component is needed at both build,
and, run-time, then it gets a LIB_DEPENDS.

Reviewed by:	rakuco, tcberner
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D7625
2016-08-26 12:43:57 +00:00
Mathieu Arnold
c776ac6757 make WRKSRC_foo work again when GH_SUBDIR is used.
Sponsored by:	Absolight
2016-08-26 11:01:38 +00:00
Alexey Dokuchaev
bbf1349240 Do not terminate IGNORE messages with period, it is added by the framework. 2016-08-26 08:42:27 +00:00
Mathieu Arnold
a8409dba34 Add GH_SUBDIR, automatically moves a secondary distfile to the right
place inside ${WRKSRC}.

Before:

GH_TUPLE=	Regaddi:Chart.js:f13f99b:chart_js \
		FVANCOP:ChartNew.js:77e7f87:chartnew_js
post-extract:
	@${RMDIR} ${WRKSRC}/database ${WRKSRC}/3rd/Chart.js
	@${MV} ${WRKSRC_database} ${WRKSRC}/database
	@${MV} ${WRKSRC_chart_js} ${WRKSRC}/3rd/Chart.js

After:

GH_TUPLE=	Regaddi:Chart.js:f13f99b:chart_js/3rd/Chart.js \
		FVANCOP:ChartNew.js:77e7f87:chartnew_js/3rd/ChartNew.js

Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D7583
2016-08-24 14:50:04 +00:00
Mathieu Arnold
5ab3a2ed29 Can't use GSSAPI from base when using OpenSSL from ports.
It kinda works when both OpenSSL have the same options, but fails in
strange ways if they do not.

Sponsored by:	Absolight
2016-08-24 13:03:30 +00:00
Tobias C. Berner
e225b301e9 Fix usage description of kde.mk
kde.mk needs to have an argument. So USES=kde is not
valid.

Approved by:	mat (mentor)
2016-08-24 09:26:50 +00:00
Tobias C. Berner
0f583d8700 Replace Mk/bsd.kde4.mk by Mk/Uses/kde.mk in preparation for KDE Frameworks and
Plasma5 ports

At the moment KDE ports use bsd.kde4.mk to handle their dependencies. When
working on the ports for KDE Frameworks and Plasma5 it seemed to be more
reasonable to create a new kde.mk instead of adding an bsd.kde5.mk.

The kde.mk in this review is a stripped down version of the one we are using in
the KDE Test repositories plasma5 branch [1] to only contain the parts relevant
to the current KDE4 ports in the portstree [2].

Changes to the KDE Ports needed by this:

Replace USE_KDE4 by USE_KDE [3]
Add USES=kde:4 [4]
[1] http://src.mouf.net/area51/view/branches/plasma5/KDE/Mk/Uses/kde.mk
[2] The version in the plasma5 branch also handles frameworks/plasma5 and
    handles MASTER_SITES via a KDE_DIST variable similar to bsd.qt.mk for Qt
    Ports -- I chose to leave this out for now, as the diff is already large
    enough.
[3] I chose USE_KDE instead of USE_KDE4, USE_KDE5, USE_KDEX as the version we
    want is already specified as argument to kde:<arg>
[4] For KDE Frameworks and Plasma5 ports this would be kde:5

PR:             210667
Approved by:    portmgr, mat (mentor), rakuco (mentor)
Reviewed by:    mat, rakuco
Differential Revision:   https://reviews.freebsd.org/D6961
2016-08-24 08:20:31 +00:00
John Marino
afe48a5ce9 Mk/Uses/alias.mk: Fix typo, remove "8" option
The "8" refers to FreeBSD 8.x which is no longer supported by the
ports tree.  It's never been used (to my knowledge) so just remove the
option altogether.
2016-08-23 12:33:13 +00:00
Jimmy Olgeni
4d82f4dd69 Pass MAKE_ENV to the ERLANG_COMPILE command, so that CFLAGS and
LDFLAGS actually reach the C compiler when invoked by rebar.
2016-08-23 11:00:57 +00:00
Dmitry Marakasov
63dc8aecfe - Add enchant php55/php56/php70 extension
PR:		208828
Submitted by:	daniel@blodan.se
Approved by:	maintainer timeout (ale, 4 months)
2016-08-23 10:54:49 +00:00
Koop Mast
a9ac7de46b Add new session component (mate-session-manager) for USE_MATE. 2016-08-22 12:12:23 +00:00
Raphael Kubo da Costa
91a0042321 bsd.kde4.mk: Remove extra empty line. 2016-08-21 10:20:55 +00:00
Mathieu Arnold
61358292e2 Fixup the PLIST_SUB_SED creation.
PR:		211995
Reported by:	koobs
Sponsored by:	Absolight
2016-08-19 13:09:28 +00:00
Mathieu Arnold
ca7355c38b Put back PLIST_DIRS handling.
My eyes were playing tricks on me.

PR:		211953
Reported by:	dim
Pointy hat:	mat
Sponsored by:	Absolight
2016-08-17 21:07:22 +00:00
David Naylor
c13104b64f Mk/Uses/cran.mk: fix 'compiles' argument.
Due to the change in r419666 USE_GCC is not conditionally set, however it
was bringing in the dependencies for fortran (silently).  Explicitly bring
in the dependencies for fortran.

Also, add a target to strip the compiled shared library.

PR:		211891
Reviewed by:	mat
Approved by:	wen
2016-08-17 15:42:23 +00:00
Mathieu Arnold
2f53697702 Move USE_BDB and PLIST_DIRSTRY to the unsupported section, all the ports
have been converted.

Sponsored by:	Absolight
2016-08-17 12:16:24 +00:00
Mathieu Arnold
642bf72f27 Add regexps capacity to PLIST_SUB.
This adds the possibility to use regular expressions for the makeplist
stage of the PLIST_SUB life.

From time to time, the values are too generic, and they get in the way of other
stuff.

This adds the possibility to have a `VAR_regex=regex` that will be used instead
of the `VAR=string` to search for possible replacements.

For example, in lang/perl5*, there is PERL_ARCH=mach, which will get
replaced in paths if a file is called, say "machine", will end up being
"%%PERL_ARCH%%ine".  Adding PERL_ARCH_regex="\bmach\b" will ensure only
full words are replaced, so machine will stay machine, but "lib/mach/foo
"will still be replaced by "lib/%%PERL_ARCH%%/foo".

Reviewed by:	bdrewery
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D7335
2016-08-17 09:11:08 +00:00
Mathieu Arnold
ebdae4c240 Split the PLIST_SUB_SED variable in smaller logical groups.
This will allow expanding it more easily.

Sponsored by:	Absolight
2016-08-17 09:11:00 +00:00
Mathieu Arnold
d131b524b1 typo.
Submitted by:	wblock
Sponsored by:	Absolight
2016-08-17 08:55:35 +00:00
Mathieu Arnold
38efae9d84 Unbreak make missing.
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D7504
2016-08-17 08:54:43 +00:00
Tobias C. Berner
8bd38ffae8 New port: devel/grantlee5 and Uses/grantlee.mk
The upcoming KDE Frameworks ports need grantlee5

*  Add devel/grantlee5 and move installed headers into a subdirectory include/grantlee5
*  Move header files from devel/grantlee into a subdirectory
       include/grantlee4
   to make sure ports do not pick up the wrong headers
*  Add Uses/grantlee.mk to handle the PLIST_SUB and LIB_DEEPENDS needed
   by ports using grantlee (before we set the PLIST_SUB manual in very
   of the depending ports, which now should not be needed anymore).
*  The ports depending on devel/grantlee have been modified from
      LIB_DEPENDS=libgrantlee_gui.so:devel/grantlee
   to
      USES=grantlee:4
   as this does not affect the package no version bumped was made.

Reviewed by:    mat, rakuco
Approved by:    rakuco (mentor)
Differential Revision:  https://reviews.freebsd.org/D7434
2016-08-15 15:36:19 +00:00
Mathieu Arnold
2d4f2b9c75 Remove www/pecl-APC, it doesn't work with PHP 5.5+.
PR:		211344
Submitted by:	rene
Sponsored by:	Absolight
2016-08-15 15:28:03 +00:00
Christian Weisgerber
99dba32033 Add SNDIO default description.
PR:		211554
Submitted by:	Tobias Kortkamp <t@tobik.me>
2016-08-09 14:52:55 +00:00
Mathieu Arnold
7334d0b764 Don't overquote the DEPRECATED message, it ended up looking silly.
Something like:

-----------
This port is deprecated; you may wish to reconsider installing it:

EOL\ upstream\ since\ 10\ Jul\ 2016.

It is scheduled to be removed on or after 2016-08-20.
-----------

PR:		211421
Reported by:	Miroslav Lachman
Sponsored by:	Absolight
2016-08-09 14:29:04 +00:00
Mathieu Arnold
74109de537 Only try to create DISTDIR if it does not exist already.
It turns out, some people, instead of setting DISTDIR, replace it with a
symlink pointing to where DISTDIR should be pointing.

And mkdir -p <symlink> fails.

PR:		211623
Reported by:	Harald Schmalzbauer
Sponsored by:	Absolight
2016-08-08 12:57:34 +00:00
Rene Ladan
f9c8dbe476 Unregister net/qt5-enginio from Mk/bsd.qt.mk which has expired.
PR:		211581
Submitted by:	myself
Approved by:	kde (tcberner), portmgr (mat)
2016-08-06 22:00:20 +00:00
Mathieu Arnold
a09e3f68ab Tell people to add USES=gettext-runtime, not USES=gettext.
This is done after the port has been built, so it is already building,
so it does not need to be added a BUILD_DEPENDS on gettext-tools.

Discussed with:	dumbbell
Sponsored by:	Absolight
2016-08-05 18:29:10 +00:00
Tijl Coosemans
5fa40fe75d Add x11/linux-c6-pixman, required by graphics/linux-c6-cairo.
Submitted by:	jkim
2016-08-04 20:29:13 +00:00
Tijl Coosemans
0af083619f Add graphics/linux-c6-jasper, required by graphics/linux-c6-gdk-pixbuf2. 2016-08-04 17:30:18 +00:00
Mathieu Arnold
b21d580983 Prefix the PKGMESSAGES variable with an _ to show it is private.
Sponsored by:	Absolight
2016-08-03 12:48:59 +00:00
Mathieu Arnold
aef5a66670 Don't use extension.ini any more, and have each extension install in its
file, so the order remains the same.

Every PHP (or Zend) extension now installs its own .ini file in
/usr/local/etc/php.  A PHP extension will be automatically activated
when installed.  The order into which extensions are loaded is
automatically guessed.  In some very rare cases, the guess will be
wrong, and PHP_MOD_PRIO will need to be set.  Refer to the USES=php
section of the Porter's Handbook for more information.

Convert ports touching etc/php/extensions.ini manually, or telling the
OP to do it.

And finally, bump PORTREVISION for all php extensions.

PR:		210697
Submitted by:	mat
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D7022
2016-08-03 12:47:05 +00:00
Mathieu Arnold
b79eed7e66 Add a PKGMESSAGES variable that allows the framework to have more than
one PKGMESSAGE file.

This allows the framework to add messages to ports, without touching
their PKGMESSAGE file.

Sponsored by:	Absolight
2016-08-03 12:45:30 +00:00
Mathieu Arnold
0761532ec5 Always include bsd.default-versions.mk in bsd.port.mk.
The variable defined in it are now always available after including
bsd.port.pre.mk.

PR:		210666
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6933
2016-08-03 12:09:37 +00:00
Tijl Coosemans
1d27031c27 Add devel/linux-c6-libthai, required by x11-toolkits/linux-c6-pango. 2016-08-02 12:26:36 +00:00
Tijl Coosemans
21653fcc78 Use LINUX_REPO_ARCH instead of LINUX_RPM_ARCH when setting DISTINFO_FILE
and PLIST for Linux ports.  LINUX_RPM_ARCH is the CPU targetted by a
package and LINUX_REPO_ARCH is like our ARCH which is more suitable.  This
only affects Centos 6 ports because they are the only ones where
LINUX_REPO_ARCH != LINUX_RPM_ARCH.
2016-08-01 13:07:14 +00:00
Ashish SHUKLA
0a2c26daa2 editors/emacs-devel:
- Update to 25.1-rc1[1]
 - Add IMPLIES condition for XWIDGETS option[1]

Mk/bsd.emacs.mk:
 - Add block for emacs-nox11[2]
 - Update emacs-devel block with new EMACS_VER

PR:		211356 [1]
Submitted by:	Joseph Mingrone <jrm@ftfl.ca> [1],
		matthew (via private email) [2]
2016-07-27 07:12:24 +00:00
David Naylor
5b1919fe3f Mk/Uses/tcl.mk: fix stage-qa linking error.
- If a port links to libtk then it will always also link to libtcl.  Include
   libtcl in the LIB_DEPENDS when linking to libtk.
 - Fix indentation of '.if' statements

PR:		211261
Approved by:	gahr
MFH:		2016Q3
2016-07-24 08:45:30 +00:00
Mathieu Arnold
507c83b05b Stop people putting arguments to USES=ssl.
Sponsored by:	Absolight
2016-07-22 08:07:05 +00:00
Ashish SHUKLA
d3c3ceafb5 - Update EMACS_PORTSDIR to match new convention of specifying dependency
ports, and rename it to EMACS_PORTDIR

PR:		210960
Submitted by:	rakuco
2016-07-22 03:29:47 +00:00
Bryan Drewery
5f4c47a499 Fix display of 7.0 for IGNORE 2016-07-20 20:29:07 +00:00
Jan Beich
ef220c70b1 gecko: axe poorly maintained QT5 support
https://bugzilla.mozilla.org/show_bug.cgi?id=1282866
2016-07-13 16:24:33 +00:00
Raphael Kubo da Costa
581d68fbb3 bsd.emacs.mk: Fix EMACS_VER for emacs-devel after r416838.
The value did not match the one in editors/emacs-devel, so ports such as
textproc/markdown-mode.el would fail `make build/run-depends` since the wrong
binary name would be looked for.

MFH:		2016Q3
2016-07-10 11:20:33 +00:00
Christoph Moench-Tegeder
f0cc5e1c85 update thunderbird to 45.2.0
PR:		210749
Approved by:	jbeich (maintainer), rene (mentor)
MFH:		2016Q3
Security:	8065d37b-8e7c-4707-a608-1b0a2b8509c3
2016-07-09 13:21:06 +00:00
Tijl Coosemans
a0a3b1dad0 Remove a patch from devel/gmake so the port no longer depends on
print/texinfo which requires gmake.  To break this circular dependency
gmake-lite was introduced.  This can be removed now as well.

PR:		210623
Reviewed by:	bapt
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-07-08 11:24:18 +00:00
Baptiste Daroussin
760a89b9c5 Do not try to register '/' as a directory when PREFIX is set to '/' 2016-07-05 17:57:42 +00:00
Adam Weinberger
5fc4d6d4d4 Extend the USES=php match so that it recognizes php:web as well, to prevent
an erroneous deprecation warning.

PR:		210822
Approved by:	portmgr (mat)
2016-07-04 19:12:55 +00:00
Alexey Dokuchaev
aa94a4ac33 Add another http:// GENTOO mirror and kill stray EOL whitespace while here. 2016-07-02 10:39:52 +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
816ca34d92 Only warn about symlinks that exist in the stage directory, or that
exist nowhere.

Sponsored by:	Absolight
2016-06-30 09:59:27 +00:00
Mathieu Arnold
d51e60ebb9 For some reason, != "" and == "" don't work the same with make and
fmake, but, empty does.

Pointy hat to:	mat, or make(1) pick one.
Sponsored by:	Absolight
2016-06-29 13:31:35 +00:00
Mathieu Arnold
0600ac5008 Move USE_PHPEXT, USE_PHP_BUILD and USE_ZENDEXT to unsupported, now that
they have been removed from the ports tree.

Sponsored by:	Absolight
2016-06-28 14:00:58 +00:00
Mathieu Arnold
4973e5b396 Add support for USE_PHP=ext:build to add a build dependency on the extension.
PR:		210529
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6936
2016-06-28 13:57:43 +00:00
Mathieu Arnold
d2c4c14627 USEify USES=php.
The following variables have been folded into arguments:

- USE_PHPIZE -> USES=php:phpize
- USE_PHPEXT -> USES=php:ext
- USE_ZENDEXT -> USES=php:zend
- USE_PHP_BUILD -> USES=php:build
- WANT_PHP_CLI -> USES=php:cli
- WANT_PHP_CGI -> USES=php:cgi
- WANT_PHP_MOD -> USES=php:mod
- WANT_PHP_WEB -> USES=php:web
- WANT_PHP_EMB -> USES=php:embed

PR:		210529
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6936
2016-06-28 13:57:37 +00:00
Dmitry Marakasov
062a97e125 - Fix typo: "you need USES=nssl" -> "you need USES=ssl"
Approved by:	mat
Differential Revision:	D6997
2016-06-28 07:58:43 +00:00
Mathieu Arnold
6f976cd9b9 Remove obsolete doc.
Sponsored by:	Absolight
2016-06-27 14:07:56 +00:00
Mathieu Arnold
639a283517 Catch up two instances of USE_OPENSSL.
Sponsored by:	Absolight
2016-06-27 13:26:17 +00:00
Mathieu Arnold
06b4ea3876 Replace bsd.openssl.mk with USES=ssl
Add a qa hint about needing, or not, USES=ssl.

Fix ports doing silly things, like including bsd.openssl.mk directly.

PR:		210322
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6866
2016-06-27 11:31:10 +00:00
Mathieu Arnold
6c2e13095d Add opt_CMAKE_BOOL_OFF, oposite of opt_CMAKE_BOOL.
PR:		210576
Sponsored by:	Absolight
2016-06-26 16:23:37 +00:00
Adam Weinberger
5c332ae6cb Add an opt_CMAKE_BOOL options helper.
SOMEOPT_CMAKE_BOOL=	WITH_FOO BAR

expands to:

  -DWITH_FOO:BOOL=true -DBAR:BOOL=true
or
  -DWITH_FOO:BOOL=false -DBAR:BOOL=false

PR:		210576
Approved by:	portmgr (mat)
2016-06-25 22:23:37 +00:00
Antoine Brodin
1f14e228b1 Reduce a little bit foot shooting for people installing python 3 ports using
PYTHON_ABIVER/PYTHON_INCLUDEDIR, when they use default options for
lang/python3x, by providing a reasonable default value to PYTHON_ABIVER

With hat:	portmgr
2016-06-25 19:51:32 +00:00
Bryan Drewery
c203addf6d Fix package depends install not respecting DEPENDS_ARGS for the PKGFILE lookup.
This also optimizes the PKGBASE/PKGFILE lookup with the new port_var_fetch(),
which passes in the known DEPENDS_ARGS.
2016-06-24 05:04:33 +00:00
Bryan Drewery
5061f450c8 Add a function port_var_fetch() for fetching multiple variables from a port.
This is taken from Poudriere (uncommitted)
2016-06-24 05:03:34 +00:00
Bryan Drewery
97587b1a48 Show proper variable in error.
With hat:	portmgr
2016-06-24 04:53:45 +00:00
Olli Hauer
b3c519553b - add _ypldap to USERS_BLACKLIST and GROUPS_BLACKLIST
PR:		210282
Submitted by:	ohauer
Approved by:	portmgr (mat@)
2016-06-24 03:21:32 +00:00
Olli Hauer
9a088b624c - fix detection of threaded httpd
Approved by:	mat@
2016-06-23 18:46:00 +00:00
Mathieu Arnold
11ca07f4fc Move bsd.php.mk to Uses/php.mk
PR:		210323
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6867
2016-06-23 13:19:17 +00:00
Mathieu Arnold
267e746730 Extend the symlink checks to warn on absolute targets.
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6930
2016-06-23 11:31:15 +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
Kurt Jaeger
958539e610 x11/kde4: update to kdelibs version 4.14.10
This is based on the area51 testing repository of the KDE-FreeBSD
project, containing work by Raphael Kubo da Costa, Tobias Berner,
Ralf Nolden, Adriaan de Groot and probably many more from the KDE
team.

KDE4 releases have fallen into three tracks now that KDE4 is pretty
much end-of-life upstream. There's the libraries, the workspace
(Plasma4) and applications.

This patch introduces KDE4_KDELIBS_VERSION to track library releases,
which are still done infrequently. It bumps the workspace version.
It leaves applications alone. This has an effect on some applications
pkg-plists where library version numbers need to be changed. Other
than that it's supposed to be a minor upgrade, which opens the doors
for more reorganization and getting KDE Frameworks 5 in.

PR:		210255
Submitted by:	Adriaan de Groot <groot@kde.org> (kde), Tobias C.Berner <tcberner@gmail.com> (kde)
Exp-run by:	antoine
2016-06-22 18:57:33 +00:00
Matthew Seaman
8228c143ee WANT_PGSQL=lib adds a LIB_DEPENDS on postgresglXY-client (this is also
the default when WANT_PGSQL is not defined). Compare to
WANT_PGSQL=client which only adds a RUN_DEPENDS on
postgresqlXY-client. 'client' can be part of a list of different
components, but 'lib' is ignored if any other terms are specified,
which seems an arbitrary and incorrect restriction.

WANT_PGSQL=lib allows expressing that the port links against
libpq.so.X rather than just needing one of the client programs like
psql(1) at runtime. However, other than that there is little
practical difference between 'lib' and 'client' on the resulting pkg.

Approved by:	crees (pgsql@)
Sponsored by:	https://reviews.freebsd.org/D6893
2016-06-22 06:27:58 +00:00
Tijl Coosemans
e079e58681 Update Linux ports to Centos 6.8.
PR:		210373
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
Differential Revision:	https://reviews.freebsd.org/D6891
2016-06-20 17:13:26 +00:00
Mathieu Arnold
b96b595ad0 lang/ifc was removed quite a while back.
Sponsored by:	Absolight
2016-06-20 13:12:09 +00:00
Baptiste Daroussin
ecba37e1cc Remove gtk-sharp10 it is not depended on anymore and superceeded by other libs 2016-06-19 23:00:37 +00:00
Mathieu Arnold
16eeb83bd8 Add a few checks for (MASTER|PATCH)_SITES groups.
While make(1) is ok with variable names having quite a lot of strange
characters in them, the fetch code mostly uses sh(1), where variable
names can't include a dash (or pluses, or many other things).

PR:		210251 210198
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	The FreeBSD Foundation, Absolight
Differential Revision:	https://reviews.freebsd.org/D6779
2016-06-19 11:25:44 +00:00
Mathieu Arnold
5f1b1ae084 Extract create-manifest.
PR:		210198
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	The FreeBSD Foundation, Absolight
Differential Revision:	https://reviews.freebsd.org/D6779
2016-06-19 11:25:39 +00:00
Mathieu Arnold
5ba3aba7ff Reverse tests to decrease complexity.
PR:		210198
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	The FreeBSD Foundation, Absolight
Differential Revision:	https://reviews.freebsd.org/D6779
2016-06-19 11:25:35 +00:00
Mathieu Arnold
a2262e9313 Remove unnecessary evals that do-fetch was using.
Turns out that env(1) knows how to parse a properly quoted string
using -S "string", it makes the double eval used for the fetch
command to be unnecessary.

This is because running:
eval "foo $(escape $bar)"
is silly when this works:
foo $bar

So remove escaping and quoting, and sillyness.

PR:		210198
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	The FreeBSD Foundation, Absolight
Differential Revision:	https://reviews.freebsd.org/D6779
2016-06-19 11:25:29 +00:00
Mathieu Arnold
86cad8dff1 Simplify do-fetch, and remove now unused code.
Turns out that the DEFAULT, and other groups sites were handled in
a different way, ending up having the same code twice, but in
slightly different places.

PR:		210198
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	The FreeBSD Foundation, Absolight
Differential Revision:	https://reviews.freebsd.org/D6779
2016-06-19 11:24:39 +00:00
David Naylor
cbc090bfe3 Mk/Uses/cran: add "compiles" argument.
[1] Add "compiles" argument to cran to allow R-cran ports need to compile
code to bring in the correct compiler dependencies.  Also, ensure
consistency between the compiler selected by the R port and the R-cran ports.

[2] Migrate R-cran ports that manually specify the compiler to
USES=cran,compiles.

PR:		210343
Approved by:	wen (1), portmgr (2, blanket)
2016-06-18 17:46:30 +00:00
Rene Ladan
033cd909fd Mk/Uses/drupal.mk: remove support for Drupal 6 2016-06-18 08:22:11 +00:00
Mathieu Arnold
672a2f6eee Fix last entry of MASTER_SITE_EXIM.
PR:		210198
Sponsored by:	Absolight
2016-06-17 16:30:35 +00:00
Mathieu Arnold
b85a2f394e Fix targets being out of order.
Reported by:	antoine
Sponsored by:	Absolight
2016-06-17 16:03:43 +00:00
Mathieu Arnold
b09abe9e69 Despite its name, ruby-rd-build runs during the install stage.
Reported by:	antoine
Pointy hat to:	mat
Sponsored by:	Absolight
2016-06-17 13:23:41 +00:00
Mathieu Arnold
6683dbc3fa Grmbl, poudriere still calls this unused empty target, so putting it back.
Reported by:	antoine
Sponsored by:	Absolight
2016-06-17 13:00:15 +00:00
Mathieu Arnold
7616d8da41 Typo.
Reported by:	Vladimir Krstulja
Sponsored by:	Absolight
2016-06-17 12:43:41 +00:00
Mathieu Arnold
12ddc1796c Remove DO_NADA targets.
No need to have make(1) compute a target order graph for targets that
are empty.

Sponsored by:	Absolight
2016-06-17 12:42:30 +00:00
Mathieu Arnold
5ae7bbe487 Fix warning messages.
Sponsored by:	Absolight
2016-06-16 22:35:23 +00:00
Mathieu Arnold
749a76cce6 Fix documentation.
Sponsored by:	Absolight
2016-06-16 22:11:49 +00:00
Dirk Meyer
81dcec3224 - fix regresssion
as documented, OPENSSL_PORT may be set.
2016-06-16 18:03:25 +00:00
Mathieu Arnold
4d1c2e3e50 Add USE_OPENSSL to the proxy libs thing.
Sponsored by:	Absolight
2016-06-16 14:32:18 +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
2bcdb56fd2 Fix USES=bdb.
Turns out that the conversion to USES was broken, and did not take the
DEFAULT_VERSIONS=bdb=foo into account.

PR:		210149
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	The FreeBSD Foundation, Absolight
2016-06-16 13:21:06 +00:00
Pawel Pekala
6f22e99d12 - Fix detection of graphics/linux-c6-sdl_ttf package. Framework checks for:
depends on file: /compat/linux/usr/lib/libSDL_ttf-2.0.so.0.6.3 - not found
depends on file: /compat/linux/usr/lib/libSDL_ttf-2.0.so.0.6.3 - not found
*** Error code 1

while package contains:

linux-c6-sdl_ttf-2.0.11_1:
        /compat/linux/usr/lib/libSDL_ttf-2.0.so.0
        /compat/linux/usr/lib/libSDL_ttf-2.0.so.0.10.1
        /compat/linux/usr/share/doc/SDL_ttf-2.0.11/CHANGES
        /compat/linux/usr/share/doc/SDL_ttf-2.0.11/COPYING
        /compat/linux/usr/share/doc/SDL_ttf-2.0.11/README

- Remove now deprecated PORTSDIR from RUN_DEPENDS

PR:		209750
Submitted by:	myself
Exp-run by:	antoine
Approved by:	no objection from emulation (3 weeks)
2016-06-15 15:36:07 +00:00
Gerald Pfeifer
056ab1b504 Now that lang/gcc6 has landed (which carries official GCC 6.x releases),
add support for USE_GCC=6 and USE_GCC=6+.
2016-06-10 09:11:25 +00:00
Mathieu Arnold
8d3ade7517 Fix having the :DEFAULT MASTER_SITES entries ending up being there twice
in the end.

Sponsored by:	Absolight
2016-06-06 15:25:22 +00:00
Mathieu Arnold
06da80d826 Fix logic a bit, in case pkg is not installed (I guess.)
PR:		209754
Reported by:	Nick Evans
Sponsored by:	Absolight
2016-06-04 09:35:21 +00:00
Jan Beich
f24d27910f www/firefox: update to 47.0 (rc2) / 45.2esr
- Adjust firefox-esr-i18n for linux-firefox after r414580
- Unbreak DTRACE=on + DEBUG=on [1]
- Unbreak FFMPEG=off [2]

Changes:	https://www.mozilla.org/firefox/47.0/releasenotes/
Changes:	https://www.mozilla.org/firefox/45.2.0/releasenotes/
Security:	8065d37b-8e7c-4707-a608-1b0a2b8509c3
PR:		200845, 209952 [1], 209308 [2]
MFH:		2016Q2
2016-06-03 10:52:44 +00:00
Bernard Spil
1d3ee2551f Mk/bsd.openssl.mk: Bump shlibver for libressl-devel
- Missed with the libressl-devel update to 2.4
2016-06-03 07:05:32 +00:00
Mathieu Arnold
f578a4c138 Github silently replaces + with - in the tag when creating a tarball.
Reported by:	antoine
Sponsored by:	Absolight
2016-06-02 07:29:01 +00:00
Kurt Jaeger
287b7f7348 devel/qt5, Mk/bsd.qt.mk: Add qt5-doc to the list of ports devel/qt5 depends on
The patch moves the "doc" port in bsd.qt.mk from _USE_QT4_ONLY to
_USE_QT_ALL and bumps the PORTREVISION in devel/qt5 for the inclusion
of the qt5-doc port into the qt5 metaport.

Pre-Work for updating qtcreator to 4.0 for adding options to install
qt5-doc and qt5-examples to make qtcreator actually usable for
serious qt development.

PR:		209910
Submitted by:	Ralf Nolden <nolden@kde.org> (kde)
2016-06-01 19:10:05 +00:00
Mathieu Arnold
3c03e67b02 Allow depending on both mysql's client and server
Fix the few users of both the MySQL client and server.

PR:		209762
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6575
2016-06-01 13:14:56 +00:00
Rene Ladan
d9881ba21b Fix up Mk/bsd.ruby.mk after removing lang/ruby20
Reported by:	mat via #bsdports
2016-06-01 12:23:38 +00:00
Li-Wen Hsu
f80efdd76e - Add one more MASTER_SITE_ECLIPSE 2016-05-31 08:06:39 +00:00
Mathieu Arnold
06b6315ce1 Starting at ExtUtils::MakeMaker 7.06 and Perl 5.25.1, the base
README.pod is no longer manified into a README.3, as the README.pod is
installed and can be read with perldoc, remove the README.3 files that
may be generated.

With hat:	perl@
Sponsored by:	Absolight
2016-05-30 15:33:44 +00:00
Kurt Jaeger
773f082659 devel/qt5: refactor: fix Mk/bsd.qt.mk
- the 'doc' component for qt4 was dropped inadvertently, re-added

PR:		209326
Submitted by:	Tobias Berner <tcberner@gmail.com> (kde)
2016-05-29 08:39:58 +00:00
Mathieu Arnold
0abe36d5be Fix fetch-list and fetch-url-list-int when DISTDIR is not writable.
PR:		209820
Reported by:	amdmi3
Sponsored by:	Absolight
2016-05-29 08:02:28 +00:00
Kurt Jaeger
d021ee8031 Mk/Uses/qmake.mk: revert latest change
PR:		209326
Requested by:	mat
2016-05-28 20:01:16 +00:00
Kurt Jaeger
a9ed0c96d6 Mk/bsd.qt.mk: preparing structures for the eventual update to qt-5.6
PR:		209326
Submitted by:	rakuco, T.C.Berner <tcberner@gmail.com>, Ralf Nolden <nolden@kde.org>
2016-05-28 17:22:11 +00:00
Kurt Jaeger
2abc9f5f89 Mk/Uses/qmake.mk: add empty do-configure target
PR:		209326
Submitted by:	rakuco, T.C.Berner <tcberner@gmail.com>, Ralf Nolden <nolden@kde.org>
2016-05-28 17:19:43 +00:00
Dmitry Marakasov
79302ffde3 Fix sed command in proxydeps_suggest_uses qa.sh check
It led to incorrect "you need USE_XORG+" suggestion

Submitted by:	amdmi3
Approved by:	portmgr (bapt)
Differential Revision:	D6618
2016-05-28 17:16:03 +00:00
John Marino
cc7211ab41 Mk/Uses/ada.mk: Remove ADA_DEFAULT=49 option
The lang/gcc-aux port has recently been removed, so the previously legal
"49" argument is no longer so.  Adjust ada.mk accordingly by removing
reference to option 49 and lang/gcc-aux.
2016-05-27 09:54:47 +00:00
Mathieu Arnold
c23b8b971d Indent the .if's for easier reading.
Sponsored by:	Absolight
2016-05-26 12:13:36 +00:00
Rene Ladan
059340ceb7 Remove expired misc/kdehier4 and update all of its consumers to not reference it any
longer. This is a no-op because KDE4_PREFIX is equal to LOCALBASE

Fix up properties for misc/kde4-l10n/files/bsd.l10n.mk to make svn happy.

PR:		209014 (partial)
Submitted by:	myself
Approved by:	portmgr (bapt)
Differential Revision:	https://reviews.freebsd.org/D6542
2016-05-25 20:56:06 +00:00
Baptiste Daroussin
c4407c70ba Fix make check-plist with new @xmlcatmgr keyword 2016-05-25 18:46:58 +00:00
Baptiste Daroussin
c3dba507a0 Ensure dp_PKGNAME has been passed to check-vulnerable 2016-05-25 18:46:29 +00:00
Baptiste Daroussin
128e6912ab Fix make check-vulnerable 2016-05-25 18:41:21 +00:00
Mathieu Arnold
3255095c16 Extract the larger bsd.port.mk targets into separate scripts.
Refactor all the fetch code so that there are not 6 slightly different
versions of it but one that does it all.

The targets that have been extracted are:
- check-vulnerable
- do-fetch
- fetch-list
- fetch-url-list-int
- fetch-urlall-list
- checksum.
- makesum.
- check-checksum-algorithms

Run the fetch code directly from make makesum instead of calling make
fetch, this is because some port change the options with OPTIONS_*_FORCE
when make(makesum) to be able to add all distfiles in one go, which was
a nice, non working, idea.

PR:		208916
Submitted by:	mat
Exp-run by:	antoine
With hat:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D5997
2016-05-25 15:58:31 +00:00
Mathieu Arnold
6596903add A new stage-qa test has been added, it reports all shared libraries
dependencies that are not part of the port list of dependencies.  It help
finds what is called proxy dependencies.

A is needed by B, and B is needed by C.  If C also needs A, then it needs to
be registered, and this check will tell you to do so.

Right now, it is only reporting the problems, but if you add
PROXYDEPS_FATAL=yes to your environment, it will give an error and will force
you to fix the dependencies.

PR:		195203
Submitted by:	yuri rawbw com (earlier version)
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6531
2016-05-25 11:59:39 +00:00
Matthias Andree
1b68d5eb0c Update to 6.2.23. Add TCL option. Cleanup.
Changes submitted by gahr@:
Enable a new TCL option, adding a pkgIndex.tcl file.
Modernize Makefile. [1]

Changes by mandree@:
Fix installation of TCL API docs if TCL option is enabled.
Update to new upstream release 6.2.23.
Install the upgrade61.sh script if SQL option is enabled, with
additional fixes distributed as a patch to avoid licensing concerns.
Add an UPDATING entry.
Add changes in Mk/Uses/bdb.mk.

db5 parts of PR 208740 to be committed in a separate transaction later.

PR:		208740
Submitted by:	gahr@
2016-05-23 20:18:24 +00:00
Mathieu Arnold
f69e8567aa Ease debugging of Mk/Scripts scripts.
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6474
2016-05-20 19:01:59 +00:00
Bryan Drewery
d4ae65b597 Re-enable code from r415530 with safer MAKE_ENV support.
PR:		D6271
Sponsored by:	EMC / Isilon Storage Division
2016-05-19 22:55:26 +00:00
Bryan Drewery
f3a16f6f4f Disable the change in r415530 until an exp-run is done.
Passing things in MAKE_ARGS tends to break some obscure ports.

Reported by:	antoine
PR:		D6271
2016-05-19 22:24:59 +00:00
Bryan Drewery
5968fb2d2f Use MK_* to prevent debug files if possible.
A longstanding bug with the base /usr/share/mk files is that /etc/src.conf
*does* get pulled in when building ports which use /usr/share/mk.  This despite
the documentation saying it is only used for "the FreeBSD tree".  If users
have a WITH_DEBUG_FILES=yes in their src.conf then the previous
WITHOUT_DEBUG_FILES=yes would hit an error.  Fixing pulling in src.conf is
risky.  MK_* overrides work fine here after recent stable/9 and stable/10
updates.

If you run into the WITH_ vs WITHOUT_ problem on a release build then you can
protect your src.conf value with something like:
  .if !${.CURDIR:M*ports*}
  WITH_DEBUG_FILES=yes
  .endif

PR:		D6271
With hat:	portmgr
Sponsored by:	EMC / Isilon Storage Division
2016-05-19 22:06:28 +00:00
Mathieu Arnold
4882eb8e68 Only use the :SOURCE group when it is actually defined.
PR:		208916
With hat:	portmgr
Sponsored by:	Absolight
2016-05-18 11:28:42 +00:00
Jonathan Anderson
ec041152fa Fix "need root" logic for PORT_DBDIR.
When PORT_DBDIR is set to a user directory, we shouldn't need su to
manipulate options. This also shouldn't depend on INSTALL_BY_USER, as
building != installing.

Approved by:	portmgr (bapt)
Differential Revision:	https://reviews.freebsd.org/D6349
2016-05-13 20:53:10 +00:00
Li-Wen Hsu
6fefe05c3d - Use files.pythonhosted.org for less redirections 2016-05-13 03:46:14 +00:00
Ed Maste
7fea5824d6 Record TIMESTAMP in make makesum
This is intended to support development and prototyping for ports
reproducible build efforts which require some concept of a "last
updated" time. It is being committed now so that timestamp entries
will be populated "for free" as port distfiles updates happen.

Submitted by:	bapt (earlier version)
Reviewed by:	bapt, bdrewery
Approved by:	portmgr (bdrewery)
Differential Revision:	https://reviews.freebsd.org/D6031
2016-05-12 18:20:27 +00:00
Tijl Coosemans
b7b8a5cfb4 Always add -DLIBICONV_PLUG to CPPFLAGS and friends when the base system
iconv(3) is used.  Adding it only when LOCALBASE/include/iconv.h exists is
not enough because this is tested before dependencies are installed and
they may pull in converters/libiconv.

PR:		209302
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-05-12 13:36:46 +00:00
Mathieu Arnold
f22b34a823 Introduce Perl 5.24 and update perl5-devel to v5.25.0-8-g51f69a2.
Changes:	https://metacpan.org/pod/release/RJBS/perl-5.24.0/pod/perldelta.pod
Changes:	https://github.com/Perl/perl5/compare/v5.24.0...v5.25.0-8-g51f69a2
Sponsored by:	Absolight
2016-05-09 12:50:38 +00:00
Mathieu Arnold
88f3d729d2 Try to simplify how libperl.so is looked for.
PR:		209123
Submitted by:	mat
Exp-run by:	antoine
With hat:	perl@
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6107
2016-05-09 10:12:18 +00:00
Li-Wen Hsu
1a252fcda8 - Add pypi.io to MASTER_SITE_CHEESESHOP, which supports redirection for
package-version-based URL scheme.  This eases python ports updating.
2016-05-06 09:12:02 +00:00
Bryan Drewery
f09aee47eb Allow overriding PERL and PERL5.
This is needed for cross-build support.
2016-05-04 19:50:21 +00:00
Steve Wills
48182b62ac Remove now unused USE_RAKE 2016-05-04 01:57:11 +00:00
Steve Wills
b5f03c0ce1 lang/ruby23: update to 2.3.1 2016-05-04 01:54:33 +00:00
Steve Wills
ce48010929 lang/ruby22: update to 2.2.5 2016-05-04 01:51:54 +00:00
Steve Wills
588dcfa531 lang/ruby21: Update to 2.1.9 2016-05-04 01:50:54 +00:00
Bernard Spil
094fd2b8f6 security/libressl: Add UPDATING entry and bump SHLIB in bsd.openssl.mk
- Add UPDATING entry, users must recompile all ports that depend
  - Bump SHLIBVER in Mk/bsd.openssl.mk

PR:		209252
2016-05-03 22:09:21 +00:00
Bryan Drewery
0e0764a175 Fix excluding implied options.
This fixes the devel/git-lite port to not get PERL despite being excluded.

PR:		207460
PR:		202701
With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D5538
2016-05-03 18:36:29 +00:00
Ashish SHUKLA
ca474e6872 editors/emacs-devel[1]:
- Update to 25.0.93
 - Re-organize options into logical groups
 - Use OPTIONS helpers to specifiy implicit dependencies
 - Convert FILENOTIFY into a radio option
 - Remove dependency on unneeded ports for non-X11 systems

bsd.emacs.mk:
 - Update version for editors/emacs-devel port

PR:		209054[1]
Submitted by:	Joseph Mingrone <jrm@ftfl.ca>[1]
2016-05-02 13:45:35 +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
Jan Beich
3d25b2953a gecko: unbreak WebRTC microphone selection popup with ALSA=on
On FreeBSD sound(4) is enabled by default while alsa-plugins-oss
assumes a soundcard is always available.

https://bugzilla.mozilla.org/show_bug.cgi?id=1269165

MFH:		2016Q2
2016-05-01 05:29:08 +00:00
John Marino
d0c4d21a83 Change Ada Framework foundation from gcc5-aux to gcc6-aux
GCC 6.1 was released this week.  The Ada Framework in FreeBSD ports has
been based on GCC 5.3 GNAT although GCC 6.x has been supported for awhile
via the ADA_DEFAULT option in make.conf.

Now that GCC 6 has been officially released, switch to it by default.
People can maintain the old foundation by putting "ADA_DEFAULT=5" in
/etc/make.conf.

Libraries built by one GNAT are unusable by another, so almost every Ada
port has been bumped as a result.  Noticable exceptions are dns/ironsides
which fails to build on gcc6 (thus USES=ada:5 is set) and cad/ghdl which
needs additional testing as it may require gcc5 on FreeBSD (DragonFly
uses the LLVM backend only).
2016-04-30 06:44:27 +00:00
Mathieu Arnold
0ca755b061 Remove ${PORTSDIR}/ from _DEPENDS for ocaml ports.
Sponsored by:	Absolight
2016-04-29 07:41:09 +00:00
Mathieu Arnold
97fd8a3833 Remove quotes here, ${m} is already quoted.
With the quotes, it ends up doing, for example:

echo ""It looks like the ocaml>=3.11:/home/mat/work/freebsd/ports/lang/ocaml depends line has an absolute port origin, make sure to remove \${PORTSDIR}/ from it.""

Which ends up failing with an error:

cannot create =3.11:/home/mat/work/freebsd/ports/lang/ocaml: No such file or directory

Noticed by:	antoine (via qat)
Sponsored by:	Absolight
2016-04-29 07:28:39 +00:00
Antoine Brodin
28b17725ab Remove ${PORTSDIR} from python _DEPENDS 2016-04-28 12:17:09 +00:00
Mathieu Arnold
5cc593fa9b Add a warning about using PORTSDIR in a *_DEPENDS line.
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6075
2016-04-28 12:06:27 +00:00
Mathieu Arnold
3c240de5dc Now that autoplist is not used, remove support for it, and fix header.
Sponsored by:	Absolight
2016-04-28 08:51:02 +00:00
Steve Wills
38fb960f49 Improve gem.mk
* Check for valid args to USES=gem
* Make autoplist default, allowing it to be specified (which is a no-op), or
  turned off
* Add sanity checks for USE_RUBYGEMS RUBYGEM_AUTOPLIST

Requested by:	mat
Discussed with:	mat
2016-04-27 20:19:16 +00:00
Mathieu Arnold
360cd76225 Don't abuse an existing target and create our own.
Sponsored by:	Absolight
2016-04-27 16:53:29 +00:00
Steve Wills
b3e8fe8d85 create USES=gem and update rubygem- ports to use it
Note that for now ports still have to have USE_RUBY=yes to use USES=gem

PR:		209041
Differential Revision:	https://reviews.freebsd.org/D6070
2016-04-27 16:36:41 +00:00
Steve Wills
70faee9bd6 remove RUBY_SHEBANG_FILES since USES=shebangfix does the same
PR:		209051
2016-04-25 23:12:04 +00:00
Mathieu Arnold
d78beb132c Move MySQL support from bsd.databases.mk to Uses/mysql.mk.
Also, USE_MYSQL can't happen after bsd.port.pre.mk because it is a USES.

PR:		208971
Submitted by:	mat
Exp-run by:	antoine
With hat:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D5951
2016-04-25 16:17:31 +00:00
Mathieu Arnold
4d32bbcef6 Move USE_BDB support from bsd.databases.mk to its own file.
Also:
- Deorbit WANT_BDB_VER, one can use USES=bdb:<ver> instead.
- USE_BDB can't happen after bsd.port.pre.mk because it is a USES.

PR:		208971
Submitted by:	mat
Exp-run by:	antoine
With hat:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D5951
2016-04-25 16:17:19 +00:00
Mathieu Arnold
38cbe5cc9e Remove USE_FIREBIRD from bsd.databases.mk, replaced by USES=firebird.
Also:
- replace USE_FIREBIRD by USES=firebird.
- convert ports depending on databases/firebird25-client directly to USES=firebird.

PR:		208971
Submitted by:	mat
Exp-run by:	antoine
With hat:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D5951
2016-04-25 16:14:02 +00:00
Mathieu Arnold
21bc5c0345 Remove USE_SQLITE from bsd.databases.mk, replaced by USES=sqlite.
While there replace USE_SQLITE=x by USES=sqlite:x.

PR:		208971
Submitted by:	mat
Exp-run by:	antoine
With hat:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D5951
2016-04-25 16:13:38 +00:00
Tijl Coosemans
5bc688d3c8 Require at least version 0.9.10 of pkgconf. This version fixed a problem
with parsing comments.

Several users reported a problem building security/gnutls because
hogweed.pc (provided by security/nettle) contains the following line:

Requires: # nettle

Older versions of pkgconf try to look for a package named "#" and fail.
2016-04-24 19:20:10 +00:00
Rene Ladan
bd55d4b56b Mk/bsd.java.mk: unregister expired java/linux-sun-jdk17
PR:		209011
Approved by:	portmgr (bapt)
Sponsored by:	Essen Linuxhotel Hackathon 2016
2016-04-24 12:16:23 +00:00
Mathieu Arnold
10e17473f6 Fix USES=pear.
Noticed by:	antoine
Pointy hat to:	mat
Sponsored by:	Absolight
2016-04-22 13:39:30 +00:00
Mathieu Arnold
5d7b880ff0 Move lang/go/files/bsd.go.mk to USES=go.
Reviewed by:	bapt
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6057
2016-04-22 12:40:04 +00:00
Mathieu Arnold
3a51fdc756 Add the messages from check-deprecated to the package +DISPLAY so that
users have a bigger change to see it.

Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6048
2016-04-22 09:46:36 +00:00
Mathieu Arnold
d5e588bc6e Make all the targets in USES use the _USES_* helpers.
It is left as an exercise to the reader to reorder some of those targets
to fix some small problems, and to add a comment about why each target
is ran when it is ran.

Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D5717
2016-04-22 09:24:34 +00:00
Pietro Cerutti
812894cb15 Support Tk in USES=tk:tea. Convert more ports + minor fixes and modernization. 2016-04-21 11:33:16 +00:00
Jan Beich
4dfb37ee97 www/firefox{,-esr}: update to 46.0 (rc4) / 45.1esr
Changes:	https://www.mozilla.org/firefox/46.0/releasenotes/
Changes:	https://www.mozilla.org/firefox/45.1.0/releasenotes/
Security:	92d44f83-a7bf-41cf-91ee-3d1b8ecf579f
MFH:		2016Q2
2016-04-21 11:18:13 +00:00
Pietro Cerutti
4d519d4deb Use correct include dir switch in USES=tcl:tea. Adjust devel/tclreadline. 2016-04-21 09:47:29 +00:00
Pietro Cerutti
4e23c21fc1 Add "tea" argument to USES=tcl to facilitate porting of TEA-based extensions.
Quoting https://tcl.tk/doc/tea:

"The Tcl Extension Architecture, or TEA, by John Ousterhout and others, is a
set of guidelines and techniques for the distribution, configuration,
compilation, and installation of Tcl extensions. TEA also provides a set of
utilities that operate accordingly. Many Tcl extensions leverage the TEA
utilities, which are designed to be easily customizable."

To facilitate the porting of TEA-based extensions, I have added the new "tea"
argument to USES=tcl. This argument prepares the autoconf environment by
setting GNU_CONFIGURE and sets some commonly used CONFIGURE_ARGS. Also, it
tries to figure out the correct extension name, sets TCL_PKG accordingly, and
adds it to PLIST_SUB.

I have modified a few ports to take advantage of this. More will come.
2016-04-19 14:20:01 +00:00
Olli Hauer
1ec3657302 - add unbound to USERS_BLACKLIST (sync with src/etc/master.passwd)
Approved by:	portmgr (mat@)
2016-04-19 03:28:32 +00:00
Mathieu Arnold
b1fb5a15c1 Extract the users/groups creation into a separate shell script.
This adds a few features:
- it checks that the UID line has the right number of fields [1]
- it tells the user that there are groups that he may want to remove [2]

PR:		208800, 173318 [1], 157546 [2]
Submitted by:	mat
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D5939
2016-04-18 18:39:44 +00:00
Raphael Kubo da Costa
873b7eca6c Update KDevelop to 4.7.3 and KDevplatform to 1.7.3.
Release announcements:
- https://www.kdevelop.org/kde4/kdevelop-472-released
- https://www.kdevelop.org/news/kdevelop-473-release

The majority of the work here has been done by Adriaan de Groot in kde@'s
experimental area51 repository.

Submitted by:	Adriaan de Groot <groot@kde.org>
2016-04-15 13:40:41 +00:00
Mathieu Arnold
b8f559f713 Remove superfluous, non working, code.
If there is one file in PKGPOSTDEINSTALL, it gets overwritten by itself,
and if there's more than one, it'll fail.

Noticed by:	antoine
Sponsored by:	Absolight
2016-04-14 21:26:07 +00:00
Raphael Kubo da Costa
07fcb70c64 bsd.kde4.mk: Add KDE4_APPLICATIONS_{VERSION,BRANCH}.
At the moment they correspond to the latest KDE Applications release with
mostly KDE4-compatible applications.

These are going to be used by the upcoming DigiKam update (some ports have
been split off the main DigiKam tarball and are part of the regular KDE SC
releases). It will also be used once we add KDE Frameworks 5 and Plasma 5 to
the tree.

PR:		204623
2016-04-14 18:37:59 +00:00
Steve Wills
6545ee64d4 Add user NOTICE for MAINTAINER=ports@
PR:		206666
Submitted by:	cperciva
2016-04-14 15:46:19 +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
Mathieu Arnold
34c548ae0a USE_RC_SUBR=yes has not done anything for a long time, remove it from
the few remaining ports and make it give an error.

Sponsored by:	Absolight
2016-04-14 11:00:23 +00:00
Jan Beich
6da9f0df54 bsd.port.mk: sync INSTALL_* comments with Porter's Handbook
PR:		197613
Approved by:	portmgr (mat)
2016-04-13 15:27:05 +00:00
Mikhail Teterin
e3d9c3895a Set the user:group for the include-files as well.
PR:		206126
Approved by:	bapt
2016-04-13 12:20:40 +00:00
Jan Beich
ef7f58498f Add CONFIGURE_OUTSOURCE support
If CONFIGURE_OUTSOURCE is defined HAS_CONFIGURE invokes configure script
and builds the port out of source tree, under ${WRKDIR}/.build by default.
The feature is inspired by USES=cmake:outsource and USES=qmake:outsource.

PR:		208294
Exp-run by:	antoine
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D4157
2016-04-13 10:37:34 +00:00
Jan Beich
7c2082609b Change default directory used by USES=autoreconf to WRKSRC
PR:		208294
Exp-run by:	antoine
Reviewed by:	tijl
Approved by:	portmgr (mat via D4157)
Differential Revision:	https://reviews.freebsd.org/D4169
2016-04-13 10:36:54 +00:00
Jan Beich
88360e4c12 Consistently prefer ${CONFIGURE_CMD} over ./${CONFIGURE_SCRIPT}
This also fixes SET_LATE_CONFIGURE_ARGS with custom CONFIGURE_CMD.

PR:		208294
Exp-run by:	antoine
Approved by:	portmgr (antoine), perl (mat)
Differential Revision:	https://reviews.freebsd.org/D4158
2016-04-13 10:36:15 +00:00
Steve Wills
a5aebf960e CentOS ports: for c6_64, install 32bit libraries alongside
PR:		206943
Submitted by:	xmj
2016-04-13 01:49:24 +00:00
Jan Beich
79fd5d2214 mail/thunderbird: update to 45.0 (rc1)
Changes:	https://www.mozilla.org/thunderbird/45.0/releasenotes/
Security:	92d44f83-a7bf-41cf-91ee-3d1b8ecf579f
MFH:		2016Q2
2016-04-12 19:18:55 +00:00
John Marino
07c47a31ca Restrict dns/ironsides to gcc5-aux only
Right now, ironsides emits a STORAGE ERROR during building with
lang/gcc6-aux.  It's unclear if the problem lies with compiler or with
ironsides.  For now, limit building it with gcc5-aux (the default).

The USES=ada:5 setting wasn't supported, but it should have been.  This
has also been fixed.
2016-04-11 13:54:22 +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
Jan Beich
e68ffdaff6 bsd.sites.mk: with last mirror dead retire MASTER_SITE_ALSA
$ fetch -v http://alsa.cybermirror.org/lib/alsa-lib-1.1.0.tar.bz2
[...]
404 Not Found

Not Found
The requested URL /lib/alsa-lib-1.1.0.tar.bz2 was not found on this server.
2016-04-01 20:45:03 +00:00
Mathieu Arnold
7f4572eae4 Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:29:15 +00:00
Mathieu Arnold
999161a9ed Fixup some whitespace at the beginning of lines problems.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:18:17 +00:00
Dirk Meyer
934c2b0ebc - remove PKG_DBDIR 2016-03-31 04:14:33 +00:00
Raphael Kubo da Costa
980bac6f1e New port: databases/qt5-sqldrivers-tds.
This is a new SQL plugin, released with Qt 5.5, and can be used with
databases/freetds.

Submitted by:	Ralf Nolden <nolden@kde.org>
2016-03-30 20:00:27 +00:00
Brad Davis
ad6237a51a Make the do-{build,extract,install} targets overrideable.
Approved by:	swills (mentor)
2016-03-29 20:12:49 +00:00
John Marino
49aa2bf7eb Mk/Iconv.mk: Remove DragonFly exception
This file has been locally patched in dports for over a year.  The
exception hasn't been valid since DragonFly 4.0.

Approved by:	erwin@ (portmgr)
2016-03-28 20:53:56 +00:00
Baptiste Daroussin
421767bd88 Remove the now unneeded ${PORTSDIR} from dependency definition in
The infrastructure Makefiles

PR:		206569
Exp run by:	antoine
Differential Revision:	D5047
2016-03-27 01:23:25 +00:00
Jan Beich
f9e0eb4ec8 Add USES=7z support: common way to extract 7-Zip archives
By default, it tries to take advantage of libarchive and falls back to p7zip.
Extracting only selected few DISTFILES is also supported via :partial argument.

Approved by:	portmgr (bapt)
Differential Revision:	https://reviews.freebsd.org/D4190
2016-03-25 15:38:56 +00:00
Jan Beich
ac99fa2243 www/firefox: build with Rust sources
Only MP4 metadata parser have landed converted so far. Upstream enabled it
in their binaries since 45.0 while preparing to *require* Rust downstream.

https://wiki.mozilla.org/Oxidation
https://www.mail-archive.com/dev-platform%40lists.mozilla.org/msg17614.html
2016-03-25 15:35:39 +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
Tijl Coosemans
df391f0617 Replace the license dialog menu and "View license" screen with one --yesno
dialog.  This also folds long lines.

PR:		208180
Approved by:	portmgr (mat)
2016-03-21 14:34:05 +00:00
Veniamin Gvozdikov
52fadbfd4b Added REGEX_DESC flag
PR:		ports/207674
Submitted by:	Chris Petrik <chris@bsdjunk.com>
2016-03-21 12:04:40 +00:00
Tijl Coosemans
7b56ff446a Revert local changes accidentally committed in previous commit.
Approved by:	portmgr (implicit)
2016-03-20 10:59:22 +00:00
Tijl Coosemans
654ccc6aac Install net/libnet headers and libraries back in the location where other
ports expect it.  The files were put in a different location to avoid a
conflict with net/libnet10 but this port has been removed a while ago now.

PR:		208122
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-03-20 10:53:08 +00:00
Max Khon
2c5ceb0c7d Fix installed version check on FreeBSD 9.
PR:		200569
2016-03-17 12:09:39 +00:00
Raphael Kubo da Costa
bc16238248 Update the KDE Telepathy ports to 0.9.0.
Contains commits by myself and alonso@.
2016-03-15 19:08:38 +00:00
Mathieu Arnold
bd732c1ae8 Add MASTER_SITES to options helpers.
Sponsored by:	Absolight
2016-03-15 15:28:50 +00:00
Jan Beich
09a093360a www/firefox: limit r410973 to OSVERSION before the fix
PR:		207837
2016-03-13 19:13:07 +00:00
Jan Beich
d2dc7ce32b www/firefox: work around Clang 3.4 crash with OPTIMIZED_CFLAGS=off
Pretend we want C++14 to pull more modern version of Clang on 10.x i386.

PR:		207837
MFH:		2016Q1
2016-03-13 14:42:59 +00:00
Mathieu Arnold
3bd80c4454 Once upon a time, when you ran make package and the ${PACKAGES}
directory did not exist, you ended up with the package in the port
directory.  Make that true again.

PR:		207895
Sponsored by:	Absolight
2016-03-12 12:59:38 +00:00
Jan Beich
cf3c9b550c Allow overriding WRKSRC for USES=dos2unix
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D5607
2016-03-11 10:39:04 +00:00
Mathieu Arnold
c1d9f32b40 Fix fetch-list.
PR:		207875
Sponsored by:	Absolight
2016-03-10 16:48:22 +00:00
Jan Beich
95b8773461 gecko: build as position-independent executable 2016-03-10 10:45:46 +00:00
Mathieu Arnold
018eeadae5 Always set the DEFAULT github DISTFILE with .tar.gz for EXTRACT_SUFX.
Fix distinfo for the offending ports.

lang/yorick's tag was moved, and the added patch was no longer needed.

PR:			207644
Submitted by:		mat
Exp-run by by:		antoine
Sponsored by:		Absolight
Differential Revision:	https://reviews.freebsd.org/D4268
2016-03-08 13:09:12 +00:00
Sunpoet Po-Chuan Hsieh
977e06e3b7 - Update bitset_DEPENDS
- Fix space/tab
2016-03-07 20:12:14 +00:00
Baptiste Daroussin
2eaa5c73fc Fix the fetch-specials target when dependencies are defined without ${PORTSDIR} 2016-03-06 17:38:22 +00:00
Dmitry Marakasov
acebdf624e - Add support for USES=tar:tbz2
Approved by:	portmgr (mat)
Differential Revision:	D5564
2016-03-06 12:29:51 +00:00
Jan Beich
3f0536234a www/firefox{,-esr}: update to 45.0 (rc2) / 38.7.0
Prepare www/firefox a bit for ESR45:
- [e10s] Make layers.progressive-paint;true work at least on 11.0-CURRENT
- Chase bundled versions for system dependencies
- Drop unused/broken system opus and speex support

Changes:	https://www.mozilla.org/firefox/45.0/releasenotes/
Changes:	https://www.mozilla.org/firefox/38.7.0/releasenotes/
Security:	2225c5b4-1e5a-44fc-9920-b3201c384a15
MFH:		2016Q1 (release candidate)
2016-03-05 12:46:59 +00:00
Koop Mast
5a8d993c23 Add GStreamer1 gstsink plugin. 2016-03-03 21:31:40 +00:00
Jan Beich
182b35fa9c gecko: unify unchanging options into bsd.gecko.mk
PR:		205741 (alternative)
2016-03-02 22:49:48 +00:00
Mathieu Arnold
56245d460d Add GH_TUPLE to the options flags too.
Sponsored by:	Absolight
2016-03-02 11:08:41 +00:00
Mathieu Arnold
3b8753a0a6 Introduce GH_TUPLE.
GH_TUPLE allows one to put all the GH_{ACCOUNT,PROJECT,TAGNAME} into one
variable, in the form of account:project:tagname[:group].  It is helpful
when there are many submodules.

PR:		204772
With hat:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D4514
2016-03-01 20:22:45 +00:00
Alexey Dokuchaev
cd06f7ccc0 Add FLUIDSYNTH option generic description, and remove ad-hoc setting in
ports where it is applicable (alongside with other shared descriptions).
2016-03-01 16:41:13 +00:00
Bryan Drewery
aea001d8ff Use more proper WITHOUT_ rather than NO_ for disabling symbols.
PR:		207168
With hat:	portmgr
2016-02-23 16:49:33 +00:00
Bryan Drewery
8460fa7c8e As r403467 intended, also avoid splitting symbols for kernel modules.
This should fix the build of x11/nvidia-driver-340.

Reported by:	dchagin
PR:		207168
With hat:	portmgr
2016-02-23 15:54:20 +00:00
Kubilay Kocak
7eef42f698 Mk/bsd.licenses.db.mk: Add UCIC/NCSA License
Add University of Illinois/NCSA Open Source License (aka UCIC) [1][2] used by the
LLVM project among others [3].

While I'm here:

 * Sort MIT license group values

[1] https://spdx.org/licenses/NCSA.html
[2] http://www.opensource.org/licenses/NCSA
[3] https://en.wikipedia.org/wiki/Category:Software_using_the_NCSA_license

Reviewed by:		antoine
Approved by:		portmgr (maintainer, antoine)
Differential Revision:	D5372
2016-02-21 09:41:32 +00:00
Bryan Drewery
54e86d8d01 For PYTHON_NO_DEPENDS don't pass PYTHON_VERSION to dependencies.
The PYTHON_NO_DEPENDS only really makes sense in meta ports, where passing
the PYTHON_VERSION doesn't make sense.  The ports listed will pick up
USES+=python and the default version as needed.

This fixes depending on both lang/python2 and lang/python3 in a meta package.
2016-02-19 20:44:52 +00:00
Martin Wilke
71baa84322 bsd.php.mk
- Unbreak build for php70
- Cleanup php55/6 extenions
- Put not existing php70 extentions to php55 and php56 extra defines

lang/php70
- Remove mysqli from pdo_mysql it's looping here and does not really depends on mysqli
- Bump PORTREVISION

This work has been done in collaboration with
- fluffy@
- Franco Fichtner
2016-02-18 12:05:45 +00:00
Martin Wilke
c2a9e21162 - Unbreak index. 2016-02-18 04:54:43 +00:00
Martin Wilke
76f1cf98ca - Fix index when php70 is default, this fix also IGNORE_WITH_PHP= 70 2016-02-18 04:01:20 +00:00
Martin Wilke
e630e52bb5 Welcome php 7.0.3
Changelog:
    http://php.net/ChangeLog-7.php#7.0.0
    http://php.net/ChangeLog-7.php#7.0.1
    http://php.net/ChangeLog-7.php#7.0.2
    http://php.net/ChangeLog-7.php#7.0.3

I'd like to thanks:
  Kurt Jaeger
  Matthias Breddin
  Rainer Duffner
  Victor van Vlaardingen
  Torsten Zuehlsdorff
  Franco Fichtner
  and all helpers and testers from ports@.
2016-02-15 14:34:26 +00:00
Rene Ladan
d5ce1f73bc Remove PHP 5.4 from the Ports Tree, it expired upstream in 2015-Q3 and the
ports expired last month.

Adjust Mk/bsd.php.mk

Reviewed by:	antoine, marino
Approved by:	portmgr (antoine)
Differential Revision:	https://reviews.freebsd.org/D5278
2016-02-14 19:21:31 +00:00
Martin Wilke
a8f21afa94 - Update to 1.10.1
Changelog:
        http://pear.php.net/package/PEAR/download/1.10.0
        http://pear.php.net/package/PEAR/download/1.10.1
2016-02-14 14:58:17 +00:00