diff --git a/dev-python/segno/Manifest b/dev-python/segno/Manifest new file mode 100644 index 0000000..110cc4f --- /dev/null +++ b/dev-python/segno/Manifest @@ -0,0 +1,2 @@ +DIST segno-1.5.2.tar.gz 93819 BLAKE2B 29236cfb11028c6b43f5b3cb336dd4f6ee7bdfb527bda549c32a739b4353a81d3cff185859693d90c5c70ef7703f4d2cf591829bba83b605f51eabf97f1e4e71 SHA512 c800f32e720c41ad4b4f2b5af6f2970046de9fad14cc349149904e302e6ec2e1aabbc6cb4808f6ea455c237550c5f942dd8bb55ac7b1a7208dcd8e8fc9d7c016 +EBUILD segno-1.5.2.ebuild 511 BLAKE2B 045420f3d11abd937715a1bed9d66459ce47a1a613bd9947c6ce823504208b900f931bd79e8847f5078534ed4e7004d33f852e0bf7d24d50389ce705e20fcc5c SHA512 9ba58595e30463c01e05759deea3f9e263416a9dee5b0820f942d84b369ba6cbbbb4e03aba12d4c37916f627ac0cb2d87db86ec8c5549fba7a810b6279544236 diff --git a/dev-python/segno/segno-1.5.2.ebuild b/dev-python/segno/segno-1.5.2.ebuild new file mode 100644 index 0000000..714ecb0 --- /dev/null +++ b/dev-python/segno/segno-1.5.2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2023 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Python QR Code and Micro QR Code encoder" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +HOMEPAGE="https://github.com/heuer/segno/" + +IUSE="" +SLOT="0" +LICENSE="LGPL-2" +KEYWORDS="x86 amd64" + +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} dev-lang/python" diff --git a/www-apps/privacyidea/Manifest b/www-apps/privacyidea/Manifest index ffce711..837641a 100644 --- a/www-apps/privacyidea/Manifest +++ b/www-apps/privacyidea/Manifest @@ -1,11 +1,7 @@ AUX logging.yaml 804 BLAKE2B 45e9101edc94758e135033fc651fd3578b6696eb1d2a06dee5a5c1dec0f5715ebf45eee7af4f5fc65cd632e38420d5a9dd6f3b76b6bacba2683f217ab4441e24 SHA512 b1b038fac9897d202b3002688b6513f4e425675d99d59ac9c645d9712f8abfa5884284748b0db90b3c9afefdd2bef328d65cf7e9b63191478f97acba72e53140 -DIST privacyidea-3.4.tar.gz 8548152 BLAKE2B e5d655f694a4697635814b3a2533321b68cac61d58f308c9a7108f7eea1f186f0750e802d4e3eb10e307d5eb4d46e5a2c599fe16c158ed6b9f13c16c29052b50 SHA512 7706e0c2d0213facf5cc3a9717ada76130450f03ec03235bf9e6a9511f05a6faa0173edaf7cc43dd8ca6c9b86148dd16e8bfbac8abaa3efe49175880871fc36c -DIST privacyidea-3.6.2.tar.gz 9004815 BLAKE2B 86d76b127d79ccda1c35cc718c7c0d3945d08e0293c039c59f639b93a40a4ec864fd13a0941c0de15841dfa94914b8ef34cf99d3b54988ddfadd176d533cfe3c SHA512 c2884fdaff2feb1f554c60aa0c71aeb9ddd7e633d6dd948bad33fdb8ec86d6fe55b8e351471bca232ad7605a1e4318b23baec8f1682e0aab8e8fef067559e302 DIST privacyidea-3.7.3.tar.gz 9478925 BLAKE2B f10abac67c32619c6dc0866096c9dd49e19a9a8ab7f9cfc450ed9f9e84e148dd75c653b231c34d413894006b378af5fc0955e01600319b36cd25400e67ca6e2f SHA512 c069fc4907149640ab188dc5c6153e30afda45bbb66e7b539b11825b6e1c183f155d6aa7d92c12a4ad6f3299aa97d797702573c5a1645e8d5d437624a48dc2a3 -DIST privacyidea-FreeRADIUS-3.4.1.tar.gz 15526 BLAKE2B c90e409c1dcc583072b5cfeeaefa023b186928bb0f6e4cea1098b35377191279cdecf9fe4c285e0a2313e32f0c0e187b5e41eb43ede09706b78a635b6c0321f2 SHA512 b472cb36a43e4bb63ff06161ca01a7222c3bb301c001769551e54b8d02929c4a871a1fac27d679ad680d625fc9b5423382202770937229f115a0e8191e314f6a +DIST privacyidea-3.8.1.tar.gz 9750669 BLAKE2B 946e546b7d8364f8294f14ca40dd9bb06767fc01df11e176ac899841692440cbdbacc1a3214cf7d5b1c3d632b8b9d0ab3fec5eeacd0dee5cd6c0de9240ad84f9 SHA512 e2d7bd04afed9283a308eaf0fca0182d2b3b33a43d0612fd0bc18ed55f7693d016527a0cc2effdb05515dda3753ee5f526152210fe46984d5f029162a28e6277 DIST privacyidea-FreeRADIUS-3.4.2.tar.gz 16146 BLAKE2B 407e391f3d34d1976c6306465e4e254471a766b97de715e01456a58f7c3f98e966d800edf2b52796324f645f33aa5fda61c30f779ac8f1ec7755c3e9568cb782 SHA512 21c8f4617db330cce3b24b4a9d5074817cab706490aa9d8c2f49953e53faf555136e37bf7c629ea1ae53c6a3a1dbfd26d284d595a8caecbb979fabb30f8d647c -DIST privacyidea-FreeRADIUS-3.4.tar.gz 15222 BLAKE2B 2058f1be8a8f5e7ba41f8f166f9ae1846947c16c0518729a8edf02791c47d1572a5715facd839e3dc66e290d3e5dd352e9804ebe5e34d889c932daa9559834c3 SHA512 6e22b82b5ad7d99fae68a435ba3249a6c127b9d2c49925005ac289873916f18837d9814153667b1085c59e3ce31bfc3bc3a8bb2c2ce927589bf3aa5b47976bc7 DIST v0.1.0.tar.gz 17714 BLAKE2B d08cad8597a87f4a3ad77d33f06df77acf3902d95ca2f40c272270505350462e3ff30709a93e1595af73f3370e9e2bf2ac66c41f7e0214894a59a6a6f4d35e98 SHA512 0bcd69c8bc9bec35d965ef4c4638bad7ad15c91b115743a4546df2f2661202249df9cee47483a400c257d293033703bcaa7c29e83e05f901aa2cf78cd5ee1755 -EBUILD privacyidea-3.4-r1.ebuild 4624 BLAKE2B 12b0fb5122059f19469c9630db1731b442252c559a59f0caf186a5596b0a88bb123af9c1df723efaec5c7f9be533c603d5c78ac27fe3ef029feb218c4507db1b SHA512 ee09d817e552776517db0ed31b244f342bf21da35883cedbd74ff6c3b538f13cfa9f6a934b28741dd8eecda1bdb27198a7db870f1683b755e8b1cc699d469b2d -EBUILD privacyidea-3.6.2.ebuild 4401 BLAKE2B 3a3626aeec024f9944aa32a31ef977857bf928b3b90db5747e6cf977c6fc6fe55a084ca7eaa749ed4a7171c29a54aba10ebd67d29471b2e27b8e9a15a8ea4106 SHA512 1df72ef3c12768275637980a4516a7698ddbf358dc6db935a38587d8dcc8039b960f84d55619a6b23cc46e0f5e35e6554eed2902107ec7dcd66e4e9dbb654e63 EBUILD privacyidea-3.7.3.ebuild 4550 BLAKE2B 6284dc9bf05e7fbe6fe6a08ea8769c30bd48420c695fe4b5a76ee675579dc8d1d4256fb57ca25716c66d530ff7af979b83788a86da8b52bcf3b17f6061fba885 SHA512 aef22249b05b6627a2c53816bc4680f1c6361d2d34c0f8d3a893803e6169a00219e9ccd2b2e96c4c3d6219c98880d7192e297635813e9024a6ce67bafc555f1f +EBUILD privacyidea-3.8.1.ebuild 4850 BLAKE2B cdc51b842fb142136a41e37e05dd4870a84b9af5d7fc283377a2f8bc9b83b34c4a050912b7a2efc898ba2a75803787b391357facf92065ebf31be1e45857bde4 SHA512 156842c54ff797f476c5a5c126f208b2b23fa5e2688e2f51d51916fb8dee96a0805caaf90bbb7e3df2db4e0e82d3ff3216af8b27df0b345d2156b3190b0cf2d4 diff --git a/www-apps/privacyidea/privacyidea-3.4-r1.ebuild b/www-apps/privacyidea/privacyidea-3.4-r1.ebuild deleted file mode 100644 index 8434f71..0000000 --- a/www-apps/privacyidea/privacyidea-3.4-r1.ebuild +++ /dev/null @@ -1,146 +0,0 @@ -# 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,8,9} ) - -inherit distutils-r1 user - -VRADIUS="3.4" -VWEBAUTHN="0.1.0" - -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}/webauthn-client/archive/v${VWEBAUTHN}.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 -hightokencount" - -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/cbor2[${PYTHON_USEDEP}] - dev-python/configobj[${PYTHON_USEDEP}] - dev-python/croniter[${PYTHON_USEDEP}] - dev-python/defusedxml[${PYTHON_USEDEP}] - dev-python/docutils[${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/flask-versioned[${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/sphinxcontrib-applehelp[${PYTHON_USEDEP}] - dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}] - dev-python/sphinxcontrib-htmlhelp[${PYTHON_USEDEP}] - dev-python/sphinxcontrib-httpdomain[${PYTHON_USEDEP}] - dev-python/sphinxcontrib-spelling[${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 - - cp ${WORKDIR}/webauthn-client-${VWEBAUTHN}/pi-webauthn.js ${WORKDIR}/${P}/privacyidea/static/contrib/js/webauthn-client/ - - if use translation; then - npm install grunt --save-dev - npm install grunt-angular-gettext --save-dev - make translate - fi - - if use hightokencount; then - sed -e "s/\"privacyidea\": 50/\"privacyidea\": 5000/" \ - -e "s/\"privacyidea\", 50/\"privacyidea\", 5000/" \ - -i "${WORKDIR}/${P}/privacyidea/lib/subscriptions.py" \ - || die 'failed to set higher token count for the subscription reminder' - - 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 ../FreeRADIUS-${VRADIUS}/rlm_perl.ini - doins ../FreeRADIUS-${VRADIUS}/dictionary.netknights - - insinto /etc/privacyidea/freeradius2 - doins ../FreeRADIUS-${VRADIUS}/config/freeradius2/mods-perl-privacyidea - doins ../FreeRADIUS-${VRADIUS}/config/freeradius2/privacyidea - insinto /etc/privacyidea/freeradius3 - doins ../FreeRADIUS-${VRADIUS}/config/freeradius3/mods-perl-privacyidea - doins ../FreeRADIUS-${VRADIUS}/config/freeradius3/privacyidea - - insinto /usr/share/privacyidea/freeradius - doins ../FreeRADIUS-${VRADIUS}/privacyidea_radius.pm - -## 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 - - diropts -o privacyidea -g privacyidea - keepdir /var/lib/privacyidea/home -} diff --git a/www-apps/privacyidea/privacyidea-3.6.2.ebuild b/www-apps/privacyidea/privacyidea-3.8.1.ebuild similarity index 84% rename from www-apps/privacyidea/privacyidea-3.6.2.ebuild rename to www-apps/privacyidea/privacyidea-3.8.1.ebuild index 2c08833..ebb6bed 100644 --- a/www-apps/privacyidea/privacyidea-3.6.2.ebuild +++ b/www-apps/privacyidea/privacyidea-3.8.1.ebuild @@ -2,13 +2,14 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{7,8,9} ) +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) -inherit distutils-r1 user +inherit distutils-r1 -VRADIUS="3.4.1" +VRADIUS="3.4.2" VWEBAUTHN="0.1.0" DESCRIPTION="privacyIDEA is a modular authentication system" @@ -26,6 +27,8 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] translation? ( net-libs/nodejs[npm] app-i18n/poedit )" RDEPEND=" + acct-group/privacyidea + acct-user/privacyidea mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] ) postgres? ( dev-python/psycopg[${PYTHON_USEDEP}] ) sqlite? ( dev-python/sqlalchemy[${PYTHON_USEDEP}] ) @@ -39,8 +42,9 @@ RDEPEND=" dev-perl/URI-Encode dev-perl/libwww-perl dev-python/argon2-cffi[${PYTHON_USEDEP}] + dev-python/argon2-cffi-bindings[${PYTHON_USEDEP}] dev-python/bcrypt[${PYTHON_USEDEP}] - dev-python/beautifulsoup:4[${PYTHON_USEDEP}] + dev-python/beautifulsoup4[${PYTHON_USEDEP}] dev-python/cbor2[${PYTHON_USEDEP}] dev-python/configobj[${PYTHON_USEDEP}] dev-python/croniter[${PYTHON_USEDEP}] @@ -53,21 +57,27 @@ RDEPEND=" dev-python/flask-versioned[${PYTHON_USEDEP}] dev-python/funcparserlib[${PYTHON_USEDEP}] dev-python/google-auth[${PYTHON_USEDEP}] + dev-python/grpcio[${PYTHON_USEDEP}] + dev-python/grpcio-tools[${PYTHON_USEDEP}] dev-python/huey[${PYTHON_USEDEP}] dev-python/importlib_metadata[${PYTHON_USEDEP}] - dev-python/importlib_resources[${PYTHON_USEDEP}] dev-python/itsdangerous[${PYTHON_USEDEP}] dev-python/ldap3[${PYTHON_USEDEP}] dev-python/netaddr[${PYTHON_USEDEP}] dev-python/natsort[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] dev-python/passlib[${PYTHON_USEDEP}] + dev-python/protobuf-python[${PYTHON_USEDEP}] + dev-python/pycparser[${PYTHON_USEDEP}] + dev-python/pydash[${PYTHON_USEDEP}] dev-python/pyjwt[${PYTHON_USEDEP}] + dev-python/pyparsing[${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/segno[${PYTHON_USEDEP}] dev-python/smpplib[${PYTHON_USEDEP}] dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}] dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}] @@ -75,8 +85,10 @@ RDEPEND=" dev-python/sphinxcontrib-httpdomain[${PYTHON_USEDEP}] dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}] dev-python/sqlsoup[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] dev-python/urllib3[${PYTHON_USEDEP}] dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/wrapt[${PYTHON_USEDEP}] www-apache/mod_wsgi www-servers/gunicorn " @@ -96,19 +108,15 @@ python_prepare_all() { 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 ${FILESDIR}/logging.yaml doins deploy/pi.cfg - doins deploy/logging.cfg + echo "PI_LOGCONFIG = '/etc/privacyidea/logging.yaml'" >> /$D/etc/privacyidea/pi.cfg doins deploy/privacyidea/NetKnights.pem doins deploy/privacyidea/enckey doins deploy/privacyidea/private.pem