diff options
author | Hanno Böck <hanno@gentoo.org> | 2008-06-19 15:26:37 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2008-06-19 15:26:37 +0000 |
commit | 648757499b6747bce7c73553c97e9c2d7d492467 (patch) | |
tree | 2a99b4d05c9288a99c42124e238cd033d8661784 /app-crypt | |
parent | fixes bug #226563. (diff) | |
download | gentoo-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')
-rw-r--r-- | app-crypt/openvpn-blacklist/ChangeLog | 10 | ||||
-rw-r--r-- | app-crypt/openvpn-blacklist/Manifest | 4 | ||||
-rw-r--r-- | app-crypt/openvpn-blacklist/metadata.xml | 6 | ||||
-rw-r--r-- | app-crypt/openvpn-blacklist/openvpn-blacklist-0.3.ebuild | 26 |
4 files changed, 46 insertions, 0 deletions
diff --git a/app-crypt/openvpn-blacklist/ChangeLog b/app-crypt/openvpn-blacklist/ChangeLog new file mode 100644 index 000000000000..9993812be69b --- /dev/null +++ b/app-crypt/openvpn-blacklist/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-crypt/openvpn-blacklist +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/openvpn-blacklist/ChangeLog,v 1.1 2008/06/19 15:26:37 hanno Exp $ + +*openvpn-blacklist-0.3 (19 Jun 2008) + + 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/Manifest b/app-crypt/openvpn-blacklist/Manifest new file mode 100644 index 000000000000..049eddf0c0f9 --- /dev/null +++ b/app-crypt/openvpn-blacklist/Manifest @@ -0,0 +1,4 @@ +DIST openvpn-blacklist_0.3.tar.gz 1807855 RMD160 ecdb8425558460137a1a998231a2f93de068d343 SHA1 9f834c75df3310b85839de27e4ea749ff8185307 SHA256 c87ba48715873f5029e98b38ad0263c240fb91f9b4a2217db3e65fb8ecfe0b44 +EBUILD openvpn-blacklist-0.3.ebuild 981 RMD160 58de46e9743c42b1b5460e243c1382d616298a11 SHA1 5c9bc9b956ac1823f299f8005e8da2f79f7a6b9b SHA256 2d41816d35afaabde78c54e000087a5a2bdacb9fed72b29e7f05c2ef87d45d3b +MISC ChangeLog 350 RMD160 f2542932aff1f710010b0cd6b3f6c0318a43d67f SHA1 f1889c77c0528b59320ec22e7c4d971dfec59827 SHA256 b02233fc751e7795f7fb03068525fd1aa840718c11c1b770b4b6fc69cd98b669 +MISC metadata.xml 217 RMD160 3b01d5dab901ee93217f72b711954d3cccbb1717 SHA1 e304788b60dd2cf214d360a21d267e8635474d98 SHA256 2f5dfc1eb79d2d9ee02663da6e1449f499c3a37b7f4cc2391e18d7789a314669 diff --git a/app-crypt/openvpn-blacklist/metadata.xml b/app-crypt/openvpn-blacklist/metadata.xml new file mode 100644 index 000000000000..efa54454de71 --- /dev/null +++ b/app-crypt/openvpn-blacklist/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer><email>hanno@gentoo.org</email></maintainer> +</pkgmetadata> 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" +} |