diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2016-02-17 22:49:35 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2016-02-17 22:49:48 +0100 |
commit | 7f853d66ab0738762928e5cbeb089ca2d3499f2e (patch) | |
tree | bf6fb17f47eff2cfa6eeaebe12791db12ff2b4d4 /app-crypt/openvpn-blacklist/openvpn-blacklist-0.5.ebuild | |
parent | net-misc/openvpn: Remove old (diff) | |
download | gentoo-7f853d66ab0738762928e5cbeb089ca2d3499f2e.tar.gz gentoo-7f853d66ab0738762928e5cbeb089ca2d3499f2e.tar.bz2 gentoo-7f853d66ab0738762928e5cbeb089ca2d3499f2e.zip |
app-crypt/openvpn-blacklist: Version bump
Gentoo-Bug: 451314
Package-Manager: portage-2.2.27
Diffstat (limited to 'app-crypt/openvpn-blacklist/openvpn-blacklist-0.5.ebuild')
-rw-r--r-- | app-crypt/openvpn-blacklist/openvpn-blacklist-0.5.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/app-crypt/openvpn-blacklist/openvpn-blacklist-0.5.ebuild b/app-crypt/openvpn-blacklist/openvpn-blacklist-0.5.ebuild new file mode 100644 index 000000000000..bf23a497aef9 --- /dev/null +++ b/app-crypt/openvpn-blacklist/openvpn-blacklist-0.5.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +inherit python-single-r1 + +DESCRIPTION="Detection of weak openvpn keys produced by certain debian versions in 2006-2008" +HOMEPAGE="http://packages.debian.org/sid/openvpn-blacklist" +SRC_URI="mirror://debian/pool/main/o/${PN}/${PN}_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=${PYTHON_DEPS} +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +src_prepare() { + python_fix_shebang openvpn-vulnkey +} + +src_install() { + dobin openvpn-vulnkey + doman openvpn-vulnkey.1 + dodir /usr/share/openvpn-blacklist + insinto /usr/share/openvpn-blacklist + newins debian/blacklist.prefix blacklist.RSA-2048 + cut "${S}/blacklist.RSA-2048" -d ' ' -f 2 | cut -b13- | sort \ + >> "${D}/usr/share/openvpn-blacklist/blacklist.RSA-2048"|| die +} |