Date: Sun, 17 Mar 2019 18:47:04 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r496088 - in branches/2019Q1: Mk/Uses devel/ruby-gems devel/rubygem-io-like sysutils/vagrant textproc/rubygem-cld3 Message-ID: <201903171847.x2HIl4UE043044@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Mar 17 18:47:04 2019 New Revision: 496088 URL: https://svnweb.freebsd.org/changeset/ports/496088 Log: MFH: r493213 r493610 r495827 Remove outdated comment The corresponding patches of the 2 ports which contain rubygems version have been replaced by REINPLACE_CMD command in r486416 and r486417. Update devel/ruby-gems to 3.0.2 - Update Mk/Uses/gem.mk Changes: https://github.com/rubygems/rubygems/blob/master/History.txt PR: 235795 Submitted by: Yasuhiro KIMURA <yasu@utahime.org>, sunpoet (myself) Exp-run by: antoine Update to 3.0.3 Changes: https://github.com/rubygems/rubygems/blob/master/History.txt Security: 27b12d04-4722-11e9-8b7c-b5e01141761f Approved by: ports-secteam (joneum) Modified: branches/2019Q1/Mk/Uses/gem.mk branches/2019Q1/devel/ruby-gems/Makefile branches/2019Q1/devel/ruby-gems/distinfo branches/2019Q1/devel/ruby-gems/pkg-plist branches/2019Q1/devel/rubygem-io-like/Makefile branches/2019Q1/sysutils/vagrant/Makefile branches/2019Q1/sysutils/vagrant/pkg-plist branches/2019Q1/textproc/rubygem-cld3/Makefile Directory Properties: branches/2019Q1/ (props changed) Modified: branches/2019Q1/Mk/Uses/gem.mk ============================================================================== --- branches/2019Q1/Mk/Uses/gem.mk Sun Mar 17 18:42:11 2019 (r496087) +++ branches/2019Q1/Mk/Uses/gem.mk Sun Mar 17 18:47:04 2019 (r496088) @@ -74,9 +74,9 @@ GEMFILES= ${DISTNAME}${EXTRACT_SUFX} RUBYGEM_ARGS=-l --no-update-sources --install-dir ${STAGEDIR}${PREFIX}/lib/ruby/gems/${RUBY_VER} --ignore-dependencies --bindir=${STAGEDIR}${PREFIX}/bin .if ${PORT_OPTIONS:MDOCS} -RUBYGEM_ARGS+= --rdoc --ri +RUBYGEM_ARGS+= --document rdoc,ri .else -RUBYGEM_ARGS+= --no-rdoc --no-ri +RUBYGEM_ARGS+= --no-document .endif .if !target(do-extract) @@ -104,7 +104,7 @@ do-build: .if !target(do-install) do-install: - (cd ${BUILD_WRKSRC}; ${SETENV} ${GEM_ENV} ${RUBYGEMBIN} install ${RUBYGEM_ARGS} ${GEMFILES} -- --build-args ${CONFIGURE_ARGS}) + (cd ${BUILD_WRKSRC}; ${SETENV} ${GEM_ENV} ${RUBYGEMBIN} install ${RUBYGEM_ARGS} ${GEMFILES} -- ${CONFIGURE_ARGS}) ${RM} -r ${STAGEDIR}${PREFIX}/${GEMS_BASE_DIR}/build_info/ ${FIND} ${STAGEDIR}${PREFIX}/${GEMS_BASE_DIR} -type f -name '*.so' -exec ${STRIP_CMD} {} + ${FIND} ${STAGEDIR}${PREFIX}/${GEMS_BASE_DIR} -type f \( -name mkmf.log -or -name gem_make.out \) -delete Modified: branches/2019Q1/devel/ruby-gems/Makefile ============================================================================== --- branches/2019Q1/devel/ruby-gems/Makefile Sun Mar 17 18:42:11 2019 (r496087) +++ branches/2019Q1/devel/ruby-gems/Makefile Sun Mar 17 18:47:04 2019 (r496088) @@ -2,12 +2,9 @@ # $FreeBSD$ PORTNAME= gems -# Do not forget to check the following ports which contain gemspec patches: -# - security/rubygem-ezcrypto -# - www/rubygem-gitlab-grack -PORTVERSION= 2.7.8 +PORTVERSION= 3.0.3 CATEGORIES= devel ruby -MASTER_SITES= https://production.cf.rubygems.org/rubygems/ +MASTER_SITES= https://rubygems.org/rubygems/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTNAME= ruby${PORTNAME}-${PORTVERSION} DIST_SUBDIR= ruby @@ -20,11 +17,12 @@ LICENSE_COMB= dual LICENSE_FILE_MIT= ${WRKSRC}/MIT.txt LICENSE_FILE_RUBY= ${WRKSRC}/LICENSE.txt +USES= tar:tgz +USE_RUBY= yes + NO_ARCH= yes NO_BUILD= yes -USE_RUBY= yes RUBY_SETUP= setup.rb -USES= tar:tgz GEMS_BASE_DIR= lib/ruby/gems GEMS_BASE_DIR_P= ${GEMS_BASE_DIR} Modified: branches/2019Q1/devel/ruby-gems/distinfo ============================================================================== --- branches/2019Q1/devel/ruby-gems/distinfo Sun Mar 17 18:42:11 2019 (r496087) +++ branches/2019Q1/devel/ruby-gems/distinfo Sun Mar 17 18:47:04 2019 (r496088) @@ -1,3 +1,3 @@ -TIMESTAMP = 1541353342 -SHA256 (ruby/rubygems-2.7.8.tgz) = f0d04b15a2dcf16c30895839366b0f0735651ade6cdaa424b15c0fe77e2fdf58 -SIZE (ruby/rubygems-2.7.8.tgz) = 920781 +TIMESTAMP = 1552063707 +SHA256 (ruby/rubygems-3.0.3.tgz) = be3a7abc31e91de667406e84cd15265b73fc502268a1dd09404214a49b4acb2c +SIZE (ruby/rubygems-3.0.3.tgz) = 904175 Modified: branches/2019Q1/devel/ruby-gems/pkg-plist ============================================================================== --- branches/2019Q1/devel/ruby-gems/pkg-plist Sun Mar 17 18:42:11 2019 (r496087) +++ branches/2019Q1/devel/ruby-gems/pkg-plist Sun Mar 17 18:47:04 2019 (r496088) @@ -16,6 +16,7 @@ bin/gem%%RUBY_VER_SHORT%% %%RUBY_SITELIBDIR%%/rubygems/commands/fetch_command.rb %%RUBY_SITELIBDIR%%/rubygems/commands/generate_index_command.rb %%RUBY_SITELIBDIR%%/rubygems/commands/help_command.rb +%%RUBY_SITELIBDIR%%/rubygems/commands/info_command.rb %%RUBY_SITELIBDIR%%/rubygems/commands/install_command.rb %%RUBY_SITELIBDIR%%/rubygems/commands/list_command.rb %%RUBY_SITELIBDIR%%/rubygems/commands/lock_command.rb @@ -44,6 +45,7 @@ bin/gem%%RUBY_VER_SHORT%% %%RUBY_SITELIBDIR%%/rubygems/config_file.rb %%RUBY_SITELIBDIR%%/rubygems/core_ext/kernel_gem.rb %%RUBY_SITELIBDIR%%/rubygems/core_ext/kernel_require.rb +%%RUBY_SITELIBDIR%%/rubygems/core_ext/kernel_warn.rb %%RUBY_SITELIBDIR%%/rubygems/defaults.rb %%RUBY_SITELIBDIR%%/rubygems/dependency.rb %%RUBY_SITELIBDIR%%/rubygems/dependency_installer.rb @@ -165,6 +167,7 @@ bin/gem%%RUBY_VER_SHORT%% %%RUBY_SITELIBDIR%%/rubygems/source_specific_file.rb %%RUBY_SITELIBDIR%%/rubygems/spec_fetcher.rb %%RUBY_SITELIBDIR%%/rubygems/specification.rb +%%RUBY_SITELIBDIR%%/rubygems/specification_policy.rb %%RUBY_SITELIBDIR%%/rubygems/ssl_certs/index.rubygems.org/GlobalSignRootCA.pem %%RUBY_SITELIBDIR%%/rubygems/ssl_certs/rubygems.global.ssl.fastly.net/DigiCertHighAssuranceEVRootCA.pem %%RUBY_SITELIBDIR%%/rubygems/ssl_certs/rubygems.org/AddTrustExternalCARoot.pem Modified: branches/2019Q1/devel/rubygem-io-like/Makefile ============================================================================== --- branches/2019Q1/devel/rubygem-io-like/Makefile Sun Mar 17 18:42:11 2019 (r496087) +++ branches/2019Q1/devel/rubygem-io-like/Makefile Sun Mar 17 18:47:04 2019 (r496088) @@ -51,7 +51,7 @@ RAKE_BIN= ${LOCALBASE}/bin/rake GEMFILES= ${GEM_NAME}.gem -RUBYGEM_ARGS=-l --no-update-sources --no-ri --install-dir ${STAGEDIR}${PREFIX}/lib/ruby/gems/${RUBY_VER} --ignore-dependencies --bindir=${STAGEDIR}${PREFIX}/bin +RUBYGEM_ARGS= -l --no-update-sources --install-dir ${STAGEDIR}${PREFIX}/lib/ruby/gems/${RUBY_VER} --ignore-dependencies --bindir=${STAGEDIR}${PREFIX}/bin WRKSRC= ${WRKDIR}/${PORTNAME}-ruby-1.9-temp @@ -60,6 +60,14 @@ OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= rubygem-allison>=0:devel/rubygem-allison DOCS_VARS_OFF= RUBYGEM_ARGS+=--no-rdoc +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MDOCS} +RUBYGEM_ARGS+= --document rdoc,ri +.else +RUBYGEM_ARGS+= --no-document +.endif + post-patch: .for l in 1.8.6 1.8.7 1.9.2 1.9.3 @${ECHO} lib/io/like-${l}.rb >> ${WRKSRC}/MANIFEST @@ -72,7 +80,7 @@ do-build: @cd ${BUILD_WRKSRC} && ${RAKE_BIN} do-install: - @(cd ${INSTALL_WRKSRC}; ${SETENV} ${GEM_ENV} ${RUBYGEMBIN} install ${RUBYGEM_ARGS} pkg/${GEMFILES} -- --build-args ${CONFIGURE_ARGS}) + @(cd ${INSTALL_WRKSRC}; ${SETENV} ${GEM_ENV} ${RUBYGEMBIN} install ${RUBYGEM_ARGS} pkg/${GEMFILES} -- ${CONFIGURE_ARGS}) @${RM} -r ${STAGEDIR}${PREFIX}/${GEMS_BASE_DIR}/build_info @${RMDIR} ${STAGEDIR}/${PREFIX}/${GEMS_BASE_DIR}/extensions Modified: branches/2019Q1/sysutils/vagrant/Makefile ============================================================================== --- branches/2019Q1/sysutils/vagrant/Makefile Sun Mar 17 18:42:11 2019 (r496087) +++ branches/2019Q1/sysutils/vagrant/Makefile Sun Mar 17 18:47:04 2019 (r496088) @@ -4,6 +4,7 @@ PORTNAME= vagrant PORTVERSION= 2.2.2 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= sysutils rubygems devel MAINTAINER= joe@thrallingpenguin.com @@ -54,7 +55,7 @@ PLIST_SUB+= GEMS_DIR="lib/ruby/gems/${RUBY_VER}/" \ PORTVERSION="${PORTVERSION}" NO_ARCH= yes -RUBYGEM_ARGS= --no-ri --no-rdoc -l --no-update-sources \ +RUBYGEM_ARGS= -l --no-document --no-update-sources \ --install-dir ${STAGEDIR}${PREFIX}/lib/ruby/gems/${RUBY_VER} \ --ignore-dependencies --bindir=${STAGEDIR}${PREFIX}/bin GEM_ENV+= RB_USER_INSTALL=yes @@ -68,7 +69,8 @@ do-build: ${GEM_ENV} ${RUBYGEMBIN} build vagrant.gemspec) (cd ${WRKSRC}; ${SETENV} VAGRANT_INSTALLER_ENV=yes \ ${GEM_ENV} ${RUBYGEMBIN} install ${RUBYGEM_ARGS} \ - ${GEMFILES} -- --build-args ${CONFIGURE_ARGS}) + ${GEMFILES} -- ${CONFIGURE_ARGS}) + ${RMDIR} ${STAGEDIR}${PREFIX}/lib/ruby/gems/${RUBY_VER}/build_info ${MKDIR} ${STAGEDIR}${DATADIR}/embedded/rgloader ${INSTALL_DATA} ${FILESDIR}/cacert.pem \ ${STAGEDIR}${DATADIR}/embedded/cacert.pem Modified: branches/2019Q1/sysutils/vagrant/pkg-plist ============================================================================== --- branches/2019Q1/sysutils/vagrant/pkg-plist Sun Mar 17 18:42:11 2019 (r496087) +++ branches/2019Q1/sysutils/vagrant/pkg-plist Sun Mar 17 18:47:04 2019 (r496088) @@ -1,5 +1,4 @@ bin/vagrant -%%GEMS_DIR%%build_info/vagrant-%%PORTVERSION%%.info %%GEMS_DIR%%cache/vagrant-%%PORTVERSION%%.gem %%GEM_BASE_DIR%%/vagrant-%%PORTVERSION%%/.travis.yml %%GEM_BASE_DIR%%/vagrant-%%PORTVERSION%%/.vimrc Modified: branches/2019Q1/textproc/rubygem-cld3/Makefile ============================================================================== --- branches/2019Q1/textproc/rubygem-cld3/Makefile Sun Mar 17 18:42:11 2019 (r496087) +++ branches/2019Q1/textproc/rubygem-cld3/Makefile Sun Mar 17 18:47:04 2019 (r496088) @@ -20,7 +20,7 @@ USE_RUBY= yes ## do-install here to prevent removal of ext do-install: (cd ${BUILD_WRKSRC}; ${SETENV} ${GEM_ENV} ${RUBYGEMBIN} install \ - ${RUBYGEM_ARGS} ${GEMFILES} -- --build-args ${CONFIGURE_ARGS}) + ${RUBYGEM_ARGS} ${GEMFILES} -- ${CONFIGURE_ARGS}) ${RM} -r ${STAGEDIR}${PREFIX}/${GEMS_BASE_DIR}/build_info/ ${FIND} ${STAGEDIR}${PREFIX}/${GEMS_BASE_DIR} -type f -name '*.so' \ -exec ${STRIP_CMD} {} +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903171847.x2HIl4UE043044>