Compare commits

...

73 Commits

Author SHA1 Message Date
bsiegert 22047e4adc Pullup ticket #6326 - requested by he
lang/libLLVM: PowerPC build fix

Revisions pulled up:
- lang/libLLVM/hacks.mk                                         1.1

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Tue Sep 15 16:16:29 UTC 2020

   Added Files:
   	pkgsrc/lang/libLLVM: hacks.mk

   Log Message:
   On powerpc, use -mlongcall so that we don't get 24-bit relocation overflow.
2020-09-18 18:27:33 +00:00
bsiegert c2b5ef4f17 Pullup ticket #6325 - requested by he
multimedia/ffmpeg4: PowerPC build fix

Revisions pulled up:
- multimedia/ffmpeg4/hacks.mk                                   1.1

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Mon Sep 14 20:43:36 UTC 2020

   Added Files:
   	pkgsrc/multimedia/ffmpeg4: hacks.mk

   Log Message:
   Use -mvsx compiler flag on powerpc so that the appropriate section
   of the compiler's <altivec.h> header is exposed, so that this builds.
2020-09-18 18:25:15 +00:00
bsiegert 5bad0bb101 Pullup ticket #6324 - requested by he
net/freeradius: PowerPC build fix

Revisions pulled up:
- net/freeradius/hacks.mk                                       1.1

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Sun Sep 13 18:56:29 UTC 2020

   Added Files:
   	pkgsrc/net/freeradius: hacks.mk

   Log Message:
   Use devel/libatomic on powerpc so that this package builds.
2020-09-18 18:23:39 +00:00
bsiegert 6a20eaf526 Pullup ticket #6323 - requested by he
textproc/groonga: PowerPC build fix

Revisions pulled up:
- textproc/groonga/hacks.mk                                     1.5

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Sun Sep 13 13:16:10 UTC 2020

   Added Files:
   	pkgsrc/textproc/groonga: hacks.mk

   Log Message:
   Add use of devel/libatomic on powerpc ports; fixes the build since
   this platform doesn't have native 8-byte atomics.
2020-09-18 18:22:54 +00:00
bsiegert a346d6369d Pullup ticket #6322 - requested by he
www/webkit24-gtk: PowerPC build fix

Revisions pulled up:
- www/webkit24-gtk/hacks.mk                                     1.2

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Sat Sep 12 16:39:06 UTC 2020

   Modified Files:
   	pkgsrc/www/webkit24-gtk: hacks.mk

   Log Message:
   Pull in devel/libatomic on powerpc due to lack of native 8-byte atomics.
   Fixes build on NetBSD/macppc 9.0, should have no effect elsewhere, so no
   revision bump.
2020-09-18 18:22:25 +00:00
bsiegert ea028fdf48 Pullup ticket #6321 - requested by he
www/webkit-gtk: PowerPC build fix

Revisions pulled up:
- www/webkit-gtk/hacks.mk                                       1.2

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Fri Sep 11 09:21:32 UTC 2020

   Modified Files:
   	pkgsrc/www/webkit-gtk: hacks.mk

   Log Message:
   Pull in devel/libatomic on powerpc due to lack of native 8-byte atomics.
   Fixes build on NetBSD/macppc 9.0, should have no effect elsewhere, so no
   revision bump.
2020-09-18 18:21:23 +00:00
bsiegert 2b4354a86b Pullup ticket #6320 - requested by he
devel/protobuf: PowerPC build fix

Revisions pulled up:
- devel/protobuf/hacks.mk                                       1.1

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Tue Sep  8 08:35:23 UTC 2020

   Added Files:
   	pkgsrc/devel/protobuf: hacks.mk

   Log Message:
   On powerpc, which lacks native 8-byte atomics, use devel/libatomic.
   Build fix on this platform only, so no revision bump.
2020-09-18 18:20:57 +00:00
bsiegert be19df7f49 Pullup ticket #6319 - requested by he
converters/wkhtmltopdf: PowerPC build fix

Revisions pulled up:
- converters/wkhtmltopdf/hacks.mk                               1.1

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Tue Sep  8 06:33:47 UTC 2020

   Added Files:
   	pkgsrc/converters/wkhtmltopdf: hacks.mk

   Log Message:
   On powerpc, build with -mlongcall, to avoid truncated relocations.
   Build fix only for this arch, so no revision bump.
2020-09-18 18:20:07 +00:00
bsiegert de411b0985 Pullup tickets up to #6316 2020-08-28 19:07:55 +00:00
bsiegert 9a60d87e01 Pullup ticket #6315 - requested by wiz
security/tor-browser-noscript: dependent update

Revisions pulled up:
- security/tor-browser-noscript/Makefile                        1.5
- security/tor-browser-noscript/distinfo                        1.5

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Wed Aug 26 20:08:15 UTC 2020

   Modified Files:
   	pkgsrc/security/tor-browser-noscript: Makefile distinfo

   Log Message:
   tor-browser-noscript: update to 11.0.41.

   v 11.0.41rc2
   ============================================================
   x More precise event suppression mechanism
   x Fixed regression: events suppressed on file:// pages
     unless scripts are allowed
   x Updated TLDs

   v 11.0.41rc2
   ============================================================
   x More precise event suppression mechanism

   v 11.0.41rc1
   ============================================================
   x Fixed regression: events suppressed on file:// pages
     unless scripts are allowed
   x Updated TLDs

   v 11.0.40
   ============================================================
   x Avoid synchronous policy fetching whenever possible
     (fixes multiple issues)

   v 11.0.40rc2
   ============================================================
   x Avoid synchronous policy fetching whenever possible

   v 11.0.40rc1
   ============================================================
   x Handle edge case in file:// pages: policy change and
     reload before DOMContentLoaded

   v 11.0.39
   ============================================================
   x Fix reload loops on broken file: HTML documents (thanks
     bernie for report)
   x [XSS] Updated HTML event attributes
   x Local policy fallback for file: and ftp: URLs using
     window.name rather than sessionStorage
   x [L10n] Updated bn, br, ca, da, de, el, es, fr, he, is, it,
     ja, lt, mk, ms, nb, nl, pl, pt_BR, ru, sq, sv_SE, tr,
     zh_CN, zh_TW
   x Added "Revoke temporary permissions on NoScript updates,
      even if the browser is not restarted" advanced option
   x Let temporary permissions survive NoScript updates
     (shameless hack)
   x Fixed some traps around Messages abstraction
   x Ignore search / hash on policy matching of domain-less
     URLs (e.g. file:///...)
   x Updated TLDs
   x Fixed automatic scrolling hampers usability on long sites
     lists in popup
   x Better timing for event attributes removal/restore
   x Work-arounds for edge cases in synchronous page loads
     bypassing webRequest (thanks skriptimaahinen)

   v 11.0.39rc8
   ============================================================
   x Several hacks to make non-distruptive updates compatible
     with Chromium
   x Tighten localPolicy persistence mechanism during reloads

   v 11.0.39rc7
   ============================================================
   x Temporary settings survival more resilient and compatible
     with Fenix
   x [L10n] Updated es

   v 11.0.39rc6
   ============================================================
   x Fix reload loops on broken file: HTML documents (thanks
     bernie for report)
   x [XSS] Updated HTML event attributes

   v 11.0.39rc5
   ============================================================
   x Local policy fallback for file: and ftp: URLs using
     window.name rather than sessionStorage
   x [L10n] Updated bn, br, ca, da, de, el, es, fr, he, is, it,
     ja, lt, mk, ms, nb, nl, pl, pt_BR, ru, sq, sv_SE, tr,
     zh_CN, zh_TW
   x Renamed option to "Revoke temporary permissions on
     NoScript updates, even if the browser is not restarted"

   v 11.0.39rc4
   ============================================================
   x Added option to forget temporary settings immediately
     whenever NoScript gets updated
   x Fixed regression: file:/// URLs reloaded whenever NoScript
     gets reinstalled / enabled / reloaded
   x More resilient and easy to debug survival data retrieving

   v 11.0.39rc3
   ============================================================
   x Fixed regression causing manual NoScript downgrades to be
     delayed until manual restart

   v 11.0.39rc2
   ============================================================
   x Let temporary permissions survive NoScript updates
     (shameless hack)
   x Fixed some traps around Messages abstraction
   x Ignore search / hash on policy matching of domain-less
     URLs (e.g. file:///...)
   x Removed useless CSS property
   x Updated TLDs

   v 11.0.39rc1
   ============================================================
   x Updated TLDs
   x Fixed automatic scrolling hampers usability on long sites
     lists in popup
   x Fixed typo in vendor-prefixed CSS

   v 11.0.38rc2
   ============================================================
   x Better timing for event attributes removal/restore

   v 11.0.38rc1
   ============================================================
   x Work-arounds for edge cases in synchronous page loads
     bypassing webRequest (thanks skriptimaahinen)
   x [L10n] Updated bn

   v 11.0.38
   ============================================================
   x Better timing for event attributes removal/restore
   x Work-arounds for edge cases in synchronous page loads
     bypassing webRequest (thanks skriptimaahinen)
   x [L10n] Updated bn

   v 11.0.38rc2
   ============================================================
   x Better timing for event attributes removal/restore

   v 11.0.38rc1
   ============================================================
   x Work-arounds for edge cases in synchronous page loads
     bypassing webRequest (thanks skriptimaahinen)
   x [L10n] Updated bn

   v 11.0.37
   ============================================================
   x Simpler and more reliable sendSyncMessage implementation
     and usage
   x sendSyncMessage support for multiple suspension requests
     (should fix extension script injection issues)
   x Updated TLDs

   v 11.0.37rc3
   ============================================================
   x Simpler and more reliable sendSyncMessage implementation
     and usage
   x Updated TLDs

   v 11.0.37rc2
   ============================================================
   x SyncMessage suspending on DOM modification as well
   x Updated TLDs

   v 11.0.37rc1
   ============================================================
   x Updated TLDs
   x sendSyncMessage support for multiple suspension requests
     (should fix extension script injection issues)

   v 11.0.36
   ============================================================
   x Fixed regression: temporary permissions revocation not
     working anymore on privileged pages
   x SendSyncMessage script execution safety net more
     compatible with other extensions (e.g. BlockTube)

   v 11.0.35
   ============================================================
   x Avoid unnecessary reloads on temporary permissions
     revocation
   x [UI] Removed accidental cyan background for site labels
   x [L10n] Updated es
   x Work-around for conflict with extensions inserting
     elements into content pages' DOM early
   x [XSS] Updated HTML events
   x Updated TLDs
   x Fixed buggy policy references in the Options dialog
   x More accurate NOSCRIPT element emulation
   x Anticipate onScriptDisabled surrogates to first script-src
     'none' CSP violation
   x isTrusted checks for all the content events
   x Improved look in mobile portrait mode
   x Let SyncMessage prevent undesired script execution
     scheduled during suspension

   v 11.0.35rc4
   ============================================================
   x Avoid unnecessary reloads on temporary permissions
     revocation
   x Fixed potentially infinite loop in SyncMessage Firefox
     implementation
   x [UI] Removed accidental cyan background for site labels
   x [L10n] Updated es

   v 11.0.35rc3
   ============================================================
   x Work-around for conflict with extensions inserting
     elements into content pages' DOM early
   x [XSS] Updated HTML events

   v 11.0.35rc2
   ============================================================
   x Updated TLDs
   x Fixed buggy policy references in the Options dialog
   x More accurate NOSCRIPT element emulation
   x Anticipate onScriptDisabled surrogates to first script-src
     'none' CSP violation
   x isTrusted checks for all the content events
   x Improved look in mobile portrait mode

   v 11.0.35rc1
   ============================================================
   x Let SyncMessage prevent undesired script execution
     scheduled during suspension
2020-08-28 19:07:20 +00:00
bsiegert 33ffc14e94 Pullup ticket #6314 - requested by wiz
security/tor-browser-https-everywhere: dependent update

Revisions pulled up:
- security/tor-browser-https-everywhere/Makefile                1.3
- security/tor-browser-https-everywhere/distinfo                1.3

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Mon Aug 24 08:02:33 UTC 2020

   Modified Files:
   	pkgsrc/security/tor-browser-https-everywhere: Makefile distinfo

   Log Message:
   tor-browser-https-everywhere: update to 2020.8.13.

   2020.8.13
   * Fix port based whitelsiting issue #19291
   * Update documentation
   * Update dependencies (NPM and Chromedriver)
   * Minor code fixes in JS
2020-08-28 19:07:14 +00:00
bsiegert 57c8dd349d Pullup ticket #6313 - requested by wiz
security/tor-browser: security fix

Revisions pulled up:
- security/tor-browser/Makefile                                 1.71,1.74
- security/tor-browser/distinfo                                 1.26,1.28
- security/tor-browser/options.mk                               1.7
- security/tor-browser/patches/patch-config_makefiles_rust.mk   1.2
- security/tor-browser/patches/patch-dom_webauthn_u2f-hid-rs_src_lib.rs 1.1
- security/tor-browser/patches/patch-dom_webauthn_u2f-hid-rs_src_netbsd_device.rs 1.1
- security/tor-browser/patches/patch-dom_webauthn_u2f-hid-rs_src_netbsd_fd.rs 1.1
- security/tor-browser/patches/patch-dom_webauthn_u2f-hid-rs_src_netbsd_mod.rs 1.1
- security/tor-browser/patches/patch-dom_webauthn_u2f-hid-rs_src_netbsd_monitor.rs 1.1
- security/tor-browser/patches/patch-dom_webauthn_u2f-hid-rs_src_netbsd_transaction.rs 1.1
- security/tor-browser/patches/patch-dom_webauthn_u2f-hid-rs_src_netbsd_uhid.rs 1.1

---
   Module Name:	pkgsrc
   Committed By:	riastradh
   Date:		Mon Aug 17 06:58:02 UTC 2020

   Modified Files:
   	pkgsrc/security/tor-browser: Makefile options.mk

   Log Message:
   security/tor-browser: Make dbus an option.

---
   Module Name:	pkgsrc
   Committed By:	riastradh
   Date:		Mon Aug 17 06:58:32 UTC 2020

   Modified Files:
   	pkgsrc/security/tor-browser: distinfo
   Added Files:
   	pkgsrc/security/tor-browser/patches:
   	    patch-dom_webauthn_u2f-hid-rs_src_lib.rs
   	    patch-dom_webauthn_u2f-hid-rs_src_netbsd_device.rs
   	    patch-dom_webauthn_u2f-hid-rs_src_netbsd_fd.rs
   	    patch-dom_webauthn_u2f-hid-rs_src_netbsd_mod.rs
   	    patch-dom_webauthn_u2f-hid-rs_src_netbsd_monitor.rs
   	    patch-dom_webauthn_u2f-hid-rs_src_netbsd_transaction.rs
   	    patch-dom_webauthn_u2f-hid-rs_src_netbsd_uhid.rs

   Log Message:
   security/tor-browser: Add U2F support to NetBSD.

   The webauthn API is disabled by default in the Tor Browser:

   https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/26614

   In order to use it, risking the consequences since the Tor Project
   has not audited its anonymity properties, you have to explicitly
   enable security.webauthn.webauthn=true in about:config.

   So if you definitely want to log into a web site using U2F in spite
   of that, with location privacy but not anonymity, then these patches
   now enable it to work on NetBSD (with the caveat that enabling
   security.webauthn.webauthn=true applies also to any web site that
   tries to use the webauthn API, not just the ones you want to log
   into).

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Wed Aug 26 20:55:20 UTC 2020

   Modified Files:
   	pkgsrc/security/tor-browser: Makefile distinfo
   	pkgsrc/security/tor-browser/patches: patch-config_makefiles_rust.mk

   Log Message:
   tor-browser: update to 9.5.4.

   This release updates Firefox to 68.12.0esr.

   Also, this release features important security updates to Firefox.
2020-08-28 19:05:42 +00:00
bsiegert 6fdd166ef6 Pullup ticket #6316 - requested by hannken
net/chrony: security fix

Revisions pulled up:
- net/chrony/Makefile                                           1.43
- net/chrony/distinfo                                           1.14

---
   Module Name:    pkgsrc
   Committed By:   hannken
   Date:           Thu Aug 27 07:00:51 UTC 2020

   Modified Files:
           pkgsrc/net/chrony: Makefile distinfo

   Log Message:
   chrony: update to 3.5.1.

   New in version 3.5.1
   ====================

   Security fixes
   --------------
   * Create new file when writing pidfile (CVE-2020-14367)
2020-08-28 16:13:26 +00:00
bsiegert d4944278c3 Pullup ticket #6311 - requested by taca
net/bind911: security fix

Revisions pulled up:
- net/bind911/Makefile                                          1.29
- net/bind911/distinfo                                          1.21

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Fri Aug 21 16:09:44 UTC 2020

   Modified Files:
   	pkgsrc/net/bind911: Makefile distinfo

   Log Message:
   net/bind911: update to 9.11.22

   Update bind911 to 9.11.22 (BIND 9.11.22).

   	--- 9.11.22 released ---

   5481.	[security]	"update-policy" rules of type "subdomain" were
   			incorrectly treated as "zonesub" rules, which allowed
   			keys used in "subdomain" rules to update names outside
   			of the specified subdomains. The problem was fixed by
   			making sure "subdomain" rules are again processed as
   			described in the ARM. (CVE-2020-8624) [GL #2055]

   5480.	[security]	When BIND 9 was compiled with native PKCS#11 support, it
   			was possible to trigger an assertion failure in code
   			determining the number of bits in the PKCS#11 RSA public
   			key with a specially crafted packet. (CVE-2020-8623)
   			[GL #2037]

   5476.	[security]	It was possible to trigger an assertion failure when
   			verifying the response to a TSIG-signed request.
   			(CVE-2020-8622) [GL #2028]

   5475.	[bug]		Wildcard RPZ passthru rules could incorrectly be
   			overridden by other rules that were loaded from RPZ
   			zones which appeared later in the "response-policy"
   			statement. This has been fixed. [GL #1619]

   5474.	[bug]		dns_rdata_hip_next() failed to return ISC_R_NOMORE
   			when it should have. [GL !3880]

   5465.	[func]		Added fallback to built-in trust-anchors, managed-keys,
   			or trusted-keys if the bindkeys-file (bind.keys) cannot
   			be parsed. [GL #1235]

   5463.	[bug]		Address a potential NULL pointer dereference when out of
   			memory in dnstap.c. [GL #2010]

   5462.	[bug]		Move LMDB locking from LMDB itself to named. [GL #1976]
2020-08-28 15:57:47 +00:00
bsiegert 191c2177f3 Pullup ticket #6310 - requested by he
lang/mozjs60: PowerPC build fix

Revisions pulled up:
- lang/mozjs60/Makefile                                         1.10
- lang/mozjs60/distinfo                                         1.7
- lang/mozjs60/patches/patch-js_src_jit_AtomicOperations.h      1.1
- lang/mozjs60/patches/patch-js_src_jit_none_AtomicOperations-feeling-lucky.h 1.1

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Sun Aug 23 22:29:47 UTC 2020

   Modified Files:
   	pkgsrc/lang/mozjs60: Makefile distinfo
   Added Files:
   	pkgsrc/lang/mozjs60/patches: patch-js_src_jit_AtomicOperations.h
   	    patch-js_src_jit_none_AtomicOperations-feeling-lucky.h

   Log Message:
   Make this build on NetBSD/powerpc:
    * c++ doesn't predefine __ppc__, only __powerpc__.  Compensate.
    * On NetBSD/powerpc, use libatomic for access to 64-bit atomics.
   PKGREVISION not bumped; build fix for NetBSD/powerpc, should not affect others.
2020-08-28 15:44:32 +00:00
bsiegert 79671fdaf8 Pullup ticket #6309 - requested by ryoon
www/php-nextcloud: security fix

Revisions pulled up:
- www/php-nextcloud/Makefile                                    1.39
- www/php-nextcloud/PLIST                                       1.32
- www/php-nextcloud/distinfo                                    1.33

---
   Module Name:	pkgsrc
   Committed By:	ryoon
   Date:		Wed Aug 12 18:18:41 UTC 2020

   Modified Files:
   	pkgsrc/www/php-nextcloud: Makefile PLIST distinfo

   Log Message:
   php-nextcloud: Update to 19.0.1

   Changelog:
   Changes
       Improve group queries (server#21068)
       Do not read certificate bundle from data dir by default (server#21095)
       Fixes infinitely repeating LDPA search results with PHP <= 7.2
   (server#21111)
       Use the loginname to verify the old password in user password changes
   (server#21114)
       Make the translation sanitization optional (server#21126)
       Simplify getGroups, fixing wrong chunking logic (server#21128)
       Move the password confirmation form template to post (server#21131)
       Clear the statscache before fetching the metadata (server#21135)
       Fix reference to wrong class name (server#21148)
       Fix password changes in link and mail shares (server#21151)
       Do not only catch Exceptions but any Throwable during rmt share delete
   (server#21200)
       Normalize sftp path in read and write stream (server#21203)
       Fix the Talk verification (server#21210)
       Prevent harder to share your root (server#21226)
       Use \OC::$CLI instead of PHP_SAPI (server#21242)
       Fix empty event UUID reminder notifications (server#21247)
       Enable passwordless for everyone not only admins. (server#21287)
       Only use background fade if nextcloud blue is set (server#21308)
       Clear LDAP cache after user deletion (server#21333)
       Update icewind/smb to 3.2.5 (server#21342)
       Always sort shares in a reliable way (server#21352)
       Pass the proper share permissions to the create share call (server#21354)
       Reflect unreadable state in the UI (server#21356)
       Increase timeout of the appstore requests (server#21387)
       Fix pagination of contacts search (server#21405)
       Upload part size as S3 parameter instead of constant value (server#21409)
       Avoid duplicate matches in wide and exact results (server#21419)
       Clean up auth tokens when user is deleted (server#21427)
       Fix invalid usage of \Exception::getResult (server#21441)
       Disable Client-Side Monitoring on AWS storage (server#21447)
       Don't log Keys (server#21485)
       GetXbyY can still return false, e.g. when using ldap write support
   (server#21491)
       Acceptence tests shall specify which branch to pick when cloning apps
   (server#21493)
       Give up after 10 seconds in SCSS timeout (server#21495)
       Clarify that the email is always shared within the instance (server#21521)
       Allow to specify the cookie type for appframework responses (server#21526)
       Fix autocomplete for LDAP with `shareapi_only_share_with_group_members` on
   (server#21538)
       Fix modal support for vue apps and dark theme (server#21541)
       Fix language in share notes email for users (server#21550)
       Fix obsolete usage of OCdialogs (server#21568)
       Comment was wrong, block is needed nevertheless (server#21571)
       Relax permissions mask check for detecting part file rename (server#21573)
       Fix share permission checkboxes enabled when permissions can not be set
   (server#21574)
       Fix strings being passed where arrays where expected (server#21583)
       Remove rescanDelay from directory mtime (server#21584)
       Precalculate the primary element color for dark mode too (server#21622)
       Update presign method to match with interface again. (server#21638)
       Log deprecated events as debug (server#21652)
       Fix IPv6 remote addresses from X_FORWARDED_FOR headers before validating
   (server#21655)
       Check if debugMode is defined before using it (server#21660)
       Fix static method call for s3 bucket compat check (server#21663)
       Add missing TarHeader.php (server#21664)
       Revert "Do not read certificate bundle from data dir by default"
   (server#21671)
       Change OAuth2 redirect link to relative link (server#21687)
       Changes the Birthday calendar color to slightly brighter one
   (server#21703)
       Fix releasing a shared lock multiple times (server#21710)
       Fix main bundle on IE11 (server#21726)
       Add a clear message why you could end up there (server#21751)
       Fix placeholder issues with multiplace spaces in the name (server#21770)
       Use the correct mountpoint to calculate (server#21772)
       Fix #21285 as oneliner (server#21779)
       Set the moment locale even earlier (server#21780)
       19.0.1 final (server#21801)
       Build source maps on production build again (server#21834)
       Add missing TarHeader.php (3rdparty#466)
       Allow downloads in sandboxed iframe (files_pdfviewer#187)
       Do not keep loading the slide list on every reopen (firstrunwizard#351)
       Allow to group push notifications via an event (notifications#651)
       Don't shutdown the notifications when it freezes by browser shutdown
   (notifications#666)
       Ignore old push devices (notifications#667)
       More buffer to the key size (notifications#672)
       Delete duplicates of the same push token hash (notifications#676)
       Fix wordwrap issue regression from #540, fix #679 (notifications#686)
       Don't push without internet connection (notifications#694)
       Also check for internet on delete push (notifications#697)
       Correct format for uptime is used (serverinfo#221)
2020-08-28 15:44:21 +00:00
bsiegert e71f6d398c Pullup ticket #6308 - requested by bouyer
sysutils/xenkernel411: security fix

Revisions pulled up:
- sysutils/xenkernel411/Makefile                                1.14
- sysutils/xenkernel411/distinfo                                1.12
- sysutils/xenkernel411/patches/patch-XSA317                    1.1
- sysutils/xenkernel411/patches/patch-XSA319                    1.1
- sysutils/xenkernel411/patches/patch-XSA320                    1.1
- sysutils/xenkernel411/patches/patch-XSA321                    1.1
- sysutils/xenkernel411/patches/patch-XSA328                    1.1

---
   Module Name:	pkgsrc
   Committed By:	bouyer
   Date:		Thu Jul 16 09:57:17 UTC 2020

   Modified Files:
   	pkgsrc/sysutils/xenkernel411: Makefile distinfo
   Added Files:
   	pkgsrc/sysutils/xenkernel411/patches: patch-XSA317 patch-XSA319
   	    patch-XSA320 patch-XSA321 patch-XSA328

   Log Message:
   Add patches for Xen Security Advisories XSA317, XSA319, XSA320, XSA321
   and XSA328
   Bump PKGREVISION
2020-08-28 15:37:49 +00:00
bsiegert 37b5061fcd Pullup ticket #6307 - requested by bouyer
sysutils/xenkernel413: security fix

Revisions pulled up:
- sysutils/xenkernel413/Makefile                                1.2
- sysutils/xenkernel413/distinfo                                1.2
- sysutils/xenkernel413/patches/patch-XSA317                    1.1
- sysutils/xenkernel413/patches/patch-XSA319                    1.1
- sysutils/xenkernel413/patches/patch-XSA320                    1.1
- sysutils/xenkernel413/patches/patch-XSA321                    1.1
- sysutils/xenkernel413/patches/patch-XSA328                    1.1

---
   Module Name:	pkgsrc
   Committed By:	bouyer
   Date:		Thu Jul 16 09:56:47 UTC 2020

   Modified Files:
   	pkgsrc/sysutils/xenkernel413: Makefile distinfo
   Added Files:
   	pkgsrc/sysutils/xenkernel413/patches: patch-XSA317 patch-XSA319
   	    patch-XSA320 patch-XSA321 patch-XSA328

   Log Message:
   Add patches for Xen Security Advisories XSA317, XSA319, XSA320, XSA321
   and XSA328.
   Bump PKGREVISION
2020-08-28 15:37:42 +00:00
bsiegert 29ad21473e Pullup ticket #6306 - requested by bouyer
misc/xygrib: build fix

Revisions pulled up:
- misc/xygrib/distinfo                                          1.5
- misc/xygrib/patches/patch-src_SkewT.h                         1.1

---
   Module Name:	pkgsrc
   Committed By:	bouyer
   Date:		Fri Aug 21 11:31:28 UTC 2020

   Modified Files:
   	pkgsrc/misc/xygrib: distinfo
   Added Files:
   	pkgsrc/misc/xygrib/patches: patch-src_SkewT.h

   Log Message:
   include <QPainterPath> to fix build with current version of Qt.
2020-08-25 18:36:06 +00:00
bsiegert ab09852983 Pullup tickets up to #6305 2020-08-24 19:11:58 +00:00
bsiegert 68a0b9ffa6 Pullup ticket #6305 - requested by bouyer
graphics/xfig: build fix

Revisions pulled up:
- graphics/xfig/Makefile                                        1.79

---
   Module Name:	pkgsrc
   Committed By:	bouyer
   Date:		Wed Aug 19 19:54:11 UTC 2020

   Modified Files:
   	pkgsrc/graphics/xfig: Makefile

   Log Message:
   This needs netpbm (to build a pixmap file) in the build phase.
2020-08-24 19:11:37 +00:00
bsiegert 7022f0762c Pullup ticket #6304 - requested by taca
mail/dovecot2-pigeonhole: dependent update

Revisions pulled up:
- mail/dovecot2-pigeonhole/Makefile                             1.57
- mail/dovecot2-pigeonhole/distinfo                             1.43

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Wed Aug 12 15:58:02 UTC 2020

   Modified Files:
   	pkgsrc/mail/dovecot2-pigeonhole: Makefile distinfo

   Log Message:
   mail/dovecot2-pigeonhole: update to 0.5.11

   Update dovecot2-pigeonhole to 0.5.11.

   v0.5.11 2020-08-12  Aki Tuomi <aki.tuomi@open-xchange.com>

   	* managesieve: managesieve_max_line_length setting is now a "size" type
   	  instead of just number of bytes. This allows using e.g. "64k" as the
   	  value.
   	- lib-sieve: When folding white space is used in the Message-ID header,
   	  it is not stripped away correctly before the message ID value is used,
   	  causing e.g. garbled log lines at delivery.
2020-08-24 19:03:27 +00:00
bsiegert ddb4d6cd0e Pullup ticket #6303 - requested by taca
mail/dovecot2: security fix

Revisions pulled up:
- mail/dovecot2-sqlite/Makefile                                 1.23
- mail/dovecot2/Makefile.common                                 1.41
- mail/dovecot2/PLIST                                           1.70
- mail/dovecot2/buildlink3.mk                                   1.34
- mail/dovecot2/distinfo                                        1.105

---
   Module Name:    pkgsrc
   Committed By:   taca
   Date:           Wed Aug 12 15:54:38 UTC 2020

   Modified Files:
           pkgsrc/mail/dovecot2: Makefile.common PLIST buildlink3.mk distinfo
           pkgsrc/mail/dovecot2-sqlite: Makefile

   Log Message:
   mail/dovocot2: update to 2.3.11.3

   Update dovecot2 and related packages to 2.3.11.3.

   v2.3.11.3 2020-07-29    Aki Tuomi <aki.tuomi@open-xchange.com>

           - pop3-login: Login didn't handle commands in multiple IP packets properly.
             This mainly affected large XCLIENT commands or a large SASL initial
             response parameter in the AUTH command.
           - pop3: pop3_deleted_flag setting was broken, causing:
             Panic: file seq-range-array.c: line 472 (seq_range_array_invert):
             assertion failed: (range[count-1].seq2 <= max_seq)

   v2.3.11.2 2020-07-13    Aki Tuomi <aki.tuomi@open-xchange.com>

           - auth: Lua passdb/userdb leaks stack elements per call, eventually
             causing the stack to become too deep and crashing the auth or
             auth-worker process.
           - lib-mail: v2.3.11 regression: MIME parts not returned correctly by
             Dovecot MIME parser.
           - pop3-login: Login would fail with "Input buffer full" if the initial
             response for SASL was too long.

   v2.3.11 2020-06-17  Aki Tuomi <aki.tuomi@open-xchange.com>

           * CVE-2020-12100: Parsing mails with a large number of MIME parts could
             have resulted in excessive CPU usage or a crash due to running out of
             stack memory.
           * CVE-2020-12673: Dovecot's NTLM implementation does not correctly check
             message buffer size, which leads to reading past allocation which can
             lead to crash.
           * CVE-2020-12674: Dovecot's RPA mechanism implementation accepts
             zero-length message, which leads to assert-crash later on.
           * Events: Fix inconsistency in events. See event documentation in
             https://doc.dovecot.org.
           * imap_command_finished event's cmd_name field now contains "unknown"
             for unknown commands. A new "cmd_input_name" field contains the
             command name exactly as it was sent.
           * lib-index: Renamed mail_cache_compress_* settings to mail_cache_purge_*.
             Note that these settings are mainly intended for testing and usually
             shouldn't be changed.
           * events: Renamed "index" event category to "mail-index".
           * events: service:<name> category is now using the name from
             configuration file.
           * dns-client: service dns_client was renamed to dns-client.
           * log: Prefixes generally use the service name from configuration file.
             For example dict-async service will now use
             "dict-async(pid): " log prefix instead of "dict(pid): "
           * *-login: Changed logging done by proxying to use a consistent prefix
             containing the IP address and port.
           * *-login: Changed disconnection log messages to be slightly clearer.
           + dict: Add events for dictionaries.
           + lib-index: Finish logging with events.
           + oauth2: Support local validation of JWT tokens.
           + stats: Add support for dynamic histograms and grouping. See
             https://doc.dovecot.org/configuration_manual/stats/.
           + imap: Implement RFC 8514: IMAP SAVEDATE
           + lib-index: If a long-running transaction (e.g. SORT/FETCH on a huge
             folder) adds a lot of data to dovecot.index.cache file, commit those
             changes periodically to make them visible to other concurrent sessions
             as well.
           + stats: Add OpenMetrics exporter for statistics. See
             https://doc.dovecot.org/configuration_manual/stats/openmetrics/.
           + stats: Support disabling stats-writer socket by setting
             stats_writer_socket_path="".
           - auth-worker: Process keeps slowly increasing its memory usage and
             eventually dies with "out of memory" due to reaching vsz_limit.
           - auth: Prevent potential timing attacks in authentication secret
             comparisons: OAUTH2 JWT-token HMAC, imap-urlauth token, crypt() result.
           - auth: Several auth-mechanisms allowed input to be truncated by NUL
             which can potentially lead to unintentional issues or even successful
             logins which should have failed.
           - auth: When auth policy returned a delay, auth_request_finished event
             had policy_result=ok field instead of policy_result=delayed.
           - auth: auth process crash when auth_policy_server_url is set to an
             invalid URL.
           - dict-ldap: Crash occurs if var_expand template expansion fails.
           - dict: If dict client disconnected while iteration was still running,
             dict process could have started using 100% CPU, although it was still
             handling clients.
           - doveadm: Running doveadm commands via proxying may hang, especially
             when doveadm is printing a lot of output.
           - imap: "MOVE * destfolder" goes to a loop copying the last mail to the
             destination until the imap process dies due to running out of memory.
           - imap: Running "UID MOVE 1:* Trash" on an empty folder goes to infinite
             loop.
           - imap: SEARCH doesn't support $.
           - lib-compress: Buffer over-read in zlib stream read.
           - lib-dns: If DNS lookup times out, lib-dns can cause crash in calling
             process.
           - lib-index: Fixed several bugs in dovecot.index.cache handling that
             could have caused cached data to be lost.
           - lib-index: Writing to >=1 GB dovecot.index.cache files may cause
             assert-crashes:
             Panic: file mail-index-util.c: line 37 (mail_index_uint32_to_offset):
             assertion failed: (offset < 0x40000000)
           - lib-ssl-iostream: Fix buggy OpenSSL error handling without
             assert-crashing. If there is no error available, log it as an error
             instead of crashing:
             Panic: file iostream-openssl.c: line 599 (openssl_iostream_handle_error):
             assertion failed: (errno != 0)
           - lib-ssl-iostream: ssl_key_password setting did not work.
           - submission: A segfault crash may occur when the client or server
             disconnects while a non-transaction command like NOOP or VRFY is still
             being processed.
           - virtual: Copying/moving mails with IMAP into a virtual folder assert-crashes:
             Panic: file cmd-copy.c: line 152 (fetch_and_copy): assertion failed:
             (copy_ctx->copy_count == seq_range_count(&copy_ctx->saved_uids))
2020-08-24 19:03:13 +00:00
bsiegert d71cee1f7b Pullup tickets up to #6302 2020-08-23 18:59:36 +00:00
bsiegert 4dad4f6040 Pullup ticket #6302 - requested by taca
mail/roundcube: security fix

Revisions pulled up:
- mail/roundcube-plugin-password/distinfo                       1.21
- mail/roundcube/Makefile.common                                1.21
- mail/roundcube/distinfo                                       1.72

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Mon Aug 10 22:30:41 UTC 2020

   Modified Files:
   	pkgsrc/mail/roundcube: Makefile.common distinfo
   	pkgsrc/mail/roundcube-plugin-password: distinfo

   Log Message:
   mail/roundcube: update to 1.4.8

   Update roundcube to 1.4.8, security release.

   RELEASE 1.4.8
   -------------
   - Security: Fix potential XSS issue in HTML editor of the identity signature input (#7507)
   - Managesieve: Fix too-small input field in Elastic when using custom headers (#7498)
   - Fix support for an error as a string in message_before_send hook (#7475)
   - Elastic: Fix redundant scrollbar in plain text editor on mail reply (#7500)
   - Elastic: Fix deleted and replied+forwarded icons on messages list (#7503)
   - Managesieve: Allow angle brackets in out-of-office message body (#7518)
   - Fix bug in conversion of email addresses to mailto links in plain text messages (#7526)
   - Fix format=flowed formatting on plain text part derived from the HTML content (#7504)
   - Fix incorrect rewriting of internal links in HTML content (#7512)
   - Fix handling links without defined protocol (#7454)
   - Fix paging of search results on IMAP servers with no SORT capability (#7462)
   - Fix detecting special folders on servers with both SPECIAL-USE and LIST-STATUS (#7525)
   - Security: Fix cross-site scripting (XSS) via HTML messages with malicious svg content [CVE-2020-16145]
   - Security: Fix cross-site scripting (XSS) via HTML messages with malicious math content
2020-08-23 18:58:28 +00:00
bsiegert dcc668c486 Pullup ticket #6301 - requested by taca
www/apache24: security fix

Revisions pulled up:
- www/apache24/Makefile                                         1.94
- www/apache24/distinfo                                         1.44

---
   Module Name:    pkgsrc
   Committed By:   taca
   Date:           Sun Aug  9 15:01:55 UTC 2020

   Modified Files:
           pkgsrc/www/apache24: Makefile distinfo

   Log Message:
   www/apache24: update to 2.4.46

   Update apache24 to 2.4.46 (Apache HTTPD 2.4.46).  It fixes several
   security problems:

   CVE-2020-9490: Push Diary Crash on Specifically Crafted HTTP/2 Header
   CVE-2020-11984: mod_uwsgi buffer overlow
   CVE-2020-11985: CWE-345: Insufficient verification of data authenticity
   CVE-2020-11993: Push Diary Crash on Specifically Crafted HTTP/2 Header

   pkgsrc changes: reduce warnings by SUBST_* processing.

   Changes with Apache 2.4.46
     *) mod_proxy_fcgi: Fix build warnings for Windows platform
        [Eric Covener, Christophe Jaillet]

   Changes with Apache 2.4.45

     *) mod_http2: remove support for abandoned http-wg draft
        <https://datatracker.ietf.org/doc/draft-kazuho-h2-cache-digest/>.
        [Stefan Eissing]

   Changes with Apache 2.4.44

     *) mod_proxy_uwsgi: Error out on HTTP header larger than 16K (hard
        protocol limit).  [Yann Ylavic]

     *) mod_http2:
        Fixes <https://github.com/icing/mod_h2/issues/200>:
        "LimitRequestFields 0" now disables the limit, as documented.
        Fixes <https://github.com/icing/mod_h2/issues/201>:
        Do not count repeated headers with same name against the field
        count limit. The are merged internally, as if sent in a single HTTP/1 line.
        [Stefan Eissing]

     *) mod_http2: Avoid segfaults in case of handling certain responses for
        already aborted connections.  [Stefan Eissing, Ruediger Pluem]

     *) mod_http2: The module now handles master/secondary connections and has marked
        methods according to use. [Stefan Eissing]

     *) core: Drop an invalid Last-Modified header value coming
        from a FCGI/CGI script instead of replacing it with Unix epoch.
        [Yann Ylavic, Luca Toscano]

     *) Add support for strict content-length parsing through addition of
        ap_parse_strict_length() [Yann Ylavic]

     *) mod_proxy_fcgi: ProxyFCGISetEnvIf unsets variables when expression
        evaluates to false.  PR64365. [Michael König <mail ikoenig.net>]

     *) mod_proxy_http: flush spooled request body in one go to avoid
        leaking (or long lived) temporary file. PR 64452. [Yann Ylavic]

     *) mod_ssl: Fix a race condition and possible crash when using a proxy client
        certificate (SSLProxyMachineCertificateFile).
        [Armin Abfalterer <a.abfalterer gmail.com>]

     *) mod_ssl: Fix memory leak in stapling code. PR63687. [Stefan Eissing]

     *) mod_http2: Fixed regression that no longer set H2_STREAM_ID and H2_STREAM_TAG.
        PR64330 [Stefan Eissing]

     *) mod_http2: Fixed regression that caused connections to close when mod_reqtimeout
        was configured with a handshake timeout. Fixes gitub issue #196.
        [Stefan Eissing]

     *) mod_proxy_http2: the "ping" proxy parameter
        (see <https://httpd.apache.org/docs/2.4/mod/mod_proxy.html>) is now used
        when checking the liveliness of a new or reused h2 connection to the backend.
        With short durations, this makes load-balancing more responsive. The module
        will hold back requests until ping conditions are met, using features of the
        HTTP/2 protocol alone. [Ruediger Pluem, Stefan Eissing]

     *) core: httpd is no longer linked against -lsystemd if mod_systemd
        is enabled (and built as a DSO).  [Rainer Jung]

     *) mod_proxy_http2: respect ProxyTimeout settings on backend connections
        while waiting on incoming data. [Ruediger Pluem, Stefan Eissing]
2020-08-23 18:52:33 +00:00
bsiegert 78dfac886c Pullup ticket #6300 - requested by taca
lang/php72: security fix

Revisions pulled up:
- lang/php/phpversion.mk                                        1.306
- lang/php72/Makefile                                           1.28
- lang/php72/distinfo                                           1.56-1.57

---
   Module Name:    pkgsrc
   Committed By:   taca
   Date:           Sat Jul 11 04:06:07 UTC 2020

   Modified Files:
           pkgsrc/lang/php: phpversion.mk
           pkgsrc/lang/php72: Makefile distinfo

   Log Message:
   lang/php72: update to 7.2.

   Update php72 to 7.2

   09 Jul 2020, PHP 7.2.32

   - Core:
     . No source changes to this release.
       Vesion number added for reproduction of Windows builds. (cmb)

   14 May 2020, PHP 7.2.31

   - Core:
     . Fixed bug #78875 (Long filenames cause OOM and temp files are not cleaned).
       (CVE-2019-11048) (cmb)
     . Fixed bug #78876 (Long variables in multipart/form-data cause OOM and temp
       files are not cleaned). (CVE-2019-11048) (cmb)

---
   Module Name:    pkgsrc
   Committed By:   taca
   Date:           Sat Aug  8 13:32:57 UTC 2020

   Modified Files:
           pkgsrc/lang/php: phpversion.mk
           pkgsrc/lang/php72: distinfo

   Log Message:
   lang/php72: update to 7.2.33

   Update php72 to 7.2.33 (PHP 7.2.33).

   06 Aug 2020, PHP 7.2.33

   - Core:
     . Fixed bug #79877 (getimagesize function silently truncates after a null
       byte) (cmb)

   - Phar:
     . Fixed bug #79797 (Use of freed hash key in the phar_parse_zipfile
       function). (CVE-2020-7068) (cmb)
2020-08-23 18:52:28 +00:00
bsiegert 2400eacc9d Pullup ticket #6299 - requested by taca
lang/php74: security fix

Revisions pulled up:
- lang/php74/distinfo                                           1.10-1.11

---
   Module Name:    pkgsrc
   Committed By:   taca
   Date:           Sat Jul 11 04:02:14 UTC 2020

   Modified Files:
           pkgsrc/lang/php: phpversion.mk
           pkgsrc/lang/php74: distinfo

   Log Message:
   lang/php74: update to 7.4.8

   Update php74 to 7.4.8.

   09 Jul 2020, PHP 7.4.8

   - Core:
     . Fixed bug #79649 (Altering disable_functions from module init corrupts
       memory). (Laruence)
     . Fixed bug #79595 (zend_init_fpu() alters FPU precision). (cmb, Nikita)
     . Fixed bug #79650 (php-win.exe 100% cpu lockup). (cmb)
     . Fixed bug #79668 (get_defined_functions(true) may miss functions). (cmb,
       Nikita)
     . Fixed bug #79657 ("yield from" hangs when invalid value encountered).
       (Nikita)
     . Fixed bug #79683 (Fake reflection scope affects __toString()). (Nikita)
     . Fixed possibly unsupported timercmp() usage. (cmb)

   - Exif:
     . Fixed bug #79687 (Sony picture - PHP Warning - Make, Model, MakerNotes).
       (cmb)

   - Fileinfo:
     . Fixed bug #79681 (mime_content_type/finfo returning incorrect mimetype).
       (cmb)

   - Filter:
     . Fixed bug #73527 (Invalid memory access in php_filter_strip). (cmb)

   - GD:
     . Fixed bug #79676 (imagescale adds black border with IMG_BICUBIC). (cmb)

   - OpenSSL:
     . Fixed bug #62890 (default_socket_timeout=-1 causes connection to timeout).
       (cmb)

   - PDO SQLite:
     . Fixed bug #79664 (PDOStatement::getColumnMeta fails on empty result set).
       (cmb)

   - phpdbg:
     . Fixed bug #73926 (phpdbg will not accept input on restart execution). (cmb)
     . Fixed bug #73927 (phpdbg fails with windows error prompt at "watch array").
       (cmb)
     . Fixed several mostly Windows related phpdbg bugs. (cmb)

   - SPL:
     . Fixed bug #79710 (Reproducible segfault in error_handler during GC
       involved an SplFileObject). (Nikita)

   - Standard:
     . Fixed bug #74267 (segfault with streams and invalid data). (cmb)
     . Fixed bug #79579 (ZTS build of PHP 7.3.17 doesn't handle ERANGE for
       posix_getgrgid and others). (Böszörményi Zoltán)

---
   Module Name:    pkgsrc
   Committed By:   taca
   Date:           Sat Aug  8 13:31:19 UTC 2020

   Modified Files:
           pkgsrc/lang/php: phpversion.mk
           pkgsrc/lang/php74: distinfo

   Log Message:
   lang/php74: update to 7.4.9

   Update php74 to 7.4.9 (PHP 7.4.9).

   06 Aug 2020, PHP 7.4.9

   - Apache:
     . Fixed bug #79030 (Upgrade apache2handler's php_apache_sapi_get_request_time
       to return usec). (Herbert256)

   - COM:
     . Fixed bug #63208 (BSTR to PHP string conversion not binary safe). (cmb)
     . Fixed bug #63527 (DCOM does not work with Username, Password parameter).
       (cmb)

   - Core:
     . Fixed bug #79740 (serialize() and unserialize() methods can not be called
       statically). (Nikita)
     . Fixed bug #79783 (Segfault in php_str_replace_common). (Nikita)
     . Fixed bug #79778 (Assertion failure if dumping closure with unresolved
       static variable). (Nikita)
     . Fixed bug #79779 (Assertion failure when assigning property of string
       offset by reference). (Nikita)
     . Fixed bug #79792 (HT iterators not removed if empty array is destroyed).
       (Nikita)
     . Fixed bug #78598 (Changing array during undef index RW error segfaults).
       (Nikita)
     . Fixed bug #79784 (Use after free if changing array during undef var during
       array write fetch). (Nikita)
     . Fixed bug #79793 (Use after free if string used in undefined index warning
       is changed). (Nikita)
     . Fixed bug #79862 (Public non-static property in child should take priority
       over private static). (Nikita)
     . Fixed bug #79877 (getimagesize function silently truncates after a null
       byte) (cmb)

   - Fileinfo:
     . Fixed bug #79756 (finfo_file crash (FILEINFO_MIME)). (cmb)

   - FTP:
     . Fixed bug #55857 (ftp_size on large files). (cmb)

   - Mbstring:
     . Fixed bug #79787 (mb_strimwidth does not trim string). (XXiang)

   - Phar:
     . Fixed bug #79797 (Use of freed hash key in the phar_parse_zipfile
       function). (CVE-2020-7068) (cmb)

   - Reflection:
     . Fixed bug #79487 (::getStaticProperties() ignores property modifications).
       (cmb, Nikita)
     . Fixed bug #69804 (::getStaticPropertyValue() throws on protected props).
       (cmb, Nikita)
     . Fixed bug #79820 (Use after free when type duplicated into
       ReflectionProperty gets resolved). (Christopher Broadbent)

   - Standard:
     . Fixed bug #70362 (Can't copy() large 'data://' with open_basedir). (cmb)
     . Fixed bug #78008 (dns_check_record() always return true on Alpine).
       (Andy Postnikov)
     . Fixed bug #79839 (array_walk() does not respect property types). (Nikita)
2020-08-23 18:42:13 +00:00
gdt 6413ae11f6 geography/gpsd: Revert errant commit to branch 2020-08-18 17:48:01 +00:00
gdt b243a2323e geography/gpsd: Update to 3.21
Upstream NEWS:

3.21: 2020-08-04
  Create python programs from .in files to allow macro substitution.
  Finally clean .sconsign*.dblite with "scons -c"
  Remove revision.h.  Move REVISION into gpsd_config.h
  Change asciidoc to asciidoctor, and revise documents to match.
  library version bumped to 27
  Add leap_seconds to gps_data_t
  Add/change many rtcm2 structs in gps.h
  Add/change many rtcm3 structs in gps.h
  Maindenhead now 8 chars.
  Add icondir and sharedir install options
  Install basic doc in sharedir
  Move gps_data_t->status to gps_fix_t.status for better fix merging
  The gps python module is now Pure Python + FFI.  FFI only for packet.py
  User should manually delete any old packet*so.
  Add wspeedt, wspeedr, wanglem, wanglet, wangler to  gps_fix_t
  Add "-p CONFIG", "-p STATUS", "-t" and "-tt" options to ubxtool.
  Add python_shebang option to scons config.
  gpsrinex has long options and many new options.
  Added long options to gpsd.
  Remove unused FORCE_GLOBAL_ENABLE
  Remove config option reconfigure, replace with -p, --passive runtime option.
  Remove config option controlsend (RECONFIGURE_ENABLE)
  Add config option rundir=XX.  Default set to /run, or /var/run as required.
  Fixes for Python 2.6 up to 3.9.
2020-08-18 17:37:48 +00:00
bsiegert 7a3280cea4 Pullup tickets up to #6298 2020-08-14 19:33:48 +00:00
bsiegert 75319050a0 Pullup ticket #6298 - requested by taca
lang/php73: security fix

Revisions pulled up:
- lang/php73/distinfo                                           1.24-1.25

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sat Jul 11 03:59:46 UTC 2020

   Modified Files:
   	pkgsrc/lang/php: phpversion.mk
   	pkgsrc/lang/php73: distinfo

   Log Message:
   lang/php73: update to 7.3.20

   Update php73 to 7.3.20.

   09 Jul 2020, PHP 7.3.20

   - Core:
     . Fixed bug #79650 (php-win.exe 100% cpu lockup). (cmb)
     . Fixed bug #79668 (get_defined_functions(true) may miss functions). =
   (cmb,
       Nikita)
     . Fixed possibly unsupported timercmp() usage. (cmb)

   - Exif:
     . Fixed bug #79687 (Sony picture - PHP Warning - Make, Model, MakerNo=
   tes).
       (cmb)

   - Filter:
     . Fixed bug #73527 (Invalid memory access in php_filter_strip). (cmb)=


   - GD:
     . Fixed bug #79676 (imagescale adds black border with IMG_BICUBIC). (=
   cmb)

   - OpenSSL:
     . Fixed bug #62890 (default_socket_timeout=3D-1 causes connection to =
   timeout).
       (cmb)

   - PDO SQLite:
     . Fixed bug #79664 (PDOStatement::getColumnMeta fails on empty result=
    set).
       (cmb)

   - SPL:
     . Fixed bug #79710 (Reproducible segfault in error_handler during GC
       involved an SplFileObject). (Nikita)

   - Standard:
     . Fixed bug #74267 (segfault with streams and invalid data). (cmb)
     . Fixed bug #79579 (ZTS build of PHP 7.3.17 doesn't handle ERANGE for=

       posix_getgrgid and others). (B=F6sz=F6rm=E9nyi Zolt=E1n)
   09 Jul 2020, PHP 7.3.20

   - Core:
     . Fixed bug #79650 (php-win.exe 100% cpu lockup). (cmb)
     . Fixed bug #79668 (get_defined_functions(true) may miss functions). =
   (cmb,
       Nikita)
     . Fixed possibly unsupported timercmp() usage. (cmb)

   - Exif:
     . Fixed bug #79687 (Sony picture - PHP Warning - Make, Model, MakerNo=
   tes).
       (cmb)

   - Filter:
     . Fixed bug #73527 (Invalid memory access in php_filter_strip). (cmb)=


   - GD:
     . Fixed bug #79676 (imagescale adds black border with IMG_BICUBIC). (=
   cmb)

   - OpenSSL:
     . Fixed bug #62890 (default_socket_timeout=3D-1 causes connection to =
   timeout).
       (cmb)

   - PDO SQLite:
     . Fixed bug #79664 (PDOStatement::getColumnMeta fails on empty result=
    set).
       (cmb)

   - SPL:
     . Fixed bug #79710 (Reproducible segfault in error_handler during GC
       involved an SplFileObject). (Nikita)

   - Standard:
     . Fixed bug #74267 (segfault with streams and invalid data). (cmb)
     . Fixed bug #79579 (ZTS build of PHP 7.3.17 doesn't handle ERANGE for=

       posix_getgrgid and others). (B=F6sz=F6rm=E9nyi Zolt=E1n)

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sat Aug  8 13:30:07 UTC 2020

   Modified Files:
   	pkgsrc/lang/php: phpversion.mk
   	pkgsrc/lang/php73: distinfo

   Log Message:
   lang/php73: update to 7.3.21

   Update php73 to 7.3.21 (PHP 7.3.21).

   06 Aug 2020, PHP 7.3.21

   - Apache:
     . Fixed bug #79030 (Upgrade apache2handler's php_apache_sapi_get_requ=
   est_time
       to return usec). (Herbert256)

   - Core:
     . Fixed bug #79877 (getimagesize function silently truncates after a =
   null
       byte) (cmb)
     . Fixed bug #79778 (Assertion failure if dumping closure with unresol=
   ved
       static variable). (Nikita)
     . Fixed bug #79792 (HT iterators not removed if empty array is destro=
   yed).
       (Nikita)

   - COM:
     . Fixed bug #63208 (BSTR to PHP string conversion not binary safe). (=
   cmb)
     . Fixed bug #63527 (DCOM does not work with Username, Password parame=
   ter).
       (cmb)

   - Curl:
     . Fixed bug #79741 (curl_setopt CURLOPT_POSTFIELDS asserts on object =
   with
       declared properties). (Nikita)

   - Fileinfo:
     . Fixed bug #79756 (finfo_file crash (FILEINFO_MIME)). (cmb)

   - FTP:
     . Fixed bug #55857 (ftp_size on large files). (cmb)

   - Mbstring:
     . Fixed bug #79787 (mb_strimwidth does not trim string). (XXiang)

   - Phar:
     . Fixed bug #79797 (Use of freed hash key in the phar_parse_zipfile
       function). (CVE-2020-7068) (cmb)

   - Standard:
     . Fixed bug #70362 (Can't copy() large 'data://' with open_basedir). =
   (cmb)
     . Fixed bug #79817 (str_replace() does not handle INDIRECT elements).=
    (Nikita)
     . Fixed bug #78008 (dns_check_record() always return true on Alpine).=

       (Andy Postnikov)
2020-08-14 19:33:28 +00:00
bsiegert ff89ed2776 Pullup ticket #6297 - requested by taca
security/clamav: security fix

Revisions pulled up:
- security/clamav/Makefile                                      1.69
- security/clamav/Makefile.common                               1.17
- security/clamav/distinfo                                      1.34

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Fri Jul 17 04:48:32 UTC 2020

   Modified Files:
   	pkgsrc/security/clamav: Makefile Makefile.common distinfo

   Log Message:
   security/clamav: update to 0.102.4

   Update clamav to 0.102.4.

   ## 0.102.4

   ClamAV 0.102.4 is a bug patch release to address the following issues.

   - [CVE-2020-3350](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-3350):
     Fix a vulnerability wherein a malicious user could replace a scan target's
     directory with a symlink to another path to trick clamscan, clamdscan, or
     clamonacc into removing or moving a different file (eg. a critical system
     file). The issue would affect users that use the --move or --remove options
     for clamscan, clamdscan, and clamonacc.

     For more information about AV quarantine attacks using links, see the
     [RACK911 Lab's report](https://www.rack911labs.com/research/exploiting-almost-every-antivirus-software).

   - [CVE-2020-3327](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-3327):
     Fix a vulnerability in the ARJ archive parsing module in ClamAV 0.102.3 that
     could cause a Denial-of-Service (DoS) condition. Improper bounds checking
     results in an out-of-bounds read which could cause a crash.
     The previous fix for this CVE in 0.102.3 was incomplete. This fix correctly
     resolves the issue.

   - [CVE-2020-3481](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-3481):
     Fix a vulnerability in the EGG archive module in ClamAV 0.102.0 - 0.102.3
     could cause a Denial-of-Service (DoS) condition. Improper error handling
     may result in a crash due to a NULL pointer dereference.
     This vulnerability is mitigated for those using the official ClamAV
     signature databases because the file type signatures in daily.cvd
     will not enable the EGG archive parser in versions affected by the
     vulnerability.
2020-08-14 18:23:48 +00:00
bsiegert cb2c824993 Pullup ticket #6296 - requested by maya
lang/nodejs: aarch64 bugfix, PR port-arm/55533

(via patch)

---
   Module Name:    pkgsrc
   Committed By:   maya
   Date:           Wed Aug  5 21:49:18 UTC 2020

   Modified Files:
	   pkgsrc/lang/nodejs: Makefile distinfo
	   pkgsrc/lang/nodejs/patches:
	       patch-deps_v8_src_base_platform_platform-posix.cc

   Log Message:
   nodejs: workaround issue for netbsd/aarch64 in PR port-arm/55533

   NetBSD mmap might fail depending on the choice of hint addr given, so don't
   give a hint at all.

   bump PKGREVISION.
2020-08-14 17:18:38 +00:00
bsiegert a83874f9fa Pullup ticket #6295 - requested by maya
x11/libX11: bugfix

Revisions pulled up:
- x11/libX11/Makefile                                           1.53
- x11/libX11/distinfo                                           1.32
- x11/libX11/patches/patch-regression                           1.1

---
   Module Name:	pkgsrc
   Committed By:	maya
   Date:		Tue Aug  4 15:50:19 UTC 2020

   Modified Files:
   	pkgsrc/x11/libX11: Makefile distinfo
   Added Files:
   	pkgsrc/x11/libX11/patches: patch-regression

   Log Message:
   libX11: backport patch fixing regression from upstream. bump PKGREVISION
2020-08-14 17:11:16 +00:00
bsiegert 0102c60993 Pullup ticket #6294 - requested by wiz
textproc/hunspell: security fix

Revisions pulled up:
- textproc/hunspell/Makefile                                    1.32
- textproc/hunspell/distinfo                                    1.13
- textproc/hunspell/patches/patch-src_hunspell_suggestmgr.cxx   1.1

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Mon Aug  3 11:19:28 UTC 2020

   Modified Files:
   	pkgsrc/textproc/hunspell: Makefile distinfo
   Added Files:
   	pkgsrc/textproc/hunspell/patches: patch-src_hunspell_suggestmgr.cxx

   Log Message:
   hunspell: fix CVE-2019-16707 using upstream patch

   Bump PKGREVISION.
2020-08-14 17:07:02 +00:00
bsiegert 081f4f3dd9 Pullup ticket #6293 - requested by wiz
databases/redis: security fix

Revisions pulled up:
- databases/redis/Makefile                                      1.56

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Mon Aug  3 10:38:45 UTC 2020

   Modified Files:
   	pkgsrc/databases/redis: Makefile

   Log Message:
   redis: fix CVE-2016-2121

   The configuration file was installed mode 644, but could contain passwords.

   Bump PKGREVISION.
2020-08-14 17:05:33 +00:00
bsiegert 0f58b858be Pullup ticket #6292 - requested by wiz
multimedia/mediainfo: security fix

Revisions pulled up:
- multimedia/mediainfo/Makefile.common                          1.9
- multimedia/mediainfo/distinfo                                 1.15

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Mon Aug  3 09:51:28 UTC 2020

   Modified Files:
   	pkgsrc/multimedia/mediainfo: Makefile.common distinfo

   Log Message:
   {lib,}mediainfo: update to 20.03

   Version 20.03, 2020-04-03
   -------------
   + AC-4 full featured support (presentations, groups, substreams)
   + MPEG-H 3D Audio basic support
   + MPEG-TS: audio preselection descriptor support
   + Dolby Vision v2 detection
   + MPEG-4: support of colr/nclx (color information) box
   x URL encoding option fixes, permitting to use URL encoded or non URL encoded links
   x AAC: fix SBR frequency when in ADIF
   x DPX: ColorimetricSpecification and TransferCharacteristic were inverted
   x Several crash and memory leaks fixes
2020-08-14 17:05:28 +00:00
spz b2a87eaeab #6272 2020-08-03 09:33:40 +00:00
spz f7a1733aad Pullup ticket #6272 - requested by wiz
net/transmission-gtk: security update
net/transmission-qt: security update
net/transmission: security update

Revisions pulled up:
- net/transmission-gtk/Makefile                                 1.46
- net/transmission-gtk/PLIST                                    1.2
- net/transmission-qt/Makefile                                  1.54
- net/transmission/Makefile                                     1.27
- net/transmission/Makefile.common                              1.10
- net/transmission/PLIST                                        1.4
- net/transmission/distinfo                                     1.16
- net/transmission/patches/patch-qt_qtr.pro                     1.7

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Mon Jul 13 13:01:02 UTC 2020

   Modified Files:
   	pkgsrc/net/transmission: Makefile Makefile.common PLIST distinfo
   	pkgsrc/net/transmission-gtk: Makefile PLIST
   	pkgsrc/net/transmission-qt: Makefile
   	pkgsrc/net/transmission/patches: patch-qt_qtr.pro

   Log Message:
   transmission*: update to 3.00

   ### All Platforms
   - Allow the RPC server to listen on an IPv6 address ([#161](https://github.com/transmission/transmission/pull/161))
   - Change `TR_CURL_SSL_VERIFY` to `TR_CURL_SSL_NO_VERIFY` and enable verification by default ([#334](https://github.com/transmission/transmission/pull/334))
   - Go back to using hash as base name for resume and torrent files (those stored in configuration directory) ([#122](https://github.com/transmission/transmission/pull/122))
   - Handle "fields" argument in "session-get" RPC request; if "fields" array is present in arguments, only return session fields specified; otherwise return all the fields as before
   - Limit the number of incorrect authentication attempts in embedded web server to 100 to prevent brute-force attacks ([#371](https://github.com/transmission/transmission/pull/371))
   - Set idle seed limit range to 1..40320 (4 weeks tops) in all clients ([#212](https://github.com/transmission/transmission/pull/212))
   - Add Peer ID for Xfplay, PicoTorrent, Free Download Manager, Folx, Baidu Netdisk torrent clients ([#256](https://github.com/transmission/transmission/pull/256), [#285](https://github.com/transmission/transmission/pull/285), [#355](https://github.com/transmission/transmission/pull/355), [#363](https://github.com/transmission/transmission/pull/363), [#386](https://github.com/transmission/transmission/pull/386))
   - Announce `INT64_MAX` as size left if the value is unknown (helps with e.g. Amazon S3 trackers) ([#250](https://github.com/transmission/transmission/pull/250))
   - Add `TCP_FASTOPEN` support (should result in slight speedup) ([#184](https://github.com/transmission/transmission/pull/184))
   - Improve ToS handling on IPv6 connections ([#128](https://github.com/transmission/transmission/pull/128), [#341](https://github.com/transmission/transmission/pull/341), [#360](https://github.com/transmission/transmission/pull/360), [#692](https://github.com/transmission/transmission/pull/692), [#737](https://github.com/transmission/transmission/pull/737))
   - Abort handshake if establishing DH shared secret fails (leads to crash) ([#27](https://github.com/transmission/transmission/pull/27))
   - Don't switch trackers while announcing (leads to crash) ([#297](https://github.com/transmission/transmission/pull/297))
   - Improve completion scripts execution and error handling; add support for .cmd and .bat files on Windows ([#405](https://github.com/transmission/transmission/pull/405))
   - Maintain a "session ID" file (in temporary directory) to better detect whether session is local or remote; return the ID as part of "session-get" response (TRAC-5348, [#861](https://github.com/transmission/transmission/pull/861))
   - Change torrent location even if no data move is needed ([#35](https://github.com/transmission/transmission/pull/35))
   - Support CIDR-notated blocklists ([#230](https://github.com/transmission/transmission/pull/230), [#741](https://github.com/transmission/transmission/pull/741))
   - Update the resume file before running scripts ([#825](https://github.com/transmission/transmission/pull/825))
   - Make multiscrape limits adaptive ([#837](https://github.com/transmission/transmission/pull/837))
   - Add labels support to libtransmission and transmission-remote ([#822](https://github.com/transmission/transmission/pull/822))
   - Parse `session-id` header case-insensitively ([#765](https://github.com/transmission/transmission/pull/765))
   - Sanitize suspicious path components instead of rejecting them ([#62](https://github.com/transmission/transmission/pull/62), [#294](https://github.com/transmission/transmission/pull/294))
   - Load CA certs from system store on Windows / OpenSSL ([#446](https://github.com/transmission/transmission/pull/446))
   - Add support for mbedtls (formely polarssl) and wolfssl (formely cyassl), LibreSSL ([#115](https://github.com/transmission/transmission/pull/115), [#116](https://github.com/transmission/transmission/pull/116), [#284](https://github.com/transmission/transmission/pull/284), [#486](https://github.com/transmission/transmission/pull/486), [#524](https://github.com/transmission/transmission/pull/524), [#570](https://github.com/transmission/transmission/pull/570))
   - Fix building against OpenSSL 1.1.0+ ([#24](https://github.com/transmission/transmission/pull/24))
   - Fix quota support for uClibc-ng 1.0.18+ and DragonFly BSD ([#42](https://github.com/transmission/transmission/pull/42), [#58](https://github.com/transmission/transmission/pull/58), [#312](https://github.com/transmission/transmission/pull/312))
   - Fix a number of memory leaks (magnet loading, session shutdown, bencoded data parsing) ([#56](https://github.com/transmission/transmission/pull/56))
   - Bump miniupnpc version to 2.0.20170509 ([#347](https://github.com/transmission/transmission/pull/347))
   - CMake-related improvements (Ninja generator, libappindicator, systemd, Solaris and macOS) ([#72](https://github.com/transmission/transmission/pull/72), [#96](https://github.com/transmission/transmission/pull/96), [#117](https://github.com/transmission/transmission/pull/117), [#118](https://github.com/transmission/transmission/pull/118), [#133](https://github.com/transmission/transmission/pull/133), [#191](https://github.com/transmission/transmission/pull/191))
   - Switch to submodules to manage (most of) third-party dependencies
   - Fail installation on Windows if UCRT is not installed

   ### Mac Client
   - Bump minimum macOS version to 10.10
   - Dark Mode support ([#644](https://github.com/transmission/transmission/pull/644), [#722](https://github.com/transmission/transmission/pull/722), [#757](https://github.com/transmission/transmission/pull/757), [#779](https://github.com/transmission/transmission/pull/779), [#788](https://github.com/transmission/transmission/pull/788))
   - Remove Growl support, notification center is always used ([#387](https://github.com/transmission/transmission/pull/387))
   - Fix autoupdate on High Sierra and up by bumping the Sparkle version ([#121](https://github.com/transmission/transmission/pull/121), [#600](https://github.com/transmission/transmission/pull/600))
   - Transition to ARC ([#336](https://github.com/transmission/transmission/pull/336))
   - Use proper UTF-8 encoding (with macOS-specific normalization) when setting download/incomplete directory and completion script paths ([#11](https://github.com/transmission/transmission/pull/11))
   - Fix uncaught exception when dragging multiple items between groups ([#51](https://github.com/transmission/transmission/pull/51))
   - Add flat variants of status icons for message log ([#134](https://github.com/transmission/transmission/pull/134))
   - Optimize image resources size ([#304](https://github.com/transmission/transmission/pull/304), [#429](https://github.com/transmission/transmission/pull/429))
   - Update file icon when file name changes ([#37](https://github.com/transmission/transmission/pull/37))
   - Update translations

   ### GTK+ Client
   - Add queue up/down hotkeys ([#158](https://github.com/transmission/transmission/pull/158))
   - Modernize the .desktop file ([#162](https://github.com/transmission/transmission/pull/162))
   - Add AppData file ([#224](https://github.com/transmission/transmission/pull/224))
   - Add symbolic icon variant for the Gnome top bar and when the high contrast theme is in use ([#414](https://github.com/transmission/transmission/pull/414), [#449](https://github.com/transmission/transmission/pull/449))
   - Update file icon when its name changes ([#37](https://github.com/transmission/transmission/pull/37))
   - Switch from intltool to gettext for translations ([#584](https://github.com/transmission/transmission/pull/584), [#647](https://github.com/transmission/transmission/pull/647))
   - Update translations, add new translations for Portuguese (Portugal)

   ### Qt Client
   - Bump minimum Qt version to 5.2
   - Fix dropping .torrent files into main window on Windows ([#269](https://github.com/transmission/transmission/pull/269))
   - Fix prepending of drive letter to various user-selected paths on Windows ([#236](https://github.com/transmission/transmission/pull/236), [#307](https://github.com/transmission/transmission/pull/307), [#404](https://github.com/transmission/transmission/pull/404), [#437](https://github.com/transmission/transmission/pull/437), [#699](https://github.com/transmission/transmission/pull/699), [#723](https://github.com/transmission/transmission/pull/723), [#877](https://github.com/transmission/transmission/pull/877))
   - Fix sorting by progress in presence of magnet transfers ([#234](https://github.com/transmission/transmission/pull/234))
   - Fix .torrent file trashing upon addition ([#262](https://github.com/transmission/transmission/pull/262))
   - Add queue up/down hotkeys ([#158](https://github.com/transmission/transmission/pull/158))
   - Reduce torrent properties (file tree) memory usage
   - Display tooltips in torrent properties (file tree) in case the names don't fit ([#411](https://github.com/transmission/transmission/pull/411))
   - Improve UI look on hi-dpi displays (YMMV)
   - Use session ID (if available) to check if session is local or not ([#861](https://github.com/transmission/transmission/pull/861))
   - Use default (instead of system) locale to be more flexible ([#130](https://github.com/transmission/transmission/pull/130))
   - Modernize the .desktop file ([#162](https://github.com/transmission/transmission/pull/162))
   - Update translations, add new translations for Afrikaans, Catalan, Danish, Greek, Norwegian Bokmål, Slovenian

   ### Daemon
   - Use libsystemd instead of libsystemd-daemon (TRAC-5921)
   - Harden transmission-daemon.service by disallowing privileges elevation ([#795](https://github.com/transmission/transmission/pull/795))
   - Fix exit code to be zero when dumping settings ([#487](https://github.com/transmission/transmission/pull/487))

   ### Web Client
   - Fix tracker error XSS in inspector (CVE-?)
   - Fix performance issues due to improper use of `setInterval()` for UI refresh (TRAC-6031)
   - Fix recognition of `https://` links in comments field ([#41](https://github.com/transmission/transmission/pull/41), [#180](https://github.com/transmission/transmission/pull/180))
   - Fix torrent list style in Google Chrome 59+ ([#384](https://github.com/transmission/transmission/pull/384))
   - Show ETA in compact view on non-mobile devices ([#146](https://github.com/transmission/transmission/pull/146))
   - Show upload file button on mobile devices ([#320](https://github.com/transmission/transmission/pull/320), [#431](https://github.com/transmission/transmission/pull/431), [#956](https://github.com/transmission/transmission/pull/956))
   - Add keyboard hotkeys for web interface ([#351](https://github.com/transmission/transmission/pull/351))
   - Disable autocompletion in torrent URL field ([#367](https://github.com/transmission/transmission/pull/367))

   ### Utils
   - Prevent crash in transmission-show displaying torrents with invalid creation date ([#609](https://github.com/transmission/transmission/pull/609))
   - Handle IPv6 RPC addresses in transmission-remote ([#247](https://github.com/transmission/transmission/pull/247))
   - Add `--unsorted` option to transmission-show ([#767](https://github.com/transmission/transmission/pull/767))
   - Widen the torrent-id column in transmission-remote for cleaner formatting ([#840](https://github.com/transmission/transmission/pull/840))


   To generate a diff of this commit:
   cvs rdiff -u -r1.26 -r1.27 pkgsrc/net/transmission/Makefile
   cvs rdiff -u -r1.9 -r1.10 pkgsrc/net/transmission/Makefile.common
   cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/transmission/PLIST
   cvs rdiff -u -r1.15 -r1.16 pkgsrc/net/transmission/distinfo
   cvs rdiff -u -r1.45 -r1.46 pkgsrc/net/transmission-gtk/Makefile
   cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/transmission-gtk/PLIST
   cvs rdiff -u -r1.52 -r1.53 pkgsrc/net/transmission-qt/Makefile
   cvs rdiff -u -r1.6 -r1.7 pkgsrc/net/transmission/patches/patch-qt_qtr.pro
-------------------------------------------------------------------
   Module Name:    pkgsrc
   Committed By:   wiz
   Date:           Sat Jul 25 20:20:05 UTC 2020

   Modified Files:
           pkgsrc/net/transmission-qt: Makefile

   Log Message:
   transmission-qt: needs gcc 7.x (for <optional>)

   Reported and tested by spz.


   To generate a diff of this commit:
   cvs rdiff -u -r1.53 -r1.54 pkgsrc/net/transmission-qt/Makefile
2020-08-03 09:29:18 +00:00
bsiegert 7bbac0ef72 Pullup tickets #6290 and #6291 2020-08-01 06:48:22 +00:00
bsiegert cec1bb0387 Pullup ticket #6291 - requested by maya
x11/modular-xorg-server: security fix

Revisions pulled up:
- x11/modular-xorg-server/Makefile                              1.128
- x11/modular-xorg-server/distinfo                              1.102
- x11/modular-xorg-server/patches/patch-dix_pixmap.c            1.1
- x11/modular-xorg-xephyr/Makefile                              1.20
- x11/modular-xorg-xwayland/Makefile                            1.8

---
   Module Name:	pkgsrc
   Committed By:	maya
   Date:		Fri Jul 31 16:50:57 UTC 2020

   Modified Files:
   	pkgsrc/x11/modular-xorg-server: Makefile distinfo
   	pkgsrc/x11/modular-xorg-xephyr: Makefile
   	pkgsrc/x11/modular-xorg-xwayland: Makefile
   Added Files:
   	pkgsrc/x11/modular-xorg-server/patches: patch-dix_pixmap.c

   Log Message:
   modular-xorg-*: provide patch (making this package equivalent to
   xorg-server 1.20.9, couldn't find a tarball).

   X.Org security advisory: July 31, 2020

   X Server Pixel Data Uninitialized Memory Information Disclosure
   ===============================================================

   CVE-2020-14347

   Allocation for pixmap data in AllocatePixmap() does not initialize the
   memory in xserver, it leads to leak uninitialize heap memory to
   clients. When the X server runs with elevated privileges.

   This flaw can lead to ASLR bypass, which when combined with other
   flaws (known/unknown) could lead to lead to privilege elevation in the
   client.

   Patch
   =====

   A patch for this issue has been commited to the xorg server git
   repository.  xorg-server 1.20.9 will be released shortly and will
   include this patch.

   https://gitlab.freedesktop.org/xorg/xserver.git

   diff --git a/dix/pixmap.c b/dix/pixmap.c
   index 1186d7dbb..5a0146bbb 100644
   --- a/dix/pixmap.c
   +++ b/dix/pixmap.c
   @@ -116,7 +116,7 @@ AllocatePixmap(ScreenPtr pScreen, int pixDataSize)
        if (pScreen->totalPixmapSize > ((size_t) - 1) - pixDataSize)
            return NullPixmap;

   -    pPixmap = malloc(pScreen->totalPixmapSize + pixDataSize);
   +    pPixmap = calloc(1, pScreen->totalPixmapSize + pixDataSize);
        if (!pPixmap)
            return NullPixmap;

   Thanks
   ======

   This vulnerability was discovered by Jan-Niklas Sohn working with
   Trend Micro Zero Day Initiative.
2020-08-01 06:47:58 +00:00
bsiegert e9e607cd8b Pullup ticket #6290 - requested by maya
x11/libX11: security fix

Revisions pulled up:
- x11/libX11/Makefile                                           1.52
- x11/libX11/distinfo                                           1.31

---
   Module Name:	pkgsrc
   Committed By:	maya
   Date:		Fri Jul 31 16:36:55 UTC 2020

   Modified Files:
   	pkgsrc/x11/libX11: Makefile distinfo

   Log Message:
   libX11: update to 1.6.10

   Heap corruption in the X input method client in libX11
   ======================================================

   CVE-2020-14344

   The X Input Method (XIM) client implementation in libX11 has some
   integer overflows and signed/unsigned comparison issues that can lead
   to heap corruption when handling malformed messages from an input
   method.

   Patches
   =======

   Patches for these issues have been commited to the libX11 git repository.
   libX11 1.6.10 will be released shortly and will include those patches.

   https://gitlab.freedesktop.org/xorg/lib/libx11

   commit 1703b9f3435079d3c6021e1ee2ec34fd4978103d (HEAD -> master)

       Change the data_len parameter of _XimAttributeToValue() to CARD16

       It's coming from a length in the protocol (unsigned) and passed
       to functions that expect unsigned int parameters (_XCopyToArg()
       and memcpy()).

   commit 1a566c9e00e5f35c1f9e7f3d741a02e5170852b2

       Zero out buffers in functions

       It looks like uninitialized stack or heap memory can leak
       out via padding bytes.

   commit 2fcfcc49f3b1be854bb9085993a01d17c62acf60

       Fix more unchecked lengths

   commit 388b303c62aa35a245f1704211a023440ad2c488

       fix integer overflows in _XimAttributeToValue()

   commit 0e6561efcfaa0ae7b5c74eac7e064b76d687544e

       Fix signed length values in _XimGetAttributeID()

       The lengths are unsigned according to the specification. Passing
       negative values can lead to data corruption.

   Thanks
   ======

   X.Org thanks Todd Carson for reporting these issues to our security
   team and assisting them in understanding them and providing fixes.
2020-08-01 06:47:52 +00:00
bsiegert 3f00d83efd Pullup tickets up to #6288 2020-07-30 18:50:01 +00:00
bsiegert ca9d9ecbd7 Pullup ticket #6283 - requested by leot
net/youtube-dl: update

Revisions pulled up:
- net/youtube-dl/Makefile                                       1.211
- net/youtube-dl/distinfo                                       1.193

---
   Module Name:    pkgsrc
   Committed By:   leot
   Date:           Mon Jul 27 22:21:45 UTC 2020

   Modified Files:
           pkgsrc/net/youtube-dl: Makefile distinfo

   Log Message:
   youtube-dl: Update to 20200728

   Changes:
   20200728
   --------
   Extractors
   * [youtube] Fix sigfunc name extraction (#26134, #26135, #26136, #26137)
   * [youtube] Improve description extraction (#25937, #25980)
   * [wistia] Restrict embed regular expression (#25969)
   * [youtube] Prevent excess HTTP 301 (#25786)
   + [youtube:playlists] Extend URL regular expression (#25810)
   + [bellmedia] Add support for cp24.com clip URLs (#25764)
   * [brightcove] Improve embed detection (#25674)
2020-07-30 18:48:45 +00:00
bsiegert 0ea077d5e5 Pullup ticket #6282 - requested by oster
mail/opendmarc: bugfix

Revisions pulled up:
- mail/opendmarc/Makefile                                       1.19
- mail/opendmarc/distinfo                                       1.7
- mail/opendmarc/patches/patch-build-config.h.in                1.1
- mail/opendmarc/patches/patch-configure                        1.2
- mail/opendmarc/patches/patch-configure.ac                     1.2
- mail/opendmarc/patches/patch-libopendmarc_opendmarc__dns.c    1.1
- mail/opendmarc/patches/patch-libopendmarc_opendmarc__spf__dns.c 1.1

---
   Module Name:    pkgsrc
   Committed By:   oster
   Date:           Mon Jul 27 20:41:10 UTC 2020

   Modified Files:
           pkgsrc/mail/opendmarc: distinfo
           pkgsrc/mail/opendmarc/patches: patch-configure patch-configure.ac
   Added Files:
           pkgsrc/mail/opendmarc/patches: patch-build-config.h.in
               patch-libopendmarc_opendmarc__dns.c
               patch-libopendmarc_opendmarc__spf__dns.c

   Log Message:
   Fix resource leakage observed when using opendmarc on NetBSD.

   Use res_ndestroy() instead of res_nclose() to properly cleanup resources
   on NetBSD (and others that use __res_ndestroy() or res_ndestroy() instead
   of res_nclose()).  Original patch by Roy Marples.

---
   Module Name:    pkgsrc
   Committed By:   oster
   Date:           Mon Jul 27 22:28:47 UTC 2020

   Modified Files:
           pkgsrc/mail/opendmarc: Makefile

   Log Message:
   Bump pkgrevision.  Thanks, Joerg.
2020-07-30 18:48:38 +00:00
bsiegert b77db412d5 Pullup ticket #6288 - requested by nia
www/firefox68-l10n: dependent update

Revisions pulled up:
- www/firefox68-l10n/Makefile                                   1.17
- www/firefox68-l10n/distinfo                                   1.13

---
   Module Name:	pkgsrc
   Committed By:	nia
   Date:		Wed Jul 29 14:21:29 UTC 2020

   Modified Files:
   	pkgsrc/www/firefox68-l10n: Makefile distinfo

   Log Message:
   firefox68-l10n: Sync with firefox68
2020-07-30 18:40:21 +00:00
bsiegert 7b35575307 Pullup ticket #6287 - requested by nia
www/firefox68: security fix

Revisions pulled up:
- www/firefox68/Makefile                                        1.31
- www/firefox68/distinfo                                        1.21

---
   Module Name:	pkgsrc
   Committed By:	nia
   Date:		Wed Jul 29 14:20:30 UTC 2020

   Modified Files:
   	pkgsrc/www/firefox68: Makefile distinfo

   Log Message:
   firefox68: Update to 68.11.0

   Security Vulnerabilities fixed in Firefox ESR 68.11

       #CVE-2020-15652: Potential leak of redirect targets when loading scripts in
       a worker

       #CVE-2020-6514: WebRTC data channel leaks internal address to peer

       #CVE-2020-6463: Use-after-free in ANGLE
       gl::Texture::onUnbindAsSamplerTexture

       #CVE-2020-15650: Overwriting local files through malicious file picker
       application

       #CVE-2020-15649: Exfiltrating local files through malicious file picker
       application

       #CVE-2020-15659: Memory safety bugs fixed in Firefox 79 and Firefox ESR
       68.11
2020-07-30 18:13:52 +00:00
bsiegert e2e863847d Pullup ticket #6286 - requested by leot
www/webkit-gtk: security fix (WSA-2020-0007)

Revisions pulled up:
- www/webkit-gtk/Makefile                                       1.190
- www/webkit-gtk/PLIST                                          1.62
- www/webkit-gtk/distinfo                                       1.137
- www/webkit-gtk/patches/patch-Source_WebCore_crypto_algorithms_CryptoAlgorithmAES__GCM.cpp 1.1
- www/webkit-gtk/patches/patch-Source_WebCore_rendering_RenderLayerBacking.h 1.1

---
   Module Name:    pkgsrc
   Committed By:   leot
   Date:           Tue Jul 28 14:24:03 UTC 2020

   Modified Files:
           pkgsrc/www/webkit-gtk: Makefile PLIST distinfo
   Added Files:
           pkgsrc/www/webkit-gtk/patches:
               patch-Source_WebCore_crypto_algorithms_CryptoAlgorithmAES__GCM.cpp
               patch-Source_WebCore_rendering_RenderLayerBacking.h

   Log Message:
   webkit-gtk: Update to 2.28.4

   pkgsrc changes:
    - Define non-standard __WORDSIZE if not already defined (at the moment the
      patches directly patch problematic files where __WORDSIZE is used, it would
      be probably nicer to find a common place to define it).

   Changes:
   2.28.4
   ------
    - Fix several crashes and rendering issues.
2020-07-30 16:13:31 +00:00
bsiegert 61866694cb Pullup ticket #6285 - requested by wiz
security/tor-browser: security fix

Revisions pulled up:
- security/tor-browser/Makefile                                 1.70
- security/tor-browser/distinfo                                 1.25

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Wed Jul 29 07:46:37 UTC 2020

   Modified Files:
   	pkgsrc/security/tor-browser: Makefile distinfo

   Log Message:
   tor-browser: update to 9.5.3.

   Tor Browser 9.5.3 -- July 28 2020
    * All Platforms
      * Update Firefox to 68.11.0esr
      * Update NoScript to 11.0.34
      * Update Tor to 0.4.3.6

   Tor Browser 9.5.2 -- July 7 2020
    * Android
      * Update Firefox to 68.10.1esr
2020-07-30 16:10:24 +00:00
bsiegert 3bd65f1c9e Pullup ticket #6284 - requested by wiz
security/tor-browser-noscript: security fix

Revisions pulled up:
- security/tor-browser-noscript/Makefile                        1.4
- security/tor-browser-noscript/distinfo                        1.4

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Wed Jul 29 07:02:59 UTC 2020

   Modified Files:
   	pkgsrc/security/tor-browser-noscript: Makefile distinfo

   Log Message:
   tor-browser-noscript: update to 11.0.34.

   v 11.0.34
   ============================================================
   x Fixed regression breaking network-based CSP injection

   v 11.0.33
   ============================================================
   x Switch from HTTP to DOM event based CSP reporting in
     compatible browsers
   x [XSS] Updated HTML event attributes
   x Updated TLDs
2020-07-30 13:06:33 +00:00
bsiegert bc85f110de Pullup tickets #6274 to #6276 2020-07-29 20:20:59 +00:00
bsiegert cf406f2b55 Pullup ticket #6276 - requested by taca
net/samba4: security fix

Revisions pulled up:
- net/samba4/Makefile                                           1.102
- net/samba4/PLIST                                              1.31
- net/samba4/distinfo                                           1.49
- net/samba4/patches/patch-lib_replace_system_passwd.h          1.1

---
   Module Name:	pkgsrc
   Committed By:	adam
   Date:		Mon Jul  6 14:38:06 UTC 2020

   Modified Files:
   	pkgsrc/net/samba4: Makefile PLIST distinfo
   Added Files:
   	pkgsrc/net/samba4/patches: patch-lib_replace_system_passwd.h

   Log Message:
   samba4: updated to 4.12.5

   Changes since 4.12.4
   --------------------
      * BUG 14301: Fix smbd panic on force-close share during async io.
      * BUG 14374: Fix segfault when using SMBC_opendir_ctx() routine for share
        folder that contains incorrect symbols in any file name.
      * BUG 14391: Fix DFS links.
      * BUG 14310: Can't use DNS functionality after a Windows DC has been in
        domain.
      * BUG 14413: ldapi search to FreeIPA crashes.
      * BUG 14396: Add net-ads-join dnshostname=fqdn option.
      * BUG 14406: Fix adding msDS-AdditionalDnsHostName to keytab with Windows DC.
      * BUG 14386: docs-xml: Update list of posible VFS operations for
        vfs_full_audit.
      * BUG 14382: winbindd: Fix a use-after-free when winbind clients exit.
      * BUG 14370: Client tools are not able to read gencache anymore.

   Samba 4.12.4
   ============
   o  CVE-2020-10730:
      A client combining the 'ASQ' and 'VLV' LDAP controls can cause a NULL pointer
      de-reference and further combinations with the LDAP paged_results feature can
      give a use-after-free in Samba's AD DC LDAP server.

   o  CVE-2020-10745: Parsing and packing of NBT and DNS packets can consume
      excessive CPU.

   o  CVE-2020-10760:
      The use of the paged_results or VLV controls against the Global Catalog LDAP
      server on the AD DC will cause a use-after-free.

   o  CVE-2020-14303:
      The AD DC NBT server in Samba 4.0 will enter a CPU spin and not process
      further requests once it receives an empty (zero-length) UDP packet to
      port 137.

   For more details, please refer to the security advisories.

   Changes since 4.12.3
   --------------------
      * BUG 14378: CVE-2020-10745: Invalid DNS or NBT queries containing dots use
        several seconds of CPU each.
      * BUG 14364: CVE-2020-10730: NULL de-reference in AD DC LDAP server when ASQ
        and VLV combined.
      * BUG 14402: CVE-2020-10760: Fix use-after-free in AD DC Global Catalog LDAP
        server with paged_result or VLV.
      * BUG 14417: CVE-2020-14303: Fix endless loop from empty UDP packet sent to
        AD DC nbt_server.
      * BUG 14364: CVE-2020-10730: NULL de-reference in AD DC LDAP server when ASQ
        and VLV combined, ldb: Bump version to 2.1.4.
2020-07-29 20:15:59 +00:00
bsiegert 6a49a23d75 Pullup ticket #6275 - requested by taca
databases/ldb: dependent update

Revisions pulled up:
- databases/ldb/Makefile                                        1.17
- databases/ldb/distinfo                                        1.9

---
   Module Name:	pkgsrc
   Committed By:	adam
   Date:		Mon Jul  6 14:29:42 UTC 2020

   Modified Files:
   	pkgsrc/databases/ldb: Makefile distinfo

   Log Message:
   ldb: updated to 2.1.4

   2.1.4:
   Unknown changes
2020-07-29 19:40:51 +00:00
bsiegert 7f430ad151 Pullup ticket #6274 - requested by taca
mail/roundcube: security fix

Revisions pulled up:
- mail/roundcube-plugin-password/distinfo                       1.20
- mail/roundcube/Makefile.common                                1.20
- mail/roundcube/distinfo                                       1.71

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Tue Jul  7 04:37:26 UTC 2020

   Modified Files:
   	pkgsrc/mail/roundcube: Makefile.common distinfo
   	pkgsrc/mail/roundcube-plugin-password: distinfo

   Log Message:
   mail/roundcube: update to 1.4.7

   Update roundcube to 1.4.7.

   RELEASE 1.4.7
   -------------
   - Fix bug where subfolders of special folders could have been duplicated on folder list
   - Increase maximum size of contact jobtitle and department fields to 128 characters
   - Fix missing newline after the logged line when writing to stdout (#7418)
   - Elastic: Fix context menu (paste) on the recipient input (#7431)
   - Fix problem with forwarding inline images attached to messages with no HTML part (#7414)
   - Fix problem with handling attached images with same name when using database_attachments/redundant_attachments (#7455)
   - Security: Fix cross-site scripting (XSS) via HTML messages with malicious svg/namespace
2020-07-29 19:39:44 +00:00
spz 0956599059 pullups 6278 6279 2020-07-20 15:05:16 +00:00
spz f559a5f2b6 Pullup ticket #6279 - requested by bsiegert
lang/go114: security update

Revisions pulled up:
- lang/go/version.mk                                            1.94
- lang/go114/PLIST                                              1.5
- lang/go114/distinfo                                           1.8

-------------------------------------------------------------------
   Module Name:    pkgsrc
   Committed By:   bsiegert
   Date:           Fri Jul 17 17:20:06 UTC 2020

   Modified Files:
           pkgsrc/lang/go: version.mk
           pkgsrc/lang/go114: PLIST distinfo

   Log Message:
   Update go114 to 1.14.6.

   go1.14.5 (released 2020/07/14) includes security fixes to the crypto/x509
   and
   net/http packages. See the Go 1.14.5 milestone on our issue tracker for
   details.

   go1.14.6 (released 2020/07/16) includes fixes to the go command, the
   compiler,
   the linker, vet, and the database/sql, encoding/json, net/http, reflect, and
   testing packages. See the Go 1.14.6 milestone on our issue tracker for
   details.


   To generate a diff of this commit:
   cvs rdiff -u -r1.93 -r1.94 pkgsrc/lang/go/version.mk
   cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/go114/PLIST
   cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/go114/distinfo
2020-07-20 14:59:01 +00:00
spz 48a0bf5076 Pullup ticket #6278 - requested by bsiegert
lang/go113: security update

Revisions pulled up:
- lang/go/version.mk                                            1.93
- lang/go113/PLIST                                              1.4
- lang/go113/distinfo                                           1.8

-------------------------------------------------------------------
   Module Name:    pkgsrc
   Committed By:   bsiegert
   Date:           Fri Jul 17 17:10:20 UTC 2020

   Modified Files:
           pkgsrc/lang/go: version.mk
           pkgsrc/lang/go113: PLIST distinfo

   Log Message:
   Update go113 to 1.13.14.

   go1.13.12 (released 2020/06/01) includes fixes to the runtime, and the
   go/types
   and math/big packages. See the Go 1.13.12 milestone on our issue tracker for
   details.

   go1.13.13 (released 2020/07/14) includes security fixes to the crypto/x509
   and
   net/http packages. See the Go 1.13.13 milestone on our issue tracker for
   details.

   go1.13.14 (released 2020/07/16) includes fixes to the compiler, vet, and the
   database/sql, net/http, and reflect packages. See the Go 1.13.14 milestone
   on our issue tracker for details.


   To generate a diff of this commit:
   cvs rdiff -u -r1.92 -r1.93 pkgsrc/lang/go/version.mk
   cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/go113/PLIST
   cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/go113/distinfo
2020-07-20 14:52:20 +00:00
bsiegert 0bb0d3071b Pullup tickets up to #6271 2020-07-11 11:52:14 +00:00
bsiegert d53e62cfb3 Pullup ticket #6271 - requested by leot
www/webkit-gtk: security fix

Revisions pulled up:
- www/webkit-gtk/Makefile                                       1.189
- www/webkit-gtk/PLIST                                          1.61
- www/webkit-gtk/distinfo                                       1.136

---
   Module Name:    pkgsrc
   Committed By:   leot
   Date:           Thu Jul  9 10:56:39 UTC 2020

   Modified Files:
           pkgsrc/www/webkit-gtk: Makefile PLIST distinfo

   Log Message:
   webkit-gtk: Update to 2.28.3

   Changes:
   2.28.3
   ======
    - Enable kinetic scrolling with async scrolling.
    - Fix web process hangs on large GitHub pages.
    - Bubblewrap sandbox should not attempt to bind empty paths.
    - Fix threading issues in the media player.
    - Fix several crashes and rendering issues.
2020-07-11 11:51:59 +00:00
bsiegert b700bfde0c Pullup ticket #6270 - requested by leot
graphics/cairo: fix crashes

Revisions pulled up:
- graphics/cairo/Makefile                                       1.146
- graphics/cairo/distinfo                                       1.89
- graphics/cairo/patches/patch-src_cairo-ft-font.c              1.1

---
   Module Name:    pkgsrc
   Committed By:   leot
   Date:           Thu Jul  9 14:38:55 UTC 2020

   Modified Files:
           pkgsrc/graphics/cairo: Makefile distinfo
   Added Files:
           pkgsrc/graphics/cairo/patches: patch-src_cairo-ft-font.c

   Log Message:
   cairo: backport patches from upstream to use FT_Done_MM_Var instead of free

   Memory allocated via FT_Get_MM_Var should be freed via FT_Done_MM_Var since
   freetype 2.9.  Backport patches from upstream to address missing parts not doing
   that.

   PKGREVISION++
2020-07-11 09:07:03 +00:00
bsiegert 4852db4b68 Pullup tickets up to #6267. 2020-07-09 08:30:09 +00:00
bsiegert 5670b70b1c Pullup ticket #6267 - requested by nia
www/firefox68-l10n: dependent update

Revisions pulled up:
- www/firefox68-l10n/Makefile                                   1.16
- www/firefox68-l10n/distinfo                                   1.12

---
   Module Name:	pkgsrc
   Committed By:	nia
   Date:		Tue Jul  7 16:51:02 UTC 2020

   Modified Files:
   	pkgsrc/www/firefox68-l10n: Makefile distinfo

   Log Message:
   firefox68-l10n: sync with firefox68
2020-07-09 08:29:19 +00:00
bsiegert b71613f52c Pullup ticket #6266 - requested by nia
www/firefox68: security fix

Revisions pulled up:
- www/firefox68/Makefile                                        1.29
- www/firefox68/distinfo                                        1.19

---
   Module Name:	pkgsrc
   Committed By:	nia
   Date:		Tue Jul  7 16:44:11 UTC 2020

   Modified Files:
   	pkgsrc/www/firefox68: Makefile distinfo

   Log Message:
   firefox68: Update to 68.10.0

   For anyone curious about the delay: apparently, my ccache cache
   was corrupted so the build was failing. *sigh* that won't be a problem
   soon...

   Security Vulnerabilities fixed in Firefox ESR 68.10

       #CVE-2020-12417: Memory corruption due to missing sign-extension for
       ValueTags on ARM64

       #CVE-2020-12418: Information disclosure due to manipulated URL object

       #CVE-2020-12419: Use-after-free in nsGlobalWindowInner

       #CVE-2020-12420: Use-After-Free when trying to connect to a STUN server

       #CVE-2020-12421: Add-On updates did not respect the same certificate trust
       rules as software updates
2020-07-09 08:07:51 +00:00
bsiegert 65c4e3fd20 Pullup ticket #6265 - requested by nia
shells/fish: build fix

Revisions pulled up:
- shells/fish/Makefile                                          1.26

---
   Module Name:	pkgsrc
   Committed By:	nia
   Date:		Tue Jul  7 09:00:34 UTC 2020

   Modified Files:
   	pkgsrc/shells/fish: Makefile

   Log Message:
   fish: Pull in libatomic with gcc for e.g. powerpc
2020-07-09 06:47:08 +00:00
bsiegert 57071200f6 Pullup ticket #6263 - requested by maya
mk: NetBSD 7 build fix

Revisions pulled up:
- mk/pkgformat/pkg/metadata.mk                                  1.29

---
   Module Name:	pkgsrc
   Committed By:	maya
   Date:		Mon Jul  6 18:29:12 UTC 2020

   Modified Files:
   	pkgsrc/mk/pkgformat/pkg: metadata.mk

   Log Message:
   revert metadata.mk:1.24, keep passing useless flag -U.

   It wasn't useless in older pkg_create, as used by netbsd-7.
   Reported by sborrill.
2020-07-09 06:40:07 +00:00
bsiegert f972f75cce Pullup ticket #6262 - requested by he
lang/llvm: powerpc build fix

Revisions pulled up:
- lang/llvm/options.mk                                          1.7

---
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Mon Jul  6 07:16:00 UTC 2020

   Modified Files:
   	pkgsrc/lang/llvm: options.mk

   Log Message:
   If on powerpc, add -mlongcall to CFLAGS and CXXFLAGS, to avoid
   "relocation truncated to fit: R_PPC_REL24" error.
2020-07-09 06:39:00 +00:00
bsiegert 6806aeef89 Pullup ticket #6261 - requested by wiz
security/tor-browser-noscript: security fix

Revisions pulled up:
- security/tor-browser-noscript/Makefile                        1.3
- security/tor-browser-noscript/distinfo                        1.3

---
   Module Name:    pkgsrc
   Committed By:   wiz
   Date:           Fri Jul  3 22:53:52 UTC 2020

   Modified Files:
           pkgsrc/security/tor-browser-noscript: Makefile distinfo

   Log Message:
   tor-browser-noscript: update to 11.0.32.

   v 11.0.32
   ============================================================
   x [L10n] Updated it, mk, sv_SE
   x Fixed setting CUSTOM permissions in private mode may cause
     the TRUSTED preset to become temporary
   x Updated TLDs
   x [XSS] Updated HTML 5 events support
   x More compact high contrast appearance

   v 11.0.31
   ============================================================
   x Focus "OK" button on dialog-mode UI
   x Fixed various toolbar buttons DnD issues
   x Updated TLDs
   x [L10n] Updated bn, br, ca, da, de, el, es, fr, he, is, it,
     ja, lt, mk, ms, nb, nl, pl, pt_BR, ru, sq, sv_SE, tr,
     zh_CN, zh_TW
   x Fixed very low contrast HTTPS-only label in High Contrast
     mode

   v 11.0.31rc2
   ============================================================
   x Focus "OK" button on dialog-mode UI
   x [L10n] Updated da
   x Fixed various toolbar buttons DnD graphic issues
   x Updated TLDs

   v 11.0.31rc1
   ============================================================
   x [L10n] Updated bn, br, ca, da, de, el, es, fr, he, is, it,
     ja, lt, mk, ms, nb, nl, pl, pt_BR, ru, sq, sv_SE, tr,
     zh_CN, zh_TW
   x Fixed very low contrast HTTPS-only label in High Contrast
     mode
   x More precise DnD of toolbar buttons + work-around for
     https://bugzilla.mozilla.org/show_bug.cgi?id=568313
2020-07-09 06:27:52 +00:00
bsiegert e48626b678 Pullup ticket #6260 - requested by wiz
security/tor-browser: security fix

Revisions pulled up:
- security/tor-browser/Makefile                                 1.69
- security/tor-browser/distinfo                                 1.24
- security/tor-browser/patches/patch-config_gcc-stl-wrapper.template.h 1.1

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Sat Jul  4 08:33:58 UTC 2020

   Modified Files:
   	pkgsrc/security/tor-browser: Makefile distinfo
   Added Files:
   	pkgsrc/security/tor-browser/patches:
   	    patch-config_gcc-stl-wrapper.template.h

   Log Message:
   tor-browser: update to 9.5.1.

   This release updates Firefox to 68.10.0esr and NoScript to 11.0.32.

   Also, this release features important security updates to Firefox.

   The full changelog since Tor Browser 9.5 is:

       All Platforms
           Update Firefox to 68.10.0esr
           Update NoScript to 11.0.32
           Translations update
           Bug 40009: Improve tor's client auth stability
        Windows + OS X + Linux
           Bug 34361: "Prioritize .onion sites when known" appears under General
           Bug 34362: Improve Onion Service Authentication prompt
           Bug 34369: Fix learn more link in Onion Auth prompt
           Bug 34379: Fix learn more for Onion-Location
           Bug 34347: The Tor Network part on the onboarding is not new anymore
2020-07-09 06:27:46 +00:00
bsiegert deb5b8d580 Pullup tickets up to #6258
I hereby declare the pullup season open :)
2020-07-03 10:32:21 +00:00
bsiegert 30daaf94d2 Pullup ticket #6258 - requested by sevan
bootstrap: FreeBSD documentation update

Revisions pulled up:
- bootstrap/README.FreeBSD                                      1.9

---
   Module Name:    pkgsrc
   Committed By:   sevan
   Date:           Tue Jun 30 15:37:00 UTC 2020

   Modified Files:
           pkgsrc/bootstrap: README.FreeBSD

   Log Message:
   Give a heads up until issues are fixed.
2020-07-03 10:31:27 +00:00
bsiegert 55436797cd Pullup ticket #6255 - requested by gdt
x11/qt5-qscintilla, x11/py-qt5-qscintilla: build fix

Revisions pulled up:
- x11/py-qt5-qscintilla/Makefile                                1.9
- x11/qt5-qscintilla/Makefile                                   1.10
- x11/qt5-qscintilla/Makefile.common                            1.2
- x11/qt5-qscintilla/buildlink3.mk                              1.6
- x11/qt5-qscintilla/distinfo                                   1.4
- x11/qt5-qscintilla/patches/patch-Python_configure.py          1.1
- x11/qt5-qscintilla/patches/patch-Qt4Qt5_qsciapis.cpp          1.1
- x11/qt5-qscintilla/patches/patch-Qt4Qt5_qscintilla.pro        1.1
- x11/qt5-qscintilla/patches/patch-qsciapis.cpp                 deleted
- x11/qt5-qscintilla/patches/patch-qscintilla.pro               deleted

---
   Module Name:	pkgsrc
   Committed By:	adam
   Date:		Mon Jun 29 13:25:57 UTC 2020

   Modified Files:
   	pkgsrc/x11/py-qt5-qscintilla: Makefile
   	pkgsrc/x11/qt5-qscintilla: Makefile Makefile.common buildlink3.mk
   	    distinfo
   Added Files:
   	pkgsrc/x11/qt5-qscintilla/patches: patch-Python_configure.py
   	    patch-Qt4Qt5_qsciapis.cpp patch-Qt4Qt5_qscintilla.pro
   Removed Files:
   	pkgsrc/x11/qt5-qscintilla/patches: patch-qsciapis.cpp
   	    patch-qscintilla.pro

   Log Message:
   qt5-qscintilla py-qt5-qscintilla: updated to 2.11.5

   QScintilla v2.11.5 has been released. This is a minor bug-fix release.
2020-07-03 10:29:50 +00:00
wiz 9e970422fc doc: Add pkgsrc-2020Q2 branch CHANGES file 2020-06-29 11:33:57 +00:00
145 changed files with 4603 additions and 723 deletions

View File

@ -1,4 +1,4 @@
$NetBSD: README.FreeBSD,v 1.8 2017/02/09 00:20:59 sevan Exp $
$NetBSD: README.FreeBSD,v 1.8.26.1 2020/07/03 10:31:27 bsiegert Exp $
Please read the general README file as well.
@ -25,3 +25,5 @@ a version of GCC installed from ports, clang from ports is untested.
bootstrap-pkgsrc has been tested on FreeBSD 4.x and 5.x (i386).
pkgsrc works well on FreeBSD 6.2-6.4, 7.1-7.3 (i386), 9.0-9.1, 10.1-10.3,
11-12-CURRENT (amd64).
bootstrap is currently broken on FreeBSD, see pkg/55398, pkg/55400.

View File

@ -0,0 +1,15 @@
# $NetBSD: hacks.mk,v 1.1.2.2 2020/09/18 18:20:07 bsiegert Exp $
.if !defined(WKHTMLTOPDF_HACKS_MK)
WKHTMLTOPDF_HACKS_MK= defined
# [Mon Sep 7 21:12:45 CEST 2020 : he]
# On NetBSD/powerpc, we get relocation truncated to fit: R_PPC_PLTREL24
# with default build options.
.if !empty(MACHINE_ARCH:Mpowerpc*)
CFLAGS+= -mlongcall
CXXFLAGS+= -mlongcall
PKG_HACKS+= powerpc-longcall
.endif
.endif # WKHTMLTOPDF_HACKS_MK

View File

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.16 2020/05/19 16:51:43 adam Exp $
# $NetBSD: Makefile,v 1.16.2.1 2020/07/29 19:40:51 bsiegert Exp $
# Before updating, make sure net/samba4 supports the newer version.
DISTNAME= ldb-2.1.3
DISTNAME= ldb-2.1.4
CATEGORIES= databases
MASTER_SITES= http://www.samba.org/ftp/ldb/

View File

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.8 2020/05/19 16:51:43 adam Exp $
$NetBSD: distinfo,v 1.8.2.1 2020/07/29 19:40:51 bsiegert Exp $
SHA1 (ldb-2.1.3.tar.gz) = 06d1c8457e56b2df26cec16253a62acc789aa6fb
RMD160 (ldb-2.1.3.tar.gz) = f12fb150ca2f07c255edcd3fc40d0937b51b69b5
SHA512 (ldb-2.1.3.tar.gz) = 3f5adf5ed6c98cefce56ba47c986c5d59619731def8fa66440957aba1483de19bcfdc4ec5498d34db70753312b1ad47b864020269df924d3d431c8d4d223af10
Size (ldb-2.1.3.tar.gz) = 1673208 bytes
SHA1 (ldb-2.1.4.tar.gz) = 506bbbfb06227d963b1c65d63360b5eb9da80d9f
RMD160 (ldb-2.1.4.tar.gz) = fbc6723e5949569fcd30ebbd4401104eb970b9fe
SHA512 (ldb-2.1.4.tar.gz) = 7e0eecccc973881dde2390568dc71a2ffe7c7ed894daaa9cadf80c221e1b969fd9a8729f3c48a0f611a64b2941c295a2bc7bd8ba869881ba14f75b8bf331167e
Size (ldb-2.1.4.tar.gz) = 1673335 bytes
SHA1 (patch-buildtools_wafsamba_samba__conftests.py) = 813c639e404e3b301444decae318c702c87f0cc1
SHA1 (patch-buildtools_wafsamba_samba__install.py) = d801340617da325e3bb70a90350e45cc8e383c2d
SHA1 (patch-buildtools_wafsamba_samba__utils.py) = 0a587421870c1974175fadbb02dde215f35938f2

View File

@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.54 2020/06/11 11:22:14 adam Exp $
# $NetBSD: Makefile,v 1.54.2.1 2020/08/14 17:05:33 bsiegert Exp $
DISTNAME= redis-6.0.5
PKGREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://download.redis.io/releases/
@ -24,6 +25,7 @@ DOCFILES+= 00-RELEASENOTES BUGS COPYING README.md
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
INSTALLATION_DIRS+= bin ${DOCDIR} ${EGDIR} ${EGDIR}/utils ${EGDIR}/tests
CONF_FILES= ${EGDIR}/redis.conf.example ${PKG_SYSCONFDIR}/redis.conf
CONF_FILES_MODE= 0640
BUILD_DEFS+= VARBASE REDIS_USER REDIS_GROUP REDIS_DATADIR
BUILD_DEFS+= REDIS_LOGDIR REDIS_PIDDIR

View File

@ -1,13 +1,13 @@
$NetBSD: patch-aa,v 1.1.1.1 2009/04/18 02:27:21 rh Exp $
$NetBSD: patch-aa,v 1.1 2009/04/18 02:19:23 rh Exp $
--- GNUmakefile.orig 2009-04-18 11:56:31.000000000 +1000
--- GNUmakefile.orig 2009-04-18 10:49:03.000000000 +1000
+++ GNUmakefile
@@ -38,7 +38,7 @@ GNUSTEP_INSTALLATION_DOMAIN = SYSTEM
include $(GNUSTEP_MAKEFILES)/common.make
include ./Version
-SUBPROJECTS = Foundation Resources examples
+SUBPROJECTS = examples
+SUBPROJECTS = Foundation Resources
include $(GNUSTEP_MAKEFILES)/aggregate.make

14
devel/protobuf/hacks.mk Normal file
View File

@ -0,0 +1,14 @@
# $NetBSD: hacks.mk,v 1.1.2.2 2020/09/18 18:20:57 bsiegert Exp $
.if !defined(PROTOBUF_HACKS_MK)
PROTOBUF_HACKS_MK= defined
# [ Tue Sep 8 08:38:08 CEST 2020 : he ]
# Bring -latomic into scope; build insists on it being available
# on this platform (probably due to no native 8-byte atomics).
.if !empty(MACHINE_ARCH:Mpowerpc*)
.include "../../devel/libatomic/buildlink3.mk"
PKG_HACKS+= powerpc-libatomic
.endif
.endif # PROTOBUF_HACKS_MK

156
doc/CHANGES-pkgsrc-2020Q2 Normal file
View File

@ -0,0 +1,156 @@
$NetBSD: CHANGES-pkgsrc-2020Q2,v 1.1.2.13 2020/08/28 19:07:55 bsiegert Exp $
Changes to packages and infrastructure on the pkgsrc-2020Q2 branch:
Pullup ticket #6255 - requested by gdt
x11/qt5-qscintilla, x11/py-qt5-qscintilla: build fix
Pullup ticket #6258 - requested by sevan
bootstrap: FreeBSD documentation update
Pullup ticket #6260 - requested by wiz
security/tor-browser: security fix
Pullup ticket #6261 - requested by wiz
security/tor-browser-noscript: security fix
Pullup ticket #6262 - requested by he
lang/llvm: powerpc build fix
Pullup ticket #6263 - requested by maya
mk: NetBSD 7 build fix
Pullup ticket #6265 - requested by nia
shells/fish: build fix
Pullup ticket #6266 - requested by nia
www/firefox68: security fix
Pullup ticket #6267 - requested by nia
www/firefox68-l10n: dependent update
Pullup ticket #6270 - requested by leot
graphics/cairo: fix crashes
Pullup ticket #6271 - requested by leot
www/webkit-gtk: security fix
Pullup ticket #6278 - requested by bsiegert
lang/go113: security update
Pullup ticket #6279 - requested by bsiegert
lang/go114: security update
Pullup ticket #6274 - requested by taca
mail/roundcube: security fix
Pullup ticket #6275 - requested by taca
databases/ldb: dependent update
Pullup ticket #6276 - requested by taca
net/samba4: security fix
Pullup ticket #6284 - requested by wiz
security/tor-browser-noscript: security fix
Pullup ticket #6285 - requested by wiz
security/tor-browser: security fix
Pullup ticket #6286 - requested by leot
www/webkit-gtk: security fix (WSA-2020-0007)
Pullup ticket #6287 - requested by nia
www/firefox68: security fix
Pullup ticket #6288 - requested by nia
www/firefox68-l10n: dependent update
Pullup ticket #6282 - requested by oster
mail/opendmarc: bugfix
Pullup ticket #6283 - requested by leot
net/youtube-dl: update
Pullup ticket #6290 - requested by maya
x11/libX11: security fix
Pullup ticket #6291 - requested by maya
x11/modular-xorg-server: security fix
Pullup ticket #6272 - requested by wiz
net/transmission-gtk: security update
net/transmission-qt: security update
net/transmission: security update
Pullup ticket #6292 - requested by wiz
multimedia/mediainfo: security fix
Pullup ticket #6293 - requested by wiz
databases/redis: security fix
Pullup ticket #6294 - requested by wiz
textproc/hunspell: security fix
Pullup ticket #6295 - requested by maya
x11/libX11: bugfix
Pullup ticket #6296 - requested by maya
lang/nodejs: aarch64 bugfix, PR port-arm/55533
Pullup ticket #6297 - requested by taca
security/clamav: security fix
Pullup ticket #6298 - requested by taca
lang/php73: security fix
Pullup ticket #6299 - requested by taca
lang/php74: security fix
Pullup ticket #6300 - requested by taca
lang/php72: security fix
Pullup ticket #6301 - requested by taca
www/apache24: security fix
Pullup ticket #6302 - requested by taca
mail/roundcube: security fix
Pullup ticket #6303 - requested by taca
mail/dovecot2: security fix
Pullup ticket #6304 - requested by taca
mail/dovecot2-pigeonhole: dependent update
Pullup ticket #6305 - requested by bouyer
graphics/xfig: build fix
Pullup ticket #6306 - requested by bouyer
misc/xygrib: build fix
Pullup ticket #6307 - requested by bouyer
sysutils/xenkernel413: security fix
Pullup ticket #6308 - requested by bouyer
sysutils/xenkernel411: security fix
Pullup ticket #6309 - requested by ryoon
www/php-nextcloud: security fix
Pullup ticket #6310 - requested by he
lang/mozjs60: PowerPC build fix
Pullup ticket #6311 - requested by taca
net/bind911: security fix
Pullup ticket #6316 - requested by hannken
net/chrony: security fix
Pullup ticket #6313 - requested by wiz
security/tor-browser: security fix
Pullup ticket #6314 - requested by wiz
security/tor-browser-https-everywhere: dependent update
Pullup ticket #6315 - requested by wiz
security/tor-browser-noscript: dependent update

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.48 2020/03/10 22:10:01 wiz Exp $
# $NetBSD: Makefile,v 1.48.4.2 2020/08/18 17:48:01 gdt Exp $
DISTNAME= gpsd-3.20
PKGREVISION= 2

View File

@ -1,7 +1,9 @@
# $NetBSD: Makefile,v 1.145 2019/08/28 22:08:12 wiz Exp $
# $NetBSD: Makefile,v 1.145.8.1 2020/07/11 09:07:03 bsiegert Exp $
.include "../../graphics/cairo/Makefile.common"
PKGREVISION= 1
TEST_TARGET= check
.include "options.mk"

View File

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.88 2018/11/14 17:14:52 kleink Exp $
$NetBSD: distinfo,v 1.88.14.1 2020/07/11 09:07:03 bsiegert Exp $
SHA1 (cairo-1.16.0.tar.xz) = 00e81842ae5e81bb0343108884eb5205be0eac14
RMD160 (cairo-1.16.0.tar.xz) = cfd2ef6ec55b267e04600f6b1e36bb07f2566b35
@ -8,3 +8,4 @@ SHA1 (patch-aa) = b01bc60f77a7122b0c0d0d9b25ad512bac7c190c
SHA1 (patch-ab) = 11f7e0e59bd5c51a8fdacb48dcf2f2fefdf3b768
SHA1 (patch-ac) = 1785bbef6bcab4781bf89e1b986a7eb96e5f2b64
SHA1 (patch-ad) = a1068a37113b162ccfe14d7f1bd0baa9df7e5530
SHA1 (patch-src_cairo-ft-font.c) = 97288d79380473869f1049c1d8955a2f6fa3d178

View File

@ -0,0 +1,34 @@
$NetBSD: patch-src_cairo-ft-font.c,v 1.1.2.2 2020/07/11 09:07:03 bsiegert Exp $
Use FT_Done_MM_Var instead of free when available.
Fixes possible crashes and memory leaks.
Backport from upstream commits 90e85c24, a68c1968.
--- src/cairo-ft-font.c.orig 2020-07-09 14:26:11.503421448 +0000
+++ src/cairo-ft-font.c
@@ -459,6 +459,11 @@ _cairo_ft_unscaled_font_init (cairo_ft_u
unscaled->variations = calloc (ft_mm_var->num_axis, sizeof (FT_Fixed));
if (unscaled->variations)
FT_Get_Var_Design_Coordinates (face, ft_mm_var->num_axis, unscaled->variations);
+#if HAVE_FT_DONE_MM_VAR
+ FT_Done_MM_Var (face->glyph->library, ft_mm_var);
+#else
+ free (ft_mm_var);
+#endif
}
}
#endif
@@ -2393,7 +2398,11 @@ skip:
done:
free (coords);
free (current_coords);
+#if HAVE_FT_DONE_MM_VAR
+ FT_Done_MM_Var (face->glyph->library, ft_mm_var);
+#else
free (ft_mm_var);
+#endif
}
}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.78 2020/05/30 18:11:22 he Exp $
# $NetBSD: Makefile,v 1.78.2.1 2020/08/24 19:11:37 bsiegert Exp $
DISTNAME= xfig-3.2.7b
CATEGORIES= graphics
@ -12,6 +12,7 @@ COMMENT= CAD-like 2D drawing tool, good for colorful scale drawings & ISOs
LICENSE= mit
DEPENDS+= fig2dev-[0-9]*:../../print/fig2dev
TOOL_DEPENDS+= netpbm-[0-9]*:../../graphics/netpbm
XAW_TYPE?= 3d

View File

@ -1,4 +1,4 @@
# $NetBSD: version.mk,v 1.92 2020/06/17 09:37:25 bsiegert Exp $
# $NetBSD: version.mk,v 1.92.2.2 2020/07/20 14:59:01 spz Exp $
#
# If bsd.prefs.mk is included before go-package.mk in a package, then this
@ -6,8 +6,8 @@
#
.include "go-vars.mk"
GO114_VERSION= 1.14.4
GO113_VERSION= 1.13.11
GO114_VERSION= 1.14.6
GO113_VERSION= 1.13.14
GO110_VERSION= 1.10.8
GO19_VERSION= 1.9.7
GO14_VERSION= 1.4.3

View File

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.3 2020/04/12 11:09:03 bsiegert Exp $
@comment $NetBSD: PLIST,v 1.3.2.1 2020/07/20 14:52:20 spz Exp $
bin/go${GOVERSSUFFIX}
bin/gofmt${GOVERSSUFFIX}
go113/AUTHORS
@ -1936,6 +1936,7 @@ go113/src/cmd/go/testdata/script/README
go113/src/cmd/go/testdata/script/bug.txt
go113/src/cmd/go/testdata/script/build_GOTMPDIR.txt
go113/src/cmd/go/testdata/script/build_acl_windows.txt
go113/src/cmd/go/testdata/script/build_cache_arch_mode.txt
go113/src/cmd/go/testdata/script/build_cache_compile.txt
go113/src/cmd/go/testdata/script/build_cache_gomips.txt
go113/src/cmd/go/testdata/script/build_cache_link.txt
@ -8436,6 +8437,8 @@ go113/test/fixedbugs/issue3552.go
go113/test/fixedbugs/issue3705.go
go113/test/fixedbugs/issue3783.go
go113/test/fixedbugs/issue3925.go
go113/test/fixedbugs/issue39459.go
go113/test/fixedbugs/issue39541.go
go113/test/fixedbugs/issue4066.go
go113/test/fixedbugs/issue4085a.go
go113/test/fixedbugs/issue4085b.go

View File

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.7 2020/05/16 08:33:07 bsiegert Exp $
$NetBSD: distinfo,v 1.7.2.1 2020/07/20 14:52:21 spz Exp $
SHA1 (go1.13.11.src.tar.gz) = 248004d4e71137ca5959ed6a9b5fce40a94262bd
RMD160 (go1.13.11.src.tar.gz) = 2368697883fad0de66c9521451df41ecb6179c56
SHA512 (go1.13.11.src.tar.gz) = 2342e70779d2d5a77da00815078e8ed4f00ed5cc0509e332e4d46eb441f0a50e7697b7afe3ba0b12c3be697b9beb6650c196f0e603d602d255e4415a703ed7df
Size (go1.13.11.src.tar.gz) = 21702851 bytes
SHA1 (go1.13.14.src.tar.gz) = a7b1983a06181784a9e3b0c2912c0b45b4e486d3
RMD160 (go1.13.14.src.tar.gz) = 20f2592e6c91e415373e2dbe607f69884e8e8733
SHA512 (go1.13.14.src.tar.gz) = 49dd28394333eaa7676fdf530d2fc18a645546c814fbe9247c9613e36529eb23634816b5c84574fea1cd9191fa86e684130e75dc70545344851c6b47c846558d
Size (go1.13.14.src.tar.gz) = 21704891 bytes
SHA1 (patch-misc_io_clangwrap.sh) = cd91c47ba0fe7b6eb8009dd261c0c26c7d581c29
SHA1 (patch-src_cmd_dist_util.go) = 24e6f1b6ded842a8ce322a40e8766f7d344bc47e
SHA1 (patch-src_cmd_link_internal_ld_elf.go) = 990a54e3baf239916e4c7f0c1d54240e2898601a

View File

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.4 2020/06/17 09:37:25 bsiegert Exp $
@comment $NetBSD: PLIST,v 1.4.2.1 2020/07/20 14:59:01 spz Exp $
bin/go${GOVERSSUFFIX}
bin/gofmt${GOVERSSUFFIX}
go114/AUTHORS
@ -1899,6 +1899,7 @@ go114/src/cmd/go/testdata/script/README
go114/src/cmd/go/testdata/script/bug.txt
go114/src/cmd/go/testdata/script/build_GOTMPDIR.txt
go114/src/cmd/go/testdata/script/build_acl_windows.txt
go114/src/cmd/go/testdata/script/build_cache_arch_mode.txt
go114/src/cmd/go/testdata/script/build_cache_compile.txt
go114/src/cmd/go/testdata/script/build_cache_gomips.txt
go114/src/cmd/go/testdata/script/build_cache_link.txt
@ -2161,9 +2162,16 @@ go114/src/cmd/go/testdata/script/std_vendor.txt
go114/src/cmd/go/testdata/script/sum_readonly.txt
go114/src/cmd/go/testdata/script/test_bad_example.txt
go114/src/cmd/go/testdata/script/test_badtest.txt
go114/src/cmd/go/testdata/script/test_benchmark_chatty_fail.txt
go114/src/cmd/go/testdata/script/test_benchmark_chatty_success.txt
go114/src/cmd/go/testdata/script/test_benchmark_fatal.txt
go114/src/cmd/go/testdata/script/test_benchmark_labels.txt
go114/src/cmd/go/testdata/script/test_cache_inputs.txt
go114/src/cmd/go/testdata/script/test_chatty_fail.txt
go114/src/cmd/go/testdata/script/test_chatty_parallel_fail.txt
go114/src/cmd/go/testdata/script/test_chatty_parallel_success.txt
go114/src/cmd/go/testdata/script/test_chatty_parallel_success_sleepy.txt
go114/src/cmd/go/testdata/script/test_chatty_success.txt
go114/src/cmd/go/testdata/script/test_compile_binary.txt
go114/src/cmd/go/testdata/script/test_compile_tempfile.txt
go114/src/cmd/go/testdata/script/test_flag.txt
@ -8604,6 +8612,8 @@ go114/test/fixedbugs/issue37716.go
go114/test/fixedbugs/issue3783.go
go114/test/fixedbugs/issue38117.go
go114/test/fixedbugs/issue3925.go
go114/test/fixedbugs/issue39459.go
go114/test/fixedbugs/issue39541.go
go114/test/fixedbugs/issue4066.go
go114/test/fixedbugs/issue4085a.go
go114/test/fixedbugs/issue4085b.go

View File

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.7 2020/06/17 09:37:25 bsiegert Exp $
$NetBSD: distinfo,v 1.7.2.1 2020/07/20 14:59:01 spz Exp $
SHA1 (go1.14.4.src.tar.gz) = 0f49857387f181a0aa5fd0d16ae93afce11445d1
RMD160 (go1.14.4.src.tar.gz) = 1fe71fc573c57031c446f1624fc5d309cb1508d8
SHA512 (go1.14.4.src.tar.gz) = b0d657ea33331062db5a4da0aff14798f292ca967a53665af1a93e04eba7a03e49a3dbc4768c4f099ec5ff25a31885750f7658f819057057093e2d7bfb085575
Size (go1.14.4.src.tar.gz) = 22535243 bytes
SHA1 (go1.14.6.src.tar.gz) = 7cdd6edb158e41d7be2c93c2fc3bd89f73bc3bf2
RMD160 (go1.14.6.src.tar.gz) = 0441aabf6b098a4b1a318e24c22e678f82b7966e
SHA512 (go1.14.6.src.tar.gz) = 5c865c8272fb0dc8eab1514732b0200dbc867276512714dd30afc658a0d2afac6bd758e00c6f576d8d254e411418a52a564c895399b56cfe06c2b1785271a8fd
Size (go1.14.6.src.tar.gz) = 22534714 bytes
SHA1 (patch-misc_io_clangwrap.sh) = cd91c47ba0fe7b6eb8009dd261c0c26c7d581c29
SHA1 (patch-src_cmd_dist_util.go) = 24e6f1b6ded842a8ce322a40e8766f7d344bc47e
SHA1 (patch-src_cmd_link_internal_ld_elf.go) = 990a54e3baf239916e4c7f0c1d54240e2898601a

13
lang/libLLVM/hacks.mk Normal file
View File

@ -0,0 +1,13 @@
# $NetBSD: hacks.mk,v 1.1.2.2 2020/09/18 18:27:33 bsiegert Exp $
.if !defined(LIBLLVM_HACKS_MK)
LIBLLVM_HACKS_MK= defined
# [ Tue Sep 15 07:21:13 CEST 2020 : he ]
# On NetBSD/powerpc, enable -mlongcall, to avoid relocation overflows
.if ${MACHINE_ARCH} == "powerpc"
CFLAGS+= -mlongcall
CXXFLAGS+= -mlongcall
.endif
.endif # LIBLLVM_HACKS_MK

View File

@ -1,4 +1,4 @@
# $NetBSD: options.mk,v 1.6 2019/11/11 19:22:28 nia Exp $
# $NetBSD: options.mk,v 1.6.6.1 2020/07/09 06:39:00 bsiegert Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.llvm
@ -26,6 +26,9 @@ PKG_SUGGESTED_OPTIONS+= terminfo
PKG_SUGGESTED_OPTIONS+= llvm-target-sparc
.elif !empty(MACHINE_ARCH:Mpowerpc*)
PKG_SUGGESTED_OPTIONS+= llvm-target-powerpc
# Needed to avoid "relocation truncated to fit: R_PPC_REL24"
CFLAGS+= -mlongcall
CXXFLAGS+= -mlongcall
.elif !empty(MACHINE_ARCH:Mearm*)
PKG_SUGGESTED_OPTIONS+= llvm-target-arm
.elif !empty(MACHINE_ARCH:M*mips*)

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2020/06/02 08:22:45 adam Exp $
# $NetBSD: Makefile,v 1.9.2.1 2020/08/28 15:44:32 bsiegert Exp $
DISTNAME= mozjs60_60.8.0.orig
PKGNAME= ${DISTNAME:S/_/-/:S/.orig//}
@ -56,6 +56,12 @@ post-install:
${CHMOD} -x ${DESTDIR}${PREFIX}/include/mozjs-60/js-config.h
${CHMOD} -x ${DESTDIR}${PREFIX}/lib/pkgconfig/mozjs-60.pc
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MNetBSD-*-powerpc)
# 64 bit atomics
.include "../../devel/libatomic/buildlink3.mk"
.endif
.include "../../devel/zlib/buildlink3.mk"
.include "../../lang/python/tool.mk"
.include "../../textproc/icu/buildlink3.mk"

View File

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.6 2020/05/28 15:26:23 triaxx Exp $
$NetBSD: distinfo,v 1.6.2.1 2020/08/28 15:44:32 bsiegert Exp $
SHA1 (mozjs60_60.8.0.orig.tar.xz) = b66207ee477c110995029f173e6b026f2e013591
RMD160 (mozjs60_60.8.0.orig.tar.xz) = fef033969a51dc56c84669d33401f60bd499de6d
@ -9,6 +9,8 @@ SHA1 (patch-.._.._python_mozbuild_mozbuild_backend_recursivemake.py) = dda670432
SHA1 (patch-.._.._python_mozbuild_mozbuild_virtualenv.py) = 231d96ae8f66da1db36a4371c28d97a4db4c0f5c
SHA1 (patch-.._public_TypeDecls.h) = 846e0707755cbe7e97cc380f66bfe6da0daf996e
SHA1 (patch-gc_Memory.cpp) = ba865bee4b99ce6298404b41b465b281fd23555f
SHA1 (patch-js_src_jit_AtomicOperations.h) = fc9ff5be98f045500675a73c34eaa9855cea2bec
SHA1 (patch-js_src_jit_none_AtomicOperations-feeling-lucky.h) = 06108aad94437a12b2b80491dab917fe4bb0de37
SHA1 (patch-jsdate.cpp) = f9314460476ffbc00fe85a75bddc964807d0153f
SHA1 (patch-threading_posix_Thread.cpp) = c48a642fa98d8112c149142a4af4ac633d3ae332
SHA1 (patch-util_NativeStack.cpp) = 68d2d80291a856c74bac2e6870317f143bb61355

View File

@ -0,0 +1,15 @@
$NetBSD: patch-js_src_jit_AtomicOperations.h,v 1.1.2.2 2020/08/28 15:44:32 bsiegert Exp $
Oddly, C++ on NetBSD/powerpc doesn't predefine __ppc__, only __powerpc__.
--- jit/AtomicOperations.h.orig 2019-07-01 09:07:41.000000000 +0000
+++ jit/AtomicOperations.h
@@ -378,7 +378,7 @@ inline bool AtomicOperations::isLockfree
#else
#error "No AtomicOperations support for this platform+compiler combination"
#endif
-#elif defined(__ppc__) || defined(__PPC__)
+#elif defined(__ppc__) || defined(__PPC__) || defined(__powerpc__)
#include "jit/none/AtomicOperations-feeling-lucky.h"
#elif defined(__sparc__)
#include "jit/none/AtomicOperations-feeling-lucky.h"

View File

@ -0,0 +1,15 @@
$NetBSD: patch-js_src_jit_none_AtomicOperations-feeling-lucky.h,v 1.1.2.2 2020/08/28 15:44:32 bsiegert Exp $
C++ on NetBSD/powerpc doesn't predefine __ppc__, only __powerpc__. Compensate.
--- jit/none/AtomicOperations-feeling-lucky.h.orig 2019-07-01 09:07:41.000000000 +0000
+++ jit/none/AtomicOperations-feeling-lucky.h
@@ -39,7 +39,7 @@
// want WebAssembly support you can always just lie about the lock-freedom.
// After all, you're already feeling lucky.
-#if defined(__ppc__) || defined(__PPC__)
+#if defined(__ppc__) || defined(__PPC__) || defined(__powerpc__)
#define GNUC_COMPATIBLE
#endif

View File

@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.185 2020/06/18 04:58:24 gutteridge Exp $
# $NetBSD: Makefile,v 1.185.2.1 2020/08/14 17:18:38 bsiegert Exp $
DISTNAME= node-v14.4.0
PKGREVISION= 1
EXTRACT_SUFX= .tar.xz
USE_LANGUAGES= c gnu++14

View File

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.172 2020/06/03 08:41:24 adam Exp $
$NetBSD: distinfo,v 1.172.2.1 2020/08/14 17:18:38 bsiegert Exp $
SHA1 (node-v14.4.0.tar.xz) = 410b41fc6723af146914d1359ef2c19646d3bde2
RMD160 (node-v14.4.0.tar.xz) = 830ab17bad8cbb9d04877216c157e86cb149c58f
@ -10,7 +10,7 @@ SHA1 (patch-deps_uv_common.gypi) = d38a9c8d9e3522f15812aec2f5b1e1e636d4bab3
SHA1 (patch-deps_v8_src_base_atomicops.h) = d1ef20a3fee1d188687bd76836ada6f2c8e0787f
SHA1 (patch-deps_v8_src_base_platform_platform-freebsd.cc) = b47025f33d2991275bbcd15dbabb28900afab0e1
SHA1 (patch-deps_v8_src_base_platform_platform-openbsd.cc) = 5e593879dbab095f99e82593272a0de91043f9a8
SHA1 (patch-deps_v8_src_base_platform_platform-posix.cc) = 0d80cc6587af9220832de112834e9f50242f819f
SHA1 (patch-deps_v8_src_base_platform_platform-posix.cc) = 0f2975d557e71b8dea336740e0cae7d7572e6be8
SHA1 (patch-deps_v8_src_base_platform_semaphore.cc) = 802a95f1b1d131e0d85c1f99c659cc68b31ba2f6
SHA1 (patch-deps_v8_src_common_globals.h) = 86637724864389f2b24251904de41669a2f00fbc
SHA1 (patch-deps_v8_src_compiler_types.h) = 2a212282ab9d71e98ae56827fdb1d9778a6047a5

View File

@ -1,11 +1,26 @@
$NetBSD: patch-deps_v8_src_base_platform_platform-posix.cc,v 1.5 2018/05/03 21:19:16 fhajny Exp $
$NetBSD: patch-deps_v8_src_base_platform_platform-posix.cc,v 1.5.18.1 2020/08/14 17:18:38 bsiegert Exp $
Use sysconf(_SC_THREAD_STACK_MIN) instead of PTHREAD_STACK_MIN.
Cast explicitly.
--- deps/v8/src/base/platform/platform-posix.cc.orig 2018-04-24 14:41:24.000000000 +0000
Avoid using a random hint, some low numbers cause spurious ENOMEM on netbsd
(PR port-arm/55533)
--- deps/v8/src/base/platform/platform-posix.cc.orig 2020-06-02 15:09:42.000000000 +0000
+++ deps/v8/src/base/platform/platform-posix.cc
@@ -480,6 +480,8 @@ int OS::GetCurrentThreadId() {
@@ -317,6 +317,11 @@ void* OS::GetRandomMmapAddr() {
#endif
#endif
#endif
+
+#ifdef __NetBSD__ && V8_TARGET_ARCH_ARM64
+ raw_addr = 0;
+#endif
+
return reinterpret_cast<void*>(raw_addr);
}
@@ -558,6 +563,8 @@ int OS::GetCurrentThreadId() {
return static_cast<int>(syscall(__NR_gettid));
#elif V8_OS_ANDROID
return static_cast<int>(gettid());
@ -14,7 +29,7 @@ Cast explicitly.
#elif V8_OS_AIX
return static_cast<int>(thread_self());
#elif V8_OS_FUCHSIA
@@ -670,8 +672,13 @@ Thread::Thread(const Options& options)
@@ -750,8 +757,13 @@ Thread::Thread(const Options& options)
: data_(new PlatformData),
stack_size_(options.stack_size()),
start_semaphore_(nullptr) {
@ -28,7 +43,7 @@ Cast explicitly.
}
set_name(options.name());
}
@@ -687,7 +694,7 @@ static void SetThreadName(const char* na
@@ -767,7 +779,7 @@ static void SetThreadName(const char* na
pthread_set_name_np(pthread_self(), name);
#elif V8_OS_NETBSD
STATIC_ASSERT(Thread::kMaxThreadNameLength <= PTHREAD_MAX_NAMELEN_NP);

View File

@ -1,4 +1,4 @@
# $NetBSD: phpversion.mk,v 1.300 2020/06/14 05:59:17 taca Exp $
# $NetBSD: phpversion.mk,v 1.300.2.3 2020/08/23 18:52:28 bsiegert Exp $
#
# This file selects a PHP version, based on the user's preferences and
# the installed packages. It does not add a dependency on the PHP
@ -88,9 +88,9 @@ PHPVERSION_MK= defined
# Define each PHP's version.
PHP56_VERSION= 5.6.40
PHP72_VERSION= 7.2.31
PHP73_VERSION= 7.3.19
PHP74_VERSION= 7.4.7
PHP72_VERSION= 7.2.33
PHP73_VERSION= 7.3.21
PHP74_VERSION= 7.4.9
# Define initial release of major version.
PHP56_RELDATE= 20140828

View File

@ -1,10 +1,9 @@
# $NetBSD: Makefile,v 1.27 2020/06/02 08:22:46 adam Exp $
# $NetBSD: Makefile,v 1.27.2.1 2020/08/23 18:52:28 bsiegert Exp $
#
# We can't omit PKGNAME here to handle PKG_OPTIONS.
#
PKGNAME= php-${PHP_VERSION:S/RC/rc/}
PKGREVISION= 1
COMMENT= PHP Hypertext Preprocessor version 7.2
LICENSE= php

View File

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.55 2020/05/14 14:26:59 taca Exp $
$NetBSD: distinfo,v 1.55.2.1 2020/08/23 18:52:28 bsiegert Exp $
SHA1 (php-7.2.31.tar.xz) = b575c1ca634b80218021a6addb49a004bc5260f8
RMD160 (php-7.2.31.tar.xz) = 4785209f87e29a61a395c1fe0ddbaf3488f9ca04
SHA512 (php-7.2.31.tar.xz) = b21c504d0af2c095e4ae5a62c810af96171b927a27ea4694f59555c0d47798d61c3491a92941099cd9c978b3b0f41852ca2cf745e42ee3d9a6d107a5a884c9ee
Size (php-7.2.31.tar.xz) = 12309936 bytes
SHA1 (php-7.2.33.tar.xz) = 5297d7594af3950f395b775bbf7470c8e6f89683
RMD160 (php-7.2.33.tar.xz) = 83b1f02ef406228ef3a3d1b0371246843d84c26e
SHA512 (php-7.2.33.tar.xz) = 1c28e741fc6de88a33e1307bc88ba8dddf1ba767ce6eb9c1f0da35482c7d3ee1154831b997fa746340c4b7ec8de9196b21a9b1cf319c8e69eca2c92602ceee4a
Size (php-7.2.33.tar.xz) = 12310624 bytes
SHA1 (patch-configure) = 6e66a79e691a84aa7ae461f8dec1752443ad6b61
SHA1 (patch-disable-filter-url) = e9e92d686ddd1d1a1ece10fe4feee4e368fe510c
SHA1 (patch-ext_gd_config.m4) = eaecfb31b18700dd642c067ed82748d4f6be2335

View File

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.23 2020/06/14 05:56:51 taca Exp $
$NetBSD: distinfo,v 1.23.2.1 2020/08/14 19:33:28 bsiegert Exp $
SHA1 (php-7.3.19.tar.xz) = 69da646afaf60af9d035a4f94d25a2b26216f887
RMD160 (php-7.3.19.tar.xz) = aa4a349f4595a78466800f8287e45a7c2284a41f
SHA512 (php-7.3.19.tar.xz) = f37800d9e1bf808ad1099f6190965cc75781e7bf6d2c341a7143aca435abc9974a2987cbfeb8c2b35805c946218343612906fde3cc84b195c2c586945869b760
Size (php-7.3.19.tar.xz) = 12117968 bytes
SHA1 (php-7.3.21.tar.xz) = 00fe0041c180f4f3185a4e4ade7f07207eda94e7
RMD160 (php-7.3.21.tar.xz) = 7f6fc55ccf3e35ab8dd238b217d1b7d5d12cdf8c
SHA512 (php-7.3.21.tar.xz) = fc2b9a40c92a6e79522a49cd025e56c0a52c2c2bd3f7379aaf004ca6b67957cf4ad059c40a5daac45665710abd07962562870430338f700f573856d797df3ff4
Size (php-7.3.21.tar.xz) = 12123192 bytes
SHA1 (patch-configure) = 08b80528ba90c705398e8841c232382663479a3b
SHA1 (patch-disable-filter-url) = 0a2c19c18f089448a8d842e99738b292ab9e5640
SHA1 (patch-ext_gd_config.m4) = eaecfb31b18700dd642c067ed82748d4f6be2335

View File

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.9 2020/06/14 05:59:17 taca Exp $
$NetBSD: distinfo,v 1.9.2.1 2020/08/23 18:42:13 bsiegert Exp $
SHA1 (php-7.4.7.tar.xz) = 81b2f89d3668b137514e94383b79957e19066caa
RMD160 (php-7.4.7.tar.xz) = 7690589df7a30612698e5931a7b4b16965538a9d
SHA512 (php-7.4.7.tar.xz) = 5b3ba690e610e0511675f06a10afe9edbcfa90b5b16956d22aab225cdf140b55e5a8a551e7b189d30404981c94c6921b8c4aed00102546cfa38784a719704b80
Size (php-7.4.7.tar.xz) = 10286580 bytes
SHA1 (php-7.4.9.tar.xz) = 6d8996e0e033745565eab8f4a8c67438c0f61ee0
RMD160 (php-7.4.9.tar.xz) = 5d9e8153926dcadd5a08ef36e2232998f3a613d0
SHA512 (php-7.4.9.tar.xz) = 6179c2d867d6775d7f41785003c36d06ce620e7746ea7e6a4d275264e814a66d465776b47b04e2926ed1228cf58f2c15cdda74faf10372435c74ede7aeb79e18
Size (php-7.4.9.tar.xz) = 10289560 bytes
SHA1 (patch-configure) = 5e9c9c06f6d819d5ba2832d648f41363f40f3108
SHA1 (patch-disable-filter-url) = 0a2c19c18f089448a8d842e99738b292ab9e5640
SHA1 (patch-ext_phar_Makefile.frag) = 53ea5c58b0bc27d236118d5750a74b1cba43e5dd

View File

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.56 2020/03/15 22:52:45 adam Exp $
# $NetBSD: Makefile,v 1.56.4.1 2020/08/24 19:03:27 bsiegert Exp $
DISTNAME= dovecot-2.3-pigeonhole-0.5.10
PKGNAME= ${DISTNAME:S/-2.3-/-/}
DISTNAME= dovecot-2.3.11-pigeonhole-0.5.11
PKGNAME= ${DISTNAME:S/-2.3.11-/-/}
CATEGORIES= mail
MASTER_SITES= https://pigeonhole.dovecot.org/releases/2.3/

View File

@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.42 2020/03/15 22:52:45 adam Exp $
$NetBSD: distinfo,v 1.42.4.1 2020/08/24 19:03:27 bsiegert Exp $
SHA1 (dovecot-2.3-pigeonhole-0.5.10.tar.gz) = 5be045df084dfffd6b0103bdb299c5b60c62bc7d
RMD160 (dovecot-2.3-pigeonhole-0.5.10.tar.gz) = a331e487af2473623605587df3b775f45d777539
SHA512 (dovecot-2.3-pigeonhole-0.5.10.tar.gz) = f3d380edba4d25d20ee52db21d2965e3a6b229924e9a04fbf45cfe32e1d25448977ee41b12ba41ad8cf8b795f19bb1dbef1d7d09e775598d782123268f61dc8b
Size (dovecot-2.3-pigeonhole-0.5.10.tar.gz) = 1899237 bytes
SHA1 (dovecot-2.3.11-pigeonhole-0.5.11.tar.gz) = 60b7457510657e53d2ef2527681a967a70191aae
RMD160 (dovecot-2.3.11-pigeonhole-0.5.11.tar.gz) = 571d7b50b4083dd3d42b96fe0c211366467f60d6
SHA512 (dovecot-2.3.11-pigeonhole-0.5.11.tar.gz) = ef65b49092fec736258cd793f4f338cd7838c0e6e23922f6df36b428089e88ff236b8e67a7f31ee9c7e4d587a60a1533fde45d689fa9563fbfd4224bee3d2536
Size (dovecot-2.3.11-pigeonhole-0.5.11.tar.gz) = 1900342 bytes
SHA1 (patch-aa) = 264399e166b5fece22bacd47b043c59f8f0f0a29

View File

@ -1,6 +1,5 @@
# $NetBSD: Makefile,v 1.22 2020/06/02 08:24:14 adam Exp $
# $NetBSD: Makefile,v 1.22.2.1 2020/08/24 19:03:13 bsiegert Exp $
PKGREVISION= 1
.include "../../mail/dovecot2/Makefile.common"
PKGNAME= ${DISTNAME:S/dovecot/dovecot-sqlite/}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.40 2020/05/18 14:20:46 taca Exp $
# $NetBSD: Makefile.common,v 1.40.2.1 2020/08/24 19:03:13 bsiegert Exp $
#
# when updating to a new release, update ABI depends in
# the buildlink3.mk file as well, since the plugins' version
@ -11,7 +11,7 @@
# used by mail/dovecot2-pgsql/Makefile
# used by mail/dovecot2-sqlite/Makefile
DISTNAME= dovecot-2.3.10.1
DISTNAME= dovecot-2.3.11.3
CATEGORIES= mail
MASTER_SITES= https://dovecot.org/releases/${PKGVERSION_NOREV:R:R}/

View File

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.69 2020/03/15 22:52:04 adam Exp $
@comment $NetBSD: PLIST,v 1.69.4.1 2020/08/24 19:03:13 bsiegert Exp $
bin/doveadm
bin/doveconf
bin/dovecot-sysreport
@ -27,6 +27,7 @@ include/dovecot/auth-master-connection.h
include/dovecot/auth-master.h
include/dovecot/auth-penalty.h
include/dovecot/auth-policy.h
include/dovecot/auth-request-handler-private.h
include/dovecot/auth-request-handler.h
include/dovecot/auth-request-stats.h
include/dovecot/auth-request-var-expand.h
@ -403,6 +404,7 @@ include/dovecot/mdbox-settings.h
include/dovecot/mdbox-storage-rebuild.h
include/dovecot/mdbox-storage.h
include/dovecot/mdbox-sync.h
include/dovecot/mech-digest-md5-private.h
include/dovecot/mech-otp-skey-common.h
include/dovecot/mech-plain-common.h
include/dovecot/mech-scram.h
@ -449,6 +451,7 @@ include/dovecot/ostream-null.h
include/dovecot/ostream-private.h
include/dovecot/ostream-rawlog.h
include/dovecot/ostream-unix.h
include/dovecot/ostream-wrapper.h
include/dovecot/ostream-zlib.h
include/dovecot/ostream.h
include/dovecot/passdb-blocking.h

View File

@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.33 2020/01/18 21:48:14 jperkin Exp $
# $NetBSD: buildlink3.mk,v 1.33.4.1 2020/08/24 19:03:13 bsiegert Exp $
BUILDLINK_TREE+= dovecot
@ -7,7 +7,7 @@ DOVECOT_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.dovecot+= dovecot>=2.2.0
# must match current package version for plugins to load
BUILDLINK_ABI_DEPENDS.dovecot+= dovecot>=2.3.9.2nb1
BUILDLINK_ABI_DEPENDS.dovecot+= dovecot>=2.3.11.3
BUILDLINK_PKGSRCDIR.dovecot?= ../../mail/dovecot2
pkgbase:= dovecot

View File

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.104 2020/05/18 14:20:46 taca Exp $
$NetBSD: distinfo,v 1.104.2.1 2020/08/24 19:03:13 bsiegert Exp $
SHA1 (dovecot-2.3.10.1.tar.gz) = d8afa71f3a7a2c2e406745ff43057ae94ed23871
RMD160 (dovecot-2.3.10.1.tar.gz) = f68993644d14c4bae321e2525fb6c885724d8ebd
SHA512 (dovecot-2.3.10.1.tar.gz) = 5c07436a3e861993f241caa2c60f035c533c5fceb5c8540c1717d31bedd54b82299f7ea11bfee12c72d4d33985d93a7130c4f56877864a7ad21cf7373a29cc06
Size (dovecot-2.3.10.1.tar.gz) = 7226958 bytes
SHA1 (dovecot-2.3.11.3.tar.gz) = 4a094ae503ded8ccea97cc06680fbb2e0f9c3171
RMD160 (dovecot-2.3.11.3.tar.gz) = c44a9686a24127c95bd7c439e0548bd66481ab4e
SHA512 (dovecot-2.3.11.3.tar.gz) = d83e52a7faab918a8e6f6257acc5936b81733c10489affd042c3a043cb842db060286cba9978be378e4958e9ac2e60b55ce289d7f3a88df08e7637e4785e23bb
Size (dovecot-2.3.11.3.tar.gz) = 7353412 bytes
SHA1 (patch-aa) = 3af01aa4a8cea1a3fb840b6243a744de77069611
SHA1 (patch-ab) = 9db15fd853ba47ef4bf04f2adc9ab24f71ee4d1e
SHA1 (patch-ae) = c795585df9f415ceabb28eec1ff691ee26168d3b

View File

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.18 2020/01/25 10:45:11 jperkin Exp $
# $NetBSD: Makefile,v 1.18.4.1 2020/07/30 18:48:38 bsiegert Exp $
DISTNAME= opendmarc-1.3.1
PKGREVISION= 6
PKGREVISION= 7
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opendmarc/}

View File

@ -1,8 +1,11 @@
$NetBSD: distinfo,v 1.6 2015/11/03 23:27:11 agc Exp $
$NetBSD: distinfo,v 1.6.36.1 2020/07/30 18:48:38 bsiegert Exp $
SHA1 (opendmarc-1.3.1.tar.gz) = bdd12713888c16e77334281238f88990df225929
RMD160 (opendmarc-1.3.1.tar.gz) = 623b51544f428ade14f0a5d6204f8bf41af8375a
SHA512 (opendmarc-1.3.1.tar.gz) = 0be11540bc26bd3b3e6cc9817bc379a5d290b63ef16c5d3559bf96b241ad6628bea7a9daeb468afac855bc16be16676f722b3c1d468ea82c8d8364e8a8137226
Size (opendmarc-1.3.1.tar.gz) = 640151 bytes
SHA1 (patch-configure) = 15abea1f890249c46eb0b969133fc809507feb6a
SHA1 (patch-configure.ac) = b7ee9ae49e04fceaf2872dac7e2f60a15d3c9aa0
SHA1 (patch-build-config.h.in) = 14723ab0a578978117be7dcc1d60fe5af955b610
SHA1 (patch-configure) = 1af3b346ac6db51d1701af8ba4e123e0e6a6b973
SHA1 (patch-configure.ac) = bfd2c16d22e25b564d33220b5e7ceadedc5ee016
SHA1 (patch-libopendmarc_opendmarc__dns.c) = 7c75d464bcdba6baf963cb002e7ba94a60593ecc
SHA1 (patch-libopendmarc_opendmarc__spf__dns.c) = 82f22fd2e224ddef1cd3c6788518e629fdea125f

View File

@ -0,0 +1,16 @@
$NetBSD: patch-build-config.h.in,v 1.1.2.2 2020/07/30 18:48:39 bsiegert Exp $
We need to use res_ndestroy() to cleanup after res_init().
--- build-config.h.in.orig 2015-02-23 20:32:27.000000000 +0000
+++ build-config.h.in
@@ -104,6 +104,9 @@
/* Define to 1 if you have the `res_ninit()' function. */
#undef HAVE_RES_NINIT
+/* Define to 1 if you have the 'res_ndestroy()' function. */
+#undef HAVE_RES_NDESTROY
+
/* Define to 1 if you have the <signal.h> header file. */
#undef HAVE_SIGNAL_H

View File

@ -1,12 +1,73 @@
$NetBSD: patch-configure,v 1.1 2014/12/05 16:00:23 christos Exp $
Search also for __res_ninit on NetBSD because of namespace protection
$NetBSD: patch-configure,v 1.1.44.1 2020/07/30 18:48:39 bsiegert Exp $
--- configure.orig 2014-12-05 10:53:31.000000000 -0500
+++ configure 2014-12-05 10:54:50.000000000 -0500
@@ -12969,6 +12969,64 @@
Check for res_ndestroy(), __res_init(), and __res_ndestroy().
--- configure.orig 2015-02-23 20:32:13.000000000 +0000
+++ configure
@@ -12971,6 +12971,184 @@ $as_echo "#define HAVE_RES_NINIT 1" >>co
fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_ndestroy" >&5
+$as_echo_n "checking for library containing res_ndestroy... " >&6; }
+if ${ac_cv_search_res_ndestroy+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_func_search_save_LIBS=$LIBS
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char res_ndestroy ();
+int
+main ()
+{
+return res_ndestroy ();
+ ;
+ return 0;
+}
+_ACEOF
+for ac_lib in '' resolv; do
+ if test -z "$ac_lib"; then
+ ac_res="none required"
+ else
+ ac_res=-l$ac_lib
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
+ fi
+ if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_search_res_ndestroy=$ac_res
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext
+ if ${ac_cv_search_res_ndestroy+:} false; then :
+ break
+fi
+done
+if ${ac_cv_search_res_ndestroy+:} false; then :
+
+else
+ ac_cv_search_res_ndestroy=no
+fi
+rm conftest.$ac_ext
+LIBS=$ac_func_search_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_ndestroy" >&5
+$as_echo "$ac_cv_search_res_ndestroy" >&6; }
+ac_res=$ac_cv_search_res_ndestroy
+if test "$ac_res" != no; then :
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
+
+$as_echo "#define HAVE_RES_NDESTROY 1" >>confdefs.h
+
+fi
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __res_ninit" >&5
+$as_echo_n "checking for library containing __res_ninit... " >&6; }
+if ${ac_cv_search___res_ninit+:} false; then :
@ -64,6 +125,66 @@ Search also for __res_ninit on NetBSD because of namespace protection
+$as_echo "#define HAVE_RES_NINIT 1" >>confdefs.h
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __res_ndestroy" >&5
+$as_echo_n "checking for library containing __res_ndestroy... " >&6; }
+if ${ac_cv_search___res_ndestroy+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_func_search_save_LIBS=$LIBS
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char __res_ndestroy ();
+int
+main ()
+{
+return __res_ndestroy ();
+ ;
+ return 0;
+}
+_ACEOF
+for ac_lib in '' resolv; do
+ if test -z "$ac_lib"; then
+ ac_res="none required"
+ else
+ ac_res=-l$ac_lib
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
+ fi
+ if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_search___res_ndestroy=$ac_res
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext
+ if ${ac_cv_search___res_ndestroy+:} false; then :
+ break
+fi
+done
+if ${ac_cv_search___res_ndestroy+:} false; then :
+
+else
+ ac_cv_search___res_ndestroy=no
+fi
+rm conftest.$ac_ext
+LIBS=$ac_func_search_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___res_ndestroy" >&5
+$as_echo "$ac_cv_search___res_ndestroy" >&6; }
+ac_res=$ac_cv_search___res_ndestroy
+if test "$ac_res" != no; then :
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
+
+$as_echo "#define HAVE_RES_NDESTROY 1" >>confdefs.h
+
+fi
+
+
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for idn_free in -lidn" >&5
$as_echo_n "checking for idn_free in -lidn... " >&6; }

View File

@ -1,15 +1,24 @@
$NetBSD: patch-configure.ac,v 1.1 2014/12/05 16:00:23 christos Exp $
Search also for __res_ninit on NetBSD because of namespace protection
$NetBSD: patch-configure.ac,v 1.1.44.1 2020/07/30 18:48:39 bsiegert Exp $
--- configure.ac.orig 2014-12-05 10:53:36.000000000 -0500
+++ configure.ac 2014-12-05 10:53:51.000000000 -0500
@@ -126,6 +126,9 @@
Add appropriate flags if res_ndestroy(), __res_ninit(), or
__res_ndestroy() are found.
--- configure.ac.orig 2015-02-23 20:31:50.000000000 +0000
+++ configure.ac
@@ -126,6 +126,16 @@ AC_CHECK_LIB(resolv, inet_aton, , , [-ln
AC_SEARCH_LIBS(res_ninit, resolv,
AC_DEFINE(HAVE_RES_NINIT, 1,
[Define to 1 if you have the `res_ninit()' function.]))
+AC_SEARCH_LIBS(res_ndestroy, resolv,
+ AC_DEFINE(HAVE_RES_NDESTROY, 1,
+ [Define to 1 if you have the `res_ndestroy()' function.]))
+AC_SEARCH_LIBS(__res_ninit, resolv,
+ AC_DEFINE(HAVE_RES_NINIT, 1,
+ [Define to 1 if you have the `res_ninit()' function.]))
+ [Define to 1 if you have the `__res_ninit()' function.]))
+AC_SEARCH_LIBS(__res_ndestroy, resolv,
+ AC_DEFINE(HAVE_RES_NDESTROY, 1,
+ [Define to 1 if you have the `__res_ndestroy()' function.]))
+
AC_CHECK_LIB(idn, idn_free)
AC_CHECK_LIB(rt, nanosleep)
AC_SEARCH_LIBS(inet_addr, nsl)

View File

@ -0,0 +1,18 @@
$NetBSD: patch-libopendmarc_opendmarc__dns.c,v 1.1.2.2 2020/07/30 18:48:39 bsiegert Exp $
Patch from Roy Marples: if we have res_ndestroy(), use that in place of just res_nclose().
--- libopendmarc/opendmarc_dns.c.orig 2015-02-23 20:31:51.000000000 +0000
+++ libopendmarc/opendmarc_dns.c
@@ -211,7 +211,11 @@ dmarc_dns_get_record(char *domain, int *
(void) opendmarc_policy_library_dns_hook(&resp.nscount,
&resp.nsaddr_list);
answer_len = res_nquery(&resp, bp, C_IN, T_TXT, answer_buf, sizeof answer_buf);
+#ifdef HAVE_RES_NDESTROY
+ res_ndestroy(&resp);
+#else
res_nclose(&resp);
+#endif
#else /* HAVE_RES_NINIT */
#if defined RES_USE_DNSSEC
_res.options |= RES_USE_DNSSEC;

View File

@ -0,0 +1,76 @@
$NetBSD: patch-libopendmarc_opendmarc__spf__dns.c,v 1.1.2.2 2020/07/30 18:48:39 bsiegert Exp $
Patch from Roy Marples: if we have res_ndestroy(), use that in place of just res_nclose().
--- libopendmarc/opendmarc_spf_dns.c.orig 2015-02-23 20:31:51.000000000 +0000
+++ libopendmarc/opendmarc_spf_dns.c
@@ -108,7 +108,11 @@ opendmarc_spf_dns_lookup_a_actual(char *
#ifdef HAVE_RES_NINIT
k = res_nquery(&resp, bp, C_IN, sought, a_buf, sizeof a_buf);
+#ifdef HAVE_RES_NDESTROY
+ res_ndestroy(&resp);
+#else
res_nclose(&resp);
+#endif
#else /* HAVE_RES_NINIT */
k = res_query(bp, C_IN, sought, a_buf, sizeof a_buf);
#endif /* HAVE_RES_NINIT */
@@ -253,7 +257,11 @@ opendmarc_spf_dns_lookup_mx(char *domain
memset(&resp, '\0', sizeof resp);
res_ninit(&resp);
k = res_nquery(&resp, domain, C_IN, T_MX, (u_char *) &q, sizeof(q));
+#ifdef HAVE_RES_NDESTROY
+ res_ndestroy(&resp);
+#else
res_nclose(&resp);
+#endif
#else /* HAVE_RES_NINIT */
k = res_query(domain, C_IN, T_MX, (u_char *) &q, sizeof(q));
#endif /* HAVE_RES_NINIT */
@@ -366,7 +374,11 @@ opendmarc_spf_dns_lookup_ptr(char *ip, c
memset(&resp, '\0', sizeof resp);
res_ninit(&resp);
k = res_nquery(&resp, (char *)buf, C_IN, T_PTR, (u_char *) &q, sizeof(q));
+#ifdef HAVE_RES_NDESTROY
+ res_ndestroy(&resp);
+#else
res_nclose(&resp);
+#endif
#else /* HAVE_RES_NINIT */
k = res_query((char *)buf, C_IN, T_PTR, (u_char *) &q, sizeof(q));
#endif /* HAVE_RES_NINIT */
@@ -461,7 +473,11 @@ opendmarc_spf_dns_does_domain_exist(char
(void) res_nquery(&resp, domain, C_IN, T_AAAA, aaaa_q, sizeof aaaa_q);
#endif /* T_AAAA */
(void) res_nquery(&resp, domain, C_IN, T_MX, mx_q, sizeof mx_q);
+#ifdef HAVE_RES_NDESTROY
+ res_ndestroy(&resp);
+#else
res_nclose(&resp);
+#endif
#else /* HAVE_RES_NINIT */
(void) res_query(domain, C_IN, T_A, a_q, sizeof a_q);
#ifdef T_AAAA
@@ -603,13 +619,21 @@ opendmarc_spf_dns_get_record(char *domai
}
*rp = h_errno;
#ifdef HAVE_RES_NINIT
+#ifdef HAVE_RES_NDESTROY
+ res_ndestroy(&resp);
+#else
res_nclose(&resp);
+#endif
#endif /* HAVE_RES_NINIT */
return NULL;
}
got_spf_record:
#ifdef HAVE_RES_NINIT
+#ifdef HAVE_RES_NDESTROY
+ res_ndestroy(&resp);
+#else
res_nclose(&resp);
+#endif
#endif /* HAVE_RES_NINIT */
if (k > (int)(sizeof txt_buf))

View File

@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.19 2020/06/09 00:25:19 taca Exp $
$NetBSD: distinfo,v 1.19.2.2 2020/08/23 18:58:28 bsiegert Exp $
SHA1 (roundcubemail-1.4.6-complete.tar.gz) = 44961ef62bb9c9875141ca34704bbc7d6f36373d
RMD160 (roundcubemail-1.4.6-complete.tar.gz) = 51e323bf7def448b55f57b9279745b5779690ab3
SHA512 (roundcubemail-1.4.6-complete.tar.gz) = e86763ced58cfa8174f71d33ae45cd62f26a58853b9361b800003fa5bf883a4106c957f66b6b17b03172a3ee595ca74d7c19ac38e449a23377defd77cf555742
Size (roundcubemail-1.4.6-complete.tar.gz) = 7031573 bytes
SHA1 (roundcubemail-1.4.8-complete.tar.gz) = 3a6824fd68fef2e0d24f186cfbee5c6f9d6edbe9
RMD160 (roundcubemail-1.4.8-complete.tar.gz) = eacf740aab6fa69fd023bc5f2356b49a81e596d0
SHA512 (roundcubemail-1.4.8-complete.tar.gz) = 8b7734cdec95954b7e18a0e44957da6ef74b5b0c3d28a1449e8634faa230844f5e0c28954245641758f8b2d9102aa32f279765ed3dfa20fa7b00dee4e5347362
Size (roundcubemail-1.4.8-complete.tar.gz) = 7032822 bytes
SHA1 (patch-plugins_password_helpers_passwd-expect) = 15e427a3c90bf7c0437a023b3f099abb5a139165

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.19 2020/06/09 00:25:19 taca Exp $
# $NetBSD: Makefile.common,v 1.19.2.2 2020/08/23 18:58:28 bsiegert Exp $
#
# used by mail/roundcube/Makefile
# used by mail/roundcube/plugins.mk
@ -10,7 +10,7 @@ GITHUB_PROJECT= roundcubemail
GITHUB_RELEASE= ${RC_VERS}
HOMEPAGE= https://roundcube.net/
RC_VERS= 1.4.6
RC_VERS= 1.4.8
USE_LANGUAGES= # none
USE_TOOLS+= pax

View File

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.70 2020/06/09 00:25:19 taca Exp $
$NetBSD: distinfo,v 1.70.2.2 2020/08/23 18:58:28 bsiegert Exp $
SHA1 (roundcubemail-1.4.6-complete.tar.gz) = 44961ef62bb9c9875141ca34704bbc7d6f36373d
RMD160 (roundcubemail-1.4.6-complete.tar.gz) = 51e323bf7def448b55f57b9279745b5779690ab3
SHA512 (roundcubemail-1.4.6-complete.tar.gz) = e86763ced58cfa8174f71d33ae45cd62f26a58853b9361b800003fa5bf883a4106c957f66b6b17b03172a3ee595ca74d7c19ac38e449a23377defd77cf555742
Size (roundcubemail-1.4.6-complete.tar.gz) = 7031573 bytes
SHA1 (roundcubemail-1.4.8-complete.tar.gz) = 3a6824fd68fef2e0d24f186cfbee5c6f9d6edbe9
RMD160 (roundcubemail-1.4.8-complete.tar.gz) = eacf740aab6fa69fd023bc5f2356b49a81e596d0
SHA512 (roundcubemail-1.4.8-complete.tar.gz) = 8b7734cdec95954b7e18a0e44957da6ef74b5b0c3d28a1449e8634faa230844f5e0c28954245641758f8b2d9102aa32f279765ed3dfa20fa7b00dee4e5347362
Size (roundcubemail-1.4.8-complete.tar.gz) = 7032822 bytes
SHA1 (patch-af) = 7f29b0310a2a6b2e71858787e08b025e30d8bd12
SHA1 (patch-config_config.inc.php.sample) = 92a48a97b16fe3f5f4b9441fce762a559d8daca7
SHA1 (patch-program_lib_Roundcube_rcube__mime.php) = b1e9479d575b7fd61c413e2b76ee36c06ece7a5c

View File

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.4 2019/12/10 13:55:44 nros Exp $
$NetBSD: distinfo,v 1.4.6.1 2020/08/25 18:36:06 bsiegert Exp $
SHA1 (XyGrib-1.1.1/XyGrib-1.2.6.1.tar.gz) = 8e3431ed6a5ef114d77ac57029129a26a381f696
RMD160 (XyGrib-1.1.1/XyGrib-1.2.6.1.tar.gz) = 876e8a53b492b2e2ea0572e5b0cd31a2c04f505a
@ -14,3 +14,4 @@ SHA512 (XyGrib-1.1.1/XyGrib___cities_files.tar.gz) = 6bb9362c87fec7633b0ad1fd3b8
Size (XyGrib-1.1.1/XyGrib___cities_files.tar.gz) = 2487518 bytes
SHA1 (patch-CMakeLists.txt) = f12e4cc04e94919a8ed5824df859b0573612ab02
SHA1 (patch-src_CMakeLists.txt) = 3a06026a033e2dbe93ea9d08c48d87f51186918a
SHA1 (patch-src_SkewT.h) = 71f5d89e04aa4faa8e4812cca82186a834e5786f

View File

@ -0,0 +1,14 @@
$NetBSD: patch-src_SkewT.h,v 1.1.2.2 2020/08/25 18:36:06 bsiegert Exp $
Fix undeclared class QPainterPath
--- src/SkewT.h.orig 2020-08-21 13:09:55.133572321 +0200
+++ src/SkewT.h 2020-08-21 13:10:05.207772962 +0200
@@ -16,6 +16,7 @@
#include <QMainWindow>
#include <QFrame>
#include <QPainter>
+#include <QPainterPath>
#include <QLayout>
#include <QKeyEvent>
#include <QPrintDialog>

View File

@ -1,4 +1,4 @@
# $NetBSD: metadata.mk,v 1.28 2020/06/07 04:41:58 rillig Exp $
# $NetBSD: metadata.mk,v 1.28.2.1 2020/07/09 06:40:07 bsiegert Exp $
######################################################################
### The targets below are all PRIVATE.
@ -399,7 +399,7 @@ ${_DEPENDS_PLIST}: ${PLIST}
${AWK} '$$1 == "bootstrap" || $$1 == "build" { printf "@blddep %s\n", $$3; }' < ${_RDEPENDS_FILE}; \
${CAT} ${PLIST}; } > ${.TARGET}
_PKG_CREATE_ARGS+= -l
_PKG_CREATE_ARGS+= -l -U
_PKG_CREATE_ARGS+= -B ${_BUILD_INFO_FILE}
_PKG_CREATE_ARGS+= -b ${_BUILD_VERSION_FILE}
_PKG_CREATE_ARGS+= -c ${_COMMENT_FILE}

View File

@ -0,0 +1,12 @@
# $NetBSD: hacks.mk,v 1.1.2.2 2020/09/18 18:25:15 bsiegert Exp $
.if !defined(FFMPEG4_HACKS_MK)
FFMPEG4_HACKS_MK= defined
# [Mon Sep 14 12:41:59 CEST 2020 : he]
# On NetBSD/powerpc, enable -mvsx, to get vec_xl in scope.
.if ${MACHINE_ARCH} == "powerpc"
CFLAGS+= -mvsx
.endif
.endif # FFMPEG4_HACKS_MK

View File

@ -1,9 +1,9 @@
# $NetBSD: Makefile.common,v 1.8 2020/02/28 12:16:45 bsiegert Exp $
# $NetBSD: Makefile.common,v 1.8.4.1 2020/08/14 17:05:28 bsiegert Exp $
#
# used by multimedia/mediainfo/Makefile
# used by multimedia/libmediainfo/Makefile
MIVER= 19.09
MIVER= 20.03
DISTNAME= mediainfo_${MIVER}_AllInclusive
CATEGORIES= multimedia

View File

@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.14 2020/02/28 12:16:45 bsiegert Exp $
$NetBSD: distinfo,v 1.14.4.1 2020/08/14 17:05:28 bsiegert Exp $
SHA1 (mediainfo_19.09_AllInclusive.7z) = 8d250b9101a34e19d76f48a1e1e36df820e5e051
RMD160 (mediainfo_19.09_AllInclusive.7z) = 54b517222fbbf34dd0282bdd3e54c4c2d45e8f26
SHA512 (mediainfo_19.09_AllInclusive.7z) = c03a116ec2abf28026ea62a7a5cad773d119549e78452882c8189044bf1f75f462d00adaed5e12c7d309f5e191cc10d6f1b9f0bf7793aaec4737c61855017e6a
Size (mediainfo_19.09_AllInclusive.7z) = 3603490 bytes
SHA1 (mediainfo_20.03_AllInclusive.7z) = e6cbdaa85b9c4b182cd1325506926637b0e158d8
RMD160 (mediainfo_20.03_AllInclusive.7z) = 976c635af03faa44d9a4cca2bc5c143efa44601d
SHA512 (mediainfo_20.03_AllInclusive.7z) = 850f4ee5f8ceb3a91a4466ff73c9f2fb70a1a63f8bdd7ffd8dd40e83b619b71c59e9b8659a8636758c90a62d7024b4e617b17025c72f23a7bcd25a3823d2ee39
Size (mediainfo_20.03_AllInclusive.7z) = 3706487 bytes
SHA1 (patch-MediaInfoLib_Source_MediaInfo_MediaInfo__Config.h) = 19d6cba816c9e282e31fac527cbc39b9303f9f08

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.28 2020/06/18 14:06:21 taca Exp $
# $NetBSD: Makefile,v 1.28.2.1 2020/08/28 15:57:47 bsiegert Exp $
DISTNAME= bind-${BIND_VERSION}
PKGNAME= ${DISTNAME:S/-P/pl/}
@ -14,7 +14,7 @@ CONFLICTS+= host-[0-9]*
MAKE_JOBS_SAFE= no
BIND_VERSION= 9.11.20
BIND_VERSION= 9.11.22
.include "../../mk/bsd.prefs.mk"

View File

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.20 2020/06/18 14:06:21 taca Exp $
$NetBSD: distinfo,v 1.20.2.1 2020/08/28 15:57:47 bsiegert Exp $
SHA1 (bind-9.11.20.tar.gz) = ff6ad0d3f9282a77786e93eb889154008ef1ccdf
RMD160 (bind-9.11.20.tar.gz) = ce7f8bb446d63c1b4dbdccf7e6294b87fdba6101
SHA512 (bind-9.11.20.tar.gz) = 249710a35dfd340abf8d07c526fb9dd05ab3ed186641f33b697f9a59a866965f43d77e6d0c77b3690698eb6d451a15506cedc5da18aff666c9d95a864268dd25
Size (bind-9.11.20.tar.gz) = 8244703 bytes
SHA1 (bind-9.11.22.tar.gz) = 10104100e265bc9e4b8975b3dc6266cd2d40b597
RMD160 (bind-9.11.22.tar.gz) = 142024c9808b981544048676ce57cfbf47170f48
SHA512 (bind-9.11.22.tar.gz) = 8ed2ed661b87705bbb7ddde3076a132b4e53971d669600997abfa104404e0c8b4bf04cc04c6be1c2c701123db5e0d4645ab797e5a985a18f5a1d68824a3df3ed
Size (bind-9.11.22.tar.gz) = 8248081 bytes
SHA1 (patch-bin_named_Makefile.in) = 3e5b98e3e0bdb701be679d3580d6d2d7609d655b
SHA1 (patch-bin_named_server.c) = 0294d74eb3039049c4672a3de6eb371407bb382d
SHA1 (patch-bin_pkcs11_pkcs11-keygen.c) = ca2671a5e3216a08a212cf893e070b01705ef9ee

View File

@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.42 2020/05/22 10:56:25 adam Exp $
# $NetBSD: Makefile,v 1.42.2.1 2020/08/28 16:13:26 bsiegert Exp $
DISTNAME= chrony-3.5
PKGREVISION= 2
DISTNAME= chrony-3.5.1
CATEGORIES= net
MASTER_SITES= http://download.tuxfamily.org/chrony/

View File

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.13 2019/05/17 10:12:27 nia Exp $
$NetBSD: distinfo,v 1.13.10.1 2020/08/28 16:13:26 bsiegert Exp $
SHA1 (chrony-3.5.tar.gz) = 79e9aeace143550300387a99f17bff04b45673f7
RMD160 (chrony-3.5.tar.gz) = 1989fac77dc98557e63a22e46e61cf85fced4a33
SHA512 (chrony-3.5.tar.gz) = c4f6376a44d71b6ac2b6d86e3d6fb4348642faeef7f3f3a4d6431627b5645efcc868b005cc398c8292bc3b63a1161fbd1a042c6ac2a0595843f908fe32eed90c
Size (chrony-3.5.tar.gz) = 458226 bytes
SHA1 (chrony-3.5.1.tar.gz) = 3decde1c1d56e87d89b34cba662266a945453b3a
RMD160 (chrony-3.5.1.tar.gz) = 30e2c1a329f3fe8ef897615def9d95fd6332e2fc
SHA512 (chrony-3.5.1.tar.gz) = 489cf614bfb2c1e024343af1316c339b287ed5c7b6cec15b44ef3d90512036fb1da3fd627d291a193c59d9c5c095afa66c529eeb6fd0c1bbc8256ed8873b7984
Size (chrony-3.5.1.tar.gz) = 459902 bytes
SHA1 (patch-Makefile.in) = 42ebfcdbce472a173890571625efc4fef583d5b6
SHA1 (patch-doc_Makefile.in) = 8e9902690ff431fd47429d53346faf2ac8f1b923
SHA1 (patch-examples_chrony.conf.example3) = 9566820e1db21435580f134cefc0bcb94d619dda

14
net/freeradius/hacks.mk Normal file
View File

@ -0,0 +1,14 @@
# $NetBSD: hacks.mk,v 1.1.2.2 2020/09/18 18:23:39 bsiegert Exp $
.if !defined(FREERADIUS_HACKS_MK)
FREERADIUS_HACKS_MK= defined
# [Mon Sep 7 20:40:36 CEST 2020 : he]
# On NetBSD/powerpc, we don't have native 8-byte atomics,
# but this package insists on using them, so here we need libatomic.
.if ${MACHINE_ARCH} == "powerpc"
PKG_HACKS+= powerpc-libatomic
.include "../../devel/libatomic/buildlink3.mk"
.endif
.endif # FREERADIUS_HACKS_MK

View File

@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.101 2020/05/22 10:55:48 adam Exp $
# $NetBSD: Makefile,v 1.101.2.1 2020/07/29 20:15:59 bsiegert Exp $
DISTNAME= samba-4.12.3
PKGREVISION= 1
DISTNAME= samba-4.12.5
CATEGORIES= net
MASTER_SITES= https://download.samba.org/pub/samba/stable/

View File

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.30 2020/05/19 12:13:51 hauke Exp $
@comment $NetBSD: PLIST,v 1.30.2.1 2020/07/29 20:15:59 bsiegert Exp $
bin/cifsdd
bin/dbwrap_tool
bin/dumpmscat
@ -404,6 +404,7 @@ ${PYSITELIB}/samba/tests/dns_base.py
${PYSITELIB}/samba/tests/dns_forwarder.py
${PYSITELIB}/samba/tests/dns_forwarder_helpers/server.py
${PYSITELIB}/samba/tests/dns_invalid.py
${PYSITELIB}/samba/tests/dns_packet.py
${PYSITELIB}/samba/tests/dns_tkey.py
${PYSITELIB}/samba/tests/dns_wildcard.py
${PYSITELIB}/samba/tests/docs.py

View File

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.48 2020/05/26 13:11:01 jperkin Exp $
$NetBSD: distinfo,v 1.48.2.1 2020/07/29 20:15:59 bsiegert Exp $
SHA1 (samba-4.12.3.tar.gz) = 08109949a70c88010dd4b53d1ae088b7e1a282eb
RMD160 (samba-4.12.3.tar.gz) = 9d4a4d7d1da5367a1f442ba0ff3ea8abde1ba69e
SHA512 (samba-4.12.3.tar.gz) = 5de66c21db0710880b6e0347ae1eff17ff1881eb926e9a0cf5af9ddc27599cf8daa9ca6ea35b2a0a2158226a38cdf7074b28a51e460a139720c78a522b1a5908
Size (samba-4.12.3.tar.gz) = 18203604 bytes
SHA1 (samba-4.12.5.tar.gz) = 67322997b5588b95c8f9d3fb85f9709deea885cd
RMD160 (samba-4.12.5.tar.gz) = 5dd2eff38edbb1c0872222559fc08b7e57c5d3c7
SHA512 (samba-4.12.5.tar.gz) = 45ef618efaca88fb24e2069edff6bf1e3f27f4bedecbc7899a57d0e4760effeaf9b0f546be1aeeee4f811219cf29a49a122ecc5caf8dc923c42ff9a25c162c2b
Size (samba-4.12.5.tar.gz) = 18220369 bytes
SHA1 (patch-buildtools_wafsamba_samba__conftests.py) = d927db17124d2bb5b382885e70a41f84c3929926
SHA1 (patch-buildtools_wafsamba_samba__install.py) = d801340617da325e3bb70a90350e45cc8e383c2d
SHA1 (patch-buildtools_wafsamba_samba__pidl.py) = e4c0ed3dacfcf5613a5b397b3c6cf88509497da7
@ -12,6 +12,7 @@ SHA1 (patch-buildtools_wafsamba_wscript) = 0ca4c3a9d2e07f9165784e495f6f6b2b21db2
SHA1 (patch-dynconfig_wscript) = 1858e5fcca913f21aa3e7868d9760b9c40c9f5c4
SHA1 (patch-lib_param_loadparm.h) = 0216b69d33d1e17260a446e11bee764116c52b18
SHA1 (patch-lib_pthreadpool_pthreadpool.c) = c29490473063d6bdbe5c50780a21bf2869ae959f
SHA1 (patch-lib_replace_system_passwd.h) = 652be067b2560310ce3a4bbf37c24cb2fa8eb82d
SHA1 (patch-lib_replace_wscript) = 2a754e7310850b376d5881b82a8467041284fce9
SHA1 (patch-lib_tdb_common_mutex.c) = 12dbcf870e6ba17ef7f92a8ce7f0b7462f820232
SHA1 (patch-lib_tevent_tevent.c) = 4a20506e2bfbab85bad664299b884575326e73fd

View File

@ -0,0 +1,16 @@
$NetBSD: patch-lib_replace_system_passwd.h,v 1.1.2.2 2020/07/29 20:15:59 bsiegert Exp $
Fix building.
https://bugzilla.samba.org/show_bug.cgi?id=14415
--- lib/replace/system/passwd.h.orig 2020-07-06 10:27:14.000000000 +0000
+++ lib/replace/system/passwd.h
@@ -89,4 +89,8 @@
#define ULTRIX_AUTH 1
#endif
+#ifndef NSS_BUFLEN_PASSWD
+#define NSS_BUFLEN_PASSWD 1024
+#endif
+
#endif

View File

@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.45 2020/05/22 10:56:32 adam Exp $
# $NetBSD: Makefile,v 1.45.2.1 2020/08/03 09:29:18 spz Exp $
PKGNAME= transmission-gtk-${VERSION}
PKGREVISION= 8
COMMENT= Free, lightweight BitTorrent client (GTK version)
INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}${PREFIX}

View File

@ -1,20 +1,16 @@
@comment $NetBSD: PLIST,v 1.1 2013/03/02 19:34:36 wiz Exp $
@comment $NetBSD: PLIST,v 1.1.58.1 2020/08/03 09:29:18 spz Exp $
bin/transmission-gtk
man/man1/transmission-gtk.1
share/appdata/transmission-gtk.appdata.xml
share/applications/transmission-gtk.desktop
share/icons/hicolor/16x16/apps/transmission.png
share/icons/hicolor/22x22/apps/transmission.png
share/icons/hicolor/24x24/apps/transmission.png
share/icons/hicolor/256x256/apps/transmission.png
share/icons/hicolor/32x32/apps/transmission.png
share/icons/hicolor/48x48/apps/transmission.png
share/icons/hicolor/scalable/apps/transmission-devel.svg
share/icons/hicolor/scalable/apps/transmission.svg
share/icons/hicolor/symbolic/apps/transmission-symbolic.svg
share/locale/an/LC_MESSAGES/transmission-gtk.mo
share/locale/ar/LC_MESSAGES/transmission-gtk.mo
share/locale/ast/LC_MESSAGES/transmission-gtk.mo
share/locale/az/LC_MESSAGES/transmission-gtk.mo
share/locale/be/LC_MESSAGES/transmission-gtk.mo
share/locale/be@latin/LC_MESSAGES/transmission-gtk.mo
share/locale/bg/LC_MESSAGES/transmission-gtk.mo
share/locale/bn/LC_MESSAGES/transmission-gtk.mo
share/locale/bo/LC_MESSAGES/transmission-gtk.mo
@ -25,6 +21,7 @@ share/locale/ca@valencia/LC_MESSAGES/transmission-gtk.mo
share/locale/ceb/LC_MESSAGES/transmission-gtk.mo
share/locale/ckb/LC_MESSAGES/transmission-gtk.mo
share/locale/cs/LC_MESSAGES/transmission-gtk.mo
share/locale/cy/LC_MESSAGES/transmission-gtk.mo
share/locale/da/LC_MESSAGES/transmission-gtk.mo
share/locale/de/LC_MESSAGES/transmission-gtk.mo
share/locale/el/LC_MESSAGES/transmission-gtk.mo
@ -40,6 +37,7 @@ share/locale/fi/LC_MESSAGES/transmission-gtk.mo
share/locale/fil/LC_MESSAGES/transmission-gtk.mo
share/locale/fo/LC_MESSAGES/transmission-gtk.mo
share/locale/fr/LC_MESSAGES/transmission-gtk.mo
share/locale/fr_CA/LC_MESSAGES/transmission-gtk.mo
share/locale/ga/LC_MESSAGES/transmission-gtk.mo
share/locale/gl/LC_MESSAGES/transmission-gtk.mo
share/locale/gv/LC_MESSAGES/transmission-gtk.mo
@ -53,6 +51,7 @@ share/locale/id/LC_MESSAGES/transmission-gtk.mo
share/locale/is/LC_MESSAGES/transmission-gtk.mo
share/locale/it/LC_MESSAGES/transmission-gtk.mo
share/locale/ja/LC_MESSAGES/transmission-gtk.mo
share/locale/jbo/LC_MESSAGES/transmission-gtk.mo
share/locale/ka/LC_MESSAGES/transmission-gtk.mo
share/locale/kk/LC_MESSAGES/transmission-gtk.mo
share/locale/ko/LC_MESSAGES/transmission-gtk.mo
@ -85,7 +84,7 @@ share/locale/sq/LC_MESSAGES/transmission-gtk.mo
share/locale/sr/LC_MESSAGES/transmission-gtk.mo
share/locale/sv/LC_MESSAGES/transmission-gtk.mo
share/locale/sw/LC_MESSAGES/transmission-gtk.mo
share/locale/ta_LK/LC_MESSAGES/transmission-gtk.mo
share/locale/ta/LC_MESSAGES/transmission-gtk.mo
share/locale/te/LC_MESSAGES/transmission-gtk.mo
share/locale/th/LC_MESSAGES/transmission-gtk.mo
share/locale/tl/LC_MESSAGES/transmission-gtk.mo
@ -96,5 +95,6 @@ share/locale/ur/LC_MESSAGES/transmission-gtk.mo
share/locale/uz/LC_MESSAGES/transmission-gtk.mo
share/locale/vi/LC_MESSAGES/transmission-gtk.mo
share/locale/zh_CN/LC_MESSAGES/transmission-gtk.mo
share/locale/zh_HK/LC_MESSAGES/transmission-gtk.mo
share/locale/zh_TW/LC_MESSAGES/transmission-gtk.mo
share/pixmaps/transmission.png

View File

@ -1,11 +1,12 @@
# $NetBSD: Makefile,v 1.52 2020/06/02 08:24:35 adam Exp $
# $NetBSD: Makefile,v 1.52.2.1 2020/08/03 09:29:18 spz Exp $
PKGNAME= transmission-qt-${VERSION}
PKGREVISION= 9
COMMENT= Free, lightweight BitTorrent client (QT version)
MAKE_ENV+= QTDIR=${QTDIR}
GCC_REQD+= 7
.include "../../mk/bsd.fast.prefs.mk"
.if !empty(MACHINE_PLATFORM:MNetBSD-[6-9].*-*)

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.26 2020/05/22 10:56:32 adam Exp $
# $NetBSD: Makefile,v 1.26.2.1 2020/08/03 09:29:18 spz Exp $
CONFLICTS+= Transmission-[0-9]*
@ -8,6 +8,5 @@ pre-configure:
CONFIGURE_ARGS+= --disable-mac
CONFIGURE_ARGS+= --without-gtk
PKGREVISION= 6
.include "../../net/transmission/Makefile.common"
.include "../../mk/bsd.pkg.mk"

View File

@ -1,10 +1,10 @@
# $NetBSD: Makefile.common,v 1.9 2019/07/20 23:14:40 wiz Exp $
# $NetBSD: Makefile.common,v 1.9.8.1 2020/08/03 09:29:18 spz Exp $
#
# used by net/transmission/Makefile
# used by net/transmission-gtk/Makefile
# used by net/transmission-qt/Makefile
VERSION= 2.94
VERSION= 3.00
DISTNAME= transmission-${VERSION}
CATEGORIES= net
MASTER_SITES= https://github.com/transmission/transmission-releases/raw/master/
@ -40,8 +40,8 @@ ALL_ENV+= LIBEVENT_CFLAGS=-I${BUILDLINK_PREFIX.libevent}/include
ALL_ENV+= LIBEVENT_LIBS="-L${BUILDLINK_PREFIX.libevent}/lib ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libevent}/lib -levent"
BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0.10
.include "../../devel/libevent/buildlink3.mk"
ALL_ENV+= "OPENSSL_CFLAGS=-I${SSLBASE}/include"
ALL_ENV+= "OPENSSL_LIBS=-L${SSLBASE}/lib -lcrypto -lssl"
ALL_ENV+= OPENSSL_CFLAGS="-I${SSLBASE}/include"
ALL_ENV+= OPENSSL_LIBS="-L${SSLBASE}/lib -lcrypto -lssl"
.include "../../devel/libgetopt/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"

View File

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.3 2016/04/15 09:28:39 wiz Exp $
@comment $NetBSD: PLIST,v 1.3.32.1 2020/08/03 09:29:18 spz Exp $
bin/transmission-create
bin/transmission-daemon
bin/transmission-edit
@ -25,7 +25,9 @@ share/transmission/web/javascript/jquery/jquery.min.js
share/transmission/web/javascript/jquery/jquery.transmenu.min.js
share/transmission/web/javascript/jquery/jquery.ui-contextmenu.min.js
share/transmission/web/javascript/jquery/json2.min.js
share/transmission/web/javascript/main.js
share/transmission/web/javascript/notifications.js
share/transmission/web/javascript/polyfill.js
share/transmission/web/javascript/prefs-dialog.js
share/transmission/web/javascript/remote.js
share/transmission/web/javascript/torrent-row.js

View File

@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.15 2019/07/20 23:14:40 wiz Exp $
$NetBSD: distinfo,v 1.15.8.1 2020/08/03 09:29:18 spz Exp $
SHA1 (transmission-2.94.tar.xz) = 5f1b41090764bb2150eb0440fce671a3825ef265
RMD160 (transmission-2.94.tar.xz) = 92fef8c64ff0ee71002b3f36149947e60e568d10
SHA512 (transmission-2.94.tar.xz) = ee411743940f2897aa0bbc351ce79f11d860075d2e9e399d60301eae8cfc453e20426ef553fc62ee43019a07c052d512f5d7972cc4411fb57b1312c2c1558da7
Size (transmission-2.94.tar.xz) = 3365952 bytes
SHA1 (patch-qt_qtr.pro) = 8789931713d96bd1015c615660ab729008d5bbf4
SHA1 (transmission-3.00.tar.xz) = fd6bd78cfe5a612b422a49e8193d82df2486a3c4
RMD160 (transmission-3.00.tar.xz) = 5286c3e183474cba6ed1c6cfc022f4f5afab4fda
SHA512 (transmission-3.00.tar.xz) = eeaf7fe46797326190008776a7fa641b6341c806b0f1684c2e7326c1284832a320440013e42a37acda9fd0ee5dca695f215d6263c8acb39188c5d9a836104a61
Size (transmission-3.00.tar.xz) = 3329220 bytes
SHA1 (patch-qt_qtr.pro) = e29629fada5bbb34e3b05b47092dba655b9d8265

View File

@ -1,9 +1,9 @@
$NetBSD: patch-qt_qtr.pro,v 1.6 2019/07/20 23:14:40 wiz Exp $
$NetBSD: patch-qt_qtr.pro,v 1.6.8.1 2020/08/03 09:29:18 spz Exp $
1. Fix man page installation path.
2. add openssl cflags/ldflags (still needed?)
--- qt/qtr.pro.orig 2015-12-29 00:47:32.464150631 +0000
--- qt/qtr.pro.orig 2020-05-22 11:04:23.470805450 +0000
+++ qt/qtr.pro
@@ -8,7 +8,8 @@ target.path = /bin
INSTALLS += target
@ -14,8 +14,8 @@ $NetBSD: patch-qt_qtr.pro,v 1.6 2019/07/20 23:14:40 wiz Exp $
+
man.files = transmission-qt.1
CONFIG += qt thread debug link_pkgconfig c++11 warn_on
@@ -28,12 +29,14 @@ include(config.pri)
CONFIG += qt thread link_pkgconfig c++1z warn_on
@@ -29,12 +30,14 @@ include(config.pri)
INCLUDEPATH = $${EVENT_TOP}/include $${INCLUDEPATH}
INCLUDEPATH += $${TRANSMISSION_TOP}

View File

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.210 2020/06/16 00:17:40 leot Exp $
# $NetBSD: Makefile,v 1.210.2.1 2020/07/30 18:48:45 bsiegert Exp $
# XXX: VERSION_DATE can contains also an optional part that indicates
# XXX: possible same day revisions. PKGNAME preserves that dotted part as is.
VERSION_DATE= 2020.06.16.1
VERSION_DATE= 2020.07.28
DISTNAME= youtube-dl-${VERSION_DATE}
PKGNAME= ${DISTNAME:S/.//:S/.//}
CATEGORIES= net

View File

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.192 2020/06/16 00:17:40 leot Exp $
$NetBSD: distinfo,v 1.192.2.1 2020/07/30 18:48:45 bsiegert Exp $
SHA1 (youtube-dl-2020.06.16.1.tar.gz) = 81303e39d3fd04531c93e91af8598bf79d144b27
RMD160 (youtube-dl-2020.06.16.1.tar.gz) = 502361e0770bf79f8afa66ef141551083b767592
SHA512 (youtube-dl-2020.06.16.1.tar.gz) = 2f0c01cd1a52293afd8c4fddc20b6f7baca94903fbe852769ad1d25740bd87e38d42ee4a275c2e3d611c639c432f6245d27f361471c6b566da03677384a04e54
Size (youtube-dl-2020.06.16.1.tar.gz) = 3177873 bytes
SHA1 (youtube-dl-2020.07.28.tar.gz) = 2193c2719fcb84300e3e175a61c7ec194ac1bc01
RMD160 (youtube-dl-2020.07.28.tar.gz) = f045747796d3069e3244dd072857f4d412489b3a
SHA512 (youtube-dl-2020.07.28.tar.gz) = be18cd53577a1e750a9610d481225b5683414ee4a095aa90b1a9ef150e9009bec4c2188f19f13505c88ac0179872751a07f5fb4b591beca3cefd11ccf071132d
Size (youtube-dl-2020.07.28.tar.gz) = 3179686 bytes
SHA1 (patch-setup.py) = a67074ae7cfe5e77847c2f610337ea553eddb69b
SHA1 (patch-youtube__dl_extractor_la7.py) = e246750808305343227060acdc5a38583ef071e9
SHA1 (patch-youtube__dl_extractor_rai.py) = ae67a6fb599c90491fd68b72bf71821659a2eca4

View File

@ -1,6 +1,5 @@
# $NetBSD: Makefile,v 1.68 2020/06/02 08:22:54 adam Exp $
# $NetBSD: Makefile,v 1.68.2.1 2020/08/14 18:23:48 bsiegert Exp $
PKGREVISION= 3
.include "Makefile.common"
COMMENT= Anti-virus toolkit

View File

@ -1,9 +1,9 @@
# $NetBSD: Makefile.common,v 1.16 2020/05/13 14:58:58 taca Exp $
# $NetBSD: Makefile.common,v 1.16.2.1 2020/08/14 18:23:48 bsiegert Exp $
#
# used by security/clamav/Makefile
# used by security/clamav-doc/Makefile
DISTNAME= clamav-0.102.3
DISTNAME= clamav-0.102.4
CATEGORIES= security
MASTER_SITES= http://www.clamav.net/downloads/production/

View File

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.33 2020/05/13 14:58:58 taca Exp $
$NetBSD: distinfo,v 1.33.2.1 2020/08/14 18:23:48 bsiegert Exp $
SHA1 (clamav-0.102.3.tar.gz) = c6397a35f4ae77a3aa3241551120da45662d1f39
RMD160 (clamav-0.102.3.tar.gz) = 85d1f1f607edfc9b8deeb68aaba39f0875b31863
SHA512 (clamav-0.102.3.tar.gz) = d239718814b303fb0f1655d9bdaf3675d888eea57e786d927eafabb7b6f58cd7f5fb7dc149511c2af6f800dcc919f2e1d6954110d45b9e16619c632e8d2b37f2
Size (clamav-0.102.3.tar.gz) = 13226108 bytes
SHA1 (clamav-0.102.4.tar.gz) = ea0f6faeedb0248c684cceb87f7ff3a8bd4b610d
RMD160 (clamav-0.102.4.tar.gz) = 1339babd0bbad4b00dab9e05cf94e27080417c63
SHA512 (clamav-0.102.4.tar.gz) = 29893deb8d2d913dff72331875d3dc3a10356bfb254ddfe1c1933b3ea4f8b76c96a1b840f95e72be36cbc0e00b9ec35e395225ef264761f53e709bb1026a4f09
Size (clamav-0.102.4.tar.gz) = 13234444 bytes
SHA1 (patch-Makefile.in) = a11766ea353d81fb281a07c8120e8a1f5c8dc60f
SHA1 (patch-aa) = 8539a90ac5591c86f7e9f6b8c073f36523f221a5
SHA1 (patch-ab) = 78793f0267ce8c820b51937186dc17dabb4a1ccf

View File

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.2 2020/06/06 20:56:31 wiz Exp $
# $NetBSD: Makefile,v 1.2.2.1 2020/08/28 19:07:14 bsiegert Exp $
VERSION= 2020.5.20
VERSION= 2020.8.13
DISTNAME= https-everywhere-${VERSION}-eff
PKGNAME= tor-browser-${DISTNAME:S/-eff//}
CATEGORIES= security www

View File

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.2 2020/06/06 20:56:31 wiz Exp $
$NetBSD: distinfo,v 1.2.2.1 2020/08/28 19:07:14 bsiegert Exp $
SHA1 (https-everywhere-2020.5.20-eff.xpi) = 13c6f2304a23b978732d044988bc02d818d36656
RMD160 (https-everywhere-2020.5.20-eff.xpi) = 2b1d3d51ad60a4464dc11cc4b5dd6f64c9fbcb9c
SHA512 (https-everywhere-2020.5.20-eff.xpi) = 1c7481b9e3c0c7e74725f6e88bce6e48bcef946c2371e74b90084cac081b1ee4c784be6bae3f8287b9bb50e16a486d02782ba0f3762d8a941ba72e6b4b1b75b7
Size (https-everywhere-2020.5.20-eff.xpi) = 1761982 bytes
SHA1 (https-everywhere-2020.8.13-eff.xpi) = d44d992b2dab30faa34285d7c0ced5ed0015de9a
RMD160 (https-everywhere-2020.8.13-eff.xpi) = 58a4f36760fda2046feb274b1e13c9fb7a7c6ce9
SHA512 (https-everywhere-2020.8.13-eff.xpi) = 7fe39727dee22801e5533b8a3e3c6d135ab8262313f8eba91a0bbd51131e97cd4bf9aa740afc579d4c6f03d1cea58b4f61cdd17bd391c353dd0a89f224f13f83
Size (https-everywhere-2020.8.13-eff.xpi) = 1766618 bytes

View File

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.2 2020/06/06 20:55:14 wiz Exp $
# $NetBSD: Makefile,v 1.2.2.3 2020/08/28 19:07:20 bsiegert Exp $
VERSION= 11.0.30
VERSION= 11.0.41
DISTNAME= noscript-${VERSION}
PKGNAME= tor-browser-${DISTNAME}
CATEGORIES= security www

View File

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.2 2020/06/06 20:55:14 wiz Exp $
$NetBSD: distinfo,v 1.2.2.3 2020/08/28 19:07:20 bsiegert Exp $
SHA1 (noscript-11.0.30.xpi) = 9c854ab4a1fc3835721c4b5c06d58871ccd37405
RMD160 (noscript-11.0.30.xpi) = ec0a9af22ccba82cc130089d815100e8cc3f288e
SHA512 (noscript-11.0.30.xpi) = 9d3a860a1ebd0153e153cc85d31419902f80139c1c8e6079cdfc5218c8663fae4fcbacc431c9a683f6d82a56df89483d84d9f6589956177ace59b6429e614b7a
Size (noscript-11.0.30.xpi) = 585901 bytes
SHA1 (noscript-11.0.41.xpi) = 8ef865cb7c67b0529be8812456410e5bbe8ba39f
RMD160 (noscript-11.0.41.xpi) = b6052099a375ae3feca989977ecfb5af9b14f77c
SHA512 (noscript-11.0.41.xpi) = d28dfe02881d6e2bfcc89dc6e1cfe76e2d8167c0dcfed0a2cf556810522b84d052ca02bd21f73f572d923582e583f243f87895cf724af74407a217b17aef62f2
Size (noscript-11.0.41.xpi) = 594369 bytes

View File

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.68 2020/06/18 12:56:40 wiz Exp $
# $NetBSD: Makefile,v 1.68.2.3 2020/08/28 19:05:42 bsiegert Exp $
DISTNAME= src-firefox-tor-browser-68.9.0esr-9.5-1-build2
PKGNAME= tor-browser-9.5
PKGREVISION= 2
DISTNAME= src-firefox-tor-browser-68.12.0esr-9.5-1-build1
PKGNAME= tor-browser-9.5.4
CATEGORIES= security www
MASTER_SITES= https://dist.torproject.org/torbrowser/${PKGVERSION_NOREV}/
EXTRACT_SUFX= .tar.xz
@ -18,16 +17,19 @@ LICENSE= mpl-1.1
WRKSRC= ${WRKDIR}/${DISTNAME:S/src-//}
DEPENDS+= tor-[0-9]*:../../net/tor
DEPENDS+= tor-browser-https-everywhere-[0-9]*:../../security/tor-browser-https-everywhere
DEPENDS+= tor-browser-noscript-[0-9]*:../../security/tor-browser-noscript
DEPENDS+= tor-browser-https-everywhere>=2020.5.20:../../security/tor-browser-https-everywhere
DEPENDS+= tor-browser-noscript>=11.0.32:../../security/tor-browser-noscript
# How to update this package:
#
# replace all patches with the one from the correspoding www/firefox${ESR_RELEASE}
# BUT keep patch-xpcom_io_TorFileUtils.cpp
# AND keep patch-browser_app_profile_000-tor-browser.js
# AND the second chunk of patch-toolkit_moz.configure
# (AND if necessary patch-.mozconfig)
# compare e.g. the output of
# diff -r -I NetBSD . ../../www/firefox68
# BUT keep:
# patch-.mozconfig (if still necessary)
# patch-browser_app_profile_000-tor-browser.js
# patch-toolkit_moz.configure (second chunk)
# patch-xpcom_io_TorFileUtils.cpp
# make the patches apply
#
# when packaged up, read MESSAGE and test by visiting https://check.torproject.org
@ -126,5 +128,4 @@ post-install:
${DESTDIR}${PREFIX}/lib/tor-browser/browser/fonts
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -1,20 +1,29 @@
$NetBSD: distinfo,v 1.23 2020/06/18 12:56:40 wiz Exp $
$NetBSD: distinfo,v 1.23.2.3 2020/08/28 19:05:42 bsiegert Exp $
SHA1 (src-firefox-tor-browser-68.9.0esr-9.5-1-build2.tar.xz) = 27b3e18e92341557b9c8b18afd114d458dd2e403
RMD160 (src-firefox-tor-browser-68.9.0esr-9.5-1-build2.tar.xz) = db61ef7788f1b6c4111e7a4c6df56c7bd51e6777
SHA512 (src-firefox-tor-browser-68.9.0esr-9.5-1-build2.tar.xz) = 5a8db89e2bd60980bd00d779c23433014b2d4e29bd55cc81ec83115fb62d79246e73b36cee765b285cadd9306b57f737264549936431898e78717be01200a435
Size (src-firefox-tor-browser-68.9.0esr-9.5-1-build2.tar.xz) = 348699028 bytes
SHA1 (tor-browser-linux64-9.5_en-US.tar.xz) = 3f84ce557b01fe22157f52d7387f979ee2824da6
RMD160 (tor-browser-linux64-9.5_en-US.tar.xz) = df45b10a19916d79f65d99f87505d0ecce55a8fe
SHA512 (tor-browser-linux64-9.5_en-US.tar.xz) = 7534711c12192e937c3a71ea5d3f1d3786d0cb5da6c3f9f8db5c5950c9c342a60fbcc9c4bded2fcea1e5342de3c09b41641154c4fa757734afa21c81f223b5b2
Size (tor-browser-linux64-9.5_en-US.tar.xz) = 79022648 bytes
SHA1 (src-firefox-tor-browser-68.12.0esr-9.5-1-build1.tar.xz) = 2d6081a8ad82e3095970f1d1a41f130024454e3d
RMD160 (src-firefox-tor-browser-68.12.0esr-9.5-1-build1.tar.xz) = 7c262331bfc168604d03f8f59ef7f349055f4f5b
SHA512 (src-firefox-tor-browser-68.12.0esr-9.5-1-build1.tar.xz) = 4674308ff40a65859c892a9a4e01e1506daded409e761c4ddb24d4f98ec73b63c86d2d051b05b1b8655dd5df894a59117752ee2e9a0c3e643577a3576c62aab3
Size (src-firefox-tor-browser-68.12.0esr-9.5-1-build1.tar.xz) = 348639116 bytes
SHA1 (tor-browser-linux64-9.5.4_en-US.tar.xz) = 8f4665912642c86e1161b788a7398478952107d8
RMD160 (tor-browser-linux64-9.5.4_en-US.tar.xz) = 53025eff780989ece3f7089d272c1b6623519e6b
SHA512 (tor-browser-linux64-9.5.4_en-US.tar.xz) = 2b69874c476e78c88eeae795cf530ed67b4319535dfbe092bb1e5cb83b9f1a021ea568ed1efeb61b0b5475d90495b3fd3005c51ec2d75d46c893b225e236dd66
Size (tor-browser-linux64-9.5.4_en-US.tar.xz) = 79033640 bytes
SHA1 (patch-.mozconfig) = 66fbb2f113091eee1f022cd656231f845b04b0f8
SHA1 (patch-aa) = 9f7200c411cd2217a80ec10a276c8877bc6b845c
SHA1 (patch-browser_app_profile_000-tor-browser.js) = 84a0a15605fff0e22f3150bce901a296fc920280
SHA1 (patch-browser_app_profile_firefox.js) = cf93582b68b8d4e72c3c25682ab9138e185418c8
SHA1 (patch-build_moz.configure_rust.configure) = b57a9b1451dc426d75774f73d7c05fc98fe6e317
SHA1 (patch-config_gcc-stl-wrapper.template.h) = 11b45e0c7a9399c5b74b170648280a388dd67d89
SHA1 (patch-config_makefiles_rust.mk) = 41f88d91b3ebcc55085b3e6c37f9ec2995fc9c7b
SHA1 (patch-dom_base_nsAttrName.h) = ac7ba441a3b27df2855cf2673eea36b1cb44ad49
SHA1 (patch-dom_media_CubebUtils.cpp) = 3cd2c65ab281d802c56216565970450767a3fb24
SHA1 (patch-dom_webauthn_u2f-hid-rs_src_lib.rs) = c0dfe8b1e7ebbc7c1d6066c204030f13b063b8d7
SHA1 (patch-dom_webauthn_u2f-hid-rs_src_netbsd_device.rs) = 091ffab5bd6a15425acb2ab023cc26f6b23324c6
SHA1 (patch-dom_webauthn_u2f-hid-rs_src_netbsd_fd.rs) = 57f5c3c879b07375234e5cb0cbe0469b15105a6a
SHA1 (patch-dom_webauthn_u2f-hid-rs_src_netbsd_mod.rs) = 7160fc9fe6d197b42104856b997337f823d2a791
SHA1 (patch-dom_webauthn_u2f-hid-rs_src_netbsd_monitor.rs) = 527722bd4fbf0aca07d710e0a8b73f95b2adad40
SHA1 (patch-dom_webauthn_u2f-hid-rs_src_netbsd_transaction.rs) = aeafe7c1df614bb5e46cb7fb1cb351001f292caf
SHA1 (patch-dom_webauthn_u2f-hid-rs_src_netbsd_uhid.rs) = c1d2157350803fb3eaef6f7a00e7c81dd9cf708b
SHA1 (patch-gfx_angle_checkout_src_common_third__party_smhasher_src_PMurHash.cpp) = e458c9c8dc66edc69c1874734af28a77fc5e3993
SHA1 (patch-gfx_angle_checkout_src_compiler_translator_InfoSink.h) = 2f73c76c48852613e0c55c1680fcc2a9eb3cf4ef
SHA1 (patch-gfx_gl_GLContextProviderGLX.cpp) = 2c909a10a341e600392417240ad0c556f495d6ba

View File

@ -1,9 +1,9 @@
# $NetBSD: options.mk,v 1.6 2020/06/07 13:06:00 wiz Exp $
# $NetBSD: options.mk,v 1.6.2.1 2020/08/28 19:05:42 bsiegert Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.tor-browser
PKG_SUPPORTED_OPTIONS+= alsa debug debug-info mozilla-jemalloc pulseaudio
PKG_SUPPORTED_OPTIONS+= alsa dbus debug debug-info mozilla-jemalloc pulseaudio
PKG_SUGGESTED_OPTIONS.Linux+= alsa mozilla-jemalloc
PKG_SUGGESTED_OPTIONS.Linux+= alsa dbus mozilla-jemalloc
.include "../../mk/bsd.fast.prefs.mk"
@ -20,6 +20,13 @@ CONFIGURE_ARGS+= --enable-alsa
CONFIGURE_ARGS+= --disable-alsa
.endif
.if !empty(PKG_OPTIONS:Mdbus)
CONFIGURE_ARGS+= --enable-dbus
.include "../../sysutils/dbus-glib/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-dbus
.endif
.if !empty(PKG_OPTIONS:Mmozilla-jemalloc)
CONFIGURE_ARGS+= --enable-jemalloc
.else

View File

@ -0,0 +1,29 @@
$NetBSD: patch-config_gcc-stl-wrapper.template.h,v 1.1.2.2 2020/07/09 06:27:47 bsiegert Exp $
--- config/gcc-stl-wrapper.template.h.orig 2020-03-05 20:56:39.000000000 +0000
+++ config/gcc-stl-wrapper.template.h
@@ -28,14 +28,14 @@
#endif
// Don't include mozalloc for cstdlib. See bug 1245076.
-#ifndef moz_dont_include_mozalloc_for_cstdlib
-# define moz_dont_include_mozalloc_for_cstdlib
+#ifndef moz_dont_include_mozalloc_for_${HEADER}
+# define moz_dont_include_mozalloc_for_${HEADER}
#endif
// Include mozalloc after the STL header and all other headers it includes
// have been preprocessed.
#if !defined(MOZ_INCLUDE_MOZALLOC_H) && \
- !defined(moz_dont_include_mozalloc_for_${HEADER})
+ !defined(moz_dont_include_mozalloc_for_cstdlib)
# define MOZ_INCLUDE_MOZALLOC_H
# define MOZ_INCLUDE_MOZALLOC_H_FROM_${HEADER}
#endif
@@ -64,4 +64,6 @@
# include "mozilla/throw_gcc.h"
#endif
+#undef moz_dont_include_mzalloc_for_${HEADER}
+
#endif // if mozilla_${HEADER}_h

View File

@ -0,0 +1,17 @@
$NetBSD: patch-config_makefiles_rust.mk,v 1.2.2.2 2020/08/28 19:05:42 bsiegert Exp $
NetBSD<10 doesn't get along with parallel rust builds (it causes issues
with ld.so) which are the default. Force -j1.
--- config/makefiles/rust.mk.orig 2020-08-18 09:41:09.000000000 +0000
+++ config/makefiles/rust.mk
@@ -59,6 +59,9 @@ endif
ifdef CARGO_INCREMENTAL
export CARGO_INCREMENTAL
endif
+ifeq ($(OS_ARCH),NetBSD)
+cargo_build_flags += -j1
+endif
rustflags_neon =
ifeq (neon,$(MOZ_FPU))

View File

@ -0,0 +1,34 @@
$NetBSD: patch-dom_webauthn_u2f-hid-rs_src_lib.rs,v 1.1.2.2 2020/08/28 19:05:42 bsiegert Exp $
Add NetBSD support for U2F.
--- dom/webauthn/u2f-hid-rs/src/lib.rs.orig 2020-06-22 22:55:03.000000000 +0000
+++ dom/webauthn/u2f-hid-rs/src/lib.rs
@@ -5,7 +5,7 @@
#[macro_use]
mod util;
-#[cfg(any(target_os = "linux", target_os = "freebsd"))]
+#[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "netbsd"))]
pub mod hidproto;
#[cfg(any(target_os = "linux"))]
@@ -22,6 +22,10 @@ extern crate devd_rs;
#[path = "freebsd/mod.rs"]
pub mod platform;
+#[cfg(any(target_os = "netbsd"))]
+#[path = "netbsd/mod.rs"]
+pub mod platform;
+
#[cfg(any(target_os = "macos"))]
extern crate core_foundation;
@@ -36,6 +40,7 @@ pub mod platform;
#[cfg(not(any(
target_os = "linux",
target_os = "freebsd",
+ target_os = "netbsd",
target_os = "macos",
target_os = "windows"
)))]

View File

@ -0,0 +1,141 @@
$NetBSD: patch-dom_webauthn_u2f-hid-rs_src_netbsd_device.rs,v 1.1.2.2 2020/08/28 19:05:42 bsiegert Exp $
Add NetBSD support for U2F.
--- dom/webauthn/u2f-hid-rs/src/netbsd/device.rs.orig 2020-07-15 16:19:08.142403669 +0000
+++ dom/webauthn/u2f-hid-rs/src/netbsd/device.rs
@@ -0,0 +1,134 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+extern crate libc;
+
+use std::mem;
+use std::io::Read;
+use std::io::Write;
+use std::io;
+
+use consts::CID_BROADCAST;
+use consts::HID_RPT_SIZE;
+use platform::fd::Fd;
+use platform::uhid;
+use u2ftypes::U2FDevice;
+use util::io_err;
+
+#[derive(Debug)]
+pub struct Device {
+ fd: Fd,
+ cid: [u8; 4],
+}
+
+impl Device {
+ pub fn new(fd: Fd) -> io::Result<Self> {
+ Ok(Self { fd, cid: CID_BROADCAST })
+ }
+
+ pub fn is_u2f(&mut self) -> bool {
+ if !uhid::is_u2f_device(&self.fd) {
+ return false;
+ }
+ // This step is not strictly necessary -- NetBSD puts fido
+ // devices into raw mode automatically by default, but in
+ // principle that might change, and this serves as a test to
+ // verify that we're running on a kernel with support for raw
+ // mode at all so we don't get confused issuing writes that try
+ // to set the report descriptor rather than transfer data on
+ // the output interrupt pipe as we need.
+ match uhid::hid_set_raw(&self.fd, true) {
+ Ok(_) => (),
+ Err(_) => return false,
+ }
+ if let Err(_) = self.ping() {
+ return false;
+ }
+ true
+ }
+
+ fn ping(&mut self) -> io::Result<()> {
+ for i in 0..10 {
+ let mut buf = vec![0u8; 1 + HID_RPT_SIZE];
+
+ buf[0] = 0; // report number
+ buf[1] = 0xff; // CID_BROADCAST
+ buf[2] = 0xff;
+ buf[3] = 0xff;
+ buf[4] = 0xff;
+ buf[5] = 0x81; // ping
+ buf[6] = 0;
+ buf[7] = 1; // one byte
+
+ self.write(&buf[..])?;
+
+ // Wait for response
+ let mut pfd: libc::pollfd = unsafe { mem::zeroed() };
+ pfd.fd = self.fd.fileno;
+ pfd.events = libc::POLLIN;
+ let nfds = unsafe { libc::poll(&mut pfd, 1, 100) };
+ if nfds == -1 {
+ return Err(io::Error::last_os_error());
+ }
+ if nfds == 0 {
+ debug!("device timeout {}", i);
+ continue;
+ }
+
+ // Read response
+ self.read(&mut buf[..])?;
+
+ return Ok(());
+ }
+
+ Err(io_err("no response from device"))
+ }
+}
+
+impl PartialEq for Device {
+ fn eq(&self, other: &Device) -> bool {
+ self.fd == other.fd
+ }
+}
+
+impl Read for Device {
+ fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
+ let bufp = buf.as_mut_ptr() as *mut libc::c_void;
+ let nread = unsafe { libc::read(self.fd.fileno, bufp, buf.len()) };
+ if nread == -1 {
+ return Err(io::Error::last_os_error());
+ }
+ Ok(nread as usize)
+ }
+}
+
+impl Write for Device {
+ fn write(&mut self, buf: &[u8]) -> io::Result<usize> {
+ // Always skip the first byte (report number)
+ let data = &buf[1..];
+ let data_ptr = data.as_ptr() as *const libc::c_void;
+ let nwrit = unsafe {
+ libc::write(self.fd.fileno, data_ptr, data.len())
+ };
+ if nwrit == -1 {
+ return Err(io::Error::last_os_error());
+ }
+ // Pretend we wrote the report number byte
+ Ok(nwrit as usize + 1)
+ }
+
+ fn flush(&mut self) -> io::Result<()> {
+ Ok(())
+ }
+}
+
+impl U2FDevice for Device {
+ fn get_cid<'a>(&'a self) -> &'a [u8; 4] {
+ &self.cid
+ }
+
+ fn set_cid(&mut self, cid: [u8; 4]) {
+ self.cid = cid;
+ }
+}

View File

@ -0,0 +1,54 @@
$NetBSD: patch-dom_webauthn_u2f-hid-rs_src_netbsd_fd.rs,v 1.1.2.2 2020/08/28 19:05:42 bsiegert Exp $
Add NetBSD support for U2F.
--- dom/webauthn/u2f-hid-rs/src/netbsd/fd.rs.orig 2020-07-15 16:19:08.142740434 +0000
+++ dom/webauthn/u2f-hid-rs/src/netbsd/fd.rs
@@ -0,0 +1,47 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+extern crate libc;
+
+use std::ffi::CString;
+use std::io;
+use std::mem;
+use std::os::raw::c_int;
+use std::os::unix::io::RawFd;
+
+#[derive(Debug)]
+pub struct Fd {
+ pub fileno: RawFd,
+}
+
+impl Fd {
+ pub fn open(path: &str, flags: c_int) -> io::Result<Fd> {
+ let cpath = CString::new(path.as_bytes())?;
+ let rv = unsafe { libc::open(cpath.as_ptr(), flags) };
+ if rv == -1 {
+ return Err(io::Error::last_os_error());
+ }
+ Ok(Fd { fileno: rv })
+ }
+}
+
+impl Drop for Fd {
+ fn drop(&mut self) {
+ unsafe { libc::close(self.fileno) };
+ }
+}
+
+impl PartialEq for Fd {
+ fn eq(&self, other: &Fd) -> bool {
+ let mut st: libc::stat = unsafe { mem::zeroed() };
+ let mut sto: libc::stat = unsafe { mem::zeroed() };
+ if unsafe { libc::fstat(self.fileno, &mut st) } == -1 {
+ return false;
+ }
+ if unsafe { libc::fstat(other.fileno, &mut sto) } == -1 {
+ return false;
+ }
+ (st.st_dev == sto.st_dev) & (st.st_ino == sto.st_ino)
+ }
+}

View File

@ -0,0 +1,17 @@
$NetBSD: patch-dom_webauthn_u2f-hid-rs_src_netbsd_mod.rs,v 1.1.2.2 2020/08/28 19:05:42 bsiegert Exp $
Add NetBSD support for U2F.
--- dom/webauthn/u2f-hid-rs/src/netbsd/mod.rs.orig 2020-07-15 16:19:08.143016295 +0000
+++ dom/webauthn/u2f-hid-rs/src/netbsd/mod.rs
@@ -0,0 +1,10 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+pub mod device;
+pub mod transaction;
+
+mod fd;
+mod monitor;
+mod uhid;

View File

@ -0,0 +1,96 @@
$NetBSD: patch-dom_webauthn_u2f-hid-rs_src_netbsd_monitor.rs,v 1.1.2.2 2020/08/28 19:05:42 bsiegert Exp $
Add NetBSD support for U2F.
--- dom/webauthn/u2f-hid-rs/src/netbsd/monitor.rs.orig 2020-07-15 16:19:08.143281894 +0000
+++ dom/webauthn/u2f-hid-rs/src/netbsd/monitor.rs
@@ -0,0 +1,89 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+use std::collections::HashMap;
+use std::ffi::OsString;
+use std::io;
+use std::sync::Arc;
+use std::thread;
+use std::time::Duration;
+
+use runloop::RunLoop;
+
+use platform::fd::Fd;
+
+// XXX Should use drvctl, but it doesn't do pubsub properly yet so
+// DRVGETEVENT requires write access to /dev/drvctl. Instead, for now,
+// just poll every 500ms.
+const POLL_TIMEOUT: u64 = 500;
+
+pub struct Monitor<F>
+where
+ F: Fn(Fd, &dyn Fn() -> bool) + Send + Sync + 'static,
+{
+ runloops: HashMap<OsString, RunLoop>,
+ new_device_cb: Arc<F>,
+}
+
+impl<F> Monitor<F>
+where
+ F: Fn(Fd, &dyn Fn() -> bool) + Send + Sync + 'static,
+{
+ pub fn new(new_device_cb: F) -> Self {
+ Self {
+ runloops: HashMap::new(),
+ new_device_cb: Arc::new(new_device_cb),
+ }
+ }
+
+ pub fn run(&mut self, alive: &dyn Fn() -> bool) -> io::Result<()> {
+ while alive() {
+ for n in 0..100 {
+ let uhidpath = format!("/dev/uhid{}", n);
+ match Fd::open(&uhidpath, libc::O_RDWR | libc::O_CLOEXEC) {
+ Ok(uhid) => {
+ self.add_device(uhid, OsString::from(&uhidpath));
+ },
+ Err(ref err) => {
+ match err.raw_os_error() {
+ Some(libc::EBUSY) => continue,
+ Some(libc::ENOENT) => break,
+ _ => self.remove_device(OsString::from(&uhidpath)),
+ }
+ },
+ }
+ }
+ thread::sleep(Duration::from_millis(POLL_TIMEOUT));
+ }
+ self.remove_all_devices();
+ Ok(())
+ }
+
+ fn add_device(&mut self, fd: Fd, path: OsString) {
+ let f = self.new_device_cb.clone();
+
+ let runloop = RunLoop::new(move |alive| {
+ if alive() {
+ f(fd, alive);
+ }
+ });
+
+ if let Ok(runloop) = runloop {
+ self.runloops.insert(path.clone(), runloop);
+ }
+ }
+
+ fn remove_device(&mut self, path: OsString) {
+ if let Some(runloop) = self.runloops.remove(&path) {
+ runloop.cancel();
+ }
+ }
+
+ fn remove_all_devices(&mut self) {
+ while !self.runloops.is_empty() {
+ let path = self.runloops.keys().next().unwrap().clone();
+ self.remove_device(path);
+ }
+ }
+}

View File

@ -0,0 +1,57 @@
$NetBSD: patch-dom_webauthn_u2f-hid-rs_src_netbsd_transaction.rs,v 1.1.2.2 2020/08/28 19:05:42 bsiegert Exp $
Add NetBSD support for U2F.
--- dom/webauthn/u2f-hid-rs/src/netbsd/transaction.rs.orig 2020-07-15 16:19:08.143583561 +0000
+++ dom/webauthn/u2f-hid-rs/src/netbsd/transaction.rs
@@ -0,0 +1,50 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+use runloop::RunLoop;
+use util::OnceCallback;
+
+use platform::fd::Fd;
+use platform::monitor::Monitor;
+
+pub struct Transaction {
+ // Handle to the thread loop.
+ thread: Option<RunLoop>,
+}
+
+impl Transaction {
+ pub fn new<F, T>(
+ timeout: u64,
+ callback: OnceCallback<T>,
+ new_device_cb: F,
+ ) -> Result<Self, ::Error>
+ where
+ F: Fn(Fd, &dyn Fn() -> bool) + Sync + Send + 'static,
+ T: 'static,
+ {
+ let thread = RunLoop::new_with_timeout(
+ move |alive| {
+ // Create a new device monitor.
+ let mut monitor = Monitor::new(new_device_cb);
+
+ // Start polling for new devices.
+ try_or!(monitor.run(alive), |_| callback.call(Err(::Error::Unknown)));
+
+ // Send an error, if the callback wasn't called already.
+ callback.call(Err(::Error::NotAllowed));
+ },
+ timeout,
+ )
+ .map_err(|_| ::Error::Unknown)?;
+
+ Ok(Self {
+ thread: Some(thread),
+ })
+ }
+
+ pub fn cancel(&mut self) {
+ // This must never be None.
+ self.thread.take().unwrap().cancel();
+ }
+}

View File

@ -0,0 +1,86 @@
$NetBSD: patch-dom_webauthn_u2f-hid-rs_src_netbsd_uhid.rs,v 1.1.2.2 2020/08/28 19:05:42 bsiegert Exp $
Add NetBSD support for U2F.
--- dom/webauthn/u2f-hid-rs/src/netbsd/uhid.rs.orig 2020-07-15 16:19:08.143860020 +0000
+++ dom/webauthn/u2f-hid-rs/src/netbsd/uhid.rs
@@ -0,0 +1,79 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+extern crate libc;
+
+use std::io;
+use std::mem;
+use std::os::raw::c_int;
+use std::os::raw::c_uchar;
+
+use hidproto::ReportDescriptor;
+use hidproto::has_fido_usage;
+use platform::fd::Fd;
+use util::io_err;
+
+/* sys/ioccom.h */
+
+const IOCPARM_MASK: u32 = 0x1fff;
+const IOCPARM_SHIFT: u32 = 16;
+const IOCGROUP_SHIFT: u32 = 8;
+
+//const IOC_VOID: u32 = 0x20000000;
+const IOC_OUT: u32 = 0x40000000;
+const IOC_IN: u32 = 0x80000000;
+//const IOC_INOUT: u32 = IOC_IN|IOC_OUT;
+
+macro_rules! ioctl {
+ ($dir:expr, $name:ident, $group:expr, $nr:expr, $ty:ty) => {
+ unsafe fn $name(fd: libc::c_int, val: *mut $ty)
+ -> io::Result<libc::c_int> {
+ let ioc = ($dir as u32)
+ | ((mem::size_of::<$ty>() as u32 & IOCPARM_MASK)
+ << IOCPARM_SHIFT)
+ | (($group as u32) << IOCGROUP_SHIFT)
+ | ($nr as u32);
+ let rv = libc::ioctl(fd, ioc as libc::c_ulong, val);
+ if rv == -1 {
+ return Err(io::Error::last_os_error());
+ }
+ Ok(rv)
+ }
+ };
+}
+
+#[allow(non_camel_case_types)]
+#[repr(C)]
+struct usb_ctl_report_desc {
+ ucrd_size: c_int,
+ ucrd_data: [c_uchar; 1024],
+}
+
+ioctl!(IOC_OUT, usb_get_report_desc, b'U', 21, usb_ctl_report_desc);
+
+fn read_report_descriptor(fd: &Fd) -> io::Result<ReportDescriptor> {
+ let mut desc = unsafe { mem::zeroed() };
+ unsafe { usb_get_report_desc(fd.fileno, &mut desc) }?;
+ if desc.ucrd_size < 0 {
+ return Err(io_err("negative report descriptor size"));
+ }
+ let size = desc.ucrd_size as usize;
+ let value = Vec::from(&desc.ucrd_data[..size]);
+ Ok(ReportDescriptor { value })
+}
+
+pub fn is_u2f_device(fd: &Fd) -> bool {
+ match read_report_descriptor(fd) {
+ Ok(desc) => has_fido_usage(desc),
+ Err(_) => false,
+ }
+}
+
+ioctl!(IOC_IN, usb_hid_set_raw_ioctl, b'h', 2, c_int);
+
+pub fn hid_set_raw(fd: &Fd, raw: bool) -> io::Result<()> {
+ let mut raw_int: c_int = if raw { 1 } else { 0 };
+ unsafe { usb_hid_set_raw_ioctl(fd.fileno, &mut raw_int) }?;
+ Ok(())
+}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.25 2020/06/14 22:52:10 js Exp $
# $NetBSD: Makefile,v 1.25.2.1 2020/07/09 06:47:08 bsiegert Exp $
DISTNAME= fish-3.1.2
PKGREVISION= 1
@ -47,6 +47,9 @@ post-extract:
.include "../../devel/pcre2/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/gettext-tools/buildlink3.mk"
.if !empty(PKGSRC_COMPILER:M*gcc*)
. include "../../devel/libatomic/buildlink3.mk"
.endif
.include "../../lang/python/application.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.13 2020/04/15 15:37:19 bouyer Exp $
# $NetBSD: Makefile,v 1.13.2.1 2020/08/28 15:37:49 bsiegert Exp $
VERSION= 4.11.3
PKGREVISION= 2
PKGREVISION= 3
DISTNAME= xen-${VERSION}
PKGNAME= xenkernel411-${VERSION}
CATEGORIES= sysutils

View File

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.11 2020/04/15 15:45:04 bouyer Exp $
$NetBSD: distinfo,v 1.11.2.1 2020/08/28 15:37:49 bsiegert Exp $
SHA1 (xen411/xen-4.11.3.tar.gz) = 2d77152168d6f9dcea50db9cb8e3e6a0720a4a1b
RMD160 (xen411/xen-4.11.3.tar.gz) = cfb2e699842867b60d25a01963c564a6c5e580da
@ -12,7 +12,12 @@ SHA1 (patch-XSA310) = 77b711f4b75de1d473a6988eb6f2b48e37cc353a
SHA1 (patch-XSA311) = 4d3e6cc39c2b95cb3339961271df2bc885667927
SHA1 (patch-XSA313) = b2f281d6aed1207727cd454dcb5e914c7f6fb44b
SHA1 (patch-XSA316) = 9cce683315e4c1ca6d53b578e69ae71e1db2b3eb
SHA1 (patch-XSA317) = 3a3e7bf8f115bebaf56001afcf68c2bd501c00a5
SHA1 (patch-XSA318) = d0dcbb99ab584098aed7995a7a05d5bf4ac28d47
SHA1 (patch-XSA319) = 4954bdc849666e1c735c3281256e4850c0594ee8
SHA1 (patch-XSA320) = 38d84a2ded4ccacee455ba64eb3b369e5661fbfd
SHA1 (patch-XSA321) = 5281304282a26ee252344ec26b07d25ac4ce8b54
SHA1 (patch-XSA328) = a9b02c183a5dbfb6c0fe50824f18896fcab4a9e9
SHA1 (patch-xen_Makefile) = 465388d80de414ca3bb84faefa0f52d817e423a6
SHA1 (patch-xen_Rules.mk) = c743dc63f51fc280d529a7d9e08650292c171dac
SHA1 (patch-xen_arch_x86_Rules.mk) = 0bedfc53a128a87b6a249ae04fbdf6a053bfb70b

View File

@ -0,0 +1,52 @@
$NetBSD: patch-XSA317,v 1.1.2.2 2020/08/28 15:37:49 bsiegert Exp $
From aeb46e92f915f19a61d5a8a1f4b696793f64e6fb Mon Sep 17 00:00:00 2001
From: Julien Grall <jgrall@amazon.com>
Date: Thu, 19 Mar 2020 13:17:31 +0000
Subject: [PATCH] xen/common: event_channel: Don't ignore error in
get_free_port()
Currently, get_free_port() is assuming that the port has been allocated
when evtchn_allocate_port() is not return -EBUSY.
However, the function may return an error when:
- We exhausted all the event channels. This can happen if the limit
configured by the administrator for the guest ('max_event_channels'
in xl cfg) is higher than the ABI used by the guest. For instance,
if the guest is using 2L, the limit should not be higher than 4095.
- We cannot allocate memory (e.g Xen has not more memory).
Users of get_free_port() (such as EVTCHNOP_alloc_unbound) will validly
assuming the port was valid and will next call evtchn_from_port(). This
will result to a crash as the memory backing the event channel structure
is not present.
Fixes: 368ae9a05fe ("xen/pvshim: forward evtchn ops between L0 Xen and L2 DomU")
Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
---
xen/common/event_channel.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/xen/common/event_channel.c b/xen/common/event_channel.c
index e86e2bfab0..a8d182b584 100644
--- xen/common/event_channel.c.orig
+++ xen/common/event_channel.c
@@ -195,10 +195,10 @@ static int get_free_port(struct domain *d)
{
int rc = evtchn_allocate_port(d, port);
- if ( rc == -EBUSY )
- continue;
-
- return port;
+ if ( rc == 0 )
+ return port;
+ else if ( rc != -EBUSY )
+ return rc;
}
return -ENOSPC;
--
2.17.1

View File

@ -0,0 +1,29 @@
$NetBSD: patch-XSA319,v 1.1.2.2 2020/08/28 15:37:49 bsiegert Exp $
From: Jan Beulich <jbeulich@suse.com>
Subject: x86/shadow: correct an inverted conditional in dirty VRAM tracking
This originally was "mfn_x(mfn) == INVALID_MFN". Make it like this
again, taking the opportunity to also drop the unnecessary nearby
braces.
This is XSA-319.
Fixes: 246a5a3377c2 ("xen: Use a typesafe to define INVALID_MFN")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
--- xen/arch/x86/mm/shadow/common.c.orig
+++ xen/arch/x86/mm/shadow/common.c
@@ -3252,10 +3252,8 @@ int shadow_track_dirty_vram(struct domai
int dirty = 0;
paddr_t sl1ma = dirty_vram->sl1ma[i];
- if ( !mfn_eq(mfn, INVALID_MFN) )
- {
+ if ( mfn_eq(mfn, INVALID_MFN) )
dirty = 1;
- }
else
{
page = mfn_to_page(mfn);

View File

@ -0,0 +1,371 @@
$NetBSD: patch-XSA320,v 1.1.2.2 2020/08/28 15:37:49 bsiegert Exp $
From: Andrew Cooper <andrew.cooper3@citrix.com>
Subject: x86/spec-ctrl: CPUID/MSR definitions for Special Register Buffer Data Sampling
This is part of XSA-320 / CVE-2020-0543
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Wei Liu <wl@xen.org>
diff --git a/docs/misc/xen-command-line.markdown b/docs/misc/xen-command-line.markdown
index 194615bfc5..9be18ac99f 100644
--- docs/misc/xen-command-line.markdown.orig
+++ docs/misc/xen-command-line.markdown
@@ -489,10 +489,10 @@ accounting for hardware capabilities as enumerated via CPUID.
Currently accepted:
-The Speculation Control hardware features `md-clear`, `ibrsb`, `stibp`, `ibpb`,
-`l1d-flush` and `ssbd` are used by default if available and applicable. They can
-be ignored, e.g. `no-ibrsb`, at which point Xen won't use them itself, and
-won't offer them to guests.
+The Speculation Control hardware features `srbds-ctrl`, `md-clear`, `ibrsb`,
+`stibp`, `ibpb`, `l1d-flush` and `ssbd` are used by default if available and
+applicable. They can be ignored, e.g. `no-ibrsb`, at which point Xen won't
+use them itself, and won't offer them to guests.
### cpuid\_mask\_cpu (AMD only)
> `= fam_0f_rev_c | fam_0f_rev_d | fam_0f_rev_e | fam_0f_rev_f | fam_0f_rev_g | fam_10_rev_b | fam_10_rev_c | fam_11_rev_b`
diff --git a/tools/libxl/libxl_cpuid.c b/tools/libxl/libxl_cpuid.c
index 5a1702d703..1235c8b91e 100644
--- tools/libxl/libxl_cpuid.c.orig
+++ tools/libxl/libxl_cpuid.c
@@ -202,6 +202,7 @@ int libxl_cpuid_parse_config(libxl_cpuid_policy_list *cpuid, const char* str)
{"avx512-4vnniw",0x00000007, 0, CPUID_REG_EDX, 2, 1},
{"avx512-4fmaps",0x00000007, 0, CPUID_REG_EDX, 3, 1},
+ {"srbds-ctrl", 0x00000007, 0, CPUID_REG_EDX, 9, 1},
{"md-clear", 0x00000007, 0, CPUID_REG_EDX, 10, 1},
{"ibrsb", 0x00000007, 0, CPUID_REG_EDX, 26, 1},
{"stibp", 0x00000007, 0, CPUID_REG_EDX, 27, 1},
diff --git a/tools/misc/xen-cpuid.c b/tools/misc/xen-cpuid.c
index 4c9af6b7f0..8fb54c3001 100644
--- tools/misc/xen-cpuid.c.orig
+++ tools/misc/xen-cpuid.c
@@ -142,6 +142,7 @@ static const char *str_7d0[32] =
{
[ 2] = "avx512_4vnniw", [ 3] = "avx512_4fmaps",
+ /* 8 */ [ 9] = "srbds-ctrl",
[10] = "md-clear",
/* 12 */ [13] = "tsx-force-abort",
diff --git a/xen/arch/x86/cpuid.c b/xen/arch/x86/cpuid.c
index 04aefa555d..b8e5b6fe67 100644
--- xen/arch/x86/cpuid.c.orig
+++ xen/arch/x86/cpuid.c
@@ -58,6 +58,11 @@ static int __init parse_xen_cpuid(const char *s)
if ( !val )
setup_clear_cpu_cap(X86_FEATURE_SSBD);
}
+ else if ( (val = parse_boolean("srbds-ctrl", s, ss)) >= 0 )
+ {
+ if ( !val )
+ setup_clear_cpu_cap(X86_FEATURE_SRBDS_CTRL);
+ }
else
rc = -EINVAL;
diff --git a/xen/arch/x86/msr.c b/xen/arch/x86/msr.c
index ccb316c547..256e58d82b 100644
--- xen/arch/x86/msr.c.orig
+++ xen/arch/x86/msr.c
@@ -154,6 +154,7 @@ int guest_rdmsr(const struct vcpu *v, uint32_t msr, uint64_t *val)
/* Write-only */
case MSR_TSX_FORCE_ABORT:
case MSR_TSX_CTRL:
+ case MSR_MCU_OPT_CTRL:
/* Not offered to guests. */
goto gp_fault;
@@ -243,6 +244,7 @@ int guest_wrmsr(struct vcpu *v, uint32_t msr, uint64_t val)
/* Read-only */
case MSR_TSX_FORCE_ABORT:
case MSR_TSX_CTRL:
+ case MSR_MCU_OPT_CTRL:
/* Not offered to guests. */
goto gp_fault;
diff --git a/xen/arch/x86/spec_ctrl.c b/xen/arch/x86/spec_ctrl.c
index ab196b156d..94ab8dd786 100644
--- xen/arch/x86/spec_ctrl.c.orig
+++ xen/arch/x86/spec_ctrl.c
@@ -365,12 +365,13 @@ static void __init print_details(enum ind_thunk thunk, uint64_t caps)
printk("Speculative mitigation facilities:\n");
/* Hardware features which pertain to speculative mitigations. */
- printk(" Hardware features:%s%s%s%s%s%s%s%s%s%s%s%s%s%s\n",
+ printk(" Hardware features:%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s\n",
(_7d0 & cpufeat_mask(X86_FEATURE_IBRSB)) ? " IBRS/IBPB" : "",
(_7d0 & cpufeat_mask(X86_FEATURE_STIBP)) ? " STIBP" : "",
(_7d0 & cpufeat_mask(X86_FEATURE_L1D_FLUSH)) ? " L1D_FLUSH" : "",
(_7d0 & cpufeat_mask(X86_FEATURE_SSBD)) ? " SSBD" : "",
(_7d0 & cpufeat_mask(X86_FEATURE_MD_CLEAR)) ? " MD_CLEAR" : "",
+ (_7d0 & cpufeat_mask(X86_FEATURE_SRBDS_CTRL)) ? " SRBDS_CTRL" : "",
(e8b & cpufeat_mask(X86_FEATURE_IBPB)) ? " IBPB" : "",
(caps & ARCH_CAPS_IBRS_ALL) ? " IBRS_ALL" : "",
(caps & ARCH_CAPS_RDCL_NO) ? " RDCL_NO" : "",
diff --git a/xen/include/asm-x86/msr-index.h b/xen/include/asm-x86/msr-index.h
index 1761a01f1f..480d1d8102 100644
--- xen/include/asm-x86/msr-index.h.orig
+++ xen/include/asm-x86/msr-index.h
@@ -177,6 +177,9 @@
#define MSR_IA32_VMX_TRUE_ENTRY_CTLS 0x490
#define MSR_IA32_VMX_VMFUNC 0x491
+#define MSR_MCU_OPT_CTRL 0x00000123
+#define MCU_OPT_CTRL_RNGDS_MITG_DIS (_AC(1, ULL) << 0)
+
/* K7/K8 MSRs. Not complete. See the architecture manual for a more
complete list. */
#define MSR_K7_EVNTSEL0 0xc0010000
diff --git a/xen/include/public/arch-x86/cpufeatureset.h b/xen/include/public/arch-x86/cpufeatureset.h
index a14d8a7013..9d210e74a0 100644
--- xen/include/public/arch-x86/cpufeatureset.h.orig
+++ xen/include/public/arch-x86/cpufeatureset.h
@@ -242,6 +242,7 @@ XEN_CPUFEATURE(IBPB, 8*32+12) /*A IBPB support only (no IBRS, used by
/* Intel-defined CPU features, CPUID level 0x00000007:0.edx, word 9 */
XEN_CPUFEATURE(AVX512_4VNNIW, 9*32+ 2) /*A AVX512 Neural Network Instructions */
XEN_CPUFEATURE(AVX512_4FMAPS, 9*32+ 3) /*A AVX512 Multiply Accumulation Single Precision */
+XEN_CPUFEATURE(SRBDS_CTRL, 9*32+ 9) /* MSR_MCU_OPT_CTRL and RNGDS_MITG_DIS. */
XEN_CPUFEATURE(MD_CLEAR, 9*32+10) /*A VERW clears microarchitectural buffers */
XEN_CPUFEATURE(TSX_FORCE_ABORT, 9*32+13) /* MSR_TSX_FORCE_ABORT.RTM_ABORT */
XEN_CPUFEATURE(IBRSB, 9*32+26) /*A IBRS and IBPB support (used by Intel) */
From: Andrew Cooper <andrew.cooper3@citrix.com>
Subject: x86/spec-ctrl: Mitigate the Special Register Buffer Data Sampling sidechannel
See patch documentation and comments.
This is part of XSA-320 / CVE-2020-0543
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
diff --git a/docs/misc/xen-command-line.markdown b/docs/misc/xen-command-line.markdown
index 9be18ac99f..3356e59fee 100644
--- docs/misc/xen-command-line.markdown.orig
+++ docs/misc/xen-command-line.markdown
@@ -1858,7 +1858,7 @@ false disable the quirk workaround, which is also the default.
### spec-ctrl (x86)
> `= List of [ <bool>, xen=<bool>, {pv,hvm,msr-sc,rsb,md-clear}=<bool>,
> bti-thunk=retpoline|lfence|jmp, {ibrs,ibpb,ssbd,eager-fpu,
-> l1d-flush}=<bool> ]`
+> l1d-flush,srb-lock}=<bool> ]`
Controls for speculative execution sidechannel mitigations. By default, Xen
will pick the most appropriate mitigations based on compiled in support,
@@ -1930,6 +1930,12 @@ Irrespective of Xen's setting, the feature is virtualised for HVM guests to
use. By default, Xen will enable this mitigation on hardware believed to be
vulnerable to L1TF.
+On hardware supporting SRBDS_CTRL, the `srb-lock=` option can be used to force
+or prevent Xen from protect the Special Register Buffer from leaking stale
+data. By default, Xen will enable this mitigation, except on parts where MDS
+is fixed and TAA is fixed/mitigated (in which case, there is believed to be no
+way for an attacker to obtain the stale data).
+
### sync\_console
> `= <boolean>`
diff --git a/xen/arch/x86/acpi/power.c b/xen/arch/x86/acpi/power.c
index 4c12794809..30e1bd5cd3 100644
--- xen/arch/x86/acpi/power.c.orig
+++ xen/arch/x86/acpi/power.c
@@ -266,6 +266,9 @@ static int enter_state(u32 state)
ci->spec_ctrl_flags |= (default_spec_ctrl_flags & SCF_ist_wrmsr);
spec_ctrl_exit_idle(ci);
+ if ( boot_cpu_has(X86_FEATURE_SRBDS_CTRL) )
+ wrmsrl(MSR_MCU_OPT_CTRL, default_xen_mcu_opt_ctrl);
+
done:
spin_debug_enable();
local_irq_restore(flags);
diff --git a/xen/arch/x86/smpboot.c b/xen/arch/x86/smpboot.c
index 0887806e85..d24d215946 100644
--- xen/arch/x86/smpboot.c.orig
+++ xen/arch/x86/smpboot.c
@@ -369,12 +369,14 @@ void start_secondary(void *unused)
microcode_resume_cpu(cpu);
/*
- * If MSR_SPEC_CTRL is available, apply Xen's default setting and discard
- * any firmware settings. Note: MSR_SPEC_CTRL may only become available
- * after loading microcode.
+ * If any speculative control MSRs are available, apply Xen's default
+ * settings. Note: These MSRs may only become available after loading
+ * microcode.
*/
if ( boot_cpu_has(X86_FEATURE_IBRSB) )
wrmsrl(MSR_SPEC_CTRL, default_xen_spec_ctrl);
+ if ( boot_cpu_has(X86_FEATURE_SRBDS_CTRL) )
+ wrmsrl(MSR_MCU_OPT_CTRL, default_xen_mcu_opt_ctrl);
tsx_init(); /* Needs microcode. May change HLE/RTM feature bits. */
diff --git a/xen/arch/x86/spec_ctrl.c b/xen/arch/x86/spec_ctrl.c
index 94ab8dd786..a306d10c34 100644
--- xen/arch/x86/spec_ctrl.c.orig
+++ xen/arch/x86/spec_ctrl.c
@@ -63,6 +63,9 @@ static unsigned int __initdata l1d_maxphysaddr;
static bool __initdata cpu_has_bug_msbds_only; /* => minimal HT impact. */
static bool __initdata cpu_has_bug_mds; /* Any other M{LP,SB,FB}DS combination. */
+static int8_t __initdata opt_srb_lock = -1;
+uint64_t __read_mostly default_xen_mcu_opt_ctrl;
+
static int __init parse_bti(const char *s)
{
const char *ss;
@@ -166,6 +169,7 @@ static int __init parse_spec_ctrl(const char *s)
opt_ibpb = false;
opt_ssbd = false;
opt_l1d_flush = 0;
+ opt_srb_lock = 0;
}
else if ( val > 0 )
rc = -EINVAL;
@@ -231,6 +235,8 @@ static int __init parse_spec_ctrl(const char *s)
opt_eager_fpu = val;
else if ( (val = parse_boolean("l1d-flush", s, ss)) >= 0 )
opt_l1d_flush = val;
+ else if ( (val = parse_boolean("srb-lock", s, ss)) >= 0 )
+ opt_srb_lock = val;
else
rc = -EINVAL;
@@ -394,7 +400,7 @@ static void __init print_details(enum ind_thunk thunk, uint64_t caps)
"\n");
/* Settings for Xen's protection, irrespective of guests. */
- printk(" Xen settings: BTI-Thunk %s, SPEC_CTRL: %s%s%s, Other:%s%s%s\n",
+ printk(" Xen settings: BTI-Thunk %s, SPEC_CTRL: %s%s%s, Other:%s%s%s%s\n",
thunk == THUNK_NONE ? "N/A" :
thunk == THUNK_RETPOLINE ? "RETPOLINE" :
thunk == THUNK_LFENCE ? "LFENCE" :
@@ -405,6 +411,8 @@ static void __init print_details(enum ind_thunk thunk, uint64_t caps)
(default_xen_spec_ctrl & SPEC_CTRL_SSBD) ? " SSBD+" : " SSBD-",
!(caps & ARCH_CAPS_TSX_CTRL) ? "" :
(opt_tsx & 1) ? " TSX+" : " TSX-",
+ !boot_cpu_has(X86_FEATURE_SRBDS_CTRL) ? "" :
+ opt_srb_lock ? " SRB_LOCK+" : " SRB_LOCK-",
opt_ibpb ? " IBPB" : "",
opt_l1d_flush ? " L1D_FLUSH" : "",
opt_md_clear_pv || opt_md_clear_hvm ? " VERW" : "");
@@ -1196,6 +1204,34 @@ void __init init_speculation_mitigations(void)
tsx_init();
}
+ /* Calculate suitable defaults for MSR_MCU_OPT_CTRL */
+ if ( boot_cpu_has(X86_FEATURE_SRBDS_CTRL) )
+ {
+ uint64_t val;
+
+ rdmsrl(MSR_MCU_OPT_CTRL, val);
+
+ /*
+ * On some SRBDS-affected hardware, it may be safe to relax srb-lock
+ * by default.
+ *
+ * On parts which enumerate MDS_NO and not TAA_NO, TSX is the only way
+ * to access the Fill Buffer. If TSX isn't available (inc. SKU
+ * reasons on some models), or TSX is explicitly disabled, then there
+ * is no need for the extra overhead to protect RDRAND/RDSEED.
+ */
+ if ( opt_srb_lock == -1 &&
+ (caps & (ARCH_CAPS_MDS_NO|ARCH_CAPS_TAA_NO)) == ARCH_CAPS_MDS_NO &&
+ (!cpu_has_hle || ((caps & ARCH_CAPS_TSX_CTRL) && opt_tsx == 0)) )
+ opt_srb_lock = 0;
+
+ val &= ~MCU_OPT_CTRL_RNGDS_MITG_DIS;
+ if ( !opt_srb_lock )
+ val |= MCU_OPT_CTRL_RNGDS_MITG_DIS;
+
+ default_xen_mcu_opt_ctrl = val;
+ }
+
print_details(thunk, caps);
/*
@@ -1227,6 +1263,9 @@ void __init init_speculation_mitigations(void)
wrmsrl(MSR_SPEC_CTRL, bsp_delay_spec_ctrl ? 0 : default_xen_spec_ctrl);
}
+
+ if ( boot_cpu_has(X86_FEATURE_SRBDS_CTRL) )
+ wrmsrl(MSR_MCU_OPT_CTRL, default_xen_mcu_opt_ctrl);
}
static void __init __maybe_unused build_assertions(void)
diff --git a/xen/include/asm-x86/spec_ctrl.h b/xen/include/asm-x86/spec_ctrl.h
index 333d180b7e..bf10d2ce5c 100644
--- xen/include/asm-x86/spec_ctrl.h.orig
+++ xen/include/asm-x86/spec_ctrl.h
@@ -46,6 +46,8 @@ extern int8_t opt_pv_l1tf_hwdom, opt_pv_l1tf_domu;
*/
extern paddr_t l1tf_addr_mask, l1tf_safe_maddr;
+extern uint64_t default_xen_mcu_opt_ctrl;
+
static inline void init_shadow_spec_ctrl_state(void)
{
struct cpu_info *info = get_cpu_info();
From: Andrew Cooper <andrew.cooper3@citrix.com>
Subject: x86/spec-ctrl: Allow the RDRAND/RDSEED features to be hidden
RDRAND/RDSEED can be hidden using cpuid= to mitigate SRBDS if microcode
isn't available.
This is part of XSA-320 / CVE-2020-0543.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Julien Grall <jgrall@amazon.com>
diff --git a/docs/misc/xen-command-line.markdown b/docs/misc/xen-command-line.markdown
index 3356e59fee..ac397e7de0 100644
--- docs/misc/xen-command-line.markdown.orig
+++ docs/misc/xen-command-line.markdown
@@ -487,12 +487,18 @@ choice of `dom0-kernel` is deprecated and not supported by all Dom0 kernels.
This option allows for fine tuning of the facilities Xen will use, after
accounting for hardware capabilities as enumerated via CPUID.
+Unless otherwise noted, options only have any effect in their negative form,
+to hide the named feature(s). Ignoring a feature using this mechanism will
+cause Xen not to use the feature, nor offer them as usable to guests.
+
Currently accepted:
The Speculation Control hardware features `srbds-ctrl`, `md-clear`, `ibrsb`,
`stibp`, `ibpb`, `l1d-flush` and `ssbd` are used by default if available and
-applicable. They can be ignored, e.g. `no-ibrsb`, at which point Xen won't
-use them itself, and won't offer them to guests.
+applicable. They can all be ignored.
+
+`rdrand` and `rdseed` can be ignored, as a mitigation to XSA-320 /
+CVE-2020-0543.
### cpuid\_mask\_cpu (AMD only)
> `= fam_0f_rev_c | fam_0f_rev_d | fam_0f_rev_e | fam_0f_rev_f | fam_0f_rev_g | fam_10_rev_b | fam_10_rev_c | fam_11_rev_b`
diff --git a/xen/arch/x86/cpuid.c b/xen/arch/x86/cpuid.c
index b8e5b6fe67..78d08dbb32 100644
--- xen/arch/x86/cpuid.c.orig
+++ xen/arch/x86/cpuid.c
@@ -63,6 +63,16 @@ static int __init parse_xen_cpuid(const char *s)
if ( !val )
setup_clear_cpu_cap(X86_FEATURE_SRBDS_CTRL);
}
+ else if ( (val = parse_boolean("rdrand", s, ss)) >= 0 )
+ {
+ if ( !val )
+ setup_clear_cpu_cap(X86_FEATURE_RDRAND);
+ }
+ else if ( (val = parse_boolean("rdseed", s, ss)) >= 0 )
+ {
+ if ( !val )
+ setup_clear_cpu_cap(X86_FEATURE_RDSEED);
+ }
else
rc = -EINVAL;

View File

@ -0,0 +1,586 @@
$NetBSD: patch-XSA321,v 1.2.2.2 2020/08/28 15:37:49 bsiegert Exp $
From: Jan Beulich <jbeulich@suse.com>
Subject: vtd: improve IOMMU TLB flush
Do not limit PSI flushes to order 0 pages, in order to avoid doing a
full TLB flush if the passed in page has an order greater than 0 and
is aligned. Should increase the performance of IOMMU TLB flushes when
dealing with page orders greater than 0.
This is part of XSA-321.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
--- xen/drivers/passthrough/vtd/iommu.c.orig
+++ xen/drivers/passthrough/vtd/iommu.c
@@ -612,13 +612,14 @@ static int __must_check iommu_flush_iotl
if ( iommu_domid == -1 )
continue;
- if ( page_count != 1 || gfn == gfn_x(INVALID_GFN) )
+ if ( !page_count || (page_count & (page_count - 1)) ||
+ gfn == gfn_x(INVALID_GFN) || !IS_ALIGNED(gfn, page_count) )
rc = iommu_flush_iotlb_dsi(iommu, iommu_domid,
0, flush_dev_iotlb);
else
rc = iommu_flush_iotlb_psi(iommu, iommu_domid,
(paddr_t)gfn << PAGE_SHIFT_4K,
- PAGE_ORDER_4K,
+ get_order_from_pages(page_count),
!dma_old_pte_present,
flush_dev_iotlb);
From: <security@xenproject.org>
Subject: vtd: prune (and rename) cache flush functions
Rename __iommu_flush_cache to iommu_sync_cache and remove
iommu_flush_cache_page. Also remove the iommu_flush_cache_entry
wrapper and just use iommu_sync_cache instead. Note the _entry suffix
was meaningless as the wrapper was already taking a size parameter in
bytes. While there also constify the addr parameter.
No functional change intended.
This is part of XSA-321.
Reviewed-by: Jan Beulich <jbeulich@suse.com>
--- xen/drivers/passthrough/vtd/extern.h.orig
+++ xen/drivers/passthrough/vtd/extern.h
@@ -37,8 +37,7 @@ void disable_qinval(struct iommu *iommu)
int enable_intremap(struct iommu *iommu, int eim);
void disable_intremap(struct iommu *iommu);
-void iommu_flush_cache_entry(void *addr, unsigned int size);
-void iommu_flush_cache_page(void *addr, unsigned long npages);
+void iommu_sync_cache(const void *addr, unsigned int size);
int iommu_alloc(struct acpi_drhd_unit *drhd);
void iommu_free(struct acpi_drhd_unit *drhd);
--- xen/drivers/passthrough/vtd/intremap.c.orig
+++ xen/drivers/passthrough/vtd/intremap.c
@@ -231,7 +231,7 @@ static void free_remap_entry(struct iomm
iremap_entries, iremap_entry);
update_irte(iommu, iremap_entry, &new_ire, false);
- iommu_flush_cache_entry(iremap_entry, sizeof(*iremap_entry));
+ iommu_sync_cache(iremap_entry, sizeof(*iremap_entry));
iommu_flush_iec_index(iommu, 0, index);
unmap_vtd_domain_page(iremap_entries);
@@ -403,7 +403,7 @@ static int ioapic_rte_to_remap_entry(str
}
update_irte(iommu, iremap_entry, &new_ire, !init);
- iommu_flush_cache_entry(iremap_entry, sizeof(*iremap_entry));
+ iommu_sync_cache(iremap_entry, sizeof(*iremap_entry));
iommu_flush_iec_index(iommu, 0, index);
unmap_vtd_domain_page(iremap_entries);
@@ -694,7 +694,7 @@ static int msi_msg_to_remap_entry(
update_irte(iommu, iremap_entry, &new_ire, msi_desc->irte_initialized);
msi_desc->irte_initialized = true;
- iommu_flush_cache_entry(iremap_entry, sizeof(*iremap_entry));
+ iommu_sync_cache(iremap_entry, sizeof(*iremap_entry));
iommu_flush_iec_index(iommu, 0, index);
unmap_vtd_domain_page(iremap_entries);
--- xen/drivers/passthrough/vtd/iommu.c.orig
+++ xen/drivers/passthrough/vtd/iommu.c
@@ -158,7 +158,8 @@ static void __init free_intel_iommu(stru
}
static int iommus_incoherent;
-static void __iommu_flush_cache(void *addr, unsigned int size)
+
+void iommu_sync_cache(const void *addr, unsigned int size)
{
int i;
static unsigned int clflush_size = 0;
@@ -173,16 +174,6 @@ static void __iommu_flush_cache(void *ad
cacheline_flush((char *)addr + i);
}
-void iommu_flush_cache_entry(void *addr, unsigned int size)
-{
- __iommu_flush_cache(addr, size);
-}
-
-void iommu_flush_cache_page(void *addr, unsigned long npages)
-{
- __iommu_flush_cache(addr, PAGE_SIZE * npages);
-}
-
/* Allocate page table, return its machine address */
u64 alloc_pgtable_maddr(struct acpi_drhd_unit *drhd, unsigned long npages)
{
@@ -207,7 +198,7 @@ u64 alloc_pgtable_maddr(struct acpi_drhd
vaddr = __map_domain_page(cur_pg);
memset(vaddr, 0, PAGE_SIZE);
- iommu_flush_cache_page(vaddr, 1);
+ iommu_sync_cache(vaddr, PAGE_SIZE);
unmap_domain_page(vaddr);
cur_pg++;
}
@@ -242,7 +233,7 @@ static u64 bus_to_context_maddr(struct i
}
set_root_value(*root, maddr);
set_root_present(*root);
- iommu_flush_cache_entry(root, sizeof(struct root_entry));
+ iommu_sync_cache(root, sizeof(struct root_entry));
}
maddr = (u64) get_context_addr(*root);
unmap_vtd_domain_page(root_entries);
@@ -300,7 +291,7 @@ static u64 addr_to_dma_page_maddr(struct
*/
dma_set_pte_readable(*pte);
dma_set_pte_writable(*pte);
- iommu_flush_cache_entry(pte, sizeof(struct dma_pte));
+ iommu_sync_cache(pte, sizeof(struct dma_pte));
}
if ( level == 2 )
@@ -674,7 +665,7 @@ static int __must_check dma_pte_clear_on
dma_clear_pte(*pte);
spin_unlock(&hd->arch.mapping_lock);
- iommu_flush_cache_entry(pte, sizeof(struct dma_pte));
+ iommu_sync_cache(pte, sizeof(struct dma_pte));
if ( !this_cpu(iommu_dont_flush_iotlb) )
rc = iommu_flush_iotlb_pages(domain, addr >> PAGE_SHIFT_4K, 1);
@@ -716,7 +707,7 @@ static void iommu_free_page_table(struct
iommu_free_pagetable(dma_pte_addr(*pte), next_level);
dma_clear_pte(*pte);
- iommu_flush_cache_entry(pte, sizeof(struct dma_pte));
+ iommu_sync_cache(pte, sizeof(struct dma_pte));
}
unmap_vtd_domain_page(pt_vaddr);
@@ -1449,7 +1440,7 @@ int domain_context_mapping_one(
context_set_address_width(*context, agaw);
context_set_fault_enable(*context);
context_set_present(*context);
- iommu_flush_cache_entry(context, sizeof(struct context_entry));
+ iommu_sync_cache(context, sizeof(struct context_entry));
spin_unlock(&iommu->lock);
/* Context entry was previously non-present (with domid 0). */
@@ -1602,7 +1593,7 @@ int domain_context_unmap_one(
context_clear_present(*context);
context_clear_entry(*context);
- iommu_flush_cache_entry(context, sizeof(struct context_entry));
+ iommu_sync_cache(context, sizeof(struct context_entry));
iommu_domid= domain_iommu_domid(domain, iommu);
if ( iommu_domid == -1 )
@@ -1828,7 +1819,7 @@ static int __must_check intel_iommu_map_
*pte = new;
- iommu_flush_cache_entry(pte, sizeof(struct dma_pte));
+ iommu_sync_cache(pte, sizeof(struct dma_pte));
spin_unlock(&hd->arch.mapping_lock);
unmap_vtd_domain_page(page);
@@ -1862,7 +1853,7 @@ int iommu_pte_flush(struct domain *d, u6
int iommu_domid;
int rc = 0;
- iommu_flush_cache_entry(pte, sizeof(struct dma_pte));
+ iommu_sync_cache(pte, sizeof(struct dma_pte));
for_each_drhd_unit ( drhd )
{
From: <security@xenproject.org>
Subject: x86/iommu: introduce a cache sync hook
The hook is only implemented for VT-d and it uses the already existing
iommu_sync_cache function present in VT-d code. The new hook is
added so that the cache can be flushed by code outside of VT-d when
using shared page tables.
Note that alloc_pgtable_maddr must use the now locally defined
sync_cache function, because IOMMU ops are not yet setup the first
time the function gets called during IOMMU initialization.
No functional change intended.
This is part of XSA-321.
Reviewed-by: Jan Beulich <jbeulich@suse.com>
--- xen/drivers/passthrough/vtd/extern.h.orig
+++ xen/drivers/passthrough/vtd/extern.h
@@ -37,7 +37,6 @@ void disable_qinval(struct iommu *iommu)
int enable_intremap(struct iommu *iommu, int eim);
void disable_intremap(struct iommu *iommu);
-void iommu_sync_cache(const void *addr, unsigned int size);
int iommu_alloc(struct acpi_drhd_unit *drhd);
void iommu_free(struct acpi_drhd_unit *drhd);
--- xen/drivers/passthrough/vtd/iommu.c.orig
+++ xen/drivers/passthrough/vtd/iommu.c
@@ -159,7 +159,7 @@ static void __init free_intel_iommu(stru
static int iommus_incoherent;
-void iommu_sync_cache(const void *addr, unsigned int size)
+static void sync_cache(const void *addr, unsigned int size)
{
int i;
static unsigned int clflush_size = 0;
@@ -198,7 +198,7 @@ u64 alloc_pgtable_maddr(struct acpi_drhd
vaddr = __map_domain_page(cur_pg);
memset(vaddr, 0, PAGE_SIZE);
- iommu_sync_cache(vaddr, PAGE_SIZE);
+ sync_cache(vaddr, PAGE_SIZE);
unmap_domain_page(vaddr);
cur_pg++;
}
@@ -2760,6 +2760,7 @@ const struct iommu_ops intel_iommu_ops =
.iotlb_flush_all = iommu_flush_iotlb_all,
.get_reserved_device_memory = intel_iommu_get_reserved_device_memory,
.dump_p2m_table = vtd_dump_p2m_table,
+ .sync_cache = sync_cache,
};
/*
--- xen/include/asm-x86/iommu.h.orig
+++ xen/include/asm-x86/iommu.h
@@ -98,6 +98,13 @@ extern bool untrusted_msi;
int pi_update_irte(const struct pi_desc *pi_desc, const struct pirq *pirq,
const uint8_t gvec);
+#define iommu_sync_cache(addr, size) ({ \
+ const struct iommu_ops *ops = iommu_get_ops(); \
+ \
+ if ( ops->sync_cache ) \
+ ops->sync_cache(addr, size); \
+})
+
#endif /* !__ARCH_X86_IOMMU_H__ */
/*
* Local variables:
--- xen/include/xen/iommu.h.orig
+++ xen/include/xen/iommu.h
@@ -161,6 +161,7 @@ struct iommu_ops {
void (*update_ire_from_apic)(unsigned int apic, unsigned int reg, unsigned int value);
unsigned int (*read_apic_from_ire)(unsigned int apic, unsigned int reg);
int (*setup_hpet_msi)(struct msi_desc *);
+ void (*sync_cache)(const void *addr, unsigned int size);
#endif /* CONFIG_X86 */
int __must_check (*suspend)(void);
void (*resume)(void);
From: <security@xenproject.org>
Subject: vtd: don't assume addresses are aligned in sync_cache
Current code in sync_cache assume that the address passed in is
aligned to a cache line size. Fix the code to support passing in
arbitrary addresses not necessarily aligned to a cache line size.
This is part of XSA-321.
Reviewed-by: Jan Beulich <jbeulich@suse.com>
--- xen/drivers/passthrough/vtd/iommu.c.orig
+++ xen/drivers/passthrough/vtd/iommu.c
@@ -161,8 +161,8 @@ static int iommus_incoherent;
static void sync_cache(const void *addr, unsigned int size)
{
- int i;
- static unsigned int clflush_size = 0;
+ static unsigned long clflush_size = 0;
+ const void *end = addr + size;
if ( !iommus_incoherent )
return;
@@ -170,8 +170,9 @@ static void sync_cache(const void *addr,
if ( clflush_size == 0 )
clflush_size = get_cache_line_size();
- for ( i = 0; i < size; i += clflush_size )
- cacheline_flush((char *)addr + i);
+ addr -= (unsigned long)addr & (clflush_size - 1);
+ for ( ; addr < end; addr += clflush_size )
+ cacheline_flush((char *)addr);
}
/* Allocate page table, return its machine address */
From: <security@xenproject.org>
Subject: x86/alternative: introduce alternative_2
It's based on alternative_io_2 without inputs or outputs but with an
added memory clobber.
This is part of XSA-321.
Acked-by: Jan Beulich <jbeulich@suse.com>
--- xen/include/asm-x86/alternative.h.orig
+++ xen/include/asm-x86/alternative.h
@@ -113,6 +113,11 @@ extern void alternative_instructions(voi
#define alternative(oldinstr, newinstr, feature) \
asm volatile (ALTERNATIVE(oldinstr, newinstr, feature) : : : "memory")
+#define alternative_2(oldinstr, newinstr1, feature1, newinstr2, feature2) \
+ asm volatile (ALTERNATIVE_2(oldinstr, newinstr1, feature1, \
+ newinstr2, feature2) \
+ : : : "memory")
+
/*
* Alternative inline assembly with input.
*
From: <security@xenproject.org>
Subject: vtd: optimize CPU cache sync
Some VT-d IOMMUs are non-coherent, which requires a cache write back
in order for the changes made by the CPU to be visible to the IOMMU.
This cache write back was unconditionally done using clflush, but there are
other more efficient instructions to do so, hence implement support
for them using the alternative framework.
This is part of XSA-321.
Reviewed-by: Jan Beulich <jbeulich@suse.com>
--- xen/drivers/passthrough/vtd/extern.h.orig
+++ xen/drivers/passthrough/vtd/extern.h
@@ -63,7 +63,6 @@ int __must_check qinval_device_iotlb_syn
u16 did, u16 size, u64 addr);
unsigned int get_cache_line_size(void);
-void cacheline_flush(char *);
void flush_all_cache(void);
u64 alloc_pgtable_maddr(struct acpi_drhd_unit *drhd, unsigned long npages);
--- xen/drivers/passthrough/vtd/iommu.c.orig
+++ xen/drivers/passthrough/vtd/iommu.c
@@ -31,6 +31,7 @@
#include <xen/pci_regs.h>
#include <xen/keyhandler.h>
#include <asm/msi.h>
+#include <asm/nops.h>
#include <asm/irq.h>
#include <asm/hvm/vmx/vmx.h>
#include <asm/p2m.h>
@@ -172,7 +173,42 @@ static void sync_cache(const void *addr,
addr -= (unsigned long)addr & (clflush_size - 1);
for ( ; addr < end; addr += clflush_size )
- cacheline_flush((char *)addr);
+/*
+ * The arguments to a macro must not include preprocessor directives. Doing so
+ * results in undefined behavior, so we have to create some defines here in
+ * order to avoid it.
+ */
+#if defined(HAVE_AS_CLWB)
+# define CLWB_ENCODING "clwb %[p]"
+#elif defined(HAVE_AS_XSAVEOPT)
+# define CLWB_ENCODING "data16 xsaveopt %[p]" /* clwb */
+#else
+# define CLWB_ENCODING ".byte 0x66, 0x0f, 0xae, 0x30" /* clwb (%%rax) */
+#endif
+
+#define BASE_INPUT(addr) [p] "m" (*(const char *)(addr))
+#if defined(HAVE_AS_CLWB) || defined(HAVE_AS_XSAVEOPT)
+# define INPUT BASE_INPUT
+#else
+# define INPUT(addr) "a" (addr), BASE_INPUT(addr)
+#endif
+ /*
+ * Note regarding the use of NOP_DS_PREFIX: it's faster to do a clflush
+ * + prefix than a clflush + nop, and hence the prefix is added instead
+ * of letting the alternative framework fill the gap by appending nops.
+ */
+ alternative_io_2(".byte " __stringify(NOP_DS_PREFIX) "; clflush %[p]",
+ "data16 clflush %[p]", /* clflushopt */
+ X86_FEATURE_CLFLUSHOPT,
+ CLWB_ENCODING,
+ X86_FEATURE_CLWB, /* no outputs */,
+ INPUT(addr));
+#undef INPUT
+#undef BASE_INPUT
+#undef CLWB_ENCODING
+
+ alternative_2("", "sfence", X86_FEATURE_CLFLUSHOPT,
+ "sfence", X86_FEATURE_CLWB);
}
/* Allocate page table, return its machine address */
--- xen/drivers/passthrough/vtd/x86/vtd.c.orig
+++ xen/drivers/passthrough/vtd/x86/vtd.c
@@ -53,11 +53,6 @@ unsigned int get_cache_line_size(void)
return ((cpuid_ebx(1) >> 8) & 0xff) * 8;
}
-void cacheline_flush(char * addr)
-{
- clflush(addr);
-}
-
void flush_all_cache()
{
wbinvd();
From: <security@xenproject.org>
Subject: x86/ept: flush cache when modifying PTEs and sharing page tables
Modifications made to the page tables by EPT code need to be written
to memory when the page tables are shared with the IOMMU, as Intel
IOMMUs can be non-coherent and thus require changes to be written to
memory in order to be visible to the IOMMU.
In order to achieve this make sure data is written back to memory
after writing an EPT entry when the recalc bit is not set in
atomic_write_ept_entry. If such bit is set, the entry will be
adjusted and atomic_write_ept_entry will be called a second time
without the recalc bit set. Note that when splitting a super page the
new tables resulting of the split should also be written back.
Failure to do so can allow devices behind the IOMMU access to the
stale super page, or cause coherency issues as changes made by the
processor to the page tables are not visible to the IOMMU.
This allows to remove the VT-d specific iommu_pte_flush helper, since
the cache write back is now performed by atomic_write_ept_entry, and
hence iommu_iotlb_flush can be used to flush the IOMMU TLB. The newly
used method (iommu_iotlb_flush) can result in less flushes, since it
might sometimes be called rightly with 0 flags, in which case it
becomes a no-op.
This is part of XSA-321.
Reviewed-by: Jan Beulich <jbeulich@suse.com>
--- xen/arch/x86/mm/p2m-ept.c.orig
+++ xen/arch/x86/mm/p2m-ept.c
@@ -90,6 +90,19 @@ static int atomic_write_ept_entry(ept_en
write_atomic(&entryptr->epte, new.epte);
+ /*
+ * The recalc field on the EPT is used to signal either that a
+ * recalculation of the EMT field is required (which doesn't effect the
+ * IOMMU), or a type change. Type changes can only be between ram_rw,
+ * logdirty and ioreq_server: changes to/from logdirty won't work well with
+ * an IOMMU anyway, as IOMMU #PFs are not synchronous and will lead to
+ * aborts, and changes to/from ioreq_server are already fully flushed
+ * before returning to guest context (see
+ * XEN_DMOP_map_mem_type_to_ioreq_server).
+ */
+ if ( !new.recalc && iommu_hap_pt_share )
+ iommu_sync_cache(entryptr, sizeof(*entryptr));
+
if ( unlikely(oldmfn != mfn_x(INVALID_MFN)) )
put_page(mfn_to_page(_mfn(oldmfn)));
@@ -319,6 +332,9 @@ static bool_t ept_split_super_page(struc
break;
}
+ if ( iommu_hap_pt_share )
+ iommu_sync_cache(table, EPT_PAGETABLE_ENTRIES * sizeof(ept_entry_t));
+
unmap_domain_page(table);
/* Even failed we should install the newly allocated ept page. */
@@ -875,7 +894,7 @@ out:
need_modify_vtd_table )
{
if ( iommu_hap_pt_share )
- rc = iommu_pte_flush(d, gfn, &ept_entry->epte, order, vtd_pte_present);
+ rc = iommu_flush_iotlb(d, gfn, vtd_pte_present, 1u << order);
else
{
if ( iommu_flags )
--- xen/drivers/passthrough/vtd/iommu.c.orig
+++ xen/drivers/passthrough/vtd/iommu.c
@@ -612,10 +612,8 @@ static int __must_check iommu_flush_all(
return rc;
}
-static int __must_check iommu_flush_iotlb(struct domain *d,
- unsigned long gfn,
- bool_t dma_old_pte_present,
- unsigned int page_count)
+int iommu_flush_iotlb(struct domain *d, unsigned long gfn,
+ bool dma_old_pte_present, unsigned int page_count)
{
struct domain_iommu *hd = dom_iommu(d);
struct acpi_drhd_unit *drhd;
@@ -1880,53 +1878,6 @@ static int __must_check intel_iommu_unma
return dma_pte_clear_one(d, (paddr_t)gfn << PAGE_SHIFT_4K);
}
-int iommu_pte_flush(struct domain *d, u64 gfn, u64 *pte,
- int order, int present)
-{
- struct acpi_drhd_unit *drhd;
- struct iommu *iommu = NULL;
- struct domain_iommu *hd = dom_iommu(d);
- bool_t flush_dev_iotlb;
- int iommu_domid;
- int rc = 0;
-
- iommu_sync_cache(pte, sizeof(struct dma_pte));
-
- for_each_drhd_unit ( drhd )
- {
- iommu = drhd->iommu;
- if ( !test_bit(iommu->index, &hd->arch.iommu_bitmap) )
- continue;
-
- flush_dev_iotlb = !!find_ats_dev_drhd(iommu);
- iommu_domid= domain_iommu_domid(d, iommu);
- if ( iommu_domid == -1 )
- continue;
-
- rc = iommu_flush_iotlb_psi(iommu, iommu_domid,
- (paddr_t)gfn << PAGE_SHIFT_4K,
- order, !present, flush_dev_iotlb);
- if ( rc > 0 )
- {
- iommu_flush_write_buffer(iommu);
- rc = 0;
- }
- }
-
- if ( unlikely(rc) )
- {
- if ( !d->is_shutting_down && printk_ratelimit() )
- printk(XENLOG_ERR VTDPREFIX
- " d%d: IOMMU pages flush failed: %d\n",
- d->domain_id, rc);
-
- if ( !is_hardware_domain(d) )
- domain_crash(d);
- }
-
- return rc;
-}
-
static int __init vtd_ept_page_compatible(struct iommu *iommu)
{
u64 ept_cap, vtd_cap = iommu->cap;
--- xen/include/asm-x86/iommu.h.orig
+++ xen/include/asm-x86/iommu.h
@@ -87,8 +87,9 @@ int iommu_setup_hpet_msi(struct msi_desc
/* While VT-d specific, this must get declared in a generic header. */
int adjust_vtd_irq_affinities(void);
-int __must_check iommu_pte_flush(struct domain *d, u64 gfn, u64 *pte,
- int order, int present);
+int __must_check iommu_flush_iotlb(struct domain *d, unsigned long gfn,
+ bool dma_old_pte_present,
+ unsigned int page_count);
bool_t iommu_supports_eim(void);
int iommu_enable_x2apic_IR(void);
void iommu_disable_x2apic_IR(void);

Some files were not shown because too many files have changed in this diff Show More