minisatip: Update to 1.0.2 10470/head
authorRosen Penev <rosenp@gmail.com>
Mon, 4 Nov 2019 01:59:51 +0000 (17:59 -0800)
committerRosen Penev <rosenp@gmail.com>
Tue, 5 Nov 2019 21:48:59 +0000 (13:48 -0800)
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 <rosenp@gmail.com>
multimedia/minisatip/Makefile
multimedia/minisatip/patches/010-openssl.patch [new file with mode: 0644]

index ec07f879b83a70f4b7431626f3c2eff3857be385..1bda3daaf14dc454601657907c580bc82c482947 100644 (file)
@@ -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 <github@danman.eu>
 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 (file)
index 0000000..086b10d
--- /dev/null
@@ -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