[packages/sprunge] - ver 0.4; avoid automatic pasting from x clipboard - too easy to paste something important

arekm arekm at pld-linux.org
Tue Jun 9 16:01:14 CEST 2015


commit 14992dffc5fb41316136cc38c6a42bfea0b96ce3
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Jun 9 16:01:06 2015 +0200

    - ver 0.4; avoid automatic pasting from x clipboard - too easy to paste something important

 avoid.patch | 11 +++++++++++
 sprunge.sh  |  2 --
 2 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/avoid.patch b/avoid.patch
new file mode 100644
index 0000000..3e39f55
--- /dev/null
+++ b/avoid.patch
@@ -0,0 +1,11 @@
+--- sprunge~	2015-04-21 08:14:09.000000000 +0200
++++ sprunge	2015-06-09 15:58:42.584994492 +0200
+@@ -14,6 +14,8 @@
+ }
+ 
+ getsel() {
++	# too easy to put something important onto sprunge
++	return false
+ 	if have xclip; then
+ 		xclip -out -selection primary
+ 	elif have xsel; then
diff --git a/sprunge.sh b/sprunge.sh
deleted file mode 100755
index 92b74fc..0000000
--- a/sprunge.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec /usr/bin/curl -F 'sprunge=<-' http://sprunge.us
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sprunge.git/commitdiff/14992dffc5fb41316136cc38c6a42bfea0b96ce3



More information about the pld-cvs-commit mailing list