Commit Graph

5788 Commits

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