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: 5%{?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 |
|
* Sat Oct 6 2007 Charlie Brady <charlieb@e-smith.com> 0.12.1-05 |
38 |
|
- Remove extra debugging code. |
39 |
|
|
40 |
|
* Tue Oct 2 2007 Charlie Brady <charlieb@e-smith.com> 0.12.1-04 |
41 |
|
- Add more debugging of client hello parsing. |
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). |
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> |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
52 |
- Clean up spec so package can be built by koji/plague |
- Clean up spec so package can be built by koji/plague |
53 |
|
|
126 |
%setup -c -n %{name}-%{version} |
%setup -c -n %{name}-%{version} |
127 |
cp -v %{SOURCE1} net/%{name}-%{version}/src/matrixssl.tar.gz |
cp -v %{SOURCE1} net/%{name}-%{version}/src/matrixssl.tar.gz |
128 |
mkdir -p net/%{name}-%{version}/compile |
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 |
ln -s matrixssl-1-8-3-open net/%{name}-%{version}/compile/matrixssl |
132 |
|
|
133 |
%build |
%build |
135 |
echo 'diet -Os gcc -O2 -Wall' >src/conf-cc |
echo 'diet -Os gcc -O2 -Wall' >src/conf-cc |
136 |
echo 'diet -Os gcc -s -Os -pipe' >src/conf-ld |
echo 'diet -Os gcc -s -Os -pipe' >src/conf-ld |
137 |
./package/compile |
./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 |
%install |
147 |
cd net/%{name}-%{version} |
cd net/%{name}-%{version} |