1 |
slords |
1.1 |
Summary: internet protocol service daemons |
2 |
|
|
Name: ipsvd |
3 |
|
|
Version: 0.12.1 |
4 |
slords |
1.3 |
Release: 4%{?dist} |
5 |
slords |
1.1 |
License: BSD style |
6 |
|
|
Group: System Enviornment/Daemons |
7 |
|
|
Url: http://smarden.org/ipsvd/ |
8 |
|
|
Source: %{name}-%{version}.tar.gz |
9 |
|
|
Source1: matrixssl-1-8-3-open.tar.gz |
10 |
slords |
1.3 |
Patch0: matrix.decode.debug.patch |
11 |
slords |
1.1 |
BuildRequires: dietlibc |
12 |
|
|
BuildRoot: %{_tmppath}/%{name}-root |
13 |
|
|
%description |
14 |
|
|
|
15 |
|
|
ipsvd is a set of internet protocol service daemons. It currently includes |
16 |
|
|
a TCP/IP service daemon, and a UDP/IP service daemon. |
17 |
|
|
|
18 |
|
|
An internet protocol service (ipsv) daemon waits for incoming |
19 |
|
|
connections on a local socket. On incoming connections, the ipsv daemon |
20 |
|
|
conditionally runs an arbitrary program with standard input reading from |
21 |
|
|
the socket, and standard output writing to the socket, that handles the |
22 |
|
|
connection. The network connection optionally can be encrypted using SSLv3. |
23 |
|
|
Standard error is used for logging. |
24 |
|
|
|
25 |
|
|
ipsv daemons can be told to read and follow pre-defined instructions |
26 |
|
|
on how to handle incoming connections. It's possible to run different |
27 |
|
|
programs, or to set a different environment, or to deny a connection, |
28 |
|
|
or to set a per host concurrency limit, depending on the client's address |
29 |
|
|
or hostname. |
30 |
|
|
|
31 |
|
|
Normally the ipsv daemons are run by a supervisor process, such as runsv |
32 |
|
|
from the runit package, or supervise from the daemontools package. |
33 |
|
|
|
34 |
|
|
ipsvd can be used to run services normally run by inetd, xinetd, or tcpserver. |
35 |
|
|
|
36 |
|
|
%changelog |
37 |
slords |
1.3 |
* Tue Oct 2 2007 Charlie Brady <charlieb@e-smith.com> 0.12.1-04 |
38 |
|
|
- Add more debugging of client hello parsing. |
39 |
|
|
|
40 |
slords |
1.2 |
* Fri Aug 17 2007 Charlie Brady <charlieb@e-smith.com> 0.12.1-03 |
41 |
|
|
- Send all debugging to stderr rather than stdout. |
42 |
|
|
- Fix bug parsing SSL 3.0 client hello (if hello extensions are |
43 |
|
|
included, as in Thunderbird 2). |
44 |
|
|
|
45 |
|
|
* Thu Aug 16 2007 Charlie Brady <charlieb@e-smith.com> 0.12.1-02 |
46 |
|
|
- Enable DEBUG during matrixssl build. |
47 |
|
|
|
48 |
slords |
1.1 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
49 |
|
|
- Clean up spec so package can be built by koji/plague |
50 |
|
|
|
51 |
|
|
* Thu Apr 12 2007 Charlie Brady <charlieb@e-smith.com> 0.12.1-01 |
52 |
|
|
- Update to latest upstream ipsvd. |
53 |
|
|
|
54 |
|
|
* Thu Mar 15 2007 Charlie Brady <charlieb@e-smith.com> 0.12.0-04 |
55 |
|
|
- Update to latest upstream matrixssl library. |
56 |
|
|
|
57 |
|
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
58 |
|
|
- Update to new release naming. No functional changes. |
59 |
|
|
- Make Packager generic |
60 |
|
|
|
61 |
|
|
* Sat Feb 4 2006 Charlie Brady <charlieb@e-smith.com> 0.12.0-02 |
62 |
|
|
- Fix build error in Makefile. |
63 |
|
|
|
64 |
|
|
* Sat Feb 4 2006 Charlie Brady <charlieb@e-smith.com> 0.12.0-01 |
65 |
|
|
- Upgrade to new version. |
66 |
|
|
|
67 |
|
|
* Mon Nov 21 2005 Charlie Brady <charlieb@e-smith.com> 0.11.1-03 |
68 |
|
|
- Rebuild with new dietlibc (0.27-4). |
69 |
|
|
|
70 |
|
|
* Wed Nov 16 2005 Charlie Brady <charlieb@e-smith.com> 0.11.1-02 |
71 |
|
|
- Update to latest matrixssl. |
72 |
|
|
|
73 |
|
|
* Wed Nov 16 2005 Charlie Brady <charlieb@e-smith.com> 0.11.1-01 |
74 |
|
|
- Update to new ipsvd version. |
75 |
|
|
- Remove matrixssl build issue patch. |
76 |
|
|
|
77 |
|
|
* Mon Oct 24 2005 Charlie Brady <charlieb@e-smith.com> 0.11.0-04 |
78 |
|
|
- Update to latest matrixssl. |
79 |
|
|
|
80 |
|
|
* Tue Jul 12 2005 Charlie Brady <charlieb@e-smith.com> 0.11.0-03 |
81 |
|
|
- Rebuild on CentOS 4.1 build server, to correct segfault problem. |
82 |
|
|
|
83 |
|
|
* Tue Mar 15 2005 Charlie Brady <charlieb@e-smith.com> 0.11.0-02 |
84 |
|
|
- Fix install of sslio |
85 |
|
|
|
86 |
|
|
* Wed Feb 23 2005 Charlie Brady <charlieb@e-smith.com> 0.11.0-01 |
87 |
|
|
- Upgrade to 0.11.0 |
88 |
|
|
- Remove bogus dietlibc Requires: header (statically linked) |
89 |
|
|
|
90 |
|
|
* Sat Jan 15 2005 Charlie Brady <charlieb@e-smith.com> 0.10.1-01 |
91 |
|
|
- Upgrade to 0.10.1 |
92 |
|
|
- Upgrade martixssl to 1.2.2. |
93 |
|
|
- Don't bundle djbdns client library. |
94 |
|
|
|
95 |
|
|
* Mon Dec 20 2004 Charlie Brady <charlieb@e-smith.com> 0.9.7-01 |
96 |
|
|
- Upgrade to 0.9.7. |
97 |
|
|
|
98 |
|
|
* Thu Sep 30 2004 Charlie Brady <charlieb@e-smith.com> 0.9.6-01 |
99 |
|
|
- Upgrade to 0.9.6. |
100 |
|
|
- Upgrade martixssl to 1.2. |
101 |
|
|
|
102 |
|
|
* Mon Jun 07 2004 Charlie Brady <charlieb@e-smith.com> 0.9.3-01 |
103 |
|
|
- Upgrade to 0.9.3. |
104 |
|
|
|
105 |
|
|
* Mon May 03 2004 Charlie Brady <charlieb@e-smith.com> 0.9.1-01 |
106 |
|
|
- Upgrade to 0.9.1. |
107 |
|
|
|
108 |
|
|
* Sun May 02 2004 Charlie Brady <charlieb@e-smith.com> 0.9.0-01 |
109 |
|
|
- Upgrade to 0.9.0 (now includes sslio). |
110 |
|
|
- Build/link with dietlibc and matrixssl. |
111 |
|
|
|
112 |
|
|
* Tue Nov 04 2003 Charlie Brady <charlieb@e-smith.com> 0.6.0-02 |
113 |
|
|
- Build/link with uClibc. |
114 |
|
|
- Add missing man(8) pages. |
115 |
|
|
|
116 |
|
|
* Thu Oct 16 2003 Charlie Brady <charlieb@e-smith.com> 0.6.0-01 |
117 |
|
|
- Upgrade to 0.6.0. |
118 |
|
|
|
119 |
|
|
* Tue Jul 22 2003 Charlie Brady <charlieb@e-smith.com> 0.4.1-01 |
120 |
|
|
- Initial |
121 |
|
|
|
122 |
|
|
%prep |
123 |
|
|
%setup -c -n %{name}-%{version} |
124 |
|
|
cp -v %{SOURCE1} net/%{name}-%{version}/src/matrixssl.tar.gz |
125 |
|
|
mkdir -p net/%{name}-%{version}/compile |
126 |
slords |
1.2 |
perl -p -i -e 's:CC=../../compile:CC=../../compile -DDEBUG:' \ |
127 |
|
|
net/%{name}-%{version}/src/Makefile.matrixssl |
128 |
slords |
1.1 |
ln -s matrixssl-1-8-3-open net/%{name}-%{version}/compile/matrixssl |
129 |
|
|
|
130 |
|
|
%build |
131 |
|
|
cd net/%{name}-%{version} |
132 |
|
|
echo 'diet -Os gcc -O2 -Wall' >src/conf-cc |
133 |
|
|
echo 'diet -Os gcc -s -Os -pipe' >src/conf-ld |
134 |
|
|
./package/compile |
135 |
slords |
1.2 |
cd compile |
136 |
slords |
1.3 |
patch -p0 < %{PATCH0} |
137 |
slords |
1.2 |
perl -p -i -e "s/printf.m/fprintf(stderr, m/" matrixssl/src/os/debug.c |
138 |
|
|
perl -p -i -e "s/ssl.*TLS_MIN_VER .. c/c/" matrixssl/src/sslDecode.c |
139 |
|
|
rm matrixssl.a sslio sslsvd |
140 |
|
|
cd .. |
141 |
|
|
./package/compile |
142 |
slords |
1.1 |
|
143 |
|
|
%install |
144 |
|
|
cd net/%{name}-%{version} |
145 |
|
|
mkdir -p $RPM_BUILD_ROOT/%{_bindir} |
146 |
|
|
for i in $(cat package/commands compile/command.ssl) |
147 |
|
|
do |
148 |
|
|
install command/$i $RPM_BUILD_ROOT/%{_bindir} |
149 |
|
|
done |
150 |
|
|
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1 |
151 |
|
|
#install man/*.1 $RPM_BUILD_ROOT/%{_mandir}/man1 |
152 |
|
|
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8 |
153 |
|
|
install man/*.8 $RPM_BUILD_ROOT/%{_mandir}/man8 |
154 |
|
|
|
155 |
|
|
%clean |
156 |
|
|
rm -r $RPM_BUILD_ROOT |
157 |
|
|
|
158 |
|
|
%files |
159 |
|
|
%defattr(-,root,root) |
160 |
|
|
%{_bindir}/* |
161 |
|
|
%{_mandir}/man8/* |
162 |
|
|
#%{_mandir}/man1/* |
163 |
|
|
%doc net/%{name}-%{version}/package/COPYING |
164 |
|
|
%doc net/%{name}-%{version}/doc/* |