diff options
author | Michał Górny <mgorny@gentoo.org> | 2014-12-26 22:13:31 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2014-12-26 22:13:31 +0000 |
commit | 864e62ca5aa4736f7097fdeea45f5b2af7aa7d28 (patch) | |
tree | 32810e09cedc28683ef5c4908b3720f558ddb49b /app-crypt | |
parent | Add := to dev-python/sip dependency wrt bug 462712. Drop obsolete python2_6 t... (diff) | |
download | gentoo-2-864e62ca5aa4736f7097fdeea45f5b2af7aa7d28.tar.gz gentoo-2-864e62ca5aa4736f7097fdeea45f5b2af7aa7d28.tar.bz2 gentoo-2-864e62ca5aa4736f7097fdeea45f5b2af7aa7d28.zip |
Convert to python-single-r1.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/openvpn-blacklist/ChangeLog | 11 | ||||
-rw-r--r-- | app-crypt/openvpn-blacklist/openvpn-blacklist-0.4-r1.ebuild | 33 |
2 files changed, 41 insertions, 3 deletions
diff --git a/app-crypt/openvpn-blacklist/ChangeLog b/app-crypt/openvpn-blacklist/ChangeLog index de49846d9ab0..798d79459843 100644 --- a/app-crypt/openvpn-blacklist/ChangeLog +++ b/app-crypt/openvpn-blacklist/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-crypt/openvpn-blacklist -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/openvpn-blacklist/ChangeLog,v 1.2 2009/06/28 11:04:10 hanno Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/openvpn-blacklist/ChangeLog,v 1.3 2014/12/26 22:13:31 mgorny Exp $ + +*openvpn-blacklist-0.4-r1 (26 Dec 2014) + + 26 Dec 2014; Michał Górny <mgorny@gentoo.org> + +openvpn-blacklist-0.4-r1.ebuild: + Convert to python-single-r1. *openvpn-blacklist-0.4 (28 Jun 2009) @@ -12,4 +18,3 @@ 19 Jun 2008; Hanno Boeck <hanno@gentoo.org> +openvpn-blacklist-0.3.ebuild: Initial commit of openvpn-blacklist, checks for weak vpn keys generated by vulnerable Debian openssl. - diff --git a/app-crypt/openvpn-blacklist/openvpn-blacklist-0.4-r1.ebuild b/app-crypt/openvpn-blacklist/openvpn-blacklist-0.4-r1.ebuild new file mode 100644 index 000000000000..4b6de9a35b17 --- /dev/null +++ b/app-crypt/openvpn-blacklist/openvpn-blacklist-0.4-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/openvpn-blacklist/openvpn-blacklist-0.4-r1.ebuild,v 1.1 2014/12/26 22:13:31 mgorny Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +inherit python-single-r1 + +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" + +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 + cat "${S}/debian/blacklist.prefix" > "${D}/usr/share/openssl-blacklist/blacklist.RSA-2048" + cut "${S}/blacklist.RSA-2048" -d ' ' -f 2 | cut -b13- | sort \ + >> "${D}/usr/share/openvpn-blacklist/blacklist.RSA-2048" +} |