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