Licensing and Makefile standards
This commit is contained in:
parent
c653fece93
commit
c9f73b23e8
27
LICENSE
Normal file
27
LICENSE
Normal 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.
|
21
Makefile
21
Makefile
@ -1,4 +1,5 @@
|
||||
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
|
||||
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
|
||||
mv cryptoworkbench.exe /opt
|
||||
chmod 0555 /opt/cryptoworkbench.exe
|
||||
cp bash.cryptoworkbench /usr/local/bin/cryptoworkbench
|
||||
chmod 0555 /usr/local/bin/cryptoworkbench
|
||||
cp captivecrypto.bash /usr/local/bin/captivecrypto
|
||||
chown root:root /usr/local/bin/captivecrypto
|
||||
chmod 0755 /usr/local/bin/captivecrypto
|
||||
make checkperm
|
||||
|
||||
webapp: install
|
||||
javac CryptoApplet.java
|
||||
@echo TODO this is a work in progress.
|
||||
@echo Install the CryptoApplet.class and crypto.phpsnip into a webpage for your site.
|
||||
checkperm:
|
||||
chmod 0555 /opt/cryptoworkbench.exe /usr/local/bin/cryptoworkbench /usr/local/bin/captivecrypto
|
||||
chown root:root /usr/local/bin/captivecrypto /opt/cryptoworkbench.exe
|
||||
|
||||
sshuser: install ForceCommand.txt
|
||||
grep captivecrypto /etc/shells || echo '/usr/local/bin/captivecrypto' /etc/shells
|
||||
@ -36,3 +33,11 @@ tmux: /usr/bin/tmux
|
||||
[ "${TMUXSetting}" -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: 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
|
||||
|
Loading…
Reference in New Issue
Block a user