head 1.18; access; symbols pkgsrc-2019Q1:1.17.0.6 pkgsrc-2019Q1-base:1.17 pkgsrc-2018Q4:1.17.0.4 pkgsrc-2018Q4-base:1.17 pkgsrc-2018Q3:1.17.0.2 pkgsrc-2018Q3-base:1.17 pkgsrc-2018Q2:1.16.0.4 pkgsrc-2018Q2-base:1.16 pkgsrc-2018Q1:1.16.0.2 pkgsrc-2018Q1-base:1.16 pkgsrc-2017Q4:1.11.0.6 pkgsrc-2017Q4-base:1.11 pkgsrc-2017Q3:1.11.0.4 pkgsrc-2017Q3-base:1.11 pkgsrc-2017Q2:1.9.0.2 pkgsrc-2017Q2-base:1.9 pkgsrc-2017Q1:1.8.0.4 pkgsrc-2017Q1-base:1.8 pkgsrc-2016Q4:1.8.0.2 pkgsrc-2016Q4-base:1.8 pkgsrc-2016Q3:1.7.0.2 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.5.0.2 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.4.0.2 pkgsrc-2016Q1-base:1.4; locks; strict; comment @# @; 1.18 date 2019.04.14.15.36.24; author taca; state dead; branches; next 1.17; commitid fnwiypDMJRRRAkjB; 1.17 date 2018.07.17.10.56.23; author jperkin; state Exp; branches; next 1.16; commitid O51mOHjmREbTKtKA; 1.16 date 2018.03.29.03.09.35; author taca; state Exp; branches; next 1.15; commitid S0NTKMOTUUIWHiwA; 1.15 date 2018.02.23.15.26.14; author wiz; state Exp; branches; next 1.14; commitid x15k6tDgXoupSZrA; 1.14 date 2018.02.20.06.43.32; author wiz; state Exp; branches; next 1.13; commitid rOZvP8ofNCWf5zrA; 1.13 date 2018.02.19.16.46.26; author taca; state Exp; branches; next 1.12; commitid LeSSftLKVrnMrurA; 1.12 date 2018.01.26.10.54.15; author jperkin; state Exp; branches; next 1.11; commitid SO6frh3vnZY4hnoA; 1.11 date 2017.09.15.00.36.17; author taca; state Exp; branches 1.11.6.1; next 1.10; commitid PviCCEivTHWR7e7A; 1.10 date 2017.08.30.03.33.17; author taca; state Exp; branches; next 1.9; commitid O5n680Vk8biJCb5A; 1.9 date 2017.05.30.15.46.22; author taca; state Exp; branches 1.9.2.1; next 1.8; commitid EGGbs67EV8lnDqTz; 1.8 date 2016.11.13.15.14.20; author taca; state Exp; branches; next 1.7; commitid qm5UqobIQd4WOYtz; 1.7 date 2016.09.08.15.19.18; author joerg; state Exp; branches; next 1.6; commitid fhwICqTqzpVMXulz; 1.6 date 2016.07.10.18.42.50; author rillig; state Exp; branches; next 1.5; commitid skwuV1WwHILQ1Odz; 1.5 date 2016.05.15.14.19.56; author taca; state Exp; branches; next 1.4; commitid vo4SyvnN64Z9nA6z; 1.4 date 2016.03.17.07.55.43; author wiz; state Exp; branches; next 1.3; commitid aUk9RP9v1OoZ8YYy; 1.3 date 2016.03.05.11.28.44; author jperkin; state Exp; branches; next 1.2; commitid 1LoxeQftu903HrXy; 1.2 date 2016.02.25.14.42.57; author jperkin; state Exp; branches; next 1.1; commitid JSc9A5HC0VTu4jWy; 1.1 date 2015.12.30.14.59.42; author taca; state Exp; branches; next ; commitid mOsbPITCzM4IZYOy; 1.11.6.1 date 2018.03.02.20.35.49; author spz; state Exp; branches; next ; commitid QSPgU6PyR68RmVsA; 1.9.2.1 date 2017.09.15.19.25.13; author spz; state Exp; branches; next ; commitid WIdgu7wynkFrnk7A; desc @@ 1.18 log @lang/ruby23-base: remove ruby23-base package Remove ruby23-base package, now it is EOL. @ text @# $NetBSD: Makefile,v 1.17 2018/07/17 10:56:23 jperkin Exp $ DISTNAME= ${RUBY_DISTNAME} PKGNAME= ${RUBY_PKGPREFIX}-base-${RUBY_VERSION} CATEGORIES= lang ruby MASTER_SITES= ${MASTER_SITE_RUBY} MAINTAINER= taca@@NetBSD.org HOMEPAGE= ${RUBY_HOMEPAGE} COMMENT= Ruby ${RUBY_VERSION} release minimum base package RUBY_VERSIONS_ACCEPTED= 23 USE_GCC_RUNTIME= yes USE_LANGUAGES= c USE_TOOLS+= pax yacc pkg-config GNU_CONFIGURE= yes TEST_TARGET= test CONFIGURE_ARGS+= --enable-shared WRKSRC= ${RUBY_WRKSRC} .include "options.mk" .include "../../lang/ruby/platform.mk" .if !empty(RUBY_SUFFIX) CONFIGURE_ARGS+= --program-suffix=${RUBY_SUFFIX} CONFIGURE_ARGS+= --with-soname=${RUBY_NAME} CONFIGURE_ARGS+= --with-ruby-version=${RUBY_VER_DIR} CONFIGURE_ARGS+= --with-ruby-pc="ruby-${RUBY_VERSION}.pc" .endif DOCS= BSDL COPYING COPYING.ja ChangeLog LEGAL NEWS README.EXT README.EXT.ja \ README.ja.md README.md doc/ChangeLog-1.8.0 doc/ChangeLog-1.9.3 \ doc/ChangeLog-2.0.0 doc/ChangeLog-2.1.0 doc/ChangeLog-YARV \ doc/NEWS-1.8.7 doc/NEWS-1.9.1 doc/NEWS-1.9.2 doc/NEWS-1.9.3 \ doc/NEWS-2.0.0 doc/NEWS-2.1.0 doc/contributing.rdoc \ doc/contributors.rdoc doc/dtrace_probes.rdoc doc/etc.rd.ja \ doc/forwardable.rd.ja doc/globals.rdoc \ doc/images/boottime-classes.png doc/irb/irb-tools.rd.ja \ doc/irb/irb.rd.ja doc/keywords.rdoc doc/maintainers.rdoc \ doc/marshal.rdoc doc/pty/README.expect.ja doc/pty/README.ja \ doc/regexp.rdoc doc/security.rdoc doc/shell.rd.ja \ doc/standard_library.rdoc doc/syntax/assignment.rdoc \ doc/syntax/calling_methods.rdoc doc/syntax/control_expressions.rdoc \ doc/syntax/exceptions.rdoc doc/syntax/literals.rdoc \ doc/syntax/methods.rdoc doc/syntax/miscellaneous.rdoc \ doc/syntax/modules_and_classes.rdoc doc/syntax/precedence.rdoc \ doc/syntax/refinements.rdoc doc/syntax.rdoc EXT_DOCS= syslog/syslog.txt BIGDECIMAL_EXAMPLES= linear.rb nlsolve.rb pi.rb OPENSSL_EXAMPLES= c_rehash.rb cert2text.rb certstore.rb cipher.rb \ crlstore.rb echo_cli.rb echo_svr.rb gen_csr.rb \ smime_read.rb smime_write.rb wget.rb REPLACE_RUBY= bin/erb bin/gem bin/irb bin/rake bin/rdoc bin/ri \ gems/rake-10.4.2/bin/rake \ gems/net-telnet-0.1.1/bin/console \ gems/net-telnet-0.1.1/bin/setup REPLACE_RUBY_DIRS= ext lib sample INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${RUBY_DOC}/images \ ${RUBY_DOC}/irb ${RUBY_DOC}/pty ${RUBY_DOC}/ripper \ ${RUBY_DOC}/stringio ${RUBY_DOC}/syntax \ ${RUBY_EG}/bigdecimal ${RUBY_EG}/pty # ${RUBY_ARCHINC} ${RUBY_ARCHLIB} EMPTY_DIRS= generator/template markup/simple_markup pre-configure: ${RM} -f ${WRKSRC}/ext/gdbm/extconf.rb ${RM} -f ${WRKSRC}/ext/fiddle/extconf.rb ${RM} -f ${WRKSRC}/ext/readline/extconf.rb ${RM} -f ${WRKSRC}/ext/tk/extconf.rb ${RM} -f ${WRKSRC}/ext/tk/tkutil/extconf.rb ${TOUCH} ${WRKSRC}/prelude.c pre-install: cd ${WRKSRC}/lib; \ ${FIND} . \( -name '*.orig' -o -name '*.orig_dist' \) \ -exec ${RM} -f {} \; .for f in ${EMPTY_DIRS} ${RMDIR} ${WRKSRC}/lib/rdoc/${f} 2>/dev/null || ${TRUE} .endfor post-install: .for f in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}/${f:C/^doc\///} .endfor .for f in ${EXT_DOCS} ${INSTALL_DATA} ${WRKSRC}/ext/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC} .endfor cd ${WRKSRC}/ext/ripper; ${PAX} -rw README ${DESTDIR}${PREFIX}/${RUBY_DOC}/ripper cd ${WRKSRC}/ext/stringio; ${PAX} -rw README ${DESTDIR}${PREFIX}/${RUBY_DOC}/stringio cd ${WRKSRC}/sample; ${PAX} -rw . ${DESTDIR}${PREFIX}/${RUBY_EG} .for f in ${BIGDECIMAL_EXAMPLES} ${INSTALL_DATA} ${RUBY_WRKSRC}/ext/bigdecimal/sample/${f} \ ${DESTDIR}${PREFIX}/${RUBY_EG}/bigdecimal .endfor .for f in ${OPENSSL_EXAMPLES} ${INSTALL_DATA} ${RUBY_WRKSRC}/sample/openssl/${f} \ ${DESTDIR}${PREFIX}/${RUBY_EG}/openssl .endfor ${CHMOD} -R g-w ${DESTDIR}${PREFIX}/${GEM_HOME}/gems ${RUBY_GENERATE_PLIST} .include "../../mk/bdb.buildlink3.mk" .include "../../converters/libiconv/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" .include "../../textproc/libyaml/buildlink3.mk" .include "../../lang/ruby/Makefile.common" .include "../../mk/bsd.pkg.mk" @ 1.17 log @*: Add some required USE_GCC_RUNTIME. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2018/03/29 03:09:35 taca Exp $ @ 1.16 log @lang/ruby23-base: update to 2.3.7, security release Ruby 2.3.7 Released Posted by usa on 28 Mar 2018 Ruby 2.3.7 has been released. This release includes about 70 bug fixes after the previous release, and also includes several security fixes. Please check the topics below for details. * CVE-2017-17742: HTTP response splitting in WEBrick * CVE-2018-8777: DoS by large request in WEBrick * CVE-2018-6914: Unintentional file and directory creation with directory traversal in tempfile and tmpdir * CVE-2018-8778: Buffer under-read in String#unpack * CVE-2018-8779: Unintentional socket creation by poisoned NUL byte in UNIXServer and UNIXSocket * CVE-2018-8780: Unintentional directory traversal by poisoned NUL byte in Dir * Multiple vulnerabilities in RubyGems See the ChangeLog for details. After this release, we will end the normal maintenance phase of Ruby 2.3, and start the security maintenance phase of it. This means that after the release of 2.3.7 we will never backport any bug fixes to 2.3 except security fixes. The term of the security maintenance phase is scheduled for 1 year. By the end of this term, official support of Ruby 2.3 will be over. Therefore, we recommend that you start planning to upgrade to Ruby 2.5 or 2.4. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2018/02/23 15:26:14 wiz Exp $ d14 1 @ 1.15 log @lang/*: remove BROKEN markers for known openssl-1.1 breakage Requested by joerg. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2018/02/20 06:43:32 wiz Exp $ a4 1 PKGREVISION= 2 a7 4 PATCH_SITES= https://bugs.ruby-lang.org/attachments/download/7029/ PATCHFILES= rubygems-276-for-ruby23.patch PATCH_DIST_STRIP= -p0 @ 1.14 log @ruby23: mark as broken on NetBSD-current due to openssl-1.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2018/02/19 16:46:26 taca Exp $ a28 4 .if !empty(MACHINE_PLATFORM:MNetBSD-8.99.[1-9][0-9]-*) BROKEN= ruby-2.3 does not support OpenSSL-1.1 .endif @ 1.13 log @lang/ruby23-base: rubygem security fix Add an patch to fix security problem of rubygems. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2018/01/26 10:54:15 jperkin Exp $ d29 4 @ 1.12 log @ruby23-base: Don't add -std=iso9899:1999 to CPPFLAGS, invalid for C++. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2017/09/15 00:36:17 taca Exp $ d5 1 a5 1 PKGREVISION= 1 d9 4 @ 1.11 log @Update ruby23-base, ruby-gdbm, ruby-fiddle, ruby-readline, ruby-tk and ruby23 packages to 2.3.5. pkgsrc change: clean up PLIST. Ruby 2.3.5 Released Posted by usa on 14 Sep 2017 Ruby 2.3.5 has been released. This release includes about 70 bug fixes after the previous release, and also includes several security fixes. Please check the topics below for details. * CVE-2017-0898: Buffer underrun vulnerability in Kernel.sprintf * CVE-2017-10784: Escape sequence injection vulnerability in the Basic authentication of WEBrick * CVE-2017-14033: Buffer underrun vulnerability in OpenSSL ASN1 docode * CVE-2017-14064: Heap exposure vulnerability in generating JSON * Multiple vulnerabilities in RubyGems * Updated bundled libyaml to version 0.1.7 See the ChangeLog for details. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2017/08/30 03:33:17 taca Exp $ d5 1 @ 1.11.6.1 log @Pullup ticket #5706 - requested by taca lang/ruby23-base: security patch Revisions pulled up: - lang/ruby23-base/Makefile 1.12-1.13 - lang/ruby23-base/distinfo 1.12-1.15 - lang/ruby23-base/patches/patch-configure 1.5-1.7 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: jperkin Date: Tue Jan 16 14:53:28 UTC 2018 Modified Files: pkgsrc/lang/ruby22-base: distinfo pkgsrc/lang/ruby22-base/patches: patch-configure pkgsrc/lang/ruby23-base: distinfo pkgsrc/lang/ruby23-base/patches: patch-configure pkgsrc/lang/ruby24-base: distinfo pkgsrc/lang/ruby24-base/patches: patch-configure pkgsrc/lang/ruby25-base: distinfo pkgsrc/lang/ruby25-base/patches: patch-configure Log Message: ruby*-base: Don't add SSP flags, leave that to pkgsrc. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/ruby23-base/distinfo cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/ruby23-base/patches/patch-configure ------------------------------------------------------------------- Module Name: pkgsrc Committed By: jperkin Date: Fri Jan 26 10:54:15 UTC 2018 Modified Files: pkgsrc/lang/ruby23-base: Makefile distinfo pkgsrc/lang/ruby23-base/patches: patch-configure Log Message: ruby23-base: Don't add -std=iso9899:1999 to CPPFLAGS, invalid for C++. Bump PKGREVISION. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/ruby23-base/Makefile cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/ruby23-base/distinfo cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/ruby23-base/patches/patch-configure ------------------------------------------------------------------- Module Name: pkgsrc Committed By: jperkin Date: Fri Jan 26 11:53:09 UTC 2018 Modified Files: pkgsrc/lang/ruby23-base: distinfo pkgsrc/lang/ruby23-base/patches: patch-configure Log Message: ruby23-base: Change previous to set CFLAGS instead, ride revbump. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 pkgsrc/lang/ruby23-base/distinfo cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/ruby23-base/patches/patch-configure ------------------------------------------------------------------- Module Name: pkgsrc Committed By: taca Date: Mon Feb 19 16:46:26 UTC 2018 Modified Files: pkgsrc/lang/ruby23-base: Makefile distinfo Log Message: lang/ruby23-base: rubygem security fix Add an patch to fix security problem of rubygems. Bump PKGREVISION. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/ruby23-base/Makefile cvs rdiff -u -r1.14 -r1.15 pkgsrc/lang/ruby23-base/distinfo @ text @d1 1 a1 1 # $NetBSD$ a4 1 PKGREVISION= 2 a7 4 PATCH_SITES= https://bugs.ruby-lang.org/attachments/download/7029/ PATCHFILES= rubygems-276-for-ruby23.patch PATCH_DIST_STRIP= -p0 @ 1.10 log @Add patch to fix vulnerabilities of rubygems. https://www.ruby-lang.org/en/news/2017/08/29/multiple-vulnerabilities-in-rubygems/ * a DNS request hijacking vulnerability * an ANSI escape sequence vulnerability * a DoS vulernerability in the query command * a vulnerability in the gem installer that allowed a malicious gem to overwrite arbitrary files Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2017/05/30 15:46:22 taca Exp $ a4 1 PKGREVISION= 1 a7 3 PATCH_SITES= https://bugs.ruby-lang.org/attachments/download/6691/ PATCHFILES= rubygems-2613-ruby23.patch @ 1.9 log @Replace RUBY_VERSION_FULL with RUBY_VERSION since there is no RUBY_VERSION_FULL contains Ruby's patchlevel. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2016/11/13 15:14:20 taca Exp $ d5 1 d9 3 @ 1.9.2.1 log @Pullup ticket #5544 - requested by taca lang/ruby23-base: security and build fixes Revisions pulled up: - lang/ruby23-base/Makefile 1.10 - lang/ruby23-base/distinfo 1.7-1.9 - lang/ruby23-base/patches/patch-compile.c 1.1 - lang/ruby23-base/patches/patch-configure 1.3 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: taca Date: Thu Jul 6 16:35:05 UTC 2017 Modified Files: pkgsrc/lang/ruby22-base: distinfo pkgsrc/lang/ruby22-base/patches: patch-configure pkgsrc/lang/ruby23-base: distinfo pkgsrc/lang/ruby23-base/patches: patch-configure Log Message: Fix build problem when PKGSRC_USE_RELRO is not "no". * Pass LDFLAGS to LIBRUBY_DLDFLAGS via DLDFLAGS as Ruby 2.4 dose. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/ruby23-base/distinfo cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/ruby23-base/patches/patch-configure ------------------------------------------------------------------- Module Name: pkgsrc Committed By: taca Date: Mon Jul 24 13:38:42 UTC 2017 Modified Files: pkgsrc/lang/ruby23-base: distinfo Added Files: pkgsrc/lang/ruby23-base/patches: patch-compile.c Log Message: Fix build problem when set PKGSRC_USE_STACK_CHECK to "yes", which reported by wiz@@ via private mail. The problem exists basic use of auto variable. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/ruby23-base/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/lang/ruby23-base/patches/patch-compile.c ------------------------------------------------------------------- Module Name: pkgsrc Committed By: taca Date: Wed Aug 30 03:33:17 UTC 2017 Modified Files: pkgsrc/lang/ruby23-base: Makefile distinfo Log Message: Add patch to fix vulnerabilities of rubygems. https://www.ruby-lang.org/en/news/2017/08/29/multiple-vulnerabilities-in-rubygems/ * a DNS request hijacking vulnerability * an ANSI escape sequence vulnerability * a DoS vulernerability in the query command * a vulnerability in the gem installer that allowed a malicious gem to overwrite arbitrary files Bump PKGREVISION. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/ruby23-base/Makefile cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/ruby23-base/distinfo @ text @d1 1 a1 1 # $NetBSD$ a4 1 PKGREVISION= 1 a7 3 PATCH_SITES= https://bugs.ruby-lang.org/attachments/download/6691/ PATCHFILES= rubygems-2613-ruby23.patch @ 1.8 log @Trying to move common configuration to common place. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2016/09/08 15:19:18 joerg Exp $ d4 1 a4 1 PKGNAME= ${RUBY_PKGPREFIX}-base-${RUBY_VERSION_FULL} @ 1.7 log @Rename RUBY_VERSION_SUPPORTED into _RUBY_VERSIONS_ACCEPTED to follow the naming scheme of the other multi-version packages. Add support for the coorresponding RUBY_VERSIONS_INCOMPATIBLE list. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2016/07/10 18:42:50 rillig Exp $ a20 50 MAKE_DIRS= ${RUBY_SITEARCHLIB} ${RUBY_VENDORARCHLIB} # This file is directly installed from CHECK_INTERPRETER_SKIP+= ${GEM_HOME}/gems/test-unit-3.0.8/test/run-test.rb # # Don't reference pkgsrc's INSTALL macro since Ruby expect it could # execute by unprivileged user. # CONFIGURE_ENV+= INSTALL="${INSTALL} ${COPY}" \ INSTALL_DATA= INSTALL_PROGRAM= INSTALL_SCRIPT= CONFIGURE_ENV+= ac_cv_prog_PKG_CONFIG="" .include "../../mk/compiler.mk" .if !empty(PKGSRC_COMPILER:Msunpro) LIBS.SunOS+= -B static -lsunmath -B dynamic -lm LDFLAGS.SunOS+= -L${SUNWSPROBASE}/lib -Wl,-R${SUNWSPROBASE}/lib CONFIGURE_ENV+= LDSHARED="${CC} -G" .else LIBS.SunOS+= -lm .endif CONFIGURE_ENV.SunOS+= OBJCOPY=: # if present, an unsupported sysconf call is used CONFIGURE_ENV.MirBSD+= ac_cv_func_getgrnam_r=no # bmake doesn't like the codesign/POSTLINK constructs for Darwin. .if ${OPSYS} == "Cygwin" || ${OPSYS} == "Darwin" USE_TOOLS+= gmake MAKE_FILE= GNUmakefile .endif # Ruby build process depends on config.status's content CONFIG_STATUS_OVERRIDE= # empty MAKE_DIRS+= ${RUBY_SITERIDIR} FILES_SUBST+= DATE=${DATE:Q} REQD_DIRS+= ${GEM_HOME}/cache REQD_DIRS+= ${GEM_HOME}/doc SUBST_CLASSES+= conf SUBST_STAGE.conf= pre-install SUBST_FILES.conf= lib/rubygems/config_file.rb SUBST_SED.conf= -e "s|@@PKG_SYSCONFDIR@@|${PKG_SYSCONFDIR}|g" SUBST_MESSAGE.conf= Fixing configuration files. d22 1 a22 2 .include "../../lang/ruby/rubyversion.mk" a30 35 # # Ruby 2.0 don't like Apple's builtin OpenSSL. # .if ${OPSYS} == "Darwin" USE_BUILTIN.openssl= no .endif # # Win32 support (for Cygwin) # PLIST_VARS+= win32 .if ${OPSYS} == "Cygwin" PLIST.win32= yes .endif # # IRIX work around which should be fixed. # PLIST_VARS+= io .if ${OPSYS} != "IRIX" PLIST.io= yes .endif # # Work around for getucontext(3) # .if ${OPSYS} == "DragonFly" && ${OS_VERSION} == "1.8.0" CONFIGURE_ENV+= ac_cv_header_ucontext_h=no .endif # # prevent unwanted mkdir recorded in rbconfig.rb # CONFIGURE_ENV+= MKDIR_P=${MKDIR:Q} @ 1.6 log @Removed reference to undefined RUBY_LICENSE variable. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2016/05/15 14:19:56 taca Exp $ d12 1 a12 1 RUBY_VERSION_SUPPORTED= 23 @ 1.5 log @Update ruby23 and ruby23-base to 2.3.1. Ruby 2.3.1 Released Posted by nagachika on 26 Apr 2016 Ruby 2.3.1 has been released. This is the first TEENY version release of the stable 2.3 series. There are many bugfixes. See the ChangeLog for details. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2016/03/17 07:55:43 wiz Exp $ a10 1 LICENSE= ${RUBY_LICENSE} @ 1.4 log @Add upstream patch from SVN to fix build with RELRO. I don't see a relation to relro, but the linker found out about a missing symbol it didn't complain about before. SVN 54139: Thu Mar 17 11:36:27 2016 Nobuyoshi Nakada * ext/socket/option.c (inspect_tcpi_msec): more accurate condition for TCPI msec member inspection function. [ruby-core:74388] [Bug #12185] Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2016/03/05 11:28:44 jperkin Exp $ a4 1 PKGREVISION= 2 @ 1.3 log @Bump PKGREVISION for security/openssl ABI bump. @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.2 2016/02/25 14:42:57 jperkin Exp $ # d5 1 a5 1 PKGREVISION= 1 @ 1.2 log @Use OPSYSVARS. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2015/12/30 14:59:42 taca Exp $ d6 1 @ 1.1 log @Add ruby23-base package, core part of Ruby 2.3.0 pacakge. From release announce: Ruby 2.3.0 Released Posted by naruse on 25 Dec 2015 We are pleased to announce the release of Ruby 2.3.0. This is the first stable release of Ruby 2.3 series. It introduces many new features for example: A Frozen String Literal Pragma is introduced. With Ruby 2.1, "str".freeze has been optimized to reduce object allocation. Ruby 2.3 introduces a new magic comment and command line option to freeze all string literals in the source files. Additionally for debugging, you can get where the object is created on "can't modify frozen String" error by --debug=frozen-string-literal command line option. A safe navigation operator (so-called lonely operator) &., which already exists in C#, Groovy, and Swift, is introduced to ease nil handling as obj&.foo. Array#dig and Hash#dig are also added. Note that this behaves as try! of Active Support, which specially handle only nil. The did_you_mean gem is bundled. The did_you_mean gem shows the candidates on the NameError and NoMethodError to ease debugging. RubyVM::InstructionSequence#to_binary and .load_from_binary are introduced as experimental feature. With these features, we can make a ISeq (bytecode) pre-compilation system. It also includes many performance improvements for example, reconsider method entry data structure, introducing new table data structure, optimize Proc#call, machine code level tuning for object allocation and method calling code, smarter instance variable data structure, Socket and I/O allow to use “exception:” keywords for high-performance non-blocking I/O and so on. Check “Implementation improvements” section in NEWS file. For a complete list of new features and compatibility notes, please see NEWS and ChangeLog. @ text @d1 1 a1 1 # $NetBSD$ d47 1 a47 3 .if ${OPSYS} == "SunOS" CONFIGURE_ENV+= OBJCOPY=: .endif a48 1 .if ${OPSYS} == "MirBSD" d50 1 a50 2 CONFIGURE_ENV+= ac_cv_func_getgrnam_r=no .endif @