From: kruceter <kruceter@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] socklog: depend on ipsvd for ucspi-tcp service
Date: Wed, 28 Dec 2022 21:58:41 +0100 [thread overview]
Message-ID: <20221228205841.zt35zXoojgi4l90MlhHV7IR3-VlvtRUrbmD4LLCa8sc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41321@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 834 bytes --]
There is an updated pull request by kruceter against master on the void-packages repository
https://github.com/kruceter/void-packages ipsvd
https://github.com/void-linux/void-packages/pull/41321
socklog: depend on ipsvd for ucspi-tcp service
cc: @leahneukirchen (socklog's maintainer)
Closes #41300.
### socklog
#### Testing the changes
- I tested the changes in this PR: **briefly**
### ipsvd
The build method is not much different from socklog (the same author).
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
A patch file from https://github.com/void-linux/void-packages/pull/41321.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ipsvd-41321.patch --]
[-- Type: text/x-diff, Size: 3701 bytes --]
From ea6ed8deb5ad00d5e3385997c95c5e627d85f2fa Mon Sep 17 00:00:00 2001
From: Krul Ceter <kruceter@proton.me>
Date: Wed, 28 Dec 2022 02:44:46 +0300
Subject: [PATCH 1/2] New package: ipsvd
---
srcpkgs/ipsvd/patches/cross.patch | 47 +++++++++++++++++++++++++++++++
srcpkgs/ipsvd/template | 40 ++++++++++++++++++++++++++
2 files changed, 87 insertions(+)
create mode 100644 srcpkgs/ipsvd/patches/cross.patch
create mode 100644 srcpkgs/ipsvd/template
diff --git a/srcpkgs/ipsvd/patches/cross.patch b/srcpkgs/ipsvd/patches/cross.patch
new file mode 100644
index 000000000000..3e729cf44315
--- /dev/null
+++ b/srcpkgs/ipsvd/patches/cross.patch
@@ -0,0 +1,47 @@
+chskshsgr must be built for the host.
+
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -194,17 +194,22 @@
+ case_diffb.o: case.h case_diffb.c compile
+ ./compile case_diffb.c
+
+-chkshsgr: chkshsgr.o load
+- ./load chkshsgr
++chkshsgr: chkshsgr.o loadhost
++ ./loadhost chkshsgr
+
+-chkshsgr.o: chkshsgr.c compile
+- ./compile chkshsgr.c
++chkshsgr.o: chkshsgr.c compilehost
++ ./compilehost chkshsgr.c
+
+ choose: choose.sh warn-auto.sh
+ rm -f choose
+ cat warn-auto.sh choose.sh >choose
+ chmod 555 choose
+
++compilehost:
++ cat warn-auto.sh > compilehost
++ @echo 'exec cc -c $${1+"$$@"}' >> compilehost
++ chmod 555 compilehost
++
+ coe.o: coe.c coe.h compile
+ ./compile coe.c
+
+@@ -351,6 +356,15 @@
+ sh print-ld.sh >load
+ chmod 555 load
+
++loadhost:
++ rm -f loadhost
++ @echo > loadhost
++ @echo 'systype="`cat systype`"' >> loadhost
++ @echo 'cat warn-auto.sh' >> loadhost
++ @echo 'main="$$1"; shift' >> loadhost
++ @echo 'exec cc -o "$$main" "$$main".o $${1+"$$@"}' >> loadhost
++ chmod 555 loadhost
++
+ lock_ex.o: compile hasflock.h lock.h lock_ex.c
+ ./compile lock_ex.c
+
diff --git a/srcpkgs/ipsvd/template b/srcpkgs/ipsvd/template
new file mode 100644
index 000000000000..c1e118fb4c40
--- /dev/null
+++ b/srcpkgs/ipsvd/template
@@ -0,0 +1,40 @@
+# Template file for 'ipsvd'
+pkgname=ipsvd
+version=1.0.0
+revision=1
+build_wrksrc="${pkgname}-${version}"
+short_desc="Set of internet protocol service daemons for Unix"
+maintainer="Krul Ceter <kruceter@proton.me>"
+license="BSD-3-Clause"
+homepage="http://smarden.org/ipsvd"
+distfiles="http://smarden.org/ipsvd/ipsvd-${version}.tar.gz"
+checksum=ef7a725bc85acb5d09ab57658385bb470b3e4da5a4ffc88b5da6c6bd37d01fad
+patch_args="-Np1 --directory=${build_wrksrc}"
+
+do_configure() {
+ echo "$CC $CFLAGS" > src/conf-cc
+ echo "$CC $LDFLAGS -Wl,-z -Wl,noexecstack" > src/conf-ld
+}
+
+do_build() {
+ package/compile
+}
+
+do_install() {
+ # sslio and sslsvd are not compiled (matrixssl is required).
+ rm -r man/{sslio,sslsvd}* doc/{sslio,sslsvd}*
+
+ for bin in command/*; do
+ vbin "$bin";
+ done
+
+ for man in man/*; do
+ vman "$man";
+ done
+
+ for doc in doc/*; do
+ vdoc "$doc";
+ done
+
+ vlicense package/COPYING
+}
From 7b17946aea5cd754b59d3e473a382f24893c0dbc Mon Sep 17 00:00:00 2001
From: Krul Ceter <kruceter@proton.me>
Date: Wed, 28 Dec 2022 23:54:09 +0300
Subject: [PATCH 2/2] New package: socklog-ucspi
---
srcpkgs/socklog-ucspi/template | 10 ++++++++++
1 file changed, 10 insertions(+)
create mode 100644 srcpkgs/socklog-ucspi/template
diff --git a/srcpkgs/socklog-ucspi/template b/srcpkgs/socklog-ucspi/template
new file mode 100644
index 000000000000..8b9c622438fb
--- /dev/null
+++ b/srcpkgs/socklog-ucspi/template
@@ -0,0 +1,10 @@
+# Template file for 'socklog-ucspi'
+pkgname=socklog-ucspi
+version=20221228
+revision=1
+build_style=meta
+depends="socklog ipsvd"
+short_desc="UCSPI-TCP services for socklog"
+maintainer="Krul Ceter <kruceter@proton.me>"
+license="Public Domain"
+homepage="http://smarden.org/socklog"
next prev parent reply other threads:[~2022-12-28 20:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-28 0:13 [PR PATCH] " kruceter
2022-12-28 0:25 ` [PR PATCH] [Updated] " kruceter
2022-12-28 0:27 ` kruceter
2022-12-28 19:47 ` leahneukirchen
2022-12-28 19:48 ` leahneukirchen
2022-12-28 20:58 ` kruceter [this message]
2022-12-29 3:00 ` New packages: ipsvd, socklog-ucspi sbromberger
2022-12-29 5:44 ` sbromberger
2022-12-29 5:45 ` sbromberger
2022-12-29 5:45 ` sbromberger
2022-12-29 8:00 ` kruceter
2022-12-29 16:32 ` leahneukirchen
2022-12-29 16:58 ` sbromberger
2022-12-29 22:32 ` kruceter
2022-12-29 22:33 ` [PR PATCH] [Updated] " kruceter
2023-01-02 15:19 ` [PR PATCH] [Merged]: " leahneukirchen
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=20221228205841.zt35zXoojgi4l90MlhHV7IR3-VlvtRUrbmD4LLCa8sc@z \
--to=kruceter@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).