socat/socat.spec

Fri, 11 Mar 2011 21:39:41 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 11 Mar 2011 21:39:41 +0100
changeset 2
e3665a058d13
parent 0
4f133201e207
permissions
-rw-r--r--

Import new package specs for introduction into repository.

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

mercurial