Date: Sat, 9 Nov 2002 10:59:06 -0500 (EST) From: Ray Kohler <> To: FreeBSD-gnats-submit@FreeBSD.org Subject: misc/45159: [patch] updating 320.whatis and 330.catman in -current Message-ID: <200211091559.gA9Fx6ZX070320@arkadia.nv.cox.net>
next in thread | raw e-mail | index | archive | help
>Number: 45159 >Category: misc >Synopsis: [patch] updating 320.whatis and 330.catman in -current >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 09 08:00:04 PST 2002 >Closed-Date: >Last-Modified: >Originator: Ray Kohler >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD arkadia.nv.cox.net 5.0-CURRENT FreeBSD 5.0-CURRENT #6: Fri Nov 8 20:05:46 EST 2002 root@arkadia.nv.cox.net:/usr/obj/usr/src/sys/ARKADIA i386 >Description: makewhatis.local and catman.local no longer exist in -current. That means 320.whatis and 330.catman fail when run. The following patches fix them, although I'm not sure whether the functionality is identical to the old versions. >How-To-Repeat: Run 320.whatis and 330.catman. >Fix: --- 320.whatis.orig Tue Oct 29 19:42:53 2002 +++ 320.whatis Sat Nov 9 10:41:44 2002 @@ -29,14 +29,14 @@ # Build whatis(1) database(s) for original, non-localized # manpages. - /usr/libexec/makewhatis.local "${MANPATH}" || rc=3 + /usr/bin/makewhatis "${MANPATH}" || rc=3 # Build whatis(1) database(s) for localized manpages. if [ X"${man_locales}" != X ] then for i in ${man_locales} do - LC_ALL=$i /usr/libexec/makewhatis.local -a \ + LC_ALL=$i /usr/bin/makewhatis -a \ -L "${MANPATH}" || rc=3 done fi --- 330.catman.orig Tue Oct 29 19:42:53 2002 +++ 330.catman Sat Nov 9 10:43:11 2002 @@ -34,7 +34,7 @@ rc=0 # Preformat original, non-localized manpages - echo /usr/libexec/catman.local "$MANPATH" | + echo /usr/bin/catman "$MANPATH" | su -fm man || rc=3 # Preformat localized manpages. @@ -42,7 +42,7 @@ then for i in $man_locales do - echo /usr/libexec/catman.local -L \ + echo /usr/bin/catman -L \ "$MANPATH" | LC_ALL=$i su -fm man || rc=3 done fi >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211091559.gA9Fx6ZX070320>