summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild9
-rw-r--r--libwolfssl.24-client.pkg/control9
-rw-r--r--libwolfssl.24-client.pkg/docs0
-rw-r--r--libwolfssl.24-client.pkg/files1
-rw-r--r--libwolfssl.24-dbg.pkg/control8
-rw-r--r--libwolfssl.24-dbg.pkg/files1
-rw-r--r--libwolfssl.24-dev.pkg/control8
-rw-r--r--libwolfssl.24-dev.pkg/files4
-rw-r--r--substvars10
9 files changed, 50 insertions, 0 deletions
diff --git a/build b/build
index 0229d8b..5f83866 100755
--- a/build
+++ b/build
@@ -34,3 +34,12 @@ build:
install: build
oh-autoinstall
+ rm -Rf \
+ dest/usr/lib/$(OPK_HOST_ARCH)/libwolfssl.la \
+ dest/usr/share/doc/wolfssl/example/ \
+ dest/usr/share/doc/wolfssl/README.txt \
+ dest/usr/share/doc/wolfssl/taoCert.txt
+ oh-fixperms
+ oh-strip -k
+ oh-installfiles
+ oh-shlibdeps
diff --git a/libwolfssl.24-client.pkg/control b/libwolfssl.24-client.pkg/control
new file mode 100644
index 0000000..53423c1
--- /dev/null
+++ b/libwolfssl.24-client.pkg/control
@@ -0,0 +1,9 @@
+Architecture: any
+Platform: all
+Section: lib
+Depends: {Shlib-Depends}
+Description: Lightweight SSL/TLS library - client library
+ ${Common-Description}
+ .
+ This package provides the wolfSSL SSL/TLS library configured for client
+ applications only.
diff --git a/libwolfssl.24-client.pkg/docs b/libwolfssl.24-client.pkg/docs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/libwolfssl.24-client.pkg/docs
diff --git a/libwolfssl.24-client.pkg/files b/libwolfssl.24-client.pkg/files
new file mode 100644
index 0000000..f2f486e
--- /dev/null
+++ b/libwolfssl.24-client.pkg/files
@@ -0,0 +1 @@
+/usr/lib/*/libwolfssl.so.*
diff --git a/libwolfssl.24-dbg.pkg/control b/libwolfssl.24-dbg.pkg/control
new file mode 100644
index 0000000..6f9a31b
--- /dev/null
+++ b/libwolfssl.24-dbg.pkg/control
@@ -0,0 +1,8 @@
+Architecture: any
+Platform: all
+Section: dbg
+Depends: libwolfssl.${Abi-Ver}-client (= ${Binary-Version})
+Description: Lightweight SSL/TLS library - debugging symbols
+ ${Common-Description}
+ .
+ This package provides debugging symbols for wolfSSL.
diff --git a/libwolfssl.24-dbg.pkg/files b/libwolfssl.24-dbg.pkg/files
new file mode 100644
index 0000000..b69d578
--- /dev/null
+++ b/libwolfssl.24-dbg.pkg/files
@@ -0,0 +1 @@
+/usr/lib/debug/
diff --git a/libwolfssl.24-dev.pkg/control b/libwolfssl.24-dev.pkg/control
new file mode 100644
index 0000000..0842881
--- /dev/null
+++ b/libwolfssl.24-dev.pkg/control
@@ -0,0 +1,8 @@
+Architecture: any
+Platform: all
+Section: libdev
+Depends: libwolfssl.${Abi-Ver}-client (= ${Binary-Version})
+Description: Lightweight SSL/TLS library - development files
+ ${Common-Description}
+ .
+ This package provides development files for wolfSSL.
diff --git a/libwolfssl.24-dev.pkg/files b/libwolfssl.24-dev.pkg/files
new file mode 100644
index 0000000..6a0aaa8
--- /dev/null
+++ b/libwolfssl.24-dev.pkg/files
@@ -0,0 +1,4 @@
+/usr/include/
+/usr/lib/*/libwolfssl.so
+/usr/lib/*/pkgconfig/wolfssl.pc
+/usr/bin/wolfssl-config
diff --git a/substvars b/substvars
new file mode 100644
index 0000000..4309a77
--- /dev/null
+++ b/substvars
@@ -0,0 +1,10 @@
+Abi-Version: 24
+Common-Description:
+ The wolfSSL embedded SSL library (formerly CyaSSL) is a lightweight SSL/TLS
+ library written in ANSI C and targeted for embedded, RTOS, and
+ resource-constrained environments - primarily because of its small size, speed,
+ and feature set. wolfSSL supports industry standards up to the current TLS 1.3
+ and DTLS 1.2 levels, is up to 20 times smaller than OpenSSL, and offers
+ progressive ciphers such as ChaCha20, Curve25519, NTRU, and Blake2b. User
+ benchmarking and feedback reports dramatically better performance when using
+ wolfSSL over OpenSSL.