diff options
author | Sheldon Hearn <sheldonh@FreeBSD.org> | 2001-06-28 23:48:48 +0000 |
---|---|---|
committer | Sheldon Hearn <sheldonh@FreeBSD.org> | 2001-06-28 23:48:48 +0000 |
commit | 15be3d1062986c8fa78ddcca9923b7b5b3b1b71d (patch) | |
tree | b1569bfa470f0e81a1f5c53e64721fafb66df6e6 /x11/imwheel/files/patch-aa | |
parent | Update port to version 0.87. (diff) |
Update to imwheel-0.9.9, which fixes a root exploit in the case where
imwheel is setuid root.
Note that the port doesn't install imwheel setuid root, so the
problem would not have affected users of the port / package.
Regardless, it's bad PR to make mouse wheel support so visible
in the FAQ and then keep a known-bad version of the supporting
software in the ports tree.
This update is derived from broken patches received by way of the
maintainer, who no longer has time to maintain the port. This port is
now looking for a maintainer.
Submitted by: Jeremy Norris <ishmael27@home.com>
Notes
Notes:
svn path=/head/; revision=44537
Diffstat (limited to 'x11/imwheel/files/patch-aa')
-rw-r--r-- | x11/imwheel/files/patch-aa | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/x11/imwheel/files/patch-aa b/x11/imwheel/files/patch-aa deleted file mode 100644 index 244ecccca91c..000000000000 --- a/x11/imwheel/files/patch-aa +++ /dev/null @@ -1,46 +0,0 @@ ---- Makefile.orig Wed Feb 2 04:24:39 2000 -+++ Makefile Tue Feb 22 08:49:17 2000 -@@ -5,7 +5,7 @@ - - .PHONY: jax getopt mdetect - --CC=gcc -+#CC=gcc - - ifeq ("$(shell uname -s)","Linux") - SHELL=/bin/sh -@@ -19,17 +19,17 @@ - endif - else - SHELL=/bin/sh --INCDIRS=-I/usr/X11R6/include -Ijax -Igetopt --LIBDIRS=-L/usr/X11R6/lib -+INCDIRS=-I${X11BASE}/include -Ijax -Igetopt -+LIBDIRS=-L${X11BASE}/lib - SUBDIRLIBS=jax/libjax.a getopt/libgetopt.a --SUBDIRS=jax getopt mdetect -+SUBDIRS=jax getopt - LIBS=-lX11 -lXext -lXtst -lXmu - GPM= - endif - - #FLAGS=-g -DDEBUG -Wall - #FLAGS=-g -pg --FLAGS=-O6 -s -Wall -+FLAGS=-Wall -DIMWHEELRC="\"${PREFIX}/etc/imwheelrc\"" - INSTALLDIR=/usr/local/bin - # No spaces are allowd before or after the PIDDIR directory - #PIDDIR=/var/run#NOTE : this is great for root users... but regular users -@@ -38,9 +38,9 @@ - # another setuid root program in your install base. - PIDDIR=/tmp#NOTE : This has been voted by a large majority to be the best - # place for this file. for the good of all users. --CFLAGS=$(FLAGS) $(INCDIRS) -DPIDDIR="\"$(PIDDIR)\"" -DVERSION="\"$(VERSION)\"" --LDFLAGS=$(FLAGS) $(LIBDIRS) $(LIBS) --PROGS= imwheel $(GPM) mdump setimps2 getmdt setmmplus setps2 -+CFLAGS+=$(FLAGS) $(INCDIRS) -DPIDDIR="\"$(PIDDIR)\"" -DVERSION="\"$(VERSION)\"" -+LDFLAGS+=$(FLAGS) $(LIBDIRS) $(LIBS) -+PROGS= imwheel - - all: $(SUBDIRS) $(PROGS) - |