summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2016-02-17 22:49:35 +0100
committerManuel Rüger <mrueg@gentoo.org>2016-02-17 22:49:48 +0100
commit7f853d66ab0738762928e5cbeb089ca2d3499f2e (patch)
treebf6fb17f47eff2cfa6eeaebe12791db12ff2b4d4 /app-crypt/openvpn-blacklist
parentnet-misc/openvpn: Remove old (diff)
downloadgentoo-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')
-rw-r--r--app-crypt/openvpn-blacklist/Manifest1
-rw-r--r--app-crypt/openvpn-blacklist/openvpn-blacklist-0.5.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/app-crypt/openvpn-blacklist/Manifest b/app-crypt/openvpn-blacklist/Manifest
index 8f42e2e0a1f0..cd14bb5b4e81 100644
--- a/app-crypt/openvpn-blacklist/Manifest
+++ b/app-crypt/openvpn-blacklist/Manifest
@@ -1 +1,2 @@
DIST openvpn-blacklist_0.4.tar.gz 1808103 SHA256 01d0cddab3db957661dc8019c1b672068699f1f7cf8633748b6222601ecb0108 SHA512 3301f7425520eb086306acb30bd718465208b5aa5606e879b65f936161d1955b93254d9c1dd6f5d66ec6480850652afadabb05db2a0df9fd5acb73a5ed5c19e3 WHIRLPOOL 7eba98ff8e1281e5008f01a360aa37aba87a494d187ef1a83599aa57d16cb2980e021af4ee25abc92c83eee1a8c287b4567f671a4bca0753ef1ea68120aa2600
+DIST openvpn-blacklist_0.5.tar.gz 1828347 SHA256 7c26fcffa21f251bf6193324ba9f4faff8d08d4bb999c5415947237ed77ba4d4 SHA512 589216cb2f10b6ea0cf2179f8b47ce2d2ed03916ad5d8a62e22dce71f432101a735d16093855ff43a1d6618fe94e75b9127bbd63408556197e91de6735e713aa WHIRLPOOL 8ade318c144ced52a4635dfcee02d1e583479677d50ec5a2782bd576fc5e7119f4e5f1dd840abc65e1d8fc8f9481cb6cb024bf5f155b0e32a94dad11c324ba52
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
+}