aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorcrocket <crockabiscuit@gmail.com>2011-07-17 12:26:43 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-07-17 23:39:35 -0500
commitba773b160a2a86af106d8772d238b6f38fcd7ae4 (patch)
tree04b9b151d739432852982ce57556768d1b51dc30 /perl
parenta15940ffc2b126a32532144eb99e9fd9ea498ddd (diff)
perl/libpurple-kwallet-plugin: Added (pidgin kwallet plugin)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r--perl/libpurple-kwallet-plugin/README6
-rw-r--r--perl/libpurple-kwallet-plugin/libpurple-kwallet-plugin.SlackBuild57
-rw-r--r--perl/libpurple-kwallet-plugin/libpurple-kwallet-plugin.info10
-rw-r--r--perl/libpurple-kwallet-plugin/slack-desc19
4 files changed, 92 insertions, 0 deletions
diff --git a/perl/libpurple-kwallet-plugin/README b/perl/libpurple-kwallet-plugin/README
new file mode 100644
index 0000000000000..49e3a85c5b61c
--- /dev/null
+++ b/perl/libpurple-kwallet-plugin/README
@@ -0,0 +1,6 @@
+libpurple-kwallet-plugin ( pidgin kwallet plugin )
+
+This is a perl plugin that encrypts pidgin passwords
+and saves them in kwallet.
+
+This requires perl-net-dbus.
diff --git a/perl/libpurple-kwallet-plugin/libpurple-kwallet-plugin.SlackBuild b/perl/libpurple-kwallet-plugin/libpurple-kwallet-plugin.SlackBuild
new file mode 100644
index 0000000000000..88519db83e88b
--- /dev/null
+++ b/perl/libpurple-kwallet-plugin/libpurple-kwallet-plugin.SlackBuild
@@ -0,0 +1,57 @@
+#!/bin/sh
+
+# Slackware build script for libpurple-kwallet-plugin
+
+# Written by crocket (crockabiscuit@gmail.com)
+
+PRGNAM=libpurple-kwallet-plugin
+VERSION=${VERSION:-0.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "x86_64" ]; then
+ LIBDIRSUFFIX="64"
+else
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/purple-2
+cp libpurple_kwallet_plugin.pl $PKG/usr/lib${LIBDIRSUFFIX}/purple-2
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a gplv3.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+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.${PKGTYPE:-tgz}
diff --git a/perl/libpurple-kwallet-plugin/libpurple-kwallet-plugin.info b/perl/libpurple-kwallet-plugin/libpurple-kwallet-plugin.info
new file mode 100644
index 0000000000000..7ff29962f6dd3
--- /dev/null
+++ b/perl/libpurple-kwallet-plugin/libpurple-kwallet-plugin.info
@@ -0,0 +1,10 @@
+PRGNAM="libpurple-kwallet-plugin"
+VERSION="0.1"
+HOMEPAGE="http://gitorious.org/libpurple-kwallet-plugin"
+DOWNLOAD="http://crocket-slackbuilds.googlecode.com/files/libpurple-kwallet-plugin-0.1.tar.bz2"
+MD5SUM="7cba96b613c7e94404f2e071043416e5"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="crocket"
+EMAIL="crockabiscuit@gmail.com"
+APPROVED="rworkman"
diff --git a/perl/libpurple-kwallet-plugin/slack-desc b/perl/libpurple-kwallet-plugin/slack-desc
new file mode 100644
index 0000000000000..500da5c51ee6e
--- /dev/null
+++ b/perl/libpurple-kwallet-plugin/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------------------------------------------------------|
+libpurple-kwallet-plugin: libpurple-kwallet-plugin (pidgin kwallet plugin)
+libpurple-kwallet-plugin:
+libpurple-kwallet-plugin: libpurple-kwallet-plugin is a perl plugin that encrypts
+libpurple-kwallet-plugin: pidgin passwords and saves them in kwallet.
+libpurple-kwallet-plugin:
+libpurple-kwallet-plugin: Website : http://gitorious.org/libpurple-kwallet-plugin
+libpurple-kwallet-plugin:
+libpurple-kwallet-plugin:
+libpurple-kwallet-plugin:
+libpurple-kwallet-plugin:
+libpurple-kwallet-plugin: