Created attachment 175440 [details] add databases/mongodb34 port add databases/mongodb34 port.
Created attachment 176825 [details] do not change maintainer of mongodb
Created attachment 176826 [details] refresh patch
Created attachment 176840 [details] Update to 3.4.0 rc2 RC2 is available now.
Created attachment 176885 [details] update to 3.4.0 rc3
Created attachment 177491 [details] v3.4.0 release
Created attachment 178770 [details] fix compiling on 12-CURRENT, update to v3.4.1
Created attachment 181064 [details] mongodb34 3.4.0 port Hey, Any reason why this port was rejected. I have a working port very similar to this. I have tested this on both 10.3 and 11 and it works just fine. I am working on an update for the 3.4.2 release.
(In reply to Reshad from comment #7) Yes, mine works fine too. Because I lack of time to verify it on older FreeBSDs, I am running 12-CURRENT as my desktop, and had been wait too long for original maintainer response. I will reopen it and remove maintainer-feedback, hope it will be committed into ports.
(In reply to Eric Camachat from comment #8) I have tested mine quite extensively against 10.3 and 11.0 release, and preliminary tests on 12 (it compiles and starts) Let me know if you require any testing done on either platform.
Could you please explain the way you use attached files to build this port? "mongodb34 3.4.0 port" is a gzip archive of a binary data. How do you use that? "fix compiling on 12-CURRENT, update to v3.4.1" is a svn patch that failes with: /usr/ports# svn patch /tmp/mongodb34-patch.txt C databases/Makefile > rejected hunk @@ -200,6 +200,7 @@ svn: E155010: The node '/usr/ports/databases/mongodb34/Makefile' was not found. I suggest that you remove current attachments and attach a single shar archive that contains everything needed.
Created attachment 181294 [details] Update patch
(In reply to Šimun Mikecin from comment #10) I updated patch file. Also, "mongodb34 3.4.0 port" wasn't uploaded by me.
Created attachment 181307 [details] obsolete 3.4.0 port (In reply to Šimun Mikecin from comment #10) That is just the tar'd files of the port, did not have the svn ports tree handy and was taking ages to load. @Eric has uploaded a newer version that obsoletes mine.
Created attachment 181346 [details] mongobd 3.4.3 @Eric updated your port to the latest mongodb release 3.4.3 built both your 3.4.2 and 3.4.3 on FreeBSD 12 Current and got a bunch of warnings: /usr/include/c++/v1/math.h:864: warning: powl has lower than advertised precision Will build on 10.3 and 11.0 and let you know how that goes.
Created attachment 181367 [details] Update to mongodb v3.4.3
(In reply to Reshad from comment #14) /usr/include/c++/v1/math.h:864: warning: powl has lower than advertised precision That's because of FreeBSD has no real powl() implementation, it uses pow() instead. In some ARCHs long double == double, but on AMD64 long double != double.
(In reply to Eric Camachat from comment #15) I just built the port on FreeBSD 11 and 12 (removing the debug symbols) and it works fine, except that the pkg created does not create the /var/run/mongodb/ directory. Also it needs to set the permissions on the directory to mongodb:mongodb Will also build and test on 10 soon
Created attachment 181410 [details] Fix rc.d script
Hey, 3.4.4 was released a couple of days ago. Your 3.4.3 port has been working well for the past few weeks (11.0-RELEASE and 12-CURRENT) any idea if we can get this in the ports tree.
Take.
Hi Eric, thank you for taking care of the port. I have a question though. Why did you set MAINTAINER to brendan+freebsd@bbqsrc.net but not for yourself? This is a new port and one can't just offer a port to someone but oneself. BTW, Brendan is a maintainer of other ports and his approval is not needed. It's just a tradition to *ask* the maintainer of the old version port if he would like to sumbit/maintain a new version. In this case seems that Brandon is not interested in new port(s). In other words would you mind being a maintainer of this port?
(In reply to Reshad from comment #19) I started 3.4.4 poudriere testing.
(In reply to Boris Samorodov from comment #21) Because the Makefile was copied from databases/mongodb32, I'm OK to be the maintainer.
(In reply to Eric Camachat from comment #23) Great. Should I wait for your 3.4.4 patches? BTW, clang37 is no more available at 10.3, so Makefile should be changed a bit to confirm the change (to clang40).
Created attachment 182086 [details] Update to v3.4.4
Seems v3.4.4 running well at least for our applications.
Poudriere test build succeeded. Howeber "portlint -aCN" had some comments: --- FATAL: Makefile: DISTVERSIONPREFIX appears out-of-order. FATAL: Makefile: either PORTVERSION or DISTVERSION must be specified, not both. WARN: /usr/ports/databases/mongodb34/files/patch-rpm_mongod.conf: patch was not generated using ``make makepatch''. [...] --- I fixed those problems and now portlint is happy: --- looks fine. --- I'll commit the port soon.
A commit references this bug: Author: bsam Date: Wed Apr 26 12:34:46 UTC 2017 New revision: 439444 URL: https://svnweb.freebsd.org/changeset/ports/439444 Log: databases/mongodb34: Add a new stable mongodb 3.4.x version. PR: 213220 Submitted by: Eric Camachat <eric@camachat.org> Changes: head/databases/Makefile head/databases/mongodb34/ head/databases/mongodb34/Makefile head/databases/mongodb34/distinfo head/databases/mongodb34/files/mongod.in head/databases/mongodb34/files/patch-SConstruct head/databases/mongodb34/files/patch-rpm_mongod.conf head/databases/mongodb34/files/patch-src_mongo_db_fts_unicode_string.cpp head/databases/mongodb34/pkg-plist
Committed, thanks!