privacyidea: big update (pi3, python3, ...)
This commit is contained in:
parent
a7dd937e0f
commit
d2fdae4dc2
|
@ -23,7 +23,7 @@ postinstall: timesyncd.conf firstboot.start
|
||||||
sed -i 's/# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/' $(CHROOT)/etc/sudoers
|
sed -i 's/# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/' $(CHROOT)/etc/sudoers
|
||||||
$(inroot) useradd -m -G users,wheel -s /bin/bash admin
|
$(inroot) useradd -m -G users,wheel -s /bin/bash admin
|
||||||
$(inroot) passwd -d admin; $(inroot) passwd -e admin
|
$(inroot) passwd -d admin; $(inroot) passwd -e admin
|
||||||
$(inroot) systemctl enable screen@adm.service
|
$(inroot) systemctl enable tmux@root.service
|
||||||
|
|
||||||
# Beispiel feste IP-Adresse
|
# Beispiel feste IP-Adresse
|
||||||
cp 00-eth0.network $(CHROOT)/00-eth0.network.example
|
cp 00-eth0.network $(CHROOT)/00-eth0.network.example
|
||||||
|
@ -47,6 +47,7 @@ postinstall: timesyncd.conf firstboot.start
|
||||||
cp privacyidea/pi.cfg $(CHROOT)/etc/privacyidea/
|
cp privacyidea/pi.cfg $(CHROOT)/etc/privacyidea/
|
||||||
cp privacyidea/private.pem $(CHROOT)/etc/privacyidea/
|
cp privacyidea/private.pem $(CHROOT)/etc/privacyidea/
|
||||||
cp privacyidea/public.pem $(CHROOT)/etc/privacyidea/
|
cp privacyidea/public.pem $(CHROOT)/etc/privacyidea/
|
||||||
|
mkdir $(CHROOT)/etc/privacyidea/CA
|
||||||
cp privacyidea/openssl.cnf $(CHROOT)/etc/privacyidea/CA/
|
cp privacyidea/openssl.cnf $(CHROOT)/etc/privacyidea/CA/
|
||||||
$(inroot) chown -R privacyidea:root /etc/privacyidea
|
$(inroot) chown -R privacyidea:root /etc/privacyidea
|
||||||
chmod 600 $(CHROOT)/etc/privacyidea/enckey
|
chmod 600 $(CHROOT)/etc/privacyidea/enckey
|
||||||
|
|
|
@ -9,7 +9,3 @@ Erstkonfiguration
|
||||||
- FreeRADIUS Server-Zertifikat erzeugen: cd /etc/raddb/certs/; make
|
- FreeRADIUS Server-Zertifikat erzeugen: cd /etc/raddb/certs/; make
|
||||||
- unter VMware evtl. open-vm-tools aktivieren
|
- unter VMware evtl. open-vm-tools aktivieren
|
||||||
|
|
||||||
Hinweise
|
|
||||||
========
|
|
||||||
|
|
||||||
- FreeRADIUS läßt sich nur mit MAKEOPTS="-j1" bauen (Bug #509498). Am besten in Virtual-Appliance-Shell mit "make ... shell" springen und freeradius einzeln emergen. Es entsteht ein ein binäres Paket, welches dann immer genutzt wird.
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -2,7 +2,6 @@ CFLAGS="-O2 -pipe"
|
||||||
CXXFLAGS="-O2 -pipe"
|
CXXFLAGS="-O2 -pipe"
|
||||||
USE="hardened justify pie ssp urandom xattr -fortran -jit -orc -pch -pic -prelink -profile -tcc"
|
USE="hardened justify pie ssp urandom xattr -fortran -jit -orc -pch -pic -prelink -profile -tcc"
|
||||||
MAKEOPTS="-j5"
|
MAKEOPTS="-j5"
|
||||||
# privacyIDEA/wsgi braucht Python2.7, Python3.6 ist default im aktuellen stage3
|
|
||||||
PYTHON_TARGETS="python2_7 python3_6"
|
PYTHON_TARGETS="python2_7 python3_6"
|
||||||
##PYTHON_SINGLE_TARGET="python2_7"
|
PYTHON_SINGLE_TARGET="python3_6"
|
||||||
VIDEO_CARDS="vmware"
|
VIDEO_CARDS="vmware"
|
||||||
|
|
|
@ -13,7 +13,17 @@ dev-python/yubiotp
|
||||||
dev-python/pycrypto
|
dev-python/pycrypto
|
||||||
dev-python/mysql-connector-python
|
dev-python/mysql-connector-python
|
||||||
dev-python/pytest-cov
|
dev-python/pytest-cov
|
||||||
##dev-python/bottleneck
|
dev-python/sphinx
|
||||||
|
dev-python/sphinxcontrib-applehelp
|
||||||
|
dev-python/sphinxcontrib-devhelp
|
||||||
|
dev-python/sphinxcontrib-jsmath
|
||||||
|
dev-python/sphinxcontrib-htmlhelp
|
||||||
|
dev-python/sphinxcontrib-serializinghtml
|
||||||
|
dev-python/sphinxcontrib-qthelp
|
||||||
|
dev-python/smpplib
|
||||||
|
|
||||||
# grunt, wird nur zur privacyIDEA-Translation benötigt
|
# grunt, wird nur zur privacyIDEA-Translation benötigt
|
||||||
dev-nodejs/*
|
dev-nodejs/*
|
||||||
|
|
||||||
|
# stable kann kein python3
|
||||||
|
sys-libs/talloc
|
||||||
|
|
|
@ -22,14 +22,14 @@ sys-kernel/gentoo-sources symlink
|
||||||
net-analyzer/zabbix agent
|
net-analyzer/zabbix agent
|
||||||
|
|
||||||
# privacyIDEA
|
# privacyIDEA
|
||||||
www-apps/privacyidea -translation PYTHON_SINGLE_TARGET: -* python2_7
|
www-apps/privacyidea -translation
|
||||||
dev-python/sqlalchemy -sqlite
|
dev-python/sqlalchemy -sqlite
|
||||||
dev-python/netaddr -cli
|
dev-python/netaddr -cli
|
||||||
dev-python/numpy lapack
|
dev-python/numpy lapack
|
||||||
dev-libs/c-blosc hdf5
|
dev-libs/c-blosc hdf5
|
||||||
sys-devel/gcc fortran
|
sys-devel/gcc fortran
|
||||||
sci-libs/hdf5 -cxx -fortran -hl
|
sci-libs/hdf5 -cxx -fortran -hl
|
||||||
www-apache/mod_wsgi PYTHON_SINGLE_TARGET: -* python2_7
|
|
||||||
|
|
||||||
# RADIUS
|
# RADIUS (ohne Samba kein rlm_mschap.so)
|
||||||
net-dialup/freeradius kerberos ldap mysql python
|
net-dialup/freeradius kerberos ldap mysql -python samba
|
||||||
|
net-fs/samba ads gnutls ldap winbind
|
||||||
|
|
|
@ -2,7 +2,7 @@ app-admin/logrotate
|
||||||
app-admin/sudo
|
app-admin/sudo
|
||||||
app-emulation/open-vm-tools
|
app-emulation/open-vm-tools
|
||||||
app-misc/mc
|
app-misc/mc
|
||||||
app-misc/screenservice
|
app-misc/tmuxservice
|
||||||
net-analyzer/zabbix
|
net-analyzer/zabbix
|
||||||
sys-auth/pam_ssh_agent_auth
|
sys-auth/pam_ssh_agent_auth
|
||||||
sys-fs/mdadm
|
sys-fs/mdadm
|
||||||
|
|
Reference in New Issue