diff options
author | Francisco Blas Izquierdo Riera (klondike) <klondike@xiscosoft.es> | 2013-04-19 05:09:14 +0200 |
---|---|---|
committer | Francisco Blas Izquierdo Riera (klondike) <klondike@xiscosoft.es> | 2013-04-19 05:09:14 +0200 |
commit | a8ea5e56733d4443c0158fa2cab8fbce925787dc (patch) | |
tree | c4ed132e74621ef691a106fa4889ff7dec96263d | |
parent | Keep the outputs (diff) | |
download | klondike-a8ea5e56733d4443c0158fa2cab8fbce925787dc.tar.gz klondike-a8ea5e56733d4443c0158fa2cab8fbce925787dc.tar.bz2 klondike-a8ea5e56733d4443c0158fa2cab8fbce925787dc.zip |
Update bti to 032 and fix twitter issues
-rw-r--r-- | net-misc/bti/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/bti/Manifest | 5 | ||||
-rw-r--r-- | net-misc/bti/bti-032.ebuild | 46 | ||||
-rw-r--r-- | net-misc/bti/files/bti-032-use_https_on_twitter.patch | 22 | ||||
-rw-r--r-- | net-misc/bti/metadata.xml | 8 |
5 files changed, 91 insertions, 0 deletions
diff --git a/net-misc/bti/ChangeLog b/net-misc/bti/ChangeLog new file mode 100644 index 0000000..788f4cb --- /dev/null +++ b/net-misc/bti/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-misc/bti +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*bti-032 (19 Apr 2013) + + 19 Apr 2013; Francisco Blas Izquierdo Riera (klondike) +bti-032.ebuild, + +metadata.xml: + Added bti 032 + diff --git a/net-misc/bti/Manifest b/net-misc/bti/Manifest new file mode 100644 index 0000000..b3ada02 --- /dev/null +++ b/net-misc/bti/Manifest @@ -0,0 +1,5 @@ +AUX bti-032-use_https_on_twitter.patch 1366 SHA256 ceb3b85c6be85b638fa83430cca5640dbff72e4d2ab55182bd18f4d274614eaf SHA512 eece0b92f1dc30730606030ffead51386b580afcbfee9854e0eff3493d4033221f0feb1b4d89351a2216577de89184a77422c8f9fa9cdb3456869252720429f1 WHIRLPOOL 2e3402b4a0842812301af0792c76ab1dcd614000f49c5efdb5befb612148f3b487167f501d96caab9b9e81247cea0e4afe010710e9079a033d72689aead635eb +DIST bti-032.tar.bz2 89844 SHA256 5fa3ad030076ba7088708d38baa052e56c6c6b3d11cafb61149614912f645e5c SHA512 843ea2af2de7294e28502e40c4bf25a7f6cb8ca7f87d1a7c24c7d81d5e432619382c774d21c7ffac19c72227ef7fc4f7f7d4a16c2c0a20e33c272f7ff0574cf5 WHIRLPOOL 35d280cf7a007f11420514cf369e047fba17c57cd1af2d5b3da314ae62aeff1d6bde1995d118606b8f2302730344efc9da92a58d63de20dcbc6cca861d3dd6cf +EBUILD bti-032.ebuild 1099 SHA256 8be058d4496453581728415f68f092da7f7204df2cf1002c7e0d93f142668dea SHA512 43c5fe008aee9956473ad8467cf54c6c8e829dddbb0098325801c902dae90ea070a7938e5370e54f2b77fe0854c127e169b5210bd4087e8cff67ceb0c0f40c3d WHIRLPOOL 5ffac668906227dfa7ecc58b15be79dcf449ab417bd853479b8956341057c0d753fecd060149d4cdec2b673c5d5b7528b909a8774a5593af4ef1bcf28642e8ac +MISC ChangeLog 245 SHA256 4f9bf782e1aa7eee9f1d75153f76356f8ea09b5f7026b4a7ca59f5338e8fc8b9 SHA512 47e40e2e7642b3b3670af47f14bb292d69cc6da37f6f557c7de1bb0291f480b2c4962b5ba7f33a809eb22cf2fe8398701e1db4c40b22c05f50c40dfc2c23317f WHIRLPOOL 5833b8241fc71dd5a93155fa43d112aee24600bc6089f41d198135b6c0b5e1eb9b055f8b010f5411c488581e11daae6618b13ed06c71ed6e79362b6b8df3250e +MISC metadata.xml 235 SHA256 221d33a186c7d76b2b712cfb436950c4601db6469587c3fa767a107f59f14c82 SHA512 03030ae00aaef0eace2236a01b02c50beefebe73673ed4fde77cf477f959b38ff6281c8e53521deafbd7f398933da54bcac6f7a0003c7c7985cda6147b312ac4 WHIRLPOOL c655d31b5a6d63b583c443b0e008e655461d928a936e2bf1bd313c1d469b6a0a6435e9b22f557b06d0f676372e3bce00f40406c714b0aad346f31ff291e33738 diff --git a/net-misc/bti/bti-032.ebuild b/net-misc/bti/bti-032.ebuild new file mode 100644 index 0000000..2aa8587 --- /dev/null +++ b/net-misc/bti/bti-032.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/bti/bti-031.ebuild,v 1.2 2012/05/05 03:20:45 jdhore Exp $ + +EAPI=2 + +inherit bash-completion eutils + +DESCRIPTION="A command line twitter/identi.ca client" +HOMEPAGE="http://gregkh.github.com/bti/" +SRC_URI="mirror://kernel/software/web/bti/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" + +RDEPEND="net-misc/curl + dev-libs/libxml2 + dev-libs/libpcre + net-libs/liboauth" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +# Readline is dynamically loaded, for whatever reason, and can use +# libedit as an alternative... +RDEPEND="${RDEPEND} + || ( sys-libs/readline dev-libs/libedit )" + +src_prepare() { + epatch "${FILESDIR}/${P}-use_https_on_twitter.patch" +} + + +src_configure() { + econf \ + --disable-dependency-tracking +} + +src_install() { + emake DESTDIR="${D}" install || die "bti could not be installed" + dodoc bti.example README RELEASE-NOTES || + die "bti documentation could not be installed" + dobashcompletion bti-bashcompletion +} diff --git a/net-misc/bti/files/bti-032-use_https_on_twitter.patch b/net-misc/bti/files/bti-032-use_https_on_twitter.patch new file mode 100644 index 0000000..2adf547 --- /dev/null +++ b/net-misc/bti/files/bti-032-use_https_on_twitter.patch @@ -0,0 +1,22 @@ +diff -ur bti-032.orig/bti.c bti-032/bti.c +--- bti-032.orig/bti.c 2012-03-27 02:00:29.000000000 +0200 ++++ bti-032/bti.c 2013-04-19 04:19:08.166437171 +0200 +@@ -250,14 +250,14 @@ + free(buffer); + } + +-const char twitter_host[] = "http://api.twitter.com/1/statuses"; ++const char twitter_host[] = "https://api.twitter.com/1/statuses"; + const char identica_host[] = "https://identi.ca/api/statuses"; + const char twitter_name[] = "twitter"; + const char identica_name[] = "identi.ca"; + +-static const char twitter_request_token_uri[] = "http://twitter.com/oauth/request_token"; +-static const char twitter_access_token_uri[] = "http://twitter.com/oauth/access_token"; +-static const char twitter_authorize_uri[] = "http://twitter.com/oauth/authorize?oauth_token="; ++static const char twitter_request_token_uri[] = "https://twitter.com/oauth/request_token"; ++static const char twitter_access_token_uri[] = "https://twitter.com/oauth/access_token"; ++static const char twitter_authorize_uri[] = "https://twitter.com/oauth/authorize?oauth_token="; + static const char identica_request_token_uri[] = "https://identi.ca/api/oauth/request_token?oauth_callback=oob"; + static const char identica_access_token_uri[] = "https://identi.ca/api/oauth/access_token"; + static const char identica_authorize_uri[] = "https://identi.ca/api/oauth/authorize?oauth_token="; diff --git a/net-misc/bti/metadata.xml b/net-misc/bti/metadata.xml new file mode 100644 index 0000000..c880c6e --- /dev/null +++ b/net-misc/bti/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>klondike@gentoo.org</email> + <name>Klondike</name> + </maintainer> +</pkgmetadata> |