Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [draft] New package: libtpms-0.7.7
@ 2021-03-09  0:44 jirib
  0 siblings, 0 replies; only message in thread
From: jirib @ 2021-03-09  0:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1592 bytes --]

There is a new pull request by jirib against master on the void-packages repository

https://github.com/jirib/void-packages libtpms
https://github.com/void-linux/void-packages/pull/29339

[draft] New package: libtpms-0.7.7
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/29339.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libtpms-29339.patch --]
[-- Type: text/x-diff, Size: 2638 bytes --]

From afe65418a412f0bd699864941f2251ab759aabcb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ji=C5=99=C3=AD=20B=C4=9Blka?= <jirib79@gmail.com>
Date: Mon, 8 Mar 2021 22:24:12 +0100
Subject: [PATCH 1/2] New package: libtpms-0.7.7

---
 srcpkgs/libtpms-devel         |  1 +
 srcpkgs/libtpms/libtpms-devel |  1 +
 srcpkgs/libtpms/template      | 33 +++++++++++++++++++++++++++++++++
 3 files changed, 35 insertions(+)
 create mode 120000 srcpkgs/libtpms-devel
 create mode 120000 srcpkgs/libtpms/libtpms-devel
 create mode 100644 srcpkgs/libtpms/template

diff --git a/srcpkgs/libtpms-devel b/srcpkgs/libtpms-devel
new file mode 120000
index 00000000000..a7b2c51dadb
--- /dev/null
+++ b/srcpkgs/libtpms-devel
@@ -0,0 +1 @@
+libtpms
\ No newline at end of file
diff --git a/srcpkgs/libtpms/libtpms-devel b/srcpkgs/libtpms/libtpms-devel
new file mode 120000
index 00000000000..60f3aa620dd
--- /dev/null
+++ b/srcpkgs/libtpms/libtpms-devel
@@ -0,0 +1 @@
+libtpms-devel
\ No newline at end of file
diff --git a/srcpkgs/libtpms/template b/srcpkgs/libtpms/template
new file mode 100644
index 00000000000..1e4fb0f7742
--- /dev/null
+++ b/srcpkgs/libtpms/template
@@ -0,0 +1,33 @@
+# Template file for 'libtpms'
+pkgname=libtpms
+version=0.7.7
+revision=1
+build_style=configure
+configure_args="--prefix=/usr --with-openssl --with-tpm2"
+hostmakedepends="automake libtool pkg-config"
+makedepends="openssl-devel"
+short_desc="TPM emulation library"
+maintainer="Jiri Belka <jirib79@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/stefanberger/libtpms"
+distfiles="https://github.com/stefanberger/libtpms/archive/v${version}.tar.gz"
+checksum=9f23b97594bb9c6d3c50e33c9be8435f03d91a591c2288b03056321e06c95db3
+
+pre_configure() {
+	autoreconf -fi
+}
+
+post_install() {
+	vlicense LICENSE
+}
+libtpms-devel_package() {
+	depends="libtpms>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+	vmove usr/include
+	vmove usr/lib/pkgconfig
+	vmove "usr/lib/*.a"
+	vmove "usr/lib/*.so"
+	vmove "usr/share/man/man3"
+	}
+}

From 52437a6ae7456873e31816b648a1fe2b3d55eceb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ji=C5=99=C3=AD=20B=C4=9Blka?= <jirib79@gmail.com>
Date: Mon, 8 Mar 2021 22:24:30 +0100
Subject: [PATCH 2/2] common/shlibs: libtpms

---
 common/shlibs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/shlibs b/common/shlibs
index 42f37d8a08b..28fdae58d9e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3966,3 +3966,4 @@ libsimavrparts.so.1 simavr-1.6_2
 libsword-1.8.1.so libsword-1.8.1_6
 libpari-gmp.so.7 pari-2.13.0_1
 libtree-sitter.so.0 tree-sitter-0.19.0_1
+libtpms.so.0 libtpms-0.7.7_1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-09  0:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-09  0:44 [PR PATCH] [draft] New package: libtpms-0.7.7 jirib

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).