mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-29 02:01:46 +02:00
bumped haraldscan and removed its wrapper script
This commit is contained in:
parent
737b571117
commit
947e90f86d
4 changed files with 30 additions and 15 deletions
|
|
@ -1,3 +1,3 @@
|
|||
AUX haraldscan 70 RMD160 f629b2ee78948a334e481c784fce358370c43b5b SHA1 ae0165292fc6f1a546f833ea540268f88a737c0f SHA256 a2dd9f82edfc348afa9977266efc9ff9468976708645b8b3dd663afc95baa6d2
|
||||
DIST haraldscan-src-0.401.tar.gz 23950 RMD160 84ee1b55dac6c185d470a10ec04d8db2ab3186e6 SHA1 3347af45d77c393e57f2d2cb1299836f29b265bb SHA256 339dde2f9af4e33bd285ca05bffe95f97e3935c6d8e989ada01fcdea73f95a11
|
||||
EBUILD haraldscan-0.401.ebuild 723 RMD160 61a7736c7b6d9b9b08c1f5d7f9d45c3dba21f103 SHA1 dac7275cc20ce8c250024cbcd41b9ee2cd9f58c1 SHA256 cc4e3a4f8d6929c38a132e05940cead1b365f4acc4bc23a52738d14af1c142a0
|
||||
AUX haraldscan-maclist-path.patch 334 RMD160 3f68a5bebc5de6b40ffbd1d12329fa6542431177 SHA1 46e36a23604274ba708df635767e49d337a3402e SHA256 70b53227f075425fec36314095d21962e3dd0e01cfb3525e3d093fa6c04547cd
|
||||
DIST haraldscan-src-0.41.tar.gz 44183 RMD160 0fabd3e53ba946bd2396a6345d0a61ae6807cdd5 SHA1 7848d7fc0da6280bf3ec140e10b9e40fac63296d SHA256 86e4620d92725b480cd956f91746457484c746062ffc22ea57e5cc58fd10b53e
|
||||
EBUILD haraldscan-0.41.ebuild 850 RMD160 a49a9215b9ed379e09bd450a7fb019f17e989cdd SHA1 5526096758a1d170ddb4c9012512c0016ae3d6e2 SHA256 48c4d85102fc54cc511806ba3daea9dfa04feab6cd0812668205dab1351ebe4d
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/sh
|
||||
cd /usr/share/haraldscan
|
||||
python haraldscan.py $@
|
||||
cd $OLDPWD
|
||||
11
net-wireless/haraldscan/files/haraldscan-maclist-path.patch
Normal file
11
net-wireless/haraldscan/files/haraldscan-maclist-path.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- a/haraldmodules/haraldupdate.py 2010-01-15 15:01:44.939988340 +0100
|
||||
+++ b/haraldmodules/haraldupdate.py 2010-01-15 15:01:58.978014426 +0100
|
||||
@@ -35,7 +35,7 @@
|
||||
llines = 0
|
||||
|
||||
|
||||
- flocal = open('MACLIST', 'rb')
|
||||
+ flocal = open('/usr/share/haraldscan/MACLIST', 'rb')
|
||||
|
||||
for line in flocal:
|
||||
llines+=1
|
||||
|
|
@ -2,7 +2,9 @@
|
|||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit python
|
||||
EAPI="2"
|
||||
|
||||
inherit python eutils
|
||||
|
||||
DESCRIPTION="A Bluetooth discovery scanner"
|
||||
HOMEPAGE="http://code.google.com/p/haraldscan/"
|
||||
|
|
@ -18,20 +20,26 @@ RDEPEND="dev-python/pybluez"
|
|||
|
||||
S="${WORKDIR}"/${PN}-src-${PV}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/haraldscan-maclist-path.patch
|
||||
}
|
||||
src_install() {
|
||||
insinto /usr/share/haraldscan/
|
||||
doins *.py MACLIST
|
||||
dodoc README
|
||||
dobin "${FILESDIR}"/$PN
|
||||
python_version
|
||||
insinto /usr/lib/python${PYVER}/haraldmodules
|
||||
doins haraldmodules/*.py
|
||||
dobin haraldscan.py
|
||||
insinto /usr/share/haraldscan
|
||||
doins MACLIST
|
||||
dodoc doc/README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize /usr/share/haraldscan/
|
||||
python_mod_optimize
|
||||
einfo "Updating MAC database..."
|
||||
haraldscan -u
|
||||
haraldscan.py -u
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/share/haraldscan/
|
||||
python_mod_cleanup
|
||||
}
|
||||
|
||||
Loading…
Reference in a new issue