forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-crypt/openvpn-blacklist: Version bump
Gentoo-Bug: 451314 Package-Manager: portage-2.2.27
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |