Download raw body.
[patch] www/unit update to 1.33.0
Hi,
here's the patch to update www/unit to its recent version 1.33.0.
There are two patches can be safely removed, add to the upstream:
- unit/patches/patch-src_nxt_js_c
- unit/patches/patch-src_nxt_script_c
Thank you.
--
Sergey A. Osokin
Index: Makefile.inc
===================================================================
RCS file: /cvs/ports/www/unit/Makefile.inc,v
diff -u -p -r1.12 Makefile.inc
--- Makefile.inc 1 Jun 2024 16:16:09 -0000 1.12
+++ Makefile.inc 27 Nov 2024 20:44:44 -0000
@@ -1,4 +1,4 @@
-VERSION?= 1.32.1
+VERSION?= 1.33.0
DISTNAME= unit-${VERSION}
CATEGORIES= www
Index: unit/distinfo
===================================================================
RCS file: /cvs/ports/www/unit/unit/distinfo,v
diff -u -p -r1.8 distinfo
--- unit/distinfo 1 Jun 2024 16:16:09 -0000 1.8
+++ unit/distinfo 27 Nov 2024 20:44:44 -0000
@@ -1,2 +1,2 @@
-SHA256 (unit-1.32.1.tar.gz) = DkQO9jo635QA25eKZPyE4euIh/YaBMz/KEw/aC+4PqI=
-SIZE (unit-1.32.1.tar.gz) = 937669
+SHA256 (unit-1.33.0.tar.gz) = KpWTdHPI/wH2+6oBA7OIx2nfiiOWIkiwucuAtgbXQVU=
+SIZE (unit-1.33.0.tar.gz) = 1025455
Index: unit/patches/patch-auto_cc_test
===================================================================
RCS file: /cvs/ports/www/unit/unit/patches/patch-auto_cc_test,v
diff -u -p -r1.2 patch-auto_cc_test
--- unit/patches/patch-auto_cc_test 11 Mar 2022 20:11:05 -0000 1.2
+++ unit/patches/patch-auto_cc_test 27 Nov 2024 20:44:44 -0000
@@ -2,54 +2,23 @@ opt levels / debug should be under contr
disable -Werror as it often causes build issues on less-common archs
Index: auto/cc/test
---- auto/cc/test.orig
-+++ auto/cc/test
-@@ -104,7 +104,7 @@ case $NXT_CC_NAME in
- # c99/gnu99 conflict with Solaris XOPEN.
- #NXT_CFLAGS="$NXT_CFLAGS -std=gnu99"
+--- auto/cc/test.orig Wed Nov 27 15:30:38 2024
++++ auto/cc/test Wed Nov 27 15:31:32 2024
+@@ -69,7 +69,7 @@
+
+ NXT_CFLAGS="$NXT_CFLAGS -std=gnu11"
- NXT_CFLAGS="$NXT_CFLAGS -O"
+ #NXT_CFLAGS="$NXT_CFLAGS -O"
- #NXT_CFLAGS="$NXT_CFLAGS -O0"
- NXT_CFLAGS="$NXT_CFLAGS -W -Wall -Wextra"
+ NXT_CFLAGS="$NXT_CFLAGS -Wall -Wextra"
-@@ -126,10 +126,10 @@ case $NXT_CC_NAME in
- NXT_CFLAGS="$NXT_CFLAGS -Wmissing-prototypes"
+ #NXT_CFLAGS="$NXT_CFLAGS -Wunused-result"
+@@ -111,7 +111,7 @@
- # Stop on warning.
-- NXT_CFLAGS="$NXT_CFLAGS -Werror"
-+ #NXT_CFLAGS="$NXT_CFLAGS -Werror"
-
- # Debug.
-- NXT_CFLAGS="$NXT_CFLAGS -g"
-+ #NXT_CFLAGS="$NXT_CFLAGS -g"
- ;;
-
- clang)
-@@ -141,7 +141,7 @@ case $NXT_CC_NAME in
- # Do not export symbols except explicitly marked with NXT_EXPORT.
- NXT_CFLAGS="$NXT_CFLAGS -fvisibility=hidden"
+ NXT_CFLAGS="$NXT_CFLAGS -std=gnu11"
- NXT_CFLAGS="$NXT_CFLAGS -O"
+ #NXT_CFLAGS="$NXT_CFLAGS -O"
- #NXT_CFLAGS="$NXT_CFLAGS -O0"
- NXT_CFLAGS="$NXT_CFLAGS -W -Wall -Wextra"
-
-@@ -157,14 +157,15 @@ case $NXT_CC_NAME in
- NXT_CFLAGS="$NXT_CFLAGS -Wmissing-prototypes"
-
- # Stop on warning.
-- NXT_CFLAGS="$NXT_CFLAGS -Werror"
-+ #NXT_CFLAGS="$NXT_CFLAGS -Werror"
-
- # Debug.
-
- if [ "$NXT_SYSTEM_PLATFORM" != "powerpc" ]; then
- # "-g" flag causes the "unknown pseudo-op: `.cfi_sections'"
- # error on PowerPC Clang.
-- NXT_CFLAGS="$NXT_CFLAGS -g"
-+ #NXT_CFLAGS="$NXT_CFLAGS -g"
-+ :
- fi
- ;;
+ NXT_CFLAGS="$NXT_CFLAGS -Wall -Wextra"
+ #NXT_CFLAGS="$NXT_CFLAGS -Wunused-result"
Index: unit-perl/distinfo
===================================================================
RCS file: /cvs/ports/www/unit/unit-perl/distinfo,v
diff -u -p -r1.8 distinfo
--- unit-perl/distinfo 1 Jun 2024 16:16:09 -0000 1.8
+++ unit-perl/distinfo 27 Nov 2024 20:44:44 -0000
@@ -1,2 +1,2 @@
-SHA256 (unit-1.32.1.tar.gz) = DkQO9jo635QA25eKZPyE4euIh/YaBMz/KEw/aC+4PqI=
-SIZE (unit-1.32.1.tar.gz) = 937669
+SHA256 (unit-1.33.0.tar.gz) = KpWTdHPI/wH2+6oBA7OIx2nfiiOWIkiwucuAtgbXQVU=
+SIZE (unit-1.33.0.tar.gz) = 1025455
Index: unit-php/distinfo
===================================================================
RCS file: /cvs/ports/www/unit/unit-php/distinfo,v
diff -u -p -r1.8 distinfo
--- unit-php/distinfo 1 Jun 2024 16:16:09 -0000 1.8
+++ unit-php/distinfo 27 Nov 2024 20:44:44 -0000
@@ -1,2 +1,2 @@
-SHA256 (unit-1.32.1.tar.gz) = DkQO9jo635QA25eKZPyE4euIh/YaBMz/KEw/aC+4PqI=
-SIZE (unit-1.32.1.tar.gz) = 937669
+SHA256 (unit-1.33.0.tar.gz) = KpWTdHPI/wH2+6oBA7OIx2nfiiOWIkiwucuAtgbXQVU=
+SIZE (unit-1.33.0.tar.gz) = 1025455
Index: unit-python/distinfo
===================================================================
RCS file: /cvs/ports/www/unit/unit-python/distinfo,v
diff -u -p -r1.8 distinfo
--- unit-python/distinfo 1 Jun 2024 16:16:09 -0000 1.8
+++ unit-python/distinfo 27 Nov 2024 20:44:44 -0000
@@ -1,2 +1,2 @@
-SHA256 (unit-1.32.1.tar.gz) = DkQO9jo635QA25eKZPyE4euIh/YaBMz/KEw/aC+4PqI=
-SIZE (unit-1.32.1.tar.gz) = 937669
+SHA256 (unit-1.33.0.tar.gz) = KpWTdHPI/wH2+6oBA7OIx2nfiiOWIkiwucuAtgbXQVU=
+SIZE (unit-1.33.0.tar.gz) = 1025455
Index: unit-ruby/Makefile
===================================================================
RCS file: /cvs/ports/www/unit/unit-ruby/Makefile,v
diff -u -p -r1.8 Makefile
--- unit-ruby/Makefile 20 Jun 2024 22:41:25 -0000 1.8
+++ unit-ruby/Makefile 27 Nov 2024 20:44:44 -0000
@@ -2,7 +2,6 @@ BROKEN-sparc64= doesn't detect Ruby libr
UNIT_MODNAME= ruby${MODRUBY_REV}
UNIT_SHORTNAME= ruby
-REVISION= 0
MODULES+= lang/ruby
Index: unit-ruby/distinfo
===================================================================
RCS file: /cvs/ports/www/unit/unit-ruby/distinfo,v
diff -u -p -r1.8 distinfo
--- unit-ruby/distinfo 1 Jun 2024 16:16:09 -0000 1.8
+++ unit-ruby/distinfo 27 Nov 2024 20:44:44 -0000
@@ -1,2 +1,2 @@
-SHA256 (unit-1.32.1.tar.gz) = DkQO9jo635QA25eKZPyE4euIh/YaBMz/KEw/aC+4PqI=
-SIZE (unit-1.32.1.tar.gz) = 937669
+SHA256 (unit-1.33.0.tar.gz) = KpWTdHPI/wH2+6oBA7OIx2nfiiOWIkiwucuAtgbXQVU=
+SIZE (unit-1.33.0.tar.gz) = 1025455
[patch] www/unit update to 1.33.0