1 |
|
# $Id: ipsvd.spec,v 1.7 2013/12/25 21:15:46 charliebrady Exp $ |
2 |
|
|
3 |
Summary: internet protocol service daemons |
Summary: internet protocol service daemons |
4 |
Name: ipsvd |
Name: ipsvd |
5 |
Version: 0.12.1 |
Version: 0.12.1 |
6 |
Release: 3%{?dist} |
Release: 6%{?dist} |
7 |
License: BSD style |
License: BSD style |
8 |
Group: System Enviornment/Daemons |
Group: System Enviornment/Daemons |
9 |
Url: http://smarden.org/ipsvd/ |
Url: http://smarden.org/ipsvd/ |
10 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
11 |
Source1: matrixssl-1-8-3-open.tar.gz |
Source1: matrixssl-1-8-3-open.tar.gz |
12 |
BuildRequires: dietlibc |
Patch0: matrix.decode.debug.patch |
13 |
|
Patch1: tcpsvd_keepalive.patch |
14 |
BuildRoot: %{_tmppath}/%{name}-root |
BuildRoot: %{_tmppath}/%{name}-root |
15 |
%description |
%description |
16 |
|
|
36 |
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. |
37 |
|
|
38 |
%changelog |
%changelog |
39 |
|
* Wed Dec 25 2013 Charlie Brady <charlieb@e-smith.com> 0.12.1-06 |
40 |
|
- Add option to tcpsvd to set socket keepalive. Code provided by Chris Maltby. |
41 |
|
Don't use dietlibc for build, as it's not available on the build server. |
42 |
|
[SME: 8084] |
43 |
|
|
44 |
|
* Sat Oct 6 2007 Charlie Brady <charlieb@e-smith.com> 0.12.1-05 |
45 |
|
- Remove extra debugging code. [SME: 3438] |
46 |
|
|
47 |
|
* Tue Oct 2 2007 Charlie Brady <charlieb@e-smith.com> 0.12.1-04 |
48 |
|
- Add more debugging of client hello parsing. [SME: 3438] |
49 |
|
|
50 |
* Fri Aug 17 2007 Charlie Brady <charlieb@e-smith.com> 0.12.1-03 |
* Fri Aug 17 2007 Charlie Brady <charlieb@e-smith.com> 0.12.1-03 |
51 |
- Send all debugging to stderr rather than stdout. |
- Send all debugging to stderr rather than stdout. |
52 |
- Fix bug parsing SSL 3.0 client hello (if hello extensions are |
- Fix bug parsing SSL 3.0 client hello (if hello extensions are |
53 |
included, as in Thunderbird 2). |
included, as in Thunderbird 2). [SME: 3438] |
54 |
|
|
55 |
* Thu Aug 16 2007 Charlie Brady <charlieb@e-smith.com> 0.12.1-02 |
* Thu Aug 16 2007 Charlie Brady <charlieb@e-smith.com> 0.12.1-02 |
56 |
- Enable DEBUG during matrixssl build. |
- Enable DEBUG during matrixssl build. |
136 |
perl -p -i -e 's:CC=../../compile:CC=../../compile -DDEBUG:' \ |
perl -p -i -e 's:CC=../../compile:CC=../../compile -DDEBUG:' \ |
137 |
net/%{name}-%{version}/src/Makefile.matrixssl |
net/%{name}-%{version}/src/Makefile.matrixssl |
138 |
ln -s matrixssl-1-8-3-open net/%{name}-%{version}/compile/matrixssl |
ln -s matrixssl-1-8-3-open net/%{name}-%{version}/compile/matrixssl |
139 |
|
%patch1 -p0 |
140 |
|
|
141 |
%build |
%build |
142 |
cd net/%{name}-%{version} |
cd net/%{name}-%{version} |
143 |
echo 'diet -Os gcc -O2 -Wall' >src/conf-cc |
echo 'gcc -O2 -Wall' >src/conf-cc |
144 |
echo 'diet -Os gcc -s -Os -pipe' >src/conf-ld |
echo 'gcc -s -Os -pipe' >src/conf-ld |
145 |
./package/compile |
./package/compile |
146 |
cd compile |
cd compile |
147 |
|
#patch -p0 < %{PATCH0} |
148 |
perl -p -i -e "s/printf.m/fprintf(stderr, m/" matrixssl/src/os/debug.c |
perl -p -i -e "s/printf.m/fprintf(stderr, m/" matrixssl/src/os/debug.c |
149 |
perl -p -i -e "s/ssl.*TLS_MIN_VER .. c/c/" matrixssl/src/sslDecode.c |
perl -p -i -e "s/ssl.*TLS_MIN_VER .. c/c/" matrixssl/src/sslDecode.c |
150 |
rm matrixssl.a sslio sslsvd |
rm matrixssl.a sslio sslsvd |