* Tue Mar 19 2024 Jean-Philippe Pialasse <jpp@koozali.org> 0.12.1-8.sme
- patch to allow build agaisnt el8/SME11
This commit is contained in:
parent
901cd77fb3
commit
6419009cc3
22
README.md
22
README.md
@ -4,8 +4,22 @@
|
|||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
<br />*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.*
|
ipsvd is a set of internet protocol service daemons. It currently includes a TCP/IP service daemon, and a UDP/IP service daemon.
|
||||||
*Once it has been checked, then this comment will be deleted*
|
|
||||||
<br />
|
|
||||||
|
|
||||||
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/
|
||||||
|
31
ipsvd-0.12.1-el8.patch
Normal file
31
ipsvd-0.12.1-el8.patch
Normal file
@ -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
|
11
ipsvd.spec
11
ipsvd.spec
@ -1,9 +1,9 @@
|
|||||||
# $Id: ipsvd.spec,v 1.1 2016/02/04 12:43:02 vip-ire Exp $
|
# $Id: ipsvd.spec,v 1.1 2016/02/04 12:43:02 vip-ire Exp $
|
||||||
|
%global debug_package %{nil}
|
||||||
Summary: internet protocol service daemons
|
Summary: internet protocol service daemons
|
||||||
Name: ipsvd
|
Name: ipsvd
|
||||||
Version: 0.12.1
|
Version: 0.12.1
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
License: BSD style
|
License: BSD style
|
||||||
Group: System Enviornment/Daemons
|
Group: System Enviornment/Daemons
|
||||||
Url: http://smarden.org/ipsvd/
|
Url: http://smarden.org/ipsvd/
|
||||||
@ -11,7 +11,8 @@ Source: %{name}-%{version}.tar.gz
|
|||||||
Source1: matrixssl-1-8-3-open.tar.gz
|
Source1: matrixssl-1-8-3-open.tar.gz
|
||||||
Patch0: matrix.decode.debug.patch
|
Patch0: matrix.decode.debug.patch
|
||||||
Patch1: tcpsvd_keepalive.patch
|
Patch1: tcpsvd_keepalive.patch
|
||||||
BuildRequires: dietlibc
|
Patch2: ipsvd-0.12.1-el8.patch
|
||||||
|
BuildRequires: dietlibc perl
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
BuildRoot: %{_tmppath}/%{name}-root
|
||||||
%description
|
%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.
|
ipsvd can be used to run services normally run by inetd, xinetd, or tcpserver.
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jul 14 2023 BogusDateBot
|
||||||
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
||||||
by assuming the date is correct and changing the 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
|
net/%{name}-%{version}/src/Makefile.matrixssl
|
||||||
ln -s matrixssl-1-8-3-open net/%{name}-%{version}/compile/matrixssl
|
ln -s matrixssl-1-8-3-open net/%{name}-%{version}/compile/matrixssl
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd net/%{name}-%{version}
|
cd net/%{name}-%{version}
|
||||||
|
Loading…
Reference in New Issue
Block a user