Commit graph

6445 commits

Author SHA1 Message Date
David Naylor
78941032a4 devel/monodevelop: update to 7.5.3.7
- remove reference assemblies as a dependency: no longer required
 - remove mono-addins as a dependency: shipped internally (via github)
 - remove cmake as a dependency: replaced by new build system based on msbuild
 - add multiple nuget feeds and move nuget dependencies into separate files
 - explicitly set full path to install(1) to fix installation script
 - USES=mono: read nupkg name and version from nuspec file

Differential Revision:	https://reviews.freebsd.org/D16070
2018-06-30 20:27:03 +00:00
Mathieu Arnold
1ac9d4e91f Convert to readelf.
objdump is being removed from HEAD, make sure everything still works
when this happens.

PR:		229049
Reported by:	emaste
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D15904
2018-06-30 08:37:33 +00:00
Mathieu Arnold
c0e3ff3da9 Remove dead code.
Sponsored by:	Absolight
2018-06-30 08:36:50 +00:00
David Naylor
7622ad2de8 USES=mono: enhance makenupkg and add NUGET_LAYOUT
Enhance makenupkg to properly generate nupkg-* files when multiple feeds
provide the same package (but different versions).

Add NUGET_LAYOUT to dictate the layout of the package directory.  Sometimes
msbuild (and nuget) does not work with symbolic links and cannot handle the
`legacy` layout.
2018-06-30 07:13:40 +00:00
Mathieu Arnold
57de7fba19 Fix a few Perl ports with Perl 5.28.
Starting at ExtUtils::MakeMaker 7.31_06 and Perl 5.27.1, the base
README.pod is no longer installed. So stop installing them altogether.

PR:		229112
Reported by:	many
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D15946
2018-06-29 10:10:35 +00:00
Mathieu Arnold
e55560c172 Keep --forward when using PATCH_DEBUG.
Otherwise, when used with BATCH defined so as to not be bothered by
config screen and all, it will almost silently reverse obsolete patches
and make you wonder why something is now broken.

Reviewed by:	sbruno
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D15804
2018-06-29 10:02:12 +00:00
Tobias C. Berner
b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00
Mark Felder
0885335da2 Add Varnish 6 to the framework
Reported by:	vanilla
2018-06-27 15:48:17 +00:00
Steve Wills
63947aefd8 add lxqt-globalkeys component
PR:		229281
Submitted by:	Jesper Schmitz Mouridsen <jesper@schmitz.computer>
2018-06-25 00:49:41 +00:00
Rene Ladan
99b35863e6 bsd.gecko.mk / USES=gecko : remove expired libxul support.
Tested with "make index"
2018-06-22 22:21:29 +00:00
Tobias C. Berner
434f606983 Make flavors explicit for phonon.
Reported by:	VVD (via irc)
2018-06-22 20:22:32 +00:00
Steve Wills
9b5c626800 Adjust repository path
PR:		227181
Submitted by:	Olivier Duchateau <duchateau.olivier@gmail.com>
2018-06-22 18:23:12 +00:00
Tobias C. Berner
60539b7275 multimedia/*phonon*: update and flavorize with @qt4/@qt5
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D14632
2018-06-21 16:52:09 +00:00
John Baldwin
f4712360a8 Set OS versions to target system versions for CROSS_SYSROOT.
When cross-building a package via a CROSS_SYSROOT, set OSVERSION,
_OSRELEASE, and OSREL to the target OS version.  OSVERSION is derived
from the <sys/param.h> header in the sysroot.  _OSRELEASE cannot be
easily derived from a sysroot as it is a property of a kernel, so
instead generate a "fake" _OSRELEASE from the OSVERSION, but use a
"-CROSS" branch name that will hopefully fail in any places that make
assumptions about branch names.

Approved by:	portmgr (bapt)
Differential Revision:	https://reviews.freebsd.org/D15812
2018-06-20 17:42:35 +00:00
Mathieu Arnold
ec7204a548 Sort ONLY_FOR_ARCHS and NOT_FOR_ARCHS on display.
This is so that all IGNORE message end up looking the same, and grep'ing
and sorting them is easier.

Reported by:	linimon
Sponsored by:	Absolight
2018-06-20 15:15:23 +00:00
Jan Beich
d623046854 www/firefox-esr: update to 60.1.0
Changes:	https://www.mozilla.org/firefox/60.1.0/releasenotes/
2018-06-20 00:22:05 +00:00
Jan Beich
a07c15747d www/firefox: update to 61.0
- Drop DTRACE option, as it no longer builds
  https://bugzilla.mozilla.org/show_bug.cgi?id=1448659
  https://bugzilla.mozilla.org/show_bug.cgi?id=702179#c33
- Stop using system hunspell per
  https://bugzilla.mozilla.org/show_bug.cgi?id=1460600

Changes:	https://www.mozilla.org/firefox/61.0/releasenotes/
PR:		227850
Security:	cd81806c-26e7-4d4a-8425-02724a2f48af
MFH:		2018Q2
Differential Revision:	https://reviews.freebsd.org/D15227
2018-06-19 00:37:43 +00:00
Jan Beich
6cd1c9bc4c gecko: check app compatibility for -i18n via package registry
make[5]: "/usr/ports/Mk/Uses/gecko.mk" line 48: warning: "/usr/local/bin/firefox --version 2>/dev/null" returned non-zero status

$ sudo firefox --version
Running Nightly as root in a regular user's session is not supported.  ($XAUTHORITY is /home/foo/.Xauthority which is owned by foo.)

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

PR:		229064
Reported by:	Vladimir Omelchuk
Analyzed by:	Rainer Hurling
Submitted by:	Walter Schwarzenfeld (based on)
2018-06-17 16:50:30 +00:00
Luca Pizzamiglio
a011463743 Mk/Uses/php.mk: small clean-up
Remove not existing extensions
Improve uniformity

Reviewed by:	ale
Sponsored by:	trivago N.V.
Differential Revision:	https://reviews.freebsd.org/D15807
2018-06-15 14:43:10 +00:00
Tobias C. Berner
746e77dca9 Update KDE Frameworks to 5.47
PR:		228862
Exp-run by:	antoine
2018-06-15 05:14:35 +00:00
Rene Ladan
68b0dc0b87 Unregister expired net/samba45 2018-06-14 17:50:33 +00:00
Tijl Coosemans
c14e4f5f73 Update automake to 1.16.1. Also remove automake-wrapper. We haven't had
multiple versions of automake in years and probably won't in the future.

PR:		228809
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2018-06-14 12:47:58 +00:00
Tobias Kortkamp
ad49ddf876 Mk/Uses/cargo.mk: Encode more crate build dependencies
- Add build/lib dependencies, environment variables to ports using
  the backtrace-sys, freetype-sys, gettext-sys, onig_sys,
  thrussh-libsodium crates instead of doing this individually for
  every port.

- Add a DEV_WARNING when using libc versions < 0.2.37 to prevent
  instability of Rust applications on 12.0-CURRENT [1]

- Sort cargo-crates-licenses output

Reviewed by:	pizzamig, jbeich [1]
Differential Revision:	https://reviews.freebsd.org/D15463
2018-06-14 09:56:02 +00:00
Akinori MUSHA
3a7d32c06d Remove https://ftp.ruby-lang.org/ as well
ftp.ruby-lang.org is going to be an alias for cache.ruby-lang.org.
2018-06-13 00:43:58 +00:00
Akinori MUSHA
1c7f154a73 Remove ftp://ftp.ruby-lang.org/; the FTP service is shutting down
Here's the announcement: https://bugs.ruby-lang.org/issues/14842
2018-06-13 00:36:44 +00:00
Antoine Brodin
8ed8d2151d Add support for USES=compiler:c++17-lang
PR:		222415
Submitted by:	Naram Qashat
With hat:	portmgr
2018-06-11 12:39:03 +00:00
Tobias C. Berner
880f6c87cc Update KDE Applications to 18.04.2 2018-06-10 10:39:35 +00:00
Bernard Spil
95bef6223e Mk/bsd.default-versions.mk: Add MariaDB 10.3
- Chase addition of new 10.3 port in r472070

Reported by:	pi
2018-06-10 08:09:25 +00:00
Bernard Spil
2ec514f10e databases/mariadb103-server: Add MariaDB 10.3 port 2018-06-09 16:40:54 +00:00
Mathieu Arnold
b19fe1e937 SC1004: This backslash+linefeed is literal. Break outside single quotes if you just want to break the line.
You have a single quoted string containing a backslash followed by a
linefeed (newline). Unlike double quotes or unquoted strings, this has
no special meaning. The string will contain a literal backslash and a
linefeed.

If you wanted to break the line but not add a linefeed to the string,
stop the single quote, break the line, and reopen it.

PR:             227109
Submitted by:   mat
Sponsored by:   Absolight
2018-06-08 09:26:41 +00:00
Mathieu Arnold
49b7fa03ac SC2035: Use ./*glob* or -- *glob* so names with dashes won't become options.
Since files and arguments are strings passed the same way, programs
can't properly determine which is which, and rely on dashes to determine
what's what.

A file named -f (touch -- -f) will not be deleted by the problematic
code. It will instead be interpreted as a command line option, and rm
will even report success.

Using ./* will instead cause the glob to be expanded into ./-f, which no
program will treat as an option.

It is not possible to use `-f *` because -f only forces the next
argument to be a directory, a later directory named -delete would mess
things up.

PR:             227109
Submitted by:   mat
Sponsored by:   Absolight
2018-06-08 09:26:38 +00:00
Mathieu Arnold
b234bfd716 SC2162: read without -r will mangle backslashes.
By default, read will interpret backslashes before spaces and line
feeds, and otherwise strip them. This is rarely expected or desired.

Normally you just want to read data, which is what read -r does. You
should always use -r unless you have a good reason not to.

PR:             227109
Submitted by:   mat
Sponsored by:   Absolight
2018-06-08 09:26:34 +00:00
Mathieu Arnold
ac5e64ba02 SC2015: Note that A && B || C is not if-then-else. C may run when A is true.
It's common to use A && B to run B when A is true, and A || C to run C
when A is false.

However, combining them into A && B || C is not the same as if A then B
else C.

In this case, if A is true but B is false, C will run.

If an if clause is used instead, this problem is avoided.

PR:             227109
Submitted by:   mat
Sponsored by:   Absolight
2018-06-08 09:26:31 +00:00
Mathieu Arnold
e2bee271c6 Don't exec with a pipe afterwards, it is weird.
PR:             227109
Submitted by:   mat
Sponsored by:   Absolight
2018-06-08 09:26:28 +00:00
Mathieu Arnold
52abedae74 SC2185: Some finds don't have a default path. Specify '.' explicitly.
(false positive, split flags to avoid triggering it.)

PR:             227109
Submitted by:   mat
Sponsored by:   Absolight
2018-06-08 09:26:25 +00:00
Mathieu Arnold
258800dd7b SC2046: Quote this to prevent word splitting.
When command expansions are unquoted, word splitting and globbing will
occur. This often manifests itself by breaking when filenames contain
spaces.

Trying to fix it by adding quotes or escapes to the data will not work.
Instead, quote the command substitution itself.

If the command substitution outputs multiple pieces of data, use a loop
instead.

Add an exception when using set -- where splitting is intended.

PR:             227109
Submitted by:   mat
Exp-run by:	antoine
Sponsored by:   Absolight
2018-06-08 09:26:20 +00:00
Jose Alonso Cardenas Marquez
f6ec20d293 - Change LAZARUS_VER to 1.8.4 2018-06-03 08:12:24 +00:00
Rene Ladan
aa3cf6e4dc Unregister expired lang/perl5.22 2018-06-02 08:11:44 +00:00
Gerald Pfeifer
6d96e19baf Document the form USE_GCC=X+ instead of the older form USE_GCC=X.Y+
that has been necessary for the GCC 4.x series and should not see any
new usage anways.

Use more current versions of GCC in examples, choosing the two most
realistic options.
2018-06-02 08:03:59 +00:00
Mathieu Arnold
bf064c8390 SC2006: Use $(..) instead of legacy ...
Backtick command substitution `STATEMENT` is legacy syntax with several
issues.

 - It has a series of undefined behaviors related to quoting in POSIX.
 - It imposes a custom escaping mode with surprising results.
 - It's exceptionally hard to nest.

$(STATEMENT) command substitution has none of these problems, and is
therefore strongly encouraged.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:54 +00:00
Mathieu Arnold
473030b0ea SC2155: Declare and assign separately to avoid masking return values.
In the original code, the return value of mycmd is ignored, and export
will instead always return true. This may prevent conditionals, set -e
and traps from working correctly.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:51 +00:00
Mathieu Arnold
ccbfedd88c SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
cd can fail for a variety of reasons: misspelled paths, missing
directories, missing permissions, broken symlinks and more.

If/when it does, the script will keep going and do all its operations in
the wrong directory. This can be messy, especially if the operations
involve creating or deleting a lot of files.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:48 +00:00
Mathieu Arnold
2364943f9d SC2153: Possible misspelling: PORTNAME may not be assigned, but portname is.
ShellCheck has noticed that you reference a variable that is not
assigned in the script, which has a name remarkably similar to one that
is explicitly assigned. You should verify that the variable name is
spelled correctly.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:45 +00:00
Mathieu Arnold
644b6c731d SC2091: Remove surrounding $() to avoid executing output.
ShellCheck has detected that you have a command that just consists of a
command substitution.

This is typically done in order to try to get the shell to execute a
command, because $(..) does indeed execute commands. However, it's also
replaced by the output of that command.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:42 +00:00
Mathieu Arnold
267d5b45d4 SC2163: Exporting an expansion rather than a variable.
export takes a variable name, but shellcheck has noticed that you give
it an expanded variable instead. The problematic code does not export
MYVAR but a variable called foo if any.

Add exception when using indirections where the variable to extract is
actually the value of the variable.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:39 +00:00
Mathieu Arnold
c9551e33bb SC2034: <some var> appears unused. Verify it or export it.
Variables not used for anything are often associated with bugs, so
ShellCheck warns about them.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:36 +00:00
Mathieu Arnold
6675b402ba SC2198: Arrays don't work as operands in [ ]. Use a loop (or concatenate with * instead of @).
Array expansions become a series of words in [ .. ]. Operators expect
single words only.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:33 +00:00
Mathieu Arnold
9035fb8956 SC2221 & SC2222: This pattern always overrides a later/previous one.
You have specified multiple patterns in a case statement, where one will
always override the other. The pattern being overridden is indicated
with a SC2222 warning.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:29 +00:00
Mathieu Arnold
c71660dad5 SC2068: Double quote array expansions to avoid re-splitting elements.
Double quotes around $@ prevents globbing and word splitting of
individual elements, while still expanding to multiple separate
arguments.

Add exceptions when splitting is the intended behavior.

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:26 +00:00
Mathieu Arnold
d605296d6e SC2145: Argument mixes string and array. Use * or separate argument.
The behavior when concatenating a string and array is rarely intended.
The preceeding string is prefixed to the first array element, while the
succeeding string is appended to the last one. The middle array elements
are unaffected.

For example, with the parameters foo,bar,baz, "--flag=$@" is equivalent
to the three arguments "--flag=foo" "bar" "baz".

PR:		227109
Submitted by:	mat
Sponsored by:	Absolight
2018-06-01 16:20:22 +00:00