socat/socat.spec

Fri, 11 Mar 2011 21:36:51 +0100

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

Adjust specification build configurations to port packages to MeeGo.

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

mercurial