Github messages for voidlinux
 help / color / mirror / Atom feed
From: jirib <jirib@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] [draft] New package: Tang-8
Date: Thu, 11 Mar 2021 16:36:17 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-29397@inbox.vuxu.org> (raw)

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

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

https://github.com/jirib/void-packages tang
https://github.com/void-linux/void-packages/pull/29397

[draft] New package: Tang-8
<!-- 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/29397.patch is attached

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

From 995a06856f0e070a02e6c204c374ab9c6cc42f5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ji=C5=99=C3=AD=20B=C4=9Blka?= <jirib79@gmail.com>
Date: Thu, 11 Mar 2021 16:34:26 +0100
Subject: [PATCH 1/3] New package: jose-10

---
 srcpkgs/jose/template | 37 +++++++++++++++++++++++++++++++++++++
 srcpkgs/libjose       |  1 +
 srcpkgs/libjose-devel |  1 +
 3 files changed, 39 insertions(+)
 create mode 100644 srcpkgs/jose/template
 create mode 120000 srcpkgs/libjose
 create mode 120000 srcpkgs/libjose-devel

diff --git a/srcpkgs/jose/template b/srcpkgs/jose/template
new file mode 100644
index 00000000000..678800655d8
--- /dev/null
+++ b/srcpkgs/jose/template
@@ -0,0 +1,37 @@
+# Template file for 'jose'
+pkgname=jose
+version=10
+revision=1
+build_style=configure
+configure_args="--prefix=/usr --disable-openmp"
+hostmakedepends="pkg-config"
+makedepends="jansson-devel openssl-devel zlib-devel"
+short_desc="C implementation of Javascript Object Signing and Encryption"
+maintainer="Jiri Belka <jirib79@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/latchset/jose"
+distfiles="https://github.com/latchset/jose/releases/download/v${version}/jose-${version}.tar.bz2"
+checksum=5c9cdcfb535c4d9f781393d7530521c72b1dd81caa9934cab6dd752cc7efcd72
+
+post_install() {
+	rm -rf usr/lib64
+}
+
+libjose_package() {
+	short_desc+=" - library"
+	pkg_install() {
+	vmove "usr/lib/*.so.*"
+	}
+}
+
+libjose-devel_package() {
+	depends="libjose>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+	vmove usr/include
+	vmove usr/lib/pkgconfig
+	vmove "usr/lib/*.la"
+	vmove "usr/lib/*.so"
+	vmove "usr/share/man/man3"
+	}
+}
diff --git a/srcpkgs/libjose b/srcpkgs/libjose
new file mode 120000
index 00000000000..a6611ea027c
--- /dev/null
+++ b/srcpkgs/libjose
@@ -0,0 +1 @@
+jose
\ No newline at end of file
diff --git a/srcpkgs/libjose-devel b/srcpkgs/libjose-devel
new file mode 120000
index 00000000000..a6611ea027c
--- /dev/null
+++ b/srcpkgs/libjose-devel
@@ -0,0 +1 @@
+jose
\ No newline at end of file

From 7769c77f9332c33bfa3f21e3c51e55ba6b1969fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ji=C5=99=C3=AD=20B=C4=9Blka?= <jirib79@gmail.com>
Date: Thu, 11 Mar 2021 16:34:45 +0100
Subject: [PATCH 2/3] New package: tang-8

---
 srcpkgs/tang/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/tang/template

diff --git a/srcpkgs/tang/template b/srcpkgs/tang/template
new file mode 100644
index 00000000000..5cdc3a95682
--- /dev/null
+++ b/srcpkgs/tang/template
@@ -0,0 +1,24 @@
+# Template file for 'tang'
+pkgname=tang
+version=8
+revision=1
+build_style=meson
+hostmakedepends="asciidoc pkg-config"
+makedepends="http-parser-devel jansson-devel libjose-devel openssl-devel zlib-devel"
+depends="xinetd"
+make_dirs="/var/db/tang 0700 tang tang"
+short_desc="Tang binding daemon"
+maintainer="Jiri Belka <jirib79@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/latchset/tang"
+distfiles="https://github.com/latchset/tang/releases/download/v${version}/tang-${version}.tar.xz"
+checksum=03958bf27c24aa9892f6138d287d39bcc149e7ad72163c27b529aa3c6b066ede
+
+system_accounts="$pkgname"
+tang_homedir="/var/db/tang"
+
+post_install() {
+	rm -rf ${DESTDIR}/usr/lib/systemd
+	rm -rf ${DESTDIR}/usr/share/licenses
+	vinstall ${wrksrc}/units/tangd.xinetd 644 etc/xinetd.d tangd.conf
+}

From e1e412a7cb6523f143d217b86542183f8c6ec77b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ji=C5=99=C3=AD=20B=C4=9Blka?= <jirib79@gmail.com>
Date: Thu, 11 Mar 2021 16:35:04 +0100
Subject: [PATCH 3/3] common/shlibs: jose

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

diff --git a/common/shlibs b/common/shlibs
index 42f37d8a08b..e6f582aa215 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
+libjose.so.0 libjose-10_1

             reply	other threads:[~2021-03-11 15:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-11 15:36 jirib [this message]
2021-03-12 16:26 ` [PR PATCH] [Updated] " jirib
2021-03-12 16:48 ` [PR REVIEW] " Duncaen
2021-03-12 17:05 ` [PR PATCH] [Updated] " jirib
2021-03-12 17:34 ` [PR REVIEW] " ericonr
2021-03-12 17:45 ` [PR PATCH] [Updated] " jirib
2021-03-22 19:50 ` jirib
2021-03-22 19:50 ` [PR PATCH] [Closed]: " jirib

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-29397@inbox.vuxu.org \
    --to=jirib@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).