From owner-svn-ports-branches@freebsd.org Wed Nov 8 21:06:18 2017 Return-Path: Delivered-To: svn-ports-branches@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EAF91E5C0DC; Wed, 8 Nov 2017 21:06:18 +0000 (UTC) (envelope-from dch@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 879AC67744; Wed, 8 Nov 2017 21:06:18 +0000 (UTC) (envelope-from dch@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vA8L6HnB073660; Wed, 8 Nov 2017 21:06:17 GMT (envelope-from dch@FreeBSD.org) Received: (from dch@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vA8L6HFH073656; Wed, 8 Nov 2017 21:06:17 GMT (envelope-from dch@FreeBSD.org) Message-Id: <201711082106.vA8L6HFH073656@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dch set sender to dch@FreeBSD.org using -f From: Dave Cottlehuber Date: Wed, 8 Nov 2017 21:06:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r453765 - in branches/2017Q4/databases/couchdb: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: dch X-SVN-Commit-Paths: in branches/2017Q4/databases/couchdb: . files X-SVN-Commit-Revision: 453765 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2017 21:06:19 -0000 Author: dch Date: Wed Nov 8 21:06:17 2017 New Revision: 453765 URL: https://svnweb.freebsd.org/changeset/ports/453765 Log: MFH: r453729 databases/couchdb: 1.7.0 incl critical security fixes See https://blog.couchdb.org/2017/11/07/2-1-1-1-7-0/ for details; CVE notifications will land 2017-11-14 Reviewed by: olgeni (maintainer) Sponsored by: https://iwantmyname.com/ Differential Revision: https://reviews.freebsd.org/D12991 Approved by: ports-secteam (delphij) Deleted: branches/2017Q4/databases/couchdb/files/patch-configure branches/2017Q4/databases/couchdb/pkg-deinstall branches/2017Q4/databases/couchdb/pkg-install Modified: branches/2017Q4/databases/couchdb/Makefile branches/2017Q4/databases/couchdb/distinfo branches/2017Q4/databases/couchdb/files/pkg-message.in branches/2017Q4/databases/couchdb/pkg-plist Directory Properties: branches/2017Q4/ (props changed) Modified: branches/2017Q4/databases/couchdb/Makefile ============================================================================== --- branches/2017Q4/databases/couchdb/Makefile Wed Nov 8 20:18:36 2017 (r453764) +++ branches/2017Q4/databases/couchdb/Makefile Wed Nov 8 21:06:17 2017 (r453765) @@ -2,17 +2,17 @@ # $FreeBSD$ PORTNAME= couchdb -PORTVERSION= 1.6.1 -PORTREVISION= 12 +DISTVERSION= 1.7.0 PORTEPOCH= 2 CATEGORIES= databases -MASTER_SITES= APACHE/couchdb/source/${PORTVERSION} -DISTNAME= apache-couchdb-${PORTVERSION} +MASTER_SITES= APACHE/couchdb/source/${DISTVERSION} +DISTNAME= apache-couchdb-${DISTVERSION} MAINTAINER= olgeni@FreeBSD.org COMMENT= Document database server, accessible via a RESTful JSON API -LICENSE= APACHE20 +LICENSE= APACHE20 BSD3CLAUSE ISCL WTFPL OFL11 +LICENSE_COMB= multi LIB_DEPENDS= libicudata.so:devel/icu \ libmozjs185.so:lang/spidermonkey185 \ @@ -21,13 +21,10 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/help2man:misc/help2man erlang>=15.b.01,2:lang/erlang RUN_DEPENDS= erlang>=15.b.01,2:lang/erlang -USERS= couchdb -GROUPS= couchdb - +USES= cpe gmake libtool USE_RC_SUBR= couchdb SUB_FILES= pkg-message -PLIST_SUB= VERSION=${PORTVERSION} -USES= cpe gmake libtool +PLIST_SUB= VERSION=${DISTVERSION} CPE_VENDOR= apache GNU_CONFIGURE= yes USE_LDCONFIG= yes @@ -37,6 +34,9 @@ CONFIGURE_ARGS= --with-erlang=${LOCALBASE}/lib/erlang/ --with-js-include=${LOCALBASE}/include/js \ --with-js-lib=${LOCALBASE}/lib +USERS= couchdb +GROUPS= couchdb + # Override default value of ${STRIP} because the underlying Makefile # erroneously tries to install a shell script with ${STRIP}, causing # an install error. @@ -46,23 +46,6 @@ INFO= CouchDB .include -# This stanza could be removed around version 1.7 -pre-everything:: - @if [ -f ${PREFIX}/etc/couchdb/local.ini -a \ - ! -f ${PREFIX}/etc/couchdb/local.ini.sample ] && \ - ${PKG_INFO} -qX '${PKGBASE}-[01].[^2-6][0-9]*(\.[0-9a-z]*)*(,1)?'; \ - then ${ECHO_MSG} Please see UPDATING note 20120702 to avoid loss of your local.ini ; \ - exit 2 ; \ - fi - -pre-fetch: - @${ECHO_MSG} "" - @${ECHO_MSG} "If you are upgrading CouchDB, please double-check that the datafile is" - @${ECHO_MSG} "compatible and that you have BACKED UP YOUR DB directory before proceeding!" - @${ECHO_MSG} "" - @${ECHO_MSG} "Upgrading also might require you to rebuild your views entirely." - @${ECHO_MSG} "" - post-patch: # DB files are stored by default in /var/db/couchdb # Ports framework expects info pages to have an info extension @@ -77,9 +60,11 @@ post-patch-DOCS-off: post-configure: # Cater for parallel Spidermonkey v1.7 and v1.8.5 installs by ensuring that # jsapi.h gets pulled from /usr/local/include/js/ instead of /usr/local/include - @${FIND} ${WRKSRC} -name Makefile|${XARGS} ${REINPLACE_CMD} -e 's|include -I/usr/local/include/js|include/js -I/usr/local/include|' - + @${FIND} ${WRKSRC} -name Makefile|${XARGS} ${REINPLACE_CMD} \ + -e 's|include -I/usr/local/include/js|include/js -I/usr/local/include|' post-install: - @${CP} -p ${WRKSRC}/etc/couchdb/local.ini ${STAGEDIR}${PREFIX}/etc/couchdb/local.ini.sample + @${MV} ${STAGEDIR}${PREFIX}/lib/couchdb/bin/couchjs ${STAGEDIR}${PREFIX}/bin/couchjs + @${RMDIR} ${STAGEDIR}${PREFIX}/lib/couchdb/bin + @${MV} ${WRKSRC}/etc/couchdb/local.ini ${STAGEDIR}${PREFIX}/etc/couchdb/local.ini.sample .include Modified: branches/2017Q4/databases/couchdb/distinfo ============================================================================== --- branches/2017Q4/databases/couchdb/distinfo Wed Nov 8 20:18:36 2017 (r453764) +++ branches/2017Q4/databases/couchdb/distinfo Wed Nov 8 21:06:17 2017 (r453765) @@ -1,2 +1,3 @@ -SHA256 (apache-couchdb-1.6.1.tar.gz) = 5a601b173733ce3ed31b654805c793aa907131cd70b06d03825f169aa48c8627 -SIZE (apache-couchdb-1.6.1.tar.gz) = 12085350 +TIMESTAMP = 1509799562 +SHA256 (apache-couchdb-1.7.0.tar.gz) = 9b492e7e5389477107100ef83c41cc32185e2fe9cc88c19c550ed4b2192890dd +SIZE (apache-couchdb-1.7.0.tar.gz) = 9963874 Modified: branches/2017Q4/databases/couchdb/files/pkg-message.in ============================================================================== --- branches/2017Q4/databases/couchdb/files/pkg-message.in Wed Nov 8 20:18:36 2017 (r453764) +++ branches/2017Q4/databases/couchdb/files/pkg-message.in Wed Nov 8 21:06:17 2017 (r453765) @@ -1,30 +1,4 @@ -===> COMPATIBILITY NOTE: - 1.2.0 removed support for the old 0.9 database format. - - More info: - * http://wiki.apache.org/couchdb/Breaking_changes?action=show&redirect=BreakingChanges - -===> CONFIGURATION NOTES: - - PERFORMANCE - For best response (minimal delay) most sites will wish to uncomment this line - from %%PREFIX%%/etc/couchdb/local.ini: - - socket_options = [{recbuf, 262144}, {sndbuf, 262144}, {nodelay, true}] - - Otherwise you'll see a large delay when establishing connections to the DB. - - ADMIN ACCOUNT - By default no admin password or account is configured which leaves the DB - server open. Add accounts to the bottom of %%PREFIX%%/etc/couchdb/local.ini - to secure your installation (by default CouchDB listens on localhost only). - - DATABASE LOCATION - The DB files themselves are now stored in /var/db/couchdb by default. - Previous versions of this port defaulted to /var/lib/couchdb, and if - you installed directly from source /usr/local/lib/couchdb. - - If you are upgrading you may need to move your DB files to /var/db/couchdb - if you are not specifying database_dir and view_index_dir locations - in local.ini. - +ADMIN ACCOUNT +By default no admin password or account is configured which leaves the DB +server open. Add accounts to the bottom of %%PREFIX%%/etc/couchdb/local.ini +to secure your installation (by default CouchDB listens on localhost only). Modified: branches/2017Q4/databases/couchdb/pkg-plist ============================================================================== --- branches/2017Q4/databases/couchdb/pkg-plist Wed Nov 8 20:18:36 2017 (r453764) +++ branches/2017Q4/databases/couchdb/pkg-plist Wed Nov 8 21:06:17 2017 (r453765) @@ -2,9 +2,13 @@ bin/couch-config bin/couchdb bin/couchjs %%ETCDIR%%/default.ini +@dir(couchdb,couchdb,0750) %%ETCDIR%%/default.d +@dir(couchdb,couchdb,0750) %%ETCDIR%%/local.d +@dir(couchdb,couchdb,0750) /var/db/couchdb +@dir(couchdb,couchdb,0750) /var/log/couchdb +@dir(couchdb,couchdb,0750) /var/run/couchdb @sample(couchdb,couchdb,600) %%ETCDIR%%/local.ini.sample etc/logrotate.d/couchdb -lib/couchdb/bin/couchjs lib/couchdb/erlang/lib/couch-%%VERSION%%/ebin/couch.app lib/couchdb/erlang/lib/couch-%%VERSION%%/ebin/couch.beam lib/couchdb/erlang/lib/couch-%%VERSION%%/ebin/couch_app.beam @@ -45,6 +49,7 @@ lib/couchdb/erlang/lib/couch-%%VERSION%%/ebin/couch_os lib/couchdb/erlang/lib/couch-%%VERSION%%/ebin/couch_passwords.beam lib/couchdb/erlang/lib/couch-%%VERSION%%/ebin/couch_primary_sup.beam lib/couchdb/erlang/lib/couch-%%VERSION%%/ebin/couch_query_servers.beam +lib/couchdb/erlang/lib/couch-%%VERSION%%/ebin/couch_rand.beam lib/couchdb/erlang/lib/couch-%%VERSION%%/ebin/couch_ref_counter.beam lib/couchdb/erlang/lib/couch-%%VERSION%%/ebin/couch_secondary_sup.beam lib/couchdb/erlang/lib/couch-%%VERSION%%/ebin/couch_server.beam @@ -106,7 +111,6 @@ lib/couchdb/erlang/lib/ejson-0.1.0/ebin/mochinum.beam lib/couchdb/erlang/lib/ejson-0.1.0/priv/ejson.so lib/couchdb/erlang/lib/erlang-oauth/ebin/oauth.app lib/couchdb/erlang/lib/erlang-oauth/ebin/oauth.beam -lib/couchdb/erlang/lib/etap/ebin/etap.beam lib/couchdb/erlang/lib/ibrowse-2.2.0/ebin/ibrowse.app lib/couchdb/erlang/lib/ibrowse-2.2.0/ebin/ibrowse.beam lib/couchdb/erlang/lib/ibrowse-2.2.0/ebin/ibrowse_app.beam @@ -165,6 +169,7 @@ man/man1/couchjs.1.gz %%DATADIR%%/www/dialog/_admin_party.html %%DATADIR%%/www/dialog/_change_password.html %%DATADIR%%/www/dialog/_compact_cleanup.html +%%DATADIR%%/www/dialog/_copy_document.html %%DATADIR%%/www/dialog/_create_admin.html %%DATADIR%%/www/dialog/_create_config.html %%DATADIR%%/www/dialog/_create_database.html @@ -189,7 +194,6 @@ man/man1/couchjs.1.gz %%DATADIR%%/www/docs/_images/intro-consistency-06.png %%DATADIR%%/www/docs/_images/intro-consistency-07.png %%DATADIR%%/www/docs/_images/intro-tour-01.png -%%DATADIR%%/www/docs/_images/intro-tour-02.png %%DATADIR%%/www/docs/_images/intro-tour-03.png %%DATADIR%%/www/docs/_images/intro-tour-04.png %%DATADIR%%/www/docs/_images/intro-tour-05.png @@ -262,9 +266,6 @@ man/man1/couchjs.1.gz %%DATADIR%%/www/docs/_sources/cve/index.txt %%DATADIR%%/www/docs/_sources/experimental.txt %%DATADIR%%/www/docs/_sources/externals.txt -%%DATADIR%%/www/docs/_sources/fauxton/addons.txt -%%DATADIR%%/www/docs/_sources/fauxton/index.txt -%%DATADIR%%/www/docs/_sources/fauxton/install.txt %%DATADIR%%/www/docs/_sources/install/freebsd.txt %%DATADIR%%/www/docs/_sources/install/index.txt %%DATADIR%%/www/docs/_sources/install/mac.txt @@ -303,6 +304,7 @@ man/man1/couchjs.1.gz %%DATADIR%%/www/docs/_sources/whatsnew/1.4.txt %%DATADIR%%/www/docs/_sources/whatsnew/1.5.txt %%DATADIR%%/www/docs/_sources/whatsnew/1.6.txt +%%DATADIR%%/www/docs/_sources/whatsnew/1.7.txt %%DATADIR%%/www/docs/_sources/whatsnew/index.txt %%DATADIR%%/www/docs/_static/ajax-loader.gif %%DATADIR%%/www/docs/_static/basic.css @@ -386,9 +388,6 @@ man/man1/couchjs.1.gz %%DATADIR%%/www/docs/download.html %%DATADIR%%/www/docs/experimental.html %%DATADIR%%/www/docs/externals.html -%%DATADIR%%/www/docs/fauxton/addons.html -%%DATADIR%%/www/docs/fauxton/index.html -%%DATADIR%%/www/docs/fauxton/install.html %%DATADIR%%/www/docs/http-api.html %%DATADIR%%/www/docs/index.html %%DATADIR%%/www/docs/install/freebsd.html @@ -432,38 +431,16 @@ man/man1/couchjs.1.gz %%DATADIR%%/www/docs/whatsnew/1.4.html %%DATADIR%%/www/docs/whatsnew/1.5.html %%DATADIR%%/www/docs/whatsnew/1.6.html +%%DATADIR%%/www/docs/whatsnew/1.7.html %%DATADIR%%/www/docs/whatsnew/index.html %%DATADIR%%/www/document.html -%%DATADIR%%/www/fauxton/css/index.css -%%DATADIR%%/www/fauxton/img/FontAwesome.otf -%%DATADIR%%/www/fauxton/img/couchdb-site.png -%%DATADIR%%/www/fauxton/img/couchdblogo.png -%%DATADIR%%/www/fauxton/img/fontawesome-webfont.eot -%%DATADIR%%/www/fauxton/img/fontawesome-webfont.svg -%%DATADIR%%/www/fauxton/img/fontawesome-webfont.ttf -%%DATADIR%%/www/fauxton/img/fontawesome-webfont.woff -%%DATADIR%%/www/fauxton/img/fontcustom_fauxton.eot -%%DATADIR%%/www/fauxton/img/fontcustom_fauxton.svg -%%DATADIR%%/www/fauxton/img/fontcustom_fauxton.ttf -%%DATADIR%%/www/fauxton/img/fontcustom_fauxton.woff -%%DATADIR%%/www/fauxton/img/glyphicons-halflings-white.png -%%DATADIR%%/www/fauxton/img/glyphicons-halflings.png -%%DATADIR%%/www/fauxton/img/linen.png -%%DATADIR%%/www/fauxton/img/loader.gif -%%DATADIR%%/www/fauxton/img/minilogo.png -%%DATADIR%%/www/fauxton/index.html -%%DATADIR%%/www/fauxton/js/ace/mode-javascript.js -%%DATADIR%%/www/fauxton/js/ace/mode-json.js -%%DATADIR%%/www/fauxton/js/ace/theme-crimson_editor.js -%%DATADIR%%/www/fauxton/js/ace/worker-javascript.js -%%DATADIR%%/www/fauxton/js/ace/worker-json.js -%%DATADIR%%/www/fauxton/js/require.js %%DATADIR%%/www/favicon.ico %%DATADIR%%/www/image/add.png %%DATADIR%%/www/image/apply.gif %%DATADIR%%/www/image/bg.png %%DATADIR%%/www/image/cancel.gif %%DATADIR%%/www/image/compact.png +%%DATADIR%%/www/image/copy.png %%DATADIR%%/www/image/delete-mini.png %%DATADIR%%/www/image/delete.png %%DATADIR%%/www/image/grippie.gif @@ -501,7 +478,7 @@ man/man1/couchjs.1.gz %%DATADIR%%/www/script/futon.browse.js %%DATADIR%%/www/script/futon.format.js %%DATADIR%%/www/script/futon.js -%%DATADIR%%/www/script/jquery-ui-1.8.11.custom.min.js +%%DATADIR%%/www/script/jquery-ui-1.10.4.custom.min.js %%DATADIR%%/www/script/jquery.couch.js %%DATADIR%%/www/script/jquery.dialog.js %%DATADIR%%/www/script/jquery.editinline.js @@ -632,8 +609,3 @@ man/man1/couchjs.1.gz %%PORTDOCS%%%%DOCSDIR%%/NOTICE.gz %%PORTDOCS%%%%DOCSDIR%%/README.gz %%PORTDOCS%%%%DOCSDIR%%/THANKS.gz -@dir(couchdb,couchdb,750) %%ETCDIR%%/default.d -@dir(couchdb,couchdb,750) %%ETCDIR%%/local.d -@dir(couchdb,couchdb,750) /var/db/couchdb -@dir(couchdb,couchdb,750) /var/log/couchdb -@dir(couchdb,couchdb,750) /var/run/couchdb