* Tue Mar 19 2024 Jean-Philippe Pialasse <jpp@koozali.org> 0.12.1-8.sme

- patch to allow build agaisnt el8/SME11
master 0_12_1-8_el8_sme
Jean-Philippe Pialasse 2 months ago
parent 901cd77fb3
commit 6419009cc3

@ -4,8 +4,22 @@
## Description
<br />*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.*
*Once it has been checked, then this comment will be deleted*
<br />
ipsvd is a set of internet protocol service daemons. It currently includes a TCP/IP service daemon, and a UDP/IP service daemon.
ipsvd is a software package that provides Internet Protocol services such as TCP, UDP, and SCTP over IPv4 and IPv6. It also provides secure tunnels and provides a secure connection over which to send data. Additionally, it provides services such as logging, authentication, and virtual hosting.
An internet protocol service (ipsv) daemon waits for incoming connections on a local socket. On incoming connections, the ipsv daemon
conditionally runs an arbitrary program with standard input reading from the socket, and standard output writing to the socket, that handles the
connection. The network connection optionally can be encrypted using SSLv3. Standard error is used for logging.
ipsv daemons can be told to read and follow pre-defined instructions on how to handle incoming connections. It's possible to run different
programs, or to set a different environment, or to deny a connection,or to set a per host concurrency limit, depending on the client's address
or hostname.
Normally the ipsv daemons are run by a supervisor process, such as runsv from the runit package, or supervise from the daemontools package.
ipsvd can be used to run services normally run by inetd, xinetd, or tcpserver.
## License
BSD style
## URL
http://smarden.org/ipsvd/

@ -0,0 +1,31 @@
diff -Nur --no-dereference net.old/ipsvd-0.12.1/src/chkshsgr.c net/ipsvd-0.12.1/src/chkshsgr.c
--- net.old/ipsvd-0.12.1/src/chkshsgr.c 2006-02-04 14:16:47.000000000 -0500
+++ net/ipsvd-0.12.1/src/chkshsgr.c 2024-03-19 22:42:05.060000000 -0400
@@ -1,10 +1,13 @@
/* Public domain. */
+#include <sys/types.h>
+#include <stdlib.h>
+#include <grp.h>
#include <unistd.h>
-int main()
+int main(int argc, char *argv[])
{
- short x[4];
+ gid_t x[4];
x[0] = x[1] = 0;
if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1);
diff -Nur --no-dereference net.old/ipsvd-0.12.1/src/Makefile net/ipsvd-0.12.1/src/Makefile
--- net.old/ipsvd-0.12.1/src/Makefile 2006-02-04 14:16:47.000000000 -0500
+++ net/ipsvd-0.12.1/src/Makefile 2024-03-19 22:41:21.490000000 -0400
@@ -327,7 +327,7 @@
hasshsgr.h: chkshsgr choose compile hasshsgr.h1 hasshsgr.h2 load tryshsgr.c \
warn-shsgr
- ./chkshsgr || (cat warn-shsgr; exit 1)
+ echo "Warning: We can not run test on cross target. - ignoring ./chkshsgr || (cat warn-shsgr; exit 1)"
./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 >hasshsgr.h
haswaitp.h: choose compile haswaitp.h1 haswaitp.h2 load trywaitp.c

@ -1,9 +1,9 @@
# $Id: ipsvd.spec,v 1.1 2016/02/04 12:43:02 vip-ire Exp $
%global debug_package %{nil}
Summary: internet protocol service daemons
Name: ipsvd
Version: 0.12.1
Release: 7%{?dist}
Release: 8%{?dist}
License: BSD style
Group: System Enviornment/Daemons
Url: http://smarden.org/ipsvd/
@ -11,7 +11,8 @@ Source: %{name}-%{version}.tar.gz
Source1: matrixssl-1-8-3-open.tar.gz
Patch0: matrix.decode.debug.patch
Patch1: tcpsvd_keepalive.patch
BuildRequires: dietlibc
Patch2: ipsvd-0.12.1-el8.patch
BuildRequires: dietlibc perl
BuildRoot: %{_tmppath}/%{name}-root
%description
@ -37,6 +38,9 @@ from the runit package, or supervise from the daemontools package.
ipsvd can be used to run services normally run by inetd, xinetd, or tcpserver.
%changelog
* Tue Mar 19 2024 Jean-Philippe Pialasse <jpp@koozali.org> 0.12.1-8.sme
- patch to allow build agaisnt el8/SME11
* Fri Jul 14 2023 BogusDateBot
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
by assuming the date is correct and changing the weekday.
@ -144,6 +148,7 @@ perl -p -i -e 's:CC=../../compile:CC=../../compile -DDEBUG:' \
net/%{name}-%{version}/src/Makefile.matrixssl
ln -s matrixssl-1-8-3-open net/%{name}-%{version}/compile/matrixssl
%patch1 -p1
%patch2 -p0
%build
cd net/%{name}-%{version}

Loading…
Cancel
Save