diff options
author | Oskari Pirhonen <xxc3ncoredxx@gmail.com> | 2023-01-14 15:41:55 -0600 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-01-14 23:22:49 +0000 |
commit | ed023c4032fc830a3e851b86798665426b87fd31 (patch) | |
tree | bd65f9e355d40f71853834c8e50d73798f27f16a /app-text/wgetpaste/files | |
parent | app-crypt/easy-rsa: Stabilize 3.0.8 sparc, #890839 (diff) | |
download | gentoo-ed023c4032fc830a3e851b86798665426b87fd31.tar.gz gentoo-ed023c4032fc830a3e851b86798665426b87fd31.tar.bz2 gentoo-ed023c4032fc830a3e851b86798665426b87fd31.zip |
app-text/wgetpaste: drop 2.29-r1, 2.30_p20210222-r2
Signed-off-by: Oskari Pirhonen <xxc3ncoredxx@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/29109
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text/wgetpaste/files')
-rw-r--r-- | app-text/wgetpaste/files/wgetpaste-2.29-fix-bpaste.patch | 40 | ||||
-rw-r--r-- | app-text/wgetpaste/files/wgetpaste-2.30-fix-dpaste-escapes.patch | 13 |
2 files changed, 0 insertions, 53 deletions
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..000000000000 --- 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?= <zlin@exherbo.org> -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..000000000000 --- 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}" |