privacyidea: update

This commit is contained in:
Joerg Deckert 2018-09-13 19:49:57 +02:00
parent 4e8fb6463e
commit 4d513b471c
4 changed files with 183 additions and 10 deletions

View File

@ -1,6 +1,9 @@
DIST privacyidea-2.17.tar.gz 6162129 SHA256 5216a941bc1c2775d91d56015cf5f8430877797a00bbfcbcfd0849d1946d448a SHA512 25b0dfc7edffac5343f27006219a1ba8e3ad4fe8b095c2cddb7f25a085ab7237595b7271107d93b189806a25d4fc647522fb0b71fa9f6e9c30e52cb5c8290938 WHIRLPOOL 1828380e174d588a0f522b1538663a451269b706853e076e7622e96b6e3321b8d2d79792625cbd9bd8bbdf15870ae0b4bbafb0f55d12f2acfcdb56ad31a844a1 DIST privacyidea-2.17.tar.gz 6162129 BLAKE2B e6700a1cd5a1f645937698cf5a41ee1d1e789d1d97858250e982f069f6df3862771bb735ab769c70d65f84a8fb5f36ead1949b65e9a31bb0c46ccca26eee59f3 SHA512 25b0dfc7edffac5343f27006219a1ba8e3ad4fe8b095c2cddb7f25a085ab7237595b7271107d93b189806a25d4fc647522fb0b71fa9f6e9c30e52cb5c8290938
DIST privacyidea-2.19.tar.gz 6252833 SHA256 b75b90981ac93288f7b1033fbd4998eaa9caf249bd48f6183247926d5ac1bb68 SHA512 cf0f4f4f638a74f76143e1d161c38b77422d39b115a079539fb6fcedf44fc17b6be79e221b1e1269b2a8c858b9be9afe5d9ec7b908ab8e9dbad8d1d2245c4573 WHIRLPOOL 0c4791f61f1bf11011e434e02f064f5dbafcd9a8ab78bd38713992a2d98a9b04fb2b1a40d68e937c0cc33269accf8210b5a2f4de1fd10fa591180ed8d16044cf DIST privacyidea-2.19.tar.gz 6252833 BLAKE2B 9b300ea8ff278fb8e7b5b4de048212c56f79ad296a8894bcca1bd2cc820534f9de267139623063801c548c3967a7732d9fe058a6ec7de05d5f5b40a91a934e39 SHA512 cf0f4f4f638a74f76143e1d161c38b77422d39b115a079539fb6fcedf44fc17b6be79e221b1e1269b2a8c858b9be9afe5d9ec7b908ab8e9dbad8d1d2245c4573
DIST privacyidea-FreeRADIUS-2.17.zip 14861 SHA256 e2386d3e63e5c0803aaf9a7200d27123789243fa3f92563baf967d15224a1869 SHA512 cee04c6aa14e191f9c3672842c7d4950786f55f77b594edde44596c7bb7d124da4e8c7aefe7f15fd6d9a2663fd370d73b3a39bfb2cc0641a27a54c5694256f4b WHIRLPOOL 16d358411df75bcf61e815bf23684c1f71e5e7ecc6e4f845d341a3827bb8b97e49be74258799fcefa9f3ee74d4e0b988208e3432b59ecf9c0801798273ff4e2a DIST privacyidea-2.23.2.tar.gz 6658967 BLAKE2B c348afd01cacbeb15494d51675a20bbc5fa14f1d8764cf32264290903d1f5e3e31e5c5ae5b3a3b063262536215d766198004f9317849aaf2d1b9123c17b28d22 SHA512 3dada5a1c8668d7ecba4f320e02386fffafaab8a6df8e38bc0410f5a264ab02d00f85d7ccb6800ad7113538f42e99393eb4a6415cd7512c33874ef46317656c9
DIST privacyidea-FreeRADIUS-2.19.tar.gz 12367 SHA256 1227e4fbc79934dd51a6b6077a6605959fc6883ef0af2774258185f28befd0e3 SHA512 234b01f58842db34bc04923c7cf5317e19e0b2feb013e3c3af5a75c1244f2f9aea2f2c7956501956379077a83f60f95d257b5f6e53e6d13b76f40beac6276f72 WHIRLPOOL 19a0670fd5ab249b10324dd9dc6716676f418fc5510bbbd9b716f3fd59b938e99bd7092bacf3a794064105bfb3cec292fc1f975cf407276a4aefd126d22b2b25 DIST privacyidea-FreeRADIUS-2.17.zip 14861 BLAKE2B 088b4a5402d606218e65774e725229a4dc23598d7016eae4a9e568eb6248414b6a1ed67597b7d1fef131e00b347f885c75e3bb90fff7ea268f36b0687de91b07 SHA512 cee04c6aa14e191f9c3672842c7d4950786f55f77b594edde44596c7bb7d124da4e8c7aefe7f15fd6d9a2663fd370d73b3a39bfb2cc0641a27a54c5694256f4b
EBUILD privacyidea-2.17.ebuild 2865 SHA256 2947be700032ea38cc0dc4260ddd8ab6049fdf22c3d54a4c9df3ac157e87056c SHA512 b363f96ed46cc0c9af7445fad201e9834b61930431dd2fb53d25e6a69daffaa3858b25f7c87ddab43dd000dbf15bb13e8de6f7ee2f2190efeb609f8b96a3a362 WHIRLPOOL 6193d0c1f38cef07057c22e78db6fa210cfee5273c9fa7070a5985da8f20c5b63550b946ca7ae83671ec9ad9d8e32a43a8ed30979b1bad1f5c08b3c6c23c30f5 DIST privacyidea-FreeRADIUS-2.19.tar.gz 12367 BLAKE2B 2edfd843516b97bab42c7a5383489645ddd7da7bb439d909a16eacb3d57a87ea790a12a78316ede7d9ee856ac7cd6b84cdd1af521060bd97c6457be88eadce79 SHA512 234b01f58842db34bc04923c7cf5317e19e0b2feb013e3c3af5a75c1244f2f9aea2f2c7956501956379077a83f60f95d257b5f6e53e6d13b76f40beac6276f72
EBUILD privacyidea-2.19.ebuild 3010 SHA256 2231b5fc9be3197869cd82cc1c90f27992cb84f0a94c7d89235be89367f3684e SHA512 27b6293dcd4edc4686f2c900c35355b46e4aed7cff2c710125a59b1df8ac6756d0480e2d10af771994f0ba9b85011476e0eccc395e80a430e186fafebc76b25a WHIRLPOOL 8f412706e8eb7bca6da36e868e4c4c8cb953193ac3b60386f9abb78d82a3c0a70231053383959daab540aabe8fa89d01b4d27cfcd954d00b72285d05f2bb0964 DIST privacyidea-FreeRADIUS-2.23.2.tar.gz 13317 BLAKE2B f7201dbdaa0219317ee7ec141218f1fd1b252fdc8106d91ff9432f894d2044cfffa916fac675eddadce72d35680e652eafed1b1884e22993ca6f6e13e9f8da5f SHA512 06ece6ca69dabf69e0969825fdf78293023aa9b07e2ba4e79d7c3d559a23a93c1bd6284f6afc9e65faddadeb3f0ad68d8d0182712adbce62ff36c1ee40a54aef
EBUILD privacyidea-2.17.ebuild 2865 BLAKE2B 8dd7859fc8e339e7df065e06b1af804eac6d63a18677c76285850cdb60ea1d7d62ad3b1a011b14430706938d4675ba5d98ffa58f3d43ea973289ee4db2349c73 SHA512 b363f96ed46cc0c9af7445fad201e9834b61930431dd2fb53d25e6a69daffaa3858b25f7c87ddab43dd000dbf15bb13e8de6f7ee2f2190efeb609f8b96a3a362
EBUILD privacyidea-2.19.ebuild 3010 BLAKE2B 8248028c762b0cec3053149091a450b309e1e73f81a8e1328d1334626ef95e3ddb637e91bbf6da9a9a44a26213c5457e91260e7a9d54431099f764110d56233e SHA512 27b6293dcd4edc4686f2c900c35355b46e4aed7cff2c710125a59b1df8ac6756d0480e2d10af771994f0ba9b85011476e0eccc395e80a430e186fafebc76b25a
EBUILD privacyidea-2.23.2.ebuild 3068 BLAKE2B 58e4a3dc762bf0f552081489313fcdf023606873281544c14a908240c764f63e1d170371d658d2bcfb98cc5529f16d910082aac477ab3c28889ab7b405360cd7 SHA512 7177e2c6ffb8d8de6ca39ab66fa67d334070e1766d014ebee37326d6273b00fbe8c90f0d43c8da5bbb7b270194361afcd8d30a57fc7762fac93d1412e1ce5762

View File

@ -0,0 +1,132 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1 user
VRADIUS="81513be16e6db775effac9ed39ab10dc381be66d"
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/${VRADIUS}.tar.gz -> ${PN}-FreeRADIUS-${PV}.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/mysql-python
dev-python/pymysql
>=virtual/mysql-5.0 )
postgres? ( dev-python/psycopg )
sqlite? ( dev-python/sqlalchemy[sqlite] )
dev-perl/Config-IniFiles
dev-perl/Data-Dump
dev-perl/JSON
dev-perl/Try-Tiny
dev-perl/libwww-perl
dev-python/alembic
dev-python/bcrypt
dev-python/beautifulsoup:4
dev-python/configobj
dev-python/cookies
dev-python/cov-core
dev-python/coverage
dev-python/croniter
dev-python/defusedxml
dev-python/ecdsa
dev-python/flask
dev-python/flask-babel
dev-python/flask-migrate
dev-python/flask-script
dev-python/flask-sqlalchemy
dev-python/funcparserlib
dev-python/imagesize
dev-python/itsdangerous
dev-python/ldap3
dev-python/lxml
dev-python/mako
dev-python/matplotlib
dev-python/mock
dev-python/netaddr
dev-python/nose
dev-python/numpy
dev-python/pandas
dev-python/passlib
dev-python/pillow
dev-python/pycrypto
dev-python/pyjwt
dev-python/pyparsing
dev-python/pytest
dev-python/pytest-cov
dev-python/pytest-runner
dev-python/python-dateutil
dev-python/python-gnupg
dev-python/pyusb
dev-python/pyyaml
dev-python/qrcode
dev-python/requests
dev-python/responses
dev-python/sphinx
dev-python/sphinxcontrib-httpdomain
dev-python/sqlalchemy
dev-python/werkzeug
dev-python/pyrad
dev-python/redis-py
dev-python/sqlsoup
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/debian/pi.cfg
doins deploy/privacyidea/NetKnights.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
}

View File

@ -1,4 +1,6 @@
DIST privacyideaadm-2.1.tar.gz 51230 SHA256 598df96b80fc10bee592d0361b95125752d82155f50acdd140fd9b0e8c8b0c75 SHA512 95cfc6adf787cc5adffd417e2e576382a3391d03006c93b64828ad2d36b869723e177bd00b0cb73a340b7274e00f2ba4cf36171d1649ca066b7872cc798e10a3 WHIRLPOOL 7d5b7d0dba1172fa6e24f2161038b56a58dc011bb4cbb8f54d94ab60c45cea5062e871ef2bf3dfeff69653e6489ddcd73a172a3cf9cfdeb689470543e02542fd DIST privacyideaadm-2.1.tar.gz 51230 BLAKE2B 0c0c96cdced7506164e412ee29cc6de77d984a9b81b9e604bd98cbe79f913c1f5cdc47fb53373e823ed5677a87f6b96e473e7d73949d76c30c556d88a8a4aa59 SHA512 95cfc6adf787cc5adffd417e2e576382a3391d03006c93b64828ad2d36b869723e177bd00b0cb73a340b7274e00f2ba4cf36171d1649ca066b7872cc798e10a3
DIST privacyideaadm-2.15.tar.gz 58059 SHA256 e251bd90182c9825033d84fef6ac4f5f035fb676dc09a157df6bedd3a3b45c1c SHA512 2ac4dfc6d5d52c62b0742547162a0409cf5049ed351fa02409335337502ab20833f136d616e60cfa9f53cd993e579182128af96f061138bae0f6a6e886a3809a WHIRLPOOL cc525fb458d7444658df6e7e0459d7c1a221623643ecbc8fe1cd9195e8f745b10724f6f8729a23d42cbd5582568c96de804729f57d4f534f6f8d43f967deb85d DIST privacyideaadm-2.15.tar.gz 58059 BLAKE2B 5a9ba9d7ee1e19ab648b904aa182e15be3f444c929c9ff059c542672eadafc074afb72aa7eac6b1723611eea408a3bae3be92866745bf3a7df06e962ae1d6b11 SHA512 2ac4dfc6d5d52c62b0742547162a0409cf5049ed351fa02409335337502ab20833f136d616e60cfa9f53cd993e579182128af96f061138bae0f6a6e886a3809a
EBUILD privacyideaadm-2.1.ebuild 673 SHA256 cea2af10a6a78c6c96926094f3b147b57eb5c249063ba82048d0813fffc77436 SHA512 02b1a2e7116bf0200a4b92f258375f1342ffdfc572eacf37d6ec9850271f767fb7cec7517a5e4161b1a99236115506c1b9babe2caa47e2d47a94a3cbd1916a91 WHIRLPOOL 99e64906a36d227d46de81f4886e570606d3e2b0a6f393e49c571c9ece34e56ae9882899085d89db1f57733c775fb6d4a8e232bd7eae54807b347fc627a73dc7 DIST privacyideaadm-2.22.2.tar.gz 58554 BLAKE2B 258bcdba83401706f1d9d32b369dde05ee903acd7a957e812ae621f64118328cebad2c7739864d119131c8349c0d65be32ced204110e063c0507fc0ef897911a SHA512 b8cefcbaf178b4a62734397ee86f5ba02e75e503e3aea204fe5a8c6e3862f2e2ff8f2be798c8413fc34f6cecddb6e904f943973adb2de4d7f0989e3fe7c40712
EBUILD privacyideaadm-2.15.ebuild 766 SHA256 8f7fce95fb8b9b30ebc60eca6d4f500e93b403dfbd015e68980d525449e86676 SHA512 6e81f141a71c2aff78b82680292e3686b7af86ec8444aea99a78313292ce25580d77b8f211c38d48779ca47a43a64d6a5b22f155f80cabe6508c138d75601ba9 WHIRLPOOL 735e10784a92ac6e554048fa73629c66aee574cda5372cba413072503e3e5b06a973da3ba6158d84bf38710f96dd0a5e478106f59a9e10d184fca121ab86e6c2 EBUILD privacyideaadm-2.1.ebuild 673 BLAKE2B b6437c60ed43f6f5eb421fdaaf913f6de4658a66be84598854a8ef8c7bc6d501634bd77b27d9a3a0edbc8266acd3f9bbe53cee9c3c6a2c7a892283e13149e955 SHA512 02b1a2e7116bf0200a4b92f258375f1342ffdfc572eacf37d6ec9850271f767fb7cec7517a5e4161b1a99236115506c1b9babe2caa47e2d47a94a3cbd1916a91
EBUILD privacyideaadm-2.15.ebuild 766 BLAKE2B a46e3a02dd9f68a02a16c3c4804466e6b7f0ad1e19a37e38754fa8dc9e125093cb624843d6885491a4cb5530ccf2e15f69e47b995e46017a442e933001c6f8a5 SHA512 6e81f141a71c2aff78b82680292e3686b7af86ec8444aea99a78313292ce25580d77b8f211c38d48779ca47a43a64d6a5b22f155f80cabe6508c138d75601ba9
EBUILD privacyideaadm-2.22.2.ebuild 793 BLAKE2B f7c59ce3e30a104d9cb842ad54f478b2c170a9a8bc3817846882e6243b635f0030281068e7f5470983756a2ad2f365f8ccfe04f627f516265f00129bf8587332 SHA512 fab8bd4cf39b8ac13d1aca9f90e512387d228dd6b944554d87b57856659c71eb5839905afaeb03f6fd5baaa1d779394acb26a3bd6bc00e031093dbc67b2c72b4

View File

@ -0,0 +1,36 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 )
PV_COMMIT="e3ceb5a06c3f1a6c0a251515ce7ebcf66c61b2b0"
inherit distutils-r1
DESCRIPTION="a command line client to manage the privacyIDEA server"
HOMEPAGE="https://www.privacyidea.org/"
SRC_URI="https://github.com/privacyidea/${PN}/archive/${PV_COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
S=${WORKDIR}/${PN}-${PV_COMMIT}
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/sphinx"
RDEPEND="dev-python/requests
dev-python/pycrypto
dev-python/pyusb
dev-python/python-yubico
dev-python/qrcode"
src_prepare(){
rm -rf tests
emake man
eapply_user
}