privacyIDEA: additional configs

This commit is contained in:
Joerg Deckert 2017-01-25 13:54:31 +01:00
parent d5e1589096
commit 6e0b41468d
2 changed files with 18 additions and 9 deletions

View File

@ -1,3 +1,3 @@
DIST privacyidea-2.17.tar.gz 6162129 SHA256 5216a941bc1c2775d91d56015cf5f8430877797a00bbfcbcfd0849d1946d448a SHA512 25b0dfc7edffac5343f27006219a1ba8e3ad4fe8b095c2cddb7f25a085ab7237595b7271107d93b189806a25d4fc647522fb0b71fa9f6e9c30e52cb5c8290938 WHIRLPOOL 1828380e174d588a0f522b1538663a451269b706853e076e7622e96b6e3321b8d2d79792625cbd9bd8bbdf15870ae0b4bbafb0f55d12f2acfcdb56ad31a844a1
DIST privacyidea-FreeRADIUS-2.17.zip 14861 SHA256 e2386d3e63e5c0803aaf9a7200d27123789243fa3f92563baf967d15224a1869 SHA512 cee04c6aa14e191f9c3672842c7d4950786f55f77b594edde44596c7bb7d124da4e8c7aefe7f15fd6d9a2663fd370d73b3a39bfb2cc0641a27a54c5694256f4b WHIRLPOOL 16d358411df75bcf61e815bf23684c1f71e5e7ecc6e4f845d341a3827bb8b97e49be74258799fcefa9f3ee74d4e0b988208e3432b59ecf9c0801798273ff4e2a
EBUILD privacyidea-2.17.ebuild 2494 SHA256 1a488e7ec6d24144135079f05715ce227cc54fc0a68d565e532c810699c9ea34 SHA512 9c49f9d4e750750a641ca76a5b19fb972524db7040f3dc952f24d19922a818e8377b0929b5a320bdcd2a0b2e2fdce7b01a33fe78094599515d89ee0398e77c86 WHIRLPOOL c4093efabbe7410dd632e77a7fd59416ececc81ceb745f6c7955e39ab88a78e489c54176371223c0b2b7aa465e8f1ef2a0fec603ff9cef170c58d521cf96cd01
EBUILD privacyidea-2.17.ebuild 2720 SHA256 44e3f5e277be57c19fd8d2d62c412601769c7ffe71bfd048e21d6258d1c14273 SHA512 0c106eeac56dffb99211d16df3e9e2157c1873adb90f4dea0677c53a7be15631f49ae885765db7a10b15347dbe876d921b2ec91fb62868b222761cb49a23f1e2 WHIRLPOOL 350115269a1b5b7a0caa08f52e9a8de1f61340a932f9204af703071360877e70397cc3e268b2d48122f1a271a7e910a672f9dd36fbff728ccf8981d97f3e9918

View File

@ -6,7 +6,7 @@ EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
inherit distutils-r1 user
VRADIUS="f5d2e0f8637c6d233a9a4fd97f1ad666d340b75b"
VADMIN="d1de48361b5e145957a3b95db3de63d234e8b832"
@ -89,21 +89,30 @@ python_prepare_all() {
distutils-r1_python_prepare_all
}
##python_install() {
## distutils-r1_python_install
##}
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
## newinitd "${FILESDIR}/${PN}.init" ${PN}
## systemd_dounit "${FILESDIR}/${PN}.service"
insinto /etc/privacyidea
doins deploy/debian/pi.cfg
doins deploy/privacyidea/NetKnights.pem
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 ulogd -g ulogd
## keepdir /var/log/ulogd
diropts -o privacyidea -g root
keepdir /var/log/privacyidea
}