From 81a7fa0a7bd4ac9b2c99b07b1e0f107ae7eb43b3 Mon Sep 17 00:00:00 2001 From: DirectorX Date: Thu, 6 Aug 2026 17:51:50 +0300 Subject: [PATCH] hiredis: add ssl support --- srcpkgs/hiredis-ssl | 1 + srcpkgs/hiredis/template | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) create mode 120000 srcpkgs/hiredis-ssl diff --git a/srcpkgs/hiredis-ssl b/srcpkgs/hiredis-ssl new file mode 120000 index 00000000000000..ebc4fdcb20a7b0 --- /dev/null +++ b/srcpkgs/hiredis-ssl @@ -0,0 +1 @@ +hiredis \ No newline at end of file diff --git a/srcpkgs/hiredis/template b/srcpkgs/hiredis/template index dd0a3b7670c408..2cf83ea25456fa 100644 --- a/srcpkgs/hiredis/template +++ b/srcpkgs/hiredis/template @@ -1,9 +1,11 @@ # Template file for 'hiredis' pkgname=hiredis version=1.3.0 -revision=1 +revision=2 build_style=gnu-makefile -make_build_args="OPTIMIZATION= USE_WERROR=0" +make_build_args="OPTIMIZATION= USE_WERROR=0 USE_SSL=1" +make_install_args="USE_SSL=1" +makedepends="openssl-devel" checkdepends="redis" short_desc="Minimalistic C client for Redis" maintainer="Enno Boland " @@ -17,8 +19,16 @@ post_install() { vlicense COPYING } -hiredis-devel_package() { +hiredis-ssl_package() { depends="${sourcepkg}-${version}_${revision}" + short_desc+=" - ssl support" + pkg_install() { + vmove "usr/lib/*_ssl.so.1*" + } +} + +hiredis-devel_package() { + depends="${sourcepkg}-${version}_${revision} ${sourcepkg}-ssl-${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include