1 |
Summary: internet protocol service daemons |
Summary: internet protocol service daemons |
2 |
Name: ipsvd |
Name: ipsvd |
3 |
Version: 0.12.1 |
Version: 0.12.1 |
4 |
Release: 1%{?dist} |
Release: 4%{?dist} |
5 |
License: BSD style |
License: BSD style |
6 |
Group: System Enviornment/Daemons |
Group: System Enviornment/Daemons |
7 |
Url: http://smarden.org/ipsvd/ |
Url: http://smarden.org/ipsvd/ |
8 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
9 |
Source1: matrixssl-1-8-3-open.tar.gz |
Source1: matrixssl-1-8-3-open.tar.gz |
10 |
|
Patch0: matrix.decode.debug.patch |
11 |
BuildRequires: dietlibc |
BuildRequires: dietlibc |
12 |
BuildRoot: %{_tmppath}/%{name}-root |
BuildRoot: %{_tmppath}/%{name}-root |
13 |
%description |
%description |
34 |
ipsvd can be used to run services normally run by inetd, xinetd, or tcpserver. |
ipsvd can be used to run services normally run by inetd, xinetd, or tcpserver. |
35 |
|
|
36 |
%changelog |
%changelog |
37 |
|
* Tue Oct 2 2007 Charlie Brady <charlieb@e-smith.com> 0.12.1-04 |
38 |
|
- Add more debugging of client hello parsing. |
39 |
|
|
40 |
|
* 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 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
49 |
- Clean up spec so package can be built by koji/plague |
- Clean up spec so package can be built by koji/plague |
50 |
|
|
123 |
%setup -c -n %{name}-%{version} |
%setup -c -n %{name}-%{version} |
124 |
cp -v %{SOURCE1} net/%{name}-%{version}/src/matrixssl.tar.gz |
cp -v %{SOURCE1} net/%{name}-%{version}/src/matrixssl.tar.gz |
125 |
mkdir -p net/%{name}-%{version}/compile |
mkdir -p net/%{name}-%{version}/compile |
126 |
|
perl -p -i -e 's:CC=../../compile:CC=../../compile -DDEBUG:' \ |
127 |
|
net/%{name}-%{version}/src/Makefile.matrixssl |
128 |
ln -s matrixssl-1-8-3-open net/%{name}-%{version}/compile/matrixssl |
ln -s matrixssl-1-8-3-open net/%{name}-%{version}/compile/matrixssl |
129 |
|
|
130 |
%build |
%build |
132 |
echo 'diet -Os gcc -O2 -Wall' >src/conf-cc |
echo 'diet -Os gcc -O2 -Wall' >src/conf-cc |
133 |
echo 'diet -Os gcc -s -Os -pipe' >src/conf-ld |
echo 'diet -Os gcc -s -Os -pipe' >src/conf-ld |
134 |
./package/compile |
./package/compile |
135 |
|
cd compile |
136 |
|
patch -p0 < %{PATCH0} |
137 |
|
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 |
|
|
143 |
%install |
%install |
144 |
cd net/%{name}-%{version} |
cd net/%{name}-%{version} |