commit susepaste for openSUSE:Factory
Hello community, here is the log from the commit of package susepaste for openSUSE:Factory checked in at 2020-04-01 19:12:29 Comparing /work/SRC/openSUSE:Factory/susepaste (Old) and /work/SRC/openSUSE:Factory/.susepaste.new.3248 (New) Package is "susepaste" Wed Apr 1 19:12:29 2020 rev:10 rq:790650 version:0.6 Changes: --- /work/SRC/openSUSE:Factory/susepaste/susepaste.changes 2019-08-28 18:37:00.909267711 +0200 +++ /work/SRC/openSUSE:Factory/.susepaste.new.3248/susepaste.changes 2020-04-01 19:14:03.047415373 +0200 @@ -1,0 +2,7 @@ +Tue Mar 31 17:24:07 UTC 2020 - Dominique Leuenberger + +- Add 0001-susepaste-Fix-parsing-of-returned-Location-header.patch: + fix parsing of location header returned by susepaste.org + (boo#116669). + +--- New: 0001-susepaste-Fix-parsing-of-returned-Location-header.patch Other differences: -- ++ susepaste.spec ++ --- /var/tmp/diff_new_pack.VDlK81/_old 2020-04-01 19:14:04.439415999 +0200 +++ /var/tmp/diff_new_pack.VDlK81/_new 2020-04-01 19:14:04.439415999 +0200 @@ -1,7 +1,7 @@ # # spec file for package susepaste # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,8 +22,9 @@ Summary:Script for using openSUSE paste License:GPL-3.0-only Group: Productivity/Other -URL:http://susepaste.org +URL:https://susepaste.org Source0:susepaste-script-%{version}.tar.bz2 +Patch0: 0001-susepaste-Fix-parsing-of-returned-Location-header.patch Requires: bash Requires: curl BuildArch: noarch @@ -47,6 +48,7 @@ %prep %setup -q -n susepaste-script-%{version} +%patch0 -p2 mv gpl-3.0.txt COPYING %build @@ -64,15 +66,15 @@ %{buildroot}%{_datadir}/susepaste/lang-mappings.sed %files -%doc COPYING +%license COPYING %{_bindir}/%{name} %{_datadir}/susepaste/lang-mappings.sed %dir %{_datadir}/susepaste -%{_mandir}/man1/%{name}.1%{ext_man} +%{_mandir}/man1/%{name}.1%{?ext_man} %files screenshot -%doc COPYING +%license COPYING %{_bindir}/%{name}-screenshot -%{_mandir}/man1/%{name}-screenshot.1%{ext_man} +%{_mandir}/man1/%{name}-screenshot.1%{?ext_man} %changelog ++ 0001-susepaste-Fix-parsing-of-returned-Location-header.patch ++ >From 86a31fca451c5242f216f6a7eb87ec43de749925 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 31 Mar 2020 19:12:44 +0200 Subject: [PATCH] susepaste: Fix parsing of returned Location header --- script/susepaste| 2 +- script/susepaste-screenshot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/script/susepaste b/script/susepaste index f2fceec..b09ba16 100755 --- a/script/susepaste +++ b/script/susepaste @@ -121,7 +121,7 @@ URL="` curl -v -F "$TYPE=$INPUT" -F "title=$TITLE" -F "expire=$EXPIRE" \ -F "name=$NICK" -F "submit=submit" -F "lang=$SYNTAX" \ $API_KEY \ -${SCHEMA}://susepaste.org 2>&1 | sed -n 's|<\ Location:\ ||p' `" +${SCHEMA}://susepaste.org 2>&1 | sed -n 's|<\ [lL]ocation:\ ||p' `" # Check the results and inform the user diff --git a/script/susepaste-screenshot b/script/susepaste-screenshot index cb75337..057d41f 100755 --- a/script/susepaste-screenshot +++ b/script/susepaste-screenshot @@ -96,7 +96,7 @@ URL="` curl -v -F "file=@$TMP" -F "title=$TITLE" -F "expire=$EXPIRE" \ -F "name=$NICK" -F "submit=submit" -F "lang=image" \ $API_KEY \ -http://susepaste.org 2>&1 | sed -n 's|<\ Location:\ ||p' `" +http://susepaste.org 2>&1 | sed -n 's|<\ [lL]ocation:\ ||p' `" rm -f "$TMP" -- 2.26.0
commit susepaste for openSUSE:Factory
Hello community, here is the log from the commit of package susepaste for openSUSE:Factory checked in at 2019-08-28 18:36:57 Comparing /work/SRC/openSUSE:Factory/susepaste (Old) and /work/SRC/openSUSE:Factory/.susepaste.new.7948 (New) Package is "susepaste" Wed Aug 28 18:36:57 2019 rev:9 rq:726612 version:0.6 Changes: --- /work/SRC/openSUSE:Factory/susepaste/susepaste.changes 2019-08-13 13:23:00.781390775 +0200 +++ /work/SRC/openSUSE:Factory/.susepaste.new.7948/susepaste.changes 2019-08-28 18:37:00.909267711 +0200 @@ -1,0 +2,5 @@ +Tue Aug 27 07:24:44 UTC 2019 - Jan Engelhardt + +- Trim duplicated wording from descriptions. + +--- Other differences: -- ++ susepaste.spec ++ --- /var/tmp/diff_new_pack.e53SmQ/_old 2019-08-28 18:37:02.809267380 +0200 +++ /var/tmp/diff_new_pack.e53SmQ/_new 2019-08-28 18:37:02.813267379 +0200 @@ -19,23 +19,21 @@ Name: susepaste Version:0.6 Release:0 -Summary:Simple script for using openSUSE paste easily +Summary:Script for using openSUSE paste License:GPL-3.0-only Group: Productivity/Other -Url:http://susepaste.org +URL:http://susepaste.org Source0:susepaste-script-%{version}.tar.bz2 Requires: bash Requires: curl BuildArch: noarch %description -Simple script for using openSUSE paste easily. +A script for using the openSUSE paste service. You can paste either the file or input from stdin. -http://susepaste.org - %package screenshot -Summary:Simple script for pasting screenshots easily +Summary:Script for pasting screenshots Group: Productivity/Other Requires: ImageMagick Requires: curl @@ -44,11 +42,9 @@ BuildArch: noarch %description screenshot -Simple script for using openSUSE paste easily. +A script for using the openSUSE paste service. You can paste screenshot of the window or whole desktop. -http://susepaste.org - %prep %setup -q -n susepaste-script-%{version} mv gpl-3.0.txt COPYING
commit susepaste for openSUSE:Factory
Hello community, here is the log from the commit of package susepaste for openSUSE:Factory checked in at 2019-08-13 13:22:22 Comparing /work/SRC/openSUSE:Factory/susepaste (Old) and /work/SRC/openSUSE:Factory/.susepaste.new.9556 (New) Package is "susepaste" Tue Aug 13 13:22:22 2019 rev:8 rq:722571 version:0.6 Changes: --- /work/SRC/openSUSE:Factory/susepaste/susepaste.changes 2017-11-27 22:17:48.591944096 +0100 +++ /work/SRC/openSUSE:Factory/.susepaste.new.9556/susepaste.changes 2019-08-13 13:23:00.781390775 +0200 @@ -1,0 +2,8 @@ +Sun Aug 11 15:17:41 UTC 2019 - Michal Hrusecky + +- updated to version 0.6 + - error out when pasting unreadable file + - fix one bashism + - allow to specify protocol + +--- Old: susepaste-script-0.5.tar.bz2 New: susepaste-script-0.6.tar.bz2 Other differences: -- ++ susepaste.spec ++ --- /var/tmp/diff_new_pack.Ij5G7S/_old 2019-08-13 13:23:01.209390663 +0200 +++ /var/tmp/diff_new_pack.Ij5G7S/_new 2019-08-13 13:23:01.213390662 +0200 @@ -1,7 +1,7 @@ # # spec file for package susepaste # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,15 +12,15 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: susepaste -Version:0.5 +Version:0.6 Release:0 Summary:Simple script for using openSUSE paste easily -License:GPL-3.0 +License:GPL-3.0-only Group: Productivity/Other Url:http://susepaste.org Source0:susepaste-script-%{version}.tar.bz2 ++ susepaste-script-0.5.tar.bz2 -> susepaste-script-0.6.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/susepaste-script-0.5/susepaste new/susepaste-script-0.6/susepaste --- old/susepaste-script-0.5/susepaste 2011-04-21 16:01:47.0 +0200 +++ new/susepaste-script-0.6/susepaste 2019-08-11 17:16:58.100253110 +0200 @@ -55,11 +55,14 @@ "x-k" ) KEY="$2" shift 2 ;; +"x-s" ) +SCHEMA="$2" +shift 2 ;; * ) echo "openSUSE Paste script" echo "" echo " usage:" - echo " susepaste [-f format] [-n nick] [-t title] [-e expire] [file]" + echo " susepaste [-f format] [-n nick] [-t title] [-e expire] [-s schema] [file]" echo "" exit 0 ;; esac @@ -76,7 +79,11 @@ # Do we want to use stdin or paste content of the file? -if [ -r "$1" ]; then +if [ "$1" ]; then + if [ \! -r "$1" ]; then + echo "Can't read $1" + exit 2 + fi INPUT="<$1" [ "$TITLE" ] || TITLE="`basename $1`" TMP="" @@ -105,7 +112,8 @@ [ "$SYNTAX" ] || SYNTAX="text" # Time to live for your paste in minutes (for possible values check the documentation) [ "$EXPIRE" ] || EXPIRE=60 - +# Should SSL be used as schema +[ "$SCHEMA" ] || SCHEMA=https # Real pasting and getting back the URL of the paste @@ -113,17 +121,17 @@ curl -v -F "$TYPE=$INPUT" -F "title=$TITLE" -F "expire=$EXPIRE" \ -F "name=$NICK" -F "submit=submit" -F "lang=$SYNTAX" \ $API_KEY \ -http://susepaste.org 2>&1 | sed -n 's|<\ Location:\ ||p' `" +${SCHEMA}://susepaste.org 2>&1 | sed -n 's|<\ Location:\ ||p' `" # Check the results and inform the user -if expr "$URL" : "^http://susepaste.org/[0-9a-f]\+; > /dev/null; then - ID="`echo "$URL" | sed 's|^http://susepaste.org/\([0-9a-f]\+\)[^0-9a-f]*|\1|'`" +if expr "$URL" : "^${SCHEMA}://susepaste.org/[0-9a-f]\+" > /dev/null; then + ID="`echo "$URL" | sed 's|^'"${SCHEMA}"'://susepaste.org/\([0-9a-f]\+\)[^0-9a-f]*|\1|'`" echo "Pasted as:" - echo " http://susepaste.org/$ID; - echo " http://paste.opensuse.org/$ID; + echo " ${SCHEMA}://susepaste.org/$ID" + echo " ${SCHEMA}://paste.opensuse.org/$ID" if [ -x /usr/bin/xclip ]; then - echo "http://susepaste.org/$ID; | xclip -selection XA_CLIPBOARD + echo "${SCHEMA}://susepaste.org/$ID" | xclip -selection XA_CLIPBOARD echo "Link is
commit susepaste for openSUSE:Factory
Hello community, here is the log from the commit of package susepaste for openSUSE:Factory checked in at 2017-11-27 22:17:48 Comparing /work/SRC/openSUSE:Factory/susepaste (Old) and /work/SRC/openSUSE:Factory/.susepaste.new (New) Package is "susepaste" Mon Nov 27 22:17:48 2017 rev:7 rq:545746 version:0.5 Changes: --- /work/SRC/openSUSE:Factory/susepaste/susepaste.changes 2012-02-14 19:08:57.0 +0100 +++ /work/SRC/openSUSE:Factory/.susepaste.new/susepaste.changes 2017-11-27 22:17:48.591944096 +0100 @@ -1,0 +2,5 @@ +Sun Nov 26 10:47:28 UTC 2017 - mplus...@suse.com + +- Cleanup spec file with spec-cleaner + +--- Other differences: -- ++ susepaste.spec ++ --- /var/tmp/diff_new_pack.cADi3V/_old 2017-11-27 22:17:49.131924497 +0100 +++ /var/tmp/diff_new_pack.cADi3V/_new 2017-11-27 22:17:49.135924352 +0100 @@ -1,7 +1,7 @@ # # spec file for package susepaste # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,18 +15,18 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: susepaste Version:0.5 -Release:1 +Release:0 +Summary:Simple script for using openSUSE paste easily License:GPL-3.0 +Group: Productivity/Other Url:http://susepaste.org Source0:susepaste-script-%{version}.tar.bz2 -Group: Productivity/Other -Summary:Simple script for using openSUSE paste easily -BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: bash Requires: curl +BuildArch: noarch %description Simple script for using openSUSE paste easily. @@ -35,11 +35,13 @@ http://susepaste.org %package screenshot -Group: Productivity/Other Summary:Simple script for pasting screenshots easily -BuildArch: noarch -Requires: wmctrl ImageMagick curl +Group: Productivity/Other +Requires: ImageMagick +Requires: curl +Requires: wmctrl Recommends: xclip +BuildArch: noarch %description screenshot Simple script for using openSUSE paste easily. @@ -48,30 +50,33 @@ http://susepaste.org %prep -%setup -n susepaste-script-%{version} +%setup -q -n susepaste-script-%{version} mv gpl-3.0.txt COPYING %build %install -install -D -m 0755 susepaste %{buildroot}%{_bindir}/susepaste -install -D -m 0755 susepaste-screenshot %{buildroot}%{_bindir}/susepaste-screenshot -install -D -m 0644 susepaste.1 %{buildroot}%{_mandir}/man1/susepaste.1 -install -D -m 0644 susepaste-screenshot.1 %{buildroot}%{_mandir}/man1/susepaste-screenshot.1 -install -D -m 0644 lang-mappings.sed %{buildroot}/usr/share/susepaste/lang-mappings.sed +install -Dpm 0755 susepaste \ + %{buildroot}%{_bindir}/susepaste +install -Dpm 0755 susepaste-screenshot \ + %{buildroot}%{_bindir}/susepaste-screenshot +install -Dpm 0644 susepaste.1 \ + %{buildroot}%{_mandir}/man1/susepaste.1 +install -Dpm 0644 susepaste-screenshot.1 \ + %{buildroot}%{_mandir}/man1/susepaste-screenshot.1 +install -Dpm 0644 lang-mappings.sed \ + %{buildroot}%{_datadir}/susepaste/lang-mappings.sed %files -%defattr(-,root,root) %doc COPYING %{_bindir}/%{name} -/usr/share/susepaste/lang-mappings.sed -%dir /usr/share/susepaste -%doc %{_mandir}/man1/%{name}.* +%{_datadir}/susepaste/lang-mappings.sed +%dir %{_datadir}/susepaste +%{_mandir}/man1/%{name}.1%{ext_man} %files screenshot -%defattr(-,root,root) %doc COPYING %{_bindir}/%{name}-screenshot -%doc %{_mandir}/man1/%{name}-screenshot.* +%{_mandir}/man1/%{name}-screenshot.1%{ext_man} %changelog
commit susepaste for openSUSE:Factory
Hello community, here is the log from the commit of package susepaste for openSUSE:Factory checked in at 2012-02-14 19:08:56 Comparing /work/SRC/openSUSE:Factory/susepaste (Old) and /work/SRC/openSUSE:Factory/.susepaste.new (New) Package is susepaste, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/susepaste/susepaste.changes 2011-12-21 15:41:50.0 +0100 +++ /work/SRC/openSUSE:Factory/.susepaste.new/susepaste.changes 2012-02-14 19:08:57.0 +0100 @@ -1,0 +2,5 @@ +Fri Dec 16 20:48:02 CET 2011 - mhruse...@suse.cz + +- minor spec file beautifications + +--- Other differences: -- ++ susepaste.spec ++ --- /var/tmp/diff_new_pack.Uw3t7a/_old 2012-02-14 19:08:58.0 +0100 +++ /var/tmp/diff_new_pack.Uw3t7a/_new 2012-02-14 19:08:58.0 +0100 @@ -18,7 +18,7 @@ Name: susepaste Version:0.5 Release:1 -License:GPLv3 +License:GPL-3.0 Url:http://susepaste.org Source0:susepaste-script-%{version}.tar.bz2 Group: Productivity/Other @@ -60,9 +60,6 @@ install -D -m 0644 susepaste-screenshot.1 %{buildroot}%{_mandir}/man1/susepaste-screenshot.1 install -D -m 0644 lang-mappings.sed %{buildroot}/usr/share/susepaste/lang-mappings.sed -%clean -rm -rf %{buildroot} - %files %defattr(-,root,root) %doc COPYING -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org