From 9c6ba47dff70a48cb3e98e880bca1c7ada98e263 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 02 Aug 2020 18:24:22 -0400 Subject: Add -full* and -common packages, rename -dev --- diff --git a/libwolfssl.24-client-dev.pkg/control b/libwolfssl.24-client-dev.pkg/control new file mode 100644 index 0000000..8df5fcc --- /dev/null +++ b/libwolfssl.24-client-dev.pkg/control @@ -0,0 +1,13 @@ +Architecture: any +Platform: all +Section: libdev +Depends: + libwolfssl.${Abi-Ver}-common (>= ${Source-Version}), + libwolfssl.${Abi-Ver}-client (= ${Binary-Version}), +Conflicts: libwolfssl.${Abi-Ver}-full-dev +# NB: These libdev packages don't replace each other like the lib packages do. +Description: Lightweight SSL/TLS library - client library - development + ${Common-Description} + . + This package provides development files for the wolfSSL SSL/TLS library + configured for client applications only. diff --git a/libwolfssl.24-dev.pkg/files b/libwolfssl.24-client-dev.pkg/files index 6a0aaa8..6a0aaa8 100644 --- a/libwolfssl.24-dev.pkg/files +++ b/libwolfssl.24-client-dev.pkg/files diff --git a/libwolfssl.24-client.pkg/control b/libwolfssl.24-client.pkg/control index 53423c1..5c45baf 100644 --- a/libwolfssl.24-client.pkg/control +++ b/libwolfssl.24-client.pkg/control @@ -1,7 +1,11 @@ Architecture: any Platform: all Section: lib -Depends: {Shlib-Depends} +Depends: + libwolfssl.${Abi-Ver}-common (>= ${Source-Version}), + {Shlib-Depends}, +Conflicts: libwolfssl.${Abi-Ver}-full +Replaces: libwolfssl.${Abi-Ver}-full Description: Lightweight SSL/TLS library - client library ${Common-Description} . diff --git a/libwolfssl.24-common.pkg/control b/libwolfssl.24-common.pkg/control new file mode 100644 index 0000000..ebae9f5 --- /dev/null +++ b/libwolfssl.24-common.pkg/control @@ -0,0 +1,8 @@ +Architecture: all +Platform: all +Section: share +Description: Lightweight SSL/TLS library - common files + ${Common-Description} + . + This package provides source package documentation files for the wolfSSL + SSL/TLS library. diff --git a/libwolfssl.24-dbg.pkg/control b/libwolfssl.24-dbg.pkg/control index 6f9a31b..7e54356 100644 --- a/libwolfssl.24-dbg.pkg/control +++ b/libwolfssl.24-dbg.pkg/control @@ -1,8 +1,10 @@ Architecture: any Platform: all Section: dbg -Depends: libwolfssl.${Abi-Ver}-client (= ${Binary-Version}) -Description: Lightweight SSL/TLS library - debugging symbols +Depends: + libwolfssl.${Abi-Ver}-common (>= ${Source-Version}), +Description: Lightweight SSL/TLS library - debugging library ${Common-Description} . - This package provides debugging symbols for wolfSSL. + This package provides the wolfSSL SSL/TLS library configured for client and + server applications and with debugging symbols and error strings. diff --git a/libwolfssl.24-dbg.pkg/files b/libwolfssl.24-dbg.pkg/files index b69d578..f2f486e 100644 --- a/libwolfssl.24-dbg.pkg/files +++ b/libwolfssl.24-dbg.pkg/files @@ -1 +1 @@ -/usr/lib/debug/ +/usr/lib/*/libwolfssl.so.* diff --git a/libwolfssl.24-dev.pkg/control b/libwolfssl.24-dev.pkg/control deleted file mode 100644 index 0842881..0000000 --- a/libwolfssl.24-dev.pkg/control +++ /dev/null @@ -1,8 +0,0 @@ -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-full-dev.pkg/control b/libwolfssl.24-full-dev.pkg/control new file mode 100644 index 0000000..8459bd0 --- /dev/null +++ b/libwolfssl.24-full-dev.pkg/control @@ -0,0 +1,13 @@ +Architecture: any +Platform: all +Section: libdev +Depends: + libwolfssl.${Abi-Ver}-common (>= ${Source-Version}), + libwolfssl.${Abi-Ver}-full (= ${Binary-Version}), +Conflicts: libwolfssl.${Abi-Ver}-client-dev +# NB: These libdev packages don't replace each other like the lib packages do. +Description: Lightweight SSL/TLS library - client/server library - development + ${Common-Description} + . + This package provides development files for the wolfSSL SSL/TLS library + configured for client and server applications. diff --git a/libwolfssl.24-dev.pkg/files b/libwolfssl.24-full-dev.pkg/files index 6a0aaa8..6a0aaa8 100644 --- a/libwolfssl.24-dev.pkg/files +++ b/libwolfssl.24-full-dev.pkg/files diff --git a/libwolfssl.24-full.pkg/control b/libwolfssl.24-full.pkg/control new file mode 100644 index 0000000..d7bd524 --- /dev/null +++ b/libwolfssl.24-full.pkg/control @@ -0,0 +1,13 @@ +Architecture: any +Platform: all +Section: lib +Depends: + libwolfssl.${Abi-Ver}-common (>= ${Source-Version}), + {Shlib-Depends}, +Conflicts: libwolfssl.${Abi-Ver}-client +Replaces: libwolfssl.${Abi-Ver}-client +Description: Lightweight SSL/TLS library - client/server library + ${Common-Description} + . + This package provides the wolfSSL SSL/TLS library configured for client and + server applications. diff --git a/libwolfssl.24-full.pkg/files b/libwolfssl.24-full.pkg/files new file mode 100644 index 0000000..f2f486e --- /dev/null +++ b/libwolfssl.24-full.pkg/files @@ -0,0 +1 @@ +/usr/lib/*/libwolfssl.so.* -- cgit v0.9.1