Bug 210569

Summary: [PATCH] databases/rocksdb: Add compatibility for building mongodb-rocks
Product: Ports & Packages Reporter: Šimun Mikecin <numisemis>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Many People CC: numisemis, sunpoet
Priority: --- Keywords: easy, patch, patch-ready
Version: LatestFlags: bugzilla: maintainer-feedback? (sunpoet)
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
svn diff
none
svn diff patch for version 4.6.1 none

Description Šimun Mikecin 2016-06-25 11:59:10 UTC
Created attachment 171785 [details]
svn diff

Added lib/librocksdb.so.4.5 that is required when rocksdb is used as a storage engine for MongoDB database.
Added missing dependency: archivers/liblz4.
Comment 1 Šimun Mikecin 2016-06-25 12:11:20 UTC
This update is required for:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210570
Comment 2 Šimun Mikecin 2016-07-19 09:07:13 UTC
Created attachment 172703 [details]
svn diff patch for version 4.6.1
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2016-11-19 11:12:58 UTC
lz4 is an optional dependency.
Comment 4 Šimun Mikecin 2016-11-19 12:04:53 UTC
lz4 is needed to support lz4 compression scheme in MongoDB.

It enables running mongod with option:
--rocksdbCompression=lz4

I think it is better do add it as a requirement than an option since lz4 is lightweight to build, so almost zero overhead.
Comment 5 Po-Chuan Hsieh freebsd_committer freebsd_triage 2016-11-23 16:01:16 UTC
LZ4 option is now enabled by default.