aboutsummaryrefslogtreecommitdiffstats
path: root/misc/splitvt/files
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-01-14 19:47:57 +0800
committerobrien <obrien@FreeBSD.org>2001-01-14 19:47:57 +0800
commitc42e01bf6d20becac0f8143e6a84fbbf0f61ad6d (patch)
tree6ed5ad3d089010f1adb3035785f3a29a31054c68 /misc/splitvt/files
parent2e8207c9369fe07bb5e423f139fe5c561b76ed11 (diff)
downloadfreebsd-ports-gnome-c42e01bf6d20becac0f8143e6a84fbbf0f61ad6d.tar.gz
freebsd-ports-gnome-c42e01bf6d20becac0f8143e6a84fbbf0f61ad6d.tar.zst
freebsd-ports-gnome-c42e01bf6d20becac0f8143e6a84fbbf0f61ad6d.zip
Update to version 1.6.5 (and fix known vulnerabilities).
Submitted by: George Reid <greid@ukug.uk.freebsd.org>
Diffstat (limited to 'misc/splitvt/files')
-rw-r--r--misc/splitvt/files/patch-config.c13
-rw-r--r--misc/splitvt/files/patch-splitvt.113
-rw-r--r--misc/splitvt/files/patch-utmp.c11
3 files changed, 37 insertions, 0 deletions
diff --git a/misc/splitvt/files/patch-config.c b/misc/splitvt/files/patch-config.c
new file mode 100644
index 000000000000..4206aae3d9b4
--- /dev/null
+++ b/misc/splitvt/files/patch-config.c
@@ -0,0 +1,13 @@
+--- config.c.orig Sun Jan 14 11:33:17 2001
++++ config.c Sun Jan 14 11:33:36 2001
+@@ -237,8 +237,8 @@
+ #endif
+ fprintf(makefile, "\nclean: \n\trm -f *.o core \n");
+ fprintf(makefile, "\ndistclean: clean\n\trm -f splitvt Makefile\n");
+- fprintf(makefile, "\ninstall: \n\tmv splitvt /usr/local/bin/splitvt\n");
+- fprintf(makefile, "\tmv examples/xsplitvt /usr/local/bin/xsplitvt\n");
++ fprintf(makefile, "\ninstall: \n\tmv splitvt %%PREFIX%%/bin/splitvt\n");
++ fprintf(makefile, "\tmv examples/xsplitvt %%PREFIX%%/bin/xsplitvt\n");
+
+ fclose(makefile);
+ exit(0);
diff --git a/misc/splitvt/files/patch-splitvt.1 b/misc/splitvt/files/patch-splitvt.1
new file mode 100644
index 000000000000..8a0fd0bf5cf1
--- /dev/null
+++ b/misc/splitvt/files/patch-splitvt.1
@@ -0,0 +1,13 @@
+--- splitvt.1.orig Sun Jan 14 11:36:23 2001
++++ splitvt.1 Sun Jan 14 11:39:03 2001
+@@ -173,8 +173,8 @@
+ splitvt will attempt to erase the current utmp entry, and replace it
+ with entries for the two windows. This allows you to use programs
+ such as 'talk' within the splitvt windows. If you do not have write
+-permission to the /etc/utmp file, you will not be able to modify the
+-utmp entries.
++permission to the /var/run/utmp file, you will not be able to modify
++the utmp entries.
+
+ splitvt can be made set-uid root. splitvt will reset its user id to
+ that of the person running it, just before it exec()'s the shell under
diff --git a/misc/splitvt/files/patch-utmp.c b/misc/splitvt/files/patch-utmp.c
new file mode 100644
index 000000000000..fe4fcdfc3e87
--- /dev/null
+++ b/misc/splitvt/files/patch-utmp.c
@@ -0,0 +1,11 @@
+--- utmp.c.orig Sun Jan 14 11:36:17 2001
++++ utmp.c Sun Jan 14 11:38:25 2001
+@@ -12,7 +12,7 @@
+ #define UTMP_FILE "/tmp/utmp"
+ #else
+ #ifndef UTMP_FILE
+-#define UTMP_FILE "/etc/utmp"
++#define UTMP_FILE _PATH_UTMP
+ #endif /* UTMP_FILE */
+ #endif /* DEBUG_UTMP */
+