summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2008-06-19 15:26:37 +0000
committerHanno Böck <hanno@gentoo.org>2008-06-19 15:26:37 +0000
commit648757499b6747bce7c73553c97e9c2d7d492467 (patch)
tree2a99b4d05c9288a99c42124e238cd033d8661784 /app-crypt/openvpn-blacklist/openvpn-blacklist-0.3.ebuild
parentfixes bug #226563. (diff)
downloadgentoo-2-648757499b6747bce7c73553c97e9c2d7d492467.tar.gz
gentoo-2-648757499b6747bce7c73553c97e9c2d7d492467.tar.bz2
gentoo-2-648757499b6747bce7c73553c97e9c2d7d492467.zip
add openvpn-blacklist
(Portage version: 2.1.5.6)
Diffstat (limited to 'app-crypt/openvpn-blacklist/openvpn-blacklist-0.3.ebuild')
-rw-r--r--app-crypt/openvpn-blacklist/openvpn-blacklist-0.3.ebuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/app-crypt/openvpn-blacklist/openvpn-blacklist-0.3.ebuild b/app-crypt/openvpn-blacklist/openvpn-blacklist-0.3.ebuild
new file mode 100644
index 000000000000..bb90a31bff6a
--- /dev/null
+++ b/app-crypt/openvpn-blacklist/openvpn-blacklist-0.3.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2008 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.3.ebuild,v 1.1 2008/06/19 15:26:37 hanno Exp $
+
+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=""
+DEPEND="dev-lang/python"
+S="${WORKDIR}/${P}"
+
+src_compile() {
+ einfo nothing to compile
+}
+
+src_install() {
+ 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}/blacklist.RSA-2048" | cut -d ' ' -f 2 | cut -b13- | sort \
+ >> "${D}/usr/share/openvpn-blacklist/blacklist.RSA-2048"
+}