diff options
-rw-r--r-- | network/socat/slack-desc | 8 | ||||
-rw-r--r-- | network/socat/socat.SlackBuild | 48 | ||||
-rw-r--r-- | network/socat/socat.info | 10 |
3 files changed, 29 insertions, 37 deletions
diff --git a/network/socat/slack-desc b/network/socat/slack-desc index 3563a683e0ddb..fae2c061ab27f 100644 --- a/network/socat/slack-desc +++ b/network/socat/slack-desc @@ -5,9 +5,9 @@ # exactly 11 lines for the formatting to be correct. It's also customary to # leave one space after the ':'. - |-----handy-ruler------------------------------------------------------| + |-----handy-ruler--------------------------------------------------------| socat: socat (multipurpose data relay) -socat: +socat: socat: socat is a relay for bidirectional data transfer between two socat: independent data channels. Each of these data channels may be a file, socat: pipe, device (serial line etc. or a pseudo terminal), a socket (UNIX, @@ -15,5 +15,5 @@ socat: IP4, IP6 - raw, UDP, TCP), an SSL socket, proxy CONNECT connection, socat: a file descriptor (stdin etc.), the GNU line editor (readline), socat: a program, or a combination of two of these. These modes include socat: generation of "listening" sockets, named pipes, and pseudo terminals. -socat: -socat: +socat: +socat: Homepage: http://www.dest-unreach.org/socat diff --git a/network/socat/socat.SlackBuild b/network/socat/socat.SlackBuild index 6284d9fa07a48..0ef453c8312e0 100644 --- a/network/socat/socat.SlackBuild +++ b/network/socat/socat.SlackBuild @@ -1,39 +1,34 @@ #!/bin/sh - # Slackware build script for socat # Copyright 2009 Andrew Psaltis <ampsaltis@gmail.com> +# Copyright 2011 Grigorios Bouzakis <grbzks@xsmail.com> # All rights reserved. # -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. +# Permission to use, copy, modify, and distribute this software for any purpose +# with or without fee is hereby granted, provided that the above copyright +# notice and this permission notice appear in all copies. # -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS:wOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - +# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, +# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +# AUTHORS AND COPYRIGHT HOLDERS AND THEIR CONTRIBUTORS BE LIABLE FOR ANY +# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=socat -VERSION=${VERSION:-1.7.1.0} +VERSION=${VERSION:-1.7.1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -57,9 +52,9 @@ else LIBDIRSUFFIX="" fi -DOCS="BUGREPORTS COPYING* DEVELOPMENT EXAMPLES FAQ README* SECURITY" +DOCS="BUGREPORTS CHANGES COPYING COPYING.OpenSSL DEVELOPMENT EXAMPLES FAQ README README.FIPS SECURITY doc/*.html" -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -85,17 +80,14 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux -# Compile the application and install it into the $PKG directory make make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/network/socat/socat.info b/network/socat/socat.info index 26c7e4cebf792..1e771c653d121 100644 --- a/network/socat/socat.info +++ b/network/socat/socat.info @@ -1,10 +1,10 @@ PRGNAM="socat" -VERSION="1.7.1.0" +VERSION="1.7.1.3" HOMEPAGE="http://www.dest-unreach.org/socat" -DOWNLOAD="http://www.dest-unreach.org/socat/download/socat-1.7.1.0.tar.gz" -MD5SUM="c14591f0e695c9c845ac90aef656b5be" +DOWNLOAD="http://www.dest-unreach.org/socat/download/socat-1.7.1.3.tar.gz" +MD5SUM="f5cd212c511725864c4b5e08a22d3366" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -MAINTAINER="Andrew Psaltis" -EMAIL="ampsaltis@gmail.com" +MAINTAINER="Grigorios Bouzakis" +EMAIL="grbzks@xsmail.com" APPROVED="dsomero" |