diff options
author | Maxim Koltsov <maksbotan@gentoo.org> | 2014-09-07 10:47:21 +0000 |
---|---|---|
committer | Maxim Koltsov <maksbotan@gentoo.org> | 2014-09-07 10:47:21 +0000 |
commit | c7485e959dc377f32a99891008ef31961d242bde (patch) | |
tree | 834773730f1f8a009d64ef377266af9ce0bc92ba /app-text/wgetpaste | |
parent | Stable for ppc, wrt bug #517430 (diff) | |
download | gentoo-2-c7485e959dc377f32a99891008ef31961d242bde.tar.gz gentoo-2-c7485e959dc377f32a99891008ef31961d242bde.tar.bz2 gentoo-2-c7485e959dc377f32a99891008ef31961d242bde.zip |
Added patch for pinnwand engine, currently used on bpaste.net, thanks to nvinson. Bug #521854.
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE)
Diffstat (limited to 'app-text/wgetpaste')
-rw-r--r-- | app-text/wgetpaste/ChangeLog | 10 | ||||
-rw-r--r-- | app-text/wgetpaste/files/wgetpaste-2.25-pinnwand.patch | 85 | ||||
-rw-r--r-- | app-text/wgetpaste/files/wgetpaste-config-services | 5 | ||||
-rw-r--r-- | app-text/wgetpaste/wgetpaste-2.25-r1.ebuild (renamed from app-text/wgetpaste/wgetpaste-2.25.ebuild) | 5 |
4 files changed, 99 insertions, 6 deletions
diff --git a/app-text/wgetpaste/ChangeLog b/app-text/wgetpaste/ChangeLog index 1b4ee37a9fbd..e414f5419f68 100644 --- a/app-text/wgetpaste/ChangeLog +++ b/app-text/wgetpaste/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-text/wgetpaste # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/wgetpaste/ChangeLog,v 1.139 2014/08/15 11:49:51 maksbotan Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/wgetpaste/ChangeLog,v 1.140 2014/09/07 10:47:21 maksbotan Exp $ + +*wgetpaste-2.25-r1 (07 Sep 2014) + + 07 Sep 2014; Maxim Koltsov <maksbotan@gentoo.org> + +files/wgetpaste-2.25-pinnwand.patch, +wgetpaste-2.25-r1.ebuild, + -wgetpaste-2.25.ebuild, files/wgetpaste-config-services: + Added patch for pinnwand engine, currently used on bpaste.net, thanks to + nvinson. Bug #521854. *wgetpaste-2.25 (15 Aug 2014) diff --git a/app-text/wgetpaste/files/wgetpaste-2.25-pinnwand.patch b/app-text/wgetpaste/files/wgetpaste-2.25-pinnwand.patch new file mode 100644 index 000000000000..cd1a5a2ccff7 --- /dev/null +++ b/app-text/wgetpaste/files/wgetpaste-2.25-pinnwand.patch @@ -0,0 +1,85 @@ +--- wgetpaste.old 2014-08-16 07:10:02.376075629 -0400 ++++ wgetpaste 2014-08-31 16:02:46.996001592 -0400 +@@ -14,12 +14,14 @@ E=$'\e' + N=$'\n' + + ### services + SERVICES="bpaste ca codepad dpaste gists poundpython" + # bpaste +-ENGINE_bpaste=lodgeit ++ENGINE_bpaste=pinnwand + URL_bpaste="http://bpaste.net/" ++DEFAULT_EXPIRATION_bpaste="1week" ++DEFAULT_LANGUAGE_bpaste="text" + # ca + ENGINE_ca=ca + URL_ca="http://pastebin.ca/" + SIZE_ca="1024000 1%MB" + # codepad +@@ -141,10 +143,66 @@ objective-c objective-j ocaml ooc perl p + ragel-c ragel-cpp ragel-d ragel-java ragel-objc ragel-ruby raw rconsole rebol redcode rst rhtml rb \ + rbcon splus sass scala scheme smalltalk smarty sql sqlite3 squidconf tcl tcsh tex diff vala vb.net \ + vim xml xml+cheetah xml+django xml+evoque xml+mako xml+myghty xml+php xml+erb xml+smarty xslt yaml" + POST_lodgeit="submit=Paste! % % language % % code" + REGEX_RAW_lodgeit='s|^\(http://[^/]*/\)show\(/[[:alnum:]]*/\)$|\1raw\2|' ++# pinnwand ++LANGUAGES_pinnwand="ABAP ActionScript%3 ActionScript Ada ANTLR ANTLR%With%ActionScript%Target \ ++ANTLR%With%CPP%Target ANTLR%With%C#%Target ANTLR%With%Java%Target ANTLR%With%ObjectiveC%Target \ ++ANTLR%With%Perl%Target ANTLR%With%Python%Target ANTLR%With%Ruby%Target ApacheConf AppleScript \ ++AspectJ aspx-cs aspx-vb Asymptote autohotkey AutoIt Awk Base%Makefile Bash Bash%Session Batchfile \ ++BBCode Befunge BlitzMax Boo Brainfuck Bro BUGS ca65 CBM%BASIC%V2 C C++ C# Ceylon CFEngine3 \ ++cfstatement Cheetah Clojure CMake c-objdump COBOL COBOLFree CoffeeScript Coldfusion%HTML Common%Lisp \ ++Coq cpp-objdump Croc CSS CSS+Django/Jinja CSS+Genshi%Text CSS+Lasso CSS+Mako CSS+Myghty CSS+PHP \ ++CSS+Ruby CSS+Smarty CUDA Cython Darcs%Patch Dart D Debian%Control%file Debian%Sourcelist Delphi dg \ ++Diff Django/Jinja d-objdump DTD Duel Dylan DylanLID Dylan%session eC ECL Elixir Elixir%iex%session \ ++Embedded%Ragel ERB Erlang Erlang%erl%session Evoque Factor Fancy Fantom Felix Fortran FoxPro FSharp \ ++GAS Genshi Genshi%Text Gettext%Catalog Gherkin GLSL Gnuplot Go GoodData-CL Gosu Gosu%Template Groff \ ++Groovy Haml Haskell haXe HTML+Cheetah HTML+Django/Jinja HTML+Evoque HTML+Genshi HTML HTML+Lasso \ ++HTML+Mako HTML+Myghty HTML+PHP HTML+Smarty HTML+Velocity HTTP Hxml Hybris IDL INI Io Ioke IRC%logs \ ++Jade JAGS Java JavaScript+Cheetah JavaScript+Django/Jinja JavaScript+Genshi%Text JavaScript \ ++JavaScript+Lasso JavaScript+Mako JavaScript+Myghty JavaScript+PHP JavaScript+Ruby JavaScript+Smarty \ ++Java%Server%Page JSON Julia%console Julia Kconfig Koka Kotlin Lasso Lighttpd%configuration%file \ ++Literate%Haskell LiveScript LLVM Logos Logtalk Lua Makefile Mako MAQL Mason Matlab Matlab%session \ ++MiniD Modelica Modula-2 MoinMoin/Trac%Wiki%markup Monkey MOOCode MoonScript Mscgen MuPAD MXML Myghty \ ++MySQL NASM Nemerle NewLisp Newspeak Nginx%configuration%file Nimrod NSIS NumPy objdump Objective-C++ \ ++Objective-C Objective-J OCaml Octave Ooc Opa OpenEdge%ABL Perl PHP PL/pgSQL \ ++PostgreSQL%console%(psql) PostgreSQL%SQL%dialect PostScript POVRay PowerShell Prolog Properties \ ++Protocol%Buffer Puppet PyPy%Log Python%3.0%Traceback Python%3 Python%console%session Python \ ++Python%Traceback QML Racket Ragel%in%C%Host Ragel%in%CPP%Host Ragel%in%D%Host Ragel%in%Java%Host \ ++Ragel%in%Objective%C%Host Ragel%in%Ruby%Host Ragel Raw%token%data RConsole Rd REBOL Redcode reg \ ++reStructuredText RHTML RobotFramework RPMSpec Ruby%irb%session Ruby Rust Sass Scala \ ++Scalate%Server%Page Scaml Scheme Scilab SCSS Shell%Session Smali Smalltalk Smarty Snobol SourcePawn \ ++sqlite3con SQL SquidConf S Standard%ML Stan systemverilog Tcl Tcsh Tea TeX Text%only Text Treetop \ ++TypeScript UrbiScript Vala VB.net Velocity verilog VGL vhdl VimL XML+Cheetah XML+Django/Jinja \ ++XML+Evoque XML+Lasso XML+Mako XML+Myghty XML+PHP XML+Ruby XML+Smarty XML+Velocity XML XQuery XSLT \ ++Xtend YAML" ++LANGUAGE_VALUES_pinnwand="abap as3 as ada antlr antlr-as antlr-cpp antlr-csharp antlr-java \ ++antlr-objc antlr-perl antlr-python antlr-ruby apacheconf applescript aspectj aspx-cs aspx-vb asy ahk \ ++autoit awk basemake bash console bat bbcode befunge blitzmax boo brainfuck bro bugs ca65 cbmbas c \ ++cpp csharp ceylon cfengine3 cfs cheetah clojure cmake c-objdump cobol cobolfree coffee-script cfm \ ++common-lisp coq cpp-objdump croc css css+django css+genshitext css+lasso css+mako css+myghty css+php \ ++css+erb css+smarty cuda cython dpatch dart d control sourceslist delphi dg diff django d-objdump dtd \ ++duel dylan dylan-lid dylan-console ec ecl elixir iex ragel-em erb erlang erl evoque factor fancy fan \ ++felix fortran Clipper fsharp gas genshi genshitext pot Cucumber glsl gnuplot go gooddata-cl gosu gst \ ++groff groovy haml haskell hx html+cheetah html+django html+evoque html+genshi html html+lasso \ ++html+mako html+myghty html+php html+smarty html+velocity http haxeml hybris idl ini io ioke irc jade \ ++jags java js+cheetah js+django js+genshitext js js+lasso js+mako js+myghty js+php js+erb js+smarty \ ++jsp json jlcon julia kconfig koka kotlin lasso lighty lhs live-script llvm logos logtalk lua make \ ++mako maql mason matlab matlabsession minid modelica modula2 trac-wiki monkey moocode moon mscgen \ ++mupad mxml myghty mysql nasm nemerle newlisp newspeak nginx nimrod nsis numpy objdump objective-c++ \ ++objective-c objective-j ocaml octave ooc opa openedge perl php plpgsql psql postgresql postscript \ ++pov powershell prolog properties protobuf puppet pypylog py3tb python3 pycon python pytb qml racket \ ++ragel-c ragel-cpp ragel-d ragel-java ragel-objc ragel-ruby ragel raw rconsole rd rebol redcode \ ++registry rst rhtml RobotFramework spec rbcon rb rust sass scala ssp scaml scheme scilab scss \ ++shell-session smali smalltalk smarty snobol sp sqlite3 sql squidconf splus sml stan systemverilog \ ++tcl tcsh tea tex text text treetop ts urbiscript vala vb.net velocity verilog vgl vhdl vim \ ++xml+cheetah xml+django xml+evoque xml+lasso xml+mako xml+myghty xml+php xml+erb xml+smarty \ ++xml+velocity xml xquery xslt xtend yaml" ++EXPIRATIONS_pinnwand="1day 1week 1month never" ++POST_pinnwand="submit=Paste! % % lexer expiry % code" ++REGEX_RAW_pinnwand='s|^\(http://[^/]*/\)show\(/[[:alnum:]]*/\)$|\1raw\2|' + + ### errors + die() { + echo "$@" >&2 + exit 1 diff --git a/app-text/wgetpaste/files/wgetpaste-config-services b/app-text/wgetpaste/files/wgetpaste-config-services index 17cffbb5368b..0f7014b17220 100644 --- a/app-text/wgetpaste/files/wgetpaste-config-services +++ b/app-text/wgetpaste/files/wgetpaste-config-services @@ -1,9 +1,6 @@ #!/bin/bash -SERVICES="${SERVICES} lugons bpaste" +SERVICES="${SERVICES} lugons" ENGINE_lugons=lodgeit URL_lugons="https://paste.lugons.org/" - -ENGINE_bpaste=lodgeit -URL_bpaste="http://bpaste.net" diff --git a/app-text/wgetpaste/wgetpaste-2.25.ebuild b/app-text/wgetpaste/wgetpaste-2.25-r1.ebuild index 872f7af73379..92d03a8c890c 100644 --- a/app-text/wgetpaste/wgetpaste-2.25.ebuild +++ b/app-text/wgetpaste/wgetpaste-2.25-r1.ebuild @@ -1,9 +1,11 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/wgetpaste/wgetpaste-2.25.ebuild,v 1.1 2014/08/15 11:49:51 maksbotan Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/wgetpaste/wgetpaste-2.25-r1.ebuild,v 1.1 2014/09/07 10:47:21 maksbotan Exp $ EAPI="5" +inherit eutils + DESCRIPTION="Command-line interface to various pastebins" HOMEPAGE="http://wgetpaste.zlin.dk/" SRC_URI="http://wgetpaste.zlin.dk/${P}.tar.bz2" @@ -19,6 +21,7 @@ RDEPEND="net-misc/wget src_prepare() { sed -i -e "s:/etc:\"${EPREFIX}\"/etc:g" wgetpaste || die + epatch "${FILESDIR}"/wgetpaste-2.25-pinnwand.patch } src_install() { |