Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/kore kore: update to 4.0.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6242b4cd20ed
branches:  trunk
changeset: 438740:6242b4cd20ed
user:      fcambus <fcambus%pkgsrc.org@localhost>
date:      Wed Sep 09 09:19:34 2020 +0000

description:
kore: update to 4.0.1.

ChangeLog:

This patch release fixes an issue with the accept lock and pulls in a few
patches from NetBSD and OpenBSD ports to make maintainer life a little bit
easier.

Important changes:

- Pull in NetBSD and OpenBSD ports patches
- Only reset accept_avail if we actually grabbed the accept lock
- Fixed building with multiple make jobs if PYTHON=1 was specified

Small changes:

- Added BEERS file
- Fixed a few typos
- Removed lingering x86 seccomp code (Linux)

diffstat:

 www/kore/Makefile                     |   4 ++--
 www/kore/distinfo                     |  16 +++++++---------
 www/kore/patches/patch-Makefile       |  35 ++---------------------------------
 www/kore/patches/patch-kodev_Makefile |  21 +--------------------
 www/kore/patches/patch-src_cli.c      |  13 -------------
 www/kore/patches/patch-src_http.c     |  13 -------------
 6 files changed, 12 insertions(+), 90 deletions(-)

diffs (154 lines):

diff -r 95ff068d21f1 -r 6242b4cd20ed www/kore/Makefile
--- a/www/kore/Makefile Wed Sep 09 08:44:55 2020 +0000
+++ b/www/kore/Makefile Wed Sep 09 09:19:34 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2020/09/01 19:25:00 fcambus Exp $
+# $NetBSD: Makefile,v 1.9 2020/09/09 09:19:34 fcambus Exp $
 
-DISTNAME=      kore-4.0.0
+DISTNAME=      kore-4.0.1
 CATEGORIES=    www
 MASTER_SITES=  https://kore.io/releases/
 
diff -r 95ff068d21f1 -r 6242b4cd20ed www/kore/distinfo
--- a/www/kore/distinfo Wed Sep 09 08:44:55 2020 +0000
+++ b/www/kore/distinfo Wed Sep 09 09:19:34 2020 +0000
@@ -1,10 +1,8 @@
-$NetBSD: distinfo,v 1.3 2020/09/01 19:25:00 fcambus Exp $
+$NetBSD: distinfo,v 1.4 2020/09/09 09:19:34 fcambus Exp $
 
-SHA1 (kore-4.0.0.tar.gz) = e141ab0c822670bb12f16444620d4d5dad0e032e
-RMD160 (kore-4.0.0.tar.gz) = 86633d5e576fd627cbf56e7fce18f00aa1b021dc
-SHA512 (kore-4.0.0.tar.gz) = 3890e22a5498ec9e4018609faaf613e386ac3bc93a71b7427e5a9f901c772b5cf7415fb987560b41163e238b362eeb2169abf7511014a3be689d56dd064bbdf8
-Size (kore-4.0.0.tar.gz) = 1064443 bytes
-SHA1 (patch-Makefile) = 5b5ec065b60bca4f84175c77ef08f536f8e3e21c
-SHA1 (patch-kodev_Makefile) = 770a08a92c59a58ebb6f67306489cd2c10a5d190
-SHA1 (patch-src_cli.c) = aa5a2947dc168041d8b87917de76334442bd3738
-SHA1 (patch-src_http.c) = 8f0415e01fda6e95fbd9396a44c444ff3eac696e
+SHA1 (kore-4.0.1.tar.gz) = 0842720f19199ea20c16b37c86df6afd276bd59e
+RMD160 (kore-4.0.1.tar.gz) = 537f1da0b5b409f81319f65201c799644bbca923
+SHA512 (kore-4.0.1.tar.gz) = 61c977bed18ddacd8ad5cc842047483c19d064d3c1ba9f5dafd732410c7acbd6e5c0bdf071ffa8d26da924f710e5a11c05ec3d9370134604995bf7f8351129b9
+Size (kore-4.0.1.tar.gz) = 1063050 bytes
+SHA1 (patch-Makefile) = 83da2bb0dde7f33c53ad16710abcc7c906709e7a
+SHA1 (patch-kodev_Makefile) = c8006dd903e424826453cd6f980e4d3ca455a6ec
diff -r 95ff068d21f1 -r 6242b4cd20ed www/kore/patches/patch-Makefile
--- a/www/kore/patches/patch-Makefile   Wed Sep 09 08:44:55 2020 +0000
+++ b/www/kore/patches/patch-Makefile   Wed Sep 09 09:19:34 2020 +0000
@@ -1,17 +1,9 @@
-$NetBSD: patch-Makefile,v 1.2 2020/09/01 19:25:00 fcambus Exp $
+$NetBSD: patch-Makefile,v 1.3 2020/09/09 09:19:35 fcambus Exp $
 
-Adapt install target for pkgsrc.
+Remove hardcoded optimizations.
 
 --- Makefile.orig      2020-08-26 07:20:35.000000000 +0000
 +++ Makefile
-@@ -1,6 +1,7 @@
- # Kore Makefile
- 
- CC?=cc
-+DESTDIR?=
- PREFIX?=/usr/local
- OBJDIR?=obj
- KORE=kore
 @@ -48,8 +49,6 @@ endif
  
  ifneq ("$(NOOPT)", "")
@@ -21,26 +13,3 @@
  endif
  
  ifneq ("$(NOSENDFILE)", "")
-@@ -184,14 +183,14 @@ $(OBJDIR):
-       @mkdir -p $(OBJDIR)
- 
- install:
--      mkdir -p $(SHARE_DIR)
--      mkdir -p $(INCLUDE_DIR)
--      mkdir -p $(INSTALL_DIR)
--      mkdir -p $(MAN_DIR)/man1
--      install -m 644 share/man/kodev.1 $(MAN_DIR)/man1/kodev.1
--      install -m 555 $(KORE) $(INSTALL_DIR)/$(KORE)
--      install -m 644 kore.features $(SHARE_DIR)/features
--      install -m 644 include/kore/*.h $(INCLUDE_DIR)
-+      mkdir -p $(DESTDIR)$(SHARE_DIR)
-+      mkdir -p $(DESTDIR)$(INCLUDE_DIR)
-+      mkdir -p $(DESTDIR)$(INSTALL_DIR)
-+      mkdir -p $(DESTDIR)$(MAN_DIR)/man1
-+      install -m 644 share/man/kodev.1 $(DESTDIR)$(MAN_DIR)/man1/kodev.1
-+      install -m 555 $(KORE) $(DESTDIR)$(INSTALL_DIR)/$(KORE)
-+      install -m 644 kore.features $(DESTDIR)$(SHARE_DIR)/features
-+      install -m 644 include/kore/*.h $(DESTDIR)$(INCLUDE_DIR)
-       $(MAKE) -C kodev install
- 
- uninstall:
diff -r 95ff068d21f1 -r 6242b4cd20ed www/kore/patches/patch-kodev_Makefile
--- a/www/kore/patches/patch-kodev_Makefile     Wed Sep 09 08:44:55 2020 +0000
+++ b/www/kore/patches/patch-kodev_Makefile     Wed Sep 09 09:19:34 2020 +0000
@@ -1,17 +1,9 @@
-$NetBSD: patch-kodev_Makefile,v 1.2 2020/09/01 19:25:00 fcambus Exp $
+$NetBSD: patch-kodev_Makefile,v 1.3 2020/09/09 09:19:35 fcambus Exp $
 
 Adapt install target for pkgsrc.
 
 --- kodev/Makefile.orig        2020-08-26 07:20:35.000000000 +0000
 +++ kodev/Makefile
-@@ -4,6 +4,7 @@ CC?=cc
- PREFIX?=/usr/local
- OBJDIR?=obj
- KODEV=kodev
-+DESTDIR?=
- INSTALL_DIR=$(PREFIX)/bin
- 
- S_SRC=        ../src/cli.c
 @@ -16,8 +17,6 @@ LDFLAGS=-lcrypto
  
  ifneq ("$(NOOPT)", "")
@@ -21,14 +13,3 @@
  endif
  
  ifneq ("$(MINIMAL)", "")
-@@ -42,8 +41,8 @@ $(OBJDIR):
-       @mkdir -p $(OBJDIR)
- 
- install: $(KODEV)
--      mkdir -p $(INSTALL_DIR)
--      install -m 555 $(KODEV) $(INSTALL_DIR)/$(KODEV)
-+      mkdir -p $(DESTDIR)$(INSTALL_DIR)
-+      install -m 555 $(KODEV) $(DESTDIR)$(INSTALL_DIR)/$(KODEV)
- 
- uninstall:
-       rm -f $(INSTALL_DIR)/$(KODEV)
diff -r 95ff068d21f1 -r 6242b4cd20ed www/kore/patches/patch-src_cli.c
--- a/www/kore/patches/patch-src_cli.c  Wed Sep 09 08:44:55 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-src_cli.c,v 1.2 2020/09/01 19:25:00 fcambus Exp $
-
---- src/cli.c.orig     2020-08-26 07:20:35.000000000 +0000
-+++ src/cli.c
-@@ -1120,7 +1120,7 @@ cli_build_asset(char *fpath, struct dire
- 
-       /* Replace dots, spaces, etc etc with underscores. */
-       for (p = name; *p != '\0'; p++) {
--              if (*p == '.' || isspace(*p) || *p == '-')
-+              if (*p == '.' || isspace((unsigned char)*p) || *p == '-')
-                       *p = '_';
-       }
- 
diff -r 95ff068d21f1 -r 6242b4cd20ed www/kore/patches/patch-src_http.c
--- a/www/kore/patches/patch-src_http.c Wed Sep 09 08:44:55 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-src_http.c,v 1.2 2020/09/01 19:25:00 fcambus Exp $
-
---- src/http.c.orig    2020-08-26 07:20:35.000000000 +0000
-+++ src/http.c
-@@ -1002,7 +1002,7 @@ http_argument_urldecode(char *arg)
-                       return (KORE_RESULT_ERROR);
-               }
- 
--              if (!isxdigit(*(p + 1)) || !isxdigit(*(p + 2))) {
-+              if (!isxdigit((unsigned char)*(p + 1)) || !isxdigit((unsigned char)*(p + 2))) {
-                       *in++ = *p++;
-                       continue;
-               }



Home | Main Index | Thread Index | Old Index