Fixing for Maat CI/CD and displaytext standards
This commit is contained in:
18
Makefile
18
Makefile
@@ -1,7 +1,8 @@
|
||||
execDir=/usr/local/bin
|
||||
optDir=/opt/aninix/CryptoWorkbench
|
||||
execDir=/usr/local/bin/
|
||||
optDir=/opt/aninix/CryptoWorkbench/
|
||||
|
||||
compile: /usr/bin/mcs CryptoWorkbench.csharp /opt/aninix/Uniglot/
|
||||
if ! id crypto &>/dev/null; then sudo useradd -d /home/crypto -s /sbin/nologin crypto; echo "crypto:$$(pwgen 24 1)" | sudo chpasswd; fi
|
||||
/usr/bin/mcs -out:shell.exe /opt/aninix/Uniglot/CSharp/*.csharp *.csharp 2>&1
|
||||
|
||||
test: /usr/bin/mono compile
|
||||
@@ -24,19 +25,6 @@ checkperm:
|
||||
chmod 0755 ${pkgdir}${execDir}cryptoworkbench ${pkgdir}${execDir}captivecrypto
|
||||
chown root:root ${pkgdir}${execDir}cryptoworkbench ${pkgdir}${execDir}captivecrypto ${pkgdir}${optDir}shell.exe
|
||||
|
||||
sshuser: install ForceCommand.txt pwgen /usr/sbin/ssh /usr/sbin/sshd
|
||||
grep captivecrypto /etc/shells || echo '${execDir}captivecrypto' /etc/shells
|
||||
if ! id crypto &>/dev/null; then useradd -k -d /home/crypto -s ${execDir}captivecrypto crypto; fi
|
||||
echo "crypto:$(pwgen 24 1)" | chpasswd;
|
||||
cat ./ForceCommand.txt >> /etc/ssh/sshd_config
|
||||
echo crypto | passwd --stdin crypto
|
||||
|
||||
tmux: /usr/bin/tmux
|
||||
@echo Making sure cryptoworkbench setting isn\'t already in /etc/tmux.conf...
|
||||
[ `grep -c "cryptoworkbench" /etc/tmux.conf` -eq 0 ]
|
||||
echo "bind-key -T prefix x new-window cryptoworkbench" >> /etc/tmux.conf
|
||||
echo 'bind-key -T prefix X confirm-before -p "kill-pane #P? (y/n)" kill-pane' >> /etc/tmux.conf
|
||||
|
||||
diff: ${execDir}captivecrypto ${execDir}cryptoworkbench
|
||||
diff ./captivecrypto ${execDir}captivecrypto
|
||||
diff ./cryptoworkbench ${execDir}cryptoworkbench
|
||||
|
Reference in New Issue
Block a user