initial commit of file from CVS for ucspi-tcp on Fri 14 Jul 22:34:41 BST 2023
This commit is contained in:
parent
78f7a013b4
commit
21cb0427a0
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
*.rpm
|
||||||
|
*.log
|
||||||
|
*spec-20*
|
21
Makefile
Normal file
21
Makefile
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Makefile for source rpm: ucspi-tcp
|
||||||
|
# $Id: Makefile,v 1.1 2016/02/04 18:12:41 vip-ire Exp $
|
||||||
|
NAME := ucspi-tcp
|
||||||
|
SPECFILE = $(firstword $(wildcard *.spec))
|
||||||
|
|
||||||
|
define find-makefile-common
|
||||||
|
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||||
|
endef
|
||||||
|
|
||||||
|
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||||
|
|
||||||
|
ifeq ($(MAKEFILE_COMMON),)
|
||||||
|
# attept a checkout
|
||||||
|
define checkout-makefile-common
|
||||||
|
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||||
|
endef
|
||||||
|
|
||||||
|
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||||
|
endif
|
||||||
|
|
||||||
|
include $(MAKEFILE_COMMON)
|
@ -1,3 +1,11 @@
|
|||||||
# ucspi-tcp
|
# ucspi-tcp
|
||||||
|
|
||||||
3rd Party (Maintained by Koozali) git repo for ucspi-tcp smeserver
|
3rd Party (Maintained by Koozali) git repo for ucspi-tcp smeserver
|
||||||
|
|
||||||
|
## 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 />
|
||||||
|
|
||||||
|
Ucspi-tcp is a software package that provides a set of basic tools to manage Internet services like e-mail, web, and file transfer. It allows users to create and manage servers on their local computers, and it provides a way to configure their services with minimal hassle. The package makes it easy for users to quickly set up and manage services without having to learn the intricacies of how to program for these services.
|
||||||
|
1
contriborbase
Normal file
1
contriborbase
Normal file
@ -0,0 +1 @@
|
|||||||
|
sme10
|
12
ucspi-tcp-0.88.patch.2001020500
Normal file
12
ucspi-tcp-0.88.patch.2001020500
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -ruN ucspi-tcp-0.88-02/Makefile ucspi-tcp-0.88-03/Makefile
|
||||||
|
--- ucspi-tcp-0.88-02/Makefile Sat Mar 18 10:18:42 2000
|
||||||
|
+++ ucspi-tcp-0.88-03/Makefile Mon Feb 5 16:37:02 2001
|
||||||
|
@@ -38,7 +38,7 @@
|
||||||
|
|
||||||
|
auto_home.c: \
|
||||||
|
auto-str conf-home
|
||||||
|
- ./auto-str auto_home `head -1 conf-home` > auto_home.c
|
||||||
|
+ ./auto-str auto_home `pwd`/root`head -1 conf-home` > auto_home.c
|
||||||
|
|
||||||
|
auto_home.o: \
|
||||||
|
compile auto_home.c
|
BIN
ucspi-tcp-0.88.tar.gz
(Stored with Git LFS)
Normal file
BIN
ucspi-tcp-0.88.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
123
ucspi-tcp.spec
Normal file
123
ucspi-tcp.spec
Normal file
@ -0,0 +1,123 @@
|
|||||||
|
# $Id: ucspi-tcp.spec,v 1.1 2016/02/04 18:12:41 vip-ire Exp $
|
||||||
|
|
||||||
|
#
|
||||||
|
# RPM spec file for Dan Bernstein's ucspi-tcp package
|
||||||
|
#
|
||||||
|
# $Id: ucspi-tcp.spec,v 1.1 2016/02/04 18:12:41 vip-ire Exp $
|
||||||
|
#
|
||||||
|
Summary: Command-line tools for building TCP client-server applications.
|
||||||
|
%define name ucspi-tcp
|
||||||
|
Name: %{name}
|
||||||
|
%define version 0.88
|
||||||
|
%define release 5
|
||||||
|
Version: %{version}
|
||||||
|
Release: %{release}%{?dist}
|
||||||
|
License: Daniel J. Bernstein
|
||||||
|
Group: Networking/Daemons
|
||||||
|
Source: http://cr.yp.to/%{name}/%{name}-%{version}.tar.gz
|
||||||
|
URL: http://cr.yp.to/ucspi-tcp.html
|
||||||
|
Patch0: %{name}-%{version}.patch.2001020500
|
||||||
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
|
||||||
|
Provides: ucspi-tcp
|
||||||
|
AutoReqProv: no
|
||||||
|
|
||||||
|
%description
|
||||||
|
tcpserver and tcpclient are easy-to-use command-line tools for building
|
||||||
|
TCP client-server applications.
|
||||||
|
|
||||||
|
tcpserver waits for incoming connections and, for each connection, runs
|
||||||
|
a program of your choice. Your program receives environment variables
|
||||||
|
showing the local and remote host names, IP addresses, and port numbers.
|
||||||
|
|
||||||
|
tcpserver offers a concurrency limit to protect you from running out of
|
||||||
|
processes and memory. When you are handling 40 (by default) simultaneous
|
||||||
|
connections, tcpserver smoothly defers acceptance of new connections.
|
||||||
|
|
||||||
|
tcpserver also provides TCP access control features, similar to
|
||||||
|
tcp-wrappers/tcpd's hosts.allow but much faster. Its access control rules
|
||||||
|
are compiled into a hashed format with cdb, so it can easily deal with
|
||||||
|
thousands of different hosts.
|
||||||
|
|
||||||
|
This package includes a recordio tool that monitors all the input and
|
||||||
|
output of a server.
|
||||||
|
|
||||||
|
tcpclient makes a TCP connection and runs a program of your choice. It
|
||||||
|
sets up the same environment variables as tcpserver.
|
||||||
|
|
||||||
|
This package includes several sample clients built on top of tcpclient:
|
||||||
|
who@, date@, finger@, http@, tcpcat, and mconnect.
|
||||||
|
|
||||||
|
tcpserver and tcpclient conform to UCSPI, the UNIX Client-Server Program
|
||||||
|
Interface, using the TCP protocol. UCSPI tools are available for several
|
||||||
|
different networks.
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Jul 14 2023 BogusDateBot
|
||||||
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
||||||
|
by assuming the date is correct and changing the weekday.
|
||||||
|
|
||||||
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
|
||||||
|
- Clean up spec so package can be built by koji/plague
|
||||||
|
|
||||||
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
|
||||||
|
- Update to new release naming. No functional changes.
|
||||||
|
- Make Packager generic
|
||||||
|
|
||||||
|
* Tue Sep 21 2004 Charlie Brady <charlieb@e-smith.com>
|
||||||
|
- [0.88-04]
|
||||||
|
- Rebuild for CentOs 3.3
|
||||||
|
- Configure compiler to work around errno problem.
|
||||||
|
|
||||||
|
* Mon Feb 5 2001 Peter Samuel <peters@e-smith.com>
|
||||||
|
- [0.88-03]
|
||||||
|
- Now installs in its own root area prior to creating binary RPM.
|
||||||
|
- Default installation locations are restored.
|
||||||
|
|
||||||
|
* Thu Aug 17 2000 Peter Samuel <peters@e-smith.com>
|
||||||
|
- [0.88-2]
|
||||||
|
- added patch to change default install location
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup
|
||||||
|
|
||||||
|
# This patch allows files to be installed in a relative directory prior
|
||||||
|
# to creating the binary RPM. It does not change the files or their
|
||||||
|
# final installed locations.
|
||||||
|
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
|
# Create the relative installation directory.
|
||||||
|
|
||||||
|
mkdir -p ./root/usr
|
||||||
|
|
||||||
|
%build
|
||||||
|
echo gcc -O2 --include /usr/include/errno.h > conf-cc
|
||||||
|
make
|
||||||
|
|
||||||
|
%install
|
||||||
|
make setup
|
||||||
|
make check
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%attr(755,root,root) /usr/local/bin/addcr
|
||||||
|
%attr(755,root,root) /usr/local/bin/argv0
|
||||||
|
%attr(755,root,root) /usr/local/bin/date@
|
||||||
|
%attr(755,root,root) /usr/local/bin/delcr
|
||||||
|
%attr(755,root,root) /usr/local/bin/finger@
|
||||||
|
%attr(755,root,root) /usr/local/bin/fixcrio
|
||||||
|
%attr(755,root,root) /usr/local/bin/http@
|
||||||
|
%attr(755,root,root) /usr/local/bin/mconnect
|
||||||
|
%attr(755,root,root) /usr/local/bin/mconnect-io
|
||||||
|
%attr(755,root,root) /usr/local/bin/rblsmtpd
|
||||||
|
%attr(755,root,root) /usr/local/bin/recordio
|
||||||
|
%attr(755,root,root) /usr/local/bin/tcpcat
|
||||||
|
%attr(755,root,root) /usr/local/bin/tcpclient
|
||||||
|
%attr(755,root,root) /usr/local/bin/tcprules
|
||||||
|
%attr(755,root,root) /usr/local/bin/tcprulescheck
|
||||||
|
%attr(755,root,root) /usr/local/bin/tcpserver
|
||||||
|
%attr(755,root,root) /usr/local/bin/who@
|
Loading…
Reference in New Issue
Block a user