pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/ruby-sass-embedded



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu Oct 15 13:01:39 UTC 2026

Modified Files:
        pkgsrc/www/ruby-sass-embedded: distinfo
Added Files:
        pkgsrc/www/ruby-sass-embedded/patches: patch-ext_sass_Rakefile

Log Message:
ruby-sass-embedded: Disable pre-compiled binaries.

As if this package wasn't evil enough already performing fetch and build
during the install stage(!), it also downloads pre-compiled binaries on
certain platforms, causing PLIST failures and increased security hazards.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/www/ruby-sass-embedded/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/ruby-sass-embedded/patches/patch-ext_sass_Rakefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/ruby-sass-embedded/distinfo
diff -u pkgsrc/www/ruby-sass-embedded/distinfo:1.15 pkgsrc/www/ruby-sass-embedded/distinfo:1.16
--- pkgsrc/www/ruby-sass-embedded/distinfo:1.15 Thu Sep 24 05:30:58 2026
+++ pkgsrc/www/ruby-sass-embedded/distinfo      Thu Oct 15 13:01:38 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.15 2026/09/24 05:30:58 taca Exp $
+$NetBSD: distinfo,v 1.16 2026/10/15 13:01:38 jperkin Exp $
 
 BLAKE2s (sass-embedded-1.105.0.gem) = 67e574799a117dbe45df5f4ca900cb0f3a9e2d4d3c4bddc549e6182b0f2e77c0
 SHA512 (sass-embedded-1.105.0.gem) = 11dcb06e18b6b077762d02474a787998a05cdb737cf2f9d68fb97282cbed1a8a51da38f4314de012836c6dbb9879da6b587974e173a793bffacbd4e5171400e3
 Size (sass-embedded-1.105.0.gem) = 1051648 bytes
+SHA1 (patch-ext_sass_Rakefile) = 2dc42285621d7929f8e7465afddc87895d84488d

Added files:

Index: pkgsrc/www/ruby-sass-embedded/patches/patch-ext_sass_Rakefile
diff -u /dev/null pkgsrc/www/ruby-sass-embedded/patches/patch-ext_sass_Rakefile:1.1
--- /dev/null   Thu Oct 15 13:01:39 2026
+++ pkgsrc/www/ruby-sass-embedded/patches/patch-ext_sass_Rakefile       Thu Oct 15 13:01:38 2026
@@ -0,0 +1,24 @@
+$NetBSD: patch-ext_sass_Rakefile,v 1.1 2026/10/15 13:01:38 jperkin Exp $
+
+Disable fetching of binaries on supported platforms.
+
+--- ext/sass/Rakefile.orig     2026-10-15 12:53:04.130262211 +0000
++++ ext/sass/Rakefile
+@@ -69,7 +69,7 @@ file File.absolute_path('node_modules/sa
+   cp File.absolute_path("sass-#{SassConfig.dart_sass_version}.tgz", __dir__), ARCHDIR
+ 
+   begin
+-    sh 'npm', 'install', chdir: ARCHDIR
++    sh 'npm', 'install', '--omit=optional', '--ignore-scripts', '@parcel/watcher', chdir: ARCHDIR
+   rescue StandardError
+     begin
+       sh 'yarn', 'install', chdir: ARCHDIR
+@@ -84,7 +84,7 @@ file File.absolute_path('node_modules/sa
+ end
+ 
+ task 'dart-sass' => (
+-  if SassConfig.dart_support?
++  if false
+     File.absolute_path('dart-sass/sass', ARCHDIR)
+   else
+     File.absolute_path('node_modules/sass', ARCHDIR)



Home | Main Index | Thread Index | Old Index