summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-10-07 15:13:41 +0000
committerJustin Lecher <jlec@gentoo.org>2011-10-07 15:13:41 +0000
commit1053421ee79dc1bd1924b7d2225ffb83d03bfe85 (patch)
tree71f1150f0edeaf8a7ed36d329402cf723564d2df /app-text/pastebin
parenthttp://my.opera.com/desktopteam/blog/2011/10/07/ragnarok-css3-radial-gradients (diff)
downloadhistorical-1053421ee79dc1bd1924b7d2225ffb83d03bfe85.tar.gz
historical-1053421ee79dc1bd1924b7d2225ffb83d03bfe85.tar.bz2
historical-1053421ee79dc1bd1924b7d2225ffb83d03bfe85.zip
Fix warning on unassigned variable, #384769; thanks Micheal for the patch
Package-Manager: portage-2.2.0_alpha62/cvs/Linux x86_64
Diffstat (limited to 'app-text/pastebin')
-rw-r--r--app-text/pastebin/ChangeLog8
-rw-r--r--app-text/pastebin/Manifest16
-rw-r--r--app-text/pastebin/files/0.6.2-lnot-specified.patch16
-rw-r--r--app-text/pastebin/metadata.xml2
-rw-r--r--app-text/pastebin/pastebin-0.6.2-r1.ebuild29
5 files changed, 62 insertions, 9 deletions
diff --git a/app-text/pastebin/ChangeLog b/app-text/pastebin/ChangeLog
index 73badbcc1399..3b3c342fe099 100644
--- a/app-text/pastebin/ChangeLog
+++ b/app-text/pastebin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/pastebin
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/pastebin/ChangeLog,v 1.11 2011/01/12 07:29:23 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/pastebin/ChangeLog,v 1.12 2011/10/07 15:13:41 jlec Exp $
+
+*pastebin-0.6.2-r1 (07 Oct 2011)
+
+ 07 Oct 2011; Justin Lecher <jlec@gentoo.org>
+ +files/0.6.2-lnot-specified.patch, +pastebin-0.6.2-r1.ebuild, metadata.xml:
+ Fix warning on unassigned variable, #384769; thanks Micheal for the patch
12 Jan 2011; Justin Lecher <jlec@gentoo.org> -pastebin-0.6.1.ebuild:
Removed old
diff --git a/app-text/pastebin/Manifest b/app-text/pastebin/Manifest
index 4d742470ed61..6973eabbfe82 100644
--- a/app-text/pastebin/Manifest
+++ b/app-text/pastebin/Manifest
@@ -1,14 +1,16 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA512
+AUX 0.6.2-lnot-specified.patch 444 RMD160 cca0c30b3de02e1b78a209bcb08955cea4baf24a SHA1 3baec4678904bc9c29ad6a73d6c8fc7eef6e2f0e SHA256 f34b3c50969eaebaea131fd8794e662c649f20ca79b272e9aff2639a99419d4d
DIST pastebin-0.6.2.tar.bz2 3496 RMD160 b719a69f36715053389cbb1c86655cd58862a3c0 SHA1 85356eb5ae93f5e7218ffa8bf97751e185f04f2e SHA256 132cc08329dc1cd0b2cb341042fe942c3dbe4740e1582d33090b90dbb4b3a1e6
+EBUILD pastebin-0.6.2-r1.ebuild 624 RMD160 127c036e1ddbc88d5a37803228d334f678b5dee0 SHA1 d3a054ddb7f913aca5c10c2758260f96e3889c16 SHA256 9525d9db8fd8223ea99eab6a61b9b405dc5548aca21794fdc9053d2383a8330d
EBUILD pastebin-0.6.2.ebuild 510 RMD160 0fbb155e2e0272e2c066774d55ddc9e30204bda3 SHA1 2a6679b02077c5f52a4630ffc7b88ee2f13928ba SHA256 10582eb815ecc3bc489cc79adf421cedf2b3f129504d8f0c5f6a955df1889c74
-MISC ChangeLog 1518 RMD160 8e41805d788f0e64dd0d46720da5fc89dc8e8742 SHA1 24d05a82627b7600d578226b12721b05caa941bb SHA256 8d2d5fc2c115a9e6653b79922e3ed64abd8984cf039d239add490bcda5a6a76d
-MISC metadata.xml 164 RMD160 cc7a7798af2b0129d7ce728b3d38d8b4625de71c SHA1 a9a44b989a1eee88c892fb0f500b19a80c4d4d0e SHA256 03080f40dc43565fd4bb7569351e0f607a4946a6108c15765ac42901ab16caf3
+MISC ChangeLog 1754 RMD160 7bca8e9ab00bbd8a9ebdea9492006d6eed67b196 SHA1 c0fc094b82e16da943ea1264e64d7e440767c9fc SHA256 75597c457bbb3d8966bb7091b04b21f45c60a6ad66a89e500ceb66b9ca6d8cac
+MISC metadata.xml 165 RMD160 c4557a3518a065b077539be5a0f20e4735fc2141 SHA1 1831705b1eb97b63968fc9eef31aa904a69a854a SHA256 75ca85c472d4181ae0de529c83826baaebe75d9e750ee6621758b5096bceffcd
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk0tWCwACgkQgAnW8HDreRbU6wCgg1JEMLuGbEsA24OJ/1omqmzU
-tjgAni9/dJOT97zVBUBGjghONJS7fUUy
-=JP0m
+iEYEAREKAAYFAk6PFysACgkQgAnW8HDreRab4ACfYYd3yklS72TDjBW2+K4OA5l6
+MtQAn1E0tHiY91kJIsw3hA4AZuhUkeRx
+=ibZ+
-----END PGP SIGNATURE-----
diff --git a/app-text/pastebin/files/0.6.2-lnot-specified.patch b/app-text/pastebin/files/0.6.2-lnot-specified.patch
new file mode 100644
index 000000000000..047068de8857
--- /dev/null
+++ b/app-text/pastebin/files/0.6.2-lnot-specified.patch
@@ -0,0 +1,16 @@
+ pastebin | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/pastebin b/pastebin
+index 1e4c65c..c2aaa2d 100755
+--- a/pastebin
++++ b/pastebin
+@@ -224,7 +224,7 @@ sub name {
+ }
+
+ sub language {
+- my $lang = lc $options->{l} || return 'text';
++ my $lang = defined $options->{l} ? lc $options->{l} : return 'text';
+
+ for my $language (keys %languages) {
+ my $check = Other::escape($languages{$language});
diff --git a/app-text/pastebin/metadata.xml b/app-text/pastebin/metadata.xml
index 80ac69d9c2f2..40149c995561 100644
--- a/app-text/pastebin/metadata.xml
+++ b/app-text/pastebin/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>shell-tools</herd>
+ <herd>shell-tools</herd>
</pkgmetadata>
diff --git a/app-text/pastebin/pastebin-0.6.2-r1.ebuild b/app-text/pastebin/pastebin-0.6.2-r1.ebuild
new file mode 100644
index 000000000000..c2a941b8e38e
--- /dev/null
+++ b/app-text/pastebin/pastebin-0.6.2-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/pastebin/pastebin-0.6.2-r1.ebuild,v 1.1 2011/10/07 15:13:41 jlec Exp $
+
+EAPI=4
+
+inherit eutils perl-app
+
+DESCRIPTION="CLI to pastebin.com"
+HOMEPAGE="http://code.google.com/p/pastebin-cli/"
+SRC_URI="http://pastebin-cli.googlecode.com/files/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-perl/libwww-perl"
+
+S="${WORKDIR}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PV}-lnot-specified.patch
+}
+
+src_install() {
+ dobin ${PN}
+}