Commit graph

5670 commits

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