diff -ur openvpn-blacklist.orig//openvpn-blacklist-0.3.ebuild openvpn-blacklist/openvpn-blacklist-0.3.ebuild --- openvpn-blacklist.orig//openvpn-blacklist-0.3.ebuild 2011-11-12 04:33:33.246809789 +0800 +++ openvpn-blacklist/openvpn-blacklist-0.3.ebuild 2011-11-12 04:35:59.670809555 +0800 @@ -2,6 +2,12 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-crypt/openvpn-blacklist/openvpn-blacklist-0.3.ebuild,v 1.1 2008/06/19 15:26:37 hanno Exp $ +EAPI="3" + +PYTHON_DEPEND="2" + +inherit python + DESCRIPTION="Detection of weak openvpn keys produced by certain debian versions between 2006 and 2008" HOMEPAGE="http://packages.debian.org/sid/openvpn-blacklist" SRC_URI="mirror://debian/pool/main/o/${PN}/${PN}_${PV}.tar.gz" @@ -16,11 +22,12 @@ dobin openvpn-vulnkey || die "dobin failed" doman openvpn-vulnkey.1 || die "doman failed" dodir /usr/share/openvpn-blacklist/ - cat "${S}/debian/blacklist.prefix" > "${D}/usr/share/openssl-blacklist/blacklist.RSA-2048" + cat "${S}/debian/blacklist.prefix" > "${ED}/usr/share/openssl-blacklist/blacklist.RSA-2048" cat "${S}/blacklist.RSA-2048" | cut -d ' ' -f 2 | cut -b13- | sort \ - >> "${D}/usr/share/openvpn-blacklist/blacklist.RSA-2048" + >> "${ED}/usr/share/openvpn-blacklist/blacklist.RSA-2048" + python_convert_shebangs -r 2 "${ED}" } diff -ur openvpn-blacklist.orig//openvpn-blacklist-0.4.ebuild openvpn-blacklist/openvpn-blacklist-0.4.ebuild --- openvpn-blacklist.orig//openvpn-blacklist-0.4.ebuild 2009-06-28 19:04:10.000000000 +0800 +++ openvpn-blacklist/openvpn-blacklist-0.4.ebuild 2011-11-12 04:43:30.126809446 +0800 @@ -2,6 +2,12 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-crypt/openvpn-blacklist/openvpn-blacklist-0.4.ebuild,v 1.1 2009/06/28 11:04:10 hanno Exp $ +EAPI="3" + +PYTHON_DEPEND="2" + +inherit python + DESCRIPTION="Detection of weak openvpn keys produced by certain debian versions between 2006 and 2008" HOMEPAGE="http://packages.debian.org/sid/openvpn-blacklist" SRC_URI="mirror://debian/pool/main/o/${PN}/${PN}_${PV}.tar.gz" @@ -20,7 +30,8 @@ dobin openvpn-vulnkey || die "dobin failed" doman openvpn-vulnkey.1 || die "doman failed" dodir /usr/share/openvpn-blacklist/ - cat "${S}/debian/blacklist.prefix" > "${D}/usr/share/openssl-blacklist/blacklist.RSA-2048" + cat "${S}/debian/blacklist.prefix" > "${ED}/usr/share/openssl-blacklist/blacklist.RSA-2048" cat "${S}/blacklist.RSA-2048" | cut -d ' ' -f 2 | cut -b13- | sort \ - >> "${D}/usr/share/openvpn-blacklist/blacklist.RSA-2048" + >> "${ED}/usr/share/openvpn-blacklist/blacklist.RSA-2048" + python_convert_shebangs -r 2 "${ED}" }