Skip to content

Commit

Permalink
Merge Official Source
Browse files Browse the repository at this point in the history
Signed-off-by: Tianling Shen <[email protected]>
  • Loading branch information
1715173329 committed Sep 28, 2023
2 parents 811e55b + 90d12de commit 2fe7d6a
Show file tree
Hide file tree
Showing 36 changed files with 270 additions and 398 deletions.
6 changes: 3 additions & 3 deletions lang/php8-pecl-redis/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ include $(TOPDIR)/rules.mk
PECL_NAME:=redis
PECL_LONGNAME:=PHP extension for interfacing with Redis

PKG_VERSION:=5.3.7
PKG_RELEASE:=2
PKG_HASH:=b958166ccda4f40bd17c6998f9e2239021ae644467cd8ad5c15def420aad65b0
PKG_VERSION:=6.0.1
PKG_RELEASE:=1
PKG_HASH:=d39136e0ef9495f8e775ef7349a97658fb41c526d12d8e517f56274f149e1e4e

PKG_NAME:=php8-pecl-redis
PKG_SOURCE:=$(PECL_NAME)-$(PKG_VERSION).tgz
Expand Down
16 changes: 8 additions & 8 deletions lang/python/python-cryptography/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=python-cryptography
PKG_VERSION:=3.4.8
PKG_RELEASE:=3
PKG_VERSION:=41.0.4
PKG_RELEASE:=1

PYPI_NAME:=cryptography
PKG_HASH:=94cc5ed4ceaefcbe5bf38c8fba6a21fc1d365bb8fb826ea1688e3370b2e24a1c
PKG_HASH:=7febc3094125fc126a7f6fb1f420d0da639f3f32cb15c8ff0dc3997c4549f51a

PKG_LICENSE:=Apache-2.0 BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE.APACHE LICENSE.BSD
PKG_MAINTAINER:=Jeffery To <[email protected]>

PKG_BUILD_DEPENDS:=libffi/host python-cffi/host # cffi>=1.12
PKG_BUILD_DEPENDS:=libffi/host python-cffi/host python-setuptools-rust/host

include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
Expand All @@ -32,18 +32,18 @@ define Package/python3-cryptography
URL:=https://github.com/pyca/cryptography
DEPENDS:= \
+libopenssl \
+libopenssl-legacy \
+python3-light \
+python3-email \
+python3-openssl \
+python3-urllib \
+python3-cffi \
+python3-six
$(RUST_ARCH_DEPENDS)
endef

define Package/python3-cryptography/description
cryptography is a package which provides cryptographic recipes and
primitives to Python developers. Our goal is for it to be your "cryptographic
standard library". It supports Python 2.6-2.7, Python 3.3+, and PyPy 2.6+.
primitives to Python developers. Our goal is for it to be your
"cryptographic standard library".
endef

$(eval $(call Py3Package,python3-cryptography))
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

33 changes: 0 additions & 33 deletions lang/python/python-cryptography/patches/0004-disable-rust.patch

This file was deleted.

This file was deleted.

This file was deleted.

13 changes: 13 additions & 0 deletions lang/python/python-cryptography/patches/001-Update-ouroboros.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Fixes https://rustsec.org/advisories/RUSTSEC-2023-0042.html

--- a/src/rust/Cargo.toml
+++ b/src/rust/Cargo.toml
@@ -15,7 +15,7 @@ cryptography-cffi = { path = "cryptograp
cryptography-x509 = { path = "cryptography-x509" }
cryptography-openssl = { path = "cryptography-openssl" }
pem = "1.1"
-ouroboros = "0.15"
+ouroboros = "0.18"
openssl = "0.10.54"
openssl-sys = "0.9.88"
foreign-types-shared = "0.1"
Loading

0 comments on commit 2fe7d6a

Please sign in to comment.