From 0c71486edd076f1bc9e080d7eaa31ea0fad6d15b Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 3 Nov 2019 17:59:51 -0800 Subject: [PATCH] minisatip: Update to 1.0.2 Switched to codeload for simplicity. Added patch to fix compilation without deprecated OpenSSL APIs. Added PKG_BUILD_PARALLEL for faster compilation. Signed-off-by: Rosen Penev --- multimedia/minisatip/Makefile | 11 ++++++----- multimedia/minisatip/patches/010-openssl.patch | 13 +++++++++++++ 2 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 multimedia/minisatip/patches/010-openssl.patch diff --git a/multimedia/minisatip/Makefile b/multimedia/minisatip/Makefile index ec07f879b8..1bda3daaf1 100644 --- a/multimedia/minisatip/Makefile +++ b/multimedia/minisatip/Makefile @@ -6,17 +6,18 @@ include $(TOPDIR)/rules.mk PKG_NAME:=minisatip +PKG_VERSION:=1.0.2 PKG_RELEASE:=1 -PKG_SOURCE_PROTO:=git -PKG_SOURCE_URL:=https://github.com/catalinii/minisatip.git -PKG_SOURCE_VERSION:=b9fcb51b207f3b26b32b9b7c0e633cffea82274d -PKG_SOURCE_DATE:=2019-07-08 -PKG_MIRROR_HASH:=1857595acb8216c078b1c4a355f7559cfce4dff22464a5b31c7712be6b374534 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://codeload.github.com/catalinii/minisatip/tar.gz/$(PKG_VERSION)? +PKG_HASH:=095c44e5a62710ecead71d35f2bdf542ea1c83f2427f3c56ec340f559c4c29a3 PKG_MAINTAINER:=Daniel Kucera PKG_LICENSE:=GPL-2.0-or-later +PKG_BUILD_PARALLEL:=1 + include $(INCLUDE_DIR)/package.mk define Package/minisatip diff --git a/multimedia/minisatip/patches/010-openssl.patch b/multimedia/minisatip/patches/010-openssl.patch new file mode 100644 index 0000000000..086b10d738 --- /dev/null +++ b/multimedia/minisatip/patches/010-openssl.patch @@ -0,0 +1,13 @@ +--- a/src/aes.c ++++ b/src/aes.c +@@ -164,9 +164,9 @@ SCW_op aes_cbc_op = + + void init_algo_aes() + { ++#if OPENSSL_VERSION_NUMBER < 0x10100000L + ERR_load_crypto_strings(); + OpenSSL_add_all_algorithms(); +-#if OPENSSL_VERSION_NUMBER < 0x10100000L + OPENSSL_config(NULL); + #endif + -- 2.30.2