From ba773b160a2a86af106d8772d238b6f38fcd7ae4 Mon Sep 17 00:00:00 2001 From: crocket Date: Sun, 17 Jul 2011 12:26:43 -0500 Subject: perl/libpurple-kwallet-plugin: Added (pidgin kwallet plugin) Signed-off-by: Robby Workman --- perl/libpurple-kwallet-plugin/README | 6 +++ .../libpurple-kwallet-plugin.SlackBuild | 57 ++++++++++++++++++++++ .../libpurple-kwallet-plugin.info | 10 ++++ perl/libpurple-kwallet-plugin/slack-desc | 19 ++++++++ 4 files changed, 92 insertions(+) create mode 100644 perl/libpurple-kwallet-plugin/README create mode 100644 perl/libpurple-kwallet-plugin/libpurple-kwallet-plugin.SlackBuild create mode 100644 perl/libpurple-kwallet-plugin/libpurple-kwallet-plugin.info create mode 100644 perl/libpurple-kwallet-plugin/slack-desc (limited to 'perl') diff --git a/perl/libpurple-kwallet-plugin/README b/perl/libpurple-kwallet-plugin/README new file mode 100644 index 0000000000..49e3a85c5b --- /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 0000000000..88519db83e --- /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 0000000000..7ff29962f6 --- /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 0000000000..500da5c51e --- /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: -- cgit v1.2.3