aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2015-06-12 02:12:08 +0800
committerjbeich <jbeich@FreeBSD.org>2015-06-12 02:12:08 +0800
commit57ce5013c32ec6b6a86c74d9619b6f0b989fac31 (patch)
treec84f9175ace72f02c34d0d72e011100e35154fc9 /devel
parent41c426bd26432e5f9b031d03cb8ef020a9851354 (diff)
downloadfreebsd-ports-gnome-57ce5013c32ec6b6a86c74d9619b6f0b989fac31.tar.gz
freebsd-ports-gnome-57ce5013c32ec6b6a86c74d9619b6f0b989fac31.tar.zst
freebsd-ports-gnome-57ce5013c32ec6b6a86c74d9619b6f0b989fac31.zip
devel/android-tools-fastboot: clear Linuxisms in the manpage
Diffstat (limited to 'devel')
-rw-r--r--devel/android-tools-fastboot/Makefile2
-rw-r--r--devel/android-tools-fastboot/files/patch-fastboot_fastboot.140
2 files changed, 41 insertions, 1 deletions
diff --git a/devel/android-tools-fastboot/Makefile b/devel/android-tools-fastboot/Makefile
index 5532bd544702..3253e332a555 100644
--- a/devel/android-tools-fastboot/Makefile
+++ b/devel/android-tools-fastboot/Makefile
@@ -3,7 +3,7 @@
PORTNAME= android-tools-fastboot
DISTVERSIONPREFIX= android-
DISTVERSION= 5.1.1_r4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= https://anonscm.debian.org/cgit/android-tools/android-tools.git/plain/debian/:manpage
DISTFILES= fastboot.1?id=706e754:manpage
diff --git a/devel/android-tools-fastboot/files/patch-fastboot_fastboot.1 b/devel/android-tools-fastboot/files/patch-fastboot_fastboot.1
new file mode 100644
index 000000000000..35997d9b409e
--- /dev/null
+++ b/devel/android-tools-fastboot/files/patch-fastboot_fastboot.1
@@ -0,0 +1,40 @@
+--- fastboot/fastboot.1.orig 2015-06-11 14:34:07 UTC
++++ fastboot/fastboot.1
+@@ -1,4 +1,4 @@
+-.TH fastboot
++.TH fastboot 1
+ .SH NAME
+ fastboot \- manipulate the non-volatile flash partitions
+ .SH SYNOPSIS
+@@ -21,9 +21,9 @@ fastboot is primarily used for installin
+ The partition should adhere to a specific layout. Fastboot was designed
+ for use with phones and tablets running the Android operating system.
+ .PP
+-To allow non-root user access to the devices, one might needed to add
+-udev rules file for the specific device and add the user to the
+-appopriate group (typically the group is named \fIplugdev\fR).
++To allow non-root user access to the devices, one might need to adjust
++permissions via \fI/etc/devd/*.conf\fR file for a particular device or
++via \fI/etc/devfs.rules\fR for a particular user or group.
+ .PP
+ If the device is not connected, certain fastboot commands display the
+ output:
+@@ -176,9 +176,9 @@ Thie variable can be used to specify the
+
+ .fi
+ .SH DIAGNOSTICS
+-Make sure that the device is connected and is visible via \fIlsusb\fR.
+-If the device is detected by `\fIlsusb\fR' and `\fIadb devices\fR' output
+-shows `\fI???????????? device\fR', then try reloading udev rules or
++Make sure that the device is connected and is visible via \fIusbconfig\fR.
++If the device is detected by `\fIusbconfig\fR' and `\fIadb devices\fR' output
++shows `\fI???????????? device\fR', then try restarting \fBdevd\fP(8) or
+ try disconnecting and connecting the cables.
+ .SH BUGS
+ The command name should have been chosen more carefully to reflect its
+@@ -190,4 +190,4 @@ was written by engineers at Google for t
+ Ramakrishnan Muthukrishnan wrote this manual page, originally for the
+ Debian Project, with a lot of suggestions from Raul Miller.
+ .SH SEE ALSO
+-\fBadb\fP(1), \fBudev\fP(7), \fBlsusb\fP(8)
++\fBadb\fP(1), \fBdevd.conf\fP(5), \fBdevfs.rules\fP(5), \fBusbconfig\fP(8)