1 |
|
# $Id: ipsvd.spec,v 1.6 2008/04/09 13:51:50 slords 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: 1%{?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 |
|
Patch0: matrix.decode.debug.patch |
13 |
|
Patch1: tcpsvd_keepalive.patch |
14 |
BuildRequires: dietlibc |
BuildRequires: dietlibc |
15 |
BuildRoot: %{_tmppath}/%{name}-root |
BuildRoot: %{_tmppath}/%{name}-root |
16 |
%description |
%description |
37 |
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. |
38 |
|
|
39 |
%changelog |
%changelog |
40 |
|
* Wed Dec 25 2013 Charlie Brady <charlieb@e-smith.com> 0.12.1-06 |
41 |
|
- Add option to tcpsvd to set socket keepalive. Code provided by Chris Maltby. |
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 |
51 |
|
- Send all debugging to stderr rather than stdout. |
52 |
|
- Fix bug parsing SSL 3.0 client hello (if hello extensions are |
53 |
|
included, as in Thunderbird 2). [SME: 3438] |
54 |
|
|
55 |
|
* Thu Aug 16 2007 Charlie Brady <charlieb@e-smith.com> 0.12.1-02 |
56 |
|
- Enable DEBUG during matrixssl build. |
57 |
|
|
58 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
59 |
- Clean up spec so package can be built by koji/plague |
- Clean up spec so package can be built by koji/plague |
60 |
|
|
133 |
%setup -c -n %{name}-%{version} |
%setup -c -n %{name}-%{version} |
134 |
cp -v %{SOURCE1} net/%{name}-%{version}/src/matrixssl.tar.gz |
cp -v %{SOURCE1} net/%{name}-%{version}/src/matrixssl.tar.gz |
135 |
mkdir -p net/%{name}-%{version}/compile |
mkdir -p net/%{name}-%{version}/compile |
136 |
|
perl -p -i -e 's:CC=../../compile:CC=../../compile -DDEBUG:' \ |
137 |
|
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 'diet -Os gcc -O2 -Wall' >src/conf-cc |
144 |
echo 'diet -Os gcc -s -Os -pipe' >src/conf-ld |
echo 'diet -Os gcc -s -Os -pipe' >src/conf-ld |
145 |
./package/compile |
./package/compile |
146 |
|
cd compile |
147 |
|
#patch -p0 < %{PATCH0} |
148 |
|
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 |
150 |
|
rm matrixssl.a sslio sslsvd |
151 |
|
cd .. |
152 |
|
./package/compile |
153 |
|
|
154 |
%install |
%install |
155 |
cd net/%{name}-%{version} |
cd net/%{name}-%{version} |