polenum: less shameful fix

This commit is contained in:
Zero_Chaos 2014-02-11 02:56:25 +00:00
parent 2a9b610d23
commit 95f4aab678
2 changed files with 5 additions and 9 deletions

View file

@ -1,2 +1,2 @@
DIST polenum-0.2.tar.bz2 6071 SHA256 4362c6471f192f841f1a6349d522ddcadc51ee845e7dc7fc4655323aa90468eb SHA512 0df0c6ab73f1a53ce03cba9d1442c4741156951244712eec9d0e5781ebab2e0fd8872815011857173bc17f34a3d1f0386d886ca93c649011280ebd26f37fc52d WHIRLPOOL 5cd091285595555b8b07e39a9699db4eb360207d3dc4ec5ca8849063b5cfd8e09ae8268a6264c904b26c18f219063581df6e989b383368ef1cbb5424f9aace39
EBUILD polenum-0.2-r1.ebuild 677 SHA256 10b6c6f9c88bbd7e1f2dffd0811a6ba7c94bbf48a6a2f03a90fa90f5a4d1bee8 SHA512 ee8573724b076c0da53768dd8954baf7594f6002dcbfe928c895e907ee078d8bfc88616565f7b64a9562748032ced7fe6ea94c66305d76a29074650ee31e3da4 WHIRLPOOL 947814f86abd24a3748d58de337e20c65aff13d75c33f306c699d10c1df2f379bd02f15572350ce4000d2bddcb08688bd4314691e39c12a892afb8beeccaf462
EBUILD polenum-0.2-r2.ebuild 608 SHA256 e18ecc3985a6301f6a37b3dc28c1c75c21866a27f5ddaa693f771e1715a5d248 SHA512 e7b43b82aa75925a1e6067e71c3339d1874cceac15bad229b3e61d8c6ff8e3b42da0977a47187bb484fb96c4cd78105b8e28f778bd55280bf3c1cf2afcc2ec74 WHIRLPOOL 6e21fed911a785ec5cf3e83db486e2c87c34d5a2a2e6baad275e960cc7b2182d382288d2d708bfc4b67192aba6fba6ac165460297399e1e884e1631ea8f706bf

View file

@ -4,8 +4,8 @@
EAPI=5
PYTHON_DEPEND="2"
inherit python
PYTHON_COMPAT="python2_7"
inherit python-single-r1
DESCRIPTION="a python script for extracting the password policy information from a Windows/Samba machine."
HOMEPAGE="http://labs.portcullis.co.uk/application/polenum/"
@ -20,11 +20,7 @@ DEPEND=""
RDEPEND="dev-lang/python
dev-python/impacket"
src_prepare() {
python_convert_shebangs -q -r 2 "${S}"
}
src_install() {
dobin polenum.py || die "install failed"
dosym /usr/bin/polenum.py /usr/bin/polenum
newbin ${PN}.py ${PN}
python_fix_shebang "${ED}"usr/bin
}