Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| e924441d0b | |||
| f62ef865bb |
15
_service
15
_service
@@ -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>
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:913adf7ab32d3f12d2ba04f35fc0b923cff46c33cd4fbe66eaae65c21c967177
|
||||
size 1201160
|
||||
3
susepaste-script.tar.xz
Normal file
3
susepaste-script.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5e2c13cb84d9eeac03df48c9481d539eea14efc2b940e47213a81ea3b9862c9a
|
||||
size 1189248
|
||||
@@ -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):
|
||||
|
||||
@@ -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
105
update.patch
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user