diff options
author | Richard Farina <zerochaos@gentoo.org> | 2013-06-27 04:25:39 +0000 |
---|---|---|
committer | Richard Farina <zerochaos@gentoo.org> | 2013-06-27 04:25:39 +0000 |
commit | 8fff979c5996b33c3cabd8ce260d26e021410df6 (patch) | |
tree | 3261d6e4fb7292b3e5d0c7b05a4903bcdf331c86 /net-wireless | |
parent | Revision bump: add support for user patches, add compatibility with hardened ... (diff) | |
download | historical-8fff979c5996b33c3cabd8ce260d26e021410df6.tar.gz historical-8fff979c5996b33c3cabd8ce260d26e021410df6.tar.bz2 historical-8fff979c5996b33c3cabd8ce260d26e021410df6.zip |
adding upstream udev rule
Package-Manager: portage-2.1.12.2/cvs/Linux x86_64
Manifest-Sign-Key: 0xDD11F94A
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/rtl-sdr/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/rtl-sdr/Manifest | 31 | ||||
-rw-r--r-- | net-wireless/rtl-sdr/rtl-sdr-0.5.0-r1.ebuild | 48 | ||||
-rw-r--r-- | net-wireless/rtl-sdr/rtl-sdr-9999.ebuild | 15 |
4 files changed, 78 insertions, 24 deletions
diff --git a/net-wireless/rtl-sdr/ChangeLog b/net-wireless/rtl-sdr/ChangeLog index 755c79dbd405..fd5f1e16174b 100644 --- a/net-wireless/rtl-sdr/ChangeLog +++ b/net-wireless/rtl-sdr/ChangeLog @@ -1,6 +1,12 @@ # 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.6 2013/06/05 15:38:09 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl-sdr/ChangeLog,v 1.7 2013/06/27 04:25:33 zerochaos Exp $ + +*rtl-sdr-0.5.0-r1 (27 Jun 2013) + + 27 Jun 2013; Rick Farina <zerochaos@gentoo.org> +rtl-sdr-0.5.0-r1.ebuild, + rtl-sdr-9999.ebuild: + adding upstream udev rule 05 Jun 2013; Rick Farina <zerochaos@gentoo.org> rtl-sdr-0.5.0.ebuild: fix bug #472418 caused by not correcting SRC_URI diff --git a/net-wireless/rtl-sdr/Manifest b/net-wireless/rtl-sdr/Manifest index f3e944ccff4a..87a29ba531ed 100644 --- a/net-wireless/rtl-sdr/Manifest +++ b/net-wireless/rtl-sdr/Manifest @@ -3,25 +3,26 @@ Hash: SHA512 DIST rtl-sdr-0.5.0.tar.xz 401088 SHA256 d6781fd661b9cf81d05ab0313e2718719a3d6bb1e32c3ce51287e28e967997bd SHA512 5e561002b32b60d251cd0b859f19e104ad5b249e45043c759a7a4d28ba9efbeadb3cb1be42d4e9da425bbe2c4d642f03d2c0f5e4078e62f68b88057adf6482f4 WHIRLPOOL 21f81503c54290a5afd2e9049a630dce693ff81e464623fd0a1a809596b5e1109b0630c56f19d870c42b3bf178605645f3fd0a5286dc228edbfaac8464edf81e DIST rtl-sdr-0_pre20130414.tar.xz 93400 SHA256 fb76dc42e0c98667b54f864fec60ffe14e62224e9f30a8a83978a14caaeb738e SHA512 9a1ba2119ecfbc354aa018b912df1eb349e3c372914698d8aac0a56220db3dd68f18131fa51f48aedd429099d7871a69c1b54e0f4ab1c816f3c10e83cd9d5b4d WHIRLPOOL dcc253a05528767c82273a1d39f1a65af394b4c0dd44427f1811f3d95cc983e2b0a61d98be0ffecf31eb061a6e5a7f3192eb97261d9aa384f76f190eb2b4c418 +EBUILD rtl-sdr-0.5.0-r1.ebuild 965 SHA256 b87bd659dcdcf12dd056dfc88e72099c748af3ff60c8dd3a7110dc819076da5b SHA512 439801264f8580a0b0717c40bad2aadc12a2d25ba3356c41d535962a264bffb3de1a255761148b77494278db67278583d51ba401d2731d196c2ef6504c6fe7ff WHIRLPOOL 6521f70dfe76d3c3e07946baed36465fdd509f4254550ba758f6fc77d6c2a75490c38cbe68568c3fa5565238e16e19aabbd44ee880525f81f9bc5a14183b8fa7 EBUILD rtl-sdr-0.5.0.ebuild 1147 SHA256 c2277f3b29cb11e9164f19bb6b26854a9c895910adb3310a06367f60d11f0dd2 SHA512 8b3c7989ed9cd7dbb02ee8e85eb710de31818c141a2c586a1e15dbe7398032df9b07e7761b10dbb162fa6dff18ea0efdafec7ec2214bce70e15817af5d855723 WHIRLPOOL ac5252a21e5eb33ed69e6afb26be2dd6ea39d4870a5b380dbe94ca2ef871e4f97b487ca666c354ec2815350caef658d990f3334cdf05c8e1a398aa40ab3bc135 EBUILD rtl-sdr-0_pre20130414.ebuild 1128 SHA256 cac32a5a7105195523e9f94a1816ec76d834728e0ba540f26c647dc3cc227bcd SHA512 2e3004c3c388063ea8f1be0066f758c9023f29dd75ab35feca42df73b565a211331af6987a67444cf4eba99e7f1ee494dd565f871f40fe4bf2164a0471ab50fa WHIRLPOOL 132324f8abe1c166db2f0ea5265fe607594d1065ef076bf633ed7baafd85336c381f721de1d53697321c8af28648819ef5ac2e6d89fa09cc1e53268a2e0d6288 -EBUILD rtl-sdr-9999.ebuild 1118 SHA256 d19483c93cf023f5f33805467a971d887d96344ddfd77821b2c6c19a5ef01459 SHA512 765bea3b3a795394874f622f2f026d11484581de2d9ff63f80780f58cb831ef4e6622393ea3c2ff0d2876f21f8509fd35764be2fc4d7ced45c9383c8dec3c03e WHIRLPOOL 39066ac7aac009f79ca1b5bb632da62344083d37b3b8bc3cad13c8d8e239b9085612e40622189a74c28dc672f3047c8943b1875ac674f72b0e6b4542e35cc54c -MISC ChangeLog 1166 SHA256 d970a5d5e40bb4ae5d44528d5238b3f013e97f890948d297d87ca675a379d656 SHA512 edf40012d97c8876208f9425e0e5b5937ffd8f7c61e5cc131d7ecc67648f96e6f66cf749f209597ad93bcb21710044f1cf1255561a164cc0f5689f3a70f074d4 WHIRLPOOL 8d56d9c7f420c448cd3b1a8ae2e287ef9daf9e2a986a50c139e1bdc469f23a5cabbc4597fb56df8889528057335243f089b55292b40cc0ae403ae61ceb42e2ce +EBUILD rtl-sdr-9999.ebuild 933 SHA256 87310909a917685f278c804768e81343ced0ca6595c6eae65ae18a6d68b380b8 SHA512 41412a870ccbc65bc6d50668601cbf03d6bb9c36a6a637b506856a906f671f94760e810312a05744881c575681885b03e9990b386f37a1e1a2ec00111bf5b8f6 WHIRLPOOL cfecf3b0eabd75e95f93f6fd786d26d6ab7199cd79950a0185d6b94e3f3b9aaff6e1c01d556ed3d051efbd81cc0ae4711993c8fe718733fe4f00d033615c12bf +MISC ChangeLog 1327 SHA256 237deea3c6d7b0f5800173e9b44e5db6b28f860facdbad669ce6dc0b2abeeb32 SHA512 79adb034a3a938b81e50ba925b7f45e088bd44282b455da1020bfaebcda7b21c966104c5cef576a6e4e8822f2ac116741bf055fa06b85e8abd0e396f6978ec4f WHIRLPOOL c67fec1d9a2c0a7eb18312be953c8f878f3753b130f36c26f2befb7dc7db087b9dbf3be36e4a739123a34ff1abbcf9ffb181f21788882d850014ebfea7464f8f MISC metadata.xml 160 SHA256 85c481a245f23f79fbef161bee8d9b8437f1b1e672a8fdb2dbd20f10c7c69f7b SHA512 6c07e111ed731e33aa9072a2b9297020ded8a259da43d2910a576363055c772d3f8a735e435c6f3136b7e57d489b2ca164e24b490393add3a7c5b3a11e7da507 WHIRLPOOL c3d4674d072eb96840d34218341e427cec657d31392d484fedfa61b6da802ab1e1b7ffb4d8dbc1eb75980e203ce8415609fb733789674250ae7ed91eda2b674f -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCgAGBQJRr1udAAoJEKXdFCfdEflK9g8QAKUloWS8PrSOCbZPB/XCW12D -S26bpyFFZq1aFj/3uwfpeUootsorBM2sxzDkRaRavGief2UgiplXkyICuOmObJfJ -NX3e3Wd+PIN5ysssiYZhPvE3AT5Auc1HSEZd3bCNA7QyAOoQR1NVYv1xxcShdlWw -S+Z6Fkf2T2NKoJKwMP/anaXOt0Qvo/XCzBFZeCyBQRfQXPFmqaDUKL3x1jPFh85f -AUxn9GFPNICf06Qzazt71GwpcDVwoHjX/2JMBDaiTB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649CN/qtFJEhdT0v +mRWnkAYo+xOZUQKsSmtqKEFP8qsgxxecjmykKTXM5dNtuvL7R80fq/lbxUeHoIEQ +0UcwQJGqCOFWq8ut3RLw +=GPe8 -----END PGP SIGNATURE----- diff --git a/net-wireless/rtl-sdr/rtl-sdr-0.5.0-r1.ebuild b/net-wireless/rtl-sdr/rtl-sdr-0.5.0-r1.ebuild new file mode 100644 index 000000000000..d19a712873a7 --- /dev/null +++ b/net-wireless/rtl-sdr/rtl-sdr-0.5.0-r1.ebuild @@ -0,0 +1,48 @@ +# 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-r1.ebuild,v 1.1 2013/06/27 04:25:33 zerochaos Exp $ + +EAPI=5 + +inherit autotools udev + +DESCRIPTION="turns your Realtek RTL2832 based DVB dongle into a SDR receiver" +HOMEPAGE="http://sdr.osmocom.org/trac/wiki/rtl-sdr" + +if [[ ${PV} == 9999* ]]; then + inherit git-2 + SRC_URI="" + EGIT_REPO_URI="git://git.osmocom.org/${PN}.git" + KEYWORDS="" +else + SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +RDEPEND="virtual/libusb:1" +DEPEND="${RDEPEND}" + +DOCS=( ${PN}.rules ) + +src_unpack() { + if [[ ${PV} == 9999* ]]; then + git-2_src_unpack + else + default + mv ${PN} ${P} || die + fi +} + +src_prepare() { + eautoreconf +} + +src_install() { + udev_dorules rtl-sdr.rules + default + rm "${ED}"/usr/share/doc/${PF}/rtl-sdr.rules +} diff --git a/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild b/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild index 564a33b6c1dc..db1ec5b5da33 100644 --- a/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild +++ b/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild @@ -1,9 +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.4 2013/06/05 02:30:45 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild,v 1.5 2013/06/27 04:25:33 zerochaos Exp $ EAPI=5 -inherit autotools + +inherit autotools udev DESCRIPTION="turns your Realtek RTL2832 based DVB dongle into a SDR receiver" HOMEPAGE="http://sdr.osmocom.org/trac/wiki/rtl-sdr" @@ -40,10 +41,8 @@ src_prepare() { eautoreconf } -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/" - fi +src_install() { + udev_dorules rtl-sdr.rules + default + rm "${ED}"/usr/share/doc/${PF}/rtl-sdr.rules } |