mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-16 17:45:12 +00:00
16 lines
475 B
Bash
Executable File
16 lines
475 B
Bash
Executable File
#!/bin/sh
|
|
set -ex
|
|
git clone https://github.com/stef/libsphinx
|
|
cd libsphinx
|
|
git submodule update --init --recursive --remote
|
|
cd src
|
|
sed -i 's|/usr/local|/usr|' makefile
|
|
make && make install && ldconfig
|
|
cd ../..
|
|
git clone https://github.com/stef/pwdsphinx
|
|
cd pwdsphinx
|
|
python3 setup.py install
|
|
mkdir -p /etc/sphinx && cp ../test/sphinx.cfg /etc/sphinx/config && cd /etc/sphinx
|
|
openssl req -new -x509 -nodes -out server.crt -keyout server.key -subj '/CN=localhost'
|
|
sphinx init
|