Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [draft] New package: Tang-8
@ 2021-03-11 15:36 jirib
  2021-03-12 16:26 ` [PR PATCH] [Updated] " jirib
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: jirib @ 2021-03-11 15:36 UTC (permalink / raw)
  To: ml

[-- 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] [draft] New package: Tang-8
  2021-03-11 15:36 [PR PATCH] [draft] New package: Tang-8 jirib
@ 2021-03-12 16:26 ` jirib
  2021-03-12 16:48 ` [PR REVIEW] " Duncaen
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jirib @ 2021-03-12 16:26 UTC (permalink / raw)
  To: ml

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

There is an updated 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: 4152 bytes --]

From cf833d51b684211187564add08e940390062b8d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ji=C5=99=C3=AD=20B=C4=9Blka?= <jirib79@gmail.com>
Date: Fri, 12 Mar 2021 17:25:35 +0100
Subject: [PATCH 1/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

From 8dc1def13ac2196e493fda84b49dc71afde38654 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ji=C5=99=C3=AD=20B=C4=9Blka?= <jirib79@gmail.com>
Date: Fri, 12 Mar 2021 17:26:07 +0100
Subject: [PATCH 2/3] New package: jose-10

---
 srcpkgs/jose/template | 41 +++++++++++++++++++++++++++++++++++++++++
 srcpkgs/libjose       |  1 +
 srcpkgs/libjose-devel |  1 +
 3 files changed, 43 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..1b18ea1d724
--- /dev/null
+++ b/srcpkgs/jose/template
@@ -0,0 +1,41 @@
+# 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"
+	}
+}
+
+if [ "${CROSS_BUILD}" ]; then
+	configure_args+=" --host=${XBPS_CROSS_TRIPLET}"
+fi
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 4fdc057f93fba9728fe1c6133b7f56ae6e16aaf2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ji=C5=99=C3=AD=20B=C4=9Blka?= <jirib79@gmail.com>
Date: Fri, 12 Mar 2021 17:26:29 +0100
Subject: [PATCH 3/3] New package: tang-8

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

diff --git a/srcpkgs/tang/template b/srcpkgs/tang/template
new file mode 100644
index 00000000000..365ea0d36a6
--- /dev/null
+++ b/srcpkgs/tang/template
@@ -0,0 +1,28 @@
+# 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
+}
+
+if [ "${CROSS_BUILD}" ]; then
+	configure_args+=" --host=${XBPS_CROSS_TRIPLET}"
+fi

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR REVIEW] [draft] New package: Tang-8
  2021-03-11 15:36 [PR PATCH] [draft] New package: Tang-8 jirib
  2021-03-12 16:26 ` [PR PATCH] [Updated] " jirib
@ 2021-03-12 16:48 ` Duncaen
  2021-03-12 17:05 ` [PR PATCH] [Updated] " jirib
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Duncaen @ 2021-03-12 16:48 UTC (permalink / raw)
  To: ml

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

New review comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/pull/29397#discussion_r593314664

Comment:
We generally start new usernames with `_` to avoid conflicts in case users already use the specific name.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] [draft] New package: Tang-8
  2021-03-11 15:36 [PR PATCH] [draft] New package: Tang-8 jirib
  2021-03-12 16:26 ` [PR PATCH] [Updated] " jirib
  2021-03-12 16:48 ` [PR REVIEW] " Duncaen
@ 2021-03-12 17:05 ` jirib
  2021-03-12 17:34 ` [PR REVIEW] " ericonr
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jirib @ 2021-03-12 17:05 UTC (permalink / raw)
  To: ml

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

There is an updated 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: 4065 bytes --]

From cf833d51b684211187564add08e940390062b8d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ji=C5=99=C3=AD=20B=C4=9Blka?= <jirib79@gmail.com>
Date: Fri, 12 Mar 2021 17:25:35 +0100
Subject: [PATCH 1/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

From 8dc1def13ac2196e493fda84b49dc71afde38654 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ji=C5=99=C3=AD=20B=C4=9Blka?= <jirib79@gmail.com>
Date: Fri, 12 Mar 2021 17:26:07 +0100
Subject: [PATCH 2/3] New package: jose-10

---
 srcpkgs/jose/template | 41 +++++++++++++++++++++++++++++++++++++++++
 srcpkgs/libjose       |  1 +
 srcpkgs/libjose-devel |  1 +
 3 files changed, 43 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..1b18ea1d724
--- /dev/null
+++ b/srcpkgs/jose/template
@@ -0,0 +1,41 @@
+# 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"
+	}
+}
+
+if [ "${CROSS_BUILD}" ]; then
+	configure_args+=" --host=${XBPS_CROSS_TRIPLET}"
+fi
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 e2076b8c8cd7c1c0f9d8162acee65079907f61b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ji=C5=99=C3=AD=20B=C4=9Blka?= <jirib79@gmail.com>
Date: Fri, 12 Mar 2021 17:26:29 +0100
Subject: [PATCH 3/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..6543a51d40c
--- /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
+}

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR REVIEW] [draft] New package: Tang-8
  2021-03-11 15:36 [PR PATCH] [draft] New package: Tang-8 jirib
                   ` (2 preceding siblings ...)
  2021-03-12 17:05 ` [PR PATCH] [Updated] " jirib
@ 2021-03-12 17:34 ` ericonr
  2021-03-12 17:45 ` [PR PATCH] [Updated] " jirib
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ericonr @ 2021-03-12 17:34 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/29397#discussion_r593344674

Comment:
Don't use `-f` unless necessary, otherwise it won't complain if the file doesn't exist (which would mean the command doesn't have to be called).

Given that `usr/lib64` (in the destdir, so I'm not sure you're actually hitting any existing directory here) is a symlink to `usr/lib` for 64-bit targets, which is removed as part of the packaging process, what is the purpose of this?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] [draft] New package: Tang-8
  2021-03-11 15:36 [PR PATCH] [draft] New package: Tang-8 jirib
                   ` (3 preceding siblings ...)
  2021-03-12 17:34 ` [PR REVIEW] " ericonr
@ 2021-03-12 17:45 ` jirib
  2021-03-22 19:50 ` jirib
  2021-03-22 19:50 ` [PR PATCH] [Closed]: " jirib
  6 siblings, 0 replies; 8+ messages in thread
From: jirib @ 2021-03-12 17:45 UTC (permalink / raw)
  To: ml

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

There is an updated 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: 4019 bytes --]

From 10e7139d96599d6c6224a53d53532a1f24e28d9d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ji=C5=99=C3=AD=20B=C4=9Blka?= <jirib79@gmail.com>
Date: Fri, 12 Mar 2021 18:44:20 +0100
Subject: [PATCH 1/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..6543a51d40c
--- /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 38025eb24e0880a7f8609270727e6e8b6d6c1a61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ji=C5=99=C3=AD=20B=C4=9Blka?= <jirib79@gmail.com>
Date: Fri, 12 Mar 2021 18:45:17 +0100
Subject: [PATCH 2/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..1f1c4969281
--- /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
+
+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"
+	}
+}
+
+if [ "${CROSS_BUILD}" ]; then
+	configure_args+=" --host=${XBPS_CROSS_TRIPLET}"
+fi
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 5faa382f833e9d57f266cbbf7d2fc25d4128edb9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ji=C5=99=C3=AD=20B=C4=9Blka?= <jirib79@gmail.com>
Date: Fri, 12 Mar 2021 18:45:29 +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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [draft] New package: Tang-8
  2021-03-11 15:36 [PR PATCH] [draft] New package: Tang-8 jirib
                   ` (4 preceding siblings ...)
  2021-03-12 17:45 ` [PR PATCH] [Updated] " jirib
@ 2021-03-22 19:50 ` jirib
  2021-03-22 19:50 ` [PR PATCH] [Closed]: " jirib
  6 siblings, 0 replies; 8+ messages in thread
From: jirib @ 2021-03-22 19:50 UTC (permalink / raw)
  To: ml

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

New comment by jirib on void-packages repository

https://github.com/void-linux/void-packages/pull/29397#issuecomment-804348696

Comment:
I'm not going to continue with this. If anybody is interested in it, feel free to reuse this PR.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Closed]: [draft] New package: Tang-8
  2021-03-11 15:36 [PR PATCH] [draft] New package: Tang-8 jirib
                   ` (5 preceding siblings ...)
  2021-03-22 19:50 ` jirib
@ 2021-03-22 19:50 ` jirib
  6 siblings, 0 replies; 8+ messages in thread
From: jirib @ 2021-03-22 19:50 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

[draft] New package: Tang-8
https://github.com/void-linux/void-packages/pull/29397

Description:
<!-- 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
-->


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-03-22 19:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11 15:36 [PR PATCH] [draft] New package: Tang-8 jirib
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

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).