privacyIDEA: Update

This commit is contained in:
Joerg Deckert 2017-07-24 13:12:31 +02:00
parent fd59a2cced
commit d8e2973bc3
4 changed files with 168 additions and 0 deletions

View File

@ -1,3 +1,6 @@
DIST privacyidea-2.17.tar.gz 6162129 SHA256 5216a941bc1c2775d91d56015cf5f8430877797a00bbfcbcfd0849d1946d448a SHA512 25b0dfc7edffac5343f27006219a1ba8e3ad4fe8b095c2cddb7f25a085ab7237595b7271107d93b189806a25d4fc647522fb0b71fa9f6e9c30e52cb5c8290938 WHIRLPOOL 1828380e174d588a0f522b1538663a451269b706853e076e7622e96b6e3321b8d2d79792625cbd9bd8bbdf15870ae0b4bbafb0f55d12f2acfcdb56ad31a844a1
DIST privacyidea-2.19.tar.gz 6252833 SHA256 b75b90981ac93288f7b1033fbd4998eaa9caf249bd48f6183247926d5ac1bb68 SHA512 cf0f4f4f638a74f76143e1d161c38b77422d39b115a079539fb6fcedf44fc17b6be79e221b1e1269b2a8c858b9be9afe5d9ec7b908ab8e9dbad8d1d2245c4573 WHIRLPOOL 0c4791f61f1bf11011e434e02f064f5dbafcd9a8ab78bd38713992a2d98a9b04fb2b1a40d68e937c0cc33269accf8210b5a2f4de1fd10fa591180ed8d16044cf
DIST privacyidea-FreeRADIUS-2.17.zip 14861 SHA256 e2386d3e63e5c0803aaf9a7200d27123789243fa3f92563baf967d15224a1869 SHA512 cee04c6aa14e191f9c3672842c7d4950786f55f77b594edde44596c7bb7d124da4e8c7aefe7f15fd6d9a2663fd370d73b3a39bfb2cc0641a27a54c5694256f4b WHIRLPOOL 16d358411df75bcf61e815bf23684c1f71e5e7ecc6e4f845d341a3827bb8b97e49be74258799fcefa9f3ee74d4e0b988208e3432b59ecf9c0801798273ff4e2a
DIST privacyidea-FreeRADIUS-2.19.tar.gz 12367 SHA256 1227e4fbc79934dd51a6b6077a6605959fc6883ef0af2774258185f28befd0e3 SHA512 234b01f58842db34bc04923c7cf5317e19e0b2feb013e3c3af5a75c1244f2f9aea2f2c7956501956379077a83f60f95d257b5f6e53e6d13b76f40beac6276f72 WHIRLPOOL 19a0670fd5ab249b10324dd9dc6716676f418fc5510bbbd9b716f3fd59b938e99bd7092bacf3a794064105bfb3cec292fc1f975cf407276a4aefd126d22b2b25
EBUILD privacyidea-2.17.ebuild 2865 SHA256 2947be700032ea38cc0dc4260ddd8ab6049fdf22c3d54a4c9df3ac157e87056c SHA512 b363f96ed46cc0c9af7445fad201e9834b61930431dd2fb53d25e6a69daffaa3858b25f7c87ddab43dd000dbf15bb13e8de6f7ee2f2190efeb609f8b96a3a362 WHIRLPOOL 6193d0c1f38cef07057c22e78db6fa210cfee5273c9fa7070a5985da8f20c5b63550b946ca7ae83671ec9ad9d8e32a43a8ed30979b1bad1f5c08b3c6c23c30f5
EBUILD privacyidea-2.19.ebuild 2963 SHA256 629c5e2760ca54a1ca48c216d7162e51f412d41e03398cc92af93761970d2e40 SHA512 7089deb86490990658168b109324c087ba2e3e6140010707e368304acfc7b6a23cc273c4e1774197578e8663f14f39793c062f13fd21509c1f9262a4ff7b19c1 WHIRLPOOL 4ac55ef2328d4a2844df74a409c09bcd47a451a9b55a2dba32d1ffa93d4f1d09b4a5bf7b4dbffce08cba6c25463f6cb728be97eb3d0e4ebd68d841e3650cf6cd

View File

@ -0,0 +1,128 @@
# Copyright 1999-2017 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="f5d2e0f8637c6d233a9a4fd97f1ad666d340b75b"
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
>=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/ecdsa
dev-python/flask
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,2 +1,4 @@
DIST privacyideaadm-2.1.tar.gz 51230 SHA256 598df96b80fc10bee592d0361b95125752d82155f50acdd140fd9b0e8c8b0c75 SHA512 95cfc6adf787cc5adffd417e2e576382a3391d03006c93b64828ad2d36b869723e177bd00b0cb73a340b7274e00f2ba4cf36171d1649ca066b7872cc798e10a3 WHIRLPOOL 7d5b7d0dba1172fa6e24f2161038b56a58dc011bb4cbb8f54d94ab60c45cea5062e871ef2bf3dfeff69653e6489ddcd73a172a3cf9cfdeb689470543e02542fd
DIST privacyideaadm-2.15.tar.gz 58059 SHA256 e251bd90182c9825033d84fef6ac4f5f035fb676dc09a157df6bedd3a3b45c1c SHA512 2ac4dfc6d5d52c62b0742547162a0409cf5049ed351fa02409335337502ab20833f136d616e60cfa9f53cd993e579182128af96f061138bae0f6a6e886a3809a WHIRLPOOL cc525fb458d7444658df6e7e0459d7c1a221623643ecbc8fe1cd9195e8f745b10724f6f8729a23d42cbd5582568c96de804729f57d4f534f6f8d43f967deb85d
EBUILD privacyideaadm-2.1.ebuild 673 SHA256 cea2af10a6a78c6c96926094f3b147b57eb5c249063ba82048d0813fffc77436 SHA512 02b1a2e7116bf0200a4b92f258375f1342ffdfc572eacf37d6ec9850271f767fb7cec7517a5e4161b1a99236115506c1b9babe2caa47e2d47a94a3cbd1916a91 WHIRLPOOL 99e64906a36d227d46de81f4886e570606d3e2b0a6f393e49c571c9ece34e56ae9882899085d89db1f57733c775fb6d4a8e232bd7eae54807b347fc627a73dc7
EBUILD privacyideaadm-2.15.ebuild 766 SHA256 8f7fce95fb8b9b30ebc60eca6d4f500e93b403dfbd015e68980d525449e86676 SHA512 6e81f141a71c2aff78b82680292e3686b7af86ec8444aea99a78313292ce25580d77b8f211c38d48779ca47a43a64d6a5b22f155f80cabe6508c138d75601ba9 WHIRLPOOL 735e10784a92ac6e554048fa73629c66aee574cda5372cba413072503e3e5b06a973da3ba6158d84bf38710f96dd0a5e478106f59a9e10d184fca121ab86e6c2

View File

@ -0,0 +1,35 @@
# 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="86e845de15d9fdcd59fa321228a60351d0312092"
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"
src_prepare(){
rm -rf tests
emake man
eapply_user
}