-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
71 changed files
with
1,242 additions
and
706 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=syslog-ng | ||
PKG_VERSION:=4.3.1 | ||
PKG_VERSION:=4.4.0 | ||
PKG_RELEASE:=1 | ||
|
||
PKG_MAINTAINER:=Josef Schlehofer <[email protected]> | ||
|
@@ -11,7 +11,7 @@ PKG_CPE_ID:=cpe:/a:balabit:syslog-ng | |
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_URL:=https://github.com/syslog-ng/syslog-ng/releases/download/$(PKG_NAME)-$(PKG_VERSION)/ | ||
PKG_HASH:=999dbab62982c3cffba02c0be22c596ee1ce81d6954689dc9b3a6afeb513cce3 | ||
PKG_HASH:=583b147f3ec17fbc2dbbf31aafb1e3966237d7541313de5b41ea885dc16d932e | ||
|
||
PKG_BUILD_PARALLEL:=1 | ||
PKG_INSTALL:=1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
include $(TOPDIR)/rules.mk | ||
|
||
GO_VERSION_MAJOR_MINOR:=1.21 | ||
GO_VERSION_PATCH:=1 | ||
GO_VERSION_PATCH:=2 | ||
|
||
PKG_NAME:=golang | ||
PKG_VERSION:=$(GO_VERSION_MAJOR_MINOR)$(if $(GO_VERSION_PATCH),.$(GO_VERSION_PATCH)) | ||
|
@@ -21,7 +21,7 @@ GO_SOURCE_URLS:=https://dl.google.com/go/ \ | |
|
||
PKG_SOURCE:=go$(PKG_VERSION).src.tar.gz | ||
PKG_SOURCE_URL:=$(GO_SOURCE_URLS) | ||
PKG_HASH:=bfa36bf75e9a1e9cbbdb9abcf9d1707e479bd3a07880a8ae3564caee5711cb99 | ||
PKG_HASH:=45e59de173baec39481854490d665b726cec3e5b159f6b4172e5ec7780b2c201 | ||
|
||
PKG_MAINTAINER:=Jeffery To <[email protected]> | ||
PKG_LICENSE:=BSD-3-Clause | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,16 +6,17 @@ | |
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=python-bcrypt | ||
PKG_VERSION:=3.2.2 | ||
PKG_VERSION:=4.0.1 | ||
PKG_RELEASE:=1 | ||
|
||
PYPI_NAME:=bcrypt | ||
PKG_HASH:=433c410c2177057705da2a9f2cd01dd157493b2a7ac14c8593a16b3dab6b6bfb | ||
PKG_HASH:=27d375903ac8261cfe4047f6709d16f7d18d39b1ec92aaf72af989552a650ebd | ||
|
||
PKG_LICENSE:=Apache-2.0 | ||
PKG_LICENSE_FILES:=LICENSE | ||
PKG_MAINTAINER:=Jeffery To <[email protected]> | ||
|
||
PKG_BUILD_DEPENDS:=libffi/host python-cffi/host # cffi>=1.1 | ||
PKG_BUILD_DEPENDS:=python-setuptools-rust/host | ||
|
||
include ../pypi.mk | ||
include $(INCLUDE_DIR)/package.mk | ||
|
@@ -27,11 +28,12 @@ define Package/python3-bcrypt | |
SUBMENU:=Python | ||
TITLE:=Modern password hashing | ||
URL:=https://github.com/pyca/bcrypt/ | ||
DEPENDS:=+python3-light +python3-cffi | ||
DEPENDS:=+python3-light $(RUST_ARCH_DEPENDS) | ||
endef | ||
|
||
define Package/python3-bcrypt/description | ||
Good password hashing for your software and your servers. | ||
Acceptable password hashing for your software and your servers (but you | ||
should really use argon2id or scrypt) | ||
endef | ||
|
||
$(eval $(call Py3Package,python3-bcrypt)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
|
||
[ "$1" = python3-bcrypt ] || exit 0 | ||
|
||
python3 - << EOF | ||
import sys | ||
import bcrypt | ||
password = b"super secret password" | ||
hashed = bcrypt.hashpw(password, bcrypt.gensalt()) | ||
sys.exit(0 if bcrypt.checkpw(password, hashed) else 1) | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
lang/python/python-cffi/patches/001-unpin-setuptools.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- a/pyproject.toml | ||
+++ b/pyproject.toml | ||
@@ -2,6 +2,6 @@ | ||
requires = [ | ||
# first version that supports Python 3.12; older versions may work | ||
# with previous Python versions, but are not tested | ||
- "setuptools >= 66.1" | ||
+ "setuptools" | ||
] | ||
build-backend = "setuptools.build_meta" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
|
||
[ "$1" = python3-cffi ] || exit 0 | ||
|
||
python3 - << EOF | ||
from cffi import FFI | ||
ffibuilder = FFI() | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/sh | ||
|
||
[ "$1" = python3-charset-normalizer ] || exit 0 | ||
|
||
python3 - << EOF | ||
import sys | ||
from charset_normalizer import from_bytes | ||
s = 'Bсеки човек има право на образование.' | ||
byte_str = s.encode('cp1251') | ||
result = from_bytes(byte_str).best() | ||
sys.exit(0 if str(result) == s else 1) | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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)) | ||
|
20 changes: 0 additions & 20 deletions
20
lang/python/python-cryptography/patches/0001-Add-new-ASN1_STRING_get0_data-API.patch
This file was deleted.
Oops, something went wrong.
55 changes: 0 additions & 55 deletions
55
...on/python-cryptography/patches/0002-Add-compatibility-for-X509_STORE_set_get_issuer.patch
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.