[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sudo patch 039 on 2.7
Hi all,
Please forgive me if this is a stupid query, I'm new to the game.
I have previously had complete success with all the patches for my 2.7
i386 setup, but don't seem to be doing well with the patch for sudo from 22
Feb. I believe I have followed the instructions accurately, but make obj and
make depend don't seem to have worked for me - could some kind soul tell me
what I've done wrong? I took it that the reference to 21_sudo.patch in the
patch itself is just a typo, was this right?
bash-2.04# patch -p0 < 039_sudo.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Fix a buffer overflow in sudo.
|
|Apply by doing:
| cd /usr/src;
| patch -p0 < 21_sudo.patch
|
|And rebuild sudo by doing:
| cd usr.bin/sudo
| make obj
| make depend
| make
| make install
|
|Index: usr.bin/sudo/logging.c
Patching file usr.bin/sudo/logging.c using Plan A...
Hunk #1 succeeded at 112.
Hunk #2 succeeded at 136.
done
bash-2.04# cd usr.bin/sudo
bash-2.04# make obj
`obj' is up to date.
bash-2.04# make depend
make: don't know how to make depend. Stop
bash-2.04# pwd
/usr/src/usr.bin/sudo