Commit graph

6400 commits

Author SHA1 Message Date
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
Joseph Mingrone
3ae34aead8 editors/emacs: Update to version 26.1
NEWS: https://www.gnu.org/software/emacs/news/NEWS.26.1

Port changes
- Incorporate latest canna patches submitted by
  TAKANO Yuji <takachan@running-dog.net>.
- Remove workarounds for Bug 227799.
  - Configure succeeds whether devel/liblockfile is installed or not.
- Customize COMMENT for canna and nox flavors (reported by tobik).
- Remove legacy lldb for gud patch.
  - The patch added very little over running lldb on the command line.
    Moreover, gud is deprecated.  Hopefully a lldb-mi will arrive soon.

Reviewed by:	ashish (maintainer)
Differential Revision:	https://reviews.freebsd.org/D15044
2018-05-31 01:17:52 +00:00
Mathieu Arnold
b9427974d6 Metaports do not have any files, they do not need a license.
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D15587
2018-05-27 07:54:42 +00:00
Tobias C. Berner
3499a0b700 kde.mk: fix and simplify the INSTALL_CONFLICTS for kde-applications
* kde:5 wrongly got a -4*, and did an unnecessary sub
* only use PORTNAME for the kde:4 ones
2018-05-26 08:14:28 +00:00
Jose Alonso Cardenas Marquez
23448313d6 - Add Uses/lazarus.mk
Approved by:	portmgr
2018-05-25 15:48:13 +00:00
Florian Smeets
5e339c9e0d Commit a file forgotten in 470799
Reported by:	antoine
2018-05-24 18:44:04 +00:00
Florian Smeets
ce5d6d0b91 - add net/corosync3 (2.99.2)
- add net/pacemaker2 (2.0.0-rc4)
- net/corosync -> net/corosync2 (update to 2.4.4)
- net/pacemaker -> net/pacemaker1 (update to 1.1.18)
- add USES=corosync to deal with multiple versions

PR:		228164, 228165
Submitted by:	David Shane Holden <dpejesh@yahoo.com>
2018-05-24 18:24:50 +00:00
Mathieu Arnold
fad77cc104 Add Perl 5.28.0-RC1.
Sponsored by:	Absolight
2018-05-21 13:50:39 +00:00
Tobias C. Berner
c6b7c3f708 New port: x11-themes/kf5-qqc2-desktop-style -- Qt QuickControl2 style for KDE 2018-05-19 11:08:09 +00:00
Tobias C. Berner
8298879770 Update KDE Frameworks to 5.46
Exp-run by:	antoine
PR:		228200
2018-05-18 16:57:06 +00:00
Raphael Kubo da Costa
70141f1a3a Update the Qt5 ports to 5.10.1.
The work was done by tcberner and myself, with thanks to antoine for the
exp-run.

Not a lot to report compared to other Qt5 updates:
* net/qt5-network is still broken with LibreSSL. I said this in a commit
  message ages ago but it bears repeating: upstream is open to adding support
  for LibreSSL, but someone needs to step up to maintain it upstream, otherwise
  things will continue to be broken all the time.
* www/qt5-webengine is a huge monster that is terrible to update, just like
  www/chromium itself is. We (kde@) have decided to keep using the 5.9 series
  for the time being, as it should be compatible with the rest of Qt anyway. It
  was updated to 5.9.5, the latest 5.9 release at the time of writing.

PR:		228213
2018-05-18 12:27:43 +00:00
Timur I. Bakeyev
ba8d037602 Add 'test' target to the WAF-enabled ports 2018-05-17 00:51:35 +00:00
Koop Mast
edd3a4650b Add gtksourceview4 4.0.1.
* This port is still gtk30 based.
* Add license lines
* Add WWW: prefix in the pkg-descr

Obtained from:	gnome devel repo
2018-05-14 20:43:50 +00:00
Tijl Coosemans
23e99b00ef Run "/usr/sbin/service ldconfig restart" for USE_LDCONFIG instead of
"ldconfig -m <path>" so the order of ldconfig search directories after
package installation is the same as after a reboot.  The original command
simply appends the path to the list of directories while the ldconfig rc.d
script uses "sort -u".

Bump lang/gcc* which are known to install libraries with exactly the same
name so the library loaded at runtime depends on the order of the search
directories.

PR:		228046
Approved by:	portmgr (antoine)
2018-05-14 19:15:36 +00:00
Baptiste Daroussin
f8fa2e1ba5 Remove LIBDIR from build env variable
This is leaking LIBDIR information (which is defined in base share/mk/*) to
the build environement with a value which is not really suitable for ports
(/usr/lib) which may have an impact on some build system forcing the maintainer
to override the value.

Revealed during the update of liblz4

PR:		228059
Submitted by:	bapt
Exp-run by:	antoine
2018-05-14 19:06:13 +00:00
Joseph Mingrone
d1d0edc2ab Mk/Uses/Emacs: Add noflavors argument to USES=emacs
Reported by:	des
Reviewed by:    des
Approved by:    ashish
Differential Revision:	https://reviews.freebsd.org/D15265
2018-05-14 18:28:35 +00:00
Tobias C. Berner
45779b5828 Fix desktuils/kdepim dependencies
* Add missing dependency on PIM applications.

Reported by:	starikarp@yandex.com
2018-05-14 05:36:47 +00:00
Tobias C. Berner
74fcc5aebb Update KDE Applications to 18.04.1 2018-05-11 06:09:39 +00:00
Bryan Drewery
9c31cc2ac7 stage-qa: Change stripped check to only look for .debug_info.
'strip -x', and splitting out debug symbols with objcopy, will leave
a .symtab section but will still remove the .debug_info section.  file(1)
shows this distinction as well after the use of 'strip -x':

    work/tcl8.7a1/unix/libtcl8.7.so:       ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, with debug_info, not stripped
    work/stage/usr/local/lib/libtcl8.7.so: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, not stripped

This fixes false-positives when using install-strip and symbol splitting.

With hat:	portmgr
2018-05-10 23:00:15 +00:00
John Baldwin
3708c41ab9 Add 32-bit mips support to base/binutils and base/gcc.
- When cross-building packages, set ARCH to the target arch instead of
  the arch of the build host.  This fixes bsd.ssp.mk on MIPS which was
  trying to enable SSP on MIPS cross-built packages because the host
  ARCH was amd64.  A new HOST_ARCH variable is added to set the
  --build triple for configure scripts, but I believe most other uses of
  ARCH in ports are really about the target, not the build host so this
  is the more correct general direction.
- Some updates to base/binutils and base/gcc to use ARCH as the target
  architecture.
- Drop the extra arguments to GCC to set include and library paths and
  only set --sysroot.
- Move the --sysroot flags into CC, CXX, CPP (which is now set to XCPP)
  and LD instead of passing it in CFLAGS, etc.  The base/gcc build uses
  ends up using the CFLAGS when building native binaries for the build
  host which fails when tripping over the --sysroot.  I think this might
  have accidentally worked before because the powerpc64 headers in
  /usr/include/machine were "close enough" to the amd64 headers, but with
  32-bit MIPS this failed hard.
- Add the GCC MIPS patch from devel/powerpc64-gcc to base/gcc to add
  MIPS support to base/gcc.
- Add a MIPS plist for base/binutils.
- Set helper variables for the base/gcc plist to tag architecture-specific
  headers (e.g. for intrinsincs) and use these to tag powerpc and MIPS
  specific headers.
- Drop the include-fixed headers from base/gcc.
- Strip /usr/local/include from the default list of include paths for
  base/gcc.
- Use libc++'s include path for C++ for base/gcc.

Reviewed by:	bapt
Approved by:	portmgr (bapt)
Differential Revision:	https://reviews.freebsd.org/D15267
2018-05-09 15:18:27 +00:00
Rene Ladan
32e34e91cb Restore PHP _ALT variables removed in r469307
Pointy hat:	rene
Reported by:	mat
2018-05-08 20:12:44 +00:00
Jan Beich
67a9073255 Drop FreeBSD 10.3 support
Reviewed by:	yuri (SoPlex), sunpoet (nghttp2), cpm (chromium), brooks (llvm*)
Approved by:	portmgr (rene)
Differential Revision:	https://reviews.freebsd.org/D15238
2018-05-07 22:29:46 +00:00
Bernard Spil
11a52e7dd1 Mk/Uses/php.mk: Drop support for WANT_ and USE_ PHP vars
Approved by:	portmgr (rene)
Differential Revision:	https://reviews.freebsd.org/D15014
2018-05-07 18:18:17 +00:00
Antoine Brodin
0f5242ee52 Note that samba 4.8 is supported and samba 4.4 no longer exists 2018-05-05 08:57:37 +00:00
Tobias C. Berner
63b71c1ca6 Update KDE Plasma Desktop to 5.12.5
Submitted by:	lwhsu
2018-05-03 16:51:47 +00:00
Mathieu Arnold
421b46b698 Add a warning about setting DISTNAME and USE_GITHUB=yes
Sponsored by:	Absolight
2018-05-03 09:16:30 +00:00
Mathieu Arnold
c27599182b Note that 10.3 is not supported any more.
Sponsored by:	Absolight
2018-05-02 15:00:41 +00:00
Jan Beich
fda179862d www/firefox: update to 60.0
- Add U2F support, required by Web Authentication [1]
- Drop libv4l support to reduce maintenance

Changes:	https://www.mozilla.org/firefox/60.0/releasenotes/
PR:		226476
Tested by:	tobik, jrm, D. Ebdrup, lwhsu
Submitted by:	Greg V [1]
Security:	5aefc41e-d304-4ec8-8c82-824f84f08244
MFH:		2018Q2
Differential Revision:	https://reviews.freebsd.org/D15186
2018-05-01 00:51:37 +00:00
Tobias C. Berner
ddd37ce3fd Update the QScintilla2 ports to 2.10.4 2018-04-29 16:19:44 +00:00
Tobias C. Berner
e714368786 Update KDE Applications to 18.04.0
* Pin multimedia/kdelive at 17.12.3 until we import the mlt update from the dev-repo.
2018-04-28 18:11:49 +00:00
Jan Beich
5e1285aafa Update USES=compiler:c++14-lang to Clang 6.0 on FreeBSD 10
PR:		227679
Exp-run by:	antoine (only 10.4)
2018-04-27 23:14:32 +00:00
Jan Beich
dab52a12cd graphics/mesa-dri: switch to llvm60
PR:		227682
2018-04-27 23:09:59 +00:00
Tobias C. Berner
ef944cd353 Import the KDE Plasma5 ports
This is an import of the Plasma5 ports that we have had in the development
repository for quite some time now.

Please note:
 * Plasma5 cannot be installed at the same time as KDE SC4.
 * Qt5 assumes /etc/localtime to be a symlink to a tz file, not a regular file.
 * To start plasma5, it is recommended to use something like
       exec ck-launch-session startkde
 * Powermanagement and such is not working :-)

I would like to thank all the people that have helped test it in the past years.

Reviewed by:	adridg
Differential Revision:	https://reviews.freebsd.org/D15096
2018-04-27 20:29:36 +00:00
Tobias C. Berner
c3c66ef88c Update KDE Frameworks to 5.45.0
PR:		227512
Exp-run by:	antoine
2018-04-26 19:54:43 +00:00
Bernard Spil
b8a86baa34 Uses/Mk/pear.mk: Get rid of USE_PHPIZE remnants
Approved by:	tz (maintainer)
Differential Revision:	https://reviews.freebsd.org/D15012
2018-04-23 18:18:20 +00:00
Jan Beich
297facc037 devel/cmake: allow consumers to qualify boost_python version
PR:		227428
Exp-run by:	antoine
2018-04-18 13:58:15 +00:00
Jan Beich
cc95712fbe devel/boost-*: update to 1.67.0
Changes:	http://www.boost.org/users/history/version_1_67_0.html
PR:		227427
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D15030
2018-04-18 13:57:42 +00:00
Sunpoet Po-Chuan Hsieh
1f996e1339 Update MASTER_SITE_CHEESESHOP
https://pypi.python.org/ redirects to https://pypi.org/
2018-04-17 19:14:58 +00:00
Sunpoet Po-Chuan Hsieh
f1c1053792 Add shared JPEG2000 description 2018-04-16 18:33:25 +00:00
Thomas Zander
a913cf5620 Retire MASTER_SITE_MPLAYERHQ
Rationale:
- MPLAYERHQ was an alias for www[1-5].mplayerhq.hu
- www.mplayerhq.hu uses dns load balancing already
  for a while, essentially rendering the above
  alias futile
- At times, some of the www[1-9] instances do not
  participate in the balancing while others do.
  (At the time of this writing, for instance www3
   does not have a dns record but www8 does. The
   latter was not part of MASTER_SITE_MPLAYERHQ)
- The MPLAYERHQ alias was only used by two ports
  in the tree:
  multimedia/mplayer-skins
  multimedia/win32-codecs
2018-04-15 12:51:48 +00:00
Eric Turgeon
7d2d36aed6 Updating MATE ports to and patch for MATE 1.20
Reviewed by:	kwm
Approved by:	bapt (mentor)
2018-04-13 21:16:56 +00:00
Mathieu Arnold
ed149bc97f Try and prevent people from adding github archive urls.
If you use the archive URL directly, you end up having non unique
distfiles named 0.9.5.tar.gz or v2.2.2.tar.gz, and soon, another port
ends up having the same version, and boom.

Reviewed by:	bdrewery
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D15039
2018-04-12 11:11:25 +00:00
Timur I. Bakeyev
9b576d8b4e Add Samba 4.8 as possible default version, remove obsolete Samba 4.4
PR:		227453
Sponsored by:	iXsystems Inc.
2018-04-12 08:54:29 +00:00
Tobias C. Berner
b23d58fb62 New ports: KDE Applications deskutils/
* deskutils/akonadi-calendar-tools
* deskutils/akonadi-import-wizard
* deskutils/akonadiconsole
* deskutils/akregator
* deskutils/grantlee-editor
* deskutils/kaddressbook
* deskutils/kalarm
* deskutils/kcharselect
* deskutils/kdepim-addons
* deskutils/kdepim-runtime
* deskutils/keditbookmarks
* deskutils/kfind
* deskutils/kmail
* deskutils/kmail-account-wizard
* deskutils/knotes
* deskutils/kontact
* deskutils/korganizer
* deskutils/kruler
* deskutils/mbox-importer
* deskutils/pim-data-exporter
* deskutils/pim-sieve-editor

This is the current version of KDE Applications <foo>.
Note that users of KDE SC4 should stick with <foo>-kde4.

This adds a slew of KDE Pim related ports and some of their dependencies.
Note, that KDE Pim has a history of working poorly on FreeBSD.
2018-04-10 19:31:53 +00:00
Tobias C. Berner
39fa5f95a7 New ports: KDE Applications net/ and dependencies
* deskutils/grantleetheme
* deskutils/kdepim
* deskutils/kdepim-apps-libs
* deskutils/libkdepim
* net/akonadi-calendar
* net/akonadi-contacts
* net/akonadi-mime
* net/akonadi-notes
* net/akonadi-search
* net/calendarsupport
* net/eventviews
* net/incidenceeditor
* net/kalarmcal
* net/kblog
* net/kcalcore
* net/kcalutils
* net/kcontacts
* net/kdav
* net/kdenetwork-filesharing
* net/kget
* net/kidentitymanagement
* net/kimap
* net/kldap
* net/kmailtransport
* net/kmbox
* net/kmime
* net/kontactinterface
* net/kpimtextedit
* net/krdc
* net/krfb
* net/ksmtp
* net/ktnef
* net/libgravatar
* net/libkgapi
* net/libksieve
* net/mailcommon
* net/mailimporter
* net/messagelib
* net/pimcommon
* net/zeroconf-ioslave
* security/libkleo

This is the current version of KDE Applications <foo>.
Note that users of KDE SC4 should stick with <foo>-kde4.

This adds a slew of KDE Pim related ports and some of their dependencies.
Note, that KDE Pim has a history of working poorly on FreeBSD.
2018-04-10 19:09:05 +00:00
Tobias C. Berner
4e7e29a51e New ports: net-p2p/ktorrent, net-p2p/libktorrent, net/syndication
This is the current version of KDE Applications <foo>.
Note that users of KDE SC4 should stick with <foo>-kde4.

This one is a bit ugly: move libktorrent and ktorrent-kde4 out of the way and
readd the new ones in one go, to not have to touch the same MOVED lines in a
short time span.

Also this adds a very stripped down version of the desktuils/kdepim metaport,
which will get more and more dependencies added shortly.
2018-04-10 18:17:02 +00:00