From 429b7e7b0c598fdd54acc8893fda55debb3b431c Mon Sep 17 00:00:00 2001 From: DarkFeather Date: Mon, 19 Jun 2017 16:36:22 -0500 Subject: [PATCH] Licensing and Makefile standards --- Admin/LICENSE | 27 +++++++++++++++++++++++++++ Admin/Makefile | 4 ++++ LICENSE | 27 +++++++++++++++++++++++++++ ShadowArch/LICENSE | 27 +++++++++++++++++++++++++++ ShadowArch/Makefile | 10 +++++++--- Shared/LICENSE | 27 +++++++++++++++++++++++++++ Shared/Makefile | 4 ++++ 7 files changed, 123 insertions(+), 3 deletions(-) create mode 100644 Admin/LICENSE create mode 100644 LICENSE create mode 100644 ShadowArch/LICENSE create mode 100644 Shared/LICENSE diff --git a/Admin/LICENSE b/Admin/LICENSE new file mode 100644 index 0000000..878d895 --- /dev/null +++ b/Admin/LICENSE @@ -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 + + 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. diff --git a/Admin/Makefile b/Admin/Makefile index 4e01d51..96d0991 100644 --- a/Admin/Makefile +++ b/Admin/Makefile @@ -1,5 +1,6 @@ LIST=arch-update clean-exim clean-exim-input close-guest fix-sound log-guest open-guest restart-service silent-guardian proxy simple-web LOCATION=/root/bin +INSTALLER != curl -s https://aninix.net/foundation/installer-test.bash | /bin/bash PERMISSION=0700 compile: @echo Nothing to compile. @@ -20,3 +21,6 @@ checkperm: clean: @echo Nothing to do. + +diff: + for i in ${LIST}; do diff ./${i} ${LOCATION}/${i}; done diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..878d895 --- /dev/null +++ b/LICENSE @@ -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 + + 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. diff --git a/ShadowArch/LICENSE b/ShadowArch/LICENSE new file mode 100644 index 0000000..878d895 --- /dev/null +++ b/ShadowArch/LICENSE @@ -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 + + 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. diff --git a/ShadowArch/Makefile b/ShadowArch/Makefile index b8ccfdb..55b0bb7 100644 --- a/ShadowArch/Makefile +++ b/ShadowArch/Makefile @@ -1,11 +1,12 @@ HTTPROOT = /srv/http/aninix.net HTTPUSER = http SYNCLIST = /etc/vimrc /etc/bash.bashrc /etc/skel /etc/tmux.conf +INSTALLER != curl -s https://aninix.net/foundation/installer-test.bash | /bin/bash compile: - @echo Nothing to do. + [ -f ./shadowarch ] -install: +install: compile cp ./vimrc /etc/vimrc cp bash.bashrc /etc/bash.bashrc rsync -avz -r skel/ /etc/skel @@ -29,8 +30,11 @@ reverse: ${HTTPROOT}/shadowarch ${SYNCLIST} cat ${HTTPROOT}/shadowarch > ./shadowarch for i in ${SYNCLIST}; do rsync -avz ${SYNCLIST} .; done +clean: + @echo Nothing to do. + diff: ${HTTPROOT}/shadowarch ${SYNCLIST} - diff ./shadowarch ${HTTPROOT}/shadowarch || [ 1 -eq 1 ] + diff ./shadowarch ${HTTPROOT}/shadowarch for i in ${SYNCLIST}; do diff "${i}" ./`echo ${i} | rev | cut -f 1 -d '/' | rev` || [ 1 -eq 1 ]; done find-missing-hooks-in-src: diff --git a/Shared/LICENSE b/Shared/LICENSE new file mode 100644 index 0000000..878d895 --- /dev/null +++ b/Shared/LICENSE @@ -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 + + 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. diff --git a/Shared/Makefile b/Shared/Makefile index 32aa3dc..f30536e 100644 --- a/Shared/Makefile +++ b/Shared/Makefile @@ -1,5 +1,6 @@ LIST=bell bigorlittle compare-directories compress-all diff-args expand-all logged-shell standardize-folder whatismyip new-irssi-config replicate-ssh-profiles LOCATION=/usr/local/bin +INSTALLER != curl -s https://aninix.net/foundation/installer-test.bash | /bin/bash PERMISSION=0755 compile: @echo Nothing to compile. @@ -21,3 +22,6 @@ checkperm: clean: @echo Nothing to do. +diff: + for i in ${LIST}; do diff ./$$i ${LOCATION}/$$i; done +