summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorGuillermo Bonvehi <gbonvehi@gmail.com>2010-05-11 20:01:41 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 20:01:41 +0200
commit8c7dd59abf863eeff9d397e73303e707486ba18c (patch)
tree1bfc649bb364644bf18b37a23acb83c0ce747f26 /network
parent979595b4a729f63a3266f095dbcbf4c8ae57f3cb (diff)
downloadslackbuilds-8c7dd59abf863eeff9d397e73303e707486ba18c.tar.gz
network/pidgin-otr: Added to 12.0 repository
Diffstat (limited to 'network')
-rw-r--r--network/pidgin-otr/README13
-rw-r--r--network/pidgin-otr/pidgin-otr.SlackBuild80
-rw-r--r--network/pidgin-otr/pidgin-otr.info8
-rw-r--r--network/pidgin-otr/slack-desc19
4 files changed, 120 insertions, 0 deletions
diff --git a/network/pidgin-otr/README b/network/pidgin-otr/README
new file mode 100644
index 0000000000..bd8a5e51af
--- /dev/null
+++ b/network/pidgin-otr/README
@@ -0,0 +1,13 @@
+Off-the-Record (OTR) Messaging for Pidgin
+
+Allows you to have private conversations over instant messaging when
+talking on Pidgin by providing:
+- Encryption: No one else can read your instant messages.
+- Authentication: You are assured the correspondent is who you think it is.
+- Deniability: The messages you send do not have digital signatures that
+ are checkable by a third party.
+- Perfect forward secrecy: If you lose control of your private keys,
+ no previous conversation is compromised.
+
+In order to use this plugin, you need libotr, which is also available
+at SlackBuilds.org.
diff --git a/network/pidgin-otr/pidgin-otr.SlackBuild b/network/pidgin-otr/pidgin-otr.SlackBuild
new file mode 100644
index 0000000000..b5a9490e75
--- /dev/null
+++ b/network/pidgin-otr/pidgin-otr.SlackBuild
@@ -0,0 +1,80 @@
+#!/bin/sh
+
+# Slackware build script for pidgin-otr
+
+# Copyright 2007 by Guillermo Bonvehi (gbonvehi@gmail.com)
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# 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 FOR 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.
+
+PRGNAM=pidgin-otr
+VERSION=3.1.0
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PKGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+PKG_NAME=$(echo $PRGNAM | tr - _)
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --enable-static=no
+
+make
+make install DESTDIR=$PKG
+
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+)
+
+mkdir -p $PKG/usr/doc/$PKG_NAME-$VERSION/po
+cp -a README AUTHORS COPYING ChangeLog INSTALL NEWS \
+ $PKG/usr/doc/$PKG_NAME-$VERSION
+cp -a po/README po/ChangeLog $PKG/usr/doc/$PKG_NAME-$VERSION/po
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PKG_NAME-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PKG_NAME-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/network/pidgin-otr/pidgin-otr.info b/network/pidgin-otr/pidgin-otr.info
new file mode 100644
index 0000000000..d5e2b9a4b7
--- /dev/null
+++ b/network/pidgin-otr/pidgin-otr.info
@@ -0,0 +1,8 @@
+PRGNAM="pidgin-otr"
+VERSION="3.1.0"
+HOMEPAGE="http://www.cypherpunks.ca/otr/"
+DOWNLOAD="http://www.cypherpunks.ca/otr/pidgin-otr-3.1.0.tar.gz"
+MD5SUM="f4ca8bc228069616d4c8fa9288af6bb5"
+MAINTAINER="Guillermo Bonvehi"
+EMAIL="gbonvehi@gmail.com"
+APPROVED="rworkman"
diff --git a/network/pidgin-otr/slack-desc b/network/pidgin-otr/slack-desc
new file mode 100644
index 0000000000..910c70f586
--- /dev/null
+++ b/network/pidgin-otr/slack-desc
@@ -0,0 +1,19 @@
+# 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------------------------------------------------------|
+pidgin_otr: pidgin_otr (Off-the-Record (OTR) Messaging for Pidgin)
+pidgin_otr:
+pidgin_otr: Allows you to have private conversations over instant messaging
+pidgin_otr: when talking on Pidgin by providing:
+pidgin_otr: - Encryption: No one else can read your instant messages.
+pidgin_otr: - Authentication: You are assured the correspondent is who you
+pidgin_otr: think it is.
+pidgin_otr: - Deniability: The messages you send do not have digital
+pidgin_otr: signatures that are checkable by a third party.
+pidgin_otr: - Perfect forward secrecy: If you lose control of your private
+pidgin_otr: keys, no previous conversation is compromised.