privacyidea: update pi to 3.2.2

This commit is contained in:
Jörg Deckert 2020-02-11 14:21:39 +01:00
parent aa13206279
commit 58f50fa9ab
2 changed files with 117 additions and 0 deletions

View File

@ -3,14 +3,17 @@ DIST privacyidea-2.19.tar.gz 6252833 BLAKE2B 9b300ea8ff278fb8e7b5b4de048212c56f7
DIST privacyidea-2.23.2.tar.gz 6658967 BLAKE2B c348afd01cacbeb15494d51675a20bbc5fa14f1d8764cf32264290903d1f5e3e31e5c5ae5b3a3b063262536215d766198004f9317849aaf2d1b9123c17b28d22 SHA512 3dada5a1c8668d7ecba4f320e02386fffafaab8a6df8e38bc0410f5a264ab02d00f85d7ccb6800ad7113538f42e99393eb4a6415cd7512c33874ef46317656c9 DIST privacyidea-2.23.2.tar.gz 6658967 BLAKE2B c348afd01cacbeb15494d51675a20bbc5fa14f1d8764cf32264290903d1f5e3e31e5c5ae5b3a3b063262536215d766198004f9317849aaf2d1b9123c17b28d22 SHA512 3dada5a1c8668d7ecba4f320e02386fffafaab8a6df8e38bc0410f5a264ab02d00f85d7ccb6800ad7113538f42e99393eb4a6415cd7512c33874ef46317656c9
DIST privacyidea-2.23.5.tar.gz 6670821 BLAKE2B 519930a8a19499513debaaf771a3affcc81e3d2871cc918151e6798bdda03a15561cb1224dbed7ef7e7f64d6115202b248ec26acd5feaffe7d43e712a975979a SHA512 061b981c4fa14d984b57bfd6dfe60129035581850c82cd34098f87252a7632b9c1e6ef3b2530ab619904ced46284d053a44b10366c04860612fc9726edcbcb9e DIST privacyidea-2.23.5.tar.gz 6670821 BLAKE2B 519930a8a19499513debaaf771a3affcc81e3d2871cc918151e6798bdda03a15561cb1224dbed7ef7e7f64d6115202b248ec26acd5feaffe7d43e712a975979a SHA512 061b981c4fa14d984b57bfd6dfe60129035581850c82cd34098f87252a7632b9c1e6ef3b2530ab619904ced46284d053a44b10366c04860612fc9726edcbcb9e
DIST privacyidea-3.0.2.tar.gz 6724488 BLAKE2B ae253379bb0c28e0e452f417a955b90d57e75285a1f99bbf90ae24cb32ea1b5b07a7ac4bd06c03569a04f08f001614b171221b4b596fbb528b05ac1b7022e7b7 SHA512 5d77db44f2dffcbabadb690bbb4809cfe47a48e64368a9eead38dfc50a10851665ae8461c5dc69c3b753e4cecfbda8c765f911bf9c3fa0d602682893be44bbc8 DIST privacyidea-3.0.2.tar.gz 6724488 BLAKE2B ae253379bb0c28e0e452f417a955b90d57e75285a1f99bbf90ae24cb32ea1b5b07a7ac4bd06c03569a04f08f001614b171221b4b596fbb528b05ac1b7022e7b7 SHA512 5d77db44f2dffcbabadb690bbb4809cfe47a48e64368a9eead38dfc50a10851665ae8461c5dc69c3b753e4cecfbda8c765f911bf9c3fa0d602682893be44bbc8
DIST privacyidea-3.2.2.tar.gz 6784639 BLAKE2B 23030f250c46be8ab704a367caa5eb96ea332ba015eaec0cc3daadb6e8fa9daaa713d6878cf7b299baf7c10031b985d95e20b8b174cad4bdbdfff4046bf1104f SHA512 eab03bf1a9e8326b77a90b1e0fcc7339a2e5e20b2d8bbf367395728e1b21455bcdc44a188e10d7927baf6f42e4078f2456feb9ef5634002639daaa0a31ebf57e
DIST privacyidea-FreeRADIUS-2.17.zip 14861 BLAKE2B 088b4a5402d606218e65774e725229a4dc23598d7016eae4a9e568eb6248414b6a1ed67597b7d1fef131e00b347f885c75e3bb90fff7ea268f36b0687de91b07 SHA512 cee04c6aa14e191f9c3672842c7d4950786f55f77b594edde44596c7bb7d124da4e8c7aefe7f15fd6d9a2663fd370d73b3a39bfb2cc0641a27a54c5694256f4b DIST privacyidea-FreeRADIUS-2.17.zip 14861 BLAKE2B 088b4a5402d606218e65774e725229a4dc23598d7016eae4a9e568eb6248414b6a1ed67597b7d1fef131e00b347f885c75e3bb90fff7ea268f36b0687de91b07 SHA512 cee04c6aa14e191f9c3672842c7d4950786f55f77b594edde44596c7bb7d124da4e8c7aefe7f15fd6d9a2663fd370d73b3a39bfb2cc0641a27a54c5694256f4b
DIST privacyidea-FreeRADIUS-2.19.tar.gz 12367 BLAKE2B 2edfd843516b97bab42c7a5383489645ddd7da7bb439d909a16eacb3d57a87ea790a12a78316ede7d9ee856ac7cd6b84cdd1af521060bd97c6457be88eadce79 SHA512 234b01f58842db34bc04923c7cf5317e19e0b2feb013e3c3af5a75c1244f2f9aea2f2c7956501956379077a83f60f95d257b5f6e53e6d13b76f40beac6276f72 DIST privacyidea-FreeRADIUS-2.19.tar.gz 12367 BLAKE2B 2edfd843516b97bab42c7a5383489645ddd7da7bb439d909a16eacb3d57a87ea790a12a78316ede7d9ee856ac7cd6b84cdd1af521060bd97c6457be88eadce79 SHA512 234b01f58842db34bc04923c7cf5317e19e0b2feb013e3c3af5a75c1244f2f9aea2f2c7956501956379077a83f60f95d257b5f6e53e6d13b76f40beac6276f72
DIST privacyidea-FreeRADIUS-2.23.2.tar.gz 13317 BLAKE2B f7201dbdaa0219317ee7ec141218f1fd1b252fdc8106d91ff9432f894d2044cfffa916fac675eddadce72d35680e652eafed1b1884e22993ca6f6e13e9f8da5f SHA512 06ece6ca69dabf69e0969825fdf78293023aa9b07e2ba4e79d7c3d559a23a93c1bd6284f6afc9e65faddadeb3f0ad68d8d0182712adbce62ff36c1ee40a54aef DIST privacyidea-FreeRADIUS-2.23.2.tar.gz 13317 BLAKE2B f7201dbdaa0219317ee7ec141218f1fd1b252fdc8106d91ff9432f894d2044cfffa916fac675eddadce72d35680e652eafed1b1884e22993ca6f6e13e9f8da5f SHA512 06ece6ca69dabf69e0969825fdf78293023aa9b07e2ba4e79d7c3d559a23a93c1bd6284f6afc9e65faddadeb3f0ad68d8d0182712adbce62ff36c1ee40a54aef
DIST privacyidea-FreeRADIUS-2.23.5.tar.gz 13317 BLAKE2B f7201dbdaa0219317ee7ec141218f1fd1b252fdc8106d91ff9432f894d2044cfffa916fac675eddadce72d35680e652eafed1b1884e22993ca6f6e13e9f8da5f SHA512 06ece6ca69dabf69e0969825fdf78293023aa9b07e2ba4e79d7c3d559a23a93c1bd6284f6afc9e65faddadeb3f0ad68d8d0182712adbce62ff36c1ee40a54aef DIST privacyidea-FreeRADIUS-2.23.5.tar.gz 13317 BLAKE2B f7201dbdaa0219317ee7ec141218f1fd1b252fdc8106d91ff9432f894d2044cfffa916fac675eddadce72d35680e652eafed1b1884e22993ca6f6e13e9f8da5f SHA512 06ece6ca69dabf69e0969825fdf78293023aa9b07e2ba4e79d7c3d559a23a93c1bd6284f6afc9e65faddadeb3f0ad68d8d0182712adbce62ff36c1ee40a54aef
DIST privacyidea-FreeRADIUS-3.1.tar.gz 13951 BLAKE2B 89452c033e33cf4c2d372d373091303d4df6e82b0eb87f71a5072ffe38c5c833dfbaa55a7dbe84a796644ea843ab06f7a65f2fa1c94c0569852d2fb9ca0d8227 SHA512 6bbb4cbc026023fbbd3b0ddf0798a83998dcd3c317b9e6889fc57a942fc85f4875113ce36aa559983a340441f0e91e2d40fa97c87087f5ecf253b631f0737514 DIST privacyidea-FreeRADIUS-3.1.tar.gz 13951 BLAKE2B 89452c033e33cf4c2d372d373091303d4df6e82b0eb87f71a5072ffe38c5c833dfbaa55a7dbe84a796644ea843ab06f7a65f2fa1c94c0569852d2fb9ca0d8227 SHA512 6bbb4cbc026023fbbd3b0ddf0798a83998dcd3c317b9e6889fc57a942fc85f4875113ce36aa559983a340441f0e91e2d40fa97c87087f5ecf253b631f0737514
DIST privacyidea-FreeRADIUS-3.2.tar.gz 14519 BLAKE2B 6388b239aaed3299a5caa829963922c509e0b3a8555ae947df1f90db0f6df8c2b5fbf9d85c6e9c4c04cd916b126cdb79974c1c1e3e7033475976b807f8693268 SHA512 ebebc5d4c98f835f0ad08cec8a74b1b311dcbbc65ef2480af38caad99f15a5a40652a3cde60cb4d299d6b43fcaaf9e207642d181ab8c2edbd56961d097942a7c
EBUILD privacyidea-2.17.ebuild 2865 BLAKE2B 8dd7859fc8e339e7df065e06b1af804eac6d63a18677c76285850cdb60ea1d7d62ad3b1a011b14430706938d4675ba5d98ffa58f3d43ea973289ee4db2349c73 SHA512 b363f96ed46cc0c9af7445fad201e9834b61930431dd2fb53d25e6a69daffaa3858b25f7c87ddab43dd000dbf15bb13e8de6f7ee2f2190efeb609f8b96a3a362 EBUILD privacyidea-2.17.ebuild 2865 BLAKE2B 8dd7859fc8e339e7df065e06b1af804eac6d63a18677c76285850cdb60ea1d7d62ad3b1a011b14430706938d4675ba5d98ffa58f3d43ea973289ee4db2349c73 SHA512 b363f96ed46cc0c9af7445fad201e9834b61930431dd2fb53d25e6a69daffaa3858b25f7c87ddab43dd000dbf15bb13e8de6f7ee2f2190efeb609f8b96a3a362
EBUILD privacyidea-2.19.ebuild 3010 BLAKE2B 8248028c762b0cec3053149091a450b309e1e73f81a8e1328d1334626ef95e3ddb637e91bbf6da9a9a44a26213c5457e91260e7a9d54431099f764110d56233e SHA512 27b6293dcd4edc4686f2c900c35355b46e4aed7cff2c710125a59b1df8ac6756d0480e2d10af771994f0ba9b85011476e0eccc395e80a430e186fafebc76b25a EBUILD privacyidea-2.19.ebuild 3010 BLAKE2B 8248028c762b0cec3053149091a450b309e1e73f81a8e1328d1334626ef95e3ddb637e91bbf6da9a9a44a26213c5457e91260e7a9d54431099f764110d56233e SHA512 27b6293dcd4edc4686f2c900c35355b46e4aed7cff2c710125a59b1df8ac6756d0480e2d10af771994f0ba9b85011476e0eccc395e80a430e186fafebc76b25a
EBUILD privacyidea-2.23.2.ebuild 3068 BLAKE2B 58e4a3dc762bf0f552081489313fcdf023606873281544c14a908240c764f63e1d170371d658d2bcfb98cc5529f16d910082aac477ab3c28889ab7b405360cd7 SHA512 7177e2c6ffb8d8de6ca39ab66fa67d334070e1766d014ebee37326d6273b00fbe8c90f0d43c8da5bbb7b270194361afcd8d30a57fc7762fac93d1412e1ce5762 EBUILD privacyidea-2.23.2.ebuild 3068 BLAKE2B 58e4a3dc762bf0f552081489313fcdf023606873281544c14a908240c764f63e1d170371d658d2bcfb98cc5529f16d910082aac477ab3c28889ab7b405360cd7 SHA512 7177e2c6ffb8d8de6ca39ab66fa67d334070e1766d014ebee37326d6273b00fbe8c90f0d43c8da5bbb7b270194361afcd8d30a57fc7762fac93d1412e1ce5762
EBUILD privacyidea-2.23.5-r1.ebuild 3112 BLAKE2B 3dccbaa14248368c7e3a53e891bc861e7cf7a09d41d9f00005fc3899fa1e318606f9346ba789d6d9059c02b4323a9f1bcf112583ff1f9b0c156cb6eba6143103 SHA512 4d901ce5e5994354cdaef390927cf0ffacb3d048264375236aeab65a2accf77ae805efc3833a4d013a9f58824365da5667334b4fa826e8526ca9b1c959322bee EBUILD privacyidea-2.23.5-r1.ebuild 3112 BLAKE2B 3dccbaa14248368c7e3a53e891bc861e7cf7a09d41d9f00005fc3899fa1e318606f9346ba789d6d9059c02b4323a9f1bcf112583ff1f9b0c156cb6eba6143103 SHA512 4d901ce5e5994354cdaef390927cf0ffacb3d048264375236aeab65a2accf77ae805efc3833a4d013a9f58824365da5667334b4fa826e8526ca9b1c959322bee
EBUILD privacyidea-2.23.5.ebuild 3068 BLAKE2B 58e4a3dc762bf0f552081489313fcdf023606873281544c14a908240c764f63e1d170371d658d2bcfb98cc5529f16d910082aac477ab3c28889ab7b405360cd7 SHA512 7177e2c6ffb8d8de6ca39ab66fa67d334070e1766d014ebee37326d6273b00fbe8c90f0d43c8da5bbb7b270194361afcd8d30a57fc7762fac93d1412e1ce5762 EBUILD privacyidea-2.23.5.ebuild 3068 BLAKE2B 58e4a3dc762bf0f552081489313fcdf023606873281544c14a908240c764f63e1d170371d658d2bcfb98cc5529f16d910082aac477ab3c28889ab7b405360cd7 SHA512 7177e2c6ffb8d8de6ca39ab66fa67d334070e1766d014ebee37326d6273b00fbe8c90f0d43c8da5bbb7b270194361afcd8d30a57fc7762fac93d1412e1ce5762
EBUILD privacyidea-3.0.2.ebuild 3223 BLAKE2B 1b06c97aa2896f584fad2c479b0f558e4d47618924899616ab8d5e664b37801208b56e2093f3067707a8eab98ddee54888fa32c342eac06734bdc070b20bf0b8 SHA512 cd8877fc58241ff78b84be80ece420163b2091be22310c9830f54d098a12ec2a4429342ba2b38ab35ca9e2cb4a865efc68f223401c7d7a724a0c8dc17c6a0d81 EBUILD privacyidea-3.0.2.ebuild 3223 BLAKE2B 1b06c97aa2896f584fad2c479b0f558e4d47618924899616ab8d5e664b37801208b56e2093f3067707a8eab98ddee54888fa32c342eac06734bdc070b20bf0b8 SHA512 cd8877fc58241ff78b84be80ece420163b2091be22310c9830f54d098a12ec2a4429342ba2b38ab35ca9e2cb4a865efc68f223401c7d7a724a0c8dc17c6a0d81
EBUILD privacyidea-3.2.2.ebuild 3223 BLAKE2B cfa64e83b8f7e641b8c2af45175cfd0323307212fc20d39ddd35834c402b7d6845b6887200ad68cd631d361103410f257a65c5c26d9ae39c7adffc54d51c9a67 SHA512 94ec35707d66394d72f99a04e1acb9f3877f893f9ec1e5fc4162b372363efd04d38d1ad3eca1517e30d3771326fcb50e67d26ff8121eb3ba4f1311f3a5e986ae

View File

@ -0,0 +1,114 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
inherit distutils-r1 user
VRADIUS="3.2"
DESCRIPTION="privacyIDEA is a modular authentication system"
HOMEPAGE="https://www.privacyidea.org/"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/${PN}/FreeRADIUS/archive/v${VRADIUS}.tar.gz -> ${PN}-FreeRADIUS-${VRADIUS}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="+mysql postgres sqlite -translation"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
translation? ( net-libs/nodejs[npm]
app-i18n/poedit )"
RDEPEND="
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
postgres? ( dev-python/psycopg[${PYTHON_USEDEP}] )
sqlite? ( dev-python/sqlalchemy[${PYTHON_USEDEP}] )
dev-perl/Config-IniFiles
dev-perl/Crypt-SSLeay
dev-perl/Data-Dump
dev-perl/JSON
dev-perl/Net-SSLeay
dev-perl/Try-Tiny
dev-perl/libwww-perl
dev-python/bcrypt[${PYTHON_USEDEP}]
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
dev-python/configobj[${PYTHON_USEDEP}]
dev-python/croniter[${PYTHON_USEDEP}]
dev-python/defusedxml[${PYTHON_USEDEP}]
dev-python/ecdsa[${PYTHON_USEDEP}]
dev-python/flask-babel[${PYTHON_USEDEP}]
dev-python/flask-migrate[${PYTHON_USEDEP}]
dev-python/flask-script[${PYTHON_USEDEP}]
dev-python/funcparserlib[${PYTHON_USEDEP}]
dev-python/huey[${PYTHON_USEDEP}]
dev-python/itsdangerous[${PYTHON_USEDEP}]
dev-python/ldap3[${PYTHON_USEDEP}]
dev-python/netaddr[${PYTHON_USEDEP}]
dev-python/oauth2client[${PYTHON_USEDEP}]
dev-python/passlib[${PYTHON_USEDEP}]
dev-python/pyjwt[${PYTHON_USEDEP}]
dev-python/pyrad[${PYTHON_USEDEP}]
dev-python/python-gnupg[${PYTHON_USEDEP}]
dev-python/pyusb[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/qrcode[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/smpplib[${PYTHON_USEDEP}]
dev-python/sqlsoup[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]
dev-python/werkzeug[${PYTHON_USEDEP}]
www-apache/mod_wsgi
www-servers/gunicorn
"
REQUIRED_USE="|| ( mysql postgres sqlite )"
python_prepare_all() {
rm -rf tests
rmdir authmodules/FreeRADIUS
ln -s ../../FreeRADIUS-${VRADIUS} authmodules/FreeRADIUS
if use translation; then
npm install grunt --save-dev
npm install grunt-angular-gettext --save-dev
make translate
fi
distutils-r1_python_prepare_all
}
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 /var/lib/${PN}/home ${PN}
}
python_install_all() {
distutils-r1_python_install_all
mv ${D}/usr/etc ${D}/etc
insinto /etc/privacyidea
doins deploy/pi.cfg
doins deploy/logging.cfg
doins deploy/privacyidea/NetKnights.pem
doins deploy/privacyidea/enckey
doins deploy/privacyidea/private.pem
doins deploy/privacyidea/public.pem
doins authmodules/FreeRADIUS/rlm_perl.ini
## insinto /etc/privacyidea/CA
## doins deploy/debian/openssl.cnf
fowners -R ${PN}:root /etc/privacyidea
fperms 600 /etc/privacyidea/enckey \
/etc/privacyidea/private.pem
## insinto /etc/logrotate.d
## newins "${FILESDIR}/${PN}.logrotate" ${PN}
diropts -o privacyidea -g root
keepdir /var/log/privacyidea
}