From 0f301a573375aa8168cdcb3bd137ecafa9e6c0f8 Mon Sep 17 00:00:00 2001 From: Joerg Deckert Date: Wed, 6 Mar 2019 08:32:49 +0100 Subject: [PATCH] www-apps/privacyidea: Version 2.23.5 --- www-apps/privacyidea/Manifest | 3 + .../privacyidea/privacyidea-2.23.5.ebuild | 132 ++++++++++++++++++ 2 files changed, 135 insertions(+) create mode 100644 www-apps/privacyidea/privacyidea-2.23.5.ebuild diff --git a/www-apps/privacyidea/Manifest b/www-apps/privacyidea/Manifest index d89f4ee..a489a41 100644 --- a/www-apps/privacyidea/Manifest +++ b/www-apps/privacyidea/Manifest @@ -1,9 +1,12 @@ DIST privacyidea-2.17.tar.gz 6162129 BLAKE2B e6700a1cd5a1f645937698cf5a41ee1d1e789d1d97858250e982f069f6df3862771bb735ab769c70d65f84a8fb5f36ead1949b65e9a31bb0c46ccca26eee59f3 SHA512 25b0dfc7edffac5343f27006219a1ba8e3ad4fe8b095c2cddb7f25a085ab7237595b7271107d93b189806a25d4fc647522fb0b71fa9f6e9c30e52cb5c8290938 DIST privacyidea-2.19.tar.gz 6252833 BLAKE2B 9b300ea8ff278fb8e7b5b4de048212c56f79ad296a8894bcca1bd2cc820534f9de267139623063801c548c3967a7732d9fe058a6ec7de05d5f5b40a91a934e39 SHA512 cf0f4f4f638a74f76143e1d161c38b77422d39b115a079539fb6fcedf44fc17b6be79e221b1e1269b2a8c858b9be9afe5d9ec7b908ab8e9dbad8d1d2245c4573 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-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.23.2.tar.gz 13317 BLAKE2B f7201dbdaa0219317ee7ec141218f1fd1b252fdc8106d91ff9432f894d2044cfffa916fac675eddadce72d35680e652eafed1b1884e22993ca6f6e13e9f8da5f SHA512 06ece6ca69dabf69e0969825fdf78293023aa9b07e2ba4e79d7c3d559a23a93c1bd6284f6afc9e65faddadeb3f0ad68d8d0182712adbce62ff36c1ee40a54aef +DIST privacyidea-FreeRADIUS-2.23.5.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 +EBUILD privacyidea-2.23.5.ebuild 3068 BLAKE2B 58e4a3dc762bf0f552081489313fcdf023606873281544c14a908240c764f63e1d170371d658d2bcfb98cc5529f16d910082aac477ab3c28889ab7b405360cd7 SHA512 7177e2c6ffb8d8de6ca39ab66fa67d334070e1766d014ebee37326d6273b00fbe8c90f0d43c8da5bbb7b270194361afcd8d30a57fc7762fac93d1412e1ce5762 diff --git a/www-apps/privacyidea/privacyidea-2.23.5.ebuild b/www-apps/privacyidea/privacyidea-2.23.5.ebuild new file mode 100644 index 0000000..4a54e2b --- /dev/null +++ b/www-apps/privacyidea/privacyidea-2.23.5.ebuild @@ -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 +}