Commit graph

5710 commits

Author SHA1 Message Date
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