Skip to content

Commit

Permalink
[bot] AutoMerging: merge all upstream's changes:
Browse files Browse the repository at this point in the history
* https://github.com/coolsnowwolf/packages:
  django: bump to version 4.0.4
  Jinja2: change maintainer to Šimon Bořek
  Flask: change maintainer to Šimon Bořek
  php8: update to 8.1.5
  passh: updated per OpenWrt's common practice
  sexpect: updated per OpenWrt's common practice
  tintin: add new package (coolsnowwolf#418)
  boost: Bump to version 1.79.0 (coolsnowwolf#419)
  • Loading branch information
github-actions[bot] committed Apr 29, 2022
2 parents 3429345 + a2317dc commit 9d588c0
Show file tree
Hide file tree
Showing 13 changed files with 148 additions and 79 deletions.
4 changes: 2 additions & 2 deletions lang/php8/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=php
PKG_VERSION:=8.1.4
PKG_VERSION:=8.1.5
PKG_RELEASE:=1

PKG_MAINTAINER:=Michael Heimpold <mhei@heimpold.de>
Expand All @@ -16,7 +16,7 @@ PKG_CPE_ID:=cpe:/a:php:php

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=http://www.php.net/distributions/
PKG_HASH:=05a8c0ac30008154fb38a305560543fc172ba79fb957084a99b8d3b10d5bdb4b
PKG_HASH:=7647734b4dcecd56b7e4bd0bc55e54322fa3518299abcdc68eb557a7464a2e8a

PKG_BUILD_PARALLEL:=1
PKG_USE_MIPS16:=0
Expand Down
2 changes: 1 addition & 1 deletion lang/python/Flask/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PKG_RELEASE:=$(AUTORELEASE)
PYPI_NAME:=$(PKG_NAME)
PKG_HASH:=7b2fb8e934ddd50731893bdcdb00fc8c0315916f9fcd50d22c7cc1a95ab634e2

PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
PKG_MAINTAINER:=Šimon Bořek <simon.borek@nic.cz>
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE.rst
PKG_CPE_ID:=cpe:/a:palletsprojects:flask
Expand Down
2 changes: 1 addition & 1 deletion lang/python/Jinja2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PKG_RELEASE:=$(AUTORELEASE)
PYPI_NAME:=$(PKG_NAME)
PKG_HASH:=611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7

PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
PKG_MAINTAINER:=Šimon Bořek <simon.borek@nic.cz>
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:pocoo:jinja2
Expand Down
4 changes: 2 additions & 2 deletions lang/python/django/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=django
PKG_VERSION:=4.0.3
PKG_VERSION:=4.0.4
PKG_RELEASE:=$(AUTORELEASE)

PYPI_NAME:=Django
PKG_HASH:=77ff2e7050e3324c9b67e29b6707754566f58514112a9ac73310f60cd5261930
PKG_HASH:=4e8177858524417563cc0430f29ea249946d831eacb0068a1455686587df40b5

PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>, Peter Stadler <peter.stadler@student.uibk.ac.at>
PKG_LICENSE:=BSD-3-Clause
Expand Down
12 changes: 6 additions & 6 deletions libs/boost/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=boost
PKG_VERSION:=1.76.0
PKG_SOURCE_VERSION:=1_76_0
PKG_VERSION:=1.79.0
PKG_SOURCE_VERSION:=1_79_0
PKG_RELEASE:=$(AUTORELEASE)

PKG_SOURCE:=$(PKG_NAME)_$(PKG_SOURCE_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/$(PKG_NAME)/$(PKG_NAME)/$(PKG_VERSION) https://dl.bintray.com/boostorg/release/$(PKG_VERSION)/source/
PKG_HASH:=f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41
PKG_HASH:=475d589d51a7f8b3ba2ba4eda022b170e562ca3b760ee922c146b6c65856ef39

PKG_MAINTAINER:=Carlos M. Ferreira <carlosmf.pt@gmail.com>
PKG_LICENSE:=BSL-1.0
Expand All @@ -42,7 +42,7 @@ define Package/boost/Default
endef

define Package/boost/description
This package provides the Boost v1.76.0 libraries.
This package provides the Boost v1.79.0 libraries.
Boost is a set of free, peer-reviewed, portable C++ source libraries.

This package provides the following run-time libraries:
Expand Down Expand Up @@ -77,7 +77,7 @@ This package provides the following run-time libraries:
- wave

There are many more header-only libraries supported by Boost.
See more at http://www.boost.org/doc/libs/1_76_0/
See more at http://www.boost.org/doc/libs/1_78_0/
endef

PKG_BUILD_DEPENDS:=boost/host
Expand Down Expand Up @@ -342,7 +342,7 @@ $(eval $(call DefineBoostLibrary,coroutine,system chrono context thread,,!boost-
$(eval $(call DefineBoostLibrary,date_time))
#$(eval $(call DefineBoostLibrary,exception,,))
$(eval $(call DefineBoostLibrary,fiber,coroutine filesystem,,!boost-fiber-exclude))
$(eval $(call DefineBoostLibrary,filesystem,system))
$(eval $(call DefineBoostLibrary,filesystem,system atomic))
$(eval $(call DefineBoostLibrary,graph,regex))
$(eval $(call DefineBoostLibrary,iostreams,,,,zlib liblzma libbz2 libzstd))
$(eval $(call DefineBoostLibrary,json,container))
Expand Down
11 changes: 0 additions & 11 deletions libs/boost/patches/010-mips64-fiber.patch

This file was deleted.

29 changes: 0 additions & 29 deletions libs/boost/patches/020-regex.patch

This file was deleted.

47 changes: 47 additions & 0 deletions libs/boost/patches/910-json-array-erase-relocate.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
--- a/boost/json/impl/array.ipp
+++ b/boost/json/impl/array.ipp
@@ -491,8 +491,11 @@ erase(
auto const p = &(*t_)[0] +
(pos - &(*t_)[0]);
destroy(p, p + 1);
- relocate(p, p + 1, 1);
--t_->size;
+ if(t_->size > 0)
+ relocate(p, p + 1,
+ t_->size - (p -
+ &(*t_)[0]));
return p;
}

--- a/libs/json/test/array.cpp
+++ b/libs/json/test/array.cpp
@@ -1270,6 +1270,21 @@ public:
}

void
+ testIssue692()
+ {
+ array a;
+ object obj;
+ obj["test1"] = "hello";
+ a.push_back(obj);
+ a.push_back(obj);
+ a.push_back(obj);
+ a.push_back(obj);
+ a.push_back(obj);
+ while(a.size())
+ a.erase(a.begin());
+ }
+
+ void
run()
{
testDestroy();
@@ -1283,6 +1298,7 @@ public:
testExceptions();
testEquality();
testHash();
+ testIssue692();
}
};

28 changes: 14 additions & 14 deletions utils/passh/Makefile
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@

include $(TOPDIR)/rules.mk

PKG_NAME := passh
PKG_VERSION := 1.0.1
PKG_RELEASE := $(AUTORELEASE)
PKG_NAME:=passh
PKG_VERSION:=1.0.1
PKG_RELEASE:=$(AUTORELEASE)

PKG_SOURCE := $(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL := https://codeload.github.com/clarkwang/passh/tar.gz/v$(PKG_VERSION)?
PKG_HASH := f6efc7127515b3716108fa28439caca561d16923404bb1a8f734b41340b3f14e
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/clarkwang/passh/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=f6efc7127515b3716108fa28439caca561d16923404bb1a8f734b41340b3f14e

PKG_MAINTAINER := Clark Wang <dearvoid@gmail.com>
PKG_LICENSE := GPL-3.0
PKG_LICENSE_FILES := LICENSE
PKG_MAINTAINER:=Clark Wang <dearvoid@gmail.com>
PKG_LICENSE:=GPL-3.0-only
PKG_LICENSE_FILES:=LICENSE

include $(INCLUDE_DIR)/package.mk

define Package/passh
SECTION := utils
CATEGORY := Utilities
TITLE := an sshpass alternative
URL := https://github.com/clarkwang/passh
SECTION:=utils
CATEGORY:=Utilities
TITLE:=an sshpass alternative
URL:=https://github.com/clarkwang/passh
endef

define Package/passh/description
Passh is an sshpass alternative.
endef

define Build/Compile
$(TARGET_CC) $(TARGET_CFLAGS) -D_GNU_SOURCE $(TARGET_LDFLAGS) -Wall \
$(TARGET_CC) $(TARGET_CFLAGS) -D_GNU_SOURCE -Wall $(TARGET_LDFLAGS) \
$(PKG_BUILD_DIR)/passh.c -o $(PKG_BUILD_DIR)/$(PKG_NAME)
endef

Expand Down
6 changes: 6 additions & 0 deletions utils/passh/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

out=`$1 --version`
if [ "$out" != "$1 $2" ]; then
exit 1
fi
26 changes: 13 additions & 13 deletions utils/sexpect/Makefile
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@

include $(TOPDIR)/rules.mk

PKG_NAME := sexpect
PKG_VERSION := 2.3.8
PKG_RELEASE := $(AUTORELEASE)
PKG_NAME:=sexpect
PKG_VERSION:=2.3.8
PKG_RELEASE:=$(AUTORELEASE)

PKG_SOURCE := $(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL := https://codeload.github.com/clarkwang/sexpect/tar.gz/v$(PKG_VERSION)?
PKG_HASH := a586283210a76f03b9cce9f09aac28977d6fc3e314355e22c30d6f42524d9a42
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/clarkwang/sexpect/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=a586283210a76f03b9cce9f09aac28977d6fc3e314355e22c30d6f42524d9a42

PKG_MAINTAINER := Clark Wang <dearvoid@gmail.com>
PKG_LICENSE := GPL-3.0
PKG_LICENSE_FILES := LICENSE
PKG_MAINTAINER:=Clark Wang <dearvoid@gmail.com>
PKG_LICENSE:=GPL-3.0-only
PKG_LICENSE_FILES:=LICENSE

include $(INCLUDE_DIR)/package.mk

define Package/sexpect
SECTION := utils
CATEGORY := Utilities
TITLE := Expect for Shells
URL := https://github.com/clarkwang/sexpect
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Expect for Shells
URL:=https://github.com/clarkwang/sexpect
endef

define Package/sexpect/description
Expand Down
6 changes: 6 additions & 0 deletions utils/sexpect/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

out=`$1 --version`
if [ "$out" != "$1 $2" ]; then
exit 1
fi
50 changes: 50 additions & 0 deletions utils/tintin/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=tintin
PKG_VERSION:=2.02.20
PKG_RELEASE:=$(AUTORELEASE)

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/scandum/tintin/releases/download/$(PKG_VERSION)/
PKG_HASH:=331673e6ee3c945cf27e1c0d71cec1225c9d992588ed73b2a707c4c49523e8d2

PKG_MAINTAINER:=scandum <ivdhoven@gmail.com>
PKG_LICENSE:=GPL-3.0-or-later
PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:gnu:tt++

PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1

include $(INCLUDE_DIR)/package.mk

define Package/tintin
SECTION:=utils
CATEGORY:=Utilities
SUBMENU:=Terminal
TITLE:=tintin a MUD client
DEPENDS:=+zlib +libpcre +libgnutls
URL:=https://downloads.sf.net/tintin/
endef

define Package/tintin/description
TinTin++ is a command line MUD client which features support for TELNET,
PCRE, UTF-8, SSL, VT100, IPv6, the dynamic TINTIN scripting language,
a comprensive trigger system, and several other features geared towards
mudding, scripting, shell-scripting, text processing, automation,
interprocess communication, redirection, xterm terminal emulation, and
multiplexing / demultiplexing.
endef

define Build/Prepare
$(Build/Prepare/Default)
($(CP) $(PKG_BUILD_DIR)/../tt/src/. $(PKG_BUILD_DIR)/ && \
$(SED) 's/^.*ptmx.*/#&/' $(PKG_BUILD_DIR)/configure.in && \
$(SED) 's/^.*cannot check for file existence when cross compiling.*/#&/' $(PKG_BUILD_DIR)/configure)
endef
define Package/tintin/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/tt++ $(1)/usr/bin/
endef

$(eval $(call BuildPackage,tintin))

0 comments on commit 9d588c0

Please sign in to comment.