Bug 207417

Summary: databases/mongodb32: Update to 3.2.3
Product: Ports & Packages Reporter: Šimun Mikecin <numisemis>
Component: Individual Port(s)Assignee: Kubilay Kocak <koobs>
Status: Closed FIXED    
Severity: Affects Only Me CC: brendan+freebsd
Priority: --- Keywords: easy, patch, patch-ready
Version: LatestFlags: brendan+freebsd: maintainer-feedback+
Hardware: Any   
OS: Any   
Attachments:
Description Flags
svn diff
brendan+freebsd: maintainer-approval-
MongoDB 3.2.3 patch brendan+freebsd: maintainer-approval+

Description Šimun Mikecin 2016-02-22 12:47:44 UTC
Created attachment 167295 [details]
svn diff

Set SASL option enabled by default bacause in MongoDB 3.x SCRAM-SHA-1 is default authentication mechanism.
Comment 1 Brendan Molloy 2016-02-22 23:39:11 UTC
(In reply to numisemis from comment #0)

Thanks for the contribution!

I have to do a couple more things to this before I'm going to commit, which is:

* Add a dependency on clang >= 3.7 to stop crashes which have been reported to MongoDB, and
* Remove support for i386 entirely as it will not build correctly in many situations, is already deprecated, and is effectively unsupported upstream.
Comment 2 Brendan Molloy 2016-02-24 23:29:46 UTC
Created attachment 167374 [details]
MongoDB 3.2.3 patch

 - Updates MongoDB to 3.2.3
 - Ensures that MongoDB is compiled with the Clang 3.7 found in the ports tree to work around some bugs found upstream
 - Removes i386 support entirely, as even now I get pkg-fallout due to mozjs failing to build in some circumstances, and the maintenance burden isn't worth it given 32bit is deprecated

A future revision may conditionally check the existence of a global clang that meets the requirements of this port, but right now that requires fixing some issues in compiler.mk and I don't feel it appropriate to replicate its entire functionality to fix this port for now.
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-02-27 14:19:04 UTC
A commit references this bug:

Author: koobs
Date: Sat Feb 27 14:18:16 UTC 2016
New revision: 409668
URL: https://svnweb.freebsd.org/changeset/ports/409668

Log:
  databases/mongodb32: Update to 3.2.3

  - Update PORTVERSION and distinfo checksum (3.2.3) [1]
  - Depend explicitly on Clang 3.7
  - Update ONLY_FOR_ARCHS{_REASON} to exclude i386

  Removes i386 support entirely, as even now I get pkg-fallout due to
  mozjs failing to build in some circumstances, and the maintenance
  burden isn't worth it given 32bit is deprecated.

  A future revision may conditionally check the existence of a global
  clang that meets the requirements of this port, but right now that
  requires fixing some issues in compiler.mk and I don't feel it
  appropriate to replicate its entire functionality to fix this port for
  now.

  PR:		207417
  Reported by:	<numisemis yahoo.com> [1]
  Submitted by:	Brendan Molloy <brendan+freebsd bbqsrc net> (maintainer)

Changes:
  head/databases/mongodb32/Makefile
  head/databases/mongodb32/distinfo
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2016-02-27 14:22:46 UTC
Committed, thank you!