Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235377 - app-text/pastebin - new ebuild
Summary: app-text/pastebin - new ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Shell Tools project
URL: http://code.google.com/p/pastebin-cli/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-21 15:57 UTC by meh.
Modified: 2010-02-27 20:56 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pastebin-0.1.ebuild (pastebin-0.1.ebuild,503 bytes, text/plain)
2008-08-21 15:58 UTC, meh.
Details
pastebin-0.2.ebuild (pastebin-0.2.ebuild,512 bytes, text/plain)
2008-08-21 19:28 UTC, meh.
Details
pastebin-0.3.ebuild (pastebin-0.3.ebuild,512 bytes, text/plain)
2008-08-22 02:01 UTC, meh.
Details
Ebuild submitted to sunrise (pastebin-0.3.ebuild,405 bytes, text/plain)
2008-09-11 16:26 UTC, Erik Hahn
Details
New ebuild. (pastebin-0.4.ebuild,417 bytes, text/plain)
2008-11-03 16:56 UTC, meh.
Details
pastebin-0.5.ebuild (pastebin-0.5.ebuild,417 bytes, text/plain)
2009-08-10 19:01 UTC, meh.
Details
pastebin 0.6 (pastebin-0.6.ebuild,417 bytes, text/plain)
2010-02-24 17:06 UTC, meh.
Details
pastebin 0.6.1 (pastebin-0.6.1.ebuild,417 bytes, text/plain)
2010-02-25 14:37 UTC, meh.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description meh. 2008-08-21 15:57:09 UTC
pastebin is just a CLI for pastebin.com, much like app-text/nopaste but for pastebin.com

Reproducible: Always

Steps to Reproduce:
Comment 1 meh. 2008-08-21 15:58:12 UTC
Created attachment 163499 [details]
pastebin-0.1.ebuild
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-21 16:07:58 UTC
Much like wgetpaste, but with a Perl dep. :)
Comment 3 meh. 2008-08-21 16:13:47 UTC
wgetpaste has rafb.net, pastebin.ca and pastebin.osuosl.org, it misses pastebin.com that I like much more than the others and supports a lot of languages.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-21 16:40:32 UTC
Sure, sure. It appears I forgot to assign the bug. I wasn't critisizing you. :)
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-21 17:21:11 UTC
* src_unpack() is not needed.
* DEPEND is not needed.
* RDEPEND should have dev-perl/libwww-perl, and not dev-lang/perl

Even after that last change, all I get is this:

jeroen@elmer ~ $ dmesg> dmesg
jeroen@elmer ~ $ pastebin -i dmesg
Use of uninitialized value in print at /usr/bin/pastebin line 40.

jeroen@elmer ~ $

Note the empty line. Seems that pastebin.com never returns or some such. I also noticed that 0.1 was uploaded only today. Maybe some upstream changes are needed as well.

This puzzled me as well:

jeroen@elmer ~ $ dmesg | pastebin
Use of uninitialized value in print at /usr/bin/pastebin line 40, <STDIN> line 430.

jeroen@elmer ~ $
Comment 6 meh. 2008-08-21 19:28:00 UTC
Created attachment 163513 [details]
pastebin-0.2.ebuild

Thank you a lot for trying it and for the advice with the ebuild, this is my first ebuild so sorry for the noobness :S

I added some things in the 0.2 (yes I wrote this script as I posted it so it may be buggy), test it if you can please.
Comment 7 meh. 2008-08-22 02:01:42 UTC
Created attachment 163528 [details]
pastebin-0.3.ebuild
Comment 8 Erik Hahn 2008-09-11 16:26:18 UTC
Created attachment 165203 [details]
Ebuild submitted to sunrise

I've submitted this ebuild to sunrise, it should be available soon.
Comment 9 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2008-09-13 23:12:42 UTC
Emerging and working fine on ppc. You can add ~ppc keyword.
I've just add it to sunrise ebuild.
Comment 10 meh. 2008-11-03 16:56:28 UTC
Created attachment 170637 [details]
New ebuild.

Needed some new things from this script and forgot to update the download page and this bug.
Comment 11 meh. 2009-08-10 19:01:29 UTC
Created attachment 200861 [details]
pastebin-0.5.ebuild

Ebuild for the last version, please send it to sunrise.
Comment 12 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-12-25 05:16:10 UTC
added to tree, thanks. =D
Comment 13 meh. 2010-02-24 17:06:05 UTC
Created attachment 221001 [details]
pastebin 0.6

pastebin.com moved to a new owner and a new system, updating to work with the new pastebin.
Comment 14 meh. 2010-02-25 14:37:58 UTC
Created attachment 221147 [details]
pastebin 0.6.1

Some syntaxes were missing, fix release.
Comment 15 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-02-27 20:56:54 UTC
Hi,
Please don't comment on old bugs like this. In the future open new bugs. Someone else opened bug 306695. Thanks.