summaryrefslogtreecommitdiff
path: root/libraries/tls
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/tls')
-rw-r--r--libraries/tls/slack-desc21
-rw-r--r--libraries/tls/tls.SlackBuild6
-rw-r--r--libraries/tls/tls.info4
3 files changed, 22 insertions, 9 deletions
diff --git a/libraries/tls/slack-desc b/libraries/tls/slack-desc
index 23e4706696..5276b2c613 100644
--- a/libraries/tls/slack-desc
+++ b/libraries/tls/slack-desc
@@ -1,12 +1,19 @@
- |-----handy-ruler----------------------------------------------------------|
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|' on
+# the right side marks the last column you can put a character in. You must make
+# exactly 11 lines for the formatting to be correct. It's also customary to
+# leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
tls: TLS (An OpenSSL TCL extension)
tls:
tls: For use both on client and server-side as a layering for SSL sockets.
+tls: A portable extension that provides the power of OpenSSL to Tcl
+tls: programs. This extension can be used to utilize SSL encryption on
+tls: top of any valid Tcl Channel not just sockets. The sockets behave
+tls: exactly the same as channels created using Tcl's built-in socket
+tls: command, with additional options for controlling the SSL session.
tls:
-tls:
-tls:
-tls:
-tls:
-tls:
-tls: http://tls.sourceforge.net
+tls: Homepage: http://tls.sourceforge.net
tls:
diff --git a/libraries/tls/tls.SlackBuild b/libraries/tls/tls.SlackBuild
index fa48588694..c1e43ffc7e 100644
--- a/libraries/tls/tls.SlackBuild
+++ b/libraries/tls/tls.SlackBuild
@@ -17,10 +17,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
rm -rf $PKG
@@ -35,6 +38,7 @@ chmod -R u+w,go+r-w,a-s .
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var || exit 1
@@ -53,4 +57,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/tls/tls.info b/libraries/tls/tls.info
index 04760e9516..d559badbf9 100644
--- a/libraries/tls/tls.info
+++ b/libraries/tls/tls.info
@@ -1,8 +1,10 @@
PRGNAM="tls"
VERSION="1.6"
HOMEPAGE="http://tls.sourceforge.net/"
-DOWNLOAD="http://ufpr.dl.sourceforge.net/sourceforge/tls/tls1.6-src.tar.gz"
+DOWNLOAD="http://downloads.sourceforge.net/tls/tls1.6-src.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="eb326ff9e6fc3b9885aa5c72fb8df3bf"
+MD5SUM_x86_64=""
MAINTAINER="Bruno Vezzaro"
EMAIL="b.vezzaro@gmail.com"
APPROVED="dsomero"