From 2ca2d78ca7df4dcd9df2fdf446cc96cde3a6b3c9 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 09 Aug 2020 18:33:57 -0400 Subject: wolfutil: New package --- diff --git a/wolfutil.pkg/control b/wolfutil.pkg/control new file mode 100644 index 0000000..bd12835 --- /dev/null +++ b/wolfutil.pkg/control @@ -0,0 +1,12 @@ +Architecture: any +Platform: all +Section: util +Depends: ${Shlib-Depends} +Description: Command-line TLS client utility + wolfutil is a command-line tool for the wolfSSL embedded (SSL/)TLS + library. It is similar to the OpenSSL command-line tool, providing only + a limited `s_client` TLS client command. The primary goal is to provide + enough functionality for use by BusyBox's wget applet. + . + wolfutil's `s_client` command is designed to be stronger by default than + OpenSSL's, as the latter is only meant to be a "diagnostic tool". diff --git a/wolfutil.pkg/docs b/wolfutil.pkg/docs new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/wolfutil.pkg/docs diff --git a/wolfutil.pkg/files b/wolfutil.pkg/files new file mode 100644 index 0000000..50a37cb --- /dev/null +++ b/wolfutil.pkg/files @@ -0,0 +1 @@ +/usr/bin/wolfutil diff --git a/wolfutil.pkg/postinst b/wolfutil.pkg/postinst new file mode 100644 index 0000000..ec6c0f7 --- /dev/null +++ b/wolfutil.pkg/postinst @@ -0,0 +1,6 @@ +#!/bin/sh + +if [ x"${1}" = x'configure' ]; then + update-alternatives --install /usr/bin/openssl openssl \ + /usr/bin/wolfutil 10 +fi diff --git a/wolfutil.pkg/prerm b/wolfutil.pkg/prerm new file mode 100644 index 0000000..af2bd73 --- /dev/null +++ b/wolfutil.pkg/prerm @@ -0,0 +1,5 @@ +#!/bin/sh + +if [ x"${1}" = x'remove' ]; then + update-alternatives --remove openssl /usr/bin/wolfutil +fi -- cgit v0.9.1