socat/socat.spec

Fri, 11 Mar 2011 21:30:26 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 11 Mar 2011 21:30:26 +0100
changeset 0
4f133201e207
child 1
4667f24fe848
permissions
-rw-r--r--

Import package vendor original specs for necessary manipulations.

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

mercurial