head 1.4; access; symbols pkgsrc-2023Q1:1.3.0.4 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.2 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.2.0.12 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.10 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.8 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.6 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.4 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.2 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.1.0.10 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.8 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.6 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.4 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.2 pkgsrc-2020Q1-base:1.1; locks; strict; comment @# @; 1.4 date 2023.05.30.15.52.14; author taca; state dead; branches; next 1.3; commitid ogZueWOqueGQe0rE; 1.3 date 2022.11.26.13.09.58; author taca; state Exp; branches; next 1.2; commitid F6XgseFftYO8id3E; 1.2 date 2021.04.11.12.32.03; author taca; state Exp; branches 1.2.12.1; next 1.1; commitid dYNSn8W81RwVaSOC; 1.1 date 2020.03.15.15.26.22; author taca; state Exp; branches 1.1.10.1; next ; commitid ksQh6Dex0nsAJv0C; 1.2.12.1 date 2022.11.30.17.37.36; author bsiegert; state Exp; branches; next ; commitid R0HDdcbXpoU1EK3E; 1.1.10.1 date 2021.04.15.07.38.17; author bsiegert; state Exp; branches; next ; commitid DEzn2IyVP5sdqmPC; desc @@ 1.4 log @lang/ruby27-base: remove package Ruby 2.7 reached EOL. @ text @$NetBSD: patch-configure,v 1.3 2022/11/26 13:09:58 taca Exp $ * Adding Interix support. * Ignore doxygen. * Ignore VCS. * Handle SSP in pkgsrc. * Put -std= in CFLAGS not CPPFLAGS. --- configure.orig 2022-11-24 12:42:10.000000000 +0000 +++ configure @@@@ -7709,7 +7709,7 @@@@ else $as_nop then : case "$target_os" in #( - darwin*) : + nodarwin*) : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for real target cpu" >&5 printf %s "checking for real target cpu... " >&6; } @@@@ -10064,6 +10064,7 @@@@ fi stack_protector=no ;; #( *) : + stack_protector=no ;; esac if test -z "${stack_protector+set}" @@@@ -12017,6 +12018,10 @@@@ esac ac_cv_func___builtin_setjmp=no ;; #( + interix*) : + LIBS="-lm $LIBS" + ac_cv_func_getpgrp_void=yes + ;; #( *) : ;; esac @@@@ -23748,7 +23753,9 @@@@ else #include #include #ifndef alloca -# ifdef __GNUC__ +# if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__) +# include +# elif defined __GNUC__ # define alloca __builtin_alloca # elif defined _MSC_VER # include @@@@ -28604,7 +28611,9 @@@@ fi interix*) : : ${LDSHARED='$(CC) -shared'} XLDFLAGS="$XLDFLAGS -Wl,-E" + DLDFLAGS="$DLDFLAGS "'-Wl,-h,$(.TARGET) -Wl,--image-base,$$(($$RANDOM %4096/2*262144+1342177280))' LIBPATHFLAG=" -L%1\$-s" + RPATHFLAG=' -Wl,-R%1$-s' rb_cv_dlopen=yes ;; #( freebsd*|dragonfly*) : @@@@ -28775,7 +28784,7 @@@@ fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $flag is accepted for bundle" >&5 printf %s "checking whether $flag is accepted for bundle... " >&6; } : > conftest.c - if ${LDSHARED/'$(CC)'/$CC} -o conftest.bundle $flag conftest.c >/dev/null 2>conftest.err && + if $(echo ${LDSHARED} | sed -e "s/'$(CC)'/$CC/g") -o conftest.bundle $flag conftest.c >/dev/null 2>conftest.err && test ! -s conftest.err then : @@@@ -29929,7 +29938,7 @@@@ fi ;; #( freebsd*|dragonfly*) : - LIBRUBY_SO='lib$(RUBY_SO_NAME).$(SOEXT).$(MAJOR)$(MINOR)' + LIBRUBY_SO='lib$(RUBY_SO_NAME).$(SOEXT).$(MAJOR)$(MINOR)$(TEENY)' LIBRUBY_SONAME='$(LIBRUBY_SO)' if test "$rb_cv_binary_elf" != "yes" then : @@@@ -30010,9 +30019,10 @@@@ esac ;; #( darwin*) : + RUBY_SO_NAME="${RUBY_SO_NAME}"'.$(RUBY_PROGRAM_VERSION)' LIBRUBY_SO='lib$(RUBY_SO_NAME).$(SOEXT)' - LIBRUBY_SONAME='$(LIBRUBY_SO)' - LIBRUBY_ALIASES='lib$(RUBY_INSTALL_NAME).$(SOEXT)' + LIBRUBY_SONAME='lib$(RUBY_BASE_NAME).$(RUBY_API_VERSION).$(SOEXT)' + LIBRUBY_ALIASES='$(LIBRUBY_SONAME) lib$(RUBY_INSTALL_NAME).$(SOEXT)' if test "$load_relative" = yes then : @@@@ -30035,7 +30045,12 @@@@ fi ;; #( interix*) : - LIBRUBYARG_SHARED='-L. -L${libdir} -l$(RUBY_SO_NAME)' + SOLIBS='$(LIBS)' + LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR).$(TEENY)' + # link explicitly to 0x48000000 + LIBRUBY_DLDFLAGS='-Wl,-h,lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR) -Wl,--image-base,1207959552' + LIBRUBYARG_SHARED='-Wl,-R -Wl,${PREFIX}/lib} -L${libdir} -L. -l$(RUBY_SO_NAME)' + LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR) lib$(RUBY_SO_NAME).so' ;; #( mingw*|cygwin*|mswin*) : @@@@ -30228,7 +30243,7 @@@@ then : esac rpathflag=`IFS="$PATH_SEPARATOR" echo x "$rpathflag" | - sed "s/^x *//;s${IFS}"'%1\\$-s'"${IFS}${libprefix}${IFS}g;s${IFS}%s${IFS}${libprefix}${IFS}g" + sed "s/^x *//;s${IFS}"'%1\\$-s'"${IFS}${libprefix}${IFS}g;s${IFS}%s${IFS}${PREFIX}/lib${IFS}g" ` LIBRUBY_RPATHFLAGS="$LIBRUBY_RPATHFLAGS${rpathflag}" LIBRUBYARG_SHARED="$LIBRUBY_RPATHFLAGS $LIBRUBYARG_SHARED" @@@@ -33031,21 +33046,7 @@@@ which seems to be undefined. Please mak "Makefile":F) tmpmk=confmk$$.tmp { - if test ${VCS+set} -then : - - : - -elif git_dir=`$GIT --work-tree="$srcdir" --git-dir="$srcdir/.git" rev-parse --git-dir 2>/dev/null` -then : - - VCS='$(GIT)' - -else $as_nop - VCS='echo cannot' - -fi case "$VCS" in #( '$(GIT)'|git) : VCSUP='$(VCS) pull $(GITPULLOPTIONS)' ;; #( @ 1.3 log @lang/ruby27-base: update to 2.7.7 Ruby 2.7.7 Released (2022-11-24) Ruby 2.7.7 has been released. This release includes a security fix. Please check the topics below for details. * CVE-2021-33621: HTTP response splitting in CGI This release also includes some build problem fixes. They are not considered to affect compatibility with previous versions. See the commit logs for further details. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.2 2021/04/11 12:32:03 taca Exp $ @ 1.2 log @lang/ruby27-base: update to 2.7.3 Ruby 2.7.3 Released (2021-04-05) This release includes security fixes. Please check the topics below for details. * CVE-2021-28965: XML round-trip vulnerability in REXML * CVE-2021-28966: Path traversal in Tempfile on Windows See the commit logs for details. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.1 2020/03/15 15:26:22 taca Exp $ d9 1 a9 1 --- configure.orig 2021-04-05 12:39:40.000000000 +0000 d11 2 a12 2 @@@@ -6469,7 +6469,7 @@@@ else if test x"$target_alias" = x; then : d18 3 a20 3 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for real target cpu" >&5 $as_echo_n "checking for real target cpu... " >&6; } @@@@ -8839,6 +8839,7 @@@@ fi d27 2 a28 2 if test -z "${stack_protector+set}"; then : @@@@ -10703,6 +10704,10 @@@@ esac d39 10 a48 2 @@@@ -22277,6 +22282,8 @@@@ else # ifdef _MSC_VER d50 1 a50 7 # define alloca _alloca +# elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__) +# include # else # ifdef HAVE_ALLOCA_H # include @@@@ -27482,7 +27489,9 @@@@ fi d60 10 a69 1 @@@@ -28743,7 +28752,7 @@@@ fi d76 3 a78 3 if test "$rb_cv_binary_elf" != "yes" ; then : @@@@ -28822,9 +28831,10 @@@@ esac d88 2 a89 1 if test "$load_relative" = yes; then : d91 1 a91 2 libprefix="@@executable_path/../${libdir_basename}" @@@@ -28845,7 +28855,12 @@@@ fi d105 1 a105 1 @@@@ -29027,7 +29042,7 @@@@ if test "$enable_rpath" = yes; then : d114 1 a114 1 @@@@ -31751,19 +31766,7 @@@@ which seems to be undefined. Please mak d118 2 a119 1 - if test ${VCS+set}; then : d123 2 a124 1 -elif git_dir=`$GIT --work-tree="$srcdir" --git-dir="$srcdir/.git" rev-parse --git-dir 2>/dev/null`; then : d128 1 a128 1 -else @ 1.2.12.1 log @Pullup ticket #6708 - requested by taca lang/ruby27-base: security fix Revisions pulled up: - lang/ruby/rubyversion.mk 1.258 - lang/ruby27-base/distinfo 1.11 - lang/ruby27-base/patches/patch-configure 1.3 --- Module Name: pkgsrc Committed By: taca Date: Sat Nov 26 13:09:59 UTC 2022 Modified Files: pkgsrc/lang/ruby: rubyversion.mk pkgsrc/lang/ruby27-base: distinfo pkgsrc/lang/ruby27-base/patches: patch-configure Log Message: lang/ruby27-base: update to 2.7.7 Ruby 2.7.7 Released (2022-11-24) Ruby 2.7.7 has been released. This release includes a security fix. Please check the topics below for details. * CVE-2021-33621: HTTP response splitting in CGI This release also includes some build problem fixes. They are not considered to affect compatibility with previous versions. See the commit logs for further details. @ text @d1 1 a1 1 $NetBSD$ d9 1 a9 1 --- configure.orig 2022-11-24 12:42:10.000000000 +0000 d11 2 a12 2 @@@@ -7709,7 +7709,7 @@@@ else $as_nop then : d18 3 a20 3 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for real target cpu" >&5 printf %s "checking for real target cpu... " >&6; } @@@@ -10064,6 +10064,7 @@@@ fi d27 2 a28 2 if test -z "${stack_protector+set}" @@@@ -12017,6 +12018,10 @@@@ esac d39 5 a43 6 @@@@ -23748,7 +23753,9 @@@@ else #include #include #ifndef alloca -# ifdef __GNUC__ +# if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__) d45 4 a48 5 +# elif defined __GNUC__ # define alloca __builtin_alloca # elif defined _MSC_VER # include @@@@ -28604,7 +28611,9 @@@@ fi d58 1 a58 10 @@@@ -28775,7 +28784,7 @@@@ fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $flag is accepted for bundle" >&5 printf %s "checking whether $flag is accepted for bundle... " >&6; } : > conftest.c - if ${LDSHARED/'$(CC)'/$CC} -o conftest.bundle $flag conftest.c >/dev/null 2>conftest.err && + if $(echo ${LDSHARED} | sed -e "s/'$(CC)'/$CC/g") -o conftest.bundle $flag conftest.c >/dev/null 2>conftest.err && test ! -s conftest.err then : @@@@ -29929,7 +29938,7 @@@@ fi d65 3 a67 3 if test "$rb_cv_binary_elf" != "yes" then : @@@@ -30010,9 +30019,10 @@@@ esac d77 1 a77 2 if test "$load_relative" = yes then : d79 2 a80 1 @@@@ -30035,7 +30045,12 @@@@ fi d94 1 a94 1 @@@@ -30228,7 +30243,7 @@@@ then : d103 1 a103 1 @@@@ -33031,21 +33046,7 @@@@ which seems to be undefined. Please mak d107 1 a107 2 - if test ${VCS+set} -then : d111 1 a111 2 -elif git_dir=`$GIT --work-tree="$srcdir" --git-dir="$srcdir/.git" rev-parse --git-dir 2>/dev/null` -then : d115 1 a115 1 -else $as_nop @ 1.1 log @lang/ruby27-base: add ruby-base version 2.7.0 Add ruby27-base 2.7.0 package. This package is Ruby 2.7 release minimum base package. Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward, and extensible. Features of Ruby are shown below. + Simple Syntax + *Normal* Object-Oriented features (ex. class, method calls) + *Advanced* Object-Oriented features (ex. Mix-in, Singleton-method) + Operator Overloading + Exception Handling + Iterators and Closures + Garbage Collection + Dynamic Loading of Object files (on some architecture) + Highly Portable (works on many UNIX machines, and on DOS, Windows, Mac, etc.) Ruby 2.7 introduces a number of new features and performance improvements, most notably: * Pattern Matching (Experimental) * REPL improvement * Compaction GC * Separation of positional and keyword arguments @ text @d1 1 a1 1 $NetBSD$ a7 1 * Fix argument for pthread_self() on NetBSD. d9 1 a9 1 --- configure.orig 2019-12-17 15:08:45.000000000 +0000 d20 1 a20 1 @@@@ -8831,6 +8831,7 @@@@ fi d28 1 a28 1 @@@@ -10695,6 +10696,10 @@@@ esac d39 1 a39 1 @@@@ -22269,6 +22274,8 @@@@ else d48 1 a48 15 @@@@ -26817,11 +26824,11 @@@@ if ${rb_cv_func_pthread_setname_np_argum else rb_cv_func_pthread_setname_np_arguments= # Linux,AIX, (pthread_self(), name) - # NetBSD (pthread_self(), name, \"%s\") + # NetBSD (pthread_self(), \"%s\", name) # Darwin (name) for mac in \ "(pthread_self(), name)" \ - "(pthread_self(), name, \"%s\")" \ + "(pthread_self(), \"%s\", name)" \ "(name)" \ ; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@@@ -27415,7 +27422,9 @@@@ fi d58 1 a58 1 @@@@ -28676,7 +28685,7 @@@@ fi d67 1 a67 1 @@@@ -28755,9 +28764,10 @@@@ esac d80 1 a80 1 @@@@ -28778,7 +28788,12 @@@@ fi d94 1 a94 1 @@@@ -28960,7 +28975,7 @@@@ if test "$enable_rpath" = yes; then : d103 1 a103 1 @@@@ -31684,19 +31699,7 @@@@ which seems to be undefined. Please mak @ 1.1.10.1 log @Pullup ticket #6444 - requested by taca lang/ruby27-base: security fix, bugfix Revisions pulled up: - lang/ruby/rubyversion.mk 1.229 - lang/ruby27-base/ALTERNATIVES 1.2 - lang/ruby27-base/PLIST 1.4 - lang/ruby27-base/distinfo 1.4 - lang/ruby27-base/patches/patch-configure 1.2 - lang/ruby27-base/patches/patch-lib_rubygems.rb 1.2 --- Module Name: pkgsrc Committed By: taca Date: Sun Apr 11 12:32:03 UTC 2021 Modified Files: pkgsrc/lang/ruby: rubyversion.mk pkgsrc/lang/ruby27-base: PLIST distinfo pkgsrc/lang/ruby27-base/patches: patch-configure patch-lib_rubygems.rb Log Message: lang/ruby27-base: update to 2.7.3 Ruby 2.7.3 Released (2021-04-05) This release includes security fixes. Please check the topics below for details. * CVE-2021-28965: XML round-trip vulnerability in REXML * CVE-2021-28966: Path traversal in Tempfile on Windows See the commit logs for details. --- Module Name: pkgsrc Committed By: taca Date: Sun Apr 11 13:00:38 UTC 2021 Modified Files: pkgsrc/lang/ruby27-base: ALTERNATIVES Log Message: lang/ruby27-base: fix ALTERNATIVES file @ text @d8 1 d10 1 a10 1 --- configure.orig 2021-04-05 12:39:40.000000000 +0000 d21 1 a21 1 @@@@ -8839,6 +8839,7 @@@@ fi d29 1 a29 1 @@@@ -10703,6 +10704,10 @@@@ esac d40 1 a40 1 @@@@ -22277,6 +22282,8 @@@@ else d49 15 a63 1 @@@@ -27482,7 +27489,9 @@@@ fi d73 1 a73 1 @@@@ -28743,7 +28752,7 @@@@ fi d82 1 a82 1 @@@@ -28822,9 +28831,10 @@@@ esac d95 1 a95 1 @@@@ -28845,7 +28855,12 @@@@ fi d109 1 a109 1 @@@@ -29027,7 +29042,7 @@@@ if test "$enable_rpath" = yes; then : d118 1 a118 1 @@@@ -31751,19 +31766,7 @@@@ which seems to be undefined. Please mak @