--- my_mongodb-3.2.0p3.ebuild 2015-12-16 19:35:21.413367214 -0500 +++ my_mongodb-3.2.0p4.ebuild 2015-12-16 21:32:26.953413766 -0500 @@ -176,20 +176,27 @@ } pkg_postinst() { - if [[ ${REPLACING_VERSIONS} < 3.0 ]]; then - ewarn "!! IMPORTANT !!" - ewarn " " - ewarn "${PN} configuration files have changed !" - ewarn " " - ewarn "Make sure you migrate from /etc/conf.d/${PN} to the new YAML standard in /etc/${PN}.conf" - ewarn " http://docs.mongodb.org/manual/reference/configuration-options/" - ewarn " " - ewarn "Make sure you also follow the upgrading process :" - ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/" - ewarn " " - ewarn "MongoDB 3.0 introduces the WiredTiger storage engine." - ewarn "WiredTiger is incompatible with MMAPv1 and you need to dump/reload your data if you want to use it." - ewarn "Once you have your data dumped, you need to set storage.engine: wiredTiger in /etc/${PN}.conf" - ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/#change-storage-engine-to-wiredtiger" - fi + ewarn "!! IMPORTANT !!" + ewarn " " + ewarn "Make sure you check your configuration file in /etc/${PN}.conf" + ewarn "For more information about configuration options, see:" + ewarn " " + ewarn " https://docs.mongodb.org/manual/reference/configuration-options/" + ewarn " " + ewarn "If upgrading from an older deployment of ${PN}, Make sure you also follow" + ewarn "the upgrading process :" + ewarn " https://docs.mongodb.org/manual/release-notes/3.2-upgrade/" + ewarn " " + ewarn "MongoDB 3.2 uses the WiredTiger storage engine by default for new deployments. For" + ewarn "existing deployments in the version 3.0 series, MongoDB 3.2 will use the mmapv1 " + ewarn "storage engine if your existing databases were created with it. If you want to convert" + ewarn "from the mmapv1 storage engine to WiredTiger, you will need to dump your databases" + ewarn "with mongodump. Set the storage engine and specify a new dbpath in /etc/${PN}.conf." + ewarn "Create the dbpath and chmod it so that user mongodb has owner and group rwx permissions." + ewarn "You may also want to change the name of the logfile that mongod writes to." + ewarn " " + ewarn " https://docs.mongodb.org/release-notes/3.0-upgrade/#change-storage-engine-to-wiredtiger" + ewarn " " + ewarn "After emerging this package, remember to start the mongod server again. If needed, " + ewarn "restore databases with mongorestore." }