Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Mar 2012 15:07:44 +0400 (MSK)
From:      Maxim Konovalov <maxim.konovalov@gmail.com>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        Thomas Mueller <mueller6727@bellsouth.net>, freebsd-current@freebsd.org
Subject:   Re: man ugen error
Message-ID:  <alpine.BSF.2.00.1203051501240.1580@mp2.macomnet.net>
In-Reply-To: <20111202112053.E60451065670@hub.freebsd.org>
References:  <20111130102439.E770E1065672@hub.freebsd.org> <201111301739.58889.hselasky@c2i.net> <20111201104937.B99B3106564A@hub.freebsd.org> <201112011753.05629.hselasky@c2i.net> <20111202112053.E60451065670@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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)
@@ -38,6 +38,8 @@
 #   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)
@@ -107,7 +107,6 @@
 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)
@@ -93,7 +93,6 @@
 .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)
@@ -477,7 +477,6 @@
 	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)
@@ -119,9 +119,6 @@
 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)
@@ -96,8 +96,7 @@
 .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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1203051501240.1580>