summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--network/twitter-cmdline/README8
-rw-r--r--network/twitter-cmdline/https.patch36
-rw-r--r--network/twitter-cmdline/slack-desc19
-rw-r--r--network/twitter-cmdline/twitter-cmdline.SlackBuild89
-rw-r--r--network/twitter-cmdline/twitter-cmdline.info10
5 files changed, 0 insertions, 162 deletions
diff --git a/network/twitter-cmdline/README b/network/twitter-cmdline/README
deleted file mode 100644
index 85f92944d6..0000000000
--- a/network/twitter-cmdline/README
+++ /dev/null
@@ -1,8 +0,0 @@
-It's a very simple perl program that allows for posting to twitter, and
-reading your friends_timeline from twitter. It can initiate follow messages,
-and it can send direct messages.
-
-This command-line twitter client supports an arbitrary number of twitter
-accounts by way of individual configuration files for each twitter account.
-The default account is $HOME/.twitterrc, but an alternate can be specified on
-the command-line with -f.
diff --git a/network/twitter-cmdline/https.patch b/network/twitter-cmdline/https.patch
deleted file mode 100644
index 79a3c76bc7..0000000000
--- a/network/twitter-cmdline/https.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -Naur twitter-1.03.orig/Twitter.pm twitter-1.03/Twitter.pm
---- twitter-1.03.orig/Twitter.pm 2008-06-16 23:39:19.000000000 +0200
-+++ twitter-1.03/Twitter.pm 2009-04-06 16:30:59.000000000 +0200
-@@ -10,8 +10,8 @@
- # This package implements a twitter object that is
- # used to connect to twitter, and "do stuff"
-
--my $twitter_post = q{http://twitter.com/statuses/update.json};
--my $twitter_friends_timeline = q{http://twitter.com/statuses/friends_timeline.rss};
-+my $twitter_post = q{https://twitter.com/statuses/update.json};
-+my $twitter_friends_timeline = q{https://twitter.com/statuses/friends_timeline.rss};
-
- # Constructor.
- # new ( <user>, <pass>, [cookie jar] )
-@@ -39,8 +39,8 @@
- $self->{ua}->timeout(10);
-
- # Basic auth is for the win.
-- $self->{ua}->credentials( "www.twitter.com:80", "Twitter API", $u, $p );
-- $self->{ua}->credentials( "twitter.com:80", "Twitter API", $u, $p );
-+ $self->{ua}->credentials( "www.twitter.com:443", "Twitter API", $u, $p );
-+ $self->{ua}->credentials( "twitter.com:443", "Twitter API", $u, $p );
-
- # It's fun to store our cookies.
- $self->{ua}->cookie_jar( HTTP::Cookies->new(
-diff -Naur twitter-1.03.orig/twitter.pl twitter-1.03/twitter.pl
---- twitter-1.03.orig/twitter.pl 2008-07-09 20:38:39.000000000 +0200
-+++ twitter-1.03/twitter.pl 2009-04-06 16:30:25.000000000 +0200
-@@ -12,7 +12,6 @@
- # Licensed under the GNU GPL v2.
-
- use strict;
--use lib '/home/gabriel/lib';
- use Data::Dumper;
- use Getopt::Std;
- use Twitter;
diff --git a/network/twitter-cmdline/slack-desc b/network/twitter-cmdline/slack-desc
deleted file mode 100644
index 06b41cc436..0000000000
--- a/network/twitter-cmdline/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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 ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-twitter-cmdline: twitter-cmdline (command-line twitter client)
-twitter-cmdline:
-twitter-cmdline: It's a very simple perl program that allows for posting to twitter,
-twitter-cmdline: and reading your friends_timeline from twitter. It can initiate
-twitter-cmdline: follow messages, and it can send direct messages.
-twitter-cmdline:
-twitter-cmdline:
-twitter-cmdline:
-twitter-cmdline:
-twitter-cmdline:
-twitter-cmdline:
diff --git a/network/twitter-cmdline/twitter-cmdline.SlackBuild b/network/twitter-cmdline/twitter-cmdline.SlackBuild
deleted file mode 100644
index 3dc894656f..0000000000
--- a/network/twitter-cmdline/twitter-cmdline.SlackBuild
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for twitter-cmdline.
-#
-# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it>
-# 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.
-#
-# 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=twitter-cmdline
-SRCNAM=twitter
-VERSION=1.03
-BUILD=${BUILD:-2}
-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}
-DOCS="README"
-
-if [ "$ARCH" = "i486" ]; then
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-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 $SRCNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -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 {} \;
-
-# I do not like the http-only approach: switch to https-only.
-# If you prefer cleartext authentication, feel free to comment this out.
-patch -p1 < $CWD/https.patch
-
-install -d $PKG/usr/bin/ $PKG/usr/lib$LIBDIRSUFFIX/perl5/vendor_perl/5.10.0/
-install -m 0644 Twitter.pm $PKG/usr/lib$LIBDIRSUFFIX/perl5/vendor_perl/5.10.0/
-install -m 0755 twitter.pl $PKG/usr/bin/
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $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/network/twitter-cmdline/twitter-cmdline.info b/network/twitter-cmdline/twitter-cmdline.info
deleted file mode 100644
index 53e080999b..0000000000
--- a/network/twitter-cmdline/twitter-cmdline.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="twitter-cmdline"
-VERSION="1.03"
-HOMEPAGE="http://gabrielcain.com/projects/twitter/"
-DOWNLOAD="http://gabrielcain.com/projects/twitter/twitter-cmdline-1.03.tar.gz"
-MD5SUM="8a439e3e53fa0c3c2a4e9e6998d29b4c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libwww-perl"
-MAINTAINER="Marco Bonetti"
-EMAIL="sid77@slackware.it"