Commit graph

5937 commits

Author SHA1 Message Date
Martin Wilke
d8a0fd4d38 - Update ruby
lang/ruby22 -> 2.2.7
lang/ruby23 -> 2.3.4

PR:		218864
Reviewed by:	swills
Exp-Run:        antoine
Approved by:	portmgr (swills,antoine)
Differential Revision:	https://reviews.freebsd.org/D10506
2017-04-28 02:31:58 +00:00
Martin Wilke
6a89fcc077 - Switch python3's default to 3.6
PR:		218864
Exp-Run:    antoine
Approved by portmgr (antoine)
Differential Revision:	https://reviews.freebsd.org/D10488
2017-04-28 02:18:54 +00:00
Mathieu Arnold
4e806f9235 Enhance the BROKEN_SSL messages.
Sponsored by:	Absolight
2017-04-27 12:14:29 +00:00
Alex Kozlov
f37a53c2ba - Remove checks for .PARSEDIR and vestiges of pmake support
PR:	218832
Approved by:	portmgr (antoine)
2017-04-26 19:04:30 +00:00
Alexey Dokuchaev
4e60011c73 - Add generic description for UNRAR option [*]
- Reword UNZIP_DESC, ``UnZip compression'' looks strange

Suggested by:	pi [*]
2017-04-26 14:14:44 +00:00
Mathieu Arnold
8c0401d153 Silence the commands in USES=perl do-test target.
Sponsored by:	Absolight
2017-04-25 11:28:49 +00:00
Jimmy Olgeni
117604b711 Fix usage of left braces to be compatible with extended regular
expressions.

PR:		218600
Submitted by:	Kyle Evans
2017-04-25 08:34:26 +00:00
Hajimu UMEMOTO
c940359559 Fix EMACS_VER. 2017-04-23 09:17:09 +00:00
Rene Ladan
c7b6c8eaf9 Return ports maintained by John Marino to the pool, he is no longer interested.
Submitted by:	Mark Millard via private e-mail
2017-04-21 20:25:00 +00:00
Antoine Brodin
d6dba918f2 Use POSIX conformant expressions with grep(1)
PR:		218691
Submitted by:	Kyle Evans
With hat:	portmgr
2017-04-21 19:36:36 +00:00
Antoine Brodin
d3b29b8f76 Use POSIX conformant expressions with grep(1)
PR:		218690
Submitted by:	Kyle Evans
With hat:	portmgr
2017-04-21 19:35:24 +00:00
Dmitry Marakasov
60f77099e1 - Add /bin/rc to blacklist for qa.sh, since it's not available on FreeBSD
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D10426
2017-04-21 08:56:32 +00:00
Dmitry Marakasov
4199e721e8 - Add /usr/local/bin/* old cmd patterns to shebangfix
Approved by:	portmgr (mat, rene)
Differential Revision:	https://reviews.freebsd.org/D10412
2017-04-20 11:45:44 +00:00
Mathieu Arnold
a30d630664 Use the new ${RLN} relative symlink magic to create uniquefiles.
Before, the symlinks were created as absolute paths, so it would look
like this:

  $ ls -l /usr/local/bin/
  [...]
  lrwxr-xr-x  1 root  wheel      12 Apr 14 14:28 autopep8 -> /usr/local/bin/autopep8-2.7
  -rwxr-xr-x  1 root  wheel     395 Apr 14 14:28 autopep8-2.7
  [...]

After, the symlinks are created with relative paths:

  $ ls -l /usr/local/bin/
  [...]
  lrwxr-xr-x  1 root  wheel      12 Apr 14 14:28 autopep8 -> autopep8-2.7
  -rwxr-xr-x  1 root  wheel     395 Apr 14 14:28 autopep8-2.7
  [...]

Reviewed by:	bapt
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D10395
2017-04-20 11:13:37 +00:00
Mathieu Arnold
c1a60b6300 Add a RLN command (relative ln), it can be used to create relative
symlinks using install's relative symlinks feature.

If you were going through hoops doing things like this to get relative
symlinks:

  ${LN} -sf ../lib/some/thing ${STAGEDIR}${PREFIX}/bin

You can now use full paths for both the source and destination:

  ${RLN} ${STAGEDIR}${PREFIX}/libexec/some/thing ${STAGEDIR}${PREFIX}/bin

One caveat is that the source must exist when this is run, because
install needs to run realpath(1) on it.

Sponsored by:	Absolight
2017-04-20 11:13:32 +00:00
Baptiste Daroussin
d8a738baa6 Refactor do-package aka subpackages step 2
Now each files generated are explicit targets depending on the files
This would allow to simply loop over a list of packages for subpackages to
create them.

Remove the code for transition from pkg_install to pkg packages

The latest symlink is now a specific target only defined when needed

Reviewed by:	swills
Approved by:	portmgr (swills)
Differential Revision:	https://reviews.freebsd.org/D10323
2017-04-19 18:32:50 +00:00
Tobias C. Berner
99425922de Update KDE Frameworks to 5.33.0
PR:		218524
Exp-run by:	antoine
Reviewed by:	mat, rakuco
Approved by:	rakuco (mentor)
Differential Revision:	https://reviews.freebsd.org/D10331
2017-04-19 14:59:40 +00:00
Sunpoet Po-Chuan Hsieh
d1b997e586 Add shared RTMPDUMP description 2017-04-18 19:38:28 +00:00
Koop Mast
1f9f21c80b * Fix MESON_TRUE/MESON_FALSE comment, to mention the actualy meson argument.
* Rework option hanlding to be more clear and to avoid double negative.

Submitted by:	antoine@
Approved by:	antoine@
2017-04-17 20:24:46 +00:00
Mathieu Arnold
09de5005d1 Remove something that I did not even know I had.
Sponsored by:	Absolight
2017-04-17 20:20:22 +00:00
Mathieu Arnold
a33cc87ee8 Remove @comment $FreeBSD$ from plists.
Whatever you do, things always get to creep back in the ports tree.

Sponsored by:	Absolight
2017-04-17 20:16:25 +00:00
Koop Mast
e8ad1e183f Introduce new "meson" USES.
This uses will handling building software that uses the meson
build system. Expand the option framework to handle MESON options.

Approved by:	portmgr (swills@)

Differential Revision:	https://reviews.freebsd.org/D104091
2017-04-17 18:55:56 +00:00
Sunpoet Po-Chuan Hsieh
e089aa9edf Fix typo 2017-04-14 23:16:16 +00:00
Mathieu Arnold
ca46f0a3a3 Rename (BROKEN|IGNORE)_OPENSSL to \1_SSL.
Suggested by:	sunpoet
Sponsored by:	Absolight
2017-04-14 14:42:59 +00:00
Mathieu Arnold
483e470c81 Add a BROKEN_OPENSSL and IGNORE_OPENSSL, to mark ports that are
BROKEN/IGNORE for specific OpenSSL flavors.

Convert a few ports as an example.

Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D10340
2017-04-13 16:52:09 +00:00
Jan Beich
6aac4a9290 www/firefox: unbreak SNDIO=on
===>  Applying FreeBSD patches for firefox-53.0,1
No such line 323 in input file, ignoring
sed: /usr/ports/www/firefox/work/firefox-53.0/media/libcubeb/tests/moz.build: No such fileor directory
*** Error code 1

PR:		218585
Reported by:	jrm, Marco Beishuizen
Submitted by:	tobik
MFH:		2017Q2 (r438264 followup)
2017-04-12 17:20:39 +00:00
Jan Beich
af01abc322 www/firefox: drop broken GTK2 option following upstream
https://www.mail-archive.com/dev-platform@lists.mozilla.org/msg20523.html

PR:		218569
Reported by:	Walter Schwarzenfeld, Jakub Lach <jakub_lach@mailplus.pl>
Submitted by:	rezny (based on)
MFH:		2017Q2 (r436907 followup)
2017-04-11 21:39:47 +00:00
Jan Beich
894be6cfc9 www/firefox-esr: update to 52.1.0 (rc1)
Changes:	https://www.mozilla.org/firefox/52.1.0/releasenotes/
Changes:	https://hg.mozilla.org/releases/mozilla-esr52/shortlog
Security:	5e0a038a-ca30-416d-a2f5-38cbf5e7df33
MFH:		2017Q2
2017-04-11 21:25:36 +00:00
Mathieu Arnold
e1f10ba6ff Mmm, some parts of the ports tree are doing strange things.
Pointy hat:	mat
Sponsored by:	Absolight
2017-04-11 15:54:31 +00:00
Mathieu Arnold
6d588589c2 Make defining both PORTVERSION and DISTVERSION a DEV_ERROR.
There are two cases:

- The upstream versionning is compatible with our versionning, or using
  DISTVERSION's magic leads to a compatible PORTVERSION, use
  DISTVERSION.  If it is possible to use DISTVERSIONPREFIX and
  DISTVERSIONSUFFIX to make it compatible, use them.
- The upstream versionning is not compatible with our versionning, and
  DISTVERSION's magic does not lead to a correct PORTVERSION, then set
  PORTVERSION to the equivalent of our versionning, and set DISTNAME.
  It is possible to use a third variable where you store upstream's
  version and use it to compute PORTVERSION and/or DISTNAME, like the
  dns/bind9* ports do.

Sponsored by:	Absolight
2017-04-11 15:21:23 +00:00
Dmitry Marakasov
2d5679d47f Use dedicated macro FMT_80 instead of ${FMT} 75 79 magical constants
Suggested by:	mat
Approved by:	portmgr (mat)
Differential Revision:	D10342
2017-04-11 14:22:41 +00:00
Jan Beich
479c061085 www/firefox: update to 53.0 (rc3)
More candidates are likely to come before the official announcement (aka
the rush hour) scheduled on 2017-04-19. This one intended to pick up upstream
security fixes earlier while looking for downstream regressions.

Changes:	https://www.mozilla.org/firefox/53.0/releasenotes/
Security:	5e0a038a-ca30-416d-a2f5-38cbf5e7df33
MFH:		2017Q2 (piling up)
2017-04-11 14:17:57 +00:00
Dmitry Marakasov
c927ccddc4 Treat python shebangs without version specified (e.g. `/usr/local/bin/python'
and `/usr/bin/env python') as invalid, because ports always depend on specific
version of python (e.g. python2 or python3), and generic `python'
which is link to either of them may point to incorrect version or
be not available at all (since it's installed by separate optional
python metaport)

Approved by:	portmgr (mat), python (sunpoet)
Differential Revision:	D9332
2017-04-10 15:21:25 +00:00
Mathieu Arnold
2c5242ce18 Introduces USES=php:pecl.
It sets sane defaults when fetching from http://pecl.php.net/.

Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D10281
2017-04-10 15:08:12 +00:00
Dmitry Marakasov
112ef10adc - Make warning, dev warning, and dev error display consistent and more readable:
- Split all messages with a newline
  - Run all messages through fmt to fit them into 80 columns

Approved by:	portmgr (mat)
Differential Revision:	D9216
2017-04-10 14:22:36 +00:00
Dmitry Marakasov
e558d8633d Don't limit Q/A check for bad shebangs with just bin, sbin, libexec
and www. Scripts (with possibly incorrect shebangs) may be located
anywhere in ${PREFIX}, including, for instance, lib/ (multimedia/lives):

Error: '/usr/bin/perl' is an invalid shebang you need USES=shebangfix for 'lib/lives/plugins/effects/rendered/colour_replace'

and ${DATADIR}/ (databases/cego):

Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'share/cego/cgbackup'

There may be some more false positives, but broken scripts are much
more severe problem. There's also whitelist mechanism which lets
you ignore shebangs for certain kinds of files (like .pm) which may
be extended to fix FPs

Approved by:	portmgr (swills)
Differential Revision:	D8923
2017-04-10 14:19:25 +00:00
Baptiste Daroussin
4d700b17e8 Stop creating stubs targets calling /usr/bin/true
It is not needed at all.

While here remove:
- the stub pre-everything:: declaration, let the framework define it if needed
- remove the stub describe target with NO_DESCRIBE is set. It is useless
- remove options-message it was only used by gnome and dropped a long time ago
- remove pre-distclean it was never used

Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D10326
2017-04-09 15:35:37 +00:00
Baptiste Daroussin
f90173f09b Readd still called by poudriere
Approved by:	portmgr (implicit)
2017-04-09 10:58:26 +00:00
Baptiste Daroussin
d73f4c814a Gargabe collect install-mtree not used since pkg(8)
Approved by:	portmgr (mat)
2017-04-09 10:52:37 +00:00
Baptiste Daroussin
fcb05da597 Garbage collect TMPPLIST_SORT which is not needed anymore since pkg(8)
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D10324
2017-04-09 10:26:23 +00:00
Baptiste Daroussin
147b603e32 Use native make(1) mechanism to create the package repository directory
In order to have subpackages we need in the end do-package to depend on
a target per package that would be created per subpackages

For this we need to decouple the content of do-package so it becomes
a target that only creates the packages.

As a first step use natural make(1) mechanism for a target: if checks first
for the existence of a file and it it does not exists that execute the content
of the target, in that case it creates the PKGREPOSITORY
Bonus it simplifies a bit the code.

While here to avoid testing multiple time for the PACKAGES directory set a
variable after we tested it the first time

PR:		216877
Approved by:	portmgr (mat)
Reviewed by:	mat
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D9466
2017-04-08 18:17:45 +00:00
Jung-uk Kim
90dd89a00e Implement test target for USE_ANT=yes. 2017-04-05 23:31:18 +00:00
Mathieu Arnold
8b27ee4a62 The lang/perl5* ports are allowed to have their shebangs pointing to the
versionned binaries.

Sponsored by:	Absolight
2017-04-04 14:06:41 +00:00
Jung-uk Kim
56cab9fcdb Remove obsolete OpenSSL hacks for IDEA crypto.
We have some hacks in the ports tree to detect or to unconditionally disable
IDEA crypto support.  These hacks existed because OpenSSL in FreeBSD 9.3 and
earlier was shipped without IDEA support by default but we were allowed to
enable it via WITH_IDEA src.conf(5) option.

https://www.freebsd.org/cgi/man.cgi?query=src.conf&manpath=FreeBSD+9.3-RELEASE

Therefore, we had to implement some hacks to support three different cases,
i.e., a) 9.3 and earlier without IDEA crypto (default), b) 9.3 and earlier
with IDEA crypto (via WITH_IDEA src.conf option), and c) 10.0 and later with
unconditional IDEA support.  Now we can safely remove them because 9.3 and
earlier is no longer supported.

PR:		218233
Exp-Run by:	antoine
Approved by:	antoine (portmgr)
2017-04-03 17:33:48 +00:00
Raphael Kubo da Costa
fbb904c849 Drop x11-themes/kde4-icons-oxygen in favor of x11-themes/kf5-oxygen-icons5.
Despite the name, kf5-oxygen-icons5 does not depend on Qt5 and just contains
the Oxygen icon set without any architecture-dependent files.

As such, we can make all ports depend on it and remove kde4-icons-oxygen
altogether and avoid having two conflicting ports for KDE4 and KF5.

x11-themes/kf5-oxygen-icons5 was adjusted to have its dependencies reduced even
further:
- The dependencies on qt5-core and qt5-testlib were removed, as they were only
  needed to build tests.
- We're also passing some CMake arguments to avoid looking for qt5-core
  altogether.

With the changes above, the only port kf5-oxygen-icons5 depends on at runtime
is devel/kf5-extra-cmake-modules, which itself does not depend on anything
else.

Reviewed by:	tcberner
Differential Revision:	https://reviews.freebsd.org/D10237
2017-04-03 12:28:59 +00:00
Baptiste Daroussin
067df085eb Finish removal of gal2 2017-04-01 22:21:32 +00:00
Baptiste Daroussin
cdd9171c1c Remove more obsolete gnome2 components 2017-04-01 22:05:39 +00:00
Baptiste Daroussin
ba0c69cb4e Catchup with recent removals 2017-04-01 20:15:36 +00:00
Baptiste Daroussin
b8812b9f34 Remove some old gnome2 ports not depend on anymore and not maintained upstream 2017-04-01 20:15:11 +00:00
Gerald Pfeifer
0327b3f3f9 Fix grammar in a comment.
Approved by:	portmgr blanket
2017-04-01 19:35:55 +00:00