Licensing and Makefile standards

This commit is contained in:
DarkFeather 2017-06-19 13:16:59 -05:00
parent c653fece93
commit c9f73b23e8
2 changed files with 40 additions and 8 deletions

27
LICENSE Normal file
View File

@ -0,0 +1,27 @@
# http://www.wtfpl.net/about/
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.
ANINIX ADDENDUM
Trademark Pending 2017 (https://aninix.net/irc/)
The "AniNIX" name and |> logo is trademark-pending as of 2017. All
AniNIX materials can be reproduced and re-used, though you must
contact the admins of the network to get written permission to use
the AniNIX name.
Attribution is appreciated for other materials but not legally
required or necessary.

View File

@ -1,4 +1,5 @@
TMUXSetting != grep -c "cryptoworkbench" /etc/tmux.conf TMUXSetting != grep -c "cryptoworkbench" /etc/tmux.conf
INSTALLER != curl -s https://aninix.net/foundation/installer-test.bash | /bin/bash
compile: clean /usr/bin/mcs CryptoWorkbench.csharp compile: clean /usr/bin/mcs CryptoWorkbench.csharp
if [ ! -d ../SharedLibraries ]; then git -C /usr/local/src clone https://aninix.net/foundation/SharedLibraries; fi if [ ! -d ../SharedLibraries ]; then git -C /usr/local/src clone https://aninix.net/foundation/SharedLibraries; fi
@ -13,17 +14,13 @@ clean:
install: compile /bin/bash bash.cryptoworkbench install: compile /bin/bash bash.cryptoworkbench
mv cryptoworkbench.exe /opt mv cryptoworkbench.exe /opt
chmod 0555 /opt/cryptoworkbench.exe
cp bash.cryptoworkbench /usr/local/bin/cryptoworkbench cp bash.cryptoworkbench /usr/local/bin/cryptoworkbench
chmod 0555 /usr/local/bin/cryptoworkbench
cp captivecrypto.bash /usr/local/bin/captivecrypto cp captivecrypto.bash /usr/local/bin/captivecrypto
chown root:root /usr/local/bin/captivecrypto make checkperm
chmod 0755 /usr/local/bin/captivecrypto
webapp: install checkperm:
javac CryptoApplet.java chmod 0555 /opt/cryptoworkbench.exe /usr/local/bin/cryptoworkbench /usr/local/bin/captivecrypto
@echo TODO this is a work in progress. chown root:root /usr/local/bin/captivecrypto /opt/cryptoworkbench.exe
@echo Install the CryptoApplet.class and crypto.phpsnip into a webpage for your site.
sshuser: install ForceCommand.txt sshuser: install ForceCommand.txt
grep captivecrypto /etc/shells || echo '/usr/local/bin/captivecrypto' /etc/shells grep captivecrypto /etc/shells || echo '/usr/local/bin/captivecrypto' /etc/shells
@ -36,3 +33,11 @@ tmux: /usr/bin/tmux
[ "${TMUXSetting}" -eq 0 ] [ "${TMUXSetting}" -eq 0 ]
echo "bind-key -T prefix x new-window cryptoworkbench" >> /etc/tmux.conf 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 echo 'bind-key -T prefix X confirm-before -p "kill-pane #P? (y/n)" kill-pane' >> /etc/tmux.conf
diff: captivecrypto.bash
diff captivecrypto.bash /usr/local/bin/captivecrypto
diff ./bash.cryptoworkbench /usr/local/bin/cryptoworkbench
reverse:
cat /usr/local/bin/captivecrypto > ./captivecrypto.bash
cat /usr/local/bin/cryptoworkbench > ./bash.cryptoworkbench