summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/screen/Makefile1
-rw-r--r--misc/screen/files/patch-sec113
-rw-r--r--sysutils/screen/Makefile1
-rw-r--r--sysutils/screen/files/patch-sec113
4 files changed, 28 insertions, 0 deletions
diff --git a/misc/screen/Makefile b/misc/screen/Makefile
index d43cfb135d83..003286f401ca 100644
--- a/misc/screen/Makefile
+++ b/misc/screen/Makefile
@@ -7,6 +7,7 @@
PORTNAME= screen
PORTVERSION= 3.9.9
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
${MASTER_SITE_GNU}
diff --git a/misc/screen/files/patch-sec1 b/misc/screen/files/patch-sec1
new file mode 100644
index 000000000000..abeeb0c48b68
--- /dev/null
+++ b/misc/screen/files/patch-sec1
@@ -0,0 +1,13 @@
+--- screen.c.orig Fri May 25 16:40:10 2001
++++ screen.c Mon Sep 3 15:48:24 2001
+@@ -1061,6 +1061,10 @@
+ Attacher();
+ /* NOTREACHED */
+ }
++#ifdef MULTIUSER
++ if (multiattach)
++ Panic(0, "Can't create sessions of other users.");
++#endif
+ debug("screen -r: backend not responding -- still crying\n");
+ }
+ else if (dflag && !mflag)
diff --git a/sysutils/screen/Makefile b/sysutils/screen/Makefile
index d43cfb135d83..003286f401ca 100644
--- a/sysutils/screen/Makefile
+++ b/sysutils/screen/Makefile
@@ -7,6 +7,7 @@
PORTNAME= screen
PORTVERSION= 3.9.9
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
${MASTER_SITE_GNU}
diff --git a/sysutils/screen/files/patch-sec1 b/sysutils/screen/files/patch-sec1
new file mode 100644
index 000000000000..abeeb0c48b68
--- /dev/null
+++ b/sysutils/screen/files/patch-sec1
@@ -0,0 +1,13 @@
+--- screen.c.orig Fri May 25 16:40:10 2001
++++ screen.c Mon Sep 3 15:48:24 2001
+@@ -1061,6 +1061,10 @@
+ Attacher();
+ /* NOTREACHED */
+ }
++#ifdef MULTIUSER
++ if (multiattach)
++ Panic(0, "Can't create sessions of other users.");
++#endif
+ debug("screen -r: backend not responding -- still crying\n");
+ }
+ else if (dflag && !mflag)