Your message dated Thu, 25 Apr 2013 05:18:40 +0000
with message-id <[email protected]>
and subject line Bug#703061: fixed in mongodb 1:2.4.3-1
has caused the Debian Bug report #703061,
regarding mongodb: Enable building on kfreebsd
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
703061: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703061
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: mongodb
Version: 2.0.6-1
Severity: normal
Tags: upstream patch
Dear Maintainer,
I have modified mongodb so that it builds on kfreebsd-amd64 and probably
on kfreebsd-i386. I have not made serious use of this package yet, but
as I noticed tests are run during the package building process I guess
this provides some level of confidence in the result.
Please consider my patch for a future release of mongodb.
Thanks,
Jeff Epler <[email protected]>
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: kfreebsd-amd64 (x86_64)
Kernel: kFreeBSD 9.0-2-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru mongodb-2.0.6/debian/changelog mongodb-2.0.6/debian/changelog
--- mongodb-2.0.6/debian/changelog 2012-06-05 12:53:16.000000000 -0500
+++ mongodb-2.0.6/debian/changelog 2013-03-14 14:21:56.000000000 -0500
@@ -1,3 +1,10 @@
+mongodb (1:2.0.6-1.1) UNRELEASED; urgency=low
+
+ * Non-maintainer upload.
+ * Enable building on kfreebsd-*
+
+ -- Jeff Epler <[email protected]> Thu, 14 Mar 2013 13:37:54 -0500
+
mongodb (1:2.0.6-1) unstable; urgency=low
* New upstream release 2.0.6
diff -Nru mongodb-2.0.6/debian/control mongodb-2.0.6/debian/control
--- mongodb-2.0.6/debian/control 2012-06-05 12:53:16.000000000 -0500
+++ mongodb-2.0.6/debian/control 2013-03-14 13:48:02.000000000 -0500
@@ -10,7 +10,7 @@
Homepage: http://www.mongodb.org
Package: mongodb
-Architecture: i386 amd64
+Architecture: i386 amd64 kfreebsd-i386 kfreebsd-amd64
Depends: mongodb-server, mongodb-dev, ${shlibs:Depends}, ${misc:Depends}
Description: object/document-oriented database (metapackage)
MongoDB is a high-performance, open source, schema-free
@@ -33,7 +33,7 @@
This is a metapackage that depends on all the mongodb parts.
Package: mongodb-server
-Architecture: i386 amd64
+Architecture: i386 amd64 kfreebsd-i386 kfreebsd-amd64
Depends: mongodb-clients, ${shlibs:Depends}, ${misc:Depends}, adduser
Replaces: mongodb (<= 1:1.4.2-2)
Description: object/document-oriented database (server package)
@@ -57,7 +57,7 @@
This package contains the server itself.
Package: mongodb-clients
-Architecture: i386 amd64
+Architecture: i386 amd64 kfreebsd-i386 kfreebsd-amd64
Depends: ${shlibs:Depends}, ${misc:Depends}
Replaces: mongodb (<= 1:1.4.2-2)
Description: object/document-oriented database (client apps)
@@ -82,7 +82,7 @@
Package: mongodb-dev
Section: libdevel
-Architecture: i386 amd64
+Architecture: i386 amd64 kfreebsd-i386 kfreebsd-amd64
Depends: libboost-dev, ${shlibs:Depends}, ${misc:Depends}
Suggests: mongodb-server
Replaces: mongodb (<= 1:1.4.2-2)
diff -Nru mongodb-2.0.6/debian/patches/0004-enable-build-on-kfreebsd.patch mongodb-2.0.6/debian/patches/0004-enable-build-on-kfreebsd.patch
--- mongodb-2.0.6/debian/patches/0004-enable-build-on-kfreebsd.patch 1969-12-31 18:00:00.000000000 -0600
+++ mongodb-2.0.6/debian/patches/0004-enable-build-on-kfreebsd.patch 2013-03-14 14:21:19.000000000 -0500
@@ -0,0 +1,59 @@
+Subject: Enable build on kfreebsd
+Author: Jeff Epler <[email protected]>
+Forwarded: no
+
+Just a few things prevent mongodb from building and passing its
+smoketests on kfreebsd-amd64. Luckily enough, it seems that kfreebsd
+can be treated just like linux.
+
+--- a/SConstruct
++++ b/SConstruct
+@@ -394,7 +394,7 @@
+
+ if os.path.exists( "util/processinfo_" + os.sys.platform + ".cpp" ):
+ processInfoFiles += [ "util/processinfo_" + os.sys.platform + ".cpp" ]
+-elif os.sys.platform == "linux3":
++elif os.sys.platform in ('linux3', 'gnukfreebsd8', 'gnukfreebsd9'):
+ processInfoFiles += [ "util/processinfo_linux2.cpp" ]
+ else:
+ processInfoFiles += [ "util/processinfo_none.cpp" ]
+@@ -523,7 +523,7 @@
+ env.Append( CPPPATH=filterExists(["/sw/include" , "/opt/local/include"]) )
+ env.Append( LIBPATH=filterExists(["/sw/lib/", "/opt/local/lib"]) )
+
+-elif "linux2" == os.sys.platform or "linux3" == os.sys.platform:
++elif os.sys.platform in ('linux2', 'linux3', 'gnukfreebsd8', 'gnukfreebsd9'):
+ linux = True
+ platform = "linux"
+
+--- a/distsrc/client/SConstruct
++++ b/distsrc/client/SConstruct
+@@ -41,7 +41,7 @@
+ if "darwin" == os.sys.platform:
+ addExtraLibs( "/opt/local/" )
+ nix = True
+-elif "linux2" == os.sys.platform or "linux3" == os.sys.platform:
++elif os.sys.platform in ('linux2', 'linux3', 'gnukfreebsd8', 'gnukfreebsd9'):
+ nix = True
+ linux = True
+
+--- a/db/nonce.cpp
++++ b/db/nonce.cpp
+@@ -37,7 +37,7 @@
+ if( _initialized ) return;
+ _initialized = true;
+
+-#if defined(__linux__) || defined(__sunos__) || defined(__APPLE__)
++#if defined(__linux__) || defined(__sunos__) || defined(__APPLE__) || defined(__FreeBSD_kernel__)
+ _devrandom = new ifstream("/dev/urandom", ios::binary|ios::in);
+ massert( 10353 , "can't open dev/urandom", _devrandom->is_open() );
+ #elif defined(_WIN32)
+@@ -55,7 +55,7 @@
+ nonce64 Security::__getNonce() {
+ dassert( _initialized );
+ nonce64 n;
+-#if defined(__linux__) || defined(__sunos__) || defined(__APPLE__)
++#if defined(__linux__) || defined(__sunos__) || defined(__APPLE__) || defined(__FreeBSD_kernel__)
+ _devrandom->read((char*)&n, sizeof(n));
+ massert(10355 , "devrandom failed", !_devrandom->fail());
+ #elif defined(_WIN32)
diff -Nru mongodb-2.0.6/debian/patches/series mongodb-2.0.6/debian/patches/series
--- mongodb-2.0.6/debian/patches/series 2012-06-05 12:53:16.000000000 -0500
+++ mongodb-2.0.6/debian/patches/series 2013-03-14 14:12:37.000000000 -0500
@@ -1,3 +1,4 @@
0001-install-libs-to-usr-lib-not-usr-lib64-Closes-588557.patch
0002-Ignore-unused-but-set-variables-and-params-Closes-62.patch
0003-use-system-wide-pcre.patch
+0004-enable-build-on-kfreebsd.patch
--- End Message ---
--- Begin Message ---
Source: mongodb
Source-Version: 1:2.4.3-1
We believe that the bug you reported is fixed in the latest version of
mongodb, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Antonin Kral <[email protected]> (supplier of updated mongodb package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 24 Apr 2013 21:10:53 +0200
Source: mongodb
Binary: mongodb mongodb-server mongodb-clients mongodb-dev
Architecture: amd64 i386 source
Version: 1:2.4.3-1
Distribution: unstable
Urgency: low
Maintainer: Antonin Kral <[email protected]>
Changed-By: Antonin Kral <[email protected]>
Closes: 703061
Description:
mongodb-clients - object/document-oriented database (client apps)
mongodb-dev - object/document-oriented database (development)
mongodb - object/document-oriented database (metapackage)
mongodb-server - object/document-oriented database (server package)
Changes:
mongodb (1:2.4.3-1) unstable; urgency=low
.
[ Jeff Epler ]
* [2a15682] kfreebsd does not have tcmalloc
* [b66002a] enable building packages on kfreebsd
.
[ Rogério Brito ]
* [44bbe5b] debian/control: Make mongodb arch all, instead of
arch-specific.
* [50e5786] debian/patches: Add preparation for kFreeBSD.
* [164ec3b] debian/patches: Regenerate the patches from patch queue.
Thanks to Pino Toscano and Jeff Epler (Closes: #703061)
* [b960dca] debian/control: Remove libpcre3 from build-depends.
* [8e53a7e] debian/copyright: Wrap long lines.
* [f33d197] debian/control: Make the mongodb metapackage arch-dependent.
* [1771ce7] debian/control: Set priority of packages to extra.
* [198f7bb] debian/control: Mark libgoogle-perftools-dev as
linux-amd64 linux-i386.
* [02826cb] debian/patches: Take some patches for ARM from Ubuntu.
* [bfa912d] debian/patches: Remove patch that substituted install with
installs.
.
[ Antonin Kral ]
* [a618d03] new upstream release
https://jira.mongodb.org/browse/SERVER/fixforversion/12426
Checksums-Sha1:
85a92f7651c92442ebd9b82060231052b6013c9a 1719 mongodb_2.4.3-1.dsc
675936f8cd2aeecd6cddf4c7face203628c96ac9 10465634 mongodb_2.4.3.orig.tar.gz
874128338b8ce11f29b3c9a97477adfd965e9e5f 54372 mongodb_2.4.3-1.debian.tar.gz
6e5f2cee78cc8bf09ba8ae0c5ad3c830ae52a0d2 11688 mongodb_2.4.3-1_i386.deb
49ec9ff96e2dd39a81e479f602f52da07c27136d 6169484
mongodb-server_2.4.3-1_i386.deb
fa41dc59b4ac731e3493adab642b3e5a90f6cf66 42442014
mongodb-clients_2.4.3-1_i386.deb
91286edd04a766cd2515588fffa4238a58a4ac25 2181248 mongodb-dev_2.4.3-1_i386.deb
3637e67e204e348e098f95da989d7d7d314bb9ff 11690 mongodb_2.4.3-1_amd64.deb
e00c93d0b2306494675b9e2047d1c6bfdd452648 5945618
mongodb-server_2.4.3-1_amd64.deb
349679f900bd0f8ec8595c64d42422f985098531 40786518
mongodb-clients_2.4.3-1_amd64.deb
3e8850f634bb04ef62ef2d2309347931de9a203c 2189070 mongodb-dev_2.4.3-1_amd64.deb
Checksums-Sha256:
b469feacbd441c742194692dcbd8f579eaeacebfb4bbe4adcdd31f5ef5c49140 1719
mongodb_2.4.3-1.dsc
2841c4ed8ece256747316c298652007b375a65cf3b5b4a67552d2fcf8e8dc0c1 10465634
mongodb_2.4.3.orig.tar.gz
70df332312886e33a2020922af2e1f50342f786d4bbb4f1df81b533e6649143e 54372
mongodb_2.4.3-1.debian.tar.gz
51b18fb28ea5ecad992d80452f0c8b84e8434c940944ee57bbc1e0caeda1f0ab 11688
mongodb_2.4.3-1_i386.deb
ab0f1c29f1ea80e3ad180e73397e8fd55eb3f0f6dbfdcc20163d24425b483bdb 6169484
mongodb-server_2.4.3-1_i386.deb
8bc26c2320950bc31849a5cd394feefbd6069e9231f16ed93ba0938adf48f9f3 42442014
mongodb-clients_2.4.3-1_i386.deb
3204d352b366f5d3c13c93b780e30482b115557ca65be89e3e5b462f5e3fda2b 2181248
mongodb-dev_2.4.3-1_i386.deb
76604118f9184833eb01a1b58077ad6455abd7b5ef1aa9f20863ae2f9e0473e3 11690
mongodb_2.4.3-1_amd64.deb
c6a19f84d0a350fa2270d219a8a558cdbaeeb45be43a329a138fac8ec21b7dc7 5945618
mongodb-server_2.4.3-1_amd64.deb
e96dd40a844ac9ef8d1f316ebd648bba893f553570a2e822ac8a1dd3ae522f06 40786518
mongodb-clients_2.4.3-1_amd64.deb
77a2b80700da7f1747e0b5f3395e97d90245af2c5a1a3816bb5fa9d2cdba1a0f 2189070
mongodb-dev_2.4.3-1_amd64.deb
Files:
8ebbf2c56247633f4de9b536ac4d8673 1719 database extra mongodb_2.4.3-1.dsc
304ddfaa016aea05917db42e3fe425c5 10465634 database extra
mongodb_2.4.3.orig.tar.gz
4cbf874193974ef80040a706ba0937a1 54372 database extra
mongodb_2.4.3-1.debian.tar.gz
ebeaa6e02fd967b1d2a8368b0defe900 11688 database extra mongodb_2.4.3-1_i386.deb
59dc158e965cfe73cadca97d39c16350 6169484 database extra
mongodb-server_2.4.3-1_i386.deb
891e8e0b8449bf262fa16727a45e5897 42442014 database extra
mongodb-clients_2.4.3-1_i386.deb
683e8738b55aebed04e63e8a9baa4233 2181248 libdevel extra
mongodb-dev_2.4.3-1_i386.deb
dcb65c567790fbd572f7c8530dc443a5 11690 database extra mongodb_2.4.3-1_amd64.deb
59e84836eb0398587d98d55f5fe3d25d 5945618 database extra
mongodb-server_2.4.3-1_amd64.deb
5baef2cabb31c78b87ad5f539c8a24dd 40786518 database extra
mongodb-clients_2.4.3-1_amd64.deb
3cd937c36b72dc15f32f3359ec0faca8 2189070 libdevel extra
mongodb-dev_2.4.3-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlF4ua4ACgkQluuhBRvyMFp52QCfYLWXE8v7W0NTxp677GwhZazA
FHIAn0xiveys0hxA6fsL/dMFetPAcNt1
=XUXz
-----END PGP SIGNATURE-----
--- End Message ---