SHA256
1
0
forked from pool/susepaste

13 Commits

Author SHA256 Message Date
e924441d0b Accepting request 1238267 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1238267
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/susepaste?expand=0&rev=17
2025-01-17 17:37:21 +00:00
f62ef865bb Update the script and get rid of susepaste
OBS-URL: https://build.opensuse.org/package/show/devel:tools/susepaste?expand=0&rev=29
2025-01-16 13:34:49 +00:00
a8dd95546a Accepting request 1178205 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1178205
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/susepaste?expand=0&rev=16
2024-06-04 10:50:00 +00:00
ab011341c0 Accepting request 1151584 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1151584
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/susepaste?expand=0&rev=15
2024-02-27 21:44:27 +00:00
0b6acf2b18 Accepting request 1132854 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1132854
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/susepaste?expand=0&rev=14
2023-12-14 21:02:32 +00:00
77f5b39258 Accepting request 1042557 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1042557
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/susepaste?expand=0&rev=13
2022-12-14 13:10:38 +00:00
40ea371a6a Accepting request 935923 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/935923
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/susepaste?expand=0&rev=12
2021-12-08 21:08:29 +00:00
dfb7f1c97f Accepting request 866159 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/866159
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/susepaste?expand=0&rev=11
2021-01-25 17:23:30 +00:00
da103bdfac Accepting request 790650 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/790650
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/susepaste?expand=0&rev=10
2020-04-01 17:12:29 +00:00
c89a18d663 Accepting request 726612 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/726612
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/susepaste?expand=0&rev=9
2019-08-28 16:36:57 +00:00
8d97230b36 Accepting request 722571 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/722571
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/susepaste?expand=0&rev=8
2019-08-13 11:22:22 +00:00
2979fe998e Accepting request 545746 from devel:tools
- Cleanup spec file with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/545746
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/susepaste?expand=0&rev=7
2017-11-27 21:17:48 +00:00
Stephan Kulow
de15b76df1 Accepting request 104028 from devel:tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/104028
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/susepaste?expand=0&rev=2
2012-02-14 18:08:56 +00:00
6 changed files with 125 additions and 21 deletions

View File

@@ -1,15 +0,0 @@
<services>
<service name="tar_scm" mode="manual">
<param name="filename">susepaste-script</param>
<param name="scm">git</param>
<param name="url">https://github.com/openSUSE/paste</param>
<param name="revision">dbdce91bfd7954616731e47f97f82b8e10586101</param>
<param name="versionformat">0.7</param>
<param name="submodules">disable</param>
</service>
<service name="recompress" mode="manual">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="manual"/>
</services>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:913adf7ab32d3f12d2ba04f35fc0b923cff46c33cd4fbe66eaae65c21c967177
size 1201160

3
susepaste-script.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5e2c13cb84d9eeac03df48c9481d539eea14efc2b940e47213a81ea3b9862c9a
size 1189248

View File

@@ -1,4 +1,17 @@
-------------------------------------------------------------------
Wed Dec 25 08:26:13 UTC 2024 - Stephan Hemeier <Sauerlandlinux@gmx.de>
- Update to Version 20241225
* Update the update.patch
-------------------------------------------------------------------
Sat Dec 7 08:41:28 UTC 2024 - Stephan Hemeier <Sauerlandlinux@gmx.de>
- Updated to version 20241207
* Repair susepaste-screenshot
* handle multiple login sessions
* Update manpage
-------------------------------------------------------------------
Fri May 31 22:24:51 UTC 2024 - Georg Pfuetzenreuter <mail+rpm@georg-pfuetzenreuter.net>
- Update to version 0.7 (commit dbdce91bfd7954616731e47f97f82b8e10586101):

View File

@@ -17,13 +17,14 @@
Name: susepaste
Version: 0.7
Version: 20241225
Release: 0
Summary: Script for using openSUSE paste
License: GPL-3.0-only
Group: Productivity/Other
URL: https://github.com/openSUSE/paste
Source0: susepaste-script-%{version}.tar.xz
Source0: susepaste-script.tar.xz
Patch1: update.patch
Requires: bash
Requires: curl
BuildArch: noarch
@@ -46,7 +47,7 @@ A script for using the openSUSE paste service.
You can paste screenshot of the window or whole desktop.
%prep
%autosetup -n susepaste-script-%{version} -p 1
%autosetup -n susepaste-script -p 1
mv script/gpl-3.0.txt COPYING
%build

105
update.patch Normal file
View File

@@ -0,0 +1,105 @@
diff -Naur susepaste-script/script/susepaste susepaste-scriptn/script/susepaste
--- susepaste-script/script/susepaste 2024-12-07 09:30:21.258449268 +0100
+++ susepaste-scriptn/script/susepaste 2024-12-25 09:17:03.488242577 +0100
@@ -136,8 +136,8 @@
if [ -x /usr/bin/loginctl ]
then
- session_id=$(loginctl list-sessions --no-legend | awk "/$SELF/{print \$1}")
- session_type=$(loginctl show-session "$session_id" -P Type)
+ session_id=$(loginctl list-sessions --no-legend | awk "/$SELF seat[0-9]* /{ print \$1 ; exit }")
+ session_type=$(loginctl show-session -PType "$session_id")
case "$session_type" in
"x11")
diff -Naur susepaste-script/script/susepaste.1 susepaste-scriptn/script/susepaste.1
--- susepaste-script/script/susepaste.1 2024-12-07 09:30:21.258449268 +0100
+++ susepaste-scriptn/script/susepaste.1 2024-12-25 09:19:50.167812745 +0100
@@ -15,6 +15,18 @@
specified as arguments.
.SH OPTIONS
.TP
+-e \fBEXPIRE\fR
+for how long will be paste stored on the server. Default is 30 minutes,
+possible values are:
+ \fI30\fR 30 Minutes
+ \fI60\fR 1 Hour
+ \fI360\fR 6 Hours
+ \fI720\fR 12 Hours
+ \fI1440\fR 1 Day
+ \fI10080\fR 1 Week
+ \fI43200\fR 1 Month
+ \fI131040\fR 3 Months (Maximum)
+.TP
-n \fBNICK\fR
nickname of the author of the paste
.TP
@@ -205,22 +217,6 @@
\fIxorg_conf\fR Xorg configuration
\fIz80\fR ZiLOG Z80 Assembler
.TP
--e \fBEXPIRE\fR
-for how log will be paste stored on the server. Default is 30 minutes,
-possible values are:
- \fI30\fR 30 Minutes
- \fI60\fR 1 Hour
- \fI360\fR 6 Hours
- \fI720\fR 12 Hours
- \fI1440\fR 1 Day
- \fI10080\fR 1 Week
- \fI40320\fR 1 Month
- \fI151200\fR 3 Months
- \fI604800\fR 1 Year
- \fI1209600\fR 2 Years
- \fI1814400\fR 3 Years
- \fI0\fR Never
-.TP
-s \fBSCHEMA\fR
what schema should be used for pasting. Default is https,
possible values are:
diff -Naur susepaste-script/script/susepaste-screenshot.1 susepaste-scriptn/script/susepaste-screenshot.1
--- susepaste-script/script/susepaste-screenshot.1 2024-12-07 09:30:21.258449268 +0100
+++ susepaste-scriptn/script/susepaste-screenshot.1 2024-12-25 09:25:03.879105435 +0100
@@ -17,17 +17,8 @@
--all
takes screenshot of whole desktop instean
.TP
--n \fBNICK\fR
-nickname of the author of the paste
-.TP
--t \fBTITLE\fR
-name of the paste
-.TP
--k \fBKEY\fR
-API key to paste as you
-.TP
-e \fBEXPIRE\fR
-for how log will be paste stored on the server. Default is 30 minutes,
+for how long will be paste stored on the server. Default is 30 minutes,
possible values are:
\fI30\fR 30 Minutes
\fI60\fR 1 Hour
@@ -35,12 +26,17 @@
\fI720\fR 12 Hours
\fI1440\fR 1 Day
\fI10080\fR 1 Week
- \fI40320\fR 1 Month
- \fI151200\fR 3 Months
- \fI604800\fR 1 Year
- \fI1209600\fR 2 Years
- \fI1814400\fR 3 Years
- \fI0\fR Never
+ \fI43200\fR 1 Month
+ \fI131040\fR 3 Months (Maximum)
+.TP
+-n \fBNICK\fR
+nickname of the author of the paste
+.TP
+-t \fBTITLE\fR
+name of the paste
+.TP
+-k \fBKEY\fR
+API key to paste as you
.SH EXAMPLES