1 |
Summary: internet protocol service daemons |
2 |
Name: ipsvd |
3 |
Version: 0.12.1 |
4 |
Release: 5%{?dist} |
5 |
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 |
Patch0: matrix.decode.debug.patch |
11 |
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 |
* Sat Oct 6 2007 Charlie Brady <charlieb@e-smith.com> 0.12.1-05 |
38 |
- Remove extra debugging code. [SME: 3438] |
39 |
|
40 |
* Tue Oct 2 2007 Charlie Brady <charlieb@e-smith.com> 0.12.1-04 |
41 |
- Add more debugging of client hello parsing. [SME: 3438] |
42 |
|
43 |
* Fri Aug 17 2007 Charlie Brady <charlieb@e-smith.com> 0.12.1-03 |
44 |
- Send all debugging to stderr rather than stdout. |
45 |
- Fix bug parsing SSL 3.0 client hello (if hello extensions are |
46 |
included, as in Thunderbird 2). [SME: 3438] |
47 |
|
48 |
* Thu Aug 16 2007 Charlie Brady <charlieb@e-smith.com> 0.12.1-02 |
49 |
- Enable DEBUG during matrixssl build. |
50 |
|
51 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
52 |
- Clean up spec so package can be built by koji/plague |
53 |
|
54 |
* Thu Apr 12 2007 Charlie Brady <charlieb@e-smith.com> 0.12.1-01 |
55 |
- Update to latest upstream ipsvd. |
56 |
|
57 |
* Thu Mar 15 2007 Charlie Brady <charlieb@e-smith.com> 0.12.0-04 |
58 |
- Update to latest upstream matrixssl library. |
59 |
|
60 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
61 |
- Update to new release naming. No functional changes. |
62 |
- Make Packager generic |
63 |
|
64 |
* Sat Feb 4 2006 Charlie Brady <charlieb@e-smith.com> 0.12.0-02 |
65 |
- Fix build error in Makefile. |
66 |
|
67 |
* Sat Feb 4 2006 Charlie Brady <charlieb@e-smith.com> 0.12.0-01 |
68 |
- Upgrade to new version. |
69 |
|
70 |
* Mon Nov 21 2005 Charlie Brady <charlieb@e-smith.com> 0.11.1-03 |
71 |
- Rebuild with new dietlibc (0.27-4). |
72 |
|
73 |
* Wed Nov 16 2005 Charlie Brady <charlieb@e-smith.com> 0.11.1-02 |
74 |
- Update to latest matrixssl. |
75 |
|
76 |
* Wed Nov 16 2005 Charlie Brady <charlieb@e-smith.com> 0.11.1-01 |
77 |
- Update to new ipsvd version. |
78 |
- Remove matrixssl build issue patch. |
79 |
|
80 |
* Mon Oct 24 2005 Charlie Brady <charlieb@e-smith.com> 0.11.0-04 |
81 |
- Update to latest matrixssl. |
82 |
|
83 |
* Tue Jul 12 2005 Charlie Brady <charlieb@e-smith.com> 0.11.0-03 |
84 |
- Rebuild on CentOS 4.1 build server, to correct segfault problem. |
85 |
|
86 |
* Tue Mar 15 2005 Charlie Brady <charlieb@e-smith.com> 0.11.0-02 |
87 |
- Fix install of sslio |
88 |
|
89 |
* Wed Feb 23 2005 Charlie Brady <charlieb@e-smith.com> 0.11.0-01 |
90 |
- Upgrade to 0.11.0 |
91 |
- Remove bogus dietlibc Requires: header (statically linked) |
92 |
|
93 |
* Sat Jan 15 2005 Charlie Brady <charlieb@e-smith.com> 0.10.1-01 |
94 |
- Upgrade to 0.10.1 |
95 |
- Upgrade martixssl to 1.2.2. |
96 |
- Don't bundle djbdns client library. |
97 |
|
98 |
* Mon Dec 20 2004 Charlie Brady <charlieb@e-smith.com> 0.9.7-01 |
99 |
- Upgrade to 0.9.7. |
100 |
|
101 |
* Thu Sep 30 2004 Charlie Brady <charlieb@e-smith.com> 0.9.6-01 |
102 |
- Upgrade to 0.9.6. |
103 |
- Upgrade martixssl to 1.2. |
104 |
|
105 |
* Mon Jun 07 2004 Charlie Brady <charlieb@e-smith.com> 0.9.3-01 |
106 |
- Upgrade to 0.9.3. |
107 |
|
108 |
* Mon May 03 2004 Charlie Brady <charlieb@e-smith.com> 0.9.1-01 |
109 |
- Upgrade to 0.9.1. |
110 |
|
111 |
* Sun May 02 2004 Charlie Brady <charlieb@e-smith.com> 0.9.0-01 |
112 |
- Upgrade to 0.9.0 (now includes sslio). |
113 |
- Build/link with dietlibc and matrixssl. |
114 |
|
115 |
* Tue Nov 04 2003 Charlie Brady <charlieb@e-smith.com> 0.6.0-02 |
116 |
- Build/link with uClibc. |
117 |
- Add missing man(8) pages. |
118 |
|
119 |
* Thu Oct 16 2003 Charlie Brady <charlieb@e-smith.com> 0.6.0-01 |
120 |
- Upgrade to 0.6.0. |
121 |
|
122 |
* Tue Jul 22 2003 Charlie Brady <charlieb@e-smith.com> 0.4.1-01 |
123 |
- Initial |
124 |
|
125 |
%prep |
126 |
%setup -c -n %{name}-%{version} |
127 |
cp -v %{SOURCE1} net/%{name}-%{version}/src/matrixssl.tar.gz |
128 |
mkdir -p net/%{name}-%{version}/compile |
129 |
perl -p -i -e 's:CC=../../compile:CC=../../compile -DDEBUG:' \ |
130 |
net/%{name}-%{version}/src/Makefile.matrixssl |
131 |
ln -s matrixssl-1-8-3-open net/%{name}-%{version}/compile/matrixssl |
132 |
|
133 |
%build |
134 |
cd net/%{name}-%{version} |
135 |
echo 'diet -Os gcc -O2 -Wall' >src/conf-cc |
136 |
echo 'diet -Os gcc -s -Os -pipe' >src/conf-ld |
137 |
./package/compile |
138 |
cd compile |
139 |
#patch -p0 < %{PATCH0} |
140 |
perl -p -i -e "s/printf.m/fprintf(stderr, m/" matrixssl/src/os/debug.c |
141 |
perl -p -i -e "s/ssl.*TLS_MIN_VER .. c/c/" matrixssl/src/sslDecode.c |
142 |
rm matrixssl.a sslio sslsvd |
143 |
cd .. |
144 |
./package/compile |
145 |
|
146 |
%install |
147 |
cd net/%{name}-%{version} |
148 |
mkdir -p $RPM_BUILD_ROOT/%{_bindir} |
149 |
for i in $(cat package/commands compile/command.ssl) |
150 |
do |
151 |
install command/$i $RPM_BUILD_ROOT/%{_bindir} |
152 |
done |
153 |
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1 |
154 |
#install man/*.1 $RPM_BUILD_ROOT/%{_mandir}/man1 |
155 |
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8 |
156 |
install man/*.8 $RPM_BUILD_ROOT/%{_mandir}/man8 |
157 |
|
158 |
%clean |
159 |
rm -r $RPM_BUILD_ROOT |
160 |
|
161 |
%files |
162 |
%defattr(-,root,root) |
163 |
%{_bindir}/* |
164 |
%{_mandir}/man8/* |
165 |
#%{_mandir}/man1/* |
166 |
%doc net/%{name}-%{version}/package/COPYING |
167 |
%doc net/%{name}-%{version}/doc/* |