* [gentoo-commits] gentoo-x86 commit in net-wireless/rtl-sdr: rtl-sdr-0.5.0.ebuild rtl-sdr-9999.ebuild ChangeLog rtl-sdr-0.5.0-r1.ebuild rtl-sdr-0_pre20130414.ebuild
@ 2013-06-28 22:13 Richard Farina (zerochaos)
0 siblings, 0 replies; only message in thread
From: Richard Farina (zerochaos) @ 2013-06-28 22:13 UTC (permalink / raw
To: gentoo-commits
zerochaos 13/06/28 22:13:36
Modified: rtl-sdr-0.5.0.ebuild rtl-sdr-9999.ebuild ChangeLog
Removed: rtl-sdr-0.5.0-r1.ebuild
rtl-sdr-0_pre20130414.ebuild
Log:
remove old ebuild, remove udev rule in favor of improved elog messages
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
Revision Changes Path
1.3 net-wireless/rtl-sdr/rtl-sdr-0.5.0.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/rtl-sdr/rtl-sdr-0.5.0.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/rtl-sdr/rtl-sdr-0.5.0.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/rtl-sdr/rtl-sdr-0.5.0.ebuild?r1=1.2&r2=1.3
Index: rtl-sdr-0.5.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-wireless/rtl-sdr/rtl-sdr-0.5.0.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- rtl-sdr-0.5.0.ebuild 5 Jun 2013 15:38:09 -0000 1.2
+++ rtl-sdr-0.5.0.ebuild 28 Jun 2013 22:13:36 -0000 1.3
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl-sdr/rtl-sdr-0.5.0.ebuild,v 1.2 2013/06/05 15:38:09 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl-sdr/rtl-sdr-0.5.0.ebuild,v 1.3 2013/06/28 22:13:36 zerochaos Exp $
EAPI=5
inherit autotools
@@ -43,7 +43,9 @@
pkg_postinst() {
local rulesfiles=( "${EPREFIX}"/etc/udev/rules.d/*${PN}.rules )
if [[ ! -f ${rulesfiles} ]]; then
- elog "In order to allow users outside the usb group to capture samples, install"
- elog "${PN}.rules from the documentation directory to ${EPREFIX}/etc/udev/rules.d/"
+ elog "By default, only users in the usb group can capture."
+ elog "Just run 'gpasswd -a <USER> usb', then have <USER> re-login."
+ elog "Or the device can be WORLD readable and writable by installing ${PN}.rules"
+ elog "from the documentation directory to ${EPREFIX}/etc/udev/rules.d/"
fi
}
1.6 net-wireless/rtl-sdr/rtl-sdr-9999.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild?r1=1.5&r2=1.6
Index: rtl-sdr-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- rtl-sdr-9999.ebuild 27 Jun 2013 04:25:33 -0000 1.5
+++ rtl-sdr-9999.ebuild 28 Jun 2013 22:13:36 -0000 1.6
@@ -1,10 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild,v 1.5 2013/06/27 04:25:33 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild,v 1.6 2013/06/28 22:13:36 zerochaos Exp $
EAPI=5
-inherit autotools udev
+inherit autotools
DESCRIPTION="turns your Realtek RTL2832 based DVB dongle into a SDR receiver"
HOMEPAGE="http://sdr.osmocom.org/trac/wiki/rtl-sdr"
@@ -41,8 +41,12 @@
eautoreconf
}
-src_install() {
- udev_dorules rtl-sdr.rules
- default
- rm "${ED}"/usr/share/doc/${PF}/rtl-sdr.rules
+pkg_postinst() {
+ local rulesfiles=( "${EPREFIX}"/etc/udev/rules.d/*${PN}.rules )
+ if [[ ! -f ${rulesfiles} ]]; then
+ elog "By default, only users in the usb group can capture."
+ elog "Just run 'gpasswd -a <USER> usb', then have <USER> re-login."
+ elog "Or the device can be WORLD readable and writable by installing ${PN}.rules"
+ elog "from the documentation directory to ${EPREFIX}/etc/udev/rules.d/"
+ fi
}
1.8 net-wireless/rtl-sdr/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/rtl-sdr/ChangeLog?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/rtl-sdr/ChangeLog?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/rtl-sdr/ChangeLog?r1=1.7&r2=1.8
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-wireless/rtl-sdr/ChangeLog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ChangeLog 27 Jun 2013 04:25:33 -0000 1.7
+++ ChangeLog 28 Jun 2013 22:13:36 -0000 1.8
@@ -1,6 +1,10 @@
# ChangeLog for net-wireless/rtl-sdr
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl-sdr/ChangeLog,v 1.7 2013/06/27 04:25:33 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl-sdr/ChangeLog,v 1.8 2013/06/28 22:13:36 zerochaos Exp $
+
+ 28 Jun 2013; Rick Farina <zerochaos@gentoo.org> -rtl-sdr-0.5.0-r1.ebuild,
+ -rtl-sdr-0_pre20130414.ebuild, rtl-sdr-0.5.0.ebuild, rtl-sdr-9999.ebuild:
+ remove old ebuild, remove udev rule in favor of improved elog messages
*rtl-sdr-0.5.0-r1 (27 Jun 2013)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-06-28 22:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-28 22:13 [gentoo-commits] gentoo-x86 commit in net-wireless/rtl-sdr: rtl-sdr-0.5.0.ebuild rtl-sdr-9999.ebuild ChangeLog rtl-sdr-0.5.0-r1.ebuild rtl-sdr-0_pre20130414.ebuild Richard Farina (zerochaos)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox