[gentoo-commits] repo/gentoo:master commit in: app-text/wgetpaste/, app-text/wgetpaste/files/
commit: ed023c4032fc830a3e851b86798665426b87fd31 Author: Oskari Pirhonen gmail com> AuthorDate: Sat Jan 14 21:41:55 2023 + Commit: Sam James gentoo org> CommitDate: Sat Jan 14 23:22:49 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed023c40 app-text/wgetpaste: drop 2.29-r1, 2.30_p20210222-r2 Signed-off-by: Oskari Pirhonen gmail.com> Closes: https://github.com/gentoo/gentoo/pull/29109 Signed-off-by: Sam James gentoo.org> app-text/wgetpaste/Manifest| 2 -- .../files/wgetpaste-2.29-fix-bpaste.patch | 40 -- .../files/wgetpaste-2.30-fix-dpaste-escapes.patch | 13 --- app-text/wgetpaste/wgetpaste-2.29-r1.ebuild| 28 --- .../wgetpaste/wgetpaste-2.30_p20210222-r2.ebuild | 31 - 5 files changed, 114 deletions(-) diff --git a/app-text/wgetpaste/Manifest b/app-text/wgetpaste/Manifest index 15e185e5b013..9cb47b54e77f 100644 --- a/app-text/wgetpaste/Manifest +++ b/app-text/wgetpaste/Manifest @@ -1,4 +1,2 @@ -DIST wgetpaste-2.29.tar.bz2 12988 BLAKE2B 838b84632754f6e07c25fe3648e14bf939dff4e08ae8e8064e94008beb436f77738e4f54859115321fbf445a323641ebfecf5fd7d0946c72e913687deb07 SHA512 6596842733bb5d1d52cbb3cbcf61ba714f0cbfdc13acb4d6025ccfd27c214adaf886ac3a0a11baefaa4af3f33165619e5a3360b4e0807d29e8dc8ef5ff819bb6 -DIST wgetpaste-2.30_p20210222.tar.gz 14654 BLAKE2B e74332826f7faec3c2be2dddfd5f81d1ec14aec92888f27cdcd081b59262ac742003f2f48af3c3ca25be9e02f583a37dd1bec315236ab54912ebf6cf61308a10 SHA512 467daff5531fd6361ade87913ab867f67f72d5ffc07a35c263cd3dad65774ed31b3a6b0d69d2b52726a24419758d784c23e8c587f23e9028afd0e0a27966f32f DIST wgetpaste-2.32.tar.gz 16626 BLAKE2B a8628a47edec5797f011fdf648cccf4147043bb699fe6ebfc38b66d1bbff1840147613e1de1a2abf1048b83247e9a16026bed4174be605f99e59035cf7c64f9f SHA512 57f6194c864adf3eabffe46163d1c83a5c2c30affc4c353fee5cafe6aaf19cfa306e134cb5dd216577eb34cc93eee66b28297e5a1d4fa92d78d38597170d40bb DIST wgetpaste-2.33.tar.xz 16408 BLAKE2B 78baebf4edb6e6340a73127099366d306359d02c0c1eab137822c56669da0609a5479940b4fb2accbc79978df091dcd34415876618e64aa556d1584f74773736 SHA512 9bf1f379316da372b4f69296b54f9a266dcf9fdaa2a8718165a2029571f4c2c0166304ffebeb2ec4657ea6f49087793f40d9da383f5da052bce0543c90ea13ab diff --git a/app-text/wgetpaste/files/wgetpaste-2.29-fix-bpaste.patch b/app-text/wgetpaste/files/wgetpaste-2.29-fix-bpaste.patch deleted file mode 100644 index 0af9a6f855d7.. --- a/app-text/wgetpaste/files/wgetpaste-2.29-fix-bpaste.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 6175f89cb618fef83882ed86ab049a7fd1035770 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Bo=20=C3=98rsted=20Andresen?= -Date: Tue, 23 Jul 2019 00:16:19 +0200 -Subject: [PATCH] Fix handling of bpaste urls. - - wgetpaste | 9 +++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -diff --git a/wgetpaste b/wgetpaste -index 585fcd9..99eb7f1 100755 a/wgetpaste -+++ b/wgetpaste -@@ -181,7 +181,8 @@ xml+cheetah xml+django xml+evoque xml+lasso xml+mako xml+myghty xml+php xml+erb - xml+velocity xml xquery xslt xtend yaml" - EXPIRATIONS_pinnwand="1day 1week 1month never" - POST_pinnwand="submit=Paste! % % lexer expiry % code" --REGEX_RAW_pinnwand='s|^\(https\?://[^/]*/\)show\(/[[:alnum:]]*/\?\)$|\1raw\2|' -+REGEX_LOC_pinnwand="\(/show/[^ ]*\).*$|https://bpaste.net\1"; -+REGEX_RAW_pinnwand='s|^\(https\?://[^/]*/\)show\(/[^ ]*/\?\)$|\1raw\2|' - - ### errors - die() { -@@ -550,11 +551,15 @@ postdata() { - - # get url from response from server - geturl() { -- local regex -+ local regex location - regex=REGEX_URL_$ENGINE -+ location=REGEX_LOC_$ENGINE - if [[ -n ${!regex} ]]; then - [[ needstdout = $1 ]] && return 0 - sed -n -e "${!regex}" <<< "$*" -+ elif [[ -n ${!location} ]]; then -+ [[ needstdout = $1 ]] && return 1 -+ sed -n -e "s|^.*Location: ${!location}|p" <<< "$*" - else - [[ needstdout = $1 ]] && return 1 - sed -n -e 's|^.*Location: \(https\{0,1\}://[^ ]*\).*$|\1|p' <<< "$*" diff --git a/app-text/wgetpaste/files/wgetpaste-2.30-fix-dpaste-escapes.patch b/app-text/wgetpaste/files/wgetpaste-2.30-fix-dpaste-escapes.patch deleted file mode 100644 index b4d57f843c96.. --- a/app-text/wgetpaste/files/wgetpaste-2.30-fix-dpaste-escapes.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/wgetpaste b/wgetpaste -index 0f8219b..ed0bdac 100755 a/wgetpaste -+++ b/wgetpaste -@@ -110,6 +110,8 @@ Python Python%Interactive/Traceback Ruby Ruby%HTML%(ERB) SQL XML" - LANGUAGE_VALUES_dpaste="% Apache Bash Css Diff DjangoTemplate Haskell JScript Python PythonConsole \ - Ruby Rhtml Sql Xml" - EXPIRATIONS_dpaste=$(printf "%s " {1..365}) -+escape_description_dpaste() { echo "$*"; } -+escape_input_dpaste() { echo "$*"; } - POST_dpaste() { - local title="${2}" - local syntax="${3}" diff --git a/app-text/wgetpaste/wgetpaste-2.
[gentoo-commits] repo/gentoo:master commit in: app-text/wgetpaste/, app-text/wgetpaste/files/
commit: 2dea256ca4aa52a84ad01dc3f7dfe1067e304bce Author: Ben Kohler gentoo org> AuthorDate: Thu Feb 25 16:57:11 2021 + Commit: Ben Kohler gentoo org> CommitDate: Thu Feb 25 16:57:39 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dea256c app-text/wgetpaste: fix dpaste escapes Without this fix, all spaces are converted to "+", and more Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Ben Kohler gentoo.org> .../files/wgetpaste-2.30-fix-dpaste-escapes.patch | 13 + .../wgetpaste/wgetpaste-2.30_p20210222-r2.ebuild | 32 ++ 2 files changed, 45 insertions(+) diff --git a/app-text/wgetpaste/files/wgetpaste-2.30-fix-dpaste-escapes.patch b/app-text/wgetpaste/files/wgetpaste-2.30-fix-dpaste-escapes.patch new file mode 100644 index 000..b4d57f843c9 --- /dev/null +++ b/app-text/wgetpaste/files/wgetpaste-2.30-fix-dpaste-escapes.patch @@ -0,0 +1,13 @@ +diff --git a/wgetpaste b/wgetpaste +index 0f8219b..ed0bdac 100755 +--- a/wgetpaste b/wgetpaste +@@ -110,6 +110,8 @@ Python Python%Interactive/Traceback Ruby Ruby%HTML%(ERB) SQL XML" + LANGUAGE_VALUES_dpaste="% Apache Bash Css Diff DjangoTemplate Haskell JScript Python PythonConsole \ + Ruby Rhtml Sql Xml" + EXPIRATIONS_dpaste=$(printf "%s " {1..365}) ++escape_description_dpaste() { echo "$*"; } ++escape_input_dpaste() { echo "$*"; } + POST_dpaste() { + local title="${2}" + local syntax="${3}" diff --git a/app-text/wgetpaste/wgetpaste-2.30_p20210222-r2.ebuild b/app-text/wgetpaste/wgetpaste-2.30_p20210222-r2.ebuild new file mode 100644 index 000..c4c95081e20 --- /dev/null +++ b/app-text/wgetpaste/wgetpaste-2.30_p20210222-r2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DESCRIPTION="Command-line interface to various pastebins" +HOMEPAGE="http://wgetpaste.zlin.dk/"; + +COMMIT_HASH="f9b08c50009485817e8b44300f79a92e37fe9f22" +SRC_URI="https://github.com/zlin/wgetpaste/archive/${COMMIT_HASH}.tar.gz -> ${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="+ssl" + +RDEPEND="net-misc/wget[ssl?]" + +S="${WORKDIR}/${PN}-${COMMIT_HASH}" + +PATCHES=( "${FILESDIR}/wgetpaste-2.30-fix-dpaste-escapes.patch" ) + +src_prepare() { + sed -i -e "s:/etc:\"${EPREFIX}\"/etc:g" wgetpaste || die + default +} + +src_install() { + dobin ${PN} + insinto /usr/share/zsh/site-functions + doins _wgetpaste +}
[gentoo-commits] repo/gentoo:master commit in: app-text/wgetpaste/, app-text/wgetpaste/files/
commit: dead0ce4020de9e4d2cc394b122f2ac03346010b Author: Louis Sautier gentoo org> AuthorDate: Mon Aug 26 23:11:34 2019 + Commit: Louis Sautier gentoo org> CommitDate: Mon Aug 26 23:12:50 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dead0ce4 app-text/wgetpaste: backport upstream's patch to fix bpaste.net Package-Manager: Portage-2.3.71, Repoman-2.3.16 Signed-off-by: Louis Sautier gentoo.org> .../files/wgetpaste-2.29-fix-bpaste.patch | 40 ++ app-text/wgetpaste/wgetpaste-2.29-r1.ebuild| 29 2 files changed, 69 insertions(+) diff --git a/app-text/wgetpaste/files/wgetpaste-2.29-fix-bpaste.patch b/app-text/wgetpaste/files/wgetpaste-2.29-fix-bpaste.patch new file mode 100644 index 000..0af9a6f855d --- /dev/null +++ b/app-text/wgetpaste/files/wgetpaste-2.29-fix-bpaste.patch @@ -0,0 +1,40 @@ +From 6175f89cb618fef83882ed86ab049a7fd1035770 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Bo=20=C3=98rsted=20Andresen?= +Date: Tue, 23 Jul 2019 00:16:19 +0200 +Subject: [PATCH] Fix handling of bpaste urls. + +--- + wgetpaste | 9 +++-- + 1 file changed, 7 insertions(+), 2 deletions(-) + +diff --git a/wgetpaste b/wgetpaste +index 585fcd9..99eb7f1 100755 +--- a/wgetpaste b/wgetpaste +@@ -181,7 +181,8 @@ xml+cheetah xml+django xml+evoque xml+lasso xml+mako xml+myghty xml+php xml+erb + xml+velocity xml xquery xslt xtend yaml" + EXPIRATIONS_pinnwand="1day 1week 1month never" + POST_pinnwand="submit=Paste! % % lexer expiry % code" +-REGEX_RAW_pinnwand='s|^\(https\?://[^/]*/\)show\(/[[:alnum:]]*/\?\)$|\1raw\2|' ++REGEX_LOC_pinnwand="\(/show/[^ ]*\).*$|https://bpaste.net\1"; ++REGEX_RAW_pinnwand='s|^\(https\?://[^/]*/\)show\(/[^ ]*/\?\)$|\1raw\2|' + + ### errors + die() { +@@ -550,11 +551,15 @@ postdata() { + + # get url from response from server + geturl() { +- local regex ++ local regex location + regex=REGEX_URL_$ENGINE ++ location=REGEX_LOC_$ENGINE + if [[ -n ${!regex} ]]; then + [[ needstdout = $1 ]] && return 0 + sed -n -e "${!regex}" <<< "$*" ++ elif [[ -n ${!location} ]]; then ++ [[ needstdout = $1 ]] && return 1 ++ sed -n -e "s|^.*Location: ${!location}|p" <<< "$*" + else + [[ needstdout = $1 ]] && return 1 + sed -n -e 's|^.*Location: \(https\{0,1\}://[^ ]*\).*$|\1|p' <<< "$*" diff --git a/app-text/wgetpaste/wgetpaste-2.29-r1.ebuild b/app-text/wgetpaste/wgetpaste-2.29-r1.ebuild new file mode 100644 index 000..175617a320c --- /dev/null +++ b/app-text/wgetpaste/wgetpaste-2.29-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DESCRIPTION="Command-line interface to various pastebins" +HOMEPAGE="http://wgetpaste.zlin.dk/"; +SRC_URI="http://wgetpaste.zlin.dk/${P}.tar.bz2"; + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="+ssl" + +DEPEND="" +RDEPEND="net-misc/wget[ssl?]" + +PATCHES=( "${FILESDIR}/${P}-fix-bpaste.patch" ) + +src_prepare() { + sed -i -e "s:/etc:\"${EPREFIX}\"/etc:g" wgetpaste || die + default +} + +src_install() { + dobin ${PN} + insinto /usr/share/zsh/site-functions + doins _wgetpaste +}
[gentoo-commits] repo/gentoo:master commit in: app-text/wgetpaste/, app-text/wgetpaste/files/
commit: ad63d42005130927de7c9408d17f7d3ff0bbda9f Author: Mikle Kolyada gentoo org> AuthorDate: Sat Feb 23 18:46:43 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Feb 23 18:46:43 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad63d420 app-text/wgetpaste: Drop old Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 app-text/wgetpaste/Manifest| 1 - .../files/wgetpaste-2.25-pinnwand-raw.patch| 11 --- .../wgetpaste/files/wgetpaste-2.25-pinnwand.patch | 87 -- app-text/wgetpaste/files/wgetpaste-config-services | 6 -- app-text/wgetpaste/wgetpaste-2.25-r3.ebuild| 32 app-text/wgetpaste/wgetpaste-2.28-r1.ebuild| 27 --- app-text/wgetpaste/wgetpaste-2.28.ebuild | 26 --- 7 files changed, 190 deletions(-) diff --git a/app-text/wgetpaste/Manifest b/app-text/wgetpaste/Manifest index e8c5b5027b8..957ed7adae8 100644 --- a/app-text/wgetpaste/Manifest +++ b/app-text/wgetpaste/Manifest @@ -1,2 +1 @@ -DIST wgetpaste-2.25.tar.bz2 11107 BLAKE2B 1ed46ada9045326583900a78bbbd66ea7776ae7ae7191b14f258ef417ef65c344d6ff7e6c5ac0592d93c2936bc189ea0a33c18a8f2e6a0eb9e4e1d9d3b67701b SHA512 c3cd56f32311c77ce5ac970f0cd6b2e8285cac3caaf61669237ac707ed3b9aab285fbe9dee6260ea13b8df41a22acfaa3b8439298560ab68c3a568d60557d82e DIST wgetpaste-2.28.tar.bz2 12448 BLAKE2B 231b6d00ecf9c355f45683d56537c0fe6a5d6561e42edee680b228f5a76e7e1b202669e429f7941b6daaf14682e5a8469521713930bb42387e168965acfccca2 SHA512 b3b9ee4bfbc52da6762b06c2640385eeedab7910ad1bc4e92ff9304371ec2442e2d30b69ebc0f1407a00a9c8afde398e00dc3d3c048452d730517227a68e6b97 diff --git a/app-text/wgetpaste/files/wgetpaste-2.25-pinnwand-raw.patch b/app-text/wgetpaste/files/wgetpaste-2.25-pinnwand-raw.patch deleted file mode 100644 index 1b4cd12b5dd..000 --- a/app-text/wgetpaste/files/wgetpaste-2.25-pinnwand-raw.patch +++ /dev/null @@ -1,11 +0,0 @@ /usr/bin/wgetpaste 2014-09-25 22:20:39.097103971 +0300 -+++ wgetpaste 2014-10-09 10:06:41.765195553 +0300 -@@ -200,7 +200,7 @@ - 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|' -+REGEX_RAW_pinnwand='s|^\(https\?://[^/]*/\)show\(/[[:alnum:]]*/\?\)$|\1raw\2|' - - ### errors - die() { diff --git a/app-text/wgetpaste/files/wgetpaste-2.25-pinnwand.patch b/app-text/wgetpaste/files/wgetpaste-2.25-pinnwand.patch deleted file mode 100644 index 64a23e4fd94..000 --- a/app-text/wgetpaste/files/wgetpaste-2.25-pinnwand.patch +++ /dev/null @@ -1,87 +0,0 @@ /var/tmp/portage/app-text/wgetpaste-2.25-r1/work/wgetpaste-2.25/wgetpaste 2014-05-23 20:51:44.0 +0400 -+++ /usr/bin/wgetpaste 2014-09-14 16:46:21.345261294 +0400 -@@ -16,8 +16,10 @@ - ### services - SERVICES="bpaste ca codepad dpaste gists poundpython" - # bpaste --ENGINE_bpaste=lodgeit --URL_bpaste="http://bpaste.net/"; -+ENGINE_bpaste=pinnwand -+URL_bpaste="https://bpaste.net/"; -+DEFAULT_EXPIRATION_bpaste="1week" -+DEFAULT_LANGUAGE_bpaste="text" - # ca - ENGINE_ca=ca - URL_ca="http://pastebin.ca/"; -@@ -143,6 +145,62 @@ - 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 JavaSc
[gentoo-commits] repo/gentoo:master commit in: app-text/wgetpaste/, app-text/wgetpaste/files/
commit: d07bf461eeac79f8eac953f09f45450808e800af Author: Mikle Kolyada gentoo org> AuthorDate: Sat Feb 23 18:43:14 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Feb 23 18:43:43 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d07bf461 app-text/wgetpaste: version bump to disable did paste service Closes: https://bugs.gentoo.org/678552 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 .../wgetpaste/files/wgetpaste-remove-dead.patch| 35 ++ app-text/wgetpaste/wgetpaste-2.28-r2.ebuild| 29 ++ 2 files changed, 64 insertions(+) diff --git a/app-text/wgetpaste/files/wgetpaste-remove-dead.patch b/app-text/wgetpaste/files/wgetpaste-remove-dead.patch new file mode 100644 index 000..038d5349a7c --- /dev/null +++ b/app-text/wgetpaste/files/wgetpaste-remove-dead.patch @@ -0,0 +1,35 @@ +From 166ec045945eff08ca27129b38d2f5395710e8fb Mon Sep 17 00:00:00 2001 +From: Mikle Kolyada +Date: Sat, 23 Feb 2019 21:14:08 +0300 +Subject: [PATCH] fix wgetpaste services + +Signed-off-by: Mikle Kolyada +--- + wgetpaste | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/wgetpaste b/wgetpaste +index 2c198e0..def51de 100755 +--- a/wgetpaste b/wgetpaste +@@ -14,7 +14,7 @@ E=$'\e' + N=$'\n' + + ### services +-SERVICES="codepad bpaste dpaste gists poundpython" ++SERVICES="codepad bpaste dpaste gists" + # bpaste + ENGINE_bpaste=pinnwand + URL_bpaste="https://bpaste.net/"; +@@ -722,7 +722,7 @@ load_configs() { + load_configs + [[ $SERVICESET ]] && verifyservice "$SERVICESET" && SERVICE=$(escape "$SERVICESET") + DEFAULT_NICK=${DEFAULT_NICK:-$(whoami)} || die "whoami failed" +-DEFAULT_SERVICE=${DEFAULT_SERVICE:-poundpython} ++DEFAULT_SERVICE=${DEFAULT_SERVICE:-dpaste} + DEFAULT_LANGUAGE=${DEFAULT_LANGUAGE:-Plain Text} + DEFAULT_EXPIRATION=${DEFAULT_EXPIRATION:-1 month} + SERVICE=${SERVICE:-${DEFAULT_SERVICE}} +-- +2.19.2 + diff --git a/app-text/wgetpaste/wgetpaste-2.28-r2.ebuild b/app-text/wgetpaste/wgetpaste-2.28-r2.ebuild new file mode 100644 index 000..30f97b5311a --- /dev/null +++ b/app-text/wgetpaste/wgetpaste-2.28-r2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DESCRIPTION="Command-line interface to various pastebins" +HOMEPAGE="http://wgetpaste.zlin.dk/"; +SRC_URI="http://wgetpaste.zlin.dk/${P}.tar.bz2"; + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="+ssl" + +DEPEND="" +RDEPEND="net-misc/wget[ssl?]" + +PATCHES=( "${FILESDIR}"/${PN}-remove-dead.patch ) + +src_prepare() { + sed -i -e "s:/etc:\"${EPREFIX}\"/etc:g" wgetpaste || die + default +} + +src_install() { + dobin ${PN} + insinto /usr/share/zsh/site-functions + doins _wgetpaste +}
[gentoo-commits] repo/gentoo:master commit in: app-text/wgetpaste/, app-text/wgetpaste/files/
commit: 085038f1e996bdbb0502ef0b222a4e3cb0c83cb4 Author: Ben Kohler gentoo org> AuthorDate: Sat Feb 23 15:03:52 2019 + Commit: Ben Kohler gentoo org> CommitDate: Sat Feb 23 15:33:46 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=085038f1 app-text/wgetpaste: revbump to work around broken default service Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Ben Kohler gentoo.org> .../wgetpaste-2.28-remove-broken-services.patch| 20 +++ app-text/wgetpaste/wgetpaste-2.28-r2.ebuild| 29 ++ 2 files changed, 49 insertions(+) diff --git a/app-text/wgetpaste/files/wgetpaste-2.28-remove-broken-services.patch b/app-text/wgetpaste/files/wgetpaste-2.28-remove-broken-services.patch new file mode 100644 index 000..f648a6d15eb --- /dev/null +++ b/app-text/wgetpaste/files/wgetpaste-2.28-remove-broken-services.patch @@ -0,0 +1,20 @@ +--- a/wgetpaste2019-02-22 09:16:47.016742824 +0100 a/wgetpaste2019-02-22 09:21:05.049530136 +0100 +@@ -14,7 +14,7 @@ E=$'\e' + N=$'\n' + + ### services +-SERVICES="codepad bpaste dpaste gists poundpython" ++SERVICES="bpaste dpaste" + # bpaste + ENGINE_bpaste=pinnwand + URL_bpaste="https://bpaste.net/"; +@@ -722,7 +722,7 @@ load_configs() { + load_configs + [[ $SERVICESET ]] && verifyservice "$SERVICESET" && SERVICE=$(escape "$SERVICESET") + DEFAULT_NICK=${DEFAULT_NICK:-$(whoami)} || die "whoami failed" +-DEFAULT_SERVICE=${DEFAULT_SERVICE:-poundpython} ++DEFAULT_SERVICE=${DEFAULT_SERVICE:-bpaste} + DEFAULT_LANGUAGE=${DEFAULT_LANGUAGE:-Plain Text} + DEFAULT_EXPIRATION=${DEFAULT_EXPIRATION:-1 month} + SERVICE=${SERVICE:-${DEFAULT_SERVICE}} diff --git a/app-text/wgetpaste/wgetpaste-2.28-r2.ebuild b/app-text/wgetpaste/wgetpaste-2.28-r2.ebuild new file mode 100644 index 000..bae4fd9c2dc --- /dev/null +++ b/app-text/wgetpaste/wgetpaste-2.28-r2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +DESCRIPTION="Command-line interface to various pastebins" +HOMEPAGE="http://wgetpaste.zlin.dk/"; +SRC_URI="http://wgetpaste.zlin.dk/${P}.tar.bz2"; + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="+ssl" + +DEPEND="" +RDEPEND="net-misc/wget[ssl?]" + +PATCHES=( "${FILESDIR}"/wgetpaste-2.28-remove-broken-services.patch ) + +src_prepare() { + sed -i -e "s:/etc:\"${EPREFIX}\"/etc:g" wgetpaste || die + default +} + +src_install() { + dobin ${PN} + insinto /usr/share/zsh/site-functions + doins _wgetpaste +}