Bug 207417 - databases/mongodb32: Update to 3.2.3
Summary: databases/mongodb32: Update to 3.2.3
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kubilay Kocak
URL:
Keywords: easy, patch, patch-ready
Depends on:
Blocks:
 
Reported: 2016-02-22 12:47 UTC by Šimun Mikecin
Modified: 2016-02-27 14:22 UTC (History)
1 user (show)

See Also:
brendan+freebsd: maintainer-feedback+


Attachments
svn diff (1.06 KB, patch)
2016-02-22 12:47 UTC, Šimun Mikecin
brendan+freebsd: maintainer-approval-
Details | Diff
MongoDB 3.2.3 patch (2.50 KB, patch)
2016-02-24 23:29 UTC, Brendan Molloy
brendan+freebsd: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!