Re: man ugen error

From: Maxim Konovalov <maxim.konovalov_at_gmail.com>
Date: Mon, 5 Mar 2012 15:07:44 +0400 (MSK)
On Fri, 2 Dec 2011, 11:07-0000, Thomas Mueller wrote:

> > in FreeBSD 10-current.
>
> > It should be removed and added to old files. Could you make a patch for that?
>
> > --HPS
>
> I found /usr/share/man/man4/ugen.4.gz in FreeBSD 9.0-RC2.
> What needs to be patched?  What file, where?
> Might it be /usr/src/ObsoleteFiles.inc ?
> I have extremely limited experience applying patches, no experience writing a patch.
> Where do I learn what and how to do?  I might need to see some examples to get me started.
>
Something like that should work:

Index: ObsoleteFiles.inc
===================================================================
--- ObsoleteFiles.inc	(revision 231431)
+++ ObsoleteFiles.inc	(working copy)
_at__at_ -38,6 +38,8 _at__at_
 #   xargs -n1 | sort | uniq -d;
 # done

+# 20120305: ugen(4) is now part of usb(4)
+OLD_FILES+=usr/share/man/man4/ugen.4.gz
 # 20120113: removal of wtmpcvt(1)
 OLD_FILES+=usr/bin/wtmpcvt
 OLD_FILES+=usr/share/man/man1/wtmpcvt.1.gz
Index: share/man/man4/ng_ubt.4
===================================================================
--- share/man/man4/ng_ubt.4	(revision 231431)
+++ share/man/man4/ng_ubt.4	(working copy)
_at__at_ -107,7 +107,6 _at__at_
 This node shuts down when the corresponding USB device is un-plugged.
 .Sh SEE ALSO
 .Xr netgraph 4 ,
-.Xr ugen 4 ,
 .Xr usb 4 ,
 .Xr ngctl 8
 .Sh HISTORY
Index: share/man/man4/ubtbcmfw.4
===================================================================
--- share/man/man4/ubtbcmfw.4	(revision 231431)
+++ share/man/man4/ubtbcmfw.4	(working copy)
_at__at_ -93,7 +93,6 _at__at_
 .El
 .Sh SEE ALSO
 .Xr ng_ubt 4 ,
-.Xr ugen 4 ,
 .Xr usb 4 ,
 .Xr bcmfw 8
 .Sh HISTORY
Index: share/man/man4/Makefile
===================================================================
--- share/man/man4/Makefile	(revision 231431)
+++ share/man/man4/Makefile	(working copy)
_at__at_ -477,7 +477,6 _at__at_
 	ufm.4 \
 	ufoma.4 \
 	uftdi.4 \
-	ugen.4 \
 	uhci.4 \
 	uhid.4 \
 	uhso.4 \
Index: share/man/man9/DEVICE_PROBE.9
===================================================================
--- share/man/man9/DEVICE_PROBE.9	(revision 231431)
+++ share/man/man9/DEVICE_PROBE.9	(working copy)
_at__at_ -119,9 +119,6 _at__at_
 treatment for some reason.
 .It BUS_PROBE_HOOVER
 The driver matches all unclaimed devices on a bus.
-The
-.Xr ugen 4
-device is one example.
 .It BUS_PROBE_NOWILDCARD
 The driver expects its parent to tell it which children to manage
 and no probing is really done.
Index: usr.sbin/bluetooth/bcmfw/bcmfw.8
===================================================================
--- usr.sbin/bluetooth/bcmfw/bcmfw.8	(revision 231431)
+++ usr.sbin/bluetooth/bcmfw/bcmfw.8	(working copy)
_at__at_ -96,8 +96,7 _at__at_
 .Pp
 .Dl "bcmfw -n ubtbcmfw0 -m BCM2033-MD.hex -f BCM2033-FW.bin"
 .Sh SEE ALSO
-.Xr ubtbcmfw 4 ,
-.Xr ugen 4
+.Xr ubtbcmfw 4
 .Sh AUTHORS
 .An Maksim Yevmenkin Aq m_evmenkin_at_yahoo.com
 .Sh BUGS
%%%

I'm not sure about the date of ugen.4 removal, so I put the current
date.

Also, there are some references to ugen.4 in the following man pages:

./usr.sbin/bluetooth/ath3kfw/ath3kfw.8
./usr.sbin/uathload/uathload.8

Not sure how to deal with them.

-- 
Maxim Konovalov
Received on Mon Mar 05 2012 - 10:07:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:24 UTC