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