Compare commits

...

446 commits
main ... 2018Q1

Author SHA1 Message Date
Jan Beich
8e67d34699 MFH: r472125
www/waterfox: flatten line endings after r461193

Subversion doesn't allow mixed line endings when svn:eol-style
property is set. files/patch-bug1402766 tries to create a new test
file, so simply strip carriage-return from lines which is what
actually happens on checkout. Originally, the file landed via
git-svn which doesn't appear to run sanity checks on dcommit.

$ svn cat files/patch-bug1402766
svn: E135000: Inconsistent line ending style

Reported by:	gjb
Approved by:	ports-secteam blanket
2018-06-10 10:30:41 +00:00
Jan Beich
e147b61260 MFH: r466436
www/seamonkey: switch to rc2

Changes:	https://hg.mozilla.org/releases/mozilla-esr52/rev/6c7b3cc4609f
Approved by:	ports-secteam blanket
2018-04-04 12:51:10 +00:00
Jan Beich
d5429da0a6 MFH: r466104
mail/thunderbird: apply CVE-2018-5148 fix

Approved by:	ports-secteam blanket
2018-04-01 00:01:30 +00:00
Bradley T. Hughes
6c52789344 MFH: r460053 r460856 r462984 r463355 r463391 r463953 r465262 r465916
www/node: Update 9.3.0 -> 9.4.0

https://nodejs.org/en/blog/release/v9.4.0/

While here, pet portlint:
- move ONLY_FOR_ARCHS
- remove USES_LDCONFIG (node.js doesn't install a .so)

Approved by:	mat (co-mentor)
Differential Revision:	https://reviews.freebsd.org/D14050

www/node: Update 9.4.0 -> 9.5.0

https://nodejs.org/en/blog/release/v9.5.0/

www/node: Update 9.5.0 -> 9.6.1

https://nodejs.org/en/blog/release/v9.6.0/
https://nodejs.org/en/blog/release/v9.6.1/

www/node: Update 9.6.1 -> 9.7.0

https://nodejs.org/en/blog/release/v9.7.0/

www/node: Update 9.7.0 -> 9.7.1

There are not changes in the release. A new version was published due to
a bad node-v9.7.0.pkg (macOS installer) file that was published to
nodejs.org in the previous release.

https://nodejs.org/en/blog/release/v9.7.1/

www/node: Update 9.7.1 -> 9.8.0

https://nodejs.org/en/blog/release/v9.8.0/

www/node: Update 9.8.0 -> 9.9.0

https://nodejs.org/en/blog/release/v9.9.0/

www/node: Update 9.9.0 -> 9.10.0

This is a security release addressing multiple vulnerabilities. Users
are recommended to upgrade as soon as possible.

https://nodejs.org/en/blog/vulnerability/march-2018-security-releases/
https://nodejs.org/en/blog/release/v9.10.0/

Security:	5a9bbb6e-32d3-11e8-a769-6daaba161086

Approved by:	ports-secteam (riggs)
2018-03-31 19:15:34 +00:00
Bradley T. Hughes
231a4ff330 MFH: r460855 r463799 r465915
www/node8: Update 8.9.3 -> 8.9.4

https://nodejs.org/en/blog/release/v8.9.4/

While here, pet portlint:
- move ONLY_FOR_ARCHS
- remove USES_LDCONFIG (node.js doesn't install a .so)

Differential Revision:	https://reviews.freebsd.org/D13775

www/node8: Update 8.9.4 -> 8.10.0

This release comes with a lot of big changes. There are updates to V8,
libuv, and ICU, a bugfix in npm, and support for building with OpenSSL
1.1.0.

https://nodejs.org/en/blog/release/v8.10.0/

www/node8: Update 8.10.0 -> 8.11.0

This is a security release addressing multiple vulnerabilities. Users
are recommended to upgrade as soon as possible.

https://nodejs.org/en/blog/vulnerability/march-2018-security-releases/
https://nodejs.org/en/blog/release/v8.11.0/

Security:	5a9bbb6e-32d3-11e8-a769-6daaba161086

Approved by:	ports-secteam (riggs)
2018-03-31 19:10:39 +00:00
Bradley T. Hughes
f5d08b6665 MFH: r460854 r462058 r463796 r465914
www/node6: Update 6.12.2 -> 6.12.3

https://nodejs.org/en/blog/release/v6.12.3/

While here, pet portlint:
- move ONLY_FOR_ARCHS
- remove USES_LDCONFIG (node.js doesn't install a .so)

Differential Revision:	https://reviews.freebsd.org/D13774

www/node6: Update 6.12.3 -> 6.13.0

https://nodejs.org/en/blog/release/v6.13.0/

www/node: Update 6.13.0 -> 6.13.1

Notable changes:
- http, tls: better support for IPv6 addresses

https://nodejs.org/en/blog/release/v6.13.1/

www/node6: Update 6.13.1 -> 6.14.0

This is a security release addressing multiple vulnerabilities. Users
are recommended to upgrade as soon as possible.

https://nodejs.org/en/blog/vulnerability/march-2018-security-releases/
https://nodejs.org/en/blog/release/v6.14.0/

Security:	5a9bbb6e-32d3-11e8-a769-6daaba161086

Approved by:	ports-secteam (riggs)
2018-03-31 19:06:11 +00:00
Bradley T. Hughes
004d3dbe02 MFH: r465913
www/node4: Update 4.8.7_1 -> 4.9.0

This is a security release addressing multiple vulnerabilities. Users
are recommended to upgrade as soon as possible.

https://nodejs.org/en/blog/vulnerability/march-2018-security-releases/
https://nodejs.org/en/blog/release/v4.9.0/

Security:	5a9bbb6e-32d3-11e8-a769-6daaba161086

Approved by:	ports-secteam (riggs)
2018-03-31 18:58:51 +00:00
Jan Beich
51f87065b8 MFH: r466028
www/seamonkey: update to 2.49.3

Changes:	https://www.seamonkey-project.org/releases/seamonkey2.49.3/
Security:	c71cdc95-3c18-45b7-866a-af28b59aabb5
Security:	7943794f-707f-4e31-9fea-3bbf1ddcedc1
Security:	23f59689-0152-42d3-9ade-1658d6380567
Approved by:	ports-secteam blanket
2018-03-31 08:02:23 +00:00
Jan Beich
834c91ae9c MFH: r461114
lang/beignet: always bypass LLVM tools autodetection

$ MESA_LLVM_VER=-devel make all DISABLE_MAKE_JOBS=
[...]
-- LLVM llvm-config found at: /usr/local/bin/llvm-config-devel
-- find unstable LLVM version 7.0.0svn
[...]
[1/269] cd /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl && mkdir -p /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet// && LLVM_AS_EXECUTABLE-NOTFOUND -o /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//ocl_barrier.bc /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl/src/ocl_barrier.ll
FAILED: backend/src/libocl/usr/local/lib/beignet/ocl_barrier.bc
cd /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl && mkdir -p /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet// && LLVM_AS_EXECUTABLE-NOTFOUND -o /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//ocl_barrier.bc /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl/src/ocl_barrier.ll
/bin/sh: LLVM_AS_EXECUTABLE-NOTFOUND: not found
ninja: build stopped: subcommand failed.
*** Error code 1

Approved by:	ports-secteam (feld)
2018-03-31 07:44:40 +00:00
Jan Beich
1753fe9050 MFH: r465786
devel/renpy: update to 6.99.14.2

Changes:	https://www.renpy.org/release/6.99.14.2 (see Announcment)
Changes:	https://www.renpy.org/doc/html/changelog.html#ren-py-6-99-14-2
Approved by:	ports-secteam (riggs)
2018-03-31 07:42:58 +00:00
Thomas Zander
2f197a2f09 MFH: r466023
Update to upstream version 2.6.2 (fixes)

PR:		227067

Approved by:	ports-secteam (riggs)
2018-03-31 06:54:06 +00:00
Jan Beich
0f8cfb5aa5 MFH: r466004
emulators/rpcs3: update to 0.0.5.146

Changes:	70cc2e366...bca46e92d

Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-03-30 21:36:22 +00:00
Jan Beich
6aad895830 MFH: r466002
www/waterfox: apply some FF60 fixes

Approved by:	ports-secteam blanket
2018-03-30 21:35:31 +00:00
Jan Beich
96e26a1c37 MFH: r466001
www/waterfox: drop distfiles unused after r465511

Approved by:	ports-secteam blanket
2018-03-30 21:34:52 +00:00
Bryan Drewery
38eebf5f0c MFH: r465998
- Update to 3.2.6

Changes: https://github.com/freebsd/poudriere/wiki/release_notes_326

Approved by:	portmgr (implicit)
2018-03-30 20:20:00 +00:00
Thomas Zander
8a8a086617 MFH: r465993
Update to upstream version 4.1.2 (bugfix release)

PR:		227112
Submitted by:	tremere@cainites.net (maintainer)

Approved by:	ports-secteam (riggs)
2018-03-30 18:41:43 +00:00
Jan Beich
9db702cb48 MFH: r465972
www/waterfox: unbreak on aarch64 after r465246

../../media/libwebp/dsp/yuv.o: In function `WebPInitConvertARGBToYUV':
media/libwebp/dsp/yuv.c:(.text.WebPInitConvertARGBToYUV+0x78): undefined reference to `WebPInitConvertARGBToYUVNEON'
media/libwebp/dsp/yuv.c:(.text.WebPInitConvertARGBToYUV+0x7c): undefined reference to `WebPInitSharpYUVNEON'
/usr/local/bin/ld.bfd: libxul.so: hidden symbol `WebPInitConvertARGBToYUVNEON' isn't defined
/usr/local/bin/ld.bfd: final link failed: Bad value
c++: error: linker command failed with exit code 1 (use -v to see invocation)

Reported by:	pkg-fallout
Approved by:	ports-secteam blanket
2018-03-30 14:19:35 +00:00
Jan Beich
b8220d1b8e MFH: r465943
www/firefox: unbreak WebRender on i386

Approved by:	ports-secteam blanket
2018-03-30 03:25:20 +00:00
Jan Beich
0ea853d622 MFH: r465858
www/waterfox: apply some FF60 fixes

Approved by:	ports-secteam blanket
2018-03-29 00:54:38 +00:00
Jan Beich
b29af3367a MFH: r465855
emulators/rpcs3: update to 0.0.5.137

Changes:	a36acf49d...70cc2e366
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-03-29 00:26:16 +00:00
Mark Felder
ea871dcceb MFH: r465729
archivers/py-borgbackup: Fix use of FLAVOR

Unbreak FUSE option

Approved by:	just fix it
2018-03-27 18:34:41 +00:00
Mark Felder
2793629363 MFH: r465702
net-im/py-matrix-synapse: Update to 0.27.2

Relnotes:	https://github.com/matrix-org/synapse/releases/tag/v0.27.2
2018-03-27 13:22:34 +00:00
Jason E. Hale
ffeef6bccd MFH: r465687
Fix build with CDIO option enabled

Obtained from:	Arch Linux (https://aur.archlinux.org/cgit/aur.git/tree/cdio-api-fixes.patch?h=gmerlin)

Approved by:	ports-secteam (blanket)
2018-03-27 11:30:07 +00:00
Mathieu Arnold
4a1d02ee91 MFH: r465678
Force path to sudo to fix, at least, check_mailq -s.

PR:		226918
Reported by:	alexander wittig name
Sponsored by:	Absolight
2018-03-27 10:53:48 +00:00
Thomas Zander
6c21a9e499 Import avidemux build fixes from head.
MFH: r464215 r465620

Move PORTREVISION from multimedia/avidemux/Makefile.common into the
three slave ports multimedia/avidemux-cli, multimedia/avidemux-plugins,
and multimedia/avidemux-qt4.  Ensure they are properly set there
after revision 464084.

That way any sweeping changes (using Tools/scripts/bump-revision.sh
or similar in particular) have a chance of working or at least flagging
a potential issue.

PR:		226533

Un-break avidemux and plugins (import C++11 fixes from upstream)

PR:		224384
Submitted by:	rkoberman@gmail.com

Approved by:	ports-secteam (riggs)
2018-03-27 06:42:48 +00:00
Antoine Brodin
321a2d820f Revert r465543, it's BROKEN
Reported by:	pkg-fallout
With hat:	portmgr
2018-03-27 05:35:27 +00:00
Jan Beich
03b7c77475 MFH: r465655 r465656
www/firefox-esr: update to 52.7.2

Changes:	https://www.mozilla.org/firefox/52.7.3/releasenotes/
Approved by:	ports-secteam blanket
2018-03-27 01:01:02 +00:00
Jan Beich
ff402d8944 MFH: r465649
emulators/rpcs3: update to 0.0.5.132

Changes:	c5caaa921...a36acf49d
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-03-27 00:28:37 +00:00
Jan Beich
2f01868885 MFH: r465566 by cmt
update thunderbird to 52.7.0

Release Notes: https://www.mozilla.org/en-US/thunderbird/52.7.0/releasenotes/

PR:		226892
Approved by:	jbeich (maintainer)
Security:	c71cdc95-3c18-45b7-866a-af28b59aabb5
Approved by:	ports-secteam blanket
2018-03-27 00:09:07 +00:00
Jan Beich
303a809ab6 MFH: r465446 r465627
www/firefox: update to 59.0.2

Changes:	https://www.mozilla.org/firefox/59.0.2/releasenotes/
Approved by:	ports-secteam blanket
2018-03-26 19:29:42 +00:00
Jan Beich
f5c9f74028 MFH: r465511
www/waterfox: update to 56.1.0

Changes:	https://github.com/MrAlex94/Waterfox/compare/a9c77bbb9f25...56.1.0
Approved by:	ports-secteam blanket
2018-03-26 08:06:27 +00:00
Sunpoet Po-Chuan Hsieh
22add0bcae MFH: r465482
Update to 1.0.4

Changes:	https://github.com/rails/rails-html-sanitizer/releases
Security:	81946ace-6961-4488-a164-22d58ebc8d66

Approved by:	ports-secteam (riggs)
2018-03-25 18:14:41 +00:00
Jochen Neumeister
c61d29c2f8 MFH: r465463
www/mybb: Update to 1.8.15

Changelog: https://blog.mybb.com/2018/03/15/mybb-1-8-15-released-security-maintenance-release/

Security:	d50a50a2-2f3e-11e8-86f8-00e04c1ea73d

Approved by:	ports-secteam (riggs)
2018-03-25 07:23:23 +00:00
Jan Beich
ee692e7b68 MFH: r465419
emulators/rpcs3: update to 0.0.5.113

Changes:	252ddf808...c5caaa921
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-03-24 00:26:23 +00:00
Jan Beich
8f55324ee2 MFH: r465418
emulators/citra: update to s20180321

Changes:	9e4f670e...d03f72eb
Approved by:	ports-secteam (swills, implicit for snapshots)
2018-03-24 00:25:20 +00:00
Jan Beich
359478a1ab MFH: r465417
www/waterfox: apply more FF60 fixes

Approved by:	ports-secteam blanket
2018-03-24 00:23:34 +00:00
Yuri Victorovich
da97efe523 MFH: r465275
databases/sqlite3: Patch for CVE-2018-8740

Detect databases whose schema is corrupted using
a CREATE TABLE AS statement and issue an appropriate error message.

CVE-2018-8740 will be entered into VuXML when SQLite will make
a release, because CVE-2018-8740 says that versions up to and including
the current version 3.22.0 are vulnerable.

Approved by:	ports-secteam (feld)
2018-03-23 19:21:40 +00:00
Yuri Victorovich
dcd4512b15 MFH: r464472 (commit leading to r465275 that patches CVE-2018-8740)
databases/sqlite: Update to 3.22.0

Changelog:
https://www.sqlite.org/releaselog/3_22_0.html

Port changes:
* Added the OFFSET option for the new sqlite_offset() function
* Added 'Optional extensions' and 'Optional functions' option
  groups for better options readability
* Deleted patches from files/ because they were disabling certain
  options in the command-line utility that the upstream keeps
  always enabled there
* Changed capitalization in some options according to
  common spelling rules

Approved by:	ports-secteam (feld)
2018-03-23 19:19:49 +00:00
Sunpoet Po-Chuan Hsieh
87a8596afd MFH: r465226
Update to 4.6.3

Changes:	https://github.com/rgrove/sanitize/releases
Security:	39a30e0a-0c34-431b-9dce-b87cab02412a

Approved by:	ports-secteam (riggs)
2018-03-22 17:13:09 +00:00
Jan Beich
3bf2c81d75 MFH: r465246
www/waterfox: Apply some FF60 fixes

- Update bundled webp to 0.6.1 but use PATCHFILES to avoid
  bloating repo size

Approved by:	ports-secteam blanket
2018-03-21 22:55:07 +00:00
Sunpoet Po-Chuan Hsieh
39b5847b68 MFH: r465128
Update to 2.2.1

Changes:	https://github.com/flavorjones/loofah/releases
		https://github.com/flavorjones/loofah/blob/master/CHANGELOG.md
Security:	ba6d0c9b-f5f6-4b9b-a6de-3cce93c83220

Approved by:	ports-secteam (swills)
2018-03-21 18:57:48 +00:00
Sunpoet Po-Chuan Hsieh
aac1711c48 MFH: r465018
Update to 5.4.1

Changes:	https://github.com/jupyter/notebook/releases
		https://github.com/jupyter/notebook/blob/master/docs/source/changelog.rst
Security:	b3edc7d9-9af5-4daf-88f1-61f68f4308c2

Approved by:	ports-secteam (swills)
2018-03-21 18:55:48 +00:00
Bryan Drewery
df32ef92f3 MFH: r459882
Allow passing -DDEPENDS_SHOW_FLAVOR to list flavors for dependency lists.

Submitted by:	se (based on D13535)
With hat:	portmgr

Approved by:	portmgr (implicit)
2018-03-20 21:08:47 +00:00
Jan Beich
c7447565a2 MFH: r463846 r465049
games/openbor: update to 4625

Changes:	11cd2c0...c16d422
Approved by:	ports-secteam (feld, implicit for snapshots)
2018-03-20 00:56:36 +00:00
Jan Beich
cce06c1c83 MFH: r465044
www/waterfox: update to 56.0.4.72

Changes:	79492ecca4...a9c77bbb9f
Approved by:	ports-secteam blanket
2018-03-20 00:51:05 +00:00
Jan Beich
577174df41 MFH: r465043
emulators/rpcs3: update to 0.0.5.90

Changes:	b232409cc...252ddf808
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-03-20 00:50:24 +00:00
Jan Beich
4bfe422744 MFH: r465042
emulators/citra: update to s20180318

Changes:	935bcdbd...9e4f670e
Approved by:	ports-secteam (swills, implicit for snapshots)
2018-03-20 00:49:39 +00:00
Bryan Drewery
3f1f542c08 MFH: r465035
Fix some recursive targets using the wrong FLAVOR.

Reported by:	Andrzej Tobola <ato@iem.pw.edu.pl>, koobs
Approved by:	portmgr (implicit)
2018-03-19 21:40:31 +00:00
Gerald Pfeifer
fa2f102f5a MFH: r459981
Update to the GCC 7.3 release.

This fixes 99+ bugs and includes code generation options to mitigate
Spectre Variant 2 (CVE 2017-5715) for the x86 and powerpc targets
(-mindirect-branch=, -mfunction-return=, and -mindirect-branch-register).

files/patch-armv7-support and files/patch-freebsd-unwind.h, which I
had backported are now included, so remove them.

Approved by:	ports-secteam@ (swills)
2018-03-18 20:30:12 +00:00
Antoine Brodin
65c9069d28 MFH: r464948
Mark BROKEN: unfetchable

Reported by:	pkg-fallout
2018-03-18 20:11:43 +00:00
Antoine Brodin
4249c5f295 MFH: r464774
Skip ENOMEM check for printf when building with qemu, this makes
configure hang

PR:		224740
Reported by:	pkg-fallout
2018-03-17 09:26:20 +00:00
Antoine Brodin
73996655ce MFH: r464772
Skip ENOMEM check for printf when building with qemu, this makes
configure hang

PR:		224740
Reported by:	pkg-fallout
2018-03-17 09:15:45 +00:00
Jan Beich
4c542eda68 MFH: r464744
emulators/rpcs3: update to 0.0.5.83

Changes:	5f047034a...b232409cc
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-03-16 22:32:18 +00:00
Jan Beich
de2ede25a6 MFH: r464735
audio/libtremor: update to 1.2.1.s20180316

Changes:	https://git.xiph.org/?p=tremor.git;a=shortlog
Security:	7943794f-707f-4e31-9fea-3bbf1ddcedc1
Approved by:	ports-secteam blanket
2018-03-16 21:11:28 +00:00
Jan Beich
bfa6f38901 MFH: r464734
audio/libvorbis: update to 1.3.6

Changes:	https://gitlab.xiph.org/xiph/vorbis/tags/v1.3.6
ABI:		https://abi-laboratory.pro/tracker/timeline/libvorbis/
Security:	7943794f-707f-4e31-9fea-3bbf1ddcedc1
Security:	64ee858e-e035-4bb4-9c77-2468963dddb8
Approved by:	ports-secteam blanket
2018-03-16 21:10:54 +00:00
Jan Beich
52cba0636a MFH: r464733
www/firefox: unbreak fetch

See https://bugzilla.mozilla.org/show_bug.cgi?id=1432591#c22

--- mozilla-release-3db9e3d52b17563efca181ccbb50deb8660c59ae.old/.hg_archival.txt	2018-03-15 22:12:05 UTC
+++ mozilla-release-3db9e3d52b17563efca181ccbb50deb8660c59ae/.hg_archival.txt	2018-03-15 22:12:05 UTC
@@ -1,7 +1,5 @@
 repo: 8ba995b74e18334ab3707f27e9eb8f4e37ba3d29
 node: 3db9e3d52b17563efca181ccbb50deb8660c59ae
 branch: default
-latesttag: FENNEC_59_0_BUILD3
-latesttag: FENNEC_59_0_RELEASE
-latesttagdistance: 5
-changessincelatesttag: 5
+tag: FIREFOX_59_0_1_BUILD1
+tag: FIREFOX_59_0_1_RELEASE

Reported by:	Andrzej Tobola
Approved by:	ports-secteam blanket
2018-03-16 21:10:24 +00:00
Jan Beich
8860303501 MFH: r464731
emulators/citra: update to s20180316

Changes:	6c63bb11...935bcdbd
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-03-16 21:09:56 +00:00
Jan Beich
e3d6580ce9 MFH: r464679
www/waterfox: apply more FF59 fixes

Some are left for later:
https://bugzilla.mozilla.org/buglist.cgi?bug_id=1431371,1429768,1297740,1432855,1442318,1422631,1426603,1373934,1416940

Approved by:	ports-secteam blanket
2018-03-16 13:26:43 +00:00
Jan Beich
0a2086c4a9 MFH: r463893
www/firefox: fix <select> styling

Approved by:	ports-secteam blanket
2018-03-16 13:25:30 +00:00
Jan Beich
0dabe6d38c MFH: r463842
www/waterfox: apply FF60 fix

Approved by:	ports-secteam blanket
2018-03-16 13:24:33 +00:00
Jan Beich
9b3d9152b3 MFH: r464676
www/firefox-esr: update to 52.7.2

Changes:	https://www.mozilla.org/firefox/52.7.2/releasenotes/
Security:	7943794f-707f-4e31-9fea-3bbf1ddcedc1
Approved by:	ports-secteam blanket
2018-03-16 13:19:35 +00:00
Jan Beich
7319879e6d MFH: r464675
www/firefox: update to 59.0.1

Changes:	https://www.mozilla.org/firefox/59.0.1/releasenotes/
Security:	7943794f-707f-4e31-9fea-3bbf1ddcedc1
Approved by:	ports-secteam blanket
2018-03-16 13:19:04 +00:00
Torsten Zuehlsdorff
b4e1965cd5 MFH: r464598
lang/php70: Update from 7.0.27 to 7.0.28

Changelog: http://www.php.net/ChangeLog-7.php#7.0.28

Approved by:	ports-secteam (swills)
2018-03-16 09:31:05 +00:00
Matthias Andree
4f3d1d9710 MFH: r462277 r462457 r464542
Mark broken on both armv6 and armv7.

Security/bug fix update to e2fsprogs 1.44.0.

Reset e2fsprogs-libuuid's PORTREVISION.

Changelog:
<http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.44.0>

Security:	2aa9967c-27e0-11e8-9ae1-080027ac955c
Approved by:	ports-secteam (swills@)
2018-03-15 22:33:20 +00:00
Bryan Drewery
f93e829447 MFH: r464504
sysutils/devcpu-data

Update to Intel microcode release 20180312:

== Updates upon 20171117 release ==
MODEL STEP f-mm-s:pf version
-- New Platforms --
BDX-DE EGW A0 6-56-5:10 e000009
SKX B1 6-55-3:97 1000140
-- Updates --
SNB D2 6-2a-7:12 29->2d
JKT C1 6-2d-6:6d 619->61c
JKT C2 6-2d-7:6d 710->713
IVB E2 6-3a-9:12 1c->1f
IVT C0 6-3e-4:ed 428->42c
IVT D1 6-3e-7:ed 70d->713
HSW Cx/Dx 6-3c-3:32 22->24
HSW-ULT Cx/Dx 6-45-1:72 20->23
CRW Cx 6-46-1:32 17->19
HSX C0 6-3f-2:6f 3a->3c
HSX-EX E0 6-3f-4:80 0f->11
BDW-U/Y E/F 6-3d-4:c0 25->2a
BDW-H E/G 6-47-1:22 17->1d
BDX-DE V0/V1 6-56-2:10 0f->15
BDW-DE V2 6-56-3:10 700000d->7000012
BDW-DE Y0 6-56-4:10 f00000a->f000011
SKL-U/Y D0 6-4e-3:c0 ba->c2
SKL R0 6-5e-3:36 ba->c2
KBL-U/Y H0 6-8e-9:c0 62->84
KBL B0 6-9e-9:2a 5e->84
CFL D0 6-8e-a:c0 70->84
CFL U0 6-9e-a:22 70->84
CFL B0 6-9e-b:02 72->84
SKX H0 6-55-4:b7 2000035->2000043

Reviewed by:	swills imp
Security:	yes
Sponsored by:	Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D14686

Approved by:	portmgr (swills)
2018-03-15 17:54:04 +00:00
Bryan Drewery
2f4c333c2e MFH: r459464
sysutils/devcpu-data: Revert back to legacy microcode.dat implementation.

Either there is a problem with the Intel supplied microcode files or
cpucontrol does not yet understand how to process a micrcode update file
with multiple entries. For now, abort.

Reviewed by:	swills
Sponsored by:	Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D13987

Approved by:	portmgr (swills)
2018-03-15 17:53:39 +00:00
Bryan Drewery
66c8ef084c MFH: r459266
sysutils/devcpu-data: Migrate our microcode update on Intel to use precreated files.

Intel provides prefabricated per-cpu microcode update files.  We no longer need
a tool to extract them from the legacy microcode.dat store.  This matches
what upstream linux distributions are doing now.  Tested on my Intel machines
here and updates still succeed.

Reviewed by:	swills cem
Sponsored by:	Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D13921

Approved by:	portmgr (swills)
2018-03-15 17:53:11 +00:00
Tijl Coosemans
082e5a8d23 MFH: r464085, r464247
- Update security/polarssl13 to 1.3.22.
- Update security/mbedtls to 2.7.1 and bump dependent ports.

Security:	https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2018-01
Approved by:	ports-secteam (swills)
2018-03-15 15:50:40 +00:00
Jan Beich
85448c9abf MFH: r464544
emulators/rpcs3: update to 0.0.5.81

Changes:	b8e920873...5f047034a
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-03-15 00:35:27 +00:00
Torsten Zuehlsdorff
0422303d00 MFH: r464250
Update PHP 7.1 from 7.1.14 to 7.1.15

Changelog: http://www.php.net/ChangeLog-7.php#7.1.15

Approved by:	ports-secteam (swills)
2018-03-14 15:53:39 +00:00
Ruslan Makhmatkhanov
bbd27ca67f MFH: r464430
net-p2p/deluge-cli: fix runtime

Add upstream patch to fix bug with opening preferences window.
This patch closing https://dev.deluge-torrent.org/ticket/3039

PR:		226443
Submitted by:	Rainbow <rainbow@sanitylinux.org>

Approved by:	ports-secteam (swills)
2018-03-14 15:52:02 +00:00
TAKATSU Tomonari
9304c9ada9 MFH: r462947 r463639
- Add CVE-2018-5950 patch [1]
- Update MASTER_SITES [1]
- USES shebangfix
- Regenerate patches with makepatch
- Fix pkg-plist to make portlint happy
- Remove unnecessary line from files/pkg-deinstall.in [2]
- Fix files/pkg-install.in [2]

PR:		225703 [1]
Submitted by:	Yasuhito FUTATSUKI
Security:	CVE-2018-5950
Pointed out by:	riggs@ [2]
Approved by:	ports-secteam (riggs@)
2018-03-14 07:54:28 +00:00
Jung-uk Kim
7defd72ae3 MFH: r464395
Catch up with www/linux-flashplayer.

Approved by:	ports-secteam (blanket)
2018-03-13 17:30:47 +00:00
Jung-uk Kim
ad265fd294 MFH: r464394
Update to 29.0.0.113.

https://helpx.adobe.com/security/products/flash-player/apsb18-05.html

Approved by:	ports-secteam (blanket)
2018-03-13 17:30:20 +00:00
Jan Beich
e804fb1077 MFH: r464327
emulators/citra: update to s20180311

- Limit citra-room to master port as it doesn't have a GUI, anyway

Changes:	33a0e87a...6c63bb11
Approved by:	ports-secteam (swills, implicit for snapshots)
2018-03-12 22:16:44 +00:00
Jan Beich
b6561a70b1 MFH: r464326
emulators/rpcs3: update to 0.0.5.54

Changes:	7bbadfd08...b8e920873
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-03-12 22:15:48 +00:00
Jan Beich
13f6cbe329 MFH: r464325
www/firefox: switch to rc5

Changes:	https://hg.mozilla.org/releases/mozilla-release/pushloghtml?startdate=2018-03-08&enddate=2018-03-12
Changes:	https://bugzilla.mozilla.org/show_bug.cgi?id=1444548
Approved by:	ports-secteam blanket
2018-03-12 22:15:15 +00:00
Jan Beich
49a7cbb899 MFH: r463856
print/harfbuzz-icu: pacify check-plist after r464304

===========================================================================
====> Running Q/A tests (stage-qa)
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: bin/hb-subset
Error: Orphaned: include/harfbuzz/hb-subset-glyf.hh
Error: Orphaned: include/harfbuzz/hb-subset-plan.hh
Error: Orphaned: include/harfbuzz/hb-subset-private.hh
Error: Orphaned: include/harfbuzz/hb-subset.h
Error: Orphaned: lib/cmake/harfbuzz/harfbuzz-config.cmake
Error: Orphaned: lib/libharfbuzz-subset.so
Error: Orphaned: lib/libharfbuzz-subset.so.0
Error: Orphaned: lib/libharfbuzz-subset.so.%%LIBVER%%
Error: Orphaned: libdata/pkgconfig/harfbuzz-subset.pc

Pointy hat to:	jbeich
Approved by:	ports-secteam blanket
2018-03-12 21:01:40 +00:00
Jan Beich
04de8bfcc6 MFH: r460534 r463853
print/harfbuzz: update to 1.7.6

Changes:	https://github.com/harfbuzz/harfbuzz/blob/1.7.5/NEWS
Changes:	https://github.com/harfbuzz/harfbuzz/blob/1.7.6/NEWS
ABI:		https://abi-laboratory.pro/tracker/timeline/harfbuzz/
Approved by:	ports-secteam (riggs)
2018-03-12 20:46:47 +00:00
Bryan Drewery
b6483c4224 MFH: r464273
FLAVORS: Reorder so the default is first.

It is documented that the first FLAVOR is the default.  Due to some use
of DEFAULT_VERSIONS and USES, the default FLAVOR may be determined
dynamically.  Poudriere in particular expects the default to be first
and does the wrong thing for emacs ports currently [1].  This resolves
that and avoids other tools making the same mistake.

PR:		225659 comment #14
Approved by:	portmgr (implicit)
2018-03-12 19:05:29 +00:00
Bryan Drewery
1b057ad1f1 MFH: r463997
Update to 3.2.5

Changes: https://github.com/freebsd/poudriere/wiki/release_notes_325
Approved by:	portmgr (implicit)
2018-03-12 18:30:43 +00:00
Bryan Drewery
9d5a011dc7 MFH: r464267
FLAVORS: Fix several 'make *recursive' targets not passing along FLAVOR properly.

PR:		225659 comment #15
Approved by:	portmgr (implicit)
2018-03-12 18:29:58 +00:00
Thomas Zander
730962021e MFH: r464190
Update to upstream version 2.3.4

Details:
- Fix issue where LDAP login with empty passwort
  was possible, see
  https://github.com/pdav/netmagis/issues/173
- Fix LICENSE*
- Pet portlint

PR:		226437
Submitted by:	dgeo@centrale-marseille.fr
Approved by:	pdagog@gmail.com (maintainer)

Approved by:	ports-secteam (riggs)
2018-03-11 18:00:43 +00:00
Yuri Victorovich
0ad3afd2d4 MFH: r463768
security/strongswan: Fix crash in public key authentication with 5.6.2

While here, added LICENSE_FILE.

PR:		226404
Submitted by:	strongswan@Nanoteq.com (maintainer)
Approved by:	tcberner (mentor, implicit)
Approved by:	ports-secteam (lists@eitanadler.com)
2018-03-11 08:49:06 +00:00
Jan Beich
6d0eca8a9f MFH: r464082
games/openra: update GeoLite2 to March snapshot

fetch: https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz: size mismatch: expected 1687146, actual 1702260

Approved by:	ports-secteam blanket
2018-03-10 17:45:49 +00:00
Jan Beich
d405852749 MFH: r463847
games/openra: update to 20180307

Changes:	https://github.com/OpenRA/OpenRA/wiki/Changelog#release-20180218
Approved by:	ports-secteam (riggs)
2018-03-10 17:42:41 +00:00
Thomas Zander
4a4d79d044 MFH: r464076
Un-break with SSL OPTION (default)

PR:		225885
Submitted by:	brnrd

Approved by:	ports-secteam (riggs)
2018-03-10 14:57:08 +00:00
Mark Felder
dca462b24a MFH: r458993 r463489
security/tor: Update to 0.3.2.9

This release contains many new features and many bugfixes.
Plesee see the complete list here:
https://blog.torproject.org/tor-0329-released-we-have-new-stable-series

Additionally, this update adds "#include <osreldate.h>" to qualm the
compiler warning that was caused by the previous fix.

Now security/tor and security/tor-devel are identical.

security/tor: Update to 0.3.2.10

Backport of countermeasures to mitigate denial-of-service
attacks against the Tor network.

Changelog is in:
https://gitweb.torproject.org/tor.git/tree/ChangeLog

None of these fixes appear to be essential for clients, but relays
should upgrade.

Port changes:
* Changed the implementation of 'tor_setuid': now it is done through
  the command line argument, instead of the torrc file.
2018-03-10 13:48:14 +00:00
Antoine Brodin
6a492da7c8 MFH: r460800
BUILD_DEPENDS against `devel/llvm' was not sufficient, since ISPC binary is
actually linked to libLLVM.so.  Make it LIB_DEPENDS and thus try to unbreak
`graphics/embree'.

Reported by:	pkg-fallout
2018-03-10 07:03:21 +00:00
Bryan Drewery
8b96587552 MFH: r463857
Update to 1.6.6.

Changes: https://wiki.znc.in/ChangeLog/1.6.6

Approved by:	dbaio (maintainer)
Differential Revision:	https://reviews.freebsd.org/D14615

Approved by:	portmgr (implicit)
2018-03-09 22:20:49 +00:00
Jan Beich
201128bc96 MFH: r464001
emulators/citra: update to s20180309

Changes:	3cda637c...33a0e87a
Approved by:	ports-secteam (swills, implicit for snapshots)
2018-03-09 20:16:42 +00:00
Jan Beich
fe04d1d1e3 MFH: r464000
emulators/rpcs3: update to 0.0.5.40

Changes:	7233640cf...7bbadfd08
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-03-09 20:15:43 +00:00
Jan Beich
fafbccecb8 MFH: r463874
www/firefox-esr: update to 52.7.0

Changes:	https://www.mozilla.org/firefox/52.7.0/releasenotes/
Security:	c71cdc95-3c18-45b7-866a-af28b59aabb5
Approved by:	ports-secteam (riggs)
2018-03-09 19:32:59 +00:00
Carlos J. Puga Medina
724c296562 MFH: r463831
- Switch from x11-fonts/noto to x11-fonts/noto-lite
- Bump PORTREVISION

PR:		226255
Reported by:	tobik

Approved by:	ports-secteam (riggs)
2018-03-09 17:05:29 +00:00
Jimmy Olgeni
7fdb2b74c1 MFH: r463787
net/rabbitmq: recursively fix ownership of RABBITMQ_LOG_BASE on startup.

Submitted by:	Jeff Walter
Approved by:	portmgr
2018-03-09 16:41:05 +00:00
Jan Beich
e3a9fba079 MFH: r463675 r463875 r463877 r463894 r463962
www/firefox: update to 59.0

Changes:	https://www.mozilla.org/firefox/59.0/releasenotes/
Security:	c71cdc95-3c18-45b7-866a-af28b59aabb5
Approved by:	ports-secteam (riggs)
2018-03-09 14:42:48 +00:00
Jan Beich
55c87ad6d6 MFH: r460539
www/firefox: unbreak with Rust 1.25

error: unnecessary parentheses around function argument
    --> servo/ports/geckolib/glue.rs:4391:36
     |
4391 |     let name = unsafe { Atom::from((&*name)) };
     |                                    ^^^^^^^^ help: remove these parentheses
     |
note: lint level defined here
    --> servo/ports/geckolib/lib.rs:5:9
     |
5    | #![deny(warnings)]
     |         ^^^^^^^^
     = note: #[deny(unused_parens)] implied by #[deny(warnings)]

Obtained from:	upstream (Firefox 59)
Approved by:	ports-secteam blanket
2018-03-09 14:39:00 +00:00
Carlos J. Puga Medina
cda7b72428 MFH: r463839
www/chromium: update to 64.0.3282.186

Changelog: https://chromium.googlesource.com/chromium/src/+log/63.0.3239.132..64.0.3282.186?pretty=fuller&n=10000

Security:	https://vuxml.freebsd.org/freebsd/8e986b2b-1baa-11e8-a944-54ee754af08e.html
Security:	https://vuxml.freebsd.org/freebsd/abfc932e-1ba8-11e8-a944-54ee754af08e.html

Approved by:	ports-secteam (riggs)
2018-03-09 12:54:40 +00:00
Kubilay Kocak
08b9d95fa4 MFH: r463710
sysutils/froxlor: Fix packaging when APACHE option is unset

The pkg-plist for some entries relied on the AP_NAME variable, which is
only defined when the APACHE option is set (the default), via
bsd.apache.mk. The variables value is the ports name, so replace it with
PORTNAME accordingly.

While I'm here, fix misspelled PORTREVIION.

Reported by:	z3dm4n (via IRC)
Approved by:	portmgr (blanket)
2018-03-09 11:41:41 +00:00
Jan Beich
dfcc26ba93 MFH: r463696
security/nss: update to 3.36

Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.36_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_36_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
Approved by:	ports-secteam (riggs)
2018-03-09 07:59:17 +00:00
Jan Beich
77d8a2edf2 MFH: r463695
devel/nspr: update to 4.19 (nop)

From upstream ChangeLog:
- Update NSPR to build with Android NDK r16
- Add missing include for SIZE_MAX
- Use atexit() to register _PR_Fini on OSX

Changes:	https://hg.mozilla.org/projects/nspr/shortlog/NSPR_4_19_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nspr/
Approved by:	ports-secteam (riggs)
2018-03-09 07:57:38 +00:00
Tobias Kortkamp
ca515024a8 MFH: r463605
www/gitea: Update to 1.3.3

PR:		226342
Approved by:	stb@lassitu.de (maintainer)
Changes:	https://blog.gitea.io/2017/12/release-of-1.3.2/
Changes:	https://blog.gitea.io/2018/02/release-of-1.3.3/

Approved by:	ports-secteam blanket
2018-03-09 06:49:27 +00:00
Ben Woods
045ee42f09 MFH: r463791
sysutils/py-salt: Update to 2017.7.4

This is a bugfix release for the 2017.7.x branch.

Changes this release:
  https://docs.saltstack.com/en/latest/topics/releases/2017.7.4.html

PR:		226319
Approved by:	Christer Edwards (maintainer)

Approved by:	ports-secteam (riggs)
2018-03-08 22:35:51 +00:00
Jan Beich
37b4ca273c multimedia/libvpx: backport vpx_image fix (direct commit)
Reported by:	Debian
Obtained from:	upstream (libvpx 1.7.0)
Approved by:	ports-secteam blanket
2018-03-08 18:34:26 +00:00
Jan Beich
27a9c500e0 MFH: r463646 r463677 r463844
emulators/citra: update to s20180307

Changes:	7c1a2235...3cda637c
Approved by:	ports-secteam (swills, implicit for snapshots)
2018-03-08 00:24:35 +00:00
Jan Beich
17e1f13c63 MFH: r463843
emulators/rpcs3: update to 0.0.5.38

Changes:	91d051115...7233640cf
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-03-08 00:22:21 +00:00
Jan Beich
5da5d5ef1e multimedia/libvpx: backport VP9 fix (direct commit)
Obtained from:	upstream (libvpx 1.7.0, via Firefox 59)
Approved by:	ports-secteam blanket
2018-03-08 00:20:21 +00:00
Tobias Kortkamp
14ba0b7874 MFH: r463720
sysutils/testdisk: Fix build with PROGREISERFS=on

Fix LIB_DEPENDS: libreiserfs-0.3.so does not exist

PR:		195339
Submitted by:	crest@sahiro.org
Approved by:	flz (maintainer)

Approved by:	ports-secteam blanket
2018-03-06 12:33:51 +00:00
Jan Beich
08f1e41014 MFH: r463679
emulators/rpcs3: update to 0.0.5.36

Changes:	ec0cd9f00...91d051115
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-03-06 01:02:52 +00:00
Jan Beich
dbf01cdec3 MFH: r463465 r463677
emulators/citra: update to s20180302

Changes:	ac626eda...7c1a2235
Approved by:	ports-secteam (swills, implicit for snapshots)
2018-03-06 01:02:04 +00:00
Jan Beich
5cf854db5f MFH: r463613 r463676
www/waterfox: update to 56.0.4.36

- Apply some FF59 fixes

Changes:	e03e284b08...79492ecca4
Approved by:	ports-secteam blanket
2018-03-06 01:01:05 +00:00
Renato Botelho
2479db01ab MFH: r463323
- Update security/strongswan to 5.6.2 [1]
- Enable CURL option by default [2]

PR:		226043 [1], 220488 [2]
Submitted by:	strongswan@Nanoteq.com (maintainer) [1]
		karl@denninger.net [2]
Approved by:	maintainer [2]
Security:	CVE-2018-6459
Sponsored by:	Rubicon Communications, LLC (Netgate)
Approved by:	ports-secteam (riggs)
2018-03-05 11:39:16 +00:00
Jan Beich
64f490cc89 MFH: r463637
www/waterfox: drop bindgen workaround

Approved by:	ports-secteam blanket
2018-03-05 10:32:32 +00:00
Torsten Zuehlsdorff
8f118e0159 MFH: r463395
lang/php72: Update from 7.2.2 to 7.2.3

Changelog: http://www.php.net/ChangeLog-7.php#7.2.3

Approved by: ports-secteam (riggs)
2018-03-04 12:50:51 +00:00
Jason E. Hale
1e5f4f5c22 MFH: r463547
- Fix build with aarch64, armv6, armv7
- Fix QT4 option on all platforms (needs USES=gmake, and fix for moc location)
- Remove some substitutions that didn't do anything
- Don't try to create directories already in mtree

Approved by:	ports-secteam (blanket)
2018-03-04 03:21:12 +00:00
Jason E. Hale
fae07e6fdb MFH: r463363
Add several security fixes addressing:
- CVE-2017-6892
- CVE-2017-8361
- CVE-2017-8362
- CVE-2017-8363
- CVE-2017-8365
- CVE-2017-12562
- CVE-2017-14634

Note:
- Fix for CVE-2017-8365 is included in files/patch-CVE-2017-8361

While here:
- Fix LICENSE and add LICENSE_FILE

PR:		226271
Submitted by:	jhale
Reviewed by:	koobs, eadler, jbeich
Approved by:	ports-secteam (eadler)
Obtained from:	upstream (https://github.com/erikd/libsndfile)
Security:	004debf9-1d16-11e8-b6aa-4ccc6adda413
Security:	2b386075-1d9c-11e8-b6aa-4ccc6adda413
Differential Revision:	https://reviews.freebsd.org/D14552

Approved by:	ports-secteam (riggs)
2018-03-04 02:34:49 +00:00
Bryan Drewery
a2b0ee437b MFH: r463542
Add missing requirement on LOGIN for rc script.

PR:		225857
Submitted by:	will@worrbase.com
Differential Revision:	https://reviews.freebsd.org/D14575

Approved by:	portmgr (implicit)
2018-03-03 23:34:04 +00:00
Jan Beich
30d30caa10 MFH: r463540
security/clamfs: unbreak with boost 1.65

PR:		220725
Submitted by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
Approved by:	maintainer timeout (7 months)
Approved by:	ports-secteam blanket
2018-03-03 23:13:26 +00:00
Jan Beich
eda02ba62f MFH: r463537
games/spring: unbreak with boost 1.65

PR:		220762
Submitted by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
Approved by:	maintainer timeout (3 months)
Approved by:	ports-secteam blanket
2018-03-03 22:42:24 +00:00
Cy Schubert
e9cff82c39 MFH: r463211
Flag FORBIDDEN instead of IGNORE due to possbile security issues.

Reported by:	mat
Approved by:	portmgr (riggs)
2018-03-03 20:06:50 +00:00
Cy Schubert
a55f251efb MFH: r463183
It appears as if the development branch of ntp is dead as no new
development tarballs have been relesed for ~ 17 months now. This is a
security concern.

Approved by:	portmgr (riggs)
2018-03-03 20:05:52 +00:00
Jan Beich
8d38ac1f25 MFH: r462941
gecko: convert to CONFIGURE_OUTSOURCE

client.mk is on its way out upstream, switching to it was a mistake.

$ MACH=1 gmake -f client.mk build
client.mk:40: /.mozconfig-client-mk: No such file or directory
gmake: *** No rule to make target '/.mozconfig-client-mk'.  Stop.

Approved by:	ports-secteam (riggs)
2018-03-03 20:04:09 +00:00
Thomas Zander
cc589ff95c MFH: r463487
Fix build on 11 and later with c++ compilers by default in c++11 mode

PR:		226213
Submitted by:	portmaster@bsdforge.com (maintainer)

Approved by:	ports-secteam (build fix blanket)
2018-03-03 15:39:06 +00:00
Jan Beich
077fdfe44a MFH: r463456
emulators/rpcs3: update to 0.0.5.34

Changes:	8d7620d95...ec0cd9f00
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-03-03 00:55:57 +00:00
Jan Beich
782fdc820b MFH: r463455
www/waterfox: apply some FF59 fixes

Approved by:	ports-secteam blanket
2018-03-03 00:55:06 +00:00
Larry Rosenman
492246435e MFH: r463407
security/clamav: upgrade to 0.99.4
Release notes: http://blog.clamav.net/2018/03/clamav-0994-has-been-released.html

Submitted by:	mmokhi
Security:	CVE-2012-6706
Security:	CVE-2017-6419
Security:	CVE-2017-11423
Security:	CVE-2018-1000085
Security:	CVE-2018-0202
Differential Revision:	https://reviews.freebsd.org/D14562

Approved by:	ports-secteam (zi)
2018-03-02 23:31:38 +00:00
Craig Leres
8c0351ee72 MFH: r461322
Update to 1.28 which fixes a buffer overflow (that will be)
documented in CVE-2017-17663.

Reviewed by:	matthew	(mentor)
Approved by:	matthew	(mentor)
Security:	f5524753-67b1-4c88-8114-29c2d258b383
Differential Revision:	https://reviews.freebsd.org/D14218

Approved by:	ports-secteam (feld)
2018-03-02 21:39:40 +00:00
Palle Girgensohn
401b2f1466 MFH: r458860 r463146
Update to version 1.6.3

Shibboleth SP software vulnerable to forged user attribute data
====================================================================
The Service Provider software relies on a generic XML parser to process
SAML responses and there are limitations in older versions of the parser
that make it impossible to fully disable Document Type Definition (DTD)
processing.

Through addition/manipulation of a DTD, it's possible to make changes
to an XML document that do not break a digital signature but are
mishandled by the SP and its libraries. These manipulations can alter
the user data passed through to applications behind the SP and result
in impersonation attacks and exposure of protected information.

While the use of XML Encryption can serve as a mitigation for this bug,
it may still be possible to construct attacks in such cases, and the SP
does not provide a means to enforce its use.

An updated version of XMLTooling-C (V1.6.3) is available that works
around this specific bug.

While newer versions of the parser are configured by the SP into
disallowing the use of a DTD via an environment variable, this feature
is not present in the parser used on some supported platforms (notably
Red Hat and CentOS 7), so an additional fix is being provided now that
an actual DTD exploit has been identified.

Security:	CVE-2018-0486

Shibboleth SP software vulnerable to additional data forgery flaws

The XML processing performed by the Service Provider software has been
found to be vulnerable to new flaws similar in nature to the one
addressed in an advisory last month.

Security:	22438240-1bd0-11e8-a2ec-6cc21735f730
URL:		https://shibboleth.net/community/advisories/secadv_20180227.txt

Approved by:	ports-secteam
2018-03-02 14:34:52 +00:00
Craig Leres
78e4ece060 MFH: r461924 r462351 r462460
Use USE_GITHUB instead of hand crafting urls.

Sponsored by:	Absolight

Add a NETMAP option to build and install the bro netmap plugin.

PR: 224918
Reported by: Shane Peters
Reviewed by: matthew (mentor)
Approved by: matthew (mentor)
Differential Revision: https://reviews.freebsd.org/D14378

Update to 2.5.3 which fixes an integer overflow:

    http://blog.bro.org/2018/02/bro-253-released-security-update.html

Note that a CVE has not been assigned yet.

Reviewed by:	matthew (mentor)
Approved by:	matthew (mentor)
Differential Revision:	https://reviews.freebsd.org/D14444

Approved by:	ports-secteam (swills)
2018-03-02 00:38:45 +00:00
Palle Girgensohn
3b76b8eb62 MFH: r463327
2018-03-01 Security Update Release

The PostgreSQL Global Development Group has released an update to all supported
versions of the PostgreSQL database system, including 10.3, 9.6.8, 9.5.12,
9.4.17, and 9.3.22.

The purpose of this release is to address CVE-2018-1058, which describes how a
user can create like-named objects in different schemas that can change the
behavior of other users' queries and cause unexpected or malicious behavior,
also known as a "trojan-horse" attack. Most of this release centers around added
documentation that describes the issue and how to take steps to mitigate the
impact on PostgreSQL databases.

We strongly encourage all of our users to please visit
https://wiki.postgresql.org/wiki/A_Guide_to_CVE-2018-1058:_Protect_Your_Search_Path
for a detailed explanation of CVE-2018-1058 and how to protect your PostgreSQL
installations.

After evaluating the documentation for CVE-2018-1058, a database administrator
may need to take follow up steps on their PostgreSQL installations to ensure
they are protected from exploitation.

Security:	CVE-2018-1058

Approved by:	portmgr
2018-03-01 16:01:45 +00:00
Larry Rosenman
d0e523d688 MFH: r463271
Update dovecot to 2.2.34, and bump pigeonhole.

 * CVE-2017-15130: TLS SNI config lookups may lead to excessive
   memory usage, causing imap-login/pop3-login VSZ limit to be reached
   and the process restarted. This happens only if Dovecot config has
   local_name { } or local { } configuration blocks and attacker uses
   randomly generated SNI servernames.
 * CVE-2017-14461: Parsing invalid email addresses may cause a crash or
   leak memory contents to attacker. For example, these memory contents
   might contain parts of an email from another user if the same imap
   process is reused for multiple users. First discovered by Aleksandar
   Nikolic of Cisco Talos. Independently also discovered by "flxflndy"
   via HackerOne.
 * CVE-2017-15132: Aborted SASL authentication leaks memory in login
   process.
 * Linux: Core dumping is no longer enabled by default via
   PR_SET_DUMPABLE, because this may allow attackers to bypass
   chroot/group restrictions. Found by cPanel Security Team. Nowadays
   core dumps can be safely enabled by using "sysctl -w
   fs.suid_dumpable=2". If the old behaviour is wanted, it can still be
   enabled by setting:
   import_environment=$import_environment PR_SET_DUMPABLE=1
 * doveconf output now includes the hostname.

 + mail_attachment_detection_options setting controls when
   $HasAttachment and $HasNoAttachment keywords are set for mails.
 + imap: Support fetching body snippets using FETCH (SNIPPET) or
   (SNIPPET (LAZY=FUZZY))
 + fs-compress: Automatically detect whether input is compressed or not.
   Prefix the compression algorithm with "maybe-" to enable the
   detection, for example: "compress:maybe-gz:6:..."
 + Added settings to change dovecot.index* files' optimization behavior.
   See https://wiki2.dovecot.org/IndexFiles#Settings
 + Auth cache can now utilize auth workers to do password hash
   verification by setting auth_cache_verify_password_with_worker=yes.
 + Added charset_alias plugin. See
   https://wiki2.dovecot.org/Plugins/CharsetAlias
 + imap_logout_format and pop3_logout_format settings now support all of
   the generic variables (e.g. %{rip}, %{session}, etc.)
 + Added auth_policy_check_before_auth, auth_policy_check_after_auth
   and auth_policy_report_after_auth settings.
 - v2.2.33: doveadm-server: Various fixes related to log handling.
 - v2.2.33: doveadm failed when trying to access UNIX socket that didn't
   require authentication.
 - v2.2.33: doveadm log reopen stopped working
 - v2.2.30+: IMAP stopped advertising SPECIAL-USE capability
 - v2.2.30+: IMAP stopped sending untagged OK/NO storage notifications
 - replication: dsync sends unnecessary replication notification for
   changes it does internally. NOTE: Folder creates, renames, deletes
   and subscribes still trigger unnecessary replication notifications,
   but these should be rather rare.
 - mail_always/never_cache_fields setting changes weren't applied for
   existing dovecot.index.cache files.
 - Fix compiling and other problems with OpenSSL v1.1
 - auth policy: With master user logins, lookup using login username.
 - FTS reindexed all mails unnecessarily after loss of
   dovecot.index.cache file
 - mdbox rebuild repeatedly fails with "missing map extension"
 - SSL connections may have been hanging with imapc or doveadm client.
 - cassandra: Using protocol v3 (Cassandra v2.1) caused memory leaks and
   also timestamps weren't set to queries.
 - fs-crypt silently ignored public/private keys specified in
   configuration (mail_crypt_global_public/private_key) and just
   emitted plaintext output.
 - lock_method=dotlock caused crashes
 - imapc: Reconnection may cause crashes and other errors

Security:	CVE-2017-14461
Security:	CVE-2017-15130
Security:	CVE-2017-15132

Approved by:	ports-secteam (delphij), adamw
2018-03-01 14:24:34 +00:00
Ben Woods
dbae1eda39 MFH: r463298
math/ogdf: unbreak build with Clang 6 (C++14 by default)

The bundled version of CoinMP required the same patches as those applied
to the port math/coinmp, so the patches were copied from there.

Submitted by:	jbeich (via commit r458136)
Reported by:	antoine (via bug 224669)

Approved by:	ports-secteam blanket
2018-03-01 12:13:05 +00:00
Jan Beich
0e1219b8fa MFH: r463268
emulators/rpcs3: update to 0.0.5.24

Changes:	b61a69c87...8d7620d95
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-02-28 22:25:01 +00:00
Jan Beich
9b8a3f4411 MFH: r463267
emulators/citra: update to s20180228

Changes:	e51a642a...ac626eda
Approved by:	ports-secteam (swills, implicit for snapshots)
2018-02-28 22:23:15 +00:00
Xin LI
27153140c0 MFH: r460670, r463181
Fix RIPENCC TRIMBLE driver compile error.

Security update 4.2.8p10 --> 4.2.8p11.

Approved by:	ports-secteam
2018-02-28 06:55:22 +00:00
Jan Beich
87c357fc7f MFH: r463051
multimedia/ffmpeg: update to 3.4.2

Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n3.4.2:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
Approved by:	ports-secteam (riggs)
2018-02-28 00:47:03 +00:00
Jochen Neumeister
b223fc680f MFH: r462992
www/drupal7: Update to 7.57

Changelog: https://www.drupal.org/SA-CORE-2018-001

CVE-2017-6926
CVE-2017-6927
CVE-2017-6928
CVE-2017-6929
CVE-2017-6930
CVE-2017-6931
CVE-2017-6932

Security:	57580fcc-1a61-11e8-97e0-00e04c1ea73d

Approved by:	ports-secteam (riggs)
2018-02-27 21:13:29 +00:00
Jan Beich
15fcd96801 MFH: r463103
games/openbor: update to 4615

Changes:	d73408f...11cd2c0
Approved by:	ports-secteam (feld, implicit for snapshots)
2018-02-27 00:27:30 +00:00
Jan Beich
bf0b73583e MFH: r463099
emulators/rpcs3: update to 0.0.5.4

Changes:	ede76033a...b61a69c87
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-02-26 23:18:50 +00:00
Jan Beich
518a09f5d5 MFH: r463037
www/waterfox: apply FF57 widget/ fixes

Approved by:	ports-secteam blanket
2018-02-26 18:57:17 +00:00
Palle Girgensohn
de00c35609 MFH: r458764 r460386 r461251 r461263
Convert to USES=autoreconf.

Fix ICU depend for postgresql10-server.

PR:		225049
Submitted by:	mat
Approved by:	maintainer timeout
Sponsored by:	Absolight

Update to latest versions of PostgreSQL

2018-02-08 Security Update Release
==================================

The PostgreSQL Global Development Group has released an update to all supported
versions of our database system, including 10.2, 9.6.7, 9.5.11, 9.4.16, 9.3.21.
This release fixes two security issues. This release also fixes issues with
VACUUM, GIN indexes, and hash indexes that could lead to data corruption, as
well as fixes for using parallel queries and logical replication.

All users using the affected versions of PostgreSQL should update as soon as
possible. Please see the notes on "Updating" below for any post-update steps
that may be required.

Please note that PostgreSQL changed its versioning scheme with the release of
version 10.0, so updating to version 10.2 from 10.0 or 10.1 is considered a
minor update.

Security Issues
---------------

Two security vulnerabilities have been fixed by this release:

* CVE-2018-1052: Fix the processing of partition keys containing multiple
expressions
* CVE-2018-1053: Ensure that all temporary files made with "pg_upgrade" are
non-world-readable

Local fixes to the FreeBSD ports
--------------------------------

Inform users about data checksums [1].
Make sure /usr/bin/su is used regardless of PATH settings [2].
Enable DTRACE by default [3].

PR:		214671 [1], 223157 [2], 215028 [3]
Security:	c602c791-0cf4-11e8-a2ec-6cc21735f730

Remove DTRACE from OPTIONS_DEFAULT, causes segmentation fault during build

Approved by:	portmgr
2018-02-26 10:00:34 +00:00
Steve Wills
719d7eaafb MFH: r460675
Unbreak the build against Clang 6.0.0 and respect CXXFLAGS.

PR:	225555

Approved by:	ports-secteam (implicit)
2018-02-26 05:19:32 +00:00
Thomas Zander
8556357bc3 MFH: r462969
Update to upstream version 0.20.18

Details from changelog, FreeBSD relevant bits:
- input
  - curl: allow authentication methods other than "Basic"
- decoder
  - flac: improve seeking precision
- fix gapless CUE song transitions

Approved by:	ports-secteam (riggs)
2018-02-25 17:44:18 +00:00
Danilo G. Baio
779f9c3577 MFH: r462146 r462744
Use BROKEN_SSL

Approved by:	portmgr (blanket)

www/squid: Fixes security vulnerabilities

Add patches to fix CVE's:
  CVE-2018-1000024
  CVE-2018-1000027

PR:		226139
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
Approved by:	timp87@gmail.com (maintainer)
Security:	d5b6d151-1887-11e8-94f7-9c5c8e75236a

Approved by:	ports-secteam (riggs)
2018-02-25 13:18:31 +00:00
Ben Woods
dc69365f2f MFH: r462766
sysutils/py-salt: Update to 2017.7.3

This is a bug fix release for the 2017.7.x branch. Changes this release:
  https://docs.saltstack.com/en/latest/topics/releases/2017.7.3.html

PR:		225983
Submitted by:	ohauer
Approved by:	Christer Edwards (maintainer)

Approved by:	ports-secteam (riggs)
2018-02-25 08:53:21 +00:00
Bryan Drewery
d1909d181a MFH: r462894
WITH_CCACHE_BUILD: Fix some ports not using proper CCACHE_DIR.

Some ports will truncate CCACHE_DIR from the env and due to HOME=${WRKDIR}
will incorrectly use ${WRKDIR}/.ccache.  Symlink to the proper place.

Approved by:	portmgr (implicit)
2018-02-25 03:32:41 +00:00
Bernard Spil
6024b8e462 MFH: r462802
databases/mariadb100-server: Fix build with OQGRAPH disabled

 - The cmake knob works OK

Approved by:	ports-secteam (fixit blanket)
2018-02-24 13:13:50 +00:00
Thomas Zander
05cd7b2d04 MFH: r462776
Fix ssh injection vulnerability from CVE-2017-12836

Details:
- Adopt patch from debian, documented in
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871810#10

PR:		226088
Submitted by:	fk@fabiankeil.de
Security:	CVE-2017-12836

Approved by:	ports-secteam (riggs)
2018-02-24 08:57:20 +00:00
Jan Beich
baf1d74ea7 MFH: r462758
emulators/citra: update to s20180222

Changes:	20f6cb1a...e51a642a
Approved by:	ports-secteam (swills, implicit for snapshots)
2018-02-24 00:53:37 +00:00
Jan Beich
14dbcf93bc MFH: r462757
emulators/rpcs3: update to 0.0.4.382

Changes:	cf1c45dfe...ede76033a
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-02-24 00:52:21 +00:00
Jan Beich
536d760d7a MFH: r462756
www/waterfox: apply some FF59 fixes

Approved by:	ports-secteam blanket
2018-02-24 00:51:34 +00:00
Danilo G. Baio
15c26371df MFH: r462698
www/squid-devel: Update to 4.0.23, Fixes security vulnerabilities

- Add a patch from upstream that fixes a problem when building on i386 arch

  Kid.cc:93:42: error: format specifies type 'long' but the argument has type
  'time_t' (aka 'int') [-Werror,-Wformat]
                 theName.termedBuf(), pid, Config.hopelessKidRevivalDelay);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1 error generated.

- Remove CXXFLAGS with clang, not necessary anymore

PR:		225447
Submitted by:	timp87@gmail.com (maintainer)
Security:	d5b6d151-1887-11e8-94f7-9c5c8e75236a

Approved by:	ports-secteam (swills)
2018-02-23 19:51:27 +00:00
Steve Wills
201a337f34 MFH: r459217 r459219 r459385
Update to 5.2.6.

Update to 5.2.6.

Fix emulators/virtualbox-ose-additions build with Clang 6.0.

Approved by:	ports-secteam (implicit)
2018-02-23 19:48:33 +00:00
Steve Wills
dda5bc8dea MFH: r459368
Fix a run-time crash with Clang 6.0.

Note this problem was introduced with fixes for JDK-8055007.

https://bugs.java.com/view_bug.do?bug_id=8055007
http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/changeset/c6211b707068

PR:		225054

Approved by:	ports-secteam (implicit)
2018-02-23 18:15:53 +00:00
Steve Wills
896a6d846c MFH: r459311
Fix build with Clang 6.0.

Note it is partially merged from the upstream patches for Linux and GCC 6.

https://bugs.openjdk.java.net/browse/JDK-8163032
http://hg.openjdk.java.net/jdk7u/jdk7u/hotspot/rev/e34324d73cd5
http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/9e1264f51bae

PR:		225054

Approved by:	ports-secteam (implicit)
2018-02-23 18:14:59 +00:00
Steve Wills
f155bc1929 MFH: r459883
Fix build with clang 6.

PR:		224828
Submitted by:	dim

Approved by:	ports-secteam (implicit)
2018-02-23 17:52:29 +00:00
Guido Falsi
b5d8649f38 MFH: r462582
Update asterisk13 to 13.19.2

Security:	933654ce-17b8-11e8-90b8-001999f8d30b
		f9f5c5a2-17b5-11e8-90b8-001999f8d30b

Approved by:	ports-secteam (swills)
2018-02-23 17:12:58 +00:00
Jan Beich
8747fe940c MFH: r462648
devel/hg-git: update to 0.8.10

Changes:	https://bitbucket.org/durin42/hg-git/branches/compare/0.8.10..0.8.9
PR:		225718
Submitted by:	np
Approved by:	maintainer timeout (2 weeks)
Approved by:	ports-secteam (swills)
2018-02-23 15:57:49 +00:00
Matthew Seaman
7ceae05269 MFH: r462566
Security update to 4.7.8

Advisory: https://www.phpmyadmin.net/security/PMASA-2018-1/
ChangeLog: https://www.phpmyadmin.net/files/4.7.8/

Security:	261ca31c-179f-11e8-b8b9-6805ca0b3d42

Approved by:	ports-secteam (implicit)
2018-02-23 14:11:11 +00:00
Jan Beich
dd32c90004 MFH: r462334
games/openra: update to 20180218

Changes:	https://github.com/OpenRA/OpenRA/wiki/Changelog#release-20180218
Approved by:	ports-secteam (zi)
2018-02-22 23:39:25 +00:00
Mark Felder
abe30e283f MFH: r462650
textproc/elasticsearch5: Use native facilites for manging the process

start/stop/status will behave correctly with procname set.

This now prevents Elastic from starting when a process is already
running, stops cleanly, and also handles multiple profiles correctly:
if only some of the profile processes are running, a "service
elasticsearch start" will only start the profiles that are not detected
as running already.

All of this comes with the caveat that Elastic is slow to start up and write
its pidfile, so if you are too quick it will allow duplicate processes
to start. Here be JVM dragons.

Approved by:	portmgr (with hat)
2018-02-22 23:04:18 +00:00
Florian Smeets
696d4fd2b4 MFH: r461609
Update to 5.5.59-38.11

PR:		225587
Submitted by:	Sergey Akhmatov <sergey@akhmatov.ru>
Security:	e3445736-fd01-11e7-ac58-b499baebfeaf

Approved by:	ports-secteam (riggs)
2018-02-22 22:32:05 +00:00
Jan Beich
9f378fd6d4 MFH: r462635
www/waterfox: update to 56.0.4.20

- Apply some FF59 fixes

Changes:	https://github.com/MrAlex94/Waterfox/compare/56.0.4...e03e284b083d
Security:	HPKP/HSTS
Approved by:	ports-secteam blanket
2018-02-22 19:52:08 +00:00
Mark Felder
e4f423fe2a MFH: r462590
textproc/elasticsearch5: rc script improvement

- Fix behavior with multiple profiles
- Correctly handle the individual config dirs
- Prevent thundering herd at shutdown by using wait_for_pids

Approved by:	maintainer
2018-02-22 14:14:17 +00:00
Sunpoet Po-Chuan Hsieh
9dcd6e2a1e MFH: r461917
Fix build with OpenSSL 1.1.0 (security/openssl-devel)

- Remove BROKEN_SSL=openssl-devel

Reference:	https://bugs.python.org/issue30622
		b2d096bd2a
		af64aff9f7
PR:		225870
Submitted by:	brnrd

Approved by:	ports-secteam (blanket)
2018-02-22 12:19:56 +00:00
Jan Beich
35b25c4773 MFH: r462558
www/waterfox: unbreak after r462554

In file included from objdir/gfx/layers/Unified_cpp_gfx_layers7.cpp:11:
gfx/layers/composite/TextureHost.cpp:287:82: error: no
      member named 'yStride' in 'mozilla::layers::YCbCrDescriptor'
                ImageDataSerializer::ComputeYCbCrBufferSize(ycbcr.ySize(), ycbcr.yStride(),
                                                                           ~~~~~ ^
gfx/layers/composite/TextureHost.cpp:288:85: error: no
      member named 'cbCrStride' in 'mozilla::layers::YCbCrDescriptor'; did you mean 'cbCrSize'?
                                                            ycbcr.cbCrSize(), ycbcr.cbCrStride());
                                                                                    ^~~~~~~~~~
                                                                                    cbCrSize
Point hat to:	jbeich (last minute fix)
Approved by:	ports-secteam blanket
2018-02-22 03:00:30 +00:00
Jan Beich
3d8e9f3fe5 MFH: r462552
games/openbor: update to 4604

Changes:	ab066c1...d73408f
Approved by:	ports-secteam (feld, implicit for snapshots)
2018-02-22 01:01:50 +00:00
Jan Beich
1c4ec9673a MFH: r462554
www/waterfox: apply some FF59 fixes

Approved by:	ports-secteam blanket
2018-02-22 01:01:03 +00:00
Jan Beich
373dce3a99 MFH: r462553
emulators/rpcs3: update to 0.0.4.379

Changes:	d5b9eb0ca...cf1c45dfe
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-02-22 01:00:22 +00:00
Rene Ladan
6739211eeb MFH: r462416
www/chromium: update to 63.0.3239.132

Submitted by:	cpm
Obtained from:	https://github.com/cpu82/freebsd-chromium
Security:	https://vuxml.freebsd.org/freebsd/e264e74e-ffe0-11e7-8b91-e8e0b747a45a.html
Security:	https://vuxml.freebsd.org/freebsd/1d951e85-ffdb-11e7-8b91-e8e0b747a45a.html
Security:	https://vuxml.freebsd.org/freebsd/82894193-ffd4-11e7-8b91-e8e0b747a45a.html
Security:	https://vuxml.freebsd.org/freebsd/f8e72cd4-c66a-11e7-bb17-e8e0b747a45a.html
Security:	https://vuxml.freebsd.org/freebsd/3cd46257-bbc5-11e7-a3bc-e8e0b747a45a.html
Security:	https://vuxml.freebsd.org/freebsd/a692bffe-b6ad-11e7-a1c2-e8e0b747a45a.html

Approved by:	ports-secteam (zi)
2018-02-21 20:53:44 +00:00
Kurt Jaeger
247df4664a MFH: r462370
net/quagga: upgrade 1.2.3 -> 1.2.4, fix ospfd crash

- ospfd crashed in 1.2.3, this update fixes that crash

Relnotes:	https://github.com/GNOME/evince/blob/master/NEWS
Approved by:	portmgr (riggs)
2018-02-20 07:02:00 +00:00
Jan Beich
90a064b834 MFH: r462357
games/openbor: update to 4601

Changes:	35968d0...ab066c1
Approved by:	ports-secteam (feld, implicit for snapshots)
2018-02-20 00:18:30 +00:00
Jan Beich
a552fb0b1c MFH: r462359
emulators/rpcs3: update to 0.0.4.371

Changes:	877b296fc...d5b9eb0ca
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-02-20 00:17:38 +00:00
Jan Beich
f3cc1bf3eb MFH: r462360
emulators/citra: update to s20180219

Changes:	775fb388...20f6cb1a
Approved by:	ports-secteam (swills, implicit for snapshots)
2018-02-20 00:16:54 +00:00
Jan Beich
6b3dffd98e MFH: r462361
www/waterfox: apply more FF59 fixes

Approved by:	ports-secteam blanket
2018-02-20 00:12:37 +00:00
Danilo G. Baio
324064cc7e MFH: r460549 r462311
Update irc/irssi to 1.1.0

PR:		225196
Submitted by:	David O'Rourke <dor.bsd@xm0.uk>

irc/irssi: Update to 1.1.1, Fixes multiple vulnerabilities

Changes:	https://irssi.org/NEWS/#v1-1-1

PR:		226001
Submitted by:	David O'Rourke <dor.bsd@xm0.uk> (maintainer)
Reported by:	tj@mrsk.me (email)
Security:	7afc5e56-156d-11e8-95f2-005056925db4

Approved by:	ports-secteam (swills)
2018-02-19 20:45:57 +00:00
Sunpoet Po-Chuan Hsieh
2459d624f0 MFH: r462294
Mark BROKEN_armv6 and BROKEN_armv7

BROKEN_armv6 was removed in r444870 by accident.
And Mark Linimon mentioned same error on armv7.

Notified by:	linimon
Reference:	http://beefy8.nyi.freebsd.org/data/head-armv6-default/p461852_s329284/logs/errors/bash-completion-2.7,1.log

Approved by:	ports-secteam (blanket)
2018-02-19 10:43:02 +00:00
Sunpoet Po-Chuan Hsieh
d77ab4919e MFH: r462245
Fix permission of node-gyp

- Bump PORTREVISION for package change

PR:		225562
Submitted by:	bhughes

Approved by:	ports-secteam (riggs)
2018-02-19 10:03:54 +00:00
Jason E. Hale
731dafa58b MFH: r461940
Update to 0.18.7

Changes:	https://www.libraw.org/download#changelog
Security:	c60804f1-126f-11e8-8b5b-4ccc6adda413
Security:	6f0b0cbf-1274-11e8-8b5b-4ccc6adda413

Approved by:	ports-secteam (riggs)
2018-02-18 16:25:53 +00:00
Antoine Brodin
2ef21dd0b0 MFH: r462211
Mark BROKEN: fails to package

Reported by:	pkg-fallout
2018-02-18 09:35:41 +00:00
Antoine Brodin
f7a4e2cd85 Revert r462163, it depends on some ports that do not exist in 2018Q1
With hat:	portmgr
2018-02-18 07:51:59 +00:00
Tobias Kortkamp
bd11d5a5ba MFH: r462164
games/ags: Update to 3.4.1.12

Changes:	https://raw.githubusercontent.com/adventuregamestudio/ags/v.3.4.1.12/Changes.txt

Approved by:	ports-secteam (riggs)
2018-02-17 20:33:14 +00:00
Tobias Kortkamp
7d2a255163 MFH: r462161
games/moonlight-embedded: Update to 2.4.6

- Adds support for GFE >= 3.12

Changes:	https://github.com/irtimmer/moonlight-embedded/compare/v2.4.4...v2.4.6

Approved by:	ports-secteam (riggs)
2018-02-17 20:32:17 +00:00
Yuri Victorovich
ce96f5756d MFH: r461759
sysutils/bchunk: Update to 1.2.2

Changelog is in:
http://he.fi/bchunk/

freebsd_ports@k-worx.org took maintainership

Additional port changes:
* Changed to DISTVERSION
* Added LICENSE/LICENSE_FILE
* Silenced do-build

PR:		225772
Submitted by:	owk <freebsd_ports@k-worx.org>
Approved by:	tcberner (mentor, implicit)
Approved by:	ports-secteam
Security:	CVE-2017-15953, CVE-2017-15954, CVE-2017-15955
2018-02-17 20:25:49 +00:00
Sunpoet Po-Chuan Hsieh
d5f12df45b MFH: r462175
Fix build with CURL_DEBUG enabled

lib/checksrc.pl is run when CURL_DEBUG is enabled.
The build failed due to the long line in patched lib/url.c.

./url.c:593:82: warning: Longer than 79 columns (LONGLINE)
       data->set.no_signal = TRUE; /* different handling of signals and threads */
checksrc: 0 errors and 1 warnings
checksrc: 0 errors and 5 warnings suppressed
gmake[3]: *** [Makefile:3935: checksrc] Error 5

Approved by:	ports-secteam (blanket)
2018-02-17 17:55:43 +00:00
Sunpoet Po-Chuan Hsieh
b289fcb8ad MFH: r462168
Fix build with Clang 6

Approved by:	ports-secteam (blanket)
2018-02-17 16:56:05 +00:00
Sunpoet Po-Chuan Hsieh
80993c79fc MFH: r462167
Fix build with Clang 6

Approved by:	ports-secteam (blanket)
2018-02-17 16:46:43 +00:00
Yuri Victorovich
581b88ed9b MFH: r461843
net-p2p/bitmessage: Update to 0.6.3.2; Fixes security vulnerability

Additional port changes:
* Changed to DISTVERSION
* Updated MAINTAINER
* Added to RUN_DEPENDS
* Moved lines to USExx section
* Added USE_PYTHON=noflavors
* Deleted the patch (not applicable any more)

Testing:
* Ran the app, it seems to work properly.

0.6.3.2 fixes the security vulnerability described here:
https://github.com/Bitmessage/PyBitmessage/releases/tag/v0.6.3
CVE is not available.

Approved by:	ports-secteam, tcberner (mentor, implicit)
2018-02-17 14:22:50 +00:00
Thomas Zander
8481bda3e5 MFH: r462155
Update to upstream version 0.20.17

Details:
- Fixes a crash when playing multi-channel-audio via alsa
- Changelog
  https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.20.17/NEWS

Approved by:	ports-secteam (riggs)
2018-02-17 13:37:00 +00:00
Olli Hauer
f479178bc1 MFH: r462091
- update to 5.0.4
- remove p5-File-Slurp dependency (see Bugzilla/Install/Requirements.pm)

Security:       CVE-2018-5123
Security:       vid: 22283b8c-13c5-11e8-a861-20cf30e32f6d

Approved by:	portmgr blanket
2018-02-17 11:45:48 +00:00
Olli Hauer
7dbd01c560 MFH: r462090
- update to 4.4.13

Security:	CVE-2018-5123
Security:	vid: 22283b8c-13c5-11e8-a861-20cf30e32f6d

Approved by:	portmgr blanket
2018-02-17 11:44:30 +00:00
Bernard Spil
3670a1e45a databases/mariadb102-server: Fix broken commit in 2018Q1
- Missing intermediate commits merged

PR:             225963
Reported by:    <rainer ultra-secure de>

Approved by:	portmgr (fixit blanket)
2018-02-17 09:45:15 +00:00
Kurt Jaeger
2b4e59d302 MFH: r462055
net/quagga: fix build if SNMP is not selected

- configure script tries to detect net-snmp even if not requested,
  but fails, if net-snmp is not installed.

Reported by:	antoine, garga
Approved by:	portmgr (antoine)
2018-02-17 08:58:54 +00:00
Jan Beich
8b8ad201c4 MFH: r462074
emulators/rpcs3: update to 0.0.4.365

Changes:	95c6ac699...877b296fc
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-02-16 23:43:25 +00:00
Jan Beich
5f0be0ba0a MFH: r462073
emulators/citra: unbreak in C++17 mode

Approved by:	ports-secteam blanket
2018-02-16 23:41:55 +00:00
Matthias Andree
a17deef0b5 MFH: r462068
Remove dead link from pkg-message.

PR:		225925
Submitted by:	Yasuhito FUTATSUKI

Approved by:	ports-secteam (blanket)
2018-02-16 23:24:29 +00:00
Sunpoet Po-Chuan Hsieh
b8d6c89102 MFH: r462044
Clean up ARCH statement

PR:		223985
Submitted by:	linimon

Approved by:	ports-secteam (blanket)
2018-02-16 17:14:39 +00:00
Vsevolod Stakhov
8737a0f076 MFH: r461691
- Update to 2.0.16

PR:		225858
Submitted by:	maintainer
Security:	a8f25565-109e-11e8-8d41-97657151f8c2

Approved by:	ports-secteam (riggs)
2018-02-16 14:00:26 +00:00
Kurt Jaeger
df0a413165 MFH: r461952
net/quagga: update 1.2.2 -> 1.2.3

- doc/security: Security announcements for 4 issues
- doc/security: Add a doc/security folder and template for announcements
- doc: Add commit message template, suitable for commit.template
- bgpd: remove stream_pnt use for notify data
- lib/privs: Remove of CAP_NET_BROADCAST forgot to decrement array count
- bgpd/security: debug print of received NOTIFY data can over-read msg array
- bgpd/security: fix infinite loop on certain invalid OPEN messages
- bgpd/security: Fix double free of unknown attribute
- bgpd/security: invalid attr length sends NOTIFY with data overrun
- zebra/redistribute: Implicit withdraw needs to be explicit if
  update isn't sent
- doc: 'match aspath' should be 'match as-path'
- bgpd: fix SIGBUS
- bgpd: Fix mistake in NHT of connected IPv6 next-hops preventing
  route advertisements
- Updated the protocol supported list
- lib/command: make config file robust more robust and kinder to system
- doc: Bring documentation on Zserv header up to date.
- bgpd: distance comment
- doc: Fix small but important logical mistake in community-list example
- doc: document that changing bgp distance needs a hard clear of routes
- bgpd: malformed attribute handling: don't pass on, and add missing notify
- lib/filter: change add/delete callback hooks to robustly delete
- Revert "lib: Fix Free Pointer dereference in lib/filter.c"
- infra/buildbot: allow bots to be picked out by installed compiler.
- infra/buildbot: Add bots, add JSON "env" config variable, poll
  all git branches
- lib: ptr macro arg may need brackets in some cases
- distro/systemd: add man page ref and set config file permissions
- doc: Fix manpage number for ospfclient.
- vtysh: Fix spelling errors in strings flagged by lintian.
- doc: Tweak grammar in zebra manpage to keep lintian happy.
- vtysh: print error if PAM auth does not succeed
- lib/thread: get rid of the shallow-copy thread_fetch add a sane thread_main
- buildbot/master: use a helper generator for make cmd string list
- buildbot/master: fix the common steps
- buildbot/master: Add OBSD bot, and support for environment variable config
- build: AC_EGREPP_CPP actions wrong way around, worked by accident mostly.
- build: Work around illumos still shipping

Security:	CVE-2018-5378, https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-0543.txt
		CVE-2018-5379, https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-1114.txt
		CVE-2018-5380, https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-1550.txt
		CVE-2018-5381, https://gogs.quagga.net/Quagga/quagga/src/master/doc/security/Quagga-2018-1975.txt
Approved by:	portmgr (swills)
2018-02-16 05:37:11 +00:00
Steve Wills
9101ca1ec0 MFH: r459902 r461973
sysutils/consul: update to 1.0.3

sysutils/consul: update to 1.0.6

Security:	ad2eeab6-ca68-4f06-9325-1937b237df60

Approved by:	ports-secteam (implicit)
2018-02-16 03:43:45 +00:00
Carlos J. Puga Medina
9e26683de7 MFH: r461945
multimedia/mpv: Update to 0.27.2

This release contains an additional fix for CVE-2018-6360

Security:	https://vuxml.freebsd.org/freebsd/3ee6e521-0d32-11e8-99b0-d017c2987f9a.html

Approved by:	ports-secteam (swills)
2018-02-15 23:28:55 +00:00
Guido Falsi
bafc79cfbf MFH: r458800 r461819
- Update net/asterisk13 to 13.19.0
- Move MASTER_SITES and WWW to https
- Add missing dependencies reported by stage-qa

Update asterisk13 to 13.19.1

Fixes a memory leak in the CDR functionality.

Approved by:	ports-secteam (riggs)
2018-02-15 22:31:49 +00:00
Bernard Spil
eaf07c13dc MFH: r461733
databases/mariadb102-server: Security update to 10.2.13

 - Unbreak OQGraph engine [1]
        (collision in setbit with sys/param.h)

PR:             224089 [1]
Reported by:	jbeich
Security:	e3445736-fd01-11e7-ac58-b499baebfeaf

Approved by:	ports-secteam (riggs)
2018-02-15 16:52:21 +00:00
Sunpoet Po-Chuan Hsieh
f703771916 MFH: r461916
Fix build on FreeBSD 10

PR:		225785
Submitted by:	lbartoletti <lbartoletti@tuxfamily.org>

Approved by:	ports-secteam (blanket)
2018-02-15 12:52:12 +00:00
Jan Beich
2059b0c4d6 MFH: r461855
www/waterfox: remove incompatible FF57 fix after r461852

error[E0609]: no field `for_non_inherited_property` on type `&mut values::computed::Context<'_>`
     --> objdir/toolkit/library/i686-unknown-freebsd/release/build/style-ca3e0643edd5022b/out/properties.rs:79382:25
      |
79382 |                 context.for_non_inherited_property =
      |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^

Reported by:	pkg-fallout
Pointy hat to:	jbeich (forgot to svn rm)
Approved by:	ports-secteam blanket
2018-02-15 01:58:44 +00:00
Jan Beich
37f3525f6e MFH: r461852
www/waterfox: apply FF59 fixes

Approved by:	ports-secteam blanket
2018-02-15 01:00:53 +00:00
Jan Beich
cb39ea57ae MFH: r461851
emulators/citra: update to s20180214

Changes:	3c03da12...775fb388
Approved by:	ports-secteam (swills, implicit for snapshots)
2018-02-15 01:00:27 +00:00
Steve Wills
b6f74133b6 MFH: r457944 r458120 r458593 r459040 r459636 r460388 r461034 r461682 r461826
- Update to 2.99

- Update to 2.100

- Update to 2.101

- Update to 2.102

- Update to 2.103

- Update to 2.104

- Update to 2.105

- Update to 2.106

devel/jenkins: update to 2.107

Approved by:	lwhsu (maintainer, implicit)
Security:	5d374fbb-bae3-45db-afc0-795684ac7353

Approved by:	ports-secteam (implicit)
2018-02-14 17:59:57 +00:00
Steve Wills
797ac6c198 MFH: r459526 r461824
devel/jenkins-lts: update to 2.89.3

devel/jenkins-lts: update to 2.89.4

Security:	5d374fbb-bae3-45db-afc0-795684ac7353

Approved by:	ports-secteam (implicit)
2018-02-14 17:57:04 +00:00
Jochen Neumeister
6d01583792 MFH: r461533
net/rsync: Update to 3.1.3

Changelog:
 SECURITY FIXES:
    - Fixed a buffer overrun in the protocol's handling of xattr names and
      ensure that the received name is null terminated.
    - Fix an issue with --protect-args where the user could specify the arg in
      the protected-arg list and short-circuit some of the arg-sanitizing code.

  BUG FIXES:
    - Don't output about a new backup dir without appropriate info verbosity.
    - Fixed some issues with the sort functions in support/rsyncstats script.
    - Added a way to specify daemon config lists (e.g. users, groups, etc) that
      contain spaces (see "auth users" in the latest rsyncd.conf manpage).
    - If a backup fails (e.g. full disk) rsync exits with an error.
    - Fixed a problem with a doubled --fuzzy option combined with --link-dest.
    - Avoid invalid output in the summary if either the start or end time had
      an error.
    - We don't allow a popt alias to affect the --daemon or --server options.
    - Fix daemon exclude code to disallow attribute changes in addition to
      disallowing transfers.
    - Don't force nanoseconds to match if a non-transferred, non-checksummed
      file only passed the quick-check w/o comparing nanosecods.

  ENHANCEMENTS:
    - Added the ability for rsync to compare nanosecond times in its file-check
      comparisons, and added support nanosecond times on Mac OS X.
    - Added a short-option (-@) for --modify-window.
    - Added the --checksum-choice=NAME[,NAME] option to choose the checksum
      algorithms.
    - Added hashing of xattr names (with using -X) to improve the handling of
      files with large numbers of xattrs.
    - Added a way to filter xattr names using include/exclude/filter rules (see
      the --xattrs option in the manpage for details).
    - Added "daemon chroot|uid|gid" to the daemon config (in addition to the
      old chroot|uid|gid settings that affect the daemon's transfer process).
    - Added "syslog tag" to the daemon configuration.
    - Some manpage improvements.

 DEVELOPER RELATED:
    - Tweak the "make" output when yodl isn't around to create the man pages.
    - Changed an obsolete autoconf compile macro.
    - Support newer yodl versions when converting man pages.

remove needless patch

*While here switch to DISTVERSION

PR:		225761
Reported by:	 os@ist.ac.at
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D14324

Approved by:	ports-secteam (riggs)
2018-02-13 19:30:01 +00:00
Jan Beich
687bed16cb MFH: r457772 r458707 r459896 r460359 r460761 r461032 r461678
games/openbor: update to 4591

Changes:	9b1c39b...35968d0
Approved by:	ports-secteam (feld, implicit for snapshots)
2018-02-13 00:59:28 +00:00
Jan Beich
8f4082cd32 MFH: r461677
emulators/rpcs3: update to 0.0.4.347

Changes:	cce0ad0c3...95c6ac699
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-02-13 00:53:05 +00:00
Carlos J. Puga Medina
8858d6c28c MFH: r461531
multimedia/mpv: Update to 0.27.1

Changelog: https://github.com/mpv-player/mpv/releases/tag/v0.27.1

Security:	https://vuxml.freebsd.org/freebsd/3ee6e521-0d32-11e8-99b0-d017c2987f9a.html

Approved by:	ports-secteam (riggs)
2018-02-12 22:55:02 +00:00
Bernard Spil
7113b56539 MFH: r461610
databases/mariadb100-server: Security update to 10.0.34

Security:	e3445736-fd01-11e7-ac58-b499baebfeaf

Approved by:	ports-secteam (riggs)
2018-02-12 22:03:18 +00:00
Bernard Spil
79a553b874 MFH: r461590
databases/mariadb101-server: Security update to 10.1.31

PR:		225758
Reported by:	Pascal Christen <pascal christen hostpoint.ch>
Security:	e3445736-fd01-11e7-ac58-b499baebfeaf

Approved by:	ports-secteam (riggs)
2018-02-12 21:53:04 +00:00
Ruslan Makhmatkhanov
ec686f0a36 MFH: r461521
multimedia/gtk-recordmydesktop: fix runtime

- fix runtime by correcting shebang line
- set LICENSE_FILE
- set NO_ARCH since this package does not contain platform dependent files
- seitch to USES=localbase and correct requred python version
- bump PORTREVISION to reflect package changes

PR:		220800
Reported by:	timp87@gmail.com
Approved by:	portmgr (riggs)
2018-02-12 20:14:02 +00:00
Sunpoet Po-Chuan Hsieh
b5dca6752d MFH: r461514
Update to 3.5.5

- Update Makefile and PLIST to be similar with python36
- Sort USES
- Remove CPE_*: all of them are default values
- Update PLIST_FILES: do not use %%
- Remove over-patched shebang fix of Lib/cgi.py
- Update http:// links in Makefile comments and patch files

Changes:	https://docs.python.org/3.5/whatsnew/changelog.html
Security:	0fe70bcd-2ce3-46c9-a64b-4a7da097db07

Approved by:	ports-secteam (riggs)
2018-02-12 15:42:58 +00:00
Sunpoet Po-Chuan Hsieh
f10e8bdd15 MFH: r461513
Update to 3.4.8

- Set PORTNAME to python and add PKGNAMESUFFIX
- Update Makefile and PLIST to be similar with python36
- Sort USES
- Remove CPE_*: all of them are default values
- Update PLIST_FILES: do not use %%
- Fix shebang:
  - Update SHEBANG_FILES
  - Remove over-patched shebang fix of Lib/cgi.py
- Update http:// links in Makefile comments and patch files

Changes:	https://docs.python.org/3.4/whatsnew/changelog.html
Security:	0fe70bcd-2ce3-46c9-a64b-4a7da097db07

Approved by:	ports-secteam (riggs)
2018-02-12 15:41:07 +00:00
Danilo G. Baio
eef1b1eceb MFH: r461445
dns/dnscrypt-proxy: Update MASTER_SITES and WWW

Domain dnscrypt.org is gone. [1]

1 - https://github.com/jedisct1/dnscrypt-proxy/issues/89

Reported by:	tj@mrsk.me (via email)
Approved by:	portmgr (blanket)

Approved by:	ports-secteam (delphij)
2018-02-12 12:17:00 +00:00
Sunpoet Po-Chuan Hsieh
eb19a05ede MFH: r461501
Fix build with Clang 6

Approved by:	ports-secteam (blanket)
2018-02-11 15:33:42 +00:00
Vsevolod Stakhov
6407fca748 MFH: r461414
- Update to 4.90.1

Security:	316b3c3e-0e98-11e8-8d41-97657151f8c2

Approved by:	ports-secteam (delphij)
2018-02-11 09:41:17 +00:00
Jan Beich
c3f7afd31c MFH: r461466
graphics/colmap: unbreak OPENMP=off after r446135

src/ext/PBA/SparseBundleCPU.cpp:1208:7: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'int' in initializer list [-Wc++11-narrowing]
      RUN_THREAD(ComputeProjection, threads[i], last - first, camera, point,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ext/PBA/SparseBundleCPU.cpp:933:3: note: expanded from macro 'RUN_THREAD'
  DECLEAR_THREAD_DATA(X, __VA_ARGS__); \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ext/PBA/SparseBundleCPU.cpp:908:30: note: expanded from macro 'DECLEAR_THREAD_DATA'
  X##_STRUCT<Float> tdata = {i, __VA_ARGS__}; \
                             ^
src/ext/PBA/SparseBundleCPU.cpp:1537:68: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'int' in initializer list [-Wc++11-narrowing]
                 intrinsic_fixed, radial_distortion, shuffle, jct, first);
                                                                   ^~~~~
src/ext/PBA/SparseBundleCPU.cpp:933:26: note: expanded from macro 'RUN_THREAD'
  DECLEAR_THREAD_DATA(X, __VA_ARGS__); \
                         ^~~~~~~~~~~
src/ext/PBA/SparseBundleCPU.cpp:908:33: note: expanded from macro 'DECLEAR_THREAD_DATA'
  X##_STRUCT<Float> tdata = {i, __VA_ARGS__}; \
                                ^~~~~~~~~~~
src/ext/PBA/SparseBundleCPU.cpp:1537:68: note: insert an explicit cast to silence this issue
                 intrinsic_fixed, radial_distortion, shuffle, jct, first);
                                                                   ^~~~~
                                                                   static_cast<int>(

Approved by:	ports-secteam blanket
2018-02-11 08:21:30 +00:00
Danilo G. Baio
749baed80d MFH: r461437
net-p2p/libtorrent: Fix remote DoS

Calls into build_benocde that use %zu could crash on 64 bit machines
due to the size change of size_t.
Someone can force READ_ENC_IA to fail allowing an internal_error to
be thrown and bring down the client, throw handshake_error instead.

PR:		224664
Submitted by:	Henry David Bartholomew <PopularMoment@protonmail.com>
Approved by:	maintainer timeout (pipfstarrd@openmailbox.org, > 2 weeks)
Security:	e4dd787e-0ea9-11e8-95f2-005056925db4

Approved by:	ports-secteam (eadler)
2018-02-10 23:15:47 +00:00
Tobias Kortkamp
3aa708f161 MFH: r461415
devel/libftdi: Fix build without PYTHON after r451798

BINARY_ALIAS is set unconditionally but swig3.0 is only available with
PYTHON=on and create-binary-alias will fail when it is missing.

PR:		225524
Reported by:	johan@stromnet.se

Approved by:	ports-secteam blanket
2018-02-10 19:55:27 +00:00
Jan Beich
b693797942 MFH: r461352
emulators/citra: update to s20180208

Changes:	587450cd...3c03da12
Approved by:	ports-secteam (swills, implicit for snapshots)
2018-02-10 00:44:42 +00:00
Jan Beich
08e421164a MFH: r461351
emulators/rpcs3: update to 0.0.4.337

Changes:	5b5f2d424...cce0ad0c3
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-02-10 00:43:18 +00:00
Jan Beich
5088bf5d9c MFH: r461350
www/waterfox: apply more FF57 fixes

Approved by:	ports-secteam blanket
2018-02-10 00:42:01 +00:00
Steve Wills
16f18608e0 MFH: r458505 r459812 r459905
devel/gitlab-runner: update to 10.3.0

devel/gitlab-runner: fix fetch

devel/gitlab-runner: update to 10.4.0

Approved by:	ports-secteam (implicit)
2018-02-08 15:20:43 +00:00
Jan Beich
451a0ca76b MFH: r461193
www/waterfox: apply some FF57/FF59 fixes

Approved by:	ports-secteam blanket
2018-02-08 00:59:50 +00:00
Jan Beich
8fc915616f MFH: r461174
www/firefox: update to 58.0.2

Changes:	https://www.mozilla.org/firefox/58.0.2/releasenotes/
PR:		223425
Approved by:	ports-secteam blanket
2018-02-07 19:34:49 +00:00
Johannes M Dieterich
a3a1bf7ff5 MFH: r457940 r459134
devel/flang: Update to a later development snapshot.

Contains various improvements and fixes over the last two months.

Reported by:	Rainer Hurling <rhurlin@gwdg.de>
Reviewed by:	swills (mentor)
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D13727

devel/flang-clang: Update to a new snapshot and fix pkg-plist to match the recent upgrade of LLVM 5.0.0 to 5.0.1. Update requires patch to remove -ldl.

devel/flang: Bump PORTREVISION to force recompilation after the above companion compiler update.

PR:		225174 (for the LLVM 5.0.1)
Approved by:	swills (mentor, implicit)

Approved by:	ports-secteam
2018-02-07 19:27:48 +00:00
Mark Felder
339007b319 MFH: r461119
www/palemoon: Update LICENSE_PERMS

Upstream forbids distribution of this package with their branding unless
we are able to fully comply with the requirements of building against
all of the libraries in their tree. This is untenable so we will block
distribution for now and work on disabling branding.

PR:		225717
2018-02-06 23:58:03 +00:00
Jung-uk Kim
f9fa900942 MFH: r461109
Update to 28.0.0.161.

https://helpx.adobe.com/security/products/flash-player/apsb18-03.html

Approved by:	ports-secteam (blanket)
2018-02-06 21:26:03 +00:00
Bryan Drewery
92b8bdeb23 MFH: r461107
Remove blank CATEGORIES which yields a leading space ' www'.

Approved by:	portmgr (implicit)
2018-02-06 21:06:19 +00:00
Bryan Drewery
982c377dd0 MFH: r461103
Remove leading newline to FLAVORS.

Approved by:	portmgr (implicit)
2018-02-06 20:49:33 +00:00
Sunpoet Po-Chuan Hsieh
14cfb7d6d6 MFH: r461078
Fix build with Clang 6

Approved by:	ports-secteam (blanket)
2018-02-06 17:36:35 +00:00
Jan Beich
1b3f2d46df MFH: r460762 r461029
emulators/rpcs3: update to 0.0.4.321

Changes:	70fe0cc22...5b5f2d424
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-02-06 00:49:12 +00:00
Jan Beich
95d1baf169 MFH: r461028
emulators/citra: update to s20180203

Changes:	dca5fd29...587450cd
Approved by:	ports-secteam (swills, implicit for snapshots)
2018-02-06 00:46:58 +00:00
Jan Beich
a78e81243d MFH: r461026
www/waterfox: apply more FF57 fixes

Approved by:	ports-secteam blanket
2018-02-05 23:49:18 +00:00
Jan Beich
724999648f MFH: r460989
www/seamonkey: switch 2.49.2

Changes:	http://www.seamonkey-project.org/news
Security:	f78eac48-c3d1-4666-8de5-63ceea25a578
Security:	b7e23050-2d5d-4e61-9b48-62e89db222ca
Security:	a891c5b4-3d7a-4de9-9c71-eef3fd698c77
Approved by:	ports-secteam blanket
2018-02-05 23:43:48 +00:00
Thomas Zander
50f9420aa1 MFH: r460936
Update to upstream release 0.20.16

Details:
- Bugfix release which includes fixes for crashes
  with pulseaudio and on debug builds
- Changelog on
  https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.20.16/NEWS

Approved by:	ports-secteam (swills)
2018-02-05 20:10:12 +00:00
Yuri Victorovich
8258f35488 MFH: r460962
net/shadowsocks-libev: Update to 3.1.3

Summary of change logs:
* shadowsocks-libev (3.1.3-1)
  * Fix a bug in UDP relay.
* shadowsocks-libev (3.1.2-1)
  * Fix a bug in DNS resolver.
  * Add new TFO API support.
* shadowsocks-libev (3.1.1-1)
  * Fix a security issue in ss-manager. (CVE-2017-15924)

Additional port changes:
* Added LICENSE_FILE
* Sorted GH_TUPLE
* Changed static library to shared library
* Added USE_LDCONFIG
* Added INSTALL_TARGET=install-strip
* Added optional shell completion files for BASH and ZSH

PR:		225442
Submitted by:	csosstudy@gmail.com (PORTVERSION line), myself (the rest)
Approved by:	ports-secteam (swills), adamw (mentor)
Differential Revision:	https://reviews.freebsd.org/D14200
2018-02-05 18:26:28 +00:00
Jan Beich
807912c18d MFH: r460969
devel/renpy: update to 6.99.14.1

Changes:	https://www.renpy.org/release/6.99.14.1 (see Announcment)
Changes:	https://www.renpy.org/doc/html/changelog.html#ren-py-6-99-14-1
Approved by:	ports-secteam (swills)
2018-02-05 17:45:13 +00:00
Jan Beich
f23a0464e8 MFH: r460866
emulators/rpcs3: switch to llvm50

LLVM PPU is still unstable on FreeBSD, so allow users to play with
different versions of it. By default use the same version as Mesa.

Approved by:	ports-secteam (feld)
2018-02-05 01:33:26 +00:00
Gordon Tetlow
2ab8ae8584 MFH: r460953
Fixup include for p4 related ports now that devel/p4 is using source.

Also update devel/p4d to 2016.1/1611275.

Approved by:	ports-secteam (blanket)
2018-02-04 23:37:26 +00:00
Thomas Zander
59506f0d98 MFH: r460797
Update to upstream version 2.6.4

PR:		224858
Submitted by:	freebsd@dns-lab.com (maintainer)

Approved by:	ports-secteam (feld)
2018-02-04 13:58:47 +00:00
MANTANI Nobutaka
83b05aa1cd MFH: r460810
- Update to 0.5.3.20180125.
- This version fixes multiple vulnerabilities.

PR:             225611
Submitted by:   D. Ebdrup <debdrup@gmail.com>
Security:       e72d5bf5-07a0-11e8-8248-0021ccb9e74d

Approved by:	ports-secteam (feld)
2018-02-04 13:32:07 +00:00
Tobias Kortkamp
5e70f30732 MFH: r460803
www/palemoon: Update to 27.7.2

- Attempt to fix build with Clang 6 [1]

Changes:	http://www.palemoon.org/releasenotes.shtml
PR:		225644, 225280 [1]
Approved by:	lichray@gmail.com (maintainer)
Security:	5044bd23-08cb-11e8-b08f-00012e582166

Approved by:	ports-secteam blanket
2018-02-03 12:42:15 +00:00
Kurt Jaeger
a3116fc97c MFH: r460718
security/softether: update 4.20.9608 -> 4.25.9656

- There are 11 vulnerabilities on SoftEther VPN. There vulnerabilities
  are found by the source code audit process conducted by Max Planck
  Institute for Molecular Genetics and Mr. Guido Vranken in late 2017.
  This build fixes all of these vulnerabilities.

PR:		225618
Submitted by:	net@arrishq.net (maintainer)
Relnotes:	http://www.softether.org/5-download/history
Approved by:	portmgr (swills)
2018-02-03 06:56:47 +00:00
Sunpoet Po-Chuan Hsieh
04ade62ce7 MFH: r460752
Update to 2.0.2

Changes:	https://docs.djangoproject.com/en/2.0/releases/2.0.2/
Security:	d696473f-9f32-42c5-a106-bf4536fb1f74

Approved by:	ports-secteam (swills)
2018-02-03 05:14:11 +00:00
Sunpoet Po-Chuan Hsieh
8d1926c02b MFH: r460751
Update to 1.11.10

Changes:	https://docs.djangoproject.com/en/1.11/releases/1.11.10/
Security:	d696473f-9f32-42c5-a106-bf4536fb1f74

Approved by:	ports-secteam (swills)
2018-02-03 05:12:10 +00:00
Jan Beich
4670c2e925 MFH: r460763
emulators/citra: update to s20180202

Changes:	27ed8a3c...dca5fd29
Approved by:	ports-secteam (swills, implicit for snapshots)
2018-02-03 00:52:11 +00:00
Jan Beich
6ee159106a MFH: r460756
www/waterfox: update to 56.0.4 (nop)

- Apply some FF59 fixes

Changes:	https://github.com/MrAlex94/Waterfox/compare/d7f689c984bf...56.0.4
Approved by:	ports-secteam blanket
2018-02-02 21:54:17 +00:00
Jan Beich
f03c635794 multimedia/libvpx: backport MULTIRES fix (direct commit)
Obtained from:	upstream (libvpx 1.7.0, via Firefox 59)
Approved by:	ports-secteam blanket
2018-02-02 20:48:18 +00:00
Jan Beich
4969875bd4 MFH: r460725
www/waterfox: unbreak Customize for new profiles after r460542

Approved by:	ports-secteam blanket
2018-02-02 18:54:12 +00:00
Torsten Zuehlsdorff
45bc3a7304 MFH: r460697
Update PHP 7.1 from 7.1.13 to 7.1.14

Changelog: http://www.php.net/ChangeLog-7.php#7.1.14

Remove patch since upstream integrated a fix for the issue

Approved by:	ports-secteam (swills)
2018-02-02 14:26:03 +00:00
Torsten Zuehlsdorff
c0a4d04f05 MFH: r460696
lang/php72: Update from 7.2.1 to 7.2.2

Changelog: http://www.php.net/ChangeLog-7.php#7.2.2

Approved by:	ports-secteam (swills)
2018-02-02 14:24:04 +00:00
Mark Felder
f49b823312 MFH: r458596
Correct llvm-config40 output with shared libraries.

PR:		223191
Submitted by:	greg@unrelenting.technology
2018-02-02 10:09:19 +00:00
Mark Felder
94fa61a192 MFH: r458590
Upgrade to 5.0.1.

Correct shared linkage with llvm-config50.[0]

PR:		223191 [0]
Submitted by:	greg@unrelenting.technology
2018-02-02 10:08:35 +00:00
Mark Felder
7caa9e276c MFH: r458581
Fix builds of lang/gcc{48,49,5} with clang 6.0.0

Since clang++ 6.0.0 now defaults to -std=gnu++14 (similar to g++ 6 and
higher), building gcc48, gcc49 or gcc5 produce quite a number of
"invalid suffix on literal; C++11 requires a space between literal and
identifier" errors.  This is because in many places, double quotes are
directly followed by printf helper macros like HOST_WIDE_INT_PRINT.

In gcc 6 and later, spaces were added between the double quotes and the
macros, to fix this issue, but for earlier versions, use a combination
of find, grep and sed to add them mechanically throughout the respective
source trees.

In addition, gcc5 needs a regular patch to fix an incorrect call to
error(), which should have been error_at().  (This was a mismerge by
upstream.)

Approved by:	gerald (maintainer)
PR:		224927
2018-02-02 10:07:58 +00:00
Mark Felder
46ee793514 MFH: r458306
Update to upstream release 17.12

Details:
- New release 17.12, changelog on
  http://www.codeblocks.org/downloads/binaries/changelog
- This includes fixes for stability of the application
  which should allow to close bug #223826 and bug #197888

PR:		224835
Submitted by:	lbartoletti@tuxfamily.org (maintainer)
2018-02-02 10:05:18 +00:00
Mark Felder
8c30f59311 MFH: r458112
* Revision bump, cleanup unused dependencies

Affected ports: net-mgmt/ccnet-client net-mgmt/seafile-client net-mgmt/seafile-gui
2018-02-02 10:02:26 +00:00
Mark Felder
fdfc810804 MFH: r457913
Update to upstream version 0.0.62

Detailed maintainer log:
- v0.0.62: Miscellaneous tweaks
- Updated Let's Encrypt agreement URL in example response file.
- Now builds for current Go 1.x version in Travis rather than Go 1.8.
- More error details are now available for challenge errors in the acmeapi
  package.
- Error when trying to prompt the user in non-interactive mode now advises
  user to remove --batch flag.

PR:		224627
Submitted by:	samm@os2.kiev.ua (maintainer)
2018-02-02 09:51:51 +00:00
Mark Felder
3ada35a33a MFH: r460648
security/snort3: Fix build with FreeBSD 10.3

Reference: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210890
2018-02-01 22:53:08 +00:00
Mark Felder
64d2bacaf4 MFH: r460389 r460412 r460638 r460641
Upgrade to build 242

Approved by:	feld (maintainer)

Unbreak last commit.

Pointy hat:	dvl
Sponsored by:	Absolight

security/snort3: Update to Alpha BUILD_242

- Use cmake now as autotools will be going away
- Fix segfaulting which was actually caused by devel/hwloc

security/snort3: Bump PORTREVISION

Bump for sanity
Add missing DOCS to OPTIONS_DEFINE
2018-02-01 21:59:21 +00:00
Mark Felder
d8a954d3a2 MFH: r460636
devel/hwloc: Fix segfaults on Intel CPUs

Details in this Github issue: https://github.com/open-mpi/hwloc/issues/282
2018-02-01 21:20:32 +00:00
Bryan Drewery
413bf6a750 MFH: r459203
Upgrade to 3.2.4

Changes: https://github.com/freebsd/poudriere/wiki/release_notes_324

Approved by:	portmgr (implicit)
2018-02-01 21:01:30 +00:00
Olli Hauer
5bb39e3dd0 MFH: r460434
- update to 2.11.11

Changelog:

20171116
  Bugfix (introduced: Postfix 2.1): don't log warnings
  that some restriction returns OK, when the access map
  DISCARD feature is in effect. File: smtpd/smtpd_check.c.

20171215
  Bugfix (introduced: 20170611): the DB_CONFIG bugfix broke
  Berkeley DB configurations with a relative pathname.  File:
  util/dict_db.c.

20171226
  Documentation patches by Sven Neuhaus. Files:
  proto/FORWARD_SECRECY_README.html, proto/SMTPD_ACCESS_README.html.

20180106
  Cleanup: missing mailbox seek-to-end error check in the
  local(8) delivery agent. File: local/mailbox.c.

  Cleanup: incorrect mailbox seek-to-end error message in the
  virtual(8) delivery agent. File: virtual/mailbox.c.

Approved by:	ports-secteam (swills@)
2018-02-01 20:27:17 +00:00
Olli Hauer
1d4e1948f8 MFH: r460435 r460438
- update to 3.2.5
- license is now dual (see Changelog 20180127)
- make EAI optional but on by default [1]

Changelog:
20171116
  Bugfix (introduced: Postfix 2.1): don't log warnings
  that some restriction returns OK, when the access map
  DISCARD feature is in effect. File: smtpd/smtpd_check.c.

20171215
  Bugfix (introduced: 20170611): the DB_CONFIG bugfix broke
  Berkeley DB configurations with a relative pathname.  File:
  util/dict_db.c.

20171218
  Workaround: reportedly, some res_query(3) implementation
  can return -1 with h_errno==0. Instead of terminating with
  a panic, the Postfix DNS client now logs a warning and sets
  h_errno to TRY_AGAIN. File: dns/dns_lookup.c.

20171226
  Documentation patches by Sven Neuhaus. Files:
  proto/FORWARD_SECRECY_README.html, proto/MILTER_README.html,
  proto/SMTPD_ACCESS_README.html.

20180106
  Cleanup: missing mailbox seek-to-end error check in the
  local(8) delivery agent. File: local/mailbox.c.

  Cleanup: incorrect mailbox seek-to-end error message in the
  virtual(8) delivery agent. File: virtual/mailbox.c.

20180127
  Licence: in addition to the historical IBM Public License
  1.0, this software is now also distributed with the more
  recent Eclipse Public License 2.0. Recipients can choose
  to take the software under the license of their choice.
  Those who are more comfortable with the IPL can continue
  with that license. File: LICENSE.

- fix licence error after last commit

Reported by:	Yasuhiro KIMURA

PR:		ports/221619 [1]
Submitted by:	Kubilay Kocak (koobs@)

Approved by:	ports-secteam (swills@)
2018-02-01 20:26:03 +00:00
Mark Felder
3cb952e6fe MFH: r460603
www/mediawiki130: Add missing PHP module dependency

When upgrading from MediaWiki 1.29:

Error: Missing one or more required components of PHP.
You are missing a required extension to PHP that MediaWiki needs.
Please install:
 * fileinfo <https://secure.php.net/fileinfo>
2018-02-01 14:50:43 +00:00
Niclas Zeising
b5c7c9a5e7 MFH: r460590
Complete fix for CVE-2017-15132

Complete fix for CVE-2017-15132, the previous fix was not enough, and caused
the request to remain after an abort, causing a use-after-free later on.

PR:		225585
Submitted by:	Vladimir Krstulja
Approved by:	adamw (maintainer)

Approved by:	ports-secteam (implicit, security fix)
2018-02-01 13:28:09 +00:00
Bryan Drewery
76022bf25c MFH: r459752
Update to 5.5.59 release.

PR:		225241
Submitted by:	Markus Kohlmeyer <rootservice@gmail.com>

Approved by:	portmgr (implicit)
2018-01-31 23:44:18 +00:00
Bryan Drewery
5492eb86d5 MFH: r459855 r460136 r460317
Update to 7.58.0

- Add BROTLI and LIBSSH options

Changes:	https://curl.haxx.se/changes.html

Remove LIBSSH option to avoid circular dependency

libssh uses cmake which depends on curl.

Fix BROTLI option

Approved by:	portmgr (implicit)
Security:	CVE-2018-1000007
2018-01-31 23:32:52 +00:00
Jan Beich
ac61096b93 MFH: r460542
www/waterfox: update to 56.0.3.65

Changes:	3c64673640...d7f689c984
Changes:	52216f01e1...3c64673640 (missed in r460354)
Security:	103bf96a-6211-45ab-b567-1555ebb3a86a
Approved by:	ports-secteam blanket
2018-01-31 21:49:00 +00:00
Jan Beich
9527b162da MFH: r460541
emulators/rpcs3: update to 0.0.4.293

Changes:	cd8e97a7c...70fe0cc22
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-01-31 21:47:04 +00:00
Jan Beich
c6c767c0eb MFH: r459458 r460255
security/nss: update to 3.35

Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.35_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_35_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
Approved by:	ports-secteam (swills)
2018-01-31 21:25:59 +00:00
Jan Beich
35c375d8fa MFH: r459460
devel/nspr: update to 4.18

Changes:	http://mozilla.6506.n7.nabble.com/ANNOUNCE-NSPR-4-18-Release-td372135.html
ABI:		https://abi-laboratory.pro/tracker/timeline/nspr/
Approved by:	ports-secteam (swills)
2018-01-31 21:01:07 +00:00
Jan Beich
8088ed9d41 MFH: r460357
www/firefox-esr: work around race on sqlite3 init

PR:		225364
Obtained from:	upstream (Firefox 56)
Approved by:	ports-secteam (swills)
2018-01-31 21:00:31 +00:00
Jan Beich
d8d574ae29 MFH: r460253
devel/include-what-you-use: switch to llvm50 (like r457360)

PR:		224617
Approved by:	maintainer timeout (1 month)
Approved by:	ports-secteam (swills)
2018-01-31 20:58:28 +00:00
Antoine Brodin
a7f97786e4 MFH: r460339
Apply patches for CVE-2017-9935 and CVE-2017-18013

PR:		225544
Submitted by:	Yasuhiro KIMURA
Obtained from:	Debian
2018-01-30 19:47:38 +00:00
Koop Mast
6be7000ad5 MFH: r460052 r460230
Update glib to 2.50.3.

Also redo the kqueue patches. Now we patch files only once, and add some
bits that got lost somewhere (which is probably my fault). Which where
causing crashes when for example nautilus or thundar where monitoring
directories and files where added/removed.

PR:		199872

Fix another crash bug in the kqueue backend.

PR:		199872 217946

Approved by:	ports-secteam (swills@)
2018-01-30 07:04:21 +00:00
John Baldwin
c2d9b63b55 MFH: r460050
KGDB fixes for amd64 and aarch64.

- Update the amd64 kernel support to recognize mchk_calltrap as a
  trapframe generator.
- Remove some unneeded headers from fbsd-kld.c.
- Various fixes to get stack traces working for aarch64 kernels:
  - Map the LR register from the PCB to PC instead of LR.
  - Skip the PC register from the PCB as it isn't initialized to anything.
  - Correct the register cache map for the PCB.  The old one had the
    offsets of pcb_sp and pcb_pc reversed.
  - Don't map all of the saved general purpose registers in a
    trapframe to X1 rather than X0 .. X29.
  - Use correct name for el0 trapframe entry points.

Reviewed by:	pizzamig (maintainer)
Differential Revision:	https://reviews.freebsd.org/D13977

Approved by:	ports-secteam (swills)
2018-01-30 01:18:07 +00:00
Jan Beich
4c1c401e32 MFH: r460354
www/waterfox: update to 56.0.3.50

- Apply more FF58 fixes except the following
  https://bugzilla.mozilla.org/buglist.cgi?bug_id=1281965,1379276,1382851,1390882,1396399,1412653,1413857,1415770,1415788,1416879,1418074,1418841,1418966,1420049,1421099,1421324,1426449

Changes:	https://github.com/MrAlex94/Waterfox/compare/56.0.3...52216f01e1f3
Security:	a891c5b4-3d7a-4de9-9c71-eef3fd698c77
Approved by:	ports-secteam blanket
2018-01-30 00:59:18 +00:00
Jan Beich
d0fb2a2363 MFH: r460361
emulators/citra: update to s20180128

Changes:	5a57578c...27ed8a3c
Approved by:	ports-secteam (swills, implicit for snapshots)
2018-01-30 00:57:54 +00:00
Jan Beich
cbf403c01b MFH: r460360
emulators/rpcs3: update to 0.0.4.285

Changes:	bb5bdb2e8...cd8e97a7c
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-01-30 00:56:23 +00:00
Jung-uk Kim
a1672c172e MFH: r460351
Update to 9.0.4.

http://www.oracle.com/technetwork/java/javase/9-0-4-relnotes-4021191.html

Approved by:	ports-secteam (swills)
2018-01-29 22:51:44 +00:00
Jung-uk Kim
a826aa6d32 MFH: r460350
Update to 8u162.

http://www.oracle.com/technetwork/java/javase/8u162-relnotes-4021436.html

Approved by:	ports-secteam (swills)
2018-01-29 22:51:15 +00:00
Bradley T. Hughes
d6d4fcdd06 MFH: r457853
devel/awscli: use USE_PTYHON=noflavors, remove PKGNAMEPREFIX

The introduction of flavors caused the awscli package to be renamed to
py27-awscli. Since this package is preinstalled on all AWS EC2 instances
running a FreeBSD image, apply POLA and rename the package back to
awscli. The assumption is that the rename was unintentional.

Approved by:	mat (co-mentor)
Differential Revision:	https://reviews.freebsd.org/D13555

Approved by:	portmgr
2018-01-29 22:06:52 +00:00
Niclas Zeising
a085096f6a MFH: r460336
Add patch and fix CVE-2017-15132

Add upstream patch to fix CVE-2017-15132, memory leak in the log in process
that can cause memory exhaustion.

PR:		225446
Submitted by:	Vladimir Krstulja
Approved by:	adamw (maintainer), swills (ports-secteam)
Security:	92b8b284-a3a2-41b1-956c-f9cf8b74f500

Approved by:	ports-secteam (implicit)
2018-01-29 21:04:37 +00:00
Jan Beich
c08622c31f MFH: r460254
www/firefox: update to 58.0.1

Changes:	https://www.mozilla.org/firefox/58.0.1/releasenotes/
PR:		223425
Approved by:	ports-secteam (swills)
2018-01-29 19:16:12 +00:00
Dirk Meyer
c311fea81f MFH: r460104
- disable option SMTPUTF8 as default
it causes lost mail and backscatter with local delivery.
PR:		224452

Approved by:	portmgr (Steve Wills)
2018-01-27 16:53:26 +00:00
Koop Mast
87e8ce533d MFH: r460078
Update gcab to 0.8.

Security fix release with normal bug fixes.

Security:	2cceb80e-c482-4cfd-81b3-2088d2c0ad53
		CVE-2018-5345

Approved by:	ports-secteam (swills@)
2018-01-27 16:01:41 +00:00
Jan Beich
e6985d32fa MFH: r459899
mail/thunderbird: update to 52.6.0

Changes:	https://www.mozilla.org/thunderbird/52.6.0/releasenotes/
Security:	a891c5b4-3d7a-4de9-9c71-eef3fd698c77
Approved by:	ports-secteam (swills)
2018-01-27 01:25:41 +00:00
Jan Beich
b68f8cdc1e MFH: r460069
emulators/citra: update to s20180127

Changes:	33b0b516...5a57578c
Approved by:	ports-secteam (swills, implicit for snapshots)
2018-01-27 00:56:39 +00:00
Jan Beich
cc48fce5e1 MFH: r460068
emulators/rpcs3: update to 0.0.4.283

Changes:	c8965564e...bb5bdb2e8
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-01-27 00:55:24 +00:00
Larry Rosenman
0e062fb6ee MFH: r459048 r459972
security/clamav: remove LHA from default options.

r459039 made distribution of the lha binary not allowed.

PR:		225180
Submitted by:	antoine

security/clamav: upgrade to 0.99.3.
* Update to 0.99.3.
* Fix following portlint warnings.
** Move position of USES in Makefile.
** Remove reference of undefined LLVM option.
** Regenerate files/patch-libclamav_regex_pcre.c by 'make makepatch
** add USES=ssl

PR:		225461
Submitted by:	yasu@utahime.org

Approved by:	ports-secteam (swills)
Security:	b464f61b-84c7-4e1c-8ad4-6cf9efffd025
2018-01-26 14:14:09 +00:00
Cy Schubert
cad478be0b MFH: r459810
Make AQMP support optional. AQMP support, which was prior to this
revision not optional, caused syslog-ng to fail to build with
LibreSSL. Users of LibreSSL should disable AQMP support.

PR:		225380
Submitted by:	Peter Czanik (CzP) <peter.czanik@balabit.com>
		Balabit / syslog-ng upstream
Approved by:	portmgr (swills)
2018-01-26 03:07:13 +00:00
Tobias Kortkamp
6a9772647c MFH: r459966
sysutils/gdisk: Unbreak UTF16 option

/usr/bin/ld: undefined reference to symbol `_ZN3icu13UnicodeStringC1EPKc' (try adding -licuuc)
//usr/local/lib/libicuuc.so.60: could not read symbols: Bad value

PR:		198518
Submitted by:	Ting-Wei Lan <lantw44@gmail.com>
Approved by:	wg (maintainer timeout, ~3 years)

Approved by:	ports-secteam blanket
2018-01-25 23:00:29 +00:00
Bryan Drewery
eaea088b2f MFH: r459958 r459959 r459960
Show errors for duplicate source entries.

Remove duplicate entries found by updated MOVEDlint.awk in r459958

Fix some other lint findings

Approved by:	portmgr (implicit)
2018-01-25 21:13:14 +00:00
Michael Gmelin
61b3a63101 MFH: r459808
Fix databases/mariadb* hostname verification when building against LibreSSL

LibreSSL imported X509_check_host from BoringSSL. Unlike OpenSSL,
it doesn't calculate the length of the hostname passed in case
chklen/namelen == 0. This means that the check in MariaDB always
fails if built against LibreSSL. This forces adminstrators to disable
hostname verification, which weakens security (hence the MFH request below).

Note that the fix has no negative implications if built against OpenSSL,
as its implementation calls strlen(hostname) in case namelen == 0.

See also https://github.com/MariaDB/server/pull/562

Approved by:	portmgr
2018-01-25 15:47:01 +00:00
Tobias Kortkamp
1316d941ee MFH: r459917
Fix typo DtraceToolkit -> DTraceToolkit

Approved by:	ports-secteam blanket
2018-01-25 10:00:58 +00:00
Roger Pau Monné
a6ca9fe685 MFH: r459786 r459787 r459822
xen-kernel: fix build with clang 6 and apply pending XSA patches

This includes a band-aid for running 64bit PV guests without
compromising the whole system.

Approved by:	ports-secteam (swills)
2018-01-25 09:25:18 +00:00
Antoine Brodin
07ba4eb676 MFH: r459908
Fix the context of this patch so that its applies with stricter patch(1)

PR:		223545
2018-01-25 06:44:58 +00:00
Bryan Drewery
02265c24f9 MFH: r459906
Restore DTraceToolkit from r454702.

It's not in base since 2016 r300226 exactly because it is updated more often
than FreeBSD and belongs in ports.

Approved by:	portmgr (implicit)
2018-01-25 06:11:02 +00:00
TAKATSU Tomonari
3b04868a2a MFH: r459826
- Update RUN_DEPENDS
- Add the patch to fix the mikutter issue 1130
- Make portlint happy

Submitted by:	Koichiro IWAO <meta+ports_AT_vmeta_DOT_jp>
PR:		224923

Approved by:	ports-secteam (swills)
2018-01-25 02:34:11 +00:00
Jan Beich
41edcc6749 MFH: r459898
emulators/rpcs3: update to 0.0.4.280

Changes:	4f0179471...c8965564e
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-01-25 00:59:02 +00:00
Jan Beich
80df59bd55 MFH: r459897
emulators/citra: update to s20180124

Changes:	0e8c25fd...33b0b516
Approved by:	ports-secteam (swills, implicit for snapshots)
2018-01-25 00:55:06 +00:00
Lars Engels
d00eea93a2 MFH: r459728
net-mgmt/icingaweb2:

Update to 2.5.1 (Mostly bugfixes)

Changelog: https://github.com/Icinga/icingaweb2/milestone/47?closed=1

Approved by:	portmgr (swills)
2018-01-23 16:02:52 +00:00
Kirill Ponomarev
b6db1cc997 Fix previous commit with mfh.
Approved by:	ports-secteam
2018-01-23 15:52:45 +00:00
Kirill Ponomarev
8107eaebc2 MFH: r459742
Update to version 4.1.1

- Fixes "PowerDNS Security Advisory 2018-01: Insufficient validation
  of DNSSEC signatures". An issue has been found in the DNSSEC
  validation component of PowerDNS Recursor, allowing an ancestor
  delegation NSEC or NSEC3 record to be used to wrongfully prove the
  non-existence of a RR below the owner name of that record. This
  would allow an attacker in position of man-in-the-middle to send a
  NXDOMAIN answer for a name that does exist.
  The 4.0.x branch is not vulnerable.

- Add support for algo16 and simplify Lua/LuaJIT engine choice.

PR:		225397
Submitted by:	maintainer
Security:	CVE-2018-1000003

Approved by:	ports-secteam
2018-01-23 15:45:26 +00:00
Guido Falsi
68c97ff276 MFH: r459693
Import code from mousepad development repository which fixes a dbus
messages storm causing heavy CPU usage, memory allocation and disk
usage when working with multiple windows.

While here also import a GTK3 specific fix.

Ref.:
https://bugzilla.xfce.org/show_bug.cgi?id=14184
https://bugzilla.xfce.org/show_bug.cgi?id=12134

Reported by:	Erich Dollansky <freebsd.ed.lists@sumeritec.com>
Obtained from:	https://git.xfce.org/apps/mousepad/

Approved by:	ports-secteam (swills)
2018-01-23 13:10:32 +00:00
Jan Beich
3d9e079705 MFH: r458997
x11-drivers/xf86-video-intel: update to 2.99.917.20180111

Changes:	https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/log/?id=26f5406841f3
PR:		224621
Approved by:	maintainer timeout (2 weeks)
Approved by:	ports-secteam (swills)
2018-01-23 01:00:30 +00:00
Jan Beich
8ecd7a1fe9 MFH: r459717
emulators/citra: update to s20180122

Changes:	bf4e35b9...0e8c25fd
Approved by:	ports-secteam (swills, implicit for snapshots)
2018-01-23 00:52:40 +00:00
Jan Beich
4767702132 MFH: r459713
emulators/rpcs3: update to 0.0.4.275

Changes:	f908daf32...4f0179471
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-01-23 00:35:21 +00:00
Jan Beich
03f25078a2 MFH: r459118 r459392
www/firefox: update to 58.0

Changes:	https://www.mozilla.org/firefox/58.0/releasenotes/
PR:		223425
Tested by:	Greg V, tobik
Security:	a891c5b4-3d7a-4de9-9c71-eef3fd698c77
Approved by:	ports-secteam (swills)
2018-01-23 00:02:59 +00:00
Jan Beich
b557a22b05 MFH: r459304 r459393
www/firefox-esr: update to 52.6.0

Changes:	https://www.mozilla.org/firefox/52.6.0/releasenotes/
Security:	a891c5b4-3d7a-4de9-9c71-eef3fd698c77
Approved by:	ports-secteam (swills)
2018-01-23 00:01:36 +00:00
Josh Paetzel
de9f55b885 MFH: r457864
Fix build with clang 6.0.0

Also avoids an endless loop in practice

PR:	224816
Submitted by:	dim

Approved by:	ports-secteam (swills)
2018-01-22 20:27:01 +00:00
Lars Engels
18e2956d44 MFH: r459410
net-mgmt/icinga2:

Update to 2.8.1
Changelog: https://github.com/Icinga/icinga2/blob/master/CHANGELOG.md

Approved by:	portmgr (swills)
2018-01-21 19:00:37 +00:00
Sunpoet Po-Chuan Hsieh
2acefb5955 MFH: r459349
Remove BROKEN, DEPRECATED and EXPIRATION_DATE

This port builds fine in poudriere.
This port depends on py-twisted and py-twistedCore has been removed from ports tree.

Approved by:	ports-secteam (swills)
2018-01-20 08:34:32 +00:00
Ben Woods
a2389f045c MFH: r459011 r459013 r459492
net-p2p/transmission-daemon: Mitigate DNS rebinding attack

Incorporate upstream pull request 468, proposed by Tavis Ormandy from
Google Project Zero, which mitigates this attack by requiring a host
whitelist for requests that cannot be proven to be secure, but it can
be disabled if a user does not want security.

PR:		225150
Submitted by:	Tavis Ormandy
Approved by:	crees (maintainer)
Obtained from:	https://github.com/transmission/transmission/pull/468#issuecomment-357098126
Security:	https://www.vuxml.org/freebsd/3e5b8bd3-0c32-452f-a60e-beab7b762351.html

Add note to UPDATING for net-p2p/transmission-daemon explaining how to
allow client access with the new DNS rebinding mitigations.

PR:		225150
Security:	https://www.vuxml.org/freebsd/3e5b8bd3-0c32-452f-a60e-beab7b762351.html

net-p2p/transmission-daemon: Improve UPDATING entry and add pkg-message

This will ensure users who do not read UPDATING are still presented with
the message about how to allow clients to connect to the daemon using
DNS when they upgrade the package.

PR:		225150
Reported by:	swills
Security:	https://www.vuxml.org/freebsd/3e5b8bd3-0c32-452f-a60e-beab7b762351.html

Approved by:	ports-secteam (swills)
2018-01-20 01:28:56 +00:00
Jan Beich
6739b20a60 MFH: r459487
emulators/citra: update to s20180119

Changes:	93cca23d...bf4e35b9
Approved by:	ports-secteam (swills, implicit for snapshots)
2018-01-20 00:25:19 +00:00
Jan Beich
66626cb559 MFH: r459488
emulators/rpcs3: update to 0.0.4.270

Changes:	71f69d1d4...f908daf32
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-01-20 00:23:58 +00:00
Steve Wills
0258aea96c Merge missed commit needed by r459482
MFH: r458139

security/rubygem-rbnacl4: create port

4.x version required by gitlab

PR:		224931
Submitted by:	Matthias Fechner <idefix@fechner.net> (maintainer)

Approved by:	ports-secteam (implicit)
2018-01-19 23:32:30 +00:00
Steve Wills
2f446f5a98 Pull in GitLab security update and all commits needed for it to run properly
Approved by:	ports-secteam (implicit)

MFH: r457863 r457866 r457872 r457873 r457876 r457879 r457890 r457898 r457899 r458098 r458142 r458267 r458333 r458634 r458650 r458652 r459076 r459170 r459191 r459256 r459284 r459288 r459346

textproc/rubygem-twitter-text: add required dependency on rubygem-idn-ruby

PR:		224838
Submitted by:	Matthias Fechner <idefix@fechner.net>

www/gitlab: fix Gemfile for updated dependencies

PR:		224836
Submitted by:	Matthias Fechner <idefix@fechner.net> (maintainer)

Add rubygem-redis3 3.3.5 (copied from rubygem-redis)

- Add PORTSCOUT

Add rubygem-jwt1 1.5.6 (copied from rubygem-jwt)

- Add PORTSCOUT

Update to 4.0.1

Changes:	https://github.com/redis/redis-rb/blob/master/CHANGELOG.md

Update to 2.1.0

Changes:	https://github.com/jwt/ruby-jwt/releases

Change RUN_DEPENDS from rubygem-redis and rubygem-jwt to rubygem-redis3 and rubygem-jwt1

- Bump PORTREVISION for dependency change

devel/rubygem-licensee: update to 9.6.0

PR:		224758
Approved by:	Matthias Fechner <idefix@fechner.net> (maintainer

www/gitlab: remove spurious newline

Reported by:	sunpoet
Pointyhat to:	swills

security/rubygem-rbnacl: update to 5.0.0

www/gitlab: fix Gemfile for updated dependencies

PR:		224932
Submitted by:	Matthias Fechner <idefix@fechner.net> (maintainer)

Fix Gemfile for rubygem-fog-core 2.0.0 update

- Bump PORTREVISION for package change

Fix Gemfile for rubygem-jquery-atwho-rails 1.5.4 update

- Bump PORTREVISION for package change

Fix Gemfile for rubygem-fog-google 1.0.0 update

- Bump PORTREVISION for package change

Fix gitlab issue by creating rubygem-licensee8

PR:		225047
Submitted by:	Matthias Fechner <idefix@fechner.net> (maintainer)

devel/rubygem-licensee: update to 9.7.0

PR:		224999
Approved by:	Matthias Fechner <idefix@fechner.net> (maintainer)

textproc/rubygem-rouge: update to 3.1.0

PR:		224785
Approved by:	maintainer timeout (kuriyama, > 2 weeks)

textproc/rubygem-rouge2: create port for 2.x ver

Needed by GitLab

textproc/rubygem-rouge2: add missing PKGNAMESUFFIX

Pointyhat to:	swills
Reported by:	antoine

textproc/rubygem-rouge2: add conflict

www/rubygem-gollum-lib: depend on 2.x version of rouge

This version is required by gollum-lib

www/gitlab: update to 10.1.6

Approved by:	idefix@fechner.net (maintainer, via private email)
Obtained from:	http://gitlab.toco-domains.de/FreeBSD/GitLab/commits/10.1
Security:	65fab89f-2231-46db-8541-978f4e87f32a

Mark CONFLICTS_INSTALL with rubygems-rouge2
2018-01-19 23:03:40 +00:00
Thomas Zander
be8ec228aa MFH: r458963
Update to upstream version 0.20.15 (bug fix release)

Detailed changelog:
http://git.musicpd.org/cgit/master/mpd.git/plain/NEWS?h=v0.20.15

PR:		225115
Submitted by:	dg@syrec.org

Approved by:	ports-secteam (swills)
2018-01-19 22:32:34 +00:00
Thomas Zander
1827fa3ee1 MFH: r458965
Update to upstream release 0.5.70 (update scrapers for several countries)

PR:		225039
Submitted by:	tad@vif.com

Approved by:	ports-secteam (swills)
2018-01-19 22:29:53 +00:00
Bernard Spil
b43cc25706 MFH: r459413
databases/mariadb55-server: Security update to 5.5.59

Security:	e3445736-fd01-11e7-ac58-b499baebfeaf
Security:	CVE-2018-2562
Security:	CVE-2018-2622
Security:	CVE-2018-2640
Security:	CVE-2018-2665
Security:	CVE-2018-2668

Approved by:	ports-secteam (swills)
2018-01-19 20:17:58 +00:00
Jochen Neumeister
cff7ff0eaf MFH: r459414
Securityupdate to 3.2.2:

Changelog:
 https://wiki.phpbb.com/Release_Highlights/3.2.2
 https://www.phpbb.com/community/viewtopic.php?f=14&t=2453381

Approved by:	mentors (implicit)
Security:	8e89a89a-fd15-11e7-bdf6-00e04c1ea73d

Approved by:	ports-secteam (swills)
2018-01-19 19:54:09 +00:00
Tobias Kortkamp
eba12ec0a2 MFH: r458934
astro/viking: Fix LIB_DEPENDS and unbreak port

- While here reset MAINTAINER: The port has been marked as broken
  since 2017-05-10 and the maintainer has a history of timeouts.

PR:		224668
Submitted by:	Ting-Wei Lan <lantw44@gmail.com>
Approved by:	koalative@gmail.com (maintainer timeout, 2 weeks)

Approved by:	ports-secteam (swills)
2018-01-19 19:23:05 +00:00
Tobias Kortkamp
81df881fc8 MFH: r459034
www/youtube_dl: Update to 2018.01.14

PR:		225157
Approved by:	araujo (maintainer)

Approved by:	ports-secteam (swills)
2018-01-19 19:21:48 +00:00
Jan Beich
1b5d329b02 MFH: r459037
devel/renpy: update to 6.99.14

Changes:	https://www.renpy.org/doc/html/changelog.html#ren-py-6-99-14
Approved by:	ports-secteam (swills)
2018-01-19 18:56:42 +00:00
Danilo G. Baio
140e5d6173 MFH: r459435
dns/unbound: Update to 1.6.8, Fixes security vulnerability

PR:		225313
Submitted by:	jaap@NLnetLabs.nl (maintainer)
Security:	8d3bae09-fd28-11e7-95f2-005056925db4

Approved by:	ports-secteam (swills)
2018-01-19 18:06:11 +00:00
Kurt Jaeger
af396d7afe MFH: r458856
security/trousers: fix distinfo

- see the PR for the diff between the two distfiles

PR:		221105
Approved by:	hrs (maintainer timeout)
Approved by:	portmgr
2018-01-19 17:28:55 +00:00
Jochen Neumeister
2edc3208c9 MFH: r459399
Securityupdate to 4.9.2:

Changelog:
 https://codex.wordpress.org/Version_4.9.2
 https://wordpress.org/news/2018/01/wordpress-4-9-2-security-and-maintenance-release/

PR:		225243
Submitted by:	Mikhail Timofeev <9267096@gmail.com> (maintainer)
Approved by:	mentors (implicit)
Security:	c04dc18f-fcde-11e7-bdf6-00e04c1ea73d

Approved by:	ports-secteam (swills)
2018-01-19 15:50:21 +00:00
Jochen Neumeister
56683c65fd MFH: r459400
Securityupdate to 4.9.2:

Changelog:
 https://codex.wordpress.org/Version_4.9.2
 https://wordpress.org/news/2018/01/wordpress-4-9-2-security-and-maintenance-release/

Approved by:	mentors (implicit)
Security:	c04dc18f-fcde-11e7-bdf6-00e04c1ea73d

Approved by:	ports-secteam (swills)
2018-01-19 15:49:13 +00:00
Mark Felder
508b0f2fd3 MFH: r459420
databases/memcached: Fix user/group handling for running process

You can now set memcached_user and memcached_group in rc.conf and get
expected results of running process and socket ownership.

Differential Revision:	https://reviews.freebsd.org/D13967
2018-01-19 14:34:31 +00:00
Mark Felder
4489026e63 MFH: r459417
net-mgmt/librenms: Upstream re-rolled the distfile

Only change is the doc/General/Changelog.md file which *removed* the entry
for 1.35.
2018-01-19 14:26:47 +00:00
Mathieu Arnold
5ae6b5d8f1 MFH: r459406
Update named.root.

Sponsored by:	People afraid of a nuclear holocaust.
2018-01-19 12:33:27 +00:00
Jan Beich
c8a6639351 MFH: r459394
www/waterfox: apply more FF58 fixes

Security:	a891c5b4-3d7a-4de9-9c71-eef3fd698c77
Approved by:	ports-secteam blanket
2018-01-19 05:01:12 +00:00
Mark Felder
1e743bfc00 MFH: r459377
net-mgmt/librenms: Fix build

Leftover change crept into last commit
2018-01-18 20:47:49 +00:00
Mark Felder
852bb3581d MFH: r458431
databases/py-MySQLdb only supports Python 2, restrict ports that uses it.

Sponsored by:	Absolight
2018-01-18 20:27:37 +00:00
Mark Felder
c7794c96e4 MFH: r459372
net-mgmt/librenms: Update to 1.35, many improvements

Improvements:

-    All files should be owned root:wheel except logs and rrd which need to be writable by the app
-    Add missing php posix extension
-    Do not install config.php by default. This breaks the install process which won't run if this file exists
-    Clean up automatic PLIST creation: don't install .orig or .bak files, don't add @dir as they aren't needed
-    Patch LibreNMS to make /validate/ page not produce warnings about files not being writable (for git updates)
-    Remove the Updates validation check altogether as we won't be using git to update
-    Patch the User validation check to only check the logs and rrd dir and ensure the correct user owns them
-    Change the default user in the generated config to "www"
-    Patch the File Lock code to put the lock file in /tmp and not in the WWWDIR which should not be writable
-    Update message in installer to use WWWDIR as suggested path for config.php
-    Use shebangfix instead of patch where applicable
-    Fix APACHEMOD port option and declaration of the USES=php

PR:		225161
Differential Revision:	https://reviews.freebsd.org/D13907
2018-01-18 20:23:31 +00:00
Renato Botelho
1776f23d0e MFH: r459324
Update debian patch collection to version 17 since 16 is not available anymore

Reported by:	David Martin <dmartin@aisliny.com>
Sponsored by:	Rubicon Communications, LLC (Netgate)
Approved by:	ports-secteam (swills)
2018-01-18 14:24:36 +00:00
Dan Langille
df6605ff3c MFH: r459268
Fix build

was failing with:

Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'lib/ruby/gems/2.4/gems/passenger-5.1.12/dev/ci/tests/debian/run'
Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'lib/ruby/gems/2.4/gems/passenger-5.1.12/dev/ci/tests/rpm/run'
Error: '/usr/local/bin/python2' is an invalid shebang you need USES=shebangfix for 'lib/ruby/gems/2.4/gems/passenger-5.1.12/src/cxx_supportlib/vendor-copy/libuv/gyp_uv.py'

Approved by:	portmgr@ (blanket approval)
2018-01-18 14:09:10 +00:00
Jan Beich
57037af669 MFH: r459305
emulators/citra: update to s20180118

Changes:	79dca3d6...93cca23d
Approved by:	ports-secteam (swills, implicit for snapshots)
2018-01-18 00:59:14 +00:00
Jan Beich
2d9735c571 MFH: r459299
emulators/rpcs3: update to 0.0.4.259

Changes:	24e97b9e0...71f69d1d4
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-01-18 00:25:42 +00:00
Mahdi Mokhtari
f72201b962 MFH: r459295
databases/mysql56-{client, server}: Update to 5.7.21
This update fixes bugs like CVE-2018-2696, CVE-2018-2562, CVE-2018-2640,
CVE-2018-2668, CVE-2017-3737 (and more) in MySQL protocol by upstream.

Delete local patches (CMake plugin macros) that are merged by upstream.

PR:		225195
Sponsored by:	Netzkommune GmbH

Approved by:	ports-secteam (feld)
2018-01-17 23:57:31 +00:00
Mahdi Mokhtari
5406cc80e0 MFH: r459293
databases/mysql56-{client, server}: Update to 5.6.39
This update fixes bugs like CVE-2018-2696, CVE-2018-2562,
and CVE-2018-2583 in MySQL protocol by upstream

PR:		225240
Sponsored by:	Netzkommune GmbH

Approved by:	ports-secteam (feld)
2018-01-17 23:30:05 +00:00
Jan Beich
9ea15fdd6f MFH: r459277
www/waterfox: apply more FF58 fixes

Approved by:	ports-secteam blanket
2018-01-17 18:39:38 +00:00
Thomas Abthorpe
350040b6e8 MFH: r459270
- Fix build for FreeBSD 11+

Approved by:	portmgr (swills)
2018-01-17 17:28:40 +00:00
Mark Felder
8b7a8953bb MFH: r459263
devel/arcanist: Fix QA warnings

- shebangfix
- regen port patch
- RUN_DEPENDS earlier for portlint
2018-01-17 15:12:45 +00:00
Tobias Kortkamp
1f92da925c MFH: r459259
ports-mgmt/fastest_sites: Fix runtime with modern bsd.sites.mk

fastest_sites currently can't parse entries like

https://archives.fedoraproject.org/pub/archive/fedora/linux/%SUBDIR%/:DEFAULT,SOURCE

 => Checking servers for MASTER_SITE_FEDORA_LINUX (6 servers)
Traceback (most recent call last):
  File "/usr/local/bin/fastest_sites", line 164, in <module>
    latency_list = FindFastest(varname, sitelist)
  File "/usr/local/bin/fastest_sites", line 110, in FindFastest
    AsyncConnect(url, callback)
  File "/usr/local/bin/fastest_sites", line 53, in __init__
    self.ParseURL()
  File "/usr/local/bin/fastest_sites", line 64, in ParseURL
    (scheme, remainder) = self._url.split(":", 2)
ValueError: too many values to unpack

PR:		224854

Approved by:	ports-secteam blanket
2018-01-17 14:30:51 +00:00
Jan Beich
689b2e8555 MFH: r459226
www/waterfox: unbreak HTTP auth dialog after r458873

PR:		225231
Reported by:	Graham Perrin
Approved by:	ports-secteam blanket
2018-01-17 08:59:58 +00:00
Mathieu Arnold
a2a6fc1c7d MFH: r459224
Update to latest commit.

Security:	CVE-2017-3145
Sponsored by:	Absolight
2018-01-17 08:39:20 +00:00
Mathieu Arnold
433187f7ab MFH: r459221
Update BIND9* to 9.9.11-P1, 9.10.6-P1, 9.11.2-P1 and 9.12.0rc3

Security:	CVE-2017-3145
Sponsored by:	Absolight
2018-01-17 08:06:01 +00:00
Mark Felder
283721af72 MFH: r459209
devel/libevent: Fix QA warning

Need shebangfix for Python script, but we will consciously avoid adding
Python as a build or run dependency for a script that is unlikely to be
used.

PR:		224575
2018-01-16 22:16:28 +00:00
Steve Wills
3ccef86c45 Again sync up with HEAD
MFH: r459205

Revert Intel URL to the correct location for microcode-20171117.tgz

PR:		225224
Reported by:	Gary <freebsd-bugzilla@in-addr.com>
Sponsored by:	Limelight Networks

Approved by:	ports-secteam (implicit)
2018-01-16 20:57:51 +00:00
Tobias Kortkamp
959f2fbbc5 MFH: r459164
www/palemoon: Update to 27.7.0

Changes:	http://www.palemoon.org/releasenotes.shtml
PR:		225210
Submitted by:	lichray@gmail.com (maintainer)

Approved by:	ports-secteam blanket
2018-01-16 13:32:29 +00:00
Jan Beich
dc436ce065 MFH: r459140
emulators/citra: update to s20180113

Changes:	9b647d45...79dca3d6
Approved by:	ports-secteam (swills, implicit for snapshots)
2018-01-16 00:55:55 +00:00
Jan Beich
37e8d0781f MFH: r459141 r459144
emulators/rpcs3: update to 0.0.4.252

Changes:	c951601fa...24e97b9e0
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-01-16 00:55:10 +00:00
Steve Wills
7ce67942e3 sync up with HEAD
MFH: r458664 r458792 r458943 r458987 r459084

sysutils/devcpu-data follow up commit to 20180108 Intel microcode update.

Run cpucontrol -e after microcode update to refresh cpu flags.  If running
on an older system without -e, fail silently.

Log any upgrade output via logger to /var/log/messages.

Add an instructional pkg-message for users.

Intel Release Notes:
Intel Processor Microcode Package for Linux
20180108 Release

-- Updates upon 20171117 release --
IVT C0          (06-3e-04:ed) 428->42a
SKL-U/Y D0      (06-4e-03:c0) ba->c2
BDW-U/Y E/F     (06-3d-04:c0) 25->28
HSW-ULT Cx/Dx   (06-45-01:72) 20->21
Crystalwell Cx  (06-46-01:32) 17->18
BDW-H E/G       (06-47-01:22) 17->1b
HSX-EX E0       (06-3f-04:80) 0f->10
SKL-H/S R0      (06-5e-03:36) ba->c2
HSW Cx/Dx       (06-3c-03:32) 22->23
HSX C0          (06-3f-02:6f) 3a->3b
BDX-DE V0/V1    (06-56-02:10) 0f->14
BDX-DE V2       (06-56-03:10) 700000d->7000011
KBL-U/Y H0      (06-8e-09:c0) 62->80
KBL Y0 / CFL D0 (06-8e-0a:c0) 70->80
KBL-H/S B0      (06-9e-09:2a) 5e->80
CFL U0          (06-9e-0a:22) 70->80
CFL B0          (06-9e-0b:02) 72->80
SKX H0          (06-55-04:b7) 2000035->200003c
GLK B0          (06-7a-01:01) 1e->22

Reviewed by:	A bunch of folks on the review
Sponsored by:	Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D13815

Revert to previous Intel microcode archive (20171117).

FreeBSD kernel changes to make use of the capabilities provided by the
new microcode update have not yet been committed. Since we do not yet
require them, allow more time for validation.

Approved by:	emaste
Sponsored by:	Limelight Networks

sysutils/devcpu-data: Update AMD microcode, add cpu 17h microcode,
drop malfunctioning individual "AMD-XXX" files.

On the few machines that actually have microcode updates, chopping up the
microcode is incorrect and results in a failure to update.  Don't do that.

I personally run this on my FX-8150 and this has been tested by a few others.

Sponsored by:	 Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D13832

sysutils/devcpu-data:  Only run "cpucontrol -e" once.

Submitted by:	kib
Sponsored by:	Limelight Networks

sysutils/devcpu-data: fix rc script

PR:		225173
Reviewed by:	sbruno
Approved by:	portmgr (implicit)
Approved by:	ports-secteam (implicit)
2018-01-15 17:28:41 +00:00
Torsten Zuehlsdorff
98e9d0b8e4 MFH: r458655
lang/php70: Update from 7.0.26 to 7.0.27

Changelog: http://www.php.net/ChangeLog-7.php#7.0.27

Approved by: ports-secteam (swills)
2018-01-15 16:50:30 +00:00
Torsten Zuehlsdorff
103accb225 MFH: r458658
Update PHP 7.1 from 7.1.12 to 7.1.13

Changelog: http://www.php.net/ChangeLog-7.php#7.1.13

PR:  224955

Approved by: ports-secteam (swills)
2018-01-15 16:48:39 +00:00
Guido Falsi
0aabb02e2a MFH: r458159
Import upstream patch to fix crash in certain situations.

Obtained from:	ed12af1f89 (diff-b4c630fa7a766bd2e17a1838276ea339)

Approved by:	ports-secteam (swills)
2018-01-15 15:02:01 +00:00
Cy Schubert
3e23440283 MFH: r459017
Some users have reported broken buttons. Make broken buttons work.

Submitted by:	John Hay <john@sanren.ac.za>
Approved by:	portmgr (swills)
2018-01-15 14:13:15 +00:00
Lars Engels
4ad9ada9e8 MFH: r458808
net-mgmt/aircrack-ng:

- Include pcap.h using a relative path. Some environments failed to find it.
- Bump PORTREVISION

This most probably also fixes 190725

PR:		225050
Submitted by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>

Approved by:	portmgr (swills)
2018-01-15 09:20:15 +00:00
Antoine Brodin
2c2b95b740 MFH: r459020
Skip ENOMEM check for printf when building with qemu, this makes
configure hang

PR:		224740
Reported by:	pkg-fallout
With hat:	portmgr
2018-01-15 08:18:49 +00:00
Antoine Brodin
faa5f3a506 MFH: r459001
Skip ENOMEM check for printf when building with qemu, this makes
configure hang

PR:		224740
Reported by:	pkg-fallout
With hat:	portmgr
2018-01-14 22:06:20 +00:00
Sunpoet Po-Chuan Hsieh
5bc80bdaeb MFH: r457878 r457976
Fix build on Ruby prior to 2.5

Ruby 2.5 bundled RDoc 6.0.1. Due to unknown RDoc issue, RDoc prior to
6.0.0.beta1+ failed to parse the regex in lib/liquid/tag/parser.rb.
Upstream also set "has_rdoc = false" in gemspec.

Use OPTIONS_EXCLUDE=DOCS instead of NOPORTDOCS

Suggested by:	mat

Approved by:	ports-secteam (blanket)
2018-01-13 07:47:11 +00:00
Jan Beich
0b8ba30fec MFH: r458884
emulators/rpcs3: update to 0.0.4.234

Changes:	51a2b43d8...c951601fa
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-01-13 00:57:10 +00:00
Jan Beich
c935b56fcf MFH: r458883
emulators/citra: update to s20180111

Changes:	2e418106...9b647d45
Approved by:	ports-secteam (swills, implicit for snapshots)
2018-01-13 00:55:04 +00:00
Jan Beich
d8e1dff591 MFH: r458873
www/waterfox: update to 56.0.3

- Apply more FF58 fixes [1]

Changes:	https://github.com/MrAlex94/Waterfox/compare/56.0.2...56.0.3
Security:	a891c5b4-3d7a-4de9-9c71-eef3fd698c77 [1]
Approved by:	ports-secteam blanket
2018-01-12 21:37:15 +00:00
Mark Felder
5f9fc3c26c MFH: r458861
databases/percona57: Fix build with SASL

If SASL is detected at build time it assumes you want SASL and also
errors due to assuming we're Linux. This was already patched in our tree
for MySQL.

Also enable SASL support by default for the databases/percona57-client.
This is expected to be the default by upstream now.

Special thanks to mmokhi for figuring this out for us.

PR:		220865
2018-01-12 17:54:13 +00:00
Thomas Zander
70205ef2ba MFH: r457963
Update to upstream release 1.4.6 (bug fixes)

Approved by:	ports-secteam (swills)
2018-01-11 18:59:10 +00:00
Torsten Zuehlsdorff
5cd2caf0e3 MFH: r458659
lang/php72: Update from 7.2.0 to 7.2.1

Changelog: http://www.php.net/ChangeLog-7.php#7.2.1

PR:  224953

Approved by: ports-secteam (swills)
2018-01-11 15:29:36 +00:00
Danilo G. Baio
516d1dffae MFH: r458496
www/awstats: Update to 7.7, Fixes security vulnerability

Pass MAINTAINER'ship to submitter.

Changes:	http://www.awstats.org/docs/awstats_changelog.txt

PR:		225007
Submitted by:	Vidar Karlsen <vidar@karlsen.tech>
Security:	4055aee5-f4c6-11e7-95f2-005056925db4

Approved by:	ports-secteam (swills)
2018-01-11 12:59:14 +00:00
Danilo G. Baio
b9a6f6b91e MFH: r458290
irc/irssi: Update to 1.0.6, Fixes multiple security vulnerabilities

While here, update license and www.

Changes:	https://raw.githubusercontent.com/irssi/irssi/1.0.6/NEWS

PR:		224954
Submitted by:	David O'Rourke <dor.bsd@xm0.uk> (maintainer)
Reported by:	tj@mrsk.me (email)
Security:	a3764767-f31e-11e7-95f2-005056925db4

Approved by:	ports-secteam (swills)
2018-01-11 12:43:54 +00:00
Lars Engels
8b1ad3f9ad MFH: r457968
net-mgmt/icingaweb2:

- Install icingacli to ${PREFIX}/bin and patch it to make it usable. Now you
  can configure Icinga Web 2 with it and can use the embedded PHP web server.
- Bump PORTREVISION

Approved by:	portmgr (swills)
2018-01-11 09:13:58 +00:00
Richard Gallamore
8d5d0af483 MFH: r457965 r458047
Update devel/json-c to 0.13

- Add TEST_TARGET
- While I'm here, fix shebang for net/opensips
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/json-c/json-c/blob/master/ChangeLog
PR:		224675
Exp-run by:	antoine

* Revision bump for libevhtp
* Fix build errors for updated libevhtp

Approved by:	ports-secteam (swills)
2018-01-11 01:45:36 +00:00
Jan Beich
ba5fa3bb5b MFH: r458705
www/firefox: work around crash on FreeBSD 10

PR:		224917
Suggested by:	dim
Approved by:	ports-secteam blanket
2018-01-11 00:55:34 +00:00
Jan Beich
20d8604762 MFH: r458703
emulators/citra: update to s20180110

Changes:	a66e4585...2e418106
Approved by:	ports-secteam (swills, implicit for snapshots)
2018-01-11 00:54:57 +00:00
Jan Beich
8929b6240b MFH: r458702
emulators/rpcs3: update to 0.0.4.230

Changes:	19d181fa4...51a2b43d8
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-01-11 00:54:16 +00:00
Richard Gallamore
24399668e7 MFH: r458046
* Revision bump for libevhtp
* Fix build warnings / errors for updated libevhtp

Approved by:	ports-secteam (swills)
2018-01-10 20:08:41 +00:00
Richard Gallamore
d7930c1fc3 MFH: r458045
* Updated to 1.2.15
* Uses system oniguruma when REGEX option is enabled, default on

Reviewed by:	mat
Security:	https://vuxml.freebsd.org/freebsd/b396cf6c-62e6-11e7-9def-b499baebfeaf.html
Differential Revision:	https://reviews.freebsd.org/D13742

Approved by:	ports-secteam (swills)
2018-01-10 20:07:52 +00:00
Matthias Andree
31d822d6ac MFH: r457962
Bugfix update to new upstream release 1.43.8.

This fixes a few important bugs where updates are missed, displayed data is
incorrect, a use-after-free-bug and fixes important bugs WRT super block
handling on big-endian systems (missed byte-swaps).

Changelog: <http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.8>

Approved by:	ports-secteam (swills)
2018-01-10 19:47:11 +00:00
Guido Falsi
14ee654756 MFH: r458165
Fix conditional in flavoring.

I missed this change when I committed the approved review.

Reviewed by:		portmgr (mat)
Approved by:		portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D13478

Approved by:		ports-secteam (swills)
2018-01-10 19:42:34 +00:00
Dmitry Marakasov
d77ce928ee MFH: r458625
- Fix build on mips by disabling unknown warning flag

Approved by:	portmgr blanket
With hat:	ports-secteam
2018-01-10 12:41:04 +00:00
Dmitry Marakasov
f7dfecdc6f MFH: r458622
- Don't try to use lib32 directory, fixes build on mips
- While here, tiny whitespace fix

With hat:	ports-secteam
Approved by:	portmgr blanket
2018-01-10 12:04:31 +00:00
Baptiste Daroussin
5a6d0df99f MFH: r458617
Update Intel microcode to 20180108

Sponsored by:	Gandi.net
2018-01-10 10:05:45 +00:00
Jung-uk Kim
d4993ef6c0 MFH: r458574
Update to 28.0.0.137.

https://helpx.adobe.com/security/products/flash-player/apsb18-01.html

PR:		225034
Approved by:	ports-secteam (blanket)
2018-01-09 21:16:17 +00:00
Ben Woods
668c95222d MFH: r458532
graphics/synfigstudio: Unbreak build

Reported by:	Ian Trudel <ian.trudel@gmail.com>

Approved by:	ports-secteam (implicit)
2018-01-09 15:13:31 +00:00
Jan Beich
fd5b010a2e MFH: r458499
www/waterfox: regen distfiles

--- addon-sdk/source/python-lib/cuddlefish/_version.py	2018-01-05 15:13:08 UTC
+++ addon-sdk/source/python-lib/cuddlefish/_version.py	2018-01-06 01:21:25 UTC
@@ -9,8 +9,8 @@
 # (https://github.com/warner/python-versioneer)

 # these strings will be replaced by git during git-archive
-git_refnames = " (HEAD -> master, tag: 56.0.2)"
-git_full = "d0769caa90211e71c90bc4f89d95d7ff36af7f8c"
+git_refnames = " (tag: 56.0.2)"
+git_full = "5404f1c5a5bb8add0abc75f2f0e42d28532f74ed"

 import subprocess
--- media/libcubeb/src/moz.build	2018-01-05 15:13:08 UTC
+++ media/libcubeb/src/moz.build	2018-01-06 01:21:25 UTC
@@ -89,4 +89,4 @@ CFLAGS += CONFIG['MOZ_ALSA_CFLAGS']
 CFLAGS += CONFIG['MOZ_PULSEAUDIO_CFLAGS']

 # We allow warnings for third-party code that can be updated from upstream.
-AllowCompilerWarnings()
+ALLOW_COMPILER_WARNINGS = True

Approved by:	ports-secteam blanket
2018-01-09 00:54:28 +00:00
Bryan Drewery
b34f83e4bb MFH: r458394
Fix flavor helpers when only bsd.port.pre.mk is not used and FLAVOR is not set.

The helpers were being evaluated before the default FLAVOR was set. The
helpers worked fine if the FLAVOR was specified by the user but not if
it was left to the default value. Resolve this by moving the helpers
right after the default FLAVOR is set.

PR:		224879
exp-run by:	antoine
Approved by:	portmgr (implicit)
Differential Revision:	https://reviews.freebsd.org/D13756
2018-01-08 00:25:28 +00:00
Antoine Brodin
0e8b24c071 MFH: r458169 r458363
sysutils/devcpu-data:

- Update Intel microcode to 20171117
- Use local distcache for amd microcode
2018-01-07 19:02:35 +00:00
Thomas Zander
555ac885c9 MFH: r458315
Fix build failure in check-plist; add missing dependency on libogg

PR:		221566
Submitted by:	yuri

Approved by:	ports-secteam (build fix blanket)
2018-01-07 12:07:45 +00:00
Antoine Brodin
f81b065f70 MFH: r458235 r458238
Fix after empty FLAVOR as make argument was forbidden

Remove the use of submake, and use the parent's port shared library
instead.

While there, remove an obsolete sed line that does not match anything.
2018-01-06 11:59:44 +00:00
Jan Beich
13221b9561 MFH: r458224
games/aquaria: unbreak with LLD by default

Linking with LLD currently fails due to preemption of symbols with
protected visibility in a shared object:

/usr/bin/ld: error: cannot preempt symbol: alGetSourcei
>>> defined in /usr/local/lib/libopenal.so
>>> referenced by BBGE/FmodOpenALBridge.cpp
>>>               CMakeFiles/aquaria.dir/BBGE/FmodOpenALBridge.cpp.o:(OggDecoder::decode_loop(OggDecoder*))

/usr/bin/ld: error: cannot preempt symbol: alSourceUnqueueBuffers
>>> defined in /usr/local/lib/libopenal.so
>>> referenced by BBGE/FmodOpenALBridge.cpp
>>>               CMakeFiles/aquaria.dir/BBGE/FmodOpenALBridge.cpp.o:(OggDecoder::decode_loop(OggDecoder*))
[...]

For now set LLD_UNSAFE=yes so that the port will continue to link with
ld.bfd if /usr/bin/ld is lld, until the issue can be addressed (with a
change in openal-soft or in lld).

Reported by:	antoine (via bug 214864)
Approved by:	ports-secteam blanket
2018-01-06 06:01:14 +00:00
Jan Beich
ba2cc16229 MFH: r458223
games/aquaria: unbreak build with Clang 6 (C++14 by default)

Aquaria/ScriptInterface.cpp:10412:59: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
 #define MK_ALIAS(prefix, suffix, alias) {MK_STR(prefix)"_"MK_STR(alias), l_##prefix##_##suffix},
                                                           ^

Reported by:	antoine (via bug 224669)
Approved by:	ports-secteam blanket
2018-01-06 06:00:01 +00:00
Jan Beich
09ec281497 MFH: r458221
net/libutp: unbreak build with Clang 6 (C++14 by default)

c++  -O2 -pipe -fstack-protector -fno-strict-aliasing  -fno-exceptions -fno-rtti -I/wrkdirs/usr/ports/net/libutp/work/libutp-7c4f19a -I/wrkdirs/usr/ports/net/libutp/work/libutp-7c4f19a/utp_config_lib -DPOSIX -Wall  -Wno-c++11-extensions  -c utp.cpp -o utp.o
utp.cpp:1708:91: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
                        "scaled_gain:%f rtt:%u rate:%u quota:%d wnduser:%u rto:%u timeout:%d get_microseconds:"I64u" "
                                                                                                               ^

utp.cpp:1793:79: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
        LOG_UTPV("0x%08x: Got %s. seq_nr:%u ack_nr:%u state:%s version:%u timestamp:"I64u" reply_micro:%u",
                                                                                     ^

Reported by:	antoine (via bug 224669)
Approved by:	ports-secteam blanket
2018-01-06 05:39:32 +00:00
Jan Beich
9a2ff54128 MFH: r458212
math/py-matplotlib: unbreak build with Clang 6 (C++14 by default)

extern/ttconv/pprdrv_tt.cpp:245:41: error: cast from pointer to smaller type 'char' loses information
                font->Copyright[length]=(char)NULL;
                                        ^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:261:42: error: cast from pointer to smaller type 'char' loses information
                font->FamilyName[length]=(char)NULL;
                                         ^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:277:37: error: cast from pointer to smaller type 'char' loses information
                font->Style[length]=(char)NULL;
                                    ^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:293:40: error: cast from pointer to smaller type 'char' loses information
                font->FullName[length]=(char)NULL;
                                       ^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:309:39: error: cast from pointer to smaller type 'char' loses information
                font->Version[length]=(char)NULL;
                                      ^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:325:40: error: cast from pointer to smaller type 'char' loses information
                font->PostName[length]=(char)NULL;
                                       ^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:340:42: error: cast from pointer to smaller type 'char' loses information
                font->PostName[length/2]=(char)NULL;
                                         ^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:355:41: error: cast from pointer to smaller type 'char' loses information
                font->Trademark[length]=(char)NULL;
                                        ^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:1041:19: error: cast from pointer to smaller type 'char' loses information
        temp[len]=(char)NULL;   /* a buffer and make it ASCIIz. */
                  ^~~~~~~~~~

Reported by:	antoine (via bug 224669)
Approved by:	ports-secteam blanket
2018-01-06 05:24:56 +00:00
Jan Beich
b218ad438e MFH: r458210
multimedia/vdr: unbreak build with Clang 6 (C++14 by default)

dvbsubtitle.c:854:43: error: invalid suffix on literal; C++11 requires a space between literal and identifier
      [-Wreserved-user-defined-literal]
           dbgconverter("Converter PTS: %"PRId64"\n", pts);
                                          ^

dvbsubtitle.c:890:43: error: invalid suffix on literal; C++11 requires a space between literal and identifier
      [-Wreserved-user-defined-literal]
           dbgconverter("Converter PTS: %"PRId64"\n", pts);
                                          ^

dvbsubtitle.c:949:45: error: invalid suffix on literal; C++11 requires a space between literal and identifier
      [-Wreserved-user-defined-literal]
                       dbgconverter("PTS: %"PRId64"  STC: %"PRId64" (%"PRId64") timeout: %d\n", sb->Pts()...
                                            ^

dvbsubtitle.c:949:61: error: invalid suffix on literal; C++11 requires a space between literal and identifier
      [-Wreserved-user-defined-literal]
                       dbgconverter("PTS: %"PRId64"  STC: %"PRId64" (%"PRId64") timeout: %d\n", sb->Pts()...
                                                            ^

dvbsubtitle.c:949:72: error: invalid suffix on literal; C++11 requires a space between literal and identifier
      [-Wreserved-user-defined-literal]
                       dbgconverter("PTS: %"PRId64"  STC: %"PRId64" (%"PRId64") timeout: %d\n", sb->Pts()...
                                                                       ^

dvbsubtitle.c:1047:58: error: invalid suffix on literal; C++11 requires a space between literal and identifier
      [-Wreserved-user-defined-literal]
            dbgpages("Update page id %d version %d pts %"PRId64" timeout %d state %d\n", pageId, page->Ver...
                                                         ^

6 errors generated.
recording.c:1646:52: error: invalid suffix on literal; C++11 requires a space between literal and identifier
      [-Wreserved-user-defined-literal]
              esyslog("ERROR: invalid file size (%"PRId64") in '%s'", buf.st_size, *fileName);
                                                   ^

1 error generated.
remote.c:127:42: error: invalid suffix on literal; C++11 requires a space between literal and identifier
      [-Wreserved-user-defined-literal]
  snprintf(buffer, sizeof(buffer), "%016"PRIX64, Code);
                                         ^

ci.c:854:40: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char')
      in initializer list [-Wc++11-narrowing]
     tTime T = { mjd : htons(MJD), h : DEC2BCD(tm_gmt.tm_hour), m : DEC2BCD(tm_gmt.tm_min), s : DEC2BCD(tm...
                                       ^~~~~~~~~~~~~~~~~~~~~~~
ci.c:852:20: note: expanded from macro 'DEC2BCD'
 #define DEC2BCD(d) (((d / 10) << 4) + (d % 10))
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ci.c:854:40: note: insert an explicit cast to silence this issue
     tTime T = { mjd : htons(MJD), h : DEC2BCD(tm_gmt.tm_hour), m : DEC2BCD(tm_gmt.tm_min), s : DEC2BCD(tm...
                                       ^~~~~~~~~~~~~~~~~~~~~~~
                                       static_cast<uint8_t>(  )
ci.c:852:20: note: expanded from macro 'DEC2BCD'
 #define DEC2BCD(d) (((d / 10) << 4) + (d % 10))
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ci.c:854:69: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char')
      in initializer list [-Wc++11-narrowing]
     tTime T = { mjd : htons(MJD), h : DEC2BCD(tm_gmt.tm_hour), m : DEC2BCD(tm_gmt.tm_min), s : DEC2BCD(tm...
                                                                    ^~~~~~~~~~~~~~~~~~~~~~
ci.c:852:20: note: expanded from macro 'DEC2BCD'
 #define DEC2BCD(d) (((d / 10) << 4) + (d % 10))
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ci.c:854:69: note: insert an explicit cast to silence this issue
     tTime T = { mjd : htons(MJD), h : DEC2BCD(tm_gmt.tm_hour), m : DEC2BCD(tm_gmt.tm_min), s : DEC2BCD(tm...
                                                                    ^~~~~~~~~~~~~~~~~~~~~~
                                                                    static_cast<uint8_t>( )
ci.c:852:20: note: expanded from macro 'DEC2BCD'
 #define DEC2BCD(d) (((d / 10) << 4) + (d % 10))
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ci.c:854:97: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char')
      in initializer list [-Wc++11-narrowing]
  ...htons(MJD), h : DEC2BCD(tm_gmt.tm_hour), m : DEC2BCD(tm_gmt.tm_min), s : DEC2BCD(tm_gmt.tm_sec), offset : ...
                                                                              ^~~~~~~~~~~~~~~~~~~~~~
ci.c:852:20: note: expanded from macro 'DEC2BCD'
 #define DEC2BCD(d) (((d / 10) << 4) + (d % 10))
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ci.c:854:97: note: insert an explicit cast to silence this issue
  ...htons(MJD), h : DEC2BCD(tm_gmt.tm_hour), m : DEC2BCD(tm_gmt.tm_min), s : DEC2BCD(tm_gmt.tm_sec), offset : ...
                                                                              ^~~~~~~~~~~~~~~~~~~~~~
                                                                              static_cast<uint8_t>( )
ci.c:852:20: note: expanded from macro 'DEC2BCD'
 #define DEC2BCD(d) (((d / 10) << 4) + (d % 10))
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ci.c:854:130: error: non-constant-expression cannot be narrowed from type '__uint16_t' (aka 'unsigned short') to
      'short' in initializer list [-Wc++11-narrowing]
  ...m : DEC2BCD(tm_gmt.tm_min), s : DEC2BCD(tm_gmt.tm_sec), offset : htons(tm_loc.tm_gmtoff / 60) };
                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/arpa/inet.h:173:18: note: expanded from macro 'htons'
 #define htons(x)        __htons(x)
                         ^~~~~~~~~~
/usr/include/x86/endian.h:129:20: note: expanded from macro '__htons'
 #define __htons(x)      __bswap16(x)
                         ^~~~~~~~~~~~
/usr/include/x86/endian.h:76:2: note: expanded from macro '__bswap16'
        ((__uint16_t)(__builtin_constant_p(x) ? \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ci.c:854:130: note: insert an explicit cast to silence this issue
  ...m : DEC2BCD(tm_gmt.tm_min), s : DEC2BCD(tm_gmt.tm_sec), offset : htons(tm_loc.tm_gmtoff / 60) };
                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                      static_cast<short>(         )
/usr/include/arpa/inet.h:173:18: note: expanded from macro 'htons'
 #define htons(x)        __htons(x)
                         ^~~~~~~~~~
/usr/include/x86/endian.h:129:20: note: expanded from macro '__htons'
 #define __htons(x)      __bswap16(x)
                         ^~~~~~~~~~~~
/usr/include/x86/endian.h:76:2: note: expanded from macro '__bswap16'
        ((__uint16_t)(__builtin_constant_p(x) ? \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reported by:	antoine (via bug 224669)
Approved by:	ports-secteam blanket
2018-01-06 05:08:08 +00:00
Jan Beich
d4e6a8dade MFH: r458191
textproc/exempi: unbreak build with Clang 6 (C++14 by default)

In file included from MP3_Handler.cpp:11:
In file included from ./MP3_Handler.hpp:15:
./../FormatSupport/ID3_Support.hpp:703:81: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
                        if ( meta->GetLocalizedText( kXMP_NS_DC, "title", "", "x-default", 0, &utf8, kXMP_NoOptions ))
                                                                                                     ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:1232:28: note: passing argument to parameter 'options' here
                                                    XMP_OptionBits * options ) const;
                                                                     ^
In file included from MP3_Handler.cpp:11:
In file included from ./MP3_Handler.hpp:15:
./../FormatSupport/ID3_Support.hpp:710:57: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
                        if ( meta->GetProperty( kXMP_NS_DM, "artist", &utf8, kXMP_NoOptions ))
                                                                             ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
In file included from MP3_Handler.cpp:11:
In file included from ./MP3_Handler.hpp:15:
./../FormatSupport/ID3_Support.hpp:717:56: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
                        if ( meta->GetProperty( kXMP_NS_DM, "album", &utf8, kXMP_NoOptions ))
                                                                            ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
In file included from MP3_Handler.cpp:11:
In file included from ./MP3_Handler.hpp:15:
./../FormatSupport/ID3_Support.hpp:724:62: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
                        if ( meta->GetProperty( kXMP_NS_XMP, "CreateDate", &utf8, kXMP_NoOptions ))
                                                                                  ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
In file included from MP3_Handler.cpp:11:
In file included from ./MP3_Handler.hpp:15:
./../FormatSupport/ID3_Support.hpp:736:61: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
                        if ( meta->GetProperty( kXMP_NS_DM, "logComment", &utf8, kXMP_NoOptions ))
                                                                                 ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
In file included from MP3_Handler.cpp:11:
In file included from ./MP3_Handler.hpp:15:
./../FormatSupport/ID3_Support.hpp:743:56: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
                        if ( meta->GetProperty( kXMP_NS_DM, "genre", &utf8, kXMP_NoOptions ))
                                                                            ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
In file included from MP3_Handler.cpp:11:
In file included from ./MP3_Handler.hpp:15:
./../FormatSupport/ID3_Support.hpp:763:62: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
                        if ( meta->GetProperty( kXMP_NS_DM, "trackNumber", &utf8, kXMP_NoOptions ))
                                                                                  ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
RIFF_Support.cpp:607:79: error: cannot initialize a parameter of type 'XMP_OptionBits *'
      (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
  ...( xmp->GetProperty( bextCodingHistory.ns, bextCodingHistory.prop, &value, kXMP_NoOptions ))
                                                                               ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
RIFF_Support.cpp:619:75: error: cannot initialize a parameter of type 'XMP_OptionBits *'
      (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
        if ( xmp->GetProperty( bextDescription.ns, bextDescription.prop, &value, kXMP_NoOptions ) )
                                                                                 ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
RIFF_Support.cpp:626:74: error: cannot initialize a parameter of type 'XMP_OptionBits *'
      (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
        if ( xmp->GetProperty( bextOriginator.ns , bextOriginator.prop, &value, kXMP_NoOptions ) )
                                                                                ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
RIFF_Support.cpp:633:80: error: cannot initialize a parameter of type 'XMP_OptionBits *'
      (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
  ...( xmp->GetProperty( bextOriginatorRef.ns , bextOriginatorRef.prop, &value, kXMP_NoOptions ) )
                                                                                ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
RIFF_Support.cpp:640:84: error: cannot initialize a parameter of type 'XMP_OptionBits *'
      (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
  ...bextOriginationDate.ns , bextOriginationDate.prop, &value, kXMP_NoOptions ) )
                                                                ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
RIFF_Support.cpp:647:84: error: cannot initialize a parameter of type 'XMP_OptionBits *'
      (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
  ...bextOriginationTime.ns , bextOriginationTime.prop, &value, kXMP_NoOptions ) )
                                                                ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
RIFF_Support.cpp:655:79: error: cannot initialize a parameter of type 'XMP_OptionBits *'
      (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
  ...( xmp->GetProperty( bextTimeReference.ns, bextTimeReference.prop, &value, kXMP_NoOptions ) )
                                                                               ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
RIFF_Support.cpp:678:61: error: cannot initialize a parameter of type 'XMP_OptionBits *'
      (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
        if ( xmp->GetProperty( bextUMID.ns, bextUMID.prop, &value, kXMP_NoOptions ) )
                                                                   ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
RIFF_Support.cpp:697:79: error: cannot initialize a parameter of type 'XMP_OptionBits *'
      (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
  ...( xmp->GetProperty( bextCodingHistory.ns, bextCodingHistory.prop, &value, kXMP_NoOptions ) )
                                                                               ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^

Reported by:	antoine (via bug 224669)
Obtained from:	upstream (exempi 2.4.0)
Approved by:	ports-secteam blanket
2018-01-06 04:14:06 +00:00
Jan Beich
83516f5428 MFH: r458189
textproc/scim: unbreak build with Clang 6 (C++14 by default)

In file included from scim_backend.cpp:33:
In file included from ./scim.h:193:
In file included from /usr/include/c++/v1/iostream:38:
In file included from /usr/include/c++/v1/ios:216:
In file included from /usr/include/c++/v1/__locale:15:
In file included from /usr/include/c++/v1/string:477:
In file included from /usr/include/c++/v1/string_view:176:
In file included from /usr/include/c++/v1/__string:56:
In file included from /usr/include/c++/v1/algorithm:642:
/usr/include/c++/v1/utility:324:5: error: the parameter for this explicitly-defaulted copy constructor is const, but a member or base requires it to be non-const
    pair(pair const&) = default;
    ^
/usr/include/c++/v1/map:624:16: note: in instantiation of template class 'std::__1::pair<const std::__1::basic_string<char>, scim::Pointer<scim::IMEngineFactoryBase> >' requested here
    value_type __cc;
               ^
scim_backend.cpp:117:53: note: in instantiation of template class 'std::__1::__value_type<std::__1::basic_string<char>, scim::Pointer<scim::IMEngineFactoryBase> >' requested here
        for (it = m_factory_repository.begin (); it != m_factory_repository.end (); ++it) {
                                                    ^
In file included from scim_backend.cpp:33:
In file included from ./scim.h:193:
In file included from /usr/include/c++/v1/iostream:38:
In file included from /usr/include/c++/v1/ios:216:
In file included from /usr/include/c++/v1/__locale:15:
In file included from /usr/include/c++/v1/string:477:
In file included from /usr/include/c++/v1/string_view:176:
In file included from /usr/include/c++/v1/__string:56:
In file included from /usr/include/c++/v1/algorithm:642:
/usr/include/c++/v1/utility:324:5: error: the parameter for this explicitly-defaulted copy constructor is const, but a member or base requires it to be non-const
    pair(pair const&) = default;
    ^
/usr/include/c++/v1/map:625:21: note: in instantiation of template class 'std::__1::pair<std::__1::basic_string<char>, scim::Pointer<scim::IMEngineFactoryBase> >' requested here
    __nc_value_type __nc;
                    ^
scim_backend.cpp:117:53: note: in instantiation of template class 'std::__1::__value_type<std::__1::basic_string<char>, scim::Pointer<scim::IMEngineFactoryBase> >' requested here
        for (it = m_factory_repository.begin (); it != m_factory_repository.end (); ++it) {
                                                    ^
scim_debug.cpp:41:6: error: constant expression evaluates to -1 which cannot be narrowed to type
      'scim::uint32' (aka 'unsigned int') [-Wc++11-narrowing]
    {SCIM_DEBUG_AllMask,        "all"},
     ^~~~~~~~~~~~~~~~~~
./scim_debug.h:44:37: note: expanded from macro 'SCIM_DEBUG_AllMask'
 #define SCIM_DEBUG_AllMask          (~0) /**< Show all messages. */
                                     ^~~~
scim_debug.cpp:41:6: note: insert an explicit cast to silence this issue
    {SCIM_DEBUG_AllMask,        "all"},
     ^~~~~~~~~~~~~~~~~~
     static_cast<uint32>( )
./scim_debug.h:44:37: note: expanded from macro 'SCIM_DEBUG_AllMask'
 #define SCIM_DEBUG_AllMask          (~0) /**< Show all messages. */
                                     ^~~~

Reported by:	antoine (via bug 224669)
Obtained from:	upstream (SCIM 1.4.16)
Approved by:	ports-secteam blanket
2018-01-06 03:04:30 +00:00
Jan Beich
fb7ed1b2ba MFH: r458187
graphics/freeimage: unbreak build with Clang 6 (C++14 by default)

Source/LibRawLite/./internal/dcraw_common.cpp:3786:19: error: constant expression evaluates to 128 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
    -1,-2,-1,+0,0,0x80, -1,-2,+0,-1,0,0x01, -1,-2,+1,-1,0,0x01,
                  ^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3786:19: note: insert an explicit cast to silence this issue
    -1,-2,-1,+0,0,0x80, -1,-2,+0,-1,0,0x01, -1,-2,+1,-1,0,0x01,
                  ^~~~
                  static_cast<signed char>( )
Source/LibRawLite/./internal/dcraw_common.cpp:3787:39: error: constant expression evaluates to 136 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
    -1,-2,+1,+0,1,0x01, -1,-1,-1,+1,0,0x88, -1,-1,+1,-2,0,0x40,
                                      ^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3787:39: note: insert an explicit cast to silence this issue
    -1,-2,+1,+0,1,0x01, -1,-1,-1,+1,0,0x88, -1,-1,+1,-2,0,0x40,
                                      ^~~~
                                      static_cast<signed char>( )
Source/LibRawLite/./internal/dcraw_common.cpp:3794:19: error: constant expression evaluates to 128 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
    +0,-2,+0,+0,1,0x80, +0,-1,+0,+1,1,0x88, +0,-1,+1,-2,0,0x40,
                  ^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3794:19: note: insert an explicit cast to silence this issue
    +0,-2,+0,+0,1,0x80, +0,-1,+0,+1,1,0x88, +0,-1,+1,-2,0,0x40,
                  ^~~~
                  static_cast<signed char>( )
Source/LibRawLite/./internal/dcraw_common.cpp:3794:39: error: constant expression evaluates to 136 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
    +0,-2,+0,+0,1,0x80, +0,-1,+0,+1,1,0x88, +0,-1,+1,-2,0,0x40,
                                      ^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3794:39: note: insert an explicit cast to silence this issue
    +0,-2,+0,+0,1,0x80, +0,-1,+0,+1,1,0x88, +0,-1,+1,-2,0,0x40,
                                      ^~~~
                                      static_cast<signed char>( )
Source/LibRawLite/./internal/dcraw_common.cpp:3800:59: error: constant expression evaluates to 128 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
    +0,+1,+2,+1,0,0x20, +0,+1,+2,+2,0,0x10, +1,-2,+1,+0,0,0x80,
                                                          ^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3800:59: note: insert an explicit cast to silence this issue
    +0,+1,+2,+1,0,0x20, +0,+1,+2,+2,0,0x10, +1,-2,+1,+0,0,0x80,
                                                          ^~~~
                                                          static_cast<signed char>( )
Source/LibRawLite/./internal/dcraw_common.cpp:3801:19: error: constant expression evaluates to 136 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
    +1,-1,+1,+1,0,0x88, +1,+0,+1,+2,0,0x08, +1,+0,+2,-1,0,0x40,
                  ^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3801:19: note: insert an explicit cast to silence this issue
    +1,-1,+1,+1,0,0x88, +1,+0,+1,+2,0,0x08, +1,+0,+2,-1,0,0x40,
                  ^~~~
                  static_cast<signed char>( )
Source/LibRawLite/./internal/dcraw_common.cpp:7384:23: error: constant expression evaluates to 65535 which cannot be narrowed to type 'short' [-Wc++11-narrowing]
    { "Red One", 704, 0xffff,           /* DJC */
                      ^~~~~~
Source/LibRawLite/./internal/dcraw_common.cpp:7384:23: note: insert an explicit cast to silence this issue
    { "Red One", 704, 0xffff,           /* DJC */
                      ^~~~~~
                      static_cast<short>( )
Source/LibRawLite/./internal/dcraw_common.cpp:7943:30: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
      is_raw += (i = get4()) && 1;
                             ^  ~
Source/LibRawLite/./internal/dcraw_common.cpp:7943:30: note: use '&' for a bitwise operation
      is_raw += (i = get4()) && 1;
                             ^~
                             &
Source/LibRawLite/./internal/dcraw_common.cpp:7943:30: note: remove constant to silence this warning
      is_raw += (i = get4()) && 1;
                            ~^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:9239:30: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
  strcpy (th->soft, "dcraw v"DCRAW_VERSION);
                             ^

Reported by:	antoine (via bug 224669)
Obtained from:	upstream (LibRaw 0.17.0)
Approved by:	ports-secteam blanket
2018-01-06 02:16:24 +00:00
Jan Beich
397683f725 MFH: r458183
emulators/citra: update to s20180104

Changes:	e203c10c...a66e4585
Approved by:	ports-secteam (swills, implicit for snapshots)
2018-01-06 00:51:35 +00:00
Jan Beich
96d14894db MFH: r458182
emulators/rpcs3: update to 0.0.4.225

Changes:	198e9dce1...19d181fa4
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-01-06 00:50:42 +00:00
Jan Beich
f1c479d822 MFH: r458143 r458151
www/waterfox: update to 56.0.2

- Apply one more FF58 fix

Changes:	https://github.com/MrAlex94/Waterfox/compare/7da45c952fc0...56.0.2
Security:	Spectre
Approved by:	ports-secteam blanket
2018-01-06 00:28:07 +00:00
Christoph Moench-Tegeder
4a3b247630 MFH: r458140
www/firefox{,-18n}: update to 57.0.4

containing "Spectre" workaround
https://www.mozilla.org/en-US/firefox/57.0.4/releasenotes/

PR:		224933
Approved by:	jbeich (gecko)

Approved by:	portmgr (blanket: web browser)
2018-01-05 16:45:45 +00:00
Mark Felder
7fdffe8cfd MFH: r458145
net-im/py-matrix-synapse: Update to 0.26.0

Changelog:	https://github.com/matrix-org/synapse/releases/tag/v0.26.0
2018-01-05 15:02:12 +00:00
Jan Beich
6f1cdd3eb6 MFH: r458136
math/coinmp: unbreak build with Clang 6 (C++14 by default)

ClpModel.cpp:3848:24: error: reinterpret_cast from 'nullptr_t' to 'const char *' is not allowed
                       reinterpret_cast<const char*> (NULL) /*integrality*/,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OsiClpSolverInterface.cpp:1451:50: error: reinterpret_cast from 'nullptr_t' to 'int *' is not allowed
    messagesPointer->setDetailMessages(100,10000,reinterpret_cast<int *> (NULL));
                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from CglLandPSimplex.cpp:11:
In file included from ./CglLandPSimplex.hpp:31:
./CglLandPUtils.hpp:88:25: error: reinterpret_cast from 'nullptr_t' to 'OsiRowCut *' is not allowed
        cuts_.resize(i, reinterpret_cast<OsiRowCut *> (NULL));
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CbcModel.cpp:5322:41: error: reinterpret_cast from 'nullptr_t' to 'double *' is not allowed
            clpSolver->setFakeObjective(reinterpret_cast<double *> (NULL));
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reported by:	antoine (via bug 224669)
Approved by:	ports-secteam blanket
2018-01-05 12:38:26 +00:00
Jan Beich
75fad05dbb MFH: r458131
multimedia/smpeg2: unbreak build with Clang 6 (C++14 by default)

audio/hufftable.cpp:553:8: error: constant expression evaluates to -1 which cannot be narrowed to
      type 'unsigned int' [-Wc++11-narrowing]
  { 0, 0-1, 0-1, 0,  0, htd33},
       ^~~
audio/hufftable.cpp:553:8: note: insert an explicit cast to silence this issue
  { 0, 0-1, 0-1, 0,  0, htd33},
       ^~~
       static_cast<unsigned int>( )
audio/hufftable.cpp:553:13: error: constant expression evaluates to -1 which cannot be narrowed to
      type 'unsigned int' [-Wc++11-narrowing]
  { 0, 0-1, 0-1, 0,  0, htd33},
            ^~~
audio/hufftable.cpp:553:13: note: insert an explicit cast to silence this issue
  { 0, 0-1, 0-1, 0,  0, htd33},
            ^~~
            static_cast<unsigned int>( )
audio/hufftable.cpp:557:8: error: constant expression evaluates to -1 which cannot be narrowed to
      type 'unsigned int' [-Wc++11-narrowing]
  { 4, 0-1, 0-1, 0,  0, htd33},
       ^~~
audio/hufftable.cpp:557:8: note: insert an explicit cast to silence this issue
  { 4, 0-1, 0-1, 0,  0, htd33},
       ^~~
       static_cast<unsigned int>( )
audio/hufftable.cpp:557:13: error: constant expression evaluates to -1 which cannot be narrowed to
      type 'unsigned int' [-Wc++11-narrowing]
  { 4, 0-1, 0-1, 0,  0, htd33},
            ^~~
audio/hufftable.cpp:557:13: note: insert an explicit cast to silence this issue
  { 4, 0-1, 0-1, 0,  0, htd33},
            ^~~
            static_cast<unsigned int>( )
audio/hufftable.cpp:567:8: error: constant expression evaluates to -1 which cannot be narrowed to
      type 'unsigned int' [-Wc++11-narrowing]
  {14, 0-1, 0-1, 0,  0, htd33},
       ^~~
audio/hufftable.cpp:567:8: note: insert an explicit cast to silence this issue
  {14, 0-1, 0-1, 0,  0, htd33},
       ^~~
       static_cast<unsigned int>( )
audio/hufftable.cpp:567:13: error: constant expression evaluates to -1 which cannot be narrowed to
      type 'unsigned int' [-Wc++11-narrowing]
  {14, 0-1, 0-1, 0,  0, htd33},
            ^~~
audio/hufftable.cpp:567:13: note: insert an explicit cast to silence this issue
  {14, 0-1, 0-1, 0,  0, htd33},
            ^~~
            static_cast<unsigned int>( )

Reported by:	antoine (via bug 224669)
Obtained from:	r458130
Approved by:	ports-secteam blanket
2018-01-05 12:01:43 +00:00
Jan Beich
157ee472b6 MFH: r458130
multimedia/smpeg: unbreak build with Clang 6 (C++14 by default)

huffmantable.cpp:553:8: error: constant expression evaluates to -1 which cannot be narrowed to type
      'unsigned int' [-Wc++11-narrowing]
  { 0, 0-1, 0-1, 0,  0, htd33},
       ^~~
huffmantable.cpp:553:8: note: insert an explicit cast to silence this issue
  { 0, 0-1, 0-1, 0,  0, htd33},
       ^~~
       static_cast<unsigned int>( )
huffmantable.cpp:553:13: error: constant expression evaluates to -1 which cannot be narrowed to type
      'unsigned int' [-Wc++11-narrowing]
  { 0, 0-1, 0-1, 0,  0, htd33},
            ^~~
huffmantable.cpp:553:13: note: insert an explicit cast to silence this issue
  { 0, 0-1, 0-1, 0,  0, htd33},
            ^~~
            static_cast<unsigned int>( )
huffmantable.cpp:557:8: error: constant expression evaluates to -1 which cannot be narrowed to type
      'unsigned int' [-Wc++11-narrowing]
  { 4, 0-1, 0-1, 0,  0, htd33},
       ^~~
huffmantable.cpp:557:8: note: insert an explicit cast to silence this issue
  { 4, 0-1, 0-1, 0,  0, htd33},
       ^~~
       static_cast<unsigned int>( )
huffmantable.cpp:557:13: error: constant expression evaluates to -1 which cannot be narrowed to type
      'unsigned int' [-Wc++11-narrowing]
  { 4, 0-1, 0-1, 0,  0, htd33},
            ^~~
huffmantable.cpp:557:13: note: insert an explicit cast to silence this issue
  { 4, 0-1, 0-1, 0,  0, htd33},
            ^~~
            static_cast<unsigned int>( )
huffmantable.cpp:567:8: error: constant expression evaluates to -1 which cannot be narrowed to type
      'unsigned int' [-Wc++11-narrowing]
  {14, 0-1, 0-1, 0,  0, htd33},
       ^~~
huffmantable.cpp:567:8: note: insert an explicit cast to silence this issue
  {14, 0-1, 0-1, 0,  0, htd33},
       ^~~
       static_cast<unsigned int>( )
huffmantable.cpp:567:13: error: constant expression evaluates to -1 which cannot be narrowed to type
      'unsigned int' [-Wc++11-narrowing]
  {14, 0-1, 0-1, 0,  0, htd33},
            ^~~
huffmantable.cpp:567:13: note: insert an explicit cast to silence this issue
  {14, 0-1, 0-1, 0,  0, htd33},
            ^~~
            static_cast<unsigned int>( )

Reported by:	antoine (via bug 224669)
Obtained from:	Arch Linux
Approved by:	ports-secteam blanket
2018-01-05 11:58:12 +00:00
Jan Beich
6b67b96d52 MFH: r458127
graphics/libraw: unbreak build with Clang 6 (C++14 by default)

In file included from src/libraw_cxx.cpp:5472:
src/../internal/libraw_x3f.cpp:1404:19: error: non-constant-expression cannot be narrowed from type
      'int' to 'int16_t' (aka 'short') in initializer list [-Wc++11-narrowing]
  int16_t c[3] = {offset,offset,offset};
                  ^~~~~~
src/../internal/libraw_x3f.cpp:1404:19: note: insert an explicit cast to silence this issue
  int16_t c[3] = {offset,offset,offset};
                  ^~~~~~
                  static_cast<int16_t>( )
src/../internal/libraw_x3f.cpp:1404:26: error: non-constant-expression cannot be narrowed from type
      'int' to 'int16_t' (aka 'short') in initializer list [-Wc++11-narrowing]
  int16_t c[3] = {offset,offset,offset};
                         ^~~~~~
src/../internal/libraw_x3f.cpp:1404:26: note: insert an explicit cast to silence this issue
  int16_t c[3] = {offset,offset,offset};
                         ^~~~~~
                         static_cast<int16_t>( )
src/../internal/libraw_x3f.cpp:1404:33: error: non-constant-expression cannot be narrowed from type
      'int' to 'int16_t' (aka 'short') in initializer list [-Wc++11-narrowing]
  int16_t c[3] = {offset,offset,offset};
                                ^~~~~~
src/../internal/libraw_x3f.cpp:1404:33: note: insert an explicit cast to silence this issue
  int16_t c[3] = {offset,offset,offset};
                                ^~~~~~
                                static_cast<int16_t>( )

Reported by:	antoine (via bug 224669)
Obtained from:	upstream
Approved by:	ports-secteam blanket
2018-01-05 11:13:12 +00:00
Jan Beich
612ba1c5f0 MFH: r458124
databases/mysql56-server: unbreak build with Clang 6 (C++14 by default)

sql-common/client_authentication.cc:87:56: error: comparison between pointer and integer ('char *' and 'int')
      mysql->options.extension->server_public_key_path != '\0')
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~

sql/sql_trigger.cc:195:5: error:
      non-constant-expression cannot be narrowed from type 'int' to 'size_t' (aka 'unsigned long') in
      initializer list [-Wc++11-narrowing]
    static_cast<int>(my_offsetof(class Table_triggers_list, definitions_list)),
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reported by:	antoine (via bug 224669)
Approved by:	ports-secteam blanket
2018-01-05 10:55:47 +00:00
Jan Beich
055598fb8c MFH: r458113
mail/jmba: don't auto-enable gettext

11.0 aarch64 used ld(1) from devel/binutils which implicitly passed
-L/usr/local/lib thus gettext ended up being detected, breaking build
due to underspecified USES=gettext-tools. The same issue would occur
for USES=localbase or USE_GCC=yes, so just force off external gettext.

Approved by:	portmgr blanket
Approved by:	ports-secteam blanket
2018-01-05 04:20:27 +00:00
Jan Beich
5a33d5b6d1 MFH: r458110
graphics/libjxr: lift BROKEN_aarch64 per FreeBSD 11.0 EOL

Here's how the error message actually looked like:

cc  -fstack-protector-strong -shared -Wl,-x -Wl,--fatal-warnings -Wl,--warn-shared-textrel  -o libjpegxr.so.1 -Wl,-soname,libjpegxr.so.1  `NM='nm' NMFLAGS='' lorder encode.So segenc.So strenc.So strFwdTransform.So strPredQuantEnc.So decode.So postprocess.So segdec.So strdec.So strInvTransform.So strPredQuantDec.So JXRTranscode.So adapthuff.So image.So strcodec.So strPredQuant.So strTransform.So perfTimerANSI.So | tsort -q`
strenc.So: In function `StrIOEncInit':
/wrkdirs/usr/ports/graphics/libjxr/work/jxrlib-1.1/image/encode/strenc.c:(.text+0xf18): warning: warning: tmpnam() possibly used unsafely; consider using mkstemp()
cc: error: linker command failed with exit code 1 (use -v to see invocation)

Noticed -Wl,--fatal-warnings? After tmpnam() warning dissapeared, so
did the error.

Reported by:	http://thunderx1.nyi.freebsd.org/data/110arm64-default/438755/logs/errors/jxrlib-1.1.log
Pointy hat to:	linimon (generic excerpt)
Tested on:	11.1 (clang 4.0) and 12.0 (clang 6.0)
Approved by:	ports-secteam blanket
2018-01-05 03:42:37 +00:00
Jan Beich
d37194a641 MFH: r458107
games/xqf: lift BROKEN_aarch64 per FreeBSD 11.0 EOL

Here's how the error message actually looked like:

cc  -O2 -pipe  -fno-strict-aliasing -Wall   -o xqf -Wl,-rpath,/usr/local/lib/xqf -Wl,--export-dynamic -Wl,--version-script=../src/xqf.map addmaster.o addserver.o config.o country-filter.o debug.o dialogs.o dns.o filter.o flt-player.o game.o history.o host.o launch.o menus.o pixmaps.o pref.o psearch.o rc.o rcon.o server.o skin.o skin_pcx.o sort.o source.o srv-info.o srv-list.o srv-prop.o stat.o statistics.o trayicon.o utils.o xqf.o xqf-ui.o xutils.o zipped.o redial.o q3maps.o utmaps.o loadpixmap.o splash.o scripts.o -lintl  ../src/zip/libunzip.a ../src/tga/libtga.a  -lGeoIP -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lpthread -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lgdk_pixbuf_xlib-2.0 -lgmodule-2.0 -pthread -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lintl    -lz -L/usr/local/lib -lX11
/usr/bin/ld: xqf: local symbol `__progname' in /usr/lib/crt1.o is referenced by DSO
/usr/bin/ld: final link failed: Bad value
cc: error: linker command failed with exit code 1 (use -v to see invocation)

Reported by:	http://thunderx1.nyi.freebsd.org/data/110arm64-default/426002/logs/errors/xqf-1.0.5_9.log
Pointy hat to:	linimon (generic excerpt)
Tested on:	11.1 (clang 4.0) and 12.0 (clang 6.0)
Approved by:	ports-secteam blanket
2018-01-05 03:33:28 +00:00
Jan Beich
0a285e4f64 MFH: r458103
security/gnutls: revert r431494 per FreeBSD 11.0 EOL

PR:		216045
Approved by:	portmgr blanket
Approved by:	ports-secteam blanket
2018-01-05 03:00:39 +00:00
Jan Beich
cdc93f5109 MFH: r458102
print/ghostscript9-agpl-base: revert r432155 per FreeBSD 11.0 EOL

Approved by:	portmgr blanket
Approved by:	ports-secteam blanket
2018-01-05 02:59:43 +00:00
Jan Beich
08b961a762 MFH: r458101
Lift BROKEN_aarch64 for Clang 3.8 per FreeBSD 11.0 EOL

The cryptic "error in backend" is emitted by Clang on crash.

Approved by:	ports-secteam blanket
2018-01-05 02:58:28 +00:00
Bryan Drewery
6f53931fcd MFH: r458083
Disallow forced FLAVOR as make argument.

This otherwise prevents properly setting FLAVOR to the default internally
since it is in a separate namespace in bmake that is read-only.

Approved by:	portmgr (implicit)
2018-01-04 20:18:03 +00:00
Sunpoet Po-Chuan Hsieh
49271352b9 MFH: r458080
Fix build with Ruby 2.4+ and unbreak this port

Approved by:	portmgr (blanket)

Approved by:	ports-secteam (blanket)
2018-01-04 20:17:09 +00:00
Sunpoet Po-Chuan Hsieh
7a8b27e9e3 MFH: r458079
Fix build with Ruby 2.4+ and unbreak this port

Approved by:	ports-secteam (blanket)
2018-01-04 20:15:39 +00:00
Bryan Drewery
1176a819b2 MFH: r458058
Follow-up r458048: Properly trim FLAVOR from .MAKEOVERRIDES.

The code I removed was wrong but it still achieved the proper effect of
removing FLAVOR from .MAKEOVERRIDES.  This is still needed and now is
done properly without truncating away all of the other valuable variables.

Pointyhat to:	bdrewery
Approved by:	portmgr (implicit)
2018-01-04 20:06:48 +00:00
Bryan Drewery
6fbe5af994 MFH: r458056
Fix typo in r458054.

Reported by:	antoine
Approved by:	portmgr (implicit)
2018-01-04 20:02:28 +00:00
Bryan Drewery
03b2d78d2a MFH: r458054
Fix some *-list targets not properly passing FLAVOR down the chain.

Approved by:	portmgr (implicit)
2018-01-04 19:58:42 +00:00
Bryan Drewery
f2faba7a2c MFH: r458050
Pass FLAVOR in enviroment to avoid forcing an empty value in some cases.

Approved by:	portmgr (implicit)
2018-01-04 19:41:02 +00:00
Bryan Drewery
dcba6972cb MFH: r458048
Stop truncating .MAKEOVERRIDES after the FLAVORS work.

There is no such variable as ${MAKEOVERRIDES}, only ${.MAKEOVERRIDES}, so this
code was simply truncating .MAKEOVERRIDES entirely which could cause performance
and other odd issues with OSREL and make recursion.

We don't want to leak FLAVOR to child sub-makes but that can be fixed later;
this code was not doing what it intended.

Approved by:	portmgr (implicit)
2018-01-04 19:19:11 +00:00
Bryan Drewery
ba5ec533a1 MFH: r458041
Fix package-depends-list for FLAVORS.

Reported by:	dinoex
Approved by:	portmgr (implicit)
2018-01-04 19:09:04 +00:00
Tobias Kortkamp
6169b39518 MFH: r458014
devel/libfmt: Bump PORTREVISION

Attempt to fix build of kodi-devel on 2018Q1.

r453704 moved libfmt from building a static library to a shared
library but PORTREVISION was not bumped.

This now leads to build failures on 2018Q1 where libfmt.so cannot be
found because the libfmt package was not rebuilt and only installs
libfmt.a.

http://beefy1.nyi.freebsd.org/data/111i386-quarterly/457961/logs/kodi-devel-18.0.g20171213_1.log
http://beefy3.nyi.freebsd.org/data/111amd64-quarterly/457961/logs/kodi-devel-18.0.g20171213_1.log

Pointy hat:	yuri

Approved by:	ports-secteam (blanket)
2018-01-04 05:35:41 +00:00
Jan Beich
296336bb74 MFH: r458012
lang/spidermonkey24: unbreak build with Clang 6 / GCC 7

js/src/shell/jsoptparse.cpp:256:22: error: comparison between pointer and integer ('char *' and 'int')
        if (value[0] == '\0')
            ~~~~~~~~ ^  ~~~~

Reported by:	antoine (via bug 224669)
Obtained from:	upstream (SpiderMonkey 25.0)
Approved by:	ports-secteam blanket
2018-01-04 02:41:55 +00:00
Jan Beich
49c2ec7638 MFH: r458009
textproc/aspell: unbreak build with Clang 6 / GCC 7

modules/filter/tex.cpp:177:69: error: comparison between pointer and integer ('const char *' and 'int')
      if (top.in_what == Parm || top.in_what == Opt || top.do_check == '\0')
                                                       ~~~~~~~~~~~~ ^  ~~~~

Reported by:	antoine (via bug 224669)
Obtained from:	upstream (Apsell 0.60.7)
Approved by:	ports-secteam blanket
2018-01-04 02:23:28 +00:00
Jan Beich
56ed326500 MFH: r458008
lang/spidermonkey170: unbreak build with Clang 6 / GCC 7

js/src/shell/jsoptparse.cpp:246:22: error: comparison between pointer and integer ('char *' and 'int')
        if (value[0] == '\0')
            ~~~~~~~~ ^  ~~~~

Reported by:	antoine (via bug 224669)
Obtained from:	upstream (SpiderMonkey 25.0)
Approved by:	ports-secteam blanket
2018-01-04 02:22:30 +00:00
Ben Woods
2ff5235d88 MFH: r457960
sysutils/py-distro: Replace USES=python:2.7+ with USES=python

This aligns with the change made by antoine@ in r457499.

Reported by:	jbeich

Approved by:	ports-secteam (blanket)
2018-01-03 12:33:28 +00:00
Ben Woods
d79ca1d967 MFH: r457958
science/InsightToolkit: Modify patch to use ${CMAKE_DL_LIBS}

${CMAKE_DL_LIBS} expands to "" on FreeBSD where the dl functions are
included in the Standard C library (libc), but to "dl" on operating
systems where the dl functions are part of libdl.

This change to the patch does not result in a change in contents of the
resulting package.

Reported by:	jbeich

Approved by:	ports-secteam (blanket)
2018-01-03 12:28:45 +00:00
Jan Beich
19fbd4b0e9 MFH: r457938
net-p2p/bitcoin: chase git abbrev bump

`git archive` maybe non-reproducible due to embedding abbreviated commit:
https://github.com/bitcoin/bitcoin/blob/v0.15.1/src/clientversion.cpp#L47-L48

$ diff -Npru bitcoin-0.15.1.old bitcoin-0.15.1
--- bitcoin-0.15.1.old/src/clientversion.cpp	2017-11-06 08:46:24.000000000 +0000
+++ bitcoin-0.15.1/src/clientversion.cpp	2017-11-06 08:46:24.000000000 +0000
@@ -45,7 +45,7 @@ const std::string CLIENT_NAME("Satoshi");
 //! git will put "#define GIT_ARCHIVE 1" on the next line inside archives.
 #define GIT_ARCHIVE 1
 #ifdef GIT_ARCHIVE
-#define GIT_COMMIT_ID "7b57bc998f3"
+#define GIT_COMMIT_ID "7b57bc998f33"
 #define GIT_COMMIT_DATE "Mon, 6 Nov 2017 09:46:24 +0100"
 #endif

Reported by:	pkg-fallout
Approved by:	portmgr blanket
Approved by:	ports-secteam blanket
2018-01-03 00:26:14 +00:00
Mark Felder
1c6661563a MFH: r457930
- fix regression introduced by r457706
PR: 224452

- add option BLACKLISTD
https://reviews.freebsd.org/D13475
2018-01-02 22:12:14 +00:00
Antoine Brodin
fc79564267 MFH: r457916
Update to 0.6.8
2018-01-02 19:17:29 +00:00
Dimitry Andric
e31ccf4f86 MFH: r457814
Make smartmontools 6.6 compile with clang 6.0.0 and higher

Because clang 6.0.0 and higher default to -std=gnu++14, like gcc 6 and
higher, compiling smartmontools results in the following error:

os_freebsd.cpp:487:45: error: invalid suffix on literal; C++11 requires
a space between literal and identifier [-Wreserved-user-defined-literal]
  else if (sscanf(dev, NVME_CTRLR_PREFIX"%d"NVME_NS_PREFIX"%d%c",
                                            ^

Fix this by adding spaces around the NVME_NS_PREFIX macro. This makes
the source C++14 compatible.

Approved by:	portmgr (zi)
Approved by:	samm@os2.kiev.ua (maintainer)
PR:		224826
2018-01-02 18:20:28 +00:00
Mark Felder
3fe40966e4 MFH: r457900
www/redmine-ldap_sync: Update to 2.0.8
2018-01-02 16:02:40 +00:00
Guido Falsi
be49f36e17 MFH: r457847
Fix error in conditional in asterisk rc script.

PR:		224833
Submitted by:	Robert Ames <robertames@hotmail.com>

Approved by:	ports-secteam (zi)
2018-01-02 16:01:33 +00:00
Antoine Brodin
bcb610d60b MFH: r457833
Remove ibus-cangjie, new BROKEN port
2018-01-02 07:26:29 +00:00
Antoine Brodin
7d83dbdf08 MFH: r457831
- Fix a typo, an empty package was created
- While here, fix indentation
2018-01-02 06:57:37 +00:00
Jan Beich
0323e18b50 MFH: r457817
emulators/citra: update to s20171231

Changes:	c3c684cd...e203c10c
Approved by:	ports-secteam (swills, implicit for snapshots)
2018-01-01 23:50:34 +00:00
Jan Beich
c90e760ed2 MFH: r457816
emulators/rpcs3: update to 0.0.4.220

Changes:	78f7020ce...198e9dce1
Approved by:	ports-secteam (junovitch, implicit for snapshots)
2018-01-01 23:49:33 +00:00
Jan Beich
a92932d57a MFH: r457797
gecko, mesa-dri: shave unnecessary quoting for absolute path to LLD

Left side already unquoted and Mk/bsd.port.mk didn't quote.

Approved by:	ports-secteam blanket (style, merge conflict avoidance)
2018-01-01 20:30:33 +00:00
1439 changed files with 50511 additions and 14951 deletions

11
MOVED
View file

@ -993,7 +993,6 @@ japanese/stardict2-dict-ja||2010-02-25|Please use japanese/stardict-dict-ja
net/mpd||2010-02-25|Has expired: obsoleted, unsupported port. Use net/mpd4, net/mpd5 instead
textproc/xmlada-gcc||2010-02-27|Has expired: broken and practically unmaintained
www/cheetah||2010-03-16|Has expired: broken, unmaintained, development ceased in 2001
net-p2p/rblibtorrent-devel||2010-03-16|Old version, no longer depended on
mail/sylpheed2|mail/sylpheed3|2010-03-23|Update to new major version
multimedia/gstreamer-schroedinger||2010-03-24|Removed
multimedia/video4bsd-kmod|multimedia/cuse4bsd-kmod|2010-03-25|Renamed
@ -1117,7 +1116,6 @@ sysutils/bacula-client-devel||2010-07-16|Removed
sysutils/bacula-server-devel||2010-07-16|Removed
java/eclipse-v4all||2010-07-16|Not useful with Eclipse 3.x
irc/kvirc-devel||2010-07-17|irc/kvirc has been updated to the latest version
www/p5-Plack-Server-AnyEvent||2010-07-19|Use www/p5-Twiggy instead
science/qelectrotech|cad/qelectrotech|2010-07-21|Fix category
mail/squirrelmail-compatibility-plugin1|mail/squirrelmail-compatibility-plugin|2010-07-21|Has expired: use mail/squirrelmail-compatibility-plugin
mail/squirrelmail-newuser_wiz-plugin|mail/squirrelmail-askuserinfo-plugin|2010-07-21|Has expired: use mail/squirrelmail-askuserinfo-plugin
@ -1233,7 +1231,7 @@ multimedia/vlconwooztalk||2010-09-14|Has expired: wooztalk website not respondin
net-im/wooztalk||2010-09-14|Has expired: wooztalk website not responding as of 20100731
russian/php_doc||2010-09-14|Has expired: Support for the Russian translation of the PHP manual seems to have stopped
sysutils/ipmi-kmod||2010-09-14|Has expired: in base system since 6.2-RELEASE
www/p5-Plack-Server-AnyEvent||2010-09-14|Has expired: yes
www/p5-Plack-Server-AnyEvent||2010-07-19|Use www/p5-Twiggy instead
www/xpi-dailymotiononwooztalk||2010-09-14|Has expired: wooztalk website not responding as of 20100731
www/xpi-deezeronwooztalk||2010-09-14|Has expired: wooztalk website not responding as of 20100731
www/xpi-firefoxonwooztalk||2010-09-14|Has expired: wooztalk website not responding as of 20100731
@ -3967,7 +3965,6 @@ sysutils/salt|sysutils/py-salt|2013-01-27|Rename to consistency with other Pytho
sysutils/salt-cloud|sysutils/py-salt-cloud|2013-01-27|Rename to consistency with other Python ports
deskutils/py-dosage|deskutils/dosage|2013-01-28|Rename - it's a standalone application
textproc/clucene-contrib|textproc/clucene|2013-01-28|Integrated into textproc/clucene
textproc/clucene-contrib|textproc/clucene|2013-01-28|Integrated into textproc/clucene
lang/erlang14||2013-01-30|Not needed; no issues came up with R15
www/tomcat55||2013-01-31|Has expired: EOL and unsupported upstream
net/samba-pdbsql||2013-01-31|Depends from the obsoleted net/samba34
@ -5251,7 +5248,6 @@ www/clickheat||2013-12-07|Has expired: No more activity since 2011
security/rarcrack||2013-12-08|Has expired: Not active since several years
java/subversion-java|java/java-subversion|2013-12-08|Rename to reflect subversion child port naming scheme
games/flare|games/flare-game|2013-12-10|Flare port was split into engine and game counterparts, as upstream did
audio/liteamp||2013-12-15|Has expired: Dead upstream since 2004, does not build with clang
security/opieprint||2013-12-15|Has expired: No more active upstream
security/bubblegum||2013-12-15|Has expired: No more active upstream
security/snortsms||2013-12-15|Has expired: Not active since several years
@ -5504,7 +5500,6 @@ graphics/php52-exif||2014-03-01|PHP 5.2 is end-of-life
graphics/php52-gd||2014-03-01|PHP 5.2 is end-of-life
graphics/php52-ming||2014-03-01|PHP 5.2 is end-of-life
lang/php52||2014-03-01|PHP 5.2 is end-of-life
lang/php52||2014-03-01|PHP 5.2 is end-of-life.ext
lang/php52-extensions||2014-03-01|PHP 5.2 is end-of-life
mail/php52-imap||2014-03-01|PHP 5.2 is end-of-life
math/php52-bcmath||2014-03-01|PHP 5.2 is end-of-life
@ -5845,7 +5840,6 @@ databases/libgda3-ldap||2014-04-11|Ancient version, consider using newer version
databases/libgda3-mdb||2014-04-11|Ancient version, consider using newer versions
databases/libgda3-mysql||2014-04-11|Ancient version, consider using newer versions
databases/libgda3-odbc||2014-04-11|Ancient version, consider using newer versions
databases/libgda3-odbc||2014-04-11|Ancient version, consider using newer versions
databases/libgda3-postgresql||2014-04-11|Ancient version, consider using newer versions
databases/libgnomedb||2014-04-11|Superseded by libgda starting from version 4
databases/libgnomedb-reference||2014-04-11|Superseded by libgda starting from version 4
@ -6555,7 +6549,6 @@ games/avp-demo||2014-09-01|Not staged
games/linux-sof||2014-09-01|Not staged
games/quake3-freezetag||2014-09-01|Not staged
games/rftg||2014-09-01|Not staged
games/rftg||2014-09-01|Not staged
german/manpages||2014-09-01|Not staged
graphics/Cgraph||2014-09-01|Not staged
graphics/glide3||2014-09-01|Not staged
@ -9141,7 +9134,6 @@ accessibility/gnome-speech||2017-04-01|Obsolete and not depend on anymore
accessibility/gok||2017-04-01|Obsolete and not depend on anymore
accessibility/dasher||2017-04-01|Obsolete and not depend on anymore
accessibility/java-access-bridge||2017-04-01|Obsolete and not depend on anymore
accessibility/dasher||2017-04-01|Obsolete and not depend on anymore
accessibility/at-spi||2017-04-01|Obsolete and not depend on anymore
accessibility/at-spi-reference||2017-04-01|Obsolete and not depend on anymore
deskutils/gnome-blog||2017-04-01|Obsolete and not depend on anymore
@ -9837,4 +9829,3 @@ net-mgmt/nrpe-ssl|net-mgmt/nrpe3|2018-01-01|nrpe 2.0 not maintained, use nrpe 3.
security/gnupg20|security/gnupg|2018-01-01|Has expired: Will reach EOL upstream on 2017-12-31
dns/dualserver|dns/dnsmasq|2018-01-01|Has expired: Please migrate to dns/dnsmasq. Over the years dualserver becomes unmaintenaible.
devel/p5-Parse-Pidl44|devel/p5-Parse-Pidl|2018-01-01|Has expired: use devel/p5-Parse-Pidl instead
sysutils/DTraceToolkit||2018-01-01|Has expired: Now maintained as part of the base system

View file

@ -6,11 +6,15 @@ set -e
. ${dp_SCRIPTSDIR}/functions.sh
flavors=0
recursive=0
missing=0
requires_wrkdir=0
while getopts "mrw" FLAG; do
while getopts "fmrw" FLAG; do
case "${FLAG}" in
f)
flavors=1
;;
m)
missing=1
recursive=1
@ -53,6 +57,7 @@ check_dep() {
local _dep wrkdir show_dep
for _dep ; do
unset FLAVOR
myifs=${IFS}
IFS=:
set -- ${_dep}
@ -65,16 +70,24 @@ check_dep() {
case "${d}" in
*@*/*) ;; # Ignore @ in the path which would not be a flavor
*@*) d=${d%@*} ;;
*@*)
export FLAVOR=${d##*@}
d=${d%@*}
;;
esac
if [ ${flavors} -eq 1 -a -n "${FLAVOR:-}" ]; then
port_display="${d}@${FLAVOR}"
else
port_display="${d}"
fi
case " ${checked} " in
*\ ${d}\ *) continue ;; # Already checked
esac
checked="${checked} ${d}"
# Check if the dependency actually exists or skip otherwise.
if [ ! -d ${d} ]; then
echo "${dp_PKGNAME}: \"${d}\" non-existent -- dependency list incomplete" >&2
if [ ! -d "${d}" ]; then
echo "${dp_PKGNAME}: \"${port_display}\" non-existent -- dependency list incomplete" >&2
continue
fi
@ -100,7 +113,7 @@ check_dep() {
if [ ${requires_wrkdir} -eq 1 ] && ! [ -d "${wrkdir}" ]; then
show_dep=0
fi
[ ${show_dep} -eq 1 ] && echo ${d}
[ ${show_dep} -eq 1 ] && echo "${port_display}"
if [ ${recursive} -eq 1 -o ${requires_wrkdir} -eq 1 -a ${show_dep} -eq 1 ]; then
check_dep $@
fi

View file

@ -37,12 +37,12 @@ RUN_DEPENDS+= libxul>=45:www/libxul
.elif ${gecko_ARGS:Mfirefox}
_GECKO_DEFAULT_VERSION= 52
_GECKO_VERSIONS= 52 57
_GECKO_VERSIONS= 52 59
_GECKO_TYPE= firefox
# Dependence lines for different Firefox versions
52_DEPENDS= ${LOCALBASE}/lib/firefox/firefox:www/firefox-esr
57_DEPENDS= ${LOCALBASE}/lib/firefox/firefox:www/firefox
59_DEPENDS= ${LOCALBASE}/lib/firefox/firefox:www/firefox
.if exists(${LOCALBASE}/bin/firefox)
_GECKO_INSTALLED_VER!= ${LOCALBASE}/bin/firefox --version 2>/dev/null

View file

@ -442,7 +442,11 @@ FLAVORS= ${_ALL_PYTHON_FLAVORS}
. for _v in ${PYTHON_DEFAULT} ${PYTHON2_DEFAULT} ${PYTHON3_DEFAULT}
_f= py${_v:S/.//}
. if ${_ALL_PYTHON_FLAVORS:M${_f}} && !${FLAVORS:M${_f}}
.if !empty(FLAVORS)
FLAVORS:= ${FLAVORS} ${_f}
.else
FLAVORS:= ${_f}
.endif
. endif
. endfor
. endif

View file

@ -51,6 +51,13 @@ MAKE_ENV+= CCACHE_DIR="${CCACHE_DIR}"
CONFIGURE_ENV+= CCACHE_DIR="${CCACHE_DIR}"
. endif
.endif
# Some ports will truncate CCACHE_DIR from the env and due to HOME=${WRKDIR}
# will incorrectly use ${WRKDIR}/.ccache. Symlink to the proper place.
${WRKDIR}/.ccache: ${WRKDIR}
@${LN} -sf ${CCACHE_DIR} ${WRKDIR}/.ccache
ccache-wrkdir-link: ${WRKDIR}/.ccache .PHONY
post-extract: ccache-wrkdir-link
.endif
.endif

View file

@ -88,6 +88,8 @@ USES+= cpe gmake iconv localbase perl5 pkgconfig \
CPE_VENDOR?=mozilla
USE_PERL5= build
USE_XORG= x11 xcomposite xdamage xext xfixes xrender xt
HAS_CONFIGURE= yes
CONFIGURE_OUTSOURCE= yes
.if ${MOZILLA} != "libxul"
BUNDLE_LIBS= yes
@ -109,14 +111,6 @@ USE_XORG+= xcb
MESA_LLVM_VER?= 50
BUILD_DEPENDS+= llvm${MESA_LLVM_VER}>0:devel/llvm${MESA_LLVM_VER}
MOZ_EXPORT+= LLVM_CONFIG=llvm-config${MESA_LLVM_VER}
MOZ_EXPORT+= BINDGEN_CFLAGS="${BINDGEN_CFLAGS}"
# XXX bug 1341234
. if ! ${USE_MOZILLA:M-nspr}
BINDGEN_CFLAGS+=-isystem${LOCALBASE}/include/nspr
. endif
. if ! ${USE_MOZILLA:M-pixman}
BINDGEN_CFLAGS+=-isystem${LOCALBASE}/include/pixman-1
. endif
.endif
.if ${OPSYS} == FreeBSD && ${OSREL} == 11.1
@ -127,14 +121,10 @@ MOZILLA_SUFX?= none
MOZSRC?= ${WRKSRC}
PLISTF?= ${WRKDIR}/plist_files
MOZ_OBJDIR?= ${WRKSRC}/obj-${ARCH:C/amd64/x86_64/}-unknown-${OPSYS:tl}${OSREL}
MOZ_PIS_DIR?= lib/${MOZILLA}/init.d
PORT_MOZCONFIG?= ${FILESDIR}/mozconfig.in
MOZCONFIG?= ${WRKSRC}/.mozconfig
# XXX Not ?= because fmake uses MAKEFILE internally
MAKEFILE= ${WRKSRC}/client.mk
MOZILLA_PLIST_DIRS?= bin lib share/pixmaps share/applications
PKGINSTALL?= ${WRKDIR}/pkg-install
PKGDEINSTALL?= ${WRKDIR}/pkg-deinstall
@ -144,13 +134,11 @@ PKGDEINSTALL_INC?= ${.CURDIR}/../../www/firefox/files/pkg-deinstall.in
MOZ_PKGCONFIG_FILES?= ${MOZILLA}-gtkmozembed ${MOZILLA}-js \
${MOZILLA}-xpcom ${MOZILLA}-plugin
ALL_TARGET?= build
MOZ_EXPORT+= ${CONFIGURE_ENV} \
RUSTFLAGS="${RUSTFLAGS}" \
PERL="${PERL}"
MOZ_OPTIONS+= --prefix="${PREFIX}"
MOZ_MK_OPTIONS+=MOZ_OBJDIR="${MOZ_OBJDIR}"
MOZ_MK_OPTIONS+=MOZ_OBJDIR="${BUILD_WRKSRC}"
LDFLAGS+= -Wl,--as-needed
@ -312,7 +300,7 @@ MOZ_OPTIONS+= --enable-optimize
.else
MOZ_OPTIONS+= --disable-optimize
. if ${MOZILLA_VER:R:R} >= 56
. if ${/usr/bin/ld:L:tA} != "/usr/bin/ld.lld"
. if ${/usr/bin/ld:L:tA} != /usr/bin/ld.lld
# ld 2.17 barfs on Stylo built with -C opt-level=0
USE_BINUTILS= yes
LDFLAGS+= -B${LOCALBASE}/bin
@ -396,7 +384,7 @@ post-patch-SNDIO-on:
.endif
.if ${PORT_OPTIONS:MRUST} || ${MOZILLA_VER:R:R} >= 54
BUILD_DEPENDS+= ${RUST_PORT:T}>=1.19.0_2:${RUST_PORT}
BUILD_DEPENDS+= ${RUST_PORT:T}>=1.22.1:${RUST_PORT}
RUST_PORT?= lang/rust
. if ${MOZILLA_VER:R:R} < 54
MOZ_OPTIONS+= --enable-rust

View file

@ -1061,6 +1061,11 @@ STAGEDIR?= ${WRKDIR}/stage
NOTPHONY?=
FLAVORS?=
FLAVOR?=
# Disallow forced FLAVOR as make argument since we cannot change it to the
# proper default.
.if empty(FLAVOR) && !empty(.MAKEOVERRIDES:MFLAVOR)
.error FLAVOR may not be passed empty as a make argument.
.endif
# Store env FLAVOR for later
.if !defined(_FLAVOR)
_FLAVOR:= ${FLAVOR}
@ -1082,35 +1087,7 @@ _PORTS_DIRECTORIES+= ${PKG_DBDIR} ${PREFIX} ${WRKDIR} ${EXTRACT_WRKDIR} \
.include "${PORTSDIR}/Mk/bsd.commands.mk"
# Do not leak flavors to childs make
.MAKEOVERRIDES:= ${MAKEOVERRIDES:NFLAVOR=*}
.if !empty(FLAVOR) && !defined(_DID_FLAVORS_HELPERS)
_DID_FLAVORS_HELPERS= yes
_FLAVOR_HELPERS_OVERRIDE= DESCR PLIST PKGNAMEPREFIX PKGNAMESUFFIX
_FLAVOR_HELPERS_APPEND= CONFLICTS CONFLICTS_BUILD CONFLICTS_INSTALL \
PKG_DEPENDS EXTRACT_DEPENDS PATCH_DEPENDS \
FETCH_DEPENDS BUILD_DEPENDS LIB_DEPENDS \
RUN_DEPENDS TEST_DEPENDS
# These overwrite the current value
.for v in ${_FLAVOR_HELPERS_OVERRIDE}
.if defined(${FLAVOR}_${v})
${v}= ${${FLAVOR}_${v}}
.endif
.endfor
# These append to the current value
.for v in ${_FLAVOR_HELPERS_APPEND}
.if defined(${FLAVOR}_${v})
${v}+= ${${FLAVOR}_${v}}
.endif
.endfor
.for v in BROKEN IGNORE
.if defined(${FLAVOR}_${v})
${v}= flavor "${FLAVOR}" ${${FLAVOR}_${v}}
.endif
.endfor
.endif # defined(${FLAVOR})
.MAKEOVERRIDES:= ${.MAKEOVERRIDES:NFLAVOR}
.if defined(CROSS_TOOLCHAIN)
.if !defined(CROSS_SYSROOT)
@ -1511,6 +1488,40 @@ IGNORE= Unknown flavor '${FLAVOR}', possible flavors: ${FLAVORS}.
FLAVOR= ${FLAVORS:[1]}
.endif
# Reorder FLAVORS so the default is first if set by the port.
.if empty(_FLAVOR) && !empty(FLAVORS) && !empty(FLAVOR)
FLAVORS:= ${FLAVOR} ${FLAVORS:N${FLAVOR}}
.endif
.if !empty(FLAVOR) && !defined(_DID_FLAVORS_HELPERS)
_DID_FLAVORS_HELPERS= yes
_FLAVOR_HELPERS_OVERRIDE= DESCR PLIST PKGNAMEPREFIX PKGNAMESUFFIX
_FLAVOR_HELPERS_APPEND= CONFLICTS CONFLICTS_BUILD CONFLICTS_INSTALL \
PKG_DEPENDS EXTRACT_DEPENDS PATCH_DEPENDS \
FETCH_DEPENDS BUILD_DEPENDS LIB_DEPENDS \
RUN_DEPENDS TEST_DEPENDS
# These overwrite the current value
.for v in ${_FLAVOR_HELPERS_OVERRIDE}
.if defined(${FLAVOR}_${v})
${v}= ${${FLAVOR}_${v}}
.endif
.endfor
# These append to the current value
.for v in ${_FLAVOR_HELPERS_APPEND}
.if defined(${FLAVOR}_${v})
${v}+= ${${FLAVOR}_${v}}
.endif
.endfor
.for v in BROKEN IGNORE
.if defined(${FLAVOR}_${v})
${v}= flavor "${FLAVOR}" ${${FLAVOR}_${v}}
.endif
.endfor
.endif # defined(${FLAVOR})
EXTRACT_SUFX?= .tar.gz
.if defined(USE_LINUX_PREFIX)
@ -3809,7 +3820,7 @@ CLEAN_DEPENDENCIES=
.if !defined(NOCLEANDEPENDS)
CLEAN_DEPENDENCIES+= limited-clean-depends-${_f}
limited-clean-depends-${_f}:
@cd ${.CURDIR} && ${MAKE} FLAVOR=${_f} limited-clean-depends
@cd ${.CURDIR} && ${SETENV} FLAVOR=${_f} ${MAKE} limited-clean-depends
.endif
.if target(pre-clean)
CLEAN_DEPENDENCIES+= pre-clean-${_f}
@ -4031,6 +4042,30 @@ DEV_WARNING+= "It looks like the ${d} depends line has an absolute port origin,
all-depends-list:
@${ALL-DEPENDS-LIST}
_FLAVOR_RECURSIVE_SH= \
if [ -z "$${recursive_cmd}" ]; then \
${ECHO_MSG} "_FLAVOR_RECURSIVE_SH requires recursive_cmd to be set to the recursive make target to run." >&2; \
${FALSE}; \
fi; \
if [ "$${recursive_dirs-null}" = "null" ]; then \
${ECHO_MSG} "_FLAVOR_RECURSIVE_SH requires recursive_dirs to be set to the directories to recurse." >&2; \
${FALSE}; \
fi; \
for dir in $${recursive_dirs}; do \
unset flavor; \
case $${dir} in \
*@*) \
flavor=$${dir\#*@}; \
dir=$${dir%@*}; \
;; \
esac; \
case $$dir in \
/*) ;; \
*) dir=${PORTSDIR}/$$dir ;; \
esac; \
(cd $$dir; ${SETENV} FLAVOR=$${flavor} ${MAKE} $${recursive_cmd}); \
done
# This script is shared among several dependency list variables. See file for
# usage.
DEPENDS-LIST= \
@ -4040,9 +4075,11 @@ DEPENDS-LIST= \
dp_PKGNAME="${PKGNAME}" \
dp_PKG_INFO="${PKG_INFO}" \
dp_SCRIPTSDIR="${SCRIPTSDIR}" \
${SH} ${SCRIPTSDIR}/depends-list.sh
${SH} ${SCRIPTSDIR}/depends-list.sh \
${DEPENDS_SHOW_FLAVOR:D-f}
ALL-DEPENDS-LIST= ${DEPENDS-LIST} -r ${_UNIFIED_DEPENDS:Q}
ALL-DEPENDS-FLAVORS-LIST= ${DEPENDS-LIST} -f -r ${_UNIFIED_DEPENDS:Q}
MISSING-DEPENDS-LIST= ${DEPENDS-LIST} -m ${_UNIFIED_DEPENDS:Q}
BUILD-DEPENDS-LIST= ${DEPENDS-LIST} "${PKG_DEPENDS} ${EXTRACT_DEPENDS} ${PATCH_DEPENDS} ${FETCH_DEPENDS} ${BUILD_DEPENDS} ${LIB_DEPENDS}"
RUN-DEPENDS-LIST= ${DEPENDS-LIST} "${LIB_DEPENDS} ${RUN_DEPENDS}"
@ -4066,42 +4103,32 @@ limited-clean-depends:
.if !target(deinstall-depends)
deinstall-depends:
@for dir in $$(${ALL-DEPENDS-LIST}); do \
(cd $$dir; ${MAKE} deinstall); \
done
@recursive_cmd="deinstall"; \
recursive_dirs="$$(${ALL-DEPENDS-FLAVORS-LIST})"; \
${_FLAVOR_RECURSIVE_SH}
.endif
.if !target(fetch-specials)
fetch-specials:
@${ECHO_MSG} "===> Fetching all distfiles required by ${PKGNAME} for building"
@for dir in ${_DEPEND_SPECIALS}; do \
case $${dir} in \
*@*) \
flavor=$${dir#*@}; \
dir=$${dir%@*}; \
;; \
esac; \
case $$dir in \
/*) ;; \
*) dir=${PORTSDIR}/$$dir ;; \
esac; \
(cd $$dir; ${MAKE} FLAVOR=$${flavor} fetch); \
done
@recursive_cmd="fetch"; \
recursive_dirs="${_DEPEND_SPECIALS}"; \
${_FLAVOR_RECURSIVE_SH}
.endif
.if !target(fetch-recursive)
fetch-recursive:
@${ECHO_MSG} "===> Fetching all distfiles for ${PKGNAME} and dependencies"
@for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \
(cd $$dir; ${MAKE} fetch); \
done
@recursive_cmd="fetch"; \
recursive_dirs="${.CURDIR} $$(${ALL-DEPENDS-FLAVORS-LIST})"; \
${_FLAVOR_RECURSIVE_SH}
.endif
.if !target(fetch-recursive-list)
fetch-recursive-list:
@for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \
(cd $$dir; ${MAKE} fetch-list); \
done
@recursive_cmd="fetch-list"; \
recursive_dirs="${.CURDIR} $$(${ALL-DEPENDS-FLAVORS-LIST})"; \
${_FLAVOR_RECURSIVE_SH}
.endif
# Used by fetch-required and fetch-required list, this script looks
@ -4166,9 +4193,9 @@ fetch-required-list: fetch-list
.if !target(checksum-recursive)
checksum-recursive:
@${ECHO_MSG} "===> Fetching and checking checksums for ${PKGNAME} and dependencies"
@for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \
(cd $$dir; ${MAKE} checksum); \
done
@recursive_cmd="checksum"; \
recursive_dirs="${.CURDIR} $$(${ALL-DEPENDS-FLAVORS-LIST})"; \
${_FLAVOR_RECURSIVE_SH}
.endif
# Dependency lists: build and runtime. Print out directory names.
@ -4213,6 +4240,13 @@ PACKAGE-DEPENDS-LIST?= \
fi; \
checked="${PARENT_CHECKED}"; \
for dir in ${_LIB_RUN_DEPENDS:C,[^:]*:([^:]*):?.*,\1,}; do \
unset flavor; \
case $${dir} in \
*@*) \
flavor=$${dir\#*@}; \
dir=$${dir%@*}; \
;; \
esac; \
case "$$dir" in \
/*) ;; \
*) dir=${PORTSDIR}/$$dir ;; \
@ -4222,7 +4256,7 @@ PACKAGE-DEPENDS-LIST?= \
case $$checked in \
$$dir|$$dir\ *|*\ $$dir|*\ $$dir\ *) continue;; \
esac; \
childout=$$(cd $$dir; ${MAKE} CHILD_DEPENDS=yes PARENT_CHECKED="$$checked" package-depends-list); \
childout=$$(cd $$dir; ${SETENV} FLAVOR=$${flavor} ${MAKE} CHILD_DEPENDS=yes PARENT_CHECKED="$$checked" package-depends-list); \
set -- $$childout; \
childdir=""; \
while [ $$\# != 0 ]; do \
@ -4299,9 +4333,9 @@ actual-package-depends:
# Build packages for port and dependencies
package-recursive: package
@for dir in $$(${ALL-DEPENDS-LIST}); do \
(cd $$dir; ${MAKE} package-noinstall); \
done
@recursive_cmd="package-noinstall"; \
recursive_dirs="$$(${ALL-DEPENDS-FLAVORS-LIST})"; \
${_FLAVOR_RECURSIVE_SH}
# Show missing dependencies
missing:
@ -4372,7 +4406,7 @@ describe:
describe: ${FLAVORS:S/^/describe-/}
. for f in ${FLAVORS}
describe-${f}:
@cd ${.CURDIR} && ${MAKE} -B FLAVOR=${f} -D_DESCRIBE_WITH_FLAVOR describe
@cd ${.CURDIR} && ${SETENV} FLAVOR=${f} ${MAKE} -B -D_DESCRIBE_WITH_FLAVOR describe
. endfor
. endif # empty(FLAVORS)
. endif
@ -4662,7 +4696,7 @@ pretty-flavors-package-names: .PHONY
.else
.for f in ${FLAVORS}
@${ECHO_CMD} -n "${f}: "
@cd ${.CURDIR} && ${MAKE} -B FLAVOR=${f} -V PKGNAME
@cd ${.CURDIR} && ${SETENV} FLAVOR=${f} ${MAKE} -B -V PKGNAME
.endfor
.endif
@ -4671,7 +4705,7 @@ flavors-package-names: .PHONY
@${ECHO_CMD} "${PKGNAME}"
.else
.for f in ${FLAVORS}
@cd ${.CURDIR} && ${MAKE} -B FLAVOR=${f} -V PKGNAME
@cd ${.CURDIR} && ${SETENV} FLAVOR=${f} ${MAKE} -B -V PKGNAME
.endfor
.endif
@ -4966,9 +5000,9 @@ config:
.if !target(config-recursive)
config-recursive:
@${ECHO_MSG} "===> Setting user-specified options for ${PKGNAME} and dependencies";
@for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \
(cd $$dir; ${MAKE} config-conditional); \
done
@recursive_cmd="config-conditional"; \
recursive_dirs="${.CURDIR} $$(${ALL-DEPENDS-FLAVORS-LIST})"; \
${_FLAVOR_RECURSIVE_SH}
.endif # config-recursive
.if !target(config-conditional)
@ -5022,9 +5056,9 @@ showconfig: check-config
.if !target(showconfig-recursive)
showconfig-recursive:
@${ECHO_MSG} "===> The following configuration options are available for ${PKGNAME} and dependencies";
@for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \
(cd $$dir; ${MAKE} showconfig); \
done
@recursive_cmd="showconfig"; \
recursive_dirs="${.CURDIR} $$(${ALL-DEPENDS-FLAVORS-LIST})"; \
${_FLAVOR_RECURSIVE_SH}
.endif # showconfig-recursive
.if !target(rmconfig)
@ -5049,9 +5083,9 @@ rmconfig:
.if !target(rmconfig-recursive)
rmconfig-recursive:
@${ECHO_MSG} "===> Removing user-specified options for ${PKGNAME} and dependencies";
@for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \
(cd $$dir; ${MAKE} rmconfig); \
done
@recursive_cmd="rmconfig"; \
recursive_dirs="${.CURDIR} $$(${ALL-DEPENDS-FLAVORS-LIST})"; \
${_FLAVOR_RECURSIVE_SH}
.endif # rmconfig-recursive
.if !target(pretty-print-config)

View file

@ -74,6 +74,13 @@ $3 !~ /^20[0-3][0-9]-[01][0-9]-[0-3][0-9]$/ {
}
{
if ($1 in srcs) {
printf "%5d: %s has duplicate entries\n", NR, $1 | sort
error[NR] = 1
next
}
srcs[$1] = 1
if (lastdate > $3) {
printf "%5d: date going backwards from %s to %s\n", NR, lastdate, $3 | sort
error[NR] = 1

View file

@ -5,6 +5,38 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
20180115
AFFECTS: users of net-p2p/transmission-daemon
AUTHOR: woodsb02@FreeBSD.org
The transmission-daemon port has been updated to 2.92_4 to incorporate
a patch which mitigates DNS rebinding attacks. This will prevent
clients from being able to connect to the transmission daemon using
DNS with any hostname other than localhost, unless one of the
following is done:
- Enable password authentication, then any hostname is allowed.
This can be achieved by either:
- setting rpc-authentication-required to true, and adding
credentials to the rpc-username and rpc-password fields in
settings.json (must be done whilst the transmission service is
stopped); or
- running transmission-daemon with the following arguments
(these can be set with transmission_flags in /etc/rc.conf):
-t -u USERNAME -v PASSWORD
OR
- Add the allowed server hostnames to the rpc-host-whitelist setting
in settings.json (must be done whilst the transmission service is
stopped). Note that this value is NOT a list of allowed CLIENTS,
but instead a list of allowed SERVER hostnames.
20180102:
AFFECTS: users of devel/awscli
AUTHOR: bhughes@FreeBSD.org
The package name for devel/awscli has changed (back) to just awscli.
The introduction of flavors erroneously caused the awscli package to
be renamed to py27-awscli.
20171230:
AFFECTS: users of net-im/ejabberd
AUTHOR: ashish@FreeBSD.org

View file

@ -3,12 +3,12 @@
PORTNAME= arj
PORTVERSION= 3.10.22
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= archivers
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/2.78_3.10%20build%2022:source \
DEBIAN_POOL:patch
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz:source \
${PORTNAME}_${PORTVERSION}-16.debian.tar.xz:patch
${PORTNAME}_${PORTVERSION}-17.debian.tar.xz:patch
MAINTAINER= garga@FreeBSD.org
COMMENT= Open source implementation of the ARJ archiver

View file

@ -1,5 +1,5 @@
TIMESTAMP = 1508345026
TIMESTAMP = 1516278521
SHA256 (arj-3.10.22.tar.gz) = 589e4c9bccc8669e7b6d8d6fcd64e01f6a2c21fe10aad56a83304ecc3b96a7db
SIZE (arj-3.10.22.tar.gz) = 431467
SHA256 (arj_3.10.22-16.debian.tar.xz) = 2d9cc5aeb2ac44d000d2e3399846f1c3ce468e17e3af4bfb505b9a6eaf88a502
SIZE (arj_3.10.22-16.debian.tar.xz) = 19452
SHA256 (arj_3.10.22-17.debian.tar.xz) = 9791db321ef8fb7237697ac0ad7fa9c18d5e53c43bb835953ef80aeeda809804
SIZE (arj_3.10.22-17.debian.tar.xz) = 19548

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= gcab
PORTVERSION= 0.7
PORTVERSION= 0.8
CATEGORIES= archivers gnome
MASTER_SITES= GNOME

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1491090932
SHA256 (gcab-0.7.tar.xz) = a16e5ef88f1c547c6c8c05962f684ec127e078d302549f3dfd2291e167d4adef
SIZE (gcab-0.7.tar.xz) = 332248
TIMESTAMP = 1517003114
SHA256 (gcab-0.8.tar.xz) = 0c5f602ca4a89904e045b97762b470726383e399d34a161d0ba26cc6023c7086
SIZE (gcab-0.8.tar.xz) = 337016

View file

@ -18,11 +18,9 @@ share/gtk-doc/html/gcab/GCabFolder.html
share/gtk-doc/html/gcab/annotation-glossary.html
share/gtk-doc/html/gcab/api-index-full.html
share/gtk-doc/html/gcab/ch01.html
share/gtk-doc/html/gcab/deprecated-api-index.html
share/gtk-doc/html/gcab/gcab.devhelp2
share/gtk-doc/html/gcab/home.png
share/gtk-doc/html/gcab/index.html
share/gtk-doc/html/gcab/index.sgml
share/gtk-doc/html/gcab/left-insensitive.png
share/gtk-doc/html/gcab/left.png
share/gtk-doc/html/gcab/object-tree.html
@ -33,11 +31,13 @@ share/gtk-doc/html/gcab/up-insensitive.png
share/gtk-doc/html/gcab/up.png
share/locale/bs/LC_MESSAGES/gcab.mo
share/locale/cs/LC_MESSAGES/gcab.mo
share/locale/da/LC_MESSAGES/gcab.mo
share/locale/de/LC_MESSAGES/gcab.mo
share/locale/el/LC_MESSAGES/gcab.mo
share/locale/es/LC_MESSAGES/gcab.mo
share/locale/eu/LC_MESSAGES/gcab.mo
share/locale/fr/LC_MESSAGES/gcab.mo
share/locale/fur/LC_MESSAGES/gcab.mo
share/locale/gl/LC_MESSAGES/gcab.mo
share/locale/hu/LC_MESSAGES/gcab.mo
share/locale/id/LC_MESSAGES/gcab.mo

View file

@ -17,8 +17,11 @@ PLIST_FILES= bin/pbzip2 bin/pbunzip2 \
man/man1/pbzip2.1.gz man/man1/pbunzip2.1.gz
post-patch:
@${REINPLACE_CMD} -e 's,PRI[iu]MAX, & ,g' ${WRKSRC}/pbzip2.cpp \
${WRKSRC}/BZ2StreamScanner.cpp
# Spell target sources to be understood by both BSD and GNU make(1)
@${REINPLACE_CMD} -e 's,$$^,$$>&,' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e '/-O2/s,^,#, ; s,$$^,$$>&,' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/

View file

@ -2,7 +2,6 @@
CATEGORIES= archivers
PORTREVISION= 2
MASTERDIR= ${.CURDIR}/../../lang/php71
PKGNAMESUFFIX= -phar

View file

@ -1,9 +0,0 @@
--- Makefile.frag.orig 2017-12-05 11:59:48 UTC
+++ Makefile.frag
@@ -1,5 +1,5 @@
$(srcdir)/phar_path_check.c: $(srcdir)/phar_path_check.re
- @(cd $(top_srcdir); $(RE2C) --no-generation-date -b -o ext/phar/phar_path_check.c ext/phar/phar_path_check.re)
+ @(cd $(top_srcdir); $(RE2C) --no-generation-date -b -o phar_path_check.c phar_path_check.re)
pharcmd: $(builddir)/phar.php $(builddir)/phar.phar

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= acefile
PORTVERSION= 0.6.7
PORTVERSION= 0.6.8
CATEGORIES= archivers python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1514244111
SHA256 (acefile-0.6.7.tar.gz) = 08ab5069a0a1fb50317a962b45b109d5a29dfbfeeea992434809be5cb4f85efa
SIZE (acefile-0.6.7.tar.gz) = 47628
TIMESTAMP = 1514917996
SHA256 (acefile-0.6.8.tar.gz) = 757234deb06ef76adf40dc2858568a36ef421ea5ee7ddf48ece3ae1a0b602a75
SIZE (acefile-0.6.8.tar.gz) = 47743

View file

@ -13,16 +13,16 @@ COMMENT= Deduplicating backup program
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.7:devel/py-setuptools_scm@${FLAVOR}
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.7:devel/py-setuptools_scm@${PY_FLAVOR}
LIB_DEPENDS= liblz4.so:archivers/liblz4 \
libzstd.so:archivers/zstd
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack-python>=0.4.6:devel/py-msgpack-python@${FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack-python>=0.4.6:devel/py-msgpack-python@${PY_FLAVOR}
OPTIONS_DEFINE= FUSE
FUSE_DESC= Support to mount locally borg backup files
OPTIONS_DEFAULT=
FUSE_RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/llfuse.so:devel/py-llfuse
FUSE_RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/llfuse.so:devel/py-llfuse@${PY_FLAVOR}
USES= python:3.4+ ssl
USE_PYTHON= autoplist distutils

View file

@ -7,16 +7,12 @@ PORTREVISION= 5
CATEGORIES= astro
MASTER_SITES= SF/${PORTNAME}/
MAINTAINER= koalative@gmail.com
MAINTAINER= ports@FreeBSD.org
COMMENT= Program to manage GPS data (tracks, waypoints, etc.)
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN= wrong LIB_DEPENDS
DEPRECATED= Broken for more than 6 months
EXPIRATION_DATE= 2018-01-27
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs
LIB_DEPENDS= libcurl.so:ftp/curl \
libexpat.so:textproc/expat2 \
@ -65,7 +61,7 @@ NLS_USES= gettext
GEOTAG_LIB_DEPENDS= libexif.so:graphics/libexif
GEOTAG_CONFIGURE_ENABLE=geotag
GPSD_LIB_DEPENDS= libgpsd.so:astro/gpsd
GPSD_LIB_DEPENDS= libgps.so:astro/gpsd
GPSD_CONFIGURE_ENABLE= realtime-gps-tracking
MAPNIK_LIB_DEPENDS= libmapnik.so:graphics/mapnik

View file

@ -28,7 +28,6 @@ INSTALLS_ICONS= yes
SHEBANG_FILES= yasmwrapper.sh
INSTALL_TARGET= install-strip
BROKEN_aarch64= Fails to compile: error in backend: Do not know how to split this operator's operand!
BROKEN_armv6= Fails to compile: error: invalid conversion between vector type and integer type
BROKEN_armv7= Fails to compile: error: invalid conversion between vector type and integer type

View file

@ -3,13 +3,15 @@
PORTNAME= libsndfile
PORTVERSION= 1.0.28
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.mega-nerd.com/libsndfile/files/
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Reading and writing files containing sampled sound (like WAV or AIFF)
LICENSE= LGPL21
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cpe gmake libtool localbase pkgconfig
CPE_VENDOR= ${CPE_PRODUCT}_project

View file

@ -0,0 +1,82 @@
From cf7a8182c2642c50f1cf90dddea9ce96a8bad2e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rn=20Heusipp?= <osmanx@problemloesungsmaschine.de>
Date: Wed, 14 Jun 2017 12:25:40 +0200
Subject: [PATCH] src/common.c: Fix heap buffer overflows when writing strings
in binheader
Fixes the following problems:
1. Case 's' only enlarges the buffer by 16 bytes instead of size bytes.
2. psf_binheader_writef() enlarges the header buffer (if needed) prior to the
big switch statement by an amount (16 bytes) which is enough for all cases
where only a single value gets added. Cases 's', 'S', 'p' however
additionally write an arbitrary length block of data and again enlarge the
buffer to the required amount. However, the required space calculation does
not take into account the size of the length field which gets output before
the data.
3. Buffer size requirement calculation in case 'S' does not account for the
padding byte ("size += (size & 1) ;" happens after the calculation which
uses "size").
4. Case 'S' can overrun the header buffer by 1 byte when no padding is
involved
("memcpy (&(psf->header.ptr [psf->header.indx]), strptr, size + 1) ;" while
the buffer is only guaranteed to have "size" space available).
5. "psf->header.ptr [psf->header.indx] = 0 ;" in case 'S' always writes 1 byte
beyond the space which is guaranteed to be allocated in the header buffer.
6. Case 's' can overrun the provided source string by 1 byte if padding is
involved ("memcpy (&(psf->header.ptr [psf->header.indx]), strptr, size) ;"
where "size" is "strlen (strptr) + 1" (which includes the 0 terminator,
plus optionally another 1 which is padding and not guaranteed to be
readable via the source string pointer).
Closes: https://github.com/erikd/libsndfile/issues/292
--- src/common.c.orig 2017-04-02 06:33:16 UTC
+++ src/common.c
@@ -681,16 +681,16 @@ psf_binheader_writef (SF_PRIVATE *psf, const char *format, ...)
/* Write a C string (guaranteed to have a zero terminator). */
strptr = va_arg (argptr, char *) ;
size = strlen (strptr) + 1 ;
- size += (size & 1) ;
- if (psf->header.indx + (sf_count_t) size >= psf->header.len && psf_bump_header_allocation (psf, 16))
+ if (psf->header.indx + 4 + (sf_count_t) size + (sf_count_t) (size & 1) > psf->header.len && psf_bump_header_allocation (psf, 4 + size + (size & 1)))
return count ;
if (psf->rwf_endian == SF_ENDIAN_BIG)
- header_put_be_int (psf, size) ;
+ header_put_be_int (psf, size + (size & 1)) ;
else
- header_put_le_int (psf, size) ;
+ header_put_le_int (psf, size + (size & 1)) ;
memcpy (&(psf->header.ptr [psf->header.indx]), strptr, size) ;
+ size += (size & 1) ;
psf->header.indx += size ;
psf->header.ptr [psf->header.indx - 1] = 0 ;
count += 4 + size ;
@@ -703,16 +703,15 @@ psf_binheader_writef (SF_PRIVATE *psf, const char *format, ...)
*/
strptr = va_arg (argptr, char *) ;
size = strlen (strptr) ;
- if (psf->header.indx + (sf_count_t) size > psf->header.len && psf_bump_header_allocation (psf, size))
+ if (psf->header.indx + 4 + (sf_count_t) size + (sf_count_t) (size & 1) > psf->header.len && psf_bump_header_allocation (psf, 4 + size + (size & 1)))
return count ;
if (psf->rwf_endian == SF_ENDIAN_BIG)
header_put_be_int (psf, size) ;
else
header_put_le_int (psf, size) ;
- memcpy (&(psf->header.ptr [psf->header.indx]), strptr, size + 1) ;
+ memcpy (&(psf->header.ptr [psf->header.indx]), strptr, size + (size & 1)) ;
size += (size & 1) ;
psf->header.indx += size ;
- psf->header.ptr [psf->header.indx] = 0 ;
count += 4 + size ;
break ;
@@ -724,7 +723,7 @@ psf_binheader_writef (SF_PRIVATE *psf, const char *format, ...)
size = (size & 1) ? size : size + 1 ;
size = (size > 254) ? 254 : size ;
- if (psf->header.indx + (sf_count_t) size > psf->header.len && psf_bump_header_allocation (psf, size))
+ if (psf->header.indx + 1 + (sf_count_t) size > psf->header.len && psf_bump_header_allocation (psf, 1 + size))
return count ;
header_put_byte (psf, size) ;

View file

@ -0,0 +1,29 @@
From 85c877d5072866aadbe8ed0c3e0590fbb5e16788 Mon Sep 17 00:00:00 2001
From: Fabian Greffrath <fabian@greffrath.com>
Date: Thu, 28 Sep 2017 12:15:04 +0200
Subject: [PATCH] double64_init: Check psf->sf.channels against upper bound
This prevents division by zero later in the code.
While the trivial case to catch this (i.e. sf.channels < 1) has already
been covered, a crafted file may report a number of channels that is
so high (i.e. > INT_MAX/sizeof(double)) that it "somehow" gets
miscalculated to zero (if this makes sense) in the determination of the
blockwidth. Since we only support a limited number of channels anyway,
make sure to check here as well.
CVE-2017-14634
Closes: https://github.com/erikd/libsndfile/issues/318
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
--- src/double64.c.orig 2016-04-01 21:08:53 UTC
+++ src/double64.c
@@ -91,7 +91,7 @@ int
double64_init (SF_PRIVATE *psf)
{ static int double64_caps ;
- if (psf->sf.channels < 1)
+ if (psf->sf.channels < 1 || psf->sf.channels > SF_MAX_CHANNELS)
{ psf_log_printf (psf, "double64_init : internal error : channels = %d\n", psf->sf.channels) ;
return SFE_INTERNAL ;
} ;

View file

@ -0,0 +1,19 @@
From f833c53cb596e9e1792949f762e0b33661822748 Mon Sep 17 00:00:00 2001
From: Erik de Castro Lopo <erikd@mega-nerd.com>
Date: Tue, 23 May 2017 20:15:24 +1000
Subject: [PATCH] src/aiff.c: Fix a buffer read overflow
Secunia Advisory SA76717.
Found by: Laurent Delosieres, Secunia Research at Flexera Software
--- src/aiff.c.orig 2017-04-01 07:18:02 UTC
+++ src/aiff.c
@@ -1905,7 +1905,7 @@ aiff_read_chanmap (SF_PRIVATE * psf, unsigned dword)
psf_binheader_readf (psf, "j", dword - bytesread) ;
if (map_info->channel_map != NULL)
- { size_t chanmap_size = psf->sf.channels * sizeof (psf->channel_map [0]) ;
+ { size_t chanmap_size = SF_MIN (psf->sf.channels, layout_tag & 0xffff) * sizeof (psf->channel_map [0]) ;
free (psf->channel_map) ;

View file

@ -0,0 +1,53 @@
From fd0484aba8e51d16af1e3a880f9b8b857b385eb3 Mon Sep 17 00:00:00 2001
From: Erik de Castro Lopo <erikd@mega-nerd.com>
Date: Wed, 12 Apr 2017 19:45:30 +1000
Subject: [PATCH] FLAC: Fix a buffer read overrun
Buffer read overrun occurs when reading a FLAC file that switches
from 2 channels to one channel mid-stream. Only option is to
abort the read.
Closes: https://github.com/erikd/libsndfile/issues/230
Addresses: CVE-2017-8361 CVE-2017-8363 CVE-2017-8365
--- src/common.h.orig 2017-04-01 09:40:45 UTC
+++ src/common.h
@@ -725,6 +725,7 @@ enum
SFE_FLAC_INIT_DECODER,
SFE_FLAC_LOST_SYNC,
SFE_FLAC_BAD_SAMPLE_RATE,
+ SFE_FLAC_CHANNEL_COUNT_CHANGED,
SFE_FLAC_UNKOWN_ERROR,
SFE_WVE_NOT_WVE,
--- src/flac.c.orig 2018-03-01 19:51:26 UTC
+++ src/flac.c
@@ -434,6 +434,19 @@ sf_flac_meta_callback (const FLAC__StreamDecoder * UNUSED (decoder), const FLAC_
switch (metadata->type)
{ case FLAC__METADATA_TYPE_STREAMINFO :
+ if (psf->sf.channels > 0 && psf->sf.channels != (int) metadata->data.stream_info.channels)
+ { psf_log_printf (psf, "Error: FLAC stream changed from %d to %d channels\n"
+ "Nothing to be but to error out.\n" ,
+ psf->sf.channels, metadata->data.stream_info.channels) ;
+ psf->error = SFE_FLAC_CHANNEL_COUNT_CHANGED ;
+ return ;
+ } ;
+
+ if (psf->sf.channels > 0 && psf->sf.samplerate != (int) metadata->data.stream_info.sample_rate)
+ { psf_log_printf (psf, "Warning: FLAC stream changed sample rates from %d to %d.\n"
+ "Carrying on as if nothing happened.",
+ psf->sf.samplerate, metadata->data.stream_info.sample_rate) ;
+ } ;
psf->sf.channels = metadata->data.stream_info.channels ;
psf->sf.samplerate = metadata->data.stream_info.sample_rate ;
psf->sf.frames = metadata->data.stream_info.total_samples ;
--- src/sndfile.c.orig 2017-04-02 06:33:16 UTC
+++ src/sndfile.c
@@ -245,6 +245,7 @@ ErrorStruct SndfileErrors [] =
{ SFE_FLAC_INIT_DECODER , "Error : problem with initialization of the flac decoder." },
{ SFE_FLAC_LOST_SYNC , "Error : flac decoder lost sync." },
{ SFE_FLAC_BAD_SAMPLE_RATE, "Error : flac does not support this sample rate." },
+ { SFE_FLAC_CHANNEL_COUNT_CHANGED, "Error : flac channel changed mid stream." },
{ SFE_FLAC_UNKOWN_ERROR , "Error : unknown error in flac decoder." },
{ SFE_WVE_NOT_WVE , "Error : not a WVE file." },

View file

@ -0,0 +1,44 @@
From ef1dbb2df1c0e741486646de40bd638a9c4cd808 Mon Sep 17 00:00:00 2001
From: Erik de Castro Lopo <erikd@mega-nerd.com>
Date: Fri, 14 Apr 2017 15:19:16 +1000
Subject: [PATCH] src/flac.c: Fix a buffer read overflow
A file (generated by a fuzzer) which increased the number of channels
from one frame to the next could cause a read beyond the end of the
buffer provided by libFLAC. Only option is to abort the read.
Closes: https://github.com/erikd/libsndfile/issues/231
--- src/flac.c.orig 2017-04-01 09:40:45 UTC
+++ src/flac.c
@@ -169,6 +169,14 @@ flac_buffer_copy (SF_PRIVATE *psf)
const int32_t* const *buffer = pflac->wbuffer ;
unsigned i = 0, j, offset, channels, len ;
+ if (psf->sf.channels != (int) frame->header.channels)
+ { psf_log_printf (psf, "Error: FLAC frame changed from %d to %d channels\n"
+ "Nothing to do but to error out.\n" ,
+ psf->sf.channels, frame->header.channels) ;
+ psf->error = SFE_FLAC_CHANNEL_COUNT_CHANGED ;
+ return 0 ;
+ } ;
+
/*
** frame->header.blocksize is variable and we're using a constant blocksize
** of FLAC__MAX_BLOCK_SIZE.
@@ -202,7 +210,6 @@ flac_buffer_copy (SF_PRIVATE *psf)
return 0 ;
} ;
-
len = SF_MIN (pflac->len, frame->header.blocksize) ;
if (pflac->remain % channels != 0)
@@ -436,7 +443,7 @@ sf_flac_meta_callback (const FLAC__StreamDecoder * UNUSED (decoder), const FLAC_
{ case FLAC__METADATA_TYPE_STREAMINFO :
if (psf->sf.channels > 0 && psf->sf.channels != (int) metadata->data.stream_info.channels)
{ psf_log_printf (psf, "Error: FLAC stream changed from %d to %d channels\n"
- "Nothing to be but to error out.\n" ,
+ "Nothing to do but to error out.\n" ,
psf->sf.channels, metadata->data.stream_info.channels) ;
psf->error = SFE_FLAC_CHANNEL_COUNT_CHANGED ;
return ;

View file

@ -0,0 +1,22 @@
From cd7da8dbf6ee4310d21d9e44b385d6797160d9e8 Mon Sep 17 00:00:00 2001
From: Erik de Castro Lopo <erikd@mega-nerd.com>
Date: Wed, 12 Apr 2017 20:19:34 +1000
Subject: [PATCH] src/flac.c: Fix another memory leak
When the FLAC decoder was passed a malformed file, the associated
`FLAC__StreamDecoder` object was not getting released.
Closes: https://github.com/erikd/libsndfile/issues/233
--- src/flac.c.orig 2018-03-01 09:40:45 UTC
+++ src/flac.c
@@ -841,7 +841,9 @@ flac_read_header (SF_PRIVATE *psf)
psf_log_printf (psf, "End\n") ;
- if (psf->error == 0)
+ if (psf->error != 0)
+ FLAC__stream_decoder_delete (pflac->fsd) ;
+ else
{ FLAC__uint64 position ;
FLAC__stream_decoder_get_decode_position (pflac->fsd, &position) ;

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= libtremor
PORTVERSION= 1.2.1.s20150105
PORTVERSION= 1.2.1.s20180316
CATEGORIES= audio
MASTER_SITES= http://git.xiph.org/?p=tremor.git;a=snapshot;sf=tgz;h=${GIT_COMMIT};/
DISTNAME= ${PORTNAME:S/lib//}-${GIT_COMMIT}
@ -14,7 +14,7 @@ LICENSE= BSD3CLAUSE
LIB_DEPENDS= libogg.so:audio/libogg
GIT_COMMIT= b56ffc
GIT_COMMIT= 562307a
USES= autoreconf libtool pathfix pkgconfig
GNU_CONFIGURE= yes
USE_LDCONFIG= yes

View file

@ -1,2 +1,3 @@
SHA256 (tremor-b56ffc.tar.gz) = 50040fc477eaa592aebc1e4edba201f70b89fa42199a4d73826bd690219e6fd2
SIZE (tremor-b56ffc.tar.gz) = 148838
TIMESTAMP = 1521177351
SHA256 (tremor-562307a.tar.gz) = b2d728b7ec3ac180ec003744f4df1ca13b024875477633d6e8357c4be1aea4ce
SIZE (tremor-562307a.tar.gz) = 148875

View file

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= libvorbis
PORTVERSION= 1.3.5
PORTREVISION= 1
PORTVERSION= 1.3.6
PORTEPOCH= 3
CATEGORIES= audio
MASTER_SITES= http://downloads.xiph.org/releases/vorbis/

View file

@ -1,2 +1,3 @@
SHA256 (libvorbis-1.3.5.tar.xz) = 54f94a9527ff0a88477be0a71c0bab09a4c3febe0ed878b24824906cd4b0e1d1
SIZE (libvorbis-1.3.5.tar.xz) = 1193144
TIMESTAMP = 1521217149
SHA256 (libvorbis-1.3.6.tar.xz) = af00bb5a784e7c9e69f56823de4637c350643deedaf333d0fa86ecdba6fcb415
SIZE (libvorbis-1.3.6.tar.xz) = 1195388

View file

@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= musicpd
PORTVERSION= 0.20.13
PORTREVISION= 1
PORTVERSION= 0.20.18
CATEGORIES= audio ipv6
MASTER_SITES= http://www.musicpd.org/download/mpd/${PORTVERSION:R}/
DISTNAME= mpd-${PORTVERSION}

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1513757795
SHA256 (mpd-0.20.13.tar.xz) = 46c1c534d80a52de00263e8ef43a6011ff9d765232443749539ef26b1b48ff40
SIZE (mpd-0.20.13.tar.xz) = 788036
TIMESTAMP = 1519569665
SHA256 (mpd-0.20.18.tar.xz) = 6a582dc2ae90b94ff3853f9ffd7d80b2c2b5fe2e2c35cb1da0b36f3f3dfad434
SIZE (mpd-0.20.18.tar.xz) = 792416

View file

@ -3,7 +3,7 @@
PORTNAME= pianobar
PORTVERSION= 2016.06.02
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= http://6xq.net/projects/${PORTNAME}/

View file

@ -3,7 +3,7 @@
PORTNAME= timidity++
PORTVERSION= 2.14.0
PORTREVISION?= 2
PORTREVISION?= 3
CATEGORIES+= audio
MASTER_SITES= SF/timidity/TiMidity%2B%2B/TiMidity%2B%2B-${PORTVERSION}
DISTNAME= TiMidity++-${PORTVERSION}
@ -15,7 +15,8 @@ LICENSE= GPLv2+
.if !defined(PKGNAMESUFFIX)
LIB_DEPENDS= libarc.so:archivers/libarc \
libvorbis.so:audio/libvorbis
libvorbis.so:audio/libvorbis \
libogg.so:audio/libogg
RUN_DEPENDS= eawpats>0:audio/eawpats
.endif
@ -81,6 +82,7 @@ post-install::
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ja/${PORTNAME}
(cd ${WRKSRC}/doc/ja_JP.eucJP && ${INSTALL_DATA} ${DOCFILES} \
${STAGEDIR}${PREFIX}/share/doc/ja/${PORTNAME})
@${RMDIR} ${STAGEDIR}${PREFIX}/share/timidity
.endif # PKGNAMESUFFIX
.include <bsd.port.mk>

View file

@ -28,8 +28,6 @@ PLIST_SUB+= INCLUDEDIR="include/${PORTNAME}" LIBDIR="lib/${PORTNAME}"
CPPFLAGS+= -I${LOCALBASE}/include
BROKEN_aarch64= Fails to compile: error in backend: Do not know how to split this operator's operand!
OPTIONS_DEFINE= AIRPLAY AO APE AVCODEC CDDA CURL ET FAAD FAM FLAC \
GME GVFS ICES JACK MAD MDNS MMS \
MODPLUG MPG123 MUSEPACK PULSEAUDIO SAMBA SID \

View file

@ -2,7 +2,7 @@
PORTNAME= solvespace
PORTVERSION= 2.3
PORTREVISION= 1
PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= cad

View file

@ -52,7 +52,6 @@
SUBDIR += gydict
SUBDIR += hc
SUBDIR += ibus-array
SUBDIR += ibus-cangjie
SUBDIR += ibus-chewing
SUBDIR += ibus-libpinyin
SUBDIR += ibus-pinyin

View file

@ -1,50 +0,0 @@
# Created by: blubee <hello@blubee.me>
# $FreeBSD$
PORTNAME= ibus-cangjie
PORTVERSION= 2.4
DISTVERSIONPREFIX= v
CATEGORIES= chinese
MAINTAINER= hello@blubee.me
COMMENT= IBus engine for users of the Cangjie and Quick
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libibus-1.0.so:textproc/ibus
BUILD_DEPENDS= ${PREFIX}/lib/python3.6/site-packages/cangjie/_core.so:chinese/pycangjie
RUN_DEPENDS= ${PREFIX}/lib/python3.6/site-packages/cangjie/_core.so:chinese/pycangjie \
${PYTHON_SITELIBDIR}/pycanberra/__init__.py:devel/pycanberra@py36
USES= autoreconf gmake libtool pkgconfig python:3.6
OPTIONS_DEFINE= NLS
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= gettext
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PYTHON=${PYTHON_CMD}
USE_GNOME= introspection:run py3gobject3 intltool
USE_GITHUB= yes
GH_ACCOUNT= Cangjians
GH_PROJECT= ibus-cangjie
# ugly kludge fix for this:
# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224486
# We know python3 will be installed so we work around this check
do-configure:
@(cd ${WRKSRC} && ${REINPLACE_CMD} \
-e 's|([3.2.3])|([2.7])|g' ${WRKSRC}/configure.ac && \
autopoint --force && \
intltoolize --force --copy --automake && \
aclocal -I m4 && \
autoheader && \
automake --add-missing --copy && \
autoconf && \
./configure ${CONFIGURE_ENV})
.include <bsd.port.mk>

View file

@ -1,3 +0,0 @@
TIMESTAMP = 1509798473
SHA256 (Cangjians-ibus-cangjie-v2.4_GH0.tar.gz) = 632b38bf8fe979fbbe50fe0cee5322fe2f5c815c3ad0e800c0bdab7e3b814043
SIZE (Cangjians-ibus-cangjie-v2.4_GH0.tar.gz) = 38549

View file

@ -1,8 +0,0 @@
--- autogen.sh.orig 2015-03-29 15:19:21 UTC
+++ autogen.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
set -e
set -x

View file

@ -1,8 +0,0 @@
This is an IBus engine for users of the Cangjie and
Quick input methods.
It is primarily intended to Hong Kong people
who want to input Traditional Chinese,
as they are (by far) the majority of Cangjie and Quick users.
WWW: http://cangjians.github.io/projects/ibus-cangjie/

View file

@ -1,30 +0,0 @@
bin/ibus-setup-cangjie
lib/ibus-cangjie/ibus-engine-cangjie
lib/python3.6/site-packages/ibus_cangjie/__init__.py
lib/python3.6/site-packages/ibus_cangjie/__pycache__/__init__.cpython-36.opt-1.pyc
lib/python3.6/site-packages/ibus_cangjie/__pycache__/__init__.cpython-36.pyc
lib/python3.6/site-packages/ibus_cangjie/__pycache__/canberra.cpython-36.opt-1.pyc
lib/python3.6/site-packages/ibus_cangjie/__pycache__/canberra.cpython-36.pyc
lib/python3.6/site-packages/ibus_cangjie/__pycache__/engine.cpython-36.opt-1.pyc
lib/python3.6/site-packages/ibus_cangjie/__pycache__/engine.cpython-36.pyc
lib/python3.6/site-packages/ibus_cangjie/__pycache__/setup.cpython-36.opt-1.pyc
lib/python3.6/site-packages/ibus_cangjie/__pycache__/setup.cpython-36.pyc
lib/python3.6/site-packages/ibus_cangjie/canberra.py
lib/python3.6/site-packages/ibus_cangjie/engine.py
lib/python3.6/site-packages/ibus_cangjie/setup.py
share/appdata/cangjie.appdata.xml
share/appdata/quick.appdata.xml
share/applications/ibus-setup-cangjie.desktop
share/applications/ibus-setup-quick.desktop
share/glib-2.0/schemas/org.cangjians.ibus.cangjie.gschema.xml
share/glib-2.0/schemas/org.cangjians.ibus.quick.gschema.xml
%%DATADIR%%/setup.ui
share/ibus/component/cangjie.xml
share/ibus/component/quick.xml
share/icons/hicolor/16x16/intl/cangjie.png
share/icons/hicolor/16x16/intl/quick.png
share/icons/hicolor/scalable/intl/cangjie.svg
share/icons/hicolor/scalable/intl/quick.svg
share/locale/pt_BR/LC_MESSAGES/ibus-cangjie.mo
share/locale/zh_HK/LC_MESSAGES/ibus-cangjie.mo
share/locale/zh_TW/LC_MESSAGES/ibus-cangjie.mo

View file

@ -985,6 +985,7 @@
SUBDIR += rubygem-redis-actionpack-rails5
SUBDIR += rubygem-redis-actionpack-rails50
SUBDIR += rubygem-redis-namespace
SUBDIR += rubygem-redis3
SUBDIR += rubygem-seed-fu
SUBDIR += rubygem-sqlite3
SUBDIR += rubygem-sqlite3-ruby

View file

@ -25,6 +25,7 @@ INSTALL_TARGET= install-strip
MAKE_ARGS= PCDIR=${PREFIX}/libdata/pkgconfig
REINPLACE_ARGS= -i ''
TEST_TARGET= check
USE_CXXSTD= gnu++98
USE_LDCONFIG= yes
USE_RC_SUBR= ${PORTNAME}
USES= gmake pkgconfig

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME?= mariadb
PORTVERSION= 10.0.33
PORTVERSION= 10.0.34
PORTREVISION?= 0
CATEGORIES= databases ipv6
MASTER_SITES= http://ftp.osuosl.org/pub/${SITESDIR}/ \
@ -56,7 +56,6 @@ CMAKE_ARGS+= -DINSTALL_DOCDIR="share/doc/mariadb" \
-DINSTALL_SQLBENCHDIR= \
-DINSTALL_SUPPORTFILESDIR="share/mysql" \
-DWITH_UNIT_TESTS=0 \
-DWITH_LIBEDIT=0 \
-DWITH_SSL=${OPENSSLBASE} \
-DWITH_LIBWRAP=1 \
-DCOMPILATION_COMMENT="FreeBSD Ports"
@ -114,14 +113,13 @@ CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON" \
${ENGINE}_CMAKE_OFF= -DWITHOUT_${ENGINE}=1
.endfor
INNOBASE_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-MDEV-15288
MAXKEY_EXTRA_PATCHES+= ${FILESDIR}/extra-patch-include_my__compare.h
MROONGA_CMAKE_OFF= -DWITHOUT_MROONGA=1
MROONGA_LIB_DEPENDS= liblz4.so:archivers/liblz4
OQGRAPH_LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libJudy.so:devel/judy
# Currently OQGraph does not build using clang.
# See See https://mariadb.atlassian.net/browse/MDEV-8051.
OQGRAPH_USE= gcc
# See https://mariadb.atlassian.net/browse/MDEV-15291.
OQGRAPH_BROKEN= OQGraph does not build
TOKUDB_LIB_DEPENDS= libsnappy.so:archivers/snappy
TOKUDB_PORTDOCS= PATENTS README.md
@ -157,9 +155,6 @@ NOT_FOR_ARCHS_REASON= TokuDB not supported on 32-bit platforms, see \
USE_GCC= yes
.endif
post-extract-OQGRAPH-off:
@${RM} -r ${WRKSRC}/storage/oqgraph
post-patch:
@${REINPLACE_CMD} 's/*.1/${MAN1}/' ${WRKSRC}/man/CMakeLists.txt
@${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/mysys/my_default.c

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1509742954
SHA256 (mariadb-10.0.33.tar.gz) = e3e3d583c51761aee2fcd0e51bfa7d592c1299cf5eb977e61ea9dc72932e8870
SIZE (mariadb-10.0.33.tar.gz) = 69211872
TIMESTAMP = 1517385452
SHA256 (mariadb-10.0.34.tar.gz) = c5bb2a67dcce84ef39b59a63728a3d2a0196226041416491f0bc22d3388173ac
SIZE (mariadb-10.0.34.tar.gz) = 69266294

View file

@ -0,0 +1,7 @@
--- storage/innobase/CMakeLists.txt.orig 2018-01-27 18:40:38 UTC
+++ storage/innobase/CMakeLists.txt
@@ -489,4 +489,3 @@ MYSQL_ADD_PLUGIN(innobase ${INNOBASE_SOU
MODULE_OUTPUT_NAME ha_innodb
LINK_LIBRARIES ${ZLIB_LIBRARY} ${LINKER_SCRIPT})
-ADD_DEPENDENCIES(innobase GenError)

View file

@ -1,6 +1,14 @@
--- CMakeLists.txt.orig 2017-05-20 01:04:09.000000000 +0200
+++ CMakeLists.txt 2017-05-23 20:53:22.017238000 +0200
@@ -480,6 +480,7 @@ ADD_CUSTOM_TARGET(INFO_BIN ALL
--- CMakeLists.txt.orig 2018-01-27 18:40:35 UTC
+++ CMakeLists.txt
@@ -409,7 +409,6 @@ ADD_SUBDIRECTORY(sql/share)
ADD_SUBDIRECTORY(support-files)
IF(NOT WITHOUT_SERVER)
- ADD_SUBDIRECTORY(tests)
ADD_SUBDIRECTORY(sql)
OPTION (WITH_EMBEDDED_SERVER "Compile MySQL with embedded server" OFF)
IF(WITH_EMBEDDED_SERVER)
@@ -480,6 +479,7 @@ ADD_CUSTOM_TARGET(INFO_BIN ALL
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
)
@ -8,7 +16,7 @@
INSTALL_DOCUMENTATION(README CREDITS COPYING EXCEPTIONS-CLIENT COMPONENT Readme)
# MDEV-6526 these files are not installed anymore
@@ -489,6 +490,7 @@ INSTALL_DOCUMENTATION(README CREDITS COP
@@ -489,6 +489,7 @@ INSTALL_DOCUMENTATION(README CREDITS COP
IF(UNIX)
INSTALL_DOCUMENTATION(Docs/INSTALL-BINARY COMPONENT Readme)
ENDIF()

View file

@ -1,26 +0,0 @@
From c4c48e974013a1a3d62ae6b2fc9a705c3bdd1689 Mon Sep 17 00:00:00 2001
From: Sergei Golubchik <serg@mariadb.org>
Date: Tue, 7 Mar 2017 19:21:42 +0100
Subject: [PATCH] MDEV-11965 -Werror should not appear in released tarballs
---
storage/tokudb/PerconaFT/cmake_modules/TokuSetupCompiler.cmake | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/storage/tokudb/PerconaFT/cmake_modules/TokuSetupCompiler.cmake b/storage/tokudb/PerconaFT/cmake_modules/TokuSetupCompiler.cmake
index 769bdffa5d99..c17e119d1cdc 100644
--- storage/tokudb/PerconaFT/cmake_modules/TokuSetupCompiler.cmake.orig
+++ storage/tokudb/PerconaFT/cmake_modules/TokuSetupCompiler.cmake
@@ -196,9 +196,9 @@ if (NOT CMAKE_CXX_COMPILER_ID STREQUAL Clang)
set_cflags_if_supported(-Wcast-align)
endif ()
-## always want these
-set(CMAKE_C_FLAGS "-Wall -Werror ${CMAKE_C_FLAGS}")
-set(CMAKE_CXX_FLAGS "-Wall -Werror ${CMAKE_CXX_FLAGS}")
+## always want these in debug builds
+set(CMAKE_C_FLAGS_DEBUG "-Wall -Werror ${CMAKE_C_FLAGS_DEBUG}")
+set(CMAKE_CXX_FLAGS_DEBUG "-Wall -Werror ${CMAKE_CXX_FLAGS_DEBUG}")
# pick language dialect
set(CMAKE_C_FLAGS "-std=c99 ${CMAKE_C_FLAGS}")

View file

@ -9,7 +9,6 @@ bin/myisam_ftdump
bin/myisamchk
bin/myisamlog
bin/myisampack
bin/mysql_client_test
bin/mysql_client_test_embedded
bin/mysql_convert_table_format
bin/mysql_embedded

View file

@ -0,0 +1,12 @@
--- sql-common/client.c.orig 2018-01-24 00:36:45.520273000 +0100
+++ sql-common/client.c 2018-01-24 00:37:57.536367000 +0100
@@ -1821,7 +1821,8 @@
*/
#ifdef HAVE_X509_check_host
- ret_validation= X509_check_host(server_cert, server_hostname, 0, 0, 0) != 1;
+ ret_validation= X509_check_host(server_cert, server_hostname,
+ strlen(server_hostname), 0, 0) != 1;
#else
subject= X509_get_subject_name(server_cert);
cn_loc= X509_NAME_get_index_by_NID(subject, NID_commonName, -1);

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME?= mariadb
PORTVERSION= 10.1.30
PORTVERSION= 10.1.31
PORTREVISION?= 0
CATEGORIES= databases ipv6
MASTER_SITES= http://ftp.osuosl.org/pub/${SITESDIR}/ \
@ -114,6 +114,7 @@ GSSAPI_NONE_CMAKE_ON= -DPLUGIN_AUTH_GSSAPI_CLIENT=NO
.else
# MySQL-Server part
BROKEN_powerpc64= Does not build: fatal error: sys/platform/ppc.h: No such file or directory
#LIB_DEPENDS= libevent.so:devel/libevent
USES+= mysql:101m
USE_GNOME= libxml2
USE_LDCONFIG+= ${PREFIX}/lib/mysql/plugin
@ -126,13 +127,14 @@ CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON" \
-DWITHOUT_EXAMPLE_STORAGE_ENGINE=1
.for ENGINE in ${OPTIONS_GROUP_ENGINES}
${ENGINE}_CMAKE_OFF= -DPLUGIN_${ENGINE}=NO \
-DWITHOUT_${ENGINE}=1
${ENGINE}_CMAKE_OFF= -DPLUGIN_${ENGINE}=NO
${ENGINE}_CMAKE_ON= -DPLUGIN_${ENGINE}=DYNAMIC
.endfor
CONNECT_EXTRA_LIB_DEPENDS= libodbc.so:databases/unixODBC
CONNECT_EXTRA_USE= gnome=libxml2
GSSAPI_NONE_CMAKE_ON= -DPLUGIN_AUTH_GSSAPI=NO
INNOBASE_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-MDEV-15288
LZ4_CMAKE_OFF= -DGRN_WITH_LZ4=OFF -DWITH_INNODB_LZ4=OFF
LZ4_CMAKE_ON= -DGRN_WITH_LZ4=${LOCALBASE}/lib -DWITH_INNODB_LZ4=${LOCALBASE}/lib
LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1514018044
SHA256 (mariadb-10.1.30.tar.gz) = 173a5e5a24819e0a469c3bd09b5c98491676c37c6095882a2ea34c5af0996c88
SIZE (mariadb-10.1.30.tar.gz) = 67930015
TIMESTAMP = 1518260559
SHA256 (mariadb-10.1.31.tar.gz) = ab7641c2fe4e5289da6141766a9c3350e013def56fafd6f1377080bc8048b2e6
SIZE (mariadb-10.1.31.tar.gz) = 67982786

View file

@ -0,0 +1,7 @@
--- storage/innobase/CMakeLists.txt.orig 2018-02-04 02:30:31 UTC
+++ storage/innobase/CMakeLists.txt
@@ -520,4 +520,3 @@ MYSQL_ADD_PLUGIN(innobase ${INNOBASE_SOU
MODULE_OUTPUT_NAME ha_innodb
LINK_LIBRARIES ${ZLIB_LIBRARY} ${LIBSYSTEMD} ${LINKER_SCRIPT})
-ADD_DEPENDENCIES(innobase GenError)

View file

@ -1,5 +1,13 @@
--- CMakeLists.txt.orig 2017-05-02 05:13:38 UTC
+++ CMakeLists.txt
@@ -388,7 +388,6 @@ ADD_SUBDIRECTORY(libservices)
ADD_SUBDIRECTORY(sql/share)
IF(NOT WITHOUT_SERVER)
- ADD_SUBDIRECTORY(tests)
ADD_SUBDIRECTORY(sql)
OPTION (WITH_EMBEDDED_SERVER "Compile MySQL with embedded server" OFF)
IF(WITH_EMBEDDED_SERVER)
@@ -465,6 +465,7 @@ ADD_CUSTOM_TARGET(INFO_BIN ALL
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
)

View file

@ -1,25 +1,20 @@
--- mysys_ssl/my_crypt.cc.orig 2017-01-17 19:38:25 UTC
--- mysys_ssl/my_crypt.cc.orig 2018-02-04 02:30:31 UTC
+++ mysys_ssl/my_crypt.cc
@@ -275,10 +275,14 @@ int my_random_bytes(uchar* buf, int num)
return MY_AES_OK;
}
#else
+#include <openssl/opensslv.h>
@@ -27,6 +27,7 @@
#include <openssl/aes.h>
#include <openssl/err.h>
#include <openssl/rand.h>
+#include <openssl/opensslv.h>
#ifdef HAVE_ERR_remove_thread_state
#define ERR_remove_state(X) ERR_remove_thread_state(NULL)
@@ -295,6 +296,9 @@ unsigned int my_aes_ctx_size(enum my_aes
int my_random_bytes(uchar *buf, int num)
{
+#if defined(LIBRESSL_VERSION_NUMBER)
+#ifdef LIBRESSL_VERSION_NUMBER
+ arc4random_buf(buf, num);
+#else
/*
Unfortunately RAND_bytes manual page does not provide any guarantees
in relation to blocking behavior. Here we explicitly use SSLeay random
@@ -288,6 +292,7 @@ int my_random_bytes(uchar *buf, int num)
RAND_METHOD *rand = RAND_SSLeay();
if (rand == NULL || rand->bytes(buf, num) != 1)
return MY_AES_OPENSSL_ERROR;
+#endif
if (RAND_bytes(buf, num) != 1)
return MY_AES_OPENSSL_ERROR;
return MY_AES_OK;
}
#endif

View file

@ -0,0 +1,12 @@
--- sql-common/client.c.orig 2018-01-24 00:36:45.520273000 +0100
+++ sql-common/client.c 2018-01-24 00:37:57.536367000 +0100
@@ -1821,7 +1821,8 @@
*/
#ifdef HAVE_X509_check_host
- ret_validation= X509_check_host(server_cert, server_hostname, 0, 0, 0) != 1;
+ ret_validation= X509_check_host(server_cert, server_hostname,
+ strlen(server_hostname), 0, 0) != 1;
#else
subject= X509_get_subject_name(server_cert);
cn_loc= X509_NAME_get_index_by_NID(subject, NID_commonName, -1);

View file

@ -11,7 +11,6 @@ bin/myisam_ftdump
bin/myisamchk
bin/myisamlog
bin/myisampack
bin/mysql_client_test
bin/mysql_client_test_embedded
bin/mysql_convert_table_format
bin/mysql_embedded

View file

@ -1,7 +1,6 @@
# $FreeBSD$
PORTNAME= mariadb
PORTREVISION= 0
PKGNAMESUFFIX= 102-client
COMMENT= Multithreaded SQL database (client)

View file

@ -0,0 +1,23 @@
--- sql-common/client.c.orig 2018-01-03 14:48:29.000000000 +0100
+++ sql-common/client.c 2018-01-24 00:45:11.194419000 +0100
@@ -104,6 +104,10 @@
#define CONNECT_TIMEOUT 0
#endif
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) || defined(HAVE_YASSL)
+#define ASN1_STRING_get0_data(X) ASN1_STRING_data(X)
+#endif
+
#include "client_settings.h"
#include <ssl_compat.h>
#include <sql_common.h>
@@ -1822,7 +1826,8 @@
*/
#ifdef HAVE_X509_check_host
- ret_validation= X509_check_host(server_cert, server_hostname, 0, 0, 0) != 1;
+ ret_validation= X509_check_host(server_cert, server_hostname,
+ strlen(server_hostname), 0, 0) != 1;
#else
subject= X509_get_subject_name(server_cert);
cn_loc= X509_NAME_get_index_by_NID(subject, NID_commonName, -1);

View file

@ -1,8 +1,8 @@
# $FreeBSD$
PORTNAME?= mariadb
PORTVERSION= 10.2.11
PORTREVISION?= 1
PORTVERSION= 10.2.13
PORTREVISION?= 0
CATEGORIES= databases ipv6
MASTER_SITES= http://mirrors.supportex.net/${SITESDIR}/ \
http://mirror2.hs-esslingen.de/pub/Mirrors/${SITESDIR}/ \
@ -30,7 +30,7 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
SLAVEDIRS= databases/mariadb102-client
USES= bison:build cmake:noninja compiler:c++11-lib cpe iconv:translit libedit ncurses shebangfix ssl
USE_LDCONFIG= ${PREFIX}/lib/mysql
SHEBANG_FILES= scripts/*.sh
SHEBANG_FILES= scripts/*.sh storage/rocksdb/myrocks_hotbackup
SITESDIR= mariadb/mariadb-${PORTVERSION}/source
DOCSDIR= ${PREFIX}/share/doc/mysql
@ -155,6 +155,7 @@ MROONGA_IMPLIES= LZ4
MSGPACK_LIB_DEPENDS= libmsgpackc.so:devel/msgpack
OQGRAPH_LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libJudy.so:devel/judy
ROCKSDB_USES= python
SNAPPY_CMAKE_OFF= -DWITH_INNODB_SNAPPY=OFF -DWITH_ROCKSDB_snappy=OFF
SNAPPY_CMAKE_ON= -DWITH_INNODB_SNAPPY=ON -DWITH_ROCKSDB_snappy=ON
SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy
@ -180,6 +181,13 @@ post-install:
${RM} -r ${STAGEDIR}/${PREFIX}/share/mysql/policy \
${STAGEDIR}/${PREFIX}/share/pkgconfig
${RM} ${STAGEDIR}${LOCALBASE}/lib/mysql/libmysqlclient*
${RM} ${STAGEDIR}${LOCALBASE}/share/doc/mysql/COPYING \
${STAGEDIR}${LOCALBASE}/share/doc/mysql/COPYING.thirdparty \
${STAGEDIR}${LOCALBASE}/share/groonga-normalizer-mysql/lgpl-2.0.txt \
${STAGEDIR}${LOCALBASE}/share/groonga/COPYING \
${STAGEDIR}${LOCALBASE}/storage/groonga/COPYING \
${STAGEDIR}${LOCALBASE}/share/mysql/mroonga/COPYING
${RM} ${STAGEDIR}${PREFIX}/include/mysql/*.h
.endif # defined(CLIENT_ONLY)
.if defined(WITH_OPENSSL_PORT)

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1512075561
SHA256 (mariadb-10.2.11.tar.gz) = 63555a810db905175a8bd714f6ec77d1b1a11fcfa6d4b97b448cf5bcb6caa3e8
SIZE (mariadb-10.2.11.tar.gz) = 72772830
TIMESTAMP = 1518540665
SHA256 (mariadb-10.2.13.tar.gz) = 272e7ed9300a05da9e02f8217a01ed3447c4f5a36a12e5233d62cc7c586fc753
SIZE (mariadb-10.2.13.tar.gz) = 72591913

View file

@ -1,27 +0,0 @@
From 36f84744031430747d27bfb2087c7ae51019a70a Mon Sep 17 00:00:00 2001
From: Sergei Golubchik <serg@mariadb.org>
Date: Fri, 10 Nov 2017 12:48:52 +0100
Subject: [PATCH] MDEV-14337 mysqld_safe may suppress error messages with
--log-output=file
don't close stdout/stderr, redirect them to /dev/null instead.
otherwise redirections like >&2 fail with "invalid file descriptor"
---
scripts/mysqld_safe.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/mysqld_safe.sh b/scripts/mysqld_safe.sh
index b644184b1e1d..46b376890939 100644
--- scripts/mysqld_safe.sh.orig
+++ scripts/mysqld_safe.sh
@@ -868,8 +868,8 @@ if expr "${-}" : '.*x' > /dev/null
then
:
else
- exec 1>&-
- exec 2>&-
+ exec 1>/dev/null
+ exec 2>/dev/null
fi
while true

View file

@ -0,0 +1,40 @@
--- storage/oqgraph/oqgraph_judy.cc.orig 2018-02-12 15:01:28 UTC
+++ storage/oqgraph/oqgraph_judy.cc
@@ -27,7 +27,7 @@
/*
Currently the only active code that can return error is:
judy_bitset::reset()/J1U()
- judy_bitset::setbit()/J1S()
+ judy_bitset::jsetbit()/J1S()
In most cases errors are either about wrong parameters passed to Judy
functions or internal structures corruption. These definitely deserve
@@ -60,7 +60,7 @@ bool open_query::judy_bitset::test(size_
return rc == 1;
}
-open_query::judy_bitset& open_query::judy_bitset::setbit(size_type n)
+open_query::judy_bitset& open_query::judy_bitset::jsetbit(size_type n)
{
int rc;
J1S(rc, array, n);
--- storage/oqgraph/oqgraph_judy.h.orig 2018-02-12 15:01:28 UTC
+++ storage/oqgraph/oqgraph_judy.h
@@ -63,7 +63,7 @@ namespace open_query
if (!val)
return reset(n);
else
- return setbit(n);
+ return jsetbit(n);
}
judy_bitset& set(const judy_bitset& src);
@@ -115,7 +115,7 @@ namespace open_query
private:
mutable void* array;
- judy_bitset& setbit(size_type n);
+ judy_bitset& jsetbit(size_type n);
};
}

View file

@ -1,6 +1,6 @@
--- sql-common/client.c.orig 2017-05-14 23:13:18 UTC
+++ sql-common/client.c
@@ -104,6 +104,10 @@ my_bool net_flush(NET *net);
--- sql-common/client.c.orig 2018-01-03 14:48:29.000000000 +0100
+++ sql-common/client.c 2018-01-24 00:45:11.194419000 +0100
@@ -104,6 +104,10 @@
#define CONNECT_TIMEOUT 0
#endif
@ -11,3 +11,13 @@
#include "client_settings.h"
#include <ssl_compat.h>
#include <sql_common.h>
@@ -1822,7 +1826,8 @@
*/
#ifdef HAVE_X509_check_host
- ret_validation= X509_check_host(server_cert, server_hostname, 0, 0, 0) != 1;
+ ret_validation= X509_check_host(server_cert, server_hostname,
+ strlen(server_hostname), 0, 0) != 1;
#else
subject= X509_get_subject_name(server_cert);
cn_loc= X509_NAME_get_index_by_NID(subject, NID_commonName, -1);

View file

@ -18,6 +18,7 @@ bin/mysql_embedded
bin/mysql_fix_extensions
bin/mysql_install_db
%%ROCKSDB%%bin/mysql_ldb
%%ROCKSDB%%bin/myrocks_hotbackup
bin/mysql_plugin
bin/mysql_secure_installation
bin/mysql_setpermission
@ -44,12 +45,6 @@ bin/wsrep_sst_mysqldump
bin/wsrep_sst_rsync
bin/wsrep_sst_xtrabackup
bin/wsrep_sst_xtrabackup-v2
@comment include/mysql/my_config.h
@comment include/mysql/my_global.h
@comment include/mysql/my_sys.h
@comment include/mysql/mysql_com.h
@comment include/mysql/mysql_version.h
@comment include/mysql/mysqld_error.h
include/mysql/server/private/embedded_priv.h
@comment lib/mysql/libmariadb.so
@comment lib/mysql/libmariadb.so.3
@ -147,6 +142,7 @@ man/man8/mysqld.8.gz
%%DATADIR%%/maria_add_gis_sp_bootstrap.sql
%%MROONGA%%%%DATADIR%%/mroonga/install.sql
%%MROONGA%%%%DATADIR%%/mroonga/uninstall.sql
%%MROONGA%%%%DATADIR%%/mroonga/AUTHORS
%%DATADIR%%/my-huge.cnf
%%DATADIR%%/my-innodb-heavy-4G.cnf
%%DATADIR%%/my-large.cnf
@ -162,3 +158,5 @@ man/man8/mysqld.8.gz
%%DATADIR%%/mysqld_multi.server
%%DATADIR%%/wsrep.cnf
%%DATADIR%%/wsrep_notify
%%MROONGA%%share/groonga-normalizer-mysql/README.md
%%MROONGA%%share/groonga/README.md

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME?= mariadb
PORTVERSION= 5.5.58
PORTVERSION= 5.5.59
PORTREVISION?= 0
CATEGORIES= databases ipv6
MASTER_SITES= http://ftp.osuosl.org/pub/mariadb/${PORTNAME}-${PORTVERSION}/source/ \

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1508325537
SHA256 (mariadb-5.5.58.tar.gz) = 26fdf8784a51e5d6f7624c0f4528433a6188065dd1bf92ef69e27db6b0a41002
SIZE (mariadb-5.5.58.tar.gz) = 45784323
TIMESTAMP = 1516351401
SHA256 (mariadb-5.5.59.tar.gz) = c3269ce20b45b177239fd1e3d6d9428a94131711f12758ebf5f65222278bb110
SIZE (mariadb-5.5.59.tar.gz) = 45804920

View file

@ -3,6 +3,7 @@
PORTNAME= memcached
PORTVERSION= 1.5.2
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://www.memcached.org/files/ \
GENTOO

View file

@ -14,6 +14,8 @@
# Default is empty "".
# memcached_user (user): Set user to run memcached.
# Default is "nobody".
# memcached_group (group): Set group to run memcached.
# Default is "nobody".
# memcached_profiles (str): Set to "" by default.
# Define your profiles here.
# memcached_post_start (str): Set extra commands that should be executed after memcached was successfully
@ -30,6 +32,7 @@ pidfile="${_piddir}/memcached.pid"
: ${memcached_enable="NO"}
: ${memcached_user="nobody"}
: ${memcached_group="nobody"}
load_rc_config ${name}
@ -39,6 +42,7 @@ if [ -n "$2" ]; then
pidfile="${_piddir}/memcached.${profile}.pid"
eval memcached_enable="\${memcached_${profile}_enable:-${memcached_enable}}"
eval memcached_user="\${memcached_${profile}_user:-${memcached_user}}"
eval memcached_group="\${memcached_${profile}_group:-${memcached_group}}"
eval memcached_flags="\${memcached_${profile}_flags:-${memcached_flags}}"
eval memcached_post_start="\${memcached_${profile}_post_start:-${memcached_post_start}}"
else
@ -103,9 +107,8 @@ memcached_poststop()
}
command=%%PREFIX%%/bin/memcached
command_args="-d -u ${memcached_user} -P ${pidfile} "
command_args="-d -P ${pidfile} "
memcached_group=`id -gn $memcached_user`
start_precmd="install -d -o $memcached_user -g $memcached_group -m 755 $_piddir"
start_postcmd="${name}_poststart"
stop_postcmd="${name}_poststop"

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME?= mysql
PORTVERSION= 5.5.58
PORTVERSION= 5.5.59
PORTREVISION?= 0
CATEGORIES= databases ipv6
MASTER_SITES= MYSQL/MySQL-5.5

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1508414506
SHA256 (mysql-5.5.58.tar.gz) = 9b6912faf261555c8975db24a987f63f36aaa28052a301e85538346ace0009b9
SIZE (mysql-5.5.58.tar.gz) = 21045852
TIMESTAMP = 1516705214
SHA256 (mysql-5.5.59.tar.gz) = ee920177c9dec770c30b673a21143d5e92a67e8207f9b720d41d51cda05d8513
SIZE (mysql-5.5.59.tar.gz) = 21050313

View file

@ -8,9 +8,9 @@
MYSQL_ADD_EXECUTABLE(mysqltest mysqltest.cc COMPONENT Test)
SET_SOURCE_FILES_PROPERTIES(mysqltest.cc PROPERTIES COMPILE_FLAGS "-DTHREADS")
TARGET_LINK_LIBRARIES(mysqltest mysqlclient regex)
ADD_DEPENDENCIES(mysqltest GenError)
+ENDIF()
MYSQL_ADD_EXECUTABLE(mysqlcheck mysqlcheck.c)
@@ -52,15 +54,19 @@ MYSQL_ADD_EXECUTABLE(mysqlimport mysqlim
SET_SOURCE_FILES_PROPERTIES(mysqlimport.c PROPERTIES COMPILE_FLAGS "-DTHREADS")

View file

@ -0,0 +1,17 @@
sql-common/client_authentication.cc:87:56: error: comparison between pointer and integer ('char *' and 'int')
mysql->options.extension->server_public_key_path != '\0')
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
Part of https://github.com/mysql/mysql-server/commit/db1bde79b1b4
--- sql-common/client_authentication.cc.orig 2017-09-13 15:49:17 UTC
+++ sql-common/client_authentication.cc
@@ -84,7 +84,7 @@ RSA *rsa_init(MYSQL *mysql)
if (mysql->options.extension != NULL &&
mysql->options.extension->server_public_key_path != NULL &&
- mysql->options.extension->server_public_key_path != '\0')
+ mysql->options.extension->server_public_key_path[0] != '\0')
{
pub_key_file= fopen(mysql->options.extension->server_public_key_path,
"r");

View file

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME?= mysql
PORTVERSION= 5.6.38
PORTREVISION= 0
PORTVERSION= 5.6.39
CATEGORIES= databases ipv6
MASTER_SITES= MYSQL/MySQL-5.6
PKGNAMESUFFIX?= 56-server

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1508414750
SHA256 (mysql-5.6.38.tar.gz) = 18f249752f6c64af6e39c5b99c89ee1c86d6eb7fac853707603453cf584c54f3
SIZE (mysql-5.6.38.tar.gz) = 32197625
TIMESTAMP = 1516106681
SHA256 (mysql-5.6.39.tar.gz) = ab1814b03af77bf88dc381eff558ed2e73e19e8e5a4170a78ba3370cd5da434d
SIZE (mysql-5.6.39.tar.gz) = 32110958

View file

@ -15,7 +15,7 @@
MYSQL_ADD_EXECUTABLE(mysqltest mysqltest.cc COMPONENT Test)
SET_SOURCE_FILES_PROPERTIES(mysqltest.cc PROPERTIES COMPILE_FLAGS "-DTHREADS")
TARGET_LINK_LIBRARIES(mysqltest mysqlclient regex)
ADD_DEPENDENCIES(mysqltest GenError)
+IF(FALSE)
MYSQL_ADD_EXECUTABLE(mysqlcheck mysqlcheck.c)

View file

@ -0,0 +1,17 @@
sql-common/client_authentication.cc:87:56: error: comparison between pointer and integer ('char *' and 'int')
mysql->options.extension->server_public_key_path != '\0')
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
Part of https://github.com/mysql/mysql-server/commit/db1bde79b1b4
--- sql-common/client_authentication.cc.orig 2017-09-13 15:49:17 UTC
+++ sql-common/client_authentication.cc
@@ -84,7 +84,7 @@ RSA *rsa_init(MYSQL *mysql)
if (mysql->options.extension != NULL &&
mysql->options.extension->server_public_key_path != NULL &&
- mysql->options.extension->server_public_key_path != '\0')
+ mysql->options.extension->server_public_key_path[0] != '\0')
{
pub_key_file= fopen(mysql->options.extension->server_public_key_path,
"r");

View file

@ -1,50 +0,0 @@
--- sql/sql_trigger.cc.orig 2012-08-02 00:01:13.000000000 +0200
+++ sql/sql_trigger.cc 2012-09-11 17:01:13.000000000 +0200
@@ -192,32 +192,32 @@ static File_option triggers_file_parameters[]=
{
{
{ C_STRING_WITH_LEN("triggers") },
- my_offsetof(class Table_triggers_list, definitions_list),
+ static_cast<int>(my_offsetof(class Table_triggers_list, definitions_list)),
FILE_OPTIONS_STRLIST
},
{
{ C_STRING_WITH_LEN("sql_modes") },
- my_offsetof(class Table_triggers_list, definition_modes_list),
+ static_cast<int>(my_offsetof(class Table_triggers_list, definition_modes_list)),
FILE_OPTIONS_ULLLIST
},
{
{ C_STRING_WITH_LEN("definers") },
- my_offsetof(class Table_triggers_list, definers_list),
+ static_cast<int>(my_offsetof(class Table_triggers_list, definers_list)),
FILE_OPTIONS_STRLIST
},
{
{ C_STRING_WITH_LEN("client_cs_names") },
- my_offsetof(class Table_triggers_list, client_cs_names),
+ static_cast<int>(my_offsetof(class Table_triggers_list, client_cs_names)),
FILE_OPTIONS_STRLIST
},
{
{ C_STRING_WITH_LEN("connection_cl_names") },
- my_offsetof(class Table_triggers_list, connection_cl_names),
+ static_cast<int>(my_offsetof(class Table_triggers_list, connection_cl_names)),
FILE_OPTIONS_STRLIST
},
{
{ C_STRING_WITH_LEN("db_cl_names") },
- my_offsetof(class Table_triggers_list, db_cl_names),
+ static_cast<int>(my_offsetof(class Table_triggers_list, db_cl_names)),
FILE_OPTIONS_STRLIST
},
{ { 0, 0 }, 0, FILE_OPTIONS_STRING }
@@ -226,7 +226,7 @@ static File_option triggers_file_parameters[]=
File_option sql_modes_parameters=
{
{ C_STRING_WITH_LEN("sql_modes") },
- my_offsetof(class Table_triggers_list, definition_modes_list),
+ static_cast<int>(my_offsetof(class Table_triggers_list, definition_modes_list)),
FILE_OPTIONS_ULLLIST
};

View file

@ -1,63 +0,0 @@
--- sql/sql_view.cc.orig 2012-08-02 00:01:13.000000000 +0200
+++ sql/sql_view.cc 2012-09-11 17:01:13.000000000 +0200
@@ -730,46 +730,46 @@ static const int required_view_parameters= 14;
*/
static File_option view_parameters[]=
{{{ C_STRING_WITH_LEN("query")},
- my_offsetof(TABLE_LIST, select_stmt),
+ static_cast<int>(my_offsetof(TABLE_LIST, select_stmt)),
FILE_OPTIONS_ESTRING},
{{ C_STRING_WITH_LEN("md5")},
- my_offsetof(TABLE_LIST, md5),
+ static_cast<int>(my_offsetof(TABLE_LIST, md5)),
FILE_OPTIONS_STRING},
{{ C_STRING_WITH_LEN("updatable")},
- my_offsetof(TABLE_LIST, updatable_view),
+ static_cast<int>(my_offsetof(TABLE_LIST, updatable_view)),
FILE_OPTIONS_ULONGLONG},
{{ C_STRING_WITH_LEN("algorithm")},
- my_offsetof(TABLE_LIST, algorithm),
+ static_cast<int>(my_offsetof(TABLE_LIST, algorithm)),
FILE_OPTIONS_ULONGLONG},
{{ C_STRING_WITH_LEN("definer_user")},
- my_offsetof(TABLE_LIST, definer.user),
+ static_cast<int>(my_offsetof(TABLE_LIST, definer.user)),
FILE_OPTIONS_STRING},
{{ C_STRING_WITH_LEN("definer_host")},
- my_offsetof(TABLE_LIST, definer.host),
+ static_cast<int>(my_offsetof(TABLE_LIST, definer.host)),
FILE_OPTIONS_STRING},
{{ C_STRING_WITH_LEN("suid")},
- my_offsetof(TABLE_LIST, view_suid),
+ static_cast<int>(my_offsetof(TABLE_LIST, view_suid)),
FILE_OPTIONS_ULONGLONG},
{{ C_STRING_WITH_LEN("with_check_option")},
- my_offsetof(TABLE_LIST, with_check),
+ static_cast<int>(my_offsetof(TABLE_LIST, with_check)),
FILE_OPTIONS_ULONGLONG},
{{ C_STRING_WITH_LEN("timestamp")},
- my_offsetof(TABLE_LIST, timestamp),
+ static_cast<int>(my_offsetof(TABLE_LIST, timestamp)),
FILE_OPTIONS_TIMESTAMP},
{{ C_STRING_WITH_LEN("create-version")},
- my_offsetof(TABLE_LIST, file_version),
+ static_cast<int>(my_offsetof(TABLE_LIST, file_version)),
FILE_OPTIONS_ULONGLONG},
{{ C_STRING_WITH_LEN("source")},
- my_offsetof(TABLE_LIST, source),
+ static_cast<int>(my_offsetof(TABLE_LIST, source)),
FILE_OPTIONS_ESTRING},
{{(char*) STRING_WITH_LEN("client_cs_name")},
- my_offsetof(TABLE_LIST, view_client_cs_name),
+ static_cast<int>(my_offsetof(TABLE_LIST, view_client_cs_name)),
FILE_OPTIONS_STRING},
{{(char*) STRING_WITH_LEN("connection_cl_name")},
- my_offsetof(TABLE_LIST, view_connection_cl_name),
+ static_cast<int>(my_offsetof(TABLE_LIST, view_connection_cl_name)),
FILE_OPTIONS_STRING},
{{(char*) STRING_WITH_LEN("view_body_utf8")},
- my_offsetof(TABLE_LIST, view_body_utf8),
+ static_cast<int>(my_offsetof(TABLE_LIST, view_body_utf8)),
FILE_OPTIONS_ESTRING},
{{NullS, 0}, 0,
FILE_OPTIONS_STRING}

View file

@ -18,10 +18,10 @@
MYSQL_ADD_EXECUTABLE(mysqltest mysqltest.cc COMPONENT Test)
SET_SOURCE_FILES_PROPERTIES(mysqltest.cc PROPERTIES COMPILE_FLAGS "-DTHREADS")
TARGET_LINK_LIBRARIES(mysqltest mysqlclient regex)
ADD_DEPENDENCIES(mysqltest GenError)
+ENDIF()
ADD_CONVENIENCE_LIBRARY(mysqlcheck_core check/mysqlcheck_core.cc)
TARGET_LINK_LIBRARIES(mysqlcheck_core mysqlclient)
@@ -78,8 +82,10 @@ TARGET_LINK_LIBRARIES(mysqlimport mysqlc
MYSQL_ADD_EXECUTABLE(mysqlshow mysqlshow.c)
TARGET_LINK_LIBRARIES(mysqlshow mysqlclient)

View file

@ -1,24 +1,6 @@
--- cmake/plugin.cmake.orig 2017-06-22 14:13:19 UTC
+++ cmake/plugin.cmake
@@ -219,9 +219,16 @@ MACRO(MYSQL_ADD_PLUGIN)
# Thus we skip TARGET_LINK_LIBRARIES on Linux, as it would only generate
# an additional dependency.
# Use MYSQL_PLUGIN_IMPORT for static data symbols to be exported.
- IF(NOT CMAKE_SYSTEM_NAME STREQUAL "Linux")
+ #
+ # P.S. "FreeBSD" is obviously not "Linux" but it behaves near similar in this case.
+ IF(NOT CMAKE_SYSTEM_NAME STREQUAL "Linux" AND NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
TARGET_LINK_LIBRARIES (${target} mysqld ${ARG_LINK_LIBRARIES})
ENDIF()
+ IF(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
+ SET_TARGET_PROPERTIES(${target} PROPERTIES
+ LINK_FLAGS "-L%%FREEBSD_LOCAL_LIB%% ${LINK_FLAGS} "
+ )
+ ENDIF()
ADD_DEPENDENCIES(${target} GenError ${ARG_DEPENDENCIES})
IF(NOT ARG_MODULE_ONLY)
@@ -239,13 +246,17 @@ MACRO(MYSQL_ADD_PLUGIN)
@@ -263,13 +270,17 @@ MACRO(MYSQL_ADD_PLUGIN)
MYSQL_INSTALL_TARGETS(${target}
DESTINATION ${INSTALL_PLUGINDIR}
COMPONENT ${INSTALL_COMPONENT})

View file

@ -0,0 +1,15 @@
--- configure.cmake.orig 2018-01-16 23:26:09 UTC
+++ configure.cmake
@@ -43,6 +43,12 @@ IF(UNIX)
ENDIF()
+IF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
+ SET(CMAKE_SHARED_LIBRARY_C_FLAGS
+ "${CMAKE_SHARED_LIBRARY_C_FLAGS} ${CMAKE_C_FLAGS} -L%%FREEBSD_LOCAL_LIB%%")
+ENDIF()
+
+
IF(CMAKE_SYSTEM_NAME MATCHES "SunOS" AND CMAKE_COMPILER_IS_GNUCXX)
## We will be using gcc to generate .so files
## Add C flags (e.g. -m64) to CMAKE_SHARED_LIBRARY_C_FLAGS

View file

@ -121,7 +121,6 @@ include/mysql/typelib.h
lib/mysql/libmysqlclient.a
lib/mysql/libmysqlclient.so
lib/mysql/libmysqlclient.so.20
lib/mysql/libmysqlservices.a
lib/mysql/libmysqlclient_r.a
lib/mysql/libmysqlclient_r.so
lib/mysql/libmysqlclient_r.so.20

View file

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME?= mysql
PORTVERSION= 5.7.20
PORTREVISION= 2
PORTVERSION= 5.7.21
CATEGORIES= databases ipv6
MASTER_SITES= MYSQL/MySQL-5.7
PKGNAMESUFFIX?= 57-server
@ -157,7 +156,7 @@ post-patch:
@${REINPLACE_CMD} 's/*.1/${MMAN1}/' ${WRKSRC}/man/CMakeLists.txt
# issue 220865: MySQL developers forgot that FreeBSD != Linux
@${REINPLACE_CMD} -e 's|%%FREEBSD_LOCAL_LIB%%|${LOCALBASE}/lib|g' \
${WRKSRC}/cmake/plugin.cmake
${WRKSRC}/configure.cmake
.if !defined(CLIENT_ONLY)
post-install:

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1508434184
SHA256 (mysql-boost-5.7.20.tar.gz) = 260582844ac18222ce2826f48b6c7ca387990b19ddb88331af26738b394e42a4
SIZE (mysql-boost-5.7.20.tar.gz) = 48833145
TIMESTAMP = 1516137476
SHA256 (mysql-boost-5.7.21.tar.gz) = ad29ecb6fb3c3571394fe231633a2d1d188d49e9eb749daa4e8799b7630daa09
SIZE (mysql-boost-5.7.21.tar.gz) = 48931457

View file

@ -1,24 +1,6 @@
--- cmake/plugin.cmake.orig 2017-06-22 14:13:19 UTC
+++ cmake/plugin.cmake
@@ -219,9 +219,16 @@ MACRO(MYSQL_ADD_PLUGIN)
# Thus we skip TARGET_LINK_LIBRARIES on Linux, as it would only generate
# an additional dependency.
# Use MYSQL_PLUGIN_IMPORT for static data symbols to be exported.
- IF(NOT CMAKE_SYSTEM_NAME STREQUAL "Linux")
+ #
+ # P.S. "FreeBSD" is obviously not "Linux" but it behaves near similar in this case.
+ IF(NOT CMAKE_SYSTEM_NAME STREQUAL "Linux" AND NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
TARGET_LINK_LIBRARIES (${target} mysqld ${ARG_LINK_LIBRARIES})
ENDIF()
+ IF(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
+ SET_TARGET_PROPERTIES(${target} PROPERTIES
+ LINK_FLAGS "-L%%FREEBSD_LOCAL_LIB%% ${LINK_FLAGS} "
+ )
+ ENDIF()
ADD_DEPENDENCIES(${target} GenError ${ARG_DEPENDENCIES})
IF(NOT ARG_MODULE_ONLY)
@@ -239,13 +246,17 @@ MACRO(MYSQL_ADD_PLUGIN)
@@ -263,13 +270,17 @@ MACRO(MYSQL_ADD_PLUGIN)
MYSQL_INSTALL_TARGETS(${target}
DESTINATION ${INSTALL_PLUGINDIR}
COMPONENT ${INSTALL_COMPONENT})

View file

@ -1,11 +1,11 @@
--- libmysql/CMakeLists.txt.orig 2016-03-28 18:06:12 UTC
+++ libmysql/CMakeLists.txt
@@ -215,7 +215,7 @@ IF(WIN32)
ENDIF()
@@ -235,7 +235,7 @@ MESSAGE(STATUS
ADD_SUBDIRECTORY(authentication_ldap)
# Merge several convenience libraries into one big mysqlclient
-MERGE_LIBRARIES(mysqlclient STATIC ${LIBS} COMPONENT Development)
+MERGE_LIBRARIES(mysqlclient STATIC ${LIBS} COMPONENT Development NOINSTALL)
-MERGE_CONVENIENCE_LIBRARIES(mysqlclient ${LIBS} COMPONENT Development)
+MERGE_CONVENIENCE_LIBRARIES(mysqlclient ${LIBS} COMPONENT Development SKIP_INSTALL)
# Visual Studio users need debug static library for debug projects
IF(MSVC)
@ -14,7 +14,7 @@
MERGE_LIBRARIES(libmysql SHARED ${LIBS}
EXPORTS ${CLIENT_API_FUNCTIONS} ${CLIENT_API_FUNCTIONS_UNDOCUMENTED}
- COMPONENT SharedLibraries)
+ COMPONENT SharedLibraries NOINSTALL)
+ COMPONENT SharedLibraries SKIP_INSTALL)
+IF(FALSE)
IF(UNIX)
# libtool compatability

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME?= percona
DISTVERSION= 5.5.58-38.10
DISTVERSION= 5.5.59-38.11
PORTREVISION?= 0
CATEGORIES= databases ipv6
MASTER_SITES= http://www.percona.com/downloads/Percona-Server-5.5/Percona-Server-${DISTVERSION}/source/tarball/

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1513432672
SHA256 (percona-server-5.5.58-38.10.tar.gz) = 6ad57105b037e0e66ccba320cd58dfc5108e3e585f1e225875c2f96b06429a9e
SIZE (percona-server-5.5.58-38.10.tar.gz) = 23055563
TIMESTAMP = 1517405720
SHA256 (percona-server-5.5.59-38.11.tar.gz) = 1be9a179c86fdf43e2374eb22aaece4ac9f93b4ea89d9c96a20d1b189f7be175
SIZE (percona-server-5.5.59-38.11.tar.gz) = 23064594

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= percona
PORTREVISION?= 0
PORTREVISION?= 1
PKGNAMESUFFIX= 57-client
COMMENT= Multithreaded SQL database (client)
@ -31,6 +31,16 @@ MANPAGES= comp_err.1 mysql.1 mysql_config.1 mysql_config_editor.1 \
CLIENT_ONLY= yes
OPTIONS_GROUP+= PLUGINS
PLUGINS_DESC= Default Client Plugins
OPTIONS_GROUP_PLUGINS= SASLCLIENT
SASLCLIENT_DESC= SASL client plugin module
SASLCLIENT_CMAKE_BOOL= WITH_AUTHENTICATION_LDAP
SASLCLIENT_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
SASLCLIENT_BUILD_DEPENDS= ${LOCALBASE}/include/sasl/sasl.h:net/openldap24-sasl-client
OPTIONS_DEFAULT+= SASLCLIENT
OPTIONS_SUB= yes
# Percona renamed the libraries, until we decide how to deal with it create some symlinks
# to prevent breaking installed ports.
post-install:

View file

@ -0,0 +1,43 @@
--- cmake/plugin.cmake.orig 2017-06-22 14:13:19 UTC
+++ cmake/plugin.cmake
@@ -219,9 +219,16 @@ MACRO(MYSQL_ADD_PLUGIN)
# Thus we skip TARGET_LINK_LIBRARIES on Linux, as it would only generate
# an additional dependency.
# Use MYSQL_PLUGIN_IMPORT for static data symbols to be exported.
- IF(NOT CMAKE_SYSTEM_NAME STREQUAL "Linux")
+ #
+ # P.S. "FreeBSD" is obviously not "Linux" but it behaves near similar in this case.
+ IF(NOT CMAKE_SYSTEM_NAME STREQUAL "Linux" AND NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
TARGET_LINK_LIBRARIES (${target} mysqld ${ARG_LINK_LIBRARIES})
ENDIF()
+ IF(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
+ SET_TARGET_PROPERTIES(${target} PROPERTIES
+ LINK_FLAGS "-L%%FREEBSD_LOCAL_LIB%% ${LINK_FLAGS} "
+ )
+ ENDIF()
ADD_DEPENDENCIES(${target} GenError ${ARG_DEPENDENCIES})
IF(NOT ARG_MODULE_ONLY)
@@ -239,13 +246,17 @@ MACRO(MYSQL_ADD_PLUGIN)
MYSQL_INSTALL_TARGETS(${target}
DESTINATION ${INSTALL_PLUGINDIR}
COMPONENT ${INSTALL_COMPONENT})
- INSTALL_DEBUG_TARGET(${target}
- DESTINATION ${INSTALL_PLUGINDIR}/debug
- COMPONENT ${INSTALL_COMPONENT})
+ IF(CMAKE_BUILD_TYPE MATCHES "Debug")
+ INSTALL_DEBUG_TARGET(${target}
+ DESTINATION ${INSTALL_PLUGINDIR}/debug
+ COMPONENT ${INSTALL_COMPONENT})
+ # Add installed files to list for RPMs
+ FILE(APPEND ${CMAKE_BINARY_DIR}/support-files/plugins.files
+ "%attr(755, root, root) %{_prefix}/${INSTALL_PLUGINDIR}/debug/${ARG_MODULE_OUTPUT_NAME}.so\n")
+ ENDIF()
# Add installed files to list for RPMs
FILE(APPEND ${CMAKE_BINARY_DIR}/support-files/plugins.files
- "%attr(755, root, root) %{_prefix}/${INSTALL_PLUGINDIR}/${ARG_MODULE_OUTPUT_NAME}.so\n"
- "%attr(755, root, root) %{_prefix}/${INSTALL_PLUGINDIR}/debug/${ARG_MODULE_OUTPUT_NAME}.so\n")
+ "%attr(755, root, root) %{_prefix}/${INSTALL_PLUGINDIR}/${ARG_MODULE_OUTPUT_NAME}.so\n")
# For internal testing in PB2, append collections files
IF(DEFINED ENV{PB2WORKDIR})
PLUGIN_APPEND_COLLECTIONS(${plugin})

View file

@ -128,6 +128,7 @@ lib/mysql/libmysqlservices.a
lib/mysql/libperconaserverclient.a
lib/mysql/libperconaserverclient.so
lib/mysql/libperconaserverclient.so.20
%%SASLCLIENT%%lib/mysql/plugin/authentication_ldap_sasl_client.so
libdata/pkgconfig/perconaserverclient.pc
man/man1/comp_err.1.gz
man/man1/mysql.1.gz

View file

@ -2,4 +2,3 @@
lib/mysql/plugin/auth_pam.so
lib/mysql/plugin/auth_pam_compat.so
lib/mysql/plugin/dialog.so
@dir lib/mysql/plugin/debug

View file

@ -123,6 +123,9 @@ MANPAGES= my_print_defaults.1 myisam_ftdump.1 myisamchk.1 myisamlog.1 myisampack
mysqltest.1 perror.1 replace.1 resolve_stack_dump.1 resolveip.1
CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON"
# issue 220865: Currently there's no source to be built with server-side support.
# But this keeps the pkg-plist not overlaping
CMAKE_ARGS+= -DWITH_AUTHENTICATION_LDAP=0
post-install:
${MKDIR} ${STAGEDIR}/var/db/mysql
@ -133,6 +136,9 @@ post-install:
post-patch:
@${REINPLACE_CMD} 's/*.1/${MANPAGES}/' ${WRKSRC}/man/CMakeLists.txt
# issue 220865: MySQL developers forgot that FreeBSD != Linux
@${REINPLACE_CMD} -e 's|%%FREEBSD_LOCAL_LIB%%|${LOCALBASE}/lib|g' \
${WRKSRC}/cmake/plugin.cmake
.include <bsd.port.pre.mk>

View file

@ -0,0 +1,43 @@
--- cmake/plugin.cmake.orig 2017-06-22 14:13:19 UTC
+++ cmake/plugin.cmake
@@ -219,9 +219,16 @@ MACRO(MYSQL_ADD_PLUGIN)
# Thus we skip TARGET_LINK_LIBRARIES on Linux, as it would only generate
# an additional dependency.
# Use MYSQL_PLUGIN_IMPORT for static data symbols to be exported.
- IF(NOT CMAKE_SYSTEM_NAME STREQUAL "Linux")
+ #
+ # P.S. "FreeBSD" is obviously not "Linux" but it behaves near similar in this case.
+ IF(NOT CMAKE_SYSTEM_NAME STREQUAL "Linux" AND NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
TARGET_LINK_LIBRARIES (${target} mysqld ${ARG_LINK_LIBRARIES})
ENDIF()
+ IF(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
+ SET_TARGET_PROPERTIES(${target} PROPERTIES
+ LINK_FLAGS "-L%%FREEBSD_LOCAL_LIB%% ${LINK_FLAGS} "
+ )
+ ENDIF()
ADD_DEPENDENCIES(${target} GenError ${ARG_DEPENDENCIES})
IF(NOT ARG_MODULE_ONLY)
@@ -239,13 +246,17 @@ MACRO(MYSQL_ADD_PLUGIN)
MYSQL_INSTALL_TARGETS(${target}
DESTINATION ${INSTALL_PLUGINDIR}
COMPONENT ${INSTALL_COMPONENT})
- INSTALL_DEBUG_TARGET(${target}
- DESTINATION ${INSTALL_PLUGINDIR}/debug
- COMPONENT ${INSTALL_COMPONENT})
+ IF(CMAKE_BUILD_TYPE MATCHES "Debug")
+ INSTALL_DEBUG_TARGET(${target}
+ DESTINATION ${INSTALL_PLUGINDIR}/debug
+ COMPONENT ${INSTALL_COMPONENT})
+ # Add installed files to list for RPMs
+ FILE(APPEND ${CMAKE_BINARY_DIR}/support-files/plugins.files
+ "%attr(755, root, root) %{_prefix}/${INSTALL_PLUGINDIR}/debug/${ARG_MODULE_OUTPUT_NAME}.so\n")
+ ENDIF()
# Add installed files to list for RPMs
FILE(APPEND ${CMAKE_BINARY_DIR}/support-files/plugins.files
- "%attr(755, root, root) %{_prefix}/${INSTALL_PLUGINDIR}/${ARG_MODULE_OUTPUT_NAME}.so\n"
- "%attr(755, root, root) %{_prefix}/${INSTALL_PLUGINDIR}/debug/${ARG_MODULE_OUTPUT_NAME}.so\n")
+ "%attr(755, root, root) %{_prefix}/${INSTALL_PLUGINDIR}/${ARG_MODULE_OUTPUT_NAME}.so\n")
# For internal testing in PB2, append collections files
IF(DEFINED ENV{PB2WORKDIR})
PLUGIN_APPEND_COLLECTIONS(${plugin})

Some files were not shown because too many files have changed in this diff Show more