From 92b1845c61b59659357b510ab79e67979645c88a Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 26 Dec 2020 11:59:05 -0500 Subject: ABI version actually didn't change I misunderstood the effect of libtool's -version-info flag. --- (limited to 'libwolfssl.24.pkg') diff --git a/libwolfssl.24.pkg/control b/libwolfssl.24.pkg/control new file mode 100644 index 0000000..2ea43a6 --- /dev/null +++ b/libwolfssl.24.pkg/control @@ -0,0 +1,9 @@ +Architecture: any +Platform: all +Section: lib +Depends: + ${Shlib-Depends}, +Description: Lightweight TLS library + ${Common-Description} + . + This package provides the wolfSSL TLS library. diff --git a/libwolfssl.24.pkg/docs b/libwolfssl.24.pkg/docs new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/libwolfssl.24.pkg/docs diff --git a/libwolfssl.24.pkg/files b/libwolfssl.24.pkg/files new file mode 100644 index 0000000..f2f486e --- /dev/null +++ b/libwolfssl.24.pkg/files @@ -0,0 +1 @@ +/usr/lib/*/libwolfssl.so.* diff --git a/libwolfssl.24.pkg/postinst b/libwolfssl.24.pkg/postinst new file mode 100644 index 0000000..9a23324 --- /dev/null +++ b/libwolfssl.24.pkg/postinst @@ -0,0 +1,11 @@ +#!/bin/sh + +libfile="/usr/lib/$(cat /etc/proteanos_arch)/libwolfssl.so.24.1.0" +liblink="/usr/lib/$(cat /etc/proteanos_arch)/libwolfssl.so.24" + +if [ x"${1}" = x'configure' ]; then + update-alternatives --install "${libfile}" "${libfile##*/}" \ + "${libfile}.std" 10 + update-alternatives --install "${liblink}" "${liblink##*/}" \ + "${liblink}.std" 10 +fi diff --git a/libwolfssl.24.pkg/prerm b/libwolfssl.24.pkg/prerm new file mode 100644 index 0000000..c1f779c --- /dev/null +++ b/libwolfssl.24.pkg/prerm @@ -0,0 +1,9 @@ +#!/bin/sh + +libfile="/usr/lib/$(cat /etc/proteanos_arch)/libwolfssl.so.24.1.0" +liblink="/usr/lib/$(cat /etc/proteanos_arch)/libwolfssl.so.24" + +if [ x"${1}" = x'remove' ]; then + update-alternatives --remove "${libfile##*/}" "${libfile}.std" + update-alternatives --remove "${liblink##*/}" "${liblink}.std" +fi -- cgit v0.9.1