socat/socat.spec

changeset 0
4f133201e207
child 1
4667f24fe848
equal deleted inserted replaced
-1:000000000000 0:2461f5c858d9
1 Summary: Bidirectional data relay between two data channels ('netcat++')
2 Name: socat
3 Version: 1.7.1.3
4 Release: 1%{?dist}
5 License: GPLv2
6 Url: http://www.dest-unreach.org/%{name}
7 Source: http://www.dest-unreach.org/socat/download/%{name}-%{version}.tar.gz
8 Group: Applications/Internet
9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10 BuildRequires: openssl-devel compat-readline5-devel ncurses-devel
11 BuildRequires: autoconf kernel-headers > 2.6.18
12
13 %description
14 Socat is a relay for bidirectional data transfer between two independent data
15 channels. Each of these data channels may be a file, pipe, device (serial line
16 etc. or a pseudo terminal), a socket (UNIX, IP4, IP6 - raw, UDP, TCP), an
17 SSL socket, proxy CONNECT connection, a file descriptor (stdin etc.), the GNU
18 line editor (readline), a program, or a combination of two of these.
19 The compat-readline5 library is used to avoid GPLv2 vs GPLv3 issues.
20
21
22 %prep
23 %setup -q
24 iconv -f iso8859-1 -t utf-8 CHANGES > CHANGES.utf8
25 mv CHANGES.utf8 CHANGES
26
27 %build
28 autoconf
29 export CPPFLAGS="-I%{_includedir}/readline5" LDFLAGS="-L%{_libdir}/readline5"
30 %configure \
31 --enable-help --enable-stdio \
32 --enable-fdnum --enable-file --enable-creat \
33 --enable-gopen --enable-pipe --enable-termios \
34 --enable-unix --enable-ip4 --enable-ip6 \
35 --enable-rawip --enable-tcp --enable-udp \
36 --enable-listen --enable-proxy --enable-exec \
37 --enable-system --enable-pty --enable-readline \
38 --enable-openssl --enable-sycls --enable-filan \
39 --enable-retry --enable-libwrap --disable-fips
40
41 chmod 644 *.sh
42 make %{?_smp_mflags}
43
44 %install
45 rm -rf %{buildroot}
46
47 make DESTDIR=%{buildroot} install
48
49 %clean
50 rm -rf %{buildroot}
51
52 %files
53 %defattr(-,root,root)
54 %doc BUGREPORTS CHANGES DEVELOPMENT EXAMPLES FAQ PORTING
55 %doc COPYING* README SECURITY testcert.conf
56 %doc daemon.sh ftp.sh gatherinfo.sh mail.sh proxy.sh
57 %doc proxyecho.sh readline.sh readline-test.sh
58 %doc socks4echo.sh socks4a-echo.sh test.sh
59 %{_bindir}/socat
60 %{_bindir}/filan
61 %{_bindir}/procan
62 %doc %{_mandir}/man1/socat.1*
63
64 %changelog
65 * Mon Aug 23 2010 Paul Wouters <paul@xelerance.com> - 1.7.1.3-1
66 - Upgrade to 1.7.1.3
67 - Includes fix for CVE-2010-2799 Stack overflow by lexical scanning of nested
68 character patterns
69 - Resolves https://bugzilla.redhat.com/show_bug.cgi?id=620430
70
71 * Sat Jan 30 2010 Paul Wouters <paul@xelerance.com> - 1.7.1.2-1
72 - Upgraded to 1.7.1.2
73 - Link against compat-readline5 for GPLv2 license (Miroslav Lichvar)
74 (bz #511310)
75
76 * Sat Aug 29 2009 Caolán McNamara <caolanm@redhat.com> - 1.7.1.1-5
77 - recreate autoconf to get correct includes when determining type
78 sizes in order to build correctly
79
80 * Fri Aug 28 2009 Paul Wouters <paul@xelerance.com> - 1.7.1.1-4
81 - Bump for new openssl
82
83 * Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.7.1.1-3
84 - rebuilt with new openssl
85
86 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.1.1-2
87 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
88
89 * Mon May 11 2009 Paul Wouters <paul@xelerance.com> - 1.7.1.1-1
90 - Upgraded to 1.7.1.1.
91 - Patch for configure.in with -Wall
92
93 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0.0-2
94 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
95
96 * Tue Jan 20 2009 Paul Wouters <paul@xelerance.com 1.7.0.0-1
97 - Updated to new upstream version
98 - utf8 the CHANGES file
99
100 * Sun Jan 18 2009 Tomas Mraz <tmraz@redhat.com> 1.6.0.1-3
101 - disable the upstream openssl fips support
102
103 * Thu Sep 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.6.0.1-2
104 - forgot to upload new source
105
106 * Thu Sep 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.6.0.1-1
107 - fix license tag
108 - update to 1.6.0.1
109
110 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.0.0-8
111 - Autorebuild for GCC 4.3
112
113 * Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.5.0.0-7
114 - Rebuild for deps
115
116 * Wed Dec 5 2007 Paul Wouters <paul@xelerance.com> 1.5.0.0-6
117 - Rebuild for updatesd libcrypto
118
119 * Mon Feb 19 2007 Paul Wouters <paul@xelerance.com> 1.5.0.0-5
120 - Tagging failure bug in redhat build system requires bump
121
122 * Mon Feb 19 2007 Paul Wouters <paul@xelerance.com> 1.5.0.0-4
123 - Some filesystem defines moved from their specific (ext2)
124 filesystem defines into the generic <linux/fs.h>.
125
126 * Mon Sep 11 2006 Paul Wouters <paul@xelerance.com> 1.5.0.0-3
127 - Rebuild requested for PT_GNU_HASH support from gcc
128
129 * Sun Aug 20 2006 Paul Wouters <paul@xelerance.com> - 1.5.0.0-2
130 - Added missing examples to doc section and removed execute bits.
131
132 * Fri Aug 04 2006 Paul Wouters <paul@xelerance.com> - 1.5.0.0-1
133 - Updated to 1.5.0.0
134 - removed version cut/mversion, since source untars properly now.
135
136 * Tue May 09 2006 Paul Wouters <paul@xelerance.com> - 1.4.3.1-1
137 - Updated to 1.4.3.1
138
139 * Thu Jan 26 2006 Paul Wouters <paul@xelerance.com> 1.4.3.0-2
140 - Removed DESTDIR export and fixed two capitals
141
142 * Thu Jan 26 2006 Paul Wouters <paul@xelerance.com> 1.4.3.0-1
143 - Initial version based on Pascal Bleser <guru@unixtech.be> suse rpm

mercurial